@wipco/sdui 0.40.0 → 0.41.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/dist/{DatePicker-B5Q3XhAY.d.ts → DatePicker-BK_jsV7i.d.ts} +1 -1
- package/dist/{chunk-SET7XWBR.js → chunk-23VK3GYJ.js} +2 -2
- package/dist/{chunk-B6ZBQCSI.js → chunk-3SLRFWVS.js} +2 -2
- package/dist/{chunk-IMVCYJ6G.js → chunk-3YXCPPTE.js} +3 -3
- package/dist/{chunk-5AAOEC4Q.js → chunk-47B6RYOF.js} +3 -3
- package/dist/{chunk-VMHG4IFO.js → chunk-4WHJ2DUP.js} +1 -1
- package/dist/{chunk-LVCIHZ45.js → chunk-5N7DANNM.js} +4 -4
- package/dist/{chunk-AMVQ2LHD.js → chunk-5WYPKIXU.js} +3 -3
- package/dist/{chunk-I3UJ4ZCQ.js → chunk-7A4OWANN.js} +1 -1
- package/dist/{chunk-SE3H5QCS.js → chunk-7TXK6LS7.js} +4 -2
- package/dist/{chunk-ZOUWMQSO.js → chunk-AKBVOXMH.js} +2 -2
- package/dist/{chunk-6Q4RZDBA.js → chunk-AODRYCWT.js} +1 -1
- package/dist/{chunk-CUGU5WIU.js → chunk-AZOA44R4.js} +2 -2
- package/dist/{chunk-OPEGWGU4.js → chunk-CHHAOYUC.js} +1 -1
- package/dist/{chunk-QLLBS2NM.js → chunk-CRTYWGCU.js} +3 -3
- package/dist/{chunk-2LLSXF6X.js → chunk-GANJMJZV.js} +1 -1
- package/dist/{chunk-V6I3JZSY.js → chunk-GRT4V5BH.js} +2 -2
- package/dist/{chunk-TQM2UWN2.js → chunk-HI5MY3PW.js} +2 -2
- package/dist/{chunk-73GLCVJJ.js → chunk-J3PQUPCI.js} +2 -2
- package/dist/{chunk-E3WX7A54.js → chunk-J3WZFFZG.js} +1 -1
- package/dist/{chunk-ZNGAR56U.js → chunk-JKM3AM42.js} +12 -10
- package/dist/{chunk-X2ANYFPH.js → chunk-JL2SAB2Y.js} +4 -4
- package/dist/{chunk-AZTCPRKA.js → chunk-KEAKI4VT.js} +3 -3
- package/dist/{chunk-VT3OCB76.js → chunk-LDZVLZ3H.js} +1 -1
- package/dist/{chunk-DGAGQD35.js → chunk-LGJHN6RF.js} +3 -3
- package/dist/{chunk-45QGQVFB.js → chunk-MLW3TYLC.js} +2 -2
- package/dist/{chunk-ALWAWCSB.js → chunk-MM4AVQKV.js} +3 -3
- package/dist/{chunk-CKGPE2AY.js → chunk-MSME7EBU.js} +2 -2
- package/dist/{chunk-G6CQMPOS.js → chunk-NS6RXTC5.js} +3 -3
- package/dist/{chunk-JD62GZLP.js → chunk-OK7DIJYU.js} +2 -2
- package/dist/{chunk-X4OPJJVD.js → chunk-Q3GTFOUD.js} +3 -3
- package/dist/{chunk-KTKEJHTB.js → chunk-QBBWU6PR.js} +1 -1
- package/dist/{chunk-PIVD4G3T.js → chunk-QRBZ2B7T.js} +2 -2
- package/dist/{chunk-RHQW467O.js → chunk-R2RARD7C.js} +2 -2
- package/dist/{chunk-N4LKGACS.js → chunk-RJQXY4Z7.js} +3 -3
- package/dist/{chunk-WDOTLDHG.js → chunk-U7DUTXK6.js} +2 -2
- package/dist/{chunk-3W4Q7X65.js → chunk-UJ57GOID.js} +3 -3
- package/dist/{chunk-LSKLL2CR.js → chunk-UNQRZWUV.js} +3 -3
- package/dist/{chunk-Q2FNUNG6.js → chunk-VXJVGUKE.js} +2 -2
- package/dist/{chunk-TUB3PFKQ.js → chunk-W3HJGDAK.js} +2 -2
- package/dist/{chunk-LBKIBSHY.js → chunk-WOGLJBBD.js} +1 -1
- package/dist/{chunk-2VJIERUW.js → chunk-XHW33PRH.js} +2 -2
- package/dist/{chunk-YGX4I6ZT.js → chunk-YZ2YOPUU.js} +2 -2
- package/dist/{chunk-6FLEB6A6.js → chunk-Z3VU7XQV.js} +2 -2
- package/dist/{chunk-M2Q2ZQIX.js → chunk-ZGNYD2ZP.js} +2 -2
- package/dist/{chunk-ANNLDR3C.js → chunk-ZYH4U3LJ.js} +3 -3
- package/dist/index.d.ts +9 -9
- package/dist/index.js +17 -17
- package/dist/{layout-C7uTe1ue.d.ts → layout-C3nRXMwb.d.ts} +13 -0
- package/dist/meta.js +48 -0
- package/dist/rich/ExcelUploadCard.d.ts +1 -1
- package/dist/rich/ExcelUploadCard.js +3 -3
- package/dist/rich.d.ts +2 -2
- package/dist/rich.js +6 -6
- package/dist/widgets/ApprovalLineEditor.d.ts +1 -1
- package/dist/widgets/ApprovalLineEditor.js +5 -5
- package/dist/widgets/ApprovalOverridesEditor.d.ts +1 -1
- package/dist/widgets/ApprovalOverridesEditor.js +7 -7
- package/dist/widgets/ApprovalStepper.d.ts +1 -1
- package/dist/widgets/ApprovalStepper.js +3 -3
- package/dist/widgets/AutocompleteField.d.ts +1 -1
- package/dist/widgets/AutocompleteField.js +5 -5
- package/dist/widgets/ColumnBoard.d.ts +1 -1
- package/dist/widgets/ColumnBoard.js +3 -3
- package/dist/widgets/DiffView.d.ts +1 -1
- package/dist/widgets/DiffView.js +3 -3
- package/dist/widgets/Disclosure.d.ts +1 -1
- package/dist/widgets/Disclosure.js +3 -3
- package/dist/widgets/EventCalendar.d.ts +1 -1
- package/dist/widgets/EventCalendar.js +3 -3
- package/dist/widgets/FileDropzone.d.ts +1 -1
- package/dist/widgets/FileDropzone.js +5 -5
- package/dist/widgets/ImageLightbox.d.ts +1 -1
- package/dist/widgets/ImageLightbox.js +4 -4
- package/dist/widgets/InlineEdit.d.ts +1 -1
- package/dist/widgets/InlineEdit.js +3 -3
- package/dist/widgets/JsonField.d.ts +1 -1
- package/dist/widgets/JsonField.js +3 -3
- package/dist/widgets/LiveClock.d.ts +1 -1
- package/dist/widgets/LiveClock.js +2 -2
- package/dist/widgets/OptionSchemaEditor.d.ts +1 -1
- package/dist/widgets/OptionSchemaEditor.js +4 -4
- package/dist/widgets/OptionValueFields.d.ts +1 -1
- package/dist/widgets/OptionValueFields.js +4 -4
- package/dist/widgets/OrgChart.d.ts +1 -1
- package/dist/widgets/OrgChart.js +3 -3
- package/dist/widgets/OrgChartBoard.d.ts +1 -1
- package/dist/widgets/OrgChartBoard.js +5 -5
- package/dist/widgets/PeriodFilter.d.ts +1 -1
- package/dist/widgets/PeriodFilter.js +4 -4
- package/dist/widgets/PermissionMatrixEditor.d.ts +1 -1
- package/dist/widgets/PermissionMatrixEditor.js +3 -3
- package/dist/widgets/PositionSelect.d.ts +1 -1
- package/dist/widgets/PositionSelect.js +3 -3
- package/dist/widgets/PrintSheet.d.ts +1 -1
- package/dist/widgets/PrintSheet.js +3 -3
- package/dist/widgets/ProfileEditDiffCard.d.ts +1 -1
- package/dist/widgets/ProfileEditDiffCard.js +3 -3
- package/dist/widgets/QRDisplay.d.ts +1 -1
- package/dist/widgets/QRDisplay.js +3 -3
- package/dist/widgets/RankBoard.d.ts +1 -1
- package/dist/widgets/RankBoard.js +4 -4
- package/dist/widgets/RecordSheet.d.ts +1 -1
- package/dist/widgets/RecordSheet.js +2 -2
- package/dist/widgets/RoleMemberPicker.d.ts +1 -1
- package/dist/widgets/RoleMemberPicker.js +3 -3
- package/dist/widgets/SearchableMultiPicker.d.ts +1 -1
- package/dist/widgets/SearchableMultiPicker.js +5 -5
- package/dist/widgets/SecureScreen.d.ts +1 -1
- package/dist/widgets/SecureScreen.js +3 -3
- package/dist/widgets/StackedMeter.d.ts +1 -1
- package/dist/widgets/StackedMeter.js +2 -2
- package/dist/widgets/StagePeriodEditor.d.ts +1 -1
- package/dist/widgets/StagePeriodEditor.js +5 -5
- package/dist/widgets/Strip.d.ts +1 -1
- package/dist/widgets/Strip.js +2 -2
- package/dist/widgets/SummaryTable.d.ts +1 -1
- package/dist/widgets/SummaryTable.js +2 -2
- package/dist/widgets/TagMultiSelect.d.ts +1 -1
- package/dist/widgets/TagMultiSelect.js +3 -3
- package/dist/widgets/Timeline.d.ts +1 -1
- package/dist/widgets/Timeline.js +4 -4
- package/dist/widgets/TreePicker.d.ts +1 -1
- package/dist/widgets/TreePicker.js +6 -6
- package/dist/widgets/TreeView.d.ts +1 -1
- package/dist/widgets/TreeView.js +5 -5
- package/dist/widgets/index.d.ts +1 -1
- package/dist/widgets/index.js +78 -78
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconButton, Input } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { IconButton, Input } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImageViewer } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { ImageViewer } from './chunk-LDZVLZ3H.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DateRangePicker } from './chunk-
|
|
2
|
-
import { SegmentedControl, Select } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { DateRangePicker } from './chunk-AKBVOXMH.js';
|
|
2
|
+
import { SegmentedControl, Select } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Text } from './chunk-
|
|
2
|
-
import { Switch, Field, Select, Input } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Text } from './chunk-JKM3AM42.js';
|
|
2
|
+
import { Switch, Field, Select, Input } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import React, { useMemo } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TagMultiSelect } from './chunk-
|
|
2
|
-
import { ApprovalLineEditor, stepTypeIcon, stepLabel } from './chunk-
|
|
1
|
+
import { TagMultiSelect } from './chunk-ZGNYD2ZP.js';
|
|
2
|
+
import { ApprovalLineEditor, stepTypeIcon, stepLabel } from './chunk-5WYPKIXU.js';
|
|
3
3
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
4
|
-
import { Card, Icon, Input, IconButton, Field, Button, Badge } from './chunk-
|
|
5
|
-
import { boxed } from './chunk-
|
|
4
|
+
import { Card, Icon, Input, IconButton, Field, Button, Badge } from './chunk-WOGLJBBD.js';
|
|
5
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
6
6
|
import React, { useState, useEffect } from 'react';
|
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { includesLooseSearch } from './chunk-
|
|
1
|
+
import { includesLooseSearch } from './chunk-W3HJGDAK.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Icon, Badge, IconButton, Field, Select, Input, Tag, Spinner, Button } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Icon, Badge, IconButton, Field, Select, Input, Tag, Spinner, Button } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import React, { useState, useId, useRef, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -56,13 +56,15 @@ function lookup(table, value) {
|
|
|
56
56
|
}
|
|
57
57
|
function containerLayoutStyle(props) {
|
|
58
58
|
const gap = lookup(GAP_CSS, props.gap);
|
|
59
|
+
const rowGap = lookup(GAP_CSS, props.rowGap);
|
|
60
|
+
const columnGap = lookup(GAP_CSS, props.columnGap);
|
|
59
61
|
const alignItems = lookup(ALIGN_CSS, props.align);
|
|
60
62
|
const justifyContent = lookup(JUSTIFY_CSS, props.justify);
|
|
61
63
|
const flexWrap = props.wrap === void 0 ? void 0 : props.wrap ? "wrap" : "nowrap";
|
|
62
|
-
if (gap === void 0 && alignItems === void 0 && justifyContent === void 0 && flexWrap === void 0) {
|
|
64
|
+
if (gap === void 0 && rowGap === void 0 && columnGap === void 0 && alignItems === void 0 && justifyContent === void 0 && flexWrap === void 0) {
|
|
63
65
|
return void 0;
|
|
64
66
|
}
|
|
65
|
-
return { gap, alignItems, justifyContent, flexWrap };
|
|
67
|
+
return { gap, rowGap, columnGap, alignItems, justifyContent, flexWrap };
|
|
66
68
|
}
|
|
67
69
|
function columnsClass(columns) {
|
|
68
70
|
const n = Number(columns);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useOverlayLayer, OverlayContainerContext, getOverlayRoot } from './chunk-XQPTSEJC.js';
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Icon } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import React, { useState, useRef, useMemo, useEffect, useCallback, useLayoutEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
import { createPortal } from 'react-dom';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OverlayLayer } from './chunk-XQPTSEJC.js';
|
|
2
|
-
import { Dialog, warnOnce } from './chunk-
|
|
2
|
+
import { Dialog, warnOnce } from './chunk-WOGLJBBD.js';
|
|
3
3
|
import { createContext, useContext, useMemo } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Select, Button } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Select, Button } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useEffect, useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useDismiss, usePopoverAnchor, usePortalTo, HoistedStyle, AnchoredPopoverStyles, anchorStyle, focusStaysInside } from './chunk-
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { useDismiss, usePopoverAnchor, usePortalTo, HoistedStyle, AnchoredPopoverStyles, anchorStyle, focusStaysInside } from './chunk-AKBVOXMH.js';
|
|
2
|
+
import { Icon } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAssetResolver } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Spinner, Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Spinner, Icon } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon, Badge, Tooltip } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon, Badge, Tooltip } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mergeStyle, containerLayoutStyle, joinClass, columnsClass, typographyStyle } from './chunk-
|
|
1
|
+
import { mergeStyle, containerLayoutStyle, joinClass, columnsClass, typographyStyle } from './chunk-7TXK6LS7.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -21,6 +21,8 @@ function Grid({
|
|
|
21
21
|
columns = 3,
|
|
22
22
|
template,
|
|
23
23
|
gap,
|
|
24
|
+
rowGap,
|
|
25
|
+
columnGap,
|
|
24
26
|
align,
|
|
25
27
|
justify,
|
|
26
28
|
wrap,
|
|
@@ -36,7 +38,7 @@ function Grid({
|
|
|
36
38
|
style: mergeStyle(
|
|
37
39
|
{
|
|
38
40
|
...template ? { gridTemplateColumns: template } : null,
|
|
39
|
-
...containerLayoutStyle({ gap, align, justify, wrap }),
|
|
41
|
+
...containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }),
|
|
40
42
|
...paddingStyle(padding)
|
|
41
43
|
},
|
|
42
44
|
style
|
|
@@ -61,34 +63,34 @@ var CONTAINER_ROLES = /* @__PURE__ */ new Set([
|
|
|
61
63
|
function containerRole(role) {
|
|
62
64
|
return role !== void 0 && CONTAINER_ROLES.has(role) ? role : void 0;
|
|
63
65
|
}
|
|
64
|
-
function Row({ justify, gap, align, wrap, role, ariaLabel, className, style, children }) {
|
|
66
|
+
function Row({ justify, gap, rowGap, columnGap, align, wrap, role, ariaLabel, className, style, children }) {
|
|
65
67
|
return /* @__PURE__ */ jsx(
|
|
66
68
|
"div",
|
|
67
69
|
{
|
|
68
70
|
className: joinClass("wp-row", justify === "between" && "wp-row--between", className),
|
|
69
|
-
style: mergeStyle(containerLayoutStyle({ gap, align, justify, wrap }), style),
|
|
71
|
+
style: mergeStyle(containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }), style),
|
|
70
72
|
role: containerRole(role),
|
|
71
73
|
"aria-label": ariaLabel,
|
|
72
74
|
children
|
|
73
75
|
}
|
|
74
76
|
);
|
|
75
77
|
}
|
|
76
|
-
function Actions({ justify = "end", gap, align, wrap, className, style, children }) {
|
|
78
|
+
function Actions({ justify = "end", gap, rowGap, columnGap, align, wrap, className, style, children }) {
|
|
77
79
|
return /* @__PURE__ */ jsx(
|
|
78
80
|
"div",
|
|
79
81
|
{
|
|
80
82
|
className: joinClass("wp-row", className),
|
|
81
|
-
style: mergeStyle({ flex: 1, ...containerLayoutStyle({ gap, align, justify, wrap }) }, style),
|
|
83
|
+
style: mergeStyle({ flex: 1, ...containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }) }, style),
|
|
82
84
|
children
|
|
83
85
|
}
|
|
84
86
|
);
|
|
85
87
|
}
|
|
86
|
-
function Col({ gap, align, justify, wrap, role, ariaLabel, className, style, children }) {
|
|
88
|
+
function Col({ gap, rowGap, columnGap, align, justify, wrap, role, ariaLabel, className, style, children }) {
|
|
87
89
|
return /* @__PURE__ */ jsx(
|
|
88
90
|
"div",
|
|
89
91
|
{
|
|
90
92
|
className: joinClass("wp-col", className),
|
|
91
|
-
style: mergeStyle(containerLayoutStyle({ gap, align, justify, wrap }), style),
|
|
93
|
+
style: mergeStyle(containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }), style),
|
|
92
94
|
role: containerRole(role),
|
|
93
95
|
"aria-label": ariaLabel,
|
|
94
96
|
children
|
|
@@ -106,12 +108,12 @@ function Spacer({ size, className, style }) {
|
|
|
106
108
|
}
|
|
107
109
|
);
|
|
108
110
|
}
|
|
109
|
-
function Section({ title, gap, align, justify, wrap, className, style, children }) {
|
|
111
|
+
function Section({ title, gap, rowGap, columnGap, align, justify, wrap, className, style, children }) {
|
|
110
112
|
return /* @__PURE__ */ jsxs(
|
|
111
113
|
"section",
|
|
112
114
|
{
|
|
113
115
|
className: joinClass("wp-col", className),
|
|
114
|
-
style: mergeStyle(containerLayoutStyle({ gap, align, justify, wrap }), style),
|
|
116
|
+
style: mergeStyle(containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }), style),
|
|
115
117
|
children: [
|
|
116
118
|
title ? /* @__PURE__ */ jsx("h2", { className: "wp-h4", children: title }) : null,
|
|
117
119
|
children
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TimePicker } from './chunk-
|
|
2
|
-
import { DatePicker } from './chunk-
|
|
3
|
-
import { Field } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { TimePicker } from './chunk-CRTYWGCU.js';
|
|
2
|
+
import { DatePicker } from './chunk-AKBVOXMH.js';
|
|
3
|
+
import { Field } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveTreeNodes, TreeView } from './chunk-
|
|
1
|
+
import { resolveTreeNodes, TreeView } from './chunk-UJ57GOID.js';
|
|
2
2
|
import { OverlayLayer } from './chunk-XQPTSEJC.js';
|
|
3
|
-
import { Field, Dialog, Icon, Button, Input } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Field, Dialog, Icon, Button, Input } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useState, useMemo, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageLightbox } from './chunk-
|
|
1
|
+
import { ImageLightbox } from './chunk-3SLRFWVS.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Badge, Button, IconButton, Icon } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Badge, Button, IconButton, Icon } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useState, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Button } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Text } from './chunk-
|
|
2
|
-
import { Field, Input, Select, IconButton, Button } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Text } from './chunk-JKM3AM42.js';
|
|
2
|
+
import { Field, Input, Select, IconButton, Button } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Badge, Checkbox, IconButton, Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Badge, Checkbox, IconButton, Icon } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Disclosure } from './chunk-
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Disclosure } from './chunk-QRBZ2B7T.js';
|
|
2
|
+
import { Icon } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
var TYPE_META = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconButton, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { IconButton, Badge } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useRef, useState, useMemo, useCallback, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { includesLooseSearch } from './chunk-
|
|
1
|
+
import { includesLooseSearch } from './chunk-W3HJGDAK.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Icon, Button, Input, Spinner } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Icon, Button, Input, Spinner } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useId, useRef, useMemo, useState, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useId, useCallback } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl, IconButton, Button, Tag, EmptyState, Icon, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { SegmentedControl, IconButton, Button, Tag, EmptyState, Icon, Badge } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useMemo } from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageLightbox } from './chunk-
|
|
1
|
+
import { ImageLightbox } from './chunk-3SLRFWVS.js';
|
|
2
2
|
import { useSduiSandbox, useSduiAdapter, hostRawFetchOf, defaultAdapter, useSduiAssetResolver } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Spinner, Icon, IconButton } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Spinner, Icon, IconButton } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Alert, Badge, Spinner, Button, Input, Checkbox } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Alert, Badge, Spinner, Button, Input, Checkbox } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useMemo, useState, useRef, useCallback, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { buildCascadingTree } from './chunk-
|
|
2
|
-
import { Input, IconButton, EmptyState, Icon, Badge } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { buildCascadingTree } from './chunk-W3HJGDAK.js';
|
|
2
|
+
import { Input, IconButton, EmptyState, Icon, Badge } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import React, { useMemo, useState, useRef, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { includesLooseSearch } from './chunk-
|
|
1
|
+
import { includesLooseSearch } from './chunk-W3HJGDAK.js';
|
|
2
2
|
import { OverlayLayer } from './chunk-XQPTSEJC.js';
|
|
3
|
-
import { Button, Dialog, Input, Tag, Checkbox } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Button, Dialog, Input, Tag, Checkbox } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import React, { useMemo, useState, useEffect } from 'react';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon, Badge } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DateRangePicker } from './chunk-
|
|
1
|
+
import { DateRangePicker } from './chunk-AKBVOXMH.js';
|
|
2
2
|
import { useOverlayLayer } from './chunk-XQPTSEJC.js';
|
|
3
|
-
import { Input, Button, IconButton, Tag, Field, Checkbox } from './chunk-
|
|
3
|
+
import { Input, Button, IconButton, Tag, Field, Checkbox } from './chunk-WOGLJBBD.js';
|
|
4
4
|
import { useRef, useEffect, useState, useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Textarea, Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Textarea, Icon } from './chunk-WOGLJBBD.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useRef, useId, useEffect, useCallback } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Spinner, Badge, Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Spinner, Badge, Icon } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Icon, Badge, Checkbox, Select, Button } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Icon, Badge, Checkbox, Select, Button } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useRef, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Badge, Tag } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Badge, Tag } from './chunk-WOGLJBBD.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useRef, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useSduiDispatch, useSduiCan, SduiDialog } from './chunk-
|
|
1
|
+
import { useSduiDispatch, useSduiCan, SduiDialog } from './chunk-AODRYCWT.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Card, Input, Button, Icon, Badge, IconButton } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Card, Input, Button, Icon, Badge, IconButton } from './chunk-WOGLJBBD.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import React, { useState, useEffect, useCallback, useMemo } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import React__default, { CSSProperties, ReactNode, ComponentType } from 'react';
|
|
3
3
|
import { S as SduiPage, a as SduiAction, b as SduiPropValue, c as SduiRule } from './types-Bx3oingj.js';
|
|
4
4
|
export { d as SduiArgRef, e as SduiCalcRef, f as SduiChild, g as SduiIndexRef, h as SduiItemRef, i as SduiNode, j as SduiPageQuery, k as SduiScalar, l as SduiStateRef } from './types-Bx3oingj.js';
|
|
5
|
-
import { S as SduiBoxProps, a as SduiContainerLayoutProps, b as SduiColumnsScale, c as SduiGapScale, d as SduiWeightScale, e as SduiTextAlignScale } from './layout-
|
|
6
|
-
export { C as CHILD_LAYOUT_PROPS, L as LAYOUT_CSS, f as SduiAlignScale, g as SduiChildLayoutProps, h as SduiSizeScale, i as SduiSpanScale, j as childLayoutFrom, k as columnsClass, l as containerLayoutStyle, m as joinClass, n as mergeStyle, t as typographyStyle } from './layout-
|
|
7
|
-
import { D as DatePickerProps, a as DateRangePickerProps, T as TimePickerProps } from './DatePicker-
|
|
8
|
-
export { b as DatePicker, c as DateRangePicker, d as DateRangeValue, e as TimePicker } from './DatePicker-
|
|
5
|
+
import { S as SduiBoxProps, a as SduiContainerLayoutProps, b as SduiColumnsScale, c as SduiGapScale, d as SduiWeightScale, e as SduiTextAlignScale } from './layout-C3nRXMwb.js';
|
|
6
|
+
export { C as CHILD_LAYOUT_PROPS, L as LAYOUT_CSS, f as SduiAlignScale, g as SduiChildLayoutProps, h as SduiSizeScale, i as SduiSpanScale, j as childLayoutFrom, k as columnsClass, l as containerLayoutStyle, m as joinClass, n as mergeStyle, t as typographyStyle } from './layout-C3nRXMwb.js';
|
|
7
|
+
import { D as DatePickerProps, a as DateRangePickerProps, T as TimePickerProps } from './DatePicker-BK_jsV7i.js';
|
|
8
|
+
export { b as DatePicker, c as DateRangePicker, d as DateRangeValue, e as TimePicker } from './DatePicker-BK_jsV7i.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* 호스트 앱 연결점 — ERP에서는 라우터·erpFetch·SSE가 하던 일을
|
|
@@ -1264,7 +1264,7 @@ interface GridProps extends SduiContainerLayoutProps {
|
|
|
1264
1264
|
style?: React__default.CSSProperties;
|
|
1265
1265
|
children?: React__default.ReactNode;
|
|
1266
1266
|
}
|
|
1267
|
-
declare function Grid({ columns, template, gap, align, justify, wrap, padding, className, style, children, }: GridProps): React__default.JSX.Element;
|
|
1267
|
+
declare function Grid({ columns, template, gap, rowGap, columnGap, align, justify, wrap, padding, className, style, children, }: GridProps): React__default.JSX.Element;
|
|
1268
1268
|
type Justify = 'start' | 'center' | 'end' | 'between';
|
|
1269
1269
|
interface SduiContainerRoleProps {
|
|
1270
1270
|
/**
|
|
@@ -1282,7 +1282,7 @@ interface RowProps extends SduiContainerLayoutProps, SduiContainerRoleProps {
|
|
|
1282
1282
|
style?: React__default.CSSProperties;
|
|
1283
1283
|
children?: React__default.ReactNode;
|
|
1284
1284
|
}
|
|
1285
|
-
declare function Row({ justify, gap, align, wrap, role, ariaLabel, className, style, children }: RowProps): React__default.JSX.Element;
|
|
1285
|
+
declare function Row({ justify, gap, rowGap, columnGap, align, wrap, role, ariaLabel, className, style, children }: RowProps): React__default.JSX.Element;
|
|
1286
1286
|
interface ActionsProps extends SduiContainerLayoutProps {
|
|
1287
1287
|
/** 가로 정렬 — 기본 end(우측) */
|
|
1288
1288
|
justify?: Justify;
|
|
@@ -1296,13 +1296,13 @@ interface ActionsProps extends SduiContainerLayoutProps {
|
|
|
1296
1296
|
* `justify = 'end'`가 **2단(타입별 기본)의 실제 사례**다. 전역 기본은 `.wp-row`의
|
|
1297
1297
|
* `flex-start`인데 이 타입만 `end`로 시작하고, 스펙이 `justify`를 주면 그것이 이긴다.
|
|
1298
1298
|
*/
|
|
1299
|
-
declare function Actions({ justify, gap, align, wrap, className, style, children }: ActionsProps): React__default.JSX.Element;
|
|
1299
|
+
declare function Actions({ justify, gap, rowGap, columnGap, align, wrap, className, style, children }: ActionsProps): React__default.JSX.Element;
|
|
1300
1300
|
interface ColProps extends SduiContainerLayoutProps, SduiContainerRoleProps {
|
|
1301
1301
|
className?: string;
|
|
1302
1302
|
style?: React__default.CSSProperties;
|
|
1303
1303
|
children?: React__default.ReactNode;
|
|
1304
1304
|
}
|
|
1305
|
-
declare function Col({ gap, align, justify, wrap, role, ariaLabel, className, style, children }: ColProps): React__default.JSX.Element;
|
|
1305
|
+
declare function Col({ gap, rowGap, columnGap, align, justify, wrap, role, ariaLabel, className, style, children }: ColProps): React__default.JSX.Element;
|
|
1306
1306
|
interface SpacerProps {
|
|
1307
1307
|
/**
|
|
1308
1308
|
* 간격 토큰 단계(`--wp-space-N`). 주면 "남는 공간 밀어내기"가 아니라
|
|
@@ -1319,7 +1319,7 @@ interface SectionProps extends SduiContainerLayoutProps {
|
|
|
1319
1319
|
style?: React__default.CSSProperties;
|
|
1320
1320
|
children?: React__default.ReactNode;
|
|
1321
1321
|
}
|
|
1322
|
-
declare function Section({ title, gap, align, justify, wrap, className, style, children }: SectionProps): React__default.JSX.Element;
|
|
1322
|
+
declare function Section({ title, gap, rowGap, columnGap, align, justify, wrap, className, style, children }: SectionProps): React__default.JSX.Element;
|
|
1323
1323
|
type TextPreset = 'display-1' | 'display-2' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body-lg' | 'body' | 'body-sm' | 'caption' | 'label' | 'overline' | 'micro' | 'metric' | 'metric-sm' | 'mono' | 'mono-xs'
|
|
1324
1324
|
/**
|
|
1325
1325
|
* 프리셋을 입히지 않는다 — 이 자리의 타이포를 그대로 물려받는다.
|