@reco-inc/upbox-ui 1.1.1 → 1.1.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/components/avatar/index.d.ts +2 -1
- package/dist/components/badge/index.d.ts +2 -1
- package/dist/components/badge-divider/index.d.ts +2 -1
- package/dist/components/button/Button.d.ts +2 -1
- package/dist/components/checkbox/Checkbox.d.ts +2 -1
- package/dist/components/checkbox/index.d.ts +3 -2
- package/dist/components/empty/Empty.d.ts +2 -1
- package/dist/components/empty/EmptyState.d.ts +2 -1
- package/dist/components/fab/Fab.d.ts +2 -1
- package/dist/components/file-uploader/FileItem.d.ts +2 -1
- package/dist/components/file-uploader/FileUploader.d.ts +2 -1
- package/dist/components/filter-chip/index.d.ts +2 -1
- package/dist/components/icon-button/IconButton.d.ts +2 -1
- package/dist/components/input-group/InputGroup.d.ts +2 -1
- package/dist/components/input-group/index.d.ts +1 -1
- package/dist/components/logo/index.d.ts +2 -1
- package/dist/components/number-field/index.d.ts +2 -1
- package/dist/components/pagination/index.d.ts +2 -1
- package/dist/components/panel/PanelIcon.d.ts +2 -1
- package/dist/components/panel/index.d.ts +2 -1
- package/dist/components/radio-group/RadioGroupItem.d.ts +2 -1
- package/dist/components/radio-group/index.d.ts +2 -1
- package/dist/components/search-field/index.d.ts +2 -1
- package/dist/components/separator/index.d.ts +2 -1
- package/dist/components/sheet/index.d.ts +2 -1
- package/dist/components/stepper/Stepper.d.ts +2 -1
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tag/index.d.ts +2 -1
- package/dist/components/text-button/TextButton.d.ts +2 -1
- package/dist/components/toggle/index.d.ts +2 -2
- package/dist/components/toolbar/Toolbar.d.ts +2 -1
- package/dist/index.mjs +557 -557
- package/dist/upbox-ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
export { default as Avatar } from './Avatar';
|
|
3
4
|
export { default as AvatarFallback } from './AvatarFallback';
|
|
@@ -10,5 +11,5 @@ export type AvatarVariants = VariantProps<typeof avatarVariant>;
|
|
|
10
11
|
export interface AvatarProps {
|
|
11
12
|
size?: "small" | "base" | "large";
|
|
12
13
|
shape?: "circle" | "square";
|
|
13
|
-
class?:
|
|
14
|
+
class?: HTMLAttributes["class"];
|
|
14
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
export { default as Badge } from './Badge';
|
|
3
4
|
export declare const badgeVariants: (props?: ({
|
|
@@ -12,7 +13,7 @@ export interface BadgeProps {
|
|
|
12
13
|
tone?: "soft" | "solid" | "outline";
|
|
13
14
|
size?: "3xsmall" | "2xsmall" | "xsmall";
|
|
14
15
|
round?: boolean;
|
|
15
|
-
class?:
|
|
16
|
+
class?: HTMLAttributes["class"];
|
|
16
17
|
}
|
|
17
18
|
export declare const badgeCountVariants: (props?: ({
|
|
18
19
|
variant?: "neutral" | "negative" | "positive" | "informative" | "warning" | null | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
export { default as BadgeDivider } from './BadgeDivider';
|
|
3
4
|
export declare const badgeDividerVariants: (props?: ({
|
|
@@ -8,5 +9,5 @@ export type BadgeDividerVariants = VariantProps<typeof badgeDividerVariants>;
|
|
|
8
9
|
export interface BadgeDividerProps {
|
|
9
10
|
variant?: "green" | "navy";
|
|
10
11
|
size?: "3xsmall" | "2xsmall" | "xsmall";
|
|
11
|
-
class?:
|
|
12
|
+
class?: HTMLAttributes["class"];
|
|
12
13
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface ButtonProps {
|
|
2
3
|
variant?: 'primary' | 'destructive' | 'secondary' | 'tertiary';
|
|
3
4
|
theme?: 'filled' | 'outlined';
|
|
@@ -6,7 +7,7 @@ export interface ButtonProps {
|
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
loading?: boolean;
|
|
8
9
|
type?: 'button' | 'submit' | 'reset';
|
|
9
|
-
class?:
|
|
10
|
+
class?: HTMLAttributes['class'];
|
|
10
11
|
}
|
|
11
12
|
declare function __VLS_template(): {
|
|
12
13
|
attrs: Partial<{}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CheckboxRootProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
2
3
|
export interface Props extends Omit<CheckboxRootProps, "disabled"> {
|
|
3
|
-
class?:
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
4
5
|
size?: "small" | "regular" | "large";
|
|
5
6
|
error?: boolean;
|
|
6
7
|
readOnly?: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { SelectOption } from '../../lib/options';
|
|
2
3
|
export { default as Checkbox } from './Checkbox';
|
|
3
4
|
export { default as CheckboxGroupField } from './CheckboxGroupField';
|
|
@@ -6,7 +7,7 @@ export interface CheckboxProps {
|
|
|
6
7
|
error?: boolean;
|
|
7
8
|
readOnly?: boolean;
|
|
8
9
|
disabled?: boolean;
|
|
9
|
-
class?:
|
|
10
|
+
class?: HTMLAttributes["class"];
|
|
10
11
|
}
|
|
11
12
|
export interface CheckboxGroupFieldProps {
|
|
12
13
|
modelValue?: (string | number)[] | null;
|
|
@@ -16,5 +17,5 @@ export interface CheckboxGroupFieldProps {
|
|
|
16
17
|
error?: boolean;
|
|
17
18
|
readOnly?: boolean;
|
|
18
19
|
disabled?: boolean;
|
|
19
|
-
class?:
|
|
20
|
+
class?: HTMLAttributes["class"];
|
|
20
21
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface EmptyStateProps {
|
|
2
3
|
fill?: boolean;
|
|
3
4
|
icon?: boolean;
|
|
4
5
|
orientation?: "vertical" | "horizontal";
|
|
5
|
-
class?:
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
6
7
|
}
|
|
7
8
|
declare function __VLS_template(): {
|
|
8
9
|
attrs: Partial<{}>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface FabProps {
|
|
2
3
|
fabStyle?: 'basic' | 'colorfilled';
|
|
3
4
|
size?: 'xsmall' | 'small' | 'regular' | 'medium';
|
|
4
5
|
iconOnly?: boolean;
|
|
5
6
|
disabled?: boolean;
|
|
6
|
-
class?:
|
|
7
|
+
class?: HTMLAttributes['class'];
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
attrs: Partial<{}>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { UploaderFile } from './types';
|
|
2
3
|
interface Props {
|
|
3
4
|
file: UploaderFile;
|
|
4
5
|
readonly?: boolean;
|
|
5
6
|
downloadable?: boolean;
|
|
6
|
-
class?:
|
|
7
|
+
class?: HTMLAttributes['class'];
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
attrs: Partial<{}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { UploaderFile, FileClickEvent } from './types';
|
|
2
3
|
export interface Props {
|
|
3
4
|
supportExt?: string[];
|
|
@@ -8,7 +9,7 @@ export interface Props {
|
|
|
8
9
|
removable?: boolean;
|
|
9
10
|
downloadable?: boolean;
|
|
10
11
|
errorMessage?: string;
|
|
11
|
-
class?:
|
|
12
|
+
class?: HTMLAttributes['class'];
|
|
12
13
|
}
|
|
13
14
|
type __VLS_Props = Props;
|
|
14
15
|
type __VLS_PublicProps = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
export { default as FilterChip } from './FilterChip';
|
|
3
4
|
/**
|
|
@@ -24,7 +25,7 @@ export interface FilterChipProps {
|
|
|
24
25
|
count?: number | string;
|
|
25
26
|
/** 우측 chevron 표시 (드롭다운 필터). 기본 true */
|
|
26
27
|
chevron?: boolean;
|
|
27
|
-
class?:
|
|
28
|
+
class?: HTMLAttributes["class"];
|
|
28
29
|
}
|
|
29
30
|
/** 라벨 텍스트 색 — device × state 조합 */
|
|
30
31
|
export declare const filterChipLabelColor: Record<NonNullable<FilterChipProps["device"]>, Record<NonNullable<FilterChipProps["state"]>, string>>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface IconButtonProps {
|
|
2
3
|
variant?: 'primary' | 'destructive' | 'secondary' | 'tertiary';
|
|
3
4
|
size?: '2xsmall' | 'xsmall' | 'small' | 'regular' | 'large' | 'xlarge';
|
|
4
5
|
disabled?: boolean;
|
|
5
|
-
class?:
|
|
6
|
+
class?: HTMLAttributes['class'];
|
|
6
7
|
}
|
|
7
8
|
declare function __VLS_template(): {
|
|
8
9
|
attrs: Partial<{}>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface InputGroupProps {
|
|
2
3
|
size?: "small" | "regular" | "large";
|
|
3
4
|
error?: boolean;
|
|
4
5
|
readonly?: boolean;
|
|
5
6
|
disabled?: boolean;
|
|
6
|
-
class?:
|
|
7
|
+
class?: HTMLAttributes["class"];
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
attrs: Partial<{}>;
|
|
@@ -14,7 +14,7 @@ export declare const inputGroupAddonVariants: (props?: ({
|
|
|
14
14
|
export type InputGroupVariants = VariantProps<typeof inputGroupAddonVariants>;
|
|
15
15
|
export interface InputGroupAddonProps {
|
|
16
16
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end";
|
|
17
|
-
class?:
|
|
17
|
+
class?: HTMLAttributes["class"];
|
|
18
18
|
}
|
|
19
19
|
export declare const inputGroupButtonVariants: (props?: ({
|
|
20
20
|
size?: "small" | "xsmall" | "icon-xs" | "icon-sm" | null | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export { default as NumberField } from './NumberField';
|
|
2
3
|
export { default as NumberFieldRoot } from './NumberFieldRoot';
|
|
3
4
|
export { default as NumberFieldContent } from './NumberFieldContent';
|
|
@@ -26,5 +27,5 @@ export interface NumberFieldProps {
|
|
|
26
27
|
name?: string;
|
|
27
28
|
id?: string;
|
|
28
29
|
required?: boolean;
|
|
29
|
-
class?:
|
|
30
|
+
class?: HTMLAttributes["class"];
|
|
30
31
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export { default as Pagination } from './Pagination';
|
|
2
3
|
export { default as PaginationContent } from './PaginationContent';
|
|
3
4
|
export { default as PaginationEllipsis } from './PaginationEllipsis';
|
|
@@ -9,5 +10,5 @@ export { default as PaginationPrevious } from './PaginationPrevious';
|
|
|
9
10
|
export interface PaginationItemProps {
|
|
10
11
|
size?: "xsmall" | "small" | "regular" | "medium" | "large" | "icon";
|
|
11
12
|
isActive?: boolean;
|
|
12
|
-
class?:
|
|
13
|
+
class?: HTMLAttributes["class"];
|
|
13
14
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface PanelIconProps {
|
|
2
3
|
/** 앱 Icon src와 같은 경로. 없으면 variant 기본 글리프 */
|
|
3
4
|
src?: string;
|
|
4
|
-
class?:
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
5
6
|
}
|
|
6
7
|
declare const _default: import('vue').DefineComponent<PanelIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PanelIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
7
8
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export { default as Panel } from './Panel';
|
|
2
3
|
export { default as PanelIcon } from './PanelIcon';
|
|
3
4
|
export type { PanelIconProps } from './PanelIcon';
|
|
@@ -13,5 +14,5 @@ export interface PanelProps {
|
|
|
13
14
|
icon?: boolean;
|
|
14
15
|
/** 글리프만 교체. 크기·색은 variant/size. 앱 Icon src와 같은 경로 */
|
|
15
16
|
iconSrc?: string;
|
|
16
|
-
class?:
|
|
17
|
+
class?: HTMLAttributes["class"];
|
|
17
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RadioGroupItemProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
2
3
|
interface Props extends RadioGroupItemProps {
|
|
3
|
-
class?:
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
4
5
|
size?: "small" | "regular" | "large";
|
|
5
6
|
error?: boolean;
|
|
6
7
|
readOnly?: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export { default as RadioGroup } from './RadioGroup';
|
|
2
3
|
export { default as RadioGroupField } from './RadioGroupField';
|
|
3
4
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
|
@@ -5,5 +6,5 @@ export interface RadioGroupItemProps {
|
|
|
5
6
|
size?: "small" | "regular" | "large";
|
|
6
7
|
error?: boolean;
|
|
7
8
|
readOnly?: boolean;
|
|
8
|
-
class?:
|
|
9
|
+
class?: HTMLAttributes["class"];
|
|
9
10
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export { default as SearchField } from './SearchField';
|
|
2
3
|
export interface SearchFieldProps {
|
|
3
4
|
modelValue?: string;
|
|
@@ -10,7 +11,7 @@ export interface SearchFieldProps {
|
|
|
10
11
|
error?: boolean;
|
|
11
12
|
/** clear 버튼 표시 여부 (default: true) */
|
|
12
13
|
clearable?: boolean;
|
|
13
|
-
class?:
|
|
14
|
+
class?: HTMLAttributes["class"];
|
|
14
15
|
name?: string;
|
|
15
16
|
id?: string;
|
|
16
17
|
autofocus?: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
export { default as Sheet } from './Sheet';
|
|
3
4
|
export { default as SheetClose } from './SheetClose';
|
|
@@ -13,5 +14,5 @@ export declare const sheetVariants: (props?: ({
|
|
|
13
14
|
export type SheetVariants = VariantProps<typeof sheetVariants>;
|
|
14
15
|
export interface SheetContentProps {
|
|
15
16
|
side?: "top" | "bottom" | "left" | "right";
|
|
16
|
-
class?:
|
|
17
|
+
class?: HTMLAttributes["class"];
|
|
17
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface StepItem {
|
|
2
3
|
/** Step unique identifier */
|
|
3
4
|
value: string | number;
|
|
@@ -10,7 +11,7 @@ export interface StepperProps {
|
|
|
10
11
|
/** List of steps */
|
|
11
12
|
steps: StepItem[];
|
|
12
13
|
/** Additional classes */
|
|
13
|
-
class?:
|
|
14
|
+
class?: HTMLAttributes['class'];
|
|
14
15
|
}
|
|
15
16
|
type __VLS_Props = StepperProps;
|
|
16
17
|
type __VLS_PublicProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Component } from 'vue';
|
|
2
|
+
import { Component, HTMLAttributes } from 'vue';
|
|
3
3
|
export { default as Tabs } from './Tabs';
|
|
4
4
|
export { default as TabsBar } from './TabsBar';
|
|
5
5
|
export type { TabItem } from './TabsBar';
|
|
@@ -35,11 +35,11 @@ export interface TabsListProps {
|
|
|
35
35
|
variant?: "default" | "round" | "box";
|
|
36
36
|
color?: "navy" | "grey";
|
|
37
37
|
size?: "small" | "regular" | "large" | "xlarge";
|
|
38
|
-
class?:
|
|
38
|
+
class?: HTMLAttributes["class"];
|
|
39
39
|
}
|
|
40
40
|
export interface TabsTriggerProps {
|
|
41
41
|
variant?: "default" | "round" | "box";
|
|
42
42
|
color?: "navy" | "grey";
|
|
43
43
|
size?: "small" | "regular" | "large" | "xlarge";
|
|
44
|
-
class?:
|
|
44
|
+
class?: HTMLAttributes["class"];
|
|
45
45
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
|
2
3
|
export { default as Tag } from './Tag';
|
|
3
4
|
export declare const tagVariants: (props?: ({
|
|
@@ -9,6 +10,6 @@ export interface TagProps {
|
|
|
9
10
|
state?: "enabled" | "disabled" | "error";
|
|
10
11
|
size?: "3xsmall" | "2xsmall" | "xsmall" | "small";
|
|
11
12
|
closable?: boolean;
|
|
12
|
-
class?:
|
|
13
|
+
class?: HTMLAttributes["class"];
|
|
13
14
|
}
|
|
14
15
|
export declare const tagCloseIconSize: Record<NonNullable<TagVariants["size"]>, string>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface TextButtonProps {
|
|
2
3
|
/** information: 임시 — Figma 미정의 파란 텍스트 링크 톤 */
|
|
3
4
|
variant?: 'destructive' | 'secondary' | 'information';
|
|
4
5
|
size?: '2xsmall' | 'xsmall' | 'small';
|
|
5
6
|
disabled?: boolean;
|
|
6
|
-
class?:
|
|
7
|
+
class?: HTMLAttributes['class'];
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
attrs: Partial<{}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
1
|
+
import { Component, HTMLAttributes } from 'vue';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
export { default as Toggle } from './Toggle';
|
|
4
4
|
export declare const toggleTrackVariants: (props?: ({
|
|
@@ -23,7 +23,7 @@ export interface ToggleProps {
|
|
|
23
23
|
label?: string;
|
|
24
24
|
asChild?: boolean;
|
|
25
25
|
as?: string | Component;
|
|
26
|
-
class?:
|
|
26
|
+
class?: HTMLAttributes["class"];
|
|
27
27
|
}
|
|
28
28
|
export interface ToggleEmits {
|
|
29
29
|
"update:modelValue": [value: boolean];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
1
2
|
export interface ToolbarProps {
|
|
2
3
|
/** 선택된 항목 수 — "N개 선택됨" 표기 */
|
|
3
4
|
selectedCount?: number;
|
|
@@ -7,7 +8,7 @@ export interface ToolbarProps {
|
|
|
7
8
|
downloadable?: boolean;
|
|
8
9
|
/** 삭제 버튼 노출 여부 (옵션) */
|
|
9
10
|
deletable?: boolean;
|
|
10
|
-
class?:
|
|
11
|
+
class?: HTMLAttributes['class'];
|
|
11
12
|
}
|
|
12
13
|
declare function __VLS_template(): {
|
|
13
14
|
attrs: Partial<{}>;
|