@mrpelz/uikit-ish 7.8.0 → 7.9.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 (272) hide show
  1. package/dist/components/accordion/main.d.ts +12 -0
  2. package/dist/components/accordion/main.d.ts.map +1 -0
  3. package/dist/components/accordion/main.js +20 -0
  4. package/dist/components/accordion/main.js.map +1 -0
  5. package/dist/components/accordion/style.css +23 -0
  6. package/dist/components/action-sheet/main.d.ts +22 -15
  7. package/dist/components/action-sheet/main.d.ts.map +1 -1
  8. package/dist/components/action-sheet/main.js +86 -16
  9. package/dist/components/action-sheet/main.js.map +1 -1
  10. package/dist/components/action-sheet/props.d.ts +17 -5
  11. package/dist/components/action-sheet/props.d.ts.map +1 -1
  12. package/dist/components/action-sheet/style.css +15 -0
  13. package/dist/components/activity-view/main.d.ts +14 -3
  14. package/dist/components/activity-view/main.d.ts.map +1 -1
  15. package/dist/components/activity-view/main.js +19 -4
  16. package/dist/components/activity-view/main.js.map +1 -1
  17. package/dist/components/activity-view/props.d.ts +2 -10
  18. package/dist/components/activity-view/props.d.ts.map +1 -1
  19. package/dist/components/activity-view/style.css +8 -46
  20. package/dist/components/alert/main.d.ts +6 -4
  21. package/dist/components/alert/main.d.ts.map +1 -1
  22. package/dist/components/alert/main.js +20 -4
  23. package/dist/components/alert/main.js.map +1 -1
  24. package/dist/components/alert/props.d.ts +12 -1
  25. package/dist/components/alert/props.d.ts.map +1 -1
  26. package/dist/components/alert/style.css +13 -27
  27. package/dist/components/avatar/main.d.ts +5 -3
  28. package/dist/components/avatar/main.d.ts.map +1 -1
  29. package/dist/components/avatar/main.js +3 -0
  30. package/dist/components/avatar/main.js.map +1 -1
  31. package/dist/components/avatar/props.d.ts +4 -0
  32. package/dist/components/avatar/props.d.ts.map +1 -1
  33. package/dist/components/avatar/style.css +0 -6
  34. package/dist/components/badge/main.d.ts +2 -2
  35. package/dist/components/badge/main.d.ts.map +1 -1
  36. package/dist/components/badge/main.js +5 -5
  37. package/dist/components/badge/main.js.map +1 -1
  38. package/dist/components/badge/props.d.ts +4 -3
  39. package/dist/components/badge/props.d.ts.map +1 -1
  40. package/dist/components/badge/style.css +3 -2
  41. package/dist/components/button/main.d.ts.map +1 -1
  42. package/dist/components/button/main.js +6 -6
  43. package/dist/components/button/main.js.map +1 -1
  44. package/dist/components/button/style.css +11 -27
  45. package/dist/components/checkbox/style.css +2 -5
  46. package/dist/components/collapsible/main.d.ts +9 -0
  47. package/dist/components/collapsible/main.d.ts.map +1 -0
  48. package/dist/components/collapsible/main.js +19 -0
  49. package/dist/components/collapsible/main.js.map +1 -0
  50. package/dist/components/collapsible/style.css +23 -0
  51. package/dist/components/color-picker/main.d.ts +1 -1
  52. package/dist/components/color-picker/main.d.ts.map +1 -1
  53. package/dist/components/color-picker/main.js +40 -33
  54. package/dist/components/color-picker/main.js.map +1 -1
  55. package/dist/components/color-picker/props.d.ts +21 -7
  56. package/dist/components/color-picker/props.d.ts.map +1 -1
  57. package/dist/components/color-picker/style.css +9 -27
  58. package/dist/components/contextual-menu/main.d.ts +11 -7
  59. package/dist/components/contextual-menu/main.d.ts.map +1 -1
  60. package/dist/components/contextual-menu/main.js +99 -47
  61. package/dist/components/contextual-menu/main.js.map +1 -1
  62. package/dist/components/contextual-menu/props.d.ts +17 -7
  63. package/dist/components/contextual-menu/props.d.ts.map +1 -1
  64. package/dist/components/contextual-menu/style.css +11 -8
  65. package/dist/components/date-picker/handle.d.ts +41 -0
  66. package/dist/components/date-picker/handle.d.ts.map +1 -0
  67. package/dist/components/date-picker/handle.js +47 -0
  68. package/dist/components/date-picker/handle.js.map +1 -0
  69. package/dist/components/date-picker/main.d.ts +31 -49
  70. package/dist/components/date-picker/main.d.ts.map +1 -1
  71. package/dist/components/date-picker/main.js +300 -139
  72. package/dist/components/date-picker/main.js.map +1 -1
  73. package/dist/components/date-picker/pager.d.ts +24 -0
  74. package/dist/components/date-picker/pager.d.ts.map +1 -0
  75. package/dist/components/date-picker/pager.js +307 -0
  76. package/dist/components/date-picker/pager.js.map +1 -0
  77. package/dist/components/date-picker/props.d.ts +93 -22
  78. package/dist/components/date-picker/props.d.ts.map +1 -1
  79. package/dist/components/date-picker/style.css +59 -71
  80. package/dist/components/drawer/main.d.ts +31 -0
  81. package/dist/components/drawer/main.d.ts.map +1 -0
  82. package/dist/components/drawer/main.js +74 -0
  83. package/dist/components/drawer/main.js.map +1 -0
  84. package/dist/components/drawer/props.d.ts +39 -0
  85. package/dist/components/drawer/props.d.ts.map +1 -0
  86. package/dist/components/drawer/props.js +2 -0
  87. package/dist/components/drawer/props.js.map +1 -0
  88. package/dist/components/drawer/style.css +135 -0
  89. package/dist/components/edit-menu/main.d.ts +7 -7
  90. package/dist/components/edit-menu/main.d.ts.map +1 -1
  91. package/dist/components/edit-menu/main.js +31 -23
  92. package/dist/components/edit-menu/main.js.map +1 -1
  93. package/dist/components/edit-menu/props.d.ts +13 -0
  94. package/dist/components/edit-menu/props.d.ts.map +1 -1
  95. package/dist/components/edit-menu/style.css +5 -7
  96. package/dist/components/form/main.d.ts +8 -0
  97. package/dist/components/form/main.d.ts.map +1 -1
  98. package/dist/components/form/main.js +15 -2
  99. package/dist/components/form/main.js.map +1 -1
  100. package/dist/components/form/props.d.ts +1 -2
  101. package/dist/components/form/props.d.ts.map +1 -1
  102. package/dist/components/glass/style.css +19 -4
  103. package/dist/components/header/main.d.ts +5 -4
  104. package/dist/components/header/main.d.ts.map +1 -1
  105. package/dist/components/header/main.js +56 -27
  106. package/dist/components/header/main.js.map +1 -1
  107. package/dist/components/header/props.d.ts +2 -3
  108. package/dist/components/header/props.d.ts.map +1 -1
  109. package/dist/components/header/style.css +62 -42
  110. package/dist/components/index.d.ts +26 -22
  111. package/dist/components/index.d.ts.map +1 -1
  112. package/dist/components/index.js +17 -13
  113. package/dist/components/index.js.map +1 -1
  114. package/dist/components/layout/main.d.ts +2 -2
  115. package/dist/components/layout/main.d.ts.map +1 -1
  116. package/dist/components/layout/main.js +59 -163
  117. package/dist/components/layout/main.js.map +1 -1
  118. package/dist/components/layout/props.d.ts +2 -20
  119. package/dist/components/layout/props.d.ts.map +1 -1
  120. package/dist/components/layout/style.css +18 -89
  121. package/dist/components/list/main.d.ts +49 -9
  122. package/dist/components/list/main.d.ts.map +1 -1
  123. package/dist/components/list/main.js +769 -208
  124. package/dist/components/list/main.js.map +1 -1
  125. package/dist/components/list/props.d.ts +165 -8
  126. package/dist/components/list/props.d.ts.map +1 -1
  127. package/dist/components/list/style.css +308 -371
  128. package/dist/components/list/swipe-actions-handle.d.ts +40 -0
  129. package/dist/components/list/swipe-actions-handle.d.ts.map +1 -0
  130. package/dist/components/list/swipe-actions-handle.js +51 -0
  131. package/dist/components/list/swipe-actions-handle.js.map +1 -0
  132. package/dist/components/menu/main.d.ts +31 -8
  133. package/dist/components/menu/main.d.ts.map +1 -1
  134. package/dist/components/menu/main.js +175 -39
  135. package/dist/components/menu/main.js.map +1 -1
  136. package/dist/components/menu/props.d.ts +2 -1
  137. package/dist/components/menu/props.d.ts.map +1 -1
  138. package/dist/components/menu/style.css +10 -32
  139. package/dist/components/navigation/main.d.ts +11 -2
  140. package/dist/components/navigation/main.d.ts.map +1 -1
  141. package/dist/components/navigation/main.js +186 -98
  142. package/dist/components/navigation/main.js.map +1 -1
  143. package/dist/components/navigation/props.d.ts +20 -3
  144. package/dist/components/navigation/props.d.ts.map +1 -1
  145. package/dist/components/navigation/style.css +24 -7
  146. package/dist/components/page/main.d.ts.map +1 -1
  147. package/dist/components/page/main.js +2 -2
  148. package/dist/components/page/main.js.map +1 -1
  149. package/dist/components/page/props.d.ts +8 -0
  150. package/dist/components/page/props.d.ts.map +1 -1
  151. package/dist/components/page/style.css +39 -1
  152. package/dist/components/page-control/main.d.ts +1 -1
  153. package/dist/components/page-control/main.d.ts.map +1 -1
  154. package/dist/components/page-control/main.js +59 -25
  155. package/dist/components/page-control/main.js.map +1 -1
  156. package/dist/components/page-control/props.d.ts +10 -2
  157. package/dist/components/page-control/props.d.ts.map +1 -1
  158. package/dist/components/page-control/style.css +5 -0
  159. package/dist/components/popover/main.d.ts +11 -6
  160. package/dist/components/popover/main.d.ts.map +1 -1
  161. package/dist/components/popover/main.js +53 -31
  162. package/dist/components/popover/main.js.map +1 -1
  163. package/dist/components/popover/props.d.ts +7 -6
  164. package/dist/components/popover/props.d.ts.map +1 -1
  165. package/dist/components/popover/style.css +45 -4
  166. package/dist/components/progress/main.d.ts +1 -1
  167. package/dist/components/progress/main.d.ts.map +1 -1
  168. package/dist/components/progress/main.js +108 -15
  169. package/dist/components/progress/main.js.map +1 -1
  170. package/dist/components/progress/props.d.ts +25 -5
  171. package/dist/components/progress/props.d.ts.map +1 -1
  172. package/dist/components/progress/style.css +67 -35
  173. package/dist/components/roll/main.d.ts +1 -1
  174. package/dist/components/roll/main.d.ts.map +1 -1
  175. package/dist/components/roll/main.js +81 -25
  176. package/dist/components/roll/main.js.map +1 -1
  177. package/dist/components/roll/props.d.ts +24 -7
  178. package/dist/components/roll/props.d.ts.map +1 -1
  179. package/dist/components/roll/style.css +1 -13
  180. package/dist/components/segmented/main.js +3 -3
  181. package/dist/components/segmented/main.js.map +1 -1
  182. package/dist/components/segmented/style.css +2 -14
  183. package/dist/components/sheet/main.d.ts +25 -15
  184. package/dist/components/sheet/main.d.ts.map +1 -1
  185. package/dist/components/sheet/main.js +57 -73
  186. package/dist/components/sheet/main.js.map +1 -1
  187. package/dist/components/sheet/props.d.ts +36 -2
  188. package/dist/components/sheet/props.d.ts.map +1 -1
  189. package/dist/components/sheet/style.css +176 -44
  190. package/dist/components/sidebar/style.css +13 -7
  191. package/dist/components/slider/main.d.ts.map +1 -1
  192. package/dist/components/slider/main.js +6 -5
  193. package/dist/components/slider/main.js.map +1 -1
  194. package/dist/components/slider/style.css +2 -28
  195. package/dist/components/stepper/main.d.ts +4 -6
  196. package/dist/components/stepper/main.d.ts.map +1 -1
  197. package/dist/components/stepper/main.js +17 -11
  198. package/dist/components/stepper/main.js.map +1 -1
  199. package/dist/components/stepper/style.css +4 -8
  200. package/dist/components/switch/main.d.ts.map +1 -1
  201. package/dist/components/switch/main.js +16 -11
  202. package/dist/components/switch/main.js.map +1 -1
  203. package/dist/components/switch/props.d.ts +2 -2
  204. package/dist/components/switch/props.d.ts.map +1 -1
  205. package/dist/components/switch/style.css +28 -1
  206. package/dist/components/symbol/main.d.ts +2 -2
  207. package/dist/components/symbol/main.d.ts.map +1 -1
  208. package/dist/components/symbol/main.js +34 -27
  209. package/dist/components/symbol/main.js.map +1 -1
  210. package/dist/components/symbol/props.d.ts +39 -4
  211. package/dist/components/symbol/props.d.ts.map +1 -1
  212. package/dist/components/symbol/style.css +25 -4
  213. package/dist/components/tab-bar/main.d.ts.map +1 -1
  214. package/dist/components/tab-bar/main.js +59 -46
  215. package/dist/components/tab-bar/main.js.map +1 -1
  216. package/dist/components/tab-bar/props.d.ts +3 -3
  217. package/dist/components/tab-bar/props.d.ts.map +1 -1
  218. package/dist/components/tab-bar/style.css +24 -46
  219. package/dist/components/text-field/main.d.ts.map +1 -1
  220. package/dist/components/text-field/main.js +9 -8
  221. package/dist/components/text-field/main.js.map +1 -1
  222. package/dist/components/text-field/props.d.ts +8 -1
  223. package/dist/components/text-field/props.d.ts.map +1 -1
  224. package/dist/components/text-field/style.css +21 -55
  225. package/dist/components/toolbar/main.d.ts.map +1 -1
  226. package/dist/components/toolbar/main.js +11 -9
  227. package/dist/components/toolbar/main.js.map +1 -1
  228. package/dist/components/toolbar/style.css +28 -22
  229. package/dist/components/tooltip/main.d.ts +10 -9
  230. package/dist/components/tooltip/main.d.ts.map +1 -1
  231. package/dist/components/tooltip/main.js +35 -6
  232. package/dist/components/tooltip/main.js.map +1 -1
  233. package/dist/components/tooltip/props.d.ts +2 -0
  234. package/dist/components/tooltip/props.d.ts.map +1 -1
  235. package/dist/components/tooltip/style.css +11 -11
  236. package/dist/components/typography/main.d.ts.map +1 -1
  237. package/dist/components/typography/main.js +16 -6
  238. package/dist/components/typography/main.js.map +1 -1
  239. package/dist/components/typography/props.d.ts +2 -9
  240. package/dist/components/typography/props.d.ts.map +1 -1
  241. package/dist/components/typography/style.css +0 -120
  242. package/dist/components/utils/main.d.ts +34 -5
  243. package/dist/components/utils/main.d.ts.map +1 -1
  244. package/dist/components/utils/main.js +81 -12
  245. package/dist/components/utils/main.js.map +1 -1
  246. package/dist/components/utils/props.d.ts +4 -2
  247. package/dist/components/utils/props.d.ts.map +1 -1
  248. package/dist/components/utils/style.css +29 -16
  249. package/dist/components/viewport/input.d.ts +23 -0
  250. package/dist/components/viewport/input.d.ts.map +1 -0
  251. package/dist/components/viewport/input.js +95 -0
  252. package/dist/components/viewport/input.js.map +1 -0
  253. package/dist/components/viewport/main.d.ts +42 -9
  254. package/dist/components/viewport/main.d.ts.map +1 -1
  255. package/dist/components/viewport/main.js +488 -66
  256. package/dist/components/viewport/main.js.map +1 -1
  257. package/dist/components/viewport/padding.d.ts +50 -0
  258. package/dist/components/viewport/padding.d.ts.map +1 -0
  259. package/dist/components/viewport/padding.js +226 -0
  260. package/dist/components/viewport/padding.js.map +1 -0
  261. package/dist/components/viewport/props.d.ts +155 -7
  262. package/dist/components/viewport/props.d.ts.map +1 -1
  263. package/dist/components/viewport/style.css +172 -6
  264. package/dist/main.d.ts +0 -1
  265. package/dist/main.d.ts.map +1 -1
  266. package/dist/main.js.map +1 -1
  267. package/dist/styles.css +35 -2
  268. package/dist/styles.d.ts +2 -1
  269. package/dist/styles.d.ts.map +1 -1
  270. package/dist/styles.js +2 -1
  271. package/dist/styles.js.map +1 -1
  272. package/package.json +6 -13
