Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types(defineComponent): Stricter Component Type + helpers #9556

Open
wants to merge 83 commits into
base: minor
Choose a base branch
from

Commits on Nov 6, 2023

  1. WIP: component helper types

    pikax committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    b256412 View commit details
    Browse the repository at this point in the history
  2. fix one issue

    pikax committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    e1ef6a8 View commit details
    Browse the repository at this point in the history
  3. working kinda

    pikax committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    fbd083b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8934665 View commit details
    Browse the repository at this point in the history
  5. add Extract component Options

    pikax committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    e7c0383 View commit details
    Browse the repository at this point in the history
  6. added types

    pikax committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    5f86b19 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. more tests

    pikax committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    22c304c View commit details
    Browse the repository at this point in the history
  2. working few things

    pikax committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    c2c0958 View commit details
    Browse the repository at this point in the history
  3. cleanup

    pikax committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3fbfe6f View commit details
    Browse the repository at this point in the history
  4. removed unused

    pikax committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    99e48a7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ce7234 View commit details
    Browse the repository at this point in the history
  6. remove stuff temp

    pikax committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    d88f7af View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3b653cd View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. small improvements

    pikax committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    9b23cdf View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Merge branch 'main' into pikax/component_helper_types

    # Conflicts:
    #	packages/runtime-dom/src/apiCustomElement.ts
    pikax committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    de726ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b1faf7 View commit details
    Browse the repository at this point in the history
  3. export LooseRequired

    pikax committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    ae7b51b View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. WIP DefineComponentOptions type

    pikax committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    9e67b17 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. WIP building

    pikax committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f6f82fa View commit details
    Browse the repository at this point in the history
  2. test passing

    pikax committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0506beb View commit details
    Browse the repository at this point in the history
  3. fix other issues

    pikax committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    3e29651 View commit details
    Browse the repository at this point in the history
  4. remove render function type

    pikax committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    48a0b08 View commit details
    Browse the repository at this point in the history
  5. async component changes

    pikax committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6d1db29 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f47bc76 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bbad2f8 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. add vnode support

    pikax committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    1d40c76 View commit details
    Browse the repository at this point in the history
  2. few more changes

    pikax committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    998607e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4254fac View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. more work

    pikax committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    633b852 View commit details
    Browse the repository at this point in the history
  2. more improvements

    pikax committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    96f244a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aab3189 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. some improvements

    pikax committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    8a61db8 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Configuration menu
    Copy the full SHA
    3d8a5c0 View commit details
    Browse the repository at this point in the history
  2. more improvments

    pikax committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    ca626bf View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into pikax/component_helper_types

    # Conflicts:
    #	packages/runtime-core/src/componentEmits.ts
    pikax committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    b2c4a38 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9853470 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. fix componentSlots

    pikax committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    0d0bf05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ae88d3 View commit details
    Browse the repository at this point in the history
  3. support volar syntax for slots

    pikax committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    f62ae36 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    413d556 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    836a930 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8336ba5 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. chore: renaming & lint

    pikax committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    77ca7b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bba1cde View commit details
    Browse the repository at this point in the history
  3. fix test type

    pikax committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    ab9823d View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. chore: some changes

    pikax committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    c98c360 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86826aa View commit details
    Browse the repository at this point in the history
  3. some imrpovements

    pikax committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    92057db View commit details
    Browse the repository at this point in the history
  4. chore: some improvements

    pikax committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    b015918 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6819d05 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    f3119d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53f2af0 View commit details
    Browse the repository at this point in the history
  3. chore: improve ComponentData

    pikax committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    018223d View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Custom props

    pikax committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    5e9d759 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73f52d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. kinda working

    pikax committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    bf6286d View commit details
    Browse the repository at this point in the history
  2. remov efunction

    pikax committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    aa91257 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb4cf93 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. chore: fix tests

    pikax committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    d483491 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1094a6 View commit details
    Browse the repository at this point in the history
  3. chore: render function

    pikax committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    b4b62d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    46cc5cb View commit details
    Browse the repository at this point in the history
  5. chore: remove comments

    pikax committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    cc2ed2a View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Merge branch 'minor' into pikax/component_helper_types

    # Conflicts:
    #	packages/dts-test/component.test-d.ts
    #	packages/dts-test/componentInstance.test-d.tsx
    #	packages/dts-test/defineComponent.test-d.tsx
    #	packages/dts-test/defineCustomElement.test-d.ts
    #	packages/dts-test/h.test-d.ts
    #	packages/runtime-core/__tests__/apiOptions.spec.ts
    #	packages/runtime-core/__tests__/vnode.spec.ts
    #	packages/runtime-core/src/apiAsyncComponent.ts
    #	packages/runtime-core/src/apiDefineComponent.ts
    #	packages/runtime-core/src/apiSetupHelpers.ts
    #	packages/runtime-core/src/compat/compatConfig.ts
    #	packages/runtime-core/src/compat/componentVModel.ts
    #	packages/runtime-core/src/compat/global.ts
    #	packages/runtime-core/src/compat/instance.ts
    #	packages/runtime-core/src/component.ts
    #	packages/runtime-core/src/componentEmits.ts
    #	packages/runtime-core/src/componentOptions.ts
    #	packages/runtime-core/src/componentPublicInstance.ts
    #	packages/runtime-core/src/index.ts
    #	packages/runtime-dom/__tests__/customElement.spec.ts
    #	packages/runtime-dom/src/apiCustomElement.ts
    pikax committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    e777107 View commit details
    Browse the repository at this point in the history
  2. type fixing

    pikax committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    eaa2ded View commit details
    Browse the repository at this point in the history
  3. fix tests

    pikax committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    e3d217b View commit details
    Browse the repository at this point in the history
  4. fix tests

    pikax committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    e063b78 View commit details
    Browse the repository at this point in the history
  5. chore: review

    pikax committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    e8e937b View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. Configuration menu
    Copy the full SHA
    fb2e70b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c0c261 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2023

  1. Configuration menu
    Copy the full SHA
    37ca2cb View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Configuration menu
    Copy the full SHA
    e9c7dfc View commit details
    Browse the repository at this point in the history
  2. EmitsOptions to support events

    pikax committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    b56836f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f3b9c28 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b307e3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b8b99a8 View commit details
    Browse the repository at this point in the history
  6. chore: fix typo

    pikax committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    7866070 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c6c8caf View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. chore: improve types

    pikax committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    42301b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ff6732 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    39b9ade View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5890e8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bdc1d73 View commit details
    Browse the repository at this point in the history