@measured/puck-plugin-heading-analyzer 0.14.0-canary.f2f0c9d → 0.14.0-canary.f975d87
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +74 -45
- package/dist/index.js +34 -32
- package/package.json +2 -2
package/dist/index.css
CHANGED
@@ -1,60 +1,76 @@
|
|
1
1
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
2
|
-
.
|
2
|
+
._SidebarSection_125qe_1 {
|
3
3
|
display: flex;
|
4
4
|
position: relative;
|
5
5
|
flex-direction: column;
|
6
|
-
color: black;
|
6
|
+
color: var(--puck-color-black);
|
7
7
|
}
|
8
|
-
.
|
8
|
+
._SidebarSection_125qe_1:last-of-type {
|
9
9
|
flex-grow: 1;
|
10
10
|
}
|
11
|
-
._SidebarSection-
|
12
|
-
background: white;
|
11
|
+
._SidebarSection-title_125qe_12 {
|
12
|
+
background: var(--puck-color-white);
|
13
13
|
padding: 16px;
|
14
|
-
border-bottom: 1px solid var(--puck-color-grey-
|
15
|
-
border-top: 1px solid var(--puck-color-grey-
|
14
|
+
border-bottom: 1px solid var(--puck-color-grey-09);
|
15
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
16
16
|
overflow-x: auto;
|
17
17
|
}
|
18
|
-
._SidebarSection--
|
18
|
+
._SidebarSection--noBorderTop_125qe_20 > ._SidebarSection-title_125qe_12 {
|
19
19
|
border-top: 0px;
|
20
20
|
}
|
21
|
-
._SidebarSection-
|
21
|
+
._SidebarSection-content_125qe_24 {
|
22
22
|
padding: 16px;
|
23
23
|
}
|
24
|
-
._SidebarSection--
|
24
|
+
._SidebarSection--noPadding_125qe_28 > ._SidebarSection-content_125qe_24 {
|
25
25
|
padding: 0px;
|
26
26
|
}
|
27
|
-
._SidebarSection--
|
27
|
+
._SidebarSection--noPadding_125qe_28 > ._SidebarSection-content_125qe_24:last-child {
|
28
28
|
padding-bottom: 4px;
|
29
29
|
}
|
30
|
-
.
|
30
|
+
._SidebarSection_125qe_1:last-of-type ._SidebarSection-content_125qe_24 {
|
31
31
|
border-bottom: none;
|
32
32
|
flex-grow: 1;
|
33
33
|
}
|
34
|
-
._SidebarSection-
|
35
|
-
|
34
|
+
._SidebarSection-breadcrumbLabel_125qe_41 {
|
35
|
+
background: none;
|
36
|
+
border: 0;
|
37
|
+
border-radius: 2px;
|
38
|
+
color: var(--puck-color-azure-04);
|
39
|
+
cursor: pointer;
|
40
|
+
font: inherit;
|
36
41
|
flex-shrink: 0;
|
42
|
+
padding: 0;
|
43
|
+
transition: color 50ms ease-in;
|
37
44
|
}
|
38
|
-
._SidebarSection-
|
39
|
-
|
40
|
-
|
41
|
-
|
45
|
+
._SidebarSection-breadcrumbLabel_125qe_41:focus-visible {
|
46
|
+
outline: 2px solid var(--puck-color-azure-05);
|
47
|
+
outline-offset: 2px;
|
48
|
+
}
|
49
|
+
@media (hover: hover) and (pointer: fine) {
|
50
|
+
._SidebarSection-breadcrumbLabel_125qe_41:hover {
|
51
|
+
color: var(--puck-color-azure-03);
|
52
|
+
transition: none;
|
53
|
+
}
|
42
54
|
}
|
43
|
-
._SidebarSection-
|
55
|
+
._SidebarSection-breadcrumbLabel_125qe_41:active {
|
56
|
+
color: var(--puck-color-azure-02);
|
57
|
+
transition: none;
|
58
|
+
}
|
59
|
+
._SidebarSection-breadcrumbs_125qe_70 {
|
44
60
|
align-items: center;
|
45
61
|
display: flex;
|
46
62
|
gap: 4px;
|
47
63
|
}
|
48
|
-
._SidebarSection-
|
64
|
+
._SidebarSection-breadcrumb_125qe_41 {
|
49
65
|
align-items: center;
|
50
66
|
display: flex;
|
51
67
|
gap: 4px;
|
52
68
|
}
|
53
|
-
._SidebarSection-
|
69
|
+
._SidebarSection-heading_125qe_82 {
|
54
70
|
padding-right: 16px;
|
55
71
|
}
|
56
|
-
._SidebarSection-
|
57
|
-
background: white;
|
72
|
+
._SidebarSection-loadingOverlay_125qe_86 {
|
73
|
+
background: var(--puck-color-white);
|
58
74
|
display: flex;
|
59
75
|
justify-content: center;
|
60
76
|
align-items: center;
|
@@ -69,54 +85,53 @@
|
|
69
85
|
}
|
70
86
|
|
71
87
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css/#css-module-data */
|
72
|
-
.
|
88
|
+
._Heading_qxrry_1 {
|
73
89
|
display: block;
|
74
90
|
color: var(--puck-color-black);
|
75
|
-
font-family: var(--puck-font-stack);
|
76
91
|
font-weight: 700;
|
77
92
|
margin: 0;
|
78
93
|
}
|
79
|
-
.
|
94
|
+
._Heading_qxrry_1 b {
|
80
95
|
font-weight: 700;
|
81
96
|
}
|
82
|
-
._Heading--
|
97
|
+
._Heading--xxxxl_qxrry_12 {
|
83
98
|
font-size: var(--puck-font-size-xxxxl);
|
84
99
|
letter-spacing: 0.08ch;
|
85
100
|
font-weight: 800;
|
86
101
|
}
|
87
|
-
._Heading--
|
102
|
+
._Heading--xxxl_qxrry_18 {
|
88
103
|
font-size: var(--puck-font-size-xxxl);
|
89
104
|
}
|
90
|
-
._Heading--
|
105
|
+
._Heading--xxl_qxrry_22 {
|
91
106
|
font-size: var(--puck-font-size-xxl);
|
92
107
|
}
|
93
|
-
._Heading--
|
108
|
+
._Heading--xl_qxrry_26 {
|
94
109
|
font-size: var(--puck-font-size-xl);
|
95
110
|
}
|
96
|
-
._Heading--
|
111
|
+
._Heading--l_qxrry_30 {
|
97
112
|
font-size: var(--puck-font-size-l);
|
98
113
|
}
|
99
|
-
._Heading--
|
114
|
+
._Heading--m_qxrry_34 {
|
100
115
|
font-size: var(--puck-font-size-m);
|
101
116
|
}
|
102
|
-
._Heading--
|
117
|
+
._Heading--s_qxrry_38 {
|
103
118
|
font-size: var(--puck-font-size-s);
|
104
119
|
}
|
105
|
-
._Heading--
|
120
|
+
._Heading--xs_qxrry_42 {
|
106
121
|
font-size: var(--puck-font-size-xs);
|
107
122
|
}
|
108
123
|
|
109
124
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css/#css-module-data */
|
110
|
-
.
|
111
|
-
color: var(--puck-color-grey-
|
112
|
-
font-family: var(--puck-font-
|
125
|
+
._OutlineList_18bgy_1 {
|
126
|
+
color: var(--puck-color-grey-03);
|
127
|
+
font-family: var(--puck-font-family);
|
113
128
|
margin: 0;
|
114
129
|
padding-left: 16px;
|
115
130
|
position: relative;
|
116
131
|
list-style: none;
|
117
132
|
}
|
118
|
-
.
|
119
|
-
background: var(--puck-color-grey-
|
133
|
+
._OutlineList_18bgy_1::before {
|
134
|
+
background: var(--puck-color-grey-08);
|
120
135
|
position: absolute;
|
121
136
|
left: -1px;
|
122
137
|
top: 0px;
|
@@ -124,12 +139,12 @@
|
|
124
139
|
height: calc(100% - 9px);
|
125
140
|
content: "";
|
126
141
|
}
|
127
|
-
.
|
142
|
+
._OutlineListItem_18bgy_20 {
|
128
143
|
position: relative;
|
129
144
|
margin-bottom: 4px;
|
130
145
|
}
|
131
|
-
.
|
132
|
-
background: var(--puck-color-grey-
|
146
|
+
._OutlineListItem_18bgy_20::before {
|
147
|
+
background: var(--puck-color-grey-08);
|
133
148
|
position: absolute;
|
134
149
|
left: -17px;
|
135
150
|
top: 9px;
|
@@ -137,10 +152,24 @@
|
|
137
152
|
height: 1px;
|
138
153
|
content: "";
|
139
154
|
}
|
140
|
-
._OutlineListItem--
|
141
|
-
color: var(--puck-color-blue);
|
155
|
+
._OutlineListItem--clickable_18bgy_35 {
|
142
156
|
cursor: pointer;
|
157
|
+
transition: color 50ms ease-in;
|
158
|
+
}
|
159
|
+
._OutlineListItem--clickable_18bgy_35:focus-visible {
|
160
|
+
outline: 2px solid var(--puck-color-azure-05);
|
161
|
+
outline-offset: 2px;
|
162
|
+
}
|
163
|
+
@media (hover: hover) and (pointer: fine) {
|
164
|
+
._OutlineListItem--clickable_18bgy_35:hover {
|
165
|
+
color: var(--puck-color-azure-04);
|
166
|
+
transition: none;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
._OutlineListItem--clickable_18bgy_35:active {
|
170
|
+
color: var(--puck-color-azure-03);
|
171
|
+
transition: none;
|
143
172
|
}
|
144
|
-
.
|
173
|
+
._OutlineListItem_18bgy_20 > ._OutlineList_18bgy_1 {
|
145
174
|
margin: 8px 0;
|
146
175
|
}
|
package/dist/index.js
CHANGED
@@ -71035,7 +71035,7 @@ var require_dist = __commonJS({
|
|
71035
71035
|
init_react_import2();
|
71036
71036
|
var import_react22 = require("react");
|
71037
71037
|
init_react_import2();
|
71038
|
-
var Button_module_default = { "Button": "
|
71038
|
+
var Button_module_default = { "Button": "_Button_1hb69_1", "Button--medium": "_Button--medium_1hb69_29", "Button--large": "_Button--large_1hb69_37", "Button-icon": "_Button-icon_1hb69_44", "Button--primary": "_Button--primary_1hb69_48", "Button--secondary": "_Button--secondary_1hb69_67", "Button--flush": "_Button--flush_1hb69_82", "Button--disabled": "_Button--disabled_1hb69_86", "Button--fullWidth": "_Button--fullWidth_1hb69_93" };
|
71039
71039
|
init_react_import2();
|
71040
71040
|
var import_classnames2 = __toESM2(require_classnames2());
|
71041
71041
|
var getClassNameFactory2 = (rootClass, styles, { baseClass = "" } = {}) => (options = {}) => {
|
@@ -71085,7 +71085,7 @@ var require_dist = __commonJS({
|
|
71085
71085
|
}) => {
|
71086
71086
|
const [loading, setLoading] = (0, import_react22.useState)(loadingProp);
|
71087
71087
|
(0, import_react22.useEffect)(() => setLoading(loadingProp), [loadingProp]);
|
71088
|
-
const ElementType = href ? "a" :
|
71088
|
+
const ElementType = href ? "a" : type ? "button" : "span";
|
71089
71089
|
const el = /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
71090
71090
|
ElementType,
|
71091
71091
|
{
|
@@ -71125,7 +71125,7 @@ var require_dist = __commonJS({
|
|
71125
71125
|
init_react_import2();
|
71126
71126
|
var import_dnd2 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
71127
71127
|
init_react_import2();
|
71128
|
-
var styles_module_default4 = { "
|
71128
|
+
var styles_module_default4 = { "Drawer": "_Drawer_6zh0b_1", "DrawerItem-default": "_DrawerItem-default_6zh0b_5", "DrawerItem-draggableWrapper": "_DrawerItem-draggableWrapper_6zh0b_5", "DrawerItem": "_DrawerItem_6zh0b_5", "DrawerItem-draggable": "_DrawerItem-draggable_6zh0b_5", "Drawer--isDraggingFrom": "_Drawer--isDraggingFrom_6zh0b_31", "DrawerItem-name": "_DrawerItem-name_6zh0b_47" };
|
71129
71129
|
init_react_import2();
|
71130
71130
|
var import_dnd = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
71131
71131
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
@@ -71190,7 +71190,7 @@ var require_dist = __commonJS({
|
|
71190
71190
|
return result;
|
71191
71191
|
};
|
71192
71192
|
init_react_import2();
|
71193
|
-
var styles_module_default22 = { "DragIcon": "
|
71193
|
+
var styles_module_default22 = { "DragIcon": "_DragIcon_1p5wn_1" };
|
71194
71194
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
71195
71195
|
var getClassName22 = get_class_name_factory_default2("DragIcon", styles_module_default22);
|
71196
71196
|
var DragIcon = () => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: getClassName22(), children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("svg", { viewBox: "0 0 20 20", width: "12", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { d: "M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z" }) }) });
|
@@ -71260,7 +71260,7 @@ var require_dist = __commonJS({
|
|
71260
71260
|
var import_react62 = require("react");
|
71261
71261
|
var import_dnd3 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
71262
71262
|
init_react_import2();
|
71263
|
-
var styles_module_default32 = { "DraggableComponent": "
|
71263
|
+
var styles_module_default32 = { "DraggableComponent": "_DraggableComponent_1vpvt_1", "DraggableComponent--isDragging": "_DraggableComponent--isDragging_1vpvt_10", "DraggableComponent-contents": "_DraggableComponent-contents_1vpvt_16", "DraggableComponent-overlay": "_DraggableComponent-overlay_1vpvt_29", "DraggableComponent-loadingOverlay": "_DraggableComponent-loadingOverlay_1vpvt_42", "DraggableComponent--isLocked": "_DraggableComponent--isLocked_1vpvt_58", "DraggableComponent--forceHover": "_DraggableComponent--forceHover_1vpvt_64", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_1vpvt_69", "DraggableComponent--indicativeHover": "_DraggableComponent--indicativeHover_1vpvt_74", "DraggableComponent-actions": "_DraggableComponent-actions_1vpvt_100", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_1vpvt_125", "DraggableComponent-action": "_DraggableComponent-action_1vpvt_100" };
|
71264
71264
|
init_react_import2();
|
71265
71265
|
init_react_import2();
|
71266
71266
|
var import_react42 = require("react");
|
@@ -71537,7 +71537,7 @@ var require_dist = __commonJS({
|
|
71537
71537
|
return __spreadProps2(__spreadValues2({}, item), { props: dynamicProps[item.props.id] || item.props });
|
71538
71538
|
};
|
71539
71539
|
init_react_import2();
|
71540
|
-
var styles_module_default42 = { "DropZone": "
|
71540
|
+
var styles_module_default42 = { "DropZone": "_DropZone_utidm_1", "DropZone--zoomEnabled": "_DropZone--zoomEnabled_utidm_10", "DropZone-renderWrapper": "_DropZone-renderWrapper_utidm_14", "DropZone-content": "_DropZone-content_utidm_18", "DropZone--userIsDragging": "_DropZone--userIsDragging_utidm_23", "DropZone--draggingOverArea": "_DropZone--draggingOverArea_utidm_27", "DropZone--draggingNewComponent": "_DropZone--draggingNewComponent_utidm_28", "DropZone--isAreaSelected": "_DropZone--isAreaSelected_utidm_34", "DropZone--hoveringOverArea": "_DropZone--hoveringOverArea_utidm_35", "DropZone--isDisabled": "_DropZone--isDisabled_utidm_36", "DropZone--isRootZone": "_DropZone--isRootZone_utidm_37", "DropZone--hasChildren": "_DropZone--hasChildren_utidm_43", "DropZone--isDestination": "_DropZone--isDestination_utidm_48", "DropZone-item": "_DropZone-item_utidm_56", "DropZone-hitbox": "_DropZone-hitbox_utidm_60" };
|
71541
71541
|
init_react_import2();
|
71542
71542
|
var import_react72 = require("react");
|
71543
71543
|
var import_use_debounce = (init_index_module(), __toCommonJS(index_module_exports));
|
@@ -71942,7 +71942,7 @@ var require_dist = __commonJS({
|
|
71942
71942
|
{
|
71943
71943
|
"data-puck-placeholder": true,
|
71944
71944
|
style: __spreadProps2(__spreadValues2({}, placeholderStyle), {
|
71945
|
-
background: "var(--puck-color-azure-
|
71945
|
+
background: "var(--puck-color-azure-06)",
|
71946
71946
|
opacity: 0.3,
|
71947
71947
|
zIndex: 0
|
71948
71948
|
})
|
@@ -72000,7 +72000,7 @@ var require_dist = __commonJS({
|
|
72000
72000
|
init_react_import2();
|
72001
72001
|
var import_react102 = require("react");
|
72002
72002
|
init_react_import2();
|
72003
|
-
var IconButton_module_default = { "IconButton": "
|
72003
|
+
var IconButton_module_default = { "IconButton": "_IconButton_1xqlg_1", "IconButton-title": "_IconButton-title_1xqlg_33" };
|
72004
72004
|
var import_react_spinners3 = (init_esm(), __toCommonJS(esm_exports));
|
72005
72005
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
72006
72006
|
var getClassName6 = get_class_name_factory_default2("IconButton", IconButton_module_default);
|
@@ -72105,10 +72105,10 @@ var require_dist = __commonJS({
|
|
72105
72105
|
};
|
72106
72106
|
init_react_import2();
|
72107
72107
|
init_react_import2();
|
72108
|
-
var styles_module_default5 = { "SidebarSection": "
|
72108
|
+
var styles_module_default5 = { "SidebarSection": "_SidebarSection_125qe_1", "SidebarSection-title": "_SidebarSection-title_125qe_12", "SidebarSection--noBorderTop": "_SidebarSection--noBorderTop_125qe_20", "SidebarSection-content": "_SidebarSection-content_125qe_24", "SidebarSection--noPadding": "_SidebarSection--noPadding_125qe_28", "SidebarSection-breadcrumbLabel": "_SidebarSection-breadcrumbLabel_125qe_41", "SidebarSection-breadcrumbs": "_SidebarSection-breadcrumbs_125qe_70", "SidebarSection-breadcrumb": "_SidebarSection-breadcrumb_125qe_41", "SidebarSection-heading": "_SidebarSection-heading_125qe_82", "SidebarSection-loadingOverlay": "_SidebarSection-loadingOverlay_125qe_86" };
|
72109
72109
|
init_react_import2();
|
72110
72110
|
init_react_import2();
|
72111
|
-
var styles_module_default6 = { "Heading": "
|
72111
|
+
var styles_module_default6 = { "Heading": "_Heading_qxrry_1", "Heading--xxxxl": "_Heading--xxxxl_qxrry_12", "Heading--xxxl": "_Heading--xxxl_qxrry_18", "Heading--xxl": "_Heading--xxl_qxrry_22", "Heading--xl": "_Heading--xl_qxrry_26", "Heading--l": "_Heading--l_qxrry_30", "Heading--m": "_Heading--m_qxrry_34", "Heading--s": "_Heading--s_qxrry_38", "Heading--xs": "_Heading--xs_qxrry_42" };
|
72112
72112
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
72113
72113
|
var getClassName7 = get_class_name_factory_default2("Heading", styles_module_default6);
|
72114
72114
|
var Heading2 = ({ children, rank, size = "m" }) => {
|
@@ -72210,7 +72210,7 @@ var require_dist = __commonJS({
|
|
72210
72210
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: getClassName8("title"), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: getClassName8("breadcrumbs"), children: [
|
72211
72211
|
showBreadcrumbs ? breadcrumbs.map((breadcrumb, i2) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: getClassName8("breadcrumb"), children: [
|
72212
72212
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
72213
|
-
"
|
72213
|
+
"button",
|
72214
72214
|
{
|
72215
72215
|
className: getClassName8("breadcrumbLabel"),
|
72216
72216
|
onClick: () => setUi({ itemSelector: breadcrumb.selector }),
|
@@ -72760,7 +72760,7 @@ var require_dist = __commonJS({
|
|
72760
72760
|
};
|
72761
72761
|
init_react_import2();
|
72762
72762
|
init_react_import2();
|
72763
|
-
var styles_module_default7 = { "MenuBar": "
|
72763
|
+
var styles_module_default7 = { "MenuBar": "_MenuBar_8pf8c_1", "MenuBar--menuOpen": "_MenuBar--menuOpen_8pf8c_14", "MenuBar-inner": "_MenuBar-inner_8pf8c_29", "MenuBar-history": "_MenuBar-history_8pf8c_45" };
|
72764
72764
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
72765
72765
|
var getClassName9 = get_class_name_factory_default2("MenuBar", styles_module_default7);
|
72766
72766
|
var MenuBar = ({
|
@@ -72796,14 +72796,14 @@ var require_dist = __commonJS({
|
|
72796
72796
|
ChevronLeft,
|
72797
72797
|
{
|
72798
72798
|
size: 21,
|
72799
|
-
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-
|
72799
|
+
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-08)"
|
72800
72800
|
}
|
72801
72801
|
) }),
|
72802
72802
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "redo", disabled: !hasFuture, onClick: forward, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
72803
72803
|
ChevronRight2,
|
72804
72804
|
{
|
72805
72805
|
size: 21,
|
72806
|
-
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-
|
72806
|
+
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-08)"
|
72807
72807
|
}
|
72808
72808
|
) })
|
72809
72809
|
] }),
|
@@ -72826,17 +72826,17 @@ var require_dist = __commonJS({
|
|
72826
72826
|
);
|
72827
72827
|
};
|
72828
72828
|
init_react_import2();
|
72829
|
-
var styles_module_default8 = { "Puck": "
|
72829
|
+
var styles_module_default8 = { "Puck": "_Puck_1mnww_19", "Puck--leftSideBarVisible": "_Puck--leftSideBarVisible_1mnww_36", "Puck--rightSideBarVisible": "_Puck--rightSideBarVisible_1mnww_42", "Puck-header": "_Puck-header_1mnww_96", "Puck-headerInner": "_Puck-headerInner_1mnww_105", "Puck-headerToggle": "_Puck-headerToggle_1mnww_115", "Puck-rightSideBarToggle": "_Puck-rightSideBarToggle_1mnww_122", "Puck-leftSideBarToggle": "_Puck-leftSideBarToggle_1mnww_123", "Puck-headerTitle": "_Puck-headerTitle_1mnww_127", "Puck-headerPath": "_Puck-headerPath_1mnww_131", "Puck-headerTools": "_Puck-headerTools_1mnww_138", "Puck-menuButton": "_Puck-menuButton_1mnww_144", "Puck--menuOpen": "_Puck--menuOpen_1mnww_149", "Puck-leftSideBar": "_Puck-leftSideBar_1mnww_123", "Puck-frame": "_Puck-frame_1mnww_168", "Puck-root": "_Puck-root_1mnww_176", "Puck-rightSideBar": "_Puck-rightSideBar_1mnww_122" };
|
72830
72830
|
init_react_import2();
|
72831
72831
|
var import_react_spinners6 = (init_esm(), __toCommonJS(esm_exports));
|
72832
72832
|
init_react_import2();
|
72833
72833
|
init_react_import2();
|
72834
|
-
var styles_module_default9 = { "Input": "
|
72834
|
+
var styles_module_default9 = { "Input": "_Input_3msty_1", "Input-label": "_Input-label_3msty_26", "Input-labelIcon": "_Input-labelIcon_3msty_34", "Input-disabledIcon": "_Input-disabledIcon_3msty_40", "Input-input": "_Input-input_3msty_45", "Input--readOnly": "_Input--readOnly_3msty_89", "Input-radioGroupItems": "_Input-radioGroupItems_3msty_100", "Input-radio": "_Input-radio_3msty_100", "Input-radioInner": "_Input-radioInner_3msty_117", "Input-radioInput": "_Input-radioInput_3msty_162" };
|
72835
72835
|
var import_react18 = require("react");
|
72836
72836
|
init_react_import2();
|
72837
72837
|
init_react_import2();
|
72838
72838
|
init_react_import2();
|
72839
|
-
var styles_module_default10 = { "ArrayField": "
|
72839
|
+
var styles_module_default10 = { "ArrayField": "_ArrayField_1txra_5", "ArrayField--isDraggingFrom": "_ArrayField--isDraggingFrom_1txra_13", "ArrayField-addButton": "_ArrayField-addButton_1txra_17", "ArrayField--hasItems": "_ArrayField--hasItems_1txra_32", "ArrayFieldItem": "_ArrayFieldItem_1txra_61", "ArrayFieldItem--isDragging": "_ArrayFieldItem--isDragging_1txra_69", "ArrayFieldItem--isExpanded": "_ArrayFieldItem--isExpanded_1txra_74", "ArrayFieldItem-summary": "_ArrayFieldItem-summary_1txra_84", "ArrayFieldItem--readOnly": "_ArrayFieldItem--readOnly_1txra_108", "ArrayFieldItem-body": "_ArrayFieldItem-body_1txra_142", "ArrayFieldItem-fieldset": "_ArrayFieldItem-fieldset_1txra_150", "ArrayFieldItem-rhs": "_ArrayFieldItem-rhs_1txra_157", "ArrayFieldItem-actions": "_ArrayFieldItem-actions_1txra_163" };
|
72840
72840
|
var import_dnd5 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
72841
72841
|
var import_dnd6 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
72842
72842
|
var import_react14 = require("react");
|
@@ -73124,6 +73124,7 @@ var require_dist = __commonJS({
|
|
73124
73124
|
}
|
73125
73125
|
},
|
73126
73126
|
readOnly,
|
73127
|
+
tabIndex: readOnly ? -1 : void 0,
|
73127
73128
|
id,
|
73128
73129
|
min: field.type === "number" ? field.min : void 0,
|
73129
73130
|
max: field.type === "number" ? field.max : void 0
|
@@ -73137,11 +73138,11 @@ var require_dist = __commonJS({
|
|
73137
73138
|
init_react_import2();
|
73138
73139
|
var import_react16 = require("react");
|
73139
73140
|
init_react_import2();
|
73140
|
-
var styles_module_default11 = { "ExternalInput
|
73141
|
+
var styles_module_default11 = { "ExternalInput-actions": "_ExternalInput-actions_oqtaj_1", "ExternalInput-button": "_ExternalInput-button_oqtaj_5", "ExternalInput--dataSelected": "_ExternalInput--dataSelected_oqtaj_25", "ExternalInput-detachButton": "_ExternalInput-detachButton_oqtaj_32", "ExternalInputModal": "_ExternalInputModal_oqtaj_74", "ExternalInputModal-masthead": "_ExternalInputModal-masthead_oqtaj_82", "ExternalInputModal-tableWrapper": "_ExternalInputModal-tableWrapper_oqtaj_90", "ExternalInputModal-table": "_ExternalInputModal-table_oqtaj_90", "ExternalInputModal-thead": "_ExternalInputModal-thead_oqtaj_106", "ExternalInputModal-th": "_ExternalInputModal-th_oqtaj_106", "ExternalInputModal-td": "_ExternalInputModal-td_oqtaj_120", "ExternalInputModal-tr": "_ExternalInputModal-tr_oqtaj_124", "ExternalInputModal-tbody": "_ExternalInputModal-tbody_oqtaj_137", "ExternalInputModal--hasData": "_ExternalInputModal--hasData_oqtaj_157", "ExternalInputModal-loadingBanner": "_ExternalInputModal-loadingBanner_oqtaj_161", "ExternalInputModal--isLoading": "_ExternalInputModal--isLoading_oqtaj_174", "ExternalInputModal-noContentBanner": "_ExternalInputModal-noContentBanner_oqtaj_178", "ExternalInputModal--loaded": "_ExternalInputModal--loaded_oqtaj_185", "ExternalInputModal-searchForm": "_ExternalInputModal-searchForm_oqtaj_190", "ExternalInputModal-search": "_ExternalInputModal-search_oqtaj_190", "ExternalInputModal-searchIcon": "_ExternalInputModal-searchIcon_oqtaj_221", "ExternalInputModal-searchIconText": "_ExternalInputModal-searchIconText_oqtaj_246", "ExternalInputModal-searchInput": "_ExternalInputModal-searchInput_oqtaj_256" };
|
73141
73142
|
init_react_import2();
|
73142
73143
|
var import_react15 = require("react");
|
73143
73144
|
init_react_import2();
|
73144
|
-
var styles_module_default12 = { "Modal": "
|
73145
|
+
var styles_module_default12 = { "Modal": "_Modal_1yh4j_1", "Modal--isOpen": "_Modal--isOpen_1yh4j_15", "Modal-inner": "_Modal-inner_1yh4j_19" };
|
73145
73146
|
var import_react_dom3 = __toESM2(require_react_dom2());
|
73146
73147
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
73147
73148
|
var getClassName12 = get_class_name_factory_default2("Modal", styles_module_default12);
|
@@ -73503,6 +73504,7 @@ var require_dist = __commonJS({
|
|
73503
73504
|
value: typeof value === "undefined" ? "" : value,
|
73504
73505
|
onChange: (e2) => onChange(e2.currentTarget.value),
|
73505
73506
|
readOnly,
|
73507
|
+
tabIndex: readOnly ? -1 : void 0,
|
73506
73508
|
rows: 5
|
73507
73509
|
}
|
73508
73510
|
)
|
@@ -73512,7 +73514,7 @@ var require_dist = __commonJS({
|
|
73512
73514
|
var import_use_debounce2 = (init_index_module(), __toCommonJS(index_module_exports));
|
73513
73515
|
init_react_import2();
|
73514
73516
|
init_react_import2();
|
73515
|
-
var styles_module_default13 = { "ObjectField": "
|
73517
|
+
var styles_module_default13 = { "ObjectField": "_ObjectField_15j63_5", "ObjectField-fieldset": "_ObjectField-fieldset_15j63_13" };
|
73516
73518
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
73517
73519
|
var getClassName17 = get_class_name_factory_default2("ObjectField", styles_module_default13);
|
73518
73520
|
var getClassNameItem3 = get_class_name_factory_default2("ObjectFieldItem", styles_module_default13);
|
@@ -73670,7 +73672,7 @@ var require_dist = __commonJS({
|
|
73670
73672
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Render2, __spreadProps2(__spreadValues2({}, mergedProps), { children }));
|
73671
73673
|
};
|
73672
73674
|
init_react_import2();
|
73673
|
-
var styles_module_default14 = { "PuckFields": "
|
73675
|
+
var styles_module_default14 = { "PuckFields": "_PuckFields_17k3p_1", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_17k3p_6" };
|
73674
73676
|
var import_react19 = require("react");
|
73675
73677
|
var import_jsx_runtime222 = require("react/jsx-runtime");
|
73676
73678
|
var getClassName19 = get_class_name_factory_default2("PuckFields", styles_module_default14);
|
@@ -73817,7 +73819,7 @@ var require_dist = __commonJS({
|
|
73817
73819
|
var import_react20 = require("react");
|
73818
73820
|
init_react_import2();
|
73819
73821
|
init_react_import2();
|
73820
|
-
var styles_module_default15 = { "ComponentList": "
|
73822
|
+
var styles_module_default15 = { "ComponentList": "_ComponentList_odh9d_1", "ComponentList--isExpanded": "_ComponentList--isExpanded_odh9d_5", "ComponentList-content": "_ComponentList-content_odh9d_9", "ComponentList-title": "_ComponentList-title_odh9d_17", "ComponentList-titleIcon": "_ComponentList-titleIcon_odh9d_53" };
|
73821
73823
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
73822
73824
|
var getClassName20 = get_class_name_factory_default2("ComponentList", styles_module_default15);
|
73823
73825
|
var ComponentListItem = ({
|
@@ -73836,7 +73838,7 @@ var require_dist = __commonJS({
|
|
73836
73838
|
const { expanded = true } = state.ui.componentList[id] || {};
|
73837
73839
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: getClassName20({ isExpanded: expanded }), children: [
|
73838
73840
|
title && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
73839
|
-
"
|
73841
|
+
"button",
|
73840
73842
|
{
|
73841
73843
|
className: getClassName20("title"),
|
73842
73844
|
onClick: () => setUi({
|
@@ -73982,7 +73984,7 @@ var require_dist = __commonJS({
|
|
73982
73984
|
};
|
73983
73985
|
init_react_import2();
|
73984
73986
|
init_react_import2();
|
73985
|
-
var styles_module_default16 = { "LayerTree": "
|
73987
|
+
var styles_module_default16 = { "LayerTree": "_LayerTree_1pgw8_1", "LayerTree-zoneTitle": "_LayerTree-zoneTitle_1pgw8_11", "LayerTree-helper": "_LayerTree-helper_1pgw8_17", "Layer": "_Layer_1pgw8_1", "Layer-inner": "_Layer-inner_1pgw8_29", "Layer--containsZone": "_Layer--containsZone_1pgw8_35", "Layer-clickable": "_Layer-clickable_1pgw8_39", "Layer--isSelected": "_Layer--isSelected_1pgw8_61", "Layer-chevron": "_Layer-chevron_1pgw8_77", "Layer--childIsSelected": "_Layer--childIsSelected_1pgw8_78", "Layer-zones": "_Layer-zones_1pgw8_82", "Layer-title": "_Layer-title_1pgw8_96", "Layer-name": "_Layer-name_1pgw8_105", "Layer-icon": "_Layer-icon_1pgw8_111", "Layer-zoneIcon": "_Layer-zoneIcon_1pgw8_116" };
|
73986
73988
|
init_react_import2();
|
73987
73989
|
var scrollIntoView2 = (el) => {
|
73988
73990
|
const oldStyle = __spreadValues2({}, el.style);
|
@@ -74048,7 +74050,7 @@ var require_dist = __commonJS({
|
|
74048
74050
|
}),
|
74049
74051
|
children: [
|
74050
74052
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("inner"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
74051
|
-
"
|
74053
|
+
"button",
|
74052
74054
|
{
|
74053
74055
|
className: getClassNameLayer("clickable"),
|
74054
74056
|
onClick: () => {
|
@@ -74609,7 +74611,7 @@ var require_dist = __commonJS({
|
|
74609
74611
|
"div",
|
74610
74612
|
{
|
74611
74613
|
style: {
|
74612
|
-
background: "var(--puck-color-grey-
|
74614
|
+
background: "var(--puck-color-grey-11)",
|
74613
74615
|
height: "100%",
|
74614
74616
|
flexGrow: 1
|
74615
74617
|
}
|
@@ -74822,7 +74824,7 @@ init_react_import();
|
|
74822
74824
|
|
74823
74825
|
// css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
|
74824
74826
|
init_react_import();
|
74825
|
-
var styles_module_default = { "SidebarSection": "
|
74827
|
+
var styles_module_default = { "SidebarSection": "_SidebarSection_125qe_1", "SidebarSection-title": "_SidebarSection-title_125qe_12", "SidebarSection--noBorderTop": "_SidebarSection--noBorderTop_125qe_20", "SidebarSection-content": "_SidebarSection-content_125qe_24", "SidebarSection--noPadding": "_SidebarSection--noPadding_125qe_28", "SidebarSection-breadcrumbLabel": "_SidebarSection-breadcrumbLabel_125qe_41", "SidebarSection-breadcrumbs": "_SidebarSection-breadcrumbs_125qe_70", "SidebarSection-breadcrumb": "_SidebarSection-breadcrumb_125qe_41", "SidebarSection-heading": "_SidebarSection-heading_125qe_82", "SidebarSection-loadingOverlay": "_SidebarSection-loadingOverlay_125qe_86" };
|
74826
74828
|
|
74827
74829
|
// ../core/lib/get-class-name-factory.ts
|
74828
74830
|
init_react_import();
|
@@ -74861,7 +74863,7 @@ init_react_import();
|
|
74861
74863
|
|
74862
74864
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css#css-module
|
74863
74865
|
init_react_import();
|
74864
|
-
var styles_module_default2 = { "Heading": "
|
74866
|
+
var styles_module_default2 = { "Heading": "_Heading_qxrry_1", "Heading--xxxxl": "_Heading--xxxxl_qxrry_12", "Heading--xxxl": "_Heading--xxxl_qxrry_18", "Heading--xxl": "_Heading--xxl_qxrry_22", "Heading--xl": "_Heading--xl_qxrry_26", "Heading--l": "_Heading--l_qxrry_30", "Heading--m": "_Heading--m_qxrry_34", "Heading--s": "_Heading--s_qxrry_38", "Heading--xs": "_Heading--xs_qxrry_42" };
|
74865
74867
|
|
74866
74868
|
// ../core/components/Heading/index.tsx
|
74867
74869
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
@@ -75117,7 +75119,7 @@ var SidebarSection = ({
|
|
75117
75119
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: getClassName2("title"), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: getClassName2("breadcrumbs"), children: [
|
75118
75120
|
showBreadcrumbs ? breadcrumbs.map((breadcrumb, i2) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: getClassName2("breadcrumb"), children: [
|
75119
75121
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
75120
|
-
"
|
75122
|
+
"button",
|
75121
75123
|
{
|
75122
75124
|
className: getClassName2("breadcrumbLabel"),
|
75123
75125
|
onClick: () => setUi({ itemSelector: breadcrumb.selector }),
|
@@ -75140,7 +75142,7 @@ init_react_import();
|
|
75140
75142
|
|
75141
75143
|
// css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css#css-module
|
75142
75144
|
init_react_import();
|
75143
|
-
var styles_module_default3 = { "OutlineList": "
|
75145
|
+
var styles_module_default3 = { "OutlineList": "_OutlineList_18bgy_1", "OutlineListItem": "_OutlineListItem_18bgy_20", "OutlineListItem--clickable": "_OutlineListItem--clickable_18bgy_35" };
|
75144
75146
|
|
75145
75147
|
// ../core/components/OutlineList/index.tsx
|
75146
75148
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
@@ -75263,7 +75265,7 @@ var HeadingAnalyzer = () => {
|
|
75263
75265
|
const oldStyle = __spreadValues({}, el.style);
|
75264
75266
|
if (el) {
|
75265
75267
|
scrollIntoView(el);
|
75266
|
-
el.style.outline = "4px solid var(--puck-color-rose-
|
75268
|
+
el.style.outline = "4px solid var(--puck-color-rose-06)";
|
75267
75269
|
el.style.outlineOffset = "4px";
|
75268
75270
|
setTimeout(() => {
|
75269
75271
|
el.style.outline = oldStyle.outline || "";
|
@@ -75271,7 +75273,7 @@ var HeadingAnalyzer = () => {
|
|
75271
75273
|
}, 2e3);
|
75272
75274
|
}
|
75273
75275
|
},
|
75274
|
-
children: props.missing ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { style: { color: "var(--puck-color-red)" }, children: [
|
75276
|
+
children: props.missing ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { style: { color: "var(--puck-color-red-04)" }, children: [
|
75275
75277
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("b", { children: [
|
75276
75278
|
"H",
|
75277
75279
|
props.rank
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.14.0-canary.
|
3
|
+
"version": "0.14.0-canary.f975d87",
|
4
4
|
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"dist"
|
19
19
|
],
|
20
20
|
"devDependencies": {
|
21
|
-
"@measured/puck": "^0.14.0-canary.
|
21
|
+
"@measured/puck": "^0.14.0-canary.f975d87",
|
22
22
|
"@types/react": "^18.2.0",
|
23
23
|
"@types/react-dom": "^18.2.0",
|
24
24
|
"eslint": "^7.32.0",
|