@fuf-stack/pixels 2.0.0-next.3 → 2.0.0-next.4

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 (80) hide show
  1. package/dist/Accordion/accordionVariants.d.mts +62 -62
  2. package/dist/Accordion/accordionVariants.mjs +3 -3
  3. package/dist/Accordion/accordionVariants.mjs.map +1 -1
  4. package/dist/Alert/alertVariants.d.mts +50 -50
  5. package/dist/Alert/alertVariants.mjs +10 -10
  6. package/dist/Alert/alertVariants.mjs.map +1 -1
  7. package/dist/Avatar/avatarVariants.d.mts +53 -53
  8. package/dist/Avatar/avatarVariants.mjs +4 -4
  9. package/dist/Avatar/avatarVariants.mjs.map +1 -1
  10. package/dist/AvatarGroup/avatarGroupVariants.d.mts +2 -2
  11. package/dist/Badge/badgeVariants.d.mts +30 -30
  12. package/dist/Badge/badgeVariants.mjs +4 -4
  13. package/dist/Badge/badgeVariants.mjs.map +1 -1
  14. package/dist/Breadcrumb/breadcrumbVariants.d.mts +160 -160
  15. package/dist/Breadcrumb/breadcrumbVariants.mjs +2 -2
  16. package/dist/Breadcrumb/breadcrumbVariants.mjs.map +1 -1
  17. package/dist/Button/Button.d.mts +7 -7
  18. package/dist/Button/Button.d.mts.map +1 -1
  19. package/dist/Button/Button.mjs +5 -5
  20. package/dist/Button/Button.mjs.map +1 -1
  21. package/dist/Button/buttonVariants.d.mts +29 -29
  22. package/dist/Button/buttonVariants.mjs +3 -3
  23. package/dist/Button/buttonVariants.mjs.map +1 -1
  24. package/dist/Card/Card.d.mts.map +1 -1
  25. package/dist/Card/Card.mjs.map +1 -1
  26. package/dist/Card/cardVariants.d.mts +18 -18
  27. package/dist/Card/cardVariants.mjs +2 -2
  28. package/dist/Card/cardVariants.mjs.map +1 -1
  29. package/dist/Drawer/drawerVariants.d.mts +93 -93
  30. package/dist/Drawer/drawerVariants.mjs +1 -1
  31. package/dist/Drawer/drawerVariants.mjs.map +1 -1
  32. package/dist/Json/Json.mjs +1 -1
  33. package/dist/Json/subcomponents/CopiedRenderer.mjs +2 -2
  34. package/dist/Json/subcomponents/CopiedRenderer.mjs.map +1 -1
  35. package/dist/Label/labelVariants.d.mts +86 -86
  36. package/dist/Label/labelVariants.mjs +3 -3
  37. package/dist/Label/labelVariants.mjs.map +1 -1
  38. package/dist/Menu/Menu.d.mts +6 -6
  39. package/dist/Menu/Menu.d.mts.map +1 -1
  40. package/dist/Menu/Menu.mjs +2 -2
  41. package/dist/Menu/Menu.mjs.map +1 -1
  42. package/dist/Menu/menuVariants.d.mts +36 -36
  43. package/dist/Menu/menuVariants.mjs +7 -7
  44. package/dist/Menu/menuVariants.mjs.map +1 -1
  45. package/dist/Modal/modalVariants.d.mts +43 -43
  46. package/dist/Modal/modalVariants.mjs +6 -6
  47. package/dist/Modal/modalVariants.mjs.map +1 -1
  48. package/dist/Popover/popoverVariants.d.mts +36 -36
  49. package/dist/Popover/popoverVariants.mjs +8 -8
  50. package/dist/Popover/popoverVariants.mjs.map +1 -1
  51. package/dist/Progress/progressVariants.d.mts +42 -42
  52. package/dist/ProgressCircular/progressCircularVariants.d.mts +80 -80
  53. package/dist/ScrollShadow/scrollShadowVariants.d.mts +1 -1
  54. package/dist/SearchInput/searchInputVariants.d.mts +26 -26
  55. package/dist/SearchInput/searchInputVariants.mjs +6 -6
  56. package/dist/SearchInput/searchInputVariants.mjs.map +1 -1
  57. package/dist/Table/tableVariants.d.mts +50 -50
  58. package/dist/Table/tableVariants.mjs +8 -8
  59. package/dist/Table/tableVariants.mjs.map +1 -1
  60. package/dist/Tabs/Tabs.d.mts +4 -4
  61. package/dist/Tabs/Tabs.d.mts.map +1 -1
  62. package/dist/Tabs/Tabs.mjs +4 -4
  63. package/dist/Tabs/Tabs.mjs.map +1 -1
  64. package/dist/Tabs/tabsVariants.d.mts +88 -88
  65. package/dist/Tabs/tabsVariants.mjs +5 -5
  66. package/dist/Tabs/tabsVariants.mjs.map +1 -1
  67. package/dist/Toast/Toaster.d.mts +4 -4
  68. package/dist/Toast/Toaster.d.mts.map +1 -1
  69. package/dist/Toast/Toaster.mjs +4 -4
  70. package/dist/Toast/Toaster.mjs.map +1 -1
  71. package/dist/Toast/toast.d.mts +2 -2
  72. package/dist/Toast/toast.d.mts.map +1 -1
  73. package/dist/Toast/toast.mjs +6 -6
  74. package/dist/Toast/toast.mjs.map +1 -1
  75. package/dist/Tooltip/subcomponents/TooltipTextTrigger.mjs +4 -1
  76. package/dist/Tooltip/subcomponents/TooltipTextTrigger.mjs.map +1 -1
  77. package/dist/Tooltip/subcomponents/TooltipTriggerElement.mjs +47 -3
  78. package/dist/Tooltip/subcomponents/TooltipTriggerElement.mjs.map +1 -1
  79. package/dist/Tooltip/tooltipVariants.d.mts +54 -54
  80. package/package.json +4 -4
