@openwarelabs/ui 0.12.2 → 0.13.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/components/Table/Table.d.cts +4 -60
- package/dist/components/Table/Table.d.ts +4 -60
- package/dist/components/Table/Table.types.d.cts +64 -0
- package/dist/components/Table/Table.types.d.ts +64 -0
- package/dist/components.css +60 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +2 -2
- package/dist/openware-ui.iife.js +7 -7
- package/dist/styles.css +60 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6064,6 +6064,7 @@ function Table({
|
|
|
6064
6064
|
onSelectionChange,
|
|
6065
6065
|
rowLabel,
|
|
6066
6066
|
emptyContent = "Nothing here yet.",
|
|
6067
|
+
variant = "inset",
|
|
6067
6068
|
density = "comfortable",
|
|
6068
6069
|
stickyHeader = false,
|
|
6069
6070
|
maxHeight,
|
|
@@ -6097,7 +6098,7 @@ function Table({
|
|
|
6097
6098
|
return /* @__PURE__ */ jsx53(
|
|
6098
6099
|
"div",
|
|
6099
6100
|
{
|
|
6100
|
-
className: cx("ow-table-wrap", stickyHeader && "ow-table-wrap--sticky", className),
|
|
6101
|
+
className: cx("ow-table-wrap", `ow-table-wrap--${variant}`, stickyHeader && "ow-table-wrap--sticky", className),
|
|
6101
6102
|
style: maxHeight ? { maxHeight } : void 0,
|
|
6102
6103
|
tabIndex: maxHeight ? 0 : void 0,
|
|
6103
6104
|
children: /* @__PURE__ */ jsxs41("table", { className: cx("ow-table", `ow-table--${density}`), children: [
|