@vonage/vivid-react 2.10.72 → 2.10.73

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 (182) hide show
  1. package/VwcAccordion/package.json +1 -1
  2. package/VwcActionGroup/package.json +1 -1
  3. package/VwcBadge/package.json +1 -1
  4. package/VwcBanner/package.json +1 -1
  5. package/VwcButton/package.json +1 -1
  6. package/VwcButtonToggleGroup/package.json +1 -1
  7. package/VwcCalendar/package.json +1 -1
  8. package/VwcCalendarEvent/package.json +1 -1
  9. package/VwcCard/package.json +1 -1
  10. package/VwcCarousel/package.json +1 -1
  11. package/VwcCarouselItem/package.json +1 -1
  12. package/VwcCheckListItem/package.json +1 -1
  13. package/VwcCheckbox/package.json +1 -1
  14. package/VwcChip/package.json +1 -1
  15. package/VwcChipSet/package.json +1 -1
  16. package/VwcCircularProgress/package.json +1 -1
  17. package/VwcDataGrid/package.json +1 -1
  18. package/VwcDataGridColumn/package.json +1 -1
  19. package/VwcDatepicker/package.json +1 -1
  20. package/VwcDialog/package.json +1 -1
  21. package/VwcDrawer/package.json +1 -1
  22. package/VwcDropdown/package.json +1 -1
  23. package/VwcElevation/package.json +1 -1
  24. package/VwcEmptyState/package.json +1 -1
  25. package/VwcExpansionPanel/package.json +1 -1
  26. package/VwcFab/package.json +1 -1
  27. package/VwcFilePicker/package.json +1 -1
  28. package/VwcFormfield/package.json +1 -1
  29. package/VwcHelperMessage/package.json +1 -1
  30. package/VwcIcon/package.json +1 -1
  31. package/VwcIconButton/package.json +1 -1
  32. package/VwcIconButtonToggle/package.json +1 -1
  33. package/VwcKeypad/package.json +1 -1
  34. package/VwcLayout/package.json +1 -1
  35. package/VwcLinearProgress/package.json +1 -1
  36. package/VwcList/package.json +1 -1
  37. package/VwcListExpansionPanel/package.json +1 -1
  38. package/VwcListItem/package.json +1 -1
  39. package/VwcMenu/package.json +1 -1
  40. package/VwcNotchedOutline/package.json +1 -1
  41. package/VwcNote/package.json +1 -1
  42. package/VwcPagination/package.json +1 -1
  43. package/VwcPopup/package.json +1 -1
  44. package/VwcRadio/package.json +1 -1
  45. package/VwcRadioListItem/package.json +1 -1
  46. package/VwcSchemeSelect/package.json +1 -1
  47. package/VwcScrubBar/package.json +1 -1
  48. package/VwcSelect/package.json +1 -1
  49. package/VwcSideDrawer/package.json +1 -1
  50. package/VwcSlider/package.json +1 -1
  51. package/VwcSnackbar/package.json +1 -1
  52. package/VwcSurface/package.json +1 -1
  53. package/VwcSwitch/package.json +1 -1
  54. package/VwcTab/package.json +1 -1
  55. package/VwcTabBar/package.json +1 -1
  56. package/VwcTag/package.json +1 -1
  57. package/VwcText/package.json +1 -1
  58. package/VwcTextarea/package.json +1 -1
  59. package/VwcTextfield/package.json +1 -1
  60. package/VwcThemeSwitch/package.json +1 -1
  61. package/VwcTooltip/package.json +1 -1
  62. package/VwcTopAppBar/package.json +1 -1
  63. package/VwcTopAppBarFixed/package.json +1 -1
  64. package/index.js +8 -8
  65. package/package.json +16 -10
  66. package/types/index.d.ts +42 -6
  67. package/v3/VwcAccordion/package.json +2 -2
  68. package/v3/VwcAccordionItem/package.json +2 -2
  69. package/v3/VwcActionGroup/package.json +2 -2
  70. package/v3/VwcAlert/package.json +2 -2
  71. package/v3/VwcAvatar/package.json +2 -2
  72. package/v3/VwcBadge/package.json +2 -2
  73. package/v3/VwcBanner/package.json +2 -2
  74. package/v3/VwcBreadcrumb/package.json +2 -2
  75. package/v3/VwcBreadcrumbItem/package.json +2 -2
  76. package/v3/VwcButton/package.json +2 -2
  77. package/v3/VwcCalendar/package.json +2 -2
  78. package/v3/VwcCalendarEvent/package.json +2 -2
  79. package/v3/VwcCard/package.json +2 -2
  80. package/v3/VwcCheckbox/index.d.ts +2 -0
  81. package/v3/VwcCheckbox/index.js +17 -1
  82. package/v3/VwcCheckbox/package.json +2 -2
  83. package/v3/VwcCombobox/package.json +2 -2
  84. package/v3/VwcDataGrid/index.d.ts +1 -1
  85. package/v3/VwcDataGrid/index.js +4 -1
  86. package/v3/VwcDataGrid/package.json +2 -2
  87. package/v3/VwcDataGridCell/index.d.ts +4 -3
  88. package/v3/VwcDataGridCell/index.js +15 -3
  89. package/v3/VwcDataGridCell/package.json +2 -2
  90. package/v3/VwcDataGridRow/index.d.ts +1 -1
  91. package/v3/VwcDataGridRow/index.js +4 -1
  92. package/v3/VwcDataGridRow/package.json +2 -2
  93. package/v3/VwcDatePicker/index.d.ts +6 -6
  94. package/v3/VwcDatePicker/index.js +161 -100
  95. package/v3/VwcDatePicker/package.json +2 -2
  96. package/v3/VwcDatePickerBase/index.d.ts +29 -0
  97. package/v3/VwcDatePickerBase/index.js +248 -0
  98. package/v3/VwcDatePickerBase/package.json +11 -0
  99. package/v3/VwcDateRangePicker/index.d.ts +56 -0
  100. package/v3/VwcDateRangePicker/index.js +444 -0
  101. package/v3/VwcDateRangePicker/package.json +11 -0
  102. package/v3/VwcDialog/index.d.ts +2 -0
  103. package/v3/VwcDialog/index.js +18 -2
  104. package/v3/VwcDialog/package.json +2 -2
  105. package/v3/VwcDivider/package.json +2 -2
  106. package/v3/VwcElevation/package.json +2 -2
  107. package/v3/VwcEmptyState/package.json +2 -2
  108. package/v3/VwcFab/package.json +2 -2
  109. package/v3/VwcFilePicker/index.d.ts +4 -2
  110. package/v3/VwcFilePicker/index.js +62 -20
  111. package/v3/VwcFilePicker/package.json +2 -2
  112. package/v3/VwcFocus/package.json +2 -2
  113. package/v3/{VwcFormAssociatedDatePicker → VwcFormAssociatedFilePicker}/index.d.ts +4 -6
  114. package/v3/VwcFormAssociatedFilePicker/index.js +44 -0
  115. package/v3/VwcFormAssociatedFilePicker/package.json +11 -0
  116. package/v3/VwcHeader/package.json +2 -2
  117. package/v3/VwcIcon/package.json +2 -2
  118. package/v3/VwcLayout/package.json +2 -2
  119. package/v3/VwcListbox/package.json +2 -2
  120. package/v3/VwcMenu/index.d.ts +2 -0
  121. package/v3/VwcMenu/index.js +5 -1
  122. package/v3/VwcMenu/package.json +2 -2
  123. package/v3/VwcMenuItem/index.d.ts +4 -0
  124. package/v3/VwcMenuItem/index.js +37 -1
  125. package/v3/VwcMenuItem/package.json +2 -2
  126. package/v3/VwcNav/package.json +2 -2
  127. package/v3/VwcNavDisclosure/package.json +2 -2
  128. package/v3/VwcNavItem/package.json +2 -2
  129. package/v3/VwcNote/package.json +2 -2
  130. package/v3/VwcNumberField/index.d.ts +4 -0
  131. package/v3/VwcNumberField/index.js +33 -1
  132. package/v3/VwcNumberField/package.json +2 -2
  133. package/v3/{VwcListboxOption → VwcOption}/index.d.ts +3 -3
  134. package/v3/{VwcListboxOption → VwcOption}/index.js +5 -5
  135. package/v3/{VwcListboxOption → VwcOption}/package.json +2 -2
  136. package/v3/VwcPagination/package.json +2 -2
  137. package/v3/VwcPopup/package.json +2 -2
  138. package/v3/VwcProgress/index.d.ts +5 -3
  139. package/v3/VwcProgress/index.js +29 -4
  140. package/v3/VwcProgress/package.json +2 -2
  141. package/v3/VwcProgressRing/index.d.ts +2 -0
  142. package/v3/VwcProgressRing/index.js +17 -1
  143. package/v3/VwcProgressRing/package.json +2 -2
  144. package/v3/VwcRadio/index.d.ts +2 -0
  145. package/v3/VwcRadio/index.js +17 -1
  146. package/v3/VwcRadio/package.json +2 -2
  147. package/v3/VwcRadioGroup/package.json +2 -2
  148. package/v3/VwcSelect/index.d.ts +2 -1
  149. package/v3/VwcSelect/index.js +1 -1
  150. package/v3/VwcSelect/package.json +2 -2
  151. package/v3/VwcSelectableBox/index.d.ts +30 -0
  152. package/v3/VwcSelectableBox/index.js +197 -0
  153. package/v3/VwcSelectableBox/package.json +11 -0
  154. package/v3/VwcSideDrawer/index.d.ts +3 -1
  155. package/v3/VwcSideDrawer/index.js +11 -1
  156. package/v3/VwcSideDrawer/package.json +2 -2
  157. package/v3/VwcSlider/index.d.ts +6 -0
  158. package/v3/VwcSlider/index.js +60 -1
  159. package/v3/VwcSlider/package.json +2 -2
  160. package/v3/VwcSplitButton/package.json +2 -2
  161. package/v3/VwcSwitch/index.d.ts +1 -1
  162. package/v3/VwcSwitch/index.js +4 -1
  163. package/v3/VwcSwitch/package.json +2 -2
  164. package/v3/VwcTab/package.json +2 -2
  165. package/v3/VwcTabPanel/package.json +2 -2
  166. package/v3/VwcTabs/package.json +2 -2
  167. package/v3/VwcTag/package.json +2 -2
  168. package/v3/VwcTagGroup/index.d.ts +2 -1
  169. package/v3/VwcTagGroup/index.js +21 -1
  170. package/v3/VwcTagGroup/package.json +2 -2
  171. package/v3/VwcTextAnchor/package.json +2 -2
  172. package/v3/VwcTextArea/index.d.ts +1 -1
  173. package/v3/VwcTextArea/index.js +11 -0
  174. package/v3/VwcTextArea/package.json +2 -2
  175. package/v3/VwcTextField/index.js +24 -0
  176. package/v3/VwcTextField/package.json +2 -2
  177. package/v3/VwcToggletip/package.json +2 -2
  178. package/v3/VwcTooltip/package.json +2 -2
  179. package/v3/VwcTreeItem/package.json +2 -2
  180. package/v3/VwcTreeView/package.json +2 -2
  181. package/v3/VwcFormAssociatedDatePicker/index.js +0 -52
  182. package/v3/VwcFormAssociatedDatePicker/package.json +0 -11
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-combobox",
3
- "version": "3.37.0",
3
+ "version": "3.40.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": "3.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,7 +1,7 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  /** Base class for data-grid
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/data-grid
4
- * @param {DataGridSelectionMode | undefined} selectionMode **attribute** `selection-mode`
4
+ * @param {DataGridSelectionMode | undefined} selectionMode - Indicates the selection mode. **attribute** `selection-mode`
5
5
  */
