@lglab/compose-ui 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/card.d.ts +79 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/context-menu.d.ts +100 -0
- package/dist/components/context-menu.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +717 -472
- package/dist/styles/default.css +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const cardVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "outline" | "elevated" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export type CardVariant = VariantProps<typeof cardVariants>['variant'];
|
|
7
|
+
type CardRootProps = React.ComponentProps<'article'> & VariantProps<typeof cardVariants>;
|
|
8
|
+
/**
|
|
9
|
+
* The root container for a card component.
|
|
10
|
+
* Renders as an `<article>` for semantic HTML.
|
|
11
|
+
*/
|
|
12
|
+
declare const CardRoot: React.ForwardRefExoticComponent<Omit<CardRootProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
13
|
+
type CardMediaProps = React.ComponentProps<'div'>;
|
|
14
|
+
/**
|
|
15
|
+
* Container for media content (images, videos) within a card.
|
|
16
|
+
* Use Tailwind aspect-* classes for aspect ratios (e.g., className="aspect-video").
|
|
17
|
+
*/
|
|
18
|
+
declare const CardMedia: {
|
|
19
|
+
({ className, ...props }: CardMediaProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
type CardHeaderProps = React.ComponentProps<'header'>;
|
|
23
|
+
/**
|
|
24
|
+
* Container for the card's header content (title, description).
|
|
25
|
+
*/
|
|
26
|
+
declare const CardHeader: {
|
|
27
|
+
({ className, ...props }: CardHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
31
|
+
type CardTitleProps = React.ComponentProps<'h3'> & {
|
|
32
|
+
/** The heading level to render */
|
|
33
|
+
as?: HeadingLevel;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The card's title. Renders as an `<h3>` by default.
|
|
37
|
+
* Use the `as` prop to change the heading level.
|
|
38
|
+
*/
|
|
39
|
+
declare const CardTitle: {
|
|
40
|
+
({ as: Component, className, ...props }: CardTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
43
|
+
type CardDescriptionProps = React.ComponentProps<'p'>;
|
|
44
|
+
/**
|
|
45
|
+
* Secondary text content for the card.
|
|
46
|
+
*/
|
|
47
|
+
declare const CardDescription: {
|
|
48
|
+
({ className, ...props }: CardDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
displayName: string;
|
|
50
|
+
};
|
|
51
|
+
type CardContentProps = React.ComponentProps<'div'>;
|
|
52
|
+
/**
|
|
53
|
+
* Container for the main content of the card.
|
|
54
|
+
*/
|
|
55
|
+
declare const CardContent: {
|
|
56
|
+
({ className, ...props }: CardContentProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
displayName: string;
|
|
58
|
+
};
|
|
59
|
+
type CardSectionProps = React.ComponentProps<'section'>;
|
|
60
|
+
/**
|
|
61
|
+
* A distinct section within a card, useful for multi-section layouts.
|
|
62
|
+
* Use Separator component between sections if visual dividers are needed.
|
|
63
|
+
*/
|
|
64
|
+
declare const CardSection: {
|
|
65
|
+
({ className, ...props }: CardSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
displayName: string;
|
|
67
|
+
};
|
|
68
|
+
type CardFooterProps = React.ComponentProps<'footer'>;
|
|
69
|
+
/**
|
|
70
|
+
* Container for card actions and footer content.
|
|
71
|
+
* Use Separator component above footer if a visual divider is needed.
|
|
72
|
+
*/
|
|
73
|
+
declare const CardFooter: {
|
|
74
|
+
({ className, ...props }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
displayName: string;
|
|
76
|
+
};
|
|
77
|
+
export { CardRoot, CardMedia, CardHeader, CardTitle, CardDescription, CardContent, CardSection, CardFooter, };
|
|
78
|
+
export type { CardRootProps, CardMediaProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardSectionProps, CardFooterProps, };
|
|
79
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,QAAA,MAAM,YAAY;;8EAWhB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAAA;AAMtE,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAA;AAExF;;;GAGG;AACH,QAAA,MAAM,QAAQ,gGAUb,CAAA;AAQD,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;AAEjD;;;GAGG;AACH,QAAA,MAAM,SAAS;8BAA6B,cAAc;;CAWzD,CAAA;AAQD,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;AAErD;;GAEG;AACH,QAAA,MAAM,UAAU;8BAA6B,eAAe;;CAE3D,CAAA;AAQD,KAAK,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE3D,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG;IACjD,kCAAkC;IAClC,EAAE,CAAC,EAAE,YAAY,CAAA;CAClB,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,SAAS;6CAAmD,cAAc;;CAO/E,CAAA;AAQD,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;AAErD;;GAEG;AACH,QAAA,MAAM,eAAe;8BAA6B,oBAAoB;;CAErE,CAAA;AAQD,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;AAEnD;;GAEG;AACH,QAAA,MAAM,WAAW;8BAA6B,gBAAgB;;CAE7D,CAAA;AAQD,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAA;AAEvD;;;GAGG;AACH,QAAA,MAAM,WAAW;8BAA6B,gBAAgB;;CAE7D,CAAA;AAQD,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;AAErD;;;GAGG;AACH,QAAA,MAAM,UAAU;8BAA6B,eAAe;;CAE3D,CAAA;AAQD,OAAO,EACL,QAAQ,EACR,SAAS,EACT,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,WAAW,EACX,UAAU,GACX,CAAA;AAED,YAAY,EACV,aAAa,EACb,cAAc,EACd,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ContextMenu as BaseContextMenu } from '@base-ui/react/context-menu';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type ContextMenuRootProps = React.ComponentProps<typeof BaseContextMenu.Root>;
|
|
4
|
+
declare const ContextMenuRoot: {
|
|
5
|
+
(props: ContextMenuRootProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
type ContextMenuTriggerProps = React.ComponentProps<typeof BaseContextMenu.Trigger>;
|
|
9
|
+
declare const ContextMenuTrigger: {
|
|
10
|
+
({ className, ...props }: ContextMenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
type ContextMenuPortalProps = React.ComponentProps<typeof BaseContextMenu.Portal>;
|
|
14
|
+
declare const ContextMenuPortal: {
|
|
15
|
+
(props: ContextMenuPortalProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
type ContextMenuPositionerProps = React.ComponentProps<typeof BaseContextMenu.Positioner>;
|
|
19
|
+
declare const ContextMenuPositioner: {
|
|
20
|
+
({ className, ...props }: ContextMenuPositionerProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
type ContextMenuPopupProps = React.ComponentProps<typeof BaseContextMenu.Popup>;
|
|
24
|
+
declare const ContextMenuPopup: {
|
|
25
|
+
({ className, ...props }: ContextMenuPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
type ContextMenuArrowProps = React.ComponentProps<typeof BaseContextMenu.Arrow>;
|
|
29
|
+
declare const ContextMenuArrow: {
|
|
30
|
+
({ className, ...props }: ContextMenuArrowProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
type ContextMenuItemProps = React.ComponentProps<typeof BaseContextMenu.Item>;
|
|
34
|
+
declare const ContextMenuItem: {
|
|
35
|
+
({ className, ...props }: ContextMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
type ContextMenuSeparatorProps = React.ComponentProps<typeof BaseContextMenu.Separator>;
|
|
39
|
+
declare const ContextMenuSeparator: {
|
|
40
|
+
({ className, ...props }: ContextMenuSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
43
|
+
type ContextMenuGroupProps = React.ComponentProps<typeof BaseContextMenu.Group>;
|
|
44
|
+
declare const ContextMenuGroup: {
|
|
45
|
+
({ className, ...props }: ContextMenuGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
|
48
|
+
type ContextMenuGroupLabelProps = React.ComponentProps<typeof BaseContextMenu.GroupLabel>;
|
|
49
|
+
declare const ContextMenuGroupLabel: {
|
|
50
|
+
({ className, ...props }: ContextMenuGroupLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
displayName: string;
|
|
52
|
+
};
|
|
53
|
+
type ContextMenuRadioGroupProps = React.ComponentProps<typeof BaseContextMenu.RadioGroup>;
|
|
54
|
+
declare const ContextMenuRadioGroup: {
|
|
55
|
+
({ className, ...props }: ContextMenuRadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
displayName: string;
|
|
57
|
+
};
|
|
58
|
+
type ContextMenuRadioItemProps = React.ComponentProps<typeof BaseContextMenu.RadioItem>;
|
|
59
|
+
declare const ContextMenuRadioItem: {
|
|
60
|
+
({ className, ...props }: ContextMenuRadioItemProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
displayName: string;
|
|
62
|
+
};
|
|
63
|
+
type ContextMenuCheckboxItemProps = React.ComponentProps<typeof BaseContextMenu.CheckboxItem>;
|
|
64
|
+
declare const ContextMenuCheckboxItem: {
|
|
65
|
+
({ className, ...props }: ContextMenuCheckboxItemProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
displayName: string;
|
|
67
|
+
};
|
|
68
|
+
type ContextMenuRadioItemIndicatorProps = React.ComponentProps<typeof BaseContextMenu.RadioItemIndicator>;
|
|
69
|
+
declare const ContextMenuRadioItemIndicator: {
|
|
70
|
+
({ className, ...props }: ContextMenuRadioItemIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
displayName: string;
|
|
72
|
+
};
|
|
73
|
+
type ContextMenuCheckboxItemIndicatorProps = React.ComponentProps<typeof BaseContextMenu.CheckboxItemIndicator>;
|
|
74
|
+
declare const ContextMenuCheckboxItemIndicator: {
|
|
75
|
+
({ className, ...props }: ContextMenuCheckboxItemIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
76
|
+
displayName: string;
|
|
77
|
+
};
|
|
78
|
+
type ContextMenuCheckboxItemLabelProps = React.ComponentProps<'span'>;
|
|
79
|
+
declare const ContextMenuCheckboxItemLabel: {
|
|
80
|
+
({ className, ...props }: ContextMenuCheckboxItemLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
displayName: string;
|
|
82
|
+
};
|
|
83
|
+
type ContextMenuRadioItemLabelProps = React.ComponentProps<'span'>;
|
|
84
|
+
declare const ContextMenuRadioItemLabel: {
|
|
85
|
+
({ className, ...props }: ContextMenuRadioItemLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
displayName: string;
|
|
87
|
+
};
|
|
88
|
+
type ContextMenuSubmenuTriggerProps = React.ComponentProps<typeof BaseContextMenu.SubmenuTrigger>;
|
|
89
|
+
declare const ContextMenuSubmenuTrigger: {
|
|
90
|
+
({ className, ...props }: ContextMenuSubmenuTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
91
|
+
displayName: string;
|
|
92
|
+
};
|
|
93
|
+
type ContextMenuSubmenuRootProps = React.ComponentProps<typeof BaseContextMenu.SubmenuRoot>;
|
|
94
|
+
declare const ContextMenuSubmenuRoot: {
|
|
95
|
+
(props: ContextMenuSubmenuRootProps): import("react/jsx-runtime").JSX.Element;
|
|
96
|
+
displayName: string;
|
|
97
|
+
};
|
|
98
|
+
export { ContextMenuRoot, ContextMenuTrigger, ContextMenuPortal, ContextMenuPositioner, ContextMenuPopup, ContextMenuArrow, ContextMenuItem, ContextMenuSeparator, ContextMenuGroup, ContextMenuGroupLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuRadioItemIndicator, ContextMenuRadioItemLabel, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, ContextMenuCheckboxItemLabel, ContextMenuSubmenuTrigger, ContextMenuSubmenuRoot, };
|
|
99
|
+
export type { ContextMenuRootProps, ContextMenuTriggerProps, ContextMenuPortalProps, ContextMenuPositionerProps, ContextMenuPopupProps, ContextMenuArrowProps, ContextMenuItemProps, ContextMenuSeparatorProps, ContextMenuGroupProps, ContextMenuGroupLabelProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuRadioItemIndicatorProps, ContextMenuRadioItemLabelProps, ContextMenuCheckboxItemProps, ContextMenuCheckboxItemIndicatorProps, ContextMenuCheckboxItemLabelProps, ContextMenuSubmenuTriggerProps, ContextMenuSubmenuRootProps, };
|
|
100
|
+
//# sourceMappingURL=context-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../src/components/context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAA;AAE7E,QAAA,MAAM,eAAe;YAAW,oBAAoB;;CAEnD,CAAA;AAQD,KAAK,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAA;AAEnF,QAAA,MAAM,kBAAkB;8BAA6B,uBAAuB;;CAE3E,CAAA;AAQD,KAAK,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;AAEjF,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;CAEvD,CAAA;AAQD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BAA6B,EAC7B,yBAAyB,EACzB,uBAAuB,EACvB,gCAAgC,EAChC,4BAA4B,EAC5B,yBAAyB,EACzB,sBAAsB,GACvB,CAAA;AAED,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,yBAAyB,EACzB,kCAAkC,EAClC,8BAA8B,EAC9B,4BAA4B,EAC5B,qCAAqC,EACrC,iCAAiC,EACjC,8BAA8B,EAC9B,2BAA2B,GAC5B,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export { MenuRoot, MenuTrigger, MenuPortal, MenuPositioner, MenuPopup, MenuArrow
|
|
|
16
16
|
export { PopoverRoot, PopoverTrigger, PopoverPortal, PopoverBackdrop, PopoverPositioner, PopoverPopup, PopoverArrow, PopoverTitle, PopoverDescription, PopoverClose, PopoverViewport, } from './components/popover';
|
|
17
17
|
export { ProgressRoot, ProgressTrack, ProgressIndicator, ProgressValue, ProgressLabel, } from './components/progress';
|
|
18
18
|
export { ToggleGroupRoot, ToggleGroupItem } from './components/toggle-group';
|
|
19
|
+
export { CardRoot, CardMedia, CardHeader, CardTitle, CardDescription, CardFooter, CardSection, CardContent, } from './components/card';
|
|
20
|
+
export { ContextMenuRoot, ContextMenuTrigger, ContextMenuPortal, ContextMenuPositioner, ContextMenuPopup, ContextMenuArrow, ContextMenuItem, ContextMenuSeparator, ContextMenuGroup, ContextMenuGroupLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuRadioItemIndicator, ContextMenuRadioItemLabel, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, ContextMenuCheckboxItemLabel, ContextMenuSubmenuTrigger, ContextMenuSubmenuRoot, } from './components/context-menu';
|
|
19
21
|
export type { ButtonProps } from './components/button';
|
|
20
22
|
export type { CollapsibleRootProps, CollapsibleTriggerProps, CollapsiblePanelProps, } from './components/collapsible';
|
|
21
23
|
export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, } from './components/alert-dialog';
|
|
@@ -34,4 +36,6 @@ export type { MenuRootProps, MenuTriggerProps, MenuPortalProps, MenuPositionerPr
|
|
|
34
36
|
export type { PopoverRootProps, PopoverTriggerProps, PopoverPortalProps, PopoverBackdropProps, PopoverPositionerProps, PopoverPopupProps, PopoverArrowProps, PopoverTitleProps, PopoverDescriptionProps, PopoverCloseProps, PopoverViewportProps, } from './components/popover';
|
|
35
37
|
export type { ProgressRootProps, ProgressTrackProps, ProgressIndicatorProps, ProgressValueProps, ProgressLabelProps, } from './components/progress';
|
|
36
38
|
export type { ToggleGroupRootProps, ToggleGroupItemProps, } from './components/toggle-group';
|
|
39
|
+
export type { CardRootProps, CardMediaProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardFooterProps, CardSectionProps, CardContentProps, } from './components/card';
|
|
40
|
+
export type { ContextMenuRootProps, ContextMenuTriggerProps, ContextMenuPortalProps, ContextMenuPositionerProps, ContextMenuPopupProps, ContextMenuArrowProps, ContextMenuItemProps, ContextMenuSeparatorProps, ContextMenuGroupProps, ContextMenuGroupLabelProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuRadioItemIndicatorProps, ContextMenuRadioItemLabelProps, ContextMenuCheckboxItemProps, ContextMenuCheckboxItemIndicatorProps, ContextMenuCheckboxItemLabelProps, ContextMenuSubmenuTriggerProps, ContextMenuSubmenuRootProps, } from './components/context-menu';
|
|
37
41
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO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,SAAS,EACT,UAAU,EACV,cAAc,EACd,UAAU,EACV,UAAU,GACX,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,QAAQ,EACR,WAAW,EACX,UAAU,EACV,cAAc,EACd,SAAS,EACT,SAAS,EACT,QAAQ,EACR,aAAa,EACb,SAAS,EACT,cAAc,EACd,cAAc,EACd,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EAChB,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,GAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,WAAW,EACX,cAAc,EACd,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,eAAe,GAChB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,aAAa,GACd,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC1F,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,iBAAiB,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