@dmsi/wedgekit-react 0.0.500 → 0.0.501
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-PIBHG6DH.js → chunk-2TNHD4MQ.js} +1 -1
- package/dist/{chunk-3DEYCNUE.js → chunk-3UUCDNX3.js} +4 -4
- package/dist/{chunk-LPY6PMAY.js → chunk-45AHDOAU.js} +1 -1
- package/dist/{chunk-JUFBGNWW.js → chunk-56RPZLV7.js} +1 -1
- package/dist/{chunk-XIXQUEYC.js → chunk-5YNEY3WO.js} +19 -8
- package/dist/{chunk-4LBQSSGH.js → chunk-6XLESQ2U.js} +4 -4
- package/dist/{chunk-IXR65MOU.js → chunk-7KWFEH56.js} +4 -0
- package/dist/{chunk-ZQJMNPCF.js → chunk-AKJUBFJK.js} +2 -2
- package/dist/{chunk-TOKS63IK.js → chunk-BMPL6LCR.js} +3 -3
- package/dist/{chunk-UCJUC5AZ.js → chunk-BYC6QID5.js} +1 -1
- package/dist/{chunk-HIKWIY5Q.js → chunk-CHUKGR7S.js} +3 -3
- package/dist/{chunk-X4UK7HE2.js → chunk-CMMQTIVM.js} +3 -3
- package/dist/{chunk-YD3HWIUJ.js → chunk-ELXVDRWS.js} +5 -5
- package/dist/{chunk-XHQOTLG6.js → chunk-FJRYHJUV.js} +1 -1
- package/dist/{chunk-2F3R3WXW.js → chunk-FWCVZWE6.js} +3 -3
- package/dist/{chunk-5MLYAQQO.js → chunk-HK4S6TRH.js} +1 -1
- package/dist/{chunk-AL5QIRY3.js → chunk-HXGJVYGQ.js} +1 -1
- package/dist/{chunk-KHIJYWZ7.js → chunk-KIAF4N7M.js} +1 -1
- package/dist/{chunk-5R4C5F63.js → chunk-KOU2TO3N.js} +4 -4
- package/dist/{chunk-G4AWTFBQ.js → chunk-KPBG7D3V.js} +3 -3
- package/dist/{chunk-GRGDX7JC.js → chunk-LB7UT6F3.js} +2 -2
- package/dist/{chunk-TWDH7ZDS.js → chunk-LJWQEZUS.js} +17 -16
- package/dist/{chunk-WEAVZEE4.js → chunk-M7WHWZ2J.js} +2 -2
- package/dist/{chunk-7GHD74J3.js → chunk-MDB26F6T.js} +1 -1
- package/dist/{chunk-Z6HIIJK3.js → chunk-MO52RSXV.js} +1 -1
- package/dist/{chunk-IY7SXEVY.js → chunk-MUOYLXBF.js} +3 -3
- package/dist/{chunk-H2KC5XUY.js → chunk-MXSJF6TW.js} +1 -1
- package/dist/{chunk-7BVUTFZ5.js → chunk-OWHPPZZA.js} +2 -2
- package/dist/{chunk-G7EOLHST.js → chunk-PJL5XESN.js} +1 -1
- package/dist/{chunk-QMSPTD6L.js → chunk-PRN2EQBX.js} +1 -1
- package/dist/{chunk-BTKWHCUE.js → chunk-PS6UJZVH.js} +1 -1
- package/dist/{chunk-PCQXSYTH.js → chunk-QMMPHXVE.js} +1 -1
- package/dist/{chunk-4UH72JT2.js → chunk-SPJ6V6WJ.js} +4 -4
- package/dist/{chunk-6TYWM26K.js → chunk-SUSUNSVZ.js} +2 -2
- package/dist/{chunk-OZBB6RFM.js → chunk-TMHOK37S.js} +1 -1
- package/dist/{chunk-DORD2EBO.js → chunk-TPXH53SA.js} +3 -3
- package/dist/{chunk-KW6V7O3H.js → chunk-UI7P5J5S.js} +15 -5
- package/dist/{chunk-YEZBNQZI.js → chunk-VOSQMHNF.js} +1 -1
- package/dist/{chunk-ZSETMD4A.js → chunk-WMPWWFUJ.js} +1 -1
- package/dist/{chunk-FG7GNGE3.js → chunk-WVVEOCEH.js} +1 -1
- package/dist/{chunk-B53XDCLO.js → chunk-YJGDVWTH.js} +4 -4
- package/dist/components/AccessChangerTabItem.cjs +3 -0
- package/dist/components/AccessChangerTabItem.js +2 -2
- package/dist/components/Accordion.cjs +5 -2
- package/dist/components/Accordion.js +4 -4
- package/dist/components/Alert.cjs +5 -2
- package/dist/components/Alert.js +6 -6
- package/dist/components/Breadcrumbs.cjs +4 -1
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.cjs +3 -0
- package/dist/components/Button.js +2 -2
- package/dist/components/CalendarRange.cjs +3 -0
- package/dist/components/CalendarRange.css +3 -0
- package/dist/components/CalendarRange.js +36 -36
- package/dist/components/Caption.cjs +3 -0
- package/dist/components/Caption.js +2 -2
- package/dist/components/Checkbox.cjs +3 -0
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CompactImagesPreview.cjs +5 -2
- package/dist/components/CompactImagesPreview.js +3 -3
- package/dist/components/ContentTab.cjs +3 -0
- package/dist/components/ContentTab.js +3 -3
- package/dist/components/ContentTabs.cjs +3 -0
- package/dist/components/ContentTabs.js +3 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +3 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +3 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +36 -36
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +3 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +3 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +36 -36
- package/dist/components/DataGrid/PinnedColumns.cjs +3 -0
- package/dist/components/DataGrid/PinnedColumns.css +3 -0
- package/dist/components/DataGrid/PinnedColumns.js +36 -36
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +3 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.css +3 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +36 -36
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +3 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +3 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +36 -36
- package/dist/components/DataGrid/TableBody/index.cjs +3 -0
- package/dist/components/DataGrid/TableBody/index.css +3 -0
- package/dist/components/DataGrid/TableBody/index.js +36 -36
- package/dist/components/DataGrid/index.cjs +3 -0
- package/dist/components/DataGrid/index.css +3 -0
- package/dist/components/DataGrid/index.js +36 -36
- package/dist/components/DataGrid/utils.cjs +3 -0
- package/dist/components/DataGrid/utils.css +3 -0
- package/dist/components/DataGrid/utils.js +36 -36
- package/dist/components/DataGridCell.cjs +3 -0
- package/dist/components/DataGridCell.js +8 -8
- package/dist/components/DateInput.cjs +3 -0
- package/dist/components/DateInput.css +3 -0
- package/dist/components/DateInput.js +36 -36
- package/dist/components/DateRangeInput.cjs +3 -0
- package/dist/components/DateRangeInput.css +3 -0
- package/dist/components/DateRangeInput.js +36 -36
- package/dist/components/Display.cjs +3 -0
- package/dist/components/Display.js +2 -2
- package/dist/components/FilterGroup.cjs +3 -0
- package/dist/components/FilterGroup.js +9 -9
- package/dist/components/Heading.cjs +3 -0
- package/dist/components/Heading.js +2 -2
- package/dist/components/HorizontalDivider.cjs +40 -3
- package/dist/components/HorizontalDivider.js +18 -4
- package/dist/components/Input.cjs +3 -0
- package/dist/components/Input.js +4 -4
- package/dist/components/InputGroup.cjs +3 -0
- package/dist/components/InputGroup.js +2 -2
- package/dist/components/Label.cjs +3 -0
- package/dist/components/Label.js +2 -2
- package/dist/components/Link.cjs +3 -0
- package/dist/components/Link.js +2 -2
- package/dist/components/ListGroup.cjs +5 -2
- package/dist/components/ListGroup.js +4 -4
- package/dist/components/MainBar.cjs +3 -0
- package/dist/components/MainBar.js +1 -1
- package/dist/components/MenuOption.cjs +3 -0
- package/dist/components/MenuOption.js +5 -5
- package/dist/components/MobileDataGrid/ColumnList.cjs +73 -9
- package/dist/components/MobileDataGrid/ColumnList.js +11 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +3 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +3 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +36 -36
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +62 -4
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +6 -3
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +73 -9
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +10 -7
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +6 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +3 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +36 -36
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +65 -7
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +8 -5
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +65 -7
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +12 -12
- package/dist/components/MobileDataGrid/index.cjs +27 -10
- package/dist/components/MobileDataGrid/index.css +3 -0
- package/dist/components/MobileDataGrid/index.js +36 -36
- package/dist/components/Modal.cjs +3 -0
- package/dist/components/Modal.js +7 -7
- package/dist/components/ModalButtons.cjs +3 -0
- package/dist/components/ModalButtons.js +3 -3
- package/dist/components/ModalContent.cjs +3 -0
- package/dist/components/ModalContent.js +2 -2
- package/dist/components/ModalHeader.cjs +3 -0
- package/dist/components/ModalHeader.js +4 -4
- package/dist/components/NavigationTab.cjs +3 -0
- package/dist/components/NavigationTab.js +3 -3
- package/dist/components/NavigationTabs.cjs +3 -0
- package/dist/components/NavigationTabs.js +3 -3
- package/dist/components/NestedMenu.cjs +3 -0
- package/dist/components/NestedMenu.js +6 -6
- package/dist/components/Notification.cjs +5 -2
- package/dist/components/Notification.js +5 -5
- package/dist/components/OptionPill.cjs +3 -0
- package/dist/components/OptionPill.js +4 -4
- package/dist/components/PDFViewer/DownloadIcon.cjs +3 -0
- package/dist/components/PDFViewer/DownloadIcon.js +3 -3
- package/dist/components/PDFViewer/PDFElement.cjs +5 -2
- package/dist/components/PDFViewer/PDFElement.js +3 -3
- package/dist/components/PDFViewer/PDFNavigation.cjs +5 -2
- package/dist/components/PDFViewer/PDFNavigation.js +6 -6
- package/dist/components/PDFViewer/index.cjs +5 -2
- package/dist/components/PDFViewer/index.js +13 -13
- package/dist/components/Pagination.cjs +3 -0
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Paragraph.cjs +3 -0
- package/dist/components/Paragraph.js +2 -2
- package/dist/components/Password.cjs +3 -0
- package/dist/components/Password.js +4 -4
- package/dist/components/ProductImagePreview/index.cjs +5 -2
- package/dist/components/ProductImagePreview/index.js +3 -3
- package/dist/components/ProjectBar.cjs +3 -0
- package/dist/components/ProjectBar.js +1 -1
- package/dist/components/Radio.cjs +3 -0
- package/dist/components/Radio.js +2 -2
- package/dist/components/Search.cjs +3 -0
- package/dist/components/Search.js +5 -5
- package/dist/components/Select.cjs +3 -0
- package/dist/components/Select.js +5 -5
- package/dist/components/SideMenuGroup.cjs +5 -2
- package/dist/components/SideMenuGroup.js +3 -3
- package/dist/components/SideMenuItem.cjs +5 -2
- package/dist/components/SideMenuItem.js +3 -3
- package/dist/components/SimpleTable.cjs +5 -2
- package/dist/components/SimpleTable.js +4 -4
- package/dist/components/Stack.cjs +5 -2
- package/dist/components/Stack.js +2 -2
- package/dist/components/StatusPill.cjs +3 -0
- package/dist/components/StatusPill.js +2 -2
- package/dist/components/Stepper.cjs +3 -0
- package/dist/components/Stepper.js +5 -5
- package/dist/components/Subheader.cjs +3 -0
- package/dist/components/Subheader.js +2 -2
- package/dist/components/Swatch.cjs +5 -2
- package/dist/components/Swatch.js +5 -5
- package/dist/components/Textarea.cjs +3 -0
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Time.cjs +5 -2
- package/dist/components/Time.js +5 -5
- package/dist/components/Toast.cjs +3 -0
- package/dist/components/Toast.js +4 -4
- package/dist/components/Tooltip.cjs +3 -0
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/TopBar.cjs +3 -0
- package/dist/components/TopBar.js +1 -1
- package/dist/components/Upload.cjs +5 -2
- package/dist/components/Upload.js +4 -4
- package/dist/components/index.cjs +27 -10
- package/dist/components/index.css +3 -0
- package/dist/components/index.js +36 -36
- package/dist/index.css +3 -0
- package/package.json +1 -1
- package/src/classNames.ts +4 -0
- package/src/components/Breadcrumbs.tsx +1 -1
- package/src/components/HorizontalDivider.tsx +16 -3
- package/src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx +12 -5
- package/src/components/MobileDataGrid/MobileDataGridCard/index.tsx +11 -2
- package/src/components/MobileDataGrid/MobileDataGridHeader.tsx +1 -0
- package/src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx +1 -1
- package/src/components/Stack.tsx +1 -0
package/dist/components/index.js
CHANGED
|
@@ -2,41 +2,41 @@ import {
|
|
|
2
2
|
DataGrid,
|
|
3
3
|
DateInput,
|
|
4
4
|
MobileDataGrid
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-LJWQEZUS.js";
|
|
6
6
|
import "../chunk-M7INAUAJ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ELXVDRWS.js";
|
|
8
|
+
import "../chunk-3UUCDNX3.js";
|
|
9
9
|
import {
|
|
10
10
|
ProductImagePreview
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-FJRYHJUV.js";
|
|
12
12
|
import "../chunk-BQNPOGD5.js";
|
|
13
13
|
import {
|
|
14
14
|
SearchResultImage
|
|
15
15
|
} from "../chunk-Y5GD2FJA.js";
|
|
16
16
|
import {
|
|
17
17
|
PDFViewer
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-6XLESQ2U.js";
|
|
19
|
+
import "../chunk-VOSQMHNF.js";
|
|
20
|
+
import "../chunk-YJGDVWTH.js";
|
|
21
21
|
import "../chunk-S5ZJ3Q7P.js";
|
|
22
22
|
import "../chunk-MBZ55T2D.js";
|
|
23
23
|
import "../chunk-2IKT6IHB.js";
|
|
24
24
|
import "../chunk-YCDDBSVU.js";
|
|
25
25
|
import "../chunk-3X3Y4TMS.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-PRN2EQBX.js";
|
|
27
|
+
import "../chunk-5YNEY3WO.js";
|
|
28
28
|
import "../chunk-5IFPG6TS.js";
|
|
29
29
|
import "../chunk-AJ5M6MVX.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-UI7P5J5S.js";
|
|
31
|
+
import "../chunk-56RPZLV7.js";
|
|
32
32
|
import {
|
|
33
33
|
Tooltip
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-MDB26F6T.js";
|
|
35
35
|
import "../chunk-AT4AWD6B.js";
|
|
36
36
|
import "../chunk-EWGHVZL5.js";
|
|
37
37
|
import {
|
|
38
38
|
SimpleTable
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-OWHPPZZA.js";
|
|
40
40
|
import {
|
|
41
41
|
SkeletonParagraph
|
|
42
42
|
} from "../chunk-L3BXRDLP.js";
|
|
@@ -45,19 +45,19 @@ import {
|
|
|
45
45
|
} from "../chunk-34VEVX5H.js";
|
|
46
46
|
import {
|
|
47
47
|
Pagination
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-LB7UT6F3.js";
|
|
49
49
|
import {
|
|
50
50
|
Select
|
|
51
|
-
} from "../chunk-
|
|
52
|
-
import "../chunk-
|
|
51
|
+
} from "../chunk-2TNHD4MQ.js";
|
|
52
|
+
import "../chunk-BMPL6LCR.js";
|
|
53
53
|
import "../chunk-4RJKB7LC.js";
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-WVVEOCEH.js";
|
|
55
|
+
import "../chunk-CMMQTIVM.js";
|
|
56
56
|
import "../chunk-AG43RS4Q.js";
|
|
57
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-AKJUBFJK.js";
|
|
58
58
|
import {
|
|
59
59
|
ListGroup
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-SUSUNSVZ.js";
|
|
61
61
|
import "../chunk-SBRRNFOP.js";
|
|
62
62
|
import "../chunk-Y2GK27RX.js";
|
|
63
63
|
import "../chunk-QVWYTQKL.js";
|
|
@@ -66,62 +66,62 @@ import {
|
|
|
66
66
|
DataGridCell,
|
|
67
67
|
DragAlongCell,
|
|
68
68
|
DraggableCellHeader
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-CHUKGR7S.js";
|
|
70
70
|
import {
|
|
71
71
|
Menu
|
|
72
72
|
} from "../chunk-TCMOGTPB.js";
|
|
73
73
|
import "../chunk-DVU5XV7L.js";
|
|
74
74
|
import {
|
|
75
75
|
MenuOption
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-KOU2TO3N.js";
|
|
77
77
|
import {
|
|
78
78
|
Search
|
|
79
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-HK4S6TRH.js";
|
|
80
80
|
import {
|
|
81
81
|
Input
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-KPBG7D3V.js";
|
|
83
83
|
import {
|
|
84
84
|
Label
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-HXGJVYGQ.js";
|
|
86
86
|
import "../chunk-WVUIIBRR.js";
|
|
87
87
|
import {
|
|
88
88
|
EmptyCartIcon
|
|
89
89
|
} from "../chunk-75USUR3I.js";
|
|
90
|
-
import "../chunk-
|
|
90
|
+
import "../chunk-PS6UJZVH.js";
|
|
91
91
|
import {
|
|
92
92
|
Checkbox
|
|
93
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-M7WHWZ2J.js";
|
|
94
94
|
import {
|
|
95
95
|
CompactImagesPreview
|
|
96
|
-
} from "../chunk-
|
|
96
|
+
} from "../chunk-TMHOK37S.js";
|
|
97
97
|
import "../chunk-URYQ24NF.js";
|
|
98
98
|
import "../chunk-VXWSAIB5.js";
|
|
99
99
|
import "../chunk-R3EQIDBX.js";
|
|
100
100
|
import "../chunk-5UH6QUFB.js";
|
|
101
101
|
import {
|
|
102
102
|
Subheader
|
|
103
|
-
} from "../chunk-
|
|
103
|
+
} from "../chunk-BYC6QID5.js";
|
|
104
104
|
import {
|
|
105
105
|
Accordion
|
|
106
|
-
} from "../chunk-
|
|
106
|
+
} from "../chunk-MUOYLXBF.js";
|
|
107
107
|
import {
|
|
108
108
|
Card
|
|
109
109
|
} from "../chunk-KBJZUVLM.js";
|
|
110
110
|
import {
|
|
111
111
|
Alert
|
|
112
|
-
} from "../chunk-
|
|
113
|
-
import "../chunk-
|
|
112
|
+
} from "../chunk-SPJ6V6WJ.js";
|
|
113
|
+
import "../chunk-MXSJF6TW.js";
|
|
114
114
|
import {
|
|
115
115
|
Paragraph
|
|
116
|
-
} from "../chunk-
|
|
117
|
-
import "../chunk-
|
|
116
|
+
} from "../chunk-WMPWWFUJ.js";
|
|
117
|
+
import "../chunk-TPXH53SA.js";
|
|
118
118
|
import {
|
|
119
119
|
Icon
|
|
120
120
|
} from "../chunk-NKUETCDA.js";
|
|
121
121
|
import {
|
|
122
122
|
Button
|
|
123
|
-
} from "../chunk-
|
|
124
|
-
import "../chunk-
|
|
123
|
+
} from "../chunk-45AHDOAU.js";
|
|
124
|
+
import "../chunk-7KWFEH56.js";
|
|
125
125
|
import "../chunk-ORMEWXMH.js";
|
|
126
126
|
export {
|
|
127
127
|
Accordion,
|
package/dist/index.css
CHANGED
package/package.json
CHANGED
package/src/classNames.ts
CHANGED
|
@@ -145,6 +145,10 @@ export const layoutPaddingY = clsx(
|
|
|
145
145
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding",
|
|
146
146
|
);
|
|
147
147
|
|
|
148
|
+
export const layoutPaddingX = clsx(
|
|
149
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding",
|
|
150
|
+
);
|
|
151
|
+
|
|
148
152
|
export const containerPaddingX = clsx(
|
|
149
153
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding",
|
|
150
154
|
);
|
|
@@ -40,7 +40,7 @@ export const Breadcrumb = ({
|
|
|
40
40
|
<Link
|
|
41
41
|
id={id ? `${id}-link` : undefined}
|
|
42
42
|
data-testid={testid ? `${testid}-link` : undefined}
|
|
43
|
-
className={linkPadding}
|
|
43
|
+
className={clsx(linkPadding, "!text-caption-desktop")}
|
|
44
44
|
href={href}
|
|
45
45
|
typographyStyle="breadcrumb"
|
|
46
46
|
onClick={onClick}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
+
import type { HTMLAttributes } from "react";
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
type HorizontalDividerProps = HTMLAttributes<HTMLHRElement> & {
|
|
5
|
+
testid?: string;
|
|
6
|
+
hideOnMobile?: boolean;
|
|
7
|
+
};
|
|
5
8
|
|
|
9
|
+
export function HorizontalDivider({ id, testid, hideOnMobile, className, ...rest }: HorizontalDividerProps) {
|
|
6
10
|
return (
|
|
7
|
-
<hr
|
|
11
|
+
<hr
|
|
12
|
+
id={id}
|
|
13
|
+
data-testid={testid}
|
|
14
|
+
className={clsx(
|
|
15
|
+
"w-full border-t border-border-primary-normal",
|
|
16
|
+
hideOnMobile && "hidden desktop:block",
|
|
17
|
+
className
|
|
18
|
+
)}
|
|
19
|
+
{...rest}
|
|
20
|
+
/>
|
|
8
21
|
);
|
|
9
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Paragraph } from "../../Paragraph";
|
|
2
2
|
import { ColumnDef } from "@tanstack/react-table";
|
|
3
|
+
import { formatDate } from "../../../utils";
|
|
3
4
|
|
|
4
5
|
export function MobileDataGridColumn<T extends Record<string, unknown>>(props: {
|
|
5
6
|
column: ColumnDef<T>;
|
|
@@ -7,14 +8,20 @@ export function MobileDataGridColumn<T extends Record<string, unknown>>(props: {
|
|
|
7
8
|
}) {
|
|
8
9
|
const { column, data } = props;
|
|
9
10
|
|
|
11
|
+
let value: unknown;
|
|
12
|
+
if (column.id) {
|
|
13
|
+
value = data[column.id];
|
|
14
|
+
if (column.meta?.format === "date" && typeof value === "string") {
|
|
15
|
+
value = formatDate(value);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
10
19
|
return (
|
|
11
|
-
<div className="grid grid-cols-2 gap-2
|
|
20
|
+
<div className="grid grid-cols-2 gap-2 flex-1">
|
|
12
21
|
<Paragraph color="text-secondary-normal" className="text-left">
|
|
13
22
|
{column.header?.toString()}:
|
|
14
23
|
</Paragraph>{" "}
|
|
15
|
-
{
|
|
16
|
-
? (data[column.id] as React.ReactNode)
|
|
17
|
-
: null}
|
|
24
|
+
{value ? (value as React.ReactNode) : null}
|
|
18
25
|
</div>
|
|
19
26
|
);
|
|
20
|
-
}
|
|
27
|
+
}
|
|
@@ -7,6 +7,7 @@ import clsx from "clsx";
|
|
|
7
7
|
import { MobileDataGridColumn } from "./MobileDataGridColumn";
|
|
8
8
|
import { Subheader } from "../../Subheader";
|
|
9
9
|
import { RowActions } from "../types";
|
|
10
|
+
import { layoutGroupGap, layoutPaddingX, paddingYUsingLayoutGroupGap } from "../../../classNames";
|
|
10
11
|
|
|
11
12
|
export function MobileDataGridCard<T extends Record<string, unknown>>({
|
|
12
13
|
renderLink,
|
|
@@ -32,8 +33,12 @@ export function MobileDataGridCard<T extends Record<string, unknown>>({
|
|
|
32
33
|
id={id ? `${id}-card-${getId(data)}` : undefined}
|
|
33
34
|
data-testid={testid ? `${testid}-card-${getId(data)}` : undefined}
|
|
34
35
|
className={clsx(
|
|
36
|
+
"flex flex-col",
|
|
35
37
|
"hover:bg-action-100 cursor-pointer list-none",
|
|
36
38
|
selected ? "bg-action-100" : "bg-background-grouped-primary-normal",
|
|
39
|
+
layoutGroupGap,
|
|
40
|
+
layoutPaddingX,
|
|
41
|
+
paddingYUsingLayoutGroupGap
|
|
37
42
|
)}
|
|
38
43
|
onClick={() => openRowDetail(data)}
|
|
39
44
|
>
|
|
@@ -44,6 +49,7 @@ export function MobileDataGridCard<T extends Record<string, unknown>>({
|
|
|
44
49
|
sizing="component"
|
|
45
50
|
padding
|
|
46
51
|
width="fit"
|
|
52
|
+
style={{ paddingLeft: 0, paddingRight: 8 }}
|
|
47
53
|
onClick={(e) => e.stopPropagation()}
|
|
48
54
|
>
|
|
49
55
|
<Checkbox
|
|
@@ -62,6 +68,7 @@ export function MobileDataGridCard<T extends Record<string, unknown>>({
|
|
|
62
68
|
sizing="component"
|
|
63
69
|
padding
|
|
64
70
|
onClick={(e) => e.stopPropagation()}
|
|
71
|
+
style={{ paddingInline: 0 }}
|
|
65
72
|
>
|
|
66
73
|
{renderLink ? (
|
|
67
74
|
renderLink(data)
|
|
@@ -95,7 +102,7 @@ export function MobileDataGridCard<T extends Record<string, unknown>>({
|
|
|
95
102
|
column.id ? (
|
|
96
103
|
<div
|
|
97
104
|
key={`${column.id}-${index}`}
|
|
98
|
-
className="grid grid-cols-2 gap-2
|
|
105
|
+
className="grid grid-cols-2 gap-2 items-center flex-1"
|
|
99
106
|
>
|
|
100
107
|
<Paragraph
|
|
101
108
|
color="text-secondary-normal"
|
|
@@ -121,7 +128,9 @@ export function MobileDataGridCard<T extends Record<string, unknown>>({
|
|
|
121
128
|
</Stack>
|
|
122
129
|
{renderChevron && (
|
|
123
130
|
<Stack items="center" justify="center" horizontal horizontalMobile>
|
|
124
|
-
<
|
|
131
|
+
<span className="text-icon-primary-normal">
|
|
132
|
+
<Icon name="keyboard_arrow_down" />
|
|
133
|
+
</span>
|
|
125
134
|
</Stack>
|
|
126
135
|
)}
|
|
127
136
|
</li>
|
|
@@ -42,6 +42,7 @@ export function MobileDataGridHeader<T>({
|
|
|
42
42
|
items="center"
|
|
43
43
|
justify="between"
|
|
44
44
|
backgroundColor="background-primary-normal"
|
|
45
|
+
style={{ borderTopRightRadius: 4, borderTopLeftRadius: 4 }}
|
|
45
46
|
>
|
|
46
47
|
{enableRowSelection && (
|
|
47
48
|
<div className="p-mobile-component-padding border-r border-brand-200 max-w-fit h-full">
|
|
@@ -18,7 +18,7 @@ export function ModalContent() {
|
|
|
18
18
|
column.id ? (
|
|
19
19
|
<div
|
|
20
20
|
key={`${column.id}-${index}`}
|
|
21
|
-
className="grid grid-cols-2 gap-2
|
|
21
|
+
className="grid grid-cols-2 gap-2 items-center flex-1"
|
|
22
22
|
>
|
|
23
23
|
<Paragraph color="text-secondary-normal" className="text-left">
|
|
24
24
|
{column.header?.toString()}:
|