@pingux/astro 1.9.0 → 1.10.0-alpha.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.
@@ -96,7 +96,7 @@ OverlayPanel.propTypes = {
96
96
  /** Sets the open state of the menu. */
97
97
  isOpen: _propTypes["default"].bool,
98
98
 
99
- /** Sets the open state of the menu. */
99
+ /** Sets the size of the overlay panel. */
100
100
  size: _propTypes["default"].oneOf((0, _values["default"])(_panelSizes.panelSizes)),
101
101
 
102
102
  /** JSX styling that is passed into the component. */
@@ -67,7 +67,14 @@ var _default = {
67
67
  fontWeights: _text.fontWeights,
68
68
  sizes: {
69
69
  buttonHeight: 36,
70
- column: 400
70
+ column: 400,
71
+ container: {
72
+ xs: '400px',
73
+ sm: '550px',
74
+ md: '800px',
75
+ lg: '1200px',
76
+ full: '100%'
77
+ }
71
78
  },
72
79
  shadows: {
73
80
  standard: "0 1px 3px ".concat(_colors.shadow),
@@ -33,7 +33,7 @@ var overlayPanel = {
33
33
  width: '800px'
34
34
  },
35
35
  '&.is-full': {
36
- width: '100%'
36
+ width: 'container.full'
37
37
  },
38
38
  '&.is-open': {
39
39
  display: 'flex !important',
@@ -62,7 +62,7 @@ OverlayPanel.propTypes = {
62
62
  /** Sets the open state of the menu. */
63
63
  isOpen: PropTypes.bool,
64
64
 
65
- /** Sets the open state of the menu. */
65
+ /** Sets the size of the overlay panel. */
66
66
  size: PropTypes.oneOf(_Object$values(panelSizes)),
67
67
 
68
68
  /** JSX styling that is passed into the component. */
@@ -35,7 +35,14 @@ export default {
35
35
  fontWeights: fontWeights,
36
36
  sizes: {
37
37
  buttonHeight: 36,
38
- column: 400
38
+ column: 400,
39
+ container: {
40
+ xs: '400px',
41
+ sm: '550px',
42
+ md: '800px',
43
+ lg: '1200px',
44
+ full: '100%'
45
+ }
39
46
  },
40
47
  shadows: {
41
48
  standard: "0 1px 3px ".concat(shadow),
@@ -24,7 +24,7 @@ var overlayPanel = {
24
24
  width: '800px'
25
25
  },
26
26
  '&.is-full': {
27
- width: '100%'
27
+ width: 'container.full'
28
28
  },
29
29
  '&.is-open': {
30
30
  display: 'flex !important',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.9.0",
3
+ "version": "1.10.0-alpha.0",
4
4
  "description": "PingUX themeable React component library",
5
5
  "author": "ux-development@pingidentity.com",
6
6
  "license": "Apache-2.0",