@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.
- package/dist/components/accordion/main.d.ts +12 -0
- package/dist/components/accordion/main.d.ts.map +1 -0
- package/dist/components/accordion/main.js +20 -0
- package/dist/components/accordion/main.js.map +1 -0
- package/dist/components/accordion/style.css +23 -0
- package/dist/components/action-sheet/main.d.ts +22 -15
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +86 -16
- package/dist/components/action-sheet/main.js.map +1 -1
- package/dist/components/action-sheet/props.d.ts +17 -5
- package/dist/components/action-sheet/props.d.ts.map +1 -1
- package/dist/components/action-sheet/style.css +15 -0
- package/dist/components/activity-view/main.d.ts +14 -3
- package/dist/components/activity-view/main.d.ts.map +1 -1
- package/dist/components/activity-view/main.js +19 -4
- package/dist/components/activity-view/main.js.map +1 -1
- package/dist/components/activity-view/props.d.ts +2 -10
- package/dist/components/activity-view/props.d.ts.map +1 -1
- package/dist/components/activity-view/style.css +8 -46
- package/dist/components/alert/main.d.ts +6 -4
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +20 -4
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +12 -1
- package/dist/components/alert/props.d.ts.map +1 -1
- package/dist/components/alert/style.css +13 -27
- package/dist/components/avatar/main.d.ts +5 -3
- package/dist/components/avatar/main.d.ts.map +1 -1
- package/dist/components/avatar/main.js +3 -0
- package/dist/components/avatar/main.js.map +1 -1
- package/dist/components/avatar/props.d.ts +4 -0
- package/dist/components/avatar/props.d.ts.map +1 -1
- package/dist/components/avatar/style.css +0 -6
- package/dist/components/badge/main.d.ts +2 -2
- package/dist/components/badge/main.d.ts.map +1 -1
- package/dist/components/badge/main.js +5 -5
- package/dist/components/badge/main.js.map +1 -1
- package/dist/components/badge/props.d.ts +4 -3
- package/dist/components/badge/props.d.ts.map +1 -1
- package/dist/components/badge/style.css +3 -2
- package/dist/components/button/main.d.ts.map +1 -1
- package/dist/components/button/main.js +6 -6
- package/dist/components/button/main.js.map +1 -1
- package/dist/components/button/style.css +11 -27
- package/dist/components/checkbox/style.css +2 -5
- package/dist/components/collapsible/main.d.ts +9 -0
- package/dist/components/collapsible/main.d.ts.map +1 -0
- package/dist/components/collapsible/main.js +19 -0
- package/dist/components/collapsible/main.js.map +1 -0
- package/dist/components/collapsible/style.css +23 -0
- package/dist/components/color-picker/main.d.ts +1 -1
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +40 -33
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +21 -7
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +9 -27
- package/dist/components/contextual-menu/main.d.ts +11 -7
- package/dist/components/contextual-menu/main.d.ts.map +1 -1
- package/dist/components/contextual-menu/main.js +99 -47
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +17 -7
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +11 -8
- package/dist/components/date-picker/handle.d.ts +41 -0
- package/dist/components/date-picker/handle.d.ts.map +1 -0
- package/dist/components/date-picker/handle.js +47 -0
- package/dist/components/date-picker/handle.js.map +1 -0
- package/dist/components/date-picker/main.d.ts +31 -49
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +300 -139
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/pager.d.ts +24 -0
- package/dist/components/date-picker/pager.d.ts.map +1 -0
- package/dist/components/date-picker/pager.js +307 -0
- package/dist/components/date-picker/pager.js.map +1 -0
- package/dist/components/date-picker/props.d.ts +93 -22
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +59 -71
- package/dist/components/drawer/main.d.ts +31 -0
- package/dist/components/drawer/main.d.ts.map +1 -0
- package/dist/components/drawer/main.js +74 -0
- package/dist/components/drawer/main.js.map +1 -0
- package/dist/components/drawer/props.d.ts +39 -0
- package/dist/components/drawer/props.d.ts.map +1 -0
- package/dist/components/drawer/props.js +2 -0
- package/dist/components/drawer/props.js.map +1 -0
- package/dist/components/drawer/style.css +135 -0
- package/dist/components/edit-menu/main.d.ts +7 -7
- package/dist/components/edit-menu/main.d.ts.map +1 -1
- package/dist/components/edit-menu/main.js +31 -23
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/edit-menu/props.d.ts +13 -0
- package/dist/components/edit-menu/props.d.ts.map +1 -1
- package/dist/components/edit-menu/style.css +5 -7
- package/dist/components/form/main.d.ts +8 -0
- package/dist/components/form/main.d.ts.map +1 -1
- package/dist/components/form/main.js +15 -2
- package/dist/components/form/main.js.map +1 -1
- package/dist/components/form/props.d.ts +1 -2
- package/dist/components/form/props.d.ts.map +1 -1
- package/dist/components/glass/style.css +19 -4
- package/dist/components/header/main.d.ts +5 -4
- package/dist/components/header/main.d.ts.map +1 -1
- package/dist/components/header/main.js +56 -27
- package/dist/components/header/main.js.map +1 -1
- package/dist/components/header/props.d.ts +2 -3
- package/dist/components/header/props.d.ts.map +1 -1
- package/dist/components/header/style.css +62 -42
- package/dist/components/index.d.ts +26 -22
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +17 -13
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/main.d.ts +2 -2
- package/dist/components/layout/main.d.ts.map +1 -1
- package/dist/components/layout/main.js +59 -163
- package/dist/components/layout/main.js.map +1 -1
- package/dist/components/layout/props.d.ts +2 -20
- package/dist/components/layout/props.d.ts.map +1 -1
- package/dist/components/layout/style.css +18 -89
- package/dist/components/list/main.d.ts +49 -9
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +769 -208
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +165 -8
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/style.css +308 -371
- package/dist/components/list/swipe-actions-handle.d.ts +40 -0
- package/dist/components/list/swipe-actions-handle.d.ts.map +1 -0
- package/dist/components/list/swipe-actions-handle.js +51 -0
- package/dist/components/list/swipe-actions-handle.js.map +1 -0
- package/dist/components/menu/main.d.ts +31 -8
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +175 -39
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +2 -1
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +10 -32
- package/dist/components/navigation/main.d.ts +11 -2
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +186 -98
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/props.d.ts +20 -3
- package/dist/components/navigation/props.d.ts.map +1 -1
- package/dist/components/navigation/style.css +24 -7
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +2 -2
- package/dist/components/page/main.js.map +1 -1
- package/dist/components/page/props.d.ts +8 -0
- package/dist/components/page/props.d.ts.map +1 -1
- package/dist/components/page/style.css +39 -1
- package/dist/components/page-control/main.d.ts +1 -1
- package/dist/components/page-control/main.d.ts.map +1 -1
- package/dist/components/page-control/main.js +59 -25
- package/dist/components/page-control/main.js.map +1 -1
- package/dist/components/page-control/props.d.ts +10 -2
- package/dist/components/page-control/props.d.ts.map +1 -1
- package/dist/components/page-control/style.css +5 -0
- package/dist/components/popover/main.d.ts +11 -6
- package/dist/components/popover/main.d.ts.map +1 -1
- package/dist/components/popover/main.js +53 -31
- package/dist/components/popover/main.js.map +1 -1
- package/dist/components/popover/props.d.ts +7 -6
- package/dist/components/popover/props.d.ts.map +1 -1
- package/dist/components/popover/style.css +45 -4
- package/dist/components/progress/main.d.ts +1 -1
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +108 -15
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/props.d.ts +25 -5
- package/dist/components/progress/props.d.ts.map +1 -1
- package/dist/components/progress/style.css +67 -35
- package/dist/components/roll/main.d.ts +1 -1
- package/dist/components/roll/main.d.ts.map +1 -1
- package/dist/components/roll/main.js +81 -25
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/roll/props.d.ts +24 -7
- package/dist/components/roll/props.d.ts.map +1 -1
- package/dist/components/roll/style.css +1 -13
- package/dist/components/segmented/main.js +3 -3
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/style.css +2 -14
- package/dist/components/sheet/main.d.ts +25 -15
- package/dist/components/sheet/main.d.ts.map +1 -1
- package/dist/components/sheet/main.js +57 -73
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +36 -2
- package/dist/components/sheet/props.d.ts.map +1 -1
- package/dist/components/sheet/style.css +176 -44
- package/dist/components/sidebar/style.css +13 -7
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +6 -5
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/style.css +2 -28
- package/dist/components/stepper/main.d.ts +4 -6
- package/dist/components/stepper/main.d.ts.map +1 -1
- package/dist/components/stepper/main.js +17 -11
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +4 -8
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +16 -11
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +2 -2
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/switch/style.css +28 -1
- package/dist/components/symbol/main.d.ts +2 -2
- package/dist/components/symbol/main.d.ts.map +1 -1
- package/dist/components/symbol/main.js +34 -27
- package/dist/components/symbol/main.js.map +1 -1
- package/dist/components/symbol/props.d.ts +39 -4
- package/dist/components/symbol/props.d.ts.map +1 -1
- package/dist/components/symbol/style.css +25 -4
- package/dist/components/tab-bar/main.d.ts.map +1 -1
- package/dist/components/tab-bar/main.js +59 -46
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +3 -3
- package/dist/components/tab-bar/props.d.ts.map +1 -1
- package/dist/components/tab-bar/style.css +24 -46
- package/dist/components/text-field/main.d.ts.map +1 -1
- package/dist/components/text-field/main.js +9 -8
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/props.d.ts +8 -1
- package/dist/components/text-field/props.d.ts.map +1 -1
- package/dist/components/text-field/style.css +21 -55
- package/dist/components/toolbar/main.d.ts.map +1 -1
- package/dist/components/toolbar/main.js +11 -9
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/style.css +28 -22
- package/dist/components/tooltip/main.d.ts +10 -9
- package/dist/components/tooltip/main.d.ts.map +1 -1
- package/dist/components/tooltip/main.js +35 -6
- package/dist/components/tooltip/main.js.map +1 -1
- package/dist/components/tooltip/props.d.ts +2 -0
- package/dist/components/tooltip/props.d.ts.map +1 -1
- package/dist/components/tooltip/style.css +11 -11
- package/dist/components/typography/main.d.ts.map +1 -1
- package/dist/components/typography/main.js +16 -6
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/props.d.ts +2 -9
- package/dist/components/typography/props.d.ts.map +1 -1
- package/dist/components/typography/style.css +0 -120
- package/dist/components/utils/main.d.ts +34 -5
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +81 -12
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/utils/props.d.ts +4 -2
- package/dist/components/utils/props.d.ts.map +1 -1
- package/dist/components/utils/style.css +29 -16
- package/dist/components/viewport/input.d.ts +23 -0
- package/dist/components/viewport/input.d.ts.map +1 -0
- package/dist/components/viewport/input.js +95 -0
- package/dist/components/viewport/input.js.map +1 -0
- package/dist/components/viewport/main.d.ts +42 -9
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +488 -66
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +50 -0
- package/dist/components/viewport/padding.d.ts.map +1 -0
- package/dist/components/viewport/padding.js +226 -0
- package/dist/components/viewport/padding.js.map +1 -0
- package/dist/components/viewport/props.d.ts +155 -7
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/style.css +172 -6
- package/dist/main.d.ts +0 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js.map +1 -1
- package/dist/styles.css +35 -2
- package/dist/styles.d.ts +2 -1
- package/dist/styles.d.ts.map +1 -1
- package/dist/styles.js +2 -1
- package/dist/styles.js.map +1 -1
- 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`):
|
|
14
|
-
// top `Toolbar` (`
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
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({
|
|
42
|
+
const HeaderContext = createContext({
|
|
43
|
+
hasLargeTitle: false,
|
|
44
|
+
});
|
|
28
45
|
/**
|
|
29
|
-
* A page's header: its `
|
|
30
|
-
*
|
|
31
|
-
*
|
|
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(() => ({
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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`),
|
|
55
|
-
*
|
|
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,
|
|
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,KAA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IG;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
|
-
|
|
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,
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
31
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
61
|
-
under the bar (see Root: the header's timeline). */
|
|
62
|
-
|
|
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
|
-
/*
|
|
70
|
-
|
|
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(
|
|
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:
|
|
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 {
|
|
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
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
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,
|
|
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,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,MA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AAS,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"}
|
package/dist/components/index.js
CHANGED
|
@@ -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 {
|
|
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,
|
|
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,EAKX,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EAML,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EAIP,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EAEjB,QAAQ,GAOT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,EAML,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EAIP,sBAAsB,GACvB,MAAM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C;AAExB,OAAO;AACP,OAAO,EACL,MAAM,GAIP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,WAAW,GAGZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,OAAO,GAMR,MAAM,mBAAmB,CAAC;AAE3B,mBAAmB;AACnB,OAAO,EACL,MAAM,GAGP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,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
|
|
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<
|
|
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;
|
|
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"}
|