linear-react-components-ui 1.1.25-rc.2 → 1.1.26-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/lib/@types/Align.d.ts +2 -4
- package/lib/@types/ButtonTypes.d.ts +1 -3
- package/lib/@types/ColorStyles.d.ts +1 -3
- package/lib/@types/DataCombo.d.ts +1 -3
- package/lib/@types/Icon.d.ts +2 -5
- package/lib/@types/LabelStyles.d.ts +1 -3
- package/lib/@types/Period.d.ts +1 -3
- package/lib/@types/PermissionAttr.d.ts +2 -4
- package/lib/@types/PointerEvents.d.ts +1 -3
- package/lib/@types/Position.d.ts +1 -3
- package/lib/@types/PositionAlert.d.ts +1 -3
- package/lib/@types/Size.d.ts +1 -3
- package/lib/@types/SizePixels.d.ts +1 -3
- package/lib/@types/StorageMock.d.ts +1 -3
- package/lib/alerts/AlertContainer.d.ts +2 -8
- package/lib/alerts/AlertContainer.js +55 -71
- package/lib/alerts/AlertProvider.d.ts +3 -9
- package/lib/alerts/AlertProvider.js +32 -65
- package/lib/alerts/BaseAlert.d.ts +3 -9
- package/lib/alerts/BaseAlert.js +15 -31
- package/lib/alerts/Message.d.ts +3 -9
- package/lib/alerts/Message.js +65 -112
- package/lib/alerts/alert.spec.d.ts +0 -0
- package/lib/alerts/helpers.d.ts +3 -9
- package/lib/alerts/helpers.js +5 -9
- package/lib/alerts/index.d.ts +4 -11
- package/lib/alerts/index.js +6 -16
- package/lib/alerts/types.d.ts +10 -14
- package/lib/alerts/withAlert.d.ts +4 -9
- package/lib/alerts/withAlert.js +9 -23
- package/lib/assets/BaseAlert.css +1 -0
- package/lib/assets/Content.css +1 -0
- package/lib/assets/DefaultFile.css +1 -0
- package/lib/assets/Drawer.css +1 -0
- package/lib/assets/InputTextBase.css +1 -0
- package/lib/assets/button.css +1 -0
- package/lib/assets/gridlayout.css +1 -0
- package/lib/assets/index.css +1 -0
- package/lib/assets/index10.css +1 -0
- package/lib/assets/index11.css +1 -0
- package/lib/assets/index12.css +1 -0
- package/lib/assets/index13.css +1 -0
- package/lib/assets/index14.css +1 -0
- package/lib/assets/index15.css +1 -0
- package/lib/assets/index16.css +1 -0
- package/lib/assets/index17.css +1 -0
- package/lib/assets/index18.css +1 -0
- package/lib/assets/index19.css +1 -0
- package/lib/assets/index2.css +1 -0
- package/lib/assets/index20.css +1 -0
- package/lib/assets/index21.css +1 -0
- package/lib/assets/index22.css +1 -0
- package/lib/assets/index23.css +1 -0
- package/lib/assets/index24.css +1 -0
- package/lib/assets/index25.css +1 -0
- package/lib/assets/index26.css +1 -0
- package/lib/assets/index27.css +1 -0
- package/lib/assets/index28.css +1 -0
- package/lib/assets/index29.css +1 -0
- package/lib/assets/index3.css +1 -0
- package/lib/assets/index4.css +1 -0
- package/lib/assets/index5.css +1 -0
- package/lib/assets/index6.css +1 -0
- package/lib/assets/index7.css +1 -0
- package/lib/assets/index8.css +1 -0
- package/lib/assets/index9.css +1 -0
- package/lib/assets/label.css +1 -0
- package/lib/assets/noPermission.css +1 -0
- package/lib/assets/panel.css +1 -0
- package/lib/assets/radio.css +1 -0
- package/lib/assets/skeleton.css +1 -0
- package/lib/assets/table.css +1 -0
- package/lib/assets/tabs.css +1 -0
- package/lib/assets/toolbar.css +1 -0
- package/lib/assets/withDropdown.css +1 -0
- package/lib/avatar/avatar.spec.d.ts +1 -0
- package/lib/avatar/index.d.ts +3 -9
- package/lib/avatar/index.js +75 -89
- package/lib/avatar/types.d.ts +4 -8
- package/lib/badge/badge.spec.d.ts +1 -0
- package/lib/badge/index.d.ts +3 -6
- package/lib/badge/index.js +24 -28
- package/lib/badge/types.d.ts +1 -4
- package/lib/buttons/ActivateButton.d.ts +3 -11
- package/lib/buttons/ActivateButton.js +6 -14
- package/lib/buttons/AddButton.d.ts +3 -11
- package/lib/buttons/AddButton.js +7 -18
- package/lib/buttons/Button.d.ts +3 -11
- package/lib/buttons/Button.js +7 -22
- package/lib/buttons/ButtonGroups.d.ts +2 -4
- package/lib/buttons/ButtonGroups.js +4 -16
- package/lib/buttons/CancelButton.d.ts +3 -11
- package/lib/buttons/CancelButton.js +5 -22
- package/lib/buttons/DangerButton.d.ts +3 -11
- package/lib/buttons/DangerButton.js +5 -22
- package/lib/buttons/DefaultButton.d.ts +3 -11
- package/lib/buttons/DefaultButton.js +123 -171
- package/lib/buttons/DestroyButton.d.ts +3 -11
- package/lib/buttons/DestroyButton.js +6 -21
- package/lib/buttons/EditButton.d.ts +3 -11
- package/lib/buttons/EditButton.js +6 -14
- package/lib/buttons/InactivateButton.d.ts +3 -11
- package/lib/buttons/InactivateButton.js +6 -14
- package/lib/buttons/InfoButton.d.ts +3 -11
- package/lib/buttons/InfoButton.js +5 -22
- package/lib/buttons/PrimaryButton.d.ts +3 -11
- package/lib/buttons/PrimaryButton.js +5 -22
- package/lib/buttons/RestoreButton.d.ts +3 -11
- package/lib/buttons/RestoreButton.js +6 -14
- package/lib/buttons/SaveButton.d.ts +3 -11
- package/lib/buttons/SaveButton.js +5 -22
- package/lib/buttons/SuccessButton.d.ts +3 -11
- package/lib/buttons/SuccessButton.js +5 -22
- package/lib/buttons/WarningButton.d.ts +3 -11
- package/lib/buttons/WarningButton.js +5 -22
- package/lib/buttons/button_container/index.d.ts +4 -6
- package/lib/buttons/button_container/index.js +16 -28
- package/lib/buttons/buttons.spec.d.ts +0 -0
- package/lib/buttons/index.d.ts +17 -26
- package/lib/buttons/index.js +33 -108
- package/lib/buttons/split_button/index.d.ts +3 -11
- package/lib/buttons/split_button/index.js +56 -59
- package/lib/buttons/types.d.ts +8 -15
- package/lib/calendar/DangerCalendar.d.ts +3 -8
- package/lib/calendar/DangerCalendar.js +5 -17
- package/lib/calendar/InfoCalendar.d.ts +3 -8
- package/lib/calendar/InfoCalendar.js +5 -17
- package/lib/calendar/PrimaryCalendar.d.ts +3 -8
- package/lib/calendar/PrimaryCalendar.js +5 -17
- package/lib/calendar/SuccessCalendar.d.ts +3 -8
- package/lib/calendar/SuccessCalendar.js +5 -17
- package/lib/calendar/WarningCalendar.d.ts +3 -8
- package/lib/calendar/WarningCalendar.js +5 -17
- package/lib/calendar/base/Day.d.ts +3 -0
- package/lib/calendar/base/Day.js +27 -0
- package/lib/calendar/base/Month.d.ts +3 -0
- package/lib/calendar/base/Month.js +25 -0
- package/lib/calendar/base/Week.d.ts +3 -0
- package/lib/calendar/base/Week.js +23 -0
- package/lib/calendar/base/helpers.d.ts +15 -18
- package/lib/calendar/base/helpers.js +87 -96
- package/lib/calendar/base/index.d.ts +3 -8
- package/lib/calendar/base/index.js +100 -195
- package/lib/calendar/calendar.spec.d.ts +0 -0
- package/lib/calendar/index.d.ts +8 -14
- package/lib/calendar/index.js +14 -44
- package/lib/calendar/types.d.ts +5 -8
- package/lib/checkbox/checkbox.spec.d.ts +1 -0
- package/lib/checkbox/index.d.ts +4 -8
- package/lib/checkbox/index.js +31 -145
- package/lib/checkbox/types.d.ts +5 -7
- package/lib/chunks/index.CmrLK9Qe.js +675 -0
- package/lib/chunks/index.D5f6Ow9V.js +89 -0
- package/lib/chunks/index.Da--18GT.js +669 -0
- package/lib/chunks/index.yztgndLc.js +206 -0
- package/lib/chunks/jsx-runtime.CYK1ROHF.js +445 -0
- package/lib/chunks/tabs.Cvj2MJH6.js +246 -0
- package/lib/chunks/v1.CDXKvGzE.js +41 -0
- package/lib/dialog/Alert.d.ts +3 -9
- package/lib/dialog/Alert.js +22 -31
- package/lib/dialog/Custom.d.ts +3 -9
- package/lib/dialog/Custom.js +31 -54
- package/lib/dialog/Error.d.ts +3 -9
- package/lib/dialog/Error.js +22 -31
- package/lib/dialog/Information.d.ts +3 -9
- package/lib/dialog/Information.js +22 -31
- package/lib/dialog/Question.d.ts +3 -9
- package/lib/dialog/Question.js +59 -58
- package/lib/dialog/Warning.d.ts +3 -9
- package/lib/dialog/Warning.js +22 -31
- package/lib/dialog/base/Content.d.ts +3 -9
- package/lib/dialog/base/Content.js +5 -22
- package/lib/dialog/base/Footer.d.ts +3 -9
- package/lib/dialog/base/Footer.js +5 -12
- package/lib/dialog/base/Header.d.ts +3 -9
- package/lib/dialog/base/Header.js +6 -57
- package/lib/dialog/base/index.d.ts +5 -10
- package/lib/dialog/base/index.js +8 -210
- package/lib/dialog/base/style.d.ts +7 -0
- package/lib/dialog/dialog.spec.d.ts +0 -0
- package/lib/dialog/form/index.d.ts +5 -10
- package/lib/dialog/form/index.js +14 -84
- package/lib/dialog/index.d.ts +9 -16
- package/lib/dialog/index.js +16 -51
- package/lib/dialog/types.d.ts +16 -21
- package/lib/dialog/wizard/index.d.ts +9 -13
- package/lib/dialog/wizard/index.js +14 -80
- package/lib/dialog/wizard/progressbar.d.ts +2 -5
- package/lib/dialog/wizard/progressbar.js +5 -38
- package/lib/dialog/wizard/step.d.ts +2 -9
- package/lib/dialog/wizard/step.js +5 -22
- package/lib/dialog/wizard/useWizard.d.ts +2 -9
- package/lib/dialog/wizard/useWizard.js +26 -42
- package/lib/dialog/wizard/wizard.spec.d.ts +0 -0
- package/lib/drawer/Content.d.ts +3 -10
- package/lib/drawer/Content.js +10 -25
- package/lib/drawer/Drawer.d.ts +4 -10
- package/lib/drawer/Drawer.js +68 -142
- package/lib/drawer/Drawer.spec.d.ts +1 -0
- package/lib/drawer/Header.d.ts +3 -10
- package/lib/drawer/Header.js +40 -73
- package/lib/drawer/helpers.d.ts +4 -10
- package/lib/drawer/helpers.js +5 -10
- package/lib/drawer/index.d.ts +5 -12
- package/lib/drawer/index.js +10 -25
- package/lib/drawer/types.d.ts +7 -12
- package/lib/dropdown/Popup.d.ts +3 -6
- package/lib/dropdown/Popup.js +45 -86
- package/lib/dropdown/dropdown.spec.d.ts +1 -0
- package/lib/dropdown/helper.d.ts +2 -4
- package/lib/dropdown/helper.js +7 -15
- package/lib/dropdown/types.d.ts +7 -10
- package/lib/dropdown/withDropdown.d.ts +7 -8
- package/lib/dropdown/withDropdown.js +50 -88
- package/lib/fieldset/fieldset.spec.d.ts +1 -0
- package/lib/fieldset/index.d.ts +3 -8
- package/lib/fieldset/index.js +49 -81
- package/lib/fieldset/types.d.ts +5 -8
- package/lib/form/Field.d.ts +2 -14
- package/lib/form/Field.js +66 -129
- package/lib/form/FieldArray.d.ts +2 -14
- package/lib/form/FieldArray.js +83 -96
- package/lib/form/FieldNumber.d.ts +2 -14
- package/lib/form/FieldNumber.js +42 -75
- package/lib/form/FieldPeriod.d.ts +2 -14
- package/lib/form/FieldPeriod.js +57 -94
- package/lib/form/form.spec.d.ts +0 -0
- package/lib/form/helpers.d.ts +8 -19
- package/lib/form/helpers.js +23 -48
- package/lib/form/index.d.ts +8 -18
- package/lib/form/index.js +153 -299
- package/lib/form/types.d.ts +23 -45
- package/lib/form/withFieldHOC.d.ts +4 -14
- package/lib/form/withFieldHOC.js +47 -67
- package/lib/form/withFormSecurity.d.ts +6 -15
- package/lib/form/withFormSecurity.js +31 -53
- package/lib/gridlayout/GridCol.d.ts +3 -6
- package/lib/gridlayout/GridCol.js +24 -32
- package/lib/gridlayout/GridRow.d.ts +3 -6
- package/lib/gridlayout/GridRow.js +22 -32
- package/lib/gridlayout/gridLayout.spec.d.ts +1 -0
- package/lib/gridlayout/index.d.ts +4 -8
- package/lib/gridlayout/index.js +6 -16
- package/lib/gridlayout/types.d.ts +3 -6
- package/lib/hint/helpers.d.ts +1 -3
- package/lib/hint/helpers.js +8 -21
- package/lib/hint/hint.spec.d.ts +1 -0
- package/lib/hint/index.d.ts +3 -7
- package/lib/hint/index.js +25 -33
- package/lib/hint/types.d.ts +2 -5
- package/lib/icons/helper.d.ts +1 -2
- package/lib/icons/helper.js +748 -324
- package/lib/icons/icons.spec.d.ts +1 -0
- package/lib/icons/index.d.ts +3 -12
- package/lib/icons/index.js +58 -70
- package/lib/icons/types.d.ts +8 -11
- package/lib/index.d.ts +10 -39
- package/lib/index.js +27 -69
- package/lib/inputs/base/InputTextBase.d.ts +3 -11
- package/lib/inputs/base/InputTextBase.js +259 -257
- package/lib/inputs/base/Label.d.ts +3 -11
- package/lib/inputs/base/Label.js +30 -33
- package/lib/inputs/base/base.spec.d.ts +1 -0
- package/lib/inputs/base/helpers.d.ts +6 -13
- package/lib/inputs/base/helpers.js +25 -43
- package/lib/inputs/base/types.d.ts +9 -14
- package/lib/inputs/color/color_input.spec.d.ts +0 -0
- package/lib/inputs/color/index.d.ts +3 -7
- package/lib/inputs/color/index.js +73 -90
- package/lib/inputs/color/types.d.ts +2 -5
- package/lib/inputs/date/Dialog.d.ts +3 -13
- package/lib/inputs/date/Dialog.js +16 -24
- package/lib/inputs/date/Dropdown.d.ts +3 -13
- package/lib/inputs/date/Dropdown.js +15 -36
- package/lib/inputs/date/date.spec.d.ts +1 -0
- package/lib/inputs/date/helpers.d.ts +2 -34
- package/lib/inputs/date/helpers.js +9 -47
- package/lib/inputs/date/index.d.ts +3 -13
- package/lib/inputs/date/index.js +168 -277
- package/lib/inputs/date/types.d.ts +6 -14
- package/lib/inputs/errorMessage/error.spec.d.ts +1 -0
- package/lib/inputs/errorMessage/index.d.ts +4 -16
- package/lib/inputs/errorMessage/index.js +15 -25
- package/lib/inputs/file/DefaultFile.d.ts +3 -13
- package/lib/inputs/file/DefaultFile.js +68 -77
- package/lib/inputs/file/DragDropFile.d.ts +3 -13
- package/lib/inputs/file/DragDropFile.js +183 -264
- package/lib/inputs/file/File.d.ts +3 -13
- package/lib/inputs/file/File.js +42 -60
- package/lib/inputs/file/FileButtonSettings.d.ts +3 -13
- package/lib/inputs/file/FileButtonSettings.js +20 -32
- package/lib/inputs/file/filefield.spec.d.ts +1 -0
- package/lib/inputs/file/helpers.d.ts +2 -13
- package/lib/inputs/file/helpers.js +9 -19
- package/lib/inputs/file/index.d.ts +5 -16
- package/lib/inputs/file/index.js +8 -24
- package/lib/inputs/file/types.d.ts +8 -16
- package/lib/inputs/inputHOC.d.ts +4 -16
- package/lib/inputs/inputHOC.js +21 -41
- package/lib/inputs/mask/BaseMask.d.ts +3 -12
- package/lib/inputs/mask/BaseMask.js +2626 -147
- package/lib/inputs/mask/Cnpj.d.ts +3 -12
- package/lib/inputs/mask/Cnpj.js +35 -55
- package/lib/inputs/mask/Cpf.d.ts +3 -12
- package/lib/inputs/mask/Cpf.js +33 -54
- package/lib/inputs/mask/Phone.d.ts +3 -12
- package/lib/inputs/mask/Phone.js +8 -18
- package/lib/inputs/mask/ZipCode.d.ts +3 -12
- package/lib/inputs/mask/ZipCode.js +6 -14
- package/lib/inputs/mask/helpers.d.ts +52 -15
- package/lib/inputs/mask/helpers.js +62 -118
- package/lib/inputs/mask/index.d.ts +7 -17
- package/lib/inputs/mask/index.js +12 -37
- package/lib/inputs/mask/input_mask.spec.d.ts +0 -0
- package/lib/inputs/mask/types.d.ts +9 -16
- package/lib/inputs/multiSelect/ActionButtons.d.ts +3 -13
- package/lib/inputs/multiSelect/ActionButtons.js +49 -50
- package/lib/inputs/multiSelect/Dropdown.d.ts +3 -13
- package/lib/inputs/multiSelect/Dropdown.js +133 -132
- package/lib/inputs/multiSelect/helper.d.ts +2 -12
- package/lib/inputs/multiSelect/helper.js +9 -18
- package/lib/inputs/multiSelect/index.d.ts +3 -13
- package/lib/inputs/multiSelect/index.js +133 -211
- package/lib/inputs/multiSelect/multiSelect.spec.d.ts +1 -0
- package/lib/inputs/multiSelect/types.d.ts +7 -15
- package/lib/inputs/number/BaseNumber.d.ts +3 -17
- package/lib/inputs/number/BaseNumber.js +39 -70
- package/lib/inputs/number/Currency.d.ts +3 -17
- package/lib/inputs/number/Currency.js +14 -28
- package/lib/inputs/number/Decimal.d.ts +3 -17
- package/lib/inputs/number/Decimal.js +6 -11
- package/lib/inputs/number/format_number.d.ts +3 -5
- package/lib/inputs/number/format_number.js +8 -28
- package/lib/inputs/number/index.d.ts +6 -19
- package/lib/inputs/number/index.js +35 -61
- package/lib/inputs/number/numberfield.spec.d.ts +1 -0
- package/lib/inputs/number/types.d.ts +8 -19
- package/lib/inputs/period/Dialog.d.ts +3 -14
- package/lib/inputs/period/Dialog.js +16 -25
- package/lib/inputs/period/Dropdown.d.ts +3 -14
- package/lib/inputs/period/Dropdown.js +16 -34
- package/lib/inputs/period/PeriodList.d.ts +3 -14
- package/lib/inputs/period/PeriodList.js +26 -58
- package/lib/inputs/period/helper.d.ts +5 -16
- package/lib/inputs/period/helper.js +26 -57
- package/lib/inputs/period/index.d.ts +3 -14
- package/lib/inputs/period/index.js +322 -518
- package/lib/inputs/period/types.d.ts +13 -22
- package/lib/inputs/search/index.d.ts +3 -16
- package/lib/inputs/search/index.js +76 -129
- package/lib/inputs/search/search_input.spec.d.ts +1 -0
- package/lib/inputs/select/ActionButtons.d.ts +3 -16
- package/lib/inputs/select/ActionButtons.js +47 -37
- package/lib/inputs/select/Dropdown.d.ts +3 -16
- package/lib/inputs/select/Dropdown.js +116 -111
- package/lib/inputs/select/helper.d.ts +7 -21
- package/lib/inputs/select/helper.js +48 -106
- package/lib/inputs/select/index.d.ts +3 -13
- package/lib/inputs/select/index.js +28 -41
- package/lib/inputs/select/multiple/Selecteds.d.ts +3 -13
- package/lib/inputs/select/multiple/Selecteds.js +20 -26
- package/lib/inputs/select/multiple/index.d.ts +3 -13
- package/lib/inputs/select/multiple/index.js +187 -276
- package/lib/inputs/select/select.spec.d.ts +1 -0
- package/lib/inputs/select/simple/index.d.ts +3 -13
- package/lib/inputs/select/simple/index.js +205 -290
- package/lib/inputs/select/types.d.ts +14 -21
- package/lib/inputs/text/index.d.ts +3 -12
- package/lib/inputs/text/index.js +6 -13
- package/lib/inputs/text/textfield.spec.d.ts +1 -0
- package/lib/inputs/text/types.d.ts +7 -11
- package/lib/inputs/textarea/index.d.ts +3 -12
- package/lib/inputs/textarea/index.js +17 -24
- package/lib/inputs/textarea/textarea.spec.d.ts +1 -0
- package/lib/inputs/textarea/types.d.ts +2 -11
- package/lib/inputs/types.d.ts +17 -25
- package/lib/internals/colorStyles.d.ts +1 -2
- package/lib/internals/colorStyles.js +9 -13
- package/lib/internals/constants.d.ts +2 -7
- package/lib/internals/constants.js +5 -11
- package/lib/internals/types.d.ts +6 -9
- package/lib/internals/withTooltip.d.ts +6 -10
- package/lib/internals/withTooltip.js +61 -158
- package/lib/labelMessages/index.d.ts +3 -9
- package/lib/labelMessages/index.js +46 -58
- package/lib/labelMessages/labelMessages.spec.d.ts +1 -0
- package/lib/labelMessages/types.d.ts +3 -7
- package/lib/labels/DangerLabel.d.ts +3 -11
- package/lib/labels/DangerLabel.js +5 -17
- package/lib/labels/DefaultLabel.d.ts +3 -11
- package/lib/labels/DefaultLabel.js +39 -53
- package/lib/labels/InfoLabel.d.ts +3 -11
- package/lib/labels/InfoLabel.js +5 -17
- package/lib/labels/PrimaryLabel.d.ts +3 -11
- package/lib/labels/PrimaryLabel.js +5 -17
- package/lib/labels/SuccessLabel.d.ts +3 -11
- package/lib/labels/SuccessLabel.js +5 -17
- package/lib/labels/WarningLabel.d.ts +3 -11
- package/lib/labels/WarningLabel.js +5 -17
- package/lib/labels/index.d.ts +9 -18
- package/lib/labels/index.js +17 -52
- package/lib/labels/label.spec.d.ts +1 -0
- package/lib/labels/label_container/index.d.ts +4 -6
- package/lib/labels/label_container/index.js +11 -21
- package/lib/labels/types.d.ts +5 -9
- package/lib/list/Header.d.ts +3 -10
- package/lib/list/Header.js +7 -22
- package/lib/list/Item.d.ts +3 -10
- package/lib/list/Item.js +12 -161
- package/lib/list/Separator.d.ts +2 -3
- package/lib/list/Separator.js +5 -12
- package/lib/list/helpers.d.ts +4 -10
- package/lib/list/helpers.js +10 -14
- package/lib/list/index.d.ts +7 -13
- package/lib/list/index.js +91 -172
- package/lib/list/list.spec.d.ts +1 -0
- package/lib/list/types.d.ts +10 -14
- package/lib/menus/float/MenuItem.d.ts +3 -9
- package/lib/menus/float/MenuItem.js +54 -65
- package/lib/menus/float/SubMenuContainer.d.ts +29 -0
- package/lib/menus/float/float-menu.spec.d.ts +0 -0
- package/lib/menus/float/helpers.d.ts +4 -9
- package/lib/menus/float/helpers.js +5 -10
- package/lib/menus/float/index.d.ts +6 -40
- package/lib/menus/float/index.js +88 -64
- package/lib/menus/float/types.d.ts +5 -9
- package/lib/menus/index.d.ts +2 -12
- package/lib/menus/index.js +4 -9
- package/lib/menus/sidenav/ExpandMenu.d.ts +3 -12
- package/lib/menus/sidenav/ExpandMenu.js +14 -24
- package/lib/menus/sidenav/MenuLink.d.ts +3 -12
- package/lib/menus/sidenav/MenuLink.js +15 -27
- package/lib/menus/sidenav/NavMenuGroup.d.ts +3 -12
- package/lib/menus/sidenav/NavMenuGroup.js +16 -25
- package/lib/menus/sidenav/NavMenuItem.d.ts +3 -12
- package/lib/menus/sidenav/NavMenuItem.js +110 -140
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +3 -12
- package/lib/menus/sidenav/NavSubMenuItem.js +22 -42
- package/lib/menus/sidenav/helpers.d.ts +5 -13
- package/lib/menus/sidenav/helpers.js +9 -17
- package/lib/menus/sidenav/index.d.ts +8 -16
- package/lib/menus/sidenav/index.js +122 -178
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +3 -12
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js +18 -25
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +4 -12
- package/lib/menus/sidenav/popup_menu_search/index.js +83 -109
- package/lib/menus/sidenav/sidenav.spec.d.ts +1 -0
- package/lib/menus/sidenav/types.d.ts +18 -23
- package/lib/noPermission/index.d.ts +2 -3
- package/lib/noPermission/index.js +11 -23
- package/lib/panel/Content.d.ts +3 -10
- package/lib/panel/Content.js +42 -78
- package/lib/panel/DangerPanel.d.ts +3 -10
- package/lib/panel/DangerPanel.js +7 -15
- package/lib/panel/Default.d.ts +3 -10
- package/lib/panel/Default.js +38 -63
- package/lib/panel/Header.d.ts +3 -10
- package/lib/panel/Header.js +40 -73
- package/lib/panel/InfoPanel.d.ts +3 -10
- package/lib/panel/InfoPanel.js +7 -15
- package/lib/panel/PrimaryPanel.d.ts +3 -10
- package/lib/panel/PrimaryPanel.js +7 -15
- package/lib/panel/SuccessPanel.d.ts +3 -10
- package/lib/panel/SuccessPanel.js +7 -15
- package/lib/panel/ToolBar.d.ts +3 -10
- package/lib/panel/ToolBar.js +5 -21
- package/lib/panel/WarningPanel.d.ts +3 -10
- package/lib/panel/WarningPanel.js +7 -15
- package/lib/panel/helpers.d.ts +5 -11
- package/lib/panel/helpers.js +11 -24
- package/lib/panel/index.d.ts +10 -18
- package/lib/panel/index.js +19 -59
- package/lib/panel/panel.spec.d.ts +0 -0
- package/lib/panel/types.d.ts +11 -15
- package/lib/permissionValidations.d.ts +4 -6
- package/lib/permissionValidations.js +37 -54
- package/lib/popover/PopoverText.d.ts +4 -11
- package/lib/popover/PopoverText.js +7 -20
- package/lib/popover/PopoverTitle.d.ts +3 -11
- package/lib/popover/PopoverTitle.js +4 -16
- package/lib/popover/index.d.ts +6 -13
- package/lib/popover/index.js +55 -65
- package/lib/popover/popover.spec.d.ts +1 -0
- package/lib/popover/types.d.ts +8 -12
- package/lib/progress/Bar.d.ts +3 -6
- package/lib/progress/Bar.js +39 -71
- package/lib/progress/index.d.ts +5 -7
- package/lib/progress/index.js +20 -37
- package/lib/progress/progress.spec.d.ts +1 -0
- package/lib/progress/types.d.ts +4 -7
- package/lib/radio/index.d.ts +3 -11
- package/lib/radio/index.js +94 -112
- package/lib/radio/radio.spec.d.ts +1 -0
- package/lib/radio/types.d.ts +3 -6
- package/lib/shortcuts/index.d.ts +3 -7
- package/lib/shortcuts/index.js +8 -27
- package/lib/shortcuts/shortcuts.spec.d.ts +0 -0
- package/lib/shortcuts/types.d.ts +2 -5
- package/lib/skeleton/SkeletonContainer.d.ts +3 -7
- package/lib/skeleton/SkeletonContainer.js +8 -22
- package/lib/skeleton/index.d.ts +5 -8
- package/lib/skeleton/index.js +23 -52
- package/lib/skeleton/types.d.ts +3 -6
- package/lib/spinner/SpinnerLoading.d.ts +3 -7
- package/lib/spinner/SpinnerLoading.js +17 -219
- package/lib/spinner/index.d.ts +3 -7
- package/lib/spinner/index.js +38 -57
- package/lib/spinner/spinner.spec.d.ts +1 -0
- package/lib/spinner/types.d.ts +5 -8
- package/lib/split/Split.d.ts +3 -6
- package/lib/split/Split.js +172 -275
- package/lib/split/SplitSide.d.ts +3 -6
- package/lib/split/SplitSide.js +17 -40
- package/lib/split/helpers.d.ts +4 -6
- package/lib/split/helpers.js +5 -10
- package/lib/split/index.d.ts +4 -8
- package/lib/split/index.js +6 -17
- package/lib/split/split.spec.d.ts +0 -0
- package/lib/split/types.d.ts +3 -6
- package/lib/table/Body.d.ts +3 -6
- package/lib/table/Body.js +56 -68
- package/lib/table/Header.d.ts +3 -6
- package/lib/table/Header.js +38 -86
- package/lib/table/HeaderColumn.d.ts +3 -6
- package/lib/table/HeaderColumn.js +27 -52
- package/lib/table/Row.d.ts +3 -6
- package/lib/table/Row.js +51 -75
- package/lib/table/RowColumn.d.ts +3 -6
- package/lib/table/RowColumn.js +41 -76
- package/lib/table/helpers.d.ts +6 -7
- package/lib/table/helpers.js +7 -15
- package/lib/table/index.d.ts +9 -11
- package/lib/table/index.js +105 -154
- package/lib/table/table.spec.d.ts +1 -0
- package/lib/table/types.d.ts +8 -12
- package/lib/tabs/DropdownTabs.d.ts +3 -11
- package/lib/tabs/DropdownTabs.js +78 -84
- package/lib/tabs/Menu.d.ts +3 -11
- package/lib/tabs/Menu.js +50 -46
- package/lib/tabs/MenuTabs.d.ts +4 -11
- package/lib/tabs/MenuTabs.js +87 -93
- package/lib/tabs/Panel.d.ts +3 -11
- package/lib/tabs/Panel.js +48 -80
- package/lib/tabs/context.d.ts +4 -12
- package/lib/tabs/context.js +63 -124
- package/lib/tabs/index.d.ts +5 -12
- package/lib/tabs/index.js +66 -74
- package/lib/tabs/tabHelpers.d.ts +7 -10
- package/lib/tabs/tabHelpers.js +39 -63
- package/lib/tabs/tabs.spec.d.ts +0 -0
- package/lib/tabs/types.d.ts +14 -24
- package/lib/tabs/useTabs.d.ts +1 -11
- package/lib/tabs/useTabs.js +8 -11
- package/lib/textContent/index.d.ts +6 -10
- package/lib/textContent/index.js +34 -37
- package/lib/textContent/textContent.spec.d.ts +1 -0
- package/lib/toolbar/ButtonBar.d.ts +3 -12
- package/lib/toolbar/ButtonBar.js +60 -63
- package/lib/toolbar/LabelBar.d.ts +3 -12
- package/lib/toolbar/LabelBar.js +40 -55
- package/lib/toolbar/Separator.d.ts +2 -3
- package/lib/toolbar/Separator.js +5 -12
- package/lib/toolbar/ToolBarGroup.d.ts +3 -12
- package/lib/toolbar/ToolBarGroup.js +4 -18
- package/lib/toolbar/helpers.d.ts +3 -12
- package/lib/toolbar/helpers.js +5 -9
- package/lib/toolbar/index.d.ts +8 -16
- package/lib/toolbar/index.js +32 -64
- package/lib/toolbar/toolbar.spec.d.ts +1 -0
- package/lib/toolbar/types.d.ts +11 -15
- package/lib/tooltip/index.d.ts +4 -6
- package/lib/tooltip/index.js +37 -61
- package/lib/tooltip/tooltip.spec.d.ts +1 -0
- package/lib/tooltip/types.d.ts +2 -4
- package/lib/treetable/Body.d.ts +2 -3
- package/lib/treetable/Body.js +33 -32
- package/lib/treetable/Header.d.ts +2 -3
- package/lib/treetable/Header.js +25 -23
- package/lib/treetable/Row.d.ts +3 -7
- package/lib/treetable/Row.js +152 -232
- package/lib/treetable/helpers.d.ts +4 -9
- package/lib/treetable/helpers.js +23 -30
- package/lib/treetable/index.d.ts +4 -8
- package/lib/treetable/index.js +17 -27
- package/lib/treeview/Header.d.ts +3 -7
- package/lib/treeview/Header.js +7 -20
- package/lib/treeview/Node.d.ts +3 -7
- package/lib/treeview/Node.js +173 -235
- package/lib/treeview/constants.d.ts +3 -7
- package/lib/treeview/constants.js +5 -9
- package/lib/treeview/index.d.ts +6 -9
- package/lib/treeview/index.js +177 -312
- package/lib/treeview/treeview.spec.d.ts +0 -0
- package/lib/treeview/types.d.ts +12 -14
- package/lib/uitour/helpers.d.ts +1 -2
- package/lib/uitour/helpers.js +9 -12
- package/lib/uitour/index.d.ts +4 -7
- package/lib/uitour/index.js +167 -236
- package/lib/uitour/types.d.ts +7 -10
- package/lib/uitour/uitour.spec.d.ts +0 -0
- package/package.json +37 -58
- package/lib/@types/Align.js +0 -5
- package/lib/@types/ButtonTypes.js +0 -5
- package/lib/@types/ColorStyles.js +0 -5
- package/lib/@types/DataCombo.js +0 -5
- package/lib/@types/Icon.js +0 -5
- package/lib/@types/LabelStyles.js +0 -5
- package/lib/@types/Period.js +0 -5
- package/lib/@types/PermissionAttr.js +0 -5
- package/lib/@types/PointerEvents.js +0 -5
- package/lib/@types/Position.js +0 -5
- package/lib/@types/PositionAlert.js +0 -5
- package/lib/@types/Size.js +0 -5
- package/lib/@types/SizePixels.js +0 -5
- package/lib/@types/StorageMock.js +0 -5
- package/lib/alerts/types.js +0 -5
- package/lib/assets/fonts/Roboto-Black.woff +0 -0
- package/lib/assets/fonts/Roboto-Black.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Bold.woff +0 -0
- package/lib/assets/fonts/Roboto-Bold.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Light.woff +0 -0
- package/lib/assets/fonts/Roboto-Light.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Medium.woff +0 -0
- package/lib/assets/fonts/Roboto-Medium.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Regular.woff +0 -0
- package/lib/assets/fonts/Roboto-Regular.woff2 +0 -0
- package/lib/assets/fonts/Roboto-Thin.woff +0 -0
- package/lib/assets/fonts/Roboto-Thin.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Black.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Black.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Bold.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Bold.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-ExtraLight.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-ExtraLight.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Light.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Light.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-Regular.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-Regular.woff2 +0 -0
- package/lib/assets/fonts/TitilliumWeb-SemiBold.woff +0 -0
- package/lib/assets/fonts/TitilliumWeb-SemiBold.woff2 +0 -0
- package/lib/assets/images/logo.png +0 -0
- package/lib/assets/styles/alerts.scss +0 -149
- package/lib/assets/styles/avatar.scss +0 -42
- package/lib/assets/styles/badge.scss +0 -48
- package/lib/assets/styles/button.scss +0 -373
- package/lib/assets/styles/calendar.scss +0 -311
- package/lib/assets/styles/checkbox.scss +0 -108
- package/lib/assets/styles/colorpicker.scss +0 -17
- package/lib/assets/styles/colors.scss +0 -144
- package/lib/assets/styles/commons.scss +0 -138
- package/lib/assets/styles/datepicker.scss +0 -36
- package/lib/assets/styles/dialog.scss +0 -200
- package/lib/assets/styles/drawers.scss +0 -159
- package/lib/assets/styles/dropdown.scss +0 -179
- package/lib/assets/styles/effects.scss +0 -821
- package/lib/assets/styles/error.scss +0 -9
- package/lib/assets/styles/fieldset.scss +0 -96
- package/lib/assets/styles/file.scss +0 -229
- package/lib/assets/styles/floatMenu.scss +0 -15
- package/lib/assets/styles/fonts.scss +0 -86
- package/lib/assets/styles/form.scss +0 -23
- package/lib/assets/styles/gridlayout.scss +0 -2054
- package/lib/assets/styles/hint.scss +0 -30
- package/lib/assets/styles/icon.scss +0 -42
- package/lib/assets/styles/input.scss +0 -156
- package/lib/assets/styles/label.scss +0 -118
- package/lib/assets/styles/labelMessages.scss +0 -81
- package/lib/assets/styles/list.scss +0 -124
- package/lib/assets/styles/multiSelect.scss +0 -125
- package/lib/assets/styles/noPermission.scss +0 -25
- package/lib/assets/styles/numbers.scss +0 -5
- package/lib/assets/styles/panel.scss +0 -95
- package/lib/assets/styles/periodpicker.scss +0 -109
- package/lib/assets/styles/popover.scss +0 -44
- package/lib/assets/styles/progress.scss +0 -72
- package/lib/assets/styles/radio.scss +0 -156
- package/lib/assets/styles/search.scss +0 -13
- package/lib/assets/styles/select.scss +0 -159
- package/lib/assets/styles/shortcuts.scss +0 -59
- package/lib/assets/styles/sidenav.scss +0 -409
- package/lib/assets/styles/skeleton.scss +0 -48
- package/lib/assets/styles/spinner.scss +0 -34
- package/lib/assets/styles/split.scss +0 -80
- package/lib/assets/styles/table.scss +0 -185
- package/lib/assets/styles/tabs.scss +0 -304
- package/lib/assets/styles/textContent.scss +0 -9
- package/lib/assets/styles/toolbar.scss +0 -74
- package/lib/assets/styles/tooltip.scss +0 -95
- package/lib/assets/styles/treetable.scss +0 -100
- package/lib/assets/styles/treeview.scss +0 -112
- package/lib/assets/styles/uitour.scss +0 -112
- package/lib/assets/styles/wizard.scss +0 -186
- package/lib/avatar/types.js +0 -5
- package/lib/badge/types.js +0 -5
- package/lib/buttons/types.js +0 -5
- package/lib/calendar/types.js +0 -5
- package/lib/checkbox/types.js +0 -5
- package/lib/dialog/base/style.js +0 -13
- package/lib/dialog/types.js +0 -5
- package/lib/drawer/types.js +0 -5
- package/lib/dropdown/types.js +0 -5
- package/lib/fieldset/types.js +0 -5
- package/lib/form/types.js +0 -5
- package/lib/gridlayout/types.js +0 -5
- package/lib/hint/types.js +0 -5
- package/lib/icons/types.js +0 -5
- package/lib/inputs/base/types.js +0 -5
- package/lib/inputs/color/types.js +0 -5
- package/lib/inputs/date/types.js +0 -5
- package/lib/inputs/file/types.js +0 -5
- package/lib/inputs/mask/types.js +0 -5
- package/lib/inputs/multiSelect/types.js +0 -5
- package/lib/inputs/number/types.js +0 -5
- package/lib/inputs/period/types.js +0 -5
- package/lib/inputs/select/types.js +0 -5
- package/lib/inputs/text/types.js +0 -5
- package/lib/inputs/textarea/types.js +0 -5
- package/lib/inputs/types.js +0 -5
- package/lib/internals/types.js +0 -5
- package/lib/labelMessages/types.js +0 -5
- package/lib/labels/types.js +0 -5
- package/lib/list/types.js +0 -5
- package/lib/menus/float/SubMenuContainer.js +0 -77
- package/lib/menus/float/types.js +0 -5
- package/lib/menus/sidenav/types.js +0 -5
- package/lib/panel/types.js +0 -5
- package/lib/popover/types.js +0 -5
- package/lib/progress/types.js +0 -5
- package/lib/radio/types.js +0 -5
- package/lib/shortcuts/types.js +0 -5
- package/lib/skeleton/types.js +0 -5
- package/lib/spinner/types.js +0 -5
- package/lib/split/types.js +0 -5
- package/lib/table/types.js +0 -5
- package/lib/tabs/types.js +0 -5
- package/lib/toolbar/types.js +0 -5
- package/lib/tooltip/types.js +0 -5
- package/lib/treetable/types.d.js +0 -5
- package/lib/treeview/types.js +0 -5
- package/lib/types.d-b477e076.d.ts +0 -47
- package/lib/uitour/types.js +0 -5
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import '
|
|
6
|
-
import '../../@types/Align.js';
|
|
7
|
-
import '../../@types/Position.js';
|
|
8
|
-
|
|
1
|
+
import { JSX } from 'react';
|
|
2
|
+
import { Period } from '../../@types/Period';
|
|
3
|
+
import { PermissionAttr } from '../../@types/PermissionAttr';
|
|
4
|
+
import { CustomInputEvent, IBaseProps } from '../base/types';
|
|
5
|
+
import { WithTooltipProps } from '../../internals/types';
|
|
9
6
|
type CommonProperties = Pick<WithTooltipProps, 'tooltip' | 'tooltipPosition' | 'tooltipWidth'>;
|
|
10
|
-
interface ITextField extends IBaseProps, CommonProperties {
|
|
7
|
+
export interface ITextField extends IBaseProps, CommonProperties {
|
|
11
8
|
value?: string | string[];
|
|
12
9
|
required?: boolean;
|
|
13
10
|
name?: string;
|
|
@@ -21,5 +18,4 @@ interface ITextField extends IBaseProps, CommonProperties {
|
|
|
21
18
|
permissionAttr?: PermissionAttr;
|
|
22
19
|
gridLayout?: string;
|
|
23
20
|
}
|
|
24
|
-
|
|
25
|
-
export { ITextField };
|
|
21
|
+
export {};
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import { ITextAreaProps } from './types
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import '../../@types/Align.js';
|
|
5
|
-
import '../../@types/Period.js';
|
|
6
|
-
import '../../@types/PermissionAttr.js';
|
|
7
|
-
import '../../internals/types.js';
|
|
8
|
-
import '../../@types/Position.js';
|
|
9
|
-
|
|
10
|
-
declare const TextArea: (props: ITextAreaProps) => JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { TextArea as default };
|
|
1
|
+
import { ITextAreaProps } from './types';
|
|
2
|
+
declare const TextArea: (props: ITextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default TextArea;
|
|
@@ -1,25 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement(_InputTextBase.default, _extends({}, props, {
|
|
19
|
-
rows: rows,
|
|
20
|
-
type: type,
|
|
21
|
-
cols: cols,
|
|
22
|
-
customClass: `textarea-container ${customClass}`
|
|
23
|
-
}));
|
|
1
|
+
import { j as r } from "../../chunks/jsx-runtime.CYK1ROHF.js";
|
|
2
|
+
import x from "../base/InputTextBase.js";
|
|
3
|
+
const c = (t) => {
|
|
4
|
+
const { rows: s, cols: e, customClass: a, type: o = "textarea" } = t;
|
|
5
|
+
return /* @__PURE__ */ r.jsx(
|
|
6
|
+
x,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
rows: s,
|
|
10
|
+
type: o,
|
|
11
|
+
cols: e,
|
|
12
|
+
customClass: `textarea-container ${a}`
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
c as default
|
|
24
18
|
};
|
|
25
|
-
var _default = exports.default = TextArea;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import { IBaseProps } from '../base/types
|
|
2
|
-
|
|
3
|
-
import '../../@types/Align.js';
|
|
4
|
-
import '../../@types/Period.js';
|
|
5
|
-
import '../../@types/PermissionAttr.js';
|
|
6
|
-
import '../../internals/types.js';
|
|
7
|
-
import '../../@types/Position.js';
|
|
8
|
-
|
|
9
|
-
interface ITextAreaProps extends IBaseProps {
|
|
1
|
+
import { IBaseProps } from '../base/types';
|
|
2
|
+
export interface ITextAreaProps extends IBaseProps {
|
|
10
3
|
rows?: number;
|
|
11
4
|
cols?: number;
|
|
12
5
|
customClass?: string;
|
|
13
6
|
type?: string;
|
|
14
7
|
}
|
|
15
|
-
|
|
16
|
-
export { ITextAreaProps };
|
package/lib/inputs/types.d.ts
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { DataCombo } from '../@types/DataCombo
|
|
4
|
-
import {
|
|
5
|
-
import { IDrawerProps } from '../drawer/types
|
|
6
|
-
import { TextAlign } from '../@types/Align
|
|
7
|
-
import '../@types/Period.js';
|
|
8
|
-
import '../internals/types.js';
|
|
9
|
-
import '../@types/Position.js';
|
|
10
|
-
import '../@types/Icon.js';
|
|
11
|
-
import '../icons/helper.js';
|
|
12
|
-
|
|
1
|
+
import { CSSProperties, JSX, KeyboardEvent, MouseEvent, MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { OnDenied, PermissionAttr } from '../@types/PermissionAttr';
|
|
3
|
+
import { DataCombo } from '../@types/DataCombo';
|
|
4
|
+
import { CustomInputEvent, IBaseProps } from './base/types';
|
|
5
|
+
import { IDrawerProps } from '../drawer/types';
|
|
6
|
+
import { TextAlign } from '../@types/Align';
|
|
13
7
|
type DescriptionKey = string | ((dataSelected: DataCombo) => string);
|
|
14
|
-
interface IAdvancedFilterProps extends Omit<IDrawerProps, 'content'> {
|
|
8
|
+
export interface IAdvancedFilterProps extends Omit<IDrawerProps, 'content'> {
|
|
15
9
|
onStateChange?: (value?: boolean) => void;
|
|
16
10
|
headerTitle?: string;
|
|
17
11
|
content?: ReactNode | ReactNode[];
|
|
18
12
|
}
|
|
19
|
-
interface ISearchProps extends IBaseProps {
|
|
13
|
+
export interface ISearchProps extends IBaseProps {
|
|
20
14
|
resetButton?: boolean;
|
|
21
15
|
onReset?: (event?: CustomInputEvent) => void;
|
|
22
16
|
onChange?: (event?: CustomInputEvent) => void;
|
|
@@ -31,16 +25,15 @@ interface ISearchProps extends IBaseProps {
|
|
|
31
25
|
rounded?: boolean;
|
|
32
26
|
inputRef?: MutableRefObject<HTMLInputElement | HTMLTextAreaElement | null>;
|
|
33
27
|
style?: CSSProperties;
|
|
34
|
-
drawerFilterIsOpened?: boolean;
|
|
35
28
|
}
|
|
36
|
-
interface IDropdownProps {
|
|
29
|
+
export interface IDropdownProps {
|
|
37
30
|
children: ReactNode | ReactNode[];
|
|
38
31
|
dropdownRef: (el: HTMLDivElement) => void;
|
|
39
32
|
topPosition: number | string;
|
|
40
33
|
leftPosition: number | string;
|
|
41
34
|
width: number | string;
|
|
42
35
|
}
|
|
43
|
-
interface IInputHOCProps {
|
|
36
|
+
export interface IInputHOCProps {
|
|
44
37
|
value?: string | string[];
|
|
45
38
|
required?: boolean;
|
|
46
39
|
gridLayout?: string;
|
|
@@ -49,9 +42,9 @@ interface IInputHOCProps {
|
|
|
49
42
|
cols?: number;
|
|
50
43
|
type?: string;
|
|
51
44
|
}
|
|
52
|
-
interface IMaskHOCProps {
|
|
45
|
+
export interface IMaskHOCProps {
|
|
53
46
|
label?: string;
|
|
54
|
-
value?: string
|
|
47
|
+
value?: string;
|
|
55
48
|
unmask?: boolean;
|
|
56
49
|
name?: string;
|
|
57
50
|
commit?: () => void;
|
|
@@ -100,7 +93,7 @@ interface IMaskHOCProps {
|
|
|
100
93
|
isDateField?: boolean;
|
|
101
94
|
autoCompleteMask?: 'left' | 'right';
|
|
102
95
|
}
|
|
103
|
-
interface IDropdownSelectProps {
|
|
96
|
+
export interface IDropdownSelectProps {
|
|
104
97
|
idKey: string;
|
|
105
98
|
descriptionKey: DescriptionKey;
|
|
106
99
|
dropdownWidth: number;
|
|
@@ -132,7 +125,7 @@ interface IDropdownSelectProps {
|
|
|
132
125
|
inputValue?: string;
|
|
133
126
|
align?: 'left' | 'right';
|
|
134
127
|
}
|
|
135
|
-
interface IActionButtonsSelectProps {
|
|
128
|
+
export interface IActionButtonsSelectProps {
|
|
136
129
|
handlerClear: () => void;
|
|
137
130
|
handlerOpenClose: () => void;
|
|
138
131
|
dropDownOpened: boolean;
|
|
@@ -140,7 +133,7 @@ interface IActionButtonsSelectProps {
|
|
|
140
133
|
disabled?: boolean;
|
|
141
134
|
customClassForSideButtons?: string;
|
|
142
135
|
}
|
|
143
|
-
interface IButtonsProps {
|
|
136
|
+
export interface IButtonsProps {
|
|
144
137
|
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
145
138
|
icon: ReactElement;
|
|
146
139
|
key: string;
|
|
@@ -150,10 +143,9 @@ interface IButtonsProps {
|
|
|
150
143
|
transparent: boolean;
|
|
151
144
|
disabled?: boolean;
|
|
152
145
|
}
|
|
153
|
-
interface ErrorProps {
|
|
146
|
+
export interface ErrorProps {
|
|
154
147
|
customClass?: string;
|
|
155
148
|
style?: React.CSSProperties;
|
|
156
149
|
messages?: string | string[];
|
|
157
150
|
}
|
|
158
|
-
|
|
159
|
-
export { ErrorProps, IActionButtonsSelectProps, IAdvancedFilterProps, IButtonsProps, IDropdownProps, IDropdownSelectProps, IInputHOCProps, IMaskHOCProps, ISearchProps };
|
|
151
|
+
export {};
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
DANGER: 'danger',
|
|
11
|
-
INFO: 'info',
|
|
12
|
-
WARNING: 'warning'
|
|
1
|
+
const r = {
|
|
2
|
+
PRIMARY: "primary",
|
|
3
|
+
SUCCESS: "success",
|
|
4
|
+
DANGER: "danger",
|
|
5
|
+
INFO: "info",
|
|
6
|
+
WARNING: "warning"
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
r as default
|
|
13
10
|
};
|
|
14
|
-
var _default = exports.default = ColorStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const keyCodes: {
|
|
1
|
+
export declare const keyCodes: {
|
|
2
2
|
TAB: number;
|
|
3
3
|
ENTER: number;
|
|
4
4
|
ARROW_UP: number;
|
|
@@ -6,9 +6,4 @@ declare const keyCodes: {
|
|
|
6
6
|
BACKSPACE: number;
|
|
7
7
|
F: number;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
10
|
-
TAB: string;
|
|
11
|
-
};
|
|
12
|
-
declare const PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE = 1;
|
|
13
|
-
|
|
14
|
-
export { PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE, keyCodes, keys };
|
|
9
|
+
export declare const PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE = 1;
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.keys = exports.keyCodes = exports.PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE = void 0;
|
|
7
|
-
const keyCodes = exports.keyCodes = {
|
|
1
|
+
const A = {
|
|
8
2
|
TAB: 9,
|
|
9
3
|
ENTER: 13,
|
|
10
4
|
ARROW_UP: 38,
|
|
11
5
|
ARROW_DOWN: 40,
|
|
12
6
|
BACKSPACE: 8,
|
|
13
7
|
F: 70
|
|
8
|
+
}, _ = 1;
|
|
9
|
+
export {
|
|
10
|
+
_ as PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE,
|
|
11
|
+
A as keyCodes
|
|
14
12
|
};
|
|
15
|
-
const keys = exports.keys = {
|
|
16
|
-
TAB: 'Tab'
|
|
17
|
-
};
|
|
18
|
-
const PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE = exports.PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE = 1;
|
package/lib/internals/types.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { OnDenied } from '../@types/PermissionAttr
|
|
3
|
-
import { Position } from '../@types/Position
|
|
4
|
-
|
|
5
|
-
interface WithTooltipProps {
|
|
2
|
+
import { OnDenied } from '../@types/PermissionAttr';
|
|
3
|
+
import { Position } from '../@types/Position';
|
|
4
|
+
export interface WithTooltipProps {
|
|
6
5
|
tooltipWidth?: string | number;
|
|
7
6
|
space?: number;
|
|
8
7
|
tooltip?: string;
|
|
@@ -11,15 +10,13 @@ interface WithTooltipProps {
|
|
|
11
10
|
handlerSetOnDeniedText?: (onDeniedValue: OnDenied) => void;
|
|
12
11
|
errorMessage?: string;
|
|
13
12
|
}
|
|
14
|
-
interface ITooltipContext {
|
|
13
|
+
export interface ITooltipContext {
|
|
15
14
|
handlerSetOnDeniedText: (text: string) => void;
|
|
16
15
|
}
|
|
17
|
-
interface GetDisplayNameParams {
|
|
16
|
+
export interface GetDisplayNameParams {
|
|
18
17
|
displayName?: string;
|
|
19
18
|
name?: string;
|
|
20
19
|
}
|
|
21
|
-
interface HasToolTipParams {
|
|
20
|
+
export interface HasToolTipParams {
|
|
22
21
|
tooltip?: string;
|
|
23
22
|
}
|
|
24
|
-
|
|
25
|
-
export { GetDisplayNameParams, HasToolTipParams, ITooltipContext, WithTooltipProps };
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare const TooltipContext: React__default.Context<ITooltipContext>;
|
|
7
|
-
declare const withTooltip: <ComponentProps extends WithTooltipProps>(WrappedComponent: React__default.ComponentType<ComponentProps>) => {
|
|
8
|
-
(props: ComponentProps): JSX.Element;
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { WithTooltipProps, ITooltipContext } from './types';
|
|
3
|
+
export declare const TooltipContext: React.Context<ITooltipContext>;
|
|
4
|
+
declare const withTooltip: <ComponentProps extends WithTooltipProps>(WrappedComponent: React.ComponentType<ComponentProps>) => {
|
|
5
|
+
(props: ComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
9
6
|
displayName: string;
|
|
10
7
|
};
|
|
11
|
-
|
|
12
|
-
export { TooltipContext, withTooltip as default };
|
|
8
|
+
export default withTooltip;
|
|
@@ -1,172 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
exports.default = exports.TooltipContext = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _tooltip = _interopRequireDefault(require("../tooltip"));
|
|
9
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
-
const TOOLTIP_INITIAL_HEIGHT = 40;
|
|
14
|
-
const hasTooltip = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
tooltip
|
|
17
|
-
} = _ref;
|
|
18
|
-
return tooltip;
|
|
19
|
-
};
|
|
20
|
-
const TooltipContext = exports.TooltipContext = /*#__PURE__*/_react.default.createContext({});
|
|
21
|
-
const getDisplayName = _ref2 => {
|
|
22
|
-
let {
|
|
23
|
-
displayName,
|
|
24
|
-
name
|
|
25
|
-
} = _ref2;
|
|
26
|
-
return displayName || name || 'Component';
|
|
27
|
-
};
|
|
28
|
-
const withTooltip = WrappedComponent => {
|
|
29
|
-
const EnhancedComponent = props => {
|
|
1
|
+
import { j as d } from "../chunks/jsx-runtime.CYK1ROHF.js";
|
|
2
|
+
import _, { useState as f, useRef as O, useEffect as v } from "react";
|
|
3
|
+
import H from "../tooltip/index.js";
|
|
4
|
+
const A = 40, E = ({ tooltip: n }) => n, P = _.createContext({}), V = ({ displayName: n, name: h }) => n || h || "Component", q = (n) => {
|
|
5
|
+
const h = (s) => {
|
|
30
6
|
const {
|
|
31
|
-
tooltip,
|
|
32
|
-
tooltipWidth =
|
|
33
|
-
space = 20,
|
|
34
|
-
tooltipPosition =
|
|
35
|
-
errorMessage
|
|
36
|
-
} =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const targetElement = (0, _react.useRef)(null);
|
|
46
|
-
const tooltipElement = (0, _react.useRef)(null);
|
|
47
|
-
const onMouseOver = e => {
|
|
48
|
-
if (targetElement.current && targetElement.current.contains(e.target)) {
|
|
49
|
-
setShowTooltip(true);
|
|
50
|
-
} else setShowTooltip(false);
|
|
51
|
-
};
|
|
52
|
-
const onMouseOut = () => {
|
|
53
|
-
setShowTooltip(false);
|
|
7
|
+
tooltip: m,
|
|
8
|
+
tooltipWidth: R = "auto",
|
|
9
|
+
space: b = 20,
|
|
10
|
+
tooltipPosition: $ = "bottom",
|
|
11
|
+
errorMessage: p
|
|
12
|
+
} = s, [w, r] = f($), [l, C] = f(""), [I, M] = f(""), [W, c] = f(!1), [x, Y] = f({
|
|
13
|
+
width: R,
|
|
14
|
+
height: A
|
|
15
|
+
}), e = O(null), g = O(null), y = (i) => {
|
|
16
|
+
e.current && e.current.contains(i.target) ? c(!0) : c(!1);
|
|
17
|
+
}, D = () => {
|
|
18
|
+
c(!1);
|
|
19
|
+
}, L = () => {
|
|
20
|
+
c(!1);
|
|
54
21
|
};
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
document.addEventListener('mouseover', onMouseOver);
|
|
65
|
-
document.addEventListener('scroll', onAnyScroll, true);
|
|
66
|
-
if (targetElement && targetElement.current) {
|
|
67
|
-
targetElement.current.addEventListener('mouseout', onMouseOut);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
return () => {
|
|
72
|
-
if (hasTooltip(props) || onDeniedText) {
|
|
73
|
-
document.removeEventListener('mouseover', onMouseOver);
|
|
74
|
-
document.removeEventListener('scroll', onAnyScroll, true);
|
|
75
|
-
if (targetElement && targetElement.current) {
|
|
76
|
-
targetElement.current.removeEventListener('mouseout', onMouseOut);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
}, [errorMessage, tooltip, onDeniedText]);
|
|
81
|
-
(0, _react.useEffect)(() => {
|
|
82
|
-
if (targetElement.current && tooltipElement.current) {
|
|
83
|
-
const {
|
|
84
|
-
width,
|
|
85
|
-
height
|
|
86
|
-
} = tooltipDimensions;
|
|
87
|
-
const targetDimensions = targetElement.current.getBoundingClientRect();
|
|
88
|
-
const targetVerticalCenter = (targetDimensions.top + targetDimensions.bottom) / 2;
|
|
89
|
-
const tooltipClientWidth = tooltipElement.current.clientWidth;
|
|
90
|
-
let style = `width: ${typeof width === 'string' ? width : `${width}px`}`;
|
|
91
|
-
let left = targetDimensions.left + targetDimensions.width / 2 - tooltipClientWidth / 2;
|
|
92
|
-
left = Math.min(left, document.body.clientWidth - tooltipClientWidth - space);
|
|
93
|
-
style += `; left: ${Math.max(space, left)}px`;
|
|
94
|
-
switch (stateTooltipPosition) {
|
|
95
|
-
case 'top':
|
|
96
|
-
if (targetDimensions.top < height) {
|
|
97
|
-
setStateTooltipPosition('bottom');
|
|
98
|
-
} else {
|
|
99
|
-
style += `; top: ${targetDimensions.top + window.scrollY - height - 5}px`;
|
|
100
|
-
}
|
|
22
|
+
v(() => ((E(s) || l) && (p ? c(!0) : (c(!1), document.addEventListener("mouseover", y), document.addEventListener("scroll", L, !0), e && e.current && e.current.addEventListener("mouseout", D))), () => {
|
|
23
|
+
(E(s) || l) && (document.removeEventListener("mouseover", y), document.removeEventListener("scroll", L, !0), e && e.current && e.current.removeEventListener("mouseout", D));
|
|
24
|
+
}), [p, m, l]), v(() => {
|
|
25
|
+
if (e.current && g.current) {
|
|
26
|
+
const { width: i, height: u } = x, t = e.current.getBoundingClientRect(), j = (t.top + t.bottom) / 2, a = g.current.clientWidth;
|
|
27
|
+
let o = `width: ${typeof i == "string" ? i : `${i}px`}`, T = t.left + t.width / 2 - a / 2;
|
|
28
|
+
switch (T = Math.min(T, document.body.clientWidth - a - b), o += `; left: ${Math.max(b, T)}px`, w) {
|
|
29
|
+
case "top":
|
|
30
|
+
t.top < u ? r("bottom") : o += `; top: ${t.top + window.scrollY - u - 5}px`;
|
|
101
31
|
break;
|
|
102
|
-
case
|
|
103
|
-
|
|
104
|
-
setStateTooltipPosition('top');
|
|
105
|
-
} else {
|
|
106
|
-
style += `; top: ${targetDimensions.top + window.scrollY + targetDimensions.height + 5}px`;
|
|
107
|
-
}
|
|
32
|
+
case "bottom":
|
|
33
|
+
window.innerHeight - t.bottom < u ? r("top") : o += `; top: ${t.top + window.scrollY + t.height + 5}px`;
|
|
108
34
|
break;
|
|
109
|
-
case
|
|
110
|
-
|
|
111
|
-
if (window.innerWidth - targetDimensions.right < tooltipClientWidth) {
|
|
112
|
-
setStateTooltipPosition('bottom');
|
|
113
|
-
} else {
|
|
114
|
-
setStateTooltipPosition('right');
|
|
115
|
-
}
|
|
116
|
-
} else {
|
|
117
|
-
style += `; top: ${targetVerticalCenter + window.scrollY - height / 2}px`;
|
|
118
|
-
style += `; left: ${targetDimensions.left - tooltipClientWidth - 6}px`;
|
|
119
|
-
}
|
|
35
|
+
case "left":
|
|
36
|
+
t.left < a ? window.innerWidth - t.right < a ? r("bottom") : r("right") : (o += `; top: ${j + window.scrollY - u / 2}px`, o += `; left: ${t.left - a - 6}px`);
|
|
120
37
|
break;
|
|
121
|
-
case
|
|
122
|
-
|
|
123
|
-
setStateTooltipPosition('left');
|
|
124
|
-
} else {
|
|
125
|
-
style += `; top: ${targetVerticalCenter + window.scrollY - height / 2}px`;
|
|
126
|
-
style += `; left: ${targetDimensions.left + targetDimensions.width + 5}px`;
|
|
127
|
-
}
|
|
38
|
+
case "right":
|
|
39
|
+
window.innerWidth - t.right < a ? r("left") : (o += `; top: ${j + window.scrollY - u / 2}px`, o += `; left: ${t.left + t.width + 5}px`);
|
|
128
40
|
break;
|
|
129
41
|
default:
|
|
130
|
-
|
|
42
|
+
o += "";
|
|
131
43
|
}
|
|
132
|
-
|
|
44
|
+
M(o);
|
|
133
45
|
}
|
|
134
|
-
}, [
|
|
135
|
-
|
|
136
|
-
setStateTooltipPosition(tooltipPosition);
|
|
46
|
+
}, [x, w]), v(() => {
|
|
47
|
+
r($);
|
|
137
48
|
}, [window.scrollY, window.scrollX, window.innerWidth]);
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
});
|
|
49
|
+
const k = () => m || l ? /* @__PURE__ */ d.jsx(
|
|
50
|
+
H,
|
|
51
|
+
{
|
|
52
|
+
text: l || m,
|
|
53
|
+
textError: p,
|
|
54
|
+
tooltipRef: g,
|
|
55
|
+
style: I,
|
|
56
|
+
className: w,
|
|
57
|
+
tooltipDimensions: x,
|
|
58
|
+
handlerSetDimensions: Y
|
|
149
59
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
60
|
+
) : null, N = (i) => {
|
|
61
|
+
e.current || (e.current = i);
|
|
62
|
+
}, S = {
|
|
63
|
+
handlerSetOnDeniedText: C
|
|
154
64
|
};
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
return /*#__PURE__*/_react.default.createElement(TooltipContext.Provider, {
|
|
160
|
-
value: contextValues
|
|
161
|
-
}, /*#__PURE__*/_react.default.createElement(WrappedComponent, props));
|
|
162
|
-
}
|
|
163
|
-
return /*#__PURE__*/_react.default.createElement(TooltipContext.Provider, {
|
|
164
|
-
value: contextValues
|
|
165
|
-
}, /*#__PURE__*/_react.default.createElement(WrappedComponent, _extends({}, props, {
|
|
166
|
-
targetRef: getTarget
|
|
167
|
-
})), showTooltip && getTooltip());
|
|
65
|
+
return !E(s) && !l ? /* @__PURE__ */ d.jsx(P.Provider, { value: S, children: /* @__PURE__ */ d.jsx(n, { ...s }) }) : /* @__PURE__ */ d.jsxs(P.Provider, { value: S, children: [
|
|
66
|
+
/* @__PURE__ */ d.jsx(n, { ...s, targetRef: N }),
|
|
67
|
+
W && k()
|
|
68
|
+
] });
|
|
168
69
|
};
|
|
169
|
-
|
|
170
|
-
|
|
70
|
+
return h.displayName = `withTooltip(${V(n)})`, h;
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
P as TooltipContext,
|
|
74
|
+
q as default
|
|
171
75
|
};
|
|
172
|
-
var _default = exports.default = withTooltip;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { ILabelMessagesProps } from './types
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import '../@types/Icon.js';
|
|
5
|
-
import '../icons/helper.js';
|
|
6
|
-
|
|
7
|
-
declare const LabelMessages: ({ style, icon, flat, iconName, handlerClosed, square, visible, children, customClass, type, showCloseButton }: ILabelMessagesProps) => JSX.Element | null;
|
|
8
|
-
|
|
9
|
-
export { LabelMessages as default };
|
|
1
|
+
import { ILabelMessagesProps } from './types';
|
|
2
|
+
declare const LabelMessages: ({ style, icon, flat, iconName, handlerClosed, square, visible, children, customClass, type, showCloseButton }: ILabelMessagesProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
export default LabelMessages;
|