@newtonschool/grauity 2.0.2-beta.2 → 2.0.3-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 (70) hide show
  1. package/dist/css/grauity-icons.scss +114 -90
  2. package/dist/fonts/grauity-icons.eot +0 -0
  3. package/dist/fonts/grauity-icons.ttf +0 -0
  4. package/dist/fonts/grauity-icons.woff +0 -0
  5. package/dist/fonts/grauity-icons.woff2 +0 -0
  6. package/dist/index.d.ts +300 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/main.cjs +1 -1
  9. package/dist/main.cjs.map +1 -1
  10. package/dist/module.mjs +1 -1
  11. package/dist/module.mjs.map +1 -1
  12. package/dist/ui/core/icons/iconTags.d.ts +6 -0
  13. package/dist/ui/core/icons/iconTags.d.ts.map +1 -1
  14. package/dist/ui/core/icons/iconTypes.d.ts +8 -2
  15. package/dist/ui/core/icons/iconTypes.d.ts.map +1 -1
  16. package/dist/ui/elements/DropdownMenu/DropdownMenu.d.ts +4 -0
  17. package/dist/ui/elements/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  18. package/dist/ui/elements/DropdownMenu/DropdownMenu.styles.d.ts +17 -0
  19. package/dist/ui/elements/DropdownMenu/DropdownMenu.styles.d.ts.map +1 -0
  20. package/dist/ui/elements/DropdownMenu/components/DropdownMenuFooter.d.ts +12 -0
  21. package/dist/ui/elements/DropdownMenu/components/DropdownMenuFooter.d.ts.map +1 -0
  22. package/dist/ui/elements/DropdownMenu/components/DropdownMenuHeader.d.ts +11 -0
  23. package/dist/ui/elements/DropdownMenu/components/DropdownMenuHeader.d.ts.map +1 -0
  24. package/dist/ui/elements/DropdownMenu/components/DropdownMenuOption.d.ts +9 -0
  25. package/dist/ui/elements/DropdownMenu/components/DropdownMenuOption.d.ts.map +1 -0
  26. package/dist/ui/elements/DropdownMenu/components/DropdownMenuSubHeader.d.ts +4 -0
  27. package/dist/ui/elements/DropdownMenu/components/DropdownMenuSubHeader.d.ts.map +1 -0
  28. package/dist/ui/elements/DropdownMenu/components/DropdownMenuWithoutTrigger.d.ts +8 -0
  29. package/dist/ui/elements/DropdownMenu/components/DropdownMenuWithoutTrigger.d.ts.map +1 -0
  30. package/dist/ui/elements/DropdownMenu/components/DropdownSearchBox.d.ts +10 -0
  31. package/dist/ui/elements/DropdownMenu/components/DropdownSearchBox.d.ts.map +1 -0
  32. package/dist/ui/elements/DropdownMenu/constants.d.ts +2 -0
  33. package/dist/ui/elements/DropdownMenu/constants.d.ts.map +1 -0
  34. package/dist/ui/elements/DropdownMenu/index.d.ts +3 -0
  35. package/dist/ui/elements/DropdownMenu/index.d.ts.map +1 -0
  36. package/dist/ui/elements/DropdownMenu/types.d.ts +179 -0
  37. package/dist/ui/elements/DropdownMenu/types.d.ts.map +1 -0
  38. package/dist/ui/elements/DropdownMenu/utils.d.ts +21 -0
  39. package/dist/ui/elements/DropdownMenu/utils.d.ts.map +1 -0
  40. package/dist/ui/elements/Form/ErrorMessage/index.d.ts.map +1 -1
  41. package/dist/ui/elements/Form/OtpInputField/OtpInputField.d.ts +4 -0
  42. package/dist/ui/elements/Form/OtpInputField/OtpInputField.d.ts.map +1 -0
  43. package/dist/ui/elements/Form/OtpInputField/OtpInputField.styles.d.ts +6 -0
  44. package/dist/ui/elements/Form/OtpInputField/OtpInputField.styles.d.ts.map +1 -0
  45. package/dist/ui/elements/Form/OtpInputField/index.d.ts +3 -0
  46. package/dist/ui/elements/Form/OtpInputField/index.d.ts.map +1 -0
  47. package/dist/ui/elements/Form/OtpInputField/types.d.ts +79 -0
  48. package/dist/ui/elements/Form/OtpInputField/types.d.ts.map +1 -0
  49. package/dist/ui/elements/Form/SuccessMessage/index.d.ts +4 -0
  50. package/dist/ui/elements/Form/SuccessMessage/index.d.ts.map +1 -0
  51. package/dist/ui/elements/Form/index.styles.d.ts +10 -3
  52. package/dist/ui/elements/Form/index.styles.d.ts.map +1 -1
  53. package/dist/ui/elements/Form/types.d.ts +42 -0
  54. package/dist/ui/elements/Form/types.d.ts.map +1 -1
  55. package/dist/ui/elements/MultiSelectDropdown/MultiSelectDropdown.d.ts +5 -0
  56. package/dist/ui/elements/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -1
  57. package/dist/ui/elements/MultiSelectDropdown/types.d.ts +5 -0
  58. package/dist/ui/elements/MultiSelectDropdown/types.d.ts.map +1 -1
  59. package/dist/ui/elements/Overlay/Overlay.d.ts.map +1 -1
  60. package/dist/ui/elements/Overlay/Overlay.styles.d.ts +2 -1
  61. package/dist/ui/elements/Overlay/Overlay.styles.d.ts.map +1 -1
  62. package/dist/ui/elements/Overlay/types.d.ts +12 -0
  63. package/dist/ui/elements/Overlay/types.d.ts.map +1 -1
  64. package/dist/ui/elements/SelectDropdown/SelectDropdown.d.ts +5 -0
  65. package/dist/ui/elements/SelectDropdown/SelectDropdown.d.ts.map +1 -1
  66. package/dist/ui/elements/SelectDropdown/types.d.ts +5 -0
  67. package/dist/ui/elements/SelectDropdown/types.d.ts.map +1 -1
  68. package/dist/ui/index.d.ts +3 -0
  69. package/dist/ui/index.d.ts.map +1 -1
  70. package/package.json +4 -4
