@solfacil/girassol 0.14.0 → 0.16.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.
@@ -16,6 +16,7 @@ import { SolSteps } from './components/steps/';
16
16
  import { SolList } from './components/list/';
17
17
  import { SolMenu } from './components/menus/menu';
18
18
  import { SolMenuItem } from './components/menus/menu-item/menu-item';
19
+ import { SolMenuItemSeparator } from './components/menus/menu-item/index';
19
20
  import { SolMenuItemLink } from './components/menus/menu-item/menu-item-link/';
20
21
  import { SolMenuNavigationLinks } from './components/menus/menu-navigation-links';
21
22
  import { SolModal } from './components/modal';
@@ -24,6 +25,7 @@ import { SolEmptyState } from './components/empty-state';
24
25
  import { SolSearch } from './components/search';
25
26
  import { SolDatePicker } from './components/date-picker';
26
27
  import { SolCollapsible } from './components/collapsible';
28
+ import { SolFileUpload } from './components/file-upload';
27
29
  import 'virtual:windi-base.css';
28
30
  import 'virtual:windi-components.css';
29
31
  import 'virtual:windi-utilities.css';
@@ -33,6 +35,7 @@ export { useModal } from './composables/use-modal';
33
35
  export { useMask, vMask } from './composables/use-mask';
34
36
  export { useNavigate, useNavigateProvider } from './composables/use-navigate';
35
37
  export { useSelectableChip } from './composables/use-filters';
