@oaknational/oak-components 2.26.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
@@ -390,6 +390,7 @@ declare const oakAllSpacingTokens: {
390
390
  type OakAllSpacingToken = keyof typeof oakAllSpacingTokens;
391
391
  declare const oakInnerPaddingTokens: {
392
392
  "spacing-0": string;
393
+ "spacing-2": string;
393
394
  "spacing-4": string;
394
395
  "spacing-8": string;
395
396
  "spacing-12": string;
@@ -407,14 +408,18 @@ declare const oakInnerPaddingTokens: {
407
408
  type OakInnerPaddingToken = keyof typeof oakInnerPaddingTokens;
408
409
  declare const oakSpaceBetweenTokens: {
409
410
  "spacing-0": string;
411
+ "spacing-2": string;
410
412
  "spacing-4": string;
411
413
  "spacing-8": string;
412
414
  "spacing-12": string;
413
415
  "spacing-16": string;
416
+ "spacing-20": string;
414
417
  "spacing-24": string;
415
418
  "spacing-32": string;
419
+ "spacing-40": string;
416
420
  "spacing-48": string;
417
421
  "spacing-56": string;
422
+ "spacing-64": string;
418
423
  "spacing-72": string;
419
424
  "spacing-80": string;
420
425
  };
@@ -3304,9 +3309,10 @@ type OakToastProps = {
3304
3309
  showIcon: boolean;
3305
3310
  onClose?: () => void;
3306
3311
  id?: number;
3312
+ showClose?: boolean;
3307
3313
  };
3308
3314
  type VariantKey = "green" | "yellow" | "pink" | "blue" | "aqua" | "light" | "dark" | "error" | "success";
3309
- 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;
3310
3316
 
3311
3317
  type InternalTooltipProps = OakFlexProps & HTMLAttributes<Element> & {
3312
3318
  children?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "2.26.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",