bianic-ui 2.11.0 → 2.12.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.
Files changed (41) hide show
  1. package/README.md +49 -49
  2. package/dist/cjs/Empty.svg +12 -12
  3. package/dist/cjs/index.js +235 -28
  4. package/dist/cjs/lib.css +1 -1
  5. package/dist/cjs/types/components/Avatar/Avatar.d.ts +4 -12
  6. package/dist/cjs/types/components/Forms/DatePicker/DateInputDisplay.d.ts +1 -1
  7. package/dist/cjs/types/components/Forms/DatePicker/DatePicker.d.ts +4 -4
  8. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +8 -8
  9. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/YearDisplay.d.ts +1 -1
  10. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/pickerYearContent.d.ts +1 -0
  11. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/hooks/useYearLogic.d.ts +16 -0
  12. package/dist/cjs/types/components/Forms/DatePicker/PickerYear.d.ts +9 -0
  13. package/dist/cjs/types/components/Forms/DatePicker/YearPicker.d.ts +10 -0
  14. package/dist/cjs/types/components/Forms/DatePicker/YearPickerDisplay.d.ts +12 -0
  15. package/dist/cjs/types/components/Forms/DatePicker/index.d.ts +1 -0
  16. package/dist/cjs/types/components/Forms/index.d.ts +1 -1
  17. package/dist/cjs/types/components/index.d.ts +1 -1
  18. package/dist/cjs/types/stories/Avatar/Avatar.stories.d.ts +36 -1
  19. package/dist/esm/Empty.svg +12 -12
  20. package/dist/esm/index.js +236 -30
  21. package/dist/esm/lib.css +1 -1
  22. package/dist/esm/types/components/Avatar/Avatar.d.ts +4 -12
  23. package/dist/esm/types/components/Forms/DatePicker/DateInputDisplay.d.ts +1 -1
  24. package/dist/esm/types/components/Forms/DatePicker/DatePicker.d.ts +4 -4
  25. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +8 -8
  26. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/YearDisplay.d.ts +1 -1
  27. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/pickerYearContent.d.ts +1 -0
  28. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/hooks/useYearLogic.d.ts +16 -0
  29. package/dist/esm/types/components/Forms/DatePicker/PickerYear.d.ts +9 -0
  30. package/dist/esm/types/components/Forms/DatePicker/YearPicker.d.ts +10 -0
  31. package/dist/esm/types/components/Forms/DatePicker/YearPickerDisplay.d.ts +12 -0
  32. package/dist/esm/types/components/Forms/DatePicker/index.d.ts +1 -0
  33. package/dist/esm/types/components/Forms/index.d.ts +1 -1
  34. package/dist/esm/types/components/index.d.ts +1 -1
  35. package/dist/esm/types/stories/Avatar/Avatar.stories.d.ts +36 -1
  36. package/dist/index.d.ts +16 -15
  37. package/package.json +143 -143
  38. package/src/font/SansCode/README.txt +88 -88
  39. package/src/style/color.css +650 -650
  40. package/src/style/scrollbar.css +78 -78
  41. package/tailwind.config.js +592 -592
@@ -1,18 +1,10 @@
1
- import React, { ComponentPropsWithoutRef } from 'react';
1
+ import React, { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
3
3
  size?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
4
- variant?: 'image' | 'picture' | 'initial';
5
- imageSrc: string;
4
+ variant?: 'default' | 'picture' | 'initial';
5
+ imageSrc?: string | ReactNode;
6
6
  name?: string;
7
7
  bgColor?: string;
8
8
  outlineColor?: string;
9
9
  }
