bromcom-ui-next 0.1.6 → 0.1.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/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-056c9348.entry.js +2 -0
- package/dist/bromcom-ui/{p-c1161950.entry.js.map → p-056c9348.entry.js.map} +1 -1
- package/dist/bromcom-ui/p-15829c47.entry.js +2 -0
- package/dist/bromcom-ui/{p-c427ffee.entry.js.map → p-15829c47.entry.js.map} +1 -1
- package/dist/bromcom-ui/p-4b7294a3.entry.js +2 -0
- package/dist/bromcom-ui/{p-cee68279.entry.js.map → p-4b7294a3.entry.js.map} +1 -1
- package/dist/bromcom-ui/{p-3b230145.entry.js → p-625bbd86.entry.js} +2 -2
- package/dist/bromcom-ui/{p-3b230145.entry.js.map → p-625bbd86.entry.js.map} +1 -1
- package/dist/bromcom-ui/p-7d8ad3dd.entry.js +2 -0
- package/dist/bromcom-ui/{p-9551c35e.entry.js.map → p-7d8ad3dd.entry.js.map} +1 -1
- package/dist/bromcom-ui/p-9ab4d2be.entry.js +2 -0
- package/dist/bromcom-ui/{p-25038cc8.entry.js.map → p-9ab4d2be.entry.js.map} +1 -1
- package/dist/bromcom-ui/p-ae16edd3.entry.js +2 -0
- package/dist/bromcom-ui/{p-308f865b.entry.js.map → p-ae16edd3.entry.js.map} +1 -1
- package/dist/bromcom-ui/{p-98c76392.entry.js → p-e6025578.entry.js} +2 -2
- package/dist/bromcom-ui/{p-98c76392.entry.js.map → p-e6025578.entry.js.map} +1 -1
- package/dist/bromcom-ui/p-f7890098.entry.js +2 -0
- package/dist/bromcom-ui/{p-385fa0f3.entry.js.map → p-f7890098.entry.js.map} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-avatar_4.cjs.entry.js +1 -1
- package/dist/cjs/bcm-avatar_4.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
- package/dist/cjs/bcm-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
- package/dist/cjs/bcm-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-tabs-trigger.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tabs-trigger.cjs.entry.js.map +1 -1
- package/dist/cjs/bcm-text.cjs.entry.js +1 -1
- package/dist/cjs/bcm-text.cjs.entry.js.map +1 -1
- package/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/chip/chip.css +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
- package/dist/collection/components/popover/popover.css +1 -1
- package/dist/collection/components/switch/switch.css +1 -1
- package/dist/collection/components/tabs/tabs-trigger.css +1 -1
- package/dist/collection/components/text/text.css +1 -1
- package/dist/collection/styles/theme-variables.js +400 -18
- package/dist/collection/styles/theme-variables.js.map +1 -1
- package/dist/components/bcm-accordion.js +1 -1
- package/dist/components/bcm-accordion.js.map +1 -1
- package/dist/components/bcm-button.js +1 -1
- package/dist/components/bcm-checkbox.js +1 -1
- package/dist/components/bcm-checkbox.js.map +1 -1
- package/dist/components/bcm-chip.js +1 -1
- package/dist/components/bcm-chip.js.map +1 -1
- package/dist/components/bcm-dropdown-item.js +1 -1
- package/dist/components/bcm-dropdown-item.js.map +1 -1
- package/dist/components/bcm-dropdown.js +1 -1
- package/dist/components/bcm-pop-confirm.js +1 -1
- package/dist/components/bcm-popover.js +1 -1
- package/dist/components/bcm-popover.js.map +1 -1
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-switch.js.map +1 -1
- package/dist/components/bcm-tabs-trigger.js +1 -1
- package/dist/components/bcm-tabs-trigger.js.map +1 -1
- package/dist/components/bcm-text.js +1 -1
- package/dist/components/bcm-text.js.map +1 -1
- package/dist/components/{p-c3a60937.js → p-e6567774.js} +2 -2
- package/dist/components/{p-c3a60937.js.map → p-e6567774.js.map} +1 -1
- package/dist/esm/bcm-accordion.entry.js +1 -1
- package/dist/esm/bcm-accordion.entry.js.map +1 -1
- package/dist/esm/bcm-avatar_4.entry.js +1 -1
- package/dist/esm/bcm-avatar_4.entry.js.map +1 -1
- package/dist/esm/bcm-checkbox.entry.js +1 -1
- package/dist/esm/bcm-checkbox.entry.js.map +1 -1
- package/dist/esm/bcm-chip.entry.js +1 -1
- package/dist/esm/bcm-chip.entry.js.map +1 -1
- package/dist/esm/bcm-dropdown-item.entry.js +1 -1
- package/dist/esm/bcm-dropdown-item.entry.js.map +1 -1
- package/dist/esm/bcm-popover.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js.map +1 -1
- package/dist/esm/bcm-switch.entry.js +1 -1
- package/dist/esm/bcm-switch.entry.js.map +1 -1
- package/dist/esm/bcm-tabs-trigger.entry.js +1 -1
- package/dist/esm/bcm-tabs-trigger.entry.js.map +1 -1
- package/dist/esm/bcm-text.entry.js +1 -1
- package/dist/esm/bcm-text.entry.js.map +1 -1
- package/dist/types/styles/theme-variables.d.ts +386 -4
- package/package.json +1 -1
- package/dist/bromcom-ui/p-25038cc8.entry.js +0 -2
- package/dist/bromcom-ui/p-308f865b.entry.js +0 -2
- package/dist/bromcom-ui/p-385fa0f3.entry.js +0 -2
- package/dist/bromcom-ui/p-9551c35e.entry.js +0 -2
- package/dist/bromcom-ui/p-c1161950.entry.js +0 -2
- package/dist/bromcom-ui/p-c427ffee.entry.js +0 -2
- package/dist/bromcom-ui/p-cee68279.entry.js +0 -2
|
@@ -46,6 +46,353 @@ export declare const themeVariables: {
|
|
|
46
46
|
lineHeight: string;
|
|
47
47
|
})[];
|
|
48
48
|
};
|
|
49
|
+
backgroundColor: {
|
|
50
|
+
basic: {
|
|
51
|
+
masterpage: string;
|
|
52
|
+
card: string;
|
|
53
|
+
modal: string;
|
|
54
|
+
panel: string;
|
|
55
|
+
base: string;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
DEFAULT: string;
|
|
59
|
+
};
|
|
60
|
+
base: {
|
|
61
|
+
DEFAULT: string;
|
|
62
|
+
hover: string;
|
|
63
|
+
active: string;
|
|
64
|
+
};
|
|
65
|
+
default: {
|
|
66
|
+
DEFAULT: string;
|
|
67
|
+
hover: string;
|
|
68
|
+
active: string;
|
|
69
|
+
dark: {
|
|
70
|
+
DEFAULT: string;
|
|
71
|
+
hover: string;
|
|
72
|
+
active: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
primary: {
|
|
76
|
+
DEFAULT: string;
|
|
77
|
+
hover: string;
|
|
78
|
+
active: string;
|
|
79
|
+
};
|
|
80
|
+
info: {
|
|
81
|
+
DEFAULT: string;
|
|
82
|
+
hover: string;
|
|
83
|
+
active: string;
|
|
84
|
+
};
|
|
85
|
+
success: {
|
|
86
|
+
DEFAULT: string;
|
|
87
|
+
hover: string;
|
|
88
|
+
active: string;
|
|
89
|
+
};
|
|
90
|
+
warning: {
|
|
91
|
+
DEFAULT: string;
|
|
92
|
+
hover: string;
|
|
93
|
+
active: string;
|
|
94
|
+
};
|
|
95
|
+
error: {
|
|
96
|
+
DEFAULT: string;
|
|
97
|
+
hover: string;
|
|
98
|
+
active: string;
|
|
99
|
+
};
|
|
100
|
+
transparent: {
|
|
101
|
+
DEFAULT: string;
|
|
102
|
+
};
|
|
103
|
+
vivid: {
|
|
104
|
+
slate: {
|
|
105
|
+
DEFAULT: string;
|
|
106
|
+
hover: string;
|
|
107
|
+
active: string;
|
|
108
|
+
};
|
|
109
|
+
gray: {
|
|
110
|
+
DEFAULT: string;
|
|
111
|
+
hover: string;
|
|
112
|
+
active: string;
|
|
113
|
+
};
|
|
114
|
+
zinc: {
|
|
115
|
+
DEFAULT: string;
|
|
116
|
+
hover: string;
|
|
117
|
+
active: string;
|
|
118
|
+
};
|
|
119
|
+
neutral: {
|
|
120
|
+
DEFAULT: string;
|
|
121
|
+
hover: string;
|
|
122
|
+
active: string;
|
|
123
|
+
};
|
|
124
|
+
stone: {
|
|
125
|
+
DEFAULT: string;
|
|
126
|
+
hover: string;
|
|
127
|
+
active: string;
|
|
128
|
+
};
|
|
129
|
+
red: {
|
|
130
|
+
DEFAULT: string;
|
|
131
|
+
hover: string;
|
|
132
|
+
active: string;
|
|
133
|
+
};
|
|
134
|
+
orange: {
|
|
135
|
+
DEFAULT: string;
|
|
136
|
+
hover: string;
|
|
137
|
+
active: string;
|
|
138
|
+
};
|
|
139
|
+
amber: {
|
|
140
|
+
DEFAULT: string;
|
|
141
|
+
hover: string;
|
|
142
|
+
active: string;
|
|
143
|
+
};
|
|
144
|
+
yellow: {
|
|
145
|
+
DEFAULT: string;
|
|
146
|
+
hover: string;
|
|
147
|
+
active: string;
|
|
148
|
+
};
|
|
149
|
+
lime: {
|
|
150
|
+
DEFAULT: string;
|
|
151
|
+
hover: string;
|
|
152
|
+
active: string;
|
|
153
|
+
};
|
|
154
|
+
green: {
|
|
155
|
+
DEFAULT: string;
|
|
156
|
+
hover: string;
|
|
157
|
+
active: string;
|
|
158
|
+
};
|
|
159
|
+
emerald: {
|
|
160
|
+
DEFAULT: string;
|
|
161
|
+
hover: string;
|
|
162
|
+
active: string;
|
|
163
|
+
};
|
|
164
|
+
teal: {
|
|
165
|
+
DEFAULT: string;
|
|
166
|
+
hover: string;
|
|
167
|
+
active: string;
|
|
168
|
+
};
|
|
169
|
+
cyan: {
|
|
170
|
+
DEFAULT: string;
|
|
171
|
+
hover: string;
|
|
172
|
+
active: string;
|
|
173
|
+
};
|
|
174
|
+
sky: {
|
|
175
|
+
DEFAULT: string;
|
|
176
|
+
hover: string;
|
|
177
|
+
active: string;
|
|
178
|
+
};
|
|
179
|
+
blue: {
|
|
180
|
+
DEFAULT: string;
|
|
181
|
+
hover: string;
|
|
182
|
+
active: string;
|
|
183
|
+
};
|
|
184
|
+
indigo: {
|
|
185
|
+
DEFAULT: string;
|
|
186
|
+
hover: string;
|
|
187
|
+
active: string;
|
|
188
|
+
};
|
|
189
|
+
violet: {
|
|
190
|
+
DEFAULT: string;
|
|
191
|
+
hover: string;
|
|
192
|
+
active: string;
|
|
193
|
+
};
|
|
194
|
+
purple: {
|
|
195
|
+
DEFAULT: string;
|
|
196
|
+
hover: string;
|
|
197
|
+
active: string;
|
|
198
|
+
};
|
|
199
|
+
fuchsia: {
|
|
200
|
+
DEFAULT: string;
|
|
201
|
+
hover: string;
|
|
202
|
+
active: string;
|
|
203
|
+
};
|
|
204
|
+
pink: {
|
|
205
|
+
DEFAULT: string;
|
|
206
|
+
hover: string;
|
|
207
|
+
active: string;
|
|
208
|
+
};
|
|
209
|
+
rose: {
|
|
210
|
+
DEFAULT: string;
|
|
211
|
+
hover: string;
|
|
212
|
+
active: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
soft: {
|
|
216
|
+
slate: {
|
|
217
|
+
DEFAULT: string;
|
|
218
|
+
};
|
|
219
|
+
gray: {
|
|
220
|
+
DEFAULT: string;
|
|
221
|
+
};
|
|
222
|
+
zinc: {
|
|
223
|
+
DEFAULT: string;
|
|
224
|
+
};
|
|
225
|
+
neutral: {
|
|
226
|
+
DEFAULT: string;
|
|
227
|
+
};
|
|
228
|
+
stone: {
|
|
229
|
+
DEFAULT: string;
|
|
230
|
+
};
|
|
231
|
+
red: {
|
|
232
|
+
DEFAULT: string;
|
|
233
|
+
};
|
|
234
|
+
orange: {
|
|
235
|
+
DEFAULT: string;
|
|
236
|
+
};
|
|
237
|
+
amber: {
|
|
238
|
+
DEFAULT: string;
|
|
239
|
+
};
|
|
240
|
+
yellow: {
|
|
241
|
+
DEFAULT: string;
|
|
242
|
+
};
|
|
243
|
+
lime: {
|
|
244
|
+
DEFAULT: string;
|
|
245
|
+
};
|
|
246
|
+
green: {
|
|
247
|
+
DEFAULT: string;
|
|
248
|
+
};
|
|
249
|
+
emerald: {
|
|
250
|
+
DEFAULT: string;
|
|
251
|
+
};
|
|
252
|
+
teal: {
|
|
253
|
+
DEFAULT: string;
|
|
254
|
+
};
|
|
255
|
+
cyan: {
|
|
256
|
+
DEFAULT: string;
|
|
257
|
+
};
|
|
258
|
+
sky: {
|
|
259
|
+
DEFAULT: string;
|
|
260
|
+
};
|
|
261
|
+
blue: {
|
|
262
|
+
DEFAULT: string;
|
|
263
|
+
};
|
|
264
|
+
indigo: {
|
|
265
|
+
DEFAULT: string;
|
|
266
|
+
};
|
|
267
|
+
violet: {
|
|
268
|
+
DEFAULT: string;
|
|
269
|
+
};
|
|
270
|
+
purple: {
|
|
271
|
+
DEFAULT: string;
|
|
272
|
+
};
|
|
273
|
+
fuchsia: {
|
|
274
|
+
DEFAULT: string;
|
|
275
|
+
};
|
|
276
|
+
pink: {
|
|
277
|
+
DEFAULT: string;
|
|
278
|
+
};
|
|
279
|
+
rose: {
|
|
280
|
+
DEFAULT: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
palette: {
|
|
284
|
+
slate: {
|
|
285
|
+
DEFAULT: string;
|
|
286
|
+
hover: string;
|
|
287
|
+
active: string;
|
|
288
|
+
};
|
|
289
|
+
gray: {
|
|
290
|
+
DEFAULT: string;
|
|
291
|
+
hover: string;
|
|
292
|
+
active: string;
|
|
293
|
+
};
|
|
294
|
+
zinc: {
|
|
295
|
+
DEFAULT: string;
|
|
296
|
+
hover: string;
|
|
297
|
+
active: string;
|
|
298
|
+
};
|
|
299
|
+
neutral: {
|
|
300
|
+
DEFAULT: string;
|
|
301
|
+
hover: string;
|
|
302
|
+
active: string;
|
|
303
|
+
};
|
|
304
|
+
stone: {
|
|
305
|
+
DEFAULT: string;
|
|
306
|
+
hover: string;
|
|
307
|
+
active: string;
|
|
308
|
+
};
|
|
309
|
+
red: {
|
|
310
|
+
DEFAULT: string;
|
|
311
|
+
hover: string;
|
|
312
|
+
active: string;
|
|
313
|
+
};
|
|
314
|
+
orange: {
|
|
315
|
+
DEFAULT: string;
|
|
316
|
+
hover: string;
|
|
317
|
+
active: string;
|
|
318
|
+
};
|
|
319
|
+
amber: {
|
|
320
|
+
DEFAULT: string;
|
|
321
|
+
hover: string;
|
|
322
|
+
active: string;
|
|
323
|
+
};
|
|
324
|
+
yellow: {
|
|
325
|
+
DEFAULT: string;
|
|
326
|
+
hover: string;
|
|
327
|
+
active: string;
|
|
328
|
+
};
|
|
329
|
+
lime: {
|
|
330
|
+
DEFAULT: string;
|
|
331
|
+
hover: string;
|
|
332
|
+
active: string;
|
|
333
|
+
};
|
|
334
|
+
green: {
|
|
335
|
+
DEFAULT: string;
|
|
336
|
+
hover: string;
|
|
337
|
+
active: string;
|
|
338
|
+
};
|
|
339
|
+
emerald: {
|
|
340
|
+
DEFAULT: string;
|
|
341
|
+
hover: string;
|
|
342
|
+
active: string;
|
|
343
|
+
};
|
|
344
|
+
teal: {
|
|
345
|
+
DEFAULT: string;
|
|
346
|
+
hover: string;
|
|
347
|
+
active: string;
|
|
348
|
+
};
|
|
349
|
+
cyan: {
|
|
350
|
+
DEFAULT: string;
|
|
351
|
+
hover: string;
|
|
352
|
+
active: string;
|
|
353
|
+
};
|
|
354
|
+
sky: {
|
|
355
|
+
DEFAULT: string;
|
|
356
|
+
hover: string;
|
|
357
|
+
active: string;
|
|
358
|
+
};
|
|
359
|
+
blue: {
|
|
360
|
+
DEFAULT: string;
|
|
361
|
+
hover: string;
|
|
362
|
+
active: string;
|
|
363
|
+
};
|
|
364
|
+
indigo: {
|
|
365
|
+
DEFAULT: string;
|
|
366
|
+
hover: string;
|
|
367
|
+
active: string;
|
|
368
|
+
};
|
|
369
|
+
violet: {
|
|
370
|
+
DEFAULT: string;
|
|
371
|
+
hover: string;
|
|
372
|
+
active: string;
|
|
373
|
+
};
|
|
374
|
+
purple: {
|
|
375
|
+
DEFAULT: string;
|
|
376
|
+
hover: string;
|
|
377
|
+
active: string;
|
|
378
|
+
};
|
|
379
|
+
fuchsia: {
|
|
380
|
+
DEFAULT: string;
|
|
381
|
+
hover: string;
|
|
382
|
+
active: string;
|
|
383
|
+
};
|
|
384
|
+
pink: {
|
|
385
|
+
DEFAULT: string;
|
|
386
|
+
hover: string;
|
|
387
|
+
active: string;
|
|
388
|
+
};
|
|
389
|
+
rose: {
|
|
390
|
+
DEFAULT: string;
|
|
391
|
+
hover: string;
|
|
392
|
+
active: string;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
};
|
|
49
396
|
boxShadow: {
|
|
50
397
|
sm: string;
|
|
51
398
|
DEFAULT: string;
|
|
@@ -74,17 +421,52 @@ export declare const themeVariables: {
|
|
|
74
421
|
DEFAULT: string;
|
|
75
422
|
default: string;
|
|
76
423
|
};
|
|
77
|
-
|
|
78
|
-
|
|
424
|
+
borderColor: {
|
|
425
|
+
base: string;
|
|
79
426
|
default: string;
|
|
427
|
+
'default-alt': string;
|
|
428
|
+
focus: string;
|
|
429
|
+
disabled: string;
|
|
430
|
+
primary: string;
|
|
431
|
+
info: string;
|
|
432
|
+
success: string;
|
|
433
|
+
warning: string;
|
|
434
|
+
error: string;
|
|
435
|
+
palette: {
|
|
436
|
+
slate: string;
|
|
437
|
+
gray: string;
|
|
438
|
+
zinc: string;
|
|
439
|
+
neutral: string;
|
|
440
|
+
stone: string;
|
|
441
|
+
red: string;
|
|
442
|
+
orange: string;
|
|
443
|
+
amber: string;
|
|
444
|
+
yellow: string;
|
|
445
|
+
lime: string;
|
|
446
|
+
green: string;
|
|
447
|
+
emerald: string;
|
|
448
|
+
teal: string;
|
|
449
|
+
cyan: string;
|
|
450
|
+
sky: string;
|
|
451
|
+
blue: string;
|
|
452
|
+
indigo: string;
|
|
453
|
+
violet: string;
|
|
454
|
+
purple: string;
|
|
455
|
+
fuchsia: string;
|
|
456
|
+
pink: string;
|
|
457
|
+
rose: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
textColor: {
|
|
80
461
|
base: string;
|
|
81
462
|
header: string;
|
|
463
|
+
default: string;
|
|
82
464
|
label: string;
|
|
83
465
|
helper: string;
|
|
84
466
|
placeholder: string;
|
|
85
467
|
caption: string;
|
|
86
|
-
|
|
87
|
-
|
|
468
|
+
'icon-default': string;
|
|
469
|
+
'icon-dark': string;
|
|
88
470
|
primary: string;
|
|
89
471
|
info: string;
|
|
90
472
|
success: string;
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,g as i}from"./p-c9b736d9.js";import{b as a,c as o,o as h,f as r,s as l,a as c}from"./p-9594cebb.js";import{c as n}from"./p-5fcf77f9.js";const d=":host{--popover-bg:var(--bcm-ui-color-background-base-default);display:inline-block}.bcm-ui-element{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.static{position:static}.absolute{position:absolute}.relative{position:relative}.z-\\[9999\\]{z-index:9999}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.w-4{width:1rem}.min-w-max{min-width:max-content}.rotate-45{--tw-rotate:45deg}.rotate-45,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.gap-1\\.5{gap:.375rem}.rounded-md{border-radius:var(--bcm-ui-border-radius-md,6px)}.bg-\\[--popover-bg\\]{background-color:var(--popover-bg)}.p-3{padding:.75rem}.text-size-3{font-size:var(--bcm-ui-font-size-3,12px);line-height:var(--bcm-ui-line-height-3,16px)}.text-size-4{font-size:var(--bcm-ui-font-size-4,14px);line-height:var(--bcm-ui-line-height-4,20px)}.text-size-5{font-size:var(--bcm-ui-font-size-5,16px);line-height:var(--bcm-ui-line-height-5,24px)}.font-normal{font-weight:400}.font-semibold{font-weight:600}.text-color{color:var(--bcm-ui-color-text-default)}.shadow{--tw-shadow:var(--bcm-ui-box-shadow-default);--tw-shadow-colored:var(--bcm-ui-box-shadow-default)}.shadow,.shadow-3{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-3{--tw-shadow:var(--bcm-ui-box-shadow-3);--tw-shadow-colored:var(--bcm-ui-box-shadow-3)}";const f=d;const m=class{constructor(s){t(this,s);this.bcmPopoverOpen=e(this,"bcmPopoverOpen",1);this.bcmPopoverClose=e(this,"bcmPopoverClose",1);this.size="medium";this.placement="top";this.trigger="click";this.hoverDelay=150;this.open=false;this.togglePopover=()=>{this.open=!this.open;if(this.open){this.bcmPopoverOpen.emit()}else{this.bcmPopoverClose.emit()}this.updatePosition()};this.showPopover=()=>{clearTimeout(this.hoverTimeout);this.hoverTimeout=setTimeout((()=>{this.open=true;this.bcmPopoverOpen.emit();this.updatePosition()}),this.hoverDelay)};this.hidePopover=()=>{clearTimeout(this.hoverTimeout);this.hoverTimeout=setTimeout((()=>{this.open=false;this.bcmPopoverClose.emit()}),this.hoverDelay)};this.handleSlotChange=()=>{const t=this.el.shadowRoot.querySelector("slot");const e=t.assignedElements();this.targetElement=e[0];if(this.targetElement){this.targetElement.removeEventListener("click",this.togglePopover);this.targetElement.removeEventListener("mouseenter",this.showPopover);this.targetElement.removeEventListener("mouseleave",this.hidePopover);if(this.trigger==="click"){this.targetElement.addEventListener("click",this.togglePopover);this.targetElement.setAttribute("aria-expanded",this.open.toString())}if(this.trigger==="hover"){this.targetElement.addEventListener("mouseenter",this.showPopover);this.targetElement.addEventListener("mouseleave",this.hidePopover)}if(this.popoverElement&&!this.cleanupAutoUpdate){this.cleanupAutoUpdate=a(this.targetElement,this.popoverElement,(()=>this.updatePosition()))}}};this.handleOutsideClick=t=>{if(!this.el.contains(t.target)&&this.open){this.open=false}};this.updatePosition=async()=>{if(!this.targetElement||!this.popoverElement||!this.arrowElement)return;const{x:t,y:e,placement:s,middlewareData:i}=await o(this.targetElement,this.popoverElement,{placement:this.placement,middleware:[h(12),r({fallbackPlacements:["top","left","bottom","right"]}),l({padding:8}),c({element:this.arrowElement})]});Object.assign(this.popoverElement.style,{left:`${t}px`,top:`${e}px`});const{x:a,y:n}=i.arrow||{x:0,y:0};const d=s.split("-")[0];const f={top:"bottom",right:"left",bottom:"top",left:"right"}[d];Object.assign(this.arrowElement.style,{left:a!=null?`${a}px`:"",top:n!=null?`${n}px`:"",[f]:"-4px"})};this.popoverClass=n({slots:{box:"bcm-ui-element bcm-popover absolute flex flex-col bg-[--popover-bg] rounded-md shadow-3 p-3 gap-1.5 min-w-max z-[9999]",header:"font-semibold text-color",content:"font-normal text-color",arrow:"absolute w-4 h-4 bg-[--popover-bg] transform rotate-45"},variants:{size:{small:{box:"text-size-3"},medium:{box:"text-size-4"},large:{box:"text-size-5"}},isOpen:{true:{box:"flex"},false:{box:"hidden"}}},defaultVariants:{size:"medium",isOpen:false}})}connectedCallback(){document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){var t;document.removeEventListener("click",this.handleOutsideClick);if(this.targetElement){this.targetElement.removeEventListener("click",this.togglePopover);this.targetElement.removeEventListener("mouseenter",this.showPopover);this.targetElement.removeEventListener("mouseleave",this.hidePopover)}(t=this.cleanupAutoUpdate)===null||t===void 0?void 0:t.call(this);this.cleanupAutoUpdate=null;clearTimeout(this.hoverTimeout)}async openPopup(){this.showPopover()}async closePopup(){this.hidePopover()}render(){const{box:t,header:e,content:i,arrow:a}=this.popoverClass({isOpen:this.open,size:this.size});return s("div",{key:"665229a272b741f98b8f2a6afdbfcd381c570139",class:"relative"},s("slot",{key:"4ea3bf8f4a1ea77814c2356e81edbe405eceb7d4",onSlotchange:()=>this.handleSlotChange()}),s("div",{key:"00c49e72fa5803d9999639918ba30dcd0714c4d4",part:"popover",class:t(),role:"dialog","aria-hidden":!this.open?"true":"false",ref:t=>this.popoverElement=t},s("div",{key:"f293355d74a3b5420368cdda0ddd0f2fd5f42010",class:a(),ref:t=>this.arrowElement=t,part:"arrow"}),s("div",{key:"c2ac22ed51b5a01a8832467ee717e6bf35ccbb69",class:e(),part:"header"},s("slot",{key:"434a1f3f4a013222935ee681feae058c7bbfd993",name:"header"},this.headerText)),s("div",{key:"950d3aa73579ae246f43aaa3d6101da1d6a7a601",class:i(),part:"content"},s("slot",{key:"fa43adb4816dae231c92d5de93432d0a76f211f9",name:"content"},this.message))))}get el(){return i(this)}};m.style=f;export{m as bcm_popover};
|
|
2
|
-
//# sourceMappingURL=p-25038cc8.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,c as r,h as o,g as i}from"./p-c9b736d9.js";import{c as t}from"./p-5fcf77f9.js";import{g as c}from"./p-ba2410ef.js";const a=".relative{position:relative}.block{display:block}:host{align-self:center;display:block;height:-moz-fit-content;height:fit-content;position:relative;width:-moz-fit-content;width:fit-content}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.bcm-ui-element{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.static{position:static}.absolute{position:absolute}.flex{display:flex}.inline-flex{display:inline-flex}.size-2{height:.5rem;width:.5rem}.size-3{height:.75rem;width:.75rem}.size-4{height:1rem;width:1rem}.size-\\[10px\\]{height:10px;width:10px}.size-\\[18px\\]{height:18px;width:18px}.h-0{height:0}.w-0{width:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.rounded{border-radius:var(--bcm-ui-border-radius-default,6px)}.border{border-width:1px}.border-solid{border-style:solid}.border-\\[--border-color\\]{border-color:var(--border-color)}.bg-\\[--unchecked-color\\]{background-color:var(--unchecked-color)}.text-size-2{font-size:var(--bcm-ui-font-size-2,10px);line-height:var(--bcm-ui-line-height-2,12px)}.text-size-3{font-size:var(--bcm-ui-font-size-3,12px);line-height:var(--bcm-ui-line-height-3,16px)}.text-size-4{font-size:var(--bcm-ui-font-size-4,14px);line-height:var(--bcm-ui-line-height-4,20px)}.text-size-5{font-size:var(--bcm-ui-font-size-5,16px);line-height:var(--bcm-ui-line-height-5,24px)}.text-size-6{font-size:var(--bcm-ui-font-size-6,18px);line-height:var(--bcm-ui-line-height-6,24px)}.text-color{color:var(--bcm-ui-color-text-default)}.text-color-base{color:var(--bcm-ui-color-text-base)}.text-color-disabled{color:var(--bcm-ui-color-text-disabled)}.opacity-0{opacity:0}.shadow{--tw-shadow:var(--bcm-ui-box-shadow-default);--tw-shadow-colored:var(--bcm-ui-box-shadow-default);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:border-\\[--border-color\\]:hover{border-color:var(--border-color)}.hover\\:border-\\[--hover-border-color\\]:hover{border-color:var(--hover-border-color)}.hover\\:bg-\\[--unchecked-color\\]:hover{background-color:var(--unchecked-color)}.peer:checked~.peer-checked\\:border-\\[--checked-color\\]{border-color:var(--checked-color)}.peer:checked~.peer-checked\\:bg-\\[--checked-color\\]{background-color:var(--checked-color)}.peer:checked~.hover\\:peer-checked\\:bg-\\[--hover-color\\]:hover{background-color:var(--hover-color)}.peer:indeterminate~.peer-indeterminate\\:border-\\[--checked-color\\]{border-color:var(--checked-color)}.peer:indeterminate~.peer-indeterminate\\:bg-\\[--checked-color\\]{background-color:var(--checked-color)}.peer:indeterminate~.hover\\:peer-indeterminate\\:bg-\\[--hover-color\\]:hover{background-color:var(--hover-color)}";const n=a;const d=class{constructor(o){e(this,o);this.bcmCheckboxChange=r(this,"bcmCheckboxChange",1);this._id=c("bcm-checkbox");this.indeterminate=false;this.size="medium";this.checked=false;this.error=false;this.disabled=false;this.labelPosition="right";this.handleChange=()=>{if(this.disabled)return;if(this.inputElement){this.inputElement.indeterminate=false;this.indeterminate=false;this.internalChecked=!this.internalChecked;this.inputElement.checked=this.internalChecked;this.bcmCheckboxChange.emit({element:this.inputElement,checked:this.internalChecked})}};this.classes=t({slots:{container:"flex items-center bcm-ui-element bcm-checkbox",checkbox:["flex items-center justify-center rounded","border border-solid border-[--border-color]","bg-[--unchecked-color]","transition-colors duration-200 ease-out","peer-checked:bg-[--checked-color]","peer-checked:border-[--checked-color]","peer-indeterminate:bg-[--checked-color]","peer-indeterminate:border-[--checked-color]","hover:border-[--hover-border-color]","hover:peer-checked:bg-[--hover-color]","hover:peer-indeterminate:bg-[--hover-color]"],iconContainer:"flex items-center justify-center",label:"select-none text-color",hiddenInput:"absolute w-0 h-0 opacity-0 peer"},variants:{size:{small:{container:"gap-2",checkbox:"size-3",iconContainer:"size-2 text-size-2",label:"text-size-4",hiddenInput:"size-3"},medium:{container:"gap-2.5",checkbox:"size-4",iconContainer:"size-[10px] text-size-3",label:"text-size-5",hiddenInput:"size-4"},large:{container:"gap-3",checkbox:"size-[18px]",iconContainer:"size-4 text-size-4",label:"text-size-6",hiddenInput:"size-[18px]"}},disabled:{true:{container:"cursor-not-allowed",checkbox:"cursor-not-allowed hover:border-[--border-color] hover:bg-[--unchecked-color]",label:"cursor-not-allowed text-color-disabled",iconContainer:"text-color-disabled",hiddenInput:"cursor-not-allowed"},false:{container:"cursor-pointer",checkbox:"cursor-pointer",label:"cursor-pointer text-color",iconContainer:"text-color-base",hiddenInput:"cursor-pointer"}},labelPosition:{left:{container:"flex-row-reverse"},right:{container:"flex-row"}}},defaultVariants:{size:"medium",checked:false,disabled:false,error:false,labelPosition:"right"}},{twMerge:false})}componentWillLoad(){this.internalChecked=this.checked!==undefined?this.checked:false}componentDidLoad(){this.updateIndeterminateState()}syncCheckedProp(e){if(e!==undefined){this.internalChecked=e}}updateIndeterminateState(){if(this.inputElement){this.inputElement.indeterminate=this.indeterminate&&!this.internalChecked;this.inputElement.checked=this.internalChecked}}getStyles(){const e={"--checked-color":"var(--bcm-ui-color-background-primary-default)","--unchecked-color":"var(--bcm-ui-color-background-default-default)","--border-color":"var(--bcm-ui-color-border-default)","--hover-border-color":"var(--bcm-ui-color-border-primary)","--hover-color":"var(--bcm-ui-color-background-info-hover)"};const r={"--checked-color":"var(--bcm-ui-color-background-error-default)","--unchecked-color":"var(--bcm-ui-color-background-palette-red-default)","--border-color":"var(--bcm-ui-color-border-error)","--hover-border-color":"var(--bcm-ui-color-border-error)","--hover-color":"var(--bcm-ui-color-border-error)"};const o={"--checked-color":"var(--bcm-ui-color-background-disabled-default)","--unchecked-color":"var(--bcm-ui-color-background-disabled-default)","--border-color":"var(--bcm-ui-color-border-disabled)","--hover-color":"var(--bcm-ui-color-border-disabled)","--hover-border-color":"var(--bcm-ui-color-border-disabled)"};return Object.assign(Object.assign(Object.assign({},e),this.error?r:{}),this.disabled?o:{})}render(){const{container:e,checkbox:r,iconContainer:i,label:t,hiddenInput:c}=this.classes({size:this.size,disabled:this.disabled,labelPosition:this.labelPosition});const a=this._id+"-internal-checkbox"||this.name;return o("div",{key:"929811f64a1ff48905b61f227554cccfae903108",class:e(),style:this.getStyles(),part:"checkbox-wrapper"},o("div",{key:"69dc0ca98a78368e72641152e8fc324b08819fa3",class:"relative inline-flex"},o("input",{key:"97784b43009500e631190ed82926c64c41ac00a4",type:"checkbox",role:"checkbox",id:a,name:this.name,checked:this.internalChecked,indeterminate:this.indeterminate,disabled:this.disabled,class:c(),"aria-checked":this.internalChecked?"true":this.indeterminate?"mixed":"false","aria-invalid":this.error,"aria-label":this.label||"Checkbox",onChange:this.handleChange,ref:e=>this.inputElement=e}),o("div",{key:"8d3d03ab4f96d3393faec1bd5a8feff2160eae27",class:r(),onClick:this.handleChange,part:"checkbox"},this.internalChecked&&o("div",{key:"4e9043412e09f344da5c019f9c40a1f99e859220",class:i(),part:"icon"},o("bcm-icon",{key:"d041938bee4fb0adb5036846c22662d2bd95ba9b",name:"fa-regular fa-check"})),this.indeterminate&&!this.internalChecked&&o("div",{key:"25091614ed7d86cc27a5799e4358edf58f918192",class:i(),part:"icon"},o("bcm-icon",{key:"0aa679bcf957cc272621132a54b76067ce0b90ea",name:"fa-regular fa-minus"})))),o("label",{key:"44b7e84f1e61febee09baad2a0957172455726e0",htmlFor:a,class:t(),part:"label"},this.label))}get el(){return i(this)}static get watchers(){return{checked:["syncCheckedProp"],indeterminate:["updateIndeterminateState"],internalChecked:["updateIndeterminateState"]}}};d.style=n;export{d as bcm_checkbox};
|
|
2
|
-
//# sourceMappingURL=p-308f865b.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,c as o,h as r,g as t}from"./p-c9b736d9.js";import{c as a}from"./p-5fcf77f9.js";const c=".flex{display:flex}:host{display:inline-block;width:100%}::slotted([slot=left-content]){align-items:center;display:flex;flex-direction:row;gap:8px}::slotted([slot=right-content]){align-items:center;display:flex;flex-direction:row;gap:8px}.bcm-ui-element{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.static{position:static}.w-full{width:100%}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.gap-2{gap:.5rem}.text-pretty{text-wrap:pretty}.bg-\\[var\\(--bcm-ui-color-background-base-active\\)\\]{background-color:var(--bcm-ui-color-background-base-active)}.bg-\\[var\\(--bcm-ui-color-background-palette-red-default\\)\\]{background-color:var(--bcm-ui-color-background-palette-red-default)}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-color{color:var(--bcm-ui-color-text-default)}.shadow{--tw-shadow:var(--bcm-ui-box-shadow-default);--tw-shadow-colored:var(--bcm-ui-box-shadow-default);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:bg-\\[var\\(--bcm-ui-color-background-base-active\\)\\]:hover{background-color:var(--bcm-ui-color-background-base-active)}.hover\\:bg-\\[var\\(--bcm-ui-color-background-base-hover\\)\\]:hover{background-color:var(--bcm-ui-color-background-base-hover)}.hover\\:bg-\\[var\\(--bcm-ui-color-background-palette-red-default\\)\\]:hover{background-color:var(--bcm-ui-color-background-palette-red-default)}";const i=c;const d=class{constructor(r){e(this,r);this.bcmDropDownItemChange=o(this,"bcmDropDownItemChange",1);this.selected=false;this.error=false;this.disabled=false;this.dropdownItemClass=a({base:"dropdown-item bcm-ui-element bcm-ui-content-display flex flex-row gap-2 py-2 px-4 cursor-pointer text-color",variants:{selected:{true:"bg-[var(--bcm-ui-color-background-base-active)] hover:bg-[var(--bcm-ui-color-background-base-active)]",false:"hover:bg-[var(--bcm-ui-color-background-base-hover)]"},error:{true:"bg-[var(--bcm-ui-color-background-palette-red-default)] hover:bg-[var(--bcm-ui-color-background-palette-red-default)]",false:""},disabled:{true:"",false:""}},defaultVariants:{selected:false,error:false,disabled:false}},{twMerge:false})}handleClick(){this.selected=true;this.bcmDropDownItemChange.emit({element:this.host,selected:this.selected})}render(){var e;return r("div",{key:"210f1b6277e07eeabd5da39d63a332ae84bed898","aria-checked":this.selected,class:this.dropdownItemClass({selected:this.selected,error:this.error}),onClick:()=>this.handleClick()},r("slot",{key:"4edc3ba20bd9b7f0bcb456178c72c3050e391e31",name:"left-content"},this.icon&&r("bcm-icon",{key:"867366e7d2491d1d59613f1ada4b5355ea1f67f9","icon-name":this.icon})),r("div",{key:"845b630b0865d7e73dec69f00819105c7447fac8",class:"flex flex-row text-pretty w-full"},r("slot",{key:"ad70e94c42c8ee3bf01e8e14ee9d21909cacc204"},this.text)),r("slot",{key:"dfd1dd09b8c0c2f8927e8804087b32254fc7a05d",name:"right-content"},(e=this.rightIcons)===null||e===void 0?void 0:e.map((e=>r("bcm-icon",{"icon-name":e})))))}get host(){return t(this)}};d.style=i;export{d as bcm_dropdown_item};
|
|
2
|
-
//# sourceMappingURL=p-385fa0f3.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o,g as r}from"./p-c9b736d9.js";import{c as a}from"./p-5fcf77f9.js";const s=".relative{position:relative}.block{display:block}:host{display:block;position:relative;width:100%}.bcm-ui-element{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.static{position:static}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.flex{display:flex}.h-\\[2px\\]{height:2px}.w-full{width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.border-none{border-style:none}.bg-\\[--bcm-ui-color-text-default\\]{background-color:var(--bcm-ui-color-text-default)}.bg-\\[--bcm-ui-color-text-disabled\\]{background-color:var(--bcm-ui-color-text-disabled)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-center{text-align:center}.text-size-4{font-size:var(--bcm-ui-font-size-4,14px);line-height:var(--bcm-ui-line-height-4,20px)}.text-size-5{font-size:var(--bcm-ui-font-size-5,16px);line-height:var(--bcm-ui-line-height-5,24px)}.text-size-6{font-size:var(--bcm-ui-font-size-6,18px);line-height:var(--bcm-ui-line-height-6,24px)}.font-medium{font-weight:500}.text-color{color:var(--bcm-ui-color-text-default)}.text-color-disabled{color:var(--bcm-ui-color-text-disabled)}.text-color-primary{color:var(--bcm-ui-color-text-primary)}.shadow{--tw-shadow:var(--bcm-ui-box-shadow-default);--tw-shadow-colored:var(--bcm-ui-box-shadow-default);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:text-color-primary:hover{color:var(--bcm-ui-color-text-primary)}";const l=s;const c=class{constructor(i){t(this,i);this.bcmTabSelected=e(this,"bcmTabSelected",1);this.active=false;this.size="medium";this.disabled=false;this.class=a({slots:{tab:"bcm-ui-element text-center flex flex-row justify-center items-center font-medium transition-all duration-200 ease-in-out py-1 px-3 w-full bg-white border-none",borderLine:"bottom-0 w-full left-0 right-0 h-[2px] bg-color-primary transition-all duration-200 ease-in-out"},variants:{size:{small:{tab:"text-size-4 gap-2"},medium:{tab:"text-size-5 gap-2.5"},large:{tab:"text-size-6 gap-3"}},active:{true:{tab:"text-color-primary"},false:{tab:"text-color"}},disabled:{true:{tab:"cursor-not-allowed text-color-disabled",borderLine:"bg-[--bcm-ui-color-text-disabled]"},false:{tab:"cursor-pointer text-color hover:text-color-primary",borderLine:"bg-[--bcm-ui-color-text-default]"}}},defaultVariants:{size:"medium",active:false,disabled:false}},{twMerge:false})}handleClick(){if(this.disabled)return;this.bcmTabSelected.emit(this.value)}render(){const{tab:t,borderLine:e}=this.class({size:this.size,active:this.active,disabled:this.disabled});return i(o,{key:"d55ce1eaa9290ffe2d47f6a0fa747cf9dd9f1b7c",role:"tab","aria-selected":this.active.toString(),"aria-disabled":this.disabled},i("button",{key:"d9dcc8685a2007e0c8f234913e461de90916a32d",class:t(),disabled:this.disabled,part:"tab",onClick:()=>this.handleClick()},i("slot",{key:"4ef0ed0302f2fedd966e461a77fd3f79bcb3c6c0"})),i("div",{key:"a0afbb81a99afe7eeab0917a824e67078c4c0636",class:e()}))}get el(){return r(this)}};c.style=l;export{c as bcm_tabs_trigger};
|
|
2
|
-
//# sourceMappingURL=p-9551c35e.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as o,c as t,h as e,g as a}from"./p-c9b736d9.js";import{c as r}from"./p-5fcf77f9.js";const i=".block{display:block}.flex{display:flex}.border{border-width:1px}:host{--bcm-accordion-bg:var(--bcm-ui-color-background-basic-panel);--bcm-accordion-content-bg:var(--bcm-ui-color-background-basic-base);--bcm-accordion-text:var(--bcm-ui-color-text-header);--bcm-accordion-border:var(--bcm-ui-color-border-default);--bcm-accordion-radius:6px;--bcm-accordion-footer-bg:var(--bcm-ui-color-background-default-default);display:block;width:100%}:host(:not([group])) .accordion-container{border:1px solid var(--bcm-accordion-border);border-radius:var(--bcm-accordion-radius)}:host([group]) .accordion-container{border-bottom:1px solid var(--bcm-accordion-border);border-radius:0}:host([group]:last-of-type) .accordion-container{border-bottom:none}:host([group]:first-of-type) .accordion-container{border-top-left-radius:var(--bcm-accordion-radius);border-top-right-radius:var(--bcm-accordion-radius)}:host([group]:last-of-type) .accordion-footer{border-bottom-left-radius:var(--bcm-accordion-radius);border-bottom-right-radius:var(--bcm-accordion-radius)}:host(:not([group])) .accordion-footer{border-bottom-left-radius:var(--bcm-accordion-radius);border-bottom-right-radius:var(--bcm-accordion-radius)}::slotted([slot=title]){align-items:center;display:flex;flex-direction:row;gap:10px}::slotted([slot=actions]){align-items:center;display:flex;flex-direction:row;gap:12px}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.bcm-ui-element{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.collapse{visibility:collapse}.static{position:static}.hidden{display:none}.w-full{width:100%}.min-w-max{min-width:max-content}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.overflow-hidden{overflow:hidden}.text-wrap{text-wrap:wrap}.rounded-\\[--bcm-accordion-radius\\]{border-radius:var(--bcm-accordion-radius)}.bg-\\[--bcm-accordion-bg\\]{background-color:var(--bcm-accordion-bg)}.bg-\\[--bcm-accordion-footer-bg\\]{background-color:var(--bcm-accordion-footer-bg)}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-size-4{font-size:var(--bcm-ui-font-size-4,14px);line-height:var(--bcm-ui-line-height-4,20px)}.text-size-6{font-size:var(--bcm-ui-font-size-6,18px);line-height:var(--bcm-ui-line-height-6,24px)}.font-normal{font-weight:400}.font-semibold{font-weight:600}.text-\\[--bcm-accordion-text\\]{color:var(--bcm-accordion-text)}.shadow{--tw-shadow:var(--bcm-ui-box-shadow-default);--tw-shadow-colored:var(--bcm-ui-box-shadow-default);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}";const n=i;const c=class{constructor(e){o(this,e);this.bcmAccordionChange=t(this,"bcmAccordionChange",1);this.expanded=false;this.group=false;this.hasFooterContent=false;this.handleFooterSlotChange=o=>{const t=o.target;const e=t.assignedNodes();this.hasFooterContent=e.length>0};this.accordionClass=r({slots:{container:"accordion-container flex flex-col bcm-ui-element w-full",header:"accordion-header flex flex-row justify-between gap-2 p-4 min-w-max flex-nowrap text-wrap rounded-[--bcm-accordion-radius] bg-[--bcm-accordion-bg] text-[--bcm-accordion-text] font-semibold text-size-6 cursor-pointer",content:"accordion-content overflow-hidden transition-all duration-300 ease-in-out bg-color-basic-base",footer:"accordion-footer flex flex-row flex-nowrap bg-[--bcm-accordion-footer-bg] text-[--bcm-accordion-text] px-4 py-2 gap-2 text-size-4 font-normal min-w-max",icon:"accordion-icon cursor-pointer transform transition-transform duration-300",rightSection:"accordion-right-section flex flex-row gap-2.5 items-center"},variants:{hasFooterContent:{false:{footer:"hidden"},true:{footer:"flex"}},expanded:{true:{icon:"rotate-180"},false:{icon:"rotate-0",content:""}}}},{twMerge:false})}async toggle(){this.expanded=!this.expanded;this.updateAccordion()}async expand(){if(!this.expanded){this.expanded=true;this.updateAccordion()}}async collapse(){if(this.expanded){this.expanded=false;this.updateAccordion()}}updateAccordion(){if(this.contentEl){this.contentEl.style.maxHeight=this.expanded?`${this.contentEl.scrollHeight}px`:"0px"}this.bcmAccordionChange.emit({expanded:this.expanded,source:this.host})}render(){const{container:o,header:t,content:a,footer:r,icon:i,rightSection:n}=this.accordionClass({hasFooterContent:this.hasFooterContent||!!this.hintText,expanded:this.expanded});return e("div",{key:"5db020dbcdd3eea89865e0da775aecc79d6e8e52",class:o()},e("header",{key:"e9a792911fea8dc6bd1f832a3f4ed9210bd5f1bf",class:t(),role:"button",tabindex:"0","aria-expanded":this.expanded.toString(),"aria-controls":"accordion-content",onKeyDown:o=>{if(o.key==="Enter"||o.key===" "){o.preventDefault();this.toggle()}},onClick:()=>this.toggle()},e("slot",{key:"2662c77cd56d3708e60bf09e085710587d9e2b37",name:"title"},this.headerTitle),e("div",{key:"af9c679afb9688bbf0634b3057888fdf49a2bdc3",class:n()},e("span",{key:"c06ea66737e34ffa1f79e2fa36618eb90c5dd801",onClick:o=>o.stopPropagation()},e("slot",{key:"8668f76dbf3967518332a188a5fef5e9bc160a0e",name:"actions"})),e("bcm-icon",{key:"870460d228f6ae0ff9de5b36dab05e0587124cc4",name:"fa-regular fa-chevron-down",class:i()}))),e("div",{key:"814408b9602a7045addd1040271328d372ce23ba",class:a(),style:{maxHeight:this.expanded?"auto":"0px"},ref:o=>this.contentEl=o},e("div",{key:"be99ad1f7b4864c7cfe9b87044197c21770b84f2",class:"px-4 py-2"},e("slot",{key:"49e0af56da6775b74f3915dd696270bcc077e171"})),e("footer",{key:"6339e900da8224563d94a787cffe253703874568",class:r()},e("slot",{key:"19027ba2389ff5677b1610b4430ab671bda2f95e",name:"footer",onSlotchange:this.handleFooterSlotChange},this.hintText))))}get host(){return a(this)}};c.style=n;export{c as bcm_accordion};
|
|
2
|
-
//# sourceMappingURL=p-c1161950.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-c9b736d9.js";import{c as o}from"./p-12360e4c.js";const l={display:"h1",heading1:"h2",heading2:"h3",title1:"h4",title2:"h5",title3:"h6",body:"p",bodyAccent:"p",helper:"p",caption:"p",label:"label",placeholder:"p",link:"a",info:"p",infoAccent:"p"};const i=".static{position:static}.m-0{margin:0}.appearance-none{appearance:none}.p-0{padding:0}.text-size-12{font-size:var(--bcm-ui-font-size-12,60px);line-height:var(--bcm-ui-line-height-12,72px)}.text-size-3{font-size:var(--bcm-ui-font-size-3,12px);line-height:var(--bcm-ui-line-height-3,16px)}.text-size-4{font-size:var(--bcm-ui-font-size-4,14px);line-height:var(--bcm-ui-line-height-4,20px)}.text-size-5{font-size:var(--bcm-ui-font-size-5,16px);line-height:var(--bcm-ui-line-height-5,24px)}.text-size-6{font-size:var(--bcm-ui-font-size-6,18px);line-height:var(--bcm-ui-line-height-6,24px)}.text-size-7{font-size:var(--bcm-ui-font-size-7,20px);line-height:var(--bcm-ui-line-height-7,28px)}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-color-caption{color:var(--bcm-ui-color-text-caption)}.text-color-default{color:var(--bcm-ui-color-text-default)}.text-color-disabled{color:var(--bcm-ui-color-text-disabled)}.text-color-header{color:var(--bcm-ui-color-text-header)}.text-color-helper{color:var(--bcm-ui-color-text-helper)}.text-color-label{color:var(--bcm-ui-color-text-label)}.text-color-placeholder{color:var(--bcm-ui-color-text-placeholder)}.text-color-primary{color:var(--bcm-ui-color-text-primary)}.underline{text-decoration-line:underline}.shadow{--tw-shadow:var(--bcm-ui-box-shadow-default);--tw-shadow-colored:var(--bcm-ui-box-shadow-default);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}";const r=i;const a=class{constructor(t){e(this,t);this.variant="body";this.size="medium";this.variantClassMap={display:"font-semibold text-size-12 text-color-header",heading1:"font-semibold text-size-7 text-color-header",heading2:"font-semibold text-size-6 text-color-header",title1:{small:"font-semibold text-size-5 text-color-header",medium:"font-semibold text-size-6 text-color-header",large:"font-semibold text-size-7 text-color-header"},title2:{small:"font-semibold text-size-4 text-color-default",medium:"font-semibold text-size-5 text-color-default",large:"font-semibold text-size-6 text-color-default"},title3:{small:"font-semibold text-size-3 text-color-disabled",medium:"font-semibold text-size-4 text-color-disabled",large:"font-semibold text-size-5 text-color-disabled"},body:{small:"font-regular text-size-4 text-color-default",medium:"font-regular text-size-5 text-color-default",large:"font-regular text-size-6 text-color-default"},bodyAccent:{small:"font-medium text-size-4 text-color-default",medium:"font-medium text-size-5 text-color-default",large:"font-medium text-size-6 text-color-default"},helper:{small:"font-regular text-size-4 text-color-helper",medium:"font-regular text-size-5 text-color-helper",large:"font-regular text-size-6 text-color-helper"},caption:{small:"font-regular text-size-3 text-color-caption",medium:"font-regular text-size-4 text-color-caption",large:"font-regular text-size-5 text-color-caption"},link:{small:"font-medium text-size-4 underline text-color-primary",medium:"font-medium text-size-5 underline text-color-primary",large:"font-medium text-size-6 underline text-color-primary"},label:{small:"font-medium text-size-3 text-color-label",medium:"font-medium text-size-4 text-color-label",large:"font-medium text-size-5 text-color-label"},placeholder:{small:"font-regular text-size-4 text-color-placeholder",medium:"font-regular text-size-5 text-color-placeholder",large:"font-regular text-size-6 text-color-placeholder"},info:{small:"font-regular text-size-3 text-color-default",medium:"font-regular text-size-4 text-color-default",large:"font-regular text-size-5 text-color-default"},infoAccent:{small:"font-medium text-size-3 text-color-header",medium:"font-medium text-size-4 text-color-header",large:"font-medium text-size-5 text-color-header"}};this.getTextClass=(e,t)=>{const o=this.variantClassMap[e];if(typeof o==="string"){return o}return o[t]}}render(){const e=l[this.variant];const i=this.getTextClass(this.variant,this.size);return t(e,{key:"53890d0b241119b0df415e599538e806bd870517",class:o("bcm-text appearance-none m-0 p-0",i),part:"text"},t("slot",{key:"25ccb62cbbe1393379c42bd13b3a98d8806fa2cb"},this.text))}};a.style=r;export{a as bcm_text};
|
|
2
|
-
//# sourceMappingURL=p-c427ffee.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,c,h as r}from"./p-c9b736d9.js";import{c as t}from"./p-5fcf77f9.js";const i={info:"blue",error:"red",warning:"amber",success:"green"};const o=":host{--bcm-chip-bg:var(--bcm-ui-color-background-default-default);--bcm-chip-text:var(--bcm-ui-color-text-default);--bcm-chip-border:var(--bcm-ui-color-border-default);--bcm-chip-hover-bg:var(--bcm-ui-color-background-default-hover);--bcm-chip-active-bg:var(--bcm-ui-color-background-default-active);--bcm-chip-radius:6px;display:inline-block}.bcm-ui-element{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.static{position:static}.flex{display:flex}.min-w-max{min-width:max-content}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.rounded-\\[--bcm-chip-radius\\]{border-radius:var(--bcm-chip-radius)}.border{border-width:1px}.border-none{border-style:none}.border-\\[--bcm-chip-border\\]{border-color:var(--bcm-chip-border)}.border-transparent{border-color:transparent}.bg-\\[--bcm-chip-bg\\]{background-color:var(--bcm-chip-bg)}.px-2{padding-left:.5rem;padding-right:.5rem}.py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-px{padding-bottom:1px;padding-top:1px}.text-size-3{font-size:var(--bcm-ui-font-size-3,12px);line-height:var(--bcm-ui-line-height-3,16px)}.text-size-4{font-size:var(--bcm-ui-font-size-4,14px);line-height:var(--bcm-ui-line-height-4,20px)}.text-size-5{font-size:var(--bcm-ui-font-size-5,16px);line-height:var(--bcm-ui-line-height-5,24px)}.font-normal{font-weight:400}.text-\\[--bcm-chip-text\\]{color:var(--bcm-chip-text)}.shadow{--tw-shadow:var(--bcm-ui-box-shadow-default);--tw-shadow-colored:var(--bcm-ui-box-shadow-default);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:bg-\\[--bcm-chip-hover-bg\\]:hover{background-color:var(--bcm-chip-hover-bg)}.active\\:bg-\\[--bcm-chip-active-bg\\]:active{background-color:var(--bcm-chip-active-bg)}";const a=o;const b=class{constructor(r){e(this,r);this.bcmDismiss=c(this,"bcmDismiss",1);this.size="medium";this.kind="filled";this.status="default";this.dismissible=false;this.disabled=false;this.chipClass=t({base:["chip bcm-ui-element font-normal flex items-center justify-center px-2 gap-1 min-w-max border","bg-[--bcm-chip-bg] text-[--bcm-chip-text] rounded-[--bcm-chip-radius] border-[--bcm-chip-border]","hover:bg-[--bcm-chip-hover-bg] active:bg-[--bcm-chip-active-bg]"],variants:{size:{small:"small py-px text-size-3",medium:"medium py-0.5 text-size-4",large:"large py-1 text-size-5"},kind:{filled:"filled border-transparent",outlined:"outlined",text:"text border-none"},disabled:{true:"cursor-not-allowed"}}},{twMerge:false})}get chipStyle(){let e=this.color;if(this.disabled){return{"--bcm-chip-bg":"var(--bcm-ui-color-background-disabled-default)","--bcm-chip-text":"var(--bcm-ui-color-text-disabled)","--bcm-chip-border":"var(--bcm-ui-color-border-disabled)","--bcm-chip-hover-bg":"var(--bcm-ui-color-background-disabled-default)","--bcm-chip-active-bg":"var(--bcm-ui-color-background-disabled-default)"}}if(this.status!=="default"){e=i[this.status]}const c={filled:{"--bcm-chip-bg":`var(--bcm-ui-color-background-palette-${e}-default)`,"--bcm-chip-text":`var(--bcm-ui-color-text-palette-${e})`,"--bcm-chip-border":`var(--bcm-ui-color-border-${e})`,"--bcm-chip-hover-bg":`var(--bcm-ui-color-background-palette-${e}-hover)`,"--bcm-chip-active-bg":`var(--bcm-ui-color-background-palette-${e}-active)`},outlined:{"--bcm-chip-bg":"transparent","--bcm-chip-text":`var(--bcm-ui-color-text-palette-${e})`,"--bcm-chip-border":`var(--bcm-ui-color-border-${e})`,"--bcm-chip-hover-bg":`var(--bcm-ui-color-background-palette-${e}-hover)`,"--bcm-chip-active-bg":`var(--bcm-ui-color-background-palette-${e}-active)`},text:{"--bcm-chip-bg":"transparent","--bcm-chip-text":`var(--bcm-ui-color-text-palette-${e})`,"--bcm-chip-border":"transparent","--bcm-chip-hover-bg":`var(--bcm-ui-color-background-palette-${e}-hover)`,"--bcm-chip-active-bg":`var(--bcm-ui-color-background-palette-${e}-active)`}};const r={filled:{"--bcm-chip-bg":"var(--bcm-ui-color-background-default-default)","--bcm-chip-text":"var(--bcm-ui-color-text-default)","--bcm-chip-border":"var(--bcm-ui-color-border-default)","--bcm-chip-hover-bg":"var(--bcm-ui-color-background-default-hover)","--bcm-chip-active-bg":"var(--bcm-ui-color-background-default-active)"},outlined:{"--bcm-chip-bg":"transparent","--bcm-chip-text":"var(--bcm-ui-color-text-default)","--bcm-chip-border":"var(--bcm-ui-color-border-default)","--bcm-chip-hover-bg":"var(--bcm-ui-color-background-default-hover)","--bcm-chip-active-bg":"var(--bcm-ui-color-background-default-active)"},text:{"--bcm-chip-bg":"transparent","--bcm-chip-text":"var(--bcm-ui-color-text-default)","--bcm-chip-border":"transparent","--bcm-chip-hover-bg":"var(--bcm-ui-color-background-default-hover)","--bcm-chip-active-bg":"var(--bcm-ui-color-background-default-active)"}};return e?c[this.kind]:r[this.kind]}handleDismiss(){if(!this.disabled){this.bcmDismiss.emit()}}render(){return r("div",{key:"77ad31933acb6e0f5574f3590b2274f61b20caed",style:this.chipStyle,class:this.chipClass({size:this.size,kind:this.kind,disabled:this.disabled}),role:"button","aria-disabled":this.disabled?"true":"false"},r("slot",{key:"781811b794a2d89c0ac609e934d6393094c541e8"}),this.dismissible&&r("bcm-icon",{key:"08e55b19802624566ae6323c1102257cba784420",onClick:()=>this.handleDismiss(),class:"cursor-pointer","icon-name":"fa-regular fa-xmark","aria-label":"Dismiss chip"}))}};b.style=a;export{b as bcm_chip};
|
|
2
|
-
//# sourceMappingURL=p-cee68279.entry.js.map
|