bianic-ui 2.10.2-beta.1 → 2.11.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 +2 -4
- package/dist/esm/index.js +2 -4
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1779,7 +1779,7 @@ var Countdown = React.forwardRef(function (_a, ref) {
|
|
|
1779
1779
|
React.createElement("circle", { className: "origin-center scale-y-[-1] text-bia-green transition-all ease-linear ".concat(isCountdown ? 'duration-0' : 'duration-1000'), stroke: "currentColor", fill: "transparent", strokeWidth: strokeWidth, strokeDasharray: circumference, strokeDashoffset: circumference - (isCountdown ? 0 : 1 / 1) * circumference, strokeLinecap: "round", cx: size / 2, cy: size / 2, r: radius })),
|
|
1780
1780
|
isCountdown ? (React.createElement(React.Fragment, null,
|
|
1781
1781
|
React.createElement(Heading, { key: seconds, variant: "2", className: "animate-number-drop" }, seconds),
|
|
1782
|
-
React.createElement(Text, { variant: "small-text", className: "font-segoe text-bia-coolgrey" }, seconds
|
|
1782
|
+
React.createElement(Text, { variant: "small-text", className: "font-segoe text-bia-coolgrey" }, seconds === 1 ? 'second' : 'seconds'))) : (React.createElement(TbCheck, { size: 46, className: "text-bia-green", "aria-label": "Countdown complete" }))));
|
|
1783
1783
|
});
|
|
1784
1784
|
Countdown.displayName = 'Countdown';
|
|
1785
1785
|
|
|
@@ -1980,8 +1980,6 @@ var getContextualPopupStyle = function (anchorRef, popupRef, position) {
|
|
|
1980
1980
|
var popupRect = popupRef.current.getBoundingClientRect();
|
|
1981
1981
|
var popupHeight = popupRect.height;
|
|
1982
1982
|
var popupWidth = popupRect.width;
|
|
1983
|
-
console.log('popupHeight', popupHeight);
|
|
1984
|
-
console.log('anchorHeight', anchorRect.height);
|
|
1985
1983
|
switch (position) {
|
|
1986
1984
|
case 'top':
|
|
1987
1985
|
style.top = "".concat(anchorRect.top - popupHeight + window.scrollY - 5, "px");
|
|
@@ -4613,7 +4611,7 @@ var SidebarMenu = function (_a) {
|
|
|
4613
4611
|
var _f = React.useState(false), isAllExpanded = _f[0], setIsAllExpanded = _f[1];
|
|
4614
4612
|
var minimizedMenuClass = isMinimized
|
|
4615
4613
|
? 'opacity-100 h-1 w-full delay-[600ms] duration-300 ease-[cubic-bezier(0.68,-0.1,0.32,2)]'
|
|
4616
|
-
: 'opacity-0 h-1
|
|
4614
|
+
: 'opacity-0 h-1 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]';
|
|
4617
4615
|
return (React.createElement("div", null,
|
|
4618
4616
|
React.createElement("div", { className: "relative flex h-[60px] w-full text-bia-white" },
|
|
4619
4617
|
React.createElement("div", { className: "absolute left-0 top-[27.5px] px-[17px] ".concat(minimizedMenuClass) },
|
package/dist/esm/index.js
CHANGED
|
@@ -1777,7 +1777,7 @@ var Countdown = React.forwardRef(function (_a, ref) {
|
|
|
1777
1777
|
React.createElement("circle", { className: "origin-center scale-y-[-1] text-bia-green transition-all ease-linear ".concat(isCountdown ? 'duration-0' : 'duration-1000'), stroke: "currentColor", fill: "transparent", strokeWidth: strokeWidth, strokeDasharray: circumference, strokeDashoffset: circumference - (isCountdown ? 0 : 1 / 1) * circumference, strokeLinecap: "round", cx: size / 2, cy: size / 2, r: radius })),
|
|
1778
1778
|
isCountdown ? (React.createElement(React.Fragment, null,
|
|
1779
1779
|
React.createElement(Heading, { key: seconds, variant: "2", className: "animate-number-drop" }, seconds),
|
|
1780
|
-
React.createElement(Text, { variant: "small-text", className: "font-segoe text-bia-coolgrey" }, seconds
|
|
1780
|
+
React.createElement(Text, { variant: "small-text", className: "font-segoe text-bia-coolgrey" }, seconds === 1 ? 'second' : 'seconds'))) : (React.createElement(TbCheck, { size: 46, className: "text-bia-green", "aria-label": "Countdown complete" }))));
|
|
1781
1781
|
});
|
|
1782
1782
|
Countdown.displayName = 'Countdown';
|
|
1783
1783
|
|
|
@@ -1978,8 +1978,6 @@ var getContextualPopupStyle = function (anchorRef, popupRef, position) {
|
|
|
1978
1978
|
var popupRect = popupRef.current.getBoundingClientRect();
|
|
1979
1979
|
var popupHeight = popupRect.height;
|
|
1980
1980
|
var popupWidth = popupRect.width;
|
|
1981
|
-
console.log('popupHeight', popupHeight);
|
|
1982
|
-
console.log('anchorHeight', anchorRect.height);
|
|
1983
1981
|
switch (position) {
|
|
1984
1982
|
case 'top':
|
|
1985
1983
|
style.top = "".concat(anchorRect.top - popupHeight + window.scrollY - 5, "px");
|
|
@@ -4611,7 +4609,7 @@ var SidebarMenu = function (_a) {
|
|
|
4611
4609
|
var _f = useState(false), isAllExpanded = _f[0], setIsAllExpanded = _f[1];
|
|
4612
4610
|
var minimizedMenuClass = isMinimized
|
|
4613
4611
|
? 'opacity-100 h-1 w-full delay-[600ms] duration-300 ease-[cubic-bezier(0.68,-0.1,0.32,2)]'
|
|
4614
|
-
: 'opacity-0 h-1
|
|
4612
|
+
: 'opacity-0 h-1 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]';
|
|
4615
4613
|
return (React.createElement("div", null,
|
|
4616
4614
|
React.createElement("div", { className: "relative flex h-[60px] w-full text-bia-white" },
|
|
4617
4615
|
React.createElement("div", { className: "absolute left-0 top-[27.5px] px-[17px] ".concat(minimizedMenuClass) },
|
package/package.json
CHANGED