labsense-ui-kit 1.1.68 → 1.1.70
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/Icons/SVGs/InformationFilled.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +1 -0
- package/dist/Icons/index.d.ts +1 -1
- package/dist/Tabs/Tabs.d.ts +4 -0
- package/dist/index.js +27 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +27 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1697,6 +1697,23 @@ var Information = function Information(_ref) {
|
|
|
1697
1697
|
}));
|
|
1698
1698
|
};
|
|
1699
1699
|
|
|
1700
|
+
var InformationFilled = function InformationFilled(_ref) {
|
|
1701
|
+
var size = _ref.size,
|
|
1702
|
+
color = _ref.color,
|
|
1703
|
+
weight = _ref.weight;
|
|
1704
|
+
return React.createElement("svg", {
|
|
1705
|
+
width: size,
|
|
1706
|
+
height: size,
|
|
1707
|
+
strokeWidth: weight,
|
|
1708
|
+
viewBox: "0 0 18 18",
|
|
1709
|
+
fill: "none",
|
|
1710
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1711
|
+
}, React.createElement("path", {
|
|
1712
|
+
d: "M8.99996 0.666687C4.39996 0.666687 0.666626 4.40002 0.666626 9.00002C0.666626 13.6 4.39996 17.3334 8.99996 17.3334C13.6 17.3334 17.3333 13.6 17.3333 9.00002C17.3333 4.40002 13.6 0.666687 8.99996 0.666687ZM8.99996 13.1667C8.54163 13.1667 8.16663 12.7917 8.16663 12.3334V9.00002C8.16663 8.54169 8.54163 8.16669 8.99996 8.16669C9.45829 8.16669 9.83329 8.54169 9.83329 9.00002V12.3334C9.83329 12.7917 9.45829 13.1667 8.99996 13.1667ZM9.83329 6.50002H8.16663V4.83335H9.83329V6.50002Z",
|
|
1713
|
+
fill: color
|
|
1714
|
+
}));
|
|
1715
|
+
};
|
|
1716
|
+
|
|
1700
1717
|
var IP = function IP(_ref) {
|
|
1701
1718
|
var size = _ref.size,
|
|
1702
1719
|
color = _ref.color,
|
|
@@ -3291,6 +3308,7 @@ var IconSVGs = {
|
|
|
3291
3308
|
History: History,
|
|
3292
3309
|
Hexagon: Hexagon,
|
|
3293
3310
|
Information: Information,
|
|
3311
|
+
InformationFilled: InformationFilled,
|
|
3294
3312
|
IP: IP,
|
|
3295
3313
|
Key: Key,
|
|
3296
3314
|
KeyDown: KeyDown,
|
|
@@ -5591,7 +5609,7 @@ var useNotification = function useNotification() {
|
|
|
5591
5609
|
};
|
|
5592
5610
|
|
|
5593
5611
|
var _templateObject$e, _templateObject2$b;
|
|
5594
|
-
var SearchContainer$2 = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
|
|
5612
|
+
var SearchContainer$2 = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n // cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
|
|
5595
5613
|
var $background = _ref.$background;
|
|
5596
5614
|
return $background || colorVariables["default"].tertiary;
|
|
5597
5615
|
}, function (_ref2) {
|
|
@@ -6999,7 +7017,7 @@ var Table = function Table(_ref3) {
|
|
|
6999
7017
|
}))));
|
|
7000
7018
|
};
|
|
7001
7019
|
|
|
7002
|
-
var _templateObject$q, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$a;
|
|
7020
|
+
var _templateObject$q, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
|
|
7003
7021
|
var Container$4 = styled.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
7004
7022
|
var $overflow = _ref.$overflow;
|
|
7005
7023
|
return $overflow || 'visible';
|
|
@@ -7010,7 +7028,7 @@ var Container$4 = styled.div(_templateObject$q || (_templateObject$q = _taggedTe
|
|
|
7010
7028
|
var $border = _ref3.$border;
|
|
7011
7029
|
return $border;
|
|
7012
7030
|
});
|
|
7013
|
-
var FirstContainer = styled.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n"])), function (_ref4) {
|
|
7031
|
+
var FirstContainer = styled.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
|
|
7014
7032
|
var $bordeBottom = _ref4.$bordeBottom;
|
|
7015
7033
|
return $bordeBottom != null ? $bordeBottom : "1px solid " + colorVariables.border.light;
|
|
7016
7034
|
}, function (_ref5) {
|
|
@@ -7036,9 +7054,10 @@ var TabItemContainer = styled.div(_templateObject4$c || (_templateObject4$c = _t
|
|
|
7036
7054
|
}, function (props) {
|
|
7037
7055
|
return props.$active ? 'block' : 'none';
|
|
7038
7056
|
}, colorVariables["default"].primary);
|
|
7039
|
-
var DetailsFirstContainer = styled.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
7057
|
+
var DetailsFirstContainer = styled.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n white-space: nowrap;\n"])), function (props) {
|
|
7040
7058
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
7041
7059
|
});
|
|
7060
|
+
var TabItemsWrapper = styled.div(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
|
|
7042
7061
|
var Tabs = function Tabs(_ref11) {
|
|
7043
7062
|
var tabItems = _ref11.tabItems,
|
|
7044
7063
|
_ref11$disabled = _ref11.disabled,
|
|
@@ -7050,7 +7069,8 @@ var Tabs = function Tabs(_ref11) {
|
|
|
7050
7069
|
_ref11$gap = _ref11.gap,
|
|
7051
7070
|
gap = _ref11$gap === void 0 ? '24px' : _ref11$gap,
|
|
7052
7071
|
overflow = _ref11.overflow,
|
|
7053
|
-
bordeBottom = _ref11.bordeBottom
|
|
7072
|
+
bordeBottom = _ref11.bordeBottom,
|
|
7073
|
+
tabRightNode = _ref11.tabRightNode;
|
|
7054
7074
|
return React.createElement(Container$4, {
|
|
7055
7075
|
"$gap": gap,
|
|
7056
7076
|
"$border": border,
|
|
@@ -7058,7 +7078,7 @@ var Tabs = function Tabs(_ref11) {
|
|
|
7058
7078
|
}, React.createElement(FirstContainer, {
|
|
7059
7079
|
"$headerPadding": headerPadding,
|
|
7060
7080
|
"$bordeBottom": bordeBottom
|
|
7061
|
-
}, tabItems.map(function (tab, index) {
|
|
7081
|
+
}, React.createElement(TabItemsWrapper, null, tabItems.map(function (tab, index) {
|
|
7062
7082
|
return React.createElement(TabContainer, {
|
|
7063
7083
|
key: index,
|
|
7064
7084
|
onClick: function onClick() {
|
|
@@ -7077,7 +7097,7 @@ var Tabs = function Tabs(_ref11) {
|
|
|
7077
7097
|
}), React.createElement(DetailsFirstContainer, {
|
|
7078
7098
|
"$active": activeTab === tab.title
|
|
7079
7099
|
}, tab.title)));
|
|
7080
|
-
})), tabItems.map(function (tab, index) {
|
|
7100
|
+
})), tabRightNode === null || tabRightNode === void 0 ? void 0 : tabRightNode.node), tabItems.map(function (tab, index) {
|
|
7081
7101
|
return activeTab === tab.title && React.createElement(Container$4, {
|
|
7082
7102
|
key: index,
|
|
7083
7103
|
"$overflow": overflow
|