@bbl-digital/snorre 4.0.82 → 4.0.83

Sign up to get free protection for your applications and to get access to all the features.
package/dist/bundle.js CHANGED
@@ -35498,21 +35498,6 @@ to {top: 100vh;}
35498
35498
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
35499
35499
  });
35500
35500
 
35501
- const Parchment$1 = Quill__default["default"].import('parchment');
35502
- class IndentAttributor extends Parchment$1.StyleAttributor {
35503
- constructor(...args) {
35504
- super(...args);
35505
- }
35506
- add(node, value) {
35507
- if (value === 0) {
35508
- this.remove(node);
35509
- return true;
35510
- } else {
35511
- return super.add(node, `${value}em`);
35512
- }
35513
- }
35514
- }
35515
-
35516
35501
  class MyListContainer extends ListItem$2.ListContainer {
35517
35502
  static tagName = ['OL', 'UL'];
35518
35503
  static defaultTag = 'OL';
@@ -35553,6 +35538,21 @@ to {top: 100vh;}
35553
35538
  }
35554
35539
  }
35555
35540
 
35541
+ const Parchment$1 = Quill__default["default"].import('parchment');
35542
+ class IndentAttributor extends Parchment$1.StyleAttributor {
35543
+ constructor(...args) {
35544
+ super(...args);
35545
+ }
35546
+ add(node, value) {
35547
+ if (value === 0) {
35548
+ this.remove(node);
35549
+ return true;
35550
+ } else {
35551
+ return super.add(node, `${value}em`);
35552
+ }
35553
+ }
35554
+ }
35555
+
35556
35556
  /** @jsxImportSource @emotion/react */
35557
35557
  const Parchment = Quill__default["default"].import('parchment');
35558
35558
  //Text direction
@@ -1,6 +1,6 @@
1
1
  import Quill from 'quill';
2
2
  const Parchment = Quill.import('parchment');
3
- class IndentAttributor extends Parchment.StyleAttributor {
3
+ export class IndentAttributor extends Parchment.StyleAttributor {
4
4
  constructor(...args) {
5
5
  super(...args);
6
6
  }
@@ -12,5 +12,4 @@ class IndentAttributor extends Parchment.StyleAttributor {
12
12
  return super.add(node, `${value}em`);
13
13
  }
14
14
  }
15
- }
16
- export default IndentAttributor;
15
+ }
@@ -1,5 +1,5 @@
1
1
  import { ListContainer } from 'quill/formats/list';
