@typlog/ui 0.7.3 → 0.9.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.
Files changed (28) hide show
  1. package/dist/components/accordion/AccordionContent.d.ts +18 -0
  2. package/dist/components/accordion/AccordionItem.d.ts +18 -0
  3. package/dist/components/accordion/AccordionRoot.d.ts +19 -0
  4. package/dist/components/accordion/AccordionTrigger.d.ts +15 -0
  5. package/dist/components/accordion/index.d.ts +5 -0
  6. package/dist/components/addons/index.d.ts +1 -1
  7. package/dist/components/avatar/Avatar.d.ts +2 -2
  8. package/dist/components/button/Button.d.ts +2 -2
  9. package/dist/components/button/SocialButton.d.ts +21 -0
  10. package/dist/components/button/index.d.ts +1 -0
  11. package/dist/components/collapsible/CollapsibleContent.d.ts +18 -0
  12. package/dist/components/collapsible/index.d.ts +2 -2
  13. package/dist/components/combobox/ComboboxInput.d.ts +4 -8
  14. package/dist/components/combobox/ComboboxRoot.d.ts +1 -0
  15. package/dist/components/icon/ChevronIcon.d.ts +7 -0
  16. package/dist/components/icon/PlusMinusIcon.d.ts +10 -0
  17. package/dist/components/icon/index.d.ts +2 -0
  18. package/dist/components/index.d.ts +1 -0
  19. package/dist/components/inputs/ColorField.d.ts +2 -2
  20. package/dist/components/pagination/Pagination.d.ts +1 -1
  21. package/dist/components/select/SelectTrigger.d.ts +12 -2
  22. package/dist/components/tabs/TabsList.d.ts +0 -2
  23. package/dist/index.js +814 -649
  24. package/dist/style.css +1 -1
  25. package/package.json +2 -2
  26. package/dist/components/collapsible/CollapsibleChevron.d.ts +0 -6
  27. /package/dist/components/addons/{IconifyCollection.d.ts → iconify-collection/IconifyCollection.d.ts} +0 -0
  28. /package/dist/components/addons/{IconifySample.d.ts → iconify-collection/IconifySample.d.ts} +0 -0
@@ -0,0 +1,18 @@
1
+ import { AccordionContentProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<AccordionContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ import { AccordionItemProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<AccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,19 @@
1
+ import { AccordionRootProps as _AccordionRootProps } from 'reka-ui';
2
+ export interface AccordionRootProps extends _AccordionRootProps {
3
+ size?: '1' | '2' | '3';
4
+ }
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AccordionRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ "update:modelValue": (value: string | string[] | undefined) => any;
7
+ }, string, import('vue').PublicProps, Readonly<AccordionRootProps> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
9
+ }>, {
10
+ size: "1" | "2" | "3";
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
12
+ default?(_: {}): any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,15 @@
1
+ import { AccordionTriggerProps as _AccordionTriggerProps } from 'reka-ui';
2
+ export interface AccordionTriggerProps extends _AccordionTriggerProps {
3
+ indicator?: 'plus-minus' | 'chevron';
4
+ }
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AccordionTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionTriggerProps> & Readonly<{}>, {
6
+ indicator: "plus-minus" | "chevron";
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
8
+ default?(_: {}): any;
9
+ }>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,5 @@
1
+ export { type AccordionItemProps, type AccordionContentProps, } from 'reka-ui';
2
+ export { default as AccordionRoot, type AccordionRootProps, } from './AccordionRoot';
3
+ export { default as AccordionItem, } from './AccordionItem';
4
+ export { default as AccordionContent, } from './AccordionContent';
5
+ export { default as AccordionTrigger, } from './AccordionTrigger';
@@ -1,2 +1,2 @@
1
1
  export { default as Turnstile, type TurnstileProps, } from './Turnstile';
2
- export { default as IconifyCollection, } from './IconifyCollection';
2
+ export { default as IconifyCollection, } from './iconify-collection/IconifyCollection';
@@ -4,13 +4,13 @@ export interface AvatarProps {
4
4
  alt: string;
5
5
  fallback?: string;
6
6
  radius?: RadiusType;
7
- variant?: 'solid' | 'soft';
7
+ variant?: 'solid' | 'soft' | 'ring';
8
8
  size?: '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
9
9
  color?: ColorType;
10
10
  }
11
11
  declare const _default: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
12
12
  radius: RadiusType;
13
- variant: "solid" | "soft";
13
+ variant: "solid" | "soft" | "ring";
14
14
  size: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
15
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -3,13 +3,13 @@ import { ColorType, RadiusType } from '../types';
3
3
  export interface ButtonProps extends PrimitiveProps {
4
4
  color?: ColorType;
5
5
  radius?: RadiusType;
6
- variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
6
+ variant?: 'classic' | 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
7
7
  size?: '1' | '2' | '3' | '4';
8
8
  highContrast?: boolean;
9
9
  disabled?: boolean;
10
10
  }
11
11
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
12
- variant: "solid" | "soft" | "surface" | "outline" | "ghost";
12
+ variant: "classic" | "solid" | "soft" | "surface" | "outline" | "ghost";
13
13
  size: "1" | "2" | "3" | "4";
14
14
  as: import('reka-ui').AsTag | import('vue').Component;
15
15
  highContrast: boolean;
@@ -0,0 +1,21 @@
1
+ import { PrimitiveProps } from 'reka-ui';
2
+ import { RadiusType } from '../types';
3
+ type BrandType = 'google' | 'facebook' | 'x' | 'github' | 'apple' | 'slack' | 'figma';
4
+ export interface ButtonProps extends PrimitiveProps {
5
+ brand: BrandType;
6
+ radius?: RadiusType;
7
+ size?: '1' | '2' | '3' | '4';
8
+ disabled?: boolean;
9
+ }
10
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
11
+ size: "1" | "2" | "3" | "4";
12
+ as: import('reka-ui').AsTag | import('vue').Component;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
14
+ default?(_: {}): any;
15
+ }>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -1,2 +1,3 @@
1
1
  export { default as Button, type ButtonProps, } from './Button';
