@byline/richtext-lexical 4.12.0 → 4.13.0
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.
- package/package.json +10 -10
- package/src/field/extensions/admonition/icons/danger-icon.js +0 -17
- package/src/field/extensions/admonition/icons/index.js +0 -4
- package/src/field/extensions/admonition/icons/note-icon.js +0 -17
- package/src/field/extensions/admonition/icons/tip-icon.js +0 -17
- package/src/field/extensions/admonition/icons/warning-icon.js +0 -17
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "4.
|
|
6
|
+
"version": "4.13.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.9.0"
|
|
9
9
|
},
|
|
@@ -71,21 +71,21 @@
|
|
|
71
71
|
"@lexical/utils": "0.49.0",
|
|
72
72
|
"clsx": "^2.1.1",
|
|
73
73
|
"lexical": "0.49.0",
|
|
74
|
-
"react-error-boundary": "^6.1.
|
|
75
|
-
"@byline/
|
|
76
|
-
"@byline/
|
|
77
|
-
"@byline/
|
|
78
|
-
"@byline/
|
|
74
|
+
"react-error-boundary": "^6.1.3",
|
|
75
|
+
"@byline/ui": "4.13.0",
|
|
76
|
+
"@byline/core": "4.13.0",
|
|
77
|
+
"@byline/admin": "4.13.0",
|
|
78
|
+
"@byline/client": "4.13.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"react": "^19.0.0",
|
|
82
82
|
"react-dom": "^19.0.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@biomejs/biome": "2.5.
|
|
85
|
+
"@biomejs/biome": "2.5.9",
|
|
86
86
|
"@rsbuild/plugin-react": "^2.1.0",
|
|
87
87
|
"@rslib/core": "^0.23.2",
|
|
88
|
-
"@types/node": "^26.
|
|
88
|
+
"@types/node": "^26.2.0",
|
|
89
89
|
"@types/react": "19.2.18",
|
|
90
90
|
"@types/react-dom": "19.2.4",
|
|
91
91
|
"@vitejs/plugin-react": "^6.0.5",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"rimraf": "^6.1.3",
|
|
97
97
|
"typescript": "^7.0.2",
|
|
98
98
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
99
|
-
"vite": "^8.2.
|
|
100
|
-
"vitest": "^4.1.
|
|
99
|
+
"vite": "^8.2.1",
|
|
100
|
+
"vitest": "^4.1.11"
|
|
101
101
|
},
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import cx from 'classnames'
|
|
2
|
-
import { jsx as _jsx } from 'react/jsx-runtime'
|
|
3
|
-
import './danger-icon.css'
|
|
4
|
-
export function DangerIcon({ className, ...rest }) {
|
|
5
|
-
return _jsx('div', {
|
|
6
|
-
className: cx('danger-icon', className),
|
|
7
|
-
...rest,
|
|
8
|
-
children: _jsx('svg', {
|
|
9
|
-
focusable: 'false',
|
|
10
|
-
'aria-hidden': 'true',
|
|
11
|
-
viewBox: '0 0 24 24',
|
|
12
|
-
children: _jsx('path', {
|
|
13
|
-
d: 'M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z',
|
|
14
|
-
}),
|
|
15
|
-
}),
|
|
16
|
-
})
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import cx from 'classnames'
|
|
2
|
-
import { jsx as _jsx } from 'react/jsx-runtime'
|
|
3
|
-
import './note-icon.css'
|
|
4
|
-
export function NoteIcon({ className, ...rest }) {
|
|
5
|
-
return _jsx('div', {
|
|
6
|
-
className: cx('note-icon', className),
|
|
7
|
-
...rest,
|
|
8
|
-
children: _jsx('svg', {
|
|
9
|
-
focusable: 'false',
|
|
10
|
-
'aria-hidden': 'true',
|
|
11
|
-
viewBox: '0 0 24 24',
|
|
12
|
-
children: _jsx('path', {
|
|
13
|
-
d: 'M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z',
|
|
14
|
-
}),
|
|
15
|
-
}),
|
|
16
|
-
})
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import cx from 'classnames'
|
|
2
|
-
import { jsx as _jsx } from 'react/jsx-runtime'
|
|
3
|
-
import './tip-icon.css'
|
|
4
|
-
export function TipIcon({ className, ...rest }) {
|
|
5
|
-
return _jsx('div', {
|
|
6
|
-
className: cx('tip-icon', className),
|
|
7
|
-
...rest,
|
|
8
|
-
children: _jsx('svg', {
|
|
9
|
-
focusable: 'false',
|
|
10
|
-
'aria-hidden': 'true',
|
|
11
|
-
viewBox: '0 0 24 24',
|
|
12
|
-
children: _jsx('path', {
|
|
13
|
-
d: 'M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z',
|
|
14
|
-
}),
|
|
15
|
-
}),
|
|
16
|
-
})
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import cx from 'classnames'
|
|
2
|
-
import { jsx as _jsx } from 'react/jsx-runtime'
|
|
3
|
-
import './warning-icon.css'
|
|
4
|
-
export function WarningIcon({ className, ...rest }) {
|
|
5
|
-
return _jsx('div', {
|
|
6
|
-
className: cx('warning-icon', className),
|
|
7
|
-
...rest,
|
|
8
|
-
children: _jsx('svg', {
|
|
9
|
-
focusable: 'false',
|
|
10
|
-
'aria-hidden': 'true',
|
|
11
|
-
viewBox: '0 0 24 24',
|
|
12
|
-
children: _jsx('path', {
|
|
13
|
-
d: 'M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z',
|
|
14
|
-
}),
|
|
15
|
-
}),
|
|
16
|
-
})
|
|
17
|
-
}
|