6
6
  declare const VwcDataGrid: {
7
7
  (props: {
@@ -19,7 +19,9 @@ Code in this file were generated using following JSON:
19
19
  "name": "selectionMode",
20
20
  "type": {
21
21
  "text": "DataGridSelectionMode | undefined"
22
- }
22
+ },
23
+ "description": "Indicates the selection mode.",
24
+ "privacy": "public"
23
25
  },
24
26
  {
25
27
  "kind": "field",
@@ -106,6 +108,7 @@ Code in this file were generated using following JSON:
106
108
  "type": {
107
109
  "text": "DataGridSelectionMode | undefined"
108
110
  },
111
+ "description": "Indicates the selection mode.",
109
112
  "fieldName": "selectionMode"
110
113
  }
111
114
  ],
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid",
3
- "version": "3.37.0",
3
+ "version": "3.40.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": "3.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,8 +1,8 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** Base class for data-grid
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/data-grid-cell
4
- * @param {string | null} ariaSelected **attribute** `aria-selected`
5
- * @param {string | null} ariaSort **attribute** `aria-sort`
4
+ * @param {string | null} ariaSelected - Indicates the selected status. **attribute** `aria-selected`
5
+ * @param {string | null} ariaSort - Indicates the sort status. **attribute** `aria-sort`
6
6
  * @param updateCellStyle
