@vonage/vivid 3.0.0-next.8 → 3.0.0-next.81

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.
Files changed (177) hide show
  1. package/README.md +141 -4
  2. package/accordion/index.js +2 -4
  3. package/accordion-item/index.js +26 -20
  4. package/action-group/index.js +47 -0
  5. package/avatar/index.js +70 -0
  6. package/badge/index.js +17 -21
  7. package/banner/index.js +23 -87
  8. package/breadcrumb/index.js +21 -18
  9. package/breadcrumb-item/index.js +19 -12
  10. package/button/index.js +19 -757
  11. package/calendar/index.js +67 -25
  12. package/calendar-event/index.js +115 -0
  13. package/card/index.js +132 -0
  14. package/checkbox/index.js +184 -0
  15. package/dialog/index.js +281 -0
  16. package/divider/index.js +3 -0
  17. package/elevation/index.js +3 -31
  18. package/fab/index.js +105 -0
  19. package/focus/index.js +18 -3
  20. package/header/index.js +66 -0
  21. package/icon/index.js +9 -5
  22. package/index.js +53 -20
  23. package/layout/index.js +4 -6
  24. package/lib/accordion-item/accordion-item.d.ts +2 -2
  25. package/lib/accordion-item/index.d.ts +2 -1
  26. package/lib/action-group/action-group.d.ts +10 -0
  27. package/lib/{sidenav-item/sidenav-item.template.d.ts → action-group/action-group.template.d.ts} +2 -2
  28. package/lib/{sidenav-item → action-group}/index.d.ts +1 -2
  29. package/lib/avatar/avatar.d.ts +15 -0
  30. package/lib/avatar/avatar.template.d.ts +4 -0
  31. package/lib/avatar/index.d.ts +3 -0
  32. package/lib/badge/badge.d.ts +5 -5
  33. package/lib/badge/index.d.ts +1 -1
  34. package/lib/banner/banner.d.ts +1 -1
  35. package/lib/banner/banner.template.d.ts +0 -2
  36. package/lib/banner/index.d.ts +1 -0
  37. package/lib/breadcrumb/breadcrumb.template.d.ts +4 -0
  38. package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  39. package/lib/breadcrumb-item/index.d.ts +1 -0
  40. package/lib/button/button.d.ts +6 -5
  41. package/lib/button/index.d.ts +2 -19
  42. package/lib/calendar/calendar.d.ts +3 -1
  43. package/lib/calendar/index.d.ts +0 -1
  44. package/lib/calendar-event/calendar-event.d.ts +14 -0
  45. package/lib/calendar-event/calendar-event.template.d.ts +4 -0
  46. package/lib/calendar-event/index.d.ts +2 -0
  47. package/lib/card/card.d.ts +10 -0
  48. package/lib/{text/text.template.d.ts → card/card.template.d.ts} +2 -2
  49. package/lib/card/index.d.ts +4 -0
  50. package/lib/checkbox/checkbox.d.ts +5 -0
  51. package/lib/checkbox/checkbox.template.d.ts +4 -0
  52. package/lib/checkbox/index.d.ts +4 -0
  53. package/lib/components.d.ts +27 -10
  54. package/lib/dialog/dialog.d.ts +20 -0
  55. package/lib/dialog/dialog.template.d.ts +4 -0
  56. package/lib/dialog/index.d.ts +5 -0
  57. package/lib/divider/divider.d.ts +3 -0
  58. package/lib/divider/divider.template.d.ts +4 -0
  59. package/lib/divider/index.d.ts +2 -0
  60. package/lib/elevation/elevation.d.ts +1 -0
  61. package/lib/elevation/index.d.ts +1 -1
  62. package/lib/enums.d.ts +11 -6
  63. package/lib/fab/fab.d.ts +13 -0
  64. package/lib/fab/fab.template.d.ts +4 -0
  65. package/lib/fab/index.d.ts +4 -0
  66. package/lib/focus/index.d.ts +1 -1
  67. package/lib/header/header.d.ts +5 -0
  68. package/lib/header/header.template.d.ts +4 -0
  69. package/lib/header/index.d.ts +3 -0
  70. package/lib/icon/icon.d.ts +4 -3
  71. package/lib/layout/index.d.ts +1 -1
  72. package/lib/layout/layout.d.ts +3 -3
  73. package/lib/menu/index.d.ts +12 -0
  74. package/lib/menu/menu.d.ts +10 -0
  75. package/lib/menu/menu.template.d.ts +3 -0
  76. package/lib/menu-item/index.d.ts +3 -0
  77. package/lib/menu-item/menu-item.d.ts +7 -0
  78. package/lib/menu-item/menu-item.template.d.ts +5 -0
  79. package/lib/nav/index.d.ts +2 -0
  80. package/lib/nav/nav.d.ts +3 -0
  81. package/lib/nav/nav.template.d.ts +4 -0
  82. package/lib/nav-disclosure/index.d.ts +4 -0
  83. package/lib/nav-disclosure/nav-disclosure.d.ts +10 -0
  84. package/lib/nav-disclosure/nav-disclosure.template.d.ts +4 -0
  85. package/lib/nav-item/index.d.ts +4 -0
  86. package/lib/{sidenav-item/sidenav-item.d.ts → nav-item/nav-item.d.ts} +2 -2
  87. package/lib/nav-item/nav-item.template.d.ts +4 -0
  88. package/lib/{text → note}/index.d.ts +1 -1
  89. package/lib/note/note.d.ts +10 -0
  90. package/lib/note/note.template.d.ts +5 -0
  91. package/lib/number-field/index.d.ts +4 -0
  92. package/lib/number-field/number-field.d.ts +16 -0
  93. package/lib/number-field/number-field.template.d.ts +4 -0
  94. package/lib/popup/index.d.ts +1 -1
  95. package/lib/popup/popup.d.ts +2 -1
  96. package/lib/progress/progress.d.ts +1 -1
  97. package/lib/progress-ring/progress-ring.d.ts +2 -1
  98. package/lib/radio/index.d.ts +3 -0
  99. package/lib/radio/radio.d.ts +4 -0
  100. package/lib/radio/radio.template.d.ts +4 -0
  101. package/lib/side-drawer/index.d.ts +1 -1
  102. package/lib/side-drawer/side-drawer.d.ts +3 -2
  103. package/lib/text-anchor/text-anchor.d.ts +1 -1
  104. package/lib/text-area/index.d.ts +4 -0
  105. package/lib/text-area/text-area.d.ts +9 -0
  106. package/lib/text-area/text-area.template.d.ts +4 -0
  107. package/lib/text-field/index.d.ts +4 -0
  108. package/lib/text-field/text-field.d.ts +16 -0
  109. package/lib/text-field/text-field.template.d.ts +5 -0
  110. package/lib/tooltip/tooltip.d.ts +2 -2
  111. package/menu/index.js +381 -0
  112. package/menu-item/index.js +19 -0
  113. package/nav/index.js +17 -0
  114. package/nav-disclosure/index.js +88 -0
  115. package/nav-item/index.js +45 -0
  116. package/note/index.js +66 -0
  117. package/number-field/index.js +517 -0
  118. package/package.json +51 -7
  119. package/popup/index.js +23 -2061
  120. package/progress/index.js +35 -28
  121. package/progress-ring/index.js +9 -5
  122. package/radio/index.js +174 -0
  123. package/shared/anchor.js +10 -2
  124. package/shared/aria-global.js +2 -86
  125. package/shared/base-progress.js +5 -0
  126. package/shared/breadcrumb-item.js +1 -1
  127. package/shared/button.js +200 -0
  128. package/shared/calendar-event.js +26 -0
  129. package/shared/dialog-polyfill.esm.js +858 -0
  130. package/shared/enums.js +79 -0
  131. package/shared/es.object.assign.js +7 -6
  132. package/shared/export.js +995 -0
  133. package/shared/focus.js +5 -0
  134. package/shared/focus2.js +11 -0
  135. package/shared/form-associated.js +466 -0
  136. package/shared/form-elements.js +353 -0
  137. package/shared/icon.js +533 -520
  138. package/shared/index.js +71 -55
  139. package/shared/index2.js +110 -13
  140. package/shared/index3.js +35 -0
  141. package/shared/index4.js +86 -0
  142. package/shared/index5.js +2100 -0
  143. package/shared/index6.js +371 -0
  144. package/shared/iterators.js +61 -0
  145. package/shared/key-codes.js +90 -0
  146. package/shared/object-keys.js +13 -0
  147. package/shared/patterns/focus.d.ts +3 -0
  148. package/shared/patterns/form-elements/form-elements.d.ts +28 -0
  149. package/shared/patterns/form-elements/index.d.ts +1 -0
  150. package/shared/patterns/index.d.ts +2 -0
  151. package/shared/ref.js +41 -0
  152. package/shared/regexp-flags.js +21 -0
  153. package/shared/start-end.js +50 -0
  154. package/shared/text-anchor.js +2 -11
  155. package/shared/text-anchor.template.js +5 -2
  156. package/shared/to-string.js +51 -0
  157. package/shared/web.dom-collections.iterator.js +78 -1083
  158. package/side-drawer/index.js +44 -23
  159. package/styles/core/all.css +75 -0
  160. package/styles/core/theme.css +11 -0
  161. package/styles/core/typography.css +69 -0
  162. package/styles/fonts/SpeziaCompleteVariableItalicWeb.woff2 +0 -0
  163. package/styles/fonts/SpeziaCompleteVariableUprightWeb.woff2 +0 -0
  164. package/styles/fonts/SpeziaMonoCompleteVariableWeb.woff2 +0 -0
  165. package/styles/fonts/spezia.css +9 -12
  166. package/styles/tokens/theme-dark.css +211 -0
  167. package/styles/tokens/theme-light.css +211 -0
  168. package/text-anchor/index.js +9 -1
  169. package/text-area/index.js +294 -0
  170. package/text-field/index.js +141 -0
  171. package/tooltip/index.js +23 -16
  172. package/lib/text/text.d.ts +0 -10
  173. package/shared/style-inject.es.js +0 -28
  174. package/sidenav-item/index.js +0 -38
  175. package/styles/themes/dark.css +0 -205
  176. package/styles/themes/light.css +0 -205
  177. package/text/index.js +0 -45
