@tcn/ui 0.0.3 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/dist/actions/button/base_button/base_button.d.ts.map +1 -1
  2. package/dist/actions/button/base_button/base_button.js +20 -15
  3. package/dist/actions/button/base_button/base_button.js.map +1 -1
  4. package/dist/actions/button/button/button.d.ts.map +1 -1
  5. package/dist/actions/button/button/button.js +7 -7
  6. package/dist/actions/button/button/button.js.map +1 -1
  7. package/dist/actions/button/button_group/button_group.d.ts.map +1 -1
  8. package/dist/actions/button/button_group/button_group.js +2 -5
  9. package/dist/actions/button/button_group/button_group.js.map +1 -1
  10. package/dist/actions/button/select_group/select_group.js +7 -7
  11. package/dist/actions/button/select_group/select_group.js.map +1 -1
  12. package/dist/actions/button/slim_button/slim_button.d.ts.map +1 -1
  13. package/dist/actions/button/slim_button/slim_button.js +5 -5
  14. package/dist/actions/button/slim_button/slim_button.js.map +1 -1
  15. package/dist/button.css +1 -1
  16. package/dist/feedback/progress/progress_bar.js +1 -1
  17. package/dist/footer.css +1 -1
  18. package/dist/form/field/common/field_control/field_control.js +6 -6
  19. package/dist/form/field/common/field_control/field_control.js.map +1 -1
  20. package/dist/form/field/common/field_description.js +1 -1
  21. package/dist/form/field/common/field_error.js +2 -2
  22. package/dist/form/field/common/field_header.js +8 -8
  23. package/dist/form/field/common/field_header.js.map +1 -1
  24. package/dist/form/field/common/field_label.js +1 -1
  25. package/dist/form/field/common/status_input/status_input.d.ts.map +1 -1
  26. package/dist/form/field/common/status_input/status_input.js +9 -15
  27. package/dist/form/field/common/status_input/status_input.js.map +1 -1
  28. package/dist/form/field/h_field/h_field.js +9 -9
  29. package/dist/form/field/h_field/h_field.js.map +1 -1
  30. package/dist/form/field/v_field/v_field.js +8 -8
  31. package/dist/form/field/v_field/v_field.js.map +1 -1
  32. package/dist/form/field_set/field_set.d.ts.map +1 -1
  33. package/dist/form/field_set/field_set.js +12 -19
  34. package/dist/form/field_set/field_set.js.map +1 -1
  35. package/dist/inputs/checkbox/checkbox.js +12 -12
  36. package/dist/inputs/checkbox/checkbox.js.map +1 -1
  37. package/dist/inputs/color_input/color_input.d.ts.map +1 -1
  38. package/dist/inputs/color_input/color_input.js +13 -17
  39. package/dist/inputs/color_input/color_input.js.map +1 -1
  40. package/dist/inputs/color_input/color_picker.js +6 -6
  41. package/dist/inputs/color_input/color_picker.js.map +1 -1
  42. package/dist/inputs/combo_box/combo_box.js +15 -15
  43. package/dist/inputs/combo_box/combo_box.js.map +1 -1
  44. package/dist/inputs/date_picker/date_picker.js +6 -6
  45. package/dist/inputs/date_picker/date_picker.js.map +1 -1
  46. package/dist/inputs/date_picker/date_picker_date.js +13 -13
  47. package/dist/inputs/date_picker/date_picker_date.js.map +1 -1
  48. package/dist/inputs/date_picker/date_picker_day.js +1 -1
  49. package/dist/inputs/date_picker/date_picker_header.js +24 -24
  50. package/dist/inputs/date_picker/date_picker_header.js.map +1 -1
  51. package/dist/inputs/date_picker/date_picker_input.js +19 -19
  52. package/dist/inputs/date_picker/date_picker_input.js.map +1 -1
  53. package/dist/inputs/date_picker/date_picker_time_selector.d.ts.map +1 -1
  54. package/dist/inputs/date_picker/date_picker_time_selector.js +6 -9
  55. package/dist/inputs/date_picker/date_picker_time_selector.js.map +1 -1
  56. package/dist/inputs/date_picker/date_picker_year_input.js +3 -3
  57. package/dist/inputs/date_picker/date_picker_year_input.js.map +1 -1
  58. package/dist/inputs/date_picker/date_picker_year_selector.d.ts.map +1 -1
  59. package/dist/inputs/date_picker/date_picker_year_selector.js +18 -24
  60. package/dist/inputs/date_picker/date_picker_year_selector.js.map +1 -1
  61. package/dist/inputs/input/input.d.ts +2 -2
  62. package/dist/inputs/input/input.d.ts.map +1 -1
  63. package/dist/inputs/input/input.js +4 -4
  64. package/dist/inputs/input/input.js.map +1 -1
  65. package/dist/inputs/multi_combo_box/multi_combo_box.js +1 -1
  66. package/dist/inputs/multi_combo_box/multi_combo_box.js.map +1 -1
  67. package/dist/inputs/multiselect/multiselect_values.js +8 -8
  68. package/dist/inputs/multiselect/multiselect_values.js.map +1 -1
  69. package/dist/inputs/options/option.d.ts +1 -0
  70. package/dist/inputs/options/option.d.ts.map +1 -1
  71. package/dist/inputs/options/option.js.map +1 -1
  72. package/dist/inputs/phone_number_input/phone_number_input.d.ts +6 -1
  73. package/dist/inputs/phone_number_input/phone_number_input.d.ts.map +1 -1
  74. package/dist/inputs/phone_number_input/phone_number_input.js +169 -128
  75. package/dist/inputs/phone_number_input/phone_number_input.js.map +1 -1
  76. package/dist/inputs/radio/radio.js +14 -14
  77. package/dist/inputs/radio/radio.js.map +1 -1
  78. package/dist/inputs/select/select.js +16 -16
  79. package/dist/inputs/select/select.js.map +1 -1
  80. package/dist/inputs/slider/slider.js +7 -7
  81. package/dist/inputs/slider/slider.js.map +1 -1
  82. package/dist/inputs/suggestions/suggestion_item.d.ts +1 -1
  83. package/dist/inputs/suggestions/suggestion_item.d.ts.map +1 -1
  84. package/dist/inputs/suggestions/suggestion_item.js +23 -18
  85. package/dist/inputs/suggestions/suggestion_item.js.map +1 -1
  86. package/dist/inputs/suggestions/suggestion_list.d.ts +1 -1
  87. package/dist/inputs/suggestions/suggestion_list.d.ts.map +1 -1
  88. package/dist/inputs/suggestions/suggestion_list.js +105 -95
  89. package/dist/inputs/suggestions/suggestion_list.js.map +1 -1
  90. package/dist/inputs/switch/switch.js +14 -14
  91. package/dist/inputs/switch/switch.js.map +1 -1
  92. package/dist/inputs/textarea/textarea.js +6 -6
  93. package/dist/inputs/textarea/textarea.js.map +1 -1
  94. package/dist/inputs/unit_input/unit_input.js +5 -5
  95. package/dist/inputs/unit_input/unit_input.js.map +1 -1
  96. package/dist/layouts/body/h_body.js +10 -10
  97. package/dist/layouts/body/h_body.js.map +1 -1
  98. package/dist/layouts/body/v_body.js +8 -8
  99. package/dist/layouts/body/v_body.js.map +1 -1
  100. package/dist/layouts/column/column.js +16 -16
  101. package/dist/layouts/column/column.js.map +1 -1
  102. package/dist/layouts/divider/divider.js +9 -9
  103. package/dist/layouts/divider/divider.js.map +1 -1
  104. package/dist/layouts/footer/footer.js +6 -6
  105. package/dist/layouts/footer/footer.js.map +1 -1
  106. package/dist/layouts/grid/grid.d.ts.map +1 -1
  107. package/dist/layouts/grid/grid.js +22 -31
  108. package/dist/layouts/grid/grid.js.map +1 -1
  109. package/dist/layouts/header/header.js +11 -11
  110. package/dist/layouts/header/header.js.map +1 -1
  111. package/dist/layouts/index.d.ts +3 -2
  112. package/dist/layouts/index.d.ts.map +1 -1
  113. package/dist/layouts/index.js +26 -24
  114. package/dist/layouts/index.js.map +1 -1
  115. package/dist/layouts/list/item.d.ts +1 -0
  116. package/dist/layouts/list/item.d.ts.map +1 -1
  117. package/dist/layouts/list/item.js +18 -7
  118. package/dist/layouts/list/item.js.map +1 -1
  119. package/dist/layouts/list/list.js +12 -12
  120. package/dist/layouts/list/list.js.map +1 -1
  121. package/dist/layouts/sidebar_end/sidebar_end.js +15 -15
  122. package/dist/layouts/sidebar_end/sidebar_end.js.map +1 -1
  123. package/dist/layouts/sidebar_start/sidebar_start.js +16 -16
  124. package/dist/layouts/sidebar_start/sidebar_start.js.map +1 -1
  125. package/dist/layouts/utility_bar/utility_bar.js +14 -14
  126. package/dist/layouts/utility_bar/utility_bar.js.map +1 -1
  127. package/dist/modal.css +1 -1
  128. package/dist/overlay/context_menu/context_menu.js +4 -4
  129. package/dist/overlay/index.js +3 -3
  130. package/dist/overlay/menu/menu.js +8 -8
  131. package/dist/overlay/menu/menu.js.map +1 -1
  132. package/dist/overlay/popper/popper.js +12 -12
  133. package/dist/{portal-qqIp4SIl.js → overlay/portal/portal.js} +3 -3
  134. package/dist/overlay/portal/portal.js.map +1 -0
  135. package/dist/overlay/portal/portal_platform.js +3 -4
  136. package/dist/overlay/portal/portal_platform.js.map +1 -1
  137. package/dist/overlay/tooltip/tooltip.js +10 -10
  138. package/dist/overlay/tooltip/tooltip.js.map +1 -1
  139. package/dist/phone_number_input.css +1 -1
  140. package/dist/slim_button.css +1 -1
  141. package/dist/stacks/box/bottom_resize_handle.js +9 -9
  142. package/dist/stacks/box/bottom_resize_handle.js.map +1 -1
  143. package/dist/stacks/box/box.js +42 -42
  144. package/dist/stacks/box/box.js.map +1 -1
  145. package/dist/stacks/box/end_resize_handle.js +6 -6
  146. package/dist/stacks/box/end_resize_handle.js.map +1 -1
  147. package/dist/stacks/box/left_resize_handle.js +3 -3
  148. package/dist/stacks/box/left_resize_handle.js.map +1 -1
  149. package/dist/stacks/box/right_resize_handle.js +8 -8
  150. package/dist/stacks/box/right_resize_handle.js.map +1 -1
  151. package/dist/stacks/box/start_resize_handle.js +7 -7
  152. package/dist/stacks/box/start_resize_handle.js.map +1 -1
  153. package/dist/stacks/box/top_resize_handle.js +8 -8
  154. package/dist/stacks/box/top_resize_handle.js.map +1 -1
  155. package/dist/stacks/h_collapsible_box.js +5 -5
  156. package/dist/stacks/h_collapsible_box.js.map +1 -1
  157. package/dist/stacks/h_stack.js +26 -26
  158. package/dist/stacks/h_stack.js.map +1 -1
  159. package/dist/stacks/spacer.js +5 -5
  160. package/dist/stacks/spacer.js.map +1 -1
  161. package/dist/stacks/story_components/circle.js +6 -6
  162. package/dist/stacks/story_components/circle.js.map +1 -1
  163. package/dist/stacks/story_components/picture_placeholder.js +8 -8
  164. package/dist/stacks/story_components/picture_placeholder.js.map +1 -1
  165. package/dist/stacks/story_components/rect.js +11 -11
  166. package/dist/stacks/story_components/rect.js.map +1 -1
  167. package/dist/stacks/v_collapsible_box.js +8 -8
  168. package/dist/stacks/v_collapsible_box.js.map +1 -1
  169. package/dist/stacks/v_stack.js +35 -35
  170. package/dist/stacks/v_stack.js.map +1 -1
  171. package/dist/stacks/z_stack.js +34 -34
  172. package/dist/stacks/z_stack.js.map +1 -1
  173. package/dist/surfaces/alert/alert.js +8 -8
  174. package/dist/surfaces/alert/alert.js.map +1 -1
  175. package/dist/surfaces/card/card.d.ts.map +1 -1
  176. package/dist/surfaces/card/card.js +6 -15
  177. package/dist/surfaces/card/card.js.map +1 -1
  178. package/dist/surfaces/confirm/confirm.d.ts.map +1 -1
  179. package/dist/surfaces/confirm/confirm.js +17 -24
  180. package/dist/surfaces/confirm/confirm.js.map +1 -1
  181. package/dist/surfaces/drawers/drawer_bottom/drawer_bottom.js +5 -5
  182. package/dist/surfaces/drawers/drawer_bottom/drawer_bottom.js.map +1 -1
  183. package/dist/surfaces/drawers/drawer_end/drawer_end.js +8 -8
  184. package/dist/surfaces/drawers/drawer_end/drawer_end.js.map +1 -1
  185. package/dist/surfaces/drawers/drawer_start/drawer_start.js +4 -4
  186. package/dist/surfaces/drawers/drawer_start/drawer_start.js.map +1 -1
  187. package/dist/surfaces/drawers/drawer_top/drawer_top.js +4 -4
  188. package/dist/surfaces/drawers/drawer_top/drawer_top.js.map +1 -1
  189. package/dist/surfaces/modal/modal.d.ts +2 -4
  190. package/dist/surfaces/modal/modal.d.ts.map +1 -1
  191. package/dist/surfaces/modal/modal.js +16 -7
  192. package/dist/surfaces/modal/modal.js.map +1 -1
  193. package/dist/surfaces/page/h_page.js +6 -6
  194. package/dist/surfaces/page/h_page.js.map +1 -1
  195. package/dist/surfaces/page/v_page.js +9 -9
  196. package/dist/surfaces/page/v_page.js.map +1 -1
  197. package/dist/surfaces/panel/h_panel.d.ts.map +1 -1
  198. package/dist/surfaces/panel/h_panel.js +18 -24
  199. package/dist/surfaces/panel/h_panel.js.map +1 -1
  200. package/dist/surfaces/panel/v_panel.js +9 -9
  201. package/dist/surfaces/panel/v_panel.js.map +1 -1
  202. package/dist/surfaces/popover/popover.js +34 -34
  203. package/dist/surfaces/popover/popover.js.map +1 -1
  204. package/dist/surfaces/window/window.d.ts.map +1 -1
  205. package/dist/surfaces/window/window.js +6 -14
  206. package/dist/surfaces/window/window.js.map +1 -1
  207. package/dist/themes/index.d.ts +0 -2
  208. package/dist/themes/index.d.ts.map +1 -1
  209. package/dist/themes/index.js +6 -402
  210. package/dist/themes/index.js.map +1 -1
  211. package/dist/themes/stylesheets/reset.js +140 -0
  212. package/dist/themes/stylesheets/reset.js.map +1 -0
  213. package/dist/themes/themes/ergo/ergo_theme.js +595 -0
  214. package/dist/themes/themes/ergo/ergo_theme.js.map +1 -0
  215. package/dist/tokens/badge/badge.js +13 -13
  216. package/dist/tokens/badge/badge.js.map +1 -1
  217. package/dist/tokens/bubble/bubble.js +11 -11
  218. package/dist/tokens/bubble/bubble.js.map +1 -1
  219. package/dist/tokens/chip/chip.js +11 -11
  220. package/dist/tokens/chip/chip.js.map +1 -1
  221. package/dist/typography/body_text/body_text.js +21 -21
  222. package/dist/typography/body_text/body_text.js.map +1 -1
  223. package/dist/typography/callout/callout.js +16 -16
  224. package/dist/typography/callout/callout.js.map +1 -1
  225. package/dist/typography/caption/caption.js +13 -13
  226. package/dist/typography/caption/caption.js.map +1 -1
  227. package/dist/typography/footnote/footnote.js +14 -14
  228. package/dist/typography/footnote/footnote.js.map +1 -1
  229. package/dist/typography/headline/headline.js +12 -12
  230. package/dist/typography/headline/headline.js.map +1 -1
  231. package/dist/typography/subheadline/subheadline.js +13 -13
  232. package/dist/typography/subheadline/subheadline.js.map +1 -1
  233. package/dist/typography/title/title.js +17 -17
  234. package/dist/typography/title/title.js.map +1 -1
  235. package/package.json +23 -4
  236. package/src/actions/button/__stories__/button.stories.tsx +1 -1
  237. package/src/actions/button/__stories__/button_group.stories.tsx +1 -1
  238. package/src/actions/button/__stories__/select_group.stories.tsx +1 -1
  239. package/src/actions/button/__stories__/slim_button.stories.tsx +1 -1
  240. package/src/actions/button/base_button/base_button.tsx +8 -3
  241. package/src/actions/button/button/button.module.css +0 -78
  242. package/src/actions/button/button/button.tsx +3 -5
  243. package/src/actions/button/button_group/button_group.tsx +4 -7
  244. package/src/actions/button/select_group/select_group.tsx +3 -3
  245. package/src/actions/button/slim_button/slim_button.module.css +0 -26
  246. package/src/actions/button/slim_button/slim_button.tsx +3 -2
  247. package/src/feedback/lazy/lazy.stories.tsx +1 -1
  248. package/src/feedback/loading/__storybook__/loading.stories.tsx +1 -1
  249. package/src/feedback/progress/progress_bar.stories.tsx +1 -1
  250. package/src/form/field/common/field_control/field_control.tsx +2 -2
  251. package/src/form/field/common/field_header.tsx +2 -2
  252. package/src/form/field/common/status_input/status_input.tsx +3 -6
  253. package/src/form/field/field.stories.tsx +2 -1
  254. package/src/form/field/h_field/h_field.stories.tsx +10 -1
  255. package/src/form/field/h_field/h_field.tsx +2 -2
  256. package/src/form/field/v_field/v_field.stories.tsx +10 -1
  257. package/src/form/field/v_field/v_field.tsx +2 -2
  258. package/src/form/field_set/field_set.stories.tsx +9 -1
  259. package/src/form/field_set/field_set.tsx +4 -7
  260. package/src/inputs/checkbox/checkbox.stories.tsx +9 -1
  261. package/src/inputs/checkbox/checkbox.tsx +2 -2
  262. package/src/inputs/color_input/color_input.stories.tsx +9 -1
  263. package/src/inputs/color_input/color_input.tsx +2 -6
  264. package/src/inputs/color_input/color_picker.tsx +2 -2
  265. package/src/inputs/combo_box/combo_box.stories.tsx +14 -5
  266. package/src/inputs/combo_box/combo_box.tsx +2 -2
  267. package/src/inputs/date_picker/date_picker.stories.tsx +18 -10
  268. package/src/inputs/date_picker/date_picker.tsx +3 -3
  269. package/src/inputs/date_picker/date_picker_date.tsx +3 -3
  270. package/src/inputs/date_picker/date_picker_header.tsx +2 -2
  271. package/src/inputs/date_picker/date_picker_input.stories.tsx +15 -7
  272. package/src/inputs/date_picker/date_picker_input.tsx +3 -3
  273. package/src/inputs/date_picker/date_picker_time_selector.tsx +5 -8
  274. package/src/inputs/date_picker/date_picker_year_input.tsx +2 -2
  275. package/src/inputs/date_picker/date_picker_year_selector.tsx +3 -9
  276. package/src/inputs/input/input.stories.tsx +9 -1
  277. package/src/inputs/input/input.tsx +5 -4
  278. package/src/inputs/mask_input/key_capture_input.stories.tsx +9 -1
  279. package/src/inputs/mask_input/mask_input.stories.tsx +10 -1
  280. package/src/inputs/multi_combo_box/multi_combo_box.stories.tsx +10 -1
  281. package/src/inputs/multi_combo_box/multi_combo_box.tsx +2 -2
  282. package/src/inputs/multiselect/multiselect_values.tsx +2 -2
  283. package/src/inputs/multiselect/mutliselect.stories.tsx +10 -1
  284. package/src/inputs/options/option.tsx +1 -0
  285. package/src/inputs/phone_number_input/phone_number_input.module.css +12 -0
  286. package/src/inputs/phone_number_input/phone_number_input.stories.tsx +18 -1
  287. package/src/inputs/phone_number_input/phone_number_input.tsx +104 -29
  288. package/src/inputs/radio/radio.stories.tsx +14 -6
  289. package/src/inputs/radio/radio.tsx +2 -2
  290. package/src/inputs/select/select.stories.tsx +18 -9
  291. package/src/inputs/select/select.tsx +2 -2
  292. package/src/inputs/slider/slider.stories.tsx +9 -1
  293. package/src/inputs/slider/slider.tsx +2 -2
  294. package/src/inputs/suggestions/suggestion_item.tsx +14 -4
  295. package/src/inputs/suggestions/suggestion_list.stories.tsx +21 -12
  296. package/src/inputs/suggestions/suggestion_list.tsx +25 -6
  297. package/src/inputs/switch/switch.stories.tsx +9 -1
  298. package/src/inputs/switch/switch.tsx +4 -4
  299. package/src/inputs/textarea/textarea.stories.tsx +9 -1
  300. package/src/inputs/textarea/textarea.tsx +2 -2
  301. package/src/inputs/unit_input/unit_input.stories.tsx +9 -1
  302. package/src/inputs/unit_input/unit_input.tsx +4 -4
  303. package/src/layouts/body/h_body.tsx +2 -2
  304. package/src/layouts/body/v_body.tsx +2 -2
  305. package/src/layouts/column/column.tsx +3 -3
  306. package/src/layouts/divider/__stories__/divider.stories.tsx +59 -19
  307. package/src/layouts/divider/divider.tsx +3 -3
  308. package/src/layouts/footer/footer.module.css +0 -1
  309. package/src/layouts/footer/footer.tsx +2 -2
  310. package/src/layouts/grid/grid.stories.tsx +42 -34
  311. package/src/layouts/grid/grid.tsx +2 -7
  312. package/src/layouts/header/header.tsx +2 -2
  313. package/src/layouts/index.ts +3 -2
  314. package/src/layouts/list/item.tsx +11 -3
  315. package/src/layouts/list/list.tsx +3 -3
  316. package/src/layouts/sidebar_end/sidebar_end.tsx +2 -2
  317. package/src/layouts/sidebar_start/sidebar_start.tsx +2 -2
  318. package/src/layouts/utility_bar/utility_bar.tsx +2 -2
  319. package/src/overlay/context_menu/context_menu.stories.tsx +13 -5
  320. package/src/overlay/menu/menu.stories.tsx +22 -14
  321. package/src/overlay/menu/menu.tsx +3 -3
  322. package/src/overlay/popper/popper.stories.tsx +43 -22
  323. package/src/overlay/portal/portal.stories.tsx +10 -1
  324. package/src/overlay/tooltip/tooltip.stories.tsx +9 -2
  325. package/src/overlay/tooltip/tooltip.tsx +2 -2
  326. package/src/stacks/box/bottom_resize_handle.tsx +2 -2
  327. package/src/stacks/box/box.tsx +2 -2
  328. package/src/stacks/box/end_resize_handle.tsx +2 -2
  329. package/src/stacks/box/left_resize_handle.tsx +2 -2
  330. package/src/stacks/box/right_resize_handle.tsx +2 -2
  331. package/src/stacks/box/start_resize_handle.tsx +2 -2
  332. package/src/stacks/box/top_resize_handle.tsx +2 -2
  333. package/src/stacks/collapsible_box.stories.tsx +10 -1
  334. package/src/stacks/h_collapsible_box.tsx +2 -2
  335. package/src/stacks/h_stack.stories.tsx +104 -59
  336. package/src/stacks/h_stack.tsx +2 -2
  337. package/src/stacks/spacer.tsx +2 -2
  338. package/src/stacks/story_components/circle.tsx +2 -2
  339. package/src/stacks/story_components/picture_placeholder.tsx +2 -2
  340. package/src/stacks/story_components/rect.tsx +2 -2
  341. package/src/stacks/v_collapsible_box.tsx +2 -2
  342. package/src/stacks/v_stack.stories.tsx +91 -10
  343. package/src/stacks/v_stack.tsx +2 -2
  344. package/src/stacks/z_stack.stories.tsx +9 -1
  345. package/src/stacks/z_stack.tsx +2 -2
  346. package/src/surfaces/alert/alert.stories.tsx +4 -4
  347. package/src/surfaces/alert/alert.tsx +2 -2
  348. package/src/surfaces/card/card.tsx +3 -9
  349. package/src/surfaces/confirm/confirm.stories.tsx +4 -4
  350. package/src/surfaces/confirm/confirm.tsx +3 -6
  351. package/src/surfaces/drawers/__stories__/drawers.stories.tsx +1 -1
  352. package/src/surfaces/drawers/drawer_bottom/drawer_bottom.tsx +2 -2
  353. package/src/surfaces/drawers/drawer_end/drawer_end.tsx +2 -2
  354. package/src/surfaces/drawers/drawer_start/drawer_start.tsx +2 -2
  355. package/src/surfaces/drawers/drawer_top/drawer_top.tsx +2 -2
  356. package/src/surfaces/modal/__stories__/modal.stories.tsx +54 -0
  357. package/src/surfaces/modal/modal.module.css +2 -1
  358. package/src/surfaces/modal/modal.tsx +9 -6
  359. package/src/surfaces/page/h_page.tsx +2 -2
  360. package/src/surfaces/page/v_page.tsx +2 -2
  361. package/src/surfaces/panel/__stories__/panel.stories.tsx +13 -12
  362. package/src/surfaces/panel/h_panel.tsx +3 -9
  363. package/src/surfaces/panel/v_panel.tsx +3 -3
  364. package/src/surfaces/popover/popover.tsx +2 -2
  365. package/src/surfaces/window/window.stories.tsx +1 -1
  366. package/src/surfaces/window/window.tsx +2 -6
  367. package/src/themes/index.ts +0 -2
  368. package/src/themes/stories/themes.stories.tsx +1 -1
  369. package/src/themes/themes/ergo/__stories__/components/material_picker/sb_inverted_materials.module.css +34 -0
  370. package/src/themes/themes/ergo/__stories__/components/material_picker/sb_material_picker.tsx +52 -0
  371. package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_card.module.css +5 -0
  372. package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_card.tsx +40 -0
  373. package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_picker.tsx +83 -0
  374. package/src/themes/themes/ergo/__stories__/components/tone_picker/types.ts +7 -0
  375. package/src/themes/themes/ergo/__stories__/material.stories.tsx +154 -0
  376. package/src/themes/themes/ergo/__stories__/sb_materials.module.css +110 -0
  377. package/src/themes/themes/ergo/__stories__/utils.ts +92 -0
  378. package/src/themes/themes/ergo/ergo_theme.css +348 -15
  379. package/src/tokens/badge/badge.stories.tsx +6 -6
  380. package/src/tokens/badge/badge.tsx +3 -3
  381. package/src/tokens/bubble/bubble.stories.tsx +16 -9
  382. package/src/tokens/bubble/bubble.tsx +2 -2
  383. package/src/tokens/chip/chip.stories.tsx +1 -1
  384. package/src/tokens/chip/chip.tsx +2 -2
  385. package/src/typography/body_text/body_text.tsx +2 -2
  386. package/src/typography/callout/callout.tsx +2 -2
  387. package/src/typography/caption/caption.tsx +2 -2
  388. package/src/typography/footnote/footnote.tsx +2 -2
  389. package/src/typography/headline/headline.tsx +2 -2
  390. package/src/typography/subheadline/subheadline.tsx +2 -2
  391. package/src/typography/title/title.tsx +2 -2
  392. package/src/typography/typography-showcase.stories.tsx +2 -2
  393. package/src/utils/click_away_listener.stories.tsx +21 -11
  394. package/src/utils/responsive/responsive_renderer.stories.tsx +7 -7
  395. package/src/utils/scroll_away_listener.stories.tsx +11 -1
  396. package/tsconfig.json +0 -3
  397. package/dist/card.css +0 -1
  398. package/dist/portal-qqIp4SIl.js.map +0 -1
  399. package/dist/themes/stylesheets/reset.css +0 -1
  400. package/dist/themes/themes/ergo/ergo_theme.css +0 -1
  401. package/dist/themes/themes/windows_98/windows_98.css +0 -1
  402. package/src/surfaces/card/card.module.css +0 -5
  403. package/src/surfaces/modal/modal.stories.tsx +0 -15
  404. /package/dist/{overlay/portal/portal.css → portal_platform.css} +0 -0
