@vonage/vivid 3.0.0 → 3.0.1
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 +176 -4
- package/accordion/index.js +22 -61
- package/accordion-item/index.js +16 -118
- package/action-group/index.js +5 -0
- package/avatar/index.js +11 -0
- package/badge/index.js +9 -53
- package/banner/index.js +20 -210
- package/breadcrumb/index.js +7 -96
- package/breadcrumb-item/index.js +15 -46
- package/button/index.js +19 -751
- package/calendar/index.js +5 -1520
- package/calendar-event/index.js +9 -0
- package/card/index.js +10 -133
- package/checkbox/index.js +16 -0
- package/combobox/index.js +35 -0
- package/dialog/index.js +24 -0
- package/divider/index.js +6 -0
- package/elevation/index.js +4 -30
- package/fab/index.js +22 -0
- package/focus/index.js +4 -2
- package/header/index.js +6 -0
- package/icon/index.js +8 -36
- package/index.js +76 -26
- package/layout/index.js +4 -52
- package/lib/accordion/accordion.d.ts +3 -7
- package/lib/accordion/accordion.template.d.ts +1 -2
- package/lib/accordion/definition.d.ts +1 -0
- package/lib/accordion/index.d.ts +1 -2
- package/lib/accordion-item/accordion-item.d.ts +2 -6
- package/lib/accordion-item/accordion-item.template.d.ts +4 -4
- package/lib/accordion-item/definition.d.ts +1 -0
- package/lib/accordion-item/index.d.ts +1 -3
- package/lib/action-group/action-group.d.ts +10 -0
- package/lib/{sidenav-item/sidenav-item.template.d.ts → action-group/action-group.template.d.ts} +2 -2
- package/lib/action-group/definition.d.ts +1 -0
- package/lib/action-group/index.d.ts +1 -0
- package/lib/avatar/avatar.d.ts +15 -0
- package/lib/avatar/avatar.template.d.ts +4 -0
- package/lib/avatar/definition.d.ts +1 -0
- package/lib/avatar/index.d.ts +1 -0
- package/lib/badge/badge.d.ts +2 -4
- package/lib/badge/definition.d.ts +3 -0
- package/lib/badge/index.d.ts +1 -3
- package/lib/banner/banner.d.ts +1 -1
- package/lib/banner/banner.template.d.ts +0 -2
- package/lib/banner/definition.d.ts +1 -0
- package/lib/banner/index.d.ts +1 -2
- package/lib/breadcrumb/breadcrumb.template.d.ts +4 -0
- package/lib/breadcrumb/definition.d.ts +1 -0
- package/lib/breadcrumb/index.d.ts +1 -2
- package/lib/breadcrumb-item/definition.d.ts +1 -0
- package/lib/breadcrumb-item/index.d.ts +1 -3
- package/lib/button/button.d.ts +3 -2
- package/lib/button/definition.d.ts +1 -0
- package/lib/button/index.d.ts +1 -21
- package/lib/calendar/calendar.d.ts +3 -1
- package/lib/calendar/definition.d.ts +1 -0
- package/lib/calendar/index.d.ts +1 -3
- package/lib/calendar-event/calendar-event.d.ts +14 -0
- package/lib/calendar-event/calendar-event.template.d.ts +4 -0
- package/lib/calendar-event/definition.d.ts +1 -0
- package/lib/calendar-event/index.d.ts +1 -0
- package/lib/card/card.d.ts +2 -2
- package/lib/card/definition.d.ts +1 -0
- package/lib/card/index.d.ts +1 -5
- package/lib/checkbox/checkbox.d.ts +5 -0
- package/lib/checkbox/checkbox.template.d.ts +4 -0
- package/lib/checkbox/definition.d.ts +1 -0
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/combobox/combobox.d.ts +14 -0
- package/lib/combobox/combobox.template.d.ts +4 -0
- package/lib/combobox/definition.d.ts +3 -0
- package/lib/combobox/index.d.ts +1 -0
- package/lib/components.d.ts +44 -16
- package/lib/dialog/definition.d.ts +1 -0
- package/lib/dialog/dialog.d.ts +23 -0
- package/lib/dialog/dialog.template.d.ts +4 -0
- package/lib/dialog/index.d.ts +1 -0
- package/lib/divider/definition.d.ts +1 -0
- package/lib/divider/divider.d.ts +3 -0
- package/lib/divider/divider.template.d.ts +4 -0
- package/lib/divider/index.d.ts +1 -0
- package/lib/elevation/definition.d.ts +1 -0
- package/lib/elevation/elevation.d.ts +1 -0
- package/lib/elevation/index.d.ts +1 -2
- package/lib/enums.d.ts +19 -6
- package/lib/fab/definition.d.ts +3 -0
- package/lib/fab/fab.d.ts +13 -0
- package/lib/fab/fab.template.d.ts +4 -0
- package/lib/fab/index.d.ts +1 -0
- package/lib/focus/definition.d.ts +3 -0
- package/lib/focus/index.d.ts +1 -2
- package/lib/{sidenav-item/index.d.ts → header/definition.d.ts} +2 -2
- package/lib/header/header.d.ts +5 -0
- package/lib/header/header.template.d.ts +4 -0
- package/lib/header/index.d.ts +1 -0
- package/lib/icon/definition.d.ts +3 -0
- package/lib/icon/icon.d.ts +5 -6
- package/lib/icon/index.d.ts +1 -2
- package/lib/layout/definition.d.ts +3 -0
- package/lib/layout/index.d.ts +1 -2
- package/lib/layout/layout.d.ts +4 -4
- package/lib/listbox/definition.d.ts +3 -0
- package/lib/listbox/index.d.ts +1 -0
- package/lib/listbox/listbox.d.ts +6 -0
- package/lib/listbox/listbox.template.d.ts +4 -0
- package/lib/menu/definition.d.ts +11 -0
- package/lib/menu/index.d.ts +1 -0
- package/lib/menu/menu.d.ts +10 -0
- package/lib/menu/menu.template.d.ts +3 -0
- package/lib/menu-item/definition.d.ts +3 -0
- package/lib/menu-item/index.d.ts +1 -0
- package/lib/menu-item/menu-item.d.ts +8 -0
- package/lib/menu-item/menu-item.template.d.ts +5 -0
- package/lib/nav/definition.d.ts +3 -0
- package/lib/nav/index.d.ts +1 -0
- package/lib/nav/nav.d.ts +3 -0
- package/lib/nav/nav.template.d.ts +4 -0
- package/lib/nav-disclosure/definition.d.ts +3 -0
- package/lib/nav-disclosure/index.d.ts +1 -0
- package/lib/nav-disclosure/nav-disclosure.d.ts +10 -0
- package/lib/nav-disclosure/nav-disclosure.template.d.ts +4 -0
- package/lib/nav-item/definition.d.ts +3 -0
- package/lib/nav-item/index.d.ts +1 -0
- package/lib/{sidenav-item/sidenav-item.d.ts → nav-item/nav-item.d.ts} +2 -2
- package/lib/nav-item/nav-item.template.d.ts +4 -0
- package/lib/note/definition.d.ts +3 -0
- package/lib/note/index.d.ts +1 -0
- package/lib/note/note.d.ts +10 -0
- package/lib/{text/text.template.d.ts → note/note.template.d.ts} +2 -2
- package/lib/number-field/definition.d.ts +4 -0
- package/lib/number-field/index.d.ts +1 -0
- package/lib/number-field/number-field.d.ts +14 -0
- package/lib/number-field/number-field.template.d.ts +4 -0
- package/lib/option/definition.d.ts +3 -0
- package/lib/option/index.d.ts +1 -0
- package/lib/option/option.d.ts +9 -0
- package/lib/option/option.template.d.ts +4 -0
- package/lib/popup/definition.d.ts +4 -0
- package/lib/popup/index.d.ts +1 -4
- package/lib/popup/popup.d.ts +8 -4
- package/lib/progress/definition.d.ts +3 -0
- package/lib/progress/index.d.ts +1 -2
- package/lib/progress/progress.d.ts +1 -1
- package/lib/progress-ring/definition.d.ts +3 -0
- package/lib/progress-ring/index.d.ts +1 -2
- package/lib/progress-ring/progress-ring.d.ts +2 -1
- package/lib/radio/definition.d.ts +3 -0
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/radio.d.ts +4 -0
- package/lib/radio/radio.template.d.ts +4 -0
- package/lib/radio-group/definition.d.ts +11 -0
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/radio-group.d.ts +4 -0
- package/lib/radio-group/radio-group.template.d.ts +4 -0
- package/lib/select/definition.d.ts +3 -0
- package/lib/select/index.d.ts +1 -0
- package/lib/select/select.d.ts +17 -0
- package/lib/select/select.template.d.ts +4 -0
- package/lib/side-drawer/definition.d.ts +3 -0
- package/lib/side-drawer/index.d.ts +1 -2
- package/lib/side-drawer/side-drawer.d.ts +3 -2
- package/lib/slider/definition.d.ts +3 -0
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/slider.d.ts +4 -0
- package/lib/slider/slider.template.d.ts +4 -0
- package/lib/switch/definition.d.ts +3 -0
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/switch.d.ts +7 -0
- package/lib/switch/switch.template.d.ts +4 -0
- package/lib/tab/definition.d.ts +3 -0
- package/lib/tab/index.d.ts +1 -0
- package/lib/tab/tab.d.ts +9 -0
- package/lib/tab/tab.template.d.ts +3 -0
- package/lib/tab-panel/definition.d.ts +3 -0
- package/lib/tab-panel/index.d.ts +1 -0
- package/lib/tab-panel/tab-panel.d.ts +3 -0
- package/lib/tab-panel/tab-panel.template.d.ts +2 -0
- package/lib/tabs/definition.d.ts +3 -0
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/tabs.d.ts +10 -0
- package/lib/tabs/tabs.template.d.ts +2 -0
- package/lib/text-anchor/definition.d.ts +3 -0
- package/lib/text-anchor/index.d.ts +1 -2
- package/lib/text-area/definition.d.ts +3 -0
- package/lib/text-area/index.d.ts +1 -0
- package/lib/text-area/text-area.d.ts +9 -0
- package/lib/text-area/text-area.template.d.ts +4 -0
- package/lib/text-field/definition.d.ts +3 -0
- package/lib/text-field/index.d.ts +1 -0
- package/lib/text-field/text-field.d.ts +14 -0
- package/lib/text-field/text-field.template.d.ts +4 -0
- package/lib/tooltip/definition.d.ts +3 -0
- package/lib/tooltip/index.d.ts +1 -3
- package/lib/tooltip/tooltip.d.ts +6 -6
- package/listbox/index.js +27 -0
- package/menu/index.js +30 -0
- package/menu-item/index.js +20 -0
- package/nav/index.js +4 -0
- package/nav-disclosure/index.js +17 -0
- package/nav-item/index.js +22 -0
- package/note/index.js +15 -0
- package/number-field/index.js +459 -0
- package/option/index.js +21 -0
- package/package.json +29 -18
- package/popup/index.js +21 -2062
- package/progress/index.js +6 -98
- package/progress-ring/index.js +6 -75
- package/radio/index.js +12 -0
- package/radio-group/index.js +11 -0
- package/select/index.js +34 -0
- package/shared/affix.js +2 -8
- package/shared/anchor.js +10 -2
- package/shared/apply-mixins.js +5 -4
- package/shared/aria-global.js +2 -86
- package/shared/aria.js +9 -0
- package/shared/base-progress.js +5 -0
- package/shared/breadcrumb-item.js +1 -1
- package/shared/button.js +200 -0
- package/shared/calendar-event.js +19 -0
- package/shared/definition.js +225 -0
- package/shared/definition10.js +99 -0
- package/shared/definition11.js +48 -0
- package/shared/definition12.js +1523 -0
- package/shared/definition13.js +111 -0
- package/shared/definition14.js +114 -0
- package/shared/definition15.js +32 -0
- package/shared/definition16.js +172 -0
- package/shared/definition17.js +727 -0
- package/shared/definition18.js +1842 -0
- package/shared/definition19.js +261 -0
- package/shared/definition2.js +150 -0
- package/shared/definition20.js +221 -0
- package/shared/definition21.js +78 -0
- package/shared/definition22.js +87 -0
- package/shared/definition23.js +58 -0
- package/shared/definition24.js +44 -0
- package/shared/definition25.js +58 -0
- package/shared/definition26.js +348 -0
- package/shared/definition27.js +363 -0
- package/shared/definition28.js +21 -0
- package/shared/definition29.js +75 -0
- package/shared/definition3.js +29 -0
- package/shared/definition30.js +31 -0
- package/shared/definition31.js +49 -0
- package/shared/definition32.js +94 -0
- package/shared/definition33.js +77 -0
- package/shared/definition34.js +45 -0
- package/shared/definition35.js +435 -0
- package/shared/definition36.js +634 -0
- package/shared/definition37.js +86 -0
- package/shared/definition38.js +592 -0
- package/shared/definition39.js +147 -0
- package/shared/definition4.js +19 -0
- package/shared/definition40.js +67 -0
- package/shared/definition41.js +32 -0
- package/shared/definition42.js +440 -0
- package/shared/definition43.js +282 -0
- package/shared/definition44.js +119 -0
- package/shared/definition45.js +77 -0
- package/shared/definition5.js +38 -0
- package/shared/definition6.js +60 -0
- package/shared/definition7.js +45 -0
- package/shared/definition8.js +113 -0
- package/shared/definition9.js +107 -0
- package/shared/design-system/index.d.ts +1 -1
- package/shared/dialog-polyfill.esm.js +858 -0
- package/shared/direction.js +20 -0
- package/shared/dom.js +8 -0
- package/shared/enums.js +70 -0
- package/shared/es.object.assign.js +2 -3
- package/shared/es.regexp.to-string.js +59 -0
- package/shared/focus.js +5 -0
- package/shared/focus2.js +11 -0
- package/shared/form-associated.js +466 -0
- package/shared/form-elements.js +127 -0
- package/shared/icon.js +538 -567
- package/shared/index.js +1664 -83
- package/shared/key-codes.js +97 -0
- package/shared/listbox.js +995 -0
- package/shared/numbers.js +34 -0
- package/shared/patterns/affix.d.ts +1 -1
- package/shared/patterns/focus.d.ts +3 -0
- package/shared/patterns/form-elements/form-elements.d.ts +43 -0
- package/shared/patterns/form-elements/index.d.ts +1 -0
- package/shared/patterns/index.d.ts +2 -0
- package/shared/radio.js +127 -0
- package/shared/ref.js +41 -0
- package/shared/select.options.js +10 -0
- package/shared/start-end.js +50 -0
- package/shared/string-trim.js +40 -0
- package/shared/strings.js +9 -0
- package/shared/text-anchor.js +0 -2
- package/shared/text-anchor.template.js +6 -5
- package/shared/text-field.js +3 -0
- package/shared/text-field2.js +225 -0
- package/shared/to-string.js +51 -0
- package/side-drawer/index.js +5 -81
- package/slider/index.js +17 -0
- package/styles/core/all.css +83 -0
- package/styles/core/theme.css +11 -0
- package/styles/core/typography.css +77 -0
- package/styles/tokens/theme-dark.css +228 -0
- package/styles/tokens/theme-light.css +228 -0
- package/switch/index.js +18 -0
- package/tab/index.js +16 -0
- package/tab-panel/index.js +4 -0
- package/tabs/index.js +24 -0
- package/text-anchor/index.js +11 -6
- package/text-area/index.js +23 -0
- package/text-field/index.js +24 -0
- package/tooltip/index.js +18 -55
- package/lib/text/index.d.ts +0 -2
- package/lib/text/text.d.ts +0 -10
- package/shared/index2.js +0 -21
- package/shared/object-set-prototype-of.js +0 -1009
- package/shared/style-inject.es.js +0 -28
- package/shared/web.dom-collections.iterator.js +0 -473
- package/sidenav-item/index.js +0 -39
- package/styles/fonts/spezia.css +0 -23
- package/styles/themes/dark.css +0 -205
- package/styles/themes/light.css +0 -205
- package/text/index.js +0 -46
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Mon, 30 Jan 2023 11:28:31 GMT
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Do not edit directly
|
|
7
|
+
* Generated on Mon, 30 Jan 2023 11:28:31 GMT
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Do not edit directly
|
|
11
|
+
* Generated on Mon, 30 Jan 2023 11:28:31 GMT
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Do not edit directly
|
|
15
|
+
* Generated on Mon, 30 Jan 2023 11:28:31 GMT
|
|
16
|
+
*/
|
|
17
|
+
@property --vvd-size-density {
|
|
18
|
+
syntax: "<integer>";
|
|
19
|
+
inherits: true;
|
|
20
|
+
initial-value: 0;
|
|
21
|
+
}
|
|
22
|
+
@property --vvd-size-font-scale-base {
|
|
23
|
+
syntax: "<length>";
|
|
24
|
+
inherits: true;
|
|
25
|
+
initial-value: 16px;
|
|
26
|
+
}
|
|
27
|
+
.vvd-root, ::part(vvd-root) {
|
|
28
|
+
--vvd-color-scheme: light;
|
|
29
|
+
--vvd-color-canvas: #ffffff;
|
|
30
|
+
--vvd-color-canvas-text: #0d0d0d;
|
|
31
|
+
--vvd-color-neutral-50: #F2F2F2;
|
|
32
|
+
--vvd-color-neutral-100: #E6E6E6;
|
|
33
|
+
--vvd-color-neutral-200: #cccccc;
|
|
34
|
+
--vvd-color-neutral-300: #b3b3b3;
|
|
35
|
+
--vvd-color-neutral-400: #929292;
|
|
36
|
+
--vvd-color-neutral-500: #757575;
|
|
37
|
+
--vvd-color-neutral-600: #666666;
|
|
38
|
+
--vvd-color-neutral-700: #4d4d4d;
|
|
39
|
+
--vvd-color-neutral-800: #333333;
|
|
40
|
+
--vvd-color-neutral-900: #1a1a1a;
|
|
41
|
+
--vvd-color-neutral-950: #0d0d0d;
|
|
42
|
+
--vvd-color-cta-50: #f5f0fd;
|
|
43
|
+
--vvd-color-cta-100: #ece2fa;
|
|
44
|
+
--vvd-color-cta-200: #dcc1fc;
|
|
45
|
+
--vvd-color-cta-300: #cba1fa;
|
|
46
|
+
--vvd-color-cta-400: #b27bf2;
|
|
47
|
+
--vvd-color-cta-500: #9941ff;
|
|
48
|
+
--vvd-color-cta-600: #871eff;
|
|
49
|
+
--vvd-color-cta-700: #6405d1;
|
|
50
|
+
--vvd-color-cta-800: #440291;
|
|
51
|
+
--vvd-color-cta-900: #26044d;
|
|
52
|
+
--vvd-color-cta-950: #140623;
|
|
53
|
+
--vvd-color-warning-50: #FDF5D4;
|
|
54
|
+
--vvd-color-warning-100: #FDEAA0;
|
|
55
|
+
--vvd-color-warning-200: #FACC4B;
|
|
56
|
+
--vvd-color-warning-300: #fa9f00;
|
|
57
|
+
--vvd-color-warning-400: #e07902;
|
|
58
|
+
--vvd-color-warning-500: #be5702;
|
|
59
|
+
--vvd-color-warning-600: #A64C03;
|
|
60
|
+
--vvd-color-warning-700: #893000;
|
|
61
|
+
--vvd-color-warning-800: #522801;
|
|
62
|
+
--vvd-color-warning-900: #2A1502;
|
|
63
|
+
--vvd-color-warning-950: #150B01;
|
|
64
|
+
--vvd-color-information-50: #e8f4fb;
|
|
65
|
+
--vvd-color-information-100: #d3e9fc;
|
|
66
|
+
--vvd-color-information-200: #9dd2fe;
|
|
67
|
+
--vvd-color-information-300: #65baff;
|
|
68
|
+
--vvd-color-information-400: #2997f0;
|
|
69
|
+
--vvd-color-information-500: #0276d5;
|
|
70
|
+
--vvd-color-information-600: #0e65c2;
|
|
71
|
+
--vvd-color-information-700: #094a9e;
|
|
72
|
+
--vvd-color-information-800: #0e306d;
|
|
73
|
+
--vvd-color-information-900: #071939;
|
|
74
|
+
--vvd-color-information-950: #040d1d;
|
|
75
|
+
--vvd-color-announcement-50: #ffedfb;
|
|
76
|
+
--vvd-color-announcement-100: #ffdcf7;
|
|
77
|
+
--vvd-color-announcement-200: #f8b9e7;
|
|
78
|
+
--vvd-color-announcement-300: #fb8fd8;
|
|
79
|
+
--vvd-color-announcement-400: #e560bb;
|
|
80
|
+
--vvd-color-announcement-500: #d6219c;
|
|
81
|
+
--vvd-color-announcement-600: #bb1e89;
|
|
82
|
+
--vvd-color-announcement-700: #8f1669;
|
|
83
|
+
--vvd-color-announcement-800: #620256;
|
|
84
|
+
--vvd-color-announcement-900: #32082c;
|
|
85
|
+
--vvd-color-announcement-950: #1d031a;
|
|
86
|
+
--vvd-color-success-50: #e1f8e5;
|
|
87
|
+
--vvd-color-success-100: #cfeed4;
|
|
88
|
+
--vvd-color-success-200: #86e090;
|
|
89
|
+
--vvd-color-success-300: #53ca6a;
|
|
90
|
+
--vvd-color-success-400: #30a849;
|
|
91
|
+
--vvd-color-success-500: #1c8731;
|
|
92
|
+
--vvd-color-success-600: #167629;
|
|
93
|
+
--vvd-color-success-700: #155923;
|
|
94
|
+
--vvd-color-success-800: #183a1e;
|
|
95
|
+
--vvd-color-success-900: #0a1e11;
|
|
96
|
+
--vvd-color-success-950: #060f09;
|
|
97
|
+
--vvd-color-alert-50: #ffeef2;
|
|
98
|
+
--vvd-color-alert-100: #fedfdf;
|
|
99
|
+
--vvd-color-alert-200: #ffbbbb;
|
|
100
|
+
--vvd-color-alert-300: #fe9696;
|
|
101
|
+
--vvd-color-alert-400: #f75959;
|
|
102
|
+
--vvd-color-alert-500: #e61d1d;
|
|
103
|
+
--vvd-color-alert-600: #cd0d0d;
|
|
104
|
+
--vvd-color-alert-700: #9f0202;
|
|
105
|
+
--vvd-color-alert-800: #6e0000;
|
|
106
|
+
--vvd-color-alert-900: #3e0004;
|
|
107
|
+
--vvd-color-alert-950: #250004;
|
|
108
|
+
--vvd-color-surface-0dp: #ffffff;
|
|
109
|
+
--vvd-color-surface-2dp: #ffffff;
|
|
110
|
+
--vvd-color-surface-4dp: #ffffff;
|
|
111
|
+
--vvd-color-surface-8dp: #ffffff;
|
|
112
|
+
--vvd-color-surface-12dp: #ffffff;
|
|
113
|
+
--vvd-color-surface-16dp: #ffffff;
|
|
114
|
+
--vvd-color-surface-24dp: #ffffff;
|
|
115
|
+
--vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);
|
|
116
|
+
--vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #0000001a) drop-shadow(0px 1px 2px #0000000d) drop-shadow(0px 2px 1px #0000000d);
|
|
117
|
+
--vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #0000001a) drop-shadow(0px 2px 4px #0000000d) drop-shadow(0px 4px 2px #0000000d);
|
|
118
|
+
--vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #0000001a) drop-shadow(0px 8px 8px #0000000d) drop-shadow(0px 4px 4px #0000000d);
|
|
119
|
+
--vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);
|
|
120
|
+
--vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);
|
|
121
|
+
--vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);
|
|
122
|
+
--vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 var(--vvd-font-family-upright, Montserrat);
|
|
123
|
+
--vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 var(--vvd-font-family-upright, Montserrat);
|
|
124
|
+
--vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 var(--vvd-font-family-upright, Montserrat);
|
|
125
|
+
--vvd-typography-heading-2: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2)/1.375 var(--vvd-font-family-upright, Montserrat);
|
|
126
|
+
--vvd-typography-heading-3: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.625)/1.3846153846153846 var(--vvd-font-family-upright, Montserrat);
|
|
127
|
+
--vvd-typography-heading-4: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.25)/1.4 var(--vvd-font-family-upright, Montserrat);
|
|
128
|
+
--vvd-typography-base: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright, Montserrat);
|
|
129
|
+
--vvd-typography-base-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright, Montserrat);
|
|
130
|
+
--vvd-typography-base-code: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 var(--vvd-font-family-monospace, Roboto Mono);
|
|
131
|
+
--vvd-typography-base-condensed: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright, Montserrat);
|
|
132
|
+
--vvd-typography-base-condensed-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright, Montserrat);
|
|
133
|
+
--vvd-typography-base-extended: 400 calc(var(--vvd-size-font-scale-base, 16px))/1.5 var(--vvd-font-family-upright, Montserrat);
|
|
134
|
+
--vvd-typography-base-extended-bold: 600 calc(var(--vvd-size-font-scale-base, 16px))/1.5 var(--vvd-font-family-upright, Montserrat);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.vvd-theme-alternate, ::part(vvd-theme-alternate) {
|
|
138
|
+
--vvd-color-scheme: dark;
|
|
139
|
+
--vvd-color-canvas: #000000;
|
|
140
|
+
--vvd-color-canvas-text: #ffffff;
|
|
141
|
+
--vvd-color-neutral-50: #1a1a1a;
|
|
142
|
+
--vvd-color-neutral-100: #333333;
|
|
143
|
+
--vvd-color-neutral-200: #4d4d4d;
|
|
144
|
+
--vvd-color-neutral-300: #666666;
|
|
145
|
+
--vvd-color-neutral-400: #757575;
|
|
146
|
+
--vvd-color-neutral-500: #929292;
|
|
147
|
+
--vvd-color-neutral-600: #b3b3b3;
|
|
148
|
+
--vvd-color-neutral-700: #cccccc;
|
|
149
|
+
--vvd-color-neutral-800: #E6E6E6;
|
|
150
|
+
--vvd-color-neutral-900: #F2F2F2;
|
|
151
|
+
--vvd-color-neutral-950: #ffffff;
|
|
152
|
+
--vvd-color-cta-50: #26044d;
|
|
153
|
+
--vvd-color-cta-100: #440291;
|
|
154
|
+
--vvd-color-cta-200: #6405d1;
|
|
155
|
+
--vvd-color-cta-300: #871eff;
|
|
156
|
+
--vvd-color-cta-400: #9941ff;
|
|
157
|
+
--vvd-color-cta-500: #b27bf2;
|
|
158
|
+
--vvd-color-cta-600: #cba1fa;
|
|
159
|
+
--vvd-color-cta-700: #dcc1fc;
|
|
160
|
+
--vvd-color-cta-800: #ece2fa;
|
|
161
|
+
--vvd-color-cta-900: #f5f0fd;
|
|
162
|
+
--vvd-color-warning-50: #2A1502;
|
|
163
|
+
--vvd-color-warning-100: #522801;
|
|
164
|
+
--vvd-color-warning-200: #803807;
|
|
165
|
+
--vvd-color-warning-300: #A64C03;
|
|
166
|
+
--vvd-color-warning-400: #be5702;
|
|
167
|
+
--vvd-color-warning-500: #e07902;
|
|
168
|
+
--vvd-color-warning-600: #fa9f00;
|
|
169
|
+
--vvd-color-warning-700: #FACC4B;
|
|
170
|
+
--vvd-color-warning-800: #FDEAA0;
|
|
171
|
+
--vvd-color-warning-900: #FDF5D4;
|
|
172
|
+
--vvd-color-information-50: #071939;
|
|
173
|
+
--vvd-color-information-100: #0e306d;
|
|
174
|
+
--vvd-color-information-200: #094a9e;
|
|
175
|
+
--vvd-color-information-300: #0e65c2;
|
|
176
|
+
--vvd-color-information-400: #0276d5;
|
|
177
|
+
--vvd-color-information-500: #2997f0;
|
|
178
|
+
--vvd-color-information-600: #65baff;
|
|
179
|
+
--vvd-color-information-700: #9dd2fe;
|
|
180
|
+
--vvd-color-information-800: #d3e9fc;
|
|
181
|
+
--vvd-color-information-900: #e8f4fb;
|
|
182
|
+
--vvd-color-announcement-50: #32082c;
|
|
183
|
+
--vvd-color-announcement-100: #620256;
|
|
184
|
+
--vvd-color-announcement-200: #8f1669;
|
|
185
|
+
--vvd-color-announcement-300: #bb1e89;
|
|
186
|
+
--vvd-color-announcement-400: #d6219c;
|
|
187
|
+
--vvd-color-announcement-500: #e560bb;
|
|
188
|
+
--vvd-color-announcement-600: #fb8fd8;
|
|
189
|
+
--vvd-color-announcement-700: #f8b9e7;
|
|
190
|
+
--vvd-color-announcement-800: #ffdcf7;
|
|
191
|
+
--vvd-color-announcement-900: #ffedfb;
|
|
192
|
+
--vvd-color-alert-50: #3e0004;
|
|
193
|
+
--vvd-color-alert-100: #6e0000;
|
|
194
|
+
--vvd-color-alert-200: #9f0202;
|
|
195
|
+
--vvd-color-alert-300: #cd0d0d;
|
|
196
|
+
--vvd-color-alert-400: #e61d1d;
|
|
197
|
+
--vvd-color-alert-500: #f75959;
|
|
198
|
+
--vvd-color-alert-600: #fe9696;
|
|
199
|
+
--vvd-color-alert-700: #ffbbbb;
|
|
200
|
+
--vvd-color-alert-800: #fedfdf;
|
|
201
|
+
--vvd-color-alert-900: #ffeef2;
|
|
202
|
+
--vvd-color-success-50: #0a1e11;
|
|
203
|
+
--vvd-color-success-100: #183a1e;
|
|
204
|
+
--vvd-color-success-200: #155923;
|
|
205
|
+
--vvd-color-success-300: #167629;
|
|
206
|
+
--vvd-color-success-400: #1c8731;
|
|
207
|
+
--vvd-color-success-500: #30a849;
|
|
208
|
+
--vvd-color-success-600: #53ca6a;
|
|
209
|
+
--vvd-color-success-700: #86e090;
|
|
210
|
+
--vvd-color-success-800: #cfeed4;
|
|
211
|
+
--vvd-color-success-900: #e1f8e5;
|
|
212
|
+
--vvd-color-surface-0dp: #0d0d0d;
|
|
213
|
+
--vvd-color-surface-2dp: linear-gradient(#ffffff0f, #ffffff0f), #0d0d0d;
|
|
214
|
+
--vvd-color-surface-4dp: linear-gradient(#ffffff14, #ffffff14), #0d0d0d;
|
|
215
|
+
--vvd-color-surface-8dp: linear-gradient(#ffffff1a, #ffffff1a), #0d0d0d;
|
|
216
|
+
--vvd-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #0d0d0d;
|
|
217
|
+
--vvd-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #0d0d0d;
|
|
218
|
+
--vvd-color-surface-24dp: linear-gradient(#ffffff29, #ffffff29), #0d0d0d;
|
|
219
|
+
--vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);
|
|
220
|
+
--vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #00000040) drop-shadow(0px 1px 2px #00000040) drop-shadow(0px 2px 1px #00000040);
|
|
221
|
+
--vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #00000040) drop-shadow(0px 2px 4px #00000040) drop-shadow(0px 4px 4px #00000040);
|
|
222
|
+
--vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #00000040) drop-shadow(0px 8px 8px #00000040) drop-shadow(0px 4px 4px #00000040);
|
|
223
|
+
--vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);
|
|
224
|
+
--vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);
|
|
225
|
+
--vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/*# sourceMappingURL=theme-light.css.map */
|
package/switch/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { r as registerSwitch } from '../shared/definition39.js';
|
|
2
|
+
import '../shared/index.js';
|
|
3
|
+
import '../shared/definition3.js';
|
|
4
|
+
import '../shared/icon.js';
|
|
5
|
+
import '../shared/to-string.js';
|
|
6
|
+
import '../shared/string-trim.js';
|
|
7
|
+
import '../shared/_has.js';
|
|
8
|
+
import '../shared/class-names.js';
|
|
9
|
+
import '../shared/when.js';
|
|
10
|
+
import '../shared/definition4.js';
|
|
11
|
+
import '../shared/focus.js';
|
|
12
|
+
import '../shared/form-associated.js';
|
|
13
|
+
import '../shared/key-codes.js';
|
|
14
|
+
import '../shared/affix.js';
|
|
15
|
+
import '../shared/focus2.js';
|
|
16
|
+
import '../shared/form-elements.js';
|
|
17
|
+
|
|
18
|
+
registerSwitch();
|
package/tab/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerTab } from '../shared/definition40.js';
|
|
2
|
+
import '../shared/index.js';
|
|
3
|
+
import '../shared/definition3.js';
|
|
4
|
+
import '../shared/icon.js';
|
|
5
|
+
import '../shared/to-string.js';
|
|
6
|
+
import '../shared/string-trim.js';
|
|
7
|
+
import '../shared/_has.js';
|
|
8
|
+
import '../shared/class-names.js';
|
|
9
|
+
import '../shared/when.js';
|
|
10
|
+
import '../shared/definition4.js';
|
|
11
|
+
import '../shared/focus.js';
|
|
12
|
+
import '../shared/affix.js';
|
|
13
|
+
import '../shared/apply-mixins.js';
|
|
14
|
+
import '../shared/focus2.js';
|
|
15
|
+
|
|
16
|
+
registerTab();
|
package/tabs/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { r as registerTabs } from '../shared/definition42.js';
|
|
2
|
+
import '../shared/index.js';
|
|
3
|
+
import '../shared/definition40.js';
|
|
4
|
+
import '../shared/definition3.js';
|
|
5
|
+
import '../shared/icon.js';
|
|
6
|
+
import '../shared/to-string.js';
|
|
7
|
+
import '../shared/string-trim.js';
|
|
8
|
+
import '../shared/_has.js';
|
|
9
|
+
import '../shared/class-names.js';
|
|
10
|
+
import '../shared/when.js';
|
|
11
|
+
import '../shared/definition4.js';
|
|
12
|
+
import '../shared/focus.js';
|
|
13
|
+
import '../shared/affix.js';
|
|
14
|
+
import '../shared/apply-mixins.js';
|
|
15
|
+
import '../shared/focus2.js';
|
|
16
|
+
import '../shared/definition41.js';
|
|
17
|
+
import '../shared/start-end.js';
|
|
18
|
+
import '../shared/ref.js';
|
|
19
|
+
import '../shared/key-codes.js';
|
|
20
|
+
import '../shared/strings.js';
|
|
21
|
+
import '../shared/numbers.js';
|
|
22
|
+
import '../shared/slotted.js';
|
|
23
|
+
|
|
24
|
+
registerTabs();
|
package/text-anchor/index.js
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as registerFactory } from '../shared/index.js';
|
|
2
2
|
import { T as TextAnchor } from '../shared/text-anchor.js';
|
|
3
3
|
import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
|
|
4
4
|
import '../shared/affix.js';
|
|
5
|
-
import '../shared/web.dom-collections.iterator.js';
|
|
6
|
-
import '../shared/object-set-prototype-of.js';
|
|
7
5
|
import '../shared/icon.js';
|
|
6
|
+
import '../shared/to-string.js';
|
|
7
|
+
import '../shared/string-trim.js';
|
|
8
8
|
import '../shared/_has.js';
|
|
9
9
|
import '../shared/anchor.js';
|
|
10
10
|
import '../shared/apply-mixins.js';
|
|
11
11
|
import '../shared/aria-global.js';
|
|
12
|
+
import '../shared/start-end.js';
|
|
13
|
+
import '../shared/ref.js';
|
|
14
|
+
import '../shared/focus2.js';
|
|
15
|
+
import '../shared/focus.js';
|
|
12
16
|
import '../shared/class-names.js';
|
|
13
17
|
|
|
14
|
-
const
|
|
18
|
+
const textAnchorDefinition = TextAnchor.compose({
|
|
15
19
|
baseName: 'text-anchor',
|
|
16
20
|
template: textAnchorTemplate
|
|
17
21
|
});
|
|
18
|
-
|
|
22
|
+
const textAnchorRegistries = [textAnchorDefinition()];
|
|
23
|
+
const registerTextAnchor = registerFactory(textAnchorRegistries);
|
|
19
24
|
|
|
20
|
-
|
|
25
|
+
registerTextAnchor();
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { r as registerTextArea } from '../shared/definition43.js';
|
|
2
|
+
import '../shared/index.js';
|
|
3
|
+
import '../shared/definition3.js';
|
|
4
|
+
import '../shared/icon.js';
|
|
5
|
+
import '../shared/to-string.js';
|
|
6
|
+
import '../shared/string-trim.js';
|
|
7
|
+
import '../shared/_has.js';
|
|
8
|
+
import '../shared/class-names.js';
|
|
9
|
+
import '../shared/when.js';
|
|
10
|
+
import '../shared/definition4.js';
|
|
11
|
+
import '../shared/focus.js';
|
|
12
|
+
import '../shared/affix.js';
|
|
13
|
+
import '../shared/form-elements.js';
|
|
14
|
+
import '../shared/text-field2.js';
|
|
15
|
+
import '../shared/apply-mixins.js';
|
|
16
|
+
import '../shared/form-associated.js';
|
|
17
|
+
import '../shared/key-codes.js';
|
|
18
|
+
import '../shared/aria-global.js';
|
|
19
|
+
import '../shared/start-end.js';
|
|
20
|
+
import '../shared/ref.js';
|
|
21
|
+
import '../shared/focus2.js';
|
|
22
|
+
|
|
23
|
+
registerTextArea();
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { r as registerTextField } from '../shared/definition44.js';
|
|
2
|
+
import '../shared/index.js';
|
|
3
|
+
import '../shared/definition4.js';
|
|
4
|
+
import '../shared/focus.js';
|
|
5
|
+
import '../shared/definition3.js';
|
|
6
|
+
import '../shared/icon.js';
|
|
7
|
+
import '../shared/to-string.js';
|
|
8
|
+
import '../shared/string-trim.js';
|
|
9
|
+
import '../shared/_has.js';
|
|
10
|
+
import '../shared/class-names.js';
|
|
11
|
+
import '../shared/when.js';
|
|
12
|
+
import '../shared/affix.js';
|
|
13
|
+
import '../shared/form-elements.js';
|
|
14
|
+
import '../shared/text-field2.js';
|
|
15
|
+
import '../shared/apply-mixins.js';
|
|
16
|
+
import '../shared/form-associated.js';
|
|
17
|
+
import '../shared/key-codes.js';
|
|
18
|
+
import '../shared/aria-global.js';
|
|
19
|
+
import '../shared/start-end.js';
|
|
20
|
+
import '../shared/ref.js';
|
|
21
|
+
import '../shared/text-field.js';
|
|
22
|
+
import '../shared/focus2.js';
|
|
23
|
+
|
|
24
|
+
registerTextField();
|
package/tooltip/index.js
CHANGED
|
@@ -1,63 +1,26 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import '../shared/
|
|
5
|
-
import
|
|
6
|
-
import '../elevation/index.js';
|
|
7
|
-
import '../button/index.js';
|
|
8
|
-
import '../icon/index.js';
|
|
1
|
+
import { r as registerTooltip } from '../shared/definition45.js';
|
|
2
|
+
import '../shared/index.js';
|
|
3
|
+
import '../shared/definition18.js';
|
|
4
|
+
import '../shared/definition9.js';
|
|
5
|
+
import '../shared/definition3.js';
|
|
9
6
|
import '../shared/icon.js';
|
|
10
|
-
import '../shared/
|
|
7
|
+
import '../shared/to-string.js';
|
|
8
|
+
import '../shared/string-trim.js';
|
|
11
9
|
import '../shared/_has.js';
|
|
10
|
+
import '../shared/class-names.js';
|
|
12
11
|
import '../shared/when.js';
|
|
13
|
-
import '../shared/
|
|
12
|
+
import '../shared/definition4.js';
|
|
13
|
+
import '../shared/focus.js';
|
|
14
14
|
import '../shared/affix.js';
|
|
15
|
+
import '../shared/button.js';
|
|
15
16
|
import '../shared/apply-mixins.js';
|
|
17
|
+
import '../shared/form-associated.js';
|
|
18
|
+
import '../shared/key-codes.js';
|
|
16
19
|
import '../shared/aria-global.js';
|
|
20
|
+
import '../shared/start-end.js';
|
|
21
|
+
import '../shared/ref.js';
|
|
22
|
+
import '../shared/focus2.js';
|
|
23
|
+
import '../shared/definition15.js';
|
|
17
24
|
import '../shared/es.object.assign.js';
|
|
18
25
|
|
|
19
|
-
|
|
20
|
-
styleInject(css_248z);
|
|
21
|
-
|
|
22
|
-
class Tooltip extends FoundationElement {
|
|
23
|
-
constructor() {
|
|
24
|
-
super(...arguments);
|
|
25
|
-
this.open = false;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "text", void 0);
|
|
31
|
-
|
|
32
|
-
__decorate([attr({
|
|
33
|
-
mode: 'boolean'
|
|
34
|
-
}), __metadata("design:type", Object)], Tooltip.prototype, "open", void 0);
|
|
35
|
-
|
|
36
|
-
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "corner", void 0);
|
|
37
|
-
|
|
38
|
-
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "anchor", void 0);
|
|
39
|
-
|
|
40
|
-
let _2 = t => t,
|
|
41
|
-
_t;
|
|
42
|
-
|
|
43
|
-
const getClasses = _ => classNames('control');
|
|
44
|
-
|
|
45
|
-
const TooltipTemplate = () => html(_t || (_t = _2`
|
|
46
|
-
<vwc-popup class="${0}" arrow alternate="true"
|
|
47
|
-
corner=${0} open=${0} anchor=${0}
|
|
48
|
-
exportparts="vvd-theme-alternate">
|
|
49
|
-
<div class="tooltip">
|
|
50
|
-
<header part="vvd-theme-alternate" class="tooltip-header">
|
|
51
|
-
<div class="tooltip-text">${0}</div>
|
|
52
|
-
</header>
|
|
53
|
-
</div>
|
|
54
|
-
</vwc-popup>`), getClasses, x => x.corner, x => x.open, x => x.anchor, x => x.text);
|
|
55
|
-
|
|
56
|
-
const vividTooltip = Tooltip.compose({
|
|
57
|
-
baseName: 'tooltip',
|
|
58
|
-
template: TooltipTemplate,
|
|
59
|
-
styles: css_248z
|
|
60
|
-
});
|
|
61
|
-
designSystem.register(vividTooltip());
|
|
62
|
-
|
|
63
|
-
export { vividTooltip };
|
|
26
|
+
registerTooltip();
|
package/lib/text/index.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare const vividText: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
package/lib/text/text.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Connotation } from '../enums.js';
|
|
3
|
-
import type { VVDFontFace } from '../../../../../node_modules/@vonage/vivid-tokens/dist/types/typography/font-faces';
|
|
4
|
-
declare type TextConnotation = Extract<Connotation, Connotation.Primary | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Announcement | Connotation.Info>;
|
|
5
|
-
export declare class Text extends FoundationElement {
|
|
6
|
-
connotation?: TextConnotation;
|
|
7
|
-
fontFace?: VVDFontFace;
|
|
8
|
-
tight: boolean;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
package/shared/index2.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { F as FoundationElement, h as html, d as designSystem } from './index.js';
|
|
2
|
-
import { s as styleInject } from './style-inject.es.js';
|
|
3
|
-
|
|
4
|
-
class Focus extends FoundationElement {}
|
|
5
|
-
|
|
6
|
-
var css_248z = ":host {\n display: contents;\n border-radius: inherit;\n}\n\n.control {\n position: absolute;\n box-sizing: border-box;\n border-radius: inherit;\n box-shadow: inset 0 0 0 2px var(--focus-stroke-color, var(--vvd-color-on-canvas)), inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);\n inset: 0;\n}";
|
|
7
|
-
styleInject(css_248z);
|
|
8
|
-
|
|
9
|
-
let _ = t => t,
|
|
10
|
-
_t;
|
|
11
|
-
const focusTemplate = () => html(_t || (_t = _`
|
|
12
|
-
<span class="control"></span>`));
|
|
13
|
-
|
|
14
|
-
const VIVIDFocus = Focus.compose({
|
|
15
|
-
baseName: 'focus',
|
|
16
|
-
template: focusTemplate,
|
|
17
|
-
styles: css_248z
|
|
18
|
-
});
|
|
19
|
-
designSystem.register(VIVIDFocus());
|
|
20
|
-
|
|
21
|
-
export { Focus as F, VIVIDFocus as V };
|