@dspworkplace/ui 1.5.36 → 1.5.39
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.es.js
CHANGED
|
@@ -6111,7 +6111,7 @@ var ButtonGroup = function ButtonGroup(_ref) {
|
|
|
6111
6111
|
};
|
|
6112
6112
|
|
|
6113
6113
|
function _templateObject4$9() {
|
|
6114
|
-
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"]);
|
|
6114
|
+
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"]);
|
|
6115
6115
|
|
|
6116
6116
|
_templateObject4$9 = function _templateObject4() {
|
|
6117
6117
|
return data;
|
|
@@ -6131,7 +6131,7 @@ function _templateObject3$9() {
|
|
|
6131
6131
|
}
|
|
6132
6132
|
|
|
6133
6133
|
function _templateObject2$b() {
|
|
6134
|
-
var data = taggedTemplateLiteral(["\n position:absolute;\n height:
|
|
6134
|
+
var data = taggedTemplateLiteral(["\n position:absolute;\n height:", ";\n padding:2px;\n white-space: nowrap;\n align-items:center;\n gap: ", "\n display:inline-block;\n visibility: hidden;\n\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"]);
|
|
6135
6135
|
|
|
6136
6136
|
_templateObject2$b = function _templateObject2() {
|
|
6137
6137
|
return data;
|
|
@@ -6173,20 +6173,22 @@ var generateAnimationDelay = function generateAnimationDelay(n, direction) {
|
|
|
6173
6173
|
};
|
|
6174
6174
|
|
|
6175
6175
|
var ListContent = styled.div(_templateObject2$b(), function (props) {
|
|
6176
|
+
return ['left', 'right'].includes(props.direction) ? '100%' : 'fit-content';
|
|
6177
|
+
}, function (props) {
|
|
6176
6178
|
return props.spaceBetween;
|
|
6177
6179
|
}, function (props) {
|
|
6178
6180
|
return generateAnimationDelay(props.childrenQuantity, props.direction);
|
|
6179
6181
|
}, function (props) {
|
|
6180
|
-
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 ");
|
|
6182
|
+
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 ");
|
|
6181
6183
|
}, function (props) {
|
|
6182
6184
|
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 ");
|
|
6183
6185
|
}, function (props) {
|
|
6184
6186
|
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 ");
|
|
6185
6187
|
}, function (props) {
|
|
6186
|
-
return props.
|
|
6188
|
+
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 ");
|
|
6187
6189
|
});
|
|
6188
6190
|
var PreviewContent = styled.div(_templateObject3$9());
|
|
6189
|
-
var Container$1 = styled.div(_templateObject4$9(), ListContent, listAnimation);
|
|
6191
|
+
var Container$1 = styled.div(_templateObject4$9(), ListContent, ListContent, listAnimation);
|
|
6190
6192
|
|
|
6191
6193
|
var ButtonIcon = function ButtonIcon(_ref) {
|
|
6192
6194
|
var children = _ref.children,
|