@wavelengthusaf/components 2.0.3 → 2.0.4
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/README.md
CHANGED
|
@@ -14,6 +14,10 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
+
## 2.0.4
|
|
18
|
+
|
|
19
|
+
- Added BoxShadow prop to menuSx for the dropdown menu component
|
|
20
|
+
|
|
17
21
|
## 2.0.0
|
|
18
22
|
|
|
19
23
|
- Migrated to a Mono Repo; some minor updates to various components were made throughout the package.
|
|
@@ -50,4 +54,4 @@ This project provides an overview of the common components library. It is meant
|
|
|
50
54
|
2. Run `npm link @wavelengthusaf/components` to install the components library
|
|
51
55
|
3. Open your node_modules and verify that @wavelengthusaf exists (and that there is stuff in it)
|
|
52
56
|
4. Run `npm run dev`
|
|
53
|
-
5.
|
|
57
|
+
5. Navigate to the generated localhost url on your Chrome/Firefox browser.
|
|
@@ -18,6 +18,7 @@ interface MenuSxProps {
|
|
|
18
18
|
borderColor?: string;
|
|
19
19
|
hoverColor?: string;
|
|
20
20
|
width?: string;
|
|
21
|
+
boxShadow?: string;
|
|
21
22
|
}
|
|
22
23
|
export declare function WavelengthDropdown({ id, options, buttonSx, width, buttonText, menuSx, palette }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
23
24
|
declare const WavelengthDropdownStyled: import("@emotion/styled").StyledComponent<DropdownProps & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WavelengthDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/modals/WavelengthDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAmC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMhF,UAAU,aAAa;IACrB,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AC,iBAAiB,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;CAC9D;AACD,UAAU,WAAW;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,aAAa,2CAkH9G;AAED,QAAA,MAAM,wBAAwB,sHAA+B,CAAC;AAC9D,eAAe,wBAAwB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4580,6 +4580,7 @@ function WavelengthDropdown({ id, options, buttonSx, width: width2, buttonText,
|
|
|
4580
4580
|
borderBottomRightRadius: "8px",
|
|
4581
4581
|
borderTopRightRadius: "0px",
|
|
4582
4582
|
borderTopLeftRadius: "0px",
|
|
4583
|
+
boxShadow: menuSx?.boxShadow,
|
|
4583
4584
|
width: myMenusx.width,
|
|
4584
4585
|
backgroundColor: `${myMenusx.backgroundColor}`
|
|
4585
4586
|
},
|