@pagopa/io-app-design-system 1.1.2 → 1.2.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.
Files changed (101) hide show
  1. package/README.md +1 -0
  2. package/lib/commonjs/components/alert/Alert.js +7 -7
  3. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  4. package/lib/commonjs/components/common/AnimatedTick.js +2 -1
  5. package/lib/commonjs/components/common/AnimatedTick.js.map +1 -1
  6. package/lib/commonjs/components/icons/Icon.js +124 -120
  7. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  8. package/lib/commonjs/components/icons/svg/IconLight.js +31 -0
  9. package/lib/commonjs/components/icons/svg/IconLight.js.map +1 -0
  10. package/lib/commonjs/components/icons/svg/IconLightFilled.js +31 -0
  11. package/lib/commonjs/components/icons/svg/IconLightFilled.js.map +1 -0
  12. package/lib/commonjs/components/icons/svg/originals/IconLight.svg +3 -0
  13. package/lib/commonjs/components/icons/svg/originals/IconLightFilled.svg +3 -0
  14. package/lib/commonjs/components/index.js +11 -0
  15. package/lib/commonjs/components/index.js.map +1 -1
  16. package/lib/commonjs/components/pictograms/Pictogram.js +31 -29
  17. package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
  18. package/lib/commonjs/components/pictograms/svg/PictogramSuccess.js +61 -0
  19. package/lib/commonjs/components/pictograms/svg/PictogramSuccess.js.map +1 -0
  20. package/lib/commonjs/components/pictograms/svg/originals/PictogramSuccess.svg +35 -0
  21. package/lib/commonjs/components/tabs/TabItem.js +123 -0
  22. package/lib/commonjs/components/tabs/TabItem.js.map +1 -0
  23. package/lib/commonjs/components/tabs/TabNavigation.js +80 -0
  24. package/lib/commonjs/components/tabs/TabNavigation.js.map +1 -0
  25. package/lib/commonjs/components/tabs/index.js +20 -0
  26. package/lib/commonjs/components/tabs/index.js.map +1 -0
  27. package/lib/commonjs/components/typography/LabelHeader.js +37 -0
  28. package/lib/commonjs/components/typography/LabelHeader.js.map +1 -0
  29. package/lib/commonjs/utils/hooks/useSpringPressProgressValue.js +31 -0
  30. package/lib/commonjs/utils/hooks/useSpringPressProgressValue.js.map +1 -0
  31. package/lib/module/components/alert/Alert.js +7 -7
  32. package/lib/module/components/alert/Alert.js.map +1 -1
  33. package/lib/module/components/common/AnimatedTick.js +2 -1
  34. package/lib/module/components/common/AnimatedTick.js.map +1 -1
  35. package/lib/module/components/icons/Icon.js +124 -120
  36. package/lib/module/components/icons/Icon.js.map +1 -1
  37. package/lib/module/components/icons/svg/IconLight.js +23 -0
  38. package/lib/module/components/icons/svg/IconLight.js.map +1 -0
  39. package/lib/module/components/icons/svg/IconLightFilled.js +23 -0
  40. package/lib/module/components/icons/svg/IconLightFilled.js.map +1 -0
  41. package/lib/module/components/icons/svg/originals/IconLight.svg +3 -0
  42. package/lib/module/components/icons/svg/originals/IconLightFilled.svg +3 -0
  43. package/lib/module/components/index.js +1 -0
  44. package/lib/module/components/index.js.map +1 -1
  45. package/lib/module/components/pictograms/Pictogram.js +31 -29
  46. package/lib/module/components/pictograms/Pictogram.js.map +1 -1
  47. package/lib/module/components/pictograms/svg/PictogramSuccess.js +51 -0
  48. package/lib/module/components/pictograms/svg/PictogramSuccess.js.map +1 -0
  49. package/lib/module/components/pictograms/svg/originals/PictogramSuccess.svg +35 -0
  50. package/lib/module/components/tabs/TabItem.js +114 -0
  51. package/lib/module/components/tabs/TabItem.js.map +1 -0
  52. package/lib/module/components/tabs/TabNavigation.js +73 -0
  53. package/lib/module/components/tabs/TabNavigation.js.map +1 -0
  54. package/lib/module/components/tabs/index.js +3 -0
  55. package/lib/module/components/tabs/index.js.map +1 -0
  56. package/lib/module/components/typography/LabelHeader.js +27 -0
  57. package/lib/module/components/typography/LabelHeader.js.map +1 -0
  58. package/lib/module/utils/hooks/useSpringPressProgressValue.js +22 -0
  59. package/lib/module/utils/hooks/useSpringPressProgressValue.js.map +1 -0
  60. package/lib/typescript/components/alert/Alert.d.ts +3 -3
  61. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  62. package/lib/typescript/components/common/AnimatedTick.d.ts.map +1 -1
  63. package/lib/typescript/components/icons/Icon.d.ts +2 -0
  64. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  65. package/lib/typescript/components/icons/svg/IconLight.d.ts +5 -0
  66. package/lib/typescript/components/icons/svg/IconLight.d.ts.map +1 -0
  67. package/lib/typescript/components/icons/svg/IconLightFilled.d.ts +5 -0
  68. package/lib/typescript/components/icons/svg/IconLightFilled.d.ts.map +1 -0
  69. package/lib/typescript/components/index.d.ts +1 -0
  70. package/lib/typescript/components/index.d.ts.map +1 -1
  71. package/lib/typescript/components/pictograms/Pictogram.d.ts +1 -0
  72. package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
  73. package/lib/typescript/components/pictograms/svg/PictogramSuccess.d.ts +5 -0
  74. package/lib/typescript/components/pictograms/svg/PictogramSuccess.d.ts.map +1 -0
  75. package/lib/typescript/components/tabs/TabItem.d.ts +19 -0
  76. package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -0
  77. package/lib/typescript/components/tabs/TabNavigation.d.ts +15 -0
  78. package/lib/typescript/components/tabs/TabNavigation.d.ts.map +1 -0
  79. package/lib/typescript/components/tabs/index.d.ts +3 -0
  80. package/lib/typescript/components/tabs/index.d.ts.map +1 -0
  81. package/lib/typescript/components/typography/LabelHeader.d.ts +19 -0
  82. package/lib/typescript/components/typography/LabelHeader.d.ts.map +1 -0
  83. package/lib/typescript/utils/hooks/useSpringPressProgressValue.d.ts +11 -0
  84. package/lib/typescript/utils/hooks/useSpringPressProgressValue.d.ts.map +1 -0
  85. package/package.json +5 -4
  86. package/src/components/alert/Alert.tsx +12 -12
  87. package/src/components/common/AnimatedTick.tsx +1 -0
  88. package/src/components/icons/Icon.tsx +124 -120
  89. package/src/components/icons/svg/IconLight.tsx +16 -0
  90. package/src/components/icons/svg/IconLightFilled.tsx +16 -0
  91. package/src/components/icons/svg/originals/IconLight.svg +3 -0
  92. package/src/components/icons/svg/originals/IconLightFilled.svg +3 -0
  93. package/src/components/index.tsx +1 -0
  94. package/src/components/pictograms/Pictogram.tsx +31 -29
  95. package/src/components/pictograms/svg/PictogramSuccess.tsx +49 -0
  96. package/src/components/pictograms/svg/originals/PictogramSuccess.svg +35 -0
  97. package/src/components/tabs/TabItem.tsx +183 -0
  98. package/src/components/tabs/TabNavigation.tsx +114 -0
  99. package/src/components/tabs/index.tsx +2 -0
  100. package/src/components/typography/LabelHeader.tsx +44 -0
  101. package/src/utils/hooks/useSpringPressProgressValue.ts +28 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PictogramSuccess.d.ts","sourceRoot":"","sources":["../../../../../src/components/pictograms/svg/PictogramSuccess.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,QAAA,MAAM,gBAAgB,8BAA+B,iBAAiB,sBA0CrE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import { GestureResponderEvent } from "react-native";
