@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.
Files changed (120) hide show
  1. package/README.md +24 -0
  2. package/accordion/index.js +3 -3
  3. package/accordion-item/index.js +12 -12
  4. package/action-group/index.js +3 -7
  5. package/avatar/index.js +10 -10
  6. package/badge/index.js +9 -9
  7. package/banner/index.js +9 -19
  8. package/breadcrumb/index.js +2 -2
  9. package/breadcrumb-item/index.js +13 -14
  10. package/button/index.js +92 -16
  11. package/calendar/index.js +3 -7
  12. package/calendar-event/index.js +3 -6
  13. package/card/index.js +9 -11
  14. package/checkbox/index.js +11 -12
  15. package/custom-elements.json +49 -49
  16. package/dialog/index.js +9 -25
  17. package/divider/index.js +26 -3
  18. package/elevation/index.js +25 -3
  19. package/fab/index.js +12 -14
  20. package/focus/index.js +4 -4
  21. package/header/index.js +10 -8
  22. package/icon/index.js +3 -5
  23. package/index.js +24 -22
  24. package/layout/index.js +2 -2
  25. package/lib/accordion-item/index.d.ts +0 -2
  26. package/lib/avatar/index.d.ts +0 -1
  27. package/lib/badge/index.d.ts +0 -1
  28. package/lib/banner/index.d.ts +0 -1
  29. package/lib/breadcrumb-item/index.d.ts +0 -2
  30. package/lib/button/index.d.ts +1 -4
  31. package/lib/card/index.d.ts +0 -2
  32. package/lib/checkbox/index.d.ts +0 -2
  33. package/lib/components.d.ts +1 -1
  34. package/lib/dialog/index.d.ts +0 -3
  35. package/lib/fab/index.d.ts +0 -2
  36. package/lib/header/index.d.ts +0 -1
  37. package/lib/listbox/index.d.ts +1 -4
  38. package/lib/menu/index.d.ts +0 -2
  39. package/lib/menu-item/index.d.ts +0 -1
  40. package/lib/nav-disclosure/index.d.ts +0 -2
  41. package/lib/nav-item/index.d.ts +0 -2
  42. package/lib/note/note.template.d.ts +0 -1
  43. package/lib/number-field/index.d.ts +0 -2
  44. package/lib/{listbox-option → option}/index.d.ts +0 -2
  45. package/lib/{listbox-option/listbox-option.d.ts → option/option.d.ts} +0 -0
  46. package/lib/{listbox-option/listbox-option.template.d.ts → option/option.template.d.ts} +1 -1
  47. package/lib/popup/index.d.ts +0 -2
  48. package/lib/radio/index.d.ts +0 -1
  49. package/lib/slider/index.d.ts +0 -1
  50. package/lib/switch/index.d.ts +0 -2
  51. package/lib/text-area/index.d.ts +0 -2
  52. package/lib/text-field/index.d.ts +0 -2
  53. package/lib/text-field/text-field.template.d.ts +0 -1
  54. package/lib/tooltip/index.d.ts +0 -1
  55. package/listbox/index.js +14 -18
  56. package/menu/index.js +12 -26
  57. package/menu-item/index.js +82 -13
  58. package/nav/index.js +2 -2
  59. package/nav-disclosure/index.js +11 -13
  60. package/nav-item/index.js +11 -13
  61. package/note/index.js +10 -10
  62. package/number-field/index.js +14 -15
  63. package/option/index.js +75 -0
  64. package/package.json +3 -2
  65. package/popup/index.js +57 -20
  66. package/progress/index.js +3 -7
  67. package/progress-ring/index.js +3 -3
  68. package/radio/index.js +11 -6
  69. package/radio-group/index.js +3 -3
  70. package/shared/affix.js +0 -1
  71. package/shared/anchor.js +1 -1
  72. package/shared/apply-mixins.js +1 -1
  73. package/shared/base-progress.js +1 -1
  74. package/shared/breadcrumb-item.js +1 -1
  75. package/shared/button.js +18 -195
  76. package/shared/button2.js +200 -0
  77. package/shared/calendar-event.js +1 -1
  78. package/shared/design-system/index.d.ts +1 -1
  79. package/shared/{index4.js → divider.js} +2 -24
  80. package/shared/elevation.js +10 -0
  81. package/shared/es.object.assign.js +1 -59
  82. package/shared/es.promise.resolve.js +944 -0
  83. package/shared/es.regexp.to-string.js +1 -2
  84. package/shared/focus.js +9 -3
  85. package/shared/focus2.js +3 -9
  86. package/shared/form-associated.js +1 -1
  87. package/shared/form-elements.js +2 -3
  88. package/shared/icon.js +9 -1098
  89. package/shared/index.js +3673 -5
  90. package/shared/index2.js +6 -104
  91. package/shared/{index5.js → listbox-option.js} +11 -71
  92. package/shared/{index7.js → menu-item.js} +13 -85
  93. package/shared/patterns/form-elements/form-elements.d.ts +2 -2
  94. package/shared/{index6.js → popup.js} +3 -43
  95. package/shared/radio.js +1 -1
  96. package/shared/ref.js +1 -1
  97. package/shared/slotted.js +1 -1
  98. package/shared/string-trim.js +1 -2
  99. package/shared/text-anchor.template.js +1 -1
  100. package/shared/utils/index.d.ts +1 -0
  101. package/side-drawer/index.js +3 -7
  102. package/slider/index.js +10 -10
  103. package/styles/core/all.css +1 -1
  104. package/styles/core/theme.css +1 -1
  105. package/styles/core/typography.css +1 -1
  106. package/styles/tokens/theme-dark.css +4 -4
  107. package/styles/tokens/theme-light.css +4 -4
  108. package/switch/index.js +11 -11
  109. package/text-anchor/index.js +4 -8
  110. package/text-area/index.js +11 -12
  111. package/text-field/index.js +11 -12
  112. package/tooltip/index.js +11 -27
  113. package/vivid.api.json +11 -189
  114. package/listbox-option/index.js +0 -22
  115. package/shared/export.js +0 -1017
  116. package/shared/index3.js +0 -31
  117. package/shared/iterators.js +0 -61
  118. package/shared/object-keys.js +0 -13
  119. package/shared/to-string.js +0 -51
  120. package/shared/web.dom-collections.iterator.js +0 -472
