@digital-ai/dot-components 1.21.10 → 1.21.12

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/CHANGE_LOG.md CHANGED
@@ -1,5 +1,287 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.21.12](https://github.com/digital-ai/dot-components/tree/1.21.12) (07/14/2023)
4
+
5
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.10.2...1.21.12)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Toggle button color property in icon error [\#1428](https://github.com/digital-ai/dot-components/issues/1428)
10
+ - D-25878: File Size calculated incorrectly in DotFileUpload Component [\#1547](https://github.com/digital-ai/dot-components/pull/1547) ([KumaranKanagaraj](https://github.com/KumaranKanagaraj))
11
+
12
+ ## [2.10.2](https://github.com/digital-ai/dot-components/tree/2.10.2) (07/11/2023)
13
+
14
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.10.1...2.10.2)
15
+
16
+ **Features:**
17
+
18
+ - Update list component that can have 2 end actions [\#1533](https://github.com/digital-ai/dot-components/issues/1533)
19
+
20
+ **Fixed bugs:**
21
+
22
+ - TableCell actions cell uses 'onclick' property to set the 'onClick' handler. Should allow onClick property so its not necessary to treat this specially in callers. [\#1453](https://github.com/digital-ai/dot-components/issues/1453)
23
+ - D-25823: adjust breadcrumb & link styles to match latest figma [\#1539](https://github.com/digital-ai/dot-components/pull/1539) ([CWSites](https://github.com/CWSites))
24
+ - D-25822: Remove improper capitalization of `onclick` [\#1538](https://github.com/digital-ai/dot-components/pull/1538) ([CWSites](https://github.com/CWSites))
25
+
26
+ **Closed issues:**
27
+
28
+ - Update the links in Breadcrumbs [\#1363](https://github.com/digital-ai/dot-components/issues/1363)
29
+
30
+ **Merged pull requests:**
31
+
32
+ - S-91990: LinearProgress add aria-label [\#1537](https://github.com/digital-ai/dot-components/pull/1537) ([CWSites](https://github.com/CWSites))
33
+ - S-91989: remove default aria-label, add link label to missing link [\#1536](https://github.com/digital-ai/dot-components/pull/1536) ([CWSites](https://github.com/CWSites))
34
+ - S-91989: update link to have aria-label [\#1534](https://github.com/digital-ai/dot-components/pull/1534) ([CWSites](https://github.com/CWSites))
35
+ - `master` \> `develop` [\#1532](https://github.com/digital-ai/dot-components/pull/1532) ([angel-git](https://github.com/angel-git))
36
+
37
+ ## [2.10.1](https://github.com/digital-ai/dot-components/tree/2.10.1) (06/29/2023)
38
+
39
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.10.0...2.10.1)
40
+
41
+ **Fixed bugs:**
42
+
43
+ - D-25690: DotRadioButtons missing name prop [\#1530](https://github.com/digital-ai/dot-components/pull/1530) ([ryangamble](https://github.com/ryangamble))
44
+
45
+ ## [2.10.0](https://github.com/digital-ai/dot-components/tree/2.10.0) (06/22/2023)
46
+
47
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.9.0...2.10.0)
48
+
49
+ **Features:**
50
+
51
+ - Add Placeholder functionality to `InlineEdit` [\#1480](https://github.com/digital-ai/dot-components/issues/1480)
52
+ - S-92995: Add placeholder prop to inline edit [\#1519](https://github.com/digital-ai/dot-components/pull/1519) ([CWSites](https://github.com/CWSites))
53
+
54
+ **Fixed bugs:**
55
+
56
+ - S-91947: Fix table truncation defect [\#1526](https://github.com/digital-ai/dot-components/pull/1526) ([CWSites](https://github.com/CWSites))
57
+
58
+ **Merged pull requests:**
59
+
60
+ - S-91982: update keyboard functions [\#1524](https://github.com/digital-ai/dot-components/pull/1524) ([CWSites](https://github.com/CWSites))
61
+
62
+ ## [2.9.0](https://github.com/digital-ai/dot-components/tree/2.9.0) (06/07/2023)
63
+
64
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.8.2...2.9.0)
65
+
66
+ **Features:**
67
+
68
+ - Support numbers in `DotAvatar` [\#1401](https://github.com/digital-ai/dot-components/issues/1401)
69
+ - S-90959: `DotAvatar` support numbers [\#1515](https://github.com/digital-ai/dot-components/pull/1515) ([CWSites](https://github.com/CWSites))
70
+
71
+ **Fixed bugs:**
72
+
73
+ - DotAutoComplete Requires `defaultValue` to be an Array [\#1501](https://github.com/digital-ai/dot-components/issues/1501)
74
+ - DotAutoComplete Will Crash If Only Require Fields Provided [\#1500](https://github.com/digital-ai/dot-components/issues/1500)
75
+ - S-90959: Update breadcrumb separator alignment [\#1517](https://github.com/digital-ai/dot-components/pull/1517) ([CWSites](https://github.com/CWSites))
76
+ - D-25282: parse defaultValue according to multiple true/false [\#1510](https://github.com/digital-ai/dot-components/pull/1510) ([CWSites](https://github.com/CWSites))
77
+ - D-25283: AutoComplete options should default to an empty array [\#1509](https://github.com/digital-ai/dot-components/pull/1509) ([CWSites](https://github.com/CWSites))
78
+
79
+ **Merged pull requests:**
80
+
81
+ - S-91984: add default ariaLabel to DotIconButton for a11y [\#1514](https://github.com/digital-ai/dot-components/pull/1514) ([CWSites](https://github.com/CWSites))
82
+ - Refactor Autocomplete Popper to be separate file [\#1513](https://github.com/digital-ai/dot-components/pull/1513) ([CWSites](https://github.com/CWSites))
83
+
84
+ ## [2.8.2](https://github.com/digital-ai/dot-components/tree/2.8.2) (05/26/2023)
85
+
86
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.21.11...2.8.2)
87
+
88
+ **Fixed bugs:**
89
+
90
+ - S-91947: DotStepper step onClick validation [\#1503](https://github.com/digital-ai/dot-components/pull/1503) ([ryangamble](https://github.com/ryangamble))
91
+ - S-92200: Dynamic form autocomplete needs to handle free-form input [\#1490](https://github.com/digital-ai/dot-components/pull/1490) ([jmcnally](https://github.com/jmcnally))
92
+
93
+ **Merged pull requests:**
94
+
95
+ - S-91987: update drawer to have correct aria attributes [\#1506](https://github.com/digital-ai/dot-components/pull/1506) ([CWSites](https://github.com/CWSites))
96
+ - S-91988: components missing focus visibility indicator [\#1504](https://github.com/digital-ai/dot-components/pull/1504) ([CWSites](https://github.com/CWSites))
97
+
98
+ ## [1.21.11](https://github.com/digital-ai/dot-components/tree/1.21.11) (05/25/2023)
99
+
100
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.8.1...1.21.11)
101
+
102
+ **Features:**
103
+
104
+ - S-92577 `DotAutoComplete`: expose `inputValue` prop [\#1502](https://github.com/digital-ai/dot-components/pull/1502) ([angel-git](https://github.com/angel-git))
105
+
106
+ ## [2.8.1](https://github.com/digital-ai/dot-components/tree/2.8.1) (05/17/2023)
107
+
108
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.8.0...2.8.1)
109
+
110
+ **Features:**
111
+
112
+ - `DotAutoComplete`: expose `inputValue` prop [\#1493](https://github.com/digital-ai/dot-components/issues/1493)
113
+ - Improvement for time picker with conditional rendering [\#1491](https://github.com/digital-ai/dot-components/issues/1491)
114
+ - S-92577: `DotAutoComplete` - expose `inputValue` prop [\#1494](https://github.com/digital-ai/dot-components/pull/1494) ([dmiletic85](https://github.com/dmiletic85))
115
+ - S-92557 Add new prop onPopperTimeChange for TimePicker [\#1492](https://github.com/digital-ai/dot-components/pull/1492) ([nikolinadapic](https://github.com/nikolinadapic))
116
+ - S-92402 Add `endText` on `DotInputText` and `DotInputSelect` [\#1489](https://github.com/digital-ai/dot-components/pull/1489) ([angel-git](https://github.com/angel-git))
117
+
118
+ **Fixed bugs:**
119
+
120
+ - Remove the yellow badge from navigation rail [\#1398](https://github.com/digital-ai/dot-components/issues/1398)
121
+ - Buttons are not accessible in disabled state [\#1364](https://github.com/digital-ai/dot-components/issues/1364)
122
+ - S-92312: Release workflow adjustments [\#1498](https://github.com/digital-ai/dot-components/pull/1498) ([CWSites](https://github.com/CWSites))
123
+ - S-92312: Fix issue with env context in release workflow [\#1496](https://github.com/digital-ai/dot-components/pull/1496) ([BoraAksoy](https://github.com/BoraAksoy))
124
+ - S-90263: Update `DotButton` to follow latest Figma design [\#1486](https://github.com/digital-ai/dot-components/pull/1486) ([CWSites](https://github.com/CWSites))
125
+
126
+ **Merged pull requests:**
127
+
128
+ - S-92312: Refactor workflows to use latest features and action versions [\#1485](https://github.com/digital-ai/dot-components/pull/1485) ([BoraAksoy](https://github.com/BoraAksoy))
129
+
130
+ ## [2.8.0](https://github.com/digital-ai/dot-components/tree/2.8.0) (05/09/2023)
131
+
132
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.7.4...2.8.0)
133
+
134
+ **Features:**
135
+
136
+ - `DotAutoComplete`: expose `filterOptions` prop [\#1478](https://github.com/digital-ai/dot-components/issues/1478)
137
+ - S-92379: `DotAutoComplete`: expose `filterOptions` prop [\#1479](https://github.com/digital-ai/dot-components/pull/1479) ([dmiletic85](https://github.com/dmiletic85))
138
+
139
+ **Fixed bugs:**
140
+
141
+ - Outline Chip/Status Pill Issue Between Design System and Component Library [\#1409](https://github.com/digital-ai/dot-components/issues/1409)
142
+ - D-24399: Add filled pill css and include a few sample icon choices in stories [\#1477](https://github.com/digital-ai/dot-components/pull/1477) ([jmcnally](https://github.com/jmcnally))
143
+
144
+ **Merged pull requests:**
145
+
146
+ - S-91986: `aria-role` on missing components [\#1482](https://github.com/digital-ai/dot-components/pull/1482) ([CWSites](https://github.com/CWSites))
147
+
148
+ ## [2.7.4](https://github.com/digital-ai/dot-components/tree/2.7.4) (05/04/2023)
149
+
150
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.7.3...2.7.4)
151
+
152
+ **Features:**
153
+
154
+ - `DotAutoComplete`: Expose `getOptionDisabled` from MUI Autocomplete [\#1473](https://github.com/digital-ai/dot-components/issues/1473)
155
+ - `DotTimePicker` and `DotDatePicker`: value prop should be in ISO 8601 [\#1469](https://github.com/digital-ai/dot-components/issues/1469)
156
+ - `DotDatePicker`, `DotTimePicker`: Improve keyboard accessibility [\#1468](https://github.com/digital-ai/dot-components/issues/1468)
157
+ - S-92362: `DotAutoComplete` - Expose `getOptionDisabled` from MUI Autocomplete [\#1474](https://github.com/digital-ai/dot-components/pull/1474) ([dmiletic85](https://github.com/dmiletic85))
158
+ - S-92310 Use ISO format for `DatePicker` and `TimePicker` [\#1472](https://github.com/digital-ai/dot-components/pull/1472) ([angel-git](https://github.com/angel-git))
159
+ - S-92224: `DotDatePicker`, `DotTimePicker` - Improve keyboard accessibility [\#1470](https://github.com/digital-ai/dot-components/pull/1470) ([dmiletic85](https://github.com/dmiletic85))
160
+
161
+ ## [2.7.3](https://github.com/digital-ai/dot-components/tree/2.7.3) (05/01/2023)
162
+
163
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.7.2...2.7.3)
164
+
165
+ **Features:**
166
+
167
+ - Give InlineEdit an inputRef property [\#1433](https://github.com/digital-ai/dot-components/issues/1433)
168
+ - D-24626: Add startEditable attribute to InlineEdit [\#1466](https://github.com/digital-ai/dot-components/pull/1466) ([jmcnally](https://github.com/jmcnally))
169
+ - S-92086: `DotDatePicker` improvements [\#1461](https://github.com/digital-ai/dot-components/pull/1461) ([dmiletic85](https://github.com/dmiletic85))
170
+
171
+ **Merged pull requests:**
172
+
173
+ - Updates to deprecated github action `set-output` [\#1465](https://github.com/digital-ai/dot-components/pull/1465) ([CWSites](https://github.com/CWSites))
174
+ - remove use of set-output [\#1464](https://github.com/digital-ai/dot-components/pull/1464) ([CWSites](https://github.com/CWSites))
175
+ - S-91985: Improve form input labelling for accessibility [\#1463](https://github.com/digital-ai/dot-components/pull/1463) ([jmcnally](https://github.com/jmcnally))
176
+
177
+ ## [2.7.2](https://github.com/digital-ai/dot-components/tree/2.7.2) (04/24/2023)
178
+
179
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.7.1...2.7.2)
180
+
181
+ **Features:**
182
+
183
+ - `DotDatePicker` improvements [\#1460](https://github.com/digital-ai/dot-components/issues/1460)
184
+ - Update DotPill to match current designs [\#1449](https://github.com/digital-ai/dot-components/issues/1449)
185
+
186
+ **Fixed bugs:**
187
+
188
+ - Issue-1449: Update status pills to have generally lighter backgrounds [\#1456](https://github.com/digital-ai/dot-components/pull/1456) ([jmcnally](https://github.com/jmcnally))
189
+
190
+ ## [2.7.1](https://github.com/digital-ai/dot-components/tree/2.7.1) (04/20/2023)
191
+
192
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.7.0...2.7.1)
193
+
194
+ **Features:**
195
+
196
+ - Improve keyboard access for TimePicker [\#1452](https://github.com/digital-ai/dot-components/issues/1452)
197
+ - `DotDatePicker` i should be able to provide min and max dates [\#1441](https://github.com/digital-ai/dot-components/issues/1441)
198
+ - S-91943: `DotDatePicker` - add `minDate` and `maxDate` props [\#1450](https://github.com/digital-ai/dot-components/pull/1450) ([dmiletic85](https://github.com/dmiletic85))
199
+
200
+ **Fixed bugs:**
201
+
202
+ - `DotTimePicker` and `DotDatePicker`: controlled vs uncontrolled [\#1446](https://github.com/digital-ai/dot-components/issues/1446)
203
+ - Can't start dot demo application [\#1445](https://github.com/digital-ai/dot-components/issues/1445)
204
+ - `DotTimePicker`, `DotDatePicker`: fix issues with controlled and uncontrolled states [\#1454](https://github.com/digital-ai/dot-components/pull/1454) ([dmiletic85](https://github.com/dmiletic85))
205
+ - D-24807: `Demo app` - fix error when starting demo application [\#1451](https://github.com/digital-ai/dot-components/pull/1451) ([dmiletic85](https://github.com/dmiletic85))
206
+
207
+ **Merged pull requests:**
208
+
209
+ - S-91314: Remove use of deprecated `StylesProvider` [\#1457](https://github.com/digital-ai/dot-components/pull/1457) ([CWSites](https://github.com/CWSites))
210
+ - S-91975: `TimePicker` - Improve keyboard access [\#1455](https://github.com/digital-ai/dot-components/pull/1455) ([dmiletic85](https://github.com/dmiletic85))
211
+
212
+ ## [2.7.0](https://github.com/digital-ai/dot-components/tree/2.7.0) (04/14/2023)
213
+
214
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.6.1...2.7.0)
215
+
216
+ **Features:**
217
+
218
+ - `DotDatePicker`, `DotTimePicker`: expose `onBlur` prop [\#1442](https://github.com/digital-ai/dot-components/issues/1442)
219
+ - `DotButton` should expose `tabIndex` prop [\#1438](https://github.com/digital-ai/dot-components/issues/1438)
220
+ - S-91919: `DotDatePicker`, `DotTimePicker`: expose `onBlur` prop [\#1443](https://github.com/digital-ai/dot-components/pull/1443) ([dmiletic85](https://github.com/dmiletic85))
221
+ - S-91870 `DotButton`: expose `tabIndex` prop [\#1439](https://github.com/digital-ai/dot-components/pull/1439) ([dmiletic85](https://github.com/dmiletic85))
222
+
223
+ **Fixed bugs:**
224
+
225
+ - `DotTimePicker` has the wrong icon [\#1440](https://github.com/digital-ai/dot-components/issues/1440)
226
+ - D-24793: `DotTimePicker` - set clock instead of calendar icon [\#1444](https://github.com/digital-ai/dot-components/pull/1444) ([dmiletic85](https://github.com/dmiletic85))
227
+
228
+ ## [2.6.1](https://github.com/digital-ai/dot-components/tree/2.6.1) (04/06/2023)
229
+
230
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.6.0...2.6.1)
231
+
232
+ **Fixed bugs:**
233
+
234
+ - `DotSidebar` Icons are not aligned [\#1435](https://github.com/digital-ai/dot-components/issues/1435)
235
+ - D-24672: update icon alignment in sidebar [\#1436](https://github.com/digital-ai/dot-components/pull/1436) ([CWSites](https://github.com/CWSites))
236
+
237
+ ## [2.6.0](https://github.com/digital-ai/dot-components/tree/2.6.0) (04/05/2023)
238
+
239
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.5.5...2.6.0)
240
+
241
+ **Features:**
242
+
243
+ - S-90954: `TimePicker` component [\#1432](https://github.com/digital-ai/dot-components/pull/1432) ([dmiletic85](https://github.com/dmiletic85))
244
+ - S-87859: Stepper component [\#1392](https://github.com/digital-ai/dot-components/pull/1392) ([nikolinadapic](https://github.com/nikolinadapic))
245
+
246
+ ## [2.5.5](https://github.com/digital-ai/dot-components/tree/2.5.5) (03/31/2023)
247
+
248
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.5.4...2.5.5)
249
+
250
+ **Features:**
251
+
252
+ - Make InputText support variant field [\#1420](https://github.com/digital-ai/dot-components/issues/1420)
253
+
254
+ **Fixed bugs:**
255
+
256
+ - `DotButtonToggle`: icons are misaligned [\#1426](https://github.com/digital-ai/dot-components/issues/1426)
257
+ - S-82103: Update InlineEdit state [\#1430](https://github.com/digital-ai/dot-components/pull/1430) ([ryangamble](https://github.com/ryangamble))
258
+ - D-24591: Align icon on `ButtonToggle` [\#1427](https://github.com/digital-ai/dot-components/pull/1427) ([angel-git](https://github.com/angel-git))
259
+
260
+ ## [2.5.4](https://github.com/digital-ai/dot-components/tree/2.5.4) (03/29/2023)
261
+
262
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.5.3...2.5.4)
263
+
264
+ **Features:**
265
+
266
+ - Calendar date and time picker component [\#1359](https://github.com/digital-ai/dot-components/issues/1359)
267
+ - S-90953: `DatePicker` component [\#1411](https://github.com/digital-ai/dot-components/pull/1411) ([dmiletic85](https://github.com/dmiletic85))
268
+
269
+ **Fixed bugs:**
270
+
271
+ - D-24483: Do not hide the backdrop [\#1423](https://github.com/digital-ai/dot-components/pull/1423) ([jmcnally](https://github.com/jmcnally))
272
+
273
+ **Merged pull requests:**
274
+
275
+ - resolve build issues with vsm-hub demo [\#1424](https://github.com/digital-ai/dot-components/pull/1424) ([CWSites](https://github.com/CWSites))
276
+
277
+ ## [2.5.3](https://github.com/digital-ai/dot-components/tree/2.5.3) (03/21/2023)
278
+
279
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.21.10...2.5.3)
280
+
281
+ **Fixed bugs:**
282
+
283
+ - S-90229 AppSwitcher search and recent instances [\#1418](https://github.com/digital-ai/dot-components/pull/1418) ([jmcnally](https://github.com/jmcnally))
284
+
3
285
  ## [1.21.10](https://github.com/digital-ai/dot-components/tree/1.21.10) (03/17/2023)
4
286
 
5
287
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/2.5.2...1.21.10)
@@ -355,6 +637,7 @@
355
637
  **Fixed bugs:**
356
638
 
357
639
  - Use of `release-2.0` branch causes `Typography` to use default styling [\#1151](https://github.com/digital-ai/dot-components/issues/1151)
640
+ - D-22241: `DotFileListItem`: fix focus states and expose `onKeyPress` [\#1254](https://github.com/digital-ai/dot-components/pull/1254) ([dmiletic85](https://github.com/dmiletic85))
358
641
 
359
642
  ## [2.0.0-rc.1](https://github.com/digital-ai/dot-components/tree/2.0.0-rc.1) (08/31/2022)
360
643
 
@@ -362,7 +645,6 @@
362
645
 
363
646
  **Fixed bugs:**
364
647
 
365
- - D-22241: `DotFileListItem`: fix focus states and expose `onKeyPress` [\#1254](https://github.com/digital-ai/dot-components/pull/1254) ([dmiletic85](https://github.com/dmiletic85))
366
648
  - S-86692: component cleanup [\#1238](https://github.com/digital-ai/dot-components/pull/1238) ([CWSites](https://github.com/CWSites))
367
649
  - S-84151: fix e2e tests for Release 2.0 [\#1146](https://github.com/digital-ai/dot-components/pull/1146) ([CWSites](https://github.com/CWSites))
368
650
 
@@ -503,7 +785,6 @@
503
785
 
504
786
  - Sidebar drawer/expanded does not have a data-testid prop supplied [\#1162](https://github.com/digital-ai/dot-components/issues/1162)
505
787
  - D-21245: make sure `data-testid` is passed to nested lists [\#1182](https://github.com/digital-ai/dot-components/pull/1182) ([CWSites](https://github.com/CWSites))
506
- - D-21267: adjust color of helper text [\#1174](https://github.com/digital-ai/dot-components/pull/1174) ([CWSites](https://github.com/CWSites))
507
788
 
508
789
  ## [1.17.1](https://github.com/digital-ai/dot-components/tree/1.17.1) (05/19/2022)
509
790
 
@@ -527,6 +808,7 @@
527
808
 
528
809
  - `helperText` on input fields shouldn't be bold [\#1165](https://github.com/digital-ai/dot-components/issues/1165)
529
810
  - `DotMenu` popup appears to be flickering on Safari [\#1123](https://github.com/digital-ai/dot-components/issues/1123)
811
+ - D-21267: adjust color of helper text [\#1174](https://github.com/digital-ai/dot-components/pull/1174) ([CWSites](https://github.com/CWSites))
530
812
  - D-21265: `helperText` on input fields shouldn't be bold [\#1167](https://github.com/digital-ai/dot-components/pull/1167) ([dmiletic85](https://github.com/dmiletic85))
531
813
 
532
814
  **Merged pull requests:**
@@ -555,7 +837,6 @@
555
837
  **Features:**
556
838
 
557
839
  - Ability to add custom component to AppToolBar navItems [\#1135](https://github.com/digital-ai/dot-components/issues/1135)
558
- - S-84453: add support for badge to AppToolbar navItems [\#1152](https://github.com/digital-ai/dot-components/pull/1152) ([CWSites](https://github.com/CWSites))
559
840
 
560
841
  **Fixed bugs:**
561
842
 
@@ -802,10 +1083,6 @@
802
1083
  - DotAlertBanner shows close icon when no onClose callback is provided [\#972](https://github.com/digital-ai/dot-components/issues/972)
803
1084
  - D-19803: Fix DotDrawer regression [\#980](https://github.com/digital-ai/dot-components/pull/980) ([selsemore](https://github.com/selsemore))
804
1085
 
805
- **Merged pull requests:**
806
-
807
- - S-76846: NX major upgrade to `13.7.3` [\#952](https://github.com/digital-ai/dot-components/pull/952) ([CWSites](https://github.com/CWSites))
808
-
809
1086
  ## [1.8.0](https://github.com/digital-ai/dot-components/tree/1.8.0) (02/02/2022)
810
1087
 
811
1088
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.7.0...1.8.0)
@@ -864,6 +1141,7 @@
864
1141
 
865
1142
  **Merged pull requests:**
866
1143
 
1144
+ - S-76846: NX major upgrade to `13.7.3` [\#952](https://github.com/digital-ai/dot-components/pull/952) ([CWSites](https://github.com/CWSites))
867
1145
  - S-76846: upgrade to NX & storybook to latest `minor` release [\#951](https://github.com/digital-ai/dot-components/pull/951) ([CWSites](https://github.com/CWSites))
868
1146
  - S-76846: upgrade NX to latest [\#950](https://github.com/digital-ai/dot-components/pull/950) ([CWSites](https://github.com/CWSites))
869
1147
  - D-19517: Deprecate `minWidth` prop on Breadcrumbs [\#944](https://github.com/digital-ai/dot-components/pull/944) ([dmiletic85](https://github.com/dmiletic85))
@@ -974,6 +1252,7 @@
974
1252
  **Merged pull requests:**
975
1253
 
976
1254
  - S-80787: include changelog generation with release [\#877](https://github.com/digital-ai/dot-components/pull/877) ([CWSites](https://github.com/CWSites))
1255
+ - S-80787: branch protection [\#868](https://github.com/digital-ai/dot-components/pull/868) ([CWSites](https://github.com/CWSites))
977
1256
 
978
1257
  ## [1.5.2](https://github.com/digital-ai/dot-components/tree/1.5.2) (12/17/2021)
979
1258
 
@@ -1014,7 +1293,6 @@
1014
1293
 
1015
1294
  **Merged pull requests:**
1016
1295
 
1017
- - S-80787: branch protection [\#868](https://github.com/digital-ai/dot-components/pull/868) ([CWSites](https://github.com/CWSites))
1018
1296
  - S-80783: add ESLint rule for alpha order [\#867](https://github.com/digital-ai/dot-components/pull/867) ([CWSites](https://github.com/CWSites))
1019
1297
 
1020
1298
  ## [1.4.0](https://github.com/digital-ai/dot-components/tree/1.4.0) (12/13/2021)
package/index.esm.js CHANGED
@@ -3140,6 +3140,7 @@ const DotAutoComplete = ({
3140
3140
  helperText,
3141
3141
  inputId,
3142
3142
  inputRef,
3143
+ inputValue,
3143
3144
  label,
3144
3145
  loading,
3145
3146
  maxHeight,
@@ -3305,9 +3306,9 @@ const DotAutoComplete = ({
3305
3306
  }); // Create handler only if 'onInputChange' or 'actionItem' prop is defined
3306
3307
 
3307
3308
 
3308
- const handleInputChange = (onInputChange || isActionItemDefined) && ((event, inputValue, reason) => {
3309
- isActionItemDefined && setInputText(inputValue);
3310
- onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(event, inputValue, reason);
3309
+ const handleInputChange = (onInputChange || isActionItemDefined) && ((event, currentInputValue, reason) => {
3310
+ isActionItemDefined && setInputText(currentInputValue);
3311
+ onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(event, currentInputValue, reason);
3311
3312
  }) || undefined; // Create callback when action item click event handler is defined,
3312
3313
  // free-solo mode is NOT set and 'Enter' key has been pressed
3313
3314
 
@@ -3375,6 +3376,7 @@ const DotAutoComplete = ({
3375
3376
  freeSolo: _freesolo,
3376
3377
  getOptionLabel: option => parseAutoCompleteValue(option),
3377
3378
  groupBy: _group ? option => option.group : undefined,
3379
+ inputValue: inputValue,
3378
3380
  ListboxComponent: ListboxComponent,
3379
3381
  loading: loading,
3380
3382
  multiple: _multiple,
@@ -3406,7 +3408,7 @@ const DotAutoComplete = ({
3406
3408
  // passed to renderInput includes inputProps and InputProps properties
3407
3409
  // that must be passed to TextField in order for Autocomplete to work
3408
3410
  // correctly. We decided that at this time exposing those props in
3409
- // DotInputText would not be a worthwhile tradeoff. Instead we are
3411
+ // DotInputText would not be a worthwhile tradeoff. Instead, we are
3410
3412
  // using the StyledTextField used by DotInputText so that we will
3411
3413
  // at least pick up any styling that is used there. Should additional
3412
3414
  // functionality be added to DotInputText we will have to make a
@@ -8271,7 +8273,7 @@ const DotFileUpload = ({
8271
8273
  } = useDropzone({
8272
8274
  accept,
8273
8275
  disabled: isUploadDisabled,
8274
- maxSize: maxSize * 1000000,
8276
+ maxSize: maxSize * 1024 * 1024,
8275
8277
  multiple: allowMultiple,
8276
8278
  noClick: true,
8277
8279
  onDragEnter,
package/index.umd.js CHANGED
@@ -3442,6 +3442,7 @@
3442
3442
  helperText = _a.helperText,
3443
3443
  inputId = _a.inputId,
3444
3444
  inputRef = _a.inputRef,
3445
+ inputValue = _a.inputValue,
3445
3446
  label = _a.label,
3446
3447
  loading = _a.loading,
3447
3448
  maxHeight = _a.maxHeight,
@@ -3624,9 +3625,9 @@
3624
3625
  }; // Create handler only if 'onInputChange' or 'actionItem' prop is defined
3625
3626
 
3626
3627
 
3627
- var handleInputChange = (onInputChange || isActionItemDefined) && function (event, inputValue, reason) {
3628
- isActionItemDefined && setInputText(inputValue);
3629
- onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(event, inputValue, reason);
3628
+ var handleInputChange = (onInputChange || isActionItemDefined) && function (event, currentInputValue, reason) {
3629
+ isActionItemDefined && setInputText(currentInputValue);
3630
+ onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(event, currentInputValue, reason);
3630
3631
  } || undefined; // Create callback when action item click event handler is defined,
3631
3632
  // free-solo mode is NOT set and 'Enter' key has been pressed
3632
3633
 
@@ -3700,6 +3701,7 @@
3700
3701
  groupBy: group ? function (option) {
3701
3702
  return option.group;
3702
3703
  } : undefined,
3704
+ inputValue: inputValue,
3703
3705
  ListboxComponent: ListboxComponent,
3704
3706
  loading: loading,
3705
3707
  multiple: multiple,
@@ -3733,7 +3735,7 @@
3733
3735
  // passed to renderInput includes inputProps and InputProps properties
3734
3736
  // that must be passed to TextField in order for Autocomplete to work
3735
3737
  // correctly. We decided that at this time exposing those props in
3736
- // DotInputText would not be a worthwhile tradeoff. Instead we are
3738
+ // DotInputText would not be a worthwhile tradeoff. Instead, we are
3737
3739
  // using the StyledTextField used by DotInputText so that we will
3738
3740
  // at least pick up any styling that is used there. Should additional
3739
3741
  // functionality be added to DotInputText we will have to make a
@@ -9019,7 +9021,7 @@
9019
9021
  var _e = reactDropzone.useDropzone({
9020
9022
  accept: accept,
9021
9023
  disabled: isUploadDisabled,
9022
- maxSize: maxSize * 1000000,
9024
+ maxSize: maxSize * 1024 * 1024,
9023
9025
  multiple: allowMultiple,
9024
9026
  noClick: true,
9025
9027
  onDragEnter: onDragEnter,
@@ -53,6 +53,8 @@ export interface AutoCompleteProps<T extends AutoCompleteOption = AutoCompleteOp
53
53
  inputId: string;
54
54
  /** pass a ref to the input element */
55
55
  inputRef?: Ref<HTMLInputElement>;
56
+ /** The value of the input field. */
57
+ inputValue?: string;
56
58
  /** Label displayed above the input field */
57
59
  label?: string;
58
60
  /** If true, the component will be in a loading state. */
@@ -94,4 +96,4 @@ export interface AutoCompleteProps<T extends AutoCompleteOption = AutoCompleteOp
94
96
  /** If true, the label will be displayed in a warning state. */
95
97
  warning?: boolean;
96
98
  }
97
- export declare const DotAutoComplete: <T extends AutoCompleteOption>({ ListboxComponent, actionItem, ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterSelectedOptions, freesolo, group, helperText, inputId, inputRef, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, readOnly, renderOption, renderTags, required, size, value, warning, }: AutoCompleteProps<T>) => JSX.Element;
99
+ export declare const DotAutoComplete: <T extends AutoCompleteOption>({ ListboxComponent, actionItem, ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterSelectedOptions, freesolo, group, helperText, inputId, inputRef, inputValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, readOnly, renderOption, renderTags, required, size, value, warning, }: AutoCompleteProps<T>) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "1.21.10",
3
+ "version": "1.21.12",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [