@vritti/quantum-ui 0.2.1 → 0.2.2
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/dist/axios.js +22 -6
- package/dist/axios.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -175,12 +175,6 @@ export declare interface CsrfConfig {
|
|
|
175
175
|
headerName: string;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
declare let currentConfig: {
|
|
179
|
-
csrf: CsrfConfig;
|
|
180
|
-
axios: AxiosConfig;
|
|
181
|
-
auth: AuthConfig;
|
|
182
|
-
};
|
|
183
|
-
|
|
184
178
|
export declare const DatePicker: React_2.ForwardRefExoticComponent<DatePickerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
185
179
|
|
|
186
180
|
export declare interface DatePickerProps {
|
|
@@ -197,6 +191,12 @@ export declare interface DatePickerProps {
|
|
|
197
191
|
id?: string;
|
|
198
192
|
}
|
|
199
193
|
|
|
194
|
+
declare const defaultConfig: Required<{
|
|
195
|
+
csrf: CsrfConfig;
|
|
196
|
+
axios: AxiosConfig;
|
|
197
|
+
auth: AuthConfig;
|
|
198
|
+
}>;
|
|
199
|
+
|
|
200
200
|
export declare function defineConfig(config: QuantumUIConfig): QuantumUIConfig;
|
|
201
201
|
|
|
202
202
|
export declare function Field({
|
|
@@ -424,7 +424,7 @@ export declare interface FormProps<TFieldValues extends FieldValues = FieldValue
|
|
|
424
424
|
transformSubmit?: (data: TTransformedValues extends undefined ? TFieldValues : TTransformedValues) => TMutationVariables;
|
|
425
425
|
}
|
|
426
426
|
|
|
427
|
-
export declare function getConfig(): typeof
|
|
427
|
+
export declare function getConfig(): typeof defaultConfig;
|
|
428
428
|
|
|
429
429
|
export declare const getCsrfToken: () => string | null;
|
|
430
430
|
|