@vonage/vivid 3.0.0-next.21 → 3.0.0-next.24
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/README.md +2 -2
- package/accordion-item/index.js +12 -7
- package/action-group/index.js +19 -4
- package/badge/index.js +1 -1
- package/banner/index.js +9 -11
- package/breadcrumb/index.js +1 -0
- package/breadcrumb-item/index.js +11 -4
- package/button/index.js +5 -3
- package/calendar/index.js +31 -9
- package/calendar-event/index.js +19 -32
- package/card/index.js +11 -19
- package/checkbox/index.js +176 -0
- package/elevation/index.js +1 -1
- package/fab/index.js +5 -3
- package/focus/index.js +1 -1
- package/header/index.js +91 -0
- package/icon/index.js +1 -1
- package/index.js +13 -9
- package/lib/accordion-item/index.d.ts +2 -0
- package/lib/action-group/action-group.d.ts +1 -0
- package/lib/banner/banner.template.d.ts +0 -2
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/calendar/calendar.d.ts +3 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar-event/calendar-event.d.ts +3 -1
- package/lib/card/index.d.ts +0 -1
- package/lib/checkbox/checkbox.d.ts +5 -0
- package/lib/checkbox/checkbox.template.d.ts +4 -0
- package/lib/checkbox/index.d.ts +4 -0
- package/lib/components.d.ts +2 -0
- package/lib/header/header.d.ts +11 -0
- package/lib/header/header.template.d.ts +4 -0
- package/lib/header/index.d.ts +2 -0
- package/lib/side-drawer/side-drawer.d.ts +8 -1
- package/lib/sidenav-item/index.d.ts +1 -0
- package/note/index.js +1 -1
- package/package.json +7 -3
- package/popup/index.js +7 -5
- package/progress/index.js +30 -24
- package/shared/aria-global.js +3 -40
- package/shared/button.js +1 -1
- package/shared/calendar-event.js +26 -0
- package/shared/es.object.assign.js +1 -1
- package/shared/export.js +444 -444
- package/shared/focus2.js +2 -459
- package/shared/form-associated.js +547 -0
- package/shared/icon.js +2 -2
- package/shared/index.js +1 -1
- package/shared/{object-set-prototype-of.js → iterators.js} +20 -20
- package/shared/object-keys.js +1 -1
- package/shared/ref.js +41 -0
- package/shared/text-anchor.template.js +5 -2
- package/shared/to-string.js +1 -1
- package/shared/web.dom-collections.iterator.js +2 -2
- package/side-drawer/index.js +8587 -11
- package/sidenav-item/index.js +7 -6
- package/text/index.js +1 -1
- package/text-anchor/index.js +4 -1
- package/text-field/index.js +7 -5
- package/tooltip/index.js +4 -2
package/sidenav-item/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '../icon/index.js';
|
|
2
|
+
import '../focus/index.js';
|
|
2
3
|
import { h as html, d as designSystem } from '../shared/index.js';
|
|
3
4
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
4
5
|
import { b as AffixIcon } from '../shared/affix.js';
|
|
@@ -7,17 +8,20 @@ import { a as applyMixins } from '../shared/apply-mixins.js';
|
|
|
7
8
|
import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
|
|
8
9
|
import '../shared/icon.js';
|
|
9
10
|
import '../shared/export.js';
|
|
10
|
-
import '../shared/
|
|
11
|
+
import '../shared/iterators.js';
|
|
11
12
|
import '../shared/to-string.js';
|
|
12
13
|
import '../shared/_has.js';
|
|
13
14
|
import '../shared/when.js';
|
|
14
15
|
import '../shared/class-names.js';
|
|
16
|
+
import '../shared/focus.js';
|
|
15
17
|
import '../shared/web.dom-collections.iterator.js';
|
|
16
18
|
import '../shared/object-keys.js';
|
|
17
19
|
import '../shared/anchor.js';
|
|
18
20
|
import '../shared/aria-global.js';
|
|
21
|
+
import '../shared/ref.js';
|
|
22
|
+
import '../shared/focus2.js';
|
|
19
23
|
|
|
20
|
-
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n position: relative;\n display: inline-flex;\n box-sizing: border-box;\n align-items: center;\n background-color: transparent;\n border-radius: 6px;\n color: var(--vvd-color-on-canvas);\n gap: 8px;\n -webkit-hyphens: auto;\n hyphens: auto;\n inline-size: 100%;\n min-block-size: 40px;\n outline: 0 none;\n padding-block: 10px;\n padding-inline: 8px;\n text-decoration: none;\n vertical-align: middle;\n word-break: break-word;\n}\n:host, .control {\n outline: 0 none;\n}\n\n.control.icon-only {\n display: flex;\n block-size: 40px;\n inline-size: 40px;\n place-content: center;\n}\n\n.control:focus {\n background-color: var(--vvd-color-neutral-20);\n}\n\n.control:focus-visible {\n
|
|
24
|
+
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n position: relative;\n display: inline-flex;\n box-sizing: border-box;\n align-items: center;\n background-color: transparent;\n border-radius: 6px;\n color: var(--vvd-color-on-canvas);\n gap: 8px;\n -webkit-hyphens: auto;\n hyphens: auto;\n inline-size: 100%;\n min-block-size: 40px;\n outline: 0 none;\n padding-block: 10px;\n padding-inline: 8px;\n text-decoration: none;\n vertical-align: middle;\n word-break: break-word;\n}\n:host, .control {\n outline: 0 none;\n}\n\n.control.icon-only {\n display: flex;\n block-size: 40px;\n inline-size: 40px;\n place-content: center;\n}\n\n.control:focus {\n background-color: var(--vvd-color-neutral-20);\n}\n\n.control:not(:focus-visible) .focus-indicator {\n display: none;\n}\n\n.icon {\n font-size: 20px;\n}";
|
|
21
25
|
styleInject(css_248z);
|
|
22
26
|
|
|
23
27
|
class SidenavItem extends TextAnchor {}
|
|
@@ -32,10 +36,7 @@ const SidenavItemTemplate = (context, definition) => html(_t || (_t = _`
|
|
|
32
36
|
const vividSidenavItem = SidenavItem.compose({
|
|
33
37
|
baseName: 'sidenav-item',
|
|
34
38
|
template: SidenavItemTemplate,
|
|
35
|
-
styles: css_248z
|
|
36
|
-
shadowOptions: {
|
|
37
|
-
delegatesFocus: true
|
|
38
|
-
}
|
|
39
|
+
styles: css_248z
|
|
39
40
|
});
|
|
40
41
|
designSystem.register(vividSidenavItem());
|
|
41
42
|
|
package/text/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import '../shared/web.dom-collections.iterator.js';
|
|
|
4
4
|
import { c as classNames } from '../shared/class-names.js';
|
|
5
5
|
import '../shared/export.js';
|
|
6
6
|
import '../shared/object-keys.js';
|
|
7
|
-
import '../shared/
|
|
7
|
+
import '../shared/iterators.js';
|
|
8
8
|
|
|
9
9
|
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control:not(.tight):not(.font-face-body-1, .font-face-body-1-bold, .font-face-body-1-code, .font-face-body-1-link, .font-face-body-2, .font-face-body-2-bold, .font-face-body-2-code, .font-face-body-2-link, .font-face-button, .font-face-button-dense, .font-face-button-enlarge, .font-face-caption, .font-face-caption-bold, .font-face-caption-code, .font-face-caption-link, .font-face-headline-1, .font-face-headline-2, .font-face-subtitle-1, .font-face-subtitle-2, .font-face-title-1, .font-face-title-2), .control.font-face-body-1:not(.tight), .control.font-face-body-1-bold:not(.tight), .control.font-face-body-1-code:not(.tight), .control.font-face-body-1-link:not(.tight), .control.font-face-body-2:not(.tight), .control.font-face-body-2-bold:not(.tight), .control.font-face-body-2-code:not(.tight), .control.font-face-body-2-link:not(.tight), .control.font-face-subtitle-1:not(.tight), .control.font-face-subtitle-2:not(.tight), .control.font-face-title-1:not(.tight), .control.font-face-title-2:not(.tight), .control.font-face-headline-1:not(.tight), .control.font-face-headline-2:not(.tight) {\n display: block;\n margin: var(--font-face-margin, 0);\n}\n\n.control {\n color: var(--_connotation-color-primary);\n}\n.control.font-face-body-1 {\n font: 400 ultra-condensed 16px / 24px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-body-1-bold {\n font: 600 ultra-condensed 16px / 24px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-body-1-code {\n font: 400 ultra-condensed 16px / 24px SpeziaMonoWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-body-1-link {\n font: 400 ultra-condensed 16px / 24px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: underline;\n text-transform: none;\n}\n.control.font-face-body-2 {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-body-2-bold {\n font: 600 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-body-2-code {\n font: 400 ultra-condensed 14px / 20px SpeziaMonoWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-body-2-link {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: underline;\n text-transform: none;\n}\n.control.font-face-button {\n font: 600 ultra-condensed 14px / 100% SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-button-dense {\n font: 600 ultra-condensed 12px / 100% SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-button-enlarge {\n font: 600 ultra-condensed 16px / 100% SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-caption {\n font: 400 ultra-condensed 12px / 16px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-caption-bold {\n font: 600 ultra-condensed 12px / 16px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-caption-code {\n font: 400 ultra-condensed 12px / 16px SpeziaMonoWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-caption-link {\n font: 400 ultra-condensed 12px / 16px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: underline;\n text-transform: none;\n}\n.control.font-face-headline-1 {\n font: 500 condensed 66px / 88px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-headline-2 {\n font: 500 condensed 52px / 68px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-subtitle-1 {\n font: 500 condensed 26px / 36px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-subtitle-2 {\n font: 500 condensed 20px / 28px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-title-1 {\n font: 500 condensed 40px / 52px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.font-face-title-2 {\n font: 500 condensed 32px / 44px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control:not(.font-face-body-1, .font-face-body-1-bold, .font-face-body-1-code, .font-face-body-1-link, .font-face-body-2, .font-face-body-2-bold, .font-face-body-2-code, .font-face-body-2-link, .font-face-button, .font-face-button-dense, .font-face-button-enlarge, .font-face-caption, .font-face-caption-bold, .font-face-caption-code, .font-face-caption-link, .font-face-headline-1, .font-face-headline-2, .font-face-subtitle-1, .font-face-subtitle-2, .font-face-title-1, .font-face-title-2) {\n font: 400 ultra-condensed 16px / 24px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n}\n.control.connotation-accent {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n}\n.control.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta);\n}\n.control.connotation-success {\n --_connotation-color-primary: var(--vvd-color-success);\n}\n.control.connotation-alert {\n --_connotation-color-primary: var(--vvd-color-alert);\n}\n.control.connotation-announcement {\n --_connotation-color-primary: var(--vvd-color-announcement);\n}\n.control.connotation-info {\n --_connotation-color-primary: var(--vvd-color-info);\n}\n.control.font-face-headline-1, .control.font-face-headline-2 {\n --font-face-margin: 2.5rem 0;\n}\n.control.font-face-title-1, .control.font-face-title-2 {\n --font-face-margin: 2rem 0;\n}\n.control.font-face-subtitle-1, .control.font-face-subtitle-2 {\n --font-face-margin: 1.5rem 0;\n}\n.control:not(.font-face-body-1, .font-face-body-1-bold, .font-face-body-1-code, .font-face-body-1-link, .font-face-body-2, .font-face-body-2-bold, .font-face-body-2-code, .font-face-body-2-link, .font-face-button, .font-face-button-dense, .font-face-button-enlarge, .font-face-caption, .font-face-caption-bold, .font-face-caption-code, .font-face-caption-link, .font-face-headline-1, .font-face-headline-2, .font-face-subtitle-1, .font-face-subtitle-2, .font-face-title-1, .font-face-title-2), .control.font-face-body-1, .control.font-face-body-1-bold, .control.font-face-body-1-code, .control.font-face-body-1-link, .control.font-face-body-2, .control.font-face-body-2-bold, .control.font-face-body-2-code, .control.font-face-body-2-link {\n --font-face-margin: 1rem 0;\n}\n\n::slotted(:where(h1, h2, h3, h4, h5, h6, p)) {\n margin: initial;\n}\n\n::slotted(*) {\n color: inherit;\n font: inherit;\n}";
|
|
10
10
|
styleInject(css_248z);
|
package/text-anchor/index.js
CHANGED
|
@@ -5,13 +5,16 @@ import '../shared/affix.js';
|
|
|
5
5
|
import '../shared/web.dom-collections.iterator.js';
|
|
6
6
|
import '../shared/export.js';
|
|
7
7
|
import '../shared/object-keys.js';
|
|
8
|
-
import '../shared/
|
|
8
|
+
import '../shared/iterators.js';
|
|
9
9
|
import '../shared/icon.js';
|
|
10
10
|
import '../shared/to-string.js';
|
|
11
11
|
import '../shared/_has.js';
|
|
12
12
|
import '../shared/anchor.js';
|
|
13
13
|
import '../shared/apply-mixins.js';
|
|
14
14
|
import '../shared/aria-global.js';
|
|
15
|
+
import '../shared/ref.js';
|
|
16
|
+
import '../shared/focus2.js';
|
|
17
|
+
import '../shared/focus.js';
|
|
15
18
|
import '../shared/class-names.js';
|
|
16
19
|
|
|
17
20
|
const vividTextAnchor = TextAnchor.compose({
|
package/text-field/index.js
CHANGED
|
@@ -5,14 +5,16 @@ import '../shared/web.dom-collections.iterator.js';
|
|
|
5
5
|
import { b as AffixIcon, a as affixIconTemplateFactory } from '../shared/affix.js';
|
|
6
6
|
import '../shared/focus.js';
|
|
7
7
|
import { a as applyMixins } from '../shared/apply-mixins.js';
|
|
8
|
-
import { F as FormAssociated
|
|
9
|
-
import { A as ARIAGlobalStatesAndProperties, S as StartEnd
|
|
8
|
+
import { F as FormAssociated } from '../shared/form-associated.js';
|
|
9
|
+
import { A as ARIAGlobalStatesAndProperties, S as StartEnd } from '../shared/aria-global.js';
|
|
10
10
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
11
|
+
import { f as focusTemplateFactory } from '../shared/focus2.js';
|
|
11
12
|
import { w as when } from '../shared/when.js';
|
|
13
|
+
import { r as ref } from '../shared/ref.js';
|
|
12
14
|
import { c as classNames } from '../shared/class-names.js';
|
|
13
15
|
import '../shared/icon.js';
|
|
14
16
|
import '../shared/export.js';
|
|
15
|
-
import '../shared/
|
|
17
|
+
import '../shared/iterators.js';
|
|
16
18
|
import '../shared/to-string.js';
|
|
17
19
|
import '../shared/_has.js';
|
|
18
20
|
import '../shared/object-keys.js';
|
|
@@ -277,7 +279,7 @@ __decorate([volatile, __metadata("design:type", Object), __metadata("design:para
|
|
|
277
279
|
|
|
278
280
|
applyMixins(TextField, AffixIcon);
|
|
279
281
|
|
|
280
|
-
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.base {\n display: grid;\n gap: 4px;\n grid-template-columns: min-content 1fr max-content;\n}\n.base {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-canvas);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(:hover, .hover):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-canvas);\n --_appearance-color-outline: var(--vvd-color-on-canvas);\n}\n.base:where(:hover, .hover):where(:not(:disabled, .disabled)).appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-faint);\n --_appearance-color-outline: transaprent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: var(--vvd-color-neutral-20);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base:where(:disabled, .disabled).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(:readonly, .readonly):where(:not(:disabled, .disabled, :hover, .hover, :active, .active)) {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-neutral-20);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base:where(:readonly, .readonly):where(:not(:disabled, .disabled, :hover, .hover, :active, .active)).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(.error):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--vvd-color-alert);\n --_appearance-color-fill: var(--vvd-color-alert-20);\n --_appearance-color-outline: var(--vvd-color-alert);\n}\n.base:where(.error):where(:not(:disabled, .disabled)).appearance-ghost {\n --_appearance-color-text: transparent;\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:not(.disabled) {\n --_low-ink-color: var(--vvd-color-neutral-70);\n}\n.base.disabled {\n --_low-ink-color: var(--vvd-color-neutral-50);\n}\n\n.label {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n grid-column: 1/4;\n grid-row: 1;\n}\n.char-count + .label {\n grid-column: 1/3;\n}\n.base:not(.disabled) .label {\n color: var(--vvd-color-on-canvas);\n}\n.base.disabled .label {\n color: var(--vvd-color-neutral-50);\n}\n\n.char-count {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n color: var(--_low-ink-color);\n grid-column: 3/4;\n}\n\n.fieldset {\n position: relative;\n display: flex;\n align-items: center;\n
|
|
282
|
+
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n:host {\n display: inline-block;\n}\n\n.base {\n display: inline-grid;\n width: 100%;\n gap: 4px;\n grid-template-columns: min-content 1fr max-content;\n}\n.base {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-canvas);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(:hover, .hover):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-canvas);\n --_appearance-color-outline: var(--vvd-color-on-canvas);\n}\n.base:where(:hover, .hover):where(:not(:disabled, .disabled)).appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-faint);\n --_appearance-color-outline: transaprent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: var(--vvd-color-neutral-20);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base:where(:disabled, .disabled).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(:readonly, .readonly):where(:not(:disabled, .disabled, :hover, .hover, :active, .active)) {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-neutral-20);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base:where(:readonly, .readonly):where(:not(:disabled, .disabled, :hover, .hover, :active, .active)).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(.error):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--vvd-color-alert);\n --_appearance-color-fill: var(--vvd-color-alert-20);\n --_appearance-color-outline: var(--vvd-color-alert);\n}\n.base:where(.error):where(:not(:disabled, .disabled)).appearance-ghost {\n --_appearance-color-text: transparent;\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n@supports ((-webkit-user-select: none) or (user-select: none)) {\n .base {\n -webkit-user-select: none;\n user-select: none;\n }\n}\n.base:not(.disabled) {\n --_low-ink-color: var(--vvd-color-neutral-70);\n}\n.base.disabled {\n --_low-ink-color: var(--vvd-color-neutral-50);\n}\n\n.label {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n contain: inline-size;\n grid-column: 1/4;\n grid-row: 1;\n}\n.char-count + .label {\n grid-column: 1/3;\n}\n.base:not(.disabled) .label {\n color: var(--vvd-color-on-canvas);\n}\n.base.disabled .label {\n color: var(--vvd-color-neutral-50);\n}\n\n.char-count {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n color: var(--_low-ink-color);\n grid-column: 3/4;\n}\n\n.fieldset {\n position: relative;\n display: flex;\n align-items: center;\n color: var(--_appearance-color-text);\n grid-column: 1/4;\n transition: color 0.2s;\n /* Size */\n /* Shape */\n}\n.base:not(.density-extended) > .fieldset {\n block-size: 40px;\n}\n.base.density-extended > .fieldset {\n block-size: 48px;\n}\n.base:not(.shape-pill) .fieldset {\n border-radius: 6px;\n}\n.base.shape-pill .fieldset {\n border-radius: 24px;\n}\n\n.control {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n width: 100%;\n border: 0 none;\n background-color: var(--_appearance-color-fill);\n block-size: 100%;\n border-radius: inherit;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n color: inherit;\n outline: 0 none;\n padding-inline-end: 16px;\n padding-inline-start: 16px;\n transition: box-shadow 0.2s, background-color 0.2s;\n}\n.control::placeholder {\n color: var(--_low-ink-color);\n}\n\n.icon {\n position: absolute;\n z-index: 1;\n color: var(--_low-ink-color);\n inset-inline-start: 16px;\n}\n.icon + .control {\n padding-inline-start: 44px;\n}\n\n.helper-text {\n font: 400 ultra-condensed 12px / 16px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n color: var(--_low-ink-color);\n grid-column: 1/4;\n margin-inline-start: 16px;\n}\n\n.error-message {\n font: 400 ultra-condensed 12px / 16px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n display: flex;\n color: var(--vvd-color-on-canvas);\n contain: inline-size;\n grid-column: 2/4;\n}\n.error-message-icon {\n color: var(--vvd-color-alert);\n font-size: 16px;\n grid-column: 1/2;\n}\n\n.focus-indicator {\n --focus-stroke-gap-color: transparent;\n pointer-events: none;\n}\n.fieldset:not(:focus-visible, :focus-within) > .focus-indicator {\n display: none;\n}";
|
|
281
283
|
styleInject(css_248z);
|
|
282
284
|
|
|
283
285
|
let _ = t => t,
|
|
@@ -345,7 +347,7 @@ const TextfieldTemplate = context => {
|
|
|
345
347
|
placeholder="${0}"
|
|
346
348
|
?readonly="${0}"
|
|
347
349
|
?required="${0}"
|
|
348
|
-
size="${0}"
|
|
350
|
+
size="${0}"
|
|
349
351
|
autocomplete="${0}"
|
|
350
352
|
name="${0}"
|
|
351
353
|
?spellcheck="${0}"
|
package/tooltip/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import '../button/index.js';
|
|
|
8
8
|
import '../icon/index.js';
|
|
9
9
|
import '../shared/icon.js';
|
|
10
10
|
import '../shared/export.js';
|
|
11
|
-
import '../shared/
|
|
11
|
+
import '../shared/iterators.js';
|
|
12
12
|
import '../shared/to-string.js';
|
|
13
13
|
import '../shared/_has.js';
|
|
14
14
|
import '../shared/when.js';
|
|
@@ -17,8 +17,10 @@ import '../shared/focus.js';
|
|
|
17
17
|
import '../shared/affix.js';
|
|
18
18
|
import '../shared/button.js';
|
|
19
19
|
import '../shared/apply-mixins.js';
|
|
20
|
-
import '../shared/
|
|
20
|
+
import '../shared/form-associated.js';
|
|
21
21
|
import '../shared/aria-global.js';
|
|
22
|
+
import '../shared/ref.js';
|
|
23
|
+
import '../shared/focus2.js';
|
|
22
24
|
import '../shared/object-keys.js';
|
|
23
25
|
import '../shared/es.object.assign.js';
|
|
24
26
|
|