@@ -1,34 +1,51 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import '../toolbar/style.css';
3
+ import '../viewport/style.css';
3
4
  import './style.css';
4
5
  import { useRender } from '@base-ui/react/use-render';
5
6
  import { createContext, forwardRef, useCallback, useContext, useId, useLayoutEffect, useMemo, useState, } from 'react';
6
- import { Toolbar } from '../toolbar/main.js';
7
7
  import { cn } from '../utils/main.js';
8
+ import { useAnchorSize } from '../viewport/main.js';
8
9
  // Source: Apple iOS 26 Figma (“Toolbars”: “Toobar - Top - iPhone”,
9
10
  // Style=Large Title), with the titles' colors mapped to UIKit's label
10
11
  // colors. Behavior after Framework7's large navbar (`navbar.less`,
11
12
  // `navbar.js`: `.navbar-large`, collapsing on scroll).
12
13
  //
13
- // A page's header (UIKit `UINavigationBar` with `prefersLargeTitles`): a
14
- // top `Toolbar` (`Bar`), sticking to the top of the scroll container, and
15
- // a large title below it (`LargeTitle`, Large Title Emphasized, 16px from
16
- // the sides, with an optional `Toolbar.Subtitle` in 15px, 510), scrolling
17
- // with the page. As the large title scrolls under the bar, it fades out and
18
- // the bar's own `Toolbar.Title` fades in (scroll-driven animations, no
19
- // scroll listeners): without a large title, the bar's title just shows.
20
- // Content scrolled under the bar blurs beneath it (iOS 26's scroll edge
21
- // effect, a soft one: a backdrop blur, fading out downwards), whatever the
22
- // page's background.
14
+ // A page's header (UIKit `UINavigationBar` with `prefersLargeTitles`): the
15
+ // app's top `Toolbar` (`placement="block-start"`) in a
16
+ // `Viewport.BlockStart` (staying where it is, as the page scrolls or
17
+ // bounces under it), and a large title in the page below it (`LargeTitle`,
18
+ // Large Title Emphasized, 16px from the sides, with an optional
19
+ // `Toolbar.Subtitle` in 15px, 510), scrolling with the page. `Root` ties
20
+ // them: around the anchor and the `Page` (or within the page, e.g. a tab's
21
+ // panel rendered as one); the page's content starts below the bar by a
22
+ // `Viewport.Padding` at its start (the app's: e.g. none while the bar is
23
+ // empty). As the
24
+ // large title scrolls under the bar, it fades out and the bar's own
25
+ // `Toolbar.Title` fades in (scroll-driven animations, no scroll
26
+ // listeners): without a large title, the bar's title just shows. Content
27
+ // scrolled under the bar blurs beneath it (iOS 26's scroll edge effect, a
28
+ // soft one: a backdrop blur, fading out downwards), whatever the page's
29
+ // background.
30
+ //
31
+ // An accessory (`Accessory`: a search field, a segmented control) scrolls
32
+ // with the large title, then sticks below the bar (UIKit: a search
33
+ // controller's bar with `hidesSearchBarWhenScrolling` false), 16px from
34
+ // the sides, 8px above the content.
23
35
  //
