@measured/puck-plugin-heading-analyzer 0.14.0-canary.de9c2c4 → 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.d.ts +7 -8
- package/dist/index.js +410 -40
- package/package.json +8 -3
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.d.ts
CHANGED
@@ -5,6 +5,11 @@ type ItemSelector = {
|
|
5
5
|
zone?: string;
|
6
6
|
};
|
7
7
|
|
8
|
+
type FieldOption = {
|
9
|
+
label: string;
|
10
|
+
value: string | number | boolean;
|
11
|
+
};
|
12
|
+
type FieldOptions = Array<FieldOption> | ReadonlyArray<FieldOption>;
|
8
13
|
type BaseField = {
|
9
14
|
label?: string;
|
10
15
|
};
|
@@ -21,17 +26,11 @@ type TextareaField = BaseField & {
|
|
21
26
|
};
|
22
27
|
type SelectField = BaseField & {
|
23
28
|
type: "select";
|
24
|
-
options:
|
25
|
-
label: string;
|
26
|
-
value: string | number | boolean;
|
27
|
-
}[];
|
29
|
+
options: FieldOptions;
|
28
30
|
};
|
29
31
|
type RadioField = BaseField & {
|
30
32
|
type: "radio";
|
31
|
-
options:
|
32
|
-
label: string;
|
33
|
-
value: string | number | boolean;
|
34
|
-
}[];
|
33
|
+
options: FieldOptions;
|
35
34
|
};
|
36
35
|
type ArrayField<Props extends {
|
37
36
|
[key: string]: any;
|
package/dist/index.js
CHANGED
@@ -21249,11 +21249,11 @@ var require_react_dom_development = __commonJS({
|
|
21249
21249
|
}
|
21250
21250
|
function registerMutableSourceForHydration(root2, mutableSource) {
|
21251
21251
|
var getVersion2 = mutableSource._getVersion;
|
21252
|
-
var
|
21252
|
+
var version2 = getVersion2(mutableSource._source);
|
21253
21253
|
if (root2.mutableSourceEagerHydrationData == null) {
|
21254
|
-
root2.mutableSourceEagerHydrationData = [mutableSource,
|
21254
|
+
root2.mutableSourceEagerHydrationData = [mutableSource, version2];
|
21255
21255
|
} else {
|
21256
|
-
root2.mutableSourceEagerHydrationData.push(mutableSource,
|
21256
|
+
root2.mutableSourceEagerHydrationData.push(mutableSource, version2);
|
21257
21257
|
}
|
21258
21258
|
}
|
21259
21259
|
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig;
|
@@ -41046,6 +41046,374 @@ var init_index_module = __esm({
|
|
41046
41046
|
}
|
41047
41047
|
});
|
41048
41048
|
|
41049
|
+
// ../../node_modules/uuid/dist/esm-node/rng.js
|
41050
|
+
function rng() {
|
41051
|
+
if (poolPtr > rnds8Pool.length - 16) {
|
41052
|
+
import_crypto.default.randomFillSync(rnds8Pool);
|
41053
|
+
poolPtr = 0;
|
41054
|
+
}
|
41055
|
+
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
41056
|
+
}
|
41057
|
+
var import_crypto, rnds8Pool, poolPtr;
|
41058
|
+
var init_rng = __esm({
|
41059
|
+
"../../node_modules/uuid/dist/esm-node/rng.js"() {
|
41060
|
+
init_react_import();
|
41061
|
+
import_crypto = __toESM(require("crypto"));
|
41062
|
+
rnds8Pool = new Uint8Array(256);
|
41063
|
+
poolPtr = rnds8Pool.length;
|
41064
|
+
}
|
41065
|
+
});
|
41066
|
+
|
41067
|
+
// ../../node_modules/uuid/dist/esm-node/regex.js
|
41068
|
+
var regex_default;
|
41069
|
+
var init_regex = __esm({
|
41070
|
+
"../../node_modules/uuid/dist/esm-node/regex.js"() {
|
41071
|
+
init_react_import();
|
41072
|
+
regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
41073
|
+
}
|
41074
|
+
});
|
41075
|
+
|
41076
|
+
// ../../node_modules/uuid/dist/esm-node/validate.js
|
41077
|
+
function validate(uuid) {
|
41078
|
+
return typeof uuid === "string" && regex_default.test(uuid);
|
41079
|
+
}
|
41080
|
+
var validate_default;
|
41081
|
+
var init_validate = __esm({
|
41082
|
+
"../../node_modules/uuid/dist/esm-node/validate.js"() {
|
41083
|
+
init_react_import();
|
41084
|
+
init_regex();
|
41085
|
+
validate_default = validate;
|
41086
|
+
}
|
41087
|
+
});
|
41088
|
+
|
41089
|
+
// ../../node_modules/uuid/dist/esm-node/stringify.js
|
41090
|
+
function unsafeStringify(arr, offset3 = 0) {
|
41091
|
+
return byteToHex[arr[offset3 + 0]] + byteToHex[arr[offset3 + 1]] + byteToHex[arr[offset3 + 2]] + byteToHex[arr[offset3 + 3]] + "-" + byteToHex[arr[offset3 + 4]] + byteToHex[arr[offset3 + 5]] + "-" + byteToHex[arr[offset3 + 6]] + byteToHex[arr[offset3 + 7]] + "-" + byteToHex[arr[offset3 + 8]] + byteToHex[arr[offset3 + 9]] + "-" + byteToHex[arr[offset3 + 10]] + byteToHex[arr[offset3 + 11]] + byteToHex[arr[offset3 + 12]] + byteToHex[arr[offset3 + 13]] + byteToHex[arr[offset3 + 14]] + byteToHex[arr[offset3 + 15]];
|
41092
|
+
}
|
41093
|
+
function stringify(arr, offset3 = 0) {
|
41094
|
+
const uuid = unsafeStringify(arr, offset3);
|
41095
|
+
if (!validate_default(uuid)) {
|
41096
|
+
throw TypeError("Stringified UUID is invalid");
|
41097
|
+
}
|
41098
|
+
return uuid;
|
41099
|
+
}
|
41100
|
+
var byteToHex, stringify_default;
|
41101
|
+
var init_stringify = __esm({
|
41102
|
+
"../../node_modules/uuid/dist/esm-node/stringify.js"() {
|
41103
|
+
init_react_import();
|
41104
|
+
init_validate();
|
41105
|
+
byteToHex = [];
|
41106
|
+
for (let i2 = 0; i2 < 256; ++i2) {
|
41107
|
+
byteToHex.push((i2 + 256).toString(16).slice(1));
|
41108
|
+
}
|
41109
|
+
stringify_default = stringify;
|
41110
|
+
}
|
41111
|
+
});
|
41112
|
+
|
41113
|
+
// ../../node_modules/uuid/dist/esm-node/v1.js
|
41114
|
+
function v1(options, buf, offset3) {
|
41115
|
+
let i2 = buf && offset3 || 0;
|
41116
|
+
const b = buf || new Array(16);
|
41117
|
+
options = options || {};
|
41118
|
+
let node = options.node || _nodeId;
|
41119
|
+
let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq;
|
41120
|
+
if (node == null || clockseq == null) {
|
41121
|
+
const seedBytes = options.random || (options.rng || rng)();
|
41122
|
+
if (node == null) {
|
41123
|
+
node = _nodeId = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
|
41124
|
+
}
|
41125
|
+
if (clockseq == null) {
|
41126
|
+
clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 16383;
|
41127
|
+
}
|
41128
|
+
}
|
41129
|
+
let msecs = options.msecs !== void 0 ? options.msecs : Date.now();
|
41130
|
+
let nsecs = options.nsecs !== void 0 ? options.nsecs : _lastNSecs + 1;
|
41131
|
+
const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4;
|
41132
|
+
if (dt < 0 && options.clockseq === void 0) {
|
41133
|
+
clockseq = clockseq + 1 & 16383;
|
41134
|
+
}
|
41135
|
+
if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === void 0) {
|
41136
|
+
nsecs = 0;
|
41137
|
+
}
|
41138
|
+
if (nsecs >= 1e4) {
|
41139
|
+
throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
|
41140
|
+
}
|
41141
|
+
_lastMSecs = msecs;
|
41142
|
+
_lastNSecs = nsecs;
|
41143
|
+
_clockseq = clockseq;
|
41144
|
+
msecs += 122192928e5;
|
41145
|
+
const tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296;
|
41146
|
+
b[i2++] = tl >>> 24 & 255;
|
41147
|
+
b[i2++] = tl >>> 16 & 255;
|
41148
|
+
b[i2++] = tl >>> 8 & 255;
|
41149
|
+
b[i2++] = tl & 255;
|
41150
|
+
const tmh = msecs / 4294967296 * 1e4 & 268435455;
|
41151
|
+
b[i2++] = tmh >>> 8 & 255;
|
41152
|
+
b[i2++] = tmh & 255;
|
41153
|
+
b[i2++] = tmh >>> 24 & 15 | 16;
|
41154
|
+
b[i2++] = tmh >>> 16 & 255;
|
41155
|
+
b[i2++] = clockseq >>> 8 | 128;
|
41156
|
+
b[i2++] = clockseq & 255;
|
41157
|
+
for (let n2 = 0; n2 < 6; ++n2) {
|
41158
|
+
b[i2 + n2] = node[n2];
|
41159
|
+
}
|
41160
|
+
return buf || unsafeStringify(b);
|
41161
|
+
}
|
41162
|
+
var _nodeId, _clockseq, _lastMSecs, _lastNSecs, v1_default;
|
41163
|
+
var init_v1 = __esm({
|
41164
|
+
"../../node_modules/uuid/dist/esm-node/v1.js"() {
|
41165
|
+
init_react_import();
|
41166
|
+
init_rng();
|
41167
|
+
init_stringify();
|
41168
|
+
_lastMSecs = 0;
|
41169
|
+
_lastNSecs = 0;
|
41170
|
+
v1_default = v1;
|
41171
|
+
}
|
41172
|
+
});
|
41173
|
+
|
41174
|
+
// ../../node_modules/uuid/dist/esm-node/parse.js
|
41175
|
+
function parse3(uuid) {
|
41176
|
+
if (!validate_default(uuid)) {
|
41177
|
+
throw TypeError("Invalid UUID");
|
41178
|
+
}
|
41179
|
+
let v;
|
41180
|
+
const arr = new Uint8Array(16);
|
41181
|
+
arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
|
41182
|
+
arr[1] = v >>> 16 & 255;
|
41183
|
+
arr[2] = v >>> 8 & 255;
|
41184
|
+
arr[3] = v & 255;
|
41185
|
+
arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
|
41186
|
+
arr[5] = v & 255;
|
41187
|
+
arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
|
41188
|
+
arr[7] = v & 255;
|
41189
|
+
arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
|
41190
|
+
arr[9] = v & 255;
|
41191
|
+
arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776 & 255;
|
41192
|
+
arr[11] = v / 4294967296 & 255;
|
41193
|
+
arr[12] = v >>> 24 & 255;
|
41194
|
+
arr[13] = v >>> 16 & 255;
|
41195
|
+
arr[14] = v >>> 8 & 255;
|
41196
|
+
arr[15] = v & 255;
|
41197
|
+
return arr;
|
41198
|
+
}
|
41199
|
+
var parse_default;
|
41200
|
+
var init_parse = __esm({
|
41201
|
+
"../../node_modules/uuid/dist/esm-node/parse.js"() {
|
41202
|
+
init_react_import();
|
41203
|
+
init_validate();
|
41204
|
+
parse_default = parse3;
|
41205
|
+
}
|
41206
|
+
});
|
41207
|
+
|
41208
|
+
// ../../node_modules/uuid/dist/esm-node/v35.js
|
41209
|
+
function stringToBytes(str) {
|
41210
|
+
str = unescape(encodeURIComponent(str));
|
41211
|
+
const bytes = [];
|
41212
|
+
for (let i2 = 0; i2 < str.length; ++i2) {
|
41213
|
+
bytes.push(str.charCodeAt(i2));
|
41214
|
+
}
|
41215
|
+
return bytes;
|
41216
|
+
}
|
41217
|
+
function v35(name, version2, hashfunc) {
|
41218
|
+
function generateUUID(value, namespace, buf, offset3) {
|
41219
|
+
var _namespace;
|
41220
|
+
if (typeof value === "string") {
|
41221
|
+
value = stringToBytes(value);
|
41222
|
+
}
|
41223
|
+
if (typeof namespace === "string") {
|
41224
|
+
namespace = parse_default(namespace);
|
41225
|
+
}
|
41226
|
+
if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
|
41227
|
+
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
41228
|
+
}
|
41229
|
+
let bytes = new Uint8Array(16 + value.length);
|
41230
|
+
bytes.set(namespace);
|
41231
|
+
bytes.set(value, namespace.length);
|
41232
|
+
bytes = hashfunc(bytes);
|
41233
|
+
bytes[6] = bytes[6] & 15 | version2;
|
41234
|
+
bytes[8] = bytes[8] & 63 | 128;
|
41235
|
+
if (buf) {
|
41236
|
+
offset3 = offset3 || 0;
|
41237
|
+
for (let i2 = 0; i2 < 16; ++i2) {
|
41238
|
+
buf[offset3 + i2] = bytes[i2];
|
41239
|
+
}
|
41240
|
+
return buf;
|
41241
|
+
}
|
41242
|
+
return unsafeStringify(bytes);
|
41243
|
+
}
|
41244
|
+
try {
|
41245
|
+
generateUUID.name = name;
|
41246
|
+
} catch (err) {
|
41247
|
+
}
|
41248
|
+
generateUUID.DNS = DNS;
|
41249
|
+
generateUUID.URL = URL;
|
41250
|
+
return generateUUID;
|
41251
|
+
}
|
41252
|
+
var DNS, URL;
|
41253
|
+
var init_v35 = __esm({
|
41254
|
+
"../../node_modules/uuid/dist/esm-node/v35.js"() {
|
41255
|
+
init_react_import();
|
41256
|
+
init_stringify();
|
41257
|
+
init_parse();
|
41258
|
+
DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
41259
|
+
URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
41260
|
+
}
|
41261
|
+
});
|
41262
|
+
|
41263
|
+
// ../../node_modules/uuid/dist/esm-node/md5.js
|
41264
|
+
function md5(bytes) {
|
41265
|
+
if (Array.isArray(bytes)) {
|
41266
|
+
bytes = Buffer.from(bytes);
|
41267
|
+
} else if (typeof bytes === "string") {
|
41268
|
+
bytes = Buffer.from(bytes, "utf8");
|
41269
|
+
}
|
41270
|
+
return import_crypto2.default.createHash("md5").update(bytes).digest();
|
41271
|
+
}
|
41272
|
+
var import_crypto2, md5_default;
|
41273
|
+
var init_md5 = __esm({
|
41274
|
+
"../../node_modules/uuid/dist/esm-node/md5.js"() {
|
41275
|
+
init_react_import();
|
41276
|
+
import_crypto2 = __toESM(require("crypto"));
|
41277
|
+
md5_default = md5;
|
41278
|
+
}
|
41279
|
+
});
|
41280
|
+
|
41281
|
+
// ../../node_modules/uuid/dist/esm-node/v3.js
|
41282
|
+
var v3, v3_default;
|
41283
|
+
var init_v3 = __esm({
|
41284
|
+
"../../node_modules/uuid/dist/esm-node/v3.js"() {
|
41285
|
+
init_react_import();
|
41286
|
+
init_v35();
|
41287
|
+
init_md5();
|
41288
|
+
v3 = v35("v3", 48, md5_default);
|
41289
|
+
v3_default = v3;
|
41290
|
+
}
|
41291
|
+
});
|
41292
|
+
|
41293
|
+
// ../../node_modules/uuid/dist/esm-node/native.js
|
41294
|
+
var import_crypto3, native_default;
|
41295
|
+
var init_native = __esm({
|
41296
|
+
"../../node_modules/uuid/dist/esm-node/native.js"() {
|
41297
|
+
init_react_import();
|
41298
|
+
import_crypto3 = __toESM(require("crypto"));
|
41299
|
+
native_default = {
|
41300
|
+
randomUUID: import_crypto3.default.randomUUID
|
41301
|
+
};
|
41302
|
+
}
|
41303
|
+
});
|
41304
|
+
|
41305
|
+
// ../../node_modules/uuid/dist/esm-node/v4.js
|
41306
|
+
function v4(options, buf, offset3) {
|
41307
|
+
if (native_default.randomUUID && !buf && !options) {
|
41308
|
+
return native_default.randomUUID();
|
41309
|
+
}
|
41310
|
+
options = options || {};
|
41311
|
+
const rnds = options.random || (options.rng || rng)();
|
41312
|
+
rnds[6] = rnds[6] & 15 | 64;
|
41313
|
+
rnds[8] = rnds[8] & 63 | 128;
|
41314
|
+
if (buf) {
|
41315
|
+
offset3 = offset3 || 0;
|
41316
|
+
for (let i2 = 0; i2 < 16; ++i2) {
|
41317
|
+
buf[offset3 + i2] = rnds[i2];
|
41318
|
+
}
|
41319
|
+
return buf;
|
41320
|
+
}
|
41321
|
+
return unsafeStringify(rnds);
|
41322
|
+
}
|
41323
|
+
var v4_default;
|
41324
|
+
var init_v4 = __esm({
|
41325
|
+
"../../node_modules/uuid/dist/esm-node/v4.js"() {
|
41326
|
+
init_react_import();
|
41327
|
+
init_native();
|
41328
|
+
init_rng();
|
41329
|
+
init_stringify();
|
41330
|
+
v4_default = v4;
|
41331
|
+
}
|
41332
|
+
});
|
41333
|
+
|
41334
|
+
// ../../node_modules/uuid/dist/esm-node/sha1.js
|
41335
|
+
function sha1(bytes) {
|
41336
|
+
if (Array.isArray(bytes)) {
|
41337
|
+
bytes = Buffer.from(bytes);
|
41338
|
+
} else if (typeof bytes === "string") {
|
41339
|
+
bytes = Buffer.from(bytes, "utf8");
|
41340
|
+
}
|
41341
|
+
return import_crypto4.default.createHash("sha1").update(bytes).digest();
|
41342
|
+
}
|
41343
|
+
var import_crypto4, sha1_default;
|
41344
|
+
var init_sha1 = __esm({
|
41345
|
+
"../../node_modules/uuid/dist/esm-node/sha1.js"() {
|
41346
|
+
init_react_import();
|
41347
|
+
import_crypto4 = __toESM(require("crypto"));
|
41348
|
+
sha1_default = sha1;
|
41349
|
+
}
|
41350
|
+
});
|
41351
|
+
|
41352
|
+
// ../../node_modules/uuid/dist/esm-node/v5.js
|
41353
|
+
var v5, v5_default;
|
41354
|
+
var init_v5 = __esm({
|
41355
|
+
"../../node_modules/uuid/dist/esm-node/v5.js"() {
|
41356
|
+
init_react_import();
|
41357
|
+
init_v35();
|
41358
|
+
init_sha1();
|
41359
|
+
v5 = v35("v5", 80, sha1_default);
|
41360
|
+
v5_default = v5;
|
41361
|
+
}
|
41362
|
+
});
|
41363
|
+
|
41364
|
+
// ../../node_modules/uuid/dist/esm-node/nil.js
|
41365
|
+
var nil_default;
|
41366
|
+
var init_nil = __esm({
|
41367
|
+
"../../node_modules/uuid/dist/esm-node/nil.js"() {
|
41368
|
+
init_react_import();
|
41369
|
+
nil_default = "00000000-0000-0000-0000-000000000000";
|
41370
|
+
}
|
41371
|
+
});
|
41372
|
+
|
41373
|
+
// ../../node_modules/uuid/dist/esm-node/version.js
|
41374
|
+
function version(uuid) {
|
41375
|
+
if (!validate_default(uuid)) {
|
41376
|
+
throw TypeError("Invalid UUID");
|
41377
|
+
}
|
41378
|
+
return parseInt(uuid.slice(14, 15), 16);
|
41379
|
+
}
|
41380
|
+
var version_default;
|
41381
|
+
var init_version = __esm({
|
41382
|
+
"../../node_modules/uuid/dist/esm-node/version.js"() {
|
41383
|
+
init_react_import();
|
41384
|
+
init_validate();
|
41385
|
+
version_default = version;
|
41386
|
+
}
|
41387
|
+
});
|
41388
|
+
|
41389
|
+
// ../../node_modules/uuid/dist/esm-node/index.js
|
41390
|
+
var esm_node_exports = {};
|
41391
|
+
__export(esm_node_exports, {
|
41392
|
+
NIL: () => nil_default,
|
41393
|
+
parse: () => parse_default,
|
41394
|
+
stringify: () => stringify_default,
|
41395
|
+
v1: () => v1_default,
|
41396
|
+
v3: () => v3_default,
|
41397
|
+
v4: () => v4_default,
|
41398
|
+
v5: () => v5_default,
|
41399
|
+
validate: () => validate_default,
|
41400
|
+
version: () => version_default
|
41401
|
+
});
|
41402
|
+
var init_esm_node = __esm({
|
41403
|
+
"../../node_modules/uuid/dist/esm-node/index.js"() {
|
41404
|
+
init_react_import();
|
41405
|
+
init_v1();
|
41406
|
+
init_v3();
|
41407
|
+
init_v4();
|
41408
|
+
init_v5();
|
41409
|
+
init_nil();
|
41410
|
+
init_version();
|
41411
|
+
init_validate();
|
41412
|
+
init_stringify();
|
41413
|
+
init_parse();
|
41414
|
+
}
|
41415
|
+
});
|
41416
|
+
|
41049
41417
|
// ../../node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js
|
41050
41418
|
var react_hotkeys_hook_esm_exports = {};
|
41051
41419
|
__export(react_hotkeys_hook_esm_exports, {
|
@@ -61105,11 +61473,11 @@ var require_dist = __commonJS({
|
|
61105
61473
|
}
|
61106
61474
|
function registerMutableSourceForHydration(root2, mutableSource) {
|
61107
61475
|
var getVersion2 = mutableSource._getVersion;
|
61108
|
-
var
|
61476
|
+
var version2 = getVersion2(mutableSource._source);
|
61109
61477
|
if (root2.mutableSourceEagerHydrationData == null) {
|
61110
|
-
root2.mutableSourceEagerHydrationData = [mutableSource,
|
61478
|
+
root2.mutableSourceEagerHydrationData = [mutableSource, version2];
|
61111
61479
|
} else {
|
61112
|
-
root2.mutableSourceEagerHydrationData.push(mutableSource,
|
61480
|
+
root2.mutableSourceEagerHydrationData.push(mutableSource, version2);
|
61113
61481
|
}
|
61114
61482
|
}
|
61115
61483
|
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig;
|
@@ -70667,7 +71035,7 @@ var require_dist = __commonJS({
|
|
70667
71035
|
init_react_import2();
|
70668
71036
|
var import_react22 = require("react");
|
70669
71037
|
init_react_import2();
|
70670
|
-
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" };
|
70671
71039
|
init_react_import2();
|
70672
71040
|
var import_classnames2 = __toESM2(require_classnames2());
|
70673
71041
|
var getClassNameFactory2 = (rootClass, styles, { baseClass = "" } = {}) => (options = {}) => {
|
@@ -70717,7 +71085,7 @@ var require_dist = __commonJS({
|
|
70717
71085
|
}) => {
|
70718
71086
|
const [loading, setLoading] = (0, import_react22.useState)(loadingProp);
|
70719
71087
|
(0, import_react22.useEffect)(() => setLoading(loadingProp), [loadingProp]);
|
70720
|
-
const ElementType = href ? "a" :
|
71088
|
+
const ElementType = href ? "a" : type ? "button" : "span";
|
70721
71089
|
const el = /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
70722
71090
|
ElementType,
|
70723
71091
|
{
|
@@ -70757,7 +71125,7 @@ var require_dist = __commonJS({
|
|
70757
71125
|
init_react_import2();
|
70758
71126
|
var import_dnd2 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
70759
71127
|
init_react_import2();
|
70760
|
-
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" };
|
70761
71129
|
init_react_import2();
|
70762
71130
|
var import_dnd = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
70763
71131
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
@@ -70822,7 +71190,7 @@ var require_dist = __commonJS({
|
|
70822
71190
|
return result;
|
70823
71191
|
};
|
70824
71192
|
init_react_import2();
|
70825
|
-
var styles_module_default22 = { "DragIcon": "
|
71193
|
+
var styles_module_default22 = { "DragIcon": "_DragIcon_1p5wn_1" };
|
70826
71194
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
70827
71195
|
var getClassName22 = get_class_name_factory_default2("DragIcon", styles_module_default22);
|
70828
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" }) }) });
|
@@ -70892,7 +71260,7 @@ var require_dist = __commonJS({
|
|
70892
71260
|
var import_react62 = require("react");
|
70893
71261
|
var import_dnd3 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
70894
71262
|
init_react_import2();
|
70895
|
-
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" };
|
70896
71264
|
init_react_import2();
|
70897
71265
|
init_react_import2();
|
70898
71266
|
var import_react42 = require("react");
|
@@ -71169,7 +71537,7 @@ var require_dist = __commonJS({
|
|
71169
71537
|
return __spreadProps2(__spreadValues2({}, item), { props: dynamicProps[item.props.id] || item.props });
|
71170
71538
|
};
|
71171
71539
|
init_react_import2();
|
71172
|
-
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" };
|
71173
71541
|
init_react_import2();
|
71174
71542
|
var import_react72 = require("react");
|
71175
71543
|
var import_use_debounce = (init_index_module(), __toCommonJS(index_module_exports));
|
@@ -71574,7 +71942,7 @@ var require_dist = __commonJS({
|
|
71574
71942
|
{
|
71575
71943
|
"data-puck-placeholder": true,
|
71576
71944
|
style: __spreadProps2(__spreadValues2({}, placeholderStyle), {
|
71577
|
-
background: "var(--puck-color-azure-
|
71945
|
+
background: "var(--puck-color-azure-06)",
|
71578
71946
|
opacity: 0.3,
|
71579
71947
|
zIndex: 0
|
71580
71948
|
})
|
@@ -71632,7 +72000,7 @@ var require_dist = __commonJS({
|
|
71632
72000
|
init_react_import2();
|
71633
72001
|
var import_react102 = require("react");
|
71634
72002
|
init_react_import2();
|
71635
|
-
var IconButton_module_default = { "IconButton": "
|
72003
|
+
var IconButton_module_default = { "IconButton": "_IconButton_1xqlg_1", "IconButton-title": "_IconButton-title_1xqlg_33" };
|
71636
72004
|
var import_react_spinners3 = (init_esm(), __toCommonJS(esm_exports));
|
71637
72005
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
71638
72006
|
var getClassName6 = get_class_name_factory_default2("IconButton", IconButton_module_default);
|
@@ -71737,10 +72105,10 @@ var require_dist = __commonJS({
|
|
71737
72105
|
};
|
71738
72106
|
init_react_import2();
|
71739
72107
|
init_react_import2();
|
71740
|
-
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" };
|
71741
72109
|
init_react_import2();
|
71742
72110
|
init_react_import2();
|
71743
|
-
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" };
|
71744
72112
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
71745
72113
|
var getClassName7 = get_class_name_factory_default2("Heading", styles_module_default6);
|
71746
72114
|
var Heading2 = ({ children, rank, size = "m" }) => {
|
@@ -71842,7 +72210,7 @@ var require_dist = __commonJS({
|
|
71842
72210
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: getClassName8("title"), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: getClassName8("breadcrumbs"), children: [
|
71843
72211
|
showBreadcrumbs ? breadcrumbs.map((breadcrumb, i2) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: getClassName8("breadcrumb"), children: [
|
71844
72212
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
71845
|
-
"
|
72213
|
+
"button",
|
71846
72214
|
{
|
71847
72215
|
className: getClassName8("breadcrumbLabel"),
|
71848
72216
|
onClick: () => setUi({ itemSelector: breadcrumb.selector }),
|
@@ -71875,8 +72243,8 @@ var require_dist = __commonJS({
|
|
71875
72243
|
};
|
71876
72244
|
init_react_import2();
|
71877
72245
|
init_react_import2();
|
71878
|
-
var
|
71879
|
-
var generateId = (type) => `${type}-${(0,
|
72246
|
+
var import_uuid = (init_esm_node(), __toCommonJS(esm_node_exports));
|
72247
|
+
var generateId = (type) => `${type}-${(0, import_uuid.v4)()}`;
|
71880
72248
|
var reduceRelatedZones = (item, data, fn) => {
|
71881
72249
|
return __spreadProps2(__spreadValues2({}, data), {
|
71882
72250
|
zones: Object.keys(data.zones || {}).reduce(
|
@@ -72392,7 +72760,7 @@ var require_dist = __commonJS({
|
|
72392
72760
|
};
|
72393
72761
|
init_react_import2();
|
72394
72762
|
init_react_import2();
|
72395
|
-
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" };
|
72396
72764
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
72397
72765
|
var getClassName9 = get_class_name_factory_default2("MenuBar", styles_module_default7);
|
72398
72766
|
var MenuBar = ({
|
@@ -72428,14 +72796,14 @@ var require_dist = __commonJS({
|
|
72428
72796
|
ChevronLeft,
|
72429
72797
|
{
|
72430
72798
|
size: 21,
|
72431
|
-
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-
|
72799
|
+
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-08)"
|
72432
72800
|
}
|
72433
72801
|
) }),
|
72434
72802
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "redo", disabled: !hasFuture, onClick: forward, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
72435
72803
|
ChevronRight2,
|
72436
72804
|
{
|
72437
72805
|
size: 21,
|
72438
|
-
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-
|
72806
|
+
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-08)"
|
72439
72807
|
}
|
72440
72808
|
) })
|
72441
72809
|
] }),
|
@@ -72458,17 +72826,17 @@ var require_dist = __commonJS({
|
|
72458
72826
|
);
|
72459
72827
|
};
|
72460
72828
|
init_react_import2();
|
72461
|
-
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" };
|
72462
72830
|
init_react_import2();
|
72463
72831
|
var import_react_spinners6 = (init_esm(), __toCommonJS(esm_exports));
|
72464
72832
|
init_react_import2();
|
72465
72833
|
init_react_import2();
|
72466
|
-
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" };
|
72467
72835
|
var import_react18 = require("react");
|
72468
72836
|
init_react_import2();
|
72469
72837
|
init_react_import2();
|
72470
72838
|
init_react_import2();
|
72471
|
-
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" };
|
72472
72840
|
var import_dnd5 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
72473
72841
|
var import_dnd6 = (init_dnd_esm(), __toCommonJS(dnd_esm_exports));
|
72474
72842
|
var import_react14 = require("react");
|
@@ -72756,6 +73124,7 @@ var require_dist = __commonJS({
|
|
72756
73124
|
}
|
72757
73125
|
},
|
72758
73126
|
readOnly,
|
73127
|
+
tabIndex: readOnly ? -1 : void 0,
|
72759
73128
|
id,
|
72760
73129
|
min: field.type === "number" ? field.min : void 0,
|
72761
73130
|
max: field.type === "number" ? field.max : void 0
|
@@ -72769,11 +73138,11 @@ var require_dist = __commonJS({
|
|
72769
73138
|
init_react_import2();
|
72770
73139
|
var import_react16 = require("react");
|
72771
73140
|
init_react_import2();
|
72772
|
-
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" };
|
72773
73142
|
init_react_import2();
|
72774
73143
|
var import_react15 = require("react");
|
72775
73144
|
init_react_import2();
|
72776
|
-
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" };
|
72777
73146
|
var import_react_dom3 = __toESM2(require_react_dom2());
|
72778
73147
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
72779
73148
|
var getClassName12 = get_class_name_factory_default2("Modal", styles_module_default12);
|
@@ -73135,6 +73504,7 @@ var require_dist = __commonJS({
|
|
73135
73504
|
value: typeof value === "undefined" ? "" : value,
|
73136
73505
|
onChange: (e2) => onChange(e2.currentTarget.value),
|
73137
73506
|
readOnly,
|
73507
|
+
tabIndex: readOnly ? -1 : void 0,
|
73138
73508
|
rows: 5
|
73139
73509
|
}
|
73140
73510
|
)
|
@@ -73144,7 +73514,7 @@ var require_dist = __commonJS({
|
|
73144
73514
|
var import_use_debounce2 = (init_index_module(), __toCommonJS(index_module_exports));
|
73145
73515
|
init_react_import2();
|
73146
73516
|
init_react_import2();
|
73147
|
-
var styles_module_default13 = { "ObjectField": "
|
73517
|
+
var styles_module_default13 = { "ObjectField": "_ObjectField_15j63_5", "ObjectField-fieldset": "_ObjectField-fieldset_15j63_13" };
|
73148
73518
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
73149
73519
|
var getClassName17 = get_class_name_factory_default2("ObjectField", styles_module_default13);
|
73150
73520
|
var getClassNameItem3 = get_class_name_factory_default2("ObjectFieldItem", styles_module_default13);
|
@@ -73302,7 +73672,7 @@ var require_dist = __commonJS({
|
|
73302
73672
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Render2, __spreadProps2(__spreadValues2({}, mergedProps), { children }));
|
73303
73673
|
};
|
73304
73674
|
init_react_import2();
|
73305
|
-
var styles_module_default14 = { "PuckFields": "
|
73675
|
+
var styles_module_default14 = { "PuckFields": "_PuckFields_17k3p_1", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_17k3p_6" };
|
73306
73676
|
var import_react19 = require("react");
|
73307
73677
|
var import_jsx_runtime222 = require("react/jsx-runtime");
|
73308
73678
|
var getClassName19 = get_class_name_factory_default2("PuckFields", styles_module_default14);
|
@@ -73449,7 +73819,7 @@ var require_dist = __commonJS({
|
|
73449
73819
|
var import_react20 = require("react");
|
73450
73820
|
init_react_import2();
|
73451
73821
|
init_react_import2();
|
73452
|
-
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" };
|
73453
73823
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
73454
73824
|
var getClassName20 = get_class_name_factory_default2("ComponentList", styles_module_default15);
|
73455
73825
|
var ComponentListItem = ({
|
@@ -73468,7 +73838,7 @@ var require_dist = __commonJS({
|
|
73468
73838
|
const { expanded = true } = state.ui.componentList[id] || {};
|
73469
73839
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: getClassName20({ isExpanded: expanded }), children: [
|
73470
73840
|
title && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
73471
|
-
"
|
73841
|
+
"button",
|
73472
73842
|
{
|
73473
73843
|
className: getClassName20("title"),
|
73474
73844
|
onClick: () => setUi({
|
@@ -73614,7 +73984,7 @@ var require_dist = __commonJS({
|
|
73614
73984
|
};
|
73615
73985
|
init_react_import2();
|
73616
73986
|
init_react_import2();
|
73617
|
-
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" };
|
73618
73988
|
init_react_import2();
|
73619
73989
|
var scrollIntoView2 = (el) => {
|
73620
73990
|
const oldStyle = __spreadValues2({}, el.style);
|
@@ -73680,7 +74050,7 @@ var require_dist = __commonJS({
|
|
73680
74050
|
}),
|
73681
74051
|
children: [
|
73682
74052
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("inner"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
73683
|
-
"
|
74053
|
+
"button",
|
73684
74054
|
{
|
73685
74055
|
className: getClassNameLayer("clickable"),
|
73686
74056
|
onClick: () => {
|
@@ -74241,7 +74611,7 @@ var require_dist = __commonJS({
|
|
74241
74611
|
"div",
|
74242
74612
|
{
|
74243
74613
|
style: {
|
74244
|
-
background: "var(--puck-color-grey-
|
74614
|
+
background: "var(--puck-color-grey-11)",
|
74245
74615
|
height: "100%",
|
74246
74616
|
flexGrow: 1
|
74247
74617
|
}
|
@@ -74454,7 +74824,7 @@ init_react_import();
|
|
74454
74824
|
|
74455
74825
|
// css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
|
74456
74826
|
init_react_import();
|
74457
|
-
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" };
|
74458
74828
|
|
74459
74829
|
// ../core/lib/get-class-name-factory.ts
|
74460
74830
|
init_react_import();
|
@@ -74493,7 +74863,7 @@ init_react_import();
|
|
74493
74863
|
|
74494
74864
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css#css-module
|
74495
74865
|
init_react_import();
|
74496
|
-
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" };
|
74497
74867
|
|
74498
74868
|
// ../core/components/Heading/index.tsx
|
74499
74869
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
@@ -74749,7 +75119,7 @@ var SidebarSection = ({
|
|
74749
75119
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: getClassName2("title"), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: getClassName2("breadcrumbs"), children: [
|
74750
75120
|
showBreadcrumbs ? breadcrumbs.map((breadcrumb, i2) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: getClassName2("breadcrumb"), children: [
|
74751
75121
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
74752
|
-
"
|
75122
|
+
"button",
|
74753
75123
|
{
|
74754
75124
|
className: getClassName2("breadcrumbLabel"),
|
74755
75125
|
onClick: () => setUi({ itemSelector: breadcrumb.selector }),
|
@@ -74772,7 +75142,7 @@ init_react_import();
|
|
74772
75142
|
|
74773
75143
|
// css-module:/home/runner/work/puck/puck/packages/core/components/OutlineList/styles.module.css#css-module
|
74774
75144
|
init_react_import();
|
74775
|
-
var styles_module_default3 = { "OutlineList": "
|
75145
|
+
var styles_module_default3 = { "OutlineList": "_OutlineList_18bgy_1", "OutlineListItem": "_OutlineListItem_18bgy_20", "OutlineListItem--clickable": "_OutlineListItem--clickable_18bgy_35" };
|
74776
75146
|
|
74777
75147
|
// ../core/components/OutlineList/index.tsx
|
74778
75148
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
@@ -74895,7 +75265,7 @@ var HeadingAnalyzer = () => {
|
|
74895
75265
|
const oldStyle = __spreadValues({}, el.style);
|
74896
75266
|
if (el) {
|
74897
75267
|
scrollIntoView(el);
|
74898
|
-
el.style.outline = "4px solid var(--puck-color-rose-
|
75268
|
+
el.style.outline = "4px solid var(--puck-color-rose-06)";
|
74899
75269
|
el.style.outlineOffset = "4px";
|
74900
75270
|
setTimeout(() => {
|
74901
75271
|
el.style.outline = oldStyle.outline || "";
|
@@ -74903,7 +75273,7 @@ var HeadingAnalyzer = () => {
|
|
74903
75273
|
}, 2e3);
|
74904
75274
|
}
|
74905
75275
|
},
|
74906
|
-
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: [
|
74907
75277
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("b", { children: [
|
74908
75278
|
"H",
|
74909
75279
|
props.rank
|
package/package.json
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.14.0-canary.
|
3
|
+
"version": "0.14.0-canary.f975d87",
|
4
|
+
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
|
+
"repository": "measuredco/puck",
|
6
|
+
"bugs": "https://github.com/measuredco/puck/issues",
|
7
|
+
"homepage": "https://puckeditor.com",
|
4
8
|
"private": false,
|
5
9
|
"main": "./dist/index.js",
|
6
10
|
"types": "./dist/index.d.ts",
|
@@ -14,17 +18,18 @@
|
|
14
18
|
"dist"
|
15
19
|
],
|
16
20
|
"devDependencies": {
|
17
|
-
"@measured/puck": "^0.14.0-canary.
|
21
|
+
"@measured/puck": "^0.14.0-canary.f975d87",
|
18
22
|
"@types/react": "^18.2.0",
|
19
23
|
"@types/react-dom": "^18.2.0",
|
20
24
|
"eslint": "^7.32.0",
|
21
25
|
"eslint-config-custom": "*",
|
22
26
|
"tsconfig": "*",
|
27
|
+
"tsup": "^6.7.0",
|
23
28
|
"tsup-config": "*",
|
24
29
|
"typescript": "^4.5.2"
|
25
30
|
},
|
26
31
|
"dependencies": {
|
27
|
-
"react-from-json": "^0.
|
32
|
+
"react-from-json": "^0.8.0"
|
28
33
|
},
|
29
34
|
"peerDependencies": {
|
30
35
|
"react": "^17.0.0 || ^18.0.0"
|