@botpress/webchat 3.2.7 → 3.2.8

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.
@@ -35,7 +35,6 @@ const colorMap = {
35
35
  const preview: Preview = {
36
36
  initialGlobals: {
37
37
  themeMode: 'light',
38
- fontFamily: 'inter',
39
38
  radius: 'md',
40
39
  variant: 'solid',
41
40
  color: 'blue',
@@ -49,14 +48,6 @@ const preview: Preview = {
49
48
  items: ['light', 'dark'],
50
49
  },
51
50
  },
52
- fontFamily: {
53
- toolbar: {
54
- title: 'Font Family',
55
- dynamicTitle: true,
56
- icon: 'edit',
57
- items: ['rubik', 'inter', 'ibm', 'fira'],
58
- },
59
- },
60
51
  radius: {
61
52
  toolbar: {
62
53
  title: 'Radius',
@@ -92,16 +83,14 @@ const preview: Preview = {
92
83
  },
93
84
  decorators: [
94
85
  (Story, context) => {
95
- const { themeMode, variant, radius, fontFamily, color } = context.globals
86
+ const { themeMode, variant, radius, color } = context.globals
96
87
  return (
97
88
  // TODO: These css hacks should not be required
98
89
  <Container
99
90
  className="bpReset bpContainer"
100
91
  style={{ width: '400px', border: 'none', backgroundColor: 'transparent' }}
101
92
  >
102
- <StylesheetProvider
103
- {...{ themeMode, variant, fontFamily, radius: radiusMap[radius], color: colorMap[color] }}
104
- />
93
+ <StylesheetProvider {...{ themeMode, variant, radius: radiusMap[radius], color: colorMap[color] }} />
105
94
  <Story />
106
95
  </Container>
107
96
  )
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/webchat@3.2.7 build /home/runner/work/genisys/genisys/packages/webchat-components
2
+ > @botpress/webchat@3.2.8 build /home/runner/work/genisys/genisys/packages/webchat-components
3
3
  > vite build
4
4
 
5
5
  vite v5.4.8 building for production...
@@ -9,13 +9,13 @@ rendering chunks...
9
9
 
10
10
  [vite:dts] Start generate declaration files...
11
11
  computing gzip size...
12
- dist/style.css  47.46 kB │ gzip: 8.72 kB
13
- dist/index.js 783.77 kB │ gzip: 218.73 kB
12
+ dist/style.css  46.91 kB │ gzip: 8.48 kB
13
+ dist/index.js 782.76 kB │ gzip: 218.39 kB
14
14
  [vite:dts] Start rollup declaration files...
15
15
  Analysis will use the bundled TypeScript version 5.4.2
16
16
  *** The target project appears to use TypeScript 5.6.2 which is newer than the bundled compiler engine; consider upgrading API Extractor.
17
- [vite:dts] Declaration files built in 20312ms.
17
+ [vite:dts] Declaration files built in 19187ms.
18
18
 
19
- dist/style.css  47.46 kB │ gzip: 8.72 kB
20
- dist/index.umd.cjs 526.79 kB │ gzip: 179.57 kB
21
- ✓ built in 26.59s
19
+ dist/style.css  46.91 kB │ gzip: 8.48 kB
20
+ dist/index.umd.cjs 525.97 kB │ gzip: 179.27 kB
21
+ ✓ built in 25.42s
package/dist/index.d.ts CHANGED
@@ -601,7 +601,6 @@ export declare type StyleOptions = {
601
601
 
602
602
  /**
603
603
  * StylesheetProvider component that manages theme styles and font loading
604
- * Handles both default fonts and custom Google Fonts
605
604
  */
606
605
  export declare const StylesheetProvider: ({ color, fontFamily, radius, themeMode, variant, headerVariant, additionalStylesheetUrl, }: Props_7) => JSX_3.Element;
607
606