@activecollab/components 1.0.177 → 1.0.178

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.
@@ -16,4 +16,43 @@ Object.keys(_Wizard).forEach(function (key) {
16
16
  }
17
17
  });
18
18
  });
19
+
20
+ var _WizardContext = require("./WizardContext");
21
+
22
+ Object.keys(_WizardContext).forEach(function (key) {
23
+ if (key === "default" || key === "__esModule") return;
24
+ if (key in exports && exports[key] === _WizardContext[key]) return;
25
+ Object.defineProperty(exports, key, {
26
+ enumerable: true,
27
+ get: function get() {
28
+ return _WizardContext[key];
29
+ }
30
+ });
31
+ });
32
+
33
+ var _Step = require("./Step");
34
+
35
+ Object.keys(_Step).forEach(function (key) {
36
+ if (key === "default" || key === "__esModule") return;
37
+ if (key in exports && exports[key] === _Step[key]) return;
38
+ Object.defineProperty(exports, key, {
39
+ enumerable: true,
40
+ get: function get() {
41
+ return _Step[key];
42
+ }
43
+ });
44
+ });
45
+
46
+ var _StepActionButton = require("./StepActionButton");
47
+
48
+ Object.keys(_StepActionButton).forEach(function (key) {
49
+ if (key === "default" || key === "__esModule") return;
50
+ if (key in exports && exports[key] === _StepActionButton[key]) return;
51
+ Object.defineProperty(exports, key, {
52
+ enumerable: true,
53
+ get: function get() {
54
+ return _StepActionButton[key];
55
+ }
56
+ });
57
+ });
19
58
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/Wizard/index.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./Wizard\";\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/components/Wizard/index.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./Wizard\";\nexport * from \"./WizardContext\";\nexport * from \"./Step\";\nexport * from \"./StepActionButton\";\n"],"file":"index.js"}
@@ -1,2 +1,5 @@
1
1
  export * from "./Wizard";
2
+ export * from "./WizardContext";
3
+ export * from "./Step";
4
+ export * from "./StepActionButton";
2
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Wizard/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Wizard/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC"}
@@ -1,2 +1,5 @@
1
1
  export * from "./Wizard";
2
+ export * from "./WizardContext";
3
+ export * from "./Step";
4
+ export * from "./StepActionButton";
2
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/Wizard/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAd","sourcesContent":["export * from \"./Wizard\";\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/components/Wizard/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAd;AACA,cAAc,iBAAd;AACA,cAAc,QAAd;AACA,cAAc,oBAAd","sourcesContent":["export * from \"./Wizard\";\nexport * from \"./WizardContext\";\nexport * from \"./Step\";\nexport * from \"./StepActionButton\";\n"],"file":"index.js"}
package/dist/index.js CHANGED
@@ -12515,7 +12515,10 @@
12515
12515
 
12516
12516
  var WizardContext = /*#__PURE__*/React.createContext({});
12517
12517
  var WizardContextProvider = WizardContext.Provider;
12518
- WizardContext.Consumer;
12518
+ var WizardContextConsumer = WizardContext.Consumer;
12519
+ var useWizardContext = function useWizardContext() {
12520
+ return React.useContext(WizardContext);
12521
+ };
12519
12522
 
12520
12523
  var Wizard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12521
12524
  var title = _ref.title,
@@ -12809,6 +12812,8 @@
12809
12812
  exports.SpinnerLoader = SpinnerLoader;
12810
12813
  exports.StarIcon = StarIcon$1;
12811
12814
  exports.StarOutlineIcon = StarOutlineIcon$1;
12815
+ exports.Step = Step;
12816
+ exports.StepActionButton = StepActionButton;
12812
12817
  exports.Steps = Steps;
12813
12818
  exports.SystemSettingsIcon = SystemSettingsIcon$1;
12814
12819
  exports.Table = Table;
@@ -12841,6 +12846,8 @@
12841
12846
  exports.WarningTriangleSmallIcon = WarningTriangleSmallIcon$1;
12842
12847
  exports.Window = Window;
12843
12848
  exports.Wizard = Wizard;
12849
+ exports.WizardContextConsumer = WizardContextConsumer;
12850
+ exports.WizardContextProvider = WizardContextProvider;
12844
12851
  exports.WorkloadIcon = WorkloadIcon$1;
12845
12852
  exports.YearMonthPicker = YearMonthPicker;
12846
12853
  exports.isOptionGroup = isOptionGroup;
@@ -12852,6 +12859,7 @@
12852
12859
  exports.useLayerContext = useLayerContext;
12853
12860
  exports.useMenuContext = useMenuContext;
12854
12861
  exports.useResizeObserver = useResizeObserver$1;
12862
+ exports.useWizardContext = useWizardContext;
12855
12863
 
12856
12864
  Object.defineProperty(exports, '__esModule', { value: true });
12857
12865