@measured/puck-plugin-heading-analyzer 0.8.0-canary.1dc222c → 0.8.0-canary.87c8736
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/dist/index.css +6 -6
- package/dist/index.js +3 -4
- 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_gor6f_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_gor6f_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
|
+
._OutlineList_gor6f_1 li {
|
108
108
|
position: relative;
|
109
109
|
margin-bottom: 4px;
|
110
110
|
}
|
111
|
-
.
|
111
|
+
._OutlineList_gor6f_1 li::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
|
+
._OutlineList_gor6f_1 ._OutlineList-clickableItem_gor6f_36:hover {
|
121
121
|
color: var(--puck-color-blue);
|
122
122
|
cursor: pointer;
|
123
123
|
}
|
124
|
-
.
|
124
|
+
._OutlineList_gor6f_1 li > ._OutlineList_gor6f_1 {
|
125
125
|
margin: 8px;
|
126
126
|
}
|
package/dist/index.js
CHANGED
@@ -1236,15 +1236,14 @@ 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_gor6f_1", "OutlineList-clickableItem": "_OutlineList-clickableItem_gor6f_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);
|
1244
1243
|
var OutlineList = ({ children }) => {
|
1245
1244
|
return /* @__PURE__ */ import_react.default.createElement("ul", { className: getClassName3() }, children);
|
1246
1245
|
};
|
1247
|
-
OutlineList.Clickable = ({ children }) => /* @__PURE__ */ import_react.default.createElement("div", { className:
|
1246
|
+
OutlineList.Clickable = ({ children }) => /* @__PURE__ */ import_react.default.createElement("div", { className: getClassName3("clickableItem") }, children);
|
1248
1247
|
OutlineList.Item = ({
|
1249
1248
|
children,
|
1250
1249
|
onClick
|
@@ -1252,7 +1251,7 @@ OutlineList.Item = ({
|
|
1252
1251
|
return /* @__PURE__ */ import_react.default.createElement(
|
1253
1252
|
"li",
|
1254
1253
|
{
|
1255
|
-
className:
|
1254
|
+
className: onClick ? getClassName3("clickableItem") : "",
|
1256
1255
|
onClick
|
1257
1256
|
},
|
1258
1257
|
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.87c8736",
|
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.87c8736",
|
18
18
|
"@types/react": "^18.2.0",
|
19
19
|
"@types/react-dom": "^18.2.0",
|
20
20
|
"eslint": "^7.32.0",
|