bianic-ui 1.5.0 → 1.5.1-beta

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/README.md CHANGED
@@ -43,13 +43,6 @@ Coming soon
43
43
  - Use "is" prefix for boolean
44
44
  - Use "on" prefix for event listener
45
45
 
46
- ### Step of publishment
47
- - Bundling package with running command `npm run rollup`
48
- - Comment some lines with market 'Comment for publishment purpose'
49
- - Change package version following semantic version rules
50
- - Run `npm publish`
51
- - Dont forget to publish storybook to global with `npm run publish-storybook` and register the link to ristek.link
52
-
53
46
  ### Another Notes
54
47
 
55
48
  - Please assign class `...-primary-black` when need black color. If not assigned system will use #000000 black.
package/dist/cjs/index.js CHANGED
@@ -200,26 +200,26 @@ var AlertConfig = {
200
200
 
201
201
  function Display(_a) {
202
202
  var children = _a.children;
203
- return (React$1.createElement("h1", { className: "display text-[144px] texts leading-[120%] font-bold font-humnst777" }, children));
203
+ return (React$1.createElement("h1", { className: "bianic-display text-[144px] texts leading-[120%] font-bold font-humnst777" }, children));
204
204
  }
205
205
 
206
206
  function Heading(_a) {
207
207
  var _b = _a.variant, variant = _b === void 0 ? '1' : _b, className = _a.className, children = _a.children;
208
208
  switch (variant) {
209
209
  case '1':
210
- return (React$1.createElement("h1", { className: "header-".concat(variant, " text-heading-1 font-bold font-humnst777 flex ").concat(className) }, children));
210
+ return (React$1.createElement("h1", { className: "bianic-header-".concat(variant, " text-heading-1 font-bold font-humnst777 flex ").concat(className) }, children));
211
211
  case '2':
212
- return (React$1.createElement("h2", { className: "header-".concat(variant, " text-heading-2 font-bold font-humnst777 flex ").concat(className) }, children));
212
+ return (React$1.createElement("h2", { className: "bianic-header-".concat(variant, " text-heading-2 font-bold font-humnst777 flex ").concat(className) }, children));
213
213
  case '3':
214
- return (React$1.createElement("h3", { className: "header-".concat(variant, " text-heading-3 font-bold font-humnst777 flex ").concat(className) }, children));
214
+ return (React$1.createElement("h3", { className: "bianic-header-".concat(variant, " text-heading-3 font-bold font-humnst777 flex ").concat(className) }, children));
215
215
  case '4':
216
- return (React$1.createElement("h4", { className: "header-".concat(variant, " text-heading-4 font-bold font-humnst777 flex ").concat(className) }, children));
216
+ return (React$1.createElement("h4", { className: "bianic-header-".concat(variant, " text-heading-4 font-bold font-humnst777 flex ").concat(className) }, children));
217
217
  case '5':
218
- return (React$1.createElement("h5", { className: "header-".concat(variant, " text-heading-5 font-bold font-humnst777 flex ").concat(className) }, children));
218
+ return (React$1.createElement("h5", { className: "bianic-header-".concat(variant, " text-heading-5 font-bold font-humnst777 flex ").concat(className) }, children));
219
219
  case '6':
220
- return (React$1.createElement("h6", { className: "header-".concat(variant, " text-heading-6 font-bold font-humnst777 flex ").concat(className) }, children));
220
+ return (React$1.createElement("h6", { className: "bianic-header-".concat(variant, " text-heading-6 font-bold font-humnst777 flex ").concat(className) }, children));
221
221
  default:
222
- return (React$1.createElement("h1", { className: "header-".concat(variant, " text-heading-1 font-bold font-humnst777 flex ").concat(className) }, children));
222
+ return (React$1.createElement("h1", { className: "bianic-header-".concat(variant, " text-heading-1 font-bold font-humnst777 flex ").concat(className) }, children));
223
223
  }
224
224
  }
225
225
  Heading.defaultProps = {
@@ -286,7 +286,7 @@ var variantUnion$2 = [
286
286
  function Text(_a) {
287
287
  var _b = _a.extended, extended = _b === void 0 ? '' : _b, variant = _a.variant, children = _a.children;
288
288
  var validatedVariant = validUnion(variant, variantUnion$2);
289
- return (React$1.createElement("span", { className: "text ".concat(textClasses[validatedVariant], " ").concat(extended) }, childrenElement(children)));
289
+ return (React$1.createElement("span", { className: "bianic-text ".concat(textClasses[validatedVariant], " ").concat(extended) }, childrenElement(children)));
290
290
  }
291
291
  Text.defaultProps = {
292
292
  extended: '',
@@ -339,7 +339,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
339
339
 
340
340
  function Link(_a) {
341
341
  var _b = _a.extended, extended = _b === void 0 ? '' : _b, children = _a.children, rest = __rest(_a, ["extended", "children"]);
342
- return (React$1.createElement("a", __assign({ className: "text ".concat(textClasses.link, " ").concat(extended) }, rest), children));
342
+ return (React$1.createElement("a", __assign({ className: "bianic-text ".concat(textClasses.link, " ").concat(extended) }, rest), children));
343
343
  }
344
344
  Link.defaultProps = {
345
345
  extended: '',
@@ -397,10 +397,16 @@ var radiusConfig$1 = {
397
397
  },
398
398
  };
399
399
  var sizeConfig$c = {
400
- lg: 'py-[10.5px] px-[13px] h-[48px] flex items-center justify-center gap-[10px] text-size-md ',
401
- md: ' px-[11px] py-[9px] h-[40px] flex items-center justify-center gap-[5px] text-size-base ',
402
- sm: 'px-[8px] py-[6px] h-[30px] flex items-center justify-center gap-[5px] text-size-sm ',
403
- tn: 'px-[4px] py-[2px] h-[22px] flex items-center justify-center gap-[3px] text-size-tiny ',
400
+ lg: 'py-[10.5px] h-[48px] flex items-center justify-center gap-[10px] text-size-md ',
401
+ md: 'py-[9px] h-[40px] flex items-center justify-center gap-[5px] text-size-base ',
402
+ sm: 'py-[6px] h-[30px] flex items-center justify-center gap-[5px] text-size-sm ',
403
+ tn: 'py-[2px] h-[22px] flex items-center justify-center gap-[3px] text-size-tiny ',
404
+ };
405
+ var sidePaddingConfig = {
406
+ lg: 'px-[13px]',
407
+ md: 'px-[11px]',
408
+ sm: 'px-[8px]',
409
+ tn: 'px-[4px]',
404
410
  };
405
411
  var minWidthConfig$1 = {
406
412
  lg: 'min-w-[112px]',
@@ -457,9 +463,22 @@ function Button(_a) {
457
463
  var validatedVariant = validUnion(variant, variantUnion$1);
458
464
  var validatedSize = validUnion(size, sizeUnion$4);
459
465
  var validatedRadius = validUnion(radius, radiusUnion);
460
- var minWidthRules = minWidth === undefined ? minWidthConfig$1[size] : "min-w-[".concat(minWidth, "px]");
466
+ var minWidthRules = minWidthConfig$1[size];
467
+ if (minWidth) {
468
+ minWidthRules = "min-w-[".concat(minWidth, "px]");
469
+ }
470
+ else if (variant.includes('link')) {
471
+ minWidthRules = '';
472
+ }
473
+ var sizingRules;
474
+ if (variant.includes('subtle')) {
475
+ sizingRules = "".concat(sizeConfig$c[validatedSize]);
476
+ }
477
+ else {
478
+ sizingRules = "".concat(sizeConfig$c[validatedSize], " ").concat(sidePaddingConfig[validatedSize]);
479
+ }
461
480
  var sizeClass = label
462
- ? "".concat(sizeConfig$c[validatedSize], " ").concat(minWidthRules)
481
+ ? " ".concat(minWidthRules, " ").concat(sizingRules)
463
482
  : iconOnlySizeConfig$1[validatedSize];
464
483
  var classString = "\n ".concat(variantConfig$2[validatedVariant], " \n ").concat(sizeClass, " \n ").concat(radiusConfig$1[validatedRadius][validatedSize], " \n ").concat(className, "\n ");
465
484
  return (React$1.createElement("button", __assign({ type: "button", className: "button flex items-center justify-center font-semibold ".concat(classString), disabled: disabled }, props),
@@ -1455,6 +1474,28 @@ var ButtonApp = function (_a) {
1455
1474
  return (React$1.createElement("button", __assign({ className: "button-app px-[10px] pb-[8.8px] pt-[8px] text-size-tiny ".concat(colorConfig$1[color][buttonState], " "), type: "button", disabled: disabled }, rest), label));
1456
1475
  };
1457
1476
 
1477
+ var textColorConfig = {
1478
+ dark: 'text-primary-black disabled:text-bia-coolgrey-disabled',
1479
+ light: 'text-primary-white disabled:opacity-30',
1480
+ };
1481
+ var stateColorConfig = {
1482
+ selected: 'bg-black/15 cursor-default',
1483
+ default: 'enabled:hover:bg-black/10 enabled:focus-visible:border-bia-blue-disabled enabled:focus-visible:outline-2 enabled:focus-visible:-outline-offset-1 enabled:focus-visible:outline-bia-blue-disabled enabled:active:bg-black/15',
1484
+ };
1485
+
1486
+ var ContextualButton = function (_a) {
1487
+ var label = _a.label, icon = _a.icon, _b = _a.variant, variant = _b === void 0 ? 'dark' : _b, disabled = _a.disabled; _a.isNotified; var _d = _a.isSelected, isSelected = _d === void 0 ? false : _d, props = __rest(_a, ["label", "icon", "variant", "disabled", "isNotified", "isSelected"]);
1488
+ var textColor = isSelected
1489
+ ? variant === 'dark'
1490
+ ? 'text-primary-black'
1491
+ : 'text-primary-white'
1492
+ : textColorConfig[variant];
1493
+ var stateColor = stateColorConfig[isSelected ? 'selected' : 'default'];
1494
+ return (React$1.createElement("button", __assign({ className: "contextual-button box-border flex flex-row items-center rounded-radius-sm border border-transparent p-[1px] outline-none ".concat(stateColor, " ").concat(textColor) }, props, { disabled: disabled }),
1495
+ icon,
1496
+ label && (React$1.createElement("div", { className: "label max-h-[46px] px-[5px] text-[12px] leading-none" }, label))));
1497
+ };
1498
+
1458
1499
  function Color() {
1459
1500
  var colorList = [
1460
1501
  'bg-bia-red',
@@ -1689,8 +1730,9 @@ function TextInput(_a) {
1689
1730
  iconElement = (React$1.createElement(PasswordIcon, { isShow: isShow, showHandler: setIsShow, iconSize: iconSize, disabled: disabled }));
1690
1731
  }
1691
1732
  var extendedInputClassName = "".concat(fieldStyle, " ").concat(fieldSize, " ").concat(bottomBorderColor, " ").concat(inputClassName, " ").concat(borderStyle);
1733
+ var labelStatus = readOnly ? 'read-only:pointer-events-none' : '';
1692
1734
  return (React$1.createElement("div", { className: "field-group flex w-full flex-col gap-y-2 text-bia-black" },
1693
- React$1.createElement("label", { htmlFor: id, className: "label text-xs font-semibold read-only:pointer-events-none" },
1735
+ React$1.createElement("label", { htmlFor: id, className: "label text-xs font-semibold ".concat(labelStatus) },
1694
1736
  label,
1695
1737
  required && React$1.createElement("span", { className: "p-1 text-bia-red" }, "*")),
1696
1738
  React$1.createElement("div", { className: "relative w-full" },
@@ -1822,12 +1864,12 @@ function Checkbox(_a) {
1822
1864
  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, props = __rest(_a, ["disabled", "id", "size", "label", "onChange"]);
1823
1865
  var _e = sizeConfig$8[validUnion(size, sizeUnion$2)], checkClass = _e.checkClass, labelClass = _e.labelClass;
1824
1866
  return (React$1.createElement("div", { className: "flex items-center" },
1825
- React$1.createElement("div", { className: "bg-white rounded-full flex flex-shrink-0 justify-center items-center relative ".concat(checkClass) },
1826
- React$1.createElement("input", __assign({ id: id, type: "checkbox", className: "peer checkbox box-content appearance-none focus-visible:opacity-100 focus-visible:ring-1 focus-visible:ring-offset-2 focus-visible:ring-bia-blue focus-visible:outline-none rounded-full border-bia-coolgrey-light-50 checked:border-bia-blue disabled:border-bia-coolgrey-light-50 hover:border-bia-blue-hover disabled:checked:border-bia-blue-light-50 border-2 absolute cursor-pointer w-full h-full", onChange: function (e) { return onChange(e); }, disabled: disabled }, props)),
1827
- React$1.createElement("div", { className: "check-icon flex text-bia-grey group justify-center peer-checked:border-2 peer-checked:border-primary-white peer-checked:hover:border-bia-blue-hover peer-checked:bg-bia-blue peer-checked:peer-hover:bg-bia-blue-hover outline-2 peer-checked:hover:outline-bia-blue-hover outline-bia-blue peer-disabled:bg-bia-grey-light-80 peer-disabled:peer-checked:outline-bia-blue-light-50 peer-disabled:peer-checked:bg-bia-blue-light-50 rounded-full w-full h-full z-1" },
1828
- React$1.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: " fill-bia-grey-dark-10 peer-checked:group-[]:fill-primary-white peer-checked:peer-hover:group-[]:fill-primary-white peer-hover:group-[]:fill-bia-blue-hover peer-disabled:group-[]:fill-bia-grey-dark-10 peer-disabled:peer-checked:group-[]:fill-primary-white", viewBox: "-5 -7 24 24", width: "24" },
1867
+ React$1.createElement("div", { className: "relative flex flex-shrink-0 items-center justify-center rounded-full bg-white ".concat(checkClass) },
1868
+ React$1.createElement("input", __assign({ id: id, type: "checkbox", className: "checkbox peer absolute box-content h-full w-full cursor-pointer appearance-none rounded-full border-2 border-bia-coolgrey-light-50 checked:border-bia-blue hover:border-bia-blue-hover focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-bia-blue focus-visible:ring-offset-2 disabled:border-bia-coolgrey-light-50 disabled:checked:border-bia-blue-light-50", onChange: function (e) { return onChange(e); }, disabled: disabled }, props)),
1869
+ React$1.createElement("div", { className: "check-icon z-1 group flex h-full w-full justify-center rounded-full text-bia-grey outline-2 outline-bia-blue peer-checked:border-2 peer-checked:border-primary-white peer-checked:bg-bia-blue peer-checked:hover:border-bia-blue-hover peer-checked:hover:outline-bia-blue-hover peer-checked:peer-hover:bg-bia-blue-hover peer-disabled:bg-bia-grey-light-80 peer-disabled:peer-checked:bg-bia-blue-light-50 peer-disabled:peer-checked:outline-bia-blue-light-50" },
1870
+ React$1.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: " fill-bia-grey-dark-10 peer-checked:group-[]:fill-primary-white peer-hover:group-[]:fill-bia-blue-hover peer-checked:peer-hover:group-[]:fill-primary-white peer-disabled:group-[]:fill-bia-grey-dark-10 peer-disabled:peer-checked:group-[]:fill-primary-white", viewBox: "-5 -7 24 24", width: "24" },
1829
1871
  React$1.createElement("path", { d: "M5.486 9.73a.997.997 0 0 1-.707-.292L.537 5.195A1 1 0 1 1 1.95 3.78l3.535 3.535L11.85.952a1 1 0 0 1 1.415 1.414L6.193 9.438a.997.997 0 0 1-.707.292z" })))),
1830
- React$1.createElement("label", { htmlFor: id, className: "ml-2 leading-4 text-grey-800 ".concat(labelClass), style: { color: disabled ? '#8C8CA6' : '' } }, childrenElement(label))));
1872
+ React$1.createElement("label", { htmlFor: id, className: "ml-2 leading-4 text-primary-black ".concat(labelClass), style: { color: disabled ? '#8C8CA6' : '' } }, childrenElement(label))));
1831
1873
  }
1832
1874
  Checkbox.defaultProps = {
1833
1875
  disabled: false,
@@ -1918,10 +1960,10 @@ DefaultDropdownItem.defaultProps = {
1918
1960
 
1919
1961
  var sizeUnion$1 = ['md', 'sm'];
1920
1962
  function SelectInput(_a) {
1921
- 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, label = _a.label, options = _a.options, _d = _a.required, required = _d === void 0 ? false : _d, selected = _a.selected, setSelected = _a.setSelected, props = __rest(_a, ["descText", "disabled", "size", "id", "label", "options", "required", "selected", "setSelected"]);
1922
- var _e = React$1.useState(false), isOpen = _e[0], setIsOpen = _e[1];
1963
+ 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, label = _a.label, options = _a.options, _d = _a.required, required = _d === void 0 ? false : _d, selected = _a.selected, setSelected = _a.setSelected, _e = _a.onClickDropdown, onClickDropdown = _e === void 0 ? function () { } : _e, props = __rest(_a, ["descText", "disabled", "size", "id", "label", "options", "required", "selected", "setSelected", "onClickDropdown"]);
1964
+ var _f = React$1.useState(false), isOpen = _f[0], setIsOpen = _f[1];
1923
1965
  var validatedSize = validUnion(size, sizeUnion$1);
1924
- var _f = sizeConfig$7[validatedSize], searchSize = _f.searchSize, iconSize = _f.iconSize;
1966
+ var _g = sizeConfig$7[validatedSize], searchSize = _g.searchSize, iconSize = _g.iconSize;
1925
1967
  var inputRef = React$1.useRef(null);
1926
1968
  var handleOutsideClick = function (e) {
1927
1969
  if (inputRef.current && !inputRef.current.contains(e.target)) {
@@ -1960,7 +2002,7 @@ function SelectInput(_a) {
1960
2002
  React$1.createElement("div", { className: "group relative w-full" },
1961
2003
  React$1.createElement("input", __assign({ className: "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:bg-bia-grey-light-80 disabled:text-bia-coolgrey ".concat(searchSize), onClick: function () { return setIsOpen(!isOpen); }, value: selectedLabel, readOnly: true, id: id, disabled: disabled }, props)),
1962
2004
  React$1.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$1.createElement(TbChevronUp, null) : React$1.createElement(TbChevronDown, null)),
1963
- isOpen && (React$1.createElement("div", { className: "absolute z-10 w-full overflow-y-auto rounded-b-md border border-bia-grey-dark-10 bg-primary-white shadow-lg", ref: optionsRef }, options.map(function (option) {
2005
+ isOpen && (React$1.createElement("div", { className: "absolute z-10 w-full overflow-y-auto rounded-b-md border border-bia-grey-dark-10 bg-primary-white shadow-lg", ref: optionsRef, onClick: onClickDropdown }, options.map(function (option) {
1964
2006
  var isSelected = JSON.stringify(option) === JSON.stringify(selected);
1965
2007
  var optionLabel = isObjectOptionItem ? option.label : option;
1966
2008
  var optionCaption = isObjectOptionItem ? option.caption : '';
@@ -2002,9 +2044,9 @@ var sizeConfig$5 = {
2002
2044
 
2003
2045
  /* eslint-disable @typescript-eslint/no-explicit-any */
2004
2046
  function LiveSearch(_a) {
2005
- var descText = _a.descText, _b = _a.disabled, disabled = _b === void 0 ? false : _b, id = _a.id, _c = _a.size, size = _c === void 0 ? 'md' : _c, label = _a.label, placeholder = _a.placeholder, _d = _a.required, required = _d === void 0 ? false : _d, options = _a.options, setValue = _a.setValue, value = _a.value, _e = _a.readOnly, readOnly = _e === void 0 ? false : _e;
2006
- var _f = React$1.useState(false), isOpen = _f[0], setIsOpen = _f[1];
2007
- var _g = sizeConfig$5[size], iconClass = _g.iconClass, iconSize = _g.iconSize, inputClass = _g.inputClass;
2047
+ var descText = _a.descText, _b = _a.disabled, disabled = _b === void 0 ? false : _b, id = _a.id, _c = _a.size, size = _c === void 0 ? 'md' : _c, label = _a.label, placeholder = _a.placeholder, _d = _a.required, required = _d === void 0 ? false : _d, options = _a.options, setValue = _a.setValue, value = _a.value, _e = _a.readOnly, readOnly = _e === void 0 ? false : _e, _f = _a.onChangeText, onChangeText = _f === void 0 ? function () { } : _f, _g = _a.onClickDropdown, onClickDropdown = _g === void 0 ? function () { } : _g;
2048
+ var _h = React$1.useState(false), isOpen = _h[0], setIsOpen = _h[1];
2049
+ var _j = sizeConfig$5[size], iconClass = _j.iconClass, iconSize = _j.iconSize, inputClass = _j.inputClass;
2008
2050
  var inputRef = React$1.useRef(null);
2009
2051
  var handleOutsideClick = function (e) {
2010
2052
  if (inputRef.current && !inputRef.current.contains(e.target)) {
@@ -2025,10 +2067,13 @@ function LiveSearch(_a) {
2025
2067
  label,
2026
2068
  required && React$1.createElement("span", { className: "p-1 text-bia-red" }, "*")),
2027
2069
  React$1.createElement("div", { className: "group relative w-full" },
2028
- React$1.createElement("input", { className: "field peer w-full rounded border border-bia-grey-dark-10 bg-primary-white read-only:pointer-events-none read-only:border-bia-grey-disabled 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:border-bia-grey-dark-10 disabled:bg-bia-grey-light-10 disabled:text-bia-coolgrey ".concat(inputClass), onClick: function () { return setIsOpen(!isOpen); }, value: value.label, required: required, disabled: disabled, id: id, placeholder: placeholder, onChange: function (e) { return setValue({ id: null, label: e.target.value }); }, type: "search", readOnly: readOnly }),
2070
+ React$1.createElement("input", { className: "field peer w-full rounded border border-bia-grey-dark-10 bg-primary-white read-only:pointer-events-none read-only:border-bia-grey-disabled 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:border-bia-grey-dark-10 disabled:bg-bia-grey-light-10 disabled:text-bia-coolgrey ".concat(inputClass), onClick: function () { return setIsOpen(!isOpen); }, value: value.label, required: required, disabled: disabled, id: id, placeholder: placeholder, onChange: function (e) {
2071
+ onChangeText(e);
2072
+ setValue({ id: null, label: e.target.value });
2073
+ }, type: "search", readOnly: readOnly }),
2029
2074
  React$1.createElement("div", { className: "absolute inset-y-0 flex items-center pl-3 peer-hover:hidden peer-focus:hidden ".concat(iconClass) },
2030
2075
  React$1.createElement(TbZoom, { className: "text-primary-black", style: { fontSize: iconSize } })),
2031
- isOpen && (React$1.createElement("div", { className: "border-grey-100 absolute z-10 max-h-60 w-full overflow-y-auto rounded-b-md border bg-primary-white shadow-lg" }, filteredOptions.map(function (option) {
2076
+ isOpen && (React$1.createElement("div", { className: "border-grey-100 absolute z-10 max-h-60 w-full overflow-y-auto rounded-b-md border bg-primary-white shadow-lg", onClick: onClickDropdown }, filteredOptions.map(function (option) {
2032
2077
  var isSelected = value && value.id && option.id === value.id;
2033
2078
  return option.custom ? (React$1.createElement(CustomDropdownItem, { size: size, isSelected: isSelected, onClick: function () {
2034
2079
  setValue(option);
@@ -2511,7 +2556,7 @@ var radiusConfig = {
2511
2556
  };
2512
2557
  var variantConfig = {
2513
2558
  default: 'pb-[7.5px] pt-[8.5px] ps-[15px] pe-[10px] gap-[10px]',
2514
- alternative: 'pt-[4.42px] pb-[4.4px] px-[20px] relative',
2559
+ alternative: 'pt-[4.8px] pb-[4.0px] px-[20px] relative',
2515
2560
  };
2516
2561
  var defaultConfigs = {
2517
2562
  true: 'cursor-default bg-bia-grey-light-80 hover:bg-bia-coolgrey-light-90 text-primary-black ',
@@ -5415,6 +5460,7 @@ exports.Button = Button;
5415
5460
  exports.ButtonApp = ButtonApp;
5416
5461
  exports.Checkbox = Checkbox;
5417
5462
  exports.Color = Color;
5463
+ exports.ContextualButton = ContextualButton;
5418
5464
  exports.Display = Display;
5419
5465
  exports.Divider = Divider;
5420
5466
  exports.FileTree = FileTree;