@workokay/atom 0.2.26 → 0.2.29

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.
Files changed (143) hide show
  1. package/dist/atom.css +1 -1
  2. package/dist/index.cjs +64 -2
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.js +16488 -897
  5. package/dist/index.js.map +1 -1
  6. package/dist/tsconfig.lib.tsbuildinfo +1 -0
  7. package/dist/types/components/avatar/Avatar.d.ts +60 -0
  8. package/dist/types/components/avatar/Avatar.d.ts.map +1 -0
  9. package/dist/types/components/avatar/avatarVariants.d.ts +14 -0
  10. package/dist/types/components/avatar/avatarVariants.d.ts.map +1 -0
  11. package/dist/types/components/avatar/index.d.ts +5 -0
  12. package/dist/types/components/avatar/index.d.ts.map +1 -0
  13. package/dist/types/components/calendar/Calendar.d.ts +7 -0
  14. package/dist/types/components/calendar/Calendar.d.ts.map +1 -0
  15. package/dist/types/components/calendar/index.d.ts +3 -0
  16. package/dist/types/components/calendar/index.d.ts.map +1 -0
  17. package/dist/types/components/card/Card.d.ts +45 -0
  18. package/dist/types/components/card/Card.d.ts.map +1 -0
  19. package/dist/types/components/card/index.d.ts +3 -0
  20. package/dist/types/components/card/index.d.ts.map +1 -0
  21. package/dist/types/components/checkbox/Checkbox.d.ts +11 -0
  22. package/dist/types/components/checkbox/Checkbox.d.ts.map +1 -0
  23. package/dist/types/components/checkbox/checkboxVariants.d.ts +6 -0
  24. package/dist/types/components/checkbox/checkboxVariants.d.ts.map +1 -0
  25. package/dist/types/components/checkbox/index.d.ts +4 -0
  26. package/dist/types/components/checkbox/index.d.ts.map +1 -0
  27. package/dist/types/components/contentCard/ContentCard.d.ts +12 -0
  28. package/dist/types/components/contentCard/ContentCard.d.ts.map +1 -0
  29. package/dist/types/components/contentCard/contentCardVariants.d.ts +8 -0
  30. package/dist/types/components/contentCard/contentCardVariants.d.ts.map +1 -0
  31. package/dist/types/components/contentCard/index.d.ts +4 -0
  32. package/dist/types/components/contentCard/index.d.ts.map +1 -0
  33. package/dist/types/components/dataTable/DataTable.d.ts +33 -0
  34. package/dist/types/components/dataTable/DataTable.d.ts.map +1 -0
  35. package/dist/types/components/dataTable/dataTableVariants.d.ts +2 -0
  36. package/dist/types/components/dataTable/dataTableVariants.d.ts.map +1 -0
  37. package/dist/types/components/dataTable/index.d.ts +2 -0
  38. package/dist/types/components/dataTable/index.d.ts.map +1 -0
  39. package/dist/types/components/dialog/Dialog.d.ts +29 -0
  40. package/dist/types/components/dialog/Dialog.d.ts.map +1 -0
  41. package/dist/types/components/dialog/dialogVariants.d.ts +3 -0
  42. package/dist/types/components/dialog/dialogVariants.d.ts.map +1 -0
  43. package/dist/types/components/dialog/index.d.ts +2 -0
  44. package/dist/types/components/dialog/index.d.ts.map +1 -0
  45. package/dist/types/components/drawer/Drawer.d.ts +30 -0
  46. package/dist/types/components/drawer/Drawer.d.ts.map +1 -0
  47. package/dist/types/components/drawer/drawerVariants.d.ts +6 -0
  48. package/dist/types/components/drawer/drawerVariants.d.ts.map +1 -0
  49. package/dist/types/components/drawer/index.d.ts +3 -0
  50. package/dist/types/components/drawer/index.d.ts.map +1 -0
  51. package/dist/types/components/dropdown/Dropdown.d.ts +72 -0
  52. package/dist/types/components/dropdown/Dropdown.d.ts.map +1 -0
  53. package/dist/types/components/dropdown/index.d.ts +2 -0
  54. package/dist/types/components/dropdown/index.d.ts.map +1 -0
  55. package/dist/types/components/heading/Heading.d.ts +15 -0
  56. package/dist/types/components/heading/Heading.d.ts.map +1 -0
  57. package/dist/types/components/heading/headingVariants.d.ts +7 -0
  58. package/dist/types/components/heading/headingVariants.d.ts.map +1 -0
  59. package/dist/types/components/heading/index.d.ts +3 -0
  60. package/dist/types/components/heading/index.d.ts.map +1 -0
  61. package/dist/types/components/{form → input}/Input.d.ts +4 -4
  62. package/dist/types/components/input/Input.d.ts.map +1 -0
  63. package/dist/types/components/input/index.d.ts.map +1 -0
  64. package/dist/types/components/inputNumber/InputNumber.d.ts +20 -0
  65. package/dist/types/components/inputNumber/InputNumber.d.ts.map +1 -0
  66. package/dist/types/components/inputNumber/index.d.ts +2 -0
  67. package/dist/types/components/inputNumber/index.d.ts.map +1 -0
  68. package/dist/types/components/paper/Paper.d.ts +7 -0
  69. package/dist/types/components/paper/Paper.d.ts.map +1 -0
  70. package/dist/types/components/paper/index.d.ts +4 -0
  71. package/dist/types/components/paper/index.d.ts.map +1 -0
  72. package/dist/types/components/paper/paperVariants.d.ts +9 -0
  73. package/dist/types/components/paper/paperVariants.d.ts.map +1 -0
  74. package/dist/types/components/popover/Popover.d.ts +77 -0
  75. package/dist/types/components/popover/Popover.d.ts.map +1 -0
  76. package/dist/types/components/popover/index.d.ts +2 -0
  77. package/dist/types/components/popover/index.d.ts.map +1 -0
  78. package/dist/types/components/progressBar/ProgressBar.d.ts +20 -0
  79. package/dist/types/components/progressBar/ProgressBar.d.ts.map +1 -0
  80. package/dist/types/components/progressBar/index.d.ts +4 -0
  81. package/dist/types/components/progressBar/index.d.ts.map +1 -0
  82. package/dist/types/components/progressBar/progressBarVariants.d.ts +13 -0
  83. package/dist/types/components/progressBar/progressBarVariants.d.ts.map +1 -0
  84. package/dist/types/components/radio/Radio.d.ts +7 -0
  85. package/dist/types/components/radio/Radio.d.ts.map +1 -0
  86. package/dist/types/components/radio/RadioGroup.d.ts +7 -0
  87. package/dist/types/components/radio/RadioGroup.d.ts.map +1 -0
  88. package/dist/types/components/radio/index.d.ts +3 -0
  89. package/dist/types/components/radio/index.d.ts.map +1 -0
  90. package/dist/types/components/radio/radioVariants.d.ts +5 -0
  91. package/dist/types/components/radio/radioVariants.d.ts.map +1 -0
  92. package/dist/types/components/skeleton/Skeleton.d.ts +16 -0
  93. package/dist/types/components/skeleton/Skeleton.d.ts.map +1 -0
  94. package/dist/types/components/skeleton/index.d.ts +3 -0
  95. package/dist/types/components/skeleton/index.d.ts.map +1 -0
  96. package/dist/types/components/statCardA/StatCardA.d.ts +40 -0
  97. package/dist/types/components/statCardA/StatCardA.d.ts.map +1 -0
  98. package/dist/types/components/statCardA/index.d.ts +2 -0
  99. package/dist/types/components/statCardA/index.d.ts.map +1 -0
  100. package/dist/types/components/statCardB/StatCardB.d.ts +17 -0
  101. package/dist/types/components/statCardB/StatCardB.d.ts.map +1 -0
  102. package/dist/types/components/statCardB/index.d.ts +2 -0
  103. package/dist/types/components/statCardB/index.d.ts.map +1 -0
  104. package/dist/types/components/statCardB/statCardBVariants.d.ts +9 -0
  105. package/dist/types/components/statCardB/statCardBVariants.d.ts.map +1 -0
  106. package/dist/types/components/statCardC/StatCardC.d.ts +17 -0
  107. package/dist/types/components/statCardC/StatCardC.d.ts.map +1 -0
  108. package/dist/types/components/statCardC/StatCardC.tests.d.ts +2 -0
  109. package/dist/types/components/statCardC/StatCardC.tests.d.ts.map +1 -0
  110. package/dist/types/components/statCardC/index.d.ts +2 -0
  111. package/dist/types/components/statCardC/index.d.ts.map +1 -0
  112. package/dist/types/components/statCardC/statCardCVariants.d.ts +8 -0
  113. package/dist/types/components/statCardC/statCardCVariants.d.ts.map +1 -0
  114. package/dist/types/components/switch/Switch.d.ts +8 -0
  115. package/dist/types/components/switch/Switch.d.ts.map +1 -0
  116. package/dist/types/components/switch/index.d.ts +3 -0
  117. package/dist/types/components/switch/index.d.ts.map +1 -0
  118. package/dist/types/components/switch/switchVariants.d.ts +23 -0
  119. package/dist/types/components/switch/switchVariants.d.ts.map +1 -0
  120. package/dist/types/components/tabs/Tabs.d.ts +36 -0
  121. package/dist/types/components/tabs/Tabs.d.ts.map +1 -0
  122. package/dist/types/components/tabs/index.d.ts +2 -0
  123. package/dist/types/components/tabs/index.d.ts.map +1 -0
  124. package/dist/types/components/text/Text.d.ts +15 -0
  125. package/dist/types/components/text/Text.d.ts.map +1 -0
  126. package/dist/types/components/text/index.d.ts +2 -0
  127. package/dist/types/components/text/index.d.ts.map +1 -0
  128. package/dist/types/components/textArea/TextArea.d.ts +17 -0
  129. package/dist/types/components/textArea/TextArea.d.ts.map +1 -0
  130. package/dist/types/components/textArea/index.d.ts +2 -0
  131. package/dist/types/components/textArea/index.d.ts.map +1 -0
  132. package/dist/types/components/tooltip/Tooltip.d.ts +28 -0
  133. package/dist/types/components/tooltip/Tooltip.d.ts.map +1 -0
  134. package/dist/types/components/tooltip/index.d.ts +2 -0
  135. package/dist/types/components/tooltip/index.d.ts.map +1 -0
  136. package/dist/types/hooks/useTheme.d.ts +1 -1
  137. package/dist/types/hooks/useTheme.d.ts.map +1 -1
  138. package/dist/types/index.d.ts +23 -1
  139. package/dist/types/index.d.ts.map +1 -1
  140. package/package.json +18 -8
  141. package/dist/types/components/form/Input.d.ts.map +0 -1
  142. package/dist/types/components/form/index.d.ts.map +0 -1
  143. /package/dist/types/components/{form → input}/index.d.ts +0 -0
