@charcoal-ui/react 3.0.0 → 3.1.1

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/dist/index.esm.js CHANGED
@@ -1404,7 +1404,7 @@ var ModalContext = React7.createContext({
1404
1404
  });
1405
1405
  var ModalBackground = animated(styled11.div`
1406
1406
  z-index: ${({ zIndex }) => zIndex};
1407
- overflow: scroll;
1407
+ overflow: auto;
1408
1408
  display: flex;
1409
1409
  position: fixed;
1410
1410
  top: 0;
@@ -1450,7 +1450,6 @@ var DialogContainer = styled11.div`
1450
1450
  var ModalDialog = animated(styled11.div`
1451
1451
  position: relative;
1452
1452
  margin: auto;
1453
- padding: 24px 0;
1454
1453
 
1455
1454
  ${theme((o) => [o.bg.background1, o.borderRadius(24)])}
1456
1455
  @media ${({ theme: theme3 }) => maxWidth(theme3.breakpoint.screen1)} {
@@ -1785,6 +1784,7 @@ function DropdownSelector(props) {
1785
1784
  setIsOpen(true);
1786
1785
  },
1787
1786
  ref: triggerRef,
1787
+ type: "button",
1788
1788
  children: [
1789
1789
  /* @__PURE__ */ jsx19(DropdownButtonText, { children: props.placeholder !== void 0 && preview === void 0 ? props.placeholder : preview }),
1790
1790
  /* @__PURE__ */ jsx19(DropdownButtonIcon, { name: "16/Menu" })