@kuzenbo/core 0.0.3 → 0.0.5
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/avatar-CXhwmJgG.js +65 -0
- package/dist/avatar-CXhwmJgG.js.map +1 -0
- package/dist/{avatar-image-Ce26D2fb.d.ts → avatar-DpiupAAM.d.ts} +35 -2
- package/dist/avatar-DpiupAAM.d.ts.map +1 -0
- package/dist/badge-BKRm6jL7.js +58 -0
- package/dist/badge-BKRm6jL7.js.map +1 -0
- package/dist/button-nAbTNrxA.d.ts +78 -0
- package/dist/button-nAbTNrxA.d.ts.map +1 -0
- package/dist/{dialog-trigger-BUF3elAP.js → dialog-CD5lfQA9.js} +33 -10
- package/dist/dialog-CD5lfQA9.js.map +1 -0
- package/dist/{dialog-viewport-Ce1huyAI.d.ts → dialog-DEkdr-9K.d.ts} +64 -2
- package/dist/dialog-DEkdr-9K.d.ts.map +1 -0
- package/dist/{dropdown-menu-trigger-COnFGfDa.js → dropdown-menu-BJi-V71O.js} +137 -101
- package/dist/dropdown-menu-BJi-V71O.js.map +1 -0
- package/dist/{dropdown-menu-trigger-BpgtLUvf.d.ts → dropdown-menu-Bpj576m0.d.ts} +259 -123
- package/dist/dropdown-menu-Bpj576m0.d.ts.map +1 -0
- package/dist/input-Ex9ZRqbo.js +38 -0
- package/dist/input-Ex9ZRqbo.js.map +1 -0
- package/dist/input-WWoBCgxe.d.ts +46 -0
- package/dist/input-WWoBCgxe.d.ts.map +1 -0
- package/dist/{input-group-textarea-B-rP98r5.js → input-group-CjcHP0L4.js} +50 -31
- package/dist/input-group-CjcHP0L4.js.map +1 -0
- package/dist/provider.js +4 -2
- package/dist/scroll-bar-C4qEUKlT.js.map +1 -1
- package/dist/separator-C8Qw2ADs.d.ts +13 -0
- package/dist/separator-C8Qw2ADs.d.ts.map +1 -0
- package/dist/{sheet-trigger-D7neoTF5.js → sheet-imSHXfFH.js} +29 -10
- package/dist/sheet-imSHXfFH.js.map +1 -0
- package/dist/{size-context-BjRwqlSg.js → size-context-CvLl3pMC.js} +3 -3
- package/dist/size-context-CvLl3pMC.js.map +1 -0
- package/dist/size-context-DXfCAlWF.d.ts.map +1 -1
- package/dist/size-provider-18EvJgDT.js.map +1 -1
- package/dist/size-provider-Bd2C6gKd.d.ts.map +1 -1
- package/dist/size-system-BTsMqZRQ.js +99 -0
- package/dist/size-system-BTsMqZRQ.js.map +1 -0
- package/dist/size-system-wzOLSuax.d.ts.map +1 -1
- package/dist/size.js +4 -2
- package/dist/{slider-root-presentation-ChJHPMIV.js → slider-root-presentation-B6OO_iCT.js} +19 -19
- package/dist/slider-root-presentation-B6OO_iCT.js.map +1 -0
- package/dist/{slider-value-Db8SCu0c.d.ts → slider-style-tokens-CZezJilZ.d.ts} +55 -55
- package/dist/slider-style-tokens-CZezJilZ.d.ts.map +1 -0
- package/dist/textarea-C8dsnn8D.d.ts +37 -0
- package/dist/textarea-C8dsnn8D.d.ts.map +1 -0
- package/dist/textarea-CkiM1N_I.js +39 -0
- package/dist/textarea-CkiM1N_I.js.map +1 -0
- package/dist/toggle-CxkIncmZ.d.ts +53 -0
- package/dist/toggle-CxkIncmZ.d.ts.map +1 -0
- package/dist/{tooltip-trigger-qXw-_nbh.js → tooltip-D0BEpCQx.js} +38 -13
- package/dist/tooltip-D0BEpCQx.js.map +1 -0
- package/dist/{tooltip-viewport-csA6luqI.d.ts → tooltip-DbJxt69l.d.ts} +61 -13
- package/dist/tooltip-DbJxt69l.d.ts.map +1 -0
- package/dist/ui/accordion.d.ts +4 -4
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +53 -52
- package/dist/ui/accordion.js.map +1 -1
- package/dist/ui/affix.d.ts +3 -2
- package/dist/ui/affix.d.ts.map +1 -1
- package/dist/ui/affix.js +8 -7
- package/dist/ui/affix.js.map +1 -1
- package/dist/ui/alert-dialog.d.ts +3 -1
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert-dialog.js +12 -9
- package/dist/ui/alert-dialog.js.map +1 -1
- package/dist/ui/alert.d.ts +32 -32
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +88 -86
- package/dist/ui/alert.js.map +1 -1
- package/dist/ui/announcement.d.ts.map +1 -1
- package/dist/ui/announcement.js +5 -3
- package/dist/ui/announcement.js.map +1 -1
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js.map +1 -1
- package/dist/ui/autocomplete.d.ts +74 -74
- package/dist/ui/autocomplete.d.ts.map +1 -1
- package/dist/ui/autocomplete.js +57 -53
- package/dist/ui/autocomplete.js.map +1 -1
- package/dist/ui/avatar.d.ts +2 -39
- package/dist/ui/avatar.js +2 -24
- package/dist/ui/badge.d.ts +28 -28
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +3 -53
- package/dist/ui/breadcrumb.d.ts +64 -64
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +49 -45
- package/dist/ui/breadcrumb.js.map +1 -1
- package/dist/ui/button-group.d.ts +34 -34
- package/dist/ui/button-group.d.ts.map +1 -1
- package/dist/ui/button-group.js +31 -28
- package/dist/ui/button-group.js.map +1 -1
- package/dist/ui/button.d.ts +2 -78
- package/dist/ui/button.js +42 -42
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +8 -6
- package/dist/ui/card.js.map +1 -1
- package/dist/ui/carousel.d.ts +1 -1
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +36 -17
- package/dist/ui/carousel.js.map +1 -1
- package/dist/ui/checkbox-group.d.ts.map +1 -1
- package/dist/ui/checkbox-group.js +2 -0
- package/dist/ui/checkbox-group.js.map +1 -1
- package/dist/ui/checkbox.d.ts +20 -20
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +15 -13
- package/dist/ui/checkbox.js.map +1 -1
- package/dist/ui/code.d.ts.map +1 -1
- package/dist/ui/code.js +5 -5
- package/dist/ui/code.js.map +1 -1
- package/dist/ui/collapsible.js +1 -1
- package/dist/ui/collapsible.js.map +1 -1
- package/dist/ui/combobox.d.ts +107 -107
- package/dist/ui/combobox.d.ts.map +1 -1
- package/dist/ui/combobox.js +88 -87
- package/dist/ui/combobox.js.map +1 -1
- package/dist/ui/command.d.ts +57 -58
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +54 -64
- package/dist/ui/command.js.map +1 -1
- package/dist/ui/container.d.ts.map +1 -1
- package/dist/ui/container.js.map +1 -1
- package/dist/ui/context-menu.d.ts +132 -132
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +102 -98
- package/dist/ui/context-menu.js.map +1 -1
- package/dist/ui/copy-button.d.ts +1 -3
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +12 -13
- package/dist/ui/copy-button.js.map +1 -1
- package/dist/ui/dialog.d.ts +2 -66
- package/dist/ui/dialog.js +2 -24
- package/dist/ui/drawer.d.ts +91 -91
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/drawer.js +68 -66
- package/dist/ui/drawer.js.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +3 -144
- package/dist/ui/dropdown-menu.js +3 -38
- package/dist/ui/dropzone.d.ts +55 -55
- package/dist/ui/dropzone.d.ts.map +1 -1
- package/dist/ui/dropzone.js +77 -72
- package/dist/ui/dropzone.js.map +1 -1
- package/dist/ui/emoji-picker.d.ts +79 -79
- package/dist/ui/emoji-picker.d.ts.map +1 -1
- package/dist/ui/emoji-picker.js +92 -87
- package/dist/ui/emoji-picker.js.map +1 -1
- package/dist/ui/empty.d.ts +61 -59
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +49 -44
- package/dist/ui/empty.js.map +1 -1
- package/dist/ui/field.d.ts +11 -11
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +9 -7
- package/dist/ui/field.js.map +1 -1
- package/dist/ui/fieldset.d.ts.map +1 -1
- package/dist/ui/fieldset.js.map +1 -1
- package/dist/ui/form.d.ts +8 -8
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +2 -0
- package/dist/ui/form.js.map +1 -1
- package/dist/ui/input-group.d.ts +35 -35
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +2 -28
- package/dist/ui/input-otp.d.ts +36 -36
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +29 -28
- package/dist/ui/input-otp.js.map +1 -1
- package/dist/ui/input.d.ts +2 -46
- package/dist/ui/input.js +2 -34
- package/dist/ui/item.d.ts +20 -20
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/item.js +24 -22
- package/dist/ui/item.js.map +1 -1
- package/dist/ui/kbd.d.ts.map +1 -1
- package/dist/ui/kbd.js +10 -8
- package/dist/ui/kbd.js.map +1 -1
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/label.js.map +1 -1
- package/dist/ui/marquee.d.ts.map +1 -1
- package/dist/ui/marquee.js +1 -1
- package/dist/ui/marquee.js.map +1 -1
- package/dist/ui/menubar.d.ts +133 -134
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +84 -81
- package/dist/ui/menubar.js.map +1 -1
- package/dist/ui/meter.d.ts.map +1 -1
- package/dist/ui/meter.js +2 -0
- package/dist/ui/meter.js.map +1 -1
- package/dist/ui/navigation-list.d.ts +226 -226
- package/dist/ui/navigation-list.d.ts.map +1 -1
- package/dist/ui/navigation-list.js +242 -235
- package/dist/ui/navigation-list.js.map +1 -1
- package/dist/ui/navigation-menu.d.ts +82 -82
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +72 -67
- package/dist/ui/navigation-menu.js.map +1 -1
- package/dist/ui/number-field.d.ts +34 -34
- package/dist/ui/number-field.d.ts.map +1 -1
- package/dist/ui/number-field.js +26 -23
- package/dist/ui/number-field.js.map +1 -1
- package/dist/ui/pagination.d.ts +42 -42
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +45 -41
- package/dist/ui/pagination.js.map +1 -1
- package/dist/ui/pill.d.ts +2 -3
- package/dist/ui/pill.d.ts.map +1 -1
- package/dist/ui/pill.js +34 -23
- package/dist/ui/pill.js.map +1 -1
- package/dist/ui/popover.d.ts +13 -11
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +17 -14
- package/dist/ui/popover.js.map +1 -1
- package/dist/ui/portal.d.ts.map +1 -1
- package/dist/ui/portal.js +52 -11
- package/dist/ui/portal.js.map +1 -1
- package/dist/ui/preview-card.js +5 -5
- package/dist/ui/preview-card.js.map +1 -1
- package/dist/ui/progress.js.map +1 -1
- package/dist/ui/qr-code.d.ts.map +1 -1
- package/dist/ui/qr-code.js +7 -7
- package/dist/ui/qr-code.js.map +1 -1
- package/dist/ui/radio-group.d.ts +22 -22
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/radio-group.js +17 -15
- package/dist/ui/radio-group.js.map +1 -1
- package/dist/ui/range-slider.d.ts +1 -1
- package/dist/ui/range-slider.d.ts.map +1 -1
- package/dist/ui/range-slider.js +4 -7
- package/dist/ui/range-slider.js.map +1 -1
- package/dist/ui/rating.d.ts +35 -35
- package/dist/ui/rating.d.ts.map +1 -1
- package/dist/ui/rating.js +55 -46
- package/dist/ui/rating.js.map +1 -1
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/resizable.js +2 -2
- package/dist/ui/resizable.js.map +1 -1
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +2 -0
- package/dist/ui/scroll-area.js.map +1 -1
- package/dist/ui/select.d.ts +87 -87
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +85 -84
- package/dist/ui/select.js.map +1 -1
- package/dist/ui/separator.d.ts +2 -13
- package/dist/ui/separator.js +2 -0
- package/dist/ui/separator.js.map +1 -1
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +2 -24
- package/dist/ui/sidebar.d.ts +73 -74
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +87 -84
- package/dist/ui/sidebar.js.map +1 -1
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/skeleton.js.map +1 -1
- package/dist/ui/slider.d.ts +1 -1
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/slider.js +3 -1
- package/dist/ui/slider.js.map +1 -1
- package/dist/ui/spacer.d.ts.map +1 -1
- package/dist/ui/spacer.js +2 -2
- package/dist/ui/spacer.js.map +1 -1
- package/dist/ui/spinner.js +4 -2
- package/dist/ui/spinner.js.map +1 -1
- package/dist/ui/switch.d.ts +11 -11
- package/dist/ui/switch.js +7 -7
- package/dist/ui/switch.js.map +1 -1
- package/dist/ui/table.d.ts +60 -60
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +54 -46
- package/dist/ui/table.js.map +1 -1
- package/dist/ui/tabs.d.ts +25 -25
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +75 -68
- package/dist/ui/tabs.js.map +1 -1
- package/dist/ui/textarea.d.ts +2 -37
- package/dist/ui/textarea.js +3 -34
- package/dist/ui/theme-icon.d.ts +30 -30
- package/dist/ui/theme-icon.d.ts.map +1 -1
- package/dist/ui/theme-icon.js +22 -22
- package/dist/ui/theme-icon.js.map +1 -1
- package/dist/ui/timeline.d.ts +6 -6
- package/dist/ui/timeline.d.ts.map +1 -1
- package/dist/ui/timeline.js +165 -163
- package/dist/ui/timeline.js.map +1 -1
- package/dist/ui/toggle-group.d.ts +32 -32
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +22 -16
- package/dist/ui/toggle-group.js.map +1 -1
- package/dist/ui/toggle.d.ts +2 -53
- package/dist/ui/toggle.js +17 -15
- package/dist/ui/toggle.js.map +1 -1
- package/dist/ui/toolbar.d.ts +54 -54
- package/dist/ui/toolbar.d.ts.map +1 -1
- package/dist/ui/toolbar.js +45 -40
- package/dist/ui/toolbar.js.map +1 -1
- package/dist/ui/tooltip.d.ts +2 -54
- package/dist/ui/tooltip.js +2 -28
- package/dist/ui/typography.d.ts +50 -36
- package/dist/ui/typography.d.ts.map +1 -1
- package/dist/ui/typography.js +28 -17
- package/dist/ui/typography.js.map +1 -1
- package/package.json +15 -15
- package/dist/avatar-image-BQ_NEKH4.js +0 -47
- package/dist/avatar-image-BQ_NEKH4.js.map +0 -1
- package/dist/avatar-image-Ce26D2fb.d.ts.map +0 -1
- package/dist/dialog-trigger-BUF3elAP.js.map +0 -1
- package/dist/dialog-viewport-Ce1huyAI.d.ts.map +0 -1
- package/dist/dropdown-menu-trigger-BpgtLUvf.d.ts.map +0 -1
- package/dist/dropdown-menu-trigger-COnFGfDa.js.map +0 -1
- package/dist/input-group-textarea-B-rP98r5.js.map +0 -1
- package/dist/sheet-trigger-D7neoTF5.js.map +0 -1
- package/dist/size-context-BjRwqlSg.js.map +0 -1
- package/dist/size-system-DTXmtQXw.js +0 -47
- package/dist/size-system-DTXmtQXw.js.map +0 -1
- package/dist/slider-root-presentation-ChJHPMIV.js.map +0 -1
- package/dist/slider-value-Db8SCu0c.d.ts.map +0 -1
- package/dist/tooltip-trigger-qXw-_nbh.js.map +0 -1
- package/dist/tooltip-viewport-csA6luqI.d.ts.map +0 -1
- package/dist/ui/avatar.d.ts.map +0 -1
- package/dist/ui/avatar.js.map +0 -1
- package/dist/ui/badge.js.map +0 -1
- package/dist/ui/button.d.ts.map +0 -1
- package/dist/ui/dialog.d.ts.map +0 -1
- package/dist/ui/dialog.js.map +0 -1
- package/dist/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/ui/dropdown-menu.js.map +0 -1
- package/dist/ui/input-group.js.map +0 -1
- package/dist/ui/input.d.ts.map +0 -1
- package/dist/ui/input.js.map +0 -1
- package/dist/ui/separator.d.ts.map +0 -1
- package/dist/ui/sheet.js.map +0 -1
- package/dist/ui/textarea.d.ts.map +0 -1
- package/dist/ui/textarea.js.map +0 -1
- package/dist/ui/toggle.d.ts.map +0 -1
- package/dist/ui/tooltip.d.ts.map +0 -1
- package/dist/ui/tooltip.js.map +0 -1
- package/dist/use-badge-default-props-8d9wPL0k.js +0 -8
- package/dist/use-badge-default-props-8d9wPL0k.js.map +0 -1
- package/dist/use-input-default-props-B6VgKXGM.js +0 -8
- package/dist/use-input-default-props-B6VgKXGM.js.map +0 -1
- package/dist/use-textarea-default-props-7MlOxkDO.js +0 -8
- package/dist/use-textarea-default-props-7MlOxkDO.js.map +0 -1
package/dist/ui/toolbar.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
1
3
|
import { a as useComponentSize } from "../size-provider-18EvJgDT.js";
|
|
2
|
-
import { t as createSizeContext } from "../size-context-
|
|
4
|
+
import { t as createSizeContext } from "../size-context-CvLl3pMC.js";
|
|
3
5
|
import { t as mergeBaseUIClassName } from "../merge-base-ui-class-name-HKsgjcXj.js";
|
|
4
6
|
import { buttonVariants } from "./button.js";
|
|
7
|
+
import { useMemo } from "react";
|
|
5
8
|
import { jsx } from "react/jsx-runtime";
|
|
6
9
|
import { cn, tv } from "tailwind-variants";
|
|
7
10
|
import { Toolbar as Toolbar$1 } from "@base-ui/react/toolbar";
|
|
@@ -15,9 +18,9 @@ const ToolbarButton = ({ className, variant = "ghost", size, ...props }) => {
|
|
|
15
18
|
const resolvedSize = useToolbarResolvedSize(size);
|
|
16
19
|
return /* @__PURE__ */ jsx(Toolbar$1.Button, {
|
|
17
20
|
className: mergeBaseUIClassName(cn(buttonVariants({
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}), "shrink-0"), className),
|
|
21
|
+
size: resolvedSize,
|
|
22
|
+
variant
|
|
23
|
+
}), "cursor-clickable shrink-0"), className),
|
|
21
24
|
"data-size": resolvedSize,
|
|
22
25
|
"data-slot": "toolbar-button",
|
|
23
26
|
...props
|
|
@@ -28,19 +31,20 @@ const ToolbarButton = ({ className, variant = "ghost", size, ...props }) => {
|
|
|
28
31
|
//#region src/ui/toolbar/toolbar-group.tsx
|
|
29
32
|
const toolbarGroupVariants = tv({
|
|
30
33
|
base: "flex items-center",
|
|
34
|
+
defaultVariants: { size: "md" },
|
|
31
35
|
variants: { size: {
|
|
32
|
-
xs: "gap-0.5",
|
|
33
|
-
sm: "gap-0.5",
|
|
34
|
-
md: "gap-1",
|
|
35
36
|
lg: "gap-1",
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
md: "gap-1",
|
|
38
|
+
sm: "gap-0.5",
|
|
39
|
+
xl: "gap-1.5",
|
|
40
|
+
xs: "gap-0.5"
|
|
41
|
+
} }
|
|
39
42
|
});
|
|
40
43
|
const ToolbarGroup = ({ className, size, ...props }) => {
|
|
41
44
|
const resolvedSize = useToolbarResolvedSize(size);
|
|
45
|
+
const contextValue = useMemo(() => ({ size: resolvedSize }), [resolvedSize]);
|
|
42
46
|
return /* @__PURE__ */ jsx(ToolbarSizeContext.Provider, {
|
|
43
|
-
value:
|
|
47
|
+
value: contextValue,
|
|
44
48
|
children: /* @__PURE__ */ jsx(Toolbar$1.Group, {
|
|
45
49
|
className: mergeBaseUIClassName(cn(toolbarGroupVariants({ size: resolvedSize })), className),
|
|
46
50
|
"data-size": resolvedSize,
|
|
@@ -53,15 +57,15 @@ const ToolbarGroup = ({ className, size, ...props }) => {
|
|
|
53
57
|
//#endregion
|
|
54
58
|
//#region src/ui/toolbar/toolbar-input.tsx
|
|
55
59
|
const toolbarInputVariants = tv({
|
|
56
|
-
base: "
|
|
60
|
+
base: "border-input bg-input placeholder:text-muted-foreground hover:border-ring/70 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-danger aria-invalid:ring-danger/50 w-full min-w-0 border transition-[color,box-shadow,border-color] outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50",
|
|
61
|
+
defaultVariants: { size: "md" },
|
|
57
62
|
variants: { size: {
|
|
58
|
-
xs: "h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs",
|
|
59
|
-
sm: "h-8 rounded-[min(var(--radius-md),10px)] px-2.5 text-sm",
|
|
60
|
-
md: "h-9 rounded-md px-3 text-base md:text-sm",
|
|
61
63
|
lg: "h-10 rounded-md px-3 text-base md:text-sm",
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
md: "h-9 rounded-md px-3 text-base md:text-sm",
|
|
65
|
+
sm: "h-8 rounded-[min(var(--radius-md),10px)] px-2.5 text-sm",
|
|
66
|
+
xl: "h-11 rounded-md px-4 text-base",
|
|
67
|
+
xs: "h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs"
|
|
68
|
+
} }
|
|
65
69
|
});
|
|
66
70
|
const ToolbarInput = ({ className, htmlSize, size, ...props }) => {
|
|
67
71
|
const resolvedSize = useToolbarResolvedSize(size);
|
|
@@ -77,15 +81,15 @@ const ToolbarInput = ({ className, htmlSize, size, ...props }) => {
|
|
|
77
81
|
//#endregion
|
|
78
82
|
//#region src/ui/toolbar/toolbar-link.tsx
|
|
79
83
|
const toolbarLinkVariants = tv({
|
|
80
|
-
base: "inline-flex shrink-0 items-center gap-2
|
|
84
|
+
base: "cursor-clickable text-muted-foreground hover:text-foreground focus-visible:ring-ring/50 inline-flex shrink-0 items-center gap-2 no-underline transition-colors focus-visible:ring-[3px] focus-visible:outline-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
85
|
+
defaultVariants: { size: "md" },
|
|
81
86
|
variants: { size: {
|
|
82
|
-
xs: "h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs [&_svg:not([class*='size-'])]:size-3",
|
|
83
|
-
sm: "h-8 rounded-[min(var(--radius-md),10px)] px-3 text-sm [&_svg:not([class*='size-'])]:size-3.5",
|
|
84
|
-
md: "h-9 rounded-lg px-4 text-sm [&_svg:not([class*='size-'])]:size-4",
|
|
85
87
|
lg: "h-10 rounded-lg px-4 text-sm [&_svg:not([class*='size-'])]:size-4",
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
md: "h-9 rounded-lg px-4 text-sm [&_svg:not([class*='size-'])]:size-4",
|
|
89
|
+
sm: "h-8 rounded-[min(var(--radius-md),10px)] px-3 text-sm [&_svg:not([class*='size-'])]:size-3.5",
|
|
90
|
+
xl: "h-11 rounded-lg px-5 text-base [&_svg:not([class*='size-'])]:size-5",
|
|
91
|
+
xs: "h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs [&_svg:not([class*='size-'])]:size-3"
|
|
92
|
+
} }
|
|
89
93
|
});
|
|
90
94
|
const ToolbarLink = ({ className, size, ...props }) => {
|
|
91
95
|
const resolvedSize = useToolbarResolvedSize(size);
|
|
@@ -100,15 +104,15 @@ const ToolbarLink = ({ className, size, ...props }) => {
|
|
|
100
104
|
//#endregion
|
|
101
105
|
//#region src/ui/toolbar/toolbar-separator.tsx
|
|
102
106
|
const toolbarSeparatorVariants = tv({
|
|
103
|
-
base: "w-px shrink-0
|
|
107
|
+
base: "bg-border w-px shrink-0",
|
|
108
|
+
defaultVariants: { size: "md" },
|
|
104
109
|
variants: { size: {
|
|
105
|
-
xs: "h-4",
|
|
106
|
-
sm: "h-5",
|
|
107
|
-
md: "h-6",
|
|
108
110
|
lg: "h-7",
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
md: "h-6",
|
|
112
|
+
sm: "h-5",
|
|
113
|
+
xl: "h-8",
|
|
114
|
+
xs: "h-4"
|
|
115
|
+
} }
|
|
112
116
|
});
|
|
113
117
|
const ToolbarSeparator = ({ className, size, ...props }) => {
|
|
114
118
|
const resolvedSize = useToolbarResolvedSize(size);
|
|
@@ -123,20 +127,21 @@ const ToolbarSeparator = ({ className, size, ...props }) => {
|
|
|
123
127
|
//#endregion
|
|
124
128
|
//#region src/ui/toolbar/toolbar.tsx
|
|
125
129
|
const toolbarVariants = tv({
|
|
126
|
-
base: "flex items-center rounded-lg
|
|
130
|
+
base: "bg-popover outline-border flex items-center rounded-lg shadow-xs outline",
|
|
131
|
+
defaultVariants: { size: "md" },
|
|
127
132
|
variants: { size: {
|
|
128
|
-
xs: "gap-0.5 rounded-[min(var(--radius-md),8px)] p-0.5",
|
|
129
|
-
sm: "gap-0.5 rounded-[min(var(--radius-md),10px)] p-0.5",
|
|
130
|
-
md: "gap-1 p-1",
|
|
131
133
|
lg: "gap-1 p-1.5",
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
md: "gap-1 p-1",
|
|
135
|
+
sm: "gap-0.5 rounded-[min(var(--radius-md),10px)] p-0.5",
|
|
136
|
+
xl: "gap-1.5 rounded-xl p-2",
|
|
137
|
+
xs: "gap-0.5 rounded-[min(var(--radius-md),8px)] p-0.5"
|
|
138
|
+
} }
|
|
135
139
|
});
|
|
136
140
|
const Toolbar = ({ className, size: providedSize, ...props }) => {
|
|
137
141
|
const size = useComponentSize(providedSize);
|
|
142
|
+
const contextValue = useMemo(() => ({ size }), [size]);
|
|
138
143
|
return /* @__PURE__ */ jsx(ToolbarSizeContext.Provider, {
|
|
139
|
-
value:
|
|
144
|
+
value: contextValue,
|
|
140
145
|
children: /* @__PURE__ */ jsx(Toolbar$1.Root, {
|
|
141
146
|
className: mergeBaseUIClassName(toolbarVariants({ size }), className),
|
|
142
147
|
"data-size": size,
|
package/dist/ui/toolbar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.js","names":["ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive"],"sources":["../../src/ui/toolbar/toolbar-size-context.ts","../../src/ui/toolbar/toolbar-button.tsx","../../src/ui/toolbar/toolbar-group.tsx","../../src/ui/toolbar/toolbar-input.tsx","../../src/ui/toolbar/toolbar-link.tsx","../../src/ui/toolbar/toolbar-separator.tsx","../../src/ui/toolbar/toolbar.tsx"],"sourcesContent":["import type { UISize } from \"../shared/size/size-system\";\n\nimport { createSizeContext } from \"../shared/size/size-context\";\n\nexport type ToolbarSize = UISize;\n\nconst {\n SizeContext: ToolbarSizeContext,\n useResolvedSize: useToolbarResolvedSize,\n} = createSizeContext();\n\nexport { ToolbarSizeContext, useToolbarResolvedSize };\n","\"use client\";\n\nimport type { VariantProps } from \"tailwind-variants\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { buttonVariants } from \"../button/button\";\nimport {\n useToolbarResolvedSize,\n type ToolbarSize,\n} from \"./toolbar-size-context\";\n\ntype ToolbarButtonVariantProps = Omit<\n VariantProps<typeof buttonVariants>,\n \"size\"\n>;\n\nexport type ToolbarButtonProps = ToolbarPrimitive.Button.Props &\n ToolbarButtonVariantProps & {\n size?: ToolbarSize;\n };\n\nexport const ToolbarButton = ({\n className,\n variant = \"ghost\",\n size,\n ...props\n}: ToolbarButtonProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Button\n className={mergeBaseUIClassName<ToolbarPrimitive.Button.State>(\n cn(buttonVariants({ variant, size: resolvedSize }), \"shrink-0\"),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-button\"\n {...props}\n />\n );\n};\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport {\n ToolbarSizeContext,\n useToolbarResolvedSize,\n type ToolbarSize,\n} from \"./toolbar-size-context\";\n\nconst toolbarGroupVariants = tv({\n base: \"flex items-center\",\n variants: {\n size: {\n xs: \"gap-0.5\",\n sm: \"gap-0.5\",\n md: \"gap-1\",\n lg: \"gap-1\",\n xl: \"gap-1.5\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nexport type ToolbarGroupProps = ToolbarPrimitive.Group.Props &\n VariantProps<typeof toolbarGroupVariants> & {\n size?: ToolbarSize;\n };\n\nconst ToolbarGroup = ({ className, size, ...props }: ToolbarGroupProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarSizeContext.Provider value={{ size: resolvedSize }}>\n <ToolbarPrimitive.Group\n className={mergeBaseUIClassName(\n cn(toolbarGroupVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-group\"\n {...props}\n />\n </ToolbarSizeContext.Provider>\n );\n};\n\nexport { ToolbarGroup, toolbarGroupVariants };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport {\n useToolbarResolvedSize,\n type ToolbarSize,\n} from \"./toolbar-size-context\";\n\nconst toolbarInputVariants = tv({\n base: \"w-full min-w-0 border border-input bg-input transition-[color,box-shadow,border-color] outline-none placeholder:text-muted-foreground hover:border-ring/70 disabled:pointer-events-none disabled:opacity-50 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-danger aria-invalid:ring-danger/50\",\n variants: {\n size: {\n xs: \"h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs\",\n sm: \"h-8 rounded-[min(var(--radius-md),10px)] px-2.5 text-sm\",\n md: \"h-9 rounded-md px-3 text-base md:text-sm\",\n lg: \"h-10 rounded-md px-3 text-base md:text-sm\",\n xl: \"h-11 rounded-md px-4 text-base\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\ntype NativeToolbarInputProps = ToolbarPrimitive.Input.Props;\ntype NativeToolbarInputSize = NativeToolbarInputProps[\"size\"];\n\nexport type ToolbarInputProps = Omit<NativeToolbarInputProps, \"size\"> &\n VariantProps<typeof toolbarInputVariants> & {\n size?: ToolbarSize;\n htmlSize?: NativeToolbarInputSize;\n };\n\nconst ToolbarInput = ({\n className,\n htmlSize,\n size,\n ...props\n}: ToolbarInputProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Input\n className={mergeBaseUIClassName<ToolbarPrimitive.Input.State>(\n cn(toolbarInputVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-input\"\n size={htmlSize}\n {...props}\n />\n );\n};\n\nexport { ToolbarInput, toolbarInputVariants };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport {\n useToolbarResolvedSize,\n type ToolbarSize,\n} from \"./toolbar-size-context\";\n\nconst toolbarLinkVariants = tv({\n base: \"inline-flex shrink-0 items-center gap-2 text-muted-foreground no-underline transition-colors hover:text-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n variants: {\n size: {\n xs: \"h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs [&_svg:not([class*='size-'])]:size-3\",\n sm: \"h-8 rounded-[min(var(--radius-md),10px)] px-3 text-sm [&_svg:not([class*='size-'])]:size-3.5\",\n md: \"h-9 rounded-lg px-4 text-sm [&_svg:not([class*='size-'])]:size-4\",\n lg: \"h-10 rounded-lg px-4 text-sm [&_svg:not([class*='size-'])]:size-4\",\n xl: \"h-11 rounded-lg px-5 text-base [&_svg:not([class*='size-'])]:size-5\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nexport type ToolbarLinkProps = ToolbarPrimitive.Link.Props &\n VariantProps<typeof toolbarLinkVariants> & {\n size?: ToolbarSize;\n };\n\nconst ToolbarLink = ({ className, size, ...props }: ToolbarLinkProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Link\n className={mergeBaseUIClassName<ToolbarPrimitive.Link.State>(\n cn(toolbarLinkVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-link\"\n {...props}\n />\n );\n};\n\nexport { ToolbarLink, toolbarLinkVariants };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport {\n useToolbarResolvedSize,\n type ToolbarSize,\n} from \"./toolbar-size-context\";\n\nconst toolbarSeparatorVariants = tv({\n base: \"w-px shrink-0 bg-border\",\n variants: {\n size: {\n xs: \"h-4\",\n sm: \"h-5\",\n md: \"h-6\",\n lg: \"h-7\",\n xl: \"h-8\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nexport type ToolbarSeparatorProps = ToolbarPrimitive.Separator.Props &\n VariantProps<typeof toolbarSeparatorVariants> & {\n size?: ToolbarSize;\n };\n\nconst ToolbarSeparator = ({\n className,\n size,\n ...props\n}: ToolbarSeparatorProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Separator\n className={mergeBaseUIClassName(\n cn(toolbarSeparatorVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-separator\"\n {...props}\n />\n );\n};\n\nexport { ToolbarSeparator, toolbarSeparatorVariants };\n","import { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { tv, type VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { useComponentSize } from \"../shared/size/size-provider\";\nimport { ToolbarButton } from \"./toolbar-button\";\nimport { ToolbarGroup } from \"./toolbar-group\";\nimport { ToolbarInput } from \"./toolbar-input\";\nimport { ToolbarLink } from \"./toolbar-link\";\nimport { ToolbarSeparator } from \"./toolbar-separator\";\nimport { ToolbarSizeContext, type ToolbarSize } from \"./toolbar-size-context\";\n\nconst toolbarVariants = tv({\n base: \"flex items-center rounded-lg bg-popover shadow-xs outline outline-border\",\n variants: {\n size: {\n xs: \"gap-0.5 rounded-[min(var(--radius-md),8px)] p-0.5\",\n sm: \"gap-0.5 rounded-[min(var(--radius-md),10px)] p-0.5\",\n md: \"gap-1 p-1\",\n lg: \"gap-1 p-1.5\",\n xl: \"gap-1.5 rounded-xl p-2\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nexport type ToolbarProps = ToolbarPrimitive.Root.Props &\n VariantProps<typeof toolbarVariants> & {\n size?: ToolbarSize;\n };\n\nconst Toolbar = ({ className, size: providedSize, ...props }: ToolbarProps) => {\n const size = useComponentSize(providedSize);\n\n return (\n <ToolbarSizeContext.Provider value={{ size }}>\n <ToolbarPrimitive.Root\n className={mergeBaseUIClassName<ToolbarPrimitive.Root.State>(\n toolbarVariants({ size }),\n className\n )}\n data-size={size}\n data-slot=\"toolbar\"\n {...props}\n />\n </ToolbarSizeContext.Provider>\n );\n};\n\nToolbar.Button = ToolbarButton;\nToolbar.Group = ToolbarGroup;\nToolbar.Input = ToolbarInput;\nToolbar.Link = ToolbarLink;\nToolbar.Separator = ToolbarSeparator;\n\nexport type { ToolbarButtonProps } from \"./toolbar-button\";\nexport type { ToolbarGroupProps } from \"./toolbar-group\";\nexport type { ToolbarInputProps } from \"./toolbar-input\";\nexport type { ToolbarLinkProps } from \"./toolbar-link\";\nexport type { ToolbarSize } from \"./toolbar-size-context\";\nexport type { ToolbarSeparatorProps } from \"./toolbar-separator\";\n\nexport {\n Toolbar,\n ToolbarButton,\n ToolbarGroup,\n ToolbarInput,\n ToolbarLink,\n ToolbarSeparator,\n};\n"],"mappings":";;;;;;;;;AAMA,MAAM,EACJ,aAAa,oBACb,iBAA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Y"}
|
|
1
|
+
{"version":3,"file":"toolbar.js","names":["ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive","ToolbarPrimitive"],"sources":["../../src/ui/toolbar/toolbar-size-context.ts","../../src/ui/toolbar/toolbar-button.tsx","../../src/ui/toolbar/toolbar-group.tsx","../../src/ui/toolbar/toolbar-input.tsx","../../src/ui/toolbar/toolbar-link.tsx","../../src/ui/toolbar/toolbar-separator.tsx","../../src/ui/toolbar/toolbar.tsx"],"sourcesContent":["import { createSizeContext } from \"../shared/size/size-context\";\nimport type { UISize } from \"../shared/size/size-system\";\n\nexport type ToolbarSize = UISize;\n\nconst {\n SizeContext: ToolbarSizeContext,\n useResolvedSize: useToolbarResolvedSize,\n} = createSizeContext();\n\nexport { ToolbarSizeContext, useToolbarResolvedSize };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport type { VariantProps } from \"tailwind-variants\";\nimport { cn } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { buttonVariants } from \"../button/button\";\nimport { useToolbarResolvedSize } from \"./toolbar-size-context\";\nimport type { ToolbarSize } from \"./toolbar-size-context\";\n\ntype ToolbarButtonVariantProps = Omit<\n VariantProps<typeof buttonVariants>,\n \"size\"\n>;\n\nexport type ToolbarButtonProps = ToolbarPrimitive.Button.Props &\n ToolbarButtonVariantProps & {\n size?: ToolbarSize;\n };\n\nexport const ToolbarButton = ({\n className,\n variant = \"ghost\",\n size,\n ...props\n}: ToolbarButtonProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Button\n className={mergeBaseUIClassName<ToolbarPrimitive.Button.State>(\n cn(\n buttonVariants({ size: resolvedSize, variant }),\n \"cursor-clickable shrink-0\"\n ),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-button\"\n {...props}\n />\n );\n};\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { useMemo } from \"react\";\nimport { cn, tv } from \"tailwind-variants\";\nimport type { VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport {\n ToolbarSizeContext,\n useToolbarResolvedSize,\n} from \"./toolbar-size-context\";\nimport type { ToolbarSize } from \"./toolbar-size-context\";\n\nconst toolbarGroupVariants = tv({\n base: \"flex items-center\",\n defaultVariants: {\n size: \"md\",\n },\n variants: {\n size: {\n lg: \"gap-1\",\n md: \"gap-1\",\n sm: \"gap-0.5\",\n xl: \"gap-1.5\",\n xs: \"gap-0.5\",\n },\n },\n});\n\nexport type ToolbarGroupProps = ToolbarPrimitive.Group.Props &\n VariantProps<typeof toolbarGroupVariants> & {\n size?: ToolbarSize;\n };\n\nconst ToolbarGroup = ({ className, size, ...props }: ToolbarGroupProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n const contextValue = useMemo(() => ({ size: resolvedSize }), [resolvedSize]);\n\n return (\n <ToolbarSizeContext.Provider value={contextValue}>\n <ToolbarPrimitive.Group\n className={mergeBaseUIClassName(\n cn(toolbarGroupVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-group\"\n {...props}\n />\n </ToolbarSizeContext.Provider>\n );\n};\n\nexport { ToolbarGroup, toolbarGroupVariants };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn, tv } from \"tailwind-variants\";\nimport type { VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { useToolbarResolvedSize } from \"./toolbar-size-context\";\nimport type { ToolbarSize } from \"./toolbar-size-context\";\n\nconst toolbarInputVariants = tv({\n base: \"border-input bg-input placeholder:text-muted-foreground hover:border-ring/70 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-danger aria-invalid:ring-danger/50 w-full min-w-0 border transition-[color,box-shadow,border-color] outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50\",\n defaultVariants: {\n size: \"md\",\n },\n variants: {\n size: {\n lg: \"h-10 rounded-md px-3 text-base md:text-sm\",\n md: \"h-9 rounded-md px-3 text-base md:text-sm\",\n sm: \"h-8 rounded-[min(var(--radius-md),10px)] px-2.5 text-sm\",\n xl: \"h-11 rounded-md px-4 text-base\",\n xs: \"h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs\",\n },\n },\n});\n\ntype NativeToolbarInputProps = ToolbarPrimitive.Input.Props;\ntype NativeToolbarInputSize = NativeToolbarInputProps[\"size\"];\n\nexport type ToolbarInputProps = Omit<NativeToolbarInputProps, \"size\"> &\n VariantProps<typeof toolbarInputVariants> & {\n size?: ToolbarSize;\n htmlSize?: NativeToolbarInputSize;\n };\n\nconst ToolbarInput = ({\n className,\n htmlSize,\n size,\n ...props\n}: ToolbarInputProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Input\n className={mergeBaseUIClassName<ToolbarPrimitive.Input.State>(\n cn(toolbarInputVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-input\"\n size={htmlSize}\n {...props}\n />\n );\n};\n\nexport { ToolbarInput, toolbarInputVariants };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn, tv } from \"tailwind-variants\";\nimport type { VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { useToolbarResolvedSize } from \"./toolbar-size-context\";\nimport type { ToolbarSize } from \"./toolbar-size-context\";\n\nconst toolbarLinkVariants = tv({\n base: \"cursor-clickable text-muted-foreground hover:text-foreground focus-visible:ring-ring/50 inline-flex shrink-0 items-center gap-2 no-underline transition-colors focus-visible:ring-[3px] focus-visible:outline-none [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n defaultVariants: {\n size: \"md\",\n },\n variants: {\n size: {\n lg: \"h-10 rounded-lg px-4 text-sm [&_svg:not([class*='size-'])]:size-4\",\n md: \"h-9 rounded-lg px-4 text-sm [&_svg:not([class*='size-'])]:size-4\",\n sm: \"h-8 rounded-[min(var(--radius-md),10px)] px-3 text-sm [&_svg:not([class*='size-'])]:size-3.5\",\n xl: \"h-11 rounded-lg px-5 text-base [&_svg:not([class*='size-'])]:size-5\",\n xs: \"h-6 rounded-[min(var(--radius-md),8px)] px-2 text-xs [&_svg:not([class*='size-'])]:size-3\",\n },\n },\n});\n\nexport type ToolbarLinkProps = ToolbarPrimitive.Link.Props &\n VariantProps<typeof toolbarLinkVariants> & {\n size?: ToolbarSize;\n };\n\nconst ToolbarLink = ({ className, size, ...props }: ToolbarLinkProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Link\n className={mergeBaseUIClassName<ToolbarPrimitive.Link.State>(\n cn(toolbarLinkVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-link\"\n {...props}\n />\n );\n};\n\nexport { ToolbarLink, toolbarLinkVariants };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { cn, tv } from \"tailwind-variants\";\nimport type { VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { useToolbarResolvedSize } from \"./toolbar-size-context\";\nimport type { ToolbarSize } from \"./toolbar-size-context\";\n\nconst toolbarSeparatorVariants = tv({\n base: \"bg-border w-px shrink-0\",\n defaultVariants: {\n size: \"md\",\n },\n variants: {\n size: {\n lg: \"h-7\",\n md: \"h-6\",\n sm: \"h-5\",\n xl: \"h-8\",\n xs: \"h-4\",\n },\n },\n});\n\nexport type ToolbarSeparatorProps = ToolbarPrimitive.Separator.Props &\n VariantProps<typeof toolbarSeparatorVariants> & {\n size?: ToolbarSize;\n };\n\nconst ToolbarSeparator = ({\n className,\n size,\n ...props\n}: ToolbarSeparatorProps) => {\n const resolvedSize = useToolbarResolvedSize(size);\n\n return (\n <ToolbarPrimitive.Separator\n className={mergeBaseUIClassName(\n cn(toolbarSeparatorVariants({ size: resolvedSize })),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"toolbar-separator\"\n {...props}\n />\n );\n};\n\nexport { ToolbarSeparator, toolbarSeparatorVariants };\n","\"use client\";\n\nimport { Toolbar as ToolbarPrimitive } from \"@base-ui/react/toolbar\";\nimport { useMemo } from \"react\";\nimport { tv } from \"tailwind-variants\";\nimport type { VariantProps } from \"tailwind-variants\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { useComponentSize } from \"../shared/size/size-provider\";\nimport { ToolbarButton } from \"./toolbar-button\";\nimport { ToolbarGroup } from \"./toolbar-group\";\nimport { ToolbarInput } from \"./toolbar-input\";\nimport { ToolbarLink } from \"./toolbar-link\";\nimport { ToolbarSeparator } from \"./toolbar-separator\";\nimport { ToolbarSizeContext } from \"./toolbar-size-context\";\nimport type { ToolbarSize } from \"./toolbar-size-context\";\n\nconst toolbarVariants = tv({\n base: \"bg-popover outline-border flex items-center rounded-lg shadow-xs outline\",\n defaultVariants: {\n size: \"md\",\n },\n variants: {\n size: {\n lg: \"gap-1 p-1.5\",\n md: \"gap-1 p-1\",\n sm: \"gap-0.5 rounded-[min(var(--radius-md),10px)] p-0.5\",\n xl: \"gap-1.5 rounded-xl p-2\",\n xs: \"gap-0.5 rounded-[min(var(--radius-md),8px)] p-0.5\",\n },\n },\n});\n\nexport type ToolbarProps = ToolbarPrimitive.Root.Props &\n VariantProps<typeof toolbarVariants> & {\n size?: ToolbarSize;\n };\n\nconst Toolbar = ({ className, size: providedSize, ...props }: ToolbarProps) => {\n const size = useComponentSize(providedSize);\n const contextValue = useMemo(() => ({ size }), [size]);\n\n return (\n <ToolbarSizeContext.Provider value={contextValue}>\n <ToolbarPrimitive.Root\n className={mergeBaseUIClassName<ToolbarPrimitive.Root.State>(\n toolbarVariants({ size }),\n className\n )}\n data-size={size}\n data-slot=\"toolbar\"\n {...props}\n />\n </ToolbarSizeContext.Provider>\n );\n};\n\nToolbar.Button = ToolbarButton;\nToolbar.Group = ToolbarGroup;\nToolbar.Input = ToolbarInput;\nToolbar.Link = ToolbarLink;\nToolbar.Separator = ToolbarSeparator;\n\nexport type { ToolbarButtonProps } from \"./toolbar-button\";\nexport type { ToolbarGroupProps } from \"./toolbar-group\";\nexport type { ToolbarInputProps } from \"./toolbar-input\";\nexport type { ToolbarLinkProps } from \"./toolbar-link\";\nexport type { ToolbarSize } from \"./toolbar-size-context\";\nexport type { ToolbarSeparatorProps } from \"./toolbar-separator\";\n\nexport {\n Toolbar,\n ToolbarButton,\n ToolbarGroup,\n ToolbarInput,\n ToolbarLink,\n ToolbarSeparator,\n};\n"],"mappings":";;;;;;;;;;;;AAKA,MAAM,EACJ,aAAa,oBACb,iBAAiB,2BACf,mBAAmB;;;;ACavB,MAAa,iBAAiB,EAC5B,WACA,UAAU,SACV,MACA,GAAG,YACqB;CACxB,MAAM,eAAe,uBAAuB,KAAK;AAEjD,QACE,oBAACA,UAAiB,QAAlB;EACE,WAAW,qBACT,GACE,eAAe;GAAE,MAAM;GAAc;GAAS,CAAC,EAC/C,4BACD,EACD,UACD;EACD,aAAW;EACX,aAAU;EACV,GAAI;EACJ;;;;;AC3BN,MAAM,uBAAuB,GAAG;CAC9B,MAAM;CACN,iBAAiB,EACf,MAAM,MACP;CACD,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL,EACF;CACF,CAAC;AAOF,MAAM,gBAAgB,EAAE,WAAW,MAAM,GAAG,YAA+B;CACzE,MAAM,eAAe,uBAAuB,KAAK;CACjD,MAAM,eAAe,eAAe,EAAE,MAAM,cAAc,GAAG,CAAC,aAAa,CAAC;AAE5E,QACE,oBAAC,mBAAmB,UAApB;EAA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K;AAEjD,QACE,oBAACC,UAAiB,WAAlB;EACE,WAAW,qBACT,GAAG,yBAAyB,EAAE,MAAM,cAAc,CAAC,CAAC,EACpD,UACD;EACD,aAAW;EACX,aAAU;EACV,GAAI;EACJ;;;;;AC9BN,MAAM,kBAAkB,GAAG;CACzB,MAAM;CACN,iBAAiB,EACf,MAAM,MACP;CACD,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL,EACF;CACF,CAAC;AAOF,MAAM,WAAW,EAAE,WAAW,MAAM,cAAc,GAAG,YAA0B;CAC7E,MAAM,OAAO,iBAAiB,aAAa;CAC3C,MAAM,eAAe,eAAe,EAAE,MAAM,GAAG,CAAC,KAAK,CAAC;AAEtD,QACE,oBAAC,mBAAmB,UAApB;EAA6B,OAAO;YAClC,oBAACC,UAAiB,MAAlB;GACE,WAAW,qBACT,gBAAgB,EAAE,MAAM,CAAC,EACzB,UACD;GACD,aAAW;GACX,aAAU;GACV,GAAI;GACJ;EAC0B;;AAIlC,QAAQ,SAAS;AACjB,QAAQ,QAAQ;AAChB,QAAQ,QAAQ;AAChB,QAAQ,OAAO;AACf,QAAQ,YAAY"}
|
package/dist/ui/tooltip.d.ts
CHANGED
|
@@ -1,55 +1,3 @@
|
|
|
1
1
|
import "../size-context-DXfCAlWF.js";
|
|
2
|
-
import { _ as
|
|
3
|
-
|
|
4
|
-
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
5
|
-
|
|
6
|
-
//#region src/ui/tooltip/tooltip.d.ts
|
|
7
|
-
type TooltipProps = Tooltip$1.Root.Props & {
|
|
8
|
-
size?: TooltipSize;
|
|
9
|
-
};
|
|
10
|
-
declare const Tooltip: {
|
|
11
|
-
({
|
|
12
|
-
size: providedSize,
|
|
13
|
-
...props
|
|
14
|
-
}: TooltipProps): react_jsx_runtime0.JSX.Element;
|
|
15
|
-
Content: ({
|
|
16
|
-
className,
|
|
17
|
-
side,
|
|
18
|
-
sideOffset,
|
|
19
|
-
size,
|
|
20
|
-
align,
|
|
21
|
-
alignOffset,
|
|
22
|
-
children,
|
|
23
|
-
...props
|
|
24
|
-
}: TooltipContentProps) => react_jsx_runtime0.JSX.Element;
|
|
25
|
-
Arrow: ({
|
|
26
|
-
className,
|
|
27
|
-
...props
|
|
28
|
-
}: TooltipArrowProps) => react_jsx_runtime0.JSX.Element;
|
|
29
|
-
Popup: ({
|
|
30
|
-
className,
|
|
31
|
-
size,
|
|
32
|
-
...props
|
|
33
|
-
}: TooltipPopupProps) => react_jsx_runtime0.JSX.Element;
|
|
34
|
-
Portal: ({
|
|
35
|
-
...props
|
|
36
|
-
}: TooltipPortalProps) => react_jsx_runtime0.JSX.Element;
|
|
37
|
-
Positioner: ({
|
|
38
|
-
className,
|
|
39
|
-
...props
|
|
40
|
-
}: TooltipPositionerProps) => react_jsx_runtime0.JSX.Element;
|
|
41
|
-
Provider: ({
|
|
42
|
-
delay,
|
|
43
|
-
...props
|
|
44
|
-
}: TooltipProviderProps) => react_jsx_runtime0.JSX.Element;
|
|
45
|
-
Trigger: ({
|
|
46
|
-
className,
|
|
47
|
-
...props
|
|
48
|
-
}: TooltipTriggerProps) => react_jsx_runtime0.JSX.Element;
|
|
49
|
-
Viewport: ({
|
|
50
|
-
...props
|
|
51
|
-
}: TooltipViewportProps) => react_jsx_runtime0.JSX.Element;
|
|
52
|
-
};
|
|
53
|
-
//#endregion
|
|
54
|
-
export { Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, TooltipPopup, type TooltipPopupProps, TooltipPortal, type TooltipPortalProps, TooltipPositioner, type TooltipPositionerProps, TooltipProps, TooltipProvider, type TooltipProviderProps, type TooltipSize, TooltipTrigger, type TooltipTriggerProps, TooltipViewport, type TooltipViewportProps };
|
|
55
|
-
//# sourceMappingURL=tooltip.d.ts.map
|
|
2
|
+
import { _ as TooltipContent, a as TooltipTrigger, c as TooltipProviderProps, d as TooltipPortal, f as TooltipPortalProps, g as TooltipArrowProps, h as TooltipArrow, i as TooltipViewportProps, l as TooltipPositioner, m as TooltipPopupProps, n as TooltipProps, o as TooltipTriggerProps, p as TooltipPopup, r as TooltipViewport, s as TooltipProvider, t as Tooltip, u as TooltipPositionerProps, v as TooltipContentProps, y as TooltipSize } from "../tooltip-DbJxt69l.js";
|
|
3
|
+
export { Tooltip, TooltipArrow, TooltipArrowProps, TooltipContent, TooltipContentProps, TooltipPopup, TooltipPopupProps, TooltipPortal, TooltipPortalProps, TooltipPositioner, TooltipPositionerProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipSize, TooltipTrigger, TooltipTriggerProps, TooltipViewport, TooltipViewportProps };
|
package/dist/ui/tooltip.js
CHANGED
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { a as
|
|
4
|
-
import { a as TooltipPositioner, c as TooltipSizeContext, i as TooltipViewport, l as TooltipArrow, n as TooltipProvider, o as TooltipPortal, r as TooltipContent, s as TooltipPopup, t as TooltipTrigger } from "../tooltip-trigger-qXw-_nbh.js";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
3
|
+
import { a as TooltipViewport, c as TooltipPopup, i as TooltipContent, l as TooltipArrow, n as TooltipTrigger, o as TooltipPositioner, r as TooltipProvider, s as TooltipPortal, t as Tooltip } from "../tooltip-D0BEpCQx.js";
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
const Tooltip = ({ size: providedSize, ...props }) => {
|
|
10
|
-
const size = useComponentSize(providedSize);
|
|
11
|
-
return /* @__PURE__ */ jsx(TooltipSizeContext.Provider, {
|
|
12
|
-
value: { size },
|
|
13
|
-
children: /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(Tooltip$1.Root, {
|
|
14
|
-
"data-size": size,
|
|
15
|
-
"data-slot": "tooltip",
|
|
16
|
-
...props
|
|
17
|
-
}) })
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Tooltip.Content = TooltipContent;
|
|
21
|
-
Tooltip.Arrow = TooltipArrow;
|
|
22
|
-
Tooltip.Popup = TooltipPopup;
|
|
23
|
-
Tooltip.Portal = TooltipPortal;
|
|
24
|
-
Tooltip.Positioner = TooltipPositioner;
|
|
25
|
-
Tooltip.Provider = TooltipProvider;
|
|
26
|
-
Tooltip.Trigger = TooltipTrigger;
|
|
27
|
-
Tooltip.Viewport = TooltipViewport;
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
export { Tooltip, TooltipArrow, TooltipContent, TooltipPopup, TooltipPortal, TooltipPositioner, TooltipProvider, TooltipTrigger, TooltipViewport };
|
|
31
|
-
//# sourceMappingURL=tooltip.js.map
|
|
5
|
+
export { Tooltip, TooltipArrow, TooltipContent, TooltipPopup, TooltipPortal, TooltipPositioner, TooltipProvider, TooltipTrigger, TooltipViewport };
|
package/dist/ui/typography.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare const typographyHeadingVariants: tailwind_variants0.TVReturnType<{
|
|
|
16
16
|
h6: string;
|
|
17
17
|
subheading: string;
|
|
18
18
|
};
|
|
19
|
-
}, undefined, "tracking-tight
|
|
19
|
+
}, undefined, "text-foreground tracking-tight", {
|
|
20
20
|
variant: {
|
|
21
21
|
display: string;
|
|
22
22
|
h1: string;
|
|
@@ -38,36 +38,36 @@ declare const typographyHeadingVariants: tailwind_variants0.TVReturnType<{
|
|
|
38
38
|
h6: string;
|
|
39
39
|
subheading: string;
|
|
40
40
|
};
|
|
41
|
-
}, undefined, "tracking-tight
|
|
41
|
+
}, undefined, "text-foreground tracking-tight", unknown, unknown, undefined>>;
|
|
42
42
|
declare const typographyTextVariants: tailwind_variants0.TVReturnType<{
|
|
43
43
|
variant: {
|
|
44
44
|
body: string;
|
|
45
|
+
caption: string;
|
|
46
|
+
eyebrow: string;
|
|
45
47
|
lead: string;
|
|
46
48
|
muted: string;
|
|
47
|
-
small: string;
|
|
48
|
-
caption: string;
|
|
49
49
|
overline: string;
|
|
50
|
-
|
|
50
|
+
small: string;
|
|
51
51
|
};
|
|
52
52
|
}, undefined, "text-foreground", {
|
|
53
53
|
variant: {
|
|
54
54
|
body: string;
|
|
55
|
+
caption: string;
|
|
56
|
+
eyebrow: string;
|
|
55
57
|
lead: string;
|
|
56
58
|
muted: string;
|
|
57
|
-
small: string;
|
|
58
|
-
caption: string;
|
|
59
59
|
overline: string;
|
|
60
|
-
|
|
60
|
+
small: string;
|
|
61
61
|
};
|
|
62
62
|
}, undefined, tailwind_variants0.TVReturnType<{
|
|
63
63
|
variant: {
|
|
64
64
|
body: string;
|
|
65
|
+
caption: string;
|
|
66
|
+
eyebrow: string;
|
|
65
67
|
lead: string;
|
|
66
68
|
muted: string;
|
|
67
|
-
small: string;
|
|
68
|
-
caption: string;
|
|
69
69
|
overline: string;
|
|
70
|
-
|
|
70
|
+
small: string;
|
|
71
71
|
};
|
|
72
72
|
}, undefined, "text-foreground", unknown, unknown, undefined>>;
|
|
73
73
|
//#endregion
|
|
@@ -211,56 +211,64 @@ declare const TypographyBlockquote: ({
|
|
|
211
211
|
...props
|
|
212
212
|
}: TypographyBlockquoteProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
213
213
|
//#endregion
|
|
214
|
+
//#region src/ui/typography/typography-li.d.ts
|
|
215
|
+
type TypographyLiProps = useRender.ComponentProps<"li">;
|
|
216
|
+
declare const TypographyLi: ({
|
|
217
|
+
className,
|
|
218
|
+
render,
|
|
219
|
+
...props
|
|
220
|
+
}: TypographyLiProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
221
|
+
//#endregion
|
|
214
222
|
//#region src/ui/typography/typography-link.d.ts
|
|
215
223
|
declare const typographyLinkVariants: tailwind_variants0.TVReturnType<{
|
|
216
224
|
variant: {
|
|
217
225
|
body: string;
|
|
226
|
+
caption: string;
|
|
227
|
+
eyebrow: string;
|
|
218
228
|
lead: string;
|
|
219
229
|
muted: string;
|
|
220
|
-
small: string;
|
|
221
|
-
caption: string;
|
|
222
230
|
overline: string;
|
|
223
|
-
|
|
231
|
+
small: string;
|
|
224
232
|
};
|
|
225
|
-
}, undefined, "cursor-
|
|
233
|
+
}, undefined, "cursor-clickable text-muted-foreground hover:text-foreground underline-offset-4 transition-colors duration-200 ease-out hover:underline", {
|
|
226
234
|
variant: {
|
|
227
235
|
body: string;
|
|
236
|
+
caption: string;
|
|
237
|
+
eyebrow: string;
|
|
228
238
|
lead: string;
|
|
229
239
|
muted: string;
|
|
230
|
-
small: string;
|
|
231
|
-
caption: string;
|
|
232
240
|
overline: string;
|
|
233
|
-
|
|
241
|
+
small: string;
|
|
234
242
|
};
|
|
235
243
|
}, undefined, tailwind_variants0.TVReturnType<{
|
|
236
244
|
variant: {
|
|
237
245
|
body: string;
|
|
246
|
+
caption: string;
|
|
247
|
+
eyebrow: string;
|
|
238
248
|
lead: string;
|
|
239
249
|
muted: string;
|
|
240
|
-
small: string;
|
|
241
|
-
caption: string;
|
|
242
250
|
overline: string;
|
|
243
|
-
|
|
251
|
+
small: string;
|
|
244
252
|
};
|
|
245
253
|
}, undefined, "text-foreground", {
|
|
246
254
|
variant: {
|
|
247
255
|
body: string;
|
|
256
|
+
caption: string;
|
|
257
|
+
eyebrow: string;
|
|
248
258
|
lead: string;
|
|
249
259
|
muted: string;
|
|
250
|
-
small: string;
|
|
251
|
-
caption: string;
|
|
252
260
|
overline: string;
|
|
253
|
-
|
|
261
|
+
small: string;
|
|
254
262
|
};
|
|
255
263
|
}, undefined, tailwind_variants0.TVReturnType<{
|
|
256
264
|
variant: {
|
|
257
265
|
body: string;
|
|
266
|
+
caption: string;
|
|
267
|
+
eyebrow: string;
|
|
258
268
|
lead: string;
|
|
259
269
|
muted: string;
|
|
260
|
-
small: string;
|
|
261
|
-
caption: string;
|
|
262
270
|
overline: string;
|
|
263
|
-
|
|
271
|
+
small: string;
|
|
264
272
|
};
|
|
265
273
|
}, undefined, "text-foreground", unknown, unknown, undefined>>>;
|
|
266
274
|
type TypographyLinkProps = useRender.ComponentProps<"a"> & VariantProps<typeof typographyLinkVariants>;
|
|
@@ -271,14 +279,6 @@ declare const TypographyLink: ({
|
|
|
271
279
|
...props
|
|
272
280
|
}: TypographyLinkProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
273
281
|
//#endregion
|
|
274
|
-
//#region src/ui/typography/typography-li.d.ts
|
|
275
|
-
type TypographyLiProps = useRender.ComponentProps<"li">;
|
|
276
|
-
declare const TypographyLi: ({
|
|
277
|
-
className,
|
|
278
|
-
render,
|
|
279
|
-
...props
|
|
280
|
-
}: TypographyLiProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
281
|
-
//#endregion
|
|
282
282
|
//#region src/ui/typography/typography-ol.d.ts
|
|
283
283
|
type TypographyOlProps = useRender.ComponentProps<"ol">;
|
|
284
284
|
declare const TypographyOl: ({
|
|
@@ -287,6 +287,15 @@ declare const TypographyOl: ({
|
|
|
287
287
|
...props
|
|
288
288
|
}: TypographyOlProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
289
289
|
//#endregion
|
|
290
|
+
//#region src/ui/typography/typography-prose.d.ts
|
|
291
|
+
declare const typographyProseVariants: tailwind_variants0.TVReturnType<{} | {} | {}, undefined, "text-foreground [&_mark]:bg-muted [&_mark]:text-foreground [&_a]:cursor-clickable [&_a]:text-muted-foreground [&_a:hover]:text-foreground [&_hr]:border-border [&_pre]:border-border [&_pre]:bg-muted [&_code]:bg-muted [&_kbd]:border-border [&_kbd]:bg-muted [&_kbd]:text-foreground [&_caption]:text-muted-foreground [&_th]:border-border [&_tfoot_th]:border-border [&_td]:border-border [&_blockquote]:border-border [&_blockquote]:bg-muted w-full [&_a]:underline [&_a]:underline-offset-4 [&_a]:transition-colors [&_blockquote]:my-4 [&_blockquote]:rounded-md [&_blockquote]:border-l-2 [&_blockquote]:px-4 [&_blockquote]:py-3 [&_blockquote]:text-lg [&_blockquote]:leading-7 [&_caption]:mt-2 [&_caption]:text-sm [&_code]:rounded-sm [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-sm [&_h1]:mt-10 [&_h1]:mb-3 [&_h1]:text-4xl [&_h1]:leading-tight [&_h1]:font-semibold [&_h1]:tracking-tight [&_h1]:text-balance [&_h2]:mt-8 [&_h2]:mb-3 [&_h2]:text-3xl [&_h2]:leading-tight [&_h2]:font-semibold [&_h2]:tracking-tight [&_h2]:text-balance [&_h3]:mt-6 [&_h3]:mb-2 [&_h3]:text-2xl [&_h3]:leading-snug [&_h3]:font-semibold [&_h3]:tracking-tight [&_h4]:mt-6 [&_h4]:mb-2 [&_h4]:text-xl [&_h4]:leading-snug [&_h4]:font-semibold [&_h4]:tracking-tight [&_h5]:mt-4 [&_h5]:mb-2 [&_h5]:text-lg [&_h5]:leading-7 [&_h5]:font-semibold [&_h5]:tracking-tight [&_h6]:mt-4 [&_h6]:mb-2 [&_h6]:text-base [&_h6]:leading-6 [&_h6]:font-semibold [&_h6]:tracking-tight [&_hr]:my-4 [&_hr]:border-0 [&_hr]:border-t [&_img]:mb-2 [&_img]:max-w-full [&_kbd]:inline-flex [&_kbd]:h-5 [&_kbd]:min-w-5 [&_kbd]:items-center [&_kbd]:justify-center [&_kbd]:rounded-sm [&_kbd]:border [&_kbd]:px-1 [&_kbd]:font-mono [&_kbd]:text-xs [&_kbd]:font-medium [&_li]:mt-1 [&_mark]:rounded-[2px] [&_mark]:px-1 [&_ol:not([data-type='taskList'])]:mb-4 [&_ol:not([data-type='taskList'])]:list-decimal [&_ol:not([data-type='taskList'])]:pl-6 [&_ol:not([data-type='taskList'])]:text-base [&_ol:not([data-type='taskList'])]:leading-7 [&_p]:mt-0 [&_p]:mb-6 [&_p]:text-base [&_p]:leading-7 [&_pre]:my-4 [&_pre]:overflow-x-auto [&_pre]:rounded-md [&_pre]:border [&_pre]:px-3 [&_pre]:py-2 [&_pre]:font-mono [&_pre]:text-sm [&_pre]:leading-6 [&_pre_code]:border-0 [&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:text-inherit [&_table]:mb-4 [&_table]:w-full [&_table]:caption-bottom [&_table]:border-collapse [&_table]:text-sm [&_tbody_tr:last-child_td]:border-b-0 [&_td]:border-b [&_td]:px-2 [&_td]:py-2 [&_tfoot_th]:border-t [&_th]:border-b [&_th]:px-2 [&_th]:py-2 [&_th]:text-left [&_th]:font-semibold [&_ul:not([data-type='taskList'])]:mb-4 [&_ul:not([data-type='taskList'])]:list-disc [&_ul:not([data-type='taskList'])]:pl-6 [&_ul:not([data-type='taskList'])]:text-base [&_ul:not([data-type='taskList'])]:leading-7 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0", {} | {}, undefined, tailwind_variants0.TVReturnType<unknown, undefined, "text-foreground [&_mark]:bg-muted [&_mark]:text-foreground [&_a]:cursor-clickable [&_a]:text-muted-foreground [&_a:hover]:text-foreground [&_hr]:border-border [&_pre]:border-border [&_pre]:bg-muted [&_code]:bg-muted [&_kbd]:border-border [&_kbd]:bg-muted [&_kbd]:text-foreground [&_caption]:text-muted-foreground [&_th]:border-border [&_tfoot_th]:border-border [&_td]:border-border [&_blockquote]:border-border [&_blockquote]:bg-muted w-full [&_a]:underline [&_a]:underline-offset-4 [&_a]:transition-colors [&_blockquote]:my-4 [&_blockquote]:rounded-md [&_blockquote]:border-l-2 [&_blockquote]:px-4 [&_blockquote]:py-3 [&_blockquote]:text-lg [&_blockquote]:leading-7 [&_caption]:mt-2 [&_caption]:text-sm [&_code]:rounded-sm [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-sm [&_h1]:mt-10 [&_h1]:mb-3 [&_h1]:text-4xl [&_h1]:leading-tight [&_h1]:font-semibold [&_h1]:tracking-tight [&_h1]:text-balance [&_h2]:mt-8 [&_h2]:mb-3 [&_h2]:text-3xl [&_h2]:leading-tight [&_h2]:font-semibold [&_h2]:tracking-tight [&_h2]:text-balance [&_h3]:mt-6 [&_h3]:mb-2 [&_h3]:text-2xl [&_h3]:leading-snug [&_h3]:font-semibold [&_h3]:tracking-tight [&_h4]:mt-6 [&_h4]:mb-2 [&_h4]:text-xl [&_h4]:leading-snug [&_h4]:font-semibold [&_h4]:tracking-tight [&_h5]:mt-4 [&_h5]:mb-2 [&_h5]:text-lg [&_h5]:leading-7 [&_h5]:font-semibold [&_h5]:tracking-tight [&_h6]:mt-4 [&_h6]:mb-2 [&_h6]:text-base [&_h6]:leading-6 [&_h6]:font-semibold [&_h6]:tracking-tight [&_hr]:my-4 [&_hr]:border-0 [&_hr]:border-t [&_img]:mb-2 [&_img]:max-w-full [&_kbd]:inline-flex [&_kbd]:h-5 [&_kbd]:min-w-5 [&_kbd]:items-center [&_kbd]:justify-center [&_kbd]:rounded-sm [&_kbd]:border [&_kbd]:px-1 [&_kbd]:font-mono [&_kbd]:text-xs [&_kbd]:font-medium [&_li]:mt-1 [&_mark]:rounded-[2px] [&_mark]:px-1 [&_ol:not([data-type='taskList'])]:mb-4 [&_ol:not([data-type='taskList'])]:list-decimal [&_ol:not([data-type='taskList'])]:pl-6 [&_ol:not([data-type='taskList'])]:text-base [&_ol:not([data-type='taskList'])]:leading-7 [&_p]:mt-0 [&_p]:mb-6 [&_p]:text-base [&_p]:leading-7 [&_pre]:my-4 [&_pre]:overflow-x-auto [&_pre]:rounded-md [&_pre]:border [&_pre]:px-3 [&_pre]:py-2 [&_pre]:font-mono [&_pre]:text-sm [&_pre]:leading-6 [&_pre_code]:border-0 [&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:text-inherit [&_table]:mb-4 [&_table]:w-full [&_table]:caption-bottom [&_table]:border-collapse [&_table]:text-sm [&_tbody_tr:last-child_td]:border-b-0 [&_td]:border-b [&_td]:px-2 [&_td]:py-2 [&_tfoot_th]:border-t [&_th]:border-b [&_th]:px-2 [&_th]:py-2 [&_th]:text-left [&_th]:font-semibold [&_ul:not([data-type='taskList'])]:mb-4 [&_ul:not([data-type='taskList'])]:list-disc [&_ul:not([data-type='taskList'])]:pl-6 [&_ul:not([data-type='taskList'])]:text-base [&_ul:not([data-type='taskList'])]:leading-7 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0", unknown, unknown, undefined>>;
|
|
292
|
+
type TypographyProseProps = useRender.ComponentProps<"div">;
|
|
293
|
+
declare const TypographyProse: ({
|
|
294
|
+
className,
|
|
295
|
+
render,
|
|
296
|
+
...props
|
|
297
|
+
}: TypographyProseProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
298
|
+
//#endregion
|
|
290
299
|
//#region src/ui/typography/typography-ul.d.ts
|
|
291
300
|
type TypographyUlProps = useRender.ComponentProps<"ul">;
|
|
292
301
|
declare const TypographyUl: ({
|
|
@@ -386,6 +395,11 @@ declare const Typography: (({
|
|
|
386
395
|
render,
|
|
387
396
|
...props
|
|
388
397
|
}: TypographyPProps) => react_jsx_runtime0.JSX.Element;
|
|
398
|
+
Prose: ({
|
|
399
|
+
className,
|
|
400
|
+
render,
|
|
401
|
+
...props
|
|
402
|
+
}: TypographyProseProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
389
403
|
Small: ({
|
|
390
404
|
render,
|
|
391
405
|
...props
|
|
@@ -407,5 +421,5 @@ declare const Typography: (({
|
|
|
407
421
|
}: TypographyUlProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
408
422
|
};
|
|
409
423
|
//#endregion
|
|
410
|
-
export { Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyBody, type TypographyBodyProps, TypographyCaption, type TypographyCaptionProps, TypographyDisplay, type TypographyDisplayProps, TypographyEyebrow, type TypographyEyebrowProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyHeading, type TypographyHeadingAliasProps, type TypographyHeadingProps, TypographyLead, type TypographyLeadProps, TypographyLi, type TypographyLiProps, TypographyLink, type TypographyLinkProps, TypographyMuted, type TypographyMutedProps, TypographyOl, type TypographyOlProps, TypographyOverline, type TypographyOverlineProps, TypographyP, type TypographyPProps, TypographyProps, TypographySmall, type TypographySmallProps, TypographySubheading, type TypographySubheadingProps, TypographyText, type TypographyTextAliasProps, type TypographyTextProps, TypographyUl, type TypographyUlProps, typographyHeadingVariants, typographyTextVariants };
|
|
424
|
+
export { Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyBody, type TypographyBodyProps, TypographyCaption, type TypographyCaptionProps, TypographyDisplay, type TypographyDisplayProps, TypographyEyebrow, type TypographyEyebrowProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyHeading, type TypographyHeadingAliasProps, type TypographyHeadingProps, TypographyLead, type TypographyLeadProps, TypographyLi, type TypographyLiProps, TypographyLink, type TypographyLinkProps, TypographyMuted, type TypographyMutedProps, TypographyOl, type TypographyOlProps, TypographyOverline, type TypographyOverlineProps, TypographyP, type TypographyPProps, TypographyProps, TypographyProse, type TypographyProseProps, TypographySmall, type TypographySmallProps, TypographySubheading, type TypographySubheadingProps, TypographyText, type TypographyTextAliasProps, type TypographyTextProps, TypographyUl, type TypographyUlProps, typographyHeadingVariants, typographyProseVariants, typographyTextVariants };
|
|
411
425
|
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","names":[],"sources":["../../src/ui/typography/typography-variants.ts","../../src/ui/typography/typography-text.tsx","../../src/ui/typography/typography-body.tsx","../../src/ui/typography/typography-caption.tsx","../../src/ui/typography/typography-heading.tsx","../../src/ui/typography/typography-display.tsx","../../src/ui/typography/typography-eyebrow.tsx","../../src/ui/typography/typography-h1.tsx","../../src/ui/typography/typography-h2.tsx","../../src/ui/typography/typography-h3.tsx","../../src/ui/typography/typography-h4.tsx","../../src/ui/typography/typography-h5.tsx","../../src/ui/typography/typography-h6.tsx","../../src/ui/typography/typography-lead.tsx","../../src/ui/typography/typography-muted.tsx","../../src/ui/typography/typography-overline.tsx","../../src/ui/typography/typography-p.tsx","../../src/ui/typography/typography-small.tsx","../../src/ui/typography/typography-subheading.tsx","../../src/ui/typography/typography-blockquote.tsx","../../src/ui/typography/typography-
|
|
1
|
+
{"version":3,"file":"typography.d.ts","names":[],"sources":["../../src/ui/typography/typography-variants.ts","../../src/ui/typography/typography-text.tsx","../../src/ui/typography/typography-body.tsx","../../src/ui/typography/typography-caption.tsx","../../src/ui/typography/typography-heading.tsx","../../src/ui/typography/typography-display.tsx","../../src/ui/typography/typography-eyebrow.tsx","../../src/ui/typography/typography-h1.tsx","../../src/ui/typography/typography-h2.tsx","../../src/ui/typography/typography-h3.tsx","../../src/ui/typography/typography-h4.tsx","../../src/ui/typography/typography-h5.tsx","../../src/ui/typography/typography-h6.tsx","../../src/ui/typography/typography-lead.tsx","../../src/ui/typography/typography-muted.tsx","../../src/ui/typography/typography-overline.tsx","../../src/ui/typography/typography-p.tsx","../../src/ui/typography/typography-small.tsx","../../src/ui/typography/typography-subheading.tsx","../../src/ui/typography/typography-blockquote.tsx","../../src/ui/typography/typography-li.tsx","../../src/ui/typography/typography-link.tsx","../../src/ui/typography/typography-ol.tsx","../../src/ui/typography/typography-prose.tsx","../../src/ui/typography/typography-ul.tsx","../../src/ui/typography/typography.tsx"],"mappings":";;;;;;;cAEM,yBAAA,EAiBJ,kBAAA,CAjB6B,YAAA;;;;;;;;;;;;;;;;;;;;;;cAiB7B,kBAAA,CAAA,YAAA;;;;;;;;;;;;cAEI,sBAAA,EAkBJ,kBAAA,CAlB0B,YAAA;;;;;;;;;;;;;;;;;;;;cAkB1B,kBAAA,CAAA,YAAA;;;;;;;;;;;;;KChCU,mBAAA,GAAsB,SAAA,CAAU,cAAA,QAC1C,YAAA,QAAoB,sBAA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