@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.
Files changed (48) hide show
  1. package/dist/components/index.native.d.ts +3 -0
  2. package/dist/components/index.web.d.ts +3 -1
  3. package/dist/components/native/Action/ActionItems/actionItems_styles.native.d.ts +8 -8
  4. package/dist/components/native/Alerts/Alert/Alert_styles.native.d.ts +1 -1
  5. package/dist/components/native/BottomSticky/BottomStickyContainer/bottomStickyContainer_styles.native.d.ts +3 -3
  6. package/dist/components/native/Buttons/Button/styles.native.d.ts +2 -2
  7. package/dist/components/native/Buttons/ButtonIcon/ButtonIcon.types.native.d.ts +1 -0
  8. package/dist/components/native/Buttons/RoundedButton/styles.native.d.ts +2 -2
  9. package/dist/components/native/Buttons/SegmentedButton/styles.native.d.ts +2 -2
  10. package/dist/components/native/Cards/Consent/consentCard_styles.native.d.ts +1 -1
  11. package/dist/components/native/Cards/Credential/credential_styles.native.d.ts +3 -3
  12. package/dist/components/native/Cards/HeadingAvatars/headingAvatarsCard_styles.native.d.ts +2 -2
  13. package/dist/components/native/Cards/MiniCredential/miniCredential_styles.native.d.ts +2 -2
  14. package/dist/components/native/Chips/Chip/styles.native.d.ts +1 -1
  15. package/dist/components/native/Dialog/Dialog/dialog_styles.native.d.ts +11 -11
  16. package/dist/components/native/Drawer/BottomDrawer/bottomDrawer_styles.native.d.ts +6 -6
  17. package/dist/components/native/Headings/HeadingCredential/HeadingCredential_styles.native.d.ts +8 -8
  18. package/dist/components/native/Icons/icons/one.d.ts +8 -0
  19. package/dist/components/native/Icons/icons/three.d.ts +8 -0
  20. package/dist/components/native/Icons/icons/two.d.ts +8 -0
  21. package/dist/components/native/Icons/index.native.d.ts +3 -0
  22. package/dist/components/native/Indicator/Indicator/indicator_styles.native.d.ts +1 -1
  23. package/dist/components/native/Lists/List/list_styles.native.d.ts +1 -1
  24. package/dist/components/native/Lists/ListItem/listItem_styles.native.d.ts +3 -3
  25. package/dist/components/native/Lists/ListItem/listItem_types.native.d.ts +3 -1
  26. package/dist/components/native/NavBar/NavigationBar/navigationBar_styles.native.d.ts +1 -1
  27. package/dist/components/native/Popover/popover_styles.native.d.ts +14 -14
  28. package/dist/components/native/TextField/TextField/textField_styles.native.d.ts +3 -3
  29. package/dist/components/native/Tooltips/Tooltip/tooltip_styles.native.d.ts +2 -2
  30. package/dist/components/native/TopAppBar/TopAppBar/topAppBar_styles.native.d.ts +2 -2
  31. package/dist/components/native/TopAppBar/TopDrawerBar/topDrawerBar_styles.native.d.ts +2 -2
  32. package/dist/components/web/Avatars/Avatar/Avatar.types.web.d.ts +1 -0
  33. package/dist/components/web/Buttons/ButtonIcon/ButtonIcon.types.web.d.ts +1 -0
  34. package/dist/components/web/Icons/icons/one.d.ts +8 -0
  35. package/dist/components/web/Icons/icons/three.d.ts +8 -0
  36. package/dist/components/web/Icons/icons/two.d.ts +8 -0
  37. package/dist/components/web/Icons/index.web.d.ts +3 -0
  38. package/dist/components/web/Lists/ListItem/listItem_types.web.d.ts +3 -1
  39. package/dist/index.native.js +1 -1
  40. package/dist/index.native.js.map +1 -1
  41. package/dist/index.web.js +1 -1
  42. package/dist/index.web.js.map +1 -1
  43. package/package.json +1 -4
  44. package/dist/components/web/HoverObserver/HoverObserver.web.d.ts +0 -40
  45. package/dist/components/web/HoverObserver/index.web.d.ts +0 -2
  46. package/dist/utils/format.d.ts +0 -6
  47. package/dist/utils/noop.d.ts +0 -2
  48. 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.0",
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;
@@ -1,2 +0,0 @@
1
- import HoverObserver from './HoverObserver.web';
2
- export default HoverObserver;
@@ -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;
@@ -1,2 +0,0 @@
1
- declare const _default: () => void;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- export function isPlainObject(o: any): boolean;
2
- export default omit;
3
- declare function omit(obj: any, props: any, fn: any): {};