@epam/ai-dial-ui-kit 0.15.0-dev.9 → 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 +55 -2
- package/dist/CHANGELOG.md +84 -0
- package/dist/DateCellRenderer-BdUMSg-E.cjs +1 -0
- package/dist/{DateCellRenderer-Bu40QyHE.cjs → DateCellRenderer-CZNa4jVJ.cjs} +30 -30
- package/dist/IconButton-DHOFapLo.cjs +1 -0
- package/dist/{JsonEditor-qv1Z0dLX.cjs → JsonEditor-Bxui5wJH.cjs} +1 -1
- package/dist/{MarkdownEditor-DHn2pYOJ.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 -25
- 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 +2 -2
- 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/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 +2 -2
- 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 +1826 -109
- package/dist/constants/public-class-names.js +64 -3
- package/dist/{components/SchemaRenderer/types.js → constants/schema-renderer.js} +2 -7
- package/dist/dial-ui-kit.cjs +2 -2
- package/dist/dial-ui-kit.js +357 -311
- 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/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 -93
- package/dist/src/components/SchemaRenderer/utils.d.ts +1 -17
- package/dist/src/constants/public-class-names.d.ts +64 -3
- package/dist/src/constants/schema-renderer.d.ts +2 -0
- package/dist/src/index.d.ts +37 -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} +22 -20
- 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-C3e61i75.cjs +0 -1
- package/dist/IconButton-DWqoaBWf.cjs +0 -1
- package/dist/MarkdownEditor-jQ8nDJfx.cjs +0 -1
- package/dist/MarkdownEditorContainer-Bzcnoemw.cjs +0 -1
- package/dist/lazy-tfN4sKhq.cjs +0 -1
- package/dist/merge-classes-Dipy1Ih1.cjs +0 -1
- package/dist/use-file-manager-tabs-9DWkp9IJ.cjs +0 -3
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
import { jsx as t, jsxs as I, Fragment as j } from "react/jsx-runtime";
|
|
2
|
-
import { DialIcon as
|
|
3
|
-
import { ButtonAppearance as
|
|
2
|
+
import { DialIcon as f } from "../../Icon/Icon.js";
|
|
3
|
+
import { ButtonAppearance as c } from "../../../types/button.js";
|
|
4
4
|
import { ElementSize as o } from "../../../types/size.js";
|
|
5
5
|
import { mergeClasses as y } from "../../../utils/merge-classes.js";
|
|
6
6
|
import { resolveAccessibleName as A } from "../../../utils/accessible-name.js";
|
|
7
|
-
import { Tooltip as
|
|
8
|
-
import { getButtonClassNames as L } from "./utils.js";
|
|
9
|
-
const
|
|
7
|
+
import { Tooltip as D } from "../Tooltip/Tooltip.js";
|
|
8
|
+
import { getButtonClassNames as F, getDisabledButtonProps as L } from "./utils.js";
|
|
9
|
+
const K = ({
|
|
10
10
|
label: a,
|
|
11
|
-
variant:
|
|
12
|
-
appearance:
|
|
11
|
+
variant: s,
|
|
12
|
+
appearance: r = c.Solid,
|
|
13
13
|
size: n = o.Standard,
|
|
14
14
|
className: k,
|
|
15
|
-
textClassName:
|
|
16
|
-
iconAfter:
|
|
15
|
+
textClassName: g,
|
|
16
|
+
iconAfter: S,
|
|
17
17
|
iconBefore: v,
|
|
18
|
-
type:
|
|
19
|
-
tooltipProps:
|
|
18
|
+
type: C = "button",
|
|
19
|
+
tooltipProps: l,
|
|
20
20
|
href: d,
|
|
21
|
-
target:
|
|
22
|
-
rel:
|
|
21
|
+
target: b,
|
|
22
|
+
rel: N,
|
|
23
23
|
disabled: i,
|
|
24
24
|
...e
|
|
25
25
|
}) => {
|
|
26
26
|
const h = y(
|
|
27
27
|
"dial-kit-base-button",
|
|
28
|
-
|
|
28
|
+
s && F(s, r),
|
|
29
29
|
n === o.Small ? "dial-tiny-semi-text" : "dial-small-paragraph-semi-text",
|
|
30
30
|
n === o.Small ? "h-[24px] gap-1" : "h-[40px] gap-2",
|
|
31
31
|
// Corner radius is themable per size — see the radius tokens in
|
|
32
32
|
// `buttons.scss`; the standard radius comes from `dial-kit-base-button`.
|
|
33
33
|
n === o.Small && "dial-kit-base-button-small",
|
|
34
|
-
|
|
34
|
+
r !== c.Link && (n === o.Small ? "px-2" : "px-4"),
|
|
35
35
|
// A link-appearance button sits inline in text, where WCAG 2.5.5 exempts
|
|
36
36
|
// it and an expanded target would overlap the surrounding copy.
|
|
37
|
-
n !== o.Small &&
|
|
37
|
+
n !== o.Small && r !== c.Link && "dial-kit-enhanced-target",
|
|
38
38
|
k
|
|
39
|
-
), B = a ? void 0 :
|
|
39
|
+
), B = a ? void 0 : l?.tooltip, p = A(
|
|
40
40
|
typeof a == "string" ? a : void 0,
|
|
41
41
|
e["aria-label"],
|
|
42
42
|
B
|
|
43
|
-
),
|
|
44
|
-
/* @__PURE__ */ t(
|
|
45
|
-
a && /* @__PURE__ */ t("span", { className:
|
|
46
|
-
/* @__PURE__ */ t(
|
|
47
|
-
] }), m = e,
|
|
43
|
+
), u = /* @__PURE__ */ I(j, { children: [
|
|
44
|
+
/* @__PURE__ */ t(f, { icon: v }),
|
|
45
|
+
a && /* @__PURE__ */ t("span", { className: g, children: a }),
|
|
46
|
+
/* @__PURE__ */ t(f, { icon: S })
|
|
47
|
+
] }), m = e, x = d !== void 0 ? /* @__PURE__ */ t(
|
|
48
48
|
"a",
|
|
49
49
|
{
|
|
50
50
|
...m,
|
|
51
51
|
href: i ? void 0 : d,
|
|
52
|
-
target:
|
|
53
|
-
rel:
|
|
52
|
+
target: b,
|
|
53
|
+
rel: N ?? (b === "_blank" ? "noopener noreferrer" : void 0),
|
|
54
54
|
"aria-disabled": i || void 0,
|
|
55
55
|
tabIndex: i ? -1 : m.tabIndex,
|
|
56
56
|
onClick: i ? void 0 : m.onClick,
|
|
57
57
|
className: h,
|
|
58
|
-
"aria-label":
|
|
59
|
-
children:
|
|
58
|
+
"aria-label": p,
|
|
59
|
+
children: u
|
|
60
60
|
}
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
64
|
...e,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
...L(i, l, e.onClick),
|
|
66
|
+
type: C,
|
|
67
67
|
className: h,
|
|
68
|
-
"aria-label":
|
|
69
|
-
children:
|
|
68
|
+
"aria-label": p,
|
|
69
|
+
children: u
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
|
-
return
|
|
72
|
+
return l ? /* @__PURE__ */ t(D, { asChild: !0, ...l, children: x }) : x;
|
|
73
73
|
};
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
K as Button
|
|
76
76
|
};
|
|
@@ -1,44 +1,110 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsx as t, jsxs as B, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { IconSparkles as y } from "@tabler/icons-react";
|
|
3
|
+
import { useId as S } from "react";
|
|
4
|
+
import { DIAL_KIT_ICON_STROKE as h } from "../constants/icon.js";
|
|
5
|
+
import { DIAL_ICON_SIZE as k } from "../../../constants/icon.js";
|
|
6
|
+
import { ButtonAppearance as o, ButtonVariant as n } from "../../../types/button.js";
|
|
7
|
+
import { Button as d } from "./Button.js";
|
|
8
|
+
const p = (a, r) => ({ appearance: s, ...u }) => /* @__PURE__ */ t(
|
|
9
|
+
d,
|
|
6
10
|
{
|
|
7
|
-
...
|
|
8
|
-
variant:
|
|
9
|
-
appearance:
|
|
11
|
+
...u,
|
|
12
|
+
variant: a,
|
|
13
|
+
appearance: s || r
|
|
10
14
|
}
|
|
11
|
-
),
|
|
12
|
-
|
|
15
|
+
), c = (a, r) => ({ variant: s, ...u }) => /* @__PURE__ */ t(
|
|
16
|
+
d,
|
|
13
17
|
{
|
|
14
|
-
...
|
|
15
|
-
variant:
|
|
16
|
-
appearance:
|
|
18
|
+
...u,
|
|
19
|
+
variant: s || r,
|
|
20
|
+
appearance: a
|
|
17
21
|
}
|
|
18
|
-
),
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
),
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
22
|
+
), A = p(
|
|
23
|
+
n.Primary,
|
|
24
|
+
o.Solid
|
|
25
|
+
), E = p(
|
|
26
|
+
n.Neutral,
|
|
27
|
+
o.Solid
|
|
28
|
+
), R = p(
|
|
29
|
+
n.Danger,
|
|
30
|
+
o.Solid
|
|
31
|
+
), e = {
|
|
32
|
+
x1: "-5.06",
|
|
33
|
+
y1: "2.26",
|
|
34
|
+
x2: "30.62",
|
|
35
|
+
y2: "22.63",
|
|
36
|
+
from: "var(--stroke-gradient-1, #5976E9)",
|
|
37
|
+
to: "var(--stroke-gradient-2, #885DF2)"
|
|
38
|
+
}, x = /* @__PURE__ */ t(
|
|
39
|
+
y,
|
|
40
|
+
{
|
|
41
|
+
size: k.MD,
|
|
42
|
+
stroke: h,
|
|
43
|
+
"aria-hidden": !0
|
|
44
|
+
}
|
|
45
|
+
), G = ({
|
|
46
|
+
appearance: a = o.Outlined,
|
|
47
|
+
iconBefore: r = x,
|
|
48
|
+
iconAfter: i,
|
|
49
|
+
style: s,
|
|
50
|
+
...u
|
|
51
|
+
}) => {
|
|
52
|
+
const l = `dial-kit-starter-gradient-${S().replace(/[^\w-]/g, "")}`, f = /* @__PURE__ */ t(
|
|
53
|
+
"svg",
|
|
54
|
+
{
|
|
55
|
+
className: "pointer-events-none absolute size-0 overflow-hidden",
|
|
56
|
+
"aria-hidden": "true",
|
|
57
|
+
focusable: "false",
|
|
58
|
+
children: /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ B(
|
|
59
|
+
"linearGradient",
|
|
60
|
+
{
|
|
61
|
+
id: l,
|
|
62
|
+
x1: e.x1,
|
|
63
|
+
y1: e.y1,
|
|
64
|
+
x2: e.x2,
|
|
65
|
+
y2: e.y2,
|
|
66
|
+
gradientUnits: "userSpaceOnUse",
|
|
67
|
+
children: [
|
|
68
|
+
/* @__PURE__ */ t("stop", { stopColor: e.from }),
|
|
69
|
+
/* @__PURE__ */ t("stop", { offset: "1", stopColor: e.to })
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
) })
|
|
73
|
+
}
|
|
74
|
+
), m = (I) => /* @__PURE__ */ B(g, { children: [
|
|
75
|
+
f,
|
|
76
|
+
I
|
|
77
|
+
] });
|
|
78
|
+
return /* @__PURE__ */ t(
|
|
79
|
+
d,
|
|
80
|
+
{
|
|
81
|
+
...u,
|
|
82
|
+
variant: n.Starter,
|
|
83
|
+
appearance: a,
|
|
84
|
+
iconBefore: r ? m(r) : void 0,
|
|
85
|
+
iconAfter: i && !r ? m(i) : i,
|
|
86
|
+
style: {
|
|
87
|
+
"--dial-kit-starter-icon-stroke": `url(#${l})`,
|
|
88
|
+
...s
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
}, L = c(
|
|
93
|
+
o.Link,
|
|
94
|
+
n.Primary
|
|
95
|
+
), P = c(
|
|
96
|
+
o.Ghost,
|
|
97
|
+
n.Primary
|
|
98
|
+
), W = c(
|
|
99
|
+
o.Outlined,
|
|
100
|
+
n.Neutral
|
|
36
101
|
);
|
|
37
102
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
103
|
+
R as DangerButton,
|
|
104
|
+
P as GhostButton,
|
|
105
|
+
L as LinkButton,
|
|
106
|
+
E as NeutralButton,
|
|
107
|
+
W as OutlinedButton,
|
|
108
|
+
A as PrimaryButton,
|
|
109
|
+
G as StarterButton
|
|
44
110
|
};
|
|
@@ -17,6 +17,9 @@ const o = {
|
|
|
17
17
|
[i.Static]: {
|
|
18
18
|
[t.Solid]: "dial-kit-static-solid-button"
|
|
19
19
|
},
|
|
20
|
+
[i.Starter]: {
|
|
21
|
+
[t.Outlined]: "dial-kit-starter-outlined-button"
|
|
22
|
+
},
|
|
20
23
|
// TODO: remove these once we have a design for the icon button variants
|
|
21
24
|
[i.Success]: {},
|
|
22
25
|
[i.Secondary]: {},
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import { ButtonVariant as o, ButtonAppearance as
|
|
2
|
-
import { variantClassMap as
|
|
3
|
-
const l = (t
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ButtonVariant as o, ButtonAppearance as r } from "../../../types/button.js";
|
|
2
|
+
import { variantClassMap as a } from "./constants.js";
|
|
3
|
+
const l = (t) => {
|
|
4
|
+
t.preventDefault();
|
|
5
|
+
}, d = (t, n, i) => {
|
|
6
|
+
const e = n != null && !n.hideTooltip && n.tooltip != null && n.tooltip !== "";
|
|
7
|
+
return t && e ? {
|
|
8
|
+
disabled: void 0,
|
|
9
|
+
"aria-disabled": !0,
|
|
10
|
+
onClick: l
|
|
11
|
+
} : { disabled: t, onClick: i };
|
|
12
|
+
}, c = (t = o.Primary, n = r.Solid) => {
|
|
13
|
+
const i = a[t]?.[n];
|
|
14
|
+
return i || (console.warn(
|
|
15
|
+
`Could not find Button styles for variant: ${t} and appearance: ${n}. Using default primary solid button styles.`
|
|
16
|
+
), a[o.Primary][r.Solid]);
|
|
8
17
|
};
|
|
9
18
|
export {
|
|
10
|
-
|
|
19
|
+
c as getButtonClassNames,
|
|
20
|
+
d as getDisabledButtonProps
|
|
11
21
|
};
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { ButtonAppearance as
|
|
4
|
-
import { Button as
|
|
5
|
-
import { Dropdown as
|
|
6
|
-
import { getButtonChevron as
|
|
7
|
-
import { DIAL_KIT_CLASS as
|
|
8
|
-
const
|
|
2
|
+
import { useState as u, useMemo as d } from "react";
|
|
3
|
+
import { ButtonAppearance as c, ButtonVariant as f } from "../../../types/button.js";
|
|
4
|
+
import { Button as D } from "../Button/Button.js";
|
|
5
|
+
import { Dropdown as h } from "../Dropdown/Dropdown.js";
|
|
6
|
+
import { getButtonChevron as l } from "./constants.js";
|
|
7
|
+
import { DIAL_KIT_CLASS as w } from "../../../constants/public-class-names.js";
|
|
8
|
+
const O = ({
|
|
9
9
|
variant: n,
|
|
10
10
|
appearance: t,
|
|
11
11
|
items: e,
|
|
12
|
-
|
|
12
|
+
dropdownProps: p,
|
|
13
|
+
...a
|
|
13
14
|
}) => {
|
|
14
|
-
const [o,
|
|
15
|
-
return /* @__PURE__ */ r("div", { className:
|
|
16
|
-
|
|
15
|
+
const [o, i] = u(!1), m = d(() => l(o), [o]);
|
|
16
|
+
return /* @__PURE__ */ r("div", { className: w.buttonDropdown, children: /* @__PURE__ */ r(
|
|
17
|
+
h,
|
|
17
18
|
{
|
|
18
19
|
...p,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
items: e,
|
|
21
|
+
onOpenChange: (s) => i(s),
|
|
22
|
+
children: /* @__PURE__ */ r(
|
|
23
|
+
D,
|
|
24
|
+
{
|
|
25
|
+
...a,
|
|
26
|
+
iconAfter: m,
|
|
27
|
+
variant: n || f.Primary,
|
|
28
|
+
appearance: t || c.Solid,
|
|
29
|
+
"aria-haspopup": "menu",
|
|
30
|
+
"aria-expanded": o
|
|
31
|
+
}
|
|
32
|
+
)
|
|
24
33
|
}
|
|
25
|
-
) })
|
|
34
|
+
) });
|
|
26
35
|
};
|
|
27
36
|
export {
|
|
28
|
-
|
|
37
|
+
O as ButtonDropdown
|
|
29
38
|
};
|
|
@@ -173,9 +173,9 @@ const q = ({
|
|
|
173
173
|
"div",
|
|
174
174
|
{
|
|
175
175
|
className: d(
|
|
176
|
-
E.calendar,
|
|
177
176
|
"flex flex-col gap-y-3",
|
|
178
|
-
f
|
|
177
|
+
f,
|
|
178
|
+
E.calendar
|
|
179
179
|
),
|
|
180
180
|
children: [
|
|
181
181
|
_,
|
|
@@ -203,9 +203,9 @@ const q = ({
|
|
|
203
203
|
"div",
|
|
204
204
|
{
|
|
205
205
|
className: d(
|
|
206
|
-
E.calendar,
|
|
207
206
|
"flex flex-col gap-y-3",
|
|
208
|
-
f
|
|
207
|
+
f,
|
|
208
|
+
E.calendar
|
|
209
209
|
),
|
|
210
210
|
children: [
|
|
211
211
|
_,
|
|
@@ -275,9 +275,9 @@ const q = ({
|
|
|
275
275
|
"div",
|
|
276
276
|
{
|
|
277
277
|
className: d(
|
|
278
|
-
E.calendar,
|
|
279
278
|
"flex flex-col gap-y-3",
|
|
280
|
-
f
|
|
279
|
+
f,
|
|
280
|
+
E.calendar
|
|
281
281
|
),
|
|
282
282
|
children: [
|
|
283
283
|
_,
|
|
@@ -3,18 +3,18 @@ import { IconChevronRight as o, IconChevronLeft as n, IconCalendar as l } from "
|
|
|
3
3
|
import { DIAL_KIT_ICON_STROKE as r } from "../constants/icon.js";
|
|
4
4
|
import { DIAL_ICON_SIZE as t } from "../../../constants/icon.js";
|
|
5
5
|
import { CalendarMode as e } from "../../../types/calendar.js";
|
|
6
|
-
const u = "en-GB",
|
|
6
|
+
const u = "en-GB", f = {
|
|
7
7
|
[e.Date]: "Select date",
|
|
8
8
|
[e.DateTime]: "Select date and time",
|
|
9
9
|
[e.Time]: "--:--",
|
|
10
10
|
[e.Weekday]: "Select day"
|
|
11
|
-
},
|
|
11
|
+
}, x = (
|
|
12
12
|
// TODO: check after design review for input
|
|
13
13
|
"flex w-full items-center justify-between gap-2 rounded-xl border border-secondary bg-layer-raised px-4 py-3 dial-small-text text-primary outline-none transition-colors hover:border-accent-alpha focus-within:border-accent-focus"
|
|
14
14
|
), y = (
|
|
15
15
|
// TODO: check after design review for input
|
|
16
16
|
"!cursor-not-allowed !border-transparent bg-layer-sunken text-control-disable-primary hover:!border-transparent"
|
|
17
|
-
), b = "!border-error", C = "z-
|
|
17
|
+
), b = "!border-error", C = "z-floating flex w-[248px] flex-col gap-4 rounded-lg bg-layer-raised px-2 py-4 shadow-md", h = "flex size-10 items-center justify-center rounded-full dial-small-text text-primary hover:bg-control-accent-alpha-hover hover:text-primary focus:outline-none focus-visible:outline focus-visible:outline-focus", N = "bg-control-accent text-control-permanent", v = "text-accent dial-small-semi-text", D = "text-control-disable-primary", s = "text-secondary", I = /* @__PURE__ */ a(
|
|
18
18
|
l,
|
|
19
19
|
{
|
|
20
20
|
size: t.MD,
|
|
@@ -46,12 +46,12 @@ export {
|
|
|
46
46
|
D as calendarDayOutsideClassName,
|
|
47
47
|
N as calendarDaySelectedClassName,
|
|
48
48
|
v as calendarDayTodayClassName,
|
|
49
|
-
|
|
49
|
+
x as calendarFieldBaseClassName,
|
|
50
50
|
y as calendarFieldDisabledClassName,
|
|
51
51
|
s as calendarFieldIconClassName,
|
|
52
52
|
b as calendarFieldInvalidClassName,
|
|
53
53
|
I as calendarIcon,
|
|
54
|
-
|
|
54
|
+
f as calendarModeDefaultPlaceholder,
|
|
55
55
|
g as calendarNavIcons,
|
|
56
56
|
C as calendarPopoverClassName
|
|
57
57
|
};
|
|
@@ -13,11 +13,11 @@ const a = ({
|
|
|
13
13
|
...p,
|
|
14
14
|
role: "alert",
|
|
15
15
|
className: s(
|
|
16
|
-
e.captionText,
|
|
17
|
-
o === t.Error && e.errorText,
|
|
18
16
|
"dial-tiny-text",
|
|
19
17
|
o === t.Error ? "text-error" : "text-secondary",
|
|
20
|
-
i
|
|
18
|
+
i,
|
|
19
|
+
e.captionText,
|
|
20
|
+
o === t.Error && e.errorText
|
|
21
21
|
),
|
|
22
22
|
children: r
|
|
23
23
|
}
|
|
@@ -11,10 +11,10 @@ const m = ({
|
|
|
11
11
|
{
|
|
12
12
|
...o,
|
|
13
13
|
className: t(
|
|
14
|
-
s.cardShell,
|
|
15
14
|
"relative flex flex-col gap-3 rounded-[20px] border-2 border-transparent p-5",
|
|
16
15
|
"bg-layer-raised shadow-md transition-[transform,box-shadow] duration-200 ease-out hover:-translate-y-[3px] hover:shadow-lg motion-reduce:transition-none motion-reduce:hover:translate-y-0",
|
|
17
|
-
r
|
|
16
|
+
r,
|
|
17
|
+
s.cardShell
|
|
18
18
|
),
|
|
19
19
|
children: e
|
|
20
20
|
}
|
|
@@ -12,7 +12,6 @@ const v = ({
|
|
|
12
12
|
className: m
|
|
13
13
|
}) => {
|
|
14
14
|
const o = c || n, e = !!s, l = b(
|
|
15
|
-
f.checkboxBox,
|
|
16
15
|
"grid size-[20px] shrink-0 place-items-center rounded border transition-colors duration-200",
|
|
17
16
|
// 20px is below the 24x24 minimum target, so grow the pointer target
|
|
18
17
|
// without touching the rendered size. The 44px enhanced target would
|
|
@@ -27,7 +26,8 @@ const v = ({
|
|
|
27
26
|
!r && !o && "border-default bg-control-neutral hover:border-accent hover:bg-control-accent-alpha-hover"
|
|
28
27
|
),
|
|
29
28
|
a ? "cursor-not-allowed" : e && "cursor-pointer",
|
|
30
|
-
m
|
|
29
|
+
m,
|
|
30
|
+
f.checkboxBox
|
|
31
31
|
), i = c ? /* @__PURE__ */ t(u, { ...p }) : n && /* @__PURE__ */ t(d, { ...p });
|
|
32
32
|
return e ? /* @__PURE__ */ t("label", { htmlFor: s, className: l, children: i }) : /* @__PURE__ */ t("span", { "aria-hidden": "true", className: l, children: i });
|
|
33
33
|
};
|
|
@@ -6,13 +6,13 @@ import { Popup as A } from "../Popup/Popup.js";
|
|
|
6
6
|
import { Spinner as _ } from "../../Spinner/Spinner.js";
|
|
7
7
|
import { ConfirmationPopupVariant as D } from "../../../types/confirmation-popup.js";
|
|
8
8
|
import { PopupSize as F } from "../../../types/popup.js";
|
|
9
|
-
import { mergeClasses as
|
|
10
|
-
import { actionsBaseClassName as K, defaultCancelLabel as L, defaultConfirmLabel as T, variantConfig as
|
|
9
|
+
import { mergeClasses as f } from "../../../utils/merge-classes.js";
|
|
10
|
+
import { actionsBaseClassName as K, defaultCancelLabel as L, defaultConfirmLabel as T, variantConfig as s, loaderContainerClassName as V, descriptionBaseClassName as q } from "./constants.js";
|
|
11
11
|
import { DIAL_KIT_CLASS as w } from "../../../constants/public-class-names.js";
|
|
12
12
|
const X = ({
|
|
13
13
|
header: p,
|
|
14
|
-
description:
|
|
15
|
-
descriptionClassName:
|
|
14
|
+
description: a,
|
|
15
|
+
descriptionClassName: m,
|
|
16
16
|
open: u = !1,
|
|
17
17
|
confirmLabel: c = T,
|
|
18
18
|
cancelLabel: C = L,
|
|
@@ -20,13 +20,13 @@ const X = ({
|
|
|
20
20
|
disableConfirmButton: d = !1,
|
|
21
21
|
className: N,
|
|
22
22
|
confirmClassName: b,
|
|
23
|
-
onClose:
|
|
23
|
+
onClose: t,
|
|
24
24
|
onConfirm: v,
|
|
25
|
-
onCancel:
|
|
26
|
-
children:
|
|
27
|
-
variant:
|
|
25
|
+
onCancel: l,
|
|
26
|
+
children: e,
|
|
27
|
+
variant: n = D.Info,
|
|
28
28
|
size: P = F.Sm,
|
|
29
|
-
footer:
|
|
29
|
+
footer: i,
|
|
30
30
|
hideClose: S,
|
|
31
31
|
...B
|
|
32
32
|
}) => {
|
|
@@ -35,45 +35,41 @@ const X = ({
|
|
|
35
35
|
z,
|
|
36
36
|
{
|
|
37
37
|
label: C,
|
|
38
|
-
onClick: () =>
|
|
38
|
+
onClick: () => l ? l() : t?.()
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
41
|
/* @__PURE__ */ r(
|
|
42
42
|
j,
|
|
43
43
|
{
|
|
44
|
-
variant:
|
|
45
|
-
appearance:
|
|
44
|
+
variant: s[n].confirm.variant,
|
|
45
|
+
appearance: s[n].confirm.appearance,
|
|
46
46
|
className: b,
|
|
47
47
|
label: c,
|
|
48
48
|
disabled: d,
|
|
49
49
|
onClick: v
|
|
50
50
|
}
|
|
51
51
|
)
|
|
52
|
-
] }), k = I(() => o ? /* @__PURE__ */ r("div", { className: V, children: /* @__PURE__ */ r(_, { size: 40 }) }) :
|
|
52
|
+
] }), k = I(() => o ? /* @__PURE__ */ r("div", { className: V, children: /* @__PURE__ */ r(_, { size: 40 }) }) : e ?? (a ? /* @__PURE__ */ r(
|
|
53
53
|
"div",
|
|
54
54
|
{
|
|
55
|
-
className:
|
|
55
|
+
className: f(
|
|
56
56
|
q,
|
|
57
|
-
|
|
57
|
+
m
|
|
58
58
|
),
|
|
59
|
-
children:
|
|
59
|
+
children: a
|
|
60
60
|
}
|
|
61
|
-
) : null), [
|
|
61
|
+
) : null), [e, a, o, m]);
|
|
62
62
|
return /* @__PURE__ */ r(
|
|
63
63
|
A,
|
|
64
64
|
{
|
|
65
65
|
...B,
|
|
66
66
|
open: u,
|
|
67
67
|
header: p,
|
|
68
|
-
className:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
N
|
|
72
|
-
),
|
|
73
|
-
onClose: () => n?.(),
|
|
74
|
-
footer: f ?? h,
|
|
68
|
+
className: f(N, w.confirmationPopup),
|
|
69
|
+
onClose: () => t?.(),
|
|
70
|
+
footer: i ?? h,
|
|
75
71
|
size: P,
|
|
76
|
-
hideClose: S ?? (!o &&
|
|
72
|
+
hideClose: S ?? (!o && i === void 0),
|
|
77
73
|
children: k()
|
|
78
74
|
}
|
|
79
75
|
);
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
import { ButtonAppearance as a, ButtonVariant as
|
|
2
|
-
import { ConfirmationPopupVariant as
|
|
3
|
-
const
|
|
4
|
-
[
|
|
1
|
+
import { ButtonAppearance as a, ButtonVariant as n } from "../../../types/button.js";
|
|
2
|
+
import { ConfirmationPopupVariant as r } from "../../../types/confirmation-popup.js";
|
|
3
|
+
const o = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", i = "text-secondary dial-small-paragraph-text px-6 pb-4", p = "px-6 py-4 h-[120px]", s = "Cancel", c = "Ok", l = {
|
|
4
|
+
[r.Info]: {
|
|
5
5
|
confirm: {
|
|
6
|
-
variant:
|
|
6
|
+
variant: n.Primary,
|
|
7
7
|
appearance: a.Solid
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
-
[
|
|
11
|
-
// Utilities rather than the legacy `.dial-danger-popup` SCSS rule, which is
|
|
12
|
-
// scoped as `div .dial-danger-popup` and only lands by accident of nesting.
|
|
13
|
-
container: "border-t-4 border-error",
|
|
10
|
+
[r.Danger]: {
|
|
14
11
|
confirm: {
|
|
15
|
-
variant:
|
|
12
|
+
variant: n.Danger,
|
|
16
13
|
appearance: a.Solid
|
|
17
14
|
}
|
|
18
15
|
}
|
|
19
16
|
};
|
|
20
17
|
export {
|
|
21
|
-
|
|
18
|
+
o as actionsBaseClassName,
|
|
22
19
|
s as defaultCancelLabel,
|
|
23
20
|
c as defaultConfirmLabel,
|
|
24
21
|
i as descriptionBaseClassName,
|