@descope/web-components-ui 1.0.82 → 1.0.84
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/index.esm.js +419 -312
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/18.js +577 -0
- package/dist/umd/{233.js.LICENSE.txt → 18.js.LICENSE.txt} +6 -0
- package/dist/umd/803.js +1 -0
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -0
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -0
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -0
- package/dist/umd/descope-combo-box-index-js.js +1 -1
- package/dist/umd/descope-container-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
- package/src/components/boolean-fields/booleanFieldMixin.js +38 -0
- package/src/components/boolean-fields/commonStyles.js +59 -0
- package/src/components/{descope-checkbox/descope-checkbox-internal/CheckboxInternal.js → boolean-fields/descope-boolean-field-internal/BooleanFieldInternal.js} +7 -4
- package/src/components/boolean-fields/descope-boolean-field-internal/index.js +3 -0
- package/src/components/{descope-checkbox → boolean-fields/descope-checkbox}/Checkbox.js +7 -95
- package/src/components/{descope-checkbox → boolean-fields/descope-checkbox}/index.js +3 -1
- package/src/components/boolean-fields/descope-switch-toggle/SwitchToggle.js +124 -0
- package/src/components/boolean-fields/descope-switch-toggle/index.js +8 -0
- package/src/components/descope-container/Container.js +2 -1
- package/src/index.js +2 -2
- package/src/index.umd.js +5 -0
- package/src/theme/components/checkbox.js +3 -6
- package/src/theme/components/container.js +1 -0
- package/src/theme/components/switchToggle.js +71 -4
- package/dist/umd/233.js +0 -577
- package/dist/umd/786.js +0 -2
- package/dist/umd/786.js.LICENSE.txt +0 -17
- package/dist/umd/descope-checkbox-descope-checkbox-internal-index-js.js +0 -1
- package/dist/umd/descope-checkbox-index-js.js +0 -1
- package/dist/umd/descope-switch-toggle-index-js.js +0 -1
- package/src/components/descope-checkbox/descope-checkbox-internal/index.js +0 -3
- package/src/components/descope-switch-toggle/SwitchToggle.js +0 -89
- package/src/components/descope-switch-toggle/index.js +0 -6
package/dist/index.esm.js
CHANGED
|
@@ -1051,7 +1051,7 @@ const iconStyles = `
|
|
|
1051
1051
|
}
|
|
1052
1052
|
`;
|
|
1053
1053
|
|
|
1054
|
-
const { label: label$
|
|
1054
|
+
const { label: label$5, host: host$9 } = {
|
|
1055
1055
|
label: { selector: '::part(label)' },
|
|
1056
1056
|
host: { selector: () => ':host' }
|
|
1057
1057
|
};
|
|
@@ -1061,16 +1061,16 @@ const Button = compose(
|
|
|
1061
1061
|
mappings: {
|
|
1062
1062
|
backgroundColor: {},
|
|
1063
1063
|
borderRadius: {},
|
|
1064
|
-
color: label$
|
|
1064
|
+
color: label$5,
|
|
1065
1065
|
borderColor: {},
|
|
1066
1066
|
borderStyle: {},
|
|
1067
1067
|
borderWidth: {},
|
|
1068
1068
|
fontSize: {},
|
|
1069
1069
|
height: {},
|
|
1070
|
-
width: host$
|
|
1070
|
+
width: host$9,
|
|
1071
1071
|
cursor: {},
|
|
1072
|
-
padding: label$
|
|
1073
|
-
textDecoration: label$
|
|
1072
|
+
padding: label$5,
|
|
1073
|
+
textDecoration: label$5
|
|
1074
1074
|
}
|
|
1075
1075
|
}),
|
|
1076
1076
|
draggableMixin,
|
|
@@ -1129,7 +1129,7 @@ const createBaseInputClass = (...args) => compose(
|
|
|
1129
1129
|
inputEventsDispatchingMixin
|
|
1130
1130
|
)(createBaseClass(...args));
|
|
1131
1131
|
|
|
1132
|
-
const componentName$n = getComponentName('
|
|
1132
|
+
const componentName$n = getComponentName('boolean-field-internal');
|
|
1133
1133
|
|
|
1134
1134
|
const forwardAttributes$1 = [
|
|
1135
1135
|
'disabled',
|
|
@@ -1140,7 +1140,7 @@ const forwardAttributes$1 = [
|
|
|
1140
1140
|
|
|
1141
1141
|
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$n, baseSelector: 'div' });
|
|
1142
1142
|
|
|
1143
|
-
class
|
|
1143
|
+
class BooleanInputInternal extends BaseInputClass$3 {
|
|
1144
1144
|
constructor() {
|
|
1145
1145
|
super();
|
|
1146
1146
|
this.innerHTML = `
|
|
@@ -1177,7 +1177,10 @@ class CheckboxInternal extends BaseInputClass$3 {
|
|
|
1177
1177
|
super.init?.();
|
|
1178
1178
|
|
|
1179
1179
|
forwardAttrs(this, this.checkbox, { includeAttrs: forwardAttributes$1 });
|
|
1180
|
-
syncAttrs(this, this.checkbox, { includeAttrs: ['checked'
|
|
1180
|
+
syncAttrs(this, this.checkbox, { includeAttrs: ['checked'] });
|
|
1181
|
+
|
|
1182
|
+
// we need it in order to set the focus ring and trigger validation on descope-checkbox
|
|
1183
|
+
this.handleFocusEventsDispatching([this.checkbox]);
|
|
1181
1184
|
}
|
|
1182
1185
|
|
|
1183
1186
|
getValidity() {
|
|
@@ -1188,52 +1191,112 @@ class CheckboxInternal extends BaseInputClass$3 {
|
|
|
1188
1191
|
};
|
|
1189
1192
|
}
|
|
1190
1193
|
|
|
1191
|
-
const
|
|
1194
|
+
const booleanFieldMixin = (superclass) =>
|
|
1195
|
+
class BooleanFieldMixinClass extends superclass {
|
|
1196
|
+
constructor() {
|
|
1197
|
+
super();
|
|
1198
|
+
}
|
|
1192
1199
|
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
constructor() {
|
|
1196
|
-
super();
|
|
1197
|
-
}
|
|
1200
|
+
init() {
|
|
1201
|
+
super.init?.();
|
|
1198
1202
|
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
const template = document.createElement('template');
|
|
1203
|
-
template.innerHTML = `
|
|
1203
|
+
const template = document.createElement('template');
|
|
1204
|
+
template.innerHTML = `
|
|
1204
1205
|
<${componentName$n}
|
|
1205
1206
|
tabindex="-1"
|
|
1206
1207
|
slot="input"
|
|
1207
1208
|
></${componentName$n}>
|
|
1208
1209
|
`;
|
|
1209
1210
|
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1211
|
+
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
1212
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$n);
|
|
1213
|
+
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
|
1214
|
+
|
|
1215
|
+
forwardAttrs(this, this.inputElement, {
|
|
1216
|
+
includeAttrs: [
|
|
1217
|
+
'required',
|
|
1218
|
+
'full-width',
|
|
1219
|
+
'size',
|
|
1220
|
+
'label',
|
|
1221
|
+
'invalid',
|
|
1222
|
+
]
|
|
1223
|
+
});
|
|
1224
|
+
|
|
1225
|
+
forwardProps(this.inputElement, this, ['checked']);
|
|
1226
|
+
syncAttrs(this, this.inputElement, { includeAttrs: ['checked'] });
|
|
1227
|
+
}
|
|
1228
|
+
};
|
|
1213
1229
|
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
});
|
|
1230
|
+
var commonStyles = `
|
|
1231
|
+
:host {
|
|
1232
|
+
--vaadin-field-default-width: auto;
|
|
1233
|
+
display: inline-flex;
|
|
1234
|
+
}
|
|
1235
|
+
.wrapper {
|
|
1236
|
+
display: flex;
|
|
1237
|
+
}
|
|
1223
1238
|
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1239
|
+
vaadin-text-field {
|
|
1240
|
+
position: relative;
|
|
1241
|
+
padding: 0;
|
|
1242
|
+
display: inline-flex;
|
|
1243
|
+
align-items: flex-start;
|
|
1244
|
+
}
|
|
1245
|
+
vaadin-text-field::before {
|
|
1246
|
+
height: 0;
|
|
1247
|
+
margin: 0;
|
|
1248
|
+
}
|
|
1249
|
+
vaadin-text-field::part(label) {
|
|
1250
|
+
position: absolute;
|
|
1251
|
+
top: 0;
|
|
1252
|
+
}
|
|
1253
|
+
vaadin-text-field::part(input-field) {
|
|
1254
|
+
padding: 0;
|
|
1255
|
+
background: none;
|
|
1256
|
+
min-height: 0;
|
|
1257
|
+
}
|
|
1258
|
+
vaadin-text-field::part(input-field)::after {
|
|
1259
|
+
background: none;
|
|
1260
|
+
}
|
|
1261
|
+
vaadin-text-field[focus-ring]::part(input-field) {
|
|
1262
|
+
box-shadow: none;
|
|
1263
|
+
}
|
|
1264
|
+
vaadin-text-field[required]::part(required-indicator)::after {
|
|
1265
|
+
content: "*";
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
vaadin-checkbox [slot="label"] {
|
|
1269
|
+
align-self: flex-start;
|
|
1270
|
+
opacity: 0;
|
|
1271
|
+
padding: 0;
|
|
1272
|
+
}
|
|
1273
|
+
[required] vaadin-checkbox [slot="label"] {
|
|
1274
|
+
padding-right: 1em;
|
|
1275
|
+
}
|
|
1276
|
+
vaadin-checkbox::part(checkbox) {
|
|
1277
|
+
margin: 0;
|
|
1278
|
+
}
|
|
1279
|
+
vaadin-checkbox[focus-ring]::part(checkbox) {
|
|
1280
|
+
box-shadow: none;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
descope-boolean-field-internal {
|
|
1284
|
+
-webkit-mask-image: none;
|
|
1285
|
+
min-height: 0;
|
|
1286
|
+
padding: 0;
|
|
1287
|
+
}
|
|
1288
|
+
`;
|
|
1289
|
+
|
|
1290
|
+
const componentName$m = getComponentName('checkbox');
|
|
1228
1291
|
|
|
1229
1292
|
const {
|
|
1230
|
-
host: host$
|
|
1231
|
-
component,
|
|
1293
|
+
host: host$8,
|
|
1294
|
+
component: component$1,
|
|
1232
1295
|
checkboxElement,
|
|
1233
1296
|
checkboxSurface,
|
|
1234
|
-
checkboxHiddenLabel,
|
|
1235
|
-
label: label$
|
|
1236
|
-
requiredIndicator: requiredIndicator$
|
|
1297
|
+
checkboxHiddenLabel: checkboxHiddenLabel$1,
|
|
1298
|
+
label: label$4,
|
|
1299
|
+
requiredIndicator: requiredIndicator$4
|
|
1237
1300
|
} = {
|
|
1238
1301
|
host: { selector: () => ':host' },
|
|
1239
1302
|
label: { selector: '::part(label)' },
|
|
@@ -1247,15 +1310,15 @@ const {
|
|
|
1247
1310
|
const Checkbox = compose(
|
|
1248
1311
|
createStyleMixin({
|
|
1249
1312
|
mappings: {
|
|
1250
|
-
width: host$
|
|
1251
|
-
cursor: component,
|
|
1313
|
+
width: host$8,
|
|
1314
|
+
cursor: component$1,
|
|
1252
1315
|
|
|
1253
1316
|
// Checkbox
|
|
1254
1317
|
checkboxBackgroundColor: { ...checkboxElement, property: 'background-color' },
|
|
1255
1318
|
checkboxRadius: { ...checkboxElement, property: 'border-radius' },
|
|
1256
1319
|
checkboxWidth: [
|
|
1257
1320
|
{ ...checkboxElement, property: 'width' },
|
|
1258
|
-
{ ...label$
|
|
1321
|
+
{ ...label$4, property: 'margin-left' }
|
|
1259
1322
|
],
|
|
1260
1323
|
checkboxHeight: { ...checkboxElement, property: 'height' },
|
|
1261
1324
|
|
|
@@ -1265,13 +1328,121 @@ const Checkbox = compose(
|
|
|
1265
1328
|
checkboxOutlineStyle: { ...checkboxElement, property: 'outline-style' },
|
|
1266
1329
|
|
|
1267
1330
|
// Checkmark
|
|
1268
|
-
checkmarkSize: [{ ...checkboxSurface, property: 'font-size' }, { ...component, property: 'font-size' }],
|
|
1331
|
+
checkmarkSize: [{ ...checkboxSurface, property: 'font-size' }, { ...component$1, property: 'font-size' }],
|
|
1269
1332
|
checkmarkTextColor: { ...checkboxSurface, property: 'color' },
|
|
1270
1333
|
|
|
1271
1334
|
// Label
|
|
1272
1335
|
labelFontSize: [
|
|
1273
|
-
{ ...label$
|
|
1274
|
-
{ ...checkboxHiddenLabel, property: 'font-size' }
|
|
1336
|
+
{ ...label$4, property: 'font-size' },
|
|
1337
|
+
{ ...checkboxHiddenLabel$1, property: 'font-size' }
|
|
1338
|
+
],
|
|
1339
|
+
labelLineHeight: [
|
|
1340
|
+
{ ...label$4, property: 'line-height' },
|
|
1341
|
+
{ ...checkboxHiddenLabel$1, property: 'line-height' }
|
|
1342
|
+
],
|
|
1343
|
+
labelFontWeight: [
|
|
1344
|
+
{ ...label$4, property: 'font-weight' },
|
|
1345
|
+
{ ...checkboxHiddenLabel$1, property: 'font-weight' }
|
|
1346
|
+
],
|
|
1347
|
+
labelMargin: [
|
|
1348
|
+
{ ...label$4, property: 'left' },
|
|
1349
|
+
{ ...checkboxHiddenLabel$1, property: 'padding-left' }
|
|
1350
|
+
],
|
|
1351
|
+
labelTextColor: [
|
|
1352
|
+
{ ...label$4, property: 'color' },
|
|
1353
|
+
{ ...requiredIndicator$4, property: 'color' },
|
|
1354
|
+
],
|
|
1355
|
+
},
|
|
1356
|
+
}),
|
|
1357
|
+
draggableMixin,
|
|
1358
|
+
proxyInputMixin,
|
|
1359
|
+
componentNameValidationMixin,
|
|
1360
|
+
booleanFieldMixin
|
|
1361
|
+
)(
|
|
1362
|
+
createProxy({
|
|
1363
|
+
slots: [],
|
|
1364
|
+
wrappedEleName: 'vaadin-text-field',
|
|
1365
|
+
style: `
|
|
1366
|
+
${commonStyles}
|
|
1367
|
+
|
|
1368
|
+
vaadin-checkbox [slot="label"] {
|
|
1369
|
+
height: 100%;
|
|
1370
|
+
cursor: pointer;
|
|
1371
|
+
}
|
|
1372
|
+
`,
|
|
1373
|
+
excludeAttrsSync: ['tabindex'],
|
|
1374
|
+
componentName: componentName$m
|
|
1375
|
+
})
|
|
1376
|
+
);
|
|
1377
|
+
|
|
1378
|
+
customElements.define(componentName$n, BooleanInputInternal);
|
|
1379
|
+
|
|
1380
|
+
customElements.define(componentName$m, Checkbox);
|
|
1381
|
+
|
|
1382
|
+
const componentName$l = getComponentName('switch-toggle');
|
|
1383
|
+
|
|
1384
|
+
const {
|
|
1385
|
+
host: host$7,
|
|
1386
|
+
component,
|
|
1387
|
+
checkboxElement: track,
|
|
1388
|
+
checkboxSurface: knob,
|
|
1389
|
+
checkboxHiddenLabel,
|
|
1390
|
+
label: label$3,
|
|
1391
|
+
requiredIndicator: requiredIndicator$3,
|
|
1392
|
+
} = {
|
|
1393
|
+
host: { selector: () => ':host' },
|
|
1394
|
+
label: { selector: '::part(label)' },
|
|
1395
|
+
requiredIndicator: { selector: '::part(required-indicator)::after' },
|
|
1396
|
+
component: { selector: 'vaadin-checkbox' },
|
|
1397
|
+
checkboxElement: { selector: 'vaadin-checkbox::part(checkbox)' },
|
|
1398
|
+
checkboxSurface: { selector: 'vaadin-checkbox::part(checkbox)::after' },
|
|
1399
|
+
checkboxHiddenLabel: { selector: 'vaadin-checkbox [slot="label"]' },
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
const SwitchToggle = compose(
|
|
1403
|
+
createStyleMixin({
|
|
1404
|
+
mappings: {
|
|
1405
|
+
width: host$7,
|
|
1406
|
+
cursor: [component, checkboxHiddenLabel, track],
|
|
1407
|
+
fontSize: [component, label$3, checkboxHiddenLabel],
|
|
1408
|
+
|
|
1409
|
+
// Track
|
|
1410
|
+
trackBorderWidth: { ...track, property: 'border-width' },
|
|
1411
|
+
trackBorderStyle: { ...track, property: 'border-style' },
|
|
1412
|
+
trackBorderColor: { ...track, property: 'border-color' },
|
|
1413
|
+
|
|
1414
|
+
// Checkbox
|
|
1415
|
+
trackBackgroundColor: { ...track, property: 'background-color' },
|
|
1416
|
+
trackRadius: { ...track, property: 'border-radius' },
|
|
1417
|
+
|
|
1418
|
+
trackWidth: [
|
|
1419
|
+
{ ...track, property: 'width' },
|
|
1420
|
+
],
|
|
1421
|
+
trackHeight: [
|
|
1422
|
+
{ ...knob, property: 'font-size' },
|
|
1423
|
+
{ ...track, property: 'height' }
|
|
1424
|
+
],
|
|
1425
|
+
switchOutlineWidth: { ...track, property: 'outline-width' },
|
|
1426
|
+
switchOutlineOffset: { ...track, property: 'outline-offset' },
|
|
1427
|
+
switchOutlineColor: { ...track, property: 'outline-color' },
|
|
1428
|
+
switchOutlineStyle: { ...track, property: 'outline-style' },
|
|
1429
|
+
|
|
1430
|
+
// Knob
|
|
1431
|
+
knobSize: [
|
|
1432
|
+
{ ...knob, property: 'width' },
|
|
1433
|
+
{ ...knob, property: 'height' },
|
|
1434
|
+
],
|
|
1435
|
+
knobTextColor: { ...knob, property: 'color' },
|
|
1436
|
+
knobRadius: { ...knob, property: 'border-radius' },
|
|
1437
|
+
knobTransition: { ...knob, property: 'transition' },
|
|
1438
|
+
knobColor: { ...knob, property: 'background-color' },
|
|
1439
|
+
knobTopOffset: { ...knob, property: 'top' },
|
|
1440
|
+
knobPosition: { ...knob, property: 'left' },
|
|
1441
|
+
|
|
1442
|
+
// Label
|
|
1443
|
+
labelMargin: [
|
|
1444
|
+
{ ...label$3, property: 'padding-left' },
|
|
1445
|
+
{ ...checkboxHiddenLabel, property: 'padding-left' }
|
|
1275
1446
|
],
|
|
1276
1447
|
labelLineHeight: [
|
|
1277
1448
|
{ ...label$3, property: 'line-height' },
|
|
@@ -1281,10 +1452,6 @@ const Checkbox = compose(
|
|
|
1281
1452
|
{ ...label$3, property: 'font-weight' },
|
|
1282
1453
|
{ ...checkboxHiddenLabel, property: 'font-weight' }
|
|
1283
1454
|
],
|
|
1284
|
-
labelMargin: [
|
|
1285
|
-
{ ...label$3, property: 'left' },
|
|
1286
|
-
{ ...checkboxHiddenLabel, property: 'padding-left' }
|
|
1287
|
-
],
|
|
1288
1455
|
labelTextColor: [
|
|
1289
1456
|
{ ...label$3, property: 'color' },
|
|
1290
1457
|
{ ...requiredIndicator$3, property: 'color' },
|
|
@@ -1294,86 +1461,42 @@ const Checkbox = compose(
|
|
|
1294
1461
|
draggableMixin,
|
|
1295
1462
|
proxyInputMixin,
|
|
1296
1463
|
componentNameValidationMixin,
|
|
1297
|
-
|
|
1464
|
+
booleanFieldMixin
|
|
1298
1465
|
)(
|
|
1299
1466
|
createProxy({
|
|
1300
1467
|
slots: [],
|
|
1301
1468
|
wrappedEleName: 'vaadin-text-field',
|
|
1302
|
-
style: `
|
|
1303
|
-
|
|
1304
|
-
--vaadin-field-default-width: auto;
|
|
1305
|
-
display: inline-flex;
|
|
1306
|
-
}
|
|
1307
|
-
.wrapper {
|
|
1308
|
-
display: flex;
|
|
1309
|
-
}
|
|
1469
|
+
style: () => `
|
|
1470
|
+
${commonStyles}
|
|
1310
1471
|
|
|
1311
|
-
vaadin-text-field {
|
|
1312
|
-
position: relative;
|
|
1313
|
-
padding: 0;
|
|
1314
|
-
display: inline-flex;
|
|
1315
|
-
align-items: flex-start;
|
|
1316
|
-
}
|
|
1317
|
-
vaadin-text-field[focus-ring]::part(input-field) {
|
|
1318
|
-
box-shadow: none;
|
|
1319
|
-
}
|
|
1320
|
-
vaadin-text-field::before {
|
|
1321
|
-
height: auto;
|
|
1322
|
-
margin: 0;
|
|
1323
|
-
}
|
|
1324
|
-
vaadin-text-field::part(input-field) {
|
|
1325
|
-
padding: 0;
|
|
1326
|
-
background: none;
|
|
1327
|
-
min-height: 0;
|
|
1328
|
-
}
|
|
1329
|
-
vaadin-text-field::part(input-field)::after {
|
|
1330
|
-
background: none;
|
|
1331
|
-
}
|
|
1332
1472
|
vaadin-text-field::part(label) {
|
|
1333
|
-
|
|
1334
|
-
top: 0;
|
|
1335
|
-
}
|
|
1336
|
-
vaadin-text-field[required]::part(required-indicator)::after {
|
|
1337
|
-
content: "*";
|
|
1473
|
+
left: calc(var(${SwitchToggle.cssVarList.trackWidth}) + var(${SwitchToggle.cssVarList.trackBorderWidth}) * 2);
|
|
1338
1474
|
}
|
|
1339
1475
|
|
|
1340
|
-
vaadin-checkbox
|
|
1341
|
-
|
|
1342
|
-
height: 100%;
|
|
1343
|
-
align-self: flex-start;
|
|
1344
|
-
padding: 0;
|
|
1345
|
-
cursor: pointer;
|
|
1346
|
-
}
|
|
1347
|
-
[required] vaadin-checkbox [slot="label"] {
|
|
1348
|
-
padding-right: 1em;
|
|
1476
|
+
vaadin-checkbox[active]::part(checkbox) {
|
|
1477
|
+
transform: none;
|
|
1349
1478
|
}
|
|
1350
|
-
vaadin-checkbox::part(checkbox) {
|
|
1351
|
-
|
|
1352
|
-
}
|
|
1353
|
-
vaadin-checkbox[focus-ring]::part(checkbox) {
|
|
1354
|
-
box-shadow: none;
|
|
1479
|
+
vaadin-checkbox[checked]::part(checkbox) {
|
|
1480
|
+
background: none;
|
|
1355
1481
|
}
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
padding: 0;
|
|
1482
|
+
vaadin-checkbox::part(checkbox)::after {
|
|
1483
|
+
position: absolute;
|
|
1484
|
+
opacity: 1;
|
|
1485
|
+
content: '';
|
|
1361
1486
|
}
|
|
1362
1487
|
`,
|
|
1363
1488
|
excludeAttrsSync: ['tabindex'],
|
|
1364
|
-
componentName: componentName$
|
|
1489
|
+
componentName: componentName$l
|
|
1365
1490
|
})
|
|
1366
1491
|
);
|
|
1367
1492
|
|
|
1368
|
-
customElements.define(componentName$
|
|
1493
|
+
customElements.define(componentName$l, SwitchToggle);
|
|
1369
1494
|
|
|
1370
|
-
|
|
1495
|
+
const componentName$k = getComponentName('loader-linear');
|
|
1371
1496
|
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$l, baseSelector: ':host > div' }) {
|
|
1497
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$k, baseSelector: ':host > div' }) {
|
|
1375
1498
|
static get componentName() {
|
|
1376
|
-
return componentName$
|
|
1499
|
+
return componentName$k;
|
|
1377
1500
|
}
|
|
1378
1501
|
constructor() {
|
|
1379
1502
|
super();
|
|
@@ -1431,11 +1554,11 @@ const LoaderLinear = compose(
|
|
|
1431
1554
|
componentNameValidationMixin
|
|
1432
1555
|
)(RawLoaderLinear);
|
|
1433
1556
|
|
|
1434
|
-
customElements.define(componentName$
|
|
1557
|
+
customElements.define(componentName$k, LoaderLinear);
|
|
1435
1558
|
|
|
1436
|
-
const componentName$
|
|
1559
|
+
const componentName$j = getComponentName('loader-radial');
|
|
1437
1560
|
|
|
1438
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
|
1561
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$j, baseSelector: ':host > div' }) {
|
|
1439
1562
|
constructor() {
|
|
1440
1563
|
super();
|
|
1441
1564
|
|
|
@@ -1481,11 +1604,11 @@ const LoaderRadial = compose(
|
|
|
1481
1604
|
componentNameValidationMixin
|
|
1482
1605
|
)(RawLoaderRadial);
|
|
1483
1606
|
|
|
1484
|
-
customElements.define(componentName$
|
|
1607
|
+
customElements.define(componentName$j, LoaderRadial);
|
|
1485
1608
|
|
|
1486
|
-
const componentName$
|
|
1609
|
+
const componentName$i = getComponentName('container');
|
|
1487
1610
|
|
|
1488
|
-
class RawContainer extends createBaseClass({componentName: componentName$
|
|
1611
|
+
class RawContainer extends createBaseClass({ componentName: componentName$i, baseSelector: ':host > slot' }) {
|
|
1489
1612
|
constructor() {
|
|
1490
1613
|
super();
|
|
1491
1614
|
|
|
@@ -1526,6 +1649,7 @@ const Container = compose(
|
|
|
1526
1649
|
justifyContent: {},
|
|
1527
1650
|
alignItems: {},
|
|
1528
1651
|
gap: {},
|
|
1652
|
+
flexWrap: {},
|
|
1529
1653
|
|
|
1530
1654
|
backgroundColor: {},
|
|
1531
1655
|
borderRadius: {},
|
|
@@ -1541,26 +1665,26 @@ const Container = compose(
|
|
|
1541
1665
|
componentNameValidationMixin
|
|
1542
1666
|
)(RawContainer);
|
|
1543
1667
|
|
|
1544
|
-
customElements.define(componentName$
|
|
1668
|
+
customElements.define(componentName$i, Container);
|
|
1545
1669
|
|
|
1546
|
-
const componentName$
|
|
1670
|
+
const componentName$h = getComponentName('date-picker');
|
|
1547
1671
|
|
|
1548
1672
|
const DatePicker = compose(
|
|
1549
1673
|
draggableMixin,
|
|
1550
1674
|
componentNameValidationMixin
|
|
1551
1675
|
)(
|
|
1552
1676
|
createProxy({
|
|
1553
|
-
componentName: componentName$
|
|
1677
|
+
componentName: componentName$h,
|
|
1554
1678
|
slots: ['prefix', 'suffix'],
|
|
1555
1679
|
wrappedEleName: 'vaadin-date-picker',
|
|
1556
1680
|
style: ``
|
|
1557
1681
|
})
|
|
1558
1682
|
);
|
|
1559
1683
|
|
|
1560
|
-
customElements.define(componentName$
|
|
1684
|
+
customElements.define(componentName$h, DatePicker);
|
|
1561
1685
|
|
|
1562
|
-
const componentName$
|
|
1563
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
|
1686
|
+
const componentName$g = getComponentName('divider');
|
|
1687
|
+
class RawDivider extends createBaseClass({ componentName: componentName$g, baseSelector: ':host > div' }) {
|
|
1564
1688
|
constructor() {
|
|
1565
1689
|
super();
|
|
1566
1690
|
|
|
@@ -1638,9 +1762,9 @@ const Divider = compose(
|
|
|
1638
1762
|
componentNameValidationMixin
|
|
1639
1763
|
)(RawDivider);
|
|
1640
1764
|
|
|
1641
|
-
const componentName$
|
|
1765
|
+
const componentName$f = getComponentName('text');
|
|
1642
1766
|
|
|
1643
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
|
1767
|
+
class RawText extends createBaseClass({ componentName: componentName$f, baseSelector: ':host > slot' }) {
|
|
1644
1768
|
constructor() {
|
|
1645
1769
|
super();
|
|
1646
1770
|
|
|
@@ -1682,9 +1806,9 @@ const Text = compose(
|
|
|
1682
1806
|
componentNameValidationMixin
|
|
1683
1807
|
)(RawText);
|
|
1684
1808
|
|
|
1685
|
-
customElements.define(componentName$
|
|
1809
|
+
customElements.define(componentName$f, Text);
|
|
1686
1810
|
|
|
1687
|
-
customElements.define(componentName$
|
|
1811
|
+
customElements.define(componentName$g, Divider);
|
|
1688
1812
|
|
|
1689
1813
|
const selectors$2 = {
|
|
1690
1814
|
label: '::part(label)',
|
|
@@ -1729,9 +1853,9 @@ var textFieldMappings = {
|
|
|
1729
1853
|
placeholderColor: { selector: selectors$2.placeholder, property: 'color' }
|
|
1730
1854
|
};
|
|
1731
1855
|
|
|
1732
|
-
const componentName$
|
|
1856
|
+
const componentName$e = getComponentName('email-field');
|
|
1733
1857
|
|
|
1734
|
-
let overrides$
|
|
1858
|
+
let overrides$5 = ``;
|
|
1735
1859
|
|
|
1736
1860
|
const EmailField = compose(
|
|
1737
1861
|
createStyleMixin({
|
|
@@ -1746,13 +1870,13 @@ const EmailField = compose(
|
|
|
1746
1870
|
createProxy({
|
|
1747
1871
|
slots: ['suffix'],
|
|
1748
1872
|
wrappedEleName: 'vaadin-email-field',
|
|
1749
|
-
style: () => overrides$
|
|
1873
|
+
style: () => overrides$5,
|
|
1750
1874
|
excludeAttrsSync: ['tabindex'],
|
|
1751
|
-
componentName: componentName$
|
|
1875
|
+
componentName: componentName$e
|
|
1752
1876
|
})
|
|
1753
1877
|
);
|
|
1754
1878
|
|
|
1755
|
-
overrides$
|
|
1879
|
+
overrides$5 = `
|
|
1756
1880
|
:host {
|
|
1757
1881
|
display: inline-block;
|
|
1758
1882
|
}
|
|
@@ -1792,10 +1916,10 @@ overrides$6 = `
|
|
|
1792
1916
|
}
|
|
1793
1917
|
`;
|
|
1794
1918
|
|
|
1795
|
-
customElements.define(componentName$
|
|
1919
|
+
customElements.define(componentName$e, EmailField);
|
|
1796
1920
|
|
|
1797
|
-
const componentName$
|
|
1798
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
|
1921
|
+
const componentName$d = getComponentName('link');
|
|
1922
|
+
class RawLink extends createBaseClass({ componentName: componentName$d, baseSelector: ':host a' }) {
|
|
1799
1923
|
constructor() {
|
|
1800
1924
|
super();
|
|
1801
1925
|
document.createElement('template');
|
|
@@ -1856,14 +1980,14 @@ const Link = compose(
|
|
|
1856
1980
|
componentNameValidationMixin
|
|
1857
1981
|
)(RawLink);
|
|
1858
1982
|
|
|
1859
|
-
customElements.define(componentName$
|
|
1983
|
+
customElements.define(componentName$d, Link);
|
|
1860
1984
|
|
|
1861
|
-
const componentName$
|
|
1985
|
+
const componentName$c = getComponentName('logo');
|
|
1862
1986
|
|
|
1863
1987
|
let style;
|
|
1864
1988
|
const getStyle = () => style;
|
|
1865
1989
|
|
|
1866
|
-
class RawLogo extends createBaseClass({ componentName: componentName$
|
|
1990
|
+
class RawLogo extends createBaseClass({ componentName: componentName$c, baseSelector: ':host > div' }) {
|
|
1867
1991
|
constructor() {
|
|
1868
1992
|
super();
|
|
1869
1993
|
|
|
@@ -1901,11 +2025,11 @@ style = `
|
|
|
1901
2025
|
}
|
|
1902
2026
|
`;
|
|
1903
2027
|
|
|
1904
|
-
customElements.define(componentName$
|
|
2028
|
+
customElements.define(componentName$c, Logo);
|
|
1905
2029
|
|
|
1906
|
-
const componentName$
|
|
2030
|
+
const componentName$b = getComponentName('number-field');
|
|
1907
2031
|
|
|
1908
|
-
let overrides$
|
|
2032
|
+
let overrides$4 = ``;
|
|
1909
2033
|
|
|
1910
2034
|
const NumberField = compose(
|
|
1911
2035
|
createStyleMixin({
|
|
@@ -1920,13 +2044,13 @@ const NumberField = compose(
|
|
|
1920
2044
|
createProxy({
|
|
1921
2045
|
slots: ['prefix', 'suffix'],
|
|
1922
2046
|
wrappedEleName: 'vaadin-number-field',
|
|
1923
|
-
style: () => overrides$
|
|
2047
|
+
style: () => overrides$4,
|
|
1924
2048
|
excludeAttrsSync: ['tabindex'],
|
|
1925
|
-
componentName: componentName$
|
|
2049
|
+
componentName: componentName$b
|
|
1926
2050
|
})
|
|
1927
2051
|
);
|
|
1928
2052
|
|
|
1929
|
-
overrides$
|
|
2053
|
+
overrides$4 = `
|
|
1930
2054
|
:host {
|
|
1931
2055
|
display: inline-block;
|
|
1932
2056
|
}
|
|
@@ -1966,7 +2090,7 @@ overrides$5 = `
|
|
|
1966
2090
|
}
|
|
1967
2091
|
`;
|
|
1968
2092
|
|
|
1969
|
-
customElements.define(componentName$
|
|
2093
|
+
customElements.define(componentName$b, NumberField);
|
|
1970
2094
|
|
|
1971
2095
|
const focusElement = (ele) => {
|
|
1972
2096
|
ele?.focus();
|
|
@@ -1982,7 +2106,7 @@ const getSanitizedCharacters = (str) => {
|
|
|
1982
2106
|
return [...pin]; // creating array of chars
|
|
1983
2107
|
};
|
|
1984
2108
|
|
|
1985
|
-
const componentName$
|
|
2109
|
+
const componentName$a = getComponentName('passcode-internal');
|
|
1986
2110
|
|
|
1987
2111
|
const observedAttributes$1 = [
|
|
1988
2112
|
'digits'
|
|
@@ -1996,7 +2120,7 @@ const forwardAttributes = [
|
|
|
1996
2120
|
'readonly'
|
|
1997
2121
|
];
|
|
1998
2122
|
|
|
1999
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
|
2123
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$a, baseSelector: 'div' });
|
|
2000
2124
|
|
|
2001
2125
|
class PasscodeInternal extends BaseInputClass$2 {
|
|
2002
2126
|
static get observedAttributes() {
|
|
@@ -2004,7 +2128,7 @@ class PasscodeInternal extends BaseInputClass$2 {
|
|
|
2004
2128
|
}
|
|
2005
2129
|
|
|
2006
2130
|
static get componentName() {
|
|
2007
|
-
return componentName$
|
|
2131
|
+
return componentName$a;
|
|
2008
2132
|
}
|
|
2009
2133
|
|
|
2010
2134
|
#dispatchBlur = createDispatchEvent.bind(this, 'blur')
|
|
@@ -2170,9 +2294,9 @@ class PasscodeInternal extends BaseInputClass$2 {
|
|
|
2170
2294
|
}
|
|
2171
2295
|
}
|
|
2172
2296
|
|
|
2173
|
-
const componentName$
|
|
2297
|
+
const componentName$9 = getComponentName('text-field');
|
|
2174
2298
|
|
|
2175
|
-
let overrides$
|
|
2299
|
+
let overrides$3 = ``;
|
|
2176
2300
|
|
|
2177
2301
|
const observedAttrs = ['type'];
|
|
2178
2302
|
|
|
@@ -2208,13 +2332,13 @@ const TextField = compose(
|
|
|
2208
2332
|
createProxy({
|
|
2209
2333
|
slots: ['prefix', 'suffix'],
|
|
2210
2334
|
wrappedEleName: 'vaadin-text-field',
|
|
2211
|
-
style: () => overrides$
|
|
2335
|
+
style: () => overrides$3,
|
|
2212
2336
|
excludeAttrsSync: ['tabindex'],
|
|
2213
|
-
componentName: componentName$
|
|
2337
|
+
componentName: componentName$9
|
|
2214
2338
|
})
|
|
2215
2339
|
);
|
|
2216
2340
|
|
|
2217
|
-
overrides$
|
|
2341
|
+
overrides$3 = `
|
|
2218
2342
|
:host {
|
|
2219
2343
|
display: inline-block;
|
|
2220
2344
|
--vaadin-field-default-width: auto;
|
|
@@ -2267,7 +2391,7 @@ overrides$4 = `
|
|
|
2267
2391
|
}
|
|
2268
2392
|
`;
|
|
2269
2393
|
|
|
2270
|
-
const componentName$
|
|
2394
|
+
const componentName$8 = getComponentName('passcode');
|
|
2271
2395
|
|
|
2272
2396
|
const customMixin$2 = (superclass) =>
|
|
2273
2397
|
class PasscodeClass extends superclass {
|
|
@@ -2284,17 +2408,17 @@ const customMixin$2 = (superclass) =>
|
|
|
2284
2408
|
const template = document.createElement('template');
|
|
2285
2409
|
|
|
2286
2410
|
template.innerHTML = `
|
|
2287
|
-
<${componentName$
|
|
2411
|
+
<${componentName$a}
|
|
2288
2412
|
bordered="true"
|
|
2289
2413
|
name="code"
|
|
2290
2414
|
tabindex="-1"
|
|
2291
2415
|
slot="input"
|
|
2292
|
-
></${componentName$
|
|
2416
|
+
></${componentName$a}>
|
|
2293
2417
|
`;
|
|
2294
2418
|
|
|
2295
2419
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
2296
2420
|
|
|
2297
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
2421
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$a);
|
|
2298
2422
|
|
|
2299
2423
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
|
|
2300
2424
|
}
|
|
@@ -2400,19 +2524,19 @@ const Passcode = compose(
|
|
|
2400
2524
|
}
|
|
2401
2525
|
`,
|
|
2402
2526
|
excludeAttrsSync: ['tabindex'],
|
|
2403
|
-
componentName: componentName$
|
|
2527
|
+
componentName: componentName$8
|
|
2404
2528
|
})
|
|
2405
2529
|
);
|
|
2406
2530
|
|
|
2407
|
-
customElements.define(componentName$
|
|
2531
|
+
customElements.define(componentName$9, TextField);
|
|
2408
2532
|
|
|
2409
|
-
customElements.define(componentName$
|
|
2533
|
+
customElements.define(componentName$a, PasscodeInternal);
|
|
2410
2534
|
|
|
2411
|
-
customElements.define(componentName$
|
|
2535
|
+
customElements.define(componentName$8, Passcode);
|
|
2412
2536
|
|
|
2413
|
-
const componentName$
|
|
2537
|
+
const componentName$7 = getComponentName('password-field');
|
|
2414
2538
|
|
|
2415
|
-
let overrides$
|
|
2539
|
+
let overrides$2 = ``;
|
|
2416
2540
|
|
|
2417
2541
|
const { host: host$3, inputWrapper: inputWrapper$1, inputElement, inputElementPlaceholder, revealButton, label: label$1, requiredIndicator: requiredIndicator$1 } = {
|
|
2418
2542
|
host: () => ':host',
|
|
@@ -2454,13 +2578,13 @@ const PasswordField = compose(
|
|
|
2454
2578
|
createProxy({
|
|
2455
2579
|
slots: ['suffix'],
|
|
2456
2580
|
wrappedEleName: 'vaadin-password-field',
|
|
2457
|
-
style: () => overrides$
|
|
2581
|
+
style: () => overrides$2,
|
|
2458
2582
|
excludeAttrsSync: ['tabindex'],
|
|
2459
|
-
componentName: componentName$
|
|
2583
|
+
componentName: componentName$7
|
|
2460
2584
|
})
|
|
2461
2585
|
);
|
|
2462
2586
|
|
|
2463
|
-
overrides$
|
|
2587
|
+
overrides$2 = `
|
|
2464
2588
|
:host {
|
|
2465
2589
|
display: inline-block;
|
|
2466
2590
|
}
|
|
@@ -2481,87 +2605,7 @@ overrides$3 = `
|
|
|
2481
2605
|
}
|
|
2482
2606
|
`;
|
|
2483
2607
|
|
|
2484
|
-
customElements.define(componentName$
|
|
2485
|
-
|
|
2486
|
-
const componentName$7 = getComponentName('switch-toggle');
|
|
2487
|
-
|
|
2488
|
-
let overrides$2 = ``;
|
|
2489
|
-
|
|
2490
|
-
const SwitchToggle = compose(
|
|
2491
|
-
createStyleMixin({
|
|
2492
|
-
mappings: {
|
|
2493
|
-
width: { selector: () => ':host' },
|
|
2494
|
-
cursor: [{}, { selector: '> label' }]
|
|
2495
|
-
}
|
|
2496
|
-
}),
|
|
2497
|
-
draggableMixin,
|
|
2498
|
-
proxyInputMixin,
|
|
2499
|
-
componentNameValidationMixin
|
|
2500
|
-
)(
|
|
2501
|
-
createProxy({
|
|
2502
|
-
slots: [],
|
|
2503
|
-
wrappedEleName: 'vaadin-checkbox',
|
|
2504
|
-
style: () => overrides$2,
|
|
2505
|
-
excludeAttrsSync: ['tabindex'],
|
|
2506
|
-
componentName: componentName$7
|
|
2507
|
-
})
|
|
2508
|
-
);
|
|
2509
|
-
|
|
2510
|
-
overrides$2 = `
|
|
2511
|
-
:host {
|
|
2512
|
-
display: inline-block;
|
|
2513
|
-
}
|
|
2514
|
-
|
|
2515
|
-
:host {
|
|
2516
|
-
--margin: 7px;
|
|
2517
|
-
--width: var(${SwitchToggle.cssVarList.width});
|
|
2518
|
-
--height: calc(var(--width) / 2);
|
|
2519
|
-
--radius: var(--height);
|
|
2520
|
-
--knobSize: calc(var(--height) - 5px);
|
|
2521
|
-
--bgColor: #fff;
|
|
2522
|
-
--knobBgColor: #000;
|
|
2523
|
-
}
|
|
2524
|
-
vaadin-checkbox : {
|
|
2525
|
-
width: 100%;
|
|
2526
|
-
}
|
|
2527
|
-
vaadin-checkbox>label {
|
|
2528
|
-
cursor: pointer;
|
|
2529
|
-
border: 1px solid;
|
|
2530
|
-
text-indent: -99999px;
|
|
2531
|
-
display: block;
|
|
2532
|
-
position: relative;
|
|
2533
|
-
width: var(--width);
|
|
2534
|
-
height: var(--height);
|
|
2535
|
-
background: var(--bgColor);
|
|
2536
|
-
border-radius: var(--radius);
|
|
2537
|
-
}
|
|
2538
|
-
vaadin-checkbox>label::after {
|
|
2539
|
-
content: '';
|
|
2540
|
-
position: absolute;
|
|
2541
|
-
transition: 0.3s;
|
|
2542
|
-
top: var(--margin);
|
|
2543
|
-
left: var(--margin);
|
|
2544
|
-
width: var(--knobSize);
|
|
2545
|
-
height: var(--knobSize);
|
|
2546
|
-
background: var(--knobBgColor);
|
|
2547
|
-
border-radius: var(--knobSize);
|
|
2548
|
-
}
|
|
2549
|
-
vaadin-checkbox::part(checkbox) {
|
|
2550
|
-
height: 0;
|
|
2551
|
-
width: 0;
|
|
2552
|
-
visibility: hidden;
|
|
2553
|
-
margin: 0;
|
|
2554
|
-
}
|
|
2555
|
-
vaadin-checkbox[checked]>label::after {
|
|
2556
|
-
transform: translateX(-100%);
|
|
2557
|
-
left: calc(100% - var(--margin));
|
|
2558
|
-
}
|
|
2559
|
-
vaadin-checkbox[active]>label::after {
|
|
2560
|
-
width: calc(var(--knobSize) + 15px);
|
|
2561
|
-
}
|
|
2562
|
-
`;
|
|
2563
|
-
|
|
2564
|
-
customElements.define(componentName$7, SwitchToggle);
|
|
2608
|
+
customElements.define(componentName$7, PasswordField);
|
|
2565
2609
|
|
|
2566
2610
|
const componentName$6 = getComponentName('text-area');
|
|
2567
2611
|
|
|
@@ -4996,15 +5040,15 @@ var globals = {
|
|
|
4996
5040
|
fonts
|
|
4997
5041
|
};
|
|
4998
5042
|
|
|
4999
|
-
const globalRefs$
|
|
5043
|
+
const globalRefs$e = getThemeRefs(globals);
|
|
5000
5044
|
const vars$g = Button.cssVarList;
|
|
5001
5045
|
|
|
5002
5046
|
const mode = {
|
|
5003
|
-
primary: globalRefs$
|
|
5004
|
-
secondary: globalRefs$
|
|
5005
|
-
success: globalRefs$
|
|
5006
|
-
error: globalRefs$
|
|
5007
|
-
surface: globalRefs$
|
|
5047
|
+
primary: globalRefs$e.colors.primary,
|
|
5048
|
+
secondary: globalRefs$e.colors.secondary,
|
|
5049
|
+
success: globalRefs$e.colors.success,
|
|
5050
|
+
error: globalRefs$e.colors.error,
|
|
5051
|
+
surface: globalRefs$e.colors.surface
|
|
5008
5052
|
};
|
|
5009
5053
|
|
|
5010
5054
|
const [helperTheme$2, helperRefs$2] = createHelperVars({ mode }, componentName$o);
|
|
@@ -5016,31 +5060,31 @@ const button = {
|
|
|
5016
5060
|
xs: {
|
|
5017
5061
|
[vars$g.height]: '10px',
|
|
5018
5062
|
[vars$g.fontSize]: '10px',
|
|
5019
|
-
[vars$g.padding]: `0 ${globalRefs$
|
|
5063
|
+
[vars$g.padding]: `0 ${globalRefs$e.spacing.xs}`
|
|
5020
5064
|
},
|
|
5021
5065
|
sm: {
|
|
5022
5066
|
[vars$g.height]: '20px',
|
|
5023
5067
|
[vars$g.fontSize]: '10px',
|
|
5024
|
-
[vars$g.padding]: `0 ${globalRefs$
|
|
5068
|
+
[vars$g.padding]: `0 ${globalRefs$e.spacing.sm}`
|
|
5025
5069
|
},
|
|
5026
5070
|
md: {
|
|
5027
5071
|
[vars$g.height]: '30px',
|
|
5028
5072
|
[vars$g.fontSize]: '14px',
|
|
5029
|
-
[vars$g.padding]: `0 ${globalRefs$
|
|
5073
|
+
[vars$g.padding]: `0 ${globalRefs$e.spacing.md}`
|
|
5030
5074
|
},
|
|
5031
5075
|
lg: {
|
|
5032
5076
|
[vars$g.height]: '40px',
|
|
5033
5077
|
[vars$g.fontSize]: '20px',
|
|
5034
|
-
[vars$g.padding]: `0 ${globalRefs$
|
|
5078
|
+
[vars$g.padding]: `0 ${globalRefs$e.spacing.lg}`
|
|
5035
5079
|
},
|
|
5036
5080
|
xl: {
|
|
5037
5081
|
[vars$g.height]: '50px',
|
|
5038
5082
|
[vars$g.fontSize]: '25px',
|
|
5039
|
-
[vars$g.padding]: `0 ${globalRefs$
|
|
5083
|
+
[vars$g.padding]: `0 ${globalRefs$e.spacing.xl}`
|
|
5040
5084
|
}
|
|
5041
5085
|
},
|
|
5042
5086
|
|
|
5043
|
-
[vars$g.borderRadius]: globalRefs$
|
|
5087
|
+
[vars$g.borderRadius]: globalRefs$e.radius.lg,
|
|
5044
5088
|
[vars$g.cursor]: 'pointer',
|
|
5045
5089
|
[vars$g.borderWidth]: '2px',
|
|
5046
5090
|
[vars$g.borderStyle]: 'solid',
|
|
@@ -5086,7 +5130,7 @@ const button = {
|
|
|
5086
5130
|
}
|
|
5087
5131
|
};
|
|
5088
5132
|
|
|
5089
|
-
const globalRefs$
|
|
5133
|
+
const globalRefs$d = getThemeRefs(globals);
|
|
5090
5134
|
|
|
5091
5135
|
const vars$f = TextField.cssVarList;
|
|
5092
5136
|
|
|
@@ -5095,44 +5139,44 @@ const textField = (vars) => ({
|
|
|
5095
5139
|
xs: {
|
|
5096
5140
|
[vars.height]: '14px',
|
|
5097
5141
|
[vars.fontSize]: '8px',
|
|
5098
|
-
[vars.padding]: `0 ${globalRefs$
|
|
5142
|
+
[vars.padding]: `0 ${globalRefs$d.spacing.xs}`
|
|
5099
5143
|
},
|
|
5100
5144
|
sm: {
|
|
5101
5145
|
[vars.height]: '20px',
|
|
5102
5146
|
[vars.fontSize]: '10px',
|
|
5103
|
-
[vars.padding]: `0 ${globalRefs$
|
|
5147
|
+
[vars.padding]: `0 ${globalRefs$d.spacing.sm}`
|
|
5104
5148
|
},
|
|
5105
5149
|
md: {
|
|
5106
5150
|
[vars.height]: '30px',
|
|
5107
5151
|
[vars.fontSize]: '14px',
|
|
5108
|
-
[vars.padding]: `0 ${globalRefs$
|
|
5152
|
+
[vars.padding]: `0 ${globalRefs$d.spacing.md}`
|
|
5109
5153
|
},
|
|
5110
5154
|
lg: {
|
|
5111
5155
|
[vars.height]: '40px',
|
|
5112
5156
|
[vars.fontSize]: '20px',
|
|
5113
|
-
[vars.padding]: `0 ${globalRefs$
|
|
5157
|
+
[vars.padding]: `0 ${globalRefs$d.spacing.lg}`
|
|
5114
5158
|
},
|
|
5115
5159
|
xl: {
|
|
5116
5160
|
[vars.height]: '50px',
|
|
5117
5161
|
[vars.fontSize]: '25px',
|
|
5118
|
-
[vars.padding]: `0 ${globalRefs$
|
|
5162
|
+
[vars.padding]: `0 ${globalRefs$d.spacing.xl}`
|
|
5119
5163
|
}
|
|
5120
5164
|
},
|
|
5121
5165
|
|
|
5122
|
-
[vars.color]: globalRefs$
|
|
5123
|
-
[vars.placeholderColor]: globalRefs$
|
|
5166
|
+
[vars.color]: globalRefs$d.colors.surface.contrast,
|
|
5167
|
+
[vars.placeholderColor]: globalRefs$d.colors.surface.main,
|
|
5124
5168
|
|
|
5125
|
-
[vars.backgroundColor]: globalRefs$
|
|
5169
|
+
[vars.backgroundColor]: globalRefs$d.colors.surface.light,
|
|
5126
5170
|
|
|
5127
5171
|
[vars.borderWidth]: '1px',
|
|
5128
5172
|
[vars.borderStyle]: 'solid',
|
|
5129
5173
|
[vars.borderColor]: 'transparent',
|
|
5130
|
-
[vars.borderRadius]: globalRefs$
|
|
5174
|
+
[vars.borderRadius]: globalRefs$d.radius.sm,
|
|
5131
5175
|
|
|
5132
5176
|
_disabled: {
|
|
5133
|
-
[vars.color]: globalRefs$
|
|
5134
|
-
[vars.placeholderColor]: globalRefs$
|
|
5135
|
-
[vars.backgroundColor]: globalRefs$
|
|
5177
|
+
[vars.color]: globalRefs$d.colors.surface.dark,
|
|
5178
|
+
[vars.placeholderColor]: globalRefs$d.colors.surface.light,
|
|
5179
|
+
[vars.backgroundColor]: globalRefs$d.colors.surface.main
|
|
5136
5180
|
},
|
|
5137
5181
|
|
|
5138
5182
|
_fullWidth: {
|
|
@@ -5142,24 +5186,24 @@ const textField = (vars) => ({
|
|
|
5142
5186
|
_focused: {
|
|
5143
5187
|
[vars.outlineWidth]: '2px',
|
|
5144
5188
|
[vars.outlineStyle]: 'solid',
|
|
5145
|
-
[vars.outlineColor]: globalRefs$
|
|
5189
|
+
[vars.outlineColor]: globalRefs$d.colors.surface.main
|
|
5146
5190
|
},
|
|
5147
5191
|
|
|
5148
5192
|
_bordered: {
|
|
5149
|
-
[vars.borderColor]: globalRefs$
|
|
5193
|
+
[vars.borderColor]: globalRefs$d.colors.surface.main
|
|
5150
5194
|
},
|
|
5151
5195
|
|
|
5152
5196
|
_invalid: {
|
|
5153
|
-
[vars.borderColor]: globalRefs$
|
|
5154
|
-
[vars.color]: globalRefs$
|
|
5155
|
-
[vars.outlineColor]: globalRefs$
|
|
5156
|
-
[vars.placeholderColor]: globalRefs$
|
|
5197
|
+
[vars.borderColor]: globalRefs$d.colors.error.main,
|
|
5198
|
+
[vars.color]: globalRefs$d.colors.error.main,
|
|
5199
|
+
[vars.outlineColor]: globalRefs$d.colors.error.light,
|
|
5200
|
+
[vars.placeholderColor]: globalRefs$d.colors.error.light
|
|
5157
5201
|
}
|
|
5158
5202
|
});
|
|
5159
5203
|
|
|
5160
5204
|
var textField$1 = textField(vars$f);
|
|
5161
5205
|
|
|
5162
|
-
const globalRefs$
|
|
5206
|
+
const globalRefs$c = getThemeRefs(globals);
|
|
5163
5207
|
|
|
5164
5208
|
const vars$e = PasswordField.cssVarList;
|
|
5165
5209
|
|
|
@@ -5167,11 +5211,11 @@ const passwordField = {
|
|
|
5167
5211
|
[vars$e.wrapperBorderStyle]: 'solid',
|
|
5168
5212
|
[vars$e.wrapperBorderWidth]: '1px',
|
|
5169
5213
|
[vars$e.wrapperBorderColor]: 'transparent',
|
|
5170
|
-
[vars$e.wrapperBorderRadius]: globalRefs$
|
|
5214
|
+
[vars$e.wrapperBorderRadius]: globalRefs$c.radius.sm,
|
|
5171
5215
|
|
|
5172
|
-
[vars$e.labelTextColor]: globalRefs$
|
|
5173
|
-
[vars$e.inputTextColor]: globalRefs$
|
|
5174
|
-
[vars$e.placeholderTextColor]: globalRefs$
|
|
5216
|
+
[vars$e.labelTextColor]: globalRefs$c.colors.surface.contrast,
|
|
5217
|
+
[vars$e.inputTextColor]: globalRefs$c.colors.surface.contrast,
|
|
5218
|
+
[vars$e.placeholderTextColor]: globalRefs$c.colors.surface.main,
|
|
5175
5219
|
|
|
5176
5220
|
[vars$e.pointerCursor]: 'pointer',
|
|
5177
5221
|
|
|
@@ -5202,7 +5246,7 @@ const passwordField = {
|
|
|
5202
5246
|
|
|
5203
5247
|
_bordered: {
|
|
5204
5248
|
[vars$e.padding]: `0 0.5em`,
|
|
5205
|
-
[vars$e.wrapperBorderColor]: globalRefs$
|
|
5249
|
+
[vars$e.wrapperBorderColor]: globalRefs$c.colors.surface.main
|
|
5206
5250
|
},
|
|
5207
5251
|
|
|
5208
5252
|
_fullWidth: {
|
|
@@ -5210,10 +5254,10 @@ const passwordField = {
|
|
|
5210
5254
|
},
|
|
5211
5255
|
|
|
5212
5256
|
_invalid: {
|
|
5213
|
-
[vars$e.labelTextColor]: globalRefs$
|
|
5214
|
-
[vars$e.inputTextColor]: globalRefs$
|
|
5215
|
-
[vars$e.placeholderTextColor]: globalRefs$
|
|
5216
|
-
[vars$e.wrapperBorderColor]: globalRefs$
|
|
5257
|
+
[vars$e.labelTextColor]: globalRefs$c.colors.error.main,
|
|
5258
|
+
[vars$e.inputTextColor]: globalRefs$c.colors.error.main,
|
|
5259
|
+
[vars$e.placeholderTextColor]: globalRefs$c.colors.error.light,
|
|
5260
|
+
[vars$e.wrapperBorderColor]: globalRefs$c.colors.error.main
|
|
5217
5261
|
},
|
|
5218
5262
|
};
|
|
5219
5263
|
|
|
@@ -5225,16 +5269,16 @@ const emailField = {
|
|
|
5225
5269
|
...textField(EmailField.cssVarList)
|
|
5226
5270
|
};
|
|
5227
5271
|
|
|
5228
|
-
const globalRefs$
|
|
5272
|
+
const globalRefs$b = getThemeRefs(globals);
|
|
5229
5273
|
const vars$d = TextArea.cssVarList;
|
|
5230
5274
|
|
|
5231
5275
|
const textArea = {
|
|
5232
5276
|
[vars$d.width]: '100%',
|
|
5233
|
-
[vars$d.color]: globalRefs$
|
|
5234
|
-
[vars$d.backgroundColor]: globalRefs$
|
|
5277
|
+
[vars$d.color]: globalRefs$b.colors.primary.main,
|
|
5278
|
+
[vars$d.backgroundColor]: globalRefs$b.colors.surface.light,
|
|
5235
5279
|
[vars$d.resize]: 'vertical',
|
|
5236
5280
|
|
|
5237
|
-
[vars$d.borderRadius]: globalRefs$
|
|
5281
|
+
[vars$d.borderRadius]: globalRefs$b.radius.sm,
|
|
5238
5282
|
[vars$d.borderWidth]: '1px',
|
|
5239
5283
|
[vars$d.borderStyle]: 'solid',
|
|
5240
5284
|
[vars$d.borderColor]: 'transparent',
|
|
@@ -5243,11 +5287,11 @@ const textArea = {
|
|
|
5243
5287
|
|
|
5244
5288
|
|
|
5245
5289
|
_bordered: {
|
|
5246
|
-
[vars$d.borderColor]: globalRefs$
|
|
5290
|
+
[vars$d.borderColor]: globalRefs$b.colors.surface.main
|
|
5247
5291
|
},
|
|
5248
5292
|
|
|
5249
5293
|
_focused: {
|
|
5250
|
-
[vars$d.outlineColor]: globalRefs$
|
|
5294
|
+
[vars$d.outlineColor]: globalRefs$b.colors.surface.main
|
|
5251
5295
|
},
|
|
5252
5296
|
|
|
5253
5297
|
_fullWidth: {
|
|
@@ -5259,55 +5303,52 @@ const textArea = {
|
|
|
5259
5303
|
},
|
|
5260
5304
|
|
|
5261
5305
|
_invalid: {
|
|
5262
|
-
[vars$d.outlineColor]: globalRefs$
|
|
5306
|
+
[vars$d.outlineColor]: globalRefs$b.colors.error.main
|
|
5263
5307
|
}
|
|
5264
5308
|
};
|
|
5265
5309
|
|
|
5266
|
-
const globalRefs$
|
|
5310
|
+
const globalRefs$a = getThemeRefs(globals);
|
|
5267
5311
|
const vars$c = Checkbox.cssVarList;
|
|
5268
5312
|
|
|
5269
5313
|
const checkbox = {
|
|
5270
|
-
[vars$c.checkboxBackgroundColor]: globalRefs$
|
|
5314
|
+
[vars$c.checkboxBackgroundColor]: globalRefs$a.colors.surface.main,
|
|
5271
5315
|
|
|
5272
5316
|
[vars$c.labelFontSize]: '12px',
|
|
5273
5317
|
[vars$c.labelFontWeight]: '400',
|
|
5274
|
-
[vars$c.labelTextColor]: globalRefs$
|
|
5318
|
+
[vars$c.labelTextColor]: globalRefs$a.colors.surface.contrast,
|
|
5275
5319
|
[vars$c.cursor]: 'pointer',
|
|
5276
5320
|
|
|
5277
5321
|
[vars$c.checkboxWidth]: 'calc(1em - 2px)',
|
|
5278
5322
|
[vars$c.checkboxHeight]: 'calc(1em - 2px)',
|
|
5279
5323
|
[vars$c.labelMargin]: 'calc(1em + 5px)',
|
|
5280
5324
|
|
|
5325
|
+
[vars$c.checkboxRadius]: globalRefs$a.radius.sm,
|
|
5326
|
+
|
|
5281
5327
|
size: {
|
|
5282
5328
|
xs: {
|
|
5283
5329
|
[vars$c.labelFontSize]: '12px',
|
|
5284
5330
|
[vars$c.labelLineHeight]: '1.1em',
|
|
5285
5331
|
[vars$c.checkmarkSize]: '18px',
|
|
5286
|
-
[vars$c.checkboxRadius]: globalRefs$9.radius.sm,
|
|
5287
5332
|
},
|
|
5288
5333
|
sm: {
|
|
5289
5334
|
[vars$c.labelFontSize]: '14px',
|
|
5290
5335
|
[vars$c.labelLineHeight]: '1.2em',
|
|
5291
5336
|
[vars$c.checkmarkSize]: '22px',
|
|
5292
|
-
[vars$c.checkboxRadius]: globalRefs$9.radius.sm,
|
|
5293
5337
|
},
|
|
5294
5338
|
md: {
|
|
5295
5339
|
[vars$c.labelFontSize]: '16px',
|
|
5296
5340
|
[vars$c.labelLineHeight]: '1.35em',
|
|
5297
5341
|
[vars$c.checkmarkSize]: '26px',
|
|
5298
|
-
[vars$c.checkboxRadius]: globalRefs$9.radius.sm,
|
|
5299
5342
|
},
|
|
5300
5343
|
lg: {
|
|
5301
5344
|
[vars$c.labelFontSize]: '20px',
|
|
5302
5345
|
[vars$c.labelLineHeight]: '1.5em',
|
|
5303
5346
|
[vars$c.checkmarkSize]: '34px',
|
|
5304
|
-
[vars$c.checkboxRadius]: globalRefs$9.radius.sm,
|
|
5305
5347
|
},
|
|
5306
5348
|
xl: {
|
|
5307
5349
|
[vars$c.labelFontSize]: '20px',
|
|
5308
5350
|
[vars$c.labelLineHeight]: '1.75em',
|
|
5309
5351
|
[vars$c.checkmarkSize]: '38px',
|
|
5310
|
-
[vars$c.checkboxRadius]: globalRefs$9.radius.sm,
|
|
5311
5352
|
}
|
|
5312
5353
|
},
|
|
5313
5354
|
|
|
@@ -5316,33 +5357,98 @@ const checkbox = {
|
|
|
5316
5357
|
},
|
|
5317
5358
|
|
|
5318
5359
|
_checked: {
|
|
5319
|
-
[vars$c.checkboxBackgroundColor]: globalRefs$
|
|
5320
|
-
[vars$c.checkmarkTextColor]: globalRefs$
|
|
5360
|
+
[vars$c.checkboxBackgroundColor]: globalRefs$a.colors.primary.main,
|
|
5361
|
+
[vars$c.checkmarkTextColor]: globalRefs$a.colors.primary.contrast,
|
|
5321
5362
|
},
|
|
5322
5363
|
|
|
5323
5364
|
_disabled: {
|
|
5324
|
-
[vars$c.checkboxBackgroundColor]: globalRefs$
|
|
5365
|
+
[vars$c.checkboxBackgroundColor]: globalRefs$a.colors.surface.main,
|
|
5325
5366
|
},
|
|
5326
5367
|
|
|
5327
5368
|
_focusRing: {
|
|
5328
5369
|
[vars$c.checkboxOutlineWidth]: '2px',
|
|
5329
5370
|
[vars$c.checkboxOutlineOffset]: '1px',
|
|
5330
|
-
[vars$c.checkboxOutlineColor]: globalRefs$
|
|
5371
|
+
[vars$c.checkboxOutlineColor]: globalRefs$a.colors.primary.main,
|
|
5331
5372
|
[vars$c.checkboxOutlineStyle]: 'solid'
|
|
5332
5373
|
},
|
|
5333
5374
|
|
|
5334
5375
|
_invalid: {
|
|
5335
|
-
[vars$c.checkboxOutlineColor]: globalRefs$
|
|
5336
|
-
[vars$c.labelTextColor]: globalRefs$
|
|
5376
|
+
[vars$c.checkboxOutlineColor]: globalRefs$a.colors.error.main,
|
|
5377
|
+
[vars$c.labelTextColor]: globalRefs$a.colors.error.main
|
|
5337
5378
|
},
|
|
5338
5379
|
|
|
5339
5380
|
};
|
|
5340
5381
|
|
|
5382
|
+
const knobMargin = '2px';
|
|
5383
|
+
const checkboxHeight = '1.25em';
|
|
5384
|
+
const trackBorderWidth = '2px';
|
|
5385
|
+
|
|
5386
|
+
const globalRefs$9 = getThemeRefs(globals);
|
|
5341
5387
|
const vars$b = SwitchToggle.cssVarList;
|
|
5342
5388
|
|
|
5343
5389
|
const switchToggle = {
|
|
5344
|
-
|
|
5345
|
-
|
|
5390
|
+
size: {
|
|
5391
|
+
xs: { [vars$b.fontSize]: '8px' },
|
|
5392
|
+
sm: { [vars$b.fontSize]: '12px' },
|
|
5393
|
+
md: { [vars$b.fontSize]: '16px' },
|
|
5394
|
+
lg: { [vars$b.fontSize]: '20px' },
|
|
5395
|
+
xl: { [vars$b.fontSize]: '24px' }
|
|
5396
|
+
},
|
|
5397
|
+
|
|
5398
|
+
[vars$b.cursor]: 'pointer',
|
|
5399
|
+
|
|
5400
|
+
[vars$b.trackBorderStyle]: 'solid',
|
|
5401
|
+
[vars$b.trackBorderWidth]: trackBorderWidth,
|
|
5402
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.surface.contrast,
|
|
5403
|
+
|
|
5404
|
+
[vars$b.trackBackgroundColor]: 'none',
|
|
5405
|
+
[vars$b.trackRadius]: globalRefs$9.radius.md,
|
|
5406
|
+
[vars$b.trackWidth]: '2.5em',
|
|
5407
|
+
[vars$b.trackHeight]: checkboxHeight,
|
|
5408
|
+
|
|
5409
|
+
[vars$b.knobSize]: `calc(1em - ${knobMargin})`,
|
|
5410
|
+
[vars$b.knobRadius]: '50%',
|
|
5411
|
+
[vars$b.knobTopOffset]: '1px',
|
|
5412
|
+
[vars$b.knobColor]: globalRefs$9.colors.surface.contrast,
|
|
5413
|
+
[vars$b.knobPosition]: knobMargin,
|
|
5414
|
+
[vars$b.knobTransition]: '0.3s',
|
|
5415
|
+
|
|
5416
|
+
[vars$b.labelTextColor]: globalRefs$9.colors.surface.contrast,
|
|
5417
|
+
[vars$b.labelFontWeight]: '400',
|
|
5418
|
+
[vars$b.labelLineHeight]: `calc(${checkboxHeight} + 0.25em)`,
|
|
5419
|
+
[vars$b.labelMargin]: '0.25em',
|
|
5420
|
+
|
|
5421
|
+
_fullWidth: {
|
|
5422
|
+
[vars$b.width]: '100%',
|
|
5423
|
+
},
|
|
5424
|
+
|
|
5425
|
+
_checked: {
|
|
5426
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.primary.main,
|
|
5427
|
+
[vars$b.knobPosition]: `calc(100% - var(${vars$b.knobSize}) - ${knobMargin})`,
|
|
5428
|
+
[vars$b.knobColor]: globalRefs$9.colors.primary.main,
|
|
5429
|
+
[vars$b.knobTextColor]: globalRefs$9.colors.primary.contrast,
|
|
5430
|
+
},
|
|
5431
|
+
|
|
5432
|
+
_disabled: {
|
|
5433
|
+
[vars$b.cursor]: 'not-allowed', // todo: fix cursor
|
|
5434
|
+
[vars$b.knobColor]: globalRefs$9.colors.surface.main,
|
|
5435
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.surface.main,
|
|
5436
|
+
[vars$b.trackBackgroundColor]: globalRefs$9.colors.surface.light,
|
|
5437
|
+
},
|
|
5438
|
+
|
|
5439
|
+
_focusRing: {
|
|
5440
|
+
[vars$b.switchOutlineWidth]: '2px',
|
|
5441
|
+
[vars$b.switchOutlineOffset]: '1px',
|
|
5442
|
+
[vars$b.switchOutlineColor]: globalRefs$9.colors.primary.main,
|
|
5443
|
+
[vars$b.switchOutlineStyle]: 'solid'
|
|
5444
|
+
},
|
|
5445
|
+
|
|
5446
|
+
_invalid: {
|
|
5447
|
+
[vars$b.switchOutlineColor]: globalRefs$9.colors.error.main,
|
|
5448
|
+
[vars$b.trackBorderColor]: globalRefs$9.colors.error.main,
|
|
5449
|
+
[vars$b.knobColor]: globalRefs$9.colors.error.main,
|
|
5450
|
+
[vars$b.labelTextColor]: globalRefs$9.colors.error.main
|
|
5451
|
+
},
|
|
5346
5452
|
};
|
|
5347
5453
|
|
|
5348
5454
|
const globalRefs$8 = getThemeRefs(globals);
|
|
@@ -5386,6 +5492,7 @@ const container = {
|
|
|
5386
5492
|
[vars$a.flexDirection]: 'row',
|
|
5387
5493
|
[vars$a.alignItems]: helperRefs$1.verticalAlignment,
|
|
5388
5494
|
[vars$a.justifyContent]: helperRefs$1.horizontalAlignment,
|
|
5495
|
+
[vars$a.flexWrap]: 'wrap',
|
|
5389
5496
|
horizontalAlignment: {
|
|
5390
5497
|
spaceBetween: { [helperVars.horizontalAlignment]: 'space-between' },
|
|
5391
5498
|
}
|
|
@@ -5587,7 +5694,7 @@ const vars$6 = Divider.cssVarList;
|
|
|
5587
5694
|
|
|
5588
5695
|
const thickness = '2px';
|
|
5589
5696
|
const textPaddingSize = '10px';
|
|
5590
|
-
const [helperTheme, helperRefs] = createHelperVars({ thickness, textPaddingSize }, componentName$
|
|
5697
|
+
const [helperTheme, helperRefs] = createHelperVars({ thickness, textPaddingSize }, componentName$g);
|
|
5591
5698
|
|
|
5592
5699
|
|
|
5593
5700
|
const divider = {
|