@epam/ai-dial-ui-kit 0.15.0-dev.7 → 0.15.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/README.md +56 -2
- package/dist/CHANGELOG.md +86 -0
- package/dist/DateCellRenderer-BdUMSg-E.cjs +1 -0
- package/dist/{DateCellRenderer-4iMidqal.cjs → DateCellRenderer-CZNa4jVJ.cjs} +30 -30
- package/dist/IconButton-DHOFapLo.cjs +1 -0
- package/dist/JsonEditor-Bxui5wJH.cjs +1 -0
- package/dist/{MarkdownEditor-C9-ZMRVi.cjs → MarkdownEditor-BKtFs714.cjs} +1 -1
- package/dist/MarkdownEditor-Bapd1ycU.cjs +1 -0
- package/dist/MarkdownEditorContainer-B5aHwoYF.cjs +1 -0
- package/dist/{Switch-CUKClcEz.cjs → Switch-DE6MrcqJ.cjs} +1 -1
- package/dist/components/Button/constants.js +9 -8
- package/dist/components/Dropdown/Dropdown.js +2 -2
- package/dist/components/Dropdown/DropdownSubMenuItem.js +1 -1
- package/dist/components/Dropdown/constants.js +7 -7
- package/dist/components/DropdownIcon/DropdownIcon.js +4 -4
- package/dist/components/FileManager/FileManager.js +373 -372
- package/dist/components/FileManager/FileManagerProvider.js +266 -264
- package/dist/components/FileManager/hooks/use-grid-context-menu.js +59 -59
- package/dist/components/MarkdownEditor/MarkdownEditor.js +23 -21
- package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +27 -27
- package/dist/components/New/Accordion/Accordion.js +86 -72
- package/dist/components/New/AutocompleteTagInput/AutocompleteTagInput.js +214 -0
- package/dist/components/New/AutocompleteTagInput/utils.js +11 -0
- package/dist/components/New/Avatar/Avatar.js +70 -0
- package/dist/components/New/Badge/Badge.js +45 -0
- package/dist/components/New/BottomSheet/BottomSheet.js +128 -0
- package/dist/components/New/Breadcrumbs/Breadcrumbs.js +159 -0
- package/dist/components/New/Breadcrumbs/constants.js +41 -0
- package/dist/components/New/Button/Button.js +32 -32
- package/dist/components/New/Button/ButtonWrappers.js +103 -37
- package/dist/components/New/Button/constants.js +3 -0
- package/dist/components/New/Button/utils.js +18 -8
- package/dist/components/New/ButtonDropdown/ButtonDropdown.js +27 -18
- package/dist/components/New/Calendar/Calendar.js +6 -6
- package/dist/components/New/Calendar/constants.js +5 -5
- package/dist/components/New/CaptionText/CaptionText.js +3 -3
- package/dist/components/New/CardShell/CardShell.js +2 -2
- package/dist/components/New/Checkbox/Checkbox.js +2 -2
- package/dist/components/New/Checkbox/CheckboxBox.js +2 -2
- package/dist/components/New/CloseButton/CloseButton.js +1 -1
- package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +2 -2
- package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +21 -25
- package/dist/components/New/ConfirmationPopup/constants.js +8 -11
- package/dist/components/New/Dropdown/Dropdown.js +99 -98
- package/dist/components/New/Dropdown/DropdownSubMenuItem.js +17 -17
- package/dist/components/New/Dropdown/constants.js +22 -17
- package/dist/components/New/EllipsisTooltip/EllipsisTooltip.js +2 -2
- package/dist/components/New/EntityIdentity/EntityIdentity.js +135 -0
- package/dist/components/New/FileDropzone/FileDropzone.js +2 -2
- package/dist/components/New/FileIcon/FileIcon.js +55 -0
- package/dist/components/New/FileIcon/constants.js +134 -0
- package/dist/components/New/FileIcon/icons/FileGlyph.js +150 -0
- package/dist/components/New/FileIcon/icons/FolderGlyph.js +50 -0
- package/dist/components/New/FileName/FileName.js +78 -0
- package/dist/components/New/FilterChips/FilterChips.js +43 -0
- package/dist/components/New/FilterChips/constants.js +5 -0
- package/dist/components/New/FolderName/FolderName.js +16 -0
- package/dist/components/New/FolderPath/FolderPath.js +1 -1
- package/dist/components/New/Grid/constants.js +14 -5
- package/dist/components/New/Highlight/Highlight.js +2 -2
- package/dist/components/New/IconButton/IconButton.js +30 -28
- package/dist/components/New/InfoButton/InfoButton.js +2 -2
- package/dist/components/New/InlineSelect/InlineSelect.js +75 -59
- package/dist/components/New/InteractiveTooltip/InteractiveTooltip.js +70 -66
- package/dist/components/New/InteractiveTooltip/constants.js +2 -2
- package/dist/components/New/Label/Label.js +2 -2
- package/dist/components/New/MarkdownEditor/MarkdownEditor.js +29 -27
- package/dist/components/New/MenuItem/MenuItem.js +2 -2
- package/dist/components/New/MenuItem/constants.js +1 -1
- package/dist/components/New/NoDataContent/NoDataContent.js +2 -2
- package/dist/components/New/Notification/Notification.js +37 -35
- package/dist/components/New/NumberInput/NumberInput.js +2 -2
- package/dist/components/New/PasswordInput/PasswordInput.js +2 -2
- package/dist/components/New/Popup/Popup.js +59 -57
- package/dist/components/New/Popup/constants.js +3 -3
- package/dist/components/New/Radio/Radio.js +2 -2
- package/dist/components/New/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +2 -2
- package/dist/components/New/ResizableContainer/ResizableContainer.js +2 -2
- package/dist/components/New/SchemaRenderer/SchemaRenderer.js +164 -0
- package/dist/components/New/SchemaRenderer/components/SchemaAnyOfEditor.js +65 -0
- package/dist/components/New/SchemaRenderer/components/SchemaArrayEditor.js +109 -0
- package/dist/components/New/SchemaRenderer/components/SchemaField.js +83 -0
- package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +72 -0
- package/dist/components/New/SchemaRenderer/components/SchemaJsonEditor.js +41 -0
- package/dist/components/New/SchemaRenderer/components/SchemaKeyValueEditor.js +250 -0
- package/dist/components/New/SchemaRenderer/components/SchemaObjectEditor.js +36 -0
- package/dist/components/New/SchemaRenderer/components/SchemaOneOfEditor.js +163 -0
- package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +150 -0
- package/dist/components/New/SchemaRenderer/components/SchemaSection.js +135 -0
- package/dist/components/New/SchemaRenderer/context.js +17 -0
- package/dist/components/New/Search/Search.js +2 -2
- package/dist/components/New/SegmentedControl/SegmentedControl.js +4 -4
- package/dist/components/New/Select/CollapsedSelectTags.js +127 -0
- package/dist/components/New/Select/MultiSelectTags.js +18 -15
- package/dist/components/New/Select/Select.js +184 -173
- package/dist/components/New/Select/constants.js +23 -20
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +34 -0
- package/dist/components/New/SideDrawer/SideDrawer.js +148 -0
- package/dist/components/New/Slider/Slider.js +184 -91
- package/dist/components/New/Slider/utils.js +20 -0
- package/dist/components/New/Switch/Switch.js +2 -2
- package/dist/components/New/Tabs/Tabs.js +124 -66
- package/dist/components/New/Tag/Tag.js +2 -2
- package/dist/components/New/TagInput/TagInput.js +5 -3
- package/dist/components/New/Textarea/Textarea.js +21 -20
- package/dist/components/New/ToggleIconButton/ToggleIconButton.js +2 -2
- package/dist/components/New/Tooltip/TooltipContent.js +2 -2
- package/dist/components/New/Tooltip/constants.js +1 -1
- package/dist/components/New/TransferQueue/TransferQueue.js +124 -0
- package/dist/components/New/TransferQueue/TransferQueueHeader.js +71 -0
- package/dist/components/New/TransferQueue/TransferQueueRow.js +119 -0
- package/dist/components/New/TransferQueue/constants.js +24 -0
- package/dist/components/New/constants/overlay.js +17 -9
- package/dist/components/Popup/constants.js +8 -8
- package/dist/components/ProgressBar/ProgressBar.js +6 -6
- package/dist/components/SchemaRenderer/SchemaRenderer.js +16 -15
- package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +46 -31
- package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +2 -2
- package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +1 -1
- package/dist/components/SchemaRenderer/components/SchemaField.js +23 -23
- package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +19 -19
- package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +223 -135
- package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +1 -1
- package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +13 -13
- package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +5 -5
- package/dist/components/Skeleton/Skeleton.js +2 -2
- package/dist/components/Spinner/Spinner.js +2 -2
- package/dist/components/Tooltip/TooltipContent.js +11 -11
- package/dist/components-manifest.json +1873 -78
- package/dist/constants/public-class-names.js +69 -3
- package/dist/constants/schema-renderer.js +33 -0
- package/dist/dial-ui-kit.cjs +2 -2
- package/dist/dial-ui-kit.js +358 -310
- package/dist/editors.cjs +1 -1
- package/dist/file-manager.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/index.css +2 -2
- package/dist/lazy-_W6FYhKg.cjs +1 -0
- package/dist/merge-classes-BEJXjzkx.cjs +1 -0
- package/dist/migration-guides/0.15.0/legacy-theme-variable-fallbacks-removal.md +69 -0
- package/dist/migration-guides/0.15.0/slider-redesign.md +110 -0
- package/dist/migration-guides/README.md +2 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +419 -399
- package/dist/src/components/FileManager/FileManager.d.ts +2 -0
- package/dist/src/components/FileManager/FileManagerContext.d.ts +1 -0
- package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +2 -1
- package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +2 -0
- package/dist/src/components/MarkdownEditor/MarkdownEditorContainer.d.ts +2 -0
- package/dist/src/components/New/Accordion/Accordion.d.ts +6 -1
- package/dist/src/components/New/AutocompleteTagInput/AutocompleteTagInput.d.ts +108 -0
- package/dist/src/components/New/AutocompleteTagInput/utils.d.ts +17 -0
- package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +1 -0
- package/dist/src/components/New/Avatar/Avatar.d.ts +55 -0
- package/dist/src/components/New/Badge/Badge.d.ts +47 -0
- package/dist/src/components/New/BottomSheet/BottomSheet.d.ts +84 -0
- package/dist/src/components/New/Breadcrumbs/Breadcrumbs.d.ts +94 -0
- package/dist/src/components/New/Breadcrumbs/constants.d.ts +60 -0
- package/dist/src/components/New/Button/Button.d.ts +4 -1
- package/dist/src/components/New/Button/ButtonWrappers.d.ts +21 -0
- package/dist/src/components/New/Button/utils.d.ts +15 -0
- package/dist/src/components/New/ButtonDropdown/ButtonDropdown.d.ts +4 -0
- package/dist/src/components/New/Calendar/constants.d.ts +1 -1
- package/dist/src/components/New/ConfirmationPopup/constants.d.ts +0 -1
- package/dist/src/components/New/Dropdown/Dropdown.d.ts +9 -1
- package/dist/src/components/New/Dropdown/constants.d.ts +3 -0
- package/dist/src/components/New/EntityIdentity/EntityIdentity.d.ts +85 -0
- package/dist/src/components/New/FileIcon/FileIcon.d.ts +61 -0
- package/dist/src/components/New/FileIcon/constants.d.ts +16 -0
- package/dist/src/components/New/FileIcon/icons/FileGlyph.d.ts +18 -0
- package/dist/src/components/New/FileIcon/icons/FolderGlyph.d.ts +17 -0
- package/dist/src/components/New/FileName/FileName.d.ts +79 -0
- package/dist/src/components/New/FilterChips/FilterChips.d.ts +69 -0
- package/dist/src/components/New/FilterChips/constants.d.ts +13 -0
- package/dist/src/components/New/FolderName/FolderName.d.ts +37 -0
- package/dist/src/components/New/Grid/constants.d.ts +6 -4
- package/dist/src/components/New/InlineSelect/InlineSelect.d.ts +16 -1
- package/dist/src/components/New/InteractiveTooltip/InteractiveTooltip.d.ts +13 -2
- package/dist/src/components/New/InteractiveTooltip/constants.d.ts +5 -4
- package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +3 -0
- package/dist/src/components/New/Notification/Notification.d.ts +18 -0
- package/dist/src/components/New/Popup/Popup.d.ts +8 -1
- package/dist/src/components/New/Popup/constants.d.ts +1 -1
- package/dist/src/components/New/SchemaRenderer/SchemaRenderer.d.ts +38 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +37 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaArrayEditor.d.ts +35 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaField.d.ts +33 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +30 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaJsonEditor.d.ts +29 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +37 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaObjectEditor.d.ts +32 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaOneOfEditor.d.ts +39 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +38 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaSection.d.ts +39 -0
- package/dist/src/components/New/SchemaRenderer/context.d.ts +8 -0
- package/dist/src/components/New/SchemaRenderer/types.d.ts +76 -0
- package/dist/src/components/New/Select/CollapsedSelectTags.d.ts +22 -0
- package/dist/src/components/New/Select/MultiSelectTags.d.ts +5 -0
- package/dist/src/components/New/Select/Select.d.ts +9 -0
- package/dist/src/components/New/Select/constants.d.ts +3 -2
- package/dist/src/components/New/SharedEntityIndicator/SharedEntityIndicator.d.ts +35 -0
- package/dist/src/components/New/SideDrawer/SideDrawer.d.ts +100 -0
- package/dist/src/components/New/Slider/Slider.d.ts +29 -1
- package/dist/src/components/New/Slider/utils.d.ts +14 -0
- package/dist/src/components/New/Slider/utils.spec.d.ts +1 -0
- package/dist/src/components/New/Tabs/Tabs.d.ts +54 -6
- package/dist/src/components/New/Tooltip/constants.d.ts +5 -3
- package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +139 -0
- package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +16 -0
- package/dist/src/components/New/TransferQueue/TransferQueueRow.d.ts +10 -0
- package/dist/src/components/New/TransferQueue/constants.d.ts +6 -0
- package/dist/src/components/New/constants/overlay.d.ts +13 -0
- package/dist/src/components/Popup/constants.d.ts +1 -1
- package/dist/src/components/SchemaRenderer/types.d.ts +5 -82
- package/dist/src/components/SchemaRenderer/utils.d.ts +1 -13
- package/dist/src/constants/public-class-names.d.ts +69 -3
- package/dist/src/constants/schema-renderer.d.ts +2 -0
- package/dist/src/index.d.ts +39 -3
- package/dist/src/models/json-schema.d.ts +71 -0
- package/dist/src/types/accordion.d.ts +7 -0
- package/dist/src/types/avatar.d.ts +7 -0
- package/dist/src/types/badge.d.ts +16 -0
- package/dist/src/types/breadcrumbs.d.ts +9 -0
- package/dist/src/types/button.d.ts +1 -0
- package/dist/src/types/entity-type.d.ts +9 -0
- package/dist/src/types/json-schema.d.ts +22 -0
- package/dist/src/types/tooltip.d.ts +4 -0
- package/dist/src/types/transfer-queue.d.ts +10 -0
- package/dist/src/utils/__tests__/avatar.spec.d.ts +1 -0
- package/dist/src/utils/avatar.d.ts +12 -0
- package/dist/src/utils/json-schema.d.ts +23 -0
- package/dist/src/utils/sub-menu-floating.d.ts +7 -4
- package/dist/types/accordion.js +4 -0
- package/dist/types/avatar.js +4 -0
- package/dist/types/badge.js +5 -0
- package/dist/types/breadcrumbs.js +4 -0
- package/dist/types/button.js +3 -3
- package/dist/types/entity-type.js +4 -0
- package/dist/types/json-schema.js +7 -0
- package/dist/types/tooltip.js +3 -2
- package/dist/types/transfer-queue.js +4 -0
- package/dist/use-file-manager-tabs-Bzzwwcgk.cjs +3 -0
- package/dist/utils/avatar.js +22 -0
- package/dist/{components/SchemaRenderer/utils.js → utils/json-schema.js} +122 -95
- package/dist/utils/merge-classes.js +12 -5
- package/dist/utils/sub-menu-floating.js +99 -54
- package/package.json +4 -9
- package/dist/DateCellRenderer-CTTAnQjB.cjs +0 -1
- package/dist/IconButton-DWqoaBWf.cjs +0 -1
- package/dist/JsonEditor-D2jSlRFi.cjs +0 -1
- package/dist/MarkdownEditor-BzEbdj7R.cjs +0 -1
- package/dist/MarkdownEditorContainer-BvwJjkiZ.cjs +0 -1
- package/dist/components/SchemaRenderer/types.js +0 -27
- package/dist/editor-_174x-qy.cjs +0 -1
- package/dist/lazy-DM-7dL0Y.cjs +0 -1
- package/dist/merge-classes-Dipy1Ih1.cjs +0 -1
- package/dist/use-file-manager-tabs-DKmWaOlC.cjs +0 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { FileName as r } from "../FileName/FileName.js";
|
|
3
|
+
import { DIAL_KIT_CLASS as t } from "../../../constants/public-class-names.js";
|
|
4
|
+
import { DialItemType as p } from "../../../types/item.js";
|
|
5
|
+
import { mergeClasses as a } from "../../../utils/merge-classes.js";
|
|
6
|
+
const d = ({ className: m, ...e }) => /* @__PURE__ */ o(
|
|
7
|
+
r,
|
|
8
|
+
{
|
|
9
|
+
...e,
|
|
10
|
+
type: p.Folder,
|
|
11
|
+
className: a(m, t.folderName)
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
d as FolderName
|
|
16
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const a = "dial-kit-grid", t = "dial-kit-grid-with-selection", d = "dial-kit-grid-without-header-borders", i = "dial-kit-grid-row-select", l = "dial-kit-grid-header-select", n = "dial-kit-grid-selection-visible", c = "dial-kit-grid-align-right", C = 40, o = "0.5px solid var(--stroke-tertiary, #E0E6F0)",
|
|
1
|
+
const a = "dial-kit-grid", t = "dial-kit-grid-with-selection", d = "dial-kit-grid-without-header-borders", i = "dial-kit-grid-row-select", l = "dial-kit-grid-header-select", n = "dial-kit-grid-selection-visible", c = "dial-kit-grid-align-right", C = 40, o = "0.5px solid var(--stroke-tertiary, #E0E6F0)", s = {
|
|
2
2
|
accentColor: "var(--bg-control-accent, #1D4ED8)",
|
|
3
3
|
backgroundColor: "var(--bg-layer-raised, #FCFCFC)",
|
|
4
4
|
oddRowBackgroundColor: "var(--bg-layer-sunken, #EEF1F7)",
|
|
5
|
-
selectedRowBackgroundColor: "var(--bg-control-accent-alpha, #
|
|
6
|
-
rowHoverColor: "var(--bg-control-accent-alpha-hover, #
|
|
5
|
+
selectedRowBackgroundColor: "var(--bg-control-accent-alpha-active-subtle, #2764D914)",
|
|
6
|
+
rowHoverColor: "var(--bg-control-accent-alpha-hover-subtle, #2764D90A)",
|
|
7
7
|
borderColor: "var(--stroke-tertiary, #E0E6F0)",
|
|
8
8
|
// Dividers inside the table sit on the thin stroke (0.5px) rather than the
|
|
9
9
|
// 1px main stroke that controls and standalone dividers use, so a dense grid
|
|
@@ -13,9 +13,16 @@ const a = "dial-kit-grid", t = "dial-kit-grid-with-selection", d = "dial-kit-gri
|
|
|
13
13
|
// by the theme: those frame the table and separate its regions rather than
|
|
14
14
|
// dividing rows and columns.
|
|
15
15
|
rowBorder: o,
|
|
16
|
-
|
|
16
|
+
// Off: ag-Grid draws this one both under the header and between the title
|
|
17
|
+
// row and the filter row, and the design has no line between those two. The
|
|
18
|
+
// line under the header is drawn at 1px in `styles/grid.scss`.
|
|
19
|
+
headerRowBorder: !1,
|
|
17
20
|
headerColumnBorder: o,
|
|
21
|
+
// The design's header divider is a short 12px mark centred in the cell, not
|
|
22
|
+
// the 20px (half the row) ag-Grid draws by default.
|
|
23
|
+
headerColumnBorderHeight: 12,
|
|
18
24
|
chromeBackgroundColor: "var(--bg-layer-base, #F5F7FA)",
|
|
25
|
+
headerBackgroundColor: "var(--bg-layer-raised, #FCFCFC)",
|
|
19
26
|
foregroundColor: "var(--text-primary, #161B2D)",
|
|
20
27
|
headerTextColor: "var(--text-secondary, #57647A)",
|
|
21
28
|
// 1.0 asked the browser for dark native widgets while painting a light
|
|
@@ -27,6 +34,8 @@ const a = "dial-kit-grid", t = "dial-kit-grid-with-selection", d = "dial-kit-gri
|
|
|
27
34
|
fontFamily: "var(--theme-font, var(--font-inter))",
|
|
28
35
|
spacing: 4,
|
|
29
36
|
borderRadius: 4,
|
|
37
|
+
// Search fields in the header and filter popups: `rounded-lg`.
|
|
38
|
+
inputBorderRadius: 8,
|
|
30
39
|
wrapperBorderRadius: 8
|
|
31
40
|
};
|
|
32
41
|
var e = /* @__PURE__ */ ((r) => (r.API = "api", r.ROW_DATA_CHANGED = "rowDataChanged", r.CHECKBOX_SELECTED = "checkboxSelected", r))(e || {});
|
|
@@ -36,7 +45,7 @@ export {
|
|
|
36
45
|
a as GRID_ROOT_CLASS,
|
|
37
46
|
i as GRID_ROW_SELECT_CLASS,
|
|
38
47
|
n as GRID_SELECTION_VISIBLE_CLASS,
|
|
39
|
-
|
|
48
|
+
s as GRID_THEME_PARAMS,
|
|
40
49
|
d as GRID_WITHOUT_HEADER_BORDERS_CLASS,
|
|
41
50
|
t as GRID_WITH_SELECTION_CLASS,
|
|
42
51
|
C as ROW_HEIGHT,
|
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { ButtonAppearance as
|
|
3
|
-
import { mergeClasses as
|
|
4
|
-
import { resolveAccessibleName as
|
|
5
|
-
import { ElementSize as
|
|
6
|
-
import { Tooltip as
|
|
7
|
-
import { getButtonClassNames as
|
|
8
|
-
const
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
},
|
|
13
|
-
variant:
|
|
14
|
-
appearance:
|
|
15
|
-
size: l =
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { ButtonAppearance as u } from "../../../types/button.js";
|
|
3
|
+
import { mergeClasses as S } from "../../../utils/merge-classes.js";
|
|
4
|
+
import { resolveAccessibleName as f } from "../../../utils/accessible-name.js";
|
|
5
|
+
import { ElementSize as e } from "../../../types/size.js";
|
|
6
|
+
import { Tooltip as g } from "../Tooltip/Tooltip.js";
|
|
7
|
+
import { getButtonClassNames as p, getDisabledButtonProps as C } from "../Button/utils.js";
|
|
8
|
+
const h = {
|
|
9
|
+
[e.Small]: "size-[24px]",
|
|
10
|
+
[e.Standard]: "size-[40px] dial-kit-enhanced-target",
|
|
11
|
+
[e.Large]: "size-[48px] dial-kit-enhanced-target"
|
|
12
|
+
}, I = ({
|
|
13
|
+
variant: i,
|
|
14
|
+
appearance: r = u.Solid,
|
|
15
|
+
size: l = e.Standard,
|
|
16
16
|
className: m,
|
|
17
17
|
icon: s,
|
|
18
|
-
tooltipProps:
|
|
18
|
+
tooltipProps: t,
|
|
19
19
|
type: c = "button",
|
|
20
|
-
|
|
20
|
+
disabled: d,
|
|
21
|
+
...a
|
|
21
22
|
}) => {
|
|
22
|
-
const
|
|
23
|
+
const b = S(
|
|
23
24
|
"dial-kit-base-icon-button dial-kit-base-button",
|
|
24
|
-
|
|
25
|
+
i && p(i, r),
|
|
25
26
|
// 24px is below the AAA target size, so only the larger tiers get the
|
|
26
27
|
// enhanced pointer target — see the accessibility rules in AGENTS.md.
|
|
27
|
-
|
|
28
|
+
h[l],
|
|
28
29
|
m
|
|
29
|
-
),
|
|
30
|
+
), n = /* @__PURE__ */ o(
|
|
30
31
|
"button",
|
|
31
32
|
{
|
|
32
|
-
...
|
|
33
|
+
...a,
|
|
34
|
+
...C(d, t, a.onClick),
|
|
33
35
|
type: c,
|
|
34
|
-
className:
|
|
35
|
-
"aria-label":
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
className: b,
|
|
37
|
+
"aria-label": f(
|
|
38
|
+
a["aria-label"],
|
|
39
|
+
t?.tooltip
|
|
38
40
|
),
|
|
39
41
|
children: s
|
|
40
42
|
}
|
|
41
43
|
);
|
|
42
|
-
return
|
|
44
|
+
return t ? /* @__PURE__ */ o(g, { asChild: !0, ...t, children: n }) : n;
|
|
43
45
|
};
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
I as IconButton
|
|
46
48
|
};
|
|
@@ -13,9 +13,9 @@ const b = ({
|
|
|
13
13
|
}) => {
|
|
14
14
|
if (!o) return null;
|
|
15
15
|
const i = a(
|
|
16
|
-
f.infoButton,
|
|
17
16
|
"text-secondary hover:text-control-accent-hover active:text-control-accent-active",
|
|
18
|
-
"focus-visible:outline focus-visible:outline-focus"
|
|
17
|
+
"focus-visible:outline focus-visible:outline-focus",
|
|
18
|
+
f.infoButton
|
|
19
19
|
);
|
|
20
20
|
return /* @__PURE__ */ t(
|
|
21
21
|
c,
|
|
@@ -1,98 +1,114 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
2
|
-
import { IconChevronDown as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { Dropdown as
|
|
5
|
-
import { DIAL_KIT_ICON_STROKE as
|
|
6
|
-
import { DIAL_ICON_SIZE as
|
|
7
|
-
import { mergeClasses as
|
|
8
|
-
import { ElementSize as
|
|
9
|
-
import { DIAL_KIT_CLASS as
|
|
10
|
-
const
|
|
1
|
+
import { jsx as s, jsxs as E } from "react/jsx-runtime";
|
|
2
|
+
import { IconChevronDown as j } from "@tabler/icons-react";
|
|
3
|
+
import { useState as b, useCallback as v, useMemo as w } from "react";
|
|
4
|
+
import { Dropdown as z } from "../Dropdown/Dropdown.js";
|
|
5
|
+
import { DIAL_KIT_ICON_STROKE as M } from "../constants/icon.js";
|
|
6
|
+
import { DIAL_ICON_SIZE as U } from "../../../constants/icon.js";
|
|
7
|
+
import { mergeClasses as I } from "../../../utils/merge-classes.js";
|
|
8
|
+
import { ElementSize as $ } from "../../../types/size.js";
|
|
9
|
+
import { DIAL_KIT_CLASS as R } from "../../../constants/public-class-names.js";
|
|
10
|
+
const Z = ({
|
|
11
11
|
label: e,
|
|
12
|
-
size:
|
|
13
|
-
isOpen:
|
|
12
|
+
size: l,
|
|
13
|
+
isOpen: n = !1,
|
|
14
|
+
labelClassName: a,
|
|
15
|
+
className: c,
|
|
14
16
|
"aria-label": t,
|
|
15
|
-
...
|
|
17
|
+
...m
|
|
16
18
|
}) => {
|
|
17
|
-
const
|
|
18
|
-
return /* @__PURE__ */
|
|
19
|
+
const d = l === $.Small ? "h-[32px]" : "h-[40px] dial-kit-enhanced-target";
|
|
20
|
+
return /* @__PURE__ */ E(
|
|
19
21
|
"button",
|
|
20
22
|
{
|
|
21
23
|
type: "button",
|
|
24
|
+
...m,
|
|
22
25
|
"aria-haspopup": "menu",
|
|
23
|
-
"aria-expanded":
|
|
26
|
+
"aria-expanded": n,
|
|
24
27
|
"aria-label": t ? `${t} ${e}` : void 0,
|
|
25
|
-
className:
|
|
26
|
-
T.inlineSelect,
|
|
28
|
+
className: I(
|
|
27
29
|
"dial-small-paragraph-text px-3 focus-visible:outline focus-visible:outline-focus",
|
|
28
30
|
"flex items-center gap-1 rounded-full text-primary disabled:text-control-disable-primary",
|
|
29
31
|
"hover:bg-control-accent-alpha-hover focus-visible:outline-offset-2 active:bg-control-accent-alpha-active",
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
d,
|
|
33
|
+
c,
|
|
34
|
+
R.inlineSelect
|
|
32
35
|
),
|
|
33
|
-
...a,
|
|
34
36
|
children: [
|
|
35
|
-
e,
|
|
37
|
+
/* @__PURE__ */ s("span", { className: a, children: e }),
|
|
36
38
|
/* @__PURE__ */ s(
|
|
37
|
-
|
|
39
|
+
j,
|
|
38
40
|
{
|
|
39
|
-
size:
|
|
40
|
-
stroke:
|
|
41
|
+
size: U.MD,
|
|
42
|
+
stroke: M,
|
|
41
43
|
"aria-hidden": !0,
|
|
42
|
-
className:
|
|
44
|
+
className: I("transition-transform", n && "rotate-180")
|
|
43
45
|
}
|
|
44
46
|
)
|
|
45
47
|
]
|
|
46
48
|
}
|
|
47
49
|
);
|
|
48
|
-
},
|
|
50
|
+
}, W = ({
|
|
49
51
|
items: e,
|
|
50
|
-
selectedKey:
|
|
51
|
-
defaultSelectedKey:
|
|
52
|
-
onSelect:
|
|
53
|
-
size:
|
|
54
|
-
disabled:
|
|
55
|
-
placement:
|
|
56
|
-
matchReferenceWidth:
|
|
57
|
-
listClassName:
|
|
58
|
-
|
|
52
|
+
selectedKey: l,
|
|
53
|
+
defaultSelectedKey: n,
|
|
54
|
+
onSelect: a,
|
|
55
|
+
size: c,
|
|
56
|
+
disabled: t,
|
|
57
|
+
placement: m = "bottom-end",
|
|
58
|
+
matchReferenceWidth: d = !1,
|
|
59
|
+
listClassName: C,
|
|
60
|
+
listStyle: S,
|
|
61
|
+
ariaLabel: g,
|
|
62
|
+
triggerClassName: x,
|
|
63
|
+
triggerLabelClassName: N,
|
|
64
|
+
open: p,
|
|
65
|
+
onOpenChange: u
|
|
59
66
|
}) => {
|
|
60
|
-
const [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
67
|
+
const [k, y] = b(!1), r = p !== void 0, O = r ? p : k, _ = v(
|
|
68
|
+
(o) => {
|
|
69
|
+
r || y(o), u?.(o);
|
|
70
|
+
},
|
|
71
|
+
[r, u]
|
|
72
|
+
), [D, K] = b(
|
|
73
|
+
n ?? e[0]?.key
|
|
74
|
+
), f = l !== void 0, h = f ? l : D, A = w(() => {
|
|
75
|
+
const o = e.find((i) => i.key === h);
|
|
64
76
|
return o?.label ? String(o.label) : "";
|
|
65
|
-
}, [e,
|
|
77
|
+
}, [e, h]), L = v(
|
|
66
78
|
({ key: o }) => {
|
|
67
|
-
const i = e.find((
|
|
68
|
-
i && (
|
|
79
|
+
const i = e.find((T) => T.key === o);
|
|
80
|
+
i && (f || K(o), a?.(i));
|
|
69
81
|
},
|
|
70
|
-
[e,
|
|
82
|
+
[e, f, a]
|
|
71
83
|
);
|
|
72
84
|
return /* @__PURE__ */ s(
|
|
73
|
-
|
|
85
|
+
z,
|
|
74
86
|
{
|
|
75
87
|
items: e,
|
|
76
|
-
placement:
|
|
77
|
-
matchReferenceWidth:
|
|
78
|
-
listClassName:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
placement: m,
|
|
89
|
+
matchReferenceWidth: d,
|
|
90
|
+
listClassName: C,
|
|
91
|
+
listStyle: S,
|
|
92
|
+
disabled: t,
|
|
93
|
+
open: r ? p : void 0,
|
|
94
|
+
onOpenChange: _,
|
|
95
|
+
onItemClick: L,
|
|
82
96
|
children: /* @__PURE__ */ s(
|
|
83
|
-
|
|
97
|
+
Z,
|
|
84
98
|
{
|
|
85
|
-
label:
|
|
86
|
-
size:
|
|
87
|
-
isOpen:
|
|
88
|
-
disabled:
|
|
89
|
-
"aria-label":
|
|
99
|
+
label: A,
|
|
100
|
+
size: c,
|
|
101
|
+
isOpen: O,
|
|
102
|
+
disabled: t,
|
|
103
|
+
"aria-label": g,
|
|
104
|
+
className: x,
|
|
105
|
+
labelClassName: N
|
|
90
106
|
}
|
|
91
107
|
)
|
|
92
108
|
}
|
|
93
109
|
);
|
|
94
110
|
};
|
|
95
111
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
112
|
+
W as InlineSelect,
|
|
113
|
+
Z as InlineSelectTrigger
|
|
98
114
|
};
|
|
@@ -1,100 +1,104 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useFloatingNodeId as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { useThemeScope as
|
|
5
|
-
import { useIsMobileScreen as
|
|
6
|
-
import { TooltipPlacement as
|
|
7
|
-
import { mergeClasses as
|
|
8
|
-
import { INTERACTIVE_TOOLTIP_GAP as
|
|
9
|
-
import { DIAL_KIT_CLASS as
|
|
10
|
-
const
|
|
11
|
-
content:
|
|
12
|
-
placement:
|
|
1
|
+
import { jsx as i, jsxs as U, Fragment as G } from "react/jsx-runtime";
|
|
2
|
+
import { useFloatingNodeId as K, useFloating as Y, autoUpdate as q, offset as z, flip as B, shift as J, useHover as Q, safePolygon as W, useFocus as X, useClick as Z, useDismiss as $, useInteractions as ee, useMergeRefs as u, FloatingPortal as oe, FloatingFocusManager as te } from "@floating-ui/react";
|
|
3
|
+
import { useState as se, useRef as ne, useMemo as d, isValidElement as ie, cloneElement as le } from "react";
|
|
4
|
+
import { useThemeScope as re } from "../ThemeScope/ThemeScope.js";
|
|
5
|
+
import { useIsMobileScreen as ae } from "../../../hooks/use-is-mobile-screen.js";
|
|
6
|
+
import { InteractiveTooltipTrigger as T, TooltipPlacement as ce } from "../../../types/tooltip.js";
|
|
7
|
+
import { mergeClasses as I } from "../../../utils/merge-classes.js";
|
|
8
|
+
import { INTERACTIVE_TOOLTIP_GAP as fe, INTERACTIVE_TOOLTIP_HOVER_OPEN_DELAY as pe, interactiveTooltipClassName as me } from "./constants.js";
|
|
9
|
+
import { DIAL_KIT_CLASS as ge } from "../../../constants/public-class-names.js";
|
|
10
|
+
const Ee = ({
|
|
11
|
+
content: r,
|
|
12
|
+
placement: R = ce.Right,
|
|
13
13
|
children: e,
|
|
14
|
-
asChild:
|
|
15
|
-
hideTooltip:
|
|
16
|
-
initialOpen:
|
|
14
|
+
asChild: C = !1,
|
|
15
|
+
hideTooltip: F = !1,
|
|
16
|
+
initialOpen: h = !1,
|
|
17
|
+
trigger: v = T.Hover,
|
|
17
18
|
open: t,
|
|
18
|
-
onOpenChange:
|
|
19
|
-
triggerClassName:
|
|
20
|
-
contentClassName:
|
|
19
|
+
onOpenChange: E,
|
|
20
|
+
triggerClassName: a,
|
|
21
|
+
contentClassName: P
|
|
21
22
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
nodeId:
|
|
26
|
-
placement:
|
|
27
|
-
open:
|
|
28
|
-
onOpenChange:
|
|
29
|
-
whileElementsMounted:
|
|
23
|
+
const N = ae(), s = v === T.Click, O = re(), [_, S] = se(h), c = t ?? _, A = (g) => {
|
|
24
|
+
E?.(g), t == null && S(g);
|
|
25
|
+
}, M = K(), { refs: n, floatingStyles: b, context: o } = Y({
|
|
26
|
+
nodeId: M,
|
|
27
|
+
placement: R,
|
|
28
|
+
open: c,
|
|
29
|
+
onOpenChange: A,
|
|
30
|
+
whileElementsMounted: q,
|
|
30
31
|
middleware: [
|
|
31
|
-
|
|
32
|
+
z(fe),
|
|
32
33
|
/* No `fallbackAxisSideDirection`: a panel placed to the right should
|
|
33
34
|
flip to the left when it does not fit, not drop to the perpendicular
|
|
34
35
|
top/bottom axis, which reads as the panel landing in the wrong place.*/
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
B({ padding: 5 }),
|
|
37
|
+
J({ padding: 5 })
|
|
37
38
|
]
|
|
38
|
-
}),
|
|
39
|
-
enabled: t == null,
|
|
39
|
+
}), L = Q(o, {
|
|
40
|
+
enabled: t == null && !s,
|
|
40
41
|
/* Lets the pointer cross the gap between the trigger and the panel
|
|
41
42
|
without closing it, so it can actually be reached and used. */
|
|
42
|
-
handleClose:
|
|
43
|
-
delay: { open:
|
|
44
|
-
}),
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
L
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
handleClose: W(),
|
|
44
|
+
delay: { open: pe, close: 0 }
|
|
45
|
+
}), V = X(o, {
|
|
46
|
+
enabled: t == null && !s
|
|
47
|
+
}), k = Z(o, { enabled: s }), x = $(o), { getReferenceProps: f, getFloatingProps: y } = ee([
|
|
48
|
+
L,
|
|
49
|
+
V,
|
|
50
|
+
k,
|
|
51
|
+
x
|
|
52
|
+
]), D = ne(null), H = u(
|
|
53
|
+
d(() => [n.setFloating, D], [n.setFloating])
|
|
54
|
+
), p = C && ie(e), l = p ? e.props?.ref : null, m = u(
|
|
51
55
|
d(
|
|
52
|
-
() => [
|
|
53
|
-
[
|
|
56
|
+
() => [n.setReference, ...l ? [l] : []],
|
|
57
|
+
[n.setReference, l]
|
|
54
58
|
)
|
|
55
|
-
),
|
|
59
|
+
), j = !F && (s || !N) && !!r, w = p ? le(
|
|
56
60
|
e,
|
|
57
|
-
|
|
61
|
+
f({
|
|
58
62
|
...e.props,
|
|
59
|
-
ref:
|
|
60
|
-
className:
|
|
63
|
+
ref: m,
|
|
64
|
+
className: I(
|
|
61
65
|
e.props.className,
|
|
62
|
-
|
|
66
|
+
a
|
|
63
67
|
) || void 0
|
|
64
68
|
})
|
|
65
|
-
) : /* @__PURE__ */
|
|
69
|
+
) : /* @__PURE__ */ i(
|
|
66
70
|
"span",
|
|
67
71
|
{
|
|
68
|
-
ref:
|
|
69
|
-
...
|
|
70
|
-
className:
|
|
72
|
+
ref: m,
|
|
73
|
+
...f(),
|
|
74
|
+
className: a ?? "text-start",
|
|
71
75
|
children: e
|
|
72
76
|
}
|
|
73
77
|
);
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
return /* @__PURE__ */ U(G, { children: [
|
|
79
|
+
w,
|
|
80
|
+
c && j && /* @__PURE__ */ i(oe, { id: "interactive-tooltip-portal", children: /* @__PURE__ */ i(
|
|
81
|
+
te,
|
|
78
82
|
{
|
|
79
83
|
context: o,
|
|
80
84
|
modal: !1,
|
|
81
85
|
initialFocus: -1,
|
|
82
86
|
returnFocus: !1,
|
|
83
87
|
order: ["reference", "content"],
|
|
84
|
-
children: /* @__PURE__ */
|
|
88
|
+
children: /* @__PURE__ */ i(
|
|
85
89
|
"div",
|
|
86
90
|
{
|
|
87
|
-
ref:
|
|
91
|
+
ref: H,
|
|
88
92
|
"data-placement": o.placement,
|
|
89
|
-
style:
|
|
90
|
-
...
|
|
91
|
-
className:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
style: b,
|
|
94
|
+
...y(),
|
|
95
|
+
className: I(
|
|
96
|
+
me,
|
|
97
|
+
O,
|
|
98
|
+
P,
|
|
99
|
+
ge.interactiveTooltip
|
|
96
100
|
),
|
|
97
|
-
children:
|
|
101
|
+
children: r
|
|
98
102
|
}
|
|
99
103
|
)
|
|
100
104
|
}
|
|
@@ -102,5 +106,5 @@ const Re = ({
|
|
|
102
106
|
] });
|
|
103
107
|
};
|
|
104
108
|
export {
|
|
105
|
-
|
|
109
|
+
Ee as InteractiveTooltip
|
|
106
110
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const t = 8, a = 400,
|
|
1
|
+
const t = 8, a = 400, e = "z-interactive-tooltip max-w-[320px] rounded-xl bg-layer-0 p-4 dial-small-text text-primary shadow-md";
|
|
2
2
|
export {
|
|
3
3
|
t as INTERACTIVE_TOOLTIP_GAP,
|
|
4
4
|
a as INTERACTIVE_TOOLTIP_HOVER_OPEN_DELAY,
|
|
5
|
-
|
|
5
|
+
e as interactiveTooltipClassName
|
|
6
6
|
};
|
|
@@ -1,41 +1,43 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import
|
|
4
|
-
import { EditorThemes as
|
|
5
|
-
import { mergeClasses as
|
|
6
|
-
import { getMarkdownFormattingCommands as
|
|
7
|
-
const
|
|
8
|
-
value:
|
|
9
|
-
onChange:
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as o } from "react";
|
|
3
|
+
import k from "@uiw/react-md-editor";
|
|
4
|
+
import { EditorThemes as w } from "../../../types/editor.js";
|
|
5
|
+
import { mergeClasses as x } from "../../../utils/merge-classes.js";
|
|
6
|
+
import { getMarkdownFormattingCommands as C, getMarkdownExtraCommands as h } from "./constants.js";
|
|
7
|
+
const j = ({
|
|
8
|
+
value: t,
|
|
9
|
+
onChange: m,
|
|
10
10
|
height: a = 300,
|
|
11
|
-
theme: e =
|
|
12
|
-
className:
|
|
13
|
-
placeholder:
|
|
14
|
-
defaultPreview:
|
|
15
|
-
id:
|
|
16
|
-
ariaLabel: l
|
|
11
|
+
theme: e = w.light,
|
|
12
|
+
className: i,
|
|
13
|
+
placeholder: d,
|
|
14
|
+
defaultPreview: s = "edit",
|
|
15
|
+
id: n,
|
|
16
|
+
ariaLabel: l,
|
|
17
|
+
showDragbar: p = !0
|
|
17
18
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
return /* @__PURE__ */
|
|
19
|
+
const c = o(() => C(), []), f = o(() => h(), []);
|
|
20
|
+
return /* @__PURE__ */ r(
|
|
20
21
|
"div",
|
|
21
22
|
{
|
|
22
23
|
"data-color-mode": e,
|
|
23
|
-
className:
|
|
24
|
-
children: /* @__PURE__ */
|
|
25
|
-
|
|
24
|
+
className: x("dial-kit-markdown-editor", i),
|
|
25
|
+
children: /* @__PURE__ */ r(
|
|
26
|
+
k,
|
|
26
27
|
{
|
|
27
|
-
value:
|
|
28
|
-
onChange: (
|
|
28
|
+
value: t,
|
|
29
|
+
onChange: (g) => m?.(g || ""),
|
|
29
30
|
height: a,
|
|
30
|
-
preview:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
preview: s,
|
|
32
|
+
visibleDragbar: p,
|
|
33
|
+
commands: c,
|
|
34
|
+
extraCommands: f,
|
|
35
|
+
textareaProps: { placeholder: d, id: n, "aria-label": l }
|
|
34
36
|
}
|
|
35
37
|
)
|
|
36
38
|
}
|
|
37
39
|
);
|
|
38
40
|
};
|
|
39
41
|
export {
|
|
40
|
-
|
|
42
|
+
j as MarkdownEditor
|
|
41
43
|
};
|
|
@@ -28,7 +28,6 @@ const O = ({
|
|
|
28
28
|
u && "text-error",
|
|
29
29
|
a && "text-control-disable-primary"
|
|
30
30
|
), p = e(
|
|
31
|
-
A.menuItem,
|
|
32
31
|
j,
|
|
33
32
|
// A row that opens a panel stays tinted while that panel is up, so the
|
|
34
33
|
// trail back to it is visible once the pointer has moved into it.
|
|
@@ -37,7 +36,8 @@ const O = ({
|
|
|
37
36
|
b && H,
|
|
38
37
|
a && D,
|
|
39
38
|
u && "text-error",
|
|
40
|
-
d
|
|
39
|
+
d,
|
|
40
|
+
A.menuItem
|
|
41
41
|
), N = /* @__PURE__ */ i(
|
|
42
42
|
"button",
|
|
43
43
|
{
|