@seekalfred/primitives 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +975 -13
- package/dist/accordion/accordion.d.ts +107 -0
- package/dist/accordion/accordion.js +84 -0
- package/dist/accordion/accordion.js.map +1 -0
- package/dist/accordion/index.d.ts +2 -0
- package/dist/accordion/index.js +2 -0
- package/dist/alert/alert.d.ts +68 -0
- package/dist/alert/alert.js +67 -0
- package/dist/alert/alert.js.map +1 -0
- package/dist/alert/index.d.ts +2 -0
- package/dist/alert/index.js +2 -0
- package/dist/alert-dialog/alert-dialog.d.ts +53 -0
- package/dist/alert-dialog/alert-dialog.js +16 -0
- package/dist/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/alert-dialog/index.d.ts +2 -0
- package/dist/alert-dialog/index.js +2 -0
- package/dist/avatar/avatar.d.ts +50 -0
- package/dist/avatar/avatar.js +91 -0
- package/dist/avatar/avatar.js.map +1 -0
- package/dist/avatar/index.d.ts +2 -0
- package/dist/avatar/index.js +2 -0
- package/dist/badge/badge.d.ts +47 -0
- package/dist/badge/badge.js +189 -0
- package/dist/badge/badge.js.map +1 -0
- package/dist/badge/index.d.ts +2 -0
- package/dist/badge/index.js +2 -0
- package/dist/breadcrumb/breadcrumb.d.ts +98 -0
- package/dist/breadcrumb/breadcrumb.js +93 -0
- package/dist/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/breadcrumb/index.d.ts +2 -0
- package/dist/breadcrumb/index.js +2 -0
- package/dist/button/button.d.ts +1 -1
- package/dist/button/button.js +7 -0
- package/dist/button/button.js.map +1 -1
- package/dist/calendar/calendar.d.ts +154 -0
- package/dist/calendar/calendar.js +282 -0
- package/dist/calendar/calendar.js.map +1 -0
- package/dist/calendar/index.d.ts +2 -0
- package/dist/calendar/index.js +2 -0
- package/dist/card/card.d.ts +93 -0
- package/dist/card/card.js +105 -0
- package/dist/card/card.js.map +1 -0
- package/dist/card/index.d.ts +2 -0
- package/dist/card/index.js +2 -0
- package/dist/checkbox/checkbox.d.ts +63 -0
- package/dist/checkbox/checkbox.js +94 -0
- package/dist/checkbox/checkbox.js.map +1 -0
- package/dist/checkbox/index.d.ts +2 -0
- package/dist/checkbox/index.js +2 -0
- package/dist/dialog/dialog.d.ts +140 -0
- package/dist/dialog/dialog.js +127 -0
- package/dist/dialog/dialog.js.map +1 -0
- package/dist/dialog/index.d.ts +2 -0
- package/dist/dialog/index.js +2 -0
- package/dist/index.d.ts +30 -1
- package/dist/index.js +30 -1
- package/dist/input/index.d.ts +2 -0
- package/dist/input/index.js +2 -0
- package/dist/input/input.d.ts +80 -0
- package/dist/input/input.js +195 -0
- package/dist/input/input.js.map +1 -0
- package/dist/label/index.d.ts +2 -0
- package/dist/label/index.js +2 -0
- package/dist/label/label.d.ts +41 -0
- package/dist/label/label.js +44 -0
- package/dist/label/label.js.map +1 -0
- package/dist/lib/field-surface.js +40 -0
- package/dist/lib/field-surface.js.map +1 -0
- package/dist/lib/selection-control.js +57 -0
- package/dist/lib/selection-control.js.map +1 -0
- package/dist/menu/index.d.ts +2 -0
- package/dist/menu/index.js +2 -0
- package/dist/menu/menu.d.ts +98 -0
- package/dist/menu/menu.js +99 -0
- package/dist/menu/menu.js.map +1 -0
- package/dist/popover/index.d.ts +2 -0
- package/dist/popover/index.js +2 -0
- package/dist/popover/popover.d.ts +50 -0
- package/dist/popover/popover.js +46 -0
- package/dist/popover/popover.js.map +1 -0
- package/dist/progress/index.d.ts +2 -0
- package/dist/progress/index.js +2 -0
- package/dist/progress/progress.d.ts +82 -0
- package/dist/progress/progress.js +82 -0
- package/dist/progress/progress.js.map +1 -0
- package/dist/radio-group/index.d.ts +2 -0
- package/dist/radio-group/index.js +2 -0
- package/dist/radio-group/radio-group.d.ts +53 -0
- package/dist/radio-group/radio-group.js +65 -0
- package/dist/radio-group/radio-group.js.map +1 -0
- package/dist/scroll-area/index.d.ts +2 -0
- package/dist/scroll-area/index.js +2 -0
- package/dist/scroll-area/scroll-area.d.ts +74 -0
- package/dist/scroll-area/scroll-area.js +63 -0
- package/dist/scroll-area/scroll-area.js.map +1 -0
- package/dist/select/index.d.ts +2 -0
- package/dist/select/index.js +2 -0
- package/dist/select/select.d.ts +105 -0
- package/dist/select/select.js +149 -0
- package/dist/select/select.js.map +1 -0
- package/dist/separator/index.d.ts +2 -0
- package/dist/separator/index.js +2 -0
- package/dist/separator/separator.d.ts +42 -0
- package/dist/separator/separator.js +49 -0
- package/dist/separator/separator.js.map +1 -0
- package/dist/sheet/index.d.ts +2 -0
- package/dist/sheet/index.js +2 -0
- package/dist/sheet/sheet.d.ts +96 -0
- package/dist/sheet/sheet.js +98 -0
- package/dist/sheet/sheet.js.map +1 -0
- package/dist/skeleton/index.d.ts +2 -0
- package/dist/skeleton/index.js +2 -0
- package/dist/skeleton/skeleton.d.ts +33 -0
- package/dist/skeleton/skeleton.js +42 -0
- package/dist/skeleton/skeleton.js.map +1 -0
- package/dist/slider/index.d.ts +2 -0
- package/dist/slider/index.js +2 -0
- package/dist/slider/slider.d.ts +70 -0
- package/dist/slider/slider.js +92 -0
- package/dist/slider/slider.js.map +1 -0
- package/dist/spinner/index.d.ts +2 -0
- package/dist/spinner/index.js +2 -0
- package/dist/spinner/spinner.d.ts +75 -0
- package/dist/spinner/spinner.js +68 -0
- package/dist/spinner/spinner.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/switch/index.d.ts +2 -0
- package/dist/switch/index.js +2 -0
- package/dist/switch/switch.d.ts +50 -0
- package/dist/switch/switch.js +66 -0
- package/dist/switch/switch.js.map +1 -0
- package/dist/table/index.d.ts +2 -0
- package/dist/table/index.js +2 -0
- package/dist/table/table.d.ts +288 -0
- package/dist/table/table.js +513 -0
- package/dist/table/table.js.map +1 -0
- package/dist/tabs/index.d.ts +2 -0
- package/dist/tabs/index.js +2 -0
- package/dist/tabs/tabs.d.ts +79 -0
- package/dist/tabs/tabs.js +103 -0
- package/dist/tabs/tabs.js.map +1 -0
- package/dist/textarea/index.d.ts +2 -0
- package/dist/textarea/index.js +2 -0
- package/dist/textarea/textarea.d.ts +27 -0
- package/dist/textarea/textarea.js +37 -0
- package/dist/textarea/textarea.js.map +1 -0
- package/dist/toast/index.d.ts +2 -0
- package/dist/toast/index.js +2 -0
- package/dist/toast/toast.d.ts +93 -0
- package/dist/toast/toast.js +145 -0
- package/dist/toast/toast.js.map +1 -0
- package/dist/tooltip/index.d.ts +2 -0
- package/dist/tooltip/index.js +2 -0
- package/dist/tooltip/tooltip.d.ts +70 -0
- package/dist/tooltip/tooltip.js +65 -0
- package/dist/tooltip/tooltip.js.map +1 -0
- package/package.json +125 -7
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn } from "../lib/cn.js";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { OverlayArrow, Tooltip, TooltipTrigger } from "react-aria-components";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region src/tooltip/tooltip.tsx
|
|
7
|
+
/**
|
|
8
|
+
* Tooltip, ported from the legacy shadcn/Radix component.
|
|
9
|
+
*
|
|
10
|
+
* Census: ten files import it but only SEVEN render anything -- three
|
|
11
|
+
* import the parts and use none. Across those seven: `Tooltip` 34,
|
|
12
|
+
* `TooltipTrigger` 34, `TooltipContent` 34, `TooltipProvider` 23. `side`
|
|
13
|
+
* is passed 12 times: `"top"` 11, `"bottom"` once.
|
|
14
|
+
*
|
|
15
|
+
* `TooltipProvider` IS NOT PORTED, and that removes 23 call sites rather
|
|
16
|
+
* than renaming them. The legacy `Tooltip` already wraps itself in a
|
|
17
|
+
* provider, so every explicit `<TooltipProvider>` in app code nested a
|
|
18
|
+
* second one inside the first -- harmless, but it also meant the
|
|
19
|
+
* `skipDelayDuration` grouping the provider exists for never spanned two
|
|
20
|
+
* tooltips. React Aria has no provider at all; that grouping is
|
|
21
|
+
* module-global.
|
|
22
|
+
*
|
|
23
|
+
* THE DELAY IS THE ONE THING THAT WOULD HAVE CHANGED SILENTLY. The legacy
|
|
24
|
+
* provider hardcodes `delayDuration = 0`, so all 34 tooltips appear
|
|
25
|
+
* instantly on hover. React Aria's default is 1500ms. Porting without
|
|
26
|
+
* noticing would have put a 1.5-second warm-up on every tooltip in the
|
|
27
|
+
* app, and neither the type system nor the test suite would have said a
|
|
28
|
+
* word -- so `delay` defaults to 0 here, and a story pins the default.
|
|
29
|
+
*/
|
|
30
|
+
const tooltipVariants = cva([
|
|
31
|
+
"w-fit rounded-md px-3 py-1.5",
|
|
32
|
+
"bg-primary text-primary-foreground",
|
|
33
|
+
"box-border font-sans text-xs leading-(--leading-snug) text-balance",
|
|
34
|
+
"outline-none"
|
|
35
|
+
]);
|
|
36
|
+
function Tooltip$1({ children, className, placement = "top", ...props }) {
|
|
37
|
+
return /* @__PURE__ */ jsxs(Tooltip, {
|
|
38
|
+
...props,
|
|
39
|
+
placement,
|
|
40
|
+
offset: 8,
|
|
41
|
+
"data-slot": "tooltip",
|
|
42
|
+
className: cn(tooltipVariants(), className),
|
|
43
|
+
children: [/* @__PURE__ */ jsx(OverlayArrow, {
|
|
44
|
+
"data-slot": "tooltip-arrow",
|
|
45
|
+
children: /* @__PURE__ */ jsx("svg", {
|
|
46
|
+
width: "10",
|
|
47
|
+
height: "5",
|
|
48
|
+
viewBox: "0 0 10 5",
|
|
49
|
+
className: "fill-primary",
|
|
50
|
+
children: /* @__PURE__ */ jsx("path", { d: "M0 5 5 0l5 5z" })
|
|
51
|
+
})
|
|
52
|
+
}), children]
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
function TooltipTrigger$1({ delay = 0, closeDelay = 0, ...props }) {
|
|
56
|
+
return /* @__PURE__ */ jsx(TooltipTrigger, {
|
|
57
|
+
...props,
|
|
58
|
+
delay,
|
|
59
|
+
closeDelay
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { Tooltip$1 as Tooltip, TooltipTrigger$1 as TooltipTrigger, tooltipVariants };
|
|
64
|
+
|
|
65
|
+
//# sourceMappingURL=tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.js","names":["Tooltip","AriaTooltip","AriaOverlayArrow","TooltipTrigger","AriaTooltipTrigger"],"sources":["../../src/tooltip/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport { cva } from \"class-variance-authority\";\nimport type { ReactNode } from \"react\";\nimport {\n OverlayArrow as AriaOverlayArrow,\n Tooltip as AriaTooltip,\n TooltipTrigger as AriaTooltipTrigger,\n type TooltipProps as AriaTooltipProps,\n type TooltipTriggerComponentProps as AriaTooltipTriggerProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"../lib/cn.js\";\n\n/**\n * Tooltip, ported from the legacy shadcn/Radix component.\n *\n * Census: ten files import it but only SEVEN render anything -- three\n * import the parts and use none. Across those seven: `Tooltip` 34,\n * `TooltipTrigger` 34, `TooltipContent` 34, `TooltipProvider` 23. `side`\n * is passed 12 times: `\"top\"` 11, `\"bottom\"` once.\n *\n * `TooltipProvider` IS NOT PORTED, and that removes 23 call sites rather\n * than renaming them. The legacy `Tooltip` already wraps itself in a\n * provider, so every explicit `<TooltipProvider>` in app code nested a\n * second one inside the first -- harmless, but it also meant the\n * `skipDelayDuration` grouping the provider exists for never spanned two\n * tooltips. React Aria has no provider at all; that grouping is\n * module-global.\n *\n * THE DELAY IS THE ONE THING THAT WOULD HAVE CHANGED SILENTLY. The legacy\n * provider hardcodes `delayDuration = 0`, so all 34 tooltips appear\n * instantly on hover. React Aria's default is 1500ms. Porting without\n * noticing would have put a 1.5-second warm-up on every tooltip in the\n * app, and neither the type system nor the test suite would have said a\n * word -- so `delay` defaults to 0 here, and a story pins the default.\n */\nexport const tooltipVariants = cva([\n \"w-fit rounded-md px-3 py-1.5\",\n // The legacy palette, kept: primary-foreground on primary is 8.35:1 and\n // is already in the contrast contract. An inverse-surface tooltip is the\n // more common choice, but changing it would be a design decision with no\n // defect behind it.\n \"bg-primary text-primary-foreground\",\n \"box-border font-sans text-xs leading-(--leading-snug) text-balance\",\n \"outline-none\",\n]);\n\n/**\n * A hover and focus hint.\n *\n * @example\n * <TooltipTrigger>\n * <Button aria-label=\"Mute\"><MicOff /></Button>\n * <Tooltip>Mute</Tooltip>\n * </TooltipTrigger>\n */\nexport interface TooltipProps\n extends Omit<AriaTooltipProps, \"className\" | \"style\" | \"children\"> {\n children?: ReactNode;\n /** Extra classes. Merged last, so they win conflicts with ours. */\n className?: string;\n /**\n * Where it opens. The legacy `side` prop: `\"top\"` 11 times, `\"bottom\"`\n * once, and the default for the other 22.\n *\n * @default \"top\"\n */\n placement?: AriaTooltipProps[\"placement\"];\n}\n\nexport function Tooltip({ children, className, placement = \"top\", ...props }: TooltipProps) {\n return (\n <AriaTooltip\n {...props}\n placement={placement}\n offset={8}\n data-slot=\"tooltip\"\n className={cn(tooltipVariants(), className)}\n >\n {/*\n An SVG arrow, not the legacy rotated square. That used\n `translate-y-[calc(-50%_-_2px)]` and `rounded-[2px]` -- two bracket\n values check:hardcoding rejects -- and a rotated box has to be\n re-placed for every side. React Aria rotates the whole OverlayArrow\n per placement, so one upward triangle serves all four.\n */}\n <AriaOverlayArrow data-slot=\"tooltip-arrow\">\n <svg width=\"10\" height=\"5\" viewBox=\"0 0 10 5\" className=\"fill-primary\">\n <path d=\"M0 5 5 0l5 5z\" />\n </svg>\n </AriaOverlayArrow>\n {children}\n </AriaTooltip>\n );\n}\n\n/**\n * Pairs a trigger with a tooltip.\n *\n * React Aria's `TooltipTrigger`, EXCEPT that `delay` and `closeDelay`\n * default to 0 to match the legacy provider. React Aria ships 1500ms and\n * 500ms; taking those defaults would have changed all 34 call sites\n * without a word.\n *\n * Focus opens it immediately whatever `delay` says -- React Aria passes\n * `immediate` on focus -- which is the behaviour a keyboard user needs.\n */\nexport interface TooltipTriggerProps extends AriaTooltipTriggerProps {\n /** Hover warm-up in ms. @default 0 */\n delay?: number;\n /** Hover cool-down in ms. @default 0 */\n closeDelay?: number;\n}\n\nexport function TooltipTrigger({ delay = 0, closeDelay = 0, ...props }: TooltipTriggerProps) {\n return <AriaTooltipTrigger {...props} delay={delay} closeDelay={closeDelay} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,MAAa,kBAAkB,IAAI;CACjC;CAKA;CACA;CACA;AACF,CAAC;AAyBD,SAAgBA,UAAQ,EAAE,UAAU,WAAW,YAAY,OAAO,GAAG,SAAuB;CAC1F,OACE,qBAACC,SAAD;EACE,GAAI;EACO;EACX,QAAQ;EACR,aAAU;EACV,WAAW,GAAG,gBAAgB,GAAG,SAAS;EAL5C,UAAA,CAcE,oBAACC,cAAD;GAAkB,aAAU;GAC1B,UAAA,oBAAC,OAAD;IAAK,OAAM;IAAK,QAAO;IAAI,SAAQ;IAAW,WAAU;IACtD,UAAA,oBAAC,QAAD,EAAM,GAAE,gBAAiB,CAAA;GACtB,CAAA;EACW,CAAA,GACjB,QACU;;AAEjB;AAoBA,SAAgBC,iBAAe,EAAE,QAAQ,GAAG,aAAa,GAAG,GAAG,SAA8B;CAC3F,OAAO,oBAACC,gBAAD;EAAoB,GAAI;EAAc;EAAmB;CAAa,CAAA;AAC/E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seekalfred/primitives",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Accessible, styled primitives built on React Aria Components.",
|
|
@@ -24,27 +24,145 @@
|
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"default": "./dist/index.js"
|
|
26
26
|
},
|
|
27
|
+
"./accordion": {
|
|
28
|
+
"types": "./dist/accordion/index.d.ts",
|
|
29
|
+
"default": "./dist/accordion/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./alert": {
|
|
32
|
+
"types": "./dist/alert/index.d.ts",
|
|
33
|
+
"default": "./dist/alert/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./alert-dialog": {
|
|
36
|
+
"types": "./dist/alert-dialog/index.d.ts",
|
|
37
|
+
"default": "./dist/alert-dialog/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./avatar": {
|
|
40
|
+
"types": "./dist/avatar/index.d.ts",
|
|
41
|
+
"default": "./dist/avatar/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./badge": {
|
|
44
|
+
"types": "./dist/badge/index.d.ts",
|
|
45
|
+
"default": "./dist/badge/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./breadcrumb": {
|
|
48
|
+
"types": "./dist/breadcrumb/index.d.ts",
|
|
49
|
+
"default": "./dist/breadcrumb/index.js"
|
|
50
|
+
},
|
|
27
51
|
"./button": {
|
|
28
52
|
"types": "./dist/button/index.d.ts",
|
|
29
53
|
"default": "./dist/button/index.js"
|
|
30
54
|
},
|
|
31
|
-
"./
|
|
32
|
-
|
|
55
|
+
"./calendar": {
|
|
56
|
+
"types": "./dist/calendar/index.d.ts",
|
|
57
|
+
"default": "./dist/calendar/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./card": {
|
|
60
|
+
"types": "./dist/card/index.d.ts",
|
|
61
|
+
"default": "./dist/card/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./checkbox": {
|
|
64
|
+
"types": "./dist/checkbox/index.d.ts",
|
|
65
|
+
"default": "./dist/checkbox/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./dialog": {
|
|
68
|
+
"types": "./dist/dialog/index.d.ts",
|
|
69
|
+
"default": "./dist/dialog/index.js"
|
|
70
|
+
},
|
|
71
|
+
"./input": {
|
|
72
|
+
"types": "./dist/input/index.d.ts",
|
|
73
|
+
"default": "./dist/input/index.js"
|
|
74
|
+
},
|
|
75
|
+
"./label": {
|
|
76
|
+
"types": "./dist/label/index.d.ts",
|
|
77
|
+
"default": "./dist/label/index.js"
|
|
78
|
+
},
|
|
79
|
+
"./menu": {
|
|
80
|
+
"types": "./dist/menu/index.d.ts",
|
|
81
|
+
"default": "./dist/menu/index.js"
|
|
82
|
+
},
|
|
83
|
+
"./popover": {
|
|
84
|
+
"types": "./dist/popover/index.d.ts",
|
|
85
|
+
"default": "./dist/popover/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./progress": {
|
|
88
|
+
"types": "./dist/progress/index.d.ts",
|
|
89
|
+
"default": "./dist/progress/index.js"
|
|
90
|
+
},
|
|
91
|
+
"./radio-group": {
|
|
92
|
+
"types": "./dist/radio-group/index.d.ts",
|
|
93
|
+
"default": "./dist/radio-group/index.js"
|
|
94
|
+
},
|
|
95
|
+
"./scroll-area": {
|
|
96
|
+
"types": "./dist/scroll-area/index.d.ts",
|
|
97
|
+
"default": "./dist/scroll-area/index.js"
|
|
98
|
+
},
|
|
99
|
+
"./select": {
|
|
100
|
+
"types": "./dist/select/index.d.ts",
|
|
101
|
+
"default": "./dist/select/index.js"
|
|
102
|
+
},
|
|
103
|
+
"./separator": {
|
|
104
|
+
"types": "./dist/separator/index.d.ts",
|
|
105
|
+
"default": "./dist/separator/index.js"
|
|
106
|
+
},
|
|
107
|
+
"./sheet": {
|
|
108
|
+
"types": "./dist/sheet/index.d.ts",
|
|
109
|
+
"default": "./dist/sheet/index.js"
|
|
110
|
+
},
|
|
111
|
+
"./skeleton": {
|
|
112
|
+
"types": "./dist/skeleton/index.d.ts",
|
|
113
|
+
"default": "./dist/skeleton/index.js"
|
|
114
|
+
},
|
|
115
|
+
"./slider": {
|
|
116
|
+
"types": "./dist/slider/index.d.ts",
|
|
117
|
+
"default": "./dist/slider/index.js"
|
|
118
|
+
},
|
|
119
|
+
"./spinner": {
|
|
120
|
+
"types": "./dist/spinner/index.d.ts",
|
|
121
|
+
"default": "./dist/spinner/index.js"
|
|
122
|
+
},
|
|
123
|
+
"./switch": {
|
|
124
|
+
"types": "./dist/switch/index.d.ts",
|
|
125
|
+
"default": "./dist/switch/index.js"
|
|
126
|
+
},
|
|
127
|
+
"./table": {
|
|
128
|
+
"types": "./dist/table/index.d.ts",
|
|
129
|
+
"default": "./dist/table/index.js"
|
|
130
|
+
},
|
|
131
|
+
"./tabs": {
|
|
132
|
+
"types": "./dist/tabs/index.d.ts",
|
|
133
|
+
"default": "./dist/tabs/index.js"
|
|
134
|
+
},
|
|
135
|
+
"./textarea": {
|
|
136
|
+
"types": "./dist/textarea/index.d.ts",
|
|
137
|
+
"default": "./dist/textarea/index.js"
|
|
138
|
+
},
|
|
139
|
+
"./toast": {
|
|
140
|
+
"types": "./dist/toast/index.d.ts",
|
|
141
|
+
"default": "./dist/toast/index.js"
|
|
142
|
+
},
|
|
143
|
+
"./tooltip": {
|
|
144
|
+
"types": "./dist/tooltip/index.d.ts",
|
|
145
|
+
"default": "./dist/tooltip/index.js"
|
|
146
|
+
},
|
|
147
|
+
"./package.json": "./package.json",
|
|
148
|
+
"./styles.css": "./dist/styles.css"
|
|
33
149
|
},
|
|
34
150
|
"peerDependencies": {
|
|
35
|
-
"
|
|
151
|
+
"@internationalized/date": "^3.12.0",
|
|
152
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
36
153
|
"react-aria-components": "^1.21.0",
|
|
37
|
-
"react-dom": "^19.0.0"
|
|
154
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
38
155
|
},
|
|
39
156
|
"dependencies": {
|
|
40
|
-
"@seekalfred/tokens": "^0.
|
|
157
|
+
"@seekalfred/tokens": "^0.4.0",
|
|
41
158
|
"class-variance-authority": "0.7.1",
|
|
42
159
|
"clsx": "2.1.1",
|
|
43
160
|
"tailwind-merge": "3.6.0"
|
|
44
161
|
},
|
|
45
162
|
"devDependencies": {
|
|
46
163
|
"@arethetypeswrong/cli": "0.18.5",
|
|
47
|
-
"@
|
|
164
|
+
"@internationalized/date": "3.12.4",
|
|
165
|
+
"@seekalfred/styles": "^0.4.0",
|
|
48
166
|
"@seekalfred/tsconfig": "0.0.0",
|
|
49
167
|
"@size-limit/preset-small-lib": "13.0.3",
|
|
50
168
|
"@storybook/react-vite": "10.6.0",
|