@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.
Files changed (55) hide show
  1. package/lib/assets/{lp-pri-icon-m-redo.d.ts → arrow-drop-right.d.ts} +2 -2
  2. package/lib/assets/arrow-up-down.d.ts +8 -0
  3. package/lib/assets/casual-shoe.d.ts +8 -0
  4. package/lib/assets/drop-down.d.ts +8 -0
  5. package/lib/assets/{lp-pri-icon-m-essay.d.ts → drop-up.d.ts} +2 -2
  6. package/lib/assets/expand.d.ts +8 -0
  7. package/lib/assets/folder-open-share.d.ts +8 -0
  8. package/lib/assets/folder-share.d.ts +8 -0
  9. package/lib/assets/formal-bag.d.ts +8 -0
  10. package/lib/assets/google-export.d.ts +8 -0
  11. package/lib/assets/index.d.ts +17 -25
  12. package/lib/assets/report.d.ts +8 -0
  13. package/lib/assets/shield-person.d.ts +8 -0
  14. package/lib/assets/spinner.d.ts +8 -0
  15. package/lib/assets/undo.d.ts +8 -0
  16. package/lib/assets/verification-badge.d.ts +8 -0
  17. package/lib/assets/volume-up.d.ts +8 -0
  18. package/lib/assets/volume.d.ts +8 -0
  19. package/lib/components/Button/index.d.ts +7 -13
  20. package/lib/components/Icon/index.d.ts +4 -10
  21. package/lib/components/IconButton/index.d.ts +5 -11
  22. package/lib/components/Label/index.d.ts +8 -14
  23. package/lib/components/TextButton/index.d.ts +6 -12
  24. package/lib/components/Textfield/index.d.ts +3 -9
  25. package/lib/components/Typography/utils.d.ts +2 -8
  26. package/lib/index.cjs +595 -984
  27. package/lib/index.cjs.map +4 -4
  28. package/lib/index.css.map +1 -1
  29. package/lib/index.mjs +569 -958
  30. package/lib/index.mjs.map +4 -4
  31. package/lib/type/index.d.ts +1 -1
  32. package/package.json +2 -2
  33. package/lib/assets/lp-pri-icon-m-arrow-up-down.d.ts +0 -8
  34. package/lib/assets/lp-pri-icon-m-casual-shoe.d.ts +0 -8
  35. package/lib/assets/lp-pri-icon-m-expand.d.ts +0 -8
  36. package/lib/assets/lp-pri-icon-m-folder-open-share.d.ts +0 -8
  37. package/lib/assets/lp-pri-icon-m-folder-share.d.ts +0 -8
  38. package/lib/assets/lp-pri-icon-m-formal-bag.d.ts +0 -8
  39. package/lib/assets/lp-pri-icon-m-google-export.d.ts +0 -8
  40. package/lib/assets/lp-pri-icon-m-highlighter.d.ts +0 -8
  41. package/lib/assets/lp-pri-icon-m-link.d.ts +0 -8
  42. package/lib/assets/lp-pri-icon-m-report.d.ts +0 -8
  43. package/lib/assets/lp-pri-icon-m-sheet-export.d.ts +0 -8
  44. package/lib/assets/lp-pri-icon-m-shield-person.d.ts +0 -8
  45. package/lib/assets/lp-pri-icon-m-shield-usage.d.ts +0 -8
  46. package/lib/assets/lp-pri-icon-m-spinner.d.ts +0 -8
  47. package/lib/assets/lp-pri-icon-m-undo.d.ts +0 -8
  48. package/lib/assets/lp-pri-icon-m-verification-badge.d.ts +0 -8
  49. package/lib/assets/lp-pri-icon-m-volume-up.d.ts +0 -8
  50. package/lib/assets/lp-pri-icon-m-volume.d.ts +0 -8
  51. package/lib/assets/lp-pri-icon-s-arrow-backward.d.ts +0 -8
  52. package/lib/assets/lp-pri-icon-s-arrow-drop-right.d.ts +0 -8
  53. package/lib/assets/lp-pri-icon-s-arrow-forward.d.ts +0 -8
  54. package/lib/assets/lp-pri-icon-s-drop-down.d.ts +0 -8
  55. package/lib/assets/lp-pri-icon-s-drop-up.d.ts +0 -8
@@ -1,8 +1,8 @@
1
- interface ICLpPriIconMRedoProps {
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 ICLpPriIconMRedo: (props: ICLpPriIconMRedoProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ICArrowDropRight: (props: ICArrowDropRightProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -0,0 +1,8 @@
1
+ interface ICArrowUpDownProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICArrowUpDown: (props: ICArrowUpDownProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICCasualShoeProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICCasualShoe: (props: ICCasualShoeProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICDropDownProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICDropDown: (props: ICDropDownProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,8 +1,8 @@
1
- interface ICLpPriIconMEssayProps {
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 ICLpPriIconMEssay: (props: ICLpPriIconMEssayProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ICDropUp: (props: ICDropUpProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -0,0 +1,8 @@
1
+ interface ICExpandProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICExpand: (props: ICExpandProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICFolderOpenShareProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICFolderOpenShare: (props: ICFolderOpenShareProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICFolderShareProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICFolderShare: (props: ICFolderShareProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICFormalBagProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICFormalBag: (props: ICFormalBagProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICGoogleExportProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICGoogleExport: (props: ICGoogleExportProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -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 { ICLpPriIconMFormalBag } from './lp-pri-icon-m-formal-bag';
151
- export { ICLpPriIconMCasualShoe } from './lp-pri-icon-m-casual-shoe';
152
- export { ICLpPriIconMHighlighter } from './lp-pri-icon-m-highlighter';
153
- export { ICLpPriIconMFolderOpenShare } from './lp-pri-icon-m-folder-open-share';
154
- export { ICLpPriIconMFolderShare } from './lp-pri-icon-m-folder-share';
155
- export { ICLpPriIconMEssay } from './lp-pri-icon-m-essay';
156
- export { ICLpPriIconMUndo } from './lp-pri-icon-m-undo';
157
- export { ICLpPriIconMRedo } from './lp-pri-icon-m-redo';
158
- export { ICLpPriIconMShieldUsage } from './lp-pri-icon-m-shield-usage';
159
- export { ICLpPriIconMExpand } from './lp-pri-icon-m-expand';
160
- export { ICLpPriIconMVerificationBadge } from './lp-pri-icon-m-verification-badge';
161
- export { ICLpPriIconMReport } from './lp-pri-icon-m-report';
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';
@@ -0,0 +1,8 @@
1
+ interface ICReportProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICReport: (props: ICReportProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICShieldPersonProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICShieldPerson: (props: ICShieldPersonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICSpinnerProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICSpinner: (props: ICSpinnerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICUndoProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICUndo: (props: ICUndoProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICVerificationBadgeProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICVerificationBadge: (props: ICVerificationBadgeProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICVolumeUpProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICVolumeUp: (props: ICVolumeUpProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICVolumeProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICVolume: (props: ICVolumeProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,19 +1,13 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
- import { VariantProps } from 'cva';
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 'cva';
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 'cva';
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 'cva';
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 'cva';
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 'cva';
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;