@descope/web-components-ui 1.100.0 → 1.102.0
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 +1913 -1637
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1864 -1587
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1995.js +22 -7
- package/dist/umd/1995.js.LICENSE.txt +6 -0
- package/dist/umd/1995.js.map +1 -1
- package/dist/umd/6063.js +18 -0
- package/dist/umd/6063.js.map +1 -0
- package/dist/umd/6818.js +3 -0
- package/dist/umd/6818.js.map +1 -0
- package/dist/umd/{189.js → 8248.js} +4 -4
- package/dist/umd/8248.js.map +1 -0
- package/dist/umd/8961.js +1 -1
- package/dist/umd/8961.js.map +1 -1
- package/dist/umd/8968.js +432 -0
- package/dist/umd/8968.js.map +1 -0
- package/dist/umd/8983.js +324 -7
- package/dist/umd/8983.js.map +1 -1
- package/dist/umd/{384.js → 9117.js} +9 -121
- package/dist/umd/9117.js.map +1 -0
- package/dist/umd/9275.js +18 -0
- package/dist/umd/9275.js.LICENSE.txt +23 -0
- package/dist/umd/9275.js.map +1 -0
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +338 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
- package/dist/umd/descope-apps-list-index-js.js +1 -1
- package/dist/umd/descope-apps-list-index-js.js.map +1 -1
- package/dist/umd/descope-button.js +4 -4
- package/dist/umd/descope-button.js.LICENSE.txt +0 -6
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-collapsible-container.js +1 -1
- package/dist/umd/descope-collapsible-container.js.map +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +321 -4
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt +6 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +322 -5
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +321 -4
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +6 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.map +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js.map +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js.map +1 -1
- package/dist/umd/descope-recovery-codes.js +2 -0
- package/dist/umd/descope-recovery-codes.js.map +1 -0
- package/dist/umd/descope-security-questions-verify-index-js.js +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -1
- package/dist/umd/descope-text.js +1 -1
- package/dist/umd/descope-text.js.map +1 -1
- package/dist/umd/descope-timer-button.js +338 -1
- package/dist/umd/descope-timer-button.js.LICENSE.txt +5 -0
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +338 -1
- package/dist/umd/descope-upload-file-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-upload-file-index-js.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +338 -1
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +338 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.map +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.map +1 -1
- package/package.json +15 -14
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +1 -1
- package/src/theme/components/index.js +2 -0
- package/dist/umd/189.js.map +0 -1
- package/dist/umd/2894.js +0 -339
- package/dist/umd/2894.js.map +0 -1
- package/dist/umd/3792.js +0 -339
- package/dist/umd/3792.js.map +0 -1
- package/dist/umd/384.js.map +0 -1
- package/dist/umd/513.js +0 -339
- package/dist/umd/513.js.map +0 -1
- package/dist/umd/6227.js +0 -320
- package/dist/umd/6227.js.map +0 -1
- package/dist/umd/6649.js +0 -339
- package/dist/umd/6649.js.LICENSE.txt +0 -11
- package/dist/umd/6649.js.map +0 -1
- package/dist/umd/9030.js +0 -339
- package/dist/umd/9030.js.LICENSE.txt +0 -11
- package/dist/umd/9030.js.map +0 -1
- package/dist/umd/9380.js +0 -130
- package/dist/umd/9380.js.map +0 -1
- /package/dist/umd/{189.js.LICENSE.txt → 6063.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6227.js.LICENSE.txt → 6818.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9380.js.LICENSE.txt → 8248.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2894.js.LICENSE.txt → 8968.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3792.js.LICENSE.txt → 9117.js.LICENSE.txt} +0 -0
- /package/dist/umd/{384.js.LICENSE.txt → descope-user-attribute-index-js.js.LICENSE.txt} +0 -0
- /package/dist/umd/{513.js.LICENSE.txt → descope-user-auth-method-index-js.js.LICENSE.txt} +0 -0
package/dist/umd/8983.js
CHANGED
@@ -1,5 +1,122 @@
|
|
1
1
|
/*! For license information please see 8983.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[8983],{
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[8983],{3241:(o,t,a)=>{a(88660);var e=a(87550),r=a(36411);const i=e.AH`
|
3
|
+
:host {
|
4
|
+
/* Border radius */
|
5
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
6
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
7
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
8
|
+
|
9
|
+
/* Shadow */
|
10
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
11
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
12
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
13
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
14
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
15
|
+
|
16
|
+
/* Clickable element cursor */
|
17
|
+
--lumo-clickable-cursor: default;
|
18
|
+
}
|
19
|
+
`;e.AH`
|
20
|
+
html {
|
21
|
+
/* Button */
|
22
|
+
--vaadin-button-background: var(--lumo-contrast-5pct);
|
23
|
+
--vaadin-button-border: none;
|
24
|
+
--vaadin-button-border-radius: var(--lumo-border-radius-m);
|
25
|
+
--vaadin-button-font-size: var(--lumo-font-size-m);
|
26
|
+
--vaadin-button-font-weight: 500;
|
27
|
+
--vaadin-button-height: var(--lumo-size-m);
|
28
|
+
--vaadin-button-margin: var(--lumo-space-xs) 0;
|
29
|
+
--vaadin-button-min-width: calc(var(--vaadin-button-height) * 2);
|
30
|
+
--vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2);
|
31
|
+
--vaadin-button-text-color: var(--lumo-primary-text-color);
|
32
|
+
--vaadin-button-primary-background: var(--lumo-primary-color);
|
33
|
+
--vaadin-button-primary-border: none;
|
34
|
+
--vaadin-button-primary-font-weight: 600;
|
35
|
+
--vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
|
36
|
+
--vaadin-button-tertiary-background: transparent !important;
|
37
|
+
--vaadin-button-tertiary-text-color: var(--lumo-primary-text-color);
|
38
|
+
--vaadin-button-tertiary-font-weight: 500;
|
39
|
+
--vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6);
|
40
|
+
/* Checkbox */
|
41
|
+
--vaadin-checkbox-background: var(--lumo-contrast-20pct);
|
42
|
+
--vaadin-checkbox-background-hover: var(--lumo-contrast-30pct);
|
43
|
+
--vaadin-checkbox-border-radius: var(--lumo-border-radius-s);
|
44
|
+
--vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark);
|
45
|
+
--vaadin-checkbox-checkmark-char-indeterminate: '';
|
46
|
+
--vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color);
|
47
|
+
--vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px);
|
48
|
+
--vaadin-checkbox-label-color: var(--lumo-body-text-color);
|
49
|
+
--vaadin-checkbox-label-font-size: var(--lumo-font-size-m);
|
50
|
+
--vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs);
|
51
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
52
|
+
/* Radio button */
|
53
|
+
--vaadin-radio-button-background: var(--lumo-contrast-20pct);
|
54
|
+
--vaadin-radio-button-background-hover: var(--lumo-contrast-30pct);
|
55
|
+
--vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color);
|
56
|
+
--vaadin-radio-button-dot-size: 3px;
|
57
|
+
--vaadin-radio-button-label-color: var(--lumo-body-text-color);
|
58
|
+
--vaadin-radio-button-label-font-size: var(--lumo-font-size-m);
|
59
|
+
--vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs)
|
60
|
+
var(--lumo-space-xs);
|
61
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
62
|
+
--vaadin-selection-color: var(--lumo-primary-color);
|
63
|
+
--vaadin-selection-color-text: var(--lumo-primary-text-color);
|
64
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
65
|
+
--vaadin-focus-ring-color: var(--lumo-primary-color-50pct);
|
66
|
+
--vaadin-focus-ring-width: 2px;
|
67
|
+
/* Label */
|
68
|
+
--vaadin-input-field-label-color: var(--lumo-secondary-text-color);
|
69
|
+
--vaadin-input-field-focused-label-color: var(--lumo-primary-text-color);
|
70
|
+
--vaadin-input-field-hovered-label-color: var(--lumo-body-text-color);
|
71
|
+
--vaadin-input-field-label-font-size: var(--lumo-font-size-s);
|
72
|
+
--vaadin-input-field-label-font-weight: 500;
|
73
|
+
/* Helper */
|
74
|
+
--vaadin-input-field-helper-color: var(--lumo-secondary-text-color);
|
75
|
+
--vaadin-input-field-helper-font-size: var(--lumo-font-size-xs);
|
76
|
+
--vaadin-input-field-helper-font-weight: 400;
|
77
|
+
--vaadin-input-field-helper-spacing: 0.4em;
|
78
|
+
/* Error message */
|
79
|
+
--vaadin-input-field-error-color: var(--lumo-error-text-color);
|
80
|
+
--vaadin-input-field-error-font-size: var(--lumo-font-size-xs);
|
81
|
+
--vaadin-input-field-error-font-weight: 400;
|
82
|
+
/* Input field */
|
83
|
+
--vaadin-input-field-background: var(--lumo-contrast-10pct);
|
84
|
+
--vaadin-input-field-icon-color: var(--lumo-contrast-60pct);
|
85
|
+
--vaadin-input-field-icon-size: var(--lumo-icon-size-m);
|
86
|
+
--vaadin-input-field-invalid-background: var(--lumo-error-color-10pct);
|
87
|
+
--vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct);
|
88
|
+
--vaadin-input-field-height: var(--lumo-size-m);
|
89
|
+
--vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct);
|
90
|
+
--vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color);
|
91
|
+
--vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct);
|
92
|
+
--vaadin-input-field-value-color: var(--lumo-body-text-color);
|
93
|
+
--vaadin-input-field-value-font-size: var(--lumo-font-size-m);
|
94
|
+
--vaadin-input-field-value-font-weight: 400;
|
95
|
+
}
|
96
|
+
`,(0,r.q)("style-props",i)},4080:(o,t,a)=>{a.d(t,{CI:()=>m,H8:()=>n,gm:()=>l,m0:()=>i,nr:()=>d,un:()=>c});const e=o=>o.test(navigator.userAgent),r=o=>o.test(navigator.platform),i=e(/Android/u),n=e(/Chrome/u)&&/Google Inc/u.test(navigator.vendor),l=e(/Firefox/u),s=r(/^iPad/u)||r(/^Mac/u)&&navigator.maxTouchPoints>1,c=r(/^iPhone/u)||s,d=e(/^((?!chrome|android).)*safari/iu),m=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(o){return!1}})()},9433:(o,t,a)=>{a(88660);var e=a(87550),r=a(36411);const i=e.AH`
|
97
|
+
:host {
|
98
|
+
/* Square */
|
99
|
+
--lumo-space-xs: 0.25rem;
|
100
|
+
--lumo-space-s: 0.5rem;
|
101
|
+
--lumo-space-m: 1rem;
|
102
|
+
--lumo-space-l: 1.5rem;
|
103
|
+
--lumo-space-xl: 2.5rem;
|
104
|
+
|
105
|
+
/* Wide */
|
106
|
+
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
107
|
+
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
108
|
+
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
109
|
+
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
110
|
+
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
111
|
+
|
112
|
+
/* Tall */
|
113
|
+
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
114
|
+
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
115
|
+
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
116
|
+
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
117
|
+
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
118
|
+
}
|
119
|
+
`;(0,r.q)("spacing-props",i)},18983:(o,t,a)=>{a(64511),a(9433),a(3241),a(83315);var e=a(87550);(0,e.SF)("vaadin-notification-card",e.AH`
|
3
120
|
:host {
|
4
121
|
position: relative;
|
5
122
|
margin: var(--lumo-space-s);
|
@@ -189,7 +306,7 @@
|
|
189
306
|
--vaadin-button-primary-background: var(--lumo-shade-50pct);
|
190
307
|
--vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
|
191
308
|
}
|
192
|
-
`,{moduleId:"lumo-notification-card"});var
|
309
|
+
`,{moduleId:"lumo-notification-card"});var r=a(13256),i=a(51450),n=a(73278),l=a(4080),s=a(82901),c=a(90676),d=a(55341),m=a(21255),u=a(75365);class p extends((0,e.cp)((0,c.q)(r.Pu))){static get template(){return r.qy`
|
193
310
|
<style>
|
194
311
|
:host {
|
195
312
|
position: fixed;
|
@@ -256,7 +373,7 @@
|
|
256
373
|
<div region="bottom-end"><slot name="bottom-end"></slot></div>
|
257
374
|
</div>
|
258
375
|
<div region="bottom-stretch"><slot name="bottom-stretch"></slot></div>
|
259
|
-
`}static get is(){return"vaadin-notification-container"}static get properties(){return{opened:{type:Boolean,value:!1,observer:"_openedChanged"}}}constructor(){super(),this._boundVaadinOverlayClose=this._onVaadinOverlayClose.bind(this),
|
376
|
+
`}static get is(){return"vaadin-notification-container"}static get properties(){return{opened:{type:Boolean,value:!1,observer:"_openedChanged"}}}constructor(){super(),this._boundVaadinOverlayClose=this._onVaadinOverlayClose.bind(this),l.un&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}_openedChanged(o){o?(document.body.appendChild(this),document.addEventListener("vaadin-overlay-close",this._boundVaadinOverlayClose),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))):(document.body.removeChild(this),document.removeEventListener("vaadin-overlay-close",this._boundVaadinOverlayClose),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener))}_detectIosNavbar(){const o=window.innerHeight,t=window.innerWidth>o,a=document.documentElement.clientHeight;this.style.bottom=t&&a>o?a-o+"px":"0"}_onVaadinOverlayClose(o){const t=o.detail.sourceEvent;t&&t.composedPath().indexOf(this)>=0&&o.preventDefault()}}class h extends((0,e.cp)(r.Pu)){static get template(){return r.qy`
|
260
377
|
<style>
|
261
378
|
:host {
|
262
379
|
display: block;
|
@@ -278,14 +395,214 @@
|
|
278
395
|
<slot></slot>
|
279
396
|
</div>
|
280
397
|
</div>
|
281
|
-
`}static get is(){return"vaadin-notification-card"}ready(){super.ready(),this.setAttribute("role","alert"),this.setAttribute("aria-live","polite")}}class v extends((0,
|
398
|
+
`}static get is(){return"vaadin-notification-card"}ready(){super.ready(),this.setAttribute("role","alert"),this.setAttribute("aria-live","polite")}}class v extends((0,d.i)((0,u._)((0,c.q)(r.Pu)))){static get template(){return r.qy`
|
282
399
|
<style>
|
283
400
|
:host {
|
284
401
|
display: none !important;
|
285
402
|
}
|
286
403
|
</style>
|
287
404
|
<vaadin-notification-card theme$="[[_theme]]"> </vaadin-notification-card>
|
288
|
-
`}static get is(){return"vaadin-notification"}static get properties(){return{duration:{type:Number,value:5e3},opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},position:{type:String,value:"bottom-start",observer:"_positionChanged"},renderer:Function}}static get observers(){return["_durationChanged(duration, opened)","_rendererChanged(renderer, opened, _overlayElement)"]}static show(t
|
405
|
+
`}static get is(){return"vaadin-notification"}static get properties(){return{duration:{type:Number,value:5e3},opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},position:{type:String,value:"bottom-start",observer:"_positionChanged"},renderer:Function}}static get observers(){return["_durationChanged(duration, opened)","_rendererChanged(renderer, opened, _overlayElement)"]}static show(o,t){return(0,n.qb)(o)?v._createAndShowNotification((t=>{(0,i.XX)(o,t)}),t):v._createAndShowNotification((t=>{t.innerText=o}),t)}static _createAndShowNotification(o,t){const a=document.createElement(v.is);return t&&Number.isFinite(t.duration)&&(a.duration=t.duration),t&&t.position&&(a.position=t.position),t&&t.theme&&a.setAttribute("theme",t.theme),a.renderer=o,document.body.appendChild(a),a.opened=!0,a.addEventListener("opened-changed",(o=>{o.detail.value||a.remove()})),a}get _container(){return v._container||(v._container=document.createElement("vaadin-notification-container"),document.body.appendChild(v._container)),v._container}get _card(){return this._overlayElement}ready(){super.ready(),this._overlayElement=this.shadowRoot.querySelector("vaadin-notification-card"),(0,m.h)(this)}disconnectedCallback(){super.disconnectedCallback(),queueMicrotask((()=>{this.isConnected||(this.opened=!1)}))}requestContentUpdate(){this.renderer&&this.renderer(this._card,this)}_rendererChanged(o,t,a){if(!a)return;const e=this._oldRenderer!==o;this._oldRenderer=o,e&&(a.innerHTML="",delete a._$litPart$),t&&(this._didAnimateNotificationAppend||this._animatedAppendNotificationCard(),this.requestContentUpdate())}open(){this.opened=!0}close(){this.opened=!1}_openedChanged(o){o?(this._container.opened=!0,this._animatedAppendNotificationCard()):this._card&&this._closeNotificationCard()}_animatedAppendNotificationCard(){if(this._card){this._card.setAttribute("opening",""),this._appendNotificationCard();const o=()=>{this._card.removeEventListener("animationend",o),this._card.removeAttribute("opening")};this._card.addEventListener("animationend",o),this._didAnimateNotificationAppend=!0}else this._didAnimateNotificationAppend=!1}_appendNotificationCard(){this._card&&(this._container.shadowRoot.querySelector(`slot[name="${this.position}"]`)?(this._card.slot=this.position,this._container.firstElementChild&&/top/u.test(this.position)?this._container.insertBefore(this._card,this._container.firstElementChild):this._container.appendChild(this._card)):console.warn(`Invalid alignment parameter provided: position=${this.position}`))}_removeNotificationCard(){this._card.parentNode&&this._card.parentNode.removeChild(this._card),this._card.removeAttribute("closing"),this._container.opened=Boolean(this._container.firstElementChild)}_closeNotificationCard(){this._durationTimeoutId&&clearTimeout(this._durationTimeoutId),this._animatedRemoveNotificationCard()}_animatedRemoveNotificationCard(){this._card.setAttribute("closing","");const o=getComputedStyle(this._card).getPropertyValue("animation-name");if(o&&"none"!==o){const o=()=>{this._removeNotificationCard(),this._card.removeEventListener("animationend",o)};this._card.addEventListener("animationend",o)}else this._removeNotificationCard()}_positionChanged(){this.opened&&this._animatedAppendNotificationCard()}_durationChanged(o,t){t&&(clearTimeout(this._durationTimeoutId),o>0&&(this._durationTimeoutId=setTimeout((()=>this.close()),o)))}}(0,s.X)(p),(0,s.X)(h),(0,s.X)(v)},21255:(o,t,a)=>{function e(o){window.Vaadin&&window.Vaadin.templateRendererCallback?window.Vaadin.templateRendererCallback(o):o.querySelector("template")&&console.warn(`WARNING: <template> inside <${o.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`)}a.d(t,{h:()=>e})},55341:(o,t,a)=>{a.d(t,{i:()=>e});const e=o=>class extends o{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(o,t){if(!t)return;if(void 0===o)return;const{classList:a}=t;if(this.__initialClasses||(this.__initialClasses=new Set(a)),Array.isArray(this.__previousClasses)){const o=this.__previousClasses.filter((o=>!this.__initialClasses.has(o)));o.length>0&&a.remove(...o)}const e="string"==typeof o?o.split(" ").filter(Boolean):[];e.length>0&&a.add(...e),this.__previousClasses=e}}},64511:(o,t,a)=>{a(88660);var e=a(87550),r=a(36411);const i=e.AH`
|
406
|
+
:host {
|
407
|
+
/* Base (background) */
|
408
|
+
--lumo-base-color: #fff;
|
409
|
+
|
410
|
+
/* Tint */
|
411
|
+
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
412
|
+
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
413
|
+
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
414
|
+
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
415
|
+
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
416
|
+
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
417
|
+
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
418
|
+
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
419
|
+
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
420
|
+
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
421
|
+
--lumo-tint: #fff;
|
422
|
+
|
423
|
+
/* Shade */
|
424
|
+
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
425
|
+
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
426
|
+
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
427
|
+
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
428
|
+
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
429
|
+
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
430
|
+
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
431
|
+
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
432
|
+
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
433
|
+
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
434
|
+
--lumo-shade: hsl(214, 35%, 15%);
|
435
|
+
|
436
|
+
/* Contrast */
|
437
|
+
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
438
|
+
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
439
|
+
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
440
|
+
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
441
|
+
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
442
|
+
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
443
|
+
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
444
|
+
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
445
|
+
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
446
|
+
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
447
|
+
--lumo-contrast: var(--lumo-shade);
|
448
|
+
|
449
|
+
/* Text */
|
450
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
451
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
452
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
453
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
454
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
455
|
+
|
456
|
+
/* Primary */
|
457
|
+
--lumo-primary-color: hsl(214, 100%, 48%);
|
458
|
+
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
459
|
+
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
460
|
+
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
461
|
+
--lumo-primary-contrast-color: #fff;
|
462
|
+
|
463
|
+
/* Error */
|
464
|
+
--lumo-error-color: hsl(3, 85%, 48%);
|
465
|
+
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
466
|
+
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
467
|
+
--lumo-error-text-color: hsl(3, 89%, 42%);
|
468
|
+
--lumo-error-contrast-color: #fff;
|
469
|
+
|
470
|
+
/* Success */
|
471
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
472
|
+
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
473
|
+
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
474
|
+
--lumo-success-text-color: hsl(145, 85%, 25%);
|
475
|
+
--lumo-success-contrast-color: #fff;
|
476
|
+
|
477
|
+
/* Warning */
|
478
|
+
--lumo-warning-color: hsl(48, 100%, 50%);
|
479
|
+
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
480
|
+
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
481
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
482
|
+
}
|
483
|
+
|
484
|
+
/* forced-colors mode adjustments */
|
485
|
+
@media (forced-colors: active) {
|
486
|
+
html {
|
487
|
+
--lumo-disabled-text-color: GrayText;
|
488
|
+
}
|
489
|
+
}
|
490
|
+
`;(0,r.q)("color-props",i);const n=e.AH`
|
491
|
+
[theme~='dark'] {
|
492
|
+
/* Base (background) */
|
493
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
494
|
+
|
495
|
+
/* Tint */
|
496
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
497
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
498
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
499
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
500
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
501
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
502
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
503
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
504
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
505
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
506
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
507
|
+
|
508
|
+
/* Shade */
|
509
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
510
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
511
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
512
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
513
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
514
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
515
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
516
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
517
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
518
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
519
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
520
|
+
|
521
|
+
/* Contrast */
|
522
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
523
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
524
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
525
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
526
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
527
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
528
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
529
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
530
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
531
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
532
|
+
--lumo-contrast: var(--lumo-tint);
|
533
|
+
|
534
|
+
/* Text */
|
535
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
536
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
537
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
538
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
539
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
540
|
+
|
541
|
+
/* Primary */
|
542
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
543
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
544
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
545
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
546
|
+
--lumo-primary-contrast-color: #fff;
|
547
|
+
|
548
|
+
/* Error */
|
549
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
550
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
551
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
552
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
553
|
+
|
554
|
+
/* Success */
|
555
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
556
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
557
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
558
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
559
|
+
|
560
|
+
/* Warning */
|
561
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
562
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
563
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
564
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
565
|
+
}
|
566
|
+
|
567
|
+
html {
|
568
|
+
color: var(--lumo-body-text-color);
|
569
|
+
background-color: var(--lumo-base-color);
|
570
|
+
color-scheme: light;
|
571
|
+
}
|
572
|
+
|
573
|
+
[theme~='dark'] {
|
574
|
+
color: var(--lumo-body-text-color);
|
575
|
+
background-color: var(--lumo-base-color);
|
576
|
+
color-scheme: dark;
|
577
|
+
}
|
578
|
+
|
579
|
+
h1,
|
580
|
+
h2,
|
581
|
+
h3,
|
582
|
+
h4,
|
583
|
+
h5,
|
584
|
+
h6 {
|
585
|
+
color: var(--lumo-header-text-color);
|
586
|
+
}
|
587
|
+
|
588
|
+
a:where(:any-link) {
|
589
|
+
color: var(--lumo-primary-text-color);
|
590
|
+
}
|
591
|
+
|
592
|
+
a:not(:any-link) {
|
593
|
+
color: var(--lumo-disabled-text-color);
|
594
|
+
}
|
595
|
+
|
596
|
+
blockquote {
|
597
|
+
color: var(--lumo-secondary-text-color);
|
598
|
+
}
|
599
|
+
|
600
|
+
code,
|
601
|
+
pre {
|
602
|
+
background-color: var(--lumo-contrast-10pct);
|
603
|
+
border-radius: var(--lumo-border-radius-m);
|
604
|
+
}
|
605
|
+
`;(0,e.SF)("",n,{moduleId:"lumo-color"})},73278:(o,t,a)=>{a.d(t,{Qk:()=>i,qb:()=>n});var e=a(55670);const{I:r}=e.ge,i={HTML:1,SVG:2,MATHML:3},n=(o,t)=>void 0===t?void 0!==o?._$litType$:o?._$litType$===t},83315:(o,t,a)=>{a(88660);var e=a(87550),r=a(36411);const i=e.AH`
|
289
606
|
:host {
|
290
607
|
/* prettier-ignore */
|
291
608
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
@@ -305,7 +622,7 @@
|
|
305
622
|
--lumo-line-height-s: 1.375;
|
306
623
|
--lumo-line-height-m: 1.625;
|
307
624
|
}
|
308
|
-
`,
|
625
|
+
`,n=e.AH`
|
309
626
|
body,
|
310
627
|
:host {
|
311
628
|
font-family: var(--lumo-font-family);
|
@@ -397,5 +714,5 @@
|
|
397
714
|
border-left: none;
|
398
715
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
399
716
|
}
|
400
|
-
`;(0,
|
717
|
+
`;(0,e.SF)("",n,{moduleId:"lumo-typography"}),(0,r.q)("typography-props",i)}}]);
|
401
718
|
//# sourceMappingURL=8983.js.map
|