tailwind-clamp 4.0.18 → 4.1.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/README.md +2 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -114,6 +114,8 @@ All spacing and sizing properties (`p`, `m`, `w`, etc.) accept unitless numbers
|
|
|
114
114
|
- `border` including `border-t`, `border-b`, `border-l`, `border-r`, `border-x`, `border-y`.
|
|
115
115
|
- `scroll-m` including `scroll-mx`, `scroll-my`, `scroll-ms`, `scroll-me`, `scroll-mt`, `scroll-mb`, `scroll-ml`, `scroll-mr`
|
|
116
116
|
- `scroll-p` including `scroll-px`, `scroll-py`, `scroll-ps`, `scroll-pe`, `scroll-pt`, `scroll-pb`, `scroll-pl`, `scroll-pr`
|
|
117
|
+
- `decoration`
|
|
118
|
+
- `underline-offset`
|
|
117
119
|
|
|
118
120
|
## Credits & mentions
|
|
119
121
|
|
package/dist/index.js
CHANGED
|
@@ -372,6 +372,12 @@ const lt = (t) => {
|
|
|
372
372
|
{ translate: "var(--tw-translate-x) var(--tw-translate-y)" }
|
|
373
373
|
]
|
|
374
374
|
};
|
|
375
|
+
case "underline-offset":
|
|
376
|
+
return {
|
|
377
|
+
type: "regular",
|
|
378
|
+
key: "textUnderlineOffset",
|
|
379
|
+
props: ["textUnderlineOffset"]
|
|
380
|
+
};
|
|
375
381
|
// Border & Stroke
|
|
376
382
|
case "stroke":
|
|
377
383
|
return {
|
|
@@ -433,6 +439,12 @@ const lt = (t) => {
|
|
|
433
439
|
key: "borderWidth",
|
|
434
440
|
props: ["borderBlockWidth"]
|
|
435
441
|
};
|
|
442
|
+
case "decoration":
|
|
443
|
+
return {
|
|
444
|
+
type: "regular",
|
|
445
|
+
key: "textDecorationThickness",
|
|
446
|
+
props: ["textDecorationThickness"]
|
|
447
|
+
};
|
|
436
448
|
// Border Radius
|
|
437
449
|
case "rounded":
|
|
438
450
|
return {
|