@rinzai/zen 0.0.10 → 0.0.11

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 (61) hide show
  1. package/dist/badge/index.d.ts +19 -0
  2. package/dist/badge/index.d.ts.map +1 -0
  3. package/dist/badge/index.stories.d.ts +4 -0
  4. package/dist/badge/index.stories.d.ts.map +1 -0
  5. package/dist/button/index.d.ts +5 -6
  6. package/dist/button/index.d.ts.map +1 -1
  7. package/dist/button/{Button.stories.d.ts → index.stories.d.ts} +1 -1
  8. package/dist/button/index.stories.d.ts.map +1 -0
  9. package/dist/collapse/index.d.ts +16 -0
  10. package/dist/collapse/index.d.ts.map +1 -0
  11. package/dist/collapse/index.stories.d.ts +4 -0
  12. package/dist/collapse/index.stories.d.ts.map +1 -0
  13. package/dist/component/index.d.ts +6 -9
  14. package/dist/component/index.d.ts.map +1 -1
  15. package/dist/component/index.stories.d.ts +25 -0
  16. package/dist/component/index.stories.d.ts.map +1 -0
  17. package/dist/container/index.d.ts +3 -2
  18. package/dist/container/index.d.ts.map +1 -1
  19. package/dist/{component/Component.stories.d.ts → container/index.stories.d.ts} +3 -3
  20. package/dist/container/index.stories.d.ts.map +1 -0
  21. package/dist/dropdown/index.d.ts +20 -0
  22. package/dist/dropdown/index.d.ts.map +1 -0
  23. package/dist/dropdown/index.stories.d.ts +7 -0
  24. package/dist/dropdown/index.stories.d.ts.map +1 -0
  25. package/dist/icons/chevron-down.d.ts +3 -0
  26. package/dist/icons/chevron-down.d.ts.map +1 -0
  27. package/dist/icons/chevron-up.d.ts +3 -0
  28. package/dist/icons/chevron-up.d.ts.map +1 -0
  29. package/dist/icons/icon.types.d.ts +4 -0
  30. package/dist/icons/icon.types.d.ts.map +1 -0
  31. package/dist/icons/index.d.ts +4 -0
  32. package/dist/icons/index.d.ts.map +1 -0
  33. package/dist/icons/search.d.ts +3 -0
  34. package/dist/icons/search.d.ts.map +1 -0
  35. package/dist/icons/x-mark.d.ts +3 -0
  36. package/dist/icons/x-mark.d.ts.map +1 -0
  37. package/dist/index.d.ts +6 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/input/index.d.ts +5 -0
  40. package/dist/input/index.d.ts.map +1 -0
  41. package/dist/input/index.stories.d.ts +4 -0
  42. package/dist/input/index.stories.d.ts.map +1 -0
  43. package/dist/popover/index.d.ts +20 -0
  44. package/dist/popover/index.d.ts.map +1 -0
  45. package/dist/toggle/index.d.ts +2 -2
  46. package/dist/toggle/index.d.ts.map +1 -1
  47. package/dist/toggle/{Toggle.Stories.d.ts → index.stories.d.ts} +1 -1
  48. package/dist/toggle/index.stories.d.ts.map +1 -0
  49. package/dist/utils/cva.d.ts +2 -2
  50. package/dist/utils/cva.d.ts.map +1 -1
  51. package/dist/utils/cx.d.ts.map +1 -1
  52. package/dist/zen.js +3696 -0
  53. package/package.json +80 -79
  54. package/dist/button/Button.stories.d.ts.map +0 -1
  55. package/dist/component/Component.stories.d.ts.map +0 -1
  56. package/dist/container/Container.stories.d.ts +0 -21
  57. package/dist/container/Container.stories.d.ts.map +0 -1
  58. package/dist/style.css +0 -1
  59. package/dist/toggle/Toggle.Stories.d.ts.map +0 -1
  60. package/dist/zen.es.js +0 -743
  61. package/dist/zen.umd.js +0 -27
