@liner-fe/prism 2.8.12 → 2.8.13
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 +6 -6
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const defaultButtonVariants: (props?: ({
|
|
|
25
25
|
level?: "primary" | "secondary" | "tertiary" | "quaternary" | "quinary" | "negative" | "static" | "inverse-static" | undefined;
|
|
26
26
|
fill?: boolean | undefined;
|
|
27
27
|
align?: "center" | "spaceBetween" | undefined;
|
|
28
|
-
size?: "
|
|
28
|
+
size?: "l" | "m" | "s" | "cta" | undefined;
|
|
29
29
|
width?: "full" | "fit-content" | undefined;
|
|
30
30
|
} & ({
|
|
31
31
|
class?: cva.ClassValue;
|
|
@@ -174,10 +174,10 @@ declare const Display: react.ForwardRefExoticComponent<IDisplayProps & react.Ref
|
|
|
174
174
|
|
|
175
175
|
type BreakPointsKey = keyof typeof breakpointOrigin;
|
|
176
176
|
declare const rootMediaStyle: string;
|
|
177
|
-
declare const MediaContextProvider: react.ComponentType<_artsy_fresnel_dist_Media.MediaContextProviderProps<"
|
|
177
|
+
declare const MediaContextProvider: react.ComponentType<_artsy_fresnel_dist_Media.MediaContextProviderProps<"xl" | "l" | "m" | "s" | "xs" | "xxl" | "xxxl"> & {
|
|
178
178
|
children: react.ReactNode;
|
|
179
179
|
}>;
|
|
180
|
-
declare const Media: react.ComponentType<_artsy_fresnel_dist_Media.MediaProps<"
|
|
180
|
+
declare const Media: react.ComponentType<_artsy_fresnel_dist_Media.MediaProps<"xl" | "l" | "m" | "s" | "xs" | "xxl" | "xxxl", never>>;
|
|
181
181
|
|
|
182
182
|
declare const KEY = "level";
|
|
183
183
|
|
|
@@ -313,7 +313,7 @@ declare const Tooltip: (({ children, ...props }: TooltipRootProps) => react_jsx_
|
|
|
313
313
|
|
|
314
314
|
declare const iconButtonVariants: (props?: ({
|
|
315
315
|
level?: "primary" | "secondary" | "tertiary" | "quaternary" | "negative" | "static" | "inverse-static" | "inverse" | undefined;
|
|
316
|
-
size?: "
|
|
316
|
+
size?: "l" | "m" | "s" | "xs" | undefined;
|
|
317
317
|
fill?: boolean | undefined;
|
|
318
318
|
} & ({
|
|
319
319
|
class?: cva.ClassValue;
|
|
@@ -472,7 +472,7 @@ declare const useSnackbar: () => {
|
|
|
472
472
|
declare const defaultLabelVariants: (props?: ({
|
|
473
473
|
level?: "primary" | "secondary" | undefined;
|
|
474
474
|
position?: "right" | "top" | undefined;
|
|
475
|
-
size?: "
|
|
475
|
+
size?: "l" | "m" | "s" | undefined;
|
|
476
476
|
offset?: "medium" | "high" | "low" | undefined;
|
|
477
477
|
disabled?: boolean | undefined;
|
|
478
478
|
error?: boolean | undefined;
|
|
@@ -495,7 +495,7 @@ declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttri
|
|
|
495
495
|
|
|
496
496
|
declare const textButtonVariants: (props?: ({
|
|
497
497
|
level?: "primary" | "secondary" | "tertiary" | "inverse-static" | "inverse" | undefined;
|
|
498
|
-
size?: "
|
|
498
|
+
size?: "m" | "s" | undefined;
|
|
499
499
|
thick?: boolean | undefined;
|
|
500
500
|
underline?: boolean | undefined;
|
|
501
501
|
} & ({
|