@sabrenski/spire-ui-vue 0.3.26 → 0.3.28

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.
@@ -1,4 +1,4 @@
1
- import { HeadingProps, HeadingSize } from './types';
1
+ import { HeadingProps } from './types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -8,9 +8,7 @@ declare function __VLS_template(): {
8
8
  rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<HeadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
12
- size: HeadingSize;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import('vue').DefineComponent<HeadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HeadingProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
13
  export default _default;
16
14
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
1
  export { default as Heading } from './Heading.vue';
2
- export type { HeadingProps, HeadingSize, HeadingLevel } from './types';
2
+ export type { HeadingProps, HeadingSize, HeadingWeight, HeadingLevel } from './types';
@@ -1,8 +1,11 @@
1
- export type HeadingSize = 'base' | 'lg' | 'xl';
1
+ export type HeadingSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
2
+ export type HeadingWeight = 'normal' | 'medium' | 'semibold' | 'bold';
2
3
  export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
3
4
  export interface HeadingProps {
4
5
  /** Visual size of the heading */
5
6
  size?: HeadingSize;
7
+ /** Font weight */
8
+ weight?: HeadingWeight;
6
9
  /** HTML heading level (h1-h6). Renders as div if not specified */
7
10
  level?: HeadingLevel;
8
11
  }
@@ -1,4 +1,4 @@
1
- import { TextProps, TextVariant } from './types';
1
+ import { TextProps, TextVariant, TextSize, TextWeight } from './types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -9,8 +9,10 @@ declare function __VLS_template(): {
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<TextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TextProps> & Readonly<{}>, {
12
+ size: TextSize;
12
13
  variant: TextVariant;
13
14
  inline: boolean;
15
+ weight: TextWeight;
14
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
18
  export default _default;
@@ -1,2 +1,2 @@
1
1
  export { default as Text } from './Text.vue';
2
- export type { TextProps, TextVariant } from './types';
2
+ export type { TextProps, TextVariant, TextSize, TextWeight } from './types';
@@ -1,7 +1,13 @@
1
1
  export type TextVariant = 'default' | 'strong' | 'subtle';
2
+ export type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl';
3
+ export type TextWeight = 'normal' | 'medium' | 'semibold' | 'bold';
2
4
  export interface TextProps {
3
5
  /** Text color intensity */
4
6
  variant?: TextVariant;
7
+ /** Visual size of the text */
8
+ size?: TextSize;
9
+ /** Font weight */
10
+ weight?: TextWeight;
5
11
  /** Render as span instead of p */
6
12
  inline?: boolean;
7
13
  }