@gataca/design-system 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.native.d.ts +3 -0
- package/dist/components/index.web.d.ts +3 -1
- package/dist/components/native/Action/ActionItems/actionItems_styles.native.d.ts +8 -8
- package/dist/components/native/Alerts/Alert/Alert_styles.native.d.ts +1 -1
- package/dist/components/native/BottomSticky/BottomStickyContainer/bottomStickyContainer_styles.native.d.ts +3 -3
- package/dist/components/native/Buttons/Button/styles.native.d.ts +2 -2
- package/dist/components/native/Buttons/ButtonIcon/ButtonIcon.types.native.d.ts +1 -0
- package/dist/components/native/Buttons/RoundedButton/styles.native.d.ts +2 -2
- package/dist/components/native/Buttons/SegmentedButton/styles.native.d.ts +2 -2
- package/dist/components/native/Cards/Consent/consentCard_styles.native.d.ts +1 -1
- package/dist/components/native/Cards/Credential/credential_styles.native.d.ts +3 -3
- package/dist/components/native/Cards/HeadingAvatars/headingAvatarsCard_styles.native.d.ts +2 -2
- package/dist/components/native/Cards/MiniCredential/miniCredential_styles.native.d.ts +2 -2
- package/dist/components/native/Chips/Chip/styles.native.d.ts +1 -1
- package/dist/components/native/Dialog/Dialog/dialog_styles.native.d.ts +11 -11
- package/dist/components/native/Drawer/BottomDrawer/bottomDrawer_styles.native.d.ts +6 -6
- package/dist/components/native/Headings/HeadingCredential/HeadingCredential_styles.native.d.ts +8 -8
- package/dist/components/native/Icons/icons/one.d.ts +8 -0
- package/dist/components/native/Icons/icons/three.d.ts +8 -0
- package/dist/components/native/Icons/icons/two.d.ts +8 -0
- package/dist/components/native/Icons/index.native.d.ts +3 -0
- package/dist/components/native/Indicator/Indicator/indicator_styles.native.d.ts +1 -1
- package/dist/components/native/Lists/List/list_styles.native.d.ts +1 -1
- package/dist/components/native/Lists/ListItem/listItem_styles.native.d.ts +3 -3
- package/dist/components/native/Lists/ListItem/listItem_types.native.d.ts +3 -1
- package/dist/components/native/NavBar/NavigationBar/navigationBar_styles.native.d.ts +1 -1
- package/dist/components/native/Popover/popover_styles.native.d.ts +14 -14
- package/dist/components/native/TextField/TextField/textField_styles.native.d.ts +3 -3
- package/dist/components/native/Tooltips/Tooltip/tooltip_styles.native.d.ts +2 -2
- package/dist/components/native/TopAppBar/TopAppBar/topAppBar_styles.native.d.ts +2 -2
- package/dist/components/native/TopAppBar/TopDrawerBar/topDrawerBar_styles.native.d.ts +2 -2
- package/dist/components/web/Avatars/Avatar/Avatar.types.web.d.ts +1 -0
- package/dist/components/web/Buttons/ButtonIcon/ButtonIcon.types.web.d.ts +1 -0
- package/dist/components/web/Icons/icons/one.d.ts +8 -0
- package/dist/components/web/Icons/icons/three.d.ts +8 -0
- package/dist/components/web/Icons/icons/two.d.ts +8 -0
- package/dist/components/web/Icons/index.web.d.ts +3 -0
- package/dist/components/web/Lists/ListItem/listItem_types.web.d.ts +3 -1
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -4
- package/dist/components/web/HoverObserver/HoverObserver.web.d.ts +0 -40
- package/dist/components/web/HoverObserver/index.web.d.ts +0 -2
- package/dist/utils/format.d.ts +0 -6
- package/dist/utils/noop.d.ts +0 -2
- package/dist/utils/omit.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"homepage": "https://gataca-io.github.io/design-system",
|
|
3
3
|
"name": "@gataca/design-system",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -58,8 +58,6 @@
|
|
|
58
58
|
"@storybook/addon-themes": "^8.3.4",
|
|
59
59
|
"@types/react-native-web": "^0.19.0",
|
|
60
60
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
61
|
-
"object-assign": "^4.1.1",
|
|
62
|
-
"prop-types": "^15.6.0",
|
|
63
61
|
"react": "18.3.1",
|
|
64
62
|
"react-device-detect": "^2.2.3",
|
|
65
63
|
"react-native": "0.75.3",
|
|
@@ -103,7 +101,6 @@
|
|
|
103
101
|
"@storybook/react-webpack5": "8.2.5",
|
|
104
102
|
"@storybook/theming": "^8.3.4",
|
|
105
103
|
"@types/node": "^14.14.35",
|
|
106
|
-
"@types/object-assign": "^4.0.33",
|
|
107
104
|
"@types/react": "^18.2.6",
|
|
108
105
|
"@types/react-test-renderer": "^18.0.0",
|
|
109
106
|
"babel-jest": "^29.6.3",
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
type ReactHoverObserverProps = {
|
|
3
|
-
children: ReactNode | ((props: {
|
|
4
|
-
isHovering: boolean;
|
|
5
|
-
}) => ReactNode);
|
|
6
|
-
className?: string;
|
|
7
|
-
hoverDelayInMs?: number;
|
|
8
|
-
hoverOffDelayInMs?: number;
|
|
9
|
-
onHoverChanged?: (state: {
|
|
10
|
-
isHovering: boolean;
|
|
11
|
-
}) => void;
|
|
12
|
-
onMouseEnter?: (params: {
|
|
13
|
-
e: React.MouseEvent;
|
|
14
|
-
setIsHovering: () => void;
|
|
15
|
-
unsetIsHovering: () => void;
|
|
16
|
-
}) => void;
|
|
17
|
-
onMouseLeave?: (params: {
|
|
18
|
-
e: React.MouseEvent;
|
|
19
|
-
setIsHovering: () => void;
|
|
20
|
-
unsetIsHovering: () => void;
|
|
21
|
-
}) => void;
|
|
22
|
-
onMouseOver?: (params: {
|
|
23
|
-
e: React.MouseEvent;
|
|
24
|
-
setIsHovering: () => void;
|
|
25
|
-
unsetIsHovering: () => void;
|
|
26
|
-
}) => void;
|
|
27
|
-
onMouseMove?: (params: {
|
|
28
|
-
e: React.MouseEvent;
|
|
29
|
-
setIsHovering: () => void;
|
|
30
|
-
unsetIsHovering: () => void;
|
|
31
|
-
}) => void;
|
|
32
|
-
onMouseOut?: (params: {
|
|
33
|
-
e: React.MouseEvent;
|
|
34
|
-
setIsHovering: () => void;
|
|
35
|
-
unsetIsHovering: () => void;
|
|
36
|
-
}) => void;
|
|
37
|
-
shouldDecorateChildren?: boolean;
|
|
38
|
-
};
|
|
39
|
-
declare const ReactHoverObserver: React.FC<ReactHoverObserverProps>;
|
|
40
|
-
export default ReactHoverObserver;
|
package/dist/utils/format.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
type OmitFunction = (value: any, key: string, obj: Record<string, any>) => boolean;
|
|
2
|
-
type OmitType = (obj: Record<string, any>, props?: string | string[] | OmitFunction, fn?: OmitFunction) => Record<string, any>;
|
|
3
|
-
export declare const isPlainObject: (o: any) => boolean;
|
|
4
|
-
export declare const isExtendable: (val: any) => boolean;
|
|
5
|
-
declare const omit: OmitType;
|
|
6
|
-
export default omit;
|
package/dist/utils/noop.d.ts
DELETED
package/dist/utils/omit.d.ts
DELETED