@marp-team/marp-core 3.8.0 → 3.9.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marp-team/marp-core",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "description": "The core of Marp tools",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -65,32 +65,32 @@
65
65
  "exec": "npx @marp-team/marp-cli@latest -y"
66
66
  },
67
67
  "devDependencies": {
68
- "@rollup/plugin-alias": "^5.0.0",
69
- "@rollup/plugin-commonjs": "^25.0.3",
70
- "@rollup/plugin-json": "^6.0.0",
71
- "@rollup/plugin-node-resolve": "^15.1.0",
72
- "@rollup/plugin-replace": "^5.0.2",
73
- "@rollup/plugin-terser": "^0.4.3",
74
- "@rollup/plugin-typescript": "^11.1.2",
68
+ "@rollup/plugin-alias": "^5.0.1",
69
+ "@rollup/plugin-commonjs": "^25.0.5",
70
+ "@rollup/plugin-json": "^6.0.1",
71
+ "@rollup/plugin-node-resolve": "^15.2.3",
72
+ "@rollup/plugin-replace": "^5.0.3",
73
+ "@rollup/plugin-terser": "^0.4.4",
74
+ "@rollup/plugin-typescript": "^11.1.5",
75
75
  "@tsconfig/node12": "^12.1.0",
76
76
  "@twemoji/api": "^14.1.2",
77
- "@types/jest": "^29.5.3",
78
- "@typescript-eslint/eslint-plugin": "^6.2.1",
79
- "@typescript-eslint/parser": "^6.2.1",
80
- "autoprefixer": "^10.4.14",
77
+ "@types/jest": "^29.5.5",
78
+ "@typescript-eslint/eslint-plugin": "^6.7.5",
79
+ "@typescript-eslint/parser": "^6.7.5",
80
+ "autoprefixer": "^10.4.16",
81
81
  "cheerio": "^1.0.0-rc.12",
82
82
  "cssnano": "^6.0.1",
83
83
  "emoji-regex": "^10.2.1",
84
- "eslint": "^8.46.0",
85
- "eslint-config-prettier": "^8.9.0",
86
- "eslint-plugin-import": "^2.28.0",
87
- "eslint-plugin-jest": "^27.2.3",
88
- "github-markdown-css": "^5.2.0",
89
- "jest": "^29.6.2",
90
- "jest-environment-jsdom": "^29.6.2",
84
+ "eslint": "^8.51.0",
85
+ "eslint-config-prettier": "^9.0.0",
86
+ "eslint-plugin-import": "^2.28.1",
87
+ "eslint-plugin-jest": "^27.4.2",
88
+ "github-markdown-css": "^5.3.0",
89
+ "jest": "^29.7.0",
90
+ "jest-environment-jsdom": "^29.7.0",
91
91
  "jest-junit": "^16.0.0",
92
92
  "jest-plugin-context": "^2.9.0",
93
- "markdown-it": "^13.0.1",
93
+ "markdown-it": "^13.0.2",
94
94
  "markdown-it-emoji": "^2.0.2",
95
95
  "mkdirp": "^3.0.1",
96
96
  "nodemon": "^3.0.1",
@@ -99,34 +99,31 @@
99
99
  "postcss-minify-selectors": "^6.0.0",
100
100
  "postcss-normalize-whitespace": "^6.0.0",
101
101
  "postcss-url": "^10.1.3",
102
- "prettier": "^3.0.0",
103
- "rimraf": "^5.0.1",
104
- "rollup": "^3.27.0",
102
+ "prettier": "^3.0.3",
103
+ "rimraf": "^5.0.5",
104
+ "rollup": "^4.1.1",
105
105
  "rollup-plugin-postcss": "^4.0.2",
106
106
  "rollup-plugin-string": "^3.0.0",
107
- "sass": "^1.64.2",
108
- "sass-extended-importer": "^0.4.2",
107
+ "sass": "^1.69.3",
108
+ "sass-extended-importer": "^1.0.1",
109
109
  "self-closing-tags": "^1.0.1",
110
- "stylelint": "^15.10.2",
110
+ "stylelint": "^15.10.3",
111
111
  "stylelint-config-prettier": "^9.0.5",
112
- "stylelint-config-standard-scss": "^10.0.0",
112
+ "stylelint-config-standard-scss": "^11.0.0",
113
113
  "ts-jest": "29.1.1",
114
- "tslib": "^2.6.1",
115
- "typescript": "^5.1.6"
114
+ "tslib": "^2.6.2",
115
+ "typescript": "^5.2.2"
116
116
  },
117
117
  "dependencies": {
118
- "@marp-team/marpit": "^2.5.0",
118
+ "@marp-team/marpit": "^2.6.1",
119
119
  "@marp-team/marpit-svg-polyfill": "^2.1.0",
120
- "highlight.js": "^11.8.0",
121
- "katex": "^0.16.8",
120
+ "highlight.js": "11.8.0",
121
+ "katex": "^0.16.9",
122
122
  "mathjax-full": "^3.2.2",
123
- "postcss": "^8.4.27",
123
+ "postcss": "^8.4.31",
124
124
  "postcss-selector-parser": "^6.0.13",
125
125
  "xss": "^1.0.14"
126
126
  },
127
- "resolutions": {
128
- "sass-extended-importer/**/minimatch": "^3.1.2"
129
- },
130
127
  "publishConfig": {
131
128
  "access": "public"
132
129
  }
@@ -23,11 +23,15 @@ export declare const createMarpCustomElement: <T extends Constructor<HTMLElement
23
23
  readonly offsetTop: number;
24
24
  readonly offsetWidth: number;
25
25
  outerText: string;
26
+ popover: string | null;
26
27
  spellcheck: boolean;
27
28
  title: string;
28
29
  translate: boolean;
29
30
  attachInternals(): ElementInternals;
30
31
  click(): void;
32
+ hidePopover(): void;
33
+ showPopover(): void;
34
+ togglePopover(force?: boolean | undefined): void;
31
35
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
32
36
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
33
37
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
@@ -291,6 +295,7 @@ export declare const createMarpCustomElement: <T extends Constructor<HTMLElement
291
295
  onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
296
  onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
293
297
  onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
299
  onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
295
300
  onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
301
  onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;