@helpwave/hightide 0.6.7 → 0.6.8
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -14
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +43 -23
- package/dist/style/uncompiled/theme/components/checkbox.css +6 -5
- package/dist/style/uncompiled/theme/components/expandable.css +3 -3
- package/dist/style/uncompiled/theme/components/expansion-icon.css +1 -1
- package/dist/style/uncompiled/theme/components/input-elements.css +3 -3
- package/dist/style/uncompiled/theme/components/property.css +10 -10
- package/dist/style/uncompiled/theme/components/table.css +4 -0
- package/dist/style/uncompiled/theme/components/textarea.css +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1279,7 +1279,7 @@ interface TableWithSelectionProviderProps<T> extends TableProviderProps<T> {
|
|
|
1279
1279
|
disableClickRowClickSelection?: boolean;
|
|
1280
1280
|
selectionRowId?: string;
|
|
1281
1281
|
}
|
|
1282
|
-
declare const TableWithSelectionProvider: <T>({ children, state, fillerRow, rowSelection, disableClickRowClickSelection, selectionRowId, onRowClick,
|
|
1282
|
+
declare const TableWithSelectionProvider: <T>({ children, state, fillerRow, rowSelection, disableClickRowClickSelection, selectionRowId, onRowClick, ...props }: TableWithSelectionProviderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1283
1283
|
|
|
1284
1284
|
interface TableProps<T> extends HTMLAttributes<HTMLDivElement> {
|
|
1285
1285
|
table: TableProviderProps<T>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1279,7 +1279,7 @@ interface TableWithSelectionProviderProps<T> extends TableProviderProps<T> {
|
|
|
1279
1279
|
disableClickRowClickSelection?: boolean;
|
|
1280
1280
|
selectionRowId?: string;
|
|
1281
1281
|
}
|
|
1282
|
-
declare const TableWithSelectionProvider: <T>({ children, state, fillerRow, rowSelection, disableClickRowClickSelection, selectionRowId, onRowClick,
|
|
1282
|
+
declare const TableWithSelectionProvider: <T>({ children, state, fillerRow, rowSelection, disableClickRowClickSelection, selectionRowId, onRowClick, ...props }: TableWithSelectionProviderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1283
1283
|
|
|
1284
1284
|
interface TableProps<T> extends HTMLAttributes<HTMLDivElement> {
|
|
1285
1285
|
table: TableProviderProps<T>;
|
package/dist/index.js
CHANGED
|
@@ -13540,6 +13540,7 @@ var TableBody = import_react58.default.memo(function TableBodyVisual() {
|
|
|
13540
13540
|
"tr",
|
|
13541
13541
|
{
|
|
13542
13542
|
onClick: () => onRowClick?.(row, table),
|
|
13543
|
+
"data-clickable": PropsUtil.dataAttributes.bool(!!onRowClick),
|
|
13543
13544
|
className: (0, import_clsx26.default)("table-body-row", BagFunctionUtil.resolve(table.options.meta?.bodyRowClassName, row.original)),
|
|
13544
13545
|
children: row.getVisibleCells().map((cell) => {
|
|
13545
13546
|
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("td", { className: (0, import_clsx26.default)("table-body-cell", cell.column.columnDef.meta?.className), children: (0, import_react_table2.flexRender)(
|
|
@@ -15361,12 +15362,10 @@ var TablePagination = ({ allowChangingPageSize = true, pageSizeOptions, ...props
|
|
|
15361
15362
|
] }) });
|
|
15362
15363
|
};
|
|
15363
15364
|
|
|
15364
|
-
// src/components/layout/table/TableWithSelectionProvider.tsx
|
|
15365
|
-
var import_clsx35 = __toESM(require("clsx"));
|
|
15366
|
-
|
|
15367
15365
|
// src/components/user-interaction/Checkbox.tsx
|
|
15368
15366
|
var import_lucide_react19 = require("lucide-react");
|
|
15369
15367
|
var import_react70 = require("react");
|
|
15368
|
+
var import_clsx35 = __toESM(require("clsx"));
|
|
15370
15369
|
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
15371
15370
|
var Checkbox = ({
|
|
15372
15371
|
value = false,
|
|
@@ -15403,7 +15402,6 @@ var Checkbox = ({
|
|
|
15403
15402
|
props.onKeyDown?.(event);
|
|
15404
15403
|
}
|
|
15405
15404
|
},
|
|
15406
|
-
"data-name": PropsUtil.dataAttributes.name("checkbox", props),
|
|
15407
15405
|
"data-checked": !indeterminate ? value : "indeterminate",
|
|
15408
15406
|
"data-size": size ?? void 0,
|
|
15409
15407
|
...PropsUtil.dataAttributes.interactionStates({ disabled, invalid, readOnly, required }),
|
|
@@ -15411,9 +15409,10 @@ var Checkbox = ({
|
|
|
15411
15409
|
tabIndex: disabled ? -1 : 0,
|
|
15412
15410
|
"aria-checked": indeterminate ? "mixed" : value,
|
|
15413
15411
|
...PropsUtil.aria.interactionStates({ disabled, invalid, readOnly, required }, props),
|
|
15412
|
+
className: (0, import_clsx35.default)("checkbox", props.className),
|
|
15414
15413
|
children: [
|
|
15415
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Visibility, { isVisible: indeterminate, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_lucide_react19.Minus, {
|
|
15416
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Visibility, { isVisible: !indeterminate && (alwaysShowCheckIcon || value), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_lucide_react19.Check, {
|
|
15414
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Visibility, { isVisible: indeterminate, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_lucide_react19.Minus, { className: "checkbox-indicator", "aria-hidden": true }) }),
|
|
15415
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Visibility, { isVisible: !indeterminate && (alwaysShowCheckIcon || value), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_lucide_react19.Check, { className: "checkbox-indicator", "aria-hidden": true }) })
|
|
15417
15416
|
]
|
|
15418
15417
|
}
|
|
15419
15418
|
);
|
|
@@ -15445,7 +15444,6 @@ var TableWithSelectionProvider = ({
|
|
|
15445
15444
|
disableClickRowClickSelection = false,
|
|
15446
15445
|
selectionRowId = "selection",
|
|
15447
15446
|
onRowClick,
|
|
15448
|
-
meta,
|
|
15449
15447
|
...props
|
|
15450
15448
|
}) => {
|
|
15451
15449
|
const columnDef = (0, import_react71.useMemo)(() => [
|
|
@@ -15505,13 +15503,6 @@ var TableWithSelectionProvider = ({
|
|
|
15505
15503
|
}
|
|
15506
15504
|
onRowClick?.(row, table);
|
|
15507
15505
|
}, [disableClickRowClickSelection, onRowClick]),
|
|
15508
|
-
meta: {
|
|
15509
|
-
...meta,
|
|
15510
|
-
bodyRowClassName: (0, import_clsx35.default)(
|
|
15511
|
-
{ "cursor-pointer": !disableClickRowClickSelection },
|
|
15512
|
-
meta?.bodyRowClassName
|
|
15513
|
-
)
|
|
15514
|
-
},
|
|
15515
15506
|
children
|
|
15516
15507
|
}
|
|
15517
15508
|
);
|