@tcn/ui 0.8.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/dist/bar.css +1 -0
  2. package/dist/body.css +1 -1
  3. package/dist/body.module-BbFZ7KNP.js +5 -0
  4. package/dist/body.module-BbFZ7KNP.js.map +1 -0
  5. package/dist/divider.css +1 -1
  6. package/dist/feedback/progress/progress_bar.js +13 -13
  7. package/dist/footer.css +1 -1
  8. package/dist/form/field/common/field_description.js +7 -8
  9. package/dist/form/field/common/field_description.js.map +1 -1
  10. package/dist/form/field/common/field_error.js +6 -6
  11. package/dist/form/field/common/field_label.js +7 -8
  12. package/dist/form/field/common/field_label.js.map +1 -1
  13. package/dist/form/field_set/field_set.js +7 -7
  14. package/dist/inputs/date_picker/date_picker_date.js +6 -6
  15. package/dist/inputs/date_picker/date_picker_day.js +6 -6
  16. package/dist/inputs/date_picker/date_picker_time_selector.js +5 -5
  17. package/dist/inputs/date_picker/date_picker_year_selector.js +5 -5
  18. package/dist/inputs/suggestions/suggestion_list.js +6 -6
  19. package/dist/layouts/bar/bar.d.ts +5 -0
  20. package/dist/layouts/bar/bar.d.ts.map +1 -0
  21. package/dist/layouts/bar/bar.js +20 -0
  22. package/dist/layouts/bar/bar.js.map +1 -0
  23. package/dist/layouts/body/body.d.ts +2 -2
  24. package/dist/layouts/body/body.d.ts.map +1 -1
  25. package/dist/layouts/body/body.js +12 -12
  26. package/dist/layouts/body/body.js.map +1 -1
  27. package/dist/layouts/body/h_body.d.ts.map +1 -1
  28. package/dist/layouts/body/h_body.js +18 -12
  29. package/dist/layouts/body/h_body.js.map +1 -1
  30. package/dist/layouts/body/v_body.d.ts.map +1 -1
  31. package/dist/layouts/body/v_body.js +16 -10
  32. package/dist/layouts/body/v_body.js.map +1 -1
  33. package/dist/layouts/footer/footer.d.ts +2 -3
  34. package/dist/layouts/footer/footer.d.ts.map +1 -1
  35. package/dist/layouts/footer/footer.js +7 -7
  36. package/dist/layouts/footer/footer.js.map +1 -1
  37. package/dist/layouts/header/header.d.ts +2 -2
  38. package/dist/layouts/header/header.d.ts.map +1 -1
  39. package/dist/layouts/header/header.js +13 -21
  40. package/dist/layouts/header/header.js.map +1 -1
  41. package/dist/layouts/index.d.ts +2 -1
  42. package/dist/layouts/index.d.ts.map +1 -1
  43. package/dist/layouts/index.js +40 -38
  44. package/dist/layouts/index.js.map +1 -1
  45. package/dist/layouts/rail/rail.js +41 -41
  46. package/dist/layouts/rail/rail.js.map +1 -1
  47. package/dist/layouts/rail/side/side.d.ts.map +1 -1
  48. package/dist/layouts/rail/side/side.js +1 -1
  49. package/dist/layouts/rail/side/side.js.map +1 -1
  50. package/dist/layouts/rail/utility_strip/utility_strip.d.ts.map +1 -1
  51. package/dist/layouts/rail/utility_strip/utility_strip.js +21 -17
  52. package/dist/layouts/rail/utility_strip/utility_strip.js.map +1 -1
  53. package/dist/layouts/responsive/breakpoint.d.ts +11 -0
  54. package/dist/layouts/responsive/breakpoint.d.ts.map +1 -0
  55. package/dist/layouts/responsive/breakpoint.js +15 -0
  56. package/dist/layouts/responsive/breakpoint.js.map +1 -0
  57. package/dist/layouts/responsive/responsive.d.ts +7 -0
  58. package/dist/layouts/responsive/responsive.d.ts.map +1 -0
  59. package/dist/layouts/responsive/responsive.js +11 -0
  60. package/dist/layouts/responsive/responsive.js.map +1 -0
  61. package/dist/layouts/responsive/responsive_container.d.ts +7 -0
  62. package/dist/layouts/responsive/responsive_container.d.ts.map +1 -0
  63. package/dist/layouts/responsive/responsive_container.js +30 -0
  64. package/dist/layouts/responsive/responsive_container.js.map +1 -0
  65. package/dist/layouts/responsive/responsive_viewport.d.ts +7 -0
  66. package/dist/layouts/responsive/responsive_viewport.d.ts.map +1 -0
  67. package/dist/layouts/responsive/responsive_viewport.js +12 -0
  68. package/dist/layouts/responsive/responsive_viewport.js.map +1 -0
  69. package/dist/layouts/scaffold/scaffold.js +32 -32
  70. package/dist/layouts/scaffold/scaffold.js.map +1 -1
  71. package/dist/layouts/utility_bar/utility_bar.d.ts +2 -2
  72. package/dist/layouts/utility_bar/utility_bar.d.ts.map +1 -1
  73. package/dist/layouts/utility_bar/utility_bar.js +17 -19
  74. package/dist/layouts/utility_bar/utility_bar.js.map +1 -1
  75. package/dist/overlay/frame/frame.js +3 -3
  76. package/dist/overlay/frame/frame.js.map +1 -1
  77. package/dist/panel.css +1 -0
  78. package/dist/rail.css +1 -1
  79. package/dist/scaffold.css +1 -1
  80. package/dist/side.css +1 -1
  81. package/dist/stacks/box/bottom_resize_handle.d.ts +2 -2
  82. package/dist/stacks/box/bottom_resize_handle.d.ts.map +1 -1
  83. package/dist/stacks/box/bottom_resize_handle.js +12 -10
  84. package/dist/stacks/box/bottom_resize_handle.js.map +1 -1
  85. package/dist/stacks/box/box.d.ts +4 -4
  86. package/dist/stacks/box/box.d.ts.map +1 -1
  87. package/dist/stacks/box/box.js +26 -26
  88. package/dist/stacks/box/box.js.map +1 -1
  89. package/dist/stacks/box/end_resize_handle.d.ts +2 -2
  90. package/dist/stacks/box/end_resize_handle.d.ts.map +1 -1
  91. package/dist/stacks/box/end_resize_handle.js +6 -5
  92. package/dist/stacks/box/end_resize_handle.js.map +1 -1
  93. package/dist/stacks/box/left_resize_handle.d.ts +2 -2
  94. package/dist/stacks/box/left_resize_handle.d.ts.map +1 -1
  95. package/dist/stacks/box/left_resize_handle.js +10 -9
  96. package/dist/stacks/box/left_resize_handle.js.map +1 -1
  97. package/dist/stacks/box/resize_handlers.d.ts +2 -2
  98. package/dist/stacks/box/resize_handlers.d.ts.map +1 -1
  99. package/dist/stacks/box/resize_handlers.js +24 -24
  100. package/dist/stacks/box/resize_handlers.js.map +1 -1
  101. package/dist/stacks/box/right_resize_handle.d.ts +2 -2
  102. package/dist/stacks/box/right_resize_handle.d.ts.map +1 -1
  103. package/dist/stacks/box/right_resize_handle.js +6 -5
  104. package/dist/stacks/box/right_resize_handle.js.map +1 -1
  105. package/dist/stacks/box/start_resize_handle.d.ts +2 -2
  106. package/dist/stacks/box/start_resize_handle.d.ts.map +1 -1
  107. package/dist/stacks/box/start_resize_handle.js +4 -4
  108. package/dist/stacks/box/start_resize_handle.js.map +1 -1
  109. package/dist/stacks/box/top_resize_handle.d.ts +2 -2
  110. package/dist/stacks/box/top_resize_handle.d.ts.map +1 -1
  111. package/dist/stacks/box/top_resize_handle.js +2 -1
  112. package/dist/stacks/box/top_resize_handle.js.map +1 -1
  113. package/dist/stacks/h_collapsible_box.d.ts.map +1 -1
  114. package/dist/stacks/h_collapsible_box.js +24 -24
  115. package/dist/stacks/h_collapsible_box.js.map +1 -1
  116. package/dist/stacks/v_collapsible_box.js +25 -25
  117. package/dist/stacks/v_collapsible_box.js.map +1 -1
  118. package/dist/surfaces/confirm/confirm.js +5 -5
  119. package/dist/surfaces/index.d.ts +1 -2
  120. package/dist/surfaces/index.d.ts.map +1 -1
  121. package/dist/surfaces/index.js +18 -20
  122. package/dist/surfaces/index.js.map +1 -1
  123. package/dist/surfaces/panel/panel.d.ts +5 -0
  124. package/dist/surfaces/panel/panel.d.ts.map +1 -0
  125. package/dist/surfaces/panel/panel.js +19 -0
  126. package/dist/surfaces/panel/panel.js.map +1 -0
  127. package/dist/surfaces/pop_confirm/pop_confirm.js +1 -1
  128. package/dist/themes/theme.d.ts +2 -1
  129. package/dist/themes/theme.d.ts.map +1 -1
  130. package/dist/themes/theme.js +16 -9
  131. package/dist/themes/theme.js.map +1 -1
  132. package/dist/themes/themes/ergo/ergo_theme.css +1 -1
  133. package/dist/themes/themes/ergo/ergo_theme.js +27 -0
  134. package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
  135. package/dist/typography/body_text/body_text.d.ts +2 -1
  136. package/dist/typography/body_text/body_text.d.ts.map +1 -1
  137. package/dist/typography/body_text/body_text.js +24 -23
  138. package/dist/typography/body_text/body_text.js.map +1 -1
  139. package/dist/typography/callout/callout.d.ts +2 -1
  140. package/dist/typography/callout/callout.d.ts.map +1 -1
  141. package/dist/typography/callout/callout.js +28 -27
  142. package/dist/typography/callout/callout.js.map +1 -1
  143. package/dist/typography/caption/caption.d.ts +2 -1
  144. package/dist/typography/caption/caption.d.ts.map +1 -1
  145. package/dist/typography/caption/caption.js +18 -17
  146. package/dist/typography/caption/caption.js.map +1 -1
  147. package/dist/typography/footnote/footnote.d.ts +2 -1
  148. package/dist/typography/footnote/footnote.d.ts.map +1 -1
  149. package/dist/typography/footnote/footnote.js +25 -24
  150. package/dist/typography/footnote/footnote.js.map +1 -1
  151. package/dist/typography/headline/headline.d.ts +2 -1
  152. package/dist/typography/headline/headline.d.ts.map +1 -1
  153. package/dist/typography/headline/headline.js +36 -33
  154. package/dist/typography/headline/headline.js.map +1 -1
  155. package/dist/typography/subheadline/subheadline.d.ts +2 -1
  156. package/dist/typography/subheadline/subheadline.d.ts.map +1 -1
  157. package/dist/typography/subheadline/subheadline.js +35 -32
  158. package/dist/typography/subheadline/subheadline.js.map +1 -1
  159. package/dist/utils/dnd/context.d.ts.map +1 -1
  160. package/dist/utils/dnd/context.js +9 -7
  161. package/dist/utils/dnd/context.js.map +1 -1
  162. package/dist/utils/dnd/hooks/use_drag_container.d.ts.map +1 -1
  163. package/dist/utils/dnd/hooks/use_drag_container.js +29 -15
  164. package/dist/utils/dnd/hooks/use_drag_container.js.map +1 -1
  165. package/dist/utils/dnd/types.d.ts +3 -4
  166. package/dist/utils/dnd/types.d.ts.map +1 -1
  167. package/dist/utils/hooks/use_media_query.d.ts +5 -8
  168. package/dist/utils/hooks/use_media_query.d.ts.map +1 -1
  169. package/dist/utils/hooks/use_media_query.js +10 -11
  170. package/dist/utils/hooks/use_media_query.js.map +1 -1
  171. package/dist/utils/index.d.ts +1 -2
  172. package/dist/utils/index.d.ts.map +1 -1
  173. package/dist/utils/index.js +19 -21
  174. package/dist/utils/index.js.map +1 -1
  175. package/package.json +1 -1
  176. package/src/layouts/__stories__/composed.stories.tsx +0 -55
  177. package/src/layouts/__stories__/rail.stories.tsx +78 -0
  178. package/src/layouts/__stories__/scaffold.stories.tsx +90 -0
  179. package/src/layouts/__stories__/utils/content.tsx +27 -0
  180. package/src/layouts/__stories__/utils/layout_theme.css +88 -0
  181. package/src/layouts/__stories__/utils/layout_theme_provider.tsx +11 -0
  182. package/src/layouts/__stories__/utils.tsx +6 -6
  183. package/src/layouts/{utility_bar/utility_bar.module.css → bar/bar.module.css} +2 -1
  184. package/src/layouts/bar/bar.tsx +23 -0
  185. package/src/layouts/body/body.module.css +9 -4
  186. package/src/layouts/body/body.tsx +7 -6
  187. package/src/layouts/body/h_body.module.css +1 -2
  188. package/src/layouts/body/h_body.tsx +9 -4
  189. package/src/layouts/body/v_body.tsx +9 -4
  190. package/src/layouts/divider/divider.module.css +1 -1
  191. package/src/layouts/footer/footer.module.css +0 -3
  192. package/src/layouts/footer/footer.tsx +5 -6
  193. package/src/layouts/header/header.tsx +6 -15
  194. package/src/layouts/index.ts +2 -1
  195. package/src/layouts/rail/rail.module.css +9 -5
  196. package/src/layouts/rail/rail.tsx +1 -1
  197. package/src/layouts/rail/side/side.module.css +0 -1
  198. package/src/layouts/rail/side/side.tsx +1 -2
  199. package/src/layouts/rail/utility_strip/utility_strip.module.css +5 -0
  200. package/src/layouts/rail/utility_strip/utility_strip.tsx +4 -1
  201. package/src/layouts/responsive/breakpoint.tsx +29 -0
  202. package/src/layouts/responsive/responsive.stories.tsx +37 -0
  203. package/src/layouts/responsive/responsive.tsx +18 -0
  204. package/src/layouts/responsive/responsive_container.tsx +51 -0
  205. package/src/layouts/responsive/responsive_viewport.tsx +17 -0
  206. package/src/layouts/scaffold/scaffold.module.css +10 -7
  207. package/src/layouts/scaffold/scaffold.tsx +1 -1
  208. package/src/layouts/utility_bar/utility_bar.tsx +6 -9
  209. package/src/overlay/frame/frame.tsx +2 -2
  210. package/src/stacks/box/bottom_resize_handle.tsx +7 -5
  211. package/src/stacks/box/box.tsx +12 -18
  212. package/src/stacks/box/end_resize_handle.tsx +6 -6
  213. package/src/stacks/box/left_resize_handle.tsx +4 -3
  214. package/src/stacks/box/resize_handlers.ts +11 -9
  215. package/src/stacks/box/right_resize_handle.tsx +4 -3
  216. package/src/stacks/box/start_resize_handle.tsx +3 -3
  217. package/src/stacks/box/top_resize_handle.tsx +4 -3
  218. package/src/stacks/collapsible_box.stories.tsx +11 -11
  219. package/src/stacks/h_collapsible_box.tsx +5 -5
  220. package/src/stacks/v_collapsible_box.tsx +4 -4
  221. package/src/surfaces/index.ts +1 -2
  222. package/src/surfaces/panel/__stories__/panel.stories.tsx +12 -12
  223. package/src/surfaces/panel/__stories__/panel_stories.module.css +3 -3
  224. package/src/surfaces/panel/panel.module.css +1 -6
  225. package/src/surfaces/panel/panel.tsx +22 -0
  226. package/src/themes/theme.tsx +6 -2
  227. package/src/themes/themes/ergo/__stories__/material.stories.tsx +15 -16
  228. package/src/themes/themes/ergo/ergo_theme.css +27 -0
  229. package/src/typography/body_text/body_text.tsx +21 -17
  230. package/src/typography/callout/callout.tsx +20 -16
  231. package/src/typography/caption/caption.tsx +20 -16
  232. package/src/typography/footnote/footnote.tsx +20 -16
  233. package/src/typography/headline/headline.tsx +60 -54
  234. package/src/typography/subheadline/subheadline.tsx +60 -54
  235. package/src/utils/dnd/__stories__/draggable.stories.tsx +34 -0
  236. package/src/utils/dnd/context.ts +1 -0
  237. package/src/utils/dnd/hooks/use_drag_container.ts +18 -1
  238. package/src/utils/dnd/types.ts +4 -1
  239. package/src/utils/hooks/use_media_query.ts +16 -27
  240. package/src/utils/index.ts +1 -3
  241. package/dist/body_text.module-h4XQE2pC.js +0 -5
  242. package/dist/body_text.module-h4XQE2pC.js.map +0 -1
  243. package/dist/callout.module-D8ECmxpO.js +0 -5
  244. package/dist/callout.module-D8ECmxpO.js.map +0 -1
  245. package/dist/caption.module-DDq0H4xZ.js +0 -5
  246. package/dist/caption.module-DDq0H4xZ.js.map +0 -1
  247. package/dist/footnote.module-DEyFuqOr.js +0 -5
  248. package/dist/footnote.module-DEyFuqOr.js.map +0 -1
  249. package/dist/h_body.css +0 -1
  250. package/dist/h_panel.css +0 -1
  251. package/dist/header.css +0 -1
  252. package/dist/headline.module-BiwHBtGf.js +0 -5
  253. package/dist/headline.module-BiwHBtGf.js.map +0 -1
  254. package/dist/layouts/rail/main/main.d.ts +0 -6
  255. package/dist/layouts/rail/main/main.d.ts.map +0 -1
  256. package/dist/layouts/rail/main/main.js +0 -21
  257. package/dist/layouts/rail/main/main.js.map +0 -1
  258. package/dist/main.css +0 -1
  259. package/dist/subheadline.module-C-v7zMkQ.js +0 -5
  260. package/dist/subheadline.module-C-v7zMkQ.js.map +0 -1
  261. package/dist/surfaces/panel/h_panel.d.ts +0 -9
  262. package/dist/surfaces/panel/h_panel.d.ts.map +0 -1
  263. package/dist/surfaces/panel/h_panel.js +0 -60
  264. package/dist/surfaces/panel/h_panel.js.map +0 -1
  265. package/dist/surfaces/panel/v_panel.d.ts +0 -5
  266. package/dist/surfaces/panel/v_panel.d.ts.map +0 -1
  267. package/dist/surfaces/panel/v_panel.js +0 -19
  268. package/dist/surfaces/panel/v_panel.js.map +0 -1
  269. package/dist/utility_bar.css +0 -1
  270. package/dist/utils/responsive/responsive_renderer.d.ts +0 -21
  271. package/dist/utils/responsive/responsive_renderer.d.ts.map +0 -1
  272. package/dist/utils/responsive/responsive_renderer.js +0 -12
  273. package/dist/utils/responsive/responsive_renderer.js.map +0 -1
  274. package/dist/v_body.css +0 -1
  275. package/src/layouts/header/header.module.css +0 -8
  276. package/src/layouts/rail/__stories__/rail.stories.tsx +0 -64
  277. package/src/layouts/rail/__stories__/rail_stories.module.css +0 -25
  278. package/src/layouts/rail/main/main.module.css +0 -7
  279. package/src/layouts/rail/main/main.tsx +0 -26
  280. package/src/layouts/scaffold/__stories__/scaffold.stories.tsx +0 -53
  281. package/src/layouts/scaffold/__stories__/scaffold_stories.module.css +0 -31
  282. package/src/surfaces/panel/h_panel.tsx +0 -65
  283. package/src/surfaces/panel/v_panel.tsx +0 -20
  284. package/src/utils/responsive/responsive_renderer.stories.tsx +0 -77
  285. package/src/utils/responsive/responsive_renderer.tsx +0 -31
