@measured/puck-plugin-heading-analyzer 0.20.1-canary.d7404af9 → 0.20.1
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 +44 -44
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +2 -2
package/dist/index.css
CHANGED
@@ -1,51 +1,51 @@
|
|
1
1
|
/* css-module:/home/runner/work/puck/puck/packages/plugin-heading-analyzer/src/HeadingAnalyzer.module.css/#css-module-data */
|
2
|
-
.
|
2
|
+
._HeadingAnalyzer_116v6_1 {
|
3
3
|
display: block;
|
4
4
|
}
|
5
|
-
.
|
5
|
+
._HeadingAnalyzer-cssWarning_116v6_5 {
|
6
6
|
display: none !important;
|
7
7
|
}
|
8
|
-
.
|
8
|
+
._HeadingAnalyzerItem_116v6_9 {
|
9
9
|
display: inline;
|
10
10
|
}
|
11
|
-
.
|
11
|
+
._HeadingAnalyzerItem--missing_116v6_13 {
|
12
12
|
color: var(--puck-color-red-04);
|
13
13
|
}
|
14
14
|
|
15
15
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
16
|
-
.
|
16
|
+
._SidebarSection_8boj8_1 {
|
17
17
|
display: flex;
|
18
18
|
position: relative;
|
19
19
|
flex-direction: column;
|
20
20
|
color: var(--puck-color-black);
|
21
21
|
}
|
22
|
-
.
|
22
|
+
._SidebarSection_8boj8_1:last-of-type {
|
23
23
|
flex-grow: 1;
|
24
24
|
}
|
25
|
-
.
|
25
|
+
._SidebarSection-title_8boj8_12 {
|
26
26
|
background: var(--puck-color-white);
|
27
27
|
padding: 16px;
|
28
28
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
29
29
|
border-top: 1px solid var(--puck-color-grey-09);
|
30
30
|
overflow-x: auto;
|
31
31
|
}
|
32
|
-
.
|
32
|
+
._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
|
33
33
|
border-top: 0px;
|
34
34
|
}
|
35
|
-
.
|
35
|
+
._SidebarSection-content_8boj8_24 {
|
36
36
|
padding: 16px;
|
37
37
|
}
|
38
|
-
.
|
38
|
+
._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
|
39
39
|
padding: 0px;
|
40
40
|
}
|
41
|
-
.
|
41
|
+
._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
|
42
42
|
padding-bottom: 4px;
|
43
43
|
}
|
44
|
-
.
|
44
|
+
._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
|
45
45
|
border-bottom: none;
|
46
46
|
flex-grow: 1;
|
47
47
|
}
|
48
|
-
.
|
48
|
+
._SidebarSection-breadcrumbLabel_8boj8_41 {
|
49
49
|
background: none;
|
50
50
|
border: 0;
|
51
51
|
border-radius: 2px;
|
@@ -56,34 +56,34 @@
|
|
56
56
|
padding: 0;
|
57
57
|
transition: color 50ms ease-in;
|
58
58
|
}
|
59
|
-
.
|
59
|
+
._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
|
60
60
|
outline: 2px solid var(--puck-color-azure-05);
|
61
61
|
outline-offset: 2px;
|
62
62
|
}
|
63
63
|
@media (hover: hover) and (pointer: fine) {
|
64
|
-
.
|
64
|
+
._SidebarSection-breadcrumbLabel_8boj8_41:hover {
|
65
65
|
color: var(--puck-color-azure-03);
|
66
66
|
transition: none;
|
67
67
|
}
|
68
68
|
}
|
69
|
-
.
|
69
|
+
._SidebarSection-breadcrumbLabel_8boj8_41:active {
|
70
70
|
color: var(--puck-color-azure-02);
|
71
71
|
transition: none;
|
72
72
|
}
|
73
|
-
.
|
73
|
+
._SidebarSection-breadcrumbs_8boj8_70 {
|
74
74
|
align-items: center;
|
75
75
|
display: flex;
|
76
76
|
gap: 4px;
|
77
77
|
}
|
78
|
-
.
|
78
|
+
._SidebarSection-breadcrumb_8boj8_41 {
|
79
79
|
align-items: center;
|
80
80
|
display: flex;
|
81
81
|
gap: 4px;
|
82
82
|
}
|
83
|
-
.
|
83
|
+
._SidebarSection-heading_8boj8_82 {
|
84
84
|
padding-inline-end: 16px;
|
85
85
|
}
|
86
|
-
.
|
86
|
+
._SidebarSection-loadingOverlay_8boj8_86 {
|
87
87
|
background: var(--puck-color-white);
|
88
88
|
display: flex;
|
89
89
|
justify-content: center;
|
@@ -99,44 +99,44 @@
|
|
99
99
|
}
|
100
100
|
|
101
101
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css/#css-module-data */
|
102
|
-
.
|
102
|
+
._Heading_qxrry_1 {
|
103
103
|
display: block;
|
104
104
|
color: var(--puck-color-black);
|
105
105
|
font-weight: 700;
|
106
106
|
margin: 0;
|
107
107
|
}
|
108
|
-
.
|
108
|
+
._Heading_qxrry_1 b {
|
109
109
|
font-weight: 700;
|
110
110
|
}
|
111
|
-
.
|
111
|
+
._Heading--xxxxl_qxrry_12 {
|
112
112
|
font-size: var(--puck-font-size-xxxxl);
|
113
113
|
letter-spacing: 0.08ch;
|
114
114
|
font-weight: 800;
|
115
115
|
}
|
116
|
-
.
|
116
|
+
._Heading--xxxl_qxrry_18 {
|
117
117
|
font-size: var(--puck-font-size-xxxl);
|
118
118
|
}
|
119
|
-
.
|
119
|
+
._Heading--xxl_qxrry_22 {
|
120
120
|
font-size: var(--puck-font-size-xxl);
|
121
121
|
}
|
122
|
-
.
|
122
|
+
._Heading--xl_qxrry_26 {
|
123
123
|
font-size: var(--puck-font-size-xl);
|
124
124
|
}
|
125
|
-
.
|
125
|
+
._Heading--l_qxrry_30 {
|
126
126
|
font-size: var(--puck-font-size-l);
|
127
127
|
}
|
128
|
-
.
|
128
|
+
._Heading--m_qxrry_34 {
|
129
129
|
font-size: var(--puck-font-size-m);
|
130
130
|
}
|
131
|
-
.
|
131
|
+
._Heading--s_qxrry_38 {
|
132
132
|
font-size: var(--puck-font-size-s);
|
133
133
|
}
|
134
|
-
.
|
134
|
+
._Heading--xs_qxrry_42 {
|
135
135
|
font-size: var(--puck-font-size-xs);
|
136
136
|
}
|
137
137
|
|
138
138
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Loader/styles.module.css/#css-module-data */
|
139
|
-
@keyframes
|
139
|
+
@keyframes _loader-animation_nacdm_1 {
|
140
140
|
0% {
|
141
141
|
transform: rotate(0deg) scale(1);
|
142
142
|
}
|
@@ -147,18 +147,18 @@
|
|
147
147
|
transform: rotate(360deg) scale(1);
|
148
148
|
}
|
149
149
|
}
|
150
|
-
.
|
150
|
+
._Loader_nacdm_13 {
|
151
151
|
background: transparent;
|
152
152
|
border-radius: 100%;
|
153
153
|
border: 2px solid currentColor;
|
154
154
|
border-bottom-color: transparent;
|
155
155
|
display: inline-block;
|
156
|
-
animation:
|
156
|
+
animation: _loader-animation_nacdm_1 1s 0s infinite linear;
|
157
157
|
animation-fill-mode: both;
|
158
158
|
}
|
159
159
|
|
160
160
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css/#css-module-data */
|
161
|
-
.
|
161
|
+
._OutlineList_w4lzv_1 {
|
162
162
|
color: var(--puck-color-grey-03);
|
163
163
|
font-family: var(--puck-font-family);
|
164
164
|
margin: 0;
|
@@ -166,7 +166,7 @@
|
|
166
166
|
position: relative;
|
167
167
|
list-style: none;
|
168
168
|
}
|
169
|
-
.
|
169
|
+
._OutlineList_w4lzv_1::before {
|
170
170
|
background: var(--puck-color-grey-08);
|
171
171
|
position: absolute;
|
172
172
|
left: -1px;
|
@@ -175,15 +175,15 @@
|
|
175
175
|
height: calc(100% - 9px);
|
176
176
|
content: "";
|
177
177
|
}
|
178
|
-
.
|
178
|
+
._OutlineList_w4lzv_1:dir(rtl)::before {
|
179
179
|
left: unset;
|
180
180
|
right: -1px;
|
181
181
|
}
|
182
|
-
.
|
182
|
+
._OutlineListItem_w4lzv_25 {
|
183
183
|
position: relative;
|
184
184
|
margin-bottom: 4px;
|
185
185
|
}
|
186
|
-
.
|
186
|
+
._OutlineListItem_w4lzv_25::before {
|
187
187
|
background: var(--puck-color-grey-08);
|
188
188
|
position: absolute;
|
189
189
|
left: -17px;
|
@@ -192,28 +192,28 @@
|
|
192
192
|
height: 1px;
|
193
193
|
content: "";
|
194
194
|
}
|
195
|
-
.
|
195
|
+
._OutlineListItem_w4lzv_25:dir(rtl)::before {
|
196
196
|
left: unset;
|
197
197
|
right: -17px;
|
198
198
|
}
|
199
|
-
.
|
199
|
+
._OutlineListItem--clickable_w4lzv_45 {
|
200
200
|
cursor: pointer;
|
201
201
|
transition: color 50ms ease-in;
|
202
202
|
}
|
203
|
-
.
|
203
|
+
._OutlineListItem--clickable_w4lzv_45:focus-visible {
|
204
204
|
outline: 2px solid var(--puck-color-azure-05);
|
205
205
|
outline-offset: 2px;
|
206
206
|
}
|
207
207
|
@media (hover: hover) and (pointer: fine) {
|
208
|
-
.
|
208
|
+
._OutlineListItem--clickable_w4lzv_45:hover {
|
209
209
|
color: var(--puck-color-azure-04);
|
210
210
|
transition: none;
|
211
211
|
}
|
212
212
|
}
|
213
|
-
.
|
213
|
+
._OutlineListItem--clickable_w4lzv_45:active {
|
214
214
|
color: var(--puck-color-azure-03);
|
215
215
|
transition: none;
|
216
216
|
}
|
217
|
-
.
|
217
|
+
._OutlineListItem_w4lzv_25 > ._OutlineList_w4lzv_1 {
|
218
218
|
margin: 8px 0;
|
219
219
|
}
|
package/dist/index.d.mts
CHANGED
@@ -72,7 +72,7 @@ type Adaptor<AdaptorParams = {}, TableShape extends Record<string, any> = {}, Pr
|
|
72
72
|
fetchList: (adaptorParams?: AdaptorParams) => Promise<TableShape[] | null>;
|
73
73
|
mapProp?: (value: TableShape) => PropShape;
|
74
74
|
};
|
75
|
-
type NotUndefined<T> = T extends undefined ?
|
75
|
+
type NotUndefined<T> = T extends undefined ? never : T;
|
76
76
|
type ExternalFieldWithAdaptor<Props extends any = {
|
77
77
|
[key: string]: any;
|
78
78
|
}> = BaseField & {
|
@@ -122,7 +122,7 @@ type SlotField = BaseField & {
|
|
122
122
|
};
|
123
123
|
type Field<ValueType = any, UserField extends {} = {}> = TextField | NumberField | TextareaField | SelectField | RadioField | ArrayField<ValueType extends {
|
124
124
|
[key: string]: any;
|
125
|
-
}[] ? ValueType :
|
125
|
+
}[] ? ValueType : never, UserField> | ObjectField<ValueType, UserField> | ExternalField<ValueType> | ExternalFieldWithAdaptor<ValueType> | CustomField<ValueType> | SlotField;
|
126
126
|
type Fields<ComponentProps extends DefaultComponentProps = DefaultComponentProps, UserField extends {} = {}> = {
|
127
127
|
[PropName in keyof Omit<ComponentProps, "editMode">]: UserField extends {
|
128
128
|
type: PropertyKey;
|
@@ -249,7 +249,7 @@ type ConfigInternal<Props extends DefaultComponents = DefaultComponents, RootPro
|
|
249
249
|
root?: RootConfigInternal<RootProps, UserField>;
|
250
250
|
};
|
251
251
|
type DefaultComponents = Record<string, any>;
|
252
|
-
type Config<PropsOrParams extends LeftOrExactRight<PropsOrParams, DefaultComponents, ConfigParams> = DefaultComponents | ConfigParams, RootProps extends DefaultComponentProps =
|
252
|
+
type Config<PropsOrParams extends LeftOrExactRight<PropsOrParams, DefaultComponents, ConfigParams> = DefaultComponents | ConfigParams, RootProps extends DefaultComponentProps = any, CategoryName extends string = string> = PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, never> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number]> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, infer ParamFields> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], ParamFields[keyof ParamFields] & BaseField> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, any> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], {}> : ConfigInternal<PropsOrParams, RootProps, CategoryName>;
|
253
253
|
type ExtractConfigParams<UserConfig extends ConfigInternal> = UserConfig extends ConfigInternal<infer PropsOrParams, infer RootProps, infer CategoryName, infer UserField> ? {
|
254
254
|
props: PropsOrParams;
|
255
255
|
rootProps: RootProps & DefaultRootFieldProps;
|
@@ -365,7 +365,7 @@ type BuiltinTypes = Date | RegExp | Error | Function | symbol | null | undefined
|
|
365
365
|
type WithDeepSlots<T, SlotType = T> = T extends Slot ? SlotType : T extends (infer U)[] ? Array<WithDeepSlots<U, SlotType>> : T extends (infer U)[] ? WithDeepSlots<U, SlotType>[] : T extends BuiltinTypes ? T : T extends object ? {
|
366
366
|
[K in keyof T]: WithDeepSlots<T[K], SlotType>;
|
367
367
|
} : T;
|
368
|
-
type ConfigParams<Components extends DefaultComponents = DefaultComponents, RootProps extends DefaultComponentProps =
|
368
|
+
type ConfigParams<Components extends DefaultComponents = DefaultComponents, RootProps extends DefaultComponentProps = any, CategoryNames extends string[] = string[], UserFields extends FieldsExtension = FieldsExtension> = {
|
369
369
|
components?: Components;
|
370
370
|
root?: RootProps;
|
371
371
|
categories?: CategoryNames;
|
package/dist/index.d.ts
CHANGED
@@ -72,7 +72,7 @@ type Adaptor<AdaptorParams = {}, TableShape extends Record<string, any> = {}, Pr
|
|
72
72
|
fetchList: (adaptorParams?: AdaptorParams) => Promise<TableShape[] | null>;
|
73
73
|
mapProp?: (value: TableShape) => PropShape;
|
74
74
|
};
|
75
|
-
type NotUndefined<T> = T extends undefined ?
|
75
|
+
type NotUndefined<T> = T extends undefined ? never : T;
|
76
76
|
type ExternalFieldWithAdaptor<Props extends any = {
|
77
77
|
[key: string]: any;
|
78
78
|
}> = BaseField & {
|
@@ -122,7 +122,7 @@ type SlotField = BaseField & {
|
|
122
122
|
};
|
123
123
|
type Field<ValueType = any, UserField extends {} = {}> = TextField | NumberField | TextareaField | SelectField | RadioField | ArrayField<ValueType extends {
|
124
124
|
[key: string]: any;
|
125
|
-
}[] ? ValueType :
|
125
|
+
}[] ? ValueType : never, UserField> | ObjectField<ValueType, UserField> | ExternalField<ValueType> | ExternalFieldWithAdaptor<ValueType> | CustomField<ValueType> | SlotField;
|
126
126
|
type Fields<ComponentProps extends DefaultComponentProps = DefaultComponentProps, UserField extends {} = {}> = {
|
127
127
|
[PropName in keyof Omit<ComponentProps, "editMode">]: UserField extends {
|
128
128
|
type: PropertyKey;
|
@@ -249,7 +249,7 @@ type ConfigInternal<Props extends DefaultComponents = DefaultComponents, RootPro
|
|
249
249
|
root?: RootConfigInternal<RootProps, UserField>;
|
250
250
|
};
|
251
251
|
type DefaultComponents = Record<string, any>;
|
252
|
-
type Config<PropsOrParams extends LeftOrExactRight<PropsOrParams, DefaultComponents, ConfigParams> = DefaultComponents | ConfigParams, RootProps extends DefaultComponentProps =
|
252
|
+
type Config<PropsOrParams extends LeftOrExactRight<PropsOrParams, DefaultComponents, ConfigParams> = DefaultComponents | ConfigParams, RootProps extends DefaultComponentProps = any, CategoryName extends string = string> = PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, never> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number]> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, infer ParamFields> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], ParamFields[keyof ParamFields] & BaseField> : PropsOrParams extends ConfigParams<infer ParamComponents, infer ParamRoot, infer ParamCategoryName, any> ? ConfigInternal<ParamComponents, ParamRoot, ParamCategoryName[number], {}> : ConfigInternal<PropsOrParams, RootProps, CategoryName>;
|
253
253
|
type ExtractConfigParams<UserConfig extends ConfigInternal> = UserConfig extends ConfigInternal<infer PropsOrParams, infer RootProps, infer CategoryName, infer UserField> ? {
|
254
254
|
props: PropsOrParams;
|
255
255
|
rootProps: RootProps & DefaultRootFieldProps;
|
@@ -365,7 +365,7 @@ type BuiltinTypes = Date | RegExp | Error | Function | symbol | null | undefined
|
|
365
365
|
type WithDeepSlots<T, SlotType = T> = T extends Slot ? SlotType : T extends (infer U)[] ? Array<WithDeepSlots<U, SlotType>> : T extends (infer U)[] ? WithDeepSlots<U, SlotType>[] : T extends BuiltinTypes ? T : T extends object ? {
|
366
366
|
[K in keyof T]: WithDeepSlots<T[K], SlotType>;
|
367
367
|
} : T;
|
368
|
-
type ConfigParams<Components extends DefaultComponents = DefaultComponents, RootProps extends DefaultComponentProps =
|
368
|
+
type ConfigParams<Components extends DefaultComponents = DefaultComponents, RootProps extends DefaultComponentProps = any, CategoryNames extends string[] = string[], UserFields extends FieldsExtension = FieldsExtension> = {
|
369
369
|
components?: Components;
|
370
370
|
root?: RootProps;
|
371
371
|
categories?: CategoryNames;
|
package/dist/index.js
CHANGED
@@ -317,7 +317,7 @@ var import_react11 = require("react");
|
|
317
317
|
|
318
318
|
// css-module:/home/runner/work/puck/puck/packages/plugin-heading-analyzer/src/HeadingAnalyzer.module.css#css-module
|
319
319
|
init_react_import();
|
320
|
-
var HeadingAnalyzer_module_default = {};
|
320
|
+
var HeadingAnalyzer_module_default = { "HeadingAnalyzer": "_HeadingAnalyzer_116v6_1", "HeadingAnalyzer-cssWarning": "_HeadingAnalyzer-cssWarning_116v6_5", "HeadingAnalyzerItem": "_HeadingAnalyzerItem_116v6_9", "HeadingAnalyzerItem--missing": "_HeadingAnalyzerItem--missing_116v6_13" };
|
321
321
|
|
322
322
|
// src/HeadingAnalyzer.tsx
|
323
323
|
var import_puck = require("@measured/puck");
|
@@ -327,7 +327,7 @@ init_react_import();
|
|
327
327
|
|
328
328
|
// css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
|
329
329
|
init_react_import();
|
330
|
-
var styles_module_default = {};
|
330
|
+
var styles_module_default = { "SidebarSection": "_SidebarSection_8boj8_1", "SidebarSection-title": "_SidebarSection-title_8boj8_12", "SidebarSection--noBorderTop": "_SidebarSection--noBorderTop_8boj8_20", "SidebarSection-content": "_SidebarSection-content_8boj8_24", "SidebarSection--noPadding": "_SidebarSection--noPadding_8boj8_28", "SidebarSection-breadcrumbLabel": "_SidebarSection-breadcrumbLabel_8boj8_41", "SidebarSection-breadcrumbs": "_SidebarSection-breadcrumbs_8boj8_70", "SidebarSection-breadcrumb": "_SidebarSection-breadcrumb_8boj8_41", "SidebarSection-heading": "_SidebarSection-heading_8boj8_82", "SidebarSection-loadingOverlay": "_SidebarSection-loadingOverlay_8boj8_86" };
|
331
331
|
|
332
332
|
// ../core/lib/get-class-name-factory.ts
|
333
333
|
init_react_import();
|
@@ -361,7 +361,7 @@ init_react_import();
|
|
361
361
|
|
362
362
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css#css-module
|
363
363
|
init_react_import();
|
364
|
-
var styles_module_default2 = {};
|
364
|
+
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" };
|
365
365
|
|
366
366
|
// ../core/components/Heading/index.tsx
|
367
367
|
var import_jsx_runtime = require("react/jsx-runtime");
|
@@ -572,7 +572,7 @@ var walkField = ({
|
|
572
572
|
return map({
|
573
573
|
value: mappedContent,
|
574
574
|
parentId: id,
|
575
|
-
propName:
|
575
|
+
propName: propPath,
|
576
576
|
field: fields[propKey],
|
577
577
|
propPath
|
578
578
|
});
|
@@ -2188,7 +2188,7 @@ init_react_import();
|
|
2188
2188
|
|
2189
2189
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Loader/styles.module.css#css-module
|
2190
2190
|
init_react_import();
|
2191
|
-
var styles_module_default3 = {};
|
2191
|
+
var styles_module_default3 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
2192
2192
|
|
2193
2193
|
// ../core/components/Loader/index.tsx
|
2194
2194
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
@@ -2262,7 +2262,7 @@ init_react_import();
|
|
2262
2262
|
|
2263
2263
|
// css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css#css-module
|
2264
2264
|
init_react_import();
|
2265
|
-
var styles_module_default4 = {};
|
2265
|
+
var styles_module_default4 = { "OutlineList": "_OutlineList_w4lzv_1", "OutlineListItem": "_OutlineListItem_w4lzv_25", "OutlineListItem--clickable": "_OutlineListItem--clickable_w4lzv_45" };
|
2266
2266
|
|
2267
2267
|
// ../core/components/OutlineList/index.tsx
|
2268
2268
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
package/dist/index.mjs
CHANGED
@@ -305,7 +305,7 @@ import { useEffect as useEffect5, useState } from "react";
|
|
305
305
|
|
306
306
|
// css-module:/home/runner/work/puck/puck/packages/plugin-heading-analyzer/src/HeadingAnalyzer.module.css#css-module
|
307
307
|
init_react_import();
|
308
|
-
var HeadingAnalyzer_module_default = {};
|
308
|
+
var HeadingAnalyzer_module_default = { "HeadingAnalyzer": "_HeadingAnalyzer_116v6_1", "HeadingAnalyzer-cssWarning": "_HeadingAnalyzer-cssWarning_116v6_5", "HeadingAnalyzerItem": "_HeadingAnalyzerItem_116v6_9", "HeadingAnalyzerItem--missing": "_HeadingAnalyzerItem--missing_116v6_13" };
|
309
309
|
|
310
310
|
// src/HeadingAnalyzer.tsx
|
311
311
|
import { createUsePuck } from "@measured/puck";
|
@@ -315,7 +315,7 @@ init_react_import();
|
|
315
315
|
|
316
316
|
// css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
|
317
317
|
init_react_import();
|
318
|
-
var styles_module_default = {};
|
318
|
+
var styles_module_default = { "SidebarSection": "_SidebarSection_8boj8_1", "SidebarSection-title": "_SidebarSection-title_8boj8_12", "SidebarSection--noBorderTop": "_SidebarSection--noBorderTop_8boj8_20", "SidebarSection-content": "_SidebarSection-content_8boj8_24", "SidebarSection--noPadding": "_SidebarSection--noPadding_8boj8_28", "SidebarSection-breadcrumbLabel": "_SidebarSection-breadcrumbLabel_8boj8_41", "SidebarSection-breadcrumbs": "_SidebarSection-breadcrumbs_8boj8_70", "SidebarSection-breadcrumb": "_SidebarSection-breadcrumb_8boj8_41", "SidebarSection-heading": "_SidebarSection-heading_8boj8_82", "SidebarSection-loadingOverlay": "_SidebarSection-loadingOverlay_8boj8_86" };
|
319
319
|
|
320
320
|
// ../core/lib/get-class-name-factory.ts
|
321
321
|
init_react_import();
|
@@ -349,7 +349,7 @@ init_react_import();
|
|
349
349
|
|
350
350
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css#css-module
|
351
351
|
init_react_import();
|
352
|
-
var styles_module_default2 = {};
|
352
|
+
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" };
|
353
353
|
|
354
354
|
// ../core/components/Heading/index.tsx
|
355
355
|
import { jsx } from "react/jsx-runtime";
|
@@ -560,7 +560,7 @@ var walkField = ({
|
|
560
560
|
return map({
|
561
561
|
value: mappedContent,
|
562
562
|
parentId: id,
|
563
|
-
propName:
|
563
|
+
propName: propPath,
|
564
564
|
field: fields[propKey],
|
565
565
|
propPath
|
566
566
|
});
|
@@ -2176,7 +2176,7 @@ init_react_import();
|
|
2176
2176
|
|
2177
2177
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Loader/styles.module.css#css-module
|
2178
2178
|
init_react_import();
|
2179
|
-
var styles_module_default3 = {};
|
2179
|
+
var styles_module_default3 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
2180
2180
|
|
2181
2181
|
// ../core/components/Loader/index.tsx
|
2182
2182
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
@@ -2250,7 +2250,7 @@ init_react_import();
|
|
2250
2250
|
|
2251
2251
|
// css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css#css-module
|
2252
2252
|
init_react_import();
|
2253
|
-
var styles_module_default4 = {};
|
2253
|
+
var styles_module_default4 = { "OutlineList": "_OutlineList_w4lzv_1", "OutlineListItem": "_OutlineListItem_w4lzv_25", "OutlineListItem--clickable": "_OutlineListItem--clickable_w4lzv_45" };
|
2254
2254
|
|
2255
2255
|
// ../core/components/OutlineList/index.tsx
|
2256
2256
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.20.1
|
3
|
+
"version": "0.20.1",
|
4
4
|
"author": "Chris Villa <chris@puckeditor.com>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"dist"
|
26
26
|
],
|
27
27
|
"devDependencies": {
|
28
|
-
"@measured/puck": "^0.20.1
|
28
|
+
"@measured/puck": "^0.20.1",
|
29
29
|
"@types/react": "^19.0.1",
|
30
30
|
"@types/react-dom": "^19.0.2",
|
31
31
|
"eslint": "^7.32.0",
|