@progress/kendo-react-common 9.3.1 → 9.4.0-develop.10
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/Draggable.js +2 -1
- package/Draggable.mjs +15 -15
- package/Droppable.js +2 -1
- package/Droppable.mjs +5 -5
- package/FormComponent.js +2 -1
- package/FormComponent.mjs +2 -2
- package/apply-default-props.js +1 -1
- package/apply-default-props.mjs +5 -6
- package/browser-support.service.js +1 -1
- package/browser-support.service.mjs +0 -1
- package/canUseDOM.js +1 -1
- package/canUseDOM.mjs +0 -1
- package/canUseRef.js +1 -1
- package/canUseRef.mjs +4 -5
- package/classNames.js +1 -1
- package/classNames.mjs +6 -7
- package/clone.js +1 -1
- package/clone.mjs +6 -7
- package/constants/main.js +1 -1
- package/constants/main.mjs +4 -5
- package/contexts/AdaptiveModeContext.js +2 -1
- package/contexts/AdaptiveModeContext.mjs +2 -2
- package/contexts/ZIndexContext.js +2 -1
- package/dist/cdn/js/kendo-react-common.js +8 -1
- package/drag-n-drop/context/index.js +2 -1
- package/drag-n-drop/index.js +2 -1
- package/drag-n-drop/index.mjs +3 -3
- package/events/dispatchEvent.js +1 -1
- package/events/dispatchEvent.mjs +2 -3
- package/fieldList.js +1 -1
- package/fieldList.mjs +5 -6
- package/getActiveElement.js +1 -1
- package/getActiveElement.mjs +0 -1
- package/getTabIndex.js +1 -1
- package/getTabIndex.mjs +5 -6
- package/getter.js +1 -1
- package/getter.mjs +4 -5
- package/guid.js +1 -1
- package/guid.mjs +5 -6
- package/hasRelativeStackingContext.js +1 -1
- package/hasRelativeStackingContext.mjs +2 -3
- package/hocs/AsyncFocusBlur.js +2 -1
- package/hocs/AsyncFocusBlur.mjs +4 -4
- package/hocs/use-adaptive-mode-hoc.js +2 -1
- package/hocs/use-adaptive-mode-hoc.mjs +2 -2
- package/hocs/use-id-hoc.js +2 -1
- package/hocs/use-id-hoc.mjs +6 -6
- package/hocs/use-unstyled-hoc.js +2 -1
- package/hocs/use-unstyled-hoc.mjs +5 -5
- package/hocs/withPropsContext.js +2 -1
- package/hooks/use-id.js +2 -1
- package/hooks/use-id.mjs +12 -12
- package/hooks/use-isomorphic-layout-effect.js +2 -1
- package/hooks/use-isomorphic-layout-effect.mjs +2 -2
- package/hooks/useAsyncFocusBlur.js +2 -1
- package/hooks/useAsyncFocusBlur.mjs +6 -6
- package/hooks/useCollection.js +2 -1
- package/hooks/useCollection.mjs +2 -2
- package/hooks/useControlledState.js +2 -1
- package/hooks/useControlledState.mjs +4 -4
- package/hooks/useCustomComponent.js +1 -1
- package/hooks/useCustomComponent.mjs +0 -1
- package/hooks/useDir.js +2 -1
- package/hooks/useDir.mjs +5 -5
- package/hooks/useDocument.js +2 -1
- package/hooks/useDraggable.js +2 -1
- package/hooks/useDroppable.js +2 -1
- package/hooks/useDroppable.mjs +12 -12
- package/hooks/useInheritedState.js +2 -1
- package/hooks/useInheritedState.mjs +2 -2
- package/hooks/useMouse.js +2 -1
- package/hooks/usePropsContext.js +2 -1
- package/hooks/useRtl.js +2 -1
- package/hooks/useRtl.mjs +5 -5
- package/hooks/useWindow.js +2 -1
- package/hooks/useWindow.mjs +6 -6
- package/icons/Icon.js +2 -1
- package/icons/Icon.mjs +10 -10
- package/icons/IconWrap.js +2 -1
- package/icons/IconWrap.mjs +8 -8
- package/icons/IconsContext.js +2 -1
- package/icons/SvgIcon.js +2 -1
- package/icons/constants.js +1 -1
- package/icons/constants.mjs +0 -1
- package/icons/utils.js +1 -1
- package/icons/utils.mjs +2 -3
- package/index.d.mts +13 -0
- package/index.d.ts +13 -0
- package/index.js +1 -1
- package/index.mjs +46 -46
- package/keys.js +1 -1
- package/keys.mjs +0 -1
- package/memoize.js +1 -1
- package/memoize.mjs +0 -1
- package/navigation.js +1 -1
- package/navigation.mjs +0 -1
- package/noop.js +1 -1
- package/noop.mjs +2 -3
- package/package.json +1 -1
- package/rowHeightService.js +1 -1
- package/rowHeightService.mjs +0 -1
- package/scrollbarWidth.js +1 -1
- package/scrollbarWidth.mjs +5 -6
- package/setter.js +1 -1
- package/setter.mjs +15 -16
- package/theme.js +1 -1
- package/theme.mjs +2 -3
- package/trappedFocus.js +1 -1
- package/trappedFocus.mjs +7 -8
- package/tree-utils/FieldsService.js +1 -1
- package/tree-utils/FieldsService.mjs +11 -12
- package/tree-utils/SortedPublicItemIds.js +1 -1
- package/tree-utils/SortedPublicItemIds.mjs +0 -1
- package/tree-utils/itemIdUtils.js +1 -1
- package/tree-utils/itemIdUtils.mjs +0 -1
- package/tree-utils/itemUtils.js +1 -1
- package/tree-utils/itemUtils.mjs +0 -1
- package/tree-utils/misc.js +1 -1
- package/tree-utils/misc.mjs +6 -7
- package/treeDataOperations.js +1 -1
- package/treeDataOperations.mjs +11 -12
- package/typography/Typography.js +2 -1
- package/typography/constants.js +1 -1
- package/typography/constants.mjs +0 -1
- package/unstyled/animations.js +1 -1
- package/unstyled/animations.mjs +0 -1
- package/unstyled/buttons.js +1 -1
- package/unstyled/buttons.mjs +0 -1
- package/unstyled/dateinputs.js +1 -1
- package/unstyled/dateinputs.mjs +79 -80
- package/unstyled/dropdowns.js +1 -1
- package/unstyled/dropdowns.mjs +0 -1
- package/unstyled/form.js +1 -1
- package/unstyled/form.mjs +14 -15
- package/unstyled/grid.js +1 -1
- package/unstyled/grid.mjs +106 -82
- package/unstyled/icons.js +1 -1
- package/unstyled/icons.mjs +0 -1
- package/unstyled/inputs.js +1 -1
- package/unstyled/inputs.mjs +0 -1
- package/unstyled/interfaces/common.js +1 -1
- package/unstyled/interfaces/common.mjs +3 -4
- package/unstyled/json-classes.js +1 -1
- package/unstyled/json-classes.mjs +28 -20
- package/unstyled/labels.js +1 -1
- package/unstyled/labels.mjs +0 -1
- package/unstyled/main.js +1 -1
- package/unstyled/main.mjs +0 -1
- package/unstyled/popup.js +1 -1
- package/unstyled/popup.mjs +0 -1
- package/validate-package.js +1 -1
- package/validate-package.mjs +0 -1
- package/watermark/WatermarkOverlay.js +2 -1
package/unstyled/grid.mjs
CHANGED
|
@@ -5,120 +5,129 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
import { gridPrefix as n, sizeMap as u, base as t, grid as l, containers as p, elements as a, states as o, dimensions as f, cursor as b } from "./json-classes.mjs";
|
|
8
|
+
import { gridPrefix as o, sizeMap as h, base as t, grid as n, containers as m, elements as a, states as l, dimensions as b, cursor as x, gridRowReorder as p } from "./json-classes.mjs";
|
|
10
9
|
const $ = {
|
|
11
10
|
wrapper: {
|
|
12
|
-
main:
|
|
11
|
+
main: o,
|
|
13
12
|
size: {
|
|
14
|
-
small: `${
|
|
15
|
-
medium: `${
|
|
13
|
+
small: `${o}-${h.small}`,
|
|
14
|
+
medium: `${o}-${h.medium}`
|
|
16
15
|
},
|
|
17
|
-
virtual: `${
|
|
16
|
+
virtual: `${o}-${t.virtual}`
|
|
18
17
|
},
|
|
19
|
-
ariaRoot: `${
|
|
20
|
-
container: `${
|
|
18
|
+
ariaRoot: `${o}-${n.ariaRoot}`,
|
|
19
|
+
container: `${o}-${m.container}`,
|
|
21
20
|
content: {
|
|
22
|
-
main: `${
|
|
23
|
-
virtual: `${t.prefix}-${t.virtual}-${
|
|
21
|
+
main: `${o}-${m.content}`,
|
|
22
|
+
virtual: `${t.prefix}-${t.virtual}-${m.content}`
|
|
24
23
|
},
|
|
25
|
-
tableWrap: `${
|
|
24
|
+
tableWrap: `${o}-${n.tableWrap}`,
|
|
26
25
|
table: {
|
|
27
26
|
main: `${t.prefix}-${a.table}`,
|
|
28
|
-
gridTable: `${
|
|
27
|
+
gridTable: `${o}-${a.table}`,
|
|
29
28
|
size: {
|
|
30
|
-
small: `${t.prefix}-${a.table}-${
|
|
31
|
-
medium: `${t.prefix}-${a.table}-${
|
|
29
|
+
small: `${t.prefix}-${a.table}-${h.small}`,
|
|
30
|
+
medium: `${t.prefix}-${a.table}-${h.medium}`
|
|
32
31
|
}
|
|
33
32
|
},
|
|
34
33
|
tbody: `${t.prefix}-${a.table}-${a.tbody}`,
|
|
35
34
|
thead: {
|
|
36
|
-
main: `${
|
|
37
|
-
draggable: `${
|
|
35
|
+
main: `${o}-${a.table}-${a.thead}`,
|
|
36
|
+
draggable: `${o}-${l.draggable}-${a.header}`
|
|
38
37
|
},
|
|
39
38
|
header: {
|
|
40
|
-
main: `${
|
|
41
|
-
draggable: `${
|
|
39
|
+
main: `${o}-${a.header}`,
|
|
40
|
+
draggable: `${o}-${l.draggable}-${a.header}`
|
|
42
41
|
},
|
|
43
|
-
headerWrap: `${
|
|
42
|
+
headerWrap: `${o}-${a.header}-${m.wrap}`,
|
|
44
43
|
headerTable: {
|
|
45
44
|
main: `${t.prefix}-${a.table}`,
|
|
46
|
-
header: `${
|
|
45
|
+
header: `${o}-${a.header}-${a.table}`,
|
|
47
46
|
size: {
|
|
48
|
-
small: `${t.prefix}-${a.table}-${
|
|
49
|
-
medium: `${t.prefix}-${a.table}-${
|
|
47
|
+
small: `${t.prefix}-${a.table}-${h.small}`,
|
|
48
|
+
medium: `${t.prefix}-${a.table}-${h.medium}`
|
|
50
49
|
}
|
|
51
50
|
},
|
|
52
51
|
headerTh: {
|
|
53
52
|
main: `${t.prefix}-${a.table}-${a.th}`,
|
|
54
53
|
header: `${t.prefix}-${a.header}`,
|
|
55
|
-
first: `${t.prefix}-${
|
|
56
|
-
filterable: `${t.prefix}-${
|
|
57
|
-
locked: `${
|
|
58
|
-
sorted: `${t.prefix}-${
|
|
54
|
+
first: `${t.prefix}-${l.first}`,
|
|
55
|
+
filterable: `${t.prefix}-${l.filterable}`,
|
|
56
|
+
locked: `${o}-${a.header}-${l.sticky}`,
|
|
57
|
+
sorted: `${t.prefix}-${l.sorted}`
|
|
59
58
|
},
|
|
60
59
|
tableThead: `${t.prefix}-${a.table}-${a.thead}`,
|
|
61
|
-
heightContainer: `${t.prefix}-${
|
|
62
|
-
sortIcon: `${t.prefix}-${
|
|
63
|
-
sortOrder: `${t.prefix}-${
|
|
60
|
+
heightContainer: `${t.prefix}-${b.height}-${m.container}`,
|
|
61
|
+
sortIcon: `${t.prefix}-${l.sort}-${a.icon}`,
|
|
62
|
+
sortOrder: `${t.prefix}-${l.sort}-${l.order}`,
|
|
64
63
|
tr: {
|
|
65
|
-
main: `${t.prefix}-${a.table}-${
|
|
66
|
-
header: `${t.prefix}-${a.table}-${
|
|
67
|
-
grouping: `${t.prefix}-${
|
|
68
|
-
footer: `${t.prefix}-${
|
|
69
|
-
master: `${t.prefix}-${
|
|
70
|
-
rowAlt: `${t.prefix}-${a.table}-${
|
|
71
|
-
alt: `${t.prefix}-${
|
|
72
|
-
selected: `${t.prefix}-${
|
|
73
|
-
isInEdit: `${
|
|
64
|
+
main: `${t.prefix}-${a.table}-${n.row}`,
|
|
65
|
+
header: `${t.prefix}-${a.table}-${n.group}-${n.row}`,
|
|
66
|
+
grouping: `${t.prefix}-${l.grouping}-${n.row}`,
|
|
67
|
+
footer: `${t.prefix}-${n.group}-${a.footer}`,
|
|
68
|
+
master: `${t.prefix}-${n.master}-${n.row}`,
|
|
69
|
+
rowAlt: `${t.prefix}-${a.table}-${l.alt}-${n.row}`,
|
|
70
|
+
alt: `${t.prefix}-${l.alt}`,
|
|
71
|
+
selected: `${t.prefix}-${l.selected}`,
|
|
72
|
+
isInEdit: `${o}-${l.edit}-${n.row}`
|
|
74
73
|
},
|
|
75
74
|
detailTr: {
|
|
76
|
-
main: `${t.prefix}-${a.table}-${
|
|
77
|
-
row: `${t.prefix}-${
|
|
78
|
-
rowAlt: `${t.prefix}-${a.table}-${
|
|
79
|
-
alt: `${t.prefix}-${
|
|
80
|
-
},
|
|
81
|
-
simpleTr: `${t.prefix}-${a.table}-${
|
|
82
|
-
headerCellInner: `${t.prefix}-${
|
|
83
|
-
columnTitle: `${t.prefix}-${
|
|
75
|
+
main: `${t.prefix}-${a.table}-${n.row}`,
|
|
76
|
+
row: `${t.prefix}-${n.detail}-${n.row}`,
|
|
77
|
+
rowAlt: `${t.prefix}-${a.table}-${l.alt}-${n.row}`,
|
|
78
|
+
alt: `${t.prefix}-${l.alt}`
|
|
79
|
+
},
|
|
80
|
+
simpleTr: `${t.prefix}-${a.table}-${n.row}`,
|
|
81
|
+
headerCellInner: `${t.prefix}-${n.cellInner}`,
|
|
82
|
+
columnTitle: `${t.prefix}-${n.column}-${a.title}`,
|
|
84
83
|
headerCellLink: {
|
|
85
84
|
main: `${t.prefix}-${a.link}`,
|
|
86
|
-
notSortable: `${t.important}${t.prefix}-${
|
|
85
|
+
notSortable: `${t.important}${t.prefix}-${x.default}`
|
|
87
86
|
},
|
|
88
|
-
noRecords: `${
|
|
89
|
-
noRecordsTemplate: `${
|
|
90
|
-
pager: `${
|
|
91
|
-
sorted: `${t.prefix}-${
|
|
92
|
-
contentSticky: `${
|
|
87
|
+
noRecords: `${o}-${n.noRecords}`,
|
|
88
|
+
noRecordsTemplate: `${o}-${n.noRecords}-${l.template}`,
|
|
89
|
+
pager: `${o}-${n.pager}`,
|
|
90
|
+
sorted: `${t.prefix}-${l.sorted}`,
|
|
91
|
+
contentSticky: `${o}-${m.content}-${l.sticky}`,
|
|
93
92
|
hierarchyCell: {
|
|
94
|
-
main: `${t.prefix}-${
|
|
93
|
+
main: `${t.prefix}-${n.hierarchy}-${n.cell}`,
|
|
95
94
|
header: `${t.prefix}-${a.header}`
|
|
96
95
|
},
|
|
96
|
+
rowReorder: {
|
|
97
|
+
dropIndicator: {
|
|
98
|
+
main: `${t.prefix}-${p.drop}-${p.hint}`,
|
|
99
|
+
direction: `${t.prefix}-${p.drop}-${p.hint}-${p.horizontal}`
|
|
100
|
+
},
|
|
101
|
+
dragClue: {
|
|
102
|
+
main: `${t.prefix}-${p.drag}-${p.clue}`,
|
|
103
|
+
operation: `${t.prefix}-${p.reorder}-${p.clue}`
|
|
104
|
+
}
|
|
105
|
+
},
|
|
97
106
|
td: {
|
|
98
107
|
main: `${t.prefix}-${a.table}-${a.td}`,
|
|
99
|
-
selected: `${t.prefix}-${
|
|
108
|
+
selected: `${t.prefix}-${l.selected}`
|
|
100
109
|
},
|
|
101
110
|
detailTd: {
|
|
102
111
|
main: `${t.prefix}-${a.table}-${a.td}`,
|
|
103
|
-
cell: `${t.prefix}-${
|
|
112
|
+
cell: `${t.prefix}-${n.detail}-${n.cell}`
|
|
104
113
|
},
|
|
105
114
|
editTd: {
|
|
106
115
|
main: `${t.prefix}-${a.table}-${a.td}`,
|
|
107
|
-
cell: `${
|
|
108
|
-
selected: `${t.prefix}-${
|
|
116
|
+
cell: `${o}-${l.edit}-${n.cell}`,
|
|
117
|
+
selected: `${t.prefix}-${l.selected}`
|
|
109
118
|
},
|
|
110
119
|
hierarchyTd: {
|
|
111
120
|
main: `${t.prefix}-${a.table}-${a.td}`,
|
|
112
|
-
cell: `${t.prefix}-${
|
|
121
|
+
cell: `${t.prefix}-${n.hierarchy}-${n.cell}`
|
|
113
122
|
}
|
|
114
|
-
},
|
|
123
|
+
}, T = {
|
|
115
124
|
wrapper: (r) => {
|
|
116
|
-
const { size: e, virtual: i, c = $.wrapper } = r;
|
|
125
|
+
const { size: e, virtual: i, c: d = $.wrapper } = r;
|
|
117
126
|
return {
|
|
118
|
-
[
|
|
119
|
-
[
|
|
120
|
-
[`${
|
|
121
|
-
[
|
|
127
|
+
[d.main]: !0,
|
|
128
|
+
[d.size[e]]: d.size[e],
|
|
129
|
+
[`${o}-${e}`]: e && !d.size[e],
|
|
130
|
+
[d.virtual]: i
|
|
122
131
|
};
|
|
123
132
|
},
|
|
124
133
|
ariaRoot: (r) => {
|
|
@@ -181,14 +190,14 @@ const $ = {
|
|
|
181
190
|
};
|
|
182
191
|
},
|
|
183
192
|
headerTh: (r) => {
|
|
184
|
-
const { first: e, filterable: i, locked:
|
|
193
|
+
const { first: e, filterable: i, locked: d, sorted: u, c = $.headerTh } = r;
|
|
185
194
|
return {
|
|
186
|
-
[
|
|
187
|
-
[
|
|
188
|
-
[
|
|
189
|
-
[
|
|
190
|
-
[
|
|
191
|
-
[
|
|
195
|
+
[c.main]: !0,
|
|
196
|
+
[c.header]: !0,
|
|
197
|
+
[c.first]: e,
|
|
198
|
+
[c.filterable]: i,
|
|
199
|
+
[c.locked]: d,
|
|
200
|
+
[c.sorted]: u
|
|
192
201
|
};
|
|
193
202
|
},
|
|
194
203
|
tableThead: (r) => {
|
|
@@ -208,17 +217,17 @@ const $ = {
|
|
|
208
217
|
return e.sortOrder;
|
|
209
218
|
},
|
|
210
219
|
tr: (r) => {
|
|
211
|
-
const { isHeader: e, isFooter: i, isMaster:
|
|
220
|
+
const { isHeader: e, isFooter: i, isMaster: d, isAltRow: u, selected: c, isInEdit: f, c: s = $.tr } = r;
|
|
212
221
|
return {
|
|
213
|
-
[
|
|
214
|
-
[
|
|
215
|
-
[
|
|
216
|
-
[
|
|
217
|
-
[
|
|
218
|
-
[
|
|
219
|
-
[
|
|
220
|
-
[
|
|
221
|
-
[
|
|
222
|
+
[s.main]: !0,
|
|
223
|
+
[s.header]: e,
|
|
224
|
+
[s.grouping]: e,
|
|
225
|
+
[s.footer]: i,
|
|
226
|
+
[s.master]: d,
|
|
227
|
+
[s.rowAlt]: d && u,
|
|
228
|
+
[s.alt]: d && u,
|
|
229
|
+
[s.selected]: c,
|
|
230
|
+
[s.isInEdit]: f
|
|
222
231
|
};
|
|
223
232
|
},
|
|
224
233
|
detailTr: (r) => {
|
|
@@ -234,6 +243,21 @@ const $ = {
|
|
|
234
243
|
const { c: e = $ } = r;
|
|
235
244
|
return e.simpleTr;
|
|
236
245
|
},
|
|
246
|
+
rowReorder: (r) => {
|
|
247
|
+
const {
|
|
248
|
+
dropIndicatorMain: e,
|
|
249
|
+
dropIndicatorDirection: i,
|
|
250
|
+
dragClueMain: d,
|
|
251
|
+
dragClueOperation: u,
|
|
252
|
+
c = $.rowReorder
|
|
253
|
+
} = r;
|
|
254
|
+
return {
|
|
255
|
+
[c.dropIndicator.main]: e,
|
|
256
|
+
[c.dropIndicator.direction]: i,
|
|
257
|
+
[c.dragClue.main]: d,
|
|
258
|
+
[c.dragClue.operation]: u
|
|
259
|
+
};
|
|
260
|
+
},
|
|
237
261
|
headerCellInner: (r) => {
|
|
238
262
|
const { c: e = $ } = r;
|
|
239
263
|
return e.headerCellInner;
|
|
@@ -309,5 +333,5 @@ const $ = {
|
|
|
309
333
|
}
|
|
310
334
|
};
|
|
311
335
|
export {
|
|
312
|
-
|
|
336
|
+
T as uGrid
|
|
313
337
|
};
|
package/unstyled/icons.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),l={wrapper:{main:`${e.base.prefix}-${e.icon.prefix}`,svgPrefix:`${e.base.prefix}-${e.icon.svg}-${e.icon.prefix}`,namePrefix:`${e.base.prefix}-${e.icon.svg}-${e.icon.i}-`,flipH:`${e.base.prefix}-${e.icon.flipH}`,flipV:`${e.base.prefix}-${e.icon.flipV}`,themeColor:{inherit:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.inherit}`,primary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.primary}`,secondary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.secondary}`,tertiary:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.tertiary}`,info:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.info}`,success:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.success}`,warning:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.warning}`,error:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.error}`,dark:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.dark}`,light:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.light}`},size:{default:"",xsmall:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xsmall}`,small:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.small}`,medium:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.medium}`,large:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.large}`,xlarge:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xlarge}`,xxlarge:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xxlarge}`,xxxlarge:`${e.base.prefix}-${e.icon.prefix}-${e.sizeMap.xxxlarge}`}},svg:{main:"",flipH:"",flipV:""}},c={wrapper:p=>{const{iconNameProp:o,themeColor:a,flipH:s,flipV:r,size:$,c:n=l}=p,i=n.wrapper||{};return{[i.main||""]:!0,[i.svgPrefix||""]:!0,[`${i.namePrefix||""}${o}`]:o,[i.themeColor[a]||""]:a,[i.flipH||""]:s,[i.flipV||""]:r,[i.size[$]||""]:i.size[$]}},svg:p=>{const{flipH:o,flipV:a,c:s=l}=p,r=s.svg;return{[r.main||""]:!0,[r.flipH||""]:o,[r.flipV||""]:a}}};exports.uSvgIcon=c;
|
package/unstyled/icons.mjs
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { base as e, icon as r, themeColorMap as i, sizeMap as p } from "./json-classes.mjs";
|
|
10
9
|
const c = {
|
|
11
10
|
wrapper: {
|
package/unstyled/inputs.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./interfaces/common.js"),e=require("./json-classes.js"),l=`${e.base.prefix}-${e.inputs.input}`,C=`${e.base.prefix}-${e.inputs.maskedtextbox}`,u=`${e.base.prefix}-${e.inputs.radio}`,g=`${e.base.prefix}-${e.inputs.textbox}`,f=`${e.base.prefix}-${e.inputs.input}-${e.inputs.prefix}`,m=`${e.base.prefix}-${e.inputs.input}-${e.inputs.suffix}`,b={input:{radio:u,size:{prefix:`${u}-`,small:`${u}-${e.sizeMap.small}`,medium:`${u}-${e.sizeMap.medium}`,large:`${u}-${e.sizeMap.large}`},invalid:`${e.base.prefix}-${e.states.invalid}`,checked:`${e.base.prefix}-${e.states.checked}`},wrap:`${u}-${e.containers.wrap}`,label:`${u}-${e.elements.label}`},h={input:o=>{var n;const{size:t,invalid:r,checked:a,c:d=b}=o,s=d.input;return{[s==null?void 0:s.radio]:!0,[s==null?void 0:s.size[t]]:s==null?void 0:s.size[t],[`${(n=s==null?void 0:s.size)==null?void 0:n.prefix}${t}`]:t&&!(s!=null&&s.size[t]),[s==null?void 0:s.invalid]:r,[s==null?void 0:s.checked]:a}},label:o=>{const{c:t=b}=o;return{[t==null?void 0:t.label]:!0}},wrap:o=>{const{c:t=b}=o;return{[t==null?void 0:t.wrap]:!0}}},x={ul:{main:`${u}-${e.containers.list}`,horizontal:`${e.base.prefix}-${e.containers.list}-${e.states.horizontal}`,vertical:`${e.base.prefix}-${e.containers.list}-${e.states.vertical}`},item:{main:`${u}-${e.containers.list}-${e.containers.item}`,disabled:`${e.base.prefix}-${e.states.disabled}`}},R={ul:o=>{const{horizontal:t,vertical:r,c:a=x}=o,d=a.ul;return{[d==null?void 0:d.main]:!0,[d==null?void 0:d.horizontal]:t,[d==null?void 0:d.vertical]:r}},item:o=>{const{disabled:t,c:r=x}=o,a=r.item;return{[a==null?void 0:a.main]:!0,[a==null?void 0:a.disabled]:t}}},M={wrapper:{main:C,input:l,size:{small:`${l}-${e.sizeMap.small}`,medium:`${l}-${e.sizeMap.medium}`,large:`${l}-${e.sizeMap.large}`},fillMode:{solid:`${l}-${e.fillModeMap.solid}`,outline:`${l}-${e.fillModeMap.outline}`,flat:`${l}-${e.fillModeMap.flat}`},rounded:{small:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.small}`,medium:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.medium}`,large:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.large}`},disabled:`${e.base.prefix}-${e.states.disabled}`,invalid:`${e.base.prefix}-${e.states.invalid}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},inputInner:`${l}-${e.inputs.inner}`},q={wrapper:o=>{const{invalid:t,disabled:r,size:a,fillMode:d,rounded:s,c:n=M}=o,$=n.wrapper;return{[$.main]:!0,[$.input]:!0,[$.size[a]]:$.size[a],[`${l}-${a}`]:!$.size[a],[$.fillMode[d]]:$.fillMode[d],[$.rounded[s]]:$.rounded[s],[`${e.base.prefix}-${e.base.rounded}-${s}`]:s&&!$.rounded[s],[$.disabled]:r,[$.invalid]:t}},inputInner:p.getClassByName(M,"inputInner")},c={wrapper:{main:g,input:l,size:{small:`${l}-${e.sizeMap.small}`,medium:`${l}-${e.sizeMap.medium}`,large:`${l}-${e.sizeMap.large}`},fillMode:{solid:`${l}-${e.fillModeMap.solid}`,outline:`${l}-${e.fillModeMap.outline}`,flat:`${l}-${e.fillModeMap.flat}`},rounded:{small:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.small}`,medium:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.medium}`,large:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.large}`},disabled:`${e.base.prefix}-${e.states.disabled}`,focused:`${e.base.prefix}-${e.states.focus}`,required:`${e.base.prefix}-${e.states.required}`,invalid:`${e.base.prefix}-${e.states.invalid}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},inputInner:`${l}-${e.inputs.inner}`,prefix:{main:f,orientation:{horizontal:`${f}-${e.orientationMap.horizontal}`,vertical:`${f}-${e.orientationMap.vertical}`}},suffix:{main:m,orientation:{horizontal:`${m}-${e.orientationMap.horizontal}`,vertical:`${m}-${e.orientationMap.vertical}`}}},k={wrapper:o=>{const{disabled:t,invalid:r,focused:a,required:d,size:s,fillMode:n,rounded:$,isRtl:v,c:B=c}=o,i=B.wrapper;return{[i==null?void 0:i.main]:!0,[i==null?void 0:i.input]:!0,[i==null?void 0:i.size[s]]:i==null?void 0:i.size[s],[`${l}-${s}`]:s&&!(i!=null&&i.size[s]),[i==null?void 0:i.fillMode[n]]:i==null?void 0:i.fillMode[n],[i==null?void 0:i.rounded[$]]:i==null?void 0:i.rounded[$],[`${e.base.prefix}-${e.base.rounded}-${$}`]:$&&!(i!=null&&i.rounded[$]),[i==null?void 0:i.disabled]:t,[i==null?void 0:i.focused]:a,[i==null?void 0:i.required]:d,[i==null?void 0:i.invalid]:r,[i==null?void 0:i.isRtl]:v}},inputInner:p.getClassByName(c,"inputInner"),prefix:o=>{const{orientation:t,c:r=c}=o,a=r.prefix;return{[a.main]:!0,[a.orientation[t]]:a.orientation[t]}},suffix:o=>{const{orientation:t,c:r=c}=o,a=r.suffix;return{[a==null?void 0:a.main]:!0,[a==null?void 0:a.orientation[t]]:a==null?void 0:a.orientation[t]}}},z={input:{main:`${l} ${l}-${e.sizeMap.medium} ${e.base.prefix}-${e.base.rounded}-${e.roundedMap.medium} ${l}-${e.fillModeMap.solid}`,disabled:`${e.base.prefix}-${e.states.disabled}`,required:`${e.base.prefix}-${e.states.required}`,invalid:`${e.base.prefix}-${e.states.invalid}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},clearButton:`${e.base.prefix}-${e.base.clear}-${e.base.value}`},T={input:o=>{const{disabled:t,invalid:r,required:a,isRtl:d,c:s=z}=o,n=s.input;return{[n==null?void 0:n.main]:!0,[n==null?void 0:n.disabled]:t,[n==null?void 0:n.required]:a,[n==null?void 0:n.invalid]:r,[n==null?void 0:n.isRtl]:d}},clearButton:p.getClassByName(z,"clearButton")};exports.radioButtonClasses=b;exports.radioGroupClasses=x;exports.uInput=T;exports.uMaskedTextBox=q;exports.uRadioButton=h;exports.uRadioGroup=R;exports.uTextBox=k;
|
package/unstyled/inputs.mjs
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { getClassByName as g } from "./interfaces/common.mjs";
|
|
10
9
|
import { base as i, inputs as f, sizeMap as c, states as u, containers as z, elements as G, fillModeMap as x, roundedMap as v, orientationMap as b } from "./json-classes.mjs";
|
|
11
10
|
const s = `${i.prefix}-${f.input}`, y = `${i.prefix}-${f.maskedtextbox}`, m = `${i.prefix}-${f.radio}`, N = `${i.prefix}-${f.textbox}`, h = `${i.prefix}-${f.input}-${f.prefix}`, p = `${i.prefix}-${f.input}-${f.suffix}`, C = {
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=(e,t)=>r=>{const{c:s=e}=r;return{[s[t]||""]:!0}};exports.getClassByName=a;
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
const { c: n = e } = r;
|
|
8
|
+
const s = (t, e) => (r) => {
|
|
9
|
+
const { c: n = t } = r;
|
|
11
10
|
return {
|
|
12
|
-
[n[
|
|
11
|
+
[n[e] || ""]: !0
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
export {
|
package/unstyled/json-classes.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded",value:"value",state:"state",filter:"filter",virtual:"virtual",infinite:"infinite",clear:"clear",reset:"reset",data:"data",nodata:"nodata",scroller:"scroller"},n={center:"center",hbox:"hbox",vstack:"vstack",hstack:"hstack",overflow:"overflow"},t={actionsheet:"actionsheet",calendar:"calendar",buttongroup:"buttongroup",dateinput:"dateinput",datetime:"datetime",datetimepicker:"datetimepicker",dropdownlist:"dropdownlist",combobox:"combobox",maskedtextbox:"maskedtextbox",menu:"menu",searchbox:"searchbox",timepicker:"timepicker"},l={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},s={solid:"solid",outline:"outline",flat:"flat",link:"link",clear:"clear"},c={base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inherit:"inherit",inverse:"inverse"},d={small:"sm",medium:"md",large:"lg",full:"full"},p={vertical:"vertical",horizontal:"horizontal"},m={height:"height",width:"width"},f={default:"cursor-default"},u={up:"up",down:"down",left:"left",right:"right",start:"start",mid:"mid",end:"end"},r={actions:"actions",container:"container",content:"content",group:"group",row:"row",nav:"nav",wrap:"wrap",wrapper:"wrapper",list:"list",placeholder:"placeholder",popup:"popup",item:"item",part:"part",picker:"picker",separator:"separator",spacer:"spacer",tab:"tab",titlebar:"titlebar",optionLabel:"optionlabel",view:"view"},o={table:"table",text:"text",button:"button",tbody:"tbody",thead:"thead",tr:"tr",th:"th",td:"td",header:"header",footer:"footer",icon:"icon",title:"title",subtitle:"subtitle",link:"link",label:"label",ul:"ul",caption:"caption"},x={increase:"increase",decrease:"decrease",cancel:"cancel",accept:"accept",split:"split"},h={active:"active",adaptive:"adaptive",first:"first",focus:"focus",pending:"pending",last:"last",draggable:"draggable",filterable:"filterable",grouping:"grouping",selected:"selected",disabled:"disabled",hidden:"hidden",highlight:"highlight",invalid:"invalid",loading:"loading",required:"required",checked:"checked",empty:"empty",scrollable:"scrollable",sorted:"sorted",sort:"sort",sticky:"sticky",stretched:"stretched",order:"order",alt:"alt",edit:"edit",template:"template",shown:"shown",horizontal:"horizontal",vertical:"vertical",fullscreen:"fullscreen",bottom:"bottom"},b={prefix:"animation",child:"child",relative:"relative",slide:"slide",appear:"appear",active:"active",enter:"enter",exit:"exit",pushRight:"push-right",pushLeft:"push-left",pushDown:"push-down",pushUp:"push-up",expandVertical:"expand-vertical",expandHorizontal:"expand-horizontal",fade:"fade",zoomIn:"zoom-in",zoomOut:"zoom-out",slideIn:"slide-in",slideDown:"slide-down",slideUp:"slide-up",slideRight:"slide-right",slideLeft:"slide-left",revealVertical:"reveal-vertical",revealHorizontal:"reveal-horizontal","animation-container":"animation-container","animation-container-shown":"animation-container-shown","animation-container-relative":"animation-container-relative","animation-container-fixed":"animation-container-fixed","child-animation-container":"child-animation-container"},i={input:"input",inner:"inner",spin:"spin",spinner:"spinner",maskedtextbox:"maskedtextbox",radio:"radio",textbox:"textbox",prefix:"prefix",suffix:"suffix"},g={week:"week",weekdays:"weekdays",weekend:"weekend",month:"month",year:"year",decade:"decade",century:"century",number:"number",navigation:"navigation",marker:"marker",now:"now",range:"range",today:"today",other:"other",date:"date",time:"time",selector:"selector",timeselector:"timeselector"},v={prefix:"icon",svg:"svg",i:"i",color:"color",flipH:"flip-h",flipV:"flip-v"},w={label:"label",text:"text",floatingLabel:"floating-label",container:"container",hint:"form-hint",error:"form-error"},k={form:"form",field:"field"},y={prefix:"popup"},a={prefix:"grid",ariaRoot:"aria-root",tableWrap:"table-wrap",master:"master",column:"column",cell:"cell",cellInner:"cell-inner",row:"row",group:"group",hierarchy:"hierarchy",detail:"detail",noRecords:"norecords",pager:"pager"},P={drop:"drop",drag:"drag",hint:"hint",vertical:"v",horizontal:"h",clue:"clue",reorder:"reorder"},$=`${e.prefix}-${i.input}`,z=`${e.prefix}-${t.calendar}`,M=`${e.prefix}-${t.maskedtextbox}`,R=`${e.prefix}-${i.radio}`,L=`${e.prefix}-${o.button}`,I=`${e.prefix}-${t.menu}`,D=`${e.prefix}-${r.picker}`,S=`${e.prefix}-${t.dropdownlist}`,U=`${e.prefix}-${t.combobox}`,j=`${e.prefix}-${a.prefix}`,H={base:e,actions:x,animation:b,sizeMap:l,components:t,cssUtils:n,directionMap:u,fillModeMap:s,themeColorMap:c,roundedMap:d,orientationMap:p,elements:o,states:h,dimensions:m,containers:r,cursor:f,inputs:i,dateInputs:g,labels:w,forms:k,popup:y,icon:v,grid:a};exports.actions=x;exports.animationStyles=b;exports.base=e;exports.buttonPrefix=L;exports.calendarPrefix=z;exports.comboBoxPrefix=U;exports.components=t;exports.containers=r;exports.cssUtils=n;exports.cursor=f;exports.dateInputs=g;exports.ddbPrefix=I;exports.dimensions=m;exports.directionMap=u;exports.dropDownListPrefix=S;exports.elements=o;exports.fillModeMap=s;exports.forms=k;exports.grid=a;exports.gridPrefix=j;exports.gridRowReorder=P;exports.icon=v;exports.inputPrefix=$;exports.inputs=i;exports.jsonTheme=H;exports.labels=w;exports.maskedPrefix=M;exports.orientationMap=p;exports.pickerPrefix=D;exports.popup=y;exports.radioPrefix=R;exports.roundedMap=d;exports.sizeMap=l;exports.states=h;exports.themeColorMap=c;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
const e = {
|
|
10
9
|
prefix: "k",
|
|
11
10
|
important: "!",
|
|
@@ -78,9 +77,9 @@ const e = {
|
|
|
78
77
|
}, m = {
|
|
79
78
|
height: "height",
|
|
80
79
|
width: "width"
|
|
81
|
-
},
|
|
80
|
+
}, h = {
|
|
82
81
|
default: "cursor-default"
|
|
83
|
-
},
|
|
82
|
+
}, u = {
|
|
84
83
|
up: "up",
|
|
85
84
|
down: "down",
|
|
86
85
|
left: "left",
|
|
@@ -127,7 +126,7 @@ const e = {
|
|
|
127
126
|
label: "label",
|
|
128
127
|
ul: "ul",
|
|
129
128
|
caption: "caption"
|
|
130
|
-
},
|
|
129
|
+
}, f = {
|
|
131
130
|
increase: "increase",
|
|
132
131
|
decrease: "decrease",
|
|
133
132
|
cancel: "cancel",
|
|
@@ -259,14 +258,22 @@ const e = {
|
|
|
259
258
|
detail: "detail",
|
|
260
259
|
noRecords: "norecords",
|
|
261
260
|
pager: "pager"
|
|
262
|
-
}, $ =
|
|
261
|
+
}, $ = {
|
|
262
|
+
drop: "drop",
|
|
263
|
+
drag: "drag",
|
|
264
|
+
hint: "hint",
|
|
265
|
+
vertical: "v",
|
|
266
|
+
horizontal: "h",
|
|
267
|
+
clue: "clue",
|
|
268
|
+
reorder: "reorder"
|
|
269
|
+
}, z = `${e.prefix}-${i.input}`, P = `${e.prefix}-${t.calendar}`, M = `${e.prefix}-${t.maskedtextbox}`, R = `${e.prefix}-${i.radio}`, L = `${e.prefix}-${a.button}`, I = `${e.prefix}-${t.menu}`, D = `${e.prefix}-${r.picker}`, H = `${e.prefix}-${t.dropdownlist}`, U = `${e.prefix}-${t.combobox}`, V = `${e.prefix}-${o.prefix}`, q = {
|
|
263
270
|
base: e,
|
|
264
|
-
actions:
|
|
271
|
+
actions: f,
|
|
265
272
|
animation: b,
|
|
266
273
|
sizeMap: l,
|
|
267
274
|
components: t,
|
|
268
275
|
cssUtils: n,
|
|
269
|
-
directionMap:
|
|
276
|
+
directionMap: u,
|
|
270
277
|
fillModeMap: s,
|
|
271
278
|
themeColorMap: c,
|
|
272
279
|
roundedMap: d,
|
|
@@ -275,7 +282,7 @@ const e = {
|
|
|
275
282
|
states: x,
|
|
276
283
|
dimensions: m,
|
|
277
284
|
containers: r,
|
|
278
|
-
cursor:
|
|
285
|
+
cursor: h,
|
|
279
286
|
inputs: i,
|
|
280
287
|
dateInputs: g,
|
|
281
288
|
labels: w,
|
|
@@ -285,36 +292,37 @@ const e = {
|
|
|
285
292
|
grid: o
|
|
286
293
|
};
|
|
287
294
|
export {
|
|
288
|
-
|
|
295
|
+
f as actions,
|
|
289
296
|
b as animationStyles,
|
|
290
297
|
e as base,
|
|
291
298
|
L as buttonPrefix,
|
|
292
|
-
|
|
293
|
-
|
|
299
|
+
P as calendarPrefix,
|
|
300
|
+
U as comboBoxPrefix,
|
|
294
301
|
t as components,
|
|
295
302
|
r as containers,
|
|
296
303
|
n as cssUtils,
|
|
297
|
-
|
|
304
|
+
h as cursor,
|
|
298
305
|
g as dateInputs,
|
|
299
306
|
I as ddbPrefix,
|
|
300
307
|
m as dimensions,
|
|
301
|
-
|
|
302
|
-
|
|
308
|
+
u as directionMap,
|
|
309
|
+
H as dropDownListPrefix,
|
|
303
310
|
a as elements,
|
|
304
311
|
s as fillModeMap,
|
|
305
312
|
k as forms,
|
|
306
313
|
o as grid,
|
|
307
|
-
|
|
314
|
+
V as gridPrefix,
|
|
315
|
+
$ as gridRowReorder,
|
|
308
316
|
v as icon,
|
|
309
|
-
|
|
317
|
+
z as inputPrefix,
|
|
310
318
|
i as inputs,
|
|
311
|
-
|
|
319
|
+
q as jsonTheme,
|
|
312
320
|
w as labels,
|
|
313
|
-
|
|
321
|
+
M as maskedPrefix,
|
|
314
322
|
p as orientationMap,
|
|
315
|
-
|
|
323
|
+
D as pickerPrefix,
|
|
316
324
|
y as popup,
|
|
317
|
-
|
|
325
|
+
R as radioPrefix,
|
|
318
326
|
d as roundedMap,
|
|
319
327
|
l as sizeMap,
|
|
320
328
|
x as states,
|
package/unstyled/labels.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),c=`${e.base.prefix}-${e.labels.label}`,b=`${e.base.prefix}-${e.labels.floatingLabel}`,$=`${e.base.prefix}-${e.labels.error}`,m=`${e.base.prefix}-${e.labels.hint}`,f={label:{main:c,empty:`${e.base.prefix}-${e.labels.label}-${e.states.empty}`,invalid:`${e.base.prefix}-${e.labels.text}-${e.themeColorMap.error}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}},u={label:o=>{const{empty:n,invalid:l,disabled:i,c:s=f}=o,a=s.label;return{[a==null?void 0:a.main]:!0,[a==null?void 0:a.empty]:n,[a==null?void 0:a.invalid]:l,[a==null?void 0:a.disabled]:i}}},r={wrapper:{main:`${b}-${e.labels.container}`,focused:`${e.base.prefix}-${e.states.focus}`,empty:`${e.base.prefix}-${e.states.empty}`,notEmpty:"",disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},label:{main:b,focused:"",empty:"",notEmpty:"",invalid:`${e.base.prefix}-${e.labels.text}-${e.themeColorMap.error}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}},x={wrapper:o=>{const{focused:n,empty:l,notEmpty:i,disabled:s,isRtl:a,c:d=r}=o,t=d.wrapper;return{[t==null?void 0:t.main]:!0,[t==null?void 0:t.focused]:n,[t==null?void 0:t.empty]:l,[t==null?void 0:t.notEmpty]:i,[t==null?void 0:t.disabled]:s,[t==null?void 0:t.isRtl]:a}},label:o=>{const{focused:n,empty:l,notEmpty:i,invalid:s,disabled:a,c:d=r}=o,t=d.label;return{[t==null?void 0:t.main]:!0,[t==null?void 0:t.focused]:n,[t==null?void 0:t.empty]:l,[t==null?void 0:t.notEmpty]:i,[t==null?void 0:t.invalid]:s,[t==null?void 0:t.disabled]:a}}},y={wrapper:{main:$,direction:{start:`${e.base.prefix}-${e.labels.text}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.labels.text}-${e.directionMap.end}`}}},p={wrapper:o=>{const{direction:n,c:l=y}=o,i=l.wrapper;return{[i==null?void 0:i.main]:!0,[i==null?void 0:i.direction[n]]:i==null?void 0:i.direction[n]}}},C={wrapper:{main:m,direction:{start:`${e.base.prefix}-${e.labels.text}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.labels.text}-${e.directionMap.end}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}}},E={wrapper:o=>{const{direction:n,disabled:l,c:i=C}=o,s=i.wrapper;return{[s==null?void 0:s.main]:!0,[s==null?void 0:s.direction[n]]:s==null?void 0:s.direction[n],[s==null?void 0:s.disabled]:l}}};exports.uError=p;exports.uFloatingLabel=x;exports.uHint=E;exports.uLabel=u;
|
package/unstyled/labels.mjs
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { base as i, labels as o, states as r, themeColorMap as x, directionMap as a } from "./json-classes.mjs";
|
|
10
9
|
const u = `${i.prefix}-${o.label}`, m = `${i.prefix}-${o.floatingLabel}`, y = `${i.prefix}-${o.error}`, b = `${i.prefix}-${o.hint}`, p = {
|
|
11
10
|
label: {
|
package/unstyled/main.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=e.createContext(void 0),n=()=>e.useContext(t);exports.UnstyledContext=t;exports.useUnstyled=n;
|
package/unstyled/main.mjs
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import t from "react";
|
|
10
9
|
const e = t.createContext(void 0), n = () => t.useContext(e);
|
|
11
10
|
export {
|
package/unstyled/popup.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./json-classes.js"),a={animationContainer:`${i.base.prefix}-${i.animationStyles.prefix}-${i.containers.container}`,animationContainerShown:`${i.base.prefix}-${i.animationStyles.prefix}-${i.containers.container}-${i.states.shown}`,animationChild:`${i.base.prefix}-${i.animationStyles.child}-${i.animationStyles.prefix}-${i.containers.container}`,popup:`${i.base.prefix}-${i.popup.prefix}`,slide:{up:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.exit}`},down:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.exit}`},left:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.exit}`},right:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.enter}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.exit}`}},slideActive:{up:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.up}-${i.animationStyles.exit}-${i.animationStyles.active}`},down:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.down}-${i.animationStyles.exit}-${i.animationStyles.active}`},left:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.left}-${i.animationStyles.exit}-${i.animationStyles.active}`},right:{enter:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.enter}-${i.animationStyles.active}`,exit:`${i.base.prefix}-${i.animationStyles.slide}-${i.directionMap.right}-${i.animationStyles.exit}-${i.animationStyles.active}`}}},s={animationContainer:t=>{const{c:e=a}=t;return{[e.animationContainer]:!0}},animationContainerShown:t=>{const{c:e=a}=t;return{[e.animationContainerShown]:!0}},animationChild:t=>{const{c:e=a}=t;return{[e.animationChild]:!0}},popup:t=>{const{c:e=a}=t;return{[e.popup]:!0}},slide:t=>{const{direction:e,type:o,c:n=a}=t;return{[n.slide[e][o]]:n.slide[e]&&n.slide[e][o]}},slideActive:t=>{const{direction:e,type:o,c:n=a}=t;return{[n.slideActive[e][o]]:n.slideActive[e]&&n.slideActive[e][o]}}};exports.uPopup=s;
|
package/unstyled/popup.mjs
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { base as i, animationStyles as e, containers as s, states as a, popup as x, directionMap as t } from "./json-classes.mjs";
|
|
10
9
|
const p = {
|
|
11
10
|
animationContainer: `${i.prefix}-${e.prefix}-${s.container}`,
|
package/validate-package.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@progress/kendo-licensing"),i=["telerik.com","progress.com","stackblitz.io","csb.app"],s=e.validatePackage;function c(o){return!i.some(t=>{var a;return(a=globalThis.document)==null?void 0:a.location.hostname.endsWith(t)})&&!e.validatePackage(o)}exports.shouldShowValidationUI=c;exports.validatePackage=s;
|
package/validate-package.mjs
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { validatePackage as o } from "@progress/kendo-licensing";
|
|
10
9
|
const i = ["telerik.com", "progress.com", "stackblitz.io", "csb.app"], l = o;
|
|
11
10
|
function n(t) {
|