package/dist/bar.css ADDED
@@ -0,0 +1 @@
1
+ @layer tcn-system{:where(._bar_8fa8c58){width:100%;height:auto;min-height:0}}
package/dist/body.css CHANGED
@@ -1 +1 @@
1
- @layer tcn-system{._body_42a1eac{min-height:0;flex-grow:1;width:100%;height:100%}:where(._tcn-main_5114d87){height:auto}}
1
+ @layer tcn-system{._body_42a1eac{min-height:0;min-width:0;flex-grow:1;flex-shrink:unset}._h-body_cda9f1f{overflow-x:auto}._v-body_a12af62{overflow-y:auto}}
@@ -0,0 +1,5 @@
1
+ import './body.css';const o = "_body_42a1eac", d = "_h-body_cda9f1f", y = "_v-body_a12af62", s = { body: o, "h-body": d, "v-body": y };
2
+ export {
3
+ s
4
+ };
5
+ //# sourceMappingURL=body.module-BbFZ7KNP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"body.module-BbFZ7KNP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/divider.css CHANGED
@@ -1 +1 @@
1
- @layer tcn-system{:where(._divider_af0a0c6){display:flex;align-items:center;justify-content:center}:where(._divider-line_cae0189){background:var(--material-line, #aaa);border-radius:calc(4px * var(--scalar, 1))}:where(._divider-line_cae0189[data-emphasis=strong]){background:color-mix(in srgb,#aaa,black 20%)}:where(._divider-line_cae0189[data-emphasis=normal]){background:#aaa}:where(._divider-line_cae0189[data-emphasis=light]){background:color-mix(in srgb,#aaa,white 20%)}:where(._divider_af0a0c6[data-orientation=horizontal]){width:100%;height:auto}:where(._divider-line_cae0189[data-orientation=horizontal]){width:var(--divider-width, 100%);height:calc(var(--divider-height, 1px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-thickness=sm]){height:calc(var(--divider-height, 1px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-thickness=md]){height:calc(var(--divider-height, 2px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-thickness=lg]){height:calc(var(--divider-height, 3px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=full]){width:var(--divider-width, 100%)}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=sm]){width:calc(var(--divider-width, 16px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=md]){width:calc(var(--divider-width, 20px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=lg]){width:calc(var(--divider-width, 24px) * var(--scalar, 1))}:where(._divider_af0a0c6[data-orientation=vertical]){height:100%;width:auto}:where(._divider-line_cae0189[data-orientation=vertical]){width:calc(var(--divider-width, 1px) * var(--scalar, 1));height:var(--divider-height, 100%)}:where(._divider-line_cae0189[data-orientation=vertical][data-thickness=sm]){min-width:calc(var(--divider-width, 1px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-thickness=md]){min-width:calc(var(--divider-width, 2px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-thickness=lg]){min-width:calc(var(--divider-width, 3px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-length=full]){height:var(--divider-height, 100%)}:where(._divider-line_cae0189[data-orientation=vertical][data-length=sm]){height:calc(var(--divider-height, 16px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-length=md]){height:calc(var(--divider-height, 20px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-length=lg]){height:calc(var(--divider-height, 24px) * var(--scalar, 1))}}
1
+ @layer tcn-system{:where(._divider_af0a0c6){display:flex;align-items:center;justify-content:center}:where(._divider-line_cae0189){background:var(--material-line, #aaa);border-radius:calc(4px * var(--scalar, 1))}:where(._divider-line_cae0189[data-emphasis=strong]){background:color-mix(in srgb,#aaa,black 20%)}:where(._divider-line_cae0189[data-emphasis=normal]){background:#aaa}:where(._divider-line_cae0189[data-emphasis=faint]){background:color-mix(in srgb,#aaa,white 20%)}:where(._divider_af0a0c6[data-orientation=horizontal]){width:100%;height:auto}:where(._divider-line_cae0189[data-orientation=horizontal]){width:var(--divider-width, 100%);height:calc(var(--divider-height, 1px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-thickness=sm]){height:calc(var(--divider-height, 1px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-thickness=md]){height:calc(var(--divider-height, 2px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-thickness=lg]){height:calc(var(--divider-height, 3px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=full]){width:var(--divider-width, 100%)}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=sm]){width:calc(var(--divider-width, 16px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=md]){width:calc(var(--divider-width, 20px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=horizontal][data-length=lg]){width:calc(var(--divider-width, 24px) * var(--scalar, 1))}:where(._divider_af0a0c6[data-orientation=vertical]){height:100%;width:auto}:where(._divider-line_cae0189[data-orientation=vertical]){width:calc(var(--divider-width, 1px) * var(--scalar, 1));height:var(--divider-height, 100%)}:where(._divider-line_cae0189[data-orientation=vertical][data-thickness=sm]){min-width:calc(var(--divider-width, 1px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-thickness=md]){min-width:calc(var(--divider-width, 2px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-thickness=lg]){min-width:calc(var(--divider-width, 3px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-length=full]){height:var(--divider-height, 100%)}:where(._divider-line_cae0189[data-orientation=vertical][data-length=sm]){height:calc(var(--divider-height, 16px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-length=md]){height:calc(var(--divider-height, 20px) * var(--scalar, 1))}:where(._divider-line_cae0189[data-orientation=vertical][data-length=lg]){height:calc(var(--divider-height, 24px) * var(--scalar, 1))}}
@@ -1,33 +1,33 @@
1
1
  import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
2
  import m from "react";
3
3
  import { BodyText as t } from "../../typography/body_text/body_text.js";
4
- import l from "clsx";
5
- import "../../callout.module-D8ECmxpO.js";
6
- import "../../caption.module-DDq0H4xZ.js";
7
- import "../../footnote.module-DEyFuqOr.js";
8
- import "../../headline.module-BiwHBtGf.js";
9
- import "../../subheadline.module-C-v7zMkQ.js";
4
+ import "../../typography/callout/callout.js";
5
+ import "../../typography/caption/caption.js";
6
+ import "../../typography/footnote/footnote.js";
7
+ import "../../typography/headline/headline.js";
8
+ import "../../typography/subheadline/subheadline.js";
10
9
  import "../../typography/title/title.js";
11
- import { HStack as d } from "../../stacks/h_stack.js";
10
+ import { HStack as l } from "../../stacks/h_stack.js";
12
11
  import { Spacer as a } from "../../stacks/spacer.js";
13
- import { VStack as b } from "../../stacks/v_stack.js";
14
- import { ZStack as f } from "../../stacks/z_stack.js";
12
+ import { VStack as d } from "../../stacks/v_stack.js";
13
+ import { ZStack as b } from "../../stacks/z_stack.js";
14
+ import f from "clsx";
15
15
  import '../../progress_bar.css';const h = "_progress-bar-container_014b4d9", _ = "_progress-bar-background_9176cc0", x = "_progress-bar_057c33d", k = "_progress-bar-fill_00854f0", u = "_moveStripes_d219e85", s = { "progress-bar-container": h, "progress-bar-background": _, "progress-bar": x, "progress-bar-fill": k, moveStripes: u }, T = m.forwardRef(function({ message: i, value: p, ...c }, n) {
16
16
  const o = `${(p * 100).toFixed(0)}%`, g = { "--progress-percentage": o };
17
17
  return /* @__PURE__ */ e(
18
- b,
18
+ d,
19
19
  {
20
20
  ref: n,
21
- className: l(s["progress-bar-container"], "tcn-progress-bar"),
21
+ className: f(s["progress-bar-container"], "tcn-progress-bar"),
22
22
  ...c,
23
23
  children: [
24
- /* @__PURE__ */ e(d, { height: "auto", vAlign: "end", children: [
24
+ /* @__PURE__ */ e(l, { height: "auto", vAlign: "end", children: [
25
25
  /* @__PURE__ */ r(t, { children: i }),
26
26
  /* @__PURE__ */ r(a, {}),
27
27
  /* @__PURE__ */ r(a, { width: "8px" }),
28
28
  /* @__PURE__ */ r(t, { size: "sm", style: { flexShrink: 0 }, children: o })
29
29
  ] }),
30
- /* @__PURE__ */ e(f, { height: "8px", hAlign: "start", children: [
30
+ /* @__PURE__ */ e(b, { height: "8px", hAlign: "start", children: [
31
31
  /* @__PURE__ */ r("div", { className: s["progress-bar-background"] }),
32
32
  /* @__PURE__ */ r(
33
33
  "div",
package/dist/footer.css CHANGED
@@ -1 +1 @@
1
- @layer tcn-system{:where(._footer_4a43c3e){width:100%;min-height:0;padding:var(--padding) var(--padding-large);gap:var(--gap)}:where(._footer_4a43c3e[data-kind=app]){position:relative}:where(._footer_4a43c3e[data-kind=nav]){position:relative}:where(._footer_4a43c3e[data-kind=toolbar]){position:relative}:where(._footer_4a43c3e[data-kind=window]){position:relative}:where(._footer_4a43c3e[data-kind=status]){position:relative}}
1
+ @layer tcn-system{:where(._footer_4a43c3e){min-height:0}:where(._footer_4a43c3e[data-kind=app]){position:relative}:where(._footer_4a43c3e[data-kind=nav]){position:relative}:where(._footer_4a43c3e[data-kind=toolbar]){position:relative}:where(._footer_4a43c3e[data-kind=window]){position:relative}:where(._footer_4a43c3e[data-kind=status]){position:relative}}
@@ -1,13 +1,12 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { BodyText as i } from "../../../typography/body_text/body_text.js";
3
- import "clsx";
4
- import "../../../callout.module-D8ECmxpO.js";
5
- import "../../../caption.module-DDq0H4xZ.js";
6
- import "../../../footnote.module-DEyFuqOr.js";
7
- import "../../../headline.module-BiwHBtGf.js";
8
- import "../../../subheadline.module-C-v7zMkQ.js";
3
+ import "../../../typography/callout/callout.js";
4
+ import "../../../typography/caption/caption.js";
5
+ import "../../../typography/footnote/footnote.js";
6
+ import "../../../typography/headline/headline.js";
7
+ import "../../../typography/subheadline/subheadline.js";
9
8
  import "../../../typography/title/title.js";
10
- const x = ({ children: r, id: t }) => r ? typeof r == "string" ? /* @__PURE__ */ o(
9
+ const c = ({ children: r, id: t }) => r ? typeof r == "string" ? /* @__PURE__ */ o(
11
10
  i,
12
11
  {
13
12
  breakWords: !0,
@@ -20,6 +19,6 @@ const x = ({ children: r, id: t }) => r ? typeof r == "string" ? /* @__PURE__ */
20
19
  }
21
20
  ) : r : null;
22
21
  export {
23
- x as FieldDescription
22
+ c as FieldDescription
24
23
  };
25
24
  //# sourceMappingURL=field_description.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"field_description.js","sources":["../../../../src/form/field/common/field_description.tsx"],"sourcesContent":["import React from 'react';\nimport { BodyText } from '../../../typography/index.js';\n\nexport interface FieldDescriptionOwnProps {\n children?: React.ReactNode | string;\n id?: string;\n}\n\nexport const FieldDescription = ({ children, id }: FieldDescriptionOwnProps) => {\n if (!children) return null;\n if (typeof children === 'string') {\n return (\n <BodyText\n breakWords\n hierarchy=\"secondary\"\n emphasis=\"normal\"\n size=\"sm\"\n className=\"tcn-field-row-description-text\"\n id={id}\n >\n {children}\n </BodyText>\n );\n }\n return children;\n};\n"],"names":["FieldDescription","children","id","jsx","BodyText"],"mappings":";;;;;;;;;AAQO,MAAMA,IAAmB,CAAC,EAAE,UAAAC,GAAU,IAAAC,QACtCD,IACD,OAAOA,KAAa,WAEpB,gBAAAE;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,YAAU;AAAA,IACV,WAAU;AAAA,IACV,UAAS;AAAA,IACT,MAAK;AAAA,IACL,WAAU;AAAA,IACV,IAAAF;AAAA,IAEC,UAAAD;AAAA,EAAA;AAAA,IAIAA,IAfe;"}
1
+ {"version":3,"file":"field_description.js","sources":["../../../../src/form/field/common/field_description.tsx"],"sourcesContent":["import React from 'react';\nimport { BodyText } from '../../../typography/index.js';\n\nexport interface FieldDescriptionOwnProps {\n children?: React.ReactNode | string;\n id?: string;\n}\n\nexport const FieldDescription = ({ children, id }: FieldDescriptionOwnProps) => {\n if (!children) return null;\n if (typeof children === 'string') {\n return (\n <BodyText\n breakWords\n hierarchy=\"secondary\"\n emphasis=\"normal\"\n size=\"sm\"\n className=\"tcn-field-row-description-text\"\n id={id}\n >\n {children}\n </BodyText>\n );\n }\n return children;\n};\n"],"names":["FieldDescription","children","id","jsx","BodyText"],"mappings":";;;;;;;;AAQO,MAAMA,IAAmB,CAAC,EAAE,UAAAC,GAAU,IAAAC,QACtCD,IACD,OAAOA,KAAa,WAEpB,gBAAAE;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,YAAU;AAAA,IACV,WAAU;AAAA,IACV,UAAS;AAAA,IACT,MAAK;AAAA,IACL,WAAU;AAAA,IACV,IAAAF;AAAA,IAEC,UAAAD;AAAA,EAAA;AAAA,IAIAA,IAfe;"}
@@ -1,11 +1,10 @@
1
1
  import { jsxs as m, jsx as o } from "react/jsx-runtime";
2
2
  import { BodyText as p } from "../../../typography/body_text/body_text.js";
3
- import "clsx";
4
- import "../../../callout.module-D8ECmxpO.js";
5
- import "../../../caption.module-DDq0H4xZ.js";
6
- import "../../../footnote.module-DEyFuqOr.js";
7
- import "../../../headline.module-BiwHBtGf.js";
8
- import "../../../subheadline.module-C-v7zMkQ.js";
3
+ import "../../../typography/callout/callout.js";
4
+ import "../../../typography/caption/caption.js";
5
+ import "../../../typography/footnote/footnote.js";
6
+ import "../../../typography/headline/headline.js";
7
+ import "../../../typography/subheadline/subheadline.js";
9
8
  import "../../../typography/title/title.js";
10
9
  import { theme as i } from "../../../themes/theme_variables.js";
11
10
  import "react";
@@ -16,6 +15,7 @@ import "../../../stacks/spacer.js";
16
15
  import "../../../stacks/v_collapsible_box.js";
17
16
  import "../../../stacks/v_stack.js";
18
17
  import "../../../stacks/z_stack.js";
18
+ import "clsx";
19
19
  import '../../../themes/stylesheets/reset.css';/* empty css */
20
20
  import "../../../theme_provider.module-ChZQ5Xsk.js";
21
21
  import "../../../themes/stylesheets/reset.js";
@@ -1,13 +1,12 @@
1
1
  import { jsxs as o, jsx as l } from "react/jsx-runtime";
2
2
  import { BodyText as t } from "../../../typography/body_text/body_text.js";
3
- import "clsx";
4
- import "../../../callout.module-D8ECmxpO.js";
5
- import "../../../caption.module-DDq0H4xZ.js";
6
- import "../../../footnote.module-DEyFuqOr.js";
7
- import "../../../headline.module-BiwHBtGf.js";
8
- import "../../../subheadline.module-C-v7zMkQ.js";
3
+ import "../../../typography/callout/callout.js";
4
+ import "../../../typography/caption/caption.js";
5
+ import "../../../typography/footnote/footnote.js";
6
+ import "../../../typography/headline/headline.js";
7
+ import "../../../typography/subheadline/subheadline.js";
9
8
  import "../../../typography/title/title.js";
10
- const x = ({ children: r, id: e, required: i }) => r ? typeof r == "string" ? /* @__PURE__ */ o(
9
+ const u = ({ children: r, id: e, required: i }) => r ? typeof r == "string" ? /* @__PURE__ */ o(
11
10
  t,
12
11
  {
13
12
  breakWords: !0,
@@ -33,6 +32,6 @@ const x = ({ children: r, id: e, required: i }) => r ? typeof r == "string" ? /*
33
32
  }
34
33
  ) : r : null;
35
34
  export {
36
- x as FieldLabel
35
+ u as FieldLabel
37
36
  };
38
37
  //# sourceMappingURL=field_label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"field_label.js","sources":["../../../../src/form/field/common/field_label.tsx"],"sourcesContent":["import React from 'react';\nimport { BodyText } from '../../../typography/index.js';\n\nexport interface FieldLabelOwnProps {\n children?: React.ReactNode | string;\n id?: string;\n required?: boolean;\n}\n\nexport const FieldLabel = ({ children, id, required }: FieldLabelOwnProps) => {\n if (!children) return null;\n if (typeof children === 'string') {\n return (\n <BodyText\n breakWords\n color=\"inherit\"\n size=\"lg\"\n id={id}\n style={{\n justifyContent: 'center',\n alignItems: 'center',\n display: 'flex',\n }}\n >\n {children}\n {required && (\n <BodyText\n size=\"lg\"\n style={{ color: 'red', paddingInline: 'calc(var(--scalar, 1)*4px)' }}\n >\n *\n </BodyText>\n )}\n </BodyText>\n );\n }\n return children;\n};\n"],"names":["FieldLabel","children","id","required","jsxs","BodyText","jsx"],"mappings":";;;;;;;;;AASO,MAAMA,IAAa,CAAC,EAAE,UAAAC,GAAU,IAAAC,GAAI,UAAAC,QACpCF,IACD,OAAOA,KAAa,WAEpB,gBAAAG;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,YAAU;AAAA,IACV,OAAM;AAAA,IACN,MAAK;AAAA,IACL,IAAAH;AAAA,IACA,OAAO;AAAA,MACL,gBAAgB;AAAA,MAChB,YAAY;AAAA,MACZ,SAAS;AAAA,IAAA;AAAA,IAGV,UAAA;AAAA,MAAAD;AAAA,MACAE,KACC,gBAAAG;AAAA,QAACD;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,OAAO,EAAE,OAAO,OAAO,eAAe,6BAAA;AAAA,UACvC,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAED;AAAA,EAAA;AAAA,IAKDJ,IA1Be;"}
1
+ {"version":3,"file":"field_label.js","sources":["../../../../src/form/field/common/field_label.tsx"],"sourcesContent":["import React from 'react';\nimport { BodyText } from '../../../typography/index.js';\n\nexport interface FieldLabelOwnProps {\n children?: React.ReactNode | string;\n id?: string;\n required?: boolean;\n}\n\nexport const FieldLabel = ({ children, id, required }: FieldLabelOwnProps) => {\n if (!children) return null;\n if (typeof children === 'string') {\n return (\n <BodyText\n breakWords\n color=\"inherit\"\n size=\"lg\"\n id={id}\n style={{\n justifyContent: 'center',\n alignItems: 'center',\n display: 'flex',\n }}\n >\n {children}\n {required && (\n <BodyText\n size=\"lg\"\n style={{ color: 'red', paddingInline: 'calc(var(--scalar, 1)*4px)' }}\n >\n *\n </BodyText>\n )}\n </BodyText>\n );\n }\n return children;\n};\n"],"names":["FieldLabel","children","id","required","jsxs","BodyText","jsx"],"mappings":";;;;;;;;AASO,MAAMA,IAAa,CAAC,EAAE,UAAAC,GAAU,IAAAC,GAAI,UAAAC,QACpCF,IACD,OAAOA,KAAa,WAEpB,gBAAAG;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,YAAU;AAAA,IACV,OAAM;AAAA,IACN,MAAK;AAAA,IACL,IAAAH;AAAA,IACA,OAAO;AAAA,MACL,gBAAgB;AAAA,MAChB,YAAY;AAAA,MACZ,SAAS;AAAA,IAAA;AAAA,IAGV,UAAA;AAAA,MAAAD;AAAA,MACAE,KACC,gBAAAG;AAAA,QAACD;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,OAAO,EAAE,OAAO,OAAO,eAAe,6BAAA;AAAA,UACvC,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAED;AAAA,EAAA;AAAA,IAKDJ,IA1Be;"}
@@ -1,15 +1,15 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { clsx as i } from "clsx";
3
- import "../../body_text.module-h4XQE2pC.js";
4
- import "../../callout.module-D8ECmxpO.js";
5
- import "../../caption.module-DDq0H4xZ.js";
6
- import "../../footnote.module-DEyFuqOr.js";
7
- import "../../headline.module-BiwHBtGf.js";
8
- import "../../subheadline.module-C-v7zMkQ.js";
2
+ import "../../typography/body_text/body_text.js";
3
+ import "../../typography/callout/callout.js";
4
+ import "../../typography/caption/caption.js";
5
+ import "../../typography/footnote/footnote.js";
6
+ import "../../typography/headline/headline.js";
7
+ import "../../typography/subheadline/subheadline.js";
9
8
  import { Title as h } from "../../typography/title/title.js";
10
9
  import { HStack as b } from "../../stacks/h_stack.js";
11
10
  import { Spacer as c } from "../../stacks/spacer.js";
12
11
  import { VStack as f } from "../../stacks/v_stack.js";
12
+ import { clsx as i } from "clsx";
13
13
  import y, { useMemo as S } from "react";
14
14
  import '../../field_set.css';const u = "_field-set_8e981d9", x = "_field-set-body_4cd3139", m = { "field-set": u, "field-set-body": x };
15
15
  let _ = 0;
@@ -1,14 +1,14 @@
1
1
  import { jsx as n, jsxs as w } from "react/jsx-runtime";
2
2
  import { useSignalValue as u } from "@tcn/state";
3
3
  import { BodyText as b } from "../../typography/body_text/body_text.js";
4
- import { clsx as f } from "clsx";
5
- import "../../callout.module-D8ECmxpO.js";
6
- import "../../caption.module-DDq0H4xZ.js";
7
- import "../../footnote.module-DEyFuqOr.js";
8
- import "../../headline.module-BiwHBtGf.js";
9
- import "../../subheadline.module-C-v7zMkQ.js";
4
+ import "../../typography/callout/callout.js";
5
+ import "../../typography/caption/caption.js";
6
+ import "../../typography/footnote/footnote.js";
7
+ import "../../typography/headline/headline.js";
8
+ import "../../typography/subheadline/subheadline.js";
10
9
  import "../../typography/title/title.js";
11
10
  import { ZStack as M } from "../../stacks/z_stack.js";
11
+ import { clsx as f } from "clsx";
12
12
  import '../../date_picker_date.css';const B = "_date-picker-date_38d540e", _ = "_date-picker-today_af9d1ab", k = { "date-picker-date": B, "date-picker-today": _ };
13
13
  function C({ presenter: i, date: t }) {
14
14
  const {
@@ -1,14 +1,14 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import r from "clsx";
3
- import "../../body_text.module-h4XQE2pC.js";
4
- import "../../callout.module-D8ECmxpO.js";
5
- import "../../caption.module-DDq0H4xZ.js";
6
- import "../../footnote.module-DEyFuqOr.js";
2
+ import "../../typography/body_text/body_text.js";
3
+ import "../../typography/callout/callout.js";
4
+ import "../../typography/caption/caption.js";
5
+ import "../../typography/footnote/footnote.js";
7
6
  import { Headline as c } from "../../typography/headline/headline.js";
8
- import "../../subheadline.module-C-v7zMkQ.js";
7
+ import "../../typography/subheadline/subheadline.js";
9
8
  import "../../typography/title/title.js";
10
9
  import { ZStack as p } from "../../stacks/z_stack.js";
11
10
  import { useMemo as s } from "react";
11
+ import r from "clsx";
12
12
  import '../../date_picker_day.css';const d = "_date-picker-day_2945845", i = { "date-picker-day": d };
13
13
  function u({ dayOfTheWeek: o, countryCode: t }) {
14
14
  const e = /* @__PURE__ */ new Date();
@@ -10,11 +10,11 @@ import "../../actions/button/select_group/select_group.js";
10
10
  import "../../actions/button/select_group/single_select_group.js";
11
11
  import "../../actions/toggle/toggle.js";
12
12
  import { BodyText as $ } from "../../typography/body_text/body_text.js";
13
- import "../../callout.module-D8ECmxpO.js";
14
- import "../../caption.module-DDq0H4xZ.js";
15
- import "../../footnote.module-DEyFuqOr.js";
16
- import "../../headline.module-BiwHBtGf.js";
17
- import "../../subheadline.module-C-v7zMkQ.js";
13
+ import "../../typography/callout/callout.js";
14
+ import "../../typography/caption/caption.js";
15
+ import "../../typography/footnote/footnote.js";
16
+ import "../../typography/headline/headline.js";
17
+ import "../../typography/subheadline/subheadline.js";
18
18
  import "../../typography/title/title.js";
19
19
  import { ClockIcon as j } from "@tcn/icons/clock_icon.js";
20
20
  import '../../date_picker_time_selector.css';const z = "_time-box_f3145be", P = "_time-box-title_6cc801b", Z = "_time-box-title-container_22add52", v = "_selected-time_33e3aa3", m = { "time-box": z, "time-box-title": P, "time-box-title-container": Z, "selected-time": v };
@@ -14,18 +14,18 @@ import { HStack as t } from "../../stacks/h_stack.js";
14
14
  import { Spacer as x } from "../../stacks/spacer.js";
15
15
  import { VStack as E } from "../../stacks/v_stack.js";
16
16
  import { BodyText as L } from "../../typography/body_text/body_text.js";
17
- import { clsx as y } from "clsx";
18
- import "../../callout.module-D8ECmxpO.js";
19
- import "../../caption.module-DDq0H4xZ.js";
20
- import "../../footnote.module-DEyFuqOr.js";
17
+ import "../../typography/callout/callout.js";
18
+ import "../../typography/caption/caption.js";
19
+ import "../../typography/footnote/footnote.js";
21
20
  import { Headline as M } from "../../typography/headline/headline.js";
22
- import "../../subheadline.module-C-v7zMkQ.js";
21
+ import "../../typography/subheadline/subheadline.js";
23
22
  import "../../typography/title/title.js";
24
23
  import "../../utils/click_away_listener.js";
25
24
  import { FocusRedirect as T } from "../../utils/focus_redirect.js";
26
25
  import "../../utils/scroll_away_listener.js";
27
26
  import "../../utils/hooks/use_resize_observer.js";
28
27
  import "../../utils/dnd/context.js";
28
+ import { clsx as y } from "clsx";
29
29
  import "../../draggable.module-BgelQsuJ.js";
30
30
  import '../../date_picker_year_selector.css';const q = "_date-picker-year-selector_ab05e1f", A = "_date-picker-year-button_fded757", Y = { "date-picker-year-selector": q, "date-picker-year-button": A };
31
31
  function be({
@@ -1,14 +1,14 @@
1
1
  import { jsx as r, jsxs as N, Fragment as ce } from "react/jsx-runtime";
2
2
  import { BodyText as ae } from "../../typography/body_text/body_text.js";
3
- import { clsx as R } from "clsx";
4
- import "../../callout.module-D8ECmxpO.js";
5
- import "../../caption.module-DDq0H4xZ.js";
6
- import "../../footnote.module-DEyFuqOr.js";
7
- import "../../headline.module-BiwHBtGf.js";
8
- import "../../subheadline.module-C-v7zMkQ.js";
3
+ import "../../typography/callout/callout.js";
4
+ import "../../typography/caption/caption.js";
5
+ import "../../typography/footnote/footnote.js";
6
+ import "../../typography/headline/headline.js";
7
+ import "../../typography/subheadline/subheadline.js";
9
8
  import "../../typography/title/title.js";
10
9
  import { VStack as O } from "../../stacks/v_stack.js";
11
10
  import { ZStack as ue } from "../../stacks/z_stack.js";
11
+ import { clsx as R } from "clsx";
12
12
  import { Children as pe, isValidElement as de, useState as a, useRef as T, useLayoutEffect as S } from "react";
13
13
  import "../../utils/click_away_listener.js";
14
14
  import { FocusRedirect as fe } from "../../utils/focus_redirect.js";
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { HStackProps } from '../../stacks/h_stack.js';
3
+ export type BarProps = HStackProps;
4
+ export declare const Bar: React.ForwardRefExoticComponent<BarProps & React.RefAttributes<HTMLElement>>;
5
+ //# sourceMappingURL=bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bar.d.ts","sourceRoot":"","sources":["../../../src/layouts/bar/bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAInE,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC;AAEnC,eAAO,MAAM,GAAG,8EAcd,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import s from "react";
3
+ import { clsx as e } from "clsx";
4
+ import { HStack as f } from "../../stacks/h_stack.js";
5
+ import '../../bar.css';const m = "_bar_8fa8c58", n = { bar: m }, d = s.forwardRef(function({ children: r, className: a, ...t }, o) {
6
+ return /* @__PURE__ */ c(
7
+ f,
8
+ {
9
+ ref: o,
10
+ as: "header",
11
+ className: e(a, n.bar, "tcn-bar"),
12
+ ...t,
13
+ children: r
14
+ }
15
+ );
16
+ });
17
+ export {
18
+ d as Bar
19
+ };
20
+ //# sourceMappingURL=bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bar.js","sources":["../../../src/layouts/bar/bar.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\n\nimport styles from './bar.module.css';\n\nexport type BarProps = HStackProps;\n\nexport const Bar = React.forwardRef<HTMLElement, BarProps>(function Bar(\n { children, className, ...props }: BarProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"header\"\n className={clsx(className, styles['bar'], 'tcn-bar')}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["Bar","React","children","className","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;0CAQaA,IAAMC,EAAM,WAAkC,SACzD,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,KAAQ,SAAS;AAAA,MAClD,GAAGL;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,6 +1,6 @@
1
- import { VStackProps } from '../../stacks/v_stack.js';
2
1
  import { default as React } from 'react';
3
- export interface BodyProps extends Omit<VStackProps, 'as'> {
2
+ import { BoxProps } from '../../stacks/box/box.js';
3
+ export interface BodyProps extends Omit<BoxProps, 'as'> {
4
4
  }
5
5
  export declare const Body: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<HTMLElement>>;
6
6
  //# sourceMappingURL=body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE7D,eAAO,MAAM,IAAI,+EAef,CAAC"}
1
+ {"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC;CAAG;AAI1D,eAAO,MAAM,IAAI,+EAcf,CAAC"}
@@ -1,21 +1,21 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { VStack as m } from "../../stacks/v_stack.js";
3
- import s from "react";
4
- import { clsx as d } from "clsx";
5
- import '../../body.css';const i = "_body_42a1eac", e = "_tcn-main_5114d87", f = { body: i, "tcn-main": e }, u = s.forwardRef(function({ children: o, className: t, overflowY: c = "auto", ...n }, a) {
6
- return /* @__PURE__ */ r(
7
- m,
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import f from "react";
3
+ import { clsx as a } from "clsx";
4
+ import { s as d } from "../../body.module-BbFZ7KNP.js";
5
+ import { Box as e } from "../../stacks/box/box.js";
6
+ const x = f.forwardRef(function({ children: o, className: r, ...t }, m) {
7
+ return /* @__PURE__ */ s(
8
+ e,
8
9
  {
9
- ref: a,
10
+ ref: m,
10
11
  as: "div",
11
- overflowY: c,
12
- className: d(f.body, t, "tcn-body"),
13
- ...n,
12
+ className: a(d.body, r, "tcn-body"),
13
+ ...t,
14
14
  children: o
15
15
  }
16
16
  );
17
17
  });
18
18
  export {
19
- u as Body
19
+ x as Body
20
20
  };
21
21
  //# sourceMappingURL=body.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"body.js","sources":["../../../src/layouts/body/body.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './body.module.css';\n\nexport interface BodyProps extends Omit<VStackProps, 'as'> {}\n\nexport const Body = React.forwardRef<HTMLElement, BodyProps>(function Body(\n { children, className, overflowY = 'auto', ...props }: BodyProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"div\"\n overflowY={overflowY}\n className={clsx(styles['body'], className, 'tcn-body')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["Body","React","children","className","overflowY","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;oFAOaA,IAAOC,EAAM,WAAmC,SAC3D,EAAE,UAAAC,GAAU,WAAAC,GAAW,WAAAC,IAAY,QAAQ,GAAGC,EAAA,GAC9CC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAAF;AAAA,MACA,WAAWK,EAAKC,EAAO,MAASP,GAAW,UAAU;AAAA,MACpD,GAAGE;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"body.js","sources":["../../../src/layouts/body/body.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './body.module.css';\nimport { Box, type BoxProps } from '../../stacks/box/box.js';\n\nexport interface BodyProps extends Omit<BoxProps, 'as'> {}\n\n// Under construction: although this component behaves correctly, a content/child component that manages scrolling is needed.\n// For now HBody and VBody are recommended.\nexport const Body = React.forwardRef<HTMLElement, BodyProps>(function Body(\n { children, className, ...props }: BodyProps,\n ref\n) {\n return (\n <Box\n ref={ref}\n as=\"div\"\n className={clsx(styles['body'], className, 'tcn-body')}\n {...props}\n >\n {children}\n </Box>\n );\n});\n"],"names":["Body","React","children","className","props","ref","jsx","Box","clsx","styles"],"mappings":";;;;;AASO,MAAMA,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,EAAKC,EAAO,MAASN,GAAW,UAAU;AAAA,MACpD,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"h_body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/h_body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAehB,CAAC"}
1
+ {"version":3,"file":"h_body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/h_body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAoBhB,CAAC"}
@@ -1,17 +1,23 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { HStack as s } from "../../stacks/h_stack.js";
3
- import m from "react";
4
- import { clsx as y } from "clsx";
5
- import '../../h_body.css';const a = "_h-body_d56f4f1", n = { "h-body": a }, l = m.forwardRef(function({ children: o, className: t, overflowX: r = "auto", ...d }, c) {
6
- return /* @__PURE__ */ f(
7
- s,
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { HStack as f } from "../../stacks/h_stack.js";
3
+ import a from "react";
4
+ import { clsx as c } from "clsx";
5
+ import { s as o } from "../../body.module-BbFZ7KNP.js";
6
+ const l = a.forwardRef(function({ children: r, className: t, ...m }, s) {
7
+ return /* @__PURE__ */ d(
8
+ f,
8
9
  {
9
- ref: c,
10
+ ref: s,
10
11
  as: "div",
11
- overflowX: r,
12
- className: y(n["h-body"], t, "tcn-h-body", "tcn-body"),
13
- ...d,
14
- children: o
12
+ className: c(
13
+ o.body,
14
+ o["h-body"],
15
+ t,
16
+ "tcn-h-body",
17
+ "tcn-body"
18
+ ),
19
+ ...m,
20
+ children: r
15
21
  }
16
22
  );
17
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"h_body.js","sources":["../../../src/layouts/body/h_body.tsx"],"sourcesContent":["import { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './h_body.module.css';\n\nexport interface HBodyProps extends Omit<HStackProps, 'as'> {}\n\nexport const HBody = React.forwardRef<HTMLElement, HBodyProps>(function HBody(\n { children, className, overflowX = 'auto', ...props }: HBodyProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"div\"\n overflowX={overflowX}\n className={clsx(styles['h-body'], className, 'tcn-h-body', 'tcn-body')}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["HBody","React","children","className","overflowX","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;kDAOaA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,WAAAC,IAAY,QAAQ,GAAGC,EAAA,GAC9CC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAAF;AAAA,MACA,WAAWK,EAAKC,EAAO,QAAQ,GAAGP,GAAW,cAAc,UAAU;AAAA,MACpE,GAAGE;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"h_body.js","sources":["../../../src/layouts/body/h_body.tsx"],"sourcesContent":["import { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './body.module.css';\n\nexport interface HBodyProps extends Omit<HStackProps, 'as'> {}\n\nexport const HBody = React.forwardRef<HTMLElement, HBodyProps>(function HBody(\n { children, className, ...props }: HBodyProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"div\"\n className={clsx(\n styles['body'],\n styles['h-body'],\n className,\n 'tcn-h-body',\n 'tcn-body'\n )}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["HBody","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;AAAA,QACTC,EAAO;AAAA,QACPA,EAAO,QAAQ;AAAA,QACfN;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"v_body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/v_body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAehB,CAAC"}
1
+ {"version":3,"file":"v_body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/v_body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAoBhB,CAAC"}
@@ -1,17 +1,23 @@
1
- import { jsx as s } from "react/jsx-runtime";
1
+ import { jsx as d } from "react/jsx-runtime";
2
2
  import { VStack as f } from "../../stacks/v_stack.js";
3
- import m from "react";
4
- import { clsx as y } from "clsx";
5
- import '../../v_body.css';const a = "_v-body_d8f1917", n = { "v-body": a }, l = m.forwardRef(function({ children: o, className: t, overflowY: r = "auto", ...d }, c) {
6
- return /* @__PURE__ */ s(
3
+ import a from "react";
4
+ import { clsx as c } from "clsx";
5
+ import { s as o } from "../../body.module-BbFZ7KNP.js";
6
+ const l = a.forwardRef(function({ children: r, className: t, ...m }, s) {
7
+ return /* @__PURE__ */ d(
7
8
  f,
8
9
  {
9
- ref: c,
10
+ ref: s,
10
11
  as: "div",
11
- overflowY: r,
12
- className: y(n["v-body"], t, "tcn-body", "tcn-v-body"),
13
- ...d,
14
- children: o
12
+ className: c(
13
+ o.body,
14
+ o["v-body"],
15
+ t,
16
+ "tcn-body",
17
+ "tcn-v-body"
18
+ ),
19
+ ...m,
20
+ children: r
15
21
  }
16
22
  );
17
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"v_body.js","sources":["../../../src/layouts/body/v_body.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './v_body.module.css';\n\nexport interface VBodyProps extends Omit<VStackProps, 'as'> {}\n\nexport const VBody = React.forwardRef<HTMLElement, VBodyProps>(function VBody(\n { children, className, overflowY = 'auto', ...props }: VBodyProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"div\"\n overflowY={overflowY}\n className={clsx(styles['v-body'], className, 'tcn-body', 'tcn-v-body')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["VBody","React","children","className","overflowY","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;kDAOaA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,WAAAC,IAAY,QAAQ,GAAGC,EAAA,GAC9CC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAAF;AAAA,MACA,WAAWK,EAAKC,EAAO,QAAQ,GAAGP,GAAW,YAAY,YAAY;AAAA,MACpE,GAAGE;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"v_body.js","sources":["../../../src/layouts/body/v_body.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './body.module.css';\n\nexport interface VBodyProps extends Omit<VStackProps, 'as'> {}\n\nexport const VBody = React.forwardRef<HTMLElement, VBodyProps>(function VBody(\n { children, className, ...props }: VBodyProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"div\"\n className={clsx(\n styles['body'],\n styles['v-body'],\n className,\n 'tcn-body',\n 'tcn-v-body'\n )}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["VBody","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;AAAA,QACTC,EAAO;AAAA,QACPA,EAAO,QAAQ;AAAA,QACfN;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
@@ -1,10 +1,9 @@
1
1
  import { default as React } from 'react';
2
- import { HStackProps } from '../../stacks/h_stack.js';
3
2
  import { Hierarchy, Size } from '../../utils/index.js';
4
- export interface FooterProps extends Omit<HStackProps, 'as' | 'children'> {
3
+ import { BarProps } from '../bar/bar.js';
4
+ export interface FooterProps extends Omit<BarProps, 'as'> {
5
5
  hierarchy?: Hierarchy;
6
6
  size?: Size;
7
- children?: React.ReactNode;
8
7
  }
9
8
  export declare const Footer: React.ForwardRefExoticComponent<FooterProps & React.RefAttributes<HTMLElement>>;
10
9
  //# sourceMappingURL=footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/layouts/footer/footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAG5D,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IACvE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,MAAM,iFAgBjB,CAAC"}
1
+ {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/layouts/footer/footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGnD,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC;IACvD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,eAAO,MAAM,MAAM,iFAgBjB,CAAC"}
@@ -1,18 +1,18 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import s from "react";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import c from "react";
3
3
  import { clsx as m } from "clsx";
4
- import { HStack as n } from "../../stacks/h_stack.js";
5
- import '../../footer.css';const i = "_footer_4a43c3e", d = { footer: i }, y = s.forwardRef(function({ hierarchy: o = "secondary", size: t = "md", children: r, className: e, ...a }, f) {
6
- return /* @__PURE__ */ c(
4
+ import { Bar as n } from "../bar/bar.js";
5
+ import '../../footer.css';const i = "_footer_4a43c3e", d = { footer: i }, y = c.forwardRef(function({ hierarchy: o = "secondary", size: r = "md", children: t, className: e, ...a }, f) {
6
+ return /* @__PURE__ */ s(
7
7
  n,
8
8
  {
9
9
  ref: f,
10
10
  as: "footer",
11
11
  className: m(d.footer, e, "tcn-footer"),
12
12
  "data-hierarchy": o,
13
- "data-size": t,
13
+ "data-size": r,
14
14
  ...a,
15
- children: r
15
+ children: t
16
16
  }
17
17
  );
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"footer.js","sources":["../../../src/layouts/footer/footer.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 './footer.module.css';\n\nexport interface FooterProps extends Omit<HStackProps, 'as' | 'children'> {\n hierarchy?: Hierarchy;\n size?: Size;\n children?: React.ReactNode;\n}\n\nexport const Footer = React.forwardRef<HTMLElement, FooterProps>(function Footer(\n { hierarchy = 'secondary', size = 'md', children, className, ...props }: FooterProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"footer\"\n className={clsx(styles.footer, className, 'tcn-footer')}\n data-hierarchy={hierarchy}\n data-size={size}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["Footer","React","hierarchy","size","children","className","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;gDAYaA,IAASC,EAAM,WAAqC,SAC/D,EAAE,WAAAC,IAAY,aAAa,MAAAC,IAAO,MAAM,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAChEC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,QAAQN,GAAW,YAAY;AAAA,MACtD,kBAAgBH;AAAA,MAChB,aAAWC;AAAA,MACV,GAAGG;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
1
+ {"version":3,"file":"footer.js","sources":["../../../src/layouts/footer/footer.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport type { Hierarchy, Size } from '../../utils/index.js';\nimport { Bar, type BarProps } from '../bar/bar.js';\n\nimport styles from './footer.module.css';\nexport interface FooterProps extends Omit<BarProps, 'as'> {\n hierarchy?: Hierarchy;\n size?: Size;\n}\n\nexport const Footer = React.forwardRef<HTMLElement, FooterProps>(function Footer(\n { hierarchy = 'secondary', size = 'md', children, className, ...props }: FooterProps,\n ref\n) {\n return (\n <Bar\n ref={ref}\n as=\"footer\"\n className={clsx(styles.footer, className, 'tcn-footer')}\n data-hierarchy={hierarchy}\n data-size={size}\n {...props}\n >\n {children}\n </Bar>\n );\n});\n"],"names":["Footer","React","hierarchy","size","children","className","props","ref","jsx","Bar","clsx","styles"],"mappings":";;;;gDAWaA,IAASC,EAAM,WAAqC,SAC/D,EAAE,WAAAC,IAAY,aAAa,MAAAC,IAAO,MAAM,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAChEC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,QAAQN,GAAW,YAAY;AAAA,MACtD,kBAAgBH;AAAA,MAChB,aAAWC;AAAA,MACV,GAAGG;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}