@pixui-dev/pxw 0.1.25 → 0.1.26

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/config/h5es.js CHANGED
@@ -8,7 +8,7 @@ module.exports.h5esVersions = [
8
8
  path: 'node_modules/@pixui-dev/pxw/lib/h5es-types/v3.5.0',
9
9
  },
10
10
  {
11
- name: 'v3.5.5',
12
- path: 'node_modules/@pixui-dev/pxw/lib/h5es-types/v3.5.5',
11
+ name: 'v3.5.6',
12
+ path: 'node_modules/@pixui-dev/pxw/lib/h5es-types/v3.5.6',
13
13
  },
14
14
  ];
@@ -317,5 +317,53 @@ export namespace JSXInternal {
317
317
  video: HTMLAttributes<HTMLVideoElement>;
318
318
  pixslot: HTMLAttributes<HTMLSlotElement>;
319
319
  cef: HTMLAttributes<HTMLCefElement>;
320
+ /**
321
+ * 默认样式的 div 标签(语义化为 h1 标题)
322
+ * - 字体大小: `2em` (约 32px)
323
+ * - 上下边距: `0.67em`
324
+ * - 字体粗细: `bold`
325
+ * - 语义化标题层级: 页面主标题
326
+ */
327
+ h1: HTMLAttributes<HTMLDivElement>;
328
+ /**
329
+ * 默认样式的 div 标签(语义化为 h2 标题)
330
+ * - 字体大小: `1.5em` (约 24px)
331
+ * - 上下边距: `0.83em`
332
+ * - 字体粗细: `bold`
333
+ * - 语义化标题层级: 主要章节标题
334
+ */
335
+ h2: HTMLAttributes<HTMLDivElement>;
336
+ /**
337
+ * 默认样式的 div 标签(语义化为 h3 标题)
338
+ * - 字体大小: `1.17em` (约 18.72px)
339
+ * - 上下边距: `1em`
340
+ * - 字体粗细: `bold`
341
+ * - 语义化标题层级: 子章节标题
342
+ */
343
+ h3: HTMLAttributes<HTMLDivElement>;
344
+ /**
345
+ * 默认样式的 div 标签(语义化为 h4 标题)
346
+ * - 字体大小: `1em` (约 16px)
347
+ * - 上下边距: `1.33em`
348
+ * - 字体粗细: `bold`
349
+ * - 语义化标题层级: 深层子标题
350
+ */
351
+ h4: HTMLAttributes<HTMLDivElement>;
352
+ /**
353
+ * 默认样式的 div 标签(语义化为 h5 标题)
354
+ * - 字体大小: `0.83em` (约 13.28px)
355
+ * - 上下边距: `1.67em`
356
+ * - 字体粗细: `bold`
357
+ * - 语义化标题层级: 辅助性小标题
358
+ */
359
+ h5: HTMLAttributes<HTMLDivElement>;
360
+ /**
361
+ * 默认样式的 div 标签(语义化为 h6 标题)
362
+ * - 字体大小: `0.67em` (约 10.72px)
363
+ * - 上下边距: `2.33em`
364
+ * - 字体粗细: `bold`
365
+ * - 语义化标题层级: 最低级标题
366
+ */
367
+ h6: HTMLAttributes<HTMLDivElement>;
320
368
  }
321
369
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixui-dev/pxw",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "directories": {
6
6
  "lib": "lib"
@@ -30,6 +30,11 @@
30
30
  "lint": "yarn prettier-eslint --write bin/*.js config/*.js scripts/*.js",
31
31
  "postinstall": "node scripts/postinstall.js"
32
32
  },
33
+ "peerDependencies": {
34
+ "typescript": "^5.8.3",
35
+ "webpack": "^5.52.0",
36
+ "webpack-cli": "^5.1.4"
37
+ },
33
38
  "dependencies": {
34
39
  "@babel/core": "^7.20.2",
35
40
  "@babel/plugin-proposal-decorators": "^7.8.3",
File without changes