@nysds/components 1.18.3 → 1.19.1-alpha-1
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/custom-elements.json +582 -191
- package/dist/.vscode/vscode.html-custom-data.json +16 -5
- package/dist/custom-elements.json +582 -191
- package/dist/icons/ac_unit.svg +8 -0
- package/dist/icons/account_balance_filled.svg +8 -0
- package/dist/icons/account_circle.svg +8 -0
- package/dist/icons/add.svg +8 -0
- package/dist/icons/air.svg +8 -0
- package/dist/icons/arrow_back.svg +8 -0
- package/dist/icons/arrow_downward.svg +8 -0
- package/dist/icons/arrow_forward.svg +8 -0
- package/dist/icons/arrow_upward.svg +8 -0
- package/dist/icons/attach_file.svg +8 -0
- package/dist/icons/calendar_month.svg +8 -0
- package/dist/icons/cancel.svg +8 -0
- package/dist/icons/cancel_filled.svg +8 -0
- package/dist/icons/check.svg +8 -0
- package/dist/icons/check_circle.svg +8 -0
- package/dist/icons/chevron_down.svg +8 -0
- package/dist/icons/chevron_left.svg +8 -0
- package/dist/icons/chevron_right.svg +8 -0
- package/dist/icons/chevron_up.svg +8 -0
- package/dist/icons/clear_day.svg +8 -0
- package/dist/icons/close.svg +8 -0
- package/dist/icons/code.svg +8 -0
- package/dist/icons/content_copy.svg +8 -0
- package/dist/icons/coronavirus.svg +8 -0
- package/dist/icons/delete.svg +8 -0
- package/dist/icons/download.svg +8 -0
- package/dist/icons/download_done.svg +8 -0
- package/dist/icons/drive_folder_upload.svg +8 -0
- package/dist/icons/edit_square.svg +8 -0
- package/dist/icons/emergency_home.svg +8 -0
- package/dist/icons/error.svg +8 -0
- package/dist/icons/expand_all.svg +8 -0
- package/dist/icons/filter_alt.svg +8 -0
- package/dist/icons/filter_list.svg +8 -0
- package/dist/icons/height.svg +8 -0
- package/dist/icons/help.svg +8 -0
- package/dist/icons/info.svg +8 -0
- package/dist/icons/language.svg +8 -0
- package/dist/icons/language_filled.svg +8 -0
- package/dist/icons/link.svg +8 -0
- package/dist/icons/lock_filled.svg +8 -0
- package/dist/icons/mail.svg +8 -0
- package/dist/icons/manifest.json +84 -0
- package/dist/icons/menu.svg +8 -0
- package/dist/icons/more_vert.svg +8 -0
- package/dist/icons/notifications.svg +8 -0
- package/dist/icons/open_in_new.svg +8 -0
- package/dist/icons/phone_in_talk.svg +8 -0
- package/dist/icons/print.svg +8 -0
- package/dist/icons/progress_activity.svg +8 -0
- package/dist/icons/publish.svg +8 -0
- package/dist/icons/rainy.svg +8 -0
- package/dist/icons/refresh.svg +8 -0
- package/dist/icons/remove.svg +8 -0
- package/dist/icons/search.svg +8 -0
- package/dist/icons/share.svg +8 -0
- package/dist/icons/sms.svg +8 -0
- package/dist/icons/social_bluesky.svg +8 -0
- package/dist/icons/social_facebook.svg +8 -0
- package/dist/icons/social_flickr.svg +8 -0
- package/dist/icons/social_google_play.svg +8 -0
- package/dist/icons/social_instagram.svg +10 -0
- package/dist/icons/social_linkedin.svg +8 -0
- package/dist/icons/social_pinterest.svg +8 -0
- package/dist/icons/social_rss.svg +10 -0
- package/dist/icons/social_snapchat.svg +8 -0
- package/dist/icons/social_soundcloud.svg +21 -0
- package/dist/icons/social_threads.svg +9 -0
- package/dist/icons/social_tiktok.svg +8 -0
- package/dist/icons/social_tumblr.svg +8 -0
- package/dist/icons/social_vimeo.svg +8 -0
- package/dist/icons/social_x.svg +8 -0
- package/dist/icons/social_youtube.svg +8 -0
- package/dist/icons/sort.svg +8 -0
- package/dist/icons/straight.svg +8 -0
- package/dist/icons/thumb_down.svg +8 -0
- package/dist/icons/thumb_up.svg +8 -0
- package/dist/icons/upload_file.svg +8 -0
- package/dist/icons/visibility.svg +8 -0
- package/dist/icons/visibility_off.svg +8 -0
- package/dist/icons/warning.svg +8 -0
- package/dist/nysds.es.js +3672 -3585
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +316 -866
- package/dist/nysds.js.map +1 -1
- package/dist/packages/nys-button/src/nys-button.d.ts +4 -0
- package/dist/packages/nys-divider/src/nys-divider.d.ts +2 -0
- package/dist/packages/nys-icon/src/icon-cache.d.ts +11 -0
- package/dist/packages/nys-icon/src/icon-library-registry.d.ts +47 -0
- package/dist/packages/nys-icon/src/index.d.ts +3 -0
- package/dist/packages/nys-icon/src/nys-icon.d.ts +40 -11
- package/dist/packages/nys-radiobutton/src/nys-radiobutton.d.ts +1 -38
- package/dist/packages/nys-radiobutton/src/nys-radiogroup.d.ts +17 -7
- package/package.json +12 -8
- package/packages/react/NysDivider.d.ts +3 -0
- package/packages/react/NysDivider.js +2 -1
- package/packages/react/NysIcon.d.ts +11 -2
- package/packages/react/NysIcon.js +26 -3
- package/packages/react/NysRadiobutton.d.ts +7 -23
- package/packages/react/NysRadiobutton.js +1 -3
- package/packages/react/NysRadiogroup.d.ts +18 -2
- package/packages/react/NysRadiogroup.js +17 -1
- package/packages/react/nysds-jsx.d.ts +30 -20
|
@@ -697,6 +697,11 @@
|
|
|
697
697
|
"name": "inverted",
|
|
698
698
|
"description": "Adjusts colors for dark backgrounds.",
|
|
699
699
|
"values": []
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "subtle",
|
|
703
|
+
"description": "If true, the divider will use a lighter color.",
|
|
704
|
+
"values": []
|
|
700
705
|
}
|
|
701
706
|
],
|
|
702
707
|
"references": []
|
|
@@ -917,11 +922,16 @@
|
|
|
917
922
|
},
|
|
918
923
|
{
|
|
919
924
|
"name": "nys-icon",
|
|
920
|
-
"description": "SVG icon
|
|
925
|
+
"description": "SVG icon with swappable library support, size, rotation, and color options.\n---\n\n\n### **Methods:**\n - **redraw()** - Called by the icon library registry when the current library changes.",
|
|
921
926
|
"attributes": [
|
|
922
927
|
{
|
|
923
928
|
"name": "name",
|
|
924
|
-
"description": "Icon name from
|
|
929
|
+
"description": "Icon name to resolve from the selected library. Required.",
|
|
930
|
+
"values": []
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"name": "library",
|
|
934
|
+
"description": "Which registered icon library to use. Defaults to the built-in NYSDS library.",
|
|
925
935
|
"values": []
|
|
926
936
|
},
|
|
927
937
|
{
|
|
@@ -1076,7 +1086,7 @@
|
|
|
1076
1086
|
},
|
|
1077
1087
|
{
|
|
1078
1088
|
"name": "nys-radiobutton",
|
|
1079
|
-
"description": "Radio button for single selection from mutually exclusive options.\n---\n\n\n### **Events:**\n - **nys-
|
|
1089
|
+
"description": "Radio button for single selection from mutually exclusive options. This is a READONLY data component.\n---\n\n\n### **Events:**\n - **nys-change** - Fired when selection changes. Detail: `{id, checked, name, value}`.\n- **nys-focus** - Fired when radio gains focus.\n- **nys-blur** - Fired when radio loses focus.\n- **nys-other-input** - Fired when \"other\" text input value changes. Detail: `{id, name, value}`.\n\n### **Slots:**\n - **description** - Custom HTML description content.",
|
|
1080
1090
|
"attributes": [
|
|
1081
1091
|
{
|
|
1082
1092
|
"name": "checked",
|
|
@@ -1140,7 +1150,7 @@
|
|
|
1140
1150
|
},
|
|
1141
1151
|
{
|
|
1142
1152
|
"name": "nys-radiogroup",
|
|
1143
|
-
"description": "Container for grouping radio buttons as a single form control.\n---\n\n\n### **Slots:**\n - _default_ - Default slot for `nys-radiobutton` elements.\n- **description** - Custom HTML description content.",
|
|
1153
|
+
"description": "Container for grouping radio buttons as a single form control.\n---\n\n\n### **Events:**\n - **nys-change**\n- **nys-other-input**\n\n### **Slots:**\n - _default_ - Default slot for `nys-radiobutton` elements.\n- **description** - Custom HTML description content.",
|
|
1144
1154
|
"attributes": [
|
|
1145
1155
|
{
|
|
1146
1156
|
"name": "id",
|
|
@@ -1201,7 +1211,8 @@
|
|
|
1201
1211
|
"name": "size",
|
|
1202
1212
|
"description": "Radio size for all children: `sm` (24px) or `md` (32px, default).",
|
|
1203
1213
|
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
1204
|
-
}
|
|
1214
|
+
},
|
|
1215
|
+
{ "name": "_showOtherError", "values": [] }
|
|
1205
1216
|
],
|
|
1206
1217
|
"references": []
|
|
1207
1218
|
},
|