@@ -0,0 +1,19 @@
1
+ import { ComponentProps } from '../component';
2
+ import { VariantProps } from '../utils/cva';
3
+ export default function Badge(props: BadgeProps): import("react/jsx-runtime").JSX.Element;
4
+ declare const badgeVariants: (props?: ({
5
+ variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
6
+ } & ({
7
+ class: import("../utils/cx").ClassValue;
8
+ className?: undefined;
9
+ } | {
10
+ class?: undefined;
11
+ className: import("../utils/cx").ClassValue;
12
+ } | {
13
+ class?: undefined;
14
+ className?: undefined;
15
+ })) | undefined) => string;
16
+ export interface BadgeProps extends Omit<ComponentProps<'div'>, 'tag'>, VariantProps<typeof badgeVariants> {
17
+ }
18
+ export {};
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAO,MAAM,gBAAgB,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,UAAU,2CAG9C;AACD,QAAA,MAAM,aAAa;;;;;;;;;;;0BAelB,CAAC;AACF,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG"}
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").BadgeProps>;
2
+ export default _default;
3
+ export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").BadgeProps>;
4
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/badge/index.stories.tsx"],"names":[],"mappings":";AAKA,wBAIwB;AAKxB,eAAO,MAAM,OAAO,6HAAoB,CAAC"}
@@ -1,10 +1,9 @@
1
- import { BaseProps } from '../component';
1
+ import { ComponentProps } from '../component';
2
2
  import { VariantProps } from '../utils/cva';
3
3
  declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
