vue3-router-tab 1.2.2 → 1.2.3

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.
Files changed (2) hide show
  1. package/index.d.ts +2 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -13,7 +13,7 @@ import type {
13
13
  RouterTabsSnapshotTab,
14
14
  RouterTabsPersistenceOptions
15
15
  } from './lib/core/types'
16
- import type { RouterTabsThemeOptions } from './lib/theme'
16
+ import type { ColorStyle, RouterTabsThemeOptions } from './lib/theme'
17
17
 
18
18
  export type {
19
19
  TabRecord,
@@ -38,7 +38,7 @@ export declare function useRouterTabsPersistence(options?: RouterTabsPersistence
38
38
 
39
39
  export declare function initRouterTabsTheme(options?: RouterTabsThemeOptions): void
40
40
  export declare function setRouterTabsTheme(style: 'light' | 'dark' | 'system', options?: RouterTabsThemeOptions): void
41
- export declare function setRouterTabsPrimary(color: string, options?: RouterTabsThemeOptions): void
41
+ export declare function setRouterTabsPrimary(color: ColorStyle, options?: RouterTabsThemeOptions): void
42
42
 
43
43
  export declare const RouterTabs: DefineComponent<RouterTabsPersistenceOptions, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<RouterTabsPersistenceOptions>, {}>
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-router-tab",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",