@vonage/vivid 3.0.0-next.109 → 3.0.0-next.110
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 +24 -0
- package/accordion/index.js +3 -3
- package/accordion-item/index.js +12 -12
- package/action-group/index.js +3 -7
- package/avatar/index.js +10 -10
- package/badge/index.js +9 -9
- package/banner/index.js +9 -19
- package/breadcrumb/index.js +2 -2
- package/breadcrumb-item/index.js +13 -14
- package/button/index.js +92 -16
- package/calendar/index.js +3 -7
- package/calendar-event/index.js +3 -6
- package/card/index.js +9 -11
- package/checkbox/index.js +11 -12
- package/custom-elements.json +49 -49
- package/dialog/index.js +9 -25
- package/divider/index.js +26 -3
- package/elevation/index.js +25 -3
- package/fab/index.js +12 -14
- package/focus/index.js +4 -4
- package/header/index.js +10 -8
- package/icon/index.js +3 -5
- package/index.js +24 -22
- package/layout/index.js +2 -2
- package/lib/accordion-item/index.d.ts +0 -2
- package/lib/avatar/index.d.ts +0 -1
- package/lib/badge/index.d.ts +0 -1
- package/lib/banner/index.d.ts +0 -1
- package/lib/breadcrumb-item/index.d.ts +0 -2
- package/lib/button/index.d.ts +1 -4
- package/lib/card/index.d.ts +0 -2
- package/lib/checkbox/index.d.ts +0 -2
- package/lib/components.d.ts +1 -1
- package/lib/dialog/index.d.ts +0 -3
- package/lib/fab/index.d.ts +0 -2
- package/lib/header/index.d.ts +0 -1
- package/lib/listbox/index.d.ts +1 -4
- package/lib/menu/index.d.ts +0 -2
- package/lib/menu-item/index.d.ts +0 -1
- package/lib/nav-disclosure/index.d.ts +0 -2
- package/lib/nav-item/index.d.ts +0 -2
- package/lib/note/note.template.d.ts +0 -1
- package/lib/number-field/index.d.ts +0 -2
- package/lib/{listbox-option → option}/index.d.ts +0 -2
- package/lib/{listbox-option/listbox-option.d.ts → option/option.d.ts} +0 -0
- package/lib/{listbox-option/listbox-option.template.d.ts → option/option.template.d.ts} +1 -1
- package/lib/popup/index.d.ts +0 -2
- package/lib/radio/index.d.ts +0 -1
- package/lib/slider/index.d.ts +0 -1
- package/lib/switch/index.d.ts +0 -2
- package/lib/text-area/index.d.ts +0 -2
- package/lib/text-field/index.d.ts +0 -2
- package/lib/text-field/text-field.template.d.ts +0 -1
- package/lib/tooltip/index.d.ts +0 -1
- package/listbox/index.js +14 -18
- package/menu/index.js +12 -26
- package/menu-item/index.js +82 -13
- package/nav/index.js +2 -2
- package/nav-disclosure/index.js +11 -13
- package/nav-item/index.js +11 -13
- package/note/index.js +10 -10
- package/number-field/index.js +14 -15
- package/option/index.js +75 -0
- package/package.json +3 -2
- package/popup/index.js +57 -20
- package/progress/index.js +3 -7
- package/progress-ring/index.js +3 -3
- package/radio/index.js +11 -6
- package/radio-group/index.js +3 -3
- package/shared/affix.js +0 -1
- package/shared/anchor.js +1 -1
- package/shared/apply-mixins.js +1 -1
- package/shared/base-progress.js +1 -1
- package/shared/breadcrumb-item.js +1 -1
- package/shared/button.js +18 -195
- package/shared/button2.js +200 -0
- package/shared/calendar-event.js +1 -1
- package/shared/design-system/index.d.ts +1 -1
- package/shared/{index4.js → divider.js} +2 -24
- package/shared/elevation.js +10 -0
- package/shared/es.object.assign.js +1 -59
- package/shared/es.promise.resolve.js +944 -0
- package/shared/es.regexp.to-string.js +1 -2
- package/shared/focus.js +9 -3
- package/shared/focus2.js +3 -9
- package/shared/form-associated.js +1 -1
- package/shared/form-elements.js +2 -3
- package/shared/icon.js +9 -1098
- package/shared/index.js +3673 -5
- package/shared/index2.js +6 -104
- package/shared/{index5.js → listbox-option.js} +11 -71
- package/shared/{index7.js → menu-item.js} +13 -85
- package/shared/patterns/form-elements/form-elements.d.ts +2 -2
- package/shared/{index6.js → popup.js} +3 -43
- package/shared/radio.js +1 -1
- package/shared/ref.js +1 -1
- package/shared/slotted.js +1 -1
- package/shared/string-trim.js +1 -2
- package/shared/text-anchor.template.js +1 -1
- package/shared/utils/index.d.ts +1 -0
- package/side-drawer/index.js +3 -7
- package/slider/index.js +10 -10
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/switch/index.js +11 -11
- package/text-anchor/index.js +4 -8
- package/text-area/index.js +11 -12
- package/text-field/index.js +11 -12
- package/tooltip/index.js +11 -27
- package/vivid.api.json +11 -189
- package/listbox-option/index.js +0 -22
- package/shared/export.js +0 -1017
- package/shared/index3.js +0 -31
- package/shared/iterators.js +0 -61
- package/shared/object-keys.js +0 -13
- package/shared/to-string.js +0 -51
- package/shared/web.dom-collections.iterator.js +0 -472
package/card/index.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import '../shared/
|
|
2
|
-
import '../
|
|
3
|
-
import {
|
|
1
|
+
import '../shared/es.promise.resolve.js';
|
|
2
|
+
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, V as observable, h as html, g as getPrefix, d as designSystem } from '../shared/index.js';
|
|
3
|
+
import { l as loadComponentsModules } from '../shared/index2.js';
|
|
4
4
|
import { s as slotted } from '../shared/slotted.js';
|
|
5
5
|
import { w as when } from '../shared/when.js';
|
|
6
6
|
import { c as classNames } from '../shared/class-names.js';
|
|
7
|
-
import '../shared/icon.js';
|
|
8
|
-
import '../shared/export.js';
|
|
9
|
-
import '../shared/iterators.js';
|
|
10
|
-
import '../shared/to-string.js';
|
|
11
|
-
import '../shared/string-trim.js';
|
|
12
|
-
import '../shared/_has.js';
|
|
13
7
|
|
|
14
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022
|
|
8
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 15:37:45 GMT\n */\n:host {\n display: flex;\n}\n\n.base {\n border-radius: 6px;\n inline-size: 100%;\n}\n\n.wrapper {\n display: flex;\n overflow: hidden;\n flex-flow: column;\n block-size: inherit;\n border-radius: inherit;\n color: var(--vvd-color-canvas-text);\n}\n\n.main-content {\n display: flex;\n flex-flow: column;\n padding: 24px;\n}\n\n.header {\n display: flex;\n flex: 1;\n align-items: flex-start;\n gap: 8px;\n}\n.header-content {\n flex: 1;\n}\n.header-wrapper {\n display: flex;\n gap: 8px;\n}\n.header-headline, .header-subtitle {\n /* stylelint-disable value-no-vendor-prefix */\n display: -webkit-box;\n /* stylelint-enable value-no-vendor-prefix */\n overflow: hidden;\n -webkit-box-orient: vertical;\n}\n.header-headline {\n font: var(--vvd-typography-heading-4);\n -webkit-line-clamp: var(--headline-line-clamp);\n}\n.header-subtitle {\n font: var(--vvd-typography-base);\n -webkit-line-clamp: var(--subtitle-line-clamp);\n}\n.hide-header .header {\n display: none;\n}\n\n.header-subtitle,\n.text {\n color: var(--vvd-color-neutral-600);\n font: var(--vvd-typography-base);\n}\n\n.text {\n padding-right: 8px;\n margin-top: 12px;\n}\n\n.footer {\n display: inline-flex;\n flex-direction: column;\n align-items: flex-end;\n padding-bottom: 24px;\n margin-top: auto;\n padding-inline: 24px;\n}\n.hide-footer .footer {\n display: none;\n}\n\n::slotted([slot=graphic i]),\n.icon {\n flex-shrink: 0;\n align-self: baseline;\n margin-block-start: 4px;\n}\n\n.icon {\n font-size: 20px;\n}\n\n::slotted([slot=meta i]) {\n flex-shrink: 0;\n align-self: flex-start;\n margin-block-start: -8px;\n margin-inline-end: -8px;\n margin-inline-start: auto;\n}";
|
|
15
9
|
|
|
16
10
|
class Card extends FoundationElement {}
|
|
17
11
|
__decorate([attr, __metadata("design:type", String)], Card.prototype, "headline", void 0);
|
|
@@ -104,11 +98,15 @@ const CardTemplate = () => html(_t8 || (_t8 = _2`
|
|
|
104
98
|
return (_a = x.elevation) !== null && _a !== void 0 ? _a : '4';
|
|
105
99
|
}, getClasses, renderHeader(), renderMetaSlot(), when(x => x.text, text()), slotted('footerSlottedContent'));
|
|
106
100
|
|
|
101
|
+
const prefix = getPrefix(import.meta.url);
|
|
107
102
|
const vividCard = Card.compose({
|
|
108
103
|
baseName: 'card',
|
|
109
104
|
template: CardTemplate,
|
|
110
105
|
styles: css_248z
|
|
111
106
|
});
|
|
112
|
-
|
|
107
|
+
(async () => {
|
|
108
|
+
await loadComponentsModules(['icon', 'elevation'], prefix);
|
|
109
|
+
designSystem.withPrefix(prefix).register(vividCard());
|
|
110
|
+
})();
|
|
113
111
|
|
|
114
112
|
export { vividCard };
|
package/checkbox/index.js
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
import '../
|
|
3
|
-
import {
|
|
4
|
-
import '../shared/web.dom-collections.iterator.js';
|
|
1
|
+
import '../shared/es.promise.resolve.js';
|
|
2
|
+
import { F as FoundationElement, _ as __decorate, a as attr, V as observable, b as __metadata, h as html, g as getPrefix, d as designSystem } from '../shared/index.js';
|
|
3
|
+
import { l as loadComponentsModules } from '../shared/index2.js';
|
|
5
4
|
import { C as CheckableFormAssociated } from '../shared/form-associated.js';
|
|
6
5
|
import { a as keySpace$1 } from '../shared/key-codes.js';
|
|
7
|
-
import { f as focusTemplateFactory } from '../shared/
|
|
6
|
+
import { f as focusTemplateFactory } from '../shared/focus.js';
|
|
8
7
|
import { I as Icon } from '../shared/icon.js';
|
|
9
8
|
import { w as when } from '../shared/when.js';
|
|
10
9
|
import { c as classNames } from '../shared/class-names.js';
|
|
11
|
-
import '../shared/
|
|
12
|
-
import '../shared/iterators.js';
|
|
13
|
-
import '../shared/to-string.js';
|
|
10
|
+
import '../shared/focus2.js';
|
|
14
11
|
import '../shared/string-trim.js';
|
|
15
12
|
import '../shared/_has.js';
|
|
16
|
-
import '../shared/focus.js';
|
|
17
|
-
import '../shared/object-keys.js';
|
|
18
13
|
|
|
19
14
|
class _Checkbox extends FoundationElement {
|
|
20
15
|
}
|
|
@@ -102,7 +97,7 @@ __decorate([
|
|
|
102
97
|
observable
|
|
103
98
|
], Checkbox$1.prototype, "indeterminate", void 0);
|
|
104
99
|
|
|
105
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022
|
|
100
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 15:37:45 GMT\n */\n.base {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n vertical-align: middle;\n}\n.base {\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-intermediate: var(--vvd-color-neutral-500);\n --_connotation-color-backdrop: var(--vvd-color-canvas);\n --_connotation-color-firm: var(--vvd-color-canvas-text);\n}\n.base {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-intermediate);\n}\n.base:where(:hover, .hover):where(:not(:disabled, .disabled, .readonly)) {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-firm);\n}\n.base:where(:checked, .checked):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary-text);\n --_appearance-color-fill: var(--_connotation-color-primary);\n --_appearance-color-outline: var(--_connotation-color-primary);\n}\n.base:where(:checked, .checked):where(:hover, .hover) {\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.base: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: var(--vvd-color-neutral-400);\n}\n.base:where(.readonly):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--vvd-color-neutral-800);\n --_appearance-color-fill: var(--vvd-color-neutral-200);\n --_appearance-color-outline: var(--vvd-color-neutral-500);\n}\n@supports selector(:focus-visible) {\n .base:focus {\n outline: none;\n }\n}\n@supports (user-select: none) {\n .base {\n user-select: none;\n }\n}\n.base:not(.disabled) {\n cursor: pointer;\n}\n.base.disabled {\n cursor: not-allowed;\n}\n\n.control {\n position: relative;\n display: flex;\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n background-color: var(--_appearance-color-fill);\n border-radius: 3px;\n box-shadow: inset 0 0 0 2px var(--_appearance-color-outline);\n color: var(--_appearance-color-text);\n}\n\n.indicator {\n font-size: 16px;\n}\n.base:not(.checked) .indicator.checkmark {\n display: none;\n}\n\n.base:not(.indeterminate) .indicator.minus, .base.checked .indicator.minus {\n display: none;\n}\n\nlabel {\n color: var(--vvd-color-canvas-text);\n cursor: pointer;\n font: var(--vvd-typography-base);\n}\n\n.focus-indicator {\n --focus-inset: -3px;\n --focus-stroke-gap-color: transparent;\n border-radius: 6px;\n}\n.base:not(:focus-visible) .focus-indicator {\n display: none;\n}";
|
|
106
101
|
|
|
107
102
|
const keySpace = ' ';
|
|
108
103
|
class Checkbox extends Checkbox$1 {
|
|
@@ -166,6 +161,7 @@ const CheckboxTemplate = context => {
|
|
|
166
161
|
</span>`), x => x.checked, x => x.required, x => x.disabled, x => x.readOnly, x => x.disabled ? null : 0, (x, c) => x.keypressHandler(c.event), x => x.clickHandler(), getClasses, when(x => x.checked, html(_t2 || (_t2 = _`<${0} name="check-solid"></${0}>`), iconTag, iconTag)), when(x => x.indeterminate, html(_t3 || (_t3 = _`<${0} name="minus-solid"></${0}>`), iconTag, iconTag)), () => focusTemplate, when(x => x.label, html(_t4 || (_t4 = _`<label>${0}</label>`), x => x.label)));
|
|
167
162
|
};
|
|
168
163
|
|
|
164
|
+
const prefix = getPrefix(import.meta.url);
|
|
169
165
|
const vividCheckbox = Checkbox.compose({
|
|
170
166
|
baseName: 'checkbox',
|
|
171
167
|
template: CheckboxTemplate,
|
|
@@ -174,6 +170,9 @@ const vividCheckbox = Checkbox.compose({
|
|
|
174
170
|
delegatesFocus: true
|
|
175
171
|
}
|
|
176
172
|
});
|
|
177
|
-
|
|
173
|
+
(async () => {
|
|
174
|
+
await loadComponentsModules(['icon', 'focus'], prefix);
|
|
175
|
+
designSystem.withPrefix(prefix).register(vividCheckbox());
|
|
176
|
+
})();
|
|
178
177
|
|
|
179
178
|
export { vividCheckbox };
|
package/custom-elements.json
CHANGED
|
@@ -2167,55 +2167,6 @@
|
|
|
2167
2167
|
}
|
|
2168
2168
|
]
|
|
2169
2169
|
},
|
|
2170
|
-
{
|
|
2171
|
-
"kind": "javascript-module",
|
|
2172
|
-
"path": "libs/components/src/lib/listbox-option/listbox-option.ts",
|
|
2173
|
-
"declarations": [
|
|
2174
|
-
{
|
|
2175
|
-
"kind": "class",
|
|
2176
|
-
"description": "Base class for option",
|
|
2177
|
-
"name": "ListboxOption",
|
|
2178
|
-
"members": [
|
|
2179
|
-
{
|
|
2180
|
-
"kind": "field",
|
|
2181
|
-
"name": "_text",
|
|
2182
|
-
"type": {
|
|
2183
|
-
"text": "string | undefined"
|
|
2184
|
-
},
|
|
2185
|
-
"privacy": "public",
|
|
2186
|
-
"description": ""
|
|
2187
|
-
},
|
|
2188
|
-
{
|
|
2189
|
-
"kind": "field",
|
|
2190
|
-
"name": "text"
|
|
2191
|
-
}
|
|
2192
|
-
],
|
|
2193
|
-
"attributes": [
|
|
2194
|
-
{
|
|
2195
|
-
"name": "text",
|
|
2196
|
-
"type": {
|
|
2197
|
-
"text": "string | undefined"
|
|
2198
|
-
},
|
|
2199
|
-
"fieldName": "_text"
|
|
2200
|
-
}
|
|
2201
|
-
],
|
|
2202
|
-
"superclass": {
|
|
2203
|
-
"name": "FoundationListboxOption",
|
|
2204
|
-
"package": "@microsoft/fast-foundation"
|
|
2205
|
-
}
|
|
2206
|
-
}
|
|
2207
|
-
],
|
|
2208
|
-
"exports": [
|
|
2209
|
-
{
|
|
2210
|
-
"kind": "js",
|
|
2211
|
-
"name": "ListboxOption",
|
|
2212
|
-
"declaration": {
|
|
2213
|
-
"name": "ListboxOption",
|
|
2214
|
-
"module": "libs/components/src/lib/listbox-option/listbox-option.ts"
|
|
2215
|
-
}
|
|
2216
|
-
}
|
|
2217
|
-
]
|
|
2218
|
-
},
|
|
2219
2170
|
{
|
|
2220
2171
|
"kind": "javascript-module",
|
|
2221
2172
|
"path": "libs/components/src/lib/menu/menu.ts",
|
|
@@ -2639,6 +2590,55 @@
|
|
|
2639
2590
|
}
|
|
2640
2591
|
]
|
|
2641
2592
|
},
|
|
2593
|
+
{
|
|
2594
|
+
"kind": "javascript-module",
|
|
2595
|
+
"path": "libs/components/src/lib/option/option.ts",
|
|
2596
|
+
"declarations": [
|
|
2597
|
+
{
|
|
2598
|
+
"kind": "class",
|
|
2599
|
+
"description": "Base class for option",
|
|
2600
|
+
"name": "ListboxOption",
|
|
2601
|
+
"members": [
|
|
2602
|
+
{
|
|
2603
|
+
"kind": "field",
|
|
2604
|
+
"name": "_text",
|
|
2605
|
+
"type": {
|
|
2606
|
+
"text": "string | undefined"
|
|
2607
|
+
},
|
|
2608
|
+
"privacy": "public",
|
|
2609
|
+
"description": ""
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"kind": "field",
|
|
2613
|
+
"name": "text"
|
|
2614
|
+
}
|
|
2615
|
+
],
|
|
2616
|
+
"attributes": [
|
|
2617
|
+
{
|
|
2618
|
+
"name": "text",
|
|
2619
|
+
"type": {
|
|
2620
|
+
"text": "string | undefined"
|
|
2621
|
+
},
|
|
2622
|
+
"fieldName": "_text"
|
|
2623
|
+
}
|
|
2624
|
+
],
|
|
2625
|
+
"superclass": {
|
|
2626
|
+
"name": "FoundationListboxOption",
|
|
2627
|
+
"package": "@microsoft/fast-foundation"
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
],
|
|
2631
|
+
"exports": [
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "js",
|
|
2634
|
+
"name": "ListboxOption",
|
|
2635
|
+
"declaration": {
|
|
2636
|
+
"name": "ListboxOption",
|
|
2637
|
+
"module": "libs/components/src/lib/option/option.ts"
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
]
|
|
2641
|
+
},
|
|
2642
2642
|
{
|
|
2643
2643
|
"kind": "javascript-module",
|
|
2644
2644
|
"path": "libs/components/src/lib/popup/popup.ts",
|
package/dialog/index.js
CHANGED
|
@@ -1,32 +1,12 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
import '../shared/
|
|
3
|
-
import '../shared/
|
|
4
|
-
import { F as FoundationElement, c as __classPrivateFieldGet, _ as __decorate, a as attr, b as __metadata, j as __classPrivateFieldSet, h as html, d as designSystem } from '../shared/index.js';
|
|
5
|
-
import '../shared/icon.js';
|
|
6
|
-
import '../shared/web.dom-collections.iterator.js';
|
|
1
|
+
import '../shared/es.promise.resolve.js';
|
|
2
|
+
import { F as FoundationElement, Y as __classPrivateFieldGet, _ as __decorate, a as attr, b as __metadata, a9 as __classPrivateFieldSet, h as html, g as getPrefix, d as designSystem } from '../shared/index.js';
|
|
3
|
+
import { l as loadComponentsModules } from '../shared/index2.js';
|
|
7
4
|
import { w as when } from '../shared/when.js';
|
|
8
5
|
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/string-trim.js';
|
|
13
|
-
import '../shared/_has.js';
|
|
14
|
-
import '../focus/index.js';
|
|
15
|
-
import '../shared/focus.js';
|
|
16
|
-
import '../shared/affix.js';
|
|
17
|
-
import '../shared/button.js';
|
|
18
|
-
import '../shared/apply-mixins.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
|
-
import '../shared/ref.js';
|
|
24
|
-
import '../shared/focus2.js';
|
|
25
|
-
import '../shared/object-keys.js';
|
|
26
6
|
|
|
27
7
|
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}";
|
|
28
8
|
|
|
29
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022
|
|
9
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 15:37:45 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-typography-heading-4);\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-typography-base);\n}\n\n.icon {\n font-size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 8));\n}";
|
|
30
10
|
|
|
31
11
|
var _Dialog_instances, _Dialog_modal, _Dialog_dialogElement, _Dialog_dialog_get, _Dialog_handleScrimClick, _Dialog_handleInternalFormSubmit, _Dialog_handleModal;
|
|
32
12
|
let dialogPolyfill;
|
|
@@ -220,11 +200,15 @@ const DialogTemplate = () => html(_t5 || (_t5 = _2`
|
|
|
220
200
|
</div>
|
|
221
201
|
</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()));
|
|
222
202
|
|
|
203
|
+
const prefix = getPrefix(import.meta.url);
|
|
223
204
|
const vividDialog = Dialog.compose({
|
|
224
205
|
baseName: 'dialog',
|
|
225
206
|
template: DialogTemplate,
|
|
226
207
|
styles: [css_248z, css_248z$1]
|
|
227
208
|
});
|
|
228
|
-
|
|
209
|
+
(async () => {
|
|
210
|
+
await loadComponentsModules(['icon', 'button', 'elevation'], prefix);
|
|
211
|
+
designSystem.withPrefix(prefix).register(vividDialog());
|
|
212
|
+
})();
|
|
229
213
|
|
|
230
214
|
export { vividDialog };
|
package/divider/index.js
CHANGED
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
import '../shared/index.js';
|
|
2
|
-
|
|
1
|
+
import { h as html, d as designSystem, g as getPrefix } from '../shared/index.js';
|
|
2
|
+
import { D as Divider } from '../shared/divider.js';
|
|
3
|
+
import { c as classNames } from '../shared/class-names.js';
|
|
3
4
|
import '../shared/aria.js';
|
|
4
|
-
|
|
5
|
+
|
|
6
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 15:37:45 GMT\n */\n:host {\n display: block;\n}\n\n.base {\n display: block;\n background-color: var(--vvd-color-neutral-200);\n}\n.base:not(.vertical) {\n block-size: 1px;\n inline-size: 100%;\n}\n.base.vertical {\n block-size: 100%;\n inline-size: 1px;\n}";
|
|
7
|
+
|
|
8
|
+
let _ = t => t,
|
|
9
|
+
_t;
|
|
10
|
+
const getClasses = ({
|
|
11
|
+
orientation
|
|
12
|
+
}) => classNames('base', [`${orientation}`, Boolean(orientation)]);
|
|
13
|
+
const DividerTemplate = () => html(_t || (_t = _`
|
|
14
|
+
<span
|
|
15
|
+
class="${0}"
|
|
16
|
+
orientation="${0}"
|
|
17
|
+
role="${0}"
|
|
18
|
+
></span>`), getClasses, x => x.orientation, x => x.role);
|
|
19
|
+
|
|
20
|
+
const vividDivider = Divider.compose({
|
|
21
|
+
baseName: 'divider',
|
|
22
|
+
template: DividerTemplate,
|
|
23
|
+
styles: css_248z
|
|
24
|
+
});
|
|
25
|
+
designSystem.withPrefix(getPrefix(import.meta.url)).register(vividDivider());
|
|
26
|
+
|
|
27
|
+
export { vividDivider };
|
package/elevation/index.js
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
-
import '../shared/index.js';
|
|
2
|
-
|
|
3
|
-
import '../shared/class-names.js';
|
|
1
|
+
import { h as html, d as designSystem, g as getPrefix } from '../shared/index.js';
|
|
2
|
+
import { E as Elevation } from '../shared/elevation.js';
|
|
3
|
+
import { c as classNames } from '../shared/class-names.js';
|
|
4
|
+
|
|
5
|
+
var css_248z = ":host {\n display: contents;\n}\n\n.control {\n display: contents;\n}\n.control.dp-0 {\n --_elevation-fill: var(--vvd-color-surface-0dp);\n --_elevation-shadow: var(--vvd-shadow-surface-0dp);\n}\n.control.dp-4 {\n --_elevation-fill: var(--vvd-color-surface-4dp);\n --_elevation-shadow: var(--vvd-shadow-surface-4dp);\n}\n.control.dp-8 {\n --_elevation-fill: var(--vvd-color-surface-8dp);\n --_elevation-shadow: var(--vvd-shadow-surface-8dp);\n}\n.control.dp-12 {\n --_elevation-fill: var(--vvd-color-surface-12dp);\n --_elevation-shadow: var(--vvd-shadow-surface-12dp);\n}\n.control.dp-16 {\n --_elevation-fill: var(--vvd-color-surface-16dp);\n --_elevation-shadow: var(--vvd-shadow-surface-16dp);\n}\n.control.dp-24 {\n --_elevation-fill: var(--vvd-color-surface-24dp);\n --_elevation-shadow: var(--vvd-shadow-surface-24dp);\n}\n.control:not(.dp-0, .dp-4, .dp-8, .dp-12, .dp-16, .dp-24) {\n --_elevation-fill: var(--vvd-color-surface-2dp);\n --_elevation-shadow: var(--vvd-shadow-surface-2dp);\n}\n.control ::slotted(*) {\n background: var(--_elevation-fill);\n filter: var(--_elevation-shadow);\n transition: background-color 0.15s linear, filter 0.15s linear;\n}\n.control.no-shadow ::slotted(*) {\n filter: none;\n}";
|
|
6
|
+
|
|
7
|
+
let _ = t => t,
|
|
8
|
+
_t;
|
|
9
|
+
const getClasses = ({
|
|
10
|
+
dp,
|
|
11
|
+
noShadow
|
|
12
|
+
}) => classNames('control', [`dp-${dp}`, Boolean(dp)], ['no-shadow', Boolean(noShadow)]);
|
|
13
|
+
const elevationTemplate = () => html(_t || (_t = _`
|
|
14
|
+
<div class="${0}" part="base">
|
|
15
|
+
<slot></slot>
|
|
16
|
+
</div>`), getClasses);
|
|
17
|
+
|
|
18
|
+
const vividElevation = Elevation.compose({
|
|
19
|
+
baseName: 'elevation',
|
|
20
|
+
template: elevationTemplate,
|
|
21
|
+
styles: css_248z
|
|
22
|
+
});
|
|
23
|
+
designSystem.withPrefix(getPrefix(import.meta.url)).register(vividElevation());
|
|
24
|
+
|
|
25
|
+
export { vividElevation };
|
package/fab/index.js
CHANGED
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
import '../
|
|
3
|
-
import {
|
|
1
|
+
import '../shared/es.promise.resolve.js';
|
|
2
|
+
import { _ as __decorate, a as attr, b as __metadata, h as html, g as getPrefix, d as designSystem } from '../shared/index.js';
|
|
3
|
+
import { l as loadComponentsModules } from '../shared/index2.js';
|
|
4
4
|
import { A as AffixIconWithTrailing, a as affixIconTemplateFactory } from '../shared/affix.js';
|
|
5
|
-
import { B as Button } from '../shared/
|
|
5
|
+
import { B as Button } from '../shared/button2.js';
|
|
6
6
|
import { a as applyMixins } from '../shared/apply-mixins.js';
|
|
7
|
-
import { f as focusTemplateFactory } from '../shared/
|
|
7
|
+
import { f as focusTemplateFactory } from '../shared/focus.js';
|
|
8
8
|
import { r as ref } from '../shared/ref.js';
|
|
9
9
|
import { c as classNames } from '../shared/class-names.js';
|
|
10
10
|
import '../shared/icon.js';
|
|
11
|
-
import '../shared/export.js';
|
|
12
|
-
import '../shared/iterators.js';
|
|
13
|
-
import '../shared/to-string.js';
|
|
14
11
|
import '../shared/string-trim.js';
|
|
15
12
|
import '../shared/_has.js';
|
|
16
|
-
import '../shared/when.js';
|
|
17
|
-
import '../shared/focus.js';
|
|
18
|
-
import '../shared/web.dom-collections.iterator.js';
|
|
19
|
-
import '../shared/object-keys.js';
|
|
20
13
|
import '../shared/form-associated.js';
|
|
21
14
|
import '../shared/key-codes.js';
|
|
22
15
|
import '../shared/aria-global.js';
|
|
23
16
|
import '../shared/start-end.js';
|
|
17
|
+
import '../shared/focus2.js';
|
|
24
18
|
|
|
25
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022
|
|
19
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 15:37:45 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-typography-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, .readonly)) {\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.size-Expanded {\n --_fab-border-radius: 30px;\n --_fab-block-size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) + 16));\n}\n.control:not(.size-expanded) {\n --_fab-border-radius: 24px;\n --_fab-block-size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2)));\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.size-expanded .icon {\n font-size: 24px;\n}\n.icon:not(.size-expanded) .icon {\n font-size: 20px;\n}\n\n:not(:focus-visible) .focus-indicator {\n display: none;\n}";
|
|
26
20
|
|
|
27
21
|
class Fab extends Button {}
|
|
28
22
|
__decorate([attr, __metadata("design:type", String)], Fab.prototype, "connotation", void 0);
|
|
@@ -87,6 +81,7 @@ const FabTemplate = context => {
|
|
|
87
81
|
`), 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);
|
|
88
82
|
};
|
|
89
83
|
|
|
84
|
+
const prefix = getPrefix(import.meta.url);
|
|
90
85
|
const vividFab = Fab.compose({
|
|
91
86
|
baseName: 'fab',
|
|
92
87
|
template: FabTemplate,
|
|
@@ -95,6 +90,9 @@ const vividFab = Fab.compose({
|
|
|
95
90
|
delegatesFocus: true
|
|
96
91
|
}
|
|
97
92
|
});
|
|
98
|
-
|
|
93
|
+
(async () => {
|
|
94
|
+
await loadComponentsModules(['icon', 'focus'], prefix);
|
|
95
|
+
designSystem.withPrefix(prefix).register(vividFab());
|
|
96
|
+
})();
|
|
99
97
|
|
|
100
98
|
export { vividFab };
|
package/focus/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as html, d as designSystem } from '../shared/index.js';
|
|
2
|
-
import { F as Focus } from '../shared/
|
|
1
|
+
import { h as html, d as designSystem, g as getPrefix } from '../shared/index.js';
|
|
2
|
+
import { F as Focus } from '../shared/focus2.js';
|
|
3
3
|
|
|
4
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022
|
|
4
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 15:37:45 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
5
|
|
|
6
6
|
let _ = t => t,
|
|
7
7
|
_t;
|
|
@@ -13,6 +13,6 @@ const vividFocus = Focus.compose({
|
|
|
13
13
|
template: focusTemplate,
|
|
14
14
|
styles: css_248z
|
|
15
15
|
});
|
|
16
|
-
designSystem.register(vividFocus());
|
|
16
|
+
designSystem.withPrefix(getPrefix(import.meta.url)).register(vividFocus());
|
|
17
17
|
|
|
18
18
|
export { vividFocus };
|
package/header/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
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/
|
|
1
|
+
import '../shared/es.promise.resolve.js';
|
|
2
|
+
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, g as getPrefix, d as designSystem } from '../shared/index.js';
|
|
3
|
+
import { l as loadComponentsModules } from '../shared/index2.js';
|
|
4
|
+
import { E as Elevation } from '../shared/elevation.js';
|
|
4
5
|
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
6
|
|
|
9
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022
|
|
7
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 15:37:45 GMT\n */\n.base {\n z-index: 1;\n block-size: calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2))) + calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 16)));\n font: var(--vvd-typography-heading-4);\n inline-size: 100%;\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 --vvd-header-block-size: calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2))) + calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 16)));\n}";
|
|
10
8
|
|
|
11
9
|
class Header extends FoundationElement {
|
|
12
10
|
constructor() {
|
|
@@ -51,11 +49,15 @@ const headerTemplate = context => {
|
|
|
51
49
|
`), elevationTag, x => !x.elevationShadow, getPartAlternate, elevationTag);
|
|
52
50
|
};
|
|
53
51
|
|
|
52
|
+
const prefix = getPrefix(import.meta.url);
|
|
54
53
|
const vividHeader = Header.compose({
|
|
55
54
|
baseName: 'header',
|
|
56
55
|
template: headerTemplate,
|
|
57
56
|
styles: css_248z
|
|
58
57
|
});
|
|
59
|
-
|
|
58
|
+
(async () => {
|
|
59
|
+
await loadComponentsModules(['elevation'], prefix);
|
|
60
|
+
designSystem.withPrefix(prefix).register(vividHeader());
|
|
61
|
+
})();
|
|
60
62
|
|
|
61
63
|
export { vividHeader };
|
package/icon/index.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { h as html, d as designSystem } from '../shared/index.js';
|
|
1
|
+
import { h as html, d as designSystem, g as getPrefix } from '../shared/index.js';
|
|
2
2
|
import { I as Icon } from '../shared/icon.js';
|
|
3
3
|
import { w as when } from '../shared/when.js';
|
|
4
4
|
import { c as classNames } from '../shared/class-names.js';
|
|
5
|
-
import '../shared/
|
|
6
|
-
import '../shared/iterators.js';
|
|
7
|
-
import '../shared/to-string.js';
|
|
5
|
+
import '../shared/es.promise.resolve.js';
|
|
8
6
|
import '../shared/string-trim.js';
|
|
9
7
|
import '../shared/_has.js';
|
|
10
8
|
|
|
@@ -28,6 +26,6 @@ const vividIcon = Icon.compose({
|
|
|
28
26
|
template: iconTemplate,
|
|
29
27
|
styles: css_248z
|
|
30
28
|
});
|
|
31
|
-
designSystem.register(vividIcon());
|
|
29
|
+
designSystem.withPrefix(getPrefix(import.meta.url)).register(vividIcon());
|
|
32
30
|
|
|
33
31
|
export { vividIcon };
|
package/index.js
CHANGED
|
@@ -6,26 +6,26 @@ export { vividBadge } from './badge/index.js';
|
|
|
6
6
|
export { vividBanner } from './banner/index.js';
|
|
7
7
|
export { vividBreadcrumb } from './breadcrumb/index.js';
|
|
8
8
|
export { vividBreadcrumbItem } from './breadcrumb-item/index.js';
|
|
9
|
-
|
|
9
|
+
import './button/index.js';
|
|
10
10
|
export { vividCalendar } from './calendar/index.js';
|
|
11
11
|
export { vividCalendarEvent } from './calendar-event/index.js';
|
|
12
12
|
export { vividCard } from './card/index.js';
|
|
13
13
|
export { vividCheckbox } from './checkbox/index.js';
|
|
14
|
-
export {
|
|
14
|
+
export { vividElevation } from './elevation/index.js';
|
|
15
15
|
export { vividDialog } from './dialog/index.js';
|
|
16
|
-
export {
|
|
16
|
+
export { vividDivider } from './divider/index.js';
|
|
17
17
|
export { vividFab } from './fab/index.js';
|
|
18
18
|
export { vividIcon } from './icon/index.js';
|
|
19
19
|
export { vividLayout } from './layout/index.js';
|
|
20
|
-
|
|
21
|
-
export {
|
|
20
|
+
import './listbox/index.js';
|
|
21
|
+
export { vividListboxOption } from './option/index.js';
|
|
22
22
|
export { vividMenu } from './menu/index.js';
|
|
23
|
-
export {
|
|
23
|
+
export { vividMenuItem } from './menu-item/index.js';
|
|
24
24
|
export { vividNav } from './nav/index.js';
|
|
25
25
|
export { vividNavDisclosure } from './nav-disclosure/index.js';
|
|
26
26
|
export { vividNavItem } from './nav-item/index.js';
|
|
27
27
|
export { vividNote } from './note/index.js';
|
|
28
|
-
export {
|
|
28
|
+
export { vividPopup } from './popup/index.js';
|
|
29
29
|
export { vividProgress } from './progress/index.js';
|
|
30
30
|
export { vividProgressRing } from './progress-ring/index.js';
|
|
31
31
|
export { vividRadio } from './radio/index.js';
|
|
@@ -36,39 +36,41 @@ export { vividSwitch } from './switch/index.js';
|
|
|
36
36
|
export { vividTextfield } from './text-field/index.js';
|
|
37
37
|
export { vividTextArea } from './text-area/index.js';
|
|
38
38
|
export { vividTooltip } from './tooltip/index.js';
|
|
39
|
-
export { d as designSystem,
|
|
39
|
+
export { d as designSystem, g as getPrefix } from './shared/index.js';
|
|
40
40
|
import './shared/class-names.js';
|
|
41
|
-
import './
|
|
42
|
-
import './shared/
|
|
43
|
-
import './shared/web.dom-collections.iterator.js';
|
|
44
|
-
import './shared/export.js';
|
|
45
|
-
import './shared/object-keys.js';
|
|
46
|
-
import './shared/iterators.js';
|
|
41
|
+
import './shared/es.promise.resolve.js';
|
|
42
|
+
import './shared/index2.js';
|
|
47
43
|
import './shared/affix.js';
|
|
48
44
|
import './shared/icon.js';
|
|
49
|
-
import './shared/to-string.js';
|
|
50
45
|
import './shared/string-trim.js';
|
|
51
46
|
import './shared/_has.js';
|
|
52
47
|
import './shared/apply-mixins.js';
|
|
48
|
+
import './shared/focus.js';
|
|
53
49
|
import './shared/focus2.js';
|
|
54
50
|
import './shared/when.js';
|
|
55
51
|
import './shared/enums.js';
|
|
56
|
-
import './shared/button.js';
|
|
57
|
-
import './shared/form-associated.js';
|
|
58
|
-
import './shared/key-codes.js';
|
|
59
|
-
import './shared/aria-global.js';
|
|
60
|
-
import './shared/start-end.js';
|
|
61
|
-
import './shared/ref.js';
|
|
62
52
|
import './shared/slotted.js';
|
|
63
53
|
import './shared/breadcrumb-item.js';
|
|
64
54
|
import './shared/anchor.js';
|
|
55
|
+
import './shared/aria-global.js';
|
|
56
|
+
import './shared/start-end.js';
|
|
57
|
+
import './shared/ref.js';
|
|
65
58
|
import './shared/text-anchor.template.js';
|
|
59
|
+
import './shared/button.js';
|
|
60
|
+
import './shared/button2.js';
|
|
61
|
+
import './shared/form-associated.js';
|
|
62
|
+
import './shared/key-codes.js';
|
|
66
63
|
import './shared/calendar-event.js';
|
|
67
64
|
import './shared/es.object.assign.js';
|
|
65
|
+
import './shared/elevation.js';
|
|
66
|
+
import './shared/divider.js';
|
|
68
67
|
import './shared/aria.js';
|
|
69
|
-
import './shared/
|
|
68
|
+
import './shared/listbox-option.js';
|
|
70
69
|
import './shared/dom.js';
|
|
70
|
+
import './shared/numbers.js';
|
|
71
|
+
import './shared/menu-item.js';
|
|
71
72
|
import './shared/direction.js';
|
|
73
|
+
import './shared/popup.js';
|
|
72
74
|
import './shared/text-anchor.js';
|
|
73
75
|
import './shared/base-progress.js';
|
|
74
76
|
import './shared/radio.js';
|
package/layout/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
1
|
+
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem, g as getPrefix } from '../shared/index.js';
|
|
2
2
|
import { c as classNames } from '../shared/class-names.js';
|
|
3
3
|
|
|
4
4
|
var AUTO_SIZING;
|
|
@@ -38,6 +38,6 @@ const vividLayout = Layout.compose({
|
|
|
38
38
|
template: layoutTemplate,
|
|
39
39
|
styles: css_248z
|
|
40
40
|
});
|
|
41
|
-
designSystem.register(vividLayout());
|
|
41
|
+
designSystem.withPrefix(getPrefix(import.meta.url)).register(vividLayout());
|
|
42
42
|
|
|
43
43
|
export { vividLayout };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import '../icon';
|
|
2
|
-
import '../focus';
|
|
3
1
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
4
2
|
export declare const vividAccordionItem: (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/avatar/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import '../icon';
|
|
2
1
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
2
|
export declare const vividAvatar: (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/badge/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import '../icon';
|
|
2
1
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
2
|
export declare const vividBadge: (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/banner/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import '../button';
|
|
2
1
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
2
|
export declare const vividBanner: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|