panelui-native 0.25.0 → 0.30.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/README.md +18 -1
- package/lib/module/components/accordion/index.js +8 -8
- package/lib/module/components/accordion/index.js.map +1 -1
- package/lib/module/components/alert/index.js +2 -2
- package/lib/module/components/alert/index.js.map +1 -1
- package/lib/module/components/area-chart/index.js +182 -50
- package/lib/module/components/area-chart/index.js.map +1 -1
- package/lib/module/components/attachment/index.js +2 -1
- package/lib/module/components/attachment/index.js.map +1 -1
- package/lib/module/components/avatar/index.js +3 -3
- package/lib/module/components/avatar/index.js.map +1 -1
- package/lib/module/components/badge/index.js +4 -4
- package/lib/module/components/badge/index.js.map +1 -1
- package/lib/module/components/bar-chart/index.js +197 -56
- package/lib/module/components/bar-chart/index.js.map +1 -1
- package/lib/module/components/bottom-sheet/index.js +15 -10
- package/lib/module/components/bottom-sheet/index.js.map +1 -1
- package/lib/module/components/breadcrumb/index.js +6 -6
- package/lib/module/components/breadcrumb/index.js.map +1 -1
- package/lib/module/components/button/index.js +11 -6
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/calendar/index.js +792 -0
- package/lib/module/components/calendar/index.js.map +1 -0
- package/lib/module/components/carousel/index.js +680 -0
- package/lib/module/components/carousel/index.js.map +1 -0
- package/lib/module/components/chip/index.js +4 -4
- package/lib/module/components/chip/index.js.map +1 -1
- package/lib/module/components/code-block/highlight.js +363 -0
- package/lib/module/components/code-block/highlight.js.map +1 -0
- package/lib/module/components/code-block/index.js +313 -0
- package/lib/module/components/code-block/index.js.map +1 -0
- package/lib/module/components/date-picker/index.js +165 -0
- package/lib/module/components/date-picker/index.js.map +1 -0
- package/lib/module/components/dialog/index.js +7 -2
- package/lib/module/components/dialog/index.js.map +1 -1
- package/lib/module/components/direction/index.js +2 -1
- package/lib/module/components/direction/index.js.map +1 -1
- package/lib/module/components/empty-state/index.js +2 -2
- package/lib/module/components/empty-state/index.js.map +1 -1
- package/lib/module/components/field/index.js +5 -5
- package/lib/module/components/field/index.js.map +1 -1
- package/lib/module/components/flow/index.js +3 -3
- package/lib/module/components/flow/index.js.map +1 -1
- package/lib/module/components/frame/index.js +5 -5
- package/lib/module/components/frame/index.js.map +1 -1
- package/lib/module/components/input-group/index.js +3 -2
- package/lib/module/components/input-group/index.js.map +1 -1
- package/lib/module/components/item/index.js +9 -9
- package/lib/module/components/item/index.js.map +1 -1
- package/lib/module/components/label/index.js +4 -4
- package/lib/module/components/label/index.js.map +1 -1
- package/lib/module/components/line-chart/index.js +167 -44
- package/lib/module/components/line-chart/index.js.map +1 -1
- package/lib/module/components/map/index.js +7 -7
- package/lib/module/components/map/index.js.map +1 -1
- package/lib/module/components/marker/index.js +3 -3
- package/lib/module/components/marker/index.js.map +1 -1
- package/lib/module/components/menu/index.js +714 -0
- package/lib/module/components/menu/index.js.map +1 -0
- package/lib/module/components/message/index.js +7 -7
- package/lib/module/components/message/index.js.map +1 -1
- package/lib/module/components/message-scroller/index.js +5 -4
- package/lib/module/components/message-scroller/index.js.map +1 -1
- package/lib/module/components/plan/index.js +296 -0
- package/lib/module/components/plan/index.js.map +1 -0
- package/lib/module/components/popover/index.js +73 -10
- package/lib/module/components/popover/index.js.map +1 -1
- package/lib/module/components/radio-group/index.js +15 -10
- package/lib/module/components/radio-group/index.js.map +1 -1
- package/lib/module/components/reasoning/index.js +244 -0
- package/lib/module/components/reasoning/index.js.map +1 -0
- package/lib/module/components/section-rail/index.js +4 -4
- package/lib/module/components/section-rail/index.js.map +1 -1
- package/lib/module/components/select/index.js +10 -4
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/components/sources/index.js +221 -0
- package/lib/module/components/sources/index.js.map +1 -0
- package/lib/module/components/steps/index.js +4 -4
- package/lib/module/components/steps/index.js.map +1 -1
- package/lib/module/components/tabs/index.js +7 -7
- package/lib/module/components/tabs/index.js.map +1 -1
- package/lib/module/components/task/index.js +300 -0
- package/lib/module/components/task/index.js.map +1 -0
- package/lib/module/components/textarea/index.js +295 -0
- package/lib/module/components/textarea/index.js.map +1 -0
- package/lib/module/components/timeline/index.js +4 -4
- package/lib/module/components/timeline/index.js.map +1 -1
- package/lib/module/components/toast/index.js +2 -2
- package/lib/module/components/toast/index.js.map +1 -1
- package/lib/module/components/toggle-button/index.js +5 -5
- package/lib/module/components/toggle-button/index.js.map +1 -1
- package/lib/module/components/tooltip/index.js +648 -0
- package/lib/module/components/tooltip/index.js.map +1 -0
- package/lib/module/components/typography/index.js +2 -2
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/hooks/index.js +1 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/use-back-handler.js +37 -0
- package/lib/module/hooks/use-back-handler.js.map +1 -0
- package/lib/module/icons/index.js +202 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +13 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/primitives/collapse.js +112 -0
- package/lib/module/primitives/collapse.js.map +1 -0
- package/lib/module/primitives/keyboard-avoider.js +2 -1
- package/lib/module/primitives/keyboard-avoider.js.map +1 -1
- package/lib/module/primitives/text.js +25 -1
- package/lib/module/primitives/text.js.map +1 -1
- package/lib/module/utils/date.js +386 -0
- package/lib/module/utils/date.js.map +1 -0
- package/lib/typescript/src/components/accordion/index.d.ts.map +1 -1
- package/lib/typescript/src/components/alert/index.d.ts.map +1 -1
- package/lib/typescript/src/components/area-chart/index.d.ts +41 -1
- package/lib/typescript/src/components/area-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/attachment/index.d.ts.map +1 -1
- package/lib/typescript/src/components/bar-chart/index.d.ts +44 -2
- package/lib/typescript/src/components/bar-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/breadcrumb/index.d.ts.map +1 -1
- package/lib/typescript/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/calendar/index.d.ts +173 -0
- package/lib/typescript/src/components/calendar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/carousel/index.d.ts +179 -0
- package/lib/typescript/src/components/carousel/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
- package/lib/typescript/src/components/code-block/highlight.d.ts +39 -0
- package/lib/typescript/src/components/code-block/highlight.d.ts.map +1 -0
- package/lib/typescript/src/components/code-block/index.d.ts +113 -0
- package/lib/typescript/src/components/code-block/index.d.ts.map +1 -0
- package/lib/typescript/src/components/date-picker/index.d.ts +97 -0
- package/lib/typescript/src/components/date-picker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/index.d.ts.map +1 -1
- package/lib/typescript/src/components/direction/index.d.ts.map +1 -1
- package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -1
- package/lib/typescript/src/components/field/index.d.ts.map +1 -1
- package/lib/typescript/src/components/frame/index.d.ts.map +1 -1
- package/lib/typescript/src/components/input-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/item/index.d.ts.map +1 -1
- package/lib/typescript/src/components/label/index.d.ts.map +1 -1
- package/lib/typescript/src/components/line-chart/index.d.ts +41 -2
- package/lib/typescript/src/components/line-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/map/index.d.ts.map +1 -1
- package/lib/typescript/src/components/marker/index.d.ts.map +1 -1
- package/lib/typescript/src/components/menu/index.d.ts +261 -0
- package/lib/typescript/src/components/menu/index.d.ts.map +1 -0
- package/lib/typescript/src/components/message/index.d.ts.map +1 -1
- package/lib/typescript/src/components/message-scroller/index.d.ts.map +1 -1
- package/lib/typescript/src/components/plan/index.d.ts +127 -0
- package/lib/typescript/src/components/plan/index.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/index.d.ts +35 -1
- package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
- package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/reasoning/index.d.ts +97 -0
- package/lib/typescript/src/components/reasoning/index.d.ts.map +1 -0
- package/lib/typescript/src/components/select/index.d.ts.map +1 -1
- package/lib/typescript/src/components/sources/index.d.ts +85 -0
- package/lib/typescript/src/components/sources/index.d.ts.map +1 -0
- package/lib/typescript/src/components/steps/index.d.ts.map +1 -1
- package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
- package/lib/typescript/src/components/task/index.d.ts +103 -0
- package/lib/typescript/src/components/task/index.d.ts.map +1 -0
- package/lib/typescript/src/components/textarea/index.d.ts +175 -0
- package/lib/typescript/src/components/textarea/index.d.ts.map +1 -0
- package/lib/typescript/src/components/timeline/index.d.ts.map +1 -1
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -1
- package/lib/typescript/src/components/toggle-button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/tooltip/index.d.ts +180 -0
- package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/index.d.ts +1 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/use-back-handler.d.ts +19 -0
- package/lib/typescript/src/hooks/use-back-handler.d.ts.map +1 -0
- package/lib/typescript/src/icons/index.d.ts +17 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +16 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/primitives/collapse.d.ts +42 -0
- package/lib/typescript/src/primitives/collapse.d.ts.map +1 -0
- package/lib/typescript/src/primitives/keyboard-avoider.d.ts.map +1 -1
- package/lib/typescript/src/primitives/text.d.ts +20 -0
- package/lib/typescript/src/primitives/text.d.ts.map +1 -1
- package/lib/typescript/src/utils/date.d.ts +116 -0
- package/lib/typescript/src/utils/date.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/accordion/index.tsx +8 -12
- package/src/components/alert/index.tsx +2 -2
- package/src/components/area-chart/index.tsx +208 -55
- package/src/components/attachment/index.tsx +2 -2
- package/src/components/avatar/index.tsx +3 -3
- package/src/components/badge/index.tsx +6 -6
- package/src/components/bar-chart/index.tsx +214 -54
- package/src/components/bottom-sheet/index.tsx +17 -16
- package/src/components/breadcrumb/index.tsx +6 -8
- package/src/components/button/index.tsx +12 -8
- package/src/components/calendar/index.tsx +970 -0
- package/src/components/carousel/index.tsx +788 -0
- package/src/components/chip/index.tsx +4 -6
- package/src/components/code-block/highlight.ts +278 -0
- package/src/components/code-block/index.tsx +341 -0
- package/src/components/date-picker/index.tsx +255 -0
- package/src/components/dialog/index.tsx +7 -2
- package/src/components/direction/index.tsx +2 -1
- package/src/components/empty-state/index.tsx +2 -2
- package/src/components/field/index.tsx +3 -5
- package/src/components/flow/index.tsx +3 -3
- package/src/components/frame/index.tsx +5 -7
- package/src/components/input-group/index.tsx +3 -2
- package/src/components/item/index.tsx +9 -9
- package/src/components/label/index.tsx +2 -2
- package/src/components/line-chart/index.tsx +189 -50
- package/src/components/map/index.tsx +7 -9
- package/src/components/marker/index.tsx +3 -3
- package/src/components/menu/index.tsx +812 -0
- package/src/components/message/index.tsx +7 -7
- package/src/components/message-scroller/index.tsx +5 -4
- package/src/components/plan/index.tsx +325 -0
- package/src/components/popover/index.tsx +111 -8
- package/src/components/radio-group/index.tsx +13 -4
- package/src/components/reasoning/index.tsx +297 -0
- package/src/components/section-rail/index.tsx +4 -4
- package/src/components/select/index.tsx +10 -4
- package/src/components/sources/index.tsx +278 -0
- package/src/components/steps/index.tsx +4 -4
- package/src/components/tabs/index.tsx +7 -9
- package/src/components/task/index.tsx +329 -0
- package/src/components/textarea/index.tsx +381 -0
- package/src/components/timeline/index.tsx +4 -4
- package/src/components/toast/index.tsx +2 -2
- package/src/components/toggle-button/index.tsx +5 -7
- package/src/components/tooltip/index.tsx +793 -0
- package/src/components/typography/index.tsx +2 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-back-handler.ts +37 -0
- package/src/icons/index.tsx +147 -0
- package/src/index.ts +116 -0
- package/src/primitives/collapse.tsx +128 -0
- package/src/primitives/keyboard-avoider.tsx +2 -1
- package/src/primitives/text.tsx +28 -1
- package/src/utils/date.ts +446 -0
- package/theme.css +112 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs a handler when the Android hardware back button is pressed.
|
|
3
|
+
*
|
|
4
|
+
* An open overlay owns the back button while it is up: pressing back should
|
|
5
|
+
* dismiss the overlay, not pop the screen behind it. Without this, the back
|
|
6
|
+
* gesture navigates away and the overlay is orphaned — the same mistake as a
|
|
7
|
+
* modal that stays put when you tap outside it.
|
|
8
|
+
*
|
|
9
|
+
* The listener is Android-only and gated on `enabled`, so an overlay wires it
|
|
10
|
+
* to `open && dismissible` and nothing runs while the overlay is closed or
|
|
11
|
+
* pinned. Returning `true` from the handler tells the platform the press was
|
|
12
|
+
* consumed, which is what stops the navigation.
|
|
13
|
+
*
|
|
14
|
+
* ```tsx
|
|
15
|
+
* useBackHandler(open && dismissible, () => setOpen(false));
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function useBackHandler(enabled: boolean, onBack: () => void): void;
|
|
19
|
+
//# sourceMappingURL=use-back-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-back-handler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-back-handler.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,GAAG,IAAI,CAgBzE"}
|
|
@@ -37,6 +37,9 @@ export declare function CheckIcon({ size, color, ...props }: IconProps): import(
|
|
|
37
37
|
* bar that is heavier than the + it pairs with reads as a different glyph.
|
|
38
38
|
*/
|
|
39
39
|
export declare function MinusIcon({ size, color, strokeWidth, ...props }: IconProps): import("react").JSX.Element;
|
|
40
|
+
export declare function ChevronUpIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
41
|
+
export declare function CalendarIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
42
|
+
export declare function BookmarkIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
40
43
|
export declare function ChevronDownIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
41
44
|
export declare function ChevronLeftIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
42
45
|
export declare function ChevronRightIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
@@ -117,4 +120,18 @@ export declare function CompassIcon({ size, color, ...props }: IconProps): impor
|
|
|
117
120
|
export declare function LockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
118
121
|
/** The same padlock with its shackle swung open — freely movable. */
|
|
119
122
|
export declare function UnlockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
123
|
+
/**
|
|
124
|
+
* Four-pointed sparkles. The mark for a model doing something on your behalf —
|
|
125
|
+
* a reasoning step, a generated plan — where a gear or a brain reads as
|
|
126
|
+
* machinery rather than as assistance.
|
|
127
|
+
*/
|
|
128
|
+
export declare function SparklesIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
129
|
+
/** Two stacked sheets — the copy action, paired with CheckIcon once it has run. */
|
|
130
|
+
export declare function CopyIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
131
|
+
/** Two links of a chain, for a row that opens somewhere outside the app. */
|
|
132
|
+
export declare function LinkIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
133
|
+
/** A list with its items ticked off — a plan, or a run of steps. */
|
|
134
|
+
export declare function ListChecksIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
135
|
+
/** A hollow ring, for a step that has not started. */
|
|
136
|
+
export declare function CircleIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
120
137
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons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,EAAE,EAAE,SAAS,+BAmBvE;AAED,sDAAsD;AACtD,wBAAgB,UAAU,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAOnE"}
|
|
@@ -3,6 +3,7 @@ export { useTheme, useThemeMode, PANEL_THEMES, PANEL_THEME_NAMES, PANEL_EXTRA_TH
|
|
|
3
3
|
export { Portal, PortalHost, PortalProvider } from './primitives/portal.js';
|
|
4
4
|
export { Scrim, hasBlur, type ScrimProps } from './primitives/scrim.js';
|
|
5
5
|
export { Text, type TextProps } from './primitives/text.js';
|
|
6
|
+
export { Collapse, type CollapseProps } from './primitives/collapse.js';
|
|
6
7
|
export { KeyboardAvoider, type KeyboardAvoiderProps, } from './primitives/keyboard-avoider.js';
|
|
7
8
|
export { AnimatedPressable, type AnimatedPressableProps, } from './primitives/animated-pressable.js';
|
|
8
9
|
export { ScrollProgress, useScrollProgress, type ScrollProgressProps, type ScrollProgressValue, } from './primitives/scroll-progress.js';
|
|
@@ -12,13 +13,14 @@ export { Accordion, type AccordionProps, type AccordionItemProps, type Accordion
|
|
|
12
13
|
export { Alert, type AlertProps, type AlertIndicatorProps, } from './components/alert/index.js';
|
|
13
14
|
export { Avatar, type AvatarProps, type AvatarBadgeProps, } from './components/avatar/index.js';
|
|
14
15
|
export { Attachment, type AttachmentProps, type AttachmentGroupProps, type AttachmentMediaProps, type AttachmentContentProps, type AttachmentTitleProps, type AttachmentDescriptionProps, type AttachmentActionsProps, type AttachmentActionProps, type AttachmentState, } from './components/attachment/index.js';
|
|
15
|
-
export { AreaChart, useAreaChart, type AreaChartProps, type AreaChartHandle, type AreaChartGridProps, type AreaChartAreaProps, type AreaChartXAxisProps, type AreaChartYAxisProps, type AreaChartTooltipProps, type AreaChartLegendProps, type AreaChartDatum, type AreaChartStatus, } from './components/area-chart/index.js';
|
|
16
|
+
export { AreaChart, useAreaChart, type AreaChartProps, type AreaChartHandle, type AreaChartGridProps, type AreaChartHeaderProps, type AreaChartAreaProps, type AreaChartXAxisProps, type AreaChartYAxisProps, type AreaChartTooltipProps, type AreaChartLegendProps, type AreaChartDatum, type AreaChartStatus, } from './components/area-chart/index.js';
|
|
16
17
|
export { Badge, type BadgeProps } from './components/badge/index.js';
|
|
17
|
-
export { BarChart, useBarChart, type BarChartProps, type BarChartHandle, type BarChartGridProps, type BarChartBarProps, type BarChartXAxisProps, type BarChartYAxisProps, type BarChartTooltipProps, type BarChartLegendProps, type BarChartDatum, type BarChartStatus, type BarChartOrientation, } from './components/bar-chart/index.js';
|
|
18
|
+
export { BarChart, useBarChart, type BarChartProps, type BarChartHandle, type BarChartHeaderProps, type BarChartGridProps, type BarChartBarProps, type BarChartXAxisProps, type BarChartYAxisProps, type BarChartTooltipProps, type BarChartLegendProps, type BarChartDatum, type BarChartStatus, type BarChartOrientation, } from './components/bar-chart/index.js';
|
|
18
19
|
export { BottomSheet, type BottomSheetProps, type BottomSheetContentProps, type BottomSheetHeaderProps, type BottomSheetBodyProps, type BottomSheetFooterProps, } from './components/bottom-sheet/index.js';
|
|
19
20
|
export { Breadcrumb, type BreadcrumbProps, type BreadcrumbListProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbPageProps, type BreadcrumbSeparatorProps, type BreadcrumbEllipsisProps, } from './components/breadcrumb/index.js';
|
|
20
21
|
export { Button, type ButtonProps } from './components/button/index.js';
|
|
21
22
|
export { ToggleButton, ToggleButtonGroup, useToggleButton, type ToggleButtonProps, type ToggleButtonGroupProps, type ToggleButtonLabelProps, type ToggleButtonSize, type ToggleButtonVariant, type ToggleSelectionMode, } from './components/toggle-button/index.js';
|
|
23
|
+
export { DatePicker, type DatePickerProps, type DatePickerMode, } from './components/date-picker/index.js';
|
|
22
24
|
export { Dialog, type DialogProps, type DialogContentProps, } from './components/dialog/index.js';
|
|
23
25
|
export { Soundwave, type SoundwaveProps, type SoundwaveState, type SoundwaveVariant, } from './components/soundwave/index.js';
|
|
24
26
|
export { Direction, useDirection, useDirectionSign, type DirectionProps, type DirectionValue, } from './components/direction/index.js';
|
|
@@ -29,6 +31,8 @@ export { Map, useMap, hasMapLibre, CARTO_SOURCE, type MapProps, type MapHandle,
|
|
|
29
31
|
export { Select, type SelectProps, type SelectItemProps, type SelectPresentation, } from './components/select/index.js';
|
|
30
32
|
export { SectionRail, type SectionRailProps, type SectionRailTriggerProps, type SectionRailBarProps, type SectionRailContentProps, type SectionRailItemProps, type SectionRailPlacement, type SectionRailAlign, } from './components/section-rail/index.js';
|
|
31
33
|
export { Tabs, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, } from './components/tabs/index.js';
|
|
34
|
+
export { Carousel, useCarouselState, type CarouselProps, type CarouselHandle, type CarouselContentProps, type CarouselItemProps, type CarouselCaptionProps, type CarouselDotsProps, type CarouselArrowProps, type CarouselControlsProps, type CarouselVariant, type CarouselOrientation, type CarouselAlign, } from './components/carousel/index.js';
|
|
35
|
+
export { Calendar, type CalendarProps, type CalendarHeaderProps, type CalendarNavProps, type CalendarMode, type CalendarCaptionLayout, type CalendarDisabled, type CalendarSelection, type DateRange, } from './components/calendar/index.js';
|
|
32
36
|
export { Card, type CardProps } from './components/card/index.js';
|
|
33
37
|
export { Checkbox, type CheckboxProps } from './components/checkbox/index.js';
|
|
34
38
|
export { Chip, useChip, type ChipProps, type ChipLabelProps, type ChipVariant, type ChipSize, } from './components/chip/index.js';
|
|
@@ -39,11 +43,13 @@ export { Input, type InputProps } from './components/input/index.js';
|
|
|
39
43
|
export { InputGroup, type InputGroupProps, type InputGroupInputProps, type InputGroupDecoratorProps, } from './components/input-group/index.js';
|
|
40
44
|
export { NumberInput, type NumberInputProps, } from './components/number-input/index.js';
|
|
41
45
|
export { OtpInput, type OtpInputProps } from './components/otp-input/index.js';
|
|
46
|
+
export { Textarea, type TextareaProps } from './components/textarea/index.js';
|
|
42
47
|
export { Item, type ItemProps, type ItemGroupProps, type ItemSeparatorProps, type ItemMediaProps, type ItemContentProps, type ItemTitleProps, type ItemDescriptionProps, type ItemActionsProps, type ItemHeaderProps, type ItemFooterProps, } from './components/item/index.js';
|
|
43
48
|
export { Label, type LabelProps, type LabelTextProps } from './components/label/index.js';
|
|
44
|
-
export { LineChart, useLineChart, type LineChartProps, type LineChartHandle, type LineChartGridProps, type LineChartLineProps, type LineChartAreaProps, type LineChartSkeletonProps, type LineChartXAxisProps, type LineChartTooltipProps, type LineChartLegendProps, type LineChartDatum, type LineChartStatus, type LineChartCurve, } from './components/line-chart/index.js';
|
|
49
|
+
export { LineChart, useLineChart, type LineChartProps, type LineChartHandle, type LineChartHeaderProps, type LineChartGridProps, type LineChartLineProps, type LineChartAreaProps, type LineChartSkeletonProps, type LineChartXAxisProps, type LineChartTooltipProps, type LineChartLegendProps, type LineChartDatum, type LineChartStatus, type LineChartCurve, } from './components/line-chart/index.js';
|
|
45
50
|
export { Loader, type LoaderProps, type LoaderVariant, type LoaderSize, } from './components/loader/index.js';
|
|
46
51
|
export { Marker, type MarkerProps, type MarkerIconProps, type MarkerContentProps, } from './components/marker/index.js';
|
|
52
|
+
export { Menu, type MenuProps, type MenuTriggerProps, type MenuContentProps, type MenuBackgroundProps, type MenuLabelProps, type MenuItemProps, type MenuCheckboxItemProps, type MenuRadioGroupProps, type MenuRadioItemProps, type MenuSeparatorProps, type MenuSubProps, type MenuSubTriggerProps, type MenuSubContentProps, type MenuItemVariant, type MenuRadioIndicator, } from './components/menu/index.js';
|
|
47
53
|
export { MessageScroller, useMessageScroller, useMessageScrollerVisibility, type MessageScrollerProps, type MessageScrollerViewportProps, type MessageScrollerContentProps, type MessageScrollerItemProps, type MessageScrollerButtonProps, type MessageScrollerPosition, } from './components/message-scroller/index.js';
|
|
48
54
|
export { Message, type MessageProps, type MessageGroupProps, type MessageAvatarProps, type MessageContentProps, type MessageHeaderProps, type MessageBubbleProps, type MessageBubbleContentProps, type MessageFooterProps, type MessageActionsProps, } from './components/message/index.js';
|
|
49
55
|
export { Popover, type PopoverProps, type PopoverTriggerProps, type PopoverContentProps, type PopoverArrowProps, type PopoverCloseProps, type PopoverPlacement, type PopoverAlign, type PopoverPresentation, } from './components/popover/index.js';
|
|
@@ -55,6 +61,11 @@ export { ScrollFade, type ScrollFadeProps, } from './components/scroll-fade/inde
|
|
|
55
61
|
export { Separator, type SeparatorProps } from './components/separator/index.js';
|
|
56
62
|
export { Signature, hasSignatureFileSystem, hasSignatureRaster, type SignatureProps, type SignatureHandle, type SignatureFile, type SignatureSaveOptions, type SignatureToolbarProps, type SignatureButtonProps, } from './components/signature/index.js';
|
|
57
63
|
export { Shimmer, type ShimmerProps } from './components/shimmer/index.js';
|
|
64
|
+
export { Reasoning, type ReasoningProps, type ReasoningTriggerProps, type ReasoningContentProps, } from './components/reasoning/index.js';
|
|
65
|
+
export { Sources, type SourcesProps, type SourcesTriggerProps, type SourcesContentProps, type SourcesSourceProps, } from './components/sources/index.js';
|
|
66
|
+
export { Task, type TaskProps, type TaskTriggerProps, type TaskContentProps, type TaskItemProps, type TaskFileProps, type TaskStatus, } from './components/task/index.js';
|
|
67
|
+
export { CodeBlock, resolveLanguage, type CodeBlockProps, type CodeBlockHeaderProps, type CodeBlockFilenameProps, type CodeBlockLanguageProps, type CodeBlockActionsProps, type CodeBlockCopyButtonProps, type CodeLanguage, type Token, type TokenKind, } from './components/code-block/index.js';
|
|
68
|
+
export { Plan, type PlanProps, type PlanHeaderProps, type PlanTitleProps, type PlanDescriptionProps, type PlanActionProps, type PlanTriggerProps, type PlanContentProps, type PlanFooterProps, } from './components/plan/index.js';
|
|
58
69
|
export { ScrollText, type ScrollTextProps, type ScrollTextEffect, type ScrollTextSplit, } from './components/scroll-text/index.js';
|
|
59
70
|
export { ScrollCanvas, type ScrollCanvasProps, type ScrollCanvasEffect, } from './components/scroll-canvas/index.js';
|
|
60
71
|
export { ThinkingOrb, type ThinkingOrbProps, type ThinkingOrbState, } from './components/thinking-orb/index.js';
|
|
@@ -66,8 +77,9 @@ export { Surface, type SurfaceProps } from './components/surface/index.js';
|
|
|
66
77
|
export { Switch, type SwitchProps } from './components/switch/index.js';
|
|
67
78
|
export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineIndicatorProps, type TimelineStatProps, type TimelineVariant, type TimelineTone, } from './components/timeline/index.js';
|
|
68
79
|
export { Toast, ToastViewport, toast, useToast, type ToastProps, type ToastOptions, type ToastItem, type ToastVariant, type ToastPlacement, type ToastHandle, type ToastIndicatorProps, type ToastCloseProps, } from './components/toast/index.js';
|
|
80
|
+
export { Tooltip, type TooltipProps, type TooltipTriggerProps, type TooltipContentProps, type TooltipArrowProps, type TooltipTitleProps, type TooltipDescriptionProps, type TooltipPlacement, type TooltipAlign, type TooltipOpenOn, type TooltipVariant, } from './components/tooltip/index.js';
|
|
69
81
|
export { Typography, type TypographyProps, type TypographyType, type TypographyHeadingProps, type TypographyParagraphProps, type TypographyCodeProps, } from './components/typography/index.js';
|
|
70
|
-
export { AlertTriangleIcon, AppleIcon, ArrowUpRightIcon, BellIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, DownloadIcon, EllipsisIcon, FacebookIcon, FileIcon, GoogleIcon, IconColorProvider, InfoIcon, ImageIcon, LockIcon, MaximizeIcon, MicIcon, MinusIcon, MoonIcon, PackageIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, PlusSquareIcon, ReceiptIcon, RotateCcwIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SunIcon, TrashIcon, UnlockIcon, XIcon, useIconColor, type IconProps, } from './icons/index.js';
|
|
82
|
+
export { AlertTriangleIcon, AppleIcon, ArrowUpRightIcon, BellIcon, BookmarkIcon, CalendarIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, DownloadIcon, EllipsisIcon, FacebookIcon, FileIcon, GoogleIcon, IconColorProvider, InfoIcon, ImageIcon, LockIcon, MaximizeIcon, MicIcon, MinusIcon, MoonIcon, PackageIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, PlusSquareIcon, ReceiptIcon, RotateCcwIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SunIcon, TrashIcon, UnlockIcon, XIcon, useIconColor, type IconProps, } from './icons/index.js';
|
|
71
83
|
export * from './hooks/index.js';
|
|
72
84
|
export { cn } from './utils/cn.js';
|
|
73
85
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,kCAA+B,CAAC;AAG3F,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,gBAAgB,GACtB,MAAM,sBAAmB,CAAC;AAG3B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,wBAAqB,CAAC;AAIzE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,uBAAoB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAmB,CAAC;AACzD,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,kCAA+B,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,oCAAiC,CAAC;AACzC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,iCAA8B,CAAC;AAGtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAU,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,oBAA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EACV,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,GACzB,MAAM,kCAAyB,CAAC;AAGjC,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,SAAS,EACT,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,SAAS,EACT,QAAQ,EACR,WAAW,EACX,aAAa,EACb,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,WAAW,EACX,aAAa,EACb,UAAU,EACV,QAAQ,EACR,cAAc,EACd,eAAe,EACf,eAAe,EACf,OAAO,EACP,SAAS,EACT,UAAU,EACV,KAAK,EACL,YAAY,EACZ,KAAK,SAAS,GACf,MAAM,kBAAS,CAAC;AAGjB,cAAc,kBAAS,CAAC;AAGxB,OAAO,EAAE,EAAE,EAAE,MAAM,eAAY,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Collapse — a body that opens and closes by animating its own height.
|
|
3
|
+
*
|
|
4
|
+
* Height cannot be animated from `auto`, so the content is measured first and
|
|
5
|
+
* the measurement is what gets animated to. While that is happening the content
|
|
6
|
+
* is taken out of the flow, because a child of a view whose height is
|
|
7
|
+
* mid-animation reports that animated height back and the panel then settles on
|
|
8
|
+
* whatever it happened to measure.
|
|
9
|
+
*
|
|
10
|
+
* The moment the animation finishes, both go away and the content lays out
|
|
11
|
+
* normally again. That is what lets a Collapse hold another Collapse — or hold
|
|
12
|
+
* content that is still streaming in — without either of them being clipped to
|
|
13
|
+
* a number that was true a frame ago.
|
|
14
|
+
*
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Collapse open={open}>
|
|
17
|
+
* <Text>Anything, of any height.</Text>
|
|
18
|
+
* </Collapse>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* The alternative — unmounting the body and letting a layout transition on the
|
|
22
|
+
* parent carry the change — is what `Accordion` does, and it is right when the
|
|
23
|
+
* closed state should cost nothing. This is for a body that opens and closes
|
|
24
|
+
* repeatedly and often while its content is still arriving, where remounting
|
|
25
|
+
* would throw away scroll position and restart every animation inside it.
|
|
26
|
+
*/
|
|
27
|
+
import { type ReactNode } from 'react';
|
|
28
|
+
import { type ViewProps } from 'react-native';
|
|
29
|
+
/** Long enough to read as the panel opening, short enough not to be waited on. */
|
|
30
|
+
export declare const COLLAPSE_DURATION = 200;
|
|
31
|
+
export interface CollapseProps extends Omit<ViewProps, 'children'> {
|
|
32
|
+
open: boolean;
|
|
33
|
+
/** Classes on the measured content, not on the clipping frame. */
|
|
34
|
+
className?: string;
|
|
35
|
+
duration?: number;
|
|
36
|
+
children?: ReactNode;
|
|
37
|
+
}
|
|
38
|
+
export declare function Collapse({ open, className, duration, children, ...props }: CollapseProps): import("react").JSX.Element;
|
|
39
|
+
export declare namespace Collapse {
|
|
40
|
+
var displayName: string;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=collapse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapse.d.ts","sourceRoot":"","sources":["../../../../src/primitives/collapse.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAU5E,kFAAkF;AAClF,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAErC,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,IAAI,EAAE,OAAO,CAAC;IACd,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,SAAS,EACT,QAA4B,EAC5B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,aAAa,+BAwEf;yBA9Ee,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-avoider.d.ts","sourceRoot":"","sources":["../../../../src/primitives/keyboard-avoider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"keyboard-avoider.d.ts","sourceRoot":"","sources":["../../../../src/primitives/keyboard-avoider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oCAAiC,CAAC;AAGzC,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,OAAc,EACd,MAAa,EACb,IAAa,EACb,MAAW,EACX,WAAe,EACf,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,+BAuBtB;yBAlCe,eAAe"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
1
2
|
import { Text as RNText, type TextProps as RNTextProps } from 'react-native';
|
|
2
3
|
import { type VariantProps } from 'tailwind-variants';
|
|
3
4
|
declare const textVariants: import("tailwind-variants").TVReturnType<{
|
|
@@ -62,5 +63,24 @@ export interface TextProps extends RNTextProps, VariantProps<typeof textVariants
|
|
|
62
63
|
className?: string;
|
|
63
64
|
}
|
|
64
65
|
export declare const Text: import("react").ForwardRefExoticComponent<TextProps & import("react").RefAttributes<RNText>>;
|
|
66
|
+
/**
|
|
67
|
+
* Wraps the bare text among `children` so it can live in a plain view.
|
|
68
|
+
*
|
|
69
|
+
* React Native will not render a string outside a `<Text>`, and a component
|
|
70
|
+
* that takes `children` has no say in whether it is handed one — so anything
|
|
71
|
+
* putting `children` into a `View`, a `Pressable` or a scroller has to allow
|
|
72
|
+
* for it. Every part in the library that does runs its children through here.
|
|
73
|
+
*
|
|
74
|
+
* Per child, and not all-or-nothing. A part is nearly always given an element
|
|
75
|
+
* and some text together — an icon and a label, an arrow and a line of text —
|
|
76
|
+
* which makes `children` an *array*, so a `typeof children === 'string'` check
|
|
77
|
+
* never matches and the text underneath reaches the view bare. That is the
|
|
78
|
+
* shape this exists to make impossible.
|
|
79
|
+
*
|
|
80
|
+
* `render` is there because the wrapper is rarely the plain default: a button
|
|
81
|
+
* wants its own label variant, a sheet header wants a heading. Pass one, and
|
|
82
|
+
* the text arrives dressed the way the part would have dressed it anyway.
|
|
83
|
+
*/
|
|
84
|
+
export declare function textChildren(children: ReactNode, render?: (text: string | number) => ReactElement): ReactNode;
|
|
65
85
|
export {};
|
|
66
86
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/primitives/text.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/primitives/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAChF,OAAO,EAAE,IAAI,IAAI,MAAM,EAA2B,KAAK,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AACtG,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG1D,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DA0BhB,CAAC;AAEH,MAAM,WAAW,SAAU,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,IAAI,8FAyBhB,CAAC;AAIF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,SAAS,EACnB,MAAM,GAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,KAAK,YAA4C,GAC9E,SAAS,CAIX"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Date helpers for the calendar.
|
|
3
|
+
*
|
|
4
|
+
* No date library. Everything a month grid needs is arithmetic on `Date`, and
|
|
5
|
+
* a dependency that ships a full timezone database to render seven columns is
|
|
6
|
+
* a poor trade for a library whose whole runtime is three small packages.
|
|
7
|
+
*
|
|
8
|
+
* Two rules hold throughout:
|
|
9
|
+
*
|
|
10
|
+
* - **Days are compared at local midnight.** A `Date` carries a time, and two
|
|
11
|
+
* values on the same day are not equal unless that time is stripped. Every
|
|
12
|
+
* comparison here goes through `startOfDay`.
|
|
13
|
+
* - **Month arithmetic is done with `setMonth`, not by adding days.** The
|
|
14
|
+
* platform already knows that a month is 28, 29, 30 or 31 days long.
|
|
15
|
+
*/
|
|
16
|
+
/** Names of the weekdays and months, in the caller's locale. */
|
|
17
|
+
export type DateLocale = string | undefined;
|
|
18
|
+
export declare function startOfDay(date: Date): Date;
|
|
19
|
+
export declare function isSameDay(a: Date | null | undefined, b: Date | null | undefined): boolean;
|
|
20
|
+
export declare function isSameMonth(a: Date, b: Date): boolean;
|
|
21
|
+
export declare function startOfMonth(date: Date): Date;
|
|
22
|
+
/**
|
|
23
|
+
* Day 0 of the *next* month, which the platform resolves to the last day of
|
|
24
|
+
* this one — so a leap February needs no special case.
|
|
25
|
+
*/
|
|
26
|
+
export declare function endOfMonth(date: Date): Date;
|
|
27
|
+
export declare function addMonths(date: Date, months: number): Date;
|
|
28
|
+
export declare function addDays(date: Date, days: number): Date;
|
|
29
|
+
/** Whole days from `a` to `b`, ignoring the time of day on both. */
|
|
30
|
+
export declare function daysBetween(a: Date, b: Date): number;
|
|
31
|
+
export declare function isBefore(a: Date, b: Date): boolean;
|
|
32
|
+
export declare function isAfter(a: Date, b: Date): boolean;
|
|
33
|
+
/** Inclusive at both ends, which is what a selected range means to a reader. */
|
|
34
|
+
export declare function isWithin(date: Date, from: Date, to: Date): boolean;
|
|
35
|
+
export declare function clampDate(date: Date, min?: Date, max?: Date): Date;
|
|
36
|
+
/**
|
|
37
|
+
* The six-week grid for a month.
|
|
38
|
+
*
|
|
39
|
+
* Always six rows, and always starting on the chosen first day of the week, so
|
|
40
|
+
* the calendar does not change height as the months are paged through. A grid
|
|
41
|
+
* that grows a row in March and loses it again in April makes everything below
|
|
42
|
+
* it jump, and the days themselves appear to move between months.
|
|
43
|
+
*
|
|
44
|
+
* The leading and trailing cells belong to the neighbouring months; whether
|
|
45
|
+
* they are drawn or left blank is the caller's decision.
|
|
46
|
+
*/
|
|
47
|
+
export declare function monthGrid(month: Date, weekStartsOn: number): Date[][];
|
|
48
|
+
/**
|
|
49
|
+
* Which calendar the months and day numbers are counted in.
|
|
50
|
+
*
|
|
51
|
+
* `auto` takes whatever the locale resolves to, which on an Arabic device is
|
|
52
|
+
* usually islamic. It is not the default: a grid whose month boundaries move
|
|
53
|
+
* with the device's language is a surprise, and the caller who wants that can
|
|
54
|
+
* ask for it.
|
|
55
|
+
*/
|
|
56
|
+
export type CalendarSystem = 'gregory' | 'islamic' | 'auto';
|
|
57
|
+
/** Year, month and day as the chosen calendar counts them. 1-based month. */
|
|
58
|
+
export interface CalendarParts {
|
|
59
|
+
year: number;
|
|
60
|
+
month: number;
|
|
61
|
+
day: number;
|
|
62
|
+
}
|
|
63
|
+
/** What `auto` resolves to for a locale, falling back to the Gregorian. */
|
|
64
|
+
export declare function resolveCalendar(system: CalendarSystem, locale: DateLocale): 'gregory' | 'islamic';
|
|
65
|
+
/**
|
|
66
|
+
* A date's year, month and day in the given calendar.
|
|
67
|
+
*
|
|
68
|
+
* `formatToParts` rather than a parsed string, because the order and the
|
|
69
|
+
* separators are the locale's business and we only want the numbers. The
|
|
70
|
+
* numbering system is pinned to Latin so the parts come back parseable
|
|
71
|
+
* whatever language is on the device, and so the cells and the caption above
|
|
72
|
+
* them end up in one set of digits.
|
|
73
|
+
*/
|
|
74
|
+
export declare function calendarParts(date: Date, system: 'gregory' | 'islamic', locale: DateLocale): CalendarParts;
|
|
75
|
+
export declare function isSameCalendarMonth(a: Date, b: Date, system: 'gregory' | 'islamic', locale: DateLocale): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* The first day of the calendar month `date` falls in.
|
|
78
|
+
*
|
|
79
|
+
* Walked back a day at a time rather than computed. A Hijri month is 29 or 30
|
|
80
|
+
* days depending on the year, and the platform's own calendar data already
|
|
81
|
+
* knows which — stepping until the day number reads 1 asks it, instead of
|
|
82
|
+
* shipping a table that will disagree with the device.
|
|
83
|
+
*/
|
|
84
|
+
export declare function startOfCalendarMonth(date: Date, system: 'gregory' | 'islamic', locale: DateLocale): Date;
|
|
85
|
+
/** Days in the calendar month `date` falls in. */
|
|
86
|
+
export declare function daysInCalendarMonth(date: Date, system: 'gregory' | 'islamic', locale: DateLocale): number;
|
|
87
|
+
/** Page by whole calendar months, forwards or back. */
|
|
88
|
+
export declare function addCalendarMonths(date: Date, months: number, system: 'gregory' | 'islamic', locale: DateLocale): Date;
|
|
89
|
+
/** The day-of-month a cell shows. */
|
|
90
|
+
export declare function calendarDayNumber(date: Date, system: 'gregory' | 'islamic', locale: DateLocale): number;
|
|
91
|
+
/** "Ramadan 1447" or "March 2026", in whichever calendar is in force. */
|
|
92
|
+
export declare function calendarMonthLabel(date: Date, system: 'gregory' | 'islamic', locale: DateLocale): string;
|
|
93
|
+
/**
|
|
94
|
+
* The names of a calendar's months, in order, for the dropdown.
|
|
95
|
+
*
|
|
96
|
+
* Sampled from a real year in that calendar rather than from twelve Gregorian
|
|
97
|
+
* firsts — the old code did the latter and got twelve arbitrary Hijri names in
|
|
98
|
+
* whatever order the Gregorian 1sts happened to fall, then indexed them by
|
|
99
|
+
* Gregorian month, which meant nothing at all.
|
|
100
|
+
*/
|
|
101
|
+
export declare function calendarMonthNames(reference: Date, system: 'gregory' | 'islamic', locale: DateLocale, style?: 'long' | 'short'): string[];
|
|
102
|
+
/** The whole date read out, in whichever calendar is in force. */
|
|
103
|
+
export declare function calendarLongDate(date: Date, system: 'gregory' | 'islamic', locale: DateLocale): string;
|
|
104
|
+
/** The compact form a trigger shows, in whichever calendar is in force. */
|
|
105
|
+
export declare function calendarShortDate(date: Date, system: 'gregory' | 'islamic', locale: DateLocale): string;
|
|
106
|
+
/** Month names in order, for the caption and its dropdown. */
|
|
107
|
+
export declare function monthNames(locale: DateLocale, style?: 'long' | 'short'): string[];
|
|
108
|
+
/** Column headings, rotated so the first one is `weekStartsOn`. */
|
|
109
|
+
export declare function weekdayNames(locale: DateLocale, weekStartsOn: number): string[];
|
|
110
|
+
/** "March 2026", for the caption. */
|
|
111
|
+
export declare function monthLabel(date: Date, locale: DateLocale): string;
|
|
112
|
+
/** "12 March 2026" — the whole date, for a screen reader to read out. */
|
|
113
|
+
export declare function longDate(date: Date, locale: DateLocale): string;
|
|
114
|
+
/** "12 Mar 2026" — the compact form a trigger shows. */
|
|
115
|
+
export declare function shortDate(date: Date, locale: DateLocale): string;
|
|
116
|
+
//# sourceMappingURL=date.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../src/utils/date.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,gEAAgE;AAChE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;AAE5C,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAI3C;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAOzF;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,GAAG,OAAO,CAErD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAE7C;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAE3C;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAI1D;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAItD;AAED,oEAAoE;AACpE,wBAAgB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,GAAG,MAAM,CAGpD;AAED,wBAAgB,QAAQ,CAAC,CA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,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAO/E;AAED,qCAAqC;AACrC,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,CAKjE;AAED,yEAAyE;AACzE,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,CAK/D;AAED,wDAAwD;AACxD,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,CAKhE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "panelui-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "High-performance React Native UI components for Expo. Semantic design tokens, powered by Uniwind (Tailwind v4) and Reanimated.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|
|
@@ -30,7 +30,7 @@ import Animated, {
|
|
|
30
30
|
} from 'react-native-reanimated';
|
|
31
31
|
import { tv } from 'tailwind-variants';
|
|
32
32
|
import { ChevronDownIcon } from '../../icons';
|
|
33
|
-
import { Text, type TextProps } from '../../primitives/text';
|
|
33
|
+
import { Text, type TextProps, textChildren } from '../../primitives/text';
|
|
34
34
|
|
|
35
35
|
export type AccordionVariant =
|
|
36
36
|
| 'default'
|
|
@@ -226,7 +226,7 @@ const AccordionItem = forwardRef<View, AccordionItemProps>(
|
|
|
226
226
|
className={item({ className })}
|
|
227
227
|
{...props}
|
|
228
228
|
>
|
|
229
|
-
{children}
|
|
229
|
+
{textChildren(children)}
|
|
230
230
|
</Animated.View>
|
|
231
231
|
</AccordionItemContext.Provider>
|
|
232
232
|
);
|
|
@@ -256,11 +256,9 @@ const AccordionTrigger = forwardRef<View, AccordionTriggerProps>(
|
|
|
256
256
|
className={trigger({ className })}
|
|
257
257
|
{...props}
|
|
258
258
|
>
|
|
259
|
-
{
|
|
260
|
-
<Text className={title()}>{
|
|
261
|
-
)
|
|
262
|
-
children
|
|
263
|
-
)}
|
|
259
|
+
{textChildren(children, (text) => (
|
|
260
|
+
<Text className={title()}>{text}</Text>
|
|
261
|
+
))}
|
|
264
262
|
</Pressable>
|
|
265
263
|
);
|
|
266
264
|
}
|
|
@@ -319,11 +317,9 @@ const AccordionContent = forwardRef<View, AccordionContentProps>(
|
|
|
319
317
|
|
|
320
318
|
return (
|
|
321
319
|
<View ref={ref} className={content({ className })} {...props}>
|
|
322
|
-
{
|
|
323
|
-
<Text className={contentText()}>{
|
|
324
|
-
)
|
|
325
|
-
children
|
|
326
|
-
)}
|
|
320
|
+
{textChildren(children, (text) => (
|
|
321
|
+
<Text className={contentText()}>{text}</Text>
|
|
322
|
+
))}
|
|
327
323
|
</View>
|
|
328
324
|
);
|
|
329
325
|
}
|
|
@@ -10,7 +10,7 @@ import { View, type Text as RNText, type ViewProps } from 'react-native';
|
|
|
10
10
|
import { tv, type VariantProps } from 'tailwind-variants';
|
|
11
11
|
import { useCSSVariable } from 'uniwind';
|
|
12
12
|
import { cn } from '../../utils/cn';
|
|
13
|
-
import { Text, type TextProps } from '../../primitives/text';
|
|
13
|
+
import { Text, type TextProps, textChildren } from '../../primitives/text';
|
|
14
14
|
import { AlertTriangleIcon, CheckCircleIcon, InfoIcon } from '../../icons';
|
|
15
15
|
|
|
16
16
|
const alertVariants = tv({
|
|
@@ -98,7 +98,7 @@ const AlertRoot = forwardRef<View, AlertProps>(
|
|
|
98
98
|
{icon ? (
|
|
99
99
|
<>
|
|
100
100
|
<View className={indicator()}>{icon}</View>
|
|
101
|
-
<View className={content()}>{children}</View>
|
|
101
|
+
<View className={content()}>{textChildren(children)}</View>
|
|
102
102
|
</>
|
|
103
103
|
) : (
|
|
104
104
|
children
|