@duro-app/ui 0.34.1 → 0.34.3
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/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Text/styles.css.d.ts +1 -0
- package/dist/components/Text/styles.css.d.ts.map +1 -1
- package/dist/index.js +10 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Table/Table.tsx +8 -1
- package/src/components/Text/styles.css.ts +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAOf,MAAM,OAAO,CAAA;AAGd,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAA;AACvC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAA;AAInC,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAA;AAC7D,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,CAAA;AA8CnC,wBAAgB,SAAS,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAE1D;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAOf,MAAM,OAAO,CAAA;AAGd,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAA;AACvC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAA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,CAAC,EAAE,SAAS,CAAA;IACpB,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;2DAEuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,2CAyBA;yBA9Ce,UAAU;;;AAuD1B,wBAAgB,IAAI,CAAC,EAAC,QAAQ,EAAE,SAAS,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAC,2CAuBrF;AAID,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAE3C,eAAO,MAAM,KAAK;IAChB,4FAA4F;;;;;;;;;;;;IAY5F,sEAAsE;;CAEvE,CAAA"}
|
|
@@ -43,6 +43,7 @@ export declare const styles: Readonly<{
|
|
|
43
43
|
readonly overflow: css.StyleXClassNameFor<"overflow", "hidden">;
|
|
44
44
|
readonly textOverflow: css.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
45
45
|
readonly whiteSpace: css.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
46
|
+
readonly minWidth: css.StyleXClassNameFor<"minWidth", 0>;
|
|
46
47
|
}>;
|
|
47
48
|
}>;
|
|
48
49
|
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Text/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAIpC,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Text/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAIpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDjB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -6442,7 +6442,7 @@ function Vl(n) {
|
|
|
6442
6442
|
if (!Je(r)) return;
|
|
6443
6443
|
const a = r.props, l = El(r.type), i = l?.displayName || l?.name || "";
|
|
6444
6444
|
if (l === he || i === "HeaderCell") {
|
|
6445
|
-
t.push(a.width || "1fr");
|
|
6445
|
+
t.push(a.width || "minmax(0, 1fr)");
|
|
6446
6446
|
const d = typeof a.label == "string" ? a.label : void 0, c = Al(a.children).trim(), u = d ?? c;
|
|
6447
6447
|
!d && c === "" && a.children != null && To("headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), e.push(u);
|
|
6448
6448
|
} else a.children && o(a.children);
|
|
@@ -6466,7 +6466,7 @@ function jo({
|
|
|
6466
6466
|
labels: i
|
|
6467
6467
|
} = Vl(n);
|
|
6468
6468
|
l && (a.current = l);
|
|
6469
|
-
const d = /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:
|
|
6469
|
+
const d = /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:190", role: "table", ...$(
|
|
6470
6470
|
w.div,
|
|
6471
6471
|
tt.root,
|
|
6472
6472
|
// When responsive, use gridColumnsResponsive so the explicit column
|
|
@@ -6488,14 +6488,14 @@ function jo({
|
|
|
6488
6488
|
responsive: o,
|
|
6489
6489
|
labels: i,
|
|
6490
6490
|
inferredTemplateRef: a
|
|
6491
|
-
}, children: o ? /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:
|
|
6491
|
+
}, children: o ? /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:225", ...$(w.div, tt.rootContainer), children: c }) : c });
|
|
6492
6492
|
}
|
|
6493
6493
|
function Mo(n) {
|
|
6494
6494
|
const t = j.c(2), {
|
|
6495
6495
|
children: e
|
|
6496
6496
|
} = n;
|
|
6497
6497
|
let o;
|
|
6498
|
-
return t[0] !== e ? (o = /* @__PURE__ */ m(Re.Provider, { value: !0, children: /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:
|
|
6498
|
+
return t[0] !== e ? (o = /* @__PURE__ */ m(Re.Provider, { value: !0, children: /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:235", role: "rowgroup", ...$(w.div, tt.header), children: e }) }), t[0] = e, t[1] = o) : o = t[1], o;
|
|
6499
6499
|
}
|
|
6500
6500
|
function Wo(n) {
|
|
6501
6501
|
const t = j.c(19), {
|
|
@@ -6539,7 +6539,7 @@ function Le(n) {
|
|
|
6539
6539
|
} : void 0, t[10] = u, t[11] = o, t[12] = p) : p = t[12];
|
|
6540
6540
|
const k = !a && tt.bodyRow, g = !a && r === "striped" && i && tt.stripedEven, f = u && tt.clickableRow;
|
|
6541
6541
|
let b;
|
|
6542
|
-
t[13] !== k || t[14] !== g || t[15] !== f ? (b = [tt.row, k, g, f], t[13] = k, t[14] = g, t[15] = f, t[16] = b) : b = t[16], d = /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:
|
|
6542
|
+
t[13] !== k || t[14] !== g || t[15] !== f ? (b = [tt.row, k, g, f], t[13] = k, t[14] = g, t[15] = f, t[16] = b) : b = t[16], d = /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:307", role: "row", tabIndex: u ? 0 : void 0, "aria-label": u ? s : void 0, onClick: x, onKeyDown: p, ...$(w.div, b), children: c.map((h, y) => /* @__PURE__ */ m(Ge.Provider, { value: {
|
|
6543
6543
|
index: y,
|
|
6544
6544
|
total: c.length
|
|
6545
6545
|
}, children: h }, h.key ?? y)) }), t[0] = s, t[1] = e, t[2] = i, t[3] = a, t[4] = o, t[5] = r, t[6] = d;
|
|
@@ -6568,7 +6568,7 @@ function he(n) {
|
|
|
6568
6568
|
let p;
|
|
6569
6569
|
t[0] !== c || t[1] !== u || t[2] !== x ? (p = [tt.headerCell, c, u, x], t[0] = c, t[1] = u, t[2] = x, t[3] = p) : p = t[3];
|
|
6570
6570
|
let k;
|
|
6571
|
-
return t[4] !== s || t[5] !== e || t[6] !== p ? (k = /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:
|
|
6571
|
+
return t[4] !== s || t[5] !== e || t[6] !== p ? (k = /* @__PURE__ */ m("div", { "data-element-src": "Table/Table.tsx:395", role: "columnheader", "aria-label": s, ...$(w.div, p), children: e }), t[4] = s, t[5] = e, t[6] = p, t[7] = k) : k = t[7], k;
|
|
6572
6572
|
}
|
|
6573
6573
|
he.displayName = "HeaderCell";
|
|
6574
6574
|
function Do(n) {
|
|
@@ -6587,9 +6587,9 @@ function Do(n) {
|
|
|
6587
6587
|
let f;
|
|
6588
6588
|
t[0] !== x || t[1] !== p || t[2] !== k || t[3] !== g ? (f = [tt.cell, x, p, k, g], t[0] = x, t[1] = p, t[2] = k, t[3] = g, t[4] = f) : f = t[4];
|
|
6589
6589
|
let b;
|
|
6590
|
-
t[5] !== o || t[6] !== u || t[7] !== l ? (b = l && !o && u !== "" ? /* @__PURE__ */ m("span", { "data-element-src": "Table/Table.tsx:
|
|
6590
|
+
t[5] !== o || t[6] !== u || t[7] !== l ? (b = l && !o && u !== "" ? /* @__PURE__ */ m("span", { "data-element-src": "Table/Table.tsx:435", ...$(w.span, tt.cellLabel), children: u }) : null, t[5] = o, t[6] = u, t[7] = l, t[8] = b) : b = t[8];
|
|
6591
6591
|
let h;
|
|
6592
|
-
return t[9] !== e || t[10] !== f || t[11] !== b ? (h = /* @__PURE__ */ F("div", { "data-element-src": "Table/Table.tsx:
|
|
6592
|
+
return t[9] !== e || t[10] !== f || t[11] !== b ? (h = /* @__PURE__ */ F("div", { "data-element-src": "Table/Table.tsx:424", role: "cell", ...$(w.div, f), children: [
|
|
6593
6593
|
b,
|
|
6594
6594
|
e
|
|
6595
6595
|
] }), t[9] = e, t[10] = f, t[11] = b, t[12] = h) : h = t[12], h;
|
|
@@ -6988,7 +6988,8 @@ const At = {
|
|
|
6988
6988
|
"overflow-kVQacm": "overflow-xb3r6kr",
|
|
6989
6989
|
"textOverflow-kg5iWk": "textOverflow-xlyipyv",
|
|
6990
6990
|
"whiteSpace-khDVqt": "whiteSpace-xuxw1ft",
|
|
6991
|
-
|
|
6991
|
+
"minWidth-k7Eaqz": "minWidth-xeuugli",
|
|
6992
|
+
$$css: "Text/styles.css.ts:55"
|
|
6992
6993
|
}
|
|
6993
6994
|
}, Xl = {
|
|
6994
6995
|
normal: At.weightNormal,
|