package/shared/button.js CHANGED
@@ -1,200 +1,23 @@
1
- import { F as FoundationElement, _ as __decorate, a as attr, o as observable } from './index.js';
1
+ import { _ as __decorate, a as attr, b as __metadata } from './index.js';
2
+ import { A as AffixIconWithTrailing } from './affix.js';
3
+ import { B as Button$1 } from './button2.js';
2
4
  import { a as applyMixins } from './apply-mixins.js';
3
- import { F as FormAssociated } from './form-associated.js';
4
- import { A as ARIAGlobalStatesAndProperties } from './aria-global.js';
5
- import { S as StartEnd } from './start-end.js';
6
5
 
7
- class _Button extends FoundationElement {
6
+ class Button extends Button$1 {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.stacked = false;
10
+ }
8
11
  }
9
- /**
10
- * A form-associated base class for the {@link @microsoft/fast-foundation#(Button:class)} component.
11
- *
12
- * @internal
13
- */
14
- class FormAssociatedButton extends FormAssociated(_Button) {
15
- constructor() {
16
- super(...arguments);
17
- this.proxy = document.createElement("input");
18
- }
19
- }
20
-
21
- /**
22
- * A Button Custom HTML Element.
23
- * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element }.
24
- *
25
- * @slot start - Content which can be provided before the button content
26
- * @slot end - Content which can be provided after the button content
27
- * @slot - The default slot for button content
28
- * @csspart control - The button element
29
- * @csspart content - The element wrapping button content
30
- *
31
- * @public
32
- */
33
- class Button extends FormAssociatedButton {
34
- constructor() {
35
- super(...arguments);
36
- /**
37
- * Prevent events to propagate if disabled and has no slotted content wrapped in HTML elements
38
- * @internal
39
- */
40
- this.handleClick = (e) => {
41
- var _a;
42
- if (this.disabled && ((_a = this.defaultSlottedContent) === null || _a === void 0 ? void 0 : _a.length) <= 1) {
43
- e.stopPropagation();
44
- }
45
- };
46
- /**
47
- * Submits the parent form
48
- */
49
- this.handleSubmission = () => {
50
- if (!this.form) {
51
- return;
52
- }
53
- const attached = this.proxy.isConnected;
54
- if (!attached) {
55
- this.attachProxy();
56
- }
57
- // Browser support for requestSubmit is not comprehensive
58
- // so click the proxy if it isn't supported
59
- typeof this.form.requestSubmit === "function"
60
- ? this.form.requestSubmit(this.proxy)
61
- : this.proxy.click();
62
- if (!attached) {
63
- this.detachProxy();
64
- }
65
- };
66
- /**
67
- * Resets the parent form
68
- */
69
- this.handleFormReset = () => {
70
- var _a;
71
- (_a = this.form) === null || _a === void 0 ? void 0 : _a.reset();
72
- };
73
- /**
74
- * Overrides the focus call for where delegatesFocus is unsupported.
75
- * This check works for Chrome, Edge Chromium, FireFox, and Safari
76
- * Relevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858
77
- */
78
- this.handleUnsupportedDelegatesFocus = () => {
79
- var _a;
80
- // Check to see if delegatesFocus is supported
81
- if (window.ShadowRoot &&
82
- !window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus") &&
83
- ((_a = this.$fastController.definition.shadowOptions) === null || _a === void 0 ? void 0 : _a.delegatesFocus)) {
84
- this.focus = () => {
85
- this.control.focus();
86
- };
87
- }
88
- };
89
- }
90
- formactionChanged() {
91
- if (this.proxy instanceof HTMLInputElement) {
92
- this.proxy.formAction = this.formaction;
93
- }
94
- }
95
- formenctypeChanged() {
96
- if (this.proxy instanceof HTMLInputElement) {
97
- this.proxy.formEnctype = this.formenctype;
98
- }
99
- }
100
- formmethodChanged() {
101
- if (this.proxy instanceof HTMLInputElement) {
102
- this.proxy.formMethod = this.formmethod;
103
- }
104
- }
105
- formnovalidateChanged() {
106
- if (this.proxy instanceof HTMLInputElement) {
107
- this.proxy.formNoValidate = this.formnovalidate;
108
- }
109
- }
110
- formtargetChanged() {
111
- if (this.proxy instanceof HTMLInputElement) {
112
- this.proxy.formTarget = this.formtarget;
113
- }
114
- }
115
- typeChanged(previous, next) {
116
- if (this.proxy instanceof HTMLInputElement) {
117
- this.proxy.type = this.type;
118
- }
119
- next === "submit" && this.addEventListener("click", this.handleSubmission);
120
- previous === "submit" && this.removeEventListener("click", this.handleSubmission);
121
- next === "reset" && this.addEventListener("click", this.handleFormReset);
122
- previous === "reset" && this.removeEventListener("click", this.handleFormReset);
123
- }
124
- /** {@inheritDoc (FormAssociated:interface).validate} */
125
- validate() {
126
- super.validate(this.control);
127
- }
128
- /**
129
- * @internal
130
- */
131
- connectedCallback() {
132
- var _a;
133
- super.connectedCallback();
134
- this.proxy.setAttribute("type", this.type);
135
- this.handleUnsupportedDelegatesFocus();
136
- const elements = Array.from((_a = this.control) === null || _a === void 0 ? void 0 : _a.children);
137
- if (elements) {
138
- elements.forEach((span) => {
139
- span.addEventListener("click", this.handleClick);
140
- });
141
- }
142
- }
143
- /**
144
- * @internal
145
- */
146
- disconnectedCallback() {
147
- var _a;
148
- super.disconnectedCallback();
149
- const elements = Array.from((_a = this.control) === null || _a === void 0 ? void 0 : _a.children);
150
- if (elements) {
151
- elements.forEach((span) => {
152
- span.removeEventListener("click", this.handleClick);
153
- });
154
- }
155
- }
156
- }
157
- __decorate([
158
- attr({ mode: "boolean" })
159
- ], Button.prototype, "autofocus", void 0);
160
- __decorate([
161
- attr({ attribute: "form" })
162
- ], Button.prototype, "formId", void 0);
163
- __decorate([
164
- attr
165
- ], Button.prototype, "formaction", void 0);
166
- __decorate([
167
- attr
168
- ], Button.prototype, "formenctype", void 0);
169
- __decorate([
170
- attr
171
- ], Button.prototype, "formmethod", void 0);
172
- __decorate([
173
- attr({ mode: "boolean" })
174
- ], Button.prototype, "formnovalidate", void 0);
175
- __decorate([
176
- attr
177
- ], Button.prototype, "formtarget", void 0);
178
- __decorate([
179
- attr
180
- ], Button.prototype, "type", void 0);
181
- __decorate([
182
- observable
183
- ], Button.prototype, "defaultSlottedContent", void 0);
184
- /**
185
- * Includes ARIA states and properties relating to the ARIA button role
186
- *
187
- * @public
188
- */
189
- class DelegatesARIAButton {
190
- }
191
- __decorate([
192
- attr({ attribute: "aria-expanded" })
193
- ], DelegatesARIAButton.prototype, "ariaExpanded", void 0);
194
- __decorate([
195
- attr({ attribute: "aria-pressed" })
196
- ], DelegatesARIAButton.prototype, "ariaPressed", void 0);
197
- applyMixins(DelegatesARIAButton, ARIAGlobalStatesAndProperties);
198
- applyMixins(Button, StartEnd, DelegatesARIAButton);
12
+ __decorate([attr, __metadata("design:type", String)], Button.prototype, "connotation", void 0);
13
+ __decorate([attr, __metadata("design:type", String)], Button.prototype, "shape", void 0);
14
+ __decorate([attr, __metadata("design:type", String)], Button.prototype, "appearance", void 0);
15
+ __decorate([attr, __metadata("design:type", String)], Button.prototype, "size", void 0);
16
+ __decorate([attr({
17
+ mode: 'boolean',
18
+ attribute: 'stacked'
19
+ }), __metadata("design:type", Object)], Button.prototype, "stacked", void 0);
20
+ __decorate([attr, __metadata("design:type", String)], Button.prototype, "label", void 0);
21
+ applyMixins(Button, AffixIconWithTrailing);
199
22
 
