@tenerife.music/ui 1.0.0 → 1.0.2
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/data/List.d.ts.map +1 -1
- package/dist/components/data/Table.d.ts.map +1 -1
- package/dist/components/data/Timeline.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/feedback/Progress.d.ts.map +1 -1
- package/dist/components/filters/FilterSelect.d.ts.map +1 -1
- package/dist/components/image/Image.d.ts.map +1 -1
- package/dist/components/layout/Box.d.ts +82 -0
- package/dist/components/layout/Box.d.ts.map +1 -0
- package/dist/components/layout/Container.d.ts.map +1 -1
- 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/Section.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/menus/DropdownMenu.d.ts.map +1 -1
- package/dist/components/menus/NavigationMenu.d.ts.map +1 -1
- package/dist/components/menus/Tabs.d.ts.map +1 -1
- 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/OverlayPortal.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/Card.d.ts.map +1 -1
- package/dist/components/primitives/Divider.d.ts.map +1 -1
- package/dist/components/primitives/Label.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/search/SearchBar.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/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/tooltip.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 +3897 -2372
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/data/List.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/data/List.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,SAAS;IACjB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAapC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/data/Table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/data/Table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,WAAW,CAAC,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CAC1D;AAED,UAAU,UAAU,CAAC,CAAC;IACpB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,uCAKtD,UAAU,CAAC,CAAC,CAAC,4CA8Bf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/data/Timeline.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/data/Timeline.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0B5C,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":"
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Alert.tsx"],"names":[],"mappings":"AAEA,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Progress.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Progress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAW5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterSelect.d.ts","sourceRoot":"","sources":["../../../src/components/filters/FilterSelect.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FilterSelect.d.ts","sourceRoot":"","sources":["../../../src/components/filters/FilterSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,oKAiBjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,qKAWxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,uKAW1B,CAAC;AAGH,QAAA,MAAM,aAAa,8JA6BjB,CAAC;AAGH,QAAA,MAAM,WAAW,4JASf,CAAC;AAGH,QAAA,MAAM,UAAU,2JAoBd,CAAC;AAGH,QAAA,MAAM,eAAe,gKASnB,CAAC;AAGH,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,OAAO,EACP,WAAW,EACX,KAAK,EACL,SAAS,GACV,EAAE,iBAAiB,2CAwCnB;AAED,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/image/Image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/image/Image.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAK7D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AACtF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,CAAC;AACxF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAmC9E,KAAK,QAAQ,GAAG,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAE1D,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CACvF;AAED,QAAA,MAAM,cAAc,mFA4NnB,CAAC;AAIF,OAAO,EAAE,cAAc,IAAI,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { AnimationProps } from '../../animation/types';
|
|
2
|
+
import { ResponsiveColor, ResponsiveRadius, ResponsiveSpacing } from './layout.types';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
/**
|
|
5
|
+
* Box component props
|
|
6
|
+
*/
|
|
7
|
+
export interface BoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, AnimationProps {
|
|
8
|
+
/**
|
|
9
|
+
* Padding (all sides)
|
|
10
|
+
*/
|
|
11
|
+
p?: ResponsiveSpacing;
|
|
12
|
+
/**
|
|
13
|
+
* Padding horizontal (left + right)
|
|
14
|
+
*/
|
|
15
|
+
px?: ResponsiveSpacing;
|
|
16
|
+
/**
|
|
17
|
+
* Padding vertical (top + bottom)
|
|
18
|
+
*/
|
|
19
|
+
py?: ResponsiveSpacing;
|
|
20
|
+
/**
|
|
21
|
+
* Padding top
|
|
22
|
+
*/
|
|
23
|
+
pt?: ResponsiveSpacing;
|
|
24
|
+
/**
|
|
25
|
+
* Padding right
|
|
26
|
+
*/
|
|
27
|
+
pr?: ResponsiveSpacing;
|
|
28
|
+
/**
|
|
29
|
+
* Padding bottom
|
|
30
|
+
*/
|
|
31
|
+
pb?: ResponsiveSpacing;
|
|
32
|
+
/**
|
|
33
|
+
* Padding left
|
|
34
|
+
*/
|
|
35
|
+
pl?: ResponsiveSpacing;
|
|
36
|
+
/**
|
|
37
|
+
* Margin (all sides)
|
|
38
|
+
*/
|
|
39
|
+
m?: ResponsiveSpacing;
|
|
40
|
+
/**
|
|
41
|
+
* Margin horizontal (left + right)
|
|
42
|
+
*/
|
|
43
|
+
mx?: ResponsiveSpacing;
|
|
44
|
+
/**
|
|
45
|
+
* Margin vertical (top + bottom)
|
|
46
|
+
*/
|
|
47
|
+
my?: ResponsiveSpacing;
|
|
48
|
+
/**
|
|
49
|
+
* Margin top
|
|
50
|
+
*/
|
|
51
|
+
mt?: ResponsiveSpacing;
|
|
52
|
+
/**
|
|
53
|
+
* Margin right
|
|
54
|
+
*/
|
|
55
|
+
mr?: ResponsiveSpacing;
|
|
56
|
+
/**
|
|
57
|
+
* Margin bottom
|
|
58
|
+
*/
|
|
59
|
+
mb?: ResponsiveSpacing;
|
|
60
|
+
/**
|
|
61
|
+
* Margin left
|
|
62
|
+
*/
|
|
63
|
+
ml?: ResponsiveSpacing;
|
|
64
|
+
/**
|
|
65
|
+
* Background color
|
|
66
|
+
*/
|
|
67
|
+
bg?: ResponsiveColor;
|
|
68
|
+
/**
|
|
69
|
+
* Border radius
|
|
70
|
+
*/
|
|
71
|
+
radius?: ResponsiveRadius;
|
|
72
|
+
/**
|
|
73
|
+
* As element - render as different HTML element
|
|
74
|
+
*/
|
|
75
|
+
as?: keyof React.JSX.IntrinsicElements;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Box component
|
|
79
|
+
*/
|
|
80
|
+
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
81
|
+
export { Box };
|
|
82
|
+
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Box.tsx"],"names":[],"mappings":"AAYA,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Container.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Container.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,iBAAiB;;;8EA2BrB,CAAC;AAEH,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,iBAAiB,CAAC;CAAG;AAE7C,QAAA,MAAM,SAAS,uFAMd,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,iBAAiB,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":"
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Flex.tsx"],"names":[],"mappings":"AAEA;;;;;;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":"
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Grid.tsx"],"names":[],"mappings":"AAEA;;;;;;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Section.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Section.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,YAAY;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC1C,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC;CACxC;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4B1C,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":"
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Stack.tsx"],"names":[],"mappings":"AAEA;;;;;;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menus/DropdownMenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menus/DropdownMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAEvE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,YAAY,mDAA6B,CAAC;AAEhD,QAAA,MAAM,mBAAmB,0HAAgC,CAAC;AAE1D,QAAA,MAAM,iBAAiB,qHAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,yDAA+B,CAAC;AAExD,QAAA,MAAM,eAAe,sDAA4B,CAAC;AAElD,QAAA,MAAM,sBAAsB,0HAAmC,CAAC;AAEhE,QAAA,MAAM,sBAAsB;YAGhB,OAAO;wCAejB,CAAC;AAGH,QAAA,MAAM,sBAAsB,6KAY1B,CAAC;AAGH,QAAA,MAAM,mBAAmB,0KAevB,CAAC;AAGH,QAAA,MAAM,gBAAgB;YAGV,OAAO;wCAYjB,CAAC;AAGH,QAAA,MAAM,wBAAwB,+KAoB5B,CAAC;AAGH,QAAA,MAAM,qBAAqB,4KAmBzB,CAAC;AAGH,QAAA,MAAM,iBAAiB;YAGX,OAAO;wCAQjB,CAAC;AAGH,QAAA,MAAM,qBAAqB,4KASzB,CAAC;AAGH,QAAA,MAAM,oBAAoB;8BAA6B,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAI3F,CAAC;AAGF,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menus/NavigationMenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menus/NavigationMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAC;AAG3E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,cAAc,oKAYlB,CAAC;AAGH,QAAA,MAAM,kBAAkB,+KAStB,CAAC;AAGH,QAAA,MAAM,kBAAkB,uHAA+B,CAAC;AAExD,QAAA,MAAM,0BAA0B,oFAE/B,CAAC;AAEF,QAAA,MAAM,qBAAqB,oLAezB,CAAC;AAGH,QAAA,MAAM,qBAAqB,8KAYzB,CAAC;AAGH,QAAA,MAAM,kBAAkB,2HAA+B,CAAC;AAExD,QAAA,MAAM,sBAAsB,+KAc1B,CAAC;AAGH,QAAA,MAAM,uBAAuB,gLAc3B,CAAC;AAGH,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,GACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/menus/Tabs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/menus/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,IAAI,gGAAqB,CAAC;AAEhC,QAAA,MAAM,QAAQ,uJAYZ,CAAC;AAGH,QAAA,MAAM,WAAW,gKAYf,CAAC;AAGH,QAAA,MAAM,WAAW,0JAYf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,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":"
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/Modal.tsx"],"names":[],"mappings":"AAEA,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"}
|