@vonage/vivid-react 3.5.2 → 4.0.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/VwcAccordion/package.json +1 -1
- package/VwcActionGroup/package.json +1 -1
- package/VwcBadge/package.json +1 -1
- package/VwcBanner/package.json +1 -1
- package/VwcButton/package.json +1 -1
- package/VwcButtonToggleGroup/package.json +1 -1
- package/VwcCalendar/package.json +1 -1
- package/VwcCalendarEvent/package.json +1 -1
- package/VwcCard/package.json +1 -1
- package/VwcCarousel/package.json +1 -1
- package/VwcCarouselItem/package.json +1 -1
- package/VwcCheckListItem/package.json +1 -1
- package/VwcCheckbox/package.json +1 -1
- package/VwcChip/package.json +1 -1
- package/VwcChipSet/package.json +1 -1
- package/VwcCircularProgress/package.json +1 -1
- package/VwcDataGrid/package.json +1 -1
- package/VwcDataGridColumn/package.json +1 -1
- package/VwcDatepicker/package.json +1 -1
- package/VwcDropdown/package.json +1 -1
- package/VwcElevation/package.json +1 -1
- package/VwcEmptyState/package.json +1 -1
- package/VwcExpansionPanel/package.json +1 -1
- package/VwcFab/package.json +1 -1
- package/VwcFilePicker/package.json +1 -1
- package/VwcFormfield/package.json +1 -1
- package/VwcHelperMessage/package.json +1 -1
- package/VwcIcon/package.json +1 -1
- package/VwcIconButton/package.json +1 -1
- package/VwcIconButtonToggle/package.json +1 -1
- package/VwcKeypad/package.json +1 -1
- package/VwcLayout/package.json +1 -1
- package/VwcLinearProgress/package.json +1 -1
- package/VwcList/package.json +1 -1
- package/VwcListExpansionPanel/package.json +1 -1
- package/VwcListItem/package.json +1 -1
- package/VwcMenu/package.json +1 -1
- package/VwcNotchedOutline/package.json +1 -1
- package/VwcNote/package.json +1 -1
- package/VwcPagination/package.json +1 -1
- package/VwcPopup/package.json +1 -1
- package/VwcRadio/package.json +1 -1
- package/VwcRadioListItem/package.json +1 -1
- package/VwcSchemeSelect/package.json +1 -1
- package/VwcScrubBar/package.json +1 -1
- package/VwcSelect/package.json +1 -1
- package/VwcSlider/package.json +1 -1
- package/VwcSnackbar/package.json +1 -1
- package/VwcSurface/package.json +1 -1
- package/VwcSwitch/package.json +1 -1
- package/VwcTab/package.json +1 -1
- package/VwcTabBar/package.json +1 -1
- package/VwcTag/package.json +1 -1
- package/VwcText/package.json +1 -1
- package/VwcTextarea/package.json +1 -1
- package/VwcTextfield/package.json +1 -1
- package/VwcThemeSwitch/package.json +1 -1
- package/VwcTooltip/package.json +1 -1
- package/VwcTopAppBar/package.json +1 -1
- package/VwcTopAppBarFixed/package.json +1 -1
- package/index.js +4 -4
- package/package.json +2 -2
- package/types/index.d.ts +46 -7
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +2 -0
- package/v3/VwcAccordionItem/index.js +85 -1
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.js +28 -0
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAudioPlayer/index.js +53 -0
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.js +29 -0
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBaseProgress/package.json +2 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.js +42 -0
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/index.js +13 -0
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.js +51 -4
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcColorPicker/index.d.ts +61 -0
- package/v3/VwcColorPicker/index.js +651 -0
- package/v3/VwcColorPicker/package.json +11 -0
- package/v3/VwcCombobox/index.js +138 -0
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcContextualHelp/index.d.ts +22 -0
- package/v3/VwcContextualHelp/index.js +130 -0
- package/v3/VwcContextualHelp/package.json +11 -0
- package/v3/VwcDataGrid/index.js +2 -11
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +5 -3
- package/v3/VwcDataGridCell/index.js +17 -25
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +3 -1
- package/v3/VwcDataGridRow/index.js +21 -21
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.js +14 -1
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDateRangePicker/index.js +21 -1
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDateTimePicker/index.js +15 -2
- package/v3/VwcDateTimePicker/package.json +2 -2
- package/v3/VwcDelegateAriaBehavior/index.js +5 -58
- package/v3/VwcDelegateAriaBehavior/package.json +2 -2
- package/v3/VwcDialPad/index.d.ts +6 -0
- package/v3/VwcDialPad/index.js +27 -3
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.js +50 -0
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +1 -1
- package/v3/VwcDivider/index.js +0 -8
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.js +28 -0
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.js +42 -0
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFeedbackMessage/index.d.ts +0 -2
- package/v3/VwcFeedbackMessage/index.js +1 -13
- package/v3/VwcFeedbackMessage/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +5 -7
- package/v3/VwcFilePicker/index.js +55 -290
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcHostSemanticsBehavior/index.js +11 -27
- package/v3/VwcHostSemanticsBehavior/package.json +2 -2
- package/v3/VwcIcon/index.js +22 -0
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcImagePlaceholder/package.json +2 -2
- package/v3/VwcInlineTimePicker/index.d.ts +0 -2
- package/v3/VwcInlineTimePicker/index.js +1 -13
- package/v3/VwcInlineTimePicker/package.json +2 -2
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/index.js +74 -0
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +2 -0
- package/v3/VwcMenu/index.js +48 -1
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +1 -1
- package/v3/VwcMenuItem/index.js +50 -8
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcMenubar/package.json +2 -2
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.js +65 -0
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.js +44 -0
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.js +68 -0
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +3 -1
- package/v3/VwcOption/index.js +43 -1
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/package.json +2 -2
- package/v3/VwcPagination/index.js +66 -1
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPickerField/index.d.ts +0 -2
- package/v3/VwcPickerField/index.js +41 -14
- package/v3/VwcPickerField/package.json +2 -2
- package/v3/VwcPopup/package.json +2 -2
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcProseMirrorFacade/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +0 -2
- package/v3/VwcRadio/index.js +38 -17
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.js +75 -0
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcRichTextEditor/package.json +2 -2
- package/v3/VwcSearchableSelect/index.d.ts +6 -0
- package/v3/VwcSearchableSelect/index.js +90 -1
- package/v3/VwcSearchableSelect/package.json +2 -2
- package/v3/VwcSelect/index.js +106 -2
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.d.ts +2 -2
- package/v3/VwcSelectableBox/index.js +65 -19
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSimpleColorPicker/index.d.ts +48 -0
- package/v3/VwcSimpleColorPicker/index.js +500 -0
- package/v3/VwcSimpleColorPicker/package.json +11 -0
- package/v3/VwcSlider/index.js +52 -0
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.js +89 -0
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.js +51 -0
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.js +44 -0
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.js +4 -0
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.js +114 -4
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextArea/index.js +33 -0
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.js +40 -0
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.js +15 -2
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.js +35 -3
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.js +28 -0
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcVideoPlayer/package.json +2 -2
- package/v3/VwcVisuallyHidden/package.json +2 -2
- package/v3/VwcVividElement/index.d.ts +0 -2
- package/v3/VwcVividElement/index.js +36 -13
- package/v3/VwcVividElement/package.json +2 -2
- package/v3/VwcVividFoundationButton/package.json +2 -2
- package/v3/VwcVvdHexInput/index.d.ts +16 -0
- package/v3/VwcVvdHexInput/index.js +43 -0
- package/v3/VwcVvdHexInput/package.json +11 -0
- package/v3/VwcVvdHexPicker/index.d.ts +16 -0
- package/v3/VwcVvdHexPicker/index.js +43 -0
- package/v3/VwcVvdHexPicker/package.json +11 -0
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DO NOT EDIT THIS FILE. IT IS GENERATED
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
Code in this file were generated using following JSON:
|
|
6
|
+
{
|
|
7
|
+
"kind": "class",
|
|
8
|
+
"description": "",
|
|
9
|
+
"name": "SimpleColorPicker",
|
|
10
|
+
"slots": [
|
|
11
|
+
{
|
|
12
|
+
"description": "Slot for attaching the toggle button",
|
|
13
|
+
"name": "anchor"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"members": [
|
|
17
|
+
{
|
|
18
|
+
"kind": "field",
|
|
19
|
+
"name": "placement",
|
|
20
|
+
"type": {
|
|
21
|
+
"text": "Placement | undefined"
|
|
22
|
+
},
|
|
23
|
+
"default": "'top-start'",
|
|
24
|
+
"description": "Placement of the popup with color swatches",
|
|
25
|
+
"privacy": "public"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"kind": "field",
|
|
29
|
+
"name": "swatchesPerRow",
|
|
30
|
+
"type": {
|
|
31
|
+
"text": "number"
|
|
32
|
+
},
|
|
33
|
+
"default": "7",
|
|
34
|
+
"description": "Number of swatches per row for grid layout",
|
|
35
|
+
"privacy": "public"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"kind": "field",
|
|
39
|
+
"name": "anchor",
|
|
40
|
+
"type": {
|
|
41
|
+
"text": "AnchorType | undefined"
|
|
42
|
+
},
|
|
43
|
+
"description": "ID or direct reference to the component's anchor element.",
|
|
44
|
+
"privacy": "public",
|
|
45
|
+
"inheritedFrom": {
|
|
46
|
+
"name": "Anchored",
|
|
47
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "field",
|
|
52
|
+
"name": "#updateAnchorEl",
|
|
53
|
+
"privacy": "private",
|
|
54
|
+
"inheritedFrom": {
|
|
55
|
+
"name": "Anchored",
|
|
56
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "field",
|
|
61
|
+
"name": "#observer",
|
|
62
|
+
"privacy": "private",
|
|
63
|
+
"type": {
|
|
64
|
+
"text": "MutationObserver | undefined"
|
|
65
|
+
},
|
|
66
|
+
"inheritedFrom": {
|
|
67
|
+
"name": "Anchored",
|
|
68
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"kind": "field",
|
|
73
|
+
"name": "#observeMissingAnchor",
|
|
74
|
+
"privacy": "private",
|
|
75
|
+
"inheritedFrom": {
|
|
76
|
+
"name": "Anchored",
|
|
77
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"kind": "field",
|
|
82
|
+
"name": "#cleanupObserverIfNeeded",
|
|
83
|
+
"privacy": "private",
|
|
84
|
+
"inheritedFrom": {
|
|
85
|
+
"name": "Anchored",
|
|
86
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"kind": "field",
|
|
91
|
+
"name": "open",
|
|
92
|
+
"type": {
|
|
93
|
+
"text": "boolean"
|
|
94
|
+
},
|
|
95
|
+
"default": "false",
|
|
96
|
+
"description": "Indicates whether the popup is open",
|
|
97
|
+
"privacy": "public",
|
|
98
|
+
"inheritedFrom": {
|
|
99
|
+
"name": "BaseColorPicker",
|
|
100
|
+
"module": "src/shared/color-picker/base-color-picker.ts"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "field",
|
|
105
|
+
"name": "swatches",
|
|
106
|
+
"type": {
|
|
107
|
+
"text": "ColorSwatch[]"
|
|
108
|
+
},
|
|
109
|
+
"default": "[]",
|
|
110
|
+
"description": "List of color swatches, has to be an array of objects\n\n### Examples",
|
|
111
|
+
"privacy": "public",
|
|
112
|
+
"inheritedFrom": {
|
|
113
|
+
"name": "BaseColorPicker",
|
|
114
|
+
"module": "src/shared/color-picker/base-color-picker.ts"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "field",
|
|
119
|
+
"name": "label",
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "string | undefined"
|
|
122
|
+
},
|
|
123
|
+
"description": "The label for the form element.",
|
|
124
|
+
"inheritedFrom": {
|
|
125
|
+
"name": "FormElement",
|
|
126
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"kind": "field",
|
|
131
|
+
"name": "#handleInvalidEvent",
|
|
132
|
+
"privacy": "private",
|
|
133
|
+
"inheritedFrom": {
|
|
134
|
+
"name": "FormElement",
|
|
135
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "field",
|
|
140
|
+
"name": "validity",
|
|
141
|
+
"type": {
|
|
142
|
+
"text": "ValidityState"
|
|
143
|
+
},
|
|
144
|
+
"description": "Returns the validity state of the element",
|
|
145
|
+
"readonly": true,
|
|
146
|
+
"inheritedFrom": {
|
|
147
|
+
"name": "FormAssociated",
|
|
148
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "field",
|
|
153
|
+
"name": "form",
|
|
154
|
+
"type": {
|
|
155
|
+
"text": "HTMLFormElement | null"
|
|
156
|
+
},
|
|
157
|
+
"description": "Retrieve a reference to the associated form.\nReturns null if not associated to any form.",
|
|
158
|
+
"readonly": true,
|
|
159
|
+
"inheritedFrom": {
|
|
160
|
+
"name": "FormAssociated",
|
|
161
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "field",
|
|
166
|
+
"name": "validationMessage",
|
|
167
|
+
"type": {
|
|
168
|
+
"text": "string"
|
|
169
|
+
},
|
|
170
|
+
"description": "Retrieve the localized validation message,\nor custom validation message if set.",
|
|
171
|
+
"readonly": true,
|
|
172
|
+
"inheritedFrom": {
|
|
173
|
+
"name": "FormAssociated",
|
|
174
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"kind": "field",
|
|
179
|
+
"name": "willValidate",
|
|
180
|
+
"type": {
|
|
181
|
+
"text": "boolean"
|
|
182
|
+
},
|
|
183
|
+
"description": "Whether the element will be validated when the\nform is submitted",
|
|
184
|
+
"readonly": true,
|
|
185
|
+
"inheritedFrom": {
|
|
186
|
+
"name": "FormAssociated",
|
|
187
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"kind": "field",
|
|
192
|
+
"name": "labels",
|
|
193
|
+
"type": {
|
|
194
|
+
"text": "ReadonlyArray<Node>"
|
|
195
|
+
},
|
|
196
|
+
"description": "A reference to all associated label elements",
|
|
197
|
+
"readonly": true,
|
|
198
|
+
"inheritedFrom": {
|
|
199
|
+
"name": "FormAssociated",
|
|
200
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "field",
|
|
205
|
+
"name": "value",
|
|
206
|
+
"type": {
|
|
207
|
+
"text": "string"
|
|
208
|
+
},
|
|
209
|
+
"description": "The current value of the element.",
|
|
210
|
+
"inheritedFrom": {
|
|
211
|
+
"name": "FormAssociated",
|
|
212
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"kind": "field",
|
|
217
|
+
"name": "currentValue",
|
|
218
|
+
"inheritedFrom": {
|
|
219
|
+
"name": "FormAssociated",
|
|
220
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "field",
|
|
225
|
+
"name": "initialValue",
|
|
226
|
+
"type": {
|
|
227
|
+
"text": "string"
|
|
228
|
+
},
|
|
229
|
+
"description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
|
|
230
|
+
"inheritedFrom": {
|
|
231
|
+
"name": "FormAssociated",
|
|
232
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"kind": "field",
|
|
237
|
+
"name": "disabled",
|
|
238
|
+
"type": {
|
|
239
|
+
"text": "boolean"
|
|
240
|
+
},
|
|
241
|
+
"default": "false",
|
|
242
|
+
"description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
|
|
243
|
+
"inheritedFrom": {
|
|
244
|
+
"name": "FormAssociated",
|
|
245
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"kind": "field",
|
|
250
|
+
"name": "name",
|
|
251
|
+
"type": {
|
|
252
|
+
"text": "string"
|
|
253
|
+
},
|
|
254
|
+
"description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
|
|
255
|
+
"inheritedFrom": {
|
|
256
|
+
"name": "FormAssociated",
|
|
257
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"kind": "field",
|
|
262
|
+
"name": "required",
|
|
263
|
+
"type": {
|
|
264
|
+
"text": "boolean"
|
|
265
|
+
},
|
|
266
|
+
"description": "Require the field to be completed prior to form submission.",
|
|
267
|
+
"default": "false",
|
|
268
|
+
"inheritedFrom": {
|
|
269
|
+
"name": "FormAssociated",
|
|
270
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"kind": "method",
|
|
275
|
+
"name": "checkValidity",
|
|
276
|
+
"return": {
|
|
277
|
+
"type": {
|
|
278
|
+
"text": "boolean"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"description": "Return the current validity of the element.",
|
|
282
|
+
"inheritedFrom": {
|
|
283
|
+
"name": "FormAssociated",
|
|
284
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "method",
|
|
289
|
+
"name": "reportValidity",
|
|
290
|
+
"return": {
|
|
291
|
+
"type": {
|
|
292
|
+
"text": "boolean"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"description": "Return the current validity of the element.\nIf false, fires an invalid event at the element.",
|
|
296
|
+
"inheritedFrom": {
|
|
297
|
+
"name": "FormAssociated",
|
|
298
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"kind": "field",
|
|
303
|
+
"name": "VIVID_VERSION",
|
|
304
|
+
"static": true,
|
|
305
|
+
"default": "__PACKAGE_VERSION__",
|
|
306
|
+
"description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
|
|
307
|
+
"type": {
|
|
308
|
+
"text": "string"
|
|
309
|
+
},
|
|
310
|
+
"inheritedFrom": {
|
|
311
|
+
"name": "VividElement",
|
|
312
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"kind": "field",
|
|
317
|
+
"name": "componentName",
|
|
318
|
+
"type": {
|
|
319
|
+
"text": "string"
|
|
320
|
+
},
|
|
321
|
+
"static": true,
|
|
322
|
+
"description": "Core component name, without prefix",
|
|
323
|
+
"inheritedFrom": {
|
|
324
|
+
"name": "VividElement",
|
|
325
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
"events": [
|
|
330
|
+
{
|
|
331
|
+
"type": {
|
|
332
|
+
"text": "CustomEvent<undefined>"
|
|
333
|
+
},
|
|
334
|
+
"description": "Fires when the value changes",
|
|
335
|
+
"name": "change"
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"attributes": [
|
|
339
|
+
{
|
|
340
|
+
"name": "placement",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "Placement | undefined"
|
|
343
|
+
},
|
|
344
|
+
"default": "'top-start'",
|
|
345
|
+
"description": "Placement of the popup with color swatches",
|
|
346
|
+
"fieldName": "placement"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "swatches-per-row",
|
|
350
|
+
"type": {
|
|
351
|
+
"text": "number"
|
|
352
|
+
},
|
|
353
|
+
"default": "7",
|
|
354
|
+
"description": "Number of swatches per row for grid layout",
|
|
355
|
+
"fieldName": "swatchesPerRow"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "anchor",
|
|
359
|
+
"type": {
|
|
360
|
+
"text": "AnchorType | undefined"
|
|
361
|
+
},
|
|
362
|
+
"description": "ID or direct reference to the component's anchor element.",
|
|
363
|
+
"fieldName": "anchor",
|
|
364
|
+
"inheritedFrom": {
|
|
365
|
+
"name": "Anchored",
|
|
366
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "open",
|
|
371
|
+
"type": {
|
|
372
|
+
"text": "boolean"
|
|
373
|
+
},
|
|
374
|
+
"default": "false",
|
|
375
|
+
"description": "Indicates whether the popup is open",
|
|
376
|
+
"fieldName": "open",
|
|
377
|
+
"inheritedFrom": {
|
|
378
|
+
"name": "BaseColorPicker",
|
|
379
|
+
"module": "src/shared/color-picker/base-color-picker.ts"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "label",
|
|
384
|
+
"type": {
|
|
385
|
+
"text": "string | undefined"
|
|
386
|
+
},
|
|
387
|
+
"description": "The label for the form element.",
|
|
388
|
+
"fieldName": "label",
|
|
389
|
+
"inheritedFrom": {
|
|
390
|
+
"name": "FormElement",
|
|
391
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "current-value",
|
|
396
|
+
"type": {
|
|
397
|
+
"text": "string"
|
|
398
|
+
},
|
|
399
|
+
"description": "The current value of the element.",
|
|
400
|
+
"fieldName": "value",
|
|
401
|
+
"inheritedFrom": {
|
|
402
|
+
"name": "FormAssociated",
|
|
403
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "value",
|
|
408
|
+
"type": {
|
|
409
|
+
"text": "string"
|
|
410
|
+
},
|
|
411
|
+
"description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
|
|
412
|
+
"fieldName": "initialValue",
|
|
413
|
+
"inheritedFrom": {
|
|
414
|
+
"name": "FormAssociated",
|
|
415
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "disabled",
|
|
420
|
+
"type": {
|
|
421
|
+
"text": "boolean"
|
|
422
|
+
},
|
|
423
|
+
"default": "false",
|
|
424
|
+
"description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
|
|
425
|
+
"fieldName": "disabled",
|
|
426
|
+
"inheritedFrom": {
|
|
427
|
+
"name": "FormAssociated",
|
|
428
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "name",
|
|
433
|
+
"type": {
|
|
434
|
+
"text": "string"
|
|
435
|
+
},
|
|
436
|
+
"description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
|
|
437
|
+
"fieldName": "name",
|
|
438
|
+
"inheritedFrom": {
|
|
439
|
+
"name": "FormAssociated",
|
|
440
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "required",
|
|
445
|
+
"type": {
|
|
446
|
+
"text": "boolean"
|
|
447
|
+
},
|
|
448
|
+
"description": "Require the field to be completed prior to form submission.",
|
|
449
|
+
"default": "false",
|
|
450
|
+
"fieldName": "required",
|
|
451
|
+
"inheritedFrom": {
|
|
452
|
+
"name": "FormAssociated",
|
|
453
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"mixins": [
|
|
458
|
+
{
|
|
459
|
+
"name": "Anchored",
|
|
460
|
+
"module": "/src/shared/patterns/anchored"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "BaseColorPicker",
|
|
464
|
+
"module": "/src/shared/color-picker"
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
"superclass": {
|
|
468
|
+
"name": "VividElement",
|
|
469
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
470
|
+
},
|
|
471
|
+
"vividComponent": {
|
|
472
|
+
"public": true,
|
|
473
|
+
"name": "simple-color-picker",
|
|
474
|
+
"vueModels": [
|
|
475
|
+
{
|
|
476
|
+
"name": "modelValue",
|
|
477
|
+
"propName": "value",
|
|
478
|
+
"eventNames": [
|
|
479
|
+
"input"
|
|
480
|
+
],
|
|
481
|
+
"valueMapping": "event.currentTarget.value"
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
*/
|
|
487
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
488
|
+
import { registerSimpleColorPicker } from '@vonage/vivid'
|
|
489
|
+
|
|
490
|
+
registerSimpleColorPicker('vvd3')
|
|
491
|
+
|
|
492
|
+
const VwcSimpleColorPicker = wrapper(`vvd3-simple-color-picker`, {
|
|
493
|
+
events: [{"name":"change","propName":"onChange"}],
|
|
494
|
+
attributes: [],
|
|
495
|
+
properties: ['placement', 'swatchesPerRow', 'anchor', 'open', 'swatches', 'label', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
496
|
+
})
|
|
497
|
+
|
|
498
|
+
VwcSimpleColorPicker.displayName = 'VwcSimpleColorPicker'
|
|
499
|
+
|
|
500
|
+
export default VwcSimpleColorPicker
|
package/v3/VwcSlider/index.js
CHANGED
|
@@ -692,6 +692,58 @@ Code in this file were generated using following JSON:
|
|
|
692
692
|
"change"
|
|
693
693
|
],
|
|
694
694
|
"valueMapping": "event.currentTarget.value"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "valueAsNumber",
|
|
698
|
+
"propName": "valueAsNumber",
|
|
699
|
+
"eventNames": [
|
|
700
|
+
"change"
|
|
701
|
+
],
|
|
702
|
+
"valueMapping": "event.currentTarget.valueAsNumber"
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
"vividTesting": {
|
|
707
|
+
"selectors": [
|
|
708
|
+
{
|
|
709
|
+
"name": "byLabel",
|
|
710
|
+
"args": [
|
|
711
|
+
"byLabel"
|
|
712
|
+
]
|
|
713
|
+
}
|
|
714
|
+
],
|
|
715
|
+
"actions": [
|
|
716
|
+
{
|
|
717
|
+
"name": "slideTo",
|
|
718
|
+
"args": [
|
|
719
|
+
"slideTo",
|
|
720
|
+
"#track",
|
|
721
|
+
"#thumb"
|
|
722
|
+
]
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
"queries": [
|
|
726
|
+
{
|
|
727
|
+
"name": "valueAsNumber",
|
|
728
|
+
"args": [
|
|
729
|
+
"valueAsNumber"
|
|
730
|
+
]
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"refs": [
|
|
734
|
+
{
|
|
735
|
+
"name": "track",
|
|
736
|
+
"args": [
|
|
737
|
+
"shadow",
|
|
738
|
+
".control"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "thumb",
|
|
743
|
+
"args": [
|
|
744
|
+
"shadow",
|
|
745
|
+
".thumb-container"
|
|
746
|
+
]
|
|
695
747
|
}
|
|
696
748
|
]
|
|
697
749
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-slider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"private": true,
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@vonage/vivid": "
|
|
9
|
+
"@vonage/vivid": "5.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|