@descope/web-components-ui 1.0.233 → 1.0.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +133 -15
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +212 -84
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/{4513.js → 1721.js} +1 -1
- package/dist/umd/2481.js +1 -1
- package/dist/umd/3003.js +1 -1
- package/dist/umd/3092.js +23 -18
- package/dist/umd/322.js +90 -0
- package/dist/umd/4201.js +1 -1
- package/dist/umd/4226.js +1 -1
- package/dist/umd/4447.js +1 -2
- package/dist/umd/4803.js +1 -1
- package/dist/umd/5345.js +1 -1
- package/dist/umd/5517.js +2 -0
- package/dist/umd/5806.js +3 -3
- package/dist/umd/5977.js +18 -13
- package/dist/umd/6091.js +1 -1
- package/dist/umd/6542.js +22 -22
- package/dist/umd/6770.js +2 -2
- package/dist/umd/7531.js +77 -6
- package/dist/umd/849.js +744 -0
- package/dist/umd/849.js.LICENSE.txt +11 -0
- package/dist/umd/8623.js +2 -0
- package/dist/umd/8725.js +2 -2
- package/dist/umd/{1990.js → 9092.js} +21 -17
- package/dist/umd/9211.js +33 -19
- package/dist/umd/{7514.js → 9558.js} +128 -110
- package/dist/umd/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-button-selection-group-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/descope-combo-box-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-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-status-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-link-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-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-upload-file-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/package.json +14 -13
- package/src/components/boolean-fields/commonStyles.js +1 -1
- package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +7 -2
- package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +6 -1
- package/src/components/descope-button/ButtonClass.js +5 -1
- package/src/components/descope-button-selection-group/ButtonSelectionGroupClass.js +3 -0
- package/src/components/descope-button-selection-group/descope-button-selection-group-item/ButtonSelectionGroupItemClass.js +4 -0
- package/src/components/descope-combo-box/ComboBoxClass.js +14 -0
- package/src/components/descope-divider/DividerClass.js +4 -0
- package/src/components/descope-email-field/EmailFieldClass.js +3 -1
- package/src/components/descope-link/LinkClass.js +1 -0
- package/src/components/descope-new-password/NewPasswordClass.js +10 -2
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +6 -1
- package/src/components/descope-number-field/NumberFieldClass.js +2 -0
- package/src/components/descope-passcode/PasscodeClass.js +3 -0
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +5 -0
- package/src/components/descope-password/PasswordClass.js +8 -2
- package/src/components/descope-text/TextClass.js +1 -0
- package/src/components/descope-text-area/TextAreaClass.js +4 -1
- package/src/components/descope-text-field/TextFieldClass.js +3 -1
- package/src/components/descope-text-field/textFieldMappings.js +1 -0
- package/src/components/descope-upload-file/UploadFileClass.js +6 -0
- package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +4 -2
- package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +4 -2
- package/src/helpers/themeHelpers/resetHelpers.js +28 -0
- package/src/theme/components/button.js +1 -0
- package/src/theme/components/buttonSelectionGroup/buttonSelectionGroup.js +1 -0
- package/src/theme/components/buttonSelectionGroup/buttonSelectionGroupItem.js +1 -0
- package/src/theme/components/checkbox.js +1 -0
- package/src/theme/components/comboBox.js +3 -0
- package/src/theme/components/divider.js +2 -0
- package/src/theme/components/emailField.js +1 -0
- package/src/theme/components/inputWrapper.js +2 -0
- package/src/theme/components/link.js +1 -0
- package/src/theme/components/newPassword.js +1 -0
- package/src/theme/components/numberField.js +1 -0
- package/src/theme/components/passcode.js +1 -0
- package/src/theme/components/password.js +1 -0
- package/src/theme/components/phoneField.js +1 -0
- package/src/theme/components/phoneInputBoxField.js +1 -0
- package/src/theme/components/switchToggle.js +1 -0
- package/src/theme/components/text.js +1 -0
- package/src/theme/components/textArea.js +1 -0
- package/src/theme/components/textField.js +1 -0
- package/src/theme/components/uploadFile.js +1 -0
- package/src/theme/globals.js +3 -0
- package/dist/umd/2873.js +0 -738
- package/dist/umd/2873.js.LICENSE.txt +0 -21
- package/dist/umd/446.js +0 -92
- package/dist/umd/729.js +0 -1
- package/dist/umd/9629.js +0 -2
- package/dist/umd/9671.js +0 -1
- /package/dist/umd/{4447.js.LICENSE.txt → 322.js.LICENSE.txt} +0 -0
- /package/dist/umd/{446.js.LICENSE.txt → 5517.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9629.js.LICENSE.txt → 8623.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1990.js.LICENSE.txt → 9092.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7514.js.LICENSE.txt → 9558.js.LICENSE.txt} +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -1287,8 +1287,9 @@ let loadingIndicatorStyles;
|
|
|
1287
1287
|
const ButtonClass = compose(
|
|
1288
1288
|
createStyleMixin({
|
|
1289
1289
|
mappings: {
|
|
1290
|
-
hostWidth: {
|
|
1290
|
+
hostWidth: { property: 'width' },
|
|
1291
1291
|
hostHeight: { property: 'height' },
|
|
1292
|
+
hostDirection: { ...host$g, property: 'direction' },
|
|
1292
1293
|
fontSize: {},
|
|
1293
1294
|
fontFamily: {},
|
|
1294
1295
|
|
|
@@ -1327,6 +1328,9 @@ const ButtonClass = compose(
|
|
|
1327
1328
|
:host {
|
|
1328
1329
|
padding: calc(var(${ButtonClass.cssVarList.outlineWidth}) + var(${ButtonClass.cssVarList.outlineOffset}));
|
|
1329
1330
|
}
|
|
1331
|
+
:host([full-width="true"]) {
|
|
1332
|
+
width: var(${ButtonClass.cssVarList.hostWidth});
|
|
1333
|
+
}
|
|
1330
1334
|
vaadin-button {
|
|
1331
1335
|
height: calc(var(${ButtonClass.cssVarList.hostHeight}) - var(${ButtonClass.cssVarList.outlineWidth}) - var(${ButtonClass.cssVarList.outlineOffset}));
|
|
1332
1336
|
}
|
|
@@ -1591,6 +1595,34 @@ const resetInputOverrides = (name, cssVarList) => `
|
|
|
1591
1595
|
${resetInputFieldUnderlayingBorder(name)}
|
|
1592
1596
|
`;
|
|
1593
1597
|
|
|
1598
|
+
// This function is used to support RTL correctly for input components.
|
|
1599
|
+
// It also fixes the error message to be displayed LTR since we currently
|
|
1600
|
+
// don't support RTL for error messages.
|
|
1601
|
+
const resetInputLabelPosition = (name) => `
|
|
1602
|
+
:host ::part(error-message) {
|
|
1603
|
+
direction: ltr;
|
|
1604
|
+
}
|
|
1605
|
+
:host([required]) ::part(required-indicator) {
|
|
1606
|
+
width: 1em;
|
|
1607
|
+
display: inline-flex;
|
|
1608
|
+
}
|
|
1609
|
+
:host([required]) ::part(required-indicator)::after {
|
|
1610
|
+
position: static;
|
|
1611
|
+
}
|
|
1612
|
+
:host([has-label]) ::part(label) {
|
|
1613
|
+
padding-right: 0;
|
|
1614
|
+
padding-bottom: 0;
|
|
1615
|
+
display: flex;
|
|
1616
|
+
width: 100%;
|
|
1617
|
+
}
|
|
1618
|
+
${name} [slot="label"] {
|
|
1619
|
+
max-width: calc(100% - 1em);
|
|
1620
|
+
overflow: hidden;
|
|
1621
|
+
text-overflow: ellipsis;
|
|
1622
|
+
padding-bottom: 0.5em;
|
|
1623
|
+
}
|
|
1624
|
+
`;
|
|
1625
|
+
|
|
1594
1626
|
var commonStyles = `
|
|
1595
1627
|
:host {
|
|
1596
1628
|
display: inline-flex;
|
|
@@ -1633,7 +1665,7 @@ vaadin-checkbox [slot="label"] {
|
|
|
1633
1665
|
padding: 0;
|
|
1634
1666
|
}
|
|
1635
1667
|
[required] vaadin-checkbox [slot="label"]:not(:empty) {
|
|
1636
|
-
padding-
|
|
1668
|
+
padding-inline-end: 1em;
|
|
1637
1669
|
}
|
|
1638
1670
|
descope-boolean-field-internal {
|
|
1639
1671
|
-webkit-mask-image: none;
|
|
@@ -1667,12 +1699,13 @@ const CheckboxClass = compose(
|
|
|
1667
1699
|
createStyleMixin({
|
|
1668
1700
|
mappings: {
|
|
1669
1701
|
hostWidth: { ...host$f, property: 'width' },
|
|
1702
|
+
hostDirection: { ...host$f, property: 'direction' },
|
|
1670
1703
|
|
|
1671
1704
|
fontSize: [host$f, checkboxElement, checkboxLabel$1],
|
|
1672
1705
|
fontFamily: [checkboxLabel$1, helperText$8, errorMessage$a],
|
|
1673
1706
|
|
|
1674
1707
|
labelTextColor: { ...checkboxLabel$1, property: 'color' },
|
|
1675
|
-
labelSpacing: { ...checkboxLabel$1, property: 'padding-
|
|
1708
|
+
labelSpacing: { ...checkboxLabel$1, property: 'padding-inline-start' },
|
|
1676
1709
|
labelLineHeight: { ...checkboxLabel$1, property: 'line-height' },
|
|
1677
1710
|
labelFontWeight: { ...checkboxLabel$1, property: 'font-weight' },
|
|
1678
1711
|
labelRequiredIndicator: { ...requiredIndicator$a, property: 'content' },
|
|
@@ -1712,12 +1745,16 @@ const CheckboxClass = compose(
|
|
|
1712
1745
|
style: () => `
|
|
1713
1746
|
${commonStyles}
|
|
1714
1747
|
${useHostExternalPadding(CheckboxClass.cssVarList)}
|
|
1715
|
-
|
|
1748
|
+
|
|
1716
1749
|
:host {
|
|
1717
1750
|
display: inline-flex;
|
|
1718
1751
|
max-width: 100%;
|
|
1719
1752
|
}
|
|
1720
1753
|
|
|
1754
|
+
:host ::part(error-message) {
|
|
1755
|
+
direction: ltr;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1721
1758
|
vaadin-text-field {
|
|
1722
1759
|
width: 100%;
|
|
1723
1760
|
}
|
|
@@ -1776,12 +1813,13 @@ const SwitchToggleClass = compose(
|
|
|
1776
1813
|
createStyleMixin({
|
|
1777
1814
|
mappings: {
|
|
1778
1815
|
hostWidth: { ...host$e, property: 'width' },
|
|
1816
|
+
hostDirection: { ...host$e, property: 'direction' },
|
|
1779
1817
|
|
|
1780
1818
|
fontSize: [component, checkboxLabel, checkboxLabel],
|
|
1781
1819
|
fontFamily: [checkboxLabel, helperText$7, errorMessage$9],
|
|
1782
1820
|
|
|
1783
1821
|
labelTextColor: { ...checkboxLabel, property: 'color' },
|
|
1784
|
-
labelSpacing: { ...checkboxLabel, property: 'padding-
|
|
1822
|
+
labelSpacing: { ...checkboxLabel, property: 'padding-inline-start' },
|
|
1785
1823
|
labelLineHeight: { ...checkboxLabel, property: 'line-height' },
|
|
1786
1824
|
labelFontWeight: { ...checkboxLabel, property: 'font-weight' },
|
|
1787
1825
|
labelRequiredIndicator: { ...requiredIndicator$9, property: 'content' },
|
|
@@ -1833,6 +1871,10 @@ const SwitchToggleClass = compose(
|
|
|
1833
1871
|
max-width: 100%;
|
|
1834
1872
|
}
|
|
1835
1873
|
|
|
1874
|
+
:host ::part(error-message) {
|
|
1875
|
+
direction: ltr;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1836
1878
|
vaadin-text-field {
|
|
1837
1879
|
width: 100%;
|
|
1838
1880
|
}
|
|
@@ -2054,8 +2096,72 @@ const ContainerClass = compose(
|
|
|
2054
2096
|
|
|
2055
2097
|
customElements.define(componentName$w, ContainerClass);
|
|
2056
2098
|
|
|
2057
|
-
|
|
2058
|
-
|
|
2099
|
+
// eslint-disable-next-line max-classes-per-file
|
|
2100
|
+
|
|
2101
|
+
const componentName$v = getComponentName('text');
|
|
2102
|
+
|
|
2103
|
+
class RawText extends createBaseClass({ componentName: componentName$v, baseSelector: ':host > slot' }) {
|
|
2104
|
+
constructor() {
|
|
2105
|
+
super();
|
|
2106
|
+
|
|
2107
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
2108
|
+
<style>
|
|
2109
|
+
:host {
|
|
2110
|
+
display: inline-block;
|
|
2111
|
+
}
|
|
2112
|
+
:host > slot {
|
|
2113
|
+
width: 100%;
|
|
2114
|
+
display: inline-block;
|
|
2115
|
+
}
|
|
2116
|
+
</style>
|
|
2117
|
+
<slot></slot>
|
|
2118
|
+
`;
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
const customTextMixin = (superclass) =>
|
|
2123
|
+
class CustomTextMixin extends superclass {
|
|
2124
|
+
get hideWhenEmpty() {
|
|
2125
|
+
return this.getAttribute('hide-when-empty') === 'true';
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
init() {
|
|
2129
|
+
super.init();
|
|
2130
|
+
|
|
2131
|
+
observeChildren(this, () => {
|
|
2132
|
+
const hasChildren = !!this.childNodes.length;
|
|
2133
|
+
this.style.display = !hasChildren && this.hideWhenEmpty ? 'none' : '';
|
|
2134
|
+
});
|
|
2135
|
+
}
|
|
2136
|
+
};
|
|
2137
|
+
|
|
2138
|
+
const TextClass = compose(
|
|
2139
|
+
createStyleMixin({
|
|
2140
|
+
mappings: {
|
|
2141
|
+
hostWidth: { selector: () => ':host', property: 'width' },
|
|
2142
|
+
hostDirection: { selector: () => ':host', property: 'direction' },
|
|
2143
|
+
fontSize: {},
|
|
2144
|
+
textColor: { property: 'color' },
|
|
2145
|
+
textLineHeight: { property: 'line-height' },
|
|
2146
|
+
textLetterSpacing: { property: 'letter-spacing' },
|
|
2147
|
+
textShadow: {},
|
|
2148
|
+
textAlign: {},
|
|
2149
|
+
textTransform: {},
|
|
2150
|
+
fontFamily: {},
|
|
2151
|
+
fontStyle: {},
|
|
2152
|
+
fontWeight: {},
|
|
2153
|
+
borderWidth: {},
|
|
2154
|
+
borderStyle: {},
|
|
2155
|
+
borderColor: {},
|
|
2156
|
+
},
|
|
2157
|
+
}),
|
|
2158
|
+
draggableMixin,
|
|
2159
|
+
componentNameValidationMixin,
|
|
2160
|
+
customTextMixin
|
|
2161
|
+
)(RawText);
|
|
2162
|
+
|
|
2163
|
+
const componentName$u = getComponentName('divider');
|
|
2164
|
+
class RawDivider extends createBaseClass({ componentName: componentName$u, baseSelector: ':host > div' }) {
|
|
2059
2165
|
constructor() {
|
|
2060
2166
|
super();
|
|
2061
2167
|
|
|
@@ -2100,6 +2206,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$v, baseS
|
|
|
2100
2206
|
}
|
|
2101
2207
|
}
|
|
2102
2208
|
|
|
2209
|
+
const textVars$3 = TextClass.cssVarList;
|
|
2103
2210
|
const { host: host$c, before, after, text: text$3 } = {
|
|
2104
2211
|
host: { selector: () => ':host' },
|
|
2105
2212
|
before: { selector: '::before' },
|
|
@@ -2112,11 +2219,13 @@ const DividerClass = compose(
|
|
|
2112
2219
|
mappings: {
|
|
2113
2220
|
hostWidth: { ...host$c, property: 'width' },
|
|
2114
2221
|
hostPadding: { ...host$c, property: 'padding' },
|
|
2222
|
+
hostDirection: { ...text$3, property: 'direction' },
|
|
2115
2223
|
|
|
2116
2224
|
minHeight: {},
|
|
2117
2225
|
alignItems: {},
|
|
2118
2226
|
alignSelf: {},
|
|
2119
2227
|
flexDirection: {},
|
|
2228
|
+
textAlign: { ...text$3, property: textVars$3.textAlign },
|
|
2120
2229
|
|
|
2121
2230
|
labelTextWidth: { ...text$3, property: 'width' },
|
|
2122
2231
|
labelTextMaxWidth: { ...text$3, property: 'max-width' },
|
|
@@ -2151,72 +2260,9 @@ const DividerClass = compose(
|
|
|
2151
2260
|
componentNameValidationMixin
|
|
2152
2261
|
)(RawDivider);
|
|
2153
2262
|
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
const componentName$u = getComponentName('text');
|
|
2157
|
-
|
|
2158
|
-
class RawText extends createBaseClass({ componentName: componentName$u, baseSelector: ':host > slot' }) {
|
|
2159
|
-
constructor() {
|
|
2160
|
-
super();
|
|
2161
|
-
|
|
2162
|
-
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
2163
|
-
<style>
|
|
2164
|
-
:host {
|
|
2165
|
-
display: inline-block;
|
|
2166
|
-
}
|
|
2167
|
-
:host > slot {
|
|
2168
|
-
width: 100%;
|
|
2169
|
-
display: inline-block;
|
|
2170
|
-
}
|
|
2171
|
-
</style>
|
|
2172
|
-
<slot></slot>
|
|
2173
|
-
`;
|
|
2174
|
-
}
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
const customTextMixin = (superclass) =>
|
|
2178
|
-
class CustomTextMixin extends superclass {
|
|
2179
|
-
get hideWhenEmpty() {
|
|
2180
|
-
return this.getAttribute('hide-when-empty') === 'true';
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
init() {
|
|
2184
|
-
super.init();
|
|
2185
|
-
|
|
2186
|
-
observeChildren(this, () => {
|
|
2187
|
-
const hasChildren = !!this.childNodes.length;
|
|
2188
|
-
this.style.display = !hasChildren && this.hideWhenEmpty ? 'none' : '';
|
|
2189
|
-
});
|
|
2190
|
-
}
|
|
2191
|
-
};
|
|
2192
|
-
|
|
2193
|
-
const TextClass = compose(
|
|
2194
|
-
createStyleMixin({
|
|
2195
|
-
mappings: {
|
|
2196
|
-
hostWidth: { selector: () => ':host', property: 'width' },
|
|
2197
|
-
fontSize: {},
|
|
2198
|
-
textColor: { property: 'color' },
|
|
2199
|
-
textLineHeight: { property: 'line-height' },
|
|
2200
|
-
textLetterSpacing: { property: 'letter-spacing' },
|
|
2201
|
-
textShadow: {},
|
|
2202
|
-
textAlign: {},
|
|
2203
|
-
textTransform: {},
|
|
2204
|
-
fontFamily: {},
|
|
2205
|
-
fontStyle: {},
|
|
2206
|
-
fontWeight: {},
|
|
2207
|
-
borderWidth: {},
|
|
2208
|
-
borderStyle: {},
|
|
2209
|
-
borderColor: {},
|
|
2210
|
-
},
|
|
2211
|
-
}),
|
|
2212
|
-
draggableMixin,
|
|
2213
|
-
componentNameValidationMixin,
|
|
2214
|
-
customTextMixin
|
|
2215
|
-
)(RawText);
|
|
2216
|
-
|
|
2217
|
-
customElements.define(componentName$u, TextClass);
|
|
2263
|
+
customElements.define(componentName$v, TextClass);
|
|
2218
2264
|
|
|
2219
|
-
customElements.define(componentName$
|
|
2265
|
+
customElements.define(componentName$u, DividerClass);
|
|
2220
2266
|
|
|
2221
2267
|
const { host: host$b, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$8, inputField: inputField$5, input, helperText: helperText$6, errorMessage: errorMessage$8 } =
|
|
2222
2268
|
{
|
|
@@ -2237,6 +2283,7 @@ var textFieldMappings = {
|
|
|
2237
2283
|
|
|
2238
2284
|
hostWidth: { ...host$b, property: 'width' },
|
|
2239
2285
|
hostMinWidth: { ...host$b, property: 'min-width' },
|
|
2286
|
+
hostDirection: { ...host$b, property: 'direction' },
|
|
2240
2287
|
|
|
2241
2288
|
inputBackgroundColor: { ...inputField$5, property: 'background-color' },
|
|
2242
2289
|
|
|
@@ -2300,8 +2347,9 @@ const EmailFieldClass = compose(
|
|
|
2300
2347
|
padding: calc(var(${EmailFieldClass.cssVarList.inputOutlineWidth}) + var(${
|
|
2301
2348
|
EmailFieldClass.cssVarList.inputOutlineOffset
|
|
2302
2349
|
}));
|
|
2303
|
-
box-sizing: border-box;
|
|
2350
|
+
box-sizing: border-box;
|
|
2304
2351
|
}
|
|
2352
|
+
${resetInputLabelPosition('vaadin-email-field')}
|
|
2305
2353
|
${useHostExternalPadding(EmailFieldClass.cssVarList)}
|
|
2306
2354
|
${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
|
|
2307
2355
|
`,
|
|
@@ -2366,6 +2414,7 @@ const LinkClass = compose(
|
|
|
2366
2414
|
createStyleMixin({
|
|
2367
2415
|
mappings: {
|
|
2368
2416
|
hostWidth: { ...host$a, property: 'width' },
|
|
2417
|
+
hostDirection: { ...text$2, property: 'direction' },
|
|
2369
2418
|
textAlign: wrapper$1,
|
|
2370
2419
|
textColor: [
|
|
2371
2420
|
{ ...anchor, property: 'color' },
|
|
@@ -2471,6 +2520,7 @@ const NumberFieldClass = compose(
|
|
|
2471
2520
|
NumberFieldClass.cssVarList.inputOutlineOffset
|
|
2472
2521
|
}));
|
|
2473
2522
|
}
|
|
2523
|
+
${resetInputLabelPosition('vaadin-number-field')}
|
|
2474
2524
|
${useHostExternalPadding(NumberFieldClass.cssVarList)}
|
|
2475
2525
|
${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
|
|
2476
2526
|
`,
|
|
@@ -2520,7 +2570,12 @@ class PasscodeInternal extends BaseInputClass$4 {
|
|
|
2520
2570
|
display: flex;
|
|
2521
2571
|
width: 100%;
|
|
2522
2572
|
justify-content: space-between;
|
|
2573
|
+
direction: ltr;
|
|
2523
2574
|
}
|
|
2575
|
+
|
|
2576
|
+
descope-text-field {
|
|
2577
|
+
direction: ltr;
|
|
2578
|
+
}
|
|
2524
2579
|
</style>
|
|
2525
2580
|
`;
|
|
2526
2581
|
|
|
@@ -2743,8 +2798,9 @@ const TextFieldClass = compose(
|
|
|
2743
2798
|
padding: calc(var(${TextFieldClass.cssVarList.inputOutlineWidth}) + var(${
|
|
2744
2799
|
TextFieldClass.cssVarList.inputOutlineOffset
|
|
2745
2800
|
}));
|
|
2746
|
-
box-sizing: border-box;
|
|
2801
|
+
box-sizing: border-box;
|
|
2747
2802
|
}
|
|
2803
|
+
${resetInputLabelPosition('vaadin-text-field')}
|
|
2748
2804
|
${useHostExternalPadding(TextFieldClass.cssVarList)}
|
|
2749
2805
|
${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
|
|
2750
2806
|
`,
|
|
@@ -2821,6 +2877,7 @@ const PasscodeClass = compose(
|
|
|
2821
2877
|
mappings: {
|
|
2822
2878
|
fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$9],
|
|
2823
2879
|
hostWidth: { property: 'width' },
|
|
2880
|
+
hostDirection: { ...host$9, property: 'direction' },
|
|
2824
2881
|
fontFamily: [host$9, { ...label$7 }],
|
|
2825
2882
|
labelTextColor: [
|
|
2826
2883
|
{ ...label$7, property: 'color' },
|
|
@@ -2917,6 +2974,7 @@ const PasscodeClass = compose(
|
|
|
2917
2974
|
box-shadow: none;
|
|
2918
2975
|
}
|
|
2919
2976
|
|
|
2977
|
+
${resetInputLabelPosition('vaadin-text-field')}
|
|
2920
2978
|
${resetInputCursor('vaadin-text-field')}
|
|
2921
2979
|
`,
|
|
2922
2980
|
excludeAttrsSync: ['tabindex'],
|
|
@@ -2995,6 +3053,7 @@ const PasswordClass = compose(
|
|
|
2995
3053
|
mappings: {
|
|
2996
3054
|
hostWidth: { ...host$8, property: 'width' },
|
|
2997
3055
|
hostMinWidth: { ...host$8, property: 'min-width' },
|
|
3056
|
+
hostDirection: { ...host$8, property: 'direction' },
|
|
2998
3057
|
fontSize: [{}, host$8],
|
|
2999
3058
|
fontFamily: [label$6, inputField$4, errorMessage$6, helperText$5],
|
|
3000
3059
|
inputHeight: { ...inputField$4, property: 'height' },
|
|
@@ -3047,10 +3106,11 @@ const PasswordClass = compose(
|
|
|
3047
3106
|
display: inline-block;
|
|
3048
3107
|
max-width: 100%;
|
|
3049
3108
|
min-width: 10em;
|
|
3050
|
-
box-sizing: border-box;
|
|
3109
|
+
box-sizing: border-box;
|
|
3051
3110
|
}
|
|
3052
3111
|
${useHostExternalPadding(PasswordClass.cssVarList)}
|
|
3053
3112
|
${resetInputCursor('vaadin-password-field')}
|
|
3113
|
+
${resetInputLabelPosition('vaadin-password-field')}
|
|
3054
3114
|
|
|
3055
3115
|
vaadin-password-field {
|
|
3056
3116
|
width: 100%;
|
|
@@ -3126,6 +3186,7 @@ const TextAreaClass = compose(
|
|
|
3126
3186
|
mappings: {
|
|
3127
3187
|
hostWidth: { ...host$7, property: 'width' },
|
|
3128
3188
|
hostMinWidth: { ...host$7, property: 'min-width' },
|
|
3189
|
+
hostDirection: { ...host$7, property: 'direction' },
|
|
3129
3190
|
fontSize: [host$7, textArea$2],
|
|
3130
3191
|
fontFamily: [label$5, inputField$3, helperText$4, errorMessage$5],
|
|
3131
3192
|
labelTextColor: [
|
|
@@ -3160,11 +3221,12 @@ const TextAreaClass = compose(
|
|
|
3160
3221
|
:host {
|
|
3161
3222
|
display: inline-block;
|
|
3162
3223
|
max-width: 100%;
|
|
3163
|
-
box-sizing: border-box;
|
|
3224
|
+
box-sizing: border-box;
|
|
3164
3225
|
}
|
|
3165
3226
|
textarea {
|
|
3166
3227
|
height: 100%;
|
|
3167
3228
|
}
|
|
3229
|
+
${resetInputLabelPosition('vaadin-text-area')}
|
|
3168
3230
|
${useHostExternalPadding(TextAreaClass.cssVarList)}
|
|
3169
3231
|
${resetInputContainer('vaadin-text-area')}
|
|
3170
3232
|
${resetInputField('vaadin-text-area')}
|
|
@@ -3471,6 +3533,7 @@ const ComboBoxClass = compose(
|
|
|
3471
3533
|
createStyleMixin({
|
|
3472
3534
|
mappings: {
|
|
3473
3535
|
hostWidth: { ...host$6, property: 'width' },
|
|
3536
|
+
hostDirection: { ...host$6, property: 'direction' },
|
|
3474
3537
|
// we apply font-size also on the host so we can set its width with em
|
|
3475
3538
|
fontSize: [{}, host$6],
|
|
3476
3539
|
fontFamily: [label$4, placeholder, inputField$2, helperText$3, errorMessage$4],
|
|
@@ -3514,6 +3577,12 @@ const ComboBoxClass = compose(
|
|
|
3514
3577
|
overlayFontFamily: { property: () => ComboBoxClass.cssVarList.overlay.fontFamily },
|
|
3515
3578
|
overlayCursor: { property: () => ComboBoxClass.cssVarList.overlay.cursor },
|
|
3516
3579
|
overlayItemBoxShadow: { property: () => ComboBoxClass.cssVarList.overlay.itemBoxShadow },
|
|
3580
|
+
overlayItemPaddingInlineStart: {
|
|
3581
|
+
property: () => ComboBoxClass.cssVarList.overlay.itemPaddingInlineStart,
|
|
3582
|
+
},
|
|
3583
|
+
overlayItemPaddingInlineEnd: {
|
|
3584
|
+
property: () => ComboBoxClass.cssVarList.overlay.itemPaddingInlineEnd,
|
|
3585
|
+
},
|
|
3517
3586
|
},
|
|
3518
3587
|
}),
|
|
3519
3588
|
draggableMixin,
|
|
@@ -3528,6 +3597,11 @@ const ComboBoxClass = compose(
|
|
|
3528
3597
|
fontFamily: { selector: 'vaadin-combo-box-item' },
|
|
3529
3598
|
fontSize: { selector: 'vaadin-combo-box-item' },
|
|
3530
3599
|
itemBoxShadow: { selector: 'vaadin-combo-box-item', property: 'box-shadow' },
|
|
3600
|
+
itemPaddingInlineStart: {
|
|
3601
|
+
selector: 'vaadin-combo-box-item',
|
|
3602
|
+
property: 'padding-inline-start',
|
|
3603
|
+
},
|
|
3604
|
+
itemPaddingInlineEnd: { selector: 'vaadin-combo-box-item', property: 'padding-inline-end' },
|
|
3531
3605
|
},
|
|
3532
3606
|
forward: {
|
|
3533
3607
|
include: false,
|
|
@@ -3569,6 +3643,7 @@ const ComboBoxClass = compose(
|
|
|
3569
3643
|
padding: 0;
|
|
3570
3644
|
box-shadow: none;
|
|
3571
3645
|
}
|
|
3646
|
+
${resetInputLabelPosition('vaadin-combo-box')}
|
|
3572
3647
|
`,
|
|
3573
3648
|
// Note: we exclude `size` to avoid overriding Vaadin's ComboBox property
|
|
3574
3649
|
// with the same name. Including it will cause Vaadin to calculate NaN size,
|
|
@@ -5101,6 +5176,7 @@ const PhoneFieldClass = compose(
|
|
|
5101
5176
|
{ ...phoneInput$1, property: 'width' },
|
|
5102
5177
|
{ ...countryCodeInput, property: '--vaadin-combo-box-overlay-width' },
|
|
5103
5178
|
],
|
|
5179
|
+
hostDirection: { ...host$5, property: 'direction' },
|
|
5104
5180
|
|
|
5105
5181
|
inputBorderStyle: [
|
|
5106
5182
|
{ ...inputField$1, property: 'border-style' },
|
|
@@ -5184,16 +5260,15 @@ const PhoneFieldClass = compose(
|
|
|
5184
5260
|
}
|
|
5185
5261
|
vaadin-text-field::part(input-field) {
|
|
5186
5262
|
padding: 0;
|
|
5187
|
-
min-height: 0;
|
|
5188
5263
|
background: transparent;
|
|
5189
5264
|
overflow: hidden;
|
|
5190
5265
|
}
|
|
5191
5266
|
descope-phone-field-internal {
|
|
5192
5267
|
-webkit-mask-image: none;
|
|
5193
5268
|
padding: 0;
|
|
5194
|
-
min-height: 0;
|
|
5195
5269
|
width: 100%;
|
|
5196
5270
|
height: 100%;
|
|
5271
|
+
direction: ltr;
|
|
5197
5272
|
}
|
|
5198
5273
|
descope-phone-field-internal > div {
|
|
5199
5274
|
width: 100%;
|
|
@@ -5224,6 +5299,7 @@ const PhoneFieldClass = compose(
|
|
|
5224
5299
|
vaadin-text-field::part(input-field)::after {
|
|
5225
5300
|
border: none;
|
|
5226
5301
|
}
|
|
5302
|
+
${resetInputLabelPosition('vaadin-text-field')}
|
|
5227
5303
|
`,
|
|
5228
5304
|
excludeAttrsSync: ['tabindex'],
|
|
5229
5305
|
componentName: componentName$g,
|
|
@@ -5456,6 +5532,7 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
5456
5532
|
fontFamily: [label$2, errorMessage$2, helperText$1],
|
|
5457
5533
|
hostWidth: { ...host$4, property: 'width' },
|
|
5458
5534
|
hostMinWidth: { ...host$4, property: 'min-width' },
|
|
5535
|
+
hostDirection: { ...host$4, property: 'direction' },
|
|
5459
5536
|
|
|
5460
5537
|
inputBorderStyle: { ...inputField, property: 'border-style' },
|
|
5461
5538
|
inputBorderWidth: { ...inputField, property: 'border-width' },
|
|
@@ -5511,7 +5588,6 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
5511
5588
|
}
|
|
5512
5589
|
vaadin-text-field::part(input-field) {
|
|
5513
5590
|
padding: 0;
|
|
5514
|
-
min-height: 0;
|
|
5515
5591
|
background: transparent;
|
|
5516
5592
|
overflow: hidden;
|
|
5517
5593
|
-webkit-mask-image: none;
|
|
@@ -5519,7 +5595,6 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
5519
5595
|
descope-phone-field-internal-input-box {
|
|
5520
5596
|
-webkit-mask-image: none;
|
|
5521
5597
|
padding: 0;
|
|
5522
|
-
min-height: 0;
|
|
5523
5598
|
width: 100%;
|
|
5524
5599
|
height: 100%;
|
|
5525
5600
|
}
|
|
@@ -5538,6 +5613,7 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
5538
5613
|
${textVars.inputOutlineOffset}: 0;
|
|
5539
5614
|
${textVars.inputBorderWidth}: 0;
|
|
5540
5615
|
${textVars.inputBorderRadius}: 0;
|
|
5616
|
+
direction: ltr;
|
|
5541
5617
|
}
|
|
5542
5618
|
vaadin-text-field[readonly] > input:placeholder-shown {
|
|
5543
5619
|
opacity: 1;
|
|
@@ -5545,6 +5621,7 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
5545
5621
|
vaadin-text-field::part(input-field)::after {
|
|
5546
5622
|
border: none;
|
|
5547
5623
|
}
|
|
5624
|
+
${resetInputLabelPosition('vaadin-text-field')}
|
|
5548
5625
|
`,
|
|
5549
5626
|
excludeAttrsSync: ['tabindex'],
|
|
5550
5627
|
componentName: componentName$e,
|
|
@@ -5595,12 +5672,13 @@ const customMixin$2 = (superclass) =>
|
|
|
5595
5672
|
}
|
|
5596
5673
|
};
|
|
5597
5674
|
|
|
5598
|
-
const { host: host$3, label: label$1, internalInputsWrapper, errorMessage: errorMessage$1, helperText } = {
|
|
5675
|
+
const { host: host$3, label: label$1, internalInputsWrapper, errorMessage: errorMessage$1, helperText, passwordInput } = {
|
|
5599
5676
|
host: { selector: () => ':host' },
|
|
5600
5677
|
label: { selector: '::part(label)' },
|
|
5601
5678
|
internalInputsWrapper: { selector: 'descope-new-password-internal .wrapper' },
|
|
5602
5679
|
helperText: { selector: '::part(helper-text)' },
|
|
5603
5680
|
errorMessage: { selector: '::part(error-message)' },
|
|
5681
|
+
passwordInput: { selector: 'descope-password' },
|
|
5604
5682
|
};
|
|
5605
5683
|
|
|
5606
5684
|
const NewPasswordClass = compose(
|
|
@@ -5618,6 +5696,10 @@ const NewPasswordClass = compose(
|
|
|
5618
5696
|
errorMessageTextColor: { ...errorMessage$1, property: 'color' },
|
|
5619
5697
|
hostWidth: { ...host$3, property: 'width' },
|
|
5620
5698
|
hostMinWidth: { ...host$3, property: 'min-width' },
|
|
5699
|
+
hostDirection: [
|
|
5700
|
+
{ ...host$3, property: 'direction' },
|
|
5701
|
+
{ ...passwordInput, property: PasswordClass.cssVarList.hostDirection },
|
|
5702
|
+
],
|
|
5621
5703
|
inputsRequiredIndicator: { ...host$3, property: 'content' },
|
|
5622
5704
|
spaceBetweenInputs: { ...internalInputsWrapper, property: 'gap' },
|
|
5623
5705
|
},
|
|
@@ -5635,6 +5717,9 @@ const NewPasswordClass = compose(
|
|
|
5635
5717
|
max-width: 100%;
|
|
5636
5718
|
box-sizing: border-box;
|
|
5637
5719
|
}
|
|
5720
|
+
:host ::part(error-message) {
|
|
5721
|
+
direction: ltr;
|
|
5722
|
+
}
|
|
5638
5723
|
${useHostExternalPadding(PasswordClass.cssVarList)}
|
|
5639
5724
|
vaadin-text-field {
|
|
5640
5725
|
padding: 0;
|
|
@@ -5670,7 +5755,7 @@ const NewPasswordClass = compose(
|
|
|
5670
5755
|
}
|
|
5671
5756
|
descope-new-password-internal vaadin-password-field::before {
|
|
5672
5757
|
height: initial;
|
|
5673
|
-
}
|
|
5758
|
+
}
|
|
5674
5759
|
`,
|
|
5675
5760
|
excludeAttrsSync: ['tabindex'],
|
|
5676
5761
|
componentName: componentName$c,
|
|
@@ -5787,9 +5872,14 @@ class NewPasswordInternal extends BaseInputClass$1 {
|
|
|
5787
5872
|
this.inputs.forEach((input) => {
|
|
5788
5873
|
const styleTag = document.createElement('style');
|
|
5789
5874
|
styleTag.innerHTML = `
|
|
5790
|
-
:host::part(required-indicator)::after {
|
|
5875
|
+
:host ::part(required-indicator)::after {
|
|
5791
5876
|
content: var(${NewPasswordClass.cssVarList.inputsRequiredIndicator});
|
|
5877
|
+
width: 1em;
|
|
5878
|
+
text-align: center;
|
|
5792
5879
|
}
|
|
5880
|
+
:host ::part(required-indicator) {
|
|
5881
|
+
display: inline-flex;
|
|
5882
|
+
}
|
|
5793
5883
|
`;
|
|
5794
5884
|
input?.shadowRoot.appendChild(styleTag);
|
|
5795
5885
|
});
|
|
@@ -6219,6 +6309,7 @@ class RawUploadFile extends BaseInputClass {
|
|
|
6219
6309
|
}
|
|
6220
6310
|
}
|
|
6221
6311
|
|
|
6312
|
+
const buttonVars = ButtonClass.cssVarList;
|
|
6222
6313
|
const { host: host$2, wrapper, icon, title, description, requiredIndicator: requiredIndicator$1 } = {
|
|
6223
6314
|
host: { selector: () => ':host' },
|
|
6224
6315
|
wrapper: { selector: () => ':host > div' },
|
|
@@ -6241,6 +6332,10 @@ const UploadFileClass = compose(
|
|
|
6241
6332
|
hostHeight: { ...host$2, property: 'height' },
|
|
6242
6333
|
hostWidth: { ...host$2, property: 'width' },
|
|
6243
6334
|
hostPadding: { property: 'padding' },
|
|
6335
|
+
hostDirection: [
|
|
6336
|
+
{ ...host$2, property: 'direction' },
|
|
6337
|
+
{ selector: () => ButtonClass.componentName, property: buttonVars.hostDirection },
|
|
6338
|
+
],
|
|
6244
6339
|
gap: { ...wrapper },
|
|
6245
6340
|
lineHeight: { ...wrapper, property: 'line-height' },
|
|
6246
6341
|
titleFontSize: { ...title, property: 'font-size' },
|
|
@@ -6517,6 +6612,7 @@ const ButtonSelectionGroupClass = compose(
|
|
|
6517
6612
|
createStyleMixin({
|
|
6518
6613
|
mappings: {
|
|
6519
6614
|
hostWidth: { ...host$1, property: 'width' },
|
|
6615
|
+
hostDirection: { ...host$1, property: 'direction' },
|
|
6520
6616
|
fontFamily: host$1,
|
|
6521
6617
|
labelTextColor: [
|
|
6522
6618
|
{ ...label, property: 'color' },
|
|
@@ -6586,6 +6682,7 @@ const ButtonSelectionGroupClass = compose(
|
|
|
6586
6682
|
box-shadow: none;
|
|
6587
6683
|
}
|
|
6588
6684
|
|
|
6685
|
+
${resetInputLabelPosition('vaadin-text-field')}
|
|
6589
6686
|
${resetInputCursor('vaadin-text-field')}
|
|
6590
6687
|
`,
|
|
6591
6688
|
excludeAttrsSync: ['tabindex'],
|
|
@@ -6668,6 +6765,10 @@ class RawSelectItem extends createBaseClass({
|
|
|
6668
6765
|
const ButtonSelectionGroupItemClass = compose(
|
|
6669
6766
|
createStyleMixin({
|
|
6670
6767
|
mappings: {
|
|
6768
|
+
hostDirection: {
|
|
6769
|
+
selector: () => ButtonClass.componentName,
|
|
6770
|
+
property: ButtonClass.cssVarList.hostDirection,
|
|
6771
|
+
},
|
|
6671
6772
|
backgroundColor: {
|
|
6672
6773
|
selector: () => ButtonClass.componentName,
|
|
6673
6774
|
property: ButtonClass.cssVarList.backgroundColor,
|
|
@@ -7204,6 +7305,8 @@ const genColors = (colors) => {
|
|
|
7204
7305
|
}, {});
|
|
7205
7306
|
};
|
|
7206
7307
|
|
|
7308
|
+
const direction = 'ltr';
|
|
7309
|
+
|
|
7207
7310
|
const colors = genColors({
|
|
7208
7311
|
surface: {
|
|
7209
7312
|
main: 'lightgray',
|
|
@@ -7349,6 +7452,7 @@ const globals = {
|
|
|
7349
7452
|
radius,
|
|
7350
7453
|
shadow,
|
|
7351
7454
|
fonts,
|
|
7455
|
+
direction,
|
|
7352
7456
|
};
|
|
7353
7457
|
const vars$u = getThemeVars(globals);
|
|
7354
7458
|
|
|
@@ -7373,6 +7477,7 @@ const button = {
|
|
|
7373
7477
|
[compVars$4.cursor]: 'pointer',
|
|
7374
7478
|
[compVars$4.hostHeight]: '3em',
|
|
7375
7479
|
[compVars$4.hostWidth]: 'auto',
|
|
7480
|
+
[compVars$4.hostDirection]: globalRefs$f.direction,
|
|
7376
7481
|
|
|
7377
7482
|
[compVars$4.borderRadius]: globalRefs$f.radius.sm,
|
|
7378
7483
|
[compVars$4.borderWidth]: globalRefs$f.border.xs,
|
|
@@ -7501,6 +7606,8 @@ const [theme$1, refs, vars$s] = createHelperVars(
|
|
|
7501
7606
|
|
|
7502
7607
|
fontFamily: globalRefs$e.fonts.font1.family,
|
|
7503
7608
|
|
|
7609
|
+
direction: globalRefs$e.direction,
|
|
7610
|
+
|
|
7504
7611
|
size: {
|
|
7505
7612
|
xs: { fontSize: '12px' },
|
|
7506
7613
|
sm: { fontSize: '14px' },
|
|
@@ -7551,6 +7658,7 @@ const vars$r = TextFieldClass.cssVarList;
|
|
|
7551
7658
|
const textField = {
|
|
7552
7659
|
[vars$r.hostWidth]: refs.width,
|
|
7553
7660
|
[vars$r.hostMinWidth]: refs.minWidth,
|
|
7661
|
+
[vars$r.hostDirection]: refs.direction,
|
|
7554
7662
|
[vars$r.fontSize]: refs.fontSize,
|
|
7555
7663
|
[vars$r.fontFamily]: refs.fontFamily,
|
|
7556
7664
|
[vars$r.labelTextColor]: refs.labelTextColor,
|
|
@@ -7583,6 +7691,7 @@ const vars$q = PasswordClass.cssVarList;
|
|
|
7583
7691
|
|
|
7584
7692
|
const password = {
|
|
7585
7693
|
[vars$q.hostWidth]: refs.width,
|
|
7694
|
+
[vars$q.hostDirection]: refs.direction,
|
|
7586
7695
|
[vars$q.fontSize]: refs.fontSize,
|
|
7587
7696
|
[vars$q.fontFamily]: refs.fontFamily,
|
|
7588
7697
|
[vars$q.labelTextColor]: refs.labelTextColor,
|
|
@@ -7616,6 +7725,7 @@ const vars$p = NumberFieldClass.cssVarList;
|
|
|
7616
7725
|
const numberField = {
|
|
7617
7726
|
[vars$p.hostWidth]: refs.width,
|
|
7618
7727
|
[vars$p.hostMinWidth]: refs.minWidth,
|
|
7728
|
+
[vars$p.hostDirection]: refs.direction,
|
|
7619
7729
|
[vars$p.fontSize]: refs.fontSize,
|
|
7620
7730
|
[vars$p.fontFamily]: refs.fontFamily,
|
|
7621
7731
|
[vars$p.labelTextColor]: refs.labelTextColor,
|
|
@@ -7647,6 +7757,7 @@ const vars$o = EmailFieldClass.cssVarList;
|
|
|
7647
7757
|
const emailField = {
|
|
7648
7758
|
[vars$o.hostWidth]: refs.width,
|
|
7649
7759
|
[vars$o.hostMinWidth]: refs.minWidth,
|
|
7760
|
+
[vars$o.hostDirection]: refs.direction,
|
|
7650
7761
|
[vars$o.fontSize]: refs.fontSize,
|
|
7651
7762
|
[vars$o.fontFamily]: refs.fontFamily,
|
|
7652
7763
|
[vars$o.labelTextColor]: refs.labelTextColor,
|
|
@@ -7679,6 +7790,7 @@ const vars$n = TextAreaClass.cssVarList;
|
|
|
7679
7790
|
const textArea = {
|
|
7680
7791
|
[vars$n.hostWidth]: refs.width,
|
|
7681
7792
|
[vars$n.hostMinWidth]: refs.minWidth,
|
|
7793
|
+
[vars$n.hostDirection]: refs.direction,
|
|
7682
7794
|
[vars$n.fontSize]: refs.fontSize,
|
|
7683
7795
|
[vars$n.fontFamily]: refs.fontFamily,
|
|
7684
7796
|
[vars$n.labelTextColor]: refs.labelTextColor,
|
|
@@ -7718,6 +7830,7 @@ const checkboxSize = '1.35em';
|
|
|
7718
7830
|
|
|
7719
7831
|
const checkbox = {
|
|
7720
7832
|
[vars$m.hostWidth]: refs.width,
|
|
7833
|
+
[vars$m.hostDirection]: refs.direction,
|
|
7721
7834
|
[vars$m.fontSize]: refs.fontSize,
|
|
7722
7835
|
[vars$m.fontFamily]: refs.fontFamily,
|
|
7723
7836
|
[vars$m.labelTextColor]: refs.labelTextColor,
|
|
@@ -7760,6 +7873,7 @@ const vars$l = SwitchToggleClass.cssVarList;
|
|
|
7760
7873
|
|
|
7761
7874
|
const switchToggle = {
|
|
7762
7875
|
[vars$l.hostWidth]: refs.width,
|
|
7876
|
+
[vars$l.hostDirection]: refs.direction,
|
|
7763
7877
|
[vars$l.fontSize]: refs.fontSize,
|
|
7764
7878
|
[vars$l.fontFamily]: refs.fontFamily,
|
|
7765
7879
|
|
|
@@ -7967,6 +8081,7 @@ const globalRefs$9 = getThemeRefs(globals);
|
|
|
7967
8081
|
const vars$h = TextClass.cssVarList;
|
|
7968
8082
|
|
|
7969
8083
|
const text = {
|
|
8084
|
+
[vars$h.hostDirection]: globalRefs$9.direction,
|
|
7970
8085
|
[vars$h.textLineHeight]: '1.35em',
|
|
7971
8086
|
[vars$h.textAlign]: 'left',
|
|
7972
8087
|
[vars$h.textColor]: globalRefs$9.colors.surface.dark,
|
|
@@ -8056,6 +8171,7 @@ const globalRefs$8 = getThemeRefs(globals);
|
|
|
8056
8171
|
const vars$g = LinkClass.cssVarList;
|
|
8057
8172
|
|
|
8058
8173
|
const link = {
|
|
8174
|
+
[vars$g.hostDirection]: globalRefs$8.direction,
|
|
8059
8175
|
[vars$g.cursor]: 'pointer',
|
|
8060
8176
|
|
|
8061
8177
|
[vars$g.textColor]: globalRefs$8.colors.primary.main,
|
|
@@ -8100,12 +8216,13 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
|
8100
8216
|
thickness: '2px',
|
|
8101
8217
|
spacing: '10px',
|
|
8102
8218
|
},
|
|
8103
|
-
componentName$
|
|
8219
|
+
componentName$u
|
|
8104
8220
|
);
|
|
8105
8221
|
|
|
8106
8222
|
const divider = {
|
|
8107
8223
|
...helperTheme$1,
|
|
8108
8224
|
|
|
8225
|
+
[compVars$2.hostDirection]: globalRefs$7.direction,
|
|
8109
8226
|
[compVars$2.alignItems]: 'center',
|
|
8110
8227
|
[compVars$2.flexDirection]: 'row',
|
|
8111
8228
|
[compVars$2.alignSelf]: 'stretch',
|
|
@@ -8116,6 +8233,7 @@ const divider = {
|
|
|
8116
8233
|
[compVars$2.labelTextWidth]: 'fit-content',
|
|
8117
8234
|
[compVars$2.labelTextMaxWidth]: 'calc(100% - 100px)',
|
|
8118
8235
|
[compVars$2.labelTextHorizontalSpacing]: helperRefs$1.spacing,
|
|
8236
|
+
[compVars$2.textAlign]: 'center',
|
|
8119
8237
|
|
|
8120
8238
|
_vertical: {
|
|
8121
8239
|
[compVars$2.minHeight]: '200px',
|
|
@@ -8143,6 +8261,7 @@ var divider$1 = /*#__PURE__*/Object.freeze({
|
|
|
8143
8261
|
const vars$e = PasscodeClass.cssVarList;
|
|
8144
8262
|
|
|
8145
8263
|
const passcode = {
|
|
8264
|
+
[vars$e.hostDirection]: refs.direction,
|
|
8146
8265
|
[vars$e.fontFamily]: refs.fontFamily,
|
|
8147
8266
|
[vars$e.fontSize]: refs.fontSize,
|
|
8148
8267
|
[vars$e.labelTextColor]: refs.labelTextColor,
|
|
@@ -8274,6 +8393,7 @@ const vars$b = ComboBoxClass.cssVarList;
|
|
|
8274
8393
|
|
|
8275
8394
|
const comboBox = {
|
|
8276
8395
|
[vars$b.hostWidth]: refs.width,
|
|
8396
|
+
[vars$b.hostDirection]: refs.direction,
|
|
8277
8397
|
[vars$b.fontSize]: refs.fontSize,
|
|
8278
8398
|
[vars$b.fontFamily]: refs.fontFamily,
|
|
8279
8399
|
[vars$b.labelTextColor]: refs.labelTextColor,
|
|
@@ -8296,6 +8416,8 @@ const comboBox = {
|
|
|
8296
8416
|
[vars$b.inputDropdownButtonCursor]: 'pointer',
|
|
8297
8417
|
[vars$b.inputDropdownButtonSize]: refs.toggleButtonSize,
|
|
8298
8418
|
[vars$b.inputDropdownButtonOffset]: globalRefs$4.spacing.xs,
|
|
8419
|
+
[vars$b.overlayItemPaddingInlineStart]: globalRefs$4.spacing.xs,
|
|
8420
|
+
[vars$b.overlayItemPaddingInlineEnd]: globalRefs$4.spacing.lg,
|
|
8299
8421
|
|
|
8300
8422
|
_readonly: {
|
|
8301
8423
|
[vars$b.inputDropdownButtonCursor]: 'default',
|
|
@@ -8333,6 +8455,7 @@ const vars$9 = PhoneFieldClass.cssVarList;
|
|
|
8333
8455
|
|
|
8334
8456
|
const phoneField = {
|
|
8335
8457
|
[vars$9.hostWidth]: refs.width,
|
|
8458
|
+
[vars$9.hostDirection]: refs.direction,
|
|
8336
8459
|
[vars$9.fontSize]: refs.fontSize,
|
|
8337
8460
|
[vars$9.fontFamily]: refs.fontFamily,
|
|
8338
8461
|
[vars$9.labelTextColor]: refs.labelTextColor,
|
|
@@ -8368,6 +8491,7 @@ const vars$8 = PhoneFieldInputBoxClass.cssVarList;
|
|
|
8368
8491
|
const phoneInputBoxField = {
|
|
8369
8492
|
[vars$8.hostWidth]: '16em',
|
|
8370
8493
|
[vars$8.hostMinWidth]: refs.minWidth,
|
|
8494
|
+
[vars$8.hostDirection]: refs.direction,
|
|
8371
8495
|
[vars$8.fontSize]: refs.fontSize,
|
|
8372
8496
|
[vars$8.fontFamily]: refs.fontFamily,
|
|
8373
8497
|
[vars$8.labelTextColor]: refs.labelTextColor,
|
|
@@ -8399,6 +8523,7 @@ const vars$7 = NewPasswordClass.cssVarList;
|
|
|
8399
8523
|
const newPassword = {
|
|
8400
8524
|
[vars$7.hostWidth]: refs.width,
|
|
8401
8525
|
[vars$7.hostMinWidth]: refs.minWidth,
|
|
8526
|
+
[vars$7.hostDirection]: refs.direction,
|
|
8402
8527
|
[vars$7.fontSize]: refs.fontSize,
|
|
8403
8528
|
[vars$7.fontFamily]: refs.fontFamily,
|
|
8404
8529
|
[vars$7.spaceBetweenInputs]: '1em',
|
|
@@ -8421,6 +8546,7 @@ var newPassword$1 = /*#__PURE__*/Object.freeze({
|
|
|
8421
8546
|
const vars$6 = UploadFileClass.cssVarList;
|
|
8422
8547
|
|
|
8423
8548
|
const uploadFile = {
|
|
8549
|
+
[vars$6.hostDirection]: refs.direction,
|
|
8424
8550
|
[vars$6.labelTextColor]: refs.labelTextColor,
|
|
8425
8551
|
[vars$6.fontFamily]: refs.fontFamily,
|
|
8426
8552
|
|
|
@@ -8489,6 +8615,7 @@ const globalRefs$3 = getThemeRefs(globals);
|
|
|
8489
8615
|
const vars$5 = ButtonSelectionGroupItemClass.cssVarList;
|
|
8490
8616
|
|
|
8491
8617
|
const buttonSelectionGroupItem = {
|
|
8618
|
+
[vars$5.hostDirection]: 'inherit',
|
|
8492
8619
|
[vars$5.backgroundColor]: globalRefs$3.colors.surface.light,
|
|
8493
8620
|
[vars$5.labelTextColor]: globalRefs$3.colors.surface.contrast,
|
|
8494
8621
|
[vars$5.borderColor]: globalRefs$3.colors.surface.main,
|
|
@@ -8516,6 +8643,7 @@ const globalRefs$2 = getThemeRefs(globals);
|
|
|
8516
8643
|
const vars$4 = ButtonSelectionGroupClass.cssVarList;
|
|
8517
8644
|
|
|
8518
8645
|
const buttonSelectionGroup = {
|
|
8646
|
+
[vars$4.hostDirection]: refs.direction,
|
|
8519
8647
|
[vars$4.fontFamily]: refs.fontFamily,
|
|
8520
8648
|
[vars$4.labelTextColor]: refs.labelTextColor,
|
|
8521
8649
|
[vars$4.labelRequiredIndicator]: refs.requiredIndicator,
|