7
7
  */
8
8
  declare const VwcDataGridCell: {
@@ -12,6 +12,7 @@ declare const VwcDataGridCell: {
12
12
  id?: string | undefined;
13
13
  style?: React.CSSProperties | undefined;
14
14
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
+ onSort?: ((event: SyntheticEvent) => void) | undefined;
15
16
  ariaSelected?: string | null | undefined;
16
17
  ariaSort?: string | null | undefined;
17
18
  updateCellStyle?: any;
@@ -64,7 +64,9 @@ Code in this file were generated using following JSON:
64
64
  "type": {
65
65
  "text": "string | null"
66
66
  },
67
- "default": "null"
67
+ "default": "null",
68
+ "description": "Indicates the selected status.",
69
+ "privacy": "public"
68
70
  },
69
71
  {
70
72
  "kind": "field",
@@ -72,7 +74,9 @@ Code in this file were generated using following JSON:
72
74
  "type": {
73
75
  "text": "string | null"
74
76
  },
75
- "default": "null"
77
+ "default": "null",
78
+ "description": "Indicates the sort status.",
79
+ "privacy": "public"
76
80
  },
77
81
  {
78
82
  "kind": "method",
@@ -121,6 +125,12 @@ Code in this file were generated using following JSON:
121
125
  "name": "updateCellStyle"
122
126
  }
123
127
  ],
