@luscii-healthtech/web-ui 2.63.0 → 2.63.2
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.
|
@@ -2094,14 +2094,18 @@ toast.info = function (message) {
|
|
|
2094
2094
|
});
|
|
2095
2095
|
};
|
|
2096
2096
|
|
|
2097
|
-
var css_248z$2 = ".title {\n font-family: \"AvenirNextLTPro-Bold\", \"Roboto\", sans-serif;\n}";
|
|
2097
|
+
var css_248z$2 = ".title-avenir {\n font-family: \"AvenirNextLTPro-Bold\", \"Roboto\", sans-serif;\n}\n\n.title-inter {\n font-family: \"Inter\", \"Roboto\", \"Helvetica\", sans-serif;\n}";
|
|
2098
2098
|
styleInject(css_248z$2);
|
|
2099
2099
|
|
|
2100
2100
|
var Title = function Title(props) {
|
|
2101
2101
|
var _props$color;
|
|
2102
2102
|
|
|
2103
|
-
var
|
|
2104
|
-
"font-bold", allowedColors[(_props$color = props.color) != null ? _props$color : "base"], {
|
|
2103
|
+
var isSmallTitle = props.type === "xs" || props.type === "sm";
|
|
2104
|
+
var containerClassName = classNames("font-bold", allowedColors[(_props$color = props.color) != null ? _props$color : "base"], {
|
|
2105
|
+
"title-inter": isSmallTitle,
|
|
2106
|
+
"title-avenir": !isSmallTitle //this is used to load the correct font from the css
|
|
2107
|
+
|
|
2108
|
+
}, {
|
|
2105
2109
|
"text-base": props.type === "xs",
|
|
2106
2110
|
"text-xl": props.type === "sm",
|
|
2107
2111
|
"text-2xl": props.type === "base",
|
|
@@ -2355,7 +2359,7 @@ var DragHandle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
2355
2359
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
2356
2360
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
2357
2361
|
|
|
2358
|
-
var className = classNames(classes, "py-2", {
|
|
2362
|
+
var className = classNames(classes, "py-2 focus:outline-primary", {
|
|
2359
2363
|
"cursor-grab": !grabbing && !disabled,
|
|
2360
2364
|
"cursor-grabbing shadow-sm bg-slate-200": grabbing && !disabled,
|
|
2361
2365
|
"hover:bg-slate-200 hover:shadow-sm transition duration-200 rounded": !disabled,
|
|
@@ -2698,7 +2702,7 @@ var Dropzone = function Dropzone(_ref3) {
|
|
|
2698
2702
|
return /*#__PURE__*/React__default.createElement("button", {
|
|
2699
2703
|
onClick: onClick,
|
|
2700
2704
|
disabled: disabled,
|
|
2701
|
-
className: "block w-full"
|
|
2705
|
+
className: "block w-full rounded focus:outline-primary"
|
|
2702
2706
|
}, presentation);
|
|
2703
2707
|
}
|
|
2704
2708
|
|