@wavelengthusaf/components 4.21.0 → 4.21.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/cjs/index.cjs +3 -1
- package/dist/cjs/index.d.cts +1 -2
- package/dist/esm/index.d.ts +1 -2
- package/dist/esm/index.js +3 -1
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -3763,7 +3763,9 @@ var WavelengthSearch = ({
|
|
|
3763
3763
|
_react.useEffect.call(void 0, () => {
|
|
3764
3764
|
const el = ref.current;
|
|
3765
3765
|
if (!el) return;
|
|
3766
|
-
|
|
3766
|
+
if (customStyle) {
|
|
3767
|
+
el.customStyles = customStyle;
|
|
3768
|
+
}
|
|
3767
3769
|
syncAttribute("width", width2);
|
|
3768
3770
|
syncAttribute("mode", mode);
|
|
3769
3771
|
syncAttribute("font-size", fontSize);
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -181,8 +181,7 @@ interface SearchResult {
|
|
|
181
181
|
subtitle?: string;
|
|
182
182
|
}
|
|
183
183
|
interface WavelengthSearchProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
184
|
-
|
|
185
|
-
customStyle: StyleProp;
|
|
184
|
+
customStyle?: StyleProp;
|
|
186
185
|
width?: string;
|
|
187
186
|
mode?: string;
|
|
188
187
|
fontSize?: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -181,8 +181,7 @@ interface SearchResult {
|
|
|
181
181
|
subtitle?: string;
|
|
182
182
|
}
|
|
183
183
|
interface WavelengthSearchProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
184
|
-
|
|
185
|
-
customStyle: StyleProp;
|
|
184
|
+
customStyle?: StyleProp;
|
|
186
185
|
width?: string;
|
|
187
186
|
mode?: string;
|
|
188
187
|
fontSize?: string;
|
package/dist/esm/index.js
CHANGED
|
@@ -3763,7 +3763,9 @@ var WavelengthSearch = ({
|
|
|
3763
3763
|
useEffect2(() => {
|
|
3764
3764
|
const el = ref.current;
|
|
3765
3765
|
if (!el) return;
|
|
3766
|
-
|
|
3766
|
+
if (customStyle) {
|
|
3767
|
+
el.customStyles = customStyle;
|
|
3768
|
+
}
|
|
3767
3769
|
syncAttribute("width", width2);
|
|
3768
3770
|
syncAttribute("mode", mode);
|
|
3769
3771
|
syncAttribute("font-size", fontSize);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wavelengthusaf/components",
|
|
3
3
|
"author": "563 EWS - Wavelength",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "4.21.
|
|
5
|
+
"version": "4.21.1",
|
|
6
6
|
"description": "Common component library used by Wavelength developers",
|
|
7
7
|
"main": "/dist/cjs/index.cjs",
|
|
8
8
|
"module": "/dist/esm/index.js",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@emotion/styled": "^11.11.0",
|
|
72
72
|
"@mui/icons-material": "^5.16.5",
|
|
73
73
|
"@mui/material": "^5.15.7",
|
|
74
|
-
"@wavelengthusaf/web-components": "^1.21.
|
|
74
|
+
"@wavelengthusaf/web-components": "^1.21.1",
|
|
75
75
|
"react": "^18.2.0",
|
|
76
76
|
"react-router-dom": "^6.26.2",
|
|
77
77
|
"styled-components": "^6.1.12",
|