@measured/puck-plugin-heading-analyzer 0.14.0-canary.3df6d96 → 0.14.0-canary.53b7937
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -73014,6 +73014,7 @@ var require_dist = __commonJS({
|
|
73014
73014
|
!readOnly && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: getClassNameItem22("actions"), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: getClassNameItem22("action"), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
73015
73015
|
IconButton,
|
73016
73016
|
{
|
73017
|
+
disabled: field.min !== void 0 && field.min >= localState.arrayState.items.length,
|
73017
73018
|
onClick: (e2) => {
|
73018
73019
|
e2.stopPropagation();
|
73019
73020
|
const existingValue = [
|
@@ -73078,6 +73079,7 @@ var require_dist = __commonJS({
|
|
73078
73079
|
"button",
|
73079
73080
|
{
|
73080
73081
|
className: getClassName10("addButton"),
|
73082
|
+
disabled: field.max !== void 0 && localState.arrayState.items.length >= field.max,
|
73081
73083
|
onClick: () => {
|
73082
73084
|
const existingValue = value || [];
|
73083
73085
|
const newValue = [
|
@@ -73087,7 +73089,7 @@ var require_dist = __commonJS({
|
|
73087
73089
|
const newArrayState = regenerateArrayState(newValue);
|
73088
73090
|
onChange(newValue, mapArrayStateToUi(newArrayState));
|
73089
73091
|
},
|
73090
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Plus, { size:
|
73092
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Plus, { size: 21 })
|
73091
73093
|
}
|
73092
73094
|
)
|
73093
73095
|
]
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.14.0-canary.
|
3
|
+
"version": "0.14.0-canary.53b7937",
|
4
4
|
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"dist"
|
19
19
|
],
|
20
20
|
"devDependencies": {
|
21
|
-
"@measured/puck": "^0.14.0-canary.
|
21
|
+
"@measured/puck": "^0.14.0-canary.53b7937",
|
22
22
|
"@types/react": "^18.2.0",
|
23
23
|
"@types/react-dom": "^18.2.0",
|
24
24
|
"eslint": "^7.32.0",
|