Skip to content

Commit

Permalink
[add] Updated & Mounted callbacks
Browse files Browse the repository at this point in the history
[add] Defer utility class
[fix] API Document links
[optimize] update Upstream packages
  • Loading branch information
TechQuery committed Feb 7, 2024
1 parent 9d00830 commit d9534f6
Show file tree
Hide file tree
Showing 10 changed files with 179 additions and 141 deletions.
4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.parcelrc
*.sh
.parcel*
.eslintrc.json
jest.config.ts
test/
preview/
.parcel-cache/
Contributing.md
docs/
.husky/
Expand Down
40 changes: 21 additions & 19 deletions ReadMe-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,16 +503,17 @@ import 'web-cell/polyfill';
3. [`attributeChangedCallback`][32]
4. [`adoptedCallback`][33]
5. [`updatedCallback`][34]
6. [`formAssociatedCallback`][35]
7. [`formDisabledCallback`][36]
8. [`formResetCallback`][37]
9. [`formStateRestoreCallback`][38]
6. [`mountedCallback`][35]
7. [`formAssociatedCallback`][36]
8. [`formDisabledCallback`][37]
9. [`formResetCallback`][38]
10. [`formStateRestoreCallback`][39]

## 脚手架

1. [基础][39]
2. [仪表盘][40]
3. [静态网站][41]
1. [基础][40]
2. [仪表盘][41]
3. [静态网站][42]

## 生态系统

Expand Down Expand Up @@ -571,18 +572,19 @@ import 'web-cell/polyfill';
[27]: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
[28]: http://es6-features.org/
[29]: https://www.typescriptlang.org/
[30]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#connectedCallback
[31]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#disconnectedCallback
[32]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#attributeChangedCallback
[33]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#adoptedCallback
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.WebCellComponent.html#updatedCallback
[35]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formAssociatedCallback
[36]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formDisabledCallback
[37]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formResetCallback
[38]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formStateRestoreCallback
[39]: https://github.com/EasyWebApp/scaffold
[40]: https://github.com/EasyWebApp/DashBoard
[41]: https://github.com/EasyWebApp/mark-wiki
[30]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#connectedCallback
[31]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#disconnectedCallback
[32]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#attributeChangedCallback
[33]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#adoptedCallback
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.html#updatedCallback
[35]: https://web-cell.dev/WebCell/interfaces/WebCell.html#mountedCallback
[36]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formAssociatedCallback
[37]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formDisabledCallback
[38]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formResetCallback
[39]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formStateRestoreCallback
[40]: https://github.com/EasyWebApp/scaffold
[41]: https://github.com/EasyWebApp/DashBoard
[42]: https://github.com/EasyWebApp/mark-wiki
[43]: https://web-cell.dev/cell-router/
[44]: https://bootstrap.web-cell.dev/
[45]: https://material.web-cell.dev/
Expand Down
40 changes: 21 additions & 19 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,16 +506,17 @@ import 'web-cell/polyfill';
3. [`attributeChangedCallback`][32]
4. [`adoptedCallback`][33]
5. [`updatedCallback`][34]
6. [`formAssociatedCallback`][35]
7. [`formDisabledCallback`][36]
8. [`formResetCallback`][37]
9. [`formStateRestoreCallback`][38]
6. [`mountedCallback`][35]
7. [`formAssociatedCallback`][36]
8. [`formDisabledCallback`][37]
9. [`formResetCallback`][38]
10. [`formStateRestoreCallback`][39]

## Scaffolds

1. [Basic][39]
2. [DashBoard][40]
3. [Static site][41]
1. [Basic][40]
2. [DashBoard][41]
3. [Static site][42]

## Ecosystem

Expand Down Expand Up @@ -574,18 +575,19 @@ We recommend these libraries to use with WebCell:
[27]: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
[28]: http://es6-features.org/
[29]: https://www.typescriptlang.org/
[30]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#connectedCallback
[31]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#disconnectedCallback
[32]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#attributeChangedCallback
[33]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomElement.html#adoptedCallback
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.WebCellComponent.html#updatedCallback
[35]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formAssociatedCallback
[36]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formDisabledCallback
[37]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formResetCallback
[38]: https://web-cell.dev/web-utility/interfaces/DOM_type.CustomFormElement.html#formStateRestoreCallback
[39]: https://github.com/EasyWebApp/scaffold
[40]: https://github.com/EasyWebApp/DashBoard
[41]: https://github.com/EasyWebApp/mark-wiki
[30]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#connectedCallback
[31]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#disconnectedCallback
[32]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#attributeChangedCallback
[33]: https://web-cell.dev/web-utility/interfaces/CustomElement.html#adoptedCallback
[34]: https://web-cell.dev/WebCell/interfaces/WebCell.html#updatedCallback
[35]: https://web-cell.dev/WebCell/interfaces/WebCell.html#mountedCallback
[36]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formAssociatedCallback
[37]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formDisabledCallback
[38]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formResetCallback
[39]: https://web-cell.dev/web-utility/interfaces/CustomFormElement.html#formStateRestoreCallback
[40]: https://github.com/EasyWebApp/scaffold
[41]: https://github.com/EasyWebApp/DashBoard
[42]: https://github.com/EasyWebApp/mark-wiki
[43]: https://web-cell.dev/cell-router/
[44]: https://bootstrap.web-cell.dev/
[45]: https://material.web-cell.dev/
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-cell",
"version": "3.0.0-rc.9",
"version": "3.0.0-rc.10",
"description": "Web Components engine based on VDOM, JSX, MobX & TypeScript",
"keywords": [
"web",
Expand All @@ -26,8 +26,8 @@
"source": "source/index.ts",
"types": "dist/index.d.ts",
"dependencies": {
"@swc/helpers": "^0.5.3",
"dom-renderer": "^2.0.6",
"@swc/helpers": "^0.5.6",
"dom-renderer": "^2.1.1",
"mobx": ">=6.11",
"regenerator-runtime": "^0.14.1",
"web-utility": "^4.1.3"
Expand All @@ -44,28 +44,28 @@
"@parcel/packager-ts": "~2.11.0",
"@parcel/transformer-typescript-tsc": "~2.11.0",
"@parcel/transformer-typescript-types": "~2.11.0",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"core-js": "^3.35.1",
"element-internals-polyfill": "^1.3.10",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.7",
"husky": "^9.0.10",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.1",
"lint-staged": "^15.2.2",
"open-cli": "^8.0.0",
"parcel": "~2.11.0",
"prettier": "^3.2.4",
"prettier": "^3.2.5",
"prettier-plugin-sh": "^0.14.0",
"replace": "^1.2.2",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typedoc": "^0.25.7",
"typedoc-plugin-mdn-links": "^3.1.14",
"typedoc-plugin-mdn-links": "^3.1.15",
"typescript": "~5.3.3"
},
"scripts": {
Expand All @@ -75,7 +75,7 @@
"preview": "npm run clean && cd preview/ && parcel --dist-dir=../docs/preview/ --open",
"pack-preview": "rimraf .parcel-cache/ docs/preview/ && cd preview/ && parcel build --public-url=. --dist-dir=../docs/preview/",
"pack-dist": "parcel build source/index.ts",
"pack-docs": "./pack-docs.sh",
"pack-docs": "sh ./pack-docs.sh",
"build": "npm run clean && npm run pack-dist && npm run pack-docs && npm run pack-preview",
"start": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
Expand Down
Loading

1 comment on commit d9534f6

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for web-cell ready!

✅ Preview
https://web-cell-q98dmopnu-techquery.vercel.app

Built with commit d9534f6.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.