@vonage/vivid 3.31.0 → 3.34.0
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/accordion/index.js +5 -5
- package/accordion-item/index.js +4 -4
- package/action-group/index.js +1 -1
- package/alert/index.js +8 -7
- package/avatar/index.js +2 -2
- package/badge/index.js +2 -2
- package/banner/index.js +5 -5
- package/breadcrumb/index.js +1 -1
- package/breadcrumb-item/index.js +3 -3
- package/button/index.js +4 -4
- package/calendar/index.js +1 -1
- package/calendar-event/index.js +1 -1
- package/card/index.js +3 -3
- package/checkbox/index.js +7 -4
- package/combobox/index.js +10 -9
- package/custom-elements.json +996 -29
- package/data-grid/index.js +2 -2
- package/date-picker/index.js +35 -0
- package/dialog/index.js +6 -6
- package/divider/index.js +1 -1
- package/elevation/index.js +1 -1
- package/empty-state/index.js +2 -2
- package/fab/index.js +4 -4
- package/file-picker/index.js +7 -6
- package/focus/index.js +1 -1
- package/header/index.js +2 -2
- package/icon/index.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +68 -66
- package/layout/index.js +1 -1
- package/lib/button/button.d.ts +2 -0
- package/lib/calendar/calendar.d.ts +1 -1
- package/lib/components.d.ts +20 -19
- package/lib/date-picker/calendar/calendarGrid.d.ts +17 -0
- package/lib/date-picker/calendar/dateStr.d.ts +7 -0
- package/lib/date-picker/calendar/month.d.ts +12 -0
- package/lib/date-picker/calendar/monthPickerGrid.d.ts +10 -0
- package/lib/date-picker/calendar/presentationDate.d.ts +4 -0
- package/lib/date-picker/calendar/year.d.ts +2 -0
- package/lib/date-picker/date-picker.d.ts +18 -0
- package/lib/date-picker/date-picker.template.d.ts +4 -0
- package/lib/date-picker/definition.d.ts +3 -0
- package/lib/date-picker/locale.d.ts +21 -0
- package/lib/icon/icon.d.ts +0 -1
- package/lib/listbox/listbox.d.ts +9 -1
- package/lib/select/select.d.ts +4 -2
- package/lib/text-field/text-field.d.ts +1 -0
- package/listbox/index.js +22 -17
- package/locales/en-GB.d.ts +3 -0
- package/locales/en-GB.js +59 -0
- package/locales/en-US.d.ts +3 -0
- package/locales/en-US.js +59 -0
- package/locales/ja-JP.d.ts +3 -0
- package/locales/ja-JP.js +59 -0
- package/locales/zh-CN.d.ts +3 -0
- package/locales/zh-CN.js +59 -0
- package/menu/index.js +8 -8
- package/menu-item/index.js +4 -4
- package/nav/index.js +1 -1
- package/nav-disclosure/index.js +3 -3
- package/nav-item/index.js +3 -3
- package/note/index.js +4 -4
- package/number-field/index.js +8 -7
- package/option/index.js +5 -4
- package/package.json +2 -15
- package/pagination/index.js +5 -5
- package/popup/index.js +6 -6
- package/progress/index.js +1 -1
- package/progress-ring/index.js +1 -1
- package/radio/index.js +2 -2
- package/radio-group/index.js +1 -1
- package/select/index.js +10 -9
- package/shared/affix.js +25 -9
- package/shared/apply-mixins.js +1 -1
- package/shared/breadcrumb-item.js +5 -5
- package/shared/button.js +13 -13
- package/shared/calendar-event.js +36 -16
- package/shared/definition.js +133 -194
- package/shared/definition10.js +225 -40
- package/shared/definition11.js +36 -32
- package/shared/definition12.js +763 -98
- package/shared/definition13.js +125 -89
- package/shared/definition14.js +207 -27
- package/shared/definition15.js +710 -731
- package/shared/definition16.js +1289 -47
- package/shared/definition17.js +6113 -93
- package/shared/definition18.js +242 -164
- package/shared/definition19.js +47 -692
- package/shared/definition2.js +199 -117
- package/shared/definition20.js +59 -1671
- package/shared/definition21.js +95 -255
- package/shared/definition22.js +2218 -1167
- package/shared/definition23.js +57 -219
- package/shared/definition24.js +27 -68
- package/shared/definition25.js +54 -38
- package/shared/definition26.js +395 -70
- package/shared/definition27.js +381 -2223
- package/shared/definition28.js +85 -44
- package/shared/definition29.js +27 -40
- package/shared/definition3.js +61 -24
- package/shared/definition30.js +13 -427
- package/shared/definition31.js +49 -360
- package/shared/definition32.js +466 -13
- package/shared/definition33.js +273 -63
- package/shared/definition34.js +195 -25
- package/shared/definition35.js +86 -35
- package/shared/definition36.js +66 -427
- package/shared/definition37.js +430 -190
- package/shared/definition38.js +34 -52
- package/shared/definition39.js +683 -31
- package/shared/definition4.js +157 -12
- package/shared/definition40.js +97 -422
- package/shared/definition41.js +473 -543
- package/shared/definition42.js +122 -73
- package/shared/definition43.js +103 -502
- package/shared/definition44.js +23 -101
- package/shared/definition45.js +76 -126
- package/shared/definition46.js +494 -48
- package/shared/definition47.js +23 -23
- package/shared/definition48.js +126 -476
- package/shared/definition49.js +275 -98
- package/shared/definition5.js +71 -36
- package/shared/definition50.js +157 -16
- package/shared/definition51.js +133 -263
- package/shared/definition52.js +131 -115
- package/shared/definition53.js +85 -120
- package/shared/definition54.js +295 -111
- package/shared/definition55.js +12 -71
- package/shared/definition56.js +39 -295
- package/shared/definition57.js +181 -0
- package/shared/definition6.js +56 -111
- package/shared/definition7.js +119 -187
- package/shared/definition8.js +58 -23
- package/shared/definition9.js +92 -66
- package/shared/focus.js +2 -1
- package/shared/focus2.js +1 -1
- package/shared/form-associated.js +2 -2
- package/shared/icon.js +48 -27
- package/shared/index.js +7 -27
- package/shared/index2.js +202 -0
- package/shared/key-codes.js +1 -1
- package/shared/listbox.js +88 -11
- package/shared/localization/Locale.d.ts +4 -0
- package/shared/localization/index.d.ts +7 -0
- package/shared/patterns/form-elements/form-elements.d.ts +4 -4
- package/shared/patterns/index.d.ts +1 -0
- package/shared/patterns/localized.d.ts +4 -0
- package/shared/radio.js +23 -7
- package/shared/repeat.js +1 -1
- package/shared/text-anchor.js +21 -4
- package/shared/text-anchor.template.js +37 -40
- package/shared/text-field.js +2 -2
- package/shared/text-field2.js +15 -15
- package/shared/tree-item.js +12 -12
- package/side-drawer/index.js +1 -1
- package/slider/index.js +2 -2
- package/split-button/index.js +3 -3
- package/style.css +6097 -0
- package/styles/core/all.css +25 -3
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +25 -3
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +2 -2
- package/switch/index.js +5 -4
- package/tab/index.js +3 -3
- package/tab-panel/index.js +1 -1
- package/tabs/index.js +5 -5
- package/tag/index.js +3 -3
- package/tag-group/index.js +1 -1
- package/text-anchor/index.js +1 -1
- package/text-area/index.js +5 -4
- package/text-field/index.js +5 -4
- package/toggletip/index.js +7 -7
- package/tooltip/index.js +7 -7
- package/tree-item/index.js +3 -3
- package/tree-view/index.js +1 -1
- package/vivid.api.json +137 -0
- package/lib/accordion/index.d.ts +0 -1
- package/lib/accordion-item/index.d.ts +0 -1
- package/lib/action-group/index.d.ts +0 -1
- package/lib/alert/index.d.ts +0 -1
- 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/index.d.ts +0 -1
- package/lib/breadcrumb-item/index.d.ts +0 -1
- package/lib/button/index.d.ts +0 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar-event/index.d.ts +0 -1
- package/lib/card/index.d.ts +0 -1
- package/lib/checkbox/index.d.ts +0 -1
- package/lib/combobox/index.d.ts +0 -1
- package/lib/data-grid/index.d.ts +0 -1
- package/lib/dialog/index.d.ts +0 -1
- package/lib/divider/index.d.ts +0 -1
- package/lib/elevation/index.d.ts +0 -1
- package/lib/empty-state/index.d.ts +0 -1
- package/lib/fab/index.d.ts +0 -1
- package/lib/file-picker/index.d.ts +0 -1
- package/lib/focus/index.d.ts +0 -1
- package/lib/header/index.d.ts +0 -1
- package/lib/icon/index.d.ts +0 -1
- package/lib/layout/index.d.ts +0 -1
- package/lib/listbox/index.d.ts +0 -1
- package/lib/menu/index.d.ts +0 -1
- package/lib/menu-item/index.d.ts +0 -1
- package/lib/nav/index.d.ts +0 -1
- package/lib/nav-disclosure/index.d.ts +0 -1
- package/lib/nav-item/index.d.ts +0 -1
- package/lib/note/index.d.ts +0 -1
- package/lib/number-field/index.d.ts +0 -1
- package/lib/option/index.d.ts +0 -1
- package/lib/pagination/index.d.ts +0 -1
- package/lib/popup/index.d.ts +0 -1
- package/lib/progress/index.d.ts +0 -1
- package/lib/progress-ring/index.d.ts +0 -1
- package/lib/radio/index.d.ts +0 -1
- package/lib/radio-group/index.d.ts +0 -1
- package/lib/select/index.d.ts +0 -1
- package/lib/side-drawer/index.d.ts +0 -1
- package/lib/slider/index.d.ts +0 -1
- package/lib/split-button/index.d.ts +0 -1
- package/lib/switch/index.d.ts +0 -1
- package/lib/tab/index.d.ts +0 -1
- package/lib/tab-panel/index.d.ts +0 -1
- package/lib/tabs/index.d.ts +0 -1
- package/lib/tag/index.d.ts +0 -1
- package/lib/tag-group/index.d.ts +0 -1
- package/lib/text-anchor/index.d.ts +0 -1
- package/lib/text-area/index.d.ts +0 -1
- package/lib/text-field/index.d.ts +0 -1
- package/lib/toggletip/index.d.ts +0 -1
- package/lib/tooltip/index.d.ts +0 -1
- package/lib/tree-item/index.d.ts +0 -1
- package/lib/tree-view/index.d.ts +0 -1
- package/shared/form-elements.js +0 -162
package/shared/text-field2.js
CHANGED
|
@@ -59,7 +59,7 @@ const TextFieldType = {
|
|
|
59
59
|
*
|
|
60
60
|
* @public
|
|
61
61
|
*/
|
|
62
|
-
class TextField extends FormAssociatedTextField {
|
|
62
|
+
let TextField$1 = class TextField extends FormAssociatedTextField {
|
|
63
63
|
constructor() {
|
|
64
64
|
super(...arguments);
|
|
65
65
|
/**
|
|
@@ -178,40 +178,40 @@ class TextField extends FormAssociatedTextField {
|
|
|
178
178
|
validate() {
|
|
179
179
|
super.validate(this.control);
|
|
180
180
|
}
|
|
181
|
-
}
|
|
181
|
+
};
|
|
182
182
|
__decorate([
|
|
183
183
|
attr({ attribute: "readonly", mode: "boolean" })
|
|
184
|
-
], TextField.prototype, "readOnly", void 0);
|
|
184
|
+
], TextField$1.prototype, "readOnly", void 0);
|
|
185
185
|
__decorate([
|
|
186
186
|
attr({ mode: "boolean" })
|
|
187
|
-
], TextField.prototype, "autofocus", void 0);
|
|
187
|
+
], TextField$1.prototype, "autofocus", void 0);
|
|
188
188
|
__decorate([
|
|
189
189
|
attr
|
|
190
|
-
], TextField.prototype, "placeholder", void 0);
|
|
190
|
+
], TextField$1.prototype, "placeholder", void 0);
|
|
191
191
|
__decorate([
|
|
192
192
|
attr
|
|
193
|
-
], TextField.prototype, "type", void 0);
|
|
193
|
+
], TextField$1.prototype, "type", void 0);
|
|
194
194
|
__decorate([
|
|
195
195
|
attr
|
|
196
|
-
], TextField.prototype, "list", void 0);
|
|
196
|
+
], TextField$1.prototype, "list", void 0);
|
|
197
197
|
__decorate([
|
|
198
198
|
attr({ converter: nullableNumberConverter })
|
|
199
|
-
], TextField.prototype, "maxlength", void 0);
|
|
199
|
+
], TextField$1.prototype, "maxlength", void 0);
|
|
200
200
|
__decorate([
|
|
201
201
|
attr({ converter: nullableNumberConverter })
|
|
202
|
-
], TextField.prototype, "minlength", void 0);
|
|
202
|
+
], TextField$1.prototype, "minlength", void 0);
|
|
203
203
|
__decorate([
|
|
204
204
|
attr
|
|
205
|
-
], TextField.prototype, "pattern", void 0);
|
|
205
|
+
], TextField$1.prototype, "pattern", void 0);
|
|
206
206
|
__decorate([
|
|
207
207
|
attr({ converter: nullableNumberConverter })
|
|
208
|
-
], TextField.prototype, "size", void 0);
|
|
208
|
+
], TextField$1.prototype, "size", void 0);
|
|
209
209
|
__decorate([
|
|
210
210
|
attr({ mode: "boolean" })
|
|
211
|
-
], TextField.prototype, "spellcheck", void 0);
|
|
211
|
+
], TextField$1.prototype, "spellcheck", void 0);
|
|
212
212
|
__decorate([
|
|
213
213
|
observable
|
|
214
|
-
], TextField.prototype, "defaultSlottedNodes", void 0);
|
|
214
|
+
], TextField$1.prototype, "defaultSlottedNodes", void 0);
|
|
215
215
|
/**
|
|
216
216
|
* Includes ARIA states and properties relating to the ARIA textbox role
|
|
217
217
|
*
|
|
@@ -220,6 +220,6 @@ __decorate([
|
|
|
220
220
|
class DelegatesARIATextbox {
|
|
221
221
|
}
|
|
222
222
|
applyMixins(DelegatesARIATextbox, ARIAGlobalStatesAndProperties);
|
|
223
|
-
applyMixins(TextField, StartEnd, DelegatesARIATextbox);
|
|
223
|
+
applyMixins(TextField$1, StartEnd, DelegatesARIATextbox);
|
|
224
224
|
|
|
225
|
-
export { DelegatesARIATextbox as D, TextField as T };
|
|
225
|
+
export { DelegatesARIATextbox as D, TextField$1 as T };
|
package/shared/tree-item.js
CHANGED
|
@@ -29,7 +29,7 @@ function isTreeItemElement(el) {
|
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
|
-
class TreeItem extends FoundationElement {
|
|
32
|
+
let TreeItem$1 = class TreeItem extends FoundationElement {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments);
|
|
35
35
|
/**
|
|
@@ -121,31 +121,31 @@ class TreeItem extends FoundationElement {
|
|
|
121
121
|
});
|
|
122
122
|
return treeChildren ? treeChildren.length : 0;
|
|
123
123
|
}
|
|
124
|
-
}
|
|
124
|
+
};
|
|
125
125
|
__decorate([
|
|
126
126
|
attr({ mode: "boolean" })
|
|
127
|
-
], TreeItem.prototype, "expanded", void 0);
|
|
127
|
+
], TreeItem$1.prototype, "expanded", void 0);
|
|
128
128
|
__decorate([
|
|
129
129
|
attr({ mode: "boolean" })
|
|
130
|
-
], TreeItem.prototype, "selected", void 0);
|
|
130
|
+
], TreeItem$1.prototype, "selected", void 0);
|
|
131
131
|
__decorate([
|
|
132
132
|
attr({ mode: "boolean" })
|
|
133
|
-
], TreeItem.prototype, "disabled", void 0);
|
|
133
|
+
], TreeItem$1.prototype, "disabled", void 0);
|
|
134
134
|
__decorate([
|
|
135
135
|
observable
|
|
136
|
-
], TreeItem.prototype, "focusable", void 0);
|
|
136
|
+
], TreeItem$1.prototype, "focusable", void 0);
|
|
137
137
|
__decorate([
|
|
138
138
|
observable
|
|
139
|
-
], TreeItem.prototype, "childItems", void 0);
|
|
139
|
+
], TreeItem$1.prototype, "childItems", void 0);
|
|
140
140
|
__decorate([
|
|
141
141
|
observable
|
|
142
|
-
], TreeItem.prototype, "items", void 0);
|
|
142
|
+
], TreeItem$1.prototype, "items", void 0);
|
|
143
143
|
__decorate([
|
|
144
144
|
observable
|
|
145
|
-
], TreeItem.prototype, "nested", void 0);
|
|
145
|
+
], TreeItem$1.prototype, "nested", void 0);
|
|
146
146
|
__decorate([
|
|
147
147
|
observable
|
|
148
|
-
], TreeItem.prototype, "renderCollapsedChildren", void 0);
|
|
149
|
-
applyMixins(TreeItem, StartEnd);
|
|
148
|
+
], TreeItem$1.prototype, "renderCollapsedChildren", void 0);
|
|
149
|
+
applyMixins(TreeItem$1, StartEnd);
|
|
150
150
|
|
|
151
|
-
export { TreeItem as T, isTreeItemElement as i };
|
|
151
|
+
export { TreeItem$1 as T, isTreeItemElement as i };
|
package/side-drawer/index.js
CHANGED
package/slider/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerSlider } from '../shared/
|
|
1
|
+
import { r as registerSlider } from '../shared/definition41.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition55.js';
|
|
4
4
|
import '../shared/focus.js';
|
|
5
5
|
import '../shared/direction.js';
|
|
6
6
|
import '../shared/numbers.js';
|
package/split-button/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerSplitButton } from '../shared/
|
|
1
|
+
import { r as registerSplitButton } from '../shared/definition42.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition24.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
5
|
import '../shared/_has.js';
|
|
6
6
|
import '../shared/class-names.js';
|
|
7
7
|
import '../shared/when.js';
|
|
8
|
-
import '../shared/
|
|
8
|
+
import '../shared/definition55.js';
|
|
9
9
|
import '../shared/focus.js';
|
|
10
10
|
import '../shared/affix.js';
|
|
11
11
|
import '../shared/apply-mixins.js';
|