@vegastack/design 0.8.44 → 0.8.45

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.
@@ -44,6 +44,8 @@ var prose = {
44
44
  strong: "[&_strong]:font-semibold",
45
45
  em: "[&_em]:italic",
46
46
  del: "[&_del]:line-through [&_s]:line-through",
47
+ // A highlight (`==text==`): its colour's subtle tag fill behind body ink, kept on paper too.
48
+ mark: "[&_mark]:rounded-xs [&_mark]:bg-tag-yellow-subtle [&_mark]:px-0.5 [&_mark]:text-inherit [&_mark]:box-decoration-clone [&_mark]:[print-color-adjust:exact] [&_mark[data-color=green]]:bg-tag-green-subtle [&_mark[data-color=blue]]:bg-tag-blue-subtle [&_mark[data-color=purple]]:bg-tag-purple-subtle [&_mark[data-color=pink]]:bg-tag-pink-subtle [&_mark[data-color=red]]:bg-tag-red-subtle",
47
49
  // Lists. Items and markers are body text: family, size and ink inherit (a `::marker` takes the
48
50
  // item's font), so `1.` and `•` never read as a second typeface or a second colour. One thing
49
51
  // does NOT inherit: the user-agent stylesheet gives `::marker` `font-variant-numeric:
@@ -84,6 +84,8 @@ var prose = {
84
84
  strong: "[&_strong]:font-semibold",
85
85
  em: "[&_em]:italic",
86
86
  del: "[&_del]:line-through [&_s]:line-through",
87
+ // A highlight (`==text==`): its colour's subtle tag fill behind body ink, kept on paper too.
88
+ mark: "[&_mark]:rounded-xs [&_mark]:bg-tag-yellow-subtle [&_mark]:px-0.5 [&_mark]:text-inherit [&_mark]:box-decoration-clone [&_mark]:[print-color-adjust:exact] [&_mark[data-color=green]]:bg-tag-green-subtle [&_mark[data-color=blue]]:bg-tag-blue-subtle [&_mark[data-color=purple]]:bg-tag-purple-subtle [&_mark[data-color=pink]]:bg-tag-pink-subtle [&_mark[data-color=red]]:bg-tag-red-subtle",
87
89
  // Lists. Items and markers are body text: family, size and ink inherit (a `::marker` takes the
88
90
  // item's font), so `1.` and `•` never read as a second typeface or a second colour. One thing
89
91
  // does NOT inherit: the user-agent stylesheet gives `::marker` `font-variant-numeric:
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  cn
4
- } from "./chunk-TJIBDRBZ.js";
4
+ } from "./chunk-FTYGS5BK.js";
5
5
 
6
6
  // src/icons/create-animated-icon.tsx
7
7
  import * as React from "react";
@@ -98,6 +98,8 @@ var prose = {
98
98
  strong: "[&_strong]:font-semibold",
99
99
  em: "[&_em]:italic",
100
100
  del: "[&_del]:line-through [&_s]:line-through",
101
+ // A highlight (`==text==`): its colour's subtle tag fill behind body ink, kept on paper too.
102
+ mark: "[&_mark]:rounded-xs [&_mark]:bg-tag-yellow-subtle [&_mark]:px-0.5 [&_mark]:text-inherit [&_mark]:box-decoration-clone [&_mark]:[print-color-adjust:exact] [&_mark[data-color=green]]:bg-tag-green-subtle [&_mark[data-color=blue]]:bg-tag-blue-subtle [&_mark[data-color=purple]]:bg-tag-purple-subtle [&_mark[data-color=pink]]:bg-tag-pink-subtle [&_mark[data-color=red]]:bg-tag-red-subtle",
101
103
  // Lists. Items and markers are body text: family, size and ink inherit (a `::marker` takes the
102
104
  // item's font), so `1.` and `•` never read as a second typeface or a second colour. One thing
103
105
  // does NOT inherit: the user-agent stylesheet gives `::marker` `font-variant-numeric:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cn
3
- } from "../chunk-TJIBDRBZ.js";
3
+ } from "../chunk-FTYGS5BK.js";
4
4
 
5
5
  // src/icons/icon.tsx
6
6
  import "react";
