Skip to content

Releases: markprompt/markprompt-js

@markprompt/web@0.6.0

19 Jun 18:07
f6705e4
Compare
Choose a tag to compare

Minor Changes

  • #42 210cf40 Thanks @nickrttn! - Add a new type of trigger that has the appearance of a search input, update types and the way that we pass options into Markprompt.Root

@markprompt/react@0.6.0

19 Jun 18:07
f6705e4
Compare
Choose a tag to compare

Minor Changes

  • #42 210cf40 Thanks @nickrttn! - Update types and the way options are passed, fix a bug where a search result was clicked when Cmd/Ctrl+Enter was pressed instead of navigating to the Prompt view

@markprompt/docusaurus-theme-search@0.3.0

19 Jun 18:06
f6705e4
Compare
Choose a tag to compare

Minor Changes

  • #42 210cf40 Thanks @nickrttn! - Don't allow search in docusaurus-theme-search until we have a chance to update the SearchBar component

Patch Changes

  • Updated dependencies [210cf40]:
    • @markprompt/react@0.6.0

@markprompt/css@0.3.0

19 Jun 18:06
f6705e4
Compare
Choose a tag to compare

Minor Changes

@markprompt/web@0.5.0

16 Jun 15:32
708a97e
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@markprompt/web@0.4.1

28 May 14:44
c23d749
Compare
Choose a tag to compare

Patch Changes

@markprompt/web@0.4.0

28 May 14:10
3498216
Compare
Choose a tag to compare

Minor Changes

  • #18 c007554 Thanks @nickrttn! - In order to avoid duplicate effort, we are now publishing @markprompt/web as a composition of @markprompt/react components, rather than as a separate implementation in Lit Web Components.

    We expose a markprompt() function from @markprompt/web that allows you to initialize a pre-built version of the Markprompt dialog with all functionality included.

    As an alternative, we expose an init script at @markprompt/web/init that you can use to initialize Markprompt with a script tag.

Patch Changes

@markprompt/react@0.4.0

28 May 14:10
3498216
Compare
Choose a tag to compare

Minor Changes

  • #18 c007554 Thanks @nickrttn! - Call user provided event handlers in components where we call event handlers ourselves

  • #18 c007554 Thanks @nickrttn! - Add forwardRef to headless components where possible

  • #18 c007554 Thanks @nickrttn! - Specify props passed to DOM elements as defaults, making them overridable by users

  • #18 c007554 Thanks @nickrttn! - Remove unused options from useMarkprompt

  • #18 c007554 Thanks @nickrttn! - Add hide prop to Markprompt.Title and Markprompt.Description that allows you to accessibly hide the components

  • #18 c007554 Thanks @nickrttn! - Add autoScroll prop to Markprompt.AutoScroller

  • ca1282e Thanks @nickrttn! - Add main field to package.json

  • #18 c007554 Thanks @nickrttn! - Add showBranding prop to Markprompt.Content

  • #18 c007554 Thanks @nickrttn! - Add a useMarkpromptContext hook for use in headless component compositions

  • #18 c007554 Thanks @nickrttn! - Add scrollBehavior prop to Markprompt.AutoScroller

Patch Changes

@markprompt/docusaurus-theme-search@0.2.0

28 May 14:09
3498216
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@markprompt/css@0.1.0

28 May 14:09
3498216
Compare
Choose a tag to compare

Minor Changes

  • #18 c007554 Thanks @nickrttn! - Add default styles for @markprompt/web.

    The styles could also be used for the headless components in @markprompt/react given the right classes. For a usage example, see (@markprompt/web)[motifland/markprompt-js/blob/main/packages/web/src/Markprompt.tsx].