fds-vue-core 8.4.3 → 8.5.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/components.d.ts CHANGED
@@ -32,9 +32,9 @@ import type { FdsCheckboxProps } from './dist/components/Form/FdsCheckbox/types'
32
32
  import type { FdsInputProps } from './dist/components/Form/FdsInput/types'
33
33
  import type { FdsRadioProps } from './dist/components/Form/FdsRadio/types'
34
34
  import type { FdsSelectProps } from './dist/components/Form/FdsSelect/types'
35
- import type { FdsPhonenumberEmits, FdsPhonenumberProps } from './dist/components/Form/FdsPhonenumber/types'
36
- import type { FdsSsnEmits, FdsSsnProps } from './dist/components/Form/FdsSsn/types'
37
- import type { FdsTextareaEmits, FdsTextareaProps } from './dist/components/Form/FdsTextarea/types'
35
+ import type { FdsPhonenumberProps } from './dist/components/Form/FdsPhonenumber/types'
36
+ import type { FdsSsnProps } from './dist/components/Form/FdsSsn/types'
37
+ import type { FdsTextareaProps } from './dist/components/Form/FdsTextarea/types'
38
38
  import type { FdsTableProps } from './dist/components/Table/FdsTable/types'
39
39
  import type { FdsTableHeadProps } from './dist/components/Table/FdsTableHead/types'
40
40
  import type { FdsTabsProps } from './dist/components/Tabs/FdsTabs/types'
@@ -54,6 +54,7 @@ declare module 'vue' {
54
54
  FdsTreeView: DefineComponent<WrapperProps>
55
55
  FdsButtonPrimary: DefineComponent<FdsButtonBaseProps>
56
56
  FdsButtonSecondary: DefineComponent<FdsButtonBaseProps>
57
+ FdsButtonTertiary: DefineComponent<FdsButtonBaseProps>
57
58
  FdsButtonMinor: DefineComponent<FdsButtonBaseProps>
58
59
  FdsButtonIcon: DefineComponent<FdsIconButtonProps>
59
60
  FdsButtonCopy: DefineComponent<FdsCopyButtonProps>
@@ -64,9 +65,9 @@ declare module 'vue' {
64
65
  FdsRadio: DefineComponent<FdsRadioProps>
65
66
  FdsInput: DefineComponent<FdsInputProps>
66
67
  FdsCheckbox: DefineComponent<FdsCheckboxProps>
67
- FdsTextarea: DefineComponent<FdsTextareaProps, {}, {}, {}, {}, {}, {}, FdsTextareaEmits>
68
- FdsPhonenumber: DefineComponent<FdsPhonenumberProps, {}, {}, {}, {}, {}, {}, FdsPhonenumberEmits>
69
- FdsSsn: DefineComponent<FdsSsnProps, {}, {}, {}, {}, {}, {}, FdsSsnEmits>
68
+ FdsTextarea: DefineComponent<FdsTextareaProps>
69
+ FdsPhonenumber: DefineComponent<FdsPhonenumberProps>
70
+ FdsSsn: DefineComponent<FdsSsnProps>
70
71
  FdsSelect: DefineComponent<FdsSelectProps>
71
72
  FdsTable: DefineComponent<FdsTableProps>
72
73
  FdsTableHead: DefineComponent<FdsTableHeadProps>
@@ -0,0 +1,19 @@
1
+ import { FdsButtonBaseProps } from '../ButtonBaseProps';
2
+ declare const _default: import('vue').DefineComponent<FdsButtonBaseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ click: (ev: MouseEvent) => any;
4
+ }, string, import('vue').PublicProps, Readonly<FdsButtonBaseProps> & Readonly<{
5
+ onClick?: ((ev: MouseEvent) => any) | undefined;
6
+ }>, {
7
+ type: "button" | "submit" | "reset";
8
+ size: "sm" | "md" | "lg";
9
+ dataTestid: string;
10
+ icon: string;
11
+ loading: boolean;
12
+ iconSize: number;
13
+ block: boolean;
14
+ as: "button" | "a" | "router-link";
15
+ state: "hover" | "focus" | "active";
16
+ iconPos: "right" | "left";
17
+ textSelection: boolean;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
@@ -14,6 +14,9 @@ export interface FdsTextareaProps extends Omit</* @vue-ignore */ TextareaHTMLAtt
14
14
  /** Character limit for counter/validation. Does not set native maxlength on the textarea. */
15
15
  maxlength?: number;
16
16
  value?: string;
17
+ onValid?: ((value: boolean | null) => void) | Array<(value: boolean | null) => void>;
18
+ 'onUpdate:value'?: ((value: string) => void) | Array<(value: string) => void>;
19
+ 'onUpdate:modelValue'?: ((value: string) => void) | Array<(value: string) => void>;
17
20
  }
18
21
  export interface FdsTextareaEmits {
19
22
  input: [ev: Event];