3
+ import { WithTestID } from "../../utils/types";
4
+ import { IOIcons } from "../icons";
5
+ type ColorMode = "light" | "dark";
6
+ export type TabItem = WithTestID<{
7
+ label: string;
8
+ color?: ColorMode;
9
+ selected?: boolean;
10
+ fullWidth?: boolean;
11
+ icon?: IOIcons;
12
+ iconSelected?: IOIcons;
13
+ accessibilityLabel: string;
14
+ accessibilityHint?: string;
15
+ onPress?: (event: GestureResponderEvent) => void;
16
+ }>;
17
+ declare const TabItem: ({ label, color, selected, fullWidth, accessibilityLabel, accessibilityHint, testID, onPress, icon, iconSelected }: TabItem) => React.JSX.Element;
18
+ export { TabItem };
19
+ //# sourceMappingURL=TabItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;AAU5E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAMzC,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAElC,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CAClD,CAAC,CAAC;AAuCH,QAAA,MAAM,OAAO,sHAWV,OAAO,sBAkFT,CAAC;AAiBF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { TabItem } from "./TabItem";
3
+ export type TabNavigationItem = Omit<TabItem, "onPress" | "color" | "selected" | "accessibilityLabel" | "accessibilityHint">;
4
+ type TabNavigationChildren = React.ReactElement<TabItem> | Array<React.ReactElement<TabItem>>;
5
+ type TabAlignment = "start" | "center" | "end" | "stretch";
6
+ type TabNavigation = {
7
+ color?: TabItem["color"];
8
+ selectedIndex?: number;
9
+ tabAlignment?: TabAlignment;
10
+ onItemPress?: (index: number) => void;
11
+ children: TabNavigationChildren;
12
+ };
13
+ declare const TabNavigation: ({ color, selectedIndex: forceSelectedIndex, tabAlignment, onItemPress, children }: TabNavigation) => React.JSX.Element;
14
+ export { TabNavigation };
15
+ //# sourceMappingURL=TabNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,OAAO,EACP,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CAC9E,CAAC;AAEF,KAAK,qBAAqB,GACtB,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,GAC3B,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;AAEvC,KAAK,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAE3D,KAAK,aAAa,GAAG;IAEnB,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtC,QAAQ,EAAE,qBAAqB,CAAC;CACjC,CAAC;AASF,QAAA,MAAM,aAAa,sFAMhB,aAAa,sBA0Df,CAAC;AAeF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { TabItem } from "./TabItem";
2
+ export { TabNavigation } from "./TabNavigation";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ import { IOFontWeight } from "../../utils/fonts";
3
+ import { IOTheme } from "../../core";
4
+ import { ExternalTypographyProps, TypographyProps } from "./common";
5
+ type AllowedColors = IOTheme["textBody-default"] | "grey-650" | "grey-850" | "white" | "black";
6
+ type AllowedWeight = Extract<IOFontWeight, "Regular">;
7
+ type OwnProps = ExternalTypographyProps<TypographyProps<AllowedWeight, AllowedColors>>;
8
+ export declare const labelHeaderFontSize = 14;
9
+ export declare const labelHeaderLineHeight = 18;
10
+ export declare const labelHeaderDefaultColor: AllowedColors;
11
+ /**
12
+ * Typography component to render `LabelHeader` text with font size {@link fontSize} and fontFamily {@link fontName}.
13
+ * default values(if not defined) are weight: `Regular`, color: `bluegreyDark`
14
+ * @param props
15
+ * @constructor
16
+ */
17
+ export declare const LabelHeader: React.FunctionComponent<OwnProps>;
18
+ export {};
19
+ //# sourceMappingURL=LabelHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/LabelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAgB,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAgB,MAAM,YAAY,CAAC;AAEnD,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEpE,KAAK,aAAa,GACd,OAAO,CAAC,kBAAkB,CAAC,GAC3B,UAAU,GACV,UAAU,GACV,OAAO,GACP,OAAO,CAAC;AACZ,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;AAEtD,KAAK,QAAQ,GAAG,uBAAuB,CACrC,eAAe,CAAC,aAAa,EAAE,aAAa,CAAC,CAC9C,CAAC;AAGF,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,uBAAuB,EAAE,aACJ,CAAC;AAKnC;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAUtD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import Animated from "react-native-reanimated";
2
+ export declare const useSpringPressProgressValue: (springValue?: {
3
+ damping: number;
4
+ mass: number;
5
+ stiffness: number;
6
+ }) => {
7
+ onPressIn: () => void;
8
+ onPressOut: () => void;
9
+ progress: Readonly<Animated.SharedValue<number>>;
10
+ };
11
+ //# sourceMappingURL=useSpringPressProgressValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSpringPressProgressValue.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/useSpringPressProgressValue.ts"],"names":[],"mappings":"AACA,OAAO,QAIN,MAAM,yBAAyB,CAAC;AAGjC,eAAO,MAAM,2BAA2B;;;;;;;;CAmBvC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/io-app-design-system",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -83,7 +83,8 @@
83
83
  "react-native-linear-gradient": "*",
