@dreamcommerce/aurora 3.1.32-1 → 3.1.33-1
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/build/cjs/packages/aurora/src/components/modal/components/modal/modal_content.js +4 -2
- package/build/cjs/packages/aurora/src/components/modal/components/modal/modal_content.js.map +1 -1
- package/build/cjs/packages/aurora/src/components/modal/modal_variants.js +1 -1
- package/build/cjs/packages/aurora/src/components/resizable/components/resizable_container.js +1 -1
- package/build/cjs/packages/aurora/tailwind.config.js +4 -4
- package/build/esm/packages/aurora/src/components/modal/components/modal/modal_content.js +4 -2
- package/build/esm/packages/aurora/src/components/modal/components/modal/modal_content.js.map +1 -1
- package/build/esm/packages/aurora/src/components/modal/modal_variants.js +1 -1
- package/build/esm/packages/aurora/src/components/resizable/components/resizable_container.js +1 -1
- package/build/esm/packages/aurora/tailwind.config.js +4 -4
- package/build/index.css +1 -1
- package/build/tailwind.config.js +4 -4
- package/package.json +1 -1
|
@@ -32,7 +32,9 @@ var ModalContent = /*#__PURE__*/React__default['default'].forwardRef(function (_
|
|
|
32
32
|
var _useScroll = use_scroll.useScroll(contentRef),
|
|
33
33
|
atBottom = _useScroll.atBottom,
|
|
34
34
|
hasScroll = _useScroll.hasScroll;
|
|
35
|
-
return /*#__PURE__*/React__default['default'].createElement(
|
|
35
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
36
|
+
className: "aurora-fixed aurora-w-full aurora-h-full aurora-flex aurora-z-[1000] aurora-top-0 aurora-left-0 aurora-pointer-events-none"
|
|
37
|
+
}, /*#__PURE__*/React__default['default'].createElement(index.Content, {
|
|
36
38
|
onEscapeKeyDown: function onEscapeKeyDown(e) {
|
|
37
39
|
if (!closeOnEscButton) e.preventDefault();
|
|
38
40
|
},
|
|
@@ -59,7 +61,7 @@ var ModalContent = /*#__PURE__*/React__default['default'].forwardRef(function (_
|
|
|
59
61
|
className: cn.cn('', {
|
|
60
62
|
'aurora-border-t': hasScroll && !atBottom
|
|
61
63
|
})
|
|
62
|
-
}, footer)));
|
|
64
|
+
}, footer))));
|
|
63
65
|
});
|
|
64
66
|
ModalContent.displayName = 'ModalContent';
|
|
65
67
|
|
package/build/cjs/packages/aurora/src/components/modal/components/modal/modal_content.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,wEAA4E;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,oBAAoB,wEAA4E;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -6,7 +6,7 @@ var _rollupPluginBabelHelpers = require('../../../../../_virtual/_rollupPluginBa
|
|
|
6
6
|
var index = require('../../../../../external/class-variance-authority/dist/index.mjs.js');
|
|
7
7
|
var modal_constants = require('./modal_constants.js');
|
|
8
8
|
|
|
9
|
-
var modalVariants = index.cva('aurora-flex aurora-flex-col aurora-w-full aurora-max-h-[90vh] aurora-
|
|
9
|
+
var modalVariants = index.cva('aurora-flex aurora-flex-col aurora-w-full aurora-max-h-[90vh] aurora-bg aurora-rounded-16 aurora-shadow-xl data-[state=open]:aurora-animate-modal-slide-in data-[state=closed]:aurora-animate-modal-slide-out aurora-z-[1000] aurora-m-auto aurora-pointer-events-auto js__modal', {
|
|
10
10
|
variants: {
|
|
11
11
|
width: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, modal_constants.MODAL_WIDTH_VARIANT.s, 'aurora-max-w-[25rem]'), modal_constants.MODAL_WIDTH_VARIANT.m, 'aurora-max-w-[40rem]'), modal_constants.MODAL_WIDTH_VARIANT.l, 'aurora-max-w-[61rem]')
|
|
12
12
|
},
|
package/build/cjs/packages/aurora/src/components/resizable/components/resizable_container.js
CHANGED
|
@@ -34,7 +34,7 @@ var ResizableContainer = function ResizableContainer(_ref) {
|
|
|
34
34
|
return onResize(e, variant);
|
|
35
35
|
}
|
|
36
36
|
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37
|
-
className: "aurora-flex-1"
|
|
37
|
+
className: "aurora-flex-1 aurora-min-w-0"
|
|
38
38
|
}, children));
|
|
39
39
|
};
|
|
40
40
|
|
|
@@ -390,21 +390,21 @@ var tailwind_config = {
|
|
|
390
390
|
'modal-slide-in': {
|
|
391
391
|
from: {
|
|
392
392
|
opacity: '0',
|
|
393
|
-
transform: '
|
|
393
|
+
transform: 'translateY(-20vh)'
|
|
394
394
|
},
|
|
395
395
|
to: {
|
|
396
396
|
opacity: '1',
|
|
397
|
-
transform: '
|
|
397
|
+
transform: 'translateY(0%)'
|
|
398
398
|
}
|
|
399
399
|
},
|
|
400
400
|
'modal-slide-out': {
|
|
401
401
|
from: {
|
|
402
402
|
opacity: '1',
|
|
403
|
-
transform: '
|
|
403
|
+
transform: 'translateY(0%)'
|
|
404
404
|
},
|
|
405
405
|
to: {
|
|
406
406
|
opacity: '0',
|
|
407
|
-
transform: '
|
|
407
|
+
transform: 'translateY(-20vh)'
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
'toast-slide-in-from-right': {
|
|
@@ -24,7 +24,9 @@ var ModalContent = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
24
24
|
var _useScroll = useScroll(contentRef),
|
|
25
25
|
atBottom = _useScroll.atBottom,
|
|
26
26
|
hasScroll = _useScroll.hasScroll;
|
|
27
|
-
return /*#__PURE__*/React__default.createElement(
|
|
27
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
28
|
+
className: "aurora-fixed aurora-w-full aurora-h-full aurora-flex aurora-z-[1000] aurora-top-0 aurora-left-0 aurora-pointer-events-none"
|
|
29
|
+
}, /*#__PURE__*/React__default.createElement(Content, {
|
|
28
30
|
onEscapeKeyDown: function onEscapeKeyDown(e) {
|
|
29
31
|
if (!closeOnEscButton) e.preventDefault();
|
|
30
32
|
},
|
|
@@ -51,7 +53,7 @@ var ModalContent = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
51
53
|
className: cn('', {
|
|
52
54
|
'aurora-border-t': hasScroll && !atBottom
|
|
53
55
|
})
|
|
54
|
-
}, footer)));
|
|
56
|
+
}, footer))));
|
|
55
57
|
});
|
|
56
58
|
ModalContent.displayName = 'ModalContent';
|
|
57
59
|
|
package/build/esm/packages/aurora/src/components/modal/components/modal/modal_content.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA,wBAAwB,wEAA4E;AACpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,wBAAwB,wEAA4E;AACpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -2,7 +2,7 @@ import { defineProperty as _defineProperty } from '../../../../../_virtual/_roll
|
|
|
2
2
|
import { cva } from '../../../../../external/class-variance-authority/dist/index.mjs.js';
|
|
3
3
|
import { MODAL_WIDTH_VARIANT } from './modal_constants.js';
|
|
4
4
|
|
|
5
|
-
var modalVariants = cva('aurora-flex aurora-flex-col aurora-w-full aurora-max-h-[90vh] aurora-
|
|
5
|
+
var modalVariants = cva('aurora-flex aurora-flex-col aurora-w-full aurora-max-h-[90vh] aurora-bg aurora-rounded-16 aurora-shadow-xl data-[state=open]:aurora-animate-modal-slide-in data-[state=closed]:aurora-animate-modal-slide-out aurora-z-[1000] aurora-m-auto aurora-pointer-events-auto js__modal', {
|
|
6
6
|
variants: {
|
|
7
7
|
width: _defineProperty(_defineProperty(_defineProperty({}, MODAL_WIDTH_VARIANT.s, 'aurora-max-w-[25rem]'), MODAL_WIDTH_VARIANT.m, 'aurora-max-w-[40rem]'), MODAL_WIDTH_VARIANT.l, 'aurora-max-w-[61rem]')
|
|
8
8
|
},
|
|
@@ -386,21 +386,21 @@ var tailwind_config = {
|
|
|
386
386
|
'modal-slide-in': {
|
|
387
387
|
from: {
|
|
388
388
|
opacity: '0',
|
|
389
|
-
transform: '
|
|
389
|
+
transform: 'translateY(-20vh)'
|
|
390
390
|
},
|
|
391
391
|
to: {
|
|
392
392
|
opacity: '1',
|
|
393
|
-
transform: '
|
|
393
|
+
transform: 'translateY(0%)'
|
|
394
394
|
}
|
|
395
395
|
},
|
|
396
396
|
'modal-slide-out': {
|
|
397
397
|
from: {
|
|
398
398
|
opacity: '1',
|
|
399
|
-
transform: '
|
|
399
|
+
transform: 'translateY(0%)'
|
|
400
400
|
},
|
|
401
401
|
to: {
|
|
402
402
|
opacity: '0',
|
|
403
|
-
transform: '
|
|
403
|
+
transform: 'translateY(-20vh)'
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
406
|
'toast-slide-in-from-right': {
|