@nurix/ui-component-library 1.1.4-stage.125 → 1.1.4-stage.126
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/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3075,6 +3075,16 @@ interface KeyValueEditorProps {
|
|
|
3075
3075
|
* matches the Figma reference.
|
|
3076
3076
|
*/
|
|
3077
3077
|
valueLeadingIcon?: React$1.ReactNode;
|
|
3078
|
+
/**
|
|
3079
|
+
* Override the header label for the key column. Defaults to "Key".
|
|
3080
|
+
* Use for domain-specific tables (e.g. `keyHeader="Restricted Term"`).
|
|
3081
|
+
*/
|
|
3082
|
+
keyHeader?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Override the header label for the value column. Defaults to "Value".
|
|
3085
|
+
* Use for domain-specific tables (e.g. `valueHeader="Preferred Term"`).
|
|
3086
|
+
*/
|
|
3087
|
+
valueHeader?: string;
|
|
3078
3088
|
/**
|
|
3079
3089
|
* Render an extra cell at the end of every row, between the value field
|
|
3080
3090
|
* and the delete button. Use it for per-row controls that don't fit the
|
package/dist/index.d.ts
CHANGED
|
@@ -3075,6 +3075,16 @@ interface KeyValueEditorProps {
|
|
|
3075
3075
|
* matches the Figma reference.
|
|
3076
3076
|
*/
|
|
3077
3077
|
valueLeadingIcon?: React$1.ReactNode;
|
|
3078
|
+
/**
|
|
3079
|
+
* Override the header label for the key column. Defaults to "Key".
|
|
3080
|
+
* Use for domain-specific tables (e.g. `keyHeader="Restricted Term"`).
|
|
3081
|
+
*/
|
|
3082
|
+
keyHeader?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Override the header label for the value column. Defaults to "Value".
|
|
3085
|
+
* Use for domain-specific tables (e.g. `valueHeader="Preferred Term"`).
|
|
3086
|
+
*/
|
|
3087
|
+
valueHeader?: string;
|
|
3078
3088
|
/**
|
|
3079
3089
|
* Render an extra cell at the end of every row, between the value field
|
|
3080
3090
|
* and the delete button. Use it for per-row controls that don't fit the
|
package/dist/index.js
CHANGED
|
@@ -16390,6 +16390,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16390
16390
|
hideHeader = false,
|
|
16391
16391
|
allowDeleteRow = true,
|
|
16392
16392
|
valueLeadingIcon,
|
|
16393
|
+
keyHeader = "Key",
|
|
16394
|
+
valueHeader = "Value",
|
|
16393
16395
|
renderRowTrailing,
|
|
16394
16396
|
trailingHeader,
|
|
16395
16397
|
className,
|
|
@@ -16429,8 +16431,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16429
16431
|
"data-testid": dataTestId != null ? dataTestId : "input",
|
|
16430
16432
|
children: [
|
|
16431
16433
|
!hideHeader && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: KEY_VALUE_EDITOR_TOKENS.header, children: [
|
|
16432
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16433
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16434
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: keyHeader }) }),
|
|
16435
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: valueHeader }) }),
|
|
16434
16436
|
renderRowTrailing && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellTrailing, children: trailingHeader && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: trailingHeader }) }),
|
|
16435
16437
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellActions, children: toolbar && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.iconGroup, children: toolbar }) })
|
|
16436
16438
|
] }),
|
package/dist/index.mjs
CHANGED
|
@@ -16298,6 +16298,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16298
16298
|
hideHeader = false,
|
|
16299
16299
|
allowDeleteRow = true,
|
|
16300
16300
|
valueLeadingIcon,
|
|
16301
|
+
keyHeader = "Key",
|
|
16302
|
+
valueHeader = "Value",
|
|
16301
16303
|
renderRowTrailing,
|
|
16302
16304
|
trailingHeader,
|
|
16303
16305
|
className,
|
|
@@ -16337,8 +16339,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16337
16339
|
"data-testid": dataTestId != null ? dataTestId : "input",
|
|
16338
16340
|
children: [
|
|
16339
16341
|
!hideHeader && /* @__PURE__ */ jsxs29("div", { className: KEY_VALUE_EDITOR_TOKENS.header, children: [
|
|
16340
|
-
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16341
|
-
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16342
|
+
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: keyHeader }) }),
|
|
16343
|
+
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: valueHeader }) }),
|
|
16342
16344
|
renderRowTrailing && /* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellTrailing, children: trailingHeader && /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: trailingHeader }) }),
|
|
16343
16345
|
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellActions, children: toolbar && /* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.iconGroup, children: toolbar }) })
|
|
16344
16346
|
] }),
|