4
- declare const ButtonStyles: (props?: ({
5
- variant?: "link" | "muted" | "primary" | "secondary" | "destructive" | null | undefined;
6
- size?: "small" | "medium" | "large" | null | undefined;
7
- rounded?: "none" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
4
+ declare const buttonVariants: (props?: ({
5
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "icon" | null | undefined;
6
+ size?: "default" | "icon" | "sm" | "lg" | null | undefined;
8
7
  } & ({
9
8
  class: import("../utils/cx").ClassValue;
10
9
  className?: undefined;
@@ -15,7 +14,7 @@ declare const ButtonStyles: (props?: ({
15
14
  class?: undefined;
16
15
  className?: undefined;
17
16
  })) | undefined) => string;
18
- export interface ButtonProps extends BaseProps<'button'>, VariantProps<typeof ButtonStyles> {
17
+ export interface ButtonProps extends ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
19
18
  }
20
19
  export default Button;
21
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/button/index.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAM,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAEjD,QAAA,MAAM,MAAM,UAAW,WAAW,4CAOjC,CAAA;AACD,QAAA,MAAM,YAAY;;;;;;;;;;;;;0BA4BhB,CAAA;AAEF,MAAM,WAAW,WAAY,SAAQ,SAAS,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;CAC1F;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/button/index.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAO,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,QAAA,MAAM,MAAM,UAAW,WAAW,4CAOjC,CAAC;AACF,QAAA,MAAM,cAAc;;;;;;;;;;;;0BAyBnB,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;CAAG;AAErG,eAAe,MAAM,CAAC"}
@@ -1,4 +1,4 @@
1
1
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").ButtonProps>;
2
2
  export default _default;
3
3
  export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").ButtonProps>;
4
- //# sourceMappingURL=Button.stories.d.ts.map
4
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/button/index.stories.tsx"],"names":[],"mappings":";AAGA,wBAGyB;AAGzB,eAAO,MAAM,OAAO,8HAAoB,CAAC"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { BadgeProps } from '../badge';
3
+ declare const Collapse: <TData>(props: CollapseProps<TData>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Collapse;
5
+ export interface CollapseProps<TData> {
6
+ items: string[];
7
+ data?: TData[];
8
+ children: (item: string, index: number, itemData?: TData) => React.ReactNode;
9
+ moreItemsLabel?: string;
10
+ parentRef?: React.RefObject<HTMLElement>;
11
+ estimator?: (item: string, textWidth: number) => number;
12
+ font?: string;
13
+ badgeVariant?: BadgeProps['variant'];
14
+ badgeStyles?: string;
15
+ }
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/collapse/index.tsx"],"names":[],"mappings":";AAGA,OAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI/C,QAAA,MAAM,QAAQ,iFA+Fb,CAAC;AAEF,eAAe,QAAQ,CAAC;AACxB,MAAM,WAAW,aAAa,CAAC,KAAK;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,KAAK,KAAK,KAAK,CAAC,SAAS,CAAC;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").CollapseProps<unknown>>;
2
+ export default _default;
3
+ export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").CollapseProps<unknown>>;
4
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/collapse/index.stories.tsx"],"names":[],"mappings":";AAOA,wBAI2B;AAkB3B,eAAO,MAAM,OAAO,yIAAoB,CAAC"}
@@ -1,16 +1,13 @@
1
1
  /// <reference types="react" />
2
- declare const Component: import("react").ForwardRefExoticComponent<Omit<BaseProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>>;
2
+ declare const Component: BaseType;
3
3
  export default Component;
4
4
  type TagProp<Tag extends React.ElementType> = {
5
5
  tag?: Tag;
6
+ asChild?: boolean;
6
7
  };
7
- type PropsToOmit<Tag extends React.ElementType, P> = keyof (TagProp<Tag> & P);
8
- type PolyMorphicProps<Tag extends React.ElementType, Props = object> = React.PropsWithChildren<Props & TagProp<Tag>> & Omit<React.ComponentPropsWithoutRef<Tag>, PropsToOmit<Tag, Props>>;
9
- type BasePropWithRef<Tag extends React.ElementType, Props = object> = PolyMorphicProps<Tag, Props> & {
10
- ref?: BaseRef<Tag>;
11
- };
12
- export type BaseRef<Tag extends React.ElementType> = React.ComponentPropsWithRef<Tag>['ref'];
13
- export type BaseProps<Tag extends React.ElementType> = BasePropWithRef<Tag, {
8
+ export type ComponentProps<Tag extends React.ElementType> = React.PropsWithChildren<TagProp<Tag>> & Omit<React.ComponentPropsWithRef<Tag>, keyof TagProp<Tag>> & {
14
9
  visible?: boolean;
15
- }>;
10
+ };
11
+ export type ComponentRef<Tag extends React.ElementType> = React.ComponentPropsWithRef<Tag>['ref'];
12
+ export type BaseType = <Tag extends React.ElementType = 'div'>(props: ComponentProps<Tag>, ref: ComponentRef<Tag>) => React.ReactNode;
16
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/component/index.tsx"],"names":[],"mappings":";AAEA,QAAA,MAAM,SAAS,2LAed,CAAA;AACD,eAAe,SAAS,CAAA;AAExB,KAAK,OAAO,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI;IAC1C,GAAG,CAAC,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,KAAK,WAAW,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;AAE7E,KAAK,gBAAgB,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,GAChH,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAA;AAEtE,KAAK,eAAe,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG,MAAM,IAAI,gBAAgB,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG;IACjG,GAAG,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,OAAO,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA;AAE5F,MAAM,MAAM,SAAS,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI,eAAe,CAAC,GAAG,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/component/index.tsx"],"names":[],"mappings":";AAEA,QAAA,MAAM,SAAS,EAAE,QAuBhB,CAAC;AACF,eAAe,SAAS,CAAC;AAEzB,KAAK,OAAO,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI;IAC1C,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAC7F,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AACN,MAAM,MAAM,YAAY,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;AAClG,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EACzD,KAAK,EAAE,cAAc,CAAC,GAAG,CAAC,EAC1B,GAAG,EAAE,YAAY,CAAC,GAAG,CAAC,KACrB,KAAK,CAAC,SAAS,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, {
3
+ tag?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
4
+ asChild?: boolean | undefined;
5
+ } & {
6
+ children?: React.ReactNode;
7
+ } & Omit<any, keyof {
8
+ tag?: Tag | undefined;
9
+ asChild?: boolean | undefined;
10
+ }> & {
11
+ visible?: boolean | undefined;
12
+ }>;
13
+ export default _default;
14
+ export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
15
+ tag?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
16
+ asChild?: boolean | undefined;
17
+ } & {
18
+ children?: React.ReactNode;
19
+ } & Omit<any, keyof {
20
+ tag?: Tag | undefined;
21
+ asChild?: boolean | undefined;
22
+ }> & {
23
+ visible?: boolean | undefined;
24
+ }>;
25
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/component/index.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;AAI1B,wBAI4B;AAK5B,eAAO,MAAM,OAAO;;;;;;;;;;EAAoB,CAAC"}
@@ -1,4 +1,5 @@
1
- import { BaseProps } from '../component';
2
- declare const Container: (props: BaseProps<'div'>) => import("react/jsx-runtime").JSX.Element;
1
+ import { ComponentProps } from '../component';
2
+ import React from 'react';
3
+ declare const Container: React.ForwardRefExoticComponent<Omit<ComponentProps<"div">, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
4
  export default Container;
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/container/index.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAGnD,QAAA,MAAM,SAAS,UAAW,UAAU,KAAK,CAAC,4CAIzC,CAAA;AACD,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/container/index.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,QAAA,MAAM,SAAS,2GAEb,CAAC;AACH,eAAe,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("./index").BaseProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("../component").ComponentProps<"div">, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
3
  export default _default;
4
- export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("./index").BaseProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>>;
5
- //# sourceMappingURL=Component.stories.d.ts.map
4
+ export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("../component").ComponentProps<"div">, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/container/index.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;;AAI1B,wBAI4B;AAK5B,eAAO,MAAM,OAAO,gMAAoB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { ComponentProps } from '../component';
2
+ export default function Dropdown(props: (MultiSelectProps | SingleSelectProps) & DropdownProps & Omit<ComponentProps<'input'>, 'onChange'>): import("react/jsx-runtime").JSX.Element;
3
+ export interface SingleSelectProps {
4
+ selected: DropdownItem;
5
+ onChange: (key: DropdownItem) => void;
6
+ multiple?: false;
7
+ }
8
+ export interface MultiSelectProps {
9
+ selected: DropdownItem[];
10
+ onChange: (items: DropdownItem[]) => void;
11
+ multiple: true;
12
+ }
13
+ export interface DropdownProps {
14
+ items: DropdownItem[];
15
+ }
16
+ export type DropdownItem = {
17
+ text: string;
18
+ key: string;
19
+ };
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/dropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAU3D,MAAM,CAAC,OAAO,UAAU,QAAQ,CAC5B,KAAK,EAAE,CAAC,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,2CA0F5G;AACD,MAAM,WAAW,iBAAiB;IAC9B,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,CAAC,GAAG,EAAE,YAAY,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB;AACD,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,IAAI,CAAC;CAClB;AACD,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AACD,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { StoryFn } from '@storybook/react';
2
+ import Dropdown from './index';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, (import("./index").MultiSelectProps | import("./index").SingleSelectProps) & import("./index").DropdownProps & Omit<import("../component").ComponentProps<"input">, "onChange">>;
4
+ export default _default;
5
+ export declare const SingleSelect: StoryFn<typeof Dropdown>;
6
+ export declare const MultiSelect: StoryFn<typeof Dropdown>;
7
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/dropdown/index.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,QAAQ,MAAM,SAAS,CAAC;;AAE/B,wBAG2B;AAE3B,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,OAAO,QAAQ,CAKjD,CAAC;AAQF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,OAAO,QAAQ,CAKhD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import IconProps from './icon.types';
2
+ export default function ChevronDown(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=chevron-down.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-down.d.ts","sourceRoot":"","sources":["../../packages/icons/chevron-down.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,SAAS,2CAcnD"}
@@ -0,0 +1,3 @@
1
+ import IconProps from './icon.types';
2
+ export default function ChevronUp(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=chevron-up.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-up.d.ts","sourceRoot":"","sources":["../../packages/icons/chevron-up.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,SAAS,2CAcjD"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export default interface IconProps extends React.SVGProps<SVGSVGElement> {
3
+ }
4
+ //# sourceMappingURL=icon.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.types.d.ts","sourceRoot":"","sources":["../../packages/icons/icon.types.ts"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,WAAW,SAAU,SAAQ,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;CAAG"}
@@ -0,0 +1,4 @@
1
+ export { default as ChevronDown } from './chevron-down';
2
+ export { default as ChevronUp } from './chevron-up';
3
+ export { default as Search } from './search';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ import IconProps from './icon.types';
2
+ export default function Search(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../packages/icons/search.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,SAAS,2CAkB9C"}
@@ -0,0 +1,3 @@
1
+ import IconProps from './icon.types';
2
+ export default function XMark(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=x-mark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-mark.d.ts","sourceRoot":"","sources":["../../packages/icons/x-mark.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,SAAS,2CAc7C"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
+ export { default as Badge } from './badge';
1
2
  export { default as Button } from './button';
3
+ export { default as Collapse } from './collapse';
2
4
  export { default as Component } from './component';
3
5
  export { default as Container } from './container';
6
+ export { default as Dropdown } from './dropdown';
7
+ export * from './icons';
8
+ export { default as Input } from './input';
9
+ export { default as Popover } from './popover';
4
10
  export { default as Toggle } from './toggle';
5
11
  export { cva, type VariantProps } from './utils/cva';
6
12
  export { cx } from './utils/cx';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,aAAa,CAAA;AAChD,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,aAAa,CAAA;AAChD,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAC,GAAG,EAAC,KAAK,YAAY,EAAC,MAAM,aAAa,CAAA;AACjD,OAAO,EAAC,EAAE,EAAC,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,GAAG,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ComponentProps } from '../component';
2
+ export default function Input(props: InputProps): import("react/jsx-runtime").JSX.Element;
3
+ export interface InputProps extends ComponentProps<'input'> {
4
+ }
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/input/index.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAG3D,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,UAAU,2CAe9C;AAED,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,OAAO,CAAC;CAAG"}
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").InputProps>;
2
+ export default _default;
3
+ export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").InputProps>;
4
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/input/index.stories.tsx"],"names":[],"mappings":";AAKA,wBAIwB;AAKxB,eAAO,MAAM,OAAO,6HAAoB,CAAC"}
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ declare const Popover: (props: PopoverProps) => JSX.Element;
3
+ export default Popover;
4
+ export interface PopoverProps {
5
+ placement?: Placement;
6
+ className?: string;
7
+ children?: (show: boolean) => React.ReactNode;
8
+ trigger?: 'hover' | 'click';
9
+ content?: React.ReactNode;
10
+ onOpen?: () => void;
11
+ onClose?: () => void;
12
+ disabled?: boolean;
13
+ show?: boolean;
14
+ setShow?: (show: boolean) => void;
15
+ role?: AriaRole | ComponentRole;
16
+ }
17
+ type AriaRole = 'tooltip' | 'dialog' | 'alertdialog' | 'menu' | 'listbox' | 'grid' | 'tree';
18
+ type ComponentRole = 'select' | 'label' | 'combobox';
19
+ type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/popover/index.tsx"],"names":[],"mappings":";AAkBA,QAAA,MAAM,OAAO,UAAW,YAAY,KAAG,WAgFtC,CAAC;AACF,eAAe,OAAO,CAAC;AAEvB,MAAM,WAAW,YAAY;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAC9C,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,IAAI,CAAC,EAAE,QAAQ,GAAG,aAAa,CAAC;CACnC;AACD,KAAK,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAC5F,KAAK,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AACrD,KAAK,SAAS,GACR,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,OAAO,GACP,aAAa,GACb,WAAW,GACX,MAAM,GACN,YAAY,GACZ,UAAU,CAAC"}
@@ -1,5 +1,5 @@
1
- import { BaseProps } from '../component';
2
- export interface ToggleProps extends Omit<BaseProps<"input">, "onChange"> {
1
+ import { ComponentProps } from '../component';
2
+ export interface ToggleProps extends Omit<ComponentProps<'input'>, 'onChange'> {
3
3
  onChange: (e: boolean) => void;
4
4
  }
5
5
  export default function Toggle(props: ToggleProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/toggle/index.tsx"],"names":[],"mappings":"AACA,OAAkB,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAGpD,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IACrE,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,WAAW,2CA8BhD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/toggle/index.tsx"],"names":[],"mappings":"AACA,OAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAG3D,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IAC1E,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,WAAW,2CAyBhD"}
@@ -1,4 +1,4 @@
1
1
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").ToggleProps>;
2
2
  export default _default;
3
3
  export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").ToggleProps>;
4
- //# sourceMappingURL=Toggle.Stories.d.ts.map
4
+ //# sourceMappingURL=index.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../packages/toggle/index.stories.tsx"],"names":[],"mappings":";AAKA,wBAGyB;AAKzB,eAAO,MAAM,OAAO,8HAAoB,CAAC"}
@@ -10,8 +10,8 @@ type ClassProp = {
10
10
  className?: never;
11
11
  };
12
12
  type OmitUndefined<T> = T extends undefined ? never : T;
13
- type StringToBoolean<T> = T extends "true" | "false" ? boolean : T;
14
- export type VariantProps<Component extends (...args: any) => any> = Omit<OmitUndefined<Parameters<Component>[0]>, "class" | "className">;
13
+ type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T;
14
+ export type VariantProps<Component extends (...args: any) => any> = Omit<OmitUndefined<Parameters<Component>[0]>, 'class' | 'className'>;
15
15
  type ConfigSchema = Record<string, Record<string, ClassValue>>;
16
16
  type ConfigVariants<T extends ConfigSchema> = {
17
17
  [Variant in keyof T]?: StringToBoolean<keyof T[Variant]> | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"cva.d.ts","sourceRoot":"","sources":["../../packages/utils/cva.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAM,MAAM,eAAe,CAAC;AAE/C,KAAK,SAAS,GACR;IACF,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC;CACrB,GACK;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,UAAU,CAAC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../packages/utils/cx.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE,YAAa,UAAU,EAAE,KAAG,MAmB1C,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,CAAC;AACrG,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,UAAU,EAAE,CAAC"}