bianic-ui 2.9.0 → 2.10.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +109 -93
- package/dist/cjs/lib.css +3 -3
- package/dist/cjs/types/components/Alert/config.d.ts +5 -5
- package/dist/cjs/types/components/Card/config.d.ts +4 -3
- package/dist/cjs/types/components/Card/index.d.ts +6 -6
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/hooks/useCalendarLogic.d.ts +2 -3
- package/dist/cjs/types/components/Popover/PropInterface.d.ts +0 -1
- package/dist/cjs/types/components/TabMenu/TabMenu.d.ts +10 -6
- package/dist/cjs/types/components/TabMenu/configs.d.ts +10 -31
- package/dist/cjs/types/stories/Accordions/Accordions.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Accordions/AccordionsDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Alert/Alert.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Alert/AlertDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Avatar/Avatar.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Avatar/AvatarDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Badge/Badge.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Badge/BadgeDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Badge/BadgeDemoHeading.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Banner.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Brand/Brand.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Breadcrumb/Breadcrumb.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Breadcrumb/BreadcrumbDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Button/Button.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Button/ButtonBlock.stories.d.ts +1 -9
- package/dist/cjs/types/stories/Card/Card.stories.d.ts +2 -7
- package/dist/cjs/types/stories/ColorPallete/Color.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Divider/Divider.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Divider/DividerDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/ElevationShadow.stories.d.ts +1 -1
- package/dist/cjs/types/stories/FileTree/FileTree.stories.d.ts +1 -2
- package/dist/cjs/types/stories/FileTree/FileTreeContextMenu.stories.d.ts +1 -1
- package/dist/cjs/types/stories/FileTree/FileTreeSimulation.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Checkbox/CheckboxSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/DatePicker/Datepicker.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/DatePicker/DatepickerLimitSimulation.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/DatePicker/DatepickerSimulation.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/DatePicker/RangeDatepickerSimulation.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/Dropdown/BasicExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Dropdown/DropdownContainer.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/Dropdown/DropdownItem.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Dropdown/NestedExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Dropdown/SampleTest/CheckMenuExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Dropdown/SampleTest/CheckboxExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Dropdown/WithValueExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Group/GroupButton.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/Group/SampleTest.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/Label/FormLabel.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/Label/Label.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/LiveSearch/DeprecatedSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/LiveSearch/Livesearch.stories.d.ts +1 -33
- package/dist/cjs/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +1 -7
- package/dist/cjs/types/stories/Form/LiveSearch/LivesearchOverflowTest.stories.d.ts +1 -8
- package/dist/cjs/types/stories/Form/LiveSearch/OutsideControlSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/Radio.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/SegmentButton.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/SegmentButtonDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/SelectInput/SelectInput.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/SelectInput/SelectInputCustom.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/TextArea/TextArea.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/TextArea/TextAreaSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/TextInput/TextInput.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Form/TextInput/TextInputSimulation.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Form/Toggle.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/AlertRoundedSquare.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/CubeHeader.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Discrepancy.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/ExposedPort.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/FQAnalytical.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/FQGetaway.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/FQModeler.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/FQOperation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/FQWelldone.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Flowqount.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Inlet.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Legend.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/ModalBalance.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Neutral.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Icons/Node.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Outlet.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Port.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Rhombus.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Icons/SelectAllAdd.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/SelectAllRemove.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Spinner.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/Stack.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Icons/VirtualPort.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Menu/BasicExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Menu/FilterExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Menu/MenuItem.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Menu/NestedExample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Modal/Modal.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Modal/ModalDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Modal/ModalNonCloseable.stories.d.ts +1 -1
- package/dist/cjs/types/stories/PaginationBar/PaginationBar.stories.d.ts +1 -1
- package/dist/cjs/types/stories/PaginationBar/PaginationBarDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Pills/Pills.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Pills/PillsDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Popover/Popover.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Popover/PopoverDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Progress/Bar/ProgressBar.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Progress/Bar/ProgressBarSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Progress/Circle/ProgressCirlce.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Progress/Circle/ProgressCirlceSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Resizeable/Resizeable.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Resizeable/ResizeableSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Resizeable/ResizeableZIndexSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Scrollbar/DefaultSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Scrollbar/HiddenSimulation.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Slider/Slider.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Snippet/ContextualButtonsTable/Story.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Tab/CardTab.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Tab/CardTabDemo.stories.d.ts +1 -2
- package/dist/cjs/types/stories/Tab/Tab.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Tab/TabDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Tab/TabHead.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Tab/TabVerticalDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/TabMenu/TabMenu.stories.d.ts +31 -5
- package/dist/cjs/types/stories/TabMenu/TabMenuSimulation.stories.d.ts +1 -9
- package/dist/cjs/types/stories/Table/TableCell.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Table/TableCellDemo.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Table/TableTestSample.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Toaster/Toaster.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Typography/Display.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Typography/Heading.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Typography/Link.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Typography/Paragraph.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Typography/Text.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Window/Window.stories.d.ts +1 -1
- package/dist/cjs/types/stories/Window/WindowSimulation.stories.d.ts +1 -2
- package/dist/cjs/types/utility/helper.d.ts +0 -1
- package/dist/esm/index.js +109 -93
- package/dist/esm/lib.css +3 -3
- package/dist/esm/types/components/Alert/config.d.ts +5 -5
- package/dist/esm/types/components/Card/config.d.ts +4 -3
- package/dist/esm/types/components/Card/index.d.ts +6 -6
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/hooks/useCalendarLogic.d.ts +2 -3
- package/dist/esm/types/components/Popover/PropInterface.d.ts +0 -1
- package/dist/esm/types/components/TabMenu/TabMenu.d.ts +10 -6
- package/dist/esm/types/components/TabMenu/configs.d.ts +10 -31
- package/dist/esm/types/stories/Accordions/Accordions.stories.d.ts +1 -1
- package/dist/esm/types/stories/Accordions/AccordionsDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Alert/Alert.stories.d.ts +1 -1
- package/dist/esm/types/stories/Alert/AlertDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Avatar/Avatar.stories.d.ts +1 -1
- package/dist/esm/types/stories/Avatar/AvatarDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Badge/Badge.stories.d.ts +1 -1
- package/dist/esm/types/stories/Badge/BadgeDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Badge/BadgeDemoHeading.stories.d.ts +1 -1
- package/dist/esm/types/stories/Banner.stories.d.ts +1 -1
- package/dist/esm/types/stories/Brand/Brand.stories.d.ts +1 -1
- package/dist/esm/types/stories/Breadcrumb/Breadcrumb.stories.d.ts +1 -1
- package/dist/esm/types/stories/Breadcrumb/BreadcrumbDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Button/Button.stories.d.ts +1 -1
- package/dist/esm/types/stories/Button/ButtonBlock.stories.d.ts +1 -9
- package/dist/esm/types/stories/Card/Card.stories.d.ts +2 -7
- package/dist/esm/types/stories/ColorPallete/Color.stories.d.ts +1 -1
- package/dist/esm/types/stories/Divider/Divider.stories.d.ts +1 -1
- package/dist/esm/types/stories/Divider/DividerDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/ElevationShadow.stories.d.ts +1 -1
- package/dist/esm/types/stories/FileTree/FileTree.stories.d.ts +1 -2
- package/dist/esm/types/stories/FileTree/FileTreeContextMenu.stories.d.ts +1 -1
- package/dist/esm/types/stories/FileTree/FileTreeSimulation.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Checkbox/CheckboxSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/DatePicker/Datepicker.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/DatePicker/DatepickerLimitSimulation.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/DatePicker/DatepickerSimulation.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/DatePicker/RangeDatepickerSimulation.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/Dropdown/BasicExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Dropdown/DropdownContainer.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/Dropdown/DropdownItem.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Dropdown/NestedExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Dropdown/SampleTest/CheckMenuExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Dropdown/SampleTest/CheckboxExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Dropdown/WithValueExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Group/GroupButton.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/Group/SampleTest.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/Label/FormLabel.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/Label/Label.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/LiveSearch/DeprecatedSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/LiveSearch/Livesearch.stories.d.ts +1 -33
- package/dist/esm/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +1 -7
- package/dist/esm/types/stories/Form/LiveSearch/LivesearchOverflowTest.stories.d.ts +1 -8
- package/dist/esm/types/stories/Form/LiveSearch/OutsideControlSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/Radio.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/SegmentButton.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/SegmentButtonDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/SelectInput/SelectInput.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/SelectInput/SelectInputCustom.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/TextArea/TextArea.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/TextArea/TextAreaSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/TextInput/TextInput.stories.d.ts +1 -1
- package/dist/esm/types/stories/Form/TextInput/TextInputSimulation.stories.d.ts +1 -2
- package/dist/esm/types/stories/Form/Toggle.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/AlertRoundedSquare.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/CubeHeader.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Discrepancy.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/ExposedPort.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/FQAnalytical.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/FQGetaway.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/FQModeler.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/FQOperation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/FQWelldone.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Flowqount.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Inlet.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Legend.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/ModalBalance.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Neutral.stories.d.ts +1 -2
- package/dist/esm/types/stories/Icons/Node.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Outlet.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Port.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Rhombus.stories.d.ts +1 -2
- package/dist/esm/types/stories/Icons/SelectAllAdd.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/SelectAllRemove.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Spinner.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/Stack.stories.d.ts +1 -1
- package/dist/esm/types/stories/Icons/VirtualPort.stories.d.ts +1 -1
- package/dist/esm/types/stories/Menu/BasicExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Menu/FilterExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Menu/MenuItem.stories.d.ts +1 -1
- package/dist/esm/types/stories/Menu/NestedExample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Modal/Modal.stories.d.ts +1 -1
- package/dist/esm/types/stories/Modal/ModalDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Modal/ModalNonCloseable.stories.d.ts +1 -1
- package/dist/esm/types/stories/PaginationBar/PaginationBar.stories.d.ts +1 -1
- package/dist/esm/types/stories/PaginationBar/PaginationBarDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Pills/Pills.stories.d.ts +1 -1
- package/dist/esm/types/stories/Pills/PillsDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Popover/Popover.stories.d.ts +1 -1
- package/dist/esm/types/stories/Popover/PopoverDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Progress/Bar/ProgressBar.stories.d.ts +1 -1
- package/dist/esm/types/stories/Progress/Bar/ProgressBarSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Progress/Circle/ProgressCirlce.stories.d.ts +1 -1
- package/dist/esm/types/stories/Progress/Circle/ProgressCirlceSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Resizeable/Resizeable.stories.d.ts +1 -1
- package/dist/esm/types/stories/Resizeable/ResizeableSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Resizeable/ResizeableZIndexSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Scrollbar/DefaultSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Scrollbar/HiddenSimulation.stories.d.ts +1 -1
- package/dist/esm/types/stories/Slider/Slider.stories.d.ts +1 -1
- package/dist/esm/types/stories/Snippet/ContextualButtonsTable/Story.stories.d.ts +1 -2
- package/dist/esm/types/stories/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/esm/types/stories/Tab/CardTab.stories.d.ts +1 -1
- package/dist/esm/types/stories/Tab/CardTabDemo.stories.d.ts +1 -2
- package/dist/esm/types/stories/Tab/Tab.stories.d.ts +1 -1
- package/dist/esm/types/stories/Tab/TabDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Tab/TabHead.stories.d.ts +1 -1
- package/dist/esm/types/stories/Tab/TabVerticalDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/TabMenu/TabMenu.stories.d.ts +31 -5
- package/dist/esm/types/stories/TabMenu/TabMenuSimulation.stories.d.ts +1 -9
- package/dist/esm/types/stories/Table/TableCell.stories.d.ts +1 -1
- package/dist/esm/types/stories/Table/TableCellDemo.stories.d.ts +1 -1
- package/dist/esm/types/stories/Table/TableTestSample.stories.d.ts +1 -1
- package/dist/esm/types/stories/Toaster/Toaster.stories.d.ts +1 -1
- package/dist/esm/types/stories/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/esm/types/stories/Typography/Display.stories.d.ts +1 -1
- package/dist/esm/types/stories/Typography/Heading.stories.d.ts +1 -1
- package/dist/esm/types/stories/Typography/Link.stories.d.ts +1 -1
- package/dist/esm/types/stories/Typography/Paragraph.stories.d.ts +1 -1
- package/dist/esm/types/stories/Typography/Text.stories.d.ts +1 -1
- package/dist/esm/types/stories/Window/Window.stories.d.ts +1 -1
- package/dist/esm/types/stories/Window/WindowSimulation.stories.d.ts +1 -2
- package/dist/esm/types/utility/helper.d.ts +0 -1
- package/dist/index.d.ts +22 -11
- package/package.json +14 -14
package/dist/cjs/index.js
CHANGED
|
@@ -39,12 +39,12 @@ var DefaultContext = {
|
|
|
39
39
|
var IconContext = React.createContext && /*#__PURE__*/React.createContext(DefaultContext);
|
|
40
40
|
|
|
41
41
|
var _excluded = ["attr", "size", "title"];
|
|
42
|
-
function _objectWithoutProperties(
|
|
43
|
-
function _objectWithoutPropertiesLoose(
|
|
44
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
42
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
43
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
44
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
45
45
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
46
46
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47
|
-
function _defineProperty(
|
|
47
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
48
48
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
49
49
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
50
50
|
function Tree2Element(tree) {
|
|
@@ -89,44 +89,44 @@ function IconBase(props) {
|
|
|
89
89
|
// THIS FILE IS AUTO GENERATED
|
|
90
90
|
function TbCircleCheckFilled (props) {
|
|
91
91
|
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"},"child":[]}]})(props);
|
|
92
|
-
}function TbAlertTriangle (props) {
|
|
93
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 9v4"},"child":[]},{"tag":"path","attr":{"d":"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z"},"child":[]},{"tag":"path","attr":{"d":"M12 16h.01"},"child":[]}]})(props);
|
|
94
|
-
}function TbCalendar (props) {
|
|
95
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12z"},"child":[]},{"tag":"path","attr":{"d":"M16 3v4"},"child":[]},{"tag":"path","attr":{"d":"M8 3v4"},"child":[]},{"tag":"path","attr":{"d":"M4 11h16"},"child":[]},{"tag":"path","attr":{"d":"M11 15h1"},"child":[]},{"tag":"path","attr":{"d":"M12 15v3"},"child":[]}]})(props);
|
|
96
|
-
}function TbCheck (props) {
|
|
97
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M5 12l5 5l10 -10"},"child":[]}]})(props);
|
|
98
|
-
}function TbChevronDown (props) {
|
|
99
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M6 9l6 6l6 -6"},"child":[]}]})(props);
|
|
100
|
-
}function TbChevronLeft (props) {
|
|
101
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M15 6l-6 6l6 6"},"child":[]}]})(props);
|
|
102
|
-
}function TbChevronRight (props) {
|
|
103
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M9 6l6 6l-6 6"},"child":[]}]})(props);
|
|
104
|
-
}function TbChevronUp (props) {
|
|
105
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M6 15l6 -6l6 6"},"child":[]}]})(props);
|
|
106
|
-
}function TbChevronsLeft (props) {
|
|
107
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M11 7l-5 5l5 5"},"child":[]},{"tag":"path","attr":{"d":"M17 7l-5 5l5 5"},"child":[]}]})(props);
|
|
108
|
-
}function TbChevronsRight (props) {
|
|
109
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M7 7l5 5l-5 5"},"child":[]},{"tag":"path","attr":{"d":"M13 7l5 5l-5 5"},"child":[]}]})(props);
|
|
110
|
-
}function TbCrop11 (props) {
|
|
111
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"},"child":[]}]})(props);
|
|
112
|
-
}function TbDots (props) {
|
|
113
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},"child":[]},{"tag":"path","attr":{"d":"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},"child":[]},{"tag":"path","attr":{"d":"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},"child":[]}]})(props);
|
|
114
|
-
}function TbEyeOff (props) {
|
|
115
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M10.585 10.587a2 2 0 0 0 2.829 2.828"},"child":[]},{"tag":"path","attr":{"d":"M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"},"child":[]},{"tag":"path","attr":{"d":"M3 3l18 18"},"child":[]}]})(props);
|
|
116
|
-
}function TbEye (props) {
|
|
117
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"},"child":[]},{"tag":"path","attr":{"d":"M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"},"child":[]}]})(props);
|
|
118
|
-
}function TbLoader2 (props) {
|
|
119
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 3a9 9 0 1 0 9 9"},"child":[]}]})(props);
|
|
120
|
-
}function TbPlaystationX (props) {
|
|
121
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 21a9 9 0 0 0 9 -9a9 9 0 0 0 -9 -9a9 9 0 0 0 -9 9a9 9 0 0 0 9 9z"},"child":[]},{"tag":"path","attr":{"d":"M8.5 8.5l7 7"},"child":[]},{"tag":"path","attr":{"d":"M8.5 15.5l7 -7"},"child":[]}]})(props);
|
|
122
|
-
}function TbRefresh (props) {
|
|
123
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"},"child":[]},{"tag":"path","attr":{"d":"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"},"child":[]}]})(props);
|
|
124
|
-
}function TbX (props) {
|
|
125
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M18 6l-12 12"},"child":[]},{"tag":"path","attr":{"d":"M6 6l12 12"},"child":[]}]})(props);
|
|
126
|
-
}function TbXboxX (props) {
|
|
127
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 21a9 9 0 0 0 9 -9a9 9 0 0 0 -9 -9a9 9 0 0 0 -9 9a9 9 0 0 0 9 9z"},"child":[]},{"tag":"path","attr":{"d":"M9 8l6 8"},"child":[]},{"tag":"path","attr":{"d":"M15 8l-6 8"},"child":[]}]})(props);
|
|
128
92
|
}function TbZoom (props) {
|
|
129
93
|
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"},"child":[]},{"tag":"path","attr":{"d":"M21 21l-6 -6"},"child":[]}]})(props);
|
|
94
|
+
}function TbXboxX (props) {
|
|
95
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 21a9 9 0 0 0 9 -9a9 9 0 0 0 -9 -9a9 9 0 0 0 -9 9a9 9 0 0 0 9 9z"},"child":[]},{"tag":"path","attr":{"d":"M9 8l6 8"},"child":[]},{"tag":"path","attr":{"d":"M15 8l-6 8"},"child":[]}]})(props);
|
|
96
|
+
}function TbX (props) {
|
|
97
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M18 6l-12 12"},"child":[]},{"tag":"path","attr":{"d":"M6 6l12 12"},"child":[]}]})(props);
|
|
98
|
+
}function TbRefresh (props) {
|
|
99
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"},"child":[]},{"tag":"path","attr":{"d":"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"},"child":[]}]})(props);
|
|
100
|
+
}function TbPlaystationX (props) {
|
|
101
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 21a9 9 0 0 0 9 -9a9 9 0 0 0 -9 -9a9 9 0 0 0 -9 9a9 9 0 0 0 9 9z"},"child":[]},{"tag":"path","attr":{"d":"M8.5 8.5l7 7"},"child":[]},{"tag":"path","attr":{"d":"M8.5 15.5l7 -7"},"child":[]}]})(props);
|
|
102
|
+
}function TbLoader2 (props) {
|
|
103
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 3a9 9 0 1 0 9 9"},"child":[]}]})(props);
|
|
104
|
+
}function TbEye (props) {
|
|
105
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"},"child":[]},{"tag":"path","attr":{"d":"M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"},"child":[]}]})(props);
|
|
106
|
+
}function TbEyeOff (props) {
|
|
107
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M10.585 10.587a2 2 0 0 0 2.829 2.828"},"child":[]},{"tag":"path","attr":{"d":"M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"},"child":[]},{"tag":"path","attr":{"d":"M3 3l18 18"},"child":[]}]})(props);
|
|
108
|
+
}function TbDots (props) {
|
|
109
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},"child":[]},{"tag":"path","attr":{"d":"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},"child":[]},{"tag":"path","attr":{"d":"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"},"child":[]}]})(props);
|
|
110
|
+
}function TbCrop11 (props) {
|
|
111
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"},"child":[]}]})(props);
|
|
112
|
+
}function TbChevronsRight (props) {
|
|
113
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M7 7l5 5l-5 5"},"child":[]},{"tag":"path","attr":{"d":"M13 7l5 5l-5 5"},"child":[]}]})(props);
|
|
114
|
+
}function TbChevronsLeft (props) {
|
|
115
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M11 7l-5 5l5 5"},"child":[]},{"tag":"path","attr":{"d":"M17 7l-5 5l5 5"},"child":[]}]})(props);
|
|
116
|
+
}function TbChevronUp (props) {
|
|
117
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M6 15l6 -6l6 6"},"child":[]}]})(props);
|
|
118
|
+
}function TbChevronRight (props) {
|
|
119
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M9 6l6 6l-6 6"},"child":[]}]})(props);
|
|
120
|
+
}function TbChevronLeft (props) {
|
|
121
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M15 6l-6 6l6 6"},"child":[]}]})(props);
|
|
122
|
+
}function TbChevronDown (props) {
|
|
123
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M6 9l6 6l6 -6"},"child":[]}]})(props);
|
|
124
|
+
}function TbCheck (props) {
|
|
125
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M5 12l5 5l10 -10"},"child":[]}]})(props);
|
|
126
|
+
}function TbCalendar (props) {
|
|
127
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12z"},"child":[]},{"tag":"path","attr":{"d":"M16 3v4"},"child":[]},{"tag":"path","attr":{"d":"M8 3v4"},"child":[]},{"tag":"path","attr":{"d":"M4 11h16"},"child":[]},{"tag":"path","attr":{"d":"M11 15h1"},"child":[]},{"tag":"path","attr":{"d":"M12 15v3"},"child":[]}]})(props);
|
|
128
|
+
}function TbAlertTriangle (props) {
|
|
129
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round"},"child":[{"tag":"path","attr":{"d":"M12 9v4"},"child":[]},{"tag":"path","attr":{"d":"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z"},"child":[]},{"tag":"path","attr":{"d":"M12 16h.01"},"child":[]}]})(props);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
function InfoIcon() {
|
|
@@ -305,7 +305,7 @@ var useDetectOutsideClick = function (ref, initialState, ignoreRef, event) {
|
|
|
305
305
|
};
|
|
306
306
|
|
|
307
307
|
var variantUnion$2 = [
|
|
308
|
-
'normal-text',
|
|
308
|
+
'normal-text', // default
|
|
309
309
|
'large-text',
|
|
310
310
|
'large-text-semibold',
|
|
311
311
|
'medium-text',
|
|
@@ -350,7 +350,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
350
350
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
351
351
|
PERFORMANCE OF THIS SOFTWARE.
|
|
352
352
|
***************************************************************************** */
|
|
353
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
353
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
354
354
|
|
|
355
355
|
|
|
356
356
|
var __assign = function() {
|
|
@@ -1576,24 +1576,19 @@ var ContextualButton = React.forwardRef(function (_a, ref) {
|
|
|
1576
1576
|
});
|
|
1577
1577
|
|
|
1578
1578
|
var config$2 = {
|
|
1579
|
-
'dark-background': 'bg-white hover:bg-bia-grey-light-90 outline-none focus
|
|
1580
|
-
'light-background': 'bg-bia-grey-light-90 hover:bg-bia-grey-light-80 outline-none focus
|
|
1581
|
-
'outline-light-background': 'bg-white border border-bia-grey-light-40 hover:bg-bia-grey-light-90 outline-none focus
|
|
1579
|
+
'dark-background': 'bg-white enabled:hover:bg-bia-grey-light-90 outline-none focus-visible:outline-2 focus-visible:outline-bia-blue-light-50 enabled:active:bg-bia-grey-light-80',
|
|
1580
|
+
'light-background': 'bg-bia-grey-light-90 enabled:hover:bg-bia-grey-light-80 outline-none focus-visible:outline-2 focus-visible:outline-bia-blue-light-50 enabled:active:bg-bia-grey-light-70',
|
|
1581
|
+
'outline-light-background': 'bg-white border border-bia-grey-light-40 enabled:hover:bg-bia-grey-light-90 outline-none focus-visible:outline-2 focus-visible:outline-bia-blue-light-50 enabled:active:bg-bia-grey-light-80',
|
|
1582
1582
|
};
|
|
1583
1583
|
|
|
1584
1584
|
var Card = function (_a) {
|
|
1585
|
-
var children = _a.children,
|
|
1586
|
-
var
|
|
1587
|
-
var
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
};
|
|
1593
|
-
var cardClassName = disabled
|
|
1594
|
-
? "".concat(removeStateClasses(base), " cursor-not-allowed")
|
|
1595
|
-
: base;
|
|
1596
|
-
return (React.createElement("button", { disabled: disabled, "aria-disabled": disabled, className: "rounded-radius-md p-5 ".concat(cardClassName), tabIndex: disabled ? -1 : 0 }, children));
|
|
1585
|
+
var children = _a.children, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.variant, variant = _c === void 0 ? 'dark-background' : _c, _d = _a.className, className = _d === void 0 ? '' : _d, _e = _a.type, type = _e === void 0 ? 'button' : _e, rest = __rest(_a, ["children", "disabled", "variant", "className", "type"]);
|
|
1586
|
+
var baseStyles = config$2[variant];
|
|
1587
|
+
var stateStyles = disabled
|
|
1588
|
+
? 'opacity-50 cursor-not-allowed pointer-events-none'
|
|
1589
|
+
: '';
|
|
1590
|
+
var combinedClassName = "rounded-radius-md p-5 ".concat(baseStyles, " ").concat(stateStyles, " ").concat(className).trim();
|
|
1591
|
+
return (React.createElement("button", __assign({ type: type, disabled: disabled, "aria-disabled": disabled, className: combinedClassName }, rest), children));
|
|
1597
1592
|
};
|
|
1598
1593
|
|
|
1599
1594
|
function Color() {
|
|
@@ -4543,56 +4538,77 @@ var radiusConfig = {
|
|
|
4543
4538
|
var variantConfig = {
|
|
4544
4539
|
default: 'pb-[7.5px] pt-[8.5px] ps-[15px] pe-[10px] gap-[10px]',
|
|
4545
4540
|
alternative: 'pt-[4.8px] pb-[4.0px] px-[20px] relative',
|
|
4541
|
+
'alternative-more': 'pt-[4.8px] pb-[4.0px] px-[10px] relative',
|
|
4546
4542
|
};
|
|
4547
4543
|
var defaultConfigs = {
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
};
|
|
4551
|
-
var defaultButtonConfigs = {
|
|
4552
|
-
true: 'text-primary-black',
|
|
4553
|
-
false: 'text-primary-black',
|
|
4544
|
+
active: 'cursor-default bg-bia-grey-light-80 hover:bg-bia-coolgrey-light-90 text-primary-black',
|
|
4545
|
+
inactive: 'cursor-pointer bg-bia-grey hover:bg-bia-grey-light-50 text-bia-coolgrey-dark-10',
|
|
4554
4546
|
};
|
|
4555
4547
|
var alternativeConfigs = {
|
|
4556
|
-
|
|
4557
|
-
|
|
4548
|
+
active: 'cursor-default bg-primary-white text-primary-black overflow-hidden',
|
|
4549
|
+
inactive: 'cursor-pointer bg-bia-verdantgreen-dark-40 hover:bg-bia-verdantgreen-dark-50 text-primary-white overflow-hidden',
|
|
4550
|
+
};
|
|
4551
|
+
var defaultButtonConfigs = {
|
|
4552
|
+
active: 'text-primary-black',
|
|
4553
|
+
inactive: 'text-primary-black',
|
|
4558
4554
|
};
|
|
4559
4555
|
var alternativeButtonConfigs = {
|
|
4560
|
-
|
|
4561
|
-
|
|
4556
|
+
active: 'absolute px-[5px] opacity-0 group-hover/container:opacity-100 grid-cols-2 gap-[2px] bg-gradient-to-l from-primary-white from-50% to-primary-white/[.0] inset-y-0 right-0 transition-opacity duration-150',
|
|
4557
|
+
inactive: 'absolute px-[5px] opacity-0 group-hover/container:opacity-100 grid-cols-2 gap-[2px] bg-gradient-to-l from-bia-verdantgreen-dark-50 from-50% to-bia-verdantgreen-dark-50/[.0] inset-y-0 right-0 transition-opacity duration-150',
|
|
4562
4558
|
};
|
|
4563
4559
|
var actionButtonConfig = {
|
|
4564
|
-
|
|
4565
|
-
|
|
4560
|
+
active: 'text-[#979797] group-hover:bg-primary-black/10 group-hover:text-primary-black group-active:bg-primary-black/20 group-active:text-primary-black',
|
|
4561
|
+
inactive: 'text-[#95b491] group-hover:bg-primary-black/40 group-hover:text-primary-white group-active:bg-primary-black/60 group-hover:text-primary-white',
|
|
4566
4562
|
};
|
|
4567
4563
|
|
|
4568
|
-
var TabMenu = function (
|
|
4569
|
-
var variant =
|
|
4570
|
-
|
|
4564
|
+
var TabMenu = React.forwardRef(function (props, ref) {
|
|
4565
|
+
var variant = props.variant, rounded = props.rounded, _a = props.text, text = _a === void 0 ? '' : _a, _b = props.isActive, isActive = _b === void 0 ? false : _b, _c = props.moreCount, moreCount = _c === void 0 ? 1 : _c, onClose = props.onClose, onClick = props.onClick, _d = props.className, className = _d === void 0 ? '' : _d, rest = __rest(props, ["variant", "rounded", "text", "isActive", "moreCount", "onClose", "onClick", "className"]);
|
|
4566
|
+
var _e = React.useState(false), isMoreExpand = _e[0], setIsMoreExpand = _e[1];
|
|
4571
4567
|
var validatedVariant = validUnion(variant, [
|
|
4572
4568
|
'default',
|
|
4573
4569
|
'alternative',
|
|
4570
|
+
'alternative-more',
|
|
4574
4571
|
]);
|
|
4575
|
-
var validatedRadius = validUnion(rounded, [
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
};
|
|
4572
|
+
var validatedRadius = validUnion(rounded, [
|
|
4573
|
+
'none',
|
|
4574
|
+
'all',
|
|
4575
|
+
'top',
|
|
4576
|
+
'right',
|
|
4577
|
+
'left',
|
|
4578
|
+
]);
|
|
4579
|
+
var isAlternative = validatedVariant.startsWith('alternative');
|
|
4580
|
+
var isMoreDropdown = validatedVariant === 'alternative-more';
|
|
4581
|
+
var stateKey = isActive ? 'active' : 'inactive';
|
|
4582
|
+
var baseStyles = isAlternative ? alternativeConfigs[stateKey] : defaultConfigs[stateKey];
|
|
4583
|
+
var actionButtonStyles = isAlternative ? actionButtonConfig[stateKey] : '';
|
|
4584
|
+
var itemButtonStyles = validatedVariant === 'alternative'
|
|
4585
|
+
? alternativeButtonConfigs[stateKey]
|
|
4586
|
+
: defaultButtonConfigs[stateKey];
|
|
4587
|
+
var handleWrapperClick = function (e) {
|
|
4588
|
+
if (isMoreDropdown) {
|
|
4589
|
+
setIsMoreExpand(function (prev) { return !prev; });
|
|
4590
|
+
}
|
|
4591
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
4592
|
+
};
|
|
4593
|
+
var handleKeyDown = function (e) {
|
|
4594
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
4595
|
+
e.preventDefault();
|
|
4596
|
+
if (isMoreDropdown) {
|
|
4597
|
+
setIsMoreExpand(function (prev) { return !prev; });
|
|
4598
|
+
}
|
|
4599
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
4600
|
+
}
|
|
4601
|
+
};
|
|
4602
|
+
var handleCloseClick = function (e) {
|
|
4603
|
+
e.stopPropagation();
|
|
4604
|
+
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
4605
|
+
};
|
|
4606
|
+
return (React.createElement("div", __assign({ ref: ref, role: "tab", tabIndex: 0, "aria-selected": isActive, "aria-expanded": isMoreDropdown ? isMoreExpand : undefined, className: "tab-menu group/container flex flex-row items-center font-arial text-size-tiny font-normal select-none transition-all outline-none focus-visible:ring-2 focus-visible:ring-primary-black/30 ".concat(isAlternative && !isMoreDropdown ? 'pe-[36px]' : '', " ").concat(radiusConfig[validatedRadius], " ").concat(variantConfig[validatedVariant], " ").concat(baseStyles, " ").concat(className).trim(), onClick: handleWrapperClick, onKeyDown: handleKeyDown }, rest),
|
|
4607
|
+
React.createElement("span", { className: "truncate flex-grow" }, isMoreDropdown ? "More (".concat(moreCount, ")") : text),
|
|
4608
|
+
React.createElement("div", { className: "grid items-center ".concat(itemButtonStyles) }, isMoreDropdown ? (React.createElement("div", { className: "col-start-2 pl-[2px] flex items-center justify-center h-full" }, isMoreExpand ? (React.createElement(TbChevronUp, { className: "rounded-radius-sm ".concat(isActive ? 'text-primary-black' : 'text-primary-white'), size: 14 })) : (React.createElement(TbChevronDown, { className: "rounded-radius-sm ".concat(isActive ? 'text-primary-black' : 'text-primary-white'), size: 14 })))) : (React.createElement("button", { type: "button", className: "col-start-2 group p-0.5 focus:outline-none flex items-center justify-center", onClick: handleCloseClick, "aria-label": "Close ".concat(text) },
|
|
4609
|
+
React.createElement(TbX, { className: "rounded-radius-sm transition-colors ".concat(actionButtonStyles), size: 14 }))))));
|
|
4610
|
+
});
|
|
4611
|
+
TabMenu.displayName = 'TabMenu';
|
|
4596
4612
|
|
|
4597
4613
|
var sizeConfig$1 = {
|
|
4598
4614
|
md: 'px-2.5 py-[9px]',
|