@sproutsocial/racine 11.0.0-mixin-beta.0 → 11.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 3f25fab: Remove themed mixin in favor of functions only
8
+
9
+ - Changes in 10.0.0 made the mixin unnecessary
10
+ - The functions that were created for use with the mixin can now be used standalone for the same purpose.
11
+ - Migration requires removal of all `@include themed` mixin calls. The code inside can stay the same. For example:
12
+
13
+ ```scss
14
+ @include themed {
15
+ color: colors("text.body");
16
+ }
17
+ ```
18
+
19
+ becomes
20
+
21
+ ```scss
22
+ color: colors("text.body");
23
+ ```
24
+
25
+ ### Patch Changes
26
+
27
+ - f28456b: Add overlay theme object
28
+ - a3ed9eb: Patches Menu Group margin issue
29
+
3
30
  ## 10.0.0
4
31
 
5
32
  ### Major Changes
@@ -388,7 +388,6 @@ exports[`Listbox AsListbox with checkboxes should match snapshot 1`] = `
388
388
  .c2 {
389
389
  box-sizing: border-box;
390
390
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
391
- margin: 8px;
392
391
  padding: 8px;
393
392
  }
394
393
 
@@ -686,7 +685,6 @@ exports[`Listbox AsListbox with filter input should match snapshot 1`] = `
686
685
  .c2 {
687
686
  box-sizing: border-box;
688
687
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
689
- margin: 8px;
690
688
  padding: 8px;
691
689
  }
692
690
 
@@ -22,7 +22,6 @@ exports[`Menu AsMenu should match snapshot 1`] = `
22
22
  .c4 {
23
23
  box-sizing: border-box;
24
24
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
25
- margin: 8px;
26
25
  padding: 8px;
27
26
  }
28
27
 
@@ -287,7 +287,7 @@ export const MenuGroup = ({
287
287
  </Text>
288
288
  </Box>
289
289
  )}
290
- <Box {...props} m={300} p={300} role="group">
290
+ <Box {...props} p={300} role="group">
291
291
  {children}
292
292
  </Box>
293
293
  </>
@@ -278,7 +278,6 @@ var MenuGroup = function MenuGroup(_ref2) {
278
278
  color: "text.headline",
279
279
  _css: isDisabled && _mixins.disabled
280
280
  }, title)), /*#__PURE__*/React.createElement(_Box.default, _extends({}, props, {
281
- m: 300,
282
281
  p: 300,
283
282
  role: "group"
284
283
  }), children));
package/lib/Menu/index.js CHANGED
@@ -245,7 +245,6 @@ export var MenuGroup = function MenuGroup(_ref2) {
245
245
  color: "text.headline",
246
246
  _css: isDisabled && disabled
247
247
  }, title)), /*#__PURE__*/React.createElement(Box, _extends({}, props, {
248
- m: 300,
249
248
  p: 300,
250
249
  role: "group"
251
250
  }), children));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "11.0.0-mixin-beta.0",
3
+ "version": "11.0.0",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",