@ornikar/bumper 3.12.0 → 3.13.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.
@@ -1327,5 +1327,54 @@ function SwitchBreakpoints(values) {
1327
1327
  return getValueForBreakpoint(breakpoint, values);
1328
1328
  }
1329
1329
 
1330
- export { Badge, BumperProvider, Button, Center, HStack, IconButton, Loader, Pressable, Sticker, SwitchBreakpoints, Typography, VStack, getValueForBreakpoint, useBreakpointValue, useCurrentBreakpointName };
1330
+ const InternalDividerFrame = styled(View, {
1331
+ name: 'Divider',
1332
+ alignSelf: 'stretch',
1333
+ variants: {
1334
+ type: {
1335
+ subtle: {},
1336
+ strong: {}
1337
+ },
1338
+ isVertical: {
1339
+ true: (_, {
1340
+ props
1341
+ }) => ({
1342
+ width: props.type === 'strong' ? 8 : 1
1343
+ }),
1344
+ false: (_, {
1345
+ props
1346
+ }) => ({
1347
+ height: props.type === 'strong' ? 8 : 1
1348
+ })
1349
+ },
1350
+ isOnContrasted: {
1351
+ true: (_, {
1352
+ props
1353
+ }) => ({
1354
+ backgroundColor: props.type === 'strong' ? '$divider.border.strong.onContrasted' : '$divider.border.subtle.onContrasted'
1355
+ }),
1356
+ false: (_, {
1357
+ props
1358
+ }) => ({
1359
+ backgroundColor: props.type === 'strong' ? '$divider.border.strong' : '$divider.border.subtle'
1360
+ })
1361
+ }
1362
+ },
1363
+ defaultVariants: {
1364
+ type: 'subtle',
1365
+ isVertical: false,
1366
+ isOnContrasted: false
1367
+ }
1368
+ });
1369
+ const InternalDivider = InternalDividerFrame.styleable((props, ref) => {
1370
+ const flattenProps = useProps(props);
1371
+ return /*#__PURE__*/jsx(InternalDividerFrame, _objectSpread({
1372
+ ref: ref
1373
+ }, flattenProps));
1374
+ });
1375
+ function Divider(props) {
1376
+ return /*#__PURE__*/jsx(InternalDivider, _objectSpread({}, props));
1377
+ }
1378
+
1379
+ export { Badge, BumperProvider, Button, Center, Divider, HStack, IconButton, Loader, Pressable, Sticker, SwitchBreakpoints, Typography, VStack, getValueForBreakpoint, useBreakpointValue, useCurrentBreakpointName };
1331
1380
  //# sourceMappingURL=index-metro.es.ios.js.map