@measured/puck-plugin-heading-analyzer 0.20.0 → 0.20.1-canary.d7404af9

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
@@ -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
- ._HeadingAnalyzer_116v6_1 {
2
+ .HeadingAnalyzer {
3
3
  display: block;
4
4
  }
5
- ._HeadingAnalyzer-cssWarning_116v6_5 {
5
+ .HeadingAnalyzer-cssWarning {
6
6
  display: none !important;
7
7
  }
8
- ._HeadingAnalyzerItem_116v6_9 {
8
+ .HeadingAnalyzerItem {
9
9
  display: inline;
10
10
  }
11
- ._HeadingAnalyzerItem--missing_116v6_13 {
11
+ .HeadingAnalyzerItem--missing {
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
- ._SidebarSection_8boj8_1 {
16
+ .SidebarSection {
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:last-of-type {
23
23
  flex-grow: 1;
24
24
  }
25
- ._SidebarSection-title_8boj8_12 {
25
+ .SidebarSection-title {
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 > .SidebarSection-title {
33
33
  border-top: 0px;
34
34
  }
35
- ._SidebarSection-content_8boj8_24 {
35
+ .SidebarSection-content {
36
36
  padding: 16px;
37
37
  }
38
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
38
+ .SidebarSection--noPadding > .SidebarSection-content {
39
39
  padding: 0px;
40
40
  }
41
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
41
+ .SidebarSection--noPadding > .SidebarSection-content:last-child {
42
42
  padding-bottom: 4px;
43
43
  }
44
- ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
44
+ .SidebarSection:last-of-type .SidebarSection-content {
45
45
  border-bottom: none;
46
46
  flex-grow: 1;
47
47
  }
48
- ._SidebarSection-breadcrumbLabel_8boj8_41 {
48
+ .SidebarSection-breadcrumbLabel {
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: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: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:active {
70
70
  color: var(--puck-color-azure-02);
71
71
  transition: none;
72
72
  }
73
- ._SidebarSection-breadcrumbs_8boj8_70 {
73
+ .SidebarSection-breadcrumbs {
74
74
  align-items: center;
75
75
  display: flex;
76
76
  gap: 4px;
77
77
  }
78
- ._SidebarSection-breadcrumb_8boj8_41 {
78
+ .SidebarSection-breadcrumb {
79
79
  align-items: center;
80
80
  display: flex;
81
81
  gap: 4px;
82
82
  }
83
- ._SidebarSection-heading_8boj8_82 {
83
+ .SidebarSection-heading {
84
84
  padding-inline-end: 16px;
85
85
  }
86
- ._SidebarSection-loadingOverlay_8boj8_86 {
86
+ .SidebarSection-loadingOverlay {
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
- ._Heading_qxrry_1 {
102
+ .Heading {
103
103
  display: block;
104
104
  color: var(--puck-color-black);
105
105
  font-weight: 700;
106
106
  margin: 0;
107
107
  }
108
- ._Heading_qxrry_1 b {
108
+ .Heading b {
109
109
  font-weight: 700;
110
110
  }
111
- ._Heading--xxxxl_qxrry_12 {
111
+ .Heading--xxxxl {
112
112
  font-size: var(--puck-font-size-xxxxl);
113
113
  letter-spacing: 0.08ch;
114
114
  font-weight: 800;
115
115
  }
116
- ._Heading--xxxl_qxrry_18 {
116
+ .Heading--xxxl {
117
117
  font-size: var(--puck-font-size-xxxl);
118
118
  }
119
- ._Heading--xxl_qxrry_22 {
119
+ .Heading--xxl {
120
120
  font-size: var(--puck-font-size-xxl);
121
121
  }
122
- ._Heading--xl_qxrry_26 {
122
+ .Heading--xl {
123
123
  font-size: var(--puck-font-size-xl);
124
124
  }
125
- ._Heading--l_qxrry_30 {
125
+ .Heading--l {
126
126
  font-size: var(--puck-font-size-l);
127
127
  }
128
- ._Heading--m_qxrry_34 {
128
+ .Heading--m {
129
129
  font-size: var(--puck-font-size-m);
130
130
  }
131
- ._Heading--s_qxrry_38 {
131
+ .Heading--s {
132
132
  font-size: var(--puck-font-size-s);
133
133
  }
134
- ._Heading--xs_qxrry_42 {
134
+ .Heading--xs {
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 _loader-animation_nacdm_1 {
139
+ @keyframes loader-animation {
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
- ._Loader_nacdm_13 {
150
+ .Loader {
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: _loader-animation_nacdm_1 1s 0s infinite linear;
156
+ animation: loader-animation 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
- ._OutlineList_w4lzv_1 {
161
+ .OutlineList {
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
- ._OutlineList_w4lzv_1::before {
169
+ .OutlineList::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
- ._OutlineList_w4lzv_1:dir(rtl)::before {
178
+ .OutlineList:dir(rtl)::before {
179
179
  left: unset;
180
180
  right: -1px;
181
181
  }
182
- ._OutlineListItem_w4lzv_25 {
182
+ .OutlineListItem {
183
183
  position: relative;
184
184
  margin-bottom: 4px;
185
185
  }
186
- ._OutlineListItem_w4lzv_25::before {
186
+ .OutlineListItem::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
- ._OutlineListItem_w4lzv_25:dir(rtl)::before {
195
+ .OutlineListItem:dir(rtl)::before {
196
196
  left: unset;
197
197
  right: -17px;
198
198
  }
199
- ._OutlineListItem--clickable_w4lzv_45 {
199
+ .OutlineListItem--clickable {
200
200
  cursor: pointer;
201
201
  transition: color 50ms ease-in;
202
202
  }
203
- ._OutlineListItem--clickable_w4lzv_45:focus-visible {
203
+ .OutlineListItem--clickable: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
- ._OutlineListItem--clickable_w4lzv_45:hover {
208
+ .OutlineListItem--clickable:hover {
209
209
  color: var(--puck-color-azure-04);
210
210
  transition: none;
211
211
  }
212
212
  }
213
- ._OutlineListItem--clickable_w4lzv_45:active {
213
+ .OutlineListItem--clickable:active {
214
214
  color: var(--puck-color-azure-03);
215
215
  transition: none;
216
216
  }
217
- ._OutlineListItem_w4lzv_25 > ._OutlineList_w4lzv_1 {
217
+ .OutlineListItem > .OutlineList {
218
218
  margin: 8px 0;
219
219
  }
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 = { "HeadingAnalyzer": "_HeadingAnalyzer_116v6_1", "HeadingAnalyzer-cssWarning": "_HeadingAnalyzer-cssWarning_116v6_5", "HeadingAnalyzerItem": "_HeadingAnalyzerItem_116v6_9", "HeadingAnalyzerItem--missing": "_HeadingAnalyzerItem--missing_116v6_13" };
320
+ var HeadingAnalyzer_module_default = {};
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 = { "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" };
330
+ var styles_module_default = {};
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 = { "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" };
364
+ var styles_module_default2 = {};
365
365
 
366
366
  // ../core/components/Heading/index.tsx
367
367
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -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 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
2191
+ var styles_module_default3 = {};
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 = { "OutlineList": "_OutlineList_w4lzv_1", "OutlineListItem": "_OutlineListItem_w4lzv_25", "OutlineListItem--clickable": "_OutlineListItem--clickable_w4lzv_45" };
2265
+ var styles_module_default4 = {};
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 = { "HeadingAnalyzer": "_HeadingAnalyzer_116v6_1", "HeadingAnalyzer-cssWarning": "_HeadingAnalyzer-cssWarning_116v6_5", "HeadingAnalyzerItem": "_HeadingAnalyzerItem_116v6_9", "HeadingAnalyzerItem--missing": "_HeadingAnalyzerItem--missing_116v6_13" };
308
+ var HeadingAnalyzer_module_default = {};
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 = { "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" };
318
+ var styles_module_default = {};
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 = { "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" };
352
+ var styles_module_default2 = {};
353
353
 
354
354
  // ../core/components/Heading/index.tsx
355
355
  import { jsx } from "react/jsx-runtime";
@@ -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 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
2179
+ var styles_module_default3 = {};
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 = { "OutlineList": "_OutlineList_w4lzv_1", "OutlineListItem": "_OutlineListItem_w4lzv_25", "OutlineListItem--clickable": "_OutlineListItem--clickable_w4lzv_45" };
2253
+ var styles_module_default4 = {};
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.0",
3
+ "version": "0.20.1-canary.d7404af9",
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.0",
28
+ "@measured/puck": "^0.20.1-canary.d7404af9",
29
29
  "@types/react": "^19.0.1",
30
30
  "@types/react-dom": "^19.0.2",
31
31
  "eslint": "^7.32.0",