@frontile/theme 0.18.10 → 0.18.12

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 (85) hide show
  1. package/declarations/components/accordion.d.ts +1 -113
  2. package/declarations/components/accordion.d.ts.map +1 -1
  3. package/declarations/components/alert.d.ts +1 -105
  4. package/declarations/components/alert.d.ts.map +1 -1
  5. package/declarations/components/app-layout.d.ts +1 -315
  6. package/declarations/components/app-layout.d.ts.map +1 -1
  7. package/declarations/components/avatar.d.ts +3 -99
  8. package/declarations/components/avatar.d.ts.map +1 -1
  9. package/declarations/components/badge.d.ts +6 -97
  10. package/declarations/components/badge.d.ts.map +1 -1
  11. package/declarations/components/bottom-nav.d.ts +2 -44
  12. package/declarations/components/bottom-nav.d.ts.map +1 -1
  13. package/declarations/components/breadcrumbs.d.ts +1 -101
  14. package/declarations/components/breadcrumbs.d.ts.map +1 -1
  15. package/declarations/components/button.d.ts +81 -165
  16. package/declarations/components/button.d.ts.map +1 -1
  17. package/declarations/components/calendar.d.ts +1 -153
  18. package/declarations/components/calendar.d.ts.map +1 -1
  19. package/declarations/components/card.d.ts +76 -0
  20. package/declarations/components/card.d.ts.map +1 -0
  21. package/declarations/components/chip.d.ts +8 -130
  22. package/declarations/components/chip.d.ts.map +1 -1
  23. package/declarations/components/close-button.d.ts +1 -59
  24. package/declarations/components/close-button.d.ts.map +1 -1
  25. package/declarations/components/command.d.ts +3 -98
  26. package/declarations/components/command.d.ts.map +1 -1
  27. package/declarations/components/divider.d.ts +5 -23
  28. package/declarations/components/divider.d.ts.map +1 -1
  29. package/declarations/components/dropdown.d.ts +1 -1
  30. package/declarations/components/dropdown.d.ts.map +1 -1
  31. package/declarations/components/external-link.d.ts +1 -47
  32. package/declarations/components/external-link.d.ts.map +1 -1
  33. package/declarations/components/forms/forms-legacy.d.ts +30 -256
  34. package/declarations/components/forms/forms-legacy.d.ts.map +1 -1
  35. package/declarations/components/forms/forms.d.ts +252 -1420
  36. package/declarations/components/forms/forms.d.ts.map +1 -1
  37. package/declarations/components/icon.d.ts +37 -0
  38. package/declarations/components/icon.d.ts.map +1 -0
  39. package/declarations/components/index.d.ts +2 -0
  40. package/declarations/components/index.d.ts.map +1 -1
  41. package/declarations/components/kbd.d.ts +1 -109
  42. package/declarations/components/kbd.d.ts.map +1 -1
  43. package/declarations/components/listbox.d.ts +12 -165
  44. package/declarations/components/listbox.d.ts.map +1 -1
  45. package/declarations/components/nav-item.d.ts +1 -117
  46. package/declarations/components/nav-item.d.ts.map +1 -1
  47. package/declarations/components/notification-card.d.ts +1 -103
  48. package/declarations/components/notification-card.d.ts.map +1 -1
  49. package/declarations/components/notifications-container.d.ts +1 -49
  50. package/declarations/components/notifications-container.d.ts.map +1 -1
  51. package/declarations/components/overlays.d.ts +29 -213
  52. package/declarations/components/overlays.d.ts.map +1 -1
  53. package/declarations/components/pagination.d.ts +1 -131
  54. package/declarations/components/pagination.d.ts.map +1 -1
  55. package/declarations/components/popover.d.ts +7 -25
  56. package/declarations/components/popover.d.ts.map +1 -1
  57. package/declarations/components/progress-bar.d.ts +5 -133
  58. package/declarations/components/progress-bar.d.ts.map +1 -1
  59. package/declarations/components/segmented-control.d.ts +1 -167
  60. package/declarations/components/segmented-control.d.ts.map +1 -1
  61. package/declarations/components/skeleton.d.ts +11 -51
  62. package/declarations/components/skeleton.d.ts.map +1 -1
  63. package/declarations/components/spinner.d.ts +13 -47
  64. package/declarations/components/spinner.d.ts.map +1 -1
  65. package/declarations/components/stepper.d.ts +1 -233
  66. package/declarations/components/stepper.d.ts.map +1 -1
  67. package/declarations/components/table.d.ts +1 -171
  68. package/declarations/components/table.d.ts.map +1 -1
  69. package/declarations/components/tabs.d.ts +1 -169
  70. package/declarations/components/tabs.d.ts.map +1 -1
  71. package/declarations/components/tooltip.d.ts +1 -91
  72. package/declarations/components/tooltip.d.ts.map +1 -1
  73. package/declarations/tw.d.ts +1 -1
  74. package/declarations/tw.d.ts.map +1 -1
  75. package/dist/colors.js +1 -1
  76. package/dist/index.js +564 -64
  77. package/dist/index.js.map +1 -1
  78. package/dist/{overlays-DD7muPLd.js → overlays-BbogRqG7.js} +2 -2
  79. package/dist/overlays-BbogRqG7.js.map +1 -0
  80. package/dist/plugin.js +3 -3
  81. package/dist/{util-DrX1hjH-.js → util-BfrVzSAL.js} +1 -1
  82. package/dist/{util-DrX1hjH-.js.map → util-BfrVzSAL.js.map} +1 -1
  83. package/package.json +12 -12
  84. package/src/styles/theme.css +14 -9
  85. package/dist/overlays-DD7muPLd.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  declare const badge: import("tailwind-variants").TVReturnType<{
2
2
  variant: {
3
- soft: "";
4
- outline: "";
3
+ soft: string;
4
+ outline: string;
5
5
  };
6
6
  color: {
7
7
  neutral: {
@@ -24,59 +24,11 @@ declare const badge: import("tailwind-variants").TVReturnType<{
24
24
  };
25
25
  };
26
26
  size: {
27
- xs: {
28
- base: string;
29
- dot: string;
30
- icon: string;
31
- };
32
- sm: {
33
- base: string;
34
- dot: string;
35
- icon: string;
36
- };
37
- md: {
27
+ '2xs': {
38
28
  base: string;
39
29
  dot: string;
40
30
  icon: string;
41
31
  };
42
- lg: {
43
- base: string;
44
- dot: string;
45
- icon: string;
46
- };
47
- };
48
- }, {
49
- base: string;
50
- value: string;
51
- unit: string;
52
- dot: string;
53
- icon: string;
54
- }, undefined, {
55
- variant: {
56
- soft: "";
57
- outline: "";
58
- };
59
- color: {
60
- neutral: {
61
- dot: string;
62
- };
63
- primary: {
64
- dot: string;
65
- };
66
- secondary: {
67
- dot: string;
68
- };
69
- tertiary: {
70
- dot: string;
71
- };
72
- success: {
73
- dot: string;
74
- };
75
- danger: {
76
- dot: string;
77
- };
78
- };
79
- size: {
80
32
  xs: {
81
33
  base: string;
82
34
  dot: string;
@@ -97,55 +49,12 @@ declare const badge: import("tailwind-variants").TVReturnType<{
97
49
  dot: string;
98
50
  icon: string;
99
51
  };
100
- };
101
- }, {
102
- base: string;
103
- value: string;
104
- unit: string;
105
- dot: string;
106
- icon: string;
107
- }, import("tailwind-variants").TVReturnTypeLike<{
108
- variant: {
109
- soft: "";
110
- outline: "";
111
- };
112
- color: {
113
- neutral: {
114
- dot: string;
115
- };
116
- primary: {
117
- dot: string;
118
- };
119
- secondary: {
120
- dot: string;
121
- };
122
- tertiary: {
123
- dot: string;
124
- };
125
- success: {
126
- dot: string;
127
- };
128
- danger: {
129
- dot: string;
130
- };
131
- };
132
- size: {
133
- xs: {
134
- base: string;
135
- dot: string;
136
- icon: string;
137
- };
138
- sm: {
52
+ xl: {
139
53
  base: string;
140
54
  dot: string;
141
55
  icon: string;
142
56
  };
143
- md: {
144
- base: string;
145
- dot: string;
146
- icon: string;
147
- };
148
- lg: {
57
+ '2xl': {
149
58
  base: string;
150
59
  dot: string;
151
60
  icon: string;
@@ -157,6 +66,6 @@ declare const badge: import("tailwind-variants").TVReturnType<{
157
66
  unit: string;
158
67
  dot: string;
159
68
  icon: string;
160
- }>>;
69
+ }, undefined, undefined, undefined, undefined>;
161
70
  export { badge };
162
71
  //# sourceMappingURL=badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6JT,CAAC;AAEH,OAAO,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAkLT,CAAC;AAEH,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -6,55 +6,13 @@ import type { VariantProps } from '../tw';
6
6
  * Standalone, the bar is fixed to the bottom of the viewport. There is no
7
7
  * z-index here on purpose; `AppLayout` positions it and layers it.
8
8
  */
9
- declare const bottomNav: import("tailwind-variants").TVReturnType<{
10
- [key: string]: {
11
- [key: string]: import("tailwind-variants").ClassValue | {
12
- bottomNav?: import("tailwind-variants").ClassValue;
13
- bottomNavMoreRegistry?: import("tailwind-variants").ClassValue;
14
- bottomNavMoreSheet?: import("tailwind-variants").ClassValue;
15
- bottomNavMoreNav?: import("tailwind-variants").ClassValue;
16
- bottomNavMoreBody?: import("tailwind-variants").ClassValue;
17
- };
18
- };
19
- } | {
20
- [x: string]: {
21
- [x: string]: import("tailwind-variants").ClassValue | {
22
- bottomNav?: import("tailwind-variants").ClassValue;
23
- bottomNavMoreRegistry?: import("tailwind-variants").ClassValue;
24
- bottomNavMoreSheet?: import("tailwind-variants").ClassValue;
25
- bottomNavMoreNav?: import("tailwind-variants").ClassValue;
26
- bottomNavMoreBody?: import("tailwind-variants").ClassValue;
27
- };
28
- };
29
- } | {}, {
9
+ declare const bottomNav: import("tailwind-variants").TVReturnType<{}, {
30
10
  bottomNav: string[];
31
11
  bottomNavMoreRegistry: string;
32
12
  bottomNavMoreSheet: string;
33
13
  bottomNavMoreBody: string[];
34
14
  bottomNavMoreNav: string;
35
- }, undefined, {
36
- [key: string]: {
37
- [key: string]: import("tailwind-variants").ClassValue | {
38
- bottomNav?: import("tailwind-variants").ClassValue;
39
- bottomNavMoreRegistry?: import("tailwind-variants").ClassValue;
40
- bottomNavMoreSheet?: import("tailwind-variants").ClassValue;
41
- bottomNavMoreNav?: import("tailwind-variants").ClassValue;
42
- bottomNavMoreBody?: import("tailwind-variants").ClassValue;
43
- };
44
- };
45
- } | {}, {
46
- bottomNav: string[];
47
- bottomNavMoreRegistry: string;
48
- bottomNavMoreSheet: string;
49
- bottomNavMoreBody: string[];
50
- bottomNavMoreNav: string;
51
- }, import("tailwind-variants").TVReturnTypeLike<unknown, {
52
- bottomNav: string[];
53
- bottomNavMoreRegistry: string;
54
- bottomNavMoreSheet: string;
55
- bottomNavMoreBody: string[];
56
- bottomNavMoreNav: string;
57
- }>>;
15
+ }, undefined, undefined, undefined, undefined>;
58
16
  export { bottomNav };
59
17
  export type BottomNavSlots = keyof ReturnType<typeof bottomNav>;
60
18
  export type BottomNavVariants = VariantProps<typeof bottomNav>;
@@ -1 +1 @@
1
- {"version":3,"file":"bottom-nav.d.ts","sourceRoot":"","sources":["../../src/components/bottom-nav.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C;;;;;;GAMG;AACH,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyBb,CAAC;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,MAAM,MAAM,cAAc,GAAG,MAAM,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAChE,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"bottom-nav.d.ts","sourceRoot":"","sources":["../../src/components/bottom-nav.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C;;;;;;GAMG;AACH,QAAA,MAAM,SAAS;;;;;;8CAyBb,CAAC;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,MAAM,MAAM,cAAc,GAAG,MAAM,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAChE,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -54,107 +54,7 @@ declare const breadcrumbs: import("tailwind-variants").TVReturnType<{
54
54
  link: string[];
55
55
  separator: string;
56
56
  ellipsis: string;
57
- }, undefined, {
58
- size: {
59
- sm: {
60
- list: string;
61
- item: string;
62
- separator: string;
63
- ellipsis: string;
64
- };
65
- md: {
66
- list: string;
67
- item: string;
68
- separator: string;
69
- ellipsis: string;
70
- };
71
- lg: {
72
- list: string;
73
- item: string;
74
- separator: string;
75
- ellipsis: string;
76
- };
77
- };
78
- color: {
79
- neutral: {
80
- link: string;
81
- };
82
- primary: {
83
- link: string;
84
- };
85
- danger: {
86
- link: string;
87
- };
88
- };
89
- underline: {
90
- always: {
91
- link: string;
92
- };
93
- hover: {
94
- link: string;
95
- };
96
- none: {
97
- link: string;
98
- };
99
- };
100
- }, {
101
- base: string;
102
- list: string;
103
- item: string;
104
- link: string[];
105
- separator: string;
106
- ellipsis: string;
107
- }, import("tailwind-variants").TVReturnTypeLike<{
108
- size: {
109
- sm: {
110
- list: string;
111
- item: string;
112
- separator: string;
113
- ellipsis: string;
114
- };
115
- md: {
116
- list: string;
117
- item: string;
118
- separator: string;
119
- ellipsis: string;
120
- };
121
- lg: {
122
- list: string;
123
- item: string;
124
- separator: string;
125
- ellipsis: string;
126
- };
127
- };
128
- color: {
129
- neutral: {
130
- link: string;
131
- };
132
- primary: {
133
- link: string;
134
- };
135
- danger: {
136
- link: string;
137
- };
138
- };
139
- underline: {
140
- always: {
141
- link: string;
142
- };
143
- hover: {
144
- link: string;
145
- };
146
- none: {
147
- link: string;
148
- };
149
- };
150
- }, {
151
- base: string;
152
- list: string;
153
- item: string;
154
- link: string[];
155
- separator: string;
156
- ellipsis: string;
157
- }>>;
57
+ }, undefined, undefined, undefined, undefined>;
158
58
  export type BreadcrumbsVariants = VariantProps<typeof breadcrumbs>;
159
59
  export type BreadcrumbsSlots = keyof ReturnType<typeof breadcrumbs>;
160
60
  export { breadcrumbs };
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumbs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;;;GAIG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwGf,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEpE,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumbs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;;;GAIG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAwGf,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEpE,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1,215 +1,131 @@
1
1
  declare const button: import("tailwind-variants").TVReturnType<{
2
2
  variant: {
3
- solid: "shadow-elevation-2";
4
- soft: "";
5
- subtle: "";
6
- outline: "";
7
- ghost: "";
8
- plain: "";
9
- custom: "";
3
+ solid: string;
4
+ soft: string;
5
+ subtle: string;
6
+ outline: string;
7
+ ghost: string;
8
+ plain: string;
9
+ custom: string;
10
+ glass: string;
11
+ link: string;
10
12
  };
11
13
  isLoading: {
12
- true: "disabled:cursor-progress";
14
+ true: string;
13
15
  };
14
16
  }, undefined, string[], {
15
17
  variant: {
16
- outline: "";
18
+ outline: string;
17
19
  };
18
20
  color: {
19
- neutral: "";
20
- primary: "focus-visible:ring-primary-soft";
21
- secondary: "focus-visible:ring-secondary-soft";
22
- tertiary: "focus-visible:ring-tertiary-soft";
23
- success: "focus-visible:ring-success-soft";
24
- warning: "focus-visible:ring-warning-soft";
25
- danger: "focus-visible:ring-danger-soft";
21
+ neutral: string;
22
+ primary: string;
23
+ secondary: string;
24
+ tertiary: string;
25
+ success: string;
26
+ warning: string;
27
+ danger: string;
26
28
  };
27
29
  size: {
28
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
29
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
30
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
31
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
32
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
33
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
30
+ xs: string;
31
+ sm: string;
32
+ md: string;
33
+ lg: string;
34
+ xl: string;
35
+ '2xl': string;
34
36
  };
35
37
  isInGroup: {
36
38
  true: string[];
37
39
  };
38
40
  }, undefined, import("tailwind-variants").TVReturnType<{
39
41
  variant: {
40
- outline: "";
42
+ outline: string;
41
43
  };
42
44
  color: {
43
- neutral: "";
44
- primary: "focus-visible:ring-primary-soft";
45
- secondary: "focus-visible:ring-secondary-soft";
46
- tertiary: "focus-visible:ring-tertiary-soft";
47
- success: "focus-visible:ring-success-soft";
48
- warning: "focus-visible:ring-warning-soft";
49
- danger: "focus-visible:ring-danger-soft";
45
+ neutral: string;
46
+ primary: string;
47
+ secondary: string;
48
+ tertiary: string;
49
+ success: string;
50
+ warning: string;
51
+ danger: string;
50
52
  };
51
53
  size: {
52
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
53
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
54
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
55
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
56
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
57
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
54
+ xs: string;
55
+ sm: string;
56
+ md: string;
57
+ lg: string;
58
+ xl: string;
59
+ '2xl': string;
58
60
  };
59
61
  isInGroup: {
60
62
  true: string[];
61
63
  };
62
- }, undefined, string[], {
63
- variant: {
64
- outline: "";
65
- };
66
- color: {
67
- neutral: "";
68
- primary: "focus-visible:ring-primary-soft";
69
- secondary: "focus-visible:ring-secondary-soft";
70
- tertiary: "focus-visible:ring-tertiary-soft";
71
- success: "focus-visible:ring-success-soft";
72
- warning: "focus-visible:ring-warning-soft";
73
- danger: "focus-visible:ring-danger-soft";
74
- };
75
- size: {
76
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
77
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
78
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
79
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
80
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
81
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
82
- };
83
- isInGroup: {
84
- true: string[];
85
- };
86
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
87
- variant: {
88
- outline: "";
89
- };
90
- color: {
91
- neutral: "";
92
- primary: "focus-visible:ring-primary-soft";
93
- secondary: "focus-visible:ring-secondary-soft";
94
- tertiary: "focus-visible:ring-tertiary-soft";
95
- success: "focus-visible:ring-success-soft";
96
- warning: "focus-visible:ring-warning-soft";
97
- danger: "focus-visible:ring-danger-soft";
98
- };
99
- size: {
100
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
101
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
102
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
103
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
104
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
105
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
106
- };
107
- isInGroup: {
108
- true: string[];
109
- };
110
- }, undefined>>>;
64
+ }, undefined, string[], undefined, undefined, undefined>>;
111
65
  declare const toggleButton: import("tailwind-variants").TVReturnType<{
112
66
  isSelected: {
113
- true: "";
67
+ true: string;
114
68
  };
115
69
  }, undefined, string[], {
116
70
  variant: {
117
- outline: "";
71
+ outline: string;
118
72
  };
119
73
  color: {
120
- neutral: "";
121
- primary: "focus-visible:ring-primary-soft";
122
- secondary: "focus-visible:ring-secondary-soft";
123
- tertiary: "focus-visible:ring-tertiary-soft";
124
- success: "focus-visible:ring-success-soft";
125
- warning: "focus-visible:ring-warning-soft";
126
- danger: "focus-visible:ring-danger-soft";
74
+ neutral: string;
75
+ primary: string;
76
+ secondary: string;
77
+ tertiary: string;
78
+ success: string;
79
+ warning: string;
80
+ danger: string;
127
81
  };
128
82
  size: {
129
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
130
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
131
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
132
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
133
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
134
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
83
+ xs: string;
84
+ sm: string;
85
+ md: string;
86
+ lg: string;
87
+ xl: string;
88
+ '2xl': string;
135
89
  };
136
90
  isInGroup: {
137
91
  true: string[];
138
92
  };
139
93
  }, undefined, import("tailwind-variants").TVReturnType<{
140
94
  variant: {
141
- outline: "";
95
+ outline: string;
142
96
  };
143
97
  color: {
144
- neutral: "";
145
- primary: "focus-visible:ring-primary-soft";
146
- secondary: "focus-visible:ring-secondary-soft";
147
- tertiary: "focus-visible:ring-tertiary-soft";
148
- success: "focus-visible:ring-success-soft";
149
- warning: "focus-visible:ring-warning-soft";
150
- danger: "focus-visible:ring-danger-soft";
98
+ neutral: string;
99
+ primary: string;
100
+ secondary: string;
101
+ tertiary: string;
102
+ success: string;
103
+ warning: string;
104
+ danger: string;
151
105
  };
152
106
  size: {
153
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
154
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
155
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
156
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
157
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
158
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
107
+ xs: string;
108
+ sm: string;
109
+ md: string;
110
+ lg: string;
111
+ xl: string;
112
+ '2xl': string;
159
113
  };
160
114
  isInGroup: {
161
115
  true: string[];
162
116
  };
163
- }, undefined, string[], {
164
- variant: {
165
- outline: "";
166
- };
167
- color: {
168
- neutral: "";
169
- primary: "focus-visible:ring-primary-soft";
170
- secondary: "focus-visible:ring-secondary-soft";
171
- tertiary: "focus-visible:ring-tertiary-soft";
172
- success: "focus-visible:ring-success-soft";
173
- warning: "focus-visible:ring-warning-soft";
174
- danger: "focus-visible:ring-danger-soft";
175
- };
176
- size: {
177
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
178
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
179
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
180
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
181
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
182
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
183
- };
184
- isInGroup: {
185
- true: string[];
186
- };
187
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
188
- variant: {
189
- outline: "";
190
- };
191
- color: {
192
- neutral: "";
193
- primary: "focus-visible:ring-primary-soft";
194
- secondary: "focus-visible:ring-secondary-soft";
195
- tertiary: "focus-visible:ring-tertiary-soft";
196
- success: "focus-visible:ring-success-soft";
197
- warning: "focus-visible:ring-warning-soft";
198
- danger: "focus-visible:ring-danger-soft";
199
- };
117
+ }, undefined, string[], undefined, undefined, undefined>>;
118
+ declare const buttonGroup: import("tailwind-variants").TVReturnType<{}, undefined, string[], undefined, undefined, undefined>;
119
+ declare const buttonSpinner: import("tailwind-variants").TVReturnType<{}, undefined, "size-[1em] text-current/25 fill-current", undefined, undefined, undefined>;
120
+ declare const iconButton: import("tailwind-variants").TVReturnType<{
200
121
  size: {
201
- xs: "text-strong-sm px-4 py-1 gap-1 rounded-full";
202
- sm: "text-strong-md px-5 py-1.5 gap-1 rounded-full";
203
- md: "text-strong-lg px-6 py-2 gap-1.5 rounded-full";
204
- lg: "text-strong-xl px-8 py-2.5 gap-1.5 rounded-full";
205
- xl: "text-strong-2xl px-10 py-3 gap-2 rounded-full";
206
- '2xl': "text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full";
207
- };
208
- isInGroup: {
209
- true: string[];
210
- };
211
- }, undefined>>>;
212
- declare const buttonGroup: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
213
- declare const buttonSpinner: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "size-[1em] text-current/25 fill-current", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
214
- export { button, toggleButton, buttonGroup, buttonSpinner };
122
+ xs: string;
123
+ sm: string;
124
+ md: string;
125
+ lg: string;
126
+ xl: string;
127
+ '2xl': string;
128
+ };
129
+ }, undefined, "px-0", undefined, undefined, undefined>;
130
+ export { button, toggleButton, buttonGroup, buttonSpinner, iconButton };
215
131
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.ts"],"names":[],"mappings":"AA6FA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAmRV,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAmEhB,CAAC;AAEH,QAAA,MAAM,WAAW,mKAEf,CAAC;AAMH,QAAA,MAAM,aAAa,oMAEjB,CAAC;AAEH,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.ts"],"names":[],"mappings":"AAwGA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDA6UV,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAmEhB,CAAC;AAEH,QAAA,MAAM,WAAW,oGAEf,CAAC;AAMH,QAAA,MAAM,aAAa,qIAEjB,CAAC;AAWH,QAAA,MAAM,UAAU;;;;;;;;;sDAed,CAAC;AAEH,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC"}