@ornikar/bumper 3.6.1 → 3.7.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/CHANGELOG.md +18 -0
- package/dist/definitions/system/actions/Button/Button.d.ts +3 -3
- package/dist/definitions/system/actions/IconButton/IconButton.d.ts +1 -1
- package/dist/definitions/system/content/icon/Icon.d.ts +1 -1
- package/dist/definitions/system/content/icon/Icon.d.ts.map +1 -1
- package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/system/types.d.ts +13 -2
- package/dist/definitions/system/types.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +6 -4
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +6 -4
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +5 -2
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +5 -2
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +5 -2
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +5 -2
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +6 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +6 -4
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/Bumper.mdx +5 -0
- package/src/system/actions/Button/Button.features.stories.tsx +13 -0
- package/src/system/actions/Button/Button.mdx +86 -0
- package/src/system/actions/Button/Button.stories.tsx +0 -1
- package/src/system/actions/Button/__snapshots__/Button.features.stories.tsx.snap +166 -0
- package/src/system/actions/Button/__snapshots_web__/Button.features.stories.tsx.snap +60 -0
- package/src/system/actions/IconButton/IconButton.features.stories.tsx +8 -0
- package/src/system/actions/IconButton/IconButton.mdx +74 -0
- package/src/system/actions/IconButton/IconButton.stories.tsx +0 -1
- package/src/system/actions/IconButton/__snapshots__/IconButton.features.stories.tsx.snap +76 -0
- package/src/system/actions/IconButton/__snapshots_web__/IconButton.features.stories.tsx.snap +39 -0
- package/src/system/content/icon/Icon.features.stories.tsx +12 -0
- package/src/system/content/icon/Icon.tsx +5 -1
- package/src/system/content/icon/__snapshots__/Icon.features.stories.tsx.snap +36 -1
- package/src/system/content/icon/__snapshots_web__/Icon.features.stories.tsx.snap +33 -1
- package/src/system/content/typography/Typography.features.stories.tsx +8 -0
- package/src/system/content/typography/Typography.tsx +3 -1
- package/src/system/content/typography/TypographyIcon.features.stories.tsx +9 -0
- package/src/system/content/typography/TypographyLink.features.stories.tsx +9 -0
- package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +29 -0
- package/src/system/content/typography/__snapshots__/TypographyIcon.features.stories.tsx.snap +45 -0
- package/src/system/content/typography/__snapshots__/TypographyLink.features.stories.tsx.snap +55 -0
- package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +29 -0
- package/src/system/content/typography/__snapshots_web__/TypographyIcon.features.stories.tsx.snap +41 -0
- package/src/system/content/typography/__snapshots_web__/TypographyLink.features.stories.tsx.snap +36 -0
- package/src/system/core/primitives/Center.features.stories.tsx +17 -0
- package/src/system/core/primitives/Pressable.features.stories.tsx +18 -0
- package/src/system/core/primitives/ScrollView/ScrollView.features.stories.tsx +14 -0
- package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.features.stories.tsx.snap +350 -0
- package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap +130 -0
- package/src/system/core/primitives/Stack.features.stories.tsx +29 -0
- package/src/system/core/primitives/View.features.stories.tsx +30 -0
- package/src/system/core/primitives/__snapshots__/Center.features.stories.tsx.snap +50 -0
- package/src/system/core/primitives/__snapshots__/Pressable.features.stories.tsx.snap +60 -0
- package/src/system/core/primitives/__snapshots__/Stack.features.stories.tsx.snap +126 -0
- package/src/system/core/primitives/__snapshots__/View.features.stories.tsx.snap +126 -0
- package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +34 -1
- package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +35 -0
- package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +55 -0
- package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +55 -0
- package/src/system/dataDisplays/Badge/Badge.features.stories.tsx +10 -0
- package/src/system/dataDisplays/Badge/__snapshots__/Badge.features.stories.tsx.snap +30 -0
- package/src/system/dataDisplays/Badge/__snapshots_web__/Badge.features.stories.tsx.snap +27 -0
- package/src/system/types.ts +14 -3
package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.features.stories.tsx.snap
CHANGED
|
@@ -970,6 +970,356 @@ exports[`Bumper/Core/Primitives/ScrollView/Features HorizontalScroll 1`] = `
|
|
|
970
970
|
</RNCSafeAreaProvider>
|
|
971
971
|
`;
|
|
972
972
|
|
|
973
|
+
exports[`Bumper/Core/Primitives/ScrollView/Features Responsive 1`] = `
|
|
974
|
+
<RNCSafeAreaProvider
|
|
975
|
+
onInsetsChange={[Function]}
|
|
976
|
+
style={
|
|
977
|
+
[
|
|
978
|
+
{
|
|
979
|
+
"flex": 1,
|
|
980
|
+
},
|
|
981
|
+
undefined,
|
|
982
|
+
]
|
|
983
|
+
}
|
|
984
|
+
>
|
|
985
|
+
<RCTScrollView
|
|
986
|
+
scrollEnabled={true}
|
|
987
|
+
style={
|
|
988
|
+
{
|
|
989
|
+
"height": 120,
|
|
990
|
+
"width": 176,
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
>
|
|
994
|
+
<View>
|
|
995
|
+
<View
|
|
996
|
+
style={
|
|
997
|
+
{
|
|
998
|
+
"flexDirection": "column",
|
|
999
|
+
"gap": 8,
|
|
1000
|
+
"paddingBottom": 8,
|
|
1001
|
+
"paddingLeft": 8,
|
|
1002
|
+
"paddingRight": 8,
|
|
1003
|
+
"paddingTop": 8,
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
>
|
|
1007
|
+
<View
|
|
1008
|
+
style={
|
|
1009
|
+
{
|
|
1010
|
+
"backgroundColor": "#E9F4FC",
|
|
1011
|
+
"borderBottomLeftRadius": 4,
|
|
1012
|
+
"borderBottomRightRadius": 4,
|
|
1013
|
+
"borderTopLeftRadius": 4,
|
|
1014
|
+
"borderTopRightRadius": 4,
|
|
1015
|
+
"paddingBottom": 12,
|
|
1016
|
+
"paddingLeft": 12,
|
|
1017
|
+
"paddingRight": 12,
|
|
1018
|
+
"paddingTop": 12,
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
>
|
|
1022
|
+
<Text
|
|
1023
|
+
style={
|
|
1024
|
+
{
|
|
1025
|
+
"color": "#101010",
|
|
1026
|
+
"fontFamily": "GTStandardRegular",
|
|
1027
|
+
"fontSize": 14,
|
|
1028
|
+
"letterSpacing": 0.3,
|
|
1029
|
+
"lineHeight": 20,
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
suppressHighlighting={true}
|
|
1033
|
+
>
|
|
1034
|
+
Item
|
|
1035
|
+
1
|
|
1036
|
+
</Text>
|
|
1037
|
+
</View>
|
|
1038
|
+
<View
|
|
1039
|
+
style={
|
|
1040
|
+
{
|
|
1041
|
+
"backgroundColor": "#E9F4FC",
|
|
1042
|
+
"borderBottomLeftRadius": 4,
|
|
1043
|
+
"borderBottomRightRadius": 4,
|
|
1044
|
+
"borderTopLeftRadius": 4,
|
|
1045
|
+
"borderTopRightRadius": 4,
|
|
1046
|
+
"paddingBottom": 12,
|
|
1047
|
+
"paddingLeft": 12,
|
|
1048
|
+
"paddingRight": 12,
|
|
1049
|
+
"paddingTop": 12,
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
>
|
|
1053
|
+
<Text
|
|
1054
|
+
style={
|
|
1055
|
+
{
|
|
1056
|
+
"color": "#101010",
|
|
1057
|
+
"fontFamily": "GTStandardRegular",
|
|
1058
|
+
"fontSize": 14,
|
|
1059
|
+
"letterSpacing": 0.3,
|
|
1060
|
+
"lineHeight": 20,
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
suppressHighlighting={true}
|
|
1064
|
+
>
|
|
1065
|
+
Item
|
|
1066
|
+
2
|
|
1067
|
+
</Text>
|
|
1068
|
+
</View>
|
|
1069
|
+
<View
|
|
1070
|
+
style={
|
|
1071
|
+
{
|
|
1072
|
+
"backgroundColor": "#E9F4FC",
|
|
1073
|
+
"borderBottomLeftRadius": 4,
|
|
1074
|
+
"borderBottomRightRadius": 4,
|
|
1075
|
+
"borderTopLeftRadius": 4,
|
|
1076
|
+
"borderTopRightRadius": 4,
|
|
1077
|
+
"paddingBottom": 12,
|
|
1078
|
+
"paddingLeft": 12,
|
|
1079
|
+
"paddingRight": 12,
|
|
1080
|
+
"paddingTop": 12,
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
>
|
|
1084
|
+
<Text
|
|
1085
|
+
style={
|
|
1086
|
+
{
|
|
1087
|
+
"color": "#101010",
|
|
1088
|
+
"fontFamily": "GTStandardRegular",
|
|
1089
|
+
"fontSize": 14,
|
|
1090
|
+
"letterSpacing": 0.3,
|
|
1091
|
+
"lineHeight": 20,
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
suppressHighlighting={true}
|
|
1095
|
+
>
|
|
1096
|
+
Item
|
|
1097
|
+
3
|
|
1098
|
+
</Text>
|
|
1099
|
+
</View>
|
|
1100
|
+
<View
|
|
1101
|
+
style={
|
|
1102
|
+
{
|
|
1103
|
+
"backgroundColor": "#E9F4FC",
|
|
1104
|
+
"borderBottomLeftRadius": 4,
|
|
1105
|
+
"borderBottomRightRadius": 4,
|
|
1106
|
+
"borderTopLeftRadius": 4,
|
|
1107
|
+
"borderTopRightRadius": 4,
|
|
1108
|
+
"paddingBottom": 12,
|
|
1109
|
+
"paddingLeft": 12,
|
|
1110
|
+
"paddingRight": 12,
|
|
1111
|
+
"paddingTop": 12,
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
>
|
|
1115
|
+
<Text
|
|
1116
|
+
style={
|
|
1117
|
+
{
|
|
1118
|
+
"color": "#101010",
|
|
1119
|
+
"fontFamily": "GTStandardRegular",
|
|
1120
|
+
"fontSize": 14,
|
|
1121
|
+
"letterSpacing": 0.3,
|
|
1122
|
+
"lineHeight": 20,
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
suppressHighlighting={true}
|
|
1126
|
+
>
|
|
1127
|
+
Item
|
|
1128
|
+
4
|
|
1129
|
+
</Text>
|
|
1130
|
+
</View>
|
|
1131
|
+
<View
|
|
1132
|
+
style={
|
|
1133
|
+
{
|
|
1134
|
+
"backgroundColor": "#E9F4FC",
|
|
1135
|
+
"borderBottomLeftRadius": 4,
|
|
1136
|
+
"borderBottomRightRadius": 4,
|
|
1137
|
+
"borderTopLeftRadius": 4,
|
|
1138
|
+
"borderTopRightRadius": 4,
|
|
1139
|
+
"paddingBottom": 12,
|
|
1140
|
+
"paddingLeft": 12,
|
|
1141
|
+
"paddingRight": 12,
|
|
1142
|
+
"paddingTop": 12,
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
>
|
|
1146
|
+
<Text
|
|
1147
|
+
style={
|
|
1148
|
+
{
|
|
1149
|
+
"color": "#101010",
|
|
1150
|
+
"fontFamily": "GTStandardRegular",
|
|
1151
|
+
"fontSize": 14,
|
|
1152
|
+
"letterSpacing": 0.3,
|
|
1153
|
+
"lineHeight": 20,
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
suppressHighlighting={true}
|
|
1157
|
+
>
|
|
1158
|
+
Item
|
|
1159
|
+
5
|
|
1160
|
+
</Text>
|
|
1161
|
+
</View>
|
|
1162
|
+
<View
|
|
1163
|
+
style={
|
|
1164
|
+
{
|
|
1165
|
+
"backgroundColor": "#E9F4FC",
|
|
1166
|
+
"borderBottomLeftRadius": 4,
|
|
1167
|
+
"borderBottomRightRadius": 4,
|
|
1168
|
+
"borderTopLeftRadius": 4,
|
|
1169
|
+
"borderTopRightRadius": 4,
|
|
1170
|
+
"paddingBottom": 12,
|
|
1171
|
+
"paddingLeft": 12,
|
|
1172
|
+
"paddingRight": 12,
|
|
1173
|
+
"paddingTop": 12,
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
>
|
|
1177
|
+
<Text
|
|
1178
|
+
style={
|
|
1179
|
+
{
|
|
1180
|
+
"color": "#101010",
|
|
1181
|
+
"fontFamily": "GTStandardRegular",
|
|
1182
|
+
"fontSize": 14,
|
|
1183
|
+
"letterSpacing": 0.3,
|
|
1184
|
+
"lineHeight": 20,
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
suppressHighlighting={true}
|
|
1188
|
+
>
|
|
1189
|
+
Item
|
|
1190
|
+
6
|
|
1191
|
+
</Text>
|
|
1192
|
+
</View>
|
|
1193
|
+
<View
|
|
1194
|
+
style={
|
|
1195
|
+
{
|
|
1196
|
+
"backgroundColor": "#E9F4FC",
|
|
1197
|
+
"borderBottomLeftRadius": 4,
|
|
1198
|
+
"borderBottomRightRadius": 4,
|
|
1199
|
+
"borderTopLeftRadius": 4,
|
|
1200
|
+
"borderTopRightRadius": 4,
|
|
1201
|
+
"paddingBottom": 12,
|
|
1202
|
+
"paddingLeft": 12,
|
|
1203
|
+
"paddingRight": 12,
|
|
1204
|
+
"paddingTop": 12,
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
>
|
|
1208
|
+
<Text
|
|
1209
|
+
style={
|
|
1210
|
+
{
|
|
1211
|
+
"color": "#101010",
|
|
1212
|
+
"fontFamily": "GTStandardRegular",
|
|
1213
|
+
"fontSize": 14,
|
|
1214
|
+
"letterSpacing": 0.3,
|
|
1215
|
+
"lineHeight": 20,
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
suppressHighlighting={true}
|
|
1219
|
+
>
|
|
1220
|
+
Item
|
|
1221
|
+
7
|
|
1222
|
+
</Text>
|
|
1223
|
+
</View>
|
|
1224
|
+
<View
|
|
1225
|
+
style={
|
|
1226
|
+
{
|
|
1227
|
+
"backgroundColor": "#E9F4FC",
|
|
1228
|
+
"borderBottomLeftRadius": 4,
|
|
1229
|
+
"borderBottomRightRadius": 4,
|
|
1230
|
+
"borderTopLeftRadius": 4,
|
|
1231
|
+
"borderTopRightRadius": 4,
|
|
1232
|
+
"paddingBottom": 12,
|
|
1233
|
+
"paddingLeft": 12,
|
|
1234
|
+
"paddingRight": 12,
|
|
1235
|
+
"paddingTop": 12,
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
>
|
|
1239
|
+
<Text
|
|
1240
|
+
style={
|
|
1241
|
+
{
|
|
1242
|
+
"color": "#101010",
|
|
1243
|
+
"fontFamily": "GTStandardRegular",
|
|
1244
|
+
"fontSize": 14,
|
|
1245
|
+
"letterSpacing": 0.3,
|
|
1246
|
+
"lineHeight": 20,
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
suppressHighlighting={true}
|
|
1250
|
+
>
|
|
1251
|
+
Item
|
|
1252
|
+
8
|
|
1253
|
+
</Text>
|
|
1254
|
+
</View>
|
|
1255
|
+
<View
|
|
1256
|
+
style={
|
|
1257
|
+
{
|
|
1258
|
+
"backgroundColor": "#E9F4FC",
|
|
1259
|
+
"borderBottomLeftRadius": 4,
|
|
1260
|
+
"borderBottomRightRadius": 4,
|
|
1261
|
+
"borderTopLeftRadius": 4,
|
|
1262
|
+
"borderTopRightRadius": 4,
|
|
1263
|
+
"paddingBottom": 12,
|
|
1264
|
+
"paddingLeft": 12,
|
|
1265
|
+
"paddingRight": 12,
|
|
1266
|
+
"paddingTop": 12,
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
>
|
|
1270
|
+
<Text
|
|
1271
|
+
style={
|
|
1272
|
+
{
|
|
1273
|
+
"color": "#101010",
|
|
1274
|
+
"fontFamily": "GTStandardRegular",
|
|
1275
|
+
"fontSize": 14,
|
|
1276
|
+
"letterSpacing": 0.3,
|
|
1277
|
+
"lineHeight": 20,
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
suppressHighlighting={true}
|
|
1281
|
+
>
|
|
1282
|
+
Item
|
|
1283
|
+
9
|
|
1284
|
+
</Text>
|
|
1285
|
+
</View>
|
|
1286
|
+
<View
|
|
1287
|
+
style={
|
|
1288
|
+
{
|
|
1289
|
+
"backgroundColor": "#E9F4FC",
|
|
1290
|
+
"borderBottomLeftRadius": 4,
|
|
1291
|
+
"borderBottomRightRadius": 4,
|
|
1292
|
+
"borderTopLeftRadius": 4,
|
|
1293
|
+
"borderTopRightRadius": 4,
|
|
1294
|
+
"paddingBottom": 12,
|
|
1295
|
+
"paddingLeft": 12,
|
|
1296
|
+
"paddingRight": 12,
|
|
1297
|
+
"paddingTop": 12,
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
>
|
|
1301
|
+
<Text
|
|
1302
|
+
style={
|
|
1303
|
+
{
|
|
1304
|
+
"color": "#101010",
|
|
1305
|
+
"fontFamily": "GTStandardRegular",
|
|
1306
|
+
"fontSize": 14,
|
|
1307
|
+
"letterSpacing": 0.3,
|
|
1308
|
+
"lineHeight": 20,
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
suppressHighlighting={true}
|
|
1312
|
+
>
|
|
1313
|
+
Item
|
|
1314
|
+
10
|
|
1315
|
+
</Text>
|
|
1316
|
+
</View>
|
|
1317
|
+
</View>
|
|
1318
|
+
</View>
|
|
1319
|
+
</RCTScrollView>
|
|
1320
|
+
</RNCSafeAreaProvider>
|
|
1321
|
+
`;
|
|
1322
|
+
|
|
973
1323
|
exports[`Bumper/Core/Primitives/ScrollView/Features ScrollDisabled 1`] = `
|
|
974
1324
|
<RNCSafeAreaProvider
|
|
975
1325
|
onInsetsChange={[Function]}
|
package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap
CHANGED
|
@@ -344,6 +344,136 @@ exports[`Bumper/Core/Primitives/ScrollView/Features HorizontalScroll 1`] = `
|
|
|
344
344
|
</DocumentFragment>
|
|
345
345
|
`;
|
|
346
346
|
|
|
347
|
+
exports[`Bumper/Core/Primitives/ScrollView/Features Responsive 1`] = `
|
|
348
|
+
<DocumentFragment>
|
|
349
|
+
<div
|
|
350
|
+
class="css-view-g5y9jx r-flex-13awgt0"
|
|
351
|
+
>
|
|
352
|
+
<span
|
|
353
|
+
class=""
|
|
354
|
+
style="display: contents;"
|
|
355
|
+
>
|
|
356
|
+
<span
|
|
357
|
+
class=" "
|
|
358
|
+
style="display: contents;"
|
|
359
|
+
>
|
|
360
|
+
<span
|
|
361
|
+
class=" t_light is_Theme"
|
|
362
|
+
style="display: contents;"
|
|
363
|
+
>
|
|
364
|
+
<span
|
|
365
|
+
class="_dsp_contents"
|
|
366
|
+
>
|
|
367
|
+
<div
|
|
368
|
+
class="css-view-g5y9jx r-WebkitOverflowScrolling-150rngu r-flexDirection-eqz5dr r-flexGrow-16y2uox r-flexShrink-1wbh5a2 r-overflowX-11yh6sk r-overflowY-1rnoaur r-transform-agouwx is_ScrollView _height-_medium_t-size-size42947888 _width-_medium_t-size-size42948634 _height-t-size-size42947727 _width-t-size-size42947888"
|
|
369
|
+
>
|
|
370
|
+
<div
|
|
371
|
+
class="css-view-g5y9jx"
|
|
372
|
+
>
|
|
373
|
+
<div
|
|
374
|
+
class="is_VStack _dsp-flex _alignItems-stretch _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _fd-column _gap-t-space-spa94482166 _paddingTop-t-space-spa94482166 _paddingRight-t-space-spa94482166 _paddingBottom-t-space-spa94482166 _paddingLeft-t-space-spa94482166"
|
|
375
|
+
>
|
|
376
|
+
<div
|
|
377
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
378
|
+
>
|
|
379
|
+
<span
|
|
380
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
381
|
+
>
|
|
382
|
+
Item 1
|
|
383
|
+
</span>
|
|
384
|
+
</div>
|
|
385
|
+
<div
|
|
386
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
387
|
+
>
|
|
388
|
+
<span
|
|
389
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
390
|
+
>
|
|
391
|
+
Item 2
|
|
392
|
+
</span>
|
|
393
|
+
</div>
|
|
394
|
+
<div
|
|
395
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
396
|
+
>
|
|
397
|
+
<span
|
|
398
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
399
|
+
>
|
|
400
|
+
Item 3
|
|
401
|
+
</span>
|
|
402
|
+
</div>
|
|
403
|
+
<div
|
|
404
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
405
|
+
>
|
|
406
|
+
<span
|
|
407
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
408
|
+
>
|
|
409
|
+
Item 4
|
|
410
|
+
</span>
|
|
411
|
+
</div>
|
|
412
|
+
<div
|
|
413
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
414
|
+
>
|
|
415
|
+
<span
|
|
416
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
417
|
+
>
|
|
418
|
+
Item 5
|
|
419
|
+
</span>
|
|
420
|
+
</div>
|
|
421
|
+
<div
|
|
422
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
423
|
+
>
|
|
424
|
+
<span
|
|
425
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
426
|
+
>
|
|
427
|
+
Item 6
|
|
428
|
+
</span>
|
|
429
|
+
</div>
|
|
430
|
+
<div
|
|
431
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
432
|
+
>
|
|
433
|
+
<span
|
|
434
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
435
|
+
>
|
|
436
|
+
Item 7
|
|
437
|
+
</span>
|
|
438
|
+
</div>
|
|
439
|
+
<div
|
|
440
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
441
|
+
>
|
|
442
|
+
<span
|
|
443
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
444
|
+
>
|
|
445
|
+
Item 8
|
|
446
|
+
</span>
|
|
447
|
+
</div>
|
|
448
|
+
<div
|
|
449
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
450
|
+
>
|
|
451
|
+
<span
|
|
452
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
453
|
+
>
|
|
454
|
+
Item 9
|
|
455
|
+
</span>
|
|
456
|
+
</div>
|
|
457
|
+
<div
|
|
458
|
+
class="_dsp-flex _alignItems-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _minHeight-0px _minWidth-0px _flexShrink-0 _backgroundColor-bg--info--m3355 _paddingTop-t-space-spa1366020317 _paddingRight-t-space-spa1366020317 _paddingBottom-t-space-spa1366020317 _paddingLeft-t-space-spa1366020317 _btlr-t-radius-ra1673638410 _btrr-t-radius-ra1673638410 _bbrr-t-radius-ra1673638410 _bblr-t-radius-ra1673638410"
|
|
459
|
+
>
|
|
460
|
+
<span
|
|
461
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _dsp-inline _bxs-border-box _ww-break-word _ws-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _ff-f-family _fs-f-size-body1510 _lh-f-lineHeigh201793153 _ls-f-letterSpa1099960310 _fw-f-weight-re98715119 _col-content--ba907952141"
|
|
462
|
+
>
|
|
463
|
+
Item 10
|
|
464
|
+
</span>
|
|
465
|
+
</div>
|
|
466
|
+
</div>
|
|
467
|
+
</div>
|
|
468
|
+
</div>
|
|
469
|
+
</span>
|
|
470
|
+
</span>
|
|
471
|
+
</span>
|
|
472
|
+
</span>
|
|
473
|
+
</div>
|
|
474
|
+
</DocumentFragment>
|
|
475
|
+
`;
|
|
476
|
+
|
|
347
477
|
exports[`Bumper/Core/Primitives/ScrollView/Features ScrollDisabled 1`] = `
|
|
348
478
|
<DocumentFragment>
|
|
349
479
|
<div
|
|
@@ -177,3 +177,32 @@ export const GridLikeLayout: Story = {
|
|
|
177
177
|
</VStack>
|
|
178
178
|
),
|
|
179
179
|
};
|
|
180
|
+
|
|
181
|
+
export const Responsive: Story = {
|
|
182
|
+
render: () => (
|
|
183
|
+
<Stack
|
|
184
|
+
flexDirection="column"
|
|
185
|
+
gap="$space.8"
|
|
186
|
+
backgroundColor="$bg.base.mid.default"
|
|
187
|
+
padding="$space.16"
|
|
188
|
+
borderRadius="$radius.m"
|
|
189
|
+
$medium={{ flexDirection: 'row', gap: '$space.16' }}
|
|
190
|
+
>
|
|
191
|
+
<View backgroundColor="$bg.accent.default" padding="$space.16" borderRadius="$radius.s" flexGrow={1}>
|
|
192
|
+
<Typography.Text variant="body-m" color="$content.base.onContrasted.hi">
|
|
193
|
+
Item 1
|
|
194
|
+
</Typography.Text>
|
|
195
|
+
</View>
|
|
196
|
+
<View backgroundColor="$bg.promo.hi.default" padding="$space.16" borderRadius="$radius.s" flexGrow={1}>
|
|
197
|
+
<Typography.Text variant="body-m" color="$content.base.onContrasted.hi">
|
|
198
|
+
Item 2
|
|
199
|
+
</Typography.Text>
|
|
200
|
+
</View>
|
|
201
|
+
<View backgroundColor="$bg.info.hi" padding="$space.16" borderRadius="$radius.s" flexGrow={1}>
|
|
202
|
+
<Typography.Text variant="body-m" color="$content.base.onContrasted.hi">
|
|
203
|
+
Item 3
|
|
204
|
+
</Typography.Text>
|
|
205
|
+
</View>
|
|
206
|
+
</Stack>
|
|
207
|
+
),
|
|
208
|
+
};
|
|
@@ -450,3 +450,33 @@ export const OverflowBehavior: Story = {
|
|
|
450
450
|
</VStack>
|
|
451
451
|
),
|
|
452
452
|
};
|
|
453
|
+
|
|
454
|
+
export const Responsive: Story = {
|
|
455
|
+
render: () => (
|
|
456
|
+
<View
|
|
457
|
+
backgroundColor="$bg.base.mid.default"
|
|
458
|
+
padding="$space.8"
|
|
459
|
+
borderRadius="$radius.m"
|
|
460
|
+
flexDirection="column"
|
|
461
|
+
gap="$space.8"
|
|
462
|
+
$medium={{ padding: '$space.16', flexDirection: 'row', gap: '$space.16' }}
|
|
463
|
+
$large={{ padding: '$space.32' }}
|
|
464
|
+
>
|
|
465
|
+
<View backgroundColor="$bg.accent.default" padding="$space.16" borderRadius="$radius.s" flexGrow={1}>
|
|
466
|
+
<Typography.Text variant="body-s" color="$content.base.onContrasted.hi">
|
|
467
|
+
Item 1
|
|
468
|
+
</Typography.Text>
|
|
469
|
+
</View>
|
|
470
|
+
<View backgroundColor="$bg.promo.hi.default" padding="$space.16" borderRadius="$radius.s" flexGrow={1}>
|
|
471
|
+
<Typography.Text variant="body-s" color="$content.base.onContrasted.hi">
|
|
472
|
+
Item 2
|
|
473
|
+
</Typography.Text>
|
|
474
|
+
</View>
|
|
475
|
+
<View backgroundColor="$bg.info.hi" padding="$space.16" borderRadius="$radius.s" flexGrow={1}>
|
|
476
|
+
<Typography.Text variant="body-s" color="$content.base.onContrasted.hi">
|
|
477
|
+
Item 3
|
|
478
|
+
</Typography.Text>
|
|
479
|
+
</View>
|
|
480
|
+
</View>
|
|
481
|
+
),
|
|
482
|
+
};
|
|
@@ -206,3 +206,53 @@ exports[`Bumper/Core/Primitives/Center/Features CircularCentering 1`] = `
|
|
|
206
206
|
</View>
|
|
207
207
|
</RNCSafeAreaProvider>
|
|
208
208
|
`;
|
|
209
|
+
|
|
210
|
+
exports[`Bumper/Core/Primitives/Center/Features Responsive 1`] = `
|
|
211
|
+
<RNCSafeAreaProvider
|
|
212
|
+
onInsetsChange={[Function]}
|
|
213
|
+
style={
|
|
214
|
+
[
|
|
215
|
+
{
|
|
216
|
+
"flex": 1,
|
|
217
|
+
},
|
|
218
|
+
undefined,
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
>
|
|
222
|
+
<View
|
|
223
|
+
style={
|
|
224
|
+
{
|
|
225
|
+
"alignItems": "center",
|
|
226
|
+
"backgroundColor": "#563B56",
|
|
227
|
+
"borderBottomLeftRadius": 4,
|
|
228
|
+
"borderBottomRightRadius": 4,
|
|
229
|
+
"borderTopLeftRadius": 4,
|
|
230
|
+
"borderTopRightRadius": 4,
|
|
231
|
+
"height": 96,
|
|
232
|
+
"justifyContent": "center",
|
|
233
|
+
"paddingBottom": 8,
|
|
234
|
+
"paddingLeft": 8,
|
|
235
|
+
"paddingRight": 8,
|
|
236
|
+
"paddingTop": 8,
|
|
237
|
+
"width": 96,
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
>
|
|
241
|
+
<Text
|
|
242
|
+
style={
|
|
243
|
+
{
|
|
244
|
+
"color": "#ffffff",
|
|
245
|
+
"fontFamily": "GTStandardRegular",
|
|
246
|
+
"fontSize": 16,
|
|
247
|
+
"letterSpacing": 0.3,
|
|
248
|
+
"lineHeight": 24,
|
|
249
|
+
"textAlign": "center",
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
suppressHighlighting={true}
|
|
253
|
+
>
|
|
254
|
+
Responsive
|
|
255
|
+
</Text>
|
|
256
|
+
</View>
|
|
257
|
+
</RNCSafeAreaProvider>
|
|
258
|
+
`;
|
|
@@ -469,3 +469,63 @@ exports[`Bumper/Core/Primitives/Pressable/Features PressEffects 1`] = `
|
|
|
469
469
|
</View>
|
|
470
470
|
</RNCSafeAreaProvider>
|
|
471
471
|
`;
|
|
472
|
+
|
|
473
|
+
exports[`Bumper/Core/Primitives/Pressable/Features Responsive 1`] = `
|
|
474
|
+
<RNCSafeAreaProvider
|
|
475
|
+
onInsetsChange={[Function]}
|
|
476
|
+
style={
|
|
477
|
+
[
|
|
478
|
+
{
|
|
479
|
+
"flex": 1,
|
|
480
|
+
},
|
|
481
|
+
undefined,
|
|
482
|
+
]
|
|
483
|
+
}
|
|
484
|
+
>
|
|
485
|
+
<View
|
|
486
|
+
onBlur={[Function]}
|
|
487
|
+
onClick={[Function]}
|
|
488
|
+
onFocus={[Function]}
|
|
489
|
+
onResponderGrant={[Function]}
|
|
490
|
+
onResponderMove={[Function]}
|
|
491
|
+
onResponderRelease={[Function]}
|
|
492
|
+
onResponderTerminate={[Function]}
|
|
493
|
+
onResponderTerminationRequest={[Function]}
|
|
494
|
+
onStartShouldSetResponder={[Function]}
|
|
495
|
+
role="button"
|
|
496
|
+
style={
|
|
497
|
+
{
|
|
498
|
+
"backgroundColor": "#563B56",
|
|
499
|
+
"borderBottomLeftRadius": 2,
|
|
500
|
+
"borderBottomRightRadius": 2,
|
|
501
|
+
"borderTopLeftRadius": 2,
|
|
502
|
+
"borderTopRightRadius": 2,
|
|
503
|
+
"paddingBottom": 8,
|
|
504
|
+
"paddingLeft": 8,
|
|
505
|
+
"paddingRight": 8,
|
|
506
|
+
"paddingTop": 8,
|
|
507
|
+
"transform": [
|
|
508
|
+
{
|
|
509
|
+
"scale": 1,
|
|
510
|
+
},
|
|
511
|
+
],
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
>
|
|
515
|
+
<Text
|
|
516
|
+
style={
|
|
517
|
+
{
|
|
518
|
+
"color": "#ffffff",
|
|
519
|
+
"fontFamily": "GTStandardRegular",
|
|
520
|
+
"fontSize": 16,
|
|
521
|
+
"letterSpacing": 0.3,
|
|
522
|
+
"lineHeight": 24,
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
suppressHighlighting={true}
|
|
526
|
+
>
|
|
527
|
+
Responsive padding and radius
|
|
528
|
+
</Text>
|
|
529
|
+
</View>
|
|
530
|
+
</RNCSafeAreaProvider>
|
|
531
|
+
`;
|