@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.
@@ -1305,5 +1305,58 @@ function SwitchBreakpoints(values) {
1305
1305
  return getValueForBreakpoint(breakpoint, values);
1306
1306
  }
1307
1307
 
1308
- export { Badge, BumperProvider, Button, Center, HStack, IconButton, Loader, Pressable, Sticker, SwitchBreakpoints, Typography, VStack, getValueForBreakpoint, useBreakpointValue, useCurrentBreakpointName };
1308
+ var InternalDividerFrame = styled(View, {
1309
+ name: 'Divider',
1310
+ alignSelf: 'stretch',
1311
+ variants: {
1312
+ type: {
1313
+ subtle: {},
1314
+ strong: {}
1315
+ },
1316
+ isVertical: {
1317
+ "true": function (_, _ref) {
1318
+ var props = _ref.props;
1319
+ return {
1320
+ width: props.type === 'strong' ? 8 : 1
1321
+ };
1322
+ },
1323
+ "false": function (_, _ref2) {
1324
+ var props = _ref2.props;
1325
+ return {
1326
+ height: props.type === 'strong' ? 8 : 1
1327
+ };
1328
+ }
1329
+ },
1330
+ isOnContrasted: {
1331
+ "true": function (_, _ref3) {
1332
+ var props = _ref3.props;
1333
+ return {
1334
+ backgroundColor: props.type === 'strong' ? '$divider.border.strong.onContrasted' : '$divider.border.subtle.onContrasted'
1335
+ };
1336
+ },
1337
+ "false": function (_, _ref4) {
1338
+ var props = _ref4.props;
1339
+ return {
1340
+ backgroundColor: props.type === 'strong' ? '$divider.border.strong' : '$divider.border.subtle'
1341
+ };
1342
+ }
1343
+ }
1344
+ },
1345
+ defaultVariants: {
1346
+ type: 'subtle',
1347
+ isVertical: false,
1348
+ isOnContrasted: false
1349
+ }
1350
+ });
1351
+ var InternalDivider = InternalDividerFrame.styleable(function (props, ref) {
1352
+ var flattenProps = useProps(props);
1353
+ return /*#__PURE__*/jsx(InternalDividerFrame, _objectSpread({
1354
+ ref: ref
1355
+ }, flattenProps));
1356
+ });
1357
+ function Divider(props) {
1358
+ return /*#__PURE__*/jsx(InternalDivider, _objectSpread({}, props));
1359
+ }
1360
+
1361
+ export { Badge, BumperProvider, Button, Center, Divider, HStack, IconButton, Loader, Pressable, Sticker, SwitchBreakpoints, Typography, VStack, getValueForBreakpoint, useBreakpointValue, useCurrentBreakpointName };
1309
1362
  //# sourceMappingURL=index.es.web.js.map