@marktiderman/genesis-ui 1.3.0 → 2.0.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/AppShell-BJarYZzz.d.ts +198 -0
- package/dist/{chunk-NJMO3VPA.js → chunk-22XB3Q6H.js} +8 -8
- package/dist/chunk-22XB3Q6H.js.map +1 -0
- package/dist/{chunk-2MXMWBDV.js → chunk-27ELYTGE.js} +6 -6
- package/dist/chunk-27ELYTGE.js.map +1 -0
- package/dist/chunk-46TZGMFW.js +159 -0
- package/dist/chunk-46TZGMFW.js.map +1 -0
- package/dist/chunk-4CQHPWJD.js +117 -0
- package/dist/chunk-4CQHPWJD.js.map +1 -0
- package/dist/{chunk-ZDAT5JDH.js → chunk-65SPT7EA.js} +24 -6
- package/dist/chunk-65SPT7EA.js.map +1 -0
- package/dist/chunk-6KHY647C.js +67 -0
- package/dist/chunk-6KHY647C.js.map +1 -0
- package/dist/chunk-6M4NHHKG.js +51 -0
- package/dist/chunk-6M4NHHKG.js.map +1 -0
- package/dist/chunk-6Q6CLLJ4.js +9 -0
- package/dist/chunk-6Q6CLLJ4.js.map +1 -0
- package/dist/{chunk-UGHQFQOE.js → chunk-6TVMQH6M.js} +28 -28
- package/dist/chunk-6TVMQH6M.js.map +1 -0
- package/dist/{chunk-6VVVGYKS.js → chunk-6XPMU65K.js} +5 -5
- package/dist/{chunk-6VVVGYKS.js.map → chunk-6XPMU65K.js.map} +1 -1
- package/dist/{chunk-YZEA5TGK.js → chunk-7XMZVISM.js} +16 -16
- package/dist/chunk-7XMZVISM.js.map +1 -0
- package/dist/chunk-A7AHVDG7.js +52 -0
- package/dist/chunk-A7AHVDG7.js.map +1 -0
- package/dist/chunk-AFZ76Q26.js +84 -0
- package/dist/chunk-AFZ76Q26.js.map +1 -0
- package/dist/{chunk-4V4H2ZM7.js → chunk-AL5TMEZQ.js} +31 -31
- package/dist/chunk-AL5TMEZQ.js.map +1 -0
- package/dist/{chunk-AUECDWP2.js → chunk-AOZGQM6W.js} +3 -3
- package/dist/chunk-AOZGQM6W.js.map +1 -0
- package/dist/chunk-ARJI2JUV.js +122 -0
- package/dist/chunk-ARJI2JUV.js.map +1 -0
- package/dist/chunk-AVFZ4P4B.js +25 -0
- package/dist/chunk-AVFZ4P4B.js.map +1 -0
- package/dist/chunk-B2GIBUQD.js +11 -0
- package/dist/chunk-B2GIBUQD.js.map +1 -0
- package/dist/{chunk-JXI2MYL3.js → chunk-C46ITXE4.js} +5 -5
- package/dist/chunk-C46ITXE4.js.map +1 -0
- package/dist/{chunk-A2OXCNNY.js → chunk-CNTWQSUT.js} +3 -3
- package/dist/{chunk-A2OXCNNY.js.map → chunk-CNTWQSUT.js.map} +1 -1
- package/dist/chunk-D2LIXA2Y.js +65 -0
- package/dist/chunk-D2LIXA2Y.js.map +1 -0
- package/dist/{chunk-T5VX5DYO.js → chunk-F47U5KNW.js} +5 -5
- package/dist/chunk-F47U5KNW.js.map +1 -0
- package/dist/chunk-FEJAZFP3.js +1100 -0
- package/dist/chunk-FEJAZFP3.js.map +1 -0
- package/dist/{chunk-2B3MFHBQ.js → chunk-FK42ZGGV.js} +21 -21
- package/dist/chunk-FK42ZGGV.js.map +1 -0
- package/dist/{chunk-XISSLIMH.js → chunk-FTTNGGLA.js} +2 -2
- package/dist/{chunk-XISSLIMH.js.map → chunk-FTTNGGLA.js.map} +1 -1
- package/dist/chunk-G5YKBPBF.js +74 -0
- package/dist/chunk-G5YKBPBF.js.map +1 -0
- package/dist/{chunk-KB5T5LWM.js → chunk-IJCT5IJD.js} +3 -3
- package/dist/{chunk-KB5T5LWM.js.map → chunk-IJCT5IJD.js.map} +1 -1
- package/dist/{chunk-44TULYGG.js → chunk-J6FBA7PH.js} +3 -3
- package/dist/{chunk-44TULYGG.js.map → chunk-J6FBA7PH.js.map} +1 -1
- package/dist/chunk-JAMLFMDS.js +12 -0
- package/dist/chunk-JAMLFMDS.js.map +1 -0
- package/dist/{chunk-C6H7AMO4.js → chunk-LNFF2RBD.js} +9 -9
- package/dist/chunk-LNFF2RBD.js.map +1 -0
- package/dist/{chunk-QBZMY2AF.js → chunk-M62CHO3N.js} +18 -18
- package/dist/chunk-M62CHO3N.js.map +1 -0
- package/dist/{chunk-5Q4FABZQ.js → chunk-NUXW6NPP.js} +8 -8
- package/dist/chunk-NUXW6NPP.js.map +1 -0
- package/dist/{chunk-ZJFSZFPI.js → chunk-NWSCYLPT.js} +77 -18
- package/dist/chunk-NWSCYLPT.js.map +1 -0
- package/dist/{chunk-63FW5ZUA.js → chunk-P3ZL6FGR.js} +7 -7
- package/dist/chunk-P3ZL6FGR.js.map +1 -0
- package/dist/chunk-P64MFQXZ.js +191 -0
- package/dist/chunk-P64MFQXZ.js.map +1 -0
- package/dist/chunk-PLIYF6KI.js +52 -0
- package/dist/chunk-PLIYF6KI.js.map +1 -0
- package/dist/chunk-PSR47JRA.js +26 -0
- package/dist/chunk-PSR47JRA.js.map +1 -0
- package/dist/{chunk-QLCDAFS7.js → chunk-Q4I4SFBD.js} +3 -3
- package/dist/chunk-Q4I4SFBD.js.map +1 -0
- package/dist/{chunk-SBJV3K4G.js → chunk-QJ6P2DW6.js} +28 -28
- package/dist/chunk-QJ6P2DW6.js.map +1 -0
- package/dist/{chunk-IP6TMT3D.js → chunk-R7QFP6EL.js} +3 -3
- package/dist/chunk-R7QFP6EL.js.map +1 -0
- package/dist/{chunk-WZWR2ELB.js → chunk-SEBU6JCK.js} +6 -6
- package/dist/chunk-SEBU6JCK.js.map +1 -0
- package/dist/{chunk-7OBL3H5P.js → chunk-SEFK4NZV.js} +3 -3
- package/dist/chunk-SEFK4NZV.js.map +1 -0
- package/dist/chunk-SRIT4NFQ.js +67 -0
- package/dist/chunk-SRIT4NFQ.js.map +1 -0
- package/dist/chunk-SY62XJFA.js +19 -0
- package/dist/chunk-SY62XJFA.js.map +1 -0
- package/dist/{chunk-SVXDWPLO.js → chunk-THD3YOOZ.js} +17 -17
- package/dist/chunk-THD3YOOZ.js.map +1 -0
- package/dist/chunk-VXFYETRK.js +58 -0
- package/dist/chunk-VXFYETRK.js.map +1 -0
- package/dist/chunk-XBX6QMR5.js +58 -0
- package/dist/chunk-XBX6QMR5.js.map +1 -0
- package/dist/{chunk-SCUT2ZCD.js → chunk-XCGZPFT7.js} +17 -17
- package/dist/chunk-XCGZPFT7.js.map +1 -0
- package/dist/chunk-XMK3T4TA.js +73 -0
- package/dist/chunk-XMK3T4TA.js.map +1 -0
- package/dist/chunk-YJ6MPS6U.js +226 -0
- package/dist/chunk-YJ6MPS6U.js.map +1 -0
- package/dist/chunk-YRYQXU3G.js +38 -0
- package/dist/chunk-YRYQXU3G.js.map +1 -0
- package/dist/{chunk-5J7BP5DI.js → chunk-YWFPMND7.js} +10 -10
- package/dist/chunk-YWFPMND7.js.map +1 -0
- package/dist/chunk-YYEGAFUE.js +94 -0
- package/dist/chunk-YYEGAFUE.js.map +1 -0
- package/dist/{chunk-TKA4LOMT.js → chunk-ZZ7H7VVX.js} +8 -8
- package/dist/chunk-ZZ7H7VVX.js.map +1 -0
- package/dist/components/data/index.d.ts +194 -211
- package/dist/components/data/index.js +362 -1381
- package/dist/components/data/index.js.map +1 -1
- package/dist/components/layout/dashboard-page.d.ts +4 -0
- package/dist/components/layout/dashboard-page.js +5 -0
- package/dist/components/layout/dashboard-page.js.map +1 -0
- package/dist/components/layout/detail-page.d.ts +91 -0
- package/dist/components/layout/detail-page.js +6 -0
- package/dist/components/layout/detail-page.js.map +1 -0
- package/dist/components/layout/form-page.d.ts +82 -0
- package/dist/components/layout/form-page.js +5 -0
- package/dist/components/layout/form-page.js.map +1 -0
- package/dist/components/layout/index.d.ts +15 -0
- package/dist/components/layout/index.js +21 -0
- package/dist/components/layout/index.js.map +1 -0
- package/dist/components/layout/settings-page.d.ts +114 -0
- package/dist/components/layout/settings-page.js +6 -0
- package/dist/components/layout/settings-page.js.map +1 -0
- package/dist/components/patterns/empty-state.d.ts +74 -0
- package/dist/components/{ui → patterns}/empty-state.js +2 -1
- package/dist/components/{ui → patterns}/form-field.d.ts +2 -2
- package/dist/components/{ui → patterns}/form-field.js +2 -2
- package/dist/components/patterns/index.d.ts +18 -0
- package/dist/components/patterns/index.js +18 -0
- package/dist/components/patterns/index.js.map +1 -0
- package/dist/components/patterns/page-loading.d.ts +25 -0
- package/dist/components/patterns/page-loading.js +5 -0
- package/dist/components/patterns/page-loading.js.map +1 -0
- package/dist/components/patterns/settings-row.d.ts +42 -0
- package/dist/components/patterns/settings-row.js +6 -0
- package/dist/components/patterns/settings-row.js.map +1 -0
- package/dist/components/patterns/status-badge.d.ts +38 -0
- package/dist/components/patterns/status-badge.js +4 -0
- package/dist/components/patterns/status-badge.js.map +1 -0
- package/dist/components/patterns/toggle-row.d.ts +36 -0
- package/dist/components/patterns/toggle-row.js +8 -0
- package/dist/components/patterns/toggle-row.js.map +1 -0
- package/dist/components/patterns/user-avatar.d.ts +34 -0
- package/dist/components/patterns/user-avatar.js +5 -0
- package/dist/components/patterns/user-avatar.js.map +1 -0
- package/dist/components/ui/accessible-icon.d.ts +48 -0
- package/dist/components/ui/accessible-icon.js +3 -0
- package/dist/components/ui/accessible-icon.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +5 -5
- package/dist/components/ui/accordion.js +1 -1
- package/dist/components/ui/alert-dialog.d.ts +10 -10
- package/dist/components/ui/alert-dialog.js +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +2 -2
- package/dist/components/ui/aspect-ratio.js +1 -1
- package/dist/components/ui/avatar.d.ts +4 -4
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/button.d.ts +73 -8
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/calendar.js +2 -2
- package/dist/components/ui/carousel.d.ts +4 -3
- package/dist/components/ui/carousel.js +2 -2
- package/dist/components/ui/checkbox.d.ts +2 -2
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/collapsible.d.ts +4 -4
- package/dist/components/ui/collapsible.js +1 -1
- package/dist/components/ui/command-palette.js +3 -3
- package/dist/components/ui/command.d.ts +9 -9
- package/dist/components/ui/command.js +2 -2
- package/dist/components/ui/context-menu.d.ts +15 -15
- package/dist/components/ui/context-menu.js +1 -1
- package/dist/components/ui/date-picker.js +4 -4
- package/dist/components/ui/dialog.d.ts +9 -9
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/drawer.d.ts +7 -7
- package/dist/components/ui/dropdown-menu.d.ts +15 -15
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/hover-card.d.ts +4 -4
- package/dist/components/ui/hover-card.js +1 -1
- package/dist/components/ui/input-otp.d.ts +2 -2
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/menubar.d.ts +16 -16
- package/dist/components/ui/menubar.js +1 -1
- package/dist/components/ui/navigation-menu.d.ts +9 -9
- package/dist/components/ui/navigation-menu.js +1 -1
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/password-toggle-field.d.ts +121 -0
- package/dist/components/ui/password-toggle-field.js +4 -0
- package/dist/components/ui/password-toggle-field.js.map +1 -0
- package/dist/components/ui/popover.d.ts +4 -4
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/radio-group.d.ts +3 -3
- package/dist/components/ui/radio-group.js +1 -1
- package/dist/components/ui/resizable.d.ts +1 -1
- package/dist/components/ui/scroll-area.d.ts +60 -3
- package/dist/components/ui/scroll-area.js +1 -1
- package/dist/components/ui/select.d.ts +9 -9
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/sheet.d.ts +11 -9
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/slider.d.ts +2 -2
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/tabs.d.ts +29 -14
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/toggle-group.d.ts +3 -3
- package/dist/components/ui/toggle-group.js +2 -2
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/toggle.js +1 -1
- package/dist/components/ui/toolbar.d.ts +104 -0
- package/dist/components/ui/toolbar.js +6 -0
- package/dist/components/ui/toolbar.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +46 -4
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/visually-hidden.d.ts +48 -0
- package/dist/components/ui/visually-hidden.js +4 -0
- package/dist/components/ui/visually-hidden.js.map +1 -0
- package/dist/dashboard-page-C0TihRl5.d.ts +107 -0
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/use-keyboard-navigation.d.ts +58 -2
- package/dist/hooks/use-keyboard-navigation.js +1 -1
- package/dist/hooks/use-resource-page.d.ts +2 -2
- package/dist/hooks/use-resource-page.js +2 -2
- package/dist/hooks/use-view-preference.d.ts +1 -1
- package/dist/hooks/use-view-preference.js +1 -1
- package/dist/index.d.ts +23 -25
- package/dist/index.js +54 -38
- package/dist/spacing-BS6qECD4.d.ts +191 -0
- package/dist/split-Dk9f4Mi0.d.ts +57 -0
- package/dist/{use-resource-page-BXBv_Xah.d.ts → use-resource-page-CPs6wjKt.d.ts} +1 -1
- package/dist/view-settings--KXNT_jE.d.ts +12 -0
- package/package.json +73 -32
- package/dist/chunk-2B3MFHBQ.js.map +0 -1
- package/dist/chunk-2MXMWBDV.js.map +0 -1
- package/dist/chunk-4V4H2ZM7.js.map +0 -1
- package/dist/chunk-5J7BP5DI.js.map +0 -1
- package/dist/chunk-5Q4FABZQ.js.map +0 -1
- package/dist/chunk-63FW5ZUA.js.map +0 -1
- package/dist/chunk-7OBL3H5P.js.map +0 -1
- package/dist/chunk-AUECDWP2.js.map +0 -1
- package/dist/chunk-C6H7AMO4.js.map +0 -1
- package/dist/chunk-EI5EGKHL.js +0 -32
- package/dist/chunk-EI5EGKHL.js.map +0 -1
- package/dist/chunk-IP6TMT3D.js.map +0 -1
- package/dist/chunk-JJ4NOMMI.js +0 -73
- package/dist/chunk-JJ4NOMMI.js.map +0 -1
- package/dist/chunk-JXI2MYL3.js.map +0 -1
- package/dist/chunk-KBS4BHME.js +0 -11
- package/dist/chunk-KBS4BHME.js.map +0 -1
- package/dist/chunk-LRXDZBV2.js +0 -26
- package/dist/chunk-LRXDZBV2.js.map +0 -1
- package/dist/chunk-NJMO3VPA.js.map +0 -1
- package/dist/chunk-OCTV3S4I.js +0 -29
- package/dist/chunk-OCTV3S4I.js.map +0 -1
- package/dist/chunk-QBZMY2AF.js.map +0 -1
- package/dist/chunk-QLCDAFS7.js.map +0 -1
- package/dist/chunk-SBJV3K4G.js.map +0 -1
- package/dist/chunk-SCUT2ZCD.js.map +0 -1
- package/dist/chunk-SVXDWPLO.js.map +0 -1
- package/dist/chunk-T465NJRL.js +0 -134
- package/dist/chunk-T465NJRL.js.map +0 -1
- package/dist/chunk-T5VX5DYO.js.map +0 -1
- package/dist/chunk-TKA4LOMT.js.map +0 -1
- package/dist/chunk-UGHQFQOE.js.map +0 -1
- package/dist/chunk-WALXVR6V.js +0 -9
- package/dist/chunk-WALXVR6V.js.map +0 -1
- package/dist/chunk-WZWR2ELB.js.map +0 -1
- package/dist/chunk-YZEA5TGK.js.map +0 -1
- package/dist/chunk-ZDAT5JDH.js.map +0 -1
- package/dist/chunk-ZJFSZFPI.js.map +0 -1
- package/dist/components/ui/empty-state.d.ts +0 -22
- /package/dist/components/{ui → patterns}/empty-state.js.map +0 -0
- /package/dist/components/{ui → patterns}/form-field.js.map +0 -0
- /package/dist/{ViewToggle-DDe_Luj2.d.ts → view-toggle-DDe_Luj2.d.ts} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { status } from '@marktiderman/genesis-design-system/tokens';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The domain status vocabulary `StatusBadge` understands. A `Pick` (not a
|
|
8
|
+
* hand-copied literal union) of `@marktiderman/genesis-design-system`'s
|
|
9
|
+
* `status` tokens, so removing/renaming one of these keys upstream breaks
|
|
10
|
+
* this file's typecheck instead of silently drifting.
|
|
11
|
+
*/
|
|
12
|
+
type StatusBadgeStatus = keyof Pick<typeof status, "onTrack" | "atRisk" | "offTrack" | "done" | "blocked" | "inProgress">;
|
|
13
|
+
declare const statusBadgeVariants: (props?: ({
|
|
14
|
+
status?: "done" | "onTrack" | "atRisk" | "offTrack" | "blocked" | "inProgress" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
|
+
interface StatusBadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "color"> {
|
|
17
|
+
/** Which status to render. Drives the tint via `statusBadgeVariants`. */
|
|
18
|
+
status: StatusBadgeStatus;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Status-specific badge for progress/health states — the EOS/OKR-style
|
|
22
|
+
* "on track / at risk / off track" goal vocabulary plus common
|
|
23
|
+
* task-lifecycle states ("done", "blocked", "in progress").
|
|
24
|
+
*
|
|
25
|
+
* `Badge` answers "what color is this badge"; `StatusBadge` answers "what
|
|
26
|
+
* does this business status look like as a badge" — it owns the
|
|
27
|
+
* status → semantic-token mapping so consumers pass a status name instead
|
|
28
|
+
* of hand-rolling their own `status-to-color` lookup (the pattern this
|
|
29
|
+
* component exists to retire). Colors are token-driven — the same
|
|
30
|
+
* `bg-success` / `bg-warning` / `bg-destructive` / `bg-info` semantic
|
|
31
|
+
* Tailwind families `Badge` already uses, backed by
|
|
32
|
+
* `@marktiderman/genesis-design-system`'s `status` tokens — no raw hex here.
|
|
33
|
+
*
|
|
34
|
+
* @stability Beta
|
|
35
|
+
*/
|
|
36
|
+
declare function StatusBadge({ className, status, ...props }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
export { StatusBadge, type StatusBadgeProps, type StatusBadgeStatus, statusBadgeVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"status-badge.js"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface ToggleRowProps {
|
|
5
|
+
label: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
defaultChecked?: boolean;
|
|
9
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Switch/label `id`. Auto-generated via `useId` when omitted. */
|
|
12
|
+
id?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Stable test/automation selector for the **Switch** — emitted as
|
|
16
|
+
* `data-testid` on the control itself, since that is the node automation
|
|
17
|
+
* has to click to toggle. Use `rowTestID` to select the surrounding row.
|
|
18
|
+
*/
|
|
19
|
+
testID?: string;
|
|
20
|
+
/** Stable test/automation selector for the row wrapper. */
|
|
21
|
+
rowTestID?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* ToggleRow — `SettingsRow` pre-wired with a `Switch`: the common
|
|
25
|
+
* label+description+on/off row for settings and preferences UI.
|
|
26
|
+
*
|
|
27
|
+
* Both halves of the row's text are wired to the control: the label via
|
|
28
|
+
* `id`/`htmlFor`, and the description via `aria-describedby`, so a screen
|
|
29
|
+
* reader focusing the switch hears the constraint ("this will notify all team
|
|
30
|
+
* members") rather than skipping it.
|
|
31
|
+
*
|
|
32
|
+
* @stability Beta
|
|
33
|
+
*/
|
|
34
|
+
declare function ToggleRow({ label, description, checked, defaultChecked, onCheckedChange, disabled, id, className, testID, rowTestID, }: ToggleRowProps): react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
export { ToggleRow, type ToggleRowProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { ToggleRow } from '../../chunk-6M4NHHKG.js';
|
|
2
|
+
import '../../chunk-A7AHVDG7.js';
|
|
3
|
+
import '../../chunk-27ELYTGE.js';
|
|
4
|
+
import '../../chunk-R7QFP6EL.js';
|
|
5
|
+
import '../../chunk-F47U5KNW.js';
|
|
6
|
+
import '../../chunk-NZ5WBA4R.js';
|
|
7
|
+
//# sourceMappingURL=toggle-row.js.map
|
|
8
|
+
//# sourceMappingURL=toggle-row.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"toggle-row.js"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const userAvatarVariants: (props?: ({
|
|
6
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface UserAvatarProps extends VariantProps<typeof userAvatarVariants> {
|
|
9
|
+
/** Full display name. Source for the computed initials fallback and the accessible name. */
|
|
10
|
+
name: string;
|
|
11
|
+
/** Image URL. Omit — or let it fail to load — to show the initials fallback. */
|
|
12
|
+
src?: string | null;
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Stable test/automation selector (emitted as `data-testid`). */
|
|
15
|
+
testID?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* UserAvatar — canonical user-identity avatar. Shows the person's photo when
|
|
19
|
+
* `src` is set and loads successfully; otherwise (including a failed image
|
|
20
|
+
* load — Radix's Avatar swaps to the fallback automatically) it falls back
|
|
21
|
+
* to initials computed from `name`. Wraps the lower-level
|
|
22
|
+
* `Avatar`/`AvatarImage`/`AvatarFallback` primitives so call sites stop
|
|
23
|
+
* hand-rolling initials logic per-usage.
|
|
24
|
+
*
|
|
25
|
+
* The root carries `role="img"` + `aria-label={name}` so the person's full name
|
|
26
|
+
* is the accessible name on BOTH paths — without it the fallback route renders
|
|
27
|
+
* a bare `span`, a generic element whose author-supplied label AT may ignore,
|
|
28
|
+
* announcing only the visible initials ("AL").
|
|
29
|
+
*
|
|
30
|
+
* @stability Beta
|
|
31
|
+
*/
|
|
32
|
+
declare function UserAvatar({ name, src, size, className, testID }: UserAvatarProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
export { UserAvatar, type UserAvatarProps, userAvatarVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"user-avatar.js"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface AccessibleIconProps {
|
|
5
|
+
/**
|
|
6
|
+
* The icon element. It is marked `aria-hidden` and given `focusable="false"`
|
|
7
|
+
* so assistive technology reads `label` once instead of announcing the SVG's
|
|
8
|
+
* own title, or nothing at all.
|
|
9
|
+
*/
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* The accessible name for the icon — visually hidden, announced to screen
|
|
13
|
+
* readers, exactly like `alt` on an `<img>`. Required, because an icon with
|
|
14
|
+
* no label is the failure this component exists to prevent.
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* AccessibleIcon — gives a decorative icon an accessible name.
|
|
20
|
+
*
|
|
21
|
+
* The pattern for every icon-only control: hide the glyph from assistive tech
|
|
22
|
+
* and put a real, visually-hidden string next to it. Done by hand this is
|
|
23
|
+
* three easily-forgotten steps (`aria-hidden` on the SVG, `focusable="false"`
|
|
24
|
+
* for IE/Edge-era SVG focus behavior, a `VisuallyHidden` sibling), and getting
|
|
25
|
+
* one wrong produces a control announced as "button" with no name — which
|
|
26
|
+
* looks completely fine on screen.
|
|
27
|
+
*
|
|
28
|
+
* Note the shape: this renders no host element of its own. It clones the child
|
|
29
|
+
* and appends the hidden label, so there is no DOM node to attach a `ref` or a
|
|
30
|
+
* `className` to and, deliberately, no `forwardRef` here — unlike every other
|
|
31
|
+
* primitive in this folder. Style the icon or the surrounding control instead.
|
|
32
|
+
*
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <Button size="icon">
|
|
35
|
+
* <AccessibleIcon label="Delete item">
|
|
36
|
+
* <TrashIcon />
|
|
37
|
+
* </AccessibleIcon>
|
|
38
|
+
* </Button>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @stability Beta
|
|
42
|
+
*/
|
|
43
|
+
declare function AccessibleIcon({ children, label }: AccessibleIconProps): react_jsx_runtime.JSX.Element;
|
|
44
|
+
declare namespace AccessibleIcon {
|
|
45
|
+
var displayName: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { AccessibleIcon, type AccessibleIconProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"accessible-icon.js"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { Accordion as Accordion$1 } from 'radix-ui';
|
|
3
3
|
|
|
4
|
-
declare const Accordion: React.ForwardRefExoticComponent<(
|
|
5
|
-
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<
|
|
6
|
-
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<
|
|
7
|
-
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<
|
|
4
|
+
declare const Accordion: React.ForwardRefExoticComponent<(Accordion$1.AccordionSingleProps | Accordion$1.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<Accordion$1.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<Accordion$1.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<Accordion$1.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
|
|
9
9
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '../../chunk-
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '../../chunk-YWFPMND7.js';
|
|
2
2
|
import '../../chunk-NZ5WBA4R.js';
|
|
3
3
|
//# sourceMappingURL=accordion.js.map
|
|
4
4
|
//# sourceMappingURL=accordion.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import { AlertDialog as AlertDialog$1 } from 'radix-ui';
|
|
4
4
|
|
|
5
|
-
declare const AlertDialog: React.FC<
|
|
6
|
-
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<
|
|
7
|
-
declare const AlertDialogPortal: React.FC<
|
|
8
|
-
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<
|
|
9
|
-
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<
|
|
5
|
+
declare const AlertDialog: React.FC<AlertDialog$1.AlertDialogProps>;
|
|
6
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const AlertDialogPortal: React.FC<AlertDialog$1.AlertDialogPortalProps>;
|
|
8
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
declare const AlertDialogHeader: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
11
11
|
declare const AlertDialogFooter: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
12
|
-
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<
|
|
13
|
-
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<
|
|
14
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<
|
|
15
|
-
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<
|
|
12
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
13
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
14
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
|
|
17
17
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from '../../chunk-
|
|
1
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from '../../chunk-M62CHO3N.js';
|
|
2
2
|
import '../../chunk-NZ5WBA4R.js';
|
|
3
3
|
//# sourceMappingURL=alert-dialog.js.map
|
|
4
4
|
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { AspectRatio as AspectRatio$1 } from 'radix-ui';
|
|
3
3
|
|
|
4
|
-
declare const AspectRatio: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatio$1.AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
|
|
6
6
|
export { AspectRatio };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { Avatar as Avatar$1 } from 'radix-ui';
|
|
3
3
|
|
|
4
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<
|
|
5
|
-
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<
|
|
6
|
-
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<
|
|
4
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
6
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
7
7
|
|
|
8
8
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -7,17 +6,83 @@ declare const buttonVariants: (props?: ({
|
|
|
7
6
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
8
7
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
9
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/**
|
|
9
|
+
/** Props shared by both the `<button>` and the `asChild` rendering modes. */
|
|
10
|
+
interface ButtonOwnProps extends VariantProps<typeof buttonVariants> {
|
|
11
|
+
/**
|
|
12
|
+
* Marks the control busy: renders a spinner in the leading slot and makes
|
|
13
|
+
* the control inert (see `disabled`). In `asChild` mode the spinner is not
|
|
14
|
+
* injected — there is no button chrome to put it in — but the control is
|
|
15
|
+
* still made inert, so a "loading" link can't be activated mid-flight.
|
|
16
|
+
*/
|
|
13
17
|
loading?: boolean;
|
|
14
|
-
/** Optional leading icon slot (replaced by the spinner while loading). */
|
|
18
|
+
/** Optional leading icon slot (replaced by the spinner while loading). Ignored when `asChild`. */
|
|
15
19
|
startIcon?: React.ReactNode;
|
|
16
|
-
/** Optional trailing icon slot. */
|
|
20
|
+
/** Optional trailing icon slot. Ignored when `asChild`. */
|
|
17
21
|
endIcon?: React.ReactNode;
|
|
18
22
|
/** Stable test/automation selector (emitted as `data-testid`). */
|
|
19
23
|
testID?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Makes the control inert. On a real `<button>` this is the native
|
|
26
|
+
* `disabled` attribute; in `asChild` mode it becomes `aria-disabled` plus
|
|
27
|
+
* activation blocking, because `disabled` is a button-only attribute that
|
|
28
|
+
* anchors and router links ignore entirely. See `asChild`.
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Button rendered as a real `<button>` (the default).
|
|
34
|
+
*
|
|
35
|
+
* Kept as an interface extending `ButtonHTMLAttributes<HTMLButtonElement>` so
|
|
36
|
+
* it stays back-compatible for consumers that `extend` it. `asChild` is typed
|
|
37
|
+
* `false` here (not `boolean`) purely so the two overloads below discriminate
|
|
38
|
+
* cleanly — pass `asChild` as a literal, not a computed boolean.
|
|
39
|
+
*/
|
|
40
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, ButtonOwnProps {
|
|
41
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
42
|
+
asChild?: false;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Button composed onto a caller-supplied child element via Radix `Slot`
|
|
46
|
+
* instead of rendering a `<button>` — put Button's styling on an `<a>`,
|
|
47
|
+
* router `Link`, or any other element without an extra wrapper node. The
|
|
48
|
+
* child becomes the real DOM node Button's props land on, so it must accept
|
|
49
|
+
* (and forward) a `ref` and spread props — the same contract as every other
|
|
50
|
+
* Radix `asChild` consumer (`PopoverTrigger`, `DropdownMenuTrigger`, ...),
|
|
51
|
+
* and it must be exactly ONE element (Radix `Slot` throws otherwise).
|
|
52
|
+
*
|
|
53
|
+
* Ref and event handlers are typed against `HTMLElement` rather than
|
|
54
|
+
* `HTMLButtonElement` here, because that is what Slot actually forwards them
|
|
55
|
+
* to — this is what lets an anchor ref be passed, and what stops a handler
|
|
56
|
+
* from reaching button-only properties (`.form`, ...) on what is really an
|
|
57
|
+
* anchor at runtime.
|
|
58
|
+
*
|
|
59
|
+
* `disabled` (and `loading`) become `aria-disabled` + activation blocking
|
|
60
|
+
* rather than the button-only `disabled` attribute. Known limitation: Radix
|
|
61
|
+
* `Slot` composes handlers child-first, so if the CHILD carries its own
|
|
62
|
+
* `onClick`/`onKeyDown`, that handler still runs before Button's guard. The
|
|
63
|
+
* default action (following an href) is still prevented, and in a real
|
|
64
|
+
* browser `pointer-events-none` stops the mouse path from firing at all —
|
|
65
|
+
* but don't rely on a disabled asChild Button to suppress side effects the
|
|
66
|
+
* child itself schedules on click.
|
|
67
|
+
*/
|
|
68
|
+
interface ButtonAsChildProps extends React.HTMLAttributes<HTMLElement>, ButtonOwnProps {
|
|
69
|
+
ref?: React.Ref<HTMLElement>;
|
|
70
|
+
asChild: true;
|
|
20
71
|
}
|
|
21
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Button — primary interactive control. Variants: default, secondary,
|
|
74
|
+
* outline, ghost, destructive, link.
|
|
75
|
+
*
|
|
76
|
+
* Overloaded on `asChild`: see {@link ButtonProps} for the default
|
|
77
|
+
* `<button>` mode and {@link ButtonAsChildProps} for Slot composition. The
|
|
78
|
+
* `ButtonProps` signature is declared LAST on purpose —
|
|
79
|
+
* `React.ComponentProps<typeof Button>` infers from the final call
|
|
80
|
+
* signature, so reordering these two silently changes what that resolves to
|
|
81
|
+
* for every consumer.
|
|
82
|
+
*
|
|
83
|
+
* @stability Stable
|
|
84
|
+
*/
|
|
85
|
+
declare function Button(props: ButtonAsChildProps): React.ReactElement;
|
|
86
|
+
declare function Button(props: ButtonProps): React.ReactElement;
|
|
22
87
|
|
|
23
|
-
export { Button, type ButtonProps, buttonVariants };
|
|
88
|
+
export { Button, type ButtonAsChildProps, type ButtonProps, buttonVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Calendar, CalendarDayButton } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Calendar, CalendarDayButton } from '../../chunk-J6FBA7PH.js';
|
|
2
|
+
import '../../chunk-NWSCYLPT.js';
|
|
3
3
|
import '../../chunk-NZ5WBA4R.js';
|
|
4
4
|
//# sourceMappingURL=calendar.js.map
|
|
5
5
|
//# sourceMappingURL=calendar.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
4
|
-
import {
|
|
4
|
+
import { ButtonProps } from './button.js';
|
|
5
5
|
import 'class-variance-authority/types';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
7
|
|
|
@@ -18,7 +18,8 @@ type CarouselProps = {
|
|
|
18
18
|
declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
|
|
22
|
-
declare function
|
|
21
|
+
type CarouselControlProps = Omit<ButtonProps, "asChild">;
|
|
22
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: CarouselControlProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare function CarouselNext({ className, variant, size, ...props }: CarouselControlProps): react_jsx_runtime.JSX.Element;
|
|
23
24
|
|
|
24
25
|
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../../chunk-AOZGQM6W.js';
|
|
2
|
+
import '../../chunk-NWSCYLPT.js';
|
|
3
3
|
import '../../chunk-NZ5WBA4R.js';
|
|
4
4
|
//# sourceMappingURL=carousel.js.map
|
|
5
5
|
//# sourceMappingURL=carousel.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { Checkbox as Checkbox$1 } from 'radix-ui';
|
|
3
3
|
|
|
4
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Omit<
|
|
4
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<Checkbox$1.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
|
|
6
6
|
export { Checkbox };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { Collapsible as Collapsible$1 } from 'radix-ui';
|
|
3
3
|
|
|
4
|
-
declare const Collapsible: React.ForwardRefExoticComponent<
|
|
5
|
-
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<
|
|
6
|
-
declare const CollapsibleContent: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const Collapsible: React.ForwardRefExoticComponent<Collapsible$1.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<Collapsible$1.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const CollapsibleContent: React.ForwardRefExoticComponent<Collapsible$1.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
|
|
8
8
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../../chunk-
|
|
1
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../../chunk-B2GIBUQD.js';
|
|
2
2
|
//# sourceMappingURL=collapsible.js.map
|
|
3
3
|
//# sourceMappingURL=collapsible.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CommandPalette, useCommandPaletteHotkey } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { CommandPalette, useCommandPaletteHotkey } from '../../chunk-CNTWQSUT.js';
|
|
2
|
+
import '../../chunk-SEFK4NZV.js';
|
|
3
|
+
import '../../chunk-7XMZVISM.js';
|
|
4
4
|
import '../../chunk-NZ5WBA4R.js';
|
|
5
5
|
//# sourceMappingURL=command-palette.js.map
|
|
6
6
|
//# sourceMappingURL=command-palette.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { Dialog } from 'radix-ui';
|
|
4
4
|
|
|
5
5
|
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
6
6
|
children?: React.ReactNode;
|
|
@@ -8,7 +8,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
8
8
|
ref?: React.Ref<HTMLDivElement>;
|
|
9
9
|
} & {
|
|
10
10
|
asChild?: boolean;
|
|
11
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
11
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
12
12
|
label?: string;
|
|
13
13
|
shouldFilter?: boolean;
|
|
14
14
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -19,14 +19,14 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
19
19
|
disablePointerSelection?: boolean;
|
|
20
20
|
vimBindings?: boolean;
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
interface CommandDialogProps extends DialogProps {
|
|
22
|
+
interface CommandDialogProps extends Dialog.DialogProps {
|
|
23
23
|
}
|
|
24
24
|
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
25
25
|
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
26
26
|
ref?: React.Ref<HTMLInputElement>;
|
|
27
27
|
} & {
|
|
28
28
|
asChild?: boolean;
|
|
29
|
-
}, "
|
|
29
|
+
}, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
30
30
|
value?: string;
|
|
31
31
|
onValueChange?: (search: string) => void;
|
|
32
32
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -36,7 +36,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
36
36
|
ref?: React.Ref<HTMLDivElement>;
|
|
37
37
|
} & {
|
|
38
38
|
asChild?: boolean;
|
|
39
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
39
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
40
40
|
label?: string;
|
|
41
41
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
42
42
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -45,14 +45,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
45
45
|
ref?: React.Ref<HTMLDivElement>;
|
|
46
46
|
} & {
|
|
47
47
|
asChild?: boolean;
|
|
48
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
48
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
49
49
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
50
50
|
children?: React.ReactNode;
|
|
51
51
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
52
52
|
ref?: React.Ref<HTMLDivElement>;
|
|
53
53
|
} & {
|
|
54
54
|
asChild?: boolean;
|
|
55
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
55
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
56
56
|
heading?: React.ReactNode;
|
|
57
57
|
value?: string;
|
|
58
58
|
forceMount?: boolean;
|
|
@@ -61,7 +61,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
|
|
|
61
61
|
ref?: React.Ref<HTMLDivElement>;
|
|
62
62
|
} & {
|
|
63
63
|
asChild?: boolean;
|
|
64
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
64
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
65
65
|
alwaysRender?: boolean;
|
|
66
66
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
67
67
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -70,7 +70,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
70
70
|
ref?: React.Ref<HTMLDivElement>;
|
|
71
71
|
} & {
|
|
72
72
|
asChild?: boolean;
|
|
73
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
73
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "disabled" | "onSelect" | "value"> & {
|
|
74
74
|
disabled?: boolean;
|
|
75
75
|
onSelect?: (value: string) => void;
|
|
76
76
|
value?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from '../../chunk-SEFK4NZV.js';
|
|
2
|
+
import '../../chunk-7XMZVISM.js';
|
|
3
3
|
import '../../chunk-NZ5WBA4R.js';
|
|
4
4
|
//# sourceMappingURL=command.js.map
|
|
5
5
|
//# sourceMappingURL=command.js.map
|