@typlog/ui 0.7.3 → 0.8.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/components/accordion/AccordionContent.d.ts +18 -0
- package/dist/components/accordion/AccordionItem.d.ts +18 -0
- package/dist/components/accordion/AccordionRoot.d.ts +19 -0
- package/dist/components/accordion/AccordionTrigger.d.ts +15 -0
- package/dist/components/accordion/index.d.ts +5 -0
- package/dist/components/addons/index.d.ts +1 -1
- package/dist/components/button/Button.d.ts +2 -2
- package/dist/components/button/SocialButton.d.ts +21 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/collapsible/CollapsibleContent.d.ts +18 -0
- package/dist/components/collapsible/index.d.ts +2 -2
- package/dist/components/combobox/ComboboxInput.d.ts +4 -8
- package/dist/components/combobox/ComboboxRoot.d.ts +1 -0
- package/dist/components/icon/ChevronIcon.d.ts +7 -0
- package/dist/components/icon/PlusMinusIcon.d.ts +10 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/pagination/Pagination.d.ts +1 -1
- package/dist/components/tabs/TabsList.d.ts +0 -2
- package/dist/index.js +819 -668
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/components/collapsible/CollapsibleChevron.d.ts +0 -6
- /package/dist/components/addons/{IconifyCollection.d.ts → iconify-collection/IconifyCollection.d.ts} +0 -0
- /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';
|
@@ -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
|
+
};
|
@@ -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,
|
2
|
-
export { default as
|
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
|
10
|
-
}
|
11
|
-
"
|
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;
|
@@ -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;
|