@tcn/ui 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (400) hide show
  1. package/dist/actions/button/base_button/base_button.js +8 -8
  2. package/dist/actions/button/base_button/base_button.js.map +1 -1
  3. package/dist/actions/button/button/button.d.ts.map +1 -1
  4. package/dist/actions/button/button/button.js +13 -5
  5. package/dist/actions/button/button/button.js.map +1 -1
  6. package/dist/actions/button/button_group/button_group.d.ts.map +1 -1
  7. package/dist/actions/button/button_group/button_group.js +2 -5
  8. package/dist/actions/button/button_group/button_group.js.map +1 -1
  9. package/dist/actions/button/select_group/select_group.js +7 -7
  10. package/dist/actions/button/select_group/select_group.js.map +1 -1
  11. package/dist/actions/button/slim_button/slim_button.d.ts.map +1 -1
  12. package/dist/actions/button/slim_button/slim_button.js +4 -4
  13. package/dist/actions/button/slim_button/slim_button.js.map +1 -1
  14. package/dist/feedback/progress/progress_bar.js +1 -1
  15. package/dist/form/field/common/field_control/field_control.js +6 -6
  16. package/dist/form/field/common/field_control/field_control.js.map +1 -1
  17. package/dist/form/field/common/field_description.js +1 -1
  18. package/dist/form/field/common/field_error.js +3 -4
  19. package/dist/form/field/common/field_error.js.map +1 -1
  20. package/dist/form/field/common/field_header.js +8 -8
  21. package/dist/form/field/common/field_header.js.map +1 -1
  22. package/dist/form/field/common/field_label.js +1 -1
  23. package/dist/form/field/common/status_input/status_input.d.ts.map +1 -1
  24. package/dist/form/field/common/status_input/status_input.js +9 -15
  25. package/dist/form/field/common/status_input/status_input.js.map +1 -1
  26. package/dist/form/field/h_field/h_field.d.ts.map +1 -1
  27. package/dist/form/field/h_field/h_field.js +9 -9
  28. package/dist/form/field/h_field/h_field.js.map +1 -1
  29. package/dist/form/field/v_field/v_field.d.ts.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_presenters/options_field_presenter.d.ts.map +1 -1
  33. package/dist/form/field_presenters/options_field_presenter.js.map +1 -1
  34. package/dist/form/field_set/field_set.d.ts.map +1 -1
  35. package/dist/form/field_set/field_set.js +12 -19
  36. package/dist/form/field_set/field_set.js.map +1 -1
  37. package/dist/form/form_field.d.ts.map +1 -1
  38. package/dist/form/form_field.js.map +1 -1
  39. package/dist/form/index.d.ts +14 -11
  40. package/dist/form/index.d.ts.map +1 -1
  41. package/dist/form/index.js +27 -20
  42. package/dist/form/index.js.map +1 -1
  43. package/dist/h_body.css +1 -1
  44. package/dist/inputs/checkbox/checkbox.js +12 -12
  45. package/dist/inputs/checkbox/checkbox.js.map +1 -1
  46. package/dist/inputs/color_input/color_input.d.ts.map +1 -1
  47. package/dist/inputs/color_input/color_input.js +13 -17
  48. package/dist/inputs/color_input/color_input.js.map +1 -1
  49. package/dist/inputs/color_input/color_picker.js +6 -6
  50. package/dist/inputs/color_input/color_picker.js.map +1 -1
  51. package/dist/inputs/combo_box/combo_box.js +15 -15
  52. package/dist/inputs/combo_box/combo_box.js.map +1 -1
  53. package/dist/inputs/date_picker/date_picker.js +6 -6
  54. package/dist/inputs/date_picker/date_picker.js.map +1 -1
  55. package/dist/inputs/date_picker/date_picker_date.js +13 -13
  56. package/dist/inputs/date_picker/date_picker_date.js.map +1 -1
  57. package/dist/inputs/date_picker/date_picker_day.js +1 -1
  58. package/dist/inputs/date_picker/date_picker_header.js +24 -24
  59. package/dist/inputs/date_picker/date_picker_header.js.map +1 -1
  60. package/dist/inputs/date_picker/date_picker_input.js +19 -19
  61. package/dist/inputs/date_picker/date_picker_input.js.map +1 -1
  62. package/dist/inputs/date_picker/date_picker_time_selector.d.ts.map +1 -1
  63. package/dist/inputs/date_picker/date_picker_time_selector.js +6 -9
  64. package/dist/inputs/date_picker/date_picker_time_selector.js.map +1 -1
  65. package/dist/inputs/date_picker/date_picker_year_input.js +3 -3
  66. package/dist/inputs/date_picker/date_picker_year_input.js.map +1 -1
  67. package/dist/inputs/date_picker/date_picker_year_selector.d.ts.map +1 -1
  68. package/dist/inputs/date_picker/date_picker_year_selector.js +18 -24
  69. package/dist/inputs/date_picker/date_picker_year_selector.js.map +1 -1
  70. package/dist/inputs/input/input.js +4 -4
  71. package/dist/inputs/input/input.js.map +1 -1
  72. package/dist/inputs/multi_combo_box/multi_combo_box.js +1 -1
  73. package/dist/inputs/multi_combo_box/multi_combo_box.js.map +1 -1
  74. package/dist/inputs/multiselect/multiselect_values.js +8 -8
  75. package/dist/inputs/multiselect/multiselect_values.js.map +1 -1
  76. package/dist/inputs/phone_number_input/phone_number_input.d.ts.map +1 -1
  77. package/dist/inputs/phone_number_input/phone_number_input.js +28 -31
  78. package/dist/inputs/phone_number_input/phone_number_input.js.map +1 -1
  79. package/dist/inputs/radio/radio.js +14 -14
  80. package/dist/inputs/radio/radio.js.map +1 -1
  81. package/dist/inputs/select/select.js +16 -16
  82. package/dist/inputs/select/select.js.map +1 -1
  83. package/dist/inputs/slider/slider.js +7 -7
  84. package/dist/inputs/slider/slider.js.map +1 -1
  85. package/dist/inputs/suggestions/suggestion_item.js +3 -3
  86. package/dist/inputs/suggestions/suggestion_item.js.map +1 -1
  87. package/dist/inputs/suggestions/suggestion_list.js +8 -8
  88. package/dist/inputs/suggestions/suggestion_list.js.map +1 -1
  89. package/dist/inputs/switch/switch.js +14 -14
  90. package/dist/inputs/switch/switch.js.map +1 -1
  91. package/dist/inputs/textarea/textarea.js +6 -6
  92. package/dist/inputs/textarea/textarea.js.map +1 -1
  93. package/dist/inputs/unit_input/unit_input.js +5 -5
  94. package/dist/inputs/unit_input/unit_input.js.map +1 -1
  95. package/dist/layouts/body/h_body.d.ts.map +1 -1
  96. package/dist/layouts/body/h_body.js +12 -11
  97. package/dist/layouts/body/h_body.js.map +1 -1
  98. package/dist/layouts/body/v_body.d.ts.map +1 -1
  99. package/dist/layouts/body/v_body.js +11 -10
  100. package/dist/layouts/body/v_body.js.map +1 -1
  101. package/dist/layouts/column/column.js +16 -16
  102. package/dist/layouts/column/column.js.map +1 -1
  103. package/dist/layouts/divider/divider.d.ts +2 -2
  104. package/dist/layouts/divider/divider.d.ts.map +1 -1
  105. package/dist/layouts/divider/divider.js +22 -21
  106. package/dist/layouts/divider/divider.js.map +1 -1
  107. package/dist/layouts/footer/footer.d.ts +1 -1
  108. package/dist/layouts/footer/footer.d.ts.map +1 -1
  109. package/dist/layouts/footer/footer.js +10 -10
  110. package/dist/layouts/footer/footer.js.map +1 -1
  111. package/dist/layouts/grid/grid.d.ts.map +1 -1
  112. package/dist/layouts/grid/grid.js +22 -31
  113. package/dist/layouts/grid/grid.js.map +1 -1
  114. package/dist/layouts/header/header.d.ts +1 -1
  115. package/dist/layouts/header/header.d.ts.map +1 -1
  116. package/dist/layouts/header/header.js +20 -20
  117. package/dist/layouts/header/header.js.map +1 -1
  118. package/dist/layouts/list/item.js +6 -6
  119. package/dist/layouts/list/item.js.map +1 -1
  120. package/dist/layouts/list/list.js +6 -6
  121. package/dist/layouts/list/list.js.map +1 -1
  122. package/dist/layouts/sidebar_end/sidebar_end.js +15 -15
  123. package/dist/layouts/sidebar_end/sidebar_end.js.map +1 -1
  124. package/dist/layouts/sidebar_start/sidebar_start.js +16 -16
  125. package/dist/layouts/sidebar_start/sidebar_start.js.map +1 -1
  126. package/dist/layouts/utility_bar/utility_bar.d.ts +1 -1
  127. package/dist/layouts/utility_bar/utility_bar.d.ts.map +1 -1
  128. package/dist/layouts/utility_bar/utility_bar.js +20 -15
  129. package/dist/layouts/utility_bar/utility_bar.js.map +1 -1
  130. package/dist/modal.css +1 -1
  131. package/dist/overlay/menu/menu.js +8 -8
  132. package/dist/overlay/menu/menu.js.map +1 -1
  133. package/dist/overlay/tooltip/tooltip.js +10 -10
  134. package/dist/overlay/tooltip/tooltip.js.map +1 -1
  135. package/dist/panel.css +1 -1
  136. package/dist/panel.module-DwGKncon.js +5 -0
  137. package/dist/panel.module-DwGKncon.js.map +1 -0
  138. package/dist/stack.css +1 -1
  139. package/dist/stacks/box/bottom_resize_handle.js +9 -9
  140. package/dist/stacks/box/bottom_resize_handle.js.map +1 -1
  141. package/dist/stacks/box/box.js +42 -42
  142. package/dist/stacks/box/box.js.map +1 -1
  143. package/dist/stacks/box/end_resize_handle.js +6 -6
  144. package/dist/stacks/box/end_resize_handle.js.map +1 -1
  145. package/dist/stacks/box/left_resize_handle.js +3 -3
  146. package/dist/stacks/box/left_resize_handle.js.map +1 -1
  147. package/dist/stacks/box/right_resize_handle.js +8 -8
  148. package/dist/stacks/box/right_resize_handle.js.map +1 -1
  149. package/dist/stacks/box/start_resize_handle.js +7 -7
  150. package/dist/stacks/box/start_resize_handle.js.map +1 -1
  151. package/dist/stacks/box/top_resize_handle.js +8 -8
  152. package/dist/stacks/box/top_resize_handle.js.map +1 -1
  153. package/dist/stacks/h_collapsible_box.js +5 -5
  154. package/dist/stacks/h_collapsible_box.js.map +1 -1
  155. package/dist/stacks/h_stack.js +26 -26
  156. package/dist/stacks/h_stack.js.map +1 -1
  157. package/dist/stacks/spacer.js +5 -5
  158. package/dist/stacks/spacer.js.map +1 -1
  159. package/dist/stacks/story_components/circle.js +6 -6
  160. package/dist/stacks/story_components/circle.js.map +1 -1
  161. package/dist/stacks/story_components/picture_placeholder.js +8 -8
  162. package/dist/stacks/story_components/picture_placeholder.js.map +1 -1
  163. package/dist/stacks/story_components/rect.js +11 -11
  164. package/dist/stacks/story_components/rect.js.map +1 -1
  165. package/dist/stacks/types/styles.d.ts +2 -2
  166. package/dist/stacks/types/styles.d.ts.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.js +8 -8
  176. package/dist/surfaces/card/card.js.map +1 -1
  177. package/dist/surfaces/confirm/confirm.d.ts.map +1 -1
  178. package/dist/surfaces/confirm/confirm.js +13 -20
  179. package/dist/surfaces/confirm/confirm.js.map +1 -1
  180. package/dist/surfaces/drawers/drawer_bottom/drawer_bottom.js +5 -5
  181. package/dist/surfaces/drawers/drawer_bottom/drawer_bottom.js.map +1 -1
  182. package/dist/surfaces/drawers/drawer_end/drawer_end.js +8 -8
  183. package/dist/surfaces/drawers/drawer_end/drawer_end.js.map +1 -1
  184. package/dist/surfaces/drawers/drawer_start/drawer_start.js +4 -4
  185. package/dist/surfaces/drawers/drawer_start/drawer_start.js.map +1 -1
  186. package/dist/surfaces/drawers/drawer_top/drawer_top.js +4 -4
  187. package/dist/surfaces/drawers/drawer_top/drawer_top.js.map +1 -1
  188. package/dist/surfaces/modal/modal.d.ts +2 -4
  189. package/dist/surfaces/modal/modal.d.ts.map +1 -1
  190. package/dist/surfaces/modal/modal.js +16 -7
  191. package/dist/surfaces/modal/modal.js.map +1 -1
  192. package/dist/surfaces/page/h_page.js +6 -6
  193. package/dist/surfaces/page/h_page.js.map +1 -1
  194. package/dist/surfaces/page/v_page.js +9 -9
  195. package/dist/surfaces/page/v_page.js.map +1 -1
  196. package/dist/surfaces/panel/h_panel.d.ts +1 -1
  197. package/dist/surfaces/panel/h_panel.d.ts.map +1 -1
  198. package/dist/surfaces/panel/h_panel.js +36 -31
  199. package/dist/surfaces/panel/h_panel.js.map +1 -1
  200. package/dist/surfaces/panel/v_panel.d.ts +1 -1
  201. package/dist/surfaces/panel/v_panel.d.ts.map +1 -1
  202. package/dist/surfaces/panel/v_panel.js +39 -34
  203. package/dist/surfaces/panel/v_panel.js.map +1 -1
  204. package/dist/surfaces/popover/popover.js +34 -34
  205. package/dist/surfaces/popover/popover.js.map +1 -1
  206. package/dist/surfaces/window/window.d.ts.map +1 -1
  207. package/dist/surfaces/window/window.js +6 -14
  208. package/dist/surfaces/window/window.js.map +1 -1
  209. package/dist/themes/index.d.ts +0 -2
  210. package/dist/themes/index.d.ts.map +1 -1
  211. package/dist/themes/index.js +5 -204
  212. package/dist/themes/index.js.map +1 -1
  213. package/dist/themes/themes/ergo/ergo_theme.css +1 -1
  214. package/dist/tokens/badge/badge.js +13 -13
  215. package/dist/tokens/badge/badge.js.map +1 -1
  216. package/dist/tokens/bubble/bubble.js +16 -17
  217. package/dist/tokens/bubble/bubble.js.map +1 -1
  218. package/dist/tokens/chip/chip.js +10 -11
  219. package/dist/tokens/chip/chip.js.map +1 -1
  220. package/dist/typography/body_text/body_text.js +21 -21
  221. package/dist/typography/body_text/body_text.js.map +1 -1
  222. package/dist/typography/callout/callout.js +16 -16
  223. package/dist/typography/callout/callout.js.map +1 -1
  224. package/dist/typography/caption/caption.js +13 -13
  225. package/dist/typography/caption/caption.js.map +1 -1
  226. package/dist/typography/footnote/footnote.js +14 -14
  227. package/dist/typography/footnote/footnote.js.map +1 -1
  228. package/dist/typography/headline/headline.js +12 -12
  229. package/dist/typography/headline/headline.js.map +1 -1
  230. package/dist/typography/subheadline/subheadline.js +13 -13
  231. package/dist/typography/subheadline/subheadline.js.map +1 -1
  232. package/dist/typography/title/title.d.ts +1 -1
  233. package/dist/typography/title/title.d.ts.map +1 -1
  234. package/dist/typography/title/title.js +19 -19
  235. package/dist/typography/title/title.js.map +1 -1
  236. package/dist/v_body.css +1 -1
  237. package/package.json +23 -4
  238. package/src/actions/button/__stories__/button.stories.tsx +1 -1
  239. package/src/actions/button/__stories__/button_group.stories.tsx +1 -1
  240. package/src/actions/button/__stories__/select_group.stories.tsx +1 -1
  241. package/src/actions/button/__stories__/slim_button.stories.tsx +1 -1
  242. package/src/actions/button/base_button/base_button.tsx +2 -2
  243. package/src/actions/button/button/button.tsx +10 -4
  244. package/src/actions/button/button_group/button_group.tsx +4 -7
  245. package/src/actions/button/select_group/select_group.tsx +3 -3
  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 +4 -7
  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 +3 -3
  256. package/src/form/field/v_field/v_field.stories.tsx +10 -1
  257. package/src/form/field/v_field/v_field.tsx +3 -3
  258. package/src/form/field_presenters/options_field_presenter.ts +1 -1
  259. package/src/form/field_set/field_set.stories.tsx +9 -1
  260. package/src/form/field_set/field_set.tsx +4 -7
  261. package/src/form/form_field.tsx +1 -1
  262. package/src/form/index.ts +50 -11
  263. package/src/inputs/checkbox/checkbox.stories.tsx +9 -1
  264. package/src/inputs/checkbox/checkbox.tsx +2 -2
  265. package/src/inputs/color_input/color_input.stories.tsx +9 -1
  266. package/src/inputs/color_input/color_input.tsx +2 -6
  267. package/src/inputs/color_input/color_picker.tsx +2 -2
  268. package/src/inputs/combo_box/combo_box.stories.tsx +14 -5
  269. package/src/inputs/combo_box/combo_box.tsx +2 -2
  270. package/src/inputs/date_picker/date_picker.stories.tsx +18 -10
  271. package/src/inputs/date_picker/date_picker.tsx +3 -3
  272. package/src/inputs/date_picker/date_picker_date.tsx +3 -3
  273. package/src/inputs/date_picker/date_picker_header.tsx +2 -2
  274. package/src/inputs/date_picker/date_picker_input.stories.tsx +15 -7
  275. package/src/inputs/date_picker/date_picker_input.tsx +3 -3
  276. package/src/inputs/date_picker/date_picker_time_selector.tsx +5 -8
  277. package/src/inputs/date_picker/date_picker_year_input.tsx +2 -2
  278. package/src/inputs/date_picker/date_picker_year_selector.tsx +3 -9
  279. package/src/inputs/input/input.stories.tsx +9 -1
  280. package/src/inputs/input/input.tsx +2 -2
  281. package/src/inputs/mask_input/key_capture_input.stories.tsx +9 -1
  282. package/src/inputs/mask_input/mask_input.stories.tsx +10 -1
  283. package/src/inputs/multi_combo_box/multi_combo_box.stories.tsx +10 -1
  284. package/src/inputs/multi_combo_box/multi_combo_box.tsx +2 -2
  285. package/src/inputs/multiselect/multiselect_values.tsx +2 -2
  286. package/src/inputs/multiselect/mutliselect.stories.tsx +10 -1
  287. package/src/inputs/phone_number_input/phone_number_input.stories.tsx +10 -1
  288. package/src/inputs/phone_number_input/phone_number_input.tsx +6 -9
  289. package/src/inputs/radio/radio.stories.tsx +14 -6
  290. package/src/inputs/radio/radio.tsx +2 -2
  291. package/src/inputs/select/select.stories.tsx +18 -9
  292. package/src/inputs/select/select.tsx +2 -2
  293. package/src/inputs/slider/slider.stories.tsx +9 -1
  294. package/src/inputs/slider/slider.tsx +2 -2
  295. package/src/inputs/suggestions/suggestion_item.tsx +2 -2
  296. package/src/inputs/suggestions/suggestion_list.stories.tsx +21 -12
  297. package/src/inputs/suggestions/suggestion_list.tsx +3 -3
  298. package/src/inputs/switch/switch.stories.tsx +9 -1
  299. package/src/inputs/switch/switch.tsx +4 -4
  300. package/src/inputs/textarea/textarea.stories.tsx +9 -1
  301. package/src/inputs/textarea/textarea.tsx +2 -2
  302. package/src/inputs/unit_input/unit_input.stories.tsx +9 -1
  303. package/src/inputs/unit_input/unit_input.tsx +4 -4
  304. package/src/layouts/body/h_body.module.css +3 -2
  305. package/src/layouts/body/h_body.tsx +5 -4
  306. package/src/layouts/body/v_body.module.css +3 -2
  307. package/src/layouts/body/v_body.tsx +5 -4
  308. package/src/layouts/column/column.tsx +3 -3
  309. package/src/layouts/divider/__stories__/divider.stories.tsx +59 -19
  310. package/src/layouts/divider/divider.tsx +6 -5
  311. package/src/layouts/footer/footer.tsx +4 -4
  312. package/src/layouts/grid/grid.stories.tsx +42 -34
  313. package/src/layouts/grid/grid.tsx +2 -7
  314. package/src/layouts/header/header.tsx +4 -4
  315. package/src/layouts/list/item.tsx +2 -2
  316. package/src/layouts/list/list.tsx +2 -2
  317. package/src/layouts/sidebar_end/sidebar_end.tsx +2 -2
  318. package/src/layouts/sidebar_start/sidebar_start.tsx +2 -2
  319. package/src/layouts/utility_bar/utility_bar.tsx +9 -4
  320. package/src/overlay/context_menu/context_menu.stories.tsx +13 -5
  321. package/src/overlay/menu/menu.stories.tsx +22 -14
  322. package/src/overlay/menu/menu.tsx +3 -3
  323. package/src/overlay/popper/popper.stories.tsx +43 -22
  324. package/src/overlay/portal/portal.stories.tsx +10 -1
  325. package/src/overlay/tooltip/tooltip.stories.tsx +9 -2
  326. package/src/overlay/tooltip/tooltip.tsx +2 -2
  327. package/src/stacks/box/bottom_resize_handle.tsx +2 -2
  328. package/src/stacks/box/box.tsx +2 -2
  329. package/src/stacks/box/end_resize_handle.tsx +2 -2
  330. package/src/stacks/box/left_resize_handle.tsx +2 -2
  331. package/src/stacks/box/right_resize_handle.tsx +2 -2
  332. package/src/stacks/box/start_resize_handle.tsx +2 -2
  333. package/src/stacks/box/top_resize_handle.tsx +2 -2
  334. package/src/stacks/collapsible_box.stories.tsx +10 -1
  335. package/src/stacks/h_collapsible_box.tsx +2 -2
  336. package/src/stacks/h_stack.stories.tsx +104 -59
  337. package/src/stacks/h_stack.tsx +2 -2
  338. package/src/stacks/spacer.tsx +2 -2
  339. package/src/stacks/stack.module.css +54 -5
  340. package/src/stacks/stacks.mdx +28 -28
  341. package/src/stacks/story_components/circle.tsx +2 -2
  342. package/src/stacks/story_components/picture_placeholder.tsx +2 -2
  343. package/src/stacks/story_components/rect.tsx +2 -2
  344. package/src/stacks/types/styles.ts +2 -2
  345. package/src/stacks/v_collapsible_box.tsx +2 -2
  346. package/src/stacks/v_stack.stories.tsx +91 -10
  347. package/src/stacks/v_stack.tsx +2 -2
  348. package/src/stacks/z_stack.stories.tsx +9 -1
  349. package/src/stacks/z_stack.tsx +2 -2
  350. package/src/surfaces/alert/alert.stories.tsx +4 -4
  351. package/src/surfaces/alert/alert.tsx +2 -2
  352. package/src/surfaces/card/card.tsx +2 -2
  353. package/src/surfaces/confirm/confirm.stories.tsx +4 -4
  354. package/src/surfaces/confirm/confirm.tsx +3 -6
  355. package/src/surfaces/drawers/__stories__/drawers.stories.tsx +1 -1
  356. package/src/surfaces/drawers/drawer_bottom/drawer_bottom.tsx +2 -2
  357. package/src/surfaces/drawers/drawer_end/drawer_end.tsx +2 -2
  358. package/src/surfaces/drawers/drawer_start/drawer_start.tsx +2 -2
  359. package/src/surfaces/drawers/drawer_top/drawer_top.tsx +2 -2
  360. package/src/surfaces/modal/__stories__/modal.stories.tsx +54 -0
  361. package/src/surfaces/modal/modal.module.css +2 -1
  362. package/src/surfaces/modal/modal.tsx +9 -6
  363. package/src/surfaces/page/h_page.tsx +2 -2
  364. package/src/surfaces/page/v_page.tsx +2 -2
  365. package/src/surfaces/panel/__stories__/panel.stories.tsx +68 -0
  366. package/src/surfaces/panel/__stories__/panel_stories.module.css +13 -0
  367. package/src/surfaces/panel/h_panel.tsx +12 -6
  368. package/src/surfaces/panel/panel.module.css +2 -7
  369. package/src/surfaces/panel/v_panel.tsx +11 -5
  370. package/src/surfaces/popover/popover.tsx +2 -2
  371. package/src/surfaces/window/window.stories.tsx +1 -1
  372. package/src/surfaces/window/window.tsx +2 -6
  373. package/src/themes/index.ts +0 -2
  374. package/src/themes/stories/themes.stories.tsx +1 -1
  375. package/src/themes/themes/ergo/ergo_theme.css +142 -10
  376. package/src/tokens/badge/badge.stories.tsx +6 -6
  377. package/src/tokens/badge/badge.tsx +3 -3
  378. package/src/tokens/bubble/bubble.stories.tsx +16 -9
  379. package/src/tokens/bubble/bubble.tsx +2 -2
  380. package/src/tokens/chip/chip.stories.tsx +1 -1
  381. package/src/tokens/chip/chip.tsx +2 -2
  382. package/src/typography/body_text/body_text.tsx +2 -2
  383. package/src/typography/callout/callout.tsx +2 -2
  384. package/src/typography/caption/caption.tsx +2 -2
  385. package/src/typography/footnote/footnote.tsx +2 -2
  386. package/src/typography/headline/headline.tsx +2 -2
  387. package/src/typography/subheadline/subheadline.tsx +2 -2
  388. package/src/typography/title/title.tsx +3 -3
  389. package/src/typography/typography-showcase.stories.tsx +2 -2
  390. package/src/utils/click_away_listener.stories.tsx +21 -11
  391. package/src/utils/responsive/responsive_renderer.stories.tsx +7 -7
  392. package/src/utils/scroll_away_listener.stories.tsx +11 -1
  393. package/dist/form/field/form_field.d.ts +0 -6
  394. package/dist/form/field/form_field.d.ts.map +0 -1
  395. package/dist/form/field/form_field.js +0 -18
  396. package/dist/form/field/form_field.js.map +0 -1
  397. package/dist/panel.module-CtikcmYB.js +0 -5
  398. package/dist/panel.module-CtikcmYB.js.map +0 -1
  399. package/src/form/field/form_field.tsx +0 -29
  400. package/src/surfaces/modal/modal.stories.tsx +0 -15
