carbon-react 159.2.1 → 159.2.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.
@@ -0,0 +1,3 @@
1
+ export declare const containerSizeDialogMaxwidthS = "540px";
2
+ export declare const containerSizeDialogMaxwidthM = "850px";
3
+ export declare const containerSizeDialogMaxwidthL = "1080px";
@@ -0,0 +1 @@
1
+ const p="540px",x="850px",o="1080px";export{o as containerSizeDialogMaxwidthL,x as containerSizeDialogMaxwidthM,p as containerSizeDialogMaxwidthS};
@@ -16,15 +16,15 @@ export declare const DIALOG_MIN_WIDTH = "288px";
16
16
  */
17
17
  export declare const DIALOG_SIZE_CONFIG: {
18
18
  readonly small: {
19
- readonly maxWidth: string;
19
+ readonly maxWidth: "540px";
20
20
  readonly minWidth: "288px";
21
21
  };
22
22
  readonly medium: {
23
- readonly maxWidth: string;
23
+ readonly maxWidth: "850px";
24
24
  readonly minWidth: "288px";
25
25
  };
26
26
  readonly large: {
27
- readonly maxWidth: string;
27
+ readonly maxWidth: "1080px";
28
28
  readonly minWidth: "288px";
29
29
  };
30
30
  readonly fullscreen: {
@@ -1 +1 @@
1
- import{containerSizeDialogMaxwidthS as i,containerSizeDialogMaxwidthM as m,containerSizeDialogMaxwidthL as t}from"@sage/design-tokens-fusion/js/es6/components/container";const n="288px",e={small:{maxWidth:i,minWidth:n},medium:{maxWidth:m,minWidth:n},large:{maxWidth:t,minWidth:n},fullscreen:{maxWidth:"100%",minWidth:"100%"}},d="medium";export{d as DEFAULT_SIZE,n as DIALOG_MIN_WIDTH,e as DIALOG_SIZE_CONFIG};
1
+ import{containerSizeDialogMaxwidthS as i,containerSizeDialogMaxwidthM as m,containerSizeDialogMaxwidthL as t}from"./__internal__/tokens/index.js";const d="288px",n={small:{maxWidth:i,minWidth:d},medium:{maxWidth:m,minWidth:d},large:{maxWidth:t,minWidth:d},fullscreen:{maxWidth:"100%",minWidth:"100%"}},e="medium";export{e as DEFAULT_SIZE,d as DIALOG_MIN_WIDTH,n as DIALOG_SIZE_CONFIG};
@@ -1,9 +1,9 @@
1
1
  import type { DialogProps } from "./dialog.component";
2
2
  import { Size, ContentPaddingInterface } from "./dialog.config";
3
3
  declare const dialogSizes: {
4
- readonly small: string;
5
- readonly medium: string;
6
- readonly large: string;
4
+ readonly small: "540px";
5
+ readonly medium: "850px";
6
+ readonly large: "1080px";
7
7
  };
8
8
  declare const smallScreenBreakpoint = "600px";
9
9
  /** Transient size prop shared across all styled dialog sub-components */
@@ -0,0 +1,3 @@
1
+ export declare const containerSizeDialogMaxwidthS = "540px";
2
+ export declare const containerSizeDialogMaxwidthM = "850px";
3
+ export declare const containerSizeDialogMaxwidthL = "1080px";
@@ -0,0 +1 @@
1
+ "use strict";exports.containerSizeDialogMaxwidthL="1080px",exports.containerSizeDialogMaxwidthM="850px",exports.containerSizeDialogMaxwidthS="540px";
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.js",
4
+ "module": "../../../esm/components/dialog/__internal__/__next__/__internal__/tokens/index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -16,15 +16,15 @@ export declare const DIALOG_MIN_WIDTH = "288px";
16
16
  */
17
17
  export declare const DIALOG_SIZE_CONFIG: {
18
18
  readonly small: {
19
- readonly maxWidth: string;
19
+ readonly maxWidth: "540px";
20
20
  readonly minWidth: "288px";
21
21
  };
22
22
  readonly medium: {
23
- readonly maxWidth: string;
23
+ readonly maxWidth: "850px";
24
24
  readonly minWidth: "288px";
25
25
  };
26
26
  readonly large: {
27
- readonly maxWidth: string;
27
+ readonly maxWidth: "1080px";
28
28
  readonly minWidth: "288px";
29
29
  };
30
30
  readonly fullscreen: {
@@ -1 +1 @@
1
- "use strict";var i=require("@sage/design-tokens-fusion/js/es6/components/container");const e="288px",t={small:{maxWidth:i.containerSizeDialogMaxwidthS,minWidth:e},medium:{maxWidth:i.containerSizeDialogMaxwidthM,minWidth:e},large:{maxWidth:i.containerSizeDialogMaxwidthL,minWidth:e},fullscreen:{maxWidth:"100%",minWidth:"100%"}};exports.DEFAULT_SIZE="medium",exports.DIALOG_MIN_WIDTH=e,exports.DIALOG_SIZE_CONFIG=t;
1
+ "use strict";var i=require("./__internal__/tokens/index.js");const t="288px",e={small:{maxWidth:i.containerSizeDialogMaxwidthS,minWidth:t},medium:{maxWidth:i.containerSizeDialogMaxwidthM,minWidth:t},large:{maxWidth:i.containerSizeDialogMaxwidthL,minWidth:t},fullscreen:{maxWidth:"100%",minWidth:"100%"}};exports.DEFAULT_SIZE="medium",exports.DIALOG_MIN_WIDTH=t,exports.DIALOG_SIZE_CONFIG=e;
@@ -1,9 +1,9 @@
1
1
  import type { DialogProps } from "./dialog.component";
2
2
  import { Size, ContentPaddingInterface } from "./dialog.config";
3
3
  declare const dialogSizes: {
4
- readonly small: string;
5
- readonly medium: string;
6
- readonly large: string;
4
+ readonly small: "540px";
5
+ readonly medium: "850px";
6
+ readonly large: "1080px";
7
7
  };
8
8
  declare const smallScreenBreakpoint = "600px";
9
9
  /** Transient size prop shared across all styled dialog sub-components */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "159.2.1",
3
+ "version": "159.2.2",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",