bianic-ui 2.13.0 → 2.14.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.
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+ interface NavButtonProps extends ComponentPropsWithoutRef<'button'> {
4
+ label?: string;
5
+ size?: 'md' | 'sm';
6
+ isActive?: boolean;
7
+ extended?: string;
8
+ }
9
+ declare const NavButton: ({ label, size, isActive, disabled, extended, ...rest }: NavButtonProps) => React.JSX.Element;
10
+ export default NavButton;
@@ -0,0 +1 @@
1
+ export { default } from './NavButton';
@@ -1,3 +1,4 @@
1
1
  export { default as Button } from './Button';
2
2
  export { default as ButtonApp } from './ButtonApp';
3
3
  export { default as ContextualButton } from './ContextualButton/ContextualButton';
4
+ export { default as NavButton } from './NavButton';
@@ -1,11 +1,8 @@
1
1
  import React from 'react';
2
2
  import { SharedUploaderProps } from './useFileHandler';
3
- import { ButtonVariant } from '../../Button/PropInterfaceButton';
4
- export type SimpleFileUploaderSize = 'tn' | 'sm' | 'md' | 'lg';
5
- export interface SimpleFileUploaderProps extends SharedUploaderProps {
6
- size?: SimpleFileUploaderSize;
7
- label?: string;
8
- variant?: ButtonVariant;
3
+ import { ButtonProps, ButtonSize } from '../../Button/PropInterfaceButton';
4
+ export type SimpleFileUploaderSize = ButtonSize;
5
+ export interface SimpleFileUploaderProps extends SharedUploaderProps, Omit<ButtonProps, 'onClick' | 'disabled' | 'className'> {
9
6
  }
10
7
  declare const SimpleFileUploader: React.FC<SimpleFileUploaderProps>;
11
8
  export default SimpleFileUploader;
@@ -24,7 +24,6 @@ export interface TagLabelInputProps<T extends TagValue = TagValue> extends Omit<
24
24
  required?: boolean;
25
25
  size?: 'md' | 'sm';
26
26
  value: T[];
27
- zIndex?: number;
28
27
  }
29
28
  export declare const TagLabelInput: <T extends TagValue = TagValue>(props: TagLabelInputProps<T> & {
30
29
  ref?: React.ForwardedRef<HTMLInputElement>;
@@ -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, TagLabelInput, Toggle, SegmentButtonItem, SegmentButtonGroup, FormLabel, FormGroup, FormGroupButton, FormGroupLabel, DropdownItem, DropdownContainer, DatePicker, PickerCalendar, YearPicker, SimpleFileUploader, DropzoneFileUploader } from './Forms';
17
+ export { TextInput, Radio, TextArea, Checkbox, SelectInput, LiveSearch, TagLabelInput, Toggle, SegmentButtonItem, SegmentButtonGroup, FormLabel, FormGroup, FormGroupButton, FormGroupLabel, DropdownItem, DropdownContainer, DatePicker, PickerCalendar, YearPicker, SimpleFileUploader, DropzoneFileUploader, } from './Forms';
18
18
  export * from './Icons';
19
19
  export { default as InfoPanel } from './InfoPanel';
20
20
  export { default as Modal } from './Modal/Modal';
@@ -36,5 +36,6 @@ export { Display, P, Heading, Text, Link } from './Typography';
36
36
  export { Toaster } from './Toaster';
37
37
  export { HorizontalStepper, VerticalStepper } from './Stepper';
38
38
  export { default as Window } from './Window';
39
- export { getRelativeTime } from '../utility';
39
+ export { getRelativeTime, formatDateTime } from '../utility';
40
+ export type { DateTimeFormatType } from '../utility';
40
41
  export { useTableDataHandler } from '../utility/hooks/useTableDataHandler';
@@ -7,4 +7,5 @@ export declare const Default: Story;
7
7
  export declare const Sizes: Story;
8
8
  export declare const Disabled: Story;
9
9
  export declare const ControlledState: Story;
10
+ export declare const FullButtonControl: Story;
10
11
  export declare const FileTypeValidation: Story;
@@ -1 +1,2 @@
1
- export { getRelativeTime } from './public/words';
1
+ export { getRelativeTime, formatDateTime } from './public/words';
2
+ export type { DateTimeFormatType } from './public/words';
@@ -11,3 +11,17 @@
11
11
  * so e.g. 1 year 11 months => "1 years ago" as requested)
12
12
  */
13
13
  export declare function getRelativeTime(date: Date): string;
