@raydenui/ui 0.9.7 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +124 -49
- package/dist/Table-DCNSxua1.d.cts +31 -0
- package/dist/Table-DCNSxua1.d.ts +31 -0
- package/dist/blocks/ApplicationShellBlock.cjs +157 -0
- package/dist/blocks/ApplicationShellBlock.js +154 -0
- package/dist/blocks/CheckoutReviewBlock.cjs +16 -0
- package/dist/blocks/CheckoutReviewBlock.js +13 -0
- package/dist/blocks/CommandPaletteBlock.cjs +334 -0
- package/dist/blocks/CommandPaletteBlock.js +331 -0
- package/dist/blocks/CreateAccountBlock.cjs +147 -0
- package/dist/blocks/CreateAccountBlock.js +143 -0
- package/dist/blocks/EmptyStateBlock.cjs +19 -0
- package/dist/blocks/EmptyStateBlock.js +16 -0
- package/dist/blocks/FeatureOverviewBlock.cjs +54 -0
- package/dist/blocks/FeatureOverviewBlock.js +51 -0
- package/dist/blocks/HeaderBlock.cjs +230 -0
- package/dist/blocks/HeaderBlock.js +227 -0
- package/dist/blocks/KpiOverviewBlock.cjs +63 -0
- package/dist/blocks/KpiOverviewBlock.js +60 -0
- package/dist/blocks/LoginBlock.cjs +66 -0
- package/dist/blocks/LoginBlock.js +63 -0
- package/dist/blocks/NotificationsBlock.cjs +17 -0
- package/dist/blocks/NotificationsBlock.js +14 -0
- package/dist/blocks/PageHeaderBlock.cjs +121 -0
- package/dist/blocks/PageHeaderBlock.js +118 -0
- package/dist/blocks/PricingPlansBlock.cjs +146 -0
- package/dist/blocks/PricingPlansBlock.js +143 -0
- package/dist/blocks/ProductCollectionBlock.cjs +37 -0
- package/dist/blocks/ProductCollectionBlock.js +34 -0
- package/dist/blocks/ProductDetailBlock.cjs +30 -0
- package/dist/blocks/ProductDetailBlock.js +27 -0
- package/dist/blocks/ProductHeroBlock.cjs +83 -0
- package/dist/blocks/ProductHeroBlock.js +80 -0
- package/dist/blocks/ProfileSettingsBlock.cjs +130 -0
- package/dist/blocks/ProfileSettingsBlock.js +126 -0
- package/dist/blocks/QuickSendBlock.cjs +11 -0
- package/dist/blocks/QuickSendBlock.js +8 -0
- package/dist/blocks/RecentTransactionsBlock.cjs +13 -0
- package/dist/blocks/RecentTransactionsBlock.js +10 -0
- package/dist/blocks/SearchableTableBlock.cjs +91 -0
- package/dist/blocks/SearchableTableBlock.js +88 -0
- package/dist/blocks/ShoppingCartBlock.cjs +16 -0
- package/dist/blocks/ShoppingCartBlock.js +13 -0
- package/dist/blocks/SiteFooterBlock.cjs +69 -0
- package/dist/blocks/SiteFooterBlock.js +66 -0
- package/dist/blocks/TableBlock.cjs +20 -0
- package/dist/blocks/TableBlock.js +17 -0
- package/dist/blocks/TaskListBlock.cjs +198 -0
- package/dist/blocks/TaskListBlock.js +195 -0
- package/dist/blocks/WorkspaceSwitcherBlock.cjs +291 -0
- package/dist/blocks/WorkspaceSwitcherBlock.js +288 -0
- package/dist/blocks/commerce.cjs +44 -0
- package/dist/blocks/commerce.js +35 -0
- package/dist/blocks/index.cjs +53 -0
- package/dist/blocks/index.js +24 -0
- package/dist/blocks.d.cts +1820 -0
- package/dist/blocks.d.ts +1820 -0
- package/dist/chart.cjs +13 -0
- package/dist/chart.d.cts +59 -0
- package/dist/chart.d.ts +59 -0
- package/dist/chart.js +5 -0
- package/dist/components/Accordion/Accordion.cjs +94 -0
- package/dist/components/Accordion/Accordion.js +91 -0
- package/dist/components/Accordion/index.cjs +8 -0
- package/dist/components/Accordion/index.js +1 -0
- package/dist/components/ActivityFeed/ActivityContent.cjs +40 -0
- package/dist/components/ActivityFeed/ActivityContent.js +37 -0
- package/dist/components/ActivityFeed/ActivityItem.cjs +19 -0
- package/dist/components/ActivityFeed/ActivityItem.js +16 -0
- package/dist/components/ActivityFeed/index.cjs +7 -0
- package/dist/components/ActivityFeed/index.js +2 -0
- package/dist/components/Alert/Alert.cjs +42 -0
- package/dist/components/Alert/Alert.js +39 -0
- package/dist/components/Alert/index.cjs +5 -0
- package/dist/components/Alert/index.js +1 -0
- package/dist/components/Avatar/Avatar.cjs +101 -0
- package/dist/components/Avatar/Avatar.js +98 -0
- package/dist/components/Avatar/index.cjs +6 -0
- package/dist/components/Avatar/index.js +1 -0
- package/dist/components/Badge/Badge.cjs +53 -0
- package/dist/components/Badge/Badge.js +50 -0
- package/dist/components/Badge/index.cjs +5 -0
- package/dist/components/Badge/index.js +1 -0
- package/dist/components/Banner/Banner.cjs +83 -0
- package/dist/components/Banner/Banner.js +80 -0
- package/dist/components/Banner/index.cjs +5 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.cjs +31 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +28 -0
- package/dist/components/Breadcrumb/index.cjs +5 -0
- package/dist/components/Breadcrumb/index.js +1 -0
- package/dist/components/Button/Button.cjs +88 -0
- package/dist/components/Button/Button.js +85 -0
- package/dist/components/Button/index.cjs +5 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.cjs +8 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +5 -0
- package/dist/components/ButtonGroup/ButtonGroupItem.cjs +15 -0
- package/dist/components/ButtonGroup/ButtonGroupItem.js +12 -0
- package/dist/components/ButtonGroup/index.cjs +7 -0
- package/dist/components/ButtonGroup/index.js +2 -0
- package/dist/components/Card/Card.cjs +94 -0
- package/dist/components/Card/Card.js +91 -0
- package/dist/components/Card/index.cjs +9 -0
- package/dist/components/Card/index.js +1 -0
- package/dist/components/Chart/Chart.cjs +160 -0
- package/dist/components/Chart/Chart.js +153 -0
- package/dist/components/Chart/index.cjs +10 -0
- package/dist/components/Chart/index.js +2 -0
- package/dist/components/Chart/theme.cjs +67 -0
- package/dist/components/Chart/theme.js +62 -0
- package/dist/components/Chip/Chip.cjs +18 -0
- package/dist/components/Chip/Chip.js +15 -0
- package/dist/components/Chip/index.cjs +5 -0
- package/dist/components/Chip/index.js +1 -0
- package/dist/components/Counter/Counter.cjs +74 -0
- package/dist/components/Counter/Counter.js +71 -0
- package/dist/components/Counter/index.cjs +6 -0
- package/dist/components/Counter/index.js +1 -0
- package/dist/components/DatePicker/DatePicker.cjs +343 -0
- package/dist/components/DatePicker/DatePicker.js +340 -0
- package/dist/components/DatePicker/index.cjs +5 -0
- package/dist/components/DatePicker/index.js +1 -0
- package/dist/components/Divider/Divider.cjs +31 -0
- package/dist/components/Divider/Divider.js +28 -0
- package/dist/components/Divider/index.cjs +5 -0
- package/dist/components/Divider/index.js +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.cjs +108 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +105 -0
- package/dist/components/DropdownMenu/index.cjs +11 -0
- package/dist/components/DropdownMenu/index.js +1 -0
- package/dist/components/EmptyStateIllustration/EmptyStateIllustration.cjs +42 -0
- package/dist/components/EmptyStateIllustration/EmptyStateIllustration.js +39 -0
- package/dist/components/EmptyStateIllustration/illustrations.cjs +3322 -0
- package/dist/components/EmptyStateIllustration/illustrations.js +3319 -0
- package/dist/components/EmptyStateIllustration/index.cjs +7 -0
- package/dist/components/EmptyStateIllustration/index.js +2 -0
- package/dist/components/FileUpload/FileUpload.cjs +116 -0
- package/dist/components/FileUpload/FileUpload.js +113 -0
- package/dist/components/FileUpload/FileUploadDropZone.cjs +58 -0
- package/dist/components/FileUpload/FileUploadDropZone.js +55 -0
- package/dist/components/FileUpload/FileUploadIcons.cjs +55 -0
- package/dist/components/FileUpload/FileUploadIcons.js +50 -0
- package/dist/components/FileUpload/FileUploadItem.cjs +34 -0
- package/dist/components/FileUpload/FileUploadItem.js +31 -0
- package/dist/components/FileUpload/index.cjs +9 -0
- package/dist/components/FileUpload/index.js +3 -0
- package/dist/components/FormControl/Checkbox.cjs +27 -0
- package/dist/components/FormControl/Checkbox.js +24 -0
- package/dist/components/FormControl/Radio.cjs +15 -0
- package/dist/components/FormControl/Radio.js +12 -0
- package/dist/components/FormControl/Toggle.cjs +15 -0
- package/dist/components/FormControl/Toggle.js +12 -0
- package/dist/components/FormControl/index.cjs +9 -0
- package/dist/components/FormControl/index.js +3 -0
- package/dist/components/Icon/Icon.cjs +70 -0
- package/dist/components/Icon/Icon.js +34 -0
- package/dist/components/Icon/catalog.cjs +1672 -0
- package/dist/components/Icon/catalog.js +1669 -0
- package/dist/components/Icon/icons.cjs +5621 -0
- package/dist/components/Icon/icons.js +5610 -0
- package/dist/components/Icon/index.cjs +8 -0
- package/dist/components/Icon/index.js +2 -0
- package/dist/components/Input/Input.cjs +64 -0
- package/dist/components/Input/Input.js +61 -0
- package/dist/components/Input/index.cjs +5 -0
- package/dist/components/Input/index.js +1 -0
- package/dist/components/MetricsCard/MetricsCard.cjs +107 -0
- package/dist/components/MetricsCard/MetricsCard.js +104 -0
- package/dist/components/MetricsCard/index.cjs +5 -0
- package/dist/components/MetricsCard/index.js +1 -0
- package/dist/components/Modal/Modal.cjs +126 -0
- package/dist/components/Modal/Modal.js +123 -0
- package/dist/components/Modal/index.cjs +5 -0
- package/dist/components/Modal/index.js +1 -0
- package/dist/components/Pagination/Pagination.cjs +42 -0
- package/dist/components/Pagination/Pagination.js +39 -0
- package/dist/components/Pagination/index.cjs +5 -0
- package/dist/components/Pagination/index.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.cjs +34 -0
- package/dist/components/ProgressBar/ProgressBar.js +31 -0
- package/dist/components/ProgressBar/index.cjs +5 -0
- package/dist/components/ProgressBar/index.js +1 -0
- package/dist/components/ProgressCircle/ProgressCircle.cjs +34 -0
- package/dist/components/ProgressCircle/ProgressCircle.js +31 -0
- package/dist/components/ProgressCircle/index.cjs +5 -0
- package/dist/components/ProgressCircle/index.js +1 -0
- package/dist/components/Select/Select.cjs +84 -0
- package/dist/components/Select/Select.js +80 -0
- package/dist/components/Select/SelectOption.cjs +26 -0
- package/dist/components/Select/SelectOption.js +23 -0
- package/dist/components/Select/index.cjs +7 -0
- package/dist/components/Select/index.js +2 -0
- package/dist/components/SidebarMenu/SidebarMenu.cjs +85 -0
- package/dist/components/SidebarMenu/SidebarMenu.js +81 -0
- package/dist/components/SidebarMenu/SidebarMenuItem.cjs +126 -0
- package/dist/components/SidebarMenu/SidebarMenuItem.js +122 -0
- package/dist/components/SidebarMenu/SidebarMenuSection.cjs +14 -0
- package/dist/components/SidebarMenu/SidebarMenuSection.js +11 -0
- package/dist/components/SidebarMenu/index.cjs +12 -0
- package/dist/components/SidebarMenu/index.js +4 -0
- package/dist/components/Slider/Slider.cjs +161 -0
- package/dist/components/Slider/Slider.js +158 -0
- package/dist/components/Slider/index.cjs +6 -0
- package/dist/components/Slider/index.js +1 -0
- package/dist/components/Spinner/Spinner.cjs +93 -0
- package/dist/components/Spinner/Spinner.js +90 -0
- package/dist/components/Spinner/index.cjs +5 -0
- package/dist/components/Spinner/index.js +1 -0
- package/dist/components/Stepper/Stepper.cjs +82 -0
- package/dist/components/Stepper/Stepper.js +79 -0
- package/dist/components/Stepper/index.cjs +7 -0
- package/dist/components/Stepper/index.js +1 -0
- package/dist/components/Table/Table.cjs +25 -0
- package/dist/components/Table/Table.js +22 -0
- package/dist/components/Table/index.cjs +10 -0
- package/dist/components/Table/index.js +1 -0
- package/dist/components/Table/useTableSelection.cjs +60 -0
- package/dist/components/Table/useTableSelection.js +57 -0
- package/dist/components/Tabs/Tab.cjs +70 -0
- package/dist/components/Tabs/Tab.js +67 -0
- package/dist/components/Tabs/Tabs.cjs +133 -0
- package/dist/components/Tabs/Tabs.js +129 -0
- package/dist/components/Tabs/index.cjs +7 -0
- package/dist/components/Tabs/index.js +2 -0
- package/dist/components/Tooltip/Tooltip.cjs +101 -0
- package/dist/components/Tooltip/Tooltip.js +98 -0
- package/dist/components/Tooltip/index.cjs +5 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/context/ThemeContext.cjs +97 -0
- package/dist/context/ThemeContext.js +92 -0
- package/dist/fonts/README.md +13 -0
- package/dist/fonts/hanken-grotesk-cyrillic-ext-italic.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-cyrillic-ext-normal.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-latin-ext-italic.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-latin-ext-normal.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-latin-italic.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-latin-normal.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-vietnamese-italic.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-vietnamese-normal.woff2 +0 -0
- package/dist/fonts/hankengrotesk-LICENSE.txt +94 -0
- package/dist/fonts/manrope-LICENSE.txt +93 -0
- package/dist/fonts/manrope-cyrillic-ext-normal.woff2 +0 -0
- package/dist/fonts/manrope-cyrillic-normal.woff2 +0 -0
- package/dist/fonts/manrope-greek-normal.woff2 +0 -0
- package/dist/fonts/manrope-latin-ext-normal.woff2 +0 -0
- package/dist/fonts/manrope-latin-normal.woff2 +0 -0
- package/dist/fonts/manrope-vietnamese-normal.woff2 +0 -0
- package/dist/fonts.css +148 -0
- package/dist/hooks/form/index.cjs +11 -0
- package/dist/hooks/form/index.js +3 -0
- package/dist/hooks/form/useRaydenFormControl.cjs +81 -0
- package/dist/hooks/form/useRaydenFormControl.js +76 -0
- package/dist/hooks/form/useRaydenInput.cjs +38 -0
- package/dist/hooks/form/useRaydenInput.js +35 -0
- package/dist/hooks/form/useRaydenSelect.cjs +45 -0
- package/dist/hooks/form/useRaydenSelect.js +42 -0
- package/dist/hooks/index.cjs +17 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/useBodyScrollLock.cjs +24 -0
- package/dist/hooks/useBodyScrollLock.js +21 -0
- package/dist/hooks/useCollisionAwareSide.cjs +72 -0
- package/dist/hooks/useCollisionAwareSide.js +69 -0
- package/dist/hooks/useControllableValue.cjs +16 -0
- package/dist/hooks/useControllableValue.js +13 -0
- package/dist/hooks/useDismissableLayer.cjs +100 -0
- package/dist/hooks/useDismissableLayer.js +97 -0
- package/dist/hooks/usePopupList.cjs +101 -0
- package/dist/hooks/usePopupList.js +98 -0
- package/dist/icons-8yD7I5jO.d.cts +430 -0
- package/dist/icons-8yD7I5jO.d.ts +430 -0
- package/dist/icons.cjs +2111 -418
- package/dist/icons.d.cts +1256 -429
- package/dist/icons.d.ts +1256 -429
- package/dist/icons.js +2089 -1
- package/dist/index.cjs +128 -15046
- package/dist/index.d.cts +697 -662
- package/dist/index.d.ts +697 -662
- package/dist/index.js +43 -14962
- package/dist/motion/Collapse.cjs +28 -0
- package/dist/motion/Collapse.js +25 -0
- package/dist/motion/MotionProvider.cjs +43 -0
- package/dist/motion/MotionProvider.js +38 -0
- package/dist/motion/Pressable.cjs +46 -0
- package/dist/motion/Pressable.js +43 -0
- package/dist/motion/Reveal.cjs +19 -0
- package/dist/motion/Reveal.js +16 -0
- package/dist/motion/SharedLayout.cjs +46 -0
- package/dist/motion/SharedLayout.js +43 -0
- package/dist/motion/index.cjs +19 -0
- package/dist/motion/index.js +6 -0
- package/dist/motion/presence.cjs +58 -0
- package/dist/motion/presence.js +55 -0
- package/dist/motion/presets.cjs +88 -0
- package/dist/motion/presets.js +84 -0
- package/dist/motion.d.cts +51 -0
- package/dist/motion.d.ts +51 -0
- package/dist/preset.cjs +356 -195
- package/dist/preset.d.cts +111 -32
- package/dist/preset.d.ts +111 -32
- package/dist/preset.js +353 -187
- package/dist/presets-Ba5QndHg.d.cts +144 -0
- package/dist/presets-Ba5QndHg.d.ts +144 -0
- package/dist/styles.css +1 -1
- package/dist/utils/cn.cjs +38 -0
- package/dist/utils/cn.js +35 -0
- package/dist/utils/resolveIcon.cjs +18 -0
- package/dist/utils/resolveIcon.js +15 -0
- package/package.json +79 -21
package/dist/preset.d.cts
CHANGED
|
@@ -217,90 +217,169 @@ declare const grid: {
|
|
|
217
217
|
/**
|
|
218
218
|
* Typography tokens.
|
|
219
219
|
*/
|
|
220
|
+
declare const fontFamily: {
|
|
221
|
+
readonly sans: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
222
|
+
readonly heading: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
223
|
+
readonly mono: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
224
|
+
};
|
|
220
225
|
declare const typography: {
|
|
226
|
+
readonly fontFamily: {
|
|
227
|
+
readonly sans: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
228
|
+
readonly heading: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
229
|
+
readonly mono: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
230
|
+
};
|
|
221
231
|
readonly display: {
|
|
222
232
|
readonly lg: {
|
|
223
|
-
readonly size: "
|
|
224
|
-
readonly lineHeight: 1;
|
|
225
|
-
readonly letterSpacing: "-0.
|
|
233
|
+
readonly size: "3.5rem";
|
|
234
|
+
readonly lineHeight: 1.1;
|
|
235
|
+
readonly letterSpacing: "-0.03em";
|
|
236
|
+
readonly fontWeight: 700;
|
|
237
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
226
238
|
};
|
|
227
239
|
readonly sm: {
|
|
228
|
-
readonly size: "
|
|
229
|
-
readonly lineHeight: 1;
|
|
230
|
-
readonly letterSpacing: "-0.
|
|
240
|
+
readonly size: "3rem";
|
|
241
|
+
readonly lineHeight: 1.1;
|
|
242
|
+
readonly letterSpacing: "-0.03em";
|
|
243
|
+
readonly fontWeight: 700;
|
|
244
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
231
245
|
};
|
|
232
246
|
};
|
|
233
247
|
readonly heading: {
|
|
234
248
|
readonly h1: {
|
|
235
|
-
readonly size: "
|
|
249
|
+
readonly size: "2.5rem";
|
|
236
250
|
readonly lineHeight: 1.2;
|
|
237
|
-
readonly letterSpacing: "-0.
|
|
251
|
+
readonly letterSpacing: "-0.03em";
|
|
252
|
+
readonly fontWeight: 600;
|
|
253
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
238
254
|
};
|
|
239
255
|
readonly h2: {
|
|
240
|
-
readonly size: "
|
|
256
|
+
readonly size: "2.25rem";
|
|
241
257
|
readonly lineHeight: 1.2;
|
|
242
|
-
readonly letterSpacing: "-0.
|
|
258
|
+
readonly letterSpacing: "-0.03em";
|
|
259
|
+
readonly fontWeight: 600;
|
|
260
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
243
261
|
};
|
|
244
262
|
readonly h3: {
|
|
245
|
-
readonly size: "
|
|
263
|
+
readonly size: "2rem";
|
|
246
264
|
readonly lineHeight: 1.2;
|
|
247
265
|
readonly letterSpacing: "-0.02em";
|
|
266
|
+
readonly fontWeight: 600;
|
|
267
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
248
268
|
};
|
|
249
269
|
readonly h4: {
|
|
250
|
-
readonly size: "
|
|
270
|
+
readonly size: "1.75rem";
|
|
251
271
|
readonly lineHeight: 1.2;
|
|
252
272
|
readonly letterSpacing: "-0.02em";
|
|
273
|
+
readonly fontWeight: 600;
|
|
274
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
253
275
|
};
|
|
254
276
|
readonly h5: {
|
|
255
|
-
readonly size: "
|
|
277
|
+
readonly size: "1.5rem";
|
|
256
278
|
readonly lineHeight: 1.2;
|
|
257
279
|
readonly letterSpacing: "-0.02em";
|
|
280
|
+
readonly fontWeight: 600;
|
|
281
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
258
282
|
};
|
|
259
283
|
readonly h6: {
|
|
260
|
-
readonly size: "
|
|
284
|
+
readonly size: "1.25rem";
|
|
261
285
|
readonly lineHeight: 1.2;
|
|
262
286
|
readonly letterSpacing: "-0.02em";
|
|
287
|
+
readonly fontWeight: 600;
|
|
288
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
263
289
|
};
|
|
264
290
|
};
|
|
265
291
|
readonly body: {
|
|
266
292
|
readonly lg: {
|
|
267
|
-
readonly size: "
|
|
268
|
-
readonly lineHeight: 1.
|
|
293
|
+
readonly size: "1.125rem";
|
|
294
|
+
readonly lineHeight: 1.5;
|
|
269
295
|
readonly letterSpacing: "0";
|
|
296
|
+
readonly fontWeight: 400;
|
|
297
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
270
298
|
};
|
|
271
299
|
readonly md: {
|
|
272
|
-
readonly size: "
|
|
273
|
-
readonly lineHeight: 1.
|
|
300
|
+
readonly size: "1rem";
|
|
301
|
+
readonly lineHeight: 1.5;
|
|
274
302
|
readonly letterSpacing: "0";
|
|
303
|
+
readonly fontWeight: 400;
|
|
304
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
275
305
|
};
|
|
276
306
|
readonly sm: {
|
|
277
|
-
readonly size: "
|
|
278
|
-
readonly lineHeight: 1.
|
|
307
|
+
readonly size: "0.875rem";
|
|
308
|
+
readonly lineHeight: 1.5;
|
|
279
309
|
readonly letterSpacing: "0";
|
|
310
|
+
readonly fontWeight: 400;
|
|
311
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
280
312
|
};
|
|
281
313
|
readonly xs: {
|
|
282
|
-
readonly size: "
|
|
283
|
-
readonly lineHeight: 1.
|
|
314
|
+
readonly size: "0.75rem";
|
|
315
|
+
readonly lineHeight: 1.5;
|
|
284
316
|
readonly letterSpacing: "0";
|
|
317
|
+
readonly fontWeight: 400;
|
|
318
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
285
319
|
};
|
|
286
320
|
};
|
|
287
321
|
readonly caption: {
|
|
288
322
|
readonly lg: {
|
|
289
|
-
readonly size: "
|
|
290
|
-
readonly lineHeight: 1.
|
|
291
|
-
readonly letterSpacing: "0.
|
|
323
|
+
readonly size: "0.875rem";
|
|
324
|
+
readonly lineHeight: 1.5;
|
|
325
|
+
readonly letterSpacing: "0.08em";
|
|
326
|
+
readonly fontWeight: 500;
|
|
327
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
292
328
|
};
|
|
293
329
|
readonly sm: {
|
|
294
|
-
readonly size: "
|
|
295
|
-
readonly lineHeight: 1.
|
|
296
|
-
readonly letterSpacing: "0.
|
|
330
|
+
readonly size: "0.75rem";
|
|
331
|
+
readonly lineHeight: 1.5;
|
|
332
|
+
readonly letterSpacing: "0.08em";
|
|
333
|
+
readonly fontWeight: 500;
|
|
334
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
297
335
|
};
|
|
298
336
|
readonly xs: {
|
|
299
|
-
readonly size: "
|
|
300
|
-
readonly lineHeight: 1.
|
|
301
|
-
readonly letterSpacing: "0.
|
|
337
|
+
readonly size: "0.75rem";
|
|
338
|
+
readonly lineHeight: 1.5;
|
|
339
|
+
readonly letterSpacing: "0.08em";
|
|
340
|
+
readonly fontWeight: 500;
|
|
341
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
readonly label: {
|
|
345
|
+
readonly lg: {
|
|
346
|
+
readonly size: "1rem";
|
|
347
|
+
readonly lineHeight: 1.5;
|
|
348
|
+
readonly letterSpacing: "0";
|
|
349
|
+
readonly fontWeight: 500;
|
|
350
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
351
|
+
};
|
|
352
|
+
readonly md: {
|
|
353
|
+
readonly size: "0.875rem";
|
|
354
|
+
readonly lineHeight: 1.428571;
|
|
355
|
+
readonly letterSpacing: "0";
|
|
356
|
+
readonly fontWeight: 500;
|
|
357
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
358
|
+
};
|
|
359
|
+
readonly sm: {
|
|
360
|
+
readonly size: "0.75rem";
|
|
361
|
+
readonly lineHeight: 1.333333;
|
|
362
|
+
readonly letterSpacing: "0";
|
|
363
|
+
readonly fontWeight: 500;
|
|
364
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
readonly code: {
|
|
368
|
+
readonly md: {
|
|
369
|
+
readonly size: "0.875rem";
|
|
370
|
+
readonly lineHeight: 1.6;
|
|
371
|
+
readonly letterSpacing: "0";
|
|
372
|
+
readonly fontWeight: 400;
|
|
373
|
+
readonly fontFamily: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
374
|
+
};
|
|
375
|
+
readonly sm: {
|
|
376
|
+
readonly size: "0.75rem";
|
|
377
|
+
readonly lineHeight: 1.5;
|
|
378
|
+
readonly letterSpacing: "0";
|
|
379
|
+
readonly fontWeight: 400;
|
|
380
|
+
readonly fontFamily: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
302
381
|
};
|
|
303
382
|
};
|
|
304
383
|
};
|
|
305
384
|
|
|
306
|
-
export { type RaydenColors, blurs, colors, grid, radius, shadows, spacing, typography };
|
|
385
|
+
export { type RaydenColors, blurs, colors, fontFamily, grid, radius, shadows, spacing, typography };
|
package/dist/preset.d.ts
CHANGED
|
@@ -217,90 +217,169 @@ declare const grid: {
|
|
|
217
217
|
/**
|
|
218
218
|
* Typography tokens.
|
|
219
219
|
*/
|
|
220
|
+
declare const fontFamily: {
|
|
221
|
+
readonly sans: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
222
|
+
readonly heading: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
223
|
+
readonly mono: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
224
|
+
};
|
|
220
225
|
declare const typography: {
|
|
226
|
+
readonly fontFamily: {
|
|
227
|
+
readonly sans: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
228
|
+
readonly heading: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
229
|
+
readonly mono: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
230
|
+
};
|
|
221
231
|
readonly display: {
|
|
222
232
|
readonly lg: {
|
|
223
|
-
readonly size: "
|
|
224
|
-
readonly lineHeight: 1;
|
|
225
|
-
readonly letterSpacing: "-0.
|
|
233
|
+
readonly size: "3.5rem";
|
|
234
|
+
readonly lineHeight: 1.1;
|
|
235
|
+
readonly letterSpacing: "-0.03em";
|
|
236
|
+
readonly fontWeight: 700;
|
|
237
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
226
238
|
};
|
|
227
239
|
readonly sm: {
|
|
228
|
-
readonly size: "
|
|
229
|
-
readonly lineHeight: 1;
|
|
230
|
-
readonly letterSpacing: "-0.
|
|
240
|
+
readonly size: "3rem";
|
|
241
|
+
readonly lineHeight: 1.1;
|
|
242
|
+
readonly letterSpacing: "-0.03em";
|
|
243
|
+
readonly fontWeight: 700;
|
|
244
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
231
245
|
};
|
|
232
246
|
};
|
|
233
247
|
readonly heading: {
|
|
234
248
|
readonly h1: {
|
|
235
|
-
readonly size: "
|
|
249
|
+
readonly size: "2.5rem";
|
|
236
250
|
readonly lineHeight: 1.2;
|
|
237
|
-
readonly letterSpacing: "-0.
|
|
251
|
+
readonly letterSpacing: "-0.03em";
|
|
252
|
+
readonly fontWeight: 600;
|
|
253
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
238
254
|
};
|
|
239
255
|
readonly h2: {
|
|
240
|
-
readonly size: "
|
|
256
|
+
readonly size: "2.25rem";
|
|
241
257
|
readonly lineHeight: 1.2;
|
|
242
|
-
readonly letterSpacing: "-0.
|
|
258
|
+
readonly letterSpacing: "-0.03em";
|
|
259
|
+
readonly fontWeight: 600;
|
|
260
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
243
261
|
};
|
|
244
262
|
readonly h3: {
|
|
245
|
-
readonly size: "
|
|
263
|
+
readonly size: "2rem";
|
|
246
264
|
readonly lineHeight: 1.2;
|
|
247
265
|
readonly letterSpacing: "-0.02em";
|
|
266
|
+
readonly fontWeight: 600;
|
|
267
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
248
268
|
};
|
|
249
269
|
readonly h4: {
|
|
250
|
-
readonly size: "
|
|
270
|
+
readonly size: "1.75rem";
|
|
251
271
|
readonly lineHeight: 1.2;
|
|
252
272
|
readonly letterSpacing: "-0.02em";
|
|
273
|
+
readonly fontWeight: 600;
|
|
274
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
253
275
|
};
|
|
254
276
|
readonly h5: {
|
|
255
|
-
readonly size: "
|
|
277
|
+
readonly size: "1.5rem";
|
|
256
278
|
readonly lineHeight: 1.2;
|
|
257
279
|
readonly letterSpacing: "-0.02em";
|
|
280
|
+
readonly fontWeight: 600;
|
|
281
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
258
282
|
};
|
|
259
283
|
readonly h6: {
|
|
260
|
-
readonly size: "
|
|
284
|
+
readonly size: "1.25rem";
|
|
261
285
|
readonly lineHeight: 1.2;
|
|
262
286
|
readonly letterSpacing: "-0.02em";
|
|
287
|
+
readonly fontWeight: 600;
|
|
288
|
+
readonly fontFamily: readonly ["Manrope", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
263
289
|
};
|
|
264
290
|
};
|
|
265
291
|
readonly body: {
|
|
266
292
|
readonly lg: {
|
|
267
|
-
readonly size: "
|
|
268
|
-
readonly lineHeight: 1.
|
|
293
|
+
readonly size: "1.125rem";
|
|
294
|
+
readonly lineHeight: 1.5;
|
|
269
295
|
readonly letterSpacing: "0";
|
|
296
|
+
readonly fontWeight: 400;
|
|
297
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
270
298
|
};
|
|
271
299
|
readonly md: {
|
|
272
|
-
readonly size: "
|
|
273
|
-
readonly lineHeight: 1.
|
|
300
|
+
readonly size: "1rem";
|
|
301
|
+
readonly lineHeight: 1.5;
|
|
274
302
|
readonly letterSpacing: "0";
|
|
303
|
+
readonly fontWeight: 400;
|
|
304
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
275
305
|
};
|
|
276
306
|
readonly sm: {
|
|
277
|
-
readonly size: "
|
|
278
|
-
readonly lineHeight: 1.
|
|
307
|
+
readonly size: "0.875rem";
|
|
308
|
+
readonly lineHeight: 1.5;
|
|
279
309
|
readonly letterSpacing: "0";
|
|
310
|
+
readonly fontWeight: 400;
|
|
311
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
280
312
|
};
|
|
281
313
|
readonly xs: {
|
|
282
|
-
readonly size: "
|
|
283
|
-
readonly lineHeight: 1.
|
|
314
|
+
readonly size: "0.75rem";
|
|
315
|
+
readonly lineHeight: 1.5;
|
|
284
316
|
readonly letterSpacing: "0";
|
|
317
|
+
readonly fontWeight: 400;
|
|
318
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
285
319
|
};
|
|
286
320
|
};
|
|
287
321
|
readonly caption: {
|
|
288
322
|
readonly lg: {
|
|
289
|
-
readonly size: "
|
|
290
|
-
readonly lineHeight: 1.
|
|
291
|
-
readonly letterSpacing: "0.
|
|
323
|
+
readonly size: "0.875rem";
|
|
324
|
+
readonly lineHeight: 1.5;
|
|
325
|
+
readonly letterSpacing: "0.08em";
|
|
326
|
+
readonly fontWeight: 500;
|
|
327
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
292
328
|
};
|
|
293
329
|
readonly sm: {
|
|
294
|
-
readonly size: "
|
|
295
|
-
readonly lineHeight: 1.
|
|
296
|
-
readonly letterSpacing: "0.
|
|
330
|
+
readonly size: "0.75rem";
|
|
331
|
+
readonly lineHeight: 1.5;
|
|
332
|
+
readonly letterSpacing: "0.08em";
|
|
333
|
+
readonly fontWeight: 500;
|
|
334
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
297
335
|
};
|
|
298
336
|
readonly xs: {
|
|
299
|
-
readonly size: "
|
|
300
|
-
readonly lineHeight: 1.
|
|
301
|
-
readonly letterSpacing: "0.
|
|
337
|
+
readonly size: "0.75rem";
|
|
338
|
+
readonly lineHeight: 1.5;
|
|
339
|
+
readonly letterSpacing: "0.08em";
|
|
340
|
+
readonly fontWeight: 500;
|
|
341
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
readonly label: {
|
|
345
|
+
readonly lg: {
|
|
346
|
+
readonly size: "1rem";
|
|
347
|
+
readonly lineHeight: 1.5;
|
|
348
|
+
readonly letterSpacing: "0";
|
|
349
|
+
readonly fontWeight: 500;
|
|
350
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
351
|
+
};
|
|
352
|
+
readonly md: {
|
|
353
|
+
readonly size: "0.875rem";
|
|
354
|
+
readonly lineHeight: 1.428571;
|
|
355
|
+
readonly letterSpacing: "0";
|
|
356
|
+
readonly fontWeight: 500;
|
|
357
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
358
|
+
};
|
|
359
|
+
readonly sm: {
|
|
360
|
+
readonly size: "0.75rem";
|
|
361
|
+
readonly lineHeight: 1.333333;
|
|
362
|
+
readonly letterSpacing: "0";
|
|
363
|
+
readonly fontWeight: 500;
|
|
364
|
+
readonly fontFamily: readonly ["Hanken Grotesk", "ui-sans-serif", "system-ui", "sans-serif"];
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
readonly code: {
|
|
368
|
+
readonly md: {
|
|
369
|
+
readonly size: "0.875rem";
|
|
370
|
+
readonly lineHeight: 1.6;
|
|
371
|
+
readonly letterSpacing: "0";
|
|
372
|
+
readonly fontWeight: 400;
|
|
373
|
+
readonly fontFamily: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
374
|
+
};
|
|
375
|
+
readonly sm: {
|
|
376
|
+
readonly size: "0.75rem";
|
|
377
|
+
readonly lineHeight: 1.5;
|
|
378
|
+
readonly letterSpacing: "0";
|
|
379
|
+
readonly fontWeight: 400;
|
|
380
|
+
readonly fontFamily: readonly ["SF Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
|
|
302
381
|
};
|
|
303
382
|
};
|
|
304
383
|
};
|
|
305
384
|
|
|
306
|
-
export { type RaydenColors, blurs, colors, grid, radius, shadows, spacing, typography };
|
|
385
|
+
export { type RaydenColors, blurs, colors, fontFamily, grid, radius, shadows, spacing, typography };
|