odj-svelte-ui 0.5.1 → 0.5.2

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.
@@ -11,9 +11,9 @@
11
11
  <select class={selectStyle} class:custom-select={customSelect} bind:value {...restProps}>
12
12
  {#if customSelect}
13
13
  <!-- svelte-ignore node_invalid_placement_ssr -->
14
- <button class="flex w-full items-center justify-between" aria-label="Select Picker">
15
- <selectedcontent></selectedcontent>
16
- <span class="picker transition-rotate duration-400">
14
+ <button class="flex w-full items-center gap-2 justify-between min-w-0" aria-label="Select Picker">
15
+ <selectedcontent class="truncate"></selectedcontent>
16
+ <span class="picker transition-rotate duration-400 shrink-0">
17
17
  <svg class="text-light-surface-800 size-3 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
18
18
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5" />
19
19
  </svg>
@@ -73,5 +73,13 @@
73
73
  color: var(--color-dark-surface-200);
74
74
  border-color: var(--color-dark-surface-600);
75
75
  }
76
+
77
+ &:has(option:disabled:checked) button {
78
+ color: var(--color-light-surface-700);
79
+
80
+ :global(.dark) & {
81
+ color: var(--color-dark-surface-400);
82
+ }
83
+ }
76
84
  }
77
85
  </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "odj-svelte-ui",
3
3
  "author": "orbitadajogatina",
4
- "version": "0.5.1",
4
+ "version": "0.5.2",
5
5
  "description": "This is a fork from Flowbite Svelte 5 with Runes. I just made some changes that fits better my taste.",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",