@solace-health/ui 0.10.707 → 0.10.708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BackLink/BackLink.cjs +1 -1
- package/dist/BackLink/BackLink.js +1 -1
- package/dist/Card/illustrations/Clock.cjs +1 -1
- package/dist/Card/illustrations/Clock.js +1 -1
- package/dist/Card/illustrations/Coffee.cjs +1 -1
- package/dist/Card/illustrations/Coffee.js +1 -1
- package/dist/Card/illustrations/Laptop.cjs +1 -1
- package/dist/Card/illustrations/Laptop.js +1 -1
- package/dist/Card/illustrations/Medication.cjs +1 -1
- package/dist/Card/illustrations/Medication.js +1 -1
- package/dist/Card/illustrations/Notepad.cjs +1 -1
- package/dist/Card/illustrations/Notepad.js +1 -1
- package/dist/Card/illustrations/index.cjs +1 -1
- package/dist/Card/illustrations/index.js +1 -1
- package/dist/Card/index.cjs +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/DateDropdown/index.cjs +1 -1
- package/dist/DateDropdown/index.js +1 -1
- package/dist/DateSelectCalendar/DateSelectCalendar.cjs +1 -1
- package/dist/DateSelectCalendar/DateSelectCalendar.js +1 -1
- package/dist/Error/index.cjs +1 -1
- package/dist/Error/index.js +1 -1
- package/dist/ExpandableDrawer/index.cjs +1 -1
- package/dist/ExpandableDrawer/index.js +1 -1
- package/dist/File/index.cjs +1 -1
- package/dist/File/index.js +1 -1
- package/dist/Form/AddressSelect/index.cjs +1 -1
- package/dist/Form/AddressSelect/index.js +1 -1
- package/dist/Form/Checkbox/index.cjs +1 -1
- package/dist/Form/Checkbox/index.js +1 -1
- package/dist/Form/DateDropdown/index.cjs +1 -1
- package/dist/Form/DateDropdown/index.js +1 -1
- package/dist/Form/DateSelect/index.cjs +1 -1
- package/dist/Form/DateSelect/index.js +1 -1
- package/dist/Form/DateTextMaskInput/index.cjs +1 -1
- package/dist/Form/DateTextMaskInput/index.js +1 -1
- package/dist/Form/FileUpload/index.cjs +1 -1
- package/dist/Form/FileUpload/index.js +1 -1
- package/dist/Form/Keyword/index.cjs +1 -1
- package/dist/Form/Keyword/index.js +1 -1
- package/dist/Form/LocationSelect/index.cjs +1 -1
- package/dist/Form/LocationSelect/index.js +1 -1
- package/dist/Form/Number/index.cjs +1 -1
- package/dist/Form/Number/index.js +1 -1
- package/dist/Form/OTP/index.cjs +1 -1
- package/dist/Form/OTP/index.js +1 -1
- package/dist/Form/Radio/index.cjs +1 -1
- package/dist/Form/Radio/index.js +1 -1
- package/dist/Form/Select/index.cjs +1 -1
- package/dist/Form/Select/index.js +1 -1
- package/dist/Form/SelectMenu/index.cjs +1 -1
- package/dist/Form/SelectMenu/index.js +1 -1
- package/dist/Form/SentimentSelector/index.cjs +1 -1
- package/dist/Form/SentimentSelector/index.js +1 -1
- package/dist/Form/Signature/index.cjs +1 -1
- package/dist/Form/Signature/index.js +1 -1
- package/dist/Form/Text/index.cjs +1 -1
- package/dist/Form/Text/index.js +1 -1
- package/dist/Form/TextInput/index.cjs +1 -1
- package/dist/Form/TextInput/index.js +1 -1
- package/dist/Form/TimePicker/index.cjs +1 -1
- package/dist/Form/TimePicker/index.js +1 -1
- package/dist/Form/TimeSelect/index.cjs +1 -1
- package/dist/Form/TimeSelect/index.js +1 -1
- package/dist/Form/index.cjs +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/Form/shared/FormInputLabel.cjs +1 -1
- package/dist/Form/shared/FormInputLabel.js +1 -1
- package/dist/Form/shared/HelpModal.cjs +1 -1
- package/dist/Form/shared/HelpModal.js +1 -1
- package/dist/IconSelector/IconSelector.cjs +1 -1
- package/dist/IconSelector/IconSelector.js +1 -1
- package/dist/Input/index.cjs +1 -1
- package/dist/Input/index.js +1 -1
- package/dist/Menu/ExpandIcon.cjs +1 -1
- package/dist/Menu/ExpandIcon.js +1 -1
- package/dist/Menu/index.cjs +1 -1
- package/dist/Menu/index.js +1 -1
- package/dist/Molecules/FilterPopover/FiltersMenu/FiltersMenu.cjs +1 -1
- package/dist/Molecules/FilterPopover/FiltersMenu/FiltersMenu.js +1 -1
- package/dist/Molecules/FilterPopover/index.cjs +1 -1
- package/dist/Molecules/FilterPopover/index.js +1 -1
- package/dist/NavigationMenu/ExpandIcon.cjs +1 -1
- package/dist/NavigationMenu/ExpandIcon.js +1 -1
- package/dist/NavigationMenu/index.cjs +1 -1
- package/dist/NavigationMenu/index.js +1 -1
- package/dist/PreviewDrawer/PreviewDrawer.cjs +1 -1
- package/dist/PreviewDrawer/PreviewDrawer.js +1 -1
- package/dist/Search/index.cjs +1 -1
- package/dist/Search/index.js +1 -1
- package/dist/SelectClient/index.cjs +1 -1
- package/dist/SelectClient/index.js +1 -1
- package/dist/SentimentSelector/index.cjs +1 -1
- package/dist/SentimentSelector/index.js +1 -1
- package/dist/TimeSelect/styles.cjs +4 -4
- package/dist/TimeSelect/styles.js +1 -1
- package/dist/assets/styles/mdxEditorTheme.css +24 -4
- package/dist/{chunk-F7ZNHD4C.js → chunk-AQ4VGD3O.js} +2 -2
- package/dist/{chunk-F7ZNHD4C.js.map → chunk-AQ4VGD3O.js.map} +1 -1
- package/dist/{chunk-ME6YQTLM.cjs → chunk-B3XPQEJJ.cjs} +2 -2
- package/dist/{chunk-ME6YQTLM.cjs.map → chunk-B3XPQEJJ.cjs.map} +1 -1
- package/dist/chunk-BAH6YD44.cjs +2 -0
- package/dist/{chunk-3LMQL6VN.cjs.map → chunk-BAH6YD44.cjs.map} +1 -1
- package/dist/{chunk-BFHMWZ4W.cjs → chunk-CINH35OT.cjs} +2 -2
- package/dist/{chunk-BFHMWZ4W.cjs.map → chunk-CINH35OT.cjs.map} +1 -1
- package/dist/{chunk-FBS4V27Q.js → chunk-EHKB6ZPX.js} +3 -3
- package/dist/{chunk-FBS4V27Q.js.map → chunk-EHKB6ZPX.js.map} +1 -1
- package/dist/chunk-ET3FITCB.cjs +2 -0
- package/dist/{chunk-RI4OVMZ5.cjs.map → chunk-ET3FITCB.cjs.map} +1 -1
- package/dist/chunk-FRJSZEGQ.js +2 -0
- package/dist/chunk-FRJSZEGQ.js.map +1 -0
- package/dist/{chunk-LVCOLESY.cjs → chunk-FTPAMVPB.cjs} +2 -2
- package/dist/{chunk-LVCOLESY.cjs.map → chunk-FTPAMVPB.cjs.map} +1 -1
- package/dist/{chunk-IBQWP337.cjs → chunk-G4NTJXGK.cjs} +2 -2
- package/dist/{chunk-IBQWP337.cjs.map → chunk-G4NTJXGK.cjs.map} +1 -1
- package/dist/{chunk-ATD5HA6Q.cjs → chunk-G4Z5MO5Z.cjs} +6 -6
- package/dist/{chunk-ATD5HA6Q.cjs.map → chunk-G4Z5MO5Z.cjs.map} +1 -1
- package/dist/chunk-GA23ZFN3.cjs +2 -0
- package/dist/chunk-GA23ZFN3.cjs.map +1 -0
- package/dist/{chunk-AWZIPFX7.js → chunk-I4XMX6UQ.js} +2 -2
- package/dist/{chunk-AWZIPFX7.js.map → chunk-I4XMX6UQ.js.map} +1 -1
- package/dist/{chunk-7FDSRATF.cjs → chunk-JGMQQIHW.cjs} +2 -2
- package/dist/{chunk-7FDSRATF.cjs.map → chunk-JGMQQIHW.cjs.map} +1 -1
- package/dist/{chunk-ZGR3AQC3.js → chunk-JLEVRYCV.js} +2 -2
- package/dist/{chunk-ZGR3AQC3.js.map → chunk-JLEVRYCV.js.map} +1 -1
- package/dist/{chunk-KPBWHCJ2.js → chunk-JTOJMLMA.js} +2 -2
- package/dist/{chunk-KPBWHCJ2.js.map → chunk-JTOJMLMA.js.map} +1 -1
- package/dist/chunk-MRREQEME.cjs +2 -0
- package/dist/chunk-MRREQEME.cjs.map +1 -0
- package/dist/chunk-NMXDQGPB.cjs +2 -0
- package/dist/{chunk-EJVR3XRG.cjs.map → chunk-NMXDQGPB.cjs.map} +1 -1
- package/dist/{chunk-KJULJRWW.cjs → chunk-P4TOP5DA.cjs} +2 -2
- package/dist/{chunk-KJULJRWW.cjs.map → chunk-P4TOP5DA.cjs.map} +1 -1
- package/dist/{chunk-MESFO57T.js → chunk-QA5JXTX4.js} +2 -2
- package/dist/{chunk-MESFO57T.js.map → chunk-QA5JXTX4.js.map} +1 -1
- package/dist/{chunk-YY6BMBPG.js → chunk-SALN7IZP.js} +2 -2
- package/dist/{chunk-YY6BMBPG.js.map → chunk-SALN7IZP.js.map} +1 -1
- package/dist/chunk-SKXW2JMJ.js +2 -0
- package/dist/chunk-SKXW2JMJ.js.map +1 -0
- package/dist/chunk-U7BJ3NHK.js +2 -0
- package/dist/{chunk-LDJ7CXCM.js.map → chunk-U7BJ3NHK.js.map} +1 -1
- package/dist/chunk-UDNQL2TT.js +2 -0
- package/dist/{chunk-DM3KOEH4.js.map → chunk-UDNQL2TT.js.map} +1 -1
- package/dist/{chunk-VRNWKIGB.js → chunk-VUICODT4.js} +2 -2
- package/dist/{chunk-VRNWKIGB.js.map → chunk-VUICODT4.js.map} +1 -1
- package/dist/{chunk-BFHEVJNW.cjs → chunk-WTGHWP7T.cjs} +2 -2
- package/dist/{chunk-BFHEVJNW.cjs.map → chunk-WTGHWP7T.cjs.map} +1 -1
- package/dist/{chunk-QFJFQRIG.js → chunk-XN7TZP35.js} +2 -2
- package/dist/{chunk-QFJFQRIG.js.map → chunk-XN7TZP35.js.map} +1 -1
- package/dist/chunk-XZCJKB3L.js +2 -0
- package/dist/{chunk-UJVC7JDT.js.map → chunk-XZCJKB3L.js.map} +1 -1
- package/dist/{chunk-TKAISLRS.cjs → chunk-ZWRW73XY.cjs} +2 -2
- package/dist/{chunk-TKAISLRS.cjs.map → chunk-ZWRW73XY.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/v2/address-input/address-input.cjs +1 -1
- package/dist/v2/address-input/address-input.js +1 -1
- package/dist/v2/date-picker/date-picker-input.cjs +1 -1
- package/dist/v2/date-picker/date-picker-input.js +1 -1
- package/dist/v2/date-picker/date-picker.cjs +1 -1
- package/dist/v2/date-picker/date-picker.js +1 -1
- package/dist/v2/dropzone/dropzone.cjs +1 -1
- package/dist/v2/dropzone/dropzone.js +1 -1
- package/dist/v2/image-preview/image-preview.cjs +1 -1
- package/dist/v2/image-preview/image-preview.js +1 -1
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.d.ts +1 -0
- package/dist/v2/index.js +1 -1
- package/dist/v2/multiselect/multiselect.cjs +1 -1
- package/dist/v2/multiselect/multiselect.js +1 -1
- package/dist/v2/rich-text-editor/rich-text-editor-with-code-blocks.cjs +2 -0
- package/dist/v2/rich-text-editor/rich-text-editor-with-code-blocks.cjs.map +1 -0
- package/dist/v2/rich-text-editor/rich-text-editor-with-code-blocks.d.ts +23 -0
- package/dist/v2/rich-text-editor/rich-text-editor-with-code-blocks.js +2 -0
- package/dist/v2/rich-text-editor/rich-text-editor-with-code-blocks.js.map +1 -0
- package/dist/v2/rich-text-editor/rich-text-editor.cjs +1 -1
- package/dist/v2/rich-text-editor/rich-text-editor.d.ts +3 -0
- package/dist/v2/rich-text-editor/rich-text-editor.js +1 -1
- package/dist/v2/rich-text-editor/rich-text-editor.stories.d.ts +1 -0
- package/dist/v2/time-select/time-select.cjs +1 -1
- package/dist/v2/time-select/time-select.js +1 -1
- package/dist/v2/toast/toaster.cjs +1 -1
- package/dist/v2/toast/toaster.js +1 -1
- package/package.json +11 -9
- package/dist/chunk-3LMQL6VN.cjs +0 -2
- package/dist/chunk-DM3KOEH4.js +0 -2
- package/dist/chunk-EJVR3XRG.cjs +0 -2
- package/dist/chunk-GWACBC3R.cjs +0 -2
- package/dist/chunk-GWACBC3R.cjs.map +0 -1
- package/dist/chunk-LDJ7CXCM.js +0 -2
- package/dist/chunk-RI4OVMZ5.cjs +0 -2
- package/dist/chunk-TZFIZLNA.js +0 -2
- package/dist/chunk-TZFIZLNA.js.map +0 -1
- package/dist/chunk-UJVC7JDT.js +0 -2
package/dist/chunk-GWACBC3R.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkQRO22BPZ_cjs=require('./chunk-QRO22BPZ.cjs'),editor=require('@mdxeditor/editor'),z=require('react'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var z__default=/*#__PURE__*/_interopDefault(z);var R={undoRedo:false,blockType:true,boldItalicUnderline:true,strikeThrough:true,lists:true,link:true,table:false,horizontalRule:true,toolbar:true},B=z__default.default.forwardRef(({className:i="",preview:T=false,options:E=R,markdown:a="",suppressHtmlProcessing:n=true,plugins:s=[],...d},u)=>{let o={...R,...E};if(T)return jsxRuntime.jsx(editor.MDXEditor,{markdown:a,plugins:[editor.headingsPlugin(),editor.listsPlugin(),editor.quotePlugin(),editor.thematicBreakPlugin(),editor.linkPlugin(),editor.linkDialogPlugin(),editor.tablePlugin(),...s],className:chunkQRO22BPZ_cjs.a("preview overflow-y-auto",i),suppressHtmlProcessing:n,...d,readOnly:true,ref:u},"preview");let t=[];o.toolbar&&o.undoRedo&&t.push(jsxRuntime.jsx(editor.UndoRedo,{},"undoRedo")),o.toolbar&&o.blockType&&t.push(jsxRuntime.jsx(editor.BlockTypeSelect,{},"blockType")),o.toolbar&&o.boldItalicUnderline&&t.push(jsxRuntime.jsx(editor.BoldItalicUnderlineToggles,{},"boldItalicUnderline")),o.toolbar&&o.strikeThrough&&t.push(jsxRuntime.jsx(editor.StrikeThroughSupSubToggles,{options:["Strikethrough"]},"strikeThrough")),o.toolbar&&o.lists&&t.push(jsxRuntime.jsx(editor.ListsToggle,{},"lists")),o.toolbar&&o.link&&t.push(jsxRuntime.jsx(editor.CreateLink,{},"link")),o.toolbar&&o.table&&t.push(jsxRuntime.jsx(editor.InsertTable,{},"table")),o.toolbar&&o.horizontalRule&&t.push(jsxRuntime.jsx(editor.InsertThematicBreak,{},"horizontalRule"));let r=[];return t.forEach((w,p)=>{r.push(w),p<t.length-1&&r.push(jsxRuntime.jsx(editor.Separator,{},`separator-${p}`));}),jsxRuntime.jsx(editor.MDXEditor,{markdown:a,plugins:[editor.headingsPlugin({allowedHeadingLevels:[1]}),editor.listsPlugin(),editor.quotePlugin(),editor.thematicBreakPlugin(),editor.linkPlugin(),editor.linkDialogPlugin(),editor.tablePlugin(),editor.markdownShortcutPlugin(),...o.toolbar?[editor.toolbarPlugin({toolbarContents:()=>r})]:[],...s],className:chunkQRO22BPZ_cjs.a("overflow-y-auto rounded-md border border-gray-300 shadow-xs transition-all hover:border-green-800",!o.toolbar&&"no-toolbar",i),suppressHtmlProcessing:n,...d,ref:u},`editor-${o.toolbar}`)});B.displayName="RichTextEditor";exports.a=R;exports.b=B;//# sourceMappingURL=chunk-GWACBC3R.cjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-GWACBC3R.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/v2/rich-text-editor/rich-text-editor.tsx"],"names":["defaultOptions","RichTextEditor","React","className","preview","options","markdown","suppressHtmlProcessing","additionalPlugins","props","editorRef","finalOptions","jsx","MDXEditor","headingsPlugin","listsPlugin","quotePlugin","thematicBreakPlugin","linkPlugin","linkDialogPlugin","tablePlugin","cn","toolbarItems","UndoRedo","BlockTypeSelect","BoldItalicUnderlineToggles","StrikeThroughSupSubToggles","ListsToggle","CreateLink","InsertTable","InsertThematicBreak","toolbarItemsWithSeparators","item","index","Separator","markdownShortcutPlugin","toolbarPlugin"],"mappings":"kRAgDO,IAAMA,CAAAA,CAAgC,CAC3C,QAAA,CAAU,KAAA,CACV,UAAW,IAAA,CACX,mBAAA,CAAqB,IAAA,CACrB,aAAA,CAAe,KACf,KAAA,CAAO,IAAA,CACP,KAAM,IAAA,CACN,KAAA,CAAO,MACP,cAAA,CAAgB,IAAA,CAChB,OAAA,CAAS,IACX,EAEaC,CAAAA,CAAiBC,kBAAAA,CAAM,WAClC,CACE,CACE,UAAAC,CAAAA,CAAY,EAAA,CACZ,OAAA,CAAAC,CAAAA,CAAU,MACV,OAAA,CAAAC,CAAAA,CAAUL,EACV,QAAA,CAAAM,CAAAA,CAAW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YAAA,CACzBR,CACF,CAAA,CACA,sBAAA,CAAwBI,EACvB,GAAGE,CAAAA,CACJ,IAAKC,CAAAA,CAAAA,CA3BA,CAAA,OAAA,EAAUC,EAAa,OAAO,CAAA,CA4BrC,CAEJ,CACF,EAEAV,EAAe,WAAA,CAAc,gBAAA","file":"chunk-GWACBC3R.cjs","sourcesContent":["/* eslint-disable react/no-array-index-key */\n/* eslint-disable react/require-default-props */\n/* eslint-disable react/no-unstable-nested-components */\nimport type { ForwardedRef, ReactNode } from 'react';\nimport {\n headingsPlugin,\n listsPlugin,\n quotePlugin,\n thematicBreakPlugin,\n MDXEditor,\n type MDXEditorMethods,\n type MDXEditorProps,\n toolbarPlugin,\n linkDialogPlugin,\n linkPlugin,\n tablePlugin,\n markdownShortcutPlugin,\n BlockTypeSelect,\n BoldItalicUnderlineToggles,\n CreateLink,\n InsertTable,\n InsertThematicBreak,\n ListsToggle,\n StrikeThroughSupSubToggles,\n UndoRedo,\n Separator,\n} from '@mdxeditor/editor';\nimport React from 'react';\nimport { cn } from '@/lib/utils';\n\ntype EditorOptions = {\n undoRedo?: boolean;\n blockType?: boolean;\n boldItalicUnderline?: boolean;\n strikeThrough?: boolean;\n lists?: boolean;\n link?: boolean;\n table?: boolean;\n horizontalRule?: boolean;\n toolbar?: boolean;\n};\n\nexport type RichTextEditorProps = {\n preview?: boolean;\n options?: EditorOptions;\n markdown?: string;\n} & Omit<MDXEditorProps, 'markdown'>;\n\nexport const defaultOptions: EditorOptions = {\n undoRedo: false,\n blockType: true,\n boldItalicUnderline: true,\n strikeThrough: true,\n lists: true,\n link: true,\n table: false,\n horizontalRule: true,\n toolbar: true,\n};\n\nexport const RichTextEditor = React.forwardRef(\n (\n {\n className = '',\n preview = false,\n options = defaultOptions,\n markdown = '',\n suppressHtmlProcessing = true,\n plugins: additionalPlugins = [],\n ...props\n }: RichTextEditorProps,\n editorRef?: ForwardedRef<MDXEditorMethods> | null,\n ) => {\n const finalOptions = { ...defaultOptions, ...options };\n if (preview) {\n return (\n <MDXEditor\n key=\"preview\"\n markdown={markdown}\n plugins={[\n headingsPlugin(),\n listsPlugin(),\n quotePlugin(),\n thematicBreakPlugin(),\n linkPlugin(),\n linkDialogPlugin(),\n tablePlugin(),\n ...additionalPlugins,\n ]}\n className={cn('preview overflow-y-auto', className)}\n suppressHtmlProcessing={suppressHtmlProcessing}\n {...props}\n readOnly\n ref={editorRef}\n />\n );\n }\n\n const toolbarItems: ReactNode[] = [];\n\n if (finalOptions.toolbar && finalOptions.undoRedo) {\n toolbarItems.push(<UndoRedo key=\"undoRedo\" />);\n }\n if (finalOptions.toolbar && finalOptions.blockType) {\n toolbarItems.push(<BlockTypeSelect key=\"blockType\" />);\n }\n if (finalOptions.toolbar && finalOptions.boldItalicUnderline) {\n toolbarItems.push(<BoldItalicUnderlineToggles key=\"boldItalicUnderline\" />);\n }\n if (finalOptions.toolbar && finalOptions.strikeThrough) {\n toolbarItems.push(\n <StrikeThroughSupSubToggles key=\"strikeThrough\" options={['Strikethrough']} />,\n );\n }\n if (finalOptions.toolbar && finalOptions.lists) {\n toolbarItems.push(<ListsToggle key=\"lists\" />);\n }\n if (finalOptions.toolbar && finalOptions.link) {\n toolbarItems.push(<CreateLink key=\"link\" />);\n }\n if (finalOptions.toolbar && finalOptions.table) {\n toolbarItems.push(<InsertTable key=\"table\" />);\n }\n if (finalOptions.toolbar && finalOptions.horizontalRule) {\n toolbarItems.push(<InsertThematicBreak key=\"horizontalRule\" />);\n }\n\n const toolbarItemsWithSeparators: ReactNode[] = [];\n toolbarItems.forEach((item, index) => {\n toolbarItemsWithSeparators.push(item);\n if (index < toolbarItems.length - 1) {\n toolbarItemsWithSeparators.push(<Separator key={`separator-${index}`} />);\n }\n });\n\n return (\n <MDXEditor\n key={`editor-${finalOptions.toolbar}`}\n markdown={markdown}\n plugins={[\n headingsPlugin({ allowedHeadingLevels: [1] }),\n listsPlugin(),\n quotePlugin(),\n thematicBreakPlugin(),\n linkPlugin(),\n linkDialogPlugin(),\n tablePlugin(),\n markdownShortcutPlugin(),\n ...(finalOptions.toolbar\n ? [\n toolbarPlugin({\n toolbarContents: () => toolbarItemsWithSeparators,\n }),\n ]\n : []),\n ...additionalPlugins,\n ]}\n className={cn(\n 'overflow-y-auto rounded-md border border-gray-300 shadow-xs transition-all hover:border-green-800',\n !finalOptions.toolbar && 'no-toolbar',\n className,\n )}\n suppressHtmlProcessing={suppressHtmlProcessing}\n {...props}\n ref={editorRef}\n />\n );\n },\n);\n\nRichTextEditor.displayName = 'RichTextEditor';\n\nexport { type MDXEditorMethods, type MDXEditorProps };\n"]}
|
package/dist/chunk-LDJ7CXCM.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {a as a$3}from'./chunk-MLDQANAB.js';import {a}from'./chunk-C3SA4MJM.js';import {a as a$2}from'./chunk-HREIJD67.js';import {a as a$4}from'./chunk-6GY72LGS.js';import {a as a$5}from'./chunk-3D5X7YGI.js';import {a as a$1}from'./chunk-G5G7LYK3.js';var x={Area:a$5,Text:a$4,Number:a$3,Password:a$2,Mask:a$1,OTP:a};export{x as a};//# sourceMappingURL=chunk-LDJ7CXCM.js.map
|
|
2
|
-
//# sourceMappingURL=chunk-LDJ7CXCM.js.map
|
package/dist/chunk-RI4OVMZ5.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkBFHEVJNW_cjs=require('./chunk-BFHEVJNW.cjs'),chunkLVCOLESY_cjs=require('./chunk-LVCOLESY.cjs'),chunkTKAISLRS_cjs=require('./chunk-TKAISLRS.cjs'),chunkKJULJRWW_cjs=require('./chunk-KJULJRWW.cjs'),chunkIBQWP337_cjs=require('./chunk-IBQWP337.cjs');var c={Clock:chunkTKAISLRS_cjs.a,Coffee:chunkKJULJRWW_cjs.a,Medication:chunkBFHEVJNW_cjs.a,Notepad:chunkLVCOLESY_cjs.a,Laptop:chunkIBQWP337_cjs.a};exports.a=c;//# sourceMappingURL=chunk-RI4OVMZ5.cjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-RI4OVMZ5.cjs.map
|
package/dist/chunk-TZFIZLNA.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-YTIIAU4W.js';import {MDXEditor,headingsPlugin,listsPlugin,quotePlugin,thematicBreakPlugin,linkPlugin,linkDialogPlugin,tablePlugin,UndoRedo,BlockTypeSelect,BoldItalicUnderlineToggles,StrikeThroughSupSubToggles,ListsToggle,CreateLink,InsertTable,InsertThematicBreak,Separator,markdownShortcutPlugin,toolbarPlugin}from'@mdxeditor/editor';import z from'react';import {jsx}from'react/jsx-runtime';var R={undoRedo:false,blockType:true,boldItalicUnderline:true,strikeThrough:true,lists:true,link:true,table:false,horizontalRule:true,toolbar:true},B=z.forwardRef(({className:i="",preview:T=false,options:E=R,markdown:a$1="",suppressHtmlProcessing:n=true,plugins:s=[],...d},u)=>{let o={...R,...E};if(T)return jsx(MDXEditor,{markdown:a$1,plugins:[headingsPlugin(),listsPlugin(),quotePlugin(),thematicBreakPlugin(),linkPlugin(),linkDialogPlugin(),tablePlugin(),...s],className:a("preview overflow-y-auto",i),suppressHtmlProcessing:n,...d,readOnly:true,ref:u},"preview");let t=[];o.toolbar&&o.undoRedo&&t.push(jsx(UndoRedo,{},"undoRedo")),o.toolbar&&o.blockType&&t.push(jsx(BlockTypeSelect,{},"blockType")),o.toolbar&&o.boldItalicUnderline&&t.push(jsx(BoldItalicUnderlineToggles,{},"boldItalicUnderline")),o.toolbar&&o.strikeThrough&&t.push(jsx(StrikeThroughSupSubToggles,{options:["Strikethrough"]},"strikeThrough")),o.toolbar&&o.lists&&t.push(jsx(ListsToggle,{},"lists")),o.toolbar&&o.link&&t.push(jsx(CreateLink,{},"link")),o.toolbar&&o.table&&t.push(jsx(InsertTable,{},"table")),o.toolbar&&o.horizontalRule&&t.push(jsx(InsertThematicBreak,{},"horizontalRule"));let r=[];return t.forEach((w,p)=>{r.push(w),p<t.length-1&&r.push(jsx(Separator,{},`separator-${p}`));}),jsx(MDXEditor,{markdown:a$1,plugins:[headingsPlugin({allowedHeadingLevels:[1]}),listsPlugin(),quotePlugin(),thematicBreakPlugin(),linkPlugin(),linkDialogPlugin(),tablePlugin(),markdownShortcutPlugin(),...o.toolbar?[toolbarPlugin({toolbarContents:()=>r})]:[],...s],className:a("overflow-y-auto rounded-md border border-gray-300 shadow-xs transition-all hover:border-green-800",!o.toolbar&&"no-toolbar",i),suppressHtmlProcessing:n,...d,ref:u},`editor-${o.toolbar}`)});B.displayName="RichTextEditor";export{R as a,B as b};//# sourceMappingURL=chunk-TZFIZLNA.js.map
|
|
2
|
-
//# sourceMappingURL=chunk-TZFIZLNA.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/v2/rich-text-editor/rich-text-editor.tsx"],"names":["defaultOptions","RichTextEditor","React","className","preview","options","markdown","suppressHtmlProcessing","additionalPlugins","props","editorRef","finalOptions","jsx","MDXEditor","headingsPlugin","listsPlugin","quotePlugin","thematicBreakPlugin","linkPlugin","linkDialogPlugin","tablePlugin","cn","toolbarItems","UndoRedo","BlockTypeSelect","BoldItalicUnderlineToggles","StrikeThroughSupSubToggles","ListsToggle","CreateLink","InsertTable","InsertThematicBreak","toolbarItemsWithSeparators","item","index","Separator","markdownShortcutPlugin","toolbarPlugin"],"mappings":"+ZAgDO,IAAMA,CAAAA,CAAgC,CAC3C,QAAA,CAAU,KAAA,CACV,UAAW,IAAA,CACX,mBAAA,CAAqB,IAAA,CACrB,aAAA,CAAe,KACf,KAAA,CAAO,IAAA,CACP,KAAM,IAAA,CACN,KAAA,CAAO,MACP,cAAA,CAAgB,IAAA,CAChB,OAAA,CAAS,IACX,EAEaC,CAAAA,CAAiBC,CAAAA,CAAM,WAClC,CACE,CACE,UAAAC,CAAAA,CAAY,EAAA,CACZ,OAAA,CAAAC,CAAAA,CAAU,MACV,OAAA,CAAAC,CAAAA,CAAUL,EACV,QAAA,CAAAM,GAAAA,CAAW,GACX,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BAAA,CAAwBI,EACvB,GAAGE,CAAAA,CACJ,IAAKC,CAAAA,CAAAA,CA3BA,CAAA,OAAA,EAAUC,EAAa,OAAO,CAAA,CA4BrC,CAEJ,CACF,EAEAV,EAAe,WAAA,CAAc,gBAAA","file":"chunk-TZFIZLNA.js","sourcesContent":["/* eslint-disable react/no-array-index-key */\n/* eslint-disable react/require-default-props */\n/* eslint-disable react/no-unstable-nested-components */\nimport type { ForwardedRef, ReactNode } from 'react';\nimport {\n headingsPlugin,\n listsPlugin,\n quotePlugin,\n thematicBreakPlugin,\n MDXEditor,\n type MDXEditorMethods,\n type MDXEditorProps,\n toolbarPlugin,\n linkDialogPlugin,\n linkPlugin,\n tablePlugin,\n markdownShortcutPlugin,\n BlockTypeSelect,\n BoldItalicUnderlineToggles,\n CreateLink,\n InsertTable,\n InsertThematicBreak,\n ListsToggle,\n StrikeThroughSupSubToggles,\n UndoRedo,\n Separator,\n} from '@mdxeditor/editor';\nimport React from 'react';\nimport { cn } from '@/lib/utils';\n\ntype EditorOptions = {\n undoRedo?: boolean;\n blockType?: boolean;\n boldItalicUnderline?: boolean;\n strikeThrough?: boolean;\n lists?: boolean;\n link?: boolean;\n table?: boolean;\n horizontalRule?: boolean;\n toolbar?: boolean;\n};\n\nexport type RichTextEditorProps = {\n preview?: boolean;\n options?: EditorOptions;\n markdown?: string;\n} & Omit<MDXEditorProps, 'markdown'>;\n\nexport const defaultOptions: EditorOptions = {\n undoRedo: false,\n blockType: true,\n boldItalicUnderline: true,\n strikeThrough: true,\n lists: true,\n link: true,\n table: false,\n horizontalRule: true,\n toolbar: true,\n};\n\nexport const RichTextEditor = React.forwardRef(\n (\n {\n className = '',\n preview = false,\n options = defaultOptions,\n markdown = '',\n suppressHtmlProcessing = true,\n plugins: additionalPlugins = [],\n ...props\n }: RichTextEditorProps,\n editorRef?: ForwardedRef<MDXEditorMethods> | null,\n ) => {\n const finalOptions = { ...defaultOptions, ...options };\n if (preview) {\n return (\n <MDXEditor\n key=\"preview\"\n markdown={markdown}\n plugins={[\n headingsPlugin(),\n listsPlugin(),\n quotePlugin(),\n thematicBreakPlugin(),\n linkPlugin(),\n linkDialogPlugin(),\n tablePlugin(),\n ...additionalPlugins,\n ]}\n className={cn('preview overflow-y-auto', className)}\n suppressHtmlProcessing={suppressHtmlProcessing}\n {...props}\n readOnly\n ref={editorRef}\n />\n );\n }\n\n const toolbarItems: ReactNode[] = [];\n\n if (finalOptions.toolbar && finalOptions.undoRedo) {\n toolbarItems.push(<UndoRedo key=\"undoRedo\" />);\n }\n if (finalOptions.toolbar && finalOptions.blockType) {\n toolbarItems.push(<BlockTypeSelect key=\"blockType\" />);\n }\n if (finalOptions.toolbar && finalOptions.boldItalicUnderline) {\n toolbarItems.push(<BoldItalicUnderlineToggles key=\"boldItalicUnderline\" />);\n }\n if (finalOptions.toolbar && finalOptions.strikeThrough) {\n toolbarItems.push(\n <StrikeThroughSupSubToggles key=\"strikeThrough\" options={['Strikethrough']} />,\n );\n }\n if (finalOptions.toolbar && finalOptions.lists) {\n toolbarItems.push(<ListsToggle key=\"lists\" />);\n }\n if (finalOptions.toolbar && finalOptions.link) {\n toolbarItems.push(<CreateLink key=\"link\" />);\n }\n if (finalOptions.toolbar && finalOptions.table) {\n toolbarItems.push(<InsertTable key=\"table\" />);\n }\n if (finalOptions.toolbar && finalOptions.horizontalRule) {\n toolbarItems.push(<InsertThematicBreak key=\"horizontalRule\" />);\n }\n\n const toolbarItemsWithSeparators: ReactNode[] = [];\n toolbarItems.forEach((item, index) => {\n toolbarItemsWithSeparators.push(item);\n if (index < toolbarItems.length - 1) {\n toolbarItemsWithSeparators.push(<Separator key={`separator-${index}`} />);\n }\n });\n\n return (\n <MDXEditor\n key={`editor-${finalOptions.toolbar}`}\n markdown={markdown}\n plugins={[\n headingsPlugin({ allowedHeadingLevels: [1] }),\n listsPlugin(),\n quotePlugin(),\n thematicBreakPlugin(),\n linkPlugin(),\n linkDialogPlugin(),\n tablePlugin(),\n markdownShortcutPlugin(),\n ...(finalOptions.toolbar\n ? [\n toolbarPlugin({\n toolbarContents: () => toolbarItemsWithSeparators,\n }),\n ]\n : []),\n ...additionalPlugins,\n ]}\n className={cn(\n 'overflow-y-auto rounded-md border border-gray-300 shadow-xs transition-all hover:border-green-800',\n !finalOptions.toolbar && 'no-toolbar',\n className,\n )}\n suppressHtmlProcessing={suppressHtmlProcessing}\n {...props}\n ref={editorRef}\n />\n );\n },\n);\n\nRichTextEditor.displayName = 'RichTextEditor';\n\nexport { type MDXEditorMethods, type MDXEditorProps };\n"]}
|
package/dist/chunk-UJVC7JDT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-YTIIAU4W.js';import {a as a$1}from'./chunk-CWXZFXQT.js';import {LuIterationCcw,LuLoaderCircle,LuX,LuTriangleAlert,LuInfo,LuCheck}from'react-icons/lu';import {toast,Toaster}from'sonner';import {jsx}from'react/jsx-runtime';var x=4e3,z=({className:o,duration:r=x,toastOptions:e,position:i,closeButton:c=true,...l})=>{let{isMobile:m}=a$1(992),d=i??(m?"top-center":"bottom-left"),u={fontFamily:"var(--font-lato)",fontSize:"0.875rem","--toast-duration":`${e?.duration??r}ms`,...e?.style};return jsx(Toaster,{className:a("toaster group",o),duration:r,position:d,icons:{success:jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-green-500",children:jsx(LuCheck,{className:"size-4 text-green-900"})}),info:jsx("div",{className:"bg-grey-300 flex h-8 w-8 items-center justify-center rounded-full",children:jsx(LuInfo,{className:"size-4 text-gray-800"})}),warning:jsx("div",{className:"bg-gold-300 flex h-8 w-8 items-center justify-center rounded-full",children:jsx(LuTriangleAlert,{className:"text-gold-900 size-4"})}),error:jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-red-200",children:jsx(LuX,{className:"size-4 text-red-600"})}),loading:jsx(LuLoaderCircle,{className:"size-5 animate-spin text-green-600"})},toastOptions:{...e,style:u,classNames:{...e?.classNames,toast:a("toast-progress overflow-visible!",e?.classNames?.toast),default:a("text-primary! bg-toast-success! w-[350px]! items-center! rounded-md! border text-sm! md:w-[440px]!",e?.classNames?.default),success:a("border-green-600!",e?.classNames?.success),error:a("border-red-300!",e?.classNames?.error),warning:a("bg-gold-100! border-gold-500!",e?.classNames?.warning),info:a("border-gray-500!",e?.classNames?.info),title:a("text-base! font-bold!",e?.classNames?.title),description:a("text-secondary! text-sm!",e?.classNames?.description),icon:a("size-8! shrink-0! self-start!",e?.classNames?.icon),actionButton:a("text-secondary! focus-visible:border-ring! focus-visible:ring-ring/50! mt-auto! h-8! rounded-md! border-none! bg-transparent! py-0! pr-0! pl-0! text-base! font-bold! hover:bg-gray-200! focus:ring-0! focus-visible:ring-[3px]! active:bg-gray-200! md:pr-3! md:pl-3!",e?.classNames?.actionButton),closeButton:"absolute -top-0.5! -right-4! left-auto!"}},closeButton:c,...l})},L=Object.assign((o,r)=>toast.success(o,r),toast,{misc:(o,r)=>toast(o,{...r,icon:r?.icon??jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-sky-300",children:jsx(LuIterationCcw,{className:"size-4 text-sky-900"})}),className:a("toast-misc",r?.className)})});export{z as a,L as b};//# sourceMappingURL=chunk-UJVC7JDT.js.map
|
|
2
|
-
//# sourceMappingURL=chunk-UJVC7JDT.js.map
|