@newtonschool/grauity 3.0.9 → 3.0.11-beta.0

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.
Files changed (38) hide show
  1. package/dist/common/utils.d.ts +16 -0
  2. package/dist/common/utils.d.ts.map +1 -1
  3. package/dist/css/grauity-icons.scss +40 -40
  4. package/dist/fonts/grauity-icons.eot +0 -0
  5. package/dist/fonts/grauity-icons.ttf +0 -0
  6. package/dist/fonts/grauity-icons.woff +0 -0
  7. package/dist/fonts/grauity-icons.woff2 +0 -0
  8. package/dist/index.d.ts +14 -4
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/main.cjs +1 -1
  11. package/dist/main.cjs.map +1 -1
  12. package/dist/module.mjs +1 -1
  13. package/dist/module.mjs.map +1 -1
  14. package/dist/ui/core/icons/iconTags.d.ts +2 -2
  15. package/dist/ui/core/icons/iconTypes.d.ts +4 -4
  16. package/dist/ui/core/icons/iconTypes.d.ts.map +1 -1
  17. package/dist/ui/elements/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  18. package/dist/ui/elements/DropdownMenu/DropdownMenu.styles.d.ts.map +1 -1
  19. package/dist/ui/elements/DropdownMenu/components/DropdownMenuOption.d.ts +3 -0
  20. package/dist/ui/elements/DropdownMenu/components/DropdownMenuOption.d.ts.map +1 -1
  21. package/dist/ui/elements/DropdownMenu/components/DropdownMenuSubHeader.d.ts +6 -1
  22. package/dist/ui/elements/DropdownMenu/components/DropdownMenuSubHeader.d.ts.map +1 -1
  23. package/dist/ui/elements/DropdownMenu/components/DropdownSearchBox.d.ts +4 -1
  24. package/dist/ui/elements/DropdownMenu/components/DropdownSearchBox.d.ts.map +1 -1
  25. package/dist/ui/elements/DropdownMenu/utils.d.ts +1 -0
  26. package/dist/ui/elements/DropdownMenu/utils.d.ts.map +1 -1
  27. package/dist/ui/elements/Form/Checkbox/Checkbox.d.ts +1 -0
  28. package/dist/ui/elements/Form/Checkbox/Checkbox.d.ts.map +1 -1
  29. package/dist/ui/elements/Form/Checkbox/Checkbox.styles.d.ts.map +1 -1
  30. package/dist/ui/elements/Form/Dropdown/Dropdown.d.ts.map +1 -1
  31. package/dist/ui/elements/Form/Dropdown/DropdownTrigger.d.ts.map +1 -1
  32. package/dist/ui/elements/Form/RadioButton/RadioButton.d.ts +4 -0
  33. package/dist/ui/elements/Form/RadioButton/RadioButton.d.ts.map +1 -1
  34. package/dist/ui/elements/Form/RadioButton/types.d.ts +5 -0
  35. package/dist/ui/elements/Form/RadioButton/types.d.ts.map +1 -1
  36. package/dist/ui/elements/Form/TextField/TextField.d.ts +2 -1
  37. package/dist/ui/elements/Form/TextField/TextField.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -1,7 +1,23 @@
1
+ import React from 'react';
1
2
  /**
2
3
  * Get the first scrollable parent of an element.
3
4
  * @param {HTMLElement | null} element - The element to find the scrollable parent of.
4
5
  * @returns {HTMLElement | Window} The first scrollable parent of the element.
5
6
  */
6
7
  export declare function getScrollableParent(element: HTMLElement | null): HTMLElement | Window;