@@ -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?58b8d0867974b94e1465d8c22d5aad27#iefix") format("embedded-opentype"),
6
- url("../fonts/grauity-icons.woff?58b8d0867974b94e1465d8c22d5aad27") format("woff"),
7
- url("../fonts/grauity-icons.woff2?58b8d0867974b94e1465d8c22d5aad27") format("woff2"),
8
- url("../fonts/grauity-icons.ttf?58b8d0867974b94e1465d8c22d5aad27") format("truetype");
5
+ src: url("../fonts/grauity-icons.eot?e06d52009c03bf7712f4e25a56dc211a#iefix") format("embedded-opentype"),
6
+ url("../fonts/grauity-icons.woff?e06d52009c03bf7712f4e25a56dc211a") format("woff"),
7
+ url("../fonts/grauity-icons.woff2?e06d52009c03bf7712f4e25a56dc211a") format("woff2"),
8
+ url("../fonts/grauity-icons.ttf?e06d52009c03bf7712f4e25a56dc211a") format("truetype");
9
9
  }
10
10
 
11
11
  i[class^="grauity-icon-"]:before, i[class*=" grauity-icon-"]:before {
@@ -352,92 +352,98 @@ $grauity-icons-map: (
352
352
  "power-bi": "\f24a",
353
353
  "printer-filled": "\f24b",
354
354
  "printer": "\f24c",
355
- "python-filled": "\f24d",
356
- "python": "\f24e",
357
- "quiz-filled": "\f24f",
358
- "quiz": "\f250",
359
- "refresh-filled": "\f251",
360
- "refresh": "\f252",
361
- "remove-filled": "\f253",
362
- "remove": "\f254",
363
- "reply-filled": "\f255",
364
- "reply": "\f256",
365
- "retail-filled": "\f257",
366
- "retail": "\f258",
367
- "screenshare-start-filled": "\f259",
368
- "screenshare-start": "\f25a",
369
- "screenshare-stop-filled": "\f25b",
370
- "screenshare-stop": "\f25c",
371
- "search-filled": "\f25d",
372
- "search": "\f25e",
373
- "share-filled": "\f25f",
374
- "share": "\f260",
375
- "shield-alert-filled": "\f261",
376
- "shield-alert": "\f262",
377
- "shield-check-filled": "\f263",
378
- "shield-check": "\f264",
379
- "shield-filled": "\f265",
380
- "shield-lock-filled": "\f266",
381
- "shield-lock": "\f267",
382
- "shield-x-filled": "\f268",
383
- "shield-x": "\f269",
384
- "shield": "\f26a",
385
- "shop-filled": "\f26b",
386
- "shop": "\f26c",
387
- "sidebar-left-filled": "\f26d",
388
- "sidebar-left": "\f26e",
389
- "sidebar-right-filled": "\f26f",
390
- "sidebar-right": "\f270",
391
- "signin-filled": "\f271",
392
- "signin": "\f272",
393
- "signout-filled": "\f273",
394
- "signout": "\f274",
395
- "slider-filled": "\f275",
396
- "slider": "\f276",
397
- "square-filled": "\f277",
398
- "square": "\f278",
399
- "sticky-note-filled": "\f279",
400
- "sticky-note": "\f27a",
401
- "sun-filled": "\f27b",
402
- "sun": "\f27c",
403
- "thumbs-down-filled": "\f27d",
404
- "thumbs-down": "\f27e",
405
- "thumbs-up-filled": "\f27f",
406
- "thumbs-up": "\f280",
407
- "thunder-filled": "\f281",
408
- "thunder": "\f282",
409
- "truck-filled": "\f283",
410
- "truck": "\f284",
411
- "upload-filled": "\f285",
412
- "upload": "\f286",
413
- "wrench-filled": "\f287",
414
- "wrench": "\f288",
415
- "bell-filled": "\f289",
416
- "bell": "\f28a",
417
- "calender-check-filled": "\f28b",
418
- "calender-check": "\f28c",
419
- "calender-filled": "\f28d",
420
- "calender-plus-filled": "\f28e",
421
- "calender-plus": "\f28f",
422
- "calender": "\f290",
423
- "clock-filled": "\f291",
424
- "clock": "\f292",
425
- "rewatch-filled": "\f293",
426
- "rewatch": "\f294",
427
- "stopwatch-filled": "\f295",
428
- "stopwatch": "\f296",
429
- "bot-filled": "\f297",
430
- "bot": "\f298",
431
- "person-check-filled": "\f299",
432
- "person-check": "\f29a",
433
- "person-filled": "\f29b",
434
- "person-plus-filled": "\f29c",
435
- "person-plus": "\f29d",
436
- "person": "\f29e",
437
- "user-speak-filled": "\f29f",
438
- "user-speak": "\f2a0",
439
- "users-filled": "\f2a1",
440
- "users": "\f2a2",
355
+ "progress-half-filled": "\f24d",
356
+ "progress-half": "\f24e",
357
+ "progress-quarter-filled": "\f24f",
358
+ "progress-quarter": "\f250",
359
+ "progress-zero-filled": "\f251",
360
+ "progress-zero": "\f252",
361
+ "python-filled": "\f253",
362
+ "python": "\f254",
363
+ "quiz-filled": "\f255",
364
+ "quiz": "\f256",
365
+ "refresh-filled": "\f257",
366
+ "refresh": "\f258",
367
+ "remove-filled": "\f259",
368
+ "remove": "\f25a",
369
+ "reply-filled": "\f25b",
370
+ "reply": "\f25c",
371
+ "retail-filled": "\f25d",
372
+ "retail": "\f25e",
373
+ "screenshare-start-filled": "\f25f",
374
+ "screenshare-start": "\f260",
375
+ "screenshare-stop-filled": "\f261",
376
+ "screenshare-stop": "\f262",
377
+ "search-filled": "\f263",
378
+ "search": "\f264",
379
+ "share-filled": "\f265",
380
+ "share": "\f266",
381
+ "shield-alert-filled": "\f267",
382
+ "shield-alert": "\f268",
383
+ "shield-check-filled": "\f269",
384
+ "shield-check": "\f26a",
385
+ "shield-filled": "\f26b",
386
+ "shield-lock-filled": "\f26c",
387
+ "shield-lock": "\f26d",
388
+ "shield-x-filled": "\f26e",
389
+ "shield-x": "\f26f",
390
+ "shield": "\f270",
391
+ "shop-filled": "\f271",
392
+ "shop": "\f272",
393
+ "sidebar-left-filled": "\f273",
394
+ "sidebar-left": "\f274",
395
+ "sidebar-right-filled": "\f275",
396
+ "sidebar-right": "\f276",
397
+ "signin-filled": "\f277",
398
+ "signin": "\f278",
399
+ "signout-filled": "\f279",
400
+ "signout": "\f27a",
401
+ "slider-filled": "\f27b",
402
+ "slider": "\f27c",
403
+ "square-filled": "\f27d",
404
+ "square": "\f27e",
405
+ "sticky-note-filled": "\f27f",
406
+ "sticky-note": "\f280",
407
+ "sun-filled": "\f281",
408
+ "sun": "\f282",
409
+ "thumbs-down-filled": "\f283",
410
+ "thumbs-down": "\f284",
411
+ "thumbs-up-filled": "\f285",
412
+ "thumbs-up": "\f286",
413
+ "thunder-filled": "\f287",
414
+ "thunder": "\f288",
415
+ "truck-filled": "\f289",
416
+ "truck": "\f28a",
417
+ "upload-filled": "\f28b",
418
+ "upload": "\f28c",
419
+ "wrench-filled": "\f28d",
420
+ "wrench": "\f28e",
421
+ "bell-filled": "\f28f",
422
+ "bell": "\f290",
423
+ "calender-check-filled": "\f291",
424
+ "calender-check": "\f292",
425
+ "calender-filled": "\f293",
426
+ "calender-plus-filled": "\f294",
427
+ "calender-plus": "\f295",
428
+ "calender": "\f296",
429
+ "clock-filled": "\f297",
430
+ "clock": "\f298",
431
+ "rewatch-filled": "\f299",
432
+ "rewatch": "\f29a",
433
+ "stopwatch-filled": "\f29b",
434
+ "stopwatch": "\f29c",
435
+ "bot-filled": "\f29d",
436
+ "bot": "\f29e",
437
+ "person-check-filled": "\f29f",
438
+ "person-check": "\f2a0",
439
+ "person-filled": "\f2a1",
440
+ "person-plus-filled": "\f2a2",
441
+ "person-plus": "\f2a3",
442
+ "person": "\f2a4",
443
+ "user-speak-filled": "\f2a5",
444
+ "user-speak": "\f2a6",
445
+ "users-filled": "\f2a7",
446
+ "users": "\f2a8",
441
447
  );
442
448
 
443
449
  .grauity-icon-exclamation-circle-filled:before {
@@ -1436,6 +1442,24 @@ $grauity-icons-map: (
1436
1442
  .grauity-icon-printer:before {
1437
1443
  content: map-get($grauity-icons-map, "printer");
1438
1444
  }
1445
+ .grauity-icon-progress-half-filled:before {
1446
+ content: map-get($grauity-icons-map, "progress-half-filled");
1447
+ }
1448
+ .grauity-icon-progress-half:before {
1449
+ content: map-get($grauity-icons-map, "progress-half");
1450
+ }
1451
+ .grauity-icon-progress-quarter-filled:before {
1452
+ content: map-get($grauity-icons-map, "progress-quarter-filled");
1453
+ }
1454
+ .grauity-icon-progress-quarter:before {
1455
+ content: map-get($grauity-icons-map, "progress-quarter");
1456
+ }
1457
+ .grauity-icon-progress-zero-filled:before {
1458
+ content: map-get($grauity-icons-map, "progress-zero-filled");
1459
+ }
1460
+ .grauity-icon-progress-zero:before {
1461
+ content: map-get($grauity-icons-map, "progress-zero");
1462
+ }
1439
1463
  .grauity-icon-python-filled:before {
1440
1464
  content: map-get($grauity-icons-map, "python-filled");
1441
1465
  }
Binary file
Binary file
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -335,6 +335,12 @@ export const ICON_TAGS: {
335
335
  "power-bi": string[];
336
336
  "printer-filled": string[];
337
337
  printer: string[];
338
+ "progress-half-filled": string[];
339
+ "progress-half": string[];
340
+ "progress-quarter-filled": string[];
341
+ "progress-quarter": string[];
342
+ "progress-zero-filled": string[];
343
+ "progress-zero": string[];
338
344
  "python-filled": string[];
339
345
  python: string[];
340
346
  "quiz-filled": string[];
@@ -436,7 +442,7 @@ export const TAG_ICONS: {
436
442
  Time: string[];
437
443
  User: string[];
438
444
  };
439
- 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' | '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' | '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' | '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' | 'trophy-filled' | 'trophy' | 'facebook' | 'linkedin' | 'twitter' | 'whatsapp' | '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' | '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';
445
+ 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' | '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' | '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' | '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' | 'trophy-filled' | 'trophy' | 'facebook' | 'linkedin' | 'twitter' | 'whatsapp' | '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';
440
446
  type grauityFlippedChoiceName = 'vertically' | 'horizontally';
441
447
  type grauityRotatedChoiceName = 'clockwise' | 'counterclockwise';
442
448
  type grauityIconSizeName = '4' | '8' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40';
@@ -3345,6 +3351,14 @@ export interface OverlayProps {
3345
3351
  * Additional className to be passed to the Overlay
3346
3352
  */
3347
3353
  className?: string;
3354
+ /**
3355
+ * The custom position of the overlay
3356
+ * @default { top: 0, left: 0 }
3357
+ */
3358
+ position?: {
3359
+ top?: number;
3360
+ left?: number;
3361
+ };
3348
3362
  }
3349
3363
  export const NSOverlay: React.ForwardRefExoticComponent<OverlayProps & React.RefAttributes<HTMLDivElement>>;
3350
3364
  type ModalContentType = React.ReactNode;
@@ -3918,6 +3932,11 @@ interface DropdownOption {
3918
3932
  id: number | string;
3919
3933
  label: string;
3920
3934
  }
3935
+ /**
3936
+ * @deprecated This interface is deprecated and will be removed in future versions.
3937
+ * - Use the `DropdownMenu` component instead.
3938
+ * @see {@link https://grauity.newtonschool.co/?path=/docs/elements-dropdownmenu--docs}
3939
+ */
3921
3940
  export interface SelectDropdownProps {
3922
3941
  /**
3923
3942
  * Set of options available for selection.
@@ -3969,11 +3988,21 @@ export interface SelectDropdownProps {
3969
3988
  */
3970
3989
  width?: string | null;
3971
3990
  }
3991
+ /**
3992
+ * @deprecated This component is deprecated and will be removed in future releases.
3993
+ * - Use the `DropdownMenu` component instead.
3994
+ * @see {@link https://grauity.newtonschool.co/?path=/docs/elements-dropdownmenu--docs}
3995
+ */
3972
3996
  export const NSSelectDropdown: React.ForwardRefExoticComponent<SelectDropdownProps & React.RefAttributes<HTMLSelectElement>>;
3973
3997
  interface _DropdownOption1 {
3974
3998
  id: string;
3975
3999
  label: string;
3976
4000
  }
4001
+ /**
4002
+ * @deprecated This interface is deprecated and will be removed in future versions.
4003
+ * - Use the `DropdownMenu` component instead.
4004
+ * @see {@link https://grauity.newtonschool.co/?path=/docs/elements-dropdownmenu--docs}
4005
+ */
3977
4006
  export interface MultiSelectDropdownProps {
3978
4007
  /**
3979
4008
  * Text to display when no option is selected.
@@ -4026,6 +4055,11 @@ export interface MultiSelectDropdownProps {
4026
4055
  */
4027
4056
  triggerComponent?: React.ReactNode;
4028
4057
  }
4058
+ /**
4059
+ * @deprecated This component is deprecated and will be removed in future releases.
4060
+ * - Use the `DropdownMenu` component instead.
4061
+ * @see {@link https://grauity.newtonschool.co/?path=/docs/elements-dropdownmenu--docs}
4062
+ */
4029
4063
  export const NSMultiSelectDropdown: React.ForwardRefExoticComponent<MultiSelectDropdownProps & React.RefAttributes<HTMLSelectElement>>;
4030
4064
  type ChipVariants = 'brand' | 'success' | 'error' | 'warning' | 'yellow' | 'purple' | 'disabled' | 'action-brand' | 'action-success' | 'action-error' | 'action-warning' | 'action-yellow' | 'action-purple';
4031
4065
  type ChipSizes = 'small' | 'medium' | 'large' | 'extra-large';
@@ -4824,6 +4858,35 @@ export interface ErrorMessageProps {
4824
4858
  * @type React.ReactNode
4825
4859
  */
4826
4860
  children: React.ReactNode;
4861
+ /**
4862
+ * The size of the icon.
4863
+ * @type grauityIconSizeName
4864
+ * @default '20'
4865
+ */
4866
+ iconSize?: grauityIconSizeName;
4867
+ /**
4868
+ * Additional styles to be used over the element.
4869
+ * @type React.CSSProperties
4870
+ */
4871
+ style?: React.CSSProperties;
4872
+ }
4873
+ export interface SuccessMessageProps {
4874
+ /**
4875
+ * The content of the ErrorMessage.
4876
+ * @type React.ReactNode
4877
+ */
4878
+ children: React.ReactNode;
4879
+ /**
4880
+ * The size of the icon.
4881
+ * @type grauityIconSizeName
4882
+ * @default '20'
4883
+ */
4884
+ iconSize?: grauityIconSizeName;
4885
+ /**
4886
+ * Additional styles to be used over the element.
4887
+ * @type React.CSSProperties
4888
+ */
4889
+ style?: React.CSSProperties;
4827
4890
  }
4828
4891
  export const NSLabel: (props: LabelProps) => JSX.Element;
4829
4892
  export const NSHelpMessage: (props: HelpMessageProps) => JSX.Element;
@@ -5239,5 +5302,241 @@ export interface PaginationProps {
5239
5302
  * The Pagination component allows users to navigate through a range of pages by selecting a specific page
5240
5303
  */
5241
5304
  export const NSPagination: (props: PaginationProps) => JSX.Element;
5305
+ export const NSSuccessMessage: (props: SuccessMessageProps) => JSX.Element;
5306
+ export interface OtpInputFieldProps {
5307
+ /**
5308
+ * The label displayed above the OTP input fields.
5309
+ * @type string
5310
+ */
5311
+ label?: string;
5312
+ /**
5313
+ * The value of the OTP input fields.
5314
+ * @type string
5315
+ */
5316
+ name: string;
5317
+ /**
5318
+ * The total number of OTP input fields.
5319
+ * @type number
5320
+ * @default 4
5321
+ */
5322
+ length?: number;
5323
+ /**
5324
+ * Callback triggered when the OTP value changes.
5325
+ * @param event - The event object containing the updated OTP value.
5326
+ * @type (event: { target: { name: string; value: string } }) => void
5327
+ */
5328
+ onChange: (event: {
5329
+ target: {
5330
+ name: string;
5331
+ value: string;
5332
+ };
5333
+ }) => void;
5334
+ /**
5335
+ * Inline styles applied to the OTP input fields.
5336
+ * @type React.CSSProperties
5337
+ */
5338
+ style?: React.CSSProperties;
5339
+ /**
5340
+ * Indicates whether the entered OTP is correct.
5341
+ * @type boolean
5342
+ * @default false
5343
+ */
5344
+ isOtpCorrect?: boolean;
5345
+ /**
5346
+ * Indicates whether the entered OTP is incorrect.
5347
+ * @type boolean
5348
+ * @default false
5349
+ */
5350
+ isOtpWrong?: boolean;
5351
+ /**
5352
+ * Determines whether the OTP input fields are disabled.
5353
+ * @type boolean
5354
+ * @default false
5355
+ */
5356
+ isDisabled?: boolean;
5357
+ /**
5358
+ * The error message displayed when OTP validation fails.
5359
+ * @type string
5360
+ * @default 'Wrong OTP. Please try again'
5361
+ */
5362
+ errorMessage?: string;
5363
+ /**
5364
+ * The success message displayed when OTP validation succeeds.
5365
+ * @type string
5366
+ * @default 'OTP is correct'
5367
+ */
5368
+ successMessage?: string;
5369
+ }
5370
+ export const NSOtpInput: ({ label, name, length, onChange, style, isOtpCorrect, isOtpWrong, isDisabled, errorMessage, successMessage, }: OtpInputFieldProps) => JSX.Element;
5371
+ export enum DropdownMenuBaseItemType {
5372
+ SUB_HEADER = "subheader",
5373
+ DIVIDER = "divider",
5374
+ OPTION = "option"
5375
+ }
5376
+ export type DropdownMenuBaseItemSubHeaderProps = {
5377
+ type: DropdownMenuBaseItemType.SUB_HEADER;
5378
+ title: string;
5379
+ };
5380
+ export type DropdownMenuBaseItemDividerProps = {
5381
+ type: DropdownMenuBaseItemType.DIVIDER;
5382
+ };
5383
+ export type DropdownMenuBaseItemOptionProps = {
5384
+ type: DropdownMenuBaseItemType.OPTION;
5385
+ label: string;
5386
+ value: string | number;
5387
+ description?: string;
5388
+ leftIcon?: grauityIconName;
5389
+ rightIcon?: grauityIconName;
5390
+ disabled?: boolean;
5391
+ };
5392
+ export type DropdownMenuBaseItemProps = DropdownMenuBaseItemSubHeaderProps | DropdownMenuBaseItemDividerProps | DropdownMenuBaseItemOptionProps;
5393
+ export interface DropdownMenuProps {
5394
+ /**
5395
+ * Whether to show the header of the dropdown menu.
5396
+ * - If `showHeader` is false, `title`, `overline`, and `subtext` will be ignored.
5397
+ * - if `title`, `overline`, and `subtext` all are not provided, `showHeader` will be ignored.
5398
+ * @default true
5399
+ */
5400
+ showHeader?: boolean;
5401
+ /**
5402
+ * The title of the dropdown menu.
5403
+ * @default 'Select'
5404
+ */
5405
+ title?: string;
5406
+ /**
5407
+ * The overline text of the dropdown menu.
5408
+ * @default ''
5409
+ */
5410
+ overline?: string;
5411
+ /**
5412
+ * The subtext of the dropdown menu.
5413
+ * @default ''
5414
+ */
5415
+ subtext?: string;
5416
+ /**
5417
+ * Custom header component for the dropdown menu.
5418
+ * - If `customHeader` is provided, `showHeader`, `title`, `overline`, and `subtext` will be ignored.
5419
+ * @default null
5420
+ */
5421
+ customHeader?: React.ReactNode;
5422
+ /**
5423
+ * Whether the dropdown menu is searchable.
5424
+ * @default false
5425
+ */
5426
+ searchable?: boolean;
5427
+ /**
5428
+ * Placeholder text for the search input.
5429
+ * @default 'Search'
5430
+ */
5431
+ searchPlaceholder?: string;
5432
+ /**
5433
+ * Icon name for the search input.
5434
+ * @default 'search'
5435
+ */
5436
+ searchIcon?: grauityIconName;
5437
+ /**
5438
+ * Callback function called when the search input value changes.
5439
+ * @param value - The new value of the search input.
5440
+ * @default A function that searches on label and description of items.
5441
+ */
5442
+ onSearchInputChange?: (value: string) => void;
5443
+ /**
5444
+ * Whether multiple items can be selected.
5445
+ * @default false
5446
+ */
5447
+ multiple?: boolean;
5448
+ /**
5449
+ * List of items to be displayed in the dropdown menu.
5450
+ * @type {
5451
+ type: 'subheader'
5452
+ title?: string;
5453
+ } | {
5454
+ type: 'divider'
5455
+ } | {
5456
+ type: 'option'
5457
+ label: string;
5458
+ value: string;
5459
+ description?: string;
5460
+ leftIcon?: grauityIconName;
5461
+ rightIcon?: grauityIconName;
5462
+ disabled?: boolean;
5463
+ }
5464
+ * @default []
5465
+ */
5466
+ items: DropdownMenuBaseItemProps[];
5467
+ /**
5468
+ * Whether to show action buttons (e.g., Apply, Clear All).
5469
+ * @default false in single select mode, true in multiple select mode
5470
+ */
5471
+ showActionButtons?: boolean;
5472
+ /**
5473
+ * Whether to show the "Clear All" button.
5474
+ * - If `showActionButtons` is false, `showClearAllButton` will be ignored.
5475
+ * - If `multiple` is false, `showClearAllButton` will always be false.
5476
+ * @default true
5477
+ */
5478
+ showClearAllButton?: boolean;
5479
+ /**
5480
+ * Text for the "Clear All" button.
5481
+ * @default 'Clear All'
5482
+ */
5483
+ clearAllButtonText?: string;
5484
+ /**
5485
+ * Text for the "Apply" button.
5486
+ * @default 'Apply'
5487
+ */
5488
+ applyButtonText?: string;
5489
+ /**
5490
+ * Callback function called when the "Clear All" button is clicked.
5491
+ * @default null
5492
+ */
5493
+ onClearAll?: () => void;
5494
+ /**
5495
+ * Callback function called to apply the selected items.
5496
+ * - In single select mode, if `showActionButtons` is false, `onApply` will be called when an option is clicked.
5497
+ * - In multiple select mode, if `showActionButtons` is false, `onApply` will be called when clicked outside the dropdown menu.
5498
+ * - If `showActionButtons` is true, `onApply` will be called when the "Apply" button is clicked.
5499
+ * @param items - The selected items.
5500
+ * @default null
5501
+ */
5502
+ onApply?: (items: DropdownMenuBaseItemOptionProps[] | DropdownMenuBaseItemOptionProps) => void;
5503
+ /**
5504
+ * Callback function called when the dropdown menu is scrolled to the bottom.
5505
+ * @default null
5506
+ */
5507
+ onScrollToBottom?: () => void;
5508
+ /**
5509
+ * Additional class names for the dropdown menu.
5510
+ * @default null
5511
+ */
5512
+ className?: string;
5513
+ /**
5514
+ * Additional styles for the dropdown menu.
5515
+ * @default {}
5516
+ */
5517
+ styles?: React.CSSProperties;
5518
+ /**
5519
+ * The values of the selected items.
5520
+ * @default []
5521
+ */
5522
+ selectedValues?: (string | number)[];
5523
+ /**
5524
+ * The trigger element for the dropdown menu.
5525
+ * - If the trigger element is not provided, the dropdown menu will be always visible.
5526
+ * - If the trigger element is provided, initially the dropdown menu will be hidden.
5527
+ * - If the trigger element is provided, the dropdown menu will be shown when the trigger element is clicked.
5528
+ * @default null
5529
+ */
5530
+ trigger?: React.ReactNode;
5531
+ /**
5532
+ * The width of the dropdown menu.
5533
+ * - If width is not provided, the width will be set to 300px.
5534
+ * - If width is provided, the width will be set to the provided value.
5535
+ * - If the width is 100%, the width will be equal to the width of the trigger element or parent element if trigger is not given.
5536
+ * @default '300px'
5537
+ */
5538
+ width?: string;
5539
+ }
5540
+ export const NSDropdownMenu: (props: DropdownMenuProps) => JSX.Element;
5242
5541
 
5243
5542
  //# sourceMappingURL=index.d.ts.map