@measured/puck-plugin-heading-analyzer 0.18.2-canary.b399c21 → 0.18.2-canary.bdef789

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 CHANGED
@@ -13,39 +13,39 @@
13
13
  }
14
14
 
15
15
  /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
16
- ._SidebarSection_8boj8_1 {
16
+ ._SidebarSection_125qe_1 {
17
17
  display: flex;
18
18
  position: relative;
19
19
  flex-direction: column;
20
20
  color: var(--puck-color-black);
21
21
  }
22
- ._SidebarSection_8boj8_1:last-of-type {
22
+ ._SidebarSection_125qe_1:last-of-type {
23
23
  flex-grow: 1;
24
24
  }
25
- ._SidebarSection-title_8boj8_12 {
25
+ ._SidebarSection-title_125qe_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
- ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
32
+ ._SidebarSection--noBorderTop_125qe_20 > ._SidebarSection-title_125qe_12 {
33
33
  border-top: 0px;
34
34
  }
35
- ._SidebarSection-content_8boj8_24 {
35
+ ._SidebarSection-content_125qe_24 {
36
36
  padding: 16px;
37
37
  }
38
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
38
+ ._SidebarSection--noPadding_125qe_28 > ._SidebarSection-content_125qe_24 {
39
39
  padding: 0px;
40
40
  }
41
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
41
+ ._SidebarSection--noPadding_125qe_28 > ._SidebarSection-content_125qe_24:last-child {
42
42
  padding-bottom: 4px;
43
43
  }
44
- ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
44
+ ._SidebarSection_125qe_1:last-of-type ._SidebarSection-content_125qe_24 {
45
45
  border-bottom: none;
46
46
  flex-grow: 1;
47
47
  }
48
- ._SidebarSection-breadcrumbLabel_8boj8_41 {
48
+ ._SidebarSection-breadcrumbLabel_125qe_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
- ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
59
+ ._SidebarSection-breadcrumbLabel_125qe_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
- ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
64
+ ._SidebarSection-breadcrumbLabel_125qe_41:hover {
65
65
  color: var(--puck-color-azure-03);
66
66
  transition: none;
67
67
  }
68
68
  }
69
- ._SidebarSection-breadcrumbLabel_8boj8_41:active {
69
+ ._SidebarSection-breadcrumbLabel_125qe_41:active {
70
70
  color: var(--puck-color-azure-02);
71
71
  transition: none;
72
72
  }
73
- ._SidebarSection-breadcrumbs_8boj8_70 {
73
+ ._SidebarSection-breadcrumbs_125qe_70 {
74
74
  align-items: center;
75
75
  display: flex;
76
76
  gap: 4px;
77
77
  }
78
- ._SidebarSection-breadcrumb_8boj8_41 {
78
+ ._SidebarSection-breadcrumb_125qe_41 {
79
79
  align-items: center;
80
80
  display: flex;
81
81
  gap: 4px;
82
82
  }
83
- ._SidebarSection-heading_8boj8_82 {
84
- padding-inline-end: 16px;
83
+ ._SidebarSection-heading_125qe_82 {
84
+ padding-right: 16px;
85
85
  }
86
- ._SidebarSection-loadingOverlay_8boj8_86 {
86
+ ._SidebarSection-loadingOverlay_125qe_86 {
87
87
  background: var(--puck-color-white);
88
88
  display: flex;
89
89
  justify-content: center;
@@ -158,15 +158,15 @@
158
158
  }
159
159
 
160
160
  /* css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css/#css-module-data */
161
- ._OutlineList_w4lzv_1 {
161
+ ._OutlineList_18bgy_1 {
162
162
  color: var(--puck-color-grey-03);
163
163
  font-family: var(--puck-font-family);
164
164
  margin: 0;
165
- padding-inline-start: 16px;
165
+ padding-left: 16px;
166
166
  position: relative;
167
167
  list-style: none;
168
168
  }
169
- ._OutlineList_w4lzv_1::before {
169
+ ._OutlineList_18bgy_1::before {
170
170
  background: var(--puck-color-grey-08);
171
171
  position: absolute;
172
172
  left: -1px;
@@ -175,15 +175,11 @@
175
175
  height: calc(100% - 9px);
176
176
  content: "";
177
177
  }
178
- ._OutlineList_w4lzv_1:dir(rtl)::before {
179
- left: unset;
180
- right: -1px;
181
- }
182
- ._OutlineListItem_w4lzv_25 {
178
+ ._OutlineListItem_18bgy_20 {
183
179
  position: relative;
184
180
  margin-bottom: 4px;
185
181
  }
186
- ._OutlineListItem_w4lzv_25::before {
182
+ ._OutlineListItem_18bgy_20::before {
187
183
  background: var(--puck-color-grey-08);
188
184
  position: absolute;
189
185
  left: -17px;
@@ -192,28 +188,24 @@
192
188
  height: 1px;
193
189
  content: "";
194
190
  }
195
- ._OutlineListItem_w4lzv_25:dir(rtl)::before {
196
- left: unset;
197
- right: -17px;
198
- }
199
- ._OutlineListItem--clickable_w4lzv_45 {
191
+ ._OutlineListItem--clickable_18bgy_35 {
200
192
  cursor: pointer;
201
193
  transition: color 50ms ease-in;
202
194
  }
203
- ._OutlineListItem--clickable_w4lzv_45:focus-visible {
195
+ ._OutlineListItem--clickable_18bgy_35:focus-visible {
204
196
  outline: 2px solid var(--puck-color-azure-05);
205
197
  outline-offset: 2px;
206
198
  }
207
199
  @media (hover: hover) and (pointer: fine) {
208
- ._OutlineListItem--clickable_w4lzv_45:hover {
200
+ ._OutlineListItem--clickable_18bgy_35:hover {
209
201
  color: var(--puck-color-azure-04);
210
202
  transition: none;
211
203
  }
212
204
  }
213
- ._OutlineListItem--clickable_w4lzv_45:active {
205
+ ._OutlineListItem--clickable_18bgy_35:active {
214
206
  color: var(--puck-color-azure-03);
215
207
  transition: none;
216
208
  }
217
- ._OutlineListItem_w4lzv_25 > ._OutlineList_w4lzv_1 {
209
+ ._OutlineListItem_18bgy_20 > ._OutlineList_18bgy_1 {
218
210
  margin: 8px 0;
219
211
  }
package/dist/index.d.mts CHANGED
@@ -114,7 +114,7 @@ type Field<Props extends any = any> = TextField | NumberField | TextareaField |
114
114
  } ? Props : any> | ExternalFieldWithAdaptor<Props extends {
115
115
  [key: string]: any;
116
116
  } ? Props : any> | CustomField<Props>;
117
- type FieldProps<F = Field<any>, ValueType = any> = {
117
+ type FieldProps<ValueType = any, F = Field<any>> = {
118
118
  field: F;
119
119
  value: ValueType;
120
120
  id?: string;
@@ -209,7 +209,7 @@ type Overrides = OverridesGeneric<{
209
209
  type FieldRenderFunctions = Omit<{
210
210
  [Type in Field["type"]]: React.FunctionComponent<FieldProps<Extract<Field, {
211
211
  type: Type;
212
- }>, any> & {
212
+ }>> & {
213
213
  children: ReactNode;
214
214
  name: string;
215
215
  }>;
package/dist/index.d.ts CHANGED
@@ -114,7 +114,7 @@ type Field<Props extends any = any> = TextField | NumberField | TextareaField |
114
114
  } ? Props : any> | ExternalFieldWithAdaptor<Props extends {
115
115
  [key: string]: any;
116
116
  } ? Props : any> | CustomField<Props>;
117
- type FieldProps<F = Field<any>, ValueType = any> = {
117
+ type FieldProps<ValueType = any, F = Field<any>> = {
118
118
  field: F;
119
119
  value: ValueType;
120
120
  id?: string;
@@ -209,7 +209,7 @@ type Overrides = OverridesGeneric<{
209
209
  type FieldRenderFunctions = Omit<{
210
210
  [Type in Field["type"]]: React.FunctionComponent<FieldProps<Extract<Field, {
211
211
  type: Type;
212
- }>, any> & {
212
+ }>> & {
213
213
  children: ReactNode;
214
214
  name: string;
215
215
  }>;
package/dist/index.js CHANGED
@@ -157,7 +157,7 @@ init_react_import();
157
157
 
158
158
  // css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
159
159
  init_react_import();
160
- 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" };
160
+ 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" };
161
161
 
162
162
  // ../core/lib/get-class-name-factory.ts
163
163
  init_react_import();
@@ -625,7 +625,7 @@ init_react_import();
625
625
 
626
626
  // css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css#css-module
627
627
  init_react_import();
628
- var styles_module_default4 = { "OutlineList": "_OutlineList_w4lzv_1", "OutlineListItem": "_OutlineListItem_w4lzv_25", "OutlineListItem--clickable": "_OutlineListItem--clickable_w4lzv_45" };
628
+ var styles_module_default4 = { "OutlineList": "_OutlineList_18bgy_1", "OutlineListItem": "_OutlineListItem_18bgy_20", "OutlineListItem--clickable": "_OutlineListItem--clickable_18bgy_35" };
629
629
 
630
630
  // ../core/components/OutlineList/index.tsx
631
631
  var import_jsx_runtime6 = require("react/jsx-runtime");
package/dist/index.mjs CHANGED
@@ -145,7 +145,7 @@ init_react_import();
145
145
 
146
146
  // css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
147
147
  init_react_import();
148
- 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" };
148
+ 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" };
149
149
 
150
150
  // ../core/lib/get-class-name-factory.ts
151
151
  init_react_import();
@@ -623,7 +623,7 @@ init_react_import();
623
623
 
624
624
  // css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css#css-module
625
625
  init_react_import();
626
- var styles_module_default4 = { "OutlineList": "_OutlineList_w4lzv_1", "OutlineListItem": "_OutlineListItem_w4lzv_25", "OutlineListItem--clickable": "_OutlineListItem--clickable_w4lzv_45" };
626
+ var styles_module_default4 = { "OutlineList": "_OutlineList_18bgy_1", "OutlineListItem": "_OutlineListItem_18bgy_20", "OutlineListItem--clickable": "_OutlineListItem--clickable_18bgy_35" };
627
627
 
628
628
  // ../core/components/OutlineList/index.tsx
629
629
  import { jsx as jsx6 } 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.18.2-canary.b399c21",
3
+ "version": "0.18.2-canary.bdef789",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
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.18.2-canary.b399c21",
28
+ "@measured/puck": "^0.18.2-canary.bdef789",
29
29
  "@types/react": "^19.0.1",
30
30
  "@types/react-dom": "^19.0.2",
31
31
  "eslint": "^7.32.0",