8
+ /**
9
+ * Handles keyboard interactions in list views by mapping specific key events
10
+ * to corresponding callback functions.
11
+ *
12
+ * @param event - The keyboard event triggered by the user.
13
+ * @param onDownKeyPress - Callback function to execute when the "ArrowDown" key
14
+ * or "Tab" key (without Shift) is pressed.
15
+ * @param onUpKeyPress - Callback function to execute when the "ArrowUp" key
16
+ * or "Tab" key (with Shift) is pressed.
17
+ * @param onSelectKeyPress - Callback function to execute when the "Enter" key
18
+ * or the spacebar (" ") is pressed.
19
+ * @param onEscapeKeyPress - Callback function to execute when the "Escape" key
20
+ * is pressed.
21
+ */
22
+ export declare function handleKeyboardInteractionInListViews(event: React.KeyboardEvent<any>, onDownKeyPress: () => void, onUpKeyPress: () => void, onSelectKeyPress: () => void, onEscapeKeyPress: () => void): void;
7
23
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../common/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,WAAW,GAAG,IAAI,GAC5B,WAAW,GAAG,MAAM,CAUtB"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;GAIG;AACH,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,WAAW,GAAG,IAAI,GAC5B,WAAW,GAAG,MAAM,CAUtB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oCAAoC,CAChD,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAC/B,cAAc,EAAE,MAAM,IAAI,EAC1B,YAAY,EAAE,MAAM,IAAI,EACxB,gBAAgB,EAAE,MAAM,IAAI,EAC5B,gBAAgB,EAAE,MAAM,IAAI,QAkB/B"}
@@ -2,10 +2,10 @@ $grauity-icons-font: "grauity-icons";
2
2
 
3
3
  @font-face {
4
4
  font-family: $grauity-icons-font;
5
- src: url("../fonts/grauity-icons.eot?2a41915787e0ded596a01ff087301e82#iefix") format("embedded-opentype"),
6
- url("../fonts/grauity-icons.woff?2a41915787e0ded596a01ff087301e82") format("woff"),
7
- url("../fonts/grauity-icons.woff2?2a41915787e0ded596a01ff087301e82") format("woff2"),
8
- url("../fonts/grauity-icons.ttf?2a41915787e0ded596a01ff087301e82") format("truetype");
5
+ src: url("../fonts/grauity-icons.eot?725faed33dbb5569199176528a9267d5#iefix") format("embedded-opentype"),
6
+ url("../fonts/grauity-icons.woff?725faed33dbb5569199176528a9267d5") format("woff"),
7
+ url("../fonts/grauity-icons.woff2?725faed33dbb5569199176528a9267d5") format("woff2"),
8
+ url("../fonts/grauity-icons.ttf?725faed33dbb5569199176528a9267d5") format("truetype");
9
9
  }
10
10
 
