@liner-fe/prism 1.12.43 → 1.12.44

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.
@@ -134,3 +134,6 @@ export { ICLpPriIconSDropDown } from './lp-pri-icon-s-drop-down';
134
134
  export { ICLpPriIconMVolumeUp } from './lp-pri-icon-m-volume-up';
135
135
  export { ICLpPriIconMVolume } from './lp-pri-icon-m-volume';
136
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';
@@ -0,0 +1,8 @@
1
+ interface ICLpPriIconMArrowUpDownProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICLpPriIconMArrowUpDown: (props: ICLpPriIconMArrowUpDownProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICLpPriIconMGoogleExportProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICLpPriIconMGoogleExport: (props: ICLpPriIconMGoogleExportProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ICLpPriIconSArrowDropRightProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICLpPriIconSArrowDropRight: (props: ICLpPriIconSArrowDropRightProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ import { BreakPointsKey } from './lib';
2
+ export declare const KEY = "level";
3
+ export declare const breakPointKeyArray: BreakPointsKey[];
@@ -1,4 +1,6 @@
1
- export declare const rootMediaStyle: string;
2
- export declare const Media: import("react").ComponentType<import("@artsy/fresnel/dist/Media").MediaProps<"xl" | "sm" | "md" | "lg", never>>, MediaContextProvider: import("react").ComponentType<import("@artsy/fresnel/dist/Media").MediaContextProviderProps<"xl" | "sm" | "md" | "lg"> & {
3
- children: import("react").ReactNode;
4
- }>;
1
+ import { BreakPointsKey } from './lib';
2
+ import { TypoSet } from './type';
3
+ import React from 'react';
4
+ export declare const Typography: (props: Partial<Record<BreakPointsKey, TypoSet>> & {
5
+ children?: React.ReactNode;
6
+ }) => (import("react/jsx-runtime").JSX.Element | null)[];
@@ -0,0 +1,6 @@
1
+ import { vars } from '@liner-fe/design-token';
2
+ export type BreakPointsKey = keyof typeof vars.breakpoint;
3
+ export declare const rootMediaStyle: string;
4
+ export declare const MediaContextProvider: import("react").ComponentType<import("@artsy/fresnel/dist/Media").MediaContextProviderProps<"m" | "s" | "xs" | "l" | "xl" | "xxl" | "xxxl"> & {
5
+ children: import("react").ReactNode;
6
+ }>, Media: import("react").ComponentType<import("@artsy/fresnel/dist/Media").MediaProps<"m" | "s" | "xs" | "l" | "xl" | "xxl" | "xxxl", never>>;
@@ -0,0 +1,23 @@
1
+ import { TypographyCaptionPrefix, TypographyDisplayPrefix, TypographyHeadingPrefix, TypographyParagraphPrefix, TypographyTitlePrefix } from '@liner-fe/design-token';
2
+ import { ICaptionProps } from '../Set/Caption';
3
+ import { IDisplayProps } from '../Set/Display';
4
+ import { IHeadingProps } from '../Set/Heading';
5
+ import { ParagraphProps } from '../Set/Paragraph';
6
+ import { ITitleProps } from '../Set/Title';
7
+ import { KEY } from './constant';
8
+ import React from 'react';
9
+ type OmitChildren<T, P extends string | React.ReactNode> = Omit<T, 'children'> & {
10
+ text?: P;
11
+ };
12
+ export type TypoSet<T extends string | React.ReactNode = string> = ({
13
+ [KEY]: TypographyCaptionPrefix;
14
+ } & OmitChildren<ICaptionProps, T>) | ({
15
+ [KEY]: TypographyDisplayPrefix;
16
+ } & OmitChildren<IDisplayProps, T>) | ({
17
+ [KEY]: TypographyParagraphPrefix;
18
+ } & OmitChildren<ParagraphProps, T>) | ({
19
+ [KEY]: TypographyHeadingPrefix;
20
+ } & OmitChildren<IHeadingProps, T>) | ({
21
+ [KEY]: TypographyTitlePrefix;
22
+ } & OmitChildren<ITitleProps, T>);
23
+ export {};