@vueless/storybook 0.0.54 → 0.0.56

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.
@@ -168,20 +168,10 @@ body {
168
168
  @apply bg-white;
169
169
  }
170
170
 
171
- .vl-dark .sb-bar,
172
- .vl-dark .docs-story {
173
- @apply !bg-gray-900;
174
- }
175
-
176
171
  .sb-bar {
177
172
  @apply border-0;
178
173
  }
179
174
 
180
- .dark .sb-bar,
181
- .dark .docs-story {
182
- @apply bg-gray-100;
183
- }
184
-
185
175
  .dark .sb-bar {
186
176
  @apply border-b border-gray-300;
187
177
  box-shadow: none !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/storybook",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "description": "Simplifies Storybook configuration for Vueless UI library.",
5
5
  "homepage": "https://vueless.com",
6
6
  "author": "Johnny Grid",
@@ -52,7 +52,7 @@ function getSources(components, cwd) {
52
52
  async function rebuild(config, files, cachedContent, vuelessConfig) {
53
53
  const cacheWebTypesContent = async (filePath) => {
54
54
  cachedContent[filePath.replace(/\\/g, "/")] = await extractInformation(
55
- path.join(config.componentsRoot, filePath),
55
+ filePath,
56
56
  config,
57
57
  vuelessConfig,
58
58
  );
@@ -6,9 +6,7 @@ import esbuild from "esbuild";
6
6
  const CACHE_PATH = "./node_modules/.cache/vueless";
7
7
  const WEB_TYPES_CONFIG_FILE_NAME = "web-types.config";
8
8
 
9
- export async function extractConfig(cwd, watch = false, configFileFromCmd, pathArray = []) {
10
- const [outFileFromCmd] = pathArray;
11
-
9
+ export async function extractConfig(cwd, watch = false, configFileFromCmd) {
12
10
  const fileContent = await readFile(path.join(cwd, "package.json"), "utf-8");
13
11
  const packageJson = JSON.parse(fileContent);
14
12
 
@@ -26,7 +24,7 @@ export async function extractConfig(cwd, watch = false, configFileFromCmd, pathA
26
24
  watch,
27
25
  components,
28
26
  componentsRoot: cwd,
29
- outFile: outFileFromCmd || `${CACHE_PATH}/web-types.json`,
27
+ outFile: `${CACHE_PATH}/web-types.json`,
30
28
  packageName: packageJson["name"],
31
29
  packageVersion: packageJson["version"],
32
30
  descriptionMarkup: "markdown",