@isi-ui7/bos7-shared 0.5.0 → 0.5.2
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/package.json +8 -8
- package/src/crud-components.tsx +18 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isi-ui7/bos7-shared",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Shared auth7 and layout primitives for bos7 applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@carbon/icons-react": "^11.71.0",
|
|
72
72
|
"@carbon/react": "^1.97.0",
|
|
73
|
-
"@isi-ui7/corporate-themes": ">=0.2.
|
|
73
|
+
"@isi-ui7/corporate-themes": ">=0.2.20",
|
|
74
74
|
"@isi-ui7/data-table": ">=0.2.5",
|
|
75
|
-
"@isi-ui7/editable-table": ">=0.2.
|
|
75
|
+
"@isi-ui7/editable-table": ">=0.2.4",
|
|
76
76
|
"@isi-ui7/i18n": ">=0.2.4",
|
|
77
77
|
"@isi-ui7/lookup-input": ">=0.2.4",
|
|
78
78
|
"@isi-ui7/modal-manager": ">=0.2.0",
|
|
@@ -106,14 +106,14 @@
|
|
|
106
106
|
"vite": "^5.0.0",
|
|
107
107
|
"vite-plugin-dts": "^3.6.0",
|
|
108
108
|
"vitest": "^1.0.0",
|
|
109
|
-
"@isi-ui7/corporate-themes": "0.2.
|
|
109
|
+
"@isi-ui7/corporate-themes": "0.2.20",
|
|
110
110
|
"@isi-ui7/data-table": "0.2.5",
|
|
111
|
-
"@isi-ui7/editable-table": "0.2.
|
|
111
|
+
"@isi-ui7/editable-table": "0.2.4",
|
|
112
112
|
"@isi-ui7/i18n": "0.2.4",
|
|
113
113
|
"@isi-ui7/lookup-input": "0.2.4",
|
|
114
|
+
"@isi-ui7/modal-manager": "0.2.2",
|
|
114
115
|
"@isi-ui7/realtime": "0.2.3",
|
|
115
|
-
"@isi-ui7/ui-shell": "0.2.8"
|
|
116
|
-
"@isi-ui7/modal-manager": "0.2.2"
|
|
116
|
+
"@isi-ui7/ui-shell": "0.2.8"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
119
|
"@carbon/icons-react": "^11.71.0",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"jspdf": "^4.2.1",
|
|
128
128
|
"jspdf-autotable": "^5.0.7",
|
|
129
129
|
"@isi-ui7/data-table": "0.2.5",
|
|
130
|
-
"@isi-ui7/editable-table": "0.2.
|
|
130
|
+
"@isi-ui7/editable-table": "0.2.4",
|
|
131
131
|
"@isi-ui7/lookup-input": "0.2.4"
|
|
132
132
|
},
|
|
133
133
|
"scripts": {
|
package/src/crud-components.tsx
CHANGED
|
@@ -166,7 +166,24 @@ export function SharedCrudListPage({
|
|
|
166
166
|
onClick: onPopupClick,
|
|
167
167
|
}}
|
|
168
168
|
toolbarActions={
|
|
169
|
-
|
|
169
|
+
// `flexWrap` WAJIB. Panel ini tumbuh dari beberapa medan jadi
|
|
170
|
+
// SEPULUH (Putaran 2, 2026-09-03) dan tiap medan ber-`minWidth:
|
|
171
|
+
// 10rem`; ditambah toggle, filterSelect, dan tombol Cari/Reset,
|
|
172
|
+
// lebar minimum satu barisnya ~112rem. Tanpa membungkus baris,
|
|
173
|
+
// panelnya meluber horizontal alih-alih turun ke baris kedua.
|
|
174
|
+
//
|
|
175
|
+
// Ongkos "sepuluh medan" sudah ditimbang di sumbu PERILAKU saat itu
|
|
176
|
+
// (debounce diganti tombol `Cari` — lihat komentar besar di atas)
|
|
177
|
+
// dan NOL ditimbang di sumbu TATA LETAK. Ini melunasinya.
|
|
178
|
+
<div
|
|
179
|
+
style={{
|
|
180
|
+
display: "flex",
|
|
181
|
+
flexWrap: "wrap",
|
|
182
|
+
alignItems: "center",
|
|
183
|
+
gap: "1rem",
|
|
184
|
+
rowGap: "0.5rem",
|
|
185
|
+
}}
|
|
186
|
+
>
|
|
170
187
|
{schema.showInactiveToggle ? (
|
|
171
188
|
<Toggle
|
|
172
189
|
id={`show-inactive-${schema.apiPath}`}
|