@nulogy/components 16.0.2 → 16.0.4

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 (152) hide show
  1. package/dist/main.js +1 -0
  2. package/dist/main.js.map +1 -1
  3. package/dist/main.module.js +1 -0
  4. package/dist/main.module.js.map +1 -1
  5. package/dist/src/Alert/Alert.story.d.ts +1 -1
  6. package/dist/src/Alert/Alert.story.js +11 -0
  7. package/dist/src/AppTag/stories/AppTag.story.d.ts +2 -2
  8. package/dist/src/AppTag/stories/AppTag.story.js +6 -4
  9. package/dist/src/AppTag/stories/AppTag.usecases.story.d.ts +13 -10
  10. package/dist/src/AppTag/stories/AppTag.usecases.story.js +71 -51
  11. package/dist/src/AsyncSelect/AsyncSelect.graphql.story.js +4 -3
  12. package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +17 -13
  13. package/dist/src/AsyncSelect/AsyncSelect.story.js +46 -23
  14. package/dist/src/BottomSheet/stories/BottomSheet.actions.story.d.ts +8 -1
  15. package/dist/src/BottomSheet/stories/BottomSheet.actions.story.js +22 -3
  16. package/dist/src/BottomSheet/stories/BottomSheet.features.story.d.ts +9 -2
  17. package/dist/src/BottomSheet/stories/BottomSheet.features.story.js +27 -12
  18. package/dist/src/BottomSheet/stories/BottomSheet.story.d.ts +7 -1
  19. package/dist/src/BottomSheet/stories/BottomSheet.story.js +20 -3
  20. package/dist/src/Box/Box.story.d.ts +22 -44
  21. package/dist/src/Box/Box.story.js +30 -30
  22. package/dist/src/BrandedNavBar/NavBar.story.d.ts +16 -28
  23. package/dist/src/BrandedNavBar/NavBar.story.js +41 -35
  24. package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +1 -1
  25. package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +4 -8
  26. package/dist/src/Breadcrumbs/Breadcrumbs.story.js +4 -4
  27. package/dist/src/Button/Button.story.d.ts +14 -28
  28. package/dist/src/Button/Button.story.js +14 -14
  29. package/dist/src/Button/ControlIcon.story.js +1 -1
  30. package/dist/src/Button/IconicButton.story.d.ts +23 -45
  31. package/dist/src/Button/IconicButton.story.js +27 -25
  32. package/dist/src/ButtonGroup/ButtonGroup.story.d.ts +13 -23
  33. package/dist/src/ButtonGroup/ButtonGroup.story.js +10 -10
  34. package/dist/src/Card/Card.story.d.ts +3 -5
  35. package/dist/src/Card/Card.story.js +9 -7
  36. package/dist/src/Checkbox/Checkbox.story.d.ts +18 -34
  37. package/dist/src/Checkbox/Checkbox.story.js +28 -24
  38. package/dist/src/Checkbox/CheckboxGroup.story.d.ts +10 -20
  39. package/dist/src/Checkbox/CheckboxGroup.story.js +10 -10
  40. package/dist/src/DatePickers/stories/DatePicker.story.d.ts +9 -2
  41. package/dist/src/DatePickers/stories/DatePicker.story.js +43 -2
  42. package/dist/src/DatePickers/stories/MonthPicker.story.d.ts +8 -1
  43. package/dist/src/DatePickers/stories/MonthPicker.story.js +21 -2
  44. package/dist/src/DatePickers/stories/WeekPicker.story.d.ts +32 -4
  45. package/dist/src/DatePickers/stories/WeekPicker.story.js +57 -8
  46. package/dist/src/DateRange/DateRange.story.d.ts +16 -2
  47. package/dist/src/DateRange/DateRange.story.js +41 -3
  48. package/dist/src/DescriptionList/stories/DescriptionList.column.story.d.ts +1 -1
  49. package/dist/src/DescriptionList/stories/DescriptionList.column.story.js +10 -8
  50. package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.d.ts +1 -1
  51. package/dist/src/DescriptionList/stories/DescriptionList.layout.story.d.ts +1 -1
  52. package/dist/src/DescriptionList/stories/DescriptionList.layout.story.js +12 -10
  53. package/dist/src/DescriptionList/stories/DescriptionList.playground.story.d.ts +1 -1
  54. package/dist/src/DescriptionList/stories/DescriptionList.story.d.ts +1 -0
  55. package/dist/src/DescriptionList/stories/DescriptionList.story.js +3 -0
  56. package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +32 -32
  57. package/dist/src/DropdownMenu/DropdownMenu.story.js +58 -16
  58. package/dist/src/FieldLabel/FieldLabel.story.d.ts +2 -4
  59. package/dist/src/FieldLabel/FieldLabel.story.js +2 -2
  60. package/dist/src/Flex/Flex.story.d.ts +34 -68
  61. package/dist/src/Flex/Flex.story.js +36 -36
  62. package/dist/src/Form/Form.story.d.ts +8 -16
  63. package/dist/src/Form/Form.story.js +8 -8
  64. package/dist/src/Icon/Icon.story.d.ts +12 -24
  65. package/dist/src/Icon/Icon.story.js +15 -15
  66. package/dist/src/Input/Input.story.d.ts +16 -32
  67. package/dist/src/Input/Input.story.js +23 -23
  68. package/dist/src/Layout/Page.applicationFrame.story.d.ts +1 -1
  69. package/dist/src/Layout/Page.story.d.ts +1 -1
  70. package/dist/src/Layout/Sidebar.story.d.ts +1 -1
  71. package/dist/src/Link/Link.story.d.ts +16 -32
  72. package/dist/src/Link/Link.story.js +16 -17
  73. package/dist/src/List/List.story.d.ts +8 -16
  74. package/dist/src/List/List.story.js +8 -8
  75. package/dist/src/LoadingAnimation/LoadingAnimation.story.d.ts +4 -8
  76. package/dist/src/LoadingAnimation/LoadingAnimation.story.js +4 -4
  77. package/dist/src/MaybeTooltip/MaybeTooltip.story.d.ts +1 -1
  78. package/dist/src/Modal/Modal.story.d.ts +1 -1
  79. package/dist/src/Navigation/stories/Navigation.appSwitcher.story.d.ts +8 -1
  80. package/dist/src/Navigation/stories/Navigation.appSwitcher.story.js +19 -1
  81. package/dist/src/Navigation/stories/Navigation.logos.story.d.ts +2 -4
  82. package/dist/src/Navigation/stories/Navigation.logos.story.js +4 -4
  83. package/dist/src/Navigation/stories/Navigation.story.d.ts +7 -1
  84. package/dist/src/Navigation/stories/Navigation.story.js +145 -136
  85. package/dist/src/Navigation/stories/Navigation.userMenu.story.d.ts +8 -1
  86. package/dist/src/Navigation/stories/Navigation.userMenu.story.js +22 -1
  87. package/dist/src/Overlay/Overlay.story.d.ts +2 -4
  88. package/dist/src/Overlay/Overlay.story.js +2 -2
  89. package/dist/src/Pagination/Pagination.story.d.ts +14 -13
  90. package/dist/src/Pagination/Pagination.story.js +32 -11
  91. package/dist/src/Radio/Radio.story.d.ts +1 -1
  92. package/dist/src/Radio/Radio.story.js +44 -1
  93. package/dist/src/Radio/RadioGroup.story.d.ts +29 -21
  94. package/dist/src/Radio/RadioGroup.story.js +67 -14
  95. package/dist/src/RangeContainer/RangeContainer.story.d.ts +2 -4
  96. package/dist/src/RangeContainer/RangeContainer.story.js +2 -2
  97. package/dist/src/Select/Select.story.d.ts +37 -65
  98. package/dist/src/Select/Select.story.js +93 -49
  99. package/dist/src/StatusIndicator/StatusIndicator.story.d.ts +4 -8
  100. package/dist/src/StatusIndicator/StatusIndicator.story.js +4 -4
  101. package/dist/src/Switcher/Switcher.story.d.ts +8 -1
  102. package/dist/src/Switcher/Switcher.story.js +13 -1
  103. package/dist/src/Table/stories/BaseTable.story.d.ts +1 -1
  104. package/dist/src/Table/stories/BaseTable.story.js +1 -1
  105. package/dist/src/Table/stories/CustomContent.story.js +1 -1
  106. package/dist/src/Table/stories/Density.story.d.ts +4 -8
  107. package/dist/src/Table/stories/Density.story.js +4 -4
  108. package/dist/src/Table/stories/SortingColumnHeader.story.d.ts +1 -1
  109. package/dist/src/Table/stories/SortingColumnHeader.story.js +1 -1
  110. package/dist/src/Table/stories/Table.story.d.ts +1 -1
  111. package/dist/src/Table/stories/Table.story.js +37 -1
  112. package/dist/src/Table/stories/TableWithCustomSorting.story.d.ts +2 -4
  113. package/dist/src/Table/stories/TableWithCustomSorting.story.js +2 -2
  114. package/dist/src/Table/stories/TableWithExpandableRows.story.d.ts +4 -8
  115. package/dist/src/Table/stories/TableWithExpandableRows.story.js +5 -5
  116. package/dist/src/Table/stories/TableWithFiltering.story.d.ts +8 -8
  117. package/dist/src/Table/stories/TableWithFiltering.story.js +15 -4
  118. package/dist/src/Table/stories/TableWithSelectableRows.story.d.ts +8 -8
  119. package/dist/src/Table/stories/TableWithSelectableRows.story.js +22 -5
  120. package/dist/src/Table/stories/TableWithServerSidePagination.story.d.ts +2 -4
  121. package/dist/src/Table/stories/TableWithServerSidePagination.story.js +2 -2
  122. package/dist/src/Tabs/Tabs.story.d.ts +33 -33
  123. package/dist/src/Tabs/Tabs.story.js +52 -16
  124. package/dist/src/Textarea/Textarea.story.js +1 -1
  125. package/dist/src/TimePicker/TimePicker.js +2 -0
  126. package/dist/src/TimePicker/TimePicker.story.d.ts +24 -40
  127. package/dist/src/TimePicker/TimePicker.story.js +40 -27
  128. package/dist/src/TimeRange/TimeRange.story.d.ts +14 -20
  129. package/dist/src/TimeRange/TimeRange.story.js +34 -20
  130. package/dist/src/Toast/Toast.story.d.ts +24 -25
  131. package/dist/src/Toast/Toast.story.js +170 -142
  132. package/dist/src/ToastContainer/ToastContainer.story.d.ts +8 -1
  133. package/dist/src/ToastContainer/ToastContainer.story.js +13 -1
  134. package/dist/src/Toggle/Toggle.story.d.ts +25 -15
  135. package/dist/src/Toggle/Toggle.story.js +77 -43
  136. package/dist/src/Tooltip/Tooltip.story.d.ts +1 -1
  137. package/dist/src/Tooltip/Tooltip.story.js +16 -0
  138. package/dist/src/TopBar/stories/TopBar.story.d.ts +7 -1
  139. package/dist/src/TopBar/stories/TopBar.story.js +18 -1
  140. package/dist/src/TruncatedText/TruncatedText.story.d.ts +29 -34
  141. package/dist/src/TruncatedText/TruncatedText.story.js +46 -19
  142. package/dist/src/Type/Text.story.d.ts +10 -20
  143. package/dist/src/Type/Text.story.js +10 -10
  144. package/dist/src/Validation/InlineValidation.story.d.ts +6 -12
  145. package/dist/src/Validation/InlineValidation.story.js +6 -6
  146. package/dist/src/VisualTests/Select.story.d.ts +12 -24
  147. package/dist/src/VisualTests/Select.story.js +19 -19
  148. package/dist/src/pages/ErrorPage.story.d.ts +3 -5
  149. package/dist/src/pages/ErrorPage.story.js +10 -10
  150. package/dist/src/pages/LoginPage.story.d.ts +8 -16
  151. package/dist/src/pages/LoginPage.story.js +8 -8
  152. package/package.json +16 -24
@@ -41385,6 +41385,7 @@ const TimePicker = forwardRef(
41385
41385
  const componentVariant = useComponentVariant(variant3);
41386
41386
  const scrollToSelection = useCallback(
41387
41387
  debounce((currentOption, dropdown) => {
41388
+ if (!dropdown.current) return;
41388
41389
  const currentIndex = Array.from(dropdown.current.children).indexOf(currentOption);
41389
41390
  if (currentIndex > 2) {
41390
41391
  dropdown.current.scrollTop = (currentIndex - 2) * currentOption.scrollHeight;