@vonage/vivid 3.0.0-next.21 → 3.0.0-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/accordion-item/index.js +11 -6
- package/badge/index.js +1 -1
- package/banner/index.js +9 -11
- package/breadcrumb/index.js +1 -0
- package/breadcrumb-item/index.js +11 -4
- package/button/index.js +5 -3
- package/calendar/index.js +31 -9
- package/calendar-event/index.js +19 -32
- package/card/index.js +10 -18
- package/fab/index.js +5 -3
- package/icon/index.js +1 -1
- package/index.js +11 -9
- package/lib/accordion-item/index.d.ts +2 -0
- package/lib/banner/banner.template.d.ts +0 -2
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/calendar/calendar.d.ts +3 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar-event/calendar-event.d.ts +3 -1
- package/lib/card/index.d.ts +0 -1
- package/lib/side-drawer/side-drawer.d.ts +8 -1
- package/lib/sidenav-item/index.d.ts +1 -0
- package/note/index.js +1 -1
- package/package.json +5 -2
- package/popup/index.js +6 -4
- package/progress/index.js +2 -2
- package/shared/aria-global.js +3 -40
- package/shared/button.js +1 -1
- package/shared/calendar-event.js +26 -0
- package/shared/es.object.assign.js +1 -1
- package/shared/export.js +444 -444
- package/shared/focus2.js +2 -459
- package/shared/form-associated.js +460 -0
- package/shared/icon.js +2 -2
- package/shared/{object-set-prototype-of.js → iterators.js} +20 -20
- package/shared/object-keys.js +1 -1
- package/shared/ref.js +41 -0
- package/shared/text-anchor.template.js +5 -2
- package/shared/to-string.js +1 -1
- package/shared/web.dom-collections.iterator.js +2 -2
- package/side-drawer/index.js +8587 -11
- package/sidenav-item/index.js +7 -6
- package/text/index.js +1 -1
- package/text-anchor/index.js +4 -1
- package/text-field/index.js +6 -4
- package/tooltip/index.js +4 -2
package/index.js
CHANGED
|
@@ -25,27 +25,29 @@ export { vividTooltip } from './tooltip/index.js';
|
|
|
25
25
|
export { d as designSystem, p as provideVividDesignSystem } from './shared/index.js';
|
|
26
26
|
import './shared/style-inject.es.js';
|
|
27
27
|
import './shared/class-names.js';
|
|
28
|
+
import './focus/index.js';
|
|
29
|
+
import './shared/focus.js';
|
|
28
30
|
import './shared/web.dom-collections.iterator.js';
|
|
29
31
|
import './shared/export.js';
|
|
30
32
|
import './shared/object-keys.js';
|
|
31
|
-
import './shared/
|
|
33
|
+
import './shared/iterators.js';
|
|
32
34
|
import './shared/affix.js';
|
|
33
35
|
import './shared/icon.js';
|
|
34
36
|
import './shared/to-string.js';
|
|
35
37
|
import './shared/_has.js';
|
|
36
38
|
import './shared/apply-mixins.js';
|
|
39
|
+
import './shared/focus2.js';
|
|
37
40
|
import './shared/when.js';
|
|
38
41
|
import './shared/enums.js';
|
|
39
|
-
import './text-anchor/index.js';
|
|
40
|
-
import './shared/text-anchor.js';
|
|
41
|
-
import './shared/anchor.js';
|
|
42
|
-
import './shared/aria-global.js';
|
|
43
|
-
import './shared/text-anchor.template.js';
|
|
44
|
-
import './focus/index.js';
|
|
45
|
-
import './shared/focus.js';
|
|
46
42
|
import './shared/button.js';
|
|
47
|
-
import './shared/
|
|
43
|
+
import './shared/form-associated.js';
|
|
44
|
+
import './shared/aria-global.js';
|
|
45
|
+
import './shared/ref.js';
|
|
48
46
|
import './shared/breadcrumb-item.js';
|
|
47
|
+
import './shared/anchor.js';
|
|
49
48
|
import './shared/slotted.js';
|
|
49
|
+
import './shared/text-anchor.template.js';
|
|
50
|
+
import './shared/calendar-event.js';
|
|
50
51
|
import './shared/es.object.assign.js';
|
|
51
52
|
import './shared/base-progress.js';
|
|
53
|
+
import './shared/text-anchor.js';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import '../icon';
|
|
2
|
+
import '../focus';
|
|
1
3
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
4
|
import '../icon';
|
|
3
5
|
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>>;
|
|
@@ -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>>;
|
|
@@ -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>>;
|
|
@@ -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>>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Connotation } from '../enums';
|
|
2
|
+
import type { Appearance, Connotation } from '../enums';
|
|
3
3
|
declare type CalendarEventConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Info | Connotation.Announcement>;
|
|
4
|
+
declare type CalendarEventAppearance = Extract<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle>;
|
|
4
5
|
export declare class CalendarEvent extends FoundationElement {
|
|
5
6
|
heading?: string;
|
|
6
7
|
description?: string;
|
|
7
8
|
connotation?: CalendarEventConnotation;
|
|
9
|
+
appearance?: CalendarEventAppearance;
|
|
8
10
|
overlapCount?: number;
|
|
9
11
|
start?: number;
|
|
10
12
|
duration?: number;
|
package/lib/card/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import '../elevation';
|
|
2
2
|
import '../icon';
|
|
3
|
-
import '../button';
|
|
4
3
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
5
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>>;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
import 'blocking-elements';
|
|
2
|
+
import 'wicg-inert';
|
|
3
|
+
import 'babel-polyfill';
|
|
1
4
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
5
|
export declare class SideDrawer extends FoundationElement {
|
|
6
|
+
#private;
|
|
7
|
+
asideEl: HTMLElement;
|
|
8
|
+
scrimEl: any;
|
|
3
9
|
alternate: boolean;
|
|
4
10
|
modal: boolean;
|
|
5
11
|
open: boolean;
|
|
6
12
|
position?: 'start' | 'end';
|
|
7
|
-
|
|
13
|
+
headerSlottedContent?: HTMLElement[];
|
|
14
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
8
15
|
}
|
|
@@ -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 vividSidenavItem: (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/note/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { w as when } from '../shared/when.js';
|
|
|
10
10
|
import { c as classNames } from '../shared/class-names.js';
|
|
11
11
|
import '../shared/icon.js';
|
|
12
12
|
import '../shared/export.js';
|
|
13
|
-
import '../shared/
|
|
13
|
+
import '../shared/iterators.js';
|
|
14
14
|
import '../shared/to-string.js';
|
|
15
15
|
import '../shared/_has.js';
|
|
16
16
|
import '../shared/object-keys.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./index.esm.js",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -36,7 +36,10 @@
|
|
|
36
36
|
"@microsoft/fast-foundation": "^2.46.9",
|
|
37
37
|
"@microsoft/fast-web-utilities": "^5.4.1",
|
|
38
38
|
"ramda": "^0.27.2",
|
|
39
|
-
"@floating-ui/dom": "^0.5.2"
|
|
39
|
+
"@floating-ui/dom": "^0.5.2",
|
|
40
|
+
"blocking-elements": "^0.1.1",
|
|
41
|
+
"wicg-inert": "^3.1.2",
|
|
42
|
+
"babel-polyfill": "^6.26.0"
|
|
40
43
|
},
|
|
41
44
|
"peerDependencies": {}
|
|
42
45
|
}
|
package/popup/index.js
CHANGED
|
@@ -4,20 +4,22 @@ import { F as FoundationElement, c as __classPrivateFieldGet, g as __classPrivat
|
|
|
4
4
|
import { s as speciesConstructor$1, f as functionApply } from '../shared/icon.js';
|
|
5
5
|
import { o as objectCreate } from '../shared/web.dom-collections.iterator.js';
|
|
6
6
|
import '../shared/es.object.assign.js';
|
|
7
|
-
import {
|
|
7
|
+
import { j as anObject$3, e as fails$5, g as global$3, v as functionCall, f as functionUncurryThis, Q as shared$1, y as internalState, _ as _export, w as wellKnownSymbol$2, u as defineBuiltIn$1, K as createNonEnumerableProperty$1, x as isObject$1, c as classofRaw, B as requireObjectCoercible$2, R as toIntegerOrInfinity$1, S as toPropertyKey$1, o as objectDefineProperty, J as createPropertyDescriptor$1, A as lengthOfArrayLike$1, T as toAbsoluteIndex$1, i as isCallable$1, U as toLength$1, z as getMethod$1 } from '../shared/export.js';
|
|
8
8
|
import { t as toString$3 } from '../shared/to-string.js';
|
|
9
9
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
10
10
|
import { w as when } from '../shared/when.js';
|
|
11
|
-
import { r as ref } from '../shared/
|
|
11
|
+
import { r as ref } from '../shared/ref.js';
|
|
12
12
|
import { c as classNames } from '../shared/class-names.js';
|
|
13
13
|
import '../icon/index.js';
|
|
14
|
-
import '../shared/
|
|
14
|
+
import '../shared/iterators.js';
|
|
15
15
|
import '../shared/_has.js';
|
|
16
16
|
import '../focus/index.js';
|
|
17
17
|
import '../shared/focus.js';
|
|
18
18
|
import '../shared/affix.js';
|
|
19
19
|
import '../shared/button.js';
|
|
20
20
|
import '../shared/apply-mixins.js';
|
|
21
|
+
import '../shared/form-associated.js';
|
|
22
|
+
import '../shared/aria-global.js';
|
|
21
23
|
import '../shared/focus2.js';
|
|
22
24
|
import '../shared/object-keys.js';
|
|
23
25
|
|
|
@@ -2069,7 +2071,7 @@ __decorate([attr({
|
|
|
2069
2071
|
|
|
2070
2072
|
__decorate([attr, __metadata("design:type", String)], Popup.prototype, "anchor", void 0);
|
|
2071
2073
|
|
|
2072
|
-
var css_248z = ".control {\n background-color: var(--vvd-color-surface-4dp);\n border-radius: inherit;\n contain: layout;\n inline-size: -moz-fit-content;\n inline-size: fit-content;\n}\n.control:not(.open) {\n display: none;\n}\n\n.popup-wrapper {\n position: fixed;\n border-radius: 6px;\n}\n\n.popup-content {\n display: grid;\n color: var(--vvd-color-on-canvas); /* neutral-100 */\n}\n.dismissible .popup-content {\n align-content: start;\n grid-template-columns: 1fr auto;\n}\n\n.arrow {\n position: absolute;\n z-index: -1;\n width: 8px;\n height: 8px;\n background-color: var(--vvd-color-surface-4dp);\n transform: rotate(45deg);\n}\n\n.dismissible-button {\n align-self: flex-start;\n margin-block-start:
|
|
2074
|
+
var css_248z = ".control {\n background-color: var(--vvd-color-surface-4dp);\n border-radius: inherit;\n contain: layout;\n inline-size: -moz-fit-content;\n inline-size: fit-content;\n}\n.control:not(.open) {\n display: none;\n}\n\n.popup-wrapper {\n position: fixed;\n border-radius: 6px;\n}\n\n.popup-content {\n display: grid;\n color: var(--vvd-color-on-canvas); /* neutral-100 */\n}\n.dismissible .popup-content {\n align-content: start;\n grid-template-columns: 1fr auto;\n}\n\n.arrow {\n position: absolute;\n z-index: -1;\n width: 8px;\n height: 8px;\n background-color: var(--vvd-color-surface-4dp);\n transform: rotate(45deg);\n}\n\n.dismissible-button {\n align-self: flex-start;\n margin-block-start: 4px;\n margin-inline-end: 4px;\n}";
|
|
2073
2075
|
styleInject(css_248z);
|
|
2074
2076
|
|
|
2075
2077
|
let _ = t => t,
|
package/progress/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
2
2
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
3
3
|
import '../shared/web.dom-collections.iterator.js';
|
|
4
|
-
import {
|
|
4
|
+
import { c as classofRaw, _ as _export, f as functionUncurryThis } from '../shared/export.js';
|
|
5
5
|
import { B as BaseProgress } from '../shared/base-progress.js';
|
|
6
6
|
import { w as when } from '../shared/when.js';
|
|
7
7
|
import { c as classNames } from '../shared/class-names.js';
|
|
8
8
|
import '../shared/object-keys.js';
|
|
9
|
-
import '../shared/
|
|
9
|
+
import '../shared/iterators.js';
|
|
10
10
|
|
|
11
11
|
var css_248z = ".base {\n height: 6px;\n align-items: center;\n margin: 0;\n outline: none;\n}\n.base:not(.connotation-pacific).connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta);\n}\n.base:not(.connotation-pacific).connotation-alert {\n --_connotation-color-primary: var(--vvd-color-alert);\n}\n.base:not(.connotation-pacific).connotation-success {\n --_connotation-color-primary: var(--vvd-color-success);\n}\n.base:not(.connotation-pacific):not(.connotation-cta, .connotation-alert, .connotation-success) {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n}\n.base.connotation-pacific {\n --_connotation-color-primary: linear-gradient(to right, var(--vvd-color-info-30), var(--vvd-color-cta-70));\n}\n\n.indeterminate {\n display: flex;\n overflow: hidden;\n width: 100%;\n height: 100%;\n border-radius: 3px;\n}\n\n.progress {\n position: relative;\n display: flex;\n align-items: center;\n background-color: var(--vvd-color-neutral-20);\n block-size: 100%;\n inline-size: 100%;\n}\n.progress .indeterminate {\n background-color: var(--_connotation-color-primary);\n}\n\n.determinate {\n background-color: var(--_connotation-color-primary);\n block-size: 100%;\n border-radius: 3px;\n transition: all 0.2s ease-in-out;\n}\n.connotation-pacific .determinate {\n background-image: var(--_connotation-color-primary);\n}\n\n.indeterminate-indicator-1, .indeterminate-indicator-2 {\n position: absolute;\n animation: indeterminate-1 2s infinite;\n animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);\n background-color: var(--vvd-color-neutral-20);\n block-size: 100%;\n inline-size: 30%;\n opacity: 0;\n}\n\n.indeterminate-indicator-2 {\n animation: indeterminate-2 2s infinite;\n inline-size: 60%;\n}\n\n.connotation-pacific .indeterminate-indicator-1, .connotation-pacific .indeterminate-indicator-2 {\n background-image: var(--_connotation-color-primary);\n}\n\n.reverse .indeterminate-indicator-1, .reverse .indeterminate-indicator-2 {\n animation-direction: reverse;\n}\n.reverse .determinate {\n position: absolute;\n right: 0;\n}\n\n.base.shape-sharp .determinate, .base.shape-sharp .indeterminate {\n border-radius: 0;\n}\n\n.base.paused .indeterminate-indicator-1,\n.base.paused .indeterminate-indicator-2 {\n animation-play-state: paused;\n background-color: var(--_connotation-color-primary);\n}\n\n.base.paused .determinate {\n background-color: var(--vvd-color-neutral-40);\n}\n\n@keyframes indeterminate-1 {\n 0% {\n opacity: 1;\n transform: translateX(-100%);\n }\n 70% {\n opacity: 1;\n transform: translateX(300%);\n }\n 70.01% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n transform: translateX(300%);\n }\n}\n@keyframes indeterminate-2 {\n 0% {\n opacity: 0;\n transform: translateX(-150%);\n }\n 29.99% {\n opacity: 0;\n }\n 30% {\n opacity: 1;\n transform: translateX(-150%);\n }\n 100% {\n opacity: 1;\n transform: translateX(166.66%);\n }\n}";
|
|
12
12
|
styleInject(css_248z);
|
package/shared/aria-global.js
CHANGED
|
@@ -1,42 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The runtime behavior for template references.
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
class RefBehavior {
|
|
8
|
-
/**
|
|
9
|
-
* Creates an instance of RefBehavior.
|
|
10
|
-
* @param target - The element to reference.
|
|
11
|
-
* @param propertyName - The name of the property to assign the reference to.
|
|
12
|
-
*/
|
|
13
|
-
constructor(target, propertyName) {
|
|
14
|
-
this.target = target;
|
|
15
|
-
this.propertyName = propertyName;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Bind this behavior to the source.
|
|
19
|
-
* @param source - The source to bind to.
|
|
20
|
-
* @param context - The execution context that the binding is operating within.
|
|
21
|
-
*/
|
|
22
|
-
bind(source) {
|
|
23
|
-
source[this.propertyName] = this.target;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Unbinds this behavior from the source.
|
|
27
|
-
* @param source - The source to unbind from.
|
|
28
|
-
*/
|
|
29
|
-
/* eslint-disable-next-line @typescript-eslint/no-empty-function */
|
|
30
|
-
unbind() { }
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* A directive that observes the updates a property with a reference to the element.
|
|
34
|
-
* @param propertyName - The name of the property to assign the reference to.
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
function ref(propertyName) {
|
|
38
|
-
return new AttachedBehaviorHTMLDirective("fast-ref", RefBehavior, propertyName);
|
|
39
|
-
}
|
|
1
|
+
import { h as html, _ as __decorate, a as attr } from './index.js';
|
|
2
|
+
import { r as ref } from './ref.js';
|
|
40
3
|
|
|
41
4
|
/**
|
|
42
5
|
* A mixin class implementing start and end elements.
|
|
@@ -153,4 +116,4 @@ __decorate([
|
|
|
153
116
|
attr({ attribute: "aria-roledescription" })
|
|
154
117
|
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", void 0);
|
|
155
118
|
|
|
156
|
-
export { ARIAGlobalStatesAndProperties as A, StartEnd as S
|
|
119
|
+
export { ARIAGlobalStatesAndProperties as A, StartEnd as S };
|
package/shared/button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as FoundationElement, _ as __decorate, a as attr, o as observable } from './index.js';
|
|
2
2
|
import { a as applyMixins } from './apply-mixins.js';
|
|
3
|
-
import { F as FormAssociated } from './
|
|
3
|
+
import { F as FormAssociated } from './form-associated.js';
|
|
4
4
|
import { A as ARIAGlobalStatesAndProperties, S as StartEnd } from './aria-global.js';
|
|
5
5
|
|
|
6
6
|
class _Button extends FoundationElement {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, n as nullableNumberConverter } from './index.js';
|
|
2
|
+
|
|
3
|
+
class CalendarEvent extends FoundationElement {}
|
|
4
|
+
|
|
5
|
+
__decorate([attr, __metadata("design:type", String)], CalendarEvent.prototype, "heading", void 0);
|
|
6
|
+
|
|
7
|
+
__decorate([attr, __metadata("design:type", String)], CalendarEvent.prototype, "description", void 0);
|
|
8
|
+
|
|
9
|
+
__decorate([attr, __metadata("design:type", String)], CalendarEvent.prototype, "connotation", void 0);
|
|
10
|
+
|
|
11
|
+
__decorate([attr, __metadata("design:type", String)], CalendarEvent.prototype, "appearance", void 0);
|
|
12
|
+
|
|
13
|
+
__decorate([attr({
|
|
14
|
+
converter: nullableNumberConverter,
|
|
15
|
+
attribute: 'overlap-count'
|
|
16
|
+
}), __metadata("design:type", Number)], CalendarEvent.prototype, "overlapCount", void 0);
|
|
17
|
+
|
|
18
|
+
__decorate([attr({
|
|
19
|
+
converter: nullableNumberConverter
|
|
20
|
+
}), __metadata("design:type", Number)], CalendarEvent.prototype, "start", void 0);
|
|
21
|
+
|
|
22
|
+
__decorate([attr({
|
|
23
|
+
converter: nullableNumberConverter
|
|
24
|
+
}), __metadata("design:type", Number)], CalendarEvent.prototype, "duration", void 0);
|
|
25
|
+
|
|
26
|
+
export { CalendarEvent as C };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as descriptors,
|
|
1
|
+
import { d as descriptors, f as functionUncurryThis, v as functionCall, e as fails$1, I as toObject$1, M as indexedObject, N as objectGetOwnPropertySymbols, O as objectPropertyIsEnumerable, _ as _export } from './export.js';
|
|
2
2
|
import { o as objectKeys$1 } from './object-keys.js';
|
|
3
3
|
|
|
4
4
|
var DESCRIPTORS = descriptors;
|