@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 +15 -15
- package/esm/core/QuillEditor/Attributors/IndentAttributor.js +2 -3
- package/esm/core/QuillEditor/Attributors/ListContainer.js +2 -3
- package/esm/core/QuillEditor/Attributors/ListItem.js +1 -1
- package/esm/core/QuillEditor/index.js +2 -2
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts +2 -2
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts.map +1 -1
- package/lib/core/QuillEditor/Attributors/IndentAttributor.js +2 -3
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts +1 -2
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts.map +1 -1
- package/lib/core/QuillEditor/Attributors/ListContainer.js +2 -3
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts +1 -1
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts.map +1 -1
- package/lib/core/QuillEditor/Attributors/ListItem.js +1 -1
- package/lib/core/QuillEditor/index.d.ts.map +1 -1
- package/lib/core/QuillEditor/index.js +2 -2
- package/package.json +1 -1
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
|
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,
|
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,
|
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 +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;
|
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;
|
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
|