@@ -0,0 +1,281 @@
1
+ import '../icon/index.js';
2
+ import '../shared/index2.js';
3
+ import '../shared/index3.js';
4
+ import { F as FoundationElement, c as __classPrivateFieldGet, i as __classPrivateFieldSet, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
5
+ import '../shared/icon.js';
6
+ import '../shared/web.dom-collections.iterator.js';
7
+ import { w as when } from '../shared/when.js';
8
+ import { c as classNames } from '../shared/class-names.js';
9
+ import '../shared/export.js';
10
+ import '../shared/iterators.js';
11
+ import '../shared/to-string.js';
12
+ import '../shared/_has.js';
13
+ import '../focus/index.js';
14
+ import '../shared/focus.js';
15
+ import '../shared/affix.js';
16
+ import '../shared/button.js';
17
+ import '../shared/apply-mixins.js';
18
+ import '../shared/form-associated.js';
19
+ import '../shared/key-codes.js';
20
+ import '../shared/aria-global.js';
21
+ import '../shared/start-end.js';
22
+ import '../shared/ref.js';
23
+ import '../shared/focus2.js';
24
+ import '../shared/object-keys.js';
25
+
26
+ var css_248z$1 = "dialog {\n position: absolute;\n left: 0; right: 0;\n width: -moz-fit-content;\n width: -webkit-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: -webkit-fit-content;\n height: fit-content;\n margin: auto;\n border: solid;\n padding: 1em;\n background: white;\n color: black;\n display: block;\n}\n\ndialog:not([open]) {\n display: none;\n}\n\ndialog + .backdrop {\n position: fixed;\n top: 0; right: 0; bottom: 0; left: 0;\n background: rgba(0,0,0,0.1);\n}\n\n._dialog_overlay {\n position: fixed;\n top: 0; right: 0; bottom: 0; left: 0;\n}\n\ndialog.fixed {\n position: fixed;\n top: 50%;\n transform: translate(0, -50%);\n}";
27
+
28
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 24 Oct 2022 13:21:54 GMT\n */\n.base {\n box-sizing: border-box;\n padding: 0;\n border: none;\n background: var(--_elevation-fill);\n border-radius: 6px;\n color: var(--vvd-color-canvas-text);\n max-block-size: var(--dialog-max-block-size, calc(100vh - 64px));\n max-inline-size: var(--dialog-max-inline-size);\n min-inline-size: var(--dialog-min-inline-size, 280px);\n overflow-x: hidden;\n overflow-y: auto;\n}\n@media not all and (min-width: 600px) {\n .base {\n --dialog-max-inline-size: 90vw;\n }\n}\n@media (min-width: 600px) {\n .base {\n --dialog-max-inline-size: 560px;\n }\n}\n.base:not(.modal) {\n z-index: var(--dialog-z-index, 1);\n}\n\n.main-wrapper {\n display: flex;\n flex-direction: column;\n padding: 24px;\n gap: 8px;\n}\n\n.header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 4px;\n inline-size: 100%;\n}\n\n.dismiss-button {\n flex-shrink: 0;\n margin-top: -8px;\n margin-right: -8px;\n}\n\n.headline {\n font: var(--vvd-font-heading4);\n}\n.headline-wrapper {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n row-gap: 24px;\n}\n\n.content {\n font: var(--vvd-font-base);\n}";
29
+
30
+ var _Dialog_instances, _Dialog_modal, _Dialog_dialogElement, _Dialog_dialog_get, _Dialog_handleScrimClick, _Dialog_handleInternalFormSubmit, _Dialog_handleModal;
31
+ let dialogPolyfill;
32
+
33
+ (async () => {
34
+ if (!HTMLDialogElement || !HTMLDialogElement.prototype.showModal) {
35
+ delete window.HTMLDialogElement;
36
+ dialogPolyfill = await import('../shared/dialog-polyfill.esm.js');
37
+ }
38
+ })();
39
+
40
+ class Dialog extends FoundationElement {
41
+ constructor() {
42
+ super(...arguments);
43
+
44
+ _Dialog_instances.add(this);
45
+
46
+ this.open = false;
47
+ this.ariaLabelledBy = null;
48
+ this.ariaLabel = null;
49
+ this.ariaDescribedBy = null;
50
+
51
+ _Dialog_modal.set(this, false);
52
+
53
+ _Dialog_dialogElement.set(this, void 0);
54
+
55
+ _Dialog_handleScrimClick.set(this, event => {
56
+ if (event.target !== __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get)) {
57
+ return;
58
+ }
59
+
60
+ const rect = __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).getBoundingClientRect();
61
+
62
+ const clickedInDialog = rect.top <= event.clientY && event.clientY <= rect.top + rect.height && rect.left <= event.clientX && event.clientX <= rect.left + rect.width;
63
+ this.open = clickedInDialog;
64
+ });
65
+
66
+ _Dialog_handleInternalFormSubmit.set(this, event => {
67
+ if (event.target.method !== 'dialog') {
68
+ return;
69
+ }
70
+
71
+ this.open = false;
72
+ });
73
+ }
74
+
75
+ set returnValue(value) {
76
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).returnValue = value;
77
+ }
78
+
79
+ get returnValue() {
80
+ var _a;
81
+
82
+ return (_a = __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get)) === null || _a === void 0 ? void 0 : _a.returnValue;
83
+ }
84
+
85
+ get modal() {
86
+ return __classPrivateFieldGet(this, _Dialog_modal, "f");
87
+ }
88
+
89
+ openChanged(oldValue, newValue) {
90
+ if (oldValue === undefined) {
91
+ return;
92
+ }
93
+
94
+ if (!newValue) {
95
+ this.close();
96
+ } else {
97
+ if (__classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get)) {
98
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).open = true;
99
+ }
100
+ }
101
+ }
102
+
103
+ close() {
104
+ if (__classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).open) {
105
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).close();
106
+
107
+ this.dispatchEvent(new CustomEvent('close', {
108
+ bubbles: true,
109
+ composed: true,
110
+ detail: this.returnValue
111
+ }));
112
+ }
113
+
114
+ this.open = false;
115
+
116
+ __classPrivateFieldGet(this, _Dialog_instances, "m", _Dialog_handleModal).call(this, false);
117
+ }
118
+
119
+ show() {
120
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).show();
121
+
122
+ this.open = true;
123
+ }
124
+
125
+ showModal() {
126
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).showModal();
127
+
128
+ this.open = true;
129
+
130
+ __classPrivateFieldGet(this, _Dialog_instances, "m", _Dialog_handleModal).call(this, true);
131
+ }
132
+
133
+ connectedCallback() {
134
+ super.connectedCallback();
135
+
136
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).addEventListener('click', __classPrivateFieldGet(this, _Dialog_handleScrimClick, "f"));
137
+
138
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).addEventListener('submit', __classPrivateFieldGet(this, _Dialog_handleInternalFormSubmit, "f"));
139
+ }
140
+
141
+ disconnectedCallback() {
142
+ super.disconnectedCallback();
143
+
144
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).removeEventListener('click', __classPrivateFieldGet(this, _Dialog_handleScrimClick, "f"));
145
+
146
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).removeEventListener('submit', __classPrivateFieldGet(this, _Dialog_handleInternalFormSubmit, "f"));
147
+ }
148
+
149
+ }
150
+ _Dialog_modal = new WeakMap(), _Dialog_dialogElement = new WeakMap(), _Dialog_handleScrimClick = new WeakMap(), _Dialog_handleInternalFormSubmit = new WeakMap(), _Dialog_instances = new WeakSet(), _Dialog_dialog_get = function _Dialog_dialog_get() {
151
+ if (!__classPrivateFieldGet(this, _Dialog_dialogElement, "f")) {
152
+ __classPrivateFieldSet(this, _Dialog_dialogElement, this.shadowRoot.querySelector('dialog'), "f");
153
+
154
+ if (__classPrivateFieldGet(this, _Dialog_dialogElement, "f")) {
155
+ __classPrivateFieldGet(this, _Dialog_dialogElement, "f").open = this.open;
156
+
157
+ if (dialogPolyfill) {
158
+ dialogPolyfill.registerDialog(__classPrivateFieldGet(this, _Dialog_dialogElement, "f"));
159
+ }
160
+ }
161
+ }
162
+
163
+ return __classPrivateFieldGet(this, _Dialog_dialogElement, "f");
164
+ }, _Dialog_handleModal = function _Dialog_handleModal(show) {
165
+ __classPrivateFieldSet(this, _Dialog_modal, show, "f");
166
+
167
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).toggleAttribute('aria-modal', show);
168
+
169
+ __classPrivateFieldGet(this, _Dialog_instances, "a", _Dialog_dialog_get).classList.toggle('modal', show);
170
+ };
171
+
172
+ __decorate([attr({
173
+ mode: 'boolean'
174
+ }), __metadata("design:type", Object)], Dialog.prototype, "open", void 0);
175
+
176
+ __decorate([attr, __metadata("design:type", String)], Dialog.prototype, "icon", void 0);
177
+
178
+ __decorate([attr, __metadata("design:type", String)], Dialog.prototype, "text", void 0);
179
+
180
+ __decorate([attr, __metadata("design:type", String)], Dialog.prototype, "headline", void 0);
181
+
182
+ __decorate([attr({
183
+ attribute: 'aria-labelledby'
184
+ }), __metadata("design:type", Object)], Dialog.prototype, "ariaLabelledBy", void 0);
185
+
186
+ __decorate([attr({
187
+ attribute: 'aria-label'
188
+ }), __metadata("design:type", Object)], Dialog.prototype, "ariaLabel", void 0);
189
+
190
+ __decorate([attr({
191
+ attribute: 'aria-describedby'
192
+ }), __metadata("design:type", Object)], Dialog.prototype, "ariaDescribedBy", void 0);
193
+
194
+ let _2 = t => t,
195
+ _t,
196
+ _t2,
197
+ _t3,
198
+ _t4,
199
+ _t5;
200
+
201
+ const getClasses = _ => classNames('base');
202
+
203
+ function icon() {
204
+ return html(_t || (_t = _2`
205
+ <vwc-icon class="icon" size="large" type="${0}"></vwc-icon>
206
+ `), x => x.icon);
207
+ }
208
+
209
+ function headline() {
210
+ return html(_t2 || (_t2 = _2`
211
+ <div class="headline">
212
+ ${0}
213
+ </div>
214
+ `), x => x.headline);
215
+ }
216
+
217
+ function renderDismissButton() {
218
+ return html(_t3 || (_t3 = _2`
219
+ <vwc-button
220
+ density="condensed"
221
+ class="dismiss-button"
222
+ icon="close-line"
223
+ @click="${0}">
224
+ </vwc-button>`), x => {
225
+ x.open = false;
226
+ });
227
+ }
228
+
229
+ function handleEscapeKey(dialog, event) {
230
+ if (event.key === 'Escape' && dialog.modal) {
231
+ dialog.open = false;
232
+ }
233
+ }
234
+
235
+ function content() {
236
+ return html(_t4 || (_t4 = _2`
237
+ <div class="content">
238
+ ${0}
239
+ </div>
240
+ `), x => x.text);
241
+ }
242
+
243
+ const DialogTemplate = () => html(_t5 || (_t5 = _2`
244
+ <vwc-elevation dp="12">
245
+ <div>
246
+ <dialog class="${0}"
247
+ @keydown="${0}"
248
+ returnValue="${0}"
249
+ aria-labelledby="${0}"
250
+ aria-label="${0}"
251
+ aria-describedby="${0}"
252
+ >
253
+ <slot name="main">
254
+ <div class="main-wrapper">
255
+ <div class="header">
256
+ <div class="headline-wrapper">
257
+ <slot name="graphic">
258
+ ${0}
259
+ </slot>
260
+ ${0}
261
+ </div>
262
+ ${0}
263
+ </div>
264
+ <slot name="content">
265
+ ${0}
266
+ </slot>
267
+ <slot name="footer"></slot>
268
+ </div>
269
+ </slot>
270
+ </dialog>
271
+ </div>
272
+ </vwc-elevation>`), getClasses, (x, c) => handleEscapeKey(x, c.event), x => x.returnValue, x => x.ariaLabelledBy, x => x.ariaLabel, x => x.ariaDescribedBy, when(x => x.icon, icon()), when(x => x.headline, headline()), renderDismissButton(), when(x => x.text, content()));
273
+
274
+ const vividDialog = Dialog.compose({
275
+ baseName: 'dialog',
276
+ template: DialogTemplate,
277
+ styles: [css_248z, css_248z$1]
278
+ });
279
+ designSystem.register(vividDialog());
280
+
281
+ export { vividDialog };
@@ -0,0 +1,3 @@
1
+ import '../shared/index.js';
2
+ export { v as vividDivider } from '../shared/index4.js';
3
+ import '../shared/class-names.js';
@@ -1,31 +1,3 @@
1
- import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
2
- import { s as styleInject } from '../shared/style-inject.es.js';
3
- import { c as classNames } from '../shared/class-names.js';
4
-
5
- class Elevation extends FoundationElement {}
6
-
7
- __decorate([attr, __metadata("design:type", Number)], Elevation.prototype, "dp", void 0);
8
-
9
- var css_248z = ".control.dp-0 ::slotted(*) {\n background-color: var(--vvd-color-surface-0dp);\n filter: var(--vvd-shadow-surface-0dp);\n}\n.control.dp-2 ::slotted(*) {\n background-color: var(--vvd-color-surface-2dp);\n filter: var(--vvd-shadow-surface-2dp);\n}\n.control.dp-4 ::slotted(*) {\n background-color: var(--vvd-color-surface-4dp);\n filter: var(--vvd-shadow-surface-4dp);\n}\n.control.dp-8 ::slotted(*) {\n background-color: var(--vvd-color-surface-8dp);\n filter: var(--vvd-shadow-surface-8dp);\n}\n.control.dp-12 ::slotted(*) {\n background-color: var(--vvd-color-surface-12dp);\n filter: var(--vvd-shadow-surface-12dp);\n}\n.control.dp-16 ::slotted(*) {\n background-color: var(--vvd-color-surface-16dp);\n filter: var(--vvd-shadow-surface-16dp);\n}\n.control.dp-24 ::slotted(*) {\n background-color: var(--vvd-color-surface-24dp);\n filter: var(--vvd-shadow-surface-24dp);\n}\n.control:not(.dp-0, .dp-4, .dp-8, .dp-12, .dp-16, .dp-24) ::slotted(*) {\n background-color: var(--vvd-color-surface-2dp);\n filter: var(--vvd-shadow-surface-2dp);\n}";
10
- styleInject(css_248z);
11
-
12
- let _ = t => t,
13
- _t;
14
-
15
- const getClasses = ({
16
- dp
17
- }) => classNames('control', [`dp-${dp}`, Boolean(dp)]);
18
-
19
- const elevationTemplate = () => html(_t || (_t = _`
20
- <div class="${0}" part="base">
21
- <slot></slot>
22
- </div>`), getClasses);
23
-
24
- const VIVIDElevation = Elevation.compose({
25
- baseName: 'elevation',
26
- template: elevationTemplate,
27
- styles: css_248z
28
- });
29
- designSystem.register(VIVIDElevation());
30
-
31
- export { VIVIDElevation };
1
+ import '../shared/index.js';
2
+ export { v as vividElevation } from '../shared/index3.js';
3
+ import '../shared/class-names.js';
package/fab/index.js ADDED
@@ -0,0 +1,105 @@
1
+ import '../icon/index.js';
2
+ import '../focus/index.js';
3
+ import { _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
4
+ import { A as AffixIconWithTrailing, a as affixIconTemplateFactory } from '../shared/affix.js';
5
+ import { B as Button } from '../shared/button.js';
6
+ import { a as applyMixins } from '../shared/apply-mixins.js';
7
+ import { f as focusTemplateFactory } from '../shared/focus2.js';
8
+ import { r as ref } from '../shared/ref.js';
9
+ import { c as classNames } from '../shared/class-names.js';
10
+ import '../shared/icon.js';
11
+ import '../shared/export.js';
12
+ import '../shared/iterators.js';
13
+ import '../shared/to-string.js';
14
+ import '../shared/_has.js';
15
+ import '../shared/when.js';
16
+ import '../shared/focus.js';
17
+ import '../shared/web.dom-collections.iterator.js';
18
+ import '../shared/object-keys.js';
19
+ import '../shared/form-associated.js';
20
+ import '../shared/key-codes.js';
21
+ import '../shared/aria-global.js';
22
+ import '../shared/start-end.js';
23
+
24
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 24 Oct 2022 13:21:54 GMT\n */\n.control {\n position: relative;\n display: inline-flex;\n box-sizing: border-box;\n align-items: center;\n border: 0 none;\n background: var(--_appearance-color-fill, var(--_elevation-fill));\n block-size: var(--_fab-block-size);\n border-radius: var(--_fab-border-radius);\n color: var(--_appearance-color-text, var(--vvd-color-canvas-text));\n column-gap: var(--fab-icon-gap);\n filter: var(--_elevation-shadow);\n font: var(--vvd-font-base-bold);\n transition: background-color 0.15s linear, filter 0.15s linear;\n vertical-align: middle;\n /* Size */\n}\n.control.connotation-accent {\n --_connotation-color-primary: var(--vvd-color-canvas-text);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-primary-increment: var(--vvd-color-neutral-800);\n --_connotation-color-contrast: var(--vvd-color-neutral-800);\n --_connotation-color-fierce: var(--vvd-color-neutral-700);\n --_connotation-color-firm: var(--vvd-color-canvas-text);\n}\n.control.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta-500);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-primary-increment: var(--vvd-color-cta-600);\n --_connotation-color-contrast: var(--vvd-color-cta-800);\n --_connotation-color-fierce: var(--vvd-color-cta-700);\n --_connotation-color-firm: var(--vvd-color-cta-600);\n}\n.control {\n --_appearance-color-text: var(--_connotation-color-primary-text);\n --_appearance-color-fill: var(--_connotation-color-primary);\n --_appearance-color-outline: transparent;\n}\n.control:where(:hover, .hover):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary-text);\n --_appearance-color-fill: var(--_connotation-color-primary-increment);\n --_appearance-color-outline: transparent;\n}\n.control:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-400);\n --_appearance-color-fill: var(--vvd-color-neutral-200);\n --_appearance-color-outline: transparent;\n}\n.control:where(:active, .active):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary-text);\n --_appearance-color-fill: var(--_connotation-color-fierce);\n --_appearance-color-outline: transparent;\n}\n@supports selector(:focus-visible) {\n .control:focus {\n outline: none;\n }\n}\n@supports (user-select: none) {\n .control {\n user-select: none;\n }\n}\n.control.density-extended {\n --_fab-border-radius: 30px;\n --_fab-block-size: 56px;\n}\n.control:not(.density-extended) {\n --_fab-border-radius: 24px;\n --_fab-block-size: 40px;\n}\n.control.icon-only {\n border-radius: 50%;\n padding-inline: 0;\n place-content: center;\n}\n@supports (aspect-ratio: 1) {\n .control.icon-only {\n aspect-ratio: 1;\n }\n}\n@supports not (aspect-ratio: 1) {\n .control.icon-only {\n inline-size: var(--_fab-block-size);\n }\n}\n.control:not(.icon-only) {\n --fab-icon-gap: 10px;\n padding-inline: 20px;\n}\n.control:disabled {\n --_elevation-fill: var(--vvd-color-surface-0dp);\n --_elevation-shadow: var(--vvd-shadow-surface-0dp);\n cursor: not-allowed;\n}\n.control:not(:disabled) {\n --_elevation-fill: var(--vvd-color-surface-4dp);\n --_elevation-shadow: var(--vvd-shadow-surface-4dp);\n cursor: pointer;\n}\n.control:not(:disabled):hover {\n --_elevation-fill: var(--vvd-color-surface-12dp);\n --_elevation-shadow: var(--vvd-shadow-surface-12dp);\n}\n.control:not(:disabled):active {\n --_elevation-fill: var(--vvd-color-surface-24dp);\n --_elevation-shadow: var(--vvd-shadow-surface-24dp);\n}\n\n/* Icon */\n.icon-trailing .icon {\n order: 1;\n}\n.density-extended .icon {\n font-size: 24px;\n}\n.icon:not(.density-extended) .icon {\n font-size: 20px;\n}\n\n:not(:focus-visible) .focus-indicator {\n display: none;\n}";
25
+
26
+ class Fab extends Button {}
27
+
28
+ __decorate([attr, __metadata("design:type", String)], Fab.prototype, "connotation", void 0);
29
+
30
+ __decorate([attr, __metadata("design:type", String)], Fab.prototype, "density", void 0);
31
+
32
+ __decorate([attr, __metadata("design:type", String)], Fab.prototype, "label", void 0);
33
+
34
+ applyMixins(Fab, AffixIconWithTrailing);
35
+
36
+ let _ = t => t,
37
+ _t;
38
+
39
+ const getClasses = ({
40
+ connotation,
41
+ density,
42
+ icon,
43
+ label,
44
+ iconTrailing,
45
+ disabled
46
+ }) => classNames('control', [`connotation-${connotation}`, Boolean(connotation)], [`density-${density}`, Boolean(density)], ['icon-only', !label && !!icon], ['icon-trailing', iconTrailing], ['disabled', disabled]);
47
+
48
+ const FabTemplate = context => {
49
+ const affixIconTemplate = affixIconTemplateFactory(context);
50
+ const focusTemplate = focusTemplateFactory(context);
51
+ return html(_t || (_t = _`
52
+ <button
53
+ class="${0} "
54
+ ?autofocus="${0}"
55
+ ?disabled="${0}"
56
+ form="${0}"
57
+ formaction="${0}"
58
+ formenctype="${0}"
59
+ formmethod="${0}"
60
+ formnovalidate="${0}"
61
+ formtarget="${0}"
62
+ name="${0}"
63
+ type="${0}"
64
+ value="${0}"
65
+ aria-atomic="${0}"
66
+ aria-busy="${0}"
67
+ aria-controls="${0}"
68
+ aria-current="${0}"
69
+ aria-describedby="${0}"
70
+ aria-details="${0}"
71
+ aria-disabled="${0}"
72
+ aria-errormessage="${0}"
73
+ aria-expanded="${0}"
74
+ aria-flowto="${0}"
75
+ aria-haspopup="${0}"
76
+ aria-hidden="${0}"
77
+ aria-invalid="${0}"
78
+ aria-keyshortcuts="${0}"
79
+ aria-label="${0}"
80
+ aria-labelledby="${0}"
81
+ aria-live="${0}"
82
+ aria-owns="${0}"
83
+ aria-pressed="${0}"
84
+ aria-relevant="${0}"
85
+ aria-roledescription="${0}"
86
+ ${0}
87
+ >
88
+ ${0}
89
+ ${0}
90
+ ${0}
91
+ </button>
92
+ `), getClasses, x => x.autofocus, x => x.disabled, x => x.formId, x => x.formaction, x => x.formenctype, x => x.formmethod, x => x.formnovalidate, x => x.formtarget, x => x.name, x => x.type, x => x.value, x => x.ariaAtomic, x => x.ariaBusy, x => x.ariaControls, x => x.ariaCurrent, x => x.ariaDescribedby, x => x.ariaDetails, x => x.ariaDisabled, x => x.ariaErrormessage, x => x.ariaExpanded, x => x.ariaFlowto, x => x.ariaHaspopup, x => x.ariaHidden, x => x.ariaInvalid, x => x.ariaKeyshortcuts, x => x.ariaLabel, x => x.ariaLabelledby, x => x.ariaLive, x => x.ariaOwns, x => x.ariaPressed, x => x.ariaRelevant, x => x.ariaRoledescription, ref('control'), () => focusTemplate, x => affixIconTemplate(x.icon), x => x.label);
93
+ };
94
+
95
+ const vividFab = Fab.compose({
96
+ baseName: 'fab',
97
+ template: FabTemplate,
98
+ styles: css_248z,
99
+ shadowOptions: {
100
+ delegatesFocus: true
101
+ }
102
+ });
103
+ designSystem.register(vividFab());
104
+
105
+ export { vividFab };
package/focus/index.js CHANGED
@@ -1,3 +1,18 @@
1
- import '../shared/index.js';
2
- export { V as VIVIDFocus } from '../shared/index2.js';
3
- import '../shared/style-inject.es.js';
1
+ import { h as html, d as designSystem } from '../shared/index.js';
2
+ import { F as Focus } from '../shared/focus.js';
3
+
4
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 24 Oct 2022 13:21:54 GMT\n */\n:host {\n display: contents;\n border-radius: inherit;\n}\n\n.control {\n position: absolute;\n z-index: 1;\n box-sizing: border-box;\n border-radius: inherit;\n box-shadow: inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);\n inset: var(--focus-inset, 0);\n outline: 2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));\n outline-offset: -2px;\n}";
5
+
6
+ let _ = t => t,
7
+ _t;
8
+ const focusTemplate = () => html(_t || (_t = _`
9
+ <span class="control"></span>`));
10
+
11
+ const vividFocus = Focus.compose({
12
+ baseName: 'focus',
13
+ template: focusTemplate,
14
+ styles: css_248z
15
+ });
16
+ designSystem.register(vividFocus());
17
+
18
+ export { vividFocus };
@@ -0,0 +1,66 @@
1
+ import { E as Elevation } from '../shared/index3.js';
2
+ import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
3
+ import '../shared/web.dom-collections.iterator.js';
4
+ import { c as classNames } from '../shared/class-names.js';
5
+ import '../shared/export.js';
6
+ import '../shared/object-keys.js';
7
+ import '../shared/iterators.js';
8
+
9
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 24 Oct 2022 13:21:54 GMT\n */\n.base {\n z-index: 1;\n block-size: var(--_header-block-size);\n font: var(--vvd-font-heading4);\n inline-size: 100%;\n --_header-block-size: 64px;\n}\n.base .header-content {\n display: inline-flex;\n align-items: center;\n column-gap: 4px;\n}\n\n.container {\n display: flex;\n box-sizing: border-box;\n justify-content: space-between;\n block-size: inherit;\n color: var(--vvd-color-canvas-text);\n column-gap: 12px;\n padding-block: 8px;\n padding-inline: 16px;\n}\n.container[part~=vvd-theme-alternate] {\n background-color: var(--vvd-color-canvas);\n color: var(--vvd-color-canvas-text);\n color-scheme: var(--vvd-color-scheme);\n}\n\n.app-content {\n --_header-block-size: 64px;\n}";
10
+
11
+ class Header extends FoundationElement {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.elevationShadow = false;
15
+ this.alternate = false;
16
+ }
17
+
18
+ }
19
+
20
+ __decorate([attr({
21
+ attribute: 'elevation-shadow',
22
+ mode: 'boolean'
23
+ }), __metadata("design:type", Object)], Header.prototype, "elevationShadow", void 0);
24
+
25
+ __decorate([attr({
26
+ mode: 'boolean'
27
+ }), __metadata("design:type", Object)], Header.prototype, "alternate", void 0);
28
+
29
+ let _ = t => t,
30
+ _t;
31
+
32
+ const getPartAlternate = ({
33
+ alternate
34
+ }) => classNames(['vvd-theme-alternate', Boolean(alternate)]);
35
+
36
+ const headerTemplate = context => {
37
+ const elevationTag = context.tagFor(Elevation);
38
+ return html(_t || (_t = _`
39
+ <${0} dp="4" ?no-shadow=${0}>
40
+ <header class="base" part="base">
41
+ <!-- a container is needed to distinguish the surface background color of the
42
+ element from its shadow when applying elevation with alternate -->
43
+ <div class="container" part="${0}">
44
+ <section class="header-content">
45
+ <slot></slot>
46
+ </section>
47
+ <section class="header-content">
48
+ <slot name="action-items"></slot>
49
+ </section>
50
+ </div>
51
+ </header>
52
+ </${0}>
53
+ <div class="app-content">
54
+ <slot name="app-content"></slot>
55
+ </div>
56
+ `), elevationTag, x => !x.elevationShadow, getPartAlternate, elevationTag);
57
+ };
58
+
59
+ const vividHeader = Header.compose({
60
+ baseName: 'header',
61
+ template: headerTemplate,
62
+ styles: css_248z
63
+ });
64
+ designSystem.register(vividHeader());
65
+
66
+ export { vividHeader };
package/icon/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { h as html, d as designSystem } from '../shared/index.js';
2
- import { s as styleInject } from '../shared/style-inject.es.js';
3
2
  import { I as Icon } from '../shared/icon.js';
