@charcoal-ui/react 3.1.2-beta.0 → 3.1.2-beta.2
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/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -3
- 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 +2 -1
- package/src/components/FieldLabel/index.tsx +1 -1
- package/src/components/Modal/index.tsx +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -845,7 +845,7 @@ var Label2 = styled8.label`
|
|
|
845
845
|
${theme2((o) => [o.typography(14).bold, o.font.text1])}
|
|
846
846
|
`;
|
|
847
847
|
var RequiredText = styled8.span`
|
|
848
|
-
${theme2((o) => [o.typography(14), o.font.
|
|
848
|
+
${theme2((o) => [o.typography(14), o.font.text2])}
|
|
849
849
|
`;
|
|
850
850
|
var SubLabelClickable = styled8.div`
|
|
851
851
|
${theme2((o) => [
|
|
@@ -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;
|
|
@@ -1784,6 +1784,7 @@ function DropdownSelector(props) {
|
|
|
1784
1784
|
setIsOpen(true);
|
|
1785
1785
|
},
|
|
1786
1786
|
ref: triggerRef,
|
|
1787
|
+
type: "button",
|
|
1787
1788
|
children: [
|
|
1788
1789
|
/* @__PURE__ */ jsx19(DropdownButtonText, { children: props.placeholder !== void 0 && preview === void 0 ? props.placeholder : preview }),
|
|
1789
1790
|
/* @__PURE__ */ jsx19(DropdownButtonIcon, { name: "16/Menu" })
|
|
@@ -1835,6 +1836,7 @@ var DropdownButton = styled16.button`
|
|
|
1835
1836
|
height: 40px;
|
|
1836
1837
|
width: 100%;
|
|
1837
1838
|
box-sizing: border-box;
|
|
1839
|
+
border: none;
|
|
1838
1840
|
cursor: pointer;
|
|
1839
1841
|
|
|
1840
1842
|
${disabledSelector4} {
|
|
@@ -1842,7 +1844,6 @@ var DropdownButton = styled16.button`
|
|
|
1842
1844
|
}
|
|
1843
1845
|
|
|
1844
1846
|
${({ invalid }) => theme((o) => [
|
|
1845
|
-
o.border.default,
|
|
1846
1847
|
o.padding.horizontal(8),
|
|
1847
1848
|
o.outline.default.focus,
|
|
1848
1849
|
o.bg.surface3,
|