diff --git a/example/src/components/AssetViewerBox.tsx b/example/src/components/AssetViewerBox.tsx
index 1942fc01..62c2a026 100644
--- a/example/src/components/AssetViewerBox.tsx
+++ b/example/src/components/AssetViewerBox.tsx
@@ -1,4 +1,4 @@
-import { IOColors, LabelSmall, hexToRgba } from "@pagopa/io-app-design-system";
+import { IOColors, BodySmall, hexToRgba } from "@pagopa/io-app-design-system";
import React from "react";
import {
ImageBackground,
@@ -157,13 +157,13 @@ export const AssetViewerBox = ({
}}
>
{name && (
-
{name}
-
+
)}
diff --git a/example/src/pages/Advice.tsx b/example/src/pages/Advice.tsx
index 8ef3e7e6..6f939b51 100644
--- a/example/src/pages/Advice.tsx
+++ b/example/src/pages/Advice.tsx
@@ -55,7 +55,7 @@ const renderFeatureInfo = () => {
},
{
text: "Questa la seconda parte in grassetto. ",
- weight: "Bold"
+ weight: "Semibold"
},
{
text: "Questa la terza parte che torna "
diff --git a/example/src/pages/Colors.tsx b/example/src/pages/Colors.tsx
index 339073ab..2f3c52e8 100644
--- a/example/src/pages/Colors.tsx
+++ b/example/src/pages/Colors.tsx
@@ -1,4 +1,5 @@
import {
+ BodySmall,
H2,
H3,
IOColorGradients,
@@ -12,7 +13,6 @@ import {
IOThemeLight,
IOVisualCostants,
LabelMini,
- LabelSmall,
VSpacer,
hexToRgba,
themeStatusColorsDarkMode,
@@ -336,9 +336,9 @@ const GradientBox = ({ name, colors }: GradientBoxProps) => {
{last && {last}}
{name && (
-
+
{name}
-
+
)}
);
diff --git a/example/src/pages/Layout.tsx b/example/src/pages/Layout.tsx
index 9786dcca..67eee31a 100644
--- a/example/src/pages/Layout.tsx
+++ b/example/src/pages/Layout.tsx
@@ -10,7 +10,7 @@ import {
IOSpacer,
IOVisualCostants,
LabelMini,
- LabelSmall,
+ BodySmall,
VSpacer,
VStack,
useIOTheme
@@ -201,10 +201,10 @@ const VStackBlocks = () => {
backgroundColor: IOColors[theme["appBackground-tertiary"]]
}}
>
- {`Block n.${i + 1}`}
+ >{`Block n.${i + 1}`}
))}
{
backgroundColor: IOColors[theme["appBackground-tertiary"]]
}}
>
-
+
Different height
-
+
>
);
@@ -240,9 +240,9 @@ const HStackBlocks = () => {
backgroundColor: IOColors[theme["appBackground-tertiary"]]
}}
>
- {`${
+ {`${
i + 1
- }`}
+ }`}
))}
{
backgroundColor: IOColors[theme["appBackground-tertiary"]]
}}
>
-
+
Growing block
-
+
>
);
diff --git a/example/src/pages/MainScreen.tsx b/example/src/pages/MainScreen.tsx
index f455ec41..20e4a7a5 100644
--- a/example/src/pages/MainScreen.tsx
+++ b/example/src/pages/MainScreen.tsx
@@ -2,7 +2,7 @@ import {
Divider,
H1,
IOStyles,
- LabelSmall,
+ BodySmall,
ListItemNav,
ListItemSwitch,
VSpacer,
@@ -78,9 +78,9 @@ const MainScreen = (props: Props) => {
{title}
{description && (
-
+
{description}
-
+
)}
);
diff --git a/example/src/pages/NumberPad.tsx b/example/src/pages/NumberPad.tsx
index e19db567..7b2b5671 100644
--- a/example/src/pages/NumberPad.tsx
+++ b/example/src/pages/NumberPad.tsx
@@ -1,4 +1,5 @@
import {
+ BodySmall,
CodeInput,
ContentWrapper,
H1,
@@ -6,7 +7,6 @@ import {
IOColors,
IOStyles,
IOVisualCostants,
- LabelSmall,
ListItemSwitch,
NumberPad,
VSpacer,
@@ -69,12 +69,12 @@ export const NumberPadScreen = () => {
{"Value Typed on the NumberPad component"}
-
{value}
-
+
{
Validation+Secret
- Correct OTP {`${OTP_COMPARE}`}
+ Correct OTP {`${OTP_COMPARE}`}
diff --git a/example/src/pages/Selection.tsx b/example/src/pages/Selection.tsx
index 99b7ae92..408f779b 100644
--- a/example/src/pages/Selection.tsx
+++ b/example/src/pages/Selection.tsx
@@ -1,5 +1,6 @@
import {
AnimatedMessageCheckbox,
+ BodySmall,
CheckboxLabel,
Divider,
H2,
@@ -7,7 +8,6 @@ import {
IOColors,
IOStyles,
IOVisualCostants,
- LabelSmall,
ListItemCheckbox,
ListItemSwitch,
NativeSwitch,
@@ -179,13 +179,13 @@ const mockRadioItems = (): ReadonlyArray> => [
{
value: "Let's try with JSX description",
description: (
-
+
Ti contatteranno solo i servizi che hanno qualcosa di importante da
dirti.{" "}
Potrai sempre disattivare le comunicazioni che non ti interessano.
-
+
),
id: "example-jsx-element"
},
diff --git a/example/src/pages/Typography.tsx b/example/src/pages/Typography.tsx
index 16795771..2e092f6a 100644
--- a/example/src/pages/Typography.tsx
+++ b/example/src/pages/Typography.tsx
@@ -3,7 +3,6 @@ import {
BodyMonospace,
ButtonText,
Caption,
- Chip,
Divider,
H1,
H2,
@@ -12,11 +11,11 @@ import {
H5,
H6,
HSpacer,
+ HStack,
Hero,
IOColors,
- Label,
LabelMini,
- LabelSmall,
+ BodySmall,
MdH1,
MdH2,
MdH3,
@@ -52,7 +51,6 @@ export const Typography = () => (
-
Body
@@ -64,16 +62,14 @@ export const Typography = () => (
massa, eget pharetra mauris posuere semper.
Body SemiboldBody Bold
Body asLink