@@ -1,16 +1,16 @@
1
1
  import { jsx as k } from "react/jsx-runtime";
2
- import q from "classnames";
2
+ import { clsx as q } from "clsx";
3
3
  import c from "react";
4
4
  import { removeUndefinedProperties as z } from "../../stacks/utils/remove_undefined_properties.js";
5
5
  import '../../grid.css';const B = "_grid_d0ae3e3", D = { grid: B }, L = c.forwardRef(function({
6
- as: a = "div",
7
- children: r,
8
- style: l,
9
- className: d,
6
+ as: l = "div",
7
+ children: e,
8
+ style: d,
9
+ className: a,
10
10
  itemHeight: m,
11
11
  itemWidth: o,
12
12
  columnAmount: i,
13
- gap: e,
13
+ gap: r,
14
14
  rowGap: f,
15
15
  columnGap: p,
16
16
  padding: h,
@@ -24,21 +24,21 @@ import '../../grid.css';const B = "_grid_d0ae3e3", D = { grid: B }, L = c.forwar
24
24
  marginInline: w,
25
25
  marginBlock: C,
26
26
  marginInlineStart: G,
27
- marginInlineEnd: N,
28
- marginTop: R,
29
- marginBottom: S,
30
- zIndex: _,
31
- ...j
32
- }, M) {
33
- const P = a, U = c.Children.toArray(r).length, W = `repeat(auto-fill, ${o}px)`;
27
+ marginInlineEnd: R,
28
+ marginTop: S,
29
+ marginBottom: _,
30
+ zIndex: j,
31
+ ...M
32
+ }, N) {
33
+ const P = l, U = c.Children.toArray(e).length, W = `repeat(auto-fill, ${o}px)`;
34
34
  let t;
35
35
  if (i) {
36
- const s = Math.min(i, U), n = String(s * o) + "px";
37
- e ? t = `calc(${n} + ${e} * ${s - 1})` : t = n;
36
+ const n = Math.min(i, U), s = String(n * o) + "px";
37
+ r ? t = `calc(${s} + ${r} * ${n - 1})` : t = s;
38
38
  } else
39
39
  t = "100%";
40
40
  const b = z({
41
- gap: e,
41
+ gap: r,
42
42
  rowGap: f,
43
43
  columnGap: p,
44
44
  "--item-height": m + "px",
@@ -55,22 +55,13 @@ import '../../grid.css';const B = "_grid_d0ae3e3", D = { grid: B }, L = c.forwar
55
55
  marginInline: w,
56
56
  marginBlock: C,
57
57
  marginInlineStart: G,
58
- marginInlineEnd: N,
59
- marginTop: R,
60
- marginBottom: S,
61
- zIndex: _,
62
- ...l
58
+ marginInlineEnd: R,
59
+ marginTop: S,
60
+ marginBottom: _,
61
+ zIndex: j,
62
+ ...d
63
63
  });
64
- return /* @__PURE__ */ k(
65
- P,
66
- {
67
- ref: M,
68
- className: q(D.grid, d),
69
- style: b,
70
- ...j,
71
- children: r
72
- }
73
- );
64
+ return /* @__PURE__ */ k(P, { ref: N, className: q(D.grid, a), style: b, ...M, children: e });
74
65
  });