128
+ "events": [
129
+ {
130
+ "description": "Event that fires when a sortable column header is clicked",
131
+ "name": "sort"
132
+ }
133
+ ],
124
134
  "attributes": [
125
135
  {
126
136
  "name": "aria-selected",
@@ -128,6 +138,7 @@ Code in this file were generated using following JSON:
128
138
  "text": "string | null"
129
139
  },
130
140
  "default": "null",
141
+ "description": "Indicates the selected status.",
131
142
  "fieldName": "ariaSelected"
132
143
  },
133
144
  {
@@ -136,6 +147,7 @@ Code in this file were generated using following JSON:
136
147
  "text": "string | null"
137
148
  },
138
149
  "default": "null",
150
+ "description": "Indicates the sort status.",
139
151
  "fieldName": "ariaSort"
140
152
  }
141
153
  ],
@@ -151,7 +163,7 @@ import { registerDataGridCell } from '@vonage/vivid'
151
163
  registerDataGridCell('vvd3')
152
164
 
153
165
  const VwcDataGridCell = wrapper(`vvd3-data-grid-cell`, {
154
- events: [],
166
+ events: [{"name":"sort","propName":"onSort"}],
155
167
  attributes: [],
156
168
  properties: ['ariaSelected', 'ariaSort', 'updateCellStyle']
157
169
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-cell",
3
- "version": "3.37.0",
3
+ "version": "3.40.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": "3.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,7 +1,7 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  /** Base class for data-grid
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/data-grid-row
4
- * @param {string | null} ariaSelected **attribute** `aria-selected`
4
+ * @param {string | null} ariaSelected - Indicates the selected status. **attribute** `aria-selected`
5
5
  */
6
6
  declare const VwcDataGridRow: {
7
7
  (props: {
@@ -64,7 +64,9 @@ Code in this file were generated using following JSON:
64
64
  "type": {
65
65
  "text": "string | null"
66
66
  },
67
- "default": "null"
67
+ "default": "null",
68
+ "description": "Indicates the selected status.",
69
+ "privacy": "public"
68
70
  }
69
71
  ],
70
72
  "attributes": [
@@ -74,6 +76,7 @@ Code in this file were generated using following JSON:
74
76
  "text": "string | null"
75
77
  },
76
78
  "default": "null",
79
+ "description": "Indicates the selected status.",
77
80
  "fieldName": "ariaSelected"
78
81
  }
79
82
  ],
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-row",
3
- "version": "3.37.0",
3
+ "version": "3.40.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": "3.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,14 +1,14 @@
1
1
  import React, { ReactNode } from 'react';
2
- /** Base class for date-picker
2
+ /** Single date picker component.
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/date-picker
4
+ * @param {string} type
5
+ * @param {string} label
4
6
  * @param {string} min - The earliest accepted date of the date-picker. **attribute** `min`
5
- * @param {string} max - The latest accepted date of the date-picker. **attribute** `max`
7
+ * @param {string} max - The latest accepted date of the date-picker.
6
8
  * @param {string} initialValue - The initial value of the date-picker. **attribute** `value`
7
9
  * @param {string} currentValue - The current value of the date-picker. **attribute** `current-value`
8
10
  * @param {boolean} readOnly - Whether the date-picker is readonly. **attribute** `readonly`
9
11
  * @param {string} value
10
- * @param {HTMLInputElement} proxy
11
- * @param {string} type
12
12
  */
13
13
  declare const VwcDatePicker: {
14
14
  (props: {
@@ -17,14 +17,14 @@ declare const VwcDatePicker: {
17
17
  id?: string | undefined;
18
18
  style?: React.CSSProperties | undefined;
19
19
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
20
+ type?: string | undefined;
21
+ label?: string | undefined;
20
22
  min?: string | undefined;
21
23
  max?: string | undefined;
22
24
  initialValue?: string | undefined;
23
25
  currentValue?: string | undefined;
24
26
  readOnly?: boolean | undefined;
25
27
  value?: string | undefined;
26
- proxy?: any;
27
- type?: string | undefined;
28
28
  }): JSX.Element;
29
29
  displayName: string;
30
30
  };
@@ -5,31 +5,40 @@
5
5
  Code in this file were generated using following JSON:
6
6
  {
7
7
  "kind": "class",
8
- "description": "Base class for date-picker",
8
+ "description": "Single date picker component.",
9
9
  "name": "DatePicker",
10
- "cssProperties": [
11
- {
12
- "name": "--vvd-date-picker-accent-primary",
13
- "default": "var(--vvd-color-canvas-text)"
14
- },
10
+ "members": [
15
11
  {
16
- "name": "--vvd-date-picker-accent-faint",
17
- "default": "var(--vvd-color-neutral-50)"
12
+ "kind": "method",
13
+ "name": "#updateValueDueToUserInteraction",
14
+ "parameters": [
15
+ {
16
+ "name": "newValue",
17
+ "type": {
18
+ "text": "DateStr"
19
+ }
20
+ }
21
+ ]
18
22
  },
19
23
  {
20
- "name": "--vvd-date-picker-accent-soft",
21
- "default": "var(--vvd-color-neutral-100)"
24
+ "kind": "field",
25
+ "name": "type",
26
+ "type": {
27
+ "text": "string"
28
+ },
29
+ "default": "'date'"
22
30
  },
23
31
  {
24
- "name": "--vvd-date-picker-accent-dim",
25
- "default": "var(--vvd-color-neutral-200)"
32
+ "kind": "field",
33
+ "name": "label",
34
+ "type": {
35
+ "text": "string"
36
+ },
37
+ "inheritedFrom": {
38
+ "name": "DatePickerBase",
39
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
40
+ }
26
41
  },
27
- {
28
- "name": "--vvd-date-picker-accent-pale",
29
- "default": "var(--vvd-color-neutral-300)"
30
- }
31
- ],
32
- "members": [
33
42
  {
34
43
  "kind": "field",
35
44
  "name": "min",
@@ -38,7 +47,11 @@ Code in this file were generated using following JSON:
38
47
  },
39
48
  "description": "The earliest accepted date of the date-picker.",
40
49
  "privacy": "public",
41
- "default": "''"
50
+ "default": "''",
51
+ "inheritedFrom": {
52
+ "name": "DatePickerBase",
53
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
54
+ }
42
55
  },
43
56
  {
44
57
  "kind": "field",
@@ -48,7 +61,11 @@ Code in this file were generated using following JSON:
48
61
  },
49
62
  "description": "The latest accepted date of the date-picker.",
50
63
  "privacy": "public",
51
- "default": "''"
64
+ "default": "''",
65
+ "inheritedFrom": {
66
+ "name": "DatePickerBase",
67
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
68
+ }
52
69
  },
53
70
  {
54
71
  "kind": "field",
@@ -57,7 +74,11 @@ Code in this file were generated using following JSON:
57
74
  "text": "string"
58
75
  },
59
76
  "description": "The initial value of the date-picker.",
60
- "privacy": "public"
77
+ "privacy": "public",
78
+ "inheritedFrom": {
79
+ "name": "DatePickerBase",
80
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
81
+ }
61
82
  },
62
83
  {
63
84
  "kind": "field",
@@ -66,19 +87,11 @@ Code in this file were generated using following JSON:
66
87
  "text": "string"
67
88
  },
68
89
  "description": "The current value of the date-picker.",
69
- "privacy": "public"
70
- },
71
- {
72
- "kind": "method",
73
- "name": "#updateValueDueToUserInteraction",
74
- "parameters": [
75
- {
76
- "name": "newValue",
77
- "type": {
78
- "text": "DateStr"
79
- }
80
- }
81
- ]
90
+ "privacy": "public",
91
+ "inheritedFrom": {
92
+ "name": "DatePickerBase",
93
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
94
+ }
82
95
  },
83
96
  {
84
97
  "kind": "field",
@@ -88,21 +101,36 @@ Code in this file were generated using following JSON:
88
101
  },
89
102
  "default": "false",
90
103
  "description": "Whether the date-picker is readonly.",
91
- "privacy": "public"
104
+ "privacy": "public",
105
+ "inheritedFrom": {
106
+ "name": "DatePickerBase",
107
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
108
+ }
92
109
  },
