commerce-toolkit 0.0.21 → 0.0.23
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/accordion/primitives/accordion-trigger.d.ts.map +1 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-author.d.ts.map +1 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-content.d.ts.map +1 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-link.d.ts.map +1 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-title.d.ts.map +1 -1
- package/dist/components/rating/index.d.ts +7 -0
- package/dist/components/rating/index.d.ts.map +1 -0
- package/dist/components/rating/primitives/rating-provider.d.ts +19 -0
- package/dist/components/rating/primitives/rating-provider.d.ts.map +1 -0
- package/dist/components/rating/primitives/rating-root.d.ts +4 -0
- package/dist/components/rating/primitives/rating-root.d.ts.map +1 -0
- package/dist/components/rating/primitives/rating-star.d.ts +4 -0
- package/dist/components/rating/primitives/rating-star.d.ts.map +1 -0
- package/dist/components/rating/primitives/rating-stars.d.ts +2 -0
- package/dist/components/rating/primitives/rating-stars.d.ts.map +1 -0
- package/dist/components/rating/primitives/rating-value.d.ts +4 -0
- package/dist/components/rating/primitives/rating-value.d.ts.map +1 -0
- package/dist/components/rating/rating.d.ts +19 -0
- package/dist/components/rating/rating.d.ts.map +1 -0
- package/dist/components/reveal/index.d.ts +7 -0
- package/dist/components/reveal/index.d.ts.map +1 -0
- package/dist/components/reveal/primitives/reveal-controls.d.ts +4 -0
- package/dist/components/reveal/primitives/reveal-controls.d.ts.map +1 -0
- package/dist/components/reveal/primitives/reveal-provider.d.ts +23 -0
- package/dist/components/reveal/primitives/reveal-provider.d.ts.map +1 -0
- package/dist/components/reveal/primitives/reveal-root.d.ts +4 -0
- package/dist/components/reveal/primitives/reveal-root.d.ts.map +1 -0
- package/dist/components/reveal/primitives/reveal-trigger.d.ts +4 -0
- package/dist/components/reveal/primitives/reveal-trigger.d.ts.map +1 -0
- package/dist/components/reveal/primitives/reveal-viewport.d.ts +4 -0
- package/dist/components/reveal/primitives/reveal-viewport.d.ts.map +1 -0
- package/dist/components/reveal/reveal.d.ts +12 -0
- package/dist/components/reveal/reveal.d.ts.map +1 -0
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1119 -877
- package/dist/index.js.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-trigger.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"accordion-trigger.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,EACjD,UAAU,CACX,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CA6D9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-post-card-author.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-author.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"blog-post-card-author.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-author.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAE7D,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,uDAelF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-post-card-content.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-content.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"blog-post-card-content.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-content.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;AAE3D,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,2CAepF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-post-card-link.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-link.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"blog-post-card-link.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-link.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;AAExD,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2WAmB9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-post-card-title.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"blog-post-card-title.d.ts","sourceRoot":"","sources":["../../../../src/components/blog-post-card/primitives/blog-post-card-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,2CAehF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Rating, type RatingProps } from '../../components/rating/rating';
|
|
2
|
+
export { RatingProvider as Provider, type RatingProviderProps as ProviderProps, type StarType, useRating, } from '../../components/rating/primitives/rating-provider';
|
|
3
|
+
export { RatingRoot as Root, type RatingRootProps as RootProps, } from '../../components/rating/primitives/rating-root';
|
|
4
|
+
export { RatingStar as Star, type RatingStarProps as StarProps, } from '../../components/rating/primitives/rating-star';
|
|
5
|
+
export { RatingStars as Stars } from '../../components/rating/primitives/rating-stars';
|
|
6
|
+
export { RatingValue as Value, type RatingValueProps as ValueProps, } from '../../components/rating/primitives/rating-value';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,EACzC,KAAK,QAAQ,EACb,SAAS,GACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,WAAW,IAAI,KAAK,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EACL,WAAW,IAAI,KAAK,EACpB,KAAK,gBAAgB,IAAI,UAAU,GACpC,MAAM,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type StarType = 'empty' | 'half' | 'full';
|
|
3
|
+
export interface RatingContext {
|
|
4
|
+
rating: number;
|
|
5
|
+
adjustedRating: number;
|
|
6
|
+
stars: StarType[];
|
|
7
|
+
showRating: boolean;
|
|
8
|
+
getNextStarIndex: () => number;
|
|
9
|
+
resetStarIndex: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const RatingContext: import("react").Context<RatingContext | undefined>;
|
|
12
|
+
export interface RatingProviderProps {
|
|
13
|
+
rating: number;
|
|
14
|
+
showRating?: boolean;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare function RatingProvider({ children, rating, showRating }: RatingProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function useRating(): RatingContext;
|
|
19
|
+
//# sourceMappingURL=rating-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/primitives/rating-provider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,MAAM,CAAC;IAC/B,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,oDAAsD,CAAC;AAEjF,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAiB,EAAE,EAAE,mBAAmB,2CAiC1F;AAED,wBAAgB,SAAS,kBAQxB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type RatingRootProps = ComponentProps<'div'>;
|
|
3
|
+
export declare function RatingRoot({ children, className, ...props }: RatingRootProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=rating-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating-root.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/primitives/rating-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAM5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating-star.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/primitives/rating-star.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpD,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAsDlE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating-stars.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/primitives/rating-stars.tsx"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,4CAY1B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type RatingValueProps = ComponentProps<'span'>;
|
|
3
|
+
export declare function RatingValue({ className, ...props }: RatingValueProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=rating-value.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating-value.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/primitives/rating-value.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,kDAgBpE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface RatingProps {
|
|
2
|
+
showRating?: boolean;
|
|
3
|
+
rating: number;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* This component supports various CSS variables for theming. Here's a comprehensive list, along
|
|
8
|
+
* with their default values:
|
|
9
|
+
*
|
|
10
|
+
* ```css
|
|
11
|
+
* :root {
|
|
12
|
+
* --rating-icon: hsl(var(--foreground));
|
|
13
|
+
* --rating-border: hsl(var(--contrast-100));
|
|
14
|
+
* --rating-text: hsl(var(--contrast-400));
|
|
15
|
+
* }
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function Rating({ showRating, rating, className }: Readonly<RatingProps>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=rating.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../../src/components/rating/rating.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,MAAM,CAAC,EAAE,UAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,QAAQ,CAAC,WAAW,CAAC,2CASrF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Reveal, type RevealProps } from '../../components/reveal/reveal';
|
|
2
|
+
export { RevealRoot as Root, type RevealRootProps as RootProps, } from '../../components/reveal/primitives/reveal-root';
|
|
3
|
+
export { RevealProvider as Provider, type RevealProviderProps as ProviderProps, useReveal, } from '../../components/reveal/primitives/reveal-provider';
|
|
4
|
+
export { RevealViewport as Viewport, type RevealViewportProps as ViewportProps, } from '../../components/reveal/primitives/reveal-viewport';
|
|
5
|
+
export { RevealControls as Controls, type RevealControlsProps as ControlsProps, } from '../../components/reveal/primitives/reveal-controls';
|
|
6
|
+
export { RevealTrigger as Trigger, type RevealTriggerProps as TriggerProps, } from '../../components/reveal/primitives/reveal-trigger';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/reveal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,EACzC,SAAS,GACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,GAC1C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,GAC1C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,aAAa,IAAI,OAAO,EACxB,KAAK,kBAAkB,IAAI,YAAY,GACxC,MAAM,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type RevealControlsProps = ComponentProps<'div'>;
|
|
3
|
+
export declare function RevealControls({ children, className, ...props }: RevealControlsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=reveal-controls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reveal-controls.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-controls.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAExD,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,kDAUpF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ReactNode, RefObject } from 'react';
|
|
2
|
+
export interface RevealContext {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
hasOverflow: boolean;
|
|
5
|
+
variant: 'underline' | 'button';
|
|
6
|
+
showLabel: string;
|
|
7
|
+
hideLabel: string;
|
|
8
|
+
maxHeight: string;
|
|
9
|
+
contentRef: RefObject<HTMLDivElement | null>;
|
|
10
|
+
toggleOpen: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const RevealContext: import("react").Context<RevealContext | undefined>;
|
|
13
|
+
export interface RevealProviderProps {
|
|
14
|
+
variant?: 'underline' | 'button';
|
|
15
|
+
showLabel?: string;
|
|
16
|
+
hideLabel?: string;
|
|
17
|
+
defaultOpen?: boolean;
|
|
18
|
+
maxHeight?: string;
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export declare function RevealProvider({ children, variant, showLabel, hideLabel, defaultOpen, maxHeight, }: RevealProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function useReveal(): RevealContext;
|
|
23
|
+
//# sourceMappingURL=reveal-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reveal-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-provider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,WAAW,GAAG,QAAQ,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,oDAAsD,CAAC;AAEjF,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,OAAqB,EACrB,SAAuB,EACvB,SAAuB,EACvB,WAAmB,EACnB,SAAmB,GACpB,EAAE,mBAAmB,2CA0DrB;AAED,wBAAgB,SAAS,kBAQxB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type RevealRootProps = ComponentProps<'div'>;
|
|
3
|
+
export declare function RevealRoot({ children, className, ...props }: RevealRootProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=reveal-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reveal-root.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAM5E"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type RevealTriggerProps = ComponentProps<'button'>;
|
|
3
|
+
export declare function RevealTrigger({ children, className, ...props }: RevealTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=reveal-trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reveal-trigger.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-trigger.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE1D,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CA6BlF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type RevealViewportProps = ComponentProps<'div'>;
|
|
3
|
+
export declare function RevealViewport({ children, className, ...props }: RevealViewportProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=reveal-viewport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reveal-viewport.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-viewport.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAKxD,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAmBpF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface RevealProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
variant?: 'underline' | 'button';
|
|
5
|
+
showLabel?: string;
|
|
6
|
+
hideLabel?: string;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
maxHeight?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function Reveal({ className, variant, showLabel, hideLabel, defaultOpen, maxHeight, children, }: RevealProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=reveal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reveal.d.ts","sourceRoot":"","sources":["../../../src/components/reveal/reveal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,OAAqB,EACrB,SAAuB,EACvB,SAAuB,EACvB,WAAmB,EACnB,SAAmB,EACnB,QAAQ,GACT,EAAE,WAAW,2CAiBb"}
|