bianic-ui 2.10.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.
Files changed (37) hide show
  1. package/README.md +49 -49
  2. package/dist/cjs/Empty.svg +12 -12
  3. package/dist/cjs/index.js +124 -70
  4. package/dist/cjs/lib.css +1 -1
  5. package/dist/cjs/types/components/Countdown/index.d.ts +1 -0
  6. package/dist/cjs/types/components/Forms/SelectInput/index.d.ts +1 -1
  7. package/dist/cjs/types/components/Icons/Unlinked.d.ts +4 -0
  8. package/dist/cjs/types/components/Icons/index.d.ts +2 -1
  9. package/dist/cjs/types/components/Popover/PropInterface.d.ts +2 -0
  10. package/dist/cjs/types/components/Popover/configs.d.ts +8 -8
  11. package/dist/cjs/types/components/Popover/index.d.ts +1 -1
  12. package/dist/cjs/types/components/Table/TableUtility/TableFooterController.d.ts +2 -1
  13. package/dist/cjs/types/components/Table/TableUtility/TableHeaderController.d.ts +2 -1
  14. package/dist/cjs/types/components/Tooltip/PropsInterface.d.ts +1 -0
  15. package/dist/cjs/types/stories/Banner.stories.d.ts +1 -0
  16. package/dist/cjs/types/stories/Icons/Unlinked.stories.d.ts +14 -0
  17. package/dist/esm/Empty.svg +12 -12
  18. package/dist/esm/index.js +125 -72
  19. package/dist/esm/lib.css +1 -1
  20. package/dist/esm/types/components/Countdown/index.d.ts +1 -0
  21. package/dist/esm/types/components/Forms/SelectInput/index.d.ts +1 -1
  22. package/dist/esm/types/components/Icons/Unlinked.d.ts +4 -0
  23. package/dist/esm/types/components/Icons/index.d.ts +2 -1
  24. package/dist/esm/types/components/Popover/PropInterface.d.ts +2 -0
  25. package/dist/esm/types/components/Popover/configs.d.ts +8 -8
  26. package/dist/esm/types/components/Popover/index.d.ts +1 -1
  27. package/dist/esm/types/components/Table/TableUtility/TableFooterController.d.ts +2 -1
  28. package/dist/esm/types/components/Table/TableUtility/TableHeaderController.d.ts +2 -1
  29. package/dist/esm/types/components/Tooltip/PropsInterface.d.ts +1 -0
  30. package/dist/esm/types/stories/Banner.stories.d.ts +1 -0
  31. package/dist/esm/types/stories/Icons/Unlinked.stories.d.ts +14 -0
  32. package/dist/index.d.ts +12 -6
  33. package/package.json +143 -143
  34. package/src/font/SansCode/README.txt +88 -88
  35. package/src/style/color.css +650 -650
  36. package/src/style/scrollbar.css +78 -78
  37. package/tailwind.config.js +592 -574