11
11
  i[class^="grauity-icon-"]:before, i[class*=" grauity-icon-"]:before {
@@ -72,36 +72,36 @@ $grauity-icons-map: (
72
72
  "pin": "\f132",
73
73
  "currency-rupee-filled": "\f133",
74
74
  "currency-rupee": "\f134",
75
- "ai-voice-filled": "\f135",
76
- "ai-voice": "\f136",
77
- "headphone-filled": "\f137",
78
- "headphone-mic-filled": "\f138",
79
- "headphone-mic": "\f139",
80
- "headphone": "\f13a",
81
- "mic-filled": "\f13b",
82
- "mic": "\f13c",
83
- "micmute-filled": "\f13d",
84
- "micmute": "\f13e",
85
- "pause-circle-filled": "\f13f",
86
- "pause-circle": "\f140",
87
- "pause-filled": "\f141",
88
- "pause": "\f142",
89
- "play-circle-filled": "\f143",
90
- "play-circle": "\f144",
91
- "play-filled": "\f145",
92
- "play-rectangle-filled": "\f146",
93
- "play-rectangle": "\f147",
94
- "play": "\f148",
95
- "video-filled": "\f149",
96
- "video-off-filled": "\f14a",
97
- "video-off": "\f14b",
98
- "video": "\f14c",
99
- "volume-maximum-filled": "\f14d",
100
- "volume-maximum": "\f14e",
101
- "volume-minimum-filled": "\f14f",
102
- "volume-minimum": "\f150",
103
- "volume-mute-filled": "\f151",
104
- "volume-mute": "\f152",
75
+ "headphone-filled": "\f135",
76
+ "headphone-mic-filled": "\f136",
77
+ "headphone-mic": "\f137",
78
+ "headphone": "\f138",
79
+ "mic-filled": "\f139",
80
+ "mic": "\f13a",
81
+ "micmute-filled": "\f13b",
82
+ "micmute": "\f13c",
83
+ "pause-circle-filled": "\f13d",
84
+ "pause-circle": "\f13e",
85
+ "pause-filled": "\f13f",
86
+ "pause": "\f140",
87
+ "play-circle-filled": "\f141",
88
+ "play-circle": "\f142",
89
+ "play-filled": "\f143",
90
+ "play-rectangle-filled": "\f144",
91
+ "play-rectangle": "\f145",
92
+ "play": "\f146",
93
+ "video-filled": "\f147",
94
+ "video-off-filled": "\f148",
95
+ "video-off": "\f149",
96
+ "video": "\f14a",
97
+ "volume-maximum-filled": "\f14b",
98
+ "volume-maximum": "\f14c",
99
+ "volume-minimum-filled": "\f14d",
100
+ "volume-minimum": "\f14e",
101
+ "volume-mute-filled": "\f14f",
102
+ "volume-mute": "\f150",
103
+ "waveform-filled": "\f151",
104
+ "waveform": "\f152",
105
105
  "comment-filled": "\f153",
106
106
  "comment": "\f154",
107
107
  "connector-filled": "\f155",
@@ -620,12 +620,6 @@ $grauity-icons-map: (
620
620
  .grauity-icon-currency-rupee:before {
621
621
  content: map-get($grauity-icons-map, "currency-rupee");
622
622
  }
623
- .grauity-icon-ai-voice-filled:before {
624
- content: map-get($grauity-icons-map, "ai-voice-filled");
625
- }
626
- .grauity-icon-ai-voice:before {
627
- content: map-get($grauity-icons-map, "ai-voice");
628
- }
629
623
  .grauity-icon-headphone-filled:before {
630
624
  content: map-get($grauity-icons-map, "headphone-filled");
631
625
  }
@@ -710,6 +704,12 @@ $grauity-icons-map: (
710
704
  .grauity-icon-volume-mute:before {
711
705
  content: map-get($grauity-icons-map, "volume-mute");
712
706
  }
707
+ .grauity-icon-waveform-filled:before {
708
+ content: map-get($grauity-icons-map, "waveform-filled");
709
+ }
710
+ .grauity-icon-waveform:before {
711
+ content: map-get($grauity-icons-map, "waveform");
712
+ }
713
713
  .grauity-icon-comment-filled:before {
714
714
  content: map-get($grauity-icons-map, "comment-filled");
715
715
  }
Binary file
Binary file
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -78,8 +78,6 @@ export const ICON_TAGS: {
78
78
  pin: string[];
79
79
  "currency-rupee-filled": string[];
80
80
  "currency-rupee": string[];
81
- "ai-voice-filled": string[];
82
- "ai-voice": string[];
83
81
  "headphone-filled": string[];
84
82
  "headphone-mic-filled": string[];
85
83
  "headphone-mic": string[];
@@ -108,6 +106,8 @@ export const ICON_TAGS: {
108
106
  "volume-minimum": string[];
109
107
  "volume-mute-filled": string[];
110
108
  "volume-mute": string[];
109
+ "waveform-filled": string[];
110
+ waveform: string[];
111
111
  "comment-filled": string[];
112
112
  comment: string[];
113
113
  "connector-filled": string[];
@@ -484,7 +484,7 @@ export const TAG_ICONS: {
484
484
  Time: string[];
485
485
  User: string[];
486
486
  };
487
- type grauityIconName = 'exclamation-circle-filled' | 'exclamation-circle' | 'exclamation-triangle-filled' | 'exclamation-triangle' | 'info-circle-filled' | 'info-circle' | 'question-circle-filled' | 'question-circle' | 'code-alt-filled' | 'code-alt' | 'code-filled' | 'code' | 'project-filled' | 'project' | 'terminal-filled' | 'terminal' | 'nst-filled' | 'nst' | 'desktop-filled' | 'desktop' | 'gamepad-filled' | 'gamepad' | 'lamp-filled' | 'lamp' | 'laptop-filled' | 'laptop' | 'mobile-filled' | 'mobile' | 'archive-filled' | 'archive' | 'bookmark-filled' | 'bookmark' | 'file-alt-filled' | 'file-alt' | 'file-filled' | 'file-lightning-filled' | 'file-lightning' | 'file' | 'folder-filled' | 'folder-open-filled' | 'folder-open' | 'folder' | 'label-filled' | 'label' | 'note-filled' | 'note' | 'pen-filled' | 'pen' | 'pin-filled' | 'pin' | 'currency-rupee-filled' | 'currency-rupee' | 'ai-voice-filled' | 'ai-voice' | 'headphone-filled' | 'headphone-mic-filled' | 'headphone-mic' | 'headphone' | 'mic-filled' | 'mic' | 'micmute-filled' | 'micmute' | 'pause-circle-filled' | 'pause-circle' | 'pause-filled' | 'pause' | 'play-circle-filled' | 'play-circle' | 'play-filled' | 'play-rectangle-filled' | 'play-rectangle' | 'play' | 'video-filled' | 'video-off-filled' | 'video-off' | 'video' | 'volume-maximum-filled' | 'volume-maximum' | 'volume-minimum-filled' | 'volume-minimum' | 'volume-mute-filled' | 'volume-mute' | 'comment-filled' | 'comment' | 'connector-filled' | 'connector' | 'doubt-alt2-filled' | 'doubt-alt2' | 'doubt-filled' | 'doubt-message-filled' | 'doubt-message' | 'doubt' | 'hearing-filled' | 'hearing' | 'heart-filled' | 'heart' | 'hearthands-filled' | 'hearthands' | 'lock-filled' | 'lock-open-filled' | 'lock-open' | 'lock' | 'magic-orb-filled' | 'magic-orb' | 'message-filled' | 'message-info-filled' | 'message-info' | 'message' | 'milestone-filled' | 'milestone' | 'scholar-hat-filled' | 'scholar-hat' | 'smiley-bad-filled' | 'smiley-bad' | 'smiley-filled' | 'smiley-happy-filled' | 'smiley-happy' | 'smiley-neutral-filled' | 'smiley-neutral' | 'smiley-sad-filled' | 'smiley-sad' | 'smiley-very-bad-filled' | 'smiley-very-bad' | 'smiley-very-happy-filled' | 'smiley-very-happy' | 'smiley' | 'spark-filled' | 'spark' | 'sparkle-filled' | 'sparkle' | 'target-filled' | 'target' | 'check-badge-filled' | 'check-badge' | 'crown-filled' | 'crown' | 'flag-filled' | 'flag' | 'gift-filled' | 'gift' | 'leaderboard-filled' | 'leaderboard' | 'medal-filled' | 'medal' | 'star-filled' | 'star-half-filled' | 'star-half' | 'star' | 'trophy-filled' | 'trophy' | 'codechef' | 'codeforces' | 'facebook' | 'github' | 'google' | 'hackerearth' | 'hackerrank' | 'instagram' | 'leetcode' | 'linkedin' | 'twitter' | 'whatsapp' | 'x' | 'youtube' | 'arrow-double-filled' | 'arrow-double' | 'arrow-down-filled' | 'arrow-down-left-filled' | 'arrow-down-left' | 'arrow-down-right-filled' | 'arrow-down-right' | 'arrow-down' | 'arrow-left-filled' | 'arrow-left' | 'arrow-right-filled' | 'arrow-right' | 'arrow-up-filled' | 'arrow-up-left-filled' | 'arrow-up-left' | 'arrow-up-right-filled' | 'arrow-up-right' | 'arrow-up' | 'ban-filled' | 'ban' | 'bin-filled' | 'bin' | 'book-alt-filled' | 'book-alt' | 'book-alt2-filled' | 'book-alt2' | 'book-alt3-filled' | 'book-alt3' | 'book-filled' | 'book' | 'briefcase-alt2-filled' | 'briefcase-alt2' | 'briefcase-filled' | 'briefcase' | 'broadcast-filled' | 'broadcast' | 'bug-filled' | 'bug' | 'bulb-filled' | 'bulb' | 'call-end-filled' | 'call-end' | 'call-start-filled' | 'call-start' | 'camera-filled' | 'camera' | 'caret-double-filled' | 'caret-double' | 'caret-down-filled' | 'caret-down' | 'caret-left-filled' | 'caret-left' | 'caret-right-filled' | 'caret-right' | 'caret-up-filled' | 'caret-up' | 'check-circle-filled' | 'check-circle' | 'check-filled' | 'check-square-filled' | 'check-square' | 'check' | 'chevron-down-double-filled' | 'chevron-down-double' | 'chevron-down-filled' | 'chevron-down' | 'chevron-left-double-filled' | 'chevron-left-double' | 'chevron-left-filled' | 'chevron-left' | 'chevron-right-double-filled' | 'chevron-right-double' | 'chevron-right-filled' | 'chevron-right' | 'chevron-up-double-filled' | 'chevron-up-double' | 'chevron-up-filled' | 'chevron-up' | 'circle-filled' | 'circle' | 'clock-alarm-filled' | 'clock-alarm' | 'close-circle-filled' | 'close-circle' | 'close-filled' | 'close-square-filled' | 'close-square' | 'close' | 'compass-filled' | 'compass' | 'database-filled' | 'database' | 'diamond-filled' | 'diamond' | 'double-check-filled' | 'double-check' | 'download-filled' | 'download' | 'eda-filled' | 'eda' | 'email-alt-filled' | 'email-alt' | 'email-filled' | 'email' | 'filter-filled' | 'filter' | 'floppy-filled' | 'floppy' | 'forward-filled' | 'forward' | 'gear-filled' | 'gear' | 'git-commit-filled' | 'git-commit' | 'globe-filled' | 'globe' | 'grip-hortizontal-filled' | 'grip-hortizontal' | 'grip-vertical-filled' | 'grip-vertical' | 'growth-down-filled' | 'growth-down' | 'growth-up-filled' | 'growth-up' | 'help-filled' | 'help' | 'hold-filled' | 'hold' | 'home-filled' | 'home' | 'hourglass-filled' | 'hourglass' | 'kebab-horizontal-filled' | 'kebab-horizontal' | 'kebab-vertical-filled' | 'kebab-vertical' | 'link-filled' | 'link' | 'list-checked-filled' | 'list-checked' | 'list-filled' | 'list' | 'load-filled' | 'load' | 'loudspeaker-filled' | 'loudspeaker' | 'machine-learning-filled' | 'machine-learning' | 'map-pin-alt1-filled' | 'map-pin-alt1' | 'map-pin-alt2-filled' | 'map-pin-alt2' | 'map-pin-filled' | 'map-pin' | 'maximize-filled' | 'maximize' | 'menu-alt2-filled' | 'menu-alt2' | 'menu-filled' | 'menu-grid-filled' | 'menu-grid' | 'menu' | 'microchip-filled' | 'microchip' | 'minimize-filled' | 'minimize' | 'minus-circle-filled' | 'minus-circle' | 'minus-square-filled' | 'minus-square' | 'moon-filled' | 'moon' | 'new-tab-filled' | 'new-tab' | 'paper-clip-filled' | 'paper-clip' | 'plus-circle-filled' | 'plus-circle' | 'plus-filled' | 'plus-square-filled' | 'plus-square' | 'plus' | 'power-bi-filled' | 'power-bi' | 'printer-filled' | 'printer' | 'progress-half-filled' | 'progress-half' | 'progress-quarter-filled' | 'progress-quarter' | 'progress-zero-filled' | 'progress-zero' | 'python-filled' | 'python' | 'quiz-filled' | 'quiz' | 'refresh-filled' | 'refresh' | 'remove-filled' | 'remove' | 'reply-filled' | 'reply' | 'retail-filled' | 'retail' | 'screenshare-start-filled' | 'screenshare-start' | 'screenshare-stop-filled' | 'screenshare-stop' | 'search-filled' | 'search' | 'share-filled' | 'share' | 'shield-alert-filled' | 'shield-alert' | 'shield-check-filled' | 'shield-check' | 'shield-filled' | 'shield-lock-filled' | 'shield-lock' | 'shield-x-filled' | 'shield-x' | 'shield' | 'shop-filled' | 'shop' | 'sidebar-left-filled' | 'sidebar-left' | 'sidebar-right-filled' | 'sidebar-right' | 'signin-filled' | 'signin' | 'signout-filled' | 'signout' | 'slider-filled' | 'slider' | 'square-filled' | 'square' | 'sticky-note-filled' | 'sticky-note' | 'sun-filled' | 'sun' | 'thumbs-down-filled' | 'thumbs-down' | 'thumbs-up-filled' | 'thumbs-up' | 'thunder-filled' | 'thunder' | 'truck-filled' | 'truck' | 'upload-filled' | 'upload' | 'wrench-filled' | 'wrench' | 'bell-filled' | 'bell' | 'calender-check-filled' | 'calender-check' | 'calender-filled' | 'calender-plus-filled' | 'calender-plus' | 'calender' | 'clock-filled' | 'clock' | 'rewatch-filled' | 'rewatch' | 'stopwatch-filled' | 'stopwatch' | 'bot-filled' | 'bot' | 'person-check-filled' | 'person-check' | 'person-filled' | 'person-plus-filled' | 'person-plus' | 'person' | 'user-speak-filled' | 'user-speak' | 'users-filled' | 'users';
487
+ type grauityIconName = 'exclamation-circle-filled' | 'exclamation-circle' | 'exclamation-triangle-filled' | 'exclamation-triangle' | 'info-circle-filled' | 'info-circle' | 'question-circle-filled' | 'question-circle' | 'code-alt-filled' | 'code-alt' | 'code-filled' | 'code' | 'project-filled' | 'project' | 'terminal-filled' | 'terminal' | 'nst-filled' | 'nst' | 'desktop-filled' | 'desktop' | 'gamepad-filled' | 'gamepad' | 'lamp-filled' | 'lamp' | 'laptop-filled' | 'laptop' | 'mobile-filled' | 'mobile' | 'archive-filled' | 'archive' | 'bookmark-filled' | 'bookmark' | 'file-alt-filled' | 'file-alt' | 'file-filled' | 'file-lightning-filled' | 'file-lightning' | 'file' | 'folder-filled' | 'folder-open-filled' | 'folder-open' | 'folder' | 'label-filled' | 'label' | 'note-filled' | 'note' | 'pen-filled' | 'pen' | 'pin-filled' | 'pin' | 'currency-rupee-filled' | 'currency-rupee' | 'headphone-filled' | 'headphone-mic-filled' | 'headphone-mic' | 'headphone' | 'mic-filled' | 'mic' | 'micmute-filled' | 'micmute' | 'pause-circle-filled' | 'pause-circle' | 'pause-filled' | 'pause' | 'play-circle-filled' | 'play-circle' | 'play-filled' | 'play-rectangle-filled' | 'play-rectangle' | 'play' | 'video-filled' | 'video-off-filled' | 'video-off' | 'video' | 'volume-maximum-filled' | 'volume-maximum' | 'volume-minimum-filled' | 'volume-minimum' | 'volume-mute-filled' | 'volume-mute' | 'waveform-filled' | 'waveform' | 'comment-filled' | 'comment' | 'connector-filled' | 'connector' | 'doubt-alt2-filled' | 'doubt-alt2' | 'doubt-filled' | 'doubt-message-filled' | 'doubt-message' | 'doubt' | 'hearing-filled' | 'hearing' | 'heart-filled' | 'heart' | 'hearthands-filled' | 'hearthands' | 'lock-filled' | 'lock-open-filled' | 'lock-open' | 'lock' | 'magic-orb-filled' | 'magic-orb' | 'message-filled' | 'message-info-filled' | 'message-info' | 'message' | 'milestone-filled' | 'milestone' | 'scholar-hat-filled' | 'scholar-hat' | 'smiley-bad-filled' | 'smiley-bad' | 'smiley-filled' | 'smiley-happy-filled' | 'smiley-happy' | 'smiley-neutral-filled' | 'smiley-neutral' | 'smiley-sad-filled' | 'smiley-sad' | 'smiley-very-bad-filled' | 'smiley-very-bad' | 'smiley-very-happy-filled' | 'smiley-very-happy' | 'smiley' | 'spark-filled' | 'spark' | 'sparkle-filled' | 'sparkle' | 'target-filled' | 'target' | 'check-badge-filled' | 'check-badge' | 'crown-filled' | 'crown' | 'flag-filled' | 'flag' | 'gift-filled' | 'gift' | 'leaderboard-filled' | 'leaderboard' | 'medal-filled' | 'medal' | 'star-filled' | 'star-half-filled' | 'star-half' | 'star' | 'trophy-filled' | 'trophy' | 'codechef' | 'codeforces' | 'facebook' | 'github' | 'google' | 'hackerearth' | 'hackerrank' | 'instagram' | 'leetcode' | 'linkedin' | 'twitter' | 'whatsapp' | 'x' | 'youtube' | 'arrow-double-filled' | 'arrow-double' | 'arrow-down-filled' | 'arrow-down-left-filled' | 'arrow-down-left' | 'arrow-down-right-filled' | 'arrow-down-right' | 'arrow-down' | 'arrow-left-filled' | 'arrow-left' | 'arrow-right-filled' | 'arrow-right' | 'arrow-up-filled' | 'arrow-up-left-filled' | 'arrow-up-left' | 'arrow-up-right-filled' | 'arrow-up-right' | 'arrow-up' | 'ban-filled' | 'ban' | 'bin-filled' | 'bin' | 'book-alt-filled' | 'book-alt' | 'book-alt2-filled' | 'book-alt2' | 'book-alt3-filled' | 'book-alt3' | 'book-filled' | 'book' | 'briefcase-alt2-filled' | 'briefcase-alt2' | 'briefcase-filled' | 'briefcase' | 'broadcast-filled' | 'broadcast' | 'bug-filled' | 'bug' | 'bulb-filled' | 'bulb' | 'call-end-filled' | 'call-end' | 'call-start-filled' | 'call-start' | 'camera-filled' | 'camera' | 'caret-double-filled' | 'caret-double' | 'caret-down-filled' | 'caret-down' | 'caret-left-filled' | 'caret-left' | 'caret-right-filled' | 'caret-right' | 'caret-up-filled' | 'caret-up' | 'check-circle-filled' | 'check-circle' | 'check-filled' | 'check-square-filled' | 'check-square' | 'check' | 'chevron-down-double-filled' | 'chevron-down-double' | 'chevron-down-filled' | 'chevron-down' | 'chevron-left-double-filled' | 'chevron-left-double' | 'chevron-left-filled' | 'chevron-left' | 'chevron-right-double-filled' | 'chevron-right-double' | 'chevron-right-filled' | 'chevron-right' | 'chevron-up-double-filled' | 'chevron-up-double' | 'chevron-up-filled' | 'chevron-up' | 'circle-filled' | 'circle' | 'clock-alarm-filled' | 'clock-alarm' | 'close-circle-filled' | 'close-circle' | 'close-filled' | 'close-square-filled' | 'close-square' | 'close' | 'compass-filled' | 'compass' | 'database-filled' | 'database' | 'diamond-filled' | 'diamond' | 'double-check-filled' | 'double-check' | 'download-filled' | 'download' | 'eda-filled' | 'eda' | 'email-alt-filled' | 'email-alt' | 'email-filled' | 'email' | 'filter-filled' | 'filter' | 'floppy-filled' | 'floppy' | 'forward-filled' | 'forward' | 'gear-filled' | 'gear' | 'git-commit-filled' | 'git-commit' | 'globe-filled' | 'globe' | 'grip-hortizontal-filled' | 'grip-hortizontal' | 'grip-vertical-filled' | 'grip-vertical' | 'growth-down-filled' | 'growth-down' | 'growth-up-filled' | 'growth-up' | 'help-filled' | 'help' | 'hold-filled' | 'hold' | 'home-filled' | 'home' | 'hourglass-filled' | 'hourglass' | 'kebab-horizontal-filled' | 'kebab-horizontal' | 'kebab-vertical-filled' | 'kebab-vertical' | 'link-filled' | 'link' | 'list-checked-filled' | 'list-checked' | 'list-filled' | 'list' | 'load-filled' | 'load' | 'loudspeaker-filled' | 'loudspeaker' | 'machine-learning-filled' | 'machine-learning' | 'map-pin-alt1-filled' | 'map-pin-alt1' | 'map-pin-alt2-filled' | 'map-pin-alt2' | 'map-pin-filled' | 'map-pin' | 'maximize-filled' | 'maximize' | 'menu-alt2-filled' | 'menu-alt2' | 'menu-filled' | 'menu-grid-filled' | 'menu-grid' | 'menu' | 'microchip-filled' | 'microchip' | 'minimize-filled' | 'minimize' | 'minus-circle-filled' | 'minus-circle' | 'minus-square-filled' | 'minus-square' | 'moon-filled' | 'moon' | 'new-tab-filled' | 'new-tab' | 'paper-clip-filled' | 'paper-clip' | 'plus-circle-filled' | 'plus-circle' | 'plus-filled' | 'plus-square-filled' | 'plus-square' | 'plus' | 'power-bi-filled' | 'power-bi' | 'printer-filled' | 'printer' | 'progress-half-filled' | 'progress-half' | 'progress-quarter-filled' | 'progress-quarter' | 'progress-zero-filled' | 'progress-zero' | 'python-filled' | 'python' | 'quiz-filled' | 'quiz' | 'refresh-filled' | 'refresh' | 'remove-filled' | 'remove' | 'reply-filled' | 'reply' | 'retail-filled' | 'retail' | 'screenshare-start-filled' | 'screenshare-start' | 'screenshare-stop-filled' | 'screenshare-stop' | 'search-filled' | 'search' | 'share-filled' | 'share' | 'shield-alert-filled' | 'shield-alert' | 'shield-check-filled' | 'shield-check' | 'shield-filled' | 'shield-lock-filled' | 'shield-lock' | 'shield-x-filled' | 'shield-x' | 'shield' | 'shop-filled' | 'shop' | 'sidebar-left-filled' | 'sidebar-left' | 'sidebar-right-filled' | 'sidebar-right' | 'signin-filled' | 'signin' | 'signout-filled' | 'signout' | 'slider-filled' | 'slider' | 'square-filled' | 'square' | 'sticky-note-filled' | 'sticky-note' | 'sun-filled' | 'sun' | 'thumbs-down-filled' | 'thumbs-down' | 'thumbs-up-filled' | 'thumbs-up' | 'thunder-filled' | 'thunder' | 'truck-filled' | 'truck' | 'upload-filled' | 'upload' | 'wrench-filled' | 'wrench' | 'bell-filled' | 'bell' | 'calender-check-filled' | 'calender-check' | 'calender-filled' | 'calender-plus-filled' | 'calender-plus' | 'calender' | 'clock-filled' | 'clock' | 'rewatch-filled' | 'rewatch' | 'stopwatch-filled' | 'stopwatch' | 'bot-filled' | 'bot' | 'person-check-filled' | 'person-check' | 'person-filled' | 'person-plus-filled' | 'person-plus' | 'person' | 'user-speak-filled' | 'user-speak' | 'users-filled' | 'users';
488
488
  type grauityFlippedChoiceName = 'vertically' | 'horizontally';
489
489
  type grauityRotatedChoiceName = 'clockwise' | 'counterclockwise';
490
490
  type grauityIconSizeName = '4' | '8' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40';
@@ -5320,7 +5320,7 @@ export interface TextFieldProps {
5320
5320
  */
5321
5321
  color?: TextFieldColors;
5322
5322
  }
5323
- export const NSTextField: (props: TextFieldProps) => JSX.Element;
5323
+ export const NSTextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
5324
5324
  type VARIANTS = `${VARIANTS_SIZES}`;
5325
5325
  type TextAreaColors = TextFieldColors;
5326
5326
  export interface TextAreaProps {
@@ -5499,6 +5499,7 @@ export interface CheckboxProps {
5499
5499
  }
5500
5500
  /**
5501
5501
  * A checkbox is a form element that allows the user to select one or more options from a set of choices.
5502
+ * Checkboxes are typically used in groups, where one or multiple options can be selected at a time.
5502
5503
  */
5503
5504
  export const NSCheckbox: React.FC<CheckboxProps>;
5504
5505
  type RadioButtonSize = 'small' | 'medium' | 'large';
@@ -5554,6 +5555,11 @@ export interface RadioButtonProps {
5554
5555
  * @default false
5555
5556
  */
5556
5557
  checked?: boolean;
5558
+ /**
5559
+ * Indicates if the radio button is checked by default.
5560
+ * @default false
5561
+ */
5562
+ defaultChecked?: boolean;
5557
5563
  /**
5558
5564
  * Indicates if the radio button is disabled.
5559
5565
  * @default false
@@ -5570,6 +5576,10 @@ export interface RadioButtonProps {
5570
5576
  */
5571
5577
  color?: RadioButtonColors;
5572
5578
  }
5579
+ /**
5580
+ * A radio button is a form element that allows the user to select one option from a set of choices.
5581
+ * Radio buttons are typically used in groups, where only one option can be selected at a time.
5582
+ */
5573
5583
  export const NSRadioButton: (props: RadioButtonProps) => JSX.Element;
5574
5584
  type PaginationJustifyContent = 'space-between' | 'space-around' | 'space-evenly' | 'flex-start' | 'flex-end';
5575
5585
  export interface PaginationProps {