@uni-helper/vite-plugin-uni-pages 0.2.29 → 0.3.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/dist/index.d.cts CHANGED
@@ -2643,13 +2643,13 @@ interface TabBar {
2643
2643
  *
2644
2644
  * @format color
2645
2645
  */
2646
- color: HEXColor | ThemeVar;
2646
+ color?: HEXColor | ThemeVar;
2647
2647
  /**
2648
2648
  * tab 上的文字选中时的颜色
2649
2649
  *
2650
2650
  * @format color
2651
2651
  */
2652
- selectedColor: HEXColor | ThemeVar;
2652
+ selectedColor?: HEXColor | ThemeVar;
2653
2653
  /**
2654
2654
  * tab 的背景色
2655
2655
  *
@@ -2675,11 +2675,11 @@ interface TabBar {
2675
2675
  */
2676
2676
  blurEffect?: 'dark' | 'extralight' | 'light' | 'none';
2677
2677
  /**
2678
- * tab 列表,最少 2个,最多 5 个
2678
+ * tab 列表,最少 2个,最多 5 个,app 端没有该限制
2679
2679
  *
2680
2680
  * @type {TabBarItem[]}
2681
2681
  */
2682
- list: [TabBarItem, TabBarItem, TabBarItem?, TabBarItem?, TabBarItem?];
2682
+ list: TabBarItem[];
2683
2683
  /**
2684
2684
  * tab 位置
2685
2685
  *
package/dist/index.d.mts CHANGED
@@ -2643,13 +2643,13 @@ interface TabBar {
2643
2643
  *
2644
2644
  * @format color
2645
2645
  */
2646
- color: HEXColor | ThemeVar;
2646
+ color?: HEXColor | ThemeVar;
2647
2647
  /**
2648
2648
  * tab 上的文字选中时的颜色
2649
2649
  *
2650
2650
  * @format color
2651
2651
  */
2652
- selectedColor: HEXColor | ThemeVar;
2652
+ selectedColor?: HEXColor | ThemeVar;
2653
2653
  /**
2654
2654
  * tab 的背景色
2655
2655
  *
@@ -2675,11 +2675,11 @@ interface TabBar {
2675
2675
  */
2676
2676
  blurEffect?: 'dark' | 'extralight' | 'light' | 'none';
2677
2677
  /**
2678
- * tab 列表,最少 2个,最多 5 个
2678
+ * tab 列表,最少 2个,最多 5 个,app 端没有该限制
2679
2679
  *
2680
2680
  * @type {TabBarItem[]}
2681
2681
  */
2682
- list: [TabBarItem, TabBarItem, TabBarItem?, TabBarItem?, TabBarItem?];
2682
+ list: TabBarItem[];
2683
2683
  /**
2684
2684
  * tab 位置
2685
2685
  *
package/dist/index.d.ts CHANGED
@@ -2643,13 +2643,13 @@ interface TabBar {
2643
2643
  *
2644
2644
  * @format color
2645
2645
  */
2646
- color: HEXColor | ThemeVar;
2646
+ color?: HEXColor | ThemeVar;
2647
2647
  /**
2648
2648
  * tab 上的文字选中时的颜色
2649
2649
  *
2650
2650
  * @format color
2651
2651
  */
2652
- selectedColor: HEXColor | ThemeVar;
2652
+ selectedColor?: HEXColor | ThemeVar;
2653
2653
  /**
2654
2654
  * tab 的背景色
2655
2655
  *
@@ -2675,11 +2675,11 @@ interface TabBar {
2675
2675
  */
2676
2676
  blurEffect?: 'dark' | 'extralight' | 'light' | 'none';
2677
2677
  /**
2678
- * tab 列表,最少 2个,最多 5 个
2678
+ * tab 列表,最少 2个,最多 5 个,app 端没有该限制
2679
2679
  *
2680
2680
  * @type {TabBarItem[]}
2681
2681
  */
2682
- list: [TabBarItem, TabBarItem, TabBarItem?, TabBarItem?, TabBarItem?];
2682
+ list: TabBarItem[];
2683
2683
  /**
2684
2684
  * tab 位置
2685
2685
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uni-helper/vite-plugin-uni-pages",
3
3
  "type": "module",
4
- "version": "0.2.29",
4
+ "version": "0.3.0",
5
5
  "description": "File system based routing for uni-app applications using Vite",
6
6
  "author": "KeJun",
7
7
  "maintainers": [
@@ -60,7 +60,7 @@
60
60
  "json5": "^2.2.3",
61
61
  "lodash.groupby": "^4.6.0",
62
62
  "magic-string": "^0.30.11",
63
- "unconfig": "^0.5.5",
63
+ "unconfig": "^7.3.2",
64
64
  "yaml": "^2.5.0"
65
65
  },
66
66
  "devDependencies": {