package/README.md CHANGED
@@ -1,49 +1,49 @@
1
- # Bianic 2.0
2
-
3
- DLS designed by BIAENERGI
4
-
5
- ## Installation
6
-
7
- ### First Installation
8
-
9
- `npm i bianic-ui`
10
-
11
- ## Usage
12
-
13
- After Bianic-Ui succesfully installed, you can call the component using JSX tag declaration style ex: `<Alert />`. Futher documentation about component can be access [here](https://ristek.link/bianic-dev-docs)
14
-
15
- ## Support
16
-
17
- If you found any bug, please contact at [devbiaenergi@gmail.com](mailto:devbiaenergi@gmail.com)
18
-
19
- ## Contributing
20
-
21
- If you're interested in contributing to Bianic-Ui, please contact our team at [devbiaenergi@gmail.com](mailto:devbiaenergi@gmail.com)
22
-
23
- ## Change Log
24
-
25
- Coming soon
26
-
27
- ## Development Notes
28
-
29
- ### Code Convention
30
-
31
- - Always separate style with tsx
32
- - For style config always try to be object with one level
33
- - Separate config file and component file for more readable code
34
- - The variable name of style config must be describe what you styling not describe the parameters (or key)
35
- - Use .tsx only when defining component, just us .ts if no component defined on the file
36
- - Don't import simulation or any demo to index.ts
37
- - Update storybook for every change or new component
38
-
39
- ### Component attribute naming
40
-
41
- - Check on html documentation. Always try to use the exisiting html atribute name.
42
- - If there the attibute not listed on html documentation. You can make it on your own with rules :
43
- - Use "is" prefix for boolean
44
- - Use "on" prefix for event listener
45
-
46
- ### Another Notes
47
-
48
- - Please assign class `...-primary-black` when need black color. If not assigned system will use #000000 black.
49
- - Just discuss any concept you had. **Discuss first, Implement later**.
1
+ # Bianic 2.0
2
+
3
+ DLS designed by BIAENERGI
4
+
5
+ ## Installation
6
+
7
+ ### First Installation
8
+
9
+ `npm i bianic-ui`
10
+
11
+ ## Usage
12
+
13
+ After Bianic-Ui succesfully installed, you can call the component using JSX tag declaration style ex: `<Alert />`. Futher documentation about component can be access [here](https://ristek.link/bianic-dev-docs)
14
+
15
+ ## Support
16
+
17
+ If you found any bug, please contact at [devbiaenergi@gmail.com](mailto:devbiaenergi@gmail.com)
18
+
19
+ ## Contributing
20
+
21
+ If you're interested in contributing to Bianic-Ui, please contact our team at [devbiaenergi@gmail.com](mailto:devbiaenergi@gmail.com)
22
+
23
+ ## Change Log
24
+
25
+ Coming soon
26
+
27
+ ## Development Notes
28
+
29
+ ### Code Convention
30
+
31
+ - Always separate style with tsx
32
+ - For style config always try to be object with one level
33
+ - Separate config file and component file for more readable code
34
+ - The variable name of style config must be describe what you styling not describe the parameters (or key)
35
+ - Use .tsx only when defining component, just us .ts if no component defined on the file
36
+ - Don't import simulation or any demo to index.ts
37
+ - Update storybook for every change or new component
38
+
39
+ ### Component attribute naming
40
+
41
+ - Check on html documentation. Always try to use the exisiting html atribute name.
42
+ - If there the attibute not listed on html documentation. You can make it on your own with rules :
43
+ - Use "is" prefix for boolean
44
+ - Use "on" prefix for event listener
45
+
46
+ ### Another Notes
47
+
48
+ - Please assign class `...-primary-black` when need black color. If not assigned system will use #000000 black.
49
+ - Just discuss any concept you had. **Discuss first, Implement later**.
@@ -1,12 +1,12 @@
1
- <svg width="92" height="92" viewBox="0 0 92 92" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M32.8825 12.968C33.8187 12.0283 35.0905 11.5 36.417 11.5H66.6521C69.4074 11.5 71.641 13.7336 71.641 16.489V75.1388C71.641 77.8941 69.4074 80.1278 66.6521 80.1278H25.8327C23.0774 80.1278 20.8437 77.8875 20.8438 75.1321C20.8438 56.1849 20.8438 44.6779 20.8438 27.1159C20.8438 25.7961 21.3667 24.528 22.2982 23.593L32.8825 12.968Z" fill="#DADEEB"/>
3
- <path d="M32.8825 12.968C33.8187 12.0283 35.0905 11.5 36.417 11.5H66.6521C69.4074 11.5 71.641 13.7336 71.641 16.489V75.1388C71.641 77.8941 69.4074 80.1278 66.6521 80.1278H25.8327C23.0774 80.1278 20.8437 77.8875 20.8438 75.1321C20.8438 56.1849 20.8438 44.6779 20.8438 27.1159C20.8438 25.7961 21.3667 24.528 22.2982 23.593L32.8825 12.968Z" fill="white" fill-opacity="0.5"/>
4
- <path d="M34.3638 11.5V16.1283C34.3638 21.0391 30.3828 25.02 25.472 25.02H20.8438L34.3638 11.5Z" fill="#DADEEB"/>
5
- <rect x="28.1716" y="32.6677" width="18.7253" height="4.07072" rx="1.99559" fill="#DADEEB"/>
6
- <rect x="28.1716" y="39.9949" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
7
- <rect x="28.1716" y="47.3223" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
8
- <rect x="28.1716" y="54.6497" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
9
- <rect x="28.1716" y="61.9768" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
10
- <path d="M58.7737 63.8789C63.267 59.3856 70.5519 59.3856 75.0452 63.8789C79.5382 68.3722 79.5384 75.6572 75.0452 80.1504C70.552 84.6436 63.267 84.6434 58.7737 80.1504C54.2804 75.6571 54.2804 68.3722 58.7737 63.8789Z" stroke="#54A0F9" stroke-width="1.70457"/>
11
- <path d="M75.6475 80.1499L81.9753 86.4778" stroke="#54A0F9" stroke-width="1.70457"/>
12
- </svg>
1
+ <svg width="92" height="92" viewBox="0 0 92 92" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M32.8825 12.968C33.8187 12.0283 35.0905 11.5 36.417 11.5H66.6521C69.4074 11.5 71.641 13.7336 71.641 16.489V75.1388C71.641 77.8941 69.4074 80.1278 66.6521 80.1278H25.8327C23.0774 80.1278 20.8437 77.8875 20.8438 75.1321C20.8438 56.1849 20.8438 44.6779 20.8438 27.1159C20.8438 25.7961 21.3667 24.528 22.2982 23.593L32.8825 12.968Z" fill="#DADEEB"/>
3
+ <path d="M32.8825 12.968C33.8187 12.0283 35.0905 11.5 36.417 11.5H66.6521C69.4074 11.5 71.641 13.7336 71.641 16.489V75.1388C71.641 77.8941 69.4074 80.1278 66.6521 80.1278H25.8327C23.0774 80.1278 20.8437 77.8875 20.8438 75.1321C20.8438 56.1849 20.8438 44.6779 20.8438 27.1159C20.8438 25.7961 21.3667 24.528 22.2982 23.593L32.8825 12.968Z" fill="white" fill-opacity="0.5"/>
4
+ <path d="M34.3638 11.5V16.1283C34.3638 21.0391 30.3828 25.02 25.472 25.02H20.8438L34.3638 11.5Z" fill="#DADEEB"/>
5
+ <rect x="28.1716" y="32.6677" width="18.7253" height="4.07072" rx="1.99559" fill="#DADEEB"/>
6
+ <rect x="28.1716" y="39.9949" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
7
+ <rect x="28.1716" y="47.3223" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
8
+ <rect x="28.1716" y="54.6497" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
9
+ <rect x="28.1716" y="61.9768" width="36.6365" height="4.07072" rx="1.99559" fill="#DADEEB"/>
10
+ <path d="M58.7737 63.8789C63.267 59.3856 70.5519 59.3856 75.0452 63.8789C79.5382 68.3722 79.5384 75.6572 75.0452 80.1504C70.552 84.6436 63.267 84.6434 58.7737 80.1504C54.2804 75.6571 54.2804 68.3722 58.7737 63.8789Z" stroke="#54A0F9" stroke-width="1.70457"/>
11
+ <path d="M75.6475 80.1499L81.9753 86.4778" stroke="#54A0F9" stroke-width="1.70457"/>
12
+ </svg>
package/dist/cjs/index.js CHANGED
@@ -721,12 +721,29 @@ var variantConfig$2 = {
721
721
 
722
722
  function Banner(_a) {
723
723
  var children = _a.children, _b = _a.closeable, closeable = _b === void 0 ? true : _b, _c = _a.variant, variant = _c === void 0 ? 'black' : _c, open = _a.open, onClose = _a.onClose;
724
+ var textRef = React.useRef(null);
725
+ var _d = React.useState(false), isMultiLine = _d[0], setIsMultiLine = _d[1];
726
+ React.useLayoutEffect(function () {
727
+ var textElement = textRef.current;
728
+ if (!textElement)
729
+ return;
730
+ var observer = new ResizeObserver(function () {
731
+ var computedStyle = window.getComputedStyle(textElement);
732
+ var lineHeight = parseFloat(computedStyle.lineHeight);
733
+ var height = textElement.clientHeight;
734
+ if (lineHeight && height) {
735
+ setIsMultiLine(height > lineHeight * 1.5);
736
+ }
737
+ });
738
+ observer.observe(textElement);
739
+ return function () { return observer.disconnect(); };
740
+ }, [children]);
724
741
  if (open) {
725
- return (React.createElement("div", { className: "w-full h-[42px] py-[22px] text-size-base font-semibold flex justify-center items-center text-white relative ".concat(variantConfig$2[variant].bg) },
726
- React.createElement("div", { className: "w-full flex justify-center items-center gap-[10px]" },
727
- React.createElement("div", { className: "font-semibold font-segoe text-[14px] leading-[21px]" }, children),
728
- React.createElement("div", { className: "flex items-center justify-center" }, closeable && (React.createElement("button", { className: "ml-auto text-xs outline-2 text-white absolute right-4 w-[18px] h-[18px] flex justify-center items-center ".concat(variantConfig$2[variant].focus), type: "button", onClick: function () { return onClose(false); } },
729
- React.createElement(TbX, { className: "text-[18px] ".concat(variantConfig$2[variant].hover, " ").concat(variantConfig$2[variant].active) })))))));
742
+ return (React.createElement("div", { className: "relative flex min-h-fit w-full justify-center gap-x-[15px] py-[22px] pl-[15px] pr-[48px] text-size-base font-semibold text-white ".concat(variantConfig$2[variant].bg, " ").concat(isMultiLine ? 'items-start' : 'items-center') },
743
+ React.createElement("div", { className: "font-segoe text-[14px] font-semibold leading-[21px]", ref: textRef }, children),
744
+ React.createElement("div", { className: "absolute right-[15px]", style: { display: closeable ? 'block' : 'none' } },
745
+ React.createElement("button", { className: "flex h-[18px] w-[18px] items-center justify-center text-xs text-white outline-2 ".concat(variantConfig$2[variant].focus), type: "button", onClick: function () { return onClose(false); } },
746
+ React.createElement(TbX, { className: "text-[18px] ".concat(variantConfig$2[variant].hover, " ").concat(variantConfig$2[variant].active) })))));
730
747
  }
731
748
  }
732
749
  Banner.defaultProps = {
@@ -1745,17 +1762,24 @@ function Color() {
1745
1762
  }))));
