@ngrok/mantle 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/src/alert.d.ts +9 -0
- package/dist/components/alert/src/alert.d.ts.map +1 -0
- package/dist/components/anchor/index.d.ts +2 -0
- package/dist/components/anchor/index.d.ts.map +1 -0
- package/dist/components/anchor/src/anchor.d.ts +15 -0
- package/dist/components/anchor/src/anchor.d.ts.map +1 -0
- package/dist/components/back-to-top-button/index.d.ts +9 -0
- package/dist/components/back-to-top-button/index.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/src/button.d.ts +26 -0
- package/dist/components/button/src/button.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/src/card.d.ts +26 -0
- package/dist/components/card/src/card.d.ts.map +1 -0
- package/dist/components/code-block/index.d.ts +5 -0
- package/dist/components/code-block/index.d.ts.map +1 -0
- package/dist/components/code-block/src/code-block.d.ts +25 -0
- package/dist/components/code-block/src/code-block.d.ts.map +1 -0
- package/dist/components/code-block/src/code.d.ts +7 -0
- package/dist/components/code-block/src/code.d.ts.map +1 -0
- package/dist/components/code-block/src/line-numbers.d.ts +9 -0
- package/dist/components/code-block/src/line-numbers.d.ts.map +1 -0
- package/dist/components/code-block/src/parse-metastring.d.ts +48 -0
- package/dist/components/code-block/src/parse-metastring.d.ts.map +1 -0
- package/dist/components/code-block/src/supported-languages.d.ts +24 -0
- package/dist/components/code-block/src/supported-languages.d.ts.map +1 -0
- package/dist/components/core/index.d.ts +2 -0
- package/dist/components/core/index.d.ts.map +1 -0
- package/dist/components/core/src/cx.d.ts +8 -0
- package/dist/components/core/src/cx.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +2 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/src/dropdown-menu.d.ts +37 -0
- package/dist/components/dropdown-menu/src/dropdown-menu.d.ts.map +1 -0
- package/dist/components/hooks/use-matches-media-query.d.ts +2 -0
- package/dist/components/hooks/use-matches-media-query.d.ts.map +1 -0
- package/dist/components/hooks/use-prefers-reduced-motion.d.ts +5 -0
- package/dist/components/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
- package/dist/components/index.d.ts +21 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/inline-code/index.d.ts +2 -0
- package/dist/components/inline-code/index.d.ts.map +1 -0
- package/dist/components/inline-code/src/inline-code.d.ts +7 -0
- package/dist/components/inline-code/src/inline-code.d.ts.map +1 -0
- package/dist/components/input/index.d.ts +4 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/src/input.d.ts +18 -0
- package/dist/components/input/src/input.d.ts.map +1 -0
- package/dist/components/input/src/types.d.ts +21 -0
- package/dist/components/input/src/types.d.ts.map +1 -0
- package/dist/components/media-object/index.d.ts +2 -0
- package/dist/components/media-object/index.d.ts.map +1 -0
- package/dist/components/media-object/src/media-object.d.ts +24 -0
- package/dist/components/media-object/src/media-object.d.ts.map +1 -0
- package/dist/components/password-input/index.d.ts +3 -0
- package/dist/components/password-input/index.d.ts.map +1 -0
- package/dist/components/password-input/src/password-input.d.ts +10 -0
- package/dist/components/password-input/src/password-input.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/src/popover.d.ts +7 -0
- package/dist/components/popover/src/popover.d.ts.map +1 -0
- package/dist/components/portal/index.d.ts +7 -0
- package/dist/components/portal/index.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/src/select.d.ts +17 -0
- package/dist/components/select/src/select.d.ts.map +1 -0
- package/dist/components/sheet/index.d.ts +2 -0
- package/dist/components/sheet/index.d.ts.map +1 -0
- package/dist/components/sheet/src/sheet.d.ts +18 -0
- package/dist/components/sheet/src/sheet.d.ts.map +1 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/src/skeleton.d.ts +12 -0
- package/dist/components/skeleton/src/skeleton.d.ts.map +1 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/index.d.ts.map +1 -0
- package/dist/components/table/src/table.d.ts +11 -0
- package/dist/components/table/src/table.d.ts.map +1 -0
- package/dist/components/text-area/index.d.ts +3 -0
- package/dist/components/text-area/index.d.ts.map +1 -0
- package/dist/components/text-area/src/text-area.d.ts +14 -0
- package/dist/components/text-area/src/text-area.d.ts.map +1 -0
- package/dist/components/theme-provider/index.d.ts +4 -0
- package/dist/components/theme-provider/index.d.ts.map +1 -0
- package/dist/components/theme-provider/src/theme-provider.d.ts +63 -0
- package/dist/components/theme-provider/src/theme-provider.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/src/tooltip.d.ts +11 -0
- package/dist/components/tooltip/src/tooltip.d.ts.map +1 -0
- package/dist/components/types/index.d.ts +5 -0
- package/dist/components/types/index.d.ts.map +1 -0
- package/dist/components/types/src/as-child.d.ts +21 -0
- package/dist/components/types/src/as-child.d.ts.map +1 -0
- package/dist/components/types/src/deep-non-nullable.d.ts +7 -0
- package/dist/components/types/src/deep-non-nullable.d.ts.map +1 -0
- package/dist/components/types/src/variant-props.d.ts +9 -0
- package/dist/components/types/src/variant-props.d.ts.map +1 -0
- package/dist/components/types/src/with-style-props.d.ts +25 -0
- package/dist/components/types/src/with-style-props.d.ts.map +1 -0
- package/dist/index.js +29 -26
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.publish.tsbuildinfo +1 -0
- package/package.json +13 -6
- package/dist/index.d.ts +0 -403
- package/dist/index.d.ts.map +0 -1
- /package/{dist → assets}/mantle.css +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../components/popover/src/popover.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,QAAA,MAAM,OAAO,mDAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,oIAA2B,CAAC;AAEhD,QAAA,MAAM,cAAc,8LAgBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
type Props = PropsWithChildren<{
|
|
3
|
+
container?: HTMLElement | null;
|
|
4
|
+
}>;
|
|
5
|
+
export declare const Portal: ({ children, container }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1C,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAAE,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CAAE,CAAC,CAAC;AAEnE,eAAO,MAAM,MAAM,4BAA6B,KAAK,4CAAgE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,UAAU,EACV,eAAe,EACf,aAAa,EACb,WAAW,GACX,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2
|
+
import type { ComponentPropsWithoutRef, SelectHTMLAttributes } from "react";
|
|
3
|
+
type SelectProps = ComponentPropsWithoutRef<typeof SelectPrimitive.Root> & Pick<SelectHTMLAttributes<HTMLSelectElement>, "aria-invalid">;
|
|
4
|
+
declare const Select: ({ children, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const SelectGroup: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const SelectValue: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
declare const SelectTrigger: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const SelectScrollUpButton: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const SelectScrollDownButton: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const SelectContent: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
11
|
+
width?: "content" | "trigger" | undefined;
|
|
12
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const SelectLabel: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const SelectItem: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const SelectSeparator: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
17
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../components/select/src/select.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAOxF,KAAK,WAAW,GAAG,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GACvE,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,cAAc,CAAC,CAAC;AAE/D,QAAA,MAAM,MAAM,2BAA4B,WAAW,4CAMlD,CAAC;AAEF,QAAA,MAAM,WAAW,6HAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,8HAAwB,CAAC;AAqB1C,QAAA,MAAM,aAAa,kMAqBjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,mMAWxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,qMAW1B,CAAC;AAOH,QAAA,MAAM,aAAa;;kDA0BlB,CAAC;AAGF,QAAA,MAAM,WAAW,0LAKf,CAAC;AAGH,QAAA,MAAM,UAAU,yLAiBd,CAAC;AAGH,QAAA,MAAM,eAAe,8LAKnB,CAAC;AAGH,OAAO,EACN,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/sheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACZ,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
import { HTMLAttributes } from "react";
|
|
4
|
+
declare const Sheet: import("react").FC<SheetPrimitive.DialogProps>;
|
|
5
|
+
declare const SheetTrigger: import("react").ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const SheetClose: import("react").ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const SheetPortal: import("react").FC<SheetPrimitive.DialogPortalProps>;
|
|
8
|
+
declare const SheetOverlay: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const SheetContent: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
10
|
+
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const SheetBody: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const SheetHeader: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const SheetFooter: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const SheetTitle: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
16
|
+
declare const SheetDescription: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
17
|
+
export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, };
|
|
18
|
+
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../../components/sheet/src/sheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAoD,cAAc,EAAE,MAAM,OAAO,CAAC;AAGzF,QAAA,MAAM,KAAK,gDAAsB,CAAC;AAElC,QAAA,MAAM,YAAY,iIAAyB,CAAC;AAE5C,QAAA,MAAM,UAAU,+HAAuB,CAAC;AAExC,QAAA,MAAM,WAAW,sDAAwB,CAAC;AAE1C,QAAA,MAAM,YAAY,2LAYhB,CAAC;AAyBH,QAAA,MAAM,YAAY;;gIAajB,CAAC;AAGF,QAAA,MAAM,SAAS,4BAA6B,eAAe,cAAc,CAAC,4CAEzE,CAAC;AAEF,QAAA,MAAM,WAAW,4BAA6B,eAAe,cAAc,CAAC,4CAE3E,CAAC;AAEF,QAAA,MAAM,WAAW,4BAA6B,eAAe,cAAc,CAAC,4CAE3E,CAAC;AAEF,QAAA,MAAM,UAAU,iMAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB,2MAKpB,CAAC;AAGH,OAAO,EACN,KAAK,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/skeleton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
|
|
3
|
+
/**
|
|
4
|
+
* A skeleton is a placeholder for content that is loading.
|
|
5
|
+
* By using a skeleton, you can give the user an idea of what the content will
|
|
6
|
+
* look like and reduce the perceived loading time and CLS (Cumulative Layout Shift).
|
|
7
|
+
*
|
|
8
|
+
* @note Default height is 1rem.
|
|
9
|
+
*/
|
|
10
|
+
declare function Skeleton({ className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Skeleton };
|
|
12
|
+
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../components/skeleton/src/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAEjE;;;;;;GAMG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,2CAU/C;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from "react";
|
|
2
|
+
declare const Table: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & import("react").RefAttributes<HTMLTableElement>>;
|
|
3
|
+
declare const TableHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
4
|
+
declare const TableBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
5
|
+
declare const TableFooter: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
6
|
+
declare const TableRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
7
|
+
declare const TableHead: import("react").ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
8
|
+
declare const TableCell: import("react").ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
9
|
+
declare const TableCaption: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & import("react").RefAttributes<HTMLTableCaptionElement>>;
|
|
10
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption };
|
|
11
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../components/table/src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAGvF,QAAA,MAAM,KAAK,+HAIT,CAAC;AAGH,QAAA,MAAM,WAAW,6IAIhB,CAAC;AAGF,QAAA,MAAM,SAAS,6IAId,CAAC;AAGF,QAAA,MAAM,WAAW,6IAQhB,CAAC;AAGF,QAAA,MAAM,QAAQ,qIAQb,CAAC;AAGF,QAAA,MAAM,SAAS,yIAWd,CAAC;AAGF,QAAA,MAAM,SAAS,yIAId,CAAC;AAGF,QAAA,MAAM,YAAY,6IAIjB,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/text-area/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TextareaHTMLAttributes } from "react";
|
|
2
|
+
import { VariantProps } from "../../types/";
|
|
3
|
+
declare const textAreaVariants: (props?: ({
|
|
4
|
+
state?: "danger" | "default" | null | undefined;
|
|
5
|
+
appearance?: "monospaced" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
type TextAreaVariants = VariantProps<typeof textAreaVariants>;
|
|
8
|
+
export type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & Pick<TextAreaVariants, "appearance">;
|
|
9
|
+
declare const TextArea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & Pick<Partial<import("../../types/").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
10
|
+
state?: "danger" | "default" | null | undefined;
|
|
11
|
+
appearance?: "monospaced" | null | undefined;
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>>, "appearance"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
13
|
+
export { TextArea };
|
|
14
|
+
//# sourceMappingURL=text-area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../components/text-area/src/text-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,gBAAgB;;;8EAgBrB,CAAC;AAEF,KAAK,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;AAE/G,QAAA,MAAM,QAAQ;;;sJAGZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { PreventWrongThemeFlash, ThemeProvider } from "./src/theme-provider";
|
|
2
|
+
export { isTheme, preventWrongThemeFlashScriptContent, theme, useTheme, useAppliedTheme } from "./src/theme-provider";
|
|
3
|
+
export type { Theme, ThemeProviderProps } from "./src/theme-provider";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/theme-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE7E,OAAO,EAAE,OAAO,EAAE,mCAAmC,EAAE,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEtH,YAAY,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { PropsWithChildren } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* themes is a tuple of valid themes.
|
|
4
|
+
*/
|
|
5
|
+
declare const themes: readonly ["system", "light", "dark", "light-high-contrast", "dark-high-contrast"];
|
|
6
|
+
/**
|
|
7
|
+
* Theme is a string literal type that represents a valid theme.
|
|
8
|
+
*/
|
|
9
|
+
type Theme = (typeof themes)[number];
|
|
10
|
+
/**
|
|
11
|
+
* theme is a helper which translates the Theme type into a string literal type.
|
|
12
|
+
*/
|
|
13
|
+
declare const theme: (value: Theme) => "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast";
|
|
14
|
+
/**
|
|
15
|
+
* Type predicate that checks if a value is a valid theme.
|
|
16
|
+
*/
|
|
17
|
+
declare function isTheme(value: unknown): value is Theme;
|
|
18
|
+
/**
|
|
19
|
+
* ThemeProviderState is the shape of the state returned by the ThemeProviderContext.
|
|
20
|
+
*/
|
|
21
|
+
type ThemeProviderState = [theme: Theme, setTheme: (theme: Theme) => void];
|
|
22
|
+
type ThemeProviderProps = PropsWithChildren & {
|
|
23
|
+
defaultTheme?: Theme;
|
|
24
|
+
storageKey?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* ThemeProvider is a React Context Provider that provides the current theme and a function to set the theme.
|
|
28
|
+
*/
|
|
29
|
+
declare function ThemeProvider({ children, defaultTheme, storageKey }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* useTheme returns the current theme and a function to set the theme.
|
|
32
|
+
*
|
|
33
|
+
* @note This function will throw an error if used outside of a ThemeProvider context tree.
|
|
34
|
+
*/
|
|
35
|
+
declare function useTheme(): ThemeProviderState;
|
|
36
|
+
/**
|
|
37
|
+
* If the theme is "system", it will resolve the theme based on the user's media query preferences, otherwise it will return the theme as is.
|
|
38
|
+
* This will mirror the result that gets applied to the <html> element.
|
|
39
|
+
*/
|
|
40
|
+
declare function useAppliedTheme(): "dark" | "light" | "light-high-contrast" | "dark-high-contrast";
|
|
41
|
+
/**
|
|
42
|
+
* determineThemeFromMediaQuery returns the theme that should be used based on the user's media query preferences.
|
|
43
|
+
* @private
|
|
44
|
+
*/
|
|
45
|
+
export declare function determineThemeFromMediaQuery({ prefersDarkMode, prefersHighContrast, }: {
|
|
46
|
+
prefersDarkMode: boolean;
|
|
47
|
+
prefersHighContrast: boolean;
|
|
48
|
+
}): "dark" | "light" | "light-high-contrast" | "dark-high-contrast";
|
|
49
|
+
declare function preventWrongThemeFlashScriptContent({ defaultTheme, storageKey, }: {
|
|
50
|
+
defaultTheme?: Theme;
|
|
51
|
+
storageKey?: string;
|
|
52
|
+
}): string;
|
|
53
|
+
/**
|
|
54
|
+
* PreventWrongThemeFlash is a React component that prevents the wrong theme from flashing on initial page load.
|
|
55
|
+
* Render as high as possible in the DOM, preferably in the <head> element.
|
|
56
|
+
*/
|
|
57
|
+
declare const PreventWrongThemeFlash: ({ defaultTheme, storageKey, }: {
|
|
58
|
+
defaultTheme?: "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast" | undefined;
|
|
59
|
+
storageKey?: string | undefined;
|
|
60
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
export type { Theme, ThemeProviderProps };
|
|
62
|
+
export { isTheme, PreventWrongThemeFlash, preventWrongThemeFlashScriptContent, theme, ThemeProvider, useAppliedTheme, useTheme, };
|
|
63
|
+
//# sourceMappingURL=theme-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../components/theme-provider/src/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAe/C;;GAEG;AACH,QAAA,MAAM,MAAM,mFAAoF,CAAC;AAEjG;;GAEG;AACH,KAAK,KAAK,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAErC;;GAEG;AACH,QAAA,MAAM,KAAK,UAAW,KAAK,+EAAU,CAAC;AAEtC;;GAEG;AACH,iBAAS,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,KAAK,CAM/C;AAOD;;GAEG;AACH,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC;AA6B3E,KAAK,kBAAkB,GAAG,iBAAiB,GAAG;IAC7C,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,YAAuB,EAAE,UAAgC,EAAE,EAAE,kBAAkB,2CAmDjH;AAED;;;;GAIG;AACH,iBAAS,QAAQ,uBAMhB;AAmCD;;;GAGG;AACH,iBAAS,eAAe,oEAOvB;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,EAC5C,eAAe,EACf,mBAAmB,GACnB,EAAE;IACF,eAAe,EAAE,OAAO,CAAC;IACzB,mBAAmB,EAAE,OAAO,CAAC;CAC7B,mEAMA;AAED,iBAAS,mCAAmC,CAAC,EAC5C,YAAuB,EACvB,UAAgC,GAChC,EAAE;IACF,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,UA6BA;AAED;;;GAGG;AACH,QAAA,MAAM,sBAAsB;;;6CAY3B,CAAC;AAEF,YAAY,EAAE,KAAK,EAAE,kBAAkB,EAAE,CAAC;AAC1C,OAAO,EACN,OAAO,EACP,sBAAsB,EACtB,mCAAmC,EACnC,KAAK,EACL,aAAa,EACb,eAAe,EACf,QAAQ,GACR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Provider } from "@radix-ui/react-tooltip";
|
|
2
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Wraps your app to provide global functionality to your tooltips.
|
|
5
|
+
*/
|
|
6
|
+
declare const TooltipProvider: ({ delayDuration, ...props }: ComponentPropsWithoutRef<typeof Provider>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const Tooltip: import("react").FC<import("@radix-ui/react-tooltip").TooltipProps>;
|
|
8
|
+
declare const TooltipTrigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-tooltip").TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
declare const TooltipContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-tooltip").TooltipContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
11
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/src/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,QAAQ,EAAiB,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAA0B,MAAM,OAAO,CAAC;AAGzE;;GAEG;AACH,QAAA,MAAM,eAAe,gCAAqC,yBAAyB,eAAe,CAAC,4CAElG,CAAC;AAEF,QAAA,MAAM,OAAO,oEAAO,CAAC;AAErB,QAAA,MAAM,cAAc,qJAAU,CAAC;AAE/B,QAAA,MAAM,cAAc,+MAcnB,CAAC;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { WithAsChild } from "./src/as-child";
|
|
2
|
+
export type { WithStyleProps } from "./src/with-style-props";
|
|
3
|
+
export type { VariantProps } from "./src/variant-props";
|
|
4
|
+
export type { DeepNonNullable } from "./src/deep-non-nullable";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility type for adding the `asChild` boolean prop to a component.
|
|
3
|
+
*/
|
|
4
|
+
export type WithAsChild = {
|
|
5
|
+
/**
|
|
6
|
+
* Use the `asChild` prop to compose Radix's functionality onto alternative
|
|
7
|
+
* element types or your own React components.
|
|
8
|
+
*
|
|
9
|
+
* All Radix primitive parts that render a DOM element accept an `asChild`
|
|
10
|
+
* prop. When `asChild` is set to `true`, Radix will not render a default DOM
|
|
11
|
+
* element, instead cloning the part's child and passing it the props and
|
|
12
|
+
* behavior required to make it functional.
|
|
13
|
+
*
|
|
14
|
+
* asChild can be used as deeply as you need to. This means it is a great way
|
|
15
|
+
* to compose multiple primitive's behavior together.
|
|
16
|
+
*
|
|
17
|
+
* @see https://www.radix-ui.com/docs/primitives/guides/composition#composition
|
|
18
|
+
*/
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=as-child.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"as-child.d.ts","sourceRoot":"","sources":["../../../../components/types/src/as-child.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACzB;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deep-non-nullable.d.ts","sourceRoot":"","sources":["../../../../components/types/src/deep-non-nullable.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,CAAC,IAAI,IAAI;KAClC,QAAQ,IAAI,MAAM,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;CAC/C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { VariantProps as CVAVariantProps } from "class-variance-authority";
|
|
2
|
+
import type { DeepNonNullable } from "./deep-non-nullable";
|
|
3
|
+
/**
|
|
4
|
+
* Variant props that are optional and cannot be `null`.
|
|
5
|
+
*
|
|
6
|
+
* Using VariantProps directly from CVA produces that can be `null`, which is not what we want.
|
|
7
|
+
*/
|
|
8
|
+
export type VariantProps<Variants extends (props?: Record<PropertyKey, unknown> | undefined) => string> = Partial<DeepNonNullable<CVAVariantProps<Variants>>>;
|
|
9
|
+
//# sourceMappingURL=variant-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variant-props.d.ts","sourceRoot":"","sources":["../../../../components/types/src/variant-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG,SAAS,KAAK,MAAM,IAAI,OAAO,CAChH,eAAe,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAC1C,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Helper type that includes an optional className and style prop for react
|
|
4
|
+
* components.
|
|
5
|
+
*/
|
|
6
|
+
export type WithStyleProps = {
|
|
7
|
+
/**
|
|
8
|
+
* A string. Specifies the element’s CSS class name.
|
|
9
|
+
*
|
|
10
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/className
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* An object with CSS styles, for example `{ fontWeight: 'bold', margin: 20 }`.
|
|
15
|
+
* Similarly to the DOM style property, the CSS property names need to be
|
|
16
|
+
* written as camelCase, for example fontWeight instead of font-weight.
|
|
17
|
+
* You can pass strings or numbers as values. If you pass a number, like
|
|
18
|
+
* `width: 100`, React will automatically append px (“pixels”) to the value
|
|
19
|
+
* unless it’s a unitless property.
|
|
20
|
+
*
|
|
21
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style
|
|
22
|
+
*/
|
|
23
|
+
style?: CSSProperties;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=with-style-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-style-props.d.ts","sourceRoot":"","sources":["../../../../components/types/src/with-style-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACtB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ $parcel$export($e4a151af04a6a62e$exports, "Button", function () { return $c2638d
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center justify-center rounded-md focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 whitespace-nowrap sm:text-sm", {
|
|
129
|
+
const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center justify-center rounded-md focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 whitespace-nowrap sm:text-sm aria-disabled:opacity-50", {
|
|
130
130
|
variants: {
|
|
131
131
|
appearance: {
|
|
132
132
|
outlined: "font-medium inline-flex h-11 sm:h-9 px-3 border bg-white dark:bg-gray-50 border-blue-600 text-blue-600 hover:bg-blue-500/5 dark:hover:bg-blue-500/5 active:bg-blue-500/10 focus-visible:ring-blue-500/25",
|
|
@@ -426,7 +426,7 @@ const $3e8792480c5dc036$export$1c41328978c69a88 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
426
426
|
]);
|
|
427
427
|
return /*#__PURE__*/ (0, $hLlzK$jsx)("pre", {
|
|
428
428
|
"aria-expanded": hasCodeExpander ? isCodeExpanded : undefined,
|
|
429
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)((0, $3107245668823796$export$fa66e0e5413be530)(language), "scrollbar overflow-x-auto overflow-y-hidden p-4 pr-[3.375rem] firefox:after:mr-[3.375rem] firefox:after:inline-block firefox:after:content-['']", "aria-
|
|
429
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)((0, $3107245668823796$export$fa66e0e5413be530)(language), "scrollbar overflow-x-auto overflow-y-hidden p-4 pr-[3.375rem] firefox:after:mr-[3.375rem] firefox:after:inline-block firefox:after:content-['']", "aria-collapsed:max-h-[13.6rem]", className),
|
|
430
430
|
"data-lang": language,
|
|
431
431
|
id: id,
|
|
432
432
|
ref: (node)=>{
|
|
@@ -678,19 +678,19 @@ $a54417aeb05f1278$export$d2469213b3befba9.displayName = "DropdownMenuTrigger";
|
|
|
678
678
|
const $a54417aeb05f1278$export$6e76d93a37c01248 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, gutter: gutter = 8, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Menu, {
|
|
679
679
|
gutter: gutter,
|
|
680
680
|
ref: ref,
|
|
681
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("z-50 min-w-[8rem] overflow-hidden rounded border border-gray-200 bg-card p-1.25 shadow-
|
|
681
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("z-50 min-w-[8rem] overflow-hidden rounded border border-gray-200 bg-card p-1.25 shadow-xl outline-none data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95", className),
|
|
682
682
|
...props
|
|
683
683
|
}));
|
|
684
684
|
$a54417aeb05f1278$export$6e76d93a37c01248.displayName = "DropdownMenuContent";
|
|
685
685
|
const $a54417aeb05f1278$export$ed97964d1871885d = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$MenuItem, {
|
|
686
686
|
ref: ref,
|
|
687
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex cursor-pointer select-none items-center rounded px-2 py-1.5 text-sm font-normal text-gray-900 outline-none data-
|
|
687
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex cursor-pointer select-none items-center rounded px-2 py-1.5 text-sm font-normal text-gray-900 outline-none data-active-item:bg-gray-100 data-disabled:pointer-events-none data-disabled:opacity-50 dark:data-active-item:bg-gray-200", className),
|
|
688
688
|
...props
|
|
689
689
|
}));
|
|
690
690
|
$a54417aeb05f1278$export$ed97964d1871885d.displayName = "DropdownMenuItem";
|
|
691
691
|
const $a54417aeb05f1278$export$53a69729da201fa9 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$MenuItemCheckbox, {
|
|
692
692
|
ref: ref,
|
|
693
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex cursor-pointer select-none items-center gap-2 rounded py-1.5 pl-2 pr-9 text-sm font-normal text-gray-900 outline-none data-
|
|
693
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex cursor-pointer select-none items-center gap-2 rounded py-1.5 pl-2 pr-9 text-sm font-normal text-gray-900 outline-none data-disabled:pointer-events-none data-disabled:opacity-50", "data-active-item:bg-gray-100 data-active-item:dark:bg-gray-200", "aria-checked:bg-blue-500 aria-checked:font-medium aria-checked:text-[#fff] aria-checked:data-active-item:dark-high-contrast:bg-blue-500 aria-checked:dark:bg-blue-500 aria-checked:data-active-item:dark:bg-blue-500", "data-active-item:text-ellipsis", className),
|
|
694
694
|
...props,
|
|
695
695
|
children: [
|
|
696
696
|
children,
|
|
@@ -702,7 +702,7 @@ const $a54417aeb05f1278$export$53a69729da201fa9 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
702
702
|
$a54417aeb05f1278$export$53a69729da201fa9.displayName = "DropdownMenuCheckboxItem";
|
|
703
703
|
const $a54417aeb05f1278$export$e4f69b41b1637536 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$MenuItemRadio, {
|
|
704
704
|
ref: ref,
|
|
705
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex cursor-pointer select-none items-center gap-2 rounded py-1.5 pl-2 pr-9 text-sm font-normal text-gray-900 outline-none data-
|
|
705
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex cursor-pointer select-none items-center gap-2 rounded py-1.5 pl-2 pr-9 text-sm font-normal text-gray-900 outline-none data-disabled:pointer-events-none data-disabled:opacity-50", "data-active-item:bg-gray-100 data-active-item:dark:bg-gray-200", "aria-checked:!bg-blue-500 aria-checked:font-medium aria-checked:text-[#fff] aria-checked:dark-high-contrast:text-gray-100", className),
|
|
706
706
|
...props,
|
|
707
707
|
children: [
|
|
708
708
|
children,
|
|
@@ -913,7 +913,7 @@ const $e1568f28b56f66ee$export$d7e1f420b25549ff = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
913
913
|
ref: ref,
|
|
914
914
|
align: align,
|
|
915
915
|
sideOffset: sideOffset,
|
|
916
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-
|
|
916
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95", className),
|
|
917
917
|
...props
|
|
918
918
|
})
|
|
919
919
|
}));
|
|
@@ -1011,7 +1011,7 @@ $b0b413c594e2809e$export$ff951e476c12189.displayName = "SelectScrollDownButton";
|
|
|
1011
1011
|
const $b0b413c594e2809e$export$c973a4b3cb86a03d = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, position: position = "popper", width: width, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Portal1, {
|
|
1012
1012
|
children: /*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Content1, {
|
|
1013
1013
|
ref: ref,
|
|
1014
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-200 shadow-md data-
|
|
1014
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-200 shadow-md data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95", "bg-card dark:bg-gray-100", position === "popper" && "max-h-[var(--radix-select-content-available-height)] data-side-bottom:translate-y-2 data-side-left:-translate-x-2 data-side-right:translate-x-2 data-side-top:-translate-y-2", width === "trigger" && "w-[var(--radix-select-trigger-width)]", className),
|
|
1015
1015
|
position: position,
|
|
1016
1016
|
...props,
|
|
1017
1017
|
children: [
|
|
@@ -1033,7 +1033,7 @@ const $b0b413c594e2809e$export$f67338d29bd972f8 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
1033
1033
|
$b0b413c594e2809e$export$f67338d29bd972f8.displayName = "SelectLabel";
|
|
1034
1034
|
const $b0b413c594e2809e$export$13ef48a934230896 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Item, {
|
|
1035
1035
|
ref: ref,
|
|
1036
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex w-full cursor-pointer select-none items-center rounded py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-gray-100 data-
|
|
1036
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("relative flex w-full cursor-pointer select-none items-center rounded py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-gray-100 data-disabled:pointer-events-none data-disabled:opacity-50 data-state-checked:bg-blue-500 data-state-checked:text-[#fff] dark:focus:bg-gray-200 data-state-checked:dark:bg-blue-500", className),
|
|
1037
1037
|
...props,
|
|
1038
1038
|
children: [
|
|
1039
1039
|
/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$ItemText, {
|
|
@@ -1083,18 +1083,18 @@ const $de4859618f6880e3$export$de69b9b0343a1903 = $hLlzK$Trigger2;
|
|
|
1083
1083
|
const $de4859618f6880e3$export$99d85c8298ee6511 = $hLlzK$Close;
|
|
1084
1084
|
const $de4859618f6880e3$export$721c917f47f6cb = $hLlzK$Portal2;
|
|
1085
1085
|
const $de4859618f6880e3$export$48dbb295cbd054d8 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Overlay, {
|
|
1086
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("fixed inset-0 z-50 bg-background/80 blur
|
|
1086
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("fixed inset-0 z-50 bg-background/80 backdrop-blur-[2px] data-state-closed:animate-out data-state-closed:fade-out-0 data-state-open:animate-in data-state-open:fade-in-0", className),
|
|
1087
1087
|
...props,
|
|
1088
1088
|
ref: ref
|
|
1089
1089
|
}));
|
|
1090
1090
|
$de4859618f6880e3$export$48dbb295cbd054d8.displayName = $hLlzK$Overlay.displayName;
|
|
1091
|
-
const $de4859618f6880e3$var$SheetVariants = (0, $hLlzK$cva)("fixed z-50 flex flex-col bg-background shadow-lg transition ease-in-out data-
|
|
1091
|
+
const $de4859618f6880e3$var$SheetVariants = (0, $hLlzK$cva)("fixed z-50 flex flex-col bg-background shadow-lg transition ease-in-out data-state-open:animate-in data-state-closed:animate-out data-state-closed:duration-100 data-state-open:duration-100", {
|
|
1092
1092
|
variants: {
|
|
1093
1093
|
side: {
|
|
1094
|
-
top: "inset-x-0 top-0 border-b data-
|
|
1095
|
-
bottom: "inset-x-0 bottom-0 border-t data-
|
|
1096
|
-
left: "inset-y-0 left-0 h-full w-full border-r data-
|
|
1097
|
-
right: "inset-y-0 right-0 h-full w-full border-l data-
|
|
1094
|
+
top: "inset-x-0 top-0 border-b data-state-closed:slide-out-to-top data-state-open:slide-in-from-top",
|
|
1095
|
+
bottom: "inset-x-0 bottom-0 border-t data-state-closed:slide-out-to-bottom data-state-open:slide-in-from-bottom",
|
|
1096
|
+
left: "inset-y-0 left-0 h-full w-full border-r data-state-closed:slide-out-to-left data-state-open:slide-in-from-left sm:max-w-sm",
|
|
1097
|
+
right: "inset-y-0 right-0 h-full w-full border-l data-state-closed:slide-out-to-right data-state-open:slide-in-from-right sm:max-w-sm"
|
|
1098
1098
|
}
|
|
1099
1099
|
},
|
|
1100
1100
|
defaultVariants: {
|
|
@@ -1113,7 +1113,7 @@ const $de4859618f6880e3$export$fe5ec5b76996e2d3 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
1113
1113
|
children: [
|
|
1114
1114
|
children,
|
|
1115
1115
|
/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Close, {
|
|
1116
|
-
className: "ring-offset-background absolute right-4 top-4 rounded opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-
|
|
1116
|
+
className: "ring-offset-background absolute right-4 top-4 rounded opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-state-open:bg-secondary",
|
|
1117
1117
|
children: [
|
|
1118
1118
|
/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$X), {
|
|
1119
1119
|
className: "h-6 w-6"
|
|
@@ -1130,7 +1130,7 @@ const $de4859618f6880e3$export$fe5ec5b76996e2d3 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
1130
1130
|
}));
|
|
1131
1131
|
$de4859618f6880e3$export$fe5ec5b76996e2d3.displayName = $hLlzK$Content2.displayName;
|
|
1132
1132
|
const $de4859618f6880e3$export$8e574df6e3b8d781 = ({ className: className, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
1133
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("flex-1 overflow-y-auto p-6", className),
|
|
1133
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("scrollbar flex-1 overflow-y-auto p-6", className),
|
|
1134
1134
|
...props
|
|
1135
1135
|
});
|
|
1136
1136
|
const $de4859618f6880e3$export$de7da2aaa45f2eb5 = ({ className: className, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
@@ -1220,7 +1220,7 @@ const $fd75fdf931689c59$export$1f116082bba1f9a8 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
1220
1220
|
$fd75fdf931689c59$export$1f116082bba1f9a8.displayName = "TableFooter";
|
|
1221
1221
|
const $fd75fdf931689c59$export$b05581f4e764e162 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("tr", {
|
|
1222
1222
|
ref: ref,
|
|
1223
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("border-b border-gray-300 hover:bg-gray-200/50 data-
|
|
1223
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("border-b border-gray-300 hover:bg-gray-200/50 data-state-selected:bg-gray-200", className),
|
|
1224
1224
|
...props
|
|
1225
1225
|
}));
|
|
1226
1226
|
$fd75fdf931689c59$export$b05581f4e764e162.displayName = "TableRow";
|
|
@@ -1519,21 +1519,24 @@ $parcel$export($d2d52c6753841931$exports, "TooltipProvider", function () { retur
|
|
|
1519
1519
|
|
|
1520
1520
|
|
|
1521
1521
|
|
|
1522
|
-
|
|
1522
|
+
/**
|
|
1523
|
+
* Wraps your app to provide global functionality to your tooltips.
|
|
1524
|
+
*/ const $aae96005fa706805$export$f78649fb9ca566b8 = ({ delayDuration: delayDuration = 0, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$Provider), {
|
|
1525
|
+
delayDuration: delayDuration !== null && delayDuration !== void 0 ? delayDuration : 0,
|
|
1526
|
+
...props
|
|
1527
|
+
});
|
|
1523
1528
|
const $aae96005fa706805$export$28c660c63b792dea = (0, $hLlzK$Root3);
|
|
1524
1529
|
const $aae96005fa706805$export$8c610744efcf8a1d = (0, $hLlzK$Trigger3);
|
|
1525
|
-
const $aae96005fa706805$export$e9003e2be37ec060 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, sideOffset: sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$Content3), {
|
|
1530
|
+
const $aae96005fa706805$export$e9003e2be37ec060 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ children: children, className: className, sideOffset: sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$Content3), {
|
|
1526
1531
|
ref: ref,
|
|
1527
1532
|
sideOffset: sideOffset,
|
|
1528
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow animate-in fade-in-0 zoom-in-95 data-
|
|
1529
|
-
...props
|
|
1533
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95", className),
|
|
1534
|
+
...props,
|
|
1535
|
+
children: children
|
|
1530
1536
|
}));
|
|
1531
|
-
$aae96005fa706805$export$e9003e2be37ec060.displayName =
|
|
1532
|
-
|
|
1533
|
-
|
|
1537
|
+
$aae96005fa706805$export$e9003e2be37ec060.displayName = "TooltipContent";
|
|
1534
1538
|
|
|
1535
1539
|
|
|
1536
|
-
var $930e48a10c6e5fee$exports = {};
|
|
1537
1540
|
|
|
1538
1541
|
|
|
1539
1542
|
|