vue3-router-tab 1.2.2 → 1.2.4

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/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
 
@@ -202,7 +202,10 @@
202
202
  overflow: hidden;
203
203
  }
204
204
  }
205
-
205
+ .router-tab__container {
206
+ padding: 10px;
207
+ border: 1px solid var(--router-tab-border);
208
+ }
206
209
  // Context Menu using button colors
207
210
  .router-tab__contextmenu {
208
211
  position: fixed;
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.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",