hamzus-ui 0.0.198 → 0.0.200

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hamzus-ui",
3
- "version": "0.0.198",
3
+ "version": "0.0.200",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "svelte": "index.js",
@@ -177,7 +177,7 @@
177
177
  <Tooltip.Trigger slot="trigger">
178
178
  {#if $mobileFormat}
179
179
  <IconButton
180
- size="22px"
180
+ size="20px"
181
181
  variant="ghost"
182
182
  onClick={() => {
183
183
  handleSwitchFormat(false);
@@ -218,7 +218,7 @@
218
218
  </IconButton>
219
219
  {:else}
220
220
  <IconButton
221
- size="22px"
221
+ size="20px"
222
222
  variant="secondary"
223
223
  onClick={() => {
224
224
  handleSwitchFormat(false);
@@ -268,7 +268,7 @@
268
268
  <Tooltip.Trigger slot="trigger">
269
269
  {#if !$mobileFormat}
270
270
  <IconButton
271
- size="22px"
271
+ size="20px"
272
272
  variant="ghost"
273
273
  onClick={() => {
274
274
  handleSwitchFormat(true);
@@ -293,7 +293,7 @@
293
293
  </IconButton>
294
294
  {:else}
295
295
  <IconButton
296
- size="22px"
296
+ size="20px"
297
297
  variant="secondary"
298
298
  onClick={() => {
299
299
  handleSwitchFormat(true);
@@ -326,7 +326,7 @@
326
326
  {#if $table.actions.length > 0 && $table.selection.length > 0}
327
327
  <DropdownMenu.Root>
328
328
  <DropdownMenu.Trigger slot="trigger">
329
- <IconButton variant="secondary">
329
+ <IconButton variant="outline">
330
330
  <svg
331
331
  width="24"
332
332
  height="24"
@@ -359,7 +359,7 @@
359
359
 
360
360
  <DropdownMenu.Root>
361
361
  <DropdownMenu.Trigger slot="trigger">
362
- <Button variant="secondary">
362
+ <Button variant="outline" style="padding-top:var(--pad-s);padding-bottom:var(--pad-s);">
363
363
  <svg
364
364
  width="24"
365
365
  height="24"
@@ -380,7 +380,7 @@
380
380
  fill="#292D32"
381
381
  />
382
382
  </svg>
383
- <h4>colonnes</h4>
383
+ <h6>colonnes</h6>
384
384
  </Button>
385
385
  </DropdownMenu.Trigger>
386
386
  <DropdownMenu.Content slot="content">
@@ -410,7 +410,7 @@
410
410
  <IconButton
411
411
  onClick={handleGoLeft}
412
412
  desabled={canPassToLeft}
413
- variant="secondary"
413
+ variant="outline"
414
414
  style="border-top-right-radius: 0px;border-bottom-right-radius: 0px;"
415
415
  >
416
416
  <svg
@@ -432,7 +432,7 @@
432
432
  </IconButton>
433
433
  <DropdownMenu.Root>
434
434
  <DropdownMenu.Trigger slot="trigger">
435
- <IconButton variant="secondary" style="border-radius:0px;"
435
+ <IconButton variant="outline" style="border-radius:0px;"
436
436
  ><h4>
437
437
  {Math.floor($table.offset / $table.limit) + 1}
438
438
  </h4></IconButton
@@ -465,7 +465,7 @@
465
465
  onClick={handleGoRight}
466
466
  desabled={canPassToRight}
467
467
  style="border-top-left-radius: 0px;border-bottom-left-radius: 0px;"
468
- variant="secondary"
468
+ variant="outline"
469
469
  >
470
470
  <svg
471
471
  width="24"
@@ -98,9 +98,9 @@
98
98
  <svelte:component this={row[cellKey].component} {...row[cellKey].props}
99
99
  ></svelte:component>
100
100
  {:else if row[cellKey] === null}
101
- <h4>-</h4>
101
+ <h5 style="color:var(--font-1)">-</h5>
102
102
  {:else}
103
- <h4>{row[cellKey] ?? "-"}</h4>
103
+ <h5 style="color:var(--font-1)">{row[cellKey] ?? "-"}</h5>
104
104
  {/if}
105
105
  {/if}
106
106
  <!-- si c est au format mobile on affiche le nom de la cell -->
@@ -168,7 +168,7 @@
168
168
  .cell {
169
169
  text-align: left;
170
170
  width: var(--cell-width);
171
- padding: var(--pad-m);
171
+ padding: var(--pad-s);
172
172
  overflow: hidden;
173
173
  text-overflow: ellipsis;
174
174
  border-right: 1px solid var(--stroke);
@@ -371,9 +371,10 @@
371
371
  min-width: 100%;
372
372
  width: max-content;
373
373
  display: flex;
374
+ border-top: 1px solid var(--stroke);
374
375
  border-bottom: 1px solid var(--stroke);
375
376
  user-select: none;
376
- background-color: var(--bg-2);
377
+ background-color: var(--bg-blur);
377
378
  position: sticky;
378
379
  top: 0;
379
380
  z-index: 1;
@@ -417,5 +418,18 @@
417
418
  transform: translate(-50%, -50%);
418
419
  width: 15px;
419
420
  height: 100%;
421
+ z-index: 3;
420
422
  }
423
+
424
+ .resizer::after{
425
+ content: '';
426
+ width: 1px;
427
+ height: 100%;
428
+ background-color: var(--stroke);
429
+ position: absolute;
430
+ top: 0px;
431
+ left: 0px;
432
+ transform: translate(-100%);
433
+ z-index: 2;
434
+ }
421
435
  </style>