@descope/web-components-ui 1.99.0 → 1.101.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 +1958 -1643
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1904 -1588
- 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-date-field-index-js.js +1 -1
- package/dist/umd/descope-date-field-index-js.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-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/package.json +15 -14
- package/src/components/descope-date-field/DateFieldClass.js +43 -4
- 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/8968.js
ADDED
@@ -0,0 +1,432 @@
|
|
1
|
+
/*! For license information please see 8968.js.LICENSE.txt */
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[8968],{3241:(o,t,a)=>{a(88660);var l=a(87550),r=a(36411);const e=l.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
|
+
`;l.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",e)},9433:(o,t,a)=>{a(88660);var l=a(87550),r=a(36411);const e=l.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",e)},30025:(o,t,a)=>{a.d(t,{Qj:()=>u,aJ:()=>e,dw:()=>r,iq:()=>d,n8:()=>i});let l=!1;function r(){let o=document.activeElement||document.body;for(;o.shadowRoot&&o.shadowRoot.activeElement;)o=o.shadowRoot.activeElement;return o}function e(){return l}function c(o){const t=o.style;if("hidden"===t.visibility||"none"===t.display)return!0;const a=window.getComputedStyle(o);return"hidden"===a.visibility||"none"===a.display}function n(o,t){const a=Math.max(o.tabIndex,0),l=Math.max(t.tabIndex,0);return 0===a||0===l?l>a:a>l}function s(o){const t=o.length;if(t<2)return o;const a=Math.ceil(t/2);return function(o,t){const a=[];for(;o.length>0&&t.length>0;)n(o[0],t[0])?a.push(t.shift()):a.push(o.shift());return a.concat(o,t)}(s(o.slice(0,a)),s(o.slice(a)))}function i(o){return null===o.offsetParent&&0===o.clientWidth&&0===o.clientHeight||c(o)}function u(o){return o.getRootNode().activeElement===o}function m(o,t){if(o.nodeType!==Node.ELEMENT_NODE||c(o))return!1;const a=o,l=function(o){if(!function(o){return!o.matches('[tabindex="-1"]')&&(o.matches("input, select, textarea, button, object")?o.matches(":not([disabled])"):o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]"))}(o))return-1;const t=o.getAttribute("tabindex")||0;return Number(t)}(a);let r=l>0;l>=0&&t.push(a);let e=[];return e="slot"===a.localName?a.assignedNodes({flatten:!0}):(a.shadowRoot||a).children,[...e].forEach((o=>{r=m(o,t)||r})),r}function d(o){const t=[];return m(o,t)?s(t):t}window.addEventListener("keydown",(()=>{l=!0}),{capture:!0}),window.addEventListener("mousedown",(()=>{l=!1}),{capture:!0})},55774:(o,t,a)=>{a.d(t,{w:()=>l});const l=(0,a(98741).y)((o=>"function"==typeof o.prototype.addController?o:class extends o{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach((o=>{o.hostConnected&&o.hostConnected()}))}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach((o=>{o.hostDisconnected&&o.hostDisconnected()}))}addController(o){this.__controllers.add(o),void 0!==this.$&&this.isConnected&&o.hostConnected&&o.hostConnected()}removeController(o){this.__controllers.delete(o)}}))},64511:(o,t,a)=>{a(88660);var l=a(87550),r=a(36411);const e=l.AH`
|
120
|
+
:host {
|
121
|
+
/* Base (background) */
|
122
|
+
--lumo-base-color: #fff;
|
123
|
+
|
124
|
+
/* Tint */
|
125
|
+
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
126
|
+
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
127
|
+
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
128
|
+
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
129
|
+
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
130
|
+
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
131
|
+
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
132
|
+
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
133
|
+
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
134
|
+
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
135
|
+
--lumo-tint: #fff;
|
136
|
+
|
137
|
+
/* Shade */
|
138
|
+
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
139
|
+
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
140
|
+
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
141
|
+
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
142
|
+
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
143
|
+
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
144
|
+
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
145
|
+
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
146
|
+
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
147
|
+
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
148
|
+
--lumo-shade: hsl(214, 35%, 15%);
|
149
|
+
|
150
|
+
/* Contrast */
|
151
|
+
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
152
|
+
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
153
|
+
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
154
|
+
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
155
|
+
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
156
|
+
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
157
|
+
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
158
|
+
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
159
|
+
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
160
|
+
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
161
|
+
--lumo-contrast: var(--lumo-shade);
|
162
|
+
|
163
|
+
/* Text */
|
164
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
165
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
166
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
167
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
168
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
169
|
+
|
170
|
+
/* Primary */
|
171
|
+
--lumo-primary-color: hsl(214, 100%, 48%);
|
172
|
+
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
173
|
+
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
174
|
+
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
175
|
+
--lumo-primary-contrast-color: #fff;
|
176
|
+
|
177
|
+
/* Error */
|
178
|
+
--lumo-error-color: hsl(3, 85%, 48%);
|
179
|
+
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
180
|
+
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
181
|
+
--lumo-error-text-color: hsl(3, 89%, 42%);
|
182
|
+
--lumo-error-contrast-color: #fff;
|
183
|
+
|
184
|
+
/* Success */
|
185
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
186
|
+
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
187
|
+
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
188
|
+
--lumo-success-text-color: hsl(145, 85%, 25%);
|
189
|
+
--lumo-success-contrast-color: #fff;
|
190
|
+
|
191
|
+
/* Warning */
|
192
|
+
--lumo-warning-color: hsl(48, 100%, 50%);
|
193
|
+
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
194
|
+
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
195
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
196
|
+
}
|
197
|
+
|
198
|
+
/* forced-colors mode adjustments */
|
199
|
+
@media (forced-colors: active) {
|
200
|
+
html {
|
201
|
+
--lumo-disabled-text-color: GrayText;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
`;(0,r.q)("color-props",e);const c=l.AH`
|
205
|
+
[theme~='dark'] {
|
206
|
+
/* Base (background) */
|
207
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
208
|
+
|
209
|
+
/* Tint */
|
210
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
211
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
212
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
213
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
214
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
215
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
216
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
217
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
218
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
219
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
220
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
221
|
+
|
222
|
+
/* Shade */
|
223
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
224
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
225
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
226
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
227
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
228
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
229
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
230
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
231
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
232
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
233
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
234
|
+
|
235
|
+
/* Contrast */
|
236
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
237
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
238
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
239
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
240
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
241
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
242
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
243
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
244
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
245
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
246
|
+
--lumo-contrast: var(--lumo-tint);
|
247
|
+
|
248
|
+
/* Text */
|
249
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
250
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
251
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
252
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
253
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
254
|
+
|
255
|
+
/* Primary */
|
256
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
257
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
258
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
259
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
260
|
+
--lumo-primary-contrast-color: #fff;
|
261
|
+
|
262
|
+
/* Error */
|
263
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
264
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
265
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
266
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
267
|
+
|
268
|
+
/* Success */
|
269
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
270
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
271
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
272
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
273
|
+
|
274
|
+
/* Warning */
|
275
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
276
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
277
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
278
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
279
|
+
}
|
280
|
+
|
281
|
+
html {
|
282
|
+
color: var(--lumo-body-text-color);
|
283
|
+
background-color: var(--lumo-base-color);
|
284
|
+
color-scheme: light;
|
285
|
+
}
|
286
|
+
|
287
|
+
[theme~='dark'] {
|
288
|
+
color: var(--lumo-body-text-color);
|
289
|
+
background-color: var(--lumo-base-color);
|
290
|
+
color-scheme: dark;
|
291
|
+
}
|
292
|
+
|
293
|
+
h1,
|
294
|
+
h2,
|
295
|
+
h3,
|
296
|
+
h4,
|
297
|
+
h5,
|
298
|
+
h6 {
|
299
|
+
color: var(--lumo-header-text-color);
|
300
|
+
}
|
301
|
+
|
302
|
+
a:where(:any-link) {
|
303
|
+
color: var(--lumo-primary-text-color);
|
304
|
+
}
|
305
|
+
|
306
|
+
a:not(:any-link) {
|
307
|
+
color: var(--lumo-disabled-text-color);
|
308
|
+
}
|
309
|
+
|
310
|
+
blockquote {
|
311
|
+
color: var(--lumo-secondary-text-color);
|
312
|
+
}
|
313
|
+
|
314
|
+
code,
|
315
|
+
pre {
|
316
|
+
background-color: var(--lumo-contrast-10pct);
|
317
|
+
border-radius: var(--lumo-border-radius-m);
|
318
|
+
}
|
319
|
+
`;(0,l.SF)("",c,{moduleId:"lumo-color"})},83315:(o,t,a)=>{a(88660);var l=a(87550),r=a(36411);const e=l.AH`
|
320
|
+
:host {
|
321
|
+
/* prettier-ignore */
|
322
|
+
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
323
|
+
|
324
|
+
/* Font sizes */
|
325
|
+
--lumo-font-size-xxs: 0.75rem;
|
326
|
+
--lumo-font-size-xs: 0.8125rem;
|
327
|
+
--lumo-font-size-s: 0.875rem;
|
328
|
+
--lumo-font-size-m: 1rem;
|
329
|
+
--lumo-font-size-l: 1.125rem;
|
330
|
+
--lumo-font-size-xl: 1.375rem;
|
331
|
+
--lumo-font-size-xxl: 1.75rem;
|
332
|
+
--lumo-font-size-xxxl: 2.5rem;
|
333
|
+
|
334
|
+
/* Line heights */
|
335
|
+
--lumo-line-height-xs: 1.25;
|
336
|
+
--lumo-line-height-s: 1.375;
|
337
|
+
--lumo-line-height-m: 1.625;
|
338
|
+
}
|
339
|
+
`,c=l.AH`
|
340
|
+
body,
|
341
|
+
:host {
|
342
|
+
font-family: var(--lumo-font-family);
|
343
|
+
font-size: var(--lumo-font-size-m);
|
344
|
+
line-height: var(--lumo-line-height-m);
|
345
|
+
-webkit-text-size-adjust: 100%;
|
346
|
+
-webkit-font-smoothing: antialiased;
|
347
|
+
-moz-osx-font-smoothing: grayscale;
|
348
|
+
}
|
349
|
+
|
350
|
+
small,
|
351
|
+
[theme~='font-size-s'] {
|
352
|
+
font-size: var(--lumo-font-size-s);
|
353
|
+
line-height: var(--lumo-line-height-s);
|
354
|
+
}
|
355
|
+
|
356
|
+
[theme~='font-size-xs'] {
|
357
|
+
font-size: var(--lumo-font-size-xs);
|
358
|
+
line-height: var(--lumo-line-height-xs);
|
359
|
+
}
|
360
|
+
|
361
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
362
|
+
font-weight: 600;
|
363
|
+
line-height: var(--lumo-line-height-xs);
|
364
|
+
margin-block: 0;
|
365
|
+
}
|
366
|
+
|
367
|
+
:where(h1) {
|
368
|
+
font-size: var(--lumo-font-size-xxxl);
|
369
|
+
}
|
370
|
+
|
371
|
+
:where(h2) {
|
372
|
+
font-size: var(--lumo-font-size-xxl);
|
373
|
+
}
|
374
|
+
|
375
|
+
:where(h3) {
|
376
|
+
font-size: var(--lumo-font-size-xl);
|
377
|
+
}
|
378
|
+
|
379
|
+
:where(h4) {
|
380
|
+
font-size: var(--lumo-font-size-l);
|
381
|
+
}
|
382
|
+
|
383
|
+
:where(h5) {
|
384
|
+
font-size: var(--lumo-font-size-m);
|
385
|
+
}
|
386
|
+
|
387
|
+
:where(h6) {
|
388
|
+
font-size: var(--lumo-font-size-xs);
|
389
|
+
text-transform: uppercase;
|
390
|
+
letter-spacing: 0.03em;
|
391
|
+
}
|
392
|
+
|
393
|
+
p,
|
394
|
+
blockquote {
|
395
|
+
margin-top: 0.5em;
|
396
|
+
margin-bottom: 0.75em;
|
397
|
+
}
|
398
|
+
|
399
|
+
a {
|
400
|
+
text-decoration: none;
|
401
|
+
}
|
402
|
+
|
403
|
+
a:where(:any-link):hover {
|
404
|
+
text-decoration: underline;
|
405
|
+
}
|
406
|
+
|
407
|
+
hr {
|
408
|
+
display: block;
|
409
|
+
align-self: stretch;
|
410
|
+
height: 1px;
|
411
|
+
border: 0;
|
412
|
+
padding: 0;
|
413
|
+
margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
|
414
|
+
background-color: var(--lumo-contrast-10pct);
|
415
|
+
}
|
416
|
+
|
417
|
+
blockquote {
|
418
|
+
border-left: 2px solid var(--lumo-contrast-30pct);
|
419
|
+
}
|
420
|
+
|
421
|
+
b,
|
422
|
+
strong {
|
423
|
+
font-weight: 600;
|
424
|
+
}
|
425
|
+
|
426
|
+
/* RTL specific styles */
|
427
|
+
blockquote[dir='rtl'] {
|
428
|
+
border-left: none;
|
429
|
+
border-right: 2px solid var(--lumo-contrast-30pct);
|
430
|
+
}
|
431
|
+
`;(0,l.SF)("",c,{moduleId:"lumo-typography"}),(0,r.q)("typography-props",e)}}]);
|
432
|
+
//# sourceMappingURL=8968.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"8968.js","mappings":"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","sources":["webpack://@descope/web-components-ui/../../../node_modules/@vaadin/vaadin-lumo-styles/style.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/vaadin-lumo-styles/spacing.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/a11y-base/src/focus-utils.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/controller-mixin.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/vaadin-lumo-styles/color.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/vaadin-lumo-styles/typography.js"],"sourcesContent":["/**\n * @license\n * Copyright (c) 2017 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport './version.js';\nimport { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';\nimport { addLumoGlobalStyles } from './global.js';\n\nconst style = css`\n :host {\n /* Border radius */\n --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */\n --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */\n --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */\n\n /* Shadow */\n --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);\n --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);\n --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);\n --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);\n --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);\n\n /* Clickable element cursor */\n --lumo-clickable-cursor: default;\n }\n`;\n\n/**\n * Default values for component-specific custom properties.\n */\nconst globals = css`\n html {\n /* Button */\n --vaadin-button-background: var(--lumo-contrast-5pct);\n --vaadin-button-border: none;\n --vaadin-button-border-radius: var(--lumo-border-radius-m);\n --vaadin-button-font-size: var(--lumo-font-size-m);\n --vaadin-button-font-weight: 500;\n --vaadin-button-height: var(--lumo-size-m);\n --vaadin-button-margin: var(--lumo-space-xs) 0;\n --vaadin-button-min-width: calc(var(--vaadin-button-height) * 2);\n --vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2);\n --vaadin-button-text-color: var(--lumo-primary-text-color);\n --vaadin-button-primary-background: var(--lumo-primary-color);\n --vaadin-button-primary-border: none;\n --vaadin-button-primary-font-weight: 600;\n --vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);\n --vaadin-button-tertiary-background: transparent !important;\n --vaadin-button-tertiary-text-color: var(--lumo-primary-text-color);\n --vaadin-button-tertiary-font-weight: 500;\n --vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6);\n /* Checkbox */\n --vaadin-checkbox-background: var(--lumo-contrast-20pct);\n --vaadin-checkbox-background-hover: var(--lumo-contrast-30pct);\n --vaadin-checkbox-border-radius: var(--lumo-border-radius-s);\n --vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark);\n --vaadin-checkbox-checkmark-char-indeterminate: '';\n --vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color);\n --vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px);\n --vaadin-checkbox-label-color: var(--lumo-body-text-color);\n --vaadin-checkbox-label-font-size: var(--lumo-font-size-m);\n --vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs);\n --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);\n /* Radio button */\n --vaadin-radio-button-background: var(--lumo-contrast-20pct);\n --vaadin-radio-button-background-hover: var(--lumo-contrast-30pct);\n --vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color);\n --vaadin-radio-button-dot-size: 3px;\n --vaadin-radio-button-label-color: var(--lumo-body-text-color);\n --vaadin-radio-button-label-font-size: var(--lumo-font-size-m);\n --vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs)\n var(--lumo-space-xs);\n --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);\n --vaadin-selection-color: var(--lumo-primary-color);\n --vaadin-selection-color-text: var(--lumo-primary-text-color);\n --vaadin-input-field-border-radius: var(--lumo-border-radius-m);\n --vaadin-focus-ring-color: var(--lumo-primary-color-50pct);\n --vaadin-focus-ring-width: 2px;\n /* Label */\n --vaadin-input-field-label-color: var(--lumo-secondary-text-color);\n --vaadin-input-field-focused-label-color: var(--lumo-primary-text-color);\n --vaadin-input-field-hovered-label-color: var(--lumo-body-text-color);\n --vaadin-input-field-label-font-size: var(--lumo-font-size-s);\n --vaadin-input-field-label-font-weight: 500;\n /* Helper */\n --vaadin-input-field-helper-color: var(--lumo-secondary-text-color);\n --vaadin-input-field-helper-font-size: var(--lumo-font-size-xs);\n --vaadin-input-field-helper-font-weight: 400;\n --vaadin-input-field-helper-spacing: 0.4em;\n /* Error message */\n --vaadin-input-field-error-color: var(--lumo-error-text-color);\n --vaadin-input-field-error-font-size: var(--lumo-font-size-xs);\n --vaadin-input-field-error-font-weight: 400;\n /* Input field */\n --vaadin-input-field-background: var(--lumo-contrast-10pct);\n --vaadin-input-field-icon-color: var(--lumo-contrast-60pct);\n --vaadin-input-field-icon-size: var(--lumo-icon-size-m);\n --vaadin-input-field-invalid-background: var(--lumo-error-color-10pct);\n --vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct);\n --vaadin-input-field-height: var(--lumo-size-m);\n --vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct);\n --vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color);\n --vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct);\n --vaadin-input-field-value-color: var(--lumo-body-text-color);\n --vaadin-input-field-value-font-size: var(--lumo-font-size-m);\n --vaadin-input-field-value-font-weight: 400;\n }\n`;\n\naddLumoGlobalStyles('style-props', style);\n\nexport { globals, style };\n","/**\n * @license\n * Copyright (c) 2017 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport './version.js';\nimport { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';\nimport { addLumoGlobalStyles } from './global.js';\n\nconst spacing = css`\n :host {\n /* Square */\n --lumo-space-xs: 0.25rem;\n --lumo-space-s: 0.5rem;\n --lumo-space-m: 1rem;\n --lumo-space-l: 1.5rem;\n --lumo-space-xl: 2.5rem;\n\n /* Wide */\n --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);\n --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);\n --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);\n --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);\n --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);\n\n /* Tall */\n --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);\n --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);\n --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);\n --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);\n --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);\n }\n`;\n\naddLumoGlobalStyles('spacing-props', spacing);\n\nexport { spacing };\n","/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\n\n// We consider the keyboard to be active if the window has received a keydown\n// event since the last mousedown event.\nlet keyboardActive = false;\n\n// Listen for top-level keydown and mousedown events.\n// Use capture phase so we detect events even if they're handled.\nwindow.addEventListener(\n 'keydown',\n () => {\n keyboardActive = true;\n },\n { capture: true },\n);\n\nwindow.addEventListener(\n 'mousedown',\n () => {\n keyboardActive = false;\n },\n { capture: true },\n);\n\n/**\n * Returns the actually focused element by traversing shadow\n * trees recursively to ensure it's the leaf element.\n *\n * @return {Element}\n */\nexport function getDeepActiveElement() {\n let host = document.activeElement || document.body;\n while (host.shadowRoot && host.shadowRoot.activeElement) {\n host = host.shadowRoot.activeElement;\n }\n return host;\n}\n\n/**\n * Returns true if the window has received a keydown\n * event since the last mousedown event.\n *\n * @return {boolean}\n */\nexport function isKeyboardActive() {\n return keyboardActive;\n}\n\n/**\n * Returns true if the element is hidden directly with `display: none` or `visibility: hidden`,\n * false otherwise.\n *\n * The method doesn't traverse the element's ancestors, it only checks for the CSS properties\n * set directly to or inherited by the element.\n *\n * @param {HTMLElement} element\n * @return {boolean}\n */\nfunction isElementHiddenDirectly(element) {\n // Check inline style first to save a re-flow.\n const style = element.style;\n if (style.visibility === 'hidden' || style.display === 'none') {\n return true;\n }\n\n const computedStyle = window.getComputedStyle(element);\n if (computedStyle.visibility === 'hidden' || computedStyle.display === 'none') {\n return true;\n }\n\n return false;\n}\n\n/**\n * Returns if element `a` has lower tab order compared to element `b`\n * (both elements are assumed to be focusable and tabbable).\n * Elements with tabindex = 0 have lower tab order compared to elements\n * with tabindex > 0.\n * If both have same tabindex, it returns false.\n *\n * @param {HTMLElement} a\n * @param {HTMLElement} b\n * @return {boolean}\n */\nfunction hasLowerTabOrder(a, b) {\n // Normalize tabIndexes\n // e.g. in Firefox `<div contenteditable>` has `tabIndex = -1`\n const ati = Math.max(a.tabIndex, 0);\n const bti = Math.max(b.tabIndex, 0);\n return ati === 0 || bti === 0 ? bti > ati : ati > bti;\n}\n\n/**\n * Merge sort iterator, merges the two arrays into one, sorted by tabindex.\n *\n * @param {HTMLElement[]} left\n * @param {HTMLElement[]} right\n * @return {HTMLElement[]}\n */\nfunction mergeSortByTabIndex(left, right) {\n const result = [];\n while (left.length > 0 && right.length > 0) {\n if (hasLowerTabOrder(left[0], right[0])) {\n result.push(right.shift());\n } else {\n result.push(left.shift());\n }\n }\n\n return result.concat(left, right);\n}\n\n/**\n * Sorts an array of elements by tabindex. Returns a new array.\n *\n * @param {HTMLElement[]} elements\n * @return {HTMLElement[]}\n */\nfunction sortElementsByTabIndex(elements) {\n // Implement a merge sort as Array.prototype.sort does a non-stable sort\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort\n const len = elements.length;\n if (len < 2) {\n return elements;\n }\n const pivot = Math.ceil(len / 2);\n const left = sortElementsByTabIndex(elements.slice(0, pivot));\n const right = sortElementsByTabIndex(elements.slice(pivot));\n\n return mergeSortByTabIndex(left, right);\n}\n\n/**\n * Returns true if the element is hidden, false otherwise.\n *\n * An element is treated as hidden when any of the following conditions are met:\n * - the element itself or one of its ancestors has `display: none`.\n * - the element has or inherits `visibility: hidden`.\n *\n * @param {HTMLElement} element\n * @return {boolean}\n */\nexport function isElementHidden(element) {\n // `offsetParent` is `null` when the element itself\n // or one of its ancestors is hidden with `display: none`.\n // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent\n // However `offsetParent` is also null when the element is using fixed\n // positioning, so additionally check if the element takes up layout space.\n if (element.offsetParent === null && element.clientWidth === 0 && element.clientHeight === 0) {\n return true;\n }\n\n return isElementHiddenDirectly(element);\n}\n\n/**\n * Returns true if the element is focusable, otherwise false.\n *\n * The list of focusable elements is taken from http://stackoverflow.com/a/1600194/4228703.\n * However, there isn't a definite list, it's up to the browser.\n * The only standard we have is DOM Level 2 HTML https://www.w3.org/TR/DOM-Level-2-HTML/html.html,\n * according to which the only elements that have a `focus()` method are:\n * - HTMLInputElement\n * - HTMLSelectElement\n * - HTMLTextAreaElement\n * - HTMLAnchorElement\n *\n * This notably omits HTMLButtonElement and HTMLAreaElement.\n * Referring to these tests with tabbables in different browsers\n * http://allyjs.io/data-tables/focusable.html\n *\n * @param {HTMLElement} element\n * @return {boolean}\n */\nexport function isElementFocusable(element) {\n // The element cannot be focused if its `tabindex` attribute is set to `-1`.\n if (element.matches('[tabindex=\"-1\"]')) {\n return false;\n }\n\n // Elements that cannot be focused if they have a `disabled` attribute.\n if (element.matches('input, select, textarea, button, object')) {\n return element.matches(':not([disabled])');\n }\n\n // Elements that can be focused even if they have a `disabled` attribute.\n return element.matches('a[href], area[href], iframe, [tabindex], [contentEditable]');\n}\n\n/**\n * Returns true if the element is focused, false otherwise.\n *\n * @param {HTMLElement} element\n * @return {boolean}\n */\nexport function isElementFocused(element) {\n return element.getRootNode().activeElement === element;\n}\n\n/**\n * Returns the normalized element tabindex. If not focusable, returns -1.\n * It checks for the attribute \"tabindex\" instead of the element property\n * `tabIndex` since browsers assign different values to it.\n * e.g. in Firefox `<div contenteditable>` has `tabIndex = -1`\n *\n * @param {HTMLElement} element\n * @return {number}\n */\nfunction normalizeTabIndex(element) {\n if (!isElementFocusable(element)) {\n return -1;\n }\n\n const tabIndex = element.getAttribute('tabindex') || 0;\n return Number(tabIndex);\n}\n\n/**\n * Searches for nodes that are tabbable and adds them to the `result` array.\n * Returns if the `result` array needs to be sorted by tabindex.\n *\n * @param {Node} node The starting point for the search; added to `result` if tabbable.\n * @param {HTMLElement[]} result\n * @return {boolean}\n * @private\n */\nfunction collectFocusableNodes(node, result) {\n if (node.nodeType !== Node.ELEMENT_NODE || isElementHiddenDirectly(node)) {\n // Don't traverse children if the node is not an HTML element or not visible.\n return false;\n }\n\n const element = /** @type {HTMLElement} */ (node);\n const tabIndex = normalizeTabIndex(element);\n let needsSort = tabIndex > 0;\n if (tabIndex >= 0) {\n result.push(element);\n }\n\n let children = [];\n if (element.localName === 'slot') {\n children = element.assignedNodes({ flatten: true });\n } else {\n // Use shadow root if possible, will check for distributed nodes.\n children = (element.shadowRoot || element).children;\n }\n [...children].forEach((child) => {\n // Ensure method is always invoked to collect focusable children.\n needsSort = collectFocusableNodes(child, result) || needsSort;\n });\n return needsSort;\n}\n\n/**\n * Returns a tab-ordered array of focusable elements for a root element.\n * The resulting array will include the root element if it is focusable.\n *\n * The method traverses nodes in shadow DOM trees too if any.\n *\n * @param {HTMLElement} element\n * @return {HTMLElement[]}\n */\nexport function getFocusableElements(element) {\n const focusableElements = [];\n const needsSortByTabIndex = collectFocusableNodes(element, focusableElements);\n // If there is at least one element with tabindex > 0,\n // we need to sort the final array by tabindex.\n if (needsSortByTabIndex) {\n return sortElementsByTabIndex(focusableElements);\n }\n return focusableElements;\n}\n","/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';\n\n/**\n * @typedef ReactiveController\n * @type {import('lit').ReactiveController}\n */\n\n/**\n * A mixin for connecting controllers to the element.\n *\n * @polymerMixin\n */\nexport const ControllerMixin = dedupingMixin((superClass) => {\n // If the superclass extends from LitElement,\n // use its own controllers implementation.\n if (typeof superClass.prototype.addController === 'function') {\n return superClass;\n }\n\n return class ControllerMixinClass extends superClass {\n constructor() {\n super();\n\n /**\n * @type {Set<ReactiveController>}\n */\n this.__controllers = new Set();\n }\n\n /** @protected */\n connectedCallback() {\n super.connectedCallback();\n\n this.__controllers.forEach((c) => {\n if (c.hostConnected) {\n c.hostConnected();\n }\n });\n }\n\n /** @protected */\n disconnectedCallback() {\n super.disconnectedCallback();\n\n this.__controllers.forEach((c) => {\n if (c.hostDisconnected) {\n c.hostDisconnected();\n }\n });\n }\n\n /**\n * Registers a controller to participate in the element update cycle.\n *\n * @param {ReactiveController} controller\n * @protected\n */\n addController(controller) {\n this.__controllers.add(controller);\n // Call hostConnected if a controller is added after the element is attached.\n if (this.$ !== undefined && this.isConnected && controller.hostConnected) {\n controller.hostConnected();\n }\n }\n\n /**\n * Removes a controller from the element.\n *\n * @param {ReactiveController} controller\n * @protected\n */\n removeController(controller) {\n this.__controllers.delete(controller);\n }\n };\n});\n","/**\n * @license\n * Copyright (c) 2017 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport './version.js';\nimport { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';\nimport { addLumoGlobalStyles } from './global.js';\n\nconst colorBase = css`\n :host {\n /* Base (background) */\n --lumo-base-color: #fff;\n\n /* Tint */\n --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);\n --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);\n --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);\n --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);\n --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);\n --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);\n --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);\n --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);\n --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);\n --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);\n --lumo-tint: #fff;\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);\n --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);\n --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);\n --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);\n --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);\n --lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);\n --lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);\n --lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);\n --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);\n --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);\n --lumo-shade: hsl(214, 35%, 15%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-shade-5pct);\n --lumo-contrast-10pct: var(--lumo-shade-10pct);\n --lumo-contrast-20pct: var(--lumo-shade-20pct);\n --lumo-contrast-30pct: var(--lumo-shade-30pct);\n --lumo-contrast-40pct: var(--lumo-shade-40pct);\n --lumo-contrast-50pct: var(--lumo-shade-50pct);\n --lumo-contrast-60pct: var(--lumo-shade-60pct);\n --lumo-contrast-70pct: var(--lumo-shade-70pct);\n --lumo-contrast-80pct: var(--lumo-shade-80pct);\n --lumo-contrast-90pct: var(--lumo-shade-90pct);\n --lumo-contrast: var(--lumo-shade);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 100%, 48%);\n --lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);\n --lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);\n --lumo-primary-text-color: hsl(214, 100%, 43%);\n --lumo-primary-contrast-color: #fff;\n\n /* Error */\n --lumo-error-color: hsl(3, 85%, 48%);\n --lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);\n --lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);\n --lumo-error-text-color: hsl(3, 89%, 42%);\n --lumo-error-contrast-color: #fff;\n\n /* Success */\n --lumo-success-color: hsl(145, 72%, 30%);\n --lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);\n --lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 25%);\n --lumo-success-contrast-color: #fff;\n\n /* Warning */\n --lumo-warning-color: hsl(48, 100%, 50%);\n --lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);\n --lumo-warning-text-color: hsl(32, 100%, 30%);\n --lumo-warning-contrast-color: var(--lumo-shade-90pct);\n }\n\n /* forced-colors mode adjustments */\n @media (forced-colors: active) {\n html {\n --lumo-disabled-text-color: GrayText;\n }\n }\n`;\n\naddLumoGlobalStyles('color-props', colorBase);\n\nconst color = css`\n [theme~='dark'] {\n /* Base (background) */\n --lumo-base-color: hsl(214, 35%, 21%);\n\n /* Tint */\n --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);\n --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);\n --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);\n --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);\n --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);\n --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);\n --lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);\n --lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);\n --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);\n --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);\n --lumo-tint: hsl(214, 100%, 98%);\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);\n --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);\n --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);\n --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);\n --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);\n --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);\n --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);\n --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);\n --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);\n --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);\n --lumo-shade: hsl(214, 33%, 13%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-tint-5pct);\n --lumo-contrast-10pct: var(--lumo-tint-10pct);\n --lumo-contrast-20pct: var(--lumo-tint-20pct);\n --lumo-contrast-30pct: var(--lumo-tint-30pct);\n --lumo-contrast-40pct: var(--lumo-tint-40pct);\n --lumo-contrast-50pct: var(--lumo-tint-50pct);\n --lumo-contrast-60pct: var(--lumo-tint-60pct);\n --lumo-contrast-70pct: var(--lumo-tint-70pct);\n --lumo-contrast-80pct: var(--lumo-tint-80pct);\n --lumo-contrast-90pct: var(--lumo-tint-90pct);\n --lumo-contrast: var(--lumo-tint);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 90%, 48%);\n --lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);\n --lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);\n --lumo-primary-text-color: hsl(214, 90%, 77%);\n --lumo-primary-contrast-color: #fff;\n\n /* Error */\n --lumo-error-color: hsl(3, 79%, 49%);\n --lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);\n --lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);\n --lumo-error-text-color: hsl(3, 100%, 80%);\n\n /* Success */\n --lumo-success-color: hsl(145, 72%, 30%);\n --lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);\n --lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 46%);\n\n /* Warning */\n --lumo-warning-color: hsl(43, 100%, 48%);\n --lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);\n --lumo-warning-text-color: hsl(45, 100%, 60%);\n --lumo-warning-contrast-color: var(--lumo-shade-90pct);\n }\n\n html {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n color-scheme: light;\n }\n\n [theme~='dark'] {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n color-scheme: dark;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--lumo-header-text-color);\n }\n\n a:where(:any-link) {\n color: var(--lumo-primary-text-color);\n }\n\n a:not(:any-link) {\n color: var(--lumo-disabled-text-color);\n }\n\n blockquote {\n color: var(--lumo-secondary-text-color);\n }\n\n code,\n pre {\n background-color: var(--lumo-contrast-10pct);\n border-radius: var(--lumo-border-radius-m);\n }\n`;\n\nregisterStyles('', color, { moduleId: 'lumo-color' });\n\nexport { colorBase, color };\n","/**\n * @license\n * Copyright (c) 2017 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport './version.js';\nimport { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';\nimport { addLumoGlobalStyles } from './global.js';\n\nconst font = css`\n :host {\n /* prettier-ignore */\n --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\n\n /* Font sizes */\n --lumo-font-size-xxs: 0.75rem;\n --lumo-font-size-xs: 0.8125rem;\n --lumo-font-size-s: 0.875rem;\n --lumo-font-size-m: 1rem;\n --lumo-font-size-l: 1.125rem;\n --lumo-font-size-xl: 1.375rem;\n --lumo-font-size-xxl: 1.75rem;\n --lumo-font-size-xxxl: 2.5rem;\n\n /* Line heights */\n --lumo-line-height-xs: 1.25;\n --lumo-line-height-s: 1.375;\n --lumo-line-height-m: 1.625;\n }\n`;\n\nconst typography = css`\n body,\n :host {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size-m);\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n small,\n [theme~='font-size-s'] {\n font-size: var(--lumo-font-size-s);\n line-height: var(--lumo-line-height-s);\n }\n\n [theme~='font-size-xs'] {\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n }\n\n :where(h1, h2, h3, h4, h5, h6) {\n font-weight: 600;\n line-height: var(--lumo-line-height-xs);\n margin-block: 0;\n }\n\n :where(h1) {\n font-size: var(--lumo-font-size-xxxl);\n }\n\n :where(h2) {\n font-size: var(--lumo-font-size-xxl);\n }\n\n :where(h3) {\n font-size: var(--lumo-font-size-xl);\n }\n\n :where(h4) {\n font-size: var(--lumo-font-size-l);\n }\n\n :where(h5) {\n font-size: var(--lumo-font-size-m);\n }\n\n :where(h6) {\n font-size: var(--lumo-font-size-xs);\n text-transform: uppercase;\n letter-spacing: 0.03em;\n }\n\n p,\n blockquote {\n margin-top: 0.5em;\n margin-bottom: 0.75em;\n }\n\n a {\n text-decoration: none;\n }\n\n a:where(:any-link):hover {\n text-decoration: underline;\n }\n\n hr {\n display: block;\n align-self: stretch;\n height: 1px;\n border: 0;\n padding: 0;\n margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);\n background-color: var(--lumo-contrast-10pct);\n }\n\n blockquote {\n border-left: 2px solid var(--lumo-contrast-30pct);\n }\n\n b,\n strong {\n font-weight: 600;\n }\n\n /* RTL specific styles */\n blockquote[dir='rtl'] {\n border-left: none;\n border-right: 2px solid var(--lumo-contrast-30pct);\n }\n`;\n\nregisterStyles('', typography, { moduleId: 'lumo-typography' });\naddLumoGlobalStyles('typography-props', font);\n\nexport { font, typography };\n"],"names":["style","spacing","keyboardActive","getDeepActiveElement","host","document","activeElement","body","shadowRoot","isKeyboardActive","isElementHiddenDirectly","element","visibility","display","computedStyle","window","getComputedStyle","hasLowerTabOrder","a","b","ati","Math","max","tabIndex","bti","sortElementsByTabIndex","elements","len","length","pivot","ceil","left","right","result","push","shift","concat","mergeSortByTabIndex","slice","isElementHidden","offsetParent","clientWidth","clientHeight","isElementFocused","getRootNode","collectFocusableNodes","node","nodeType","Node","ELEMENT_NODE","matches","isElementFocusable","getAttribute","Number","normalizeTabIndex","needsSort","children","localName","assignedNodes","flatten","forEach","child","getFocusableElements","focusableElements","addEventListener","capture","ControllerMixin","superClass","prototype","addController","constructor","super","this","__controllers","Set","connectedCallback","c","hostConnected","disconnectedCallback","hostDisconnected","controller","add","undefined","$","isConnected","removeController","delete","colorBase","color","moduleId","font","typography"],"sourceRoot":""}
|