grommet 2.53.0 → 2.55.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.
Files changed (89) hide show
  1. package/components/Calendar/Calendar.js +24 -16
  2. package/components/Calendar/index.d.ts +1 -1
  3. package/components/Calendar/stories/CustomHeader.stories.js +6 -1
  4. package/components/Calendar/stories/CustomThemed/CustomSizeHeading.stories.js +6 -1
  5. package/components/Calendar/stories/Dual.stories.js +23 -11
  6. package/components/Calendar/stories/HeaderLevel.stories.js +6 -1
  7. package/components/Calendar/stories/Multiple.stories.js +8 -3
  8. package/components/Calendar/stories/Simple.stories.js +6 -1
  9. package/components/Cards/Cards.js +164 -10
  10. package/components/Cards/StyledCellContainer.js +29 -0
  11. package/components/Cards/index.d.ts +4 -1
  12. package/components/Cards/propTypes.js +2 -0
  13. package/components/Cards/stories/Sizable.stories.js +70 -0
  14. package/components/Cards/stories/onOrder.stories.js +69 -0
  15. package/components/DataFilter/DataFilter.js +21 -28
  16. package/components/DataTable/stories/ResizePinned.stories.js +1 -1
  17. package/components/DateInput/DateInput.js +58 -25
  18. package/components/DateInput/index.d.ts +1 -0
  19. package/components/DateInput/utils.js +2 -2
  20. package/components/Drop/DropContainer.js +59 -3
  21. package/components/FileInput/FileInput.js +3 -0
  22. package/components/Form/stories/CustomThemed/FieldCustomStates.stories.js +7 -1
  23. package/components/Form/stories/FieldStates.stories.js +7 -1
  24. package/components/Grommet/Grommet.js +2 -1
  25. package/components/Grommet/index.d.ts +6 -0
  26. package/components/Grommet/propTypes.js +7 -1
  27. package/components/Header/stories/Sticky.stories.js +1 -1
  28. package/components/Layer/LayerContainer.d.ts +40 -0
  29. package/components/Menu/Menu.js +7 -5
  30. package/components/Select/stories/ChildrenRender.stories.js +28 -55
  31. package/components/SelectMultiple/stories/typescript/Children.stories.tsx +24 -48
  32. package/components/SelectMultiple/stories/typescript/ValueLabel.stories.tsx +88 -0
  33. package/components/Tab/Tab.js +1 -1
  34. package/components/Tag/Tag.js +4 -3
  35. package/components/Tag/index.d.ts +5 -4
  36. package/components/Tag/propTypes.js +3 -2
  37. package/components/TextInput/StyledTextInput.js +4 -2
  38. package/components/TextInput/TextInput.js +4 -3
  39. package/es6/components/Calendar/Calendar.js +24 -16
  40. package/es6/components/Calendar/index.d.ts +1 -1
  41. package/es6/components/Calendar/stories/CustomHeader.stories.js +6 -1
  42. package/es6/components/Calendar/stories/CustomThemed/CustomSizeHeading.stories.js +6 -1
  43. package/es6/components/Calendar/stories/Dual.stories.js +23 -11
  44. package/es6/components/Calendar/stories/HeaderLevel.stories.js +6 -1
  45. package/es6/components/Calendar/stories/Multiple.stories.js +8 -3
  46. package/es6/components/Calendar/stories/Simple.stories.js +6 -1
  47. package/es6/components/Cards/Cards.js +165 -12
  48. package/es6/components/Cards/StyledCellContainer.js +24 -0
  49. package/es6/components/Cards/index.d.ts +4 -1
  50. package/es6/components/Cards/propTypes.js +2 -0
  51. package/es6/components/Cards/stories/Sizable.stories.js +65 -0
  52. package/es6/components/Cards/stories/onOrder.stories.js +64 -0
  53. package/es6/components/DataFilter/DataFilter.js +21 -28
  54. package/es6/components/DataTable/stories/ResizePinned.stories.js +1 -1
  55. package/es6/components/DateInput/DateInput.js +58 -25
  56. package/es6/components/DateInput/index.d.ts +1 -0
  57. package/es6/components/DateInput/utils.js +2 -2
  58. package/es6/components/Drop/DropContainer.js +59 -3
  59. package/es6/components/FileInput/FileInput.js +3 -0
  60. package/es6/components/Form/stories/CustomThemed/FieldCustomStates.stories.js +7 -1
  61. package/es6/components/Form/stories/FieldStates.stories.js +7 -1
  62. package/es6/components/Grommet/Grommet.js +2 -1
  63. package/es6/components/Grommet/index.d.ts +6 -0
  64. package/es6/components/Grommet/propTypes.js +7 -1
  65. package/es6/components/Header/stories/Sticky.stories.js +1 -1
  66. package/es6/components/Layer/LayerContainer.d.ts +40 -0
  67. package/es6/components/Menu/Menu.js +7 -5
  68. package/es6/components/Select/stories/ChildrenRender.stories.js +29 -56
  69. package/es6/components/SelectMultiple/stories/typescript/Children.stories.tsx +24 -48
  70. package/es6/components/SelectMultiple/stories/typescript/ValueLabel.stories.tsx +88 -0
  71. package/es6/components/Tab/Tab.js +2 -2
  72. package/es6/components/Tag/Tag.js +4 -3
  73. package/es6/components/Tag/index.d.ts +5 -4
  74. package/es6/components/Tag/propTypes.js +3 -2
  75. package/es6/components/TextInput/StyledTextInput.js +4 -2
  76. package/es6/components/TextInput/TextInput.js +4 -3
  77. package/es6/languages/default.json +7 -1
  78. package/es6/themes/base.d.ts +6 -0
  79. package/es6/themes/base.js +5 -0
  80. package/es6/utils/index.d.ts +1 -0
  81. package/es6/utils/styles.js +23 -12
  82. package/grommet.min.js +1 -1
  83. package/grommet.min.js.map +1 -1
  84. package/languages/default.json +7 -1
  85. package/package.json +47 -50
  86. package/themes/base.d.ts +6 -0
  87. package/themes/base.js +5 -0
  88. package/utils/index.d.ts +1 -0
  89. package/utils/styles.js +23 -12
