mertani-web-toolkit 0.1.61 → 0.1.62

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.
@@ -55,6 +55,7 @@
55
55
  // Any
56
56
  class?: string;
57
57
  style?: string;
58
+ isShowChevron?: boolean;
58
59
  }
59
60
 
60
61
  const {
@@ -103,7 +104,8 @@
103
104
  tooltip = '',
104
105
 
105
106
  class: className = '',
106
- style: customStyle = ''
107
+ style: customStyle = '',
108
+ isShowChevron = true
107
109
  }: Props = $props();
108
110
 
109
111
  // ===== Constants =====
@@ -416,10 +418,12 @@
416
418
  title={tooltip || ''}
417
419
  >
418
420
  <span class="truncate">{labelOf(value) || placeholder}</span>
419
- <Icon
420
- name="bs-chevron-down"
421
- style="transform-origin: center; transition: transform 0.25s; transform: rotate({chevronRotation});"
422
- />
421
+ {#if isShowChevron}
422
+ <Icon
423
+ name="bs-chevron-down"
424
+ style="transform-origin: center; transition: transform 0.25s; transform: rotate({chevronRotation});"
425
+ />
426
+ {/if}
423
427
  </button>
424
428
 
425
429
  {#if open}
@@ -36,6 +36,7 @@ interface Props {
36
36
  tooltip?: string;
37
37
  class?: string;
38
38
  style?: string;
39
+ isShowChevron?: boolean;
39
40
  }
40
41
  declare const SelectInput: import("svelte").Component<Props, {}, "">;
41
42
  type SelectInput = ReturnType<typeof SelectInput>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mertani-web-toolkit",
3
- "version": "0.1.61",
3
+ "version": "0.1.62",
4
4
  "homepage": "https://storybook.mertani.com/",
5
5
  "scripts": {
6
6
  "dev": "vite dev",