10
- declare function Avatar({ size, variant, name, bgColor, outlineColor, className, }: AvatarProps): React.JSX.Element | null;
11
- declare namespace Avatar {
12
- var defaultProps: {
13
- name: string;
14
- variant: string;
15
- size: string;
16
- };
17
- }
18
- export default Avatar;
10
+ export default function Avatar({ size, variant, name, bgColor, outlineColor, className, imageSrc, }: AvatarProps): React.JSX.Element | null;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import TextInputProps from '../TextInput/PropsInterface';
3
- interface DateInputDisplayProps extends Omit<TextInputProps, 'value'> {
3
+ export interface DateInputDisplayProps extends Omit<TextInputProps, 'value'> {
4
4
  value: string | string[] | null;
5
5
  className: string;
6
6
  setValue?: (date: string | string[] | null) => void;
@@ -1,12 +1,12 @@
1
1
  import React, { HTMLAttributes } from 'react';
2
- interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
2
+ export interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
3
3
  descText?: string;
4
4
  onChange?: (date: string | string[] | null) => void;
5
5
  required?: boolean;
6
6
  value?: string;
7
- size: 'sm' | 'md';
8
- disabled: boolean;
9
- placeholder: string;
7
+ size?: 'sm' | 'md';
8
+ disabled?: boolean;
9
+ placeholder?: string;
10
10
  label?: string;
11
11
  minDate?: string;
12
12
  maxDate?: string;
@@ -4,14 +4,14 @@ interface PickerHeaderProps {
4
4
  viewMonthValue: number;
5
5
  viewYearValue: number;
6
6
  yearDisplayRange: number[];
7
- isPrevDisabled: () => boolean;
8
- isNextDisabled: () => boolean;
9
- handlePrevMonth: () => void;
10
- handlePrevYear: () => void;
11
- handlePrevDecade: () => void;
12
- handleNextMonth: () => void;
13
- handleNextYear: () => void;
14
- handleNextDecade: () => void;
7
+ isPrevDisabled?: () => boolean;
8
+ isNextDisabled?: () => boolean;
9
+ handlePrevMonth?: () => void;
10
+ handlePrevYear?: () => void;
11
+ handlePrevDecade?: () => void;
12
+ handleNextMonth?: () => void;
13
+ handleNextYear?: () => void;
14
+ handleNextDecade?: () => void;
15
15
  handlePickerMode: (mode: 'date' | 'month' | 'year') => void;
16
16
  }
17
17
  declare const PickerHeader: React.FC<PickerHeaderProps>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  interface YearDisplayProps {
3
3
  yearDisplayRange: number[];
4
- viewYearValue: number;
4
+ viewYearValue: number | null;
5
5
  minDateValue: Date | null;
6
6
  maxDateValue: Date | null;
7
7
  onYearSelect: (year: number) => void;
@@ -0,0 +1,16 @@
1
+ export declare const useYearLogic: (selectYear: number | null, minYear?: number, maxYear?: number) => {
2
+ viewYearValue: number;
3
+ setViewYearValue: import("react").Dispatch<import("react").SetStateAction<number>>;
4
+ viewDecadeValue: number;
5
+ setViewDecadeValue: import("react").Dispatch<import("react").SetStateAction<number>>;
6
+ minYearValue: number | null;
7
+ maxYearValue: number | null;
8
+ handlePrevYear: () => void;
9
+ handleNextYear: () => void;
10
+ handlePrevDecade: () => void;
11
+ handleNextDecade: () => void;
12
+ getDecadeRange: (year: number) => number[];
13
+ yearDisplayRange: number[];
14
+ isPrevDisabled: () => boolean;
15
+ isNextDisabled: () => boolean;
16
+ };
@@ -0,0 +1,9 @@
1
+ import { PickerCalendarProps } from './PickerCalendar/types/types';
2
+ interface PickerYearProps extends Omit<PickerCalendarProps, 'minDate' | 'maxDate' | 'selectedDate' | 'onDateChange' | 'pickerVariant'> {
3
+ selectedYear: number | null;
4
+ setSelectedYear: (value: number | null) => void;
5
+ minYear?: number | undefined;
6
+ maxYear?: number | undefined;
7
+ }
8
+ declare const PickerYear: ({ selectedYear, setSelectedYear, minYear, maxYear, anchorRef, zIndex, isOpen, onClose, ...props }: PickerYearProps) => any;
9
+ export default PickerYear;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { DatePickerProps } from './DatePicker';
3
+ interface YearPickerProps extends Omit<DatePickerProps, 'value' | 'onChange' | 'maxDate' | 'minDate'> {
4
+ value: number | null;
5
+ onChange: (value: number | null) => void;
6
+ maxYear?: number | null;
7
+ minYear?: number | null;
8
+ }
9
+ declare const YearPicker: ({ value, onChange, zIndexCalendar, minYear, maxYear, size, disabled, placeholder, label, required, nullDisplay, inputClassName, containerClassName, }: YearPickerProps) => React.JSX.Element;
10
+ export default YearPicker;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { DateInputDisplayProps } from './DateInputDisplay';
3
+ interface YearPickerDisplayProps extends Omit<DateInputDisplayProps, 'value' | 'setValue'> {
4
+ value: number | null;
5
+ setValue: (value: number | null) => void;
6
+ maxYear?: number | null;
7
+ minYear?: number | null;
8
+ errorMessage?: string;
9
+ onErrorChange?: (error: string | null) => void;
10
+ }
11
+ declare const YearPickerDisplay: React.ForwardRefExoticComponent<Omit<YearPickerDisplayProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
12
+ export default YearPickerDisplay;
@@ -1,2 +1,3 @@
1
1
  export { default as DatePicker } from './DatePicker';
2
2
  export { default as PickerCalendar } from './PickerCalendar';
3
+ export { default as YearPicker } from './YearPicker';
@@ -8,5 +8,5 @@ export { default as Toggle } from './Toggle';
8
8
  export { SegmentButtonItem, SegmentButtonGroup } from './SegmentButton';
9
9
  export { FormGroup, FormGroupButton, FormGroupLabel } from './Group';
10
10
  export { DropdownContainer, DropdownItem } from './Dropdown';
11
- export { DatePicker, PickerCalendar } from './DatePicker';
11
+ export { DatePicker, PickerCalendar, YearPicker } from './DatePicker';
12
12
  export { default as FormLabel } from './Label/FormLabel';
@@ -14,7 +14,7 @@ export { default as FileTree } from './FileTree';
14
14
  export { default as TreeItem } from './FileTree/TreeItem';
15
15
  export { default as useFileTree } from './FileTree/useFileTree';
16
16
  export { MenuContainer, MenuItem } from './Menu';
17
- export { TextInput, Radio, TextArea, Checkbox, SelectInput, LiveSearch, Toggle, SegmentButtonItem, SegmentButtonGroup, FormLabel, FormGroup, FormGroupButton, FormGroupLabel, DropdownItem, DropdownContainer, DatePicker, PickerCalendar, } from './Forms';
17
+ export { TextInput, Radio, TextArea, Checkbox, SelectInput, LiveSearch, Toggle, SegmentButtonItem, SegmentButtonGroup, FormLabel, FormGroup, FormGroupButton, FormGroupLabel, DropdownItem, DropdownContainer, DatePicker, PickerCalendar, YearPicker, } from './Forms';
18
18
  export * from './Icons';
19
19
  export { default as InfoPanel } from './InfoPanel';
20
20
  export { default as Modal } from './Modal/Modal';
@@ -7,8 +7,43 @@ declare const meta: {
7
7
  layout: string;
8
8
  };
9
9
  tags: string[];
10
- args: {};
10
+ argTypes: {
11
+ size: {
12
+ control: "select";
13
+ options: string[];
14
+ description: string;
15
+ table: {
16
+ defaultValue: {
17
+ summary: string;
18
+ };
19
+ };
20
+ };
21
+ variant: {
22
+ control: "select";
23
+ options: string[];
24
+ description: string;
25
+ table: {
26
+ defaultValue: {
27
+ summary: string;
28
+ };
29
+ };
30
+ };
31
+ bgColor: {
32
+ control: "text";
33
+ description: string;
34
+ };
35
+ outlineColor: {
36
+ control: "text";
37
+ description: string;
38
+ };
39
+ imageSrc: {
40
+ control: "text";
41
+ description: string;
42
+ };
43
+ };
11
44
  };
12
45
  export default meta;
13
46
  type Story = StoryObj<typeof meta>;
14
47
  export declare const Demo: Story;
48
+ export declare const DemoWithPNG: Story;
49
+ export declare const DemoWithSVGFile: Story;
@@ -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/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import React, { useState, useEffect, forwardRef, useRef, useLayoutEffect, cloneElement, Children, useMemo, isValidElement, useCallback } from 'react';
1
+ import React, { useState, useEffect, forwardRef, isValidElement, cloneElement, useRef, useLayoutEffect, Children, useMemo, useCallback, useImperativeHandle } from 'react';
2
2
  import { createPortal } from 'react-dom';
3
3
 
4
4
  function Accordions(_a) {
@@ -584,30 +584,30 @@ Button.defaultProps = {
584
584
 
585
585
  var AvatarConfig = {
586
586
  sm: {
587
- picture: 'w-[24px] h-[24px] rounded-[12px] border-[1px] ',
587
+ picture: 'w-[24px] h-[24px] min-w-[24px] min-h-[24px] rounded-[12px] border-[1px] ',
588
588
  'no picture': 'font-semibold text-[12px] leading-[15.96px] text-primary-white flex items-center',
589
589
  },
590
590
  md: {
591
- picture: 'w-[36px] h-[36px] rounded-[18px] border-[1px] ',
591
+ picture: 'w-[36px] h-[36px] min-w-[36px] min-h-[36px] rounded-[18px] border-[1px] ',
592
592
  'no picture': 'font-semibold text-[14px] leading-[18.62px] text-primary-white flex items-center',
593
593
  },
594
594
  lg: {
595
- picture: 'w-[52px] h-[52px] rounded-[26px] border-[2px]',
595
+ picture: 'w-[52px] h-[52px] min-w-[52px] min-h-[52px] rounded-[26px] border-[2px]',
596
596
  'no picture': 'font-semibold text-[24px] leading-[31.92px] text-primary-white flex items-center',
597
597
  },
598
598
  xl: {
599
- picture: 'w-[92px] h-[92px] rounded-[46px] border-[3px]',
599
+ picture: 'w-[92px] h-[92px] min-w-[92px] min-h-[92px] rounded-[46px] border-[3px]',
600
600
  'no picture': 'font-semibold text-[36px] leading-[47.88px] text-primary-white flex items-center',
601
601
  },
602
602
  xxl: {
603
- picture: 'w-[160px] h-[160px] rounded-[80px] border-[5px]',
603
+ picture: 'w-[160px] h-[160px] min-w-[160px] min-h-[160px] rounded-[80px] border-[5px]',
604
604
  'no picture': 'font-semibold text-[64px] leading-[85.13px] text-primary-white flex items-center',
605
605
  },
606
606
  };
607
607
 
608
608
  function Avatar(_a) {
609
- var _b, _c, _d, _e;
610
- var _f = _a.size, size = _f === void 0 ? 'md' : _f, _g = _a.variant, variant = _g === void 0 ? 'initial' : _g, _h = _a.name, name = _h === void 0 ? 'Test' : _h, _j = _a.bgColor, bgColor = _j === void 0 ? 'bia-sky-dark-40' : _j, _k = _a.outlineColor, outlineColor = _k === void 0 ? 'bia-coolgrey' : _k, className = _a.className;
609
+ var _b, _c, _d, _e, _f, _g;
610
+ var _h = _a.size, size = _h === void 0 ? 'md' : _h, _j = _a.variant, variant = _j === void 0 ? 'initial' : _j, _k = _a.name, name = _k === void 0 ? 'Test' : _k, _l = _a.bgColor, bgColor = _l === void 0 ? 'bia-sky-dark-40' : _l, _m = _a.outlineColor, outlineColor = _m === void 0 ? 'bia-coolgrey' : _m, className = _a.className, imageSrc = _a.imageSrc;
611
611
  var getInitials = function (initial) {
612
612
  if (!initial)
613
613
  return '';
@@ -618,18 +618,31 @@ function Avatar(_a) {
618
618
  return initials.slice(0, 2).toUpperCase();
619
619
  };
620
620
  var usedSize = size in AvatarConfig ? size : 'md';
621
- var usedVariant = variant in ['image', 'picture', 'initial'] ? variant : 'initial';
621
+ var usedVariant = ['default', 'picture', 'initial'].includes(variant)
622
+ ? variant
623
+ : 'initial';
622
624
  var avatarResult = null;
623
625
  switch (usedVariant) {
624
626
  case 'picture':
625
- avatarResult = (React.createElement("img", { src: "https://img.freepik.com/free-psd/girl-avatar-emoji-3d-icon_23-2150579870.jpg", alt: "avatar", className: "".concat((_b = AvatarConfig[usedSize]) === null || _b === void 0 ? void 0 : _b.picture, " ").concat(className) }));
627
+ if (typeof imageSrc === 'string') {
628
+ avatarResult = (React.createElement("img", { src: imageSrc, alt: name, className: "".concat((_b = AvatarConfig[usedSize]) === null || _b === void 0 ? void 0 : _b.picture, " shrink-0 border-").concat(outlineColor, " bg-").concat(bgColor, " object-cover ").concat(className !== null && className !== void 0 ? className : '') }));
629
+ }
630
+ else if (isValidElement(imageSrc)) {
631
+ avatarResult = cloneElement(imageSrc, {
632
+ alt: name,
633
+ className: "".concat((_c = AvatarConfig[usedSize]) === null || _c === void 0 ? void 0 : _c.picture, " shrink-0 border-").concat(outlineColor, " bg-").concat(bgColor, " object-cover ").concat(className !== null && className !== void 0 ? className : ''),
634
+ });
635
+ }
636
+ else {
637
+ avatarResult = (React.createElement("img", { src: "https://img.freepik.com/free-psd/girl-avatar-emoji-3d-icon_23-2150579870.jpg", alt: "avatar", className: "".concat((_d = AvatarConfig[usedSize]) === null || _d === void 0 ? void 0 : _d.picture, " shrink-0 border-").concat(outlineColor, " bg-").concat(bgColor, " ").concat(className !== null && className !== void 0 ? className : '') }));
638
+ }
626
639
  break;
627
640
  case 'initial':
628
- avatarResult = (React.createElement("div", { className: "".concat((_c = AvatarConfig[usedSize]) === null || _c === void 0 ? void 0 : _c.picture, " flex items-center justify-center border-").concat(outlineColor, " bg-").concat(bgColor, " ").concat(className) },
629
- React.createElement("div", { className: "".concat((_d = AvatarConfig[usedSize]) === null || _d === void 0 ? void 0 : _d['no picture']) }, getInitials(name))));
641
+ avatarResult = (React.createElement("div", { className: "".concat((_e = AvatarConfig[usedSize]) === null || _e === void 0 ? void 0 : _e.picture, " flex h-[24px] w-[24px] items-center justify-center border-").concat(outlineColor, " bg-").concat(bgColor, " ").concat(className) },
642
+ React.createElement("div", { className: "".concat((_f = AvatarConfig[usedSize]) === null || _f === void 0 ? void 0 : _f['no picture']) }, getInitials(name))));
630
643
  break;
631
- case 'image':
632
- avatarResult = (React.createElement("svg", { width: "160", height: "160", viewBox: "0 0 160 160", fill: "none", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", className: "".concat((_e = AvatarConfig[usedSize]) === null || _e === void 0 ? void 0 : _e.picture, " flex items-center justify-center ").concat(className) },
644
+ case 'default':
645
+ avatarResult = (React.createElement("svg", { width: "160", height: "160", viewBox: "0 0 160 160", fill: "none", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", className: "".concat((_g = AvatarConfig[usedSize]) === null || _g === void 0 ? void 0 : _g.picture, " flex items-center justify-center ").concat(className) },
633
646
  React.createElement("rect", { width: "160", height: "160", fill: "url(#pattern0_9212_4625)" }),
634
647
  React.createElement("defs", null,
635
648
  React.createElement("pattern", { id: "pattern0_9212_4625", patternContentUnits: "objectBoundingBox", width: "1", height: "1" },
@@ -639,11 +652,6 @@ function Avatar(_a) {
639
652
  }
640
653
  return avatarResult;
641
654
  }
642
- Avatar.defaultProps = {
643
- name: '',
644
- variant: 'initial',
645
- size: 'md',
646
- };
647
655
 
648
656
  var typeConfig = {
649
657
  standart: 'text-[75%] px-[7px] py-[1.5px] min-w-[26px] rounded-full',
@@ -3382,7 +3390,7 @@ var PickerHeader = function (_a) {
3382
3390
  } },
3383
3391
  React.createElement(Text, { variant: "normal-text-semibold" },
3384
3392
  MONTH_MAP[viewMonthValue],
3385
- " ")),
3393
+ ' ')),
3386
3394
  React.createElement("button", { className: pickerMode === 'date' || pickerMode === 'month' ? '' : 'hidden', onClick: function (e) {
3387
3395
  e.stopPropagation();
3388
3396
  handlePickerMode('year');
@@ -3510,7 +3518,7 @@ var useCalendarLogic = function (selectedDate, minDate, maxDate) {
3510
3518
  }
3511
3519
  else {
3512
3520
  return (yearDisplayRange.includes(maxDateValue.getFullYear()) &&
3513
- yearDisplayRange[12] >= maxDateValue.getFullYear());
3521
+ yearDisplayRange[11] >= maxDateValue.getFullYear());
3514
3522
  }
3515
3523
  };
3516
3524
  return {
@@ -3844,7 +3852,7 @@ var monthMap = [
3844
3852
  'December',
3845
3853
  ];
3846
3854
  var DateInputDisplay = forwardRef(function (_a, ref) {
3847
- var value = _a.value, setValue = _a.setValue, _b = _a.placeholder, placeholder = _b === void 0 ? 'YYYY-MM-DD' : _b, label = _a.label, required = _a.required, id = _a.id, _c = _a.size, size = _c === void 0 ? 'sm' : _c, className = _a.className, _d = _a.disabled, disabled = _d === void 0 ? false : _d, buttonAction = _a.buttonAction, nullDisplay = _a.nullDisplay, props = __rest(_a, ["value", "setValue", "placeholder", "label", "required", "id", "size", "className", "disabled", "buttonAction", "nullDisplay"]);
3855
+ var value = _a.value, setValue = _a.setValue, _b = _a.placeholder, placeholder = _b === void 0 ? 'YYYY-MM-DD' : _b, label = _a.label, required = _a.required, readOnly = _a.readOnly, id = _a.id, _c = _a.size, size = _c === void 0 ? 'sm' : _c, className = _a.className, _d = _a.disabled, disabled = _d === void 0 ? false : _d, buttonAction = _a.buttonAction, nullDisplay = _a.nullDisplay, props = __rest(_a, ["value", "setValue", "placeholder", "label", "required", "readOnly", "id", "size", "className", "disabled", "buttonAction", "nullDisplay"]);
3848
3856
  var inputValue = value || (value === null || value === void 0 ? void 0 : value.length) > 0
3849
3857
  ? Array.isArray(value)
3850
3858
  ? "".concat(value[0], " ").concat(value[1] ? "- ".concat(value[1]) : '')
@@ -3861,7 +3869,7 @@ var DateInputDisplay = forwardRef(function (_a, ref) {
3861
3869
  var _h = sizeConfig$c[size], iconSize = _h.iconSize, fieldSize = _h.fieldSize, iconPosition = _h.iconPosition;
3862
3870
  var borderStyle = 'border border-bia-grey-dark-10 bg-primary-white';
3863
3871
  var extendedInputClassName = "w-full ".concat(fieldStyle, " ").concat(fieldSize, " ").concat(borderStyle, " ").concat(className);
3864
- var labelStatus = props.readOnly ? 'read-only:pointer-events-none' : '';
3872
+ props.readOnly ? 'read-only:pointer-events-none' : '';
3865
3873
  var handleTextChange = function (event) {
3866
3874
  var rawValue = event.target.value;
3867
3875
  setDateString(rawValue); // Update the displayed text input immediately
@@ -3897,9 +3905,7 @@ var DateInputDisplay = forwardRef(function (_a, ref) {
3897
3905
  setDateString(inputValue !== null && inputValue !== void 0 ? inputValue : '');
3898
3906
  }, [inputValue, isEditing]);
3899
3907
  return (React.createElement("div", { className: "bianic-date-input-container bianic-fgc-container flex w-full flex-col gap-y-2 text-bia-black" },
3900
- label && (React.createElement("label", { htmlFor: id, className: "bianic-text-input-label text-xs font-semibold ".concat(labelStatus) },
3901
- label,
3902
- required && React.createElement("span", { className: "p-1 text-bia-red" }, "*"))),
3908
+ label && (React.createElement(FormLabel, { htmlFor: id, required: required, readOnly: readOnly }, label)),
3903
3909
  React.createElement("div", { className: "relative w-full", ref: ref }, input)));
3904
3910
  });
3905
3911
  var displayDateFormatter = function (date) {
@@ -3912,16 +3918,216 @@ function isDate(val) {
3912
3918
  }
3913
3919
 
3914
3920
  function DatePicker(_a) {
3915
- var _b = _a.zIndexCalendar, zIndexCalendar = _b === void 0 ? 100 : _b, value = _a.value, onChange = _a.onChange, _c = _a.variant, variant = _c === void 0 ? 'single' : _c, size = _a.size, disabled = _a.disabled, _d = _a.placeholder, placeholder = _d === void 0 ? '"YYYY-MM-DD"' : _d, label = _a.label, minDate = _a.minDate, maxDate = _a.maxDate, required = _a.required, nullDisplay = _a.nullDisplay, inputClassName = _a.inputClassName, containerClassName = _a.containerClassName;
3921
+ var _b = _a.zIndexCalendar, zIndexCalendar = _b === void 0 ? 100 : _b, value = _a.value, onChange = _a.onChange, _c = _a.variant, variant = _c === void 0 ? 'single' : _c, _d = _a.size, size = _d === void 0 ? 'sm' : _d, _e = _a.disabled, disabled = _e === void 0 ? false : _e, _f = _a.placeholder, placeholder = _f === void 0 ? '"YYYY-MM-DD"' : _f, label = _a.label, minDate = _a.minDate, maxDate = _a.maxDate, required = _a.required, nullDisplay = _a.nullDisplay, inputClassName = _a.inputClassName, containerClassName = _a.containerClassName;
3916
3922
  // State and Ref
3917
3923
  var inputRef = useRef(null);
3918
- var _e = useState(false), isPickerOpen = _e[0], setIsPickerOpen = _e[1];
3924
+ var _g = useState(false), isPickerOpen = _g[0], setIsPickerOpen = _g[1];
3919
3925
  return (React.createElement("div", { className: "bianic-datepicker-container relative ".concat(containerClassName) },
3920
3926
  React.createElement("div", { className: "bianic-datepicker-field-container" },
3921
- React.createElement(DateInputDisplay, { className: inputClassName, value: value, setValue: onChange, placeholder: placeholder, nullDisplay: nullDisplay, size: size, label: label, required: required, buttonAction: function () { return setIsPickerOpen(!isPickerOpen); }, ref: inputRef, disabled: disabled })),
3927
+ React.createElement(DateInputDisplay, { className: inputClassName || '', value: value, setValue: onChange, placeholder: placeholder, nullDisplay: nullDisplay, size: size, label: label, required: required, buttonAction: function () { return setIsPickerOpen(!isPickerOpen); }, ref: inputRef, disabled: disabled })),
3922
3928
  React.createElement(PickerCalendar, { zIndex: zIndexCalendar, anchorRef: inputRef, selectedDate: value, pickerVariant: variant, onDateChange: onChange, minDate: minDate, maxDate: maxDate, isOpen: isPickerOpen, onClose: function () { return setIsPickerOpen(false); } })));
3923
3929
  }
3924
3930
 
3931
+ var YearPickerDisplay = forwardRef(function (_a, ref) {
3932
+ var value = _a.value, setValue = _a.setValue, _b = _a.placeholder, placeholder = _b === void 0 ? 'YYYY' : _b, label = _a.label, required = _a.required, readOnly = _a.readOnly, id = _a.id, _c = _a.size, size = _c === void 0 ? 'sm' : _c, className = _a.className, _d = _a.disabled, disabled = _d === void 0 ? false : _d, buttonAction = _a.buttonAction, nullDisplay = _a.nullDisplay, minYear = _a.minYear, maxYear = _a.maxYear, customErrorMessage = _a.errorMessage, onErrorChange = _a.onErrorChange, props = __rest(_a, ["value", "setValue", "placeholder", "label", "required", "readOnly", "id", "size", "className", "disabled", "buttonAction", "nullDisplay", "minYear", "maxYear", "errorMessage", "onErrorChange"]);
3933
+ var inputRef = useRef(null);
3934
+ useImperativeHandle(ref, function () { return inputRef.current; });
3935
+ var _e = useState(false), isEditing = _e[0], setIsEditing = _e[1];
3936
+ var _f = useState(value ? value.toString() : ''), inputValue = _f[0], setInputValue = _f[1];
3937
+ var _g = useState(null), internalError = _g[0], setInternalError = _g[1];
3938
+ // Sync input string when value changes externally
3939
+ useEffect(function () {
3940
+ setInputValue(value ? value.toString() : '');
3941
+ if (value) {
3942
+ validateValue(value);
3943
+ }
3944
+ else {
3945
+ setError(null);
3946
+ }
3947
+ }, [value, minYear, maxYear]);
3948
+ var setError = function (msg) {
3949
+ setInternalError(msg);
3950
+ onErrorChange === null || onErrorChange === void 0 ? void 0 : onErrorChange(msg);
3951
+ };
3952
+ var validateValue = function (year) {
3953
+ if (minYear != null && year < minYear) {
3954
+ return "Year cannot be earlier than ".concat(minYear);
3955
+ }
3956
+ if (maxYear != null && year > maxYear) {
3957
+ return "Year cannot be later than ".concat(maxYear);
3958
+ }
3959
+ return null;
3960
+ };
3961
+ var handleChange = function (e) {
3962
+ var rawValue = e.target.value;
3963
+ var cleanValue = rawValue.replace(/\D/g, '').slice(0, 4);
3964
+ setInputValue(cleanValue);
3965
+ // 1. Cleared input state
3966
+ if (cleanValue === '') {
3967
+ setValue(null);
3968
+ setError(null);
3969
+ return;
3970
+ }
3971
+ // 2. Typing progress validation (before 4 digits)
3972
+ if (cleanValue.length < 4) {
3973
+ setError(null);
3974
+ return;
3975
+ }
3976
+ // 3. Full 4-digit processing
3977
+ if (cleanValue.length === 4) {
3978
+ var yearNum = Number(cleanValue);
3979
+ var error = validateValue(yearNum);
3980
+ if (error) {
3981
+ setError(error);
3982
+ }
3983
+ else {
3984
+ setError(null);
3985
+ setValue(yearNum);
3986
+ }
3987
+ }
3988
+ };
3989
+ var handleBlur = function () {
3990
+ setIsEditing(false);
3991
+ // Case A: User left field incomplete (< 4 digits)
3992
+ if (inputValue.length > 0 && inputValue.length < 4) {
3993
+ if (value) {
3994
+ setInputValue(value.toString());
3995
+ setError(null);
3996
+ }
3997
+ else {
3998
+ setInputValue('');
3999
+ setValue(null);
4000
+ setError(null);
4001
+ }
4002
+ return;
4003
+ }
4004
+ // Case B: User typed 4 digits but out of bounds
4005
+ if (inputValue.length === 4) {
4006
+ var yearNum = Number(inputValue);
4007
+ var error = validateValue(yearNum);
4008
+ if (error) {
4009
+ // Revert back to the last valid parent value on blur
4010
+ setInputValue(value ? value.toString() : '');
4011
+ setError(null);
4012
+ }
4013
+ }
4014
+ };
4015
+ var _h = sizeConfig$c[size], iconSize = _h.iconSize, fieldSize = _h.fieldSize, iconPosition = _h.iconPosition;
4016
+ var fieldStyle = styleConfig['text'].fieldStyle;
4017
+ var displayError = customErrorMessage || internalError;
4018
+ var borderStyle = displayError
4019
+ ? 'border border-bia-red bg-primary-white'
4020
+ : 'border border-bia-grey-dark-10 bg-primary-white';
4021
+ var extendedInputClassName = "w-full ".concat(fieldStyle, " ").concat(fieldSize, " ").concat(borderStyle, " ").concat(className);
4022
+ props.readOnly ? 'read-only:pointer-events-none' : '';
4023
+ var input = isEditing || disabled ? (React.createElement(TextInput, __assign({ type: "text", id: id, value: inputValue, placeholder: placeholder, size: size, inputClassName: extendedInputClassName, onChange: handleChange, onBlur: handleBlur, autoFocus: true, required: required, disabled: disabled, actionElement: React.createElement("button", { type: "button", className: "bianic-datepicker-toggle-button text-bia-coolgrey disabled:cursor-not-allowed", disabled: disabled, onClick: function () {
4024
+ buttonAction && buttonAction();
4025
+ } },
4026
+ React.createElement(TbCalendar, { size: iconSize })) }, props))) : (React.createElement(React.Fragment, null,
4027
+ React.createElement("div", { role: "button", tabIndex: disabled ? -1 : 0, onClick: function () { return !disabled && setIsEditing(true); }, onKeyDown: function (e) {
4028
+ if (e.key === 'Enter' || e.key === ' ') {
4029
+ e.preventDefault();
4030
+ !disabled && setIsEditing(true);
4031
+ }
4032
+ }, className: "bianic-text-input bianic-fgc-target flex w-full items-center rounded hover:rounded-b-none hover:border-b-bia-blue focus:rounded-b-none focus-visible:outline-none disabled:border-bia-grey-dark-10 disabled:bg-bia-grey-light-80 disabled:text-bia-grey-active ".concat(extendedInputClassName, " ").concat(value || nullDisplay ? 'text-bia-black' : 'text-bia-coolgrey', " ").concat(disabled ? 'cursor-not-allowed opacity-60' : 'cursor-text') }, value || nullDisplay || placeholder),
4033
+ React.createElement("div", { className: "absolute inset-y-0 right-0 flex items-center pl-3 text-bia-coolgrey ".concat(iconPosition) },
4034
+ React.createElement("button", { type: "button", className: "bianic-datepicker-toggle-button", disabled: disabled, onClick: function () { return buttonAction && buttonAction(); } },
4035
+ React.createElement(TbCalendar, { size: iconSize })))));
4036
+ return (React.createElement("div", { className: "bianic-year-input-container bianic-fgc-container flex w-full flex-col gap-y-1 text-bia-black" },
4037
+ label && (React.createElement(FormLabel, { htmlFor: id, required: required, readOnly: readOnly }, label)),
4038
+ React.createElement("div", { className: "relative w-full", ref: inputRef }, input),
4039
+ displayError && (React.createElement("span", { className: "text-xs text-bia-red" }, displayError))));
4040
+ });
4041
+ YearPickerDisplay.displayName = 'YearPickerDisplay';
4042
+
4043
+ var useYearLogic = function (selectYear, minYear, maxYear) {
4044
+ var _a = useState(selectYear !== null && selectYear !== void 0 ? selectYear : new Date(TODAY_VALUE).getFullYear()), viewYearValue = _a[0], setViewYearValue = _a[1];
4045
+ var _b = useState(selectYear !== null && selectYear !== void 0 ? selectYear : new Date(TODAY_VALUE).getFullYear()), viewDecadeValue = _b[0], setViewDecadeValue = _b[1];
4046
+ var minYearValue = minYear ? Number(minYear) : null;
4047
+ var maxYearValue = maxYear ? Number(maxYear) : null;
4048
+ var handlePrevYear = function () {
4049
+ setViewYearValue(function (prev) { return prev - 1; });
4050
+ };
4051
+ var handleNextYear = function () {
4052
+ setViewYearValue(function (prev) { return prev + 1; });
4053
+ };
4054
+ var handlePrevDecade = function () {
4055
+ setViewDecadeValue(function (prev) { return prev - 10; });
4056
+ };
4057
+ var handleNextDecade = function () {
4058
+ setViewDecadeValue(function (prev) { return prev + 10; });
4059
+ };
4060
+ var getDecadeRange = function (year) {
4061
+ var startOfDecade = Math.floor(year / 10) * 10;
4062
+ var endOfDecade = startOfDecade + 9;
4063
+ var decadeRange = [];
4064
+ for (var i = startOfDecade - 1; i < endOfDecade + 2; i++) {
4065
+ decadeRange.push(i);
4066
+ }
4067
+ return decadeRange;
4068
+ };
4069
+ var yearDisplayRange = getDecadeRange(viewDecadeValue);
4070
+ var isPrevDisabled = function () {
4071
+ if (!minYearValue)
4072
+ return false;
4073
+ return (yearDisplayRange.includes(minYearValue) &&
4074
+ yearDisplayRange[0] <= minYearValue);
4075
+ };
4076
+ var isNextDisabled = function () {
4077
+ if (!maxYearValue)
4078
+ return false;
4079
+ return (yearDisplayRange.includes(maxYearValue) &&
4080
+ yearDisplayRange[11] >= maxYearValue);
4081
+ };
4082
+ return {
4083
+ viewYearValue: viewYearValue,
4084
+ setViewYearValue: setViewYearValue,
4085
+ viewDecadeValue: viewDecadeValue,
4086
+ setViewDecadeValue: setViewDecadeValue,
4087
+ minYearValue: minYearValue,
4088
+ maxYearValue: maxYearValue,
4089
+ handlePrevYear: handlePrevYear,
4090
+ handleNextYear: handleNextYear,
4091
+ handlePrevDecade: handlePrevDecade,
4092
+ handleNextDecade: handleNextDecade,
4093
+ getDecadeRange: getDecadeRange,
4094
+ yearDisplayRange: yearDisplayRange,
4095
+ isPrevDisabled: isPrevDisabled,
4096
+ isNextDisabled: isNextDisabled,
4097
+ };
4098
+ };
4099
+
4100
+ var PickerYear = function (_a) {
4101
+ var selectedYear = _a.selectedYear, setSelectedYear = _a.setSelectedYear, minYear = _a.minYear, maxYear = _a.maxYear, anchorRef = _a.anchorRef, zIndex = _a.zIndex, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.onClose, onClose = _c === void 0 ? function () { } : _c, props = __rest(_a, ["selectedYear", "setSelectedYear", "minYear", "maxYear", "anchorRef", "zIndex", "isOpen", "onClose"]);
4102
+ var _d = useYearLogic(selectedYear, minYear, maxYear), viewYearValue = _d.viewYearValue, yearDisplayRange = _d.yearDisplayRange, isNextDisabled = _d.isNextDisabled, isPrevDisabled = _d.isPrevDisabled, handleNextDecade = _d.handleNextDecade, handleNextYear = _d.handleNextYear, handlePrevDecade = _d.handlePrevDecade, handlePrevYear = _d.handlePrevYear;
4103
+ var pickerCalendarRef = useRef(null);
4104
+ var _e = useDetectOutsideClick(anchorRef, false, pickerCalendarRef), isPickerOpen = _e[0], setIsPickerOpen = _e[1];
4105
+ var style = props.style, className = props.className, restProps = __rest(props, ["style", "className"]);
4106
+ var positionStyle = usePopupPosition(anchorRef, pickerCalendarRef)[0];
4107
+ var substituteMaxDate = maxYear ? new Date(maxYear, 0, 1) : null;
4108
+ var substituteMinDate = minYear ? new Date(minYear, 0, 1) : null;
4109
+ useEffect(function () {
4110
+ setIsPickerOpen(isOpen);
4111
+ }, [isOpen]);
4112
+ return createPortal(React.createElement("div", __assign({ className: "bianic-datepicker-calendar absolute rounded-b-radius-sm bg-bia-white px-1.5 pb-[17px] pt-[15px] text-bia-black shadow-md ".concat(className), ref: pickerCalendarRef, style: __assign(__assign({ zIndex: zIndex, display: isPickerOpen ? 'flex' : 'none' }, positionStyle), style) }, restProps),
4113
+ React.createElement("div", { className: "picker-body flex w-[250px] flex-col gap-[15px]" },
4114
+ React.createElement(PickerHeader, { pickerMode: 'year', handlePickerMode: function () { }, viewYearValue: viewYearValue, yearDisplayRange: yearDisplayRange, isPrevDisabled: isPrevDisabled, isNextDisabled: isNextDisabled, handlePrevYear: handlePrevYear, handlePrevDecade: handlePrevDecade, handleNextYear: handleNextYear, handleNextDecade: handleNextDecade, viewMonthValue: 0 }),
4115
+ React.createElement(YearDisplay, { maxDateValue: substituteMaxDate, minDateValue: substituteMinDate, onYearSelect: function (y) {
4116
+ setSelectedYear(y);
4117
+ onClose();
4118
+ }, viewYearValue: selectedYear, yearDisplayRange: yearDisplayRange }))), document.body);
4119
+ };
4120
+
4121
+ var YearPicker = function (_a) {
4122
+ var value = _a.value, onChange = _a.onChange, _b = _a.zIndexCalendar, zIndexCalendar = _b === void 0 ? 100 : _b, minYear = _a.minYear, maxYear = _a.maxYear, _c = _a.size, size = _c === void 0 ? 'md' : _c, disabled = _a.disabled, _d = _a.placeholder, placeholder = _d === void 0 ? '"YYYY-MM-DD"' : _d, label = _a.label, required = _a.required, nullDisplay = _a.nullDisplay, inputClassName = _a.inputClassName, containerClassName = _a.containerClassName;
4123
+ var inputRef = useRef(null);
4124
+ var _e = useState(false), isPickerOpen = _e[0], setIsPickerOpen = _e[1];
4125
+ return (React.createElement("div", { className: "bianic-yearpicker-container relative ".concat(containerClassName) },
4126
+ React.createElement("div", { className: "bianic-yearpicker-field-container" },
4127
+ React.createElement(YearPickerDisplay, { className: inputClassName || '', value: value, setValue: onChange, placeholder: placeholder, nullDisplay: nullDisplay, size: size, label: label, required: required, buttonAction: function () { return setIsPickerOpen(!isPickerOpen); }, ref: inputRef, disabled: disabled, minYear: minYear, maxYear: maxYear })),
4128
+ React.createElement(PickerYear, { maxYear: maxYear, minYear: minYear, zIndex: zIndexCalendar, anchorRef: inputRef, selectedYear: value, setSelectedYear: onChange, isOpen: isPickerOpen, onClose: function () { return setIsPickerOpen(false); } })));
4129
+ };
4130
+
3925
4131
  var AlertRoundedSquare = function (_a) {
3926
4132
  var className = _a.className, _b = _a.fill, fill = _b === void 0 ? 'currentColor' : _b, _c = _a.size, size = _c === void 0 ? 20 : _c;
3927
4133
  return (React.createElement("svg", { className: className, width: size, height: size, viewBox: "0 0 24 24", fill: fill, xmlns: "http://www.w3.org/2000/svg" },
@@ -5531,4 +5737,4 @@ var useTableDataHandler = function (initialData, options) {
5531
5737
  };
5532
5738
  };
5533
5739
 
5534
- export { Accordions, Alert, Avatar, AlertRoundedSquare as BCAlertRoundedSquare, CubeHeader as BCCubeHeader, Discrepancy as BCDiscrepancy, ExposedPort as BCExposedPort, FQAnalytical as BCFQAnalytical, FQGetaway as BCFQGetaway, FQModeler as BCFQModeler, FQOperation as BCFQOperation, FQWelldone as BCFQWelldone, Flowqount as BCFlowqount, Inlet as BCInlet, Legend as BCLegend, ModalBalance as BCModalBalance, Neutral as BCNeutral, Node as BCNode, Outlet as BCOutlet, Port as BCPort, Rhombus as BCRhombus, SelectAllAdd as BCSelectAllAdd, SelectAllRemove as BCSelectAllRemove, Spinner$1 as BCSpinner, Stack as BCStack, Unlinked as BCUnlinked, VirtualPort as BCVirtualPort, Badge, Banner, BlockLoading, Brand, Breadcrumb, Button, ButtonApp, Card, Checkbox, Color, ContextualButton, Countdown, DatePicker, Display, Divider, DropdownContainer, DropdownItem, EmptyTable, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, MonospaceBadge, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, SidebarContainer, SidebarItem, SidebarMenu, SidebarProfile, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, StepperItem as VerticalStepper, Window, getRelativeTime, useFileTree, useTableDataHandler };
5740
+ export { Accordions, Alert, Avatar, AlertRoundedSquare as BCAlertRoundedSquare, CubeHeader as BCCubeHeader, Discrepancy as BCDiscrepancy, ExposedPort as BCExposedPort, FQAnalytical as BCFQAnalytical, FQGetaway as BCFQGetaway, FQModeler as BCFQModeler, FQOperation as BCFQOperation, FQWelldone as BCFQWelldone, Flowqount as BCFlowqount, Inlet as BCInlet, Legend as BCLegend, ModalBalance as BCModalBalance, Neutral as BCNeutral, Node as BCNode, Outlet as BCOutlet, Port as BCPort, Rhombus as BCRhombus, SelectAllAdd as BCSelectAllAdd, SelectAllRemove as BCSelectAllRemove, Spinner$1 as BCSpinner, Stack as BCStack, Unlinked as BCUnlinked, VirtualPort as BCVirtualPort, Badge, Banner, BlockLoading, Brand, Breadcrumb, Button, ButtonApp, Card, Checkbox, Color, ContextualButton, Countdown, DatePicker, Display, Divider, DropdownContainer, DropdownItem, EmptyTable, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, MonospaceBadge, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, SidebarContainer, SidebarItem, SidebarMenu, SidebarProfile, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, StepperItem as VerticalStepper, Window, YearPicker, getRelativeTime, useFileTree, useTableDataHandler };