93
110
  {
94
111
  "kind": "method",
95
- "name": "readOnlyChanged",
96
- "privacy": "protected",
97
- "return": {
98
- "type": {
99
- "text": "void"
100
- }
112
+ "name": "#getFocusableEls",
113
+ "inheritedFrom": {
114
+ "name": "DatePickerBase",
115
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
101
116
  }
102
117
  },
103
118
  {
104
119
  "kind": "method",
105
- "name": "#getFocusableEls"
120
+ "name": "_adjustSelectedMonthToEnsureVisibilityOf",
121
+ "privacy": "protected",
122
+ "parameters": [
123
+ {
124
+ "name": "date",
125
+ "type": {
126
+ "text": "DateStr"
127
+ }
128
+ }
129
+ ],
130
+ "inheritedFrom": {
131
+ "name": "DatePickerBase",
132
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
133
+ }
106
134
  },
107
135
  {
108
136
  "kind": "method",
@@ -114,7 +142,11 @@ Code in this file were generated using following JSON:
114
142
  "text": "Month"
115
143
  }
116
144
  }
117
- ]
145
+ ],
146
+ "inheritedFrom": {
147
+ "name": "DatePickerBase",
148
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
149
+ }
118
150
  },
119
151
  {
120
152
  "kind": "method",
@@ -126,16 +158,52 @@ Code in this file were generated using following JSON:
126
158
  "text": "Month"
127
159
  }
