@progress/kendo-react-common 8.3.0-develop.9 → 8.4.0-develop.1

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.
@@ -6,226 +6,358 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import { getClassByName as o } from "./interfaces/common.mjs";
10
- import { base as e, containers as t, states as p, elements as $, dimensions as L, inputs as D, icon as T, components as f, cssUtils as C, dropDownListPrefix as M, pickerPrefix as d, sizeMap as m, fillModeMap as b, roundedMap as B, inputPrefix as h } from "./json-classes.mjs";
11
- const a = {
9
+ import { getClassByName as n } from "./interfaces/common.mjs";
10
+ import { base as e, containers as t, states as a, elements as s, dimensions as y, inputs as S, icon as k, components as m, cssUtils as H, dropDownListPrefix as P, pickerPrefix as b, sizeMap as c, fillModeMap as z, roundedMap as M, inputPrefix as u, comboBoxPrefix as A } from "./json-classes.mjs";
11
+ const p = {
12
12
  clearButton: `${e.prefix}-${e.clear}-${e.value}`,
13
- groupStickyHeader: `${e.prefix}-${t.list}-${t.group}-${p.sticky}-${$.header}`,
14
- listHeaderText: `${e.prefix}-${t.list}-${$.header}-${$.text}`,
15
- ul: `${e.prefix}-${t.list}-${$.ul}`,
13
+ groupStickyHeader: `${e.prefix}-${t.list}-${t.group}-${a.sticky}-${s.header}`,
14
+ listHeaderText: `${e.prefix}-${t.list}-${s.header}-${s.text}`,
15
+ ul: `${e.prefix}-${t.list}-${s.ul}`,
16
16
  li: {
17
17
  main: `${e.prefix}-${t.list}-${t.item}`,
18
- selected: `${e.prefix}-${p.selected}`,
19
- focused: `${e.prefix}-${p.focus}`,
20
- first: `${e.prefix}-${p.first}`,
21
- disabled: `${e.prefix}-${p.disabled}`
18
+ selected: `${e.prefix}-${a.selected}`,
19
+ focused: `${e.prefix}-${a.focus}`,
20
+ first: `${e.prefix}-${a.first}`,
21
+ disabled: `${e.prefix}-${a.disabled}`
22
22
  },
23
23
  groupLi: {
24
24
  list: `${e.prefix}-${t.list}-${t.group}-${t.item}`,
25
- table: `${e.prefix}-${$.table}-${t.group}-${t.row}`
25
+ table: `${e.prefix}-${s.table}-${t.group}-${t.row}`
26
26
  },
27
- itemText: `${e.prefix}-${t.list}-${t.item}-${$.text}`,
27
+ itemText: `${e.prefix}-${t.list}-${t.item}-${s.text}`,
28
28
  groupItemText: {
29
- list: `${e.prefix}-${t.list}-${t.item}-${$.text}`,
30
- table: `${e.prefix}-${$.table}-${$.th}`
29
+ list: `${e.prefix}-${t.list}-${t.item}-${s.text}`,
30
+ table: `${e.prefix}-${s.table}-${s.th}`
31
31
  },
32
- itemGroupLabel: `${e.prefix}-${t.list}-${t.item}-${t.group}-${$.label}`,
32
+ itemGroupLabel: `${e.prefix}-${t.list}-${t.item}-${t.group}-${s.label}`,
33
33
  noData: `${e.prefix}-${e.nodata}`,
34
- heightContainer: `${e.prefix}-${L.height}-${t.container}`,
34
+ heightContainer: `${e.prefix}-${y.height}-${t.container}`,
35
35
  optionlabel: {
36
36
  main: `${e.prefix}-${t.list}-${t.optionlabel}`,
37
- selected: `${e.prefix}-${p.selected}`
37
+ selected: `${e.prefix}-${a.selected}`
38
38
  },
39
- inputIcon: `${e.prefix}-${D.input}-${T.prefix}`,
40
- searchbox: `${e.prefix}-${f.searchbox}`,
39
+ inputIcon: `${e.prefix}-${S.input}-${k.prefix}`,
40
+ searchbox: `${e.prefix}-${m.searchbox}`,
41
41
  listFilter: `${e.prefix}-${t.list}-${e.filter}`
42
- }, F = {
43
- clearButton: o(a, "clearButton"),
44
- groupStickyHeader: o(a, "groupStickyHeader"),
45
- listHeaderText: o(a, "listHeaderText"),
46
- ul: o(a, "ul"),
47
- li: (l) => {
48
- const { c: n = a, selected: i, focused: r, first: u, disabled: w } = l, x = n.li;
42
+ }, j = {
43
+ clearButton: n(p, "clearButton"),
44
+ groupStickyHeader: n(p, "groupStickyHeader"),
45
+ listHeaderText: n(p, "listHeaderText"),
46
+ ul: n(p, "ul"),
47
+ li: (o) => {
48
+ const { c: $ = p, selected: l, focused: r, first: d, disabled: f } = o, x = $.li;
49
49
  return {
50
50
  [x.main]: !0,
51
- [x.selected]: i,
51
+ [x.selected]: l,
52
52
  [x.focused]: r,
53
- [x.first]: u,
54
- [x.disabled]: w
53
+ [x.first]: d,
54
+ [x.disabled]: f
55
55
  };
56
56
  },
57
- groupLi: (l) => {
58
- const { c: n = a, isMultiColumn: i } = l, r = n.groupLi;
57
+ groupLi: (o) => {
58
+ const { c: $ = p, isMultiColumn: l } = o, r = $.groupLi;
59
59
  return {
60
- [r.table]: i,
61
- [r.list]: !i
60
+ [r.table]: l,
61
+ [r.list]: !l
62
62
  };
63
63
  },
64
- itemText: o(a, "itemText"),
65
- groupItemText: (l) => {
66
- const { c: n = a, isMultiColumn: i } = l, r = n.groupItemText;
64
+ itemText: n(p, "itemText"),
65
+ groupItemText: (o) => {
66
+ const { c: $ = p, isMultiColumn: l } = o, r = $.groupItemText;
67
67
  return {
68
- [r.table]: i,
69
- [r.list]: !i
68
+ [r.table]: l,
69
+ [r.list]: !l
70
70
  };
71
71
  },
72
- itemGroupLabel: o(a, "itemGroupLabel"),
73
- noData: o(a, "noData"),
74
- heightContainer: o(a, "heightContainer"),
75
- optionlabel: (l) => {
76
- const { c: n = a, selected: i } = l, r = n.optionlabel;
72
+ itemGroupLabel: n(p, "itemGroupLabel"),
73
+ noData: n(p, "noData"),
74
+ heightContainer: n(p, "heightContainer"),
75
+ optionlabel: (o) => {
76
+ const { c: $ = p, selected: l } = o, r = $.optionlabel;
77
77
  return {
78
78
  [r.main]: !0,
79
- [r.selected]: i
79
+ [r.selected]: l
80
80
  };
81
81
  },
82
- inputIcon: o(a, "inputIcon"),
83
- searchbox: o(a, "searchbox"),
84
- listFilter: o(a, "listFilter")
85
- }, g = {
82
+ inputIcon: n(p, "inputIcon"),
83
+ searchbox: n(p, "searchbox"),
84
+ listFilter: n(p, "listFilter")
85
+ }, B = {
86
86
  wrapper: {
87
- main: `${e.prefix}-${p.adaptive}-${f.actionsheet}`,
88
- fullscreen: `${e.prefix}-${f.actionsheet}-${p.fullscreen}`,
89
- bottom: `${e.prefix}-${f.actionsheet}-${p.bottom}`
87
+ main: `${e.prefix}-${a.adaptive}-${m.actionsheet}`,
88
+ fullscreen: `${e.prefix}-${m.actionsheet}-${a.fullscreen}`,
89
+ bottom: `${e.prefix}-${m.actionsheet}-${a.bottom}`
90
90
  },
91
- header: `${e.prefix}-${$.text}-${C.center}`,
91
+ header: `${e.prefix}-${s.text}-${H.center}`,
92
92
  titleBar: {
93
- main: `${e.prefix}-${f.actionsheet}-${t.titlebar}-${t.group}`,
94
- position: `${e.prefix}-${C.hbox}`
93
+ main: `${e.prefix}-${m.actionsheet}-${t.titlebar}-${t.group}`,
94
+ position: `${e.prefix}-${H.hbox}`
95
+ },
96
+ title: `${e.prefix}-${m.actionsheet}-${s.title}`,
97
+ subtitle: {
98
+ main: `${e.prefix}-${m.actionsheet}-${s.subtitle}`,
99
+ textCenter: `${e.prefix}-${s.text}-${H.center}`
95
100
  },
96
- title: `${e.prefix}-${f.actionsheet}-${$.title}`,
97
- actions: `${e.prefix}-${f.actionsheet}-${t.actions}`,
101
+ actions: `${e.prefix}-${m.actionsheet}-${t.actions}`,
98
102
  titleBarGroup: {
99
- main: `${e.prefix}-${f.actionsheet}-${t.titlebar}-${t.group}`,
100
- filter: `${e.prefix}-${f.actionsheet}-${e.filter}`
103
+ main: `${e.prefix}-${m.actionsheet}-${t.titlebar}-${t.group}`,
104
+ filter: `${e.prefix}-${m.actionsheet}-${e.filter}`
101
105
  }
102
- }, G = {
103
- wrapper: (l) => {
104
- const { c: n = g, isFullScreen: i } = l, r = n.wrapper;
106
+ }, E = {
107
+ wrapper: (o) => {
108
+ const { c: $ = B, isFullScreen: l } = o, r = $.wrapper;
105
109
  return {
106
110
  [r.main]: !0,
107
- [r.fullscreen]: i,
108
- [r.bottom]: !i
111
+ [r.fullscreen]: l,
112
+ [r.bottom]: !l
109
113
  };
110
114
  },
111
- header: o(g, "header"),
112
- titleBar: (l) => {
113
- const { c: n = g } = l, i = n.titleBar;
115
+ header: n(B, "header"),
116
+ titleBar: (o) => {
117
+ const { c: $ = B } = o, l = $.titleBar;
114
118
  return {
115
- [i.main]: !0,
116
- [i.position]: !0
119
+ [l.main]: !0,
120
+ [l.position]: !0
117
121
  };
118
122
  },
119
- title: o(g, "title"),
120
- actions: o(g, "actions"),
121
- titleBarGroup: (l) => {
122
- const { c: n = g } = l, i = n.titleBarGroup;
123
+ title: n(B, "title"),
124
+ subtitle: (o) => {
125
+ const { c: $ = B } = o, l = $.subtitle;
123
126
  return {
124
- [i.main]: !0,
125
- [i.filter]: !0
127
+ [l.main]: !0,
128
+ [l.textCenter]: !0
129
+ };
130
+ },
131
+ actions: n(B, "actions"),
132
+ titleBarGroup: (o) => {
133
+ const { c: $ = B } = o, l = $.titleBarGroup;
134
+ return {
135
+ [l.main]: !0,
136
+ [l.filter]: !0
126
137
  };
127
138
  }
128
- }, c = {
139
+ }, g = {
129
140
  wrapper: {
130
- main: M,
131
- picker: d,
141
+ main: P,
142
+ picker: b,
132
143
  size: {
133
- small: `${d}-${m.small}`,
134
- medium: `${d}-${m.medium}`,
135
- large: `${d}-${m.large}`
144
+ small: `${b}-${c.small}`,
145
+ medium: `${b}-${c.medium}`,
146
+ large: `${b}-${c.large}`
136
147
  },
137
148
  fillMode: {
138
- solid: `${d}-${b.solid}`,
139
- outline: `${d}-${b.outline}`,
140
- flat: `${d}-${b.flat}`,
141
- link: `${d}-${b.link}`,
142
- clear: `${d}-${b.clear}`
149
+ solid: `${b}-${z.solid}`,
150
+ outline: `${b}-${z.outline}`,
151
+ flat: `${b}-${z.flat}`,
152
+ link: `${b}-${z.link}`,
153
+ clear: `${b}-${z.clear}`
143
154
  },
144
155
  rounded: {
145
- small: `${e.prefix}-${e.rounded}-${B.small}`,
146
- medium: `${e.prefix}-${e.rounded}-${B.medium}`,
147
- large: `${e.prefix}-${e.rounded}-${B.large}`
156
+ small: `${e.prefix}-${e.rounded}-${M.small}`,
157
+ medium: `${e.prefix}-${e.rounded}-${M.medium}`,
158
+ large: `${e.prefix}-${e.rounded}-${M.large}`
148
159
  },
149
- disabled: `${e.prefix}-${p.disabled}`,
150
- focused: `${e.prefix}-${p.focus}`,
151
- invalid: `${e.prefix}-${p.invalid}`,
152
- loading: `${e.prefix}-${p.loading}`,
153
- required: `${e.prefix}-${p.required}`
154
- },
155
- loadingIcon: `${h}-${p.loading}-${T.prefix}`,
156
- iconButton: `${h}-${$.button}`,
160
+ disabled: `${e.prefix}-${a.disabled}`,
161
+ focused: `${e.prefix}-${a.focus}`,
162
+ invalid: `${e.prefix}-${a.invalid}`,
163
+ loading: `${e.prefix}-${a.loading}`,
164
+ required: `${e.prefix}-${a.required}`
165
+ },
166
+ loadingIcon: `${u}-${a.loading}-${k.prefix}`,
167
+ inputButton: `${u}-${s.button}`,
157
168
  listContainer: {
158
169
  main: `${e.prefix}-${t.list}-${t.container}`,
159
- popup: `${e.prefix}-${f.dropdownlist}-${t.popup}`
170
+ popup: `${e.prefix}-${m.dropdownlist}-${t.popup}`
160
171
  },
161
- input: `${h}-${D.inner}`,
162
- inputText: `${h}-${e.value}-${$.text}`,
163
- listHeader: `${e.prefix}-${t.list}-${$.header}`,
172
+ input: `${u}-${S.inner}`,
173
+ inputText: `${u}-${e.value}-${s.text}`,
174
+ listHeader: `${e.prefix}-${t.list}-${s.header}`,
164
175
  list: {
165
176
  main: `${e.prefix}-${t.list}`,
166
177
  size: {
167
- small: `${e.prefix}-${t.list}-${m.small}`,
168
- medium: `${e.prefix}-${t.list}-${m.medium}`,
169
- large: `${e.prefix}-${t.list}-${m.large}`
178
+ small: `${e.prefix}-${t.list}-${c.small}`,
179
+ medium: `${e.prefix}-${t.list}-${c.medium}`,
180
+ large: `${e.prefix}-${t.list}-${c.large}`
170
181
  },
171
182
  virtual: `${e.prefix}-${e.virtual}-${t.list}`
172
183
  },
173
184
  listContent: `${e.prefix}-${t.list}-${t.content}`,
174
- listFooter: `${e.prefix}-${t.list}-${$.footer}`
175
- }, S = {
176
- wrapper: (l) => {
185
+ listFooter: `${e.prefix}-${t.list}-${s.footer}`
186
+ }, J = {
187
+ wrapper: (o) => {
177
188
  const {
178
- c: n = c,
179
- size: i,
189
+ c: $ = g,
190
+ size: l,
180
191
  rounded: r,
181
- fillMode: u,
182
- focused: w,
192
+ fillMode: d,
193
+ focused: f,
183
194
  disabled: x,
184
195
  invalid: v,
185
- loading: z,
186
- required: I
187
- } = l, s = n.wrapper;
196
+ loading: C,
197
+ required: T
198
+ } = o, i = $.wrapper;
188
199
  return {
189
- [s.main]: !0,
190
- [s.picker]: !0,
191
- [s.size[i]]: s.size[i],
192
- [`${d}-${i}`]: i && !s.size[i],
193
- [s.fillMode[u]]: s.fillMode[u],
194
- [s.rounded[r]]: s.rounded[r],
195
- [`${e.prefix}-${e.rounded}-${r}`]: r && !s.rounded[r],
196
- [s.focused]: w,
197
- [s.disabled]: x,
198
- [s.loading]: z,
199
- [s.invalid]: v,
200
- [s.required]: I
200
+ [i.main]: !0,
201
+ [i.picker]: !0,
202
+ [i.size[l]]: i.size[l],
203
+ [`${b}-${l}`]: l && !i.size[l],
204
+ [i.fillMode[d]]: i.fillMode[d],
205
+ [i.rounded[r]]: i.rounded[r],
206
+ [`${e.prefix}-${e.rounded}-${r}`]: r && !i.rounded[r],
207
+ [i.focused]: f,
208
+ [i.disabled]: x,
209
+ [i.loading]: C,
210
+ [i.invalid]: v,
211
+ [i.required]: T
201
212
  };
202
213
  },
203
- loadingIcon: o(c, "loadingIcon"),
204
- iconButton: o(c, "iconButton"),
205
- listContainer: (l) => {
206
- const { c: n = c } = l, i = n.listContainer;
214
+ loadingIcon: n(g, "loadingIcon"),
215
+ inputButton: n(g, "inputButton"),
216
+ listContainer: (o) => {
217
+ const { c: $ = g } = o, l = $.listContainer;
207
218
  return {
208
- [i.main]: !0,
209
- [i.popup]: !0
219
+ [l.main]: !0,
220
+ [l.popup]: !0
221
+ };
222
+ },
223
+ input: n(g, "input"),
224
+ inputText: n(g, "inputText"),
225
+ listHeader: n(g, "listHeader"),
226
+ list: (o) => {
227
+ const { c: $ = g, size: l, virtual: r } = o, d = $.list;
228
+ return {
229
+ [d.main]: !0,
230
+ [d.size[l]]: d.size[l],
231
+ [`${e.prefix}-${t.list}-${l}`]: l && !d.size[l],
232
+ [d.virtual]: r
233
+ };
234
+ },
235
+ listContent: n(g, "listContent"),
236
+ listFooter: n(g, "listFooter")
237
+ }, h = {
238
+ wrapper: {
239
+ main: A,
240
+ input: u,
241
+ size: {
242
+ small: `${u}-${c.small}`,
243
+ medium: `${u}-${c.medium}`,
244
+ large: `${u}-${c.large}`
245
+ },
246
+ fillMode: {
247
+ solid: `${u}-${z.solid}`,
248
+ outline: `${u}-${z.outline}`,
249
+ flat: `${u}-${z.flat}`,
250
+ link: `${u}-${z.link}`,
251
+ clear: `${u}-${z.clear}`
252
+ },
253
+ rounded: {
254
+ small: `${e.prefix}-${e.rounded}-${M.small}`,
255
+ medium: `${e.prefix}-${e.rounded}-${M.medium}`,
256
+ large: `${e.prefix}-${e.rounded}-${M.large}`
257
+ },
258
+ disabled: `${e.prefix}-${a.disabled}`,
259
+ focused: `${e.prefix}-${a.focus}`,
260
+ invalid: `${e.prefix}-${a.invalid}`,
261
+ loading: `${e.prefix}-${a.loading}`,
262
+ required: `${e.prefix}-${a.required}`
263
+ },
264
+ loadingIcon: `${u}-${a.loading}-${k.prefix}`,
265
+ inputButton: `${u}-${s.button}`,
266
+ listContainer: {
267
+ main: `${e.prefix}-${t.list}-${t.container}`,
268
+ popup: `${e.prefix}-${m.combobox}-${t.popup}`
269
+ },
270
+ input: `${u}-${S.inner}`,
271
+ inputText: `${u}-${e.value}-${s.text}`,
272
+ listHeader: `${e.prefix}-${s.table}-${s.header}`,
273
+ list: {
274
+ list: `${e.prefix}-${t.list}`,
275
+ table: `${e.prefix}-${e.data}-${s.table}`,
276
+ size: {
277
+ prefix: `${e.prefix}-${t.list}-`,
278
+ small: `${e.prefix}-${t.list}-${c.small}`,
279
+ medium: `${e.prefix}-${t.list}-${c.medium}`,
280
+ large: `${e.prefix}-${t.list}-${c.large}`
281
+ },
282
+ tableSize: {
283
+ prefix: `${e.prefix}-${s.table}-`,
284
+ small: `${e.prefix}-${s.table}-${c.small}`,
285
+ medium: `${e.prefix}-${s.table}-${c.medium}`,
286
+ large: `${e.prefix}-${s.table}-${c.large}`
287
+ },
288
+ virtual: `${e.prefix}-${e.virtual}-${t.list}`
289
+ },
290
+ listContent: {
291
+ main: `${e.prefix}-${t.list}-${t.content}`,
292
+ scroller: `${e.prefix}-${t.list}-${e.scroller}`
293
+ },
294
+ listFooter: `${e.prefix}-${t.list}-${s.footer}`
295
+ }, K = {
296
+ wrapper: (o) => {
297
+ var D, I;
298
+ const {
299
+ c: $ = h,
300
+ size: l,
301
+ rounded: r,
302
+ fillMode: d,
303
+ focused: f,
304
+ disabled: x,
305
+ invalid: v,
306
+ loading: C,
307
+ required: T
308
+ } = o, i = $.wrapper;
309
+ return {
310
+ [i == null ? void 0 : i.main]: !0,
311
+ [i == null ? void 0 : i.input]: !0,
312
+ [i == null ? void 0 : i.size[l]]: i == null ? void 0 : i.size[l],
313
+ [`${b}-${l}`]: l && !(i != null && i.size[l]),
314
+ [i == null ? void 0 : i.fillMode[d]]: i == null ? void 0 : i.fillMode[d],
315
+ [i == null ? void 0 : i.rounded[r]]: i == null ? void 0 : i.rounded[r],
316
+ [`${(D = e) == null ? void 0 : D.prefix}-${(I = e) == null ? void 0 : I.rounded}-${r}`]: r && !(i != null && i.rounded[r]),
317
+ [i == null ? void 0 : i.focused]: f,
318
+ [i == null ? void 0 : i.disabled]: x,
319
+ [i == null ? void 0 : i.loading]: C,
320
+ [i == null ? void 0 : i.invalid]: v,
321
+ [i == null ? void 0 : i.required]: T
322
+ };
323
+ },
324
+ loadingIcon: n(h, "loadingIcon"),
325
+ inputButton: n(h, "inputButton"),
326
+ listContainer: (o) => {
327
+ const { c: $ = h, popup: l } = o, r = $.listContainer;
328
+ return {
329
+ [r == null ? void 0 : r.main]: !0,
330
+ [r == null ? void 0 : r.popup]: l
331
+ };
332
+ },
333
+ input: n(h, "input"),
334
+ inputText: n(h, "inputText"),
335
+ listHeader: n(h, "listHeader"),
336
+ list: (o) => {
337
+ var x, v, C, T, i, D, I, F, L, q, G;
338
+ const { c: $ = h, size: l, tableSize: r, virtual: d, list: f } = o;
339
+ return {
340
+ [(x = $.list) == null ? void 0 : x.list]: !f,
341
+ [(v = $.list) == null ? void 0 : v.table]: f,
342
+ [(C = $.list) == null ? void 0 : C.size[l]]: !f && ((T = $.list) == null ? void 0 : T.size[l]),
343
+ [`${(i = $.list) == null ? void 0 : i.size.prefix}${l}`]: !f && l && !((D = $.list) != null && D.size[l]),
344
+ [(I = $.list) == null ? void 0 : I.tableSize[r]]: f && ((F = $.list) == null ? void 0 : F.tableSize[r]),
345
+ [`${(L = $.list) == null ? void 0 : L.tableSize.prefix}${r}`]: f && r && !((q = $.list) != null && q.tableSize[r]),
346
+ [(G = $.list) == null ? void 0 : G.virtual]: d
210
347
  };
211
348
  },
212
- input: o(c, "input"),
213
- inputText: o(c, "inputText"),
214
- listHeader: o(c, "listHeader"),
215
- list: (l) => {
216
- const { c: n = c, size: i, virtual: r } = l, u = n.list;
349
+ listContent: (o) => {
350
+ const { c: $ = h, virtual: l } = o, r = $.listContent;
217
351
  return {
218
- [u.main]: !0,
219
- [u.size[i]]: u.size[i],
220
- [`${e.prefix}-${t.list}-${i}`]: i && !u.size[i],
221
- [u.virtual]: r
352
+ [r == null ? void 0 : r.main]: !0,
353
+ [r == null ? void 0 : r.scroller]: !l
222
354
  };
223
355
  },
224
- listContent: o(c, "listContent"),
225
- listFooter: o(c, "listFooter")
356
+ listFooter: n(h, "listFooter")
226
357
  };
227
358
  export {
228
- S as uDropDownList,
229
- G as uDropDownsActionSheet,
230
- F as uDropDownsBase
359
+ K as uComboBox,
360
+ J as uDropDownList,
361
+ E as uDropDownsActionSheet,
362
+ j as uDropDownsBase
231
363
  };
package/unstyled/form.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),o=`${e.base.prefix}-${e.forms.form}`,a=`${e.base.prefix}-${e.forms.form}-${e.forms.field}`,l={form:{main:o,size:{small:`${o}-${e.sizeMap.small}`,medium:`${o}-${e.sizeMap.medium}`,large:`${o}-${e.sizeMap.large}`},orientation:{horizontal:`${o}-${e.orientationMap.horizontal}`,vertical:`${o}-${e.orientationMap.vertical}`}}},m={form:n=>{const{size:i,orientation:s,c:t=l}=n,r=t.form;return{[r.main]:!0,[r.size[i]]:r.size[i],[`${o}-${i}`]:!r.size[i],[r.orientation[s]]:r.orientation[s]}}},f={formField:{main:a,isRtl:`${e.base.prefix}-${e.base.rtl}`}},$={formField:n=>{const{isRtl:i,c:s=f}=n,t=s.formField;return{[t.main]:!0,[t.isRtl]:i}}};exports.uForm=m;exports.uFormField=$;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),o=`${e.base.prefix}-${e.forms.form}`,l=`${e.base.prefix}-${e.forms.form}-${e.forms.field}`,m={form:{main:o,size:{prefix:`${o}-`,small:`${o}-${e.sizeMap.small}`,medium:`${o}-${e.sizeMap.medium}`,large:`${o}-${e.sizeMap.large}`},orientation:{horizontal:`${o}-${e.orientationMap.horizontal}`,vertical:`${o}-${e.orientationMap.vertical}`}},formField:{main:l,isRtl:`${e.base.prefix}-${e.base.rtl}`}},f={form:n=>{var a;const{size:r,orientation:s,c:t=m}=n,i=t.form;return{[i.main]:!0,[i.size[r]]:i.size[r],[((a=i.size)==null?void 0:a.prefix)||""]:r&&!i.size[r],[i.orientation[s]]:i.orientation[s]}}},$={formField:n=>{const{isRtl:r,c:s=m}=n,t=s.formField;return{[t.main]:!0,[t.isRtl]:r}}};exports.uForm=f;exports.uFormField=$;
package/unstyled/form.mjs CHANGED
@@ -6,45 +6,46 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import { base as s, forms as l, sizeMap as n, orientationMap as a } from "./json-classes.mjs";
10
- const o = `${s.prefix}-${l.form}`, f = `${s.prefix}-${l.form}-${l.field}`, $ = {
9
+ import { base as s, forms as l, sizeMap as n, orientationMap as f } from "./json-classes.mjs";
10
+ const o = `${s.prefix}-${l.form}`, c = `${s.prefix}-${l.form}-${l.field}`, $ = {
11
11
  form: {
12
12
  main: o,
13
13
  size: {
14
+ prefix: `${o}-`,
14
15
  small: `${o}-${n.small}`,
15
16
  medium: `${o}-${n.medium}`,
16
17
  large: `${o}-${n.large}`
17
18
  },
18
19
  orientation: {
19
- horizontal: `${o}-${a.horizontal}`,
20
- vertical: `${o}-${a.vertical}`
20
+ horizontal: `${o}-${f.horizontal}`,
21
+ vertical: `${o}-${f.vertical}`
21
22
  }
23
+ },
24
+ formField: {
25
+ main: c,
26
+ isRtl: `${s.prefix}-${s.rtl}`
22
27
  }
23
- }, u = {
28
+ }, p = {
24
29
  form: (m) => {
25
- const { size: i, orientation: e, c: t = $ } = m, r = t.form;
30
+ var a;
31
+ const { size: r, orientation: e, c: t = $ } = m, i = t.form;
26
32
  return {
27
- [r.main]: !0,
28
- [r.size[i]]: r.size[i],
29
- [`${o}-${i}`]: !r.size[i],
30
- [r.orientation[e]]: r.orientation[e]
33
+ [i.main]: !0,
34
+ [i.size[r]]: i.size[r],
35
+ [((a = i.size) == null ? void 0 : a.prefix) || ""]: r && !i.size[r],
36
+ [i.orientation[e]]: i.orientation[e]
31
37
  };
32
38
  }
33
- }, c = {
34
- formField: {
35
- main: f,
36
- isRtl: `${s.prefix}-${s.rtl}`
37
- }
38
- }, F = {
39
+ }, u = {
39
40
  formField: (m) => {
40
- const { isRtl: i, c: e = c } = m, t = e.formField;
41
+ const { isRtl: r, c: e = $ } = m, t = e.formField;
41
42
  return {
42
43
  [t.main]: !0,
43
- [t.isRtl]: i
44
+ [t.isRtl]: r
44
45
  };
45
46
  }
46
47
  };
47
48
  export {
48
- u as uForm,
49
- F as uFormField
49
+ p as uForm,
50
+ u as uFormField
50
51
  };
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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),l={prefix:`${e.base.prefix}-${e.icon.prefix}`,svgPrefix:`${e.base.prefix}-${e.icon.svg}-${e.icon.prefix}`,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}`,inverse:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.inverse}`},size:{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}`}},c={wrapper:s=>{const{iconNameProp:i,themeColor:o,flipH:$,flipV:p,size:a,c:r=l}=s;return{[r.prefix]:!0,[r.svgPrefix]:!0,[`${e.base.prefix}-${e.icon.svg}-${e.icon.i}-${i}`]:i,[r.themeColor[o]]:o,[r.flipH]:$,[r.flipV]:p,[r.size[a]]:r.size[a]}}};exports.uSvgIcon=c;
8
+ "use client";"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}`,inverse:`${e.base.prefix}-${e.icon.color}-${e.themeColorMap.inverse}`},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;