@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/components/DropdownSelector/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.story.d.ts +1 -0
- package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
- package/dist/components/Icon/index.story.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +6 -6
- package/src/components/DropdownSelector/index.story.tsx +22 -0
- package/src/components/DropdownSelector/index.tsx +1 -0
- package/src/components/Modal/index.tsx +1 -2
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:
|
|
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" })
|