@gears-frontx/ui-kit 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/dist/alert.js +35 -24
- package/dist/alert.js.map +1 -1
- package/dist/attachment.js +117 -76
- package/dist/attachment.js.map +1 -1
- package/dist/avatar.js +43 -43
- package/dist/badge.js +14 -14
- package/dist/card.js +81 -44
- package/dist/card.js.map +1 -1
- package/dist/chart.js +50 -50
- package/dist/chunks/alert.Csv2-ccF.css +1 -0
- package/dist/chunks/attachment.BRyIQq3F.css +1 -0
- package/dist/chunks/avatar.7EUG65-M.css +1 -0
- package/dist/chunks/badge.BwUxa9PB.css +1 -0
- package/dist/chunks/card.DSiUMxGK.css +1 -0
- package/dist/chunks/chart.B9cGEno8.css +1 -0
- package/dist/chunks/code-block.r7Cm0ncj.css +1 -0
- package/dist/chunks/description-list.Cx-vFGJL.css +1 -0
- package/dist/chunks/dialog.CIR9bQoU.css +1 -0
- package/dist/chunks/dropdown-menu.DT1_JLqL.css +1 -0
- package/dist/chunks/empty.DWqLrSfF.css +1 -0
- package/dist/chunks/heading.DQxQs5po.css +1 -0
- package/dist/chunks/item.BQ70Khqj.css +1 -0
- package/dist/chunks/link.BOE4f-aB.css +1 -0
- package/dist/chunks/message-scroller.CBjPcz8Y.css +1 -0
- package/dist/chunks/pagination.BAAl9D_S.css +1 -0
- package/dist/chunks/{select.BFwI5rhI.css → select.C3sLDoZI.css} +1 -1
- package/dist/chunks/sheet.BkZyzAbA.css +1 -0
- package/dist/chunks/sidebar.Dw_e0Jqw.css +1 -0
- package/dist/chunks/slider.DY1XDCPw.css +1 -0
- package/dist/chunks/status-dot.39NKkKQF.css +1 -0
- package/dist/chunks/tabs.BqhiMRUP.css +1 -0
- package/dist/chunks/text.7frjnkUr.css +1 -0
- package/dist/chunks/visually-hidden.Bd2oAR5D.css +1 -0
- package/dist/code-block.d.ts +1 -0
- package/dist/code-block.js +152 -0
- package/dist/code-block.js.map +1 -0
- package/dist/command.js +63 -48
- package/dist/command.js.map +1 -1
- package/dist/components/alert/alert.d.ts +3 -2
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/attachment/attachment.d.ts +10 -3
- package/dist/components/attachment/attachment.d.ts.map +1 -1
- package/dist/components/card/card.d.ts +6 -4
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/code-block/code-block.d.ts +57 -0
- package/dist/components/code-block/code-block.d.ts.map +1 -0
- package/dist/components/code-block/public.d.ts +2 -0
- package/dist/components/code-block/public.d.ts.map +1 -0
- package/dist/components/command/command.d.ts +1 -1
- package/dist/components/command/command.d.ts.map +1 -1
- package/dist/components/description-list/description-list.d.ts +21 -0
- package/dist/components/description-list/description-list.d.ts.map +1 -0
- package/dist/components/description-list/public.d.ts +2 -0
- package/dist/components/description-list/public.d.ts.map +1 -0
- package/dist/components/empty/empty.d.ts +3 -2
- package/dist/components/empty/empty.d.ts.map +1 -1
- package/dist/components/heading/heading.d.ts +10 -0
- package/dist/components/heading/heading.d.ts.map +1 -0
- package/dist/components/heading/public.d.ts +2 -0
- package/dist/components/heading/public.d.ts.map +1 -0
- package/dist/components/input-otp/input-otp.d.ts +1 -1
- package/dist/components/input-otp/input-otp.d.ts.map +1 -1
- package/dist/components/item/item.d.ts +15 -6
- package/dist/components/item/item.d.ts.map +1 -1
- package/dist/components/link/link.d.ts +18 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/link/public.d.ts +2 -0
- package/dist/components/link/public.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +13 -3
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/slider/slider.d.ts +1 -1
- package/dist/components/slider/slider.d.ts.map +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/text/public.d.ts +2 -0
- package/dist/components/text/public.d.ts.map +1 -0
- package/dist/components/text/text.d.ts +11 -0
- package/dist/components/text/text.d.ts.map +1 -0
- package/dist/components/visually-hidden/public.d.ts +2 -0
- package/dist/components/visually-hidden/public.d.ts.map +1 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts +4 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -0
- package/dist/data-grid/pagination.js +35 -35
- package/dist/description-list.d.ts +1 -0
- package/dist/description-list.js +78 -0
- package/dist/description-list.js.map +1 -0
- package/dist/dialog.js +38 -38
- package/dist/docs/alert.md +8 -2
- package/dist/docs/attachment.md +20 -8
- package/dist/docs/avatar.md +8 -2
- package/dist/docs/badge.md +12 -11
- package/dist/docs/button.md +16 -4
- package/dist/docs/calendar.md +6 -0
- package/dist/docs/card.md +38 -6
- package/dist/docs/carousel.md +4 -2
- package/dist/docs/chart.md +23 -0
- package/dist/docs/code-block.md +114 -0
- package/dist/docs/data-grid.md +2 -0
- package/dist/docs/description-list.md +53 -0
- package/dist/docs/drawer.md +1 -1
- package/dist/docs/empty.md +9 -3
- package/dist/docs/heading.md +60 -0
- package/dist/docs/item.md +70 -3
- package/dist/docs/link.md +48 -0
- package/dist/docs/message-scroller.md +5 -0
- package/dist/docs/questionnaire.md +1 -1
- package/dist/docs/sheet.md +20 -3
- package/dist/docs/sidebar.md +27 -0
- package/dist/docs/status-dot.md +2 -2
- package/dist/docs/switch.md +10 -4
- package/dist/docs/text.md +51 -0
- package/dist/docs/visually-hidden.md +44 -0
- package/dist/dropdown-menu.js +56 -56
- package/dist/empty.js +47 -36
- package/dist/empty.js.map +1 -1
- package/dist/heading.d.ts +1 -0
- package/dist/heading.js +36 -0
- package/dist/heading.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +427 -401
- package/dist/index.js.map +1 -1
- package/dist/input-otp.js +34 -20
- package/dist/input-otp.js.map +1 -1
- package/dist/item.js +119 -71
- package/dist/item.js.map +1 -1
- package/dist/link.d.ts +1 -0
- package/dist/link.js +55 -0
- package/dist/link.js.map +1 -0
- package/dist/message-scroller.js +24 -24
- package/dist/select.js +45 -45
- package/dist/sheet.js +41 -41
- package/dist/sidebar.js +207 -193
- package/dist/sidebar.js.map +1 -1
- package/dist/slider.js +34 -21
- package/dist/slider.js.map +1 -1
- package/dist/status-dot.js +25 -25
- package/dist/table.js +172 -157
- package/dist/table.js.map +1 -1
- package/dist/tabs.js +14 -14
- package/dist/text.d.ts +1 -0
- package/dist/text.js +53 -0
- package/dist/text.js.map +1 -0
- package/dist/theme.css +29 -6
- package/dist/utilities.css +25 -2
- package/dist/visually-hidden.d.ts +1 -0
- package/dist/visually-hidden.js +18 -0
- package/dist/visually-hidden.js.map +1 -0
- package/llms.txt +72 -15
- package/package.json +1 -4
- package/dist/chunks/alert.DsgRIXLn.css +0 -1
- package/dist/chunks/attachment.CZuZdlXC.css +0 -1
- package/dist/chunks/avatar.BMm-Z9l5.css +0 -1
- package/dist/chunks/badge.BCreEn3O.css +0 -1
- package/dist/chunks/card.DdBl-usf.css +0 -1
- package/dist/chunks/chart.CeyctrXQ.css +0 -1
- package/dist/chunks/dialog.Cpo8vChK.css +0 -1
- package/dist/chunks/dropdown-menu.TU3FHXbJ.css +0 -1
- package/dist/chunks/empty.DnAKlw2g.css +0 -1
- package/dist/chunks/item.BkcgydVc.css +0 -1
- package/dist/chunks/message-scroller.CbLooS7Q.css +0 -1
- package/dist/chunks/pagination.Cn8tIWMX.css +0 -1
- package/dist/chunks/sheet.BWvXXyXk.css +0 -1
- package/dist/chunks/sidebar.DdEvMURX.css +0 -1
- package/dist/chunks/slider.inyNxx4y.css +0 -1
- package/dist/chunks/status-dot.DWa2qGKe.css +0 -1
- package/dist/chunks/tabs.DFa0OYMo.css +0 -1
|
@@ -40,5 +40,5 @@ export declare function CommandItem({ className, ...props }: CommandItemProps):
|
|
|
40
40
|
export type CommandShortcutProps = ComponentProps<'span'>;
|
|
41
41
|
export declare function CommandShortcut({ className, ...props }: CommandShortcutProps): import("react").JSX.Element;
|
|
42
42
|
export type CommandSeparatorProps = ComponentProps<typeof CommandPrimitive.Separator>;
|
|
43
|
-
export declare function CommandSeparator({ className, ...props }: CommandSeparatorProps): import("react").JSX.Element;
|
|
43
|
+
export declare function CommandSeparator({ className, alwaysRender, asChild, children, ...props }: CommandSeparatorProps): import("react").JSX.Element | null;
|
|
44
44
|
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/components/command/command.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/components/command/command.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAmB,MAAM,MAAM,CAAC;AAGpE,OAAO,EAAgB,KAAK,cAAc,EAAkB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1F,OAAO,EAML,KAAK,WAAW,EACjB,MAAM,qBAAqB,CAAC;AAG7B,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,+BAE5D;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IACvE;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,mHAAmH;IACnH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAyB,EACzB,WAA8C,EAC9C,QAAQ,EACR,SAAS,EACT,eAAuB,EACvB,GAAG,KAAK,EACT,EAAE,kBAAkB,+BAuBpB;AAED,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,gB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AAK,EACT,EAAE,qBAAqB,sCAoBvB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
declare const descriptionListVariants: (props?: ({
|
|
4
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
declare const descriptionDetailsVariants: (props?: ({
|
|
8
|
+
typography?: "body" | "mono" | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
export interface DescriptionListProps extends ComponentProps<'dl'>, VariantProps<typeof descriptionListVariants> {
|
|
11
|
+
}
|
|
12
|
+
export declare function DescriptionList({ className, orientation, size, ...props }: DescriptionListProps): import("react").JSX.Element;
|
|
13
|
+
export type DescriptionListItemProps = ComponentProps<'div'>;
|
|
14
|
+
export declare function DescriptionListItem({ className, ...props }: DescriptionListItemProps): import("react").JSX.Element;
|
|
15
|
+
export type DescriptionListTermProps = ComponentProps<'dt'>;
|
|
16
|
+
export declare function DescriptionListTerm({ className, ...props }: DescriptionListTermProps): import("react").JSX.Element;
|
|
17
|
+
export interface DescriptionListDetailsProps extends ComponentProps<'dd'>, VariantProps<typeof descriptionDetailsVariants> {
|
|
18
|
+
}
|
|
19
|
+
export declare function DescriptionListDetails({ className, typography, ...props }: DescriptionListDetailsProps): import("react").JSX.Element;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=description-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-list.d.ts","sourceRoot":"","sources":["../../../src/components/description-list/description-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW5C,QAAA,MAAM,uBAAuB;;;8EAe3B,CAAC;AAGH,QAAA,MAAM,0BAA0B;;8EAU9B,CAAC;AAEH,MAAM,WAAW,oBACf,SAAQ,cAAc,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,uBAAuB,CAAC;CAAG;AAE/E,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAW/F;AAED,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE7D,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,+BAEpF;AAED,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAE5D,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,+BAEpF;AAED,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,0BAA0B,CAAC;CAAG;AAElF,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,UAAU,EACV,GAAG,KAAK,EACT,EAAE,2BAA2B,+BAO7B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { DescriptionListDetails, DescriptionListItem, DescriptionList, DescriptionListTerm, type DescriptionListDetailsProps, type DescriptionListItemProps, type DescriptionListProps, type DescriptionListTermProps, } from './description-list.js';
|
|
2
|
+
//# sourceMappingURL=public.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/description-list/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
import { ComponentProps } from 'react';
|
|
3
4
|
export type EmptyProps = ComponentProps<'div'>;
|
|
@@ -13,8 +14,8 @@ export interface EmptyMediaProps extends ComponentProps<'div'>, VariantProps<typ
|
|
|
13
14
|
* treatment uses; `variant="default"` (the default) stays transparent —
|
|
14
15
|
* for an illustration or image that already carries its own chrome. */
|
|
15
16
|
export declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps): import("react").JSX.Element;
|
|
16
|
-
export type EmptyTitleProps = ComponentProps<'div'>;
|
|
17
|
-
export declare function EmptyTitle({ className, ...props }: EmptyTitleProps): import(
|
|
17
|
+
export type EmptyTitleProps = useRender.ComponentProps<'div'>;
|
|
18
|
+
export declare function EmptyTitle({ className, render, ...props }: EmptyTitleProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
18
19
|
export type EmptyDescriptionProps = ComponentProps<'div'>;
|
|
19
20
|
export declare function EmptyDescription({ className, ...props }: EmptyDescriptionProps): import("react").JSX.Element;
|
|
20
21
|
export type EmptyContentProps = ComponentProps<'div'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["../../../src/components/empty/empty.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["../../../src/components/empty/empty.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW5C,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE/C,wBAAgB,KAAK,CAAC,EA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BAAiB,+BAEtE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const headingVariants: (props?: ({
|
|
4
|
+
typography?: "display" | "heading-1" | "heading-2" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export interface HeadingProps extends useRender.ComponentProps<'h2'>, VariantProps<typeof headingVariants> {
|
|
7
|
+
}
|
|
8
|
+
export declare function Heading({ className, typography, render, ...props }: HeadingProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
9
|
+
export { headingVariants };
|
|
10
|
+
//# sourceMappingURL=heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/components/heading/heading.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAalE,QAAA,MAAM,eAAe;;8EAWnB,CAAC;AAEH,MAAM,WAAW,YACf,SAAQ,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,eAAe,CAAC;CAAG;AAEjF,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,8FAYhF;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/heading/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ComponentProps } from 'react';
|
|
|
3
3
|
export interface InputOtpProps extends Omit<OTPFieldPrimitive.Root.Props, 'className'> {
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function InputOtp({ className, ...props }: InputOtpProps): import("react").JSX.Element;
|
|
6
|
+
export declare function InputOtp({ className, children, ...props }: InputOtpProps): import("react").JSX.Element;
|
|
7
7
|
export type InputOtpGroupProps = ComponentProps<'div'>;
|
|
8
8
|
export declare function InputOtpGroup({ className, ...props }: InputOtpGroupProps): import("react").JSX.Element;
|
|
9
9
|
export interface InputOtpSlotProps extends Omit<OTPFieldPrimitive.Input.Props, 'className'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../../../src/components/input-otp/input-otp.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../../../src/components/input-otp/input-otp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,EAAE,KAAK,cAAc,EAAoC,MAAM,OAAO,CAAC;AAoB9E,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkBD,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAiBxE;AAMD,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAExE;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC;IACzF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAStE;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,+BAM1F"}
|
|
@@ -12,9 +12,9 @@ export type ItemProps = useRender.ComponentProps<'div', {
|
|
|
12
12
|
variant: ItemVariant;
|
|
13
13
|
size: ItemSize;
|
|
14
14
|
}> & VariantProps<typeof itemVariants>;
|
|
15
|
-
export declare function Item({ className, variant, size, render, ...props }: ItemProps): import(
|
|
15
|
+
export declare function Item({ className, variant, size, render, ...props }: ItemProps): import("react").JSX.Element;
|
|
16
16
|
declare const itemMediaVariants: (props?: ({
|
|
17
|
-
variant?: "image" | "default" | "icon" | null | undefined;
|
|
17
|
+
variant?: "image" | "default" | "icon" | "chip" | "chip-round" | null | undefined;
|
|
18
18
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
19
19
|
export interface ItemMediaProps extends ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {
|
|
20
20
|
}
|
|
@@ -25,9 +25,18 @@ export declare function ItemMedia({ className, variant, ...props }: ItemMediaPro
|
|
|
25
25
|
export type ItemContentProps = ComponentProps<'div'>;
|
|
26
26
|
export declare function ItemContent({ className, ...props }: ItemContentProps): import("react").JSX.Element;
|
|
27
27
|
export type ItemTitleProps = ComponentProps<'div'>;
|
|
28
|
-
export declare function ItemTitle({ className, ...props }: ItemTitleProps): import("react").JSX.Element;
|
|
29
|
-
export
|
|
30
|
-
|
|
28
|
+
export declare function ItemTitle({ className, children, ...props }: ItemTitleProps): import("react").JSX.Element;
|
|
29
|
+
export interface ItemDescriptionProps extends ComponentProps<'p'> {
|
|
30
|
+
/**
|
|
31
|
+
* Lines shown before the text is cut with an ellipsis, rounded down to a
|
|
32
|
+
* whole line. `'none'` shows the full text; a number below 1 or a
|
|
33
|
+
* non-finite one does the same, so a description never clamps to zero
|
|
34
|
+
* lines.
|
|
35
|
+
* @default 2
|
|
36
|
+
*/
|
|
37
|
+
lineClamp?: number | 'none';
|
|
38
|
+
}
|
|
39
|
+
export declare function ItemDescription({ className, style, lineClamp, ...props }: ItemDescriptionProps): import("react").JSX.Element;
|
|
31
40
|
export type ItemActionsProps = ComponentProps<'div'>;
|
|
32
41
|
export declare function ItemActions({ className, ...props }: ItemActionsProps): import("react").JSX.Element;
|
|
33
42
|
export type ItemHeaderProps = ComponentProps<'div'>;
|
|
@@ -38,7 +47,7 @@ export type ItemGroupProps = ComponentProps<'div'>;
|
|
|
38
47
|
/** A `role="list"` container for a run of `Item`s, spacing them apart
|
|
39
48
|
* (the gap shrinks to match the smallest `size` of Item it contains — see
|
|
40
49
|
* item.module.css). */
|
|
41
|
-
export declare function ItemGroup({ className, ...props }: ItemGroupProps): import("react").JSX.Element;
|
|
50
|
+
export declare function ItemGroup({ className, role, ...props }: ItemGroupProps): import("react").JSX.Element;
|
|
42
51
|
/** A divider between `Item`s, built on the kit's own `Separator` — same
|
|
43
52
|
* composition idiom as `field.tsx`'s `FieldSeparator`. */
|
|
44
53
|
export type ItemSeparatorProps = SeparatorProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/components/item/item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/components/item/item.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAGL,KAAK,cAAc,EAOpB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAa,KAAK,cAAc,EAAE,MA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AAM,CAAC;CAC7B;AAYD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,SAAa,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAUlG;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAErD,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAEpE;AAED,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpD,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAElE;AAED,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpD,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAElE;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnD;;uBAEuB;AAGvB,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,IAAa,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BAM/E;AAED;0DAC0D;AAC1D,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAOhD,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BASxE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const linkVariants: (props?: ({
|
|
4
|
+
variant?: "inherit" | "default" | "muted" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export interface LinkProps extends useRender.ComponentProps<'a'>, VariantProps<typeof linkVariants> {
|
|
7
|
+
/**
|
|
8
|
+
* A link that leaves the application: opens in a new tab
|
|
9
|
+
* (`target="_blank"`, `rel="noopener noreferrer"` unless the caller passes
|
|
10
|
+
* its own) and appends an arrow icon hidden from assistive technology. The
|
|
11
|
+
* accessible wording ("opens in a new tab") stays with the caller.
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
external?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function Link({ className, variant, external, render, children, target, rel, ...props }: LinkProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
17
|
+
export { linkVariants };
|
|
18
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link/link.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAalE,QAAA,MAAM,YAAY;;8EAWhB,CAAC;AAEH,MAAM,WAAW,SACf,SAAQ,SAAS,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;IACxE;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,OAAO,EACP,QAAgB,EAChB,MAAM,EACN,QAAQ,EACR,MAAM,EACN,GAAG,EACH,GAAG,KAAK,EACT,EAAE,SAAS,8FAyBX;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/link/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -51,8 +51,18 @@ export interface SidebarProviderProps extends Omit<ComponentProps<'div'>, 'class
|
|
|
51
51
|
* for free by simply passing this through.
|
|
52
52
|
*/
|
|
53
53
|
onOpenChange?: (open: boolean) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Lay the sidebar out inside a bounded container (a panel, a card, a
|
|
56
|
+
* page section) instead of against the viewport: the wrapper fills its
|
|
57
|
+
* parent rather than the screen height, and a `collapsible="none"`
|
|
58
|
+
* Sidebar sticks to the top of it with a border toward the content. On a
|
|
59
|
+
* narrow screen the sidebar stacks above the content and its list caps
|
|
60
|
+
* its height and scrolls.
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
contained?: boolean;
|
|
54
64
|
}
|
|
55
|
-
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange, className, style, children, ...props }: SidebarProviderProps): import("react").JSX.Element;
|
|
65
|
+
export declare function SidebarProvider({ defaultOpen, contained, open: openProp, onOpenChange, className, style, children, ...props }: SidebarProviderProps): import("react").JSX.Element;
|
|
56
66
|
export interface SidebarProps extends Omit<ComponentProps<'div'>, 'className'> {
|
|
57
67
|
className?: string;
|
|
58
68
|
/** Which edge the sidebar is anchored to. @default 'left' */
|
|
@@ -87,8 +97,8 @@ export type SidebarRailProps = Omit<ComponentProps<'button'>, 'children'>;
|
|
|
87
97
|
* stop with no visible focus target.
|
|
88
98
|
*/
|
|
89
99
|
export declare function SidebarRail({ className, onClick, ...props }: SidebarRailProps): import("react").JSX.Element;
|
|
90
|
-
export type SidebarInsetProps = ComponentProps<'main'>;
|
|
91
|
-
export declare function SidebarInset({ className, ...props }: SidebarInsetProps): import(
|
|
100
|
+
export type SidebarInsetProps = useRender.ComponentProps<'main'>;
|
|
101
|
+
export declare function SidebarInset({ className, render, ...props }: SidebarInsetProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
92
102
|
export type SidebarInputProps = InputProps;
|
|
93
103
|
export declare function SidebarInput({ className, ...props }: SidebarInputProps): import("react").JSX.Element;
|
|
94
104
|
export type SidebarHeaderProps = ComponentProps<'div'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3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,MAAM,EAAE,WAAmB,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,8FAS7G;AAED,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE1D,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAE9E;AAED,MAAM,WAAW,wBAAyB,SAAQ,cAAc,CAAC,KAAK,CAAC;IACrE,uFAAuF;IACvF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAeD,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAgB,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,+BAmB7G;AAED,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAEvD,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAE1E;AAED,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAE3D,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,+BAElF;AAED,QAAA,MAAM,4BAA4B;;8EAUhC,CAAC;AAEH,MAAM,WAAW,yBACf,SAAQ,SAAS,CAAC,cAAc,CAAC,GAAG,CAAC,EACnC,YAAY,CAAC,OAAO,4BAA4B,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,IAAI,EACJ,QAAgB,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,yBAAyB,8FAW3B"}
|
|
@@ -2,5 +2,5 @@ import { Slider as SliderPrimitive } from '@base-ui/react/slider';
|
|
|
2
2
|
export interface SliderProps<Value extends number | readonly number[] = number | readonly number[]> extends Omit<SliderPrimitive.Root.Props<Value>, 'className'> {
|
|
3
3
|
className?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function Slider<Value extends number | readonly number[] = number | readonly number[]>({ className, defaultValue, value, min, max, ...props }: SliderProps<Value>): import("react").JSX.Element;
|
|
5
|
+
export declare function Slider<Value extends number | readonly number[] = number | readonly number[]>({ className, defaultValue, value, min, max, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: SliderProps<Value>): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKlE,MAAM,WAAW,WAAW,CAAC,KAAK,SAAS,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,CAChG,SAAQ,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKlE,MAAM,WAAW,WAAW,CAAC,KAAK,SAAS,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,CAChG,SAAQ,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAwCD,wBAAgB,MAAM,CAAC,KAAK,SAAS,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,EAAE,EAC5F,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,KAAK,CAAC,+BA+BpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/components/table/table.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAGlB,KAAK,GAAG,EAKT,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/components/table/table.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAGlB,KAAK,GAAG,EAKT,MAAM,OAAO,CAAC;AAqYf,QAAA,MAAM,aAAa;;8EAejB,CAAC;AAEH,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;IAC7F;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IACnC;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,KAAK,EACL,OAAO,EACP,OAAO,EACP,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,GAAG,K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+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/text/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const textVariants: (props?: ({
|
|
4
|
+
typography?: "body" | "label" | "meta" | "mono" | "micro" | "kpi" | "kpi-lg" | null | undefined;
|
|
5
|
+
tone?: "default" | "muted" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface TextProps extends useRender.ComponentProps<'p'>, VariantProps<typeof textVariants> {
|
|
8
|
+
}
|
|
9
|
+
export declare function Text({ className, typography, tone, render, ...props }: TextProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
10
|
+
export { textVariants };
|
|
11
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/text/text.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAalE,QAAA,MAAM,YAAY;;;8EAoBhB,CAAC;AAEH,MAAM,WAAW,SAAU,SAAQ,SAAS,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAEtG,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,8FAchF;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/visually-hidden/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
export type VisuallyHiddenProps = useRender.ComponentProps<'span'>;
|
|
3
|
+
export declare function VisuallyHidden({ className, render, ...props }: VisuallyHiddenProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=visually-hidden.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../../src/components/visually-hidden/visually-hidden.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAYtD,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AAEnE,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,8FAMlF"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { i as
|
|
4
|
-
import { create as
|
|
5
|
-
import { u as
|
|
6
|
-
import { useMemo as
|
|
2
|
+
import { jsxs as y, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { i as G } from "../chunks/deep-equal.js";
|
|
4
|
+
import { create as I } from "zustand";
|
|
5
|
+
import { u as H, c as k } from "../chunks/plugins-helpers.js";
|
|
6
|
+
import { useMemo as N, memo as x } from "react";
|
|
7
7
|
import { S as D } from "../chunks/segment.js";
|
|
8
8
|
import { m as P } from "../chunks/messages.js";
|
|
9
|
-
import { Pagination as V, PaginationContent as E, PaginationItem as C, PaginationPreviousButton as j, PaginationButton as
|
|
10
|
-
import { ToggleGroupItem as
|
|
11
|
-
import '../chunks/pagination.
|
|
12
|
-
dataGridPagination:
|
|
13
|
-
}, v = 1, u = 1,
|
|
9
|
+
import { Pagination as V, PaginationContent as E, PaginationItem as C, PaginationPreviousButton as j, PaginationButton as w, PaginationEllipsis as B, PaginationNextButton as R } from "../pagination.js";
|
|
10
|
+
import { ToggleGroupItem as T } from "../toggle-group.js";
|
|
11
|
+
import '../chunks/pagination.BAAl9D_S.css';const A = "_dataGridPagination_68oip_1", O = {
|
|
12
|
+
dataGridPagination: A
|
|
13
|
+
}, v = 1, u = 1, $ = v * 2 + u * 2 + 3;
|
|
14
14
|
function p(e, t) {
|
|
15
15
|
const n = [];
|
|
16
16
|
for (let a = e; a <= t; a++)
|
|
@@ -20,9 +20,9 @@ function p(e, t) {
|
|
|
20
20
|
function h(e) {
|
|
21
21
|
return e.map((t) => ({ type: "page", page: t }));
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function q(e, t) {
|
|
24
24
|
if (t <= 0) return [];
|
|
25
|
-
if (t <=
|
|
25
|
+
if (t <= $)
|
|
26
26
|
return h(p(1, t));
|
|
27
27
|
const n = Math.max(e - v, u + 1), a = Math.min(e + v, t - u), g = n > u + 2, f = a < t - u - 1;
|
|
28
28
|
if (!g && f) {
|
|
@@ -49,14 +49,14 @@ function z(e, t) {
|
|
|
49
49
|
...h(p(t - u + 1, t))
|
|
50
50
|
];
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
52
|
+
function z(e, t) {
|
|
53
|
+
return N(() => q(e, t), [e, t]);
|
|
54
54
|
}
|
|
55
|
-
const F = "
|
|
55
|
+
const F = "_pager_wttud_11", J = "_limit_wttud_17", K = "_info_wttud_21", M = {
|
|
56
56
|
pager: F,
|
|
57
57
|
limit: J,
|
|
58
58
|
info: K
|
|
59
|
-
}, Q =
|
|
59
|
+
}, Q = x(function({
|
|
60
60
|
total: t,
|
|
61
61
|
page: n,
|
|
62
62
|
limit: a,
|
|
@@ -65,7 +65,7 @@ const F = "_pager_kdhkx_6", J = "_limit_kdhkx_11", K = "_info_kdhkx_15", k = {
|
|
|
65
65
|
onPageChange: m,
|
|
66
66
|
onLimitChange: b
|
|
67
67
|
}) {
|
|
68
|
-
const c = Math.max(1, Math.ceil(t / a)), l = g.length > 0 ? g : [a], L =
|
|
68
|
+
const c = Math.max(1, Math.ceil(t / a)), l = g.length > 0 ? g : [a], L = z(n, c);
|
|
69
69
|
function i(o) {
|
|
70
70
|
const d = Math.max(1, Math.min(o, c));
|
|
71
71
|
d !== n && m(d);
|
|
@@ -79,22 +79,22 @@ const F = "_pager_kdhkx_6", J = "_limit_kdhkx_11", K = "_info_kdhkx_15", k = {
|
|
|
79
79
|
return null;
|
|
80
80
|
}
|
|
81
81
|
const S = g.length > 1;
|
|
82
|
-
return /* @__PURE__ */
|
|
82
|
+
return /* @__PURE__ */ y(V, { "aria-label": P.pagination.ariaLabel, className: M.pager, children: [
|
|
83
83
|
S && /* @__PURE__ */ r(
|
|
84
84
|
D,
|
|
85
85
|
{
|
|
86
86
|
size: "sm",
|
|
87
|
-
className:
|
|
87
|
+
className: M.limit,
|
|
88
88
|
value: String(a),
|
|
89
89
|
onValueChange: (o) => {
|
|
90
90
|
o !== void 0 && s(Number(o));
|
|
91
91
|
},
|
|
92
92
|
"aria-label": P.pagination.limitSelectorAriaLabel,
|
|
93
|
-
children: g.map((o) => /* @__PURE__ */ r(
|
|
93
|
+
children: g.map((o) => /* @__PURE__ */ r(T, { value: String(o), children: o }, o))
|
|
94
94
|
}
|
|
95
95
|
),
|
|
96
|
-
/* @__PURE__ */ r("span", { className:
|
|
97
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ r("span", { className: M.info, children: P.pagination.pageInfo(n, c, t) }),
|
|
97
|
+
/* @__PURE__ */ y(E, { children: [
|
|
98
98
|
/* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(
|
|
99
99
|
j,
|
|
100
100
|
{
|
|
@@ -104,16 +104,16 @@ const F = "_pager_kdhkx_6", J = "_limit_kdhkx_11", K = "_info_kdhkx_15", k = {
|
|
|
104
104
|
}
|
|
105
105
|
) }),
|
|
106
106
|
L.map((o, d) => /* @__PURE__ */ r(C, { children: o.type === "page" ? /* @__PURE__ */ r(
|
|
107
|
-
|
|
107
|
+
w,
|
|
108
108
|
{
|
|
109
109
|
isActive: o.page === n,
|
|
110
110
|
"aria-label": P.pagination.goToPage(o.page),
|
|
111
111
|
onClick: () => i(o.page),
|
|
112
112
|
children: o.page
|
|
113
113
|
}
|
|
114
|
-
) : /* @__PURE__ */ r(
|
|
114
|
+
) : /* @__PURE__ */ r(B, {}) }, o.type === "page" ? o.page : `ellipsis-${d}`)),
|
|
115
115
|
/* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(
|
|
116
|
-
|
|
116
|
+
R,
|
|
117
117
|
{
|
|
118
118
|
"aria-label": P.pagination.nextPage,
|
|
119
119
|
disabled: n >= c,
|
|
@@ -124,8 +124,8 @@ const F = "_pager_kdhkx_6", J = "_limit_kdhkx_11", K = "_info_kdhkx_15", k = {
|
|
|
124
124
|
] });
|
|
125
125
|
});
|
|
126
126
|
function U() {
|
|
127
|
-
const t =
|
|
128
|
-
return /* @__PURE__ */ r("div", { className:
|
|
127
|
+
const t = H().getPlugin("pagination"), n = t.useConfigStore((l) => l.limits), a = t.useConfigStore((l) => l.autoHide), g = t.usePaginationStore((l) => l.page), f = t.usePaginationStore((l) => l.limit), m = t.usePaginationStore((l) => l.total), { setPage: b, setLimit: c } = t;
|
|
128
|
+
return /* @__PURE__ */ r("div", { className: O.dataGridPagination, children: /* @__PURE__ */ r(
|
|
129
129
|
Q,
|
|
130
130
|
{
|
|
131
131
|
page: g,
|
|
@@ -138,23 +138,23 @@ function U() {
|
|
|
138
138
|
}
|
|
139
139
|
) });
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function _(e) {
|
|
142
142
|
return typeof e == "number" && Number.isInteger(e) && e > 0 ? e : void 0;
|
|
143
143
|
}
|
|
144
|
-
const ot =
|
|
144
|
+
const ot = k(
|
|
145
145
|
"pagination",
|
|
146
146
|
(e) => {
|
|
147
|
-
const t =
|
|
147
|
+
const t = I(() => ({
|
|
148
148
|
defaultLimit: 12,
|
|
149
149
|
limits: [12, 24, 48, 96],
|
|
150
150
|
autoHide: !1
|
|
151
151
|
})), n = e.registerPersistentState("pagination", {
|
|
152
152
|
schema: { page: "number", limit: "number" }
|
|
153
|
-
}), a =
|
|
153
|
+
}), a = I(() => {
|
|
154
154
|
var i, s;
|
|
155
155
|
return {
|
|
156
|
-
page:
|
|
157
|
-
limit:
|
|
156
|
+
page: _((i = n.value) == null ? void 0 : i.page) ?? 1,
|
|
157
|
+
limit: _((s = n.value) == null ? void 0 : s.limit) ?? t.getState().defaultLimit,
|
|
158
158
|
total: 0
|
|
159
159
|
};
|
|
160
160
|
}), g = () => a((i) => i.limit), f = () => a.getState().page, m = () => a.getState().limit;
|
|
@@ -204,10 +204,10 @@ const ot = G(
|
|
|
204
204
|
function L(i) {
|
|
205
205
|
var S;
|
|
206
206
|
const s = {};
|
|
207
|
-
i.defaultLimit !== void 0 && (s.defaultLimit = i.defaultLimit), i.limits !== void 0 && (s.limits = i.limits), i.autoHide !== void 0 && (s.autoHide = i.autoHide), Object.keys(s).length > 0 && (t.setState(s), i.defaultLimit !== void 0 &&
|
|
207
|
+
i.defaultLimit !== void 0 && (s.defaultLimit = i.defaultLimit), i.limits !== void 0 && (s.limits = i.limits), i.autoHide !== void 0 && (s.autoHide = i.autoHide), Object.keys(s).length > 0 && (t.setState(s), i.defaultLimit !== void 0 && _((S = n.value) == null ? void 0 : S.limit) === void 0 && a.setState({ limit: i.defaultLimit }));
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
|
-
(e, t) => e.defaultLimit === t.defaultLimit && e.autoHide === t.autoHide &&
|
|
210
|
+
(e, t) => e.defaultLimit === t.defaultLimit && e.autoHide === t.autoHide && G(e.limits, t.limits)
|
|
211
211
|
);
|
|
212
212
|
export {
|
|
213
213
|
ot as DataGridPaginationPlugin
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/description-list/public.js'
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cx as r, cva as s } from "class-variance-authority";
|
|
3
|
+
import './chunks/description-list.Cx-vFGJL.css';const c = "_descriptionList_vyk3u_9", p = "_orientationVertical_vyk3u_13", y = "_descriptionItem_vyk3u_18", d = "_orientationHorizontal_vyk3u_24", l = "_sizeDefault_vyk3u_40", _ = "_sizeSm_vyk3u_44", u = "_descriptionTerm_vyk3u_52", m = "_descriptionDetails_vyk3u_60", v = "_typographyBody_vyk3u_78", z = "_typographyMono_vyk3u_82", t = {
|
|
4
|
+
descriptionList: c,
|
|
5
|
+
orientationVertical: p,
|
|
6
|
+
descriptionItem: y,
|
|
7
|
+
orientationHorizontal: d,
|
|
8
|
+
sizeDefault: l,
|
|
9
|
+
sizeSm: _,
|
|
10
|
+
descriptionTerm: u,
|
|
11
|
+
descriptionDetails: m,
|
|
12
|
+
typographyBody: v,
|
|
13
|
+
typographyMono: z
|
|
14
|
+
}, f = s(t.descriptionList, {
|
|
15
|
+
variants: {
|
|
16
|
+
orientation: {
|
|
17
|
+
vertical: t.orientationVertical,
|
|
18
|
+
horizontal: t.orientationHorizontal
|
|
19
|
+
},
|
|
20
|
+
size: {
|
|
21
|
+
default: t.sizeDefault,
|
|
22
|
+
sm: t.sizeSm
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
orientation: "vertical",
|
|
27
|
+
size: "default"
|
|
28
|
+
}
|
|
29
|
+
}), D = s(t.descriptionDetails, {
|
|
30
|
+
variants: {
|
|
31
|
+
typography: {
|
|
32
|
+
body: t.typographyBody,
|
|
33
|
+
mono: t.typographyMono
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
typography: "body"
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
function k({ className: i, orientation: o, size: n, ...a }) {
|
|
41
|
+
return /* @__PURE__ */ e(
|
|
42
|
+
"dl",
|
|
43
|
+
{
|
|
44
|
+
className: f({
|
|
45
|
+
orientation: o ?? "vertical",
|
|
46
|
+
size: n ?? "default",
|
|
47
|
+
className: i
|
|
48
|
+
}),
|
|
49
|
+
...a
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
function L({ className: i, ...o }) {
|
|
54
|
+
return /* @__PURE__ */ e("div", { className: r(t.descriptionItem, i), ...o });
|
|
55
|
+
}
|
|
56
|
+
function V({ className: i, ...o }) {
|
|
57
|
+
return /* @__PURE__ */ e("dt", { className: r(t.descriptionTerm, i), ...o });
|
|
58
|
+
}
|
|
59
|
+
function I({
|
|
60
|
+
className: i,
|
|
61
|
+
typography: o,
|
|
62
|
+
...n
|
|
63
|
+
}) {
|
|
64
|
+
return /* @__PURE__ */ e(
|
|
65
|
+
"dd",
|
|
66
|
+
{
|
|
67
|
+
className: D({ typography: o ?? "body", className: i }),
|
|
68
|
+
...n
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
k as DescriptionList,
|
|
74
|
+
I as DescriptionListDetails,
|
|
75
|
+
L as DescriptionListItem,
|
|
76
|
+
V as DescriptionListTerm
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=description-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-list.js","sources":["../src/components/description-list/description-list.tsx"],"sourcesContent":["import { cva, cx, type VariantProps } from 'class-variance-authority';\nimport type { ComponentProps } from 'react';\n\nimport styles from './description-list.module.css';\n\n/*\n * A list of name and value pairs on real `dl`/`dt`/`dd`, so assistive\n * technology keeps the term-to-value relation. `DescriptionListItem` is the\n * `div` grouping HTML allows inside `dl`, so a row can carry a separator\n * or a key. No `render` on the parts: the elements are the point of the\n * component. `orientation` takes two of Field's values with their meaning.\n */\nconst descriptionListVariants = cva(styles.descriptionList, {\n variants: {\n orientation: {\n vertical: styles.orientationVertical,\n horizontal: styles.orientationHorizontal,\n },\n size: {\n default: styles.sizeDefault,\n sm: styles.sizeSm,\n },\n },\n defaultVariants: {\n orientation: 'vertical',\n size: 'default',\n },\n});\n\n// The value's ramp role, named `typography` as on Text.\nconst descriptionDetailsVariants = cva(styles.descriptionDetails, {\n variants: {\n typography: {\n body: styles.typographyBody,\n mono: styles.typographyMono,\n },\n },\n defaultVariants: {\n typography: 'body',\n },\n});\n\nexport interface DescriptionListProps\n extends ComponentProps<'dl'>, VariantProps<typeof descriptionListVariants> {}\n\nexport function DescriptionList({ className, orientation, size, ...props }: DescriptionListProps) {\n return (\n <dl\n className={descriptionListVariants({\n orientation: orientation ?? 'vertical',\n size: size ?? 'default',\n className,\n })}\n {...props}\n />\n );\n}\n\nexport type DescriptionListItemProps = ComponentProps<'div'>;\n\nexport function DescriptionListItem({ className, ...props }: DescriptionListItemProps) {\n return <div className={cx(styles.descriptionItem, className)} {...props} />;\n}\n\nexport type DescriptionListTermProps = ComponentProps<'dt'>;\n\nexport function DescriptionListTerm({ className, ...props }: DescriptionListTermProps) {\n return <dt className={cx(styles.descriptionTerm, className)} {...props} />;\n}\n\nexport interface DescriptionListDetailsProps\n extends ComponentProps<'dd'>, VariantProps<typeof descriptionDetailsVariants> {}\n\nexport function DescriptionListDetails({\n className,\n typography,\n ...props\n}: DescriptionListDetailsProps) {\n return (\n <dd\n className={descriptionDetailsVariants({ typography: typography ?? 'body', className })}\n {...props}\n />\n );\n}\n"],"names":["descriptionListVariants","cva","styles","descriptionDetailsVariants","DescriptionList","className","orientation","size","props","jsx","DescriptionListItem","cx","DescriptionListTerm","DescriptionListDetails","typography"],"mappings":";;;;;;;;;;;;;GAYMA,IAA0BC,EAAIC,EAAO,iBAAiB;AAAA,EAC1D,UAAU;AAAA,IACR,aAAa;AAAA,MACX,UAAUA,EAAO;AAAA,MACjB,YA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