@dreamcommerce/aurora 3.0.0-95 → 3.0.0-97

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.
@@ -81,7 +81,7 @@ var useImagePicker = function useImagePicker(_ref) {
81
81
  setErrors([]);
82
82
  return isValid;
83
83
  }
84
- setErrors([].concat(_rollupPluginBabelHelpers.toConsumableArray(errors), [i18n['default'].t(image_picker_constants.IMAGE_PICKER_ERROR.invalidFileFormat)]));
84
+ setErrors([].concat(_rollupPluginBabelHelpers.toConsumableArray(errors), [i18n.i18n.t(image_picker_constants.IMAGE_PICKER_ERROR.invalidFileFormat)]));
85
85
  onError === null || onError === void 0 ? void 0 : onError(errors);
86
86
  return isValid;
87
87
  };
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
14
14
 
15
15
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
16
16
 
17
- var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled"];
17
+ var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled", "isDragging"];
18
18
  var TreeNode = function TreeNode(_ref) {
19
19
  var children = _ref.children,
20
20
  id = _ref.id,
@@ -22,6 +22,7 @@ var TreeNode = function TreeNode(_ref) {
22
22
  ContentComponent = _ref.ContentComponent,
23
23
  LabelComponent = _ref.LabelComponent,
24
24
  disabled = _ref.disabled,
25
+ isDragging = _ref.isDragging,
25
26
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
26
27
  var treeApi = tree_hook.useTree();
27
28
  var node = tree_node_hook.useTreeNode(id, rest);
@@ -32,20 +33,26 @@ var TreeNode = function TreeNode(_ref) {
32
33
  treeApi.toggleNode(node.id);
33
34
  };
34
35
  var Label = LabelComponent ? (/*#__PURE__*/React__default['default'].createElement("div", {
35
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
36
+ className: cn.cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
37
+ 'hover:aurora-bg-transparent': isDragging
38
+ })
36
39
  }, LabelComponent === null || LabelComponent === void 0 ? void 0 : LabelComponent({
37
40
  node: node,
38
41
  isLeaf: !children
39
42
  }))) : (/*#__PURE__*/React__default['default'].createElement("div", {
40
43
  tabIndex: !children ? 0 : -1,
41
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
44
+ className: cn.cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
45
+ 'hover:aurora-bg-transparent': isDragging
46
+ })
42
47
  }, node.label ? node.label : node.id));
