@procore/storybook-addon 4.6.0 → 4.7.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @procore/storybook-addon
2
2
 
3
+ ## 4.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 87aa6f4: [Upgrade Storybook to v10](https://storybook.js.org/docs/releases/migration-guide)
8
+
3
9
  ## 4.6.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -105,4 +105,4 @@ Please refer to [Storybook Docs](https://storybook.js.org/docs/react/configure/o
105
105
 
106
106
  ## Testing
107
107
 
108
- This addon should be tested by running `storybook` in `example-apps/react-ts` and `example-apps/react-core-scripts` apps.
108
+ This addon should be tested by running `storybook` in `example-apps/react-ts` app.
@@ -2846,7 +2846,7 @@ function Fn(e2) {
2846
2846
  )), r.setAttribute("data-s", ""), r;
2847
2847
  }
2848
2848
  o2(Fn, "createStyleElement");
2849
- var kr = /* @__PURE__ */ function() {
2849
+ var kr = /* @__PURE__ */ (function() {
2850
2850
  function e2(t2) {
2851
2851
  var n2 = this;
2852
2852
  this._insertTag = function(a2) {
@@ -2876,7 +2876,7 @@ var kr = /* @__PURE__ */ function() {
2876
2876
  return (a2 = n2.parentNode) == null ? void 0 : a2.removeChild(n2);
2877
2877
  }), this.tags = [], this.ctr = 0;
2878
2878
  }, "flush"), e2;
2879
- }();
2879
+ })();
2880
2880
  var z = "-ms-";
2881
2881
  var Re = "-moz-";
2882
2882
  var C = "-webkit-";
@@ -4399,7 +4399,7 @@ function ga() {
4399
4399
  }), n2;
4400
4400
  }
4401
4401
  o2(ga, "format");
4402
- var B = /* @__PURE__ */ function(e2) {
4402
+ var B = /* @__PURE__ */ (function(e2) {
4403
4403
  Pt(r, e2);
4404
4404
  function r(t2) {
4405
4405
  for (var n2, a2 = arguments.length, i2 = new Array(a2 > 1 ? a2 - 1 : 0), s2 = 1; s2 < a2; s2++)
@@ -4407,7 +4407,7 @@ var B = /* @__PURE__ */ function(e2) {
4407
4407
  return n2 = e2.call(this, ga.apply(void 0, [ha[t2]].concat(i2))) || this, It(n2);
4408
4408
  }
4409
4409
  return o2(r, "PolishedError"), r;
4410
- }(/* @__PURE__ */ Xe(Error));
4410
+ })(/* @__PURE__ */ Xe(Error));
4411
4411
  function Mt(e2, r) {
4412
4412
  return e2.substr(-r.length) === r;
4413
4413
  }
@@ -2602,7 +2602,7 @@ function Fn(e2) {
2602
2602
  )), r.setAttribute("data-s", ""), r;
2603
2603
  }
2604
2604
  o2(Fn, "createStyleElement");
2605
- var kr = /* @__PURE__ */ function() {
2605
+ var kr = /* @__PURE__ */ (function() {
2606
2606
  function e2(t2) {
2607
2607
  var n2 = this;
2608
2608
  this._insertTag = function(a2) {
@@ -2632,7 +2632,7 @@ var kr = /* @__PURE__ */ function() {
2632
2632
  return (a2 = n2.parentNode) == null ? void 0 : a2.removeChild(n2);
2633
2633
  }), this.tags = [], this.ctr = 0;
2634
2634
  }, "flush"), e2;
2635
- }();
2635
+ })();
2636
2636
  var z = "-ms-";
2637
2637
  var Re = "-moz-";
2638
2638
  var C = "-webkit-";
@@ -4155,7 +4155,7 @@ function ga() {
4155
4155
  }), n2;
4156
4156
  }
4157
4157
  o2(ga, "format");
4158
- var B = /* @__PURE__ */ function(e2) {
4158
+ var B = /* @__PURE__ */ (function(e2) {
4159
4159
  Pt(r, e2);
4160
4160
  function r(t2) {
4161
4161
  for (var n2, a2 = arguments.length, i2 = new Array(a2 > 1 ? a2 - 1 : 0), s2 = 1; s2 < a2; s2++)
@@ -4163,7 +4163,7 @@ var B = /* @__PURE__ */ function(e2) {
4163
4163
  return n2 = e2.call(this, ga.apply(void 0, [ha[t2]].concat(i2))) || this, It(n2);
4164
4164
  }
4165
4165
  return o2(r, "PolishedError"), r;
4166
- }(/* @__PURE__ */ Xe(Error));
4166
+ })(/* @__PURE__ */ Xe(Error));
4167
4167
  function Mt(e2, r) {
4168
4168
  return e2.substr(-r.length) === r;
4169
4169
  }
@@ -2846,7 +2846,7 @@ function Fn(e2) {
2846
2846
  )), r.setAttribute("data-s", ""), r;
2847
2847
  }
