@stll/ui 0.83.0 → 0.84.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.
|
@@ -28,6 +28,7 @@ export declare const DOCUMENT_MARKS: {
|
|
|
28
28
|
readonly isdoc: DocumentMarkArtwork;
|
|
29
29
|
readonly isdocx: DocumentMarkArtwork;
|
|
30
30
|
readonly xml: DocumentMarkArtwork;
|
|
31
|
+
readonly zip: DocumentMarkArtwork;
|
|
31
32
|
readonly eAkta: DocumentMarkArtwork;
|
|
32
33
|
readonly et3: DocumentMarkArtwork;
|
|
33
34
|
readonly zep: DocumentMarkArtwork;
|
|
@@ -10,7 +10,7 @@ const PROSE_CELL_CLASS = "in-data-[density=prose]:h-auto in-data-[density=prose]
|
|
|
10
10
|
const resolveTableAlign = (align, numeric) => align ?? (numeric ? "end" : void 0);
|
|
11
11
|
const tableCellClassName = ({ align, className, flush = false, numeric = false, tone = "default" }) => {
|
|
12
12
|
const resolvedAlign = resolveTableAlign(align, numeric);
|
|
13
|
-
return cn("align-middle leading-none whitespace-nowrap has-[[role=checkbox]]:pe-0", flush ? "p-0" : "p-2.5 in-data-[density=compact]:px-0 in-data-[density=compact]:py-1.5 in-data-[inset=card]:px-4 in-data-[slot=frame]:first:p-[calc(--spacing(2.5)-1px)] in-data-[slot=frame]:last:p-[calc(--spacing(2.5)-1px)]", "in-data-[density=compact]:leading-6 in-data-[density=compact]:whitespace-normal", PROSE_CELL_CLASS, "in-data-[density=prose]:[tr:last-child>&]:border-b-0", resolvedAlign !== void 0 && TABLE_ALIGN_CLASS[resolvedAlign], tone === "muted" && "text-muted-foreground", numeric && "tabular-nums", className);
|
|
13
|
+
return cn("align-middle leading-none whitespace-nowrap has-[[role=checkbox]]:pe-0", flush ? "p-0" : "p-2.5 in-data-[density=compact]:px-0 in-data-[density=compact]:py-1.5 in-data-[density=compact]:pe-3 in-data-[inset=card]:px-4 in-data-[slot=frame]:first:p-[calc(--spacing(2.5)-1px)] in-data-[slot=frame]:last:p-[calc(--spacing(2.5)-1px)]", "in-data-[density=compact]:leading-6 in-data-[density=compact]:whitespace-normal", PROSE_CELL_CLASS, "in-data-[density=prose]:[tr:last-child>&]:border-b-0", resolvedAlign !== void 0 && TABLE_ALIGN_CLASS[resolvedAlign], tone === "muted" && "text-muted-foreground", numeric && "tabular-nums", className);
|
|
14
14
|
};
|
|
15
15
|
const TableCellFace = ({ align, className, flush = false, numeric, tone, ...props }) => /* @__PURE__ */ jsx("td", {
|
|
16
16
|
className: tableCellClassName({
|
package/package.json
CHANGED