@dmsi/wedgekit-react 0.0.442 → 0.0.444
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/{chunk-V47RTW7E.js → chunk-4V6ZO2MR.js} +1 -1
- package/dist/{chunk-MDH7XDJS.js → chunk-7B334WPV.js} +6 -6
- package/dist/{chunk-M6TSTDNZ.js → chunk-7HCS6TZN.js} +1 -1
- package/dist/{chunk-7AXHAWJX.js → chunk-FFGIFICI.js} +1 -1
- package/dist/{chunk-J5V2JRIK.js → chunk-JQWYQDH7.js} +1 -1
- package/dist/{chunk-6DPFKSCT.js → chunk-MVMYXAXB.js} +1 -1
- package/dist/{chunk-P3MIP2FD.js → chunk-NAY4I3FL.js} +2 -2
- package/dist/{chunk-W55J2KJZ.js → chunk-RDJT63IS.js} +2 -2
- package/dist/{chunk-ZL5X7KP6.js → chunk-SVTQGC2D.js} +4 -1
- package/dist/{chunk-LUPHOXAQ.js → chunk-TJV3S52X.js} +1 -1
- package/dist/components/CalendarRange.cjs +4 -1
- package/dist/components/CalendarRange.css +0 -3
- package/dist/components/CalendarRange.js +10 -10
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +4 -1
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +0 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +10 -10
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +4 -1
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +0 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +10 -10
- package/dist/components/DataGrid/PinnedColumns.cjs +4 -1
- package/dist/components/DataGrid/PinnedColumns.css +0 -3
- package/dist/components/DataGrid/PinnedColumns.js +10 -10
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +4 -1
- package/dist/components/DataGrid/TableBody/LoadingCell.css +0 -3
- package/dist/components/DataGrid/TableBody/LoadingCell.js +10 -10
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +4 -1
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +0 -3
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +10 -10
- package/dist/components/DataGrid/TableBody/index.cjs +4 -1
- package/dist/components/DataGrid/TableBody/index.css +0 -3
- package/dist/components/DataGrid/TableBody/index.js +10 -10
- package/dist/components/DataGrid/index.cjs +4 -1
- package/dist/components/DataGrid/index.css +0 -3
- package/dist/components/DataGrid/index.js +10 -10
- package/dist/components/DataGrid/utils.cjs +4 -1
- package/dist/components/DataGrid/utils.css +0 -3
- package/dist/components/DataGrid/utils.js +10 -10
- package/dist/components/DataGridCell.cjs +4 -1
- package/dist/components/DataGridCell.js +3 -3
- package/dist/components/DateInput.cjs +4 -1
- package/dist/components/DateInput.css +0 -3
- package/dist/components/DateInput.js +10 -10
- package/dist/components/DateRangeInput.cjs +4 -1
- package/dist/components/DateRangeInput.css +0 -3
- package/dist/components/DateRangeInput.js +10 -10
- package/dist/components/FilterGroup.cjs +4 -1
- package/dist/components/FilterGroup.js +2 -2
- package/dist/components/Input.cjs +4 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/MobileDataGrid/ColumnList.cjs +2 -2
- package/dist/components/MobileDataGrid/ColumnList.js +3 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +4 -1
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +0 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +10 -10
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +1 -1
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +1 -1
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +4 -1
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +0 -3
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +10 -10
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +2 -2
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +2 -2
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +3 -3
- package/dist/components/MobileDataGrid/index.cjs +7 -4
- package/dist/components/MobileDataGrid/index.css +0 -3
- package/dist/components/MobileDataGrid/index.js +10 -10
- package/dist/components/Password.cjs +4 -1
- package/dist/components/Password.js +1 -1
- package/dist/components/Search.cjs +4 -1
- package/dist/components/Search.js +2 -2
- package/dist/components/Select.cjs +4 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Stepper.cjs +4 -1
- package/dist/components/Stepper.js +1 -1
- package/dist/components/Time.cjs +4 -1
- package/dist/components/Time.js +1 -1
- package/dist/components/index.cjs +7 -4
- package/dist/components/index.css +0 -3
- package/dist/components/index.js +10 -10
- package/dist/index.css +0 -3
- package/package.json +1 -1
- package/src/components/Input.tsx +2 -0
- package/src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx +1 -1
- package/src/components/MobileDataGrid/MobileDataGridCard/index.tsx +1 -1
- package/src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx +1 -1
|
@@ -1439,6 +1439,7 @@ var InputBase = (_a) => {
|
|
|
1439
1439
|
focus,
|
|
1440
1440
|
secondaryIconColor,
|
|
1441
1441
|
fullWidth = true,
|
|
1442
|
+
width,
|
|
1442
1443
|
wrapperRef
|
|
1443
1444
|
} = _b, props = __objRest(_b, [
|
|
1444
1445
|
"id",
|
|
@@ -1460,6 +1461,7 @@ var InputBase = (_a) => {
|
|
|
1460
1461
|
"focus",
|
|
1461
1462
|
"secondaryIconColor",
|
|
1462
1463
|
"fullWidth",
|
|
1464
|
+
"width",
|
|
1463
1465
|
"wrapperRef"
|
|
1464
1466
|
]);
|
|
1465
1467
|
const attributes = {
|
|
@@ -1579,7 +1581,8 @@ var InputBase = (_a) => {
|
|
|
1579
1581
|
typography.paragraph,
|
|
1580
1582
|
className,
|
|
1581
1583
|
props.readOnly && !props.disabled && "!px-0"
|
|
1582
|
-
)
|
|
1584
|
+
),
|
|
1585
|
+
style: __spreadProps(__spreadValues({}, props.style), { width })
|
|
1583
1586
|
})
|
|
1584
1587
|
),
|
|
1585
1588
|
secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after
|
|
@@ -5237,7 +5240,7 @@ var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
|
5237
5240
|
function MobileDataGridColumn(props) {
|
|
5238
5241
|
var _a;
|
|
5239
5242
|
const { column, data } = props;
|
|
5240
|
-
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "
|
|
5243
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "grid grid-cols-2 gap-2 px-3 flex-1", children: [
|
|
5241
5244
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
5242
5245
|
(_a = column.header) == null ? void 0 : _a.toString(),
|
|
5243
5246
|
":"
|
|
@@ -5262,7 +5265,7 @@ function ModalContent2() {
|
|
|
5262
5265
|
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
5263
5266
|
"div",
|
|
5264
5267
|
{
|
|
5265
|
-
className: "
|
|
5268
|
+
className: "grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
5266
5269
|
children: [
|
|
5267
5270
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
5268
5271
|
(_b = column.header) == null ? void 0 : _b.toString(),
|
|
@@ -5424,7 +5427,7 @@ function MobileDataGridCard({
|
|
|
5424
5427
|
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
5425
5428
|
"div",
|
|
5426
5429
|
{
|
|
5427
|
-
className: "
|
|
5430
|
+
className: "grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
5428
5431
|
children: [
|
|
5429
5432
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
5430
5433
|
Paragraph,
|
package/dist/components/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataGrid,
|
|
3
3
|
MobileDataGrid
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-7B334WPV.js";
|
|
5
|
+
import "../chunk-FFGIFICI.js";
|
|
6
|
+
import "../chunk-NAY4I3FL.js";
|
|
7
7
|
import "../chunk-M7INAUAJ.js";
|
|
8
8
|
import {
|
|
9
9
|
PDFViewer
|
|
@@ -16,11 +16,11 @@ import "../chunk-2IKT6IHB.js";
|
|
|
16
16
|
import "../chunk-YCDDBSVU.js";
|
|
17
17
|
import "../chunk-3X3Y4TMS.js";
|
|
18
18
|
import "../chunk-BQNPOGD5.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-TJV3S52X.js";
|
|
20
|
+
import "../chunk-RDJT63IS.js";
|
|
21
21
|
import "../chunk-5IFPG6TS.js";
|
|
22
22
|
import "../chunk-AJ5M6MVX.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-7HCS6TZN.js";
|
|
24
24
|
import "../chunk-EJSPFQCY.js";
|
|
25
25
|
import "../chunk-RQLWSLVE.js";
|
|
26
26
|
import "../chunk-6LHBY2IH.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import "../chunk-AT4AWD6B.js";
|
|
39
39
|
import {
|
|
40
40
|
Select
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-JQWYQDH7.js";
|
|
42
42
|
import {
|
|
43
43
|
Pagination
|
|
44
44
|
} from "../chunk-TYAQWVIM.js";
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
DataGridCell,
|
|
67
67
|
DragAlongCell,
|
|
68
68
|
DraggableCellHeader
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-4V6ZO2MR.js";
|
|
70
70
|
import {
|
|
71
71
|
Menu
|
|
72
72
|
} from "../chunk-22VBZWJG.js";
|
|
@@ -77,10 +77,10 @@ import {
|
|
|
77
77
|
import "../chunk-WVUIIBRR.js";
|
|
78
78
|
import {
|
|
79
79
|
Search
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-MVMYXAXB.js";
|
|
81
81
|
import {
|
|
82
82
|
Input
|
|
83
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-SVTQGC2D.js";
|
|
84
84
|
import {
|
|
85
85
|
Label
|
|
86
86
|
} from "../chunk-7CS736EF.js";
|
package/dist/index.css
CHANGED
package/package.json
CHANGED
package/src/components/Input.tsx
CHANGED
|
@@ -82,6 +82,7 @@ export const InputBase = ({
|
|
|
82
82
|
focus,
|
|
83
83
|
secondaryIconColor,
|
|
84
84
|
fullWidth = true,
|
|
85
|
+
width,
|
|
85
86
|
wrapperRef,
|
|
86
87
|
...props
|
|
87
88
|
}: InputBaseProps) => {
|
|
@@ -213,6 +214,7 @@ export const InputBase = ({
|
|
|
213
214
|
className,
|
|
214
215
|
props.readOnly && !props.disabled && "!px-0",
|
|
215
216
|
)}
|
|
217
|
+
style={{ ...props.style, width }}
|
|
216
218
|
/>
|
|
217
219
|
|
|
218
220
|
{secondaryIconColor ? (
|
|
@@ -8,7 +8,7 @@ export function MobileDataGridColumn<T extends Record<string, unknown>>(props: {
|
|
|
8
8
|
const { column, data } = props;
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<div className="
|
|
11
|
+
<div className="grid grid-cols-2 gap-2 px-3 flex-1">
|
|
12
12
|
<Paragraph color="text-secondary-normal" className="text-left">
|
|
13
13
|
{column.header?.toString()}:
|
|
14
14
|
</Paragraph>{" "}
|
|
@@ -95,7 +95,7 @@ export function MobileDataGridCard<T extends Record<string, unknown>>({
|
|
|
95
95
|
column.id ? (
|
|
96
96
|
<div
|
|
97
97
|
key={`${column.id}-${index}`}
|
|
98
|
-
className="
|
|
98
|
+
className="grid grid-cols-2 gap-2 px-3 items-center flex-1"
|
|
99
99
|
>
|
|
100
100
|
<Paragraph
|
|
101
101
|
color="text-secondary-normal"
|
|
@@ -18,7 +18,7 @@ export function ModalContent() {
|
|
|
18
18
|
column.id ? (
|
|
19
19
|
<div
|
|
20
20
|
key={`${column.id}-${index}`}
|
|
21
|
-
className="
|
|
21
|
+
className="grid grid-cols-2 gap-2 px-3 items-center flex-1"
|
|
22
22
|
>
|
|
23
23
|
<Paragraph color="text-secondary-normal" className="text-left">
|
|
24
24
|
{column.header?.toString()}:
|