@loja-integrada/admin-components 0.19.3 → 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 -45
- 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 -26
- 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 -49776
- 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 -49714
- 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 -74
- package/src/Indicators/Badge/Badge.stories.tsx +0 -40
- package/src/Indicators/Badge/Badge.tsx +0 -75
- package/src/Indicators/Badge/index.tsx +0 -1
- package/src/Indicators/InformationBox/InformationBox.spec.tsx +0 -36
- package/src/Indicators/InformationBox/InformationBox.tsx +0 -98
- 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,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MaskedInputProps as ReactMaskedInputProps } from 'react-text-mask';
|
|
3
|
-
import { FloatingLabelInputProps } from '../FloatingLabelInput/FloatingLabelInput';
|
|
4
|
-
import { formatValuePatterns } from '../InputMask/utils';
|
|
5
|
-
export declare const FloatingLabelInputMask: React.ForwardRefExoticComponent<FloatingLabelInputMaskProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
-
export interface FloatingLabelInputMaskProps extends FloatingLabelInputProps {
|
|
7
|
-
/**
|
|
8
|
-
* Predefined masks. When used, will replace passed `mask` attr
|
|
9
|
-
* */
|
|
10
|
-
formatValue?: keyof typeof formatValuePatterns;
|
|
11
|
-
mask?: ReactMaskedInputProps['mask'];
|
|
12
|
-
guide?: ReactMaskedInputProps['guide'];
|
|
13
|
-
placeholderChar?: ReactMaskedInputProps['placeholderChar'];
|
|
14
|
-
keepCharPositions?: ReactMaskedInputProps['keepCharPositions'];
|
|
15
|
-
pipe?: ReactMaskedInputProps['pipe'];
|
|
16
|
-
showMask?: ReactMaskedInputProps['showMask'];
|
|
17
|
-
}
|
|
18
|
-
export declare type FloatingLabelInputMaskType = ReactMaskedInputProps['mask'];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FloatingLabelInputMaskProps } from './FloatingLabelInputMask';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
5
|
-
export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
6
|
-
export declare const Prefix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
7
|
-
export declare const IconPrefix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
8
|
-
export declare const Sufix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
9
|
-
export declare const IconSufix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
10
|
-
export declare const WithBoth: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
11
|
-
export declare const OnlyNumbers: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
12
|
-
export declare const OnlyText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
13
|
-
export declare const ZipCode: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
14
|
-
export declare const Nfe: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
15
|
-
export declare const Phone: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
16
|
-
export declare const Cellphone: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
17
|
-
export declare const PhoneOrCellphone: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
18
|
-
export declare const CPF: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
19
|
-
export declare const CNPJ: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FloatingLabelInputMaskProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FloatingLabelInputMask';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputLabelProps } from '../InputLabel';
|
|
3
|
-
import { InputHelpTextProps } from '../InputHelpText';
|
|
4
|
-
export declare const Input: React.MemoExoticComponent<React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>>;
|
|
5
|
-
export interface InputProps extends InputLabelProps, InputHelpTextProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'prefix'> {
|
|
6
|
-
/**
|
|
7
|
-
* Custom class name
|
|
8
|
-
* */
|
|
9
|
-
className?: string;
|
|
10
|
-
/** Input size
|
|
11
|
-
* @default default
|
|
12
|
-
* */
|
|
13
|
-
variant?: 'default' | 'small' | 'large' | 'xlarge';
|
|
14
|
-
/**
|
|
15
|
-
* Error message to display
|
|
16
|
-
* */
|
|
17
|
-
errorMessage?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Custom element to append at the start of input
|
|
20
|
-
* */
|
|
21
|
-
prefix?: React.ReactNode | string | null;
|
|
22
|
-
/**
|
|
23
|
-
* Custom element to append at the end of input
|
|
24
|
-
* */
|
|
25
|
-
sufix?: React.ReactNode | string | null;
|
|
26
|
-
/**
|
|
27
|
-
* Set visibility of input prefix border
|
|
28
|
-
* @default true
|
|
29
|
-
* */
|
|
30
|
-
prefixBorder?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Set visibility of input sufix border
|
|
33
|
-
* @default true
|
|
34
|
-
* */
|
|
35
|
-
sufixBorder?: boolean;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { InputProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
5
|
-
export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
6
|
-
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
7
|
-
export declare const Readonly: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
8
|
-
export declare const Prefix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
9
|
-
export declare const PrefixWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
10
|
-
export declare const IconPrefix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
11
|
-
export declare const IconPrefixWhitoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
12
|
-
export declare const Sufix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
13
|
-
export declare const SufixWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
14
|
-
export declare const IconSufix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
15
|
-
export declare const IconSufixWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
16
|
-
export declare const PrefixDisabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
17
|
-
export declare const PrefixReadOnly: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
18
|
-
export declare const WithBoth: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
19
|
-
export declare const WithBothWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
20
|
-
export declare const WithLabelComplement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
21
|
-
export declare const Search: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Input';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputProps } from '../Input';
|
|
3
|
-
import { defaultIntlConfig } from './utils';
|
|
4
|
-
export declare const InputCurrencyComponent: ({ value, defaultValue, config, currency, max, autoFocus, autoSelect, autoReset, onChange, onBlur, onFocus, onKeyPress, ...otherProps }: InputCurrencyProps, ref: React.ForwardedRef<HTMLInputElement>) => JSX.Element;
|
|
5
|
-
export declare const InputCurrency: React.ForwardRefExoticComponent<InputCurrencyProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
-
export interface InputCurrencyProps extends Omit<InputProps, 'onChange' | 'onBlur' | 'onFocus' | 'onKeyPress'> {
|
|
7
|
-
/** Currency to format value to
|
|
8
|
-
* @default 'BRL'
|
|
9
|
-
* */
|
|
10
|
-
currency?: keyof typeof defaultIntlConfig;
|
|
11
|
-
/** Max value allowed
|
|
12
|
-
* @default 1000000000000000
|
|
13
|
-
* */
|
|
14
|
-
max?: number;
|
|
15
|
-
/** Custom Intl config
|
|
16
|
-
* @deprecated Don't use, component already has its default config
|
|
17
|
-
* */
|
|
18
|
-
config?: any;
|
|
19
|
-
/** Should auto focus
|
|
20
|
-
* @default false
|
|
21
|
-
* */
|
|
22
|
-
autoFocus?: boolean;
|
|
23
|
-
/** Should auto select
|
|
24
|
-
* @default false
|
|
25
|
-
* */
|
|
26
|
-
autoSelect?: boolean;
|
|
27
|
-
/** Should auto reset
|
|
28
|
-
* @default false
|
|
29
|
-
* */
|
|
30
|
-
autoReset?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* onChange with additional params: (event, value, maskedValue)
|
|
33
|
-
* */
|
|
34
|
-
onChange?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void;
|
|
35
|
-
/**
|
|
36
|
-
* onBlur with additional params: (event, value, maskedValue)
|
|
37
|
-
* */
|
|
38
|
-
onBlur?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void;
|
|
39
|
-
/**
|
|
40
|
-
* onFocus with additional params: (event, value, maskedValue)
|
|
41
|
-
* */
|
|
42
|
-
onFocus?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void;
|
|
43
|
-
/**
|
|
44
|
-
* onKeyPress with additional params: (event, key, keyCode)
|
|
45
|
-
* */
|
|
46
|
-
onKeyPress?: (arg0: InputEvent, arg1: string | number, arg2: string | number) => void;
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { InputCurrencyProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
5
|
-
export declare const MaxValue: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
6
|
-
export declare const CurrencyUSD: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
7
|
-
export declare const OnChange: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
8
|
-
export declare const OnFocusWithStartAdornment: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './InputCurrency';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare function formatCurrency(value: string | number, localeConfig: any): string;
|
|
2
|
-
export declare const defaultMaxValue = 1000000000000000;
|
|
3
|
-
export declare const defaultIntlConfig: {
|
|
4
|
-
BRL: {
|
|
5
|
-
locale: string;
|
|
6
|
-
format: {
|
|
7
|
-
style: string;
|
|
8
|
-
currency: string;
|
|
9
|
-
minimumFractionDigits: number;
|
|
10
|
-
maximumFractionDigits: number;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
USD: {
|
|
14
|
-
locale: string;
|
|
15
|
-
format: {
|
|
16
|
-
style: string;
|
|
17
|
-
currency: string;
|
|
18
|
-
minimumFractionDigits: number;
|
|
19
|
-
maximumFractionDigits: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const InputHelpText: React.MemoExoticComponent<({ className, helpText, hasError }: InputHelpTextProps) => JSX.Element | null>;
|
|
3
|
-
export interface InputHelpTextProps {
|
|
4
|
-
/**
|
|
5
|
-
* Custom class name
|
|
6
|
-
* */
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Help text
|
|
10
|
-
* */
|
|
11
|
-
helpText?: string;
|
|
12
|
-
/** Should render error state
|
|
13
|
-
* @default false
|
|
14
|
-
* */
|
|
15
|
-
hasError?: boolean;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InputHelpTextProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputHelpTextProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './InputHelpText';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const InputLabel: React.MemoExoticComponent<({ className, label, labelComplement, hasError, required, htmlFor, }: InputLabelProps) => JSX.Element | null>;
|
|
3
|
-
export interface InputLabelProps {
|
|
4
|
-
/**
|
|
5
|
-
* Custom class name
|
|
6
|
-
* */
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Label title
|
|
10
|
-
* */
|
|
11
|
-
label?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Complement to label title
|
|
14
|
-
* */
|
|
15
|
-
labelComplement?: string | React.ReactNode;
|
|
16
|
-
/** Should render error state
|
|
17
|
-
* @default false
|
|
18
|
-
* */
|
|
19
|
-
hasError?: boolean;
|
|
20
|
-
/** Input is required
|
|
21
|
-
* @default false
|
|
22
|
-
* */
|
|
23
|
-
required?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Input this label is for
|
|
26
|
-
* */
|
|
27
|
-
htmlFor?: string;
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { InputLabelProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputLabelProps>;
|
|
5
|
-
export declare const WithComplement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputLabelProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './InputLabel';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MaskedInputProps as ReactMaskedInputProps } from 'react-text-mask';
|
|
3
|
-
import { InputProps } from '../Input';
|
|
4
|
-
import { formatValuePatterns } from './utils';
|
|
5
|
-
export declare const InputMask: React.ForwardRefExoticComponent<InputMaskProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
-
export interface InputMaskProps extends InputProps {
|
|
7
|
-
/**
|
|
8
|
-
* Predefined masks. When used, will replace passed `mask` attr
|
|
9
|
-
* */
|
|
10
|
-
formatValue?: keyof typeof formatValuePatterns;
|
|
11
|
-
mask?: ReactMaskedInputProps['mask'];
|
|
12
|
-
guide?: ReactMaskedInputProps['guide'];
|
|
13
|
-
placeholderChar?: ReactMaskedInputProps['placeholderChar'];
|
|
14
|
-
keepCharPositions?: ReactMaskedInputProps['keepCharPositions'];
|
|
15
|
-
pipe?: ReactMaskedInputProps['pipe'];
|
|
16
|
-
showMask?: ReactMaskedInputProps['showMask'];
|
|
17
|
-
}
|
|
18
|
-
export declare type InputMaskType = ReactMaskedInputProps['mask'];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { InputMaskProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
5
|
-
export declare const Date: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
6
|
-
export declare const OnlyNumbers: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
7
|
-
export declare const OnlyText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
8
|
-
export declare const ZipCode: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
9
|
-
export declare const Nfe: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
10
|
-
export declare const Phone: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
11
|
-
export declare const Cellphone: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
12
|
-
export declare const PhoneOrCellphone: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
13
|
-
export declare const CPF: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
14
|
-
export declare const CNPJ: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
15
|
-
export declare const DateWithStartAdornment: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
16
|
-
export declare const DateWithEndAdornment: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
17
|
-
export declare const DateWithEndAdornmentError: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './InputMask';
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export declare const formatValuePatterns: {
|
|
2
|
-
default: {};
|
|
3
|
-
onlyNumber: {
|
|
4
|
-
mask: (rawValue: any) => any;
|
|
5
|
-
inputMode: string;
|
|
6
|
-
};
|
|
7
|
-
onlyLetter: {
|
|
8
|
-
mask: (rawValue: any) => any;
|
|
9
|
-
};
|
|
10
|
-
onlyAlphanumeric: {
|
|
11
|
-
mask: (rawValue: any) => any;
|
|
12
|
-
};
|
|
13
|
-
onlyText: {
|
|
14
|
-
mask: (rawValue: any) => any;
|
|
15
|
-
};
|
|
16
|
-
date: {
|
|
17
|
-
mask: (string | RegExp)[];
|
|
18
|
-
pipe: (conformedValue: any) => false | {
|
|
19
|
-
value: any;
|
|
20
|
-
indexesOfPipedChars: any;
|
|
21
|
-
};
|
|
22
|
-
keepCharPositions: boolean;
|
|
23
|
-
inputMode: string;
|
|
24
|
-
placeholder: string;
|
|
25
|
-
};
|
|
26
|
-
zipCode: {
|
|
27
|
-
mask: (string | RegExp)[];
|
|
28
|
-
keepCharPositions: boolean;
|
|
29
|
-
inputMode: string;
|
|
30
|
-
placeholder: string;
|
|
31
|
-
};
|
|
32
|
-
nfe: {
|
|
33
|
-
mask: () => (string | RegExp)[];
|
|
34
|
-
keepCharPositions: boolean;
|
|
35
|
-
inputMode: string;
|
|
36
|
-
placeholder: string;
|
|
37
|
-
};
|
|
38
|
-
phone: {
|
|
39
|
-
mask: (string | RegExp)[];
|
|
40
|
-
inputMode: string;
|
|
41
|
-
placeholder: string;
|
|
42
|
-
};
|
|
43
|
-
cellphone: {
|
|
44
|
-
mask: (string | RegExp)[];
|
|
45
|
-
inputMode: string;
|
|
46
|
-
placeholder: string;
|
|
47
|
-
};
|
|
48
|
-
phoneOrCellphone: {
|
|
49
|
-
mask: (rawValue: any) => (string | RegExp)[];
|
|
50
|
-
inputMode: string;
|
|
51
|
-
placeholder: string;
|
|
52
|
-
};
|
|
53
|
-
cpf: {
|
|
54
|
-
mask: (string | RegExp)[];
|
|
55
|
-
keepCharPositions: boolean;
|
|
56
|
-
inputMode: string;
|
|
57
|
-
placeholder: string;
|
|
58
|
-
};
|
|
59
|
-
cnpj: {
|
|
60
|
-
mask: (string | RegExp)[];
|
|
61
|
-
keepCharPositions: boolean;
|
|
62
|
-
inputMode: string;
|
|
63
|
-
placeholder: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const RadioButton: React.MemoExoticComponent<React.ForwardRefExoticComponent<RadioButtonProps & React.RefAttributes<HTMLInputElement>>>;
|
|
3
|
-
export interface RadioButtonProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
/**
|
|
5
|
-
* Custom class name
|
|
6
|
-
* */
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Custom id
|
|
10
|
-
* */
|
|
11
|
-
id?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Custom name
|
|
14
|
-
* */
|
|
15
|
-
name?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Custom value
|
|
18
|
-
* */
|
|
19
|
-
value?: string | number;
|
|
20
|
-
/**
|
|
21
|
-
* Text label of the radio button
|
|
22
|
-
* */
|
|
23
|
-
label?: string | React.ReactNode;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { RadioButtonProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, RadioButtonProps>;
|
|
5
|
-
export declare const Grouped: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, RadioButtonProps>;
|
|
6
|
-
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, RadioButtonProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RadioButton';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputLabelProps } from '../InputLabel';
|
|
3
|
-
import { InputHelpTextProps } from '../InputHelpText';
|
|
4
|
-
export declare const SelectComponent: ({ className, label, labelComplement, helpText, hasError, errorMessage, required, id, name, variant, disabled, placeholder, options, withoutStyle, style, ...props }: SelectProps, ref: React.ForwardedRef<HTMLSelectElement>) => JSX.Element;
|
|
5
|
-
export declare const Select: React.MemoExoticComponent<React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>>;
|
|
6
|
-
export interface SelectProps extends InputLabelProps, InputHelpTextProps, React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
7
|
-
/**
|
|
8
|
-
* Custom class name
|
|
9
|
-
* */
|
|
10
|
-
className?: string;
|
|
11
|
-
/** List of options to populate select
|
|
12
|
-
* @default []
|
|
13
|
-
*/
|
|
14
|
-
options?: {
|
|
15
|
-
label: string | number;
|
|
16
|
-
value?: string | number | boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
}[];
|
|
19
|
-
/** Input size
|
|
20
|
-
* @default default
|
|
21
|
-
* */
|
|
22
|
-
variant?: 'default' | 'small' | 'large' | 'xlarge';
|
|
23
|
-
/**
|
|
24
|
-
* Error message to display
|
|
25
|
-
* */
|
|
26
|
-
errorMessage?: string;
|
|
27
|
-
/** Remove all styles, like borders and bgColor
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
withoutStyle?: boolean;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SelectProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
5
|
-
export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
6
|
-
export declare const WithoutStyle: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
7
|
-
export declare const WithComplement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
8
|
-
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Select';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Toggle: React.MemoExoticComponent<React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLInputElement>>>;
|
|
3
|
-
export interface ToggleProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
label?: React.ReactNode | string;
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ToggleProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
5
|
-
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
6
|
-
export declare const DisabledChecked: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
7
|
-
export declare const WithDefaultValue: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
8
|
-
export declare const WithOnChange: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Toggle';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const ToggleButton: React.MemoExoticComponent<React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLInputElement>>>;
|
|
3
|
-
export interface ToggleButtonProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
/**
|
|
5
|
-
* Custom class name
|
|
6
|
-
* */
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Custom id
|
|
10
|
-
* */
|
|
11
|
-
id?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Custom value
|
|
14
|
-
* */
|
|
15
|
-
value?: string | number;
|
|
16
|
-
/**
|
|
17
|
-
* Set icon or an text element to be a children
|
|
18
|
-
* */
|
|
19
|
-
children: React.ReactNode[];
|
|
20
|
-
/**
|
|
21
|
-
* Set element should be a checked
|
|
22
|
-
* */
|
|
23
|
-
defaultCheckedIndex: number;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ToggleButtonProps } from '.';
|
|
2
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const WithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleButtonProps>;
|
|
5
|
-
export declare const WithText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleButtonProps>;
|
|
6
|
-
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleButtonProps>;
|
|
7
|
-
export declare const WithOnChange: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleButtonProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ToggleButton';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const inputPlaceholderClasses = "placeholder-on-base-2";
|
|
2
|
-
export declare const inputContainerDisabledClasses = "!bg-base-3 !pointer-events-none !text-on-base-2";
|
|
3
|
-
export declare const inputContainerReadonlyClasses = "!bg-base-2";
|
|
4
|
-
export declare const errorBorderClasses = "border-danger focus:border-danger";
|
|
5
|
-
export declare const defaultBorderClasses = "border-card-stroke";
|
|
6
|
-
export declare const focusClass = "focus:border-inverted-1";
|
|
7
|
-
export declare const inputClasses: string;
|
|
8
|
-
export declare const inputContainerClasses: string;
|
|
9
|
-
export declare const prefixClasses: string;
|
|
10
|
-
export declare const sufixClasses: string;
|
|
11
|
-
export declare const variantClasses: {
|
|
12
|
-
default: string;
|
|
13
|
-
small: string;
|
|
14
|
-
large: string;
|
|
15
|
-
xlarge: string;
|
|
16
|
-
};
|
package/dist/Forms/index.d.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,34 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
|
-
import { icons } from '../icons-path';
|
|
3
|
-
declare const iconSizes: {
|
|
4
|
-
1: string;
|
|
5
|
-
2: string;
|
|
6
|
-
3: string;
|
|
7
|
-
4: string;
|
|
8
|
-
5: string;
|
|
9
|
-
6: string;
|
|
10
|
-
7: string;
|
|
11
|
-
8: string;
|
|
12
|
-
9: string;
|
|
13
|
-
10: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const Icon: FunctionComponent<IconProps>;
|
|
16
|
-
export interface IconProps {
|
|
17
|
-
/**
|
|
18
|
-
* Icon variation
|
|
19
|
-
*/
|
|
20
|
-
icon: keyof typeof icons;
|
|
21
|
-
/** Make icon block
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
block?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Adittional classes for icon
|
|
27
|
-
*/
|
|
28
|
-
className?: string;
|
|
29
|
-
/** Icon size, number beetween 1 and 10
|
|
30
|
-
* @default 5
|
|
31
|
-
*/
|
|
32
|
-
size?: keyof typeof iconSizes;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|