@tensor_1/react 2.67.1 → 2.67.2
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.
|
@@ -40,7 +40,7 @@ function AvatarGroup({ children, className, ...props }) {
|
|
|
40
40
|
function UserChip({ avatar, name, sub, className, children, ...props }) {
|
|
41
41
|
return /* @__PURE__ */ jsxs("span", { className: cx("uix-user-chip", className), ...props, children: [
|
|
42
42
|
avatar,
|
|
43
|
-
/* @__PURE__ */ jsxs("span", { children: [
|
|
43
|
+
/* @__PURE__ */ jsxs("span", { className: "uix-user-chip__text", children: [
|
|
44
44
|
name != null && /* @__PURE__ */ jsx("span", { className: "uix-user-chip__name", children: name }),
|
|
45
45
|
sub != null && /* @__PURE__ */ jsx("span", { className: "uix-user-chip__sub", style: { display: "block" }, children: sub })
|
|
46
46
|
] }),
|
|
@@ -21,6 +21,8 @@ import { ReactNode, HTMLAttributes } from 'react';
|
|
|
21
21
|
* compound child for hand-authored content. Both render `<dt>`/`<dd>` pairs as
|
|
22
22
|
* direct children of the grid `<dl>`, so they align into the same columns.
|
|
23
23
|
*
|
|
24
|
+
* In two columns, terms take at most half the list and wrap; short terms retain
|
|
25
|
+
* their natural width. This keeps long labels from crushing the value column.
|
|
24
26
|
* Below 22rem of its own width (a phone, a side rail, a narrow column) each label
|
|
25
27
|
* sits above its value and both take the full width (HAR-2032), so a long label
|
|
26
28
|
* never squeezes the value. A `DetailLayout` side column always stacks.
|
package/dist/index.cjs
CHANGED
|
@@ -9416,7 +9416,7 @@ function AvatarGroup({ children, className, ...props }) {
|
|
|
9416
9416
|
function UserChip({ avatar, name, sub, className, children, ...props }) {
|
|
9417
9417
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: cx("uix-user-chip", className), ...props, children: [
|
|
9418
9418
|
avatar,
|
|
9419
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { children: [
|
|
9419
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: "uix-user-chip__text", children: [
|
|
9420
9420
|
name != null && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "uix-user-chip__name", children: name }),
|
|
9421
9421
|
sub != null && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "uix-user-chip__sub", style: { display: "block" }, children: sub })
|
|
9422
9422
|
] }),
|
package/dist/index.d.cts
CHANGED
|
@@ -6909,6 +6909,8 @@ declare function ListItem({ title, meta, trail, leading, children, className, ..
|
|
|
6909
6909
|
* compound child for hand-authored content. Both render `<dt>`/`<dd>` pairs as
|
|
6910
6910
|
* direct children of the grid `<dl>`, so they align into the same columns.
|
|
6911
6911
|
*
|
|
6912
|
+
* In two columns, terms take at most half the list and wrap; short terms retain
|
|
6913
|
+
* their natural width. This keeps long labels from crushing the value column.
|
|
6912
6914
|
* Below 22rem of its own width (a phone, a side rail, a narrow column) each label
|
|
6913
6915
|
* sits above its value and both take the full width (HAR-2032), so a long label
|
|
6914
6916
|
* never squeezes the value. A `DetailLayout` side column always stacks.
|