@dreamcommerce/aurora 3.0.0-33 → 3.0.0-35

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.
@@ -13,14 +13,19 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
13
 
14
14
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
15
15
 
16
- var _excluded = ["className", "orientation", "color", "thickness", "style", "variant", "decorative"];
16
+ var _excluded = ["className", "orientation", "color", "thickness", "height", "maxHeight", "minHeight", "width", "maxWidth", "minWidth", "variant", "decorative"];
17
17
  var Divider = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, ref) {
18
18
  var className = _ref.className,
19
19
  _ref$orientation = _ref.orientation,
20
20
  orientation = _ref$orientation === void 0 ? divider_constants.DIVIDER_ORIENTATION.horizontal : _ref$orientation,
21
21
  color = _ref.color,
22
22
  thickness = _ref.thickness,
23
- style = _ref.style,
23
+ height = _ref.height,
24
+ maxHeight = _ref.maxHeight,
25
+ minHeight = _ref.minHeight,
26
+ width = _ref.width,
27
+ maxWidth = _ref.maxWidth,
28
+ minWidth = _ref.minWidth,
24
29
  variant = _ref.variant,
25
30
  _ref$decorative = _ref.decorative,
26
31
  decorative = _ref$decorative === void 0 ? true : _ref$decorative,
@@ -34,7 +39,14 @@ var Divider = /*#__PURE__*/React__default['default'].forwardRef(function (_ref,
34
39
  thickness: thickness,
35
40
  orientation: orientation
36
41
  }), className),
37
- style: style
42
+ style: {
43
+ height: height,
44
+ maxHeight: maxHeight,
45
+ minHeight: minHeight,
46
+ width: width,
47
+ maxWidth: maxWidth,
48
+ minWidth: minWidth
49
+ }
38
50
  }, props));
39
51
  });
40
52
  Divider.displayName = 'Divider';
@@ -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;"}
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;"}
@@ -68,6 +68,7 @@ var popover = require('./components/popover/popover.js');
68
68
  var popover_trigger = require('./components/popover/components/popover_trigger.js');
69
69
  var link_constants = require('./components/link/link_constants.js');
70
70
  var link = require('./components/link/link.js');
71
+ var use_modals_context = require('./components/modal/hooks/use_modals_context.js');
71
72
  var modal = require('./components/modal/components/modal/modal.js');
72
73
  var modals_manager = require('./components/modal/modals_manager.js');
73
74
 
@@ -154,6 +155,7 @@ exports.LINK_DECORATION_TYPES = link_constants.LINK_DECORATION_TYPES;
154
155
  exports.LINK_SIZE_TYPES = link_constants.LINK_SIZE_TYPES;
155
156
  exports.LINK_VARIANT_TYPES = link_constants.LINK_VARIANT_TYPES;
156
157
  exports.Link = link.Link;
158
+ exports.useModalsContext = use_modals_context.useModalsContext;
157
159
  exports.Modal = modal.Modal;
158
160
  exports.ModalsManager = modals_manager.ModalsManager;
159
161
  //# sourceMappingURL=index.js.map
@@ -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;"}
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;"}
@@ -5,14 +5,19 @@ import { DIVIDER_ORIENTATION } from './divider_constants.js';
5
5
  import { dividerVariants } from './divider_variants.js';
6
6
  import { Root } from '@radix-ui/react-separator';
7
7
 
8
- var _excluded = ["className", "orientation", "color", "thickness", "style", "variant", "decorative"];
8
+ var _excluded = ["className", "orientation", "color", "thickness", "height", "maxHeight", "minHeight", "width", "maxWidth", "minWidth", "variant", "decorative"];
9
9
  var Divider = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10
10
  var className = _ref.className,
11
11
  _ref$orientation = _ref.orientation,
12
12
  orientation = _ref$orientation === void 0 ? DIVIDER_ORIENTATION.horizontal : _ref$orientation,
13
13
  color = _ref.color,
14
14
  thickness = _ref.thickness,
15
- style = _ref.style,
15
+ height = _ref.height,
16
+ maxHeight = _ref.maxHeight,
17
+ minHeight = _ref.minHeight,
18
+ width = _ref.width,
19
+ maxWidth = _ref.maxWidth,
20
+ minWidth = _ref.minWidth,
16
21
  variant = _ref.variant,
17
22
  _ref$decorative = _ref.decorative,
18
23
  decorative = _ref$decorative === void 0 ? true : _ref$decorative,
@@ -26,7 +31,14 @@ var Divider = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
26
31
  thickness: thickness,
27
32
  orientation: orientation
28
33
  }), className),
29
- style: style
34
+ style: {
35
+ height: height,
36
+ maxHeight: maxHeight,
37
+ minHeight: minHeight,
38
+ width: width,
39
+ maxWidth: maxWidth,
40
+ minWidth: minWidth
41
+ }
30
42
  }, props));
31
43
  });
32
44
  Divider.displayName = 'Divider';
@@ -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;"}
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;"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { VariantProps } from 'class-variance-authority';
3
2
  import { dividerVariants } from "./divider_variants";
4
3
  import { SeparatorProps } from '@radix-ui/react-separator';
@@ -6,5 +5,10 @@ import { DIVIDER_ORIENTATION } from "./divider_constants";
6
5
  import { Any } from 'ts-toolbelt';
7
6
  export interface TDividerProps extends Omit<SeparatorProps, 'orientation'>, VariantProps<typeof dividerVariants> {
8
7
  orientation?: Any.Keys<typeof DIVIDER_ORIENTATION>;
9
- style?: React.CSSProperties;
8
+ height?: string;
9
+ maxHeight?: string;
10
+ minHeight?: string;
11
+ width?: string;
12
+ maxWidth?: string;
13
+ minWidth?: string;
10
14
  }
@@ -69,3 +69,4 @@ export { Link } from "./components/link/link";
69
69
  export { LINK_SIZE_TYPES, LINK_VARIANT_TYPES, LINK_DECORATION_TYPES } from "./components/link/link_constants";
70
70
  export { Modal } from './components/modal/components/modal/modal';
71
71
  export { ModalsManager } from "./components/modal/modals_manager";
72
+ export { useModalsContext } from "./components/modal/hooks/use_modals_context";
@@ -64,6 +64,7 @@ export { Popover } from './components/popover/popover.js';
64
64
  export { PopoverTrigger } from './components/popover/components/popover_trigger.js';
65
65
  export { LINK_DECORATION_TYPES, LINK_SIZE_TYPES, LINK_VARIANT_TYPES } from './components/link/link_constants.js';
66
66
  export { Link } from './components/link/link.js';
67
+ export { useModalsContext } from './components/modal/hooks/use_modals_context.js';
67
68
  export { Modal } from './components/modal/components/modal/modal.js';
68
69
  export { ModalsManager } from './components/modal/modals_manager.js';
69
70
  //# sourceMappingURL=index.js.map
@@ -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;"}
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;"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "3.0.0-33",
5
+ "version": "3.0.0-35",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",