@mediaradar/design-components 0.18.3 → 0.18.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediaradar/design-components",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
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,13 @@ 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. The box keywords are CSS values, from the
29
+ // extendTailwindMerge config, and `card-title` / `panel-title` are that
30
+ // group's bare size keys (the classes are `text-card-title` and
31
+ // `text-panel-title`). 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",
32
36
  "border-box",
33
37
  "padding-box",
34
38
  "content-box",