2
- class MyListContainer extends ListContainer {
2
+ export class MyListContainer extends ListContainer {
3
3
  static tagName = ['OL', 'UL'];
4
4
  static defaultTag = 'OL';
5
5
  static create(value) {
@@ -16,5 +16,4 @@ class MyListContainer extends ListContainer {
16
16
  // Only merge if the next list is the same type as this one
17
17
  return super.checkMerge() && this.domNode.tagName === this.next?.domNode.tagName;
18
18
  }
19
- }
20
- export default MyListContainer;
19
+ }
@@ -1,6 +1,6 @@
1
1
  import Quill from 'quill';
2
2
  import ListItem from 'quill/formats/list';
3
- import MyListContainer from './ListContainer';
3
+ import { MyListContainer } from './ListContainer';
4
4
  class MyListItem extends ListItem {
5
5
  static requiredContainer = MyListContainer;
6
6
  static register() {
@@ -7,9 +7,9 @@ import { ErrorWrapper, Label, styles } from './styles';
7
7
  import Text from '../Text';
8
8
  import IconErrorOutline from '../../icons/General/IconErrorOutline';
9
9
  import { useTheme } from '@emotion/react';
10
- import IndentAttributor from './Attributors/IndentAttributor';
11
- import MyListContainer from './Attributors/ListContainer';
12
10
  import MyListItem from './Attributors/ListItem';
11
+ import { MyListContainer } from './Attributors/ListContainer';
12
+ import { IndentAttributor } from './Attributors/IndentAttributor';
13
13
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
14
14
  const Parchment = Quill.import('parchment');
15
15
  //Text direction
@@ -1,7 +1,7 @@
1
1
  declare const Parchment: any;
2
- declare class IndentAttributor extends Parchment.StyleAttributor {
2
+ export declare class IndentAttributor extends Parchment.StyleAttributor {
3
3
  constructor(...args: any);
4
4
  add(node: any, value: any): any;
5
5
  }
6
- export default IndentAttributor;
6
+ export {};
7
7
  //# sourceMappingURL=IndentAttributor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IndentAttributor.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/IndentAttributor.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,EAAgC,GAAG,CAAA;AAClD,cAAM,gBAAiB,SAAQ,SAAS,CAAC,eAAe;gBAC1C,GAAG,IAAI,EAAE,GAAG;IAGxB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAQ1B;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"IndentAttributor.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/IndentAttributor.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,EAAgC,GAAG,CAAA;AAClD,qBAAa,gBAAiB,SAAQ,SAAS,CAAC,eAAe;gBACjD,GAAG,IAAI,EAAE,GAAG;IAGxB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAQ1B"}
@@ -1,6 +1,6 @@
1
1
  import Quill from 'quill';
2
2
  const Parchment = Quill.import('parchment');
3
- class IndentAttributor extends Parchment.StyleAttributor {
3
+ export class IndentAttributor extends Parchment.StyleAttributor {
4
4
  constructor(...args) {
5
5
  super(...args);
6
6
  }
@@ -12,5 +12,4 @@ class IndentAttributor extends Parchment.StyleAttributor {
12
12
  return super.add(node, `${value}em`);
13
13
  }
14
14
  }
15
- }
16
- export default IndentAttributor;
15
+ }
@@ -1,10 +1,9 @@
1
1
  import { ListContainer } from 'quill/formats/list';
2
- declare class MyListContainer extends ListContainer {
2
+ export declare class MyListContainer extends ListContainer {
3
3
  static tagName: string[];
4
4
  static defaultTag: string;
5
5
  static create(value: 'bullet' | 'ordered'): HTMLElement;
6
6
  static getTag(val: 'bullet' | 'ordered'): string;
7
7
  checkMerge(): boolean;
8
8
  }
9
- export default MyListContainer;
10
9
  //# sourceMappingURL=ListContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListContainer.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/ListContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,cAAM,eAAgB,SAAQ,aAAa;IACzC,MAAM,CAAC,OAAO,WAAe;IAC7B,MAAM,CAAC,UAAU,SAAO;IAExB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS;IAIzC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,QAAQ,GAAG,SAAS;IAQvC,UAAU;CAMX;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"ListContainer.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/ListContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,qBAAa,eAAgB,SAAQ,aAAa;IAChD,MAAM,CAAC,OAAO,WAAe;IAC7B,MAAM,CAAC,UAAU,SAAO;IAExB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS;IAIzC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,QAAQ,GAAG,SAAS;IAQvC,UAAU;CAMX"}
@@ -1,5 +1,5 @@
1
1
  import { ListContainer } from 'quill/formats/list';
2
- class MyListContainer extends ListContainer {
2
+ export class MyListContainer extends ListContainer {
3
3
  static tagName = ['OL', 'UL'];
4
4
  static defaultTag = 'OL';
5
5
  static create(value) {
@@ -16,5 +16,4 @@ class MyListContainer extends ListContainer {
16
16
  // Only merge if the next list is the same type as this one
17
17
  return super.checkMerge() && this.domNode.tagName === this.next?.domNode.tagName;
18
18
  }
19
- }
20
- export default MyListContainer;
19
+ }
@@ -1,5 +1,5 @@
1
1
  import ListItem from 'quill/formats/list';
2
- import MyListContainer from './ListContainer';
2
+ import { MyListContainer } from './ListContainer';
3
3
  declare class MyListItem extends ListItem {
4
4
  static requiredContainer: typeof MyListContainer;
5
5
  static register(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/ListItem.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,oBAAoB,CAAA;AACzC,OAAO,eAAe,MAAM,iBAAiB,CAAA;AAE7C,cAAM,UAAW,SAAQ,QAAQ;IAC/B,MAAM,CAAC,iBAAiB,yBAAkB;IAE1C,MAAM,CAAC,QAAQ;IAIf,QAAQ,CAAC,OAAO,EAAE,GAAG;IAcrB,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAU7B;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/ListItem.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,oBAAoB,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,cAAM,UAAW,SAAQ,QAAQ;IAC/B,MAAM,CAAC,iBAAiB,yBAAkB;IAE1C,MAAM,CAAC,QAAQ;IAIf,QAAQ,CAAC,OAAO,EAAE,GAAG;IAcrB,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAU7B;AAED,eAAe,UAAU,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import Quill from 'quill';
2
2
  import ListItem from 'quill/formats/list';
3
- import MyListContainer from './ListContainer';
3
+ import { MyListContainer } from './ListContainer';
4
4
  class MyListItem extends ListItem {
5
5
  static requiredContainer = MyListContainer;
6
6
  static register() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/QuillEditor/index.tsx"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAoC3C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmK3C,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/QuillEditor/index.tsx"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAqC3C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmK3C,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -7,9 +7,9 @@ import { ErrorWrapper, Label, styles } from './styles';
7
7
  import Text from '../Text';
8
8
  import IconErrorOutline from '../../icons/General/IconErrorOutline';
9
9
  import { useTheme } from '@emotion/react';
10
- import IndentAttributor from './Attributors/IndentAttributor';
11
- import MyListContainer from './Attributors/ListContainer';
12
10
  import MyListItem from './Attributors/ListItem';
11
+ import { MyListContainer } from './Attributors/ListContainer';
12
+ import { IndentAttributor } from './Attributors/IndentAttributor';
13
13
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
14
14
  const Parchment = Quill.import('parchment');
15
15
  //Text direction
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "4.0.82",
3
+ "version": "4.0.83",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",