@abgov/react-components 6.7.0-alpha.1 → 6.7.0-alpha.3
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/index.d.ts +0 -1
- package/index.js +0 -27
- package/index.js.map +1 -1
- package/index.mjs +0 -27
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/temporary-notification/temporary-notification.d.ts +0 -33
package/index.mjs
CHANGED
|
@@ -3661,32 +3661,6 @@ function GoabTab({ heading, children }) {
|
|
|
3661
3661
|
children
|
|
3662
3662
|
] });
|
|
3663
3663
|
}
|
|
3664
|
-
const GoabTemporaryNotification = ({
|
|
3665
|
-
message: message2 = "",
|
|
3666
|
-
type = "basic",
|
|
3667
|
-
duration,
|
|
3668
|
-
progress,
|
|
3669
|
-
testId,
|
|
3670
|
-
actionText,
|
|
3671
|
-
visible = true,
|
|
3672
|
-
animationDirection = "down"
|
|
3673
|
-
}) => {
|
|
3674
|
-
const el = useRef(null);
|
|
3675
|
-
return /* @__PURE__ */ jsx(
|
|
3676
|
-
"goa-temp-notification",
|
|
3677
|
-
{
|
|
3678
|
-
ref: el,
|
|
3679
|
-
message: message2,
|
|
3680
|
-
type,
|
|
3681
|
-
duration,
|
|
3682
|
-
progress,
|
|
3683
|
-
testid: testId,
|
|
3684
|
-
"action-text": actionText,
|
|
3685
|
-
visible,
|
|
3686
|
-
"animation-direction": animationDirection
|
|
3687
|
-
}
|
|
3688
|
-
);
|
|
3689
|
-
};
|
|
3690
3664
|
const GoabTemporaryNotificationCtrl = ({
|
|
3691
3665
|
verticalPosition = "bottom",
|
|
3692
3666
|
horizontalPosition = "center",
|
|
@@ -4373,7 +4347,6 @@ export {
|
|
|
4373
4347
|
GoabTable,
|
|
4374
4348
|
GoabTableSortHeader,
|
|
4375
4349
|
GoabTabs,
|
|
4376
|
-
GoabTemporaryNotification,
|
|
4377
4350
|
GoabTemporaryNotificationCtrl,
|
|
4378
4351
|
GoabText,
|
|
4379
4352
|
GoabTextArea,
|