@tydavidson/design-system 1.1.1 → 1.1.3
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/index.d.mts +925 -0
- package/dist/index.d.ts +925 -7
- package/dist/index.js +1758 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1650 -0
- package/dist/index.mjs.map +1 -0
- package/dist/themes/index.d.mts +104 -0
- package/dist/themes/index.d.ts +104 -6
- package/dist/themes/index.js +204 -17
- package/dist/themes/index.js.map +1 -1
- package/dist/themes/index.mjs +196 -0
- package/dist/themes/index.mjs.map +1 -0
- package/package.json +26 -12
- package/dist/components/SidebarNav.d.ts +0 -13
- package/dist/components/SidebarNav.d.ts.map +0 -1
- package/dist/components/SidebarNav.js +0 -63
- package/dist/components/SidebarNav.js.map +0 -1
- package/dist/components/SidebarNavClient.d.ts +0 -2
- package/dist/components/SidebarNavClient.d.ts.map +0 -1
- package/dist/components/SidebarNavClient.js +0 -35
- package/dist/components/SidebarNavClient.js.map +0 -1
- package/dist/components/email/button.d.ts +0 -11
- package/dist/components/email/button.d.ts.map +0 -1
- package/dist/components/email/button.js +0 -86
- package/dist/components/email/button.js.map +0 -1
- package/dist/components/email/index.d.ts +0 -7
- package/dist/components/email/index.d.ts.map +0 -1
- package/dist/components/email/index.js +0 -17
- package/dist/components/email/index.js.map +0 -1
- package/dist/components/email/layout.d.ts +0 -23
- package/dist/components/email/layout.d.ts.map +0 -1
- package/dist/components/email/layout.js +0 -93
- package/dist/components/email/layout.js.map +0 -1
- package/dist/components/email/typography.d.ts +0 -11
- package/dist/components/email/typography.d.ts.map +0 -1
- package/dist/components/email/typography.js +0 -55
- package/dist/components/email/typography.js.map +0 -1
- package/dist/components/hooks/use-mobile.d.ts +0 -2
- package/dist/components/hooks/use-mobile.d.ts.map +0 -1
- package/dist/components/hooks/use-mobile.js +0 -7
- package/dist/components/hooks/use-mobile.js.map +0 -1
- package/dist/components/typography/heading/heading.d.ts +0 -48
- package/dist/components/typography/heading/heading.d.ts.map +0 -1
- package/dist/components/typography/heading/heading.js +0 -93
- package/dist/components/typography/heading/heading.js.map +0 -1
- package/dist/components/typography/heading/heading.stories.d.ts +0 -12
- package/dist/components/typography/heading/heading.stories.d.ts.map +0 -1
- package/dist/components/typography/heading/heading.stories.js +0 -77
- package/dist/components/typography/heading/heading.stories.js.map +0 -1
- package/dist/components/typography/heading/index.d.ts +0 -2
- package/dist/components/typography/heading/index.d.ts.map +0 -1
- package/dist/components/typography/heading/index.js +0 -18
- package/dist/components/typography/heading/index.js.map +0 -1
- package/dist/components/typography/index.d.ts +0 -5
- package/dist/components/typography/index.d.ts.map +0 -1
- package/dist/components/typography/index.js +0 -24
- package/dist/components/typography/index.js.map +0 -1
- package/dist/components/typography/showcase.d.ts +0 -7
- package/dist/components/typography/showcase.d.ts.map +0 -1
- package/dist/components/typography/showcase.js +0 -15
- package/dist/components/typography/showcase.js.map +0 -1
- package/dist/components/typography/text/index.d.ts +0 -2
- package/dist/components/typography/text/index.d.ts.map +0 -1
- package/dist/components/typography/text/index.js +0 -18
- package/dist/components/typography/text/index.js.map +0 -1
- package/dist/components/typography/text/text.d.ts +0 -43
- package/dist/components/typography/text/text.d.ts.map +0 -1
- package/dist/components/typography/text/text.js +0 -74
- package/dist/components/typography/text/text.js.map +0 -1
- package/dist/components/typography/text/text.stories.d.ts +0 -13
- package/dist/components/typography/text/text.stories.d.ts.map +0 -1
- package/dist/components/typography/text/text.stories.js +0 -75
- package/dist/components/typography/text/text.stories.js.map +0 -1
- package/dist/components/ui/accordion.d.ts +0 -8
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js +0 -53
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/alert.d.ts.map +0 -1
- package/dist/components/ui/alert.js +0 -64
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/aspect-ratio.d.ts +0 -5
- package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/components/ui/aspect-ratio.js +0 -40
- package/dist/components/ui/aspect-ratio.js.map +0 -1
- package/dist/components/ui/avatar.d.ts +0 -7
- package/dist/components/ui/avatar.d.ts.map +0 -1
- package/dist/components/ui/avatar.js +0 -50
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/badge.d.ts +0 -15
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js +0 -82
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/breadcrumb.d.ts +0 -11
- package/dist/components/ui/breadcrumb.d.ts.map +0 -1
- package/dist/components/ui/breadcrumb.js +0 -63
- package/dist/components/ui/breadcrumb.js.map +0 -1
- package/dist/components/ui/button.d.ts +0 -41
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -109
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.d.ts +0 -9
- package/dist/components/ui/calendar.d.ts.map +0 -1
- package/dist/components/ui/calendar.js +0 -47
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card/card.d.ts +0 -35
- package/dist/components/ui/card/card.d.ts.map +0 -1
- package/dist/components/ui/card/card.js +0 -62
- package/dist/components/ui/card/card.js.map +0 -1
- package/dist/components/ui/card/index.d.ts +0 -2
- package/dist/components/ui/card/index.d.ts.map +0 -1
- package/dist/components/ui/card/index.js +0 -18
- package/dist/components/ui/card/index.js.map +0 -1
- package/dist/components/ui/card.d.ts +0 -12
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js +0 -65
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/checkbox.d.ts +0 -5
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/checkbox.js +0 -45
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/collapsible.d.ts +0 -7
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/collapsible.js +0 -44
- package/dist/components/ui/collapsible.js.map +0 -1
- package/dist/components/ui/command.d.ts +0 -83
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/command.js +0 -73
- package/dist/components/ui/command.js.map +0 -1
- package/dist/components/ui/context-menu.d.ts +0 -31
- package/dist/components/ui/context-menu.d.ts.map +0 -1
- package/dist/components/ui/context-menu.js +0 -92
- package/dist/components/ui/context-menu.js.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -20
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dialog.js +0 -68
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -32
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +0 -108
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +0 -1
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -2
- package/dist/components/ui/dropdown-menu/index.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu/index.js +0 -18
- package/dist/components/ui/dropdown-menu/index.js.map +0 -1
- package/dist/components/ui/header.d.ts +0 -3
- package/dist/components/ui/header.d.ts.map +0 -1
- package/dist/components/ui/header.js +0 -16
- package/dist/components/ui/header.js.map +0 -1
- package/dist/components/ui/hover-card.d.ts +0 -7
- package/dist/components/ui/hover-card.d.ts.map +0 -1
- package/dist/components/ui/hover-card.js +0 -48
- package/dist/components/ui/hover-card.js.map +0 -1
- package/dist/components/ui/index.d.ts +0 -15
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/components/ui/index.js +0 -43
- package/dist/components/ui/index.js.map +0 -1
- package/dist/components/ui/input.d.ts +0 -6
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -45
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/label.d.ts +0 -6
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -46
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/nav.d.ts +0 -9
- package/dist/components/ui/nav.d.ts.map +0 -1
- package/dist/components/ui/nav.js +0 -25
- package/dist/components/ui/nav.js.map +0 -1
- package/dist/components/ui/org-switcher.d.ts +0 -13
- package/dist/components/ui/org-switcher.d.ts.map +0 -1
- package/dist/components/ui/org-switcher.js +0 -52
- package/dist/components/ui/org-switcher.js.map +0 -1
- package/dist/components/ui/popover.d.ts +0 -8
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/popover.js +0 -50
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/progress.d.ts +0 -5
- package/dist/components/ui/progress.d.ts.map +0 -1
- package/dist/components/ui/progress.js +0 -44
- package/dist/components/ui/progress.js.map +0 -1
- package/dist/components/ui/radio-group.d.ts +0 -6
- package/dist/components/ui/radio-group.d.ts.map +0 -1
- package/dist/components/ui/radio-group.js +0 -52
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/select.d.ts +0 -14
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/select.js +0 -72
- package/dist/components/ui/select.js.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -5
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js +0 -44
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.d.ts +0 -22
- package/dist/components/ui/sheet.d.ts.map +0 -1
- package/dist/components/ui/sheet.js +0 -76
- package/dist/components/ui/sheet.js.map +0 -1
- package/dist/components/ui/sidebar.d.ts +0 -65
- package/dist/components/ui/sidebar.d.ts.map +0 -1
- package/dist/components/ui/sidebar.js +0 -269
- package/dist/components/ui/sidebar.js.map +0 -1
- package/dist/components/ui/skeleton.d.ts +0 -3
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -9
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/slider.d.ts +0 -5
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/slider.js +0 -44
- package/dist/components/ui/slider.js.map +0 -1
- package/dist/components/ui/switch.d.ts +0 -5
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -44
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/tabs.d.ts +0 -8
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js +0 -52
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/textarea.d.ts +0 -6
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/textarea.js +0 -45
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/theme-toggle/index.d.ts +0 -2
- package/dist/components/ui/theme-toggle/index.d.ts.map +0 -1
- package/dist/components/ui/theme-toggle/index.js +0 -18
- package/dist/components/ui/theme-toggle/index.js.map +0 -1
- package/dist/components/ui/theme-toggle/theme-toggle.d.ts +0 -21
- package/dist/components/ui/theme-toggle/theme-toggle.d.ts.map +0 -1
- package/dist/components/ui/theme-toggle/theme-toggle.js +0 -52
- package/dist/components/ui/theme-toggle/theme-toggle.js.map +0 -1
- package/dist/components/ui/toast.d.ts +0 -5
- package/dist/components/ui/toast.d.ts.map +0 -1
- package/dist/components/ui/toast.js +0 -17
- package/dist/components/ui/toast.js.map +0 -1
- package/dist/components/ui/toggle-group.d.ts +0 -6
- package/dist/components/ui/toggle-group.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.js +0 -47
- package/dist/components/ui/toggle-group.js.map +0 -1
- package/dist/components/ui/toggle.d.ts +0 -5
- package/dist/components/ui/toggle.d.ts.map +0 -1
- package/dist/components/ui/toggle.js +0 -44
- package/dist/components/ui/toggle.js.map +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -8
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/components/ui/tooltip.js +0 -50
- package/dist/components/ui/tooltip.js.map +0 -1
- package/dist/components/ui/use-toast.d.ts +0 -3
- package/dist/components/ui/use-toast.d.ts.map +0 -1
- package/dist/components/ui/use-toast.js +0 -7
- package/dist/components/ui/use-toast.js.map +0 -1
- package/dist/email/button.d.ts +0 -11
- package/dist/email/button.d.ts.map +0 -1
- package/dist/email/button.js +0 -86
- package/dist/email/button.js.map +0 -1
- package/dist/email/index.d.ts +0 -7
- package/dist/email/index.d.ts.map +0 -1
- package/dist/email/index.js +0 -17
- package/dist/email/index.js.map +0 -1
- package/dist/email/layout.d.ts +0 -23
- package/dist/email/layout.d.ts.map +0 -1
- package/dist/email/layout.js +0 -93
- package/dist/email/layout.js.map +0 -1
- package/dist/email/typography.d.ts +0 -11
- package/dist/email/typography.d.ts.map +0 -1
- package/dist/email/typography.js +0 -55
- package/dist/email/typography.js.map +0 -1
- package/dist/hooks/use-media-query.d.ts +0 -2
- package/dist/hooks/use-media-query.d.ts.map +0 -1
- package/dist/hooks/use-media-query.js +0 -20
- package/dist/hooks/use-media-query.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/theme-utils.d.ts +0 -42
- package/dist/lib/theme-utils.d.ts.map +0 -1
- package/dist/lib/theme-utils.js +0 -85
- package/dist/lib/theme-utils.js.map +0 -1
- package/dist/lib/types.d.ts +0 -18
- package/dist/lib/types.d.ts.map +0 -1
- package/dist/lib/types.js +0 -6
- package/dist/lib/types.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -34
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -52
- package/dist/lib/utils.js.map +0 -1
- package/dist/styles/constants/button-colors.d.ts +0 -59
- package/dist/styles/constants/button-colors.d.ts.map +0 -1
- package/dist/styles/constants/button-colors.js +0 -61
- package/dist/styles/constants/button-colors.js.map +0 -1
- package/dist/themes/catalog.d.ts +0 -2
- package/dist/themes/catalog.d.ts.map +0 -1
- package/dist/themes/catalog.js +0 -16
- package/dist/themes/catalog.js.map +0 -1
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/theme-context.d.ts +0 -30
- package/dist/themes/theme-context.d.ts.map +0 -1
- package/dist/themes/theme-context.js +0 -43
- package/dist/themes/theme-context.js.map +0 -1
- package/dist/themes/theme-provider.d.ts +0 -9
- package/dist/themes/theme-provider.d.ts.map +0 -1
- package/dist/themes/theme-provider.js +0 -16
- package/dist/themes/theme-provider.js.map +0 -1
- package/dist/tokens/colors.d.ts +0 -135
- package/dist/tokens/colors.d.ts.map +0 -1
- package/dist/tokens/colors.js +0 -140
- package/dist/tokens/colors.js.map +0 -1
- package/dist/tokens/index.d.ts +0 -256
- package/dist/tokens/index.d.ts.map +0 -1
- package/dist/tokens/index.js +0 -39
- package/dist/tokens/index.js.map +0 -1
- package/dist/tokens/radius.d.ts +0 -19
- package/dist/tokens/radius.d.ts.map +0 -1
- package/dist/tokens/radius.js +0 -27
- package/dist/tokens/radius.js.map +0 -1
- package/dist/tokens/shadows.d.ts +0 -21
- package/dist/tokens/shadows.d.ts.map +0 -1
- package/dist/tokens/shadows.js +0 -26
- package/dist/tokens/shadows.js.map +0 -1
- package/dist/tokens/spacing.d.ts +0 -26
- package/dist/tokens/spacing.d.ts.map +0 -1
- package/dist/tokens/spacing.js +0 -36
- package/dist/tokens/spacing.js.map +0 -1
- package/dist/tokens/typography.d.ts +0 -75
- package/dist/tokens/typography.d.ts.map +0 -1
- package/dist/tokens/typography.js +0 -55
- package/dist/tokens/typography.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
package/dist/tokens/shadows.d.ts
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Shadow tokens used throughout the application
|
3
|
-
*/
|
4
|
-
export declare const shadows: {
|
5
|
-
none: string;
|
6
|
-
xs: string;
|
7
|
-
sm: string;
|
8
|
-
md: string;
|
9
|
-
lg: string;
|
10
|
-
xl: string;
|
11
|
-
'2xl': string;
|
12
|
-
inner: string;
|
13
|
-
'elevation-low': string;
|
14
|
-
'elevation-medium': string;
|
15
|
-
'elevation-high': string;
|
16
|
-
card: string;
|
17
|
-
dropdown: string;
|
18
|
-
modal: string;
|
19
|
-
};
|
20
|
-
export type Shadows = typeof shadows;
|
21
|
-
//# sourceMappingURL=shadows.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/tokens/shadows.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAoBnB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC"}
|
package/dist/tokens/shadows.js
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* Shadow tokens used throughout the application
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.shadows = void 0;
|
7
|
-
exports.shadows = {
|
8
|
-
// Base shadow values
|
9
|
-
none: 'none',
|
10
|
-
xs: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
|
11
|
-
sm: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
|
12
|
-
md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
|
13
|
-
lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
|
14
|
-
xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
|
15
|
-
'2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
|
16
|
-
inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
|
17
|
-
// Semantic shadow values
|
18
|
-
'elevation-low': '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
|
19
|
-
'elevation-medium': '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
|
20
|
-
'elevation-high': '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
|
21
|
-
// Component specific
|
22
|
-
card: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
|
23
|
-
dropdown: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
|
24
|
-
modal: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
|
25
|
-
};
|
26
|
-
//# sourceMappingURL=shadows.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"shadows.js","sourceRoot":"","sources":["../../src/tokens/shadows.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,OAAO,GAAG;IACrB,qBAAqB;IACrB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,+BAA+B;IACnC,EAAE,EAAE,+DAA+D;IACnE,EAAE,EAAE,kEAAkE;IACtE,EAAE,EAAE,oEAAoE;IACxE,EAAE,EAAE,qEAAqE;IACzE,KAAK,EAAE,qCAAqC;IAC5C,KAAK,EAAE,qCAAqC;IAE5C,yBAAyB;IACzB,eAAe,EAAE,+DAA+D;IAChF,kBAAkB,EAAE,kEAAkE;IACtF,gBAAgB,EAAE,oEAAoE;IAEtF,qBAAqB;IACrB,IAAI,EAAE,+DAA+D;IACrE,QAAQ,EAAE,oEAAoE;IAC9E,KAAK,EAAE,qEAAqE;CAC7E,CAAC"}
|
package/dist/tokens/spacing.d.ts
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Spacing tokens used throughout the application
|
3
|
-
*
|
4
|
-
* Note: This extends Tailwind's default spacing values rather than replacing them.
|
5
|
-
* We only define semantic values here that map to Tailwind's spacing scale.
|
6
|
-
*/
|
7
|
-
export declare const spacing: {
|
8
|
-
layout: {
|
9
|
-
page: string;
|
10
|
-
section: string;
|
11
|
-
subsection: string;
|
12
|
-
inline: string;
|
13
|
-
};
|
14
|
-
component: {
|
15
|
-
xxs: string;
|
16
|
-
xs: string;
|
17
|
-
sm: string;
|
18
|
-
md: string;
|
19
|
-
lg: string;
|
20
|
-
xl: string;
|
21
|
-
xxl: string;
|
22
|
-
};
|
23
|
-
custom: {};
|
24
|
-
};
|
25
|
-
export type Spacing = typeof spacing;
|
26
|
-
//# sourceMappingURL=spacing.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/tokens/spacing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CA4BnB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC"}
|
package/dist/tokens/spacing.js
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* Spacing tokens used throughout the application
|
4
|
-
*
|
5
|
-
* Note: This extends Tailwind's default spacing values rather than replacing them.
|
6
|
-
* We only define semantic values here that map to Tailwind's spacing scale.
|
7
|
-
*/
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
9
|
-
exports.spacing = void 0;
|
10
|
-
exports.spacing = {
|
11
|
-
// We don't need to redefine the base spacing scale
|
12
|
-
// as we'll use Tailwind's defaults
|
13
|
-
// Semantic spacing that maps to Tailwind's scale
|
14
|
-
layout: {
|
15
|
-
page: '6', // maps to Tailwind's spacing-6 (1.5rem, 24px)
|
16
|
-
section: '8', // maps to Tailwind's spacing-8 (2rem, 32px)
|
17
|
-
subsection: '4', // maps to Tailwind's spacing-4 (1rem, 16px)
|
18
|
-
inline: '2', // maps to Tailwind's spacing-2 (0.5rem, 8px)
|
19
|
-
},
|
20
|
-
// Component-specific spacing that maps to Tailwind's scale
|
21
|
-
component: {
|
22
|
-
xxs: '1', // maps to Tailwind's spacing-1 (0.25rem, 4px)
|
23
|
-
xs: '2', // maps to Tailwind's spacing-2 (0.5rem, 8px)
|
24
|
-
sm: '3', // maps to Tailwind's spacing-3 (0.75rem, 12px)
|
25
|
-
md: '4', // maps to Tailwind's spacing-4 (1rem, 16px)
|
26
|
-
lg: '6', // maps to Tailwind's spacing-6 (1.5rem, 24px)
|
27
|
-
xl: '8', // maps to Tailwind's spacing-8 (2rem, 32px)
|
28
|
-
xxl: '12', // maps to Tailwind's spacing-12 (3rem, 48px)
|
29
|
-
},
|
30
|
-
// Any custom spacing values not in Tailwind's default scale
|
31
|
-
// would be defined here for extending in the Tailwind config
|
32
|
-
custom: {
|
33
|
-
// Example: '4.5': '1.125rem', // 18px
|
34
|
-
}
|
35
|
-
};
|
36
|
-
//# sourceMappingURL=spacing.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"spacing.js","sourceRoot":"","sources":["../../src/tokens/spacing.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG;IACrB,mDAAmD;IACnD,mCAAmC;IAEnC,iDAAiD;IACjD,MAAM,EAAE;QACN,IAAI,EAAE,GAAG,EAAE,8CAA8C;QACzD,OAAO,EAAE,GAAG,EAAE,4CAA4C;QAC1D,UAAU,EAAE,GAAG,EAAE,4CAA4C;QAC7D,MAAM,EAAE,GAAG,EAAE,6CAA6C;KAC3D;IAED,2DAA2D;IAC3D,SAAS,EAAE;QACT,GAAG,EAAE,GAAG,EAAE,8CAA8C;QACxD,EAAE,EAAE,GAAG,EAAG,6CAA6C;QACvD,EAAE,EAAE,GAAG,EAAG,+CAA+C;QACzD,EAAE,EAAE,GAAG,EAAG,4CAA4C;QACtD,EAAE,EAAE,GAAG,EAAG,8CAA8C;QACxD,EAAE,EAAE,GAAG,EAAG,4CAA4C;QACtD,GAAG,EAAE,IAAI,EAAE,6CAA6C;KACzD;IAED,4DAA4D;IAC5D,6DAA6D;IAC7D,MAAM,EAAE;IACN,sCAAsC;KACvC;CACF,CAAC"}
|
@@ -1,75 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Typography token definitions based on the design system
|
3
|
-
*/
|
4
|
-
export declare const typography: {
|
5
|
-
fontFamily: {
|
6
|
-
sans: string[];
|
7
|
-
};
|
8
|
-
fontWeight: {
|
9
|
-
regular: string;
|
10
|
-
medium: string;
|
11
|
-
semibold: string;
|
12
|
-
bold: string;
|
13
|
-
};
|
14
|
-
fontSize: {
|
15
|
-
'display-2xl': (string | {
|
16
|
-
lineHeight: string;
|
17
|
-
letterSpacing: string;
|
18
|
-
})[];
|
19
|
-
'display-xl': (string | {
|
20
|
-
lineHeight: string;
|
21
|
-
letterSpacing: string;
|
22
|
-
})[];
|
23
|
-
'display-lg': (string | {
|
24
|
-
lineHeight: string;
|
25
|
-
letterSpacing: string;
|
26
|
-
})[];
|
27
|
-
'display-md': (string | {
|
28
|
-
lineHeight: string;
|
29
|
-
letterSpacing: string;
|
30
|
-
})[];
|
31
|
-
'display-sm': (string | {
|
32
|
-
lineHeight: string;
|
33
|
-
letterSpacing: string;
|
34
|
-
})[];
|
35
|
-
'display-xs': (string | {
|
36
|
-
lineHeight: string;
|
37
|
-
letterSpacing: string;
|
38
|
-
})[];
|
39
|
-
'text-xl': (string | {
|
40
|
-
lineHeight: string;
|
41
|
-
})[];
|
42
|
-
'text-lg': (string | {
|
43
|
-
lineHeight: string;
|
44
|
-
})[];
|
45
|
-
'text-md': (string | {
|
46
|
-
lineHeight: string;
|
47
|
-
})[];
|
48
|
-
'text-sm': (string | {
|
49
|
-
lineHeight: string;
|
50
|
-
})[];
|
51
|
-
'text-xs': (string | {
|
52
|
-
lineHeight: string;
|
53
|
-
})[];
|
54
|
-
};
|
55
|
-
styles: {
|
56
|
-
h1: string;
|
57
|
-
h2: string;
|
58
|
-
h3: string;
|
59
|
-
h4: string;
|
60
|
-
h5: string;
|
61
|
-
h6: string;
|
62
|
-
body: string;
|
63
|
-
'body-large': string;
|
64
|
-
'body-small': string;
|
65
|
-
caption: string;
|
66
|
-
overline: string;
|
67
|
-
label: string;
|
68
|
-
};
|
69
|
-
variants: {
|
70
|
-
italic: string;
|
71
|
-
underline: string;
|
72
|
-
};
|
73
|
-
};
|
74
|
-
export type Typography = typeof typography;
|
75
|
-
//# sourceMappingURL=typography.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/tokens/typography.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDtB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC"}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* Typography token definitions based on the design system
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.typography = void 0;
|
7
|
-
exports.typography = {
|
8
|
-
fontFamily: {
|
9
|
-
sans: ['var(--font-inter)', 'sans-serif'],
|
10
|
-
},
|
11
|
-
fontWeight: {
|
12
|
-
regular: '400',
|
13
|
-
medium: '500',
|
14
|
-
semibold: '600',
|
15
|
-
bold: '700',
|
16
|
-
},
|
17
|
-
fontSize: {
|
18
|
-
// Display sizes
|
19
|
-
'display-2xl': ['4.5rem', { lineHeight: '5.625rem', letterSpacing: '-0.02em' }],
|
20
|
-
'display-xl': ['3.75rem', { lineHeight: '4.5rem', letterSpacing: '-0.02em' }],
|
21
|
-
'display-lg': ['3rem', { lineHeight: '3.75rem', letterSpacing: '-0.02em' }],
|
22
|
-
'display-md': ['2.25rem', { lineHeight: '2.75rem', letterSpacing: '-0.02em' }],
|
23
|
-
'display-sm': ['1.875rem', { lineHeight: '2.375rem', letterSpacing: '-0.02em' }],
|
24
|
-
'display-xs': ['1.5rem', { lineHeight: '2rem', letterSpacing: '-0.02em' }],
|
25
|
-
// Text sizes
|
26
|
-
'text-xl': ['1.25rem', { lineHeight: '1.875rem' }],
|
27
|
-
'text-lg': ['1.125rem', { lineHeight: '1.75rem' }],
|
28
|
-
'text-md': ['1rem', { lineHeight: '1.5rem' }],
|
29
|
-
'text-sm': ['0.875rem', { lineHeight: '1.25rem' }],
|
30
|
-
'text-xs': ['0.75rem', { lineHeight: '1.125rem' }],
|
31
|
-
},
|
32
|
-
// Predefined style combinations
|
33
|
-
styles: {
|
34
|
-
h1: 'text-display-md font-bold',
|
35
|
-
h2: 'text-display-sm font-bold',
|
36
|
-
h3: 'text-display-xs font-bold',
|
37
|
-
h4: 'text-text-xl font-semibold',
|
38
|
-
h5: 'text-text-lg font-semibold',
|
39
|
-
h6: 'text-text-md font-semibold',
|
40
|
-
// Body text
|
41
|
-
body: 'text-text-md font-regular',
|
42
|
-
'body-large': 'text-text-lg font-regular',
|
43
|
-
'body-small': 'text-text-sm font-regular',
|
44
|
-
// Special styles
|
45
|
-
caption: 'text-text-xs font-medium',
|
46
|
-
overline: 'text-text-xs font-medium uppercase tracking-wider',
|
47
|
-
label: 'text-text-sm font-medium',
|
48
|
-
},
|
49
|
-
// For semantic variants
|
50
|
-
variants: {
|
51
|
-
italic: 'italic',
|
52
|
-
underline: 'underline',
|
53
|
-
},
|
54
|
-
};
|
55
|
-
//# sourceMappingURL=typography.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"typography.js","sourceRoot":"","sources":["../../src/tokens/typography.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,UAAU,GAAG;IACxB,UAAU,EAAE;QACV,IAAI,EAAE,CAAC,mBAAmB,EAAE,YAAY,CAAC;KAC1C;IACD,UAAU,EAAE;QACV,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,KAAK;KACZ;IACD,QAAQ,EAAE;QACR,gBAAgB;QAChB,aAAa,EAAE,CAAC,QAAQ,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;QAC/E,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;QAC7E,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;QAC3E,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;QAC9E,YAAY,EAAE,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;QAChF,YAAY,EAAE,CAAC,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;QAE1E,aAAa;QACb,SAAS,EAAE,CAAC,SAAS,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;QAClD,SAAS,EAAE,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;QAClD,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;QAC7C,SAAS,EAAE,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;QAClD,SAAS,EAAE,CAAC,SAAS,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;KACnD;IACD,gCAAgC;IAChC,MAAM,EAAE;QACN,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,2BAA2B;QAC/B,EAAE,EAAE,4BAA4B;QAChC,EAAE,EAAE,4BAA4B;QAChC,EAAE,EAAE,4BAA4B;QAEhC,YAAY;QACZ,IAAI,EAAE,2BAA2B;QACjC,YAAY,EAAE,2BAA2B;QACzC,YAAY,EAAE,2BAA2B;QAEzC,iBAAiB;QACjB,OAAO,EAAE,0BAA0B;QACnC,QAAQ,EAAE,mDAAmD;QAC7D,KAAK,EAAE,0BAA0B;KAClC;IACD,wBAAwB;IACxB,QAAQ,EAAE;QACR,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,WAAW;KACvB;CACF,CAAC"}
|