@loja-integrada/admin-components 0.19.2 → 1.0.0-beta.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.
- package/LICENSE +1 -1
- package/dist/chunk-7RSXJRXE.js +7 -0
- package/dist/chunk-AYBQ5B4L.js +1 -0
- package/dist/chunk-LTWCICTK.js +1 -0
- package/dist/chunk-QCTWLTAA.js +1 -0
- package/dist/chunk-YV57ZIX5.js +7 -0
- package/dist/chunk-YXT4UVSS.js +6 -0
- package/dist/components/Button/Button.d.ts +52 -0
- package/dist/components/Button/Button.js +3 -0
- package/dist/components/Button/index.d.ts +6 -0
- package/dist/components/Button/index.js +4 -0
- package/dist/components/Icon/Icon.d.ts +127 -0
- package/dist/components/Icon/Icon.js +1 -0
- package/dist/components/Icon/index.d.ts +3 -0
- package/dist/components/Icon/index.js +2 -0
- package/dist/{Icons → components}/IconCircular/IconCircular.d.ts +22 -19
- package/dist/components/IconCircular/IconCircular.js +3 -0
- package/dist/components/IconCircular/index.d.ts +4 -0
- package/dist/components/IconCircular/index.js +4 -0
- package/dist/index.d.ts +7 -6
- package/dist/index.js +6 -8
- package/package.json +60 -140
- package/README.md +0 -82
- package/dist/Components/Button/Button.d.ts +0 -42
- package/dist/Components/Button/Button.spec.d.ts +0 -1
- package/dist/Components/Button/Button.stories.d.ts +0 -11
- package/dist/Components/Button/index.d.ts +0 -1
- package/dist/Components/HelpLink/HelpLink.spec.d.ts +0 -1
- package/dist/Components/HelpLink/HelpLink.stories.d.ts +0 -6
- package/dist/Components/HelpLink/index.d.ts +0 -28
- package/dist/Components/LoadingPlaceholder/LoadingPlaceholder.d.ts +0 -5
- package/dist/Components/LoadingPlaceholder/LoadingPlaceholder.stories.d.ts +0 -4
- package/dist/Components/LoadingPlaceholder/index.d.ts +0 -1
- package/dist/Components/Modal/Modal.d.ts +0 -48
- package/dist/Components/Modal/Modal.spec.d.ts +0 -1
- package/dist/Components/Modal/Modal.stories.d.ts +0 -7
- package/dist/Components/Modal/index.d.ts +0 -1
- package/dist/Components/SidebarFixed/SidebarFixed.d.ts +0 -30
- package/dist/Components/SidebarFixed/SidebarFixed.spec.d.ts +0 -1
- package/dist/Components/SidebarFixed/SidebarFixed.stories.d.ts +0 -4
- package/dist/Components/SidebarFixed/index.d.ts +0 -1
- package/dist/Components/Table/Table.d.ts +0 -81
- package/dist/Components/Table/Table.stories.d.ts +0 -8
- package/dist/Components/Table/index.d.ts +0 -1
- package/dist/Components/TableList/TableList.d.ts +0 -38
- package/dist/Components/TableList/TableList.spec.d.ts +0 -1
- package/dist/Components/TableList/TableList.stories.d.ts +0 -7
- package/dist/Components/TableList/TableListItem.d.ts +0 -3
- package/dist/Components/TableList/TableListItem.interface.d.ts +0 -68
- package/dist/Components/TableList/TableListItem.spec.d.ts +0 -1
- package/dist/Components/TableList/TableListItem.stories.d.ts +0 -4
- package/dist/Components/TableList/TableListItemLoading.d.ts +0 -3
- package/dist/Components/TableList/TableListItemLoading.spec.d.ts +0 -1
- package/dist/Components/TableList/TableListItemLoading.stories.d.ts +0 -4
- package/dist/Components/TableList/TableListItemWrapper.d.ts +0 -12
- package/dist/Components/TableList/TableListItemWrapper.spec.d.ts +0 -1
- package/dist/Components/TableList/TableListItemWrapper.stories.d.ts +0 -4
- package/dist/Components/TableList/index.d.ts +0 -4
- package/dist/Components/Tabs/Tabs.d.ts +0 -21
- package/dist/Components/Tabs/Tabs.spec.d.ts +0 -1
- package/dist/Components/Tabs/Tabs.stories.d.ts +0 -5
- package/dist/Components/Tabs/TabsItem.d.ts +0 -14
- package/dist/Components/Tabs/TabsItem.interface.d.ts +0 -19
- package/dist/Components/Tabs/index.d.ts +0 -1
- package/dist/Components/Timeline/Timeline.d.ts +0 -25
- package/dist/Components/Timeline/Timeline.spec.d.ts +0 -1
- package/dist/Components/Timeline/Timeline.stories.d.ts +0 -7
- package/dist/Components/Timeline/TimelineItem.d.ts +0 -6
- package/dist/Components/Timeline/TimelineItem.interface.d.ts +0 -32
- package/dist/Components/Timeline/index.d.ts +0 -1
- package/dist/Components/index.d.ts +0 -8
- package/dist/Forms/Checkbox/Checkbox.d.ts +0 -27
- package/dist/Forms/Checkbox/Checkbox.spec.d.ts +0 -1
- package/dist/Forms/Checkbox/Checkbox.stories.d.ts +0 -10
- package/dist/Forms/Checkbox/index.d.ts +0 -1
- package/dist/Forms/Dropdown/Dropdown.d.ts +0 -168
- package/dist/Forms/Dropdown/Dropdown.spec.d.ts +0 -1
- package/dist/Forms/Dropdown/Dropdown.stories.d.ts +0 -19
- package/dist/Forms/Dropdown/index.d.ts +0 -1
- package/dist/Forms/FloatingLabelInput/FloatingLabelInput.d.ts +0 -11
- package/dist/Forms/FloatingLabelInput/FloatingLabelInput.spec.d.ts +0 -1
- package/dist/Forms/FloatingLabelInput/FloatingLabelInput.stories.d.ts +0 -10
- package/dist/Forms/FloatingLabelInput/index.d.ts +0 -1
- package/dist/Forms/FloatingLabelInputCurrency/FloatingLabelInputCurrency.d.ts +0 -49
- package/dist/Forms/FloatingLabelInputCurrency/FloatingLabelInputCurrency.spec.d.ts +0 -1
- package/dist/Forms/FloatingLabelInputCurrency/FloatingLabelInputCurrency.stories.d.ts +0 -10
- package/dist/Forms/FloatingLabelInputCurrency/index.d.ts +0 -1
- package/dist/Forms/FloatingLabelInputMask/FloatingLabelInputMask.d.ts +0 -18
- package/dist/Forms/FloatingLabelInputMask/FloatingLabelInputMask.spec.d.ts +0 -1
- package/dist/Forms/FloatingLabelInputMask/FloatingLabelInputMask.stories.d.ts +0 -19
- package/dist/Forms/FloatingLabelInputMask/index.d.ts +0 -1
- package/dist/Forms/Input/Input.d.ts +0 -36
- package/dist/Forms/Input/Input.spec.d.ts +0 -1
- package/dist/Forms/Input/Input.stories.d.ts +0 -21
- package/dist/Forms/Input/index.d.ts +0 -1
- package/dist/Forms/InputCurrency/InputCurrency.d.ts +0 -47
- package/dist/Forms/InputCurrency/InputCurrency.spec.d.ts +0 -1
- package/dist/Forms/InputCurrency/InputCurrency.stories.d.ts +0 -8
- package/dist/Forms/InputCurrency/index.d.ts +0 -1
- package/dist/Forms/InputCurrency/utils.d.ts +0 -22
- package/dist/Forms/InputHelpText/InputHelpText.d.ts +0 -16
- package/dist/Forms/InputHelpText/InputHelpText.spec.d.ts +0 -1
- package/dist/Forms/InputHelpText/InputHelpText.stories.d.ts +0 -4
- package/dist/Forms/InputHelpText/index.d.ts +0 -1
- package/dist/Forms/InputLabel/InputLabel.d.ts +0 -28
- package/dist/Forms/InputLabel/InputLabel.spec.d.ts +0 -1
- package/dist/Forms/InputLabel/InputLabel.stories.d.ts +0 -5
- package/dist/Forms/InputLabel/index.d.ts +0 -1
- package/dist/Forms/InputMask/InputMask.d.ts +0 -18
- package/dist/Forms/InputMask/InputMask.spec.d.ts +0 -1
- package/dist/Forms/InputMask/InputMask.stories.d.ts +0 -17
- package/dist/Forms/InputMask/index.d.ts +0 -1
- package/dist/Forms/InputMask/maskDate.d.ts +0 -7
- package/dist/Forms/InputMask/utils.d.ts +0 -65
- package/dist/Forms/RadioButton/RadioButton.d.ts +0 -24
- package/dist/Forms/RadioButton/RadioButton.spec.d.ts +0 -1
- package/dist/Forms/RadioButton/RadioButton.stories.d.ts +0 -6
- package/dist/Forms/RadioButton/index.d.ts +0 -1
- package/dist/Forms/Select/Select.d.ts +0 -31
- package/dist/Forms/Select/Select.spec.d.ts +0 -1
- package/dist/Forms/Select/Select.stories.d.ts +0 -8
- package/dist/Forms/Select/index.d.ts +0 -1
- package/dist/Forms/Toggle/Toggle.d.ts +0 -5
- package/dist/Forms/Toggle/Toggle.spec.d.ts +0 -1
- package/dist/Forms/Toggle/Toggle.stories.d.ts +0 -8
- package/dist/Forms/Toggle/index.d.ts +0 -1
- package/dist/Forms/ToggleButton/ToggleButton.d.ts +0 -24
- package/dist/Forms/ToggleButton/ToggleButton.spec.d.ts +0 -1
- package/dist/Forms/ToggleButton/ToggleButton.stories.d.ts +0 -7
- package/dist/Forms/ToggleButton/index.d.ts +0 -1
- package/dist/Forms/commonStyles.d.ts +0 -16
- package/dist/Forms/index.d.ts +0 -14
- package/dist/Icons/Icon/Icon.d.ts +0 -34
- package/dist/Icons/Icon/Icon.spec.d.ts +0 -1
- package/dist/Icons/Icon/Icon.stories.d.ts +0 -9
- package/dist/Icons/Icon/index.d.ts +0 -1
- package/dist/Icons/IconCircular/IconCircular.spec.d.ts +0 -1
- package/dist/Icons/IconCircular/IconCircular.stories.d.ts +0 -6
- package/dist/Icons/IconCircular/index.d.ts +0 -1
- package/dist/Icons/IconList.d.ts +0 -3
- package/dist/Icons/icons-path/Adjust.d.ts +0 -2
- package/dist/Icons/icons-path/AngleDiagonal.d.ts +0 -2
- package/dist/Icons/icons-path/AngleDown.d.ts +0 -2
- package/dist/Icons/icons-path/AngleHeight.d.ts +0 -2
- package/dist/Icons/icons-path/AngleLeft.d.ts +0 -2
- package/dist/Icons/icons-path/AngleRight.d.ts +0 -2
- package/dist/Icons/icons-path/AngleWidth.d.ts +0 -2
- package/dist/Icons/icons-path/App.d.ts +0 -2
- package/dist/Icons/icons-path/Arrow.d.ts +0 -2
- package/dist/Icons/icons-path/ArrowLeft.d.ts +0 -2
- package/dist/Icons/icons-path/ArrowRight.d.ts +0 -2
- package/dist/Icons/icons-path/Back.d.ts +0 -2
- package/dist/Icons/icons-path/Ban.d.ts +0 -2
- package/dist/Icons/icons-path/BarcodeRead.d.ts +0 -2
- package/dist/Icons/icons-path/Bell.d.ts +0 -2
- package/dist/Icons/icons-path/Blog.d.ts +0 -2
- package/dist/Icons/icons-path/Bullhorn.d.ts +0 -2
- package/dist/Icons/icons-path/Calculator.d.ts +0 -2
- package/dist/Icons/icons-path/CalendarAlt.d.ts +0 -2
- package/dist/Icons/icons-path/Camera.d.ts +0 -2
- package/dist/Icons/icons-path/Check.d.ts +0 -2
- package/dist/Icons/icons-path/CheckCircle.d.ts +0 -2
- package/dist/Icons/icons-path/Clock.d.ts +0 -2
- package/dist/Icons/icons-path/Clockwise.d.ts +0 -2
- package/dist/Icons/icons-path/Close.d.ts +0 -2
- package/dist/Icons/icons-path/Cog.d.ts +0 -2
- package/dist/Icons/icons-path/Copy.d.ts +0 -2
- package/dist/Icons/icons-path/CreditCard.d.ts +0 -2
- package/dist/Icons/icons-path/DashedCircle.d.ts +0 -2
- package/dist/Icons/icons-path/DefaultCursor.d.ts +0 -2
- package/dist/Icons/icons-path/Desktop.d.ts +0 -2
- package/dist/Icons/icons-path/Discount.d.ts +0 -2
- package/dist/Icons/icons-path/DotsThree.d.ts +0 -2
- package/dist/Icons/icons-path/Download.d.ts +0 -2
- package/dist/Icons/icons-path/Edit.d.ts +0 -2
- package/dist/Icons/icons-path/Envelope.d.ts +0 -2
- package/dist/Icons/icons-path/Exchange.d.ts +0 -2
- package/dist/Icons/icons-path/ExchangeY.d.ts +0 -2
- package/dist/Icons/icons-path/Exclamation.d.ts +0 -2
- package/dist/Icons/icons-path/ExclamationCircle.d.ts +0 -2
- package/dist/Icons/icons-path/ExclamationTriangle.d.ts +0 -2
- package/dist/Icons/icons-path/ExternalLink.d.ts +0 -2
- package/dist/Icons/icons-path/Eye.d.ts +0 -2
- package/dist/Icons/icons-path/EyeSlash.d.ts +0 -2
- package/dist/Icons/icons-path/Filter.d.ts +0 -2
- package/dist/Icons/icons-path/HalfBack.d.ts +0 -2
- package/dist/Icons/icons-path/Hashtag.d.ts +0 -2
- package/dist/Icons/icons-path/Home.d.ts +0 -2
- package/dist/Icons/icons-path/IconSolidEnviali.d.ts +0 -2
- package/dist/Icons/icons-path/IconSolidLI.d.ts +0 -2
- package/dist/Icons/icons-path/IdentificationBadge.d.ts +0 -2
- package/dist/Icons/icons-path/Image.d.ts +0 -2
- package/dist/Icons/icons-path/InfoCircle.d.ts +0 -2
- package/dist/Icons/icons-path/Lightbulb.d.ts +0 -2
- package/dist/Icons/icons-path/Link.d.ts +0 -2
- package/dist/Icons/icons-path/ListItems.d.ts +0 -2
- package/dist/Icons/icons-path/Loading.d.ts +0 -2
- package/dist/Icons/icons-path/Minus.d.ts +0 -2
- package/dist/Icons/icons-path/MinusCircle.d.ts +0 -2
- package/dist/Icons/icons-path/MinusCircleSolid.d.ts +0 -2
- package/dist/Icons/icons-path/Mobile.d.ts +0 -2
- package/dist/Icons/icons-path/MoneyBill.d.ts +0 -2
- package/dist/Icons/icons-path/Move.d.ts +0 -2
- package/dist/Icons/icons-path/Nav.d.ts +0 -2
- package/dist/Icons/icons-path/Order.d.ts +0 -2
- package/dist/Icons/icons-path/Pagali.d.ts +0 -2
- package/dist/Icons/icons-path/PaperList.d.ts +0 -2
- package/dist/Icons/icons-path/PieChart.d.ts +0 -2
- package/dist/Icons/icons-path/Pix.d.ts +0 -2
- package/dist/Icons/icons-path/Plus.d.ts +0 -2
- package/dist/Icons/icons-path/PlusCircle.d.ts +0 -2
- package/dist/Icons/icons-path/Print.d.ts +0 -2
- package/dist/Icons/icons-path/Product.d.ts +0 -2
- package/dist/Icons/icons-path/QuestionCircle.d.ts +0 -2
- package/dist/Icons/icons-path/Reload.d.ts +0 -2
- package/dist/Icons/icons-path/Rocket.d.ts +0 -2
- package/dist/Icons/icons-path/Search.d.ts +0 -2
- package/dist/Icons/icons-path/ShoppingCart.d.ts +0 -2
- package/dist/Icons/icons-path/SortDown.d.ts +0 -2
- package/dist/Icons/icons-path/Store.d.ts +0 -2
- package/dist/Icons/icons-path/Sync.d.ts +0 -2
- package/dist/Icons/icons-path/ThinAngleRight.d.ts +0 -2
- package/dist/Icons/icons-path/TimesCircle.d.ts +0 -2
- package/dist/Icons/icons-path/Trash.d.ts +0 -2
- package/dist/Icons/icons-path/Trophy.d.ts +0 -2
- package/dist/Icons/icons-path/Truck.d.ts +0 -2
- package/dist/Icons/icons-path/Tv.d.ts +0 -2
- package/dist/Icons/icons-path/Upload.d.ts +0 -2
- package/dist/Icons/icons-path/UsdCircle.d.ts +0 -2
- package/dist/Icons/icons-path/User.d.ts +0 -2
- package/dist/Icons/icons-path/WhatsApp.d.ts +0 -2
- package/dist/Icons/icons-path/index.d.ts +0 -96
- package/dist/Icons/index.d.ts +0 -2
- package/dist/Indicators/Alert/Alert.d.ts +0 -48
- package/dist/Indicators/Alert/Alert.spec.d.ts +0 -1
- package/dist/Indicators/Alert/Alert.stories.d.ts +0 -5
- package/dist/Indicators/Alert/index.d.ts +0 -1
- package/dist/Indicators/Badge/Badge.d.ts +0 -44
- package/dist/Indicators/Badge/Badge.spec.d.ts +0 -1
- package/dist/Indicators/Badge/Badge.stories.d.ts +0 -6
- package/dist/Indicators/Badge/index.d.ts +0 -1
- package/dist/Indicators/InformationBox/InformationBox.d.ts +0 -25
- package/dist/Indicators/InformationBox/InformationBox.spec.d.ts +0 -1
- package/dist/Indicators/InformationBox/InformationBoxt.stories.d.ts +0 -4
- package/dist/Indicators/InformationBox/index.d.ts +0 -1
- package/dist/Indicators/Status/Status.d.ts +0 -25
- package/dist/Indicators/Status/Status.spec.d.ts +0 -1
- package/dist/Indicators/Status/Status.stories.d.ts +0 -4
- package/dist/Indicators/Status/index.d.ts +0 -1
- package/dist/Indicators/Tag/Tag.d.ts +0 -32
- package/dist/Indicators/Tag/Tag.spec.d.ts +0 -1
- package/dist/Indicators/Tag/Tag.stories.d.ts +0 -5
- package/dist/Indicators/Tag/index.d.ts +0 -1
- package/dist/Indicators/Toast/Toast.d.ts +0 -6
- package/dist/Indicators/Toast/Toast.spec.d.ts +0 -1
- package/dist/Indicators/Toast/Toast.stories.d.ts +0 -3
- package/dist/Indicators/Toast/index.d.ts +0 -1
- package/dist/Indicators/Tooltip/Tooltip.d.ts +0 -39
- package/dist/Indicators/Tooltip/Tooltip.spec.d.ts +0 -1
- package/dist/Indicators/Tooltip/Tooltip.stories.d.ts +0 -4
- package/dist/Indicators/Tooltip/index.d.ts +0 -1
- package/dist/Indicators/index.d.ts +0 -7
- package/dist/Layout/ActionBar/ActionBar.d.ts +0 -12
- package/dist/Layout/ActionBar/ActionBar.spec.d.ts +0 -1
- package/dist/Layout/ActionBar/ActionBar.stories.d.ts +0 -5
- package/dist/Layout/ActionBar/index.d.ts +0 -1
- package/dist/Layout/Box/Box.d.ts +0 -33
- package/dist/Layout/Box/Box.spec.d.ts +0 -1
- package/dist/Layout/Box/Box.stories.d.ts +0 -21
- package/dist/Layout/Box/Components/Content/BoxContent.d.ts +0 -9
- package/dist/Layout/Box/Components/Content/BoxContent.spec.d.ts +0 -1
- package/dist/Layout/Box/Components/Content/BoxContent.stories.d.ts +0 -4
- package/dist/Layout/Box/Components/Header/BoxHeader.d.ts +0 -22
- package/dist/Layout/Box/Components/Header/BoxHeader.spec.d.ts +0 -1
- package/dist/Layout/Box/Components/Header/BoxHeader.stories.d.ts +0 -7
- package/dist/Layout/Box/Components/Separator/BoxSeparator.d.ts +0 -2
- package/dist/Layout/Box/Components/Separator/BoxSeparator.spec.d.ts +0 -1
- package/dist/Layout/Box/Components/Separator/BoxSeparator.stories.d.ts +0 -4
- package/dist/Layout/Box/Components/utils.d.ts +0 -32
- package/dist/Layout/Box/index.d.ts +0 -1
- package/dist/Layout/Container/Container.d.ts +0 -16
- package/dist/Layout/Container/Container.spec.d.ts +0 -1
- package/dist/Layout/Container/Container.stories.d.ts +0 -5
- package/dist/Layout/Container/index.d.ts +0 -1
- package/dist/Layout/ListActions/ListActions.d.ts +0 -42
- package/dist/Layout/ListActions/ListActions.spec.d.ts +0 -1
- package/dist/Layout/ListActions/ListActions.stories.d.ts +0 -4
- package/dist/Layout/ListActions/index.d.ts +0 -1
- package/dist/Layout/Sidebar/Item.d.ts +0 -34
- package/dist/Layout/Sidebar/ItemSub.d.ts +0 -16
- package/dist/Layout/Sidebar/Sidebar.d.ts +0 -17
- package/dist/Layout/Sidebar/Sidebar.stories.d.ts +0 -4
- package/dist/Layout/Sidebar/index.d.ts +0 -3
- package/dist/Layout/Topbar/Topbar.d.ts +0 -21
- package/dist/Layout/Topbar/Topbar.stories.d.ts +0 -4
- package/dist/Layout/Topbar/index.d.ts +0 -1
- package/dist/Layout/constants.d.ts +0 -4
- package/dist/Layout/index.d.ts +0 -6
- package/dist/Navigation/Breadcrumb/Breadcrumb.spec.d.ts +0 -1
- package/dist/Navigation/Breadcrumb/Breadcrumb.stories.d.ts +0 -11
- package/dist/Navigation/Breadcrumb/index.d.ts +0 -45
- package/dist/Navigation/Pagination/Pagination.spec.d.ts +0 -1
- package/dist/Navigation/Pagination/Pagination.stories.d.ts +0 -6
- package/dist/Navigation/Pagination/PaginationInfo.d.ts +0 -24
- package/dist/Navigation/Pagination/PaginationNav.d.ts +0 -16
- package/dist/Navigation/Pagination/index.d.ts +0 -10
- package/dist/Navigation/Stepper/Stepper.spec.d.ts +0 -1
- package/dist/Navigation/Stepper/Stepper.stories.d.ts +0 -8
- package/dist/Navigation/Stepper/index.d.ts +0 -29
- package/dist/Navigation/index.d.ts +0 -2
- package/dist/admin-components.cjs.development.js +0 -49805
- package/dist/admin-components.cjs.development.js.map +0 -1
- package/dist/admin-components.cjs.production.min.js +0 -2
- package/dist/admin-components.cjs.production.min.js.map +0 -1
- package/dist/admin-components.esm.js +0 -49743
- package/dist/admin-components.esm.js.map +0 -1
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/testConstants.d.ts +0 -3
- package/src/Components/Button/Button.spec.tsx +0 -75
- package/src/Components/Button/Button.stories.tsx +0 -63
- package/src/Components/Button/Button.tsx +0 -194
- package/src/Components/Button/index.tsx +0 -1
- package/src/Components/HelpLink/HelpLink.spec.tsx +0 -33
- package/src/Components/HelpLink/HelpLink.stories.tsx +0 -39
- package/src/Components/HelpLink/index.tsx +0 -80
- package/src/Components/LoadingPlaceholder/LoadingPlaceholder.stories.tsx +0 -14
- package/src/Components/LoadingPlaceholder/LoadingPlaceholder.tsx +0 -17
- package/src/Components/LoadingPlaceholder/index.tsx +0 -1
- package/src/Components/Modal/Modal.spec.tsx +0 -15
- package/src/Components/Modal/Modal.stories.tsx +0 -129
- package/src/Components/Modal/Modal.tsx +0 -141
- package/src/Components/Modal/index.tsx +0 -1
- package/src/Components/SidebarFixed/SidebarFixed.spec.tsx +0 -36
- package/src/Components/SidebarFixed/SidebarFixed.stories.tsx +0 -39
- package/src/Components/SidebarFixed/SidebarFixed.tsx +0 -119
- package/src/Components/SidebarFixed/index.tsx +0 -1
- package/src/Components/Table/Table.stories.tsx +0 -188
- package/src/Components/Table/Table.tsx +0 -346
- package/src/Components/Table/index.tsx +0 -1
- package/src/Components/TableList/TableList.spec.tsx +0 -86
- package/src/Components/TableList/TableList.stories.tsx +0 -168
- package/src/Components/TableList/TableList.tsx +0 -169
- package/src/Components/TableList/TableListItem.interface.ts +0 -69
- package/src/Components/TableList/TableListItem.spec.tsx +0 -75
- package/src/Components/TableList/TableListItem.stories.tsx +0 -44
- package/src/Components/TableList/TableListItem.tsx +0 -79
- package/src/Components/TableList/TableListItemLoading.spec.tsx +0 -19
- package/src/Components/TableList/TableListItemLoading.stories.tsx +0 -22
- package/src/Components/TableList/TableListItemLoading.tsx +0 -40
- package/src/Components/TableList/TableListItemWrapper.spec.tsx +0 -33
- package/src/Components/TableList/TableListItemWrapper.stories.tsx +0 -38
- package/src/Components/TableList/TableListItemWrapper.tsx +0 -40
- package/src/Components/TableList/index.tsx +0 -4
- package/src/Components/Tabs/Tabs.spec.tsx +0 -38
- package/src/Components/Tabs/Tabs.stories.tsx +0 -62
- package/src/Components/Tabs/Tabs.tsx +0 -66
- package/src/Components/Tabs/TabsItem.interface.ts +0 -19
- package/src/Components/Tabs/TabsItem.tsx +0 -50
- package/src/Components/Tabs/index.tsx +0 -1
- package/src/Components/Timeline/Timeline.spec.tsx +0 -66
- package/src/Components/Timeline/Timeline.stories.tsx +0 -58
- package/src/Components/Timeline/Timeline.tsx +0 -75
- package/src/Components/Timeline/TimelineItem.interface.ts +0 -32
- package/src/Components/Timeline/TimelineItem.tsx +0 -65
- package/src/Components/Timeline/index.tsx +0 -1
- package/src/Components/index.ts +0 -8
- package/src/Forms/Checkbox/Checkbox.spec.tsx +0 -26
- package/src/Forms/Checkbox/Checkbox.stories.tsx +0 -65
- package/src/Forms/Checkbox/Checkbox.tsx +0 -166
- package/src/Forms/Checkbox/index.tsx +0 -1
- package/src/Forms/Dropdown/Dropdown.spec.tsx +0 -38
- package/src/Forms/Dropdown/Dropdown.stories.tsx +0 -152
- package/src/Forms/Dropdown/Dropdown.tsx +0 -433
- package/src/Forms/Dropdown/index.ts +0 -1
- package/src/Forms/FloatingLabelInput/FloatingLabelInput.spec.tsx +0 -26
- package/src/Forms/FloatingLabelInput/FloatingLabelInput.stories.tsx +0 -73
- package/src/Forms/FloatingLabelInput/FloatingLabelInput.tsx +0 -93
- package/src/Forms/FloatingLabelInput/index.ts +0 -1
- package/src/Forms/FloatingLabelInputCurrency/FloatingLabelInputCurrency.spec.tsx +0 -16
- package/src/Forms/FloatingLabelInputCurrency/FloatingLabelInputCurrency.stories.tsx +0 -72
- package/src/Forms/FloatingLabelInputCurrency/FloatingLabelInputCurrency.tsx +0 -251
- package/src/Forms/FloatingLabelInputCurrency/index.ts +0 -1
- package/src/Forms/FloatingLabelInputMask/FloatingLabelInputMask.spec.tsx +0 -66
- package/src/Forms/FloatingLabelInputMask/FloatingLabelInputMask.stories.tsx +0 -148
- package/src/Forms/FloatingLabelInputMask/FloatingLabelInputMask.tsx +0 -56
- package/src/Forms/FloatingLabelInputMask/index.ts +0 -1
- package/src/Forms/Input/Input.spec.tsx +0 -80
- package/src/Forms/Input/Input.stories.tsx +0 -170
- package/src/Forms/Input/Input.tsx +0 -158
- package/src/Forms/Input/index.ts +0 -1
- package/src/Forms/InputCurrency/InputCurrency.spec.tsx +0 -32
- package/src/Forms/InputCurrency/InputCurrency.stories.tsx +0 -45
- package/src/Forms/InputCurrency/InputCurrency.tsx +0 -224
- package/src/Forms/InputCurrency/index.ts +0 -1
- package/src/Forms/InputCurrency/utils.ts +0 -36
- package/src/Forms/InputHelpText/InputHelpText.spec.tsx +0 -22
- package/src/Forms/InputHelpText/InputHelpText.stories.tsx +0 -16
- package/src/Forms/InputHelpText/InputHelpText.tsx +0 -31
- package/src/Forms/InputHelpText/index.ts +0 -1
- package/src/Forms/InputLabel/InputLabel.spec.tsx +0 -30
- package/src/Forms/InputLabel/InputLabel.stories.tsx +0 -24
- package/src/Forms/InputLabel/InputLabel.tsx +0 -52
- package/src/Forms/InputLabel/index.ts +0 -1
- package/src/Forms/InputMask/InputMask.spec.tsx +0 -97
- package/src/Forms/InputMask/InputMask.stories.tsx +0 -126
- package/src/Forms/InputMask/InputMask.tsx +0 -51
- package/src/Forms/InputMask/index.ts +0 -1
- package/src/Forms/InputMask/maskDate.ts +0 -81
- package/src/Forms/InputMask/utils.ts +0 -154
- package/src/Forms/RadioButton/RadioButton.spec.tsx +0 -27
- package/src/Forms/RadioButton/RadioButton.stories.tsx +0 -40
- package/src/Forms/RadioButton/RadioButton.tsx +0 -80
- package/src/Forms/RadioButton/index.tsx +0 -1
- package/src/Forms/Select/Select.spec.tsx +0 -41
- package/src/Forms/Select/Select.stories.tsx +0 -58
- package/src/Forms/Select/Select.tsx +0 -148
- package/src/Forms/Select/index.ts +0 -1
- package/src/Forms/Toggle/Toggle.spec.tsx +0 -29
- package/src/Forms/Toggle/Toggle.stories.tsx +0 -43
- package/src/Forms/Toggle/Toggle.tsx +0 -85
- package/src/Forms/Toggle/index.tsx +0 -1
- package/src/Forms/ToggleButton/ToggleButton.spec.tsx +0 -29
- package/src/Forms/ToggleButton/ToggleButton.stories.tsx +0 -51
- package/src/Forms/ToggleButton/ToggleButton.tsx +0 -95
- package/src/Forms/ToggleButton/index.tsx +0 -1
- package/src/Forms/commonStyles.ts +0 -29
- package/src/Forms/index.ts +0 -14
- package/src/Icons/Icon/Icon.spec.tsx +0 -27
- package/src/Icons/Icon/Icon.stories.tsx +0 -12
- package/src/Icons/Icon/Icon.tsx +0 -56
- package/src/Icons/Icon/index.ts +0 -1
- package/src/Icons/IconCircular/IconCircular.spec.tsx +0 -24
- package/src/Icons/IconCircular/IconCircular.stories.tsx +0 -24
- package/src/Icons/IconCircular/IconCircular.tsx +0 -67
- package/src/Icons/IconCircular/index.ts +0 -1
- package/src/Icons/IconList.tsx +0 -27
- package/src/Icons/icons-path/Adjust.tsx +0 -16
- package/src/Icons/icons-path/AngleDiagonal.tsx +0 -20
- package/src/Icons/icons-path/AngleDown.tsx +0 -9
- package/src/Icons/icons-path/AngleHeight.tsx +0 -17
- package/src/Icons/icons-path/AngleLeft.tsx +0 -9
- package/src/Icons/icons-path/AngleRight.tsx +0 -9
- package/src/Icons/icons-path/AngleWidth.tsx +0 -17
- package/src/Icons/icons-path/App.tsx +0 -9
- package/src/Icons/icons-path/Arrow.tsx +0 -11
- package/src/Icons/icons-path/ArrowLeft.tsx +0 -9
- package/src/Icons/icons-path/ArrowRight.tsx +0 -9
- package/src/Icons/icons-path/Back.tsx +0 -5
- package/src/Icons/icons-path/Ban.tsx +0 -9
- package/src/Icons/icons-path/BarcodeRead.tsx +0 -9
- package/src/Icons/icons-path/Bell.tsx +0 -9
- package/src/Icons/icons-path/Blog.tsx +0 -9
- package/src/Icons/icons-path/Bullhorn.tsx +0 -9
- package/src/Icons/icons-path/Calculator.tsx +0 -9
- package/src/Icons/icons-path/CalendarAlt.tsx +0 -9
- package/src/Icons/icons-path/Camera.tsx +0 -9
- package/src/Icons/icons-path/Check.tsx +0 -9
- package/src/Icons/icons-path/CheckCircle.tsx +0 -9
- package/src/Icons/icons-path/Clock.tsx +0 -9
- package/src/Icons/icons-path/Clockwise.tsx +0 -22
- package/src/Icons/icons-path/Close.tsx +0 -9
- package/src/Icons/icons-path/Cog.tsx +0 -9
- package/src/Icons/icons-path/Copy.tsx +0 -9
- package/src/Icons/icons-path/CreditCard.tsx +0 -9
- package/src/Icons/icons-path/DashedCircle.tsx +0 -32
- package/src/Icons/icons-path/DefaultCursor.tsx +0 -14
- package/src/Icons/icons-path/Desktop.tsx +0 -9
- package/src/Icons/icons-path/Discount.tsx +0 -9
- package/src/Icons/icons-path/DotsThree.tsx +0 -9
- package/src/Icons/icons-path/Download.tsx +0 -9
- package/src/Icons/icons-path/Edit.tsx +0 -9
- package/src/Icons/icons-path/Envelope.tsx +0 -9
- package/src/Icons/icons-path/Exchange.tsx +0 -9
- package/src/Icons/icons-path/ExchangeY.tsx +0 -9
- package/src/Icons/icons-path/Exclamation.tsx +0 -17
- package/src/Icons/icons-path/ExclamationCircle.tsx +0 -9
- package/src/Icons/icons-path/ExclamationTriangle.tsx +0 -9
- package/src/Icons/icons-path/ExternalLink.tsx +0 -9
- package/src/Icons/icons-path/Eye.tsx +0 -9
- package/src/Icons/icons-path/EyeSlash.tsx +0 -9
- package/src/Icons/icons-path/Filter.tsx +0 -9
- package/src/Icons/icons-path/HalfBack.tsx +0 -12
- package/src/Icons/icons-path/Hashtag.tsx +0 -13
- package/src/Icons/icons-path/Home.tsx +0 -9
- package/src/Icons/icons-path/IconSolidEnviali.tsx +0 -9
- package/src/Icons/icons-path/IconSolidLI.tsx +0 -12
- package/src/Icons/icons-path/IdentificationBadge.tsx +0 -22
- package/src/Icons/icons-path/Image.tsx +0 -9
- package/src/Icons/icons-path/InfoCircle.tsx +0 -9
- package/src/Icons/icons-path/Lightbulb.tsx +0 -9
- package/src/Icons/icons-path/Link.tsx +0 -9
- package/src/Icons/icons-path/ListItems.tsx +0 -14
- package/src/Icons/icons-path/Loading.tsx +0 -19
- package/src/Icons/icons-path/Minus.tsx +0 -5
- package/src/Icons/icons-path/MinusCircle.tsx +0 -26
- package/src/Icons/icons-path/MinusCircleSolid.tsx +0 -30
- package/src/Icons/icons-path/Mobile.tsx +0 -9
- package/src/Icons/icons-path/MoneyBill.tsx +0 -9
- package/src/Icons/icons-path/Move.tsx +0 -9
- package/src/Icons/icons-path/Nav.tsx +0 -11
- package/src/Icons/icons-path/Order.tsx +0 -9
- package/src/Icons/icons-path/Pagali.tsx +0 -16
- package/src/Icons/icons-path/PaperList.tsx +0 -9
- package/src/Icons/icons-path/PieChart.tsx +0 -9
- package/src/Icons/icons-path/Pix.tsx +0 -8
- package/src/Icons/icons-path/Plus.tsx +0 -9
- package/src/Icons/icons-path/PlusCircle.tsx +0 -9
- package/src/Icons/icons-path/Print.tsx +0 -9
- package/src/Icons/icons-path/Product.tsx +0 -9
- package/src/Icons/icons-path/QuestionCircle.tsx +0 -9
- package/src/Icons/icons-path/Reload.tsx +0 -9
- package/src/Icons/icons-path/Rocket.tsx +0 -22
- package/src/Icons/icons-path/Search.tsx +0 -11
- package/src/Icons/icons-path/ShoppingCart.tsx +0 -11
- package/src/Icons/icons-path/SortDown.tsx +0 -9
- package/src/Icons/icons-path/Store.tsx +0 -9
- package/src/Icons/icons-path/Sync.tsx +0 -9
- package/src/Icons/icons-path/ThinAngleRight.tsx +0 -12
- package/src/Icons/icons-path/TimesCircle.tsx +0 -9
- package/src/Icons/icons-path/Trash.tsx +0 -9
- package/src/Icons/icons-path/Trophy.tsx +0 -22
- package/src/Icons/icons-path/Truck.tsx +0 -9
- package/src/Icons/icons-path/Tv.tsx +0 -9
- package/src/Icons/icons-path/Upload.tsx +0 -11
- package/src/Icons/icons-path/UsdCircle.tsx +0 -9
- package/src/Icons/icons-path/User.tsx +0 -9
- package/src/Icons/icons-path/WhatsApp.tsx +0 -9
- package/src/Icons/icons-path/index.ts +0 -186
- package/src/Icons/index.ts +0 -2
- package/src/Indicators/Alert/Alert.spec.tsx +0 -53
- package/src/Indicators/Alert/Alert.stories.tsx +0 -39
- package/src/Indicators/Alert/Alert.tsx +0 -141
- package/src/Indicators/Alert/index.tsx +0 -1
- package/src/Indicators/Badge/Badge.spec.tsx +0 -73
- package/src/Indicators/Badge/Badge.stories.tsx +0 -40
- package/src/Indicators/Badge/Badge.tsx +0 -80
- package/src/Indicators/Badge/index.tsx +0 -1
- package/src/Indicators/InformationBox/InformationBox.spec.tsx +0 -31
- package/src/Indicators/InformationBox/InformationBox.tsx +0 -93
- package/src/Indicators/InformationBox/InformationBoxt.stories.tsx +0 -29
- package/src/Indicators/InformationBox/index.tsx +0 -1
- package/src/Indicators/Status/Status.spec.tsx +0 -47
- package/src/Indicators/Status/Status.stories.tsx +0 -16
- package/src/Indicators/Status/Status.tsx +0 -65
- package/src/Indicators/Status/index.tsx +0 -1
- package/src/Indicators/Tag/Tag.spec.tsx +0 -39
- package/src/Indicators/Tag/Tag.stories.tsx +0 -33
- package/src/Indicators/Tag/Tag.tsx +0 -55
- package/src/Indicators/Tag/index.tsx +0 -1
- package/src/Indicators/Toast/Toast.spec.tsx +0 -18
- package/src/Indicators/Toast/Toast.stories.tsx +0 -32
- package/src/Indicators/Toast/Toast.tsx +0 -76
- package/src/Indicators/Toast/index.tsx +0 -1
- package/src/Indicators/Tooltip/Tooltip.spec.tsx +0 -18
- package/src/Indicators/Tooltip/Tooltip.stories.tsx +0 -33
- package/src/Indicators/Tooltip/Tooltip.tsx +0 -80
- package/src/Indicators/Tooltip/index.tsx +0 -1
- package/src/Indicators/Tooltip/style.scss +0 -72
- package/src/Indicators/index.ts +0 -7
- package/src/Layout/ActionBar/ActionBar.spec.tsx +0 -20
- package/src/Layout/ActionBar/ActionBar.stories.tsx +0 -42
- package/src/Layout/ActionBar/ActionBar.tsx +0 -89
- package/src/Layout/ActionBar/index.tsx +0 -1
- package/src/Layout/Box/Box.spec.tsx +0 -73
- package/src/Layout/Box/Box.stories.tsx +0 -165
- package/src/Layout/Box/Box.tsx +0 -81
- package/src/Layout/Box/Components/Content/BoxContent.spec.tsx +0 -20
- package/src/Layout/Box/Components/Content/BoxContent.stories.tsx +0 -23
- package/src/Layout/Box/Components/Content/BoxContent.tsx +0 -26
- package/src/Layout/Box/Components/Header/BoxHeader.spec.tsx +0 -22
- package/src/Layout/Box/Components/Header/BoxHeader.stories.tsx +0 -32
- package/src/Layout/Box/Components/Header/BoxHeader.tsx +0 -93
- package/src/Layout/Box/Components/Separator/BoxSeparator.spec.tsx +0 -20
- package/src/Layout/Box/Components/Separator/BoxSeparator.stories.tsx +0 -30
- package/src/Layout/Box/Components/Separator/BoxSeparator.tsx +0 -19
- package/src/Layout/Box/Components/utils.ts +0 -50
- package/src/Layout/Box/index.tsx +0 -1
- package/src/Layout/Container/Container.spec.tsx +0 -22
- package/src/Layout/Container/Container.stories.tsx +0 -51
- package/src/Layout/Container/Container.tsx +0 -42
- package/src/Layout/Container/index.tsx +0 -1
- package/src/Layout/ListActions/ListActions.spec.tsx +0 -23
- package/src/Layout/ListActions/ListActions.stories.tsx +0 -71
- package/src/Layout/ListActions/ListActions.tsx +0 -149
- package/src/Layout/ListActions/index.tsx +0 -1
- package/src/Layout/Sidebar/Item.tsx +0 -106
- package/src/Layout/Sidebar/ItemSub.tsx +0 -42
- package/src/Layout/Sidebar/Sidebar.stories.tsx +0 -25
- package/src/Layout/Sidebar/Sidebar.tsx +0 -51
- package/src/Layout/Sidebar/index.tsx +0 -3
- package/src/Layout/Topbar/Topbar.stories.tsx +0 -18
- package/src/Layout/Topbar/Topbar.tsx +0 -43
- package/src/Layout/Topbar/index.tsx +0 -1
- package/src/Layout/constants.ts +0 -4
- package/src/Layout/index.ts +0 -6
- package/src/Navigation/Breadcrumb/Breadcrumb.spec.tsx +0 -75
- package/src/Navigation/Breadcrumb/Breadcrumb.stories.tsx +0 -79
- package/src/Navigation/Breadcrumb/index.tsx +0 -153
- package/src/Navigation/Pagination/Pagination.spec.tsx +0 -45
- package/src/Navigation/Pagination/Pagination.stories.tsx +0 -39
- package/src/Navigation/Pagination/PaginationInfo.tsx +0 -70
- package/src/Navigation/Pagination/PaginationNav.tsx +0 -122
- package/src/Navigation/Pagination/index.tsx +0 -44
- package/src/Navigation/Stepper/Stepper.spec.tsx +0 -68
- package/src/Navigation/Stepper/Stepper.stories.tsx +0 -68
- package/src/Navigation/Stepper/index.tsx +0 -97
- package/src/Navigation/index.ts +0 -2
- package/src/index.ts +0 -6
- package/src/tailwind.scss +0 -9
- package/src/utils/index.ts +0 -19
- package/src/utils/testConstants.ts +0 -3
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
const ToggleButtonComponent = (
|
|
4
|
-
{
|
|
5
|
-
value,
|
|
6
|
-
className = '',
|
|
7
|
-
id,
|
|
8
|
-
children,
|
|
9
|
-
disabled,
|
|
10
|
-
defaultCheckedIndex = 0,
|
|
11
|
-
onChange,
|
|
12
|
-
...props
|
|
13
|
-
}: ToggleButtonProps,
|
|
14
|
-
ref: React.ForwardedRef<HTMLInputElement>
|
|
15
|
-
) => {
|
|
16
|
-
const toggleClasses = disabled
|
|
17
|
-
? `pointer-events-none bg-base-3 border-card-stroke text-on-base-2`
|
|
18
|
-
: `peer-checked:bg-primary peer-checked:border-primary peer-checked:text-base-1 text-primary`
|
|
19
|
-
|
|
20
|
-
const handleChange = (e: React.ChangeEvent<HTMLInputElement>): void => {
|
|
21
|
-
onChange && onChange(e)
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const toggleItems = children.map((item, index) => {
|
|
25
|
-
const borderRadius =
|
|
26
|
-
index === 0
|
|
27
|
-
? 'rounded-l'
|
|
28
|
-
: children.length - 1 === index
|
|
29
|
-
? 'border-r rounded-r'
|
|
30
|
-
: ''
|
|
31
|
-
return (
|
|
32
|
-
<li
|
|
33
|
-
key={`toggle-btn-[${index}]`}
|
|
34
|
-
className="inline-flex justify-center items-center h-12"
|
|
35
|
-
>
|
|
36
|
-
<label className="relative inline-flex justify-center items-center h-12">
|
|
37
|
-
<input
|
|
38
|
-
ref={ref}
|
|
39
|
-
className="peer absolute top-0 bottom-0 left-0 right-0 cursor-pointer opacity-0 z-20"
|
|
40
|
-
type="radio"
|
|
41
|
-
id={id}
|
|
42
|
-
name="toggleButton"
|
|
43
|
-
value={value}
|
|
44
|
-
onChange={handleChange}
|
|
45
|
-
{...props}
|
|
46
|
-
defaultChecked={defaultCheckedIndex === index ? true : false}
|
|
47
|
-
disabled={disabled}
|
|
48
|
-
/>
|
|
49
|
-
<div
|
|
50
|
-
className={`${className} checkmark ${toggleClasses} inline-flex justify-center items-center ${borderRadius} py-4 px-6 border-y border-l h-12`}
|
|
51
|
-
>
|
|
52
|
-
{item}
|
|
53
|
-
</div>
|
|
54
|
-
</label>
|
|
55
|
-
</li>
|
|
56
|
-
)
|
|
57
|
-
})
|
|
58
|
-
|
|
59
|
-
return (
|
|
60
|
-
<div
|
|
61
|
-
className={`${className} inline-flex justify-center items-center h-12 ${toggleClasses}} rounded text-f6 tracking-4 font-semibold`}
|
|
62
|
-
>
|
|
63
|
-
<ul className="list-none inline-flex justify-center items-center h-12">
|
|
64
|
-
{toggleItems}
|
|
65
|
-
</ul>
|
|
66
|
-
</div>
|
|
67
|
-
)
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
const ToggleButtonWithForwardRef = React.forwardRef(ToggleButtonComponent)
|
|
71
|
-
export const ToggleButton = React.memo(ToggleButtonWithForwardRef)
|
|
72
|
-
|
|
73
|
-
export interface ToggleButtonProps
|
|
74
|
-
extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
75
|
-
/**
|
|
76
|
-
* Custom class name
|
|
77
|
-
* */
|
|
78
|
-
className?: string
|
|
79
|
-
/**
|
|
80
|
-
* Custom id
|
|
81
|
-
* */
|
|
82
|
-
id?: string
|
|
83
|
-
/**
|
|
84
|
-
* Custom value
|
|
85
|
-
* */
|
|
86
|
-
value?: string | number
|
|
87
|
-
/**
|
|
88
|
-
* Set icon or an text element to be a children
|
|
89
|
-
* */
|
|
90
|
-
children: React.ReactNode[]
|
|
91
|
-
/**
|
|
92
|
-
* Set element should be a checked
|
|
93
|
-
* */
|
|
94
|
-
defaultCheckedIndex: number
|
|
95
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ToggleButton'
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export const inputPlaceholderClasses = 'placeholder-on-base-2'
|
|
2
|
-
|
|
3
|
-
export const inputContainerDisabledClasses =
|
|
4
|
-
'!bg-base-3 !pointer-events-none !text-on-base-2'
|
|
5
|
-
|
|
6
|
-
export const inputContainerReadonlyClasses = '!bg-base-2'
|
|
7
|
-
|
|
8
|
-
export const errorBorderClasses = 'border-danger focus:border-danger'
|
|
9
|
-
|
|
10
|
-
export const defaultBorderClasses = 'border-card-stroke'
|
|
11
|
-
|
|
12
|
-
export const focusClass = 'focus:border-inverted-1'
|
|
13
|
-
|
|
14
|
-
export const inputClasses = `appearance-none shadow-none outline-none bg-base-1 border px-4 rounded text-on-base text-sm tracking-4 min-w-0 w-full transition-border duration-75 ${focusClass} ${inputPlaceholderClasses}`
|
|
15
|
-
|
|
16
|
-
export const inputContainerClasses = `flex focus-within:border-inverted-1 bg-base-1 border rounded text-on-base text-sm tracking-4 min-w-0 w-full transition-border duration-75 overflow-hidden ${inputPlaceholderClasses}`
|
|
17
|
-
|
|
18
|
-
const adornmentClasses = `adornment flex justify-center items-center relative w-16 text-f6 text-inverted-2 tracking-4 -mt-px`
|
|
19
|
-
|
|
20
|
-
export const prefixClasses = `${adornmentClasses} rounded-l left-0`
|
|
21
|
-
|
|
22
|
-
export const sufixClasses = `${adornmentClasses} rounded-r right-0`
|
|
23
|
-
|
|
24
|
-
export const variantClasses = {
|
|
25
|
-
default: 'h-12',
|
|
26
|
-
small: 'h-10',
|
|
27
|
-
large: 'h-14',
|
|
28
|
-
xlarge: 'h-24',
|
|
29
|
-
}
|
package/src/Forms/index.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './Input'
|
|
2
|
-
export * from './InputMask'
|
|
3
|
-
export * from './RadioButton'
|
|
4
|
-
export * from './InputCurrency'
|
|
5
|
-
export * from './InputLabel'
|
|
6
|
-
export * from './InputHelpText'
|
|
7
|
-
export * from './Select'
|
|
8
|
-
export * from './Toggle'
|
|
9
|
-
export * from './ToggleButton'
|
|
10
|
-
export * from './Dropdown'
|
|
11
|
-
export * from './Checkbox'
|
|
12
|
-
export * from './FloatingLabelInput'
|
|
13
|
-
export * from './FloatingLabelInputMask'
|
|
14
|
-
export * from './FloatingLabelInputCurrency'
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from "react"
|
|
2
|
-
import { composeStories } from "@storybook/testing-react"
|
|
3
|
-
import { mount } from "@cypress/react"
|
|
4
|
-
import * as stories from "./Icon.stories"
|
|
5
|
-
|
|
6
|
-
const { Example } = composeStories(stories)
|
|
7
|
-
|
|
8
|
-
const specTitle = require('cypress-sonarqube-reporter/specTitle');
|
|
9
|
-
describe(specTitle('Icon tests'), () => {
|
|
10
|
-
|
|
11
|
-
it('Default', () => {
|
|
12
|
-
mount(<Example icon="edit" />)
|
|
13
|
-
cy.get('svg path')
|
|
14
|
-
cy.get('svg').should('have.class', 'icon-edit')
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
it('Block', () => {
|
|
18
|
-
mount(<Example block />)
|
|
19
|
-
cy.get('svg').should('have.class', 'block')
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
it('Size', () => {
|
|
23
|
-
mount(<Example size={10} />)
|
|
24
|
-
cy.get('svg').should('have.class', 'h-10 w-10')
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
})
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { Meta } from '@storybook/react'
|
|
3
|
-
import { Icon as IconComponent } from './Icon'
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Icons/Icon',
|
|
7
|
-
component: IconComponent,
|
|
8
|
-
tags: ['autodocs'],
|
|
9
|
-
} as Meta
|
|
10
|
-
|
|
11
|
-
export const Example = (args: any) => <IconComponent {...args} />
|
|
12
|
-
Example.args = { icon: 'cog' }
|
package/src/Icons/Icon/Icon.tsx
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react'
|
|
2
|
-
import { icons } from '../icons-path'
|
|
3
|
-
|
|
4
|
-
const iconSizes = {
|
|
5
|
-
1: 'h-1 w-1',
|
|
6
|
-
2: 'h-2 w-2',
|
|
7
|
-
3: 'h-3 w-3',
|
|
8
|
-
4: 'h-4 w-4',
|
|
9
|
-
5: 'h-5 w-5',
|
|
10
|
-
6: 'h-6 w-6',
|
|
11
|
-
7: 'h-7 w-7',
|
|
12
|
-
8: 'h-8 w-8',
|
|
13
|
-
9: 'h-9 w-9',
|
|
14
|
-
10: 'h-10 w-10',
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export const Icon: FunctionComponent<IconProps> = React.memo(
|
|
18
|
-
({ icon = 'minus', block = false, size = 5, className }: IconProps) => {
|
|
19
|
-
let classes = `${'icon-' + icon} fill-current transform-gpu `
|
|
20
|
-
classes += block ? `block ` : `inline-block `
|
|
21
|
-
if (size) classes += `${iconSizes[size]} `
|
|
22
|
-
if (className) classes += className
|
|
23
|
-
|
|
24
|
-
const Path = icons[icon] || icons['minus']
|
|
25
|
-
const viewBox = icon === 'exclamation' ? '0 0 6 30' : '0 0 18 18'
|
|
26
|
-
|
|
27
|
-
return (
|
|
28
|
-
<svg
|
|
29
|
-
className={classes}
|
|
30
|
-
viewBox={viewBox}
|
|
31
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
32
|
-
>
|
|
33
|
-
<Path />
|
|
34
|
-
</svg>
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
export interface IconProps {
|
|
40
|
-
/**
|
|
41
|
-
* Icon variation
|
|
42
|
-
*/
|
|
43
|
-
icon: keyof typeof icons
|
|
44
|
-
/** Make icon block
|
|
45
|
-
* @default false
|
|
46
|
-
*/
|
|
47
|
-
block?: boolean
|
|
48
|
-
/**
|
|
49
|
-
* Adittional classes for icon
|
|
50
|
-
*/
|
|
51
|
-
className?: string
|
|
52
|
-
/** Icon size, number beetween 1 and 10
|
|
53
|
-
* @default 5
|
|
54
|
-
*/
|
|
55
|
-
size?: keyof typeof iconSizes
|
|
56
|
-
}
|
package/src/Icons/Icon/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Icon'
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from "react"
|
|
2
|
-
import { composeStories } from "@storybook/testing-react"
|
|
3
|
-
import { mount } from "@cypress/react"
|
|
4
|
-
import * as stories from "./IconCircular.stories"
|
|
5
|
-
|
|
6
|
-
const { Default } = composeStories(stories)
|
|
7
|
-
|
|
8
|
-
const specTitle = require('cypress-sonarqube-reporter/specTitle');
|
|
9
|
-
describe(specTitle('IconCircular tests'), () => {
|
|
10
|
-
|
|
11
|
-
it('Default', () => {
|
|
12
|
-
mount(<Default variant="success" />)
|
|
13
|
-
cy.get('.icon-circular').should('have.class', 'bg-primary')
|
|
14
|
-
cy.get('svg path')
|
|
15
|
-
cy.get('svg').should('have.class', 'icon-check')
|
|
16
|
-
})
|
|
17
|
-
|
|
18
|
-
it('CustomIconAndBackground', () => {
|
|
19
|
-
mount(<Default icon="camera" bgClass="bg-[#d380ec]" />)
|
|
20
|
-
cy.get('.icon-circular').should('have.class', 'bg-[#d380ec]')
|
|
21
|
-
cy.get('svg path')
|
|
22
|
-
cy.get('svg').should('have.class', 'icon-camera')
|
|
23
|
-
})
|
|
24
|
-
})
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { Story, Meta } from '@storybook/react'
|
|
3
|
-
import { IconCircular as IconCircularComponent, IconCircularProps } from './IconCircular'
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Icons/IconCircular',
|
|
7
|
-
component: IconCircularComponent,
|
|
8
|
-
} as Meta
|
|
9
|
-
|
|
10
|
-
const Template: Story<IconCircularProps> = args => <IconCircularComponent {...args} />
|
|
11
|
-
|
|
12
|
-
export const Default = Template.bind({})
|
|
13
|
-
|
|
14
|
-
export const CustomIcon = Template.bind({})
|
|
15
|
-
CustomIcon.args = {
|
|
16
|
-
icon: 'camera',
|
|
17
|
-
variant: 'danger'
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const CustomIconAndBackground = Template.bind({})
|
|
21
|
-
CustomIconAndBackground.args = {
|
|
22
|
-
icon: 'camera',
|
|
23
|
-
bgClass: 'bg-[#d380ec]',
|
|
24
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react'
|
|
2
|
-
import { Icon, IconProps } from '../Icon/Icon'
|
|
3
|
-
|
|
4
|
-
type variantType = 'success' | 'warning' | 'danger'
|
|
5
|
-
const variantsStyles: {
|
|
6
|
-
[key in variantType]: {
|
|
7
|
-
bgClass: string
|
|
8
|
-
icon: IconProps['icon']
|
|
9
|
-
}
|
|
10
|
-
} = {
|
|
11
|
-
success: {
|
|
12
|
-
bgClass: 'bg-primary',
|
|
13
|
-
icon: 'check',
|
|
14
|
-
},
|
|
15
|
-
warning: {
|
|
16
|
-
bgClass: 'bg-warning',
|
|
17
|
-
icon: 'exclamation',
|
|
18
|
-
},
|
|
19
|
-
danger: {
|
|
20
|
-
bgClass: 'bg-danger',
|
|
21
|
-
icon: 'times',
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const IconCircular: FunctionComponent<IconCircularProps> = React.memo(
|
|
26
|
-
({
|
|
27
|
-
variant = 'success',
|
|
28
|
-
icon: customIcon,
|
|
29
|
-
bgClass: customBgClass,
|
|
30
|
-
}: IconCircularProps) => {
|
|
31
|
-
const icon = customIcon
|
|
32
|
-
? customIcon
|
|
33
|
-
: variantsStyles[variant].icon || 'check'
|
|
34
|
-
const bgClass = customBgClass
|
|
35
|
-
? customBgClass
|
|
36
|
-
: variantsStyles[variant].bgClass || 'bg-primary'
|
|
37
|
-
|
|
38
|
-
return (
|
|
39
|
-
<>
|
|
40
|
-
<div
|
|
41
|
-
className={`icon-circular flex w-20 h-20 mx-auto rounded-full items-center justify-center bg-opacity-20 ${bgClass}`}
|
|
42
|
-
>
|
|
43
|
-
<div
|
|
44
|
-
className={`flex w-14 h-14 rounded-full items-center justify-center ${bgClass}`}
|
|
45
|
-
>
|
|
46
|
-
<Icon icon={icon} className="text-base-1" size={7} block />
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</>
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
export interface IconCircularProps {
|
|
55
|
-
/** Icon circular variant
|
|
56
|
-
* @default success
|
|
57
|
-
* */
|
|
58
|
-
variant?: variantType
|
|
59
|
-
/**
|
|
60
|
-
* Icon variation
|
|
61
|
-
*/
|
|
62
|
-
icon?: IconProps['icon']
|
|
63
|
-
/**
|
|
64
|
-
* Custom class for background
|
|
65
|
-
*/
|
|
66
|
-
bgClass?: string
|
|
67
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './IconCircular'
|
package/src/Icons/IconList.tsx
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { Icon as IconComponent } from './Icon'
|
|
3
|
-
import { icons } from './icons-path'
|
|
4
|
-
|
|
5
|
-
const IconsList = () => {
|
|
6
|
-
return (
|
|
7
|
-
<>
|
|
8
|
-
<div className="text-f6 mb-10">
|
|
9
|
-
There are {Object.keys(icons).length} icons
|
|
10
|
-
</div>
|
|
11
|
-
<ul className="grid grid-cols-6 gap-4 list-none">
|
|
12
|
-
{(Object.keys(icons) as Array<keyof typeof icons>).map((key) => (
|
|
13
|
-
<li key={key} className="flex items-center min-w-0 group">
|
|
14
|
-
<div className="shrink-0 border border-transparent group-hover:border-card-stroke rounded flex">
|
|
15
|
-
<IconComponent icon={key} />
|
|
16
|
-
</div>
|
|
17
|
-
<div className="ml-4 overflow-hidden text-ellipsis min-w-0 text-f6">
|
|
18
|
-
{key}
|
|
19
|
-
</div>
|
|
20
|
-
</li>
|
|
21
|
-
))}
|
|
22
|
-
</ul>
|
|
23
|
-
</>
|
|
24
|
-
)
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export default IconsList
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Adjust = () => (
|
|
4
|
-
<>
|
|
5
|
-
<path
|
|
6
|
-
fillRule="evenodd"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
d="M2.25 5c0-.9665.7835-1.75 1.75-1.75h2c.9665 0 1.75.7835 1.75 1.75v2c0 .9665-.7835 1.75-1.75 1.75H4c-.9665 0-1.75-.7835-1.75-1.75V5ZM4 4.75c-.13807 0-.25.11193-.25.25v2c0 .13807.11193.25.25.25h2c.13807 0 .25-.11193.25-.25V5c0-.13807-.11193-.25-.25-.25H4ZM10.25 11c0-.9665.7835-1.75 1.75-1.75h2c.9665 0 1.75.7835 1.75 1.75v2c0 .9665-.7835 1.75-1.75 1.75h-2c-.9665 0-1.75-.7835-1.75-1.75v-2Zm1.75-.25c-.1381 0-.25.1119-.25.25v2c0 .1381.1119.25.25.25h2c.1381 0 .25-.1119.25-.25v-2c0-.1381-.1119-.25-.25-.25h-2Z"
|
|
9
|
-
/>
|
|
10
|
-
<path
|
|
11
|
-
fillRule="evenodd"
|
|
12
|
-
clipRule="evenodd"
|
|
13
|
-
d="M5.74951 4V.5h-1.5V4h1.5Zm0 4h-1.5v9.5h1.5V8ZM13.7495 10V.5h-1.5V10h1.5Zm0 4h-1.5v3.5h1.5V14Z"
|
|
14
|
-
/>
|
|
15
|
-
</>
|
|
16
|
-
)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const AngleDiagonal = () => (
|
|
4
|
-
<>
|
|
5
|
-
<path
|
|
6
|
-
d="M12.7122 4.22709L13.7728 5.28775L5.28753 13.773L4.22687 12.7124L12.7122 4.22709Z"
|
|
7
|
-
fillRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
<path
|
|
10
|
-
fillRule="evenodd"
|
|
11
|
-
clipRule="evenodd"
|
|
12
|
-
d="M13.8425 4.15742V8.75742H12.6425L12.6425 5.35742L9.24248 5.35742V4.15742L13.8425 4.15742Z"
|
|
13
|
-
/>
|
|
14
|
-
<path
|
|
15
|
-
fillRule="evenodd"
|
|
16
|
-
clipRule="evenodd"
|
|
17
|
-
d="M4.1572 13.8427H8.7572L8.7572 12.6427L5.3572 12.6427L5.3572 9.2427L4.1572 9.2427V13.8427Z"
|
|
18
|
-
/>
|
|
19
|
-
</>
|
|
20
|
-
)
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const AngleHeight = () => (
|
|
4
|
-
<>
|
|
5
|
-
<path d="M8.24976 2.9999H9.74976V14.9999H8.24976V2.9999Z" />
|
|
6
|
-
<path
|
|
7
|
-
fillRule="evenodd"
|
|
8
|
-
clipRule="evenodd"
|
|
9
|
-
d="M8.99976 2.15137L12.2525 5.40406L11.4039 6.25259L8.99976 3.84842L6.5956 6.25259L5.74707 5.40406L8.99976 2.15137Z"
|
|
10
|
-
/>
|
|
11
|
-
<path
|
|
12
|
-
fillRule="evenodd"
|
|
13
|
-
clipRule="evenodd"
|
|
14
|
-
d="M8.99976 15.8484L12.2525 12.5957L11.4039 11.7472L8.99976 14.1514L6.5956 11.7472L5.74707 12.5957L8.99976 15.8484Z"
|
|
15
|
-
/>
|
|
16
|
-
</>
|
|
17
|
-
)
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const AngleWidth = () => (
|
|
4
|
-
<>
|
|
5
|
-
<path d="M14.9996 8.24976L14.9996 9.74976L2.99962 9.74976L2.99962 8.24976L14.9996 8.24976Z" />
|
|
6
|
-
<path
|
|
7
|
-
fillRule="evenodd"
|
|
8
|
-
clipRule="evenodd"
|
|
9
|
-
d="M15.8481 8.99976L12.5955 12.2525L11.7469 11.4039L14.1511 8.99976L11.7469 6.5956L12.5955 5.74707L15.8481 8.99976Z"
|
|
10
|
-
/>
|
|
11
|
-
<path
|
|
12
|
-
fillRule="evenodd"
|
|
13
|
-
clipRule="evenodd"
|
|
14
|
-
d="M2.15109 8.99976L5.40378 12.2525L6.25231 11.4039L3.84814 8.99976L6.25231 6.5956L5.40378 5.74707L2.15109 8.99976Z"
|
|
15
|
-
/>
|
|
16
|
-
</>
|
|
17
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const App = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M9 0a4.79 4.79 0 011.708.316l6.386 2.429c1.208.46 1.208 2.382 0 2.842l-6.386 2.43A4.813 4.813 0 019 8.333a4.813 4.813 0 01-1.708-.316L.906 5.587c-1.208-.46-1.208-2.382 0-2.842L7.292.316A4.79 4.79 0 019 0zm0 1.5c-.399 0-.795.073-1.175.218L1.503 4.123a.31.31 0 000 .086l6.322 2.405c.38.145.776.219 1.175.219s.795-.074 1.175-.219l6.322-2.405a.31.31 0 000-.086l-6.322-2.405A3.287 3.287 0 009 1.5zm8.101 6.083l-.007.004-2.099.799 1.502.571a.31.31 0 010 .086l-6.322 2.405a3.287 3.287 0 01-2.35 0L1.503 9.043a.31.31 0 010-.086l1.502-.571-2.099-.799-.007-.004c-1.2.465-1.198 2.379.007 2.838l6.386 2.429a4.79 4.79 0 003.416 0l6.386-2.429c1.205-.459 1.207-2.373.007-2.838zm-.007 7.672l-6.386 2.429a4.79 4.79 0 01-3.416 0L.906 15.255c-1.205-.459-1.207-2.373-.007-2.838l.007.004 2.099.798-1.502.572a.31.31 0 000 .086l6.322 2.405a3.287 3.287 0 002.35 0l6.322-2.405a.31.31 0 000-.086l-1.502-.572 2.099-.798.007-.004c1.2.465 1.198 2.379-.007 2.838z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Arrow = () => (
|
|
4
|
-
<>
|
|
5
|
-
<path
|
|
6
|
-
fillRule="evenodd"
|
|
7
|
-
d="m17.808 8.498-2.25-2.5a.75.75 0 1 0-1.115 1.004L15.61 8.3H9.7V2.389l1.296 1.169a.756.756 0 0 0 1.06-.056.752.752 0 0 0-.056-1.06l-2.5-2.25a.75.75 0 0 0-1.003 0l-2.5 2.25a.752.752 0 0 0-.055 1.06.749.749 0 0 0 1.059.056L8.3 2.389V8.3H2.39l1.168-1.298a.751.751 0 0 0-1.115-1.004l-2.25 2.5a.75.75 0 0 0 0 1.004l2.25 2.5a.748.748 0 0 0 1.059.056.751.751 0 0 0 .056-1.06L2.39 9.7H8.3v5.911l-1.298-1.169a.75.75 0 0 0-1.004 1.116l2.5 2.25a.752.752 0 0 0 1.004 0l2.5-2.25a.752.752 0 0 0-1.004-1.116L9.7 15.611V9.7h5.91l-1.168 1.298a.752.752 0 0 0 .556 1.252.75.75 0 0 0 .558-.248l2.25-2.5a.75.75 0 0 0 0-1.004Z"
|
|
8
|
-
clipRule="evenodd"
|
|
9
|
-
/>
|
|
10
|
-
</>
|
|
11
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const ArrowLeft = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M17.134 8.237H3.951l7.165-6.743A.864.864 0 1 0 9.931.235L1.287 8.37a.868.868 0 0 0 0 1.26l8.644 8.134a.86.86 0 0 0 1.222-.036.863.863 0 0 0-.037-1.222L3.951 9.762h13.183V8.237Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const ArrowRight = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M16.712 8.37 8.068.236a.865.865 0 0 0-1.185 1.259l7.165 6.744H.865v1.525h13.183l-7.165 6.744A.863.863 0 0 0 7.476 18a.861.861 0 0 0 .592-.234l8.644-8.136a.868.868 0 0 0 0-1.26Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Back = () => (
|
|
4
|
-
<path d="M5.5495 4.26c.282-.303.265-.777-.039-1.06-.304-.281-.778-.264-1.061.039l-3.25 3.5c-.266.289-.266.734 0 1.021l3.25 3.5c.149.159.349.24.55.24.183 0 .366-.066.511-.2.304-.282.321-.757.039-1.061L3.4695 8H13V6.5H3.4695l2.08-2.24ZM13 6.5V8c.5926-.00007 1.1679.22038 1.6206.60807.4916.42109.8001 1.01704.8599 1.66163.0599.6445-.1335 1.2871-.5393 1.7915-.4057.5044-.9918.8311-1.6342.9108l.1858 1.4976c1.0316-.1281 1.9728-.6526 2.6243-1.4626.6515-.81.9621-1.8418.866-2.8769-.0962-1.03499-.5914-1.99196-1.3809-2.66814C14.8753 6.83943 13.9516 6.49992 13 6.5Z" />
|
|
5
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Ban = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M1.5 9c0-1.798.637-3.45 1.696-4.743l10.547 10.547A7.465 7.465 0 0 1 9 16.5c-4.136 0-7.5-3.364-7.5-7.5Zm15 0c0 1.798-.637 3.45-1.696 4.743L4.257 3.196A7.463 7.463 0 0 1 9 1.5c4.136 0 7.5 3.364 7.5 7.5ZM9 0a9 9 0 0 0-9 9 9 9 0 0 0 9 9 9 9 0 0 0 9-9 9 9 0 0 0-9-9Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const BarcodeRead = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M13 12h1V6h-1v6zm-3 0h2V6h-2v6zm-2.5 0h1V6h-1v6zM4 12h2V6H4v6zm12.5-1.5v3c0 .552-.447 1-1 1h-3V16h3c1.381 0 2.5-1.119 2.5-2.5v-3h-1.5zm-11 4h-3c-.553 0-1-.448-1-1v-3H0v3C0 14.881 1.119 16 2.5 16h3v-1.5zm12.5-7v-3C18 3.119 16.881 2 15.5 2h-3v1.5h3c.553 0 1 .448 1 1v3H18zm-12.5-4h-3c-.553 0-1 .448-1 1v3H0v-3C0 3.119 1.119 2 2.5 2h3v1.5z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Bell = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M16.5 13c0 .275-.225.5-.5.5H2c-.275 0-.5-.225-.5-.5v-.368c0-.174.093-.339.242-.428l.109-.065c1.26-.756 2.15-1.957 2.506-3.383l.509-2.037C5.34 4.824 7.036 3.5 8.989 3.5h.022c1.953 0 3.649 1.324 4.123 3.219l.509 2.037c.356 1.426 1.246 2.627 2.506 3.383l.108.065c.15.089.243.254.243.428V13Zm-6 2c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5h3Zm6.529-4.083-.108-.064c-.91-.546-1.566-1.431-1.823-2.46l-.509-2.038c-.529-2.117-2.195-3.708-4.248-4.196.098-.2.159-.421.159-.659C10.5.671 9.829 0 9 0S7.5.671 7.5 1.5c0 .238.061.459.159.659-2.053.488-3.719 2.079-4.248 4.196l-.509 2.038c-.257 1.029-.913 1.914-1.823 2.46l-.108.064C.369 11.279 0 11.93 0 12.632V13c0 1.104.896 2 2 2h4c0 1.657 1.343 3 3 3s3-1.343 3-3h4c1.104 0 2-.896 2-2v-.368c0-.702-.369-1.353-.971-1.715Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Blog = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M4 13v1h3.57c-.041-.159-.07-.323-.07-.495V13H4Zm10.5 2c0 .827-.673 1.5-1.5 1.5H3c-.827 0-1.5-.673-1.5-1.5V3c0-.827.673-1.5 1.5-1.5h10c.827 0 1.5.673 1.5 1.5v.872c.387-.238.831-.372 1.296-.372.069 0 .137.008.204.014V3c0-1.657-1.343-3-3-3H3C1.343 0 0 1.343 0 3v12c0 1.657 1.343 3 3 3h10c1.657 0 3-1.343 3-3v-3.265l-1.5 1.5V15Zm-6.416-4.819L8.265 10H4v1h3.599c.094-.305.253-.588.485-.819ZM4 5h8V4H4v1Zm7.265 2H4v1h6.265l1-1Zm6.445.904-5.951 5.95c-.093.094-.219.146-.35.146H9.495C9.222 14 9 13.778 9 13.505v-1.914c0-.131.052-.257.145-.35l5.951-5.951c.193-.193.447-.29.7-.29.254 0 .507.097.701.29l1.213 1.213c.387.387.387 1.015 0 1.401Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Bullhorn = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M15.25 10.25H15v-2.5h.25c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25zm-1.75 5.98l-4.868-3.276A11.443 11.443 0 006.75 11.94V6.031A11.476 11.476 0 008.618 5.03L13.5 1.767V16.23zm-8.25.27H3.008l1.14-3.8c.373.073.741.169 1.102.285V16.5zM1.5 7.25l2.629-.44c.38-.063.753-.149 1.121-.248v4.844a11.396 11.396 0 00-1.137-.252L1.5 10.717V7.25zm13.75-1H15V1.205C15 .497 14.421 0 13.797 0c-.224 0-.452.063-.662.204L7.786 3.779a9.987 9.987 0 01-3.903 1.547l-3.047.51A1.003 1.003 0 000 6.825v4.317c0 .49.354.908.836.989l1.825.305-1.38 4.599A.752.752 0 002 18h4a.75.75 0 00.75-.75v-3.655c.359.183.71.382 1.046.608l5.335 3.59c.211.143.441.207.666.207.623 0 1.203-.497 1.203-1.205V11.75h.25A2.752 2.752 0 0018 9a2.752 2.752 0 00-2.75-2.75z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Calculator = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M15.6248 14.6389V2.36111C15.6248 1.05683 14.5679 0 13.2636-1e-7L4.76365-5e-7C3.45937-5e-7 2.40253 1.05683 2.40253 2.36111V14.6389C2.40253 15.9422 3.45937 17 4.76365 17h8.49995c1.3043 0 2.3612-1.0578 2.3612-2.3611Zm-1.4167 0c0 .5204-.4231.9444-.9445.9444H4.76364c-.52133 0-.94444-.424-.94444-.9444V2.36111c0-.52133.42311-.94444.94445-.94444h8.49995c.5214 0 .9445.42311.9445.94444V14.6389ZM5.9442 2.71528c-.4564 0-.82639.36998-.82639.82639v1.41666c0 .4564.36999.82639.82639.82639h6.1389c.4564 0 .8264-.36998.8264-.82639V3.54167c0-.4564-.37-.82639-.8264-.82639H5.9442Zm.35417 1.88889v-.70834h5.43053v.70834H6.29837ZM5.9442 7.08333h.47222c.3912 0 .70834.31714.70834.70834v.47222c0 .3912-.31714.70833-.70834.70833H5.9442c-.3912 0-.70833-.31713-.70833-.70833v-.47222c0-.3912.31713-.70834.70833-.70834Zm.47222 2.83334H5.9442c-.3912 0-.70833.31713-.70833.70833v.4722c0 .3912.31713.7084.70833.7084h.47222c.39121 0 .70834-.3172.70834-.7084v-.4722c0-.3912-.31714-.70833-.70834-.70833Zm0 2.83333H5.9442c-.3912 0-.70833.3171-.70833.7083v.4723c0 .3912.31713.7083.70833.7083h.47222c.39121 0 .70834-.3171.70834-.7083v-.4723c0-.3912-.31713-.7083-.70834-.7083Zm2.83334-5.66667h-.47223c-.3912 0-.70833.31714-.70833.70834v.47222c0 .3912.31713.70833.70833.70833h.47223c.3912 0 .70833-.31713.70833-.70833v-.47222c0-.3912-.31713-.70834-.70833-.70834Zm0 2.83334h-.47223c-.3912 0-.70833.31713-.70833.70833v.4722c0 .3912.31713.7084.70833.7084h.47223c.3912 0 .70833-.3172.70833-.7084v-.4722c0-.3912-.31713-.70833-.70833-.70833Zm0 2.83333h-.47223c-.3912 0-.70833.3171-.70833.7083v.4723c0 .3912.31713.7083.70833.7083h.47223c.3912 0 .70833-.3171.70833-.7083v-.4723c0-.3912-.31713-.7083-.70833-.7083Zm2.83334-5.66667h-.4722c-.3912 0-.7084.31713-.7084.70834v.47222c0 .3912.3172.70833.7084.70833h.4722c.3912 0 .7083-.31713.7083-.70833v-.47222c0-.39121-.3171-.70834-.7083-.70834Zm0 2.83334h-.4722c-.3912 0-.7084.31713-.7084.70833v3.3056c0 .3912.3172.7083.7084.7083h.4722c.3912 0 .7083-.3171.7083-.7083V10.625c0-.3912-.3171-.70833-.7083-.70833Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const CalendarAlt = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M14.5 13.25v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5h1c.276 0 .5.224.5.5Zm-4.5 0v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5h1c.276 0 .5.224.5.5Zm-4.5 0v1c0 .276-.224.5-.5.5H4c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5h1c.276 0 .5.224.5.5Zm9-3.5v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5h1c.276 0 .5.224.5.5Zm-4.5 0v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5h1c.276 0 .5.224.5.5Zm-4.5 0v1c0 .276-.224.5-.5.5H4c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5h1c.276 0 .5.224.5.5Zm10 6.75h-13c-.552 0-1-.449-1-1v-8h15v8c0 .551-.448 1-1 1ZM2.5 3h1.75v2h1.5V3h6.5v2h1.5V3h1.75c.552 0 1 .449 1 1v2h-15V4c0-.551.448-1 1-1Zm13-1.5h-1.75V0h-1.5v1.5h-6.5V0h-1.5v1.5H2.5C1.119 1.5 0 2.619 0 4v11.5C0 16.881 1.119 18 2.5 18h13c1.381 0 2.5-1.119 2.5-2.5V4c0-1.381-1.119-2.5-2.5-2.5Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export const Camera = () => (
|
|
4
|
-
<path
|
|
5
|
-
fillRule="evenodd"
|
|
6
|
-
d="M7.75 1C6.7835 1 6 1.7835 6 2.75V3.75H7.5V2.75C7.5 2.61193 7.61193 2.5 7.75 2.5H10.25C10.3881 2.5 10.5 2.61193 10.5 2.75C10.5 3.7165 11.2835 4.5 12.25 4.5H14.5C15.466 4.5 16.25 5.28341 16.25 6.25V13.25C16.25 14.2166 15.466 15 14.5 15H3.5C2.53321 15 1.75 14.2168 1.75 13.25V7.25H0.25V13.25C0.25 15.0452 1.70479 16.5 3.5 16.5H14.5C16.294 16.5 17.75 15.0454 17.75 13.25V6.25C17.75 4.45459 16.294 3 14.5 3H12.25C12.1119 3 12 2.88807 12 2.75C12 1.7835 11.2165 1 10.25 1H7.75ZM5.5 9.75C5.5 11.683 7.067 13.25 9 13.25C10.933 13.25 12.5 11.683 12.5 9.75C12.5 7.817 10.933 6.25 9 6.25C7.067 6.25 5.5 7.817 5.5 9.75ZM7 9.75C7 8.64543 7.89543 7.75 9 7.75C10.1046 7.75 11 8.64543 11 9.75C11 10.8546 10.1046 11.75 9 11.75C7.89543 11.75 7 10.8546 7 9.75ZM12 6.5C12 6.08579 12.3358 5.75 12.75 5.75H14.25C14.6642 5.75 15 6.08579 15 6.5C15 6.91421 14.6642 7.25 14.25 7.25H12.75C12.3358 7.25 12 6.91421 12 6.5ZM3.24 2.5C3.24 2.08579 2.90421 1.75 2.49 1.75C2.07579 1.75 1.74 2.08579 1.74 2.5V3.5H0.75C0.335786 3.5 0 3.83579 0 4.25C0 4.66421 0.335786 5 0.75 5H1.74V6C1.74 6.41421 2.07579 6.75 2.49 6.75C2.90421 6.75 3.24 6.41421 3.24 6V5H4.25C4.66421 5 5 4.66421 5 4.25C5 3.83579 4.66421 3.5 4.25 3.5H3.24V2.5Z"
|
|
7
|
-
clipRule="evenodd"
|
|
8
|
-
/>
|
|
9
|
-
)
|