@measured/puck-plugin-heading-analyzer 0.14.1-canary.5c05f94 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -76495,6 +76495,7 @@ var require_dist2 = __commonJS({
76495
76495
  onViewportChange,
76496
76496
  onZoom
76497
76497
  }) => {
76498
+ var _a, _b;
76498
76499
  const { viewports } = useAppContext2();
76499
76500
  const defaultsContainAutoZoom = defaultZoomOptions.find(
76500
76501
  (option) => option.value === autoZoom
@@ -76528,7 +76529,7 @@ var require_dist2 = __commonJS({
76528
76529
  IconButton,
76529
76530
  {
76530
76531
  title: "Zoom viewport out",
76531
- disabled: zoom <= zoomOptions[0].value,
76532
+ disabled: zoom <= ((_a = zoomOptions[0]) == null ? void 0 : _a.value),
76532
76533
  onClick: (e2) => {
76533
76534
  e2.stopPropagation();
76534
76535
  onZoom(
@@ -76545,7 +76546,7 @@ var require_dist2 = __commonJS({
76545
76546
  IconButton,
76546
76547
  {
76547
76548
  title: "Zoom viewport in",
76548
- disabled: zoom >= zoomOptions[zoomOptions.length - 1].value,
76549
+ disabled: zoom >= ((_b = zoomOptions[zoomOptions.length - 1]) == null ? void 0 : _b.value),
76549
76550
  onClick: (e2) => {
76550
76551
  e2.stopPropagation();
76551
76552
  onZoom(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.14.1-canary.5c05f94",
3
+ "version": "0.14.1",
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.1-canary.5c05f94",
21
+ "@measured/puck": "^0.14.1",
22
22
  "@types/react": "^18.2.0",
23
23
  "@types/react-dom": "^18.2.0",
24
24
  "eslint": "^7.32.0",