makeswift

The official Makeswift CLI

MIT License

Downloads
1.6K
Stars
103
Committers
16

Bot releases are visible (Hide)

makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • f631cbb: Add a label option for registering fonts. This can be used to show a custom label in the font family dropdown in the builder.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 189a27d: Add initial value to RichText control.
  • 4cf9845: Update the RichText "Content" panel reset to preserves text-align and text styles.
  • bdacab6: Fix a runtime error in the RichText "Content" panel reset that could happen if text was selected.
  • 15a8521: Add min-width CSS value to RichText control in Inline mode.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • d9e0009: Add copy function to new RichText so that creating a site from a template automatically copies all colors and typographies.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • ebf9d66: Call versioned endpoints only if using versioning
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 02d3608: Fix locale not passed to introspect and MakeswiftClient.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • c066219: BREAKING: Prior to this version the Text component and RichText control used white-space-collapse: preserve within app.makeswift.com and white-space-collapse: collapse within the live page. Our goal is to exactly match what you see in Makeswift with what you see in the live page. This updates the live version to also preserve white space.

  • 638ae58: BREAKING: Upgrade Richtext control with a new architecture that enables Inline mode and future rich text upgrades.

    This is the first time we have altered the data structure of a component, and we want you to be able to migrate the data and see the diff yourself in case the migration doesn't work. When you select a Text component or component with the RichText control, you will be prompted in the sidebar to upgrade. If the migration doesn't look right, simply cmd/ctrl + z and reach out to us.

    There are two changes you will see if you upgrade a RichText with "Bulleted List" or "Numbered List" block types.

    • We added a new styling reset on our list block types that
      • Updates the default padding-inline-start to 20px instead of the default 40px.
      • Prevents other resets like tailwind's from removing the default list-style-type.
    • We updated the Text Align property to now be applied to both list types.

    Details on Inline mode are in the documentation for RichText.

  • 950e256: BREAKING: Change the Text component to use the new RichText control.

Patch Changes

  • fb45a4e: Add error handling when the default locale or the locale is not included in the locales list.
  • 63d0ad3: Compare unstable_locale on getPageSnapshot to the default locale defined on ReactRuntime.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • ddb31a8: Update unstable_RichTextV2 to sync editing history with app.makeswift.com.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 0543105: Upgrade typescript, @types/react and @types/react-dom to fix issues when using typescript > 5.1.x.
  • 9536667: Call versioned endpoints only if using versioning
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 3a714a0: Add localized global element support.
  • bd620d0: Add support for localized page meta and page SEO.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • a24bcba: In ef73900, we fixed runtime errors that were happening in the RichText control when there were invalid empty lines. This is an update to that fix that cleans the richtext data rather than removing it.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 18ae379: Fix suspense boundary error that was introduced on version 0.9.6 when you have a global element in a page.
  • ef73900: Fix runtime error in RichText that can occur when you have data that very old.
  • 18ae379: Revert localized global element support.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 5d61357: Add support for RichText data within unstable_RichTextV2.

    When unstable_RichTextV2 is stable this will allow users to upgrade from the old to new RichText control.

makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 2f9183c: Add type and runtime-check to unstable_locale.
  • b0da14b: Fix a runtime error introduced in 0.9.2 that throws when a Link control is used within a Shape or List control.
  • d1989e5: Add unstable_locale option to getPageSnapshot.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • ac31e48: Fix incorrect typography override behavior.

    Let's say you have a Text component with styling set on "Desktop" and "Mobile". If you add an override on "Desktop", then this should not impact "Mobile" typography, since the override is only for the "Desktop" breakpoint. This change ensures overrides do not clobber typography values in descending breakpoints.

  • f0f053d: Add initial Typography plugin for unstable_RichTextV2.

makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • f3b8fc8: Add initial Link plugin for unstable_RichTextV2.
  • 1c3d592: Add initial Inline plugin for unstable_RichTextV2.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • bc4a9bd: Add an unstable control API: unstable_IconRadioGroup.
  • 2503ca5: Add initial Color plugin for unstable_RichTextV2.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • a21ad28: Add initial implementation of TextAlign plugin for unstable_RichTextV2.
  • e865548: Add an unstable API fro new version of the Style control: unstable_StyleV2.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • c65ebdf: BREAKING: When registering component icons, use the ComponentIcon enum (available under @makeswift/runtime) instead of the original string values. Below is a table of the deprecated string values and their new enum equivalent:

    Removed Use Instead (enum)
    'Carousel40' ComponentIcon.Carousel
    'Code40' ComponentIcon.Code
    'Countdown40' ComponentIcon.Countdown
    'Cube40' ComponentIcon.Cube
    'Divider40' ComponentIcon.Divider
    'Form40' ComponentIcon.Form
    'Navigation40' ComponentIcon.Navigation
    'SocialLinks40' ComponentIcon.SocialLinks
    'Video40' ComponentIcon.Video
  • 976b9d6: Use new versioning endpoints for swatches.

  • 144f270: Always fetch live pages for Makeswift.getPages().

  • 144f270: Use new versioning endpoints for pages and page documents.

Patch Changes

  • fa04429: Update Block plugin for unstable_RichTextV2 to include remaining block types (ul, ol, and blockquote)
  • 7075388: Add unstable_previewData to Makeswift client.
  • f295972: Add unstable_i18n to ReactRuntime constructor.
  • 7075388: Add unstable_siteVersions flag to MakeswiftApiHandler.
  • 0be3bc2: Adds 13 new icon options to the runtime that can be used when registering components.
  • bbf2d30: Encode page pathname when fetching page data.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • f125648: Add initial implementation of Block plugin for unstable_RichTextV2.
  • 662aace: Add initial implementation of mergeElement.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • fa41f1b: Add code splitting to unstable_RichTextV2.

  • bf5b7ef: Add mode option to unstable_RichTextV2 control.

    Setting the mode of RichTextV2 to RichTextV2Mode.Inline locks down output to only include inline HTML elements. This allows you to visually edit button and link text, while protecting you from hydration mismatch errors.

  • ac4202f: Fix code splitting regression for RichText control and Text component that was introduced in 0.6.6. This change ensures that Slate is not downloaded to your production site.