4
3
  import { w as when } from '../shared/when.js';
5
4
  import { c as classNames } from '../shared/class-names.js';
6
- import '../shared/web.dom-collections.iterator.js';
5
+ import '../shared/export.js';
6
+ import '../shared/iterators.js';
7
+ import '../shared/to-string.js';
7
8
  import '../shared/_has.js';
8
9
 
9
- var css_248z = ":host {\n display: inline-block;\n vertical-align: sub;\n}\n\n.control {\n display: flex;\n margin: unset;\n color: currentColor;\n contain: strict;\n}\n.control.connotation-primary {\n --connotation: var(--vvd-color-primary);\n --on-connotation: var(--vvd-color-on-primary);\n}\n\n.control.connotation-announcement {\n --connotation: var(--vvd-color-announcement);\n --on-connotation: var(--vvd-color-on-announcement);\n}\n\n.control.connotation-cta {\n --connotation: var(--vvd-color-cta);\n --on-connotation: var(--vvd-color-on-cta);\n}\n\n.control.connotation-success {\n --connotation: var(--vvd-color-success);\n --on-connotation: var(--vvd-color-on-success);\n}\n\n.control.connotation-alert {\n --connotation: var(--vvd-color-alert);\n --on-connotation: var(--vvd-color-on-alert);\n}\n\n.control.connotation-info {\n --connotation: var(--vvd-color-info);\n --on-connotation: var(--vvd-color-on-info);\n}\n\n.control[class*=connotation] {\n color: var(--connotation);\n}\n\nsvg {\n margin: auto;\n block-size: inherit;\n inline-size: inherit;\n}\n\n/* Size */\n.control:not(.size-base-small):not(.size-base):not(.size-base-large) {\n block-size: 1em;\n inline-size: 1em;\n}\n\n.control.size-base-small {\n block-size: 16px;\n inline-size: 16px;\n}\n\n.control.size-base {\n block-size: 24px;\n inline-size: 24px;\n}\n\n.control.size-base-large {\n block-size: 32px;\n inline-size: 32px;\n}";
10
- styleInject(css_248z);
10
+ var css_248z = ":host {\n display: inline-block;\n vertical-align: sub;\n}\n\n.control {\n display: flex;\n margin: unset;\n color: currentColor;\n contain: strict;\n}\n.control.connotation-accent {\n --_connotation-color-primary: var(--vvd-color-canvas-text);\n}\n.control.connotation-announcement {\n --_connotation-color-primary: var(--vvd-color-announcement-500);\n}\n.control.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta-500);\n}\n.control.connotation-success {\n --_connotation-color-primary: var(--vvd-color-success-500);\n}\n.control.connotation-alert {\n --_connotation-color-primary: var(--vvd-color-alert-500);\n}\n.control.connotation-information {\n --_connotation-color-primary: var(--vvd-color-information-500);\n}\n\n.control[class*=connotation] {\n color: var(--_connotation-color-primary);\n}\n\nsvg {\n margin: auto;\n block-size: inherit;\n inline-size: inherit;\n}\n\n/* Size */\n.control:not(.size-small):not(.size-medium):not(.size-large) {\n block-size: 1em;\n inline-size: 1em;\n}\n\n.control.size-small {\n block-size: 16px;\n inline-size: 16px;\n}\n\n.control.size-medium {\n block-size: 24px;\n inline-size: 24px;\n}\n\n.control.size-large {\n block-size: 32px;\n inline-size: 32px;\n}";
11
11
 
