@tenerife.music/ui 0.0.7 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -136
- package/dist/applyMode-Bh7sEqT6.js +144 -0
- package/dist/applyMode-DCenL-Bg.cjs +2 -0
- package/dist/brand-C5R2semX.js +45 -0
- package/dist/brand-DQb18Frh.cjs +2 -0
- package/dist/colors-BGRiFoSZ.cjs +2 -0
- package/dist/colors-ClemXPPi.js +377 -0
- package/dist/components/admin/Dashboard.d.ts.map +1 -1
- package/dist/components/admin/UserManagement.d.ts.map +1 -1
- package/dist/components/auth/LoginForm.d.ts.map +1 -1
- package/dist/components/auth/ProfileCard.d.ts.map +1 -1
- package/dist/components/auth/RegisterForm.d.ts.map +1 -1
- package/dist/components/cards/EventCard.d.ts.map +1 -1
- package/dist/components/cards/VenueCard.d.ts.map +1 -1
- package/dist/components/controls/LanguageSelector.d.ts.map +1 -1
- package/dist/components/data/List.d.ts.map +1 -1
- package/dist/components/data/Table.d.ts +2 -2
- 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/ConsentBanner.d.ts.map +1 -1
- package/dist/components/feedback/Progress.d.ts.map +1 -1
- package/dist/components/feedback/Skeleton.d.ts.map +1 -1
- package/dist/components/filters/DateRangePicker.d.ts.map +1 -1
- package/dist/components/filters/FilterBar.d.ts +14 -1
- package/dist/components/filters/FilterBar.d.ts.map +1 -1
- package/dist/components/filters/FilterSelect.d.ts +2 -2
- package/dist/components/filters/FilterSelect.d.ts.map +1 -1
- package/dist/components/filters/PriceRangeSlider.d.ts.map +1 -1
- package/dist/components/filters/SearchFilters.d.ts.map +1 -1
- package/dist/components/filters/SearchInput.d.ts +1 -1
- package/dist/components/filters/SearchInput.d.ts.map +1 -1
- package/dist/components/filters/types.d.ts +9 -9
- package/dist/components/filters/types.d.ts.map +1 -1
- package/dist/components/forms/FormInput.d.ts +3 -7
- package/dist/components/forms/FormInput.d.ts.map +1 -1
- package/dist/components/forms/FormSelect.d.ts.map +1 -1
- package/dist/components/forms/FormTextarea.d.ts +2 -6
- package/dist/components/forms/FormTextarea.d.ts.map +1 -1
- package/dist/components/icons/TrendingIcon.d.ts.map +1 -1
- package/dist/components/image/Image.d.ts +4 -4
- package/dist/components/image/Image.d.ts.map +1 -1
- package/dist/components/layout/Container.d.ts +2 -2
- package/dist/components/layout/Container.d.ts.map +1 -1
- package/dist/components/layout/Flex.d.ts +1 -1
- package/dist/components/layout/Flex.d.ts.map +1 -1
- package/dist/components/layout/Footer.d.ts.map +1 -1
- package/dist/components/layout/Grid.d.ts +3 -3
- package/dist/components/layout/Grid.d.ts.map +1 -1
- package/dist/components/layout/ModeHero.d.ts.map +1 -1
- package/dist/components/layout/Navbar.d.ts.map +1 -1
- package/dist/components/layout/Section.d.ts +2 -2
- package/dist/components/layout/Section.d.ts.map +1 -1
- package/dist/components/layout/Stack.d.ts +1 -1
- package/dist/components/layout/Stack.d.ts.map +1 -1
- package/dist/components/menus/DropdownMenu.d.ts +2 -2
- package/dist/components/menus/DropdownMenu.d.ts.map +1 -1
- package/dist/components/menus/NavigationMenu.d.ts +2 -2
- package/dist/components/menus/NavigationMenu.d.ts.map +1 -1
- package/dist/components/menus/Tabs.d.ts +2 -2
- package/dist/components/menus/Tabs.d.ts.map +1 -1
- package/dist/components/modals/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/modals/CustomDialog.d.ts +1 -2
- package/dist/components/modals/CustomDialog.d.ts.map +1 -1
- package/dist/components/modals/Modal.d.ts +2 -2
- package/dist/components/modals/Modal.d.ts.map +1 -1
- package/dist/components/modals/ModalProvider.d.ts +2 -2
- package/dist/components/modals/ModalProvider.d.ts.map +1 -1
- package/dist/components/modals/SimpleModal.d.ts +1 -2
- package/dist/components/modals/SimpleModal.d.ts.map +1 -1
- package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/Pagination.d.ts.map +1 -1
- package/dist/components/overlays/OverlayPortal.d.ts +3 -3
- package/dist/components/overlays/OverlayPortal.d.ts.map +1 -1
- package/dist/components/overlays/Popover.d.ts +11 -11
- package/dist/components/overlays/Popover.d.ts.map +1 -1
- package/dist/components/overlays/Tooltip.d.ts +9 -9
- 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/Button.d.ts +1 -1
- package/dist/components/primitives/Button.d.ts.map +1 -1
- package/dist/components/primitives/Card.d.ts +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/Link.d.ts +2 -2
- package/dist/components/primitives/Link.d.ts.map +1 -1
- package/dist/components/primitives/ThemeSwitch.d.ts.map +1 -1
- package/dist/components/primitives/Typography.d.ts +4 -4
- 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.map +1 -1
- package/dist/components/sections/TrendingSection.d.ts +7 -3
- package/dist/components/sections/TrendingSection.d.ts.map +1 -1
- package/dist/components/skeletons/EventCardSkeleton.d.ts.map +1 -1
- package/dist/components/skeletons/VenueCardSkeleton.d.ts.map +1 -1
- package/dist/components/toasts/Toast.d.ts +2 -2
- package/dist/components/toasts/Toast.d.ts.map +1 -1
- package/dist/components/toasts/ToastProvider.d.ts +3 -3
- package/dist/components/toasts/ToastProvider.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +1 -1
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts +2 -2
- 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 +1 -1
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/toast.d.ts +3 -3
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toaster.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts +2 -2
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/dark-Cvoy1uFT.js +30 -0
- package/dist/dark-OOhiqt1q.cjs +2 -0
- package/dist/default-BKgH1D9-.js +8 -0
- package/dist/default-Ddg7Haf2.cjs +2 -0
- package/dist/hooks/use-toast.d.ts +3 -3
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/useDebounce.d.ts +20 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useModal.d.ts +5 -5
- package/dist/hooks/useModal.d.ts.map +1 -1
- package/dist/hooks/useToast.d.ts +2 -2
- package/dist/hooks/useToast.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +17 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2170 -2196
- package/dist/preset.cjs +1 -1
- package/dist/preset.d.ts.map +1 -1
- package/dist/preset.mjs +1 -1
- package/dist/radius-CAu4qr9R.js +185 -0
- package/dist/radius-Cz6tayZG.cjs +2 -0
- package/dist/theme/ThemeProvider.d.ts +45 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/theme/applyMode.d.ts +31 -0
- package/dist/theme/applyMode.d.ts.map +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.d.ts +2 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.mjs +102 -97
- package/dist/theme/motion.d.ts.map +1 -1
- package/dist/theme/typography.d.ts.map +1 -1
- package/dist/themes/brand.d.ts +7 -0
- package/dist/themes/brand.d.ts.map +1 -0
- package/dist/themes/dark.d.ts +7 -0
- package/dist/themes/dark.d.ts.map +1 -0
- package/dist/themes/default.d.ts +7 -0
- package/dist/themes/default.d.ts.map +1 -0
- package/dist/themes/index.d.ts +22 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/types.d.ts +64 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/dist/tokens/colors.d.ts +260 -38
- package/dist/tokens/colors.d.ts.map +1 -1
- package/dist/tokens/css-variables.d.ts +250 -0
- package/dist/tokens/css-variables.d.ts.map +1 -0
- package/dist/tokens/index.cjs +4 -1
- package/dist/tokens/index.d.ts +4 -1
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.mjs +1025 -167
- package/dist/tokens/motion.d.ts +358 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/tokens/radius.d.ts +130 -2
- package/dist/tokens/radius.d.ts.map +1 -1
- package/dist/tokens/shadows.d.ts +172 -0
- package/dist/tokens/shadows.d.ts.map +1 -0
- package/dist/tokens/spacing.d.ts +155 -1
- package/dist/tokens/spacing.d.ts.map +1 -1
- package/dist/tokens/typography.d.ts +285 -21
- package/dist/tokens/typography.d.ts.map +1 -1
- package/package.json +53 -18
- package/dist/radius-CuOZD6Mk.cjs +0 -2
- package/dist/radius-NOytgRst.js +0 -22
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Motion System Tokens
|
|
3
|
+
*
|
|
4
|
+
* Complete motion system for Tenerife UI based on design system specifications.
|
|
5
|
+
* Includes: durations, easing functions, transitions, keyframe animations,
|
|
6
|
+
* and reduced motion support for accessibility.
|
|
7
|
+
*
|
|
8
|
+
* All motion respects user preferences for reduced motion (prefers-reduced-motion).
|
|
9
|
+
* Base duration unit: 100ms
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Animation Duration Tokens
|
|
13
|
+
* Values: instant, fast, normal, slow, slower, slowest
|
|
14
|
+
* Base unit: 100ms
|
|
15
|
+
*/
|
|
16
|
+
export declare const durations: {
|
|
17
|
+
readonly instant: "0ms";
|
|
18
|
+
readonly fast: "150ms";
|
|
19
|
+
readonly normal: "300ms";
|
|
20
|
+
readonly slow: "500ms";
|
|
21
|
+
readonly slower: "700ms";
|
|
22
|
+
readonly slowest: "1000ms";
|
|
23
|
+
readonly "75": "75ms";
|
|
24
|
+
readonly "100": "100ms";
|
|
25
|
+
readonly "200": "200ms";
|
|
26
|
+
readonly "250": "250ms";
|
|
27
|
+
readonly "400": "400ms";
|
|
28
|
+
readonly "600": "600ms";
|
|
29
|
+
readonly "800": "800ms";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Easing Function Tokens
|
|
33
|
+
* Cubic-bezier functions for natural motion
|
|
34
|
+
*/
|
|
35
|
+
export declare const easings: {
|
|
36
|
+
readonly linear: "linear";
|
|
37
|
+
readonly "ease-in": "cubic-bezier(0.4, 0, 1, 1)";
|
|
38
|
+
readonly "ease-out": "cubic-bezier(0, 0, 0.2, 1)";
|
|
39
|
+
readonly "ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
40
|
+
readonly ease: "ease";
|
|
41
|
+
readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
|
|
42
|
+
readonly elastic: "cubic-bezier(0.175, 0.885, 0.32, 1.275)";
|
|
43
|
+
readonly "ease-out-cubic": "cubic-bezier(0.215, 0.61, 0.355, 1)";
|
|
44
|
+
readonly "ease-in-cubic": "cubic-bezier(0.55, 0.055, 0.675, 0.19)";
|
|
45
|
+
readonly "ease-in-out-cubic": "cubic-bezier(0.645, 0.045, 0.355, 1)";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Transition Tokens
|
|
49
|
+
* Pre-configured transitions combining duration and easing
|
|
50
|
+
*/
|
|
51
|
+
export declare const transitions: {
|
|
52
|
+
readonly fast: "150ms cubic-bezier(0, 0, 0.2, 1)";
|
|
53
|
+
readonly "fast-in": "150ms cubic-bezier(0.4, 0, 1, 1)";
|
|
54
|
+
readonly "fast-out": "150ms cubic-bezier(0, 0, 0.2, 1)";
|
|
55
|
+
readonly "fast-in-out": "150ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
56
|
+
readonly normal: "300ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
57
|
+
readonly "normal-in": "300ms cubic-bezier(0.4, 0, 1, 1)";
|
|
58
|
+
readonly "normal-out": "300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
59
|
+
readonly "normal-in-out": "300ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
60
|
+
readonly slow: "500ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
61
|
+
readonly "slow-in": "500ms cubic-bezier(0.4, 0, 1, 1)";
|
|
62
|
+
readonly "slow-out": "500ms cubic-bezier(0, 0, 0.2, 1)";
|
|
63
|
+
readonly "slow-in-out": "500ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
64
|
+
readonly bounce: "300ms cubic-bezier(0.68, -0.55, 0.265, 1.55)";
|
|
65
|
+
readonly elastic: "500ms cubic-bezier(0.175, 0.885, 0.32, 1.275)";
|
|
66
|
+
readonly DEFAULT: "300ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Keyframe Animation Tokens
|
|
70
|
+
* Pre-defined animations for common UI patterns
|
|
71
|
+
*/
|
|
72
|
+
export declare const keyframes: {
|
|
73
|
+
readonly fadeIn: {
|
|
74
|
+
readonly from: {
|
|
75
|
+
readonly opacity: 0;
|
|
76
|
+
};
|
|
77
|
+
readonly to: {
|
|
78
|
+
readonly opacity: 1;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
readonly fadeOut: {
|
|
82
|
+
readonly from: {
|
|
83
|
+
readonly opacity: 1;
|
|
84
|
+
};
|
|
85
|
+
readonly to: {
|
|
86
|
+
readonly opacity: 0;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly slideInUp: {
|
|
90
|
+
readonly from: {
|
|
91
|
+
readonly transform: "translateY(100%)";
|
|
92
|
+
readonly opacity: 0;
|
|
93
|
+
};
|
|
94
|
+
readonly to: {
|
|
95
|
+
readonly transform: "translateY(0)";
|
|
96
|
+
readonly opacity: 1;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
readonly slideInDown: {
|
|
100
|
+
readonly from: {
|
|
101
|
+
readonly transform: "translateY(-100%)";
|
|
102
|
+
readonly opacity: 0;
|
|
103
|
+
};
|
|
104
|
+
readonly to: {
|
|
105
|
+
readonly transform: "translateY(0)";
|
|
106
|
+
readonly opacity: 1;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
readonly slideInLeft: {
|
|
110
|
+
readonly from: {
|
|
111
|
+
readonly transform: "translateX(-100%)";
|
|
112
|
+
readonly opacity: 0;
|
|
113
|
+
};
|
|
114
|
+
readonly to: {
|
|
115
|
+
readonly transform: "translateX(0)";
|
|
116
|
+
readonly opacity: 1;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly slideInRight: {
|
|
120
|
+
readonly from: {
|
|
121
|
+
readonly transform: "translateX(100%)";
|
|
122
|
+
readonly opacity: 0;
|
|
123
|
+
};
|
|
124
|
+
readonly to: {
|
|
125
|
+
readonly transform: "translateX(0)";
|
|
126
|
+
readonly opacity: 1;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
readonly slideOutUp: {
|
|
130
|
+
readonly from: {
|
|
131
|
+
readonly transform: "translateY(0)";
|
|
132
|
+
readonly opacity: 1;
|
|
133
|
+
};
|
|
134
|
+
readonly to: {
|
|
135
|
+
readonly transform: "translateY(-100%)";
|
|
136
|
+
readonly opacity: 0;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
readonly slideOutDown: {
|
|
140
|
+
readonly from: {
|
|
141
|
+
readonly transform: "translateY(0)";
|
|
142
|
+
readonly opacity: 1;
|
|
143
|
+
};
|
|
144
|
+
readonly to: {
|
|
145
|
+
readonly transform: "translateY(100%)";
|
|
146
|
+
readonly opacity: 0;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
readonly slideOutLeft: {
|
|
150
|
+
readonly from: {
|
|
151
|
+
readonly transform: "translateX(0)";
|
|
152
|
+
readonly opacity: 1;
|
|
153
|
+
};
|
|
154
|
+
readonly to: {
|
|
155
|
+
readonly transform: "translateX(-100%)";
|
|
156
|
+
readonly opacity: 0;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
readonly slideOutRight: {
|
|
160
|
+
readonly from: {
|
|
161
|
+
readonly transform: "translateX(0)";
|
|
162
|
+
readonly opacity: 1;
|
|
163
|
+
};
|
|
164
|
+
readonly to: {
|
|
165
|
+
readonly transform: "translateX(100%)";
|
|
166
|
+
readonly opacity: 0;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
readonly scaleIn: {
|
|
170
|
+
readonly from: {
|
|
171
|
+
readonly transform: "scale(0.95)";
|
|
172
|
+
readonly opacity: 0;
|
|
173
|
+
};
|
|
174
|
+
readonly to: {
|
|
175
|
+
readonly transform: "scale(1)";
|
|
176
|
+
readonly opacity: 1;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
readonly scaleOut: {
|
|
180
|
+
readonly from: {
|
|
181
|
+
readonly transform: "scale(1)";
|
|
182
|
+
readonly opacity: 1;
|
|
183
|
+
};
|
|
184
|
+
readonly to: {
|
|
185
|
+
readonly transform: "scale(0.95)";
|
|
186
|
+
readonly opacity: 0;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
readonly scaleUp: {
|
|
190
|
+
readonly from: {
|
|
191
|
+
readonly transform: "scale(1)";
|
|
192
|
+
};
|
|
193
|
+
readonly to: {
|
|
194
|
+
readonly transform: "scale(1.05)";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly scaleDown: {
|
|
198
|
+
readonly from: {
|
|
199
|
+
readonly transform: "scale(1.05)";
|
|
200
|
+
};
|
|
201
|
+
readonly to: {
|
|
202
|
+
readonly transform: "scale(1)";
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
readonly spin: {
|
|
206
|
+
readonly from: {
|
|
207
|
+
readonly transform: "rotate(0deg)";
|
|
208
|
+
};
|
|
209
|
+
readonly to: {
|
|
210
|
+
readonly transform: "rotate(360deg)";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
readonly spinReverse: {
|
|
214
|
+
readonly from: {
|
|
215
|
+
readonly transform: "rotate(360deg)";
|
|
216
|
+
};
|
|
217
|
+
readonly to: {
|
|
218
|
+
readonly transform: "rotate(0deg)";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly pulse: {
|
|
222
|
+
readonly "0%, 100%": {
|
|
223
|
+
readonly opacity: 1;
|
|
224
|
+
};
|
|
225
|
+
readonly "50%": {
|
|
226
|
+
readonly opacity: 0.5;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly bounce: {
|
|
230
|
+
readonly "0%, 100%": {
|
|
231
|
+
readonly transform: "translateY(-25%)";
|
|
232
|
+
readonly animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)";
|
|
233
|
+
};
|
|
234
|
+
readonly "50%": {
|
|
235
|
+
readonly transform: "translateY(0)";
|
|
236
|
+
readonly animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)";
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
readonly shake: {
|
|
240
|
+
readonly "0%, 100%": {
|
|
241
|
+
readonly transform: "translateX(0)";
|
|
242
|
+
};
|
|
243
|
+
readonly "10%, 30%, 50%, 70%, 90%": {
|
|
244
|
+
readonly transform: "translateX(-4px)";
|
|
245
|
+
};
|
|
246
|
+
readonly "20%, 40%, 60%, 80%": {
|
|
247
|
+
readonly transform: "translateX(4px)";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly ping: {
|
|
251
|
+
readonly "75%, 100%": {
|
|
252
|
+
readonly transform: "scale(2)";
|
|
253
|
+
readonly opacity: 0;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly "accordion-down": {
|
|
257
|
+
readonly from: {
|
|
258
|
+
readonly height: "0";
|
|
259
|
+
};
|
|
260
|
+
readonly to: {
|
|
261
|
+
readonly height: "var(--radix-accordion-content-height)";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
readonly "accordion-up": {
|
|
265
|
+
readonly from: {
|
|
266
|
+
readonly height: "var(--radix-accordion-content-height)";
|
|
267
|
+
};
|
|
268
|
+
readonly to: {
|
|
269
|
+
readonly height: "0";
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* Animation Tokens
|
|
275
|
+
* Pre-configured animations combining keyframes, duration, and easing
|
|
276
|
+
*/
|
|
277
|
+
export declare const animations: {
|
|
278
|
+
readonly fadeIn: "fadeIn 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
279
|
+
readonly fadeOut: "fadeOut 150ms cubic-bezier(0.4, 0, 1, 1)";
|
|
280
|
+
readonly slideInUp: "slideInUp 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
281
|
+
readonly slideInDown: "slideInDown 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
282
|
+
readonly slideInLeft: "slideInLeft 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
283
|
+
readonly slideInRight: "slideInRight 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
284
|
+
readonly slideOutUp: "slideOutUp 150ms cubic-bezier(0.4, 0, 1, 1)";
|
|
285
|
+
readonly slideOutDown: "slideOutDown 150ms cubic-bezier(0.4, 0, 1, 1)";
|
|
286
|
+
readonly slideOutLeft: "slideOutLeft 150ms cubic-bezier(0.4, 0, 1, 1)";
|
|
287
|
+
readonly slideOutRight: "slideOutRight 150ms cubic-bezier(0.4, 0, 1, 1)";
|
|
288
|
+
readonly scaleIn: "scaleIn 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
289
|
+
readonly scaleOut: "scaleOut 150ms cubic-bezier(0.4, 0, 1, 1)";
|
|
290
|
+
readonly spin: "spin 1s linear infinite";
|
|
291
|
+
readonly pulse: "pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite";
|
|
292
|
+
readonly bounce: "bounce 1s linear infinite";
|
|
293
|
+
readonly ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) cubic-bezier(0, 0, 0.2, 1) infinite";
|
|
294
|
+
readonly shake: "shake 0.5s cubic-bezier(0.4, 0, 0.2, 1)";
|
|
295
|
+
readonly "accordion-down": "accordion-down 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
296
|
+
readonly "accordion-up": "accordion-up 300ms cubic-bezier(0, 0, 0.2, 1)";
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Reduced Motion Support
|
|
300
|
+
* Respects prefers-reduced-motion media query
|
|
301
|
+
*/
|
|
302
|
+
export declare const reducedMotion: {
|
|
303
|
+
readonly duration: "0ms";
|
|
304
|
+
readonly easing: "linear";
|
|
305
|
+
readonly transition: "0ms linear";
|
|
306
|
+
readonly mediaQuery: "@media (prefers-reduced-motion: reduce)";
|
|
307
|
+
readonly disableAnimations: "animation: none !important; transition: none !important;";
|
|
308
|
+
};
|
|
309
|
+
/**
|
|
310
|
+
* CSS Custom Properties for Motion
|
|
311
|
+
* These will be injected into the theme system
|
|
312
|
+
*/
|
|
313
|
+
export declare const motionCSSVariables: {
|
|
314
|
+
readonly "--duration-instant": "0ms";
|
|
315
|
+
readonly "--duration-fast": "150ms";
|
|
316
|
+
readonly "--duration-normal": "300ms";
|
|
317
|
+
readonly "--duration-slow": "500ms";
|
|
318
|
+
readonly "--duration-slower": "700ms";
|
|
319
|
+
readonly "--duration-slowest": "1000ms";
|
|
320
|
+
readonly "--ease-linear": "linear";
|
|
321
|
+
readonly "--ease-in": "cubic-bezier(0.4, 0, 1, 1)";
|
|
322
|
+
readonly "--ease-out": "cubic-bezier(0, 0, 0.2, 1)";
|
|
323
|
+
readonly "--ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
324
|
+
readonly "--ease-bounce": "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
|
|
325
|
+
readonly "--ease-elastic": "cubic-bezier(0.175, 0.885, 0.32, 1.275)";
|
|
326
|
+
readonly "--transition-fast": "150ms cubic-bezier(0, 0, 0.2, 1)";
|
|
327
|
+
readonly "--transition-normal": "300ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
328
|
+
readonly "--transition-slow": "500ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
329
|
+
readonly "--transition-default": "300ms cubic-bezier(0.4, 0, 0.2, 1)";
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* Tailwind Motion Config
|
|
333
|
+
* Maps to Tailwind theme.extend for durations, transitions, keyframes, animations
|
|
334
|
+
*/
|
|
335
|
+
export declare const tailwindMotionConfig: {
|
|
336
|
+
readonly transitionDuration: Record<string, string>;
|
|
337
|
+
readonly transitionTimingFunction: Record<string, string>;
|
|
338
|
+
readonly transitionProperty: {
|
|
339
|
+
readonly DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter";
|
|
340
|
+
readonly colors: "color, background-color, border-color, text-decoration-color, fill, stroke";
|
|
341
|
+
readonly opacity: "opacity";
|
|
342
|
+
readonly shadow: "box-shadow";
|
|
343
|
+
readonly transform: "transform";
|
|
344
|
+
readonly all: "all";
|
|
345
|
+
readonly none: "none";
|
|
346
|
+
};
|
|
347
|
+
readonly keyframes: Record<string, any>;
|
|
348
|
+
readonly animation: Record<string, string>;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Type Exports
|
|
352
|
+
*/
|
|
353
|
+
export type Duration = keyof typeof durations;
|
|
354
|
+
export type Easing = keyof typeof easings;
|
|
355
|
+
export type Transition = keyof typeof transitions;
|
|
356
|
+
export type Keyframe = keyof typeof keyframes;
|
|
357
|
+
export type Animation = keyof typeof animations;
|
|
358
|
+
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../src/tokens/motion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;CAgBZ,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;CAwBV,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;CAyBd,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHZ,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CA6Bb,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;CAehB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAsBrB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,oBAAoB;iCAG1B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;uCAItB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;;;;wBAetB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;wBAWnB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CACnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,CAAC;AAC9C,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,OAAO,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AAClD,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,CAAC;AAC9C,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
package/dist/tokens/radius.d.ts
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Border Radius System Tokens
|
|
3
|
+
*
|
|
4
|
+
* Complete border radius system for Tenerife UI based on design system specifications.
|
|
5
|
+
* Includes: radius scale (none..3xl, full), component-specific radius standards,
|
|
6
|
+
* and CSS variable definitions.
|
|
7
|
+
*
|
|
8
|
+
* Base unit: 4px (0.25rem)
|
|
9
|
+
* All radius values follow a consistent scale for visual harmony.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Border Radius Scale
|
|
13
|
+
* Values: none, xs, sm, md, lg, xl, 2xl, 3xl, full
|
|
14
|
+
*/
|
|
1
15
|
export declare const borderRadius: {
|
|
2
|
-
readonly none: "
|
|
3
|
-
readonly
|
|
16
|
+
readonly none: "0";
|
|
17
|
+
readonly xs: "0.125rem";
|
|
18
|
+
readonly sm: "0.25rem";
|
|
4
19
|
readonly DEFAULT: "0.25rem";
|
|
20
|
+
readonly base: "0.25rem";
|
|
5
21
|
readonly md: "0.375rem";
|
|
6
22
|
readonly lg: "0.5rem";
|
|
7
23
|
readonly xl: "0.75rem";
|
|
@@ -9,5 +25,117 @@ export declare const borderRadius: {
|
|
|
9
25
|
readonly "3xl": "1.5rem";
|
|
10
26
|
readonly full: "9999px";
|
|
11
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* Component-Specific Radius Standards
|
|
30
|
+
* Defines recommended radius values for different component types
|
|
31
|
+
*/
|
|
32
|
+
export declare const componentRadius: {
|
|
33
|
+
readonly button: {
|
|
34
|
+
readonly sm: "0.25rem";
|
|
35
|
+
readonly md: "0.375rem";
|
|
36
|
+
readonly lg: "0.5rem";
|
|
37
|
+
readonly pill: "9999px";
|
|
38
|
+
};
|
|
39
|
+
readonly card: {
|
|
40
|
+
readonly sm: "0.25rem";
|
|
41
|
+
readonly md: "0.375rem";
|
|
42
|
+
readonly lg: "0.5rem";
|
|
43
|
+
readonly xl: "0.75rem";
|
|
44
|
+
};
|
|
45
|
+
readonly input: {
|
|
46
|
+
readonly sm: "0.25rem";
|
|
47
|
+
readonly md: "0.375rem";
|
|
48
|
+
readonly lg: "0.5rem";
|
|
49
|
+
};
|
|
50
|
+
readonly badge: {
|
|
51
|
+
readonly sm: "0.125rem";
|
|
52
|
+
readonly md: "0.25rem";
|
|
53
|
+
readonly lg: "0.375rem";
|
|
54
|
+
readonly pill: "9999px";
|
|
55
|
+
};
|
|
56
|
+
readonly avatar: {
|
|
57
|
+
readonly sm: "9999px";
|
|
58
|
+
readonly md: "9999px";
|
|
59
|
+
readonly lg: "9999px";
|
|
60
|
+
readonly square: "0.375rem";
|
|
61
|
+
};
|
|
62
|
+
readonly modal: {
|
|
63
|
+
readonly sm: "0.375rem";
|
|
64
|
+
readonly md: "0.5rem";
|
|
65
|
+
readonly lg: "0.75rem";
|
|
66
|
+
readonly xl: "1rem";
|
|
67
|
+
};
|
|
68
|
+
readonly tooltip: {
|
|
69
|
+
readonly sm: "0.25rem";
|
|
70
|
+
readonly md: "0.375rem";
|
|
71
|
+
};
|
|
72
|
+
readonly toast: {
|
|
73
|
+
readonly sm: "0.375rem";
|
|
74
|
+
readonly md: "0.5rem";
|
|
75
|
+
readonly lg: "0.75rem";
|
|
76
|
+
};
|
|
77
|
+
readonly chip: {
|
|
78
|
+
readonly sm: "0.125rem";
|
|
79
|
+
readonly md: "0.25rem";
|
|
80
|
+
readonly lg: "0.375rem";
|
|
81
|
+
readonly pill: "9999px";
|
|
82
|
+
};
|
|
83
|
+
readonly image: {
|
|
84
|
+
readonly none: "0";
|
|
85
|
+
readonly sm: "0.25rem";
|
|
86
|
+
readonly md: "0.375rem";
|
|
87
|
+
readonly lg: "0.5rem";
|
|
88
|
+
readonly xl: "0.75rem";
|
|
89
|
+
readonly full: "9999px";
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* CSS Custom Properties for Border Radius
|
|
94
|
+
* These will be injected into the theme system
|
|
95
|
+
*/
|
|
96
|
+
export declare const radiusCSSVariables: {
|
|
97
|
+
readonly "--radius-none": "0";
|
|
98
|
+
readonly "--radius-xs": "0.125rem";
|
|
99
|
+
readonly "--radius-sm": "0.25rem";
|
|
100
|
+
readonly "--radius-base": "0.25rem";
|
|
101
|
+
readonly "--radius-md": "0.375rem";
|
|
102
|
+
readonly "--radius-lg": "0.5rem";
|
|
103
|
+
readonly "--radius-xl": "0.75rem";
|
|
104
|
+
readonly "--radius-2xl": "1rem";
|
|
105
|
+
readonly "--radius-3xl": "1.5rem";
|
|
106
|
+
readonly "--radius-full": "9999px";
|
|
107
|
+
readonly "--radius": "0.375rem";
|
|
108
|
+
readonly "--radius-button": "0.375rem";
|
|
109
|
+
readonly "--radius-card": "0.375rem";
|
|
110
|
+
readonly "--radius-input": "0.375rem";
|
|
111
|
+
readonly "--radius-badge": "0.25rem";
|
|
112
|
+
readonly "--radius-modal": "0.5rem";
|
|
113
|
+
readonly "--radius-tooltip": "0.25rem";
|
|
114
|
+
readonly "--radius-toast": "0.5rem";
|
|
115
|
+
readonly "--radius-chip": "0.25rem";
|
|
116
|
+
readonly "--radius-image": "0.375rem";
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Tailwind Border Radius Config
|
|
120
|
+
* Maps to Tailwind theme.extend.borderRadius
|
|
121
|
+
*/
|
|
122
|
+
export declare const tailwindRadiusConfig: {
|
|
123
|
+
readonly borderRadius: Record<string, string>;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Type Exports
|
|
127
|
+
*/
|
|
12
128
|
export type BorderRadius = keyof typeof borderRadius;
|
|
129
|
+
export type ComponentRadius = {
|
|
130
|
+
button: keyof typeof componentRadius.button;
|
|
131
|
+
card: keyof typeof componentRadius.card;
|
|
132
|
+
input: keyof typeof componentRadius.input;
|
|
133
|
+
badge: keyof typeof componentRadius.badge;
|
|
134
|
+
avatar: keyof typeof componentRadius.avatar;
|
|
135
|
+
modal: keyof typeof componentRadius.modal;
|
|
136
|
+
tooltip: keyof typeof componentRadius.tooltip;
|
|
137
|
+
toast: keyof typeof componentRadius.toast;
|
|
138
|
+
chip: keyof typeof componentRadius.chip;
|
|
139
|
+
image: keyof typeof componentRadius.image;
|
|
140
|
+
};
|
|
13
141
|
//# sourceMappingURL=radius.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../src/tokens/radius.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../src/tokens/radius.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;CA+Bf,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ElB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;CA0BrB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,oBAAoB;2BAa1B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CACnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC;AACrD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,OAAO,eAAe,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,MAAM,OAAO,eAAe,CAAC,IAAI,CAAC;IACxC,KAAK,EAAE,MAAM,OAAO,eAAe,CAAC,KAAK,CAAC;IAC1C,KAAK,EAAE,MAAM,OAAO,eAAe,CAAC,KAAK,CAAC;IAC1C,MAAM,EAAE,MAAM,OAAO,eAAe,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,MAAM,OAAO,eAAe,CAAC,KAAK,CAAC;IAC1C,OAAO,EAAE,MAAM,OAAO,eAAe,CAAC,OAAO,CAAC;IAC9C,KAAK,EAAE,MAAM,OAAO,eAAe,CAAC,KAAK,CAAC;IAC1C,IAAI,EAAE,MAAM,OAAO,eAAe,CAAC,IAAI,CAAC;IACxC,KAAK,EAAE,MAAM,OAAO,eAAe,CAAC,KAAK,CAAC;CAC3C,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shadow and Glow System Tokens
|
|
3
|
+
*
|
|
4
|
+
* Complete shadow system for Tenerife UI based on design system specifications.
|
|
5
|
+
* Includes: elevation shadows, colored shadows (primary/accent), glow effects,
|
|
6
|
+
* and focus ring tokens for accessibility.
|
|
7
|
+
*
|
|
8
|
+
* @see docs/tenerife_audit/design_system.md - shadow system section
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Elevation Shadow Tokens
|
|
12
|
+
* Used for component depth and elevation hierarchy
|
|
13
|
+
* Values: none, xs, sm, md, lg, xl, 2xl
|
|
14
|
+
*/
|
|
15
|
+
export declare const elevationShadows: {
|
|
16
|
+
readonly none: "none";
|
|
17
|
+
readonly xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
18
|
+
readonly sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
19
|
+
readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
20
|
+
readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
21
|
+
readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
22
|
+
readonly "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Primary Colored Shadow Tokens
|
|
26
|
+
* Used for interactive elements and brand emphasis with primary color
|
|
27
|
+
*/
|
|
28
|
+
export declare const primaryColoredShadows: {
|
|
29
|
+
readonly xs: "0 1px 2px 0 hsl(var(--primary-500) / 0.15)";
|
|
30
|
+
readonly sm: "0 2px 4px 0 hsl(var(--primary-500) / 0.2)";
|
|
31
|
+
readonly md: "0 4px 8px 0 hsl(var(--primary-500) / 0.3)";
|
|
32
|
+
readonly lg: "0 8px 16px 0 hsl(var(--primary-500) / 0.4)";
|
|
33
|
+
readonly xl: "0 12px 24px 0 hsl(var(--primary-500) / 0.5)";
|
|
34
|
+
readonly "2xl": "0 16px 32px 0 hsl(var(--primary-500) / 0.6)";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Accent Colored Shadow Tokens
|
|
38
|
+
* Used for accent elements and highlights with accent color
|
|
39
|
+
*/
|
|
40
|
+
export declare const accentColoredShadows: {
|
|
41
|
+
readonly xs: "0 1px 2px 0 hsl(var(--accent-500) / 0.15)";
|
|
42
|
+
readonly sm: "0 2px 4px 0 hsl(var(--accent-500) / 0.2)";
|
|
43
|
+
readonly md: "0 4px 8px 0 hsl(var(--accent-500) / 0.3)";
|
|
44
|
+
readonly lg: "0 8px 16px 0 hsl(var(--accent-500) / 0.4)";
|
|
45
|
+
readonly xl: "0 12px 24px 0 hsl(var(--accent-500) / 0.5)";
|
|
46
|
+
readonly "2xl": "0 16px 32px 0 hsl(var(--accent-500) / 0.6)";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Glow Effect Tokens
|
|
50
|
+
* Used for focus states, brand emphasis, and interactive feedback
|
|
51
|
+
*/
|
|
52
|
+
export declare const glowEffects: {
|
|
53
|
+
readonly "glow-primary": "0 0 20px 0 hsl(var(--primary-500) / 0.5), 0 0 40px 0 hsl(var(--primary-500) / 0.3)";
|
|
54
|
+
readonly "glow-primary-subtle": "0 0 8px 0 hsl(var(--primary-500) / 0.3)";
|
|
55
|
+
readonly "glow-primary-medium": "0 0 16px 0 hsl(var(--primary-500) / 0.5)";
|
|
56
|
+
readonly "glow-primary-strong": "0 0 24px 0 hsl(var(--primary-500) / 0.6)";
|
|
57
|
+
readonly "glow-accent": "0 0 20px 0 hsl(var(--accent-500) / 0.5), 0 0 40px 0 hsl(var(--accent-500) / 0.3)";
|
|
58
|
+
readonly "glow-accent-subtle": "0 0 8px 0 hsl(var(--accent-500) / 0.3)";
|
|
59
|
+
readonly "glow-accent-medium": "0 0 16px 0 hsl(var(--accent-500) / 0.5)";
|
|
60
|
+
readonly "glow-accent-strong": "0 0 24px 0 hsl(var(--accent-500) / 0.6)";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Focus Ring Tokens
|
|
64
|
+
* Used for keyboard focus indicators (accessibility)
|
|
65
|
+
*/
|
|
66
|
+
export declare const focusRings: {
|
|
67
|
+
readonly default: "0 0 0 3px hsl(var(--ring) / 0.5)";
|
|
68
|
+
readonly primary: "0 0 0 3px hsl(var(--primary-500) / 0.3)";
|
|
69
|
+
readonly accent: "0 0 0 3px hsl(var(--accent-500) / 0.3)";
|
|
70
|
+
readonly "focus-primary": "0 0 0 3px hsl(var(--primary-500) / 0.3)";
|
|
71
|
+
readonly "focus-accent": "0 0 0 3px hsl(var(--accent-500) / 0.3)";
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* CSS Custom Properties for Shadows
|
|
75
|
+
* These will be injected into the theme system
|
|
76
|
+
*/
|
|
77
|
+
export declare const shadowCSSVariables: {
|
|
78
|
+
readonly "--shadow-none": "none";
|
|
79
|
+
readonly "--shadow-xs": "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
80
|
+
readonly "--shadow-sm": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
81
|
+
readonly "--shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
82
|
+
readonly "--shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
83
|
+
readonly "--shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
84
|
+
readonly "--shadow-2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)";
|
|
85
|
+
readonly "--shadow-primary-xs": "0 1px 2px 0 hsl(var(--primary-500) / 0.15)";
|
|
86
|
+
readonly "--shadow-primary-sm": "0 2px 4px 0 hsl(var(--primary-500) / 0.2)";
|
|
87
|
+
readonly "--shadow-primary-md": "0 4px 8px 0 hsl(var(--primary-500) / 0.3)";
|
|
88
|
+
readonly "--shadow-primary-lg": "0 8px 16px 0 hsl(var(--primary-500) / 0.4)";
|
|
89
|
+
readonly "--shadow-primary-xl": "0 12px 24px 0 hsl(var(--primary-500) / 0.5)";
|
|
90
|
+
readonly "--shadow-primary-2xl": "0 16px 32px 0 hsl(var(--primary-500) / 0.6)";
|
|
91
|
+
readonly "--shadow-accent-xs": "0 1px 2px 0 hsl(var(--accent-500) / 0.15)";
|
|
92
|
+
readonly "--shadow-accent-sm": "0 2px 4px 0 hsl(var(--accent-500) / 0.2)";
|
|
93
|
+
readonly "--shadow-accent-md": "0 4px 8px 0 hsl(var(--accent-500) / 0.3)";
|
|
94
|
+
readonly "--shadow-accent-lg": "0 8px 16px 0 hsl(var(--accent-500) / 0.4)";
|
|
95
|
+
readonly "--shadow-accent-xl": "0 12px 24px 0 hsl(var(--accent-500) / 0.5)";
|
|
96
|
+
readonly "--shadow-accent-2xl": "0 16px 32px 0 hsl(var(--accent-500) / 0.6)";
|
|
97
|
+
readonly "--glow-primary": "0 0 20px 0 hsl(var(--primary-500) / 0.5), 0 0 40px 0 hsl(var(--primary-500) / 0.3)";
|
|
98
|
+
readonly "--glow-primary-subtle": "0 0 8px 0 hsl(var(--primary-500) / 0.3)";
|
|
99
|
+
readonly "--glow-primary-medium": "0 0 16px 0 hsl(var(--primary-500) / 0.5)";
|
|
100
|
+
readonly "--glow-primary-strong": "0 0 24px 0 hsl(var(--primary-500) / 0.6)";
|
|
101
|
+
readonly "--glow-accent": "0 0 20px 0 hsl(var(--accent-500) / 0.5), 0 0 40px 0 hsl(var(--accent-500) / 0.3)";
|
|
102
|
+
readonly "--glow-accent-subtle": "0 0 8px 0 hsl(var(--accent-500) / 0.3)";
|
|
103
|
+
readonly "--glow-accent-medium": "0 0 16px 0 hsl(var(--accent-500) / 0.5)";
|
|
104
|
+
readonly "--glow-accent-strong": "0 0 24px 0 hsl(var(--accent-500) / 0.6)";
|
|
105
|
+
readonly "--focus-ring-default": "0 0 0 3px hsl(var(--ring) / 0.5)";
|
|
106
|
+
readonly "--focus-ring-primary": "0 0 0 3px hsl(var(--primary-500) / 0.3)";
|
|
107
|
+
readonly "--focus-ring-accent": "0 0 0 3px hsl(var(--accent-500) / 0.3)";
|
|
108
|
+
readonly "--focus-primary": "0 0 0 3px hsl(var(--primary-500) / 0.3)";
|
|
109
|
+
readonly "--focus-accent": "0 0 0 3px hsl(var(--accent-500) / 0.3)";
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Component Shadow Mapping
|
|
113
|
+
* Defines which shadow level to use for different component states
|
|
114
|
+
*/
|
|
115
|
+
export declare const componentShadowMapping: {
|
|
116
|
+
readonly card: {
|
|
117
|
+
readonly default: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
118
|
+
readonly hover: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
119
|
+
readonly active: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
120
|
+
readonly selected: "0 2px 4px 0 hsl(var(--primary-500) / 0.2)";
|
|
121
|
+
};
|
|
122
|
+
readonly button: {
|
|
123
|
+
readonly default: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
124
|
+
readonly hover: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
125
|
+
readonly active: "none";
|
|
126
|
+
readonly focus: "0 0 0 3px hsl(var(--primary-500) / 0.3)";
|
|
127
|
+
};
|
|
128
|
+
readonly "button-accent": {
|
|
129
|
+
readonly default: "0 1px 2px 0 hsl(var(--accent-500) / 0.15)";
|
|
130
|
+
readonly hover: "0 2px 4px 0 hsl(var(--accent-500) / 0.2)";
|
|
131
|
+
readonly active: "none";
|
|
132
|
+
readonly focus: "0 0 0 3px hsl(var(--accent-500) / 0.3)";
|
|
133
|
+
};
|
|
134
|
+
readonly modal: {
|
|
135
|
+
readonly default: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
136
|
+
readonly backdrop: "rgba(0, 0, 0, 0.5)";
|
|
137
|
+
};
|
|
138
|
+
readonly dropdown: {
|
|
139
|
+
readonly default: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
140
|
+
readonly hover: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
141
|
+
};
|
|
142
|
+
readonly tooltip: {
|
|
143
|
+
readonly default: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
144
|
+
};
|
|
145
|
+
readonly toast: {
|
|
146
|
+
readonly default: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
147
|
+
readonly success: "0 10px 15px -3px hsl(var(--success) / 0.3)";
|
|
148
|
+
readonly error: "0 10px 15px -3px hsl(var(--error) / 0.3)";
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Tailwind Shadow Config
|
|
153
|
+
* Maps to Tailwind theme.extend.boxShadow
|
|
154
|
+
*/
|
|
155
|
+
export declare const tailwindShadowConfig: {
|
|
156
|
+
readonly boxShadow: Record<string, string>;
|
|
157
|
+
readonly ringWidth: {
|
|
158
|
+
readonly DEFAULT: "3px";
|
|
159
|
+
readonly sm: "2px";
|
|
160
|
+
readonly md: "3px";
|
|
161
|
+
readonly lg: "4px";
|
|
162
|
+
};
|
|
163
|
+
readonly ringColor: Record<string, string>;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Type Exports
|
|
167
|
+
*/
|
|
168
|
+
export type ElevationShadow = keyof typeof elevationShadows;
|
|
169
|
+
export type ColoredShadow = keyof typeof primaryColoredShadows | keyof typeof accentColoredShadows;
|
|
170
|
+
export type GlowEffect = keyof typeof glowEffects;
|
|
171
|
+
export type FocusRing = keyof typeof focusRings;
|
|
172
|
+
//# sourceMappingURL=shadows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/tokens/shadows.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;CAQnB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;CAOxB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;CAad,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CrB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCzB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,oBAAoB;wBAyC1B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;wBAiBtB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CACnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAC5D,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,qBAAqB,GAAG,MAAM,OAAO,oBAAoB,CAAC;AACnG,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AAClD,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAC"}
|