Skip to content

Commit b7efb95

Browse files
committed
[add] Updated & Mounted callbacks
[add] Defer utility class [fix] API Document links [optimize] update Upstream packages
1 parent 9d00830 commit b7efb95

File tree

10 files changed

+179
-141
lines changed

10 files changed

+179
-141
lines changed

.npmignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.parcelrc
1+
*.sh
2+
.parcel*
23
.eslintrc.json
34
jest.config.ts
45
test/
56
preview/
6-
.parcel-cache/
77
Contributing.md
88
docs/
99
.husky/

ReadMe-zh.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -503,16 +503,17 @@ import 'web-cell/polyfill';
503503
3. [`attributeChangedCallback`][32]
504504
4. [`adoptedCallback`][33]
505505
5. [`updatedCallback`][34]
506-
6. [`formAssociatedCallback`][35]
507-
7. [`formDisabledCallback`][36]
508-
8. [`formResetCallback`][37]
509-
9. [`formStateRestoreCallback`][38]
506+
6. [`mountedCallback`][35]
507+
7. [`formAssociatedCallback`][36]
508+
8. [`formDisabledCallback`][37]
509+
9. [`formResetCallback`][38]
510+
10. [`formStateRestoreCallback`][39]
510511

511512
## 脚手架
512513

513-
1. [基础][39]
514-
2. [仪表盘][40]
515-
3. [静态网站][41]
514+
1. [基础][40]
515+
2. [仪表盘][41]
516+
3. [静态网站][42]
516517

517518
## 生态系统
518519

@@ -571,18 +572,19 @@ import 'web-cell/polyfill';
571572
[27]: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
572573
[28]: http://es6-features.org/
573574
[29]: https://www.typescriptlang.org/
574-
[30]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#connectedCallback
575-
[31]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#disconnectedCallback
576-
[32]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#attributeChangedCallback
577-
[33]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#adoptedCallback
578-
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.WebCellComponent.html#updatedCallback
579-
[35]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formAssociatedCallback
580-
[36]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formDisabledCallback
581-
[37]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formResetCallback
582-
[38]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formStateRestoreCallback
583-
[39]: https://github.com/EasyWebApp/scaffold
584-
[40]: https://github.com/EasyWebApp/DashBoard
585-
[41]: https://github.com/EasyWebApp/mark-wiki
575+
[30]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#connectedCallback
576+
[31]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#disconnectedCallback
577+
[32]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#attributeChangedCallback
578+
[33]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#adoptedCallback
579+
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.html#updatedCallback
580+
[35]: https://web-cell.dev/WebCell/interfaces/WebCell.html#mountedCallback
581+
[36]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formAssociatedCallback
582+
[37]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formDisabledCallback
583+
[38]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formResetCallback
584+
[39]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formStateRestoreCallback
585+
[40]: https://github.com/EasyWebApp/scaffold
586+
[41]: https://github.com/EasyWebApp/DashBoard
587+
[42]: https://github.com/EasyWebApp/mark-wiki
586588
[43]: https://web-cell.dev/cell-router/
587589
[44]: https://bootstrap.web-cell.dev/
588590
[45]: https://material.web-cell.dev/

ReadMe.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -506,16 +506,17 @@ import 'web-cell/polyfill';
506506
3. [`attributeChangedCallback`][32]
507507
4. [`adoptedCallback`][33]
508508
5. [`updatedCallback`][34]
509-
6. [`formAssociatedCallback`][35]
510-
7. [`formDisabledCallback`][36]
511-
8. [`formResetCallback`][37]
512-
9. [`formStateRestoreCallback`][38]
509+
6. [`mountedCallback`][35]
510+
7. [`formAssociatedCallback`][36]
511+
8. [`formDisabledCallback`][37]
512+
9. [`formResetCallback`][38]
513+
10. [`formStateRestoreCallback`][39]
513514

514515
## Scaffolds
515516

516-
1. [Basic][39]
517-
2. [DashBoard][40]
518-
3. [Static site][41]
517+
1. [Basic][40]
518+
2. [DashBoard][41]
519+
3. [Static site][42]
519520

520521
## Ecosystem
521522