12
12
  let _ = t => t,
13
13
  _t,
@@ -22,7 +22,11 @@ const iconTemplate = () => html(_t || (_t = _`
22
22
  <figure class="${0}">
23
23
  ${0}
24
24
  </figure>
25
- `), getClasses, when(x => x.svg, x => html(_t2 || (_t2 = _`${0}`), x.svg)));
25
+ `), getClasses, when(x => isValidString(x.svg), x => html(_t2 || (_t2 = _`${0}`), x.svg)));
26
+
27
+ function isValidString(value) {
28
+ return typeof value === 'string' && value.length > 0;
29
+ }
26
30
 
27
31
  const vividIcon = Icon.compose({
28
32
  baseName: 'icon',
package/index.js CHANGED
@@ -1,32 +1,65 @@
1
- export { vividTextAnchor } from './text-anchor/index.js';
2
- export { VIVIDBadge } from './badge/index.js';
3
- export { vividButton } from './button/index.js';
4
- export { V as VIVIDFocus } from './shared/index2.js';
5
- export { vividIcon } from './icon/index.js';
6
- export { VIVIDLayout } from './layout/index.js';
7
- export { VIVIDElevation } from './elevation/index.js';
8
- export { vividBreadcrumbItem } from './breadcrumb-item/index.js';
1
+ export { vividAccordion } from './accordion/index.js';
2
+ export { vividAccordionItem } from './accordion-item/index.js';
3
+ export { vividActionGroup } from './action-group/index.js';
4
+ export { vividAvatar } from './avatar/index.js';
5
+ export { vividBadge } from './badge/index.js';
6
+ export { vividBanner } from './banner/index.js';
9
7
  export { vividBreadcrumb } from './breadcrumb/index.js';
10
- export { VIVIDSideDrawer } from './side-drawer/index.js';
8
+ export { vividBreadcrumbItem } from './breadcrumb-item/index.js';
9
+ export { v as vividButton } from './shared/index2.js';
11
10
  export { vividCalendar } from './calendar/index.js';
12
- export { VIVIDPopup } from './popup/index.js';
11
+ export { vividCalendarEvent } from './calendar-event/index.js';
12
+ export { vividCard } from './card/index.js';
13
+ export { vividCheckbox } from './checkbox/index.js';
14
+ export { v as vividElevation } from './shared/index3.js';
15
+ export { vividDialog } from './dialog/index.js';
16
+ export { v as vividDivider } from './shared/index4.js';
17
+ export { vividFab } from './fab/index.js';
18
+ export { vividIcon } from './icon/index.js';
19
+ export { vividLayout } from './layout/index.js';
20
+ export { vividMenu } from './menu/index.js';
21
+ export { v as vividMenuItem } from './shared/index6.js';
22
+ export { vividNav } from './nav/index.js';
23
+ export { vividNavDisclosure } from './nav-disclosure/index.js';
24
+ export { vividNavItem } from './nav-item/index.js';
25
+ export { vividNote } from './note/index.js';
26
+ export { v as vividPopup } from './shared/index5.js';
27
+ export { vividProgress } from './progress/index.js';
28
+ export { vividProgressRing } from './progress-ring/index.js';
29
+ export { vividRadio } from './radio/index.js';
30
+ export { vividSideDrawer } from './side-drawer/index.js';
31
+ export { vividTextfield } from './text-field/index.js';
32
+ export { vividTextArea } from './text-area/index.js';
13
33
  export { vividTooltip } from './tooltip/index.js';
14
- export { vividBanner } from './banner/index.js';
15
- export { vividAccordionItem } from './accordion-item/index.js';
16
- export { vividAccordion } from './accordion/index.js';
17
34
  export { d as designSystem, p as provideVividDesignSystem } from './shared/index.js';
18
- import './shared/text-anchor.js';
35
+ import './shared/class-names.js';
36
+ import './focus/index.js';
37
+ import './shared/focus.js';
19
38
  import './shared/web.dom-collections.iterator.js';
39
+ import './shared/export.js';
40
+ import './shared/object-keys.js';
41
+ import './shared/iterators.js';
20
42
  import './shared/affix.js';
21
43
  import './shared/icon.js';
44
+ import './shared/to-string.js';
22
45
  import './shared/_has.js';
23
- import './shared/anchor.js';
24
46
  import './shared/apply-mixins.js';
25
- import './shared/aria-global.js';
26
- import './shared/text-anchor.template.js';
27
- import './shared/class-names.js';
28
- import './shared/style-inject.es.js';
47
+ import './shared/focus2.js';
29
48
  import './shared/when.js';
30
- import './shared/breadcrumb-item.js';
49
+ import './shared/enums.js';
50
+ import './shared/button.js';
51
+ import './shared/form-associated.js';
52
+ import './shared/key-codes.js';
53
+ import './shared/aria-global.js';
54
+ import './shared/start-end.js';
55
+ import './shared/ref.js';
31
56
  import './shared/slotted.js';
57
+ import './shared/breadcrumb-item.js';
58
+ import './shared/anchor.js';
59
+ import './shared/text-anchor.template.js';
60
+ import './shared/calendar-event.js';
32
61
  import './shared/es.object.assign.js';
62
+ import './shared/regexp-flags.js';
63
+ import './shared/text-anchor.js';
64
+ import './shared/base-progress.js';
65
+ import './shared/form-elements.js';