@tenerife.music/ui 1.0.0 → 1.0.1
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/ThemeProvider-CaUX_Jam.cjs +2 -0
- package/dist/ThemeProvider-ltuW-773.js +1227 -0
- package/dist/animation/index.d.ts +9 -0
- package/dist/animation/index.d.ts.map +1 -0
- package/dist/animation/presets.d.ts +304 -0
- package/dist/animation/presets.d.ts.map +1 -0
- package/dist/animation/tas.d.ts +80 -0
- package/dist/animation/tas.d.ts.map +1 -0
- package/dist/animation/types.d.ts +106 -0
- package/dist/animation/types.d.ts.map +1 -0
- package/dist/animation/utils.d.ts +7 -0
- package/dist/animation/utils.d.ts.map +1 -0
- package/dist/components/SectionBuilder.d.ts +37 -0
- package/dist/components/SectionBuilder.d.ts.map +1 -0
- package/dist/components/SectionBuilder.presets.d.ts +229 -0
- package/dist/components/SectionBuilder.presets.d.ts.map +1 -0
- package/dist/components/SectionBuilder.types.d.ts +327 -0
- package/dist/components/SectionBuilder.types.d.ts.map +1 -0
- package/dist/components/auth/ProfileCard.d.ts.map +1 -1
- package/dist/components/cards/EventCard.d.ts +32 -31
- package/dist/components/cards/EventCard.d.ts.map +1 -1
- package/dist/components/cards/VenueCard.d.ts +32 -33
- package/dist/components/cards/VenueCard.d.ts.map +1 -1
- package/dist/components/feedback/Alert.d.ts +1 -1
- package/dist/components/feedback/Alert.d.ts.map +1 -1
- package/dist/components/layout/Box.d.ts +90 -0
- package/dist/components/layout/Box.d.ts.map +1 -0
- package/dist/components/layout/Flex.d.ts +27 -6
- package/dist/components/layout/Flex.d.ts.map +1 -1
- package/dist/components/layout/Grid.d.ts +42 -3
- package/dist/components/layout/Grid.d.ts.map +1 -1
- package/dist/components/layout/Navbar.d.ts +2 -2
- package/dist/components/layout/Navbar.d.ts.map +1 -1
- package/dist/components/layout/Stack.d.ts +21 -4
- package/dist/components/layout/Stack.d.ts.map +1 -1
- package/dist/components/layout/index.d.ts +15 -0
- package/dist/components/layout/index.d.ts.map +1 -0
- package/dist/components/layout/layout.types.d.ts +92 -0
- package/dist/components/layout/layout.types.d.ts.map +1 -0
- package/dist/components/modals/ConfirmDialog.d.ts +2 -2
- package/dist/components/modals/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/modals/Modal.d.ts.map +1 -1
- package/dist/components/modals/SimpleModal.d.ts +3 -1
- package/dist/components/modals/SimpleModal.d.ts.map +1 -1
- package/dist/components/navigation/Breadcrumbs.d.ts +1 -0
- package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/Pagination.d.ts +1 -0
- package/dist/components/navigation/Pagination.d.ts.map +1 -1
- package/dist/components/overlays/Popover.d.ts +4 -4
- package/dist/components/overlays/Popover.d.ts.map +1 -1
- package/dist/components/overlays/Tooltip.d.ts +2 -2
- package/dist/components/overlays/Tooltip.d.ts.map +1 -1
- package/dist/components/primitives/Badge.d.ts +1 -1
- package/dist/components/primitives/Badge.d.ts.map +1 -1
- package/dist/components/primitives/Link.d.ts +4 -2
- package/dist/components/primitives/Link.d.ts.map +1 -1
- package/dist/components/primitives/ThemeSwitch.d.ts +2 -2
- package/dist/components/primitives/ThemeSwitch.d.ts.map +1 -1
- package/dist/components/primitives/Typography.d.ts +2 -2
- package/dist/components/primitives/Typography.d.ts.map +1 -1
- package/dist/components/sections/ArticlesSection.d.ts +14 -4
- package/dist/components/sections/ArticlesSection.d.ts.map +1 -1
- package/dist/components/sections/CTASection.d.ts +38 -0
- package/dist/components/sections/CTASection.d.ts.map +1 -0
- package/dist/components/sections/FeatureSection.d.ts +34 -0
- package/dist/components/sections/FeatureSection.d.ts.map +1 -0
- package/dist/components/sections/HeroSection.d.ts +28 -0
- package/dist/components/sections/HeroSection.d.ts.map +1 -0
- package/dist/components/sections/TrendingSection.d.ts +15 -3
- package/dist/components/sections/TrendingSection.d.ts.map +1 -1
- package/dist/components/toasts/Toast.d.ts +1 -1
- package/dist/components/toasts/Toast.d.ts.map +1 -1
- package/dist/components/toasts/ToastProvider.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +4 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +27 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +3893 -2371
- package/dist/lib/a11y.d.ts +16 -0
- package/dist/lib/a11y.d.ts.map +1 -0
- package/dist/lib/responsive-props.d.ts +64 -0
- package/dist/lib/responsive-props.d.ts.map +1 -0
- package/dist/motion-4SRNkZlz.cjs +2 -0
- package/dist/motion-CuHacXY1.js +722 -0
- package/dist/test/animation-utils.d.ts +60 -0
- package/dist/test/animation-utils.d.ts.map +1 -0
- package/dist/theme/ThemeProvider.d.ts +19 -8
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/applyMode.d.ts +11 -2
- package/dist/theme/applyMode.d.ts.map +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.mjs +236 -101
- package/dist/theme/loader.d.ts +64 -0
- package/dist/theme/loader.d.ts.map +1 -0
- package/dist/theme/registry.d.ts +71 -0
- package/dist/theme/registry.d.ts.map +1 -0
- package/dist/theme/schema.d.ts +125 -0
- package/dist/theme/schema.d.ts.map +1 -0
- package/dist/themes/brand_engine.d.ts +102 -0
- package/dist/themes/brand_engine.d.ts.map +1 -0
- package/dist/themes/index.d.ts +3 -0
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/minimal.d.ts +7 -0
- package/dist/themes/minimal.d.ts.map +1 -0
- package/dist/themes/neon.d.ts +7 -0
- package/dist/themes/neon.d.ts.map +1 -0
- package/dist/themes/types.d.ts +220 -5
- package/dist/themes/types.d.ts.map +1 -1
- package/dist/tokens/css-variables.d.ts +21 -0
- package/dist/tokens/css-variables.d.ts.map +1 -1
- package/dist/tokens/index.cjs +3 -3
- package/dist/tokens/index.mjs +295 -551
- package/dist/tokens/motion.d.ts +77 -0
- package/dist/tokens/motion.d.ts.map +1 -1
- package/package.json +20 -7
- package/dist/applyMode-Bh7sEqT6.js +0 -144
- package/dist/applyMode-DCenL-Bg.cjs +0 -2
- package/dist/colors-BGRiFoSZ.cjs +0 -2
- package/dist/colors-ClemXPPi.js +0 -377
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
website?: string;
|
|
28
|
-
events_count?: number;
|
|
29
|
-
};
|
|
30
|
-
className?: string;
|
|
31
|
-
featured: boolean;
|
|
32
|
-
showImage: boolean;
|
|
2
|
+
import { ComponentAnimationConfig } from '../../animation/types';
|
|
3
|
+
/**
|
|
4
|
+
* Props for VenueCard component.
|
|
5
|
+
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
6
|
+
*/
|
|
7
|
+
export interface VenueCardProps {
|
|
8
|
+
/** Venue name (pre-localized string, required) */
|
|
9
|
+
name: string;
|
|
10
|
+
/** Venue description (pre-localized string, optional) */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Location display string (pre-formatted address, optional) */
|
|
13
|
+
location?: string;
|
|
14
|
+
/** Capacity display string (pre-formatted, optional) */
|
|
15
|
+
capacity?: string;
|
|
16
|
+
/** Image URL (optional) */
|
|
17
|
+
imageUrl?: string;
|
|
18
|
+
/** Link URL for venue details page (optional) */
|
|
19
|
+
href?: string;
|
|
20
|
+
/** Number of associated events (optional) */
|
|
21
|
+
eventsCount?: number;
|
|
22
|
+
/** Whether this is a featured venue */
|
|
23
|
+
featured?: boolean;
|
|
24
|
+
/** Show image section */
|
|
25
|
+
showImage?: boolean;
|
|
26
|
+
/** Label for events count (required) */
|
|
33
27
|
eventsLabel: string;
|
|
34
|
-
|
|
28
|
+
/** Badge text for popular venues (optional) */
|
|
29
|
+
popularBadgeText?: string;
|
|
30
|
+
/** Label for capacity (required) */
|
|
35
31
|
capacityLabel: string;
|
|
32
|
+
/** Additional CSS classes */
|
|
33
|
+
className?: string;
|
|
34
|
+
/** Animation configuration for entrance and hover animations */
|
|
35
|
+
animation?: ComponentAnimationConfig;
|
|
36
36
|
}
|
|
37
37
|
export declare const VenueCard: React.FC<VenueCardProps>;
|
|
38
|
-
export {};
|
|
39
38
|
//# sourceMappingURL=VenueCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VenueCard.d.ts","sourceRoot":"","sources":["../../../src/components/cards/VenueCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"VenueCard.d.ts","sourceRoot":"","sources":["../../../src/components/cards/VenueCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAQlE;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wCAAwC;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oCAAoC;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,wBAAwB,CAAC;CACtC;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiL9C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface AlertProps {
|
|
3
|
-
variant?: "
|
|
3
|
+
variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | "link" | "destructive";
|
|
4
4
|
title?: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,UAAU;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,UAAU;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA0BtC,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { AnimationProps } from '../../animation/types';
|
|
2
|
+
import { ResponsiveColor, ResponsiveRadius, ResponsiveSpacing } from './layout.types';
|
|
3
|
+
/**
|
|
4
|
+
* Box Primitive Component
|
|
5
|
+
*
|
|
6
|
+
* Token-driven base container component with support for padding, margin,
|
|
7
|
+
* background, radius, and responsive props. All styling uses CSS variables
|
|
8
|
+
* from the token system.
|
|
9
|
+
* Supports animation props via Framer Motion when provided.
|
|
10
|
+
*/
|
|
11
|
+
import * as React from "react";
|
|
12
|
+
/**
|
|
13
|
+
* Box component props
|
|
14
|
+
*/
|
|
15
|
+
export interface BoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, AnimationProps {
|
|
16
|
+
/**
|
|
17
|
+
* Padding (all sides)
|
|
18
|
+
*/
|
|
19
|
+
p?: ResponsiveSpacing;
|
|
20
|
+
/**
|
|
21
|
+
* Padding horizontal (left + right)
|
|
22
|
+
*/
|
|
23
|
+
px?: ResponsiveSpacing;
|
|
24
|
+
/**
|
|
25
|
+
* Padding vertical (top + bottom)
|
|
26
|
+
*/
|
|
27
|
+
py?: ResponsiveSpacing;
|
|
28
|
+
/**
|
|
29
|
+
* Padding top
|
|
30
|
+
*/
|
|
31
|
+
pt?: ResponsiveSpacing;
|
|
32
|
+
/**
|
|
33
|
+
* Padding right
|
|
34
|
+
*/
|
|
35
|
+
pr?: ResponsiveSpacing;
|
|
36
|
+
/**
|
|
37
|
+
* Padding bottom
|
|
38
|
+
*/
|
|
39
|
+
pb?: ResponsiveSpacing;
|
|
40
|
+
/**
|
|
41
|
+
* Padding left
|
|
42
|
+
*/
|
|
43
|
+
pl?: ResponsiveSpacing;
|
|
44
|
+
/**
|
|
45
|
+
* Margin (all sides)
|
|
46
|
+
*/
|
|
47
|
+
m?: ResponsiveSpacing;
|
|
48
|
+
/**
|
|
49
|
+
* Margin horizontal (left + right)
|
|
50
|
+
*/
|
|
51
|
+
mx?: ResponsiveSpacing;
|
|
52
|
+
/**
|
|
53
|
+
* Margin vertical (top + bottom)
|
|
54
|
+
*/
|
|
55
|
+
my?: ResponsiveSpacing;
|
|
56
|
+
/**
|
|
57
|
+
* Margin top
|
|
58
|
+
*/
|
|
59
|
+
mt?: ResponsiveSpacing;
|
|
60
|
+
/**
|
|
61
|
+
* Margin right
|
|
62
|
+
*/
|
|
63
|
+
mr?: ResponsiveSpacing;
|
|
64
|
+
/**
|
|
65
|
+
* Margin bottom
|
|
66
|
+
*/
|
|
67
|
+
mb?: ResponsiveSpacing;
|
|
68
|
+
/**
|
|
69
|
+
* Margin left
|
|
70
|
+
*/
|
|
71
|
+
ml?: ResponsiveSpacing;
|
|
72
|
+
/**
|
|
73
|
+
* Background color
|
|
74
|
+
*/
|
|
75
|
+
bg?: ResponsiveColor;
|
|
76
|
+
/**
|
|
77
|
+
* Border radius
|
|
78
|
+
*/
|
|
79
|
+
radius?: ResponsiveRadius;
|
|
80
|
+
/**
|
|
81
|
+
* As element - render as different HTML element
|
|
82
|
+
*/
|
|
83
|
+
as?: keyof React.JSX.IntrinsicElements;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Box component
|
|
87
|
+
*/
|
|
88
|
+
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
89
|
+
export { Box };
|
|
90
|
+
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Box.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AASxD,OAAO,KAAK,EAGV,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,WAAW,QACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,cAAc,CAAC,EACtE,cAAc;IAChB;;OAEG;IACH,CAAC,CAAC,EAAE,iBAAiB,CAAC;IAEtB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,CAAC,CAAC,EAAE,iBAAiB,CAAC;IAEtB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IAEvB;;OAEG;IACH,EAAE,CAAC,EAAE,eAAe,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC;CACxC;AA0ED;;GAEG;AACH,QAAA,MAAM,GAAG,iFAiKR,CAAC;AAIF,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1,13 +1,34 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { AnimationProps } from '../../animation/types';
|
|
3
|
+
import { ResponsiveAlignment, ResponsiveFlexDirection, ResponsiveFlexWrap, ResponsiveJustify, ResponsiveSpacing } from './layout.types';
|
|
2
4
|
import * as React from "react";
|
|
3
5
|
declare const flexVariants: (props?: ({
|
|
4
|
-
direction?: "row" | "
|
|
5
|
-
wrap?: "
|
|
6
|
-
justify?: "
|
|
7
|
-
align?: "
|
|
8
|
-
gap?: 0 | 1 | 2 | 4 | 6 | 8 | 12 | 16 | 20 | 24 | 3 | 5 | 10 | null | undefined;
|
|
6
|
+
direction?: "row" | "column" | "row-reverse" | "column-reverse" | null | undefined;
|
|
7
|
+
wrap?: "nowrap" | "wrap" | "wrap-reverse" | null | undefined;
|
|
8
|
+
justify?: "start" | "end" | "center" | "between" | "around" | "evenly" | null | undefined;
|
|
9
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch" | null | undefined;
|
|
9
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
export interface FlexProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants
|
|
11
|
+
export interface FlexProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, Omit<VariantProps<typeof flexVariants>, "direction" | "wrap" | "justify" | "align">, AnimationProps {
|
|
12
|
+
/**
|
|
13
|
+
* Flex direction
|
|
14
|
+
*/
|
|
15
|
+
direction?: ResponsiveFlexDirection;
|
|
16
|
+
/**
|
|
17
|
+
* Flex wrap
|
|
18
|
+
*/
|
|
19
|
+
wrap?: ResponsiveFlexWrap;
|
|
20
|
+
/**
|
|
21
|
+
* Justify content
|
|
22
|
+
*/
|
|
23
|
+
justify?: ResponsiveJustify;
|
|
24
|
+
/**
|
|
25
|
+
* Align items
|
|
26
|
+
*/
|
|
27
|
+
align?: ResponsiveAlignment;
|
|
28
|
+
/**
|
|
29
|
+
* Gap between flex items (uses spacing tokens via CSS variables)
|
|
30
|
+
*/
|
|
31
|
+
gap?: ResponsiveSpacing;
|
|
11
32
|
}
|
|
12
33
|
declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
34
|
export { Flex, flexVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Flex.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAExB,QAAA,MAAM,YAAY;;;;;8EAmChB,CAAC;AAmBH,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,cAAc,CAAC,EACtE,IAAI,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,EACnF,cAAc;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,CAAC;IAEpC;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAE5B;;OAEG;IACH,GAAG,CAAC,EAAE,iBAAiB,CAAC;CACzB;AAuDD,QAAA,MAAM,IAAI,kFA2IT,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,12 +1,51 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { AnimationProps } from '../../animation/types';
|
|
3
|
+
import { ColumnValue, ResponsiveAlignment, ResponsiveColumns, ResponsiveFlow, ResponsiveJustify, ResponsiveRows, ResponsiveSpacing } from './layout.types';
|
|
2
4
|
import * as React from "react";
|
|
3
5
|
declare const gridVariants: (props?: ({
|
|
4
|
-
cols?: 1 | "none" | 2 | 4 | 6 |
|
|
6
|
+
cols?: 1 | 12 | "none" | 2 | 4 | 6 | 3 | 5 | null | undefined;
|
|
5
7
|
rows?: 1 | "none" | 2 | 4 | 6 | 3 | 5 | null | undefined;
|
|
6
|
-
|
|
8
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch" | null | undefined;
|
|
9
|
+
justify?: "start" | "end" | "center" | "between" | "around" | "evenly" | null | undefined;
|
|
7
10
|
flow?: "row" | "col" | "dense" | "row-dense" | "col-dense" | null | undefined;
|
|
8
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants
|
|
12
|
+
export interface GridProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, Omit<VariantProps<typeof gridVariants>, "cols" | "rows" | "gap" | "align" | "justify" | "flow">, AnimationProps {
|
|
13
|
+
/**
|
|
14
|
+
* Number of columns (base breakpoint)
|
|
15
|
+
*/
|
|
16
|
+
cols?: ResponsiveColumns;
|
|
17
|
+
/**
|
|
18
|
+
* Number of columns for medium breakpoint (768px+)
|
|
19
|
+
*/
|
|
20
|
+
md?: ColumnValue;
|
|
21
|
+
/**
|
|
22
|
+
* Number of columns for large breakpoint (1024px+)
|
|
23
|
+
*/
|
|
24
|
+
lg?: ColumnValue;
|
|
25
|
+
/**
|
|
26
|
+
* Number of columns for extra large breakpoint (1280px+)
|
|
27
|
+
*/
|
|
28
|
+
xl?: ColumnValue;
|
|
29
|
+
/**
|
|
30
|
+
* Number of rows
|
|
31
|
+
*/
|
|
32
|
+
rows?: ResponsiveRows;
|
|
33
|
+
/**
|
|
34
|
+
* Gap between grid items (uses spacing tokens via CSS variables)
|
|
35
|
+
*/
|
|
36
|
+
gap?: ResponsiveSpacing;
|
|
37
|
+
/**
|
|
38
|
+
* Align items
|
|
39
|
+
*/
|
|
40
|
+
align?: ResponsiveAlignment;
|
|
41
|
+
/**
|
|
42
|
+
* Justify content
|
|
43
|
+
*/
|
|
44
|
+
justify?: ResponsiveJustify;
|
|
45
|
+
/**
|
|
46
|
+
* Grid flow
|
|
47
|
+
*/
|
|
48
|
+
flow?: ResponsiveFlow;
|
|
10
49
|
}
|
|
11
50
|
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
51
|
export { Grid, gridVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Grid.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAExB,QAAA,MAAM,YAAY;;;;;;8EAmDhB,CAAC;AAuEH,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,cAAc,CAAC,EACtE,IAAI,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC,EAC/F,cAAc;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAEzB;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,GAAG,CAAC,EAAE,iBAAiB,CAAC;IAExB;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAED,QAAA,MAAM,IAAI,kFA8JT,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
interface NavbarProps {
|
|
3
|
-
className?: string;
|
|
2
|
+
interface NavbarProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
3
|
left?: React.ReactNode;
|
|
5
4
|
right?: React.ReactNode;
|
|
6
5
|
children?: React.ReactNode;
|
|
6
|
+
ariaLabel?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const Navbar: React.FC<NavbarProps>;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Navbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,
|
|
1
|
+
{"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Navbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqBxC,CAAC"}
|
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { AnimationProps } from '../../animation/types';
|
|
3
|
+
import { ResponsiveAlignment, ResponsiveJustify, ResponsiveSpacing, ResponsiveStackDirection } from './layout.types';
|
|
2
4
|
import * as React from "react";
|
|
3
5
|
declare const stackVariants: (props?: ({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
justify?: "center" | "end" | "start" | "between" | "around" | null | undefined;
|
|
6
|
+
align?: "start" | "end" | "center" | "stretch" | null | undefined;
|
|
7
|
+
justify?: "start" | "end" | "center" | "between" | "around" | null | undefined;
|
|
7
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants
|
|
9
|
+
export interface StackProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, Omit<VariantProps<typeof stackVariants>, "align" | "justify">, AnimationProps {
|
|
10
|
+
/**
|
|
11
|
+
* Stack direction
|
|
12
|
+
*/
|
|
13
|
+
direction?: ResponsiveStackDirection;
|
|
14
|
+
/**
|
|
15
|
+
* Spacing between stack items (uses spacing tokens via CSS variables)
|
|
16
|
+
*/
|
|
17
|
+
spacing?: ResponsiveSpacing;
|
|
18
|
+
/**
|
|
19
|
+
* Align items
|
|
20
|
+
*/
|
|
21
|
+
align?: ResponsiveAlignment;
|
|
22
|
+
/**
|
|
23
|
+
* Justify content
|
|
24
|
+
*/
|
|
25
|
+
justify?: ResponsiveJustify;
|
|
9
26
|
}
|
|
10
27
|
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
28
|
export { Stack, stackVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Stack.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EAEzB,MAAM,gBAAgB,CAAC;AAExB,QAAA,MAAM,aAAa;;;8EAoBjB,CAAC;AAuEH,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,cAAc,CAAC,EACtE,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC,EAC7D,cAAc;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,wBAAwB,CAAC;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B;AAED,QAAA,MAAM,KAAK,mFAmIV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Layout Primitives Exports
|
|
3
|
+
*
|
|
4
|
+
* Token-driven layout primitives: Box, Flex, Grid, Stack
|
|
5
|
+
*/
|
|
6
|
+
export type { BoxProps } from './Box';
|
|
7
|
+
export { Box } from './Box';
|
|
8
|
+
export type { FlexProps } from './Flex';
|
|
9
|
+
export { Flex, flexVariants } from './Flex';
|
|
10
|
+
export type { GridProps } from './Grid';
|
|
11
|
+
export { Grid, gridVariants } from './Grid';
|
|
12
|
+
export type { StackProps } from './Stack';
|
|
13
|
+
export { Stack, stackVariants } from './Stack';
|
|
14
|
+
export type * from './layout.types';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC5C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG/C,mBAAmB,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { ResponsiveValue } from '../../lib/responsive-props';
|
|
2
|
+
/**
|
|
3
|
+
* Spacing token values
|
|
4
|
+
* Supports numeric keys (0-96) and semantic keys (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
5
|
+
*/
|
|
6
|
+
export type SpacingValue = number | keyof typeof import('../../tokens/spacing').spacing | keyof typeof import('../../tokens/spacing').semanticSpacing;
|
|
7
|
+
/**
|
|
8
|
+
* Border radius token values
|
|
9
|
+
*/
|
|
10
|
+
export type RadiusValue = keyof typeof import('../../tokens/radius').borderRadius;
|
|
11
|
+
/**
|
|
12
|
+
* Color token values
|
|
13
|
+
* Supports CSS variable names (e.g., "background", "primary", "card")
|
|
14
|
+
*/
|
|
15
|
+
export type ColorValue = "background" | "foreground" | "card" | "card-foreground" | "popover" | "popover-foreground" | "primary" | "primary-foreground" | "secondary" | "secondary-foreground" | "muted" | "muted-foreground" | "accent" | "accent-foreground" | "destructive" | "destructive-foreground" | "border" | "input" | "ring" | string;
|
|
16
|
+
/**
|
|
17
|
+
* Alignment values for flexbox/grid
|
|
18
|
+
*/
|
|
19
|
+
export type AlignmentValue = "start" | "end" | "center" | "baseline" | "stretch";
|
|
20
|
+
/**
|
|
21
|
+
* Justify content values for flexbox/grid
|
|
22
|
+
*/
|
|
23
|
+
export type JustifyValue = "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
24
|
+
/**
|
|
25
|
+
* Flex direction values
|
|
26
|
+
*/
|
|
27
|
+
export type FlexDirectionValue = "row" | "column" | "row-reverse" | "column-reverse";
|
|
28
|
+
/**
|
|
29
|
+
* Flex wrap values
|
|
30
|
+
*/
|
|
31
|
+
export type FlexWrapValue = "nowrap" | "wrap" | "wrap-reverse";
|
|
32
|
+
/**
|
|
33
|
+
* Grid column values
|
|
34
|
+
*/
|
|
35
|
+
export type ColumnValue = 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
36
|
+
/**
|
|
37
|
+
* Grid row values
|
|
38
|
+
*/
|
|
39
|
+
export type RowValue = 1 | 2 | 3 | 4 | 5 | 6 | "none";
|
|
40
|
+
/**
|
|
41
|
+
* Grid flow values
|
|
42
|
+
*/
|
|
43
|
+
export type FlowValue = "row" | "col" | "dense" | "row-dense" | "col-dense";
|
|
44
|
+
/**
|
|
45
|
+
* Stack direction values
|
|
46
|
+
*/
|
|
47
|
+
export type StackDirectionValue = "vertical" | "horizontal";
|
|
48
|
+
/**
|
|
49
|
+
* Responsive spacing prop type
|
|
50
|
+
*/
|
|
51
|
+
export type ResponsiveSpacing = ResponsiveValue<SpacingValue>;
|
|
52
|
+
/**
|
|
53
|
+
* Responsive radius prop type
|
|
54
|
+
*/
|
|
55
|
+
export type ResponsiveRadius = ResponsiveValue<RadiusValue>;
|
|
56
|
+
/**
|
|
57
|
+
* Responsive color prop type
|
|
58
|
+
*/
|
|
59
|
+
export type ResponsiveColor = ResponsiveValue<ColorValue>;
|
|
60
|
+
/**
|
|
61
|
+
* Responsive alignment prop type
|
|
62
|
+
*/
|
|
63
|
+
export type ResponsiveAlignment = ResponsiveValue<AlignmentValue>;
|
|
64
|
+
/**
|
|
65
|
+
* Responsive justify prop type
|
|
66
|
+
*/
|
|
67
|
+
export type ResponsiveJustify = ResponsiveValue<JustifyValue>;
|
|
68
|
+
/**
|
|
69
|
+
* Responsive direction prop type
|
|
70
|
+
*/
|
|
71
|
+
export type ResponsiveFlexDirection = ResponsiveValue<FlexDirectionValue>;
|
|
72
|
+
/**
|
|
73
|
+
* Responsive wrap prop type
|
|
74
|
+
*/
|
|
75
|
+
export type ResponsiveFlexWrap = ResponsiveValue<FlexWrapValue>;
|
|
76
|
+
/**
|
|
77
|
+
* Responsive column prop type
|
|
78
|
+
*/
|
|
79
|
+
export type ResponsiveColumns = ResponsiveValue<ColumnValue>;
|
|
80
|
+
/**
|
|
81
|
+
* Responsive row prop type
|
|
82
|
+
*/
|
|
83
|
+
export type ResponsiveRows = ResponsiveValue<RowValue>;
|
|
84
|
+
/**
|
|
85
|
+
* Responsive flow prop type
|
|
86
|
+
*/
|
|
87
|
+
export type ResponsiveFlow = ResponsiveValue<FlowValue>;
|
|
88
|
+
/**
|
|
89
|
+
* Responsive stack direction prop type
|
|
90
|
+
*/
|
|
91
|
+
export type ResponsiveStackDirection = ResponsiveValue<StackDirectionValue>;
|
|
92
|
+
//# sourceMappingURL=layout.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.types.d.ts","sourceRoot":"","sources":["../../../src/components/layout/layout.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;;GAGG;AACH,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,MAAM,cAAc,kBAAkB,EAAE,OAAO,GAC/C,MAAM,cAAc,kBAAkB,EAAE,eAAe,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,cAAc,iBAAiB,EAAE,YAAY,CAAC;AAE9E;;;GAGG;AACH,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,iBAAiB,GACjB,SAAS,GACT,oBAAoB,GACpB,SAAS,GACT,oBAAoB,GACpB,WAAW,GACX,sBAAsB,GACtB,OAAO,GACP,kBAAkB,GAClB,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,wBAAwB,GACxB,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAExF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,cAAc,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,WAAW,GAAG,WAAW,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,YAAY,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,cAAc,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAE1E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,aAAa,CAAC,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ export interface ConfirmDialogProps {
|
|
|
7
7
|
confirmText: string;
|
|
8
8
|
cancelText: string;
|
|
9
9
|
loadingText?: string;
|
|
10
|
-
variant?: "
|
|
10
|
+
variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | "link" | "destructive";
|
|
11
11
|
isLoading?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare function ConfirmDialog({ isOpen, onClose, onConfirm, title, description, confirmText, cancelText, loadingText, variant, isLoading, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,7 +19,7 @@ export declare function useConfirmDialog(): {
|
|
|
19
19
|
cancelText: string;
|
|
20
20
|
loadingText?: string;
|
|
21
21
|
onConfirm: () => void;
|
|
22
|
-
variant?: "
|
|
22
|
+
variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | "link" | "destructive";
|
|
23
23
|
}) => void;
|
|
24
24
|
hideConfirm: () => void;
|
|
25
25
|
ConfirmDialog: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ConfirmDialog.tsx"],"names":[],"mappings":"AAeA,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ConfirmDialog.tsx"],"names":[],"mappings":"AAeA,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC;IAC5F,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,OAAO,EACP,SAAS,EACT,KAAK,EACL,WAAW,EACX,WAAW,EACX,UAAU,EACV,WAAW,EACX,OAAmB,EACnB,SAAiB,GAClB,EAAE,kBAAkB,2CAqCpB;AAGD,wBAAgB,gBAAgB;2BAelB;QACR,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,IAAI,CAAC;QACtB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC;KAC7F;;;EAqCJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,KAAK,uCAAuB,CAAC;AAEnC,QAAA,MAAM,YAAY,8GAA0B,CAAC;AAE7C,QAAA,MAAM,WAAW,6CAAyB,CAAC;AAE3C,QAAA,MAAM,UAAU,4GAAwB,CAAC;AAEzC,QAAA,MAAM,YAAY,8JAkBhB,CAAC;AAGH,QAAA,MAAM,YAAY,8JAsChB,CAAC;AAGH,QAAA,MAAM,WAAW;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAEjF,CAAC;AAGF,QAAA,MAAM,WAAW;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAKjF,CAAC;AAGF,QAAA,MAAM,UAAU,oKASd,CAAC;AAGH,QAAA,MAAM,gBAAgB,8KASpB,CAAC;AAGH,OAAO,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
interface SimpleModalProps extends
|
|
2
|
+
interface SimpleModalProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
onClose: () => void;
|
|
5
5
|
title?: string;
|
|
6
|
+
description?: string;
|
|
6
7
|
children: React.ReactNode;
|
|
8
|
+
hideCloseButton?: boolean;
|
|
7
9
|
}
|
|
8
10
|
export declare const SimpleModal: React.FC<SimpleModalProps>;
|
|
9
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/SimpleModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SimpleModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/SimpleModal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,gBAAiB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACtE,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuElD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,gBAAgB;IACxB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,gBAAgB;IACxB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsClD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0GhD,CAAC"}
|
|
@@ -5,12 +5,12 @@ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
|
5
5
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
6
|
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const popoverContentVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
9
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
8
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "link" | "outline" | "ghost" | null | undefined;
|
|
9
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
11
|
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
12
|
-
variant?: "
|
|
13
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
12
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "link" | "outline" | "ghost" | null | undefined;
|
|
13
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
14
14
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
export interface PopoverProps {
|
|
16
16
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/overlays/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/overlays/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAEhD,QAAA,MAAM,aAAa,4GAA0B,CAAC;AAE9C,QAAA,MAAM,sBAAsB;;;8EA0B3B,CAAC;AAEF,QAAA,MAAM,cAAc;;;sHA+BlB,CAAC;AAGH,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC;IACjE,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3D,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAe,EACf,KAAgB,EAChB,UAAU,EACV,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,KAAY,EACZ,sBAA6B,GAC9B,EAAE,YAAY,2CAiBd;AAED,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,sBAAsB,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -5,10 +5,10 @@ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
|
5
5
|
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
6
6
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
declare const tooltipContentVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "link" | "outline" | "ghost" | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
10
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
11
|
-
variant?: "
|
|
11
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "link" | "outline" | "ghost" | null | undefined;
|
|
12
12
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
export interface TooltipProps {
|
|
14
14
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/overlays/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/overlays/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,eAAe,iDAA4B,CAAC;AAElD,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAEhD,QAAA,MAAM,sBAAsB;;8EAkB3B,CAAC;AAEF,QAAA,MAAM,cAAc;;sHA6BlB,CAAC;AAGH,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC;IACjE,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,OAAO,EACP,OAAO,EACP,IAAY,EACZ,KAAgB,EAChB,UAAU,EACV,WAAW,EACX,aAAmB,EACnB,iBAAuB,EACvB,uBAAuB,EAAE,wBAAgC,EACzD,IAAI,EACJ,YAAY,GACb,EAAE,YAAY,2CAiBd;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
|