@wordpress/edit-site 6.35.1-next.16d95556a.0 → 6.36.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/CHANGELOG.md +6 -0
- package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.js +109 -0
- package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.js.map +7 -0
- package/build/components/add-new-template-legacy/add-custom-template-modal-content.js +328 -0
- package/build/components/add-new-template-legacy/add-custom-template-modal-content.js.map +7 -0
- package/build/components/add-new-template-legacy/index.js +389 -0
- package/build/components/add-new-template-legacy/index.js.map +7 -0
- package/build/components/add-new-template-legacy/utils.js +620 -0
- package/build/components/add-new-template-legacy/utils.js.map +7 -0
- package/build/components/page-templates/fields.js +3 -1
- package/build/components/page-templates/fields.js.map +2 -2
- package/build/components/page-templates/index-legacy.js +185 -0
- package/build/components/page-templates/index-legacy.js.map +7 -0
- package/build/components/post-list/index.js +10 -0
- package/build/components/post-list/index.js.map +2 -2
- package/build/components/sidebar-navigation-screen-templates-browse/content-legacy.js +101 -0
- package/build/components/sidebar-navigation-screen-templates-browse/content-legacy.js.map +7 -0
- package/build/components/sidebar-navigation-screen-templates-browse/index.js +2 -1
- package/build/components/sidebar-navigation-screen-templates-browse/index.js.map +3 -3
- package/build/components/site-editor-routes/templates.js +10 -2
- package/build/components/site-editor-routes/templates.js.map +3 -3
- package/build/components/site-hub/index.js +1 -1
- package/build/components/site-hub/index.js.map +2 -2
- package/build/utils/constants.js +6 -0
- package/build/utils/constants.js.map +2 -2
- package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.js +93 -0
- package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.js.map +7 -0
- package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.js +316 -0
- package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.js.map +7 -0
- package/build-module/components/add-new-template-legacy/index.js +390 -0
- package/build-module/components/add-new-template-legacy/index.js.map +7 -0
- package/build-module/components/add-new-template-legacy/utils.js +589 -0
- package/build-module/components/add-new-template-legacy/utils.js.map +7 -0
- package/build-module/components/page-templates/fields.js +3 -1
- package/build-module/components/page-templates/fields.js.map +2 -2
- package/build-module/components/page-templates/index-legacy.js +154 -0
- package/build-module/components/page-templates/index-legacy.js.map +7 -0
- package/build-module/components/post-list/index.js +12 -0
- package/build-module/components/post-list/index.js.map +2 -2
- package/build-module/components/sidebar-navigation-screen-templates-browse/content-legacy.js +70 -0
- package/build-module/components/sidebar-navigation-screen-templates-browse/content-legacy.js.map +7 -0
- package/build-module/components/sidebar-navigation-screen-templates-browse/index.js +2 -1
- package/build-module/components/sidebar-navigation-screen-templates-browse/index.js.map +2 -2
- package/build-module/components/site-editor-routes/templates.js +10 -2
- package/build-module/components/site-editor-routes/templates.js.map +2 -2
- package/build-module/components/site-hub/index.js +1 -1
- package/build-module/components/site-hub/index.js.map +2 -2
- package/build-module/utils/constants.js +4 -0
- package/build-module/utils/constants.js.map +2 -2
- package/build-style/style-rtl.css +309 -40
- package/build-style/style.css +309 -40
- package/package.json +46 -46
- package/src/components/add-new-template-legacy/add-custom-generic-template-modal-content.js +94 -0
- package/src/components/add-new-template-legacy/add-custom-template-modal-content.js +314 -0
- package/src/components/add-new-template-legacy/index.js +454 -0
- package/src/components/add-new-template-legacy/utils.js +760 -0
- package/src/components/page-templates/fields.js +13 -9
- package/src/components/page-templates/index-legacy.js +166 -0
- package/src/components/post-list/index.js +13 -0
- package/src/components/sidebar-navigation-screen-templates-browse/content-legacy.js +79 -0
- package/src/components/sidebar-navigation-screen-templates-browse/index.js +8 -1
- package/src/components/site-editor-routes/templates.js +22 -3
- package/src/components/site-hub/index.js +1 -1
- package/src/components/welcome-guide/style.scss +8 -0
- package/src/utils/constants.js +2 -0
|
@@ -37,6 +37,8 @@ var OPERATOR_IS = "is";
|
|
|
37
37
|
var OPERATOR_IS_NOT = "isNot";
|
|
38
38
|
var OPERATOR_IS_ANY = "isAny";
|
|
39
39
|
var OPERATOR_IS_NONE = "isNone";
|
|
40
|
+
var OPERATOR_BEFORE = "before";
|
|
41
|
+
var OPERATOR_AFTER = "after";
|
|
40
42
|
export {
|
|
41
43
|
EXCLUDED_PATTERN_SOURCES,
|
|
42
44
|
FOCUSABLE_ENTITIES,
|
|
@@ -44,6 +46,8 @@ export {
|
|
|
44
46
|
LAYOUT_LIST,
|
|
45
47
|
LAYOUT_TABLE,
|
|
46
48
|
NAVIGATION_POST_TYPE,
|
|
49
|
+
OPERATOR_AFTER,
|
|
50
|
+
OPERATOR_BEFORE,
|
|
47
51
|
OPERATOR_IS,
|
|
48
52
|
OPERATOR_IS_ANY,
|
|
49
53
|
OPERATOR_IS_NONE,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/utils/constants.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { privateApis as patternPrivateApis } from '@wordpress/patterns';\n\n/**\n * Internal dependencies\n */\nimport { unlock } from '../lock-unlock';\n\n// Navigation\nexport const NAVIGATION_POST_TYPE = 'wp_navigation';\n\n// Templates.\nexport const TEMPLATE_POST_TYPE = 'wp_template';\nexport const TEMPLATE_PART_POST_TYPE = 'wp_template_part';\nexport const TEMPLATE_ORIGINS = {\n\tcustom: 'custom',\n\ttheme: 'theme',\n\tplugin: 'plugin',\n};\nexport const TEMPLATE_PART_AREA_DEFAULT_CATEGORY = 'uncategorized';\nexport const TEMPLATE_PART_ALL_AREAS_CATEGORY = 'all-parts';\n\n// Patterns.\nexport const {\n\tPATTERN_TYPES,\n\tPATTERN_DEFAULT_CATEGORY,\n\tPATTERN_USER_CATEGORY,\n\tEXCLUDED_PATTERN_SOURCES,\n\tPATTERN_SYNC_TYPES,\n} = unlock( patternPrivateApis );\n\n// Entities that are editable in focus mode.\nexport const FOCUSABLE_ENTITIES = [\n\tTEMPLATE_PART_POST_TYPE,\n\tNAVIGATION_POST_TYPE,\n\tPATTERN_TYPES.user,\n];\n\nexport const POST_TYPE_LABELS = {\n\t[ TEMPLATE_POST_TYPE ]: __( 'Template' ),\n\t[ TEMPLATE_PART_POST_TYPE ]: __( 'Template part' ),\n\t[ PATTERN_TYPES.user ]: __( 'Pattern' ),\n\t[ NAVIGATION_POST_TYPE ]: __( 'Navigation' ),\n};\n\n// DataViews constants\nexport const LAYOUT_GRID = 'grid';\nexport const LAYOUT_TABLE = 'table';\nexport const LAYOUT_LIST = 'list';\n\nexport const OPERATOR_IS = 'is';\nexport const OPERATOR_IS_NOT = 'isNot';\nexport const OPERATOR_IS_ANY = 'isAny';\nexport const OPERATOR_IS_NONE = 'isNone';\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,eAAe,0BAA0B;AAKlD,SAAS,cAAc;AAGhB,IAAM,uBAAuB;AAG7B,IAAM,qBAAqB;AAC3B,IAAM,0BAA0B;AAChC,IAAM,mBAAmB;AAAA,EAC/B,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AACT;AACO,IAAM,sCAAsC;AAC5C,IAAM,mCAAmC;AAGzC,IAAM;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,IAAI,OAAQ,kBAAmB;AAGxB,IAAM,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA,cAAc;AACf;AAEO,IAAM,mBAAmB;AAAA,EAC/B,CAAE,kBAAmB,GAAG,GAAI,UAAW;AAAA,EACvC,CAAE,uBAAwB,GAAG,GAAI,eAAgB;AAAA,EACjD,CAAE,cAAc,IAAK,GAAG,GAAI,SAAU;AAAA,EACtC,CAAE,oBAAqB,GAAG,GAAI,YAAa;AAC5C;AAGO,IAAM,cAAc;AACpB,IAAM,eAAe;AACrB,IAAM,cAAc;AAEpB,IAAM,cAAc;AACpB,IAAM,kBAAkB;AACxB,IAAM,kBAAkB;AACxB,IAAM,mBAAmB;",
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { privateApis as patternPrivateApis } from '@wordpress/patterns';\n\n/**\n * Internal dependencies\n */\nimport { unlock } from '../lock-unlock';\n\n// Navigation\nexport const NAVIGATION_POST_TYPE = 'wp_navigation';\n\n// Templates.\nexport const TEMPLATE_POST_TYPE = 'wp_template';\nexport const TEMPLATE_PART_POST_TYPE = 'wp_template_part';\nexport const TEMPLATE_ORIGINS = {\n\tcustom: 'custom',\n\ttheme: 'theme',\n\tplugin: 'plugin',\n};\nexport const TEMPLATE_PART_AREA_DEFAULT_CATEGORY = 'uncategorized';\nexport const TEMPLATE_PART_ALL_AREAS_CATEGORY = 'all-parts';\n\n// Patterns.\nexport const {\n\tPATTERN_TYPES,\n\tPATTERN_DEFAULT_CATEGORY,\n\tPATTERN_USER_CATEGORY,\n\tEXCLUDED_PATTERN_SOURCES,\n\tPATTERN_SYNC_TYPES,\n} = unlock( patternPrivateApis );\n\n// Entities that are editable in focus mode.\nexport const FOCUSABLE_ENTITIES = [\n\tTEMPLATE_PART_POST_TYPE,\n\tNAVIGATION_POST_TYPE,\n\tPATTERN_TYPES.user,\n];\n\nexport const POST_TYPE_LABELS = {\n\t[ TEMPLATE_POST_TYPE ]: __( 'Template' ),\n\t[ TEMPLATE_PART_POST_TYPE ]: __( 'Template part' ),\n\t[ PATTERN_TYPES.user ]: __( 'Pattern' ),\n\t[ NAVIGATION_POST_TYPE ]: __( 'Navigation' ),\n};\n\n// DataViews constants\nexport const LAYOUT_GRID = 'grid';\nexport const LAYOUT_TABLE = 'table';\nexport const LAYOUT_LIST = 'list';\n\nexport const OPERATOR_IS = 'is';\nexport const OPERATOR_IS_NOT = 'isNot';\nexport const OPERATOR_IS_ANY = 'isAny';\nexport const OPERATOR_IS_NONE = 'isNone';\nexport const OPERATOR_BEFORE = 'before';\nexport const OPERATOR_AFTER = 'after';\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,eAAe,0BAA0B;AAKlD,SAAS,cAAc;AAGhB,IAAM,uBAAuB;AAG7B,IAAM,qBAAqB;AAC3B,IAAM,0BAA0B;AAChC,IAAM,mBAAmB;AAAA,EAC/B,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AACT;AACO,IAAM,sCAAsC;AAC5C,IAAM,mCAAmC;AAGzC,IAAM;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,IAAI,OAAQ,kBAAmB;AAGxB,IAAM,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA,cAAc;AACf;AAEO,IAAM,mBAAmB;AAAA,EAC/B,CAAE,kBAAmB,GAAG,GAAI,UAAW;AAAA,EACvC,CAAE,uBAAwB,GAAG,GAAI,eAAgB;AAAA,EACjD,CAAE,cAAc,IAAK,GAAG,GAAI,SAAU;AAAA,EACtC,CAAE,oBAAqB,GAAG,GAAI,YAAa;AAC5C;AAGO,IAAM,cAAc;AACpB,IAAM,eAAe;AACrB,IAAM,cAAc;AAEpB,IAAM,cAAc;AACpB,IAAM,kBAAkB;AACxB,IAAM,kBAAkB;AACxB,IAAM,mBAAmB;AACzB,IAAM,kBAAkB;AACxB,IAAM,iBAAiB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -257,6 +257,26 @@
|
|
|
257
257
|
font-size: 12px;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
.admin-ui-breadcrumbs__list {
|
|
261
|
+
list-style: none;
|
|
262
|
+
padding: 0;
|
|
263
|
+
margin: 0;
|
|
264
|
+
gap: 0;
|
|
265
|
+
font-size: 15px;
|
|
266
|
+
min-height: 32px;
|
|
267
|
+
font-weight: 500;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.admin-ui-breadcrumbs__list li:not(:last-child)::after {
|
|
271
|
+
content: "/";
|
|
272
|
+
margin: 0 8px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.admin-ui-breadcrumbs__list h1 {
|
|
276
|
+
font-size: inherit;
|
|
277
|
+
line-height: inherit;
|
|
278
|
+
}
|
|
279
|
+
|
|
260
280
|
/**
|
|
261
281
|
* Colors
|
|
262
282
|
*/
|
|
@@ -354,6 +374,7 @@
|
|
|
354
374
|
flex-direction: column;
|
|
355
375
|
font-size: 13px;
|
|
356
376
|
line-height: 1.4;
|
|
377
|
+
background-color: var(--wp-dataviews-color-background, #fff);
|
|
357
378
|
}
|
|
358
379
|
|
|
359
380
|
.dataviews__view-actions,
|
|
@@ -363,6 +384,7 @@
|
|
|
363
384
|
flex-shrink: 0;
|
|
364
385
|
position: sticky;
|
|
365
386
|
right: 0;
|
|
387
|
+
background-color: inherit;
|
|
366
388
|
}
|
|
367
389
|
|
|
368
390
|
@media not (prefers-reduced-motion) {
|
|
@@ -1098,7 +1120,7 @@
|
|
|
1098
1120
|
position: sticky;
|
|
1099
1121
|
bottom: 0;
|
|
1100
1122
|
right: 0;
|
|
1101
|
-
background-color:
|
|
1123
|
+
background-color: inherit;
|
|
1102
1124
|
padding: 12px 48px;
|
|
1103
1125
|
border-top: 1px solid #f0f0f0;
|
|
1104
1126
|
flex-shrink: 0;
|
|
@@ -1263,6 +1285,48 @@
|
|
|
1263
1285
|
transition: padding ease-out 0.1s;
|
|
1264
1286
|
}
|
|
1265
1287
|
}
|
|
1288
|
+
.dataviews-view-grid {
|
|
1289
|
+
padding: 0 48px 24px;
|
|
1290
|
+
display: flex;
|
|
1291
|
+
flex-direction: column;
|
|
1292
|
+
gap: 32px;
|
|
1293
|
+
container-type: inline-size;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
@media not (prefers-reduced-motion) {
|
|
1297
|
+
.dataviews-view-grid {
|
|
1298
|
+
transition: padding ease-out 0.1s;
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
@container (max-width: 430px) {
|
|
1302
|
+
.dataviews-view-grid {
|
|
1303
|
+
padding-right: 24px;
|
|
1304
|
+
padding-left: 24px;
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
.dataviews-view-grid .dataviews-view-grid__row {
|
|
1308
|
+
display: grid;
|
|
1309
|
+
gap: 32px;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell {
|
|
1313
|
+
border-radius: 4px;
|
|
1314
|
+
position: relative;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
.dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell[data-focus-visible]::after {
|
|
1318
|
+
content: "";
|
|
1319
|
+
position: absolute;
|
|
1320
|
+
top: 0;
|
|
1321
|
+
right: 0;
|
|
1322
|
+
width: 100%;
|
|
1323
|
+
height: 100%;
|
|
1324
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1325
|
+
border-radius: 4px;
|
|
1326
|
+
pointer-events: none;
|
|
1327
|
+
outline: 2px solid transparent;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1266
1330
|
.dataviews-view-grid .dataviews-view-grid__card {
|
|
1267
1331
|
height: 100%;
|
|
1268
1332
|
justify-content: flex-start;
|
|
@@ -1477,6 +1541,7 @@ div.dataviews-view-list {
|
|
|
1477
1541
|
width: max-content;
|
|
1478
1542
|
flex: 0 0 auto;
|
|
1479
1543
|
gap: 4px;
|
|
1544
|
+
white-space: nowrap;
|
|
1480
1545
|
}
|
|
1481
1546
|
|
|
1482
1547
|
.dataviews-view-list div[role=row] .dataviews-view-list__item-actions .components-button,
|
|
@@ -1680,6 +1745,7 @@ div.dataviews-view-list {
|
|
|
1680
1745
|
position: relative;
|
|
1681
1746
|
color: #757575;
|
|
1682
1747
|
margin-bottom: auto;
|
|
1748
|
+
background-color: inherit;
|
|
1683
1749
|
}
|
|
1684
1750
|
|
|
1685
1751
|
.dataviews-view-table th {
|
|
@@ -1703,7 +1769,7 @@ div.dataviews-view-list {
|
|
|
1703
1769
|
.dataviews-view-table th.dataviews-view-table__actions-column--sticky {
|
|
1704
1770
|
position: sticky;
|
|
1705
1771
|
left: 0;
|
|
1706
|
-
background-color:
|
|
1772
|
+
background-color: inherit;
|
|
1707
1773
|
}
|
|
1708
1774
|
|
|
1709
1775
|
.dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
|
|
@@ -1731,10 +1797,7 @@ div.dataviews-view-list {
|
|
|
1731
1797
|
|
|
1732
1798
|
.dataviews-view-table tr {
|
|
1733
1799
|
border-top: 1px solid #f0f0f0;
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
.dataviews-view-table tr .dataviews-view-table-header-button {
|
|
1737
|
-
gap: 4px;
|
|
1800
|
+
background-color: inherit;
|
|
1738
1801
|
}
|
|
1739
1802
|
|
|
1740
1803
|
.dataviews-view-table tr td:first-child,
|
|
@@ -1742,11 +1805,6 @@ div.dataviews-view-list {
|
|
|
1742
1805
|
padding-right: 48px;
|
|
1743
1806
|
}
|
|
1744
1807
|
|
|
1745
|
-
.dataviews-view-table tr td:first-child .dataviews-view-table-header-button,
|
|
1746
|
-
.dataviews-view-table tr th:first-child .dataviews-view-table-header-button {
|
|
1747
|
-
margin-right: -8px;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
1808
|
.dataviews-view-table tr td:last-child,
|
|
1751
1809
|
.dataviews-view-table tr th:last-child {
|
|
1752
1810
|
padding-left: 48px;
|
|
@@ -1760,33 +1818,17 @@ div.dataviews-view-list {
|
|
|
1760
1818
|
background-color: #f8f8f8;
|
|
1761
1819
|
}
|
|
1762
1820
|
|
|
1763
|
-
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input {
|
|
1764
|
-
opacity: 0;
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:checked, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:indeterminate, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:focus {
|
|
1768
|
-
opacity: 1;
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
1821
|
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1772
1822
|
opacity: 0;
|
|
1773
1823
|
}
|
|
1774
1824
|
|
|
1775
|
-
.dataviews-view-table tr:focus-within .components-checkbox-control__input,
|
|
1776
|
-
.dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .components-checkbox-control__input,
|
|
1777
|
-
.dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .components-checkbox-control__input,
|
|
1778
|
-
.dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1779
|
-
opacity: 1;
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
1825
|
@media (hover: none) {
|
|
1783
|
-
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input,
|
|
1784
1826
|
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1785
1827
|
opacity: 1;
|
|
1786
1828
|
}
|
|
1787
1829
|
}
|
|
1788
1830
|
.dataviews-view-table tr.is-selected {
|
|
1789
|
-
background-color:
|
|
1831
|
+
background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
|
|
1790
1832
|
color: #757575;
|
|
1791
1833
|
}
|
|
1792
1834
|
|
|
@@ -1795,7 +1837,7 @@ div.dataviews-view-list {
|
|
|
1795
1837
|
}
|
|
1796
1838
|
|
|
1797
1839
|
.dataviews-view-table tr.is-selected:hover {
|
|
1798
|
-
background-color:
|
|
1840
|
+
background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 8%, #fff);
|
|
1799
1841
|
}
|
|
1800
1842
|
|
|
1801
1843
|
.dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
|
|
@@ -1806,32 +1848,52 @@ div.dataviews-view-list {
|
|
|
1806
1848
|
background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 8%, #fff);
|
|
1807
1849
|
}
|
|
1808
1850
|
|
|
1851
|
+
.dataviews-view-table.has-bulk-actions tr:not(.is-selected).is-hovered, .dataviews-view-table.has-bulk-actions tr:not(.is-selected).is-hovered .dataviews-view-table__actions-column--sticky {
|
|
1852
|
+
background-color: #f8f8f8;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
.dataviews-view-table.has-bulk-actions tr:focus-within .components-checkbox-control__input,
|
|
1856
|
+
.dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table.has-bulk-actions tr.is-hovered .components-checkbox-control__input,
|
|
1857
|
+
.dataviews-view-table.has-bulk-actions tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table.has-bulk-actions tr:hover .components-checkbox-control__input,
|
|
1858
|
+
.dataviews-view-table.has-bulk-actions tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1859
|
+
opacity: 1;
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1809
1862
|
.dataviews-view-table thead {
|
|
1810
1863
|
position: sticky;
|
|
1811
1864
|
inset-block-start: 0;
|
|
1812
1865
|
z-index: 1;
|
|
1866
|
+
background-color: inherit;
|
|
1813
1867
|
}
|
|
1814
1868
|
|
|
1815
1869
|
.dataviews-view-table thead tr {
|
|
1816
1870
|
border: 0;
|
|
1817
1871
|
}
|
|
1818
1872
|
|
|
1819
|
-
.dataviews-view-table thead tr .components-checkbox-control__input.components-checkbox-control__input {
|
|
1820
|
-
opacity: 1;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
1873
|
.dataviews-view-table thead th {
|
|
1824
|
-
background-color:
|
|
1874
|
+
background-color: inherit;
|
|
1825
1875
|
padding-top: 8px;
|
|
1826
1876
|
padding-bottom: 8px;
|
|
1827
|
-
padding-right: 12px;
|
|
1828
1877
|
font-size: 11px;
|
|
1829
1878
|
text-transform: uppercase;
|
|
1830
1879
|
font-weight: 499;
|
|
1831
1880
|
}
|
|
1832
1881
|
|
|
1833
|
-
.dataviews-view-table thead th:has(.dataviews-view-table-header-button)
|
|
1882
|
+
.dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
|
|
1834
1883
|
padding-right: 4px;
|
|
1884
|
+
padding-left: 4px;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
.dataviews-view-table thead th:has(.dataviews-view-table-header-button) .dataviews-view-table-header-button {
|
|
1888
|
+
gap: 4px;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
.dataviews-view-table thead th:has(.dataviews-view-table-header-button):first-child {
|
|
1892
|
+
padding-right: 40px;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
.dataviews-view-table thead th:has(.dataviews-view-table-header-button):last-child {
|
|
1896
|
+
padding-left: 40px;
|
|
1835
1897
|
}
|
|
1836
1898
|
|
|
1837
1899
|
.dataviews-view-table tbody td {
|
|
@@ -1885,14 +1947,14 @@ div.dataviews-view-list {
|
|
|
1885
1947
|
white-space: nowrap;
|
|
1886
1948
|
}
|
|
1887
1949
|
|
|
1888
|
-
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1889
|
-
opacity: 1;
|
|
1890
|
-
}
|
|
1891
|
-
|
|
1892
1950
|
.dataviews-view-table.has-compact-density thead th:has(.dataviews-view-table-header-button):not(:first-child) {
|
|
1893
1951
|
padding-right: 0;
|
|
1894
1952
|
}
|
|
1895
1953
|
|
|
1954
|
+
.dataviews-view-table.has-compact-density thead th:has(.dataviews-view-table-header-button):not(:last-child) {
|
|
1955
|
+
padding-left: 0;
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1896
1958
|
.dataviews-view-table.has-compact-density td,
|
|
1897
1959
|
.dataviews-view-table.has-compact-density th {
|
|
1898
1960
|
padding: 4px 8px;
|
|
@@ -2130,6 +2192,10 @@ div.dataviews-view-list {
|
|
|
2130
2192
|
padding: 0 48px;
|
|
2131
2193
|
}
|
|
2132
2194
|
|
|
2195
|
+
.dataviews-view-picker-table {
|
|
2196
|
+
background-color: inherit;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2133
2199
|
.dataviews-view-picker-table tbody:focus-visible[aria-activedescendant] {
|
|
2134
2200
|
outline: none;
|
|
2135
2201
|
}
|
|
@@ -2159,6 +2225,205 @@ div.dataviews-view-list {
|
|
|
2159
2225
|
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
2160
2226
|
}
|
|
2161
2227
|
|
|
2228
|
+
.dataviews-view-activity {
|
|
2229
|
+
margin: 0 0 auto;
|
|
2230
|
+
padding: 8px 48px;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
.dataviews-view-activity .dataviews-view-activity__group-header {
|
|
2234
|
+
font-size: 15px;
|
|
2235
|
+
font-weight: 499;
|
|
2236
|
+
color: #949494;
|
|
2237
|
+
margin: 0 0 8px 0;
|
|
2238
|
+
padding: 0;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
.dataviews-view-activity .dataviews-view-activity__item-actions {
|
|
2242
|
+
min-width: 24px;
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
.dataviews-view-activity .dataviews-view-activity__item-content {
|
|
2246
|
+
flex-grow: 1;
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title,
|
|
2250
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description,
|
|
2251
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
|
|
2252
|
+
min-height: 16px;
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title {
|
|
2256
|
+
position: relative;
|
|
2257
|
+
display: flex;
|
|
2258
|
+
align-items: center;
|
|
2259
|
+
flex: 1;
|
|
2260
|
+
overflow: hidden;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable {
|
|
2264
|
+
cursor: pointer;
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible {
|
|
2268
|
+
outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
|
|
2269
|
+
outline-offset: var(--wp-admin-border-width-focus);
|
|
2270
|
+
border-radius: 2px;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
|
|
2274
|
+
display: flex;
|
|
2275
|
+
width: max-content;
|
|
2276
|
+
flex: 0 0 auto;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions .components-button {
|
|
2280
|
+
position: relative;
|
|
2281
|
+
z-index: 1;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
|
|
2285
|
+
color: #757575;
|
|
2286
|
+
display: flex;
|
|
2287
|
+
gap: 12px;
|
|
2288
|
+
row-gap: 4px;
|
|
2289
|
+
flex-wrap: wrap;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields:empty {
|
|
2293
|
+
display: none;
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields .dataviews-view-activity__item-field:has(.dataviews-view-activity__item-field-value:empty) {
|
|
2297
|
+
display: none;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
.dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields .dataviews-view-activity__item-field-value {
|
|
2301
|
+
display: flex;
|
|
2302
|
+
align-items: center;
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
.dataviews-view-activity .dataviews-view-activity__item-type {
|
|
2306
|
+
align-self: stretch;
|
|
2307
|
+
flex-shrink: 0;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
.dataviews-view-activity .dataviews-view-activity__item-type::after {
|
|
2311
|
+
content: "";
|
|
2312
|
+
flex: 1 1 auto;
|
|
2313
|
+
width: 1px;
|
|
2314
|
+
margin: 0 auto;
|
|
2315
|
+
background-color: #ddd;
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
.dataviews-view-activity .dataviews-view-activity__item-type::before {
|
|
2319
|
+
content: "";
|
|
2320
|
+
flex: 0 0 auto;
|
|
2321
|
+
width: 1px;
|
|
2322
|
+
margin: 0 auto;
|
|
2323
|
+
background-color: #ddd;
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type {
|
|
2327
|
+
width: 8px;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before {
|
|
2331
|
+
height: 12px;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
|
|
2335
|
+
width: 11px;
|
|
2336
|
+
height: 11px;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
|
|
2340
|
+
margin: 12px 0;
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type {
|
|
2344
|
+
width: 24px;
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before {
|
|
2348
|
+
height: 12px;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
|
|
2352
|
+
width: 25px;
|
|
2353
|
+
height: 25px;
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
|
|
2357
|
+
margin: 12px 0;
|
|
2358
|
+
padding-top: 8px;
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type {
|
|
2362
|
+
width: 32px;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before {
|
|
2366
|
+
height: 8px;
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
|
|
2370
|
+
width: 33px;
|
|
2371
|
+
height: 33px;
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
|
|
2375
|
+
margin: 8px 0 16px;
|
|
2376
|
+
padding-top: 12px;
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet {
|
|
2380
|
+
width: 9px;
|
|
2381
|
+
height: 9px;
|
|
2382
|
+
position: relative;
|
|
2383
|
+
top: 50%;
|
|
2384
|
+
transform: translateY(-50%);
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
.dataviews-view-activity .dataviews-view-activity__item:first-child .dataviews-view-activity__item-type::before {
|
|
2388
|
+
visibility: hidden;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
.dataviews-view-activity .dataviews-view-activity__group:last-of-type > .dataviews-view-activity__item:last-of-type .dataviews-view-activity__item-type::after, .dataviews-view-activity > .dataviews-view-activity__item:last-child .dataviews-view-activity__item-type::after {
|
|
2392
|
+
background: linear-gradient(to bottom, #ddd 0%, rgba(221, 221, 221, 0.2) 60%, rgba(221, 221, 221, 0) 100%);
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
.dataviews-view-activity .dataviews-view-activity__item-type-icon {
|
|
2396
|
+
overflow: hidden;
|
|
2397
|
+
flex-shrink: 0;
|
|
2398
|
+
background-color: #fff;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
.dataviews-view-activity .dataviews-view-activity__item-type-icon img,
|
|
2402
|
+
.dataviews-view-activity .dataviews-view-activity__item-type-icon svg,
|
|
2403
|
+
.dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
|
|
2404
|
+
display: block;
|
|
2405
|
+
width: 100%;
|
|
2406
|
+
height: 100%;
|
|
2407
|
+
margin: 0 auto;
|
|
2408
|
+
object-fit: cover;
|
|
2409
|
+
border-radius: 50%;
|
|
2410
|
+
box-sizing: border-box;
|
|
2411
|
+
box-shadow: inset 0 0 0 1px #ddd;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
.dataviews-view-activity .dataviews-view-activity__item-type-icon svg {
|
|
2415
|
+
padding: 4px;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
.dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
|
|
2419
|
+
content: "";
|
|
2420
|
+
background-color: #ddd;
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
.dataviews-view-activity + .dataviews-pagination {
|
|
2424
|
+
justify-content: space-between;
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2162
2427
|
.dataviews-controls__datetime {
|
|
2163
2428
|
border: none;
|
|
2164
2429
|
padding: 0;
|
|
@@ -3210,6 +3475,7 @@ button.font-library-modal__upload-area {
|
|
|
3210
3475
|
max-width: 100%;
|
|
3211
3476
|
display: block;
|
|
3212
3477
|
width: 100%;
|
|
3478
|
+
clip-path: border-box;
|
|
3213
3479
|
}
|
|
3214
3480
|
|
|
3215
3481
|
.global-styles-ui-typography-preview {
|
|
@@ -3932,6 +4198,9 @@ button.font-library-modal__upload-area {
|
|
|
3932
4198
|
margin: 0 4px;
|
|
3933
4199
|
vertical-align: text-top;
|
|
3934
4200
|
}
|
|
4201
|
+
.edit-site-welcome-guide .components-button:hover svg {
|
|
4202
|
+
fill: #fff;
|
|
4203
|
+
}
|
|
3935
4204
|
|
|
3936
4205
|
.edit-site-layout {
|
|
3937
4206
|
height: 100%;
|