128
160
  }
129
- ]
161
+ ],
162
+ "inheritedFrom": {
163
+ "name": "DatePickerBase",
164
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
165
+ }
166
+ },
167
+ {
168
+ "kind": "field",
169
+ "name": "#onFocusIn",
170
+ "privacy": "private",
171
+ "inheritedFrom": {
172
+ "name": "DatePickerBase",
173
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
174
+ }
175
+ },
176
+ {
177
+ "kind": "field",
178
+ "name": "#onFocusOut",
179
+ "privacy": "private",
180
+ "inheritedFrom": {
181
+ "name": "DatePickerBase",
182
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
183
+ }
130
184
  },
131
185
  {
132
186
  "kind": "method",
133
- "name": "validate"
187
+ "name": "_getCustomValidationError",
188
+ "privacy": "protected",
189
+ "return": {
190
+ "type": {
191
+ "text": "string | null"
192
+ }
193
+ },
194
+ "inheritedFrom": {
195
+ "name": "DatePickerBase",
196
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
197
+ }
134
198
  },
135
199
  {
136
200
  "kind": "field",
137
201
  "name": "#dismissOnClickOutside",
138
- "privacy": "private"
202
+ "privacy": "private",
203
+ "inheritedFrom": {
204
+ "name": "DatePickerBase",
205
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
206
+ }
139
207
  },