@@ -574,18 +575,19 @@ We recommend these libraries to use with WebCell:
574575
[27]: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
575576
[28]: http://es6-features.org/
576577
[29]: https://www.typescriptlang.org/
577-
[30]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#connectedCallback
578-
[31]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#disconnectedCallback
579-
[32]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#attributeChangedCallback
580-
[33]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#adoptedCallback
581-
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.WebCellComponent.html#updatedCallback
582-
[35]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formAssociatedCallback
583-
[36]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formDisabledCallback
584-
[37]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formResetCallback
585-
[38]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formStateRestoreCallback
586-
[39]: https://github.com/EasyWebApp/scaffold
587-
[40]: https://github.com/EasyWebApp/DashBoard
588-
[41]: https://github.com/EasyWebApp/mark-wiki
578+
[30]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#connectedCallback
579+
[31]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#disconnectedCallback
580+
[32]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#attributeChangedCallback
581+
[33]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#adoptedCallback
582+
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.html#updatedCallback
583+
[35]: https://web-cell.dev/WebCell/interfaces/WebCell.html#mountedCallback
584+
[36]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formAssociatedCallback
585+
[37]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formDisabledCallback
586+
[38]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formResetCallback
587+
[39]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formStateRestoreCallback
588+
[40]: https://github.com/EasyWebApp/scaffold
589+
[41]: https://github.com/EasyWebApp/DashBoard
590+
[42]: https://github.com/EasyWebApp/mark-wiki
589591
[43]: https://web-cell.dev/cell-router/
590592
[44]: https://bootstrap.web-cell.dev/
591593
[45]: https://material.web-cell.dev/

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-cell",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"description": "Web Components engine based on VDOM, JSX, MobX & TypeScript",
55
"keywords": [
66
"web",
@@ -26,8 +26,8 @@
2626
"source": "source/index.ts",
2727
"types": "dist/index.d.ts",
2828
"dependencies": {
29-
"@swc/helpers": "^0.5.3",
30-
"dom-renderer": "^2.0.6",
29+
"@swc/helpers": "^0.5.6",
30+
"dom-renderer": "^2.1.1",
3131
"mobx": ">=6.11",
3232
"regenerator-runtime": "^0.14.1",
3333
"web-utility": "^4.1.3"
@@ -44,28 +44,28 @@
4444
"@parcel/packager-ts": "~2.11.0",
4545
"@parcel/transformer-typescript-tsc": "~2.11.0",
4646
"@parcel/transformer-typescript-types": "~2.11.0",
47-
"@types/jest": "^29.5.11",
48-
"@typescript-eslint/eslint-plugin": "^6.20.0",
49-
"@typescript-eslint/parser": "^6.20.0",
47+
"@types/jest": "^29.5.12",
48+
"@typescript-eslint/eslint-plugin": "^6.21.0",
49+
"@typescript-eslint/parser": "^6.21.0",
5050
"core-js": "^3.35.1",
5151
"element-internals-polyfill": "^1.3.10",
5252
"eslint": "^8.56.0",
5353
"eslint-config-prettier": "^9.1.0",
54-
"husky": "^9.0.7",
54+
"husky": "^9.0.10",
5555
"jest": "^29.7.0",
5656
"jest-environment-jsdom": "^29.7.0",
5757
"jsdom": "^24.0.0",
58-
"lint-staged": "^15.2.1",
58+
"lint-staged": "^15.2.2",
5959
"open-cli": "^8.0.0",
6060
"parcel": "~2.11.0",
61-
"prettier": "^3.2.4",
61+
"prettier": "^3.2.5",
6262
"prettier-plugin-sh": "^0.14.0",
6363
"replace": "^1.2.2",
6464
"rimraf": "^5.0.5",
6565
"ts-jest": "^29.1.2",
6666
"ts-node": "^10.9.2",
6767
"typedoc": "^0.25.7",
68-
"typedoc-plugin-mdn-links": "^3.1.14",
68+
"typedoc-plugin-mdn-links": "^3.1.15",
6969
"typescript": "~5.3.3"
7070
},
7171
"scripts": {
@@ -75,7 +75,7 @@
7575
"preview": "npm run clean && cd preview/ && parcel --dist-dir=../docs/preview/ --open",
7676
"pack-preview": "rimraf .parcel-cache/ docs/preview/ && cd preview/ && parcel build --public-url=. --dist-dir=../docs/preview/",
7777
"pack-dist": "parcel build source/index.ts",
78-
"pack-docs": "./pack-docs.sh",
78+
"pack-docs": "sh ./pack-docs.sh",
7979
"build": "npm run clean && npm run pack-dist && npm run pack-docs && npm run pack-preview",
8080
"start": "npm run pack-docs && open-cli docs/index.html",
8181
"prepublishOnly": "npm test && npm run build"

0 commit comments

Comments
 (0)