@wavelengthusaf/components 2.0.3 → 2.0.5
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# common-components
|
|
1
|
+
# common-components
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
@@ -14,15 +14,23 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
### 2.0.5
|
|
18
|
+
|
|
19
|
+
- Various refactors made to the Monorepo; users can now access the Testbed website at the following link: https://wavelength2.gitlab.io/common-components/
|
|
20
|
+
|
|
21
|
+
### 2.0.4
|
|
22
|
+
|
|
23
|
+
- Added BoxShadow prop to menuSx for the dropdown menu component
|
|
24
|
+
|
|
25
|
+
## #2.0.0
|
|
18
26
|
|
|
19
27
|
- Migrated to a Mono Repo; some minor updates to various components were made throughout the package.
|
|
20
28
|
|
|
21
|
-
|
|
29
|
+
### 1.3.1
|
|
22
30
|
|
|
23
31
|
- Updated WavelengthBox Component, and Wavelength Button Component. Created new Dropdown Component called Wavelength Dropdown.
|
|
24
32
|
|
|
25
|
-
|
|
33
|
+
### 1.3.0
|
|
26
34
|
|
|
27
35
|
- Updated Footer and Snackbar component, added a basic File Download component.
|
|
28
36
|
|
|
@@ -37,17 +45,3 @@ npm install @wavelengthusaf/components
|
|
|
37
45
|
### 1.0.0
|
|
38
46
|
|
|
39
47
|
- Created npm package
|
|
40
|
-
|
|
41
|
-
# common components (testbed website)
|
|
42
|
-
|
|
43
|
-
## Overview
|
|
44
|
-
|
|
45
|
-
This project provides an overview of the common components library. It is meant to give developers a way to see the components as they work on them.
|
|
46
|
-
|
|
47
|
-
## Instructions
|
|
48
|
-
|
|
49
|
-
1. Make sure that you have built and linked the common-components library in a separate VS Code Window
|
|
50
|
-
2. Run `npm link @wavelengthusaf/components` to install the components library
|
|
51
|
-
3. Open your node_modules and verify that @wavelengthusaf exists (and that there is stuff in it)
|
|
52
|
-
4. Run `npm run dev`
|
|
53
|
-
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,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AACD,UAAU,WAAW;IACnB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,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;
|
|
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,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AACD,UAAU,WAAW;IACnB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,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
|
},
|