Skip to content

Commit 39393ba

Browse files
committed
changelog update and example
1 parent fcb2600 commit 39393ba

File tree

13 files changed

+177
-0
lines changed

13 files changed

+177
-0
lines changed

src/components/AlphabetFilter/alphabetFilterChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2025-08-11",
1423
version: "4.0.0",

src/components/AudioPlayer/audioPlayerChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2025-07-17",
1423
version: "3.6.4",

src/components/Checkbox/checkboxChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2025-08-11",
1423
version: "4.0.0",

src/components/FilterBarInline/filterBarInlineChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2025-08-11",
1423
version: "4.0.0",

src/components/Form/Form.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ the `Form` component: `"grid.xxs"`, `"grid.xs"`, `"grid.s"`, `"grid.m"`,
171171
language="tsx"
172172
/>
173173

174+
## Example without helper text
175+
176+
<Canvas of={FormStories.FormWithoutHelperText} />
177+
174178
## Changelog
175179

176180
<ComponentChangelogTable changelogData={changelogData} />

src/components/Form/Form.stories.tsx

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,3 +282,77 @@ const getForms = (list) => <ul style={{ listStyle: "none" }}>{list}</ul>;
282282
export const FormSpacing: Story = {
283283
render: () => getForms(sizes),
284284
};
285+
286+
export const FormWithoutHelperText: Story = {
287+
render: () => (
288+
<Form id="form-id" action="/end/point" method="get">
289+
<FormRow>
290+
<FormField>
291+
<TextInput
292+
id="first-name"
293+
isRequired
294+
labelText="First Name"
295+
/>
296+
</FormField>
297+
<FormField>
298+
<TextInput
299+
id="last-name"
300+
isRequired
301+
labelText="Last Name"
302+
/>
303+
</FormField>
304+
<FormField>
305+
<DatePicker
306+
dateType="full"
307+
dateFormat="yyyy-MM-dd"
308+
id="date-range"
309+
invalidText="Please select a valid date range."
310+
isDateRange
311+
labelText="Select the date range you want to visit NYPL"
312+
minDate="1/1/2021"
313+
maxDate="1/1/2022"
314+
nameFrom="visit-dates"
315+
showLabel={false}
316+
/>
317+
</FormField>
318+
</FormRow>
319+
<FormField>
320+
<TextInput
321+
id="username"
322+
isRequired
323+
labelText="Username"
324+
/>
325+
</FormField>
326+
<FormField>
327+
<TextInput
328+
id="password"
329+
isRequired
330+
labelText="Password"
331+
/>
332+
</FormField>
333+
<FormRow>
334+
<FormField>
335+
<TextInput
336+
id="phone"
337+
labelText="Phone Field"
338+
type="tel"
339+
/>
340+
</FormField>
341+
<FormField>
342+
<TextInput
343+
id="url"
344+
labelText="URL Field"
345+
type="url"
346+
/>
347+
</FormField>
348+
<FormField>
349+
<TextInput
350+
id="age"
351+
labelText="Age"
352+
type="number"
353+
/>
354+
</FormField>
355+
</FormRow>
356+
</Form>
357+
),
358+
};

src/components/Radio/radioChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2025-08-11",
1423
version: "4.0.0",

src/components/SearchBar/searchBarChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2025-08-11",
1423
version: "4.0.0",

src/components/Select/selectChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2026-03-05",
1423
version: "4.1.5",

src/components/Slider/sliderChangelogData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
import { ChangelogData } from "../../utils/ComponentChangelogTable";
1010

1111
export const changelogData: ChangelogData[] = [
12+
{
13+
date: "Prerelease",
14+
version: "Prerelease",
15+
type: "Update",
16+
affects: ["Styles"],
17+
notes: [
18+
"Updated to always render the helper text div for accessible aria-live announcements.",
19+
],
20+
},
1221
{
1322
date: "2025-08-11",
1423
version: "4.0.0",

0 commit comments

Comments
 (0)