@mrpelz/uikit-ish 7.8.0 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -16
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +89 -19
- 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 +24 -0
- package/dist/components/activity-view/main.d.ts +15 -4
- package/dist/components/activity-view/main.d.ts.map +1 -1
- package/dist/components/activity-view/main.js +27 -14
- 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 +29 -67
- package/dist/components/alert/main.d.ts +8 -7
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +32 -19
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +13 -2
- package/dist/components/alert/props.d.ts.map +1 -1
- package/dist/components/alert/style.css +36 -50
- 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 +10 -8
- 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 +1 -7
- package/dist/components/badge/main.d.ts +3 -3
- package/dist/components/badge/main.d.ts.map +1 -1
- package/dist/components/badge/main.js +9 -9
- 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 +10 -4
- package/dist/components/button/main.d.ts.map +1 -1
- package/dist/components/button/main.js +15 -15
- package/dist/components/button/main.js.map +1 -1
- package/dist/components/button/props.d.ts +8 -8
- package/dist/components/button/props.d.ts.map +1 -1
- package/dist/components/button/style.css +37 -55
- package/dist/components/checkbox/main.d.ts.map +1 -1
- package/dist/components/checkbox/main.js +5 -7
- package/dist/components/checkbox/main.js.map +1 -1
- package/dist/components/checkbox/style.css +5 -8
- 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 +27 -4
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +292 -110
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +64 -15
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +133 -65
- 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 +207 -202
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +21 -34
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +63 -34
- 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 +373 -178
- 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 +98 -27
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +110 -118
- 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 +119 -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 +57 -40
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/edit-menu/props.d.ts +14 -1
- package/dist/components/edit-menu/props.d.ts.map +1 -1
- package/dist/components/edit-menu/style.css +15 -8
- 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 +18 -5
- 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/main.d.ts +1 -1
- package/dist/components/glass/main.js +4 -4
- package/dist/components/glass/main.js.map +1 -1
- package/dist/components/glass/props.d.ts +5 -5
- package/dist/components/glass/props.d.ts.map +1 -1
- package/dist/components/glass/style.css +176 -161
- 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 +64 -34
- 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 +46 -65
- package/dist/components/index.d.ts +27 -23
- 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 +63 -167
- 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 +20 -91
- package/dist/components/list/main.d.ts +58 -10
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +1022 -465
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +211 -21
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/reorder.d.ts +146 -0
- package/dist/components/list/reorder.d.ts.map +1 -0
- package/dist/components/list/reorder.js +819 -0
- package/dist/components/list/reorder.js.map +1 -0
- package/dist/components/list/select.d.ts +6 -0
- package/dist/components/list/select.d.ts.map +1 -0
- package/dist/components/list/select.js +141 -0
- package/dist/components/list/select.js.map +1 -0
- package/dist/components/list/style.css +492 -507
- 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 +102 -32
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +510 -99
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +5 -5
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +35 -43
- package/dist/components/navigation/main.d.ts +14 -2
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +437 -119
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/props.d.ts +53 -3
- package/dist/components/navigation/props.d.ts.map +1 -1
- package/dist/components/navigation/style.css +56 -9
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +13 -8
- 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 -4
- package/dist/components/page-control/main.d.ts +2 -2
- package/dist/components/page-control/main.d.ts.map +1 -1
- package/dist/components/page-control/main.js +66 -32
- 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 +7 -2
- 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 +63 -38
- 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 +54 -4
- package/dist/components/progress/main.d.ts +2 -3
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +148 -29
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/props.d.ts +43 -9
- package/dist/components/progress/props.d.ts.map +1 -1
- package/dist/components/progress/style.css +82 -50
- 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 +90 -34
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/roll/props.d.ts +25 -8
- package/dist/components/roll/props.d.ts.map +1 -1
- package/dist/components/roll/style.css +12 -24
- package/dist/components/segmented/main.d.ts.map +1 -1
- package/dist/components/segmented/main.js +47 -30
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/style.css +16 -23
- 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 +66 -78
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +37 -3
- package/dist/components/sheet/props.d.ts.map +1 -1
- package/dist/components/sheet/style.css +183 -45
- package/dist/components/sidebar/main.d.ts.map +1 -1
- package/dist/components/sidebar/main.js +9 -13
- package/dist/components/sidebar/main.js.map +1 -1
- package/dist/components/sidebar/style.css +20 -14
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +23 -22
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/props.d.ts +1 -2
- package/dist/components/slider/props.d.ts.map +1 -1
- package/dist/components/slider/style.css +27 -53
- 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 +29 -25
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +12 -16
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +40 -28
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +7 -5
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/switch/style.css +40 -17
- 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 +36 -28
- 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 +26 -5
- package/dist/components/tab-bar/main.d.ts +2 -2
- package/dist/components/tab-bar/main.d.ts.map +1 -1
- package/dist/components/tab-bar/main.js +133 -101
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +6 -6
- package/dist/components/tab-bar/props.d.ts.map +1 -1
- package/dist/components/tab-bar/style.css +113 -99
- package/dist/components/text-field/main.d.ts +3 -2
- package/dist/components/text-field/main.d.ts.map +1 -1
- package/dist/components/text-field/main.js +29 -30
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/props.d.ts +23 -1
- package/dist/components/text-field/props.d.ts.map +1 -1
- package/dist/components/text-field/style.css +122 -82
- package/dist/components/toolbar/main.js +27 -27
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/props.d.ts +10 -4
- package/dist/components/toolbar/props.d.ts.map +1 -1
- package/dist/components/toolbar/style.css +39 -33
- 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 +39 -10
- 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 +16 -16
- package/dist/components/typography/main.d.ts +2 -2
- package/dist/components/typography/main.d.ts.map +1 -1
- package/dist/components/typography/main.js +24 -16
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/props.d.ts +11 -18
- package/dist/components/typography/props.d.ts.map +1 -1
- package/dist/components/typography/style.css +503 -623
- package/dist/components/utils/main.d.ts +78 -8
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +235 -16
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/utils/props.d.ts +27 -4
- package/dist/components/utils/props.d.ts.map +1 -1
- package/dist/components/utils/style.css +31 -18
- package/dist/components/viewport/edge-effect.d.ts +10 -0
- package/dist/components/viewport/edge-effect.d.ts.map +1 -0
- package/dist/components/viewport/edge-effect.js +100 -0
- package/dist/components/viewport/edge-effect.js.map +1 -0
- package/dist/components/viewport/edge.d.ts +39 -0
- package/dist/components/viewport/edge.d.ts.map +1 -0
- package/dist/components/viewport/edge.js +151 -0
- package/dist/components/viewport/edge.js.map +1 -0
- package/dist/components/viewport/input.d.ts +39 -0
- package/dist/components/viewport/input.d.ts.map +1 -0
- package/dist/components/viewport/input.js +280 -0
- package/dist/components/viewport/input.js.map +1 -0
- package/dist/components/viewport/main.d.ts +47 -9
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +745 -86
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +78 -0
- package/dist/components/viewport/padding.d.ts.map +1 -0
- package/dist/components/viewport/padding.js +321 -0
- package/dist/components/viewport/padding.js.map +1 -0
- package/dist/components/viewport/props.d.ts +220 -11
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/style.css +377 -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 +318 -302
- 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 +8 -16
|
@@ -1,34 +1,48 @@
|
|
|
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 {
|
|
7
|
-
import {
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
// colors. Behavior after Framework7's large navbar (`navbar.less`,
|
|
7
|
+
import { cn, useForwardedRef } from '../utils/main.js';
|
|
8
|
+
import { useAnchorSize, useViewportEdgeElement } from '../viewport/main.js';
|
|
9
|
+
// A top toolbar with a large title, the titles in the label colors.
|
|
10
|
+
// Behavior after Framework7's large navbar (`navbar.less`,
|
|
11
11
|
// `navbar.js`: `.navbar-large`, collapsing on scroll).
|
|
12
12
|
//
|
|
13
|
-
// A page's header
|
|
14
|
-
// top `Toolbar` (`
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
13
|
+
// A page's header: the
|
|
14
|
+
// app's top `Toolbar` (`placement="block-start"`) in a
|
|
15
|
+
// `Viewport.BlockStart` (staying where it is, as the page scrolls or
|
|
16
|
+
// bounces under it), and a large title in the page below it (`LargeTitle`,
|
|
17
|
+
// Large Title Emphasized, 16px from the sides, with an optional
|
|
18
|
+
// `Toolbar.Subtitle` in 15px, 510), scrolling with the page. `Root` ties
|
|
19
|
+
// them: around the anchor and the `Page` (or within the page, e.g. a tab's
|
|
20
|
+
// panel rendered as one); the page's content starts below the bar by a
|
|
21
|
+
// `Viewport.Padding` at its start (the app's: e.g. none while the bar is
|
|
22
|
+
// empty). As the
|
|
23
|
+
// large title scrolls under the bar, it fades out and the bar's own
|
|
24
|
+
// `Toolbar.Title` fades in (scroll-driven animations, no scroll
|
|
25
|
+
// listeners): without a large title, the bar's title just shows. Content
|
|
26
|
+
// scrolled under the bar blurs beneath it (the scroll edge effect: its
|
|
27
|
+
// anchor's, see `Viewport`; its accessory, stuck, covered too).
|
|
23
28
|
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
|
|
29
|
+
// An accessory (`Accessory`: a search field, a segmented control) scrolls
|
|
30
|
+
// with the large title, then sticks below the bar, 16px from
|
|
31
|
+
// the sides, 8px above the content.
|
|
32
|
+
//
|
|
33
|
+
// Also:
|
|
34
|
+
// - Pulled down, the large title doesn't grow.
|
|
35
|
+
// - The page's content makes room for the bar with a `Viewport.Padding`
|
|
36
|
+
// (the app's, at the page's start: as high as the bar, live); the large
|
|
37
|
+
// title and the accessory follow the bar's height too.
|
|
38
|
+
// - The scroll edge effect (the anchor's) is an approximation.
|
|
39
|
+
const HeaderContext = createContext({
|
|
40
|
+
hasLargeTitle: false,
|
|
41
|
+
});
|
|
28
42
|
/**
|
|
29
|
-
* A page's header: its `
|
|
30
|
-
*
|
|
31
|
-
*
|
|
43
|
+
* A page's header: its bar (a `Toolbar` in a `Viewport.BlockStart`, its
|
|
44
|
+
* child) and its page's `LargeTitle` (and `Accessory`), around the page (or
|
|
45
|
+
* within it). It has no box of its own.
|
|
32
46
|
*/
|
|
33
47
|
const Root = ({ children }) => {
|
|
34
48
|
const id = useId();
|
|
@@ -38,21 +52,18 @@ const Root = ({ children }) => {
|
|
|
38
52
|
setLargeTitles((count) => count + 1);
|
|
39
53
|
return () => setLargeTitles((count) => count - 1);
|
|
40
54
|
}, []);
|
|
41
|
-
const value = useMemo(() => ({
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
55
|
+
const value = useMemo(() => ({ hasLargeTitle: largeTitles > 0, markLargeTitle, timeline }), [largeTitles, markLargeTitle, timeline]);
|
|
56
|
+
// Its bar's height (the tallest at the block start, in its scope: see
|
|
57
|
+
// Viewport.Padding), for its large title and accessory.
|
|
58
|
+
const barSize = useAnchorSize('block-start');
|
|
59
|
+
return (_jsx(HeaderContext.Provider, { value: value, children: _jsx("div", { className: "uikit-header-root", "data-header-part": "root", "data-large-title": value.hasLargeTitle ? '' : undefined, style: {
|
|
60
|
+
'--uikit-header-bar': `${String(barSize)}px`,
|
|
45
61
|
'--uikit-header-timeline': timeline,
|
|
46
62
|
}, children: children }) }));
|
|
47
63
|
};
|
|
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
64
|
/**
|
|
54
|
-
* The header's large title (with an optional `Toolbar.Subtitle`),
|
|
55
|
-
*
|
|
65
|
+
* The header's large title (with an optional `Toolbar.Subtitle`), at its
|
|
66
|
+
* page's start (below the bar), scrolling with the page.
|
|
56
67
|
*/
|
|
57
68
|
const LargeTitle = forwardRef(({ className, render, ...props }, ref) => {
|
|
58
69
|
const { markLargeTitle } = useContext(HeaderContext);
|
|
@@ -70,9 +81,28 @@ const LargeTitle = forwardRef(({ className, render, ...props }, ref) => {
|
|
|
70
81
|
render,
|
|
71
82
|
});
|
|
72
83
|
});
|
|
84
|
+
/**
|
|
85
|
+
* What stays with the bar (a search field, a segmented control): below the large title, scrolling
|
|
86
|
+
* with it, then sticking below the bar, the content beneath it blurred.
|
|
87
|
+
*/
|
|
88
|
+
const Accessory = forwardRef(({ className, render, ...props }, forwardedRef) => {
|
|
89
|
+
const ref = useForwardedRef(forwardedRef);
|
|
90
|
+
// Stuck below the bar: the bar's edge effect reaching under it.
|
|
91
|
+
useViewportEdgeElement(ref, 'block-start');
|
|
92
|
+
return 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
|
+
});
|
|
102
|
+
});
|
|
73
103
|
export const Header = {
|
|
74
104
|
Root,
|
|
75
|
-
Bar,
|
|
76
105
|
LargeTitle,
|
|
106
|
+
Accessory,
|
|
77
107
|
};
|
|
78
108
|
//# 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,KAAK,EACL,eAAe,EACf,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,EAAE,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;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sB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;IAE3C,OAAO,SAAS,CAAC;QACf,cAAc,EAAE,KAAK;QACrB,KAAK,EAAE;YACL,kBAAkB,EAAE,WAAW;YAC/B,GAAG,KAAK;YACR,SAAS,EAAE,EAAE,CAAC,wBAAwB,EAAE,SAAS,CAAC;SACnD;QACD,GAAG;QACH,MAAM;KACP,CAAC,CAAC;AACL,CAAC,CACF,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,54 +20,45 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* The scroll edge effect, once content is scrolled under the bar. */
|
|
44
|
-
&::before {
|
|
45
|
-
position: absolute;
|
|
46
|
-
z-index: -1;
|
|
47
|
-
animation: uikit-header-fade-in linear both;
|
|
48
|
-
animation-range: 0 16px;
|
|
49
|
-
animation-timeline: scroll(nearest);
|
|
50
|
-
backdrop-filter: blur(8px);
|
|
51
|
-
content: '';
|
|
52
|
-
inset: 0 0 -16px;
|
|
53
|
-
|
|
54
|
-
/* (Under a floating column too, see Layout and Page.) */
|
|
55
|
-
inset-inline-start: calc(var(--uikit-layout-inset-start, 0px) * -1);
|
|
56
|
-
mask-image: linear-gradient(#000 50%, transparent);
|
|
57
|
-
pointer-events: none;
|
|
58
|
-
}
|
|
23
|
+
/* Its bar (see Root): the app's toolbar in a `Viewport.BlockStart`, its
|
|
24
|
+
child (its edge effect the anchor's, see Viewport). No box of its own;
|
|
25
|
+
its large title's timeline, for its bar. Its bar's height
|
|
26
|
+
(`--uikit-header-bar`, measured, see Viewport.Padding) for its large
|
|
27
|
+
title and accessory. */
|
|
28
|
+
.uikit-header-root {
|
|
29
|
+
display: contents;
|
|
30
|
+
timeline-scope: var(--uikit-header-timeline);
|
|
31
|
+
}
|
|
59
32
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
33
|
+
/* (In a navigation's transition, it moves with its page, see
|
|
34
|
+
`Navigation`: its anchor, fixed, within its page's frame.) */
|
|
35
|
+
.uikit-header-root > .uikit-viewport-anchor[data-edge='block-start'] {
|
|
36
|
+
/* With a large title: the bar's title fades in as the large title
|
|
37
|
+
scrolls under the bar (see Root: the header's timeline). */
|
|
38
|
+
.uikit-header-root[data-large-title] >
|
|
39
|
+
&
|
|
40
|
+
> .uikit-toolbar-root
|
|
41
|
+
> [data-toolbar-part='title'] {
|
|
63
42
|
animation: uikit-header-fade-in linear both;
|
|
64
43
|
animation-range: exit-crossing 50% exit-crossing 100%;
|
|
65
44
|
animation-timeline: var(--uikit-header-timeline);
|
|
66
45
|
}
|
|
67
46
|
}
|
|
68
47
|
|
|
69
|
-
/*
|
|
70
|
-
|
|
48
|
+
/* What stays with the bar (see Accessory): sticking below it (the bar's
|
|
49
|
+
height past the page's padding edge: its padding the safe area inset,
|
|
50
|
+
see Page), the bar's edge effect reaching under it as it's stuck (see
|
|
51
|
+
Viewport); above the bar's layer (never under the bar itself), so the
|
|
52
|
+
effect blurs what's beneath it, not it. */
|
|
53
|
+
.uikit-header-accessory {
|
|
54
|
+
position: sticky;
|
|
55
|
+
z-index: 11;
|
|
56
|
+
top: var(--uikit-header-bar, 0);
|
|
57
|
+
padding: 0 16px 8px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* A large title (and subtitle): 16px from the sides, 10px from the bar (its
|
|
61
|
+
height measured); as it scrolls under the bar, it fades out. */
|
|
71
62
|
.uikit-header-large-title {
|
|
72
63
|
display: flex;
|
|
73
64
|
box-sizing: border-box;
|
|
@@ -75,45 +66,35 @@
|
|
|
75
66
|
padding: 0 16px 10px;
|
|
76
67
|
animation: uikit-header-fade-out linear both;
|
|
77
68
|
animation-range: exit-crossing 0% exit-crossing 50%;
|
|
78
|
-
animation-timeline: view(
|
|
79
|
-
|
|
80
|
-
|
|
69
|
+
animation-timeline: view(
|
|
70
|
+
block calc(var(--uikit-header-bar, 0px) + var(--uikit-page-safe-top, 0px))
|
|
71
|
+
0
|
|
72
|
+
);
|
|
73
|
+
color: var(--color-ui-label);
|
|
74
|
+
font-size: var(--font-ui-large-title-size);
|
|
81
75
|
font-style: normal;
|
|
82
76
|
font-variation-settings: 'wght'
|
|
83
|
-
var(--font-
|
|
77
|
+
var(--font-ui-large-title-weight-emphasized);
|
|
84
78
|
font-weight: round(
|
|
85
79
|
down,
|
|
86
|
-
var(--font-
|
|
80
|
+
var(--font-ui-large-title-weight-emphasized),
|
|
87
81
|
100
|
|
88
82
|
);
|
|
89
|
-
letter-spacing: var(--font-
|
|
90
|
-
line-height: var(--font-
|
|
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
|
-
);
|
|
83
|
+
letter-spacing: var(--font-ui-large-title-tracking);
|
|
84
|
+
line-height: var(--font-ui-large-title-line-height);
|
|
97
85
|
view-timeline-axis: block;
|
|
98
|
-
view-timeline-inset:
|
|
86
|
+
view-timeline-inset: calc(
|
|
87
|
+
var(--uikit-header-bar, 0px) + var(--uikit-page-safe-top, 0px)
|
|
88
|
+
)
|
|
89
|
+
0;
|
|
99
90
|
view-timeline-name: var(--uikit-header-timeline);
|
|
100
91
|
|
|
101
|
-
--uikit-symbol-thinning: max(
|
|
102
|
-
0px,
|
|
103
|
-
(400 - var(--font-ios-large-title-weight-emphasized)) / 326 * 1px
|
|
104
|
-
);
|
|
105
|
-
|
|
106
92
|
& > [data-toolbar-part='subtitle'] {
|
|
107
93
|
font-size: 15px;
|
|
108
94
|
font-variation-settings: 'wght' 510;
|
|
109
95
|
font-weight: round(down, 510, 100);
|
|
110
96
|
letter-spacing: -0.25px;
|
|
111
97
|
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
98
|
}
|
|
118
99
|
}
|
|
119
100
|
}
|
|
@@ -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
|
|
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 ColorPickerModeProps, type ColorPickerModesProps, type ColorPickerPanelProps, type ColorPickerRootProps, type ColorPickerSavedColorsChangeEventDetails, type ColorPickerSlidersModel, type ColorPickerSlidersProps, type ColorPickerSwatchesProps, type ColorPickerViewProps, 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 ListDropGroupProps, type ListDropTargetProps, type ListHeaderProps, type ListImageProps, type ListIndexProps, type ListItemProps, type ListReorderChange, type ListReorderEventDetails, ListReorderHandle, type ListReorderItem, type ListReorderOptions, type ListReorderPart, type ListReorderReason, type ListReorderTarget, type ListRootProps, type ListSectionProps, type ListStyle, type ListSwipeActionProps, ListSwipeActionsHandle, type ListSwipeActionsProps, type ListSwipeActionsTriggerProps, type ListGroupProps, type ListTextProps, type ListWhileEditing, useCreateReorderHandle, 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 NavigationPersistentProps, 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';
|
|
35
|
-
export { type
|
|
36
|
+
export { type ElementGeometry, type ElementGeometryOptions, type ElementVisibilityOptions, preventFocusShift, preventInputZoom, preventTextActions, useElementGeometry, useElementVisibility, useFocusShiftPrevention, useInputZoomPrevention, useScrollDirection, useSizeClass, useTextActionsPrevention, useViewportEdgeElement, useViewportScroll, useVisualViewport, useAnchorSize, useCreateViewportAnchorHandle, Viewport, ViewportAnchorHandle, ViewportScopeContext, type ViewportAnchorProps, type ViewportContentProps, type ViewportKeyboardAccessoryProps, type ViewportContentSafeArea, type ViewportEdge, type ViewportEdgeEffect, 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';
|
|
38
|
+
export { type TextSize, 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,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,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KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,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,QAAQ,EACb,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, ListReorderHandle, ListSwipeActionsHandle, useCreateReorderHandle, 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, preventTextActions, useElementGeometry, useElementVisibility, useFocusShiftPrevention, useInputZoomPrevention, useScrollDirection, useSizeClass, useTextActionsPrevention, useViewportEdgeElement, 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,iBAAi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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"}
|