bianic-ui 2.10.0-alpha.0 → 2.10.0-alpha.2
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 +61 -58
- package/dist/cjs/lib.css +3 -3
- package/dist/cjs/types/components/Alert/config.d.ts +5 -5
- 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 +17 -7
- 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 +1 -2
- 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 +45 -4
- 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 +61 -58
- package/dist/esm/lib.css +3 -3
- package/dist/esm/types/components/Alert/config.d.ts +5 -5
- 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 +17 -7
- 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 +1 -2
- 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 +45 -4
- 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 +16 -8
- 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() {
|
|
@@ -4553,8 +4553,8 @@ var defaultButtonConfigs = {
|
|
|
4553
4553
|
inactive: 'text-primary-black',
|
|
4554
4554
|
};
|
|
4555
4555
|
var alternativeButtonConfigs = {
|
|
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',
|
|
4557
|
-
inactive: 'absolute px-[5px] opacity-0 hover: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',
|
|
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',
|
|
4558
4558
|
};
|
|
4559
4559
|
var actionButtonConfig = {
|
|
4560
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',
|
|
@@ -4562,8 +4562,7 @@ var actionButtonConfig = {
|
|
|
4562
4562
|
};
|
|
4563
4563
|
|
|
4564
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 ?
|
|
4566
|
-
var _e = React.useState(false), isMoreExpand = _e[0], setIsMoreExpand = _e[1];
|
|
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 ? 0 : _c, onClose = props.onClose, onClick = props.onClick, _d = props.className, className = _d === void 0 ? '' : _d, isMoreExpand = props.isMoreExpand, rest = __rest(props, ["variant", "rounded", "text", "isActive", "moreCount", "onClose", "onClick", "className", "isMoreExpand"]);
|
|
4567
4566
|
var validatedVariant = validUnion(variant, [
|
|
4568
4567
|
'default',
|
|
4569
4568
|
'alternative',
|
|
@@ -4579,23 +4578,27 @@ var TabMenu = React.forwardRef(function (props, ref) {
|
|
|
4579
4578
|
var isAlternative = validatedVariant.startsWith('alternative');
|
|
4580
4579
|
var isMoreDropdown = validatedVariant === 'alternative-more';
|
|
4581
4580
|
var stateKey = isActive ? 'active' : 'inactive';
|
|
4582
|
-
var baseStyles = isAlternative
|
|
4583
|
-
? alternativeConfigs[stateKey]
|
|
4584
|
-
: defaultConfigs[stateKey];
|
|
4581
|
+
var baseStyles = isAlternative ? alternativeConfigs[stateKey] : defaultConfigs[stateKey];
|
|
4585
4582
|
var actionButtonStyles = isAlternative ? actionButtonConfig[stateKey] : '';
|
|
4586
4583
|
var itemButtonStyles = validatedVariant === 'alternative'
|
|
4587
4584
|
? alternativeButtonConfigs[stateKey]
|
|
4588
4585
|
: defaultButtonConfigs[stateKey];
|
|
4589
|
-
var
|
|
4590
|
-
|
|
4591
|
-
|
|
4586
|
+
var handleWrapperClick = function (e) { return onClick === null || onClick === void 0 ? void 0 : onClick(e); };
|
|
4587
|
+
var handleKeyDown = function (e) {
|
|
4588
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
4589
|
+
e.preventDefault();
|
|
4590
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
4591
|
+
}
|
|
4592
|
+
};
|
|
4593
|
+
var handleCloseClick = function (e) {
|
|
4594
|
+
e.stopPropagation();
|
|
4595
|
+
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
4592
4596
|
};
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
React.createElement("
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
React.createElement(TbX, { className: "rounded-radius-sm ".concat(actionButtonStyles), size: 14 }))))));
|
|
4597
|
+
var moreCountText = moreCount > 0 ? " (".concat(moreCount, ")") : '';
|
|
4598
|
+
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),
|
|
4599
|
+
React.createElement("span", { className: "truncate flex-grow" }, isMoreDropdown ? "More".concat(moreCountText) : text),
|
|
4600
|
+
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) },
|
|
4601
|
+
React.createElement(TbX, { className: "rounded-radius-sm transition-colors ".concat(actionButtonStyles), size: 14 }))))));
|
|
4599
4602
|
});
|
|
4600
4603
|
TabMenu.displayName = 'TabMenu';
|
|
4601
4604
|
|