swico 2.4.0-beta.3 → 2.4.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": "swico",
3
- "version": "2.4.0-beta.3",
3
+ "version": "2.4.0",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -1,6 +1,5 @@
1
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  to: {
3
- type: ObjectConstructor;
4
3
  required: true;
5
4
  };
6
5
  replace: {
@@ -14,7 +13,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
14
13
  };
15
14
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
15
  to: {
17
- type: ObjectConstructor;
18
16
  required: true;
19
17
  };
20
18
  replace: {
@@ -6,7 +6,6 @@ exports.default = (0, vue_1.defineComponent)({
6
6
  name: 'Link',
7
7
  props: {
8
8
  to: {
9
- type: Object,
10
9
  required: true
11
10
  },
12
11
  replace: {
@@ -17,7 +16,7 @@ exports.default = (0, vue_1.defineComponent)({
17
16
  const nav = (0, vue_hooks_1.useNav)();
18
17
  return { nav };
19
18
  },
20
- template: ` <a
19
+ template: `<a
21
20
  @click="
22
21
  () => {
23
22
  nav(to, { replace });
@@ -248,7 +248,6 @@ const initTemplateConfig = (routerConfig, templateType, env) => {
248
248
  'react-hooks.js',
249
249
  'vue-hooks.js',
250
250
  'Link.js',
251
- 'Link.vue',
252
251
  'loading.js',
253
252
  'Container.vue'
254
253
  ].includes(fileName));