@carbon/storybook-addon-theme 2.0.5 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/constants.js CHANGED
@@ -10,19 +10,14 @@ exports.TOOL_ID = exports.PARAM_KEY = exports.PANEL_ID = exports.CARBON_THEMES =
10
10
  * This source code is licensed under the Apache-2.0 license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- const ADDON_ID = '@carbon/theme';
14
- exports.ADDON_ID = ADDON_ID;
15
- const PANEL_ID = `${ADDON_ID}/panel`;
16
- exports.PANEL_ID = PANEL_ID;
17
- const TOOL_ID = `${ADDON_ID}/tool`;
18
- exports.TOOL_ID = TOOL_ID;
19
- const PARAM_KEY = 'carbonTheme';
20
- exports.PARAM_KEY = PARAM_KEY;
21
- const CARBON_THEMES = {
13
+ const ADDON_ID = exports.ADDON_ID = '@carbon/theme';
14
+ const PANEL_ID = exports.PANEL_ID = `${ADDON_ID}/panel`;
15
+ const TOOL_ID = exports.TOOL_ID = `${ADDON_ID}/tool`;
16
+ const PARAM_KEY = exports.PARAM_KEY = 'carbonTheme';
17
+ const CARBON_THEMES = exports.CARBON_THEMES = {
22
18
  white: 'white',
23
19
  g10: 'g10',
24
20
  g90: 'g90',
25
21
  g100: 'g100'
26
22
  };
27
- exports.CARBON_THEMES = CARBON_THEMES;
28
23
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["ADDON_ID","exports","PANEL_ID","TOOL_ID","PARAM_KEY","CARBON_THEMES","white","g10","g90","g100"],"sources":["../src/constants.js"],"sourcesContent":["/**\n * Copyright IBM Corp. 2023, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport const ADDON_ID = '@carbon/theme';\nexport const PANEL_ID = `${ADDON_ID}/panel`;\nexport const TOOL_ID = `${ADDON_ID}/tool`;\nexport const PARAM_KEY = 'carbonTheme';\nexport const CARBON_THEMES = {\n white: 'white',\n g10: 'g10',\n g90: 'g90',\n g100: 'g100',\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,QAAQ,GAAG,eAAe;AAACC,OAAA,CAAAD,QAAA,GAAAA,QAAA;AACjC,MAAME,QAAQ,GAAI,GAAEF,QAAS,QAAO;AAACC,OAAA,CAAAC,QAAA,GAAAA,QAAA;AACrC,MAAMC,OAAO,GAAI,GAAEH,QAAS,OAAM;AAACC,OAAA,CAAAE,OAAA,GAAAA,OAAA;AACnC,MAAMC,SAAS,GAAG,aAAa;AAACH,OAAA,CAAAG,SAAA,GAAAA,SAAA;AAChC,MAAMC,aAAa,GAAG;EAC3BC,KAAK,EAAE,OAAO;EACdC,GAAG,EAAE,KAAK;EACVC,GAAG,EAAE,KAAK;EACVC,IAAI,EAAE;AACR,CAAC;AAACR,OAAA,CAAAI,aAAA,GAAAA,aAAA"}
1
+ {"version":3,"file":"constants.js","names":["ADDON_ID","exports","PANEL_ID","TOOL_ID","PARAM_KEY","CARBON_THEMES","white","g10","g90","g100"],"sources":["../src/constants.js"],"sourcesContent":["/**\n * Copyright IBM Corp. 2023, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport const ADDON_ID = '@carbon/theme';\nexport const PANEL_ID = `${ADDON_ID}/panel`;\nexport const TOOL_ID = `${ADDON_ID}/tool`;\nexport const PARAM_KEY = 'carbonTheme';\nexport const CARBON_THEMES = {\n white: 'white',\n g10: 'g10',\n g90: 'g90',\n g100: 'g100',\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG,eAAe;AAChC,MAAME,QAAQ,GAAAD,OAAA,CAAAC,QAAA,GAAI,GAAEF,QAAS,QAAO;AACpC,MAAMG,OAAO,GAAAF,OAAA,CAAAE,OAAA,GAAI,GAAEH,QAAS,OAAM;AAClC,MAAMI,SAAS,GAAAH,OAAA,CAAAG,SAAA,GAAG,aAAa;AAC/B,MAAMC,aAAa,GAAAJ,OAAA,CAAAI,aAAA,GAAG;EAC3BC,KAAK,EAAE,OAAO;EACdC,GAAG,EAAE,KAAK;EACVC,GAAG,EAAE,KAAK;EACVC,IAAI,EAAE;AACR,CAAC"}
package/dist/preset.js CHANGED
@@ -13,8 +13,7 @@ exports.default = void 0;
13
13
  function managerEntries(entry = []) {
14
14
  return [...entry, require.resolve('./manager')]; //👈 Addon implementation
15
15
  }
16
- var _default = {
16
+ var _default = exports.default = {
17
17
  managerEntries
18
18
  };
19
- exports.default = _default;
20
19
  //# sourceMappingURL=preset.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"preset.js","names":["managerEntries","entry","require","resolve","_default","exports","default"],"sources":["../src/preset.js"],"sourcesContent":["/**\n * Copyright IBM Corp. 2023, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nfunction managerEntries(entry = []) {\n return [...entry, require.resolve('./manager')]; //👈 Addon implementation\n}\n\nexport default { managerEntries };\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,cAAcA,CAACC,KAAK,GAAG,EAAE,EAAE;EAClC,OAAO,CAAC,GAAGA,KAAK,EAAEC,OAAO,CAACC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;AACnD;AAAC,IAAAC,QAAA,GAEc;EAAEJ;AAAe,CAAC;AAAAK,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
1
+ {"version":3,"file":"preset.js","names":["managerEntries","entry","require","resolve","_default","exports","default"],"sources":["../src/preset.js"],"sourcesContent":["/**\n * Copyright IBM Corp. 2023, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nfunction managerEntries(entry = []) {\n return [...entry, require.resolve('./manager')]; //👈 Addon implementation\n}\n\nexport default { managerEntries };\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,cAAcA,CAACC,KAAK,GAAG,EAAE,EAAE;EAClC,OAAO,CAAC,GAAGA,KAAK,EAAEC,OAAO,CAACC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;AACnD;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEc;EAAEN;AAAe,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/storybook-addon-theme",
3
3
  "description": "Carbon theme switcher for Storybook",
4
- "version": "2.0.5",
4
+ "version": "2.0.7",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/react.js",
7
7
  "repository": {
@@ -27,7 +27,8 @@
27
27
  "carbon for ibm products"
28
28
  ],
29
29
  "publishConfig": {
30
- "access": "public"
30
+ "access": "public",
31
+ "provenance": true
31
32
  },
32
33
  "scripts": {
33
34
  "clean": "rimraf dist",
@@ -42,23 +43,23 @@
42
43
  "vue": "*"
43
44
  },
44
45
  "dependencies": {
45
- "@storybook/addons": "^7.2.3",
46
- "@storybook/api": "^7.2.3",
47
- "@storybook/client-api": "^7.2.3",
48
- "@storybook/client-logger": "^7.2.3",
49
- "@storybook/components": "^7.2.3",
50
- "@storybook/core-events": "^7.2.3",
51
- "@storybook/theming": "^7.2.3",
52
- "core-js": "^3.32.0",
46
+ "@storybook/addons": "^7.6.10",
47
+ "@storybook/api": "^7.6.10",
48
+ "@storybook/client-api": "^7.6.10",
49
+ "@storybook/client-logger": "^7.6.10",
50
+ "@storybook/components": "^7.6.10",
51
+ "@storybook/core-events": "^7.6.10",
52
+ "@storybook/theming": "^7.6.10",
53
+ "core-js": "^3.35.1",
53
54
  "global": "^4.4.0"
54
55
  },
55
56
  "devDependencies": {
56
- "@babel/cli": "^7.22.10",
57
- "@babel/core": "^7.22.10",
58
- "@babel/preset-react": "^7.22.5",
59
- "npm-check-updates": "^16.11.1",
57
+ "@babel/cli": "^7.23.9",
58
+ "@babel/core": "^7.23.9",
59
+ "@babel/preset-react": "^7.23.3",
60
+ "npm-check-updates": "^16.14.12",
60
61
  "npm-run-all": "^4.1.5",
61
- "rimraf": "^5.0.1"
62
+ "rimraf": "^5.0.5"
62
63
  },
63
- "gitHead": "3379b9af8e581eb50ec510e8a81248b4ec6d439d"
64
+ "gitHead": "81d80c8227765937cee54e2068800de818ebefb6"
64
65
  }