@luscii-healthtech/web-ui 0.1.27 → 0.1.30
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.cjs.development.js +9 -9
- package/dist/web-ui.cjs.development.js.map +1 -1
- package/dist/web-ui.cjs.production.min.js +1 -1
- package/dist/web-ui.cjs.production.min.js.map +1 -1
- package/dist/web-ui.esm.js +9 -9
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ButtonV2/ButtonV2.tsx +2 -2
- package/src/components/ButtonV2/PrimaryButton.tsx +1 -1
- package/src/components/ButtonV2/SecondaryButton.tsx +1 -0
- package/src/components/ButtonV2/TertiaryButton.tsx +1 -0
- package/src/components/Icons/SearchIcon.tsx +4 -4
|
@@ -323,7 +323,7 @@ var ButtonV2 = function ButtonV2(_ref) {
|
|
|
323
323
|
var buttonClassName = classNames(["h-11", "relative flex flex-row justify-center items-center", "border", "transition-outline transition-colors duration-300 ease-in-out", "rounded-full", "leading-none", "shadow-sm", "cursor-pointer", "focus:outline-primary"], {
|
|
324
324
|
"w-11": !text && icon,
|
|
325
325
|
"px-4": text,
|
|
326
|
-
"py-2": text && icon,
|
|
326
|
+
"py-2.5": text && icon,
|
|
327
327
|
"py-3": text && !icon
|
|
328
328
|
}, {
|
|
329
329
|
"opacity-50": isDisabled,
|
|
@@ -336,7 +336,7 @@ var ButtonV2 = function ButtonV2(_ref) {
|
|
|
336
336
|
disabled: isDisabled,
|
|
337
337
|
"aria-disabled": isDisabled
|
|
338
338
|
}), icon && /*#__PURE__*/React__default.createElement(icon, {
|
|
339
|
-
className: "w-
|
|
339
|
+
className: "w-6 h-6"
|
|
340
340
|
}), isPending && /*#__PURE__*/React__default.createElement("span", {
|
|
341
341
|
className: "opacity-100",
|
|
342
342
|
// IE11 center translate fix
|
|
@@ -358,19 +358,19 @@ var ButtonV2 = function ButtonV2(_ref) {
|
|
|
358
358
|
|
|
359
359
|
var PrimaryButton = function PrimaryButton(props) {
|
|
360
360
|
return /*#__PURE__*/React__default.createElement(ButtonV2, Object.assign({}, props, {
|
|
361
|
-
className: classNames(["text-white", "bg-blue-800", "border-transparent", "hover:bg-blue-900"], props.className)
|
|
361
|
+
className: classNames(["text-white", "bg-blue-800", "border-primary-transparent", "hover:bg-blue-900"], props.className)
|
|
362
362
|
}));
|
|
363
363
|
};
|
|
364
364
|
|
|
365
365
|
var SecondaryButton = function SecondaryButton(props) {
|
|
366
366
|
return /*#__PURE__*/React__default.createElement(ButtonV2, Object.assign({}, props, {
|
|
367
|
-
className: classNames(["text-blue-800", "bg-white", "border-slate-300", "hover:text-blue-900", "hover:border-slate-400"], props.className)
|
|
367
|
+
className: classNames(["text-blue-800", "bg-white", "border-slate-300", "hover:text-blue-900", "hover:border-slate-400", "focus:border-blue-800"], props.className)
|
|
368
368
|
}));
|
|
369
369
|
};
|
|
370
370
|
|
|
371
371
|
var TertiaryButton = function TertiaryButton(props) {
|
|
372
372
|
return /*#__PURE__*/React__default.createElement(ButtonV2, Object.assign({}, props, {
|
|
373
|
-
className: classNames(["text-blue-800", "bg-transparent", "border-transparent", "hover:text-blue-900", "shadow-none"], props.className)
|
|
373
|
+
className: classNames(["text-blue-800", "bg-transparent", "border-transparent", "hover:text-blue-900", "focus:border-blue-800", "shadow-none"], props.className)
|
|
374
374
|
}));
|
|
375
375
|
};
|
|
376
376
|
|
|
@@ -4854,13 +4854,13 @@ var SearchIcon$1 = function SearchIcon(props) {
|
|
|
4854
4854
|
className: props.className,
|
|
4855
4855
|
onClick: props.onClick,
|
|
4856
4856
|
role: props.onClick ? "button" : undefined,
|
|
4857
|
-
width: "
|
|
4858
|
-
height: "
|
|
4859
|
-
viewBox: "0 0
|
|
4857
|
+
width: "24",
|
|
4858
|
+
height: "24",
|
|
4859
|
+
viewBox: "0 0 24 24",
|
|
4860
4860
|
fill: "none",
|
|
4861
4861
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4862
4862
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4863
|
-
d: "
|
|
4863
|
+
d: "M15.5 13.9996H14.71L14.43 13.7296C15.63 12.3296 16.25 10.4196 15.91 8.38965C15.44 5.60965 13.12 3.38965 10.32 3.04965C6.09001 2.52965 2.53002 6.08965 3.05002 10.3196C3.39002 13.1196 5.61002 15.4396 8.39002 15.9096C10.42 16.2496 12.33 15.6296 13.73 14.4296L14 14.7096V15.4996L18.25 19.7496C18.66 20.1596 19.33 20.1596 19.74 19.7496C20.15 19.3396 20.15 18.6696 19.74 18.2596L15.5 13.9996ZM9.50002 13.9996C7.01002 13.9996 5.00002 11.9896 5.00002 9.49965C5.00002 7.00965 7.01002 4.99965 9.50002 4.99965C11.99 4.99965 14 7.00965 14 9.49965C14 11.9896 11.99 13.9996 9.50002 13.9996Z",
|
|
4864
4864
|
fill: "currentColor"
|
|
4865
4865
|
}));
|
|
4866
4866
|
};
|