@psnext/design-system 1.4.0 → 1.5.1

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.
Files changed (246) hide show
  1. package/dist/index.d.cts +5 -5
  2. package/dist/index.d.cts.map +1 -1
  3. package/dist/index.d.ts +5 -5
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index10.d.cts +7 -7
  6. package/dist/index10.d.cts.map +1 -1
  7. package/dist/index10.d.ts +7 -7
  8. package/dist/index11.d.cts +3 -3
  9. package/dist/index11.d.cts.map +1 -1
  10. package/dist/index11.d.ts +3 -3
  11. package/dist/index11.d.ts.map +1 -1
  12. package/dist/index12.d.cts +11 -11
  13. package/dist/index12.d.cts.map +1 -1
  14. package/dist/index12.d.ts +11 -11
  15. package/dist/index13.d.cts +6 -6
  16. package/dist/index13.d.cts.map +1 -1
  17. package/dist/index13.d.ts +6 -6
  18. package/dist/index14.d.cts +5 -5
  19. package/dist/index14.d.cts.map +1 -1
  20. package/dist/index14.d.ts +5 -5
  21. package/dist/index14.d.ts.map +1 -1
  22. package/dist/index15.d.cts +3 -3
  23. package/dist/index15.d.cts.map +1 -1
  24. package/dist/index15.d.ts +3 -3
  25. package/dist/index16.d.cts +2 -2
  26. package/dist/index16.d.cts.map +1 -1
  27. package/dist/index16.d.ts +2 -2
  28. package/dist/index17.d.cts +4 -4
  29. package/dist/index17.d.cts.map +1 -1
  30. package/dist/index17.d.ts +4 -4
  31. package/dist/index17.d.ts.map +1 -1
  32. package/dist/index18.d.cts +11 -11
  33. package/dist/index18.d.cts.map +1 -1
  34. package/dist/index18.d.ts +11 -11
  35. package/dist/index19.d.cts +10 -10
  36. package/dist/index19.d.cts.map +1 -1
  37. package/dist/index19.d.ts +10 -10
  38. package/dist/index2.d.cts +8 -8
  39. package/dist/index2.d.cts.map +1 -1
  40. package/dist/index2.d.ts +8 -8
  41. package/dist/index20.d.cts +16 -16
  42. package/dist/index20.d.cts.map +1 -1
  43. package/dist/index20.d.ts +16 -16
  44. package/dist/index21.d.cts +4 -4
  45. package/dist/index21.d.cts.map +1 -1
  46. package/dist/index21.d.ts +4 -4
  47. package/dist/index22.d.cts +11 -11
  48. package/dist/index22.d.cts.map +1 -1
  49. package/dist/index22.d.ts +11 -11
  50. package/dist/index22.d.ts.map +1 -1
  51. package/dist/index23.d.cts +16 -16
  52. package/dist/index23.d.cts.map +1 -1
  53. package/dist/index23.d.ts +16 -16
  54. package/dist/index24.d.cts +10 -10
  55. package/dist/index24.d.cts.map +1 -1
  56. package/dist/index24.d.ts +10 -10
  57. package/dist/index25.d.cts +2 -2
  58. package/dist/index25.d.ts +2 -2
  59. package/dist/index26.d.cts +14 -14
  60. package/dist/index26.d.cts.map +1 -1
  61. package/dist/index26.d.ts +14 -14
  62. package/dist/index26.d.ts.map +1 -1
  63. package/dist/index27.d.cts +7 -7
  64. package/dist/index27.d.ts +7 -7
  65. package/dist/index27.d.ts.map +1 -1
  66. package/dist/index28.d.cts +6 -6
  67. package/dist/index28.d.cts.map +1 -1
  68. package/dist/index28.d.ts +5 -5
  69. package/dist/index28.d.ts.map +1 -1
  70. package/dist/index29.d.cts +4 -4
  71. package/dist/index29.d.cts.map +1 -1
  72. package/dist/index29.d.ts +4 -4
  73. package/dist/index29.d.ts.map +1 -1
  74. package/dist/index3.d.cts +13 -13
  75. package/dist/index3.d.cts.map +1 -1
  76. package/dist/index3.d.ts +13 -13
  77. package/dist/index3.d.ts.map +1 -1
  78. package/dist/index30.d.cts +6 -6
  79. package/dist/index30.d.cts.map +1 -1
  80. package/dist/index30.d.ts +4 -4
  81. package/dist/index31.d.cts +5 -5
  82. package/dist/index31.d.cts.map +1 -1
  83. package/dist/index31.d.ts +4 -4
  84. package/dist/index32.d.cts +5 -5
  85. package/dist/index32.d.cts.map +1 -1
  86. package/dist/index32.d.ts +5 -5
  87. package/dist/index33.d.cts +11 -11
  88. package/dist/index33.d.cts.map +1 -1
  89. package/dist/index33.d.ts +11 -11
  90. package/dist/index34.d.cts +5 -5
  91. package/dist/index34.d.cts.map +1 -1
  92. package/dist/index34.d.ts +5 -5
  93. package/dist/index35.d.cts +14 -14
  94. package/dist/index35.d.ts +14 -14
  95. package/dist/index36.d.cts +3 -3
  96. package/dist/index36.d.cts.map +1 -1
  97. package/dist/index36.d.ts +3 -3
  98. package/dist/index36.d.ts.map +1 -1
  99. package/dist/index37.d.cts +5 -5
  100. package/dist/index37.d.ts +4 -4
  101. package/dist/index37.d.ts.map +1 -1
  102. package/dist/index38.d.cts +2 -2
  103. package/dist/index38.d.ts +2 -2
  104. package/dist/index39.d.cts +17 -17
  105. package/dist/index39.d.ts +17 -17
  106. package/dist/index39.d.ts.map +1 -1
  107. package/dist/index4.d.cts +2 -2
  108. package/dist/index4.d.cts.map +1 -1
  109. package/dist/index4.d.ts +2 -2
  110. package/dist/index4.d.ts.map +1 -1
  111. package/dist/index40.d.cts +3 -3
  112. package/dist/index40.d.ts +3 -3
  113. package/dist/index40.d.ts.map +1 -1
  114. package/dist/index41.d.cts +11 -11
  115. package/dist/index41.d.cts.map +1 -1
  116. package/dist/index41.d.ts +11 -11
  117. package/dist/index41.d.ts.map +1 -1
  118. package/dist/index42.d.cts +8 -8
  119. package/dist/index42.d.cts.map +1 -1
  120. package/dist/index42.d.ts +8 -8
  121. package/dist/index42.d.ts.map +1 -1
  122. package/dist/index43.d.cts +9 -9
  123. package/dist/index43.d.ts +9 -9
  124. package/dist/index44.d.cts +8 -8
  125. package/dist/index44.d.cts.map +1 -1
  126. package/dist/index44.d.ts +8 -8
  127. package/dist/index44.d.ts.map +1 -1
  128. package/dist/index45.d.cts +2 -2
  129. package/dist/index45.d.cts.map +1 -1
  130. package/dist/index45.d.ts +2 -2
  131. package/dist/index46.d.cts +4 -4
  132. package/dist/index46.d.ts +4 -4
  133. package/dist/index46.d.ts.map +1 -1
  134. package/dist/index47.d.cts +4 -4
  135. package/dist/index47.d.cts.map +1 -1
  136. package/dist/index47.d.ts +4 -4
  137. package/dist/index48.d.cts +3 -3
  138. package/dist/index48.d.cts.map +1 -1
  139. package/dist/index48.d.ts +3 -3
  140. package/dist/index48.d.ts.map +1 -1
  141. package/dist/index49.d.cts +11 -11
  142. package/dist/index49.d.ts +11 -11
  143. package/dist/index49.d.ts.map +1 -1
  144. package/dist/index5.d.cts +7 -7
  145. package/dist/index5.d.cts.map +1 -1
  146. package/dist/index5.d.ts +7 -7
  147. package/dist/index5.d.ts.map +1 -1
  148. package/dist/index50.d.cts +9 -9
  149. package/dist/index50.d.ts +9 -9
  150. package/dist/index50.d.ts.map +1 -1
  151. package/dist/index51.d.cts +5 -5
  152. package/dist/index51.d.ts +5 -5
  153. package/dist/index51.d.ts.map +1 -1
  154. package/dist/index52.d.cts +26 -26
  155. package/dist/index52.d.ts +26 -26
  156. package/dist/index53.d.cts +5 -5
  157. package/dist/index53.d.cts.map +1 -1
  158. package/dist/index53.d.ts +5 -5
  159. package/dist/index53.d.ts.map +1 -1
  160. package/dist/index54.d.cts +2 -2
  161. package/dist/index54.d.cts.map +1 -1
  162. package/dist/index54.d.ts +2 -2
  163. package/dist/index54.d.ts.map +1 -1
  164. package/dist/index55.d.cts +2 -2
  165. package/dist/index55.d.cts.map +1 -1
  166. package/dist/index55.d.ts +2 -2
  167. package/dist/index55.d.ts.map +1 -1
  168. package/dist/index56.d.cts +2 -2
  169. package/dist/index56.d.ts +2 -2
  170. package/dist/index56.d.ts.map +1 -1
  171. package/dist/index57.d.cts +4 -4
  172. package/dist/index57.d.ts +4 -4
  173. package/dist/index57.d.ts.map +1 -1
  174. package/dist/index58.d.cts +9 -9
  175. package/dist/index58.d.ts +9 -9
  176. package/dist/index58.d.ts.map +1 -1
  177. package/dist/index59.d.cts +11 -11
  178. package/dist/index59.d.cts.map +1 -1
  179. package/dist/index59.d.ts +11 -11
  180. package/dist/index59.d.ts.map +1 -1
  181. package/dist/index6.d.cts +5 -5
  182. package/dist/index6.d.cts.map +1 -1
  183. package/dist/index6.d.ts +5 -5
  184. package/dist/index60.d.cts +7 -7
  185. package/dist/index60.d.cts.map +1 -1
  186. package/dist/index60.d.ts +6 -6
  187. package/dist/index60.d.ts.map +1 -1
  188. package/dist/index61.d.cts +4 -4
  189. package/dist/index61.d.cts.map +1 -1
  190. package/dist/index61.d.ts +4 -4
  191. package/dist/index61.d.ts.map +1 -1
  192. package/dist/index62.d.cts +2 -2
  193. package/dist/index62.d.ts +2 -2
  194. package/dist/index62.d.ts.map +1 -1
  195. package/dist/index63.d.cts +4 -4
  196. package/dist/index63.d.cts.map +1 -1
  197. package/dist/index63.d.ts +5 -5
  198. package/dist/index64.d.cts +3 -3
  199. package/dist/index64.d.cts.map +1 -1
  200. package/dist/index64.d.ts +3 -3
  201. package/dist/index64.d.ts.map +1 -1
  202. package/dist/index65.d.cts +4 -4
  203. package/dist/index65.d.ts +5 -5
  204. package/dist/index65.d.ts.map +1 -1
  205. package/dist/index66.d.cts +2 -2
  206. package/dist/index66.d.cts.map +1 -1
  207. package/dist/index66.d.ts +2 -2
  208. package/dist/index66.d.ts.map +1 -1
  209. package/dist/index67.d.cts +8 -8
  210. package/dist/index67.d.cts.map +1 -1
  211. package/dist/index67.d.ts +8 -8
  212. package/dist/index67.d.ts.map +1 -1
  213. package/dist/index68.d.cts +7 -7
  214. package/dist/index68.d.cts.map +1 -1
  215. package/dist/index68.d.ts +7 -7
  216. package/dist/index68.d.ts.map +1 -1
  217. package/dist/index7.d.cts +8 -8
  218. package/dist/index7.d.cts.map +1 -1
  219. package/dist/index7.d.ts +8 -8
  220. package/dist/index70.d.cts +8 -8
  221. package/dist/index70.d.ts +8 -8
  222. package/dist/index8.d.cts +4 -4
  223. package/dist/index8.d.cts.map +1 -1
  224. package/dist/index8.d.ts +4 -4
  225. package/dist/index9.d.cts +2 -2
  226. package/dist/index9.d.cts.map +1 -1
  227. package/dist/index9.d.ts +2 -2
  228. package/dist/patterns/DataTable/index.d.cts +3 -3
  229. package/dist/patterns/DataTable/index.d.cts.map +1 -1
  230. package/dist/patterns/DataTable/index.d.ts +3 -3
  231. package/dist/patterns/Footer/index.d.cts +7 -7
  232. package/dist/patterns/Footer/index.d.cts.map +1 -1
  233. package/dist/patterns/Footer/index.d.ts +7 -7
  234. package/dist/patterns/Footer/index.d.ts.map +1 -1
  235. package/dist/patterns/MediaObject/index.d.cts +11 -11
  236. package/dist/patterns/MediaObject/index.d.ts +11 -11
  237. package/dist/patterns/MediaObject/index.d.ts.map +1 -1
  238. package/dist/patterns/SectionCard/index.d.cts +2 -2
  239. package/dist/patterns/SectionCard/index.d.ts +2 -2
  240. package/dist/patterns/SectionCard/index.d.ts.map +1 -1
  241. package/dist/patterns/SectionHeading/index.d.cts +2 -2
  242. package/dist/patterns/SectionHeading/index.d.ts +2 -2
  243. package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
  244. package/dist/styles/base.css +52 -46
  245. package/dist/styles/typography.css +118 -113
  246. package/package.json +1 -1
