@workday/canvas-kit-react 8.0.0-alpha.239-next.10 → 8.0.0-alpha.241-next.12

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ModalCard.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AAItD,MAAM,WAAW,cAAe,SAAQ,YAAY,CAAC,OAAO,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC;CAAG;AAYjF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EAMpB,CAAC"}
1
+ {"version":3,"file":"ModalCard.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AAItD,MAAM,WAAW,cAAe,SAAQ,YAAY,CAAC,OAAO,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC;CAAG;AAWjF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EAMpB,CAAC"}
@@ -40,12 +40,11 @@ var ResponsiveModalCard = common_1.styled(popup_1.Popup.Card)(function (_a) {
40
40
  var _b;
41
41
  var theme = _a.theme;
42
42
  return (_b = {
43
- margin: tokens_1.space.xl,
44
- padding: tokens_1.space.l
43
+ margin: tokens_1.space.xl
45
44
  },
46
45
  _b[theme.canvas.breakpoints.down('s')] = {
47
- margin: "0 0 " + tokens_1.space.xl,
48
- padding: tokens_1.space.s,
46
+ margin: tokens_1.space.s,
47
+ padding: tokens_1.space.xxs,
49
48
  borderRadius: tokens_1.space.m,
50
49
  },
51
50
  _b);
@@ -1 +1 @@
1
- {"version":3,"file":"ModalCard.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AAItD,MAAM,WAAW,cAAe,SAAQ,YAAY,CAAC,OAAO,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC;CAAG;AAYjF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EAMpB,CAAC"}
1
+ {"version":3,"file":"ModalCard.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AAItD,MAAM,WAAW,cAAe,SAAQ,YAAY,CAAC,OAAO,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC;CAAG;AAWjF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EAMpB,CAAC"}
@@ -18,12 +18,11 @@ var ResponsiveModalCard = styled(Popup.Card)(function (_a) {
18
18
  var _b;
19
19
  var theme = _a.theme;
20
20
  return (_b = {
21
- margin: space.xl,
22
- padding: space.l
21
+ margin: space.xl
23
22
  },
24
23
  _b[theme.canvas.breakpoints.down('s')] = {
25
- margin: "0 0 " + space.xl,
26
- padding: space.s,
24
+ margin: space.s,
25
+ padding: space.xxs,
27
26
  borderRadius: space.m,
28
27
  },
29
28
  _b);
@@ -15,11 +15,10 @@ export interface ModalCardProps extends ExtractProps<typeof Popup.Card, never> {
15
15
 
16
16
  const ResponsiveModalCard = styled(Popup.Card)<ModalCardProps & StyledType>(({theme}) => ({
17
17
  margin: space.xl,
18
- padding: space.l,
19
18
  [theme.canvas.breakpoints.down('s')]: {
20
- margin: `0 0 ${space.xl}`,
21
- padding: space.s,
22
- borderRadius: space.m, // matches mobile specs
19
+ margin: space.s, // 16px all around margin on smaller screen sizes
20
+ padding: space.xxs, // brings total padding between edge and content to 16px
21
+ borderRadius: space.m, // 24px border radius on smaller devices.
23
22
  },
24
23
  }));
25
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "8.0.0-alpha.239-next.10+46fbe588",
3
+ "version": "8.0.0-alpha.241-next.12+c1b970cd",
4
4
  "description": "The parent module that contains all Workday Canvas Kit React components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -49,7 +49,7 @@
49
49
  "@emotion/styled": "^11.6.0",
50
50
  "@popperjs/core": "^2.5.4",
51
51
  "@workday/canvas-colors-web": "^2.0.0",
52
- "@workday/canvas-kit-popup-stack": "^8.0.0-alpha.239-next.10+46fbe588",
52
+ "@workday/canvas-kit-popup-stack": "^8.0.0-alpha.241-next.12+c1b970cd",
53
53
  "@workday/canvas-system-icons-web": "^3.0.0",
54
54
  "@workday/design-assets-types": "^0.2.8",
55
55
  "chroma-js": "^2.1.0",
@@ -67,5 +67,5 @@
67
67
  "@workday/canvas-accent-icons-web": "^3.0.0",
68
68
  "@workday/canvas-applet-icons-web": "^2.0.0"
69
69
  },
70
- "gitHead": "46fbe58858eac3afa6d5df9eb4fccbbb5d806977"
70
+ "gitHead": "c1b970cd840e4394197f7af5ec82c22d4d8bb0f6"
71
71
  }