@keboola/design 17.0.0 → 17.2.0
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/CHANGELOG.md +48 -1
- package/dist/{AIKit-CxKkvN0q.js → AIKit-DiF0LtVr.js} +22 -14
- package/dist/AIKit-DiF0LtVr.js.map +1 -0
- package/dist/{Alert-DziS8n1H.js → Alert-BQB-og_I.js} +2 -2
- package/dist/{Alert-DziS8n1H.js.map → Alert-BQB-og_I.js.map} +1 -1
- package/dist/{AlertModal-De04fFoy.js → AlertModal-BkmyEvsR.js} +2 -2
- package/dist/{AlertModal-De04fFoy.js.map → AlertModal-BkmyEvsR.js.map} +1 -1
- package/dist/{AppShell-BUa3U7-e.js → AppShell-CDbecT-t.js} +2 -2
- package/dist/{AppShell-BUa3U7-e.js.map → AppShell-CDbecT-t.js.map} +1 -1
- package/dist/{BrandEditor-hiLBX7az.js → BrandEditor-BHE6nsob.js} +6 -6
- package/dist/{BrandEditor-hiLBX7az.js.map → BrandEditor-BHE6nsob.js.map} +1 -1
- package/dist/{BrandLogo-Dn7hhp2c.js → BrandLogo-n4Qhi1tI.js} +2 -2
- package/dist/{BrandLogo-Dn7hhp2c.js.map → BrandLogo-n4Qhi1tI.js.map} +1 -1
- package/dist/{Breadcrumb-uGFEIjFF.js → Breadcrumb-BAwQTo0c.js} +3 -3
- package/dist/{Breadcrumb-uGFEIjFF.js.map → Breadcrumb-BAwQTo0c.js.map} +1 -1
- package/dist/{Button-DbvGzEDb.js → Button-BAMX1iuI.js} +2 -2
- package/dist/{Button-DbvGzEDb.js.map → Button-BAMX1iuI.js.map} +1 -1
- package/dist/{Checkbox-B2jLlyaO.js → Checkbox-CfjpwIcg.js} +2 -2
- package/dist/{Checkbox-B2jLlyaO.js.map → Checkbox-CfjpwIcg.js.map} +1 -1
- package/dist/{Clipboard-fAkDdpEu.js → Clipboard-BaU3cDi5.js} +7 -5
- package/dist/Clipboard-BaU3cDi5.js.map +1 -0
- package/dist/{ClipboardButton-71Ugbl8c.js → ClipboardButton-BWeaQEM2.js} +5 -4
- package/dist/ClipboardButton-BWeaQEM2.js.map +1 -0
- package/dist/{CodeEditor-D_b-ZCng.js → CodeEditor-BdTxkPD4.js} +4 -4
- package/dist/{CodeEditor-D_b-ZCng.js.map → CodeEditor-BdTxkPD4.js.map} +1 -1
- package/dist/{ColorInput-Cjr1jkvy.js → ColorInput-BoVdBxJ7.js} +3 -3
- package/dist/{ColorInput-Cjr1jkvy.js.map → ColorInput-BoVdBxJ7.js.map} +1 -1
- package/dist/{ColorModeSwitch-CuPYnJ2V.js → ColorModeSwitch-BDkdmHYl.js} +2 -2
- package/dist/{ColorModeSwitch-CuPYnJ2V.js.map → ColorModeSwitch-BDkdmHYl.js.map} +1 -1
- package/dist/{Combobox-DYjvYgl3.js → Combobox-CakN_1cF.js} +6 -6
- package/dist/Combobox-CakN_1cF.js.map +1 -0
- package/dist/{Command-BcTb6GsR.js → Command-D6XYzzJf.js} +2 -2
- package/dist/{Command-BcTb6GsR.js.map → Command-D6XYzzJf.js.map} +1 -1
- package/dist/{CopyField-CnwAvQz9.js → CopyField-9WBU8thS.js} +2 -2
- package/dist/{CopyField-CnwAvQz9.js.map → CopyField-9WBU8thS.js.map} +1 -1
- package/dist/{DateInput-DJNX7Vdx.js → DateInput-CCYG0AtT.js} +3 -3
- package/dist/{DateInput-DJNX7Vdx.js.map → DateInput-CCYG0AtT.js.map} +1 -1
- package/dist/{DateRangeInput-B3g8cyS0.js → DateRangeInput-CpZK1IFp.js} +3 -3
- package/dist/{DateRangeInput-B3g8cyS0.js.map → DateRangeInput-CpZK1IFp.js.map} +1 -1
- package/dist/{DateRangePicker-48yOB2qV.js → DateRangePicker-B2AUKX7u.js} +2 -2
- package/dist/{DateRangePicker-48yOB2qV.js.map → DateRangePicker-B2AUKX7u.js.map} +1 -1
- package/dist/{FieldItem-D7eCMfMB.js → FieldItem-eM7IHBt5.js} +3 -3
- package/dist/{FieldItem-D7eCMfMB.js.map → FieldItem-eM7IHBt5.js.map} +1 -1
- package/dist/{FileUpload-DskvxhAr.js → FileUpload-d-hNPfPV.js} +2 -2
- package/dist/{FileUpload-DskvxhAr.js.map → FileUpload-d-hNPfPV.js.map} +1 -1
- package/dist/{Form-BUNW7nlt.js → Form-B_9sNehB.js} +7 -7
- package/dist/{Form-BUNW7nlt.js.map → Form-B_9sNehB.js.map} +1 -1
- package/dist/{FormGroup-QJB21LKp.js → FormGroup-D7ahkK1q.js} +3 -3
- package/dist/{FormGroup-QJB21LKp.js.map → FormGroup-D7ahkK1q.js.map} +1 -1
- package/dist/{FullScreenModal-RzY5XxiG.js → FullScreenModal-CiRKNsls.js} +2 -2
- package/dist/{FullScreenModal-RzY5XxiG.js.map → FullScreenModal-CiRKNsls.js.map} +1 -1
- package/dist/{InlineEdit-CXL0ZslO.js → InlineEdit-BzOox46S.js} +4 -4
- package/dist/{InlineEdit-CXL0ZslO.js.map → InlineEdit-BzOox46S.js.map} +1 -1
- package/dist/{InputGroup-BWeanEo7.js → InputGroup-DnGP9-ZQ.js} +2 -2
- package/dist/{InputGroup-BWeanEo7.js.map → InputGroup-DnGP9-ZQ.js.map} +1 -1
- package/dist/{Kbd-BprYCICe.js → Kbd-6velz9J-.js} +2 -2
- package/dist/{Kbd-BprYCICe.js.map → Kbd-6velz9J-.js.map} +1 -1
- package/dist/{MermaidDiagram-E3azndPk.js → MermaidDiagram-l83gco3r.js} +2 -2
- package/dist/{MermaidDiagram-E3azndPk.js.map → MermaidDiagram-l83gco3r.js.map} +1 -1
- package/dist/{Modal-Cf_kPEBW.js → Modal-CLu6Eg5p.js} +2 -2
- package/dist/{Modal-Cf_kPEBW.js.map → Modal-CLu6Eg5p.js.map} +1 -1
- package/dist/{MultiActionButtonGroup-8WQwL4UQ.js → MultiActionButtonGroup-B3-wNw7w.js} +3 -3
- package/dist/{MultiActionButtonGroup-8WQwL4UQ.js.map → MultiActionButtonGroup-B3-wNw7w.js.map} +1 -1
- package/dist/{Navbar-CRjxVboE.js → Navbar-BEc-Pqo5.js} +2 -2
- package/dist/{Navbar-CRjxVboE.js.map → Navbar-BEc-Pqo5.js.map} +1 -1
- package/dist/{PageHeader-DosMyar2.js → PageHeader-CfFKjCzo.js} +2 -2
- package/dist/PageHeader-CfFKjCzo.js.map +1 -0
- package/dist/{PageToolbar-By2HznxO.js → PageToolbar-NmiausP7.js} +2 -2
- package/dist/{PageToolbar-By2HznxO.js.map → PageToolbar-NmiausP7.js.map} +1 -1
- package/dist/{Pagination-DrXTrvfD.js → Pagination-DidOPSPB.js} +2 -2
- package/dist/{Pagination-DrXTrvfD.js.map → Pagination-DidOPSPB.js.map} +1 -1
- package/dist/{Popconfirm-BJuDOHdv.js → Popconfirm-C4ryoeGP.js} +2 -2
- package/dist/{Popconfirm-BJuDOHdv.js.map → Popconfirm-C4ryoeGP.js.map} +1 -1
- package/dist/{RadioGroup-B9oC8P15.js → RadioGroup-BIElT-nH.js} +2 -2
- package/dist/{RadioGroup-B9oC8P15.js.map → RadioGroup-BIElT-nH.js.map} +1 -1
- package/dist/{Search-OgaNjqQM.js → Search-xDWaQ2z3.js} +2 -2
- package/dist/{Search-OgaNjqQM.js.map → Search-xDWaQ2z3.js.map} +1 -1
- package/dist/{SearchInput-eLS-uvOn.js → SearchInput-BwlJ77mV.js} +3 -3
- package/dist/{SearchInput-eLS-uvOn.js.map → SearchInput-BwlJ77mV.js.map} +1 -1
- package/dist/{SectionNav-L81iJBo3.js → SectionNav-DV3Hwj-5.js} +14 -8
- package/dist/SectionNav-DV3Hwj-5.js.map +1 -0
- package/dist/{Select-DRdkdzBp.js → Select-C3Q_Xk_Z.js} +2 -2
- package/dist/{Select-DRdkdzBp.js.map → Select-C3Q_Xk_Z.js.map} +1 -1
- package/dist/{Sheet-DVb4XoJ5.js → Sheet-D7NnOyud.js} +2 -2
- package/dist/{Sheet-DVb4XoJ5.js.map → Sheet-D7NnOyud.js.map} +1 -1
- package/dist/{Sidebar-DYvodJWN.js → Sidebar-DaUDM8jm.js} +5 -5
- package/dist/{Sidebar-DYvodJWN.js.map → Sidebar-DaUDM8jm.js.map} +1 -1
- package/dist/{Slider-B9IskDxf.js → Slider-Cdl8FOvI.js} +3 -3
- package/dist/{Slider-B9IskDxf.js.map → Slider-Cdl8FOvI.js.map} +1 -1
- package/dist/{Table-BwgBm3hJ.js → Table-DtLrXt4i.js} +39 -7
- package/dist/Table-DtLrXt4i.js.map +1 -0
- package/dist/{Tabs-DmJB4l_N.js → Tabs-DUOUQKh7.js} +2 -2
- package/dist/{Tabs-DmJB4l_N.js.map → Tabs-DUOUQKh7.js.map} +1 -1
- package/dist/{TextInput--1CfZybC.js → TextInput-BAL-zOAN.js} +3 -3
- package/dist/{TextInput--1CfZybC.js.map → TextInput-BAL-zOAN.js.map} +1 -1
- package/dist/{ThemeProvider-BCHllN7d.js → ThemeProvider-MzVbTDBj.js} +2 -2
- package/dist/{ThemeProvider-BCHllN7d.js.map → ThemeProvider-MzVbTDBj.js.map} +1 -1
- package/dist/{ToggleAllTooltip-BFmA6TXf.js → ToggleAllTooltip-DQE5Lw6w.js} +2 -2
- package/dist/{ToggleAllTooltip-BFmA6TXf.js.map → ToggleAllTooltip-DQE5Lw6w.js.map} +1 -1
- package/dist/{ZoomableSvg-BRPGgaWJ.js → ZoomableSvg-CIOqAYpd.js} +4 -4
- package/dist/{ZoomableSvg-BRPGgaWJ.js.map → ZoomableSvg-CIOqAYpd.js.map} +1 -1
- package/dist/editors.js +3 -3
- package/dist/flint.js +3 -3
- package/dist/flint.js.map +1 -1
- package/dist/index.d.ts +410 -354
- package/dist/index.js +52 -50
- package/dist/internal/blocks/AIKit.js +1 -1
- package/dist/internal/blocks/AppShell.js +1 -1
- package/dist/internal/blocks/AuthLayout.js +1 -1
- package/dist/internal/blocks/BrandEditor.js +1 -1
- package/dist/internal/blocks/BulkActionsBar.js +55 -0
- package/dist/internal/blocks/BulkActionsBar.js.map +1 -0
- package/dist/internal/blocks/ChipEditor.js +2 -2
- package/dist/internal/blocks/ClipboardButton.js +1 -1
- package/dist/internal/blocks/ColorInput.js +1 -1
- package/dist/internal/blocks/ColorModeSwitch.js +1 -1
- package/dist/internal/blocks/Command.js +1 -1
- package/dist/internal/blocks/CopyField.js +1 -1
- package/dist/internal/blocks/DateInput.js +1 -1
- package/dist/internal/blocks/DateRangeInput.js +1 -1
- package/dist/internal/blocks/ExportMenu.js +2 -2
- package/dist/internal/blocks/Form/connectors/ComboboxField.js +2 -2
- package/dist/internal/blocks/Form/connectors/MultiComboboxField.js +1 -1
- package/dist/internal/blocks/Form.js +2 -2
- package/dist/internal/blocks/FormGroup.js +1 -1
- package/dist/internal/blocks/InlineEdit.js +1 -1
- package/dist/internal/blocks/MultiActionButtonGroup.js +1 -1
- package/dist/internal/blocks/MultiCombobox.js +3 -3
- package/dist/internal/blocks/NumberInput.js +1 -1
- package/dist/internal/blocks/PageHeader.js +1 -1
- package/dist/internal/blocks/PageSection.js +31 -0
- package/dist/internal/blocks/PageSection.js.map +1 -0
- package/dist/internal/blocks/PageToolbar.js +1 -1
- package/dist/internal/blocks/PasswordInput.js +2 -2
- package/dist/internal/blocks/SearchInput.js +1 -1
- package/dist/internal/blocks/SearchInputWithNavigation.js +3 -3
- package/dist/internal/blocks/SectionNav.js +1 -1
- package/dist/internal/blocks/SplitButton.js +1 -1
- package/dist/internal/blocks/TextInput.js +1 -1
- package/dist/internal/blocks/Textarea.js +1 -1
- package/dist/internal/blocks/TimeInput.js +2 -2
- package/dist/internal/components/Alert.js +1 -1
- package/dist/internal/components/AlertModal.js +1 -1
- package/dist/internal/components/Avatar.js +3 -2
- package/dist/internal/components/Avatar.js.map +1 -1
- package/dist/internal/components/BrandLogo.js +1 -1
- package/dist/internal/components/Breadcrumb.js +1 -1
- package/dist/internal/components/Button.js +1 -1
- package/dist/internal/components/Checkbox.js +1 -1
- package/dist/internal/components/Clipboard.js +1 -1
- package/dist/internal/components/CollapsiblePanel.js +1 -1
- package/dist/internal/components/Combobox.js +1 -1
- package/dist/internal/components/DateRangePicker.js +1 -1
- package/dist/internal/components/FileUpload.js +1 -1
- package/dist/internal/components/FullScreenModal.js +1 -1
- package/dist/internal/components/InputGroup.js +1 -1
- package/dist/internal/components/Kbd.js +1 -1
- package/dist/internal/components/Modal.js +1 -1
- package/dist/internal/components/Navbar.js +1 -1
- package/dist/internal/components/Pagination.js +1 -1
- package/dist/internal/components/Popconfirm.js +1 -1
- package/dist/internal/components/RadioGroup.js +1 -1
- package/dist/internal/components/Search.js +1 -1
- package/dist/internal/components/Select.js +1 -1
- package/dist/internal/components/Sheet.js +1 -1
- package/dist/internal/components/Sidebar.js +1 -1
- package/dist/internal/components/Slider.js +1 -1
- package/dist/internal/components/Table.js +1 -1
- package/dist/internal/components/Tabs.js +1 -1
- package/dist/internal/components/ThemeProvider.js +1 -1
- package/dist/internal/components/Tooltip.js +1 -1
- package/dist/internal/components/Truncated.js +1 -1
- package/dist/internal/components/ZoomableSvg.js +1 -1
- package/dist/internal/utils.js +1 -1
- package/dist/markdown-editor.js +6 -6
- package/dist/mermaid.js +1 -1
- package/dist/rjsf.js +74 -54
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing.js +1 -1
- package/dist/{utils-DjFceY3H.js → utils-BxEJOnFD.js} +2 -2
- package/dist/{utils-DjFceY3H.js.map → utils-BxEJOnFD.js.map} +1 -1
- package/package.json +3 -3
- package/src/styles.css +11 -1
- package/dist/AIKit-CxKkvN0q.js.map +0 -1
- package/dist/Clipboard-fAkDdpEu.js.map +0 -1
- package/dist/ClipboardButton-71Ugbl8c.js.map +0 -1
- package/dist/Combobox-DYjvYgl3.js.map +0 -1
- package/dist/PageHeader-DosMyar2.js.map +0 -1
- package/dist/SectionNav-L81iJBo3.js.map +0 -1
- package/dist/Table-BwgBm3hJ.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DateRangePicker } from "../../DateRangePicker-
|
|
1
|
+
export { DateRangePicker } from "../../DateRangePicker-B2AUKX7u.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FileUpload, useFileDropTarget, useFileUploadRejections } from "../../FileUpload-
|
|
1
|
+
export { FileUpload, useFileDropTarget, useFileUploadRejections } from "../../FileUpload-d-hNPfPV.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "../../FullScreenModal-
|
|
1
|
+
export { FullScreenModal, FullScreenModalBody, FullScreenModalHeader } from "../../FullScreenModal-CiRKNsls.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { InputGroup } from "../../InputGroup-
|
|
1
|
+
export { InputGroup } from "../../InputGroup-DnGP9-ZQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Kbd, kbdVariants, keys } from "../../Kbd-
|
|
1
|
+
export { Kbd, kbdVariants, keys } from "../../Kbd-6velz9J-.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Modal } from "../../Modal-
|
|
1
|
+
export { Modal } from "../../Modal-CLu6Eg5p.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Navbar } from "../../Navbar-
|
|
1
|
+
export { Navbar } from "../../Navbar-BEc-Pqo5.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Pagination } from "../../Pagination-
|
|
1
|
+
export { Pagination } from "../../Pagination-DidOPSPB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Popconfirm } from "../../Popconfirm-
|
|
1
|
+
export { Popconfirm } from "../../Popconfirm-C4ryoeGP.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RadioGroup } from "../../RadioGroup-
|
|
1
|
+
export { RadioGroup } from "../../RadioGroup-BIElT-nH.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Search, SearchForm } from "../../Search-
|
|
1
|
+
export { Search, SearchForm } from "../../Search-xDWaQ2z3.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Select } from "../../Select-
|
|
1
|
+
export { Select } from "../../Select-C3Q_Xk_Z.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Sheet } from "../../Sheet-
|
|
1
|
+
export { Sheet } from "../../Sheet-D7NnOyud.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Sidebar, SidebarProvider, useOptionalSidebar, useSidebar } from "../../Sidebar-
|
|
1
|
+
export { Sidebar, SidebarProvider, useOptionalSidebar, useSidebar } from "../../Sidebar-DaUDM8jm.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Slider } from "../../Slider-
|
|
1
|
+
export { Slider } from "../../Slider-Cdl8FOvI.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Table, TableSortHeader, tableAriaSort } from "../../Table-
|
|
1
|
+
export { Table, TableSortHeader, tableAriaSort } from "../../Table-DtLrXt4i.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Tabs, TabsContent } from "../../Tabs-
|
|
1
|
+
export { Tabs, TabsContent } from "../../Tabs-DUOUQKh7.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ThemeProvider, ThemeScope, agnes, brandSchema, exampleCustomer, harbor, kbcUi, keboola, useTheme, useThemeScopeContainer } from "../../ThemeProvider-
|
|
1
|
+
import { ThemeProvider, ThemeScope, agnes, brandSchema, exampleCustomer, harbor, kbcUi, keboola, useTheme, useThemeScopeContainer } from "../../ThemeProvider-MzVbTDBj.js";
|
|
2
2
|
import { DEFAULT_BRAND_ID, DEFAULT_COLOR_SCHEME } from "../../themeScopeContext-BZGPdyG8.js";
|
|
3
3
|
export { DEFAULT_COLOR_SCHEME, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, ThemeProvider, ThemeScope, agnes, brandSchema, exampleCustomer, harbor, kbcUi, keboola, useTheme, useThemeScopeContainer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { HINT_UNDERLINE_CLASS_NAME, Tooltip, TooltipProvider } from "../../utils-
|
|
1
|
+
export { HINT_UNDERLINE_CLASS_NAME, Tooltip, TooltipProvider } from "../../utils-BxEJOnFD.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "../../ZoomableSvg-
|
|
1
|
+
export { ZoomableSvg, svgToPngBlob, toSvgFileContent } from "../../ZoomableSvg-CIOqAYpd.js";
|
package/dist/internal/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn } from "../classNames-DkX30VJU.js";
|
|
2
|
-
import { DEFAULT_ENTRY_SEPARATOR, copyToClipboard, createChangeInputEvent, createPrefixedString, debounce, isMac, noop, splitEntry, useSHA256, withHiddenFullscreen, withTooltipProvider, withVisualSettle } from "../utils-
|
|
2
|
+
import { DEFAULT_ENTRY_SEPARATOR, copyToClipboard, createChangeInputEvent, createPrefixedString, debounce, isMac, noop, splitEntry, useSHA256, withHiddenFullscreen, withTooltipProvider, withVisualSettle } from "../utils-BxEJOnFD.js";
|
|
3
3
|
import { findLiteralMatches, findLiteralTermMatches, hasLiteralMatch } from "../findLiteralMatches-BaLZTPtx.js";
|
|
4
4
|
import { mergeRefs } from "./utils/mergeRefs.js";
|
|
5
5
|
export { DEFAULT_ENTRY_SEPARATOR, cn, copyToClipboard, createChangeInputEvent, createPrefixedString, debounce, findLiteralMatches, findLiteralTermMatches, hasLiteralMatch, isMac, mergeRefs, noop, splitEntry, useSHA256, withHiddenFullscreen, withTooltipProvider, withVisualSettle };
|
package/dist/markdown-editor.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { cn } from "./classNames-DkX30VJU.js";
|
|
2
|
-
import { Tooltip } from "./utils-
|
|
2
|
+
import { Tooltip } from "./utils-BxEJOnFD.js";
|
|
3
3
|
import { AlignCenter, AlignJustify, AlignLeft, AlignRight, Bold, ChevronDown, Code, Heading1, Heading2, Heading3, Italic, Link, List, ListOrdered, Quote, SquareCode, Strikethrough, Type, Underline } from "./icons-DDR9dFSr.js";
|
|
4
|
-
import { Button } from "./Button-
|
|
4
|
+
import { Button } from "./Button-BAMX1iuI.js";
|
|
5
5
|
import { ButtonGroup } from "./internal/components/ButtonGroup.js";
|
|
6
6
|
import { DropdownMenu } from "./DropdownMenu-Ba9atqDa.js";
|
|
7
7
|
import { Label } from "./internal/components/Label.js";
|
|
8
8
|
import { useStableCallback } from "./internal/hooks/useStableCallback.js";
|
|
9
9
|
import { Popover } from "./Popover-DhOPlWgF.js";
|
|
10
|
-
import { TextInput } from "./TextInput
|
|
11
|
-
import { FormGroup } from "./FormGroup-
|
|
12
|
-
import { Kbd } from "./Kbd-
|
|
10
|
+
import { TextInput } from "./TextInput-BAL-zOAN.js";
|
|
11
|
+
import { FormGroup } from "./FormGroup-D7ahkK1q.js";
|
|
12
|
+
import { Kbd } from "./Kbd-6velz9J-.js";
|
|
13
13
|
import { Skeleton } from "./internal/components/Skeleton/Skeleton.js";
|
|
14
14
|
import { toast } from "./toast-Dzj1EFOb.js";
|
|
15
15
|
import { Suspense, createContext, lazy, use, useCallback, useEffect, useId, useRef, useState } from "react";
|
|
@@ -276,7 +276,7 @@ const KeyboardPlugin = ({ onSave, onCancel, singleLine, blurOnEscape, skipBlurSa
|
|
|
276
276
|
return null;
|
|
277
277
|
};
|
|
278
278
|
// src/blocks/MarkdownEditor/nodes/MermaidNodeComponent.tsx
|
|
279
|
-
const MermaidDiagram = lazy(() => import("./MermaidDiagram-
|
|
279
|
+
const MermaidDiagram = lazy(() => import("./MermaidDiagram-l83gco3r.js").then((n) => n.MermaidDiagram_exports).then((m) => ({ default: m.MermaidDiagram }), (error) => {
|
|
280
280
|
console.error("[MarkdownEditor] failed to load MermaidDiagram chunk", error);
|
|
281
281
|
return { default: ({ code }) => /* @__PURE__ */ jsx("pre", { children: /* @__PURE__ */ jsx("code", { children: code }) }) };
|
|
282
282
|
}));
|
package/dist/mermaid.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MermaidDiagram } from "./MermaidDiagram-
|
|
1
|
+
export { MermaidDiagram } from "./MermaidDiagram-l83gco3r.js";
|
package/dist/rjsf.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { cn } from "./classNames-DkX30VJU.js";
|
|
2
|
-
import { Tooltip, debounce } from "./utils-
|
|
2
|
+
import { Tooltip, debounce } from "./utils-BxEJOnFD.js";
|
|
3
3
|
import { BookOpen, Info, Trash2 } from "./icons-DDR9dFSr.js";
|
|
4
|
-
import { Button } from "./Button-
|
|
4
|
+
import { Button } from "./Button-BAMX1iuI.js";
|
|
5
5
|
import { Label } from "./internal/components/Label.js";
|
|
6
6
|
import { Link } from "./internal/components/Link.js";
|
|
7
7
|
import { useStableCallback } from "./internal/hooks/useStableCallback.js";
|
|
8
|
-
import { TextInput } from "./TextInput
|
|
9
|
-
import { RadioGroup } from "./RadioGroup-
|
|
10
|
-
import { Checkbox } from "./Checkbox-
|
|
11
|
-
import { Combobox } from "./Combobox-
|
|
8
|
+
import { TextInput } from "./TextInput-BAL-zOAN.js";
|
|
9
|
+
import { RadioGroup } from "./RadioGroup-BIElT-nH.js";
|
|
10
|
+
import { Checkbox } from "./Checkbox-CfjpwIcg.js";
|
|
11
|
+
import { Combobox } from "./Combobox-CakN_1cF.js";
|
|
12
12
|
import { MultiCombobox } from "./internal/blocks/MultiCombobox.js";
|
|
13
|
-
import { FormGroup } from "./FormGroup-
|
|
13
|
+
import { FormGroup } from "./FormGroup-D7ahkK1q.js";
|
|
14
14
|
import { NumberInput } from "./internal/blocks/NumberInput.js";
|
|
15
15
|
import { Textarea } from "./internal/blocks/Textarea.js";
|
|
16
|
-
import { DateInput } from "./DateInput-
|
|
16
|
+
import { DateInput } from "./DateInput-CCYG0AtT.js";
|
|
17
17
|
import { PasswordInput } from "./internal/blocks/PasswordInput.js";
|
|
18
|
-
import { Alert } from "./Alert-
|
|
18
|
+
import { Alert } from "./Alert-BQB-og_I.js";
|
|
19
19
|
import { CollapsiblePanel } from "./internal/components/CollapsiblePanel.js";
|
|
20
|
-
import { Tabs, TabsContent } from "./Tabs-
|
|
21
|
-
import { CodeEditor, isLanguageMode } from "./CodeEditor-
|
|
20
|
+
import { Tabs, TabsContent } from "./Tabs-DUOUQKh7.js";
|
|
21
|
+
import { CodeEditor, isLanguageMode } from "./CodeEditor-BdTxkPD4.js";
|
|
22
22
|
import { createContext, isValidElement, use, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
23
23
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
24
24
|
import DOMPurify from "dompurify";
|
|
@@ -233,15 +233,37 @@ const CodeEditorField = ({ fieldPathId, formData, onChange, disabled, readonly,
|
|
|
233
233
|
options: uiOptions ?? {}
|
|
234
234
|
});
|
|
235
235
|
};
|
|
236
|
+
// src/blocks/RjsfSchemaEditor/TooltipIcon.tsx
|
|
237
|
+
const TooltipIcon = ({ rawHelp }) => {
|
|
238
|
+
const renderMarkdown = useRenderMarkdown();
|
|
239
|
+
return /* @__PURE__ */ jsx(Tooltip, {
|
|
240
|
+
placement: "top",
|
|
241
|
+
variant: "explanatory",
|
|
242
|
+
tooltip: renderMarkdown(rawHelp),
|
|
243
|
+
triggerAsChild: true,
|
|
244
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
245
|
+
className: "tw:cursor-help tw:text-muted-foreground",
|
|
246
|
+
children: /* @__PURE__ */ jsx(Info, { className: "tw:size-4" })
|
|
247
|
+
})
|
|
248
|
+
});
|
|
249
|
+
};
|
|
236
250
|
// src/blocks/RjsfSchemaEditor/SchemaDescription.tsx
|
|
237
|
-
/**
|
|
238
|
-
|
|
251
|
+
/**
|
|
252
|
+
* Renders a schema description with sanitized HTML support (links, formatting, etc.).
|
|
253
|
+
* - `tooltip` adds a help icon at the end of the text.
|
|
254
|
+
*/
|
|
255
|
+
const SchemaDescription = ({ description, tooltip }) => {
|
|
239
256
|
if (!description) return null;
|
|
240
|
-
return /* @__PURE__ */
|
|
257
|
+
return /* @__PURE__ */ jsxs("p", {
|
|
241
258
|
className: "tw:text-xs tw:text-muted-foreground",
|
|
242
|
-
dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(description) }
|
|
259
|
+
children: [/* @__PURE__ */ jsx("span", { dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(description) } }), tooltip && /* @__PURE__ */ jsx(InlineTooltipIcon, { rawHelp: tooltip })]
|
|
243
260
|
});
|
|
244
261
|
};
|
|
262
|
+
/** Help icon that flows with the text it ends. */
|
|
263
|
+
const InlineTooltipIcon = ({ rawHelp }) => /* @__PURE__ */ jsx("span", {
|
|
264
|
+
className: "tw:ml-1 tw:inline-block tw:align-middle",
|
|
265
|
+
children: /* @__PURE__ */ jsx(TooltipIcon, { rawHelp })
|
|
266
|
+
});
|
|
245
267
|
// src/blocks/RjsfSchemaEditor/fields/GridObjectField.tsx
|
|
246
268
|
/**
|
|
247
269
|
* Custom field that renders an object's properties in a responsive grid layout.
|
|
@@ -346,20 +368,6 @@ const InfoField = ({ schema, uiSchema }) => {
|
|
|
346
368
|
})
|
|
347
369
|
});
|
|
348
370
|
};
|
|
349
|
-
// src/blocks/RjsfSchemaEditor/TooltipIcon.tsx
|
|
350
|
-
const TooltipIcon = ({ rawHelp }) => {
|
|
351
|
-
const renderMarkdown = useRenderMarkdown();
|
|
352
|
-
return /* @__PURE__ */ jsx(Tooltip, {
|
|
353
|
-
placement: "top",
|
|
354
|
-
variant: "explanatory",
|
|
355
|
-
tooltip: renderMarkdown(rawHelp),
|
|
356
|
-
triggerAsChild: true,
|
|
357
|
-
children: /* @__PURE__ */ jsx("span", {
|
|
358
|
-
className: "tw:cursor-help tw:text-muted-foreground",
|
|
359
|
-
children: /* @__PURE__ */ jsx(Info, { className: "tw:size-4" })
|
|
360
|
-
})
|
|
361
|
-
});
|
|
362
|
-
};
|
|
363
371
|
// src/blocks/RjsfSchemaEditor/fields/TableArrayField.tsx
|
|
364
372
|
/** Default value for a freshly added cell/item, honouring the schema default. */
|
|
365
373
|
const defaultValueFor = (prop) => {
|
|
@@ -454,7 +462,7 @@ const TableArrayField = ({ schema, uiSchema = {}, formData, onChange, disabled,
|
|
|
454
462
|
className: "tw:px-2 tw:py-1.5 tw:[&>div]:mb-0",
|
|
455
463
|
children: /* @__PURE__ */ jsx(SchemaField, {
|
|
456
464
|
name: key,
|
|
457
|
-
schema: properties[key],
|
|
465
|
+
schema: properties[key] ?? {},
|
|
458
466
|
uiSchema: getCellUiSchema(key),
|
|
459
467
|
formData: item[key],
|
|
460
468
|
...SCHEMA_FIELD_STUBS,
|
|
@@ -481,28 +489,31 @@ const TableArrayField = ({ schema, uiSchema = {}, formData, onChange, disabled,
|
|
|
481
489
|
onClick: handleAddRow,
|
|
482
490
|
children: ["Add ", itemSchema?.title || "Item"]
|
|
483
491
|
});
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
children: [
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
492
|
+
const tooltip = uiSchema["ui:help"];
|
|
493
|
+
const tooltipInDescription = Boolean(tooltip && schema.description && uiSchema["ui:options"]?.tooltipPlacement === "description");
|
|
494
|
+
const description = /* @__PURE__ */ jsx(SchemaDescription, {
|
|
495
|
+
description: schema.description,
|
|
496
|
+
tooltip: tooltipInDescription ? tooltip : void 0
|
|
497
|
+
});
|
|
498
|
+
if (schema.title) return /* @__PURE__ */ jsxs(CollapsiblePanel, {
|
|
499
|
+
className: "tw:rounded-lg",
|
|
500
|
+
headerClassName: "tw:rounded-lg",
|
|
501
|
+
header: /* @__PURE__ */ jsxs("span", {
|
|
502
|
+
className: "tw:inline-flex tw:items-center tw:gap-1",
|
|
503
|
+
children: [schema.title, tooltip && !tooltipInDescription && /* @__PURE__ */ jsx(TooltipIcon, { rawHelp: tooltip })]
|
|
504
|
+
}),
|
|
505
|
+
defaultExpanded: true,
|
|
506
|
+
bodyClassName: "tw:flex tw:flex-col tw:gap-4",
|
|
507
|
+
children: [
|
|
508
|
+
description,
|
|
509
|
+
table,
|
|
510
|
+
addButton
|
|
511
|
+
]
|
|
512
|
+
});
|
|
502
513
|
return /* @__PURE__ */ jsxs("div", {
|
|
503
514
|
className: "tw:flex tw:flex-col tw:gap-4",
|
|
504
515
|
children: [
|
|
505
|
-
|
|
516
|
+
description,
|
|
506
517
|
table,
|
|
507
518
|
addButton
|
|
508
519
|
]
|
|
@@ -742,12 +753,15 @@ const FieldTemplateBody = ({ id, label, rawHelp, rawDescription, rawErrors, chil
|
|
|
742
753
|
if (widget === "test-connection" || widget === "sync-action") return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
743
754
|
if (schema.type === "object") return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
744
755
|
if (schema.type === "array" && !uiSchema?.["ui:widget"]) return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
745
|
-
const
|
|
756
|
+
const uiOptions = uiSchema?.["ui:options"];
|
|
757
|
+
const documentation = uiOptions?.documentation;
|
|
746
758
|
const hasErrors = rawErrors && rawErrors.length > 0;
|
|
747
759
|
const isCheckbox = schema.type === "boolean" && uiSchema?.["ui:widget"] !== "select";
|
|
748
760
|
const showLabel = displayLabel && label && !isCheckbox;
|
|
749
|
-
const
|
|
750
|
-
const
|
|
761
|
+
const helpInDescription = Boolean(rawHelp && rawDescription && uiOptions?.tooltipPlacement === "description");
|
|
762
|
+
const labelHelp = helpInDescription ? void 0 : rawHelp;
|
|
763
|
+
const hasHelpIcons = Boolean(labelHelp || documentation);
|
|
764
|
+
const helpIcons = /* @__PURE__ */ jsxs(Fragment$1, { children: [labelHelp && /* @__PURE__ */ jsx(TooltipIcon, { rawHelp: labelHelp }), documentation && /* @__PURE__ */ jsx(DocumentationLinkIcon, { documentation })] });
|
|
751
765
|
return /* @__PURE__ */ jsxs(FormGroup, {
|
|
752
766
|
state: hasErrors ? "error" : "default",
|
|
753
767
|
children: [
|
|
@@ -766,7 +780,7 @@ const FieldTemplateBody = ({ id, label, rawHelp, rawDescription, rawErrors, chil
|
|
|
766
780
|
className: "tw:flex tw:items-center tw:gap-1",
|
|
767
781
|
children: [children, helpIcons]
|
|
768
782
|
}) : children,
|
|
769
|
-
rawDescription && /* @__PURE__ */
|
|
783
|
+
rawDescription && /* @__PURE__ */ jsxs(FormGroup.Help, { children: [/* @__PURE__ */ jsx("span", { dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(rawDescription) } }), helpInDescription && rawHelp && /* @__PURE__ */ jsx(InlineTooltipIcon, { rawHelp })] }),
|
|
770
784
|
hasErrors && /* @__PURE__ */ jsx(FormGroup.Help, { children: rawErrors.join(". ") })
|
|
771
785
|
]
|
|
772
786
|
});
|
|
@@ -1339,7 +1353,13 @@ const generateUiSchema = (schema, readOnly = false, definitions, globalConfig, h
|
|
|
1339
1353
|
if (globalValue !== void 0) {
|
|
1340
1354
|
if (typeof globalValue !== "object" || globalValue === null || Array.isArray(globalValue)) fieldUi["ui:disabled"] = true;
|
|
1341
1355
|
}
|
|
1342
|
-
if (options?.tooltip)
|
|
1356
|
+
if (options?.tooltip) {
|
|
1357
|
+
fieldUi["ui:help"] = String(options.tooltip);
|
|
1358
|
+
if (options.tooltip_placement === "description") fieldUi["ui:options"] = {
|
|
1359
|
+
...fieldUi["ui:options"],
|
|
1360
|
+
tooltipPlacement: "description"
|
|
1361
|
+
};
|
|
1362
|
+
}
|
|
1343
1363
|
if ((options?.documentation)?.link) fieldUi["ui:options"] = {
|
|
1344
1364
|
...fieldUi["ui:options"],
|
|
1345
1365
|
documentation: options?.documentation
|