@sveltia/ui 0.19.2 → 0.19.3

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.
@@ -148,6 +148,7 @@
148
148
  background-color: var(--sui-primary-accent-color-dark);
149
149
  }
150
150
  .checkbox :global(button) {
151
+ flex: none;
151
152
  align-items: center;
152
153
  justify-content: center;
153
154
  overflow: hidden;
@@ -125,6 +125,7 @@
125
125
  color: var(--sui-primary-accent-color-dark);
126
126
  }
127
127
  .radio :global(button) {
128
+ flex: none;
128
129
  justify-content: center;
129
130
  overflow: hidden;
130
131
  margin: 0 !important;
@@ -138,7 +138,10 @@ const onEditorUpdate = (editor) => {
138
138
  editor.getRootElement()?.dispatchEvent(
139
139
  new CustomEvent('Update', {
140
140
  detail: {
141
- value: convertToMarkdownString(TRANSFORMERS),
141
+ value: convertToMarkdownString(
142
+ // Use underscores for italic text in Markdown instead of asterisks
143
+ TRANSFORMERS.filter((/** @type {any} */ { tag }) => tag !== '*'),
144
+ ),
142
145
  selectionBlockType,
143
146
  selectionInlineTypes,
144
147
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/ui",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,29 +28,29 @@
28
28
  "test:unit": "vitest"
29
29
  },
30
30
  "dependencies": {
31
- "@lexical/code": "^0.18.0",
32
- "@lexical/dragon": "^0.18.0",
33
- "@lexical/history": "^0.18.0",
34
- "@lexical/link": "^0.18.0",
35
- "@lexical/list": "^0.18.0",
36
- "@lexical/markdown": "^0.18.0",
37
- "@lexical/rich-text": "^0.18.0",
38
- "@lexical/selection": "^0.18.0",
39
- "@lexical/table": "^0.18.0",
40
- "@lexical/utils": "^0.18.0",
31
+ "@lexical/code": "^0.19.0",
32
+ "@lexical/dragon": "^0.19.0",
33
+ "@lexical/history": "^0.19.0",
34
+ "@lexical/link": "^0.19.0",
35
+ "@lexical/list": "^0.19.0",
36
+ "@lexical/markdown": "^0.19.0",
37
+ "@lexical/rich-text": "^0.19.0",
38
+ "@lexical/selection": "^0.19.0",
39
+ "@lexical/table": "^0.19.0",
40
+ "@lexical/utils": "^0.19.0",
41
41
  "@sveltia/utils": "^0.5.0",
42
- "lexical": "^0.18.0"
42
+ "lexical": "^0.19.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "svelte": "^5.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@playwright/test": "^1.48.1",
49
- "@sveltejs/adapter-auto": "^3.3.0",
50
- "@sveltejs/kit": "^2.7.2",
51
- "@sveltejs/package": "^2.3.6",
48
+ "@playwright/test": "^1.48.2",
49
+ "@sveltejs/adapter-auto": "^3.3.1",
50
+ "@sveltejs/kit": "^2.7.3",
51
+ "@sveltejs/package": "^2.3.7",
52
52
  "@sveltejs/vite-plugin-svelte": "4.0.0",
53
- "cspell": "^8.15.4",
53
+ "cspell": "^8.15.5",
54
54
  "eslint": "^8.57.1",
55
55
  "eslint-config-airbnb-base": "^15.0.0",
56
56
  "eslint-config-prettier": "^9.1.0",
@@ -61,17 +61,17 @@
61
61
  "postcss-html": "^1.7.0",
62
62
  "prettier": "^3.3.3",
63
63
  "prettier-plugin-svelte": "^3.2.7",
64
- "sass": "^1.80.3",
64
+ "sass": "^1.80.5",
65
65
  "stylelint": "^16.10.0",
66
66
  "stylelint-config-recommended-scss": "^14.1.0",
67
67
  "stylelint-scss": "^6.8.1",
68
- "svelte": "5.0.5",
68
+ "svelte": "5.1.6",
69
69
  "svelte-check": "^4.0.5",
70
70
  "svelte-i18n": "^4.0.1",
71
71
  "svelte-preprocess": "^6.0.3",
72
72
  "tslib": "^2.8.0",
73
73
  "vite": "^5.4.10",
74
- "vitest": "^2.1.3"
74
+ "vitest": "^2.1.4"
75
75
  },
76
76
  "exports": {
77
77
  ".": {