@oaknational/oak-components 2.27.0 → 2.28.0

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/types.d.ts CHANGED
@@ -3309,9 +3309,10 @@ type OakToastProps = {
3309
3309
  showIcon: boolean;
3310
3310
  onClose?: () => void;
3311
3311
  id?: number;
3312
+ showClose?: boolean;
3312
3313
  };
3313
3314
  type VariantKey = "green" | "yellow" | "pink" | "blue" | "aqua" | "light" | "dark" | "error" | "success";
3314
- declare const OakToast: ({ message, variant, autoDismiss, autoDismissDuration, showIcon, onClose, id, }: OakToastProps) => React__default.JSX.Element;
3315
+ declare const OakToast: ({ message, variant, autoDismiss, autoDismissDuration, showIcon, onClose, id, showClose, }: OakToastProps) => React__default.JSX.Element;
3315
3316
 
3316
3317
  type InternalTooltipProps = OakFlexProps & HTMLAttributes<Element> & {
3317
3318
  children?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "licence": "MIT",
5
5
  "description": "Shared components for Oak applications",
6
6
  "main": "dist/cjs/index.js",