@carbon/storybook-addon-theme 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/constants.js +5 -10
- package/dist/constants.js.map +1 -1
- package/dist/preset.js +1 -2
- package/dist/preset.js.map +1 -1
- package/package.json +4 -3
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.
|
15
|
-
const
|
16
|
-
exports.
|
17
|
-
const
|
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
|
package/dist/constants.js.map
CHANGED
@@ -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,
|
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
|
package/dist/preset.js.map
CHANGED
@@ -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,
|
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.
|
4
|
+
"version": "2.0.6",
|
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",
|
@@ -60,5 +61,5 @@
|
|
60
61
|
"npm-run-all": "^4.1.5",
|
61
62
|
"rimraf": "^5.0.1"
|
62
63
|
},
|
63
|
-
"gitHead": "
|
64
|
+
"gitHead": "4a34fee5addc455edeac8059d69612d8e29af52b"
|
64
65
|
}
|