@mediaradar/design-components 0.18.3 → 0.18.5
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 +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/scripts/tailwind-coverage.mjs +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediaradar/design-components",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"build": "tsup",
|
|
29
29
|
"typecheck": "tsc --noEmit",
|
|
30
30
|
"check:token-compat": "node scripts/check-token-compat.mjs",
|
|
31
|
-
"check:arbitrary-values": "node scripts/check-arbitrary-values.mjs"
|
|
31
|
+
"check:arbitrary-values": "node scripts/check-arbitrary-values.mjs",
|
|
32
|
+
"test": "node --test test/cn.test.mjs"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
|
34
35
|
"@mediaradar/design-tokens": ">=3.1.0",
|
|
@@ -26,9 +26,14 @@ const KNOWN_NON_CLASS_EXACT = new Set([
|
|
|
26
26
|
// from the CSS -- which they always will be.
|
|
27
27
|
//
|
|
28
28
|
// `font-size` is a tailwind-merge class-GROUP name from cn.ts's
|
|
29
|
-
// extendTailwindMerge config
|
|
29
|
+
// extendTailwindMerge config, and `card-title` / `panel-title` /
|
|
30
|
+
// `control-caption` are that group's bare size keys (the classes are
|
|
31
|
+
// `text-card-title`, `text-panel-title` and `text-control-caption`). The box keywords are CSS values, from the
|
|
30
32
|
// background-clip stack that draws Badge's gradient outline.
|
|
31
33
|
"font-size",
|
|
34
|
+
"card-title",
|
|
35
|
+
"panel-title",
|
|
36
|
+
"control-caption",
|
|
32
37
|
"border-box",
|
|
33
38
|
"padding-box",
|
|
34
39
|
"content-box",
|