@measured/puck-plugin-heading-analyzer 0.8.0-canary.87c8736 → 0.8.0-canary.f4b0563
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +6 -6
- package/dist/index.js +10 -9
- package/package.json +2 -2
package/dist/index.css
CHANGED
@@ -86,7 +86,7 @@
|
|
86
86
|
}
|
87
87
|
|
88
88
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css/#css-module-data */
|
89
|
-
.
|
89
|
+
._OutlineList_pnv2s_1 {
|
90
90
|
color: var(--puck-color-grey-2);
|
91
91
|
font-family: var(--puck-font-stack);
|
92
92
|
margin: 0;
|
@@ -95,7 +95,7 @@
|
|
95
95
|
position: relative;
|
96
96
|
list-style: none;
|
97
97
|
}
|
98
|
-
.
|
98
|
+
._OutlineList_pnv2s_1::before {
|
99
99
|
background: var(--puck-color-grey-7);
|
100
100
|
position: absolute;
|
101
101
|
left: -1px;
|
@@ -104,11 +104,11 @@
|
|
104
104
|
height: calc(100% - 9px);
|
105
105
|
content: "";
|
106
106
|
}
|
107
|
-
.
|
107
|
+
._OutlineListItem_pnv2s_21 {
|
108
108
|
position: relative;
|
109
109
|
margin-bottom: 4px;
|
110
110
|
}
|
111
|
-
.
|
111
|
+
._OutlineListItem_pnv2s_21::before {
|
112
112
|
background: var(--puck-color-grey-7);
|
113
113
|
position: absolute;
|
114
114
|
left: -17px;
|
@@ -117,10 +117,10 @@
|
|
117
117
|
height: 1px;
|
118
118
|
content: "";
|
119
119
|
}
|
120
|
-
.
|
120
|
+
._OutlineListItem--clickable_pnv2s_36:hover {
|
121
121
|
color: var(--puck-color-blue);
|
122
122
|
cursor: pointer;
|
123
123
|
}
|
124
|
-
.
|
124
|
+
._OutlineListItem_pnv2s_21 > ._OutlineList_pnv2s_1 {
|
125
125
|
margin: 8px;
|
126
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") {
|
@@ -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.f4b0563",
|
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.f4b0563",
|
18
18
|
"@types/react": "^18.2.0",
|
19
19
|
"@types/react-dom": "^18.2.0",
|
20
20
|
"eslint": "^7.32.0",
|