@wavelengthusaf/components 2.10.1 → 2.10.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/README.md +6 -0
- package/dist/cjs/index.cjs +6 -7
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +7 -6
- package/dist/esm/index.d.ts +7 -6
- package/dist/esm/index.js +6 -7
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -296,17 +296,16 @@ interface WavelengthAlertProps {
|
|
|
296
296
|
width?: string;
|
|
297
297
|
variant?: "caveman" | "basic" | "civilized";
|
|
298
298
|
backgroundColor?: string;
|
|
299
|
-
alertType?: string;
|
|
300
|
-
alertDescription?: string;
|
|
299
|
+
alertType?: string | React__default.ReactNode;
|
|
300
|
+
alertDescription?: string | React__default.ReactNode;
|
|
301
301
|
datatestid?: string;
|
|
302
302
|
viewed?: boolean;
|
|
303
|
-
timeStamp?: string;
|
|
304
|
-
appName?: string;
|
|
303
|
+
timeStamp?: string | React__default.ReactNode;
|
|
304
|
+
appName?: string | React__default.ReactNode;
|
|
305
305
|
url?: string;
|
|
306
|
-
initiator?: string;
|
|
307
306
|
onClose?: () => void;
|
|
308
307
|
}
|
|
309
|
-
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url,
|
|
308
|
+
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
|
|
310
309
|
|
|
311
310
|
interface WavelengthFooterProps {
|
|
312
311
|
text?: string;
|
|
@@ -545,8 +544,10 @@ interface TextFieldProps {
|
|
|
545
544
|
height?: string;
|
|
546
545
|
label?: string;
|
|
547
546
|
borderColor?: string;
|
|
547
|
+
value?: string;
|
|
548
548
|
labelColor?: string;
|
|
549
549
|
focusColor?: string;
|
|
550
|
+
inputRef?: React__default.Ref<any> | undefined;
|
|
550
551
|
shrink?: boolean;
|
|
551
552
|
textColor?: string;
|
|
552
553
|
required?: boolean;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -296,17 +296,16 @@ interface WavelengthAlertProps {
|
|
|
296
296
|
width?: string;
|
|
297
297
|
variant?: "caveman" | "basic" | "civilized";
|
|
298
298
|
backgroundColor?: string;
|
|
299
|
-
alertType?: string;
|
|
300
|
-
alertDescription?: string;
|
|
299
|
+
alertType?: string | React__default.ReactNode;
|
|
300
|
+
alertDescription?: string | React__default.ReactNode;
|
|
301
301
|
datatestid?: string;
|
|
302
302
|
viewed?: boolean;
|
|
303
|
-
timeStamp?: string;
|
|
304
|
-
appName?: string;
|
|
303
|
+
timeStamp?: string | React__default.ReactNode;
|
|
304
|
+
appName?: string | React__default.ReactNode;
|
|
305
305
|
url?: string;
|
|
306
|
-
initiator?: string;
|
|
307
306
|
onClose?: () => void;
|
|
308
307
|
}
|
|
309
|
-
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url,
|
|
308
|
+
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
|
|
310
309
|
|
|
311
310
|
interface WavelengthFooterProps {
|
|
312
311
|
text?: string;
|
|
@@ -545,8 +544,10 @@ interface TextFieldProps {
|
|
|
545
544
|
height?: string;
|
|
546
545
|
label?: string;
|
|
547
546
|
borderColor?: string;
|
|
547
|
+
value?: string;
|
|
548
548
|
labelColor?: string;
|
|
549
549
|
focusColor?: string;
|
|
550
|
+
inputRef?: React__default.Ref<any> | undefined;
|
|
550
551
|
shrink?: boolean;
|
|
551
552
|
textColor?: string;
|
|
552
553
|
required?: boolean;
|
package/dist/esm/index.js
CHANGED
|
@@ -5461,7 +5461,6 @@ function WavelengthAlert({
|
|
|
5461
5461
|
variant,
|
|
5462
5462
|
timeStamp,
|
|
5463
5463
|
url,
|
|
5464
|
-
initiator,
|
|
5465
5464
|
id,
|
|
5466
5465
|
onClose
|
|
5467
5466
|
}) {
|
|
@@ -5536,12 +5535,8 @@ function WavelengthAlert({
|
|
|
5536
5535
|
/* @__PURE__ */ jsx20(NotificationsIcon, { sx: iconStyle }),
|
|
5537
5536
|
/* @__PURE__ */ jsxs15("a", { href: url, style: { display: "flex", flexDirection: "column", gap: "7px", width: "250px", marginLeft: "12px", textDecoration: "none", color: baseContainerStyle.color }, children: [
|
|
5538
5537
|
/* @__PURE__ */ jsx20("label", { style: { fontSize: "16px", lineHeight: "24px", letterSpacing: "0.15px", fontWeight: 550 }, children: alertType }),
|
|
5539
|
-
/* @__PURE__ */ jsx20("div", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", letterSpacing: "0.25px", width: "200px" }, children:
|
|
5540
|
-
/* @__PURE__ */
|
|
5541
|
-
/* @__PURE__ */ jsx20("span", { style: { fontWeight: 550 }, children: "Initiator: " }),
|
|
5542
|
-
" ",
|
|
5543
|
-
initiator
|
|
5544
|
-
] })
|
|
5538
|
+
/* @__PURE__ */ jsx20("div", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", letterSpacing: "0.25px", width: "200px" }, children: appName }),
|
|
5539
|
+
/* @__PURE__ */ jsx20("div", { style: { fontSize: "14px", lineHeight: "20px", fontWeight: 400 }, children: alertDescription })
|
|
5545
5540
|
] }),
|
|
5546
5541
|
/* @__PURE__ */ jsxs15(
|
|
5547
5542
|
"div",
|
|
@@ -6790,6 +6785,8 @@ function WavelengthTextField(props) {
|
|
|
6790
6785
|
return /* @__PURE__ */ jsx40(
|
|
6791
6786
|
TextField4,
|
|
6792
6787
|
{
|
|
6788
|
+
value: props.value,
|
|
6789
|
+
inputRef: props.inputRef,
|
|
6793
6790
|
type: props.type,
|
|
6794
6791
|
required: props.required,
|
|
6795
6792
|
label: props.label,
|
|
@@ -6832,6 +6829,8 @@ function WavelengthTextField(props) {
|
|
|
6832
6829
|
/* @__PURE__ */ jsx40(
|
|
6833
6830
|
StandardTextField,
|
|
6834
6831
|
{
|
|
6832
|
+
value: props.value,
|
|
6833
|
+
ref: props.inputRef,
|
|
6835
6834
|
type: props.type,
|
|
6836
6835
|
id: "custom-input",
|
|
6837
6836
|
placeholder: props.placeholder,
|