@explorer-1/vue-storybook 0.0.29 → 0.1.2

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.
@@ -1,13 +1,6 @@
1
1
  <style type="text/css">
2
2
  /* styles for the storybook sidebar */
3
- @import 'css/font-face.css';
4
3
 
5
- .sidebar-item {
6
- font-family: Metropolis, sans-serif !important;
7
- line-height: 1.2rem !important;
8
- display: flex !important;
9
- align-items: center !important;
10
- }
11
4
  .sidebar-item svg:not([type='document']) {
12
5
  color: inherit !important;
13
6
  }
@@ -1,13 +1,6 @@
1
1
  <style type="text/css">
2
2
  /* styles for docs tab */
3
- /* @import 'dist/css/font-face.css'; */
4
3
 
5
- #storybook-docs
6
- .sbdocs
7
- .sbdocs-content
8
- *:not(.sbdocs-preview, .sbdocs-preview *, pre, pre *, code, code *) {
9
- font-family: Metropolis, sans-serif !important;
10
- }
11
4
  /* make docs have full width iframes
12
5
  ** rescopes width to all nested divs, not the container wrapper */
13
6
  .sbdocs.sbdocs-content {
@@ -16,6 +16,16 @@ import '@explorer-1/common-storybook/src/config/canvas.css'
16
16
  import VueObserveVisibility from 'vue3-observe-visibility'
17
17
  import beautify from 'js-beautify'
18
18
  import { beautifyHtmlOptions } from '@explorer-1/common-storybook/src/plugins/beautifyHtmlOptions.js'
19
+ import { injectLicensedFonts } from '@explorer-1/common-storybook/src/fonts-data.js'
20
+ import '@explorer-1/common-storybook/src/font-flag.js'
21
+ /* Handle Licensed Fonts in CI */
22
+ // @ts-ignore
23
+ const IS_CHROMATIC_BUILD = import.meta.env.VITE_CHROMATIC_BUILD === 'true'
24
+ // @ts-ignore
25
+ if (IS_CHROMATIC_BUILD && window.__IS_LICENSED_FONT_AVAILABLE__) {
26
+ console.log('✅ Licensed Fonts loaded.')
27
+ injectLicensedFonts()
28
+ }
19
29
 
20
30
  const pinia = createPinia()
21
31
  const router = createRouter({
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @explorer-1/vue-storybook
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 02d9608: Updating npmignore
8
+ - Updated dependencies [02d9608]
9
+ - @explorer-1/html@1.0.2
10
+ - @explorer-1/vue@1.0.2
11
+
12
+ ## 0.1.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [9655fc2]
17
+ - @explorer-1/common@2.0.1
18
+ - @explorer-1/html@1.0.1
19
+ - @explorer-1/common-storybook@0.1.0
20
+ - @explorer-1/vue@1.0.1
21
+
22
+ ## 0.1.0
23
+
24
+ ### Minor Changes
25
+
26
+ - 27c013c: Updating Explorer-1 with JPL's new branding colors and typefaces.
27
+
28
+ ### Patch Changes
29
+
30
+ - 27c013c: Documentation updates, Storybook improvements.
31
+ - Updated dependencies [27c013c]
32
+ - Updated dependencies [27c013c]
33
+ - @explorer-1/common@2.0.0
34
+ - @explorer-1/html@1.0.0
35
+ - @explorer-1/vue@1.0.0
36
+ - @explorer-1/common-storybook@0.1.0
37
+
3
38
  ## 0.0.29
4
39
 
5
40
  ### Patch Changes