package/dist/index.cjs CHANGED
@@ -75,6 +75,8 @@ var prose = {
75
75
  strong: "[&_strong]:font-semibold",
76
76
  em: "[&_em]:italic",
77
77
  del: "[&_del]:line-through [&_s]:line-through",
78
+ // A highlight (`==text==`): its colour's subtle tag fill behind body ink, kept on paper too.
79
+ mark: "[&_mark]:rounded-xs [&_mark]:bg-tag-yellow-subtle [&_mark]:px-0.5 [&_mark]:text-inherit [&_mark]:box-decoration-clone [&_mark]:[print-color-adjust:exact] [&_mark[data-color=green]]:bg-tag-green-subtle [&_mark[data-color=blue]]:bg-tag-blue-subtle [&_mark[data-color=purple]]:bg-tag-purple-subtle [&_mark[data-color=pink]]:bg-tag-pink-subtle [&_mark[data-color=red]]:bg-tag-red-subtle",
78
80
  // Lists. Items and markers are body text: family, size and ink inherit (a `::marker` takes the
79
81
  // item's font), so `1.` and `•` never read as a second typeface or a second colour. One thing
80
82
  // does NOT inherit: the user-agent stylesheet gives `::marker` `font-variant-numeric:
package/dist/index.d.cts CHANGED
@@ -72,6 +72,7 @@ declare const prose: {
72
72
  readonly strong: "[&_strong]:font-semibold";
73
73
  readonly em: "[&_em]:italic";
74
74
  readonly del: "[&_del]:line-through [&_s]:line-through";
75
+ readonly mark: "[&_mark]:rounded-xs [&_mark]:bg-tag-yellow-subtle [&_mark]:px-0.5 [&_mark]:text-inherit [&_mark]:box-decoration-clone [&_mark]:[print-color-adjust:exact] [&_mark[data-color=green]]:bg-tag-green-subtle [&_mark[data-color=blue]]:bg-tag-blue-subtle [&_mark[data-color=purple]]:bg-tag-purple-subtle [&_mark[data-color=pink]]:bg-tag-pink-subtle [&_mark[data-color=red]]:bg-tag-red-subtle";
75
76
  readonly ul: "[&_ul]:my-2 [&_ul]:ms-5 [&_ul]:list-disc [&_ul.contains-task-list]:list-none";
76
77
  readonly ol: "[&_ol]:my-2 [&_ol]:ms-5 [&_ol]:list-decimal";
77
78
  readonly li: "[&_li]:mt-1 [&_li]:marker:normal-nums [&_li]:marker:text-inherit [&_li_p]:my-0";
package/dist/index.d.ts CHANGED
@@ -72,6 +72,7 @@ declare const prose: {
72
72
  readonly strong: "[&_strong]:font-semibold";
73
73
  readonly em: "[&_em]:italic";
74
74
  readonly del: "[&_del]:line-through [&_s]:line-through";
75
+ readonly mark: "[&_mark]:rounded-xs [&_mark]:bg-tag-yellow-subtle [&_mark]:px-0.5 [&_mark]:text-inherit [&_mark]:box-decoration-clone [&_mark]:[print-color-adjust:exact] [&_mark[data-color=green]]:bg-tag-green-subtle [&_mark[data-color=blue]]:bg-tag-blue-subtle [&_mark[data-color=purple]]:bg-tag-purple-subtle [&_mark[data-color=pink]]:bg-tag-pink-subtle [&_mark[data-color=red]]:bg-tag-red-subtle";
75
76
  readonly ul: "[&_ul]:my-2 [&_ul]:ms-5 [&_ul]:list-disc [&_ul.contains-task-list]:list-none";
76
77
  readonly ol: "[&_ol]:my-2 [&_ol]:ms-5 [&_ol]:list-decimal";
77
78
  readonly li: "[&_li]:mt-1 [&_li]:marker:normal-nums [&_li]:marker:text-inherit [&_li_p]:my-0";
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  proseClassName,
8
8
  proseDocument,
9
9
  proseDocumentClassName
10
- } from "./chunk-TJIBDRBZ.js";
10
+ } from "./chunk-FTYGS5BK.js";
11
11
  export {
12
12
  FLOATING,
13
13
  TIMINGS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vegastack/design",
3
- "version": "0.8.44",
3
+ "version": "0.8.45",
4
4
  "description": "VegaStack design system — cn utility, icon runtime, Tailwind v4 preset, and the vegastack-design CLI (tokens ship separately as @vegastack/design-tokens)",
5
5
  "license": "MIT",
6
6
  "repository": {