@sveltia/ui 0.15.14 → 0.15.16

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.
@@ -103,7 +103,7 @@
103
103
  {invalid}
104
104
  aria-checked={checked}
105
105
  aria-label={ariaLabel || undefined}
106
- aria-labelledby={ariaLabel ? undefined : '{id}-label'}
106
+ aria-labelledby={ariaLabel ? undefined : `${id}-label`}
107
107
  {...$$restProps}
108
108
  bind:this={buttonComponent}
109
109
  on:click={(event) => {
@@ -36,7 +36,7 @@
36
36
  hidden={hidden || undefined}
37
37
  aria-hidden={hidden}
38
38
  aria-disabled={disabled}
39
- aria-labelledby={title ? '{id}-title' : undefined}
39
+ aria-labelledby={title ? `${id}-title` : undefined}
40
40
  aria-roledescription="menu item group"
41
41
  {...$$restProps}
42
42
  >
@@ -123,13 +123,17 @@
123
123
  };
124
124
 
125
125
  $: {
126
- void value;
127
- setInputValue();
126
+ if ($editor) {
127
+ void value;
128
+ setInputValue();
129
+ }
128
130
  }
129
131
 
130
132
  $: {
131
- void inputValue;
132
- setCurrentValue();
133
+ if ($editor) {
134
+ void inputValue;
135
+ setCurrentValue();
136
+ }
133
137
  }
134
138
 
135
139
  $: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/ui",
3
- "version": "0.15.14",
3
+ "version": "0.15.16",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,18 +28,18 @@
28
28
  "test:unit": "vitest"
29
29
  },
30
30
  "dependencies": {
31
- "@lexical/code": "^0.17.0",
32
- "@lexical/dragon": "^0.17.0",
33
- "@lexical/history": "^0.17.0",
34
- "@lexical/link": "^0.17.0",
35
- "@lexical/list": "^0.17.0",
36
- "@lexical/markdown": "^0.17.0",
37
- "@lexical/rich-text": "^0.17.0",
38
- "@lexical/selection": "^0.17.0",
39
- "@lexical/table": "^0.17.0",
40
- "@lexical/utils": "^0.17.0",
31
+ "@lexical/code": "^0.17.1",
32
+ "@lexical/dragon": "^0.17.1",
33
+ "@lexical/history": "^0.17.1",
34
+ "@lexical/link": "^0.17.1",
35
+ "@lexical/list": "^0.17.1",
36
+ "@lexical/markdown": "^0.17.1",
37
+ "@lexical/rich-text": "^0.17.1",
38
+ "@lexical/selection": "^0.17.1",
39
+ "@lexical/table": "^0.17.1",
40
+ "@lexical/utils": "^0.17.1",
41
41
  "@sveltia/utils": "^0.5.0",
42
- "lexical": "^0.17.0"
42
+ "lexical": "^0.17.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "svelte": "^4.0.0"
@@ -47,7 +47,7 @@
47
47
  "devDependencies": {
48
48
  "@playwright/test": "^1.46.1",
49
49
  "@sveltejs/adapter-auto": "^3.2.4",
50
- "@sveltejs/kit": "^2.5.24",
50
+ "@sveltejs/kit": "^2.5.25",
51
51
  "@sveltejs/package": "^2.3.4",
52
52
  "@sveltejs/vite-plugin-svelte": "^3.1.2",
53
53
  "cspell": "^8.14.2",
@@ -57,16 +57,16 @@
57
57
  "eslint-plugin-import": "^2.29.1",
58
58
  "eslint-plugin-jsdoc": "^50.2.2",
59
59
  "eslint-plugin-svelte": "^2.43.0",
60
- "postcss": "^8.4.41",
60
+ "postcss": "^8.4.44",
61
61
  "postcss-html": "^1.7.0",
62
62
  "prettier": "^3.3.3",
63
63
  "prettier-plugin-svelte": "^3.2.6",
64
64
  "sass": "^1.77.8",
65
- "stylelint": "^16.8.2",
65
+ "stylelint": "^16.9.0",
66
66
  "stylelint-config-recommended-scss": "^14.1.0",
67
- "stylelint-scss": "^6.5.0",
67
+ "stylelint-scss": "^6.5.1",
68
68
  "svelte": "^4.2.19",
69
- "svelte-check": "^3.8.6",
69
+ "svelte-check": "^4.0.0",
70
70
  "svelte-i18n": "^4.0.0",
71
71
  "svelte-preprocess": "^6.0.2",
72
72
  "tslib": "^2.7.0",