@bloomreach/react-banana-ui 1.18.0 → 1.20.0
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/bloomreach-react-banana-ui.es.js +14 -7
- package/dist/bloomreach-react-banana-ui.es.js.map +1 -1
- package/dist/bloomreach-react-banana-ui.umd.js +1 -1
- package/dist/bloomreach-react-banana-ui.umd.js.map +1 -1
- package/dist/components/buttons/button/button.types.d.ts +3 -1
- package/dist/components/data-display/table/table.stories.d.ts +1 -0
- package/dist/components/data-display/table-cell-action/table-cell-action.d.ts +23 -0
- package/dist/components/data-display/table-cell-action/table-cell-action.types.d.ts +5 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -7260,6 +7260,10 @@ const d9 = ({ type: e, color: t, active: r, disabled: o, loading: l, hasIcons: c
|
|
|
7260
7260
|
...o ? ["rbui-button-tertiary-alternative--disabled"] : [],
|
|
7261
7261
|
...l ? ["rbui-button-tertiary-alternative--loading"] : [],
|
|
7262
7262
|
...c ? ["rbui-button-tertiary-alternative--has-icons"] : []
|
|
7263
|
+
] : e === "inline" ? [
|
|
7264
|
+
"rbui-button-inline",
|
|
7265
|
+
...r ? ["rbui-button-inline--active"] : [],
|
|
7266
|
+
...o ? ["rbui-button-inline--disabled"] : []
|
|
7263
7267
|
] : [], He = s((e, t) => {
|
|
7264
7268
|
const {
|
|
7265
7269
|
children: r,
|
|
@@ -7626,18 +7630,21 @@ const L9 = s((e, t) => {
|
|
|
7626
7630
|
const {
|
|
7627
7631
|
className: r,
|
|
7628
7632
|
children: o,
|
|
7629
|
-
|
|
7633
|
+
floating: l = !1,
|
|
7634
|
+
...c
|
|
7630
7635
|
// Capture any other properties to pass them to the root element, like `aria-*`, `data-*`, etc.
|
|
7631
|
-
} = e,
|
|
7632
|
-
if (!
|
|
7636
|
+
} = e, i = H9();
|
|
7637
|
+
if (!i)
|
|
7633
7638
|
throw new Error("TableCellAction must be used within a `TableRowContext.Provider`");
|
|
7634
|
-
const { highlighted:
|
|
7635
|
-
return
|
|
7639
|
+
const { highlighted: u } = i;
|
|
7640
|
+
return u ? /* @__PURE__ */ a(
|
|
7636
7641
|
"div",
|
|
7637
7642
|
{
|
|
7638
|
-
className: K("rbui-table-cell-action"
|
|
7643
|
+
className: K(r, "rbui-table-cell-action", {
|
|
7644
|
+
"rbui-table-cell-action--floating": l
|
|
7645
|
+
}),
|
|
7639
7646
|
ref: t,
|
|
7640
|
-
...
|
|
7647
|
+
...c,
|
|
7641
7648
|
children: o
|
|
7642
7649
|
}
|
|
7643
7650
|
) : null;
|