@vonage/vivid 3.0.0-next.9 → 3.0.0-next.91
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 +141 -4
- package/accordion/index.js +3 -12
- package/accordion-item/index.js +30 -38
- package/action-group/index.js +41 -0
- package/avatar/index.js +60 -0
- package/badge/index.js +16 -30
- package/banner/index.js +25 -111
- package/breadcrumb/index.js +21 -18
- package/breadcrumb-item/index.js +23 -20
- package/button/index.js +19 -757
- package/calendar/index.js +72 -67
- package/calendar-event/index.js +112 -0
- package/card/index.js +113 -0
- package/checkbox/index.js +176 -0
- package/dialog/index.js +229 -0
- package/divider/index.js +4 -0
- package/elevation/index.js +3 -31
- package/fab/index.js +99 -0
- package/focus/index.js +18 -3
- package/header/index.js +61 -0
- package/icon/index.js +10 -9
- package/index.js +57 -20
- package/layout/index.js +5 -15
- package/lib/accordion-item/accordion-item.d.ts +2 -2
- package/lib/accordion-item/index.d.ts +2 -1
- 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/{sidenav-item → action-group}/index.d.ts +1 -2
- package/lib/avatar/avatar.d.ts +15 -0
- package/lib/avatar/avatar.template.d.ts +4 -0
- package/lib/avatar/index.d.ts +3 -0
- package/lib/badge/badge.d.ts +3 -5
- package/lib/badge/index.d.ts +1 -1
- package/lib/banner/banner.d.ts +1 -1
- package/lib/banner/banner.template.d.ts +0 -2
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb/breadcrumb.template.d.ts +4 -0
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/button/button.d.ts +6 -5
- package/lib/button/index.d.ts +2 -19
- package/lib/calendar/calendar.d.ts +3 -1
- package/lib/calendar/index.d.ts +0 -1
- 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/index.d.ts +2 -0
- package/lib/card/card.d.ts +10 -0
- package/lib/{text/text.template.d.ts → card/card.template.d.ts} +2 -2
- package/lib/card/index.d.ts +4 -0
- package/lib/checkbox/checkbox.d.ts +5 -0
- package/lib/checkbox/checkbox.template.d.ts +4 -0
- package/lib/checkbox/index.d.ts +4 -0
- package/lib/components.d.ts +29 -10
- package/lib/dialog/dialog.d.ts +20 -0
- package/lib/dialog/dialog.template.d.ts +4 -0
- package/lib/dialog/index.d.ts +5 -0
- package/lib/divider/divider.d.ts +3 -0
- package/lib/divider/divider.template.d.ts +4 -0
- package/lib/divider/index.d.ts +2 -0
- package/lib/elevation/elevation.d.ts +1 -0
- package/lib/elevation/index.d.ts +1 -1
- package/lib/enums.d.ts +11 -6
- package/lib/fab/fab.d.ts +13 -0
- package/lib/fab/fab.template.d.ts +4 -0
- package/lib/fab/index.d.ts +4 -0
- package/lib/focus/index.d.ts +1 -1
- package/lib/header/header.d.ts +5 -0
- package/lib/header/header.template.d.ts +4 -0
- package/lib/header/index.d.ts +3 -0
- package/lib/icon/icon.d.ts +4 -3
- package/lib/layout/index.d.ts +1 -1
- package/lib/layout/layout.d.ts +3 -3
- package/lib/listbox-option/index.d.ts +4 -0
- package/lib/listbox-option/listbox-option.d.ts +7 -0
- package/lib/listbox-option/listbox-option.template.d.ts +4 -0
- package/lib/menu/index.d.ts +12 -0
- package/lib/menu/menu.d.ts +10 -0
- package/lib/menu/menu.template.d.ts +3 -0
- package/lib/menu-item/index.d.ts +3 -0
- package/lib/menu-item/menu-item.d.ts +7 -0
- package/lib/menu-item/menu-item.template.d.ts +5 -0
- package/lib/nav/index.d.ts +2 -0
- package/lib/nav/nav.d.ts +3 -0
- package/lib/nav/nav.template.d.ts +4 -0
- package/lib/nav-disclosure/index.d.ts +4 -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/index.d.ts +4 -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/{text → note}/index.d.ts +1 -1
- package/lib/note/note.d.ts +10 -0
- package/lib/note/note.template.d.ts +5 -0
- package/lib/number-field/index.d.ts +4 -0
- package/lib/number-field/number-field.d.ts +14 -0
- package/lib/number-field/number-field.template.d.ts +4 -0
- package/lib/popup/index.d.ts +1 -1
- package/lib/popup/popup.d.ts +2 -1
- package/lib/progress/progress.d.ts +1 -1
- package/lib/progress-ring/progress-ring.d.ts +2 -1
- package/lib/radio/index.d.ts +3 -0
- package/lib/radio/radio.d.ts +4 -0
- package/lib/radio/radio.template.d.ts +4 -0
- package/lib/radio-group/index.d.ts +10 -0
- package/lib/radio-group/radio-group.d.ts +4 -0
- package/lib/radio-group/radio-group.template.d.ts +4 -0
- package/lib/side-drawer/index.d.ts +1 -1
- package/lib/side-drawer/side-drawer.d.ts +3 -2
- package/lib/text-anchor/text-anchor.d.ts +1 -1
- package/lib/text-area/index.d.ts +4 -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/index.d.ts +4 -0
- package/lib/text-field/text-field.d.ts +14 -0
- package/lib/text-field/text-field.template.d.ts +5 -0
- package/lib/tooltip/tooltip.d.ts +2 -2
- package/listbox-option/index.js +248 -0
- package/menu/index.js +376 -0
- package/menu-item/index.js +20 -0
- package/nav/index.js +17 -0
- package/nav-disclosure/index.js +81 -0
- package/nav-item/index.js +45 -0
- package/note/index.js +58 -0
- package/number-field/index.js +516 -0
- package/package.json +58 -10
- package/popup/index.js +22 -2061
- package/progress/index.js +35 -36
- package/progress-ring/index.js +11 -11
- package/radio/index.js +50 -0
- package/radio-group/index.js +435 -0
- package/shared/affix.js +1 -6
- 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/dialog-polyfill.esm.js +858 -0
- package/shared/direction.js +20 -0
- package/shared/enums.js +62 -0
- package/shared/es.object.assign.js +3 -2
- package/shared/export.js +1017 -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 +331 -0
- package/shared/icon.js +534 -531
- package/shared/index.js +108 -79
- package/shared/index2.js +100 -14
- package/shared/index3.js +31 -0
- package/shared/index4.js +77 -0
- package/shared/index5.js +1525 -0
- package/shared/index6.js +349 -0
- package/shared/iterators.js +61 -0
- package/shared/key-codes.js +96 -0
- package/shared/object-keys.js +13 -0
- package/shared/patterns/focus.d.ts +3 -0
- package/shared/patterns/form-elements/form-elements.d.ts +28 -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/slotted.js +1 -1
- package/shared/start-end.js +50 -0
- package/shared/text-anchor.js +2 -13
- package/shared/text-anchor.template.js +6 -5
- package/shared/to-string.js +51 -0
- package/shared/web.dom-collections.iterator.js +74 -1081
- package/side-drawer/index.js +41 -33
- package/styles/core/all.css +75 -0
- package/styles/core/theme.css +11 -0
- package/styles/core/typography.css +69 -0
- package/styles/fonts/SpeziaCompleteVariableItalicWeb.woff2 +0 -0
- package/styles/fonts/SpeziaCompleteVariableUprightWeb.woff2 +0 -0
- package/styles/fonts/SpeziaMonoCompleteVariableWeb.woff2 +0 -0
- package/styles/fonts/spezia.css +9 -12
- package/styles/tokens/theme-dark.css +230 -0
- package/styles/tokens/theme-light.css +230 -0
- package/text-anchor/index.js +9 -1
- package/text-area/index.js +288 -0
- package/text-field/index.js +129 -0
- package/tooltip/index.js +23 -24
- package/lib/text/text.d.ts +0 -10
- package/shared/style-inject.es.js +0 -28
- package/sidenav-item/index.js +0 -38
- package/styles/themes/dark.css +0 -205
- package/styles/themes/light.css +0 -205
- package/text/index.js +0 -45
package/icon/index.js
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
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/
|
|
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-
|
|
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 block-size: var(--_icon-block-size);\n color: currentColor;\n contain: strict;\n inline-size: var(--_icon-block-size);\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 --_icon-block-size: 1em;\n}\n\n.control.size-small {\n --_icon-block-size: calc(calc(1px * (40 + 8 * clamp(-1, var(--vvd-size-density, 0), 1))) - calc(1px * (40 + 8 * clamp(-1, var(--vvd-size-density, 0), 1) - 16)));\n}\n\n.control.size-medium {\n --_icon-block-size: calc(1px * (40 + 8 * clamp(-1, var(--vvd-size-density, 0), 1) - 16));\n}\n\n.control.size-large {\n --_icon-block-size: calc(1px * (40 + 8 * clamp(-1, var(--vvd-size-density, 0), 1) - 8));\n}";
|
|
11
11
|
|
|
12
12
|
let _ = t => t,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
_t,
|
|
14
|
+
_t2;
|
|
16
15
|
const getClasses = ({
|
|
17
16
|
connotation,
|
|
18
17
|
size
|
|
19
18
|
}) => classNames('control', [`connotation-${connotation}`, Boolean(connotation)], [`size-${size}`, Boolean(size)]);
|
|
20
|
-
|
|
21
19
|
const iconTemplate = () => html(_t || (_t = _`
|
|
22
20
|
<figure class="${0}">
|
|
23
21
|
${0}
|
|
24
22
|
</figure>
|
|
25
|
-
`), getClasses, when(x => x.svg, x => html(_t2 || (_t2 = _`${0}`), x.svg)));
|
|
23
|
+
`), getClasses, when(x => isValidString(x.svg), x => html(_t2 || (_t2 = _`${0}`), x.svg)));
|
|
24
|
+
function isValidString(value) {
|
|
25
|
+
return typeof value === 'string' && value.length > 0;
|
|
26
|
+
}
|
|
26
27
|
|
|
27
28
|
const vividIcon = Icon.compose({
|
|
28
29
|
baseName: 'icon',
|
package/index.js
CHANGED
|
@@ -1,32 +1,69 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
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 {
|
|
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 {
|
|
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 { vividListboxOption } from './listbox-option/index.js';
|
|
21
|
+
export { vividMenu } from './menu/index.js';
|
|
22
|
+
export { v as vividMenuItem } from './shared/index6.js';
|
|
23
|
+
export { vividNav } from './nav/index.js';
|
|
24
|
+
export { vividNavDisclosure } from './nav-disclosure/index.js';
|
|
25
|
+
export { vividNavItem } from './nav-item/index.js';
|
|
26
|
+
export { vividNote } from './note/index.js';
|
|
27
|
+
export { v as vividPopup } from './shared/index5.js';
|
|
28
|
+
export { vividProgress } from './progress/index.js';
|
|
29
|
+
export { vividProgressRing } from './progress-ring/index.js';
|
|
30
|
+
export { vividRadio } from './radio/index.js';
|
|
31
|
+
export { vividRadioGroup } from './radio-group/index.js';
|
|
32
|
+
export { vividSideDrawer } from './side-drawer/index.js';
|
|
33
|
+
export { vividTextfield } from './text-field/index.js';
|
|
34
|
+
export { vividTextArea } from './text-area/index.js';
|
|
13
35
|
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
36
|
export { d as designSystem, p as provideVividDesignSystem } from './shared/index.js';
|
|
18
|
-
import './shared/
|
|
37
|
+
import './shared/class-names.js';
|
|
38
|
+
import './focus/index.js';
|
|
39
|
+
import './shared/focus.js';
|
|
19
40
|
import './shared/web.dom-collections.iterator.js';
|
|
41
|
+
import './shared/export.js';
|
|
42
|
+
import './shared/object-keys.js';
|
|
43
|
+
import './shared/iterators.js';
|
|
20
44
|
import './shared/affix.js';
|
|
21
45
|
import './shared/icon.js';
|
|
46
|
+
import './shared/to-string.js';
|
|
22
47
|
import './shared/_has.js';
|
|
23
|
-
import './shared/anchor.js';
|
|
24
48
|
import './shared/apply-mixins.js';
|
|
25
|
-
import './shared/
|
|
26
|
-
import './shared/text-anchor.template.js';
|
|
27
|
-
import './shared/class-names.js';
|
|
28
|
-
import './shared/style-inject.es.js';
|
|
49
|
+
import './shared/focus2.js';
|
|
29
50
|
import './shared/when.js';
|
|
30
|
-
import './shared/
|
|
51
|
+
import './shared/enums.js';
|
|
52
|
+
import './shared/button.js';
|
|
53
|
+
import './shared/form-associated.js';
|
|
54
|
+
import './shared/key-codes.js';
|
|
55
|
+
import './shared/aria-global.js';
|
|
56
|
+
import './shared/start-end.js';
|
|
57
|
+
import './shared/ref.js';
|
|
31
58
|
import './shared/slotted.js';
|
|
59
|
+
import './shared/breadcrumb-item.js';
|
|
60
|
+
import './shared/anchor.js';
|
|
61
|
+
import './shared/text-anchor.template.js';
|
|
62
|
+
import './shared/calendar-event.js';
|
|
32
63
|
import './shared/es.object.assign.js';
|
|
64
|
+
import './shared/aria.js';
|
|
65
|
+
import './shared/direction.js';
|
|
66
|
+
import './shared/text-anchor.js';
|
|
67
|
+
import './shared/base-progress.js';
|
|
68
|
+
import './shared/radio.js';
|
|
69
|
+
import './shared/form-elements.js';
|
package/layout/index.js
CHANGED
|
@@ -1,53 +1,43 @@
|
|
|
1
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
2
|
import { c as classNames } from '../shared/class-names.js';
|
|
4
3
|
|
|
5
4
|
var AUTO_SIZING;
|
|
6
|
-
|
|
7
5
|
(function (AUTO_SIZING) {
|
|
8
6
|
AUTO_SIZING["Fit"] = "fit";
|
|
9
7
|
AUTO_SIZING["Fill"] = "fill";
|
|
10
8
|
})(AUTO_SIZING || (AUTO_SIZING = {}));
|
|
11
|
-
|
|
12
9
|
class Layout extends FoundationElement {}
|
|
13
|
-
|
|
14
10
|
__decorate([attr, __metadata("design:type", String)], Layout.prototype, "gutters", void 0);
|
|
15
|
-
|
|
16
11
|
__decorate([attr({
|
|
17
12
|
attribute: 'column-basis'
|
|
18
13
|
}), __metadata("design:type", String)], Layout.prototype, "columnBasis", void 0);
|
|
19
|
-
|
|
20
14
|
__decorate([attr({
|
|
21
15
|
attribute: 'column-spacing'
|
|
22
16
|
}), __metadata("design:type", String)], Layout.prototype, "columnSpacing", void 0);
|
|
23
|
-
|
|
24
17
|
__decorate([attr({
|
|
25
18
|
attribute: 'auto-sizing'
|
|
26
19
|
}), __metadata("design:type", String)], Layout.prototype, "autoSizing", void 0);
|
|
27
20
|
|
|
28
|
-
var css_248z = "/* #region SIZEs */\n/* #region BASES */\n/* #region SPACES */\n.control {\n display: grid;\n grid-auto-rows: min-content;\n}\n.control.column-basis-
|
|
29
|
-
styleInject(css_248z);
|
|
21
|
+
var css_248z = "/* #region SIZEs */\n/* #region BASES */\n/* #region SPACES */\n.control {\n display: grid;\n grid-auto-rows: min-content;\n}\n.control.column-basis-small {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(160px, 1fr)));\n}\n.control:not(.column-basis-small):not(.column-basis-medium):not(.column-basis-large):not(.column-basis-block), .control.column-basis-medium {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(320px, 1fr)));\n}\n.control.column-basis-large {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(380px, 1fr)));\n}\n.control.column-basis-block {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(1fr, 1fr)));\n}\n.control.column-spacing-small {\n gap: 16px;\n}\n.control.column-spacing-small-inline {\n gap: 0 16px;\n}\n.control.column-spacing-small-block {\n gap: 16px 0;\n}\n.control:not(.column-spacing-small):not(.column-spacing-small-inline):not(.column-spacing-small-block):not(.column-spacing-medium):not(.column-spacing-medium-inline):not(.column-spacing-medium-block):not(.column-spacing-large):not(.column-spacing-large-inline):not(.column-spacing-large-block), .control.column-spacing-medium {\n gap: 24px;\n}\n.control.column-spacing-medium-inline {\n gap: 0 24px;\n}\n.control.column-spacing-medium-block {\n gap: 24px 0;\n}\n.control.column-spacing-large {\n gap: 32px;\n}\n.control.column-spacing-large-inline {\n gap: 0 32px;\n}\n.control.column-spacing-large-block {\n gap: 32px 0;\n}\n.control.gutters-small {\n margin: 16px;\n}\n.control.gutters-small-inline {\n margin: 0 16px;\n}\n.control.gutters-small-block {\n margin: 16px 0;\n}\n.control.gutters-medium {\n margin: 24px;\n}\n.control.gutters-medium-inline {\n margin: 0 24px;\n}\n.control.gutters-medium-block {\n margin: 24px 0;\n}\n.control.gutters-large {\n margin: 32px;\n}\n.control.gutters-large-inline {\n margin: 0 32px;\n}\n.control.gutters-large-block {\n margin: 32px 0;\n}\n.control.auto-sizing-fill {\n --_auto-sizing: auto-fill;\n}\n.control:not(.auto-sizing-fill):not(.auto-sizing-fit), .control.auto-sizing-fit {\n --_auto-sizing: auto-fit;\n}";
|
|
30
22
|
|
|
31
23
|
let _ = t => t,
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
_t;
|
|
34
25
|
const getClasses = ({
|
|
35
26
|
columnBasis,
|
|
36
27
|
gutters,
|
|
37
28
|
columnSpacing,
|
|
38
29
|
autoSizing
|
|
39
30
|
}) => classNames('control', [`column-basis-${columnBasis}`, Boolean(columnBasis)], [`gutters-${gutters}`, Boolean(gutters)], [`column-spacing-${columnSpacing}`, Boolean(columnSpacing)], [`auto-sizing-${autoSizing}`, Boolean(autoSizing)]);
|
|
40
|
-
|
|
41
31
|
const layoutTemplate = () => html(_t || (_t = _`
|
|
42
32
|
<div class="${0}">
|
|
43
33
|
<slot></slot>
|
|
44
34
|
</div>`), getClasses);
|
|
45
35
|
|
|
46
|
-
const
|
|
36
|
+
const vividLayout = Layout.compose({
|
|
47
37
|
baseName: 'layout',
|
|
48
38
|
template: layoutTemplate,
|
|
49
39
|
styles: css_248z
|
|
50
40
|
});
|
|
51
|
-
designSystem.register(
|
|
41
|
+
designSystem.register(vividLayout());
|
|
52
42
|
|
|
53
|
-
export {
|
|
43
|
+
export { vividLayout };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
3
3
|
export declare class AccordionItem extends FoundationElement {
|
|
4
|
-
heading
|
|
4
|
+
heading?: string;
|
|
5
5
|
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
6
6
|
noIndicator: boolean;
|
|
7
|
-
meta
|
|
7
|
+
meta?: string;
|
|
8
8
|
open: boolean;
|
|
9
9
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
10
10
|
private emitEvent;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
1
|
import '../icon';
|
|
2
|
+
import '../focus';
|
|
3
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
4
|
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>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance, Shape } from '../enums.js';
|
|
3
|
+
export declare type ActionGroupAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
|
|
4
|
+
declare type ActionGroupShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
5
|
+
export declare class ActionGroup extends FoundationElement {
|
|
6
|
+
shape?: ActionGroupShape;
|
|
7
|
+
appearance?: ActionGroupAppearance;
|
|
8
|
+
tight: boolean;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
package/lib/{sidenav-item/sidenav-item.template.d.ts → action-group/action-group.template.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type {
|
|
4
|
-
export declare const
|
|
3
|
+
import type { ActionGroup } from './action-group';
|
|
4
|
+
export declare const ActionGroupTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<ActionGroup>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import '../icon';
|
|
2
1
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
export declare const
|
|
2
|
+
export declare const vividActionGroup: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance, Connotation, Density, Shape } from '../enums.js';
|
|
3
|
+
export declare type AvatarConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
4
|
+
export declare type AvatarAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined>;
|
|
5
|
+
declare type AvatarShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
6
|
+
declare type AvatarDensity = Extract<Density, Density.Condensed | Density.Normal | Density.Extended>;
|
|
7
|
+
export declare class Avatar extends FoundationElement {
|
|
8
|
+
connotation?: AvatarConnotation;
|
|
9
|
+
shape?: AvatarShape;
|
|
10
|
+
appearance?: AvatarAppearance;
|
|
11
|
+
density?: AvatarDensity;
|
|
12
|
+
icon?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Avatar } from './avatar';
|
|
4
|
+
export declare const AvatarTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Avatar>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '../icon';
|
|
2
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
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/badge.d.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
3
|
-
import type { Appearance, Connotation, Shape
|
|
4
|
-
declare type BadgeConnotation = Extract<Connotation, Connotation.
|
|
3
|
+
import type { Appearance, Connotation, Shape } from '../enums.js';
|
|
4
|
+
declare type BadgeConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information>;
|
|
5
5
|
declare type BadgeAppearance = Extract<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle>;
|
|
6
6
|
declare type BadgeShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
|
-
declare type BadgeSize = Extract<Size, Size.BaseSmall | Size.Base | Size.BaseLarge>;
|
|
8
7
|
export declare class Badge extends FoundationElement {
|
|
9
8
|
connotation?: BadgeConnotation;
|
|
10
9
|
shape?: BadgeShape;
|
|
11
10
|
appearance?: BadgeAppearance;
|
|
12
|
-
|
|
13
|
-
text: string;
|
|
11
|
+
text?: string;
|
|
14
12
|
}
|
|
15
13
|
export interface Badge extends AffixIconWithTrailing {
|
|
16
14
|
}
|
package/lib/badge/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '../icon';
|
|
2
2
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
export declare const
|
|
3
|
+
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/banner.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import { Connotation } from '../enums';
|
|
3
3
|
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
|
-
export declare type BannerConnotation = Connotation.
|
|
4
|
+
export declare type BannerConnotation = Connotation.Information | Connotation.Announcement | Connotation.Success | Connotation.Warning | Connotation.Alert;
|
|
5
5
|
export declare class Banner extends FoundationElement {
|
|
6
6
|
#private;
|
|
7
7
|
actionHref: string | undefined;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import '../button';
|
|
4
|
-
import '../text-anchor';
|
|
5
3
|
import type { Banner } from './banner';
|
|
6
4
|
export declare const BannerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Banner>;
|
package/lib/banner/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import '../button';
|
|
1
2
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
3
|
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>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { FoundationElementTemplate } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Breadcrumb } from './breadcrumb';
|
|
4
|
+
export declare const breadcrumbTemplate: FoundationElementTemplate<ViewTemplate<Breadcrumb>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import '../icon';
|
|
2
|
+
import '../focus';
|
|
2
3
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
4
|
export declare const vividBreadcrumbItem: (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/button/button.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance, Connotation,
|
|
2
|
+
import type { Appearance, Connotation, Density, Shape } from '../enums.js';
|
|
3
3
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
|
-
declare type ButtonConnotation = Extract<Connotation, Connotation.
|
|
4
|
+
declare type ButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert>;
|
|
5
5
|
export declare type ButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
|
|
6
6
|
declare type ButtonShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
|
-
declare type
|
|
7
|
+
declare type ButtonDensity = Extract<Density, Density.Condensed | Density.Normal | Density.Extended>;
|
|
8
8
|
export declare class Button extends FoundationButton {
|
|
9
9
|
connotation?: ButtonConnotation;
|
|
10
10
|
shape?: ButtonShape;
|
|
11
11
|
appearance?: ButtonAppearance;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
density?: ButtonDensity;
|
|
13
|
+
stacked: boolean;
|
|
14
|
+
label?: string;
|
|
14
15
|
}
|
|
15
16
|
export interface Button extends AffixIconWithTrailing {
|
|
16
17
|
}
|
package/lib/button/index.d.ts
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
import '../icon';
|
|
2
2
|
import '../focus';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
export declare const vividButton: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
6
|
-
baseName: string;
|
|
7
|
-
baseClass: typeof FastButton;
|
|
8
|
-
template: any;
|
|
9
|
-
styles: import("@microsoft/fast-element").ComposableStyles;
|
|
10
|
-
shadowOptions: {
|
|
11
|
-
delegatesFocus: true;
|
|
12
|
-
};
|
|
13
|
-
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
14
|
-
baseName: string;
|
|
15
|
-
baseClass: typeof FastButton;
|
|
16
|
-
template: any;
|
|
17
|
-
styles: import("@microsoft/fast-element").ComposableStyles;
|
|
18
|
-
shadowOptions: {
|
|
19
|
-
delegatesFocus: true;
|
|
20
|
-
};
|
|
21
|
-
}, typeof Button>;
|
|
3
|
+
import { type FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
4
|
+
export declare const vividButton: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
export declare class Calendar extends FoundationElement {
|
|
3
|
+
#private;
|
|
3
4
|
datetime?: Date | string;
|
|
4
5
|
startDay?: 'sunday' | 'monday';
|
|
5
6
|
locales?: string | string[] | undefined;
|
|
6
7
|
hour12: boolean;
|
|
7
8
|
getEventContext: (this: Calendar, e: KeyboardEvent | MouseEvent) => import("./helpers/calendar.event-context").CalendarEventContext | null;
|
|
9
|
+
private getCalendarEventContainingCell;
|
|
8
10
|
private arrowKeysInteractions;
|
|
9
|
-
private
|
|
11
|
+
private activateElement;
|
|
10
12
|
onKeydown({ key }: KeyboardEvent): boolean;
|
|
11
13
|
}
|
package/lib/calendar/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import '../elevation';
|
|
2
1
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
2
|
export declare const vividCalendar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance, Connotation } from '../enums';
|
|
3
|
+
declare type CalendarEventConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information | Connotation.Announcement>;
|
|
4
|
+
declare type CalendarEventAppearance = Extract<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle>;
|
|
5
|
+
export declare class CalendarEvent extends FoundationElement {
|
|
6
|
+
heading?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
connotation?: CalendarEventConnotation;
|
|
9
|
+
appearance?: CalendarEventAppearance;
|
|
10
|
+
overlapCount?: number;
|
|
11
|
+
start?: number;
|
|
12
|
+
duration?: number;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { CalendarEvent } from './calendar-event';
|
|
4
|
+
export declare const CalendarEventTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<CalendarEvent>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const vividCalendarEvent: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Card extends FoundationElement {
|
|
3
|
+
headline?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
elevation?: 0 | 2 | 4 | 8 | 12 | 16 | 24;
|
|
8
|
+
graphicSlottedContent?: HTMLElement[];
|
|
9
|
+
hasMetaSlottedContent?: HTMLElement[];
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type {
|
|
4
|
-
export declare const
|
|
3
|
+
import type { Card } from './card';
|
|
4
|
+
export declare const CardTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Card>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import '../elevation';
|
|
2
|
+
import '../icon';
|
|
3
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
4
|
+
export declare const vividCard: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { CheckboxOptions, FoundationElementTemplate } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Checkbox } from './checkbox';
|
|
4
|
+
export declare const CheckboxTemplate: FoundationElementTemplate<ViewTemplate<Checkbox>, CheckboxOptions>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import '../icon';
|
|
2
|
+
import '../focus';
|
|
3
|
+
import type { CheckboxOptions } from '@microsoft/fast-foundation';
|
|
4
|
+
export declare const vividCheckbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<CheckboxOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<CheckboxOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
package/lib/components.d.ts
CHANGED
|
@@ -1,16 +1,35 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './accordion';
|
|
2
|
+
export * from './accordion-item';
|
|
3
|
+
export * from './action-group';
|
|
4
|
+
export * from './avatar';
|
|
2
5
|
export * from './badge';
|
|
6
|
+
export * from './banner';
|
|
7
|
+
export * from './breadcrumb';
|
|
8
|
+
export * from './breadcrumb-item';
|
|
3
9
|
export * from './button';
|
|
4
|
-
export * from './
|
|
10
|
+
export * from './calendar';
|
|
11
|
+
export * from './calendar-event';
|
|
12
|
+
export * from './card';
|
|
13
|
+
export * from './checkbox';
|
|
14
|
+
export * from './elevation';
|
|
15
|
+
export * from './dialog';
|
|
16
|
+
export * from './divider';
|
|
17
|
+
export * from './fab';
|
|
5
18
|
export * from './icon';
|
|
6
19
|
export * from './layout';
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
20
|
+
export * from './listbox-option';
|
|
21
|
+
export * from './menu';
|
|
22
|
+
export * from './menu-item';
|
|
23
|
+
export * from './nav';
|
|
24
|
+
export * from './nav-disclosure';
|
|
25
|
+
export * from './nav-item';
|
|
26
|
+
export * from './note';
|
|
12
27
|
export * from './popup';
|
|
28
|
+
export * from './progress';
|
|
29
|
+
export * from './progress-ring';
|
|
30
|
+
export * from './radio';
|
|
31
|
+
export * from './radio-group';
|
|
32
|
+
export * from './side-drawer';
|
|
33
|
+
export * from './text-field';
|
|
34
|
+
export * from './text-area';
|
|
13
35
|
export * from './tooltip';
|
|
14
|
-
export * from './banner';
|
|
15
|
-
export * from './accordion-item';
|
|
16
|
-
export * from './accordion';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Dialog extends FoundationElement {
|
|
3
|
+
#private;
|
|
4
|
+
open: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
headline?: string;
|
|
8
|
+
ariaLabelledBy: string | null;
|
|
9
|
+
ariaLabel: string | null;
|
|
10
|
+
ariaDescribedBy: string | null;
|
|
11
|
+
set returnValue(value: string);
|
|
12
|
+
get returnValue(): string;
|
|
13
|
+
get modal(): boolean;
|
|
14
|
+
openChanged(oldValue: boolean, newValue: boolean): void;
|
|
15
|
+
close(): void;
|
|
16
|
+
show(): void;
|
|
17
|
+
showModal(): void;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Dialog } from './dialog';
|
|
4
|
+
export declare const DialogTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Dialog>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import '../icon';
|
|
2
|
+
import '../button';
|
|
3
|
+
import '../elevation';
|
|
4
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
5
|
+
export declare const vividDialog: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Divider } from './divider';
|
|
4
|
+
export declare const DividerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Divider>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const vividDivider: (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/elevation/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const vividElevation: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|