bianic-ui 2.12.1 → 2.13.0-alpha.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 CHANGED
@@ -5600,7 +5600,7 @@ var SidebarProfile = React.forwardRef(function (_a, ref) {
5600
5600
  };
5601
5601
  var buttonClass = "".concat(buttonConfig[0], " ").concat(profileSizeConfig[containerState]);
5602
5602
  var chevronClass = hasChildren ? 'inline-block' : 'hidden';
5603
- var profileClass = cn(profileConfig[containerState], 'transition-sidebar-item');
5603
+ var profileClass = cn(profileConfig[containerState], isActive || isPathActive ? 'opacity-100' : 'opacity-75 hover:opacity-100', 'transition-sidebar-item');
5604
5604
  var overlayClass = cn(overlaySizeConfig[containerState], isActive ? 'opacity-15' : 'opacity-0 group-hover:opacity-[0.08]');
5605
5605
  var colorClass = "bg-bia-".concat(color);
5606
5606
  var renderChildren = function () {
@@ -5637,7 +5637,7 @@ var SidebarProfile = React.forwardRef(function (_a, ref) {
5637
5637
  ? 'h-[6px] w-[6px] delay-[600ms] duration-300 ease-[cubic-bezier(0.68,-0.1,0.32,2)]'
5638
5638
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]'
5639
5639
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]') })),
5640
- React.createElement("div", { className: cn('sidebar-item relative flex h-fit items-center group/profile', profileClass) },
5640
+ React.createElement("div", { className: cn('sidebar-item group/profile relative flex h-fit items-center', profileClass) },
5641
5641
  React.createElement("div", { className: "group relative grow" },
5642
5642
  React.createElement("button", __assign({ ref: ref }, restProps, { onClick: function () {
5643
5643
  if (hasChildren) {
@@ -5661,9 +5661,7 @@ var SidebarProfile = React.forwardRef(function (_a, ref) {
5661
5661
  : 'opacity-100 delay-[550ms] duration-500 ease-in-out') },
5662
5662
  (notificationCount !== undefined ||
5663
5663
  (!isChildExpanded &&
5664
- sumNotificationCounts(children) > 0)) && (React.createElement(TagLabel, { text: notificationLabel, className: isActive || isPathActive
5665
- ? 'opacity-100'
5666
- : 'opacity-75 group-hover/profile:opacity-100', color: "white", size: "tn" })),
5664
+ sumNotificationCounts(children) > 0)) && (React.createElement(TagLabel, { text: notificationLabel, color: "white", size: "tn" })),
5667
5665
  React.createElement("div", { className: cn(chevronClass) },
5668
5666
  React.createElement(TbChevronRight, { className: cn('text-bia-white transition-transform duration-300 ease-in-out', isChildExpanded ? 'rotate-90' : '', isActive || isPathActive
5669
5667
  ? 'opacity-100'
package/dist/esm/index.js CHANGED
@@ -5598,7 +5598,7 @@ var SidebarProfile = forwardRef(function (_a, ref) {
5598
5598
  };
5599
5599
  var buttonClass = "".concat(buttonConfig[0], " ").concat(profileSizeConfig[containerState]);
5600
5600
  var chevronClass = hasChildren ? 'inline-block' : 'hidden';
5601
- var profileClass = cn(profileConfig[containerState], 'transition-sidebar-item');
5601
+ var profileClass = cn(profileConfig[containerState], isActive || isPathActive ? 'opacity-100' : 'opacity-75 hover:opacity-100', 'transition-sidebar-item');
5602
5602
  var overlayClass = cn(overlaySizeConfig[containerState], isActive ? 'opacity-15' : 'opacity-0 group-hover:opacity-[0.08]');
5603
5603
  var colorClass = "bg-bia-".concat(color);
5604
5604
  var renderChildren = function () {
@@ -5635,7 +5635,7 @@ var SidebarProfile = forwardRef(function (_a, ref) {
5635
5635
  ? 'h-[6px] w-[6px] delay-[600ms] duration-300 ease-[cubic-bezier(0.68,-0.1,0.32,2)]'
5636
5636
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]'
5637
5637
  : 'h-0 w-0 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]') })),
5638
- React.createElement("div", { className: cn('sidebar-item relative flex h-fit items-center group/profile', profileClass) },
5638
+ React.createElement("div", { className: cn('sidebar-item group/profile relative flex h-fit items-center', profileClass) },
5639
5639
  React.createElement("div", { className: "group relative grow" },
5640
5640
  React.createElement("button", __assign({ ref: ref }, restProps, { onClick: function () {
5641
5641
  if (hasChildren) {
@@ -5659,9 +5659,7 @@ var SidebarProfile = forwardRef(function (_a, ref) {
5659
5659
  : 'opacity-100 delay-[550ms] duration-500 ease-in-out') },
5660
5660
  (notificationCount !== undefined ||
5661
5661
  (!isChildExpanded &&
5662
- sumNotificationCounts(children) > 0)) && (React.createElement(TagLabel, { text: notificationLabel, className: isActive || isPathActive
5663
- ? 'opacity-100'
5664
- : 'opacity-75 group-hover/profile:opacity-100', color: "white", size: "tn" })),
5662
+ sumNotificationCounts(children) > 0)) && (React.createElement(TagLabel, { text: notificationLabel, color: "white", size: "tn" })),
5665
5663
  React.createElement("div", { className: cn(chevronClass) },
5666
5664
  React.createElement(TbChevronRight, { className: cn('text-bia-white transition-transform duration-300 ease-in-out', isChildExpanded ? 'rotate-90' : '', isActive || isPathActive
5667
5665
  ? 'opacity-100'
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "2.12.1",
6
+ "version": "2.13.0-alpha.0",
7
7
  "description": "Design Language System develop by BIAENERGI",
8
8
  "repository": {
9
9
  "type": "git",