@elementor/editor-site-navigation 0.19.1 → 0.19.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.19.2](https://github.com/elementor/elementor-packages/compare/@elementor/editor-site-navigation@0.19.1...@elementor/editor-site-navigation@0.19.2) (2023-09-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @elementor/editor-site-navigation
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.19.1](https://github.com/elementor/elementor-packages/compare/@elementor/editor-site-navigation@0.19.0...@elementor/editor-site-navigation@0.19.1) (2023-09-14)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @elementor/editor-site-navigation
|
package/dist/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function DocTypeChip({ postType, docType, label }) {
|
|
|
127
127
|
{
|
|
128
128
|
component: "span",
|
|
129
129
|
size: "small",
|
|
130
|
-
variant: "
|
|
130
|
+
variant: "outlined",
|
|
131
131
|
label,
|
|
132
132
|
"data-value": docType,
|
|
133
133
|
color,
|
|
@@ -171,7 +171,7 @@ function PostListItem({ post, closePopup, ...props }) {
|
|
|
171
171
|
import_ui3.ListItemText,
|
|
172
172
|
{
|
|
173
173
|
sx: { flexGrow: 0 },
|
|
174
|
-
primaryTypographyProps: { noWrap: true },
|
|
174
|
+
primaryTypographyProps: { variant: "body2", noWrap: true },
|
|
175
175
|
primary: postTitle
|
|
176
176
|
}
|
|
177
177
|
),
|
|
@@ -229,8 +229,14 @@ function CreatePostListItem({ closePopup, ...props }) {
|
|
|
229
229
|
},
|
|
230
230
|
...props
|
|
231
231
|
},
|
|
232
|
-
/* @__PURE__ */ React4.createElement(import_ui4.ListItemIcon, null, isLoading ? /* @__PURE__ */ React4.createElement(import_ui4.CircularProgress,
|
|
233
|
-
/* @__PURE__ */ React4.createElement(
|
|
232
|
+
/* @__PURE__ */ React4.createElement(import_ui4.ListItemIcon, null, isLoading ? /* @__PURE__ */ React4.createElement(import_ui4.CircularProgress, { size: "1.25rem" }) : /* @__PURE__ */ React4.createElement(import_icons3.PlusIcon, { fontSize: "small" })),
|
|
233
|
+
/* @__PURE__ */ React4.createElement(
|
|
234
|
+
import_ui4.ListItemText,
|
|
235
|
+
{
|
|
236
|
+
primaryTypographyProps: { variant: "body2" },
|
|
237
|
+
primary: (0, import_i18n.__)("Add new page", "elementor")
|
|
238
|
+
}
|
|
239
|
+
)
|
|
234
240
|
);
|
|
235
241
|
}
|
|
236
242
|
|
package/dist/index.mjs
CHANGED
|
@@ -109,7 +109,7 @@ function DocTypeChip({ postType, docType, label }) {
|
|
|
109
109
|
{
|
|
110
110
|
component: "span",
|
|
111
111
|
size: "small",
|
|
112
|
-
variant: "
|
|
112
|
+
variant: "outlined",
|
|
113
113
|
label,
|
|
114
114
|
"data-value": docType,
|
|
115
115
|
color,
|
|
@@ -153,7 +153,7 @@ function PostListItem({ post, closePopup, ...props }) {
|
|
|
153
153
|
ListItemText,
|
|
154
154
|
{
|
|
155
155
|
sx: { flexGrow: 0 },
|
|
156
|
-
primaryTypographyProps: { noWrap: true },
|
|
156
|
+
primaryTypographyProps: { variant: "body2", noWrap: true },
|
|
157
157
|
primary: postTitle
|
|
158
158
|
}
|
|
159
159
|
),
|
|
@@ -211,8 +211,14 @@ function CreatePostListItem({ closePopup, ...props }) {
|
|
|
211
211
|
},
|
|
212
212
|
...props
|
|
213
213
|
},
|
|
214
|
-
/* @__PURE__ */ React4.createElement(ListItemIcon, null, isLoading ? /* @__PURE__ */ React4.createElement(CircularProgress,
|
|
215
|
-
/* @__PURE__ */ React4.createElement(
|
|
214
|
+
/* @__PURE__ */ React4.createElement(ListItemIcon, null, isLoading ? /* @__PURE__ */ React4.createElement(CircularProgress, { size: "1.25rem" }) : /* @__PURE__ */ React4.createElement(PlusIcon, { fontSize: "small" })),
|
|
215
|
+
/* @__PURE__ */ React4.createElement(
|
|
216
|
+
ListItemText2,
|
|
217
|
+
{
|
|
218
|
+
primaryTypographyProps: { variant: "body2" },
|
|
219
|
+
primary: __("Add new page", "elementor")
|
|
220
|
+
}
|
|
221
|
+
)
|
|
216
222
|
);
|
|
217
223
|
}
|
|
218
224
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-site-navigation",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Elementor Team",
|
|
6
6
|
"homepage": "https://elementor.com/",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@elementor/editor-app-bar": "^0.9.
|
|
35
|
+
"@elementor/editor-app-bar": "^0.9.1",
|
|
36
36
|
"@elementor/editor-documents": "^0.10.0",
|
|
37
37
|
"@elementor/editor-panels": "^0.4.0",
|
|
38
38
|
"@elementor/env": "^0.3.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"elementor": {
|
|
50
50
|
"type": "extension"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "c73d2e5d2e1ecb93d29fc4f1a72171b80ce90033"
|
|
53
53
|
}
|
|
@@ -24,9 +24,12 @@ export function CreatePostListItem( { closePopup, ...props }: Props ) {
|
|
|
24
24
|
{ ...props }
|
|
25
25
|
>
|
|
26
26
|
<ListItemIcon>
|
|
27
|
-
{ isLoading ? <CircularProgress /> : <PlusIcon /> }
|
|
27
|
+
{ isLoading ? <CircularProgress size="1.25rem" /> : <PlusIcon fontSize="small" /> }
|
|
28
28
|
</ListItemIcon>
|
|
29
|
-
<ListItemText
|
|
29
|
+
<ListItemText
|
|
30
|
+
primaryTypographyProps={ { variant: 'body2' } }
|
|
31
|
+
primary={ __( 'Add new page', 'elementor' ) }
|
|
32
|
+
/>
|
|
30
33
|
</MenuItem>
|
|
31
34
|
);
|
|
32
35
|
}
|
|
@@ -24,7 +24,7 @@ export function PostListItem( { post, closePopup, ...props }: Props ) {
|
|
|
24
24
|
>
|
|
25
25
|
<ListItemText
|
|
26
26
|
sx={ { flexGrow: 0 } }
|
|
27
|
-
primaryTypographyProps={ { noWrap: true } }
|
|
27
|
+
primaryTypographyProps={ { variant: 'body2', noWrap: true } }
|
|
28
28
|
primary={ postTitle }
|
|
29
29
|
/>
|
|
30
30
|
<DocTypeChip
|