@luizleon/sf.prefeiturasp.vuecomponents 0.0.14 → 0.0.16

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.
@@ -0,0 +1,42 @@
1
+ import { VNode } from "vue";
2
+ import { StyleValue } from "vue";
3
+ import {
4
+ ClassComponent,
5
+ GlobalComponentConstructor,
6
+ } from "../../ts-helpers";
7
+
8
+ export interface SfButtonProps {
9
+ icon?: string;
10
+ visible?: boolean;
11
+ class?: any;
12
+ style?: StyleValue;
13
+ disabled?: boolean;
14
+ loading?: boolean;
15
+ color?: Color;
16
+ size?: Size;
17
+ variant?: "filled" | "outlined" | "text";
18
+ autofocus?: boolean;
19
+ form?: string;
20
+ name?: string;
21
+ id?: string;
22
+ type?: "submit" | "reset" | "button";
23
+ value?: string | string[] | number;
24
+ }
25
+
26
+ export interface SfButtonSlots {}
27
+
28
+ export declare type SfButtonEmits = {};
29
+
30
+ declare class SfButton extends ClassComponent<
31
+ SfButtonProps,
32
+ SfButtonSlots,
33
+ SfButtonEmits
34
+ > {}
35
+
36
+ declare module "@vue/runtime-core" {
37
+ interface GlobalComponents {
38
+ SfButton: GlobalComponentConstructor<SfButton>;
39
+ }
40
+ }
41
+
42
+ export default SfButton;
package/dist/index.d.ts CHANGED
@@ -3,9 +3,10 @@ import SfIcon from "./components/icon/Icon";
3
3
  import SfNavMenuLink from "./components/navmenulink/NavMenuLink";
4
4
  import SfContent from "./components/content/Content";
5
5
  import SfTabNavigation from "./components/tabnavigation/TabNavigation";
6
+ import SfButton from "./components/button/Button";
6
7
  import { UseNavMenuService } from "./services/navMenuService";
7
8
  import { UseDialogService } from "./services/dialogService";
8
9
  import { AuthService } from "./services/authService";
9
10
  import { AppResult } from "./common/appResult";
10
11
  import { Cor, Tamanho } from "./enum";
11
- export { SfLayout, SfIcon, SfNavMenuLink, SfContent, SfTabNavigation, AuthService, AppResult, UseNavMenuService, UseDialogService, Cor, Tamanho, };
12
+ export { SfLayout, SfIcon, SfNavMenuLink, SfContent, SfTabNavigation, SfButton, AuthService, AppResult, UseNavMenuService, UseDialogService, Cor, Tamanho, };