140
208
  {
141
209
  "kind": "field",
@@ -144,62 +212,51 @@ Code in this file were generated using following JSON:
144
212
  "type": {
145
213
  "text": "boolean"
146
214
  },
147
- "default": "false"
215
+ "default": "false",
216
+ "inheritedFrom": {
217
+ "name": "DatePickerBase",
218
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
219
+ }
148
220
  },
149
221
  {
150
222
  "kind": "method",
151
- "name": "#openPopupIfPossible"
223
+ "name": "#openPopupIfPossible",
224
+ "inheritedFrom": {
225
+ "name": "DatePickerBase",
226
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
227
+ }
152
228
  },
153
229
  {
154
230
  "kind": "method",
155
- "name": "#closePopup",
156
- "parameters": [
157
- {
158
- "name": "restoreFocusToTextField",
159
- "default": "true"
231
+ "name": "_getSelectedDates",
232
+ "privacy": "protected",
233
+ "return": {
234
+ "type": {
235
+ "text": "DateStr[]"
160
236
  }
161
- ]
162
- },
163
- {
164
- "kind": "method",
165
- "name": "_presentationValueChanged"
166
- },
167
- {
168
- "kind": "method",
169
- "name": "#isPresentationValueInvalid"
170
- },
171
- {
172
- "kind": "field",
173
- "name": "value",
174
- "type": {
175
- "text": "string"
176
- },
177
- "default": "''"
178
- },
179
- {
180
- "kind": "field",
181
- "name": "proxy",
182
- "type": {
183
- "text": "HTMLInputElement"
184
237
  },
185
238
  "inheritedFrom": {
186
- "name": "FormAssociatedDatePicker",
187
- "module": "libs/components/src/lib/date-picker/date-picker.form-associated.ts"
239
+ "name": "DatePickerBase",
240
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
188
241
  }
189
242
  },
190
243
  {
191
244
  "kind": "field",
192
- "name": "type",
245
+ "name": "value",
193
246
  "type": {
194
247
  "text": "string"
195
248
  },
196
- "default": "'date'",
249
+ "default": "''",
197
250
  "inheritedFrom": {
198
- "name": "FormAssociatedDatePicker",
199
- "module": "libs/components/src/lib/date-picker/date-picker.form-associated.ts"
251
+ "name": "DatePickerBase",
252
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
200
253
  }
201
254
  }
202
255
  ],
256
+ "superclass": {
257
+ "name": "DatePickerBase",
258
+ "module": "/libs/components/src/shared/date-picker/date-picker-base"
259
+ },
203
260
  "attributes": [
204
261
  {
205
262
  "type": {
@@ -207,15 +264,11 @@ Code in this file were generated using following JSON:
207
264
  },
208
265
  "description": "The earliest accepted date of the date-picker.",
209
266
  "default": "''",
210
- "fieldName": "min"
211
- },
212
- {
213
- "type": {
214
- "text": "string"
215
- },
216
- "description": "The latest accepted date of the date-picker.",
217
- "default": "''",
218
- "fieldName": "max"
267
+ "fieldName": "min",
268
+ "inheritedFrom": {
269
+ "name": "DatePickerBase",
270
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
271
+ }
219
272
  },
220
273
  {
221
274
  "name": "value",
@@ -223,7 +276,11 @@ Code in this file were generated using following JSON:
223
276
  "text": "string"
224
277
  },
225
278
  "description": "The initial value of the date-picker.",
226
- "fieldName": "initialValue"
279
+ "fieldName": "initialValue",
280
+ "inheritedFrom": {
281
+ "name": "DatePickerBase",
282
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
283
+ }
227
284
  },
228
285
  {
229
286
  "name": "current-value",
@@ -231,7 +288,11 @@ Code in this file were generated using following JSON:
231
288
  "text": "string"
232
289
  },
233
290
  "description": "The current value of the date-picker.",
234
- "fieldName": "currentValue"
291
+ "fieldName": "currentValue",
292
+ "inheritedFrom": {
293
+ "name": "DatePickerBase",
294
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
295
+ }
235
296
  },
