@yakavkaz/uikit 0.0.25 → 0.0.28
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/components/button/Button.d.ts +7 -1
- package/dist/components/button/Button.d.ts.map +1 -1
- package/dist/components/header/parts/headerProfile.d.ts +2 -1
- package/dist/components/header/parts/headerProfile.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export type Button = {
|
|
3
|
+
asChild?: boolean;
|
|
4
|
+
variant?: 'primary' | 'outline' | 'outlineBlackText';
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
} & ComponentPropsWithoutRef<'button'>;
|
|
1
7
|
export declare const Button: import('react').ForwardRefExoticComponent<{
|
|
2
8
|
asChild?: boolean;
|
|
3
9
|
variant?: "primary" | "outline" | "outlineBlackText";
|
|
4
|
-
|
|
10
|
+
size?: "sm" | "md" | "lg";
|
|
5
11
|
} & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
6
12
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAiC,MAAM,OAAO,CAAA;AAEpF,MAAM,MAAM,MAAM,GAAG;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,kBAAkB,CAAA;IACpD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1B,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAA;AAEtC,eAAO,MAAM,MAAM;cALP,OAAO;cACP,SAAS,GAAG,SAAS,GAAG,kBAAkB;WAC7C,IAAI,GAAG,IAAI,GAAG,IAAI;kLAoD1B,CAAA"}
|
|
@@ -7,8 +7,9 @@ type LoginButtonProps = {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
variant?: ComponentPropsWithoutRef<typeof Button>['variant'];
|
|
9
9
|
className?: string;
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
11
|
};
|
|
11
|
-
export declare function LoginButton({ onClick, label, variant, className, }: LoginButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function LoginButton({ onClick, label, variant, className, size, }: LoginButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
type UserDropdownProps = {
|
|
13
14
|
userName?: string;
|
|
14
15
|
userAvatarUrl?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/header/parts/headerProfile.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAI9C,eAAO,MAAM,aAAa,2MASxB,CAAA;AAEF,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,wBAAwB,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"headerProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/header/parts/headerProfile.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAI9C,eAAO,MAAM,aAAa,2MASxB,CAAA;AAEF,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,wBAAwB,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1B,CAAA;AAED,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAe,EACf,OAA4B,EAC5B,SAAS,EACT,IAAW,GACZ,EAAE,gBAAgB,2CAMlB;AAED,KAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,aAAa,CAAC,EAAE,WAAW,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAA;CAC3D,CAAA;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,aAAa,EACb,aAAa,EACb,aAAa,GACd,EAAE,iBAAiB,2CA0DnB"}
|