@open-tender/store 0.5.18 → 0.5.19

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/dist/.DS_Store CHANGED
Binary file
@@ -28,7 +28,11 @@ var KioskActionType;
28
28
  })(KioskActionType = exports.KioskActionType || (exports.KioskActionType = {}));
29
29
  var enhanceTheme = function (theme) {
30
30
  var icons = tslib_1.__assign(tslib_1.__assign({}, theme.icons), { strokeLinejoin: 'miter', strokeLinecap: 'square' });
31
- return tslib_1.__assign(tslib_1.__assign({}, theme), { icons: icons });
31
+ var kiosk = {
32
+ padding: '10px',
33
+ gutter: '5px'
34
+ };
35
+ return tslib_1.__assign(tslib_1.__assign({}, theme), { icons: icons, kiosk: kiosk });
32
36
  };
33
37
  exports.fetchKioskConfig = (0, toolkit_1.createAsyncThunk)(KioskActionType.FetchKiosk, function (_a, _b) {
34
38
  var apiUrl = _a.apiUrl;
@@ -270,6 +270,10 @@ export interface TCItems {
270
270
  desktop: TCItem;
271
271
  mobile: TCItem;
272
272
  }
273
+ export interface TCKiosk {
274
+ padding: string;
275
+ gutter: string;
276
+ }
273
277
  export interface TCLayout {
274
278
  containerMaxWidth: string;
275
279
  headerHeightApp: string;
@@ -338,6 +342,7 @@ export interface ThemeCloud {
338
342
  icons: TCIcons;
339
343
  inputs: TCInputs;
340
344
  item: TCItems;
345
+ kiosk: TCKiosk;
341
346
  layout: TCLayout;
342
347
  lineHeight: TCLineHeight;
343
348
  links: TCLinks;
@@ -25,7 +25,11 @@ export var KioskActionType;
25
25
  })(KioskActionType || (KioskActionType = {}));
26
26
  var enhanceTheme = function (theme) {
27
27
  var icons = __assign(__assign({}, theme.icons), { strokeLinejoin: 'miter', strokeLinecap: 'square' });
28
- return __assign(__assign({}, theme), { icons: icons });
28
+ var kiosk = {
29
+ padding: '10px',
30
+ gutter: '5px'
31
+ };
32
+ return __assign(__assign({}, theme), { icons: icons, kiosk: kiosk });
29
33
  };
30
34
  export var fetchKioskConfig = createAsyncThunk(KioskActionType.FetchKiosk, function (_a, _b) {
31
35
  var apiUrl = _a.apiUrl;
@@ -270,6 +270,10 @@ export interface TCItems {
270
270
  desktop: TCItem;
271
271
  mobile: TCItem;
272
272
  }
273
+ export interface TCKiosk {
274
+ padding: string;
275
+ gutter: string;
276
+ }
273
277
  export interface TCLayout {
274
278
  containerMaxWidth: string;
275
279
  headerHeightApp: string;
@@ -338,6 +342,7 @@ export interface ThemeCloud {
338
342
  icons: TCIcons;
339
343
  inputs: TCInputs;
340
344
  item: TCItems;
345
+ kiosk: TCKiosk;
341
346
  layout: TCLayout;
342
347
  lineHeight: TCLineHeight;
343
348
  links: TCLinks;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
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",