2
2
  export { default as IconButton, } from './IconButton';
3
+ export { default as SocialButton, } from './SocialButton';
@@ -0,0 +1,18 @@
1
+ import { CollapsibleContentProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<CollapsibleContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CollapsibleContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -1,2 +1,2 @@
1
- export { CollapsibleRoot, CollapsibleContent, CollapsibleTrigger, } from 'reka-ui';
2
- export { default as CollapsibleChevron, } from './CollapsibleChevron';
1
+ export { CollapsibleRoot, CollapsibleTrigger, } from 'reka-ui';
2
+ export { default as CollapsibleContent, } from './CollapsibleContent';
@@ -5,14 +5,10 @@ export interface ComboboxInputProps extends _ComboboxInputProps {
5
5
  radius?: RadiusType;
6
6
  placeholder?: string;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
9
- modelValue?: string;
10
- } & ComboboxInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "update:modelValue": (...args: unknown[]) => any;
12
- }, string, import('vue').PublicProps, Readonly<{
13
- modelValue?: string;
14
- } & ComboboxInputProps> & Readonly<{
15
- "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
8
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ComboboxInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (args_0: string) => any;
10
+ }, string, import('vue').PublicProps, Readonly<ComboboxInputProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
16
12
  }>, {
17
13
  variant: "surface" | "soft";
18
14
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
@@ -28,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
28
28
  } | undefined) => any) | undefined;
29
29
  }>, {
30
30
  size: "1" | "2" | "3";
31
+ multiple: boolean;
31
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
32
33
  default?(_: {}): any;
33
34
  }>;
@@ -0,0 +1,7 @@
1
+ export interface ChevronIconProps {
2
+ arrowTransform?: 'right-down' | 'right-up' | 'up-down' | 'down-up';
3
+ }
4
+ declare const _default: import('vue').DefineComponent<ChevronIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ChevronIconProps> & Readonly<{}>, {
5
+ arrowTransform: "right-down" | "right-up" | "up-down" | "down-up";
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { ColorType } from '../types';
2
+ export interface PlusMinusIconProps {
3
+ color?: ColorType;
4
+ size?: '1' | '2' | '3' | '4';
5
+ }
6
+ declare const _default: import('vue').DefineComponent<PlusMinusIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PlusMinusIconProps> & Readonly<{}>, {
7
+ color: ColorType;
8
+ size: "1" | "2" | "3" | "4";
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -1,3 +1,5 @@
1
1
  import { Icon } from '@iconify/vue';
2
2
  export { default as IconCircle, type IconCircleProps, } from './IconCircle';
3
+ export { default as PlusMinusIcon, } from './PlusMinusIcon';
4
+ export { default as ChevronIcon, } from './ChevronIcon';
3
5
  export { Icon };
@@ -16,6 +16,7 @@ export * from './select';
16
16
  export * from './combobox';
17
17
  export * from './radio';
18
18
  export * from './tabs';
19
+ export * from './accordion';
19
20
  export * from './collapsible';
20
21
  export * from './pagination';
21
22
  export * from './table';
@@ -1,7 +1,7 @@
1
1
  import { RadiusType } from '../types';
2
2
  export interface ColorFieldProps {
3
3
  id?: string;
4
- variant?: 'solid' | 'outline';
4
+ variant?: 'solid' | 'ring';
5
5
  size?: '1' | '2' | '3';
6
6
  radius?: RadiusType;
7
7
  }
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<{
14
14
  } & ColorFieldProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
16
  }>, {
17
- variant: "solid" | "outline";
17
+ variant: "solid" | "ring";
18
18
  size: "1" | "2" | "3";
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
20
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
13
13
  } & PaginationProps> & Readonly<{
14
14
  "onUpdate:page"?: ((value: number) => any) | undefined;
15
15
  }>, {
16
- variant: "solid" | "soft" | "surface" | "outline" | "ghost";
16
+ variant: "classic" | "solid" | "soft" | "surface" | "outline" | "ghost";
17
17
  size: "1" | "2" | "3" | "4";
18
18
  perpage: number;
19
19
  edge: number;
@@ -5,7 +5,17 @@ export interface SelectTriggerProps extends _SelectTriggerProps {
5
5
  radius?: RadiusType;
6
6
  placeholder?: string;
7
7
  }
8
- declare const _default: import('vue').DefineComponent<SelectTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
8
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<SelectTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
9
9
  variant: "surface" | "soft" | "ghost";
10
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
11
+ default?(_: {
12
+ selectedLabel: string[];
13
+ modelValue: import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[] | undefined;
14
+ }): any;
15
+ }>;
11
16
  export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -1,8 +1,6 @@
1
1
  import { ColorType } from '../types';
2
2
  export interface TabsListProps {
3
3
  size?: '1' | '2';
4
- wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
5
- justify?: 'start' | 'center' | 'end';
6
4
  color?: ColorType;
7
5
  highContrast?: boolean;
8
6
  }