@bbl-digital/snorre 3.1.15 → 3.1.17

Sign up to get free protection for your applications and to get access to all the features.
package/dist/bundle.js CHANGED
@@ -33380,18 +33380,18 @@ to {top: 100vh;}
33380
33380
 
33381
33381
  const IconImage = props => /*#__PURE__*/jsxRuntime.jsxs("svg", {
33382
33382
  stroke: "currentColor",
33383
- "stroke-width": "0",
33383
+ strokeWidth: "0",
33384
33384
  viewBox: "0 0 24 24",
33385
33385
  fill: "none",
33386
33386
  ...props,
33387
33387
  children: [/*#__PURE__*/jsxRuntime.jsx("path", {
33388
- "fill-rule": "evenodd",
33389
- "clip-rule": "evenodd",
33388
+ fillRule: "evenodd",
33389
+ clipRule: "evenodd",
33390
33390
  d: "M7 7C5.34315 7 4 8.34315 4 10C4 11.6569 5.34315 13 7 13C8.65685 13 10 11.6569 10 10C10 8.34315 8.65685 7 7 7ZM6 10C6 9.44772 6.44772 9 7 9C7.55228 9 8 9.44772 8 10C8 10.5523 7.55228 11 7 11C6.44772 11 6 10.5523 6 10Z",
33391
33391
  fill: "currentColor"
33392
33392
  }), /*#__PURE__*/jsxRuntime.jsx("path", {
33393
- "fill-rule": "evenodd",
33394
- "clip-rule": "evenodd",
33393
+ fillRule: "evenodd",
33394
+ clipRule: "evenodd",
33395
33395
  d: "M3 3C1.34315 3 0 4.34315 0 6V18C0 19.6569 1.34315 21 3 21H21C22.6569 21 24 19.6569 24 18V6C24 4.34315 22.6569 3 21 3H3ZM21 5H3C2.44772 5 2 5.44772 2 6V18C2 18.5523 2.44772 19 3 19H7.31374L14.1924 12.1214C15.364 10.9498 17.2635 10.9498 18.435 12.1214L22 15.6863V6C22 5.44772 21.5523 5 21 5ZM21 19H10.1422L15.6066 13.5356C15.9971 13.145 16.6303 13.145 17.0208 13.5356L21.907 18.4217C21.7479 18.7633 21.4016 19 21 19Z",
33396
33396
  fill: "currentColor"
33397
33397
  })]
@@ -5,18 +5,18 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
5
5
 
6
6
  const IconImage = props => /*#__PURE__*/_jsxs("svg", {
7
7
  stroke: "currentColor",
8
- "stroke-width": "0",
8
+ strokeWidth: "0",
9
9
  viewBox: "0 0 24 24",
10
10
  fill: "none",
11
11
  ...props,
12
12
  children: [/*#__PURE__*/_jsx("path", {
13
- "fill-rule": "evenodd",
14
- "clip-rule": "evenodd",
13
+ fillRule: "evenodd",
14
+ clipRule: "evenodd",
15
15
  d: "M7 7C5.34315 7 4 8.34315 4 10C4 11.6569 5.34315 13 7 13C8.65685 13 10 11.6569 10 10C10 8.34315 8.65685 7 7 7ZM6 10C6 9.44772 6.44772 9 7 9C7.55228 9 8 9.44772 8 10C8 10.5523 7.55228 11 7 11C6.44772 11 6 10.5523 6 10Z",
16
16
  fill: "currentColor"
17
17
  }), /*#__PURE__*/_jsx("path", {
18
- "fill-rule": "evenodd",
19
- "clip-rule": "evenodd",
18
+ fillRule: "evenodd",
19
+ clipRule: "evenodd",
20
20
  d: "M3 3C1.34315 3 0 4.34315 0 6V18C0 19.6569 1.34315 21 3 21H21C22.6569 21 24 19.6569 24 18V6C24 4.34315 22.6569 3 21 3H3ZM21 5H3C2.44772 5 2 5.44772 2 6V18C2 18.5523 2.44772 19 3 19H7.31374L14.1924 12.1214C15.364 10.9498 17.2635 10.9498 18.435 12.1214L22 15.6863V6C22 5.44772 21.5523 5 21 5ZM21 19H10.1422L15.6066 13.5356C15.9971 13.145 16.6303 13.145 17.0208 13.5356L21.907 18.4217C21.7479 18.7633 21.4016 19 21 19Z",
21
21
  fill: "currentColor"
22
22
  })]
@@ -14,7 +14,7 @@ interface IProps extends React.ImgHTMLAttributes<HTMLImageElement> {
14
14
  /** Max out width with automatic height in regards to the image size */
15
15
  responsive?: boolean;
16
16
  /** Set object-fit css property */
17
- objectFit?: string;
17
+ objectFit?: 'fill' | 'contain' | 'cover' | 'non' | 'scale-down' | 'initial' | 'inherit';
18
18
  /** CSS override */
19
19
  css?: SerializedStyles;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Image/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,MAAO,SAAQ,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IAChE,GAAG,EAAE,MAAM,CAAA;IACX,iEAAiE;IACjE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+EAA+E;IAC/E,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mBAAmB;IACnB,GAAG,CAAC,EAAE,gBAAgB,CAAA;CACvB;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA2B3B,CAAA;AAED,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Image/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,MAAO,SAAQ,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IAChE,GAAG,EAAE,MAAM,CAAA;IACX,iEAAiE;IACjE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+EAA+E;IAC/E,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kCAAkC;IAClC,SAAS,CAAC,EACN,MAAM,GACN,SAAS,GACT,OAAO,GACP,KAAK,GACL,YAAY,GACZ,SAAS,GACT,SAAS,CAAA;IACb,mBAAmB;IACnB,GAAG,CAAC,EAAE,gBAAgB,CAAA;CACvB;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA2B3B,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -5,18 +5,18 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
5
5
 
6
6
  const IconImage = props => /*#__PURE__*/_jsxs("svg", {
7
7
  stroke: "currentColor",
8
- "stroke-width": "0",
8
+ strokeWidth: "0",
9
9
  viewBox: "0 0 24 24",
10
10
  fill: "none",
11
11
  ...props,
12
12
  children: [/*#__PURE__*/_jsx("path", {
13
- "fill-rule": "evenodd",
14
- "clip-rule": "evenodd",
13
+ fillRule: "evenodd",
14
+ clipRule: "evenodd",
15
15
  d: "M7 7C5.34315 7 4 8.34315 4 10C4 11.6569 5.34315 13 7 13C8.65685 13 10 11.6569 10 10C10 8.34315 8.65685 7 7 7ZM6 10C6 9.44772 6.44772 9 7 9C7.55228 9 8 9.44772 8 10C8 10.5523 7.55228 11 7 11C6.44772 11 6 10.5523 6 10Z",
16
16
  fill: "currentColor"
17
17
  }), /*#__PURE__*/_jsx("path", {
18
- "fill-rule": "evenodd",
19
- "clip-rule": "evenodd",
18
+ fillRule: "evenodd",
19
+ clipRule: "evenodd",
20
20
  d: "M3 3C1.34315 3 0 4.34315 0 6V18C0 19.6569 1.34315 21 3 21H21C22.6569 21 24 19.6569 24 18V6C24 4.34315 22.6569 3 21 3H3ZM21 5H3C2.44772 5 2 5.44772 2 6V18C2 18.5523 2.44772 19 3 19H7.31374L14.1924 12.1214C15.364 10.9498 17.2635 10.9498 18.435 12.1214L22 15.6863V6C22 5.44772 21.5523 5 21 5ZM21 19H10.1422L15.6066 13.5356C15.9971 13.145 16.6303 13.145 17.0208 13.5356L21.907 18.4217C21.7479 18.7633 21.4016 19 21 19Z",
21
21
  fill: "currentColor"
22
22
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "3.1.15",
3
+ "version": "3.1.17",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",