@@ -0,0 +1,77 @@
1
+ import type { ErrorInfo, ReactNode } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const popoverContentVariants: (props?: ({
4
+ side?: "left" | "right" | "top" | "bottom" | null | undefined;
5
+ align?: "center" | "end" | "start" | null | undefined;
6
+ size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export type PopoverSide = 'top' | 'bottom' | 'left' | 'right';
9
+ export type PopoverAlign = 'start' | 'center' | 'end';
10
+ export type PopoverSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
11
+ export interface PopoverProps {
12
+ /** Controlled open state */
13
+ open?: boolean;
14
+ /** Callback when open state changes */
15
+ onOpenChange?: (open: boolean) => void;
16
+ /** Default open state (uncontrolled) */
17
+ defaultOpen?: boolean;
18
+ /** Whether the popover is modal (blocks interaction with rest of page) */
19
+ modal?: boolean;
20
+ /** Custom error boundary fallback */
21
+ errorFallback?: ReactNode;
22
+ /** Error handler callback */
23
+ onError?: (error: Error, errorInfo: ErrorInfo) => void;
24
+ children: React.ReactNode;
25
+ }
26
+ export interface PopoverTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
27
+ /** Use child element as trigger */
28
+ asChild?: boolean;
29
+ }
30
+ export interface PopoverContentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onAnimationStart'>, VariantProps<typeof popoverContentVariants> {
31
+ /** Portal container (defaults to document.body) */
32
+ container?: HTMLElement | null;
33
+ /** Offset from trigger in pixels */
34
+ sideOffset?: number;
35
+ /** Align offset in pixels */
36
+ alignOffset?: number;
37
+ /** Prevent closing when clicking inside content */
38
+ preventClose?: boolean;
39
+ /** Enable arrow pointer */
40
+ showArrow?: boolean;
41
+ /** Prevent closing on outside click */
42
+ preventOutsideClick?: boolean;
43
+ children?: React.ReactNode;
44
+ }
45
+ export interface PopoverCloseProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
46
+ /** Use child element as close button */
47
+ asChild?: boolean;
48
+ }
49
+ export interface PopoverHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
50
+ children: React.ReactNode;
51
+ }
52
+ export interface PopoverBodyProps extends React.HTMLAttributes<HTMLDivElement> {
53
+ children: React.ReactNode;
54
+ }
55
+ export interface PopoverFooterProps extends React.HTMLAttributes<HTMLDivElement> {
56
+ children: React.ReactNode;
57
+ }
58
+ export interface PopoverTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
59
+ children: React.ReactNode;
60
+ }
61
+ export interface PopoverDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
62
+ children: React.ReactNode;
63
+ }
64
+ export declare const Popover: {
65
+ ({ open: controlledOpen, onOpenChange, defaultOpen, modal, errorFallback, onError, children, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
66
+ displayName: string;
67
+ };
68
+ export declare const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
69
+ export declare const PopoverContent: import("react").ForwardRefExoticComponent<PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
70
+ export declare const PopoverHeader: import("react").ForwardRefExoticComponent<PopoverHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
71
+ export declare const PopoverBody: import("react").ForwardRefExoticComponent<PopoverBodyProps & import("react").RefAttributes<HTMLDivElement>>;
72
+ export declare const PopoverFooter: import("react").ForwardRefExoticComponent<PopoverFooterProps & import("react").RefAttributes<HTMLDivElement>>;
73
+ export declare const PopoverTitle: import("react").ForwardRefExoticComponent<PopoverTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
74
+ export declare const PopoverDescription: import("react").ForwardRefExoticComponent<PopoverDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
75
+ export declare const PopoverClose: import("react").ForwardRefExoticComponent<PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
76
+ export {};
77
+ //# sourceMappingURL=Popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/Popover.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export * from './Popover';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
@@ -0,0 +1,20 @@
1
+ import * as React from "react";
2
+ import { type ProgressBarTrackVariant, type ProgressBarIndicatorVariant, type ProgressBarSize } from "./progressBarVariants";
3
+ export interface ProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
4
+ /** Progress value from 0 to 100 */
5
+ value?: number;
6
+ /** If true, shows animated indeterminate state */
7
+ indeterminate?: boolean;
8
+ /** Accessible label */
9
+ ariaLabel?: string;
10
+ /** Visual variant (syncs track + indicator) */
11
+ variant?: ProgressBarIndicatorVariant;
12
+ /** Track background variant */
13
+ trackVariant?: ProgressBarTrackVariant;
14
+ /** Size of the progress bar */
15
+ size?: ProgressBarSize;
16
+ /** Whether to span full width */
17
+ fullWidth?: boolean;
18
+ }
19
+ export declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
20
+ //# sourceMappingURL=ProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../src/components/progressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE3B,OAAO,EAGP,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACnB,MAAM,uBAAuB,CAAC;AAEnC,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC9D,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,2BAA2B,CAAC;IACtC,+BAA+B;IAC/B,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,+BAA+B;IAC/B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,iCAAiC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,yFAkEvB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { ProgressBar } from "./ProgressBar";
2
+ export type { ProgressBarProps } from "./ProgressBar";
3
+ export type { ProgressBarTrackVariant, ProgressBarIndicatorVariant, ProgressBarSize, } from "./progressBarVariants";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/progressBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,eAAe,GAChB,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ export declare const progressTrackVariants: (props?: ({
3
+ trackVariant?: "subtle" | "outline" | "default" | null | undefined;
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
+ fullWidth?: boolean | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export declare const progressIndicatorVariants: (props?: ({
8
+ indicatorVariant?: "subtle" | "outline" | "default" | null | undefined;
9
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
+ export type ProgressBarTrackVariant = VariantProps<typeof progressTrackVariants>["trackVariant"];
11
+ export type ProgressBarIndicatorVariant = VariantProps<typeof progressIndicatorVariants>["indicatorVariant"];
12
+ export type ProgressBarSize = VariantProps<typeof progressTrackVariants>["size"];
13
+ //# sourceMappingURL=progressBarVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progressBarVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/progressBar/progressBarVariants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAMlE,eAAO,MAAM,qBAAqB;;;;8EA+BjC,CAAC;AAMF,eAAO,MAAM,yBAAyB;;8EAmBrC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GACjC,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC,cAAc,CAAC,CAAC;AAE7D,MAAM,MAAM,2BAA2B,GACrC,YAAY,CAAC,OAAO,yBAAyB,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAErE,MAAM,MAAM,eAAe,GACzB,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ export declare const Radio: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export declare const RadioLabel: React.ForwardRefExoticComponent<React.LabelHTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>>;
5
+ export declare const RadioOption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ export declare const RadioDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
7
+ //# sourceMappingURL=Radio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAMnE,eAAO,MAAM,KAAK,yKAehB,CAAC;AAKH,eAAO,MAAM,UAAU,sHAYrB,CAAC;AAGH,eAAO,MAAM,WAAW,6GAStB,CAAC;AAGH,eAAO,MAAM,gBAAgB,yHAS3B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ export interface RadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
4
+ direction?: 'horizontal' | 'vertical';
5
+ }
6
+ export declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
7
+ //# sourceMappingURL=RadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAInE,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IACvE,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACvC;AAED,eAAO,MAAM,UAAU,wFAWrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Radio';
2
+ export * from './RadioGroup';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const radioGroupVariants: (props?: ({
2
+ direction?: "horizontal" | "vertical" | null | undefined;
3
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
4
+ export declare const radioItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
5
+ //# sourceMappingURL=radioVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radioVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/radioVariants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;8EAU7B,CAAC;AAEH,eAAO,MAAM,iBAAiB,oFAW7B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const skeletonVariants: (props?: ({
4
+ variant?: "circle" | "default" | "rounded" | "card" | null | undefined;
5
+ size?: "sm" | "md" | "lg" | "full" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
8
+ /** Enable shimmer animation */
9
+ animate?: boolean;
10
+ }
11
+ export declare function Skeleton({ className, variant, size, animate, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare namespace Skeleton {
13
+ var displayName: string;
14
+ }
15
+ export {};
16
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/skeleton/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,gBAAgB;;;8EAsBrB,CAAA;AAED,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,+BAA+B;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAc,EACd,GAAG,KAAK,EACT,EAAE,aAAa,2CAqBf;yBA3Be,QAAQ"}
@@ -0,0 +1,3 @@
1
+ export { Skeleton } from "./Skeleton";
2
+ export type { SkeletonProps } from "./Skeleton";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1,40 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const statCardVariants: (props?: ({
4
+ order?: "row" | "col" | "colR" | "rowR" | null | undefined;
5
+ size?: "sm" | "md" | "lg" | "xs" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ declare const statValueVariants: (props?: ({
8
+ variant?: "primary" | "success" | "secondary" | null | undefined;
9
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
+ export type StatCardVariant = NonNullable<VariantProps<typeof statValueVariants>['variant']>;
11
+ export type StatCardOrder = NonNullable<VariantProps<typeof statCardVariants>['order']>;
12
+ export type StatCardSize = NonNullable<VariantProps<typeof statCardVariants>['size']>;
13
+ export interface StatCardAProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof statCardVariants> {
14
+ /**
15
+ * Semantic color variant used for both value and label
16
+ * @default 'primary'
17
+ */
18
+ variant?: StatCardVariant;
19
+ /**
20
+ * Label text displayed below the stat value
21
+ */
22
+ label?: React.ReactNode;
23
+ /**
24
+ * Main stat value/number displayed prominently
25
+ */
26
+ value?: React.ReactNode;
27
+ /**
28
+ * Status indicator (future-proof, currently unused)
29
+ */
30
+ status?: 'high' | 'medium' | 'low';
31
+ /**
32
+ * Change the default rendered element for the one passed as a child,
33
+ * merging their props and behavior.
34
+ * @default false
35
+ */
36
+ asChild?: boolean;
37
+ }
38
+ export declare const StatCardA: React.ForwardRefExoticComponent<StatCardAProps & React.RefAttributes<HTMLDivElement>>;
39
+ export {};
40
+ //# sourceMappingURL=StatCardA.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatCardA.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardA/StatCardA.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AASjE,QAAA,MAAM,gBAAgB;;;8EAsBrB,CAAA;AAGD,QAAA,MAAM,iBAAiB;;8EAcrB,CAAA;AAuBF,MAAM,MAAM,eAAe,GAAG,WAAW,CACvC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAClD,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,WAAW,CACrC,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAC/C,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,WAAW,CACpC,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAC9C,CAAA;AAED,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAA;IAElC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAMD,eAAO,MAAM,SAAS,uFAiCrB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './StatCardA';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardA/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { type StatCardBVariantProps } from './statCardBVariants';
3
+ export type StatCardBVariant = 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'accent';
4
+ export type StatCardBSize = 'sm' | 'md' | 'lg';
5
+ export type StatCardBAppearance = 'elevated' | 'outlined' | 'ghost' | 'soft';
6
+ export interface StatCardBProps extends React.HTMLAttributes<HTMLDivElement>, StatCardBVariantProps {
7
+ /** Title like "Validated", "Failed" */
8
+ label: string;
9
+ /** Main metric value like 4, 15, 2 */
10
+ value: React.ReactNode;
11
+ /** Optional icon in top-right */
12
+ icon?: React.ReactNode;
13
+ /** Use Slot to render as <a>, <Link>, etc. */
14
+ asChild?: boolean;
15
+ }
16
+ export declare const StatCardB: React.ForwardRefExoticComponent<StatCardBProps & React.RefAttributes<HTMLDivElement>>;
17
+ //# sourceMappingURL=StatCardB.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatCardB.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardB/StatCardB.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAA;AAG5B,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,QAAQ,CAAA;AAEZ,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE9C,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAA;AAE5E,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,qBAAqB;IACvB,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,iCAAiC;IACjC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,SAAS,uFA2CrB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './StatCardB';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardB/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const statCardBVariants: (props?: ({
3
+ variant?: "primary" | "success" | "danger" | "warning" | "info" | "neutral" | "accent" | null | undefined;
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
+ appearance?: "ghost" | "soft" | "elevated" | "outlined" | null | undefined;
6
+ fullWidth?: boolean | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export type StatCardBVariantProps = VariantProps<typeof statCardBVariants>;
9
+ //# sourceMappingURL=statCardBVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statCardBVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardB/statCardBVariants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,eAAO,MAAM,iBAAiB;;;;;8EA0E7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { type StatCardCVariantProps } from './statCardCVariants';
3
+ export type StatCardPriorityVariant = 'primary' | 'high' | 'medium' | 'low' | 'neutral';
4
+ export type StatCardPrioritySize = 'sm' | 'md' | 'lg';
5
+ export type StatCardPriorityAppearance = 'elevated' | 'outlined' | 'ghost' | 'soft';
6
+ export interface StatCardCProps extends React.HTMLAttributes<HTMLDivElement>, StatCardCVariantProps {
7
+ /** Label like "High Priority" */
8
+ label: string;
9
+ /** Numeric value on the right pill */
10
+ value: React.ReactNode;
11
+ /** Optional icon inside the pill (e.g. trend arrow) */
12
+ pillIcon?: React.ReactNode;
13
+ /** Render as child via Slot */
14
+ asChild?: boolean;
15
+ }
16
+ export declare const StatCardC: React.ForwardRefExoticComponent<StatCardCProps & React.RefAttributes<HTMLDivElement>>;
17
+ //# sourceMappingURL=StatCardC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatCardC.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardC/StatCardC.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,uBAAuB,GAC/B,SAAS,GACT,MAAM,GACN,QAAQ,GACR,KAAK,GACL,SAAS,CAAA;AACb,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AACrD,MAAM,MAAM,0BAA0B,GAClC,UAAU,GACV,UAAU,GACV,OAAO,GACP,MAAM,CAAA;AAEV,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,qBAAqB;IACvB,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,+BAA+B;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,SAAS,uFA2DrB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=StatCardC.tests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatCardC.tests.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardC/StatCardC.tests.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './StatCardC';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardC/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const statCardCVariants: (props?: ({
3
+ variant?: "primary" | "neutral" | "low" | "medium" | "high" | null | undefined;
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
+ appearance?: "ghost" | "soft" | "elevated" | "outlined" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export type StatCardCVariantProps = VariantProps<typeof statCardCVariants>;
8
+ //# sourceMappingURL=statCardCVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statCardCVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/statCardC/statCardCVariants.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,eAAO,MAAM,iBAAiB;;;;8EAmD7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+ export declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
4
+ variant?: "default" | "theme" | null | undefined;
5
+ size?: "sm" | "md" | "lg" | null | undefined;
6
+ fullWidth?: boolean | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
8
+ //# sourceMappingURL=Switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/Switch.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAmCzD,eAAO,MAAM,MAAM;;;;yHA6FlB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Switch';
2
+ export * from './switchVariants';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+ export declare const switchVariants: (props?: ({
4
+ variant?: "default" | "theme" | null | undefined;
5
+ size?: "sm" | "md" | "lg" | null | undefined;
6
+ fullWidth?: boolean | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export declare const thumbConfig: {
9
+ readonly sm: {
10
+ readonly size: "h-4 w-4";
11
+ readonly translateX: 16;
12
+ };
13
+ readonly md: {
14
+ readonly size: "h-5 w-5";
15
+ readonly translateX: 20;
16
+ };
17
+ readonly lg: {
18
+ readonly size: "h-6 w-6";
19
+ readonly translateX: 28;
20
+ };
21
+ };
22
+ export type SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & VariantProps<typeof switchVariants>;
23
+ //# sourceMappingURL=switchVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switchVariants.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/switchVariants.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAEzD,eAAO,MAAM,cAAc;;;;8EAgC1B,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAId,CAAA;AAEV,MAAM,MAAM,WAAW,GACrB,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAC3D,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA"}
@@ -0,0 +1,36 @@
1
+ export type TabsVariant = 'default' | 'pills' | 'underline';
2
+ export type TabsOrientation = 'horizontal' | 'vertical';
3
+ export interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ /** The default active tab ID */
5
+ defaultValue: string;
6
+ /** Controlled active tab ID */
7
+ value?: string;
8
+ /** Callback when active tab changes */
9
+ onValueChange?: (value: string) => void;
10
+ /** Visual variant */
11
+ variant?: TabsVariant;
12
+ /** Layout orientation */
13
+ orientation?: TabsOrientation;
14
+ children: React.ReactNode;
15
+ }
16
+ export interface TabsListProps extends React.HTMLAttributes<HTMLDivElement> {
17
+ /** Label for screen readers */
18
+ 'aria-label': string;
19
+ }
20
+ export interface TabTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
21
+ /** Unique identifier for this tab */
22
+ value: string;
23
+ /** If true, tab is disabled */
24
+ disabled?: boolean;
25
+ /** Change the default rendered element for the one passed as a child */
26
+ asChild?: boolean;
27
+ }
28
+ export interface TabContentProps extends React.HTMLAttributes<HTMLDivElement> {
29
+ /** The tab value this content is associated with */
30
+ value: string;
31
+ }
32
+ export declare const Tabs: import("react").ForwardRefExoticComponent<TabsProps & import("react").RefAttributes<HTMLDivElement>>;
33
+ export declare const TabsList: import("react").ForwardRefExoticComponent<TabsListProps & import("react").RefAttributes<HTMLDivElement>>;
34
+ export declare const TabTrigger: import("react").ForwardRefExoticComponent<TabTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
35
+ export declare const TabContent: import("react").ForwardRefExoticComponent<TabContentProps & import("react").RefAttributes<HTMLDivElement>>;
36
+ //# sourceMappingURL=Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/Tabs.tsx"],"names":[],"mappings":"AAkHE,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAA;AAC3D,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,UAAU,CAAA;AAEvD,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,gCAAgC;IAChC,YAAY,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uCAAuC;IACvC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,qBAAqB;IACrB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,yBAAyB;IACzB,WAAW,CAAC,EAAE,eAAe,CAAA;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,+BAA+B;IAC/B,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrD,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;CACd;AAMD,eAAO,MAAM,IAAI,sGAoDhB,CAAA;AAID,eAAO,MAAM,QAAQ,0GAiBpB,CAAA;AAID,eAAO,MAAM,UAAU,+GAqGtB,CAAA;AAID,eAAO,MAAM,UAAU,4GAqBtB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Tabs';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const textVariants: (props?: ({
4
+ variant?: "primary" | "success" | "warning" | "info" | "secondary" | "disabled" | "error" | "neutral" | "tertiary" | null | undefined;
5
+ size?: "sm" | "md" | "lg" | "none" | "xl" | "xs" | null | undefined;
6
+ weight?: "none" | "bold" | "medium" | "normal" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export interface TextProps extends React.HTMLAttributes<HTMLElement>, // ← CHANGE 1: HTMLElement
9
+ VariantProps<typeof textVariants> {
10
+ asChild?: boolean;
11
+ size?: 'xs' | 'sm' | 'md' | 'xl' | 'lg' | 'none';
12
+ }
13
+ export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
14
+ export {};
15
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/text/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,YAAY;;;;8EAmCjB,CAAA;AAGD,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAO,0BAA0B;AAC1E,YAAY,CAAC,OAAO,YAAY,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;CACjD;AAED,eAAO,MAAM,IAAI,+EAahB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Text';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/text/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const textAreaVariants: (props?: ({
4
+ variant?: "subtle" | "outline" | "default" | null | undefined;
5
+ size?: "sm" | "md" | "lg" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export type TextareaVariant = NonNullable<VariantProps<typeof textAreaVariants>['variant']>;
8
+ export type TextareaSize = NonNullable<VariantProps<typeof textAreaVariants>['size']>;
9
+ export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
10
+ placeholder?: string;
11
+ }
12
+ /**
13
+ * Variant-aware TextArea
14
+ */
15
+ export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
16
+ export {};
17
+ //# sourceMappingURL=TextArea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/textArea/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,gBAAgB;;;8EAyDrB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,WAAW,CACvC,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC,SAAS,CAAC,CACjD,CAAA;AACD,MAAM,MAAM,YAAY,GAAG,WAAW,CACpC,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAC9C,CAAA;AAED,MAAM,WAAW,aACf,SACE,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EACjD,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,2FAYpB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './TextArea';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/textArea/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -0,0 +1,28 @@
1
+ import * as React from 'react';
2
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
+ import { type VariantProps } from 'class-variance-authority';
4
+ declare const tooltipContentVariants: (props?: ({
5
+ variant?: "solid" | "outline" | "soft" | "default" | null | undefined;
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ showArrow?: boolean | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export type TooltipVariant = NonNullable<VariantProps<typeof tooltipContentVariants>['variant']>;
10
+ export type TooltipSize = NonNullable<VariantProps<typeof tooltipContentVariants>['size']>;
11
+ type RadixTooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>;
12
+ export interface TooltipProps extends Omit<RadixTooltipContentProps, 'content'>, VariantProps<typeof tooltipContentVariants> {
13
+ /** Text or React node to render inside the tooltip */
14
+ content: React.ReactNode;
15
+ /** Trigger element */
16
+ children: React.ReactNode;
17
+ }
18
+ /**
19
+ * Tooltip composed component:
20
+ * - Wraps Radix TooltipProvider / Root / Trigger / Content
21
+ * - Uses CVA for appearance variants
22
+ */
23
+ export declare function Tooltip({ children, content, variant, size, showArrow, className, side, align, sideOffset, ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare namespace Tooltip {
25
+ var displayName: string;
26
+ }
27
+ export {};
28
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,sBAAsB;;;;8EA4C3B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,WAAW,CACtC,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC,SAAS,CAAC,CACvD,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,WAAW,CACnC,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CACpD,CAAA;AAED,KAAK,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAC5D,OAAO,gBAAgB,CAAC,OAAO,CAChC,CAAA;AAED,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,wBAAwB,EAAE,SAAS,CAAC,EAC/C,YAAY,CAAC,OAAO,sBAAsB,CAAC;IAC7C,sDAAsD;IACtD,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,sBAAsB;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,OAAO,EACP,OAAO,EACP,IAAI,EACJ,SAAS,EACT,SAAS,EACT,IAAc,EACd,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,YAAY,2CAgCd;yBA3Ce,OAAO"}
@@ -0,0 +1,2 @@
1
+ export * from './Tooltip';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
@@ -1,2 +1,2 @@
1
- export {};
1
+ export declare function useThemePortal(): HTMLElement | null;
2
2
  //# sourceMappingURL=useTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTheme.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTheme.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,uBAW7B"}