236
297
  {
237
298
  "name": "readonly",
@@ -240,13 +301,13 @@ Code in this file were generated using following JSON:
240
301
  },
241
302
  "default": "false",
242
303
  "description": "Whether the date-picker is readonly.",
243
- "fieldName": "readOnly"
304
+ "fieldName": "readOnly",
305
+ "inheritedFrom": {
306
+ "name": "DatePickerBase",
307
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
308
+ }
244
309
  }
245
- ],
246
- "superclass": {
247
- "name": "FormAssociatedDatePicker",
248
- "module": "/libs/components/src/lib/date-picker/date-picker.form-associated"
249
- }
310
+ ]
250
311
  }
251
312
  */
252
313
  import wrapper from '@vonage/vivid-react-wrapper'
@@ -257,7 +318,7 @@ registerDatePicker('vvd3')
257
318
  const VwcDatePicker = wrapper(`vvd3-date-picker`, {
258
319
  events: [],
259
320
  attributes: [],
260
- properties: ['min', 'max', 'initialValue', 'currentValue', 'readOnly', 'value', 'proxy', 'type']
321
+ properties: ['type', 'label', 'min', 'max', 'initialValue', 'currentValue', 'readOnly', 'value']
261
322
  })
262
323
 
263
324
  VwcDatePicker.displayName = 'VwcDatePicker'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-date-picker",
3
- "version": "3.37.0",
3
+ "version": "3.40.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": "3.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -0,0 +1,29 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** Base class for date-picker
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/date-picker-base
4
+ * @param {string} label
5
+ * @param {string} min - The earliest accepted date of the date-picker. **attribute** `min`
6
+ * @param {string} max - The latest accepted date of the date-picker. **attribute** `max`
7
+ * @param {string} initialValue - The initial value of the date-picker. **attribute** `value`
8
+ * @param {string} currentValue - The current value of the date-picker. **attribute** `current-value`
9
+ * @param {boolean} readOnly - Whether the date-picker is readonly. **attribute** `readonly`
10
+ * @param {string} value
11
+ */
12
+ declare const VwcDatePickerBase: {
13
+ (props: {
14
+ children?: ReactNode;
15
+ slot?: string | undefined;
16
+ id?: string | undefined;
17
+ style?: React.CSSProperties | undefined;
18
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
19
+ label?: string | undefined;
20
+ min?: string | undefined;
21
+ max?: string | undefined;
22
+ initialValue?: string | undefined;
23
+ currentValue?: string | undefined;
24
+ readOnly?: boolean | undefined;
25
+ value?: string | undefined;
26
+ }): JSX.Element;
27
+ displayName: string;
28
+ };
29
+ export default VwcDatePickerBase;