@sanity/ui 5.0.0-alpha.13 → 5.0.0-alpha.14
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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/src/css/classes/local/text-trim.css +0 -4
- package/src/css/classes/system/typography.css +0 -4
- package/src/types/Heading.ts +1 -1
- package/src/version.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -488,7 +488,7 @@ interface HStackProps<T extends React.ElementType = 'div'> extends Pick<FlexProp
|
|
|
488
488
|
export declare function HStack<T extends ElementType = 'div'>({ className, ...props }: HStackProps<T> & Omit<ComponentPropsWithRef<T>, keyof HStackProps<T>>): import("react").JSX.Element;
|
|
489
489
|
declare const HEADING_TAG: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
490
490
|
type HeadingTag = (typeof HEADING_TAG)[number];
|
|
491
|
-
declare const HEADING_SIZE: readonly [0, 1, 2, 3, 4, 5
|
|
491
|
+
declare const HEADING_SIZE: readonly [0, 1, 2, 3, 4, 5];
|
|
492
492
|
/** @public */
|
|
493
493
|
type HeadingSize = (typeof HEADING_SIZE)[number];
|
|
494
494
|
/** @public */
|
package/dist/index.js
CHANGED
|
@@ -81,7 +81,7 @@ function getCompositeValue(propValue, propDef, key) {
|
|
|
81
81
|
return compositeValue;
|
|
82
82
|
}
|
|
83
83
|
function suffixClassName(className) {
|
|
84
|
-
return `${className}-
|
|
84
|
+
return `${className}-f8a1c2`;
|
|
85
85
|
}
|
|
86
86
|
const SPACE = [
|
|
87
87
|
0,
|
|
@@ -1110,11 +1110,7 @@ const headingProps = {
|
|
|
1110
1110
|
2,
|
|
1111
1111
|
3,
|
|
1112
1112
|
4,
|
|
1113
|
-
5
|
|
1114
|
-
6,
|
|
1115
|
-
7,
|
|
1116
|
-
8,
|
|
1117
|
-
9
|
|
1113
|
+
5
|
|
1118
1114
|
]
|
|
1119
1115
|
},
|
|
1120
1116
|
...typographyProps
|