@liner-fe/prism 2.1.71 → 2.1.73
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/index.d.ts +3 -11
- package/lib/index.js +172 -193
- package/lib/index.js.map +1 -1
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SystemKeys, breakpointOrigin
|
|
1
|
+
import { SystemKeys, breakpointOrigin } from '@liner-fe/design-token';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import react__default, { SVGProps, ButtonHTMLAttributes, RefAttributes, HTMLAttributes, ReactNode, ComponentPropsWithoutRef, InputHTMLAttributes, ComponentProps, LiHTMLAttributes } from 'react';
|
|
4
4
|
import * as cva from 'cva';
|
|
@@ -6,6 +6,7 @@ import { VariantProps } from 'cva';
|
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { ToastProps } from '@radix-ui/react-toast';
|
|
8
8
|
import * as _artsy_fresnel_dist_Media from '@artsy/fresnel/dist/Media';
|
|
9
|
+
import { TypographyCaptionPrefix, TypographyParagraphPrefix, TypographyHeadingPrefix, TypographyTitlePrefix } from '@liner-fe/design-token-primitive';
|
|
9
10
|
import { Popover as Popover$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, RadioGroup, Slider as Slider$1, Select as Select$1, Label as Label$1 } from 'radix-ui';
|
|
10
11
|
|
|
11
12
|
interface IconComponentProps {
|
|
@@ -201,13 +202,6 @@ interface ITitleProps extends ITypographyCommon {
|
|
|
201
202
|
}
|
|
202
203
|
declare const Title: react__default.ForwardRefExoticComponent<ITitleProps & react__default.RefAttributes<HTMLParagraphElement>>;
|
|
203
204
|
|
|
204
|
-
interface IDisplayProps extends ITypographyCommon {
|
|
205
|
-
size: 2 | 3;
|
|
206
|
-
type: 'accent' | 'normal';
|
|
207
|
-
weight: 'black';
|
|
208
|
-
}
|
|
209
|
-
declare const Display: react.ForwardRefExoticComponent<IDisplayProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
210
|
-
|
|
211
205
|
type BreakPointsKey = keyof typeof breakpointOrigin;
|
|
212
206
|
declare const rootMediaStyle: string;
|
|
213
207
|
declare const MediaContextProvider: react.ComponentType<_artsy_fresnel_dist_Media.MediaContextProviderProps<"m" | "s" | "xs" | "l" | "xl" | "xxl" | "xxxl"> & {
|
|
@@ -223,8 +217,6 @@ type OmitChildren<T, P extends string | react__default.ReactNode> = Omit<T, 'chi
|
|
|
223
217
|
type TypoSet<T extends string | react__default.ReactNode = string> = ({
|
|
224
218
|
[KEY]: TypographyCaptionPrefix;
|
|
225
219
|
} & OmitChildren<ICaptionProps, T>) | ({
|
|
226
|
-
[KEY]: TypographyDisplayPrefix;
|
|
227
|
-
} & OmitChildren<IDisplayProps, T>) | ({
|
|
228
220
|
[KEY]: TypographyParagraphPrefix;
|
|
229
221
|
} & OmitChildren<ParagraphProps, T>) | ({
|
|
230
222
|
[KEY]: TypographyHeadingPrefix;
|
|
@@ -519,4 +511,4 @@ interface LoadingProps {
|
|
|
519
511
|
}
|
|
520
512
|
declare const Loading: ({ size, level }: LoadingProps) => react_jsx_runtime.JSX.Element;
|
|
521
513
|
|
|
522
|
-
export { type BasicColorType, type BreakPointsKey, Button, type ButtonIconProps, type ButtonProps, type ButtonSizeType, Caption, Checkbox, type CommonButtonProps, DefaultButton, type DefaultButtonProps,
|
|
514
|
+
export { type BasicColorType, type BreakPointsKey, Button, type ButtonIconProps, type ButtonProps, type ButtonSizeType, Caption, Checkbox, type CommonButtonProps, DefaultButton, type DefaultButtonProps, type FillFalseLevelType, type FillLevelType, type FillType, Heading, type ICaptionProps, type IHeadingProps, type IPropsAccent, type IPropsAnswer, type IPropsNormal, type IPropsPost, type ITitleProps, Icon, IconButton, type IconButtonLevelType, type IconButtonProps, type IconColorType, type IconComponent, type IconComponentProps, type IconKey, type IconMapType, type IconProps, type IconSizeKey, type IconSizeType, type ItemProps, Label, List, Loading, Media, MediaContextProvider, Paragraph, type ParagraphProps, Popover, type PopoverContentProps, Radio, Select, type SelectItemProps, type SelectProps, Slider, TextButton, type TextButtonProps, Textfield, type TextfieldButtonProps, type TextfieldLabelType, type TextfieldProps, Title, Toaster, Tooltip, Typography, arrayToStyleObject, colorKeys, getIconComponent, iconKeyOptions, iconMap, isEmptyObject, objectToArray, rootMediaStyle, useToast };
|