@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.
package/dist/web-ui.esm.js
CHANGED
|
@@ -2086,14 +2086,18 @@ toast.info = function (message) {
|
|
|
2086
2086
|
});
|
|
2087
2087
|
};
|
|
2088
2088
|
|
|
2089
|
-
var css_248z$2 = ".title {\n font-family: \"AvenirNextLTPro-Bold\", \"Roboto\", sans-serif;\n}";
|
|
2089
|
+
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}";
|
|
2090
2090
|
styleInject(css_248z$2);
|
|
2091
2091
|
|
|
2092
2092
|
var Title = function Title(props) {
|
|
2093
2093
|
var _props$color;
|
|
2094
2094
|
|
|
2095
|
-
var
|
|
2096
|
-
"font-bold", allowedColors[(_props$color = props.color) != null ? _props$color : "base"], {
|
|
2095
|
+
var isSmallTitle = props.type === "xs" || props.type === "sm";
|
|
2096
|
+
var containerClassName = classNames("font-bold", allowedColors[(_props$color = props.color) != null ? _props$color : "base"], {
|
|
2097
|
+
"title-inter": isSmallTitle,
|
|
2098
|
+
"title-avenir": !isSmallTitle //this is used to load the correct font from the css
|
|
2099
|
+
|
|
2100
|
+
}, {
|
|
2097
2101
|
"text-base": props.type === "xs",
|
|
2098
2102
|
"text-xl": props.type === "sm",
|
|
2099
2103
|
"text-2xl": props.type === "base",
|
|
@@ -2347,7 +2351,7 @@ var DragHandle = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
2347
2351
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
2348
2352
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
2349
2353
|
|
|
2350
|
-
var className = classNames(classes, "py-2", {
|
|
2354
|
+
var className = classNames(classes, "py-2 focus:outline-primary", {
|
|
2351
2355
|
"cursor-grab": !grabbing && !disabled,
|
|
2352
2356
|
"cursor-grabbing shadow-sm bg-slate-200": grabbing && !disabled,
|
|
2353
2357
|
"hover:bg-slate-200 hover:shadow-sm transition duration-200 rounded": !disabled,
|
|
@@ -2690,7 +2694,7 @@ var Dropzone = function Dropzone(_ref3) {
|
|
|
2690
2694
|
return /*#__PURE__*/React__default.createElement("button", {
|
|
2691
2695
|
onClick: onClick,
|
|
2692
2696
|
disabled: disabled,
|
|
2693
|
-
className: "block w-full"
|
|
2697
|
+
className: "block w-full rounded focus:outline-primary"
|
|
2694
2698
|
}, presentation);
|
|
2695
2699
|
}
|
|
2696
2700
|
|