@temp-spotwork/ui 1.4.3

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 (736) hide show
  1. package/README.md +30 -0
  2. package/dist/Combination-BkpbjcWz.js +672 -0
  3. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  4. package/dist/addYears-D3POA9ql.js +7 -0
  5. package/dist/bundle-mjs-CAy1p0fn.js +2261 -0
  6. package/dist/card-Cc2Qkiqr.js +41 -0
  7. package/dist/components/atoms/avatar/Avatar.stories.d.ts +7 -0
  8. package/dist/components/atoms/avatar/Avatar.stories.js +22 -0
  9. package/dist/components/atoms/avatar/avatar.d.ts +39 -0
  10. package/dist/components/atoms/avatar/avatar.js +76 -0
  11. package/dist/components/atoms/avatar/index.d.ts +2 -0
  12. package/dist/components/atoms/avatar/index.js +4 -0
  13. package/dist/components/atoms/avatar/statusIndicatorIcon.d.ts +3 -0
  14. package/dist/components/atoms/avatar/statusIndicatorIcon.js +33 -0
  15. package/dist/components/atoms/avatar/styles.d.ts +14 -0
  16. package/dist/components/atoms/avatar/styles.js +47 -0
  17. package/dist/components/atoms/badge/badge.d.ts +25 -0
  18. package/dist/components/atoms/badge/badge.js +38 -0
  19. package/dist/components/atoms/badge/badge.stories.d.ts +7 -0
  20. package/dist/components/atoms/badge/badge.stories.js +23 -0
  21. package/dist/components/atoms/badge/index.d.ts +2 -0
  22. package/dist/components/atoms/badge/index.js +4 -0
  23. package/dist/components/atoms/card/card.d.ts +8 -0
  24. package/dist/components/atoms/card/card.js +12 -0
  25. package/dist/components/atoms/card/card.stories.d.ts +13 -0
  26. package/dist/components/atoms/card/card.stories.js +86 -0
  27. package/dist/components/atoms/card/index.d.ts +1 -0
  28. package/dist/components/atoms/card/index.js +4 -0
  29. package/dist/components/atoms/card-content/label-value-pair/index.d.ts +2 -0
  30. package/dist/components/atoms/card-content/label-value-pair/index.js +4 -0
  31. package/dist/components/atoms/card-content/label-value-pair/label-value-pair.d.ts +30 -0
  32. package/dist/components/atoms/card-content/label-value-pair/label-value-pair.js +22 -0
  33. package/dist/components/atoms/card-content/label-value-pair/label-value-pair.stories.d.ts +7 -0
  34. package/dist/components/atoms/card-content/label-value-pair/label-value-pair.stories.js +22 -0
  35. package/dist/components/atoms/card-content/label-value-pair/styles.d.ts +1 -0
  36. package/dist/components/atoms/card-content/label-value-pair/styles.js +4 -0
  37. package/dist/components/atoms/card-content/note/index.d.ts +2 -0
  38. package/dist/components/atoms/card-content/note/index.js +4 -0
  39. package/dist/components/atoms/card-content/note/note.d.ts +33 -0
  40. package/dist/components/atoms/card-content/note/note.js +30 -0
  41. package/dist/components/atoms/conversation/chatheader/chatheader.d.ts +11 -0
  42. package/dist/components/atoms/conversation/chatheader/chatheader.js +91 -0
  43. package/dist/components/atoms/conversation/chatheader/index.d.ts +2 -0
  44. package/dist/components/atoms/conversation/chatheader/index.js +4 -0
  45. package/dist/components/atoms/conversation/chatheader/styles.d.ts +4 -0
  46. package/dist/components/atoms/conversation/chatheader/styles.js +7 -0
  47. package/dist/components/atoms/daybubble/recurrence-day/RecurrenceDay.stories.d.ts +7 -0
  48. package/dist/components/atoms/daybubble/recurrence-day/RecurrenceDay.stories.js +20 -0
  49. package/dist/components/atoms/daybubble/recurrence-day/index.d.ts +2 -0
  50. package/dist/components/atoms/daybubble/recurrence-day/index.js +4 -0
  51. package/dist/components/atoms/daybubble/recurrence-day/recurrence-day.d.ts +27 -0
  52. package/dist/components/atoms/daybubble/recurrence-day/recurrence-day.js +86 -0
  53. package/dist/components/atoms/form/calendar/calendar-date-cell.d.ts +68 -0
  54. package/dist/components/atoms/form/calendar/calendar-date-cell.js +82 -0
  55. package/dist/components/atoms/form/calendar/calendar-month.d.ts +57 -0
  56. package/dist/components/atoms/form/calendar/calendar-month.js +148 -0
  57. package/dist/components/atoms/form/calendar/calendar-utils.d.ts +43 -0
  58. package/dist/components/atoms/form/calendar/calendar-utils.js +11 -0
  59. package/dist/components/atoms/form/calendar/calendar.d.ts +20 -0
  60. package/dist/components/atoms/form/calendar/calendar.js +106 -0
  61. package/dist/components/atoms/form/calendar/calendar.stories.d.ts +14 -0
  62. package/dist/components/atoms/form/calendar/calendar.stories.js +215 -0
  63. package/dist/components/atoms/form/calendar/index.d.ts +2 -0
  64. package/dist/components/atoms/form/calendar/index.js +4 -0
  65. package/dist/components/atoms/form/calendar/month-header.d.ts +13 -0
  66. package/dist/components/atoms/form/calendar/month-header.js +19 -0
  67. package/dist/components/atoms/form/calendar/sticky-button.d.ts +24 -0
  68. package/dist/components/atoms/form/calendar/sticky-button.js +24 -0
  69. package/dist/components/atoms/form/calendar/types.d.ts +50 -0
  70. package/dist/components/atoms/form/calendar/types.js +1 -0
  71. package/dist/components/atoms/form/checkbox/checkbox.d.ts +37 -0
  72. package/dist/components/atoms/form/checkbox/checkbox.js +67 -0
  73. package/dist/components/atoms/form/checkbox/index.d.ts +2 -0
  74. package/dist/components/atoms/form/checkbox/index.js +4 -0
  75. package/dist/components/atoms/form/chips/chips.d.ts +46 -0
  76. package/dist/components/atoms/form/chips/chips.js +177 -0
  77. package/dist/components/atoms/form/chips/chips.stories.d.ts +7 -0
  78. package/dist/components/atoms/form/chips/chips.stories.js +24 -0
  79. package/dist/components/atoms/form/chips/index.d.ts +2 -0
  80. package/dist/components/atoms/form/chips/index.js +4 -0
  81. package/dist/components/atoms/form/chips/styles.d.ts +77 -0
  82. package/dist/components/atoms/form/chips/styles.js +55 -0
  83. package/dist/components/atoms/form/dateselect/date-calendar.d.ts +34 -0
  84. package/dist/components/atoms/form/dateselect/date-calendar.js +85 -0
  85. package/dist/components/atoms/form/dateselect/date-dropdown-header.d.ts +21 -0
  86. package/dist/components/atoms/form/dateselect/date-dropdown-header.js +46 -0
  87. package/dist/components/atoms/form/dateselect/date-dropdown.d.ts +70 -0
  88. package/dist/components/atoms/form/dateselect/date-dropdown.js +92 -0
  89. package/dist/components/atoms/form/dateselect/date-input.d.ts +59 -0
  90. package/dist/components/atoms/form/dateselect/date-input.js +3240 -0
  91. package/dist/components/atoms/form/dateselect/date-month-year-switch.d.ts +38 -0
  92. package/dist/components/atoms/form/dateselect/date-month-year-switch.js +67 -0
  93. package/dist/components/atoms/form/dateselect/dateselect.d.ts +62 -0
  94. package/dist/components/atoms/form/dateselect/dateselect.js +164 -0
  95. package/dist/components/atoms/form/dateselect/helpers.d.ts +36 -0
  96. package/dist/components/atoms/form/dateselect/helpers.js +83 -0
  97. package/dist/components/atoms/form/dateselect/index.d.ts +2 -0
  98. package/dist/components/atoms/form/dateselect/index.js +4 -0
  99. package/dist/components/atoms/form/dateselect/month-switch.d.ts +10 -0
  100. package/dist/components/atoms/form/dateselect/month-switch.js +135 -0
  101. package/dist/components/atoms/form/dateselect/styles.d.ts +10 -0
  102. package/dist/components/atoms/form/dateselect/styles.js +14 -0
  103. package/dist/components/atoms/form/dateselect/year-switch.d.ts +8 -0
  104. package/dist/components/atoms/form/dateselect/year-switch.js +134 -0
  105. package/dist/components/atoms/form/dropdown/dropdown.d.ts +65 -0
  106. package/dist/components/atoms/form/dropdown/dropdown.js +182 -0
  107. package/dist/components/atoms/form/dropdown/index.d.ts +2 -0
  108. package/dist/components/atoms/form/dropdown/index.js +4 -0
  109. package/dist/components/atoms/form/dropdown/styles.d.ts +13 -0
  110. package/dist/components/atoms/form/dropdown/styles.js +20 -0
  111. package/dist/components/atoms/form/dropdown-search/dropdown-search.d.ts +93 -0
  112. package/dist/components/atoms/form/dropdown-search/dropdown-search.js +197 -0
  113. package/dist/components/atoms/form/dropdown-search/dropdown-search.stories.d.ts +24 -0
  114. package/dist/components/atoms/form/dropdown-search/dropdown-search.stories.js +362 -0
  115. package/dist/components/atoms/form/dropdown-search/index.d.ts +2 -0
  116. package/dist/components/atoms/form/dropdown-search/index.js +4 -0
  117. package/dist/components/atoms/form/form-helper-text/form-helper-text.d.ts +22 -0
  118. package/dist/components/atoms/form/form-helper-text/form-helper-text.js +13 -0
  119. package/dist/components/atoms/form/form-helper-text/index.d.ts +1 -0
  120. package/dist/components/atoms/form/form-helper-text/index.js +4 -0
  121. package/dist/components/atoms/form/form-types.d.ts +4 -0
  122. package/dist/components/atoms/form/form-types.js +1 -0
  123. package/dist/components/atoms/form/multiselect/index.d.ts +2 -0
  124. package/dist/components/atoms/form/multiselect/index.js +4 -0
  125. package/dist/components/atoms/form/multiselect/multiselect.d.ts +63 -0
  126. package/dist/components/atoms/form/multiselect/multiselect.js +109 -0
  127. package/dist/components/atoms/form/navigation/index.d.ts +2 -0
  128. package/dist/components/atoms/form/navigation/index.js +4 -0
  129. package/dist/components/atoms/form/navigation/navigation.d.ts +19 -0
  130. package/dist/components/atoms/form/navigation/navigation.js +35 -0
  131. package/dist/components/atoms/form/navigation/styles.d.ts +5 -0
  132. package/dist/components/atoms/form/navigation/styles.js +8 -0
  133. package/dist/components/atoms/form/radiobutton/index.d.ts +2 -0
  134. package/dist/components/atoms/form/radiobutton/index.js +4 -0
  135. package/dist/components/atoms/form/radiobutton/radiobutton.d.ts +41 -0
  136. package/dist/components/atoms/form/radiobutton/radiobutton.js +82 -0
  137. package/dist/components/atoms/form/recurrence-week/RecurrenceWeek.stories.d.ts +7 -0
  138. package/dist/components/atoms/form/recurrence-week/RecurrenceWeek.stories.js +37 -0
  139. package/dist/components/atoms/form/recurrence-week/index.d.ts +2 -0
  140. package/dist/components/atoms/form/recurrence-week/index.js +4 -0
  141. package/dist/components/atoms/form/recurrence-week/recurrence-week.d.ts +32 -0
  142. package/dist/components/atoms/form/recurrence-week/recurrence-week.js +34 -0
  143. package/dist/components/atoms/form/stepper/Stepper.stories.d.ts +7 -0
  144. package/dist/components/atoms/form/stepper/Stepper.stories.js +30 -0
  145. package/dist/components/atoms/form/stepper/index.d.ts +2 -0
  146. package/dist/components/atoms/form/stepper/index.js +4 -0
  147. package/dist/components/atoms/form/stepper/stepper.d.ts +50 -0
  148. package/dist/components/atoms/form/stepper/stepper.js +156 -0
  149. package/dist/components/atoms/form/stepper/styles.d.ts +3 -0
  150. package/dist/components/atoms/form/stepper/styles.js +6 -0
  151. package/dist/components/atoms/form/switch/index.d.ts +2 -0
  152. package/dist/components/atoms/form/switch/index.js +4 -0
  153. package/dist/components/atoms/form/switch/switch.d.ts +41 -0
  154. package/dist/components/atoms/form/switch/switch.js +184 -0
  155. package/dist/components/atoms/form/switch/switch.props.d.ts +26 -0
  156. package/dist/components/atoms/form/switch/switch.props.js +19 -0
  157. package/dist/components/atoms/form/textarea/Textarea.stories.d.ts +7 -0
  158. package/dist/components/atoms/form/textarea/Textarea.stories.js +22 -0
  159. package/dist/components/atoms/form/textarea/index.d.ts +2 -0
  160. package/dist/components/atoms/form/textarea/index.js +4 -0
  161. package/dist/components/atoms/form/textarea/styles.d.ts +6 -0
  162. package/dist/components/atoms/form/textarea/styles.js +9 -0
  163. package/dist/components/atoms/form/textarea/textarea.d.ts +53 -0
  164. package/dist/components/atoms/form/textarea/textarea.js +91 -0
  165. package/dist/components/atoms/form/textfield/index.d.ts +2 -0
  166. package/dist/components/atoms/form/textfield/index.js +4 -0
  167. package/dist/components/atoms/form/textfield/styles.d.ts +4 -0
  168. package/dist/components/atoms/form/textfield/styles.js +7 -0
  169. package/dist/components/atoms/form/textfield/textfield.d.ts +90 -0
  170. package/dist/components/atoms/form/textfield/textfield.js +144 -0
  171. package/dist/components/atoms/form/time-picker/index.d.ts +2 -0
  172. package/dist/components/atoms/form/time-picker/index.js +4 -0
  173. package/dist/components/atoms/form/time-picker/time-picker-dropdown.d.ts +77 -0
  174. package/dist/components/atoms/form/time-picker/time-picker-dropdown.js +193 -0
  175. package/dist/components/atoms/form/time-picker/time-picker-input.d.ts +107 -0
  176. package/dist/components/atoms/form/time-picker/time-picker-input.js +248 -0
  177. package/dist/components/atoms/form/time-picker/time-picker.d.ts +111 -0
  178. package/dist/components/atoms/form/time-picker/time-picker.js +126 -0
  179. package/dist/components/atoms/form/time-picker/time-picker.stories.d.ts +30 -0
  180. package/dist/components/atoms/form/time-picker/time-picker.stories.js +368 -0
  181. package/dist/components/atoms/form/timeselect/hours-switch.d.ts +21 -0
  182. package/dist/components/atoms/form/timeselect/hours-switch.js +88 -0
  183. package/dist/components/atoms/form/timeselect/index.d.ts +2 -0
  184. package/dist/components/atoms/form/timeselect/index.js +4 -0
  185. package/dist/components/atoms/form/timeselect/minutes-switch.d.ts +25 -0
  186. package/dist/components/atoms/form/timeselect/minutes-switch.js +88 -0
  187. package/dist/components/atoms/form/timeselect/styles.d.ts +13 -0
  188. package/dist/components/atoms/form/timeselect/styles.js +16 -0
  189. package/dist/components/atoms/form/timeselect/timeselect.d.ts +50 -0
  190. package/dist/components/atoms/form/timeselect/timeselect.js +220 -0
  191. package/dist/components/atoms/form/typeahead/index.d.ts +2 -0
  192. package/dist/components/atoms/form/typeahead/index.js +4 -0
  193. package/dist/components/atoms/form/typeahead/styles.d.ts +7 -0
  194. package/dist/components/atoms/form/typeahead/styles.js +11 -0
  195. package/dist/components/atoms/form/typeahead/typeahead.d.ts +83 -0
  196. package/dist/components/atoms/form/typeahead/typeahead.js +146 -0
  197. package/dist/components/atoms/form/utils-for-forms/state-functions.d.ts +6 -0
  198. package/dist/components/atoms/form/utils-for-forms/state-functions.js +8 -0
  199. package/dist/components/atoms/horizontal-border/horizontal-border.d.ts +21 -0
  200. package/dist/components/atoms/horizontal-border/horizontal-border.js +7 -0
  201. package/dist/components/atoms/horizontal-border/index.d.ts +1 -0
  202. package/dist/components/atoms/horizontal-border/index.js +4 -0
  203. package/dist/components/atoms/icons/iconMap.d.ts +313 -0
  204. package/dist/components/atoms/icons/iconMap.js +214 -0
  205. package/dist/components/atoms/icons/icons.d.ts +59 -0
  206. package/dist/components/atoms/icons/icons.js +78 -0
  207. package/dist/components/atoms/icons/icons.stories.d.ts +22 -0
  208. package/dist/components/atoms/icons/icons.stories.js +428 -0
  209. package/dist/components/atoms/icons/iconsSVGs/Countries/CAN.d.ts +2 -0
  210. package/dist/components/atoms/icons/iconsSVGs/Countries/CAN.js +12 -0
  211. package/dist/components/atoms/icons/iconsSVGs/Countries/USA.d.ts +2 -0
  212. package/dist/components/atoms/icons/iconsSVGs/Countries/USA.js +49 -0
  213. package/dist/components/atoms/icons/iconsSVGs/Countries/index.d.ts +4 -0
  214. package/dist/components/atoms/icons/iconsSVGs/Countries/index.js +6 -0
  215. package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/EmptyTemplate.d.ts +2 -0
  216. package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/EmptyTemplate.js +106 -0
  217. package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/PostAShift.d.ts +2 -0
  218. package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/PostAShift.js +112 -0
  219. package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/index.d.ts +4 -0
  220. package/dist/components/atoms/icons/iconsSVGs/ExtraLarge/index.js +6 -0
  221. package/dist/components/atoms/icons/iconsSVGs/Large/AbnormalLastShift.d.ts +4 -0
  222. package/dist/components/atoms/icons/iconsSVGs/Large/AbnormalLastShift.js +21 -0
  223. package/dist/components/atoms/icons/iconsSVGs/Large/Add.d.ts +4 -0
  224. package/dist/components/atoms/icons/iconsSVGs/Large/Add.js +21 -0
  225. package/dist/components/atoms/icons/iconsSVGs/Large/AdvancedSearch.d.ts +4 -0
  226. package/dist/components/atoms/icons/iconsSVGs/Large/AdvancedSearch.js +23 -0
  227. package/dist/components/atoms/icons/iconsSVGs/Large/ArrowLeft.d.ts +4 -0
  228. package/dist/components/atoms/icons/iconsSVGs/Large/ArrowLeft.js +23 -0
  229. package/dist/components/atoms/icons/iconsSVGs/Large/ArrowRight.d.ts +4 -0
  230. package/dist/components/atoms/icons/iconsSVGs/Large/ArrowRight.js +23 -0
  231. package/dist/components/atoms/icons/iconsSVGs/Large/Ascending.d.ts +4 -0
  232. package/dist/components/atoms/icons/iconsSVGs/Large/Ascending.js +23 -0
  233. package/dist/components/atoms/icons/iconsSVGs/Large/Attach.d.ts +4 -0
  234. package/dist/components/atoms/icons/iconsSVGs/Large/Attach.js +21 -0
  235. package/dist/components/atoms/icons/iconsSVGs/Large/Bell.d.ts +4 -0
  236. package/dist/components/atoms/icons/iconsSVGs/Large/Bell.js +23 -0
  237. package/dist/components/atoms/icons/iconsSVGs/Large/BellUnread.d.ts +4 -0
  238. package/dist/components/atoms/icons/iconsSVGs/Large/BellUnread.js +26 -0
  239. package/dist/components/atoms/icons/iconsSVGs/Large/Building.d.ts +4 -0
  240. package/dist/components/atoms/icons/iconsSVGs/Large/Building.js +23 -0
  241. package/dist/components/atoms/icons/iconsSVGs/Large/Calendar.d.ts +4 -0
  242. package/dist/components/atoms/icons/iconsSVGs/Large/Calendar.js +23 -0
  243. package/dist/components/atoms/icons/iconsSVGs/Large/Cancellation.d.ts +4 -0
  244. package/dist/components/atoms/icons/iconsSVGs/Large/Cancellation.js +23 -0
  245. package/dist/components/atoms/icons/iconsSVGs/Large/Chapters.d.ts +4 -0
  246. package/dist/components/atoms/icons/iconsSVGs/Large/Chapters.js +23 -0
  247. package/dist/components/atoms/icons/iconsSVGs/Large/CheckIn.d.ts +4 -0
  248. package/dist/components/atoms/icons/iconsSVGs/Large/CheckIn.js +23 -0
  249. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronDown.d.ts +4 -0
  250. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronDown.js +23 -0
  251. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronLeft.d.ts +4 -0
  252. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronLeft.js +23 -0
  253. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronRight.d.ts +4 -0
  254. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronRight.js +23 -0
  255. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronUp.d.ts +4 -0
  256. package/dist/components/atoms/icons/iconsSVGs/Large/ChevronUp.js +23 -0
  257. package/dist/components/atoms/icons/iconsSVGs/Large/Clock.d.ts +4 -0
  258. package/dist/components/atoms/icons/iconsSVGs/Large/Clock.js +23 -0
  259. package/dist/components/atoms/icons/iconsSVGs/Large/Contact.d.ts +4 -0
  260. package/dist/components/atoms/icons/iconsSVGs/Large/Contact.js +23 -0
  261. package/dist/components/atoms/icons/iconsSVGs/Large/Copy.d.ts +4 -0
  262. package/dist/components/atoms/icons/iconsSVGs/Large/Copy.js +23 -0
  263. package/dist/components/atoms/icons/iconsSVGs/Large/Cross.d.ts +4 -0
  264. package/dist/components/atoms/icons/iconsSVGs/Large/Cross.js +21 -0
  265. package/dist/components/atoms/icons/iconsSVGs/Large/Descending.d.ts +4 -0
  266. package/dist/components/atoms/icons/iconsSVGs/Large/Descending.js +23 -0
  267. package/dist/components/atoms/icons/iconsSVGs/Large/DoubleTick.d.ts +4 -0
  268. package/dist/components/atoms/icons/iconsSVGs/Large/DoubleTick.js +23 -0
  269. package/dist/components/atoms/icons/iconsSVGs/Large/Duplicate.d.ts +4 -0
  270. package/dist/components/atoms/icons/iconsSVGs/Large/Duplicate.js +24 -0
  271. package/dist/components/atoms/icons/iconsSVGs/Large/Edit.d.ts +4 -0
  272. package/dist/components/atoms/icons/iconsSVGs/Large/Edit.js +23 -0
  273. package/dist/components/atoms/icons/iconsSVGs/Large/EyeClose.d.ts +4 -0
  274. package/dist/components/atoms/icons/iconsSVGs/Large/EyeClose.js +23 -0
  275. package/dist/components/atoms/icons/iconsSVGs/Large/EyeOpen.d.ts +4 -0
  276. package/dist/components/atoms/icons/iconsSVGs/Large/EyeOpen.js +23 -0
  277. package/dist/components/atoms/icons/iconsSVGs/Large/Feedback.d.ts +4 -0
  278. package/dist/components/atoms/icons/iconsSVGs/Large/Feedback.js +25 -0
  279. package/dist/components/atoms/icons/iconsSVGs/Large/File.d.ts +4 -0
  280. package/dist/components/atoms/icons/iconsSVGs/Large/File.js +12 -0
  281. package/dist/components/atoms/icons/iconsSVGs/Large/FlaggedMessage.d.ts +4 -0
  282. package/dist/components/atoms/icons/iconsSVGs/Large/FlaggedMessage.js +21 -0
  283. package/dist/components/atoms/icons/iconsSVGs/Large/HamburgerMenu.d.ts +4 -0
  284. package/dist/components/atoms/icons/iconsSVGs/Large/HamburgerMenu.js +23 -0
  285. package/dist/components/atoms/icons/iconsSVGs/Large/Jobs.d.ts +4 -0
  286. package/dist/components/atoms/icons/iconsSVGs/Large/Jobs.js +23 -0
  287. package/dist/components/atoms/icons/iconsSVGs/Large/KebabMenu.d.ts +4 -0
  288. package/dist/components/atoms/icons/iconsSVGs/Large/KebabMenu.js +23 -0
  289. package/dist/components/atoms/icons/iconsSVGs/Large/LocationDisabled.d.ts +4 -0
  290. package/dist/components/atoms/icons/iconsSVGs/Large/LocationDisabled.js +21 -0
  291. package/dist/components/atoms/icons/iconsSVGs/Large/MagnifyingGlass.d.ts +4 -0
  292. package/dist/components/atoms/icons/iconsSVGs/Large/MagnifyingGlass.js +23 -0
  293. package/dist/components/atoms/icons/iconsSVGs/Large/Maximize.d.ts +4 -0
  294. package/dist/components/atoms/icons/iconsSVGs/Large/Maximize.js +23 -0
  295. package/dist/components/atoms/icons/iconsSVGs/Large/Maximize1.d.ts +4 -0
  296. package/dist/components/atoms/icons/iconsSVGs/Large/Maximize1.js +23 -0
  297. package/dist/components/atoms/icons/iconsSVGs/Large/Minimize.d.ts +4 -0
  298. package/dist/components/atoms/icons/iconsSVGs/Large/Minimize.js +21 -0
  299. package/dist/components/atoms/icons/iconsSVGs/Large/NewSpotter.d.ts +4 -0
  300. package/dist/components/atoms/icons/iconsSVGs/Large/NewSpotter.js +21 -0
  301. package/dist/components/atoms/icons/iconsSVGs/Large/OpenSeparately.d.ts +4 -0
  302. package/dist/components/atoms/icons/iconsSVGs/Large/OpenSeparately.js +23 -0
  303. package/dist/components/atoms/icons/iconsSVGs/Large/PlaceholderIcon.d.ts +4 -0
  304. package/dist/components/atoms/icons/iconsSVGs/Large/PlaceholderIcon.js +16 -0
  305. package/dist/components/atoms/icons/iconsSVGs/Large/Profile.d.ts +6 -0
  306. package/dist/components/atoms/icons/iconsSVGs/Large/Profile.js +24 -0
  307. package/dist/components/atoms/icons/iconsSVGs/Large/Restore.d.ts +4 -0
  308. package/dist/components/atoms/icons/iconsSVGs/Large/Restore.js +23 -0
  309. package/dist/components/atoms/icons/iconsSVGs/Large/Send.d.ts +4 -0
  310. package/dist/components/atoms/icons/iconsSVGs/Large/Send.js +21 -0
  311. package/dist/components/atoms/icons/iconsSVGs/Large/Settings.d.ts +4 -0
  312. package/dist/components/atoms/icons/iconsSVGs/Large/Settings.js +33 -0
  313. package/dist/components/atoms/icons/iconsSVGs/Large/Shifts.d.ts +4 -0
  314. package/dist/components/atoms/icons/iconsSVGs/Large/Shifts.js +23 -0
  315. package/dist/components/atoms/icons/iconsSVGs/Large/Sidepeak.d.ts +4 -0
  316. package/dist/components/atoms/icons/iconsSVGs/Large/Sidepeak.js +5 -0
  317. package/dist/components/atoms/icons/iconsSVGs/Large/Sort.d.ts +4 -0
  318. package/dist/components/atoms/icons/iconsSVGs/Large/Sort.js +23 -0
  319. package/dist/components/atoms/icons/iconsSVGs/Large/Subtract.d.ts +4 -0
  320. package/dist/components/atoms/icons/iconsSVGs/Large/Subtract.js +21 -0
  321. package/dist/components/atoms/icons/iconsSVGs/Large/Summary.d.ts +4 -0
  322. package/dist/components/atoms/icons/iconsSVGs/Large/Summary.js +23 -0
  323. package/dist/components/atoms/icons/iconsSVGs/Large/Support.d.ts +4 -0
  324. package/dist/components/atoms/icons/iconsSVGs/Large/Support.js +24 -0
  325. package/dist/components/atoms/icons/iconsSVGs/Large/SwitchToClassic.d.ts +4 -0
  326. package/dist/components/atoms/icons/iconsSVGs/Large/SwitchToClassic.js +23 -0
  327. package/dist/components/atoms/icons/iconsSVGs/Large/Tick.d.ts +4 -0
  328. package/dist/components/atoms/icons/iconsSVGs/Large/Tick.js +23 -0
  329. package/dist/components/atoms/icons/iconsSVGs/Large/Timer.d.ts +4 -0
  330. package/dist/components/atoms/icons/iconsSVGs/Large/Timer.js +23 -0
  331. package/dist/components/atoms/icons/iconsSVGs/Large/Trash.d.ts +4 -0
  332. package/dist/components/atoms/icons/iconsSVGs/Large/Trash.js +23 -0
  333. package/dist/components/atoms/icons/iconsSVGs/Large/Undo.d.ts +4 -0
  334. package/dist/components/atoms/icons/iconsSVGs/Large/Undo.js +23 -0
  335. package/dist/components/atoms/icons/iconsSVGs/Large/Verification.d.ts +4 -0
  336. package/dist/components/atoms/icons/iconsSVGs/Large/Verification.js +23 -0
  337. package/dist/components/atoms/icons/iconsSVGs/Large/index.d.ts +60 -0
  338. package/dist/components/atoms/icons/iconsSVGs/Large/index.js +118 -0
  339. package/dist/components/atoms/icons/iconsSVGs/Small/Add.d.ts +4 -0
  340. package/dist/components/atoms/icons/iconsSVGs/Small/Add.js +21 -0
  341. package/dist/components/atoms/icons/iconsSVGs/Small/Alert.d.ts +4 -0
  342. package/dist/components/atoms/icons/iconsSVGs/Small/Alert.js +23 -0
  343. package/dist/components/atoms/icons/iconsSVGs/Small/ArrowRight.d.ts +4 -0
  344. package/dist/components/atoms/icons/iconsSVGs/Small/ArrowRight.js +21 -0
  345. package/dist/components/atoms/icons/iconsSVGs/Small/ArrowUp.d.ts +4 -0
  346. package/dist/components/atoms/icons/iconsSVGs/Small/ArrowUp.js +21 -0
  347. package/dist/components/atoms/icons/iconsSVGs/Small/Ascending.d.ts +4 -0
  348. package/dist/components/atoms/icons/iconsSVGs/Small/Ascending.js +23 -0
  349. package/dist/components/atoms/icons/iconsSVGs/Small/Calendar.d.ts +4 -0
  350. package/dist/components/atoms/icons/iconsSVGs/Small/Calendar.js +23 -0
  351. package/dist/components/atoms/icons/iconsSVGs/Small/CaretDown.d.ts +4 -0
  352. package/dist/components/atoms/icons/iconsSVGs/Small/CaretDown.js +21 -0
  353. package/dist/components/atoms/icons/iconsSVGs/Small/CaretRight.d.ts +4 -0
  354. package/dist/components/atoms/icons/iconsSVGs/Small/CaretRight.js +21 -0
  355. package/dist/components/atoms/icons/iconsSVGs/Small/CheckIn.d.ts +4 -0
  356. package/dist/components/atoms/icons/iconsSVGs/Small/CheckIn.js +23 -0
  357. package/dist/components/atoms/icons/iconsSVGs/Small/CheckInCircle.d.ts +4 -0
  358. package/dist/components/atoms/icons/iconsSVGs/Small/CheckInCircle.js +23 -0
  359. package/dist/components/atoms/icons/iconsSVGs/Small/CheckOut.d.ts +4 -0
  360. package/dist/components/atoms/icons/iconsSVGs/Small/CheckOut.js +23 -0
  361. package/dist/components/atoms/icons/iconsSVGs/Small/CheckedIn.d.ts +4 -0
  362. package/dist/components/atoms/icons/iconsSVGs/Small/CheckedIn.js +23 -0
  363. package/dist/components/atoms/icons/iconsSVGs/Small/CheckedOut.d.ts +4 -0
  364. package/dist/components/atoms/icons/iconsSVGs/Small/CheckedOut.js +23 -0
  365. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronDown.d.ts +4 -0
  366. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronDown.js +23 -0
  367. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronLeft.d.ts +4 -0
  368. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronLeft.js +23 -0
  369. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronRight.d.ts +4 -0
  370. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronRight.js +23 -0
  371. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronUp.d.ts +4 -0
  372. package/dist/components/atoms/icons/iconsSVGs/Small/ChevronUp.js +23 -0
  373. package/dist/components/atoms/icons/iconsSVGs/Small/Collapse.d.ts +4 -0
  374. package/dist/components/atoms/icons/iconsSVGs/Small/Collapse.js +22 -0
  375. package/dist/components/atoms/icons/iconsSVGs/Small/Copy.d.ts +4 -0
  376. package/dist/components/atoms/icons/iconsSVGs/Small/Copy.js +23 -0
  377. package/dist/components/atoms/icons/iconsSVGs/Small/Cross.d.ts +4 -0
  378. package/dist/components/atoms/icons/iconsSVGs/Small/Cross.js +21 -0
  379. package/dist/components/atoms/icons/iconsSVGs/Small/CrossInCircle.d.ts +4 -0
  380. package/dist/components/atoms/icons/iconsSVGs/Small/CrossInCircle.js +23 -0
  381. package/dist/components/atoms/icons/iconsSVGs/Small/Descending.d.ts +4 -0
  382. package/dist/components/atoms/icons/iconsSVGs/Small/Descending.js +23 -0
  383. package/dist/components/atoms/icons/iconsSVGs/Small/DistanceSmall.d.ts +4 -0
  384. package/dist/components/atoms/icons/iconsSVGs/Small/DistanceSmall.js +23 -0
  385. package/dist/components/atoms/icons/iconsSVGs/Small/Empty.d.ts +4 -0
  386. package/dist/components/atoms/icons/iconsSVGs/Small/Empty.js +23 -0
  387. package/dist/components/atoms/icons/iconsSVGs/Small/Expand.d.ts +4 -0
  388. package/dist/components/atoms/icons/iconsSVGs/Small/Expand.js +22 -0
  389. package/dist/components/atoms/icons/iconsSVGs/Small/Incomplete.d.ts +4 -0
  390. package/dist/components/atoms/icons/iconsSVGs/Small/Incomplete.js +23 -0
  391. package/dist/components/atoms/icons/iconsSVGs/Small/Info.d.ts +4 -0
  392. package/dist/components/atoms/icons/iconsSVGs/Small/Info.js +13 -0
  393. package/dist/components/atoms/icons/iconsSVGs/Small/KebabMenu.d.ts +4 -0
  394. package/dist/components/atoms/icons/iconsSVGs/Small/KebabMenu.js +23 -0
  395. package/dist/components/atoms/icons/iconsSVGs/Small/LocationPin.d.ts +4 -0
  396. package/dist/components/atoms/icons/iconsSVGs/Small/LocationPin.js +23 -0
  397. package/dist/components/atoms/icons/iconsSVGs/Small/MagnifyingGlass.d.ts +4 -0
  398. package/dist/components/atoms/icons/iconsSVGs/Small/MagnifyingGlass.js +23 -0
  399. package/dist/components/atoms/icons/iconsSVGs/Small/Notes.d.ts +4 -0
  400. package/dist/components/atoms/icons/iconsSVGs/Small/Notes.js +23 -0
  401. package/dist/components/atoms/icons/iconsSVGs/Small/OpenSeparately.d.ts +4 -0
  402. package/dist/components/atoms/icons/iconsSVGs/Small/OpenSeparately.js +23 -0
  403. package/dist/components/atoms/icons/iconsSVGs/Small/PlaceholderIcon.d.ts +4 -0
  404. package/dist/components/atoms/icons/iconsSVGs/Small/PlaceholderIcon.js +16 -0
  405. package/dist/components/atoms/icons/iconsSVGs/Small/Profile.d.ts +6 -0
  406. package/dist/components/atoms/icons/iconsSVGs/Small/Profile.js +24 -0
  407. package/dist/components/atoms/icons/iconsSVGs/Small/ReadStatus.d.ts +8 -0
  408. package/dist/components/atoms/icons/iconsSVGs/Small/ReadStatus.js +37 -0
  409. package/dist/components/atoms/icons/iconsSVGs/Small/Shield.d.ts +4 -0
  410. package/dist/components/atoms/icons/iconsSVGs/Small/Shield.js +23 -0
  411. package/dist/components/atoms/icons/iconsSVGs/Small/SidepeakSmall.d.ts +4 -0
  412. package/dist/components/atoms/icons/iconsSVGs/Small/SidepeakSmall.js +23 -0
  413. package/dist/components/atoms/icons/iconsSVGs/Small/Sort.d.ts +4 -0
  414. package/dist/components/atoms/icons/iconsSVGs/Small/Sort.js +23 -0
  415. package/dist/components/atoms/icons/iconsSVGs/Small/Success.d.ts +4 -0
  416. package/dist/components/atoms/icons/iconsSVGs/Small/Success.js +23 -0
  417. package/dist/components/atoms/icons/iconsSVGs/Small/Tick.d.ts +4 -0
  418. package/dist/components/atoms/icons/iconsSVGs/Small/Tick.js +23 -0
  419. package/dist/components/atoms/icons/iconsSVGs/Small/UnsavedChanges.d.ts +4 -0
  420. package/dist/components/atoms/icons/iconsSVGs/Small/UnsavedChanges.js +32 -0
  421. package/dist/components/atoms/icons/iconsSVGs/Small/Upload.d.ts +4 -0
  422. package/dist/components/atoms/icons/iconsSVGs/Small/Upload.js +23 -0
  423. package/dist/components/atoms/icons/iconsSVGs/Small/Waiting.d.ts +4 -0
  424. package/dist/components/atoms/icons/iconsSVGs/Small/Waiting.js +23 -0
  425. package/dist/components/atoms/icons/iconsSVGs/Small/Warning.d.ts +4 -0
  426. package/dist/components/atoms/icons/iconsSVGs/Small/Warning.js +23 -0
  427. package/dist/components/atoms/icons/iconsSVGs/Small/index.d.ts +46 -0
  428. package/dist/components/atoms/icons/iconsSVGs/Small/index.js +90 -0
  429. package/dist/components/atoms/icons/index.d.ts +4 -0
  430. package/dist/components/atoms/icons/index.js +6 -0
  431. package/dist/components/atoms/icons/styles.d.ts +3 -0
  432. package/dist/components/atoms/icons/styles.js +6 -0
  433. package/dist/components/atoms/message/index.d.ts +2 -0
  434. package/dist/components/atoms/message/index.js +4 -0
  435. package/dist/components/atoms/message/message.d.ts +37 -0
  436. package/dist/components/atoms/message/message.js +60 -0
  437. package/dist/components/atoms/message/message.stories.d.ts +7 -0
  438. package/dist/components/atoms/message/message.stories.js +20 -0
  439. package/dist/components/atoms/message/styles.d.ts +15 -0
  440. package/dist/components/atoms/message/styles.js +20 -0
  441. package/dist/components/atoms/navigation/navigation-item/index.d.ts +2 -0
  442. package/dist/components/atoms/navigation/navigation-item/index.js +4 -0
  443. package/dist/components/atoms/navigation/navigation-item/navigation-item.d.ts +29 -0
  444. package/dist/components/atoms/navigation/navigation-item/navigation-item.js +64 -0
  445. package/dist/components/atoms/navigation/navigation-item/styles.d.ts +2 -0
  446. package/dist/components/atoms/navigation/navigation-item/styles.js +5 -0
  447. package/dist/components/atoms/small-large-text/index.d.ts +1 -0
  448. package/dist/components/atoms/small-large-text/index.js +4 -0
  449. package/dist/components/atoms/small-large-text/small-large-text.d.ts +17 -0
  450. package/dist/components/atoms/small-large-text/small-large-text.js +35 -0
  451. package/dist/components/atoms/tab/Tab.stories.d.ts +7 -0
  452. package/dist/components/atoms/tab/Tab.stories.js +20 -0
  453. package/dist/components/atoms/tab/index.d.ts +2 -0
  454. package/dist/components/atoms/tab/index.js +4 -0
  455. package/dist/components/atoms/tab/styles.d.ts +4 -0
  456. package/dist/components/atoms/tab/styles.js +7 -0
  457. package/dist/components/atoms/tab/tab.d.ts +34 -0
  458. package/dist/components/atoms/tab/tab.js +44 -0
  459. package/dist/components/atoms/tooltip/index.d.ts +1 -0
  460. package/dist/components/atoms/tooltip/index.js +4 -0
  461. package/dist/components/atoms/tooltip/tooltip.d.ts +54 -0
  462. package/dist/components/atoms/tooltip/tooltip.js +38 -0
  463. package/dist/components/atoms/tooltip/tooltip.stories.d.ts +18 -0
  464. package/dist/components/atoms/tooltip/tooltip.stories.js +150 -0
  465. package/dist/components/molecules/alert/alert.d.ts +24 -0
  466. package/dist/components/molecules/alert/alert.js +78 -0
  467. package/dist/components/molecules/alert/index.d.ts +1 -0
  468. package/dist/components/molecules/alert/index.js +4 -0
  469. package/dist/components/molecules/button/Button.stories.d.ts +7 -0
  470. package/dist/components/molecules/button/Button.stories.js +20 -0
  471. package/dist/components/molecules/button/button.d.ts +53 -0
  472. package/dist/components/molecules/button/button.js +91 -0
  473. package/dist/components/molecules/button/index.d.ts +2 -0
  474. package/dist/components/molecules/button/index.js +4 -0
  475. package/dist/components/molecules/button/loading-spinner.d.ts +7 -0
  476. package/dist/components/molecules/button/loading-spinner.js +44 -0
  477. package/dist/components/molecules/button/styles.d.ts +7 -0
  478. package/dist/components/molecules/button/styles.js +93 -0
  479. package/dist/components/molecules/card-content/notes-and-history/NotesAndHistory.stories.d.ts +7 -0
  480. package/dist/components/molecules/card-content/notes-and-history/NotesAndHistory.stories.js +24 -0
  481. package/dist/components/molecules/card-content/notes-and-history/index.d.ts +2 -0
  482. package/dist/components/molecules/card-content/notes-and-history/index.js +4 -0
  483. package/dist/components/molecules/card-content/notes-and-history/notes-and-history.d.ts +15 -0
  484. package/dist/components/molecules/card-content/notes-and-history/notes-and-history.js +29 -0
  485. package/dist/components/molecules/collapsible-card/Collapsiblecard.stories.d.ts +7 -0
  486. package/dist/components/molecules/collapsible-card/Collapsiblecard.stories.js +20 -0
  487. package/dist/components/molecules/collapsible-card/collapsible-card.d.ts +44 -0
  488. package/dist/components/molecules/collapsible-card/collapsible-card.js +87 -0
  489. package/dist/components/molecules/collapsible-card/index.d.ts +2 -0
  490. package/dist/components/molecules/collapsible-card/index.js +4 -0
  491. package/dist/components/molecules/conversation/contact/coloring.d.ts +6 -0
  492. package/dist/components/molecules/conversation/contact/coloring.js +7 -0
  493. package/dist/components/molecules/conversation/contact/contact.d.ts +25 -0
  494. package/dist/components/molecules/conversation/contact/contact.js +56 -0
  495. package/dist/components/molecules/conversation/contact/index.d.ts +2 -0
  496. package/dist/components/molecules/conversation/contact/index.js +4 -0
  497. package/dist/components/molecules/conversation/contact/styles.d.ts +18 -0
  498. package/dist/components/molecules/conversation/contact/styles.js +16 -0
  499. package/dist/components/molecules/conversation/message-editor/MessageEditor.stories.d.ts +7 -0
  500. package/dist/components/molecules/conversation/message-editor/MessageEditor.stories.js +20 -0
  501. package/dist/components/molecules/conversation/message-editor/index.d.ts +2 -0
  502. package/dist/components/molecules/conversation/message-editor/index.js +4 -0
  503. package/dist/components/molecules/conversation/message-editor/message-editor.d.ts +17 -0
  504. package/dist/components/molecules/conversation/message-editor/message-editor.js +38 -0
  505. package/dist/components/molecules/conversation/message-editor/styles.d.ts +1 -0
  506. package/dist/components/molecules/conversation/message-editor/styles.js +4 -0
  507. package/dist/components/molecules/conversation/message-group-composer/MessageGroupComposer.stories.d.ts +7 -0
  508. package/dist/components/molecules/conversation/message-group-composer/MessageGroupComposer.stories.js +20 -0
  509. package/dist/components/molecules/conversation/message-group-composer/index.d.ts +2 -0
  510. package/dist/components/molecules/conversation/message-group-composer/index.js +4 -0
  511. package/dist/components/molecules/conversation/message-group-composer/message-group-composer.d.ts +9 -0
  512. package/dist/components/molecules/conversation/message-group-composer/message-group-composer.js +41 -0
  513. package/dist/components/molecules/conversation/message-group-composer/styles.d.ts +4 -0
  514. package/dist/components/molecules/conversation/message-group-composer/styles.js +7 -0
  515. package/dist/components/molecules/datatables/cell/Cell.stories.d.ts +7 -0
  516. package/dist/components/molecules/datatables/cell/Cell.stories.js +20 -0
  517. package/dist/components/molecules/datatables/cell/cell.d.ts +62 -0
  518. package/dist/components/molecules/datatables/cell/cell.js +51 -0
  519. package/dist/components/molecules/datatables/cell/index.d.ts +2 -0
  520. package/dist/components/molecules/datatables/cell/index.js +4 -0
  521. package/dist/components/molecules/datatables/cell/styles.d.ts +3 -0
  522. package/dist/components/molecules/datatables/cell/styles.js +12 -0
  523. package/dist/components/molecules/datatables/row/Row.stories.d.ts +7 -0
  524. package/dist/components/molecules/datatables/row/Row.stories.js +20 -0
  525. package/dist/components/molecules/datatables/row/index.d.ts +2 -0
  526. package/dist/components/molecules/datatables/row/index.js +4 -0
  527. package/dist/components/molecules/datatables/row/row.d.ts +26 -0
  528. package/dist/components/molecules/datatables/row/row.js +21 -0
  529. package/dist/components/molecules/datatables/row/styles.d.ts +1 -0
  530. package/dist/components/molecules/datatables/row/styles.js +4 -0
  531. package/dist/components/molecules/datatables/row-header/RowHeader.stories.d.ts +7 -0
  532. package/dist/components/molecules/datatables/row-header/RowHeader.stories.js +20 -0
  533. package/dist/components/molecules/datatables/row-header/index.d.ts +2 -0
  534. package/dist/components/molecules/datatables/row-header/index.js +4 -0
  535. package/dist/components/molecules/datatables/row-header/row-header.d.ts +48 -0
  536. package/dist/components/molecules/datatables/row-header/row-header.js +63 -0
  537. package/dist/components/molecules/datatables/row-header/styles.d.ts +3 -0
  538. package/dist/components/molecules/datatables/row-header/styles.js +6 -0
  539. package/dist/components/molecules/dataviz/donut-chart/DonutChart.stories.d.ts +7 -0
  540. package/dist/components/molecules/dataviz/donut-chart/DonutChart.stories.js +20 -0
  541. package/dist/components/molecules/dataviz/donut-chart/donut-chart.d.ts +15 -0
  542. package/dist/components/molecules/dataviz/donut-chart/donut-chart.js +5519 -0
  543. package/dist/components/molecules/dataviz/donut-chart/index.d.ts +2 -0
  544. package/dist/components/molecules/dataviz/donut-chart/index.js +4 -0
  545. package/dist/components/molecules/dataviz/donut-chart/styles.d.ts +11 -0
  546. package/dist/components/molecules/dataviz/donut-chart/styles.js +14 -0
  547. package/dist/components/molecules/dataviz/dot-matrix/DotMatrix.stories.d.ts +7 -0
  548. package/dist/components/molecules/dataviz/dot-matrix/DotMatrix.stories.js +20 -0
  549. package/dist/components/molecules/dataviz/dot-matrix/dot-matrix.d.ts +14 -0
  550. package/dist/components/molecules/dataviz/dot-matrix/dot-matrix.js +67 -0
  551. package/dist/components/molecules/dataviz/dot-matrix/index.d.ts +2 -0
  552. package/dist/components/molecules/dataviz/dot-matrix/index.js +4 -0
  553. package/dist/components/molecules/dataviz/dot-matrix/styles.d.ts +8 -0
  554. package/dist/components/molecules/dataviz/dot-matrix/styles.js +11 -0
  555. package/dist/components/molecules/dataviz/legend/index.d.ts +2 -0
  556. package/dist/components/molecules/dataviz/legend/index.js +4 -0
  557. package/dist/components/molecules/dataviz/legend/legend.d.ts +12 -0
  558. package/dist/components/molecules/dataviz/legend/legend.js +53 -0
  559. package/dist/components/molecules/dataviz/progress-bar/ProgressBar.stories.d.ts +13 -0
  560. package/dist/components/molecules/dataviz/progress-bar/ProgressBar.stories.js +88 -0
  561. package/dist/components/molecules/dataviz/progress-bar/index.d.ts +2 -0
  562. package/dist/components/molecules/dataviz/progress-bar/index.js +4 -0
  563. package/dist/components/molecules/dataviz/progress-bar/progress-bar.d.ts +34 -0
  564. package/dist/components/molecules/dataviz/progress-bar/progress-bar.js +48 -0
  565. package/dist/components/molecules/dataviz/progress-bar/styles.d.ts +5 -0
  566. package/dist/components/molecules/dataviz/progress-bar/styles.js +8 -0
  567. package/dist/components/molecules/dataviz/single-stacked-bar/SingleStackedBar.stories.d.ts +7 -0
  568. package/dist/components/molecules/dataviz/single-stacked-bar/SingleStackedBar.stories.js +20 -0
  569. package/dist/components/molecules/dataviz/single-stacked-bar/index.d.ts +2 -0
  570. package/dist/components/molecules/dataviz/single-stacked-bar/index.js +4 -0
  571. package/dist/components/molecules/dataviz/single-stacked-bar/single-stacked-bar.d.ts +15 -0
  572. package/dist/components/molecules/dataviz/single-stacked-bar/single-stacked-bar.js +81 -0
  573. package/dist/components/molecules/dialog/dialog.d.ts +25 -0
  574. package/dist/components/molecules/dialog/dialog.js +100 -0
  575. package/dist/components/molecules/dialog/index.d.ts +1 -0
  576. package/dist/components/molecules/dialog/index.js +4 -0
  577. package/dist/components/molecules/dialog/use-ui-element-size.d.ts +31 -0
  578. package/dist/components/molecules/dialog/use-ui-element-size.js +24 -0
  579. package/dist/components/molecules/drawer/Drawer.stories.d.ts +22 -0
  580. package/dist/components/molecules/drawer/Drawer.stories.js +383 -0
  581. package/dist/components/molecules/drawer/drawer.d.ts +66 -0
  582. package/dist/components/molecules/drawer/drawer.js +126 -0
  583. package/dist/components/molecules/drawer/index.d.ts +2 -0
  584. package/dist/components/molecules/drawer/index.js +4 -0
  585. package/dist/components/molecules/filter/checkbox/checkbox.d.ts +19 -0
  586. package/dist/components/molecules/filter/checkbox/checkbox.js +45 -0
  587. package/dist/components/molecules/filter/checkbox/index.d.ts +2 -0
  588. package/dist/components/molecules/filter/checkbox/index.js +4 -0
  589. package/dist/components/molecules/filter/context-search/context-search.d.ts +19 -0
  590. package/dist/components/molecules/filter/context-search/context-search.js +58 -0
  591. package/dist/components/molecules/filter/context-search/index.d.ts +2 -0
  592. package/dist/components/molecules/filter/context-search/index.js +4 -0
  593. package/dist/components/molecules/filter/date-range-selector/date-range-selector.d.ts +28 -0
  594. package/dist/components/molecules/filter/date-range-selector/date-range-selector.js +306 -0
  595. package/dist/components/molecules/filter/date-range-selector/index.d.ts +2 -0
  596. package/dist/components/molecules/filter/date-range-selector/index.js +4 -0
  597. package/dist/components/molecules/filter/date-selector/DateSelector.stories.d.ts +7 -0
  598. package/dist/components/molecules/filter/date-selector/DateSelector.stories.js +20 -0
  599. package/dist/components/molecules/filter/date-selector/date-selector.d.ts +31 -0
  600. package/dist/components/molecules/filter/date-selector/date-selector.js +243 -0
  601. package/dist/components/molecules/filter/date-selector/index.d.ts +2 -0
  602. package/dist/components/molecules/filter/date-selector/index.js +4 -0
  603. package/dist/components/molecules/filter/dropdown-selector/dropdown-selector.d.ts +23 -0
  604. package/dist/components/molecules/filter/dropdown-selector/dropdown-selector.js +172 -0
  605. package/dist/components/molecules/filter/dropdown-selector/index.d.ts +2 -0
  606. package/dist/components/molecules/filter/dropdown-selector/index.js +4 -0
  607. package/dist/components/molecules/filter/dropdown-selector/styles.d.ts +13 -0
  608. package/dist/components/molecules/filter/dropdown-selector/styles.js +22 -0
  609. package/dist/components/molecules/filter/range-selector/RangeSelector.stories.d.ts +7 -0
  610. package/dist/components/molecules/filter/range-selector/RangeSelector.stories.js +20 -0
  611. package/dist/components/molecules/filter/range-selector/index.d.ts +2 -0
  612. package/dist/components/molecules/filter/range-selector/index.js +4 -0
  613. package/dist/components/molecules/filter/range-selector/range-selector.d.ts +33 -0
  614. package/dist/components/molecules/filter/range-selector/range-selector.js +630 -0
  615. package/dist/components/molecules/filter/range-selector/styles.d.ts +17 -0
  616. package/dist/components/molecules/filter/range-selector/styles.js +25 -0
  617. package/dist/components/molecules/filter/segmented-control/index.d.ts +2 -0
  618. package/dist/components/molecules/filter/segmented-control/index.js +4 -0
  619. package/dist/components/molecules/filter/segmented-control/segmented-control.d.ts +23 -0
  620. package/dist/components/molecules/filter/segmented-control/segmented-control.js +43 -0
  621. package/dist/components/molecules/filter/segmented-control/styles.d.ts +7 -0
  622. package/dist/components/molecules/filter/segmented-control/styles.js +11 -0
  623. package/dist/components/molecules/form/radiogroup/index.d.ts +2 -0
  624. package/dist/components/molecules/form/radiogroup/index.js +4 -0
  625. package/dist/components/molecules/form/radiogroup/radiogroup.d.ts +66 -0
  626. package/dist/components/molecules/form/radiogroup/radiogroup.js +80 -0
  627. package/dist/components/molecules/form/radiogroup/radiogroup.stories.d.ts +12 -0
  628. package/dist/components/molecules/form/radiogroup/radiogroup.stories.js +95 -0
  629. package/dist/components/molecules/link/Link.stories.d.ts +7 -0
  630. package/dist/components/molecules/link/Link.stories.js +20 -0
  631. package/dist/components/molecules/link/index.d.ts +2 -0
  632. package/dist/components/molecules/link/index.js +4 -0
  633. package/dist/components/molecules/link/link.d.ts +34 -0
  634. package/dist/components/molecules/link/link.js +78 -0
  635. package/dist/components/molecules/link/styles.d.ts +4 -0
  636. package/dist/components/molecules/link/styles.js +7 -0
  637. package/dist/components/molecules/navigation/context-menu/context-menu.d.ts +13 -0
  638. package/dist/components/molecules/navigation/context-menu/context-menu.js +28 -0
  639. package/dist/components/molecules/navigation/header/Header.stories.d.ts +7 -0
  640. package/dist/components/molecules/navigation/header/Header.stories.js +20 -0
  641. package/dist/components/molecules/navigation/header/header.d.ts +37 -0
  642. package/dist/components/molecules/navigation/header/header.js +38 -0
  643. package/dist/components/molecules/navigation/header/index.d.ts +2 -0
  644. package/dist/components/molecules/navigation/header/index.js +4 -0
  645. package/dist/components/molecules/navigation/header/styles.d.ts +6 -0
  646. package/dist/components/molecules/navigation/header/styles.js +9 -0
  647. package/dist/components/molecules/navigation/menubar/index.d.ts +2 -0
  648. package/dist/components/molecules/navigation/menubar/index.js +4 -0
  649. package/dist/components/molecules/navigation/menubar/menubar.d.ts +27 -0
  650. package/dist/components/molecules/navigation/menubar/menubar.js +27 -0
  651. package/dist/components/molecules/navigation/sidebar/Sidebar.stories.d.ts +7 -0
  652. package/dist/components/molecules/navigation/sidebar/Sidebar.stories.js +20 -0
  653. package/dist/components/molecules/navigation/sidebar/index.d.ts +2 -0
  654. package/dist/components/molecules/navigation/sidebar/index.js +4 -0
  655. package/dist/components/molecules/navigation/sidebar/sidebar.d.ts +33 -0
  656. package/dist/components/molecules/navigation/sidebar/sidebar.js +53 -0
  657. package/dist/components/molecules/notifications/content/Content.stories.d.ts +7 -0
  658. package/dist/components/molecules/notifications/content/Content.stories.js +20 -0
  659. package/dist/components/molecules/notifications/content/coloring.d.ts +7 -0
  660. package/dist/components/molecules/notifications/content/coloring.js +9 -0
  661. package/dist/components/molecules/notifications/content/content.d.ts +29 -0
  662. package/dist/components/molecules/notifications/content/content.js +51 -0
  663. package/dist/components/molecules/notifications/content/index.d.ts +2 -0
  664. package/dist/components/molecules/notifications/content/index.js +4 -0
  665. package/dist/components/molecules/snackbar/Snackbar.stories.d.ts +16 -0
  666. package/dist/components/molecules/snackbar/Snackbar.stories.js +170 -0
  667. package/dist/components/molecules/snackbar/index.d.ts +2 -0
  668. package/dist/components/molecules/snackbar/index.js +4 -0
  669. package/dist/components/molecules/snackbar/snackbar.d.ts +41 -0
  670. package/dist/components/molecules/snackbar/snackbar.js +31 -0
  671. package/dist/components/molecules/snackbar/styles.d.ts +5 -0
  672. package/dist/components/molecules/snackbar/styles.js +9 -0
  673. package/dist/components/molecules/tab-group/index.d.ts +3 -0
  674. package/dist/components/molecules/tab-group/index.js +4 -0
  675. package/dist/components/molecules/tab-group/styles.d.ts +3 -0
  676. package/dist/components/molecules/tab-group/styles.js +6 -0
  677. package/dist/components/molecules/tab-group/tab-group.d.ts +19 -0
  678. package/dist/components/molecules/tab-group/tab-group.js +23 -0
  679. package/dist/components/molecules/tab-group/tabgroup.stories.d.ts +12 -0
  680. package/dist/components/molecules/tab-group/tabgroup.stories.js +285 -0
  681. package/dist/components/styles/colors/colormap.d.ts +277 -0
  682. package/dist/components/styles/colors/colormap.js +279 -0
  683. package/dist/components/styles/colors/colors.d.ts +1 -0
  684. package/dist/components/styles/colors/colors.js +89 -0
  685. package/dist/components/styles/colors/index.d.ts +2 -0
  686. package/dist/components/styles/colors/index.js +26 -0
  687. package/dist/components/styles/dashedBorder/DashedLineSVG.d.ts +1 -0
  688. package/dist/components/styles/dashedBorder/DashedLineSVG.js +17 -0
  689. package/dist/components/styles/dashedBorder/index.d.ts +1 -0
  690. package/dist/components/styles/dashedBorder/index.js +4 -0
  691. package/dist/components/styles/defaults/defaults.d.ts +65 -0
  692. package/dist/components/styles/defaults/defaults.js +72 -0
  693. package/dist/components/styles/defaults/index.d.ts +1 -0
  694. package/dist/components/styles/defaults/index.js +9 -0
  695. package/dist/components/styles/tailwind-config/index.d.ts +3 -0
  696. package/dist/components/styles/tailwind-config/index.js +109 -0
  697. package/dist/components/styles/tool-tip/styles.d.ts +2 -0
  698. package/dist/components/styles/tool-tip/styles.js +5 -0
  699. package/dist/components/styles/typography/index.d.ts +3 -0
  700. package/dist/components/styles/typography/index.js +10 -0
  701. package/dist/components/styles/typography/style.d.ts +50 -0
  702. package/dist/components/styles/typography/style.js +48 -0
  703. package/dist/components/styles/typography/typography.d.ts +413 -0
  704. package/dist/components/styles/typography/typography.js +59 -0
  705. package/dist/constants-BfMb81ht.js +8 -0
  706. package/dist/format-BwmhcciO.js +1224 -0
  707. package/dist/hooks/use-sticky-z-index.d.ts +31 -0
  708. package/dist/hooks/use-sticky-z-index.js +37 -0
  709. package/dist/index-BKdkX0lZ.js +924 -0
  710. package/dist/index-BZPx6jYI.js +8 -0
  711. package/dist/index-C0ZrzaoZ.js +238 -0
  712. package/dist/index-CYyrKZeH.js +3716 -0
  713. package/dist/index-CnWyMXBX.js +824 -0
  714. package/dist/index-DNpMaKvH.js +347 -0
  715. package/dist/index-DfdAzObv.js +24167 -0
  716. package/dist/index-DotfMcM0.js +21051 -0
  717. package/dist/index-DrfOymtc.js +237 -0
  718. package/dist/index-OIdMhwsO.js +53 -0
  719. package/dist/index-fN7hCOo3.js +42 -0
  720. package/dist/index-rKs9bXHr.js +6 -0
  721. package/dist/isBefore-D0yKF9R5.js +8 -0
  722. package/dist/isToday-DmBTkQMq.js +1606 -0
  723. package/dist/isWithinInterval-BTUruC3j.js +11 -0
  724. package/dist/lib/utils.d.ts +3 -0
  725. package/dist/lib/utils.js +20 -0
  726. package/dist/lodash-BRbpQ7iy.js +3676 -0
  727. package/dist/main.d.ts +102 -0
  728. package/dist/main.js +166 -0
  729. package/dist/purify.es-eYFoHPwR.js +528 -0
  730. package/dist/react-spring_web.modern-BLL8Qmtg.js +2345 -0
  731. package/dist/set-CXVt2sL3.js +20 -0
  732. package/dist/snackbar-BaF8Ts3S.js +505 -0
  733. package/dist/startOfToday-BPMZZniU.js +7 -0
  734. package/dist/startOfWeek-DBvLd9He.js +23 -0
  735. package/dist/toDate-DF9e2eS8.js +7 -0
  736. package/package.json +93 -0
