@prom-ui/core 2.3.0 → 2.4.1-alpha.0
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/Avatar/package.json +1 -1
- package/Backdrop/cjs/index.development.js +15 -15
- package/Backdrop/cjs/index.development.v2.js +15 -15
- package/Backdrop/cjs/index.production.js +1 -1
- package/Backdrop/cjs/index.production.v2.js +1 -1
- package/Backdrop/cjs/style.development.css +43 -33
- package/Backdrop/cjs/style.development.v2.css +43 -33
- package/Backdrop/cjs/style.production.css +1 -1
- package/Backdrop/cjs/style.production.v2.css +1 -1
- package/Backdrop/package.json +1 -1
- package/Badge/package.json +1 -1
- package/Body/cjs/style.development.css +93 -115
- package/Body/cjs/style.development.v2.css +93 -115
- package/Body/cjs/style.production.css +1 -1
- package/Body/cjs/style.production.v2.css +1 -1
- package/Body/package.json +1 -1
- package/BodyProvider/package.json +1 -1
- package/BodyScrollLock/package.json +1 -1
- package/Box/cjs/style.development.css +11929 -12379
- package/Box/cjs/style.development.v2.css +11929 -12379
- package/Box/cjs/style.production.css +1 -1
- package/Box/cjs/style.production.v2.css +1 -1
- package/Box/package.json +1 -1
- package/Button/cjs/style.development.css +5141 -5989
- package/Button/cjs/style.development.v2.css +5141 -5989
- package/Button/cjs/style.production.css +1 -1
- package/Button/cjs/style.production.v2.css +1 -1
- package/Button/package.json +1 -1
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/cjs/index.development.js +15 -15
- package/Checkbox/cjs/index.development.v2.js +15 -15
- package/Checkbox/cjs/index.production.js +1 -1
- package/Checkbox/cjs/index.production.v2.js +1 -1
- package/Checkbox/cjs/style.development.css +175 -170
- package/Checkbox/cjs/style.development.v2.css +175 -170
- package/Checkbox/cjs/style.production.css +1 -1
- package/Checkbox/cjs/style.production.v2.css +1 -1
- package/Checkbox/package.json +1 -1
- package/ColorScheme/package.json +1 -1
- package/ContextMenu/package.json +1 -1
- package/ErrorCatch/package.json +1 -1
- package/Flex/cjs/style.development.css +2 -2
- package/Flex/cjs/style.development.v2.css +2 -2
- package/Flex/package.json +1 -1
- package/Grid/cjs/style.development.css +63 -81
- package/Grid/cjs/style.development.v2.css +63 -81
- package/Grid/cjs/style.production.css +1 -1
- package/Grid/cjs/style.production.v2.css +1 -1
- package/Grid/package.json +1 -1
- package/Icon/package.json +1 -1
- package/Image/cjs/style.development.css +133 -143
- package/Image/cjs/style.development.v2.css +133 -143
- package/Image/cjs/style.production.css +1 -1
- package/Image/cjs/style.production.v2.css +1 -1
- package/Image/package.json +1 -1
- package/ImageEmoji/package.json +1 -1
- package/Input/package.json +1 -1
- package/InputField/package.json +1 -1
- package/KeyPress/package.json +1 -1
- package/Label/package.json +1 -1
- package/Line/cjs/style.development.css +56 -104
- package/Line/cjs/style.development.v2.css +56 -104
- package/Line/cjs/style.production.css +1 -1
- package/Line/cjs/style.production.v2.css +1 -1
- package/Line/package.json +1 -1
- package/Link/cjs/style.development.css +116 -176
- package/Link/cjs/style.development.v2.css +116 -176
- package/Link/cjs/style.production.css +1 -1
- package/Link/cjs/style.production.v2.css +1 -1
- package/Link/package.json +1 -1
- package/List/cjs/style.development.css +129 -169
- package/List/cjs/style.development.v2.css +129 -169
- package/List/cjs/style.production.css +1 -1
- package/List/cjs/style.production.v2.css +1 -1
- package/List/package.json +1 -1
- package/Media/package.json +1 -1
- package/Modal/package.json +1 -1
- package/OutsideClick/package.json +1 -1
- package/Overlay/package.json +1 -1
- package/PhotoGallery/cjs/index.development.js +38 -11
- package/PhotoGallery/cjs/index.development.v2.js +38 -11
- package/PhotoGallery/cjs/index.production.js +1 -1
- package/PhotoGallery/cjs/index.production.v2.js +1 -1
- package/PhotoGallery/cjs/style.development.css +79 -71
- package/PhotoGallery/cjs/style.development.v2.css +79 -71
- package/PhotoGallery/cjs/style.production.css +1 -1
- package/PhotoGallery/cjs/style.production.v2.css +1 -1
- package/PhotoGallery/components/SlotContainer.d.ts +7 -1
- package/PhotoGallery/index.d.ts +2 -0
- package/PhotoGallery/package.json +1 -1
- package/Picture/cjs/style.development.css +737 -769
- package/Picture/cjs/style.development.v2.css +737 -769
- package/Picture/cjs/style.production.css +1 -1
- package/Picture/cjs/style.production.v2.css +1 -1
- package/Picture/package.json +1 -1
- package/Portal/package.json +1 -1
- package/Progress/package.json +1 -1
- package/QRCode/package.json +1 -1
- package/Rating/package.json +1 -1
- package/RatingSelect/package.json +1 -1
- package/Scroll/package.json +1 -1
- package/ScrollControls/cjs/style.development.css +1 -1
- package/ScrollControls/cjs/style.development.v2.css +1 -1
- package/ScrollControls/package.json +1 -1
- package/SimpleSlider/cjs/style.development.css +6 -9
- package/SimpleSlider/cjs/style.development.v2.css +6 -9
- package/SimpleSlider/cjs/style.production.css +1 -1
- package/SimpleSlider/cjs/style.production.v2.css +1 -1
- package/SimpleSlider/package.json +1 -1
- package/Skeleton/package.json +1 -1
- package/SnackBar/cjs/index.development.js +15 -15
- package/SnackBar/cjs/index.development.v2.js +15 -15
- package/SnackBar/cjs/index.production.js +1 -1
- package/SnackBar/cjs/index.production.v2.js +1 -1
- package/SnackBar/cjs/style.development.css +111 -135
- package/SnackBar/cjs/style.development.v2.css +111 -135
- package/SnackBar/cjs/style.production.css +1 -1
- package/SnackBar/cjs/style.production.v2.css +1 -1
- package/SnackBar/package.json +1 -1
- package/Spinner/package.json +1 -1
- package/Text/cjs/style.development.css +275 -441
- package/Text/cjs/style.development.v2.css +275 -441
- package/Text/cjs/style.production.css +1 -1
- package/Text/cjs/style.production.v2.css +1 -1
- package/Text/package.json +1 -1
- package/TextEmoji/package.json +1 -1
- package/Tooltip/package.json +1 -1
- package/Tumbler/cjs/style.development.css +22 -22
- package/Tumbler/cjs/style.development.v2.css +22 -22
- package/Tumbler/cjs/style.production.css +1 -1
- package/Tumbler/cjs/style.production.v2.css +1 -1
- package/Tumbler/package.json +1 -1
- package/Viewport/package.json +1 -1
- package/evokit/package.json +1 -1
- package/evokit/types.d.ts +3 -3
- package/package.json +3 -3
- package/useBrowserLayoutEffect/package.json +1 -1
- package/useDebounce/package.json +1 -1
- package/useForwardRef/package.json +1 -1
- package/useInView/package.json +1 -1
- package/useIsMounted/package.json +1 -1
- package/useKeyPress/package.json +1 -1
- package/useMedia/package.json +1 -1
- package/useOutsideClick/package.json +1 -1
- package/usePortal/package.json +1 -1
- package/useScrollPosition/package.json +1 -1
- package/useSnackBar/package.json +1 -1
|
@@ -14,21 +14,21 @@ var useForwardRef = require('@prom-ui/core/useForwardRef');
|
|
|
14
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
15
15
|
|
|
16
16
|
function _interopNamespaceCompat(e) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
});
|
|
27
|
-
}
|
|
17
|
+
if (e && typeof e === 'object' && 'default' in e) return e;
|
|
18
|
+
var n = Object.create(null);
|
|
19
|
+
if (e) {
|
|
20
|
+
Object.keys(e).forEach(function (k) {
|
|
21
|
+
if (k !== 'default') {
|
|
22
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
23
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return e[k]; }
|
|
28
26
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
n.default = e;
|
|
31
|
+
return Object.freeze(n);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
var _extends__default = /*#__PURE__*/_interopDefaultCompat(_extends);
|
|
@@ -37,7 +37,7 @@ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultCompat(_obje
|
|
|
37
37
|
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
38
38
|
var classNames__default = /*#__PURE__*/_interopDefaultCompat(classNames);
|
|
39
39
|
|
|
40
|
-
var css = {"root":"
|
|
40
|
+
var css = {"root":"SnackBar__root___KYIW0","content":"SnackBar__content___F8zNR","root_position_top-center":"SnackBar__root_position_top-center___I5Lmf","root_position_bottom-center":"SnackBar__root_position_bottom-center___QB4Ps","root_position_top-left":"SnackBar__root_position_top-left___QJETh","root_position_top-right":"SnackBar__root_position_top-right___vHlAp","root_position_bottom-left":"SnackBar__root_position_bottom-left___cU3cS","root_position_bottom-right":"SnackBar__root_position_bottom-right___dlDmS","enterActive":"SnackBar__enterActive___mLVVo","exitActive":"SnackBar__exitActive___5JFKS","enter":"SnackBar__enter___Rlx0S","exit":"SnackBar__exit___B32cZ"};
|
|
41
41
|
|
|
42
42
|
var _excluded = ["isOpen", "onClose", "onOpened", "onClosed", "children", "className", "style", "position", "zIndex", "padding", "autoCloseDelay", "isRenderPortal"];
|
|
43
43
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/extends"),t=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),o=require("react"),n=require("clsx"),i=require("react-transition-group"),c=require("@prom-ui/core/Portal"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/extends"),t=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),o=require("react"),n=require("clsx"),i=require("react-transition-group"),c=require("@prom-ui/core/Portal"),u=require("@prom-ui/core/useForwardRef");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function s(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var l=a(e),f=a(t),p=a(r),d=s(o),b=a(n),y={root:"zviPe",content:"v4tgu","root_position_top-center":"TR90b","root_position_bottom-center":"YlR9W","root_position_top-left":"QBAq1","root_position_top-right":"DzSIt","root_position_bottom-left":"ZNKwU","root_position_bottom-right":"DvkY7",enterActive:"b-sYk",exitActive:"CXTc9",enter:"V8HbR",exit:"FAqxX"},O=["isOpen","onClose","onOpened","onClosed","children","className","style","position","zIndex","padding","autoCloseDelay","isRenderPortal"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){f.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=d.forwardRef((function(e,t){var r=e.isOpen,o=e.onClose,n=e.onOpened,a=e.onClosed,s=e.children,f=e.className,m=e.style,j=e.position,g=void 0===j?"bottom-center":j,P=e.zIndex,_=void 0===P?5e3:P,h=e.padding,x=void 0===h?"12px 16px":h,E=e.autoCloseDelay,q=void 0===E?2e3:E,w=e.isRenderPortal,R=void 0===w||w,C=p.default(e,O),D=u.useForwardRef(t,null),k=d.useRef(!1),N=d.useRef(void 0),S=g?y["root_position_".concat(g)]:void 0,z=function(){clearTimeout(N.current)},A=function(){k.current=!1,z(),q>0&&(N.current=setTimeout((function(){k.current=!0,"function"==typeof o&&o()}),q))},T=function(){z()},I=function(){"function"==typeof n&&n(),A()};return d.useEffect((function(){return r&&I(),function(){T()}}),[]),d.createElement(i.CSSTransition,{nodeRef:D,in:r,timeout:125,classNames:y,unmountOnExit:!0,onEntered:I,onExit:T,onExited:function(){"function"==typeof a&&a({isAutoClose:k.current})}},d.createElement(c.Portal,{isActive:R},d.createElement("div",l.default({className:b.default(y.root,S),ref:D,style:{zIndex:_},role:"presentation","data-testid":"snackbar","data-qaid":"snackbar","data-pds-color-scheme":"light"},C),d.createElement("div",{className:b.default(y.content,f),style:v({padding:x},m),role:"alert",onMouseEnter:z,onMouseLeave:A},s))))}));j.displayName="SnackBar",exports.SnackBar=j,require("./style.production.css");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/extends"),t=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),o=require("react"),n=require("clsx"),i=require("react-transition-group"),c=require("@prom-ui/core/Portal"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/extends"),t=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),o=require("react"),n=require("clsx"),i=require("react-transition-group"),c=require("@prom-ui/core/Portal"),u=require("@prom-ui/core/useForwardRef");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function s(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var l=a(e),f=a(t),p=a(r),d=s(o),b=a(n),m={root:"KYIW0",content:"F8zNR","root_position_top-center":"I5Lmf","root_position_bottom-center":"QB4Ps","root_position_top-left":"QJETh","root_position_top-right":"vHlAp","root_position_bottom-left":"cU3cS","root_position_bottom-right":"dlDmS",enterActive:"mLVVo",exitActive:"_5JFKS",enter:"Rlx0S",exit:"B32cZ"},y=["isOpen","onClose","onOpened","onClosed","children","className","style","position","zIndex","padding","autoCloseDelay","isRenderPortal"];function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){f.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=d.forwardRef((function(e,t){var r=e.isOpen,o=e.onClose,n=e.onOpened,a=e.onClosed,s=e.children,f=e.className,O=e.style,j=e.position,P=void 0===j?"bottom-center":j,g=e.zIndex,_=void 0===g?5e3:g,h=e.padding,x=void 0===h?"12px 16px":h,E=e.autoCloseDelay,q=void 0===E?2e3:E,w=e.isRenderPortal,R=void 0===w||w,S=p.default(e,y),C=u.useForwardRef(t,null),D=d.useRef(!1),N=d.useRef(void 0),k=P?m["root_position_".concat(P)]:void 0,z=function(){clearTimeout(N.current)},A=function(){D.current=!1,z(),q>0&&(N.current=setTimeout((function(){D.current=!0,"function"==typeof o&&o()}),q))},I=function(){z()},B=function(){"function"==typeof n&&n(),A()};return d.useEffect((function(){return r&&B(),function(){I()}}),[]),d.createElement(i.CSSTransition,{nodeRef:C,in:r,timeout:125,classNames:m,unmountOnExit:!0,onEntered:B,onExit:I,onExited:function(){"function"==typeof a&&a({isAutoClose:D.current})}},d.createElement(c.Portal,{isActive:R},d.createElement("div",l.default({className:b.default(m.root,k),ref:C,style:{zIndex:_},role:"presentation","data-testid":"snackbar","data-qaid":"snackbar","data-pds-color-scheme":"light"},S),d.createElement("div",{className:b.default(m.content,f),style:v({padding:x},O),role:"alert",onMouseEnter:z,onMouseLeave:A},s))))}));j.displayName="SnackBar",exports.SnackBar=j,require("./style.production.v2.css");
|
|
@@ -1,161 +1,137 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@media (color-index: 48) {
|
|
33
|
-
[data-pds-color-scheme='auto']:root .SnackBar__content___iYzO5 {
|
|
34
|
-
background: #404040;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@media (color: 48842621) {
|
|
39
|
-
[data-pds-color-scheme='auto']:root .SnackBar__content___iYzO5 {
|
|
40
|
-
background: #404040;
|
|
41
|
-
}
|
|
1
|
+
.SnackBar__root___zviPe {
|
|
2
|
+
--pds-snackbar-scale-entered: 1;
|
|
3
|
+
--pds-snackbar-scale-exited: 0.9;
|
|
4
|
+
--pds-snackbar-opacity-entered: 1;
|
|
5
|
+
--pds-snackbar-opacity-exited: 0;
|
|
6
|
+
--pds-snackbar-transition-duration: 125ms;
|
|
7
|
+
--pds-snackbar-root-margin: var(--pds-global-snackbar-root-margin, 20px);
|
|
8
|
+
--pds-snackbar-background: var(--black-900);
|
|
9
|
+
position: fixed;
|
|
10
|
+
transform: none;
|
|
11
|
+
padding: var(--pds-snackbar-root-margin);
|
|
12
|
+
width: -moz-max-content;
|
|
13
|
+
width: max-content;
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-pds-color-scheme=dark] .SnackBar__root___zviPe {
|
|
20
|
+
--pds-snackbar-background: #404040;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.SnackBar__content___v4tgu {
|
|
24
|
+
background: var(--pds-snackbar-background);
|
|
25
|
+
color: var(--white);
|
|
26
|
+
border-radius: var(--pds-round-m);
|
|
27
|
+
box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.1411764706);
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
pointer-events: auto;
|
|
42
31
|
}
|
|
43
32
|
|
|
44
33
|
/* position */
|
|
45
34
|
|
|
46
|
-
.SnackBar__root_position_top-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
35
|
+
.SnackBar__root_position_top-center___TR90b {
|
|
36
|
+
--pds-snackbar-translate-x: -50%;
|
|
37
|
+
--pds-snackbar-translate-y: 0;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 50%;
|
|
40
|
+
padding-bottom: 0;
|
|
41
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
53
42
|
}
|
|
54
43
|
|
|
55
|
-
.SnackBar__root_position_bottom-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
44
|
+
.SnackBar__root_position_bottom-center___YlR9W {
|
|
45
|
+
--pds-snackbar-translate-x: -50%;
|
|
46
|
+
--pds-snackbar-translate-y: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
left: 50%;
|
|
49
|
+
padding-top: 0;
|
|
50
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
62
51
|
}
|
|
63
52
|
|
|
64
|
-
.SnackBar__root_position_top-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
53
|
+
.SnackBar__root_position_top-left___QBAq1 {
|
|
54
|
+
--pds-snackbar-translate-x: -50%;
|
|
55
|
+
--pds-snackbar-translate-y: 0;
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 50%;
|
|
58
|
+
padding-bottom: 0;
|
|
59
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
71
60
|
}
|
|
72
61
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.SnackBar__root_position_top-right___eg0lI {
|
|
82
|
-
--pds-snackbar-translate-x: 50%;
|
|
83
|
-
--pds-snackbar-translate-y: 0;
|
|
84
|
-
top: 0;
|
|
85
|
-
right: 50%;
|
|
86
|
-
padding-bottom: 0;
|
|
87
|
-
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
62
|
+
.SnackBar__root_position_top-right___DzSIt {
|
|
63
|
+
--pds-snackbar-translate-x: 50%;
|
|
64
|
+
--pds-snackbar-translate-y: 0;
|
|
65
|
+
top: 0;
|
|
66
|
+
right: 50%;
|
|
67
|
+
padding-bottom: 0;
|
|
68
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
88
69
|
}
|
|
89
70
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
.SnackBar__root_position_bottom-left___kn1Ep {
|
|
99
|
-
--pds-snackbar-translate-x: -50%;
|
|
100
|
-
--pds-snackbar-translate-y: 0;
|
|
101
|
-
bottom: 0;
|
|
102
|
-
left: 50%;
|
|
103
|
-
padding-top: 0;
|
|
104
|
-
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
71
|
+
.SnackBar__root_position_bottom-left___ZNKwU {
|
|
72
|
+
--pds-snackbar-translate-x: -50%;
|
|
73
|
+
--pds-snackbar-translate-y: 0;
|
|
74
|
+
bottom: 0;
|
|
75
|
+
left: 50%;
|
|
76
|
+
padding-top: 0;
|
|
77
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
105
78
|
}
|
|
106
79
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
80
|
+
.SnackBar__root_position_bottom-right___DvkY7 {
|
|
81
|
+
--pds-snackbar-translate-x: 50%;
|
|
82
|
+
--pds-snackbar-translate-y: 0;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
right: 50%;
|
|
85
|
+
padding-top: 0;
|
|
86
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
112
87
|
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.SnackBar__root_position_bottom-right___pH0zF {
|
|
116
|
-
--pds-snackbar-translate-x: 50%;
|
|
117
|
-
--pds-snackbar-translate-y: 0;
|
|
118
|
-
bottom: 0;
|
|
119
|
-
right: 50%;
|
|
120
|
-
padding-top: 0;
|
|
121
|
-
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@media only screen and (min-width: 480px) {
|
|
125
88
|
|
|
126
|
-
.
|
|
127
|
-
|
|
128
|
-
|
|
89
|
+
.SnackBar__enterActive___b-sYk,
|
|
90
|
+
.SnackBar__exitActive___CXTc9 {
|
|
91
|
+
transition: opacity var(--pds-snackbar-transition-duration) ease-in-out 0ms, transform var(--pds-snackbar-transition-duration) ease-in-out 0ms;
|
|
129
92
|
}
|
|
130
|
-
}
|
|
131
93
|
|
|
132
|
-
.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
opacity var(--pds-snackbar-transition-duration) ease-in-out 0ms,
|
|
136
|
-
transform var(--pds-snackbar-transition-duration) ease-in-out 0ms;
|
|
94
|
+
.SnackBar__enter___V8HbR {
|
|
95
|
+
opacity: var(--pds-snackbar-opacity-exited);
|
|
96
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-exited));
|
|
137
97
|
}
|
|
138
98
|
|
|
139
|
-
.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
scale(var(--pds-snackbar-scale-exited));
|
|
99
|
+
.SnackBar__enterActive___b-sYk {
|
|
100
|
+
opacity: var(--pds-snackbar-opacity-entered);
|
|
101
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-entered));
|
|
143
102
|
}
|
|
144
103
|
|
|
145
|
-
.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
scale(var(--pds-snackbar-scale-entered));
|
|
104
|
+
.SnackBar__exit___FAqxX {
|
|
105
|
+
opacity: var(--pds-snackbar-opacity-entered);
|
|
106
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-entered));
|
|
149
107
|
}
|
|
150
108
|
|
|
151
|
-
.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
scale(var(--pds-snackbar-scale-entered));
|
|
109
|
+
.SnackBar__exitActive___CXTc9 {
|
|
110
|
+
opacity: var(--pds-snackbar-opacity-exited);
|
|
111
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-exited));
|
|
155
112
|
}
|
|
156
113
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
114
|
+
@media only screen and (min-width: 480px) {
|
|
115
|
+
.SnackBar__root_position_top-left___QBAq1 {
|
|
116
|
+
--pds-snackbar-translate-x: 0;
|
|
117
|
+
left: 0;
|
|
118
|
+
}
|
|
119
|
+
.SnackBar__root_position_top-right___DzSIt {
|
|
120
|
+
--pds-snackbar-translate-x: 0;
|
|
121
|
+
right: 0;
|
|
122
|
+
}
|
|
123
|
+
.SnackBar__root_position_bottom-left___ZNKwU {
|
|
124
|
+
--pds-snackbar-translate-x: 0;
|
|
125
|
+
left: 0;
|
|
126
|
+
}
|
|
127
|
+
.SnackBar__root_position_bottom-right___DvkY7 {
|
|
128
|
+
--pds-snackbar-translate-x: 0;
|
|
129
|
+
right: 0;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@media (prefers-color-scheme: dark) {
|
|
134
|
+
[data-pds-color-scheme=auto] .SnackBar__root___zviPe {
|
|
135
|
+
--pds-snackbar-background: #404040;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -1,161 +1,137 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@media (color-index: 48) {
|
|
33
|
-
[data-pds-color-scheme='auto']:root .SnackBar__content___xRCgn {
|
|
34
|
-
background: #404040;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@media (color: 48842621) {
|
|
39
|
-
[data-pds-color-scheme='auto']:root .SnackBar__content___xRCgn {
|
|
40
|
-
background: #404040;
|
|
41
|
-
}
|
|
1
|
+
.SnackBar__root___KYIW0 {
|
|
2
|
+
--pds-snackbar-scale-entered: 1;
|
|
3
|
+
--pds-snackbar-scale-exited: 0.9;
|
|
4
|
+
--pds-snackbar-opacity-entered: 1;
|
|
5
|
+
--pds-snackbar-opacity-exited: 0;
|
|
6
|
+
--pds-snackbar-transition-duration: 125ms;
|
|
7
|
+
--pds-snackbar-root-margin: var(--pds-global-snackbar-root-margin, 20px);
|
|
8
|
+
--pds-snackbar-background: var(--black-900);
|
|
9
|
+
position: fixed;
|
|
10
|
+
transform: none;
|
|
11
|
+
padding: var(--pds-snackbar-root-margin);
|
|
12
|
+
width: -moz-max-content;
|
|
13
|
+
width: max-content;
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-pds-color-scheme=dark] .SnackBar__root___KYIW0 {
|
|
20
|
+
--pds-snackbar-background: #404040;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.SnackBar__content___F8zNR {
|
|
24
|
+
background: var(--pds-snackbar-background);
|
|
25
|
+
color: var(--white);
|
|
26
|
+
border-radius: var(--pds-round-m);
|
|
27
|
+
box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.1411764706);
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
pointer-events: auto;
|
|
42
31
|
}
|
|
43
32
|
|
|
44
33
|
/* position */
|
|
45
34
|
|
|
46
|
-
.SnackBar__root_position_top-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
35
|
+
.SnackBar__root_position_top-center___I5Lmf {
|
|
36
|
+
--pds-snackbar-translate-x: -50%;
|
|
37
|
+
--pds-snackbar-translate-y: 0;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 50%;
|
|
40
|
+
padding-bottom: 0;
|
|
41
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
53
42
|
}
|
|
54
43
|
|
|
55
|
-
.SnackBar__root_position_bottom-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
44
|
+
.SnackBar__root_position_bottom-center___QB4Ps {
|
|
45
|
+
--pds-snackbar-translate-x: -50%;
|
|
46
|
+
--pds-snackbar-translate-y: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
left: 50%;
|
|
49
|
+
padding-top: 0;
|
|
50
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
62
51
|
}
|
|
63
52
|
|
|
64
|
-
.SnackBar__root_position_top-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
53
|
+
.SnackBar__root_position_top-left___QJETh {
|
|
54
|
+
--pds-snackbar-translate-x: -50%;
|
|
55
|
+
--pds-snackbar-translate-y: 0;
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 50%;
|
|
58
|
+
padding-bottom: 0;
|
|
59
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
71
60
|
}
|
|
72
61
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.SnackBar__root_position_top-right___gNTkz {
|
|
82
|
-
--pds-snackbar-translate-x: 50%;
|
|
83
|
-
--pds-snackbar-translate-y: 0;
|
|
84
|
-
top: 0;
|
|
85
|
-
right: 50%;
|
|
86
|
-
padding-bottom: 0;
|
|
87
|
-
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
62
|
+
.SnackBar__root_position_top-right___vHlAp {
|
|
63
|
+
--pds-snackbar-translate-x: 50%;
|
|
64
|
+
--pds-snackbar-translate-y: 0;
|
|
65
|
+
top: 0;
|
|
66
|
+
right: 50%;
|
|
67
|
+
padding-bottom: 0;
|
|
68
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
88
69
|
}
|
|
89
70
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
.SnackBar__root_position_bottom-left___L95tG {
|
|
99
|
-
--pds-snackbar-translate-x: -50%;
|
|
100
|
-
--pds-snackbar-translate-y: 0;
|
|
101
|
-
bottom: 0;
|
|
102
|
-
left: 50%;
|
|
103
|
-
padding-top: 0;
|
|
104
|
-
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
71
|
+
.SnackBar__root_position_bottom-left___cU3cS {
|
|
72
|
+
--pds-snackbar-translate-x: -50%;
|
|
73
|
+
--pds-snackbar-translate-y: 0;
|
|
74
|
+
bottom: 0;
|
|
75
|
+
left: 50%;
|
|
76
|
+
padding-top: 0;
|
|
77
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
105
78
|
}
|
|
106
79
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
80
|
+
.SnackBar__root_position_bottom-right___dlDmS {
|
|
81
|
+
--pds-snackbar-translate-x: 50%;
|
|
82
|
+
--pds-snackbar-translate-y: 0;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
right: 50%;
|
|
85
|
+
padding-top: 0;
|
|
86
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
112
87
|
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.SnackBar__root_position_bottom-right___Dt4fI {
|
|
116
|
-
--pds-snackbar-translate-x: 50%;
|
|
117
|
-
--pds-snackbar-translate-y: 0;
|
|
118
|
-
bottom: 0;
|
|
119
|
-
right: 50%;
|
|
120
|
-
padding-top: 0;
|
|
121
|
-
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y));
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@media only screen and (min-width: 480px) {
|
|
125
88
|
|
|
126
|
-
.
|
|
127
|
-
|
|
128
|
-
|
|
89
|
+
.SnackBar__enterActive___mLVVo,
|
|
90
|
+
.SnackBar__exitActive___5JFKS {
|
|
91
|
+
transition: opacity var(--pds-snackbar-transition-duration) ease-in-out 0ms, transform var(--pds-snackbar-transition-duration) ease-in-out 0ms;
|
|
129
92
|
}
|
|
130
|
-
}
|
|
131
93
|
|
|
132
|
-
.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
opacity var(--pds-snackbar-transition-duration) ease-in-out 0ms,
|
|
136
|
-
transform var(--pds-snackbar-transition-duration) ease-in-out 0ms;
|
|
94
|
+
.SnackBar__enter___Rlx0S {
|
|
95
|
+
opacity: var(--pds-snackbar-opacity-exited);
|
|
96
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-exited));
|
|
137
97
|
}
|
|
138
98
|
|
|
139
|
-
.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
scale(var(--pds-snackbar-scale-exited));
|
|
99
|
+
.SnackBar__enterActive___mLVVo {
|
|
100
|
+
opacity: var(--pds-snackbar-opacity-entered);
|
|
101
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-entered));
|
|
143
102
|
}
|
|
144
103
|
|
|
145
|
-
.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
scale(var(--pds-snackbar-scale-entered));
|
|
104
|
+
.SnackBar__exit___B32cZ {
|
|
105
|
+
opacity: var(--pds-snackbar-opacity-entered);
|
|
106
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-entered));
|
|
149
107
|
}
|
|
150
108
|
|
|
151
|
-
.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
scale(var(--pds-snackbar-scale-entered));
|
|
109
|
+
.SnackBar__exitActive___5JFKS {
|
|
110
|
+
opacity: var(--pds-snackbar-opacity-exited);
|
|
111
|
+
transform: translate(var(--pds-snackbar-translate-x), var(--pds-snackbar-translate-y)) scale(var(--pds-snackbar-scale-exited));
|
|
155
112
|
}
|
|
156
113
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
114
|
+
@media only screen and (min-width: 480px) {
|
|
115
|
+
.SnackBar__root_position_top-left___QJETh {
|
|
116
|
+
--pds-snackbar-translate-x: 0;
|
|
117
|
+
left: 0;
|
|
118
|
+
}
|
|
119
|
+
.SnackBar__root_position_top-right___vHlAp {
|
|
120
|
+
--pds-snackbar-translate-x: 0;
|
|
121
|
+
right: 0;
|
|
122
|
+
}
|
|
123
|
+
.SnackBar__root_position_bottom-left___cU3cS {
|
|
124
|
+
--pds-snackbar-translate-x: 0;
|
|
125
|
+
left: 0;
|
|
126
|
+
}
|
|
127
|
+
.SnackBar__root_position_bottom-right___dlDmS {
|
|
128
|
+
--pds-snackbar-translate-x: 0;
|
|
129
|
+
right: 0;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@media (prefers-color-scheme: dark) {
|
|
134
|
+
[data-pds-color-scheme=auto] .SnackBar__root___KYIW0 {
|
|
135
|
+
--pds-snackbar-background: #404040;
|
|
136
|
+
}
|
|
137
|
+
}
|