@@ -3,55 +3,61 @@
3
3
  shares the same baseline (border color, focus outline, page
4
4
  surface). Lives in @layer base, so component/app utilities still
5
5
  override it per-element.
6
+
7
+ Add class="ds-no-base" to any element to punch a hole in these
8
+ defaults — that element and its entire subtree are excluded.
9
+ Multiple holes are independent (Swiss cheese, not a donut).
6
10
  ============================================================ */
7
11
 
8
- @layer base {
9
- * {
10
- @apply border-border outline-ring/50;
11
- }
12
- body {
13
- @apply bg-background text-foreground;
14
- }
12
+ @scope (html) to (.ds-no-base) {
13
+ @layer base {
14
+ * {
15
+ @apply border-border outline-ring/50;
16
+ }
17
+ body {
18
+ @apply bg-background text-foreground;
19
+ }
15
20
 
16
- /* Raw heading tags pick up the heading type scale by default (Tailwind's
17
- preflight otherwise resets h1–h6 to inherit). h1–h4 are Regular, h5–h6
18
- Medium — matching the Heading primitive. In @layer base, so any utility
19
- class (text-2xl, font-bold, the Heading component's size classes, …) still
20
- overrides per element. */
21
- h1,
22
- h2,
23
- h3,
24
- h4,
25
- h5,
26
- h6 {
27
- font-family: var(--font-heading);
28
- font-weight: 400;
29
- }
30
- h1 {
31
- font-size: var(--heading-1-font-size);
32
- line-height: var(--heading-1-line-height);
33
- }
34
- h2 {
35
- font-size: var(--heading-2-font-size);
36
- line-height: var(--heading-2-line-height);
37
- }
38
- h3 {
39
- font-size: var(--heading-3-font-size);
40
- line-height: var(--heading-3-line-height);
41
- }
42
- h4 {
43
- font-size: var(--heading-4-font-size);
44
- line-height: var(--heading-4-line-height);
45
- }
46
- h5 {
47
- font-size: var(--heading-5-font-size);
48
- line-height: var(--heading-5-line-height);
49
- font-weight: 500;
50
- }
51
- h6 {
52
- font-size: var(--heading-6-font-size);
53
- line-height: var(--heading-6-line-height);
54
- font-weight: 500;
21
+ /* Raw heading tags pick up the heading type scale by default (Tailwind's
22
+ preflight otherwise resets h1–h6 to inherit). h1–h4 are Regular, h5–h6
23
+ Medium — matching the Heading primitive. In @layer base, so any utility
24
+ class (text-2xl, font-bold, the Heading component's size classes, …) still
25
+ overrides per element. */
26
+ h1,
27
+ h2,
28
+ h3,
29
+ h4,
30
+ h5,
31
+ h6 {
32
+ font-family: var(--font-heading);
33
+ font-weight: 400;
34
+ }
35
+ h1 {
36
+ font-size: var(--heading-1-font-size);
37
+ line-height: var(--heading-1-line-height);
38
+ }
39
+ h2 {
40
+ font-size: var(--heading-2-font-size);
41
+ line-height: var(--heading-2-line-height);
42
+ }
43
+ h3 {
44
+ font-size: var(--heading-3-font-size);
45
+ line-height: var(--heading-3-line-height);
46
+ }
47
+ h4 {
48
+ font-size: var(--heading-4-font-size);
49
+ line-height: var(--heading-4-line-height);
50
+ }
51
+ h5 {
52
+ font-size: var(--heading-5-font-size);
53
+ line-height: var(--heading-5-line-height);
54
+ font-weight: 500;
55
+ }
56
+ h6 {
57
+ font-size: var(--heading-6-font-size);
58
+ line-height: var(--heading-6-line-height);
59
+ font-weight: 500;
60
+ }
55
61
  }
56
62
  }
57
63
 
@@ -9,128 +9,133 @@
9
9
  `class` is component-managed and left alone. Bare tags (what a
10
10
  markdown renderer emits) get a readable default here.
11
11
 
12
+ Gated by @scope (html) to (.ds-no-base) — add ds-no-base to any
13
+ element to punch a hole in these defaults for that subtree.
14
+
12
15
  `@layer base` so component/app utilities always win. All values
13
16
  come from the design-system tokens.
14
17
  ============================================================ */
15
18
 
16
- @layer base {
17
- /* ── Vertical rhythm (block flow) ─────────────────────────── */
18
- :where(p, ul, ol, blockquote, pre, table, hr, figure):not([class]):not([data-slot]) {
19
- margin-block: 0 1rem;
20
- }
21
- :where(h1, h2, h3, h4, h5, h6):not([class]):not([data-slot]) {
22
- margin-block: 1.5rem 0.5rem;
23
- }
24
- /* No leading gap on the first block of a flow container. */
25
- :where(p, ul, ol, blockquote, pre, table, hr, figure, h1, h2, h3, h4, h5, h6):not(
26
- [class]
27
- ):first-child {
28
- margin-block-start: 0;
29
- }
19
+ @scope (html) to (.ds-no-base) {
20
+ @layer base {
21
+ /* ── Vertical rhythm (block flow) ─────────────────────────── */
22
+ :where(p, ul, ol, blockquote, pre, table, hr, figure):not([class]):not([data-slot]) {
23
+ margin-block: 0 1rem;
24
+ }
25
+ :where(h1, h2, h3, h4, h5, h6):not([class]):not([data-slot]) {
26
+ margin-block: 1.5rem 0.5rem;
27
+ }
28
+ /* No leading gap on the first block of a flow container. */
29
+ :where(p, ul, ol, blockquote, pre, table, hr, figure, h1, h2, h3, h4, h5, h6):not(
30
+ [class]
31
+ ):first-child {
32
+ margin-block-start: 0;
33
+ }
30
34
 
31
- /* ── Paragraph / inline text ──────────────────────────────── */
32
- p:not([class]):not([data-slot]) {
33
- font-size: var(--paragraph-regular-font-size);
34
- line-height: var(--paragraph-regular-line-height);
35
- }
36
- a:not([class]):not([data-slot]) {
37
- color: inherit;
38
- text-decoration: underline;
39
- text-underline-offset: 2px;
40
- }
41
- a:not([class]):not([data-slot]):hover {
42
- text-decoration-thickness: 2px;
43
- }
44
- strong:not([class]):not([data-slot]),
45
- b:not([class]):not([data-slot]) {
46
- font-weight: 600;
47
- }
48
- em:not([class]):not([data-slot]),
49
- i:not([class]):not([data-slot]) {
50
- font-style: italic;
51
- }
52
- small:not([class]):not([data-slot]) {
53
- font-size: var(--paragraph-small-font-size);
54
- }
35
+ /* ── Paragraph / inline text ──────────────────────────────── */
36
+ p:not([class]):not([data-slot]) {
37
+ font-size: var(--paragraph-regular-font-size);
38
+ line-height: var(--paragraph-regular-line-height);
39
+ }
40
+ a:not([class]):not([data-slot]) {
41
+ color: inherit;
42
+ text-decoration: underline;
43
+ text-underline-offset: 2px;
44
+ }
45
+ a:not([class]):not([data-slot]):hover {
46
+ text-decoration-thickness: 2px;
47
+ }
48
+ strong:not([class]):not([data-slot]),
49
+ b:not([class]):not([data-slot]) {
50
+ font-weight: 600;
51
+ }
52
+ em:not([class]):not([data-slot]),
53
+ i:not([class]):not([data-slot]) {
54
+ font-style: italic;
55
+ }
56
+ small:not([class]):not([data-slot]) {
57
+ font-size: var(--paragraph-small-font-size);
58
+ }
55
59
 
56
- /* ── Lists ────────────────────────────────────────────────── */
57
- ul:not([class]):not([data-slot]),
58
- ol:not([class]):not([data-slot]) {
59
- padding-inline-start: 1.5rem;
60
- }
61
- ul:not([class]):not([data-slot]) {
62
- list-style: disc;
63
- }
64
- ol:not([class]):not([data-slot]) {
65
- list-style: decimal;
66
- }
67
- li:not([class]):not([data-slot]) {
68
- margin-block: 0.25rem;
69
- }
70
- /* Nested lists tighten up and lose the extra block margin. */
71
- :where(ul, ol):not([class]):not([data-slot]) :where(ul, ol):not([class]):not([data-slot]) {
72
- margin-block: 0.25rem 0;
73
- }
60
+ /* ── Lists ────────────────────────────────────────────────── */
61
+ ul:not([class]):not([data-slot]),
62
+ ol:not([class]):not([data-slot]) {
63
+ padding-inline-start: 1.5rem;
64
+ }
65
+ ul:not([class]):not([data-slot]) {
66
+ list-style: disc;
67
+ }
68
+ ol:not([class]):not([data-slot]) {
69
+ list-style: decimal;
70
+ }
71
+ li:not([class]):not([data-slot]) {
72
+ margin-block: 0.25rem;
73
+ }
74
+ /* Nested lists tighten up and lose the extra block margin. */
75
+ :where(ul, ol):not([class]):not([data-slot]) :where(ul, ol):not([class]):not([data-slot]) {
76
+ margin-block: 0.25rem 0;
77
+ }
74
78
 
75
- /* ── Code ─────────────────────────────────────────────────── */
76
- code:not([class]):not([data-slot]),
77
- kbd:not([class]):not([data-slot]),
78
- samp:not([class]):not([data-slot]) {
79
- font-family: var(--font-definitions-font-family-monospace);
80
- font-size: 0.875em;
81
- }
82
- /* Inline code chip (a bare <code> not inside a <pre>). */
83
- :not(pre) > code:not([class]):not([data-slot]) {
84
- border-radius: var(--rounded-sm);
85
- background-color: var(--muted);
86
- padding: 0.125rem 0.375rem;
87
- }
88
- pre:not([class]):not([data-slot]) {
89
- overflow-x: auto;
90
- border-radius: var(--rounded-lg);
91
- background-color: var(--muted);
92
- padding: 1rem;
93
- font-size: var(--paragraph-small-font-size);
94
- line-height: var(--paragraph-small-line-height);
95
- }
96
- pre:not([class]):not([data-slot]) code {
97
- font-family: var(--font-definitions-font-family-monospace);
98
- background-color: transparent;
99
- padding: 0;
100
- }
79
+ /* ── Code ─────────────────────────────────────────────────── */
80
+ code:not([class]):not([data-slot]),
81
+ kbd:not([class]):not([data-slot]),
82
+ samp:not([class]):not([data-slot]) {
83
+ font-family: var(--font-definitions-font-family-monospace);
84
+ font-size: 0.875em;
85
+ }
86
+ /* Inline code chip (a bare <code> not inside a <pre>). */
87
+ :not(pre) > code:not([class]):not([data-slot]) {
88
+ border-radius: var(--rounded-sm);
89
+ background-color: var(--muted);
90
+ padding: 0.125rem 0.375rem;
91
+ }
92
+ pre:not([class]):not([data-slot]) {
93
+ overflow-x: auto;
94
+ border-radius: var(--rounded-lg);
95
+ background-color: var(--muted);
96
+ padding: 1rem;
97
+ font-size: var(--paragraph-small-font-size);
98
+ line-height: var(--paragraph-small-line-height);
99
+ }
100
+ pre:not([class]):not([data-slot]) code {
101
+ font-family: var(--font-definitions-font-family-monospace);
102
+ background-color: transparent;
103
+ padding: 0;
104
+ }
101
105
 
102
- /* ── Blockquote ───────────────────────────────────────────── */
103
- blockquote:not([class]):not([data-slot]) {
104
- border-inline-start: 3px solid var(--border);
105
- padding-inline-start: 1rem;
106
- color: var(--muted-foreground);
107
- font-style: italic;
108
- }
106
+ /* ── Blockquote ───────────────────────────────────────────── */
107
+ blockquote:not([class]):not([data-slot]) {
108
+ border-inline-start: 3px solid var(--border);
109
+ padding-inline-start: 1rem;
110
+ color: var(--muted-foreground);
111
+ font-style: italic;
112
+ }
109
113
 
110
- /* ── Rule / media ─────────────────────────────────────────── */
111
- hr:not([class]):not([data-slot]) {
112
- border: 0;
113
- border-top: 1px solid var(--border);
114
- }
115
- img:not([class]):not([data-slot]),
116
- video:not([class]):not([data-slot]) {
117
- max-width: 100%;
118
- height: auto;
119
- border-radius: var(--rounded-lg);
120
- }
114
+ /* ── Rule / media ─────────────────────────────────────────── */
115
+ hr:not([class]):not([data-slot]) {
116
+ border: 0;
117
+ border-top: 1px solid var(--border);
118
+ }
119
+ img:not([class]):not([data-slot]),
120
+ video:not([class]):not([data-slot]) {
121
+ max-width: 100%;
122
+ height: auto;
123
+ border-radius: var(--rounded-lg);
124
+ }
121
125
 
122
- /* ── Tables ───────────────────────────────────────────────── */
123
- table:not([class]):not([data-slot]) {
124
- width: 100%;
125
- border-collapse: collapse;
126
- font-size: var(--paragraph-small-font-size);
127
- }
128
- :where(th, td):not([class]):not([data-slot]) {
129
- border-bottom: 1px solid var(--border);
130
- padding: 0.5rem 0.75rem;
131
- text-align: start;
132
- }
133
- th:not([class]):not([data-slot]) {
134
- font-weight: 600;
126
+ /* ── Tables ───────────────────────────────────────────────── */
127
+ table:not([class]):not([data-slot]) {
128
+ width: 100%;
129
+ border-collapse: collapse;
130
+ font-size: var(--paragraph-small-font-size);
131
+ }
132
+ :where(th, td):not([class]):not([data-slot]) {
133
+ border-bottom: 1px solid var(--border);
134
+ padding: 0.5rem 0.75rem;
135
+ text-align: start;
136
+ }
137
+ th:not([class]):not([data-slot]) {
138
+ font-weight: 600;
139
+ }
135
140
  }
136
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@psnext/design-system",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Sapient AI Products design system — primitives, patterns, and layouts.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,