@sveltia/ui 0.24.0 → 0.24.1

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.
@@ -99,7 +99,7 @@
99
99
  line-height: var(--sui-control-line-height);
100
100
  }
101
101
  [role=listbox] :global([role="separator"]) {
102
- margin: 4px;
102
+ margin: 4px 0;
103
103
  background-color: var(--sui-control-border-color);
104
104
  }
105
105
  [role=listbox][aria-invalid=true] {
@@ -89,7 +89,6 @@
89
89
  .option :global(button) {
90
90
  flex: none;
91
91
  display: flex;
92
- justify-content: space-between;
93
92
  gap: 4px;
94
93
  margin: 0 !important;
95
94
  border-radius: var(--sui-option-border-radius);
@@ -101,6 +100,12 @@
101
100
  text-overflow: ellipsis;
102
101
  white-space: nowrap;
103
102
  }
103
+ .option :global(button) :global(*) {
104
+ flex: none;
105
+ }
106
+ .option :global(button) :global(.label) {
107
+ flex: auto;
108
+ }
104
109
  .option.wrap :global(button) {
105
110
  white-space: normal;
106
111
  }
@@ -115,6 +120,6 @@
115
120
  .option :global(.icon.check) {
116
121
  margin: -2px;
117
122
  }
118
- .option :global(button[aria-selected="true"]) :global(.icon) {
123
+ .option :global(button[aria-selected="true"]) :global(.icon.check) {
119
124
  color: var(--sui-primary-accent-color-text);
120
125
  }</style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/ui",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@playwright/test": "^1.50.1",
50
50
  "@sveltejs/adapter-auto": "^4.0.0",
51
- "@sveltejs/kit": "^2.17.1",
51
+ "@sveltejs/kit": "^2.17.2",
52
52
  "@sveltejs/package": "^2.3.10",
53
53
  "@sveltejs/vite-plugin-svelte": "5.0.3",
54
54
  "cspell": "^8.17.3",
@@ -66,13 +66,13 @@
66
66
  "stylelint": "^16.14.1",
67
67
  "stylelint-config-recommended-scss": "^14.1.0",
68
68
  "stylelint-scss": "^6.11.0",
69
- "svelte": "5.20.0",
69
+ "svelte": "5.20.2",
70
70
  "svelte-check": "^4.1.4",
71
71
  "svelte-i18n": "^4.0.1",
72
72
  "svelte-preprocess": "^6.0.3",
73
73
  "tslib": "^2.8.1",
74
74
  "vite": "^6.1.0",
75
- "vitest": "^3.0.5"
75
+ "vitest": "^3.0.6"
76
76
  },
77
77
  "exports": {
78
78
  ".": {