@descope/web-components-ui 1.0.234 → 1.0.236
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +770 -647
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +754 -632
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/{4513.js → 1721.js} +1 -1
- package/dist/umd/3003.js +1 -1
- package/dist/umd/3092.js +23 -18
- package/dist/umd/322.js +90 -0
- package/dist/umd/4226.js +1 -1
- package/dist/umd/4447.js +1 -2
- package/dist/umd/5345.js +1 -1
- package/dist/umd/5517.js +2 -0
- package/dist/umd/5806.js +3 -3
- package/dist/umd/5977.js +18 -13
- package/dist/umd/6091.js +1 -1
- package/dist/umd/6542.js +22 -22
- package/dist/umd/6770.js +2 -2
- package/dist/umd/7531.js +77 -6
- package/dist/umd/849.js +744 -0
- package/dist/umd/849.js.LICENSE.txt +11 -0
- package/dist/umd/8623.js +2 -0
- package/dist/umd/8725.js +2 -2
- package/dist/umd/{1990.js → 9092.js} +21 -17
- package/dist/umd/9211.js +33 -19
- package/dist/umd/{7514.js → 9558.js} +128 -110
- package/dist/umd/descope-badge-index-js.js +1 -0
- package/dist/umd/descope-button-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-status-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +14 -13
- package/src/components/descope-badge/BadgeClass.js +54 -0
- package/src/components/descope-badge/index.js +5 -0
- package/src/index.cjs.js +1 -0
- package/src/index.d.ts +1 -0
- package/src/theme/components/badge.js +71 -0
- package/src/theme/components/index.js +2 -0
- package/dist/umd/2873.js +0 -738
- package/dist/umd/2873.js.LICENSE.txt +0 -21
- package/dist/umd/446.js +0 -92
- package/dist/umd/729.js +0 -1
- package/dist/umd/9629.js +0 -2
- package/dist/umd/9671.js +0 -1
- /package/dist/umd/{4447.js.LICENSE.txt → 322.js.LICENSE.txt} +0 -0
- /package/dist/umd/{446.js.LICENSE.txt → 5517.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9629.js.LICENSE.txt → 8623.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1990.js.LICENSE.txt → 9092.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7514.js.LICENSE.txt → 9558.js.LICENSE.txt} +0 -0
package/dist/index.esm.js
CHANGED
@@ -1239,7 +1239,7 @@ const clickableMixin = (superclass) =>
|
|
1239
1239
|
}
|
1240
1240
|
};
|
1241
1241
|
|
1242
|
-
const componentName$
|
1242
|
+
const componentName$D = getComponentName('button');
|
1243
1243
|
|
1244
1244
|
const resetStyles = `
|
1245
1245
|
:host {
|
@@ -1340,7 +1340,7 @@ const ButtonClass = compose(
|
|
1340
1340
|
}
|
1341
1341
|
`,
|
1342
1342
|
excludeAttrsSync: ['tabindex'],
|
1343
|
-
componentName: componentName$
|
1343
|
+
componentName: componentName$D,
|
1344
1344
|
})
|
1345
1345
|
);
|
1346
1346
|
|
@@ -1377,7 +1377,7 @@ loadingIndicatorStyles = `
|
|
1377
1377
|
}
|
1378
1378
|
`;
|
1379
1379
|
|
1380
|
-
customElements.define(componentName$
|
1380
|
+
customElements.define(componentName$D, ButtonClass);
|
1381
1381
|
|
1382
1382
|
const createBaseInputClass = (...args) =>
|
1383
1383
|
compose(
|
@@ -1387,11 +1387,11 @@ const createBaseInputClass = (...args) =>
|
|
1387
1387
|
inputEventsDispatchingMixin
|
1388
1388
|
)(createBaseClass(...args));
|
1389
1389
|
|
1390
|
-
const componentName$
|
1390
|
+
const componentName$C = getComponentName('boolean-field-internal');
|
1391
1391
|
|
1392
1392
|
const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
|
1393
1393
|
|
1394
|
-
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$
|
1394
|
+
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$C, baseSelector: 'div' });
|
1395
1395
|
|
1396
1396
|
class BooleanInputInternal extends BaseInputClass$5 {
|
1397
1397
|
static get observedAttributes() {
|
@@ -1467,14 +1467,14 @@ const booleanFieldMixin = (superclass) =>
|
|
1467
1467
|
|
1468
1468
|
const template = document.createElement('template');
|
1469
1469
|
template.innerHTML = `
|
1470
|
-
<${componentName$
|
1470
|
+
<${componentName$C}
|
1471
1471
|
tabindex="-1"
|
1472
1472
|
slot="input"
|
1473
|
-
></${componentName$
|
1473
|
+
></${componentName$C}>
|
1474
1474
|
`;
|
1475
1475
|
|
1476
1476
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
1477
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
1477
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$C);
|
1478
1478
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
1479
1479
|
|
1480
1480
|
forwardAttrs(this, this.inputElement, {
|
@@ -1673,7 +1673,7 @@ descope-boolean-field-internal {
|
|
1673
1673
|
}
|
1674
1674
|
`;
|
1675
1675
|
|
1676
|
-
const componentName$
|
1676
|
+
const componentName$B = getComponentName('checkbox');
|
1677
1677
|
|
1678
1678
|
const {
|
1679
1679
|
host: host$f,
|
@@ -1779,15 +1779,15 @@ const CheckboxClass = compose(
|
|
1779
1779
|
}
|
1780
1780
|
`,
|
1781
1781
|
excludeAttrsSync: ['label', 'tabindex'],
|
1782
|
-
componentName: componentName$
|
1782
|
+
componentName: componentName$B,
|
1783
1783
|
})
|
1784
1784
|
);
|
1785
1785
|
|
1786
|
-
customElements.define(componentName$
|
1786
|
+
customElements.define(componentName$C, BooleanInputInternal);
|
1787
1787
|
|
1788
|
-
customElements.define(componentName$
|
1788
|
+
customElements.define(componentName$B, CheckboxClass);
|
1789
1789
|
|
1790
|
-
const componentName$
|
1790
|
+
const componentName$A = getComponentName('switch-toggle');
|
1791
1791
|
|
1792
1792
|
const {
|
1793
1793
|
host: host$e,
|
@@ -1919,17 +1919,17 @@ const SwitchToggleClass = compose(
|
|
1919
1919
|
}
|
1920
1920
|
`,
|
1921
1921
|
excludeAttrsSync: ['label', 'tabindex'],
|
1922
|
-
componentName: componentName$
|
1922
|
+
componentName: componentName$A,
|
1923
1923
|
})
|
1924
1924
|
);
|
1925
1925
|
|
1926
|
-
customElements.define(componentName$
|
1926
|
+
customElements.define(componentName$A, SwitchToggleClass);
|
1927
1927
|
|
1928
|
-
const componentName$
|
1928
|
+
const componentName$z = getComponentName('loader-linear');
|
1929
1929
|
|
1930
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
1930
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$z, baseSelector: ':host > div' }) {
|
1931
1931
|
static get componentName() {
|
1932
|
-
return componentName$
|
1932
|
+
return componentName$z;
|
1933
1933
|
}
|
1934
1934
|
|
1935
1935
|
constructor() {
|
@@ -1990,11 +1990,11 @@ const LoaderLinearClass = compose(
|
|
1990
1990
|
componentNameValidationMixin
|
1991
1991
|
)(RawLoaderLinear);
|
1992
1992
|
|
1993
|
-
customElements.define(componentName$
|
1993
|
+
customElements.define(componentName$z, LoaderLinearClass);
|
1994
1994
|
|
1995
|
-
const componentName$
|
1995
|
+
const componentName$y = getComponentName('loader-radial');
|
1996
1996
|
|
1997
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
1997
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$y, baseSelector: ':host > div' }) {
|
1998
1998
|
constructor() {
|
1999
1999
|
super();
|
2000
2000
|
|
@@ -2038,11 +2038,11 @@ const LoaderRadialClass = compose(
|
|
2038
2038
|
componentNameValidationMixin
|
2039
2039
|
)(RawLoaderRadial);
|
2040
2040
|
|
2041
|
-
customElements.define(componentName$
|
2041
|
+
customElements.define(componentName$y, LoaderRadialClass);
|
2042
2042
|
|
2043
|
-
const componentName$
|
2043
|
+
const componentName$x = getComponentName('container');
|
2044
2044
|
|
2045
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
2045
|
+
class RawContainer extends createBaseClass({ componentName: componentName$x, baseSelector: 'slot' }) {
|
2046
2046
|
constructor() {
|
2047
2047
|
super();
|
2048
2048
|
|
@@ -2094,13 +2094,13 @@ const ContainerClass = compose(
|
|
2094
2094
|
componentNameValidationMixin
|
2095
2095
|
)(RawContainer);
|
2096
2096
|
|
2097
|
-
customElements.define(componentName$
|
2097
|
+
customElements.define(componentName$x, ContainerClass);
|
2098
2098
|
|
2099
2099
|
// eslint-disable-next-line max-classes-per-file
|
2100
2100
|
|
2101
|
-
const componentName$
|
2101
|
+
const componentName$w = getComponentName('text');
|
2102
2102
|
|
2103
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
2103
|
+
class RawText extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > slot' }) {
|
2104
2104
|
constructor() {
|
2105
2105
|
super();
|
2106
2106
|
|
@@ -2160,8 +2160,8 @@ const TextClass = compose(
|
|
2160
2160
|
customTextMixin
|
2161
2161
|
)(RawText);
|
2162
2162
|
|
2163
|
-
const componentName$
|
2164
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
2163
|
+
const componentName$v = getComponentName('divider');
|
2164
|
+
class RawDivider extends createBaseClass({ componentName: componentName$v, baseSelector: ':host > div' }) {
|
2165
2165
|
constructor() {
|
2166
2166
|
super();
|
2167
2167
|
|
@@ -2260,9 +2260,9 @@ const DividerClass = compose(
|
|
2260
2260
|
componentNameValidationMixin
|
2261
2261
|
)(RawDivider);
|
2262
2262
|
|
2263
|
-
customElements.define(componentName$
|
2263
|
+
customElements.define(componentName$w, TextClass);
|
2264
2264
|
|
2265
|
-
customElements.define(componentName$
|
2265
|
+
customElements.define(componentName$v, DividerClass);
|
2266
2266
|
|
2267
2267
|
const { host: host$b, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$8, inputField: inputField$5, input, helperText: helperText$6, errorMessage: errorMessage$8 } =
|
2268
2268
|
{
|
@@ -2319,7 +2319,7 @@ var textFieldMappings = {
|
|
2319
2319
|
inputPlaceholderColor: { ...placeholder$2, property: 'color' },
|
2320
2320
|
};
|
2321
2321
|
|
2322
|
-
const componentName$
|
2322
|
+
const componentName$u = getComponentName('email-field');
|
2323
2323
|
|
2324
2324
|
const customMixin$7 = (superclass) =>
|
2325
2325
|
class EmailFieldMixinClass extends superclass {
|
@@ -2354,15 +2354,15 @@ const EmailFieldClass = compose(
|
|
2354
2354
|
${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
|
2355
2355
|
`,
|
2356
2356
|
excludeAttrsSync: ['tabindex'],
|
2357
|
-
componentName: componentName$
|
2357
|
+
componentName: componentName$u,
|
2358
2358
|
})
|
2359
2359
|
);
|
2360
2360
|
|
2361
|
-
customElements.define(componentName$
|
2361
|
+
customElements.define(componentName$u, EmailFieldClass);
|
2362
2362
|
|
2363
|
-
const componentName$
|
2363
|
+
const componentName$t = getComponentName('link');
|
2364
2364
|
|
2365
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
2365
|
+
class RawLink extends createBaseClass({ componentName: componentName$t, baseSelector: ':host a' }) {
|
2366
2366
|
constructor() {
|
2367
2367
|
super();
|
2368
2368
|
|
@@ -2427,7 +2427,7 @@ const LinkClass = compose(
|
|
2427
2427
|
componentNameValidationMixin
|
2428
2428
|
)(RawLink);
|
2429
2429
|
|
2430
|
-
customElements.define(componentName$
|
2430
|
+
customElements.define(componentName$t, LinkClass);
|
2431
2431
|
|
2432
2432
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
2433
2433
|
let style;
|
@@ -2479,27 +2479,27 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
2479
2479
|
return CssVarImageClass;
|
2480
2480
|
};
|
2481
2481
|
|
2482
|
-
const componentName$
|
2482
|
+
const componentName$s = getComponentName('logo');
|
2483
2483
|
|
2484
2484
|
const LogoClass = createCssVarImageClass({
|
2485
|
-
componentName: componentName$
|
2485
|
+
componentName: componentName$s,
|
2486
2486
|
varName: 'url',
|
2487
2487
|
fallbackVarName: 'fallbackUrl',
|
2488
2488
|
});
|
2489
2489
|
|
2490
|
-
customElements.define(componentName$
|
2490
|
+
customElements.define(componentName$s, LogoClass);
|
2491
2491
|
|
2492
|
-
const componentName$
|
2492
|
+
const componentName$r = getComponentName('totp-image');
|
2493
2493
|
|
2494
2494
|
const TotpImageClass = createCssVarImageClass({
|
2495
|
-
componentName: componentName$
|
2495
|
+
componentName: componentName$r,
|
2496
2496
|
varName: 'url',
|
2497
2497
|
fallbackVarName: 'fallbackUrl',
|
2498
2498
|
});
|
2499
2499
|
|
2500
|
-
customElements.define(componentName$
|
2500
|
+
customElements.define(componentName$r, TotpImageClass);
|
2501
2501
|
|
2502
|
-
const componentName$
|
2502
|
+
const componentName$q = getComponentName('number-field');
|
2503
2503
|
|
2504
2504
|
const NumberFieldClass = compose(
|
2505
2505
|
createStyleMixin({
|
@@ -2525,11 +2525,11 @@ const NumberFieldClass = compose(
|
|
2525
2525
|
${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
|
2526
2526
|
`,
|
2527
2527
|
excludeAttrsSync: ['tabindex'],
|
2528
|
-
componentName: componentName$
|
2528
|
+
componentName: componentName$q,
|
2529
2529
|
})
|
2530
2530
|
);
|
2531
2531
|
|
2532
|
-
customElements.define(componentName$
|
2532
|
+
customElements.define(componentName$q, NumberFieldClass);
|
2533
2533
|
|
2534
2534
|
const focusElement = (ele) => {
|
2535
2535
|
ele?.focus();
|
@@ -2547,13 +2547,13 @@ const getSanitizedCharacters = (str) => {
|
|
2547
2547
|
|
2548
2548
|
/* eslint-disable no-param-reassign */
|
2549
2549
|
|
2550
|
-
const componentName$
|
2550
|
+
const componentName$p = getComponentName('passcode-internal');
|
2551
2551
|
|
2552
2552
|
const observedAttributes$5 = ['digits'];
|
2553
2553
|
|
2554
2554
|
const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
|
2555
2555
|
|
2556
|
-
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$
|
2556
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$p, baseSelector: 'div' });
|
2557
2557
|
|
2558
2558
|
class PasscodeInternal extends BaseInputClass$4 {
|
2559
2559
|
static get observedAttributes() {
|
@@ -2755,7 +2755,7 @@ class PasscodeInternal extends BaseInputClass$4 {
|
|
2755
2755
|
}
|
2756
2756
|
}
|
2757
2757
|
|
2758
|
-
const componentName$
|
2758
|
+
const componentName$o = getComponentName('text-field');
|
2759
2759
|
|
2760
2760
|
const observedAttrs = ['type'];
|
2761
2761
|
|
@@ -2805,11 +2805,11 @@ const TextFieldClass = compose(
|
|
2805
2805
|
${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
|
2806
2806
|
`,
|
2807
2807
|
excludeAttrsSync: ['tabindex'],
|
2808
|
-
componentName: componentName$
|
2808
|
+
componentName: componentName$o,
|
2809
2809
|
})
|
2810
2810
|
);
|
2811
2811
|
|
2812
|
-
const componentName$
|
2812
|
+
const componentName$n = getComponentName('passcode');
|
2813
2813
|
|
2814
2814
|
const observedAttributes$4 = ['digits'];
|
2815
2815
|
|
@@ -2828,17 +2828,17 @@ const customMixin$5 = (superclass) =>
|
|
2828
2828
|
const template = document.createElement('template');
|
2829
2829
|
|
2830
2830
|
template.innerHTML = `
|
2831
|
-
<${componentName$
|
2831
|
+
<${componentName$p}
|
2832
2832
|
bordered="true"
|
2833
2833
|
name="code"
|
2834
2834
|
tabindex="-1"
|
2835
2835
|
slot="input"
|
2836
|
-
><slot></slot></${componentName$
|
2836
|
+
><slot></slot></${componentName$p}>
|
2837
2837
|
`;
|
2838
2838
|
|
2839
2839
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
2840
2840
|
|
2841
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
2841
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$p);
|
2842
2842
|
|
2843
2843
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
|
2844
2844
|
}
|
@@ -2978,15 +2978,15 @@ const PasscodeClass = compose(
|
|
2978
2978
|
${resetInputCursor('vaadin-text-field')}
|
2979
2979
|
`,
|
2980
2980
|
excludeAttrsSync: ['tabindex'],
|
2981
|
-
componentName: componentName$
|
2981
|
+
componentName: componentName$n,
|
2982
2982
|
})
|
2983
2983
|
);
|
2984
2984
|
|
2985
|
-
customElements.define(componentName$
|
2985
|
+
customElements.define(componentName$o, TextFieldClass);
|
2986
2986
|
|
2987
|
-
customElements.define(componentName$
|
2987
|
+
customElements.define(componentName$p, PasscodeInternal);
|
2988
2988
|
|
2989
|
-
customElements.define(componentName$
|
2989
|
+
customElements.define(componentName$n, PasscodeClass);
|
2990
2990
|
|
2991
2991
|
const passwordDraggableMixin = (superclass) =>
|
2992
2992
|
class PasswordDraggableMixinClass extends superclass {
|
@@ -3022,7 +3022,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
3022
3022
|
}
|
3023
3023
|
};
|
3024
3024
|
|
3025
|
-
const componentName$
|
3025
|
+
const componentName$m = getComponentName('password');
|
3026
3026
|
|
3027
3027
|
const {
|
3028
3028
|
host: host$8,
|
@@ -3153,13 +3153,13 @@ const PasswordClass = compose(
|
|
3153
3153
|
}
|
3154
3154
|
`,
|
3155
3155
|
excludeAttrsSync: ['tabindex'],
|
3156
|
-
componentName: componentName$
|
3156
|
+
componentName: componentName$m,
|
3157
3157
|
})
|
3158
3158
|
);
|
3159
3159
|
|
3160
|
-
customElements.define(componentName$
|
3160
|
+
customElements.define(componentName$m, PasswordClass);
|
3161
3161
|
|
3162
|
-
const componentName$
|
3162
|
+
const componentName$l = getComponentName('text-area');
|
3163
3163
|
|
3164
3164
|
const {
|
3165
3165
|
host: host$7,
|
@@ -3234,17 +3234,17 @@ const TextAreaClass = compose(
|
|
3234
3234
|
${resetInputCursor('vaadin-text-area')}
|
3235
3235
|
`,
|
3236
3236
|
excludeAttrsSync: ['tabindex'],
|
3237
|
-
componentName: componentName$
|
3237
|
+
componentName: componentName$l,
|
3238
3238
|
})
|
3239
3239
|
);
|
3240
3240
|
|
3241
|
-
customElements.define(componentName$
|
3241
|
+
customElements.define(componentName$l, TextAreaClass);
|
3242
3242
|
|
3243
3243
|
const observedAttributes$3 = ['src', 'alt'];
|
3244
3244
|
|
3245
|
-
const componentName$
|
3245
|
+
const componentName$k = getComponentName('image');
|
3246
3246
|
|
3247
|
-
const BaseClass$1 = createBaseClass({ componentName: componentName$
|
3247
|
+
const BaseClass$1 = createBaseClass({ componentName: componentName$k, baseSelector: ':host > img' });
|
3248
3248
|
class RawImage extends BaseClass$1 {
|
3249
3249
|
static get observedAttributes() {
|
3250
3250
|
return observedAttributes$3.concat(BaseClass$1.observedAttributes || []);
|
@@ -3284,9 +3284,9 @@ const ImageClass = compose(
|
|
3284
3284
|
draggableMixin
|
3285
3285
|
)(RawImage);
|
3286
3286
|
|
3287
|
-
customElements.define(componentName$
|
3287
|
+
customElements.define(componentName$k, ImageClass);
|
3288
3288
|
|
3289
|
-
const componentName$
|
3289
|
+
const componentName$j = getComponentName('combo-box');
|
3290
3290
|
|
3291
3291
|
const ComboBoxMixin = (superclass) =>
|
3292
3292
|
class ComboBoxMixinClass extends superclass {
|
@@ -3650,12 +3650,12 @@ const ComboBoxClass = compose(
|
|
3650
3650
|
// and reset items to an empty array, and opening the list box with no items
|
3651
3651
|
// to display.
|
3652
3652
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
3653
|
-
componentName: componentName$
|
3653
|
+
componentName: componentName$j,
|
3654
3654
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
3655
3655
|
})
|
3656
3656
|
);
|
3657
3657
|
|
3658
|
-
customElements.define(componentName$
|
3658
|
+
customElements.define(componentName$j, ComboBoxClass);
|
3659
3659
|
|
3660
3660
|
var CountryCodes = [
|
3661
3661
|
{
|
@@ -4895,7 +4895,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
|
|
4895
4895
|
</div>
|
4896
4896
|
`;
|
4897
4897
|
|
4898
|
-
const componentName$
|
4898
|
+
const componentName$i = getComponentName('phone-field-internal');
|
4899
4899
|
|
4900
4900
|
const commonAttrs$1 = ['disabled', 'size', 'bordered', 'invalid', 'readonly'];
|
4901
4901
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
@@ -4907,7 +4907,7 @@ const mapAttrs$1 = {
|
|
4907
4907
|
|
4908
4908
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs);
|
4909
4909
|
|
4910
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
4910
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$i, baseSelector: 'div' });
|
4911
4911
|
|
4912
4912
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$3 {
|
4913
4913
|
static get observedAttributes() {
|
@@ -5079,12 +5079,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$3 {
|
|
5079
5079
|
}
|
5080
5080
|
};
|
5081
5081
|
|
5082
|
-
customElements.define(componentName$
|
5082
|
+
customElements.define(componentName$i, PhoneFieldInternal$1);
|
5083
5083
|
|
5084
5084
|
const textVars$1 = TextFieldClass.cssVarList;
|
5085
5085
|
const comboVars = ComboBoxClass.cssVarList;
|
5086
5086
|
|
5087
|
-
const componentName$
|
5087
|
+
const componentName$h = getComponentName('phone-field');
|
5088
5088
|
|
5089
5089
|
const customMixin$4 = (superclass) =>
|
5090
5090
|
class PhoneFieldMixinClass extends superclass {
|
@@ -5098,15 +5098,15 @@ const customMixin$4 = (superclass) =>
|
|
5098
5098
|
const template = document.createElement('template');
|
5099
5099
|
|
5100
5100
|
template.innerHTML = `
|
5101
|
-
<${componentName$
|
5101
|
+
<${componentName$i}
|
5102
5102
|
tabindex="-1"
|
5103
5103
|
slot="input"
|
5104
|
-
></${componentName$
|
5104
|
+
></${componentName$i}>
|
5105
5105
|
`;
|
5106
5106
|
|
5107
5107
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5108
5108
|
|
5109
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5109
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$i);
|
5110
5110
|
|
5111
5111
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
5112
5112
|
includeAttrs: [
|
@@ -5302,17 +5302,17 @@ const PhoneFieldClass = compose(
|
|
5302
5302
|
${resetInputLabelPosition('vaadin-text-field')}
|
5303
5303
|
`,
|
5304
5304
|
excludeAttrsSync: ['tabindex'],
|
5305
|
-
componentName: componentName$
|
5305
|
+
componentName: componentName$h,
|
5306
5306
|
})
|
5307
5307
|
);
|
5308
5308
|
|
5309
|
-
customElements.define(componentName$
|
5309
|
+
customElements.define(componentName$h, PhoneFieldClass);
|
5310
5310
|
|
5311
5311
|
const getCountryByCodeId = (countryCode) => {
|
5312
5312
|
return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
5313
5313
|
};
|
5314
5314
|
|
5315
|
-
const componentName$
|
5315
|
+
const componentName$g = getComponentName('phone-field-internal-input-box');
|
5316
5316
|
|
5317
5317
|
const observedAttributes$2 = [
|
5318
5318
|
'disabled',
|
@@ -5326,7 +5326,7 @@ const mapAttrs = {
|
|
5326
5326
|
'phone-input-placeholder': 'placeholder',
|
5327
5327
|
};
|
5328
5328
|
|
5329
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
5329
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$g, baseSelector: 'div' });
|
5330
5330
|
|
5331
5331
|
class PhoneFieldInternal extends BaseInputClass$2 {
|
5332
5332
|
static get observedAttributes() {
|
@@ -5465,11 +5465,11 @@ class PhoneFieldInternal extends BaseInputClass$2 {
|
|
5465
5465
|
}
|
5466
5466
|
}
|
5467
5467
|
|
5468
|
-
customElements.define(componentName$
|
5468
|
+
customElements.define(componentName$g, PhoneFieldInternal);
|
5469
5469
|
|
5470
5470
|
const textVars = TextFieldClass.cssVarList;
|
5471
5471
|
|
5472
|
-
const componentName$
|
5472
|
+
const componentName$f = getComponentName('phone-input-box-field');
|
5473
5473
|
|
5474
5474
|
const customMixin$3 = (superclass) =>
|
5475
5475
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
@@ -5483,15 +5483,15 @@ const customMixin$3 = (superclass) =>
|
|
5483
5483
|
const template = document.createElement('template');
|
5484
5484
|
|
5485
5485
|
template.innerHTML = `
|
5486
|
-
<${componentName$
|
5486
|
+
<${componentName$g}
|
5487
5487
|
tabindex="-1"
|
5488
5488
|
slot="input"
|
5489
|
-
></${componentName$
|
5489
|
+
></${componentName$g}>
|
5490
5490
|
`;
|
5491
5491
|
|
5492
5492
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5493
5493
|
|
5494
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5494
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$g);
|
5495
5495
|
|
5496
5496
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
5497
5497
|
includeAttrs: [
|
@@ -5624,15 +5624,15 @@ const PhoneFieldInputBoxClass = compose(
|
|
5624
5624
|
${resetInputLabelPosition('vaadin-text-field')}
|
5625
5625
|
`,
|
5626
5626
|
excludeAttrsSync: ['tabindex'],
|
5627
|
-
componentName: componentName$
|
5627
|
+
componentName: componentName$f,
|
5628
5628
|
})
|
5629
5629
|
);
|
5630
5630
|
|
5631
|
-
customElements.define(componentName$
|
5631
|
+
customElements.define(componentName$f, PhoneFieldInputBoxClass);
|
5632
5632
|
|
5633
|
-
const componentName$
|
5633
|
+
const componentName$e = getComponentName('new-password-internal');
|
5634
5634
|
|
5635
|
-
const componentName$
|
5635
|
+
const componentName$d = getComponentName('new-password');
|
5636
5636
|
|
5637
5637
|
const customMixin$2 = (superclass) =>
|
5638
5638
|
class NewPasswordMixinClass extends superclass {
|
@@ -5642,16 +5642,16 @@ const customMixin$2 = (superclass) =>
|
|
5642
5642
|
const template = document.createElement('template');
|
5643
5643
|
|
5644
5644
|
template.innerHTML = `
|
5645
|
-
<${componentName$
|
5645
|
+
<${componentName$e}
|
5646
5646
|
name="new-password"
|
5647
5647
|
tabindex="-1"
|
5648
5648
|
slot="input"
|
5649
|
-
></${componentName$
|
5649
|
+
></${componentName$e}>
|
5650
5650
|
`;
|
5651
5651
|
|
5652
5652
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5653
5653
|
|
5654
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5654
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$e);
|
5655
5655
|
|
5656
5656
|
forwardAttrs(this, this.inputElement, {
|
5657
5657
|
includeAttrs: [
|
@@ -5758,7 +5758,7 @@ const NewPasswordClass = compose(
|
|
5758
5758
|
}
|
5759
5759
|
`,
|
5760
5760
|
excludeAttrsSync: ['tabindex'],
|
5761
|
-
componentName: componentName$
|
5761
|
+
componentName: componentName$d,
|
5762
5762
|
})
|
5763
5763
|
);
|
5764
5764
|
|
@@ -5783,7 +5783,7 @@ const commonAttrs = [
|
|
5783
5783
|
|
5784
5784
|
const inputRelatedAttrs = [].concat(commonAttrs, passwordInputAttrs, confirmInputAttrs);
|
5785
5785
|
|
5786
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
5786
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$e, baseSelector: 'div' });
|
5787
5787
|
|
5788
5788
|
class NewPasswordInternal extends BaseInputClass$1 {
|
5789
5789
|
static get observedAttributes() {
|
@@ -5948,16 +5948,16 @@ class NewPasswordInternal extends BaseInputClass$1 {
|
|
5948
5948
|
}
|
5949
5949
|
}
|
5950
5950
|
|
5951
|
-
customElements.define(componentName$
|
5951
|
+
customElements.define(componentName$e, NewPasswordInternal);
|
5952
5952
|
|
5953
|
-
customElements.define(componentName$
|
5953
|
+
customElements.define(componentName$d, NewPasswordClass);
|
5954
5954
|
|
5955
|
-
const componentName$
|
5955
|
+
const componentName$c = getComponentName('recaptcha');
|
5956
5956
|
|
5957
5957
|
const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
|
5958
5958
|
|
5959
5959
|
const BaseClass = createBaseClass({
|
5960
|
-
componentName: componentName$
|
5960
|
+
componentName: componentName$c,
|
5961
5961
|
baseSelector: ':host > div',
|
5962
5962
|
});
|
5963
5963
|
class RawRecaptcha extends BaseClass {
|
@@ -6109,7 +6109,7 @@ class RawRecaptcha extends BaseClass {
|
|
6109
6109
|
|
6110
6110
|
const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
|
6111
6111
|
|
6112
|
-
customElements.define(componentName$
|
6112
|
+
customElements.define(componentName$c, RecaptchaClass);
|
6113
6113
|
|
6114
6114
|
const getFileBase64 = (fileObj) => {
|
6115
6115
|
return new Promise((resolve) => {
|
@@ -6123,7 +6123,7 @@ const getFilename = (fileObj) => {
|
|
6123
6123
|
return fileObj.name.replace(/^.*\\/, '');
|
6124
6124
|
};
|
6125
6125
|
|
6126
|
-
const componentName$
|
6126
|
+
const componentName$b = getComponentName('upload-file');
|
6127
6127
|
|
6128
6128
|
const observedAttributes = [
|
6129
6129
|
'title',
|
@@ -6138,7 +6138,7 @@ const observedAttributes = [
|
|
6138
6138
|
'icon',
|
6139
6139
|
];
|
6140
6140
|
|
6141
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
6141
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$b, baseSelector: ':host > div' });
|
6142
6142
|
|
6143
6143
|
class RawUploadFile extends BaseInputClass {
|
6144
6144
|
static get observedAttributes() {
|
@@ -6353,12 +6353,12 @@ const UploadFileClass = compose(
|
|
6353
6353
|
componentNameValidationMixin
|
6354
6354
|
)(RawUploadFile);
|
6355
6355
|
|
6356
|
-
customElements.define(componentName$
|
6356
|
+
customElements.define(componentName$b, UploadFileClass);
|
6357
6357
|
|
6358
|
-
const componentName$
|
6358
|
+
const componentName$a = getComponentName('button-selection-group-internal');
|
6359
6359
|
|
6360
6360
|
class ButtonSelectionGroupInternalClass extends createBaseInputClass({
|
6361
|
-
componentName: componentName$
|
6361
|
+
componentName: componentName$a,
|
6362
6362
|
baseSelector: 'slot',
|
6363
6363
|
}) {
|
6364
6364
|
constructor() {
|
@@ -6495,7 +6495,7 @@ class ButtonSelectionGroupInternalClass extends createBaseInputClass({
|
|
6495
6495
|
}
|
6496
6496
|
}
|
6497
6497
|
|
6498
|
-
const componentName$
|
6498
|
+
const componentName$9 = getComponentName('button-selection-group');
|
6499
6499
|
|
6500
6500
|
const customMixin$1 = (superclass) =>
|
6501
6501
|
class ButtonSelectionGroupMixinClass extends superclass {
|
@@ -6570,18 +6570,18 @@ const customMixin$1 = (superclass) =>
|
|
6570
6570
|
const template = document.createElement('template');
|
6571
6571
|
|
6572
6572
|
template.innerHTML = `
|
6573
|
-
<${componentName$
|
6573
|
+
<${componentName$a}
|
6574
6574
|
name="button-selection-group"
|
6575
6575
|
slot="input"
|
6576
6576
|
tabindex="-1"
|
6577
6577
|
>
|
6578
6578
|
<slot></slot>
|
6579
|
-
</${componentName$
|
6579
|
+
</${componentName$a}>
|
6580
6580
|
`;
|
6581
6581
|
|
6582
6582
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
6583
6583
|
|
6584
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
6584
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$a);
|
6585
6585
|
|
6586
6586
|
forwardAttrs(this, this.inputElement, {
|
6587
6587
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -6686,18 +6686,18 @@ const ButtonSelectionGroupClass = compose(
|
|
6686
6686
|
${resetInputCursor('vaadin-text-field')}
|
6687
6687
|
`,
|
6688
6688
|
excludeAttrsSync: ['tabindex'],
|
6689
|
-
componentName: componentName$
|
6689
|
+
componentName: componentName$9,
|
6690
6690
|
})
|
6691
6691
|
);
|
6692
6692
|
|
6693
|
-
customElements.define(componentName$
|
6693
|
+
customElements.define(componentName$a, ButtonSelectionGroupInternalClass);
|
6694
6694
|
|
6695
|
-
customElements.define(componentName$
|
6695
|
+
customElements.define(componentName$9, ButtonSelectionGroupClass);
|
6696
6696
|
|
6697
|
-
const componentName$
|
6697
|
+
const componentName$8 = getComponentName('button-selection-group-item');
|
6698
6698
|
|
6699
6699
|
class RawSelectItem extends createBaseClass({
|
6700
|
-
componentName: componentName$
|
6700
|
+
componentName: componentName$8,
|
6701
6701
|
baseSelector: ':host > descope-button',
|
6702
6702
|
}) {
|
6703
6703
|
get size() {
|
@@ -6795,17 +6795,17 @@ const ButtonSelectionGroupItemClass = compose(
|
|
6795
6795
|
componentNameValidationMixin
|
6796
6796
|
)(RawSelectItem);
|
6797
6797
|
|
6798
|
-
customElements.define(componentName$
|
6798
|
+
customElements.define(componentName$8, ButtonSelectionGroupItemClass);
|
6799
6799
|
|
6800
|
-
const componentName$
|
6800
|
+
const componentName$7 = getComponentName('grid-text-column');
|
6801
6801
|
|
6802
6802
|
class GridTextColumnClass extends GridSortColumn {}
|
6803
6803
|
|
6804
|
-
customElements.define(componentName$
|
6804
|
+
customElements.define(componentName$7, GridTextColumnClass);
|
6805
6805
|
|
6806
6806
|
/* eslint-disable no-param-reassign */
|
6807
6807
|
|
6808
|
-
const componentName$
|
6808
|
+
const componentName$6 = getComponentName('grid-status-column');
|
6809
6809
|
class GridStatusColumnClass extends GridSortColumn {
|
6810
6810
|
_defaultRenderer(cell, _col, model) {
|
6811
6811
|
const contentAttr = this.getAttribute('status');
|
@@ -6823,11 +6823,11 @@ class GridStatusColumnClass extends GridSortColumn {
|
|
6823
6823
|
}
|
6824
6824
|
}
|
6825
6825
|
|
6826
|
-
customElements.define(componentName$
|
6826
|
+
customElements.define(componentName$6, GridStatusColumnClass);
|
6827
6827
|
|
6828
6828
|
/* eslint-disable class-methods-use-this */
|
6829
6829
|
|
6830
|
-
const componentName$
|
6830
|
+
const componentName$5 = getComponentName('grid-selection-column');
|
6831
6831
|
|
6832
6832
|
const createCheckboxEle = () => {
|
6833
6833
|
const checkbox = document.createElement('descope-checkbox');
|
@@ -6882,7 +6882,7 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
6882
6882
|
}
|
6883
6883
|
}
|
6884
6884
|
|
6885
|
-
customElements.define(componentName$
|
6885
|
+
customElements.define(componentName$5, GridSelectionColumnClass);
|
6886
6886
|
|
6887
6887
|
const isValidDataType = (data) => {
|
6888
6888
|
const isValid = Array.isArray(data);
|
@@ -6894,7 +6894,7 @@ const isValidDataType = (data) => {
|
|
6894
6894
|
return isValid;
|
6895
6895
|
};
|
6896
6896
|
|
6897
|
-
const componentName$
|
6897
|
+
const componentName$4 = getComponentName('grid');
|
6898
6898
|
|
6899
6899
|
const GridMixin = (superclass) =>
|
6900
6900
|
class GridMixinClass extends superclass {
|
@@ -7119,11 +7119,11 @@ const GridClass = compose(
|
|
7119
7119
|
}
|
7120
7120
|
`,
|
7121
7121
|
excludeAttrsSync: ['columns', 'tabindex'],
|
7122
|
-
componentName: componentName$
|
7122
|
+
componentName: componentName$4,
|
7123
7123
|
})
|
7124
7124
|
);
|
7125
7125
|
|
7126
|
-
customElements.define(componentName$
|
7126
|
+
customElements.define(componentName$4, GridClass);
|
7127
7127
|
|
7128
7128
|
const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
|
7129
7129
|
|
@@ -7454,33 +7454,33 @@ const globals = {
|
|
7454
7454
|
fonts,
|
7455
7455
|
direction,
|
7456
7456
|
};
|
7457
|
-
const vars$
|
7457
|
+
const vars$v = getThemeVars(globals);
|
7458
7458
|
|
7459
|
-
const globalRefs$
|
7459
|
+
const globalRefs$g = getThemeRefs(globals);
|
7460
7460
|
const compVars$4 = ButtonClass.cssVarList;
|
7461
7461
|
|
7462
7462
|
const mode = {
|
7463
|
-
primary: globalRefs$
|
7464
|
-
secondary: globalRefs$
|
7465
|
-
success: globalRefs$
|
7466
|
-
error: globalRefs$
|
7467
|
-
surface: globalRefs$
|
7463
|
+
primary: globalRefs$g.colors.primary,
|
7464
|
+
secondary: globalRefs$g.colors.secondary,
|
7465
|
+
success: globalRefs$g.colors.success,
|
7466
|
+
error: globalRefs$g.colors.error,
|
7467
|
+
surface: globalRefs$g.colors.surface,
|
7468
7468
|
};
|
7469
7469
|
|
7470
|
-
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$
|
7470
|
+
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$D);
|
7471
7471
|
|
7472
7472
|
const button = {
|
7473
7473
|
...helperTheme$3,
|
7474
7474
|
|
7475
|
-
[compVars$4.fontFamily]: globalRefs$
|
7475
|
+
[compVars$4.fontFamily]: globalRefs$g.fonts.font1.family,
|
7476
7476
|
|
7477
7477
|
[compVars$4.cursor]: 'pointer',
|
7478
7478
|
[compVars$4.hostHeight]: '3em',
|
7479
7479
|
[compVars$4.hostWidth]: 'auto',
|
7480
|
-
[compVars$4.hostDirection]: globalRefs$
|
7480
|
+
[compVars$4.hostDirection]: globalRefs$g.direction,
|
7481
7481
|
|
7482
|
-
[compVars$4.borderRadius]: globalRefs$
|
7483
|
-
[compVars$4.borderWidth]: globalRefs$
|
7482
|
+
[compVars$4.borderRadius]: globalRefs$g.radius.sm,
|
7483
|
+
[compVars$4.borderWidth]: globalRefs$g.border.xs,
|
7484
7484
|
[compVars$4.borderStyle]: 'solid',
|
7485
7485
|
[compVars$4.borderColor]: 'transparent',
|
7486
7486
|
|
@@ -7516,10 +7516,10 @@ const button = {
|
|
7516
7516
|
},
|
7517
7517
|
|
7518
7518
|
_disabled: {
|
7519
|
-
[helperVars$3.main]: globalRefs$
|
7520
|
-
[helperVars$3.dark]: globalRefs$
|
7521
|
-
[helperVars$3.light]: globalRefs$
|
7522
|
-
[helperVars$3.contrast]: globalRefs$
|
7519
|
+
[helperVars$3.main]: globalRefs$g.colors.surface.main,
|
7520
|
+
[helperVars$3.dark]: globalRefs$g.colors.surface.dark,
|
7521
|
+
[helperVars$3.light]: globalRefs$g.colors.surface.light,
|
7522
|
+
[helperVars$3.contrast]: globalRefs$g.colors.surface.contrast,
|
7523
7523
|
},
|
7524
7524
|
|
7525
7525
|
variant: {
|
@@ -7561,11 +7561,11 @@ const button = {
|
|
7561
7561
|
},
|
7562
7562
|
|
7563
7563
|
_focused: {
|
7564
|
-
[compVars$4.outlineColor]: globalRefs$
|
7564
|
+
[compVars$4.outlineColor]: globalRefs$g.colors.surface.main,
|
7565
7565
|
},
|
7566
7566
|
};
|
7567
7567
|
|
7568
|
-
const vars$
|
7568
|
+
const vars$u = {
|
7569
7569
|
...compVars$4,
|
7570
7570
|
...helperVars$3,
|
7571
7571
|
};
|
@@ -7573,25 +7573,25 @@ const vars$t = {
|
|
7573
7573
|
var button$1 = /*#__PURE__*/Object.freeze({
|
7574
7574
|
__proto__: null,
|
7575
7575
|
default: button,
|
7576
|
-
vars: vars$
|
7576
|
+
vars: vars$u
|
7577
7577
|
});
|
7578
7578
|
|
7579
|
-
const componentName$
|
7580
|
-
const globalRefs$
|
7579
|
+
const componentName$3 = getComponentName('input-wrapper');
|
7580
|
+
const globalRefs$f = getThemeRefs(globals);
|
7581
7581
|
|
7582
|
-
const [theme$1, refs, vars$
|
7582
|
+
const [theme$1, refs, vars$t] = createHelperVars(
|
7583
7583
|
{
|
7584
|
-
labelTextColor: globalRefs$
|
7585
|
-
valueTextColor: globalRefs$
|
7586
|
-
placeholderTextColor: globalRefs$
|
7584
|
+
labelTextColor: globalRefs$f.colors.surface.contrast,
|
7585
|
+
valueTextColor: globalRefs$f.colors.surface.contrast,
|
7586
|
+
placeholderTextColor: globalRefs$f.colors.surface.main,
|
7587
7587
|
requiredIndicator: "'*'",
|
7588
|
-
errorMessageTextColor: globalRefs$
|
7588
|
+
errorMessageTextColor: globalRefs$f.colors.error.main,
|
7589
7589
|
|
7590
|
-
borderWidth: globalRefs$
|
7591
|
-
borderRadius: globalRefs$
|
7590
|
+
borderWidth: globalRefs$f.border.xs,
|
7591
|
+
borderRadius: globalRefs$f.radius.xs,
|
7592
7592
|
borderColor: 'transparent',
|
7593
7593
|
|
7594
|
-
outlineWidth: globalRefs$
|
7594
|
+
outlineWidth: globalRefs$f.border.sm,
|
7595
7595
|
outlineStyle: 'solid',
|
7596
7596
|
outlineColor: 'transparent',
|
7597
7597
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
@@ -7602,11 +7602,11 @@ const [theme$1, refs, vars$s] = createHelperVars(
|
|
7602
7602
|
horizontalPadding: '0.5em',
|
7603
7603
|
verticalPadding: '0.5em',
|
7604
7604
|
|
7605
|
-
backgroundColor: globalRefs$
|
7605
|
+
backgroundColor: globalRefs$f.colors.surface.light,
|
7606
7606
|
|
7607
|
-
fontFamily: globalRefs$
|
7607
|
+
fontFamily: globalRefs$f.fonts.font1.family,
|
7608
7608
|
|
7609
|
-
direction: globalRefs$
|
7609
|
+
direction: globalRefs$f.direction,
|
7610
7610
|
|
7611
7611
|
size: {
|
7612
7612
|
xs: { fontSize: '12px' },
|
@@ -7620,52 +7620,88 @@ const [theme$1, refs, vars$s] = createHelperVars(
|
|
7620
7620
|
},
|
7621
7621
|
|
7622
7622
|
_focused: {
|
7623
|
-
outlineColor: globalRefs$
|
7623
|
+
outlineColor: globalRefs$f.colors.surface.main,
|
7624
7624
|
_invalid: {
|
7625
|
-
outlineColor: globalRefs$
|
7625
|
+
outlineColor: globalRefs$f.colors.error.main,
|
7626
7626
|
},
|
7627
7627
|
},
|
7628
7628
|
|
7629
7629
|
_bordered: {
|
7630
|
-
outlineWidth: globalRefs$
|
7631
|
-
borderColor: globalRefs$
|
7630
|
+
outlineWidth: globalRefs$f.border.xs,
|
7631
|
+
borderColor: globalRefs$f.colors.surface.main,
|
7632
7632
|
borderStyle: 'solid',
|
7633
7633
|
_invalid: {
|
7634
|
-
borderColor: globalRefs$
|
7634
|
+
borderColor: globalRefs$f.colors.error.main,
|
7635
7635
|
},
|
7636
7636
|
},
|
7637
7637
|
|
7638
7638
|
_disabled: {
|
7639
|
-
labelTextColor: globalRefs$
|
7640
|
-
borderColor: globalRefs$
|
7641
|
-
valueTextColor: globalRefs$
|
7642
|
-
placeholderTextColor: globalRefs$
|
7643
|
-
backgroundColor: globalRefs$
|
7639
|
+
labelTextColor: globalRefs$f.colors.surface.main,
|
7640
|
+
borderColor: globalRefs$f.colors.surface.main,
|
7641
|
+
valueTextColor: globalRefs$f.colors.surface.dark,
|
7642
|
+
placeholderTextColor: globalRefs$f.colors.surface.dark,
|
7643
|
+
backgroundColor: globalRefs$f.colors.surface.main,
|
7644
7644
|
},
|
7645
7645
|
},
|
7646
|
-
componentName$
|
7646
|
+
componentName$3
|
7647
7647
|
);
|
7648
7648
|
|
7649
7649
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
7650
7650
|
__proto__: null,
|
7651
7651
|
default: theme$1,
|
7652
7652
|
refs: refs,
|
7653
|
-
vars: vars$
|
7653
|
+
vars: vars$t
|
7654
7654
|
});
|
7655
7655
|
|
7656
|
-
const vars$
|
7656
|
+
const vars$s = TextFieldClass.cssVarList;
|
7657
7657
|
|
7658
7658
|
const textField = {
|
7659
|
+
[vars$s.hostWidth]: refs.width,
|
7660
|
+
[vars$s.hostMinWidth]: refs.minWidth,
|
7661
|
+
[vars$s.hostDirection]: refs.direction,
|
7662
|
+
[vars$s.fontSize]: refs.fontSize,
|
7663
|
+
[vars$s.fontFamily]: refs.fontFamily,
|
7664
|
+
[vars$s.labelTextColor]: refs.labelTextColor,
|
7665
|
+
[vars$s.labelRequiredIndicator]: refs.requiredIndicator,
|
7666
|
+
[vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
|
7667
|
+
[vars$s.inputValueTextColor]: refs.valueTextColor,
|
7668
|
+
[vars$s.inputPlaceholderColor]: refs.placeholderTextColor,
|
7669
|
+
[vars$s.inputBorderWidth]: refs.borderWidth,
|
7670
|
+
[vars$s.inputBorderStyle]: refs.borderStyle,
|
7671
|
+
[vars$s.inputBorderColor]: refs.borderColor,
|
7672
|
+
[vars$s.inputBorderRadius]: refs.borderRadius,
|
7673
|
+
[vars$s.inputOutlineWidth]: refs.outlineWidth,
|
7674
|
+
[vars$s.inputOutlineStyle]: refs.outlineStyle,
|
7675
|
+
[vars$s.inputOutlineColor]: refs.outlineColor,
|
7676
|
+
[vars$s.inputOutlineOffset]: refs.outlineOffset,
|
7677
|
+
[vars$s.inputBackgroundColor]: refs.backgroundColor,
|
7678
|
+
[vars$s.inputHeight]: refs.inputHeight,
|
7679
|
+
[vars$s.inputHorizontalPadding]: refs.horizontalPadding,
|
7680
|
+
};
|
7681
|
+
|
7682
|
+
var textField$1 = /*#__PURE__*/Object.freeze({
|
7683
|
+
__proto__: null,
|
7684
|
+
default: textField,
|
7685
|
+
textField: textField,
|
7686
|
+
vars: vars$s
|
7687
|
+
});
|
7688
|
+
|
7689
|
+
const globalRefs$e = getThemeRefs(globals);
|
7690
|
+
const vars$r = PasswordClass.cssVarList;
|
7691
|
+
|
7692
|
+
const password = {
|
7659
7693
|
[vars$r.hostWidth]: refs.width,
|
7660
|
-
[vars$r.hostMinWidth]: refs.minWidth,
|
7661
7694
|
[vars$r.hostDirection]: refs.direction,
|
7662
7695
|
[vars$r.fontSize]: refs.fontSize,
|
7663
7696
|
[vars$r.fontFamily]: refs.fontFamily,
|
7664
7697
|
[vars$r.labelTextColor]: refs.labelTextColor,
|
7665
|
-
[vars$r.labelRequiredIndicator]: refs.requiredIndicator,
|
7666
7698
|
[vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
|
7699
|
+
[vars$r.inputHorizontalPadding]: refs.horizontalPadding,
|
7700
|
+
[vars$r.inputHeight]: refs.inputHeight,
|
7701
|
+
[vars$r.inputBackgroundColor]: refs.backgroundColor,
|
7702
|
+
[vars$r.labelRequiredIndicator]: refs.requiredIndicator,
|
7667
7703
|
[vars$r.inputValueTextColor]: refs.valueTextColor,
|
7668
|
-
[vars$r.
|
7704
|
+
[vars$r.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
7669
7705
|
[vars$r.inputBorderWidth]: refs.borderWidth,
|
7670
7706
|
[vars$r.inputBorderStyle]: refs.borderStyle,
|
7671
7707
|
[vars$r.inputBorderColor]: refs.borderColor,
|
@@ -7674,34 +7710,28 @@ const textField = {
|
|
7674
7710
|
[vars$r.inputOutlineStyle]: refs.outlineStyle,
|
7675
7711
|
[vars$r.inputOutlineColor]: refs.outlineColor,
|
7676
7712
|
[vars$r.inputOutlineOffset]: refs.outlineOffset,
|
7677
|
-
[vars$r.
|
7678
|
-
[vars$r.
|
7679
|
-
[vars$r.inputHorizontalPadding]: refs.horizontalPadding,
|
7713
|
+
[vars$r.revealButtonOffset]: globalRefs$e.spacing.md,
|
7714
|
+
[vars$r.revealButtonSize]: refs.toggleButtonSize,
|
7680
7715
|
};
|
7681
7716
|
|
7682
|
-
var
|
7717
|
+
var password$1 = /*#__PURE__*/Object.freeze({
|
7683
7718
|
__proto__: null,
|
7684
|
-
default:
|
7685
|
-
textField: textField,
|
7719
|
+
default: password,
|
7686
7720
|
vars: vars$r
|
7687
7721
|
});
|
7688
7722
|
|
7689
|
-
const
|
7690
|
-
const vars$q = PasswordClass.cssVarList;
|
7723
|
+
const vars$q = NumberFieldClass.cssVarList;
|
7691
7724
|
|
7692
|
-
const
|
7725
|
+
const numberField = {
|
7693
7726
|
[vars$q.hostWidth]: refs.width,
|
7727
|
+
[vars$q.hostMinWidth]: refs.minWidth,
|
7694
7728
|
[vars$q.hostDirection]: refs.direction,
|
7695
7729
|
[vars$q.fontSize]: refs.fontSize,
|
7696
7730
|
[vars$q.fontFamily]: refs.fontFamily,
|
7697
7731
|
[vars$q.labelTextColor]: refs.labelTextColor,
|
7698
7732
|
[vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
|
7699
|
-
[vars$q.inputHorizontalPadding]: refs.horizontalPadding,
|
7700
|
-
[vars$q.inputHeight]: refs.inputHeight,
|
7701
|
-
[vars$q.inputBackgroundColor]: refs.backgroundColor,
|
7702
|
-
[vars$q.labelRequiredIndicator]: refs.requiredIndicator,
|
7703
7733
|
[vars$q.inputValueTextColor]: refs.valueTextColor,
|
7704
|
-
[vars$q.
|
7734
|
+
[vars$q.inputPlaceholderColor]: refs.placeholderTextColor,
|
7705
7735
|
[vars$q.inputBorderWidth]: refs.borderWidth,
|
7706
7736
|
[vars$q.inputBorderStyle]: refs.borderStyle,
|
7707
7737
|
[vars$q.inputBorderColor]: refs.borderColor,
|
@@ -7710,19 +7740,21 @@ const password = {
|
|
7710
7740
|
[vars$q.inputOutlineStyle]: refs.outlineStyle,
|
7711
7741
|
[vars$q.inputOutlineColor]: refs.outlineColor,
|
7712
7742
|
[vars$q.inputOutlineOffset]: refs.outlineOffset,
|
7713
|
-
[vars$q.
|
7714
|
-
[vars$q.
|
7743
|
+
[vars$q.inputBackgroundColor]: refs.backgroundColor,
|
7744
|
+
[vars$q.labelRequiredIndicator]: refs.requiredIndicator,
|
7745
|
+
[vars$q.inputHorizontalPadding]: refs.horizontalPadding,
|
7746
|
+
[vars$q.inputHeight]: refs.inputHeight,
|
7715
7747
|
};
|
7716
7748
|
|
7717
|
-
var
|
7749
|
+
var numberField$1 = /*#__PURE__*/Object.freeze({
|
7718
7750
|
__proto__: null,
|
7719
|
-
default:
|
7751
|
+
default: numberField,
|
7720
7752
|
vars: vars$q
|
7721
7753
|
});
|
7722
7754
|
|
7723
|
-
const vars$p =
|
7755
|
+
const vars$p = EmailFieldClass.cssVarList;
|
7724
7756
|
|
7725
|
-
const
|
7757
|
+
const emailField = {
|
7726
7758
|
[vars$p.hostWidth]: refs.width,
|
7727
7759
|
[vars$p.hostMinWidth]: refs.minWidth,
|
7728
7760
|
[vars$p.hostDirection]: refs.direction,
|
@@ -7731,6 +7763,7 @@ const numberField = {
|
|
7731
7763
|
[vars$p.labelTextColor]: refs.labelTextColor,
|
7732
7764
|
[vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
|
7733
7765
|
[vars$p.inputValueTextColor]: refs.valueTextColor,
|
7766
|
+
[vars$p.labelRequiredIndicator]: refs.requiredIndicator,
|
7734
7767
|
[vars$p.inputPlaceholderColor]: refs.placeholderTextColor,
|
7735
7768
|
[vars$p.inputBorderWidth]: refs.borderWidth,
|
7736
7769
|
[vars$p.inputBorderStyle]: refs.borderStyle,
|
@@ -7741,201 +7774,168 @@ const numberField = {
|
|
7741
7774
|
[vars$p.inputOutlineColor]: refs.outlineColor,
|
7742
7775
|
[vars$p.inputOutlineOffset]: refs.outlineOffset,
|
7743
7776
|
[vars$p.inputBackgroundColor]: refs.backgroundColor,
|
7744
|
-
[vars$p.labelRequiredIndicator]: refs.requiredIndicator,
|
7745
7777
|
[vars$p.inputHorizontalPadding]: refs.horizontalPadding,
|
7746
7778
|
[vars$p.inputHeight]: refs.inputHeight,
|
7747
7779
|
};
|
7748
7780
|
|
7749
|
-
var
|
7781
|
+
var emailField$1 = /*#__PURE__*/Object.freeze({
|
7750
7782
|
__proto__: null,
|
7751
|
-
default:
|
7783
|
+
default: emailField,
|
7752
7784
|
vars: vars$p
|
7753
7785
|
});
|
7754
7786
|
|
7755
|
-
const
|
7787
|
+
const globalRefs$d = getThemeRefs(globals);
|
7788
|
+
const vars$o = TextAreaClass.cssVarList;
|
7756
7789
|
|
7757
|
-
const
|
7790
|
+
const textArea = {
|
7758
7791
|
[vars$o.hostWidth]: refs.width,
|
7759
7792
|
[vars$o.hostMinWidth]: refs.minWidth,
|
7760
7793
|
[vars$o.hostDirection]: refs.direction,
|
7761
7794
|
[vars$o.fontSize]: refs.fontSize,
|
7762
7795
|
[vars$o.fontFamily]: refs.fontFamily,
|
7763
7796
|
[vars$o.labelTextColor]: refs.labelTextColor,
|
7797
|
+
[vars$o.labelRequiredIndicator]: refs.requiredIndicator,
|
7764
7798
|
[vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
|
7799
|
+
[vars$o.inputBackgroundColor]: refs.backgroundColor,
|
7765
7800
|
[vars$o.inputValueTextColor]: refs.valueTextColor,
|
7766
|
-
[vars$o.
|
7767
|
-
[vars$o.
|
7801
|
+
[vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
7802
|
+
[vars$o.inputBorderRadius]: refs.borderRadius,
|
7768
7803
|
[vars$o.inputBorderWidth]: refs.borderWidth,
|
7769
7804
|
[vars$o.inputBorderStyle]: refs.borderStyle,
|
7770
7805
|
[vars$o.inputBorderColor]: refs.borderColor,
|
7771
|
-
[vars$o.inputBorderRadius]: refs.borderRadius,
|
7772
7806
|
[vars$o.inputOutlineWidth]: refs.outlineWidth,
|
7773
7807
|
[vars$o.inputOutlineStyle]: refs.outlineStyle,
|
7774
7808
|
[vars$o.inputOutlineColor]: refs.outlineColor,
|
7775
7809
|
[vars$o.inputOutlineOffset]: refs.outlineOffset,
|
7776
|
-
[vars$o.
|
7777
|
-
[vars$o.
|
7778
|
-
|
7810
|
+
[vars$o.inputResizeType]: 'vertical',
|
7811
|
+
[vars$o.inputMinHeight]: '5em',
|
7812
|
+
|
7813
|
+
_disabled: {
|
7814
|
+
[vars$o.inputBackgroundColor]: globalRefs$d.colors.surface.light,
|
7815
|
+
},
|
7816
|
+
|
7817
|
+
_readonly: {
|
7818
|
+
[vars$o.inputResizeType]: 'none',
|
7819
|
+
},
|
7779
7820
|
};
|
7780
7821
|
|
7781
|
-
var
|
7822
|
+
var textArea$1 = /*#__PURE__*/Object.freeze({
|
7782
7823
|
__proto__: null,
|
7783
|
-
default:
|
7824
|
+
default: textArea,
|
7784
7825
|
vars: vars$o
|
7785
7826
|
});
|
7786
7827
|
|
7787
|
-
const
|
7788
|
-
const
|
7828
|
+
const vars$n = CheckboxClass.cssVarList;
|
7829
|
+
const checkboxSize = '1.35em';
|
7789
7830
|
|
7790
|
-
const
|
7831
|
+
const checkbox = {
|
7791
7832
|
[vars$n.hostWidth]: refs.width,
|
7792
|
-
[vars$n.hostMinWidth]: refs.minWidth,
|
7793
7833
|
[vars$n.hostDirection]: refs.direction,
|
7794
7834
|
[vars$n.fontSize]: refs.fontSize,
|
7795
7835
|
[vars$n.fontFamily]: refs.fontFamily,
|
7796
7836
|
[vars$n.labelTextColor]: refs.labelTextColor,
|
7797
7837
|
[vars$n.labelRequiredIndicator]: refs.requiredIndicator,
|
7838
|
+
[vars$n.labelFontWeight]: '400',
|
7839
|
+
[vars$n.labelLineHeight]: checkboxSize,
|
7840
|
+
[vars$n.labelSpacing]: '1em',
|
7798
7841
|
[vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
|
7799
|
-
[vars$n.
|
7800
|
-
[vars$n.
|
7801
|
-
[vars$n.
|
7842
|
+
[vars$n.inputOutlineWidth]: refs.outlineWidth,
|
7843
|
+
[vars$n.inputOutlineOffset]: refs.outlineOffset,
|
7844
|
+
[vars$n.inputOutlineColor]: refs.outlineColor,
|
7845
|
+
[vars$n.inputOutlineStyle]: refs.outlineStyle,
|
7802
7846
|
[vars$n.inputBorderRadius]: refs.borderRadius,
|
7847
|
+
[vars$n.inputBorderColor]: refs.borderColor,
|
7803
7848
|
[vars$n.inputBorderWidth]: refs.borderWidth,
|
7804
7849
|
[vars$n.inputBorderStyle]: refs.borderStyle,
|
7805
|
-
[vars$n.
|
7806
|
-
[vars$n.
|
7807
|
-
[vars$n.inputOutlineStyle]: refs.outlineStyle,
|
7808
|
-
[vars$n.inputOutlineColor]: refs.outlineColor,
|
7809
|
-
[vars$n.inputOutlineOffset]: refs.outlineOffset,
|
7810
|
-
[vars$n.inputResizeType]: 'vertical',
|
7811
|
-
[vars$n.inputMinHeight]: '5em',
|
7850
|
+
[vars$n.inputBackgroundColor]: refs.backgroundColor,
|
7851
|
+
[vars$n.inputSize]: checkboxSize,
|
7812
7852
|
|
7813
|
-
|
7814
|
-
[vars$n.
|
7853
|
+
_checked: {
|
7854
|
+
[vars$n.inputValueTextColor]: refs.valueTextColor,
|
7815
7855
|
},
|
7816
7856
|
|
7817
|
-
|
7818
|
-
[vars$n.
|
7857
|
+
_disabled: {
|
7858
|
+
[vars$n.labelTextColor]: refs.labelTextColor,
|
7819
7859
|
},
|
7820
7860
|
};
|
7821
7861
|
|
7822
|
-
var
|
7862
|
+
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
7823
7863
|
__proto__: null,
|
7824
|
-
default:
|
7864
|
+
default: checkbox,
|
7825
7865
|
vars: vars$n
|
7826
7866
|
});
|
7827
7867
|
|
7828
|
-
const
|
7829
|
-
const
|
7868
|
+
const knobMargin = '2px';
|
7869
|
+
const checkboxHeight = '1.25em';
|
7830
7870
|
|
7831
|
-
const
|
7871
|
+
const globalRefs$c = getThemeRefs(globals);
|
7872
|
+
const vars$m = SwitchToggleClass.cssVarList;
|
7873
|
+
|
7874
|
+
const switchToggle = {
|
7832
7875
|
[vars$m.hostWidth]: refs.width,
|
7833
7876
|
[vars$m.hostDirection]: refs.direction,
|
7834
7877
|
[vars$m.fontSize]: refs.fontSize,
|
7835
7878
|
[vars$m.fontFamily]: refs.fontFamily,
|
7836
|
-
|
7837
|
-
[vars$m.labelRequiredIndicator]: refs.requiredIndicator,
|
7838
|
-
[vars$m.labelFontWeight]: '400',
|
7839
|
-
[vars$m.labelLineHeight]: checkboxSize,
|
7840
|
-
[vars$m.labelSpacing]: '1em',
|
7841
|
-
[vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
|
7879
|
+
|
7842
7880
|
[vars$m.inputOutlineWidth]: refs.outlineWidth,
|
7843
7881
|
[vars$m.inputOutlineOffset]: refs.outlineOffset,
|
7844
7882
|
[vars$m.inputOutlineColor]: refs.outlineColor,
|
7845
7883
|
[vars$m.inputOutlineStyle]: refs.outlineStyle,
|
7846
|
-
[vars$m.inputBorderRadius]: refs.borderRadius,
|
7847
|
-
[vars$m.inputBorderColor]: refs.borderColor,
|
7848
|
-
[vars$m.inputBorderWidth]: refs.borderWidth,
|
7849
|
-
[vars$m.inputBorderStyle]: refs.borderStyle,
|
7850
|
-
[vars$m.inputBackgroundColor]: refs.backgroundColor,
|
7851
|
-
[vars$m.inputSize]: checkboxSize,
|
7852
|
-
|
7853
|
-
_checked: {
|
7854
|
-
[vars$m.inputValueTextColor]: refs.valueTextColor,
|
7855
|
-
},
|
7856
7884
|
|
7857
|
-
|
7858
|
-
|
7859
|
-
|
7860
|
-
|
7885
|
+
[vars$m.trackBorderStyle]: refs.borderStyle,
|
7886
|
+
[vars$m.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
7887
|
+
[vars$m.trackBorderColor]: refs.borderColor,
|
7888
|
+
[vars$m.trackBackgroundColor]: 'none',
|
7889
|
+
[vars$m.trackBorderRadius]: globalRefs$c.radius.md,
|
7890
|
+
[vars$m.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
7891
|
+
[vars$m.trackHeight]: checkboxHeight,
|
7892
|
+
|
7893
|
+
[vars$m.knobSize]: `calc(1em - ${knobMargin})`,
|
7894
|
+
[vars$m.knobRadius]: '50%',
|
7895
|
+
[vars$m.knobTopOffset]: '1px',
|
7896
|
+
[vars$m.knobLeftOffset]: knobMargin,
|
7897
|
+
[vars$m.knobColor]: refs.valueTextColor,
|
7898
|
+
[vars$m.knobTransitionDuration]: '0.3s',
|
7861
7899
|
|
7862
|
-
|
7863
|
-
|
7864
|
-
|
7865
|
-
vars:
|
7866
|
-
|
7867
|
-
|
7868
|
-
const knobMargin = '2px';
|
7869
|
-
const checkboxHeight = '1.25em';
|
7870
|
-
|
7871
|
-
const globalRefs$b = getThemeRefs(globals);
|
7872
|
-
const vars$l = SwitchToggleClass.cssVarList;
|
7873
|
-
|
7874
|
-
const switchToggle = {
|
7875
|
-
[vars$l.hostWidth]: refs.width,
|
7876
|
-
[vars$l.hostDirection]: refs.direction,
|
7877
|
-
[vars$l.fontSize]: refs.fontSize,
|
7878
|
-
[vars$l.fontFamily]: refs.fontFamily,
|
7879
|
-
|
7880
|
-
[vars$l.inputOutlineWidth]: refs.outlineWidth,
|
7881
|
-
[vars$l.inputOutlineOffset]: refs.outlineOffset,
|
7882
|
-
[vars$l.inputOutlineColor]: refs.outlineColor,
|
7883
|
-
[vars$l.inputOutlineStyle]: refs.outlineStyle,
|
7884
|
-
|
7885
|
-
[vars$l.trackBorderStyle]: refs.borderStyle,
|
7886
|
-
[vars$l.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
7887
|
-
[vars$l.trackBorderColor]: refs.borderColor,
|
7888
|
-
[vars$l.trackBackgroundColor]: 'none',
|
7889
|
-
[vars$l.trackBorderRadius]: globalRefs$b.radius.md,
|
7890
|
-
[vars$l.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
7891
|
-
[vars$l.trackHeight]: checkboxHeight,
|
7892
|
-
|
7893
|
-
[vars$l.knobSize]: `calc(1em - ${knobMargin})`,
|
7894
|
-
[vars$l.knobRadius]: '50%',
|
7895
|
-
[vars$l.knobTopOffset]: '1px',
|
7896
|
-
[vars$l.knobLeftOffset]: knobMargin,
|
7897
|
-
[vars$l.knobColor]: refs.valueTextColor,
|
7898
|
-
[vars$l.knobTransitionDuration]: '0.3s',
|
7899
|
-
|
7900
|
-
[vars$l.labelTextColor]: refs.labelTextColor,
|
7901
|
-
[vars$l.labelFontWeight]: '400',
|
7902
|
-
[vars$l.labelLineHeight]: '1.35em',
|
7903
|
-
[vars$l.labelSpacing]: '1em',
|
7904
|
-
[vars$l.labelRequiredIndicator]: refs.requiredIndicator,
|
7905
|
-
[vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
|
7900
|
+
[vars$m.labelTextColor]: refs.labelTextColor,
|
7901
|
+
[vars$m.labelFontWeight]: '400',
|
7902
|
+
[vars$m.labelLineHeight]: '1.35em',
|
7903
|
+
[vars$m.labelSpacing]: '1em',
|
7904
|
+
[vars$m.labelRequiredIndicator]: refs.requiredIndicator,
|
7905
|
+
[vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
|
7906
7906
|
|
7907
7907
|
_checked: {
|
7908
|
-
[vars$
|
7909
|
-
[vars$
|
7910
|
-
[vars$
|
7911
|
-
[vars$
|
7912
|
-
[vars$
|
7908
|
+
[vars$m.trackBorderColor]: refs.borderColor,
|
7909
|
+
[vars$m.trackBackgroundColor]: refs.backgroundColor,
|
7910
|
+
[vars$m.knobLeftOffset]: `calc(100% - var(${vars$m.knobSize}) - ${knobMargin})`,
|
7911
|
+
[vars$m.knobColor]: refs.valueTextColor,
|
7912
|
+
[vars$m.knobTextColor]: refs.valueTextColor,
|
7913
7913
|
},
|
7914
7914
|
|
7915
7915
|
_disabled: {
|
7916
|
-
[vars$
|
7917
|
-
[vars$
|
7918
|
-
[vars$
|
7919
|
-
[vars$
|
7916
|
+
[vars$m.knobColor]: globalRefs$c.colors.surface.light,
|
7917
|
+
[vars$m.trackBorderColor]: globalRefs$c.colors.surface.main,
|
7918
|
+
[vars$m.trackBackgroundColor]: globalRefs$c.colors.surface.main,
|
7919
|
+
[vars$m.labelTextColor]: refs.labelTextColor,
|
7920
7920
|
_checked: {
|
7921
|
-
[vars$
|
7922
|
-
[vars$
|
7921
|
+
[vars$m.knobColor]: globalRefs$c.colors.surface.light,
|
7922
|
+
[vars$m.trackBackgroundColor]: globalRefs$c.colors.surface.main,
|
7923
7923
|
},
|
7924
7924
|
},
|
7925
7925
|
|
7926
7926
|
_invalid: {
|
7927
|
-
[vars$
|
7928
|
-
[vars$
|
7927
|
+
[vars$m.trackBorderColor]: globalRefs$c.colors.error.main,
|
7928
|
+
[vars$m.knobColor]: globalRefs$c.colors.error.main,
|
7929
7929
|
},
|
7930
7930
|
};
|
7931
7931
|
|
7932
7932
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
7933
7933
|
__proto__: null,
|
7934
7934
|
default: switchToggle,
|
7935
|
-
vars: vars$
|
7935
|
+
vars: vars$m
|
7936
7936
|
});
|
7937
7937
|
|
7938
|
-
const globalRefs$
|
7938
|
+
const globalRefs$b = getThemeRefs(globals);
|
7939
7939
|
|
7940
7940
|
const compVars$3 = ContainerClass.cssVarList;
|
7941
7941
|
|
@@ -7957,7 +7957,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
7957
7957
|
horizontalAlignment,
|
7958
7958
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
7959
7959
|
},
|
7960
|
-
componentName$
|
7960
|
+
componentName$x
|
7961
7961
|
);
|
7962
7962
|
|
7963
7963
|
const { shadowColor: shadowColor$1 } = helperRefs$2;
|
@@ -7967,8 +7967,8 @@ const container = {
|
|
7967
7967
|
|
7968
7968
|
[compVars$3.hostWidth]: '100%',
|
7969
7969
|
[compVars$3.boxShadow]: 'none',
|
7970
|
-
[compVars$3.backgroundColor]: globalRefs$
|
7971
|
-
[compVars$3.color]: globalRefs$
|
7970
|
+
[compVars$3.backgroundColor]: globalRefs$b.colors.surface.light,
|
7971
|
+
[compVars$3.color]: globalRefs$b.colors.surface.contrast,
|
7972
7972
|
[compVars$3.borderRadius]: '0px',
|
7973
7973
|
|
7974
7974
|
verticalPadding: {
|
@@ -8015,34 +8015,34 @@ const container = {
|
|
8015
8015
|
|
8016
8016
|
shadow: {
|
8017
8017
|
sm: {
|
8018
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
8018
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.sm} ${shadowColor$1}`,
|
8019
8019
|
},
|
8020
8020
|
md: {
|
8021
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
8021
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.md} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.md} ${shadowColor$1}`,
|
8022
8022
|
},
|
8023
8023
|
lg: {
|
8024
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
8024
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.lg} ${shadowColor$1}`,
|
8025
8025
|
},
|
8026
8026
|
xl: {
|
8027
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
8027
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.xl} ${shadowColor$1}`,
|
8028
8028
|
},
|
8029
8029
|
'2xl': {
|
8030
8030
|
[helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
8031
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
8031
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide['2xl']} ${shadowColor$1}`,
|
8032
8032
|
},
|
8033
8033
|
},
|
8034
8034
|
|
8035
8035
|
borderRadius: {
|
8036
|
-
sm: { [compVars$3.borderRadius]: globalRefs$
|
8037
|
-
md: { [compVars$3.borderRadius]: globalRefs$
|
8038
|
-
lg: { [compVars$3.borderRadius]: globalRefs$
|
8039
|
-
xl: { [compVars$3.borderRadius]: globalRefs$
|
8040
|
-
'2xl': { [compVars$3.borderRadius]: globalRefs$
|
8041
|
-
'3xl': { [compVars$3.borderRadius]: globalRefs$
|
8036
|
+
sm: { [compVars$3.borderRadius]: globalRefs$b.radius.sm },
|
8037
|
+
md: { [compVars$3.borderRadius]: globalRefs$b.radius.md },
|
8038
|
+
lg: { [compVars$3.borderRadius]: globalRefs$b.radius.lg },
|
8039
|
+
xl: { [compVars$3.borderRadius]: globalRefs$b.radius.xl },
|
8040
|
+
'2xl': { [compVars$3.borderRadius]: globalRefs$b.radius['2xl'] },
|
8041
|
+
'3xl': { [compVars$3.borderRadius]: globalRefs$b.radius['3xl'] },
|
8042
8042
|
},
|
8043
8043
|
};
|
8044
8044
|
|
8045
|
-
const vars$
|
8045
|
+
const vars$l = {
|
8046
8046
|
...compVars$3,
|
8047
8047
|
...helperVars$2,
|
8048
8048
|
};
|
@@ -8050,154 +8050,154 @@ const vars$k = {
|
|
8050
8050
|
var container$1 = /*#__PURE__*/Object.freeze({
|
8051
8051
|
__proto__: null,
|
8052
8052
|
default: container,
|
8053
|
-
vars: vars$
|
8053
|
+
vars: vars$l
|
8054
8054
|
});
|
8055
8055
|
|
8056
|
-
const vars$
|
8056
|
+
const vars$k = LogoClass.cssVarList;
|
8057
8057
|
|
8058
8058
|
const logo$1 = {
|
8059
|
-
[vars$
|
8059
|
+
[vars$k.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
8060
8060
|
};
|
8061
8061
|
|
8062
8062
|
var logo$2 = /*#__PURE__*/Object.freeze({
|
8063
8063
|
__proto__: null,
|
8064
8064
|
default: logo$1,
|
8065
|
-
vars: vars$
|
8065
|
+
vars: vars$k
|
8066
8066
|
});
|
8067
8067
|
|
8068
|
-
const vars$
|
8068
|
+
const vars$j = TotpImageClass.cssVarList;
|
8069
8069
|
|
8070
8070
|
const logo = {
|
8071
|
-
[vars$
|
8071
|
+
[vars$j.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
8072
8072
|
};
|
8073
8073
|
|
8074
8074
|
var totpImage = /*#__PURE__*/Object.freeze({
|
8075
8075
|
__proto__: null,
|
8076
8076
|
default: logo,
|
8077
|
-
vars: vars$
|
8077
|
+
vars: vars$j
|
8078
8078
|
});
|
8079
8079
|
|
8080
|
-
const globalRefs$
|
8081
|
-
const vars$
|
8080
|
+
const globalRefs$a = getThemeRefs(globals);
|
8081
|
+
const vars$i = TextClass.cssVarList;
|
8082
8082
|
|
8083
8083
|
const text = {
|
8084
|
-
[vars$
|
8085
|
-
[vars$
|
8086
|
-
[vars$
|
8087
|
-
[vars$
|
8084
|
+
[vars$i.hostDirection]: globalRefs$a.direction,
|
8085
|
+
[vars$i.textLineHeight]: '1.35em',
|
8086
|
+
[vars$i.textAlign]: 'left',
|
8087
|
+
[vars$i.textColor]: globalRefs$a.colors.surface.dark,
|
8088
8088
|
variant: {
|
8089
8089
|
h1: {
|
8090
|
-
[vars$
|
8091
|
-
[vars$
|
8092
|
-
[vars$
|
8090
|
+
[vars$i.fontSize]: globalRefs$a.typography.h1.size,
|
8091
|
+
[vars$i.fontWeight]: globalRefs$a.typography.h1.weight,
|
8092
|
+
[vars$i.fontFamily]: globalRefs$a.typography.h1.font,
|
8093
8093
|
},
|
8094
8094
|
h2: {
|
8095
|
-
[vars$
|
8096
|
-
[vars$
|
8097
|
-
[vars$
|
8095
|
+
[vars$i.fontSize]: globalRefs$a.typography.h2.size,
|
8096
|
+
[vars$i.fontWeight]: globalRefs$a.typography.h2.weight,
|
8097
|
+
[vars$i.fontFamily]: globalRefs$a.typography.h2.font,
|
8098
8098
|
},
|
8099
8099
|
h3: {
|
8100
|
-
[vars$
|
8101
|
-
[vars$
|
8102
|
-
[vars$
|
8100
|
+
[vars$i.fontSize]: globalRefs$a.typography.h3.size,
|
8101
|
+
[vars$i.fontWeight]: globalRefs$a.typography.h3.weight,
|
8102
|
+
[vars$i.fontFamily]: globalRefs$a.typography.h3.font,
|
8103
8103
|
},
|
8104
8104
|
subtitle1: {
|
8105
|
-
[vars$
|
8106
|
-
[vars$
|
8107
|
-
[vars$
|
8105
|
+
[vars$i.fontSize]: globalRefs$a.typography.subtitle1.size,
|
8106
|
+
[vars$i.fontWeight]: globalRefs$a.typography.subtitle1.weight,
|
8107
|
+
[vars$i.fontFamily]: globalRefs$a.typography.subtitle1.font,
|
8108
8108
|
},
|
8109
8109
|
subtitle2: {
|
8110
|
-
[vars$
|
8111
|
-
[vars$
|
8112
|
-
[vars$
|
8110
|
+
[vars$i.fontSize]: globalRefs$a.typography.subtitle2.size,
|
8111
|
+
[vars$i.fontWeight]: globalRefs$a.typography.subtitle2.weight,
|
8112
|
+
[vars$i.fontFamily]: globalRefs$a.typography.subtitle2.font,
|
8113
8113
|
},
|
8114
8114
|
body1: {
|
8115
|
-
[vars$
|
8116
|
-
[vars$
|
8117
|
-
[vars$
|
8115
|
+
[vars$i.fontSize]: globalRefs$a.typography.body1.size,
|
8116
|
+
[vars$i.fontWeight]: globalRefs$a.typography.body1.weight,
|
8117
|
+
[vars$i.fontFamily]: globalRefs$a.typography.body1.font,
|
8118
8118
|
},
|
8119
8119
|
body2: {
|
8120
|
-
[vars$
|
8121
|
-
[vars$
|
8122
|
-
[vars$
|
8120
|
+
[vars$i.fontSize]: globalRefs$a.typography.body2.size,
|
8121
|
+
[vars$i.fontWeight]: globalRefs$a.typography.body2.weight,
|
8122
|
+
[vars$i.fontFamily]: globalRefs$a.typography.body2.font,
|
8123
8123
|
},
|
8124
8124
|
},
|
8125
8125
|
|
8126
8126
|
mode: {
|
8127
8127
|
primary: {
|
8128
|
-
[vars$
|
8128
|
+
[vars$i.textColor]: globalRefs$a.colors.primary.main,
|
8129
8129
|
},
|
8130
8130
|
secondary: {
|
8131
|
-
[vars$
|
8131
|
+
[vars$i.textColor]: globalRefs$a.colors.secondary.main,
|
8132
8132
|
},
|
8133
8133
|
error: {
|
8134
|
-
[vars$
|
8134
|
+
[vars$i.textColor]: globalRefs$a.colors.error.main,
|
8135
8135
|
},
|
8136
8136
|
success: {
|
8137
|
-
[vars$
|
8137
|
+
[vars$i.textColor]: globalRefs$a.colors.success.main,
|
8138
8138
|
},
|
8139
8139
|
},
|
8140
8140
|
|
8141
8141
|
textAlign: {
|
8142
|
-
right: { [vars$
|
8143
|
-
left: { [vars$
|
8144
|
-
center: { [vars$
|
8142
|
+
right: { [vars$i.textAlign]: 'right' },
|
8143
|
+
left: { [vars$i.textAlign]: 'left' },
|
8144
|
+
center: { [vars$i.textAlign]: 'center' },
|
8145
8145
|
},
|
8146
8146
|
|
8147
8147
|
_fullWidth: {
|
8148
|
-
[vars$
|
8148
|
+
[vars$i.hostWidth]: '100%',
|
8149
8149
|
},
|
8150
8150
|
|
8151
8151
|
_italic: {
|
8152
|
-
[vars$
|
8152
|
+
[vars$i.fontStyle]: 'italic',
|
8153
8153
|
},
|
8154
8154
|
|
8155
8155
|
_uppercase: {
|
8156
|
-
[vars$
|
8156
|
+
[vars$i.textTransform]: 'uppercase',
|
8157
8157
|
},
|
8158
8158
|
|
8159
8159
|
_lowercase: {
|
8160
|
-
[vars$
|
8160
|
+
[vars$i.textTransform]: 'lowercase',
|
8161
8161
|
},
|
8162
8162
|
};
|
8163
8163
|
|
8164
8164
|
var text$1 = /*#__PURE__*/Object.freeze({
|
8165
8165
|
__proto__: null,
|
8166
8166
|
default: text,
|
8167
|
-
vars: vars$
|
8167
|
+
vars: vars$i
|
8168
8168
|
});
|
8169
8169
|
|
8170
|
-
const globalRefs$
|
8171
|
-
const vars$
|
8170
|
+
const globalRefs$9 = getThemeRefs(globals);
|
8171
|
+
const vars$h = LinkClass.cssVarList;
|
8172
8172
|
|
8173
8173
|
const link = {
|
8174
|
-
[vars$
|
8175
|
-
[vars$
|
8174
|
+
[vars$h.hostDirection]: globalRefs$9.direction,
|
8175
|
+
[vars$h.cursor]: 'pointer',
|
8176
8176
|
|
8177
|
-
[vars$
|
8177
|
+
[vars$h.textColor]: globalRefs$9.colors.primary.main,
|
8178
8178
|
|
8179
8179
|
textAlign: {
|
8180
|
-
right: { [vars$
|
8181
|
-
left: { [vars$
|
8182
|
-
center: { [vars$
|
8180
|
+
right: { [vars$h.textAlign]: 'right' },
|
8181
|
+
left: { [vars$h.textAlign]: 'left' },
|
8182
|
+
center: { [vars$h.textAlign]: 'center' },
|
8183
8183
|
},
|
8184
8184
|
|
8185
8185
|
_fullWidth: {
|
8186
|
-
[vars$
|
8186
|
+
[vars$h.hostWidth]: '100%',
|
8187
8187
|
},
|
8188
8188
|
|
8189
8189
|
mode: {
|
8190
8190
|
primary: {
|
8191
|
-
[vars$
|
8191
|
+
[vars$h.textColor]: globalRefs$9.colors.primary.main,
|
8192
8192
|
},
|
8193
8193
|
secondary: {
|
8194
|
-
[vars$
|
8194
|
+
[vars$h.textColor]: globalRefs$9.colors.secondary.main,
|
8195
8195
|
},
|
8196
8196
|
error: {
|
8197
|
-
[vars$
|
8197
|
+
[vars$h.textColor]: globalRefs$9.colors.error.main,
|
8198
8198
|
},
|
8199
8199
|
success: {
|
8200
|
-
[vars$
|
8200
|
+
[vars$h.textColor]: globalRefs$9.colors.success.main,
|
8201
8201
|
},
|
8202
8202
|
},
|
8203
8203
|
};
|
@@ -8205,10 +8205,10 @@ const link = {
|
|
8205
8205
|
var link$1 = /*#__PURE__*/Object.freeze({
|
8206
8206
|
__proto__: null,
|
8207
8207
|
default: link,
|
8208
|
-
vars: vars$
|
8208
|
+
vars: vars$h
|
8209
8209
|
});
|
8210
8210
|
|
8211
|
-
const globalRefs$
|
8211
|
+
const globalRefs$8 = getThemeRefs(globals);
|
8212
8212
|
const compVars$2 = DividerClass.cssVarList;
|
8213
8213
|
|
8214
8214
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
@@ -8216,18 +8216,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
8216
8216
|
thickness: '2px',
|
8217
8217
|
spacing: '10px',
|
8218
8218
|
},
|
8219
|
-
componentName$
|
8219
|
+
componentName$v
|
8220
8220
|
);
|
8221
8221
|
|
8222
8222
|
const divider = {
|
8223
8223
|
...helperTheme$1,
|
8224
8224
|
|
8225
|
-
[compVars$2.hostDirection]: globalRefs$
|
8225
|
+
[compVars$2.hostDirection]: globalRefs$8.direction,
|
8226
8226
|
[compVars$2.alignItems]: 'center',
|
8227
8227
|
[compVars$2.flexDirection]: 'row',
|
8228
8228
|
[compVars$2.alignSelf]: 'stretch',
|
8229
8229
|
[compVars$2.hostWidth]: '100%',
|
8230
|
-
[compVars$2.stripeColor]: globalRefs$
|
8230
|
+
[compVars$2.stripeColor]: globalRefs$8.colors.surface.main,
|
8231
8231
|
[compVars$2.stripeColorOpacity]: '0.5',
|
8232
8232
|
[compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
|
8233
8233
|
[compVars$2.labelTextWidth]: 'fit-content',
|
@@ -8247,7 +8247,7 @@ const divider = {
|
|
8247
8247
|
},
|
8248
8248
|
};
|
8249
8249
|
|
8250
|
-
const vars$
|
8250
|
+
const vars$g = {
|
8251
8251
|
...compVars$2,
|
8252
8252
|
...helperVars$1,
|
8253
8253
|
};
|
@@ -8255,100 +8255,100 @@ const vars$f = {
|
|
8255
8255
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
8256
8256
|
__proto__: null,
|
8257
8257
|
default: divider,
|
8258
|
-
vars: vars$
|
8258
|
+
vars: vars$g
|
8259
8259
|
});
|
8260
8260
|
|
8261
|
-
const vars$
|
8261
|
+
const vars$f = PasscodeClass.cssVarList;
|
8262
8262
|
|
8263
8263
|
const passcode = {
|
8264
|
-
[vars$
|
8265
|
-
[vars$
|
8266
|
-
[vars$
|
8267
|
-
[vars$
|
8268
|
-
[vars$
|
8269
|
-
[vars$
|
8270
|
-
[vars$
|
8271
|
-
[vars$
|
8272
|
-
[vars$
|
8273
|
-
[vars$
|
8274
|
-
[vars$
|
8275
|
-
[vars$
|
8276
|
-
[vars$
|
8277
|
-
[vars$
|
8278
|
-
[vars$
|
8264
|
+
[vars$f.hostDirection]: refs.direction,
|
8265
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
8266
|
+
[vars$f.fontSize]: refs.fontSize,
|
8267
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
8268
|
+
[vars$f.labelRequiredIndicator]: refs.requiredIndicator,
|
8269
|
+
[vars$f.errorMessageTextColor]: refs.errorMessageTextColor,
|
8270
|
+
[vars$f.digitValueTextColor]: refs.valueTextColor,
|
8271
|
+
[vars$f.digitPadding]: '0',
|
8272
|
+
[vars$f.digitTextAlign]: 'center',
|
8273
|
+
[vars$f.digitSpacing]: '4px',
|
8274
|
+
[vars$f.hostWidth]: refs.width,
|
8275
|
+
[vars$f.digitOutlineColor]: 'transparent',
|
8276
|
+
[vars$f.digitOutlineWidth]: refs.outlineWidth,
|
8277
|
+
[vars$f.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
8278
|
+
[vars$f.digitSize]: refs.inputHeight,
|
8279
8279
|
|
8280
8280
|
_hideCursor: {
|
8281
|
-
[vars$
|
8281
|
+
[vars$f.digitCaretTextColor]: 'transparent',
|
8282
8282
|
},
|
8283
8283
|
};
|
8284
8284
|
|
8285
8285
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
8286
8286
|
__proto__: null,
|
8287
8287
|
default: passcode,
|
8288
|
-
vars: vars$
|
8288
|
+
vars: vars$f
|
8289
8289
|
});
|
8290
8290
|
|
8291
|
-
const globalRefs$
|
8292
|
-
const vars$
|
8291
|
+
const globalRefs$7 = getThemeRefs(globals);
|
8292
|
+
const vars$e = LoaderLinearClass.cssVarList;
|
8293
8293
|
|
8294
8294
|
const loaderLinear = {
|
8295
|
-
[vars$
|
8296
|
-
[vars$
|
8295
|
+
[vars$e.hostDisplay]: 'inline-block',
|
8296
|
+
[vars$e.hostWidth]: '100%',
|
8297
8297
|
|
8298
|
-
[vars$
|
8299
|
-
[vars$
|
8298
|
+
[vars$e.barColor]: globalRefs$7.colors.surface.contrast,
|
8299
|
+
[vars$e.barWidth]: '20%',
|
8300
8300
|
|
8301
|
-
[vars$
|
8302
|
-
[vars$
|
8301
|
+
[vars$e.barBackgroundColor]: globalRefs$7.colors.surface.main,
|
8302
|
+
[vars$e.barBorderRadius]: '4px',
|
8303
8303
|
|
8304
|
-
[vars$
|
8305
|
-
[vars$
|
8306
|
-
[vars$
|
8307
|
-
[vars$
|
8304
|
+
[vars$e.animationDuration]: '2s',
|
8305
|
+
[vars$e.animationTimingFunction]: 'linear',
|
8306
|
+
[vars$e.animationIterationCount]: 'infinite',
|
8307
|
+
[vars$e.verticalPadding]: '0.25em',
|
8308
8308
|
|
8309
8309
|
size: {
|
8310
|
-
xs: { [vars$
|
8311
|
-
sm: { [vars$
|
8312
|
-
md: { [vars$
|
8313
|
-
lg: { [vars$
|
8310
|
+
xs: { [vars$e.barHeight]: '2px' },
|
8311
|
+
sm: { [vars$e.barHeight]: '4px' },
|
8312
|
+
md: { [vars$e.barHeight]: '6px' },
|
8313
|
+
lg: { [vars$e.barHeight]: '8px' },
|
8314
8314
|
},
|
8315
8315
|
|
8316
8316
|
mode: {
|
8317
8317
|
primary: {
|
8318
|
-
[vars$
|
8318
|
+
[vars$e.barColor]: globalRefs$7.colors.primary.main,
|
8319
8319
|
},
|
8320
8320
|
secondary: {
|
8321
|
-
[vars$
|
8321
|
+
[vars$e.barColor]: globalRefs$7.colors.secondary.main,
|
8322
8322
|
},
|
8323
8323
|
},
|
8324
8324
|
|
8325
8325
|
_hidden: {
|
8326
|
-
[vars$
|
8326
|
+
[vars$e.hostDisplay]: 'none',
|
8327
8327
|
},
|
8328
8328
|
};
|
8329
8329
|
|
8330
8330
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
8331
8331
|
__proto__: null,
|
8332
8332
|
default: loaderLinear,
|
8333
|
-
vars: vars$
|
8333
|
+
vars: vars$e
|
8334
8334
|
});
|
8335
8335
|
|
8336
|
-
const globalRefs$
|
8336
|
+
const globalRefs$6 = getThemeRefs(globals);
|
8337
8337
|
const compVars$1 = LoaderRadialClass.cssVarList;
|
8338
8338
|
|
8339
8339
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
8340
8340
|
{
|
8341
|
-
spinnerColor: globalRefs$
|
8341
|
+
spinnerColor: globalRefs$6.colors.surface.contrast,
|
8342
8342
|
mode: {
|
8343
8343
|
primary: {
|
8344
|
-
spinnerColor: globalRefs$
|
8344
|
+
spinnerColor: globalRefs$6.colors.primary.main,
|
8345
8345
|
},
|
8346
8346
|
secondary: {
|
8347
|
-
spinnerColor: globalRefs$
|
8347
|
+
spinnerColor: globalRefs$6.colors.secondary.main,
|
8348
8348
|
},
|
8349
8349
|
},
|
8350
8350
|
},
|
8351
|
-
componentName$
|
8351
|
+
componentName$y
|
8352
8352
|
);
|
8353
8353
|
|
8354
8354
|
const loaderRadial = {
|
@@ -8377,7 +8377,7 @@ const loaderRadial = {
|
|
8377
8377
|
[compVars$1.hostDisplay]: 'none',
|
8378
8378
|
},
|
8379
8379
|
};
|
8380
|
-
const vars$
|
8380
|
+
const vars$d = {
|
8381
8381
|
...compVars$1,
|
8382
8382
|
...helperVars,
|
8383
8383
|
};
|
@@ -8385,76 +8385,112 @@ const vars$c = {
|
|
8385
8385
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
8386
8386
|
__proto__: null,
|
8387
8387
|
default: loaderRadial,
|
8388
|
-
vars: vars$
|
8388
|
+
vars: vars$d
|
8389
8389
|
});
|
8390
8390
|
|
8391
|
-
const globalRefs$
|
8392
|
-
const vars$
|
8391
|
+
const globalRefs$5 = getThemeRefs(globals);
|
8392
|
+
const vars$c = ComboBoxClass.cssVarList;
|
8393
8393
|
|
8394
8394
|
const comboBox = {
|
8395
|
-
[vars$
|
8396
|
-
[vars$
|
8397
|
-
[vars$
|
8398
|
-
[vars$
|
8399
|
-
[vars$
|
8400
|
-
[vars$
|
8401
|
-
[vars$
|
8402
|
-
[vars$
|
8403
|
-
[vars$
|
8404
|
-
[vars$
|
8405
|
-
[vars$
|
8406
|
-
[vars$
|
8407
|
-
[vars$
|
8408
|
-
[vars$
|
8409
|
-
[vars$
|
8410
|
-
[vars$
|
8411
|
-
[vars$
|
8412
|
-
[vars$
|
8413
|
-
[vars$
|
8414
|
-
[vars$
|
8415
|
-
[vars$
|
8416
|
-
[vars$
|
8417
|
-
[vars$
|
8418
|
-
[vars$
|
8419
|
-
[vars$
|
8420
|
-
[vars$
|
8395
|
+
[vars$c.hostWidth]: refs.width,
|
8396
|
+
[vars$c.hostDirection]: refs.direction,
|
8397
|
+
[vars$c.fontSize]: refs.fontSize,
|
8398
|
+
[vars$c.fontFamily]: refs.fontFamily,
|
8399
|
+
[vars$c.labelTextColor]: refs.labelTextColor,
|
8400
|
+
[vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
|
8401
|
+
[vars$c.inputBorderColor]: refs.borderColor,
|
8402
|
+
[vars$c.inputBorderWidth]: refs.borderWidth,
|
8403
|
+
[vars$c.inputBorderStyle]: refs.borderStyle,
|
8404
|
+
[vars$c.inputBorderRadius]: refs.borderRadius,
|
8405
|
+
[vars$c.inputOutlineColor]: refs.outlineColor,
|
8406
|
+
[vars$c.inputOutlineOffset]: refs.outlineOffset,
|
8407
|
+
[vars$c.inputOutlineWidth]: refs.outlineWidth,
|
8408
|
+
[vars$c.inputOutlineStyle]: refs.outlineStyle,
|
8409
|
+
[vars$c.labelRequiredIndicator]: refs.requiredIndicator,
|
8410
|
+
[vars$c.inputValueTextColor]: refs.valueTextColor,
|
8411
|
+
[vars$c.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
8412
|
+
[vars$c.inputBackgroundColor]: refs.backgroundColor,
|
8413
|
+
[vars$c.inputHorizontalPadding]: refs.horizontalPadding,
|
8414
|
+
[vars$c.inputHeight]: refs.inputHeight,
|
8415
|
+
[vars$c.inputDropdownButtonColor]: globalRefs$5.colors.surface.contrast,
|
8416
|
+
[vars$c.inputDropdownButtonCursor]: 'pointer',
|
8417
|
+
[vars$c.inputDropdownButtonSize]: refs.toggleButtonSize,
|
8418
|
+
[vars$c.inputDropdownButtonOffset]: globalRefs$5.spacing.xs,
|
8419
|
+
[vars$c.overlayItemPaddingInlineStart]: globalRefs$5.spacing.xs,
|
8420
|
+
[vars$c.overlayItemPaddingInlineEnd]: globalRefs$5.spacing.lg,
|
8421
8421
|
|
8422
8422
|
_readonly: {
|
8423
|
-
[vars$
|
8423
|
+
[vars$c.inputDropdownButtonCursor]: 'default',
|
8424
8424
|
},
|
8425
8425
|
|
8426
8426
|
// Overlay theme exposed via the component:
|
8427
|
-
[vars$
|
8428
|
-
[vars$
|
8429
|
-
[vars$
|
8430
|
-
[vars$
|
8427
|
+
[vars$c.overlayFontSize]: refs.fontSize,
|
8428
|
+
[vars$c.overlayFontFamily]: refs.fontFamily,
|
8429
|
+
[vars$c.overlayCursor]: 'pointer',
|
8430
|
+
[vars$c.overlayItemBoxShadow]: 'none',
|
8431
8431
|
|
8432
8432
|
// Overlay direct theme:
|
8433
|
-
[vars$
|
8434
|
-
[vars$
|
8433
|
+
[vars$c.overlay.minHeight]: '400px',
|
8434
|
+
[vars$c.overlay.margin]: '0',
|
8435
8435
|
};
|
8436
8436
|
|
8437
8437
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
8438
8438
|
__proto__: null,
|
8439
8439
|
comboBox: comboBox,
|
8440
8440
|
default: comboBox,
|
8441
|
-
vars: vars$
|
8441
|
+
vars: vars$c
|
8442
8442
|
});
|
8443
8443
|
|
8444
|
-
const vars$
|
8444
|
+
const vars$b = ImageClass.cssVarList;
|
8445
8445
|
|
8446
8446
|
const image = {};
|
8447
8447
|
|
8448
8448
|
var image$1 = /*#__PURE__*/Object.freeze({
|
8449
8449
|
__proto__: null,
|
8450
8450
|
default: image,
|
8451
|
-
vars: vars$
|
8451
|
+
vars: vars$b
|
8452
8452
|
});
|
8453
8453
|
|
8454
|
-
const vars$
|
8454
|
+
const vars$a = PhoneFieldClass.cssVarList;
|
8455
8455
|
|
8456
8456
|
const phoneField = {
|
8457
|
-
[vars$
|
8457
|
+
[vars$a.hostWidth]: refs.width,
|
8458
|
+
[vars$a.hostDirection]: refs.direction,
|
8459
|
+
[vars$a.fontSize]: refs.fontSize,
|
8460
|
+
[vars$a.fontFamily]: refs.fontFamily,
|
8461
|
+
[vars$a.labelTextColor]: refs.labelTextColor,
|
8462
|
+
[vars$a.labelRequiredIndicator]: refs.requiredIndicator,
|
8463
|
+
[vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
|
8464
|
+
[vars$a.inputValueTextColor]: refs.valueTextColor,
|
8465
|
+
[vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
8466
|
+
[vars$a.inputBorderStyle]: refs.borderStyle,
|
8467
|
+
[vars$a.inputBorderWidth]: refs.borderWidth,
|
8468
|
+
[vars$a.inputBorderColor]: refs.borderColor,
|
8469
|
+
[vars$a.inputBorderRadius]: refs.borderRadius,
|
8470
|
+
[vars$a.inputOutlineStyle]: refs.outlineStyle,
|
8471
|
+
[vars$a.inputOutlineWidth]: refs.outlineWidth,
|
8472
|
+
[vars$a.inputOutlineColor]: refs.outlineColor,
|
8473
|
+
[vars$a.inputOutlineOffset]: refs.outlineOffset,
|
8474
|
+
[vars$a.phoneInputWidth]: refs.minWidth,
|
8475
|
+
[vars$a.countryCodeInputWidth]: '5em',
|
8476
|
+
[vars$a.countryCodeDropdownWidth]: '20em',
|
8477
|
+
|
8478
|
+
// '@overlay': {
|
8479
|
+
// overlayItemBackgroundColor: 'red'
|
8480
|
+
// }
|
8481
|
+
};
|
8482
|
+
|
8483
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
8484
|
+
__proto__: null,
|
8485
|
+
default: phoneField,
|
8486
|
+
vars: vars$a
|
8487
|
+
});
|
8488
|
+
|
8489
|
+
const vars$9 = PhoneFieldInputBoxClass.cssVarList;
|
8490
|
+
|
8491
|
+
const phoneInputBoxField = {
|
8492
|
+
[vars$9.hostWidth]: '16em',
|
8493
|
+
[vars$9.hostMinWidth]: refs.minWidth,
|
8458
8494
|
[vars$9.hostDirection]: refs.direction,
|
8459
8495
|
[vars$9.fontSize]: refs.fontSize,
|
8460
8496
|
[vars$9.fontFamily]: refs.fontFamily,
|
@@ -8471,194 +8507,158 @@ const phoneField = {
|
|
8471
8507
|
[vars$9.inputOutlineWidth]: refs.outlineWidth,
|
8472
8508
|
[vars$9.inputOutlineColor]: refs.outlineColor,
|
8473
8509
|
[vars$9.inputOutlineOffset]: refs.outlineOffset,
|
8474
|
-
|
8475
|
-
|
8476
|
-
|
8477
|
-
|
8478
|
-
// '@overlay': {
|
8479
|
-
// overlayItemBackgroundColor: 'red'
|
8480
|
-
// }
|
8510
|
+
_fullWidth: {
|
8511
|
+
[vars$9.hostWidth]: refs.width,
|
8512
|
+
},
|
8481
8513
|
};
|
8482
8514
|
|
8483
|
-
var
|
8515
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
8484
8516
|
__proto__: null,
|
8485
|
-
default:
|
8517
|
+
default: phoneInputBoxField,
|
8486
8518
|
vars: vars$9
|
8487
8519
|
});
|
8488
8520
|
|
8489
|
-
const vars$8 =
|
8521
|
+
const vars$8 = NewPasswordClass.cssVarList;
|
8490
8522
|
|
8491
|
-
const
|
8492
|
-
[vars$8.hostWidth]:
|
8523
|
+
const newPassword = {
|
8524
|
+
[vars$8.hostWidth]: refs.width,
|
8493
8525
|
[vars$8.hostMinWidth]: refs.minWidth,
|
8494
8526
|
[vars$8.hostDirection]: refs.direction,
|
8495
8527
|
[vars$8.fontSize]: refs.fontSize,
|
8496
8528
|
[vars$8.fontFamily]: refs.fontFamily,
|
8497
|
-
[vars$8.
|
8498
|
-
[vars$8.labelRequiredIndicator]: refs.requiredIndicator,
|
8529
|
+
[vars$8.spaceBetweenInputs]: '1em',
|
8499
8530
|
[vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
|
8500
|
-
[vars$8.inputValueTextColor]: refs.valueTextColor,
|
8501
|
-
[vars$8.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
8502
|
-
[vars$8.inputBorderStyle]: refs.borderStyle,
|
8503
|
-
[vars$8.inputBorderWidth]: refs.borderWidth,
|
8504
|
-
[vars$8.inputBorderColor]: refs.borderColor,
|
8505
|
-
[vars$8.inputBorderRadius]: refs.borderRadius,
|
8506
|
-
[vars$8.inputOutlineStyle]: refs.outlineStyle,
|
8507
|
-
[vars$8.inputOutlineWidth]: refs.outlineWidth,
|
8508
|
-
[vars$8.inputOutlineColor]: refs.outlineColor,
|
8509
|
-
[vars$8.inputOutlineOffset]: refs.outlineOffset,
|
8510
|
-
_fullWidth: {
|
8511
|
-
[vars$8.hostWidth]: refs.width,
|
8512
|
-
},
|
8513
|
-
};
|
8514
|
-
|
8515
|
-
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
8516
|
-
__proto__: null,
|
8517
|
-
default: phoneInputBoxField,
|
8518
|
-
vars: vars$8
|
8519
|
-
});
|
8520
|
-
|
8521
|
-
const vars$7 = NewPasswordClass.cssVarList;
|
8522
|
-
|
8523
|
-
const newPassword = {
|
8524
|
-
[vars$7.hostWidth]: refs.width,
|
8525
|
-
[vars$7.hostMinWidth]: refs.minWidth,
|
8526
|
-
[vars$7.hostDirection]: refs.direction,
|
8527
|
-
[vars$7.fontSize]: refs.fontSize,
|
8528
|
-
[vars$7.fontFamily]: refs.fontFamily,
|
8529
|
-
[vars$7.spaceBetweenInputs]: '1em',
|
8530
|
-
[vars$7.errorMessageTextColor]: refs.errorMessageTextColor,
|
8531
8531
|
|
8532
8532
|
_required: {
|
8533
8533
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
8534
8534
|
// That's why we fake the required indicator on each input.
|
8535
8535
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
8536
|
-
[vars$
|
8536
|
+
[vars$8.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
8537
8537
|
},
|
8538
8538
|
};
|
8539
8539
|
|
8540
8540
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
8541
8541
|
__proto__: null,
|
8542
8542
|
default: newPassword,
|
8543
|
-
vars: vars$
|
8543
|
+
vars: vars$8
|
8544
8544
|
});
|
8545
8545
|
|
8546
|
-
const vars$
|
8546
|
+
const vars$7 = UploadFileClass.cssVarList;
|
8547
8547
|
|
8548
8548
|
const uploadFile = {
|
8549
|
-
[vars$
|
8550
|
-
[vars$
|
8551
|
-
[vars$
|
8549
|
+
[vars$7.hostDirection]: refs.direction,
|
8550
|
+
[vars$7.labelTextColor]: refs.labelTextColor,
|
8551
|
+
[vars$7.fontFamily]: refs.fontFamily,
|
8552
8552
|
|
8553
|
-
[vars$
|
8553
|
+
[vars$7.iconSize]: '2em',
|
8554
8554
|
|
8555
|
-
[vars$
|
8556
|
-
[vars$
|
8555
|
+
[vars$7.hostPadding]: '0.75em',
|
8556
|
+
[vars$7.gap]: '0.5em',
|
8557
8557
|
|
8558
|
-
[vars$
|
8559
|
-
[vars$
|
8560
|
-
[vars$
|
8558
|
+
[vars$7.fontSize]: '16px',
|
8559
|
+
[vars$7.titleFontWeight]: '500',
|
8560
|
+
[vars$7.lineHeight]: '1em',
|
8561
8561
|
|
8562
|
-
[vars$
|
8563
|
-
[vars$
|
8564
|
-
[vars$
|
8565
|
-
[vars$
|
8562
|
+
[vars$7.borderWidth]: refs.borderWidth,
|
8563
|
+
[vars$7.borderColor]: refs.borderColor,
|
8564
|
+
[vars$7.borderRadius]: refs.borderRadius,
|
8565
|
+
[vars$7.borderStyle]: 'dashed',
|
8566
8566
|
|
8567
8567
|
_required: {
|
8568
|
-
[vars$
|
8568
|
+
[vars$7.requiredIndicator]: refs.requiredIndicator,
|
8569
8569
|
},
|
8570
8570
|
|
8571
8571
|
size: {
|
8572
8572
|
xs: {
|
8573
|
-
[vars$
|
8574
|
-
[vars$
|
8575
|
-
[vars$
|
8576
|
-
[vars$
|
8577
|
-
[vars$
|
8573
|
+
[vars$7.hostHeight]: '196px',
|
8574
|
+
[vars$7.hostWidth]: '200px',
|
8575
|
+
[vars$7.titleFontSize]: '0.875em',
|
8576
|
+
[vars$7.descriptionFontSize]: '0.875em',
|
8577
|
+
[vars$7.lineHeight]: '1.25em',
|
8578
8578
|
},
|
8579
8579
|
sm: {
|
8580
|
-
[vars$
|
8581
|
-
[vars$
|
8582
|
-
[vars$
|
8583
|
-
[vars$
|
8584
|
-
[vars$
|
8580
|
+
[vars$7.hostHeight]: '216px',
|
8581
|
+
[vars$7.hostWidth]: '230px',
|
8582
|
+
[vars$7.titleFontSize]: '1em',
|
8583
|
+
[vars$7.descriptionFontSize]: '0.875em',
|
8584
|
+
[vars$7.lineHeight]: '1.25em',
|
8585
8585
|
},
|
8586
8586
|
md: {
|
8587
|
-
[vars$
|
8588
|
-
[vars$
|
8589
|
-
[vars$
|
8590
|
-
[vars$
|
8591
|
-
[vars$
|
8587
|
+
[vars$7.hostHeight]: '256px',
|
8588
|
+
[vars$7.hostWidth]: '312px',
|
8589
|
+
[vars$7.titleFontSize]: '1.125em',
|
8590
|
+
[vars$7.descriptionFontSize]: '1em',
|
8591
|
+
[vars$7.lineHeight]: '1.5em',
|
8592
8592
|
},
|
8593
8593
|
lg: {
|
8594
|
-
[vars$
|
8595
|
-
[vars$
|
8596
|
-
[vars$
|
8597
|
-
[vars$
|
8598
|
-
[vars$
|
8594
|
+
[vars$7.hostHeight]: '280px',
|
8595
|
+
[vars$7.hostWidth]: '336px',
|
8596
|
+
[vars$7.titleFontSize]: '1.125em',
|
8597
|
+
[vars$7.descriptionFontSize]: '1.125em',
|
8598
|
+
[vars$7.lineHeight]: '1.75em',
|
8599
8599
|
},
|
8600
8600
|
},
|
8601
8601
|
|
8602
8602
|
_fullWidth: {
|
8603
|
-
[vars$
|
8603
|
+
[vars$7.hostWidth]: refs.width,
|
8604
8604
|
},
|
8605
8605
|
};
|
8606
8606
|
|
8607
8607
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
8608
8608
|
__proto__: null,
|
8609
8609
|
default: uploadFile,
|
8610
|
-
vars: vars$
|
8610
|
+
vars: vars$7
|
8611
8611
|
});
|
8612
8612
|
|
8613
|
-
const globalRefs$
|
8613
|
+
const globalRefs$4 = getThemeRefs(globals);
|
8614
8614
|
|
8615
|
-
const vars$
|
8615
|
+
const vars$6 = ButtonSelectionGroupItemClass.cssVarList;
|
8616
8616
|
|
8617
8617
|
const buttonSelectionGroupItem = {
|
8618
|
-
[vars$
|
8619
|
-
[vars$
|
8620
|
-
[vars$
|
8621
|
-
[vars$
|
8622
|
-
[vars$
|
8623
|
-
[vars$
|
8618
|
+
[vars$6.hostDirection]: 'inherit',
|
8619
|
+
[vars$6.backgroundColor]: globalRefs$4.colors.surface.light,
|
8620
|
+
[vars$6.labelTextColor]: globalRefs$4.colors.surface.contrast,
|
8621
|
+
[vars$6.borderColor]: globalRefs$4.colors.surface.main,
|
8622
|
+
[vars$6.borderStyle]: 'solid',
|
8623
|
+
[vars$6.borderRadius]: globalRefs$4.radius.sm,
|
8624
8624
|
|
8625
8625
|
_hover: {
|
8626
|
-
[vars$
|
8626
|
+
[vars$6.backgroundColor]: '#f4f5f5', // can we take it from the palette?
|
8627
8627
|
},
|
8628
8628
|
|
8629
8629
|
_selected: {
|
8630
|
-
[vars$
|
8631
|
-
[vars$
|
8632
|
-
[vars$
|
8630
|
+
[vars$6.borderColor]: globalRefs$4.colors.surface.contrast,
|
8631
|
+
[vars$6.backgroundColor]: globalRefs$4.colors.surface.contrast,
|
8632
|
+
[vars$6.labelTextColor]: globalRefs$4.colors.surface.light,
|
8633
8633
|
},
|
8634
8634
|
};
|
8635
8635
|
|
8636
8636
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
8637
8637
|
__proto__: null,
|
8638
8638
|
default: buttonSelectionGroupItem,
|
8639
|
-
vars: vars$
|
8639
|
+
vars: vars$6
|
8640
8640
|
});
|
8641
8641
|
|
8642
|
-
const globalRefs$
|
8643
|
-
const vars$
|
8642
|
+
const globalRefs$3 = getThemeRefs(globals);
|
8643
|
+
const vars$5 = ButtonSelectionGroupClass.cssVarList;
|
8644
8644
|
|
8645
8645
|
const buttonSelectionGroup = {
|
8646
|
-
[vars$
|
8647
|
-
[vars$
|
8648
|
-
[vars$
|
8649
|
-
[vars$
|
8650
|
-
[vars$
|
8651
|
-
[vars$
|
8652
|
-
[vars$
|
8646
|
+
[vars$5.hostDirection]: refs.direction,
|
8647
|
+
[vars$5.fontFamily]: refs.fontFamily,
|
8648
|
+
[vars$5.labelTextColor]: refs.labelTextColor,
|
8649
|
+
[vars$5.labelRequiredIndicator]: refs.requiredIndicator,
|
8650
|
+
[vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
|
8651
|
+
[vars$5.itemsSpacing]: globalRefs$3.spacing.sm,
|
8652
|
+
[vars$5.hostWidth]: refs.width,
|
8653
8653
|
};
|
8654
8654
|
|
8655
8655
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
8656
8656
|
__proto__: null,
|
8657
8657
|
default: buttonSelectionGroup,
|
8658
|
-
vars: vars$
|
8658
|
+
vars: vars$5
|
8659
8659
|
});
|
8660
8660
|
|
8661
|
-
const componentName$
|
8661
|
+
const componentName$2 = getComponentName('modal');
|
8662
8662
|
|
8663
8663
|
const customMixin = (superclass) =>
|
8664
8664
|
class ModalMixinClass extends superclass {
|
@@ -8754,7 +8754,7 @@ const ModalClass = compose(
|
|
8754
8754
|
wrappedEleName: 'vaadin-dialog',
|
8755
8755
|
style: () => ``,
|
8756
8756
|
excludeAttrsSync: ['tabindex', 'opened'],
|
8757
|
-
componentName: componentName$
|
8757
|
+
componentName: componentName$2,
|
8758
8758
|
})
|
8759
8759
|
);
|
8760
8760
|
|
@@ -8765,44 +8765,44 @@ const modal = {
|
|
8765
8765
|
[compVars.overlayWidth]: '700px',
|
8766
8766
|
};
|
8767
8767
|
|
8768
|
-
const vars$
|
8768
|
+
const vars$4 = {
|
8769
8769
|
...compVars,
|
8770
8770
|
};
|
8771
8771
|
|
8772
8772
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
8773
8773
|
__proto__: null,
|
8774
8774
|
default: modal,
|
8775
|
-
vars: vars$
|
8775
|
+
vars: vars$4
|
8776
8776
|
});
|
8777
8777
|
|
8778
|
-
const globalRefs$
|
8779
|
-
const vars$
|
8778
|
+
const globalRefs$2 = getThemeRefs(globals);
|
8779
|
+
const vars$3 = GridClass.cssVarList;
|
8780
8780
|
|
8781
8781
|
const grid = {
|
8782
|
-
[vars$
|
8783
|
-
[vars$
|
8784
|
-
[vars$
|
8782
|
+
[vars$3.hostWidth]: '100%',
|
8783
|
+
[vars$3.hostHeight]: '100%',
|
8784
|
+
[vars$3.hostMinHeight]: '400px',
|
8785
8785
|
|
8786
|
-
[vars$
|
8787
|
-
[vars$
|
8786
|
+
[vars$3.fontSize]: refs.fontSize,
|
8787
|
+
[vars$3.fontFamily]: refs.fontFamily,
|
8788
8788
|
|
8789
|
-
[vars$
|
8790
|
-
[vars$
|
8791
|
-
[vars$
|
8789
|
+
[vars$3.sortIndicatorsColor]: globalRefs$2.colors.primary.main,
|
8790
|
+
[vars$3.activeSortIndicator]: globalRefs$2.colors.primary.main,
|
8791
|
+
[vars$3.resizeHandleColor]: globalRefs$2.colors.surface.main,
|
8792
8792
|
|
8793
|
-
[vars$
|
8794
|
-
[vars$
|
8795
|
-
[vars$
|
8796
|
-
[vars$
|
8793
|
+
[vars$3.inputBorderWidth]: refs.borderWidth,
|
8794
|
+
[vars$3.inputBorderStyle]: refs.borderStyle,
|
8795
|
+
[vars$3.inputBorderRadius]: refs.borderRadius,
|
8796
|
+
[vars$3.inputBorderColor]: 'transparent',
|
8797
8797
|
|
8798
|
-
[vars$
|
8798
|
+
[vars$3.separatorColor]: refs.borderColor,
|
8799
8799
|
|
8800
|
-
[vars$
|
8801
|
-
[vars$
|
8802
|
-
[vars$
|
8800
|
+
[vars$3.valueTextColor]: globalRefs$2.colors.surface.contrast,
|
8801
|
+
[vars$3.selectedBackgroundColor]: globalRefs$2.colors.primary.main,
|
8802
|
+
[vars$3.selectedTextColor]: globalRefs$2.colors.primary.contrast,
|
8803
8803
|
|
8804
8804
|
_bordered: {
|
8805
|
-
[vars$
|
8805
|
+
[vars$3.inputBorderColor]: refs.borderColor,
|
8806
8806
|
},
|
8807
8807
|
};
|
8808
8808
|
|
@@ -8810,10 +8810,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
8810
8810
|
__proto__: null,
|
8811
8811
|
default: grid,
|
8812
8812
|
grid: grid,
|
8813
|
-
vars: vars$
|
8813
|
+
vars: vars$3
|
8814
8814
|
});
|
8815
8815
|
|
8816
|
-
const componentName = getComponentName('notification-card');
|
8816
|
+
const componentName$1 = getComponentName('notification-card');
|
8817
8817
|
|
8818
8818
|
const notificationCardMixin = (superclass) =>
|
8819
8819
|
class NotificationCardMixinClass extends superclass {
|
@@ -8921,30 +8921,136 @@ const NotificationCardClass = compose(
|
|
8921
8921
|
}
|
8922
8922
|
`,
|
8923
8923
|
excludeAttrsSync: ['tabindex'],
|
8924
|
-
componentName,
|
8924
|
+
componentName: componentName$1,
|
8925
8925
|
})
|
8926
8926
|
);
|
8927
8927
|
|
8928
|
-
const globalRefs = getThemeRefs(globals);
|
8929
|
-
const vars$
|
8928
|
+
const globalRefs$1 = getThemeRefs(globals);
|
8929
|
+
const vars$2 = NotificationCardClass.cssVarList;
|
8930
8930
|
|
8931
8931
|
const shadowColor = '#00000020';
|
8932
8932
|
|
8933
8933
|
const notification = {
|
8934
|
-
[vars$
|
8935
|
-
[vars$
|
8936
|
-
[vars$
|
8937
|
-
[vars$
|
8938
|
-
[vars$
|
8939
|
-
[vars$
|
8940
|
-
[vars$
|
8941
|
-
[vars$
|
8942
|
-
[vars$
|
8934
|
+
[vars$2.hostMinWidth]: '415px',
|
8935
|
+
[vars$2.fontFamily]: globalRefs$1.fonts.font1.family,
|
8936
|
+
[vars$2.fontSize]: globalRefs$1.typography.body1.size,
|
8937
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.surface.main,
|
8938
|
+
[vars$2.textColor]: globalRefs$1.colors.surface.contrast,
|
8939
|
+
[vars$2.boxShadow]: `${globalRefs$1.shadow.wide.xl} ${shadowColor}, ${globalRefs$1.shadow.narrow.xl} ${shadowColor}`,
|
8940
|
+
[vars$2.verticalPadding]: '0.45em',
|
8941
|
+
[vars$2.horizontalPadding]: '1em',
|
8942
|
+
[vars$2.borderRadius]: globalRefs$1.radius.md,
|
8943
8943
|
|
8944
8944
|
_bordered: {
|
8945
|
-
[vars$
|
8946
|
-
[vars$
|
8947
|
-
[vars$
|
8945
|
+
[vars$2.borderWidth]: globalRefs$1.border.sm,
|
8946
|
+
[vars$2.borderStyle]: 'solid',
|
8947
|
+
[vars$2.borderColor]: 'transparent',
|
8948
|
+
},
|
8949
|
+
|
8950
|
+
size: {
|
8951
|
+
xs: { [vars$2.fontSize]: '12px' },
|
8952
|
+
sm: { [vars$2.fontSize]: '14px' },
|
8953
|
+
md: { [vars$2.fontSize]: '16px' },
|
8954
|
+
lg: { [vars$2.fontSize]: '18px' },
|
8955
|
+
},
|
8956
|
+
|
8957
|
+
mode: {
|
8958
|
+
primary: {
|
8959
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.primary.main,
|
8960
|
+
[vars$2.textColor]: globalRefs$1.colors.primary.contrast,
|
8961
|
+
[vars$2.borderColor]: globalRefs$1.colors.primary.light,
|
8962
|
+
},
|
8963
|
+
success: {
|
8964
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.success.main,
|
8965
|
+
[vars$2.textColor]: globalRefs$1.colors.success.contrast,
|
8966
|
+
[vars$2.borderColor]: globalRefs$1.colors.success.light,
|
8967
|
+
},
|
8968
|
+
error: {
|
8969
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.error.main,
|
8970
|
+
[vars$2.textColor]: globalRefs$1.colors.error.contrast,
|
8971
|
+
[vars$2.borderColor]: globalRefs$1.colors.error.light,
|
8972
|
+
},
|
8973
|
+
},
|
8974
|
+
};
|
8975
|
+
|
8976
|
+
var notificationCard = /*#__PURE__*/Object.freeze({
|
8977
|
+
__proto__: null,
|
8978
|
+
default: notification,
|
8979
|
+
vars: vars$2
|
8980
|
+
});
|
8981
|
+
|
8982
|
+
const componentName = getComponentName('badge');
|
8983
|
+
|
8984
|
+
class RawBadge extends createBaseClass({ componentName, baseSelector: ':host > div' }) {
|
8985
|
+
constructor() {
|
8986
|
+
super();
|
8987
|
+
|
8988
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
8989
|
+
<style>
|
8990
|
+
:host {
|
8991
|
+
display: inline-flex;
|
8992
|
+
}
|
8993
|
+
:host > div {
|
8994
|
+
width: 100%;
|
8995
|
+
}
|
8996
|
+
</style>
|
8997
|
+
<div>
|
8998
|
+
<slot></slot>
|
8999
|
+
</div>
|
9000
|
+
`;
|
9001
|
+
}
|
9002
|
+
}
|
9003
|
+
|
9004
|
+
const BadgeClass = compose(
|
9005
|
+
createStyleMixin({
|
9006
|
+
mappings: {
|
9007
|
+
hostWidth: [{ selector: () => ':host', property: 'width' }],
|
9008
|
+
hostDirection: { property: 'direction' },
|
9009
|
+
|
9010
|
+
fontFamily: {},
|
9011
|
+
fontSize: {},
|
9012
|
+
fontWeight: {},
|
9013
|
+
|
9014
|
+
verticalPadding: [{ property: 'padding-top' }, { property: 'padding-bottom' }],
|
9015
|
+
horizontalPadding: [{ property: 'padding-left' }, { property: 'padding-right' }],
|
9016
|
+
|
9017
|
+
borderWidth: {},
|
9018
|
+
borderStyle: {},
|
9019
|
+
borderColor: {},
|
9020
|
+
borderRadius: {},
|
9021
|
+
|
9022
|
+
backgroundColor: {},
|
9023
|
+
|
9024
|
+
textColor: { property: 'color' },
|
9025
|
+
textAlign: {},
|
9026
|
+
},
|
9027
|
+
}),
|
9028
|
+
draggableMixin,
|
9029
|
+
componentNameValidationMixin
|
9030
|
+
)(RawBadge);
|
9031
|
+
|
9032
|
+
const globalRefs = getThemeRefs(globals);
|
9033
|
+
const vars$1 = BadgeClass.cssVarList;
|
9034
|
+
|
9035
|
+
const badge = {
|
9036
|
+
[vars$1.hostWidth]: 'fit-content',
|
9037
|
+
[vars$1.hostDirection]: globalRefs.direction,
|
9038
|
+
|
9039
|
+
[vars$1.textAlign]: 'center',
|
9040
|
+
|
9041
|
+
[vars$1.fontFamily]: globalRefs.fonts.font1.family,
|
9042
|
+
[vars$1.fontWeight]: '400',
|
9043
|
+
|
9044
|
+
[vars$1.verticalPadding]: '0.25em',
|
9045
|
+
[vars$1.horizontalPadding]: '0.5em',
|
9046
|
+
|
9047
|
+
[vars$1.borderWidth]: globalRefs.border.xs,
|
9048
|
+
[vars$1.borderRadius]: globalRefs.radius.sm,
|
9049
|
+
[vars$1.borderColor]: 'transparent',
|
9050
|
+
[vars$1.borderStyle]: 'solid',
|
9051
|
+
|
9052
|
+
_fullWidth: {
|
9053
|
+
[vars$1.hostWidth]: '100%',
|
8948
9054
|
},
|
8949
9055
|
|
8950
9056
|
size: {
|
@@ -8955,27 +9061,42 @@ const notification = {
|
|
8955
9061
|
},
|
8956
9062
|
|
8957
9063
|
mode: {
|
9064
|
+
default: {
|
9065
|
+
[vars$1.textColor]: globalRefs.colors.surface.dark,
|
9066
|
+
_bordered: {
|
9067
|
+
[vars$1.borderColor]: globalRefs.colors.surface.main,
|
9068
|
+
},
|
9069
|
+
},
|
8958
9070
|
primary: {
|
8959
|
-
[vars$1.
|
8960
|
-
|
8961
|
-
|
9071
|
+
[vars$1.textColor]: globalRefs.colors.primary.main,
|
9072
|
+
_bordered: {
|
9073
|
+
[vars$1.borderColor]: globalRefs.colors.primary.light,
|
9074
|
+
},
|
8962
9075
|
},
|
8963
|
-
|
8964
|
-
[vars$1.
|
8965
|
-
|
8966
|
-
|
9076
|
+
secondary: {
|
9077
|
+
[vars$1.textColor]: globalRefs.colors.secondary.main,
|
9078
|
+
_bordered: {
|
9079
|
+
[vars$1.borderColor]: globalRefs.colors.secondary.light,
|
9080
|
+
},
|
8967
9081
|
},
|
8968
9082
|
error: {
|
8969
|
-
[vars$1.backgroundColor]: globalRefs.colors.error.main,
|
8970
|
-
[vars$1.textColor]: globalRefs.colors.error.contrast,
|
8971
9083
|
[vars$1.borderColor]: globalRefs.colors.error.light,
|
9084
|
+
_bordered: {
|
9085
|
+
[vars$1.textColor]: globalRefs.colors.error.main,
|
9086
|
+
},
|
9087
|
+
},
|
9088
|
+
success: {
|
9089
|
+
[vars$1.textColor]: globalRefs.colors.success.main,
|
9090
|
+
_bordered: {
|
9091
|
+
[vars$1.borderColor]: globalRefs.colors.success.light,
|
9092
|
+
},
|
8972
9093
|
},
|
8973
9094
|
},
|
8974
9095
|
};
|
8975
9096
|
|
8976
|
-
var
|
9097
|
+
var badge$1 = /*#__PURE__*/Object.freeze({
|
8977
9098
|
__proto__: null,
|
8978
|
-
default:
|
9099
|
+
default: badge,
|
8979
9100
|
vars: vars$1
|
8980
9101
|
});
|
8981
9102
|
|
@@ -9009,6 +9130,7 @@ const components = {
|
|
9009
9130
|
modal: modal$1,
|
9010
9131
|
grid: grid$1,
|
9011
9132
|
notificationCard,
|
9133
|
+
badge: badge$1,
|
9012
9134
|
};
|
9013
9135
|
|
9014
9136
|
const theme = Object.keys(components).reduce(
|
@@ -9021,7 +9143,7 @@ const vars = Object.keys(components).reduce(
|
|
9021
9143
|
);
|
9022
9144
|
|
9023
9145
|
const defaultTheme = { globals, components: theme };
|
9024
|
-
const themeVars = { globals: vars$
|
9146
|
+
const themeVars = { globals: vars$v, components: vars };
|
9025
9147
|
|
9026
9148
|
export { ButtonClass, ButtonSelectionGroupClass, ButtonSelectionGroupItemClass, CheckboxClass, ContainerClass, DividerClass, EmailFieldClass, GridClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, NewPasswordClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, RecaptchaClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, componentsThemeManager, createComponentsTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
9027
9149
|
//# sourceMappingURL=index.esm.js.map
|