@tecsinapse/react-web-kit 1.18.6 → 1.20.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/CHANGELOG.md +41 -0
- package/dist/components/atoms/Accordion/Accordion.js.map +1 -1
- package/dist/components/atoms/Accordion/animations.js.map +1 -1
- package/dist/components/atoms/Accordion/index.js.map +1 -1
- package/dist/components/atoms/Accordion/styled.js +1 -1
- package/dist/components/atoms/Accordion/styled.js.map +1 -1
- package/dist/components/atoms/Badge/Badge.js +1 -1
- package/dist/components/atoms/Badge/Badge.js.map +1 -1
- package/dist/components/atoms/Badge/index.js.map +1 -1
- package/dist/components/atoms/Button/Button.d.ts +2 -0
- package/dist/components/atoms/Button/Button.js +19 -3
- package/dist/components/atoms/Button/Button.js.map +1 -1
- package/dist/components/atoms/Button/hooks/useMouseHover.d.ts +3 -3
- package/dist/components/atoms/Button/hooks/useMouseHover.js +13 -3
- package/dist/components/atoms/Button/hooks/useMouseHover.js.map +1 -1
- package/dist/components/atoms/Button/hooks/useMousePressed.d.ts +5 -0
- package/dist/components/atoms/Button/hooks/useMousePressed.js +32 -0
- package/dist/components/atoms/Button/hooks/useMousePressed.js.map +1 -0
- package/dist/components/atoms/Button/index.js.map +1 -1
- package/dist/components/atoms/Button/styled.js +9 -4
- package/dist/components/atoms/Button/styled.js.map +1 -1
- package/dist/components/atoms/Dropdown/index.js.map +1 -1
- package/dist/components/atoms/Dropdown/styled.js.map +1 -1
- package/dist/components/atoms/Input/Input.d.ts +4 -3
- package/dist/components/atoms/Input/Input.js +1 -1
- package/dist/components/atoms/Input/Input.js.map +1 -1
- package/dist/components/atoms/Input/index.js.map +1 -1
- package/dist/components/atoms/Input/styled.js.map +1 -1
- package/dist/components/atoms/InputMask/InputMask.d.ts +4 -3
- package/dist/components/atoms/InputMask/InputMask.js +1 -1
- package/dist/components/atoms/InputMask/InputMask.js.map +1 -1
- package/dist/components/atoms/InputMask/index.js.map +1 -1
- package/dist/components/atoms/InputMask/styled.js.map +1 -1
- package/dist/components/atoms/Modal/Modal.js +1 -1
- package/dist/components/atoms/Modal/Modal.js.map +1 -1
- package/dist/components/atoms/Modal/animations.js.map +1 -1
- package/dist/components/atoms/Modal/index.js.map +1 -1
- package/dist/components/atoms/Modal/styled.js.map +1 -1
- package/dist/components/atoms/Overlay/Overlay.js.map +1 -1
- package/dist/components/atoms/Overlay/animations.js.map +1 -1
- package/dist/components/atoms/Overlay/index.js.map +1 -1
- package/dist/components/atoms/Overlay/styled.js.map +1 -1
- package/dist/components/atoms/Skeleton/Skeleton.js +1 -1
- package/dist/components/atoms/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/atoms/Skeleton/index.js.map +1 -1
- package/dist/components/atoms/Skeleton/styled.js.map +1 -1
- package/dist/components/atoms/Table/Body/TBody.js.map +1 -1
- package/dist/components/atoms/Table/Body/index.js.map +1 -1
- package/dist/components/atoms/Table/Cell/Td.js.map +1 -1
- package/dist/components/atoms/Table/Cell/index.js.map +1 -1
- package/dist/components/atoms/Table/Cell/styled.js.map +1 -1
- package/dist/components/atoms/Table/Container/TableContainer.js.map +1 -1
- package/dist/components/atoms/Table/Container/index.js.map +1 -1
- package/dist/components/atoms/Table/Container/styled.js.map +1 -1
- package/dist/components/atoms/Table/Footer/TFoot.js.map +1 -1
- package/dist/components/atoms/Table/Footer/index.js.map +1 -1
- package/dist/components/atoms/Table/Footer/styled.js.map +1 -1
- package/dist/components/atoms/Table/Header/THead.js.map +1 -1
- package/dist/components/atoms/Table/Header/Th.js.map +1 -1
- package/dist/components/atoms/Table/Header/index.js +4 -4
- package/dist/components/atoms/Table/Header/index.js.map +1 -1
- package/dist/components/atoms/Table/Header/styled.js +1 -1
- package/dist/components/atoms/Table/Header/styled.js.map +1 -1
- package/dist/components/atoms/Table/Row/Tr.js.map +1 -1
- package/dist/components/atoms/Table/Row/index.js.map +1 -1
- package/dist/components/atoms/Table/Row/styled.js.map +1 -1
- package/dist/components/atoms/Table/Table.js.map +1 -1
- package/dist/components/atoms/Table/Toolbar/TableToolbar.js.map +1 -1
- package/dist/components/atoms/Table/Toolbar/index.js.map +1 -1
- package/dist/components/atoms/Table/Toolbar/styled.js.map +1 -1
- package/dist/components/atoms/Table/index.js +18 -18
- package/dist/components/atoms/Table/index.js.map +1 -1
- package/dist/components/atoms/Table/styled.js.map +1 -1
- package/dist/components/atoms/Tag/Tag.js +1 -1
- package/dist/components/atoms/Tag/Tag.js.map +1 -1
- package/dist/components/atoms/Tag/index.js.map +1 -1
- package/dist/components/atoms/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/atoms/Tooltip/index.js +4 -4
- package/dist/components/atoms/Tooltip/index.js.map +1 -1
- package/dist/components/atoms/Tooltip/styled.js +3 -1
- package/dist/components/atoms/Tooltip/styled.js.map +1 -1
- package/dist/components/molecules/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.js +1 -1
- package/dist/components/molecules/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.js.map +1 -1
- package/dist/components/molecules/Breadcrumbs/BreadcrumbItem/index.js.map +1 -1
- package/dist/components/molecules/Breadcrumbs/BreadcrumbItem/styled.js +1 -1
- package/dist/components/molecules/Breadcrumbs/BreadcrumbItem/styled.js.map +1 -1
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/molecules/Breadcrumbs/index.js +6 -6
- package/dist/components/molecules/Breadcrumbs/index.js.map +1 -1
- package/dist/components/molecules/Breadcrumbs/styled.js.map +1 -1
- package/dist/components/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/components/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/molecules/DatePicker/Modal.js +1 -1
- package/dist/components/molecules/DatePicker/Modal.js.map +1 -1
- package/dist/components/molecules/DatePicker/index.js.map +1 -1
- package/dist/components/molecules/DatePicker/styled.js.map +1 -1
- package/dist/components/molecules/DateTimePicker/DateTimePicker.js +1 -1
- package/dist/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -1
- package/dist/components/molecules/DateTimePicker/Modal.js +1 -2
- package/dist/components/molecules/DateTimePicker/Modal.js.map +1 -1
- package/dist/components/molecules/DateTimePicker/index.js.map +1 -1
- package/dist/components/molecules/DateTimePicker/styled.js.map +1 -1
- package/dist/components/molecules/Drawer/Drawer.js +3 -1
- package/dist/components/molecules/Drawer/Drawer.js.map +1 -1
- package/dist/components/molecules/Drawer/animations.js +1 -1
- package/dist/components/molecules/Drawer/animations.js.map +1 -1
- package/dist/components/molecules/Drawer/index.js.map +1 -1
- package/dist/components/molecules/Drawer/styled.js +2 -0
- package/dist/components/molecules/Drawer/styled.js.map +1 -1
- package/dist/components/molecules/Grid/Grid.d.ts +3 -13
- package/dist/components/molecules/Grid/Grid.js +5 -3
- package/dist/components/molecules/Grid/Grid.js.map +1 -1
- package/dist/components/molecules/Grid/Item/Item.d.ts +6 -27
- package/dist/components/molecules/Grid/Item/Item.js +41 -19
- package/dist/components/molecules/Grid/Item/Item.js.map +1 -1
- package/dist/components/molecules/Grid/Item/functions.d.ts +2 -0
- package/dist/components/molecules/Grid/Item/functions.js +16 -0
- package/dist/components/molecules/Grid/Item/functions.js.map +1 -0
- package/dist/components/molecules/Grid/Item/index.d.ts +1 -1
- package/dist/components/molecules/Grid/Item/index.js.map +1 -1
- package/dist/components/molecules/Grid/index.d.ts +2 -2
- package/dist/components/molecules/Grid/index.js +4 -4
- package/dist/components/molecules/Grid/index.js.map +1 -1
- package/dist/components/molecules/IconTextButton/IconTextButton.d.ts +6 -0
- package/dist/components/molecules/IconTextButton/IconTextButton.js +64 -0
- package/dist/components/molecules/IconTextButton/IconTextButton.js.map +1 -0
- package/dist/components/molecules/IconTextButton/TextComponent.d.ts +12 -0
- package/dist/components/molecules/IconTextButton/TextComponent.js +32 -0
- package/dist/components/molecules/IconTextButton/TextComponent.js.map +1 -0
- package/dist/components/molecules/IconTextButton/hooks/useIconTextButton.d.ts +6 -0
- package/dist/components/molecules/IconTextButton/hooks/useIconTextButton.js +31 -0
- package/dist/components/molecules/IconTextButton/hooks/useIconTextButton.js.map +1 -0
- package/dist/components/molecules/IconTextButton/index.d.ts +1 -0
- package/dist/components/molecules/IconTextButton/index.js +24 -0
- package/dist/components/molecules/IconTextButton/index.js.map +1 -0
- package/dist/components/molecules/IconTextButton/styled.d.ts +1 -0
- package/dist/components/molecules/IconTextButton/styled.js +33 -0
- package/dist/components/molecules/IconTextButton/styled.js.map +1 -0
- package/dist/components/molecules/InputPassword/InputPassword.js +1 -1
- package/dist/components/molecules/InputPassword/InputPassword.js.map +1 -1
- package/dist/components/molecules/InputPassword/index.js.map +1 -1
- package/dist/components/molecules/LabeledSwitch/LabelComponent.d.ts +12 -0
- package/dist/components/molecules/LabeledSwitch/LabelComponent.js +38 -0
- package/dist/components/molecules/LabeledSwitch/LabelComponent.js.map +1 -0
- package/dist/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +7 -0
- package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js +55 -0
- package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js.map +1 -0
- package/dist/components/molecules/LabeledSwitch/index.d.ts +1 -0
- package/dist/components/molecules/LabeledSwitch/index.js +24 -0
- package/dist/components/molecules/LabeledSwitch/index.js.map +1 -0
- package/dist/components/molecules/LabeledSwitch/styled.d.ts +8 -0
- package/dist/components/molecules/LabeledSwitch/styled.js +39 -0
- package/dist/components/molecules/LabeledSwitch/styled.js.map +1 -0
- package/dist/components/molecules/Masonry/Masonry.js.map +1 -1
- package/dist/components/molecules/Masonry/index.js.map +1 -1
- package/dist/components/molecules/Masonry/styled.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuBlock.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/MenuItem.js +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/MenuItem.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/SubMenuBlock.js +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/SubMenuBlock.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/index.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/styled.js +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/styled.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/index.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/MenuItem/styled.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/index.js.map +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/styled.js +1 -1
- package/dist/components/molecules/Menubar/MenuBlock/styled.js.map +1 -1
- package/dist/components/molecules/Menubar/Menubar.js +1 -1
- package/dist/components/molecules/Menubar/Menubar.js.map +1 -1
- package/dist/components/molecules/Menubar/MostUsed/MostUsed.js +1 -1
- package/dist/components/molecules/Menubar/MostUsed/MostUsed.js.map +1 -1
- package/dist/components/molecules/Menubar/MostUsed/index.js.map +1 -1
- package/dist/components/molecules/Menubar/MostUsed/styled.js +1 -1
- package/dist/components/molecules/Menubar/MostUsed/styled.js.map +1 -1
- package/dist/components/molecules/Menubar/SearchResultItem/SearchResultItem.js +1 -1
- package/dist/components/molecules/Menubar/SearchResultItem/SearchResultItem.js.map +1 -1
- package/dist/components/molecules/Menubar/SearchResultItem/index.js.map +1 -1
- package/dist/components/molecules/Menubar/SearchResultItem/styled.js +1 -1
- package/dist/components/molecules/Menubar/SearchResultItem/styled.js.map +1 -1
- package/dist/components/molecules/Menubar/SearchResultItem/utils.d.ts +1 -1
- package/dist/components/molecules/Menubar/SearchResultItem/utils.js +2 -2
- package/dist/components/molecules/Menubar/SearchResultItem/utils.js.map +1 -1
- package/dist/components/molecules/Menubar/animations.js +1 -1
- package/dist/components/molecules/Menubar/animations.js.map +1 -1
- package/dist/components/molecules/Menubar/index.js +4 -4
- package/dist/components/molecules/Menubar/index.js.map +1 -1
- package/dist/components/molecules/Menubar/styled.js +1 -1
- package/dist/components/molecules/Menubar/styled.js.map +1 -1
- package/dist/components/molecules/Menubar/types.js.map +1 -1
- package/dist/components/molecules/Menubar/utils.js.map +1 -1
- package/dist/components/molecules/Select/Dropdown/Dropdown.js.map +1 -1
- package/dist/components/molecules/Select/Dropdown/components/SearchInput.js.map +1 -1
- package/dist/components/molecules/Select/Dropdown/components/index.js.map +1 -1
- package/dist/components/molecules/Select/Dropdown/index.js.map +1 -1
- package/dist/components/molecules/Select/Dropdown/styled.js +1 -1
- package/dist/components/molecules/Select/Dropdown/styled.js.map +1 -1
- package/dist/components/molecules/Select/Select.js +1 -1
- package/dist/components/molecules/Select/Select.js.map +1 -1
- package/dist/components/molecules/Select/SelectItem/SelectItem.js.map +1 -1
- package/dist/components/molecules/Select/SelectItem/index.js.map +1 -1
- package/dist/components/molecules/Select/SelectItem/styled.js +1 -1
- package/dist/components/molecules/Select/SelectItem/styled.js.map +1 -1
- package/dist/components/molecules/Select/animations.js.map +1 -1
- package/dist/components/molecules/Select/functions.js.map +1 -1
- package/dist/components/molecules/Select/index.js.map +1 -1
- package/dist/components/molecules/Select/styled.js +1 -1
- package/dist/components/molecules/Select/styled.js.map +1 -1
- package/dist/components/molecules/Snackbar/Snackbar.js +1 -1
- package/dist/components/molecules/Snackbar/Snackbar.js.map +1 -1
- package/dist/components/molecules/Snackbar/index.js.map +1 -1
- package/dist/components/molecules/Snackbar/styled.js.map +1 -1
- package/dist/components/molecules/TextArea/TextArea.js +1 -1
- package/dist/components/molecules/TextArea/TextArea.js.map +1 -1
- package/dist/components/molecules/TextArea/index.js.map +1 -1
- package/dist/components/molecules/TextArea/styled.js.map +1 -1
- package/dist/components/organisms/DataGrid/DataGrid.d.ts +1 -1
- package/dist/components/organisms/DataGrid/DataGrid.js.map +1 -1
- package/dist/components/organisms/DataGrid/Footer/Footer.js.map +1 -1
- package/dist/components/organisms/DataGrid/Footer/index.js.map +1 -1
- package/dist/components/organisms/DataGrid/Footer/styled.js +1 -1
- package/dist/components/organisms/DataGrid/Footer/styled.js.map +1 -1
- package/dist/components/organisms/DataGrid/Header/Header.d.ts +1 -1
- package/dist/components/organisms/DataGrid/Header/Header.js.map +1 -1
- package/dist/components/organisms/DataGrid/Header/index.js.map +1 -1
- package/dist/components/organisms/DataGrid/Header/styled.js.map +1 -1
- package/dist/components/organisms/DataGrid/Header/utils.js +1 -1
- package/dist/components/organisms/DataGrid/Header/utils.js.map +1 -1
- package/dist/components/organisms/DataGrid/Row/Row.js.map +1 -1
- package/dist/components/organisms/DataGrid/Row/index.js.map +1 -1
- package/dist/components/organisms/DataGrid/index.js.map +1 -1
- package/dist/components/organisms/DataGrid/styled.js.map +1 -1
- package/dist/components/organisms/DataGrid/types.js.map +1 -1
- package/dist/components/organisms/DataGrid/utils.js +1 -1
- package/dist/components/organisms/DataGrid/utils.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +16 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useBreakpoints.d.ts +6 -0
- package/dist/hooks/useBreakpoints.js +27 -0
- package/dist/hooks/useBreakpoints.js.map +1 -0
- package/dist/hooks/useClickAwayListener.js.map +1 -1
- package/dist/hooks/useWindowSize.d.ts +6 -0
- package/dist/hooks/useWindowSize.js +35 -0
- package/dist/hooks/useWindowSize.js.map +1 -0
- package/dist/index.d.ts +14 -13
- package/dist/index.js +155 -139
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/components/atoms/Button/Button.tsx +20 -1
- package/src/components/atoms/Button/hooks/useMouseHover.ts +17 -9
- package/src/components/atoms/Button/hooks/useMousePressed.ts +29 -0
- package/src/components/atoms/Button/styled.ts +23 -6
- package/src/components/atoms/Input/Input.tsx +4 -5
- package/src/components/atoms/InputMask/InputMask.tsx +4 -5
- package/src/components/molecules/DatePicker/Modal.tsx +11 -5
- package/src/components/molecules/DatePicker/index.ts +1 -1
- package/src/components/molecules/DatePicker/styled.ts +3 -3
- package/src/components/molecules/DateTimePicker/Modal.tsx +1 -5
- package/src/components/molecules/DateTimePicker/styled.ts +8 -5
- package/src/components/molecules/Grid/Grid.stories.tsx +198 -0
- package/src/components/molecules/Grid/Grid.tsx +7 -25
- package/src/components/molecules/Grid/Item/Item.tsx +57 -57
- package/src/components/molecules/Grid/Item/functions.ts +13 -0
- package/src/components/molecules/Grid/Item/index.ts +1 -1
- package/src/components/molecules/Grid/index.ts +2 -2
- package/src/components/molecules/IconTextButton/IconTextButton.stories.tsx +51 -0
- package/src/components/molecules/IconTextButton/IconTextButton.tsx +64 -0
- package/src/components/molecules/IconTextButton/TextComponent.tsx +39 -0
- package/src/components/molecules/IconTextButton/hooks/useIconTextButton.ts +31 -0
- package/src/components/molecules/IconTextButton/index.ts +4 -0
- package/src/components/molecules/IconTextButton/styled.ts +18 -0
- package/src/components/molecules/LabeledSwitch/LabelComponent.tsx +46 -0
- package/src/components/molecules/LabeledSwitch/LabeledSwitch.stories.tsx +41 -0
- package/src/components/molecules/LabeledSwitch/LabeledSwitch.tsx +58 -0
- package/src/components/molecules/LabeledSwitch/index.ts +4 -0
- package/src/components/molecules/LabeledSwitch/styled.ts +26 -0
- package/src/components/molecules/Menubar/Menubar.tsx +4 -3
- package/src/components/molecules/Menubar/SearchResultItem/utils.tsx +2 -2
- package/src/components/molecules/Select/Dropdown/Dropdown.tsx +4 -3
- package/src/components/molecules/Select/Select.tsx +10 -8
- package/src/components/organisms/DataGrid/DataGrid.tsx +16 -20
- package/src/components/organisms/DataGrid/Header/Header.tsx +1 -1
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useBreakpoints.ts +18 -0
- package/src/hooks/useWindowSize.ts +25 -0
- package/src/index.ts +33 -24
package/dist/index.js
CHANGED
|
@@ -4,55 +4,69 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
-
|
|
7
|
+
Accordion: true,
|
|
8
|
+
AccordionProps: true,
|
|
8
9
|
BadgeWebProps: true,
|
|
10
|
+
Badge: true,
|
|
9
11
|
Button: true,
|
|
10
12
|
useMouseHover: true,
|
|
11
13
|
WebButtonProps: true,
|
|
12
14
|
Input: true,
|
|
13
15
|
InputWebProps: true,
|
|
16
|
+
InputMask: true,
|
|
17
|
+
InputMaskWebProps: true,
|
|
18
|
+
Modal: true,
|
|
19
|
+
ModalProps: true,
|
|
20
|
+
Skeleton: true,
|
|
21
|
+
SkeletonProps: true,
|
|
14
22
|
Tag: true,
|
|
15
23
|
TagProps: true,
|
|
24
|
+
ITooltip: true,
|
|
25
|
+
Tooltip: true,
|
|
26
|
+
Breadcrumbs: true,
|
|
27
|
+
BreadcrumbsProps: true,
|
|
28
|
+
BreadcrumbType: true,
|
|
29
|
+
DatePicker: true,
|
|
30
|
+
WebDatePickerProps: true,
|
|
31
|
+
DateTimePicker: true,
|
|
32
|
+
WebDateTimePickerProps: true,
|
|
33
|
+
Drawer: true,
|
|
34
|
+
DrawerProps: true,
|
|
35
|
+
Grid: true,
|
|
36
|
+
GridItem: true,
|
|
37
|
+
IGridWeb: true,
|
|
38
|
+
IGridItemWeb: true,
|
|
16
39
|
InputPassword: true,
|
|
17
40
|
InputPasswordWebProps: true,
|
|
18
|
-
|
|
19
|
-
|
|
41
|
+
LabeledSwitch: true,
|
|
42
|
+
LabeledSwitchWebProps: true,
|
|
20
43
|
Menubar: true,
|
|
21
|
-
MenubarProps: true,
|
|
22
|
-
MenubarOptionsType: true,
|
|
23
44
|
MenubarItemsOptions: true,
|
|
24
45
|
MenubarMostUsedType: true,
|
|
25
|
-
|
|
26
|
-
|
|
46
|
+
MenubarOptionsType: true,
|
|
47
|
+
MenubarProps: true,
|
|
27
48
|
Select: true,
|
|
28
49
|
SelectProps: true,
|
|
29
50
|
Snackbar: true,
|
|
30
51
|
SnackbarWebProps: true,
|
|
31
|
-
Breadcrumbs: true,
|
|
32
|
-
BreadcrumbsProps: true,
|
|
33
|
-
BreadcrumbType: true,
|
|
34
|
-
Skeleton: true,
|
|
35
|
-
SkeletonProps: true,
|
|
36
|
-
Accordion: true,
|
|
37
|
-
AccordionProps: true,
|
|
38
|
-
DataGrid: true,
|
|
39
|
-
DataGridProps: true,
|
|
40
|
-
HeadersType: true,
|
|
41
|
-
Modal: true,
|
|
42
|
-
ModalProps: true,
|
|
43
52
|
TextArea: true,
|
|
44
53
|
TextAreaProps: true,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
WebDatePickerProps: true,
|
|
49
|
-
DateTimePicker: true,
|
|
50
|
-
WebDateTimePickerProps: true,
|
|
51
|
-
Grid: true,
|
|
52
|
-
GridItem: true,
|
|
53
|
-
IGrid: true,
|
|
54
|
-
IGridItem: true
|
|
54
|
+
DataGrid: true,
|
|
55
|
+
DataGridProps: true,
|
|
56
|
+
HeadersType: true
|
|
55
57
|
};
|
|
58
|
+
Object.defineProperty(exports, "Accordion", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () {
|
|
61
|
+
return _Accordion.Accordion;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "AccordionProps", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () {
|
|
67
|
+
return _Accordion.AccordionProps;
|
|
68
|
+
}
|
|
69
|
+
});
|
|
56
70
|
Object.defineProperty(exports, "Badge", {
|
|
57
71
|
enumerable: true,
|
|
58
72
|
get: function () {
|
|
@@ -65,280 +79,280 @@ Object.defineProperty(exports, "BadgeWebProps", {
|
|
|
65
79
|
return _Badge.BadgeWebProps;
|
|
66
80
|
}
|
|
67
81
|
});
|
|
68
|
-
Object.defineProperty(exports, "
|
|
82
|
+
Object.defineProperty(exports, "BreadcrumbType", {
|
|
69
83
|
enumerable: true,
|
|
70
84
|
get: function () {
|
|
71
|
-
return
|
|
85
|
+
return _Breadcrumbs.BreadcrumbType;
|
|
72
86
|
}
|
|
73
87
|
});
|
|
74
|
-
Object.defineProperty(exports, "
|
|
88
|
+
Object.defineProperty(exports, "Breadcrumbs", {
|
|
75
89
|
enumerable: true,
|
|
76
90
|
get: function () {
|
|
77
|
-
return
|
|
91
|
+
return _Breadcrumbs.Breadcrumbs;
|
|
78
92
|
}
|
|
79
93
|
});
|
|
80
|
-
Object.defineProperty(exports, "
|
|
94
|
+
Object.defineProperty(exports, "BreadcrumbsProps", {
|
|
81
95
|
enumerable: true,
|
|
82
96
|
get: function () {
|
|
83
|
-
return
|
|
97
|
+
return _Breadcrumbs.BreadcrumbsProps;
|
|
84
98
|
}
|
|
85
99
|
});
|
|
86
|
-
Object.defineProperty(exports, "
|
|
100
|
+
Object.defineProperty(exports, "Button", {
|
|
87
101
|
enumerable: true,
|
|
88
102
|
get: function () {
|
|
89
|
-
return
|
|
103
|
+
return _Button.Button;
|
|
90
104
|
}
|
|
91
105
|
});
|
|
92
|
-
Object.defineProperty(exports, "
|
|
106
|
+
Object.defineProperty(exports, "DataGrid", {
|
|
93
107
|
enumerable: true,
|
|
94
108
|
get: function () {
|
|
95
|
-
return
|
|
109
|
+
return _DataGrid.DataGrid;
|
|
96
110
|
}
|
|
97
111
|
});
|
|
98
|
-
Object.defineProperty(exports, "
|
|
112
|
+
Object.defineProperty(exports, "DataGridProps", {
|
|
99
113
|
enumerable: true,
|
|
100
114
|
get: function () {
|
|
101
|
-
return
|
|
115
|
+
return _DataGrid.DataGridProps;
|
|
102
116
|
}
|
|
103
117
|
});
|
|
104
|
-
Object.defineProperty(exports, "
|
|
118
|
+
Object.defineProperty(exports, "DatePicker", {
|
|
105
119
|
enumerable: true,
|
|
106
120
|
get: function () {
|
|
107
|
-
return
|
|
121
|
+
return _DatePicker.DatePicker;
|
|
108
122
|
}
|
|
109
123
|
});
|
|
110
|
-
Object.defineProperty(exports, "
|
|
124
|
+
Object.defineProperty(exports, "DateTimePicker", {
|
|
111
125
|
enumerable: true,
|
|
112
126
|
get: function () {
|
|
113
|
-
return
|
|
127
|
+
return _DateTimePicker.DateTimePicker;
|
|
114
128
|
}
|
|
115
129
|
});
|
|
116
|
-
Object.defineProperty(exports, "
|
|
130
|
+
Object.defineProperty(exports, "Drawer", {
|
|
117
131
|
enumerable: true,
|
|
118
132
|
get: function () {
|
|
119
|
-
return
|
|
133
|
+
return _Drawer.Drawer;
|
|
120
134
|
}
|
|
121
135
|
});
|
|
122
|
-
Object.defineProperty(exports, "
|
|
136
|
+
Object.defineProperty(exports, "DrawerProps", {
|
|
123
137
|
enumerable: true,
|
|
124
138
|
get: function () {
|
|
125
|
-
return
|
|
139
|
+
return _Drawer.DrawerProps;
|
|
126
140
|
}
|
|
127
141
|
});
|
|
128
|
-
Object.defineProperty(exports, "
|
|
142
|
+
Object.defineProperty(exports, "Grid", {
|
|
129
143
|
enumerable: true,
|
|
130
144
|
get: function () {
|
|
131
|
-
return
|
|
145
|
+
return _Grid.Grid;
|
|
132
146
|
}
|
|
133
147
|
});
|
|
134
|
-
Object.defineProperty(exports, "
|
|
148
|
+
Object.defineProperty(exports, "GridItem", {
|
|
135
149
|
enumerable: true,
|
|
136
150
|
get: function () {
|
|
137
|
-
return
|
|
151
|
+
return _Grid.GridItem;
|
|
138
152
|
}
|
|
139
153
|
});
|
|
140
|
-
Object.defineProperty(exports, "
|
|
154
|
+
Object.defineProperty(exports, "HeadersType", {
|
|
141
155
|
enumerable: true,
|
|
142
156
|
get: function () {
|
|
143
|
-
return
|
|
157
|
+
return _DataGrid.HeadersType;
|
|
144
158
|
}
|
|
145
159
|
});
|
|
146
|
-
Object.defineProperty(exports, "
|
|
160
|
+
Object.defineProperty(exports, "IGridItemWeb", {
|
|
147
161
|
enumerable: true,
|
|
148
162
|
get: function () {
|
|
149
|
-
return
|
|
163
|
+
return _Grid.IGridItemWeb;
|
|
150
164
|
}
|
|
151
165
|
});
|
|
152
|
-
Object.defineProperty(exports, "
|
|
166
|
+
Object.defineProperty(exports, "IGridWeb", {
|
|
153
167
|
enumerable: true,
|
|
154
168
|
get: function () {
|
|
155
|
-
return
|
|
169
|
+
return _Grid.IGridWeb;
|
|
156
170
|
}
|
|
157
171
|
});
|
|
158
|
-
Object.defineProperty(exports, "
|
|
172
|
+
Object.defineProperty(exports, "ITooltip", {
|
|
159
173
|
enumerable: true,
|
|
160
174
|
get: function () {
|
|
161
|
-
return
|
|
175
|
+
return _Tooltip.ITooltip;
|
|
162
176
|
}
|
|
163
177
|
});
|
|
164
|
-
Object.defineProperty(exports, "
|
|
178
|
+
Object.defineProperty(exports, "Input", {
|
|
165
179
|
enumerable: true,
|
|
166
180
|
get: function () {
|
|
167
|
-
return
|
|
181
|
+
return _Input.Input;
|
|
168
182
|
}
|
|
169
183
|
});
|
|
170
|
-
Object.defineProperty(exports, "
|
|
184
|
+
Object.defineProperty(exports, "InputMask", {
|
|
171
185
|
enumerable: true,
|
|
172
186
|
get: function () {
|
|
173
|
-
return
|
|
187
|
+
return _InputMask.InputMask;
|
|
174
188
|
}
|
|
175
189
|
});
|
|
176
|
-
Object.defineProperty(exports, "
|
|
190
|
+
Object.defineProperty(exports, "InputMaskWebProps", {
|
|
177
191
|
enumerable: true,
|
|
178
192
|
get: function () {
|
|
179
|
-
return
|
|
193
|
+
return _InputMask.InputMaskWebProps;
|
|
180
194
|
}
|
|
181
195
|
});
|
|
182
|
-
Object.defineProperty(exports, "
|
|
196
|
+
Object.defineProperty(exports, "InputPassword", {
|
|
183
197
|
enumerable: true,
|
|
184
198
|
get: function () {
|
|
185
|
-
return
|
|
199
|
+
return _InputPassword.InputPassword;
|
|
186
200
|
}
|
|
187
201
|
});
|
|
188
|
-
Object.defineProperty(exports, "
|
|
202
|
+
Object.defineProperty(exports, "InputPasswordWebProps", {
|
|
189
203
|
enumerable: true,
|
|
190
204
|
get: function () {
|
|
191
|
-
return
|
|
205
|
+
return _InputPassword.InputPasswordWebProps;
|
|
192
206
|
}
|
|
193
207
|
});
|
|
194
|
-
Object.defineProperty(exports, "
|
|
208
|
+
Object.defineProperty(exports, "InputWebProps", {
|
|
195
209
|
enumerable: true,
|
|
196
210
|
get: function () {
|
|
197
|
-
return
|
|
211
|
+
return _Input.InputWebProps;
|
|
198
212
|
}
|
|
199
213
|
});
|
|
200
|
-
Object.defineProperty(exports, "
|
|
214
|
+
Object.defineProperty(exports, "LabeledSwitch", {
|
|
201
215
|
enumerable: true,
|
|
202
216
|
get: function () {
|
|
203
|
-
return
|
|
217
|
+
return _LabeledSwitch.LabeledSwitch;
|
|
204
218
|
}
|
|
205
219
|
});
|
|
206
|
-
Object.defineProperty(exports, "
|
|
220
|
+
Object.defineProperty(exports, "LabeledSwitchWebProps", {
|
|
207
221
|
enumerable: true,
|
|
208
222
|
get: function () {
|
|
209
|
-
return
|
|
223
|
+
return _LabeledSwitch.LabeledSwitchWebProps;
|
|
210
224
|
}
|
|
211
225
|
});
|
|
212
|
-
Object.defineProperty(exports, "
|
|
226
|
+
Object.defineProperty(exports, "Menubar", {
|
|
213
227
|
enumerable: true,
|
|
214
228
|
get: function () {
|
|
215
|
-
return
|
|
229
|
+
return _Menubar.Menubar;
|
|
216
230
|
}
|
|
217
231
|
});
|
|
218
|
-
Object.defineProperty(exports, "
|
|
232
|
+
Object.defineProperty(exports, "MenubarItemsOptions", {
|
|
219
233
|
enumerable: true,
|
|
220
234
|
get: function () {
|
|
221
|
-
return
|
|
235
|
+
return _Menubar.MenubarItemsOptions;
|
|
222
236
|
}
|
|
223
237
|
});
|
|
224
|
-
Object.defineProperty(exports, "
|
|
238
|
+
Object.defineProperty(exports, "MenubarMostUsedType", {
|
|
225
239
|
enumerable: true,
|
|
226
240
|
get: function () {
|
|
227
|
-
return
|
|
241
|
+
return _Menubar.MenubarMostUsedType;
|
|
228
242
|
}
|
|
229
243
|
});
|
|
230
|
-
Object.defineProperty(exports, "
|
|
244
|
+
Object.defineProperty(exports, "MenubarOptionsType", {
|
|
231
245
|
enumerable: true,
|
|
232
246
|
get: function () {
|
|
233
|
-
return
|
|
247
|
+
return _Menubar.MenubarOptionsType;
|
|
234
248
|
}
|
|
235
249
|
});
|
|
236
|
-
Object.defineProperty(exports, "
|
|
250
|
+
Object.defineProperty(exports, "MenubarProps", {
|
|
237
251
|
enumerable: true,
|
|
238
252
|
get: function () {
|
|
239
|
-
return
|
|
253
|
+
return _Menubar.MenubarProps;
|
|
240
254
|
}
|
|
241
255
|
});
|
|
242
|
-
Object.defineProperty(exports, "
|
|
256
|
+
Object.defineProperty(exports, "Modal", {
|
|
243
257
|
enumerable: true,
|
|
244
258
|
get: function () {
|
|
245
|
-
return
|
|
259
|
+
return _Modal.Modal;
|
|
246
260
|
}
|
|
247
261
|
});
|
|
248
|
-
Object.defineProperty(exports, "
|
|
262
|
+
Object.defineProperty(exports, "ModalProps", {
|
|
249
263
|
enumerable: true,
|
|
250
264
|
get: function () {
|
|
251
|
-
return
|
|
265
|
+
return _Modal.ModalProps;
|
|
252
266
|
}
|
|
253
267
|
});
|
|
254
|
-
Object.defineProperty(exports, "
|
|
268
|
+
Object.defineProperty(exports, "Select", {
|
|
255
269
|
enumerable: true,
|
|
256
270
|
get: function () {
|
|
257
|
-
return
|
|
271
|
+
return _Select.Select;
|
|
258
272
|
}
|
|
259
273
|
});
|
|
260
|
-
Object.defineProperty(exports, "
|
|
274
|
+
Object.defineProperty(exports, "SelectProps", {
|
|
261
275
|
enumerable: true,
|
|
262
276
|
get: function () {
|
|
263
|
-
return
|
|
277
|
+
return _Select.SelectProps;
|
|
264
278
|
}
|
|
265
279
|
});
|
|
266
|
-
Object.defineProperty(exports, "
|
|
280
|
+
Object.defineProperty(exports, "Skeleton", {
|
|
267
281
|
enumerable: true,
|
|
268
282
|
get: function () {
|
|
269
|
-
return
|
|
283
|
+
return _Skeleton.Skeleton;
|
|
270
284
|
}
|
|
271
285
|
});
|
|
272
|
-
Object.defineProperty(exports, "
|
|
286
|
+
Object.defineProperty(exports, "SkeletonProps", {
|
|
273
287
|
enumerable: true,
|
|
274
288
|
get: function () {
|
|
275
|
-
return
|
|
289
|
+
return _Skeleton.SkeletonProps;
|
|
276
290
|
}
|
|
277
291
|
});
|
|
278
|
-
Object.defineProperty(exports, "
|
|
292
|
+
Object.defineProperty(exports, "Snackbar", {
|
|
279
293
|
enumerable: true,
|
|
280
294
|
get: function () {
|
|
281
|
-
return
|
|
295
|
+
return _Snackbar.Snackbar;
|
|
282
296
|
}
|
|
283
297
|
});
|
|
284
|
-
Object.defineProperty(exports, "
|
|
298
|
+
Object.defineProperty(exports, "SnackbarWebProps", {
|
|
285
299
|
enumerable: true,
|
|
286
300
|
get: function () {
|
|
287
|
-
return
|
|
301
|
+
return _Snackbar.SnackbarWebProps;
|
|
288
302
|
}
|
|
289
303
|
});
|
|
290
|
-
Object.defineProperty(exports, "
|
|
304
|
+
Object.defineProperty(exports, "Tag", {
|
|
291
305
|
enumerable: true,
|
|
292
306
|
get: function () {
|
|
293
|
-
return
|
|
307
|
+
return _Tag.Tag;
|
|
294
308
|
}
|
|
295
309
|
});
|
|
296
|
-
Object.defineProperty(exports, "
|
|
310
|
+
Object.defineProperty(exports, "TagProps", {
|
|
297
311
|
enumerable: true,
|
|
298
312
|
get: function () {
|
|
299
|
-
return
|
|
313
|
+
return _Tag.TagProps;
|
|
300
314
|
}
|
|
301
315
|
});
|
|
302
|
-
Object.defineProperty(exports, "
|
|
316
|
+
Object.defineProperty(exports, "TextArea", {
|
|
303
317
|
enumerable: true,
|
|
304
318
|
get: function () {
|
|
305
|
-
return
|
|
319
|
+
return _TextArea.TextArea;
|
|
306
320
|
}
|
|
307
321
|
});
|
|
308
|
-
Object.defineProperty(exports, "
|
|
322
|
+
Object.defineProperty(exports, "TextAreaProps", {
|
|
309
323
|
enumerable: true,
|
|
310
324
|
get: function () {
|
|
311
|
-
return
|
|
325
|
+
return _TextArea.TextAreaProps;
|
|
312
326
|
}
|
|
313
327
|
});
|
|
314
|
-
Object.defineProperty(exports, "
|
|
328
|
+
Object.defineProperty(exports, "Tooltip", {
|
|
315
329
|
enumerable: true,
|
|
316
330
|
get: function () {
|
|
317
|
-
return
|
|
331
|
+
return _Tooltip.Tooltip;
|
|
318
332
|
}
|
|
319
333
|
});
|
|
320
|
-
Object.defineProperty(exports, "
|
|
334
|
+
Object.defineProperty(exports, "WebButtonProps", {
|
|
321
335
|
enumerable: true,
|
|
322
336
|
get: function () {
|
|
323
|
-
return
|
|
337
|
+
return _Button.WebButtonProps;
|
|
324
338
|
}
|
|
325
339
|
});
|
|
326
|
-
Object.defineProperty(exports, "
|
|
340
|
+
Object.defineProperty(exports, "WebDatePickerProps", {
|
|
327
341
|
enumerable: true,
|
|
328
342
|
get: function () {
|
|
329
|
-
return
|
|
343
|
+
return _DatePicker.WebDatePickerProps;
|
|
330
344
|
}
|
|
331
345
|
});
|
|
332
|
-
Object.defineProperty(exports, "
|
|
346
|
+
Object.defineProperty(exports, "WebDateTimePickerProps", {
|
|
333
347
|
enumerable: true,
|
|
334
348
|
get: function () {
|
|
335
|
-
return
|
|
349
|
+
return _DateTimePicker.WebDateTimePickerProps;
|
|
336
350
|
}
|
|
337
351
|
});
|
|
338
|
-
Object.defineProperty(exports, "
|
|
352
|
+
Object.defineProperty(exports, "useMouseHover", {
|
|
339
353
|
enumerable: true,
|
|
340
354
|
get: function () {
|
|
341
|
-
return
|
|
355
|
+
return _Button.useMouseHover;
|
|
342
356
|
}
|
|
343
357
|
});
|
|
344
358
|
|
|
@@ -356,39 +370,47 @@ Object.keys(_reactCore).forEach(function (key) {
|
|
|
356
370
|
});
|
|
357
371
|
});
|
|
358
372
|
|
|
373
|
+
var _Accordion = require("./components/atoms/Accordion");
|
|
374
|
+
|
|
359
375
|
var _Badge = _interopRequireWildcard(require("./components/atoms/Badge/Badge"));
|
|
360
376
|
|
|
361
377
|
var _Button = require("./components/atoms/Button");
|
|
362
378
|
|
|
363
379
|
var _Input = require("./components/atoms/Input");
|
|
364
380
|
|
|
381
|
+
var _InputMask = require("./components/atoms/InputMask");
|
|
382
|
+
|
|
383
|
+
var _Modal = require("./components/atoms/Modal");
|
|
384
|
+
|
|
385
|
+
var _Skeleton = require("./components/atoms/Skeleton");
|
|
386
|
+
|
|
365
387
|
var _Tag = require("./components/atoms/Tag");
|
|
366
388
|
|
|
367
|
-
var
|
|
389
|
+
var _Tooltip = require("./components/atoms/Tooltip");
|
|
368
390
|
|
|
369
|
-
var
|
|
391
|
+
var _Breadcrumbs = require("./components/molecules/Breadcrumbs");
|
|
370
392
|
|
|
371
|
-
var
|
|
393
|
+
var _DatePicker = require("./components/molecules/DatePicker");
|
|
372
394
|
|
|
373
|
-
var
|
|
395
|
+
var _DateTimePicker = require("./components/molecules/DateTimePicker");
|
|
374
396
|
|
|
375
|
-
var
|
|
397
|
+
var _Drawer = require("./components/molecules/Drawer");
|
|
376
398
|
|
|
377
|
-
var
|
|
399
|
+
var _Grid = require("./components/molecules/Grid");
|
|
378
400
|
|
|
379
|
-
var
|
|
401
|
+
var _InputPassword = require("./components/molecules/InputPassword");
|
|
380
402
|
|
|
381
|
-
var
|
|
403
|
+
var _LabeledSwitch = require("./components/molecules/LabeledSwitch");
|
|
382
404
|
|
|
383
|
-
var
|
|
405
|
+
var _Menubar = require("./components/molecules/Menubar");
|
|
384
406
|
|
|
385
|
-
var
|
|
407
|
+
var _Select = require("./components/molecules/Select");
|
|
386
408
|
|
|
387
|
-
var
|
|
409
|
+
var _Snackbar = require("./components/molecules/Snackbar");
|
|
388
410
|
|
|
389
411
|
var _TextArea = require("./components/molecules/TextArea");
|
|
390
412
|
|
|
391
|
-
var
|
|
413
|
+
var _DataGrid = require("./components/organisms/DataGrid");
|
|
392
414
|
|
|
393
415
|
var _hooks = require("./hooks");
|
|
394
416
|
|
|
@@ -404,12 +426,6 @@ Object.keys(_hooks).forEach(function (key) {
|
|
|
404
426
|
});
|
|
405
427
|
});
|
|
406
428
|
|
|
407
|
-
var _DatePicker = require("./components/molecules/DatePicker");
|
|
408
|
-
|
|
409
|
-
var _DateTimePicker = require("./components/molecules/DateTimePicker");
|
|
410
|
-
|
|
411
|
-
var _Grid = require("./components/molecules/Grid");
|
|
412
|
-
|
|
413
429
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
414
430
|
|
|
415
431
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["export * from '@tecsinapse/react-core';\nexport { Accordion, AccordionProps } from './components/atoms/Accordion';\nexport {\n BadgeWebProps,\n default as Badge,\n} from './components/atoms/Badge/Badge';\nexport {\n Button,\n useMouseHover,\n WebButtonProps,\n} from './components/atoms/Button';\nexport { Input, InputWebProps } from './components/atoms/Input';\nexport { InputMask, InputMaskWebProps } from './components/atoms/InputMask';\nexport { Modal, ModalProps } from './components/atoms/Modal';\nexport { Skeleton, SkeletonProps } from './components/atoms/Skeleton';\nexport { Tag, TagProps } from './components/atoms/Tag';\nexport { ITooltip, Tooltip } from './components/atoms/Tooltip';\nexport {\n Breadcrumbs,\n BreadcrumbsProps,\n BreadcrumbType,\n} from './components/molecules/Breadcrumbs';\nexport {\n DatePicker,\n WebDatePickerProps,\n} from './components/molecules/DatePicker';\nexport {\n DateTimePicker,\n WebDateTimePickerProps,\n} from './components/molecules/DateTimePicker';\nexport { Drawer, DrawerProps } from './components/molecules/Drawer';\nexport {\n Grid,\n GridItem,\n IGridWeb,\n IGridItemWeb,\n} from './components/molecules/Grid';\nexport {\n InputPassword,\n InputPasswordWebProps,\n} from './components/molecules/InputPassword';\nexport {\n LabeledSwitch,\n LabeledSwitchWebProps,\n} from './components/molecules/LabeledSwitch';\nexport {\n Menubar,\n MenubarItemsOptions,\n MenubarMostUsedType,\n MenubarOptionsType,\n MenubarProps,\n} from './components/molecules/Menubar';\nexport { Select, SelectProps } from './components/molecules/Select';\nexport { Snackbar, SnackbarWebProps } from './components/molecules/Snackbar';\nexport { TextArea, TextAreaProps } from './components/molecules/TextArea';\nexport {\n DataGrid,\n DataGridProps,\n HeadersType,\n} from './components/organisms/DataGrid';\nexport * from './hooks';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AACA;;AAIA;;AAKA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAKA;;AAIA;;AAIA;;AACA;;AAMA;;AAIA;;AAIA;;AAOA;;AACA;;AACA;;AACA;;AAKA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/react-web-kit",
|
|
3
3
|
"description": "TecSinapse React components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.20.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"yalc:show": "yalc installations show $npm_package_name"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@emotion/native": "^11.
|
|
18
|
-
"@emotion/react": "^11.
|
|
19
|
-
"@emotion/styled": "^11.
|
|
20
|
-
"@tecsinapse/react-core": "^1.
|
|
17
|
+
"@emotion/native": "^11.10.0",
|
|
18
|
+
"@emotion/react": "^11.10.0",
|
|
19
|
+
"@emotion/styled": "^11.10.0",
|
|
20
|
+
"@tecsinapse/react-core": "^1.19.0",
|
|
21
21
|
"@types/react-native": "^0.64.4",
|
|
22
22
|
"react-native-vector-icons": "^9.2.0",
|
|
23
23
|
"react-transition-group": "^4.4.2"
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
37
37
|
"react-native-web": "^0.17.1 || ^0.18.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "59f85f1085ace4af0b26b85e32faf92cd2bf303f"
|
|
40
40
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '@tecsinapse/react-core';
|
|
2
2
|
import React, { FC } from 'react';
|
|
3
3
|
import { useMouseHover } from './hooks/useMouseHover';
|
|
4
|
+
import { useMousePressed } from './hooks/useMousePressed';
|
|
4
5
|
import { StyledWebButton } from './styled';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -10,6 +11,8 @@ import { StyledWebButton } from './styled';
|
|
|
10
11
|
export type WebButtonProps = ButtonProps & {
|
|
11
12
|
onMouseOver?: () => void;
|
|
12
13
|
onMouseOut?: () => void;
|
|
14
|
+
onPressIn?: () => void;
|
|
15
|
+
onPressOut?: () => void;
|
|
13
16
|
};
|
|
14
17
|
|
|
15
18
|
const Button: FC<WebButtonProps> = ({
|
|
@@ -17,11 +20,23 @@ const Button: FC<WebButtonProps> = ({
|
|
|
17
20
|
disabled,
|
|
18
21
|
frozen,
|
|
19
22
|
state,
|
|
23
|
+
variant,
|
|
24
|
+
onMouseOut,
|
|
25
|
+
onMouseOver,
|
|
26
|
+
onPressIn,
|
|
27
|
+
onPressOut,
|
|
20
28
|
...rest
|
|
21
29
|
}): JSX.Element => {
|
|
22
30
|
const _frozen = frozen || state === 'loading';
|
|
23
31
|
const { mouseOver, handleMouseOut, handleMouseOver } = useMouseHover(
|
|
24
|
-
!disabled && !_frozen
|
|
32
|
+
!disabled && !_frozen,
|
|
33
|
+
onMouseOut,
|
|
34
|
+
onMouseOver
|
|
35
|
+
);
|
|
36
|
+
const { pressed, handlePressIn, handlePressOut } = useMousePressed(
|
|
37
|
+
!disabled && !_frozen,
|
|
38
|
+
onPressIn,
|
|
39
|
+
onPressOut
|
|
25
40
|
);
|
|
26
41
|
|
|
27
42
|
return (
|
|
@@ -33,6 +48,10 @@ const Button: FC<WebButtonProps> = ({
|
|
|
33
48
|
onMouseOver={handleMouseOver}
|
|
34
49
|
onMouseOut={handleMouseOut}
|
|
35
50
|
mouseOver={mouseOver}
|
|
51
|
+
onPressIn={handlePressIn}
|
|
52
|
+
onPressOut={handlePressOut}
|
|
53
|
+
pressed={pressed}
|
|
54
|
+
variant={variant}
|
|
36
55
|
>
|
|
37
56
|
{children}
|
|
38
57
|
</StyledWebButton>
|