bianic-ui 1.16.0-beta.7 → 2.0.0
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/cjs/index.js +3 -3
- package/dist/cjs/lib.css +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib.css +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2680,7 +2680,7 @@ var useLiveSearch = function (_a) {
|
|
|
2680
2680
|
if (!isOpen && searchTerm !== '') {
|
|
2681
2681
|
setSearchTerm(getItemLabel(value));
|
|
2682
2682
|
}
|
|
2683
|
-
}, [isOpen]);
|
|
2683
|
+
}, [isOpen, value]);
|
|
2684
2684
|
var handleInputChange = function (e) {
|
|
2685
2685
|
var newSearchTerm = e.target.value;
|
|
2686
2686
|
setSearchTerm(newSearchTerm);
|
|
@@ -4176,11 +4176,11 @@ function Toaster(_a) {
|
|
|
4176
4176
|
// Default styles for the toaster based on variant
|
|
4177
4177
|
var colorStyles = "".concat(colorConfigs[variant], " text-bia-white");
|
|
4178
4178
|
// Logic for content alignment based on `isHeaderShow`
|
|
4179
|
-
var content = title ? (React.createElement("div", { className: "bianic-content-area flex flex-col gap-[5px]" },
|
|
4179
|
+
var content = title ? (React.createElement("div", { className: "bianic-content-area flex grow flex-col gap-[5px]" },
|
|
4180
4180
|
React.createElement("div", { className: "bianic-toaster-header-area flex flex-row items-center gap-[5px]" },
|
|
4181
4181
|
icon && React.createElement("div", { className: "bianic-toaster-icon-area" }, icon),
|
|
4182
4182
|
React.createElement("div", { className: "bianic-toaster-title-area text-[14px] font-semibold leading-[21px]" }, title)),
|
|
4183
|
-
React.createElement("div", { className: "bianic-toaster-description-area text-[12px] font-normal leading-[134%]" }, children))) : (React.createElement("div", { className: "bianic-toaster-content-area flex flex-row gap-[5px]" },
|
|
4183
|
+
React.createElement("div", { className: "bianic-toaster-description-area text-[12px] font-normal leading-[134%]" }, children))) : (React.createElement("div", { className: "bianic-toaster-content-area flex grow flex-row gap-[5px]" },
|
|
4184
4184
|
icon && React.createElement("div", { className: "bianic-toaster-icon-area" }, icon),
|
|
4185
4185
|
React.createElement("div", { className: "bianic-toaster-description-area text-[12px] font-normal leading-[134%]" }, children)));
|
|
4186
4186
|
return (React.createElement("div", { className: "bianic-toaster flex w-[300px] flex-row gap-[5px] rounded-[5px] py-[10px] shadow-[0px_3px_20px_0px_rgba(0,0,0,0.10)] ".concat(colorStyles) },
|