84
84
  "react-native-reanimated": "*",
85
85
  "react-native-svg": "*",
86
- "react-native-safe-area-context": "*"
86
+ "react-native-safe-area-context": "*",
87
+ "react-native-gesture-handler": "*"
87
88
  },
88
89
  "engines": {
89
90
  "node": ">= 16.0.0"
@@ -159,9 +160,9 @@
159
160
  "react-native-gesture-handler": "^2.12.0",
160
161
  "react-native-haptic-feedback": "^2.0.2",
161
162
  "react-native-linear-gradient": "^2.5.6",
162
- "react-native-reanimated": "^2.9.1",
163
+ "react-native-reanimated": "^3.4.1",
164
+ "react-native-safe-area-context": "^4.7.1",
163
165
  "react-native-svg": "^12.3.0",
164
- "react-native-safe-area-context": "^3.3.2",
165
166
  "rn-placeholder": "1.3.3"
166
167
  }
167
168
  }
@@ -1,11 +1,11 @@
1
+ import React, { useCallback } from "react";
1
2
  import {
2
3
  GestureResponderEvent,
3
4
  Pressable,
4
5
  StyleSheet,
5
- View,
6
- Text
6
+ Text,
7
+ View
7
8
  } from "react-native";
8
- import React, { useCallback } from "react";
9
9
  import Animated, {
10
10
  Extrapolate,
11
11
  interpolate,
@@ -14,21 +14,21 @@ import Animated, {
14
14
  useSharedValue,
15
15
  withSpring
16
16
  } from "react-native-reanimated";
17
- import { Label } from "../typography/Label";
17
+ import { IOScaleValues, IOSpringValues } from "../../core/IOAnimations";
18
18
  import {
19
19
  IOColors,
20
20
  IOColorsStatusBackground,
21
21
  IOColorsStatusForeground
22
22
  } from "../../core/IOColors";
23
- import { IOIconSizeScale, IOIcons, Icon } from "../icons";
24
- import { HSpacer, VSpacer } from "../spacer";
25
- import { IOStyles } from "../../core/IOStyles";
26
23
  import { IOAlertRadius } from "../../core/IOShapes";
27
24
  import { IOAlertSpacing } from "../../core/IOSpacing";
28
- import { H4 } from "../typography/H4";
29
- import { IOScaleValues, IOSpringValues } from "../../core/IOAnimations";
25
+ import { IOStyles } from "../../core/IOStyles";
30
26
  import { makeFontStyleObject } from "../../utils/fonts";
31
27
  import { WithTestID } from "../../utils/types";
28
+ import { IOIconSizeScale, IOIcons, Icon } from "../icons";
29
+ import { HSpacer, VSpacer } from "../spacer";
30
+ import { H4 } from "../typography/H4";
31
+ import { Label } from "../typography/Label";
32
32
 
33
33
  const iconSize: IOIconSizeScale = 24;
34
34
 
@@ -73,7 +73,7 @@ type AlertActionProps =
73
73
  onPress?: never;
74
74
  };
