Releases: markprompt/markprompt-js
@markprompt/web@0.6.0
@markprompt/react@0.6.0
@markprompt/docusaurus-theme-search@0.3.0
@markprompt/css@0.3.0
@markprompt/web@0.5.0
@markprompt/web@0.4.1
@markprompt/web@0.4.0
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
Minor Changes
-
#18
c007554
Thanks @nickrttn! - Call user provided event handlers in components where we call event handlers ourselves -
#18
c007554
Thanks @nickrttn! - AddforwardRef
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 fromuseMarkprompt
-
#18
c007554
Thanks @nickrttn! - Addhide
prop toMarkprompt.Title
andMarkprompt.Description
that allows you to accessibly hide the components -
#18
c007554
Thanks @nickrttn! - AddautoScroll
prop toMarkprompt.AutoScroller
-
#18
c007554
Thanks @nickrttn! - AddshowBranding
prop toMarkprompt.Content
-
#18
c007554
Thanks @nickrttn! - Add auseMarkpromptContext
hook for use in headless component compositions -
#18
c007554
Thanks @nickrttn! - AddscrollBehavior
prop toMarkprompt.AutoScroller