@telesign/boreal-web-components 0.1.0-alpha.1 → 0.1.0-alpha.2
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/components-build/bds-banner.js +1 -1
- package/components-build/bds-button.d.ts +11 -0
- package/components-build/bds-button.js +1 -0
- package/components-build/bds-typography.js +1 -1
- package/components-build/index.js +1 -1
- package/components-build/p-Ba6iHqJA.js +1 -0
- package/components-build/p-DQR-jjOl.js +1 -0
- package/custom-elements.json +352 -2
- package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
- package/dist/boreal-web-components/boreal-web-components.js +1 -1
- package/dist/boreal-web-components/p-08bd6bed.system.entry.js +1 -0
- package/dist/boreal-web-components/p-1575fe61.system.entry.js +1 -0
- package/dist/boreal-web-components/p-657c12a3.system.entry.js +1 -0
- package/dist/boreal-web-components/p-66bb3c44.entry.js +1 -0
- package/dist/boreal-web-components/p-742f39ef.entry.js +1 -0
- package/dist/boreal-web-components/p-BG1kmb4c.system.js +1 -0
- package/dist/boreal-web-components/p-B_tL_RWF.system.js +2 -0
- package/dist/boreal-web-components/p-Ba6iHqJA.js +1 -0
- package/dist/boreal-web-components/p-DIvR9Mw7.system.js +1 -0
- package/dist/boreal-web-components/p-DKPZ4_C0.system.js +1 -0
- package/dist/boreal-web-components/p-DQR-jjOl.js +1 -0
- package/dist/boreal-web-components/p-DQvmq159.js +2 -0
- package/dist/boreal-web-components/p-e4a075ba.entry.js +1 -0
- package/dist/cjs/{attributes-RPVEtBdj.js → attributes-D0WPida0.js} +0 -9
- package/dist/cjs/bds-banner.cjs.entry.js +4 -3
- package/dist/cjs/bds-button.cjs.entry.js +185 -0
- package/dist/cjs/bds-typography.cjs.entry.js +10 -9
- package/dist/cjs/boreal-web-components.cjs.js +2 -2
- package/dist/cjs/{index-Cdb66Tqj.js → index-C9JKWXwa.js} +41 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/states-C03fKOhs.js +12 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/actions/bds-button/bds-button.css +479 -0
- package/dist/collection/components/actions/bds-button/bds-button.js +459 -0
- package/dist/collection/components/actions/bds-button/types/IButton.js +1 -0
- package/dist/collection/components/actions/bds-button/types/enum.js +15 -0
- package/dist/collection/components/actions/bds-button/types/types.js +1 -0
- package/dist/collection/components/titles-text/bds-typography/bds-typography.js +5 -5
- package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +5 -5
- package/dist/collection/types/coreColors.js +6 -0
- package/dist/collection/types/states.js +1 -1
- package/dist/collection/utils/helpers/validateProps.js +16 -0
- package/dist/esm/{attributes-B9wshZ_4.js → attributes-Ba6iHqJA.js} +1 -8
- package/dist/esm/bds-banner.entry.js +3 -2
- package/dist/esm/bds-button.entry.js +183 -0
- package/dist/esm/bds-typography.entry.js +10 -9
- package/dist/esm/boreal-web-components.js +3 -3
- package/dist/esm/{index-DgFiTd6X.js → index-DQvmq159.js} +41 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/states-DQR-jjOl.js +9 -0
- package/{components-build/p-B9wshZ_4.js → dist/esm-es5/attributes-Ba6iHqJA.js} +1 -1
- package/dist/esm-es5/bds-banner.entry.js +1 -1
- package/dist/esm-es5/bds-button.entry.js +1 -0
- package/dist/esm-es5/bds-typography.entry.js +1 -1
- package/dist/esm-es5/boreal-web-components.js +1 -1
- package/dist/esm-es5/index-DQvmq159.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/states-DQR-jjOl.js +1 -0
- package/dist/types/components/actions/bds-button/bds-button.d.ts +90 -0
- package/dist/types/components/actions/bds-button/types/IButton.d.ts +14 -0
- package/dist/types/components/actions/bds-button/types/enum.d.ts +16 -0
- package/dist/types/components/actions/bds-button/types/types.d.ts +5 -0
- package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +2 -2
- package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +2 -2
- package/dist/types/components.d.ts +269 -2
- package/dist/types/types/coreColors.d.ts +8 -0
- package/dist/types/types/states.d.ts +2 -2
- package/dist/types/utils/helpers/validateProps.d.ts +11 -0
- package/package.json +4 -3
- package/dist/boreal-web-components/p-69d89caa.entry.js +0 -1
- package/dist/boreal-web-components/p-B9wshZ_4.js +0 -1
- package/dist/boreal-web-components/p-BQdH0ijK.system.js +0 -2
- package/dist/boreal-web-components/p-CMd-Mv-5.system.js +0 -1
- package/dist/boreal-web-components/p-CaVEtaG3.system.js +0 -1
- package/dist/boreal-web-components/p-DgFiTd6X.js +0 -2
- package/dist/boreal-web-components/p-c3c558d2.system.entry.js +0 -1
- package/dist/boreal-web-components/p-d596406b.entry.js +0 -1
- package/dist/boreal-web-components/p-e37e7dba.system.entry.js +0 -1
- package/dist/esm-es5/attributes-B9wshZ_4.js +0 -1
- package/dist/esm-es5/index-DgFiTd6X.js +0 -2
package/custom-elements.json
CHANGED
|
@@ -157,6 +157,356 @@
|
|
|
157
157
|
}
|
|
158
158
|
]
|
|
159
159
|
},
|
|
160
|
+
{
|
|
161
|
+
"kind": "javascript-module",
|
|
162
|
+
"path": "src/components/actions/bds-button/bds-button.tsx",
|
|
163
|
+
"declarations": [
|
|
164
|
+
{
|
|
165
|
+
"kind": "class",
|
|
166
|
+
"customElement": true,
|
|
167
|
+
"tagName": "bds-button",
|
|
168
|
+
"name": "BdsButton",
|
|
169
|
+
"description": "Button component for user interactions, form submissions, supporting various styles, sizes, and states.",
|
|
170
|
+
"attributes": [
|
|
171
|
+
{
|
|
172
|
+
"name": "color",
|
|
173
|
+
"description": "color is a string attribute. The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.",
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "\"default\" | \"error\" | \"primary\" | \"success\"",
|
|
176
|
+
"references": [
|
|
177
|
+
{
|
|
178
|
+
"name": "IButton",
|
|
179
|
+
"module": "./types/IButton"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"default": "CORE_COLORS.DEFAULT",
|
|
184
|
+
"fieldName": "color"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "disabled",
|
|
188
|
+
"description": "disabled is a boolean attribute. Disables the button when true, preventing user interaction and applying disabled styles.",
|
|
189
|
+
"type": {
|
|
190
|
+
"text": "boolean",
|
|
191
|
+
"references": [
|
|
192
|
+
{
|
|
193
|
+
"name": "IButton",
|
|
194
|
+
"module": "./types/IButton"
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"default": "false",
|
|
199
|
+
"fieldName": "disabled"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "disclosure",
|
|
203
|
+
"description": "disclosure is a boolean attribute. Used to show a chevron down at the of the content",
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "boolean",
|
|
206
|
+
"references": [
|
|
207
|
+
{
|
|
208
|
+
"name": "IButton",
|
|
209
|
+
"module": "./types/IButton"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"default": "false",
|
|
214
|
+
"fieldName": "disclosure"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "label",
|
|
218
|
+
"description": "The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.",
|
|
219
|
+
"type": {
|
|
220
|
+
"text": "string",
|
|
221
|
+
"references": [
|
|
222
|
+
{
|
|
223
|
+
"name": "IButton",
|
|
224
|
+
"module": "./types/IButton"
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"default": "''",
|
|
229
|
+
"fieldName": "label"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "loading",
|
|
233
|
+
"description": "loading is a boolean attribute. Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.",
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "boolean",
|
|
236
|
+
"references": [
|
|
237
|
+
{
|
|
238
|
+
"name": "IButton",
|
|
239
|
+
"module": "./types/IButton"
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"default": "false",
|
|
244
|
+
"fieldName": "loading"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "name",
|
|
248
|
+
"description": "name is a string attribute. The name attribute for the button, useful for form submissions.",
|
|
249
|
+
"type": {
|
|
250
|
+
"text": "string",
|
|
251
|
+
"references": [
|
|
252
|
+
{
|
|
253
|
+
"name": "IButton",
|
|
254
|
+
"module": "./types/IButton"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
"default": "''",
|
|
259
|
+
"fieldName": "name"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "size",
|
|
263
|
+
"description": "size is a string attribute. The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.",
|
|
264
|
+
"type": {
|
|
265
|
+
"text": "\"large\" | \"medium\" | \"small\"",
|
|
266
|
+
"references": [
|
|
267
|
+
{
|
|
268
|
+
"name": "IButton",
|
|
269
|
+
"module": "./types/IButton"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"default": "BUTTON_SIZES.MEDIUM",
|
|
274
|
+
"fieldName": "size"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "type",
|
|
278
|
+
"description": "type is a string attribute. The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.",
|
|
279
|
+
"type": {
|
|
280
|
+
"text": "\"button\" | \"reset\" | \"submit\"",
|
|
281
|
+
"references": [
|
|
282
|
+
{
|
|
283
|
+
"name": "IButton",
|
|
284
|
+
"module": "./types/IButton"
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"default": "BUTTON_TYPES.BUTTON",
|
|
289
|
+
"fieldName": "type"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "variant",
|
|
293
|
+
"description": "variant is a string attribute. The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.",
|
|
294
|
+
"type": {
|
|
295
|
+
"text": "\"default\" | \"outline\" | \"plain\"",
|
|
296
|
+
"references": [
|
|
297
|
+
{
|
|
298
|
+
"name": "IButton",
|
|
299
|
+
"module": "./types/IButton"
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"default": "BUTTON_VARIANTS.DEFAULT",
|
|
304
|
+
"fieldName": "variant"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"members": [
|
|
308
|
+
{
|
|
309
|
+
"kind": "field",
|
|
310
|
+
"name": "color",
|
|
311
|
+
"description": "color is a string attribute. The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.",
|
|
312
|
+
"type": {
|
|
313
|
+
"text": "\"default\" | \"error\" | \"primary\" | \"success\"",
|
|
314
|
+
"references": [
|
|
315
|
+
{
|
|
316
|
+
"name": "IButton",
|
|
317
|
+
"module": "./types/IButton"
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"default": "CORE_COLORS.DEFAULT",
|
|
322
|
+
"readonly": true,
|
|
323
|
+
"attribute": "color"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"kind": "field",
|
|
327
|
+
"name": "disabled",
|
|
328
|
+
"description": "disabled is a boolean attribute. Disables the button when true, preventing user interaction and applying disabled styles.",
|
|
329
|
+
"type": {
|
|
330
|
+
"text": "boolean",
|
|
331
|
+
"references": [
|
|
332
|
+
{
|
|
333
|
+
"name": "IButton",
|
|
334
|
+
"module": "./types/IButton"
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"default": "false",
|
|
339
|
+
"readonly": true,
|
|
340
|
+
"attribute": "disabled"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"kind": "field",
|
|
344
|
+
"name": "disclosure",
|
|
345
|
+
"description": "disclosure is a boolean attribute. Used to show a chevron down at the of the content",
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "boolean",
|
|
348
|
+
"references": [
|
|
349
|
+
{
|
|
350
|
+
"name": "IButton",
|
|
351
|
+
"module": "./types/IButton"
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"default": "false",
|
|
356
|
+
"readonly": true,
|
|
357
|
+
"attribute": "disclosure"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"kind": "field",
|
|
361
|
+
"name": "label",
|
|
362
|
+
"description": "The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.",
|
|
363
|
+
"type": {
|
|
364
|
+
"text": "string",
|
|
365
|
+
"references": [
|
|
366
|
+
{
|
|
367
|
+
"name": "IButton",
|
|
368
|
+
"module": "./types/IButton"
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"default": "''",
|
|
373
|
+
"readonly": true,
|
|
374
|
+
"attribute": "label"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "field",
|
|
378
|
+
"name": "loading",
|
|
379
|
+
"description": "loading is a boolean attribute. Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "boolean",
|
|
382
|
+
"references": [
|
|
383
|
+
{
|
|
384
|
+
"name": "IButton",
|
|
385
|
+
"module": "./types/IButton"
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
"default": "false",
|
|
390
|
+
"readonly": true,
|
|
391
|
+
"attribute": "loading"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"kind": "field",
|
|
395
|
+
"name": "name",
|
|
396
|
+
"description": "name is a string attribute. The name attribute for the button, useful for form submissions.",
|
|
397
|
+
"type": {
|
|
398
|
+
"text": "string",
|
|
399
|
+
"references": [
|
|
400
|
+
{
|
|
401
|
+
"name": "IButton",
|
|
402
|
+
"module": "./types/IButton"
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
},
|
|
406
|
+
"default": "''",
|
|
407
|
+
"readonly": true,
|
|
408
|
+
"attribute": "name"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"kind": "field",
|
|
412
|
+
"name": "size",
|
|
413
|
+
"description": "size is a string attribute. The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.",
|
|
414
|
+
"type": {
|
|
415
|
+
"text": "\"large\" | \"medium\" | \"small\"",
|
|
416
|
+
"references": [
|
|
417
|
+
{
|
|
418
|
+
"name": "IButton",
|
|
419
|
+
"module": "./types/IButton"
|
|
420
|
+
}
|
|
421
|
+
]
|
|
422
|
+
},
|
|
423
|
+
"default": "BUTTON_SIZES.MEDIUM",
|
|
424
|
+
"readonly": true,
|
|
425
|
+
"attribute": "size"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"kind": "field",
|
|
429
|
+
"name": "type",
|
|
430
|
+
"description": "type is a string attribute. The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.",
|
|
431
|
+
"type": {
|
|
432
|
+
"text": "\"button\" | \"reset\" | \"submit\"",
|
|
433
|
+
"references": [
|
|
434
|
+
{
|
|
435
|
+
"name": "IButton",
|
|
436
|
+
"module": "./types/IButton"
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
"default": "BUTTON_TYPES.BUTTON",
|
|
441
|
+
"readonly": true,
|
|
442
|
+
"attribute": "type"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"kind": "field",
|
|
446
|
+
"name": "variant",
|
|
447
|
+
"description": "variant is a string attribute. The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.",
|
|
448
|
+
"type": {
|
|
449
|
+
"text": "\"default\" | \"outline\" | \"plain\"",
|
|
450
|
+
"references": [
|
|
451
|
+
{
|
|
452
|
+
"name": "IButton",
|
|
453
|
+
"module": "./types/IButton"
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
},
|
|
457
|
+
"default": "BUTTON_VARIANTS.DEFAULT",
|
|
458
|
+
"readonly": true,
|
|
459
|
+
"attribute": "variant"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"events": [
|
|
463
|
+
{
|
|
464
|
+
"name": "bdsClick",
|
|
465
|
+
"description": "emit event to click",
|
|
466
|
+
"type": {
|
|
467
|
+
"text": "CustomEvent<UIEvent>",
|
|
468
|
+
"references": [
|
|
469
|
+
{
|
|
470
|
+
"name": "UIEvent",
|
|
471
|
+
"package": "global:"
|
|
472
|
+
}
|
|
473
|
+
]
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"slots": [
|
|
478
|
+
{
|
|
479
|
+
"name": "",
|
|
480
|
+
"description": "The content of the button, typically text or an icon."
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "badge",
|
|
484
|
+
"description": "Slot to place a badge component"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "icon",
|
|
488
|
+
"description": "Content to show an icon at the begining of the button"
|
|
489
|
+
}
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"exports": [
|
|
494
|
+
{
|
|
495
|
+
"kind": "js",
|
|
496
|
+
"name": "BdsButton",
|
|
497
|
+
"declaration": {
|
|
498
|
+
"name": "BdsButton"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"kind": "custom-element-definition",
|
|
503
|
+
"name": "bds-button",
|
|
504
|
+
"declaration": {
|
|
505
|
+
"name": "BdsButton"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
},
|
|
160
510
|
{
|
|
161
511
|
"kind": "javascript-module",
|
|
162
512
|
"path": "src/components/titles-text/bds-typography/bds-typography.tsx",
|
|
@@ -339,7 +689,7 @@
|
|
|
339
689
|
}
|
|
340
690
|
]
|
|
341
691
|
},
|
|
342
|
-
"default": "
|
|
692
|
+
"default": "COMPONENT_STATES.DEFAULT",
|
|
343
693
|
"fieldName": "state"
|
|
344
694
|
},
|
|
345
695
|
{
|
|
@@ -585,7 +935,7 @@
|
|
|
585
935
|
}
|
|
586
936
|
]
|
|
587
937
|
},
|
|
588
|
-
"default": "
|
|
938
|
+
"default": "COMPONENT_STATES.DEFAULT",
|
|
589
939
|
"readonly": true,
|
|
590
940
|
"attribute": "state",
|
|
591
941
|
"reflects": true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,b as
|
|
1
|
+
import{p as e,H as t,b as a}from"./p-DQvmq159.js";export{s as setNonce}from"./p-DQvmq159.js";import{g as o}from"./p-DQuL1Twl.js";var i=e=>{const s=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return s.call(this,e);const t=s.call(this,!1),a=this.childNodes;if(e)for(let e=0;e<a.length;e++)2!==a[e].nodeType&&t.appendChild(a[e].cloneNode(!0));return t}};(()=>{i(t.prototype);const s=import.meta.url,a={};return""!==s&&(a.resourcesUrl=new URL(".",s).href),e(a)})().then((async e=>(await o(),a([["p-e4a075ba",[[260,"bds-banner",{idComponent:[1,"id-component"],variant:[1],enableClose:[4,"enable-close"],isClosing:[32],isOpen:[32],closeBanner:[64]}]]],["p-66bb3c44",[[324,"bds-button",{label:[1],disabled:[4],name:[1],type:[1],color:[1],variant:[1],size:[1],loading:[4],disclosure:[4],currentState:[32]},null,{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}]]],["p-742f39ef",[[260,"bds-typography",{variant:[513],size:[513],state:[513],customClass:[1,"custom-class"],element:[1],align:[1],ellipsis:[4],maxLines:[2,"max-lines"],tooltipText:[1,"tooltip-text"],isRequired:[516,"is-required"],htmlFor:[1,"html-for"],href:[1],target:[1],isDownloadable:[4,"is-downloadable"],filename:[1],sanitizedHref:[32]},null,{href:[{updateSanitizedHref:0}]}]]]],e))));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-DIvR9Mw7.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++){e=arguments[r];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,r,a){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function n(t){try{h(a.next(t))}catch(t){o(t)}}function l(t){try{h(a["throw"](t))}catch(t){o(t)}}function h(t){t.done?r(t.value):i(t.value).then(n,l)}h((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,i,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=l(0),n["throw"]=l(1),n["return"]=l(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return h([t,e])}}function h(l){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,l[0]&&(r=0)),r)try{if(a=1,i&&(o=l[0]&2?i["return"]:l[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;if(i=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;i=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1];o=l;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(l);break}if(o[2])r.ops.pop();r.trys.pop();continue}l=e.call(t,r)}catch(t){l=[6,t];i=0}finally{a=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-B_tL_RWF.system.js","./p-DKPZ4_C0.system.js","./p-BG1kmb4c.system.js"],(function(t,e){"use strict";var r,a,i,o,n,l;return{setters:[function(t){r=t.r;a=t.h;i=t.a;o=t.g},function(t){n=t.C},function(t){l=t.i}],execute:function(){var h={START:"start"};var s={XS:"xs",S:"sm",M:"md",L:"lg",XL:"xl"};var p={DISPLAY:"display",LINK:"link"};var y={P:"p",A:"a"};var g="download";var b={link:{states:[n.DISABLED],size:[s.S,s.M]},label:{states:[n.DISABLED],isRequired:true,canUseTooltip:true},heading:{canUseTooltip:true},subheading:{canUseTooltip:true},helper:{states:[n.ERROR]},display:{size:[s.XS,s.S,s.M,s.L,s.XL]}};var d=function(t,e){var r={a:{href:t.state!==n.DISABLED?t.sanitizedHref:null,target:t.target,download:t.isDownloadable?t.filename:null,rel:t.target==="_blank"?"noopener noreferrer":undefined},label:{htmlFor:t.htmlFor}};return r[e]||{}};var f=function(){return".bds-typography{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}"};var c=t("bds_typography",function(){function t(t){r(this,t);this.inheritedAttributes={};this.variant=p.DISPLAY;this.size=s.M;this.state=n.DEFAULT;this.customClass="";this.element=y.P;this.align=h.START;this.ellipsis=false;this.maxLines=1;this.tooltipText="";this.isRequired=false;this.htmlFor=undefined;this.href=null;this.target=null;this.isDownloadable=false;this.filename=g;this.sanitizedHref=""}t.prototype.updateSanitizedHref=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.getTagName==="a"&&this.href!==null))return[3,2];return[4,e.import("./p-B-PpI2Xv.system.js").then((function(t){return t.i}))];case 1:t=r.sent().sanitizeUrl;this.sanitizedHref=t(this.href);return[3,3];case 2:this.sanitizedHref="";r.label=3;case 3:return[2]}}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(this.getTagName===y.A&&this.href!==null))return[3,2];return[4,this.updateSanitizedHref()];case 1:t.sent();t.label=2;case 2:this.inheritedAttributes=__assign({},l(this.el));return[2]}}))}))};Object.defineProperty(t.prototype,"getTagName",{get:function(){if(this.variant===p.LINK)return y.A;return this.element.toLowerCase()},enumerable:false,configurable:true});t.prototype.getVariantConfig=function(){var t;return(t=b[this.variant])!==null&&t!==void 0?t:{}};t.prototype.getAccessibilityTags=function(){var t=this.getVariantConfig().isRequired,e=t===void 0?null:t;var r=["a","label"].includes(this.getTagName);return{"aria-required":this.isRequired&&e,"aria-disabled":this.state===n.DISABLED&&r}};t.prototype.getVariantStateStyles=function(){var t;var e=this.getVariantConfig();return t={},t["bds-typography--".concat(this.variant)]=true,t["bds-typography--align-".concat(this.align)]=true,t["bds-typography--".concat(this.state)]=!!((e===null||e===void 0?void 0:e.states)&&(e===null||e===void 0?void 0:e.states.includes(this.state))),t["bds-typography--size-".concat(this.size)]=!!((e===null||e===void 0?void 0:e.size)&&(e===null||e===void 0?void 0:e.size.includes(this.size))),t["bds-typography--required"]=!!((e===null||e===void 0?void 0:e.isRequired)&&this.isRequired),t["bds-typography--ellipsis"]=this.ellipsis&&this.maxLines<=1,t["bds-typography--ellipsis-multiline"]=this.ellipsis&&this.maxLines>1,t[this.customClass]=this.customClass!=="",t};t.prototype.render=function(){var t=this.getTagName;var e=__assign(__assign(__assign({},d(this,t)),this.inheritedAttributes),this.getAccessibilityTags());var r=this.getVariantStateStyles();var o=this.getVariantConfig(),n=o.canUseTooltip,l=n===void 0?null:n,h=o.isRequired,s=h===void 0?null:h;return a(i,{key:"80c41f5a33f3089005b9cdf2c7db51e07272b5df",class:"bds-typography"},a(t,__assign({key:"623e0a57bf2341ecaeba7e670d01a06f891f4423",class:r,style:{webkitLineClamp:this.maxLines}},e),a("slot",{key:"fa7fa6e7f6cbe6133a1c52bf2f219b2927847a88"}),this.isRequired&&s&&a("em",{key:"aa339d8fbf758491db17ac9c471327a0466bf3dc",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&l&&a("em",{key:"98a6c58192b585fbbe01a93c031e9ae3c20cf3ca",class:"bds-typography__info-icon bds-icon-info-circle"})))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{href:[{updateSanitizedHref:0}]}},enumerable:false,configurable:true});return t}());c.style=f()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-B_tL_RWF.system.js","./p-DKPZ4_C0.system.js"],(function(o){"use strict";var t,r,b,e,a;return{setters:[function(o){t=o.r;r=o.c;b=o.h;e=o.g},function(o){a=o.C}],execute:function(){var s={DEFAULT:"default",OUTLINE:"outline",PLAIN:"plain"};var n={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var d={BUTTON:"button",SUBMIT:"submit",RESET:"reset"};var u={DEFAULT:"default",PRIMARY:"primary",SUCCESS:"success",ERROR:"error"};function i(o,t,r,b){var e=r[b];if(o.includes(e))return;r[b]=t;console.warn('[BorealDS] Invalid value "'.concat(e,'" for prop "').concat(b,'" on <').concat(r.tagName.toLowerCase(),">. Expected one of: ").concat(o.join(", "),"."))}var l=function(){return'bds-button{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.bds-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;transition:background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;margin:var(--boreal-spacing-2xs) var(--boreal-spacing-3xs);outline:none;font-family:"Inter", sans-serif;font-weight:var(--boreal-typography-font-weight-semibold);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;vertical-align:middle}.bds-button .bds-button__content{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs)}.bds-button--is-loading{pointer-events:none;position:relative;color:transparent !important}.bds-button--is-loading::after{position:absolute;content:" ";-webkit-box-sizing:inherit;box-sizing:inherit;-webkit-animation:rotateSpinner 0.5s linear infinite;animation:rotateSpinner 0.5s linear infinite;border-radius:9999px;display:block;height:1em;width:1em;rotate:45deg;left:calc(50% - 0.5em);top:calc(50% - 0.5em);border:3px solid;border-right-color:transparent;border-top-color:transparent}.bds-button--size-small{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-xs);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs);line-height:var(--boreal-typography-line-height-xs);height:26px}.bds-button--size-small .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-small .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-xs)}.bds-button--size-small .bds-button__content-icon:empty{display:none}.bds-button--size-small .bds-button__content{}.bds-button--size-small .bds-button__content-badge:empty{display:none}.bds-button--size-small .bds-button__content-badge{display:none}.bds-button--size-medium{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-sm);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-1xs);line-height:var(--boreal-typography-line-height-sm);height:32px}.bds-button--size-medium .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-medium .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-sm)}.bds-button--size-medium .bds-button__content-icon:empty{display:none}.bds-button--size-medium .bds-button__content{}.bds-button--size-medium .bds-button__content-badge:empty{display:none}.bds-button--size-large{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-md);padding:var(--boreal-spacing-xs);line-height:var(--boreal-typography-line-height-md);height:44px}.bds-button--size-large .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-large .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-md)}.bds-button--size-large .bds-button__content-icon:empty{display:none}.bds-button--size-large .bds-button__content{}.bds-button--size-large .bds-button__content-badge:empty{display:none}.bds-button.bds-button--var-default.bds-button--default{color:var(--boreal-text-default);background-color:var(--boreal-ui-inverse);border-color:transparent}.bds-button.bds-button--var-default.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--default:active,.bds-button.bds-button--var-default.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-default.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-default.bds-button--primary{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--primary:hover{background-color:var(--boreal-ui-primary-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--primary:focus{background-color:var(--boreal-ui-primary-base);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--primary:active,.bds-button.bds-button--var-default.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-dark);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--success{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--success:hover{background-color:var(--boreal-ui-success-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--success:focus{background-color:var(--boreal-ui-success-base);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--success:active,.bds-button.bds-button--var-default.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-dark);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--error{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--error:hover{background-color:var(--boreal-ui-danger-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--error:focus{background-color:var(--boreal-ui-danger-base);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--error:active,.bds-button.bds-button--var-default.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-dark);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-outline{background-color:transparent}.bds-button.bds-button--var-outline.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:var(--boreal-stroke-default-light)}.bds-button.bds-button--var-outline.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--default:active,.bds-button.bds-button--var-outline.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:var(--boreal-stroke-default-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-outline.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:var(--boreal-ui-primary-base)}.bds-button.bds-button--var-outline.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--primary:active,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:var(--boreal-stroke-primary-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-outline.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:var(--boreal-stroke-success-base)}.bds-button.bds-button--var-outline.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--success:active,.bds-button.bds-button--var-outline.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:var(--boreal-stroke-success-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-outline.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:var(--boreal-stroke-danger-base)}.bds-button.bds-button--var-outline.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--error:active,.bds-button.bds-button--var-outline.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:var(--boreal-stroke-danger-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}.bds-button.bds-button--var-plain{background-color:transparent}.bds-button.bds-button--var-plain.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--default:active,.bds-button.bds-button--var-plain.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-plain.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--primary:active,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-plain.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--success:active,.bds-button.bds-button--var-plain.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-plain.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--error:active,.bds-button.bds-button--var-plain.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}@-webkit-keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}'};var p=o("bds_button",function(){function o(o){var b=this;t(this,o);this.bdsClick=r(this,"bdsClick");if(o.$hostElement$["s-ei"]){this.internals=o.$hostElement$["s-ei"]}else{this.internals=o.$hostElement$.attachInternals();o.$hostElement$["s-ei"]=this.internals}this.currentState=a.DEFAULT;this.label="";this.disabled=false;this.name="";this.type=d.BUTTON;this.color=u.DEFAULT;this.variant=s.DEFAULT;this.size=n.MEDIUM;this.loading=false;this.disclosure=false;this.handleKeyDown=function(o){if(o.key==="Enter"||o.key===" "){b.currentState=a.ACTIVE;o.preventDefault();b.bdsClick.emit(o)}};this.handleKeyUp=function(){b.currentState=a.DEFAULT};this.handleClick=function(o){o.preventDefault();o.stopPropagation();if(b.disabled||b.loading)return;if(b.type===d.SUBMIT||b.type===d.RESET){b.processFormClick()}else{b.bdsClick.emit(o)}}}o.prototype.checkPropValues=function(){i(Object.values(d),d.BUTTON,this.el,"type");i(Object.values(u),u.DEFAULT,this.el,"color");i(Object.values(s),s.DEFAULT,this.el,"variant");i(Object.values(n),n.MEDIUM,this.el,"size")};o.prototype.componentWillLoad=function(){this.checkPropValues()};o.prototype.componentDidLoad=function(){this.setupFormAssociation()};o.prototype.setupFormAssociation=function(){var o=this.el.closest("form");var t=this.internals&&"form"in this.internals?this.internals.form:null;this.internalForm=t||o||undefined};o.prototype.processFormClick=function(){var o;var t=this;if(this.internalForm===undefined){console.warn("[BorealDS Button] No form found for submit/reset action. Please ensure the button is within a form or that the form is properly associated.");return}var r=(o={},o[d.SUBMIT]=function(){var o,r;if(typeof((o=t.internalForm)===null||o===void 0?void 0:o.requestSubmit)==="function"){t.internalForm.requestSubmit()}else{(r=t.internalForm)===null||r===void 0?void 0:r.submit()}},o[d.RESET]=function(){var o;return(o=t.internalForm)===null||o===void 0?void 0:o.reset()},o);var b=r[this.type];if(typeof b==="function"){b()}return};Object.defineProperty(o.prototype,"getClassMap",{get:function(){var o;return o={"bds-button":true,"bds-button--is-disabled":this.disabled,"bds-button--is-loading":this.loading},o["bds-button--state-".concat(this.currentState)]=true,o["bds-button--".concat(this.color)]=true,o["bds-button--var-".concat(this.variant)]=true,o["bds-button--size-".concat(this.size)]=true,o},enumerable:false,configurable:true});o.prototype.render=function(){return b("button",{key:"937ea6972ca39ef41aec1d8c6459a224c84b8390",name:this.name,class:this.getClassMap,type:this.type,disabled:this.disabled||this.loading,"aria-label":this.label||undefined,"aria-disabled":this.disabled||this.loading,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},b("div",{key:"f9adeb219026e966ce85db7127696e9bc60adb57",class:"bds-button__content"},b("span",{key:"e4dbb94477218eb831f534ffdd7b816532718b22",class:"bds-button__content-icon bds-button__content-icon--start"},b("slot",{key:"a04168309cfd6bba4eb47d4aa8c2e43f44df4d12",name:"icon"})),b("slot",{key:"47094f3e68f8b98fa16c6ab6e75fa2fcaeb0a8cd"}),b("span",{key:"fb548f03228e22abdb1deaf56b60fcc7ed53a9e9",class:"bds-button__content-badge"},b("slot",{key:"7e2d30d8c750f1472825618be9730ddedc974bd1",name:"badge"})),this.disclosure&&b("span",{key:"eb4ba3930fc8a936d6825ce35961a9a9b2866be6",class:"bds-button__content-icon"},b("i",{key:"8bafff19aedeacc4dfae9fd9a5b9006ffb185d85",class:"bds-icon-chevron-down"}))))};Object.defineProperty(o,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(o.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(o,"watchers",{get:function(){return{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}},enumerable:false,configurable:true});return o}());p.style=l()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n){for(var r,e=1,a=arguments.length;e<a;e++){r=arguments[e];for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))n[t]=r[t]}return n};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(n,r,e,a){function t(n){return n instanceof e?n:new e((function(r){r(n)}))}return new(e||(e=Promise))((function(e,i){function s(n){try{b(a.next(n))}catch(n){i(n)}}function o(n){try{b(a["throw"](n))}catch(n){i(n)}}function b(n){n.done?e(n.value):t(n.value).then(s,o)}b((a=a.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,t,i,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(n){return function(r){return b([n,r])}}function b(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(e=0)),e)try{if(a=1,t&&(i=o[0]&2?t["return"]:o[0]?t["throw"]||((i=t["return"])&&i.call(t),0):t.next)&&!(i=i.call(t,o[1])).done)return i;if(t=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;t=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){e.label=o[1];break}if(o[0]===6&&e.label<i[1]){e.label=i[1];i=o;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(o);break}if(i[2])e.ops.pop();e.trys.pop();continue}o=r.call(n,e)}catch(n){o=[6,n];t=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-B_tL_RWF.system.js","./p-DKPZ4_C0.system.js","./p-BG1kmb4c.system.js"],(function(n){"use strict";var r,e,a,t,i,s,o;return{setters:[function(n){r=n.r;e=n.c;a=n.h;t=n.a;i=n.g},function(n){s=n.S},function(n){o=n.i}],execute:function(){function b(n){if(!n.idComponent)n.idComponent="bds-".concat(Math.random().toString(36).substr(2,9))}function c(n){b(n);return{id:n.idComponent}}var l=function(){return".bds-banner{position:relative;display:-ms-flexbox;display:flex;border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-info-base);border-radius:var(--boreal-radius-xs);border-left:0;font-family:var(--boreal-typography-font-family-primary);height:100%;-webkit-transition:all 0.3s ease-out;transition:all 0.3s ease-out}.bds-banner__vertical-line{width:var(--boreal-spacing-2xs);border-top-left-radius:var(--boreal-radius-xs);border-bottom-left-radius:var(--boreal-radius-xs);background-color:var(--boreal-stroke-info-base)}.bds-banner__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-xs);padding:var(--boreal-spacing-s)}.bds-banner__content{width:100%}.bds-banner__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-banner__body{padding-top:var(--boreal-spacing-2xs);font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-banner__actions{padding-top:var(--boreal-spacing-s);min-height:0px}.bds-banner__actions:empty{display:none}.bds-banner__status-icon{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);margin-top:var(--boreal-spacing-3xs)}.bds-banner__close-icon{background:none;border:none;-ms-flex-item-align:start;align-self:start;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-neutral-base);cursor:pointer}.bds-banner--info{border-color:var(--boreal-stroke-info-base);background-color:var(--boreal-ui-info-lighter)}.bds-banner--info .bds-banner__vertical-line{background-color:var(--boreal-stroke-info-base)}.bds-banner--info .bds-banner__status-icon{color:var(--boreal-stroke-info-base)}.bds-banner--success{border-color:var(--boreal-stroke-success-base);background-color:var(--boreal-ui-success-lighter)}.bds-banner--success .bds-banner__vertical-line{background-color:var(--boreal-stroke-success-base)}.bds-banner--success .bds-banner__status-icon{color:var(--boreal-stroke-success-base)}.bds-banner--warning{border-color:var(--boreal-stroke-warning);background-color:var(--boreal-ui-warning-lighter)}.bds-banner--warning .bds-banner__vertical-line{background-color:var(--boreal-stroke-warning)}.bds-banner--warning .bds-banner__status-icon{color:var(--boreal-stroke-warning)}.bds-banner--danger{border-color:var(--boreal-stroke-danger-base);background-color:var(--boreal-ui-danger-lighter)}.bds-banner--danger .bds-banner__vertical-line{background-color:var(--boreal-stroke-danger-base)}.bds-banner--danger .bds-banner__status-icon{color:var(--boreal-stroke-danger-base)}.bds-banner--closing{opacity:0;height:0}"};var u=n("bds_banner",function(){function n(n){var a=this;r(this,n);this.close=e(this,"close");this.inheritedAttributes={};this.isClosing=false;this.isOpen=true;this.idComponent="";this.variant=s.INFO;this.enableClose=false;this.handleAnimationEnd=function(){if(a.isClosing)requestAnimationFrame((function(){a.isClosing=false;a.isOpen=false}))}}n.prototype.componentWillLoad=function(){this.inheritedAttributes=__assign(__assign({},o(this.el)),c(this))};n.prototype.closeBanner=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.handleCloseBanner();return[2]}))}))};n.prototype.handleCloseBanner=function(n){if(n!==undefined)n.preventDefault();this.isClosing=true;this.close.emit()};n.prototype.handleEscapeKeyClose=function(n){if(!this.enableClose)return;if(n.key==="Escape")this.handleCloseBanner()};n.prototype.getIconName=function(){var n={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill"};if(n[this.variant]===undefined)return n["info"];return n[this.variant]};n.prototype.getAttributes=function(){return __assign(__assign({},this.inheritedAttributes),{role:"alert","aria-describedby":this.isOpen?"bds-banner__content":null,"aria-live":"polite","aria-hidden":"".concat(!this.isOpen),tabIndex:this.isOpen?0:-1})};n.prototype.getStyles=function(){var n;return n={"bds-banner":true},n["bds-banner--".concat(this.variant)]=true,n["bds-banner--closing"]=this.isClosing,n};n.prototype.renderCloseIcon=function(){var n=this;return a("button",{role:"close-button",class:"bds-banner__close-icon","aria-label":"Alert close button",onClick:function(r){return n.handleCloseBanner(r)}},a("em",{class:"bds-icon-close"}))};n.prototype.render=function(){var n=this;if(!this.isOpen)return;var r=this.renderCloseIcon();var e=this.getStyles();var i=this.getIconName();return a(t,__assign(__assign({class:e},this.getAttributes()),{onTransitionEnd:this.handleAnimationEnd,onKeyDown:function(r){return n.handleEscapeKeyClose(r)}}),a("div",{class:"bds-banner__vertical-line"}),a("div",{class:"bds-banner__container"},a("div",{class:"bds-banner__status-icon",role:"status","aria-live":"polite","aria-label":"status ".concat(this.variant)},a("em",{"aria-hidden":"true",class:i})),a("div",{class:"bds-banner__content"},a("div",{class:"bds-banner__title"},a("slot",{name:"title"})),a("div",{class:"bds-banner__body"},a("slot",null)),a("div",{class:"bds-banner__actions"},a("slot",{name:"actions"}))),this.enableClose&&r))};Object.defineProperty(n.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return n}());u.style=l()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as t,h as r,g as b}from"./p-DQvmq159.js";import{C as e}from"./p-DQR-jjOl.js";const a={DEFAULT:"default",OUTLINE:"outline",PLAIN:"plain"},s={SMALL:"small",MEDIUM:"medium",LARGE:"large"},n={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},d={DEFAULT:"default",PRIMARY:"primary",SUCCESS:"success",ERROR:"error"};function i(o,t,r,b){const e=r[b];o.includes(e)||(r[b]=t,console.warn(`[BorealDS] Invalid value "${e}" for prop "${b}" on <${r.tagName.toLowerCase()}>. Expected one of: ${o.join(", ")}.`))}const u=class{constructor(r){o(this,r),this.bdsClick=t(this,"bdsClick"),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals),this.currentState=e.DEFAULT,this.label="",this.disabled=!1,this.name="",this.type=n.BUTTON,this.color=d.DEFAULT,this.variant=a.DEFAULT,this.size=s.MEDIUM,this.loading=!1,this.disclosure=!1,this.handleKeyDown=o=>{"Enter"!==o.key&&" "!==o.key||(this.currentState=e.ACTIVE,o.preventDefault(),this.bdsClick.emit(o))},this.handleKeyUp=()=>{this.currentState=e.DEFAULT},this.handleClick=o=>{o.preventDefault(),o.stopPropagation(),this.disabled||this.loading||(this.type===n.SUBMIT||this.type===n.RESET?this.processFormClick():this.bdsClick.emit(o))}}checkPropValues(){i(Object.values(n),n.BUTTON,this.el,"type"),i(Object.values(d),d.DEFAULT,this.el,"color"),i(Object.values(a),a.DEFAULT,this.el,"variant"),i(Object.values(s),s.MEDIUM,this.el,"size")}componentWillLoad(){this.checkPropValues()}componentDidLoad(){this.setupFormAssociation()}setupFormAssociation(){const o=this.el.closest("form");this.internalForm=(this.internals&&"form"in this.internals?this.internals.form:null)||o||void 0}processFormClick(){if(void 0===this.internalForm)return void console.warn("[BorealDS Button] No form found for submit/reset action. Please ensure the button is within a form or that the form is properly associated.");const o={[n.SUBMIT]:()=>{"function"==typeof this.internalForm?.requestSubmit?this.internalForm.requestSubmit():this.internalForm?.submit()},[n.RESET]:()=>this.internalForm?.reset()}[this.type];"function"==typeof o&&o()}get getClassMap(){return{"bds-button":!0,"bds-button--is-disabled":this.disabled,"bds-button--is-loading":this.loading,[`bds-button--state-${this.currentState}`]:!0,[`bds-button--${this.color}`]:!0,[`bds-button--var-${this.variant}`]:!0,[`bds-button--size-${this.size}`]:!0}}render(){return r("button",{key:"937ea6972ca39ef41aec1d8c6459a224c84b8390",name:this.name,class:this.getClassMap,type:this.type,disabled:this.disabled||this.loading,"aria-label":this.label||void 0,"aria-disabled":this.disabled||this.loading,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},r("div",{key:"f9adeb219026e966ce85db7127696e9bc60adb57",class:"bds-button__content"},r("span",{key:"e4dbb94477218eb831f534ffdd7b816532718b22",class:"bds-button__content-icon bds-button__content-icon--start"},r("slot",{key:"a04168309cfd6bba4eb47d4aa8c2e43f44df4d12",name:"icon"})),r("slot",{key:"47094f3e68f8b98fa16c6ab6e75fa2fcaeb0a8cd"}),r("span",{key:"fb548f03228e22abdb1deaf56b60fcc7ed53a9e9",class:"bds-button__content-badge"},r("slot",{key:"7e2d30d8c750f1472825618be9730ddedc974bd1",name:"badge"})),this.disclosure&&r("span",{key:"eb4ba3930fc8a936d6825ce35961a9a9b2866be6",class:"bds-button__content-icon"},r("i",{key:"8bafff19aedeacc4dfae9fd9a5b9006ffb185d85",class:"bds-icon-chevron-down"}))))}static get formAssociated(){return!0}get el(){return b(this)}static get watchers(){return{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}}};u.style='bds-button{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.bds-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;transition:background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;margin:var(--boreal-spacing-2xs) var(--boreal-spacing-3xs);outline:none;font-family:"Inter", sans-serif;font-weight:var(--boreal-typography-font-weight-semibold);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;vertical-align:middle}.bds-button .bds-button__content{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs)}.bds-button--is-loading{pointer-events:none;position:relative;color:transparent !important}.bds-button--is-loading::after{position:absolute;content:" ";-webkit-box-sizing:inherit;box-sizing:inherit;-webkit-animation:rotateSpinner 0.5s linear infinite;animation:rotateSpinner 0.5s linear infinite;border-radius:9999px;display:block;height:1em;width:1em;rotate:45deg;left:calc(50% - 0.5em);top:calc(50% - 0.5em);border:3px solid;border-right-color:transparent;border-top-color:transparent}.bds-button--size-small{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-xs);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs);line-height:var(--boreal-typography-line-height-xs);height:26px}.bds-button--size-small .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-small .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-xs)}.bds-button--size-small .bds-button__content-icon:empty{display:none}.bds-button--size-small .bds-button__content{}.bds-button--size-small .bds-button__content-badge:empty{display:none}.bds-button--size-small .bds-button__content-badge{display:none}.bds-button--size-medium{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-sm);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-1xs);line-height:var(--boreal-typography-line-height-sm);height:32px}.bds-button--size-medium .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-medium .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-sm)}.bds-button--size-medium .bds-button__content-icon:empty{display:none}.bds-button--size-medium .bds-button__content{}.bds-button--size-medium .bds-button__content-badge:empty{display:none}.bds-button--size-large{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-md);padding:var(--boreal-spacing-xs);line-height:var(--boreal-typography-line-height-md);height:44px}.bds-button--size-large .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-large .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-md)}.bds-button--size-large .bds-button__content-icon:empty{display:none}.bds-button--size-large .bds-button__content{}.bds-button--size-large .bds-button__content-badge:empty{display:none}.bds-button.bds-button--var-default.bds-button--default{color:var(--boreal-text-default);background-color:var(--boreal-ui-inverse);border-color:transparent}.bds-button.bds-button--var-default.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--default:active,.bds-button.bds-button--var-default.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-default.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-default.bds-button--primary{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--primary:hover{background-color:var(--boreal-ui-primary-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--primary:focus{background-color:var(--boreal-ui-primary-base);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--primary:active,.bds-button.bds-button--var-default.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-dark);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--success{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--success:hover{background-color:var(--boreal-ui-success-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--success:focus{background-color:var(--boreal-ui-success-base);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--success:active,.bds-button.bds-button--var-default.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-dark);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--error{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--error:hover{background-color:var(--boreal-ui-danger-dark);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-default.bds-button--error:focus{background-color:var(--boreal-ui-danger-base);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--error:active,.bds-button.bds-button--var-default.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-dark);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-default.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-outline{background-color:transparent}.bds-button.bds-button--var-outline.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:var(--boreal-stroke-default-light)}.bds-button.bds-button--var-outline.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--default:active,.bds-button.bds-button--var-outline.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:var(--boreal-stroke-default-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-outline.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:var(--boreal-ui-primary-base)}.bds-button.bds-button--var-outline.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--primary:active,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:var(--boreal-stroke-primary-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-outline.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:var(--boreal-stroke-success-base)}.bds-button.bds-button--var-outline.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--success:active,.bds-button.bds-button--var-outline.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:var(--boreal-stroke-success-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-outline.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:var(--boreal-stroke-danger-base)}.bds-button.bds-button--var-outline.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-outline.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--error:active,.bds-button.bds-button--var-outline.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:var(--boreal-stroke-danger-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}.bds-button.bds-button--var-plain{background-color:transparent}.bds-button.bds-button--var-plain.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--default:active,.bds-button.bds-button--var-plain.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-plain.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--primary:active,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-plain.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--success:active,.bds-button.bds-button--var-plain.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-plain.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-button.bds-button--var-plain.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus);box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus)}.bds-button.bds-button--var-plain.bds-button--error:active,.bds-button.bds-button--var-plain.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0px 0px 0px 1px var(--boreal-ui-inverse), 0px 0px 0px 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}@-webkit-keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}';export{u as bds_button}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,a,g as r}from"./p-DQvmq159.js";import{C as o}from"./p-DQR-jjOl.js";import{i}from"./p-Ba6iHqJA.js";const h="md",l={link:{states:[o.DISABLED],size:["sm",h]},label:{states:[o.DISABLED],isRequired:!0,canUseTooltip:!0},heading:{canUseTooltip:!0},subheading:{canUseTooltip:!0},helper:{states:[o.ERROR]},display:{size:["xs","sm",h,"lg","xl"]}},s=class{constructor(e){t(this,e),this.inheritedAttributes={},this.variant="display",this.size=h,this.state=o.DEFAULT,this.customClass="",this.element="p",this.align="start",this.ellipsis=!1,this.maxLines=1,this.tooltipText="",this.isRequired=!1,this.htmlFor=void 0,this.href=null,this.target=null,this.isDownloadable=!1,this.filename="download",this.sanitizedHref=""}async updateSanitizedHref(){if("a"===this.getTagName&&null!==this.href){const{sanitizeUrl:t}=await import("./p-noyWJ11s.js").then((function(t){return t.i}));this.sanitizedHref=t(this.href)}else this.sanitizedHref=""}async componentWillLoad(){"a"===this.getTagName&&null!==this.href&&await this.updateSanitizedHref(),this.inheritedAttributes={...i(this.el)}}get getTagName(){return"link"===this.variant?"a":this.element.toLowerCase()}getVariantConfig(){return l[this.variant]??{}}getAccessibilityTags(){const{isRequired:t=null}=this.getVariantConfig(),e=["a","label"].includes(this.getTagName);return{"aria-required":this.isRequired&&t,"aria-disabled":this.state===o.DISABLED&&e}}getVariantStateStyles(){const t=this.getVariantConfig();return{[`bds-typography--${this.variant}`]:!0,[`bds-typography--align-${this.align}`]:!0,[`bds-typography--${this.state}`]:!(!t?.states||!t?.states.includes(this.state)),[`bds-typography--size-${this.size}`]:!(!t?.size||!t?.size.includes(this.size)),"bds-typography--required":!(!t?.isRequired||!this.isRequired),"bds-typography--ellipsis":this.ellipsis&&this.maxLines<=1,"bds-typography--ellipsis-multiline":this.ellipsis&&this.maxLines>1,[this.customClass]:""!==this.customClass}}render(){const t=this.getTagName,r={...(i=this,h=t,{a:{href:i.state!==o.DISABLED?i.sanitizedHref:null,target:i.target,download:i.isDownloadable?i.filename:null,rel:"_blank"===i.target?"noopener noreferrer":void 0},label:{htmlFor:i.htmlFor}}[h]||{}),...this.inheritedAttributes,...this.getAccessibilityTags()};var i,h;const l=this.getVariantStateStyles(),{canUseTooltip:s=null,isRequired:p=null}=this.getVariantConfig();return e(a,{key:"80c41f5a33f3089005b9cdf2c7db51e07272b5df",class:"bds-typography"},e(t,{key:"623e0a57bf2341ecaeba7e670d01a06f891f4423",class:l,style:{webkitLineClamp:this.maxLines},...r},e("slot",{key:"fa7fa6e7f6cbe6133a1c52bf2f219b2927847a88"}),this.isRequired&&p&&e("em",{key:"aa339d8fbf758491db17ac9c471327a0466bf3dc",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&s&&e("em",{key:"98a6c58192b585fbbe01a93c031e9ae3c20cf3ca",class:"bds-typography__info-icon bds-icon-info-circle"})))}get el(){return r(this)}static get watchers(){return{href:[{updateSanitizedHref:0}]}}};s.style=".bds-typography{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}";export{s as bds_typography}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],(function(a){"use strict";return{execute:function(){var i=function(a,i){if(i===void 0){i=[]}var r={};i.forEach((function(i){if(a.hasAttribute(i)){var e=a.getAttribute(i);if(e!==null){r[i]=e}a.removeAttribute(i)}}));return r};var r=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var e=a("i",(function(a,e){var t=r;return i(a,t)}))}}}));
|