@liner-fe/prism 2.1.26 → 2.1.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/lib/assets/{lp-pri-icon-m-redo.d.ts → arrow-drop-right.d.ts} +2 -2
- package/lib/assets/arrow-up-down.d.ts +8 -0
- package/lib/assets/casual-shoe.d.ts +8 -0
- package/lib/assets/drop-down.d.ts +8 -0
- package/lib/assets/{lp-pri-icon-m-essay.d.ts → drop-up.d.ts} +2 -2
- package/lib/assets/expand.d.ts +8 -0
- package/lib/assets/folder-open-share.d.ts +8 -0
- package/lib/assets/folder-share.d.ts +8 -0
- package/lib/assets/formal-bag.d.ts +8 -0
- package/lib/assets/google-export.d.ts +8 -0
- package/lib/assets/index.d.ts +17 -25
- package/lib/assets/report.d.ts +8 -0
- package/lib/assets/shield-person.d.ts +8 -0
- package/lib/assets/spinner.d.ts +8 -0
- package/lib/assets/undo.d.ts +8 -0
- package/lib/assets/verification-badge.d.ts +8 -0
- package/lib/assets/volume-up.d.ts +8 -0
- package/lib/assets/volume.d.ts +8 -0
- package/lib/components/Button/index.d.ts +7 -13
- package/lib/components/Icon/index.d.ts +4 -10
- package/lib/components/IconButton/index.d.ts +5 -11
- package/lib/components/Label/index.d.ts +8 -14
- package/lib/components/TextButton/index.d.ts +6 -12
- package/lib/components/Textfield/index.d.ts +3 -9
- package/lib/components/Typography/utils.d.ts +2 -8
- package/lib/index.cjs +595 -984
- package/lib/index.cjs.map +4 -4
- package/lib/index.css.map +1 -1
- package/lib/index.mjs +569 -958
- package/lib/index.mjs.map +4 -4
- package/lib/type/index.d.ts +1 -1
- package/package.json +2 -2
- package/lib/assets/lp-pri-icon-m-arrow-up-down.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-casual-shoe.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-expand.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-folder-open-share.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-folder-share.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-formal-bag.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-google-export.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-highlighter.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-link.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-report.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-sheet-export.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-shield-person.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-shield-usage.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-spinner.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-undo.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-verification-badge.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-volume-up.d.ts +0 -8
- package/lib/assets/lp-pri-icon-m-volume.d.ts +0 -8
- package/lib/assets/lp-pri-icon-s-arrow-backward.d.ts +0 -8
- package/lib/assets/lp-pri-icon-s-arrow-drop-right.d.ts +0 -8
- package/lib/assets/lp-pri-icon-s-arrow-forward.d.ts +0 -8
- package/lib/assets/lp-pri-icon-s-drop-down.d.ts +0 -8
- package/lib/assets/lp-pri-icon-s-drop-up.d.ts +0 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface ICArrowDropRightProps {
|
|
2
2
|
color?: string;
|
|
3
3
|
fill?: boolean;
|
|
4
4
|
thick?: boolean;
|
|
5
5
|
size?: 16 | 20 | 24 | 32 | 40;
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ICArrowDropRight: (props: ICArrowDropRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface ICDropUpProps {
|
|
2
2
|
color?: string;
|
|
3
3
|
fill?: boolean;
|
|
4
4
|
thick?: boolean;
|
|
5
5
|
size?: 16 | 20 | 24 | 32 | 40;
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ICDropUp: (props: ICDropUpProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
package/lib/assets/index.d.ts
CHANGED
|
@@ -129,33 +129,25 @@ export { ICBell } from './bell';
|
|
|
129
129
|
export { ICSecretMode } from './secret-mode';
|
|
130
130
|
export { ICAddClock } from './add-clock';
|
|
131
131
|
export { ICClock } from './clock';
|
|
132
|
-
export { ICLpPriIconMSpinner } from './lp-pri-icon-m-spinner';
|
|
133
|
-
export { ICLpPriIconSDropDown } from './lp-pri-icon-s-drop-down';
|
|
134
|
-
export { ICLpPriIconMVolumeUp } from './lp-pri-icon-m-volume-up';
|
|
135
|
-
export { ICLpPriIconMVolume } from './lp-pri-icon-m-volume';
|
|
136
|
-
export { ICLpPriIconSDropUp } from './lp-pri-icon-s-drop-up';
|
|
137
|
-
export { ICLpPriIconSArrowDropRight } from './lp-pri-icon-s-arrow-drop-right';
|
|
138
|
-
export { ICLpPriIconMArrowUpDown } from './lp-pri-icon-m-arrow-up-down';
|
|
139
|
-
export { ICLpPriIconMGoogleExport } from './lp-pri-icon-m-google-export';
|
|
140
132
|
export { ICArrowBackward } from './arrow-backward';
|
|
141
133
|
export { ICLink } from './link';
|
|
142
134
|
export { ICSheetExport } from './sheet-export';
|
|
143
|
-
export { ICLpPriIconSArrowBackward } from './lp-pri-icon-s-arrow-backward';
|
|
144
|
-
export { ICLpPriIconSArrowForward } from './lp-pri-icon-s-arrow-forward';
|
|
145
|
-
export { ICLpPriIconMLink } from './lp-pri-icon-m-link';
|
|
146
|
-
export { ICLpPriIconMSheetExport } from './lp-pri-icon-m-sheet-export';
|
|
147
|
-
export { ICLpPriIconMShieldPerson } from './lp-pri-icon-m-shield-person';
|
|
148
135
|
export { ICShieldUsage } from './shield-usage';
|
|
149
136
|
export { ICHighlighter } from './highlighter';
|
|
150
|
-
export {
|
|
151
|
-
export {
|
|
152
|
-
export {
|
|
153
|
-
export {
|
|
154
|
-
export {
|
|
155
|
-
export {
|
|
156
|
-
export {
|
|
157
|
-
export {
|
|
158
|
-
export {
|
|
159
|
-
export {
|
|
160
|
-
export {
|
|
161
|
-
export {
|
|
137
|
+
export { ICSpinner } from './spinner';
|
|
138
|
+
export { ICDropDown } from './drop-down';
|
|
139
|
+
export { ICDropUp } from './drop-up';
|
|
140
|
+
export { ICArrowDropRight } from './arrow-drop-right';
|
|
141
|
+
export { ICArrowUpDown } from './arrow-up-down';
|
|
142
|
+
export { ICGoogleExport } from './google-export';
|
|
143
|
+
export { ICShieldPerson } from './shield-person';
|
|
144
|
+
export { ICFormalBag } from './formal-bag';
|
|
145
|
+
export { ICCasualShoe } from './casual-shoe';
|
|
146
|
+
export { ICUndo } from './undo';
|
|
147
|
+
export { ICExpand } from './expand';
|
|
148
|
+
export { ICVerificationBadge } from './verification-badge';
|
|
149
|
+
export { ICVolumeUp } from './volume-up';
|
|
150
|
+
export { ICVolume } from './volume';
|
|
151
|
+
export { ICFolderOpenShare } from './folder-open-share';
|
|
152
|
+
export { ICFolderShare } from './folder-share';
|
|
153
|
+
export { ICReport } from './report';
|
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { VariantProps } from '
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { IconProps } from '../Icon';
|
|
4
4
|
declare const defaultButtonVariants: (props?: ({
|
|
5
|
-
level?: "primary" | "secondary" | "tertiary" | "quaternary" | "negative" | "static" | "inverse-static" | undefined;
|
|
6
|
-
fill?: boolean | undefined;
|
|
7
|
-
align?: "center" | "spaceBetween" | undefined;
|
|
8
|
-
size?: "m" | "s" | "l" | "cta" | undefined;
|
|
9
|
-
width?: "fit-content" | "full" | undefined;
|
|
10
|
-
} & (
|
|
11
|
-
class?: import("cva").ClassValue;
|
|
12
|
-
className?: never;
|
|
13
|
-
} | {
|
|
14
|
-
class?: never;
|
|
15
|
-
className?: import("cva").ClassValue;
|
|
16
|
-
})) | undefined) => string;
|
|
5
|
+
level?: "primary" | "secondary" | "tertiary" | "quaternary" | "negative" | "static" | "inverse-static" | null | undefined;
|
|
6
|
+
fill?: boolean | null | undefined;
|
|
7
|
+
align?: "center" | "spaceBetween" | null | undefined;
|
|
8
|
+
size?: "m" | "s" | "l" | "cta" | null | undefined;
|
|
9
|
+
width?: "fit-content" | "full" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
11
|
export interface CommonButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
18
12
|
as?: 'default' | 'text';
|
|
19
13
|
asChild?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from '
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { IconKey, IconMapType } from '../../type';
|
|
3
3
|
import { SystemKeys } from '@liner-fe/design-token';
|
|
4
4
|
import { BasicColorType } from '../../types/color';
|
|
@@ -12,15 +12,9 @@ declare const iconSizeMap: {
|
|
|
12
12
|
export declare const iconKeyOptions: IconKey[];
|
|
13
13
|
export declare const colorKeys: BasicColorType[];
|
|
14
14
|
declare const iconVariants: (props?: ({
|
|
15
|
-
type?: BasicColorType | undefined;
|
|
16
|
-
fillType?: BasicColorType | undefined;
|
|
17
|
-
} & (
|
|
18
|
-
class?: import("cva").ClassValue;
|
|
19
|
-
className?: never;
|
|
20
|
-
} | {
|
|
21
|
-
class?: never;
|
|
22
|
-
className?: import("cva").ClassValue;
|
|
23
|
-
})) | undefined) => string;
|
|
15
|
+
type?: BasicColorType | null | undefined;
|
|
16
|
+
fillType?: BasicColorType | null | undefined;
|
|
17
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
24
18
|
export declare const getIconComponent: (iconKey: IconKey, map: IconMapType) => import("../../type").IconComponent;
|
|
25
19
|
export type IconSizeKey = keyof typeof iconSizeMap;
|
|
26
20
|
export type IconColorType = Extract<SystemKeys, BasicColorType>;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import { VariantProps } from '
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
3
|
import { IconProps } from '../Icon';
|
|
4
4
|
declare const iconButtonVariants: (props?: ({
|
|
5
|
-
level?: "primary" | "secondary" | "tertiary" | "quaternary" | "negative" | "static" | "inverse" | "inverse-static" | undefined;
|
|
6
|
-
size?: "m" | "s" | "xs" | "l" | undefined;
|
|
7
|
-
fill?: boolean | undefined;
|
|
8
|
-
} & (
|
|
9
|
-
class?: import("cva").ClassValue;
|
|
10
|
-
className?: never;
|
|
11
|
-
} | {
|
|
12
|
-
class?: never;
|
|
13
|
-
className?: import("cva").ClassValue;
|
|
14
|
-
})) | undefined) => string;
|
|
5
|
+
level?: "primary" | "secondary" | "tertiary" | "quaternary" | "negative" | "static" | "inverse" | "inverse-static" | null | undefined;
|
|
6
|
+
size?: "m" | "s" | "xs" | "l" | null | undefined;
|
|
7
|
+
fill?: boolean | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
9
|
export type IconButtonLevelType = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'negative' | 'static' | 'inverse' | 'inverse-static';
|
|
16
10
|
export type IconSizeType = 'l' | 'm' | 's' | 'xs';
|
|
17
11
|
export interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
|
-
import { VariantProps } from '
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
declare const defaultLabelVariants: (props?: ({
|
|
5
|
-
level?: "primary" | "secondary" | undefined;
|
|
6
|
-
position?: "right" | "top" | undefined;
|
|
7
|
-
size?: "m" | "s" | "l" | undefined;
|
|
8
|
-
offset?: "high" | "low" | "medium" | undefined;
|
|
9
|
-
disabled?: boolean | undefined;
|
|
10
|
-
error?: boolean | undefined;
|
|
11
|
-
} & (
|
|
12
|
-
class?: import("cva").ClassValue;
|
|
13
|
-
className?: never;
|
|
14
|
-
} | {
|
|
15
|
-
class?: never;
|
|
16
|
-
className?: import("cva").ClassValue;
|
|
17
|
-
})) | undefined) => string;
|
|
5
|
+
level?: "primary" | "secondary" | null | undefined;
|
|
6
|
+
position?: "right" | "top" | null | undefined;
|
|
7
|
+
size?: "m" | "s" | "l" | null | undefined;
|
|
8
|
+
offset?: "high" | "low" | "medium" | null | undefined;
|
|
9
|
+
disabled?: boolean | null | undefined;
|
|
10
|
+
error?: boolean | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
12
|
interface LabelProps extends ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof defaultLabelVariants> {
|
|
19
13
|
level?: 'primary' | 'secondary';
|
|
20
14
|
position?: 'top' | 'right';
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { ButtonIconProps, ButtonSizeType, CommonButtonProps } from '../../index';
|
|
2
|
-
import { VariantProps } from '
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const textButtonVariants: (props?: ({
|
|
4
|
-
level?: "primary" | "secondary" | "tertiary" | "inverse" | "inverse-static" | undefined;
|
|
5
|
-
size?: "m" | "s" | undefined;
|
|
6
|
-
thick?: boolean | undefined;
|
|
7
|
-
underline?: boolean | undefined;
|
|
8
|
-
} & (
|
|
9
|
-
class?: import("cva").ClassValue;
|
|
10
|
-
className?: never;
|
|
11
|
-
} | {
|
|
12
|
-
class?: never;
|
|
13
|
-
className?: import("cva").ClassValue;
|
|
14
|
-
})) | undefined) => string;
|
|
4
|
+
level?: "primary" | "secondary" | "tertiary" | "inverse" | "inverse-static" | null | undefined;
|
|
5
|
+
size?: "m" | "s" | null | undefined;
|
|
6
|
+
thick?: boolean | null | undefined;
|
|
7
|
+
underline?: boolean | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
9
|
type TextLevelType = 'primary' | 'secondary' | 'tertiary' | 'inverse' | 'inverse-static';
|
|
16
10
|
type TextButtonSizeType = Extract<ButtonSizeType, 'm' | 's'>;
|
|
17
11
|
export interface TextButtonProps extends CommonButtonProps, VariantProps<typeof textButtonVariants> {
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
import { VariantProps } from '
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { DefaultButtonProps, FillType } from '../Button';
|
|
4
4
|
import { BasicColorType } from '../../types/color';
|
|
5
5
|
declare const defaultTextfieldVariants: (props?: ({
|
|
6
|
-
color?: "neutral-container-lowest" | "neutral-container-mid" | undefined;
|
|
7
|
-
} & (
|
|
8
|
-
class?: import("cva").ClassValue;
|
|
9
|
-
className?: never;
|
|
10
|
-
} | {
|
|
11
|
-
class?: never;
|
|
12
|
-
className?: import("cva").ClassValue;
|
|
13
|
-
})) | undefined) => string;
|
|
6
|
+
color?: "neutral-container-lowest" | "neutral-container-mid" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
8
|
export interface TextfieldButtonProps extends Omit<DefaultButtonProps<FillType>, 'size'> {
|
|
15
9
|
}
|
|
16
10
|
export type TextfieldLabelType = 'in' | 'out';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
export declare const colorVariants: (props?: ({
|
|
2
|
-
type?: import("../..").BasicColorType | undefined;
|
|
3
|
-
} & (
|
|
4
|
-
class?: import("cva").ClassValue;
|
|
5
|
-
className?: never;
|
|
6
|
-
} | {
|
|
7
|
-
class?: never;
|
|
8
|
-
className?: import("cva").ClassValue;
|
|
9
|
-
})) | undefined) => string;
|
|
2
|
+
type?: import("../..").BasicColorType | null | undefined;
|
|
3
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|