75
66
  export {
76
67
  L as Grid
@@ -1 +1 @@
1
- {"version":3,"file":"grid.js","sources":["../../../src/layouts/grid/grid.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport React, { HTMLAttributes } from 'react';\nimport { CommonProps } from '../../stacks/types/common.js';\nimport styles from './grid.module.css';\nimport { removeUndefinedProperties } from '../../stacks/utils/remove_undefined_properties.js';\n\nexport interface GridProps extends CommonProps, HTMLAttributes<HTMLElement> {\n itemHeight: number;\n itemWidth: number;\n as?: string;\n columnAmount?: number;\n children?: React.ReactNode;\n gap?: string | number;\n rowGap?: string | number;\n columnGap?: string | number;\n padding?: string;\n paddingInline?: string;\n paddingBlock?: string;\n paddingInlineStart?: string;\n paddingInlineEnd?: string;\n paddingTop?: string;\n paddingBottom?: string;\n margin?: string;\n marginInline?: string;\n marginBlock?: string;\n marginInlineStart?: string;\n marginInlineEnd?: string;\n marginTop?: string;\n marginBottom?: string;\n zIndex?: string | number;\n}\n\nexport const Grid = React.forwardRef(function Grid(\n {\n as = 'div',\n children,\n style,\n className,\n itemHeight,\n itemWidth,\n columnAmount,\n gap,\n rowGap,\n columnGap,\n padding,\n paddingInline,\n paddingBlock,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginInline,\n marginBlock,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n zIndex,\n ...attr\n }: GridProps,\n ref: React.Ref<HTMLElement>\n) {\n const As = as as React.ElementType;\n // Calculate the number of children\n const childrenArray = React.Children.toArray(children);\n const childrenCount = childrenArray.length;\n\n const template = `repeat(auto-fill, ${itemWidth}px)`;\n let maxWidth: string;\n\n if (columnAmount) {\n const amount = Math.min(columnAmount, childrenCount);\n const columnWidth = String(amount * itemWidth) + 'px';\n\n if (gap) {\n maxWidth = `calc(${columnWidth} + ${gap} * ${amount - 1})`;\n } else {\n maxWidth = columnWidth;\n }\n } else {\n maxWidth = '100%';\n }\n\n const gridStyles: any = removeUndefinedProperties({\n gap,\n rowGap,\n columnGap,\n '--item-height': itemHeight + 'px',\n '--max-width': maxWidth,\n '--template': template,\n padding,\n paddingInline,\n paddingBlock,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginInline,\n marginBlock,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n zIndex,\n ...style,\n });\n\n return (\n <As\n ref={ref}\n className={classNames(styles.grid, className)}\n style={gridStyles}\n {...attr}\n >\n {children}\n </As>\n );\n});\n"],"names":["Grid","React","as","children","style","className","itemHeight","itemWidth","columnAmount","gap","rowGap","columnGap","padding","paddingInline","paddingBlock","paddingInlineStart","paddingInlineEnd","paddingTop","paddingBottom","margin","marginInline","marginBlock","marginInlineStart","marginInlineEnd","marginTop","marginBottom","zIndex","attr","ref","As","childrenCount","template","maxWidth","amount","columnWidth","gridStyles","removeUndefinedProperties","jsx","classNames","styles"],"mappings":";;;;4CAgCaA,IAAOC,EAAM,WAAW,SACnC;AAAA,EACE,IAAAC,IAAK;AAAA,EACL,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,cAAAC;AAAA,EACA,KAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,eAAAC;AAAA,EACA,cAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,QAAAC;AAAA,EACA,cAAAC;AAAA,EACA,aAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,cAAAC;AAAA,EACA,QAAAC;AAAA,EACA,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAK3B,GAGL4B,IADgB7B,EAAM,SAAS,QAAQE,CAAQ,EACjB,QAE9B4B,IAAW,qBAAqBxB,CAAS;AAC/C,MAAIyB;AAEJ,MAAIxB,GAAc;AAChB,UAAMyB,IAAS,KAAK,IAAIzB,GAAcsB,CAAa,GAC7CI,IAAc,OAAOD,IAAS1B,CAAS,IAAI;AAEjD,IAAIE,IACFuB,IAAW,QAAQE,CAAW,MAAMzB,CAAG,MAAMwB,IAAS,CAAC,MAEvDD,IAAWE;AAAA,EAEf;AACE,IAAAF,IAAW;AAGb,QAAMG,IAAkBC,EAA0B;AAAA,IAChD,KAAA3B;AAAA,IACA,QAAAC;AAAA,IACA,WAAAC;AAAA,IACA,iBAAiBL,IAAa;AAAA,IAC9B,eAAe0B;AAAA,IACf,cAAcD;AAAA,IACd,SAAAnB;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,eAAAC;AAAA,IACA,QAAAC;AAAA,IACA,cAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,QAAAC;AAAA,IACA,GAAGtB;AAAA,EAAA,CACJ;AAED,SACE,gBAAAiC;AAAA,IAACR;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,WAAWU,EAAWC,EAAO,MAAMlC,CAAS;AAAA,MAC5C,OAAO8B;AAAA,MACN,GAAGR;AAAA,MAEH,UAAAxB;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"grid.js","sources":["../../../src/layouts/grid/grid.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { HTMLAttributes } from 'react';\nimport { CommonProps } from '../../stacks/types/common.js';\nimport styles from './grid.module.css';\nimport { removeUndefinedProperties } from '../../stacks/utils/remove_undefined_properties.js';\n\nexport interface GridProps extends CommonProps, HTMLAttributes<HTMLElement> {\n itemHeight: number;\n itemWidth: number;\n as?: string;\n columnAmount?: number;\n children?: React.ReactNode;\n gap?: string | number;\n rowGap?: string | number;\n columnGap?: string | number;\n padding?: string;\n paddingInline?: string;\n paddingBlock?: string;\n paddingInlineStart?: string;\n paddingInlineEnd?: string;\n paddingTop?: string;\n paddingBottom?: string;\n margin?: string;\n marginInline?: string;\n marginBlock?: string;\n marginInlineStart?: string;\n marginInlineEnd?: string;\n marginTop?: string;\n marginBottom?: string;\n zIndex?: string | number;\n}\n\nexport const Grid = React.forwardRef(function Grid(\n {\n as = 'div',\n children,\n style,\n className,\n itemHeight,\n itemWidth,\n columnAmount,\n gap,\n rowGap,\n columnGap,\n padding,\n paddingInline,\n paddingBlock,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginInline,\n marginBlock,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n zIndex,\n ...attr\n }: GridProps,\n ref: React.Ref<HTMLElement>\n) {\n const As = as as React.ElementType;\n // Calculate the number of children\n const childrenArray = React.Children.toArray(children);\n const childrenCount = childrenArray.length;\n\n const template = `repeat(auto-fill, ${itemWidth}px)`;\n let maxWidth: string;\n\n if (columnAmount) {\n const amount = Math.min(columnAmount, childrenCount);\n const columnWidth = String(amount * itemWidth) + 'px';\n\n if (gap) {\n maxWidth = `calc(${columnWidth} + ${gap} * ${amount - 1})`;\n } else {\n maxWidth = columnWidth;\n }\n } else {\n maxWidth = '100%';\n }\n\n const gridStyles: any = removeUndefinedProperties({\n gap,\n rowGap,\n columnGap,\n '--item-height': itemHeight + 'px',\n '--max-width': maxWidth,\n '--template': template,\n padding,\n paddingInline,\n paddingBlock,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginInline,\n marginBlock,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n zIndex,\n ...style,\n });\n\n return (\n <As ref={ref} className={clsx(styles.grid, className)} style={gridStyles} {...attr}>\n {children}\n </As>\n );\n});\n"],"names":["Grid","React","as","children","style","className","itemHeight","itemWidth","columnAmount","gap","rowGap","columnGap","padding","paddingInline","paddingBlock","paddingInlineStart","paddingInlineEnd","paddingTop","paddingBottom","margin","marginInline","marginBlock","marginInlineStart","marginInlineEnd","marginTop","marginBottom","zIndex","attr","ref","As","childrenCount","template","maxWidth","amount","columnWidth","gridStyles","removeUndefinedProperties","jsx","clsx","styles"],"mappings":";;;;4CAgCaA,IAAOC,EAAM,WAAW,SACnC;AAAA,EACE,IAAAC,IAAK;AAAA,EACL,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,cAAAC;AAAA,EACA,KAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,eAAAC;AAAA,EACA,cAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,QAAAC;AAAA,EACA,cAAAC;AAAA,EACA,aAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,cAAAC;AAAA,EACA,QAAAC;AAAA,EACA,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAK3B,GAGL4B,IADgB7B,EAAM,SAAS,QAAQE,CAAQ,EACjB,QAE9B4B,IAAW,qBAAqBxB,CAAS;AAC/C,MAAIyB;AAEJ,MAAIxB,GAAc;AAChB,UAAMyB,IAAS,KAAK,IAAIzB,GAAcsB,CAAa,GAC7CI,IAAc,OAAOD,IAAS1B,CAAS,IAAI;AAEjD,IAAIE,IACFuB,IAAW,QAAQE,CAAW,MAAMzB,CAAG,MAAMwB,IAAS,CAAC,MAEvDD,IAAWE;AAAA,EAEf;AACE,IAAAF,IAAW;AAGb,QAAMG,IAAkBC,EAA0B;AAAA,IAChD,KAAA3B;AAAA,IACA,QAAAC;AAAA,IACA,WAAAC;AAAA,IACA,iBAAiBL,IAAa;AAAA,IAC9B,eAAe0B;AAAA,IACf,cAAcD;AAAA,IACd,SAAAnB;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,eAAAC;AAAA,IACA,QAAAC;AAAA,IACA,cAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,QAAAC;AAAA,IACA,GAAGtB;AAAA,EAAA,CACJ;AAED,SACE,gBAAAiC,EAACR,GAAA,EAAG,KAAAD,GAAU,WAAWU,EAAKC,EAAO,MAAMlC,CAAS,GAAG,OAAO8B,GAAa,GAAGR,GAC3E,UAAAxB,EAAA,CACH;AAEJ,CAAC;"}
@@ -1,30 +1,30 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import m from "react";
3
- import f from "classnames";
3
+ import { clsx as f } from "clsx";
4
4
  import { HStack as h } from "../../stacks/h_stack.js";
5
- import '../../header.css';const n = "_header_3155fa4", i = { header: n }, x = m.forwardRef(function({
5
+ import '../../header.css';const n = "_header_3155fa4", i = { header: n }, H = m.forwardRef(function({
6
6
  hierarchy: e = "secondary",
7
- height: a = "auto",
8
- children: r,
7
+ height: r = "auto",
8
+ children: a,
9
9
  className: t,
10
10
  size: o = "md",
11
- ...s
12
- }, d) {
11
+ ...d
12
+ }, s) {
13
13
  return /* @__PURE__ */ c(
14
14
  h,
15
15
  {
16
- ref: d,
16
+ ref: s,
17
17
  as: "header",
18
18
  className: f(i.header, t, "tcn-header", "header"),
19
19
  "data-hierarchy": e,
20
20
  "data-size": o,
21
- height: a,
22
- ...s,
23
- children: r
21
+ height: r,
22
+ ...d,
23
+ children: a
24
24
  }
25
25
  );
26
26
  });
27
27
  export {
28
- x as Header
28
+ H as Header
29
29
  };
30
30
  //# sourceMappingURL=header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.js","sources":["../../../src/layouts/header/header.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport type { Hierarchy, Size } from '../../utils/index.js';\nimport styles from './header.module.css';\n\n// UtilityBar\nexport interface HeaderProps extends Omit<HStackProps, 'as'> {\n hierarchy?: Hierarchy;\n size?: Size;\n}\n\nexport const Header = React.forwardRef<HTMLElement, HeaderProps>(function Header(\n {\n hierarchy = 'secondary',\n height = 'auto',\n children,\n className,\n size = 'md',\n ...props\n }: HeaderProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"header\"\n className={classNames(styles.header, className, 'tcn-header', 'header')}\n data-hierarchy={hierarchy}\n data-size={size}\n height={height}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["Header","React","hierarchy","height","children","className","size","props","ref","jsx","HStack","classNames","styles"],"mappings":";;;;gDAYaA,IAASC,EAAM,WAAqC,SAC/D;AAAA,EACE,WAAAC,IAAY;AAAA,EACZ,QAAAC,IAAS;AAAA,EACT,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,GAAGC;AACL,GACAC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAWC,EAAO,QAAQP,GAAW,cAAc,QAAQ;AAAA,MACtE,kBAAgBH;AAAA,MAChB,aAAWI;AAAA,MACX,QAAAH;AAAA,MACC,GAAGI;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"header.js","sources":["../../../src/layouts/header/header.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport type { Hierarchy, Size } from '../../utils/index.js';\nimport styles from './header.module.css';\n\n// UtilityBar\nexport interface HeaderProps extends Omit<HStackProps, 'as'> {\n hierarchy?: Hierarchy;\n size?: Size;\n}\n\nexport const Header = React.forwardRef<HTMLElement, HeaderProps>(function Header(\n {\n hierarchy = 'secondary',\n height = 'auto',\n children,\n className,\n size = 'md',\n ...props\n }: HeaderProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"header\"\n className={clsx(styles.header, className, 'tcn-header', 'header')}\n data-hierarchy={hierarchy}\n data-size={size}\n height={height}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["Header","React","hierarchy","height","children","className","size","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;gDAYaA,IAASC,EAAM,WAAqC,SAC/D;AAAA,EACE,WAAAC,IAAY;AAAA,EACZ,QAAAC,IAAS;AAAA,EACT,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,GAAGC;AACL,GACAC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,QAAQP,GAAW,cAAc,QAAQ;AAAA,MAChE,kBAAgBH;AAAA,MAChB,aAAWI;AAAA,MACX,QAAAH;AAAA,MACC,GAAGI;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,3 +1,5 @@
1
+ export * from './body/h_body.js';
2
+ export * from './body/v_body.js';
1
3
  export * from './column/column.js';
2
4
  export * from './divider/divider.js';
3
5
  export * from './footer/footer.js';
@@ -8,6 +10,5 @@ export * from './list/list.js';
8
10
  export * from './list/section_header.js';
9
11
  export * from './sidebar_end/sidebar_end.js';
10
12
  export * from './sidebar_start/sidebar_start.js';
11
- export * from './body/h_body.js';
12
- export * from './body/v_body.js';
13
+ export * from './utility_bar/utility_bar.js';
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC"}
@@ -1,27 +1,29 @@
1
- import { Column as e } from "./column/column.js";
2
- import { Divider as m } from "./divider/divider.js";
3
- import { Footer as p } from "./footer/footer.js";
4
- import { Grid as d } from "./grid/grid.js";
5
- import { Header as a } from "./header/header.js";
6
- import { Item as n } from "./list/item.js";
7
- import { List as b } from "./list/list.js";
8
- import { SectionHeader as B } from "./list/section_header.js";
9
- import { SidebarEnd as l } from "./sidebar_end/sidebar_end.js";
10
- import { SidebarStart as u } from "./sidebar_start/sidebar_start.js";
11
- import { HBody as C } from "./body/h_body.js";
12
- import { VBody as E } from "./body/v_body.js";
1
+ import { HBody as e } from "./body/h_body.js";
2
+ import { VBody as m } from "./body/v_body.js";
3
+ import { Column as p } from "./column/column.js";
4
+ import { Divider as d } from "./divider/divider.js";
5
+ import { Footer as a } from "./footer/footer.js";
6
+ import { Grid as n } from "./grid/grid.js";
7
+ import { Header as B } from "./header/header.js";
8
+ import { Item as b } from "./list/item.js";
9
+ import { List as c } from "./list/list.js";
10
+ import { SectionHeader as u } from "./list/section_header.js";
11
+ import { SidebarEnd as C } from "./sidebar_end/sidebar_end.js";
12
+ import { SidebarStart as E } from "./sidebar_start/sidebar_start.js";
13
+ import { UtilityBar as G } from "./utility_bar/utility_bar.js";
13
14
  export {
14
- e as Column,
15
- m as Divider,
16
- p as Footer,
17
- d as Grid,
18
- C as HBody,
19
- a as Header,
20
- n as Item,
21
- b as List,
22
- B as SectionHeader,
23
- l as SidebarEnd,
24
- u as SidebarStart,
25
- E as VBody
15
+ p as Column,
16
+ d as Divider,
17
+ a as Footer,
18
+ n as Grid,
19
+ e as HBody,
20
+ B as Header,
21
+ b as Item,
22
+ c as List,
23
+ u as SectionHeader,
24
+ C as SidebarEnd,
25
+ E as SidebarStart,
26
+ G as UtilityBar,
27
+ m as VBody
26
28
  };
27
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
  import { HStackProps } from '../../stacks/h_stack.js';
3
3
  export interface ItemProps extends Omit<HStackProps, 'as' | 'children'> {
4
4
  children?: React.ReactNode;
5
+ selected?: boolean;
5
6
  }
6
7
  export declare const Item: React.ForwardRefExoticComponent<ItemProps & React.RefAttributes<HTMLDivElement>>;
7
8
  //# sourceMappingURL=item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/layouts/list/item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGnE,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IACrE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,IAAI,kFASf,CAAC"}
1
+ {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/layouts/list/item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGnE,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IACrE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,IAAI,kFAgBf,CAAC"}
@@ -1,11 +1,22 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import a from "react";
3
- import { HStack as s } from "../../stacks/h_stack.js";
4
- import f from "classnames";
5
- const u = a.forwardRef(function({ children: m, className: r, ...t }, o) {
6
- return /* @__PURE__ */ e(s, { ref: o, as: "li", className: f("item", r), ...t, children: m });
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import o from "react";
3
+ import { HStack as c } from "../../stacks/h_stack.js";
4
+ import { clsx as f } from "clsx";
5
+ const x = o.forwardRef(function({ children: r, className: a, selected: t = !1, ...e }, i) {
6
+ return /* @__PURE__ */ m(
7
+ c,
8
+ {
9
+ ref: i,
10
+ as: "li",
11
+ "data-hierarchy": t ? "primary" : "tertiary",
12
+ "data-is-selected": t,
13
+ className: f("tcn-item", "tcn-interactive", a),
14
+ ...e,
15
+ children: r
16
+ }
17
+ );
7
18
  });
8
19
  export {
9
- u as Item
20
+ x as Item
10
21
  };
11
22
  //# sourceMappingURL=item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.js","sources":["../../../src/layouts/list/item.tsx"],"sourcesContent":["import React from 'react';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport classnames from 'classnames';\n\nexport interface ItemProps extends Omit<HStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const Item = React.forwardRef<HTMLDivElement, ItemProps>(function Item(\n { children, className, ...props }: ItemProps,\n ref\n) {\n return (\n <HStack ref={ref} as=\"li\" className={classnames('item', className)} {...props}>\n {children}\n </HStack>\n );\n});\n"],"names":["Item","React","children","className","props","ref","jsx","HStack","classnames"],"mappings":";;;;AAQO,MAAMA,IAAOC,EAAM,WAAsC,SAC9D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC,EAACC,GAAA,EAAO,KAAAF,GAAU,IAAG,MAAK,WAAWG,EAAW,QAAQL,CAAS,GAAI,GAAGC,GACrE,UAAAF,EAAA,CACH;AAEJ,CAAC;"}
1
+ {"version":3,"file":"item.js","sources":["../../../src/layouts/list/item.tsx"],"sourcesContent":["import React from 'react';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport { clsx } from 'clsx';\n\nexport interface ItemProps extends Omit<HStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n selected?: boolean;\n}\n\nexport const Item = React.forwardRef<HTMLDivElement, ItemProps>(function Item(\n { children, className, selected = false, ...props }: ItemProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"li\"\n data-hierarchy={selected ? 'primary' : 'tertiary'}\n data-is-selected={selected}\n className={clsx('tcn-item', 'tcn-interactive', className)}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["Item","React","children","className","selected","props","ref","jsx","HStack","clsx"],"mappings":";;;;AASO,MAAMA,IAAOC,EAAM,WAAsC,SAC9D,EAAE,UAAAC,GAAU,WAAAC,GAAW,UAAAC,IAAW,IAAO,GAAGC,EAAA,GAC5CC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,kBAAgBF,IAAW,YAAY;AAAA,MACvC,oBAAkBA;AAAA,MAClB,WAAWK,EAAK,YAAY,mBAAmBN,CAAS;AAAA,MACvD,GAAGE;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,16 +1,16 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import e from "react";
3
- import f from "classnames";
4
- import { VStack as i } from "../../stacks/v_stack.js";
5
- const x = e.forwardRef(function({ children: o, className: r, isOrdered: t = !1, ...m }, s) {
6
- return /* @__PURE__ */ a(
7
- i,
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { clsx as a } from "clsx";
4
+ import { VStack as c } from "../../stacks/v_stack.js";
5
+ const x = i.forwardRef(function({ children: t, className: o, isOrdered: r = !1, ...s }, m) {
6
+ return /* @__PURE__ */ f(
7
+ c,
8
8
  {
9
- ref: s,
10
- as: t ? "ol" : "ul",
11
- className: f("list", r),
12
- ...m,
13
- children: o
9
+ ref: m,
10
+ as: r ? "ol" : "ul",
11
+ className: a("tcn-list", o),
12
+ ...s,
13
+ children: t
14
14
  }
15
15
  );
16
16
  });
@@ -1 +1 @@
1
- {"version":3,"file":"list.js","sources":["../../../src/layouts/list/list.tsx"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport { VStack, type VStackProps } from '../../stacks/v_stack.js';\n\nexport interface ListProps extends Omit<VStackProps, 'as'> {\n isOrdered?: boolean;\n}\n\nexport const List = React.forwardRef<HTMLDivElement, ListProps>(function Item(\n { children, className, isOrdered = false, ...props }: ListProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as={isOrdered ? 'ol' : 'ul'}\n className={classnames('list', className)}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["List","React","children","className","isOrdered","props","ref","jsx","VStack","classnames"],"mappings":";;;;AAQO,MAAMA,IAAOC,EAAM,WAAsC,SAC9D,EAAE,UAAAC,GAAU,WAAAC,GAAW,WAAAC,IAAY,IAAO,GAAGC,EAAA,GAC7CC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAIF,IAAY,OAAO;AAAA,MACvB,WAAWK,EAAW,QAAQN,CAAS;AAAA,MACtC,GAAGE;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"list.js","sources":["../../../src/layouts/list/list.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport { VStack, type VStackProps } from '../../stacks/v_stack.js';\n\nexport interface ListProps extends Omit<VStackProps, 'as'> {\n isOrdered?: boolean;\n}\n\nexport const List = React.forwardRef<HTMLDivElement, ListProps>(function List(\n { children, className, isOrdered = false, ...props }: ListProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as={isOrdered ? 'ol' : 'ul'}\n className={clsx('tcn-list', className)}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["List","React","children","className","isOrdered","props","ref","jsx","VStack","clsx"],"mappings":";;;;AAQO,MAAMA,IAAOC,EAAM,WAAsC,SAC9D,EAAE,UAAAC,GAAU,WAAAC,GAAW,WAAAC,IAAY,IAAO,GAAGC,EAAA,GAC7CC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAIF,IAAY,OAAO;AAAA,MACvB,WAAWK,EAAK,YAAYN,CAAS;AAAA,MACpC,GAAGE;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,16 +1,16 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { Box as l } from "../../stacks/box/box.js";
3
- import { VStack as x } from "../../stacks/v_stack.js";
4
- import B from "classnames";
2
+ import { Box as x } from "../../stacks/box/box.js";
3
+ import { VStack as l } from "../../stacks/v_stack.js";
4
+ import { clsx as B } from "clsx";
5
5
  import _ from "react";
6
- import '../../sidebar_end.css';const y = "_sidebarEndBox_25f69cc", N = "_sidebarEnd_cb253a2", c = { sidebarEndBox: y, sidebarEnd: N }, I = _.forwardRef(
6
+ import '../../sidebar_end.css';const y = "_sidebarEndBox_25f69cc", S = "_sidebarEnd_cb253a2", c = { sidebarEndBox: y, sidebarEnd: S }, I = _.forwardRef(
7
7
  function({
8
8
  hierarchy: t = "secondary",
9
9
  children: b,
10
10
  width: r,
11
- height: s,
12
- minWidth: a,
13
- maxWidth: o,
11
+ height: o,
12
+ minWidth: s,
13
+ maxWidth: a,
14
14
  minHeight: d,
15
15
  maxHeight: e,
16
16
  hAlign: i,
@@ -19,24 +19,24 @@ import '../../sidebar_end.css';const y = "_sidebarEndBox_25f69cc", N = "_sidebar
19
19
  ...E
20
20
  }, p) {
21
21
  return /* @__PURE__ */ n(
22
- l,
22
+ x,
23
23
  {
24
24
  width: r,
25
- height: s,
26
- minWidth: a,
27
- maxWidth: o,
25
+ height: o,
26
+ minWidth: s,
27
+ maxWidth: a,
28
28
  minHeight: d,
29
29
  maxHeight: e,
30
30
  className: c.sidebarEndBox,
31
31
  as: "section",
32
32
  ...E,
33
33
  children: /* @__PURE__ */ n(
34
- x,
34
+ l,
35
35
  {
36
36
  width: r,
37
- height: s,
38
- minWidth: a,
39
- maxWidth: o,
37
+ height: o,
38
+ minWidth: s,
39
+ maxWidth: a,
40
40
  minHeight: d,
41
41
  maxHeight: e,
42
42
  hAlign: i,
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar_end.js","sources":["../../../src/layouts/sidebar_end/sidebar_end.tsx"],"sourcesContent":["import { Box, type BoxProps } from '../../stacks/box/box.js';\nimport { VStack } from '../../stacks/v_stack.js';\nimport { Alignment } from '../../stacks/types/alignment.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './sidebar_end.module.css';\nimport type { Hierarchy } from '../../utils/index.js';\n\nexport interface SidebarEndProps extends Omit<BoxProps, 'as'> {\n hierarchy?: Hierarchy;\n hAlign?: Alignment;\n vAlign?: Alignment;\n}\n\nexport const SidebarEnd = React.forwardRef<HTMLElement, SidebarEndProps>(\n function SidebarEnd(\n {\n hierarchy = 'secondary',\n children,\n width,\n height,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n hAlign,\n vAlign = 'start',\n className,\n ...props\n }: SidebarEndProps,\n ref\n ) {\n return (\n <Box\n width={width}\n height={height}\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n className={styles.sidebarEndBox}\n as={'section'}\n {...props}\n >\n <VStack\n width={width}\n height={height}\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n hAlign={hAlign}\n vAlign={vAlign}\n ref={ref}\n data-hierarchy={hierarchy}\n className={classNames(styles.sidebarEnd, className, 'sidebar-end')}\n zIndex={0}\n >\n {children}\n </VStack>\n </Box>\n );\n }\n);\n"],"names":["SidebarEnd","React","hierarchy","children","width","height","minWidth","maxWidth","minHeight","maxHeight","hAlign","vAlign","className","props","ref","jsx","Box","styles","VStack","classNames"],"mappings":";;;;;wGAcaA,IAAaC,EAAM;AAAA,EAC9B,SACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,GACA;AACA,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAAZ;AAAA,QACA,QAAAC;AAAA,QACA,UAAAC;AAAA,QACA,UAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAWQ,EAAO;AAAA,QAClB,IAAI;AAAA,QACH,GAAGJ;AAAA,QAEJ,UAAA,gBAAAE;AAAA,UAACG;AAAA,UAAA;AAAA,YACC,OAAAd;AAAA,YACA,QAAAC;AAAA,YACA,UAAAC;AAAA,YACA,UAAAC;AAAA,YACA,WAAAC;AAAA,YACA,WAAAC;AAAA,YACA,QAAAC;AAAA,YACA,QAAAC;AAAA,YACA,KAAAG;AAAA,YACA,kBAAgBZ;AAAA,YAChB,WAAWiB,EAAWF,EAAO,YAAYL,GAAW,aAAa;AAAA,YACjE,QAAQ;AAAA,YAEP,UAAAT;AAAA,UAAA;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAGN;AACF;"}
1
+ {"version":3,"file":"sidebar_end.js","sources":["../../../src/layouts/sidebar_end/sidebar_end.tsx"],"sourcesContent":["import { Box, type BoxProps } from '../../stacks/box/box.js';\nimport { VStack } from '../../stacks/v_stack.js';\nimport { Alignment } from '../../stacks/types/alignment.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './sidebar_end.module.css';\nimport type { Hierarchy } from '../../utils/index.js';\n\nexport interface SidebarEndProps extends Omit<BoxProps, 'as'> {\n hierarchy?: Hierarchy;\n hAlign?: Alignment;\n vAlign?: Alignment;\n}\n\nexport const SidebarEnd = React.forwardRef<HTMLElement, SidebarEndProps>(\n function SidebarEnd(\n {\n hierarchy = 'secondary',\n children,\n width,\n height,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n hAlign,\n vAlign = 'start',\n className,\n ...props\n }: SidebarEndProps,\n ref\n ) {\n return (\n <Box\n width={width}\n height={height}\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n className={styles.sidebarEndBox}\n as={'section'}\n {...props}\n >\n <VStack\n width={width}\n height={height}\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n hAlign={hAlign}\n vAlign={vAlign}\n ref={ref}\n data-hierarchy={hierarchy}\n className={clsx(styles.sidebarEnd, className, 'sidebar-end')}\n zIndex={0}\n >\n {children}\n </VStack>\n </Box>\n );\n }\n);\n"],"names":["SidebarEnd","React","hierarchy","children","width","height","minWidth","maxWidth","minHeight","maxHeight","hAlign","vAlign","className","props","ref","jsx","Box","styles","VStack","clsx"],"mappings":";;;;;wGAcaA,IAAaC,EAAM;AAAA,EAC9B,SACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,GACA;AACA,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAAZ;AAAA,QACA,QAAAC;AAAA,QACA,UAAAC;AAAA,QACA,UAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAWQ,EAAO;AAAA,QAClB,IAAI;AAAA,QACH,GAAGJ;AAAA,QAEJ,UAAA,gBAAAE;AAAA,UAACG;AAAA,UAAA;AAAA,YACC,OAAAd;AAAA,YACA,QAAAC;AAAA,YACA,UAAAC;AAAA,YACA,UAAAC;AAAA,YACA,WAAAC;AAAA,YACA,WAAAC;AAAA,YACA,QAAAC;AAAA,YACA,QAAAC;AAAA,YACA,KAAAG;AAAA,YACA,kBAAgBZ;AAAA,YAChB,WAAWiB,EAAKF,EAAO,YAAYL,GAAW,aAAa;AAAA,YAC3D,QAAQ;AAAA,YAEP,UAAAT;AAAA,UAAA;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAGN;AACF;"}
@@ -1,9 +1,9 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { Box as l } from "../../stacks/box/box.js";
3
- import { VStack as x } from "../../stacks/v_stack.js";
4
- import B from "classnames";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { Box as x } from "../../stacks/box/box.js";
3
+ import { VStack as l } from "../../stacks/v_stack.js";
4
+ import { clsx as B } from "clsx";
5
5
  import _ from "react";
6
- import '../../sidebar_start.css';const y = "_sidebarStartBox_4353011", N = "_sidebarStart_5b1e45b", e = { sidebarStartBox: y, sidebarStart: N }, I = _.forwardRef(
6
+ import '../../sidebar_start.css';const y = "_sidebarStartBox_4353011", u = "_sidebarStart_5b1e45b", e = { sidebarStartBox: y, sidebarStart: u }, I = _.forwardRef(
7
7
  function({
8
8
  hierarchy: c = "secondary",
9
9
  children: d,
@@ -12,35 +12,35 @@ import '../../sidebar_start.css';const y = "_sidebarStartBox_4353011", N = "_sid
12
12
  minWidth: r,
13
13
  maxWidth: t,
14
14
  minHeight: a,
15
- maxHeight: s,
15
+ maxHeight: o,
16
16
  hAlign: S,
17
- vAlign: m = "start",
18
- className: f,
17
+ vAlign: f = "start",
18
+ className: m,
19
19
  ...n
20
20
  }, p) {
21
- return /* @__PURE__ */ o(
22
- l,
21
+ return /* @__PURE__ */ s(
22
+ x,
23
23
  {
24
24
  width: b,
25
25
  height: i,
26
26
  minWidth: r,
27
27
  maxWidth: t,
28
28
  minHeight: a,
29
- maxHeight: s,
29
+ maxHeight: o,
30
30
  className: e.sidebarStartBox,
31
31
  ...n,
32
- children: /* @__PURE__ */ o(
33
- x,
32
+ children: /* @__PURE__ */ s(
33
+ l,
34
34
  {
35
35
  minWidth: r,
36
36
  maxWidth: t,
37
37
  minHeight: a,
38
- maxHeight: s,
38
+ maxHeight: o,
39
39
  hAlign: S,
40
- vAlign: m,
40
+ vAlign: f,
41
41
  ref: p,
42
42
  "data-hierarchy": c,
43
- className: B(e.sidebarStart, f, "sidebar-start"),
43
+ className: B(e.sidebarStart, m, "sidebar-start"),
44
44
  zIndex: 0,
45
45
  children: d
46
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar_start.js","sources":["../../../src/layouts/sidebar_start/sidebar_start.tsx"],"sourcesContent":["import { Box, type BoxProps } from '../../stacks/box/box.js';\nimport { VStack } from '../../stacks/v_stack.js';\nimport { Alignment } from '../../stacks/types/alignment.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './sidebar_start.module.css';\nimport type { Hierarchy } from '../../utils/index.js';\n\nexport interface SidebarStartProps extends Omit<BoxProps, 'as'> {\n hierarchy?: Hierarchy;\n hAlign?: Alignment;\n vAlign?: Alignment;\n}\n\nexport const SidebarStart = React.forwardRef<HTMLElement, SidebarStartProps>(\n function SidebarStart(\n {\n hierarchy = 'secondary',\n children,\n width,\n height,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n hAlign,\n vAlign = 'start',\n className,\n ...props\n }: SidebarStartProps,\n ref\n ) {\n return (\n <Box\n width={width}\n height={height}\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n className={styles.sidebarStartBox}\n {...props}\n >\n <VStack\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n hAlign={hAlign}\n vAlign={vAlign}\n ref={ref}\n data-hierarchy={hierarchy}\n className={classNames(styles.sidebarStart, className, 'sidebar-start')}\n zIndex={0}\n >\n {children}\n </VStack>\n </Box>\n );\n }\n);\n"],"names":["SidebarStart","React","hierarchy","children","width","height","minWidth","maxWidth","minHeight","maxHeight","hAlign","vAlign","className","props","ref","jsx","Box","styles","VStack","classNames"],"mappings":";;;;;gHAcaA,IAAeC,EAAM;AAAA,EAChC,SACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,GACA;AACA,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAAZ;AAAA,QACA,QAAAC;AAAA,QACA,UAAAC;AAAA,QACA,UAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAWQ,EAAO;AAAA,QACjB,GAAGJ;AAAA,QAEJ,UAAA,gBAAAE;AAAA,UAACG;AAAA,UAAA;AAAA,YACC,UAAAZ;AAAA,YACA,UAAAC;AAAA,YACA,WAAAC;AAAA,YACA,WAAAC;AAAA,YACA,QAAAC;AAAA,YACA,QAAAC;AAAA,YACA,KAAAG;AAAA,YACA,kBAAgBZ;AAAA,YAChB,WAAWiB,EAAWF,EAAO,cAAcL,GAAW,eAAe;AAAA,YACrE,QAAQ;AAAA,YAEP,UAAAT;AAAA,UAAA;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAGN;AACF;"}
1
+ {"version":3,"file":"sidebar_start.js","sources":["../../../src/layouts/sidebar_start/sidebar_start.tsx"],"sourcesContent":["import { Box, type BoxProps } from '../../stacks/box/box.js';\nimport { VStack } from '../../stacks/v_stack.js';\nimport { Alignment } from '../../stacks/types/alignment.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './sidebar_start.module.css';\nimport type { Hierarchy } from '../../utils/index.js';\n\nexport interface SidebarStartProps extends Omit<BoxProps, 'as'> {\n hierarchy?: Hierarchy;\n hAlign?: Alignment;\n vAlign?: Alignment;\n}\n\nexport const SidebarStart = React.forwardRef<HTMLElement, SidebarStartProps>(\n function SidebarStart(\n {\n hierarchy = 'secondary',\n children,\n width,\n height,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n hAlign,\n vAlign = 'start',\n className,\n ...props\n }: SidebarStartProps,\n ref\n ) {\n return (\n <Box\n width={width}\n height={height}\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n className={styles.sidebarStartBox}\n {...props}\n >\n <VStack\n minWidth={minWidth}\n maxWidth={maxWidth}\n minHeight={minHeight}\n maxHeight={maxHeight}\n hAlign={hAlign}\n vAlign={vAlign}\n ref={ref}\n data-hierarchy={hierarchy}\n className={clsx(styles.sidebarStart, className, 'sidebar-start')}\n zIndex={0}\n >\n {children}\n </VStack>\n </Box>\n );\n }\n);\n"],"names":["SidebarStart","React","hierarchy","children","width","height","minWidth","maxWidth","minHeight","maxHeight","hAlign","vAlign","className","props","ref","jsx","Box","styles","VStack","clsx"],"mappings":";;;;;gHAcaA,IAAeC,EAAM;AAAA,EAChC,SACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,GACA;AACA,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAAZ;AAAA,QACA,QAAAC;AAAA,QACA,UAAAC;AAAA,QACA,UAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAAC;AAAA,QACA,WAAWQ,EAAO;AAAA,QACjB,GAAGJ;AAAA,QAEJ,UAAA,gBAAAE;AAAA,UAACG;AAAA,UAAA;AAAA,YACC,UAAAZ;AAAA,YACA,UAAAC;AAAA,YACA,WAAAC;AAAA,YACA,WAAAC;AAAA,YACA,QAAAC;AAAA,YACA,QAAAC;AAAA,YACA,KAAAG;AAAA,YACA,kBAAgBZ;AAAA,YAChB,WAAWiB,EAAKF,EAAO,cAAcL,GAAW,eAAe;AAAA,YAC/D,QAAQ;AAAA,YAEP,UAAAT;AAAA,UAAA;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAGN;AACF;"}
@@ -1,22 +1,22 @@
1
- import { jsx as c } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import l from "react";
3
- import m from "classnames";
4
- import { HStack as y } from "../../stacks/h_stack.js";
5
- import '../../utility_bar.css';const u = "_utility-bar_3a92315", n = { "utility-bar": u }, B = l.forwardRef(
3
+ import { clsx as y } from "clsx";
4
+ import { HStack as m } from "../../stacks/h_stack.js";
5
+ import '../../utility_bar.css';const u = "_utility-bar_3a92315", n = { "utility-bar": u }, x = l.forwardRef(
6
6
  function({
7
7
  hierarchy: t = "secondary",
8
- height: a = "auto",
9
- children: r,
8
+ height: r = "auto",
9
+ children: a,
10
10
  className: i,
11
11
  size: o = "md",
12
12
  ...s
13
- }, e) {
14
- return /* @__PURE__ */ c(
15
- y,
13
+ }, c) {
14
+ return /* @__PURE__ */ e(
15
+ m,
16
16
  {
17
- ref: e,
17
+ ref: c,
18
18
  as: "header",
19
- className: m(
19
+ className: y(
20
20
  n["utility-bar"],
21
21
  i,
22
22
  "utility-bar",
@@ -24,14 +24,14 @@ import '../../utility_bar.css';const u = "_utility-bar_3a92315", n = { "utility-
24
24
  ),
25
25
  "data-hierarchy": t,
26
26
  "data-size": o,
27
- height: a,
27
+ height: r,
28
28
  ...s,
29
- children: r
29
+ children: a
30
30
  }
31
31
  );
32
32
  }
33
33
  );
34
34
  export {
35
- B as UtilityBar
35
+ x as UtilityBar
36
36
  };
37
37
  //# sourceMappingURL=utility_bar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utility_bar.js","sources":["../../../src/layouts/utility_bar/utility_bar.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport type { Hierarchy, Size } from '../../utils/index.js';\nimport styles from './utility_bar.module.css';\n\n// UtilityBar\nexport interface UtilityBarProps extends Omit<HStackProps, 'as'> {\n hierarchy?: Hierarchy;\n size?: Size;\n}\n\nexport const UtilityBar = React.forwardRef<HTMLElement, UtilityBarProps>(\n function UtilityBar(\n {\n hierarchy = 'secondary',\n height = 'auto',\n children,\n className,\n size = 'md',\n ...props\n }: UtilityBarProps,\n ref\n ) {\n return (\n <HStack\n ref={ref}\n as=\"header\"\n className={classNames(\n styles['utility-bar'],\n className,\n 'utility-bar',\n 'tcn-utility-bar'\n )}\n data-hierarchy={hierarchy}\n data-size={size}\n height={height}\n {...props}\n >\n {children}\n </HStack>\n );\n }\n);\n"],"names":["UtilityBar","React","hierarchy","height","children","className","size","props","ref","jsx","HStack","classNames","styles"],"mappings":";;;;4DAYaA,IAAaC,EAAM;AAAA,EAC9B,SACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,GAAGC;AAAA,EAAA,GAELC,GACA;AACA,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG;AAAA,UACTC,EAAO,aAAa;AAAA,UACpBP;AAAA,UACA;AAAA,UACA;AAAA,QAAA;AAAA,QAEF,kBAAgBH;AAAA,QAChB,aAAWI;AAAA,QACX,QAAAH;AAAA,QACC,GAAGI;AAAA,QAEH,UAAAH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
1
+ {"version":3,"file":"utility_bar.js","sources":["../../../src/layouts/utility_bar/utility_bar.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport type { Hierarchy, Size } from '../../utils/index.js';\nimport styles from './utility_bar.module.css';\n\n// UtilityBar\nexport interface UtilityBarProps extends Omit<HStackProps, 'as'> {\n hierarchy?: Hierarchy;\n size?: Size;\n}\n\nexport const UtilityBar = React.forwardRef<HTMLElement, UtilityBarProps>(\n function UtilityBar(\n {\n hierarchy = 'secondary',\n height = 'auto',\n children,\n className,\n size = 'md',\n ...props\n }: UtilityBarProps,\n ref\n ) {\n return (\n <HStack\n ref={ref}\n as=\"header\"\n className={clsx(\n styles['utility-bar'],\n className,\n 'utility-bar',\n 'tcn-utility-bar'\n )}\n data-hierarchy={hierarchy}\n data-size={size}\n height={height}\n {...props}\n >\n {children}\n </HStack>\n );\n }\n);\n"],"names":["UtilityBar","React","hierarchy","height","children","className","size","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;4DAYaA,IAAaC,EAAM;AAAA,EAC9B,SACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,GAAGC;AAAA,EAAA,GAELC,GACA;AACA,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG;AAAA,UACTC,EAAO,aAAa;AAAA,UACpBP;AAAA,UACA;AAAA,UACA;AAAA,QAAA;AAAA,QAEF,kBAAgBH;AAAA,QAChB,aAAWI;AAAA,QACX,QAAAH;AAAA,QACC,GAAGI;AAAA,QAEH,UAAAH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
package/dist/modal.css CHANGED
@@ -1 +1 @@
1
- ._modal_473c6ef{background-color:var(--background-color-primary)}
1
+ ._modal_473c6ef{width:100%;height:100%}
@@ -1,11 +1,11 @@
1
- import { jsxs as s, Fragment as c, jsx as t } from "react/jsx-runtime";
2
- import { P as m } from "../../portal-qqIp4SIl.js";
1
+ import { jsxs as c, Fragment as m, jsx as t } from "react/jsx-runtime";
2
+ import { Portal as s } from "../portal/portal.js";
3
3
  import { useState as h } from "react";
4
4
  import { Menu as u } from "../menu/menu.js";
5
5
  function v({ open: e, position: r, children: n, onClose: i }) {
6
6
  const [o, l] = h(null);
7
- return !e || r == null ? null : /* @__PURE__ */ s(c, { children: [
8
- /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t("div", { style: { position: "fixed", inset: 0 }, children: /* @__PURE__ */ t(
7
+ return !e || r == null ? null : /* @__PURE__ */ c(m, { children: [
8
+ /* @__PURE__ */ t(s, { children: /* @__PURE__ */ t("div", { style: { position: "fixed", inset: 0 }, children: /* @__PURE__ */ t(
9
9
  "div",
10
10
  {
11
11
  ref: (a) => {
@@ -1,13 +1,13 @@
1
- import { P as e } from "../portal-qqIp4SIl.js";
1
+ import { Portal as e } from "./portal/portal.js";
2
2
  import { ContextMenu as p } from "./context_menu/context_menu.js";
3
3
  import { Menu as x, MenuItem as f } from "./menu/menu.js";
4
4
  import { Tooltip as u } from "./tooltip/tooltip.js";
5
- import { Popper as P } from "./popper/popper.js";
5
+ import { Popper as l } from "./popper/popper.js";
6
6
  export {
7
7
  p as ContextMenu,
8
8
  x as Menu,
9
9
  f as MenuItem,
10
- P as Popper,
10
+ l as Popper,
11
11
  e as Portal,
12
12
  u as Tooltip
13
13
  };