200
23
  export { Button as B };
@@ -0,0 +1,200 @@
1
+ import { F as FoundationElement, _ as __decorate, a as attr, V as observable } from './index.js';
2
+ import { a as applyMixins } from './apply-mixins.js';
3
+ import { F as FormAssociated } from './form-associated.js';
4
+ import { A as ARIAGlobalStatesAndProperties } from './aria-global.js';
5
+ import { S as StartEnd } from './start-end.js';
6
+
7
+ class _Button extends FoundationElement {
8
+ }
9
+ /**
10
+ * A form-associated base class for the {@link @microsoft/fast-foundation#(Button:class)} component.
11
+ *
12
+ * @internal
13
+ */
14
+ class FormAssociatedButton extends FormAssociated(_Button) {
15
+ constructor() {
16
+ super(...arguments);
17
+ this.proxy = document.createElement("input");
18
+ }
19
+ }
20
+
21
+ /**
22
+ * A Button Custom HTML Element.
23
+ * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element }.
24
+ *
25
+ * @slot start - Content which can be provided before the button content
26
+ * @slot end - Content which can be provided after the button content
27
+ * @slot - The default slot for button content
28
+ * @csspart control - The button element
29
+ * @csspart content - The element wrapping button content
30
+ *
31
+ * @public
32
+ */
33
+ class Button extends FormAssociatedButton {
34
+ constructor() {
35
+ super(...arguments);
36
+ /**
37
+ * Prevent events to propagate if disabled and has no slotted content wrapped in HTML elements
38
+ * @internal
39
+ */
40
+ this.handleClick = (e) => {
41
+ var _a;
42
+ if (this.disabled && ((_a = this.defaultSlottedContent) === null || _a === void 0 ? void 0 : _a.length) <= 1) {
43
+ e.stopPropagation();
44
+ }
45
+ };
46
+ /**
47
+ * Submits the parent form
48
+ */
49
+ this.handleSubmission = () => {
50
+ if (!this.form) {
51
+ return;
52
+ }
53
+ const attached = this.proxy.isConnected;
54
+ if (!attached) {
55
+ this.attachProxy();
56
+ }
57
+ // Browser support for requestSubmit is not comprehensive
58
+ // so click the proxy if it isn't supported
59
+ typeof this.form.requestSubmit === "function"
60
+ ? this.form.requestSubmit(this.proxy)
61
+ : this.proxy.click();
62
+ if (!attached) {
63
+ this.detachProxy();
64
+ }
65
+ };
66
+ /**
67
+ * Resets the parent form
68
+ */
69
+ this.handleFormReset = () => {
70
+ var _a;
71
+ (_a = this.form) === null || _a === void 0 ? void 0 : _a.reset();
72
+ };
73
+ /**
74
+ * Overrides the focus call for where delegatesFocus is unsupported.
75
+ * This check works for Chrome, Edge Chromium, FireFox, and Safari
76
+ * Relevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858
77
+ */
78
+ this.handleUnsupportedDelegatesFocus = () => {
79
+ var _a;
80
+ // Check to see if delegatesFocus is supported
81
+ if (window.ShadowRoot &&
82
+ !window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus") &&
83
+ ((_a = this.$fastController.definition.shadowOptions) === null || _a === void 0 ? void 0 : _a.delegatesFocus)) {
84
+ this.focus = () => {
85
+ this.control.focus();
86
+ };
87
+ }
88
+ };
89
+ }
90
+ formactionChanged() {
91
+ if (this.proxy instanceof HTMLInputElement) {
92
+ this.proxy.formAction = this.formaction;
93
+ }
94
+ }
95
+ formenctypeChanged() {
96
+ if (this.proxy instanceof HTMLInputElement) {
97
+ this.proxy.formEnctype = this.formenctype;
98
+ }
99
+ }
100
+ formmethodChanged() {
101
+ if (this.proxy instanceof HTMLInputElement) {
102
+ this.proxy.formMethod = this.formmethod;
103
+ }
104
+ }
105
+ formnovalidateChanged() {
106
+ if (this.proxy instanceof HTMLInputElement) {
107
+ this.proxy.formNoValidate = this.formnovalidate;
108
+ }
109
+ }
110
+ formtargetChanged() {
111
+ if (this.proxy instanceof HTMLInputElement) {
112
+ this.proxy.formTarget = this.formtarget;
113
+ }
114
+ }
115
+ typeChanged(previous, next) {
116
+ if (this.proxy instanceof HTMLInputElement) {
117
+ this.proxy.type = this.type;
118
+ }
119
+ next === "submit" && this.addEventListener("click", this.handleSubmission);
120
+ previous === "submit" && this.removeEventListener("click", this.handleSubmission);
121
+ next === "reset" && this.addEventListener("click", this.handleFormReset);
122
+ previous === "reset" && this.removeEventListener("click", this.handleFormReset);
123
+ }
124
+ /** {@inheritDoc (FormAssociated:interface).validate} */
125
+ validate() {
126
+ super.validate(this.control);
127
+ }
128
+ /**
129
+ * @internal
130
+ */
131
+ connectedCallback() {
132
+ var _a;
133
+ super.connectedCallback();
134
+ this.proxy.setAttribute("type", this.type);
135
+ this.handleUnsupportedDelegatesFocus();
136
+ const elements = Array.from((_a = this.control) === null || _a === void 0 ? void 0 : _a.children);
137
+ if (elements) {
138
+ elements.forEach((span) => {
139
+ span.addEventListener("click", this.handleClick);
140
+ });
141
+ }
142
+ }
143
+ /**
144
+ * @internal
145
+ */
146
+ disconnectedCallback() {
147
+ var _a;
148
+ super.disconnectedCallback();
149
+ const elements = Array.from((_a = this.control) === null || _a === void 0 ? void 0 : _a.children);
150
+ if (elements) {
151
+ elements.forEach((span) => {
152
+ span.removeEventListener("click", this.handleClick);
153
+ });
154
+ }
155
+ }
156
+ }
157
+ __decorate([
158
+ attr({ mode: "boolean" })
159
+ ], Button.prototype, "autofocus", void 0);
160
+ __decorate([
161
+ attr({ attribute: "form" })
162
+ ], Button.prototype, "formId", void 0);
163
+ __decorate([
164
+ attr
165
+ ], Button.prototype, "formaction", void 0);
166
+ __decorate([
167
+ attr
168
+ ], Button.prototype, "formenctype", void 0);
169
+ __decorate([
170
+ attr
171
+ ], Button.prototype, "formmethod", void 0);
172
+ __decorate([
173
+ attr({ mode: "boolean" })
174
+ ], Button.prototype, "formnovalidate", void 0);
175
+ __decorate([
176
+ attr
177
+ ], Button.prototype, "formtarget", void 0);
178
+ __decorate([
179
+ attr
180
+ ], Button.prototype, "type", void 0);
181
+ __decorate([
182
+ observable
183
+ ], Button.prototype, "defaultSlottedContent", void 0);
184
+ /**
185
+ * Includes ARIA states and properties relating to the ARIA button role
186
+ *
187
+ * @public
188
+ */
189
+ class DelegatesARIAButton {
190
+ }
191
+ __decorate([
192
+ attr({ attribute: "aria-expanded" })
193
+ ], DelegatesARIAButton.prototype, "ariaExpanded", void 0);
194
+ __decorate([
195
+ attr({ attribute: "aria-pressed" })
196
+ ], DelegatesARIAButton.prototype, "ariaPressed", void 0);
197
+ applyMixins(DelegatesARIAButton, ARIAGlobalStatesAndProperties);
198
+ applyMixins(Button, StartEnd, DelegatesARIAButton);
199
+
200
+ export { Button as B };
@@ -1,4 +1,4 @@
1
- import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, n as nullableNumberConverter } from './index.js';
1
+ import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, a6 as nullableNumberConverter } from './index.js';
2
2
 