1746
1763
  }
1747
1764
 
1748
- var BORDER_COLOR = {
1749
- countdown: 'border-bia-blue',
1750
- success: 'border-bia-green',
1751
- };
1752
1765
  var Countdown = React.forwardRef(function (_a, ref) {
1753
- var seconds = _a.seconds, _b = _a.variant, variant = _b === void 0 ? 'countdown' : _b, className = _a.className, props = __rest(_a, ["seconds", "variant", "className"]);
1766
+ var seconds = _a.seconds, maxSeconds = _a.maxSeconds, _b = _a.variant, variant = _b === void 0 ? 'countdown' : _b, className = _a.className, props = __rest(_a, ["seconds", "maxSeconds", "variant", "className"]);
1754
1767
  var isCountdown = variant === 'countdown';
1755
- var borderColor = BORDER_COLOR[variant];
1756
- return (React.createElement("div", __assign({ ref: ref, role: isCountdown ? 'timer' : 'status', "aria-live": "polite", "aria-atomic": "true", className: cn('flex aspect-square w-[120px] flex-col items-center justify-center rounded-radius-full border-[3px]', borderColor, className) }, props), isCountdown ? (React.createElement(React.Fragment, null,
1757
- React.createElement(Heading, { variant: "2" }, seconds),
1758
- 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" }))));
1768
+ var strokeWidth = 3;
1769
+ var size = 120;
1770
+ var radius = (size - strokeWidth) / 2;
1771
+ var circumference = 2 * Math.PI * radius;
1772
+ // Calculate how much stroke to show based on time remaining
1773
+ var strokeDashoffset = circumference - (seconds / maxSeconds) * circumference;
1774
+ return (React.createElement("div", __assign({ ref: ref, role: isCountdown ? 'timer' : 'status', "aria-live": "polite", "aria-atomic": "true", className: cn('relative flex aspect-square w-[120px] flex-col items-center justify-center rounded-radius-full', className) }, props, { style: { width: size, height: size } }),
1775
+ React.createElement("svg", { className: "absolute left-0 top-0 -rotate-90 transform" // Rotates SVG so progress starts at 12 o'clock
1776
+ , width: size, height: size },
1777
+ React.createElement("circle", { className: "text-bia-blue-light-90", stroke: "currentColor", fill: "transparent", strokeWidth: strokeWidth, cx: size / 2, cy: size / 2, r: radius }),
1778
+ isCountdown && (React.createElement("circle", { className: "text-bia-blue transition-all ease-linear ".concat(seconds !== maxSeconds ? 'duration-1000' : 'duration-0'), stroke: "currentColor", fill: "transparent", strokeWidth: strokeWidth, strokeDasharray: circumference, strokeDashoffset: strokeDashoffset, strokeLinecap: "round", cx: size / 2, cy: size / 2, r: radius })),
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
+ isCountdown ? (React.createElement(React.Fragment, null,
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 === 1 ? 'second' : 'seconds'))) : (React.createElement(TbCheck, { size: 46, className: "text-bia-green", "aria-label": "Countdown complete" }))));
1759
1783
  });
1760
1784
  Countdown.displayName = 'Countdown';
1761
1785
 
@@ -2239,12 +2263,12 @@ function Tooltip(props) {
2239
2263
  }, [content, maxWidth, scrollWidth, offsetHeight]);
2240
2264
  return (React.createElement("div", { className: "tooltip-wrapper relative inline-flex h-fit w-fit flex-col", onMouseEnter: showTip, onMouseLeave: hideTip, ref: anchorRef },
2241
2265
  children,
2242
- active && (React.createElement(TooltipItem, { anchorRef: anchorRef, direction: direction, content: content, tooltipContainerRef: tooltipContainerRef, tooltipContainerStyle: tooltipContainerStyle, bgColor: bgColor, textColor: textColor, zIndex: zIndex, className: className, style: style }))));
2266
+ React.createElement(TooltipItem, { anchorRef: anchorRef, direction: direction, content: content, tooltipContainerRef: tooltipContainerRef, tooltipContainerStyle: tooltipContainerStyle, bgColor: bgColor, textColor: textColor, zIndex: zIndex, className: className, style: style, active: active })));
2243
2267
  }
2244
2268
  var TooltipItem = function (_a) {
2245
- var anchorRef = _a.anchorRef, className = _a.className, content = _a.content, direction = _a.direction, style = _a.style, tooltipContainerRef = _a.tooltipContainerRef, tooltipContainerStyle = _a.tooltipContainerStyle, _b = _a.bgColor, bgColor = _b === void 0 ? 'bia-black' : _b, _c = _a.textColor, textColor = _c === void 0 ? 'bia-white' : _c, zIndex = _a.zIndex;
2269
+ var anchorRef = _a.anchorRef, className = _a.className, content = _a.content, direction = _a.direction, style = _a.style, tooltipContainerRef = _a.tooltipContainerRef, tooltipContainerStyle = _a.tooltipContainerStyle, _b = _a.bgColor, bgColor = _b === void 0 ? 'bia-black' : _b, _c = _a.textColor, textColor = _c === void 0 ? 'bia-white' : _c, zIndex = _a.zIndex, _d = _a.active, active = _d === void 0 ? false : _d;
2246
2270
  var positionStyle = usePopupPosition(anchorRef, tooltipContainerRef, direction)[0];
2247
- return reactDom.createPortal(React.createElement("div", { className: "tooltip-container break-word absolute inline-block break-all rounded-[4px] bg-".concat(bgColor, " px-[7px] py-[4px] text-size-sm text-").concat(textColor, " ").concat(className), style: __assign(__assign(__assign({ zIndex: zIndex }, positionStyle), tooltipContainerStyle), style), ref: tooltipContainerRef }, content), document.body);
2271
+ return reactDom.createPortal(React.createElement("div", { className: "tooltip-container break-word absolute inline-block break-all rounded-[4px] bg-".concat(bgColor, " px-[7px] py-[4px] text-size-sm text-").concat(textColor, " ").concat(className), style: __assign(__assign(__assign(__assign({ zIndex: zIndex }, positionStyle), tooltipContainerStyle), style), { visibility: active ? 'visible' : 'hidden' }), ref: tooltipContainerRef }, content), document.body);
2248
2272
  };
