@descope/web-components-ui 1.0.102 → 1.0.104
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/README.md +2 -156
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +397 -365
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/241.js +1 -0
- package/dist/umd/447.js +1 -1
- package/dist/umd/878.js +1 -1
- package/dist/umd/890.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-link-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-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-passcode-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/index.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-combo-box/ComboBox.js +1 -1
- package/src/components/descope-container/Container.js +2 -1
- package/src/components/descope-divider/Divider.js +1 -0
- package/src/components/descope-email-field/EmailField.js +6 -8
- package/src/components/descope-new-password/NewPassword.js +16 -13
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +4 -1
- package/src/components/descope-number-field/NumberField.js +7 -10
- package/src/components/descope-passcode/Passcode.js +83 -67
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +3 -7
- package/src/components/descope-password-field/PasswordField.js +27 -13
- package/src/components/descope-password-field/passwordDraggableMixin.js +3 -2
- package/src/components/descope-phone-field/PhoneField.js +15 -1
- package/src/components/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +5 -2
- package/src/components/descope-text-area/TextArea.js +6 -7
- package/src/components/descope-text-field/TextField.js +4 -10
- package/src/components/descope-text-field/textFieldMappings.js +1 -0
- package/src/helpers/themeHelpers/index.js +1 -1
- package/src/mixins/inputValidationMixin.js +15 -6
- package/src/mixins/proxyInputMixin.js +3 -1
- package/src/theme/components/comboBox.js +4 -10
- package/src/theme/components/logo.js +1 -0
- package/src/theme/components/newPassword.js +11 -24
- package/src/theme/components/passcode.js +3 -3
- package/src/theme/components/passwordField.js +7 -8
- package/src/theme/components/phoneField.js +8 -16
- package/src/theme/components/textArea.js +9 -2
- package/src/theme/components/textField.js +3 -5
- package/dist/umd/0.js +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -658,7 +658,7 @@ const createProxy = ({
|
|
|
658
658
|
return ProxyClass;
|
|
659
659
|
};
|
|
660
660
|
|
|
661
|
-
const observedAttributes$
|
|
661
|
+
const observedAttributes$3 = [
|
|
662
662
|
'required',
|
|
663
663
|
'pattern',
|
|
664
664
|
];
|
|
@@ -673,7 +673,7 @@ const inputValidationMixin = (superclass) => class InputValidationMixinClass ext
|
|
|
673
673
|
static get observedAttributes() {
|
|
674
674
|
return [
|
|
675
675
|
...superclass.observedAttributes || [],
|
|
676
|
-
...observedAttributes$
|
|
676
|
+
...observedAttributes$3
|
|
677
677
|
];
|
|
678
678
|
}
|
|
679
679
|
|
|
@@ -706,20 +706,29 @@ const inputValidationMixin = (superclass) => class InputValidationMixinClass ext
|
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
getErrorMessage(flags) {
|
|
709
|
+
const {
|
|
710
|
+
valueMissing,
|
|
711
|
+
patternMismatch,
|
|
712
|
+
typeMismatch,
|
|
713
|
+
stepMismatch,
|
|
714
|
+
tooShort,
|
|
715
|
+
tooLong,
|
|
716
|
+
customError
|
|
717
|
+
} = flags;
|
|
709
718
|
switch (true) {
|
|
710
|
-
case
|
|
719
|
+
case valueMissing:
|
|
711
720
|
return this.getAttribute(errorAttributes.valueMissing) ||
|
|
712
721
|
this.defaultErrorMsgValueMissing
|
|
713
|
-
case
|
|
722
|
+
case patternMismatch || typeMismatch || stepMismatch:
|
|
714
723
|
return this.getAttribute(errorAttributes.patternMismatch) ||
|
|
715
724
|
this.defaultErrorMsgPatternMismatch
|
|
716
|
-
case
|
|
725
|
+
case tooShort:
|
|
717
726
|
return this.getAttribute(errorAttributes.tooShort) ||
|
|
718
727
|
this.defaultErrorMsgTooShort
|
|
719
|
-
case
|
|
728
|
+
case tooLong:
|
|
720
729
|
return this.getAttribute(errorAttributes.tooLong) ||
|
|
721
730
|
this.defaultErrorMsgTooLong
|
|
722
|
-
case
|
|
731
|
+
case customError:
|
|
723
732
|
return this.validationMessage
|
|
724
733
|
default:
|
|
725
734
|
return ''
|
|
@@ -751,7 +760,7 @@ const inputValidationMixin = (superclass) => class InputValidationMixinClass ext
|
|
|
751
760
|
return this.#internals.validity
|
|
752
761
|
}
|
|
753
762
|
|
|
754
|
-
get validationTarget
|
|
763
|
+
get validationTarget() {
|
|
755
764
|
return this.inputElement
|
|
756
765
|
}
|
|
757
766
|
|
|
@@ -783,7 +792,7 @@ const inputValidationMixin = (superclass) => class InputValidationMixinClass ext
|
|
|
783
792
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
784
793
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
785
794
|
|
|
786
|
-
if (observedAttributes$
|
|
795
|
+
if (observedAttributes$3.includes(attrName)) {
|
|
787
796
|
this.#setValidity();
|
|
788
797
|
}
|
|
789
798
|
}
|
|
@@ -863,7 +872,6 @@ const proxyInputMixin = (superclass) =>
|
|
|
863
872
|
|
|
864
873
|
this.#inputElement ??= getNestedInput(inputSlot) || getNestedInput(textAreaSlot);
|
|
865
874
|
|
|
866
|
-
|
|
867
875
|
return this.#inputElement
|
|
868
876
|
}
|
|
869
877
|
|
|
@@ -930,6 +938,8 @@ const proxyInputMixin = (superclass) =>
|
|
|
930
938
|
propertyObserver(this, this.inputElement, 'value');
|
|
931
939
|
propertyObserver(this, this.inputElement, 'selectionStart');
|
|
932
940
|
this.setSelectionRange = this.inputElement.setSelectionRange?.bind(this.inputElement);
|
|
941
|
+
|
|
942
|
+
forwardAttrs(this, this.inputElement, {includeAttrs: ['inputmode']});
|
|
933
943
|
}
|
|
934
944
|
};
|
|
935
945
|
|
|
@@ -1695,10 +1705,11 @@ class RawContainer extends createBaseClass({ componentName: componentName$h, bas
|
|
|
1695
1705
|
width: 100%;
|
|
1696
1706
|
height: 100%;
|
|
1697
1707
|
display: flex;
|
|
1698
|
-
overflow:
|
|
1708
|
+
overflow: hidden;
|
|
1699
1709
|
}
|
|
1700
1710
|
:host {
|
|
1701
1711
|
display: inline-block;
|
|
1712
|
+
overflow: auto;
|
|
1702
1713
|
}
|
|
1703
1714
|
</style>
|
|
1704
1715
|
<slot></slot>
|
|
@@ -1768,6 +1779,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$g, baseS
|
|
|
1768
1779
|
descope-text {
|
|
1769
1780
|
flex-grow: 0;
|
|
1770
1781
|
flex-shrink: 0;
|
|
1782
|
+
min-width: fit-content;
|
|
1771
1783
|
}
|
|
1772
1784
|
|
|
1773
1785
|
:host(:empty) descope-text {
|
|
@@ -1885,6 +1897,7 @@ const selectors$1 = {
|
|
|
1885
1897
|
|
|
1886
1898
|
var textFieldMappings = {
|
|
1887
1899
|
backgroundColor: { selector: selectors$1.inputWrapper },
|
|
1900
|
+
labelTextColor: { selector: selectors$1.label, property: 'color' },
|
|
1888
1901
|
color: { selector: selectors$1.inputWrapper },
|
|
1889
1902
|
width: { selector: selectors$1.host },
|
|
1890
1903
|
borderColor: [
|
|
@@ -1947,6 +1960,8 @@ const EmailField = compose(
|
|
|
1947
1960
|
overrides$4 = `
|
|
1948
1961
|
:host {
|
|
1949
1962
|
display: inline-block;
|
|
1963
|
+
min-width: 10em;
|
|
1964
|
+
max-width: 100%;
|
|
1950
1965
|
}
|
|
1951
1966
|
vaadin-email-field {
|
|
1952
1967
|
margin: 0;
|
|
@@ -1956,8 +1971,12 @@ overrides$4 = `
|
|
|
1956
1971
|
vaadin-email-field::before {
|
|
1957
1972
|
height: 0;
|
|
1958
1973
|
}
|
|
1974
|
+
vaadin-email-field > input {
|
|
1975
|
+
-webkit-mask-image: none;
|
|
1976
|
+
}
|
|
1959
1977
|
vaadin-email-field::part(input-field) {
|
|
1960
1978
|
overflow: hidden;
|
|
1979
|
+
padding: 0;
|
|
1961
1980
|
}
|
|
1962
1981
|
vaadin-email-field[readonly] > input:placeholder-shown {
|
|
1963
1982
|
opacity: 1;
|
|
@@ -1970,14 +1989,6 @@ overrides$4 = `
|
|
|
1970
1989
|
-webkit-text-fill-color: var(${EmailField.cssVarList.color});
|
|
1971
1990
|
box-shadow: 0 0 0 var(${EmailField.cssVarList.height}) var(${EmailField.cssVarList.backgroundColor}) inset;
|
|
1972
1991
|
}
|
|
1973
|
-
vaadin-email-field > label,
|
|
1974
|
-
vaadin-email-field::part(input-field) {
|
|
1975
|
-
cursor: pointer;
|
|
1976
|
-
color: var(${EmailField.cssVarList.color});
|
|
1977
|
-
}
|
|
1978
|
-
vaadin-email-field::part(input-field):focus {
|
|
1979
|
-
cursor: text;
|
|
1980
|
-
}
|
|
1981
1992
|
vaadin-email-field[required]::part(required-indicator)::after {
|
|
1982
1993
|
content: "*";
|
|
1983
1994
|
color: var(${EmailField.cssVarList.color});
|
|
@@ -2123,13 +2134,19 @@ const NumberField = compose(
|
|
|
2123
2134
|
overrides$3 = `
|
|
2124
2135
|
:host {
|
|
2125
2136
|
display: inline-block;
|
|
2137
|
+
min-width: 10em;
|
|
2138
|
+
max-width: 100%;
|
|
2126
2139
|
}
|
|
2127
2140
|
vaadin-number-field {
|
|
2128
2141
|
margin: 0;
|
|
2129
2142
|
padding: 0;
|
|
2143
|
+
width: 100%;
|
|
2144
|
+
}
|
|
2145
|
+
vaadin-number-field > input {
|
|
2146
|
+
-webkit-mask-image: none;
|
|
2130
2147
|
}
|
|
2131
2148
|
vaadin-number-field::part(input-field) {
|
|
2132
|
-
|
|
2149
|
+
padding: 0;
|
|
2133
2150
|
}
|
|
2134
2151
|
vaadin-number-field[readonly] > input:placeholder-shown {
|
|
2135
2152
|
opacity: 1;
|
|
@@ -2142,16 +2159,7 @@ overrides$3 = `
|
|
|
2142
2159
|
-webkit-text-fill-color: var(${NumberField.cssVarList.color});
|
|
2143
2160
|
box-shadow: 0 0 0 var(${NumberField.cssVarList.height}) var(${NumberField.cssVarList.backgroundColor}) inset;
|
|
2144
2161
|
}
|
|
2145
|
-
vaadin-number-field > label,
|
|
2146
|
-
vaadin-number-field::part(input-field) {
|
|
2147
|
-
cursor: pointer;
|
|
2148
|
-
color: var(${NumberField.cssVarList.color});
|
|
2149
|
-
}
|
|
2150
|
-
vaadin-number-field::part(input-field):focus {
|
|
2151
|
-
cursor: text;
|
|
2152
|
-
}
|
|
2153
2162
|
vaadin-number-field[required]::part(required-indicator)::after {
|
|
2154
|
-
font-size: "12px";
|
|
2155
2163
|
content: "*";
|
|
2156
2164
|
color: var(${NumberField.cssVarList.color});
|
|
2157
2165
|
}
|
|
@@ -2178,7 +2186,7 @@ const getSanitizedCharacters = (str) => {
|
|
|
2178
2186
|
|
|
2179
2187
|
const componentName$a = getComponentName('passcode-internal');
|
|
2180
2188
|
|
|
2181
|
-
const observedAttributes$
|
|
2189
|
+
const observedAttributes$2 = [
|
|
2182
2190
|
'digits'
|
|
2183
2191
|
];
|
|
2184
2192
|
|
|
@@ -2194,16 +2202,13 @@ const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$a,
|
|
|
2194
2202
|
|
|
2195
2203
|
class PasscodeInternal extends BaseInputClass$2 {
|
|
2196
2204
|
static get observedAttributes() {
|
|
2197
|
-
return observedAttributes$
|
|
2205
|
+
return observedAttributes$2.concat(BaseInputClass$2.observedAttributes || []);
|
|
2198
2206
|
}
|
|
2199
2207
|
|
|
2200
2208
|
static get componentName() {
|
|
2201
2209
|
return componentName$a;
|
|
2202
2210
|
}
|
|
2203
2211
|
|
|
2204
|
-
#dispatchBlur = createDispatchEvent.bind(this, 'blur')
|
|
2205
|
-
#dispatchFocus = createDispatchEvent.bind(this, 'focus')
|
|
2206
|
-
|
|
2207
2212
|
constructor() {
|
|
2208
2213
|
super();
|
|
2209
2214
|
|
|
@@ -2226,7 +2231,8 @@ class PasscodeInternal extends BaseInputClass$2 {
|
|
|
2226
2231
|
<descope-text-field
|
|
2227
2232
|
data-id=${idx}
|
|
2228
2233
|
type="tel"
|
|
2229
|
-
autocomplete="
|
|
2234
|
+
autocomplete="one-time-code"
|
|
2235
|
+
inputMode="numeric"
|
|
2230
2236
|
></descope-text-field>
|
|
2231
2237
|
`);
|
|
2232
2238
|
|
|
@@ -2282,7 +2288,6 @@ class PasscodeInternal extends BaseInputClass$2 {
|
|
|
2282
2288
|
super.init?.();
|
|
2283
2289
|
|
|
2284
2290
|
this.renderInputs();
|
|
2285
|
-
|
|
2286
2291
|
}
|
|
2287
2292
|
|
|
2288
2293
|
getInputIdx(inputEle) {
|
|
@@ -2355,7 +2360,7 @@ class PasscodeInternal extends BaseInputClass$2 {
|
|
|
2355
2360
|
|
|
2356
2361
|
// sync attributes to inputs
|
|
2357
2362
|
if (oldValue !== newValue) {
|
|
2358
|
-
if (observedAttributes$
|
|
2363
|
+
if (observedAttributes$2.includes(attrName)) {
|
|
2359
2364
|
if (attrName === 'digits') {
|
|
2360
2365
|
this.renderInputs();
|
|
2361
2366
|
}
|
|
@@ -2412,10 +2417,12 @@ overrides$2 = `
|
|
|
2412
2417
|
:host {
|
|
2413
2418
|
display: inline-block;
|
|
2414
2419
|
--vaadin-field-default-width: auto;
|
|
2420
|
+
max-width: 100%;
|
|
2421
|
+
min-width: 10em;
|
|
2422
|
+
|
|
2415
2423
|
}
|
|
2416
2424
|
vaadin-text-field {
|
|
2417
2425
|
margin: 0;
|
|
2418
|
-
padding: 0;
|
|
2419
2426
|
width: 100%;
|
|
2420
2427
|
height: 100%;
|
|
2421
2428
|
box-sizing: border-box;
|
|
@@ -2438,18 +2445,11 @@ overrides$2 = `
|
|
|
2438
2445
|
box-shadow: 0 0 0 var(${TextField.cssVarList.height}) var(${TextField.cssVarList.backgroundColor}) inset;
|
|
2439
2446
|
}
|
|
2440
2447
|
|
|
2441
|
-
vaadin-text-field input {
|
|
2448
|
+
vaadin-text-field > input {
|
|
2442
2449
|
-webkit-mask-image: none;
|
|
2443
2450
|
min-height: 0;
|
|
2444
2451
|
}
|
|
2445
2452
|
|
|
2446
|
-
vaadin-text-field > label,
|
|
2447
|
-
vaadin-text-field::part(input-field) {
|
|
2448
|
-
color: var(${TextField.cssVarList.color});
|
|
2449
|
-
}
|
|
2450
|
-
vaadin-text-field::part(input-field):focus {
|
|
2451
|
-
cursor: text;
|
|
2452
|
-
}
|
|
2453
2453
|
vaadin-text-field[required]::part(required-indicator)::after {
|
|
2454
2454
|
content: "*";
|
|
2455
2455
|
color: var(${TextField.cssVarList.color});
|
|
@@ -2458,7 +2458,6 @@ overrides$2 = `
|
|
|
2458
2458
|
opacity: 0 !important;
|
|
2459
2459
|
}
|
|
2460
2460
|
|
|
2461
|
-
|
|
2462
2461
|
vaadin-text-field::before {
|
|
2463
2462
|
height: unset;
|
|
2464
2463
|
}
|
|
@@ -2466,8 +2465,16 @@ overrides$2 = `
|
|
|
2466
2465
|
|
|
2467
2466
|
const componentName$8 = getComponentName('passcode');
|
|
2468
2467
|
|
|
2468
|
+
const observedAttributes$1 = [
|
|
2469
|
+
'digits'
|
|
2470
|
+
];
|
|
2471
|
+
|
|
2469
2472
|
const customMixin$2 = (superclass) =>
|
|
2470
2473
|
class PasscodeClass extends superclass {
|
|
2474
|
+
static get observedAttributes() {
|
|
2475
|
+
return observedAttributes$1.concat(superclass.observedAttributes || []);
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2471
2478
|
constructor() {
|
|
2472
2479
|
super();
|
|
2473
2480
|
}
|
|
@@ -2495,6 +2502,14 @@ const customMixin$2 = (superclass) =>
|
|
|
2495
2502
|
|
|
2496
2503
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
|
|
2497
2504
|
}
|
|
2505
|
+
|
|
2506
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
2507
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
2508
|
+
|
|
2509
|
+
if (attrName === 'digits') {
|
|
2510
|
+
this.style.setProperty('--passcode-digits-count', newValue);
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2498
2513
|
};
|
|
2499
2514
|
|
|
2500
2515
|
const { borderStyle, borderWidth, ...restTextFieldMappings } =
|
|
@@ -2503,7 +2518,7 @@ const { borderStyle, borderWidth, ...restTextFieldMappings } =
|
|
|
2503
2518
|
const { digitField, label: label$4, requiredIndicator: requiredIndicator$3, internalWrapper, focusedDigitField } = {
|
|
2504
2519
|
focusedDigitField: { selector: () => `${TextField.componentName}[focused="true"]` },
|
|
2505
2520
|
digitField: { selector: () => TextField.componentName },
|
|
2506
|
-
label: { selector: '
|
|
2521
|
+
label: { selector: '::part(label)' },
|
|
2507
2522
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
|
2508
2523
|
internalWrapper: { selector: 'descope-passcode-internal .wrapper' }
|
|
2509
2524
|
};
|
|
@@ -2528,10 +2543,7 @@ const Passcode = compose(
|
|
|
2528
2543
|
textAlign: { ...digitField, property: textVars$1.textAlign },
|
|
2529
2544
|
caretColor: { ...digitField, property: textVars$1.caretColor },
|
|
2530
2545
|
digitsGap: { ...internalWrapper, property: 'gap' },
|
|
2531
|
-
|
|
2532
|
-
{ ...focusedDigitField, property: textVars$1.borderColor },
|
|
2533
|
-
{ ...focusedDigitField, property: textVars$1.outlineColor }
|
|
2534
|
-
]
|
|
2546
|
+
focusedDigitFieldOutlineColor: { ...focusedDigitField, property: textVars$1.outlineColor }
|
|
2535
2547
|
},
|
|
2536
2548
|
}),
|
|
2537
2549
|
draggableMixin,
|
|
@@ -2543,68 +2555,71 @@ const Passcode = compose(
|
|
|
2543
2555
|
slots: [],
|
|
2544
2556
|
wrappedEleName: 'vaadin-text-field',
|
|
2545
2557
|
style: () => `
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2558
|
+
:host {
|
|
2559
|
+
--vaadin-field-default-width: auto;
|
|
2560
|
+
display: inline-block;
|
|
2561
|
+
max-width: 100%;
|
|
2562
|
+
min-width: calc(var(--passcode-digits-count) * 2em);
|
|
2563
|
+
}
|
|
2564
|
+
:host::after {
|
|
2565
|
+
background-color: transparent;
|
|
2566
|
+
}
|
|
2567
|
+
:host::part(input-field)::after {
|
|
2568
|
+
background-color: transparent;
|
|
2569
|
+
}
|
|
2556
2570
|
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2571
|
+
descope-passcode-internal {
|
|
2572
|
+
-webkit-mask-image: none;
|
|
2573
|
+
padding: 0;
|
|
2574
|
+
width: 100%;
|
|
2575
|
+
height: 100%;
|
|
2576
|
+
min-height: initial;
|
|
2577
|
+
}
|
|
2564
2578
|
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2579
|
+
descope-passcode-internal .wrapper {
|
|
2580
|
+
box-sizing: border-box;
|
|
2581
|
+
min-height: initial;
|
|
2582
|
+
height: 100%;
|
|
2583
|
+
justify-content: space-between;
|
|
2584
|
+
}
|
|
2571
2585
|
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2586
|
+
descope-passcode-internal descope-text-field {
|
|
2587
|
+
min-width: 2em;
|
|
2588
|
+
max-width: var(${textVars$1.height});
|
|
2589
|
+
}
|
|
2575
2590
|
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2591
|
+
vaadin-text-field::part(input-field) {
|
|
2592
|
+
background-color: transparent;
|
|
2593
|
+
padding: 0;
|
|
2594
|
+
overflow: hidden;
|
|
2595
|
+
-webkit-mask-image: none;
|
|
2596
|
+
}
|
|
2582
2597
|
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2598
|
+
vaadin-text-field {
|
|
2599
|
+
margin: 0;
|
|
2600
|
+
padding: 0;
|
|
2601
|
+
width: 100%
|
|
2602
|
+
}
|
|
2588
2603
|
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2604
|
+
vaadin-text-field::before {
|
|
2605
|
+
height: 0;
|
|
2606
|
+
}
|
|
2592
2607
|
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2608
|
+
vaadin-text-field[readonly] > input:placeholder-shown {
|
|
2609
|
+
opacity: 1;
|
|
2610
|
+
}
|
|
2596
2611
|
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2612
|
+
vaadin-text-field::part(input-field):focus {
|
|
2613
|
+
cursor: text;
|
|
2614
|
+
}
|
|
2600
2615
|
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2616
|
+
vaadin-text-field[required]::part(required-indicator)::after {
|
|
2617
|
+
content: "*";
|
|
2618
|
+
}
|
|
2619
|
+
vaadin-text-field[readonly]::part(input-field)::after {
|
|
2620
|
+
border: 0 solid;
|
|
2621
|
+
}
|
|
2622
|
+
`,
|
|
2608
2623
|
excludeAttrsSync: ['tabindex'],
|
|
2609
2624
|
componentName: componentName$8
|
|
2610
2625
|
})
|
|
@@ -2628,11 +2643,12 @@ const passwordDraggableMixin = (superclass) => class PasswordDraggableMixinClass
|
|
|
2628
2643
|
this.addEventListener('mousedown', (e) => {
|
|
2629
2644
|
if (this.isDraggable & this.isReadOnly) {
|
|
2630
2645
|
const inputEle = this.baseElement.querySelector('input');
|
|
2631
|
-
|
|
2632
2646
|
const prevType = inputEle.getAttribute('type');
|
|
2647
|
+
|
|
2633
2648
|
inputEle.setAttribute('type', 'text');
|
|
2649
|
+
setTimeout(() => inputEle.focus());
|
|
2634
2650
|
|
|
2635
|
-
const onComplete = () => {
|
|
2651
|
+
const onComplete = (e) => {
|
|
2636
2652
|
inputEle.setAttribute('type', prevType);
|
|
2637
2653
|
|
|
2638
2654
|
e.target.removeEventListener('mouseup', onComplete);
|
|
@@ -2657,27 +2673,37 @@ const {
|
|
|
2657
2673
|
inputElementPlaceholder,
|
|
2658
2674
|
revealButton,
|
|
2659
2675
|
revealButtonIcon,
|
|
2676
|
+
revealButtonIconOutline,
|
|
2660
2677
|
label: label$3,
|
|
2661
2678
|
requiredIndicator: requiredIndicator$2
|
|
2662
2679
|
} = {
|
|
2663
|
-
host: () => ':host',
|
|
2680
|
+
host: { selector: () => ':host' },
|
|
2664
2681
|
inputWrapper: { selector: '::part(input-field)' },
|
|
2665
2682
|
inputElement: { selector: '> input' },
|
|
2666
2683
|
inputElementPlaceholder: { selector: '> input:placeholder-shown' },
|
|
2667
2684
|
revealButton: { selector: 'vaadin-password-field-button' },
|
|
2668
2685
|
revealButtonIcon: { selector: () => '::part(reveal-button)::before' },
|
|
2669
|
-
|
|
2686
|
+
revealButtonIconOutline: { selector: () => 'vaadin-password-field-button[focus-ring]' },
|
|
2687
|
+
label: { selector: '::part(label)' },
|
|
2670
2688
|
requiredIndicator: { selector: '::part(required-indicator)::after' },
|
|
2671
2689
|
};
|
|
2672
2690
|
|
|
2673
2691
|
const PasswordField = compose(
|
|
2674
2692
|
createStyleMixin({
|
|
2675
2693
|
mappings: {
|
|
2676
|
-
width:
|
|
2694
|
+
width: host$4,
|
|
2677
2695
|
wrapperBorderStyle: { ...inputWrapper$1, property: 'border-style' },
|
|
2678
2696
|
wrapperBorderWidth: { ...inputWrapper$1, property: 'border-width' },
|
|
2679
2697
|
wrapperBorderColor: { ...inputWrapper$1, property: 'border-color' },
|
|
2680
2698
|
wrapperBorderRadius: { ...inputWrapper$1, property: 'border-radius' },
|
|
2699
|
+
|
|
2700
|
+
revealButtonOutlineBoxShadow: [
|
|
2701
|
+
{
|
|
2702
|
+
...revealButtonIconOutline,
|
|
2703
|
+
property: 'box-shadow'
|
|
2704
|
+
}
|
|
2705
|
+
],
|
|
2706
|
+
|
|
2681
2707
|
labelTextColor: [
|
|
2682
2708
|
{ ...label$3, property: 'color' },
|
|
2683
2709
|
{ ...requiredIndicator$2, property: 'color' }
|
|
@@ -2695,10 +2721,10 @@ const PasswordField = compose(
|
|
|
2695
2721
|
{ ...label$3, property: 'cursor' },
|
|
2696
2722
|
{ ...requiredIndicator$2, property: 'cursor' }
|
|
2697
2723
|
],
|
|
2698
|
-
outlineColor:
|
|
2699
|
-
outlineStyle:
|
|
2724
|
+
outlineColor: inputWrapper$1,
|
|
2725
|
+
outlineStyle: inputWrapper$1,
|
|
2700
2726
|
outlineWidth: [
|
|
2701
|
-
|
|
2727
|
+
inputWrapper$1,
|
|
2702
2728
|
// we need to make sure there is enough space for the outline
|
|
2703
2729
|
{ property: 'padding' }
|
|
2704
2730
|
],
|
|
@@ -2715,32 +2741,36 @@ const PasswordField = compose(
|
|
|
2715
2741
|
wrappedEleName: 'vaadin-password-field',
|
|
2716
2742
|
style: `
|
|
2717
2743
|
:host {
|
|
2718
|
-
display: inline-
|
|
2744
|
+
display: inline-block;
|
|
2745
|
+
min-width: 10em;
|
|
2746
|
+
max-width: 100%;
|
|
2719
2747
|
}
|
|
2720
2748
|
vaadin-password-field {
|
|
2721
2749
|
width: 100%;
|
|
2750
|
+
box-sizing: border-box;
|
|
2722
2751
|
}
|
|
2723
2752
|
vaadin-password-field::part(input-field) {
|
|
2724
2753
|
padding: 0;
|
|
2725
2754
|
}
|
|
2726
2755
|
vaadin-password-field > input {
|
|
2727
2756
|
min-height: 0;
|
|
2757
|
+
-webkit-mask-image: none;
|
|
2728
2758
|
}
|
|
2729
|
-
|
|
2730
2759
|
vaadin-password-field[readonly] > input:placeholder-shown {
|
|
2731
2760
|
opacity: 1;
|
|
2732
2761
|
}
|
|
2733
|
-
|
|
2734
|
-
vaadin-password-field::part(input-field)::after {
|
|
2735
|
-
opacity: 0;
|
|
2736
|
-
}
|
|
2737
2762
|
vaadin-password-field::before {
|
|
2738
2763
|
height: initial;
|
|
2739
2764
|
}
|
|
2740
|
-
|
|
2765
|
+
vaadin-password-field::part(input-field)::after {
|
|
2766
|
+
opacity: 0;
|
|
2767
|
+
}
|
|
2741
2768
|
vaadin-password-field[required]::part(required-indicator)::after {
|
|
2742
2769
|
content: "*";
|
|
2743
2770
|
}
|
|
2771
|
+
[readonly] vaadin-password-field-button {
|
|
2772
|
+
pointer-events: none;
|
|
2773
|
+
}
|
|
2744
2774
|
`,
|
|
2745
2775
|
excludeAttrsSync: ['tabindex'],
|
|
2746
2776
|
componentName: componentName$7
|
|
@@ -2772,6 +2802,7 @@ let overrides$1 = ``;
|
|
|
2772
2802
|
const TextArea = compose(
|
|
2773
2803
|
createStyleMixin({
|
|
2774
2804
|
mappings: {
|
|
2805
|
+
fontSize: [host$3, textArea$1],
|
|
2775
2806
|
resize: textArea$1,
|
|
2776
2807
|
color: textArea$1,
|
|
2777
2808
|
cursor: {},
|
|
@@ -2786,10 +2817,10 @@ const TextArea = compose(
|
|
|
2786
2817
|
borderStyle: input$1,
|
|
2787
2818
|
borderColor: input$1,
|
|
2788
2819
|
borderRadius: input$1,
|
|
2789
|
-
outlineWidth: input$1,
|
|
2820
|
+
outlineWidth: [input$1, { property: 'padding' }],
|
|
2790
2821
|
outlineStyle: input$1,
|
|
2791
2822
|
outlineColor: input$1,
|
|
2792
|
-
outlineOffset:
|
|
2823
|
+
outlineOffset: input$1,
|
|
2793
2824
|
}
|
|
2794
2825
|
}),
|
|
2795
2826
|
draggableMixin,
|
|
@@ -2808,8 +2839,9 @@ const TextArea = compose(
|
|
|
2808
2839
|
overrides$1 = `
|
|
2809
2840
|
:host {
|
|
2810
2841
|
display: inline-block;
|
|
2842
|
+
min-width: 10em;
|
|
2843
|
+
max-width: 100%;
|
|
2811
2844
|
}
|
|
2812
|
-
|
|
2813
2845
|
vaadin-text-area {
|
|
2814
2846
|
margin: 0;
|
|
2815
2847
|
width: 100%;
|
|
@@ -2817,10 +2849,7 @@ overrides$1 = `
|
|
|
2817
2849
|
}
|
|
2818
2850
|
vaadin-text-area > label,
|
|
2819
2851
|
vaadin-text-area::part(input-field) {
|
|
2820
|
-
|
|
2821
|
-
}
|
|
2822
|
-
vaadin-text-area[focused]::part(input-field) {
|
|
2823
|
-
cursor: text;
|
|
2852
|
+
padding: 0;
|
|
2824
2853
|
}
|
|
2825
2854
|
vaadin-text-area[required]::part(required-indicator)::after {
|
|
2826
2855
|
content: "*";
|
|
@@ -3039,7 +3068,7 @@ const ComboBox = compose(
|
|
|
3039
3068
|
// to display.
|
|
3040
3069
|
excludeAttrsSync: ['tabindex', 'size'],
|
|
3041
3070
|
componentName: componentName$4,
|
|
3042
|
-
includeForwardProps: ['items', 'renderer']
|
|
3071
|
+
includeForwardProps: ['items', 'renderer', 'selectedItem']
|
|
3043
3072
|
})
|
|
3044
3073
|
);
|
|
3045
3074
|
|
|
@@ -4381,7 +4410,7 @@ class PhoneFieldInternal extends BaseInputClass$1 {
|
|
|
4381
4410
|
this.inputs[0].focus();
|
|
4382
4411
|
});
|
|
4383
4412
|
|
|
4384
|
-
super.init();
|
|
4413
|
+
super.init?.();
|
|
4385
4414
|
this.initInputs();
|
|
4386
4415
|
this.setComboBoxDescriptor();
|
|
4387
4416
|
}
|
|
@@ -4394,7 +4423,10 @@ class PhoneFieldInternal extends BaseInputClass$1 {
|
|
|
4394
4423
|
// Vaadin resets the input's value. We use setTimeout in order to make sure this happens
|
|
4395
4424
|
// after the reset.
|
|
4396
4425
|
if (countryData) {
|
|
4397
|
-
setTimeout(() =>
|
|
4426
|
+
setTimeout(() => {
|
|
4427
|
+
this.countryCodeInput.selectedItem = this.countryCodeInput.items.find(node => node['data-id'] === countryCode);
|
|
4428
|
+
});
|
|
4429
|
+
|
|
4398
4430
|
}
|
|
4399
4431
|
}
|
|
4400
4432
|
}
|
|
@@ -4538,6 +4570,18 @@ const {
|
|
|
4538
4570
|
const PhoneField = compose(
|
|
4539
4571
|
createStyleMixin({
|
|
4540
4572
|
mappings: {
|
|
4573
|
+
fontSize: [
|
|
4574
|
+
host$1, inputWrapper,
|
|
4575
|
+
{
|
|
4576
|
+
selector: TextField.componentName,
|
|
4577
|
+
property: TextField.cssVarList.fontSize
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
selector: ComboBox.componentName,
|
|
4581
|
+
property: ComboBox.cssVarList.fontSize
|
|
4582
|
+
}
|
|
4583
|
+
],
|
|
4584
|
+
|
|
4541
4585
|
componentWidth: { ...host$1, property: 'width' },
|
|
4542
4586
|
|
|
4543
4587
|
wrapperBorderStyle: [
|
|
@@ -4597,6 +4641,8 @@ const PhoneField = compose(
|
|
|
4597
4641
|
:host {
|
|
4598
4642
|
--vaadin-field-default-width: auto;
|
|
4599
4643
|
display: inline-block;
|
|
4644
|
+
max-width: 100%;
|
|
4645
|
+
min-width: 15em;
|
|
4600
4646
|
}
|
|
4601
4647
|
div {
|
|
4602
4648
|
display: inline-flex;
|
|
@@ -4623,7 +4669,7 @@ const PhoneField = compose(
|
|
|
4623
4669
|
padding: 0;
|
|
4624
4670
|
min-height: 0;
|
|
4625
4671
|
width: 100%;
|
|
4626
|
-
height: 100%;
|
|
4672
|
+
height: 100%;
|
|
4627
4673
|
}
|
|
4628
4674
|
descope-phone-field-internal > div {
|
|
4629
4675
|
width: 100%;
|
|
@@ -4702,6 +4748,8 @@ const customMixin = (superclass) =>
|
|
|
4702
4748
|
'label',
|
|
4703
4749
|
'has-confirm',
|
|
4704
4750
|
'invalid',
|
|
4751
|
+
'readonly',
|
|
4752
|
+
'draggable'
|
|
4705
4753
|
]
|
|
4706
4754
|
});
|
|
4707
4755
|
}
|
|
@@ -4714,17 +4762,16 @@ const { host, internalInputsWrapper } = {
|
|
|
4714
4762
|
const NewPassword = compose(
|
|
4715
4763
|
createStyleMixin({
|
|
4716
4764
|
mappings: {
|
|
4765
|
+
fontSize: [
|
|
4766
|
+
host,
|
|
4767
|
+
{
|
|
4768
|
+
selector: PasswordField.componentName,
|
|
4769
|
+
property: PasswordField.cssVarList.fontSize
|
|
4770
|
+
}
|
|
4771
|
+
],
|
|
4717
4772
|
componentWidth: { ...host, property: 'width' },
|
|
4718
4773
|
requiredContent: { ...host, property: 'content' },
|
|
4719
|
-
|
|
4720
|
-
selector: PasswordField.componentName,
|
|
4721
|
-
property: PasswordField.cssVarList.labelTextColor
|
|
4722
|
-
},
|
|
4723
|
-
inputTextColor: {
|
|
4724
|
-
selector: PasswordField.componentName,
|
|
4725
|
-
property: PasswordField.cssVarList.inputTextColor
|
|
4726
|
-
},
|
|
4727
|
-
inputsGap: { ...internalInputsWrapper, property: 'gap' }
|
|
4774
|
+
inputsGap: { ...internalInputsWrapper, property: 'gap' },
|
|
4728
4775
|
}
|
|
4729
4776
|
}),
|
|
4730
4777
|
draggableMixin,
|
|
@@ -4744,6 +4791,8 @@ const overrides = `
|
|
|
4744
4791
|
:host {
|
|
4745
4792
|
--vaadin-field-default-width: auto;
|
|
4746
4793
|
display: inline-block;
|
|
4794
|
+
min-width: 10em;
|
|
4795
|
+
max-width: 100%;
|
|
4747
4796
|
}
|
|
4748
4797
|
vaadin-text-field {
|
|
4749
4798
|
padding: 0;
|
|
@@ -4763,16 +4812,16 @@ const overrides = `
|
|
|
4763
4812
|
}
|
|
4764
4813
|
descope-new-password-internal {
|
|
4765
4814
|
-webkit-mask-image: none;
|
|
4766
|
-
padding: 0;
|
|
4767
4815
|
min-height: 0;
|
|
4768
4816
|
width: 100%;
|
|
4769
|
-
height: 100%;
|
|
4817
|
+
height: 100%;
|
|
4818
|
+
padding: 0;
|
|
4770
4819
|
}
|
|
4771
4820
|
descope-new-password-internal > .wrapper {
|
|
4772
4821
|
width: 100%;
|
|
4773
4822
|
height: 100%;
|
|
4774
4823
|
display: flex;
|
|
4775
|
-
|
|
4824
|
+
flex-direction: column;
|
|
4776
4825
|
}
|
|
4777
4826
|
descope-password-field {
|
|
4778
4827
|
display: block;
|
|
@@ -4797,6 +4846,9 @@ const commonAttrs = [
|
|
|
4797
4846
|
'full-width',
|
|
4798
4847
|
'maxlength',
|
|
4799
4848
|
'invalid',
|
|
4849
|
+
'readonly',
|
|
4850
|
+
'draggable'
|
|
4851
|
+
|
|
4800
4852
|
];
|
|
4801
4853
|
|
|
4802
4854
|
const inputRelatedAttrs = [].concat(commonAttrs, passwordInputAttrs, confirmInputAttrs);
|
|
@@ -4860,7 +4912,7 @@ class NewPasswordInternal extends BaseInputClass {
|
|
|
4860
4912
|
}
|
|
4861
4913
|
});
|
|
4862
4914
|
|
|
4863
|
-
super.init();
|
|
4915
|
+
super.init?.();
|
|
4864
4916
|
this.renderInputs(this.hasConfirm);
|
|
4865
4917
|
}
|
|
4866
4918
|
|
|
@@ -5062,7 +5114,7 @@ const componentsThemeToStyleObj = (componentsTheme) =>
|
|
|
5062
5114
|
[componentName]: {
|
|
5063
5115
|
[themeName]: {
|
|
5064
5116
|
[selector]: {
|
|
5065
|
-
[property]: val
|
|
5117
|
+
[property]: getCssVarValue(val)
|
|
5066
5118
|
}
|
|
5067
5119
|
}
|
|
5068
5120
|
}
|
|
@@ -5300,15 +5352,15 @@ var globals = {
|
|
|
5300
5352
|
fonts
|
|
5301
5353
|
};
|
|
5302
5354
|
|
|
5303
|
-
const globalRefs$
|
|
5355
|
+
const globalRefs$e = getThemeRefs(globals);
|
|
5304
5356
|
const vars$g = Button.cssVarList;
|
|
5305
5357
|
|
|
5306
5358
|
const mode = {
|
|
5307
|
-
primary: globalRefs$
|
|
5308
|
-
secondary: globalRefs$
|
|
5309
|
-
success: globalRefs$
|
|
5310
|
-
error: globalRefs$
|
|
5311
|
-
surface: globalRefs$
|
|
5359
|
+
primary: globalRefs$e.colors.primary,
|
|
5360
|
+
secondary: globalRefs$e.colors.secondary,
|
|
5361
|
+
success: globalRefs$e.colors.success,
|
|
5362
|
+
error: globalRefs$e.colors.error,
|
|
5363
|
+
surface: globalRefs$e.colors.surface
|
|
5312
5364
|
};
|
|
5313
5365
|
|
|
5314
5366
|
const [helperTheme$2, helperRefs$2] = createHelperVars({ mode }, componentName$n);
|
|
@@ -5321,7 +5373,7 @@ const button = {
|
|
|
5321
5373
|
|
|
5322
5374
|
[vars$g.cursor]: 'pointer',
|
|
5323
5375
|
|
|
5324
|
-
[vars$g.borderRadius]: globalRefs$
|
|
5376
|
+
[vars$g.borderRadius]: globalRefs$e.radius.sm,
|
|
5325
5377
|
[vars$g.borderWidth]: '2px',
|
|
5326
5378
|
[vars$g.borderStyle]: 'solid',
|
|
5327
5379
|
[vars$g.borderColor]: 'transparent',
|
|
@@ -5383,7 +5435,7 @@ const button = {
|
|
|
5383
5435
|
}
|
|
5384
5436
|
};
|
|
5385
5437
|
|
|
5386
|
-
const globalRefs$
|
|
5438
|
+
const globalRefs$d = getThemeRefs(globals);
|
|
5387
5439
|
|
|
5388
5440
|
const vars$f = TextField.cssVarList;
|
|
5389
5441
|
|
|
@@ -5394,43 +5446,41 @@ const textField = (vars) => ({
|
|
|
5394
5446
|
[vars.outlineStyle]: 'solid',
|
|
5395
5447
|
[vars.outlineColor]: 'transparent',
|
|
5396
5448
|
|
|
5449
|
+
[vars.height]: '2em',
|
|
5450
|
+
|
|
5397
5451
|
size: {
|
|
5398
5452
|
xs: {
|
|
5399
|
-
[vars.height]: '14px',
|
|
5400
5453
|
[vars.fontSize]: '8px',
|
|
5401
5454
|
},
|
|
5402
5455
|
sm: {
|
|
5403
|
-
[vars.height]: '20px',
|
|
5404
5456
|
[vars.fontSize]: '10px',
|
|
5405
5457
|
},
|
|
5406
5458
|
md: {
|
|
5407
|
-
[vars.height]: '30px',
|
|
5408
5459
|
[vars.fontSize]: '14px',
|
|
5409
5460
|
},
|
|
5410
5461
|
lg: {
|
|
5411
|
-
[vars.height]: '40px',
|
|
5412
5462
|
[vars.fontSize]: '20px',
|
|
5413
5463
|
},
|
|
5414
5464
|
xl: {
|
|
5415
|
-
[vars.height]: '50px',
|
|
5416
5465
|
[vars.fontSize]: '25px',
|
|
5417
5466
|
}
|
|
5418
5467
|
},
|
|
5419
5468
|
|
|
5420
|
-
[vars.color]: globalRefs$
|
|
5421
|
-
[vars.
|
|
5469
|
+
[vars.color]: globalRefs$d.colors.surface.contrast,
|
|
5470
|
+
[vars.labelTextColor]: globalRefs$d.colors.surface.contrast,
|
|
5471
|
+
[vars.placeholderColor]: globalRefs$d.colors.surface.main,
|
|
5422
5472
|
|
|
5423
|
-
[vars.backgroundColor]: globalRefs$
|
|
5473
|
+
[vars.backgroundColor]: globalRefs$d.colors.surface.light,
|
|
5424
5474
|
|
|
5425
5475
|
[vars.borderWidth]: '1px',
|
|
5426
5476
|
[vars.borderStyle]: 'solid',
|
|
5427
5477
|
[vars.borderColor]: 'transparent',
|
|
5428
|
-
[vars.borderRadius]: globalRefs$
|
|
5478
|
+
[vars.borderRadius]: globalRefs$d.radius.xs,
|
|
5429
5479
|
|
|
5430
5480
|
_disabled: {
|
|
5431
|
-
[vars.color]: globalRefs$
|
|
5432
|
-
[vars.placeholderColor]: globalRefs$
|
|
5433
|
-
[vars.backgroundColor]: globalRefs$
|
|
5481
|
+
[vars.color]: globalRefs$d.colors.surface.dark,
|
|
5482
|
+
[vars.placeholderColor]: globalRefs$d.colors.surface.light,
|
|
5483
|
+
[vars.backgroundColor]: globalRefs$d.colors.surface.main
|
|
5434
5484
|
},
|
|
5435
5485
|
|
|
5436
5486
|
_fullWidth: {
|
|
@@ -5438,24 +5488,24 @@ const textField = (vars) => ({
|
|
|
5438
5488
|
},
|
|
5439
5489
|
|
|
5440
5490
|
_focused: {
|
|
5441
|
-
[vars.outlineColor]: globalRefs$
|
|
5491
|
+
[vars.outlineColor]: globalRefs$d.colors.surface.main
|
|
5442
5492
|
},
|
|
5443
5493
|
|
|
5444
5494
|
_bordered: {
|
|
5445
|
-
[vars.borderColor]: globalRefs$
|
|
5495
|
+
[vars.borderColor]: globalRefs$d.colors.surface.main
|
|
5446
5496
|
},
|
|
5447
5497
|
|
|
5448
5498
|
_invalid: {
|
|
5449
|
-
[vars.borderColor]: globalRefs$
|
|
5450
|
-
[vars.color]: globalRefs$
|
|
5451
|
-
[vars.outlineColor]: globalRefs$
|
|
5452
|
-
[vars.placeholderColor]: globalRefs$
|
|
5499
|
+
[vars.borderColor]: globalRefs$d.colors.error.main,
|
|
5500
|
+
[vars.color]: globalRefs$d.colors.error.main,
|
|
5501
|
+
[vars.outlineColor]: globalRefs$d.colors.error.light,
|
|
5502
|
+
[vars.placeholderColor]: globalRefs$d.colors.error.light
|
|
5453
5503
|
}
|
|
5454
5504
|
});
|
|
5455
5505
|
|
|
5456
5506
|
var textField$1 = textField(vars$f);
|
|
5457
5507
|
|
|
5458
|
-
const globalRefs$
|
|
5508
|
+
const globalRefs$c = getThemeRefs(globals);
|
|
5459
5509
|
|
|
5460
5510
|
const vars$e = PasswordField.cssVarList;
|
|
5461
5511
|
|
|
@@ -5463,47 +5513,46 @@ const passwordField = {
|
|
|
5463
5513
|
[vars$e.wrapperBorderStyle]: 'solid',
|
|
5464
5514
|
[vars$e.wrapperBorderWidth]: '1px',
|
|
5465
5515
|
[vars$e.wrapperBorderColor]: 'transparent',
|
|
5466
|
-
[vars$e.wrapperBorderRadius]: globalRefs$
|
|
5467
|
-
[vars$e.backgroundColor]: globalRefs$
|
|
5516
|
+
[vars$e.wrapperBorderRadius]: globalRefs$c.radius.xs,
|
|
5517
|
+
[vars$e.backgroundColor]: globalRefs$c.colors.surface.light,
|
|
5468
5518
|
|
|
5469
5519
|
[vars$e.outlineWidth]: '2px',
|
|
5470
5520
|
[vars$e.outlineStyle]: 'solid',
|
|
5471
5521
|
[vars$e.outlineColor]: 'transparent',
|
|
5472
5522
|
|
|
5473
|
-
[vars$e.
|
|
5474
|
-
|
|
5475
|
-
|
|
5523
|
+
[vars$e.revealButtonOutlineBoxShadow]: `0 0 0 2px ${globalRefs$c.colors.surface.main}`,
|
|
5524
|
+
|
|
5525
|
+
|
|
5526
|
+
[vars$e.labelTextColor]: globalRefs$c.colors.surface.contrast,
|
|
5527
|
+
[vars$e.inputTextColor]: globalRefs$c.colors.surface.contrast,
|
|
5528
|
+
[vars$e.placeholderTextColor]: globalRefs$c.colors.surface.main,
|
|
5476
5529
|
|
|
5477
5530
|
[vars$e.pointerCursor]: 'pointer',
|
|
5478
5531
|
|
|
5479
|
-
[vars$e.padding]:
|
|
5532
|
+
[vars$e.padding]: '0',
|
|
5533
|
+
[vars$e.height]: '2em',
|
|
5480
5534
|
|
|
5481
5535
|
size: {
|
|
5482
5536
|
xs: {
|
|
5483
|
-
[vars$e.height]: '14px',
|
|
5484
5537
|
[vars$e.fontSize]: '8px',
|
|
5485
5538
|
},
|
|
5486
5539
|
sm: {
|
|
5487
|
-
[vars$e.height]: '20px',
|
|
5488
5540
|
[vars$e.fontSize]: '10px',
|
|
5489
5541
|
},
|
|
5490
5542
|
md: {
|
|
5491
|
-
[vars$e.height]: '30px',
|
|
5492
5543
|
[vars$e.fontSize]: '14px',
|
|
5493
5544
|
},
|
|
5494
5545
|
lg: {
|
|
5495
|
-
[vars$e.height]: '40px',
|
|
5496
5546
|
[vars$e.fontSize]: '20px',
|
|
5497
5547
|
},
|
|
5498
5548
|
xl: {
|
|
5499
|
-
[vars$e.height]: '50px',
|
|
5500
5549
|
[vars$e.fontSize]: '25px',
|
|
5501
5550
|
}
|
|
5502
5551
|
},
|
|
5503
5552
|
|
|
5504
5553
|
_bordered: {
|
|
5505
|
-
[vars$e.padding]:
|
|
5506
|
-
[vars$e.wrapperBorderColor]: globalRefs$
|
|
5554
|
+
[vars$e.padding]: '0 0.5em',
|
|
5555
|
+
[vars$e.wrapperBorderColor]: globalRefs$c.colors.surface.main
|
|
5507
5556
|
},
|
|
5508
5557
|
|
|
5509
5558
|
_fullWidth: {
|
|
@@ -5511,15 +5560,15 @@ const passwordField = {
|
|
|
5511
5560
|
},
|
|
5512
5561
|
|
|
5513
5562
|
_focused: {
|
|
5514
|
-
[vars$e.outlineColor]: globalRefs$
|
|
5563
|
+
[vars$e.outlineColor]: globalRefs$c.colors.surface.main
|
|
5515
5564
|
},
|
|
5516
5565
|
|
|
5517
5566
|
_invalid: {
|
|
5518
|
-
[vars$e.labelTextColor]: globalRefs$
|
|
5519
|
-
[vars$e.inputTextColor]: globalRefs$
|
|
5520
|
-
[vars$e.placeholderTextColor]: globalRefs$
|
|
5521
|
-
[vars$e.wrapperBorderColor]: globalRefs$
|
|
5522
|
-
[vars$e.outlineColor]: globalRefs$
|
|
5567
|
+
[vars$e.labelTextColor]: globalRefs$c.colors.error.main,
|
|
5568
|
+
[vars$e.inputTextColor]: globalRefs$c.colors.error.main,
|
|
5569
|
+
[vars$e.placeholderTextColor]: globalRefs$c.colors.error.light,
|
|
5570
|
+
[vars$e.wrapperBorderColor]: globalRefs$c.colors.error.main,
|
|
5571
|
+
[vars$e.outlineColor]: globalRefs$c.colors.error.light,
|
|
5523
5572
|
},
|
|
5524
5573
|
};
|
|
5525
5574
|
|
|
@@ -5531,32 +5580,33 @@ const emailField = {
|
|
|
5531
5580
|
...textField(EmailField.cssVarList)
|
|
5532
5581
|
};
|
|
5533
5582
|
|
|
5534
|
-
const globalRefs$
|
|
5583
|
+
const globalRefs$b = getThemeRefs(globals);
|
|
5535
5584
|
const vars$d = TextArea.cssVarList;
|
|
5536
5585
|
|
|
5537
5586
|
const textArea = {
|
|
5538
|
-
[vars$d.labelColor]: globalRefs$
|
|
5539
|
-
[vars$d.placeholderColor]: globalRefs$
|
|
5540
|
-
[vars$d.color]: globalRefs$
|
|
5587
|
+
[vars$d.labelColor]: globalRefs$b.colors.surface.contrast,
|
|
5588
|
+
[vars$d.placeholderColor]: globalRefs$b.colors.surface.main,
|
|
5589
|
+
[vars$d.color]: globalRefs$b.colors.surface.contrast,
|
|
5590
|
+
[vars$d.fontSize]: '14px',
|
|
5541
5591
|
|
|
5542
|
-
[vars$d.backgroundColor]: globalRefs$
|
|
5592
|
+
[vars$d.backgroundColor]: globalRefs$b.colors.surface.light,
|
|
5543
5593
|
[vars$d.resize]: 'vertical',
|
|
5544
5594
|
|
|
5545
|
-
[vars$d.borderRadius]: globalRefs$
|
|
5595
|
+
[vars$d.borderRadius]: globalRefs$b.radius.sm,
|
|
5546
5596
|
[vars$d.borderWidth]: '1px',
|
|
5547
5597
|
[vars$d.borderStyle]: 'solid',
|
|
5548
5598
|
[vars$d.borderColor]: 'transparent',
|
|
5549
5599
|
[vars$d.outlineWidth]: '2px',
|
|
5550
5600
|
[vars$d.outlineStyle]: 'solid',
|
|
5551
5601
|
[vars$d.outlineColor]: 'transparent',
|
|
5552
|
-
[vars$d.outlineOffset]: '
|
|
5602
|
+
[vars$d.outlineOffset]: '0',
|
|
5553
5603
|
|
|
5554
5604
|
_fullWidth: {
|
|
5555
5605
|
[vars$d.width]: '100%'
|
|
5556
5606
|
},
|
|
5557
5607
|
|
|
5558
5608
|
_focused: {
|
|
5559
|
-
[vars$d.outlineColor]: globalRefs$
|
|
5609
|
+
[vars$d.outlineColor]: globalRefs$b.colors.surface.main
|
|
5560
5610
|
},
|
|
5561
5611
|
|
|
5562
5612
|
_disabled: {
|
|
@@ -5564,31 +5614,37 @@ const textArea = {
|
|
|
5564
5614
|
},
|
|
5565
5615
|
|
|
5566
5616
|
_bordered: {
|
|
5567
|
-
[vars$d.borderColor]: globalRefs$
|
|
5617
|
+
[vars$d.borderColor]: globalRefs$b.colors.surface.main,
|
|
5568
5618
|
},
|
|
5569
5619
|
|
|
5570
5620
|
_invalid: {
|
|
5571
|
-
[vars$d.labelColor]: globalRefs$
|
|
5572
|
-
[vars$d.
|
|
5621
|
+
[vars$d.labelColor]: globalRefs$b.colors.error.main,
|
|
5622
|
+
[vars$d.borderColor]: globalRefs$b.colors.error.main,
|
|
5623
|
+
[vars$d.outlineColor]: globalRefs$b.colors.error.light,
|
|
5624
|
+
[vars$d.placeholderColor]: globalRefs$b.colors.error.light,
|
|
5625
|
+
},
|
|
5626
|
+
|
|
5627
|
+
_readonly: {
|
|
5628
|
+
[vars$d.resize]: 'none',
|
|
5573
5629
|
}
|
|
5574
5630
|
};
|
|
5575
5631
|
|
|
5576
|
-
const globalRefs$
|
|
5632
|
+
const globalRefs$a = getThemeRefs(globals);
|
|
5577
5633
|
const vars$c = Checkbox.cssVarList;
|
|
5578
5634
|
|
|
5579
5635
|
const checkbox = {
|
|
5580
|
-
[vars$c.checkboxBackgroundColor]: globalRefs$
|
|
5636
|
+
[vars$c.checkboxBackgroundColor]: globalRefs$a.colors.surface.main,
|
|
5581
5637
|
|
|
5582
5638
|
[vars$c.labelFontSize]: '12px',
|
|
5583
5639
|
[vars$c.labelFontWeight]: '400',
|
|
5584
|
-
[vars$c.labelTextColor]: globalRefs$
|
|
5640
|
+
[vars$c.labelTextColor]: globalRefs$a.colors.surface.contrast,
|
|
5585
5641
|
[vars$c.cursor]: 'pointer',
|
|
5586
5642
|
|
|
5587
5643
|
[vars$c.checkboxWidth]: 'calc(1em - 2px)',
|
|
5588
5644
|
[vars$c.checkboxHeight]: 'calc(1em - 2px)',
|
|
5589
5645
|
[vars$c.labelMargin]: 'calc(1em + 5px)',
|
|
5590
5646
|
|
|
5591
|
-
[vars$c.checkboxRadius]: globalRefs$
|
|
5647
|
+
[vars$c.checkboxRadius]: globalRefs$a.radius.xs,
|
|
5592
5648
|
|
|
5593
5649
|
size: {
|
|
5594
5650
|
xs: {
|
|
@@ -5623,24 +5679,24 @@ const checkbox = {
|
|
|
5623
5679
|
},
|
|
5624
5680
|
|
|
5625
5681
|
_checked: {
|
|
5626
|
-
[vars$c.checkboxBackgroundColor]: globalRefs$
|
|
5627
|
-
[vars$c.checkmarkTextColor]: globalRefs$
|
|
5682
|
+
[vars$c.checkboxBackgroundColor]: globalRefs$a.colors.primary.main,
|
|
5683
|
+
[vars$c.checkmarkTextColor]: globalRefs$a.colors.primary.contrast,
|
|
5628
5684
|
},
|
|
5629
5685
|
|
|
5630
5686
|
_disabled: {
|
|
5631
|
-
[vars$c.checkboxBackgroundColor]: globalRefs$
|
|
5687
|
+
[vars$c.checkboxBackgroundColor]: globalRefs$a.colors.surface.main,
|
|
5632
5688
|
},
|
|
5633
5689
|
|
|
5634
5690
|
_focused: {
|
|
5635
5691
|
[vars$c.checkboxOutlineWidth]: '2px',
|
|
5636
5692
|
[vars$c.checkboxOutlineOffset]: '1px',
|
|
5637
|
-
[vars$c.checkboxOutlineColor]: globalRefs$
|
|
5693
|
+
[vars$c.checkboxOutlineColor]: globalRefs$a.colors.primary.main,
|
|
5638
5694
|
[vars$c.checkboxOutlineStyle]: 'solid'
|
|
5639
5695
|
},
|
|
5640
5696
|
|
|
5641
5697
|
_invalid: {
|
|
5642
|
-
[vars$c.checkboxOutlineColor]: globalRefs$
|
|
5643
|
-
[vars$c.labelTextColor]: globalRefs$
|
|
5698
|
+
[vars$c.checkboxOutlineColor]: globalRefs$a.colors.error.main,
|
|
5699
|
+
[vars$c.labelTextColor]: globalRefs$a.colors.error.main
|
|
5644
5700
|
},
|
|
5645
5701
|
|
|
5646
5702
|
};
|
|
@@ -5649,7 +5705,7 @@ const knobMargin = '2px';
|
|
|
5649
5705
|
const checkboxHeight = '1.25em';
|
|
5650
5706
|
const trackBorderWidth = '2px';
|
|
5651
5707
|
|
|
5652
|
-
const globalRefs$
|
|
5708
|
+
const globalRefs$9 = getThemeRefs(globals);
|
|
5653
5709
|
const vars$b = SwitchToggle.cssVarList;
|
|
5654
5710
|
|
|
5655
5711
|
const switchToggle = {
|
|
@@ -5665,21 +5721,21 @@ const switchToggle = {
|
|
|
5665
5721
|
|
|
5666
5722
|
[vars$b.trackBorderStyle]: 'solid',
|
|
5667
5723
|
[vars$b.trackBorderWidth]: trackBorderWidth,
|
|
5668
|
-
[vars$b.trackBorderColor]: globalRefs$
|
|
5724
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.surface.contrast,
|
|
5669
5725
|
|
|
5670
5726
|
[vars$b.trackBackgroundColor]: 'none',
|
|
5671
|
-
[vars$b.trackRadius]: globalRefs$
|
|
5727
|
+
[vars$b.trackRadius]: globalRefs$9.radius.md,
|
|
5672
5728
|
[vars$b.trackWidth]: '2.5em',
|
|
5673
5729
|
[vars$b.trackHeight]: checkboxHeight,
|
|
5674
5730
|
|
|
5675
5731
|
[vars$b.knobSize]: `calc(1em - ${knobMargin})`,
|
|
5676
5732
|
[vars$b.knobRadius]: '50%',
|
|
5677
5733
|
[vars$b.knobTopOffset]: '1px',
|
|
5678
|
-
[vars$b.knobColor]: globalRefs$
|
|
5734
|
+
[vars$b.knobColor]: globalRefs$9.colors.surface.contrast,
|
|
5679
5735
|
[vars$b.knobPosition]: knobMargin,
|
|
5680
5736
|
[vars$b.knobTransition]: '0.3s',
|
|
5681
5737
|
|
|
5682
|
-
[vars$b.labelTextColor]: globalRefs$
|
|
5738
|
+
[vars$b.labelTextColor]: globalRefs$9.colors.surface.contrast,
|
|
5683
5739
|
[vars$b.labelFontWeight]: '400',
|
|
5684
5740
|
[vars$b.labelLineHeight]: `calc(${checkboxHeight} + 0.25em)`,
|
|
5685
5741
|
[vars$b.labelMargin]: '0.25em',
|
|
@@ -5689,35 +5745,35 @@ const switchToggle = {
|
|
|
5689
5745
|
},
|
|
5690
5746
|
|
|
5691
5747
|
_checked: {
|
|
5692
|
-
[vars$b.trackBorderColor]: globalRefs$
|
|
5748
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.primary.main,
|
|
5693
5749
|
[vars$b.knobPosition]: `calc(100% - var(${vars$b.knobSize}) - ${knobMargin})`,
|
|
5694
|
-
[vars$b.knobColor]: globalRefs$
|
|
5695
|
-
[vars$b.knobTextColor]: globalRefs$
|
|
5750
|
+
[vars$b.knobColor]: globalRefs$9.colors.primary.main,
|
|
5751
|
+
[vars$b.knobTextColor]: globalRefs$9.colors.primary.contrast,
|
|
5696
5752
|
},
|
|
5697
5753
|
|
|
5698
5754
|
_disabled: {
|
|
5699
5755
|
[vars$b.cursor]: 'not-allowed', // todo: fix cursor
|
|
5700
|
-
[vars$b.knobColor]: globalRefs$
|
|
5701
|
-
[vars$b.trackBorderColor]: globalRefs$
|
|
5702
|
-
[vars$b.trackBackgroundColor]: globalRefs$
|
|
5756
|
+
[vars$b.knobColor]: globalRefs$9.colors.surface.main,
|
|
5757
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.surface.main,
|
|
5758
|
+
[vars$b.trackBackgroundColor]: globalRefs$9.colors.surface.light,
|
|
5703
5759
|
},
|
|
5704
5760
|
|
|
5705
5761
|
_focused: {
|
|
5706
5762
|
[vars$b.switchOutlineWidth]: '2px',
|
|
5707
5763
|
[vars$b.switchOutlineOffset]: '1px',
|
|
5708
|
-
[vars$b.switchOutlineColor]: globalRefs$
|
|
5764
|
+
[vars$b.switchOutlineColor]: globalRefs$9.colors.primary.main,
|
|
5709
5765
|
[vars$b.switchOutlineStyle]: 'solid'
|
|
5710
5766
|
},
|
|
5711
5767
|
|
|
5712
5768
|
_invalid: {
|
|
5713
|
-
[vars$b.switchOutlineColor]: globalRefs$
|
|
5714
|
-
[vars$b.trackBorderColor]: globalRefs$
|
|
5715
|
-
[vars$b.knobColor]: globalRefs$
|
|
5716
|
-
[vars$b.labelTextColor]: globalRefs$
|
|
5769
|
+
[vars$b.switchOutlineColor]: globalRefs$9.colors.error.main,
|
|
5770
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.error.main,
|
|
5771
|
+
[vars$b.knobColor]: globalRefs$9.colors.error.main,
|
|
5772
|
+
[vars$b.labelTextColor]: globalRefs$9.colors.error.main
|
|
5717
5773
|
},
|
|
5718
5774
|
};
|
|
5719
5775
|
|
|
5720
|
-
const globalRefs$
|
|
5776
|
+
const globalRefs$8 = getThemeRefs(globals);
|
|
5721
5777
|
|
|
5722
5778
|
const vars$a = Container.cssVarList;
|
|
5723
5779
|
|
|
@@ -5744,8 +5800,8 @@ const container = {
|
|
|
5744
5800
|
...helperTheme$1,
|
|
5745
5801
|
[vars$a.width]: '100%',
|
|
5746
5802
|
[vars$a.boxShadow]: 'none',
|
|
5747
|
-
[vars$a.backgroundColor]: globalRefs$
|
|
5748
|
-
[vars$a.color]: globalRefs$
|
|
5803
|
+
[vars$a.backgroundColor]: globalRefs$8.colors.surface.light,
|
|
5804
|
+
[vars$a.color]: globalRefs$8.colors.surface.contrast,
|
|
5749
5805
|
verticalPadding: {
|
|
5750
5806
|
sm: { [vars$a.verticalPadding]: '5px' },
|
|
5751
5807
|
md: { [vars$a.verticalPadding]: '10px' },
|
|
@@ -5791,41 +5847,41 @@ const container = {
|
|
|
5791
5847
|
|
|
5792
5848
|
shadow: {
|
|
5793
5849
|
sm: {
|
|
5794
|
-
[vars$a.boxShadow]: `${globalRefs$
|
|
5850
|
+
[vars$a.boxShadow]: `${globalRefs$8.shadow.wide.sm} ${helperRefs$1.shadowColor}, ${globalRefs$8.shadow.narrow.sm} ${helperRefs$1.shadowColor}`
|
|
5795
5851
|
},
|
|
5796
5852
|
md: {
|
|
5797
|
-
[vars$a.boxShadow]: `${globalRefs$
|
|
5853
|
+
[vars$a.boxShadow]: `${globalRefs$8.shadow.wide.md} ${helperRefs$1.shadowColor}, ${globalRefs$8.shadow.narrow.md} ${helperRefs$1.shadowColor}`
|
|
5798
5854
|
},
|
|
5799
5855
|
lg: {
|
|
5800
|
-
[vars$a.boxShadow]: `${globalRefs$
|
|
5856
|
+
[vars$a.boxShadow]: `${globalRefs$8.shadow.wide.lg} ${helperRefs$1.shadowColor}, ${globalRefs$8.shadow.narrow.lg} ${helperRefs$1.shadowColor}`
|
|
5801
5857
|
},
|
|
5802
5858
|
xl: {
|
|
5803
|
-
[vars$a.boxShadow]: `${globalRefs$
|
|
5859
|
+
[vars$a.boxShadow]: `${globalRefs$8.shadow.wide.xl} ${helperRefs$1.shadowColor}, ${globalRefs$8.shadow.narrow.xl} ${helperRefs$1.shadowColor}`
|
|
5804
5860
|
},
|
|
5805
5861
|
'2xl': {
|
|
5806
5862
|
[helperVars.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
|
5807
|
-
[vars$a.boxShadow]: `${globalRefs$
|
|
5863
|
+
[vars$a.boxShadow]: `${globalRefs$8.shadow.wide['2xl']} ${helperRefs$1.shadowColor}`
|
|
5808
5864
|
},
|
|
5809
5865
|
},
|
|
5810
5866
|
|
|
5811
5867
|
borderRadius: {
|
|
5812
5868
|
sm: {
|
|
5813
|
-
[vars$a.borderRadius]: globalRefs$
|
|
5869
|
+
[vars$a.borderRadius]: globalRefs$8.radius.sm
|
|
5814
5870
|
},
|
|
5815
5871
|
md: {
|
|
5816
|
-
[vars$a.borderRadius]: globalRefs$
|
|
5872
|
+
[vars$a.borderRadius]: globalRefs$8.radius.md
|
|
5817
5873
|
},
|
|
5818
5874
|
lg: {
|
|
5819
|
-
[vars$a.borderRadius]: globalRefs$
|
|
5875
|
+
[vars$a.borderRadius]: globalRefs$8.radius.lg
|
|
5820
5876
|
},
|
|
5821
5877
|
xl: {
|
|
5822
|
-
[vars$a.borderRadius]: globalRefs$
|
|
5878
|
+
[vars$a.borderRadius]: globalRefs$8.radius.xl
|
|
5823
5879
|
},
|
|
5824
5880
|
'2xl': {
|
|
5825
|
-
[vars$a.borderRadius]: globalRefs$
|
|
5881
|
+
[vars$a.borderRadius]: globalRefs$8.radius['2xl']
|
|
5826
5882
|
},
|
|
5827
5883
|
'3xl': {
|
|
5828
|
-
[vars$a.borderRadius]: globalRefs$
|
|
5884
|
+
[vars$a.borderRadius]: globalRefs$8.radius['3xl']
|
|
5829
5885
|
},
|
|
5830
5886
|
}
|
|
5831
5887
|
};
|
|
@@ -5833,66 +5889,67 @@ const container = {
|
|
|
5833
5889
|
const vars$9 = Logo.cssVarList;
|
|
5834
5890
|
|
|
5835
5891
|
const logo = {
|
|
5892
|
+
[vars$9.width]: '100%',
|
|
5836
5893
|
[vars$9.fallbackUrl]: 'url(https://content.app.descope.com/assets/flows/noLogoPlaceholder.svg)'
|
|
5837
5894
|
};
|
|
5838
5895
|
|
|
5839
|
-
const globalRefs$
|
|
5896
|
+
const globalRefs$7 = getThemeRefs(globals);
|
|
5840
5897
|
|
|
5841
5898
|
const vars$8 = Text.cssVarList;
|
|
5842
5899
|
|
|
5843
5900
|
const text = {
|
|
5844
5901
|
[vars$8.lineHeight]: '1em',
|
|
5845
5902
|
[vars$8.textAlign]: 'left',
|
|
5846
|
-
[vars$8.color]: globalRefs$
|
|
5903
|
+
[vars$8.color]: globalRefs$7.colors.surface.dark,
|
|
5847
5904
|
variant: {
|
|
5848
5905
|
h1: {
|
|
5849
|
-
[vars$8.fontSize]: globalRefs$
|
|
5850
|
-
[vars$8.fontWeight]: globalRefs$
|
|
5851
|
-
[vars$8.fontFamily]: globalRefs$
|
|
5906
|
+
[vars$8.fontSize]: globalRefs$7.typography.h1.size,
|
|
5907
|
+
[vars$8.fontWeight]: globalRefs$7.typography.h1.weight,
|
|
5908
|
+
[vars$8.fontFamily]: globalRefs$7.typography.h1.font
|
|
5852
5909
|
},
|
|
5853
5910
|
h2: {
|
|
5854
|
-
[vars$8.fontSize]: globalRefs$
|
|
5855
|
-
[vars$8.fontWeight]: globalRefs$
|
|
5856
|
-
[vars$8.fontFamily]: globalRefs$
|
|
5911
|
+
[vars$8.fontSize]: globalRefs$7.typography.h2.size,
|
|
5912
|
+
[vars$8.fontWeight]: globalRefs$7.typography.h2.weight,
|
|
5913
|
+
[vars$8.fontFamily]: globalRefs$7.typography.h2.font
|
|
5857
5914
|
},
|
|
5858
5915
|
h3: {
|
|
5859
|
-
[vars$8.fontSize]: globalRefs$
|
|
5860
|
-
[vars$8.fontWeight]: globalRefs$
|
|
5861
|
-
[vars$8.fontFamily]: globalRefs$
|
|
5916
|
+
[vars$8.fontSize]: globalRefs$7.typography.h3.size,
|
|
5917
|
+
[vars$8.fontWeight]: globalRefs$7.typography.h3.weight,
|
|
5918
|
+
[vars$8.fontFamily]: globalRefs$7.typography.h3.font
|
|
5862
5919
|
},
|
|
5863
5920
|
subtitle1: {
|
|
5864
|
-
[vars$8.fontSize]: globalRefs$
|
|
5865
|
-
[vars$8.fontWeight]: globalRefs$
|
|
5866
|
-
[vars$8.fontFamily]: globalRefs$
|
|
5921
|
+
[vars$8.fontSize]: globalRefs$7.typography.subtitle1.size,
|
|
5922
|
+
[vars$8.fontWeight]: globalRefs$7.typography.subtitle1.weight,
|
|
5923
|
+
[vars$8.fontFamily]: globalRefs$7.typography.subtitle1.font
|
|
5867
5924
|
},
|
|
5868
5925
|
subtitle2: {
|
|
5869
|
-
[vars$8.fontSize]: globalRefs$
|
|
5870
|
-
[vars$8.fontWeight]: globalRefs$
|
|
5871
|
-
[vars$8.fontFamily]: globalRefs$
|
|
5926
|
+
[vars$8.fontSize]: globalRefs$7.typography.subtitle2.size,
|
|
5927
|
+
[vars$8.fontWeight]: globalRefs$7.typography.subtitle2.weight,
|
|
5928
|
+
[vars$8.fontFamily]: globalRefs$7.typography.subtitle2.font
|
|
5872
5929
|
},
|
|
5873
5930
|
body1: {
|
|
5874
|
-
[vars$8.fontSize]: globalRefs$
|
|
5875
|
-
[vars$8.fontWeight]: globalRefs$
|
|
5876
|
-
[vars$8.fontFamily]: globalRefs$
|
|
5931
|
+
[vars$8.fontSize]: globalRefs$7.typography.body1.size,
|
|
5932
|
+
[vars$8.fontWeight]: globalRefs$7.typography.body1.weight,
|
|
5933
|
+
[vars$8.fontFamily]: globalRefs$7.typography.body1.font
|
|
5877
5934
|
},
|
|
5878
5935
|
body2: {
|
|
5879
|
-
[vars$8.fontSize]: globalRefs$
|
|
5880
|
-
[vars$8.fontWeight]: globalRefs$
|
|
5881
|
-
[vars$8.fontFamily]: globalRefs$
|
|
5936
|
+
[vars$8.fontSize]: globalRefs$7.typography.body2.size,
|
|
5937
|
+
[vars$8.fontWeight]: globalRefs$7.typography.body2.weight,
|
|
5938
|
+
[vars$8.fontFamily]: globalRefs$7.typography.body2.font
|
|
5882
5939
|
}
|
|
5883
5940
|
},
|
|
5884
5941
|
mode: {
|
|
5885
5942
|
primary: {
|
|
5886
|
-
[vars$8.color]: globalRefs$
|
|
5943
|
+
[vars$8.color]: globalRefs$7.colors.primary.main
|
|
5887
5944
|
},
|
|
5888
5945
|
secondary: {
|
|
5889
|
-
[vars$8.color]: globalRefs$
|
|
5946
|
+
[vars$8.color]: globalRefs$7.colors.secondary.main
|
|
5890
5947
|
},
|
|
5891
5948
|
error: {
|
|
5892
|
-
[vars$8.color]: globalRefs$
|
|
5949
|
+
[vars$8.color]: globalRefs$7.colors.error.main
|
|
5893
5950
|
},
|
|
5894
5951
|
success: {
|
|
5895
|
-
[vars$8.color]: globalRefs$
|
|
5952
|
+
[vars$8.color]: globalRefs$7.colors.success.main
|
|
5896
5953
|
}
|
|
5897
5954
|
},
|
|
5898
5955
|
textAlign: {
|
|
@@ -5914,7 +5971,7 @@ const text = {
|
|
|
5914
5971
|
}
|
|
5915
5972
|
};
|
|
5916
5973
|
|
|
5917
|
-
const globalRefs$
|
|
5974
|
+
const globalRefs$6 = getThemeRefs(globals);
|
|
5918
5975
|
const vars$7 = Link.cssVarList;
|
|
5919
5976
|
|
|
5920
5977
|
const link = {
|
|
@@ -5922,10 +5979,10 @@ const link = {
|
|
|
5922
5979
|
[vars$7.borderBottomWidth]: '2px',
|
|
5923
5980
|
[vars$7.borderBottomStyle]: 'solid',
|
|
5924
5981
|
[vars$7.borderBottomColor]: 'transparent',
|
|
5925
|
-
[vars$7.color]: globalRefs$
|
|
5982
|
+
[vars$7.color]: globalRefs$6.colors.primary.main,
|
|
5926
5983
|
|
|
5927
5984
|
_hover: {
|
|
5928
|
-
[vars$7.borderBottomColor]: globalRefs$
|
|
5985
|
+
[vars$7.borderBottomColor]: globalRefs$6.colors.primary.main
|
|
5929
5986
|
},
|
|
5930
5987
|
|
|
5931
5988
|
textAlign: {
|
|
@@ -5940,33 +5997,33 @@ const link = {
|
|
|
5940
5997
|
|
|
5941
5998
|
mode: {
|
|
5942
5999
|
primary: {
|
|
5943
|
-
[vars$7.color]: globalRefs$
|
|
6000
|
+
[vars$7.color]: globalRefs$6.colors.primary.main,
|
|
5944
6001
|
_hover: {
|
|
5945
|
-
[vars$7.borderBottomColor]: globalRefs$
|
|
6002
|
+
[vars$7.borderBottomColor]: globalRefs$6.colors.primary.main
|
|
5946
6003
|
}
|
|
5947
6004
|
},
|
|
5948
6005
|
secondary: {
|
|
5949
|
-
[vars$7.color]: globalRefs$
|
|
6006
|
+
[vars$7.color]: globalRefs$6.colors.secondary.main,
|
|
5950
6007
|
_hover: {
|
|
5951
|
-
[vars$7.borderBottomColor]: globalRefs$
|
|
6008
|
+
[vars$7.borderBottomColor]: globalRefs$6.colors.secondary.main
|
|
5952
6009
|
}
|
|
5953
6010
|
},
|
|
5954
6011
|
error: {
|
|
5955
|
-
[vars$7.color]: globalRefs$
|
|
6012
|
+
[vars$7.color]: globalRefs$6.colors.error.main,
|
|
5956
6013
|
_hover: {
|
|
5957
|
-
[vars$7.borderBottomColor]: globalRefs$
|
|
6014
|
+
[vars$7.borderBottomColor]: globalRefs$6.colors.error.main
|
|
5958
6015
|
}
|
|
5959
6016
|
},
|
|
5960
6017
|
success: {
|
|
5961
|
-
[vars$7.color]: globalRefs$
|
|
6018
|
+
[vars$7.color]: globalRefs$6.colors.success.main,
|
|
5962
6019
|
_hover: {
|
|
5963
|
-
[vars$7.borderBottomColor]: globalRefs$
|
|
6020
|
+
[vars$7.borderBottomColor]: globalRefs$6.colors.success.main
|
|
5964
6021
|
}
|
|
5965
6022
|
}
|
|
5966
6023
|
}
|
|
5967
6024
|
};
|
|
5968
6025
|
|
|
5969
|
-
const globalRefs$
|
|
6026
|
+
const globalRefs$5 = getThemeRefs(globals);
|
|
5970
6027
|
|
|
5971
6028
|
const vars$6 = Divider.cssVarList;
|
|
5972
6029
|
|
|
@@ -5978,7 +6035,7 @@ const divider = {
|
|
|
5978
6035
|
...helperTheme,
|
|
5979
6036
|
[vars$6.alignItems]: 'center',
|
|
5980
6037
|
[vars$6.dividerHeight]: helperRefs.thickness,
|
|
5981
|
-
[vars$6.backgroundColor]: globalRefs$
|
|
6038
|
+
[vars$6.backgroundColor]: globalRefs$5.colors.surface.main,
|
|
5982
6039
|
[vars$6.textPadding]: `0 ${helperRefs.textPaddingSize}`,
|
|
5983
6040
|
[vars$6.width]: '100%',
|
|
5984
6041
|
[vars$6.flexDirection]: 'row',
|
|
@@ -5998,25 +6055,25 @@ const divider = {
|
|
|
5998
6055
|
};
|
|
5999
6056
|
|
|
6000
6057
|
const vars$5 = Passcode.cssVarList;
|
|
6001
|
-
const globalRefs$
|
|
6058
|
+
const globalRefs$4 = getThemeRefs(globals);
|
|
6002
6059
|
|
|
6003
6060
|
const passcode = {
|
|
6004
|
-
[vars$5.backgroundColor]: globalRefs$
|
|
6061
|
+
[vars$5.backgroundColor]: globalRefs$4.colors.surface.light,
|
|
6005
6062
|
[vars$5.outlineWidth]: '2px',
|
|
6006
6063
|
[vars$5.outlineColor]: 'transparent',
|
|
6007
6064
|
[vars$5.padding]: '0',
|
|
6008
6065
|
[vars$5.textAlign]: 'center',
|
|
6009
6066
|
[vars$5.borderColor]: 'transparent',
|
|
6010
|
-
[vars$5.digitsGap]: '
|
|
6011
|
-
[vars$5.
|
|
6012
|
-
[vars$5.color]: globalRefs$
|
|
6067
|
+
[vars$5.digitsGap]: '0',
|
|
6068
|
+
[vars$5.focusedDigitFieldOutlineColor]: globalRefs$4.colors.surface.main,
|
|
6069
|
+
[vars$5.color]: globalRefs$4.colors.surface.contrast,
|
|
6013
6070
|
|
|
6014
6071
|
_hideCursor: {
|
|
6015
6072
|
[vars$5.caretColor]: 'transparent',
|
|
6016
6073
|
},
|
|
6017
6074
|
|
|
6018
6075
|
_disabled: {
|
|
6019
|
-
[vars$5.backgroundColor]: globalRefs$
|
|
6076
|
+
[vars$5.backgroundColor]: globalRefs$4.colors.surface.main
|
|
6020
6077
|
},
|
|
6021
6078
|
|
|
6022
6079
|
_fullWidth: {
|
|
@@ -6024,25 +6081,25 @@ const passcode = {
|
|
|
6024
6081
|
},
|
|
6025
6082
|
|
|
6026
6083
|
_bordered: {
|
|
6027
|
-
[vars$5.borderColor]: globalRefs$
|
|
6084
|
+
[vars$5.borderColor]: globalRefs$4.colors.surface.main
|
|
6028
6085
|
},
|
|
6029
6086
|
|
|
6030
6087
|
_invalid: {
|
|
6031
|
-
[vars$5.borderColor]: globalRefs$
|
|
6032
|
-
[vars$5.color]: globalRefs$
|
|
6033
|
-
[vars$5.
|
|
6088
|
+
[vars$5.borderColor]: globalRefs$4.colors.error.main,
|
|
6089
|
+
[vars$5.color]: globalRefs$4.colors.error.main,
|
|
6090
|
+
[vars$5.focusedDigitFieldOutlineColor]: globalRefs$4.colors.error.light,
|
|
6034
6091
|
},
|
|
6035
6092
|
};
|
|
6036
6093
|
|
|
6037
|
-
const globalRefs$
|
|
6094
|
+
const globalRefs$3 = getThemeRefs(globals);
|
|
6038
6095
|
|
|
6039
6096
|
const vars$4 = LoaderLinear.cssVarList;
|
|
6040
6097
|
|
|
6041
6098
|
const loaderLinear = {
|
|
6042
6099
|
[vars$4.display]: 'inline-block',
|
|
6043
|
-
[vars$4.barColor]: globalRefs$
|
|
6100
|
+
[vars$4.barColor]: globalRefs$3.colors.surface.contrast,
|
|
6044
6101
|
[vars$4.barWidth]: '20%',
|
|
6045
|
-
[vars$4.surfaceColor]: globalRefs$
|
|
6102
|
+
[vars$4.surfaceColor]: globalRefs$3.colors.surface.main,
|
|
6046
6103
|
[vars$4.borderRadius]: '4px',
|
|
6047
6104
|
[vars$4.animationDuration]: '2s',
|
|
6048
6105
|
[vars$4.animationTimingFunction]: 'linear',
|
|
@@ -6067,10 +6124,10 @@ const loaderLinear = {
|
|
|
6067
6124
|
},
|
|
6068
6125
|
mode: {
|
|
6069
6126
|
primary: {
|
|
6070
|
-
[vars$4.barColor]: globalRefs$
|
|
6127
|
+
[vars$4.barColor]: globalRefs$3.colors.primary.main
|
|
6071
6128
|
},
|
|
6072
6129
|
secondary: {
|
|
6073
|
-
[vars$4.barColor]: globalRefs$
|
|
6130
|
+
[vars$4.barColor]: globalRefs$3.colors.secondary.main
|
|
6074
6131
|
}
|
|
6075
6132
|
},
|
|
6076
6133
|
_hidden: {
|
|
@@ -6078,13 +6135,13 @@ const loaderLinear = {
|
|
|
6078
6135
|
}
|
|
6079
6136
|
};
|
|
6080
6137
|
|
|
6081
|
-
const globalRefs$
|
|
6138
|
+
const globalRefs$2 = getThemeRefs(globals);
|
|
6082
6139
|
|
|
6083
6140
|
const vars$3 = LoaderRadial.cssVarList;
|
|
6084
6141
|
|
|
6085
6142
|
const loaderRadial = {
|
|
6086
6143
|
[vars$3.display]: 'inline-block',
|
|
6087
|
-
[vars$3.color]: globalRefs$
|
|
6144
|
+
[vars$3.color]: globalRefs$2.colors.surface.contrast,
|
|
6088
6145
|
[vars$3.animationDuration]: '2s',
|
|
6089
6146
|
[vars$3.animationTimingFunction]: 'linear',
|
|
6090
6147
|
[vars$3.animationIterationCount]: 'infinite',
|
|
@@ -6124,10 +6181,10 @@ const loaderRadial = {
|
|
|
6124
6181
|
},
|
|
6125
6182
|
mode: {
|
|
6126
6183
|
primary: {
|
|
6127
|
-
[vars$3.color]: globalRefs$
|
|
6184
|
+
[vars$3.color]: globalRefs$2.colors.primary.main
|
|
6128
6185
|
},
|
|
6129
6186
|
secondary: {
|
|
6130
|
-
[vars$3.color]: globalRefs$
|
|
6187
|
+
[vars$3.color]: globalRefs$2.colors.secondary.main
|
|
6131
6188
|
}
|
|
6132
6189
|
},
|
|
6133
6190
|
_hidden: {
|
|
@@ -6135,45 +6192,39 @@ const loaderRadial = {
|
|
|
6135
6192
|
}
|
|
6136
6193
|
};
|
|
6137
6194
|
|
|
6138
|
-
const globalRefs$
|
|
6195
|
+
const globalRefs$1 = getThemeRefs(globals);
|
|
6139
6196
|
|
|
6140
6197
|
const vars$2 = ComboBox.cssVarList;
|
|
6141
6198
|
|
|
6142
6199
|
const comboBox = {
|
|
6143
|
-
[vars$2.borderColor]: globalRefs$
|
|
6200
|
+
[vars$2.borderColor]: globalRefs$1.colors.surface.main,
|
|
6144
6201
|
[vars$2.borderWidth]: '1px',
|
|
6145
6202
|
[vars$2.borderStyle]: 'solid',
|
|
6146
6203
|
[vars$2.cursor]: 'pointer',
|
|
6147
6204
|
[vars$2.padding]: '0',
|
|
6148
|
-
[vars$2.placeholderColor]: globalRefs$
|
|
6149
|
-
[vars$2.toggleColor]: globalRefs$
|
|
6205
|
+
[vars$2.placeholderColor]: globalRefs$1.colors.surface.main,
|
|
6206
|
+
[vars$2.toggleColor]: globalRefs$1.colors.surface.contrast,
|
|
6150
6207
|
[vars$2.toggleCursor]: 'pointer',
|
|
6151
|
-
[vars$2.inputBackgroundColor]: globalRefs$
|
|
6208
|
+
[vars$2.inputBackgroundColor]: globalRefs$1.colors.surface.light,
|
|
6209
|
+
[vars$2.padding]: `0 ${globalRefs$1.spacing.xs}`,
|
|
6210
|
+
|
|
6211
|
+
[vars$2.height]: '2em',
|
|
6212
|
+
|
|
6152
6213
|
size: {
|
|
6153
6214
|
xs: {
|
|
6154
|
-
[vars$2.height]: '14px',
|
|
6155
6215
|
[vars$2.fontSize]: '8px',
|
|
6156
|
-
[vars$2.padding]: `0 ${globalRefs$2.spacing.xs}`
|
|
6157
6216
|
},
|
|
6158
6217
|
sm: {
|
|
6159
|
-
[vars$2.height]: '20px',
|
|
6160
6218
|
[vars$2.fontSize]: '10px',
|
|
6161
|
-
[vars$2.padding]: `0 ${globalRefs$2.spacing.sm}`
|
|
6162
6219
|
},
|
|
6163
6220
|
md: {
|
|
6164
|
-
[vars$2.height]: '30px',
|
|
6165
6221
|
[vars$2.fontSize]: '14px',
|
|
6166
|
-
[vars$2.padding]: `0 ${globalRefs$2.spacing.md}`
|
|
6167
6222
|
},
|
|
6168
6223
|
lg: {
|
|
6169
|
-
[vars$2.height]: '40px',
|
|
6170
6224
|
[vars$2.fontSize]: '20px',
|
|
6171
|
-
[vars$2.padding]: `0 ${globalRefs$2.spacing.lg}`
|
|
6172
6225
|
},
|
|
6173
6226
|
xl: {
|
|
6174
|
-
[vars$2.height]: '50px',
|
|
6175
6227
|
[vars$2.fontSize]: '25px',
|
|
6176
|
-
[vars$2.padding]: `0 ${globalRefs$2.spacing.xl}`
|
|
6177
6228
|
}
|
|
6178
6229
|
},
|
|
6179
6230
|
|
|
@@ -6182,9 +6233,9 @@ const comboBox = {
|
|
|
6182
6233
|
},
|
|
6183
6234
|
|
|
6184
6235
|
_invalid: {
|
|
6185
|
-
[vars$2.borderColor]: globalRefs$
|
|
6186
|
-
[vars$2.placeholderColor]: globalRefs$
|
|
6187
|
-
[vars$2.toggleColor]: globalRefs$
|
|
6236
|
+
[vars$2.borderColor]: globalRefs$1.colors.error.main,
|
|
6237
|
+
[vars$2.placeholderColor]: globalRefs$1.colors.error.light,
|
|
6238
|
+
[vars$2.toggleColor]: globalRefs$1.colors.error.main,
|
|
6188
6239
|
},
|
|
6189
6240
|
// [vars.overlayCursor]: 'pointer',
|
|
6190
6241
|
// [vars.overlayBackground]: globalRefs.colors.surface.light,
|
|
@@ -6195,46 +6246,38 @@ Image.cssVarList;
|
|
|
6195
6246
|
|
|
6196
6247
|
const image = {};
|
|
6197
6248
|
|
|
6198
|
-
const globalRefs
|
|
6249
|
+
const globalRefs = getThemeRefs(globals);
|
|
6199
6250
|
const vars$1 = PhoneField.cssVarList;
|
|
6200
6251
|
|
|
6201
6252
|
const phoneField = {
|
|
6202
6253
|
[vars$1.wrapperBorderStyle]: 'solid',
|
|
6203
6254
|
[vars$1.wrapperBorderWidth]: '1px',
|
|
6204
6255
|
[vars$1.wrapperBorderColor]: 'transparent',
|
|
6205
|
-
[vars$1.wrapperBorderRadius]: globalRefs
|
|
6206
|
-
[vars$1.placeholderColor]: globalRefs
|
|
6256
|
+
[vars$1.wrapperBorderRadius]: globalRefs.radius.xs,
|
|
6257
|
+
[vars$1.placeholderColor]: globalRefs.colors.surface.main,
|
|
6258
|
+
[vars$1.color]: globalRefs.colors.surface.contrast,
|
|
6207
6259
|
|
|
6208
|
-
[vars$1.
|
|
6260
|
+
[vars$1.phoneInputWidth]: '10em',
|
|
6261
|
+
[vars$1.countryCodeInputWidth]: '5em',
|
|
6209
6262
|
|
|
6210
|
-
[vars$1.
|
|
6211
|
-
[vars$1.
|
|
6263
|
+
[vars$1.inputHeight]: '2em',
|
|
6264
|
+
[vars$1.countryCodeDropdownWidth]: '12em',
|
|
6212
6265
|
|
|
6213
6266
|
size: {
|
|
6214
6267
|
xs: {
|
|
6215
|
-
[vars$1.inputHeight]: '14px',
|
|
6216
6268
|
[vars$1.fontSize]: '8px',
|
|
6217
|
-
[vars$1.countryCodeDropdownWidth]: '200px',
|
|
6218
6269
|
},
|
|
6219
6270
|
sm: {
|
|
6220
|
-
[vars$1.
|
|
6221
|
-
[vars$1.fontSize]: '10px',
|
|
6222
|
-
[vars$1.countryCodeDropdownWidth]: '240px',
|
|
6271
|
+
[vars$1.fontSize]: '20px',
|
|
6223
6272
|
},
|
|
6224
6273
|
md: {
|
|
6225
|
-
[vars$1.inputHeight]: '30px',
|
|
6226
6274
|
[vars$1.fontSize]: '14px',
|
|
6227
|
-
[vars$1.countryCodeDropdownWidth]: '250px',
|
|
6228
6275
|
},
|
|
6229
6276
|
lg: {
|
|
6230
|
-
[vars$1.
|
|
6231
|
-
[vars$1.fontSize]: '46px',
|
|
6232
|
-
[vars$1.countryCodeDropdownWidth]: '250px',
|
|
6277
|
+
[vars$1.fontSize]: '20px',
|
|
6233
6278
|
},
|
|
6234
6279
|
xl: {
|
|
6235
|
-
[vars$1.inputHeight]: '50px',
|
|
6236
6280
|
[vars$1.fontSize]: '25px',
|
|
6237
|
-
[vars$1.countryCodeDropdownWidth]: '400px',
|
|
6238
6281
|
}
|
|
6239
6282
|
},
|
|
6240
6283
|
|
|
@@ -6245,7 +6288,7 @@ const phoneField = {
|
|
|
6245
6288
|
},
|
|
6246
6289
|
|
|
6247
6290
|
_bordered: {
|
|
6248
|
-
[vars$1.wrapperBorderColor]: globalRefs
|
|
6291
|
+
[vars$1.wrapperBorderColor]: globalRefs.colors.surface.main
|
|
6249
6292
|
},
|
|
6250
6293
|
|
|
6251
6294
|
[vars$1.outlineStyle]: 'solid',
|
|
@@ -6253,14 +6296,14 @@ const phoneField = {
|
|
|
6253
6296
|
[vars$1.outlineColor]: 'transparent',
|
|
6254
6297
|
|
|
6255
6298
|
_focused: {
|
|
6256
|
-
[vars$1.outlineColor]: globalRefs
|
|
6299
|
+
[vars$1.outlineColor]: globalRefs.colors.surface.main
|
|
6257
6300
|
},
|
|
6258
6301
|
|
|
6259
6302
|
_invalid: {
|
|
6260
|
-
[vars$1.outlineColor]: globalRefs
|
|
6261
|
-
[vars$1.color]: globalRefs
|
|
6262
|
-
[vars$1.placeholderColor]: globalRefs
|
|
6263
|
-
[vars$1.wrapperBorderColor]: globalRefs
|
|
6303
|
+
[vars$1.outlineColor]: globalRefs.colors.error.light,
|
|
6304
|
+
[vars$1.color]: globalRefs.colors.error.main,
|
|
6305
|
+
[vars$1.placeholderColor]: globalRefs.colors.error.light,
|
|
6306
|
+
[vars$1.wrapperBorderColor]: globalRefs.colors.error.main
|
|
6264
6307
|
},
|
|
6265
6308
|
|
|
6266
6309
|
// '@overlay': {
|
|
@@ -6268,47 +6311,36 @@ const phoneField = {
|
|
|
6268
6311
|
// }
|
|
6269
6312
|
};
|
|
6270
6313
|
|
|
6271
|
-
const globalRefs = getThemeRefs(globals);
|
|
6272
|
-
|
|
6273
6314
|
const vars = NewPassword.cssVarList;
|
|
6274
6315
|
|
|
6275
6316
|
const newPassword = {
|
|
6317
|
+
[vars.inputsGap]: '1em',
|
|
6318
|
+
|
|
6276
6319
|
_required: {
|
|
6277
6320
|
[vars.requiredContent]: "'*'",
|
|
6278
6321
|
},
|
|
6279
6322
|
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
[vars.inputsGap]: '1em',
|
|
6323
|
+
_fullWidth: {
|
|
6324
|
+
[vars.componentWidth]: '100%'
|
|
6325
|
+
},
|
|
6284
6326
|
|
|
6285
6327
|
size: {
|
|
6286
6328
|
xs: {
|
|
6287
|
-
[vars.
|
|
6329
|
+
[vars.fontSize]: '8px',
|
|
6288
6330
|
},
|
|
6289
6331
|
sm: {
|
|
6290
|
-
[vars.
|
|
6332
|
+
[vars.fontSize]: '10px',
|
|
6291
6333
|
},
|
|
6292
6334
|
md: {
|
|
6293
|
-
[vars.
|
|
6335
|
+
[vars.fontSize]: '14px',
|
|
6294
6336
|
},
|
|
6295
6337
|
lg: {
|
|
6296
|
-
[vars.
|
|
6338
|
+
[vars.fontSize]: '20px',
|
|
6297
6339
|
},
|
|
6298
6340
|
xl: {
|
|
6299
|
-
[vars.
|
|
6300
|
-
}
|
|
6301
|
-
},
|
|
6302
|
-
|
|
6303
|
-
_fullWidth: {
|
|
6304
|
-
[vars.componentWidth]: '100%'
|
|
6341
|
+
[vars.fontSize]: '25px',
|
|
6342
|
+
}
|
|
6305
6343
|
},
|
|
6306
|
-
|
|
6307
|
-
_invalid: {
|
|
6308
|
-
[vars.inputLabelTextColor]: globalRefs.colors.error.main,
|
|
6309
|
-
[vars.inputTextColor]: globalRefs.colors.error.main,
|
|
6310
|
-
[vars.placeholderTextColor]: globalRefs.colors.error.light,
|
|
6311
|
-
}
|
|
6312
6344
|
};
|
|
6313
6345
|
|
|
6314
6346
|
var components = {
|