75
75
 
76
- export type Alert = AlertProps & AlertActionProps;
76
+ type AlertType = AlertProps & AlertActionProps;
77
77
 
78
78
  type VariantStates = {
79
79
  icon: IOIcons;
@@ -83,7 +83,7 @@ type VariantStates = {
83
83
 
84
84
  // COMPONENT CONFIGURATION
85
85
 
86
- const mapVariantStates: Record<NonNullable<Alert["variant"]>, VariantStates> = {
86
+ const mapVariantStates: Record<NonNullable<AlertType["variant"]>, VariantStates> = {
87
87
  error: {
88
88
  icon: "errorFilled",
89
89
  background: "error-100",
@@ -116,7 +116,7 @@ export const Alert = ({
116
116
  fullWidth = false,
117
117
  accessibilityHint,
118
118
  testID
119
- }: Alert) => {
119
+ }: AlertType): JSX.Element => {
120
120
  const isPressed: Animated.SharedValue<number> = useSharedValue(0);
121
121
 
122
122
  // Scaling transformation applied when the button is pressed
@@ -48,6 +48,7 @@ export const AnimatedTick = ({ progress, ...pathProps }: AnimatedTickProps) => {
48
48
  strokeWidth={2}
49
49
  strokeLinecap="round"
50
50
  strokeLinejoin="round"
51
+ fill="none"
51
52
  {...pathProps}
52
53
  />
53
54
  </Svg>
@@ -3,148 +3,150 @@ import { ColorValue, StyleProp } from "react-native";
3
3
  import { IOColors } from "../../core/IOColors";
4
4
 
5
5
  /* Icons */
6
- import IconSpid from "./svg/IconSpid";
7
- import IconCie from "./svg/IconCie";
8
- import IconQrCode from "./svg/IconQrCode";
9
- import IconBell from "./svg/IconBell";
10
- import IconHome from "./svg/IconHome";
11
- import IconHomeFill from "./svg/IconHomeFill";
12
- import IconCopy from "./svg/IconCopy";
13
- import IconSelfCertification from "./svg/IconSelfCertification";
14
- import IconInstitution from "./svg/IconInstitution";
15
- import IconHourglass from "./svg/IconHourglass";
16
- import IconPEC from "./svg/IconPEC";
17
- import IconMessageLegal from "./svg/IconMessageLegal";
18
- import IconShareiOs from "./svg/IconShareiOs";
19
- import IconShareAndroid from "./svg/IconShareAndroid";
20
- import IconLockOn from "./svg/IconLockOn";
21
- import IconLockOff from "./svg/IconLockOff";
22
- import IconInitiatives from "./svg/IconInitiatives";
23
- import IconAnalytics from "./svg/IconAnalytics";
24
- import IconFornitori from "./svg/IconFornitori";
25
- import IconEyeShow from "./svg/IconEyeShow";
26
- import IconEyeHide from "./svg/IconEyeHide";
27
- import IconPinOff from "./svg/IconPinOff";
28
- import IconPinOn from "./svg/IconPinOn";
29
- import IconEmojiSad from "./svg/IconEmojiSad";
30
- import IconEmojiHappy from "./svg/IconEmojiHappy";
31
- import IconPhone from "./svg/IconPhone";
32
- import IconEmail from "./svg/IconEmail";
33
- import IconEmailFill from "./svg/IconEmailFill";
34
- import IconMessage from "./svg/IconMessage";
35
- import IconDocument from "./svg/IconDocument";
36
- import IconDocumentSign from "./svg/IconDocumentSign";
37
- import IconGiacenza from "./svg/IconGiacenza";
38
- import IconChat from "./svg/IconChat";
6
+ import IconAbacus from "./svg/IconAbacus";
7
+ import IconAdd from "./svg/IconAdd";
39
8
  import IconAgreement from "./svg/IconAgreement";
40
- import IconSave from "./svg/IconSave";
41
- import IconSuccess from "./svg/IconSuccess";
42
- import IconOk from "./svg/IconOk";
43
- import IconFiscalCodeIndividual from "./svg/IconFiscalCodeIndividual";
44
- import IconCreditCard from "./svg/IconCreditCard";
45
- import IconBonus from "./svg/IconBonus";
46
- import IconTransactions from "./svg/IconTransactions";
47
9
  import IconAmount from "./svg/IconAmount";
48
- import IconPSP from "./svg/IconPSP";
49
- import IconAdd from "./svg/IconAdd";
50
- import IconCoggle from "./svg/IconCoggle";
51
- import IconInfo from "./svg/IconInfo";
52
- import IconInfoFilled from "./svg/IconInfoFilled";
53
- import IconNotice from "./svg/IconNotice";
54
- import IconNoticeFilled from "./svg/IconNoticeFilled";
55
- import IconRefund from "./svg/IconRefund";
56
- import IconReload from "./svg/IconReload";
57
- import IconHistory from "./svg/IconHistory";
58
- import IconEdit from "./svg/IconEdit";
10
+ import IconAnalytics from "./svg/IconAnalytics";
11
+ import IconArchive from "./svg/IconArchive";
12
+ import IconArrowBottom from "./svg/IconArrowBottom";
13
+ import IconArrowLeft from "./svg/IconArrowLeft";
14
+ import IconArrowRight from "./svg/IconArrowRight";
15
+ import IconArrowTop from "./svg/IconArrowTop";
16
+ import IconAttachment from "./svg/IconAttachment";
17
+ import IconBackAndroid from "./svg/IconBackAndroid";
18
+ import IconBackiOS from "./svg/IconBackiOS";
19
+ import IconBarcode from "./svg/IconBarcode";
59
20
  import IconBattery from "./svg/IconBattery";
60
- import IconTrashcan from "./svg/IconTrashcan";
21
+ import IconBell from "./svg/IconBell";
22
+ import IconBiomFaceID from "./svg/IconBiomFaceID";
23
+ import IconBiomFingerprint from "./svg/IconBiomFingerprint";
24
+ import IconBonus from "./svg/IconBonus";
61
25
  import IconCalendar from "./svg/IconCalendar";
62
- import IconLightbulb from "./svg/IconLightbulb";
63
- import IconMagicWand from "./svg/IconMagicWand";
64
- import IconProfile from "./svg/IconProfile";
65
- import IconProfileFilled from "./svg/IconProfileFilled";
66
- import IconProfileAlt from "./svg/IconProfileAlt";
67
- import IconStarFilled from "./svg/IconStarFilled";
68
- import IconStarEmpty from "./svg/IconStarEmpty";
69
- import IconAbacus from "./svg/IconAbacus";
70
- import IconSwitchOff from "./svg/IconSwitchOff";
71
- import IconDevice from "./svg/IconDevice";
72
- import IconDotMenu from "./svg/IconDotMenu";
73
- import IconBarcode from "./svg/IconBarcode";
74
- import IconLogin from "./svg/IconLogin";
75
- import IconLogout from "./svg/IconLogout";
76
- import IconLadybug from "./svg/IconLadybug";
77
- import IconTag from "./svg/IconTag";
78
- import IconGallery from "./svg/IconGallery";
79
26
  import IconCancel from "./svg/IconCancel";
80
- import IconQuestion from "./svg/IconQuestion";
81
- import IconSearch from "./svg/IconSearch";
27
+ import IconCanceled from "./svg/IconCanceled";
28
+ import IconCategCulture from "./svg/IconCategCulture";
29
+ import IconCategFinance from "./svg/IconCategFinance";
30
+ import IconCategHome from "./svg/IconCategHome";
31
+ import IconCategJobOffers from "./svg/IconCategJobOffers";
32
+ import IconCategLearning from "./svg/IconCategLearning";
33
+ import IconCategMobility from "./svg/IconCategMobility";
34
+ import IconCategShopping from "./svg/IconCategShopping";
35
+ import IconCategSport from "./svg/IconCategSport";
36
+ import IconCategSustainability from "./svg/IconCategSustainability";
37
+ import IconCategTelco from "./svg/IconCategTelco";
38
+ import IconCategTravel from "./svg/IconCategTravel";
39
+ import IconCategWellness from "./svg/IconCategWellness";
40
+ import IconChat from "./svg/IconChat";
41
+ import IconCheckTick from "./svg/IconCheckTick";
42
+ import IconCheckTickBig from "./svg/IconCheckTickBig";
43
+ import IconChevronBottom from "./svg/IconChevronBottom";
44
+ import IconChevronLeft from "./svg/IconChevronLeft";
45
+ import IconChevronRight from "./svg/IconChevronRight";
46
+ import IconChevronRightListItem from "./svg/IconChevronRightListItem";
47
+ import IconChevronTop from "./svg/IconChevronTop";
48
+ import IconCie from "./svg/IconCie";
82
49
  import IconCloseLarge from "./svg/IconCloseLarge";
50
+ import IconCloseMedium from "./svg/IconCloseMedium";
83
51
  import IconCloseSmall from "./svg/IconCloseSmall";
52
+ import IconCoggle from "./svg/IconCoggle";
53
+ import IconCopy from "./svg/IconCopy";
54
+ import IconCreditCard from "./svg/IconCreditCard";
55
+ import IconDevice from "./svg/IconDevice";
56
+ import IconDocument from "./svg/IconDocument";
84
57
  import IconDocumentAttachment from "./svg/IconDocumentAttachment";
85
58
  import IconDocumentAttachmentPDF from "./svg/IconDocumentAttachmentPDF";
86
- import IconAttachment from "./svg/IconAttachment";
87
- import IconLocationiOS from "./svg/IconLocationiOS";
88
- import IconLocationiOSFilled from "./svg/IconLocationiOSFilled";
89
- import IconLocationAndroid from "./svg/IconLocationAndroid";
90
- import IconExternalLink from "./svg/IconExternalLink";
91
- import IconWarningFilled from "./svg/IconWarningFilled";
92
- import IconCanceled from "./svg/IconCanceled";
59
+ import IconDocumentSign from "./svg/IconDocumentSign";
60
+ import IconDotMenu from "./svg/IconDotMenu";
61
+ import IconEdit from "./svg/IconEdit";
62
+ import IconEmail from "./svg/IconEmail";
63
+ import IconEmailFill from "./svg/IconEmailFill";
64
+ import IconEmojiHappy from "./svg/IconEmojiHappy";
65
+ import IconEmojiSad from "./svg/IconEmojiSad";
93
66
  import IconErrorFilled from "./svg/IconErrorFilled";
67
+ import IconExternalLink from "./svg/IconExternalLink";
68
+ import IconEyeHide from "./svg/IconEyeHide";
69
+ import IconEyeShow from "./svg/IconEyeShow";
70
+ import IconFiscalCodeIndividual from "./svg/IconFiscalCodeIndividual";
71
+ import IconFornitori from "./svg/IconFornitori";
72
+ import IconGallery from "./svg/IconGallery";
73
+ import IconGiacenza from "./svg/IconGiacenza";
74
+ import IconHistory from "./svg/IconHistory";
75
+ import IconHome from "./svg/IconHome";
76
+ import IconHomeFill from "./svg/IconHomeFill";
77
+ import IconHourglass from "./svg/IconHourglass";
78
+ import IconInfo from "./svg/IconInfo";
79
+ import IconInfoFilled from "./svg/IconInfoFilled";
80
+ import IconInitiatives from "./svg/IconInitiatives";
81
+ import IconInstitution from "./svg/IconInstitution";
82
+ import IconLadybug from "./svg/IconLadybug";
94
83
  import IconLegalValue from "./svg/IconLegalValue";
95
- import IconChevronRight from "./svg/IconChevronRight";
96
- import IconChevronTop from "./svg/IconChevronTop";
97
- import IconChevronBottom from "./svg/IconChevronBottom";
98
- import IconChevronLeft from "./svg/IconChevronLeft";
99
- import IconChevronRightListItem from "./svg/IconChevronRightListItem";
100
- import IconArrowBottom from "./svg/IconArrowBottom";
101
- import IconArrowLeft from "./svg/IconArrowLeft";
102
- import IconArrowTop from "./svg/IconArrowTop";
103
- import IconArrowRight from "./svg/IconArrowRight";
104
- import IconBackiOS from "./svg/IconBackiOS";
105
- import IconBackAndroid from "./svg/IconBackAndroid";
84
+ import IconLight from "./svg/IconLight";
85
+ import IconLightFilled from "./svg/IconLightFilled";
86
+ import IconLightbulb from "./svg/IconLightbulb";
87
+ import IconLocationAndroid from "./svg/IconLocationAndroid";
88
+ import IconLocationiOS from "./svg/IconLocationiOS";
89
+ import IconLocationiOSFilled from "./svg/IconLocationiOSFilled";
90
+ import IconLockOff from "./svg/IconLockOff";
91
+ import IconLockOn from "./svg/IconLockOn";
92
+ import IconLogin from "./svg/IconLogin";
93
+ import IconLogout from "./svg/IconLogout";
94
+ import IconMagicWand from "./svg/IconMagicWand";
95
+ import IconMerchant from "./svg/IconMerchant";
96
+ import IconMessage from "./svg/IconMessage";
97
+ import IconMessageLegal from "./svg/IconMessageLegal";
106
98
  import IconNavMessages from "./svg/IconNavMessages";
107
- import IconNavWallet from "./svg/IconNavWallet";
99
+ import IconNavMessagesFocused from "./svg/IconNavMessagesFocused";
100
+ import IconNavProfile from "./svg/IconNavProfile";
101
+ import IconNavProfileFocused from "./svg/IconNavProfileFocused";
108
102
  import IconNavScan from "./svg/IconNavScan";
109
103
  import IconNavServices from "./svg/IconNavServices";
110
- import IconNavProfile from "./svg/IconNavProfile";
111
- import IconNavMessagesFocused from "./svg/IconNavMessagesFocused";
112
- import IconNavWalletFocused from "./svg/IconNavWalletFocused";
113
104
  import IconNavServicesFocused from "./svg/IconNavServicesFocused";
114
- import IconNavProfileFocused from "./svg/IconNavProfileFocused";
115
- import IconBiomFingerprint from "./svg/IconBiomFingerprint";
116
- import IconBiomFaceID from "./svg/IconBiomFaceID";
117
- import IconCategCulture from "./svg/IconCategCulture";
118
- import IconCategWellness from "./svg/IconCategWellness";
119
- import IconCategLearning from "./svg/IconCategLearning";
120
- import IconCategSport from "./svg/IconCategSport";
121
- import IconCategHome from "./svg/IconCategHome";
122
- import IconCategTelco from "./svg/IconCategTelco";
123
- import IconCategFinance from "./svg/IconCategFinance";
124
- import IconCategTravel from "./svg/IconCategTravel";
125
- import IconCategMobility from "./svg/IconCategMobility";
126
- import IconCategJobOffers from "./svg/IconCategJobOffers";
127
- import IconCategShopping from "./svg/IconCategShopping";
128
- import IconCategSustainability from "./svg/IconCategSustainability";
105
+ import IconNavWallet from "./svg/IconNavWallet";
106
+ import IconNavWalletFocused from "./svg/IconNavWalletFocused";
107
+ import IconNotice from "./svg/IconNotice";
108
+ import IconNoticeFilled from "./svg/IconNoticeFilled";
109
+ import IconOk from "./svg/IconOk";
110
+ import IconPEC from "./svg/IconPEC";
111
+ import IconPSP from "./svg/IconPSP";
112
+ import IconPhone from "./svg/IconPhone";
113
+ import IconPinOff from "./svg/IconPinOff";
114
+ import IconPinOn from "./svg/IconPinOn";
129
115
  import IconProductIOApp from "./svg/IconProductIOApp";
130
116
  import IconProductIOAppBlueBg from "./svg/IconProductIOAppBlueBg";
131
117
  import IconProductPagoPA from "./svg/IconProductPagoPA";
132
- import IconWebsite from "./svg/IconWebsite";
118
+ import IconProfile from "./svg/IconProfile";
119
+ import IconProfileAlt from "./svg/IconProfileAlt";
120
+ import IconProfileFilled from "./svg/IconProfileFilled";
121
+ import IconQrCode from "./svg/IconQrCode";
122
+ import IconQuestion from "./svg/IconQuestion";
123
+ import IconRefund from "./svg/IconRefund";
124
+ import IconReload from "./svg/IconReload";
125
+ import IconSave from "./svg/IconSave";
126
+ import IconSearch from "./svg/IconSearch";
133
127
  import IconSecurity from "./svg/IconSecurity";
134
- import LegIconRadioOn from "./svg/LegIconRadioOn";
135
- import LegIconRadioOff from "./svg/LegIconRadioOff";
136
- import LegIconCheckOn from "./svg/LegIconCheckOn";
137
- import LegIconCheckOff from "./svg/LegIconCheckOff";
138
- import IconCloseMedium from "./svg/IconCloseMedium";
139
- import IconCheckTick from "./svg/IconCheckTick";
140
- import IconCheckTickBig from "./svg/IconCheckTickBig";
141
- import IconMerchant from "./svg/IconMerchant";
128
+ import IconSelfCertification from "./svg/IconSelfCertification";
129
+ import IconShareAndroid from "./svg/IconShareAndroid";
130
+ import IconShareiOs from "./svg/IconShareiOs";
131
+ import IconSpid from "./svg/IconSpid";
132
+ import IconStarEmpty from "./svg/IconStarEmpty";
133
+ import IconStarFilled from "./svg/IconStarFilled";
134
+ import IconSuccess from "./svg/IconSuccess";
135
+ import IconSwitchOff from "./svg/IconSwitchOff";
136
+ import IconSystemAppsAndroid from "./svg/IconSystemAppsAndroid";
137
+ import IconSystemNotificationsInstructions from "./svg/IconSystemNotificationsInstructions";
142
138
  import IconSystemSettingsAndroid from "./svg/IconSystemSettingsAndroid";
143
139
  import IconSystemSettingsiOS from "./svg/IconSystemSettingsiOS";
144
140
  import IconSystemToggleInstructions from "./svg/IconSystemToggleInstructions";
145
- import IconSystemAppsAndroid from "./svg/IconSystemAppsAndroid";
146
- import IconSystemNotificationsInstructions from "./svg/IconSystemNotificationsInstructions";
147
- import IconArchive from "./svg/IconArchive";
141
+ import IconTag from "./svg/IconTag";
142
+ import IconTransactions from "./svg/IconTransactions";
143
+ import IconTrashcan from "./svg/IconTrashcan";
144
+ import IconWarningFilled from "./svg/IconWarningFilled";
145
+ import IconWebsite from "./svg/IconWebsite";
146
+ import LegIconCheckOff from "./svg/LegIconCheckOff";
147
+ import LegIconCheckOn from "./svg/LegIconCheckOn";
148
+ import LegIconRadioOff from "./svg/LegIconRadioOff";
149
+ import LegIconRadioOn from "./svg/LegIconRadioOn";
148
150
 
149
151
  export const IOIcons = {
150
152
  archive: IconArchive,
@@ -284,6 +286,8 @@ export const IOIcons = {
284
286
  checkTick: IconCheckTick,
285
287
  checkTickBig: IconCheckTickBig,
286
288
  merchant: IconMerchant,
289
+ light: IconLight,
290
+ lightFilled: IconLightFilled,
287
291
  systemSettingsAndroid: IconSystemSettingsAndroid,
288
292
  systemSettingsiOS: IconSystemSettingsiOS,
289
293
  systemToggleInstructions: IconSystemToggleInstructions,
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { Svg, Path } from "react-native-svg";
3
+ import { SVGIconProps } from "../Icon";
4
+
5
+ const IconLadybug = ({ size, style, ...props }: SVGIconProps) => (
6
+ <Svg width={size} height={size} viewBox="0 0 24 24" style={style} {...props}>
7
+ <Path
8
+ fillRule="evenodd"
9
+ clipRule="evenodd"
10
+ d="M8.52556 7.36919L5 4.02177V2H19V4.02177L15.4862 7.35806L15.4817 7.36231C14.8473 7.96113 14.5 8.79051 14.5 9.64538V22H9.5V9.64538C9.5 8.78028 9.14259 7.95878 8.52556 7.36919ZM16.8562 8.81519L20.6438 5.21888C20.87 5.00278 21 4.70203 21 4.38868V1.13994C21 0.509642 20.496 0 19.8728 0H4.12723C3.50396 0 3 0.509642 3 1.13994V4.38868C3 4.70383 3.12822 5.00458 3.35615 5.21888L7.14385 8.81519C7.37 9.03129 7.5 9.33203 7.5 9.64538V22.8601C7.5 23.4904 8.00396 24 8.62723 24H15.3728C15.996 24 16.5 23.4904 16.5 22.8601V9.64538C16.5 9.33023 16.6282 9.02949 16.8562 8.81519ZM11.0098 9.82483V8.07369C11.0098 7.52736 11.4527 7.08447 11.999 7.08447C12.5453 7.08447 12.9882 7.52736 12.9882 8.07369V9.82483C12.9882 10.3712 12.5453 10.814 11.999 10.814C11.4527 10.814 11.0098 10.3712 11.0098 9.82483Z"
11
+ fill="currentColor"
12
+ />
13
+ </Svg>
14
+ );
15
+
16
+ export default IconLadybug;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { Svg, Path } from "react-native-svg";
3
+ import { SVGIconProps } from "../Icon";
4
+
5
+ const IconLadybug = ({ size, style, ...props }: SVGIconProps) => (
6
+ <Svg width={size} height={size} viewBox="0 0 24 24" style={style} {...props}>
7
+ <Path
8
+ fillRule="evenodd"
9
+ clipRule="evenodd"
10
+ d="M19.8728 0H4.12723C3.50396 0 3 0.509642 3 1.13994V4.38868C3 4.70383 3.12822 5.00458 3.35615 5.21888L7.14385 8.81519C7.37 9.03129 7.5 9.33203 7.5 9.64538V22.8601C7.5 23.4904 8.00396 24 8.62723 24H15.3728C15.996 24 16.5 23.4904 16.5 22.8601V9.64538C16.5 9.33023 16.6282 9.02949 16.8562 8.81519L20.6438 5.21888C20.87 5.00278 21 4.70203 21 4.38868V1.13994C21 0.509642 20.496 0 19.8728 0ZM12.9883 9.82492C12.9883 10.3712 12.5454 10.8141 11.9991 10.8141C11.4528 10.8141 11.0099 10.3712 11.0099 9.82492V8.07378C11.0099 7.52745 11.4528 7.08457 11.9991 7.08457C12.5454 7.08457 12.9883 7.52745 12.9883 8.07378V9.82492Z"
11
+ fill="currentColor"
12
+ />
13
+ </Svg>
14
+ );
15
+
16
+ export default IconLadybug;
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M8.52556 7.36919L5 4.02177V2H19V4.02177L15.4862 7.35806L15.4817 7.36231C14.8473 7.96113 14.5 8.79051 14.5 9.64538V22H9.5V9.64538C9.5 8.78028 9.14259 7.95878 8.52556 7.36919ZM16.8562 8.81519L20.6438 5.21888C20.87 5.00278 21 4.70203 21 4.38868V1.13994C21 0.509642 20.496 0 19.8728 0H4.12723C3.50396 0 3 0.509642 3 1.13994V4.38868C3 4.70383 3.12822 5.00458 3.35615 5.21888L7.14385 8.81519C7.37 9.03129 7.5 9.33203 7.5 9.64538V22.8601C7.5 23.4904 8.00396 24 8.62723 24H15.3728C15.996 24 16.5 23.4904 16.5 22.8601V9.64538C16.5 9.33023 16.6282 9.02949 16.8562 8.81519ZM11.0098 9.82483V8.07369C11.0098 7.52736 11.4527 7.08447 11.999 7.08447C12.5453 7.08447 12.9882 7.52736 12.9882 8.07369V9.82483C12.9882 10.3712 12.5453 10.814 11.999 10.814C11.4527 10.814 11.0098 10.3712 11.0098 9.82483Z" fill="white"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19.8728 0H4.12723C3.50396 0 3 0.509642 3 1.13994V4.38868C3 4.70383 3.12822 5.00458 3.35615 5.21888L7.14385 8.81519C7.37 9.03129 7.5 9.33203 7.5 9.64538V22.8601C7.5 23.4904 8.00396 24 8.62723 24H15.3728C15.996 24 16.5 23.4904 16.5 22.8601V9.64538C16.5 9.33023 16.6282 9.02949 16.8562 8.81519L20.6438 5.21888C20.87 5.00278 21 4.70203 21 4.38868V1.13994C21 0.509642 20.496 0 19.8728 0ZM12.9883 9.82492C12.9883 10.3712 12.5454 10.8141 11.9991 10.8141C11.4528 10.8141 11.0099 10.3712 11.0099 9.82492V8.07378C11.0099 7.52745 11.4528 7.08457 11.9991 7.08457C12.5454 7.08457 12.9883 7.52745 12.9883 8.07378V9.82492Z" fill="white"/>
3
+ </svg>
@@ -15,4 +15,5 @@ export * from "./radio";
15
15
  export * from "./spacer";
16
16
  export * from "./switch";
17
17
  export * from "./tag";
18
+ export * from "./tabs";
18
19
  export * from "./typography";