@@ -1,5 +1,5 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import E from "classnames";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { clsx as E } from "clsx";
3
3
  import F from "react";
4
4
  import { removeUndefinedProperties as G } from "./utils/remove_undefined_properties.js";
5
5
  import { s as H } from "../stack.module-CBV1f12Z.js";
@@ -11,10 +11,10 @@ const T = F.forwardRef(function({
11
11
  hAlign: n = "center",
12
12
  vAlign: m = "center",
13
13
  inline: f,
14
- width: a = "default",
14
+ width: e = "default",
15
15
  minWidth: c,
16
16
  maxWidth: d,
17
- height: e = "default",
17
+ height: o = "default",
18
18
  minHeight: l,
19
19
  maxHeight: p,
20
20
  growWeight: g,
@@ -24,47 +24,47 @@ const T = F.forwardRef(function({
24
24
  paddingInline: y,
25
25
  paddingInlineStart: S,
26
26
  paddingInlineEnd: h,
27
- paddingTop: z,
28
- paddingBottom: w,
29
- margin: x,
30
- marginBlock: N,
31
- marginInline: P,
32
- marginInlineStart: R,
33
- marginInlineEnd: W,
34
- marginTop: Z,
35
- marginBottom: j,
36
- zIndex: A,
37
- className: B,
38
- overflow: C,
27
+ paddingTop: x,
28
+ paddingBottom: z,
29
+ margin: w,
30
+ marginBlock: P,
31
+ marginInline: R,
32
+ marginInlineStart: W,
33
+ marginInlineEnd: Z,
34
+ marginTop: j,
35
+ marginBottom: A,
36
+ zIndex: B,
37
+ className: C,
38
+ overflow: N,
39
39
  ...U
40
40
  }, b) {
41
41
  const q = s, D = {
42
42
  minWidth: c,
43
- width: r(a) ? void 0 : a,
43
+ width: r(e) ? void 0 : e,
44
44
  maxWidth: d,
45
45
  minHeight: l,
46
- height: r(e) ? void 0 : e,
46
+ height: r(o) ? void 0 : o,
47
47
  maxHeight: p,
48
48
  flexGrow: g,
49
49
  flexShrink: k,
50
- zIndex: A,
51
- overflow: C,
50
+ zIndex: B,
51
+ overflow: N,
52
52
  padding: u,
53
53
  paddingBlock: v,
54
54
  paddingInline: y,
55
55
  paddingInlineStart: S,
56
56
  paddingInlineEnd: h,
57
- paddingTop: z,
58
- paddingBottom: w,
59
- margin: x,
60
- marginBlock: N,
61
- marginInline: P,
62
- marginInlineStart: R,
63
- marginInlineEnd: W,
64
- marginTop: Z,
65
- marginBottom: j
57
+ paddingTop: x,
58
+ paddingBottom: z,
59
+ margin: w,
60
+ marginBlock: P,
61
+ marginInline: R,
62
+ marginInlineStart: W,
63
+ marginInlineEnd: Z,
64
+ marginTop: j,
65
+ marginBottom: A
66
66
  };
67
- return /* @__PURE__ */ o(
67
+ return /* @__PURE__ */ a(
68
68
  q,
69
69
  {
70
70
  ref: b,
@@ -72,14 +72,14 @@ const T = F.forwardRef(function({
72
72
  ...G(D),
73
73
  ...i
74
74
  },
75
- className: E(H["z-stack"], B, "z-stack", "stack"),
75
+ className: E(H["z-stack"], C, "z-stack", "stack"),
76
76
  "data-inline": !!f,
77
77
  "data-v-alignment": m,
78
78
  "data-h-alignment": n,
79
- "data-height": e,
80
- "data-width": a,
79
+ "data-height": o,
80
+ "data-width": e,
81
81
  ...U,
82
- children: typeof t == "string" ? /* @__PURE__ */ o("span", { children: t }) : t
82
+ children: typeof t == "string" ? /* @__PURE__ */ a("span", { children: t }) : t
83
83
  }
84
84
  );
85
85
  });
@@ -1 +1 @@
1
- {"version":3,"file":"z_stack.js","sources":["../../src/stacks/z_stack.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport React, { HTMLAttributes } from 'react';\nimport { removeUndefinedProperties } from './utils/remove_undefined_properties.js';\nimport { CommonProps } from './types/common.js';\nimport { StackStyleProps } from './types/styles.js';\nimport styles from './stack.module.css';\nimport { isCustomSizeProp } from './utils/isCustomSizeProp.js';\n\nexport type ZStackOwnProps = CommonProps &\n StackStyleProps & {\n overflow?: 'hidden' | 'visible';\n };\n\nexport interface ZStackProps<T extends HTMLElement = HTMLElement>\n extends ZStackOwnProps,\n HTMLAttributes<T> {\n as?: string;\n children?: React.ReactNode;\n}\n\nexport const ZStack = React.forwardRef(function ZStack<T extends HTMLElement>(\n {\n as = 'div',\n children,\n style,\n hAlign = 'center',\n vAlign = 'center',\n inline,\n width = 'default',\n minWidth,\n maxWidth,\n height = 'default',\n minHeight,\n maxHeight,\n growWeight: flexGrow,\n shrinkWeight: flexShrink,\n padding,\n paddingBlock,\n paddingInline,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginBlock,\n marginInline,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n zIndex,\n className,\n overflow,\n ...attr\n }: ZStackProps<T>,\n ref: React.Ref<T>\n) {\n const As = as as React.ElementType;\n const defaultStyles = {\n minWidth,\n width: !isCustomSizeProp(width) ? width : undefined,\n maxWidth,\n minHeight,\n height: !isCustomSizeProp(height) ? height : undefined,\n maxHeight,\n flexGrow,\n flexShrink,\n zIndex,\n overflow,\n padding,\n paddingBlock,\n paddingInline,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginBlock,\n marginInline,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n };\n\n return (\n <As\n ref={ref}\n style={{\n ...removeUndefinedProperties(defaultStyles),\n ...style,\n }}\n className={classNames(styles['z-stack'], className, 'z-stack', 'stack')}\n data-inline={Boolean(inline)}\n data-v-alignment={vAlign}\n data-h-alignment={hAlign}\n data-height={height}\n data-width={width}\n {...attr}\n >\n {typeof children === 'string' ? <span>{children}</span> : children}\n </As>\n );\n});\n"],"names":["ZStack","React","as","children","style","hAlign","vAlign","inline","width","minWidth","maxWidth","height","minHeight","maxHeight","flexGrow","flexShrink","padding","paddingBlock","paddingInline","paddingInlineStart","paddingInlineEnd","paddingTop","paddingBottom","margin","marginBlock","marginInline","marginInlineStart","marginInlineEnd","marginTop","marginBottom","zIndex","className","overflow","attr","ref","As","defaultStyles","isCustomSizeProp","jsx","removeUndefinedProperties","classNames","styles"],"mappings":";;;;;;AAoBO,MAAMA,IAASC,EAAM,WAAW,SACrC;AAAA,EACE,IAAAC,IAAK;AAAA,EACL,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC,IAAS;AAAA,EACT,QAAAC,IAAS;AAAA,EACT,QAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC,IAAS;AAAA,EACT,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAYC;AAAA,EACZ,cAAcC;AAAA,EACd,SAAAC;AAAA,EACA,cAAAC;AAAA,EACA,eAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,QAAAC;AAAA,EACA,aAAAC;AAAA,EACA,cAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,cAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAKjC,GACLkC,IAAgB;AAAA,IACpB,UAAA3B;AAAA,IACA,OAAQ4B,EAAiB7B,CAAK,IAAY,SAARA;AAAA,IAClC,UAAAE;AAAA,IACA,WAAAE;AAAA,IACA,QAASyB,EAAiB1B,CAAM,IAAa,SAATA;AAAA,IACpC,WAAAE;AAAA,IACA,UAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAe;AAAA,IACA,UAAAE;AAAA,IACA,SAAAhB;AAAA,IACA,cAAAC;AAAA,IACA,eAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,eAAAC;AAAA,IACA,QAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,EAAA;AAGF,SACE,gBAAAS;AAAA,IAACH;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,OAAO;AAAA,QACL,GAAGK,EAA0BH,CAAa;AAAA,QAC1C,GAAGhC;AAAA,MAAA;AAAA,MAEL,WAAWoC,EAAWC,EAAO,SAAS,GAAGV,GAAW,WAAW,OAAO;AAAA,MACtE,eAAa,EAAQxB;AAAA,MACrB,oBAAkBD;AAAA,MAClB,oBAAkBD;AAAA,MAClB,eAAaM;AAAA,MACb,cAAYH;AAAA,MACX,GAAGyB;AAAA,MAEH,iBAAO9B,KAAa,WAAW,gBAAAmC,EAAC,QAAA,EAAM,UAAAnC,GAAS,IAAUA;AAAA,IAAA;AAAA,EAAA;AAGhE,CAAC;"}
1
+ {"version":3,"file":"z_stack.js","sources":["../../src/stacks/z_stack.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React, { HTMLAttributes } from 'react';\nimport { removeUndefinedProperties } from './utils/remove_undefined_properties.js';\nimport { CommonProps } from './types/common.js';\nimport { StackStyleProps } from './types/styles.js';\nimport styles from './stack.module.css';\nimport { isCustomSizeProp } from './utils/isCustomSizeProp.js';\n\nexport type ZStackOwnProps = CommonProps &\n StackStyleProps & {\n overflow?: 'hidden' | 'visible';\n };\n\nexport interface ZStackProps<T extends HTMLElement = HTMLElement>\n extends ZStackOwnProps,\n HTMLAttributes<T> {\n as?: string;\n children?: React.ReactNode;\n}\n\nexport const ZStack = React.forwardRef(function ZStack<T extends HTMLElement>(\n {\n as = 'div',\n children,\n style,\n hAlign = 'center',\n vAlign = 'center',\n inline,\n width = 'default',\n minWidth,\n maxWidth,\n height = 'default',\n minHeight,\n maxHeight,\n growWeight: flexGrow,\n shrinkWeight: flexShrink,\n padding,\n paddingBlock,\n paddingInline,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginBlock,\n marginInline,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n zIndex,\n className,\n overflow,\n ...attr\n }: ZStackProps<T>,\n ref: React.Ref<T>\n) {\n const As = as as React.ElementType;\n const defaultStyles = {\n minWidth,\n width: !isCustomSizeProp(width) ? width : undefined,\n maxWidth,\n minHeight,\n height: !isCustomSizeProp(height) ? height : undefined,\n maxHeight,\n flexGrow,\n flexShrink,\n zIndex,\n overflow,\n padding,\n paddingBlock,\n paddingInline,\n paddingInlineStart,\n paddingInlineEnd,\n paddingTop,\n paddingBottom,\n margin,\n marginBlock,\n marginInline,\n marginInlineStart,\n marginInlineEnd,\n marginTop,\n marginBottom,\n };\n\n return (\n <As\n ref={ref}\n style={{\n ...removeUndefinedProperties(defaultStyles),\n ...style,\n }}\n className={clsx(styles['z-stack'], className, 'z-stack', 'stack')}\n data-inline={Boolean(inline)}\n data-v-alignment={vAlign}\n data-h-alignment={hAlign}\n data-height={height}\n data-width={width}\n {...attr}\n >\n {typeof children === 'string' ? <span>{children}</span> : children}\n </As>\n );\n});\n"],"names":["ZStack","React","as","children","style","hAlign","vAlign","inline","width","minWidth","maxWidth","height","minHeight","maxHeight","flexGrow","flexShrink","padding","paddingBlock","paddingInline","paddingInlineStart","paddingInlineEnd","paddingTop","paddingBottom","margin","marginBlock","marginInline","marginInlineStart","marginInlineEnd","marginTop","marginBottom","zIndex","className","overflow","attr","ref","As","defaultStyles","isCustomSizeProp","jsx","removeUndefinedProperties","clsx","styles"],"mappings":";;;;;;AAoBO,MAAMA,IAASC,EAAM,WAAW,SACrC;AAAA,EACE,IAAAC,IAAK;AAAA,EACL,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC,IAAS;AAAA,EACT,QAAAC,IAAS;AAAA,EACT,QAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC,IAAS;AAAA,EACT,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAYC;AAAA,EACZ,cAAcC;AAAA,EACd,SAAAC;AAAA,EACA,cAAAC;AAAA,EACA,eAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,QAAAC;AAAA,EACA,aAAAC;AAAA,EACA,cAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,cAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAKjC,GACLkC,IAAgB;AAAA,IACpB,UAAA3B;AAAA,IACA,OAAQ4B,EAAiB7B,CAAK,IAAY,SAARA;AAAA,IAClC,UAAAE;AAAA,IACA,WAAAE;AAAA,IACA,QAASyB,EAAiB1B,CAAM,IAAa,SAATA;AAAA,IACpC,WAAAE;AAAA,IACA,UAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAe;AAAA,IACA,UAAAE;AAAA,IACA,SAAAhB;AAAA,IACA,cAAAC;AAAA,IACA,eAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,eAAAC;AAAA,IACA,QAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,EAAA;AAGF,SACE,gBAAAS;AAAA,IAACH;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,OAAO;AAAA,QACL,GAAGK,EAA0BH,CAAa;AAAA,QAC1C,GAAGhC;AAAA,MAAA;AAAA,MAEL,WAAWoC,EAAKC,EAAO,SAAS,GAAGV,GAAW,WAAW,OAAO;AAAA,MAChE,eAAa,EAAQxB;AAAA,MACrB,oBAAkBD;AAAA,MAClB,oBAAkBD;AAAA,MAClB,eAAaM;AAAA,MACb,cAAYH;AAAA,MACX,GAAGyB;AAAA,MAEH,iBAAO9B,KAAa,WAAW,gBAAAmC,EAAC,QAAA,EAAM,UAAAnC,GAAS,IAAUA;AAAA,IAAA;AAAA,EAAA;AAGhE,CAAC;"}
@@ -1,21 +1,21 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import p from "classnames";
2
+ import { clsx as p } from "clsx";
3
3
  import e from "react";
4
4
  import "../../actions/button/base_button/base_button.js";
5
5
  import "../../actions/button/button_group/button_group.js";
6
6
  import "../../actions/button/slim_button/slim_button.js";
7
- import { Button as a } from "../../actions/button/button/button.js";
7
+ import { Button as c } from "../../actions/button/button/button.js";
8
8
  import "../../actions/button/select_group/select_group.js";
9
9
  import "../../actions/button/select_group/single_select_group.js";
10
- import { Confirm as c } from "../confirm/confirm.js";
11
- const C = e.forwardRef(function({ className: o, onAccept: t, ...m }, i) {
10
+ import { Confirm as f } from "../confirm/confirm.js";
11
+ const C = e.forwardRef(function({ className: o, onAccept: t, ...i }, m) {
12
12
  return /* @__PURE__ */ r(
13
- c,
13
+ f,
14
14
  {
15
- ref: i,
15
+ ref: m,
16
16
  className: p(o, "alert"),
17
- ...m,
18
- actions: /* @__PURE__ */ r(a, { onClick: t, hierarchy: "primary", width: "100%", children: "OK" })
17
+ ...i,
18
+ actions: /* @__PURE__ */ r(c, { onClick: t, hierarchy: "primary", width: "100%", children: "OK" })
19
19
  }
20
20
  );
21
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","sources":["../../../src/surfaces/alert/alert.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport React from 'react';\nimport { Button } from '../../actions/index.js';\nimport { Confirm, ConfirmProps } from '../confirm/confirm.js';\n\nexport interface AlertProps extends Omit<ConfirmProps, 'actions'> {\n open?: boolean;\n graphic?: React.ReactNode;\n title?: string;\n description?: string;\n onAccept?: () => void;\n}\n\nexport const Alert = React.forwardRef(function Alert(\n { className, onAccept, ...props }: AlertProps,\n ref: React.Ref<HTMLDivElement>\n) {\n return (\n <Confirm\n ref={ref}\n className={classNames(className, 'alert')}\n {...props}\n actions={\n <Button onClick={onAccept} hierarchy=\"primary\" width=\"100%\">\n OK\n </Button>\n }\n />\n );\n});\n"],"names":["Alert","React","className","onAccept","props","ref","jsx","Confirm","classNames","Button"],"mappings":";;;;;;;;;;AAaO,MAAMA,IAAQC,EAAM,WAAW,SACpC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,WAAWG,EAAWN,GAAW,OAAO;AAAA,MACvC,GAAGE;AAAA,MACJ,2BACGK,GAAA,EAAO,SAASN,GAAU,WAAU,WAAU,OAAM,QAAO,UAAA,KAAA,CAE5D;AAAA,IAAA;AAAA,EAAA;AAIR,CAAC;"}
1
+ {"version":3,"file":"alert.js","sources":["../../../src/surfaces/alert/alert.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React from 'react';\nimport { Button } from '../../actions/index.js';\nimport { Confirm, ConfirmProps } from '../confirm/confirm.js';\n\nexport interface AlertProps extends Omit<ConfirmProps, 'actions'> {\n open?: boolean;\n graphic?: React.ReactNode;\n title?: string;\n description?: string;\n onAccept?: () => void;\n}\n\nexport const Alert = React.forwardRef(function Alert(\n { className, onAccept, ...props }: AlertProps,\n ref: React.Ref<HTMLDivElement>\n) {\n return (\n <Confirm\n ref={ref}\n className={clsx(className, 'alert')}\n {...props}\n actions={\n <Button onClick={onAccept} hierarchy=\"primary\" width=\"100%\">\n OK\n </Button>\n }\n />\n );\n});\n"],"names":["Alert","React","className","onAccept","props","ref","jsx","Confirm","clsx","Button"],"mappings":";;;;;;;;;;AAaO,MAAMA,IAAQC,EAAM,WAAW,SACpC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,WAAWG,EAAKN,GAAW,OAAO;AAAA,MACjC,GAAGE;AAAA,MACJ,2BACGK,GAAA,EAAO,SAASN,GAAU,WAAU,WAAU,OAAM,QAAO,UAAA,KAAA,CAE5D;AAAA,IAAA;AAAA,EAAA;AAIR,CAAC;"}
@@ -1,20 +1,20 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as a } from "react/jsx-runtime";
2
2
  import { VStack as s } from "../../stacks/v_stack.js";
3
- import m from "classnames";
3
+ import { clsx as m } from "clsx";
4
4
  import e from "react";
5
- import '../../card.css';const n = "_card_a3c9492", f = { card: n }, x = e.forwardRef(function({ children: r, className: a, ...o }, c) {
6
- return /* @__PURE__ */ t(
5
+ import '../../card.css';const n = "_card_a3c9492", f = { card: n }, u = e.forwardRef(function({ children: r, className: o, ...c }, t) {
6
+ return /* @__PURE__ */ a(
7
7
  s,
8
8
  {
9
- ref: c,
9
+ ref: t,
10
10
  as: "section",
11
- className: m(a, f.card, "card"),
12
- ...o,
11
+ className: m(o, f.card, "card"),
12
+ ...c,
13
13
  children: r
14
14
  }
15
15
  );
16
16
  });
17
17
  export {
18
- x as Card
18
+ u as Card
19
19
  };
20
20
  //# sourceMappingURL=card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","sources":["../../../src/surfaces/card/card.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './card.module.css';\n\nexport interface CardProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const Card = React.forwardRef<HTMLElement, CardProps>(function VPanel(\n { children, className, ...props }: CardProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={classNames(className, styles.card, 'card')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["Card","React","children","className","props","ref","jsx","VStack","classNames","styles"],"mappings":";;;;4CASaA,IAAOC,EAAM,WAAmC,SAC3D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAWL,GAAWM,EAAO,MAAM,MAAM;AAAA,MACnD,GAAGL;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"card.js","sources":["../../../src/surfaces/card/card.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './card.module.css';\n\nexport interface CardProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const Card = React.forwardRef<HTMLElement, CardProps>(function VPanel(\n { children, className, ...props }: CardProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(className, styles.card, 'card')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["Card","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;4CASaA,IAAOC,EAAM,WAAmC,SAC3D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKL,GAAWM,EAAO,MAAM,MAAM;AAAA,MAC7C,GAAGL;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/surfaces/confirm/confirm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAQjE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,QAAQ,CAAC;CACtB;AAED,eAAO,MAAM,OAAO,qFAuElB,CAAC"}
1
+ {"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/surfaces/confirm/confirm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAQjE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,QAAQ,CAAC;CACtB;AAED,eAAO,MAAM,OAAO,qFAoElB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, Fragment as _, jsxs as i } from "react/jsx-runtime";
2
- import w, { useRef as N, useState as S, useLayoutEffect as s } from "react";
3
- import n from "classnames";
4
- import { Spacer as C } from "../../stacks/spacer.js";
2
+ import w, { useRef as S, useState as C, useLayoutEffect as n } from "react";
3
+ import { clsx as s } from "clsx";
4
+ import { Spacer as N } from "../../stacks/spacer.js";
5
5
  import { VStack as T } from "../../stacks/v_stack.js";
6
6
  import { ZStack as R } from "../../stacks/z_stack.js";
7
7
  import { P as j } from "../../portal-qqIp4SIl.js";
@@ -22,11 +22,11 @@ import '../../confirm.css';const b = "_confirm_e53f865", v = "_shake_d5d9154", z
22
22
  veilProps: d,
23
23
  className: u,
24
24
  ...k
25
- }, g) {
26
- const t = N(!1), [e, o] = S(!1);
27
- s(() => (t.current = !0, () => {
25
+ }, x) {
26
+ const t = S(!1), [e, o] = C(!1);
27
+ n(() => (t.current = !0, () => {
28
28
  t.current = !1;
29
- }), []), s(() => {
29
+ }), []), n(() => {
30
30
  if (e && t.current) {
31
31
  const y = window.setTimeout(() => {
32
32
  o(!1);
@@ -34,31 +34,24 @@ import '../../confirm.css';const b = "_confirm_e53f865", v = "_shake_d5d9154", z
34
34
  return () => window.clearTimeout(y);
35
35
  }
36
36
  }, [e]);
37
- function x() {
37
+ function g() {
38
38
  o(!0);
39
39
  }
40
40
  return /* @__PURE__ */ r(_, { children: a && /* @__PURE__ */ r(j, { children: /* @__PURE__ */ i(R, { height: "100%", style: { position: "fixed" }, children: [
41
- /* @__PURE__ */ r(c, { onClick: x, ...d, height: "100%" }),
41
+ /* @__PURE__ */ r(c, { onClick: g, ...d, height: "100%" }),
42
42
  /* @__PURE__ */ r(
43
43
  "div",
44
44
  {
45
- ref: g,
46
- className: n(m.confirm, u, "confirm"),
45
+ ref: x,
46
+ className: s(m.confirm, u, "confirm"),
47
47
  "data-shake": e,
48
48
  ...k,
49
49
  children: /* @__PURE__ */ i(T, { hAlign: "center", children: [
50
50
  f,
51
51
  /* @__PURE__ */ r(P, { className: "confirm-title", emphasis: "strong", size: "sm", children: h }),
52
52
  /* @__PURE__ */ r(B, { className: "confirm-description", hierarchy: "tertiary", children: l }),
53
- /* @__PURE__ */ r(C, { height: "16px" }),
54
- /* @__PURE__ */ r(
55
- c,
56
- {
57
- className: n(m.actions, "confirm-actions"),
58
- height: "auto",
59
- children: p
60
- }
61
- )
53
+ /* @__PURE__ */ r(N, { height: "16px" }),
54
+ /* @__PURE__ */ r(c, { className: s(m.actions, "confirm-actions"), height: "auto", children: p })
62
55
  ] })
63
56
  }
64
57
  )
@@ -1 +1 @@
1
- {"version":3,"file":"confirm.js","sources":["../../../src/surfaces/confirm/confirm.tsx"],"sourcesContent":["import React, { useLayoutEffect, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport { Spacer } from '../../stacks/spacer.js';\nimport { VStack } from '../../stacks/v_stack.js';\nimport { ZStack } from '../../stacks/z_stack.js';\nimport { Portal } from '../../overlay/portal/portal.js';\nimport { BodyText, Title } from '../../typography/index.js';\nimport styles from './confirm.module.css';\nimport { Box, type BoxProps } from '../../stacks/box/box.js';\n\nexport interface ConfirmProps extends React.HTMLAttributes<HTMLDivElement> {\n open?: boolean;\n graphic?: React.ReactNode;\n title?: string;\n description?: string;\n actions?: React.ReactNode;\n veilProps?: BoxProps;\n}\n\nexport const Confirm = React.forwardRef(function Confirm(\n {\n open,\n graphic,\n title,\n description,\n actions,\n veilProps,\n className,\n ...props\n }: ConfirmProps,\n ref: React.Ref<HTMLDivElement>\n) {\n const isMounted = useRef(false);\n const [shake, setShake] = useState(false);\n\n useLayoutEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n useLayoutEffect(() => {\n if (shake && isMounted.current) {\n const id = window.setTimeout(() => {\n setShake(false);\n }, 600);\n\n return () => window.clearTimeout(id);\n }\n }, [shake]);\n\n function shakeConfirm() {\n setShake(true);\n }\n\n return (\n <>\n {open && (\n <Portal>\n <ZStack height=\"100%\" style={{ position: 'fixed' }}>\n <Box onClick={shakeConfirm} {...veilProps} height=\"100%\"></Box>\n <div\n ref={ref}\n className={classNames(styles.confirm, className, 'confirm')}\n data-shake={shake}\n {...props}\n >\n <VStack hAlign=\"center\">\n {graphic}\n <Title className=\"confirm-title\" emphasis=\"strong\" size=\"sm\">\n {title}\n </Title>\n <BodyText className=\"confirm-description\" hierarchy=\"tertiary\">\n {description}\n </BodyText>\n <Spacer height=\"16px\" />\n <Box\n className={classNames(styles.actions, 'confirm-actions')}\n height=\"auto\"\n >\n {actions}\n </Box>\n </VStack>\n </div>\n </ZStack>\n </Portal>\n )}\n </>\n );\n});\n"],"names":["Confirm","React","open","graphic","title","description","actions","veilProps","className","props","ref","isMounted","useRef","shake","setShake","useState","useLayoutEffect","id","shakeConfirm","jsx","Fragment","Portal","jsxs","ZStack","Box","classNames","styles","VStack","Title","BodyText","Spacer"],"mappings":";;;;;;;;;;;;;;;sHAmBaA,IAAUC,EAAM,WAAW,SACtC;AAAA,EACE,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAYC,EAAO,EAAK,GACxB,CAACC,GAAOC,CAAQ,IAAIC,EAAS,EAAK;AAExC,EAAAC,EAAgB,OACdL,EAAU,UAAU,IACb,MAAM;AACX,IAAAA,EAAU,UAAU;AAAA,EACtB,IACC,CAAA,CAAE,GAELK,EAAgB,MAAM;AACpB,QAAIH,KAASF,EAAU,SAAS;AAC9B,YAAMM,IAAK,OAAO,WAAW,MAAM;AACjC,QAAAH,EAAS,EAAK;AAAA,MAChB,GAAG,GAAG;AAEN,aAAO,MAAM,OAAO,aAAaG,CAAE;AAAA,IACrC;AAAA,EACF,GAAG,CAACJ,CAAK,CAAC;AAEV,WAASK,IAAe;AACtB,IAAAJ,EAAS,EAAI;AAAA,EACf;AAEA,SACE,gBAAAK,EAAAC,GAAA,EACG,UAAAlB,KACC,gBAAAiB,EAACE,GAAA,EACC,UAAA,gBAAAC,EAACC,GAAA,EAAO,QAAO,QAAO,OAAO,EAAE,UAAU,QAAA,GACvC,UAAA;AAAA,IAAA,gBAAAJ,EAACK,KAAI,SAASN,GAAe,GAAGX,GAAW,QAAO,QAAO;AAAA,IACzD,gBAAAY;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAT;AAAA,QACA,WAAWe,EAAWC,EAAO,SAASlB,GAAW,SAAS;AAAA,QAC1D,cAAYK;AAAA,QACX,GAAGJ;AAAA,QAEJ,UAAA,gBAAAa,EAACK,GAAA,EAAO,QAAO,UACZ,UAAA;AAAA,UAAAxB;AAAA,UACD,gBAAAgB,EAACS,KAAM,WAAU,iBAAgB,UAAS,UAAS,MAAK,MACrD,UAAAxB,EAAA,CACH;AAAA,4BACCyB,GAAA,EAAS,WAAU,uBAAsB,WAAU,YACjD,UAAAxB,GACH;AAAA,UACA,gBAAAc,EAACW,GAAA,EAAO,QAAO,OAAA,CAAO;AAAA,UACtB,gBAAAX;AAAA,YAACK;AAAA,YAAA;AAAA,cACC,WAAWC,EAAWC,EAAO,SAAS,iBAAiB;AAAA,cACvD,QAAO;AAAA,cAEN,UAAApB;AAAA,YAAA;AAAA,UAAA;AAAA,QACH,EAAA,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,EAAA,CACF,GACF,GAEJ;AAEJ,CAAC;"}
1
+ {"version":3,"file":"confirm.js","sources":["../../../src/surfaces/confirm/confirm.tsx"],"sourcesContent":["import React, { useLayoutEffect, useRef, useState } from 'react';\nimport { clsx } from 'clsx';\nimport { Spacer } from '../../stacks/spacer.js';\nimport { VStack } from '../../stacks/v_stack.js';\nimport { ZStack } from '../../stacks/z_stack.js';\nimport { Portal } from '../../overlay/portal/portal.js';\nimport { BodyText, Title } from '../../typography/index.js';\nimport styles from './confirm.module.css';\nimport { Box, type BoxProps } from '../../stacks/box/box.js';\n\nexport interface ConfirmProps extends React.HTMLAttributes<HTMLDivElement> {\n open?: boolean;\n graphic?: React.ReactNode;\n title?: string;\n description?: string;\n actions?: React.ReactNode;\n veilProps?: BoxProps;\n}\n\nexport const Confirm = React.forwardRef(function Confirm(\n {\n open,\n graphic,\n title,\n description,\n actions,\n veilProps,\n className,\n ...props\n }: ConfirmProps,\n ref: React.Ref<HTMLDivElement>\n) {\n const isMounted = useRef(false);\n const [shake, setShake] = useState(false);\n\n useLayoutEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n useLayoutEffect(() => {\n if (shake && isMounted.current) {\n const id = window.setTimeout(() => {\n setShake(false);\n }, 600);\n\n return () => window.clearTimeout(id);\n }\n }, [shake]);\n\n function shakeConfirm() {\n setShake(true);\n }\n\n return (\n <>\n {open && (\n <Portal>\n <ZStack height=\"100%\" style={{ position: 'fixed' }}>\n <Box onClick={shakeConfirm} {...veilProps} height=\"100%\"></Box>\n <div\n ref={ref}\n className={clsx(styles.confirm, className, 'confirm')}\n data-shake={shake}\n {...props}\n >\n <VStack hAlign=\"center\">\n {graphic}\n <Title className=\"confirm-title\" emphasis=\"strong\" size=\"sm\">\n {title}\n </Title>\n <BodyText className=\"confirm-description\" hierarchy=\"tertiary\">\n {description}\n </BodyText>\n <Spacer height=\"16px\" />\n <Box className={clsx(styles.actions, 'confirm-actions')} height=\"auto\">\n {actions}\n </Box>\n </VStack>\n </div>\n </ZStack>\n </Portal>\n )}\n </>\n );\n});\n"],"names":["Confirm","React","open","graphic","title","description","actions","veilProps","className","props","ref","isMounted","useRef","shake","setShake","useState","useLayoutEffect","id","shakeConfirm","jsx","Fragment","Portal","jsxs","ZStack","Box","clsx","styles","VStack","Title","BodyText","Spacer"],"mappings":";;;;;;;;;;;;;;;sHAmBaA,IAAUC,EAAM,WAAW,SACtC;AAAA,EACE,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAYC,EAAO,EAAK,GACxB,CAACC,GAAOC,CAAQ,IAAIC,EAAS,EAAK;AAExC,EAAAC,EAAgB,OACdL,EAAU,UAAU,IACb,MAAM;AACX,IAAAA,EAAU,UAAU;AAAA,EACtB,IACC,CAAA,CAAE,GAELK,EAAgB,MAAM;AACpB,QAAIH,KAASF,EAAU,SAAS;AAC9B,YAAMM,IAAK,OAAO,WAAW,MAAM;AACjC,QAAAH,EAAS,EAAK;AAAA,MAChB,GAAG,GAAG;AAEN,aAAO,MAAM,OAAO,aAAaG,CAAE;AAAA,IACrC;AAAA,EACF,GAAG,CAACJ,CAAK,CAAC;AAEV,WAASK,IAAe;AACtB,IAAAJ,EAAS,EAAI;AAAA,EACf;AAEA,SACE,gBAAAK,EAAAC,GAAA,EACG,UAAAlB,KACC,gBAAAiB,EAACE,GAAA,EACC,UAAA,gBAAAC,EAACC,GAAA,EAAO,QAAO,QAAO,OAAO,EAAE,UAAU,QAAA,GACvC,UAAA;AAAA,IAAA,gBAAAJ,EAACK,KAAI,SAASN,GAAe,GAAGX,GAAW,QAAO,QAAO;AAAA,IACzD,gBAAAY;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAT;AAAA,QACA,WAAWe,EAAKC,EAAO,SAASlB,GAAW,SAAS;AAAA,QACpD,cAAYK;AAAA,QACX,GAAGJ;AAAA,QAEJ,UAAA,gBAAAa,EAACK,GAAA,EAAO,QAAO,UACZ,UAAA;AAAA,UAAAxB;AAAA,UACD,gBAAAgB,EAACS,KAAM,WAAU,iBAAgB,UAAS,UAAS,MAAK,MACrD,UAAAxB,EAAA,CACH;AAAA,4BACCyB,GAAA,EAAS,WAAU,uBAAsB,WAAU,YACjD,UAAAxB,GACH;AAAA,UACA,gBAAAc,EAACW,GAAA,EAAO,QAAO,OAAA,CAAO;AAAA,UACtB,gBAAAX,EAACK,GAAA,EAAI,WAAWC,EAAKC,EAAO,SAAS,iBAAiB,GAAG,QAAO,QAC7D,UAAApB,EAAA,CACH;AAAA,QAAA,EAAA,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,EAAA,CACF,GACF,GAEJ;AAEJ,CAAC;"}
@@ -1,11 +1,11 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { VStack as e } from "../../../stacks/v_stack.js";
3
- import s from "classnames";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { VStack as a } from "../../../stacks/v_stack.js";
3
+ import { clsx as s } from "clsx";
4
4
  import c from "react";
5
5
  import '../../../drawer_bottom.css';const f = "_drawerBottom_9359033", n = { drawerBottom: f }, l = c.forwardRef(
6
6
  function({ children: o, className: t, ...r }, m) {
7
- return /* @__PURE__ */ a(
8
- e,
7
+ return /* @__PURE__ */ e(
8
+ a,
9
9
  {
10
10
  ref: m,
11
11
  as: "section",
@@ -1 +1 @@
1
- {"version":3,"file":"drawer_bottom.js","sources":["../../../../src/surfaces/drawers/drawer_bottom/drawer_bottom.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './drawer_bottom.module.css';\n\nexport interface DrawerBottomProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerBottom = React.forwardRef<HTMLElement, DrawerBottomProps>(\n function DrawerBottom({ children, className, ...props }: DrawerBottomProps, ref) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={classNames(styles.drawerBottom, className, 'drawer-bottom')}\n {...props}\n >\n {children}\n </VStack>\n );\n }\n);\n"],"names":["DrawerBottom","React","children","className","props","ref","jsx","VStack","classNames","styles"],"mappings":";;;;4DASaA,IAAeC,EAAM;AAAA,EAChC,SAAsB,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAA4BC,GAAK;AAC/E,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG,EAAWC,EAAO,cAAcN,GAAW,eAAe;AAAA,QACpE,GAAGC;AAAA,QAEH,UAAAF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
1
+ {"version":3,"file":"drawer_bottom.js","sources":["../../../../src/surfaces/drawers/drawer_bottom/drawer_bottom.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_bottom.module.css';\n\nexport interface DrawerBottomProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerBottom = React.forwardRef<HTMLElement, DrawerBottomProps>(\n function DrawerBottom({ children, className, ...props }: DrawerBottomProps, ref) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerBottom, className, 'drawer-bottom')}\n {...props}\n >\n {children}\n </VStack>\n );\n }\n);\n"],"names":["DrawerBottom","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;4DASaA,IAAeC,EAAM;AAAA,EAChC,SAAsB,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAA4BC,GAAK;AAC/E,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG,EAAKC,EAAO,cAAcN,GAAW,eAAe;AAAA,QAC9D,GAAGC;AAAA,QAEH,UAAAF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
@@ -1,15 +1,15 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import { VStack as n } from "../../../stacks/v_stack.js";
3
- import s from "classnames";
4
- import d from "react";
5
- import '../../../drawer_end.css';const c = "_drawerEnd_39acb27", m = { drawerEnd: c }, l = d.forwardRef(function({ children: r, className: a, ...o }, e) {
6
- return /* @__PURE__ */ t(
3
+ import { clsx as d } from "clsx";
4
+ import s from "react";
5
+ import '../../../drawer_end.css';const c = "_drawerEnd_39acb27", m = { drawerEnd: c }, l = s.forwardRef(function({ children: r, className: o, ...t }, a) {
6
+ return /* @__PURE__ */ e(
7
7
  n,
8
8
  {
9
- ref: e,
9
+ ref: a,
10
10
  as: "section",
11
- className: s(m.drawerEnd, a, "drawerEnd"),
12
- ...o,
11
+ className: d(m.drawerEnd, o, "drawerEnd"),
12
+ ...t,
13
13
  children: r
14
14
  }
15
15
  );
@@ -1 +1 @@
1
- {"version":3,"file":"drawer_end.js","sources":["../../../../src/surfaces/drawers/drawer_end/drawer_end.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './drawer_end.module.css';\n\nexport interface DrawerEndProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerEnd = React.forwardRef<HTMLElement, DrawerEndProps>(function DrawerEnd(\n { children, className, ...props }: DrawerEndProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={classNames(styles.drawerEnd, className, 'drawerEnd')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["DrawerEnd","React","children","className","props","ref","jsx","VStack","classNames","styles"],"mappings":";;;;sDASaA,IAAYC,EAAM,WAAwC,SACrE,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAWC,EAAO,WAAWN,GAAW,WAAW;AAAA,MAC7D,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"drawer_end.js","sources":["../../../../src/surfaces/drawers/drawer_end/drawer_end.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_end.module.css';\n\nexport interface DrawerEndProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerEnd = React.forwardRef<HTMLElement, DrawerEndProps>(function DrawerEnd(\n { children, className, ...props }: DrawerEndProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerEnd, className, 'drawerEnd')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["DrawerEnd","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;sDASaA,IAAYC,EAAM,WAAwC,SACrE,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,WAAWN,GAAW,WAAW;AAAA,MACvD,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,15 +1,15 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { VStack as s } from "../../../stacks/v_stack.js";
3
- import m from "classnames";
4
- import c from "react";
5
- import '../../../drawer_start.css';const f = "_drawerStart_3abbf56", n = { drawerStart: f }, l = c.forwardRef(
3
+ import { clsx as c } from "clsx";
4
+ import m from "react";
5
+ import '../../../drawer_start.css';const f = "_drawerStart_3abbf56", n = { drawerStart: f }, l = m.forwardRef(
6
6
  function({ children: r, className: t, ...a }, o) {
7
7
  return /* @__PURE__ */ e(
8
8
  s,
9
9
  {
10
10
  ref: o,
11
11
  as: "section",
12
- className: m(n.drawerStart, t, "drawerStart"),
12
+ className: c(n.drawerStart, t, "drawerStart"),
13
13
  ...a,
14
14
  children: r
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"drawer_start.js","sources":["../../../../src/surfaces/drawers/drawer_start/drawer_start.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './drawer_start.module.css';\n\nexport interface DrawerStartProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerStart = React.forwardRef<HTMLElement, DrawerStartProps>(\n function DrawerStart({ children, className, ...props }: DrawerStartProps, ref) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={classNames(styles.drawerStart, className, 'drawerStart')}\n {...props}\n >\n {children}\n </VStack>\n );\n }\n);\n"],"names":["DrawerStart","React","children","className","props","ref","jsx","VStack","classNames","styles"],"mappings":";;;;0DASaA,IAAcC,EAAM;AAAA,EAC/B,SAAqB,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAA2BC,GAAK;AAC7E,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG,EAAWC,EAAO,aAAaN,GAAW,aAAa;AAAA,QACjE,GAAGC;AAAA,QAEH,UAAAF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
1
+ {"version":3,"file":"drawer_start.js","sources":["../../../../src/surfaces/drawers/drawer_start/drawer_start.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_start.module.css';\n\nexport interface DrawerStartProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerStart = React.forwardRef<HTMLElement, DrawerStartProps>(\n function DrawerStart({ children, className, ...props }: DrawerStartProps, ref) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerStart, className, 'drawerStart')}\n {...props}\n >\n {children}\n </VStack>\n );\n }\n);\n"],"names":["DrawerStart","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;0DASaA,IAAcC,EAAM;AAAA,EAC/B,SAAqB,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAA2BC,GAAK;AAC7E,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG,EAAKC,EAAO,aAAaN,GAAW,aAAa;AAAA,QAC3D,GAAGC;AAAA,QAEH,UAAAF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
@@ -1,14 +1,14 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { VStack as s } from "../../../stacks/v_stack.js";
3
- import m from "classnames";
2
+ import { VStack as m } from "../../../stacks/v_stack.js";
3
+ import { clsx as s } from "clsx";
4
4
  import c from "react";
5
5
  import '../../../drawer_top.css';const p = "_drawerBottom_7a0635a", f = { drawerBottom: p }, l = c.forwardRef(function({ children: r, className: o, ...t }, a) {
6
6
  return /* @__PURE__ */ e(
7
- s,
7
+ m,
8
8
  {
9
9
  ref: a,
10
10
  as: "section",
11
- className: m(f.drawerTop, o, "drawerTop"),
11
+ className: s(f.drawerTop, o, "drawerTop"),
12
12
  ...t,
13
13
  children: r
14
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"drawer_top.js","sources":["../../../../src/surfaces/drawers/drawer_top/drawer_top.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './drawer_top.module.css';\n\nexport interface DrawerTopProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerTop = React.forwardRef<HTMLElement, DrawerTopProps>(function DrawerTop(\n { children, className, ...props }: DrawerTopProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={classNames(styles.drawerTop, className, 'drawerTop')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["DrawerTop","React","children","className","props","ref","jsx","VStack","classNames","styles"],"mappings":";;;;4DASaA,IAAYC,EAAM,WAAwC,SACrE,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAWC,EAAO,WAAWN,GAAW,WAAW;AAAA,MAC7D,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"drawer_top.js","sources":["../../../../src/surfaces/drawers/drawer_top/drawer_top.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_top.module.css';\n\nexport interface DrawerTopProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerTop = React.forwardRef<HTMLElement, DrawerTopProps>(function DrawerTop(\n { children, className, ...props }: DrawerTopProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerTop, className, 'drawerTop')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["DrawerTop","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;4DASaA,IAAYC,EAAM,WAAwC,SACrE,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,WAAWN,GAAW,WAAW;AAAA,MACvD,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,7 +1,5 @@
1
1
  import { VStackProps } from '../../stacks/v_stack.js';
2
2
  import { default as React } from 'react';
3
- export interface ModalProps extends Omit<VStackProps, 'as' | 'children'> {
4
- children?: React.ReactNode;
5
- }
6
- export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLElement>>;
3
+ export type ModalProps = Omit<VStackProps<HTMLDialogElement>, 'as'>;
4
+ export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDialogElement>>;
7
5
  //# sourceMappingURL=modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/surfaces/modal/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,KAAK,gFAShB,CAAC"}
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/surfaces/modal/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC,CAAC;AAEpE,eAAO,MAAM,KAAK,sFAchB,CAAC"}
@@ -1,11 +1,20 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { VStack as s } from "../../stacks/v_stack.js";
3
- import c from "classnames";
4
- import e from "react";
5
- import '../../modal.css';const l = "_modal_473c6ef", f = { modal: l }, x = e.forwardRef(function({ children: o, className: a, ...m }, r) {
6
- return /* @__PURE__ */ t(s, { ref: r, className: c(a, f.Modal, "modal"), ...m, children: o });
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { VStack as c } from "../../stacks/v_stack.js";
3
+ import { clsx as l } from "clsx";
4
+ import s from "react";
5
+ import '../../modal.css';const d = "_modal_473c6ef", f = { modal: d }, u = s.forwardRef(function({ children: o, className: t, ...a }, m) {
6
+ return /* @__PURE__ */ r(
7
+ c,
8
+ {
9
+ ref: m,
10
+ className: l(f.modal, "tcn-modal", t),
11
+ as: "dialog",
12
+ ...a,
13
+ children: o
14
+ }
15
+ );
7
16
  });
8
17
  export {
9
- x as Modal
18
+ u as Modal
10
19
  };
11
20
  //# sourceMappingURL=modal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.js","sources":["../../../src/surfaces/modal/modal.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './modal.module.css';\n\nexport interface ModalProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const Modal = React.forwardRef<HTMLElement, ModalProps>(function VPanel(\n { children, className, ...props }: ModalProps,\n ref\n) {\n return (\n <VStack ref={ref} className={classNames(className, styles.Modal, 'modal')} {...props}>\n {children}\n </VStack>\n );\n});\n"],"names":["Modal","React","children","className","props","ref","jsx","VStack","classNames","styles"],"mappings":";;;;8CASaA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC,EAACC,GAAA,EAAO,KAAAF,GAAU,WAAWG,EAAWL,GAAWM,EAAO,OAAO,OAAO,GAAI,GAAGL,GAC5E,UAAAF,EAAA,CACH;AAEJ,CAAC;"}
1
+ {"version":3,"file":"modal.js","sources":["../../../src/surfaces/modal/modal.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './modal.module.css';\n\nexport type ModalProps = Omit<VStackProps<HTMLDialogElement>, 'as'>;\n\nexport const Modal = React.forwardRef<HTMLDialogElement, ModalProps>(function Modal(\n { children, className, ...props }: ModalProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n className={clsx(styles['modal'], 'tcn-modal', className)}\n as=\"dialog\"\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["Modal","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;8CAOaA,IAAQC,EAAM,WAA0C,SACnE,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,WAAWG,EAAKC,EAAO,OAAU,aAAaN,CAAS;AAAA,MACvD,IAAG;AAAA,MACF,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,22 +1,22 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import s from "classnames";
2
+ import { clsx as s } from "clsx";
3
3
  import e from "react";
4
4
  import { s as f } from "../../page.module-DXhph-u6.js";
5
5
  import { HStack as i } from "../../stacks/h_stack.js";
6
- const u = e.forwardRef(function({ children: r, className: a, ...o }, t) {
6
+ const H = e.forwardRef(function({ children: r, className: o, ...t }, a) {
7
7
  return /* @__PURE__ */ m(
8
8
  i,
9
9
  {
10
- ref: t,
10
+ ref: a,
11
11
  as: "main",
12
- className: s(f.page, a, "page"),
12
+ className: s(f.page, o, "page"),
13
13
  vAlign: "start",
14
- ...o,
14
+ ...t,
15
15
  children: r
16
16
  }
17
17
  );
18
18
  });
19
19
  export {
20
- u as HPage
20
+ H as HPage
21
21
  };
22
22
  //# sourceMappingURL=h_page.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"h_page.js","sources":["../../../src/surfaces/page/h_page.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport React from 'react';\nimport styles from './page.module.css';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\n\nexport interface HPageProps extends Omit<HStackProps, 'as'> {}\n\nexport const HPage = React.forwardRef<HTMLElement, HPageProps>(function HPage(\n { children, className, ...props }: HPageProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"main\"\n className={classNames(styles.page, className, 'page')}\n vAlign=\"start\"\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["HPage","React","children","className","props","ref","jsx","HStack","classNames","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAWC,EAAO,MAAMN,GAAW,MAAM;AAAA,MACpD,QAAO;AAAA,MACN,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"h_page.js","sources":["../../../src/surfaces/page/h_page.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './page.module.css';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\n\nexport interface HPageProps extends Omit<HStackProps, 'as'> {}\n\nexport const HPage = React.forwardRef<HTMLElement, HPageProps>(function HPage(\n { children, className, ...props }: HPageProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"main\"\n className={clsx(styles.page, className, 'page')}\n vAlign=\"start\"\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["HPage","React","children","className","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,MAAMN,GAAW,MAAM;AAAA,MAC9C,QAAO;AAAA,MACN,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,21 +1,21 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { VStack as t } from "../../stacks/v_stack.js";
3
- import e from "classnames";
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { VStack as e } from "../../stacks/v_stack.js";
3
+ import { clsx as s } from "clsx";
4
4
  import f from "react";
5
5
  import { s as p } from "../../page.module-DXhph-u6.js";
6
- const u = f.forwardRef(function({ children: r, className: a, ...o }, m) {
7
- return /* @__PURE__ */ s(
8
- t,
6
+ const V = f.forwardRef(function({ children: r, className: o, ...a }, m) {
7
+ return /* @__PURE__ */ t(
8
+ e,
9
9
  {
10
10
  ref: m,
11
11
  as: "main",
12
- className: e(p.page, a, "page"),
13
- ...o,
12
+ className: s(p.page, o, "page"),
13
+ ...a,
14
14
  children: r
15
15
  }
16
16
  );
17
17
  });
18
18
  export {
19
- u as VPage
19
+ V as VPage
20
20
  };
21
21
  //# sourceMappingURL=v_page.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"v_page.js","sources":["../../../src/surfaces/page/v_page.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport classNames from 'classnames';\nimport React from 'react';\nimport styles from './page.module.css';\n\nexport interface VPageProps extends Omit<VStackProps, 'as'> {}\n\nexport const VPage = React.forwardRef<HTMLElement, VPageProps>(function VPage(\n { children, className, ...props }: VPageProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"main\"\n className={classNames(styles.page, className, 'page')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["VPage","React","children","className","props","ref","jsx","VStack","classNames","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAWC,EAAO,MAAMN,GAAW,MAAM;AAAA,MACnD,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"v_page.js","sources":["../../../src/surfaces/page/v_page.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './page.module.css';\n\nexport interface VPageProps extends Omit<VStackProps, 'as'> {}\n\nexport const VPage = React.forwardRef<HTMLElement, VPageProps>(function VPage(\n { children, className, ...props }: VPageProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"main\"\n className={clsx(styles.page, className, 'page')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["VPage","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,MAAMN,GAAW,MAAM;AAAA,MAC7C,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,6 +1,6 @@
1
+ import { default as React } from 'react';
1
2
  import { BoxProps } from '../../stacks/box/box.js';
2
3
  import { Alignment } from '../../stacks/types/alignment.js';
3
- import { default as React } from 'react';
4
4
  export interface HPanelProps extends Omit<BoxProps, 'as'> {
5
5
  vAlign?: Alignment;
6
6
  hAlign?: Alignment;
@@ -1 +1 @@
1
- {"version":3,"file":"h_panel.d.ts","sourceRoot":"","sources":["../../../src/surfaces/panel/h_panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC;IACvD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,iFA8CjB,CAAC"}
1
+ {"version":3,"file":"h_panel.d.ts","sourceRoot":"","sources":["../../../src/surfaces/panel/h_panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAIjE,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC;IACvD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,iFAmDjB,CAAC"}