@@ -0,0 +1,100 @@
1
+ import { jsx as r, jsxs as e } from "react/jsx-runtime";
2
+ import { R as w, P as C, O as H, C as $, T as I, D as _ } from "../../../index-C0ZrzaoZ.js";
3
+ import "../../styles/tailwind-config/index.js";
4
+ import { Typography as j } from "../../styles/typography/typography.js";
5
+ import "../../styles/colors/colors.js";
6
+ import "../../styles/colors/colormap.js";
7
+ import { t as c } from "../../../bundle-mjs-CAy1p0fn.js";
8
+ import { Icons as R } from "../../atoms/icons/icons.js";
9
+ import "../../atoms/icons/iconsSVGs/Large/Profile.js";
10
+ import "../../atoms/icons/iconsSVGs/Small/Profile.js";
11
+ import "../../../index-fN7hCOo3.js";
12
+ import "react";
13
+ import "../../atoms/form/dateselect/dateselect.js";
14
+ import "../../atoms/form/time-picker/time-picker.js";
15
+ import "../../atoms/form/dropdown/dropdown.js";
16
+ import "../filter/dropdown-selector/styles.js";
17
+ import "../../atoms/form/dropdown-search/dropdown-search.js";
18
+ import "../../../index-CYyrKZeH.js";
19
+ import "../../atoms/form/textfield/textfield.js";
20
+ import "../../atoms/form/stepper/stepper.js";
21
+ import "../../atoms/form/textarea/textarea.js";
22
+ import "../../atoms/form/timeselect/timeselect.js";
23
+ import { Button as d } from "../button/button.js";
24
+ import "../datatables/cell/cell.js";
25
+ import "../dataviz/donut-chart/donut-chart.js";
26
+ import "../../../react-spring_web.modern-BLL8Qmtg.js";
27
+ import "../form/radiogroup/radiogroup.js";
28
+ import "../../../card-Cc2Qkiqr.js";
29
+ import { useUIElementSize as n } from "./use-ui-element-size.js";
30
+ function mr({
31
+ children: f,
32
+ width: h,
33
+ open: x,
34
+ title: m,
35
+ subTitle: a,
36
+ cancelButtonText: u = "Cancel",
37
+ setClose: t,
38
+ actionButtons: l,
39
+ hasPadding: g = !0,
40
+ hasActionButtons: o = !0,
41
+ hasBottomBorder: b = !1
42
+ }) {
43
+ const { ref: v, height: s } = n(), { ref: y, height: N } = n(), i = 15;
44
+ return /* @__PURE__ */ r(w, { open: x, onOpenChange: t, children: /* @__PURE__ */ e(C, { children: [
45
+ /* @__PURE__ */ r(H, { className: "fixed inset-0 bg-surface-subduedInverted bg-opacity-50 " }),
46
+ /* @__PURE__ */ e(
47
+ $,
48
+ {
49
+ className: "fixed top-1/2 left-1/2 max-w-full transform -translate-x-1/2 -translate-y-1/2 rounded-xl bg-surface-default shadow-[0rem_0rem_1rem_0rem_#B0B0B0] focus:outline-none",
50
+ style: { width: h, maxHeight: `calc(100vh - ${i}rem)` },
51
+ children: [
52
+ /* @__PURE__ */ e(I, { className: "p-xl border-b border-bcolor-subdued", ref: v, children: [
53
+ /* @__PURE__ */ e("div", { className: "flex items-start justify-between gap-xxl ", children: [
54
+ /* @__PURE__ */ r(j, { swStyle: 8, children: m }),
55
+ /* @__PURE__ */ r(R, { button: !0, icon: "Cross", handleClick: t })
56
+ ] }),
57
+ a && /* @__PURE__ */ r("div", { children: a })
58
+ ] }),
59
+ /* @__PURE__ */ r(_, { className: "sr-only", children: m }),
60
+ /* @__PURE__ */ e("div", { children: [
61
+ /* @__PURE__ */ r(
62
+ "div",
63
+ {
64
+ style: {
65
+ // Calculate max height based on viewport height minus spacing and measured header/footer heights
66
+ maxHeight: o ? `calc(100vh - ${i}rem - ${s}px - ${N}px)` : `calc(100vh - ${i}rem - ${s}px)`
67
+ },
68
+ className: c("overflow-auto", g && "p-xl", !o && "rounded-b-xl"),
69
+ children: f
70
+ }
71
+ ),
72
+ o && /* @__PURE__ */ e(
73
+ "div",
74
+ {
75
+ ref: y,
76
+ className: c("flex justify-between p-xl", b && "border-t border-bcolor-subdued"),
77
+ children: [
78
+ /* @__PURE__ */ r(
79
+ d,
80
+ {
81
+ text: u,
82
+ size: "large",
83
+ variant: "tertiary",
84
+ color: "affirmative",
85
+ onClick: t
86
+ }
87
+ ),
88
+ l && /* @__PURE__ */ r("div", { className: "flex gap-xl", children: l.map((p) => /* @__PURE__ */ r(d, { size: "large", ...p }, p.text)) })
89
+ ]
90
+ }
91
+ )
92
+ ] })
93
+ ]
94
+ }
95
+ )
96
+ ] }) });
97
+ }
98
+ export {
99
+ mr as Dialog
100
+ };
@@ -0,0 +1 @@
1
+ export * from './dialog';
@@ -0,0 +1,4 @@
1
+ import { Dialog as a } from "./dialog.js";
2
+ export {
3
+ a as Dialog
4
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Custom hook that tracks the size (width and height) of a DOM element.
3
+ *
4
+ * This hook uses ResizeObserver to efficiently monitor size changes of the referenced element
5
+ * without relying on window resize events. It's useful for responsive layouts, dynamic sizing,
6
+ * or when you need to know the exact dimensions of a component.
7
+ *
8
+ * @returns {Object} An object containing:
9
+ * - ref: React ref to attach to the target DOM element
10
+ * - width: Current width of the element in pixels
11
+ * - height: Current height of the element in pixels
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * const MyComponent = () => {
16
+ * const { ref, width, height } = useUIElementSize()
17
+ *
18
+ * return (
19
+ * <div ref={ref}>
20
+ * <p>Width: {width}px</p>
21
+ * <p>Height: {height}px</p>
22
+ * </div>
23
+ * )
24
+ * }
25
+ * ```
26
+ */
27
+ export declare const useUIElementSize: () => {
28
+ height: number;
29
+ width: number;
30
+ ref: import('react').RefObject<HTMLDivElement>;
31
+ };
@@ -0,0 +1,24 @@
1
+ import { useRef as f, useState as r, useEffect as s } from "react";
2
+ const d = () => {
3
+ const e = f(null), [n, u] = r(!1), [i, o] = r({
4
+ height: 0,
5
+ width: 0
6
+ });
7
+ return s(() => {
8
+ if (!e.current) return;
9
+ const c = () => {
10
+ e.current && o({
11
+ height: e.current.offsetHeight,
12
+ width: e.current.offsetWidth
13
+ });
14
+ }, t = new ResizeObserver(c);
15
+ return t.observe(e.current), () => {
16
+ t.disconnect();
17
+ };
18
+ }, [n]), s(() => {
19
+ u(!0);
20
+ }, []), { ref: e, ...i };
21
+ };
22
+ export {
23
+ d as useUIElementSize
24
+ };
@@ -0,0 +1,22 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Drawer } from './drawer';
3
+
4
+ declare const meta: Meta<typeof Drawer>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Basic: Story;
8
+ export declare const DynamicWidth: Story;
9
+ export declare const FullFeatured: Story;
10
+ export declare const DelayedWidthChange: Story;
11
+ export declare const NoOverlay: Story;
12
+ export declare const SlowTransition: Story;
13
+ export declare const PercentageWidth: Story;
14
+ export declare const LargeWidth: Story;
15
+ export declare const WithTitleOnly: Story;
16
+ export declare const WithSubheading: Story;
17
+ export declare const WithMetadata: Story;
18
+ export declare const WithActionBox: Story;
19
+ export declare const WithCallToAction: Story;
20
+ export declare const LongContent: Story;
21
+ export declare const ScrollBehavior: Story;
22
+ export declare const DisabledScroll: Story;
@@ -0,0 +1,383 @@
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
+ import { useState as c } from "react";
3
+ import { Button as s } from "../button/button.js";
4
+ import { Icons as m } from "../../atoms/icons/icons.js";
5
+ import "../../atoms/icons/iconsSVGs/Large/Profile.js";
6
+ import "../../atoms/icons/iconsSVGs/Small/Profile.js";
7
+ import { Typography as h } from "../../styles/typography/typography.js";
8
+ import { Drawer as p } from "./drawer.js";
9
+ const k = {
10
+ title: "@spotwork-ui/molecules/Drawer",
11
+ component: p,
12
+ parameters: {
13
+ layout: "fullscreen"
14
+ },
15
+ tags: ["autodocs"],
16
+ argTypes: {
17
+ open: {
18
+ control: "boolean",
19
+ description: "Controls if the drawer is open or closed"
20
+ },
21
+ width: {
22
+ control: "text",
23
+ description: "Width of the drawer (can be px, %, rem, etc.)"
24
+ },
25
+ transitionDuration: {
26
+ control: { type: "number", min: 100, max: 2e3, step: 100 },
27
+ description: "Duration of the transition animation in milliseconds"
28
+ },
29
+ hasOverlayBg: {
30
+ control: "boolean",
31
+ description: "Whether to show a background overlay"
32
+ },
33
+ enableWidthTransition: {
34
+ control: "boolean",
35
+ description: "Enable smooth width transitions using useSpring"
36
+ },
37
+ preserveScrollPosition: {
38
+ control: "boolean",
39
+ description: "Preserve scroll position when drawer reopens"
40
+ },
41
+ scrollBehavior: {
42
+ control: { type: "select" },
43
+ options: ["auto", "smooth"],
44
+ description: "Scroll behavior for the content area"
45
+ },
46
+ enableScroll: {
47
+ control: "boolean",
48
+ description: "Enable or disable scrolling in the content area"
49
+ }
50
+ }
51
+ }, d = ({ args: t }) => {
52
+ const [a, r] = c(!1);
53
+ return /* @__PURE__ */ n("div", { className: "p-4", children: [
54
+ /* @__PURE__ */ e(s, { text: "Open Drawer", onClick: () => r(!0) }),
55
+ /* @__PURE__ */ e(p, { ...t, width: t.width || "400px", open: a, setOpen: r, children: /* @__PURE__ */ n("div", { className: "p-4", children: [
56
+ /* @__PURE__ */ e(h, { swStyle: 6, children: "Drawer Content" }),
57
+ /* @__PURE__ */ e("p", { className: "mt-2", children: "This is the main content area of the drawer." })
58
+ ] }) })
59
+ ] });
60
+ }, v = ({ args: t }) => {
61
+ const [a, r] = c(!1), [i, o] = c("400px"), l = () => {
62
+ o(i === "400px" ? "600px" : "400px");
63
+ };
64
+ return /* @__PURE__ */ n("div", { className: "p-4", children: [
65
+ /* @__PURE__ */ n("div", { className: "flex gap-2 mb-4", children: [
66
+ /* @__PURE__ */ e(s, { text: "Open Drawer", onClick: () => r(!0) }),
67
+ /* @__PURE__ */ e(s, { text: `Toggle Width (${i})`, onClick: l, variant: "secondary" })
68
+ ] }),
69
+ /* @__PURE__ */ e(p, { ...t, open: a, setOpen: r, width: i, children: /* @__PURE__ */ n("div", { className: "p-4", children: [
70
+ /* @__PURE__ */ e(h, { swStyle: 6, children: "Dynamic Width Drawer" }),
71
+ /* @__PURE__ */ n("p", { className: "mt-2", children: [
72
+ "Current width: ",
73
+ i
74
+ ] }),
75
+ /* @__PURE__ */ e("p", { className: "mt-2", children: "This drawer demonstrates smooth width transitions." })
76
+ ] }) })
77
+ ] });
78
+ }, b = ({ args: t }) => {
79
+ const [a, r] = c(!1), i = /* @__PURE__ */ n("div", { className: "flex items-center gap-2", children: [
80
+ /* @__PURE__ */ e(m, { icon: "Profile" }),
81
+ /* @__PURE__ */ e("span", { children: "John Doe" }),
82
+ /* @__PURE__ */ e("span", { className: "text-subdued", children: "•" }),
83
+ /* @__PURE__ */ e("span", { children: "Last updated 2 hours ago" })
84
+ ] }), o = /* @__PURE__ */ n("div", { className: "flex gap-2", children: [
85
+ /* @__PURE__ */ e(m, { icon: "Edit", button: !0 }),
86
+ /* @__PURE__ */ e(m, { icon: "CopyLarge", button: !0 }),
87
+ /* @__PURE__ */ e(m, { icon: "KebabMenu", button: !0 })
88
+ ] });
89
+ return /* @__PURE__ */ n("div", { className: "p-4", children: [
90
+ /* @__PURE__ */ e(s, { text: "Open Full Featured Drawer", onClick: () => r(!0) }),
91
+ /* @__PURE__ */ e(
92
+ p,
93
+ {
94
+ ...t,
95
+ width: t.width || "500px",
96
+ open: a,
97
+ setOpen: r,
98
+ title: "Project Details",
99
+ subheading: "Manage your project settings and configurations",
100
+ metadata: i,
101
+ actionBox: o,
102
+ buttonProps: {
103
+ text: "Save Changes",
104
+ onClick: () => console.log("Save clicked")
105
+ },
106
+ children: /* @__PURE__ */ n("div", { className: "p-4 space-y-4", children: [
107
+ /* @__PURE__ */ n("div", { children: [
108
+ /* @__PURE__ */ e(h, { swStyle: 6, children: "Project Information" }),
109
+ /* @__PURE__ */ e("p", { className: "mt-2 text-subdued", children: "This is a comprehensive example showing all drawer features including title, subheading, metadata, action buttons, and main content area." })
110
+ ] }),
111
+ /* @__PURE__ */ n("div", { className: "border-t pt-4", children: [
112
+ /* @__PURE__ */ e(h, { swStyle: 6, children: "Settings" }),
113
+ /* @__PURE__ */ n("div", { className: "mt-2 space-y-2", children: [
114
+ /* @__PURE__ */ n("div", { className: "flex justify-between", children: [
115
+ /* @__PURE__ */ e("span", { children: "Auto-save" }),
116
+ /* @__PURE__ */ e("span", { className: "text-subdued", children: "Enabled" })
117
+ ] }),
118
+ /* @__PURE__ */ n("div", { className: "flex justify-between", children: [
119
+ /* @__PURE__ */ e("span", { children: "Notifications" }),
120
+ /* @__PURE__ */ e("span", { className: "text-subdued", children: "Disabled" })
121
+ ] }),
122
+ /* @__PURE__ */ n("div", { className: "flex justify-between", children: [
123
+ /* @__PURE__ */ e("span", { children: "Theme" }),
124
+ /* @__PURE__ */ e("span", { className: "text-subdued", children: "Light" })
125
+ ] })
126
+ ] })
127
+ ] })
128
+ ] })
129
+ }
130
+ )
131
+ ] });
132
+ }, y = ({ args: t }) => {
133
+ const [a, r] = c(!1), [i, o] = c("300px"), [l, g] = c(!1);
134
+ return console.log(i, "currentWidth"), /* @__PURE__ */ n("div", { className: "p-4", children: [
135
+ /* @__PURE__ */ e("div", { className: "flex gap-2 mb-4", children: /* @__PURE__ */ e(s, { text: "Start Width Animation", onClick: () => {
136
+ r(!0), g(!0), setTimeout(() => {
137
+ o("500px");
138
+ }, 1e3), setTimeout(() => {
139
+ o("700px");
140
+ }, 3e3), setTimeout(() => {
141
+ o("400px");
142
+ }, 5e3), setTimeout(() => {
143
+ g(!1);
144
+ }, 7e3);
145
+ } }) }),
146
+ /* @__PURE__ */ e(p, { ...t, open: a, setOpen: r, width: i, children: /* @__PURE__ */ n("div", { className: "p-4", children: [
147
+ /* @__PURE__ */ e(h, { swStyle: 6, children: "Delayed Width Animation" }),
148
+ /* @__PURE__ */ n("p", { className: "mt-2", children: [
149
+ "Current width: ",
150
+ /* @__PURE__ */ e("strong", { children: i })
151
+ ] }),
152
+ /* @__PURE__ */ e("p", { className: "mt-2", children: "This drawer demonstrates smooth width transitions that occur automatically after delays." }),
153
+ /* @__PURE__ */ n("div", { className: "mt-4 p-3 bg-gray-50 rounded", children: [
154
+ /* @__PURE__ */ e(h, { swStyle: 6, children: "Animation Status:" }),
155
+ /* @__PURE__ */ e("p", { className: "mt-1 text-sm", children: l ? "🔄 Animating..." : "⏸️ Animation complete" })
156
+ ] })
157
+ ] }) })
158
+ ] });
159
+ }, I = {
160
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
161
+ args: {
162
+ width: "400px",
163
+ transitionDuration: 300,
164
+ hasOverlayBg: !0
165
+ }
166
+ }, P = {
167
+ render: (t) => /* @__PURE__ */ e(v, { args: t }),
168
+ args: {
169
+ transitionDuration: 500,
170
+ hasOverlayBg: !0,
171
+ enableWidthTransition: !0
172
+ }
173
+ }, L = {
174
+ render: (t) => /* @__PURE__ */ e(b, { args: t }),
175
+ args: {
176
+ width: "500px",
177
+ transitionDuration: 400,
178
+ hasOverlayBg: !0
179
+ }
180
+ }, j = {
181
+ render: (t) => /* @__PURE__ */ e(y, { args: t }),
182
+ args: {
183
+ transitionDuration: 600,
184
+ hasOverlayBg: !0,
185
+ enableWidthTransition: !0
186
+ }
187
+ }, F = {
188
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
189
+ args: {
190
+ width: "350px",
191
+ transitionDuration: 300,
192
+ hasOverlayBg: !1
193
+ }
194
+ }, E = {
195
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
196
+ args: {
197
+ width: "450px",
198
+ transitionDuration: 1e3,
199
+ hasOverlayBg: !0
200
+ }
201
+ }, q = {
202
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
203
+ args: {
204
+ width: "50%",
205
+ transitionDuration: 400,
206
+ hasOverlayBg: !0
207
+ }
208
+ }, $ = {
209
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
210
+ args: {
211
+ width: "800px",
212
+ transitionDuration: 400,
213
+ hasOverlayBg: !0
214
+ }
215
+ }, z = {
216
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
217
+ args: {
218
+ width: "400px",
219
+ title: "Simple Drawer",
220
+ transitionDuration: 300,
221
+ hasOverlayBg: !0
222
+ }
223
+ }, M = {
224
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
225
+ args: {
226
+ width: "400px",
227
+ title: "Settings",
228
+ subheading: "Configure your application preferences",
229
+ transitionDuration: 300,
230
+ hasOverlayBg: !0
231
+ }
232
+ }, U = {
233
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
234
+ args: {
235
+ width: "400px",
236
+ title: "User Profile",
237
+ metadata: /* @__PURE__ */ n("div", { className: "flex items-center gap-2", children: [
238
+ /* @__PURE__ */ e(m, { icon: "Profile" }),
239
+ /* @__PURE__ */ e("span", { children: "Active User" })
240
+ ] }),
241
+ transitionDuration: 300,
242
+ hasOverlayBg: !0
243
+ }
244
+ }, _ = {
245
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
246
+ args: {
247
+ width: "400px",
248
+ title: "Document Editor",
249
+ actionBox: /* @__PURE__ */ n("div", { className: "flex gap-2", children: [
250
+ /* @__PURE__ */ e(m, { icon: "CopyLarge", button: !0 }),
251
+ /* @__PURE__ */ e(m, { icon: "File", button: !0 })
252
+ ] }),
253
+ transitionDuration: 300,
254
+ hasOverlayBg: !0
255
+ }
256
+ }, G = {
257
+ render: (t) => /* @__PURE__ */ e(d, { args: t }),
258
+ args: {
259
+ width: "400px",
260
+ title: "Confirm Action",
261
+ metadata: "Are you sure you want to proceed?",
262
+ buttonProps: {
263
+ children: "Confirm",
264
+ variant: "primary",
265
+ onClick: () => console.log("Confirmed")
266
+ },
267
+ transitionDuration: 300,
268
+ hasOverlayBg: !0
269
+ }
270
+ }, x = ({ args: t }) => {
271
+ const [a, r] = c(!1), i = Array.from({ length: 50 }, (o, l) => /* @__PURE__ */ n("div", { className: "p-4 border-b border-gray-200", children: [
272
+ /* @__PURE__ */ n(h, { swStyle: 6, children: [
273
+ "Section ",
274
+ l + 1
275
+ ] }),
276
+ /* @__PURE__ */ e("p", { className: "mt-2", children: "This is a long content section to demonstrate scrolling behavior. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." }),
277
+ /* @__PURE__ */ n("div", { className: "mt-2 flex gap-2", children: [
278
+ /* @__PURE__ */ e(s, { text: "Action 1", variant: "secondary", size: "small" }),
279
+ /* @__PURE__ */ e(s, { text: "Action 2", variant: "secondary", size: "small" })
280
+ ] })
281
+ ] }, l));
282
+ return /* @__PURE__ */ n("div", { className: "p-4", children: [
283
+ /* @__PURE__ */ e(s, { text: "Open Drawer with Long Content", onClick: () => r(!0) }),
284
+ /* @__PURE__ */ e(p, { ...t, width: t.width || "500px", open: a, setOpen: r, children: /* @__PURE__ */ e("div", { className: "h-full", children: i }) })
285
+ ] });
286
+ }, J = {
287
+ render: (t) => /* @__PURE__ */ e(x, { args: t }),
288
+ args: {
289
+ width: "500px",
290
+ title: "Long Content Drawer",
291
+ subheading: "This drawer contains a lot of content to test scrolling",
292
+ transitionDuration: 300,
293
+ hasOverlayBg: !0,
294
+ preserveScrollPosition: !0,
295
+ scrollBehavior: "smooth"
296
+ }
297
+ }, f = ({ args: t }) => {
298
+ const [a, r] = c(!1), [i, o] = c("smooth"), l = Array.from({ length: 30 }, (g, u) => /* @__PURE__ */ n("div", { className: "p-4 border-b border-gray-200", children: [
299
+ /* @__PURE__ */ n(h, { swStyle: 6, children: [
300
+ "Section ",
301
+ u + 1
302
+ ] }),
303
+ /* @__PURE__ */ e("p", { className: "mt-2", children: "This section demonstrates different scroll behaviors. Try changing the scroll behavior and reopening the drawer." }),
304
+ /* @__PURE__ */ e("div", { className: "mt-2", children: /* @__PURE__ */ e(
305
+ s,
306
+ {
307
+ text: `Go to Section ${u + 10}`,
308
+ variant: "secondary",
309
+ size: "small",
310
+ onClick: () => {
311
+ const w = document.getElementById(`section-${u + 10}`);
312
+ w == null || w.scrollIntoView({ behavior: i });
313
+ }
314
+ }
315
+ ) })
316
+ ] }, u));
317
+ return /* @__PURE__ */ n("div", { className: "p-4", children: [
318
+ /* @__PURE__ */ n("div", { className: "flex gap-2 mb-4", children: [
319
+ /* @__PURE__ */ e(s, { text: "Open Drawer", onClick: () => r(!0) }),
320
+ /* @__PURE__ */ e(
321
+ s,
322
+ {
323
+ text: `Scroll: ${i}`,
324
+ variant: "secondary",
325
+ onClick: () => o(i === "smooth" ? "auto" : "smooth")
326
+ }
327
+ )
328
+ ] }),
329
+ /* @__PURE__ */ e(p, { ...t, width: t.width || "500px", open: a, setOpen: r, scrollBehavior: i, children: /* @__PURE__ */ e("div", { className: "h-full", children: l }) })
330
+ ] });
331
+ }, K = {
332
+ render: (t) => /* @__PURE__ */ e(f, { args: t }),
333
+ args: {
334
+ width: "500px",
335
+ title: "Scroll Behavior Demo",
336
+ subheading: "Test different scroll behaviors and position preservation",
337
+ transitionDuration: 300,
338
+ hasOverlayBg: !0,
339
+ preserveScrollPosition: !0,
340
+ enableScroll: !0
341
+ }
342
+ }, D = ({ args: t }) => {
343
+ const [a, r] = c(!1), i = Array.from({ length: 20 }, (o, l) => /* @__PURE__ */ n("div", { className: "p-4 border-b border-gray-200", children: [
344
+ /* @__PURE__ */ n(h, { swStyle: 6, children: [
345
+ "Section ",
346
+ l + 1
347
+ ] }),
348
+ /* @__PURE__ */ e("p", { className: "mt-2", children: "This content would normally be scrollable, but scrolling is disabled in this drawer. You can only see the content that fits within the drawer height." })
349
+ ] }, l));
350
+ return /* @__PURE__ */ n("div", { className: "p-4", children: [
351
+ /* @__PURE__ */ e(s, { text: "Open Drawer with Disabled Scroll", onClick: () => r(!0) }),
352
+ /* @__PURE__ */ e(p, { ...t, width: t.width || "500px", open: a, setOpen: r, enableScroll: !1, children: /* @__PURE__ */ e("div", { className: "h-full", children: i }) })
353
+ ] });
354
+ }, V = {
355
+ render: (t) => /* @__PURE__ */ e(D, { args: t }),
356
+ args: {
357
+ width: "500px",
358
+ title: "Disabled Scroll Drawer",
359
+ subheading: "This drawer has scrolling disabled - content is clipped to fit",
360
+ transitionDuration: 300,
361
+ hasOverlayBg: !0,
362
+ enableScroll: !1
363
+ }
364
+ };
365
+ export {
366
+ I as Basic,
367
+ j as DelayedWidthChange,
368
+ V as DisabledScroll,
369
+ P as DynamicWidth,
370
+ L as FullFeatured,
371
+ $ as LargeWidth,
372
+ J as LongContent,
373
+ F as NoOverlay,
374
+ q as PercentageWidth,
375
+ K as ScrollBehavior,
376
+ E as SlowTransition,
377
+ _ as WithActionBox,
378
+ G as WithCallToAction,
379
+ U as WithMetadata,
380
+ M as WithSubheading,
381
+ z as WithTitleOnly,
382
+ k as default
383
+ };
@@ -0,0 +1,66 @@
1
+ import { default as React } from 'react';
2
+ import { ButtonProps } from '../../../main';
3
+
4
+ export type DrawerProps = {
5
+ /**
6
+ * title of drawer, showed in the drawer header
7
+ */
8
+ title?: string;
9
+ /**
10
+ * If true, the component is shown.
11
+ */
12
+ open?: boolean;
13
+ /**
14
+ * Callback fired when the component requests to be closed.
15
+ */
16
+ setOpen?: (state: boolean) => void;
17
+ /**
18
+ * The content of the component.
19
+ */
20
+ children?: React.ReactNode;
21
+ /**
22
+ * hasMetadata
23
+ */
24
+ metadata?: React.ReactNode;
25
+ /**
26
+ * hasSubheading
27
+ */
28
+ subheading?: string;
29
+ /**
30
+ * has call to action
31
+ */
32
+ buttonProps?: ButtonProps;
33
+ /**
34
+ * the box can contain any buttons and icons and appear between the drawer title and the close button
35
+ */
36
+ actionBox?: React.ReactNode;
37
+ /**
38
+ * transition duration for content
39
+ */
40
+ transitionDuration?: number;
41
+ /**
42
+ * fixed with of content
43
+ */
44
+ width: string | number;
45
+ /**
46
+ * define overlay
47
+ */
48
+ hasOverlayBg?: boolean;
49
+ /**
50
+ * Enable smooth width transitions when width prop changes
51
+ */
52
+ enableWidthTransition?: boolean;
53
+ /**
54
+ * Preserve scroll position when drawer reopens
55
+ */
56
+ preserveScrollPosition?: boolean;
57
+ /**
58
+ * Custom scroll behavior ('auto', 'smooth')
59
+ */
60
+ scrollBehavior?: 'auto' | 'smooth';
61
+ /**
62
+ * Enable or disable scrolling in the content area
63
+ */
64
+ enableScroll?: boolean;
65
+ };
66
+ export declare function Drawer({ children, actionBox, title, open, setOpen, width, transitionDuration: transitionDurationProp, hasOverlayBg, metadata, subheading, buttonProps, enableWidthTransition, preserveScrollPosition, scrollBehavior, enableScroll, }: DrawerProps): import("react/jsx-runtime").JSX.Element;