43
48
  var Content = ContentComponent ? ContentComponent === null || ContentComponent === void 0 ? void 0 : ContentComponent({
44
49
  node: node,
45
50
  toggleNode: toggleNode,
46
51
  isLeaf: !childrenCount
47
52
  }) : (/*#__PURE__*/React__default['default'].createElement("div", {
48
- className: "aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover"
53
+ className: cn.cn('aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover', {
54
+ 'hover:aurora-bg-transparent': isDragging
55
+ })
49
56
  }, /*#__PURE__*/React__default['default'].createElement("button", {
50
57
  className: "aurora-flex aurora-items-center aurora-p-1 aurora-cursor-pointer",
51
58
  onClick: toggleNode
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -26,5 +26,5 @@ i18n.use(context.initReactI18next).init({
26
26
  }
27
27
  });
28
28
 
29
- exports.default = i18n;
29
+ exports.i18n = i18n;
30
30
  //# sourceMappingURL=i18n.js.map
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var i18n = require('./i18n.js');
5
6
  var accordion_constants = require('./components/accordion/accordion_constants.js');
6
7
  var css_background_tokens = require('./constants/css_tokens/css_background_tokens.js');
7
8
  var css_border_color_tokens = require('./constants/css_tokens/css_border_color_tokens.js');
@@ -90,6 +91,8 @@ var control = require('./components/control/control.js');
90
91
  var switch_control = require('./components/controls/switch_control/switch_control.js');
91
92
  var input = require('./components/input/input.js');
92
93
  var input_control = require('./components/controls/input_control/input_control.js');
94
+ var color_picker_constants = require('./components/color_picker/color_picker_constants.js');
95
+ var color_picker_utils = require('./components/color_picker/color_picker_utils.js');
93
96
  var color_picker = require('./components/color_picker/color_picker.js');
94
97
  var color_picker_control = require('./components/controls/color_picker_control/color_picker_control.js');
95
98
  var checkbox = require('./components/checkbox/checkbox.js');
@@ -115,6 +118,7 @@ var tree_node = require('./components/tree/components/tree_node.js');
115
118
 
116
119
 
117
120
 
121
+ exports.i18n = i18n.i18n;
118
122
  exports.ACCORDION_SIZES = accordion_constants.ACCORDION_SIZES;
119
123
  exports.CSS_BACKGROUND_TOKENS = css_background_tokens.CSS_BACKGROUND_TOKENS;
120
124
  exports.CSS_BORDER_COLOR_TOKENS = css_border_color_tokens.CSS_BORDER_COLOR_TOKENS;
@@ -221,6 +225,8 @@ exports.Control = control.Control;
221
225
  exports.SwitchControl = switch_control.SwitchControl;
222
226
  exports.Input = input.Input;
223
227
  exports.InputControl = input_control.InputControl;
228
+ exports.GRADIENT_TYPES = color_picker_constants.GRADIENT_TYPES;
229
+ exports.ColorPickerUtils = color_picker_utils.ColorPickerUtils;
224
230
  exports.ColorPicker = color_picker.ColorPicker;
225
231
  exports.ColorPickerControl = color_picker_control.ColorPickerControl;
226
232
  exports.Checkbox = checkbox.Checkbox;
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,5 +1,5 @@
1
1
  import { useState, useRef, useEffect } from 'react';
2
- import i18n from '../../i18n.js';
2
+ import { i18n } from '../../i18n.js';
3
3
  import { slicedToArray as _slicedToArray, toConsumableArray as _toConsumableArray } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
4
4
  import { MIME_TYPE_TO_FILE_EXTENSIONS, IMAGE_PICKER_ERROR } from './image_picker_constants.js';
5
5
 
@@ -17,6 +17,7 @@ declare type TTreeNodeProps = TPropsWithChildren<ITreeNode & {
17
17
  expandIcon?: React.ReactNode;
18
18
  LabelComponent?: (props: TTreeLabelComponentProps) => React.ReactNode;
19
19
  ContentComponent?: (props: TTreeContentComponentProps) => React.ReactNode;
20
+ isDragging?: boolean;
20
21
  }>;
21
- export declare const TreeNode: ({ children, id, cssClassNames, ContentComponent, LabelComponent, disabled, ...rest }: TTreeNodeProps) => React.JSX.Element | null;
22
+ export declare const TreeNode: ({ children, id, cssClassNames, ContentComponent, LabelComponent, disabled, isDragging, ...rest }: TTreeNodeProps) => React.JSX.Element | null;
22
23
  export default TreeNode;
@@ -6,7 +6,7 @@ import { CSSTransition } from 'react-transition-group';
6
6
  import { useTree } from '../hooks/tree_hook.js';
7
7
  import { useTreeNode } from '../hooks/tree_node_hook.js';
8
8
 
9
- var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled"];
9
+ var _excluded = ["children", "id", "cssClassNames", "ContentComponent", "LabelComponent", "disabled", "isDragging"];
10
10
  var TreeNode = function TreeNode(_ref) {
11
11
  var children = _ref.children,
12
12
  id = _ref.id,
@@ -14,6 +14,7 @@ var TreeNode = function TreeNode(_ref) {
14
14
  ContentComponent = _ref.ContentComponent,
15
15
  LabelComponent = _ref.LabelComponent,
16
16
  disabled = _ref.disabled,
17
+ isDragging = _ref.isDragging,
17
18
  rest = _objectWithoutProperties(_ref, _excluded);
18
19
  var treeApi = useTree();
19
20
  var node = useTreeNode(id, rest);
@@ -24,20 +25,26 @@ var TreeNode = function TreeNode(_ref) {
24
25
  treeApi.toggleNode(node.id);
25
26
  };
26
27
  var Label = LabelComponent ? (/*#__PURE__*/React.createElement("div", {
27
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
28
+ className: cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
29
+ 'hover:aurora-bg-transparent': isDragging
30
+ })
28
31
  }, LabelComponent === null || LabelComponent === void 0 ? void 0 : LabelComponent({
29
32
  node: node,
30
33
  isLeaf: !children
31
34
  }))) : (/*#__PURE__*/React.createElement("div", {
32
35
  tabIndex: !children ? 0 : -1,
33
- className: "aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover"
36
+ className: cn('aurora-w-full aurora-px-2 aurora-rounded-4 hover:aurora-bg-hover', {
37
+ 'hover:aurora-bg-transparent': isDragging
38
+ })
34
39
  }, node.label ? node.label : node.id));
35
40
  var Content = ContentComponent ? ContentComponent === null || ContentComponent === void 0 ? void 0 : ContentComponent({
36
41
  node: node,
37
42
  toggleNode: toggleNode,
38
43
  isLeaf: !childrenCount
39
44
  }) : (/*#__PURE__*/React.createElement("div", {
40
- className: "aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover"
45
+ className: cn('aurora-flex aurora-items-center aurora-rounded-4 hover:aurora-bg-hover', {
46
+ 'hover:aurora-bg-transparent': isDragging
47
+ })
41
48
  }, /*#__PURE__*/React.createElement("button", {
42
49
  className: "aurora-flex aurora-items-center aurora-p-1 aurora-cursor-pointer",
43
50
  onClick: toggleNode
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,2 +1 @@
1
- declare const i18n: import("i18next").i18n;
2
- export default i18n;
1
+ export declare const i18n: import("i18next").i18n;
@@ -22,5 +22,5 @@ i18n.use(initReactI18next).init({
22
22
  }
23
23
  });
24
24
 
25
- export default i18n;
25
+ export { i18n };
26
26
  //# sourceMappingURL=i18n.js.map
@@ -1,5 +1,5 @@
1
1
  import './i18n';
2
- export * from './i18n';
2
+ export { i18n } from './i18n';
3
3
  export { Accordion } from "./components/accordion/accordion";
4
4
  export { AccordionContent } from "./components/accordion/components/accordion_content";
5
5
  export { AccordionItem } from "./components/accordion/components/accordion_item";
@@ -90,6 +90,8 @@ export { InputControl } from './components/controls/input_control/input_control'
90
90
  export { ColorPicker } from "./components/color_picker/color_picker";
91
91
  export { ColorPickerControl } from './components/controls/color_picker_control/color_picker_control';
92
92
  export { IColorPickerColor } from "./components/color_picker/color_picker_types";
93
+ export { GRADIENT_TYPES } from "./components/color_picker/color_picker_constants";
94
+ export { ColorPickerUtils } from "./components/color_picker/color_picker_utils";
93
95
  export { Checkbox } from "./components/checkbox/checkbox";
94
96
  export { CheckboxControl } from './components/controls/checkbox_control/checkbox_control';
95
97
  export { Select } from "./components/select/select";
@@ -102,7 +104,7 @@ export { TextArea } from "./components/text_area/text_area";
102
104
  export { TextAreaControl } from "./components/controls/text_area_control/text_area_control";
103
105
  export { Control } from "./components/control/control";
104
106
  export { ControlsGroup } from "./components/controls/controls_group/controls_group";
105
- export { IImagePicker, TImageSize, TImagePickerExtension } from "./components/image_picker/image_picker_types";
107
+ export { IImagePicker, TImageSize, TImagePickerExtension, TImagePickerFile } from "./components/image_picker/image_picker_types";
106
108
  export { ImagePicker } from "./components/image_picker/image_picker";
107
109
  export { XhrImagePicker } from "./components/xhr_image_picker/xhr_image_picker";
108
110
  export { XhrImagePickerControl } from "./components/controls/xhr_image_picker_control/xhr_image_picker_control";
@@ -1,3 +1,4 @@
1
+ export { i18n } from './i18n.js';
1
2
  export { ACCORDION_SIZES } from './components/accordion/accordion_constants.js';
2
3
  export { CSS_BACKGROUND_TOKENS } from './constants/css_tokens/css_background_tokens.js';
3
4
  export { CSS_BORDER_COLOR_TOKENS } from './constants/css_tokens/css_border_color_tokens.js';
@@ -86,6 +87,8 @@ export { Control } from './components/control/control.js';
86
87
  export { SwitchControl } from './components/controls/switch_control/switch_control.js';
87
88
  export { Input } from './components/input/input.js';
88
89
  export { InputControl } from './components/controls/input_control/input_control.js';
90
+ export { GRADIENT_TYPES } from './components/color_picker/color_picker_constants.js';
91
+ export { ColorPickerUtils } from './components/color_picker/color_picker_utils.js';
89
92
  export { ColorPicker } from './components/color_picker/color_picker.js';
90
93
  export { ColorPickerControl } from './components/controls/color_picker_control/color_picker_control.js';
91
94
  export { Checkbox } from './components/checkbox/checkbox.js';
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { I18nextProvider } from 'react-i18next';
3
3
  import '@auroraUtilities/translation/translation_types';
4
- import i18n from '../../i18n';
4
+ import { i18n } from '../../i18n';
5
5
  export const withTranslation = (ChildComponent) => (props) => {
6
6
  return (
7
7
  // TOOD
@@ -1 +1 @@
1
- {"version":3,"file":"with_translation.js","sourceRoot":"","sources":["../../../../../../../src/utilities/translation/with_translation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAiC,gDAAgD,CAAC;AAClF,OAAO,IAAI,MAAM,YAAY,CAAC;AAE9B,MAAM,CAAC,MAAM,eAAe,GAAqB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3E,OAAO;IACH,OAAO;IACP,YAAY;IACZ,oBAAC,eAAe,IAAC,IAAI,EAAE,IAAI;QACvB,oBAAC,cAAc,OAAK,KAAK,GAAI,CACf,CACrB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"with_translation.js","sourceRoot":"","sources":["../../../../../../../src/utilities/translation/with_translation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAiC,gDAAgD,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,MAAM,CAAC,MAAM,eAAe,GAAqB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3E,OAAO;IACH,OAAO;IACP,YAAY;IACZ,oBAAC,eAAe,IAAC,IAAI,EAAE,IAAI;QACvB,oBAAC,cAAc,OAAK,KAAK,GAAI,CACf,CACrB,CAAC;AACN,CAAC,CAAC"}