@open-tender/store 1.1.205 → 1.1.207

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.
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
3
4
  var utils_1 = require("@open-tender/utils");
4
5
  var hooks_1 = require("../app/hooks");
5
6
  var slices_1 = require("../slices");
@@ -24,9 +25,10 @@ var ItemOption = function (_a) {
24
25
  return null;
25
26
  return children({
26
27
  config: config,
27
- handlers: { showNested: showNested },
28
+ handlers: tslib_1.__assign({ showNested: showNested }, handlers),
28
29
  group: group,
29
30
  option: modifier,
31
+ groupOption: option,
30
32
  apiUrl: apiUrl,
31
33
  placeholder: placeholder
32
34
  });
@@ -26,6 +26,7 @@ var ItemOptionSelected = function (_a) {
26
26
  config: config,
27
27
  handlers: { showNested: showNested },
28
28
  group: group,
29
+ groupOption: option,
29
30
  option: modifier,
30
31
  apiUrl: apiUrl
31
32
  });
@@ -1,3 +1,4 @@
1
+ import { __assign } from "tslib";
1
2
  import { useModifier } from '@open-tender/utils';
2
3
  import { useAppDispatch, useAppSelector } from '../app/hooks';
3
4
  import { selectKioskApi, selectKioskConfig, setCurrentOption } from '../slices';
@@ -22,9 +23,10 @@ var ItemOption = function (_a) {
22
23
  return null;
23
24
  return children({
24
25
  config: config,
25
- handlers: { showNested: showNested },
26
+ handlers: __assign({ showNested: showNested }, handlers),
26
27
  group: group,
27
28
  option: modifier,
29
+ groupOption: option,
28
30
  apiUrl: apiUrl,
29
31
  placeholder: placeholder
30
32
  });
@@ -24,6 +24,7 @@ var ItemOptionSelected = function (_a) {
24
24
  config: config,
25
25
  handlers: { showNested: showNested },
26
26
  group: group,
27
+ groupOption: option,
27
28
  option: modifier,
28
29
  apiUrl: apiUrl
29
30
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "1.1.205",
3
+ "version": "1.1.207",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -62,7 +62,7 @@
62
62
  "peerDependencies": {
63
63
  "@emotion/react": "^11.11.1",
64
64
  "@open-tender/types": "^0.4.85",
65
- "@open-tender/ui": "^0.4.19",
65
+ "@open-tender/ui": "^0.4.20",
66
66
  "@open-tender/utils": "^0.4.66",
67
67
  "@reduxjs/toolkit": "^2.0.1",
68
68
  "date-fns": "2.30.0",