38
+ export { default as useDownload } from './composables/use-download';
36
39
  export declare const components: {
37
40
  SolButton: {
38
41
  new (...args: any[]): {
@@ -195,8 +198,10 @@ export declare const components: {
195
198
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
196
199
  $slots: {
197
200
  'icon-left': (_: {}) => any;
201
+ 'icon:left': (_: {}) => any;
198
202
  default: (_: {}) => any;
199
203
  'icon-right': (_: {}) => any;
204
+ 'icon:right': (_: {}) => any;
200
205
  };
201
206
  });
202
207
  SolButtonDestructive: {
@@ -3127,7 +3132,7 @@ export declare const components: {
3127
3132
  $data: {};
3128
3133
  $props: Partial<{
3129
3134
  text: string;
3130
- type: "warning" | "informative" | "neutral" | "positive" | "negative";
3135
+ type: "neutral" | "positive" | "warning" | "negative" | "informative";
3131
3136
  size: "small" | "medium";
3132
3137
  variant: "fill" | "outline";
3133
3138
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -3141,7 +3146,7 @@ export declare const components: {
3141
3146
  required: true;
3142
3147
  };
3143
3148
  type: {
3144
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
3149
+ type: import("vue").PropType<"neutral" | "positive" | "warning" | "negative" | "informative">;
3145
3150
  } & {
3146
3151
  default: string;
3147
3152
  };
@@ -3180,7 +3185,7 @@ export declare const components: {
3180
3185
  required: true;
3181
3186
  };
3182
3187
  type: {
3183
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
3188
+ type: import("vue").PropType<"neutral" | "positive" | "warning" | "negative" | "informative">;
3184
3189
  } & {
3185
3190
  default: string;
3186
3191
  };
@@ -3196,7 +3201,7 @@ export declare const components: {
3196
3201
  };
3197
3202
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
3198
3203
  text: string;
3199
- type: "warning" | "informative" | "neutral" | "positive" | "negative";
3204
+ type: "neutral" | "positive" | "warning" | "negative" | "informative";
3200
3205
  size: "small" | "medium";
3201
3206
  variant: "fill" | "outline";
3202
3207
  }> & {
@@ -3230,7 +3235,7 @@ export declare const components: {
3230
3235
  required: true;
3231
3236
  };
3232
3237
  type: {
3233
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
3238
+ type: import("vue").PropType<"neutral" | "positive" | "warning" | "negative" | "informative">;
3234
3239
  } & {
3235
3240
  default: string;
3236
3241
  };
@@ -3259,7 +3264,7 @@ export declare const components: {
3259
3264
  required: true;
3260
3265
  };
3261
3266
  type: {
3262
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
3267
+ type: import("vue").PropType<"neutral" | "positive" | "warning" | "negative" | "informative">;
3263
3268
  } & {
3264
3269
  default: string;
3265
3270
  };
@@ -3275,7 +3280,7 @@ export declare const components: {
3275
3280
  };
3276
3281
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
3277
3282
  text: string;
3278
- type: "warning" | "informative" | "neutral" | "positive" | "negative";
3283
+ type: "neutral" | "positive" | "warning" | "negative" | "informative";
3279
3284
  size: "small" | "medium";
3280
3285
  variant: "fill" | "outline";
3281
3286
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -4014,7 +4019,7 @@ export declare const components: {
4014
4019
  $data: {};
4015
4020
  $props: Partial<{
4016
4021
  label: string;
4017
- position: ("bottom" | "top") | ("left" | "right");
4022
+ position: ("center" | "bottom" | "top") | ("left" | "right");
4018
4023
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
4019
4024
  label: {
4020
4025
  type: import("vue").PropType<string>;
@@ -4026,7 +4031,7 @@ export declare const components: {
4026
4031
  required: true;
4027
4032
  };
4028
4033
  position: {
4029
- type: import("vue").PropType<("bottom" | "top") | ("left" | "right")>;
4034
+ type: import("vue").PropType<("center" | "bottom" | "top") | ("left" | "right")>;
4030
4035
  } & {
4031
4036
  default: string;
4032
4037
  };
@@ -4055,13 +4060,13 @@ export declare const components: {
4055
4060
  required: true;
4056
4061
  };
4057
4062
  position: {
4058
- type: import("vue").PropType<("bottom" | "top") | ("left" | "right")>;
4063
+ type: import("vue").PropType<("center" | "bottom" | "top") | ("left" | "right")>;
4059
4064
  } & {
4060
4065
  default: string;
4061
4066
  };
4062
4067
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
4063
4068
  label: string;
4064
- position: ("bottom" | "top") | ("left" | "right");
4069
+ position: ("center" | "bottom" | "top") | ("left" | "right");
4065
4070
  }> & {
4066
4071
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
4067
4072
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -4093,7 +4098,7 @@ export declare const components: {
4093
4098
  required: true;
4094
4099
  };
4095
4100
  position: {
4096
- type: import("vue").PropType<("bottom" | "top") | ("left" | "right")>;
4101
+ type: import("vue").PropType<("center" | "bottom" | "top") | ("left" | "right")>;
4097
4102
  } & {
4098
4103
  default: string;
4099
4104
  };
@@ -4112,13 +4117,13 @@ export declare const components: {
4112
4117
  required: true;
4113
4118
  };
4114
4119
  position: {
4115
- type: import("vue").PropType<("bottom" | "top") | ("left" | "right")>;
4120
+ type: import("vue").PropType<("center" | "bottom" | "top") | ("left" | "right")>;
4116
4121
  } & {
4117
4122
  default: string;
4118
4123
  };
4119
4124
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
4120
4125
  label: string;
4121
- position: ("bottom" | "top") | ("left" | "right");
4126
+ position: ("center" | "bottom" | "top") | ("left" | "right");
4122
4127
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
4123
4128
  $slots: {
4124
4129
  trigger: (_: {
@@ -5896,6 +5901,355 @@ export declare const components: {
5896
5901
  'icon:right': (_: {}) => any;
5897
5902
  };
5898
5903
  });
5904
+ SolFileUpload: {
5905
+ new (...args: any[]): {
5906
+ $: import("vue").ComponentInternalInstance;
5907
+ $data: {};
5908
+ $props: Partial<{
5909
+ label: string;
5910
+ error: string | null;
5911
+ placeholder: string;
5912
+ loading: boolean;
5913
+ multiple: boolean;
5914
+ downloadMenu: import("./components/file-upload/types").DownloadMenu[];
5915
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
5916
+ label: {
5917
+ type: import("vue").PropType<string>;
5918
+ } & {
5919
+ default: string;
5920
+ };
5921
+ id: {
5922
+ type: import("vue").PropType<string>;
5923
+ required: true;
5924
+ };
5925
+ name: {
5926
+ type: import("vue").PropType<string | undefined>;
5927
+ required: true;
5928
+ };
5929
+ modelValue: {
5930
+ type: import("vue").PropType<import("./components/file-upload/types").FileUploadModel>;
5931
+ };
5932
+ error: {
5933
+ type: import("vue").PropType<string | null>;
5934
+ } & {
5935
+ default: null;
5936
+ };
5937
+ helperText: {
5938
+ type: import("vue").PropType<string>;
5939
+ };
5940
+ placeholder: {
5941
+ type: import("vue").PropType<string>;
5942
+ } & {
5943
+ default: string;
5944
+ };
5945
+ useField: {
5946
+ type: import("vue").PropType<typeof import("vee-validate").useField>;
5947
+ };
5948
+ rules: {
5949
+ type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
5950
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
5951
+ } | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>>;
5952
+ };
5953
+ opts: {
5954
+ type: import("vue").PropType<Partial<import("vee-validate").FieldOptions<import("./components/file-upload/types").FileUploadModel>>>;
5955
+ };
5956
+ loading: {
5957
+ type: import("vue").PropType<boolean>;
5958
+ } & {
5959
+ default: boolean;
5960
+ };
5961
+ accept: {
5962
+ type: import("vue").PropType<string>;
5963
+ };
5964
+ multiple: {
5965
+ type: import("vue").PropType<boolean>;
5966
+ } & {
5967
+ default: boolean;
5968
+ };
5969
+ downloadSrc: {
5970
+ type: import("vue").PropType<string>;
5971
+ };
5972
+ downloadMenu: {
5973
+ type: import("vue").PropType<import("./components/file-upload/types").DownloadMenu[]>;
5974
+ } & {
5975
+ default: () => string[];
5976
+ };
5977
+ }>> & {
5978
+ "onUpdate:modelValue"?: ((value: import("./components/file-upload/types").FileUploadModel | undefined) => any) | undefined;
5979
+ "onMenu:preview"?: ((url: string) => any) | undefined;
5980
+ "onMenu:download"?: ((url: string) => any) | undefined;
5981
+ "onMenu:delete"?: ((url: string) => any) | undefined;
5982
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "error" | "placeholder" | "loading" | "multiple" | "downloadMenu">;
5983
+ $attrs: {
5984
+ [x: string]: unknown;
5985
+ };
5986
+ $refs: {
5987
+ [x: string]: unknown;
5988
+ };
5989
+ $slots: Readonly<{
5990
+ [name: string]: import("vue").Slot | undefined;
5991
+ }>;
5992
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
5993
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
5994
+ $emit: ((event: "update:modelValue", value: import("./components/file-upload/types").FileUploadModel | undefined) => void) & ((event: "menu:preview", url: string) => void) & ((event: "menu:download", url: string) => void) & ((event: "menu:delete", url: string) => void);
5995
+ $el: any;
5996
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
5997
+ label: {
5998
+ type: import("vue").PropType<string>;
5999
+ } & {
6000
+ default: string;
6001
+ };
6002
+ id: {
6003
+ type: import("vue").PropType<string>;
6004
+ required: true;
6005
+ };
6006
+ name: {
6007
+ type: import("vue").PropType<string | undefined>;
6008
+ required: true;
6009
+ };
6010
+ modelValue: {
6011
+ type: import("vue").PropType<import("./components/file-upload/types").FileUploadModel>;
6012
+ };
6013
+ error: {
6014
+ type: import("vue").PropType<string | null>;
6015
+ } & {
6016
+ default: null;
6017
+ };
6018
+ helperText: {
6019
+ type: import("vue").PropType<string>;
6020
+ };
6021
+ placeholder: {
6022
+ type: import("vue").PropType<string>;
6023
+ } & {
6024
+ default: string;
6025
+ };
6026
+ useField: {
6027
+ type: import("vue").PropType<typeof import("vee-validate").useField>;
6028
+ };
6029
+ rules: {
6030
+ type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
6031
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
6032
+ } | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>>;
6033
+ };
6034
+ opts: {
6035
+ type: import("vue").PropType<Partial<import("vee-validate").FieldOptions<import("./components/file-upload/types").FileUploadModel>>>;
6036
+ };
6037
+ loading: {
6038
+ type: import("vue").PropType<boolean>;
6039
+ } & {
6040
+ default: boolean;
6041
+ };
6042
+ accept: {
6043
+ type: import("vue").PropType<string>;
6044
+ };
6045
+ multiple: {
6046
+ type: import("vue").PropType<boolean>;
6047
+ } & {
6048
+ default: boolean;
6049
+ };
6050
+ downloadSrc: {
6051
+ type: import("vue").PropType<string>;
6052
+ };
6053
+ downloadMenu: {
6054
+ type: import("vue").PropType<import("./components/file-upload/types").DownloadMenu[]>;
6055
+ } & {
6056
+ default: () => string[];
6057
+ };
6058
+ }>> & {
6059
+ "onUpdate:modelValue"?: ((value: import("./components/file-upload/types").FileUploadModel | undefined) => any) | undefined;
6060
+ "onMenu:preview"?: ((url: string) => any) | undefined;
6061
+ "onMenu:download"?: ((url: string) => any) | undefined;
6062
+ "onMenu:delete"?: ((url: string) => any) | undefined;
6063
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6064
+ "update:modelValue": (value: import("./components/file-upload/types").FileUploadModel | undefined) => void;
6065
+ } & {
6066
+ "menu:preview": (url: string) => void;
6067
+ } & {
6068
+ "menu:download": (url: string) => void;
6069
+ } & {
6070
+ "menu:delete": (url: string) => void;
6071
+ }, string, {
6072
+ label: string;
6073
+ error: string | null;
6074
+ placeholder: string;
6075
+ loading: boolean;
6076
+ multiple: boolean;
6077
+ downloadMenu: import("./components/file-upload/types").DownloadMenu[];
6078
+ }> & {
6079
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
6080
+ created?: ((() => void) | (() => void)[]) | undefined;
6081
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
6082
+ mounted?: ((() => void) | (() => void)[]) | undefined;
6083
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
6084
+ updated?: ((() => void) | (() => void)[]) | undefined;
6085
+ activated?: ((() => void) | (() => void)[]) | undefined;
6086
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
6087
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
6088
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
6089
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
6090
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
6091
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
6092
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
6093
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
6094
+ };
6095
+ $forceUpdate: () => void;
6096
+ $nextTick: typeof import("vue").nextTick;
6097
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
6098
+ } & Readonly<import("vue").ExtractPropTypes<{
6099
+ label: {
6100
+ type: import("vue").PropType<string>;
6101
+ } & {
6102
+ default: string;
6103
+ };
6104
+ id: {
6105
+ type: import("vue").PropType<string>;
6106
+ required: true;
6107
+ };
6108
+ name: {
6109
+ type: import("vue").PropType<string | undefined>;
6110
+ required: true;
6111
+ };
6112
+ modelValue: {
6113
+ type: import("vue").PropType<import("./components/file-upload/types").FileUploadModel>;
6114
+ };
6115
+ error: {
6116
+ type: import("vue").PropType<string | null>;
6117
+ } & {
6118
+ default: null;
6119
+ };
6120
+ helperText: {
6121
+ type: import("vue").PropType<string>;
6122
+ };
6123
+ placeholder: {
6124
+ type: import("vue").PropType<string>;
6125
+ } & {
6126
+ default: string;
6127
+ };
6128
+ useField: {
6129
+ type: import("vue").PropType<typeof import("vee-validate").useField>;
6130
+ };
6131
+ rules: {
6132
+ type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
6133
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
6134
+ } | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>>;
6135
+ };
6136
+ opts: {
6137
+ type: import("vue").PropType<Partial<import("vee-validate").FieldOptions<import("./components/file-upload/types").FileUploadModel>>>;
6138
+ };
6139
+ loading: {
6140
+ type: import("vue").PropType<boolean>;
6141
+ } & {
6142
+ default: boolean;
6143
+ };
6144
+ accept: {
6145
+ type: import("vue").PropType<string>;
6146
+ };
6147
+ multiple: {
6148
+ type: import("vue").PropType<boolean>;
6149
+ } & {
6150
+ default: boolean;
6151
+ };
6152
+ downloadSrc: {
6153
+ type: import("vue").PropType<string>;
6154
+ };
6155
+ downloadMenu: {
6156
+ type: import("vue").PropType<import("./components/file-upload/types").DownloadMenu[]>;
6157
+ } & {
6158
+ default: () => string[];
6159
+ };
6160
+ }>> & {
6161
+ "onUpdate:modelValue"?: ((value: import("./components/file-upload/types").FileUploadModel | undefined) => any) | undefined;
6162
+ "onMenu:preview"?: ((url: string) => any) | undefined;
6163
+ "onMenu:download"?: ((url: string) => any) | undefined;
6164
+ "onMenu:delete"?: ((url: string) => any) | undefined;
6165
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
6166
+ __isFragment?: undefined;
6167
+ __isTeleport?: undefined;
6168
+ __isSuspense?: undefined;
6169
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
6170
+ label: {
6171
+ type: import("vue").PropType<string>;
6172
+ } & {
6173
+ default: string;
6174
+ };
6175
+ id: {
6176
+ type: import("vue").PropType<string>;
6177
+ required: true;
6178
+ };
6179
+ name: {
6180
+ type: import("vue").PropType<string | undefined>;
6181
+ required: true;
6182
+ };
6183
+ modelValue: {
6184
+ type: import("vue").PropType<import("./components/file-upload/types").FileUploadModel>;
6185
+ };
6186
+ error: {
6187
+ type: import("vue").PropType<string | null>;
6188
+ } & {
6189
+ default: null;
6190
+ };
6191
+ helperText: {
6192
+ type: import("vue").PropType<string>;
6193
+ };
6194
+ placeholder: {
6195
+ type: import("vue").PropType<string>;
6196
+ } & {
6197
+ default: string;
6198
+ };
6199
+ useField: {
6200
+ type: import("vue").PropType<typeof import("vee-validate").useField>;
6201
+ };
6202
+ rules: {
6203
+ type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
6204
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
6205
+ } | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>>;
6206
+ };
6207
+ opts: {
6208
+ type: import("vue").PropType<Partial<import("vee-validate").FieldOptions<import("./components/file-upload/types").FileUploadModel>>>;
6209
+ };
6210
+ loading: {
6211
+ type: import("vue").PropType<boolean>;
6212
+ } & {
6213
+ default: boolean;
6214
+ };
6215
+ accept: {
6216
+ type: import("vue").PropType<string>;
6217
+ };
6218
+ multiple: {
6219
+ type: import("vue").PropType<boolean>;
6220
+ } & {
6221
+ default: boolean;
6222
+ };
6223
+ downloadSrc: {
6224
+ type: import("vue").PropType<string>;
6225
+ };
6226
+ downloadMenu: {
6227
+ type: import("vue").PropType<import("./components/file-upload/types").DownloadMenu[]>;
6228
+ } & {
6229
+ default: () => string[];
6230
+ };
6231
+ }>> & {
6232
+ "onUpdate:modelValue"?: ((value: import("./components/file-upload/types").FileUploadModel | undefined) => any) | undefined;
6233
+ "onMenu:preview"?: ((url: string) => any) | undefined;
6234
+ "onMenu:download"?: ((url: string) => any) | undefined;
6235
+ "onMenu:delete"?: ((url: string) => any) | undefined;
6236
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6237
+ "update:modelValue": (value: import("./components/file-upload/types").FileUploadModel | undefined) => void;
6238
+ } & {
6239
+ "menu:preview": (url: string) => void;
6240
+ } & {
6241
+ "menu:download": (url: string) => void;
6242
+ } & {
6243
+ "menu:delete": (url: string) => void;
6244
+ }, string, {
6245
+ label: string;
6246
+ error: string | null;
6247
+ placeholder: string;
6248
+ loading: boolean;
6249
+ multiple: boolean;
6250
+ downloadMenu: import("./components/file-upload/types").DownloadMenu[];
6251
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
6252
+ SolMenuItemSeparator: any;
5899
6253
  };
5900
6254
  export declare function install(App: App): void;
5901
- export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolPagination, SolEmptyState, SolSearch, SolDatePicker, SolCollapsible, SolSteps, SolTextValue, };
6255
+ export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolPagination, SolEmptyState, SolSearch, SolDatePicker, SolCollapsible, SolSteps, SolTextValue, SolFileUpload, SolMenuItemSeparator, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.14.0",
4
+ "version": "0.16.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {
@@ -6,7 +6,7 @@ import effects from './effects'
6
6
  import misc from './miscs'
7
7
 
8
8
  import { screens } from './screens'
9
- import { componentTypos, debug, iconSizes, maxLines, outlinesForFocus, placeholder, scrollbarBase } from './utilities'
9
+ import { componentTypos, debug, iconSizes, maxLines, outlinesForFocus, placeholder, resetFillFields, scrollbarBase } from './utilities'
10
10
 
11
11
 
12
12
  export {
@@ -27,4 +27,5 @@ export const utilities = {
27
27
  placeholder,
28
28
  scrollbarBase,
29
29
  iconSizes,
30
+ resetFillFields,
30
31
  }
@@ -1,10 +1,4 @@
1
1
  export const screens = {
2
- // xsm: { max: '767px' },
3
- // sm: { min: '768px' },
4
- // md: { min: '1024px' },
5
- // lg: { min: '1366px' },
6
- // xl: { min: '1440px' },
7
-
8
2
  'xsm:site': { max: '767px' },
9
3
  'sm:site': { min: '768px' },
10
4
  'md:site': { min: '1024px' },
@@ -350,4 +350,25 @@ export const iconSizes = plugin(({ addUtilities }) => {
350
350
  width: '48px',
351
351
  },
352
352
  })
353
- })
353
+ })
354
+
355
+
356
+ export const resetFillFields = plugin(({ addBase }) => {
357
+ const reset = {
358
+ 'box-shadow': '0 0 0 100px #fff inset',
359
+ '-webkit-box-shadow': '0 0 0 100px #fff inset',
360
+ }
361
+
362
+ addBase({
363
+ '*': {
364
+ '-webkit-tap-highlight-color': 'transparent',
365
+ },
366
+ 'input:autofill': reset,
367
+ 'textarea:autofill': reset,
368
+ 'select:autofill': reset,
369
+ 'input:-webkit-autofill': reset,
370
+ 'textarea:-webkit-autofill': reset,
371
+ 'select:-webkit-autofill': reset,
372
+ })
373
+ })
374
+
package/windi.config.ts CHANGED
@@ -20,8 +20,8 @@ export default defineConfig({
20
20
  utilities.componentTypos,
21
21
  utilities.scrollbarBase,
22
22
  utilities.iconSizes,
23
+ utilities.resetFillFields,
23
24
  ],
24
-
25
25
  theme: {
26
26
  extend: {
27
27
  ...misc,