@nayhoo/ui 0.20.2 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{button.css-BQdFVzyM.d.mts → button.css-CBtNCrkL.d.mts} +42 -1
- package/dist/{button.css-BQdFVzyM.d.ts → button.css-CBtNCrkL.d.ts} +42 -1
- package/dist/{chunk-MJK5V5VM.mjs → chunk-4JJB6DUF.mjs} +10 -2
- package/dist/chunk-4JJB6DUF.mjs.map +1 -0
- package/dist/{chunk-SG7GE2WP.mjs → chunk-OWCOYR6H.mjs} +19 -5
- package/dist/chunk-OWCOYR6H.mjs.map +1 -0
- package/dist/components/button.css +60 -1
- package/dist/components/button.css.map +1 -1
- package/dist/components/button.d.mts +6 -3
- package/dist/components/button.d.ts +6 -3
- package/dist/components/button.js +20 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/button.mjs +2 -2
- package/dist/components/dialog.css +60 -1
- package/dist/components/dialog.css.map +1 -1
- package/dist/components/dialog.js +5 -0
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dialog.mjs +1 -1
- package/dist/components/select.css +60 -1
- package/dist/components/select.css.map +1 -1
- package/dist/components/select.d.mts +1 -1
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +20 -2
- package/dist/components/select.js.map +1 -1
- package/dist/components/select.mjs +2 -2
- package/dist/patterns/index.css +60 -1
- package/dist/patterns/index.css.map +1 -1
- package/dist/patterns/index.js +5 -0
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/index.mjs +1 -1
- package/dist/providers/index.css +60 -1
- package/dist/providers/index.css.map +1 -1
- package/dist/providers/index.js +20 -2
- package/dist/providers/index.js.map +1 -1
- package/dist/providers/index.mjs +2 -2
- package/dist/theme/index.css +60 -1
- package/dist/theme/index.css.map +1 -1
- package/dist/theme/index.d.mts +8 -8
- package/dist/theme/index.d.ts +8 -8
- package/dist/theme/index.js +10 -0
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +6 -2
- package/package.json +1 -1
- package/dist/chunk-MJK5V5VM.mjs.map +0 -1
- package/dist/chunk-SG7GE2WP.mjs.map +0 -1
package/dist/theme/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { a as AvatarFallbackVariants, A as AvatarVariants, b as avatarFallbackRecipe, c as avatarRecipe } from '../avatar.css-m44RZpGY.mjs';
|
|
2
2
|
export { B as BadgeVariants, b as badgeRecipe } from '../badge.css-BiiAU3Jo.mjs';
|
|
3
|
-
export { B as ButtonVariants, b as buttonRecipe } from '../button.css-
|
|
3
|
+
export { B as ButtonVariants, b as buttonIconRecipe, a as buttonRecipe, c as buttonSpinner } from '../button.css-CBtNCrkL.mjs';
|
|
4
4
|
export { C as CheckboxVariants, c as checkboxRecipe } from '../checkbox.css-CJD0qdcJ.mjs';
|
|
5
5
|
export { C as ContainerVariants, c as containerRecipe } from '../container.css-DrtNVXzo.mjs';
|
|
6
6
|
export { D as DialogContentVariants, a as DialogOverlayVariants, d as dialogContentRecipe, b as dialogOverlayRecipe } from '../dialog.css-C7oMaNav.mjs';
|
|
@@ -26,13 +26,13 @@ declare const pulse: string;
|
|
|
26
26
|
declare const spin: string;
|
|
27
27
|
|
|
28
28
|
declare const sprinkles: ((props: {
|
|
29
|
-
display?: "
|
|
30
|
-
initial?: "
|
|
31
|
-
xs?: "
|
|
32
|
-
sm?: "
|
|
33
|
-
md?: "
|
|
34
|
-
lg?: "
|
|
35
|
-
xl?: "
|
|
29
|
+
display?: "initial" | "none" | "flex" | "block" | {
|
|
30
|
+
initial?: "initial" | "none" | "flex" | "block" | undefined;
|
|
31
|
+
xs?: "initial" | "none" | "flex" | "block" | undefined;
|
|
32
|
+
sm?: "initial" | "none" | "flex" | "block" | undefined;
|
|
33
|
+
md?: "initial" | "none" | "flex" | "block" | undefined;
|
|
34
|
+
lg?: "initial" | "none" | "flex" | "block" | undefined;
|
|
35
|
+
xl?: "initial" | "none" | "flex" | "block" | undefined;
|
|
36
36
|
} | undefined;
|
|
37
37
|
marginTop?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {
|
|
38
38
|
initial?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | undefined;
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { a as AvatarFallbackVariants, A as AvatarVariants, b as avatarFallbackRecipe, c as avatarRecipe } from '../avatar.css-m44RZpGY.js';
|
|
2
2
|
export { B as BadgeVariants, b as badgeRecipe } from '../badge.css-BiiAU3Jo.js';
|
|
3
|
-
export { B as ButtonVariants, b as buttonRecipe } from '../button.css-
|
|
3
|
+
export { B as ButtonVariants, b as buttonIconRecipe, a as buttonRecipe, c as buttonSpinner } from '../button.css-CBtNCrkL.js';
|
|
4
4
|
export { C as CheckboxVariants, c as checkboxRecipe } from '../checkbox.css-CJD0qdcJ.js';
|
|
5
5
|
export { C as ContainerVariants, c as containerRecipe } from '../container.css-DrtNVXzo.js';
|
|
6
6
|
export { D as DialogContentVariants, a as DialogOverlayVariants, d as dialogContentRecipe, b as dialogOverlayRecipe } from '../dialog.css-C7oMaNav.js';
|
|
@@ -26,13 +26,13 @@ declare const pulse: string;
|
|
|
26
26
|
declare const spin: string;
|
|
27
27
|
|
|
28
28
|
declare const sprinkles: ((props: {
|
|
29
|
-
display?: "
|
|
30
|
-
initial?: "
|
|
31
|
-
xs?: "
|
|
32
|
-
sm?: "
|
|
33
|
-
md?: "
|
|
34
|
-
lg?: "
|
|
35
|
-
xl?: "
|
|
29
|
+
display?: "initial" | "none" | "flex" | "block" | {
|
|
30
|
+
initial?: "initial" | "none" | "flex" | "block" | undefined;
|
|
31
|
+
xs?: "initial" | "none" | "flex" | "block" | undefined;
|
|
32
|
+
sm?: "initial" | "none" | "flex" | "block" | undefined;
|
|
33
|
+
md?: "initial" | "none" | "flex" | "block" | undefined;
|
|
34
|
+
lg?: "initial" | "none" | "flex" | "block" | undefined;
|
|
35
|
+
xl?: "initial" | "none" | "flex" | "block" | undefined;
|
|
36
36
|
} | undefined;
|
|
37
37
|
marginTop?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {
|
|
38
38
|
initial?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | undefined;
|
package/dist/theme/index.js
CHANGED
|
@@ -31,7 +31,9 @@ __export(theme_exports, {
|
|
|
31
31
|
avatarRecipe: () => avatarRecipe,
|
|
32
32
|
badgeRecipe: () => badgeRecipe,
|
|
33
33
|
box: () => box,
|
|
34
|
+
buttonIconRecipe: () => buttonIconRecipe,
|
|
34
35
|
buttonRecipe: () => buttonRecipe,
|
|
36
|
+
buttonSpinner: () => buttonSpinner,
|
|
35
37
|
card: () => card,
|
|
36
38
|
checkboxIndicator: () => checkboxIndicator,
|
|
37
39
|
checkboxRecipe: () => checkboxRecipe,
|
|
@@ -114,11 +116,17 @@ var badgeRecipe = (0, import_createRuntimeFn2.createRuntimeFn)((function() {
|
|
|
114
116
|
|
|
115
117
|
// src/theme/recipes/button.css.ts
|
|
116
118
|
var import_createRuntimeFn3 = require("homemade-recipes/createRuntimeFn");
|
|
119
|
+
var buttonIconRecipe = (0, import_createRuntimeFn3.createRuntimeFn)((function() {
|
|
120
|
+
var x = { defaultClassName: "button__hi3ya0r", variantClassNames: { size: { "1": "button_size_1__hi3ya0s", "2": "button_size_2__hi3ya0t", "3": "button_size_3__hi3ya0u" } }, defaultVariants: {}, compoundVariants: [], responsiveVariantClassNames: { initial: void 0 }, conditionNames: [], conditions: { xs: "520px", sm: "768px", md: "1024px", lg: "1280px", xl: "1640px" }, identifier: "homemade-recipe__lb053z0", cssCache: [] };
|
|
121
|
+
x.responsiveVariantClassNames.initial = x.variantClassNames;
|
|
122
|
+
return x;
|
|
123
|
+
})());
|
|
117
124
|
var buttonRecipe = (0, import_createRuntimeFn3.createRuntimeFn)((function() {
|
|
118
125
|
var x = { defaultClassName: "button__hi3ya00", variantClassNames: { fullWidth: { true: "button_fullWidth_true__hi3ya01", false: "button_fullWidth_false__hi3ya02" }, loading: { true: "button_loading_true__hi3ya03" }, size: { "1": "button_size_1__hi3ya04", "2": "button_size_2__hi3ya05", "3": "button_size_3__hi3ya06" }, variant: { primary: "button_variant_primary__hi3ya07", secondary: "button_variant_secondary__hi3ya08", outline: "button_variant_outline__hi3ya09", ghost: "button_variant_ghost__hi3ya0a", error: "button_variant_error__hi3ya0b", success: "button_variant_success__hi3ya0c" }, round: { true: "button_round_true__hi3ya0d" } }, defaultVariants: { size: "2", variant: "primary" }, compoundVariants: [], responsiveVariantClassNames: { initial: void 0, sm: { fullWidth: { true: "button_fullWidth_sm_true__hi3ya0e", false: "button_fullWidth_sm_false__hi3ya0f" }, loading: { true: "button_loading_sm_true__hi3ya0g" }, size: { "1": "button_size_sm_1__hi3ya0h", "2": "button_size_sm_2__hi3ya0i", "3": "button_size_sm_3__hi3ya0j" }, variant: { primary: "button_variant_sm_primary__hi3ya0k", secondary: "button_variant_sm_secondary__hi3ya0l", outline: "button_variant_sm_outline__hi3ya0m", ghost: "button_variant_sm_ghost__hi3ya0n", error: "button_variant_sm_error__hi3ya0o", success: "button_variant_sm_success__hi3ya0p" }, round: { true: "button_round_sm_true__hi3ya0q" } } }, conditionNames: ["sm"], conditions: { xs: "520px", sm: "768px", md: "1024px", lg: "1280px", xl: "1640px" }, identifier: "homemade-recipe__lb053z0", cssCache: [] };
|
|
119
126
|
x.responsiveVariantClassNames.initial = x.variantClassNames;
|
|
120
127
|
return x;
|
|
121
128
|
})());
|
|
129
|
+
var buttonSpinner = "button_buttonSpinner__hi3ya0v";
|
|
122
130
|
|
|
123
131
|
// src/theme/recipes/checkbox.css.ts
|
|
124
132
|
var import_createRuntimeFn4 = require("homemade-recipes/createRuntimeFn");
|
|
@@ -528,7 +536,9 @@ var lightTheme = "light-theme__6in2mz0";
|
|
|
528
536
|
avatarRecipe,
|
|
529
537
|
badgeRecipe,
|
|
530
538
|
box,
|
|
539
|
+
buttonIconRecipe,
|
|
531
540
|
buttonRecipe,
|
|
541
|
+
buttonSpinner,
|
|
532
542
|
card,
|
|
533
543
|
checkboxIndicator,
|
|
534
544
|
checkboxRecipe,
|