@livepeer/design-system 1.0.3 → 1.1.0-0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -472,6 +472,7 @@ var StyledOverlay$2 = styled(AlertDialogPrimitive.Overlay, overlayStyles, {
472
472
  left: 0,
473
473
  backgroundColor: "rgba(0,0,0,.35)",
474
474
  inset: 0,
475
+ zIndex: 1000,
475
476
  variants: {
476
477
  animation: {
477
478
  true: {
@@ -504,6 +505,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive.Content, panelStyles,
504
505
  borderRadius: "$4",
505
506
  boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
506
507
  color: "$black",
508
+ zIndex: 1001,
507
509
  "&:focus": {
508
510
  outline: "none",
509
511
  },
@@ -528,7 +530,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive.Content, panelStyles,
528
530
  });
529
531
  var AlertDialogContent = function (_a) {
530
532
  var children = _a.children, _b = _a.animation, animation = _b === void 0 ? "scale" : _b, props = __rest(_a, ["children", "animation"]);
531
- return (React.createElement(StyledAlertDialogContent, __assign({ animation: animation }, props), children));
533
+ return (React.createElement(StyledAlertDialogContent, __assign({ animation: animation }, props, { style: { overflow: 'auto' } }), children));
532
534
  };
533
535
  var AlertDialogTitle = AlertDialogPrimitive.Title;
534
536
  var AlertDialogDescription = AlertDialogPrimitive.Description;
@@ -2457,8 +2459,8 @@ var StyledOverlay$1 = styled(DialogPrimitive.Overlay, overlayStyles, {
2457
2459
  bottom: 0,
2458
2460
  left: 0,
2459
2461
  backgroundColor: "rgba(0,0,0,.35)",
2460
- backdropFilter: "blur(5px)",
2461
2462
  inset: 0,
2463
+ zIndex: 1000,
2462
2464
  variants: {
2463
2465
  animation: {
2464
2466
  true: {
@@ -2490,6 +2492,7 @@ var StyledDialogContent = styled(DialogPrimitive.Content, panelStyles, {
2490
2492
  borderRadius: "$4",
2491
2493
  boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
2492
2494
  color: "$black",
2495
+ zIndex: 1001,
2493
2496
  "&:focus": {
2494
2497
  outline: "none",
2495
2498
  },
@@ -2525,7 +2528,7 @@ var DialogContent = React.forwardRef(function (_a, forwardedRef) {
2525
2528
  var children = _a.children; _a.animation; var props = __rest(_a, ["children", "animation"]);
2526
2529
  return (React.createElement(DialogPrimitive.Portal, null,
2527
2530
  React.createElement(StyledOverlay$1, null),
2528
- React.createElement(StyledDialogContent, __assign({}, props, { ref: forwardedRef }),
2531
+ React.createElement(StyledDialogContent, __assign({}, props, { ref: forwardedRef, style: { overflow: 'auto' } }),
2529
2532
  children,
2530
2533
  React.createElement(StyledCloseButton$1, { asChild: true },
2531
2534
  React.createElement(IconButton, { variant: "ghost" },
package/dist/index.js CHANGED
@@ -516,6 +516,7 @@ var StyledOverlay$2 = styled(AlertDialogPrimitive__namespace.Overlay, overlaySty
516
516
  left: 0,
517
517
  backgroundColor: "rgba(0,0,0,.35)",
518
518
  inset: 0,
519
+ zIndex: 1000,
519
520
  variants: {
520
521
  animation: {
521
522
  true: {
@@ -548,6 +549,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive__namespace.Content, p
548
549
  borderRadius: "$4",
549
550
  boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
550
551
  color: "$black",
552
+ zIndex: 1001,
551
553
  "&:focus": {
552
554
  outline: "none",
553
555
  },
@@ -572,7 +574,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive__namespace.Content, p
572
574
  });
573
575
  var AlertDialogContent = function (_a) {
574
576
  var children = _a.children, _b = _a.animation, animation = _b === void 0 ? "scale" : _b, props = tslib.__rest(_a, ["children", "animation"]);
575
- return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props), children));
577
+ return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props, { style: { overflow: 'auto' } }), children));
576
578
  };
577
579
  var AlertDialogTitle = AlertDialogPrimitive__namespace.Title;
578
580
  var AlertDialogDescription = AlertDialogPrimitive__namespace.Description;
@@ -2501,8 +2503,8 @@ var StyledOverlay$1 = styled(DialogPrimitive__namespace.Overlay, overlayStyles,
2501
2503
  bottom: 0,
2502
2504
  left: 0,
2503
2505
  backgroundColor: "rgba(0,0,0,.35)",
2504
- backdropFilter: "blur(5px)",
2505
2506
  inset: 0,
2507
+ zIndex: 1000,
2506
2508
  variants: {
2507
2509
  animation: {
2508
2510
  true: {
@@ -2534,6 +2536,7 @@ var StyledDialogContent = styled(DialogPrimitive__namespace.Content, panelStyles
2534
2536
  borderRadius: "$4",
2535
2537
  boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
2536
2538
  color: "$black",
2539
+ zIndex: 1001,
2537
2540
  "&:focus": {
2538
2541
  outline: "none",
2539
2542
  },
@@ -2569,7 +2572,7 @@ var DialogContent = React__default["default"].forwardRef(function (_a, forwarded
2569
2572
  var children = _a.children; _a.animation; var props = tslib.__rest(_a, ["children", "animation"]);
2570
2573
  return (React__default["default"].createElement(DialogPrimitive__namespace.Portal, null,
2571
2574
  React__default["default"].createElement(StyledOverlay$1, null),
2572
- React__default["default"].createElement(StyledDialogContent, tslib.__assign({}, props, { ref: forwardedRef }),
2575
+ React__default["default"].createElement(StyledDialogContent, tslib.__assign({}, props, { ref: forwardedRef, style: { overflow: 'auto' } }),
2573
2576
  children,
2574
2577
  React__default["default"].createElement(StyledCloseButton$1, { asChild: true },
2575
2578
  React__default["default"].createElement(IconButton, { variant: "ghost" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livepeer/design-system",
3
- "version": "1.0.3",
3
+ "version": "1.1.0-0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -25,14 +25,14 @@
25
25
  "@radix-ui/colors": "0.1.8",
26
26
  "@radix-ui/react-accessible-icon": "^1.0.0",
27
27
  "@radix-ui/react-accordion": "1.0.0",
28
- "@radix-ui/react-alert-dialog": "1.0.0",
28
+ "@radix-ui/react-alert-dialog": "1.0.2",
29
29
  "@radix-ui/react-aspect-ratio": "1.0.0",
30
30
  "@radix-ui/react-avatar": "1.0.0",
31
31
  "@radix-ui/react-checkbox": "1.0.0",
32
32
  "@radix-ui/react-collapsible": "^1.0.0",
33
33
  "@radix-ui/react-context-menu": "1.0.0",
34
- "@radix-ui/react-dialog": "1.0.0",
35
- "@radix-ui/react-dropdown-menu": "1.0.0",
34
+ "@radix-ui/react-dialog": "1.0.2",
35
+ "@radix-ui/react-dropdown-menu": "2.0.1",
36
36
  "@radix-ui/react-hover-card": "1.0.0",
37
37
  "@radix-ui/react-icons": "1.1.1",
38
38
  "@radix-ui/react-label": "^1.0.0",