24
36
  // Deviations:
25
37
  // - Pulled down, the large title doesn't grow (iOS: it scales up).
38
+ // - The page's content makes room for the bar with a `Viewport.Padding`
39
+ // (the app's, at the page's start: as high as the bar, live); the large
40
+ // title and the accessory follow the bar's height too.
26
41
  // - The scroll edge effect is an approximation (Figma: none).
27
- const HeaderContext = createContext({ largeTitle: false });
42
+ const HeaderContext = createContext({
43
+ hasLargeTitle: false,
44
+ });
28
45
  /**
29
- * A page's header: its `Bar` and `LargeTitle`, at the start of the scroll
30
- * container. It has no box of its own, so the bar sticks to the top of the
31
- * whole scroll container.
46
+ * A page's header: its bar (a `Toolbar` in a `Viewport.BlockStart`, its
47
+ * child) and its page's `LargeTitle` (and `Accessory`), around the page (or
48
+ * within it). It has no box of its own.
32
49
  */
33
50
  const Root = ({ children }) => {
34
51
  const id = useId();
@@ -38,21 +55,18 @@ const Root = ({ children }) => {
38
55
  setLargeTitles((count) => count + 1);
39
56
  return () => setLargeTitles((count) => count - 1);
40
57
  }, []);
41
- const value = useMemo(() => ({ largeTitle: largeTitles > 0, markLargeTitle, timeline }), [largeTitles, markLargeTitle, timeline]);
42
- return (_jsx(HeaderContext.Provider, { value: value, children: _jsx("div", { style: {
43
- display: 'contents',
44
- 'timeline-scope': timeline,
58
+ const value = useMemo(() => ({ hasLargeTitle: largeTitles > 0, markLargeTitle, timeline }), [largeTitles, markLargeTitle, timeline]);
59
+ // Its bar's height (the tallest at the block start, in its scope: see
60
+ // Viewport.Padding), for its large title and accessory.
61
+ const barSize = useAnchorSize('block-start');
62
+ return (_jsx(HeaderContext.Provider, { value: value, children: _jsx("div", { className: "uikit-header-root", "data-header-part": "root", "data-large-title": value.hasLargeTitle ? '' : undefined, style: {
63
+ '--uikit-header-bar': `${String(barSize)}px`,
45
64
  '--uikit-header-timeline': timeline,
46
65
  }, children: children }) }));
47
66
  };
48
- /** The header's top toolbar, sticking to the top of the scroll container. */
49
- const Bar = forwardRef(({ className, ...props }, ref) => {
50
- const { largeTitle } = useContext(HeaderContext);
51
- return (_jsx(Toolbar.Root, { ref: ref, "data-large-title": largeTitle ? '' : undefined, placement: "block-start", ...props, className: cn('uikit-header-bar', className), "data-header-part": "bar" }));
52
- });
53
67
  /**
54
- * The header's large title (with an optional `Toolbar.Subtitle`), below its
55
- * `Bar`, scrolling with the page.
68
+ * The header's large title (with an optional `Toolbar.Subtitle`), at its
69
+ * page's start (below the bar), scrolling with the page.
56
70
  */
57
71
  const LargeTitle = forwardRef(({ className, render, ...props }, ref) => {
58
72
  const { markLargeTitle } = useContext(HeaderContext);
@@ -70,9 +84,24 @@ const LargeTitle = forwardRef(({ className, render, ...props }, ref) => {
70
84
  render,
71
85
  });
72
86
  });
87
+ /**
88
+ * What stays with the bar (a search field, a segmented control, UIKit's
89
+ * `hidesSearchBarWhenScrolling` false): below the large title, scrolling
90
+ * with it, then sticking below the bar, the content beneath it blurred.
91
+ */
92
+ const Accessory = forwardRef(({ className, render, ...props }, ref) => useRender({
93
+ defaultTagName: 'div',
94
+ props: {
95
+ 'data-header-part': 'accessory',
96
+ ...props,
97
+ className: cn('uikit-header-accessory', className),
98
+ },
99
+ ref,
100
+ render,
101
+ }));
73
102
  export const Header = {
74
103
  Root,
75
- Bar,
76
104
  LargeTitle,
105
+ Accessory,
77
106
  };
78
107
  //# sourceMappingURL=main.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/header/main.tsx"],"names":[],"mappings":";AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EACL,aAAa,EAEb,UAAU,EAEV,WAAW,EACX,UAAU,EACV,KAAK,EACL,eAAe,EACf,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,OAAO,EAAE,MAAM,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AI;IACJ,GAAG;IACH,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/components/header/main.tsx"],"names":[],"mappings":";AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EACL,aAAa,EAEb,UAAU,EAEV,WAAW,EACX,UAAU,EACV,KAAK,EACL,eAAe,EACf,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAcpD,mEAAmE;AACnE,sEAAsE;AACtE,mEAAmE;AACnE,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,uDAAuD;AACvD,qEAAqE;AACrE,2EAA2E;AAC3E,gEAAgE;AAChE,yEAAyE;AACzE,2EAA2E;AAC3E,uEAAuE;AACvE,yEAAyE;AACzE,iBAAiB;AACjB,oEAAoE;AACpE,gEAAgE;AAChE,yEAAyE;AACzE,0EAA0E;AAC1E,wEAAwE;AACxE,cAAc;AACd,EAAE;AACF,0EAA0E;AAC1E,mEAAmE;AACnE,wEAAwE;AACxE,oCAAoC;AACpC,EAAE;AACF,cAAc;AACd,mEAAmE;AACnE,wEAAwE;AACxE,0EAA0E;AAC1E,yDAAyD;AACzD,8DAA8D;AAE9D,MAAM,aAAa,GAAG,aAAa,CAAqB;IACtD,aAAa,EAAE,KAAK;CACrB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,IAAI,GAAuC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,MAAM,EAAE,GAAG,KAAK,EAAE,CAAC;IACnB,MAAM,QAAQ,GAAG,kBAAkB,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC;IACnE,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AAC,CAAC,CAAC;IAE5D,OAAO,SAAS,CAAC;QACf,cAAc,EAAE,KAAK;QACrB,KAAK,EAAE;YACL,YAAY,EAAE,CAAC;YACf,kBAAkB,EAAE,aAAa;YACjC,IAAI,EAAE,SAAS;YACf,GAAG,KAAK;YACR,SAAS,EAAE,EAAE,CAAC,0BAA0B,EAAE,SAAS,CAAC;SACrD;QACD,GAAG;QACH,MAAM;KACP,CAAC,CAAC;AACL,CAAC,CACF,CAAC;AAEF;;;;GAIG;AACH,MAAM,SAAS,GAAG,UAAU,CAC1B,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CACvC,SAAS,CAAC;IACR,cAAc,EAAE,KAAK;IACrB,KAAK,EAAE;QACL,kBAAkB,EAAE,WAAW;QAC/B,GAAG,KAAK;QACR,SAAS,EAAE,EAAE,CAAC,wBAAwB,EAAE,SAAS,CAAC;KACnD;IACD,GAAG;IACH,MAAM;CACP,CAAC,CACL,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,UAAU;IACV,SAAS;CACV,CAAC"}
@@ -1,9 +1,8 @@
1
1
  import type { useRender } from '@base-ui/react/use-render';
2
2
  import type { ReactNode } from 'react';
3
- import type { ToolbarRootProps } from '../toolbar/main.js';
4
3
  export type HeaderContextValue = {
5
4
  /** Whether the header has a large title (see `LargeTitle`). */
6
- largeTitle: boolean;
5
+ hasLargeTitle: boolean;
7
6
  markLargeTitle?: () => () => void;
8
7
  /** The large title's view timeline (unique per header). */
9
8
  timeline?: string;
@@ -11,6 +10,6 @@ export type HeaderContextValue = {
11
10
  export type HeaderRootProps = {
12
11
  children?: ReactNode;
13
12
  };
14
- export type HeaderBarProps = Omit<ToolbarRootProps, 'placement'>;
15
13
  export type HeaderLargeTitleProps = useRender.ComponentProps<'div'>;
14
+ export type HeaderAccessoryProps = useRender.ComponentProps<'div'>;
16
15
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/header/props.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+DAA+D;IAC/D,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,MAAM,IAAI,CAAC;IAClC,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/header/props.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+DAA+D;IAC/D,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,MAAM,IAAI,CAAC;IAClC,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC"}
@@ -20,33 +20,34 @@
20
20
  }
21
21
  }
22
22
 
23
- .uikit-header-bar {
24
- /* In a navigation's transition (see `Navigation`): held in place while
25
- its page moves, its content fading (glass by its fade, the title by a
26
- filter, as it's animated by the scroll, buttons' content by its
27
- opacity); none of it at rest. */
28
- --uikit-glass-fade: var(--uikit-navigation-shown, 1);
23
+ /* Its bar (see Root): the app's toolbar in a `Viewport.BlockStart`, its
24
+ child. No box of its own; its large title's timeline, and its page's
25
+ scroll (`--uikit-page-scroll`, see Page) when the page is within it
26
+ (else the page's own, an ancestor's), for its bar. Its bar's height
27
+ (`--uikit-header-bar`, measured, see Viewport.Padding) for its large
28
+ title and accessory. */
29
+ .uikit-header-root {
30
+ display: contents;
31
+ timeline-scope: var(--uikit-header-timeline);
29
32
 
30
- position: sticky;
31
- z-index: 10;
32
- top: 0;
33
- translate: var(--uikit-navigation-counter, none);
34
-
35
- & [data-toolbar-part='title'] {
36
- filter: var(--uikit-navigation-filter, none);
37
- }
38
-
39
- & [data-button-part] {
40
- opacity: var(--uikit-navigation-shown, 1);
33
+ &:has(.uikit-page-root) {
34
+ timeline-scope: var(--uikit-header-timeline), --uikit-page-scroll;
41
35
  }
36
+ }
42
37
 
43
- /* The scroll edge effect, once content is scrolled under the bar. */
38
+ /* (In a navigation's transition, it moves with its page, see
39
+ `Navigation`: its anchor, fixed, within its page's frame.) */
40
+ .uikit-header-root > .uikit-viewport-anchor[data-edge='block-start'] {
41
+ /* The scroll edge effect, once content is scrolled under the bar (none
42
+ while its page can't scroll: its timeline inactive, the animation
43
+ doesn't apply, Safari leaving it at its own opacity): under the
44
+ whole anchor, the safe area above the bar too. */
44
45
  &::before {
45
46
  position: absolute;
46
47
  z-index: -1;
47
48
  animation: uikit-header-fade-in linear both;
48
49
  animation-range: 0 16px;
49
- animation-timeline: scroll(nearest);
50
+ animation-timeline: --uikit-page-scroll;
50
51
  backdrop-filter: blur(8px);
51
52
  content: '';
52
53
  inset: 0 0 -16px;
@@ -54,20 +55,49 @@
54
55
  /* (Under a floating column too, see Layout and Page.) */
55
56
  inset-inline-start: calc(var(--uikit-layout-inset-start, 0px) * -1);
56
57
  mask-image: linear-gradient(#000 50%, transparent);
58
+ opacity: 0;
57
59
  pointer-events: none;
58
60
  }
59
61
 
60
- /* With a large title: the bar's title fades in as the large title scrolls
61
- under the bar (see Root: the header's timeline). */
62
- &[data-large-title] > [data-toolbar-part='title'] {
62
+ /* With a large title: the bar's title fades in as the large title
63
+ scrolls under the bar (see Root: the header's timeline). */
64
+ .uikit-header-root[data-large-title] >
65
+ &
66
+ > .uikit-toolbar-root
67
+ > [data-toolbar-part='title'] {
63
68
  animation: uikit-header-fade-in linear both;
64
69
  animation-range: exit-crossing 50% exit-crossing 100%;
65
70
  animation-timeline: var(--uikit-header-timeline);
66
71
  }
67
72
  }
68
73
 
69
- /* Figma “Title and Subtitle”: 16px from the sides, 10px from the bar (54px
70
- high); as it scrolls under the bar, it fades out. */
74
+ /* What stays with the bar (see Accessory): sticking below it (the bar's
75
+ height past the page's padding edge: its padding the safe area inset,
76
+ see Page), the content beneath it blurred as beneath the bar. */
77
+ .uikit-header-accessory {
78
+ position: sticky;
79
+ z-index: 9;
80
+ top: var(--uikit-header-bar, 0);
81
+ padding: 0 16px 8px;
82
+
83
+ &::before {
84
+ position: absolute;
85
+ z-index: -1;
86
+ animation: uikit-header-fade-in linear both;
87
+ animation-range: 0 16px;
88
+ animation-timeline: scroll(nearest);
89
+ backdrop-filter: blur(8px);
90
+ content: '';
91
+ inset: 0 0 -16px;
92
+ inset-inline-start: calc(var(--uikit-layout-inset-start, 0px) * -1);
93
+ mask-image: linear-gradient(#000 50%, transparent);
94
+ opacity: 0;
95
+ pointer-events: none;
96
+ }
97
+ }
98
+
99
+ /* Figma “Title and Subtitle”: 16px from the sides, 10px from the bar (its
100
+ height measured); as it scrolls under the bar, it fades out. */
71
101
  .uikit-header-large-title {
72
102
  display: flex;
73
103
  box-sizing: border-box;
@@ -75,7 +105,10 @@
75
105
  padding: 0 16px 10px;
76
106
  animation: uikit-header-fade-out linear both;
77
107
  animation-range: exit-crossing 0% exit-crossing 50%;
78
- animation-timeline: view(block 54px 0);
108
+ animation-timeline: view(
109
+ block calc(var(--uikit-header-bar, 0px) + var(--uikit-page-safe-top, 0px))
110
+ 0
111
+ );
79
112
  color: var(--color-ios-label);
80
113
  font-size: var(--font-ios-large-title-size);
81
114
  font-style: normal;
@@ -88,32 +121,19 @@
88
121
  );
89
122
  letter-spacing: var(--font-ios-large-title-tracking);
90
123
  line-height: var(--font-ios-large-title-line-height);
91
- stroke: currentcolor;
92
- stroke-linejoin: round;
93
- stroke-width: max(
94
- 0px,
95
- (var(--font-ios-large-title-weight-emphasized) - 400) / 326 * 1px
96
- );
97
124
  view-timeline-axis: block;
98
- view-timeline-inset: 54px 0;
125
+ view-timeline-inset: calc(
126
+ var(--uikit-header-bar, 0px) + var(--uikit-page-safe-top, 0px)
127
+ )
128
+ 0;
99
129
  view-timeline-name: var(--uikit-header-timeline);
100
130
 
101
- --uikit-symbol-thinning: max(
102
- 0px,
103
- (400 - var(--font-ios-large-title-weight-emphasized)) / 326 * 1px
104
- );
105
-
106
131
  & > [data-toolbar-part='subtitle'] {
107
132
  font-size: 15px;
108
133
  font-variation-settings: 'wght' 510;
109
134
  font-weight: round(down, 510, 100);
110
135
  letter-spacing: -0.25px;
111
136
  line-height: 20px;
112
- stroke: currentcolor;
113
- stroke-linejoin: round;
114
- stroke-width: max(0px, (510 - 400) / 326 * 1px);
115
-
116
- --uikit-symbol-thinning: max(0px, (400 - 510) / 326 * 1px);
117
137
  }
118
138
  }
119
139
  }
@@ -1,38 +1,42 @@
1
1
  export { ActivityView, type ActivityViewActionProps, type ActivityViewPersonProps, } from './activity-view/main.js';
2
- export { ActionSheet, type ActionSheetActionProps, } from './action-sheet/main.js';
3
- export { Alert, type AlertActionProps, type AlertActionsProps, type AlertActionVariant, } from './alert/main.js';
4
- export { Popover, type PopoverAlign, type PopoverPositionerProps, } from './popover/main.js';
5
- export { ActivityIndicator, type ActivityIndicatorProps, Progress, type ProgressLabelProps, type ProgressPlacement, type ProgressRootProps, type ProgressValueProps, type ActivityIndicatorMovement, } from './progress/main.js';
6
- export { Sheet, type SheetDetent, type SheetPopupProps } from './sheet/main.js';
7
- export { Tooltip, type TooltipPositionerProps, type TooltipTriggerProps, } from './tooltip/main.js';
8
- export { Avatar, type AvatarFallbackProps, type AvatarGroupProps, type AvatarRootProps, } from './avatar/main.js';
9
- export { Badge, type BadgeProps } from './badge/main.js';
10
- export { ColorPicker, type ColorPickerEyedropperProps, type ColorPickerMode, type ColorPickerPanelProps, type ColorPickerRootProps, type ColorWellProps, defaultSavedColors, formatColor, parseColor, } from './color-picker/main.js';
2
+ export { ActionSheet, type ActionSheetActionProps, type ActionSheetActionVariant, type ActionSheetHandle, type ActionSheetPopupProps, useCreateActionSheetHandle, } from './action-sheet/main.js';
3
+ export { Alert, type AlertActionProps, type AlertActionsProps, type AlertActionVariant, type AlertHandle, type AlertPopupProps, useCreateAlertHandle, } from './alert/main.js';
4
+ export { Popover, type PopoverAlign, type PopoverHandle, type PopoverPositionerProps, useCreatePopoverHandle, } from './popover/main.js';
5
+ export { ActivityIndicator, type ActivityIndicatorProps, Progress, type ProgressLabelProps, type ProgressPlacement, type ProgressRootProps, type ProgressValueProps, type ActivityIndicatorMovement, type ActivityIndicatorDisplay, } from './progress/main.js';
6
+ export { Sheet, type SheetContentProps, type SheetGrabberProps, type SheetDetent, type SheetHandle, type SheetPopupProps, useCreateSheetHandle, } from './sheet/main.js';
7
+ export { Tooltip, type TooltipHandle, type TooltipPositionerProps, type TooltipTriggerProps, useCreateTooltipHandle, } from './tooltip/main.js';
8
+ export { Avatar, type AvatarFallbackProps, type AvatarGroupProps, type AvatarImageProps, type AvatarRootProps, } from './avatar/main.js';
9
+ export { Badge, type BadgePlacement, type BadgeProps } from './badge/main.js';
10
+ export { ColorPicker, type ColorPickerChangeEventDetails, type ColorPickerEyedropperProps, type ColorPickerMode, type ColorPickerPanelProps, type ColorPickerRootProps, type ColorPickerSavedColorsChangeEventDetails, type ColorWellProps, defaultSavedColors, formatColor, parseColor, } from './color-picker/main.js';
11
11
  export { Button, type ButtonRootProps } from './button/main.js';
12
12
  export { Checkbox, CheckboxGroup, type CheckboxRootProps, Radio, RadioGroup, type RadioRootProps, } from './checkbox/main.js';
13
- export { Calendar, CalendarButton, type CalendarFooter, CalendarMessage, type CalendarMessageProps, type CalendarProps, CalendarRow, CalendarTimeRow, DatePicker, type DatePickerMode, type DatePickerOpen, type DatePickerProps, type DatePickerStyle, type DateRange, type DayHighlight, type DayHighlights, type HourCycle, TimeRoll, type TimeRollProps, } from './date-picker/main.js';
14
- export { Fieldset, type FieldsetLegendProps, Form } from './form/main.js';
13
+ export { type CalendarFooter, type CalendarMessageProps, type CalendarProps, type CalendarSwipe, DatePicker, type DatePickerChangeEventDetails, type DatePickerExpandableProps, DatePickerHandle, type DatePickerMode, type DatePickerOpen, type DatePickerOpenChangeEventDetails, type DatePickerProps, type DatePickerStyle, type DateRange, type DayHighlight, type DayHighlights, type HourCycle, type TimeRollProps, useCreateDatePickerHandle, } from './date-picker/main.js';
14
+ export { Field, Fieldset, type FieldsetLegendProps, Form, } from './form/main.js';
15
15
  export { TextField } from './text-field/main.js';
16
- export { Roll, type RollColumnProps, type RollItemProps, type RollValue, } from './roll/main.js';
16
+ export { Roll, type RollChangeEventDetails, type RollColumnProps, type RollItemProps, type RollValue, } from './roll/main.js';
17
17
  export { Segmented, type SegmentedItemProps, type SegmentedRootProps, } from './segmented/main.js';
18
18
  export { Slider, type SliderLabelProps, type SliderPlacement, type SliderRootProps, type SliderSymbolProps, type SliderTicksProps, type SliderValueProps, } from './slider/main.js';
19
19
  export { Stepper } from './stepper/main.js';
20
20
  export { Switch, type SwitchRootProps } from './switch/main.js';
21
- export { forwardClick, List, type ListBlockProps, type ListButtonProps, type ListEditButtonProps, type ListExpandableProps, type ListHeaderProps, type ListImageProps, type ListIndexProps, type ListItemProps, type ListRootProps, type ListStyle, type ListSwipeActionProps, type ListSwipeActionsProps, type ListGroupProps, type ListTextProps, } from './list/main.js';
22
- export { ContextualMenu, type ContextualMenuPopupProps, type ContextualMenuPositionerProps, type ContextualMenuPreviewProps, type ContextualMenuRootProps, type ContextualMenuTriggerProps, } from './contextual-menu/main.js';
23
- export { EditMenu, type SelectionAnchor, useSelectionAnchor, type EditMenuPositionerProps, } from './edit-menu/main.js';
24
- export { Menu, type MenuRootProps, type Size as MenuSize, type MenuPositionerProps, } from './menu/main.js';
25
- export { Header, type HeaderBarProps, type HeaderLargeTitleProps, type HeaderRootProps, } from './header/main.js';
26
- export { PageControl, type PageControlProps } from './page-control/main.js';
21
+ export { forwardClick, List, type ListAllowSwipe, type ListBlockProps, type ListButtonProps, type ListEditButtonProps, type ListEditing, type ListAccordionItemProps, type ListAccordionRootProps, type ListCollapsibleChangeEventDetails, type ListCollapsiblePanelProps, type ListCollapsibleRootProps, type ListHeaderProps, type ListImageProps, type ListIndexProps, type ListItemProps, type ListRootProps, type ListSectionProps, type ListStyle, type ListSwipeActionProps, ListSwipeActionsHandle, type ListSwipeActionsProps, type ListSwipeActionsTriggerProps, type ListGroupProps, type ListTextProps, type ListWhileEditing, useCreateSwipeActionsHandle, } from './list/main.js';
22
+ export { Accordion } from './accordion/main.js';
23
+ export { Collapsible } from './collapsible/main.js';
24
+ export { ContextualMenu, type ContextualMenuHandle, type ContextualMenuPopupProps, type ContextualMenuPortalProps, type ContextualMenuPositionerProps, type ContextualMenuPreviewProps, type ContextualMenuRootProps, type ContextualMenuTriggerProps, useCreateContextualMenuHandle, } from './contextual-menu/main.js';
25
+ export { EditMenu, type SelectionAnchor, useSelectionAnchor, type EditMenuPositionerProps, type EditMenuRootProps, } from './edit-menu/main.js';
26
+ export { Menu, type MenuHandle, type MenuRootProps, type Size as MenuSize, type MenuPositionerProps, type MenuTriggerProps, useCreateMenuHandle, } from './menu/main.js';
27
+ export { Header, type HeaderAccessoryProps, type HeaderLargeTitleProps, type HeaderRootProps, } from './header/main.js';
28
+ export { PageControl, type PageControlChangeEventDetails, type PageControlProps, } from './page-control/main.js';
27
29
  export { Toolbar, type ToolbarButtonProps, type ToolbarGroupProps, type ToolbarRootProps, type ToolbarSideProps, type ToolbarTitleProps, } from './toolbar/main.js';
28
30
  export { Layout, type LayoutColumnProps, type LayoutRootProps, } from './layout/main.js';
31
+ export { Drawer, type DrawerHandle, type DrawerPopupProps, type DrawerRootProps, type DrawerSide, type DrawerSwipeAreaProps, useCreateDrawerHandle, } from './drawer/main.js';
29
32
  export { Sidebar, type SidebarRootProps, type SidebarToolbarGroupProps, type SidebarToolbarProps, } from './sidebar/main.js';
30
33
  export { Page, type PageRootProps } from './page/main.js';
31
- export { Navigation, type NavigationRootProps } from './navigation/main.js';
34
+ export { Navigation, type NavigationBackEventDetails, type NavigationBackProps, type NavigationRootProps, type NavigationStackProps, type NavigationSwipeAreaProps, } from './navigation/main.js';
32
35
  export { type AccessoryVisibility, type CollapsedContent, type CollapsedGroupSelection, type CollapsedPosition, collapsedSelection, TabBar, type TabBarAccessoryProps, type TabBarGroupProps, type TabBarListProps, type TabBarRootProps, type TabBarTabProps, } from './tab-bar/main.js';
33
- export { useScrollDirection, useViewportScroll, useVisualViewport, Viewport, type ViewportAnchorProps, type ViewportContentProps, type ViewportEdge, type ViewportProviderProps, type ViewportSafeArea, type ViewportScrollEvent, type VisualViewportState, } from './viewport/main.js';
34
- export { Symbol, type SymbolProps } from './symbol/main.js';
36
+ export { type ElementGeometry, type ElementGeometryOptions, type ElementVisibilityOptions, preventFocusShift, preventInputZoom, useElementGeometry, useElementVisibility, useFocusShiftPrevention, useInputZoomPrevention, useScrollDirection, useSizeClass, useViewportScroll, useVisualViewport, useAnchorSize, useCreateViewportAnchorHandle, Viewport, ViewportAnchorHandle, ViewportScopeContext, type ViewportAnchorProps, type ViewportContentProps, type ViewportEdge, type ViewportOverscrollProps, type ViewportPaddingProps, type ViewportProviderProps, type ViewportSafeArea, type SizeClass, type ViewportScrollEvent, type ViewportScrollOptions, type VisualViewportState, } from './viewport/main.js';
37
+ export { Symbol, type SymbolIcon, type SymbolProps } from './symbol/main.js';
35
38
  export { type DynamicTypeSize, type TextColor, type TextStyle, Typography, type TypographyProps, } from './typography/main.js';
36
39
  export type { GlassContextValue } from './glass/main.js';
37
- export type { ColorScheme, LogicalSide, SecondaryClickProps, } from './utils/main.js';
40
+ export type { ColorScheme, LogicalSide, PortalContainer, SecondaryClickProps, } from './utils/main.js';
41
+ export { PortalContainerContext } from './utils/main.js';
38
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,sBAAsB,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,MAAM,mBA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,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,GAC9B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,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,EACN,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,6BAA6B,EAC7B,QAAQ,EACR,oBAAoB,EACpB,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,UAAU,EACV,KAAK,eAAe,GACrB,MAAM,sBAAsB,CAAC;AAG9B,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,YAAY,EACV,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,19 +1,19 @@
1
1
  // Overlays & indicators
2
2
  export { ActivityView, } from './activity-view/main.js';
3
- export { ActionSheet, } from './action-sheet/main.js';
4
- export { Alert, } from './alert/main.js';
5
- export { Popover, } from './popover/main.js';
3
+ export { ActionSheet, useCreateActionSheetHandle, } from './action-sheet/main.js';
4
+ export { Alert, useCreateAlertHandle, } from './alert/main.js';
5
+ export { Popover, useCreatePopoverHandle, } from './popover/main.js';
6
6
  export { ActivityIndicator, Progress, } from './progress/main.js';
7
- export { Sheet } from './sheet/main.js';
8
- export { Tooltip, } from './tooltip/main.js';
7
+ export { Sheet, useCreateSheetHandle, } from './sheet/main.js';
8
+ export { Tooltip, useCreateTooltipHandle, } from './tooltip/main.js';
9
9
  // Buttons & inputs
10
10
  export { Avatar, } from './avatar/main.js';
11
11
  export { Badge } from './badge/main.js';
12
12
  export { ColorPicker, defaultSavedColors, formatColor, parseColor, } from './color-picker/main.js';
13
13
  export { Button } from './button/main.js';
14
14
  export { Checkbox, CheckboxGroup, Radio, RadioGroup, } from './checkbox/main.js';
15
- export { Calendar, CalendarButton, CalendarMessage, CalendarRow, CalendarTimeRow, DatePicker, TimeRoll, } from './date-picker/main.js';
16
- export { Fieldset, Form } from './form/main.js';
15
+ export { DatePicker, DatePickerHandle, useCreateDatePickerHandle, } from './date-picker/main.js';
16
+ export { Field, Fieldset, Form, } from './form/main.js';
17
17
  export { TextField } from './text-field/main.js';
18
18
  export { Roll, } from './roll/main.js';
19
19
  export { Segmented, } from './segmented/main.js';
@@ -21,25 +21,29 @@ export { Slider, } from './slider/main.js';
21
21
  export { Stepper } from './stepper/main.js';
22
22
  export { Switch } from './switch/main.js';
23
23
  // Lists
24
- export { forwardClick, List, } from './list/main.js';
24
+ export { forwardClick, List, ListSwipeActionsHandle, useCreateSwipeActionsHandle, } from './list/main.js';
25
+ export { Accordion } from './accordion/main.js';
26
+ export { Collapsible } from './collapsible/main.js';
25
27
  // Menus
26
- export { ContextualMenu, } from './contextual-menu/main.js';
28
+ export { ContextualMenu, useCreateContextualMenuHandle, } from './contextual-menu/main.js';
27
29
  export { EditMenu, useSelectionAnchor, } from './edit-menu/main.js';
28
- export { Menu, } from './menu/main.js';
30
+ export { Menu, useCreateMenuHandle, } from './menu/main.js';
29
31
  // Bars
30
32
  export { Header, } from './header/main.js';
31
- export { PageControl } from './page-control/main.js';
33
+ export { PageControl, } from './page-control/main.js';
32
34
  export { Toolbar, } from './toolbar/main.js';
33
35
  // Pages and layout
34
36
  export { Layout, } from './layout/main.js';
37
+ export { Drawer, useCreateDrawerHandle, } from './drawer/main.js';
35
38
  export { Sidebar, } from './sidebar/main.js';
36
39
  export { Page } from './page/main.js';
37
40
  // Navigation
38
- export { Navigation } from './navigation/main.js';
41
+ export { Navigation, } from './navigation/main.js';
39
42
  export { collapsedSelection, TabBar, } from './tab-bar/main.js';
40
43
  // Viewport
41
- export { useScrollDirection, useViewportScroll, useVisualViewport, Viewport, } from './viewport/main.js';
44
+ export { preventFocusShift, preventInputZoom, useElementGeometry, useElementVisibility, useFocusShiftPrevention, useInputZoomPrevention, useScrollDirection, useSizeClass, useViewportScroll, useVisualViewport, useAnchorSize, useCreateViewportAnchorHandle, Viewport, ViewportAnchorHandle, ViewportScopeContext, } from './viewport/main.js';
42
45
  // Typography
43
46
  export { Symbol } from './symbol/main.js';
44
47
  export { Typography, } from './typography/main.js';
48
+ export { PortalContainerContext } from './utils/main.js';
45
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,EACL,YAAY,GAGb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,GAEZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,GAIN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,GAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EAEjB,QAAQ,GAMT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,EAA0C,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,OAAO,GAGR,MAAM,mBAAmB,CAAC;AAE3B,mBAAmB;AACnB,OAAO,EACL,MAAM,GAIP,M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ACL,MAAM,EAMN,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,OAAO,GAIR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAsB,MAAM,gBAAgB,CAAC;AAE1D,aAAa;AACb,OAAO,EACL,UAAU,GAMX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAKL,kBAAkB,EAClB,MAAM,GAMP,MAAM,mBAAmB,CAAC;AAE3B,WAAW;AACX,OAAO,EAIL,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,6BAA6B,EAC7B,QAAQ,EACR,oBAAoB,EACpB,oBAAoB,GAYrB,MAAM,oBAAoB,CAAC;AAE5B,aAAa;AACb,OAAO,EAAE,MAAM,EAAqC,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAIL,UAAU,GAEX,MAAM,sBAAsB,CAAC;AAU9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import './style.css';
2
- import type { LayoutColumnProps, LayoutRootProps } from './props.js';
2
+ import type { LayoutColumnProps } from './props.js';
3
3
  export type { LayoutColumnProps, LayoutRootProps } from './props.js';
4
4
  export declare const Layout: {
5
- Root: import("preact").FunctionalComponent<import("react").PropsWithoutRef<LayoutRootProps> & {
5
+ Root: import("preact").FunctionalComponent<import("react").PropsWithoutRef<import("preact").HTMLAttributes<HTMLDivElement>> & {
6
6
  ref?: import("preact").Ref<HTMLDivElement> | undefined;
7
7
  }>;
8
8
  Background: import("preact").FunctionalComponent<import("react").PropsWithoutRef<import("preact").HTMLAttributes<HTMLDivElement>> & {
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/layout/main.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAgBrB,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAErE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAkarE,eAAO,MAAM,MAAM;;;;;;;;;;CAIlB,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/components/layout/main.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAcrB,OAAO,KAAK,EAAE,iBAAiB,EAAmB,MAAM,YAAY,CAAC;AAErE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AA+NrE,eAAO,MAAM,MAAM;;;;;;;;;;CAIlB,CAAC"}