mertani-web-toolkit 0.1.60 → 0.1.61

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.
@@ -53,6 +53,7 @@
53
53
  // Any
54
54
  class?: string;
55
55
  style?: string;
56
+ isShowChevron?: boolean;
56
57
  }
57
58
 
58
59
  let {
@@ -99,7 +100,8 @@
99
100
 
100
101
  // Any
101
102
  class: className = '',
102
- style: customStyle = ''
103
+ style: customStyle = '',
104
+ isShowChevron = true
103
105
  }: Props = $props();
104
106
 
105
107
  let open = $state(false);
@@ -274,9 +276,11 @@
274
276
  title={tooltip || undefined}
275
277
  >
276
278
  <span class="dropdown-value">{currentLabel}</span>
277
- <span class="dropdown-chevron">
278
- <Icon name="bs-chevron-down" />
279
- </span>
279
+ {#if isShowChevron}
280
+ <span class="dropdown-chevron">
281
+ <Icon name="bs-chevron-down" />
282
+ </span>
283
+ {/if}
280
284
  </button>
281
285
 
282
286
  {#if open}
@@ -35,6 +35,7 @@ interface Props {
35
35
  optionLeading?: Snippet<[DropdownOption]>;
36
36
  class?: string;
37
37
  style?: string;
38
+ isShowChevron?: boolean;
38
39
  }
39
40
  declare const Dropdown: import("svelte").Component<Props, {}, "value">;
40
41
  type Dropdown = ReturnType<typeof Dropdown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mertani-web-toolkit",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "homepage": "https://storybook.mertani.com/",
5
5
  "scripts": {
6
6
  "dev": "vite dev",