2249
2273
  Tooltip.defaultProps = {
2250
2274
  delay: 400,
@@ -2521,7 +2545,7 @@ var sizeUnion$3 = ['md', 'sm', 'tn'];
2521
2545
  function Checkbox(_a) {
2522
2546
  var _b = _a.disabled, disabled = _b === void 0 ? false : _b, id = _a.id, _c = _a.size, size = _c === void 0 ? 'md' : _c, label = _a.label, _d = _a.onChange, onChange = _d === void 0 ? function () { } : _d, _e = _a.isIndeterminate, isIndeterminate = _e === void 0 ? false : _e, props = __rest(_a, ["disabled", "id", "size", "label", "onChange", "isIndeterminate"]);
2523
2547
  var _f = sizeConfig$9[validUnion(size, sizeUnion$3)], checkClass = _f.checkClass, labelClass = _f.labelClass;
2524
- var isValidIndeterminate = isIndeterminate && props.checked && !disabled;
2548
+ var isValidIndeterminate = isIndeterminate && props.checked;
2525
2549
  var backgroundClass = size === 'tn' && props.checked ? 'bg-bia-blue' : 'bg-bia-white';
2526
2550
  var peerCheckedClass = size === 'tn' ? '' : 'peer-checked:border-2';
2527
2551
  return (React.createElement("div", { className: "flex items-center" },
@@ -2619,10 +2643,10 @@ DefaultDropdownItem.defaultProps = {
2619
2643
 
2620
2644
  var sizeUnion$2 = ['md', 'sm'];
2621
2645
  function SelectInput(_a) {
2622
- var descText = _a.descText, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, id = _a.id, _d = _a.isValid, isValid = _d === void 0 ? null : _d, label = _a.label, _e = _a.options, options = _e === void 0 ? [] : _e, _f = _a.required, required = _f === void 0 ? false : _f, selected = _a.selected, setSelected = _a.setSelected, _g = _a.onClickDropdown, onClickDropdown = _g === void 0 ? function () { } : _g, children = _a.children, _h = _a.dropContProps, _j = _h === void 0 ? {} : _h, _k = _j.className, dropContClassName = _k === void 0 ? '' : _k, restDropContProps = __rest(_j, ["className"]), props = __rest(_a, ["descText", "disabled", "size", "id", "isValid", "label", "options", "required", "selected", "setSelected", "onClickDropdown", "children", "dropContProps"]);
2623
- var _l = React.useState(false), isOpen = _l[0], setIsOpen = _l[1];
2646
+ var descText = _a.descText, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, id = _a.id, _d = _a.isValid, isValid = _d === void 0 ? null : _d, label = _a.label, _e = _a.options, options = _e === void 0 ? [] : _e, _f = _a.readOnly, readOnly = _f === void 0 ? false : _f, _g = _a.required, required = _g === void 0 ? false : _g, selected = _a.selected, setSelected = _a.setSelected, _h = _a.onClickDropdown, onClickDropdown = _h === void 0 ? function () { } : _h, children = _a.children, _j = _a.dropContProps, _k = _j === void 0 ? {} : _j, _l = _k.className, dropContClassName = _l === void 0 ? '' : _l, restDropContProps = __rest(_k, ["className"]), props = __rest(_a, ["descText", "disabled", "size", "id", "isValid", "label", "options", "readOnly", "required", "selected", "setSelected", "onClickDropdown", "children", "dropContProps"]);
2647
+ var _m = React.useState(false), isOpen = _m[0], setIsOpen = _m[1];
2624
2648
  var validatedSize = validUnion(size, sizeUnion$2);
2625
- var _m = sizeConfig$8[validatedSize], searchSize = _m.searchSize, iconSize = _m.iconSize;
2649
+ var _o = sizeConfig$8[validatedSize], searchSize = _o.searchSize, iconSize = _o.iconSize;
2626
2650
  var inputRef = React.useRef(null);
2627
2651
  var isObjectOptionItem = false;
2628
2652
  if (options.every(function (item) { return typeof item === 'object' && item !== null; }))
@@ -2638,12 +2662,10 @@ function SelectInput(_a) {
2638
2662
  if (!disabled && isExistValidation && !isValid)
2639
2663
  descColor = 'text-bia-red';
2640
2664
  var disabledClass = disabled ? 'cursor-not-allowed' : '';
2641
- return (React.createElement("div", { className: "bianic-fgc-container bianic-text-input-container field-group flex w-full flex-col" },
2642
- React.createElement("label", { htmlFor: id, className: "label pb-2 text-xs font-semibold" },
2643
- childrenElement(label),
2644
- required && React.createElement("span", { className: "p-1 text-bia-red" }, "*")),
2665
+ return (React.createElement("div", { className: "bianic-fgc-container bianic-text-input-container field-group flex w-full flex-col gap-y-2" },
2666
+ label && (React.createElement(FormLabel, { htmlFor: id, required: required, readOnly: readOnly }, label)),
2645
2667
  React.createElement("div", { className: "group relative w-full ".concat(disabledClass) },
2646
- React.createElement("input", __assign({ className: "bianic-fgc-target field peer w-full cursor-pointer rounded border border-bia-grey-dark-10 bg-primary-white pe-8 focus-visible:outline-none enabled:hover:rounded-b-none enabled:hover:border-b-bia-blue enabled:focus:rounded-b-none enabled:focus:border-b-bia-blue disabled:cursor-not-allowed disabled:bg-bia-grey-light-80 disabled:text-bia-coolgrey ".concat(searchSize), onClick: function () { return setIsOpen(!isOpen); }, value: selectedLabel, readOnly: true, id: id, disabled: disabled, ref: inputRef }, props)),
2668
+ React.createElement("input", __assign({ className: "bianic-fgc-target field peer w-full cursor-pointer rounded border border-bia-grey-dark-10 bg-primary-white pe-8 focus-visible:outline-none enabled:hover:rounded-b-none enabled:hover:border-b-bia-blue enabled:focus:rounded-b-none enabled:focus:border-b-bia-blue disabled:cursor-not-allowed disabled:bg-bia-grey-light-80 disabled:text-bia-coolgrey ".concat(searchSize), onClick: function () { return setIsOpen(!isOpen); }, value: selectedLabel, readOnly: true, id: id, disabled: disabled, ref: inputRef }, props)),
2647
2669
  React.createElement("div", { className: "pointer-events-none absolute inset-y-0 flex items-center pl-3 text-bia-coolgrey peer-disabled:text-bia-coolgrey-light-50 ".concat(iconSize) }, isOpen ? React.createElement(TbChevronUp, null) : React.createElement(TbChevronDown, null)),
2648
2670
  children === undefined && isOpen && (React.createElement("div", { className: "absolute z-10 w-full rounded-b-md border border-bia-grey-dark-10 bg-primary-white shadow-lg", ref: optionsRef, onClick: onClickDropdown }, options.map(function (option) {
2649
2671
  var isSelected = JSON.stringify(option) === JSON.stringify(selected);
@@ -3099,10 +3121,19 @@ var FormGroup = function (_a) {
3099
3121
  var children = _a.children, size = _a.size;
3100
3122
  var validSize = validUnion(size, sizeUnion$1);
3101
3123
  return (React.createElement("div", { className: "bianic-form-group flex items-end" }, React.Children.map(children, function (child) {
3102
- return React.isValidElement(child)
3103
- ? // Kirimkan handleItemClick sebagai props onClick ke setiap MenuItem
3104
- React.cloneElement(child, { size: validSize })
3105
- : child;
3124
+ var _a;
3125
+ if (!React.isValidElement(child))
3126
+ return child;
3127
+ if (typeof child.type === 'string') {
3128
+ var existingClassName = (_a = child.props.className) !== null && _a !== void 0 ? _a : '';
3129
+ var mergedClassName = [existingClassName, 'bianic-fgc-container']
3130
+ .filter(Boolean)
3131
+ .join(' ');
3132
+ return React.cloneElement(child, {
3133
+ className: mergedClassName,
3134
+ });
3135
+ }
3136
+ return React.cloneElement(child, { size: validSize });
3106
3137
  })));
3107
3138
  };
3108
3139
 
@@ -4040,6 +4071,12 @@ var Port = function (_a) {
4040
4071
  React.createElement("path", { d: "M11.9998 3.81818C16.5185 3.81818 20.1814 7.48121 20.1815 11.9998C20.1815 16.5185 16.5185 20.1815 11.9998 20.1815C7.4812 20.1814 3.81818 16.5185 3.81818 11.9998C3.81827 7.48127 7.48126 3.81828 11.9998 3.81818ZM12.0008 7.09064C11.7838 7.09064 11.5751 7.17744 11.4217 7.33088C11.2684 7.48427 11.1825 7.69214 11.1824 7.909V11.1815H7.909C7.69216 11.1816 7.48421 11.2684 7.33087 11.4217C7.17755 11.5751 7.09166 11.783 7.09161 11.9998C7.09161 12.2168 7.17743 12.4255 7.33087 12.5789C7.48419 12.7321 7.69224 12.8181 7.909 12.8182H11.1824V16.0906C11.1824 16.3076 11.2683 16.5163 11.4217 16.6697C11.5751 16.8231 11.7838 16.909 12.0008 16.909C12.2176 16.9089 12.4256 16.823 12.5789 16.6697C12.7324 16.5163 12.8182 16.3076 12.8182 16.0906V12.8182H16.0916C16.3084 12.8181 16.5164 12.7321 16.6697 12.5789C16.8232 12.4255 16.909 12.2168 16.909 11.9998C16.9089 11.7829 16.8231 11.5751 16.6697 11.4217C16.5164 11.2683 16.3085 11.1816 16.0916 11.1815H12.8182V7.909C12.8182 7.69213 12.7322 7.48428 12.5789 7.33088C12.4256 7.17755 12.2176 7.09076 12.0008 7.09064Z", fill: "inherit" })));
4041
4072
  };
4042
4073
 
4074
+ var Rhombus = function (_a) {
4075
+ var className = _a.className, _b = _a.fill, fill = _b === void 0 ? 'currentColor' : _b, _c = _a.size, size = _c === void 0 ? 20 : _c;
4076
+ return (React.createElement("svg", { className: className, width: size, height: size, viewBox: "0 0 24 24", fill: fill, xmlns: "http://www.w3.org/2000/svg" },
4077
+ React.createElement("path", { d: "M11.5884 7.24696C11.8417 7.09495 12.1583 7.09495 12.4116 7.24696L18.8567 11.114C19.3745 11.4247 19.3745 12.1753 18.8567 12.486L12.4116 16.353C12.1583 16.505 11.8417 16.505 11.5884 16.353L5.14332 12.486C4.62545 12.1753 4.62545 11.4247 5.14332 11.114L11.5884 7.24696Z", fill: "inherit" })));
4078
+ };
4079
+
4043
4080
  var SelectAllAdd = function (_a) {
4044
4081
  var className = _a.className, _b = _a.fill, fill = _b === void 0 ? 'currentColor' : _b, _c = _a.size, size = _c === void 0 ? 20 : _c;
4045
4082
  return (React.createElement("svg", { className: className, width: size, height: size, viewBox: "0 0 24 24", fill: fill, xmlns: "http://www.w3.org/2000/svg" },
@@ -4067,10 +4104,13 @@ var Stack = function (_a) {
4067
4104
  React.createElement("path", { d: "M11.5884 7.24696C11.8417 7.09495 12.1583 7.09495 12.4116 7.24696L18.8567 11.114C19.3745 11.4247 19.3745 12.1753 18.8567 12.486L12.4116 16.353C12.1583 16.505 11.8417 16.505 11.5884 16.353L5.14332 12.486C4.62545 12.1753 4.62545 11.4247 5.14332 11.114L11.5884 7.24696Z", fill: "inherit" })));
4068
4105
  };
4069
4106
 
4070
- var Rhombus = function (_a) {
4107
+ var Unlinked = function (_a) {
4071
4108
  var className = _a.className, _b = _a.fill, fill = _b === void 0 ? 'currentColor' : _b, _c = _a.size, size = _c === void 0 ? 20 : _c;
4072
4109
  return (React.createElement("svg", { className: className, width: size, height: size, viewBox: "0 0 24 24", fill: fill, xmlns: "http://www.w3.org/2000/svg" },
4073
- React.createElement("path", { d: "M11.5884 7.24696C11.8417 7.09495 12.1583 7.09495 12.4116 7.24696L18.8567 11.114C19.3745 11.4247 19.3745 12.1753 18.8567 12.486L12.4116 16.353C12.1583 16.505 11.8417 16.505 11.5884 16.353L5.14332 12.486C4.62545 12.1753 4.62545 11.4247 5.14332 11.114L11.5884 7.24696Z", fill: "inherit" })));
4110
+ React.createElement("path", { d: "M21.293 16.293C21.6835 15.9025 22.3165 15.9024 22.707 16.293C23.0975 16.6835 23.0975 17.3165 22.707 17.707L20.9141 19.5L22.707 21.293C23.0975 21.6835 23.0975 22.3165 22.707 22.707C22.3165 23.0975 21.6835 23.0975 21.293 22.707L19.5 20.9141L17.707 22.707C17.3165 23.0975 16.6835 23.0975 16.293 22.707C15.9024 22.3165 15.9024 21.6835 16.293 21.293L18.0859 19.5L16.293 17.707C15.9024 17.3165 15.9024 16.6835 16.293 16.293C16.6835 15.9025 17.3165 15.9024 17.707 16.293L19.5 18.0859L21.293 16.293Z", fill: "#2F2F2F" }),
4111
+ React.createElement("path", { d: "M5.33789 10.251C5.75171 9.88533 6.38331 9.92416 6.74902 10.3379C7.11467 10.7517 7.07583 11.3833 6.66211 11.749L6.16016 12.1924C5.79549 12.5578 5.50566 12.9912 5.30664 13.4678C5.10428 13.9525 5.00006 14.4728 5 14.998C5 15.5234 5.10422 16.0445 5.30664 16.5293C5.50905 17.0139 5.80525 17.454 6.17871 17.8232C6.94016 18.5762 7.9682 18.9979 9.03906 18.998C10.0861 18.998 11.0926 18.5947 11.8486 17.873L12.1973 17.4033C12.5268 16.9601 13.1535 16.8678 13.5967 17.1973C14.0399 17.5268 14.1322 18.1535 13.8027 18.5967L13.4053 19.1309C13.3751 19.1714 13.3416 19.2096 13.3057 19.2451C12.1697 20.3683 10.6365 20.998 9.03906 20.998C7.44166 20.9979 5.90831 20.3683 4.77246 19.2451C4.21094 18.6898 3.76524 18.0285 3.46094 17.2998C3.15659 16.5709 3 15.788 3 14.998C3.00006 14.2083 3.15665 13.4261 3.46094 12.6973C3.76524 11.9685 4.21094 11.3072 4.77246 10.752C4.78565 10.7389 4.79958 10.7262 4.81348 10.7139L5.33789 10.251Z", fill: "#2F2F2F" }),
4112
+ React.createElement("path", { d: "M14.293 8.29297C14.6835 7.90244 15.3165 7.90244 15.707 8.29297C16.0976 8.68349 16.0976 9.31651 15.707 9.70703L9.70703 15.707C9.31651 16.0976 8.68349 16.0976 8.29297 15.707C7.90244 15.3165 7.90244 14.6835 8.29297 14.293L14.293 8.29297Z", fill: "#2F2F2F" }),
4113
+ React.createElement("path", { d: "M14.999 3C16.5903 3.00014 18.116 3.6325 19.2412 4.75781C20.3663 5.88307 20.999 7.40877 20.999 9C20.9989 10.5913 20.3665 12.118 19.2412 13.2432C19.2247 13.2597 19.2071 13.2757 19.1895 13.291L18.6562 13.7549C18.2394 14.1171 17.6074 14.073 17.2451 13.6562C16.8829 13.2394 16.927 12.6074 17.3438 12.2451L17.8506 11.8057C18.5863 11.0578 18.999 10.0499 18.999 9C18.999 7.93919 18.5772 6.92206 17.8271 6.17188C17.0771 5.42168 16.0599 5.00014 14.999 5C13.9496 4.99993 12.9422 5.41159 12.1943 6.14648L11.7568 6.65332C11.3959 7.07118 10.7646 7.11762 10.3467 6.75684C9.92881 6.39588 9.88237 5.76463 10.2432 5.34668L10.7061 4.81055C10.722 4.79214 10.7387 4.77404 10.7559 4.75684C11.8812 3.63164 13.4076 2.99989 14.999 3Z", fill: "#2F2F2F" })));
4074
4114
  };
4075
4115
 
4076
4116
  var VirtualPort = function (_a) {
@@ -4273,65 +4313,76 @@ Pills.defaultProps = {
4273
4313
  var classConfig = {
4274
4314
  top: {
4275
4315
  tooltipContainer: 'bottom-[calc(100%+10px)] left-1/2 -translate-x-1/2',
4276
- triangleContainer: 'left-0 -bottom-[4px] flex justify-center w-full h-auto',
4277
- triangleShape: 'border-l-[8px] border-l-transparent border-t-[5px] border-t-primary-black border-r-[8px] border-r-transparent',
4316
+ // Positioned at the bottom, pointing down: needs right and bottom borders
4317
+ triangleContainer: 'left-0 -bottom-[3px] flex justify-center w-full h-auto',
4318
+ triangleBorders: 'border-r border-b',
4278
4319
  },
4279
4320
  right: {
4280
4321
  tooltipContainer: 'left-[calc(100%+10px)] top-1/2 -translate-y-1/2',
4281
- triangleContainer: '-left-[4px] bottom-0 flex items-center w-auto h-full',
4282
- triangleShape: 'border-t-[8px] border-t-transparent border-r-[5px] border-r-primary-black border-b-[8px] border-b-transparent',
4322
+ // Positioned on the left, pointing left: needs bottom and left borders
4323
+ triangleContainer: '-left-[3px] bottom-0 flex items-center w-auto h-full',
4324
+ triangleBorders: 'border-b border-l',
4283
4325
  },
4284
4326
  bottom: {
4285
- tooltipContainer: 'top-[calc(100%+10px)] left-1/2 -translate-x-1/2',
4286
- triangleContainer: 'px-[10px] left-0 -top-[9px] flex justify-center w-full h-auto',
4287
- triangleShape: 'border-l-[8px] border-l-transparent border-b-[5px] border-b-primary-black border-r-[8px] border-r-transparent',
4327
+ tooltipContainer: 'top-[calc(100%+20px)] left-1/2 -translate-x-1/2',
4328
+ // Positioned at the top, pointing up: needs left and top borders
4329
+ triangleContainer: 'px-[10px] left-0 -top-[3px] flex justify-center w-full h-auto',
4330
+ triangleBorders: 'border-l border-t',
4288
4331
  },
4289
4332
  left: {
4290
4333
  tooltipContainer: 'right-[calc(100%+10px)] top-1/2 -translate-y-1/2',
4291
- triangleContainer: '-right-[4px] bottom-0 flex items-center w-auto h-full',
4292
- triangleShape: 'border-t-[8px] border-t-transparent border-l-[5px] border-l-primary-black border-b-[8px] border-b-transparent',
4334
+ // Positioned on the right, pointing right: needs top and right borders
4335
+ triangleContainer: '-right-[3px] bottom-0 flex items-center w-auto h-full',
4336
+ triangleBorders: 'border-t border-r',
4293
4337
  },
4294
4338
  'top-right': {
4295
4339
  tooltipContainer: 'bottom-[calc(100%+10px)] right-0',
4296
- triangleContainer: 'px-[10px] left-0 -bottom-[4px] flex justify-end w-full h-auto',
4297
- triangleShape: 'border-l-[8px] border-l-transparent border-t-[5px] border-t-primary-black border-r-[8px] border-r-transparent',
4340
+ triangleContainer: 'px-[10px] left-0 -bottom-[3px] flex justify-end w-full h-auto',
4341
+ triangleBorders: 'border-r border-b',
4298
4342
  },
4299
4343
  'top-left': {
4300
4344
  tooltipContainer: 'bottom-[calc(100%+10px)] left-0',
4301
- triangleContainer: 'px-[10px] left-0 -bottom-[4px] flex justify-start w-full h-auto',
4302
- triangleShape: 'border-l-[8px] border-l-transparent border-t-[5px] border-t-primary-black border-r-[8px] border-r-transparent',
4345
+ triangleContainer: 'px-[10px] left-0 -bottom-[3px] flex justify-start w-full h-auto',
4346
+ triangleBorders: 'border-r border-b',
4303
4347
  },
4304
4348
  'bottom-right': {
4305
4349
  tooltipContainer: 'top-[calc(100%+10px)] right-0',
4306
- triangleContainer: 'px-[10px] left-0 -top-[9px] flex justify-end w-full h-auto',
4307
- triangleShape: 'border-l-[8px] border-l-transparent border-b-[5px] border-b-primary-black border-r-[8px] border-r-transparent',
4350
+ triangleContainer: 'px-[10px] left-0 -top-[3px] flex justify-end w-full h-auto',
4351
+ triangleBorders: 'border-l border-t',
4308
4352
  },
4309
4353
  'bottom-left': {
4310
4354
  tooltipContainer: 'top-[calc(100%+10px)] left-0',
4311
- triangleContainer: 'px-[10px] left-0 -top-[9px] flex justify-start w-full h-auto',
4312
- triangleShape: 'border-l-[8px] border-l-transparent border-b-[5px] border-b-primary-black border-r-[8px] border-r-transparent',
4355
+ triangleContainer: 'px-[10px] left-0 -top-[3px] flex justify-start w-full h-auto',
4356
+ triangleBorders: 'border-l border-t',
4313
4357
  },
4314
4358
  };
4315
4359
 
4316
4360
  function Popover(_a) {
4317
- var className = _a.className, children = _a.children, content = _a.content, _b = _a.direction, direction = _b === void 0 ? 'bottom' : _b; _a.maxWidth; var _c = _a.title, title = _c === void 0 ? '' : _c, style = _a.style, zIndex = _a.zIndex;
4361
+ var className = _a.className, children = _a.children, content = _a.content, _b = _a.direction, direction = _b === void 0 ? 'bottom' : _b; _a.maxWidth; var _c = _a.title, title = _c === void 0 ? '' : _c, style = _a.style, zIndex = _a.zIndex, _d = _a.color, color = _d === void 0 ? 'black' : _d;
4318
4362
  var wrapperRef = React.useRef(null);
4319
- var _d = useDetectOutsideClick(wrapperRef, false), isOpen = _d[0], setIsOpen = _d[1];
4363
+ var _e = useDetectOutsideClick(wrapperRef, false), isOpen = _e[0], setIsOpen = _e[1];
4320
4364
  return (React.createElement("div", { className: "Bianic-popover-Wrapper relative block h-fit w-fit", role: "button", ref: wrapperRef, onClick: function () { return setIsOpen(true); } },
4321
4365
  children,
4322
- isOpen && (React.createElement(PopoverItem, { title: title, content: content, anchorRef: wrapperRef, direction: direction, className: className, style: style, zIndex: zIndex }))));
4366
+ isOpen && (React.createElement(PopoverItem, { title: title, content: content, anchorRef: wrapperRef, direction: direction, className: className, style: style, zIndex: zIndex, color: color }))));
4323
4367
  }
4324
4368
  var PopoverItem = function (_a) {
4325
- var title = _a.title, content = _a.content, anchorRef = _a.anchorRef, direction = _a.direction, className = _a.className, style = _a.style, zIndex = _a.zIndex;
4369
+ var title = _a.title, content = _a.content, anchorRef = _a.anchorRef, direction = _a.direction, className = _a.className, style = _a.style, zIndex = _a.zIndex, _b = _a.color, color = _b === void 0 ? 'black' : _b;
4326
4370
  var popoverRef = React.useRef(null);
4327
4371
  var positionStyle = usePopupPosition(anchorRef, popoverRef, direction)[0];
4328
- var _b = classConfig[direction], triangleContainer = _b.triangleContainer, triangleShape = _b.triangleShape;
4329
- return reactDom.createPortal(React.createElement("div", { ref: popoverRef, style: __assign(__assign(__assign({}, positionStyle), style), { zIndex: zIndex }), className: "Bianic-popover-Tip text-bia-sm absolute z-50 w-[245px] space-y-[5px] rounded-[4px] bg-primary-black px-[20px] py-[17.5px] text-primary-white ".concat(className) },
4330
- React.createElement("div", { className: "flex flex-col" },
4372
+ var _c = classConfig[direction], triangleContainer = _c.triangleContainer, triangleBorders = _c.triangleBorders;
4373
+ var triangleThemeClasses = color === 'white'
4374
+ ? "".concat(triangleBorders, " border-bia-grey bg-primary-white")
4375
+ : 'bg-primary-black';
4376
+ var colorClass = color === 'black'
4377
+ ? 'bg-primary-black text-primary-white'
4378
+ : 'bg-primary-white border border-bia-grey text-primary-black';
4379
+ console.log('positionStyle', positionStyle);
4380
+ return reactDom.createPortal(React.createElement("div", { ref: popoverRef, style: __assign(__assign(__assign({}, positionStyle), style), { zIndex: zIndex }), className: "Bianic-popover absolute z-50 w-fit" },
4381
+ React.createElement("div", { className: "text-bia-sm flex w-[245px] flex-col space-y-[5px] rounded-[4px] px-[20px] py-[17.5px] ".concat(colorClass, " ").concat(className) },
4331
4382
  React.createElement("div", { className: "mb-[5px] font-humnst777 text-[16px] font-bold leading-[19.42px]" }, title),
4332
4383
  React.createElement("div", { className: "break-words font-segoe text-[12px] font-normal" }, content)),
4333
- React.createElement("div", { className: "triangle absolute ".concat(triangleContainer) },
4334
- React.createElement("div", { className: "h-0 w-0 ".concat(triangleShape) }))), document.body);
4384
+ React.createElement("div", { className: "triangle absolute ".concat(triangleContainer, " pointer-events-none") },
4385
+ React.createElement("div", { className: "h-[7px] w-[7px] rotate-45 transform ".concat(triangleThemeClasses) }))), document.body);
4335
4386
  };
4336
4387
  Popover.defaultProps = {
4337
4388
  direction: 'top',
@@ -4558,21 +4609,20 @@ SidebarContainer.displayName = 'SidebarContainer';
4558
4609
  var SidebarMenu = function (_a) {
4559
4610
  var _b = _a.color, color = _b === void 0 ? 'margueriteblue-dark-30' : _b, children = _a.children, _c = _a.isMinimized, isMinimized = _c === void 0 ? false : _c, _d = _a.activeId, activeId = _d === void 0 ? undefined : _d, _e = _a.setActiveId, setActiveId = _e === void 0 ? function () { } : _e;
4560
4611
  var _f = React.useState(false), isAllExpanded = _f[0], setIsAllExpanded = _f[1];
4561
- var menuClass = "transition-sidebar-menu-menu h-[60px]";
4562
4612
  var minimizedMenuClass = isMinimized
4563
4613
  ? 'opacity-100 h-1 w-full delay-[600ms] duration-300 ease-[cubic-bezier(0.68,-0.1,0.32,2)]'
4564
- : 'opacity-0 w-0 duration-200';
4614
+ : 'opacity-0 h-1 duration-500 ease-[cubic-bezier(0.32,-1,0.68,1)]';
4565
4615
  return (React.createElement("div", null,
4566
- React.createElement("div", { className: "relative flex w-full text-bia-white ".concat(menuClass) },
4616
+ React.createElement("div", { className: "relative flex h-[60px] w-full text-bia-white" },
4567
4617
  React.createElement("div", { className: "absolute left-0 top-[27.5px] px-[17px] ".concat(minimizedMenuClass) },
4568
- React.createElement("div", { className: "h-[1px] w-full bg-white" })),
4569
- React.createElement("div", { className: "absolute bottom-[11px] flex w-full justify-between pl-[78px] pr-[25px]" },
4618
+ React.createElement("div", { className: "h-[1px] w-full bg-white opacity-35" })),
4619
+ React.createElement("div", { className: cn('transition-sidebar-item absolute bottom-[11px] flex w-full justify-between pr-[25px]', isMinimized ? 'pl-[58px]' : 'pl-[78px]') },
4570
4620
  React.createElement(Text, { variant: "small-text", className: cn('truncate text-bia-white delay-[400ms]', isMinimized
4571
4621
  ? 'opacity-0 duration-300 ease-in-out'
4572
4622
  : 'opacity-75 delay-1000 duration-700 ease-in-out') }, "Menu"),
4573
4623
  React.createElement(ContextualButton, { onClick: function () { return setIsAllExpanded(function (prev) { return !prev; }); }, icon: React.createElement(TbChevronsDown, { className: cn('truncate text-bia-white delay-[400ms]', isMinimized
4574
4624
  ? 'opacity-0 duration-300 ease-in-out'
4575
- : 'opacity-100 delay-1000 duration-700 ease-in-out'), size: 18 }), className: "ml-auto opacity-50 hover:opacity-100 ".concat(isAllExpanded ? 'rotate-180' : '') }))),
4625
+ : 'opacity-100 delay-1000 duration-700 ease-in-out'), size: 18 }), className: "ml-auto opacity-50 duration-300 ease-in hover:opacity-100 ".concat(isAllExpanded ? 'rotate-180' : '') }))),
4576
4626
  React.Children.map(children, function (child) {
4577
4627
  return React.isValidElement(child)
4578
4628
  ? React.cloneElement(child, {
@@ -5193,10 +5243,10 @@ var EmptyTable = function (_a) {
5193
5243
 
5194
5244
  var tableSizeOption = [10, 20, 50, 100, 999];
5195
5245
  var TableFooterController = function (_a) {
5196
- var currentPage = _a.currentPage, totalPages = _a.totalPages, pageSize = _a.pageSize, setCurrentPage = _a.setCurrentPage, setPageSize = _a.setPageSize, isLoading = _a.isLoading;
5246
+ var currentPage = _a.currentPage, totalPages = _a.totalPages, pageSize = _a.pageSize, setCurrentPage = _a.setCurrentPage, setPageSize = _a.setPageSize, isLoading = _a.isLoading, _b = _a.size, size = _b === void 0 ? 'sm' : _b;
5197
5247
  // Table Button
5198
5248
  var tableSizeRef = React.useRef(null);
5199
- var _b = React.useState(false), isShownTableSizeDropdown = _b[0], setIsShownTableSizeDropdown = _b[1];
5249
+ var _c = React.useState(false), isShownTableSizeDropdown = _c[0], setIsShownTableSizeDropdown = _c[1];
5200
5250
  var handlePageSizeChange = function (size) {
5201
5251
  setPageSize(size);
5202
5252
  setCurrentPage(1);
@@ -5206,19 +5256,22 @@ var TableFooterController = function (_a) {
5206
5256
  var displayValue = value === 999 ? 'All' : value;
5207
5257
  return React.createElement(DropdownItem, { key: value, content: displayValue, value: value });
5208
5258
  })));
5209
- return (React.createElement("div", { className: "table-controller-footer flex w-full justify-between gap-[5px] rounded-b-radius-lg border-t border-bia-grey bg-bia-grey-light-80 px-2.5 pb-[7px] pt-2" },
5259
+ var paddingSize = size === 'md' ? 'py-2.5 pt-[9px]' : 'py-[3.5px] pt-[4.5px]';
5260
+ return (React.createElement("div", { className: "table-controller-footer flex w-full justify-between gap-[5px] rounded-b-radius-lg border-t border-bia-grey bg-bia-grey-light-80 px-2.5 ".concat(paddingSize) },
5210
5261
  React.createElement("div", { className: "action-container flex gap-[5px]" }, totalPages > 0 && (React.createElement(PaginationBar, { size: "sm", currentPage: currentPage, totalPages: totalPages, onPageChange: setCurrentPage, position: 'center' }))),
5211
5262
  React.createElement(Button, { ref: tableSizeRef, label: pageSizeDisplay, minWidth: 0, size: "sm", iconRight: React.createElement(TbChevronDown, { size: 14 }), onClick: function () { return setIsShownTableSizeDropdown(function (oldState) { return !oldState; }); }, disabled: isLoading, className: "w-fit" }),
5212
5263
  tableSizeDropdown));
5213
5264
  };
5214
5265
 
5215
5266
  var TableHeaderController = function (_a) {
5216
- var buttonActions = _a.buttonActions, totalData = _a.totalData, firstIndex = _a.firstIndex, lastIndex = _a.lastIndex;
5267
+ var _b = _a.size, size = _b === void 0 ? 'sm' : _b, buttonActions = _a.buttonActions, totalData = _a.totalData, firstIndex = _a.firstIndex, lastIndex = _a.lastIndex;
5217
5268
  var isShowHelperText = totalData || firstIndex || lastIndex;
5218
- return (React.createElement("div", { className: "table-controller-header flex w-full justify-between rounded-t-radius-lg border-b border-bia-grey bg-bia-grey-light-80 px-2.5 pb-[7px] pt-2" },
5269
+ var paddingSize = size === 'md' ? 'py-[13px] pt-[14px] ' : 'py-[7px] pt-2';
5270
+ var textSize = size === 'md' ? 'normal-text' : 'small-text';
5271
+ return (React.createElement("div", { className: "table-controller-header flex w-full justify-between rounded-t-radius-lg border-b border-bia-grey bg-bia-grey-light-80 px-2.5 ".concat(paddingSize) },
5219
5272
  React.createElement("div", { className: "action-container flex grow gap-[5px] pe-2.5" }, buttonActions && (buttonActions === null || buttonActions === void 0 ? void 0 : buttonActions.map(function (button) { return button; }))),
5220
5273
  isShowHelperText && (React.createElement("div", { className: "flex max-h-[22px] items-center font-segoe" },
5221
- React.createElement(Text, { variant: "small-text", className: "text-bia-coolgrey" },
5274
+ React.createElement(Text, { variant: textSize, className: "text-bia-coolgrey" },
5222
5275
  "View ",
5223
5276
  lastIndex === 0 ? 0 : firstIndex,
5224
5277
  " - ",
@@ -5505,6 +5558,7 @@ exports.BCSelectAllAdd = SelectAllAdd;
5505
5558
  exports.BCSelectAllRemove = SelectAllRemove;
5506
5559
  exports.BCSpinner = Spinner$1;
5507
5560
  exports.BCStack = Stack;
5561
+ exports.BCUnlinked = Unlinked;
5508
5562
  exports.BCVirtualPort = VirtualPort;
5509
5563
  exports.Badge = Badge;
5510
5564
  exports.Banner = Banner;