labsense-ui-kit 1.1.51 → 1.1.53
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/Badge/IconTooltip.d.ts +22 -0
- package/dist/Badge/index.d.ts +2 -2
- package/dist/Tabs/Tabs.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +31 -26
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +31 -26
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -3629,7 +3629,7 @@ var TooltipContainer = styled.div(_templateObject$3 || (_templateObject$3 = _tag
|
|
|
3629
3629
|
}
|
|
3630
3630
|
});
|
|
3631
3631
|
var TooltipWrapper$1 = styled.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n align-items: center;\n cursor: pointer;\n\n &:hover ", " {\n visibility: visible;\n opacity: 1;\n }\n"])), TooltipContainer);
|
|
3632
|
-
var
|
|
3632
|
+
var IconTooltip = function IconTooltip(_ref7) {
|
|
3633
3633
|
var _tooltipCSS$position;
|
|
3634
3634
|
var _ref7$icon = _ref7.icon,
|
|
3635
3635
|
icon = _ref7$icon === void 0 ? {
|
|
@@ -6915,25 +6915,28 @@ var Container$4 = styled.div(_templateObject$q || (_templateObject$q = _taggedTe
|
|
|
6915
6915
|
var $border = _ref3.$border;
|
|
6916
6916
|
return $border;
|
|
6917
6917
|
});
|
|
6918
|
-
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:
|
|
6919
|
-
var $
|
|
6918
|
+
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) {
|
|
6919
|
+
var $bordeBottom = _ref4.$bordeBottom;
|
|
6920
|
+
return $bordeBottom != null ? $bordeBottom : "1px solid " + colorVariables.border.light;
|
|
6921
|
+
}, function (_ref5) {
|
|
6922
|
+
var $headerPadding = _ref5.$headerPadding;
|
|
6920
6923
|
return $headerPadding ? $headerPadding : '0px';
|
|
6921
6924
|
});
|
|
6922
|
-
var TabContainer = styled.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (
|
|
6923
|
-
var $disabled = _ref5.$disabled;
|
|
6924
|
-
return $disabled ? 'not-allowed' : 'pointer';
|
|
6925
|
-
}, function (_ref6) {
|
|
6925
|
+
var TabContainer = styled.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref6) {
|
|
6926
6926
|
var $disabled = _ref6.$disabled;
|
|
6927
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
6928
|
+
}, function (_ref7) {
|
|
6929
|
+
var $disabled = _ref7.$disabled;
|
|
6927
6930
|
return $disabled ? '0.6' : '1';
|
|
6928
|
-
}, colorVariables.text.medium, function (
|
|
6929
|
-
var $headerHeight =
|
|
6931
|
+
}, colorVariables.text.medium, function (_ref8) {
|
|
6932
|
+
var $headerHeight = _ref8.$headerHeight;
|
|
6930
6933
|
return $headerHeight ? $headerHeight : '34px';
|
|
6931
|
-
}, function (
|
|
6932
|
-
var $disabled =
|
|
6934
|
+
}, function (_ref9) {
|
|
6935
|
+
var $disabled = _ref9.$disabled;
|
|
6933
6936
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
6934
6937
|
});
|
|
6935
|
-
var TabItemContainer = styled.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (
|
|
6936
|
-
var $headerHeight =
|
|
6938
|
+
var TabItemContainer = styled.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref10) {
|
|
6939
|
+
var $headerHeight = _ref10.$headerHeight;
|
|
6937
6940
|
return $headerHeight ? $headerHeight : '34px';
|
|
6938
6941
|
}, function (props) {
|
|
6939
6942
|
return props.$active ? 'block' : 'none';
|
|
@@ -6941,23 +6944,25 @@ var TabItemContainer = styled.div(_templateObject4$c || (_templateObject4$c = _t
|
|
|
6941
6944
|
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) {
|
|
6942
6945
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
6943
6946
|
});
|
|
6944
|
-
var Tabs = function Tabs(
|
|
6945
|
-
var tabItems =
|
|
6946
|
-
|
|
6947
|
-
disabled =
|
|
6948
|
-
headerHeight =
|
|
6949
|
-
headerPadding =
|
|
6950
|
-
activeTab =
|
|
6951
|
-
border =
|
|
6952
|
-
|
|
6953
|
-
gap =
|
|
6954
|
-
overflow =
|
|
6947
|
+
var Tabs = function Tabs(_ref11) {
|
|
6948
|
+
var tabItems = _ref11.tabItems,
|
|
6949
|
+
_ref11$disabled = _ref11.disabled,
|
|
6950
|
+
disabled = _ref11$disabled === void 0 ? false : _ref11$disabled,
|
|
6951
|
+
headerHeight = _ref11.headerHeight,
|
|
6952
|
+
headerPadding = _ref11.headerPadding,
|
|
6953
|
+
activeTab = _ref11.activeTab,
|
|
6954
|
+
border = _ref11.border,
|
|
6955
|
+
_ref11$gap = _ref11.gap,
|
|
6956
|
+
gap = _ref11$gap === void 0 ? '24px' : _ref11$gap,
|
|
6957
|
+
overflow = _ref11.overflow,
|
|
6958
|
+
bordeBottom = _ref11.bordeBottom;
|
|
6955
6959
|
return React.createElement(Container$4, {
|
|
6956
6960
|
"$gap": gap,
|
|
6957
6961
|
"$border": border,
|
|
6958
6962
|
"$overflow": overflow
|
|
6959
6963
|
}, React.createElement(FirstContainer, {
|
|
6960
|
-
"$headerPadding": headerPadding
|
|
6964
|
+
"$headerPadding": headerPadding,
|
|
6965
|
+
"$bordeBottom": bordeBottom
|
|
6961
6966
|
}, tabItems.map(function (tab, index) {
|
|
6962
6967
|
return React.createElement(TabContainer, {
|
|
6963
6968
|
key: index,
|
|
@@ -7020,5 +7025,5 @@ var InternalTabs = function InternalTabs(_ref) {
|
|
|
7020
7025
|
}));
|
|
7021
7026
|
};
|
|
7022
7027
|
|
|
7023
|
-
export { Badge, Breadcrumbs, ButtonComponent as Button, ButtonCarousel, CheckBox, CircularLoader, Container, DatePicker, DropdownMenu$1 as DropdownMenu, Icon, InternalTabs, Loader, MultiSelectDropdown, OptionComponent, Options, Pagination, ProgressBar, SearchBox, SelectOption, SelectedOption, Sidebar, Span, Table, TableCell, TableRow, Tabs, TextArea, TextField, TextFieldWithDropdown,
|
|
7028
|
+
export { Badge, Breadcrumbs, ButtonComponent as Button, ButtonCarousel, CheckBox, CircularLoader, Container, DatePicker, DropdownMenu$1 as DropdownMenu, Icon, IconTooltip, InternalTabs, Loader, MultiSelectDropdown, OptionComponent, Options, Pagination, ProgressBar, SearchBox, SelectOption, SelectedOption, Sidebar, Span, Table, TableCell, TableRow, Tabs, TextArea, TextField, TextFieldWithDropdown, colorVariables, convertEpochToDateString, convertEpochToOnlyDate, convertToEpoch, formatCalendarDateTime, formatDate, formatEpochToIST, formatTimestamp, getSystemTimezoneAbbreviation, themes, timeAgo, timeStringToSeconds, useClickOutside, useCustomModal, useNotification };
|
|
7024
7029
|
//# sourceMappingURL=index.modern.js.map
|