@descope/web-components-ui 1.0.382 → 1.0.384
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +5 -35
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -35
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-date-field-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-date-field/DateFieldClass.js +1 -0
- package/src/components/descope-user-attribute/UserAttributeClass.js +4 -0
- package/src/theme/components/calendar.js +0 -3
- package/src/theme/components/dateField.js +0 -32
package/dist/cjs/index.cjs.js
CHANGED
@@ -12289,6 +12289,10 @@ class RawUserAttribute extends createBaseClass({
|
|
12289
12289
|
content: '*';
|
12290
12290
|
color: var(${TextClass.cssVarList.textColor});
|
12291
12291
|
}
|
12292
|
+
|
12293
|
+
:host([readonly="true"]) descope-button {
|
12294
|
+
visibility: hidden;
|
12295
|
+
}
|
12292
12296
|
</style>
|
12293
12297
|
|
12294
12298
|
|
@@ -14522,7 +14526,6 @@ const calendar = {
|
|
14522
14526
|
[vars$5.calendarPadding]: '1em',
|
14523
14527
|
|
14524
14528
|
[vars$5.topNavVerticalPadding]: '1em',
|
14525
|
-
[vars$5.topNavHorizontalPadding]: '1em',
|
14526
14529
|
[vars$5.topNavAlignment]: 'space-between',
|
14527
14530
|
[vars$5.topNavGap]: '0',
|
14528
14531
|
[vars$5.topNavSelectorsGap]: '0.5em',
|
@@ -14545,10 +14548,8 @@ const calendar = {
|
|
14545
14548
|
|
14546
14549
|
[vars$5.weekdayFontSize]: '0.875em',
|
14547
14550
|
[vars$5.weekdayFontWeight]: '500',
|
14548
|
-
[vars$5.weekdayTextColor]: globalRefs$4.colors.surface.dark,
|
14549
14551
|
|
14550
14552
|
// day table cell
|
14551
|
-
[vars$5.dayWidth]: '2.705em',
|
14552
14553
|
[vars$5.dayHeight]: '3.125em',
|
14553
14554
|
|
14554
14555
|
// day value
|
@@ -15377,6 +15378,7 @@ const DateFieldClass = compose(
|
|
15377
15378
|
outlineWidth: { ...overlay },
|
15378
15379
|
outlineColor: { ...overlay },
|
15379
15380
|
outlineStyle: { ...overlay },
|
15381
|
+
direction: { ...overlay },
|
15380
15382
|
},
|
15381
15383
|
}),
|
15382
15384
|
draggableMixin,
|
@@ -15392,39 +15394,7 @@ const vars$4 = DateFieldClass.cssVarList;
|
|
15392
15394
|
|
15393
15395
|
const dateField = {
|
15394
15396
|
[vars$4.hostWidth]: refs.width,
|
15395
|
-
[vars$4.hostMinWidth]: refs.minWidth,
|
15396
15397
|
[vars$4.hostDirection]: refs.direction,
|
15397
|
-
[vars$4.fontSize]: refs.fontSize,
|
15398
|
-
[vars$4.fontFamily]: refs.fontFamily,
|
15399
|
-
[vars$4.labelFontSize]: refs.labelFontSize,
|
15400
|
-
[vars$4.labelFontWeight]: refs.labelFontWeight,
|
15401
|
-
[vars$4.labelTextColor]: refs.labelTextColor,
|
15402
|
-
[vars$4.errorMessageTextColor]: refs.errorMessageTextColor,
|
15403
|
-
[vars$4.inputValueTextColor]: refs.valueTextColor,
|
15404
|
-
[vars$4.inputPlaceholderColor]: refs.placeholderTextColor,
|
15405
|
-
[vars$4.inputBorderWidth]: refs.borderWidth,
|
15406
|
-
[vars$4.inputBorderStyle]: refs.borderStyle,
|
15407
|
-
[vars$4.inputBorderColor]: refs.borderColor,
|
15408
|
-
[vars$4.inputBorderRadius]: refs.borderRadius,
|
15409
|
-
[vars$4.inputOutlineWidth]: refs.outlineWidth,
|
15410
|
-
[vars$4.inputOutlineStyle]: refs.outlineStyle,
|
15411
|
-
[vars$4.inputOutlineColor]: refs.outlineColor,
|
15412
|
-
[vars$4.inputOutlineOffset]: refs.outlineOffset,
|
15413
|
-
[vars$4.inputBackgroundColor]: refs.backgroundColor,
|
15414
|
-
[vars$4.labelRequiredIndicator]: refs.requiredIndicator,
|
15415
|
-
[vars$4.inputHorizontalPadding]: refs.horizontalPadding,
|
15416
|
-
[vars$4.inputHeight]: refs.inputHeight,
|
15417
|
-
[vars$4.labelPosition]: refs.labelPosition,
|
15418
|
-
[vars$4.labelTopPosition]: refs.labelTopPosition,
|
15419
|
-
[vars$4.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
15420
|
-
[vars$4.inputTransformY]: refs.inputTransformY,
|
15421
|
-
[vars$4.inputTransition]: refs.inputTransition,
|
15422
|
-
[vars$4.marginInlineStart]: refs.marginInlineStart,
|
15423
|
-
[vars$4.placeholderOpacity]: refs.placeholderOpacity,
|
15424
|
-
[vars$4.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
15425
|
-
[vars$4.valueInputHeight]: refs.valueInputHeight,
|
15426
|
-
[vars$4.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
15427
|
-
|
15428
15398
|
[vars$4.iconMargin]: '0.375em',
|
15429
15399
|
|
15430
15400
|
[vars$4.overlay.marginTop]: `calc(${refs.outlineWidth} + 1px)`,
|