2848
2848
  o2(Fn, "createStyleElement");
2849
- var kr = /* @__PURE__ */ function() {
2849
+ var kr = /* @__PURE__ */ (function() {
2850
2850
  function e2(t2) {
2851
2851
  var n2 = this;
2852
2852
  this._insertTag = function(a2) {
@@ -2876,7 +2876,7 @@ var kr = /* @__PURE__ */ function() {
2876
2876
  return (a2 = n2.parentNode) == null ? void 0 : a2.removeChild(n2);
2877
2877
  }), this.tags = [], this.ctr = 0;
2878
2878
  }, "flush"), e2;
2879
- }();
2879
+ })();
2880
2880
  var z = "-ms-";
2881
2881
  var Re = "-moz-";
2882
2882
  var C = "-webkit-";
@@ -4399,7 +4399,7 @@ function ga() {
4399
4399
  }), n2;
4400
4400
  }
4401
4401
  o2(ga, "format");
4402
- var B = /* @__PURE__ */ function(e2) {
4402
+ var B = /* @__PURE__ */ (function(e2) {
4403
4403
  Pt(r, e2);
4404
4404
  function r(t2) {
4405
4405
  for (var n2, a2 = arguments.length, i2 = new Array(a2 > 1 ? a2 - 1 : 0), s2 = 1; s2 < a2; s2++)
@@ -4407,7 +4407,7 @@ var B = /* @__PURE__ */ function(e2) {
4407
4407
  return n2 = e2.call(this, ga.apply(void 0, [ha[t2]].concat(i2))) || this, It(n2);
4408
4408
  }
4409
4409
  return o2(r, "PolishedError"), r;
4410
- }(/* @__PURE__ */ Xe(Error));
4410
+ })(/* @__PURE__ */ Xe(Error));
4411
4411
  function Mt(e2, r) {
4412
4412
  return e2.substr(-r.length) === r;
4413
4413
  }
@@ -2602,7 +2602,7 @@ function Fn(e2) {
2602
2602
  )), r.setAttribute("data-s", ""), r;
2603
2603
  }
2604
2604
  o2(Fn, "createStyleElement");
2605
- var kr = /* @__PURE__ */ function() {
2605
+ var kr = /* @__PURE__ */ (function() {
2606
2606
  function e2(t2) {
2607
2607
  var n2 = this;
2608
2608
  this._insertTag = function(a2) {
@@ -2632,7 +2632,7 @@ var kr = /* @__PURE__ */ function() {
2632
2632
  return (a2 = n2.parentNode) == null ? void 0 : a2.removeChild(n2);
2633
2633
  }), this.tags = [], this.ctr = 0;
2634
2634
  }, "flush"), e2;
2635
- }();
2635
+ })();
2636
2636
  var z = "-ms-";
2637
2637
  var Re = "-moz-";
2638
2638
  var C = "-webkit-";
@@ -4155,7 +4155,7 @@ function ga() {
4155
4155
  }), n2;
4156
4156
  }
4157
4157
  o2(ga, "format");
4158
- var B = /* @__PURE__ */ function(e2) {
4158
+ var B = /* @__PURE__ */ (function(e2) {
4159
4159
  Pt(r, e2);
4160
4160
  function r(t2) {
4161
4161
  for (var n2, a2 = arguments.length, i2 = new Array(a2 > 1 ? a2 - 1 : 0), s2 = 1; s2 < a2; s2++)
@@ -4163,7 +4163,7 @@ var B = /* @__PURE__ */ function(e2) {
4163
4163
  return n2 = e2.call(this, ga.apply(void 0, [ha[t2]].concat(i2))) || this, It(n2);
4164
4164
  }
4165
4165
  return o2(r, "PolishedError"), r;
4166
- }(/* @__PURE__ */ Xe(Error));
4166
+ })(/* @__PURE__ */ Xe(Error));
4167
4167
  function Mt(e2, r) {
4168
4168
  return e2.substr(-r.length) === r;
4169
4169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/storybook-addon",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "Procore Storybook Configuration",
5
5
  "author": "Procore Technologies",
6
6
  "homepage": "https://github.com/procore/frontend-tooling#readme",
@@ -70,9 +70,9 @@
70
70
  "@babel/preset-react": "^7.23.3",
71
71
  "@babel/preset-typescript": "^7.23.3",
72
72
  "@babel/runtime": "^7.26.10",
73
- "@storybook/addon-a11y": "^9.1.5",
74
- "@storybook/addon-docs": "^9.1.5",
75
- "@storybook/addon-styling-webpack": "^2.0.0",
73
+ "@storybook/addon-a11y": "^10.1.5",
74
+ "@storybook/addon-docs": "^10.1.5",
75
+ "@storybook/addon-styling-webpack": "^3.0.0",
76
76
  "@svgr/webpack": "^6.5.1",
77
77
  "babel-plugin-named-asset-import": "^0.3.8",
78
78
  "babel-plugin-styled-components": "^2.1.4",