@vegastack/design 0.8.40 → 0.8.42
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/{chunk-DG7GQHEH.js → chunk-TJIBDRBZ.js} +5 -3
- package/dist/create-animated-icon.cjs +5 -3
- package/dist/create-animated-icon.js +1 -1
- package/dist/icons/index.cjs +5 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.cjs +5 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -85,9 +85,11 @@ var prose = {
|
|
|
85
85
|
// take the radius so a header or selected fill never pokes past the curve. Cells take
|
|
86
86
|
// `break-word`, not the root's `anywhere`, so a column keeps its words whole and the table scrolls
|
|
87
87
|
// in its box rather than crushing to one character per line.
|
|
88
|
-
table
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
// A table a component draws inside prose (an embedded DataGrid in a live block) is its own:
|
|
89
|
+
// anything under `[data-prose="off"]` is left alone by every table rule here.
|
|
90
|
+
table: "[&_table:not([data-prose=off]_*)]:w-full [&_table:not([data-prose=off]_*)]:border-separate [&_table:not([data-prose=off]_*)]:border-spacing-0 [&_table:not([data-prose=off]_*)]:rounded-lg [&_table:not([data-prose=off]_*)]:border [&_table:not([data-prose=off]_*)]:border-border",
|
|
91
|
+
tableRules: "[&_th:not([data-prose=off]_*)]:border-e [&_th:not([data-prose=off]_*)]:border-b [&_th:not([data-prose=off]_*)]:border-border [&_td:not([data-prose=off]_*)]:border-e [&_td:not([data-prose=off]_*)]:border-b [&_td:not([data-prose=off]_*)]:border-border [&_tr:not([data-prose=off]_*)>*:last-child]:border-e-0 [&_tbody:not([data-prose=off]_*)>tr:last-child>*]:border-b-0 [&_tr:not([data-prose=off]_*):first-child>*:first-child]:rounded-ss-lg [&_tr:not([data-prose=off]_*):first-child>*:last-child]:rounded-se-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:first-child]:rounded-es-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:last-child]:rounded-ee-lg",
|
|
92
|
+
tableCells: "[&_th:not([data-prose=off]_*)]:bg-muted/50 [&_th:not([data-prose=off]_*)]:px-3 [&_th:not([data-prose=off]_*)]:py-2 [&_th:not([data-prose=off]_*)]:text-start [&_th:not([data-prose=off]_*)]:align-top [&_th:not([data-prose=off]_*)]:font-medium [&_td:not([data-prose=off]_*)]:px-3 [&_td:not([data-prose=off]_*)]:py-2 [&_td:not([data-prose=off]_*)]:align-top [&_td_p:not([data-prose=off]_*)]:my-0 [&_th_p:not([data-prose=off]_*)]:my-0 [&_th:not([data-prose=off]_*)]:wrap-break-word [&_td:not([data-prose=off]_*)]:wrap-break-word",
|
|
91
93
|
img: "[&_img]:my-2 [&_img]:max-w-full [&_img]:rounded-lg [&_img]:border [&_img]:border-border"
|
|
92
94
|
};
|
|
93
95
|
var proseClassName = Object.values(prose).join(" ");
|
|
@@ -125,9 +125,11 @@ var prose = {
|
|
|
125
125
|
// take the radius so a header or selected fill never pokes past the curve. Cells take
|
|
126
126
|
// `break-word`, not the root's `anywhere`, so a column keeps its words whole and the table scrolls
|
|
127
127
|
// in its box rather than crushing to one character per line.
|
|
128
|
-
table
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
// A table a component draws inside prose (an embedded DataGrid in a live block) is its own:
|
|
129
|
+
// anything under `[data-prose="off"]` is left alone by every table rule here.
|
|
130
|
+
table: "[&_table:not([data-prose=off]_*)]:w-full [&_table:not([data-prose=off]_*)]:border-separate [&_table:not([data-prose=off]_*)]:border-spacing-0 [&_table:not([data-prose=off]_*)]:rounded-lg [&_table:not([data-prose=off]_*)]:border [&_table:not([data-prose=off]_*)]:border-border",
|
|
131
|
+
tableRules: "[&_th:not([data-prose=off]_*)]:border-e [&_th:not([data-prose=off]_*)]:border-b [&_th:not([data-prose=off]_*)]:border-border [&_td:not([data-prose=off]_*)]:border-e [&_td:not([data-prose=off]_*)]:border-b [&_td:not([data-prose=off]_*)]:border-border [&_tr:not([data-prose=off]_*)>*:last-child]:border-e-0 [&_tbody:not([data-prose=off]_*)>tr:last-child>*]:border-b-0 [&_tr:not([data-prose=off]_*):first-child>*:first-child]:rounded-ss-lg [&_tr:not([data-prose=off]_*):first-child>*:last-child]:rounded-se-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:first-child]:rounded-es-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:last-child]:rounded-ee-lg",
|
|
132
|
+
tableCells: "[&_th:not([data-prose=off]_*)]:bg-muted/50 [&_th:not([data-prose=off]_*)]:px-3 [&_th:not([data-prose=off]_*)]:py-2 [&_th:not([data-prose=off]_*)]:text-start [&_th:not([data-prose=off]_*)]:align-top [&_th:not([data-prose=off]_*)]:font-medium [&_td:not([data-prose=off]_*)]:px-3 [&_td:not([data-prose=off]_*)]:py-2 [&_td:not([data-prose=off]_*)]:align-top [&_td_p:not([data-prose=off]_*)]:my-0 [&_th_p:not([data-prose=off]_*)]:my-0 [&_th:not([data-prose=off]_*)]:wrap-break-word [&_td:not([data-prose=off]_*)]:wrap-break-word",
|
|
131
133
|
img: "[&_img]:my-2 [&_img]:max-w-full [&_img]:rounded-lg [&_img]:border [&_img]:border-border"
|
|
132
134
|
};
|
|
133
135
|
var proseClassName = Object.values(prose).join(" ");
|
package/dist/icons/index.cjs
CHANGED
|
@@ -139,9 +139,11 @@ var prose = {
|
|
|
139
139
|
// take the radius so a header or selected fill never pokes past the curve. Cells take
|
|
140
140
|
// `break-word`, not the root's `anywhere`, so a column keeps its words whole and the table scrolls
|
|
141
141
|
// in its box rather than crushing to one character per line.
|
|
142
|
-
table
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
// A table a component draws inside prose (an embedded DataGrid in a live block) is its own:
|
|
143
|
+
// anything under `[data-prose="off"]` is left alone by every table rule here.
|
|
144
|
+
table: "[&_table:not([data-prose=off]_*)]:w-full [&_table:not([data-prose=off]_*)]:border-separate [&_table:not([data-prose=off]_*)]:border-spacing-0 [&_table:not([data-prose=off]_*)]:rounded-lg [&_table:not([data-prose=off]_*)]:border [&_table:not([data-prose=off]_*)]:border-border",
|
|
145
|
+
tableRules: "[&_th:not([data-prose=off]_*)]:border-e [&_th:not([data-prose=off]_*)]:border-b [&_th:not([data-prose=off]_*)]:border-border [&_td:not([data-prose=off]_*)]:border-e [&_td:not([data-prose=off]_*)]:border-b [&_td:not([data-prose=off]_*)]:border-border [&_tr:not([data-prose=off]_*)>*:last-child]:border-e-0 [&_tbody:not([data-prose=off]_*)>tr:last-child>*]:border-b-0 [&_tr:not([data-prose=off]_*):first-child>*:first-child]:rounded-ss-lg [&_tr:not([data-prose=off]_*):first-child>*:last-child]:rounded-se-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:first-child]:rounded-es-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:last-child]:rounded-ee-lg",
|
|
146
|
+
tableCells: "[&_th:not([data-prose=off]_*)]:bg-muted/50 [&_th:not([data-prose=off]_*)]:px-3 [&_th:not([data-prose=off]_*)]:py-2 [&_th:not([data-prose=off]_*)]:text-start [&_th:not([data-prose=off]_*)]:align-top [&_th:not([data-prose=off]_*)]:font-medium [&_td:not([data-prose=off]_*)]:px-3 [&_td:not([data-prose=off]_*)]:py-2 [&_td:not([data-prose=off]_*)]:align-top [&_td_p:not([data-prose=off]_*)]:my-0 [&_th_p:not([data-prose=off]_*)]:my-0 [&_th:not([data-prose=off]_*)]:wrap-break-word [&_td:not([data-prose=off]_*)]:wrap-break-word",
|
|
145
147
|
img: "[&_img]:my-2 [&_img]:max-w-full [&_img]:rounded-lg [&_img]:border [&_img]:border-border"
|
|
146
148
|
};
|
|
147
149
|
var proseClassName = Object.values(prose).join(" ");
|
package/dist/icons/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -116,9 +116,11 @@ var prose = {
|
|
|
116
116
|
// take the radius so a header or selected fill never pokes past the curve. Cells take
|
|
117
117
|
// `break-word`, not the root's `anywhere`, so a column keeps its words whole and the table scrolls
|
|
118
118
|
// in its box rather than crushing to one character per line.
|
|
119
|
-
table
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
// A table a component draws inside prose (an embedded DataGrid in a live block) is its own:
|
|
120
|
+
// anything under `[data-prose="off"]` is left alone by every table rule here.
|
|
121
|
+
table: "[&_table:not([data-prose=off]_*)]:w-full [&_table:not([data-prose=off]_*)]:border-separate [&_table:not([data-prose=off]_*)]:border-spacing-0 [&_table:not([data-prose=off]_*)]:rounded-lg [&_table:not([data-prose=off]_*)]:border [&_table:not([data-prose=off]_*)]:border-border",
|
|
122
|
+
tableRules: "[&_th:not([data-prose=off]_*)]:border-e [&_th:not([data-prose=off]_*)]:border-b [&_th:not([data-prose=off]_*)]:border-border [&_td:not([data-prose=off]_*)]:border-e [&_td:not([data-prose=off]_*)]:border-b [&_td:not([data-prose=off]_*)]:border-border [&_tr:not([data-prose=off]_*)>*:last-child]:border-e-0 [&_tbody:not([data-prose=off]_*)>tr:last-child>*]:border-b-0 [&_tr:not([data-prose=off]_*):first-child>*:first-child]:rounded-ss-lg [&_tr:not([data-prose=off]_*):first-child>*:last-child]:rounded-se-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:first-child]:rounded-es-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:last-child]:rounded-ee-lg",
|
|
123
|
+
tableCells: "[&_th:not([data-prose=off]_*)]:bg-muted/50 [&_th:not([data-prose=off]_*)]:px-3 [&_th:not([data-prose=off]_*)]:py-2 [&_th:not([data-prose=off]_*)]:text-start [&_th:not([data-prose=off]_*)]:align-top [&_th:not([data-prose=off]_*)]:font-medium [&_td:not([data-prose=off]_*)]:px-3 [&_td:not([data-prose=off]_*)]:py-2 [&_td:not([data-prose=off]_*)]:align-top [&_td_p:not([data-prose=off]_*)]:my-0 [&_th_p:not([data-prose=off]_*)]:my-0 [&_th:not([data-prose=off]_*)]:wrap-break-word [&_td:not([data-prose=off]_*)]:wrap-break-word",
|
|
122
124
|
img: "[&_img]:my-2 [&_img]:max-w-full [&_img]:rounded-lg [&_img]:border [&_img]:border-border"
|
|
123
125
|
};
|
|
124
126
|
var proseClassName = Object.values(prose).join(" ");
|
package/dist/index.d.cts
CHANGED
|
@@ -81,9 +81,9 @@ declare const prose: {
|
|
|
81
81
|
readonly pre: "[&_pre:not([data-slot='code-block-pre'])]:my-2 [&_pre:not([data-slot='code-block-pre'])]:overflow-x-auto [&_pre:not([data-slot='code-block-pre'])]:rounded-lg [&_pre:not([data-slot='code-block-pre'])]:border [&_pre:not([data-slot='code-block-pre'])]:border-border [&_pre:not([data-slot='code-block-pre'])]:bg-muted [&_pre:not([data-slot='code-block-pre'])]:p-4 [&_pre:not([data-slot='code-block-pre'])]:text-foreground";
|
|
82
82
|
readonly preCode: "[&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:font-mono [&_pre_code]:text-sm [&_pre_code]:text-foreground";
|
|
83
83
|
readonly hr: "[&_hr]:my-4 [&_hr]:border-border";
|
|
84
|
-
readonly table: "[&_table]:w-full [&_table]:border-separate [&_table]:border-spacing-0 [&_table]:rounded-lg [&_table]:border [&_table]:border-border";
|
|
85
|
-
readonly tableRules: "[&_th]:border-e [&_th]:border-b [&_th]:border-border [&_td]:border-e [&_td]:border-b [&_td]:border-border [&_tr>*:last-child]:border-e-0 [&_tbody>tr:last-child>*]:border-b-0 [&_tr:first-child>*:first-child]:rounded-ss-lg [&_tr:first-child>*:last-child]:rounded-se-lg [&_tbody>tr:last-child>*:first-child]:rounded-es-lg [&_tbody>tr:last-child>*:last-child]:rounded-ee-lg";
|
|
86
|
-
readonly tableCells: "[&_th]:bg-muted/50 [&_th]:px-3 [&_th]:py-2 [&_th]:text-start [&_th]:align-top [&_th]:font-medium [&_td]:px-3 [&_td]:py-2 [&_td]:align-top [&_td_p]:my-0 [&_th_p]:my-0 [&_th]:wrap-break-word [&_td]:wrap-break-word";
|
|
84
|
+
readonly table: "[&_table:not([data-prose=off]_*)]:w-full [&_table:not([data-prose=off]_*)]:border-separate [&_table:not([data-prose=off]_*)]:border-spacing-0 [&_table:not([data-prose=off]_*)]:rounded-lg [&_table:not([data-prose=off]_*)]:border [&_table:not([data-prose=off]_*)]:border-border";
|
|
85
|
+
readonly tableRules: "[&_th:not([data-prose=off]_*)]:border-e [&_th:not([data-prose=off]_*)]:border-b [&_th:not([data-prose=off]_*)]:border-border [&_td:not([data-prose=off]_*)]:border-e [&_td:not([data-prose=off]_*)]:border-b [&_td:not([data-prose=off]_*)]:border-border [&_tr:not([data-prose=off]_*)>*:last-child]:border-e-0 [&_tbody:not([data-prose=off]_*)>tr:last-child>*]:border-b-0 [&_tr:not([data-prose=off]_*):first-child>*:first-child]:rounded-ss-lg [&_tr:not([data-prose=off]_*):first-child>*:last-child]:rounded-se-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:first-child]:rounded-es-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:last-child]:rounded-ee-lg";
|
|
86
|
+
readonly tableCells: "[&_th:not([data-prose=off]_*)]:bg-muted/50 [&_th:not([data-prose=off]_*)]:px-3 [&_th:not([data-prose=off]_*)]:py-2 [&_th:not([data-prose=off]_*)]:text-start [&_th:not([data-prose=off]_*)]:align-top [&_th:not([data-prose=off]_*)]:font-medium [&_td:not([data-prose=off]_*)]:px-3 [&_td:not([data-prose=off]_*)]:py-2 [&_td:not([data-prose=off]_*)]:align-top [&_td_p:not([data-prose=off]_*)]:my-0 [&_th_p:not([data-prose=off]_*)]:my-0 [&_th:not([data-prose=off]_*)]:wrap-break-word [&_td:not([data-prose=off]_*)]:wrap-break-word";
|
|
87
87
|
readonly img: "[&_img]:my-2 [&_img]:max-w-full [&_img]:rounded-lg [&_img]:border [&_img]:border-border";
|
|
88
88
|
};
|
|
89
89
|
/** The element roles the prose recipe covers. */
|
package/dist/index.d.ts
CHANGED
|
@@ -81,9 +81,9 @@ declare const prose: {
|
|
|
81
81
|
readonly pre: "[&_pre:not([data-slot='code-block-pre'])]:my-2 [&_pre:not([data-slot='code-block-pre'])]:overflow-x-auto [&_pre:not([data-slot='code-block-pre'])]:rounded-lg [&_pre:not([data-slot='code-block-pre'])]:border [&_pre:not([data-slot='code-block-pre'])]:border-border [&_pre:not([data-slot='code-block-pre'])]:bg-muted [&_pre:not([data-slot='code-block-pre'])]:p-4 [&_pre:not([data-slot='code-block-pre'])]:text-foreground";
|
|
82
82
|
readonly preCode: "[&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:font-mono [&_pre_code]:text-sm [&_pre_code]:text-foreground";
|
|
83
83
|
readonly hr: "[&_hr]:my-4 [&_hr]:border-border";
|
|
84
|
-
readonly table: "[&_table]:w-full [&_table]:border-separate [&_table]:border-spacing-0 [&_table]:rounded-lg [&_table]:border [&_table]:border-border";
|
|
85
|
-
readonly tableRules: "[&_th]:border-e [&_th]:border-b [&_th]:border-border [&_td]:border-e [&_td]:border-b [&_td]:border-border [&_tr>*:last-child]:border-e-0 [&_tbody>tr:last-child>*]:border-b-0 [&_tr:first-child>*:first-child]:rounded-ss-lg [&_tr:first-child>*:last-child]:rounded-se-lg [&_tbody>tr:last-child>*:first-child]:rounded-es-lg [&_tbody>tr:last-child>*:last-child]:rounded-ee-lg";
|
|
86
|
-
readonly tableCells: "[&_th]:bg-muted/50 [&_th]:px-3 [&_th]:py-2 [&_th]:text-start [&_th]:align-top [&_th]:font-medium [&_td]:px-3 [&_td]:py-2 [&_td]:align-top [&_td_p]:my-0 [&_th_p]:my-0 [&_th]:wrap-break-word [&_td]:wrap-break-word";
|
|
84
|
+
readonly table: "[&_table:not([data-prose=off]_*)]:w-full [&_table:not([data-prose=off]_*)]:border-separate [&_table:not([data-prose=off]_*)]:border-spacing-0 [&_table:not([data-prose=off]_*)]:rounded-lg [&_table:not([data-prose=off]_*)]:border [&_table:not([data-prose=off]_*)]:border-border";
|
|
85
|
+
readonly tableRules: "[&_th:not([data-prose=off]_*)]:border-e [&_th:not([data-prose=off]_*)]:border-b [&_th:not([data-prose=off]_*)]:border-border [&_td:not([data-prose=off]_*)]:border-e [&_td:not([data-prose=off]_*)]:border-b [&_td:not([data-prose=off]_*)]:border-border [&_tr:not([data-prose=off]_*)>*:last-child]:border-e-0 [&_tbody:not([data-prose=off]_*)>tr:last-child>*]:border-b-0 [&_tr:not([data-prose=off]_*):first-child>*:first-child]:rounded-ss-lg [&_tr:not([data-prose=off]_*):first-child>*:last-child]:rounded-se-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:first-child]:rounded-es-lg [&_tbody:not([data-prose=off]_*)>tr:last-child>*:last-child]:rounded-ee-lg";
|
|
86
|
+
readonly tableCells: "[&_th:not([data-prose=off]_*)]:bg-muted/50 [&_th:not([data-prose=off]_*)]:px-3 [&_th:not([data-prose=off]_*)]:py-2 [&_th:not([data-prose=off]_*)]:text-start [&_th:not([data-prose=off]_*)]:align-top [&_th:not([data-prose=off]_*)]:font-medium [&_td:not([data-prose=off]_*)]:px-3 [&_td:not([data-prose=off]_*)]:py-2 [&_td:not([data-prose=off]_*)]:align-top [&_td_p:not([data-prose=off]_*)]:my-0 [&_th_p:not([data-prose=off]_*)]:my-0 [&_th:not([data-prose=off]_*)]:wrap-break-word [&_td:not([data-prose=off]_*)]:wrap-break-word";
|
|
87
87
|
readonly img: "[&_img]:my-2 [&_img]:max-w-full [&_img]:rounded-lg [&_img]:border [&_img]:border-border";
|
|
88
88
|
};
|
|
89
89
|
/** The element roles the prose recipe covers. */
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vegastack/design",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.42",
|
|
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": {
|