@dspworkplace/ui 1.5.35 → 1.5.38
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/index.es.js +7 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6119,7 +6119,7 @@ var ButtonGroup = function ButtonGroup(_ref) {
|
|
|
6119
6119
|
};
|
|
6120
6120
|
|
|
6121
6121
|
function _templateObject4$9() {
|
|
6122
|
-
var data = taggedTemplateLiteral(["\n position:relative;\n\n &:hover > ", " > * {\n animation-name: ", ";\n animation-duration: 300ms;\n animation-fill-mode: both;\n animation-timing-function: ease-in-out;\n }\n"]);
|
|
6122
|
+
var data = taggedTemplateLiteral(["\n position:relative;\n\n &:hover > ", " {\n visibility: visible;\n }\n\n &:hover > ", " > * {\n animation-name: ", ";\n animation-duration: 300ms;\n animation-fill-mode: both;\n animation-timing-function: ease-in-out;\n }\n"]);
|
|
6123
6123
|
|
|
6124
6124
|
_templateObject4$9 = function _templateObject4() {
|
|
6125
6125
|
return data;
|
|
@@ -6139,7 +6139,7 @@ function _templateObject3$9() {
|
|
|
6139
6139
|
}
|
|
6140
6140
|
|
|
6141
6141
|
function _templateObject2$b() {
|
|
6142
|
-
var data = taggedTemplateLiteral(["\n position:absolute;\n height:
|
|
6142
|
+
var data = taggedTemplateLiteral(["\n position:absolute;\n height:", ";\n padding:2px;\n white-space: nowrap;\n align-items:center;\n gap: ", "\n display:flex;\n visibility: hidden;\n\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"]);
|
|
6143
6143
|
|
|
6144
6144
|
_templateObject2$b = function _templateObject2() {
|
|
6145
6145
|
return data;
|
|
@@ -6181,20 +6181,22 @@ var generateAnimationDelay = function generateAnimationDelay(n, direction) {
|
|
|
6181
6181
|
};
|
|
6182
6182
|
|
|
6183
6183
|
var ListContent = styled__default.div(_templateObject2$b(), function (props) {
|
|
6184
|
+
return ['left', 'right'].includes(props.direction) ? '100%' : 'fit-content';
|
|
6185
|
+
}, function (props) {
|
|
6184
6186
|
return props.spaceBetween;
|
|
6185
6187
|
}, function (props) {
|
|
6186
6188
|
return generateAnimationDelay(props.childrenQuantity, props.direction);
|
|
6187
6189
|
}, function (props) {
|
|
6188
|
-
return props.direction === 'right' || props.direction === 'auto' && "\n flex-direction:row;\n top:0;\n bottom:0;\n left:".concat(POSITION_LIST, ";\n padding-left:").concat(POSITION_LIST_DISTANCE, ";\n ");
|
|
6190
|
+
return (props.direction === 'right' || props.direction === 'auto') && "\n flex-direction:row;\n top:0;\n bottom:0;\n left:".concat(POSITION_LIST, ";\n padding-left:").concat(POSITION_LIST_DISTANCE, ";\n ");
|
|
6189
6191
|
}, function (props) {
|
|
6190
6192
|
return props.direction === 'left' && "\n flex-direction:row;\n top:0;\n bottom:0;\n right:".concat(POSITION_LIST, ";\n padding-right:").concat(POSITION_LIST_DISTANCE, ";\n ");
|
|
6191
6193
|
}, function (props) {
|
|
6192
6194
|
return props.direction === 'top' && "\n flex-direction:column;\n justify-content:end;\n bottom:".concat(POSITION_LIST, ";\n right:0;\n left:0;\n padding-top:").concat(POSITION_LIST_DISTANCE, ";\n ");
|
|
6193
6195
|
}, function (props) {
|
|
6194
|
-
return props.
|
|
6196
|
+
return props.direction === 'bottom' && "\n flex-direction:column;\n justify-content:start;\n top:".concat(POSITION_LIST, ";\n bottom:0;\n right:0;\n left:0;\n padding-top:").concat(POSITION_LIST_DISTANCE, ";\n ");
|
|
6195
6197
|
});
|
|
6196
6198
|
var PreviewContent = styled__default.div(_templateObject3$9());
|
|
6197
|
-
var Container$1 = styled__default.div(_templateObject4$9(), ListContent, listAnimation);
|
|
6199
|
+
var Container$1 = styled__default.div(_templateObject4$9(), ListContent, ListContent, listAnimation);
|
|
6198
6200
|
|
|
6199
6201
|
var ButtonIcon = function ButtonIcon(_ref) {
|
|
6200
6202
|
var children = _ref.children,
|