@pagopa/io-app-design-system 3.0.1 → 4.0.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/lib/commonjs/components/alert/Alert.js +1 -2
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js +2 -2
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/commonjs/components/banner/Banner.js +1 -1
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -2
- package/lib/commonjs/components/buttons/ButtonLink.js +1 -1
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -3
- package/lib/commonjs/components/featureInfo/FeatureInfo.js +3 -2
- package/lib/commonjs/components/featureInfo/FeatureInfo.js.map +1 -1
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +1 -0
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +2 -2
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +2 -2
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +7 -7
- package/lib/commonjs/components/modules/ModuleAttachment.js +1 -1
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCheckout.js +1 -1
- package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js +3 -2
- package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.js +2 -2
- package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleSummary.js +1 -1
- package/lib/commonjs/components/modules/ModuleSummary.js.map +1 -1
- package/lib/commonjs/components/otpInput/BoxedInput.js +4 -6
- package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -1
- package/lib/commonjs/components/otpInput/OTPInput.js +5 -4
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +1 -1
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +2 -2
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/tooltip/Arrows.js +49 -0
- package/lib/commonjs/components/tooltip/Arrows.js.map +1 -0
- package/lib/commonjs/components/tooltip/Tooltip.js +174 -0
- package/lib/commonjs/components/tooltip/Tooltip.js.map +1 -0
- package/lib/commonjs/components/tooltip/index.js +17 -0
- package/lib/commonjs/components/tooltip/index.js.map +1 -0
- package/lib/commonjs/components/tooltip/styles.js +50 -0
- package/lib/commonjs/components/tooltip/styles.js.map +1 -0
- package/lib/commonjs/components/tooltip/utils/index.js +180 -0
- package/lib/commonjs/components/tooltip/utils/index.js.map +1 -0
- package/lib/commonjs/components/tooltip/utils/types.js +2 -0
- package/lib/commonjs/components/tooltip/utils/types.js.map +1 -0
- package/lib/commonjs/components/typography/{LabelSmall.js → BodySmall.js} +8 -10
- package/lib/commonjs/components/typography/BodySmall.js.map +1 -0
- package/lib/commonjs/components/typography/ButtonText.js +1 -3
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +3 -6
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +4 -5
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +118 -161
- package/lib/commonjs/components/typography/__test__/typography.test.js +6 -18
- package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +28 -72
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/module/components/alert/Alert.js +2 -3
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/alert/AlertEdgeToEdge.js +2 -2
- package/lib/module/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/module/components/banner/Banner.js +2 -2
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -2
- package/lib/module/components/buttons/ButtonLink.js +1 -1
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +1 -1
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -3
- package/lib/module/components/featureInfo/FeatureInfo.js +4 -3
- package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/HeaderFirstLevel.js +1 -0
- package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemCheckbox.js +2 -2
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +2 -2
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js +2 -2
- package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +2 -2
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js +2 -2
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +2 -2
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +3 -3
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemSwitch.js +2 -2
- package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +3 -3
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +7 -7
- package/lib/module/components/modules/ModuleAttachment.js +2 -2
- package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/module/components/modules/ModuleCheckout.js +2 -2
- package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js +2 -2
- package/lib/module/components/modules/ModuleCredential.js.map +1 -1
- package/lib/module/components/modules/ModuleNavigation.js +4 -3
- package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/module/components/modules/ModulePaymentNotice.js +3 -3
- package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/module/components/modules/ModuleSummary.js +2 -2
- package/lib/module/components/modules/ModuleSummary.js.map +1 -1
- package/lib/module/components/otpInput/BoxedInput.js +5 -7
- package/lib/module/components/otpInput/BoxedInput.js.map +1 -1
- package/lib/module/components/otpInput/OTPInput.js +5 -4
- package/lib/module/components/otpInput/OTPInput.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +2 -2
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +3 -3
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/components/tooltip/Arrows.js +36 -0
- package/lib/module/components/tooltip/Arrows.js.map +1 -0
- package/lib/module/components/tooltip/Tooltip.js +165 -0
- package/lib/module/components/tooltip/Tooltip.js.map +1 -0
- package/lib/module/components/tooltip/index.js +2 -0
- package/lib/module/components/tooltip/index.js.map +1 -0
- package/lib/module/components/tooltip/styles.js +43 -0
- package/lib/module/components/tooltip/styles.js.map +1 -0
- package/lib/module/components/tooltip/utils/index.js +163 -0
- package/lib/module/components/tooltip/utils/index.js.map +1 -0
- package/lib/module/components/tooltip/utils/types.js +2 -0
- package/lib/module/components/tooltip/utils/types.js.map +1 -0
- package/lib/module/components/typography/{LabelSmall.js → BodySmall.js} +6 -8
- package/lib/module/components/typography/BodySmall.js.map +1 -0
- package/lib/module/components/typography/ButtonText.js +1 -3
- package/lib/module/components/typography/ButtonText.js.map +1 -1
- package/lib/module/components/typography/H3.js +3 -6
- package/lib/module/components/typography/H3.js.map +1 -1
- package/lib/module/components/typography/H6.js +4 -5
- package/lib/module/components/typography/H6.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +118 -161
- package/lib/module/components/typography/__test__/typography.test.js +6 -18
- package/lib/module/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/module/components/typography/index.js +6 -10
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts +1 -1
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleNavigation.d.ts.map +1 -1
- package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -1
- package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/Arrows.d.ts +14 -0
- package/lib/typescript/components/tooltip/Arrows.d.ts.map +1 -0
- package/lib/typescript/components/tooltip/Tooltip.d.ts +64 -0
- package/lib/typescript/components/tooltip/Tooltip.d.ts.map +1 -0
- package/lib/typescript/components/tooltip/index.d.ts +2 -0
- package/lib/typescript/components/tooltip/index.d.ts.map +1 -0
- package/lib/typescript/components/tooltip/styles.d.ts +41 -0
- package/lib/typescript/components/tooltip/styles.d.ts.map +1 -0
- package/lib/typescript/components/tooltip/utils/index.d.ts +89 -0
- package/lib/typescript/components/tooltip/utils/index.d.ts.map +1 -0
- package/lib/typescript/components/tooltip/utils/types.d.ts +10 -0
- package/lib/typescript/components/tooltip/utils/types.d.ts.map +1 -0
- package/lib/typescript/components/typography/Body.d.ts +1 -1
- package/lib/typescript/components/typography/Body.d.ts.map +1 -1
- package/lib/typescript/components/typography/BodySmall.d.ts +13 -0
- package/lib/typescript/components/typography/BodySmall.d.ts.map +1 -0
- package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
- package/lib/typescript/components/typography/H3.d.ts +2 -0
- package/lib/typescript/components/typography/H3.d.ts.map +1 -1
- package/lib/typescript/components/typography/H6.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelMini.d.ts +1 -1
- package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
- package/lib/typescript/components/typography/index.d.ts +6 -10
- package/lib/typescript/components/typography/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/alert/Alert.tsx +3 -4
- package/src/components/alert/AlertEdgeToEdge.tsx +3 -3
- package/src/components/banner/Banner.tsx +7 -5
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -2
- package/src/components/buttons/ButtonLink.tsx +1 -1
- package/src/components/buttons/ButtonOutline.tsx +1 -1
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -3
- package/src/components/featureInfo/FeatureInfo.tsx +6 -6
- package/src/components/index.tsx +1 -0
- package/src/components/layout/HeaderFirstLevel.tsx +1 -0
- package/src/components/listitems/ListItemCheckbox.tsx +3 -3
- package/src/components/listitems/ListItemInfo.tsx +3 -3
- package/src/components/listitems/ListItemInfoCopy.tsx +3 -3
- package/src/components/listitems/ListItemNav.tsx +3 -3
- package/src/components/listitems/ListItemNavAlert.tsx +3 -3
- package/src/components/listitems/ListItemRadio.tsx +3 -3
- package/src/components/listitems/ListItemRadioWithAmount.tsx +5 -5
- package/src/components/listitems/ListItemSwitch.tsx +4 -4
- package/src/components/listitems/ListItemTransaction.tsx +5 -5
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +7 -7
- package/src/components/modules/ModuleAttachment.tsx +3 -3
- package/src/components/modules/ModuleCheckout.tsx +3 -3
- package/src/components/modules/ModuleCredential.tsx +3 -3
- package/src/components/modules/ModuleNavigation.tsx +6 -4
- package/src/components/modules/ModulePaymentNotice.tsx +5 -5
- package/src/components/modules/ModuleSummary.tsx +3 -3
- package/src/components/otpInput/BoxedInput.tsx +6 -5
- package/src/components/otpInput/OTPInput.tsx +23 -8
- package/src/components/tabs/TabItem.tsx +3 -3
- package/src/components/textInput/TextInputBase.tsx +5 -5
- package/src/components/tooltip/Arrows.tsx +36 -0
- package/src/components/tooltip/Tooltip.tsx +313 -0
- package/src/components/tooltip/index.ts +1 -0
- package/src/components/tooltip/styles.ts +44 -0
- package/src/components/tooltip/utils/index.ts +179 -0
- package/src/components/tooltip/utils/types.ts +9 -0
- package/src/components/typography/Body.tsx +1 -1
- package/src/components/typography/{LabelSmall.tsx → BodySmall.tsx} +7 -14
- package/src/components/typography/ButtonText.tsx +2 -4
- package/src/components/typography/H3.tsx +11 -8
- package/src/components/typography/H6.tsx +5 -6
- package/src/components/typography/LabelMini.tsx +1 -1
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +118 -161
- package/src/components/typography/__test__/typography.test.tsx +8 -24
- package/src/components/typography/index.tsx +6 -10
- package/lib/commonjs/components/typography/BaseTypography.js +0 -52
- package/lib/commonjs/components/typography/BaseTypography.js.map +0 -1
- package/lib/commonjs/components/typography/Chip.js +0 -41
- package/lib/commonjs/components/typography/Chip.js.map +0 -1
- package/lib/commonjs/components/typography/Factory.js +0 -62
- package/lib/commonjs/components/typography/Factory.js.map +0 -1
- package/lib/commonjs/components/typography/Label.js +0 -51
- package/lib/commonjs/components/typography/Label.js.map +0 -1
- package/lib/commonjs/components/typography/LabelSmall.js.map +0 -1
- package/lib/module/components/typography/BaseTypography.js +0 -44
- package/lib/module/components/typography/BaseTypography.js.map +0 -1
- package/lib/module/components/typography/Chip.js +0 -32
- package/lib/module/components/typography/Chip.js.map +0 -1
- package/lib/module/components/typography/Factory.js +0 -55
- package/lib/module/components/typography/Factory.js.map +0 -1
- package/lib/module/components/typography/Label.js +0 -42
- package/lib/module/components/typography/Label.js.map +0 -1
- package/lib/module/components/typography/LabelSmall.js.map +0 -1
- package/lib/typescript/components/typography/BaseTypography.d.ts +0 -29
- package/lib/typescript/components/typography/BaseTypography.d.ts.map +0 -1
- package/lib/typescript/components/typography/Chip.d.ts +0 -13
- package/lib/typescript/components/typography/Chip.d.ts.map +0 -1
- package/lib/typescript/components/typography/Factory.d.ts +0 -43
- package/lib/typescript/components/typography/Factory.d.ts.map +0 -1
- package/lib/typescript/components/typography/Label.d.ts +0 -13
- package/lib/typescript/components/typography/Label.d.ts.map +0 -1
- package/lib/typescript/components/typography/LabelSmall.d.ts +0 -13
- package/lib/typescript/components/typography/LabelSmall.d.ts.map +0 -1
- package/src/components/typography/BaseTypography.tsx +0 -71
- package/src/components/typography/Chip.tsx +0 -33
- package/src/components/typography/Factory.tsx +0 -98
- package/src/components/typography/Label.tsx +0 -62
|
@@ -48,6 +48,121 @@ exports[`Test Typography Components BodyMonospace Snapshot 1`] = `
|
|
|
48
48
|
</Text>
|
|
49
49
|
`;
|
|
50
50
|
|
|
51
|
+
exports[`Test Typography Components BodySmall Snapshot 1`] = `
|
|
52
|
+
<Text
|
|
53
|
+
allowFontScaling={false}
|
|
54
|
+
dynamicTypeRamp="footnote"
|
|
55
|
+
maxFontSizeMultiplier={1.25}
|
|
56
|
+
style={
|
|
57
|
+
[
|
|
58
|
+
{},
|
|
59
|
+
{
|
|
60
|
+
"color": "#555C70",
|
|
61
|
+
"fontFamily": "Titillium Sans Pro",
|
|
62
|
+
"fontSize": 14,
|
|
63
|
+
"fontStyle": "normal",
|
|
64
|
+
"fontWeight": "400",
|
|
65
|
+
"lineHeight": 21,
|
|
66
|
+
},
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
>
|
|
70
|
+
Text
|
|
71
|
+
</Text>
|
|
72
|
+
`;
|
|
73
|
+
|
|
74
|
+
exports[`Test Typography Components BodySmall Snapshot 2`] = `
|
|
75
|
+
<Text
|
|
76
|
+
allowFontScaling={false}
|
|
77
|
+
dynamicTypeRamp="footnote"
|
|
78
|
+
maxFontSizeMultiplier={1.25}
|
|
79
|
+
style={
|
|
80
|
+
[
|
|
81
|
+
{},
|
|
82
|
+
{
|
|
83
|
+
"color": "#0073E6",
|
|
84
|
+
"fontFamily": "Titillium Sans Pro",
|
|
85
|
+
"fontSize": 14,
|
|
86
|
+
"fontStyle": "normal",
|
|
87
|
+
"fontWeight": "400",
|
|
88
|
+
"lineHeight": 21,
|
|
89
|
+
},
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
>
|
|
93
|
+
Text
|
|
94
|
+
</Text>
|
|
95
|
+
`;
|
|
96
|
+
|
|
97
|
+
exports[`Test Typography Components BodySmall Snapshot 3`] = `
|
|
98
|
+
<Text
|
|
99
|
+
allowFontScaling={false}
|
|
100
|
+
dynamicTypeRamp="footnote"
|
|
101
|
+
maxFontSizeMultiplier={1.25}
|
|
102
|
+
style={
|
|
103
|
+
[
|
|
104
|
+
{},
|
|
105
|
+
{
|
|
106
|
+
"color": "#475A6D",
|
|
107
|
+
"fontFamily": "Titillium Sans Pro",
|
|
108
|
+
"fontSize": 14,
|
|
109
|
+
"fontStyle": "normal",
|
|
110
|
+
"fontWeight": "400",
|
|
111
|
+
"lineHeight": 21,
|
|
112
|
+
},
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
>
|
|
116
|
+
Text
|
|
117
|
+
</Text>
|
|
118
|
+
`;
|
|
119
|
+
|
|
120
|
+
exports[`Test Typography Components BodySmall Snapshot 4`] = `
|
|
121
|
+
<Text
|
|
122
|
+
allowFontScaling={false}
|
|
123
|
+
dynamicTypeRamp="footnote"
|
|
124
|
+
maxFontSizeMultiplier={1.25}
|
|
125
|
+
style={
|
|
126
|
+
[
|
|
127
|
+
{},
|
|
128
|
+
{
|
|
129
|
+
"color": "#C02927",
|
|
130
|
+
"fontFamily": "Titillium Sans Pro",
|
|
131
|
+
"fontSize": 14,
|
|
132
|
+
"fontStyle": "normal",
|
|
133
|
+
"fontWeight": "400",
|
|
134
|
+
"lineHeight": 21,
|
|
135
|
+
},
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
>
|
|
139
|
+
Text
|
|
140
|
+
</Text>
|
|
141
|
+
`;
|
|
142
|
+
|
|
143
|
+
exports[`Test Typography Components BodySmall Snapshot 5`] = `
|
|
144
|
+
<Text
|
|
145
|
+
allowFontScaling={false}
|
|
146
|
+
dynamicTypeRamp="footnote"
|
|
147
|
+
maxFontSizeMultiplier={1.25}
|
|
148
|
+
style={
|
|
149
|
+
[
|
|
150
|
+
{},
|
|
151
|
+
{
|
|
152
|
+
"color": "#FFFFFF",
|
|
153
|
+
"fontFamily": "Titillium Sans Pro",
|
|
154
|
+
"fontSize": 14,
|
|
155
|
+
"fontStyle": "normal",
|
|
156
|
+
"fontWeight": "400",
|
|
157
|
+
"lineHeight": 21,
|
|
158
|
+
},
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
>
|
|
162
|
+
Text
|
|
163
|
+
</Text>
|
|
164
|
+
`;
|
|
165
|
+
|
|
51
166
|
exports[`Test Typography Components CTA Snapshot 1`] = `
|
|
52
167
|
<Text
|
|
53
168
|
allowFontScaling={false}
|
|
@@ -60,7 +175,7 @@ exports[`Test Typography Components CTA Snapshot 1`] = `
|
|
|
60
175
|
"fontFamily": "Titillium Sans Pro",
|
|
61
176
|
"fontSize": 16,
|
|
62
177
|
"fontStyle": "normal",
|
|
63
|
-
"fontWeight": "
|
|
178
|
+
"fontWeight": "600",
|
|
64
179
|
"lineHeight": 20,
|
|
65
180
|
},
|
|
66
181
|
]
|
|
@@ -450,169 +565,11 @@ exports[`Test Typography Components H6 Snapshot 1`] = `
|
|
|
450
565
|
</Text>
|
|
451
566
|
`;
|
|
452
567
|
|
|
453
|
-
exports[`Test Typography Components Label Snapshot 1`] = `
|
|
454
|
-
<Text
|
|
455
|
-
allowFontScaling={false}
|
|
456
|
-
maxFontSizeMultiplier={1.25}
|
|
457
|
-
style={
|
|
458
|
-
[
|
|
459
|
-
{},
|
|
460
|
-
{
|
|
461
|
-
"color": "#555C70",
|
|
462
|
-
"fontFamily": "Titillium Sans Pro",
|
|
463
|
-
"fontSize": 16,
|
|
464
|
-
"fontStyle": "normal",
|
|
465
|
-
"fontWeight": "600",
|
|
466
|
-
"lineHeight": 24,
|
|
467
|
-
},
|
|
468
|
-
]
|
|
469
|
-
}
|
|
470
|
-
>
|
|
471
|
-
Text
|
|
472
|
-
</Text>
|
|
473
|
-
`;
|
|
474
|
-
|
|
475
|
-
exports[`Test Typography Components Label Snapshot 2`] = `
|
|
476
|
-
<Text
|
|
477
|
-
allowFontScaling={false}
|
|
478
|
-
maxFontSizeMultiplier={1.25}
|
|
479
|
-
style={
|
|
480
|
-
[
|
|
481
|
-
{},
|
|
482
|
-
{
|
|
483
|
-
"color": "#0E0F13",
|
|
484
|
-
"fontFamily": "Titillium Sans Pro",
|
|
485
|
-
"fontSize": 16,
|
|
486
|
-
"fontStyle": "normal",
|
|
487
|
-
"fontWeight": "600",
|
|
488
|
-
"lineHeight": 24,
|
|
489
|
-
},
|
|
490
|
-
]
|
|
491
|
-
}
|
|
492
|
-
>
|
|
493
|
-
Text
|
|
494
|
-
</Text>
|
|
495
|
-
`;
|
|
496
|
-
|
|
497
|
-
exports[`Test Typography Components LabelSmall Snapshot 1`] = `
|
|
498
|
-
<Text
|
|
499
|
-
allowFontScaling={false}
|
|
500
|
-
dynamicTypeRamp="footnote"
|
|
501
|
-
maxFontSizeMultiplier={1.25}
|
|
502
|
-
style={
|
|
503
|
-
[
|
|
504
|
-
{},
|
|
505
|
-
{
|
|
506
|
-
"color": "#555C70",
|
|
507
|
-
"fontFamily": "Titillium Sans Pro",
|
|
508
|
-
"fontSize": 14,
|
|
509
|
-
"fontStyle": "normal",
|
|
510
|
-
"fontWeight": "600",
|
|
511
|
-
"lineHeight": 21,
|
|
512
|
-
},
|
|
513
|
-
]
|
|
514
|
-
}
|
|
515
|
-
>
|
|
516
|
-
Text
|
|
517
|
-
</Text>
|
|
518
|
-
`;
|
|
519
|
-
|
|
520
|
-
exports[`Test Typography Components LabelSmall Snapshot 2`] = `
|
|
521
|
-
<Text
|
|
522
|
-
allowFontScaling={false}
|
|
523
|
-
dynamicTypeRamp="footnote"
|
|
524
|
-
maxFontSizeMultiplier={1.25}
|
|
525
|
-
style={
|
|
526
|
-
[
|
|
527
|
-
{},
|
|
528
|
-
{
|
|
529
|
-
"color": "#0073E6",
|
|
530
|
-
"fontFamily": "Titillium Sans Pro",
|
|
531
|
-
"fontSize": 14,
|
|
532
|
-
"fontStyle": "normal",
|
|
533
|
-
"fontWeight": "600",
|
|
534
|
-
"lineHeight": 21,
|
|
535
|
-
},
|
|
536
|
-
]
|
|
537
|
-
}
|
|
538
|
-
>
|
|
539
|
-
Text
|
|
540
|
-
</Text>
|
|
541
|
-
`;
|
|
542
|
-
|
|
543
|
-
exports[`Test Typography Components LabelSmall Snapshot 3`] = `
|
|
544
|
-
<Text
|
|
545
|
-
allowFontScaling={false}
|
|
546
|
-
dynamicTypeRamp="footnote"
|
|
547
|
-
maxFontSizeMultiplier={1.25}
|
|
548
|
-
style={
|
|
549
|
-
[
|
|
550
|
-
{},
|
|
551
|
-
{
|
|
552
|
-
"color": "#475A6D",
|
|
553
|
-
"fontFamily": "Titillium Sans Pro",
|
|
554
|
-
"fontSize": 14,
|
|
555
|
-
"fontStyle": "normal",
|
|
556
|
-
"fontWeight": "600",
|
|
557
|
-
"lineHeight": 21,
|
|
558
|
-
},
|
|
559
|
-
]
|
|
560
|
-
}
|
|
561
|
-
>
|
|
562
|
-
Text
|
|
563
|
-
</Text>
|
|
564
|
-
`;
|
|
565
|
-
|
|
566
|
-
exports[`Test Typography Components LabelSmall Snapshot 4`] = `
|
|
567
|
-
<Text
|
|
568
|
-
allowFontScaling={false}
|
|
569
|
-
dynamicTypeRamp="footnote"
|
|
570
|
-
maxFontSizeMultiplier={1.25}
|
|
571
|
-
style={
|
|
572
|
-
[
|
|
573
|
-
{},
|
|
574
|
-
{
|
|
575
|
-
"color": "#C02927",
|
|
576
|
-
"fontFamily": "Titillium Sans Pro",
|
|
577
|
-
"fontSize": 14,
|
|
578
|
-
"fontStyle": "normal",
|
|
579
|
-
"fontWeight": "600",
|
|
580
|
-
"lineHeight": 21,
|
|
581
|
-
},
|
|
582
|
-
]
|
|
583
|
-
}
|
|
584
|
-
>
|
|
585
|
-
Text
|
|
586
|
-
</Text>
|
|
587
|
-
`;
|
|
588
|
-
|
|
589
|
-
exports[`Test Typography Components LabelSmall Snapshot 5`] = `
|
|
590
|
-
<Text
|
|
591
|
-
allowFontScaling={false}
|
|
592
|
-
dynamicTypeRamp="footnote"
|
|
593
|
-
maxFontSizeMultiplier={1.25}
|
|
594
|
-
style={
|
|
595
|
-
[
|
|
596
|
-
{},
|
|
597
|
-
{
|
|
598
|
-
"color": "#FFFFFF",
|
|
599
|
-
"fontFamily": "Titillium Sans Pro",
|
|
600
|
-
"fontSize": 14,
|
|
601
|
-
"fontStyle": "normal",
|
|
602
|
-
"fontWeight": "600",
|
|
603
|
-
"lineHeight": 21,
|
|
604
|
-
},
|
|
605
|
-
]
|
|
606
|
-
}
|
|
607
|
-
>
|
|
608
|
-
Text
|
|
609
|
-
</Text>
|
|
610
|
-
`;
|
|
611
|
-
|
|
612
568
|
exports[`Test Typography Components Link Snapshot 1`] = `
|
|
613
569
|
<Text
|
|
614
570
|
accessibilityRole="link"
|
|
615
571
|
allowFontScaling={false}
|
|
572
|
+
dynamicTypeRamp="body"
|
|
616
573
|
maxFontSizeMultiplier={1.25}
|
|
617
574
|
onPress={[Function]}
|
|
618
575
|
style={
|
|
@@ -625,7 +582,7 @@ exports[`Test Typography Components Link Snapshot 1`] = `
|
|
|
625
582
|
"fontFamily": "Titillium Sans Pro",
|
|
626
583
|
"fontSize": 16,
|
|
627
584
|
"fontStyle": "normal",
|
|
628
|
-
"fontWeight": "
|
|
585
|
+
"fontWeight": "400",
|
|
629
586
|
"lineHeight": 24,
|
|
630
587
|
},
|
|
631
588
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as TestRenderer from "react-test-renderer";
|
|
3
2
|
import { Alert } from "react-native";
|
|
3
|
+
import * as TestRenderer from "react-test-renderer";
|
|
4
4
|
import { Body } from "../Body";
|
|
5
5
|
import { BodyMonospace } from "../BodyMonospace";
|
|
6
6
|
import { ButtonText } from "../ButtonText";
|
|
@@ -10,8 +10,7 @@ import { H3 } from "../H3";
|
|
|
10
10
|
import { H4 } from "../H4";
|
|
11
11
|
import { H5 } from "../H5";
|
|
12
12
|
import { H6 } from "../H6";
|
|
13
|
-
import {
|
|
14
|
-
import { LabelSmall } from "../LabelSmall";
|
|
13
|
+
import { BodySmall } from "../BodySmall";
|
|
15
14
|
import { calculateWeightColor } from "../common";
|
|
16
15
|
describe("Test Typography Components", () => {
|
|
17
16
|
it("H1 Snapshot", () => {
|
|
@@ -90,30 +89,19 @@ describe("Test Typography Components", () => {
|
|
|
90
89
|
const cta = TestRenderer.create( /*#__PURE__*/React.createElement(ButtonText, null, "Text")).toJSON();
|
|
91
90
|
expect(cta).toMatchSnapshot();
|
|
92
91
|
});
|
|
93
|
-
it("
|
|
94
|
-
const labelSmallDefault = TestRenderer.create( /*#__PURE__*/React.createElement(
|
|
92
|
+
it("BodySmall Snapshot", () => {
|
|
93
|
+
const labelSmallDefault = TestRenderer.create( /*#__PURE__*/React.createElement(BodySmall, null, "Text")).toJSON();
|
|
95
94
|
expect(labelSmallDefault).toMatchSnapshot();
|
|
96
95
|
const allowedColors = ["blue", "bluegrey", "red", "white"];
|
|
97
96
|
allowedColors.map(color => {
|
|
98
|
-
const labelSmall = TestRenderer.create( /*#__PURE__*/React.createElement(
|
|
97
|
+
const labelSmall = TestRenderer.create( /*#__PURE__*/React.createElement(BodySmall, {
|
|
99
98
|
color: color
|
|
100
99
|
}, "Text")).toJSON();
|
|
101
100
|
expect(labelSmall).toMatchSnapshot();
|
|
102
101
|
});
|
|
103
102
|
});
|
|
104
|
-
it("Label Snapshot", () => {
|
|
105
|
-
const labelDefault = TestRenderer.create( /*#__PURE__*/React.createElement(Label, null, "Text")).toJSON();
|
|
106
|
-
expect(labelDefault).toMatchSnapshot();
|
|
107
|
-
const allowedColors = ["black"];
|
|
108
|
-
allowedColors.map(color => {
|
|
109
|
-
const label = TestRenderer.create( /*#__PURE__*/React.createElement(Label, {
|
|
110
|
-
color: color
|
|
111
|
-
}, "Text")).toJSON();
|
|
112
|
-
expect(label).toMatchSnapshot();
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
103
|
it("Link Snapshot", () => {
|
|
116
|
-
const link = TestRenderer.create( /*#__PURE__*/React.createElement(
|
|
104
|
+
const link = TestRenderer.create( /*#__PURE__*/React.createElement(Body, {
|
|
117
105
|
asLink: true,
|
|
118
106
|
onPress: () => Alert.alert("Pressed")
|
|
119
107
|
}, "Text")).toJSON();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","Alert","TestRenderer","Body","BodyMonospace","ButtonText","H1","H2","H3","H4","H5","H6","BodySmall","calculateWeightColor","describe","it","h1Default","create","createElement","toJSON","expect","toMatchSnapshot","h1White","color","h2Default","h3Default","h3bluegreyLight","h3white","h3whiteBold","h3defaultBold","h4Default","h4Dblue","h4white","h5Default","h5Defaultbluegrey","h5Defaultblue","h5Defaultwhite","h6Default","bodyDefault","cta","labelSmallDefault","allowedColors","map","labelSmall","link","asLink","onPress","alert","monospace","noValues","toBe","weight","weightProvided","allValuesProvided"],"sourceRoot":"../../../../../src","sources":["components/typography/__test__/typography.test.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,QAAQ,cAAc;AACpC,OAAO,KAAKC,YAAY,MAAM,qBAAqB;AAGnD,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,aAAa,QAAQ,kBAAkB;AAChD,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,EAAE,QAAQ,OAAO;AAC1B,SAASC,EAAE,QAAQ,OAAO;AAC1B,SAASC,EAAE,QAAQ,OAAO;AAC1B,SAASC,EAAE,QAAQ,OAAO;AAC1B,SAASC,EAAE,QAAQ,OAAO;AAC1B,SAASC,EAAE,QAAQ,OAAO;AAC1B,SAASC,SAAS,QAAQ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AI,CAAC,UAAU,CAAC;IAChD9B,MAAM,CAACiC,iBAAiB,CAACF,MAAM,CAAC,CAACD,IAAI,CAAC,SAAS,CAAC;EAClD,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
export * from "./BaseTypography";
|
|
2
|
-
export * from "./IOText";
|
|
3
1
|
export * from "./Body";
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./Chip";
|
|
2
|
+
export * from "./BodyMonospace";
|
|
3
|
+
export * from "./BodySmall";
|
|
7
4
|
export * from "./ButtonText";
|
|
8
|
-
export * from "./
|
|
5
|
+
export * from "./Caption";
|
|
6
|
+
export * from "./common";
|
|
7
|
+
export * from "./ComposedBodyFromArray";
|
|
9
8
|
export * from "./H1";
|
|
10
9
|
export * from "./H2";
|
|
11
10
|
export * from "./H3";
|
|
@@ -13,11 +12,8 @@ export * from "./H4";
|
|
|
13
12
|
export * from "./H5";
|
|
14
13
|
export * from "./H6";
|
|
15
14
|
export * from "./Hero";
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./LabelSmall";
|
|
15
|
+
export * from "./IOText";
|
|
18
16
|
export * from "./LabelMini";
|
|
19
|
-
export * from "./BodyMonospace";
|
|
20
|
-
export * from "./common";
|
|
21
17
|
export * from "./markdown/MdH1";
|
|
22
18
|
export * from "./markdown/MdH2";
|
|
23
19
|
export * from "./markdown/MdH3";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/typography/index.tsx"],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/typography/index.tsx"],"mappings":"AAAA,cAAc,QAAQ;AACtB,cAAc,iBAAiB;AAC/B,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,WAAW;AACzB,cAAc,UAAU;AACxB,cAAc,yBAAyB;AACvC,cAAc,MAAM;AACpB,cAAc,MAAM;AACpB,cAAc,MAAM;AACpB,cAAc,MAAM;AACpB,cAAc,MAAM;AACpB,cAAc,MAAM;AACpB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,aAAa;AAC3B,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EACL,qBAAqB,EAMrB,IAAI,EACL,MAAM,cAAc,CAAC;AAmBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EACL,qBAAqB,EAMrB,IAAI,EACL,MAAM,cAAc,CAAC;AAmBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA0B/C,KAAK,UAAU,GAAG,UAAU,CAAC;IAC3B,OAAO,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH,KAAK,gBAAgB,GACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEN,KAAK,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAoC/C,eAAO,MAAM,KAAK,wEA+JjB,CAAC"}
|
|
@@ -41,6 +41,6 @@ type BannerCloseProps = {
|
|
|
41
41
|
};
|
|
42
42
|
export type Banner = BaseBannerProps & RequiredBannerProps & BannerActionProps & BannerCloseProps;
|
|
43
43
|
export declare const bannerBackgroundColours: Array<BaseBannerProps["color"]>;
|
|
44
|
-
export declare const Banner: ({ viewRef, size, color, pictogramName, title, content, action, labelClose, onPress, onClose, accessibilityHint, accessibilityLabel, testID
|
|
44
|
+
export declare const Banner: ({ viewRef, size, color, pictogramName, title, content, action, labelClose, onPress, onClose, accessibilityHint, accessibilityLabel, testID }: Banner) => React.JSX.Element;
|
|
45
45
|
export {};
|
|
46
46
|
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAGrB,IAAI,EAEL,MAAM,cAAc,CAAC;AAmBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAEL,iBAAiB,EAElB,MAAM,eAAe,CAAC;AA8CvB,KAAK,eAAe,GAAG,UAAU,CAAC;IAChC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;IACtB,KAAK,EAAE,SAAS,GAAG,WAAW,CAAC;IAC/B,aAAa,EAAE,iBAAiB,CAAC;IACjC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAEhC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAGH,KAAK,mBAAmB,GAAG;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,O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D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GACD;IACE,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB,CAAC;AAEN,MAAM,MAAM,MAAM,GAAG,eAAe,GAClC,mBAAmB,GACnB,iBAAiB,GACjB,gBAAgB,CAAC;AAMnB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAGnE,CAAC;AAUF,eAAO,MAAM,MAAM,iJAchB,MAAM,sBA2IR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/featureInfo/FeatureInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAQ,MAAM,cAAc,CAAC;AAC3D,OAAO,EAIL,OAAO,EAEP,YAAY,
|
|
1
|
+
{"version":3,"file":"FeatureInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/featureInfo/FeatureInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAQ,MAAM,cAAc,CAAC;AAC3D,OAAO,EAIL,OAAO,EAEP,YAAY,EAIb,MAAM,kBAAkB,CAAC;AAG1B,KAAK,kBAAkB,GAAG;IAExB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,KAAK,sBAAsB,GACvB;IACE,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;KACjD,CAAC;CACH,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB,CAAC;AAEN,KAAK,uBAAuB,GACxB;IAAE,QAAQ,CA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ourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderFirstLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderFirstLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,KAAK,WAAW,GAAG,UAAU,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC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AEd,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC,CAAC;AAEH,UAAU,IAAK,SAAQ,WAAW;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,SAAU,SAAQ,WAAW;IACrC,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,UAAW,SAAQ,WAAW;IACtC,IAAI,EAAE,YAAY,CAAC;IACnB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,YAAa,SAAQ,WAAW;IACxC,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,EAAE,iBAAiB,CAAC;CAChC;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC;AAe5E,eAAO,MAAM,gBAAgB,2GAS1B,gBAAgB,sBAoFlB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemSwitch.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAY,MAAM,EAAQ,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemSwitch.d.ts","sourceRoot":"","sources":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U,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,8JActB,mBAAmB,uBAwIvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/ModuleNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,mBAAmB,EACnB,cAAc,EAGf,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAIzC,OAAO,EAEL,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAE/B,KAAK,YAAY,GAAG;IAClB,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,KAAK,UAAU,GACX;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAChC;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,cAAc,GAAG,mBAAmB,CAAA;CAAE,CAAC;AAElE,KAAK,SAAS,GAAG;IACf,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GAAG,UAAU,GACZ,wBAAwB,CAAC;AAE3B,KAAK,qBAAqB,GAAG,YAAY,GAAG,SAAS,CAAC;AAEtD,eAAO,MAAM,gBAAgB,UAAW,WAAW,qBAAqB,CAAC,
|
|
1
|
+
{"version":3,"file":"ModuleNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/ModuleNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,mBAAmB,EACnB,cAAc,EAGf,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAIzC,OAAO,EAEL,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAE/B,KAAK,YAAY,GAAG;IAClB,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,KAAK,UAAU,GACX;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAChC;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,cAAc,GAAG,mBAAmB,CAAA;CAAE,CAAC;AAElE,KAAK,SAAS,GAAG;IACf,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GAAG,UAAU,GACZ,wBAAwB,CAAC;AAE3B,KAAK,qBAAqB,GAAG,YAAY,GAAG,SAAS,CAAC;AAEtD,eAAO,MAAM,gBAAgB,UAAW,WAAW,qBAAqB,CAAC,sBAgExE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoxedInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/BoxedInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;
|
|
1
|
+
{"version":3,"file":"BoxedInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/BoxedInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAwCF,eAAO,MAAM,UAAU,8BAA+B,KAAK,sBAkB1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAML,IAAI,EACL,MAAM,cAAc,CAAC;AAStB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,oEAuIpB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const LeftArrow: ({ color }: {
|
|
3
|
+
color?: string;
|
|
4
|
+
}) => React.JSX.Element;
|
|
5
|
+
export declare const RightArrow: ({ color }: {
|
|
6
|
+
color?: string;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export declare const BottomArrow: ({ color }: {
|
|
9
|
+
color?: string;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
|
+
export declare const TopArrow: ({ color }: {
|
|
12
|
+
color?: string;
|
|
13
|
+
}) => React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=Arrows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Arrows.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/Arrows.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,SAAS,cAAgC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,sBAOvE,CAAC;AACF,eAAO,MAAM,UAAU,cAAgC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,sBAOxE,CAAC;AACF,eAAO,MAAM,WAAW,cAAgC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,sBAOzE,CAAC;AACF,eAAO,MAAM,QAAQ,cAAgC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,sBAOtE,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactElement } from "react";
|
|
2
|
+
import { DisplayInsets, Placement } from "./utils/types";
|
|
3
|
+
type CommonProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The title text displayed at the top of the tooltip.
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* The tooltip text content.
|
|
10
|
+
*/
|
|
11
|
+
content: string;
|
|
12
|
+
/**
|
|
13
|
+
* Controls the visibility of the tooltip.
|
|
14
|
+
*/
|
|
15
|
+
isVisible: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Initial tooltip position; can be 'top', 'bottom', 'left', or 'right'.
|
|
18
|
+
* @default top
|
|
19
|
+
*/
|
|
20
|
+
placement?: Placement;
|
|
21
|
+
/**
|
|
22
|
+
* Insets for adjusting tooltip position within screen boundaries.
|
|
23
|
+
* @default {}
|
|
24
|
+
*/
|
|
25
|
+
displayInsets?: Partial<DisplayInsets>;
|
|
26
|
+
/**
|
|
27
|
+
* Accessibility label for the close icon button.
|
|
28
|
+
*/
|
|
29
|
+
closeIconAccessibilityLabel: string;
|
|
30
|
+
/**
|
|
31
|
+
* Determines whether interactions with the tooltip's children are allowed when `isVisible` is set to true.
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
childrenInteractionsEnabled?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Callback function triggered when the tooltip is closed.
|
|
37
|
+
*/
|
|
38
|
+
onClose: () => void;
|
|
39
|
+
};
|
|
40
|
+
type CloseWithTapOnBackground = {
|
|
41
|
+
/**
|
|
42
|
+
* Allows closing the tooltip by tapping outside of it.
|
|
43
|
+
*/
|
|
44
|
+
allowCloseOnBackgroundTap: true;
|
|
45
|
+
/**
|
|
46
|
+
* Accessibility label for the tooltip background mask.
|
|
47
|
+
*/
|
|
48
|
+
backgroundAccessibilityLabel: string;
|
|
49
|
+
};
|
|
50
|
+
type CloseWithBackgroundTapDisabled = {
|
|
51
|
+
allowCloseOnBackgroundTap?: false;
|
|
52
|
+
};
|
|
53
|
+
type Props = CommonProps & (CloseWithTapOnBackground | CloseWithBackgroundTapDisabled);
|
|
54
|
+
/**
|
|
55
|
+
* Tooltip component that displays a contextual tooltip around its children.
|
|
56
|
+
* The tooltip position is controlled by the `placement` prop and can adjust
|
|
57
|
+
* dynamically if there is insufficient space.
|
|
58
|
+
* @param {Props} props - The component props
|
|
59
|
+
*
|
|
60
|
+
* @returns {ReactElement} A tooltip component rendered around the specified children.
|
|
61
|
+
*/
|
|
62
|
+
export declare const Tooltip: ({ children, title, content, placement: initialPlacement, closeIconAccessibilityLabel, isVisible, displayInsets, allowCloseOnBackgroundTap, childrenInteractionsEnabled, onClose }: PropsWithChildren<Props>) => ReactElement;
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAc,EAGZ,iBAAiB,EAKjB,YAAY,EACb,MAAM,OAAO,CAAC;AA2Bf,OAAO,EAEL,aAAa,EACb,SAAS,EAEV,MAAM,eAAe,CAAC;AAmBvB,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACvC;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;OAGG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AACF,KAAK,wBAAwB,GAAG;IAC9B;;OAEG;IACH,yBAAyB,EAAE,IAAI,CAAC;IAChC;;OAEG;IACH,4BAA4B,EAAE,MAAM,CAAC;CACtC,CAAC;AACF,KAAK,8BAA8B,GAAG;IACpC,yBAAyB,CAAC,EAAE,KAAK,CAAC;CACnC,CAAC;AACF,KAAK,KAAK,GAAG,WAAW,GAAG,CAAC,wBAAwB,GAAG,8BAA8B,CAAC,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,sLAWjB,kBAAkB,KAAK,CAAC,KAAG,YAqL7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|