@progress/kendo-react-common 8.3.0-develop.5 → 8.3.0-develop.7
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/cdn/js/kendo-react-common.js +1 -1
- package/index.d.mts +495 -29
- package/index.d.ts +495 -29
- package/index.js +1 -1
- package/index.mjs +151 -98
- package/package.json +1 -1
- package/unstyled/animations.js +1 -1
- package/unstyled/animations.mjs +1 -1
- package/unstyled/buttons.js +1 -1
- package/unstyled/buttons.mjs +77 -77
- package/unstyled/dateinputs.js +8 -0
- package/unstyled/dateinputs.mjs +556 -0
- package/unstyled/dropdowns.js +8 -0
- package/unstyled/dropdowns.mjs +231 -0
- package/unstyled/form.js +8 -0
- package/unstyled/form.mjs +50 -0
- package/unstyled/grid.js +1 -1
- package/unstyled/grid.mjs +71 -71
- package/unstyled/inputs.js +1 -1
- package/unstyled/inputs.mjs +191 -78
- package/unstyled/interfaces/common.js +8 -0
- package/unstyled/interfaces/common.mjs +17 -0
- package/unstyled/json-classes.js +1 -1
- package/unstyled/json-classes.mjs +178 -64
- package/unstyled/labels.js +8 -0
- package/unstyled/labels.mjs +99 -0
- package/unstyled/popup.js +1 -1
- package/unstyled/popup.mjs +1 -1
|
@@ -10,8 +10,33 @@ const e = {
|
|
|
10
10
|
prefix: "k",
|
|
11
11
|
important: "!",
|
|
12
12
|
rtl: "rtl",
|
|
13
|
-
rounded: "rounded"
|
|
13
|
+
rounded: "rounded",
|
|
14
|
+
value: "value",
|
|
15
|
+
state: "state",
|
|
16
|
+
filter: "filter",
|
|
17
|
+
virtual: "virtual",
|
|
18
|
+
infinite: "infinite",
|
|
19
|
+
clear: "clear",
|
|
20
|
+
reset: "reset",
|
|
21
|
+
nodata: "nodata"
|
|
22
|
+
}, o = {
|
|
23
|
+
center: "center",
|
|
24
|
+
hbox: "hbox",
|
|
25
|
+
vstack: "vstack",
|
|
26
|
+
overflow: "overflow"
|
|
14
27
|
}, t = {
|
|
28
|
+
actionsheet: "actionsheet",
|
|
29
|
+
calendar: "calendar",
|
|
30
|
+
buttongroup: "buttongroup",
|
|
31
|
+
dateinput: "dateinput",
|
|
32
|
+
datetime: "datetime",
|
|
33
|
+
datetimepicker: "datetimepicker",
|
|
34
|
+
dropdownlist: "dropdownlist",
|
|
35
|
+
maskedtextbox: "maskedtextbox",
|
|
36
|
+
menu: "menu",
|
|
37
|
+
searchbox: "searchbox",
|
|
38
|
+
timepicker: "timepicker"
|
|
39
|
+
}, l = {
|
|
15
40
|
xsmall: "xs",
|
|
16
41
|
small: "sm",
|
|
17
42
|
medium: "md",
|
|
@@ -19,13 +44,13 @@ const e = {
|
|
|
19
44
|
xlarge: "xl",
|
|
20
45
|
xxlarge: "xxl",
|
|
21
46
|
xxxlarge: "xxxl"
|
|
22
|
-
},
|
|
47
|
+
}, s = {
|
|
23
48
|
solid: "solid",
|
|
24
49
|
outline: "outline",
|
|
25
50
|
flat: "flat",
|
|
26
51
|
link: "link",
|
|
27
52
|
clear: "clear"
|
|
28
|
-
},
|
|
53
|
+
}, c = {
|
|
29
54
|
base: "base",
|
|
30
55
|
primary: "primary",
|
|
31
56
|
secondary: "secondary",
|
|
@@ -38,33 +63,55 @@ const e = {
|
|
|
38
63
|
light: "light",
|
|
39
64
|
inherit: "inherit",
|
|
40
65
|
inverse: "inverse"
|
|
41
|
-
},
|
|
66
|
+
}, d = {
|
|
42
67
|
small: "sm",
|
|
43
68
|
medium: "md",
|
|
44
69
|
large: "lg",
|
|
45
70
|
full: "full"
|
|
46
|
-
},
|
|
71
|
+
}, p = {
|
|
72
|
+
vertical: "vertical",
|
|
73
|
+
horizontal: "horizontal"
|
|
74
|
+
}, m = {
|
|
47
75
|
height: "height",
|
|
48
76
|
width: "width"
|
|
49
|
-
},
|
|
77
|
+
}, u = {
|
|
50
78
|
default: "cursor-default"
|
|
51
|
-
},
|
|
79
|
+
}, f = {
|
|
52
80
|
up: "up",
|
|
53
81
|
down: "down",
|
|
54
82
|
left: "left",
|
|
55
|
-
right: "right"
|
|
56
|
-
|
|
83
|
+
right: "right",
|
|
84
|
+
start: "start",
|
|
85
|
+
mid: "mid",
|
|
86
|
+
end: "end"
|
|
87
|
+
}, r = {
|
|
88
|
+
actions: "actions",
|
|
57
89
|
container: "container",
|
|
58
90
|
content: "content",
|
|
91
|
+
group: "group",
|
|
92
|
+
row: "row",
|
|
93
|
+
nav: "nav",
|
|
59
94
|
wrap: "wrap",
|
|
95
|
+
wrapper: "wrapper",
|
|
60
96
|
list: "list",
|
|
97
|
+
placeholder: "placeholder",
|
|
61
98
|
popup: "popup",
|
|
62
|
-
item: "item"
|
|
63
|
-
|
|
99
|
+
item: "item",
|
|
100
|
+
part: "part",
|
|
101
|
+
picker: "picker",
|
|
102
|
+
separator: "separator",
|
|
103
|
+
spacer: "spacer",
|
|
104
|
+
tab: "tab",
|
|
105
|
+
titlebar: "titlebar",
|
|
106
|
+
optionlabel: "optionlabel",
|
|
107
|
+
view: "view"
|
|
108
|
+
}, a = {
|
|
64
109
|
table: "table",
|
|
65
110
|
text: "text",
|
|
111
|
+
button: "button",
|
|
66
112
|
tbody: "tbody",
|
|
67
113
|
thead: "thead",
|
|
114
|
+
tr: "tr",
|
|
68
115
|
th: "th",
|
|
69
116
|
td: "td",
|
|
70
117
|
header: "header",
|
|
@@ -72,28 +119,49 @@ const e = {
|
|
|
72
119
|
icon: "icon",
|
|
73
120
|
title: "title",
|
|
74
121
|
link: "link",
|
|
75
|
-
label: "label"
|
|
76
|
-
|
|
122
|
+
label: "label",
|
|
123
|
+
ul: "ul",
|
|
124
|
+
caption: "caption"
|
|
125
|
+
}, h = {
|
|
126
|
+
increase: "increase",
|
|
127
|
+
decrease: "decrease",
|
|
128
|
+
cancel: "cancel",
|
|
129
|
+
accept: "accept",
|
|
130
|
+
split: "split"
|
|
131
|
+
}, x = {
|
|
132
|
+
active: "active",
|
|
133
|
+
adaptive: "adaptive",
|
|
77
134
|
first: "first",
|
|
78
135
|
focus: "focus",
|
|
136
|
+
pending: "pending",
|
|
79
137
|
last: "last",
|
|
80
138
|
draggable: "draggable",
|
|
81
139
|
filterable: "filterable",
|
|
82
140
|
grouping: "grouping",
|
|
83
141
|
selected: "selected",
|
|
84
142
|
disabled: "disabled",
|
|
143
|
+
hidden: "hidden",
|
|
144
|
+
highlight: "highlight",
|
|
85
145
|
invalid: "invalid",
|
|
146
|
+
loading: "loading",
|
|
147
|
+
required: "required",
|
|
86
148
|
checked: "checked",
|
|
149
|
+
empty: "empty",
|
|
150
|
+
scrollable: "scrollable",
|
|
87
151
|
sorted: "sorted",
|
|
88
152
|
sort: "sort",
|
|
153
|
+
sticky: "sticky",
|
|
154
|
+
stretched: "stretched",
|
|
89
155
|
order: "order",
|
|
90
156
|
alt: "alt",
|
|
91
157
|
edit: "edit",
|
|
92
158
|
template: "template",
|
|
93
159
|
shown: "shown",
|
|
94
160
|
horizontal: "horizontal",
|
|
95
|
-
vertical: "vertical"
|
|
96
|
-
|
|
161
|
+
vertical: "vertical",
|
|
162
|
+
fullscreen: "fullscreen",
|
|
163
|
+
bottom: "bottom"
|
|
164
|
+
}, g = {
|
|
97
165
|
prefix: "animation",
|
|
98
166
|
child: "child",
|
|
99
167
|
relative: "relative",
|
|
@@ -123,31 +191,58 @@ const e = {
|
|
|
123
191
|
"animation-container-relative": "animation-container-relative",
|
|
124
192
|
"animation-container-fixed": "animation-container-fixed",
|
|
125
193
|
"child-animation-container": "child-animation-container"
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
}, u = {
|
|
129
|
-
prefix: "input",
|
|
194
|
+
}, i = {
|
|
195
|
+
input: "input",
|
|
130
196
|
inner: "inner",
|
|
197
|
+
spin: "spin",
|
|
198
|
+
spinner: "spinner",
|
|
131
199
|
maskedtextbox: "maskedtextbox",
|
|
132
|
-
radio: "radio"
|
|
133
|
-
|
|
134
|
-
prefix: "
|
|
135
|
-
|
|
136
|
-
},
|
|
200
|
+
radio: "radio",
|
|
201
|
+
textbox: "textbox",
|
|
202
|
+
prefix: "prefix",
|
|
203
|
+
suffix: "suffix"
|
|
204
|
+
}, b = {
|
|
205
|
+
week: "week",
|
|
206
|
+
weekdays: "weekdays",
|
|
207
|
+
weekend: "weekend",
|
|
208
|
+
month: "month",
|
|
209
|
+
year: "year",
|
|
210
|
+
decade: "decade",
|
|
211
|
+
century: "century",
|
|
212
|
+
number: "number",
|
|
213
|
+
navigation: "navigation",
|
|
214
|
+
marker: "marker",
|
|
215
|
+
now: "now",
|
|
216
|
+
range: "range",
|
|
217
|
+
today: "today",
|
|
218
|
+
other: "other",
|
|
219
|
+
date: "date",
|
|
220
|
+
time: "time",
|
|
221
|
+
selector: "selector",
|
|
222
|
+
timeselector: "timeselector"
|
|
223
|
+
}, v = {
|
|
137
224
|
prefix: "icon",
|
|
138
225
|
svg: "svg",
|
|
139
226
|
i: "i",
|
|
140
227
|
color: "color",
|
|
141
228
|
flipH: "flip-h",
|
|
142
229
|
flipV: "flip-v"
|
|
143
|
-
},
|
|
230
|
+
}, w = {
|
|
231
|
+
label: "label",
|
|
232
|
+
text: "text",
|
|
233
|
+
floatingLabel: "floating-label",
|
|
234
|
+
container: "container",
|
|
235
|
+
hint: "form-hint",
|
|
236
|
+
error: "form-error"
|
|
237
|
+
}, k = {
|
|
238
|
+
form: "form",
|
|
239
|
+
field: "field"
|
|
240
|
+
}, y = {
|
|
144
241
|
prefix: "popup"
|
|
145
|
-
},
|
|
242
|
+
}, n = {
|
|
146
243
|
prefix: "grid",
|
|
147
|
-
virtual: "virtual",
|
|
148
244
|
ariaRoot: "aria-root",
|
|
149
245
|
tableWrap: "table-wrap",
|
|
150
|
-
sticky: "sticky",
|
|
151
246
|
master: "master",
|
|
152
247
|
column: "column",
|
|
153
248
|
cell: "cell",
|
|
@@ -158,44 +253,63 @@ const e = {
|
|
|
158
253
|
detail: "detail",
|
|
159
254
|
noRecords: "norecords",
|
|
160
255
|
pager: "pager"
|
|
161
|
-
},
|
|
256
|
+
}, $ = `${e.prefix}-${i.input}`, z = `${e.prefix}-${t.calendar}`, P = `${e.prefix}-${t.maskedtextbox}`, M = `${e.prefix}-${i.radio}`, I = `${e.prefix}-${a.button}`, L = `${e.prefix}-${t.menu}`, R = `${e.prefix}-${r.picker}`, D = `${e.prefix}-${t.dropdownlist}`, H = `${e.prefix}-${n.prefix}`, U = {
|
|
162
257
|
base: e,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
258
|
+
actions: h,
|
|
259
|
+
animation: g,
|
|
260
|
+
sizeMap: l,
|
|
261
|
+
components: t,
|
|
262
|
+
cssUtils: o,
|
|
263
|
+
directionMap: f,
|
|
264
|
+
fillModeMap: s,
|
|
265
|
+
themeColorMap: c,
|
|
266
|
+
roundedMap: d,
|
|
267
|
+
orientationMap: p,
|
|
268
|
+
elements: a,
|
|
269
|
+
states: x,
|
|
270
|
+
dimensions: m,
|
|
271
|
+
containers: r,
|
|
272
|
+
cursor: u,
|
|
273
|
+
inputs: i,
|
|
274
|
+
dateInputs: b,
|
|
275
|
+
labels: w,
|
|
276
|
+
forms: k,
|
|
277
|
+
popup: y,
|
|
278
|
+
icon: v,
|
|
279
|
+
grid: n
|
|
180
280
|
};
|
|
181
281
|
export {
|
|
182
|
-
|
|
282
|
+
h as actions,
|
|
283
|
+
g as animationStyles,
|
|
183
284
|
e as base,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
o as
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
f as
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
285
|
+
I as buttonPrefix,
|
|
286
|
+
z as calendarPrefix,
|
|
287
|
+
t as components,
|
|
288
|
+
r as containers,
|
|
289
|
+
o as cssUtils,
|
|
290
|
+
u as cursor,
|
|
291
|
+
b as dateInputs,
|
|
292
|
+
L as ddbPrefix,
|
|
293
|
+
m as dimensions,
|
|
294
|
+
f as directionMap,
|
|
295
|
+
D as dropDownListPrefix,
|
|
296
|
+
a as elements,
|
|
297
|
+
s as fillModeMap,
|
|
298
|
+
k as forms,
|
|
299
|
+
n as grid,
|
|
300
|
+
H as gridPrefix,
|
|
301
|
+
v as icon,
|
|
302
|
+
$ as inputPrefix,
|
|
303
|
+
i as inputs,
|
|
304
|
+
U as jsonTheme,
|
|
305
|
+
w as labels,
|
|
306
|
+
P as maskedPrefix,
|
|
307
|
+
p as orientationMap,
|
|
308
|
+
R as pickerPrefix,
|
|
309
|
+
y as popup,
|
|
310
|
+
M as radioPrefix,
|
|
311
|
+
d as roundedMap,
|
|
312
|
+
l as sizeMap,
|
|
313
|
+
x as states,
|
|
314
|
+
c as themeColorMap
|
|
201
315
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),d=`${e.base.prefix}-${e.labels.label}`,b=`${e.base.prefix}-${e.labels.floatingLabel}`,p=`${e.base.prefix}-${e.labels.error}`,$=`${e.base.prefix}-${e.labels.hint}`,c={label:{main:d,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}`}},x={label:l=>{const{empty:s,invalid:r,disabled:t,c:a=c}=l,i=a.label;return{[i.main]:!0,[i.empty]:s,[i.invalid]:r,[i.disabled]:t}}},o={wrapper:{main:`${b}-${e.labels.container}`,focused:`${e.base.prefix}-${e.states.focus}`,empty:`${e.base.prefix}-${e.states.empty}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},label:{main:b,invalid:`${e.base.prefix}-${e.labels.text}-${e.themeColorMap.error}`,disabled:`${e.base.prefix}-${e.labels.text}-${e.states.disabled}`}},u={wrapper:l=>{const{focused:s,empty:r,disabled:t,isRtl:a,c:i=o}=l,n=i.wrapper;return{[n.main]:!0,[n.focused]:s,[n.empty]:r,[n.disabled]:t,[n.isRtl]:a}},label:l=>{const{invalid:s,disabled:r,c:t=o}=l,a=t.label;return{[a.main]:!0,[a.invalid]:s,[a.disabled]:r}}},f={wrapper:{main:p,direction:{start:`${e.base.prefix}-${e.labels.text}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.labels.text}-${e.directionMap.end}`}}},m={wrapper:l=>{const{direction:s,c:r=f}=l,t=r.wrapper;return{[t.main]:!0,[t.direction[s]]:t.direction[s]}}},w={wrapper:{main:$,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}`}}},C={wrapper:l=>{const{direction:s,disabled:r,c:t=w}=l,a=t.wrapper;return{[a.main]:!0,[a.direction[s]]:a.direction[s],[a.disabled]:r}}};exports.uError=m;exports.uFloatingLabel=u;exports.uHint=C;exports.uLabel=x;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import { base as e, labels as t, states as n, themeColorMap as b, directionMap as o } from "./json-classes.mjs";
|
|
10
|
+
const x = `${e.prefix}-${t.label}`, $ = `${e.prefix}-${t.floatingLabel}`, f = `${e.prefix}-${t.error}`, m = `${e.prefix}-${t.hint}`, u = {
|
|
11
|
+
label: {
|
|
12
|
+
main: x,
|
|
13
|
+
empty: `${e.prefix}-${t.label}-${n.empty}`,
|
|
14
|
+
invalid: `${e.prefix}-${t.text}-${b.error}`,
|
|
15
|
+
disabled: `${e.prefix}-${t.text}-${n.disabled}`
|
|
16
|
+
}
|
|
17
|
+
}, v = {
|
|
18
|
+
label: (s) => {
|
|
19
|
+
const { empty: i, invalid: l, disabled: a, c: r = u } = s, d = r.label;
|
|
20
|
+
return {
|
|
21
|
+
[d.main]: !0,
|
|
22
|
+
[d.empty]: i,
|
|
23
|
+
[d.invalid]: l,
|
|
24
|
+
[d.disabled]: a
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}, c = {
|
|
28
|
+
wrapper: {
|
|
29
|
+
main: `${$}-${t.container}`,
|
|
30
|
+
focused: `${e.prefix}-${n.focus}`,
|
|
31
|
+
empty: `${e.prefix}-${n.empty}`,
|
|
32
|
+
disabled: `${e.prefix}-${t.text}-${n.disabled}`,
|
|
33
|
+
isRtl: `${e.prefix}-${e.rtl}`
|
|
34
|
+
},
|
|
35
|
+
label: {
|
|
36
|
+
main: $,
|
|
37
|
+
invalid: `${e.prefix}-${t.text}-${b.error}`,
|
|
38
|
+
disabled: `${e.prefix}-${t.text}-${n.disabled}`
|
|
39
|
+
}
|
|
40
|
+
}, L = {
|
|
41
|
+
wrapper: (s) => {
|
|
42
|
+
const { focused: i, empty: l, disabled: a, isRtl: r, c: d = c } = s, p = d.wrapper;
|
|
43
|
+
return {
|
|
44
|
+
[p.main]: !0,
|
|
45
|
+
[p.focused]: i,
|
|
46
|
+
[p.empty]: l,
|
|
47
|
+
[p.disabled]: a,
|
|
48
|
+
[p.isRtl]: r
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
label: (s) => {
|
|
52
|
+
const { invalid: i, disabled: l, c: a = c } = s, r = a.label;
|
|
53
|
+
return {
|
|
54
|
+
[r.main]: !0,
|
|
55
|
+
[r.invalid]: i,
|
|
56
|
+
[r.disabled]: l
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
}, w = {
|
|
60
|
+
wrapper: {
|
|
61
|
+
main: f,
|
|
62
|
+
direction: {
|
|
63
|
+
start: `${e.prefix}-${t.text}-${o.start}`,
|
|
64
|
+
end: `${e.prefix}-${t.text}-${o.end}`
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}, g = {
|
|
68
|
+
wrapper: (s) => {
|
|
69
|
+
const { direction: i, c: l = w } = s, a = l.wrapper;
|
|
70
|
+
return {
|
|
71
|
+
[a.main]: !0,
|
|
72
|
+
[a.direction[i]]: a.direction[i]
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}, C = {
|
|
76
|
+
wrapper: {
|
|
77
|
+
main: m,
|
|
78
|
+
direction: {
|
|
79
|
+
start: `${e.prefix}-${t.text}-${o.start}`,
|
|
80
|
+
end: `${e.prefix}-${t.text}-${o.end}`,
|
|
81
|
+
disabled: `${e.prefix}-${t.text}-${n.disabled}`
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}, h = {
|
|
85
|
+
wrapper: (s) => {
|
|
86
|
+
const { direction: i, disabled: l, c: a = C } = s, r = a.wrapper;
|
|
87
|
+
return {
|
|
88
|
+
[r.main]: !0,
|
|
89
|
+
[r.direction[i]]: r.direction[i],
|
|
90
|
+
[r.disabled]: l
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
export {
|
|
95
|
+
g as uError,
|
|
96
|
+
L as uFloatingLabel,
|
|
97
|
+
h as uHint,
|
|
98
|
+
v as uLabel
|
|
99
|
+
};
|
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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./json-classes.js"),a={animationContainer:`${i.base.prefix}-${i.
|
|
8
|
+
"use client";"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}`}}},o={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:s,c:n=a}=t;return{[n.slide[e][s]]:n.slide[e]&&n.slide[e][s]}},slideActive:t=>{const{direction:e,type:s,c:n=a}=t;return{[n.slideActive[e][s]]:n.slideActive[e]&&n.slideActive[e][s]}}};exports.uPopup=o;
|
package/unstyled/popup.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
import { base as i,
|
|
9
|
+
import { base as i, animationStyles as e, containers as s, states as a, popup as x, directionMap as t } from "./json-classes.mjs";
|
|
10
10
|
const p = {
|
|
11
11
|
animationContainer: `${i.prefix}-${e.prefix}-${s.container}`,
|
|
12
12
|
animationContainerShown: `${i.prefix}-${e.prefix}-${s.container}-${a.shown}`,
|