@bbl-digital/snorre 2.2.37 → 2.2.38

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/bundle.js CHANGED
@@ -25424,7 +25424,7 @@
25424
25424
  }), /*#__PURE__*/jsxRuntime.jsxs(FileWrapper, {
25425
25425
  children: [files.length > 0 && /*#__PURE__*/jsxRuntime.jsx(DocumentList, {
25426
25426
  children: files.map((item, index) => /*#__PURE__*/jsxRuntime.jsxs(DocumentWrapper, {
25427
- children: ["+", /*#__PURE__*/jsxRuntime.jsx(Document, {
25427
+ children: [/*#__PURE__*/jsxRuntime.jsx(Document, {
25428
25428
  theme: theme,
25429
25429
  title: item.name,
25430
25430
  children: /*#__PURE__*/jsxRuntime.jsx(Text, {
@@ -64,7 +64,7 @@ const FileInput = ({
64
64
  }), /*#__PURE__*/_jsxs(FileWrapper, {
65
65
  children: [files.length > 0 && /*#__PURE__*/_jsx(DocumentList, {
66
66
  children: files.map((item, index) => /*#__PURE__*/_jsxs(DocumentWrapper, {
67
- children: ["+", /*#__PURE__*/_jsx(Document, {
67
+ children: [/*#__PURE__*/_jsx(Document, {
68
68
  theme: theme,
69
69
  title: item.name,
70
70
  children: /*#__PURE__*/_jsx(Text, {
@@ -11,7 +11,7 @@ interface IProps {
11
11
  /** Custom button text */
12
12
  text?: string;
13
13
  /** Initial files */
14
- initialFiles?: any[];
14
+ initialFiles?: any;
15
15
  /** Event CB on change, returns object if not multiple is set */
16
16
  onChange: (files: any) => void;
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/FileInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAmB/C,UAAU,MAAM;IACd,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oBAAoB;IACpB,YAAY,CAAC,EAAE,GAAG,EAAE,CAAA;IACpB,iEAAiE;IACjE,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC/B;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAkG/B,CAAA;AAED,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/FileInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAmB/C,UAAU,MAAM;IACd,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oBAAoB;IACpB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,iEAAiE;IACjE,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC/B;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAiG/B,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -64,7 +64,7 @@ const FileInput = ({
64
64
  }), /*#__PURE__*/_jsxs(FileWrapper, {
65
65
  children: [files.length > 0 && /*#__PURE__*/_jsx(DocumentList, {
66
66
  children: files.map((item, index) => /*#__PURE__*/_jsxs(DocumentWrapper, {
67
- children: ["+", /*#__PURE__*/_jsx(Document, {
67
+ children: [/*#__PURE__*/_jsx(Document, {
68
68
  theme: theme,
69
69
  title: item.name,
70
70
  children: /*#__PURE__*/_jsx(Text, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "2.2.37",
3
+ "version": "2.2.38",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",