@epam/ai-dial-ui-kit 0.15.4 → 0.16.0-dev.11
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 +1 -1
- package/dist/CHANGELOG.md +33 -6
- package/dist/DateCellRenderer-xHilQEYj.cjs +63 -0
- package/dist/{IconButton-DHOFapLo.cjs → IconButton-B1Hx0Y3y.cjs} +1 -1
- package/dist/{MarkdownEditorContainer-B5aHwoYF.cjs → MarkdownEditorContainer-DLPODjar.cjs} +1 -1
- package/dist/{Switch-DE6MrcqJ.cjs → Switch-DAaAOaIu.cjs} +1 -1
- package/dist/_virtual/_commonjsHelpers.js +3 -28
- package/dist/_virtual/index.js +5 -3
- package/dist/components/Analytics/Bar/Bar.js +7 -7
- package/dist/components/Analytics/BarGroup/BarGroup.js +18 -18
- package/dist/components/Analytics/Histogram/Histogram.js +10 -10
- package/dist/components/Checkbox/Checkbox.js +9 -9
- package/dist/components/Dropdown/constants.js +2 -2
- package/dist/components/DropdownIcon/DropdownIcon.js +5 -5
- package/dist/components/Grid/Grid.js +11 -11
- package/dist/components/IconButton/IconButton.js +7 -7
- package/dist/components/InputPopup/InputPopup.js +8 -8
- package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
- package/dist/components/Loader/Loader.js +8 -8
- package/dist/components/New/Avatar/Avatar.js +18 -17
- package/dist/components/New/BottomSheet/BottomSheet.js +6 -6
- package/dist/components/New/Breadcrumbs/constants.js +1 -1
- package/dist/components/New/Calendar/constants.js +4 -4
- package/dist/components/New/Dropdown/constants.js +1 -1
- package/dist/components/New/MenuItem/MenuItem.js +17 -17
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
- package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/constants.js +6 -6
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Steps/Step.js +9 -9
- package/dist/components/TagInput/TagInput.js +1 -1
- package/dist/components-manifest.json +264 -1228
- package/dist/dial-ui-kit.cjs +4 -2
- package/dist/dial-ui-kit.js +357 -375
- package/dist/editors.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/index.css +2 -6
- package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +89 -0
- package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
- package/dist/migration-guides/README.md +2 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
- package/dist/src/components/ButtonDropdown/constants.d.ts +2 -2
- package/dist/src/components/Dropdown/constants.d.ts +1 -1
- package/dist/src/components/Grid/Grid.d.ts +1 -1
- package/dist/src/components/JsonEditor/lazy.d.ts +1 -1
- package/dist/src/components/MarkdownEditor/lazy.d.ts +1 -1
- package/dist/src/components/New/Avatar/Avatar.d.ts +9 -3
- package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
- package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
- package/dist/src/components/New/Calendar/constants.d.ts +5 -5
- package/dist/src/components/New/Dropdown/constants.d.ts +1 -1
- package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
- package/dist/src/components/New/Grid/Grid.d.ts +1 -1
- package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
- package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
- package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
- package/dist/src/components/New/MarkdownEditor/lazy.d.ts +1 -1
- package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
- package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/New/Select/constants.d.ts +4 -4
- package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/Select/constants.d.ts +3 -3
- package/dist/src/index.d.ts +3 -13
- package/dist/src/subpaths/editors.d.ts +1 -1
- package/dist/src/types/avatar.d.ts +9 -0
- package/dist/src/utils/avatar.d.ts +2 -1
- package/dist/src/utils/sub-menu-floating.d.ts +1 -1
- package/dist/types/avatar.js +3 -2
- package/dist/utils/avatar.js +41 -18
- package/dist/utils/sub-menu-floating.js +8 -8
- package/package.json +9 -12
- package/dist/DateCellRenderer-C80QWn2I.cjs +0 -1
- package/dist/DateCellRenderer-CfQgxeAQ.cjs +0 -63
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -7
- package/dist/assets/icons/add-child.svg.js +0 -5
- package/dist/assets/icons/add-sibling.svg.js +0 -5
- package/dist/assets/icons/copy-to.svg.js +0 -5
- package/dist/assets/icons/move-to.svg.js +0 -5
- package/dist/assets/icons/unshare.svg.js +0 -5
- package/dist/components/FileManager/FileManager.js +0 -888
- package/dist/components/FileManager/FileManagerContext.js +0 -5
- package/dist/components/FileManager/FileManagerProvider.js +0 -772
- package/dist/components/FileManager/FileManagerTooltip.js +0 -92
- package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +0 -293
- package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +0 -201
- package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +0 -52
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +0 -103
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +0 -5
- package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +0 -56
- package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +0 -69
- package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +0 -100
- package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +0 -93
- package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +0 -165
- package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +0 -6
- package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +0 -120
- package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +0 -119
- package/dist/components/FileManager/components/FileMetadataPopup/constants.js +0 -9
- package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +0 -180
- package/dist/components/FileManager/components/FoldersTree/constants.js +0 -9
- package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +0 -51
- package/dist/components/FileManager/constants.js +0 -28
- package/dist/components/FileManager/errors.js +0 -10
- package/dist/components/FileManager/hooks/use-bulk-actions.js +0 -143
- package/dist/components/FileManager/hooks/use-collapse-tree.js +0 -22
- package/dist/components/FileManager/hooks/use-conflict-resolution.js +0 -158
- package/dist/components/FileManager/hooks/use-current-path.js +0 -29
- package/dist/components/FileManager/hooks/use-file-clipboard.js +0 -154
- package/dist/components/FileManager/hooks/use-file-delete.js +0 -39
- package/dist/components/FileManager/hooks/use-file-download.js +0 -16
- package/dist/components/FileManager/hooks/use-file-manager-columns.js +0 -106
- package/dist/components/FileManager/hooks/use-file-manager-context.js +0 -13
- package/dist/components/FileManager/hooks/use-file-manager-tabs.js +0 -23
- package/dist/components/FileManager/hooks/use-file-metadata.js +0 -20
- package/dist/components/FileManager/hooks/use-file-search.js +0 -90
- package/dist/components/FileManager/hooks/use-file-upload.js +0 -338
- package/dist/components/FileManager/hooks/use-folder-creation.js +0 -151
- package/dist/components/FileManager/hooks/use-grid-actions-column.js +0 -65
- package/dist/components/FileManager/hooks/use-grid-context-menu.js +0 -188
- package/dist/components/FileManager/hooks/use-item-renaming.js +0 -124
- package/dist/components/FileManager/hooks/use-new-actions.js +0 -67
- package/dist/components/FileManager/hooks/use-paths-selection.js +0 -28
- package/dist/components/FileManager/hooks/use-show-hidden-files.js +0 -20
- package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +0 -39
- package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +0 -42
- package/dist/components/FileManager/hooks/use-trigger-view-rename.js +0 -25
- package/dist/components/FileManager/utils.js +0 -129
- package/dist/constants/file-grid-columns.js +0 -176
- package/dist/file-manager.cjs +0 -1
- package/dist/file-manager.js +0 -22
- package/dist/hooks/use-flexible-actions.js +0 -72
- package/dist/hooks/use-width-breakpoint.js +0 -15
- package/dist/node_modules/mime-db/db.json.js +0 -2527
- package/dist/node_modules/mime-db/index.js +0 -8
- package/dist/node_modules/mime-types/index.js +0 -70
- package/dist/node_modules/mime-types/mimeScore.js +0 -38
- package/dist/src/__mocks__/monaco-editor.d.ts +0 -13
- package/dist/src/components/Analytics/Bar/utils.spec.d.ts +0 -1
- package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
- package/dist/src/components/Button/ButtonWrappers.test.d.ts +0 -1
- package/dist/src/components/Button/__tests__/utils.spec.d.ts +0 -1
- package/dist/src/components/FileManager/FileManager.d.ts +0 -326
- package/dist/src/components/FileManager/FileManagerContext.d.ts +0 -181
- package/dist/src/components/FileManager/FileManagerProvider.d.ts +0 -21
- package/dist/src/components/FileManager/FileManagerTooltip.d.ts +0 -12
- package/dist/src/components/FileManager/__mocks__/files.d.ts +0 -3
- package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -90
- package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +0 -73
- package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +0 -63
- package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.test.d.ts +0 -1
- package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.d.ts +0 -56
- package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/constants.d.ts +0 -3
- package/dist/src/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.d.ts +0 -26
- package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +0 -51
- package/dist/src/components/FileManager/components/FileManagerItemName/FileManagerItemName.d.ts +0 -57
- package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +0 -71
- package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +0 -64
- package/dist/src/components/FileManager/components/FileManagerNavigationPanel/constants.d.ts +0 -3
- package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +0 -76
- package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +0 -50
- package/dist/src/components/FileManager/components/FileMetadataPopup/constants.d.ts +0 -6
- package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +0 -135
- package/dist/src/components/FileManager/components/FoldersTree/constants.d.ts +0 -6
- package/dist/src/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.d.ts +0 -13
- package/dist/src/components/FileManager/constants.d.ts +0 -21
- package/dist/src/components/FileManager/errors.d.ts +0 -6
- package/dist/src/components/FileManager/hooks/__tests__/use-conflict-resolution.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-current-path.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-clipboard.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-delete.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-download.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-upload.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-show-hidden-files.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-trigger-view-rename.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +0 -30
- package/dist/src/components/FileManager/hooks/use-collapse-tree.d.ts +0 -9
- package/dist/src/components/FileManager/hooks/use-conflict-resolution.d.ts +0 -27
- package/dist/src/components/FileManager/hooks/use-current-path.d.ts +0 -13
- package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +0 -37
- package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +0 -13
- package/dist/src/components/FileManager/hooks/use-file-download.d.ts +0 -9
- package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +0 -43
- package/dist/src/components/FileManager/hooks/use-file-manager-context.d.ts +0 -7
- package/dist/src/components/FileManager/hooks/use-file-manager-tabs.d.ts +0 -10
- package/dist/src/components/FileManager/hooks/use-file-metadata.d.ts +0 -10
- package/dist/src/components/FileManager/hooks/use-file-search.d.ts +0 -23
- package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +0 -64
- package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +0 -30
- package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +0 -15
- package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +0 -44
- package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +0 -22
- package/dist/src/components/FileManager/hooks/use-new-actions.d.ts +0 -23
- package/dist/src/components/FileManager/hooks/use-paths-selection.d.ts +0 -13
- package/dist/src/components/FileManager/hooks/use-show-hidden-files.d.ts +0 -9
- package/dist/src/components/FileManager/hooks/use-tree-additional-buttons.d.ts +0 -22
- package/dist/src/components/FileManager/hooks/use-trigger-view-create-folder.d.ts +0 -26
- package/dist/src/components/FileManager/hooks/use-trigger-view-rename.d.ts +0 -20
- package/dist/src/components/FileManager/utils.d.ts +0 -69
- package/dist/src/components/FileManager/utils.spec.d.ts +0 -1
- package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
- package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
- package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +0 -1
- package/dist/src/components/New/Button/__tests__/utils.spec.d.ts +0 -1
- package/dist/src/components/New/Calendar/utils.spec.d.ts +0 -1
- package/dist/src/components/New/Slider/utils.spec.d.ts +0 -1
- package/dist/src/components/New/TagInput/utils.spec.d.ts +0 -1
- package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
- package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
- package/dist/src/components/Steps/tests/Steps.test.d.ts +0 -1
- package/dist/src/components/Steps/tests/utils.spec.d.ts +0 -1
- package/dist/src/constants/file-grid-columns.d.ts +0 -4
- package/dist/src/models/file-manager.d.ts +0 -19
- package/dist/src/subpaths/file-manager.d.ts +0 -21
- package/dist/src/types/file-manager.d.ts +0 -59
- package/dist/src/utils/__tests__/accessible-name.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/avatar.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/file-accept.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/merge-classes.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/path.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/pointer.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/timezone.spec.d.ts +0 -1
- package/dist/src/utils/grid-registration.spec.d.ts +0 -1
- package/dist/types/file-manager.js +0 -12
- package/dist/use-file-manager-tabs-BpaJ5_zh.cjs +0 -3
- package/dist/utils/path.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as t, jsxs as y, Fragment as
|
|
1
|
+
import { jsx as t, jsxs as y, Fragment as z } from "react/jsx-runtime";
|
|
2
2
|
import { DialErrorText as x } from "../CaptionText/CaptionText.js";
|
|
3
3
|
import { ButtonAppearance as Q } from "../../types/button.js";
|
|
4
4
|
import U from "classnames";
|
|
5
|
-
import { useRef as
|
|
5
|
+
import { useRef as B, useState as k, useCallback as C, useMemo as G, useEffect as W } from "react";
|
|
6
6
|
import { DialPrimaryButton as X } from "../Button/ButtonWrappers.js";
|
|
7
7
|
import { useDrop as Y } from "../../node_modules/react-dnd/dist/hooks/useDrop/useDrop.js";
|
|
8
8
|
import { FILE as Z } from "../../node_modules/react-dnd-html5-backend/dist/NativeTypes.js";
|
|
@@ -13,45 +13,45 @@ const nr = ({
|
|
|
13
13
|
emptyButtonLabel: O,
|
|
14
14
|
acceptTypes: A,
|
|
15
15
|
maxFilesCount: m,
|
|
16
|
-
multiple:
|
|
16
|
+
multiple: L,
|
|
17
17
|
fileFormatError: j,
|
|
18
|
-
fileCountError:
|
|
19
|
-
fileSizeError:
|
|
18
|
+
fileCountError: R,
|
|
19
|
+
fileSizeError: g,
|
|
20
20
|
getIsFileFormatError: n,
|
|
21
21
|
getIsFileSizeError: a
|
|
22
22
|
}) => {
|
|
23
|
-
const
|
|
23
|
+
const w = B(null), h = B(null), [c, D] = k([]), [i, f] = k(!1), [d, u] = k(!1), M = C(
|
|
24
24
|
(r) => {
|
|
25
25
|
const e = r.target.files;
|
|
26
26
|
if (e && e.length > 0) {
|
|
27
27
|
const o = Array.from(e), p = n?.(o), v = a?.(o);
|
|
28
|
-
p ? f(!0) : v ?
|
|
28
|
+
p ? f(!0) : v ? u(!0) : l(o);
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
[n, a, l]
|
|
32
|
-
), s =
|
|
32
|
+
), s = C(
|
|
33
33
|
(r) => m && r?.length > m,
|
|
34
34
|
[m]
|
|
35
|
-
), F =
|
|
36
|
-
D([]), f(!1),
|
|
37
|
-
},
|
|
38
|
-
w,
|
|
39
|
-
j,
|
|
35
|
+
), F = G(() => i || d || s(c), [i, d, s, c]), b = () => {
|
|
36
|
+
D([]), f(!1), u(!1);
|
|
37
|
+
}, P = G(() => i ? /* @__PURE__ */ t(x, { text: j }) : d ? /* @__PURE__ */ t(x, { text: g }) : s(c) ? /* @__PURE__ */ t(x, { text: R }) : null, [
|
|
40
38
|
R,
|
|
39
|
+
j,
|
|
40
|
+
g,
|
|
41
41
|
c,
|
|
42
42
|
s,
|
|
43
43
|
i,
|
|
44
|
-
|
|
44
|
+
d
|
|
45
45
|
]);
|
|
46
46
|
W(() => {
|
|
47
47
|
b();
|
|
48
48
|
}, [A]);
|
|
49
|
-
const [{ isOver:
|
|
49
|
+
const [{ isOver: S, canDrop: K }, T] = Y(
|
|
50
50
|
() => ({
|
|
51
51
|
accept: [Z],
|
|
52
52
|
drop(r) {
|
|
53
53
|
const e = r.files, o = n?.(e) ?? !1, p = a?.(e) ?? !1, v = s?.(e) ?? !1;
|
|
54
|
-
if (f(o),
|
|
54
|
+
if (f(o), u(p), o || p || v) {
|
|
55
55
|
D(e);
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
@@ -63,27 +63,27 @@ const nr = ({
|
|
|
63
63
|
})
|
|
64
64
|
}),
|
|
65
65
|
[l, n, a, s]
|
|
66
|
-
),
|
|
66
|
+
), V = (r) => {
|
|
67
67
|
(r.key === "Enter" || r.key === "Space") && (r.preventDefault(), h.current?.click());
|
|
68
|
-
},
|
|
68
|
+
}, q = (r) => {
|
|
69
69
|
r?.preventDefault();
|
|
70
70
|
const e = Array.from(r.dataTransfer?.items ?? []);
|
|
71
|
-
f(!!n?.(e)),
|
|
71
|
+
f(!!n?.(e)), u(!!a?.(e)), D(e);
|
|
72
72
|
}, H = (r) => {
|
|
73
73
|
r.target === r.currentTarget && b();
|
|
74
74
|
}, J = U(
|
|
75
|
-
"border border-dashed rounded
|
|
75
|
+
"border border-dashed rounded size-full cursor-pointer relative hover:border-hover",
|
|
76
76
|
!K && !F && "border-primary",
|
|
77
|
-
K && (
|
|
77
|
+
K && (S ? "border-accent-primary" : "border-hover"),
|
|
78
78
|
F && "border-error"
|
|
79
79
|
);
|
|
80
|
-
return
|
|
80
|
+
return T(w), /* @__PURE__ */ y(z, { children: [
|
|
81
81
|
/* @__PURE__ */ y(
|
|
82
82
|
"div",
|
|
83
83
|
{
|
|
84
84
|
className: J,
|
|
85
|
-
ref:
|
|
86
|
-
onDragOver:
|
|
85
|
+
ref: w,
|
|
86
|
+
onDragOver: q,
|
|
87
87
|
onDragLeave: H,
|
|
88
88
|
children: [
|
|
89
89
|
/* @__PURE__ */ y(
|
|
@@ -91,7 +91,7 @@ const nr = ({
|
|
|
91
91
|
{
|
|
92
92
|
htmlFor: "file",
|
|
93
93
|
tabIndex: 0,
|
|
94
|
-
onKeyDown:
|
|
94
|
+
onKeyDown: V,
|
|
95
95
|
className: "flex flex-col items-center cursor-pointer size-full text-secondary dial-tiny-text justify-center",
|
|
96
96
|
children: [
|
|
97
97
|
E && /* @__PURE__ */ t("p", { className: "mb-1", children: E }),
|
|
@@ -110,19 +110,19 @@ const nr = ({
|
|
|
110
110
|
/* @__PURE__ */ t(
|
|
111
111
|
"input",
|
|
112
112
|
{
|
|
113
|
-
multiple:
|
|
113
|
+
multiple: L,
|
|
114
114
|
id: "file",
|
|
115
115
|
type: "file",
|
|
116
116
|
ref: h,
|
|
117
117
|
hidden: !0,
|
|
118
118
|
accept: A,
|
|
119
|
-
onChange:
|
|
119
|
+
onChange: M
|
|
120
120
|
}
|
|
121
121
|
)
|
|
122
122
|
]
|
|
123
123
|
}
|
|
124
124
|
),
|
|
125
|
-
/* @__PURE__ */ t(
|
|
125
|
+
/* @__PURE__ */ t(z, { children: P })
|
|
126
126
|
] });
|
|
127
127
|
};
|
|
128
128
|
export {
|
|
@@ -3,19 +3,19 @@ import e from "classnames";
|
|
|
3
3
|
import { DialIcon as s } from "../Icon/Icon.js";
|
|
4
4
|
import { loaderIconBaseClassName as t, loaderBaseClassName as d } from "./constants.js";
|
|
5
5
|
import c from "../../assets/icons/loader.svg.js";
|
|
6
|
-
const
|
|
6
|
+
const h = ({
|
|
7
7
|
size: o = 18,
|
|
8
8
|
className: a,
|
|
9
|
-
iconClassName:
|
|
10
|
-
fullWidth:
|
|
11
|
-
ariaLabel:
|
|
9
|
+
iconClassName: i,
|
|
10
|
+
fullWidth: l = !0,
|
|
11
|
+
ariaLabel: m = "Loading"
|
|
12
12
|
}) => /* @__PURE__ */ r(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
15
|
role: "status",
|
|
16
16
|
className: e({
|
|
17
17
|
[d]: !0,
|
|
18
|
-
"
|
|
18
|
+
"size-full": l,
|
|
19
19
|
[a || ""]: !!a
|
|
20
20
|
}),
|
|
21
21
|
children: /* @__PURE__ */ r(
|
|
@@ -26,9 +26,9 @@ const g = ({
|
|
|
26
26
|
{
|
|
27
27
|
width: o,
|
|
28
28
|
height: o,
|
|
29
|
-
className: e(t,
|
|
29
|
+
className: e(t, i),
|
|
30
30
|
role: "img",
|
|
31
|
-
"aria-label":
|
|
31
|
+
"aria-label": m
|
|
32
32
|
}
|
|
33
33
|
)
|
|
34
34
|
}
|
|
@@ -36,5 +36,5 @@ const g = ({
|
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
h as DialLoader
|
|
40
40
|
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { DIAL_KIT_CLASS as
|
|
2
|
+
import { useState as b } from "react";
|
|
3
|
+
import { DIAL_KIT_CLASS as w } from "../../../constants/public-class-names.js";
|
|
4
4
|
import { AvatarShape as d } from "../../../types/avatar.js";
|
|
5
|
-
import { pickAvatarColor as
|
|
5
|
+
import { pickAvatarColor as I, extractInitials as N } from "../../../utils/avatar.js";
|
|
6
6
|
import { mergeClasses as e } from "../../../utils/merge-classes.js";
|
|
7
|
-
const
|
|
7
|
+
const j = {
|
|
8
8
|
[d.Circle]: "rounded-full",
|
|
9
9
|
[d.Square]: "rounded-md"
|
|
10
|
-
},
|
|
10
|
+
}, q = ({
|
|
11
11
|
name: s,
|
|
12
12
|
initials: c,
|
|
13
13
|
src: r,
|
|
14
14
|
alt: t = "",
|
|
15
15
|
size: o = 32,
|
|
16
16
|
shape: f = d.Circle,
|
|
17
|
-
|
|
17
|
+
color: h,
|
|
18
|
+
className: u,
|
|
18
19
|
textClassName: l,
|
|
19
|
-
onImageError:
|
|
20
|
+
onImageError: S
|
|
20
21
|
}) => {
|
|
21
|
-
const [
|
|
22
|
+
const [p, v] = b(), g = !!r && p !== r, i = t !== "", m = (n) => e(
|
|
22
23
|
"inline-flex shrink-0 select-none items-center justify-center overflow-hidden",
|
|
23
|
-
|
|
24
|
+
j[f],
|
|
24
25
|
n,
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
u,
|
|
27
|
+
w.avatar
|
|
27
28
|
);
|
|
28
|
-
if (
|
|
29
|
+
if (g)
|
|
29
30
|
return /* @__PURE__ */ a(
|
|
30
31
|
"img",
|
|
31
32
|
{
|
|
@@ -35,18 +36,18 @@ const N = {
|
|
|
35
36
|
height: o,
|
|
36
37
|
className: e(m(), "object-cover"),
|
|
37
38
|
onError: (n) => {
|
|
38
|
-
|
|
39
|
+
v(r), S?.(n);
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
);
|
|
42
|
-
const { background:
|
|
43
|
+
const { background: A, foreground: C } = h ?? I(s);
|
|
43
44
|
return /* @__PURE__ */ a(
|
|
44
45
|
"span",
|
|
45
46
|
{
|
|
46
47
|
role: i ? "img" : void 0,
|
|
47
48
|
"aria-label": i ? t : void 0,
|
|
48
49
|
"aria-hidden": i ? void 0 : !0,
|
|
49
|
-
className: m(e(
|
|
50
|
+
className: m(e(A, C)),
|
|
50
51
|
style: {
|
|
51
52
|
width: o,
|
|
52
53
|
height: o,
|
|
@@ -59,12 +60,12 @@ const N = {
|
|
|
59
60
|
"leading-none",
|
|
60
61
|
l ?? "font-semibold"
|
|
61
62
|
),
|
|
62
|
-
children: c ??
|
|
63
|
+
children: c ?? N(s)
|
|
63
64
|
}
|
|
64
65
|
)
|
|
65
66
|
}
|
|
66
67
|
);
|
|
67
68
|
};
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
+
q as Avatar
|
|
70
71
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { useFloating as k, useRole as A, useDismiss as w, useInteractions as z, FloatingPortal as D, FloatingOverlay as T, FloatingFocusManager as j } from "@floating-ui/react";
|
|
3
3
|
import { IconArrowLeft as B } from "@tabler/icons-react";
|
|
4
4
|
import { useId as E } from "react";
|
|
@@ -29,7 +29,7 @@ const te = ({
|
|
|
29
29
|
titleClassName: y,
|
|
30
30
|
portalId: N
|
|
31
31
|
}) => {
|
|
32
|
-
const F = R(), l = `bottom-sheet-title-${E()}`, { refs:
|
|
32
|
+
const F = R(), l = `bottom-sheet-title-${E()}`, { refs: m, context: r } = k({
|
|
33
33
|
open: i,
|
|
34
34
|
onOpenChange: (O) => {
|
|
35
35
|
O || a();
|
|
@@ -46,10 +46,10 @@ const te = ({
|
|
|
46
46
|
g,
|
|
47
47
|
c.bottomSheetOverlay
|
|
48
48
|
),
|
|
49
|
-
children: /* @__PURE__ */ e(j, { context: r, initialFocus:
|
|
49
|
+
children: /* @__PURE__ */ e(j, { context: r, initialFocus: m.floating, children: /* @__PURE__ */ n(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
|
-
ref:
|
|
52
|
+
ref: m.setFloating,
|
|
53
53
|
..._(),
|
|
54
54
|
role: "dialog",
|
|
55
55
|
"aria-modal": "true",
|
|
@@ -57,13 +57,13 @@ const te = ({
|
|
|
57
57
|
"aria-label": t ? void 0 : d,
|
|
58
58
|
style: I,
|
|
59
59
|
className: o(
|
|
60
|
-
"flex max-h-[85dvh] w-full flex-col rounded-t-lg bg-layer-raised outline-
|
|
60
|
+
"flex max-h-[85dvh] w-full flex-col rounded-t-lg bg-layer-raised outline-hidden",
|
|
61
61
|
"animate-slideUp motion-reduce:animate-none",
|
|
62
62
|
b,
|
|
63
63
|
c.bottomSheet
|
|
64
64
|
),
|
|
65
65
|
children: [
|
|
66
|
-
t && /* @__PURE__ */
|
|
66
|
+
t && /* @__PURE__ */ n(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
69
69
|
className: o(
|
|
@@ -13,7 +13,7 @@ const c = "w-full overflow-hidden", f = "flex min-w-0 flex-nowrap items-center g
|
|
|
13
13
|
first: "shrink-0",
|
|
14
14
|
middle: "min-w-0 max-w-[30%] shrink",
|
|
15
15
|
last: "min-w-0 max-w-[51%] shrink"
|
|
16
|
-
}, p = "flex min-w-0 flex-1 items-center gap-1 rounded-
|
|
16
|
+
}, p = "flex min-w-0 flex-1 items-center gap-1 rounded-xs transition-colors", C = "text-secondary hover:text-accent focus-visible:outline focus-visible:outline-offset-2 focus-visible:outline-focus", S = "cursor-default text-primary", h = "cursor-default text-secondary", I = "inline-flex flex-none items-center leading-none text-secondary", g = "dial-kit-minimum-target flex shrink-0 items-center rounded-xs text-secondary transition-colors hover:text-accent focus-visible:outline focus-visible:outline-offset-2 focus-visible:outline-focus", w = 3, v = 4, _ = /* @__PURE__ */ t(
|
|
17
17
|
s,
|
|
18
18
|
{
|
|
19
19
|
size: i.SM,
|
|
@@ -10,11 +10,11 @@ const u = "en-GB", f = {
|
|
|
10
10
|
[e.Weekday]: "Select day"
|
|
11
11
|
}, x = (
|
|
12
12
|
// TODO: check after design review for input
|
|
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-
|
|
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-hidden 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",
|
|
17
|
+
), b = "!border-error", h = "z-floating flex w-[248px] flex-col gap-4 rounded-lg bg-layer-raised px-2 py-4 shadow-md", C = "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-hidden 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,
|
|
@@ -42,7 +42,7 @@ const u = "en-GB", f = {
|
|
|
42
42
|
};
|
|
43
43
|
export {
|
|
44
44
|
u as DEFAULT_CALENDAR_LOCALE,
|
|
45
|
-
|
|
45
|
+
C as calendarDayButtonBaseClassName,
|
|
46
46
|
D as calendarDayOutsideClassName,
|
|
47
47
|
N as calendarDaySelectedClassName,
|
|
48
48
|
v as calendarDayTodayClassName,
|
|
@@ -53,5 +53,5 @@ export {
|
|
|
53
53
|
I as calendarIcon,
|
|
54
54
|
f as calendarModeDefaultPlaceholder,
|
|
55
55
|
g as calendarNavIcons,
|
|
56
|
-
|
|
56
|
+
h as calendarPopoverClassName
|
|
57
57
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as n, Fragment as g, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { DialIcon as k } from "../../Icon/Icon.js";
|
|
3
3
|
import { CheckboxBox as S } from "../Checkbox/CheckboxBox.js";
|
|
4
4
|
import { EllipsisTooltip as T } from "../EllipsisTooltip/EllipsisTooltip.js";
|
|
@@ -13,19 +13,19 @@ const O = ({
|
|
|
13
13
|
description: f,
|
|
14
14
|
mark: s = o.None,
|
|
15
15
|
selected: r = !1,
|
|
16
|
-
danger:
|
|
17
|
-
trailing:
|
|
16
|
+
danger: h = !1,
|
|
17
|
+
trailing: u,
|
|
18
18
|
rightControl: m,
|
|
19
19
|
ellipsisLabel: I = !1,
|
|
20
20
|
labelClassName: x,
|
|
21
|
-
children:
|
|
22
|
-
className:
|
|
21
|
+
children: d,
|
|
22
|
+
className: v,
|
|
23
23
|
disabled: a = !1,
|
|
24
24
|
type: C = "button",
|
|
25
25
|
...w
|
|
26
26
|
}) => {
|
|
27
|
-
const y = r && s === o.Highlight, b = r && (s === o.Checkbox || s === o.Tint),
|
|
28
|
-
|
|
27
|
+
const y = r && s === o.Highlight, b = r && (s === o.Checkbox || s === o.Tint), i = e(
|
|
28
|
+
h && "text-error",
|
|
29
29
|
a && "text-control-disable-primary"
|
|
30
30
|
), p = e(
|
|
31
31
|
j,
|
|
@@ -35,33 +35,33 @@ const O = ({
|
|
|
35
35
|
y && M,
|
|
36
36
|
b && H,
|
|
37
37
|
a && D,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
h && "text-error",
|
|
39
|
+
v,
|
|
40
40
|
A.menuItem
|
|
41
|
-
), N = /* @__PURE__ */
|
|
41
|
+
), N = /* @__PURE__ */ n(
|
|
42
42
|
"button",
|
|
43
43
|
{
|
|
44
44
|
type: C,
|
|
45
45
|
disabled: a,
|
|
46
46
|
"data-menu-item-row": m ? "" : void 0,
|
|
47
|
-
className: m ? "flex h-full min-w-0 flex-1 items-center gap-2 truncate text-start focus-visible:outline-
|
|
47
|
+
className: m ? "flex h-full min-w-0 flex-1 items-center gap-2 truncate text-start focus-visible:outline-hidden" : p,
|
|
48
48
|
...w,
|
|
49
49
|
children: [
|
|
50
|
-
|
|
50
|
+
d ?? /* @__PURE__ */ n(g, { children: [
|
|
51
51
|
s === o.Checkbox && /* @__PURE__ */ t(S, { isSelected: r, disabled: a }),
|
|
52
|
-
c && /* @__PURE__ */ t(k, { icon: c, className:
|
|
52
|
+
c && /* @__PURE__ */ t(k, { icon: c, className: i }),
|
|
53
53
|
I ? /* @__PURE__ */ t(
|
|
54
54
|
T,
|
|
55
55
|
{
|
|
56
56
|
text: l,
|
|
57
|
-
className: e(
|
|
57
|
+
className: e(i, x)
|
|
58
58
|
}
|
|
59
59
|
) : /* @__PURE__ */ t(
|
|
60
60
|
"span",
|
|
61
61
|
{
|
|
62
62
|
className: e(
|
|
63
63
|
"min-w-0 flex-1 truncate text-start",
|
|
64
|
-
|
|
64
|
+
i,
|
|
65
65
|
x
|
|
66
66
|
),
|
|
67
67
|
children: l
|
|
@@ -79,7 +79,7 @@ const O = ({
|
|
|
79
79
|
),
|
|
80
80
|
r && s === o.Check && L
|
|
81
81
|
] }),
|
|
82
|
-
|
|
82
|
+
u && /* @__PURE__ */ t("span", { className: e("ml-auto shrink-0", i), children: u })
|
|
83
83
|
]
|
|
84
84
|
}
|
|
85
85
|
);
|
|
@@ -88,7 +88,7 @@ const O = ({
|
|
|
88
88
|
`role="none"` so the wrapper does not come between a listbox and its
|
|
89
89
|
options: the row inside it keeps the role, the state and the click.
|
|
90
90
|
*/
|
|
91
|
-
/* @__PURE__ */
|
|
91
|
+
/* @__PURE__ */ n(
|
|
92
92
|
"div",
|
|
93
93
|
{
|
|
94
94
|
role: "none",
|
|
@@ -68,7 +68,7 @@ const ne = ({
|
|
|
68
68
|
inert: !t,
|
|
69
69
|
style: w,
|
|
70
70
|
className: r(
|
|
71
|
-
"fixed inset-y-0 end-0 flex w-full flex-col overflow-hidden bg-layer-raised outline-
|
|
71
|
+
"fixed inset-y-0 end-0 flex w-full flex-col overflow-hidden bg-layer-raised outline-hidden",
|
|
72
72
|
"desktop:w-[540px] desktop:rounded-s-xl desktop:border-s desktop:border-secondary",
|
|
73
73
|
"transition-transform duration-300 motion-reduce:transition-none",
|
|
74
74
|
t ? "translate-x-0" : "translate-x-full rtl:-translate-x-full",
|
|
@@ -410,7 +410,7 @@ const vt = ({
|
|
|
410
410
|
onKeyDown: (e) => {
|
|
411
411
|
e.stopPropagation();
|
|
412
412
|
},
|
|
413
|
-
className: "bg-transparent outline-
|
|
413
|
+
className: "bg-transparent outline-hidden w-full dial-small-text",
|
|
414
414
|
ref: P,
|
|
415
415
|
disabled: c,
|
|
416
416
|
"aria-disabled": c,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { DIAL_ICON_SIZE as t } from "../../constants/icon.js";
|
|
3
3
|
import { IconChevronDown as a } from "@tabler/icons-react";
|
|
4
|
-
const
|
|
4
|
+
const o = "dial-input flex w-full items-center justify-between gap-2 dial-small-text cursor-pointer", n = "w-full rounded flex flex-col", r = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small-text text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-hidden", i = "bg-accent-primary-alpha", p = "bg-accent-primary-alpha border-l border-accent-primary", m = "opacity-75", u = 352, d = 4, f = /* @__PURE__ */ e(a, { size: t.SM });
|
|
5
5
|
export {
|
|
6
6
|
u as dropdownMenuMaxHeight,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
f as selectChevronIcon,
|
|
8
|
+
r as selectOptionBaseClassName,
|
|
9
9
|
m as selectOptionDisabledClassName,
|
|
10
10
|
i as selectOptionSelectedClassName,
|
|
11
11
|
p as selectOptionSingleSelectedClassName,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
n as selectOverlayBaseClassName,
|
|
13
|
+
d as selectSubMenuGap,
|
|
14
|
+
o as selectTriggerBaseClassName
|
|
15
15
|
};
|
|
@@ -121,7 +121,7 @@ const m = (t) => (t.toString().split(".")[1] ?? "").length, q = ({
|
|
|
121
121
|
"aria-label": j,
|
|
122
122
|
"aria-labelledby": X,
|
|
123
123
|
className: u(
|
|
124
|
-
"dial-small-text absolute -translate-x-1/2 flex size-[38px] cursor-grab select-none items-center justify-center rounded-full bg-layer-3 text-primary shadow focus:outline-
|
|
124
|
+
"dial-small-text absolute -translate-x-1/2 flex size-[38px] cursor-grab select-none items-center justify-center rounded-full bg-layer-3 text-primary shadow focus:outline-hidden focus-visible:ring-2 focus-visible:ring-focus",
|
|
125
125
|
P
|
|
126
126
|
),
|
|
127
127
|
style: { left: `${v}%` },
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsxs as f, jsx as
|
|
1
|
+
import { jsxs as f, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { IconExclamationCircle as x, IconCheck as d } from "@tabler/icons-react";
|
|
3
|
-
import { StepStatus as
|
|
4
|
-
import
|
|
3
|
+
import { StepStatus as e } from "../../models/step.js";
|
|
4
|
+
import i from "classnames";
|
|
5
5
|
import { getCircleClass as C, getStepClass as p } from "./utils.js";
|
|
6
6
|
import { DIAL_ICON_SIZE as o } from "../../constants/icon.js";
|
|
7
7
|
const g = ({
|
|
8
8
|
step: t,
|
|
9
9
|
index: n,
|
|
10
|
-
currentStep:
|
|
10
|
+
currentStep: s,
|
|
11
11
|
onChangeStep: l
|
|
12
12
|
}) => {
|
|
13
|
-
const a = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny-text cursor-pointer dial-step", m = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full
|
|
13
|
+
const a = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny-text cursor-pointer dial-step", m = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full", c = () => s === t.id && t.status === e.ERROR ? /* @__PURE__ */ r(x, { stroke: 2, size: o.SM }) : s !== t.id && t.status === e.VALID ? /* @__PURE__ */ r(d, { stroke: 2, size: o.SM }) : n + 1;
|
|
14
14
|
return /* @__PURE__ */ f(
|
|
15
15
|
"button",
|
|
16
16
|
{
|
|
17
|
-
className:
|
|
17
|
+
className: i(a, p(t, s)),
|
|
18
18
|
onClick: () => l(t.id),
|
|
19
19
|
children: [
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ r(
|
|
21
21
|
"span",
|
|
22
22
|
{
|
|
23
|
-
className:
|
|
23
|
+
className: i(m, C(t, s)),
|
|
24
24
|
children: c()
|
|
25
25
|
}
|
|
26
26
|
),
|
|
27
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ r("span", { children: t.name })
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
);
|
|
@@ -121,7 +121,7 @@ const k = 8, ne = 24, fe = ({
|
|
|
121
121
|
onKeyDown: Q,
|
|
122
122
|
onBlur: Y,
|
|
123
123
|
className: v(
|
|
124
|
-
"dial-input outline-
|
|
124
|
+
"dial-input outline-hidden !border-none w-full flex-1 !p-1 !h-auto",
|
|
125
125
|
i ? "min-w-0" : "min-w-[100px]"
|
|
126
126
|
),
|
|
127
127
|
placeholder: X ?? "",
|