@@ -1,12 +1,12 @@
1
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
1
+ import { TVClassName } from "@fuf-stack/pixel-utils";
2
2
  /** Tab list treatments, selection indicator and panel layout */
3
3
  export declare const tabsVariants: ((props?: ({
4
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
5
4
  size?: "sm" | "md" | "lg" | undefined;
5
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
6
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
6
7
  disableAnimation?: boolean | undefined;
7
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
8
8
  fullWidth?: boolean | undefined;
9
- placement?: "top" | "bottom" | "start" | "end" | undefined;
9
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
10
10
  } & ({
11
11
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
12
12
  className?: never;
@@ -15,12 +15,12 @@ export declare const tabsVariants: ((props?: ({
15
15
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
16
16
  })) | undefined) => {
17
17
  base: (slotProps?: ({
18
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
19
18
  size?: "sm" | "md" | "lg" | undefined;
19
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
20
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
20
21
  disableAnimation?: boolean | undefined;
21
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
22
22
  fullWidth?: boolean | undefined;
23
- placement?: "top" | "bottom" | "start" | "end" | undefined;
23
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
24
24
  } & ({
25
25
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
26
26
  className?: never;
@@ -29,12 +29,12 @@ export declare const tabsVariants: ((props?: ({
29
29
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
30
30
  })) | undefined) => string;
31
31
  cursor: (slotProps?: ({
32
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
33
32
  size?: "sm" | "md" | "lg" | undefined;
33
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
34
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
34
35
  disableAnimation?: boolean | undefined;
35
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
36
36
  fullWidth?: boolean | undefined;
37
- placement?: "top" | "bottom" | "start" | "end" | undefined;
37
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
38
38
  } & ({
39
39
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
40
40
  className?: never;
@@ -43,12 +43,12 @@ export declare const tabsVariants: ((props?: ({
43
43
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
44
44
  })) | undefined) => string;
45
45
  panel: (slotProps?: ({
46
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
47
46
  size?: "sm" | "md" | "lg" | undefined;
47
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
48
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
48
49
  disableAnimation?: boolean | undefined;
49
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
50
50
  fullWidth?: boolean | undefined;
51
- placement?: "top" | "bottom" | "start" | "end" | undefined;
51
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
52
52
  } & ({
53
53
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
54
54
  className?: never;
@@ -57,12 +57,12 @@ export declare const tabsVariants: ((props?: ({
57
57
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
58
58
  })) | undefined) => string;
59
59
  tab: (slotProps?: ({
60
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
61
60
  size?: "sm" | "md" | "lg" | undefined;
61
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
62
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
62
63
  disableAnimation?: boolean | undefined;
63
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
64
64
  fullWidth?: boolean | undefined;
65
- placement?: "top" | "bottom" | "start" | "end" | undefined;
65
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
66
66
  } & ({
67
67
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
68
68
  className?: never;
@@ -71,12 +71,12 @@ export declare const tabsVariants: ((props?: ({
71
71
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
72
72
  })) | undefined) => string;
73
73
  tabContent: (slotProps?: ({
74
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
75
74
  size?: "sm" | "md" | "lg" | undefined;
75
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
76
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
76
77
  disableAnimation?: boolean | undefined;
77
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
78
78
  fullWidth?: boolean | undefined;
79
- placement?: "top" | "bottom" | "start" | "end" | undefined;
79
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
80
80
  } & ({
81
81
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
82
82
  className?: never;
@@ -85,12 +85,12 @@ export declare const tabsVariants: ((props?: ({
85
85
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
86
86
  })) | undefined) => string;
87
87
  tabList: (slotProps?: ({
88
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
89
88
  size?: "sm" | "md" | "lg" | undefined;
89
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
90
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
90
91
  disableAnimation?: boolean | undefined;
91
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
92
92
  fullWidth?: boolean | undefined;
93
- placement?: "top" | "bottom" | "start" | "end" | undefined;
93
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
94
94
  } & ({
95
95
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
96
96
  className?: never;
@@ -99,12 +99,12 @@ export declare const tabsVariants: ((props?: ({
99
99
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
100
100
  })) | undefined) => string;
101
101
  tabWrapper: (slotProps?: ({
102
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
103
102
  size?: "sm" | "md" | "lg" | undefined;
103
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
104
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
104
105
  disableAnimation?: boolean | undefined;
105
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
106
106
  fullWidth?: boolean | undefined;
107
- placement?: "top" | "bottom" | "start" | "end" | undefined;
107
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
108
108
  } & ({
109
109
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
110
110
  className?: never;
@@ -114,12 +114,12 @@ export declare const tabsVariants: ((props?: ({
114
114
  })) | undefined) => string;
115
115
  } & {
116
116
  base: (slotProps?: ({
117
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
118
117
  size?: "sm" | "md" | "lg" | undefined;
118
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
119
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
119
120
  disableAnimation?: boolean | undefined;
120
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
121
121
  fullWidth?: boolean | undefined;
122
- placement?: "top" | "bottom" | "start" | "end" | undefined;
122
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
123
123
  } & ({
124
124
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
125
125
  className?: never;
@@ -128,12 +128,12 @@ export declare const tabsVariants: ((props?: ({
128
128
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
129
129
  })) | undefined) => string;
130
130
  cursor: (slotProps?: ({
131
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
132
131
  size?: "sm" | "md" | "lg" | undefined;
132
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
133
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
133
134
  disableAnimation?: boolean | undefined;
134
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
135
135
  fullWidth?: boolean | undefined;
136
- placement?: "top" | "bottom" | "start" | "end" | undefined;
136
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
137
137
  } & ({
138
138
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
139
139
  className?: never;
@@ -142,12 +142,12 @@ export declare const tabsVariants: ((props?: ({
142
142
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
143
143
  })) | undefined) => string;
144
144
  panel: (slotProps?: ({
145
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
146
145
  size?: "sm" | "md" | "lg" | undefined;
146
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
147
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
147
148
  disableAnimation?: boolean | undefined;
148
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
149
149
  fullWidth?: boolean | undefined;
150
- placement?: "top" | "bottom" | "start" | "end" | undefined;
150
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
151
151
  } & ({
152
152
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
153
153
  className?: never;
@@ -156,12 +156,12 @@ export declare const tabsVariants: ((props?: ({
156
156
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
157
157
  })) | undefined) => string;
158
158
  tab: (slotProps?: ({
159
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
160
159
  size?: "sm" | "md" | "lg" | undefined;
160
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
161
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
161
162
  disableAnimation?: boolean | undefined;
162
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
163
163
  fullWidth?: boolean | undefined;
164
- placement?: "top" | "bottom" | "start" | "end" | undefined;
164
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
165
165
  } & ({
166
166
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
167
167
  className?: never;
@@ -170,12 +170,12 @@ export declare const tabsVariants: ((props?: ({
170
170
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
171
171
  })) | undefined) => string;
172
172
  tabContent: (slotProps?: ({
173
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
174
173
  size?: "sm" | "md" | "lg" | undefined;
174
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
175
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
175
176
  disableAnimation?: boolean | undefined;
176
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
177
177
  fullWidth?: boolean | undefined;
178
- placement?: "top" | "bottom" | "start" | "end" | undefined;
178
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
179
179
  } & ({
180
180
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
181
181
  className?: never;
@@ -184,12 +184,12 @@ export declare const tabsVariants: ((props?: ({
184
184
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
185
185
  })) | undefined) => string;
186
186
  tabList: (slotProps?: ({
187
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
188
187
  size?: "sm" | "md" | "lg" | undefined;
188
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
189
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
189
190
  disableAnimation?: boolean | undefined;
190
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
191
191
  fullWidth?: boolean | undefined;
192
- placement?: "top" | "bottom" | "start" | "end" | undefined;
192
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
193
193
  } & ({
194
194
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
195
195
  className?: never;
@@ -198,12 +198,12 @@ export declare const tabsVariants: ((props?: ({
198
198
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
199
199
  })) | undefined) => string;
200
200
  tabWrapper: (slotProps?: ({
201
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
202
201
  size?: "sm" | "md" | "lg" | undefined;
202
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
203
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
203
204
  disableAnimation?: boolean | undefined;
204
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
205
205
  fullWidth?: boolean | undefined;
206
- placement?: "top" | "bottom" | "start" | "end" | undefined;
206
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
207
207
  } & ({
208
208
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
209
209
  className?: never;
@@ -213,12 +213,12 @@ export declare const tabsVariants: ((props?: ({
213
213
  })) | undefined) => string;
214
214
  } & {}) & {
215
215
  extend: ((props?: ({
216
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
217
216
  size?: "sm" | "md" | "lg" | undefined;
217
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
218
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
218
219
  disableAnimation?: boolean | undefined;
219
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
220
220
  fullWidth?: boolean | undefined;
221
- placement?: "top" | "bottom" | "start" | "end" | undefined;
221
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
222
222
  } & ({
223
223
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
224
224
  className?: never;
@@ -227,12 +227,12 @@ export declare const tabsVariants: ((props?: ({
227
227
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
228
228
  })) | undefined) => {} & {
229
229
  base: (slotProps?: ({
230
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
231
230
  size?: "sm" | "md" | "lg" | undefined;
231
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
232
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
232
233
  disableAnimation?: boolean | undefined;
233
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
234
234
  fullWidth?: boolean | undefined;
235
- placement?: "top" | "bottom" | "start" | "end" | undefined;
235
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
236
236
  } & ({
237
237
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
238
238
  className?: never;
@@ -241,12 +241,12 @@ export declare const tabsVariants: ((props?: ({
241
241
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
242
242
  })) | undefined) => string;
243
243
  cursor: (slotProps?: ({
244
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
245
244
  size?: "sm" | "md" | "lg" | undefined;
245
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
246
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
246
247
  disableAnimation?: boolean | undefined;
247
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
248
248
  fullWidth?: boolean | undefined;
249
- placement?: "top" | "bottom" | "start" | "end" | undefined;
249
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
250
250
  } & ({
251
251
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
252
252
  className?: never;
@@ -255,12 +255,12 @@ export declare const tabsVariants: ((props?: ({
255
255
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
256
256
  })) | undefined) => string;
257
257
  panel: (slotProps?: ({
258
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
259
258
  size?: "sm" | "md" | "lg" | undefined;
259
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
260
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
260
261
  disableAnimation?: boolean | undefined;
261
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
262
262
  fullWidth?: boolean | undefined;
263
- placement?: "top" | "bottom" | "start" | "end" | undefined;
263
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
264
264
  } & ({
265
265
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
266
266
  className?: never;
@@ -269,12 +269,12 @@ export declare const tabsVariants: ((props?: ({
269
269
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
270
270
  })) | undefined) => string;
271
271
  tab: (slotProps?: ({
272
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
273
272
  size?: "sm" | "md" | "lg" | undefined;
273
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
274
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
274
275
  disableAnimation?: boolean | undefined;
275
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
276
276
  fullWidth?: boolean | undefined;
277
- placement?: "top" | "bottom" | "start" | "end" | undefined;
277
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
278
278
  } & ({
279
279
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
280
280
  className?: never;
@@ -283,12 +283,12 @@ export declare const tabsVariants: ((props?: ({
283
283
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
284
284
  })) | undefined) => string;
285
285
  tabContent: (slotProps?: ({
286
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
287
286
  size?: "sm" | "md" | "lg" | undefined;
287
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
288
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
288
289
  disableAnimation?: boolean | undefined;
289
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
290
290
  fullWidth?: boolean | undefined;
291
- placement?: "top" | "bottom" | "start" | "end" | undefined;
291
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
292
292
  } & ({
293
293
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
294
294
  className?: never;
@@ -297,12 +297,12 @@ export declare const tabsVariants: ((props?: ({
297
297
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
298
298
  })) | undefined) => string;
299
299
  tabList: (slotProps?: ({
300
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
301
300
  size?: "sm" | "md" | "lg" | undefined;
301
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
302
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
302
303
  disableAnimation?: boolean | undefined;
303
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
304
304
  fullWidth?: boolean | undefined;
305
- placement?: "top" | "bottom" | "start" | "end" | undefined;
305
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
306
306
  } & ({
307
307
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
308
308
  className?: never;
@@ -311,12 +311,12 @@ export declare const tabsVariants: ((props?: ({
311
311
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
312
312
  })) | undefined) => string;
313
313
  tabWrapper: (slotProps?: ({
314
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
315
314
  size?: "sm" | "md" | "lg" | undefined;
315
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
316
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
316
317
  disableAnimation?: boolean | undefined;
317
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
318
318
  fullWidth?: boolean | undefined;
319
- placement?: "top" | "bottom" | "start" | "end" | undefined;
319
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
320
320
  } & ({
321
321
  class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
322
322
  className?: never;
@@ -431,20 +431,20 @@ export declare const tabsVariants: ((props?: ({
431
431
  };
432
432
  };
433
433
  defaultVariants: {
434
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
435
434
  size?: "sm" | "md" | "lg" | undefined;
435
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
436
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
436
437
  disableAnimation?: boolean | undefined;
437
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
438
438
  fullWidth?: boolean | undefined;
439
- placement?: "top" | "bottom" | "start" | "end" | undefined;
439
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
440
440
  };
441
441
  compoundVariants: ({
442
- variant?: "light" | "bordered" | "solid" | "underlined" | ("light" | "bordered" | "solid" | "underlined")[] | undefined;
443
442
  size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined;
443
+ placement?: "top" | "bottom" | "start" | "end" | ("top" | "bottom" | "start" | "end")[] | undefined;
444
+ variant?: "solid" | "bordered" | "light" | "underlined" | ("solid" | "bordered" | "light" | "underlined")[] | undefined;
444
445
  disableAnimation?: boolean | boolean[] | undefined;
445
- radius?: "sm" | "md" | "lg" | "none" | "full" | ("sm" | "md" | "lg" | "none" | "full")[] | undefined;
446
446
  fullWidth?: boolean | boolean[] | undefined;
447
- placement?: "top" | "bottom" | "start" | "end" | ("top" | "bottom" | "start" | "end")[] | undefined;
447
+ radius?: "sm" | "md" | "lg" | "full" | "none" | ("sm" | "md" | "lg" | "full" | "none")[] | undefined;
448
448
  } & ({
449
449
  class?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {
450
450
  base?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
@@ -471,9 +471,9 @@ export declare const tabsVariants: ((props?: ({
471
471
  compoundSlots: ({
472
472
  slots: ("base" | "tabWrapper" | "cursor" | "panel" | "tab" | "tabContent" | "tabList")[];
473
473
  } & ({
474
- variant?: "light" | "bordered" | "solid" | "underlined" | ("light" | "bordered" | "solid" | "underlined")[] | undefined;
474
+ variant?: "solid" | "bordered" | "light" | "underlined" | ("solid" | "bordered" | "light" | "underlined")[] | undefined;
475
475
  size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined;
476
- radius?: "sm" | "md" | "lg" | "none" | "full" | ("sm" | "md" | "lg" | "none" | "full")[] | undefined;
476
+ radius?: "sm" | "md" | "lg" | "full" | "none" | ("sm" | "md" | "lg" | "full" | "none")[] | undefined;
477
477
  fullWidth?: boolean | boolean[] | undefined;
478
478
  disableAnimation?: boolean | boolean[] | undefined;
479
479
  placement?: "top" | "bottom" | "start" | "end" | ("top" | "bottom" | "start" | "end")[] | undefined;
@@ -484,7 +484,7 @@ export declare const tabsVariants: ((props?: ({
484
484
  class?: never;
485
485
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
486
486
  })))[];
487
- variantKeys: ("variant" | "size" | "disableAnimation" | "radius" | "fullWidth" | "placement")[];
487
+ variantKeys: ("size" | "placement" | "variant" | "disableAnimation" | "fullWidth" | "radius")[];
488
488
  };
489
489
  base: undefined;
490
490
  slots: {
@@ -591,20 +591,20 @@ export declare const tabsVariants: ((props?: ({
591
591
  };
592
592
  };
593
593
  defaultVariants: {
594
- variant?: "light" | "bordered" | "solid" | "underlined" | undefined;
595
594
  size?: "sm" | "md" | "lg" | undefined;
595
+ placement?: "top" | "bottom" | "start" | "end" | undefined;
596
+ variant?: "solid" | "bordered" | "light" | "underlined" | undefined;
596
597
  disableAnimation?: boolean | undefined;
597
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
598
598
  fullWidth?: boolean | undefined;
599
- placement?: "top" | "bottom" | "start" | "end" | undefined;
599
+ radius?: "sm" | "md" | "lg" | "full" | "none" | undefined;
600
600
  };
601
601
  compoundVariants: ({
602
- variant?: "light" | "bordered" | "solid" | "underlined" | ("light" | "bordered" | "solid" | "underlined")[] | undefined;
603
602
  size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined;
603
+ placement?: "top" | "bottom" | "start" | "end" | ("top" | "bottom" | "start" | "end")[] | undefined;
604
+ variant?: "solid" | "bordered" | "light" | "underlined" | ("solid" | "bordered" | "light" | "underlined")[] | undefined;
604
605
  disableAnimation?: boolean | boolean[] | undefined;
605
- radius?: "sm" | "md" | "lg" | "none" | "full" | ("sm" | "md" | "lg" | "none" | "full")[] | undefined;
606
606
  fullWidth?: boolean | boolean[] | undefined;
607
- placement?: "top" | "bottom" | "start" | "end" | ("top" | "bottom" | "start" | "end")[] | undefined;
607
+ radius?: "sm" | "md" | "lg" | "full" | "none" | ("sm" | "md" | "lg" | "full" | "none")[] | undefined;
608
608
  } & ({
609
609
  class?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {
610
610
  base?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
@@ -631,9 +631,9 @@ export declare const tabsVariants: ((props?: ({
631
631
  compoundSlots: ({
632
632
  slots: ("base" | "tabWrapper" | "cursor" | "panel" | "tab" | "tabContent" | "tabList")[];
633
633
  } & ({
634
- variant?: "light" | "bordered" | "solid" | "underlined" | ("light" | "bordered" | "solid" | "underlined")[] | undefined;
634
+ variant?: "solid" | "bordered" | "light" | "underlined" | ("solid" | "bordered" | "light" | "underlined")[] | undefined;
635
635
  size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined;
636
- radius?: "sm" | "md" | "lg" | "none" | "full" | ("sm" | "md" | "lg" | "none" | "full")[] | undefined;
636
+ radius?: "sm" | "md" | "lg" | "full" | "none" | ("sm" | "md" | "lg" | "full" | "none")[] | undefined;
637
637
  fullWidth?: boolean | boolean[] | undefined;
638
638
  disableAnimation?: boolean | boolean[] | undefined;
639
639
  placement?: "top" | "bottom" | "start" | "end" | ("top" | "bottom" | "start" | "end")[] | undefined;
@@ -644,7 +644,7 @@ export declare const tabsVariants: ((props?: ({
644
644
  class?: never;
645
645
  className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
646
646
  })))[];
647
- variantKeys: ("variant" | "size" | "disableAnimation" | "radius" | "fullWidth" | "placement")[];
647
+ variantKeys: ("size" | "placement" | "variant" | "disableAnimation" | "fullWidth" | "radius")[];
648
648
  };
649
649
  export type ClassName = TVClassName<typeof tabsVariants>;
650
650
  export { tabsVariants as default };
@@ -8,17 +8,17 @@ const tabsVariants = tv({
8
8
  /** Selection indicator behind the active tab label */
9
9
  cursor: ["absolute inset-0 z-0 will-change-[transform,width,height]", "transition-[translate,width,height] duration-250 ease-out motion-reduce:transition-none"],
10
10
  /** Content associated with a tab */
11
- panel: ["px-1 py-3 data-[inert=true]:hidden", "outline-solid outline-transparent data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus"],
11
+ panel: ["px-1 py-3 data-[inert=true]:hidden", "outline-transparent outline-solid data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus"],
12
12
  /** Focusable control for selecting a section */
13
13
  tab: [
14
14
  "group relative z-0 flex w-full items-center justify-center px-3 py-1",
15
15
  "cursor-pointer transition-opacity tap-highlight-transparent data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-30 data-[hover-unselected=true]:opacity-100",
16
- "outline-solid outline-transparent data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus"
16
+ "outline-transparent outline-solid data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus"
17
17
  ],
18
18
  /** Label and optional icon inside a tab */
19
19
  tabContent: ["relative z-10 whitespace-nowrap text-foreground", "transition-colors group-data-[selected=true]:text-foreground"],
20
20
  /** Row or column of tab controls */
21
- tabList: ["relative flex h-fit flex-nowrap items-center gap-2 p-1", "overflow-x-scroll bg-default-100 scrollbar-hide"],
21
+ tabList: ["relative flex h-fit flex-nowrap items-center gap-2 p-1", "scrollbar-hide overflow-x-scroll bg-default-100"],
22
22
  /** Layout positioning the tab list and its panels */
23
23
  tabWrapper: ""
24
24
  },
@@ -27,10 +27,10 @@ const tabsVariants = tv({
27
27
  solid: {},
28
28
  light: { tabList: "bg-transparent dark:bg-transparent" },
29
29
  underlined: {
30
- cursor: "bottom-0 left-[10%] top-auto h-[2px] w-[80%] shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]",
30
+ cursor: "top-auto bottom-0 left-[10%] h-[2px] w-[80%] shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]",
31
31
  tabList: "bg-transparent dark:bg-transparent"
32
32
  },
33
- bordered: { tabList: "shadow-xs border-medium border-default-200 bg-transparent dark:bg-transparent" }
33
+ bordered: { tabList: "border-medium border-default-200 bg-transparent shadow-xs dark:bg-transparent" }
34
34
  },
35
35
  size: {
36
36
  sm: {
@@ -1 +1 @@
1
- {"version":3,"file":"tabsVariants.mjs","names":[],"sources":["../../src/Tabs/tabsVariants.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\n\nimport { tv } from '@fuf-stack/pixel-utils';\n\n/** Tab list treatments, selection indicator and panel layout */\nexport const tabsVariants = tv({\n slots: {\n /** Container around the tab list */\n base: 'inline-flex',\n /** Selection indicator behind the active tab label */\n cursor: [\n // selected surface and shared-element movement\n 'absolute inset-0 z-0 will-change-[transform,width,height]',\n 'transition-[translate,width,height] duration-250 ease-out motion-reduce:transition-none',\n ],\n /** Content associated with a tab */\n panel: [\n // panel spacing and hidden retained content\n 'px-1 py-3 data-[inert=true]:hidden',\n // visible keyboard focus\n 'outline-solid outline-transparent data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus',\n ],\n /** Focusable control for selecting a section */\n tab: [\n // control layout\n 'group relative z-0 flex w-full items-center justify-center px-3 py-1',\n // disabled and pointer feedback\n 'cursor-pointer transition-opacity tap-highlight-transparent data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-30 data-[hover-unselected=true]:opacity-100',\n // visible keyboard focus\n 'outline-solid outline-transparent data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus',\n ],\n /** Label and optional icon inside a tab */\n tabContent: [\n // label stacking above the selection surface\n 'relative z-10 whitespace-nowrap text-foreground',\n 'transition-colors group-data-[selected=true]:text-foreground',\n ],\n /** Row or column of tab controls */\n tabList: [\n // wrapping layout and overflow\n 'relative flex h-fit flex-nowrap items-center gap-2 p-1',\n 'overflow-x-scroll bg-default-100 scrollbar-hide',\n ],\n /** Layout positioning the tab list and its panels */\n tabWrapper: '',\n },\n variants: {\n variant: {\n solid: {},\n light: { tabList: 'bg-transparent dark:bg-transparent' },\n underlined: {\n cursor:\n 'bottom-0 left-[10%] top-auto h-[2px] w-[80%] shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]',\n tabList: 'bg-transparent dark:bg-transparent',\n },\n bordered: {\n tabList:\n 'shadow-xs border-medium border-default-200 bg-transparent dark:bg-transparent',\n },\n },\n size: {\n sm: {\n cursor: 'rounded-small',\n tab: 'h-7 rounded-small text-tiny',\n tabList: 'rounded-medium',\n },\n md: {\n cursor: 'rounded-small',\n tab: 'h-8 rounded-small text-small',\n tabList: 'rounded-medium',\n },\n lg: {\n cursor: 'rounded-medium',\n tab: 'h-9 rounded-medium text-medium',\n tabList: 'rounded-large',\n },\n },\n radius: {\n none: {\n cursor: 'rounded-none',\n tab: 'rounded-none',\n tabList: 'rounded-none',\n },\n sm: {\n cursor: 'rounded-small',\n tab: 'rounded-small',\n tabList: 'rounded-medium',\n },\n md: {\n cursor: 'rounded-small',\n tab: 'rounded-small',\n tabList: 'rounded-medium',\n },\n lg: {\n cursor: 'rounded-medium',\n tab: 'rounded-medium',\n tabList: 'rounded-large',\n },\n full: {\n cursor: 'rounded-full',\n tab: 'rounded-full',\n tabList: 'rounded-full',\n },\n },\n fullWidth: { true: { base: 'w-full', tabList: 'w-full' } },\n disableAnimation: {\n true: { tab: 'transition-none', tabContent: 'transition-none' },\n },\n placement: {\n top: {},\n start: { panel: 'px-3 py-0', tabList: 'flex-col', tabWrapper: 'flex' },\n end: {\n panel: 'px-3 py-0',\n tabList: 'flex-col',\n tabWrapper: 'flex flex-row-reverse',\n },\n bottom: { tabWrapper: 'flex flex-col-reverse' },\n },\n },\n compoundVariants: [\n {\n variant: ['solid', 'bordered', 'light'],\n class: {\n cursor: ['bg-background', 'dark:bg-default', 'shadow-small'],\n tabContent: 'group-data-[selected=true]:text-default-foreground',\n },\n },\n {\n variant: 'underlined',\n class: {\n cursor: 'bg-foreground',\n tabContent: 'group-data-[selected=true]:text-foreground',\n },\n },\n {\n disableAnimation: true,\n variant: 'underlined',\n class: {\n tab: [\n \"after:content-['']\",\n 'after:absolute',\n 'after:bottom-0',\n 'after:h-[2px]',\n 'after:w-[80%]',\n 'after:opacity-0',\n 'after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]',\n 'data-[selected=true]:after:opacity-100',\n ],\n },\n },\n {\n disableAnimation: true,\n variant: ['solid', 'bordered', 'light'],\n class: {\n tab: 'data-[selected=true]:bg-default data-[selected=true]:text-default-foreground',\n },\n },\n {\n disableAnimation: true,\n variant: 'underlined',\n class: { tab: 'data-[selected=true]:after:bg-foreground' },\n },\n ],\n defaultVariants: {\n variant: 'solid',\n size: 'md',\n fullWidth: true,\n placement: 'top',\n },\n});\n\nexport type VariantProps = TVProps<typeof tabsVariants>;\n\nexport type ClassName = TVClassName<typeof tabsVariants>;\n\nexport type TabsClassNames = Record<\n keyof ReturnType<typeof tabsVariants>,\n string\n>;\n\nexport default tabsVariants;\n"],"mappings":";;;AAKA,MAAa,eAAe,GAAG;CAC7B,OAAO;;EAEL,MAAM;;EAEN,QAAQ,CAEN,6DACA,yFACF;;EAEA,OAAO,CAEL,sCAEA,yLACF;;EAEA,KAAK;GAEH;GAEA;GAEA;EACF;;EAEA,YAAY,CAEV,mDACA,8DACF;;EAEA,SAAS,CAEP,0DACA,iDACF;;EAEA,YAAY;CACd;CACA,UAAU;EACR,SAAS;GACP,OAAO,CAAC;GACR,OAAO,EAAE,SAAS,qCAAqC;GACvD,YAAY;IACV,QACE;IACF,SAAS;GACX;GACA,UAAU,EACR,SACE,gFACJ;EACF;EACA,MAAM;GACJ,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;EACF;EACA,QAAQ;GACN,MAAM;IACJ,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,MAAM;IACJ,QAAQ;IACR,KAAK;IACL,SAAS;GACX;EACF;EACA,WAAW,EAAE,MAAM;GAAE,MAAM;GAAU,SAAS;EAAS,EAAE;EACzD,kBAAkB,EAChB,MAAM;GAAE,KAAK;GAAmB,YAAY;EAAkB,EAChE;EACA,WAAW;GACT,KAAK,CAAC;GACN,OAAO;IAAE,OAAO;IAAa,SAAS;IAAY,YAAY;GAAO;GACrE,KAAK;IACH,OAAO;IACP,SAAS;IACT,YAAY;GACd;GACA,QAAQ,EAAE,YAAY,wBAAwB;EAChD;CACF;CACA,kBAAkB;EAChB;GACE,SAAS;IAAC;IAAS;IAAY;GAAO;GACtC,OAAO;IACL,QAAQ;KAAC;KAAiB;KAAmB;IAAc;IAC3D,YAAY;GACd;EACF;EACA;GACE,SAAS;GACT,OAAO;IACL,QAAQ;IACR,YAAY;GACd;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;GACT,OAAO,EACL,KAAK;IACH;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF,EACF;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;IAAC;IAAS;IAAY;GAAO;GACtC,OAAO,EACL,KAAK,+EACP;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;GACT,OAAO,EAAE,KAAK,2CAA2C;EAC3D;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;EACN,WAAW;EACX,WAAW;CACb;AACF,CAAC"}
1
+ {"version":3,"file":"tabsVariants.mjs","names":[],"sources":["../../src/Tabs/tabsVariants.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\n\nimport { tv } from '@fuf-stack/pixel-utils';\n\n/** Tab list treatments, selection indicator and panel layout */\nexport const tabsVariants = tv({\n slots: {\n /** Container around the tab list */\n base: 'inline-flex',\n /** Selection indicator behind the active tab label */\n cursor: [\n // selected surface and shared-element movement\n 'absolute inset-0 z-0 will-change-[transform,width,height]',\n 'transition-[translate,width,height] duration-250 ease-out motion-reduce:transition-none',\n ],\n /** Content associated with a tab */\n panel: [\n // panel spacing and hidden retained content\n 'px-1 py-3 data-[inert=true]:hidden',\n // visible keyboard focus\n 'outline-transparent outline-solid data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus',\n ],\n /** Focusable control for selecting a section */\n tab: [\n // control layout\n 'group relative z-0 flex w-full items-center justify-center px-3 py-1',\n // disabled and pointer feedback\n 'cursor-pointer transition-opacity tap-highlight-transparent data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-30 data-[hover-unselected=true]:opacity-100',\n // visible keyboard focus\n 'outline-transparent outline-solid data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-offset-2 data-[focus-visible=true]:outline-focus',\n ],\n /** Label and optional icon inside a tab */\n tabContent: [\n // label stacking above the selection surface\n 'relative z-10 whitespace-nowrap text-foreground',\n 'transition-colors group-data-[selected=true]:text-foreground',\n ],\n /** Row or column of tab controls */\n tabList: [\n // wrapping layout and overflow\n 'relative flex h-fit flex-nowrap items-center gap-2 p-1',\n 'scrollbar-hide overflow-x-scroll bg-default-100',\n ],\n /** Layout positioning the tab list and its panels */\n tabWrapper: '',\n },\n variants: {\n variant: {\n solid: {},\n light: { tabList: 'bg-transparent dark:bg-transparent' },\n underlined: {\n cursor:\n 'top-auto bottom-0 left-[10%] h-[2px] w-[80%] shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]',\n tabList: 'bg-transparent dark:bg-transparent',\n },\n bordered: {\n tabList:\n 'border-medium border-default-200 bg-transparent shadow-xs dark:bg-transparent',\n },\n },\n size: {\n sm: {\n cursor: 'rounded-small',\n tab: 'h-7 rounded-small text-tiny',\n tabList: 'rounded-medium',\n },\n md: {\n cursor: 'rounded-small',\n tab: 'h-8 rounded-small text-small',\n tabList: 'rounded-medium',\n },\n lg: {\n cursor: 'rounded-medium',\n tab: 'h-9 rounded-medium text-medium',\n tabList: 'rounded-large',\n },\n },\n radius: {\n none: {\n cursor: 'rounded-none',\n tab: 'rounded-none',\n tabList: 'rounded-none',\n },\n sm: {\n cursor: 'rounded-small',\n tab: 'rounded-small',\n tabList: 'rounded-medium',\n },\n md: {\n cursor: 'rounded-small',\n tab: 'rounded-small',\n tabList: 'rounded-medium',\n },\n lg: {\n cursor: 'rounded-medium',\n tab: 'rounded-medium',\n tabList: 'rounded-large',\n },\n full: {\n cursor: 'rounded-full',\n tab: 'rounded-full',\n tabList: 'rounded-full',\n },\n },\n fullWidth: { true: { base: 'w-full', tabList: 'w-full' } },\n disableAnimation: {\n true: { tab: 'transition-none', tabContent: 'transition-none' },\n },\n placement: {\n top: {},\n start: { panel: 'px-3 py-0', tabList: 'flex-col', tabWrapper: 'flex' },\n end: {\n panel: 'px-3 py-0',\n tabList: 'flex-col',\n tabWrapper: 'flex flex-row-reverse',\n },\n bottom: { tabWrapper: 'flex flex-col-reverse' },\n },\n },\n compoundVariants: [\n {\n variant: ['solid', 'bordered', 'light'],\n class: {\n cursor: ['bg-background', 'dark:bg-default', 'shadow-small'],\n tabContent: 'group-data-[selected=true]:text-default-foreground',\n },\n },\n {\n variant: 'underlined',\n class: {\n cursor: 'bg-foreground',\n tabContent: 'group-data-[selected=true]:text-foreground',\n },\n },\n {\n disableAnimation: true,\n variant: 'underlined',\n class: {\n tab: [\n \"after:content-['']\",\n 'after:absolute',\n 'after:bottom-0',\n 'after:h-[2px]',\n 'after:w-[80%]',\n 'after:opacity-0',\n 'after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]',\n 'data-[selected=true]:after:opacity-100',\n ],\n },\n },\n {\n disableAnimation: true,\n variant: ['solid', 'bordered', 'light'],\n class: {\n tab: 'data-[selected=true]:bg-default data-[selected=true]:text-default-foreground',\n },\n },\n {\n disableAnimation: true,\n variant: 'underlined',\n class: { tab: 'data-[selected=true]:after:bg-foreground' },\n },\n ],\n defaultVariants: {\n variant: 'solid',\n size: 'md',\n fullWidth: true,\n placement: 'top',\n },\n});\n\nexport type VariantProps = TVProps<typeof tabsVariants>;\n\nexport type ClassName = TVClassName<typeof tabsVariants>;\n\nexport type TabsClassNames = Record<\n keyof ReturnType<typeof tabsVariants>,\n string\n>;\n\nexport default tabsVariants;\n"],"mappings":";;;AAKA,MAAa,eAAe,GAAG;CAC7B,OAAO;;EAEL,MAAM;;EAEN,QAAQ,CAEN,6DACA,yFACF;;EAEA,OAAO,CAEL,sCAEA,yLACF;;EAEA,KAAK;GAEH;GAEA;GAEA;EACF;;EAEA,YAAY,CAEV,mDACA,8DACF;;EAEA,SAAS,CAEP,0DACA,iDACF;;EAEA,YAAY;CACd;CACA,UAAU;EACR,SAAS;GACP,OAAO,CAAC;GACR,OAAO,EAAE,SAAS,qCAAqC;GACvD,YAAY;IACV,QACE;IACF,SAAS;GACX;GACA,UAAU,EACR,SACE,gFACJ;EACF;EACA,MAAM;GACJ,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;EACF;EACA,QAAQ;GACN,MAAM;IACJ,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,IAAI;IACF,QAAQ;IACR,KAAK;IACL,SAAS;GACX;GACA,MAAM;IACJ,QAAQ;IACR,KAAK;IACL,SAAS;GACX;EACF;EACA,WAAW,EAAE,MAAM;GAAE,MAAM;GAAU,SAAS;EAAS,EAAE;EACzD,kBAAkB,EAChB,MAAM;GAAE,KAAK;GAAmB,YAAY;EAAkB,EAChE;EACA,WAAW;GACT,KAAK,CAAC;GACN,OAAO;IAAE,OAAO;IAAa,SAAS;IAAY,YAAY;GAAO;GACrE,KAAK;IACH,OAAO;IACP,SAAS;IACT,YAAY;GACd;GACA,QAAQ,EAAE,YAAY,wBAAwB;EAChD;CACF;CACA,kBAAkB;EAChB;GACE,SAAS;IAAC;IAAS;IAAY;GAAO;GACtC,OAAO;IACL,QAAQ;KAAC;KAAiB;KAAmB;IAAc;IAC3D,YAAY;GACd;EACF;EACA;GACE,SAAS;GACT,OAAO;IACL,QAAQ;IACR,YAAY;GACd;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;GACT,OAAO,EACL,KAAK;IACH;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF,EACF;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;IAAC;IAAS;IAAY;GAAO;GACtC,OAAO,EACL,KAAK,+EACP;EACF;EACA;GACE,kBAAkB;GAClB,SAAS;GACT,OAAO,EAAE,KAAK,2CAA2C;EAC3D;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;EACN,WAAW;EACX,WAAW;CACb;AACF,CAAC"}