-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathselectChangelogData.ts
More file actions
84 lines (83 loc) · 2.71 KB
/
selectChangelogData.ts
File metadata and controls
84 lines (83 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/** This data is used to populate the ComponentChangelogTable component.
*
* date: string (when adding new entry during development, set value as "Prerelease")
* version: string (when adding new entry during development, set value as "Prerelease")
* type: "Bug Fix" | "New Feature" | "Update";
* affects: array["Accessibility" | "Documentation" | "Functionality" | "Styles"];
* notes: array (will render as a bulleted list, add one array element for each list element)
*/
import { ChangelogData } from "../../utils/ComponentChangelogTable";
export const changelogData: ChangelogData[] = [
{
date: "Prerelease",
version: "Prerelease",
type: "Update",
affects: ["Styles"],
notes: ["Fixes the RTL styles for the dropdown arrow."],
},
{
date: "2025-08-11",
version: "4.0.0",
type: "Update",
affects: ["Functionality", "Styles"],
notes: [
"Changes theme name from `CustomSelect` to `ReservoirSelect` for consistency.",
"Removes explicit `className` prop as interface can be extended to include Chakra prop or HTML attribute types.",
"Removes `name`, `onChange`, and `value` props (as HTML equivalents may be used) and updates docs.",
"Rename `selectType` to `variant`.",
"Updates the `id` prop to be optional and generates a random id if not provided.",
"Adds `data-testid` value of `ds-select` to the parent element.",
"Fixes helper error text alignment when label is not shown and it is inlined.",
],
},
{
date: "2025-04-10",
version: "3.6.0",
type: "Update",
affects: ["Functionality", "Accessibility"],
notes: [
"Adds the `autoComplete` prop to the select element.",
"Adds `requiredLabelText` prop to allow customization of the '(required)' text.",
"Fixes the vertical alignment of the label for the `inline` variant.",
],
},
{
date: "2024-09-19",
version: "3.3.2",
type: "Update",
affects: ["Styles"],
notes: ["Changes 'r' in '(required)' label from upper- to lowercase"],
},
{
date: "2024-08-29",
version: "3.3.0",
type: "Update",
affects: ["Functionality"],
notes: [
"Updates component to accept a `defaultValue` prop to set initial value of uncontrolled components.",
],
},
{
date: "2024-06-20",
version: "3.1.6",
type: "Update",
affects: ["Styles"],
notes: ["Adds interaction tests for the Controls story."],
},
{
date: "2024-04-11",
version: "3.1.0",
type: "Update",
affects: ["Styles"],
notes: [
"Reduced the spacing between the field label and the field itself.",
],
},
{
date: "2024-03-14",
version: "3.0.0",
type: "Update",
affects: ["Styles"],
notes: ["Chakra 2.8 update."],
},
];