@bunnyapp/components 1.0.66-beta.4 → 1.0.66-beta.5

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.
package/dist/cjs/index.js CHANGED
@@ -174,7 +174,7 @@ var BrandContext = react.createContext({
174
174
  });
175
175
 
176
176
  // This will be replaced at build time by rollup-plugin-replace
177
- var PACKAGE_VERSION = '1.0.66-beta.4';
177
+ var PACKAGE_VERSION = '1.0.66-beta.5';
178
178
  var createRequestHeaders = function (token) {
179
179
  var headers = common.createClientDevHeaders(token);
180
180
  // Add the components version header
@@ -456,7 +456,13 @@ var DocumentTemplatePreview = function (_a) {
456
456
  if (!pdfUrl) {
457
457
  return jsxRuntime.jsx(jsxRuntime.Fragment, {});
458
458
  }
459
- return (jsxRuntime.jsx("div", __assign({ className: "bunny-rounded bunny-w-full bunny-overflow-hidden bunny-grow bunny-min-h-0" }, { children: jsxRuntime.jsx(react$1.RPConfig, __assign({ licenseKey: LISENSE_KEY }, { children: jsxRuntime.jsx(react$1.RPProvider, __assign({ src: pdfUrl }, { children: jsxRuntime.jsx(react$1.RPDefaultLayout, __assign({ style: { height: '100%', width: '100%' } }, { children: jsxRuntime.jsx(react$1.RPPages, {}) })) })) })) })));
459
+ return (jsxRuntime.jsx("div", __assign({ className: "bunny-rounded bunny-w-full bunny-overflow-hidden bunny-grow bunny-min-h-0" }, { children: jsxRuntime.jsx(react$1.RPConfig, __assign({ licenseKey: LISENSE_KEY }, { children: jsxRuntime.jsx(react$1.RPProvider, __assign({ src: pdfUrl }, { children: jsxRuntime.jsx(react$1.RPDefaultLayout, __assign({ style: {
460
+ width: '100%',
461
+ height: '100%',
462
+ }, slots: {
463
+ openFileTool: false,
464
+ downloadTool: false,
465
+ } }, { children: jsxRuntime.jsx(react$1.RPPages, {}) })) })) })) })));
460
466
  };
461
467
 
462
468
  var MarkupContainer = defaultStyled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n span {\n width: 100%;\n }\n"], ["\n span {\n width: 100%;\n }\n"])));
package/dist/esm/index.js CHANGED
@@ -144,7 +144,7 @@ var BrandContext = createContext({
144
144
  });
145
145
 
146
146
  // This will be replaced at build time by rollup-plugin-replace
147
- var PACKAGE_VERSION = '1.0.66-beta.4';
147
+ var PACKAGE_VERSION = '1.0.66-beta.5';
148
148
  var createRequestHeaders = function (token) {
149
149
  var headers = createClientDevHeaders(token);
150
150
  // Add the components version header
@@ -426,7 +426,13 @@ var DocumentTemplatePreview = function (_a) {
426
426
  if (!pdfUrl) {
427
427
  return jsx(Fragment, {});
428
428
  }
429
- return (jsx("div", __assign({ className: "bunny-rounded bunny-w-full bunny-overflow-hidden bunny-grow bunny-min-h-0" }, { children: jsx(RPConfig, __assign({ licenseKey: LISENSE_KEY }, { children: jsx(RPProvider, __assign({ src: pdfUrl }, { children: jsx(RPDefaultLayout, __assign({ style: { height: '100%', width: '100%' } }, { children: jsx(RPPages, {}) })) })) })) })));
429
+ return (jsx("div", __assign({ className: "bunny-rounded bunny-w-full bunny-overflow-hidden bunny-grow bunny-min-h-0" }, { children: jsx(RPConfig, __assign({ licenseKey: LISENSE_KEY }, { children: jsx(RPProvider, __assign({ src: pdfUrl }, { children: jsx(RPDefaultLayout, __assign({ style: {
430
+ width: '100%',
431
+ height: '100%',
432
+ }, slots: {
433
+ openFileTool: false,
434
+ downloadTool: false,
435
+ } }, { children: jsx(RPPages, {}) })) })) })) })));
430
436
  };
431
437
 
432
438
  var MarkupContainer = defaultStyled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n span {\n width: 100%;\n }\n"], ["\n span {\n width: 100%;\n }\n"])));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunnyapp/components",
3
- "version": "1.0.66-beta.4",
3
+ "version": "1.0.66-beta.5",
4
4
  "description": "Components from the Bunny portal to embed Bunny UI functionality into your application.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",