3
3
  class CalendarEvent extends FoundationElement {}
4
4
  __decorate([attr, __metadata("design:type", String)], CalendarEvent.prototype, "heading", void 0);
@@ -1,3 +1,3 @@
1
1
  import { DesignSystem } from '@microsoft/fast-foundation';
2
- export declare function provideVividDesignSystem(element?: HTMLElement): DesignSystem;
2
+ export declare const getPrefix: (url: string) => string;
3
3
  export declare const designSystem: DesignSystem;
@@ -1,6 +1,5 @@
1
- import { F as FoundationElement, _ as __decorate, a as attr, h as html, d as designSystem } from './index.js';
1
+ import { F as FoundationElement, _ as __decorate, a as attr } from './index.js';
2
2
  import { O as Orientation } from './aria.js';
3
- import { c as classNames } from './class-names.js';
4
3
 
5
4
  /**
6
5
  * Divider roles
@@ -51,27 +50,6 @@ __decorate([
51
50
  attr
52
51
  ], Divider$1.prototype, "orientation", void 0);
53
52
 
54
- var css_248z = "/**\n * Do not edit directly\n * Generated on Sun, 04 Dec 2022 13:40:32 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}";
55
-
56
53
  class Divider extends Divider$1 {}
57
54
 
58
- let _ = t => t,
59
- _t;
60
- const getClasses = ({
61
- orientation
62
- }) => classNames('base', [`${orientation}`, Boolean(orientation)]);
63
- const DividerTemplate = () => html(_t || (_t = _`
64
- <span
65
- class="${0}"
66
- orientation="${0}"
67
- role="${0}"
68
- ></span>`), getClasses, x => x.orientation, x => x.role);
69
-
70
- const vividDivider = Divider.compose({
71
- baseName: 'divider',
72
- template: DividerTemplate,
73
- styles: css_248z
74
- });
75
- designSystem.register(vividDivider());
76
-
77
- export { Divider as D, vividDivider as v };
55
+ export { Divider as D };
@@ -0,0 +1,10 @@
1
+ import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata } from './index.js';
2
+
3
+ class Elevation extends FoundationElement {}
4
+ __decorate([attr, __metadata("design:type", Number)], Elevation.prototype, "dp", void 0);
5
+ __decorate([attr({
6
+ attribute: 'no-shadow',
7
+ mode: 'boolean'
8
+ }), __metadata("design:type", Boolean)], Elevation.prototype, "noShadow", void 0);
9
+
10
+ export { Elevation as E };
@@ -1,62 +1,4 @@
1
- import { d as descriptors, f as functionUncurryThis, x as functionCall, e as fails$1, I as toObject$1, N as indexedObject, O as objectGetOwnPropertySymbols, P as objectPropertyIsEnumerable, _ as _export } from './export.js';
2
- import { o as objectKeys$1 } from './object-keys.js';
3
-
4
- var DESCRIPTORS = descriptors;
5
- var uncurryThis = functionUncurryThis;
6
- var call = functionCall;
7
- var fails = fails$1;
8
- var objectKeys = objectKeys$1;
9
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
10
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
11
- var toObject = toObject$1;
12
- var IndexedObject = indexedObject;
13
-
14
- // eslint-disable-next-line es/no-object-assign -- safe
15
- var $assign = Object.assign;
16
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
17
- var defineProperty = Object.defineProperty;
18
- var concat = uncurryThis([].concat);
19
-
20
- // `Object.assign` method
21
- // https://tc39.es/ecma262/#sec-object.assign
22
- var objectAssign = !$assign || fails(function () {
23
- // should have correct order of operations (Edge bug)
24
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
25
- enumerable: true,
26
- get: function () {
27
- defineProperty(this, 'b', {
28
- value: 3,
29
- enumerable: false
30
- });
31
- }
32
- }), { b: 2 })).b !== 1) return true;
33
- // should work with symbols and should have deterministic property order (V8 bug)
34
- var A = {};
35
- var B = {};
36
- // eslint-disable-next-line es/no-symbol -- safe
37
- var symbol = Symbol();
38
- var alphabet = 'abcdefghijklmnopqrst';
39
- A[symbol] = 7;
40
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
41
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
42
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
43
- var T = toObject(target);
44
- var argumentsLength = arguments.length;
45
- var index = 1;
46
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
47
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
48
- while (argumentsLength > index) {
49
- var S = IndexedObject(arguments[index++]);
50
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
51
- var length = keys.length;
52
- var j = 0;
53
- var key;
54
- while (length > j) {
55
- key = keys[j++];
56
- if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
57
- }
58
- } return T;
59
- } : $assign;
1
+ import { E as _export, a7 as objectAssign } from './index.js';
60
2
 
61
3
  var $ = _export;
62
4
  var assign = objectAssign;