hamzus-ui 0.0.203 → 0.0.205

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.203",
3
+ "version": "0.0.205",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "svelte": "index.js",
@@ -6,9 +6,9 @@
6
6
  export let target = '';
7
7
  export let onClick = null;
8
8
 
9
- function handleClick() {
9
+ function handleClick(e) {
10
10
  if (onClick) {
11
- onClick()
11
+ onClick(e)
12
12
  }
13
13
  }
14
14
  </script>
@@ -408,9 +408,10 @@
408
408
  {#if pagination}
409
409
  <div class="pagination">
410
410
  <IconButton
411
+ size="26px"
411
412
  onClick={handleGoLeft}
412
413
  desabled={canPassToLeft}
413
- variant="outline"
414
+ variant="ghost"
414
415
  style="border-top-right-radius: 0px;border-bottom-right-radius: 0px;"
415
416
  >
416
417
  <svg
@@ -432,7 +433,7 @@
432
433
  </IconButton>
433
434
  <DropdownMenu.Root>
434
435
  <DropdownMenu.Trigger slot="trigger">
435
- <IconButton variant="outline" style="border-radius:0px;"
436
+ <IconButton size="26px" variant="ghost" style="border-radius:0px;"
436
437
  ><h4>
437
438
  {Math.floor($table.offset / $table.limit) + 1}
438
439
  </h4></IconButton
@@ -462,10 +463,11 @@
462
463
  </DropdownMenu.Root>
463
464
 
464
465
  <IconButton
466
+ size="26px"
465
467
  onClick={handleGoRight}
466
468
  desabled={canPassToRight}
467
469
  style="border-top-left-radius: 0px;border-bottom-left-radius: 0px;"
468
- variant="outline"
470
+ variant="ghost"
469
471
  >
470
472
  <svg
471
473
  width="24"
@@ -606,6 +608,8 @@
606
608
  }
607
609
  .pagination {
608
610
  display: flex;
611
+ border-radius: var(--pad-l);
612
+ border: 1px solid var(--stroke);
609
613
  }
610
614
 
611
615
  .actions {