@measured/puck-plugin-heading-analyzer 0.8.0-canary.6e95652 → 0.8.0-canary.a368319
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +19 -18
- package/dist/index.js +11 -10
- package/package.json +2 -2
package/dist/index.css
CHANGED
@@ -1,49 +1,50 @@
|
|
1
1
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
2
|
-
.
|
2
|
+
._SidebarSection_f1p35_1 {
|
3
3
|
display: flex;
|
4
4
|
position: relative;
|
5
5
|
flex-direction: column;
|
6
|
+
color: black;
|
6
7
|
}
|
7
|
-
.
|
8
|
+
._SidebarSection_f1p35_1:last-of-type {
|
8
9
|
flex-grow: 1;
|
9
10
|
}
|
10
|
-
._SidebarSection-
|
11
|
+
._SidebarSection-title_f1p35_12 {
|
11
12
|
background: white;
|
12
13
|
padding: 16px;
|
13
14
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
14
|
-
overflow-x:
|
15
|
+
overflow-x: auto;
|
15
16
|
}
|
16
|
-
._SidebarSection-
|
17
|
+
._SidebarSection-content_f1p35_19 {
|
17
18
|
border-bottom: 1px solid var(--puck-color-grey-8);
|
18
19
|
padding: 16px;
|
19
20
|
}
|
20
|
-
._SidebarSection--
|
21
|
+
._SidebarSection--noPadding_f1p35_24 ._SidebarSection-content_f1p35_19 {
|
21
22
|
padding: 0px;
|
22
23
|
}
|
23
|
-
.
|
24
|
+
._SidebarSection_f1p35_1:last-of-type ._SidebarSection-content_f1p35_19 {
|
24
25
|
border-bottom: none;
|
25
26
|
flex-grow: 1;
|
26
27
|
}
|
27
|
-
._SidebarSection-
|
28
|
+
._SidebarSection-breadcrumbLabel_f1p35_33 {
|
28
29
|
color: var(--puck-color-azure-3);
|
29
30
|
flex-shrink: 0;
|
30
31
|
}
|
31
|
-
._SidebarSection-
|
32
|
+
._SidebarSection-breadcrumbLabel_f1p35_33:hover {
|
32
33
|
color: var(--puck-color-azure-4);
|
33
34
|
cursor: pointer;
|
34
35
|
text-decoration: underline;
|
35
36
|
}
|
36
|
-
._SidebarSection-
|
37
|
+
._SidebarSection-breadcrumbs_f1p35_44 {
|
37
38
|
align-items: center;
|
38
39
|
display: flex;
|
39
40
|
gap: 4px;
|
40
41
|
}
|
41
|
-
._SidebarSection-
|
42
|
+
._SidebarSection-breadcrumb_f1p35_33 {
|
42
43
|
align-items: center;
|
43
44
|
display: flex;
|
44
45
|
gap: 4px;
|
45
46
|
}
|
46
|
-
._SidebarSection-
|
47
|
+
._SidebarSection-heading_f1p35_56 {
|
47
48
|
padding-right: 16px;
|
48
49
|
}
|
49
50
|
|
@@ -85,7 +86,7 @@
|
|
85
86
|
}
|
86
87
|
|
87
88
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css/#css-module-data */
|
88
|
-
.
|
89
|
+
._OutlineList_pnv2s_1 {
|
89
90
|
color: var(--puck-color-grey-2);
|
90
91
|
font-family: var(--puck-font-stack);
|
91
92
|
margin: 0;
|
@@ -94,7 +95,7 @@
|
|
94
95
|
position: relative;
|
95
96
|
list-style: none;
|
96
97
|
}
|
97
|
-
.
|
98
|
+
._OutlineList_pnv2s_1::before {
|
98
99
|
background: var(--puck-color-grey-7);
|
99
100
|
position: absolute;
|
100
101
|
left: -1px;
|
@@ -103,11 +104,11 @@
|
|
103
104
|
height: calc(100% - 9px);
|
104
105
|
content: "";
|
105
106
|
}
|
106
|
-
.
|
107
|
+
._OutlineListItem_pnv2s_21 {
|
107
108
|
position: relative;
|
108
109
|
margin-bottom: 4px;
|
109
110
|
}
|
110
|
-
.
|
111
|
+
._OutlineListItem_pnv2s_21::before {
|
111
112
|
background: var(--puck-color-grey-7);
|
112
113
|
position: absolute;
|
113
114
|
left: -17px;
|
@@ -116,10 +117,10 @@
|
|
116
117
|
height: 1px;
|
117
118
|
content: "";
|
118
119
|
}
|
119
|
-
.
|
120
|
+
._OutlineListItem--clickable_pnv2s_36:hover {
|
120
121
|
color: var(--puck-color-blue);
|
121
122
|
cursor: pointer;
|
122
123
|
}
|
123
|
-
.
|
124
|
+
._OutlineListItem_pnv2s_21 > ._OutlineList_pnv2s_1 {
|
124
125
|
margin: 8px;
|
125
126
|
}
|
package/dist/index.js
CHANGED
@@ -108,9 +108,9 @@ var require_classnames = __commonJS({
|
|
108
108
|
}
|
109
109
|
});
|
110
110
|
|
111
|
-
// ../../node_modules/
|
111
|
+
// ../../node_modules/react-is/cjs/react-is.production.min.js
|
112
112
|
var require_react_is_production_min = __commonJS({
|
113
|
-
"../../node_modules/
|
113
|
+
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
114
114
|
"use strict";
|
115
115
|
init_react_import();
|
116
116
|
var b = "function" === typeof Symbol && Symbol.for;
|
@@ -222,9 +222,9 @@ var require_react_is_production_min = __commonJS({
|
|
222
222
|
}
|
223
223
|
});
|
224
224
|
|
225
|
-
// ../../node_modules/
|
225
|
+
// ../../node_modules/react-is/cjs/react-is.development.js
|
226
226
|
var require_react_is_development = __commonJS({
|
227
|
-
"../../node_modules/
|
227
|
+
"../../node_modules/react-is/cjs/react-is.development.js"(exports) {
|
228
228
|
"use strict";
|
229
229
|
init_react_import();
|
230
230
|
if (process.env.NODE_ENV !== "production") {
|
@@ -378,9 +378,9 @@ var require_react_is_development = __commonJS({
|
|
378
378
|
}
|
379
379
|
});
|
380
380
|
|
381
|
-
// ../../node_modules/
|
381
|
+
// ../../node_modules/react-is/index.js
|
382
382
|
var require_react_is = __commonJS({
|
383
|
-
"../../node_modules/
|
383
|
+
"../../node_modules/react-is/index.js"(exports, module2) {
|
384
384
|
"use strict";
|
385
385
|
init_react_import();
|
386
386
|
if (process.env.NODE_ENV === "production") {
|
@@ -1081,7 +1081,7 @@ init_react_import();
|
|
1081
1081
|
|
1082
1082
|
// css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
|
1083
1083
|
init_react_import();
|
1084
|
-
var styles_module_default = { "SidebarSection": "
|
1084
|
+
var styles_module_default = { "SidebarSection": "_SidebarSection_f1p35_1", "SidebarSection-title": "_SidebarSection-title_f1p35_12", "SidebarSection-content": "_SidebarSection-content_f1p35_19", "SidebarSection--noPadding": "_SidebarSection--noPadding_f1p35_24", "SidebarSection-breadcrumbLabel": "_SidebarSection-breadcrumbLabel_f1p35_33", "SidebarSection-breadcrumbs": "_SidebarSection-breadcrumbs_f1p35_44", "SidebarSection-breadcrumb": "_SidebarSection-breadcrumb_f1p35_33", "SidebarSection-heading": "_SidebarSection-heading_f1p35_56" };
|
1085
1085
|
|
1086
1086
|
// ../core/lib/get-class-name-factory.ts
|
1087
1087
|
init_react_import();
|
@@ -1236,14 +1236,15 @@ init_react_import();
|
|
1236
1236
|
|
1237
1237
|
// css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css#css-module
|
1238
1238
|
init_react_import();
|
1239
|
-
var styles_module_default3 = { "OutlineList": "
|
1239
|
+
var styles_module_default3 = { "OutlineList": "_OutlineList_pnv2s_1", "OutlineListItem": "_OutlineListItem_pnv2s_21", "OutlineListItem--clickable": "_OutlineListItem--clickable_pnv2s_36" };
|
1240
1240
|
|
1241
1241
|
// ../core/components/OutlineList/index.tsx
|
1242
1242
|
var getClassName3 = get_class_name_factory_default("OutlineList", styles_module_default3);
|
1243
|
+
var getClassNameItem = get_class_name_factory_default("OutlineListItem", styles_module_default3);
|
1243
1244
|
var OutlineList = ({ children }) => {
|
1244
1245
|
return /* @__PURE__ */ import_react.default.createElement("ul", { className: getClassName3() }, children);
|
1245
1246
|
};
|
1246
|
-
OutlineList.Clickable = ({ children }) => /* @__PURE__ */ import_react.default.createElement("div", { className:
|
1247
|
+
OutlineList.Clickable = ({ children }) => /* @__PURE__ */ import_react.default.createElement("div", { className: getClassNameItem({ clickable: true }) }, children);
|
1247
1248
|
OutlineList.Item = ({
|
1248
1249
|
children,
|
1249
1250
|
onClick
|
@@ -1251,7 +1252,7 @@ OutlineList.Item = ({
|
|
1251
1252
|
return /* @__PURE__ */ import_react.default.createElement(
|
1252
1253
|
"li",
|
1253
1254
|
{
|
1254
|
-
className:
|
1255
|
+
className: getClassNameItem({ clickable: !!onClick }),
|
1255
1256
|
onClick
|
1256
1257
|
},
|
1257
1258
|
children
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.8.0-canary.
|
3
|
+
"version": "0.8.0-canary.a368319",
|
4
4
|
"private": false,
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.ts",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"dist"
|
15
15
|
],
|
16
16
|
"devDependencies": {
|
17
|
-
"@measured/puck": "^0.8.0-canary.
|
17
|
+
"@measured/puck": "^0.8.0-canary.a368319",
|
18
18
|
"@types/react": "^18.2.0",
|
19
19
|
"@types/react-dom": "^18.2.0",
|
20
20
|
"eslint": "^7.32.0",
|