@@ -9,6 +9,11 @@
9
9
  "nextMove": "Moved to {date}",
10
10
  "next": "Go to {date}"
11
11
  },
12
+ "cards": {
13
+ "moved": "Card moved to position {source} of {target}",
14
+ "reorderHint": "Use arrow keys to reorder cards. Changes are applied immediately.",
15
+ "description": "sortable card"
16
+ },
12
17
  "carousel": {
13
18
  "previous": "Go to slide {slide}",
14
19
  "next": "Go to slide {slide}",
@@ -17,7 +22,8 @@
17
22
  "dateInput": {
18
23
  "openCalendar": "Press space to open calendar",
19
24
  "enterCalendar": "Calendar is open, use arrow keys and enter to select a date.",
20
- "exitCalendar": "Exited calendar dialog"
25
+ "exitCalendar": "Exited calendar dialog",
26
+ "outOfBounds": "Date is out of the allowed range. Enter a date between {start} and {end}."
21
27
  },
22
28
  "dataChart": {
23
29
  "detailTitle": "Data chart",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grommet",
3
- "version": "2.53.0",
3
+ "version": "2.55.0",
4
4
  "main": "index.js",
5
5
  "module": "es6/index.js",
6
6
  "jsnext:main": "es6/index.js",
@@ -60,88 +60,85 @@
60
60
  "prop-types": "^15.8.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@babel/cli": "^7.28.3",
64
- "@babel/core": "^7.28.5",
65
- "@babel/eslint-parser": "^7.28.5",
66
- "@babel/node": "^7.28.0",
63
+ "@babel/cli": "^7.28.6",
64
+ "@babel/core": "^7.29.0",
65
+ "@babel/eslint-parser": "^7.28.6",
66
+ "@babel/node": "^7.29.0",
67
67
  "@babel/plugin-proposal-class-properties": "^7.18.6",
68
- "@babel/plugin-proposal-do-expressions": "^7.28.3",
68
+ "@babel/plugin-proposal-do-expressions": "^7.28.6",
69
69
  "@babel/plugin-proposal-export-default-from": "^7.27.1",
70
- "@babel/plugin-proposal-pipeline-operator": "^7.27.1",
71
- "@babel/plugin-transform-class-properties": "^7.27.1",
72
- "@babel/plugin-transform-logical-assignment-operators": "^7.28.5",
73
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",
74
- "@babel/plugin-transform-optional-chaining": "^7.28.5",
75
- "@babel/preset-env": "^7.28.5",
70
+ "@babel/plugin-proposal-pipeline-operator": "^7.28.6",
71
+ "@babel/plugin-transform-class-properties": "^7.28.6",
72
+ "@babel/plugin-transform-logical-assignment-operators": "^7.28.6",
73
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6",
74
+ "@babel/plugin-transform-optional-chaining": "^7.28.6",
75
+ "@babel/preset-env": "^7.29.2",
76
76
  "@babel/preset-react": "^7.28.5",
77
- "@chromatic-com/storybook": "^3.2.6",
78
- "@eslint/compat": "^2.0.0",
79
- "@eslint/eslintrc": "^3.3.3",
80
- "@eslint/js": "^9.39.1",
81
- "@storybook/addon-a11y": "^8.6.15",
82
- "@storybook/addon-storysource": "^8.6.15",
83
- "@storybook/addon-toolbars": "^8.6.15",
84
- "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
85
- "@storybook/manager-api": "^8.6.15",
86
- "@storybook/react": "^8.6.15",
87
- "@storybook/react-webpack5": "^8.6.15",
88
- "@storybook/source-loader": "^8.6.15",
77
+ "@chromatic-com/storybook": "^5.1.2",
78
+ "@eslint/compat": "^2.0.5",
79
+ "@eslint/eslintrc": "^3.3.5",
80
+ "@eslint/js": "^10.0.1",
81
+ "@storybook/addon-a11y": "^10.3.6",
82
+ "@storybook/addon-docs": "^10.3.6",
83
+ "@storybook/addon-webpack5-compiler-babel": "^4.0.1",
84
+ "@storybook/react": "^10.3.6",
85
+ "@storybook/react-webpack5": "^10.3.6",
89
86
  "@testing-library/dom": "^10.4.1",
90
87
  "@testing-library/jest-dom": "^6.9.1",
91
- "@testing-library/react": "^16.3.0",
88
+ "@testing-library/react": "^16.3.2",
92
89
  "@testing-library/testcafe": "^5.0.1",
93
90
  "@testing-library/user-event": "^14.6.1",
94
91
  "@types/jest": "^30.0.0",
95
92
  "@types/jest-axe": "^3.5.9",
96
- "@types/node": "^25.0.1",
97
- "@types/react": "^19.2.7",
93
+ "@types/node": "^25.6.0",
94
+ "@types/react": "^19.2.14",
98
95
  "@types/react-dom": "^19.2.3",
99
96
  "@types/styled-components": "^5.1.36",
100
97
  "babel-core": "^7.0.0-bridge.0",
101
- "babel-jest": "^30.2.0",
102
- "babel-loader": "^10.0.0",
98
+ "babel-jest": "^30.3.0",
99
+ "babel-loader": "^10.1.1",
103
100
  "babel-plugin-styled-components": "^2.1.4",
104
101
  "babel-plugin-transform-imports": "^2.0.0",
105
102
  "bundlesize2": "^0.0.35",
106
- "chromatic": "^13.3.3",
103
+ "chromatic": "^13.3.5",
107
104
  "clean-webpack-plugin": "^4.0.0",
108
- "copy-webpack-plugin": "^13.0.1",
105
+ "copy-webpack-plugin": "^14.0.0",
109
106
  "copyfiles": "^2.4.1",
110
- "core-js": "^3.47.0",
107
+ "core-js": "^3.49.0",
111
108
  "cross-env": "^10.1.0",
112
109
  "del": "^6.1.1",
113
- "eslint": "^9.39.1",
110
+ "eslint": "^9.39.3",
114
111
  "eslint-config-airbnb": "^19.0.4",
115
112
  "eslint-config-prettier": "^10.1.8",
116
113
  "eslint-plugin-babel": "^5.3.1",
117
114
  "eslint-plugin-import": "^2.32.0",
118
115
  "eslint-plugin-jsx-a11y": "^6.10.2",
119
- "eslint-plugin-prettier": "^5.5.4",
116
+ "eslint-plugin-prettier": "^5.5.5",
120
117
  "eslint-plugin-react": "^7.37.5",
121
118
  "eslint-plugin-react-hooks": "^7.0.1",
122
- "eslint-plugin-testing-library": "^7.13.6",
123
- "fs-extra": "^11.3.2",
124
- "globals": "^16.5.0",
119
+ "eslint-plugin-testing-library": "^7.16.2",
120
+ "fs-extra": "^11.3.4",
121
+ "globals": "^17.5.0",
125
122
  "grommet-theme-hpe": "^7.0.2",
126
- "jest": "^30.2.0",
123
+ "jest": "^30.3.0",
127
124
  "jest-axe": "^10.0.0",
128
- "jest-cli": "^30.2.0",
129
- "jest-environment-jsdom": "^30.2.0",
125
+ "jest-cli": "^30.3.0",
126
+ "jest-environment-jsdom": "^30.3.0",
130
127
  "jest-styled-components": "7.0.5",
131
- "jsdom": "^27.3.0",
132
- "postcss": "^8.5.6",
128
+ "jsdom": "^29.0.2",
129
+ "postcss": "^8.5.9",
133
130
  "pre-commit": "^1.2.2",
134
131
  "prettier": "^2.8.8",
135
132
  "pretty-quick": "^4.2.2",
136
- "react": "^19.2.3",
133
+ "react": "^19.2.5",
137
134
  "react-dev-utils": "^12.0.1",
138
- "react-dom": "^19.2.3",
139
- "react-is": "^19.2.3",
135
+ "react-dom": "^19.2.5",
136
+ "react-is": "^19.2.5",
140
137
  "react-shadow": "^20.6.0",
141
138
  "regenerator-runtime": "^0.14.1",
142
- "simple-git": "^3.30.0",
143
- "storybook": "^8.6.15",
144
- "styled-components": "^6.1.19",
139
+ "simple-git": "^3.36.0",
140
+ "storybook": "^10.3.6",
141
+ "styled-components": "^6.3.11",
145
142
  "tarball-extract": "^0.0.6",
146
143
  "testcafe": "^3.7.4",
147
144
  "testcafe-react-selectors": "^5.0.3",
@@ -149,9 +146,9 @@
149
146
  "ts-jest": "^29.4.6",
150
147
  "ts-loader": "^9.5.4",
151
148
  "typescript": "^5.9.3",
152
- "webpack": "^5.103.0",
149
+ "webpack": "^5.105.2",
153
150
  "webpack-cli": "^6.0.1",
154
- "webpack-dev-server": "^5.2.2"
151
+ "webpack-dev-server": "^5.2.3"
155
152
  },
156
153
  "jest": {
157
154
  "transform": {
package/themes/base.d.ts CHANGED
@@ -401,6 +401,7 @@ export interface ThemeType {
401
401
  large?: string;
402
402
  xlarge?: string;
403
403
  responsiveBreakpoint?: string;
404
+ [x: string]: string | undefined;
404
405
  };
405
406
  elevation?: {
406
407
  light?: {
@@ -1474,6 +1475,11 @@ export interface ThemeType {
1474
1475
  up?: any;
1475
1476
  color?: ColorType;
1476
1477
  };
1478
+ disabled?: {
1479
+ icons?: {
1480
+ color?: ColorType;
1481
+ };
1482
+ };
1477
1483
  };
1478
1484
  meter?: {
1479
1485
  background?: BackgroundType;
package/themes/base.js CHANGED
@@ -1620,6 +1620,11 @@ var generate = exports.generate = function generate(baseSpacing, scale) {
1620
1620
  // up: undefined,
1621
1621
  // color: { dark: undefined, light: undefined },
1622
1622
  }
1623
+ // disabled: {
1624
+ // icons: {
1625
+ // color: undefined,
1626
+ // },
1627
+ // },
1623
1628
  },
1624
1629
  meter: {
1625
1630
  background: {
package/utils/index.d.ts CHANGED
@@ -280,6 +280,7 @@ declare const breakpointEdgeSize: {
280
280
  medium?: string;
281
281
  large?: string;
282
282
  xlarge?: string;
283
+ [x: string]: string | undefined;
283
284
  };
284
285
  export type BreakpointEdgeSize = typeof breakpointEdgeSize;
285
286
 
package/utils/styles.js CHANGED
@@ -34,9 +34,11 @@ var controlBorderStyle = exports.controlBorderStyle = (0, _styledComponents.css)
34
34
  return props.theme.global.control.border.radius;
35
35
  });
36
36
  var edgeStyle = exports.edgeStyle = function edgeStyle(kind, data, responsive, responsiveBreakpoint, theme) {
37
- var breakpoint = responsiveBreakpoint && theme.global.breakpoints[responsiveBreakpoint];
37
+ var breakpoint = (0, _responsive.getBreakpointStyle)(theme, responsiveBreakpoint);
38
38
  if (typeof data === 'string') {
39
- return (0, _styledComponents.css)(["", ":", ";", ";"], kind, theme.global.edgeSize[data] || data, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + ": " + (breakpoint.edgeSize[data] || data) + ";\n ", responsive) : '');
39
+ var value = theme.global.edgeSize[data] || data;
40
+ var responsiveValue = responsive && breakpoint && breakpoint.edgeSize[data];
41
+ return (0, _styledComponents.css)(["", ":", ";", ";"], kind, value, responsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + ": " + responsiveValue + ";\n ", responsive) : '');
40
42
  }
41
43
  var result = [];
42
44
  var horizontal = data.horizontal,
@@ -54,32 +56,41 @@ var edgeStyle = exports.edgeStyle = function edgeStyle(kind, data, responsive, r
54
56
  if (horizontalVerticalEqual || allSidesEqual) {
55
57
  // since the values will be the same between vertical & horizontal OR
56
58
  // left, right, top, & bottom, we can just choose one
57
- var value = horizontalVerticalEqual ? horizontal : top;
58
- return (0, _styledComponents.css)(["", ":", ";", ";"], kind, theme.global.edgeSize[value] || value, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + ": " + (breakpoint.edgeSize[value] || value) + ";\n ", responsive) : '');
59
+ var allSidesValue = horizontalVerticalEqual ? horizontal : top;
60
+ var allSidesResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[allSidesValue];
61
+ return (0, _styledComponents.css)(["", ":", ";", ";"], kind, theme.global.edgeSize[allSidesValue] || allSidesValue, allSidesResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + ": " + allSidesResponsiveValue + ";\n ", responsive) : '');
59
62
  }
60
63
  if (horizontal) {
61
- result.push((0, _styledComponents.css)(["", "-left:", ";", "-right:", ";", ";"], kind, theme.global.edgeSize[horizontal] || horizontal, kind, theme.global.edgeSize[horizontal] || horizontal, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-left: " + (breakpoint.edgeSize[horizontal] || horizontal) + ";\n " + kind + "-right: " + (breakpoint.edgeSize[horizontal] || horizontal) + ";\n ", responsive) : ''));
64
+ var horizontalResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[horizontal];
65
+ result.push((0, _styledComponents.css)(["", "-left:", ";", "-right:", ";", ";"], kind, theme.global.edgeSize[horizontal] || horizontal, kind, theme.global.edgeSize[horizontal] || horizontal, horizontalResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-left: " + horizontalResponsiveValue + ";\n " + kind + "-right: " + horizontalResponsiveValue + ";\n ", responsive) : ''));
62
66
  }
63
67
  if (vertical) {
64
- result.push((0, _styledComponents.css)(["", "-top:", ";", "-bottom:", ";", ";"], kind, theme.global.edgeSize[vertical] || vertical, kind, theme.global.edgeSize[vertical] || vertical, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-top: " + (breakpoint.edgeSize[vertical] || vertical) + ";\n " + kind + "-bottom: " + (breakpoint.edgeSize[vertical] || vertical) + ";\n ", responsive) : ''));
68
+ var verticalResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[vertical];
69
+ result.push((0, _styledComponents.css)(["", "-top:", ";", "-bottom:", ";", ";"], kind, theme.global.edgeSize[vertical] || vertical, kind, theme.global.edgeSize[vertical] || vertical, verticalResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-top: " + verticalResponsiveValue + ";\n " + kind + "-bottom: " + verticalResponsiveValue + ";\n ", responsive) : ''));
65
70
  }
66
71
  if (top) {
67
- result.push((0, _styledComponents.css)(["", "-top:", ";", ";"], kind, theme.global.edgeSize[top] || top, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-top: " + (breakpoint.edgeSize[top] || top) + ";\n ", responsive) : ''));
72
+ var topResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[top];
73
+ result.push((0, _styledComponents.css)(["", "-top:", ";", ";"], kind, theme.global.edgeSize[top] || top, topResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-top: " + topResponsiveValue + ";\n ", responsive) : ''));
68
74
  }
69
75
  if (bottom) {
70
- result.push((0, _styledComponents.css)(["", "-bottom:", ";", ";"], kind, theme.global.edgeSize[bottom] || bottom, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-bottom: " + (breakpoint.edgeSize[bottom] || bottom) + ";\n ", responsive) : ''));
76
+ var bottomResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[bottom];
77
+ result.push((0, _styledComponents.css)(["", "-bottom:", ";", ";"], kind, theme.global.edgeSize[bottom] || bottom, bottomResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-bottom: " + bottomResponsiveValue + ";\n ", responsive) : ''));
71
78
  }
72
79
  if (left) {
73
- result.push((0, _styledComponents.css)(["", "-left:", ";", ";"], kind, theme.global.edgeSize[left] || left, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-left: " + (breakpoint.edgeSize[left] || left) + ";\n ", responsive) : ''));
80
+ var leftResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[left];
81
+ result.push((0, _styledComponents.css)(["", "-left:", ";", ";"], kind, theme.global.edgeSize[left] || left, leftResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-left: " + leftResponsiveValue + ";\n ", responsive) : ''));
74
82
  }
75
83
  if (right) {
76
- result.push((0, _styledComponents.css)(["", "-right:", ";", ";"], kind, theme.global.edgeSize[right] || right, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-right: " + (breakpoint.edgeSize[right] || right) + ";\n ", responsive) : ''));
84
+ var rightResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[right];
85
+ result.push((0, _styledComponents.css)(["", "-right:", ";", ";"], kind, theme.global.edgeSize[right] || right, rightResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-right: " + rightResponsiveValue + ";\n ", responsive) : ''));
77
86
  }
78
87
  if (data.start) {
79
- result.push((0, _styledComponents.css)(["", "-inline-start:", ";", ";"], kind, theme.global.edgeSize[data.start] || data.start, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-inline-start: " + (breakpoint.edgeSize[data.start] || data.start) + ";\n ", responsive) : ''));
88
+ var startResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[data.start];
89
+ result.push((0, _styledComponents.css)(["", "-inline-start:", ";", ";"], kind, theme.global.edgeSize[data.start] || data.start, startResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-inline-start: " + startResponsiveValue + ";\n ", responsive) : ''));
80
90
  }
81
91
  if (data.end) {
82
- result.push((0, _styledComponents.css)(["", "-inline-end:", ";", ";"], kind, theme.global.edgeSize[data.end] || data.end, responsive && breakpoint ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-inline-end: " + (breakpoint.edgeSize[data.end] || data.end) + ";\n ", responsive) : ''));
92
+ var endResponsiveValue = responsive && breakpoint && breakpoint.edgeSize[data.end];
93
+ result.push((0, _styledComponents.css)(["", "-inline-end:", ";", ";"], kind, theme.global.edgeSize[data.end] || data.end, endResponsiveValue ? (0, _mixins.breakpointStyle)(breakpoint, "\n " + kind + "-inline-end: " + endResponsiveValue + ";\n ", responsive) : ''));
83
94
  }
84
95
  return result;
85
96
  };