@symbo.ls/preview 3.8.0 → 3.8.1

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.
@@ -46,7 +46,7 @@ export const Colors = {
46
46
  Title: { text: 'Color pallete' },
47
47
  Paragraph: {
48
48
  children: ({ context }) => {
49
- const { COLOR } = context.designSystem
49
+ const { color: COLOR } = context.designSystem
50
50
  return Object.keys(COLOR)
51
51
  .filter(v => COLOR[v].value)
52
52
  .map(v => ({
package/blocks/icon.js CHANGED
@@ -37,8 +37,8 @@ export const icon = {
37
37
  },
38
38
 
39
39
  children: ({ context }) => {
40
- const { ICONS } = context.designSystem
41
- return Object.keys(ICONS).map(name => ({
40
+ const { icons } = context.designSystem
41
+ return Object.keys(icons).map(name => ({
42
42
  Icon: { name }
43
43
  }))
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/preview",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "main": "index.js",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "gitHead": "9fc1b79b41cdc725ca6b24aec64920a599634681",