14
+ export type DateTimeFormatType = 'short' | 'long' | 'long-with-time' | 'table' | 'table-with-time' | 'time24';
15
+ /**
16
+ * formatDateTime
17
+ * Accepts a date value and formats it into one of several human-readable
18
+ * or machine-sortable string formats.
19
+ * Formats:
20
+ * - 'short': "'24 Feb 4"
21
+ * - 'long' (default): "4 February 2024"
22
+ * - 'long-with-time': "4 February 2024, 16:30"
23
+ * - 'table': "2024-02-04"
24
+ * - 'table-with-time': "2024-02-04, 16:30"
25
+ * - 'time24': "16:30"
26
+ */
27
+ export declare const formatDateTime: (dateString: string | number | Date, type?: DateTimeFormatType | null) => string;
package/dist/esm/index.js CHANGED
@@ -1663,7 +1663,7 @@ var ContextualButton = forwardRef(function (_a, ref) {
1663
1663
  : 'text-primary-white'
1664
1664
  : textColorConfig[variant];
1665
1665
  var stateColor = stateColorConfig[isSelected ? 'selected' : 'default'];
1666
- return (React.createElement("button", __assign({ ref: ref, className: "bianic-contextual-button box-border flex min-h-[22px] flex-row items-center rounded-radius-sm border border-transparent p-[1px] outline-none ".concat(stateColor, " ").concat(textColor) }, props, { disabled: disabled }),
1666
+ return (React.createElement("button", __assign({ ref: ref, className: "bianic-contextual-button box-border flex min-h-[23px] flex-row items-center rounded-radius-sm border border-transparent p-[1px] outline-none ".concat(stateColor, " ").concat(textColor) }, props, { disabled: disabled }),
1667
1667
  icon,
1668
1668
  label && (React.createElement("div", { className: "label flex max-h-[46px] items-center gap-x-0.5 px-[5px] text-[12px] leading-none" },
1669
1669
  React.createElement("span", null, label),
@@ -3347,11 +3347,11 @@ TagLabel.defaultProps = {
3347
3347
  };
3348
3348
 
3349
3349
  var TagLabelInputInner = function (_a, ref) {
3350
- var children = _a.children, className = _a.className, description = _a.description, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.dropContProps, dropContProps = _c === void 0 ? {} : _c, customId = _a.id, _d = _a.isValid, isValid = _d === void 0 ? null : _d, _e = _a.label, label = _e === void 0 ? '' : _e, onBlur = _a.onBlur, onChange = _a.onChange, onChangeText = _a.onChangeText, onFocus = _a.onFocus, placeholder = _a.placeholder, _f = _a.readOnly, readOnly = _f === void 0 ? false : _f, _g = _a.required, required = _g === void 0 ? false : _g, _h = _a.size, size = _h === void 0 ? 'md' : _h, _j = _a.value, value = _j === void 0 ? [] : _j, _k = _a.zIndex, zIndex = _k === void 0 ? 10 : _k, restInputProps = __rest(_a, ["children", "className", "description", "disabled", "dropContProps", "id", "isValid", "label", "onBlur", "onChange", "onChangeText", "onFocus", "placeholder", "readOnly", "required", "size", "value", "zIndex"]);
3350
+ var children = _a.children, className = _a.className, description = _a.description, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.dropContProps, dropContProps = _c === void 0 ? {} : _c, customId = _a.id, _d = _a.isValid, isValid = _d === void 0 ? null : _d, _e = _a.label, label = _e === void 0 ? '' : _e, onBlur = _a.onBlur, onChange = _a.onChange, onChangeText = _a.onChangeText, onFocus = _a.onFocus, placeholder = _a.placeholder, _f = _a.readOnly, readOnly = _f === void 0 ? false : _f, _g = _a.required, required = _g === void 0 ? false : _g, _h = _a.size, size = _h === void 0 ? 'md' : _h, _j = _a.value, value = _j === void 0 ? [] : _j, restInputProps = __rest(_a, ["children", "className", "description", "disabled", "dropContProps", "id", "isValid", "label", "onBlur", "onChange", "onChangeText", "onFocus", "placeholder", "readOnly", "required", "size", "value"]);
3351
3351
  var generatedId = useId();
3352
3352
  var inputId = customId || generatedId;
3353
- var _l = useState(false), isFocused = _l[0], setIsFocused = _l[1];
3354
- var _m = useState(false), isHovered = _m[0], setIsHovered = _m[1];
3353
+ var _k = useState(false), isFocused = _k[0], setIsFocused = _k[1];
3354
+ var _l = useState(false), isHovered = _l[0], setIsHovered = _l[1];
3355
3355
  var internalInputRef = useRef(null);
3356
3356
  var containerRef = useRef(null);
3357
3357
  useImperativeHandle(ref, function () { return internalInputRef.current; });
@@ -3375,12 +3375,12 @@ var TagLabelInputInner = function (_a, ref) {
3375
3375
  var updatedValues = value.filter(function (_, idx) { return idx !== indexToRemove; });
3376
3376
  onChange(updatedValues);
3377
3377
  };
3378
- var _o = useLiveSearch({
3378
+ var _m = useLiveSearch({
3379
3379
  value: value,
3380
3380
  setValue: onChange,
3381
3381
  onChangeText: onChangeText,
3382
3382
  dropContOnClickItem: dropContProps === null || dropContProps === void 0 ? void 0 : dropContProps.onClickItem,
3383
- }), isOpen = _o.isOpen, setIsOpen = _o.setIsOpen, searchTerm = _o.searchTerm, handleInputChange = _o.handleInputChange, handleDropdownItemClick = _o.handleDropdownItemClick;
3383
+ }), isOpen = _m.isOpen, setIsOpen = _m.setIsOpen, searchTerm = _m.searchTerm, handleInputChange = _m.handleInputChange, handleDropdownItemClick = _m.handleDropdownItemClick;
3384
3384
  var handleKeyDown = function (e) {
3385
3385
  var _a;
3386
3386
  if (e.key === 'Backspace' && searchTerm === '' && value.length > 0) {
@@ -3414,9 +3414,9 @@ var TagLabelInputInner = function (_a, ref) {
3414
3414
  ? 'text-bia-green'
3415
3415
  : 'text-bia-red'
3416
3416
  : 'text-primary-cool';
3417
- var _p = sizeConfig$6[size], inputClass = _p.inputClass, paddingClass = _p.paddingClass, resizePosition = _p.resizePosition;
3418
- var _q = dropContProps || {}, dropContClassName = _q.dropContClassName, restDropContProps = __rest(_q, ["dropContClassName"]);
3419
- var _r = processRenderedChildren(children, searchTerm, 'include', handleDropdownItemClick, value), renderedChildren = _r.renderedChildren, hasFilteredResults = _r.hasFilteredResults;
3417
+ var _o = sizeConfig$6[size], inputClass = _o.inputClass, paddingClass = _o.paddingClass, resizePosition = _o.resizePosition;
3418
+ var _p = dropContProps || {}, dropContClassName = _p.dropContClassName, restDropContProps = __rest(_p, ["dropContClassName"]);
3419
+ var _q = processRenderedChildren(children, searchTerm, 'include', handleDropdownItemClick, value), renderedChildren = _q.renderedChildren, hasFilteredResults = _q.hasFilteredResults;
3420
3420
  var showPlaceholder = !disabled && !readOnly && value.length === 0;
3421
3421
  console.log('showPlaceholder', showPlaceholder);
3422
3422
  return (React.createElement("div", { className: cn$1('relative w-full', className) },
@@ -3443,7 +3443,7 @@ var TagLabelInputInner = function (_a, ref) {
3443
3443
  }, onKeyDown: handleKeyDown, placeholder: showPlaceholder ? placeholder || 'Select options...' : '', readOnly: readOnly, ref: internalInputRef, role: "combobox", type: "text", value: disabled || readOnly ? '' : searchTerm, className: cn$1(inputClass, 'min-w-[80px] flex-1 border-none bg-transparent p-0 outline-none focus:ring-0', disabled && 'cursor-not-allowed', readOnly && 'pointer-events-none') })),
3444
3444
  React.createElement(ResizeIcon, { className: cn$1('absolute', resizePosition) })),
3445
3445
  description && (React.createElement("p", { className: cn$1('mt-1.5 text-xs transition-colors', descColor) }, description)),
3446
- children && (React.createElement(DropdownContainer, __assign({ anchorRef: containerRef, className: cn$1('bianic-livesearch-dropdown w-full overflow-hidden bg-white shadow-lg', dropContClassName), isTopFlat: true, matchAnchorWidth: "min", onClose: function () { return setIsOpen(false); }, open: isOpen && !disabled && !readOnly, size: size, zIndex: zIndex }, restDropContProps), hasFilteredResults
3446
+ children && (React.createElement(DropdownContainer, __assign({ anchorRef: containerRef, className: cn$1('bianic-livesearch-dropdown w-full overflow-hidden bg-white shadow-lg', dropContClassName), isTopFlat: true, matchAnchorWidth: "min", onClose: function () { return setIsOpen(false); }, open: isOpen && !disabled && !readOnly, size: size, zIndex: 10 }, restDropContProps), hasFilteredResults
3447
3447
  ? renderedChildren
3448
3448
  : searchTerm.length > 0 && (React.createElement(DropdownItem, { content: React.createElement("div", { className: "px-4 py-2 text-gray-500" }, "Tidak ada hasil ditemukan.") }))))));
3449
3449
  };
@@ -4638,7 +4638,7 @@ var useFileHandler = function (_a) {
4638
4638
  };
4639
4639
 
4640
4640
  var SimpleFileUploader = function (_a) {
4641
- var _b = _a.size, size = _b === void 0 ? 'md' : _b, accept = _a.accept, _c = _a.multiple, multiple = _c === void 0 ? false : _c, maxSize = _a.maxSize, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.label, label = _e === void 0 ? 'Choose File' : _e, _f = _a.variant, variant = _f === void 0 ? 'form-group' : _f, errorMessage = _a.errorMessage, _g = _a.value, value = _g === void 0 ? [] : _g, onChange = _a.onChange, onError = _a.onError, className = _a.className;
4641
+ var _b = _a.size, size = _b === void 0 ? 'md' : _b, accept = _a.accept, _c = _a.multiple, multiple = _c === void 0 ? false : _c, maxSize = _a.maxSize, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.label, label = _e === void 0 ? 'Choose File' : _e, _f = _a.variant, variant = _f === void 0 ? 'form-group' : _f, errorMessage = _a.errorMessage, _g = _a.value, value = _g === void 0 ? [] : _g, onChange = _a.onChange, onError = _a.onError, className = _a.className, iconLeft = _a.iconLeft, buttonProps = __rest(_a, ["size", "accept", "multiple", "maxSize", "disabled", "label", "variant", "errorMessage", "value", "onChange", "onError", "className", "iconLeft"]);
4642
4642
  var _h = useFileHandler({
4643
4643
  accept: accept,
4644
4644
  multiple: multiple,
@@ -4657,7 +4657,9 @@ var SimpleFileUploader = function (_a) {
4657
4657
  }[size];
4658
4658
  return (React.createElement("div", { className: cn$1('inline-flex flex-col items-start gap-1.5', className) },
4659
4659
  React.createElement("input", { ref: inputRef, type: "file", accept: accept, multiple: multiple, disabled: disabled, onChange: handleInputChange, className: "hidden", "aria-label": "File input" }),
4660
- React.createElement(Button, { label: label, onClick: triggerClick, disabled: disabled, size: size, variant: variant, iconLeft: React.createElement(TbFolderOpen, { size: iconSizes, className: "shrink-0 text-bia-black" }) }),
4660
+ React.createElement(Button
4661
+ // eslint-disable-next-line react/jsx-props-no-spreading
4662
+ , __assign({}, buttonProps, { label: label, onClick: triggerClick, disabled: disabled, size: size, variant: variant, iconLeft: iconLeft !== null && iconLeft !== void 0 ? iconLeft : (React.createElement(TbFolderOpen, { size: iconSizes, className: "shrink-0 text-bia-black" })) })),
4661
4663
  activeError && (React.createElement("div", { className: "flex items-center gap-1 text-xs font-medium text-bia-red" },
4662
4664
  React.createElement(TbAlertCircle, { size: 14, className: "shrink-0" }),
4663
4665
  React.createElement("span", null, activeError)))));
@@ -5656,7 +5658,7 @@ var SidebarProfile = forwardRef(function (_a, ref) {
5656
5658
  }, className: cn$1('cubic-bezier(0.68, -0.1, 0.32, 1.2) flex w-full items-center gap-x-2.5 delay-500 duration-300', buttonClass, className) }),
5657
5659
  avatarImage,
5658
5660
  React.createElement("div", { className: "flex flex-col" },
5659
- React.createElement(Text, { variant: "normal-text", className: cn$1('truncate text-bia-white delay-[400ms]', isMinimized
5661
+ React.createElement(Text, { variant: "normal-text", className: cn$1('truncate text-left text-bia-white delay-[400ms]', isMinimized
5660
5662
  ? 'opacity-0 duration-300 ease-in-out'
5661
5663
  : 'opacity-100 delay-1000 duration-700 ease-in-out') }, username),
5662
5664
  React.createElement(Text, { variant: "small-text", className: cn$1('truncate text-left text-bia-white delay-[400ms]', isMinimized
@@ -9407,6 +9409,71 @@ function getRelativeTime(date) {
9407
9409
  return "".concat(Math.floor(diffMs / month), " months ago");
9408
9410
  return "".concat(Math.floor(diffMs / year), " years ago");
9409
9411
  }
9412
+ /**
9413
+ * formatDateTime
9414
+ * Accepts a date value and formats it into one of several human-readable
9415
+ * or machine-sortable string formats.
9416
+ * Formats:
9417
+ * - 'short': "'24 Feb 4"
9418
+ * - 'long' (default): "4 February 2024"
9419
+ * - 'long-with-time': "4 February 2024, 16:30"
9420
+ * - 'table': "2024-02-04"
9421
+ * - 'table-with-time': "2024-02-04, 16:30"
9422
+ * - 'time24': "16:30"
9423
+ */
9424
+ var formatDateTime = function (dateString, type) {
9425
+ if (type === void 0) { type = null; }
9426
+ var date = new Date(dateString);
9427
+ var year;
9428
+ var month = '';
9429
+ var day = '';
9430
+ var timeResult = date.toLocaleTimeString('en-GB', {
9431
+ hour: '2-digit',
9432
+ minute: '2-digit',
9433
+ hour12: false,
9434
+ });
9435
+ switch (type) {
9436
+ case 'short':
9437
+ // example: '24 Feb 4
9438
+ year = date.getFullYear().toString().substring(2, 4);
9439
+ month = date.toLocaleString('en-US', { month: 'short' });
9440
+ day = String(date.getDate());
9441
+ return "'".concat(year, " ").concat(month, " ").concat(day);
9442
+ case 'long':
9443
+ // example: 4 February 2024
9444
+ year = date.getFullYear().toString();
9445
+ month = date.toLocaleString('en-US', { month: 'long' });
9446
+ day = String(date.getDate());
9447
+ return "".concat(day, " ").concat(month, " ").concat(year);
9448
+ case 'long-with-time':
9449
+ // example: 4 February 2024, 16:30
9450
+ year = date.getFullYear().toString();
9451
+ month = date.toLocaleString('en-US', { month: 'long' });
9452
+ day = String(date.getDate());
9453
+ return "".concat(day, " ").concat(month, " ").concat(year, ", ").concat(timeResult);
9454
+ case 'table':
9455
+ // example: 2024-02-04
9456
+ year = date.getFullYear();
9457
+ month = String(date.getMonth() + 1).padStart(2, '0');
9458
+ day = String(date.getDate()).padStart(2, '0');
9459
+ return "".concat(year, "-").concat(month, "-").concat(day);
9460
+ case 'table-with-time':
9461
+ // example: 2024-02-04, 16:30
9462
+ year = date.getFullYear();
9463
+ month = String(date.getMonth() + 1).padStart(2, '0');
9464
+ day = String(date.getDate()).padStart(2, '0');
9465
+ return "".concat(year, "-").concat(month, "-").concat(day, ", ").concat(timeResult);
9466
+ case 'time24':
9467
+ // example: 16:30
9468
+ return "".concat(timeResult);
9469
+ default:
9470
+ // default to long format (4 February 2024)
9471
+ year = date.getFullYear().toString();
9472
+ month = date.toLocaleString('en-US', { month: 'long' });
9473
+ day = String(date.getDate());
9474
+ return "".concat(day, " ").concat(month, " ").concat(year);
9475
+ }
9476
+ };
9410
9477
 
9411
9478
  /**
9412
9479
  * A custom hook to handle data processing for tables, managing internal states
@@ -9527,4 +9594,4 @@ var useTableDataHandler = function (initialData, options) {
9527
9594
  };
9528
9595
  };
9529
9596
 
9530
- 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, DropzoneFileUploader, EmptyTable, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, HorizontalStepper, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, MonospaceBadge, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, SidebarContainer, SidebarItem, SidebarMenu, SidebarProfile, SimpleFileUploader, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, TagLabelInput, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, StepperItem as VerticalStepper, Window, YearPicker, getRelativeTime, useFileTree, useTableDataHandler };
9597
+ 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, DropzoneFileUploader, EmptyTable, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, HorizontalStepper, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, MonospaceBadge, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, SidebarContainer, SidebarItem, SidebarMenu, SidebarProfile, SimpleFileUploader, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, TagLabelInput, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, StepperItem as VerticalStepper, Window, YearPicker, formatDateTime, getRelativeTime, useFileTree, useTableDataHandler };