@australiangreens/ag-internal-components 0.0.62 → 0.0.64
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/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/FetchAutocomplete/FetchAutocomplete.d.ts +8 -5
- package/dist/components/FetchAutocomplete/FetchAutocomplete.d.ts.map +1 -1
- package/dist/esm/index.js +454 -455
- package/dist/esm/index.js.map +1 -1
- package/dist/layouts/AppLayout/AppLayout.d.ts.map +1 -1
- package/dist/layouts/AppLayout/index.d.ts +0 -1
- package/dist/layouts/AppLayout/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -30,11 +30,14 @@ export interface FetchAutocompleteProps<EntityType extends AutocompleteGenericEn
|
|
|
30
30
|
* component. Passed directly to underlying MUI Autocomplete component.*/
|
|
31
31
|
disablePortal?: boolean;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* Used for the data-testid value of the outer most component. The underlying
|
|
34
|
+
* AutoComplete component has the id of this, followed by a colon then
|
|
35
|
+
* 'AutoComplete', while the text field is followed by 'TextField'.
|
|
36
|
+
*
|
|
37
|
+
* Currently has no default to avoid collisions. May change in future to
|
|
38
|
+
* simply be 'FetchAutocomplete' if that is not an issue.
|
|
36
39
|
*/
|
|
37
|
-
|
|
40
|
+
'data-testid'?: string;
|
|
38
41
|
loadingText?: string;
|
|
39
42
|
noOptionsText?: string;
|
|
40
43
|
error?: boolean;
|
|
@@ -49,5 +52,5 @@ export interface FetchAutocompleteProps<EntityType extends AutocompleteGenericEn
|
|
|
49
52
|
* as-you-type fetching from an api and styled the way we want it across the app
|
|
50
53
|
* by default.
|
|
51
54
|
*/
|
|
52
|
-
export default function FetchAutocomplete<EntityType extends AutocompleteGenericEntity>({ lookup, enableHighlighting, onChange, minLength, label, value,
|
|
55
|
+
export default function FetchAutocomplete<EntityType extends AutocompleteGenericEntity>({ lookup, enableHighlighting, onChange, minLength, label, value, 'data-testid': dataTestId, sx, textFieldColor, textFieldVariant, loadingText, noOptionsText, popupIcon, error, helperText, preLoadedOptions, disablePortal, }: FetchAutocompleteProps<EntityType>): JSX.Element;
|
|
53
56
|
//# sourceMappingURL=FetchAutocomplete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchAutocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/FetchAutocomplete/FetchAutocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAChF,OAAO,EASL,KAAK,EACL,OAAO,EACR,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,yBAAyB,EAEzB,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,sBAAsB,CAAC,UAAU,SAAS,yBAAyB;IAClF;;;;OAIG;IACH,QAAQ,EAAE,CACR,QAAQ,EAAE,UAAU,EAAE,EACtB,MAAM,EAAE,6BAA6B,EACrC,KAAK,EAAE,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,KAClC,OAAO,CAAC;IAEb,6CAA6C;IAC7C,KAAK,EAAE,UAAU,EAAE,CAAC;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IAEd,qFAAqF;IACrF,MAAM,CAAC,EAAE,CACP,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,WAAW,KACrB,OAAO,CAAC,UAAU,EAAE,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IAErD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IAE5C,qBAAqB;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;6EACyE;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB
|
|
1
|
+
{"version":3,"file":"FetchAutocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/FetchAutocomplete/FetchAutocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAChF,OAAO,EASL,KAAK,EACL,OAAO,EACR,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,yBAAyB,EAEzB,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,sBAAsB,CAAC,UAAU,SAAS,yBAAyB;IAClF;;;;OAIG;IACH,QAAQ,EAAE,CACR,QAAQ,EAAE,UAAU,EAAE,EACtB,MAAM,EAAE,6BAA6B,EACrC,KAAK,EAAE,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,KAClC,OAAO,CAAC;IAEb,6CAA6C;IAC7C,KAAK,EAAE,UAAU,EAAE,CAAC;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IAEd,qFAAqF;IACrF,MAAM,CAAC,EAAE,CACP,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,WAAW,KACrB,OAAO,CAAC,UAAU,EAAE,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IAErD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IAE5C,qBAAqB;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;6EACyE;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,E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