@tech-diefra/fluig-ui 1.2.2 → 1.2.4

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.
Files changed (2) hide show
  1. package/dist/style.css +30 -31
  2. package/package.json +2 -2
package/dist/style.css CHANGED
@@ -1191,29 +1191,29 @@ h2.react-datepicker__current-month {
1191
1191
  .status-badge.default {
1192
1192
  --badgeMainColor: #555;
1193
1193
  }
1194
- .header-actions {
1194
+ .table-wrapper .header-actions {
1195
1195
  display: flex;
1196
1196
  align-items: center;
1197
1197
  justify-content: space-between;
1198
1198
  width: 100%;
1199
1199
  margin-bottom: 16px;
1200
1200
  }
1201
- .header-actions > h3 {
1201
+ .table-wrapper .header-actions > h3 {
1202
1202
  margin: 0 !important;
1203
1203
  font-weight: 600;
1204
1204
  color: #58595b;
1205
1205
  }
1206
- .header-actions > div {
1206
+ .table-wrapper .header-actions > div {
1207
1207
  display: flex;
1208
1208
  gap: 8px;
1209
1209
  }
1210
- .header-handle {
1211
- display: flex;
1212
- align-items: center;
1213
- justify-content: space-between;
1214
- margin-bottom: 16px;
1210
+ .table-wrapper .header-handle {
1211
+ display: flex !important;
1212
+ align-items: center !important;
1213
+ justify-content: space-between !important;
1214
+ margin-bottom: 16px !important;
1215
1215
  }
1216
- .handle-actions {
1216
+ .table-wrapper .handle-actions {
1217
1217
  display: flex;
1218
1218
  align-items: center;
1219
1219
  gap: 16px;
@@ -1221,28 +1221,27 @@ h2.react-datepicker__current-month {
1221
1221
  .table-wrapper {
1222
1222
  width: 100%;
1223
1223
  margin-bottom: 20px;
1224
- border-bottom: 1px solid rgb(228, 228, 228);
1225
1224
  }
1226
1225
  .table-wrapper h3 {
1227
1226
  margin: 0 !important;
1228
1227
  }
1229
- .table-fixed .table-scroll {
1228
+ .table-wrapper .table-fixed .table-scroll {
1230
1229
  overflow-x: auto;
1231
1230
  }
1232
- .table-fluid .table-scroll {
1231
+ .table-wrapper .table-fluid .table-scroll {
1233
1232
  overflow-x: hidden;
1234
1233
  }
1235
- .table-scroll {
1234
+ .table-wrapper .table-scroll {
1236
1235
  position: relative;
1237
1236
  overflow-y: auto;
1238
1237
  min-height: 400px;
1239
1238
  max-height: 400px;
1240
1239
  }
1241
- .table-fixed th,
1242
- .table-fixed td {
1240
+ .table-wrapper .table-fixed th,
1241
+ .table-wrapper .table-fixed td {
1243
1242
  white-space: nowrap;
1244
1243
  }
1245
- .table-custom {
1244
+ .table-wrapper .table-custom {
1246
1245
  width: 100%;
1247
1246
  border-collapse: separate;
1248
1247
  border-spacing: 0;
@@ -1251,7 +1250,7 @@ h2.react-datepicker__current-month {
1251
1250
  overflow: hidden;
1252
1251
  background-color: #fff;
1253
1252
  }
1254
- .btn-add {
1253
+ .table-wrapper .btn-add {
1255
1254
  background-color: var(--colorPrimary, #00916d);
1256
1255
  border: none;
1257
1256
  color: #fff !important;
@@ -1261,13 +1260,13 @@ h2.react-datepicker__current-month {
1261
1260
  cursor: pointer;
1262
1261
  transition: opacity 0.2s;
1263
1262
  }
1264
- .btn-add:hover {
1263
+ .table-wrapper .btn-add:hover {
1265
1264
  opacity: 0.9;
1266
1265
  }
1267
- .table-custom thead {
1266
+ .table-wrapper .table-custom thead {
1268
1267
  background-color: #ebebeb;
1269
1268
  }
1270
- .table-custom thead tr th {
1269
+ .table-wrapper .table-custom thead tr th {
1271
1270
  position: sticky;
1272
1271
  top: 0;
1273
1272
  z-index: 2;
@@ -1278,39 +1277,39 @@ h2.react-datepicker__current-month {
1278
1277
  font-weight: 700;
1279
1278
  color: #696969;
1280
1279
  }
1281
- .table-custom thead tr th:first-child {
1280
+ .table-wrapper .table-custom thead tr th:first-child {
1282
1281
  border-left: none;
1283
1282
  }
1284
- .table-custom tbody tr td {
1283
+ .table-wrapper .table-custom tbody tr td {
1285
1284
  border-left: 1px solid #e1e1e1;
1286
1285
  padding: 12px 16px;
1287
1286
  vertical-align: middle;
1288
1287
  }
1289
- .table-custom tbody tr td:first-child {
1288
+ .table-wrapper .table-custom tbody tr td:first-child {
1290
1289
  border-left: none;
1291
1290
  }
1292
- .table-custom tbody tr:nth-child(2n) {
1291
+ .table-wrapper .table-custom tbody tr:nth-child(2n) {
1293
1292
  background-color: #f9f9f9;
1294
1293
  }
1295
- .table-custom tbody tr:hover {
1294
+ .table-wrapper .table-custom tbody tr:hover {
1296
1295
  background-color: #f0f0f0;
1297
1296
  }
1298
- .table-custom th,
1299
- .table-custom td {
1297
+ .table-wrapper .table-custom th,
1298
+ .table-wrapper .table-custom td {
1300
1299
  overflow: hidden;
1301
1300
  text-overflow: ellipsis;
1302
1301
  }
1303
- .table-custom td {
1302
+ .table-wrapper .table-custom td {
1304
1303
  flex-wrap: nowrap;
1305
1304
  }
1306
- .table-custom .form-control {
1305
+ .table-wrapper .table-custom .form-control {
1307
1306
  margin-bottom: 0 !important;
1308
1307
  height: 34px;
1309
1308
  }
1310
- .text-center {
1309
+ .table-wrapper .text-center {
1311
1310
  text-align: center;
1312
1311
  }
1313
- .table-custom tbody tr.empty-row td {
1312
+ .table-wrapper .table-custom tbody tr.empty-row td {
1314
1313
  height: 400px;
1315
1314
  vertical-align: middle;
1316
1315
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tech-diefra/fluig-ui",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "@fluig-kit/core": "^1.0.5",
26
26
  "@fluig-kit/ecm": "^1.0.10",
27
27
  "date-fns": "^2.0.0 || ^3.0.0 || ^4.0.0",
28
- "react": "^19.2.3",
28
+ "react": "^18.0.0 || ^19.0.0",
29
29
  "react-datepicker": "^4.0.0 || ^6.0.0 || ^7.0.0",
30
30
  "react-dom": "^18.0.0 || ^19.0.0",
31
31
  "react-hook-form": "^7.0.0",