@australiangreens/ag-internal-components 0.3.5 → 0.3.6

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/README.md CHANGED
@@ -13,7 +13,7 @@ Generally, all that will be needed is to use a theme provider with the
13
13
  components:
14
14
 
15
15
  ```ts
16
- import {internalAgSystemsTheme} from '@australiagreens/ag-internal-components';
16
+ import {internalAgSystemsTheme} from '@australiangreens/ag-internal-components';
17
17
 
18
18
  <ThemeProvider theme={fed21Theme}>
19
19
  <App />
@@ -31,7 +31,7 @@ with `internalAgSystemsTheme` or just ensure all required properties in the
31
31
  We are now at version 22 of node, with React 19 and Vite 7. We use pnpm for
32
32
  development.
33
33
 
34
- ## Development with pnpm link.
34
+ ## Development with pnpm link
35
35
 
36
36
  If you wish to give the latest version of `ag-internal-components` a red hot go with
37
37
  your calling application (like ListManager), add this to its `package.json`, or
@@ -1,7 +1,9 @@
1
1
  export type AutocompleteGenericEntityIdType = number | string;
2
- /** These are an extension of the reasons for MUI's Autocomplete. We add delete
3
- * reason. */
4
- export type FetchAutocompleteChangeReason = 'createOption' | 'selectOption' | 'removeOption' | 'blur' | 'clear' | 'delete';
2
+ /**
3
+ * These are an extension of the reasons for MUI's Autocomplete. We add
4
+ * 'delete', 'setIsTemplatePlaceholder' and 'unsetIsTemplatePlaceholder' reason.
5
+ */
6
+ export type FetchAutocompleteChangeReason = 'createOption' | 'selectOption' | 'removeOption' | 'blur' | 'clear' | 'delete' | 'setIsTemplatePlaceholder' | 'unsetIsTemplatePlaceholder';
5
7
  export interface AutocompleteGenericEntity {
6
8
  id: AutocompleteGenericEntityIdType;
7
9
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+BAA+B,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9D;aACa;AACb,MAAM,MAAM,6BAA6B,GACrC,cAAc,GACd,cAAc,GACd,cAAc,GACd,MAAM,GACN,OAAO,GACP,QAAQ,CAAC;AAEb,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,+BAA+B,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+BAA+B,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9D;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GACrC,cAAc,GACd,cAAc,GACd,cAAc,GACd,MAAM,GACN,OAAO,GACP,QAAQ,GACR,0BAA0B,GAC1B,4BAA4B,CAAC;AAEjC,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,+BAA+B,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@australiangreens/ag-internal-components",
3
3
  "private": false,
4
- "version": "0.3.5",
4
+ "version": "0.3.6",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/australiangreens/ag-internal-components#readme",
7
7
  "license": "MIT",
@@ -126,4 +126,4 @@
126
126
  "engines": {
127
127
  "node": ">=18.17.0"
128
128
  }
129
- }
129
+ }