@descope/web-components-ui 1.0.134 → 1.0.136
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +275 -254
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +253 -231
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/{18.js → 1018.js} +2 -2
- package/dist/umd/2481.js +1 -0
- package/dist/umd/3208.js +2 -0
- package/dist/umd/3585.js +1 -0
- package/dist/umd/3878.js +1 -0
- package/dist/umd/4201.js +1 -0
- package/dist/umd/4447.js +1 -0
- package/dist/umd/{513.js → 4513.js} +1 -1
- package/dist/umd/4803.js +1 -0
- package/dist/umd/5767.js +2 -0
- package/dist/umd/{806.js → 5806.js} +2 -2
- package/dist/umd/{56.js → 7056.js} +2 -2
- package/dist/umd/{101.js → 7101.js} +2 -2
- package/dist/umd/{824.js → 7824.js} +2 -2
- package/dist/umd/7840.js +356 -0
- package/dist/umd/{725.js → 8725.js} +2 -2
- package/dist/umd/{211.js → 9211.js} +2 -2
- package/dist/umd/9241.js +1 -0
- package/dist/umd/{314.js → 9314.js} +2 -2
- package/dist/umd/{437.js → 9437.js} +2 -2
- package/dist/umd/{515.js → 9515.js} +2 -2
- package/dist/umd/{789.js → 9789.js} +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/descope-button-index-js.js +1 -1
- package/dist/umd/descope-combo-box-index-js.js +1 -1
- package/dist/umd/descope-container-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +1 -1
- package/dist/umd/descope-image-index-js.js +1 -1
- package/dist/umd/descope-loader-linear-index-js.js +1 -1
- package/dist/umd/descope-loader-radial-index-js.js +1 -1
- package/dist/umd/descope-logo-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/descope-phone-field-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +1 -1
- package/dist/umd/descope-text-index-js.js +1 -1
- package/dist/umd/descope-totp-image-index-js.js +1 -0
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
- package/src/baseClasses/createCssVarImageClass.js +49 -0
- package/src/components/descope-logo/LogoClass.js +2 -51
- package/src/components/descope-totp-image/TotpImageClass.js +6 -0
- package/src/components/descope-totp-image/index.js +5 -0
- package/src/index.cjs.js +1 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/theme/components/index.js +2 -0
- package/src/theme/components/totpImage.js +10 -0
- package/dist/umd/201.js +0 -1
- package/dist/umd/208.js +0 -2
- package/dist/umd/241.js +0 -1
- package/dist/umd/447.js +0 -1
- package/dist/umd/481.js +0 -1
- package/dist/umd/767.js +0 -2
- package/dist/umd/803.js +0 -1
- package/dist/umd/840.js +0 -356
- package/dist/umd/878.js +0 -1
- /package/dist/umd/{18.js.LICENSE.txt → 1018.js.LICENSE.txt} +0 -0
- /package/dist/umd/{208.js.LICENSE.txt → 3208.js.LICENSE.txt} +0 -0
- /package/dist/umd/{767.js.LICENSE.txt → 5767.js.LICENSE.txt} +0 -0
- /package/dist/umd/{437.js.LICENSE.txt → 5806.js.LICENSE.txt} +0 -0
- /package/dist/umd/{56.js.LICENSE.txt → 7056.js.LICENSE.txt} +0 -0
- /package/dist/umd/{101.js.LICENSE.txt → 7101.js.LICENSE.txt} +0 -0
- /package/dist/umd/{824.js.LICENSE.txt → 7824.js.LICENSE.txt} +0 -0
- /package/dist/umd/{840.js.LICENSE.txt → 7840.js.LICENSE.txt} +0 -0
- /package/dist/umd/{515.js.LICENSE.txt → 8725.js.LICENSE.txt} +0 -0
- /package/dist/umd/{211.js.LICENSE.txt → 9211.js.LICENSE.txt} +0 -0
- /package/dist/umd/{314.js.LICENSE.txt → 9314.js.LICENSE.txt} +0 -0
- /package/dist/umd/{806.js.LICENSE.txt → 9437.js.LICENSE.txt} +0 -0
- /package/dist/umd/{725.js.LICENSE.txt → 9515.js.LICENSE.txt} +0 -0
package/dist/index.esm.js
CHANGED
@@ -1223,7 +1223,7 @@ const inputEventsDispatchingMixin = (superclass) => class InputEventsDispatching
|
|
1223
1223
|
}
|
1224
1224
|
};
|
1225
1225
|
|
1226
|
-
const componentName$
|
1226
|
+
const componentName$p = getComponentName('button');
|
1227
1227
|
|
1228
1228
|
const resetStyles = `
|
1229
1229
|
:host {
|
@@ -1311,7 +1311,7 @@ const ButtonClass = compose(
|
|
1311
1311
|
${useHostExternalPadding(ButtonClass.cssVarList)}
|
1312
1312
|
`,
|
1313
1313
|
excludeAttrsSync: ['tabindex'],
|
1314
|
-
componentName: componentName$
|
1314
|
+
componentName: componentName$p
|
1315
1315
|
})
|
1316
1316
|
);
|
1317
1317
|
|
@@ -1344,7 +1344,7 @@ const loadingIndicatorStyles = `
|
|
1344
1344
|
}
|
1345
1345
|
`;
|
1346
1346
|
|
1347
|
-
customElements.define(componentName$
|
1347
|
+
customElements.define(componentName$p, ButtonClass);
|
1348
1348
|
|
1349
1349
|
const createBaseInputClass = (...args) => compose(
|
1350
1350
|
inputValidationMixin,
|
@@ -1353,7 +1353,7 @@ const createBaseInputClass = (...args) => compose(
|
|
1353
1353
|
inputEventsDispatchingMixin
|
1354
1354
|
)(createBaseClass(...args));
|
1355
1355
|
|
1356
|
-
const componentName$
|
1356
|
+
const componentName$o = getComponentName('boolean-field-internal');
|
1357
1357
|
|
1358
1358
|
const forwardAttributes$1 = [
|
1359
1359
|
'disabled',
|
@@ -1362,7 +1362,7 @@ const forwardAttributes$1 = [
|
|
1362
1362
|
'readonly'
|
1363
1363
|
];
|
1364
1364
|
|
1365
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
1365
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$o, baseSelector: 'div' });
|
1366
1366
|
|
1367
1367
|
class BooleanInputInternal extends BaseInputClass$3 {
|
1368
1368
|
constructor() {
|
@@ -1426,14 +1426,14 @@ const booleanFieldMixin = (superclass) =>
|
|
1426
1426
|
|
1427
1427
|
const template = document.createElement('template');
|
1428
1428
|
template.innerHTML = `
|
1429
|
-
<${componentName$
|
1429
|
+
<${componentName$o}
|
1430
1430
|
tabindex="-1"
|
1431
1431
|
slot="input"
|
1432
|
-
></${componentName$
|
1432
|
+
></${componentName$o}>
|
1433
1433
|
`;
|
1434
1434
|
|
1435
1435
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
1436
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
1436
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$o);
|
1437
1437
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
1438
1438
|
|
1439
1439
|
forwardAttrs(this, this.inputElement, {
|
@@ -1519,7 +1519,7 @@ vaadin-checkbox::part(checkbox) {
|
|
1519
1519
|
}
|
1520
1520
|
`;
|
1521
1521
|
|
1522
|
-
const componentName$
|
1522
|
+
const componentName$n = getComponentName('checkbox');
|
1523
1523
|
|
1524
1524
|
const {
|
1525
1525
|
host: host$b,
|
@@ -1614,15 +1614,15 @@ const CheckboxClass = compose(
|
|
1614
1614
|
${useHostExternalPadding(CheckboxClass.cssVarList)}
|
1615
1615
|
`,
|
1616
1616
|
excludeAttrsSync: ['tabindex'],
|
1617
|
-
componentName: componentName$
|
1617
|
+
componentName: componentName$n
|
1618
1618
|
})
|
1619
1619
|
);
|
1620
1620
|
|
1621
|
-
customElements.define(componentName$
|
1621
|
+
customElements.define(componentName$o, BooleanInputInternal);
|
1622
1622
|
|
1623
|
-
customElements.define(componentName$
|
1623
|
+
customElements.define(componentName$n, CheckboxClass);
|
1624
1624
|
|
1625
|
-
const componentName$
|
1625
|
+
const componentName$m = getComponentName('switch-toggle');
|
1626
1626
|
|
1627
1627
|
const {
|
1628
1628
|
host: host$a,
|
@@ -1732,17 +1732,17 @@ const SwitchToggleClass = compose(
|
|
1732
1732
|
}
|
1733
1733
|
`,
|
1734
1734
|
excludeAttrsSync: ['tabindex'],
|
1735
|
-
componentName: componentName$
|
1735
|
+
componentName: componentName$m
|
1736
1736
|
})
|
1737
1737
|
);
|
1738
1738
|
|
1739
|
-
customElements.define(componentName$
|
1739
|
+
customElements.define(componentName$m, SwitchToggleClass);
|
1740
1740
|
|
1741
|
-
const componentName$
|
1741
|
+
const componentName$l = getComponentName('loader-linear');
|
1742
1742
|
|
1743
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
1743
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$l, baseSelector: ':host > div' }) {
|
1744
1744
|
static get componentName() {
|
1745
|
-
return componentName$
|
1745
|
+
return componentName$l;
|
1746
1746
|
}
|
1747
1747
|
constructor() {
|
1748
1748
|
super();
|
@@ -1804,11 +1804,11 @@ const LoaderLinearClass = compose(
|
|
1804
1804
|
componentNameValidationMixin
|
1805
1805
|
)(RawLoaderLinear);
|
1806
1806
|
|
1807
|
-
customElements.define(componentName$
|
1807
|
+
customElements.define(componentName$l, LoaderLinearClass);
|
1808
1808
|
|
1809
|
-
const componentName$
|
1809
|
+
const componentName$k = getComponentName('loader-radial');
|
1810
1810
|
|
1811
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
1811
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$k, baseSelector: ':host > div' }) {
|
1812
1812
|
constructor() {
|
1813
1813
|
super();
|
1814
1814
|
|
@@ -1855,11 +1855,11 @@ const LoaderRadialClass = compose(
|
|
1855
1855
|
componentNameValidationMixin
|
1856
1856
|
)(RawLoaderRadial);
|
1857
1857
|
|
1858
|
-
customElements.define(componentName$
|
1858
|
+
customElements.define(componentName$k, LoaderRadialClass);
|
1859
1859
|
|
1860
|
-
const componentName$
|
1860
|
+
const componentName$j = getComponentName('container');
|
1861
1861
|
|
1862
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
1862
|
+
class RawContainer extends createBaseClass({ componentName: componentName$j, baseSelector: ':host > slot' }) {
|
1863
1863
|
constructor() {
|
1864
1864
|
super();
|
1865
1865
|
|
@@ -1917,10 +1917,10 @@ const ContainerClass = compose(
|
|
1917
1917
|
componentNameValidationMixin
|
1918
1918
|
)(RawContainer);
|
1919
1919
|
|
1920
|
-
customElements.define(componentName$
|
1920
|
+
customElements.define(componentName$j, ContainerClass);
|
1921
1921
|
|
1922
|
-
const componentName$
|
1923
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
1922
|
+
const componentName$i = getComponentName('divider');
|
1923
|
+
class RawDivider extends createBaseClass({ componentName: componentName$i, baseSelector: ':host > div' }) {
|
1924
1924
|
constructor() {
|
1925
1925
|
super();
|
1926
1926
|
|
@@ -2021,9 +2021,9 @@ const DividerClass = compose(
|
|
2021
2021
|
componentNameValidationMixin
|
2022
2022
|
)(RawDivider);
|
2023
2023
|
|
2024
|
-
const componentName$
|
2024
|
+
const componentName$h = getComponentName('text');
|
2025
2025
|
|
2026
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
2026
|
+
class RawText extends createBaseClass({ componentName: componentName$h, baseSelector: ':host > slot' }) {
|
2027
2027
|
constructor() {
|
2028
2028
|
super();
|
2029
2029
|
|
@@ -2065,9 +2065,9 @@ const TextClass = compose(
|
|
2065
2065
|
componentNameValidationMixin
|
2066
2066
|
)(RawText);
|
2067
2067
|
|
2068
|
-
customElements.define(componentName$
|
2068
|
+
customElements.define(componentName$h, TextClass);
|
2069
2069
|
|
2070
|
-
customElements.define(componentName$
|
2070
|
+
customElements.define(componentName$i, DividerClass);
|
2071
2071
|
|
2072
2072
|
const {
|
2073
2073
|
host: host$7,
|
@@ -2138,7 +2138,7 @@ var textFieldMappings = {
|
|
2138
2138
|
inputPlaceholderColor: { ...placeholder$2, property: 'color' }
|
2139
2139
|
};
|
2140
2140
|
|
2141
|
-
const componentName$
|
2141
|
+
const componentName$g = getComponentName('email-field');
|
2142
2142
|
|
2143
2143
|
const EmailFieldClass = compose(
|
2144
2144
|
createStyleMixin({
|
@@ -2161,15 +2161,15 @@ const EmailFieldClass = compose(
|
|
2161
2161
|
${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
|
2162
2162
|
`,
|
2163
2163
|
excludeAttrsSync: ['tabindex'],
|
2164
|
-
componentName: componentName$
|
2164
|
+
componentName: componentName$g
|
2165
2165
|
})
|
2166
2166
|
);
|
2167
2167
|
|
2168
|
-
customElements.define(componentName$
|
2168
|
+
customElements.define(componentName$g, EmailFieldClass);
|
2169
2169
|
|
2170
|
-
const componentName$
|
2170
|
+
const componentName$f = getComponentName('link');
|
2171
2171
|
|
2172
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
2172
|
+
class RawLink extends createBaseClass({ componentName: componentName$f, baseSelector: ':host a' }) {
|
2173
2173
|
constructor() {
|
2174
2174
|
super();
|
2175
2175
|
|
@@ -2233,56 +2233,65 @@ const LinkClass = compose(
|
|
2233
2233
|
componentNameValidationMixin
|
2234
2234
|
)(RawLink);
|
2235
2235
|
|
2236
|
-
customElements.define(componentName$
|
2237
|
-
|
2238
|
-
const componentName$d = getComponentName('logo');
|
2236
|
+
customElements.define(componentName$f, LinkClass);
|
2239
2237
|
|
2240
2238
|
let style;
|
2241
|
-
const
|
2239
|
+
const getContent = () => style;
|
2240
|
+
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
2241
|
+
class RawCssVarImageClass extends createBaseClass({ componentName, baseSelector: ':host > div' }) {
|
2242
|
+
constructor() {
|
2243
|
+
super();
|
2244
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
2245
|
+
<style>
|
2246
|
+
:host {
|
2247
|
+
display: inline-flex;
|
2248
|
+
}
|
2249
|
+
:host([draggable="true"]) > div {
|
2250
|
+
pointer-events: none
|
2251
|
+
}
|
2252
|
+
:host > div {
|
2253
|
+
display: inline-block;
|
2254
|
+
max-width: 100%;
|
2255
|
+
max-height: 100%;
|
2256
|
+
object-fit: contain;
|
2257
|
+
margin: auto;
|
2258
|
+
${getContent()}
|
2259
|
+
}
|
2260
|
+
</style>
|
2261
|
+
<div></div>
|
2262
|
+
`;
|
2263
|
+
}
|
2264
|
+
}
|
2242
2265
|
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2266
|
+
const CssVarImageClass = compose(
|
2267
|
+
createStyleMixin({
|
2268
|
+
mappings: {
|
2269
|
+
height: { selector: () => ':host' },
|
2270
|
+
width: { selector: () => ':host' },
|
2271
|
+
[varName]: { property: 'content' },
|
2272
|
+
[fallbackVarName]: { property: 'content' },
|
2273
|
+
}
|
2274
|
+
}),
|
2275
|
+
draggableMixin,
|
2276
|
+
componentNameValidationMixin
|
2277
|
+
)(RawCssVarImageClass);
|
2246
2278
|
|
2247
|
-
|
2248
|
-
<style>
|
2249
|
-
${getStyle()}
|
2250
|
-
</style>
|
2251
|
-
<div></div>`;
|
2252
|
-
}
|
2253
|
-
}
|
2279
|
+
style = `content: var(${CssVarImageClass.cssVarList[varName]}, var(${CssVarImageClass.cssVarList[fallbackVarName]}));`;
|
2254
2280
|
|
2255
|
-
|
2256
|
-
|
2257
|
-
mappings: {
|
2258
|
-
height: { selector: () => ':host' },
|
2259
|
-
width: { selector: () => ':host' },
|
2260
|
-
fallbackUrl: { property: 'content' },
|
2261
|
-
url: { property: 'content' },
|
2262
|
-
}
|
2263
|
-
}),
|
2264
|
-
draggableMixin,
|
2265
|
-
componentNameValidationMixin
|
2266
|
-
)(RawLogo);
|
2281
|
+
return CssVarImageClass;
|
2282
|
+
};
|
2267
2283
|
|
2268
|
-
|
2269
|
-
|
2270
|
-
|
2271
|
-
|
2272
|
-
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
|
2277
|
-
object-fit: contain;
|
2278
|
-
margin: auto;
|
2279
|
-
}
|
2280
|
-
:host([draggable="true"]) > div {
|
2281
|
-
pointer-events: none
|
2282
|
-
}
|
2283
|
-
`;
|
2284
|
+
const componentName$e = getComponentName('logo');
|
2285
|
+
|
2286
|
+
const LogoClass = createCssVarImageClass({ componentName: componentName$e, varName: 'url', fallbackVarName: 'fallbackUrl' });
|
2287
|
+
|
2288
|
+
customElements.define(componentName$e, LogoClass);
|
2289
|
+
|
2290
|
+
const componentName$d = getComponentName('totp-image');
|
2291
|
+
|
2292
|
+
const TotpImageClass = createCssVarImageClass({ componentName: componentName$d, varName: 'url', fallbackVarName: 'fallbackUrl' });
|
2284
2293
|
|
2285
|
-
customElements.define(componentName$d,
|
2294
|
+
customElements.define(componentName$d, TotpImageClass);
|
2286
2295
|
|
2287
2296
|
const componentName$c = getComponentName('number-field');
|
2288
2297
|
|
@@ -5566,7 +5575,7 @@ const globals = {
|
|
5566
5575
|
shadow,
|
5567
5576
|
fonts
|
5568
5577
|
};
|
5569
|
-
const vars$
|
5578
|
+
const vars$n = getThemeVars(globals);
|
5570
5579
|
|
5571
5580
|
const globalRefs$b = getThemeRefs(globals);
|
5572
5581
|
const compVars$2 = ButtonClass.cssVarList;
|
@@ -5579,7 +5588,7 @@ const mode = {
|
|
5579
5588
|
surface: globalRefs$b.colors.surface
|
5580
5589
|
};
|
5581
5590
|
|
5582
|
-
const [helperTheme$3, helperRefs$3, helperVars$2] = createHelperVars({ mode }, componentName$
|
5591
|
+
const [helperTheme$3, helperRefs$3, helperVars$2] = createHelperVars({ mode }, componentName$p);
|
5583
5592
|
|
5584
5593
|
const verticalPaddingRatio = 3;
|
5585
5594
|
const horizontalPaddingRatio = 2;
|
@@ -5661,7 +5670,7 @@ const button = {
|
|
5661
5670
|
}
|
5662
5671
|
};
|
5663
5672
|
|
5664
|
-
const vars$
|
5673
|
+
const vars$m = {
|
5665
5674
|
...compVars$2,
|
5666
5675
|
...helperVars$2
|
5667
5676
|
};
|
@@ -5669,13 +5678,13 @@ const vars$l = {
|
|
5669
5678
|
var button$1 = /*#__PURE__*/Object.freeze({
|
5670
5679
|
__proto__: null,
|
5671
5680
|
default: button,
|
5672
|
-
vars: vars$
|
5681
|
+
vars: vars$m
|
5673
5682
|
});
|
5674
5683
|
|
5675
5684
|
const componentName = getComponentName('input-wrapper');
|
5676
5685
|
const globalRefs$a = getThemeRefs(globals);
|
5677
5686
|
|
5678
|
-
const [theme$1, refs, vars$
|
5687
|
+
const [theme$1, refs, vars$l] = createHelperVars({
|
5679
5688
|
labelTextColor: globalRefs$a.colors.surface.contrast,
|
5680
5689
|
valueTextColor: globalRefs$a.colors.surface.contrast,
|
5681
5690
|
placeholderTextColor: globalRefs$a.colors.surface.main,
|
@@ -5740,20 +5749,54 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
5740
5749
|
__proto__: null,
|
5741
5750
|
default: theme$1,
|
5742
5751
|
refs: refs,
|
5743
|
-
vars: vars$
|
5752
|
+
vars: vars$l
|
5744
5753
|
});
|
5745
5754
|
|
5746
|
-
const vars$
|
5755
|
+
const vars$k = TextFieldClass.cssVarList;
|
5747
5756
|
|
5748
5757
|
const textField = ({
|
5758
|
+
[vars$k.hostWidth]: refs.width,
|
5759
|
+
[vars$k.hostMinWidth]: refs.minWidth,
|
5760
|
+
[vars$k.fontSize]: refs.fontSize,
|
5761
|
+
[vars$k.fontFamily]: refs.fontFamily,
|
5762
|
+
[vars$k.labelTextColor]: refs.labelTextColor,
|
5763
|
+
[vars$k.labelRequiredIndicator]: refs.requiredIndicator,
|
5764
|
+
[vars$k.inputValueTextColor]: refs.valueTextColor,
|
5765
|
+
[vars$k.inputPlaceholderColor]: refs.placeholderTextColor,
|
5766
|
+
[vars$k.inputBorderWidth]: refs.borderWidth,
|
5767
|
+
[vars$k.inputBorderStyle]: refs.borderStyle,
|
5768
|
+
[vars$k.inputBorderColor]: refs.borderColor,
|
5769
|
+
[vars$k.inputBorderRadius]: refs.borderRadius,
|
5770
|
+
[vars$k.inputOutlineWidth]: refs.outlineWidth,
|
5771
|
+
[vars$k.inputOutlineStyle]: refs.outlineStyle,
|
5772
|
+
[vars$k.inputOutlineColor]: refs.outlineColor,
|
5773
|
+
[vars$k.inputOutlineOffset]: refs.outlineOffset,
|
5774
|
+
[vars$k.inputBackgroundColor]: refs.backgroundColor,
|
5775
|
+
[vars$k.inputHeight]: refs.inputHeight,
|
5776
|
+
[vars$k.inputHorizontalPadding]: refs.horizontalPadding
|
5777
|
+
});
|
5778
|
+
|
5779
|
+
var textField$1 = /*#__PURE__*/Object.freeze({
|
5780
|
+
__proto__: null,
|
5781
|
+
default: textField,
|
5782
|
+
textField: textField,
|
5783
|
+
vars: vars$k
|
5784
|
+
});
|
5785
|
+
|
5786
|
+
const globalRefs$9 = getThemeRefs(globals);
|
5787
|
+
const vars$j = PasswordClass.cssVarList;
|
5788
|
+
|
5789
|
+
const password = {
|
5749
5790
|
[vars$j.hostWidth]: refs.width,
|
5750
|
-
[vars$j.hostMinWidth]: refs.minWidth,
|
5751
5791
|
[vars$j.fontSize]: refs.fontSize,
|
5752
5792
|
[vars$j.fontFamily]: refs.fontFamily,
|
5753
5793
|
[vars$j.labelTextColor]: refs.labelTextColor,
|
5794
|
+
[vars$j.inputHorizontalPadding]: refs.horizontalPadding,
|
5795
|
+
[vars$j.inputHeight]: refs.inputHeight,
|
5796
|
+
[vars$j.inputBackgroundColor]: refs.backgroundColor,
|
5754
5797
|
[vars$j.labelRequiredIndicator]: refs.requiredIndicator,
|
5755
5798
|
[vars$j.inputValueTextColor]: refs.valueTextColor,
|
5756
|
-
[vars$j.
|
5799
|
+
[vars$j.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
5757
5800
|
[vars$j.inputBorderWidth]: refs.borderWidth,
|
5758
5801
|
[vars$j.inputBorderStyle]: refs.borderStyle,
|
5759
5802
|
[vars$j.inputBorderColor]: refs.borderColor,
|
@@ -5762,32 +5805,26 @@ const textField = ({
|
|
5762
5805
|
[vars$j.inputOutlineStyle]: refs.outlineStyle,
|
5763
5806
|
[vars$j.inputOutlineColor]: refs.outlineColor,
|
5764
5807
|
[vars$j.inputOutlineOffset]: refs.outlineOffset,
|
5765
|
-
[vars$j.
|
5766
|
-
[vars$j.
|
5767
|
-
|
5768
|
-
});
|
5808
|
+
[vars$j.revealButtonOffset]: globalRefs$9.spacing.md,
|
5809
|
+
[vars$j.revealButtonSize]: refs.toggleButtonSize
|
5810
|
+
};
|
5769
5811
|
|
5770
|
-
var
|
5812
|
+
var password$1 = /*#__PURE__*/Object.freeze({
|
5771
5813
|
__proto__: null,
|
5772
|
-
default:
|
5773
|
-
textField: textField,
|
5814
|
+
default: password,
|
5774
5815
|
vars: vars$j
|
5775
5816
|
});
|
5776
5817
|
|
5777
|
-
const
|
5778
|
-
const vars$i = PasswordClass.cssVarList;
|
5818
|
+
const vars$i = NumberFieldClass.cssVarList;
|
5779
5819
|
|
5780
|
-
const
|
5820
|
+
const numberField = {
|
5781
5821
|
[vars$i.hostWidth]: refs.width,
|
5822
|
+
[vars$i.hostMinWidth]: refs.minWidth,
|
5782
5823
|
[vars$i.fontSize]: refs.fontSize,
|
5783
5824
|
[vars$i.fontFamily]: refs.fontFamily,
|
5784
5825
|
[vars$i.labelTextColor]: refs.labelTextColor,
|
5785
|
-
[vars$i.inputHorizontalPadding]: refs.horizontalPadding,
|
5786
|
-
[vars$i.inputHeight]: refs.inputHeight,
|
5787
|
-
[vars$i.inputBackgroundColor]: refs.backgroundColor,
|
5788
|
-
[vars$i.labelRequiredIndicator]: refs.requiredIndicator,
|
5789
5826
|
[vars$i.inputValueTextColor]: refs.valueTextColor,
|
5790
|
-
[vars$i.
|
5827
|
+
[vars$i.inputPlaceholderColor]: refs.placeholderTextColor,
|
5791
5828
|
[vars$i.inputBorderWidth]: refs.borderWidth,
|
5792
5829
|
[vars$i.inputBorderStyle]: refs.borderStyle,
|
5793
5830
|
[vars$i.inputBorderColor]: refs.borderColor,
|
@@ -5796,25 +5833,28 @@ const password = {
|
|
5796
5833
|
[vars$i.inputOutlineStyle]: refs.outlineStyle,
|
5797
5834
|
[vars$i.inputOutlineColor]: refs.outlineColor,
|
5798
5835
|
[vars$i.inputOutlineOffset]: refs.outlineOffset,
|
5799
|
-
[vars$i.
|
5800
|
-
[vars$i.
|
5836
|
+
[vars$i.inputBackgroundColor]: refs.backgroundColor,
|
5837
|
+
[vars$i.labelRequiredIndicator]: refs.requiredIndicator,
|
5838
|
+
[vars$i.inputHorizontalPadding]: refs.horizontalPadding,
|
5839
|
+
[vars$i.inputHeight]: refs.inputHeight
|
5801
5840
|
};
|
5802
5841
|
|
5803
|
-
var
|
5842
|
+
var numberField$1 = /*#__PURE__*/Object.freeze({
|
5804
5843
|
__proto__: null,
|
5805
|
-
default:
|
5844
|
+
default: numberField,
|
5806
5845
|
vars: vars$i
|
5807
5846
|
});
|
5808
5847
|
|
5809
|
-
const vars$h =
|
5848
|
+
const vars$h = EmailFieldClass.cssVarList;
|
5810
5849
|
|
5811
|
-
const
|
5850
|
+
const emailField = {
|
5812
5851
|
[vars$h.hostWidth]: refs.width,
|
5813
5852
|
[vars$h.hostMinWidth]: refs.minWidth,
|
5814
5853
|
[vars$h.fontSize]: refs.fontSize,
|
5815
5854
|
[vars$h.fontFamily]: refs.fontFamily,
|
5816
5855
|
[vars$h.labelTextColor]: refs.labelTextColor,
|
5817
5856
|
[vars$h.inputValueTextColor]: refs.valueTextColor,
|
5857
|
+
[vars$h.labelRequiredIndicator]: refs.requiredIndicator,
|
5818
5858
|
[vars$h.inputPlaceholderColor]: refs.placeholderTextColor,
|
5819
5859
|
[vars$h.inputBorderWidth]: refs.borderWidth,
|
5820
5860
|
[vars$h.inputBorderStyle]: refs.borderStyle,
|
@@ -5825,190 +5865,159 @@ const numberField = {
|
|
5825
5865
|
[vars$h.inputOutlineColor]: refs.outlineColor,
|
5826
5866
|
[vars$h.inputOutlineOffset]: refs.outlineOffset,
|
5827
5867
|
[vars$h.inputBackgroundColor]: refs.backgroundColor,
|
5828
|
-
[vars$h.labelRequiredIndicator]: refs.requiredIndicator,
|
5829
5868
|
[vars$h.inputHorizontalPadding]: refs.horizontalPadding,
|
5830
5869
|
[vars$h.inputHeight]: refs.inputHeight
|
5831
5870
|
};
|
5832
5871
|
|
5833
|
-
var
|
5872
|
+
var emailField$1 = /*#__PURE__*/Object.freeze({
|
5834
5873
|
__proto__: null,
|
5835
|
-
default:
|
5874
|
+
default: emailField,
|
5836
5875
|
vars: vars$h
|
5837
5876
|
});
|
5838
5877
|
|
5839
|
-
const
|
5878
|
+
const globalRefs$8 = getThemeRefs(globals);
|
5879
|
+
const vars$g = TextAreaClass.cssVarList;
|
5840
5880
|
|
5841
|
-
const
|
5881
|
+
const textArea = {
|
5842
5882
|
[vars$g.hostWidth]: refs.width,
|
5843
5883
|
[vars$g.hostMinWidth]: refs.minWidth,
|
5844
|
-
[vars$g.fontSize]:
|
5884
|
+
[vars$g.fontSize]: '14px',
|
5845
5885
|
[vars$g.fontFamily]: refs.fontFamily,
|
5846
5886
|
[vars$g.labelTextColor]: refs.labelTextColor,
|
5847
|
-
[vars$g.inputValueTextColor]: refs.valueTextColor,
|
5848
5887
|
[vars$g.labelRequiredIndicator]: refs.requiredIndicator,
|
5849
|
-
[vars$g.
|
5888
|
+
[vars$g.inputBackgroundColor]: refs.backgroundColor,
|
5889
|
+
[vars$g.inputValueTextColor]: refs.valueTextColor,
|
5890
|
+
[vars$g.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
5891
|
+
[vars$g.inputBorderRadius]: refs.borderRadius,
|
5850
5892
|
[vars$g.inputBorderWidth]: refs.borderWidth,
|
5851
5893
|
[vars$g.inputBorderStyle]: refs.borderStyle,
|
5852
5894
|
[vars$g.inputBorderColor]: refs.borderColor,
|
5853
|
-
[vars$g.inputBorderRadius]: refs.borderRadius,
|
5854
5895
|
[vars$g.inputOutlineWidth]: refs.outlineWidth,
|
5855
5896
|
[vars$g.inputOutlineStyle]: refs.outlineStyle,
|
5856
5897
|
[vars$g.inputOutlineColor]: refs.outlineColor,
|
5857
5898
|
[vars$g.inputOutlineOffset]: refs.outlineOffset,
|
5858
|
-
[vars$g.
|
5859
|
-
[vars$g.inputHorizontalPadding]: refs.horizontalPadding,
|
5860
|
-
[vars$g.inputHeight]: refs.inputHeight
|
5861
|
-
};
|
5862
|
-
|
5863
|
-
var emailField$1 = /*#__PURE__*/Object.freeze({
|
5864
|
-
__proto__: null,
|
5865
|
-
default: emailField,
|
5866
|
-
vars: vars$g
|
5867
|
-
});
|
5868
|
-
|
5869
|
-
const globalRefs$8 = getThemeRefs(globals);
|
5870
|
-
const vars$f = TextAreaClass.cssVarList;
|
5871
|
-
|
5872
|
-
const textArea = {
|
5873
|
-
[vars$f.hostWidth]: refs.width,
|
5874
|
-
[vars$f.hostMinWidth]: refs.minWidth,
|
5875
|
-
[vars$f.fontSize]: '14px',
|
5876
|
-
[vars$f.fontFamily]: refs.fontFamily,
|
5877
|
-
[vars$f.labelTextColor]: refs.labelTextColor,
|
5878
|
-
[vars$f.labelRequiredIndicator]: refs.requiredIndicator,
|
5879
|
-
[vars$f.inputBackgroundColor]: refs.backgroundColor,
|
5880
|
-
[vars$f.inputValueTextColor]: refs.valueTextColor,
|
5881
|
-
[vars$f.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
5882
|
-
[vars$f.inputBorderRadius]: refs.borderRadius,
|
5883
|
-
[vars$f.inputBorderWidth]: refs.borderWidth,
|
5884
|
-
[vars$f.inputBorderStyle]: refs.borderStyle,
|
5885
|
-
[vars$f.inputBorderColor]: refs.borderColor,
|
5886
|
-
[vars$f.inputOutlineWidth]: refs.outlineWidth,
|
5887
|
-
[vars$f.inputOutlineStyle]: refs.outlineStyle,
|
5888
|
-
[vars$f.inputOutlineColor]: refs.outlineColor,
|
5889
|
-
[vars$f.inputOutlineOffset]: refs.outlineOffset,
|
5890
|
-
[vars$f.inputResizeType]: 'vertical',
|
5899
|
+
[vars$g.inputResizeType]: 'vertical',
|
5891
5900
|
|
5892
5901
|
_disabled: {
|
5893
|
-
[vars$
|
5902
|
+
[vars$g.inputBackgroundColor]: globalRefs$8.colors.surface.light,
|
5894
5903
|
},
|
5895
5904
|
|
5896
5905
|
_readonly: {
|
5897
|
-
[vars$
|
5906
|
+
[vars$g.inputResizeType]: 'none',
|
5898
5907
|
}
|
5899
5908
|
};
|
5900
5909
|
|
5901
5910
|
var textArea$1 = /*#__PURE__*/Object.freeze({
|
5902
5911
|
__proto__: null,
|
5903
5912
|
default: textArea,
|
5904
|
-
vars: vars$
|
5913
|
+
vars: vars$g
|
5905
5914
|
});
|
5906
5915
|
|
5907
5916
|
getThemeRefs(globals);
|
5908
|
-
const vars$
|
5917
|
+
const vars$f = CheckboxClass.cssVarList;
|
5909
5918
|
|
5910
5919
|
const checkbox = {
|
5911
|
-
[vars$
|
5912
|
-
[vars$
|
5913
|
-
[vars$
|
5914
|
-
[vars$
|
5915
|
-
[vars$
|
5916
|
-
[vars$
|
5917
|
-
[vars$
|
5918
|
-
[vars$
|
5919
|
-
[vars$
|
5920
|
-
[vars$
|
5921
|
-
[vars$
|
5922
|
-
[vars$
|
5923
|
-
[vars$
|
5924
|
-
[vars$
|
5925
|
-
[vars$
|
5926
|
-
[vars$
|
5927
|
-
[vars$
|
5920
|
+
[vars$f.hostWidth]: refs.width,
|
5921
|
+
[vars$f.fontSize]: refs.fontSize,
|
5922
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
5923
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
5924
|
+
[vars$f.labelRequiredIndicator]: refs.requiredIndicator,
|
5925
|
+
[vars$f.labelFontWeight]: '400',
|
5926
|
+
[vars$f.labelSpacing]: '0.75em',
|
5927
|
+
[vars$f.inputOutlineWidth]: refs.outlineWidth,
|
5928
|
+
[vars$f.inputOutlineOffset]: refs.outlineOffset,
|
5929
|
+
[vars$f.inputOutlineColor]: refs.outlineColor,
|
5930
|
+
[vars$f.inputOutlineStyle]: refs.outlineStyle,
|
5931
|
+
[vars$f.inputBorderRadius]: refs.borderRadius,
|
5932
|
+
[vars$f.inputBorderColor]: refs.borderColor,
|
5933
|
+
[vars$f.inputBorderWidth]: refs.borderWidth,
|
5934
|
+
[vars$f.inputBorderStyle]: refs.borderStyle,
|
5935
|
+
[vars$f.inputBackgroundColor]: refs.inputBackgroundColor,
|
5936
|
+
[vars$f.inputSize]: '2em',
|
5928
5937
|
|
5929
5938
|
_checked: {
|
5930
|
-
[vars$
|
5931
|
-
[vars$
|
5939
|
+
[vars$f.inputBackgroundColor]: refs.backgroundColor,
|
5940
|
+
[vars$f.inputValueTextColor]: refs.valueTextColor,
|
5932
5941
|
},
|
5933
5942
|
|
5934
5943
|
_disabled: {
|
5935
|
-
[vars$
|
5944
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
5936
5945
|
},
|
5937
5946
|
};
|
5938
5947
|
|
5939
5948
|
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
5940
5949
|
__proto__: null,
|
5941
5950
|
default: checkbox,
|
5942
|
-
vars: vars$
|
5951
|
+
vars: vars$f
|
5943
5952
|
});
|
5944
5953
|
|
5945
5954
|
const knobMargin = '2px';
|
5946
5955
|
const checkboxHeight = '1.25em';
|
5947
5956
|
|
5948
5957
|
const globalRefs$7 = getThemeRefs(globals);
|
5949
|
-
const vars$
|
5958
|
+
const vars$e = SwitchToggleClass.cssVarList;
|
5950
5959
|
|
5951
5960
|
const switchToggle = {
|
5952
|
-
[vars$
|
5953
|
-
[vars$
|
5954
|
-
|
5955
|
-
[vars$
|
5956
|
-
[vars$
|
5957
|
-
[vars$
|
5958
|
-
[vars$
|
5959
|
-
|
5960
|
-
[vars$
|
5961
|
-
[vars$
|
5962
|
-
[vars$
|
5963
|
-
[vars$
|
5964
|
-
[vars$
|
5965
|
-
[vars$
|
5966
|
-
[vars$
|
5967
|
-
|
5968
|
-
[vars$
|
5969
|
-
[vars$
|
5970
|
-
[vars$
|
5971
|
-
[vars$
|
5972
|
-
[vars$
|
5973
|
-
[vars$
|
5974
|
-
|
5975
|
-
[vars$
|
5976
|
-
[vars$
|
5977
|
-
[vars$
|
5978
|
-
[vars$
|
5979
|
-
[vars$
|
5980
|
-
|
5981
|
-
[vars$
|
5961
|
+
[vars$e.fontSize]: refs.fontSize,
|
5962
|
+
[vars$e.fontFamily]: refs.fontFamily,
|
5963
|
+
|
5964
|
+
[vars$e.inputOutlineWidth]: refs.outlineWidth,
|
5965
|
+
[vars$e.inputOutlineOffset]: refs.outlineOffset,
|
5966
|
+
[vars$e.inputOutlineColor]: refs.outlineColor,
|
5967
|
+
[vars$e.inputOutlineStyle]: refs.outlineStyle,
|
5968
|
+
|
5969
|
+
[vars$e.trackBorderStyle]: refs.borderStyle,
|
5970
|
+
[vars$e.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
5971
|
+
[vars$e.trackBorderColor]: refs.borderColor,
|
5972
|
+
[vars$e.trackBackgroundColor]: 'none',
|
5973
|
+
[vars$e.trackBorderRadius]: globalRefs$7.radius.md,
|
5974
|
+
[vars$e.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
5975
|
+
[vars$e.trackHeight]: checkboxHeight,
|
5976
|
+
|
5977
|
+
[vars$e.knobSize]: `calc(1em - ${knobMargin})`,
|
5978
|
+
[vars$e.knobRadius]: '50%',
|
5979
|
+
[vars$e.knobTopOffset]: '1px',
|
5980
|
+
[vars$e.knobLeftOffset]: knobMargin,
|
5981
|
+
[vars$e.knobColor]: refs.valueTextColor,
|
5982
|
+
[vars$e.knobTransitionDuration]: '0.3s',
|
5983
|
+
|
5984
|
+
[vars$e.labelTextColor]: refs.labelTextColor,
|
5985
|
+
[vars$e.labelFontWeight]: '400',
|
5986
|
+
[vars$e.labelLineHeight]: `calc(${checkboxHeight} + 0.25em)`,
|
5987
|
+
[vars$e.labelSpacing]: '0.25em',
|
5988
|
+
[vars$e.labelRequiredIndicator]: refs.requiredIndicator,
|
5989
|
+
|
5990
|
+
[vars$e.hostWidth]: refs.width,
|
5982
5991
|
|
5983
5992
|
_checked: {
|
5984
|
-
[vars$
|
5985
|
-
[vars$
|
5986
|
-
[vars$
|
5987
|
-
[vars$
|
5988
|
-
[vars$
|
5993
|
+
[vars$e.trackBorderColor]: refs.borderColor,
|
5994
|
+
[vars$e.trackBackgroundColor]: refs.backgroundColor,
|
5995
|
+
[vars$e.knobLeftOffset]: `calc(100% - var(${vars$e.knobSize}) - ${knobMargin})`,
|
5996
|
+
[vars$e.knobColor]: refs.valueTextColor,
|
5997
|
+
[vars$e.knobTextColor]: refs.valueTextColor,
|
5989
5998
|
},
|
5990
5999
|
|
5991
6000
|
_disabled: {
|
5992
|
-
[vars$
|
5993
|
-
[vars$
|
5994
|
-
[vars$
|
5995
|
-
[vars$
|
6001
|
+
[vars$e.knobColor]: globalRefs$7.colors.surface.light,
|
6002
|
+
[vars$e.trackBorderColor]: globalRefs$7.colors.surface.main,
|
6003
|
+
[vars$e.trackBackgroundColor]: globalRefs$7.colors.surface.main,
|
6004
|
+
[vars$e.labelTextColor]: refs.labelTextColor,
|
5996
6005
|
_checked: {
|
5997
|
-
[vars$
|
5998
|
-
[vars$
|
6006
|
+
[vars$e.knobColor]: globalRefs$7.colors.surface.light,
|
6007
|
+
[vars$e.trackBackgroundColor]: globalRefs$7.colors.surface.main,
|
5999
6008
|
}
|
6000
6009
|
},
|
6001
6010
|
|
6002
6011
|
_invalid: {
|
6003
|
-
[vars$
|
6004
|
-
[vars$
|
6012
|
+
[vars$e.trackBorderColor]: globalRefs$7.colors.error.main,
|
6013
|
+
[vars$e.knobColor]: globalRefs$7.colors.error.main,
|
6005
6014
|
},
|
6006
6015
|
};
|
6007
6016
|
|
6008
6017
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
6009
6018
|
__proto__: null,
|
6010
6019
|
default: switchToggle,
|
6011
|
-
vars: vars$
|
6020
|
+
vars: vars$e
|
6012
6021
|
});
|
6013
6022
|
|
6014
6023
|
const globalRefs$6 = getThemeRefs(globals);
|
@@ -6032,7 +6041,7 @@ const [helperTheme$2, helperRefs$2, helperVars$1] =
|
|
6032
6041
|
verticalAlignment,
|
6033
6042
|
horizontalAlignment,
|
6034
6043
|
shadowColor: '#00000020' //if we want to support transparency vars, we should use different color format
|
6035
|
-
}, componentName$
|
6044
|
+
}, componentName$j);
|
6036
6045
|
|
6037
6046
|
const { shadowColor } = helperRefs$2;
|
6038
6047
|
|
@@ -6107,7 +6116,7 @@ const container = {
|
|
6107
6116
|
}
|
6108
6117
|
};
|
6109
6118
|
|
6110
|
-
const vars$
|
6119
|
+
const vars$d = {
|
6111
6120
|
...compVars$1,
|
6112
6121
|
...helperVars$1
|
6113
6122
|
};
|
@@ -6115,16 +6124,28 @@ const vars$c = {
|
|
6115
6124
|
var container$1 = /*#__PURE__*/Object.freeze({
|
6116
6125
|
__proto__: null,
|
6117
6126
|
default: container,
|
6127
|
+
vars: vars$d
|
6128
|
+
});
|
6129
|
+
|
6130
|
+
const vars$c = LogoClass.cssVarList;
|
6131
|
+
|
6132
|
+
const logo$1 = {
|
6133
|
+
[vars$c.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)'
|
6134
|
+
};
|
6135
|
+
|
6136
|
+
var logo$2 = /*#__PURE__*/Object.freeze({
|
6137
|
+
__proto__: null,
|
6138
|
+
default: logo$1,
|
6118
6139
|
vars: vars$c
|
6119
6140
|
});
|
6120
6141
|
|
6121
|
-
const vars$b =
|
6142
|
+
const vars$b = TotpImageClass.cssVarList;
|
6122
6143
|
|
6123
6144
|
const logo = {
|
6124
|
-
[vars$b.fallbackUrl]: 'url(https://imgs.descope.com/components/
|
6145
|
+
[vars$b.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)'
|
6125
6146
|
};
|
6126
6147
|
|
6127
|
-
var
|
6148
|
+
var totpImage = /*#__PURE__*/Object.freeze({
|
6128
6149
|
__proto__: null,
|
6129
6150
|
default: logo,
|
6130
6151
|
vars: vars$b
|
@@ -6276,7 +6297,7 @@ const [
|
|
6276
6297
|
] = createHelperVars({
|
6277
6298
|
thickness: '2px',
|
6278
6299
|
spacing: '10px'
|
6279
|
-
}, componentName$
|
6300
|
+
}, componentName$i);
|
6280
6301
|
|
6281
6302
|
const divider = {
|
6282
6303
|
...helperTheme$1,
|
@@ -6402,7 +6423,7 @@ const [helperTheme, helperRefs] = createHelperVars({
|
|
6402
6423
|
spinnerColor: globalRefs$1.colors.secondary.main
|
6403
6424
|
}
|
6404
6425
|
}
|
6405
|
-
}, componentName$
|
6426
|
+
}, componentName$k);
|
6406
6427
|
|
6407
6428
|
const loaderRadial = {
|
6408
6429
|
...helperTheme,
|
@@ -6560,7 +6581,8 @@ const components = {
|
|
6560
6581
|
checkbox: checkbox$1,
|
6561
6582
|
switchToggle: switchToggle$1,
|
6562
6583
|
container: container$1,
|
6563
|
-
logo: logo$
|
6584
|
+
logo: logo$2,
|
6585
|
+
totpImage,
|
6564
6586
|
text: text$1,
|
6565
6587
|
link: link$1,
|
6566
6588
|
divider: divider$1,
|
@@ -6578,7 +6600,7 @@ const theme = Object.keys(components).reduce((acc, comp) => ({ ...acc, [comp]: c
|
|
6578
6600
|
const vars = Object.keys(components).reduce((acc, comp) => ({ ...acc, [comp]: components[comp].vars }), {});
|
6579
6601
|
|
6580
6602
|
const defaultTheme = { globals, components: theme };
|
6581
|
-
const themeVars = { globals: vars$
|
6603
|
+
const themeVars = { globals: vars$n, components: vars };
|
6582
6604
|
|
6583
|
-
export { ButtonClass, CheckboxClass, ContainerClass, DividerClass, EmailFieldClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, NewPasswordClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, componentsThemeManager, createComponentsTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
6605
|
+
export { ButtonClass, CheckboxClass, ContainerClass, DividerClass, EmailFieldClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, NewPasswordClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, componentsThemeManager, createComponentsTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
6584
6606
|
//# sourceMappingURL=index.esm.js.map
|