@shoplflow/base 0.12.0 → 0.12.2
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/{index.d.cts → index.d.mts} +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +284 -254
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1702 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +6 -4
- package/dist/index.cjs +0 -2361
- package/dist/index.cjs.map +0 -1
- /package/dist/styles/{global.d.cts → global.d.mts} +0 -0
- /package/dist/styles/{reset.d.cts → reset.d.mts} +0 -0
|
@@ -153,7 +153,7 @@ declare type TypographyTokens = keyof typeof typographyTokens;
|
|
|
153
153
|
/**
|
|
154
154
|
* HTML 태그에 대한 타입
|
|
155
155
|
*/
|
|
156
|
-
declare type StringElementType = ElementType
|
|
156
|
+
declare type StringElementType = ElementType;
|
|
157
157
|
declare type HTMLPropsWithoutRef<T extends StringElementType> = ComponentPropsWithoutRef<T>;
|
|
158
158
|
interface DisableProps {
|
|
159
159
|
/**
|
|
@@ -490,13 +490,13 @@ declare type ButtonComponent = <T extends ElementType = 'button'>(props: ButtonP
|
|
|
490
490
|
declare const Button: ButtonComponent;
|
|
491
491
|
|
|
492
492
|
declare const iconButtonSizeVar: {
|
|
493
|
-
S:
|
|
494
|
-
M:
|
|
493
|
+
readonly S: "S";
|
|
494
|
+
readonly M: "M";
|
|
495
495
|
};
|
|
496
496
|
declare type IconButtonSizeVar = $Values<typeof iconButtonSizeVar>;
|
|
497
497
|
declare const iconButtonStyleVar: {
|
|
498
|
-
SOLID:
|
|
499
|
-
GHOST:
|
|
498
|
+
readonly SOLID: "SOLID";
|
|
499
|
+
readonly GHOST: "GHOST";
|
|
500
500
|
};
|
|
501
501
|
declare type IconButtonStyleVar = $Values<typeof iconButtonStyleVar>;
|
|
502
502
|
declare type IconButtonOptionProps<T extends ElementType = 'button'> = Omit<ComponentPropsWithoutRef<T>, 'color' | 'disabled'> & DisableProps & SizeVariantProps<IconButtonSizeVar> & StyleVariantProps<IconButtonStyleVar> & IconSourceProps;
|
package/dist/index.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ declare type TypographyTokens = keyof typeof typographyTokens;
|
|
|
153
153
|
/**
|
|
154
154
|
* HTML 태그에 대한 타입
|
|
155
155
|
*/
|
|
156
|
-
declare type StringElementType = ElementType
|
|
156
|
+
declare type StringElementType = ElementType;
|
|
157
157
|
declare type HTMLPropsWithoutRef<T extends StringElementType> = ComponentPropsWithoutRef<T>;
|
|
158
158
|
interface DisableProps {
|
|
159
159
|
/**
|
|
@@ -490,13 +490,13 @@ declare type ButtonComponent = <T extends ElementType = 'button'>(props: ButtonP
|
|
|
490
490
|
declare const Button: ButtonComponent;
|
|
491
491
|
|
|
492
492
|
declare const iconButtonSizeVar: {
|
|
493
|
-
S:
|
|
494
|
-
M:
|
|
493
|
+
readonly S: "S";
|
|
494
|
+
readonly M: "M";
|
|
495
495
|
};
|
|
496
496
|
declare type IconButtonSizeVar = $Values<typeof iconButtonSizeVar>;
|
|
497
497
|
declare const iconButtonStyleVar: {
|
|
498
|
-
SOLID:
|
|
499
|
-
GHOST:
|
|
498
|
+
readonly SOLID: "SOLID";
|
|
499
|
+
readonly GHOST: "GHOST";
|
|
500
500
|
};
|
|
501
501
|
declare type IconButtonStyleVar = $Values<typeof iconButtonStyleVar>;
|
|
502
502
|
declare type IconButtonOptionProps<T extends ElementType = 'button'> = Omit<ComponentPropsWithoutRef<T>, 'color' | 'disabled'> & DisableProps & SizeVariantProps<IconButtonSizeVar> & StyleVariantProps<IconButtonStyleVar> & IconSourceProps;
|