@particle-academy/react-fancy 5.1.0 → 5.2.0
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.cjs +15 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -6224,7 +6224,20 @@ var sizeClasses3 = {
|
|
|
6224
6224
|
md: "text-base",
|
|
6225
6225
|
lg: "text-lg",
|
|
6226
6226
|
xl: "text-2xl",
|
|
6227
|
-
"2xl": "text-4xl"
|
|
6227
|
+
"2xl": "text-4xl",
|
|
6228
|
+
// Display steps. Each is the next Tailwind size up, continuing the ramp.
|
|
6229
|
+
"3xl": "text-5xl",
|
|
6230
|
+
"4xl": "text-6xl",
|
|
6231
|
+
"5xl": "text-7xl",
|
|
6232
|
+
"6xl": "text-8xl",
|
|
6233
|
+
"7xl": "text-9xl"
|
|
6234
|
+
};
|
|
6235
|
+
var trackingClasses = {
|
|
6236
|
+
"3xl": "tracking-tight",
|
|
6237
|
+
"4xl": "tracking-tight",
|
|
6238
|
+
"5xl": "tracking-tighter",
|
|
6239
|
+
"6xl": "tracking-tighter",
|
|
6240
|
+
"7xl": "tracking-tighter"
|
|
6228
6241
|
};
|
|
6229
6242
|
var weightClasses = {
|
|
6230
6243
|
normal: "font-normal",
|
|
@@ -6249,6 +6262,7 @@ var Heading = react.forwardRef(
|
|
|
6249
6262
|
className: cn(
|
|
6250
6263
|
"text-zinc-900 dark:text-zinc-100",
|
|
6251
6264
|
sizeClasses3[size],
|
|
6265
|
+
trackingClasses[size],
|
|
6252
6266
|
weightClasses[weight],
|
|
6253
6267
|
className
|
|
6254
6268
|
),
|