@sabrenski/spire-ui-vue 0.2.7 → 0.2.9

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.
@@ -7,6 +7,8 @@ export interface ButtonProps {
7
7
  variant?: ButtonVariant;
8
8
  /** Button size */
9
9
  size?: ButtonSize;
10
+ /** Render button with fully rounded (pill) corners */
11
+ pill?: boolean;
10
12
  /** Disable interactions */
11
13
  disabled?: boolean;
12
14
  /**
@@ -1,4 +1,4 @@
1
- import { SidebarProps } from './types';
1
+ import { SidebarProps, SidebarVariant } from './types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -42,6 +42,7 @@ declare const __VLS_component: import('vue').DefineComponent<SidebarProps, {}, {
42
42
  onMobileOpen?: (() => any) | undefined;
43
43
  onMobileClose?: (() => any) | undefined;
44
44
  }>, {
45
+ variant: SidebarVariant;
45
46
  expandedWidth: number;
46
47
  collapsedWidth: number;
47
48
  mobileBreakpoint: number;
@@ -13,6 +13,7 @@ declare function __VLS_template(): {
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
15
  declare const __VLS_component: import('vue').DefineComponent<SidebarHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SidebarHeaderProps> & Readonly<{}>, {
16
+ bordered: boolean;
16
17
  as: "a" | "router-link" | "inertia-link" | Component;
17
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -3,6 +3,7 @@ import { IconKey } from '../../icons/registry';
3
3
  /** Icon prop type that accepts either an IconKey string or a Vue Component */
4
4
  export type IconProp = IconKey | Component;
5
5
  export type BadgeColor = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
6
+ export type SidebarVariant = 'default' | 'floating' | 'minimal';
6
7
  export interface SidebarProps {
7
8
  /** v-model for collapsed state */
8
9
  modelValue?: boolean;
@@ -26,6 +27,10 @@ export interface SidebarProps {
26
27
  storageKey?: string;
27
28
  /** Show built-in trigger button on edge */
28
29
  showTrigger?: boolean;
30
+ /** Visual style variant */
31
+ variant?: SidebarVariant;
32
+ /** Custom classes for the sidebar wrapper */
33
+ wrapperClass?: string | string[] | Record<string, boolean>;
29
34
  }
30
35
  export interface SidebarHeaderProps {
31
36
  /** Title text (hidden in mini mode) */
@@ -38,6 +43,8 @@ export interface SidebarHeaderProps {
38
43
  href?: string;
39
44
  /** Render link as custom component */
40
45
  as?: 'a' | 'router-link' | 'inertia-link' | Component;
46
+ /** Show bottom divider */
47
+ bordered?: boolean;
41
48
  }
42
49
  export interface SidebarFooterProps {
43
50
  /** Add top border */
@@ -8,7 +8,9 @@ declare function __VLS_template(): {
8
8
  slots: {
9
9
  default?(_: {}): any;
10
10
  };
11
- refs: {};
11
+ refs: {
12
+ containerRef: HTMLDivElement;
13
+ };
12
14
  rootEl: any;
13
15
  };
14
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -22,7 +24,9 @@ declare const __VLS_component: import('vue').DefineComponent<ToastContainerProps
22
24
  placement: ToastPlacement;
23
25
  maxVisibleToasts: number;
24
26
  gap: number;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
28
+ containerRef: HTMLDivElement;
29
+ }, any>;
26
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
31
  export default _default;
28
32
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -27,6 +27,8 @@ export interface ButtonDefaults {
27
27
  size?: ButtonSize;
28
28
  /** Default button variant */
29
29
  variant?: ButtonVariant;
30
+ /** Default pill style for buttons */
31
+ pill?: boolean;
30
32
  }
31
33
  /**
32
34
  * Badge component defaults