Skip to content

Commit 4e35ae7

Browse files
author
Fergus Bisset
committed
chore(release): 0.0.44-alpha.16
1 parent b2088c7 commit 4e35ae7

File tree

3 files changed

+132
-132
lines changed

3 files changed

+132
-132
lines changed

dist/meta/components.json

Lines changed: 129 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "0.0.44-alpha.15",
3-
"generatedAt": "2025-10-26T15:01:22.670Z",
3+
"generatedAt": "2025-10-26T15:04:20.387Z",
44
"count": 18,
55
"components": {
66
"Textarea": {
@@ -387,44 +387,28 @@
387387
],
388388
"source": "src/components/Panel/Panel.schema.ts"
389389
},
390-
"Label": {
391-
"name": "Label",
392-
"category": "form",
390+
"InsetText": {
391+
"name": "InsetText",
392+
"category": "content",
393393
"since": "0.1.1",
394-
"a11yNotes": [
395-
"Supports page heading mode by rendering an <h1> containing a nested <label> to retain association."
396-
],
397394
"props": [
398395
{
399-
"name": "htmlFor",
396+
"name": "text",
400397
"type": "string",
401-
"description": "ID of associated form control"
398+
"description": "Plain text content (ignored if html is provided)"
402399
},
403400
{
404-
"name": "className",
401+
"name": "html",
405402
"type": "string",
406-
"description": "Additional CSS classes"
407-
},
408-
{
409-
"name": "isPageHeading",
410-
"type": "boolean",
411-
"defaultValue": "false",
412-
"description": "Render as page heading (h1 wrapper)"
413-
},
414-
{
415-
"name": "size",
416-
"type": "'xl'|'l'|'m'|'s'",
417-
"defaultValue": "m",
418-
"description": "Size variant"
403+
"description": "HTML content (overrides text)"
419404
},
420405
{
421-
"name": "children",
422-
"type": "ReactNode|string",
423-
"required": true,
424-
"description": "Label content"
406+
"name": "className",
407+
"type": "string",
408+
"description": "Additional CSS classes"
425409
}
426410
],
427-
"source": "src/components/Label/Label.schema.ts"
411+
"source": "src/components/InsetText/InsetText.schema.ts"
428412
},
429413
"Input": {
430414
"name": "Input",
@@ -568,28 +552,44 @@
568552
],
569553
"source": "src/components/Input/Input.schema.ts"
570554
},
571-
"InsetText": {
572-
"name": "InsetText",
573-
"category": "content",
555+
"Label": {
556+
"name": "Label",
557+
"category": "form",
574558
"since": "0.1.1",
559+
"a11yNotes": [
560+
"Supports page heading mode by rendering an <h1> containing a nested <label> to retain association."
561+
],
575562
"props": [
576563
{
577-
"name": "text",
578-
"type": "string",
579-
"description": "Plain text content (ignored if html is provided)"
580-
},
581-
{
582-
"name": "html",
564+
"name": "htmlFor",
583565
"type": "string",
584-
"description": "HTML content (overrides text)"
566+
"description": "ID of associated form control"
585567
},
586568
{
587569
"name": "className",
588570
"type": "string",
589571
"description": "Additional CSS classes"
572+
},
573+
{
574+
"name": "isPageHeading",
575+
"type": "boolean",
576+
"defaultValue": "false",
577+
"description": "Render as page heading (h1 wrapper)"
578+
},
579+
{
580+
"name": "size",
581+
"type": "'xl'|'l'|'m'|'s'",
582+
"defaultValue": "m",
583+
"description": "Size variant"
584+
},
585+
{
586+
"name": "children",
587+
"type": "ReactNode|string",
588+
"required": true,
589+
"description": "Label content"
590590
}
591591
],
592-
"source": "src/components/InsetText/InsetText.schema.ts"
592+
"source": "src/components/Label/Label.schema.ts"
593593
},
594594
"Hint": {
595595
"name": "Hint",
@@ -779,59 +779,6 @@
779779
],
780780
"source": "src/components/ErrorMessage/ErrorMessage.schema.ts"
781781
},
782-
"DateInput": {
783-
"name": "DateInput",
784-
"category": "form",
785-
"since": "0.1.1",
786-
"a11yNotes": [
787-
"Groups day/month/year inputs with shared hint/error via describedBy.",
788-
"Field-level validation errors (client side state in React) are not present in initial SSR/macro output."
789-
],
790-
"props": [
791-
{
792-
"name": "id",
793-
"type": "string",
794-
"required": true,
795-
"description": "Root id used as prefix for generated input IDs and hint/error IDs"
796-
},
797-
{
798-
"name": "className",
799-
"type": "string",
800-
"description": "Additional classes for the date input wrapper"
801-
},
802-
{
803-
"name": "items",
804-
"type": "Array<{ name: string; label?: string; value?: string; classes?: string; id?: string; inputmode?: string; autocomplete?: string; pattern?: string }>",
805-
"description": "Explicit configuration of day/month/year items (fallback defaults applied when omitted)"
806-
},
807-
{
808-
"name": "namePrefix",
809-
"type": "string",
810-
"description": "Prefix to wrap submitted field names e.g. prefix[day]"
811-
},
812-
{
813-
"name": "values",
814-
"type": "{ day?: string; month?: string; year?: string }",
815-
"description": "Initial values for each field"
816-
},
817-
{
818-
"name": "fieldset",
819-
"type": "{ legend?: string; classes?: string; describedBy?: string }",
820-
"description": "Optional fieldset wrapper and legend text"
821-
},
822-
{
823-
"name": "hint",
824-
"type": "{ text?: string; html?: string; classes?: string }",
825-
"description": "Hint configuration (before error message)"
826-
},
827-
{
828-
"name": "errorMessage",
829-
"type": "{ text?: string; html?: string; classes?: string }",
830-
"description": "Group level error message (adds error state styles)"
831-
}
832-
],
833-
"source": "src/components/DateInput/DateInput.schema.ts"
834-
},
835782
"Details": {
836783
"name": "Details",
837784
"category": "content",
@@ -880,63 +827,58 @@
880827
],
881828
"source": "src/components/Details/Details.schema.ts"
882829
},
883-
"Checkboxes": {
884-
"name": "Checkboxes",
830+
"DateInput": {
831+
"name": "DateInput",
832+
"category": "form",
833+
"since": "0.1.1",
834+
"a11yNotes": [
835+
"Groups day/month/year inputs with shared hint/error via describedBy.",
836+
"Field-level validation errors (client side state in React) are not present in initial SSR/macro output."
837+
],
885838
"props": [
886839
{
887-
"name": "items",
888-
"type": "CheckboxItem[]",
840+
"name": "id",
841+
"type": "string",
889842
"required": true,
890-
"description": "Array of checkbox items"
843+
"description": "Root id used as prefix for generated input IDs and hint/error IDs"
891844
},
892845
{
893-
"name": "name",
846+
"name": "className",
894847
"type": "string",
895-
"required": true,
896-
"description": "Shared name attribute"
848+
"description": "Additional classes for the date input wrapper"
897849
},
898850
{
899-
"name": "idPrefix",
900-
"type": "string",
901-
"description": "ID prefix for fieldset and inputs"
851+
"name": "items",
852+
"type": "Array<{ name: string; label?: string; value?: string; classes?: string; id?: string; inputmode?: string; autocomplete?: string; pattern?: string }>",
853+
"description": "Explicit configuration of day/month/year items (fallback defaults applied when omitted)"
902854
},
903855
{
904-
"name": "legend",
856+
"name": "namePrefix",
905857
"type": "string",
906-
"description": "Legend text"
858+
"description": "Prefix to wrap submitted field names e.g. prefix[day]"
907859
},
908860
{
909-
"name": "isPageHeading",
910-
"type": "boolean",
911-
"description": "Legend rendered as page heading"
861+
"name": "values",
862+
"type": "{ day?: string; month?: string; year?: string }",
863+
"description": "Initial values for each field"
912864
},
913865
{
914-
"name": "legendSize",
915-
"type": "\"xl\"|\"l\"|\"m\"|\"s\"",
916-
"description": "Legend size"
866+
"name": "fieldset",
867+
"type": "{ legend?: string; classes?: string; describedBy?: string }",
868+
"description": "Optional fieldset wrapper and legend text"
917869
},
918870
{
919871
"name": "hint",
920-
"type": "string",
921-
"description": "Group hint text"
872+
"type": "{ text?: string; html?: string; classes?: string }",
873+
"description": "Hint configuration (before error message)"
922874
},
923875
{
924876
"name": "errorMessage",
925-
"type": "string",
926-
"description": "Group error message"
927-
},
928-
{
929-
"name": "className",
930-
"type": "string",
931-
"description": "Extra wrapper classes"
932-
},
933-
{
934-
"name": "small",
935-
"type": "boolean",
936-
"description": "Small variant"
877+
"type": "{ text?: string; html?: string; classes?: string }",
878+
"description": "Group level error message (adds error state styles)"
937879
}
938880
],
939-
"source": "src/components/Checkboxes/Checkboxes.schema.ts"
881+
"source": "src/components/DateInput/DateInput.schema.ts"
940882
},
941883
"CharacterCount": {
942884
"name": "CharacterCount",
@@ -1018,6 +960,64 @@
1018960
],
1019961
"source": "src/components/CharacterCount/CharacterCount.schema.ts"
1020962
},
963+
"Checkboxes": {
964+
"name": "Checkboxes",
965+
"props": [
966+
{
967+
"name": "items",
968+
"type": "CheckboxItem[]",
969+
"required": true,
970+
"description": "Array of checkbox items"
971+
},
972+
{
973+
"name": "name",
974+
"type": "string",
975+
"required": true,
976+
"description": "Shared name attribute"
977+
},
978+
{
979+
"name": "idPrefix",
980+
"type": "string",
981+
"description": "ID prefix for fieldset and inputs"
982+
},
983+
{
984+
"name": "legend",
985+
"type": "string",
986+
"description": "Legend text"
987+
},
988+
{
989+
"name": "isPageHeading",
990+
"type": "boolean",
991+
"description": "Legend rendered as page heading"
992+
},
993+
{
994+
"name": "legendSize",
995+
"type": "\"xl\"|\"l\"|\"m\"|\"s\"",
996+
"description": "Legend size"
997+
},
998+
{
999+
"name": "hint",
1000+
"type": "string",
1001+
"description": "Group hint text"
1002+
},
1003+
{
1004+
"name": "errorMessage",
1005+
"type": "string",
1006+
"description": "Group error message"
1007+
},
1008+
{
1009+
"name": "className",
1010+
"type": "string",
1011+
"description": "Extra wrapper classes"
1012+
},
1013+
{
1014+
"name": "small",
1015+
"type": "boolean",
1016+
"description": "Small variant"
1017+
}
1018+
],
1019+
"source": "src/components/Checkboxes/Checkboxes.schema.ts"
1020+
},
10211021
"Button": {
10221022
"name": "Button",
10231023
"category": "form",
@@ -1118,8 +1118,8 @@
11181118
"Textarea",
11191119
"Select",
11201120
"Radios",
1121-
"Label",
11221121
"Input",
1122+
"Label",
11231123
"Fieldset",
11241124
"ErrorSummary",
11251125
"ErrorMessage",
@@ -1139,8 +1139,8 @@
11391139
"Heading"
11401140
],
11411141
"uncategorised": [
1142-
"Checkboxes",
1143-
"CharacterCount"
1142+
"CharacterCount",
1143+
"Checkboxes"
11441144
]
11451145
}
11461146
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fergusbisset/nhs-fdp-design-system",
3-
"version": "0.0.44-alpha.15",
3+
"version": "0.0.44-alpha.16",
44
"description": "NHS FDP Design System - A comprehensive React component library built with design tokens",
55
"main": "dist/index.umd.js",
66
"module": "dist/index.esm.js",

0 commit comments

Comments
 (0)