Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1731

Merged
merged 1 commit into from
Aug 2, 2022
Merged

Version Packages #1731

merged 1 commit into from
Aug 2, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 2, 2022

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@udecode/plate-headless@16.0.0

Major Changes

  • #1721 by @zbeyens
    • deprecate @udecode/plate-image and @udecode/plate-media-embed, those got merged into @udecode/plate-media

@udecode/plate-media@16.0.0

Major Changes

  • #1721 by @zbeyens
    • removed:
      • useImageElement for useElement
      • MediaEmbedUrlInput for FloatingMediaUrlInput
      • parseEmbedUrl for parseMediaUrl
      • EmbedProviders
    • renamed:
      • ImageImg to Image
      • ImageCaptionTextarea to CaptionTextarea
      • useImageCaptionString to useCaptionString
      • ImageResizable to Resizable

Minor Changes

  • #1721 by @zbeyens

    • createMediaEmbedPlugin default options:
    options: {
      transformUrl: parseIframeUrl,
      rules: [
        {
          parser: parseTwitterUrl,
          component: MediaEmbedTweet,
        },
        {
          parser: parseVideoUrl,
          component: MediaEmbedVideo,
        },
      ],
    },
    • utils:
      • parseIframeUrl
      • parseMediaUrl
      • submitFloatingMedia
    • components:
      • MediaRoot
      • MediaEmbed
        • MediaEmbedTweet: used when provider is twitter
        • MediaEmbedVideo: used when provider is a video
      • FloatingMedia
      • FloatingMediaEditButton
      • FloatingMediaUrlInput
    • stores:
      • mediaStore
      • captionGlobalStore
      • floatingMediaStore
      • resizableStore
    • types:
    interface TResizableElement extends TElement {
      width?: number;
    }
    
    interface TImageElement extends TMediaElement {}
    
    interface TCaptionElement extends TElement {
      caption?: TDescendant[];
    }
    
    interface TMediaElement extends TCaptionElement, TResizableElement {
      url: string;
    }
    
    type MediaUrlParser = (url: string) => EmbedUrlData | undefined;
    
    type MediaPluginRule = {
      parser: MediaUrlParser;
      component?: RenderFunction<EmbedUrlData>;
    };
    
    interface MediaPlugin {
      isUrl?: (text: string) => boolean;
    
      /**
       * Transforms the url.
       */
      transformUrl?: (url: string) => string;
    
      /**
       * List of rules. The first rule that matches the url will be used,
       * i.e. its component will be used to render the media. Used by `MediaEmbed`.
       */
      rules?: MediaPluginRule[];
    }
    type EmbedUrlData = {
      url?: string;
      provider?: string;
      id?: string;
      component?: RenderFunction<EmbedUrlData>;
    };

@udecode/plate@16.0.0

Major Changes

  • #1721 by @zbeyens

    • deprecate @udecode/plate-ui-popover for @udecode/plate-floating
  • #1721 by @zbeyens

    • deprecate @udecode/plate-image and @udecode/plate-media-embed, those got merged into @udecode/plate-media

@udecode/plate-ui-table@16.0.0

Major Changes

  • #1721 by @zbeyens
    • TableElementBase props:
      • replace onRenderContainer by floatingOptions
    • TablePopover is now a floating instead of tippy
    • deps:
      • replaced plate-ui-popover by plate-floating

@udecode/plate-ui@16.0.0

Major Changes

  • #1721 by @zbeyens
    • deprecate @udecode/plate-ui-popover for @udecode/plate-floating

@udecode/plate-core@16.0.0

Minor Changes

  • #1721 by @zbeyens
    • ElementProvider now has SCOPE_ELEMENT='element' scope in addition to the plugin key, so useElement() can be called without parameter (default = SCOPE_ELEMENT). You'll need to use the plugin key scope only to get an ancestor element.

@udecode/plate-floating@16.0.0

Minor Changes

  • #1721 by @zbeyens
    • Popover: Popover displayed over children, rendering content
    • ElementPopover: Popover displayed over an element if not read-only, element selected

@udecode/plate-ui-media@16.0.0

Minor Changes

  • #1721 by @zbeyens
    • ImageElement:
      • now uses composition pattern
      • displays PlateFloatingMedia on select
    • MediaEmbedElement:
      • now uses composition pattern
      • displays PlateFloatingMedia on select
    • PlateFloatingMedia:
      • edit link button
      • delete node button

@udecode/plate-ui-toolbar@16.0.0

Minor Changes

  • #1721 by @zbeyens
    • FloatingVerticalDivider
    • new dep:
      • @udecode/plate-ui-button

@udecode/plate-ui-button@16.0.0

Patch Changes

  • #1721 by @zbeyens
    • focus editor after removing node on click

@udecode/plate-button@16.0.0

@udecode/plate-find-replace@16.0.0

@udecode/plate-autoformat@16.0.0

@udecode/plate-break@16.0.0

@udecode/plate-combobox@16.0.0

@udecode/plate-node-id@16.0.0

@udecode/plate-normalizers@16.0.0

@udecode/plate-reset-node@16.0.0

@udecode/plate-select@16.0.0

@udecode/plate-trailing-block@16.0.0

@udecode/plate-alignment@16.0.0

@udecode/plate-basic-elements@16.0.0

@udecode/plate-basic-marks@16.0.0

@udecode/plate-block-quote@16.0.0

@udecode/plate-code-block@16.0.0

@udecode/plate-font@16.0.0

@udecode/plate-heading@16.0.0

@udecode/plate-highlight@16.0.0

@udecode/plate-horizontal-rule@16.0.0

@udecode/plate-indent@16.0.0

@udecode/plate-indent-list@16.0.0

@udecode/plate-kbd@16.0.0

@udecode/plate-line-height@16.0.0

@udecode/plate-link@16.0.0

@udecode/plate-list@16.0.0

@udecode/plate-mention@16.0.0

@udecode/plate-paragraph@16.0.0

@udecode/plate-table@16.0.0

@udecode/plate-serializer-csv@16.0.0

@udecode/plate-serializer-docx@16.0.0

@udecode/plate-serializer-html@16.0.0

@udecode/plate-juice@16.0.0

@udecode/plate-serializer-md@16.0.0

@udecode/plate-ui-combobox@16.0.0

@udecode/plate-ui-cursor@16.0.0

@udecode/plate-ui-dnd@16.0.0

@udecode/plate-ui-find-replace@16.0.0

@udecode/plate-ui-alignment@16.0.0

@udecode/plate-ui-block-quote@16.0.0

@udecode/plate-ui-code-block@16.0.0

@udecode/plate-ui-excalidraw@16.0.0

@udecode/plate-ui-font@16.0.0

@udecode/plate-ui-horizontal-rule@16.0.0

@udecode/plate-ui-line-height@16.0.0

@udecode/plate-ui-link@16.0.0

@udecode/plate-ui-list@16.0.0

@udecode/plate-ui-mention@16.0.0

@udecode/plate-ui-placeholder@16.0.0

@udecode/plate-ui-popper@16.0.0

@udecode/plate-styled-components@16.0.0

@vercel
Copy link

vercel bot commented Aug 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
plate ⬜️ Ignored (Inspect) Sep 2, 2022 at 7:06PM (UTC)

@zbeyens zbeyens added this to the 16.0.0 milestone Aug 2, 2022
@zbeyens zbeyens merged commit d04e15d into main Aug 2, 2022
@zbeyens zbeyens deleted the changeset-release/main branch August 2, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant