@bottlebooks/valid-values 6.9.6-alpha.3 → 7.0.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.
package/CHANGELOG.md CHANGED
@@ -3,16 +3,21 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [6.9.6-alpha.3](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@6.9.6-alpha.2...@bottlebooks/valid-values@6.9.6-alpha.3) (2023-05-30)
6
+ # [7.0.0](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@6.9.6-alpha.3...@bottlebooks/valid-values@7.0.0) (2023-05-30)
7
7
 
8
+ ### Features
8
9
 
9
- ### Bug Fixes
10
+ - valid-values & graphql-server changes ([e98a512](https://github.com/bottlebooks/bottlebooks/commit/e98a512650e8754d3c80f59a70195d9a752da8d4))
10
11
 
11
- * use single form for ingredients categories if only 1 ingredient is present ([0917ced](https://github.com/bottlebooks/bottlebooks/commit/0917cedb6bd81ac6b4d335fd82e39c106a39f3a4))
12
+ ### BREAKING CHANGES
12
13
 
14
+ - restricted access to private properties, analytics, energyKj, otherTranslations
13
15
 
16
+ ## [6.9.6-alpha.3](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@6.9.6-alpha.2...@bottlebooks/valid-values@6.9.6-alpha.3) (2023-05-30)
14
17
 
18
+ ### Bug Fixes
15
19
 
20
+ - use single form for ingredients categories if only 1 ingredient is present ([0917ced](https://github.com/bottlebooks/bottlebooks/commit/0917cedb6bd81ac6b4d335fd82e39c106a39f3a4))
16
21
 
17
22
  ## [6.9.6-alpha.2](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@6.9.6-alpha.0...@bottlebooks/valid-values@6.9.6-alpha.2) (2023-05-26)
18
23
 
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Notable changes
2
2
 
3
+ - [ingredientTag.$group & ingredientTag.$group.many in otherTranslations ](https://github.com/bottlebooks/bottlebooks/pull/1425);
3
4
  - [FIX: EE is not valid language codes](https://github.com/bottlebooks/bottlebooks/pull/1303);
4
5
  - [FEAT: Ingredients grouping & Contains](https://github.com/bottlebooks/bottlebooks/pull/1303);
5
6
  - [FIX: SE and SI are not valid language codes](https://github.com/bottlebooks/bottlebooks/pull/1258);
@@ -4745,7 +4745,7 @@ var allRegions = {
4745
4745
  id: 'validValues.region.za_swartland',
4746
4746
  message: 'Swartland'
4747
4747
  },
4748
- subregions: []
4748
+ subregions: ['za_riebeeksrivier', 'all_no-subregion']
4749
4749
  }),
4750
4750
  za_swellendam: region({
4751
4751
  key: 'za_swellendam',
@@ -1393,6 +1393,7 @@ declare const allSubregions: {
1393
1393
  readonly west_steiermark: ValidValueDefinition;
1394
1394
  readonly west_steiermark_lt2018: ValidValueDefinition;
1395
1395
  readonly wonnegau: ValidValueDefinition;
1396
+ readonly za_riebeeksrivier: ValidValueDefinition;
1396
1397
  };
1397
1398
  export declare type SubregionKey = keyof typeof allSubregions;
1398
1399
  export declare const byRegion: {};
@@ -1 +1 @@
1
- {"version":3,"file":"subregion.d.ts","sourceRoot":"","sources":["../../../src/validValues/subregion/subregion.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAO1E,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAshTT,CAAC;AAEX,oBAAY,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAEtD,eAAO,MAAM,QAAQ,IAQf,CAAC;AAEP,eAAe,aAAa,CAAC"}
@@ -12543,6 +12543,10 @@ var allSubregions = {
12543
12543
  id: 'validValues.subregion.wonnegau',
12544
12544
  message: 'Wonnegau'
12545
12545
  }
12546
+ }),
12547
+ za_riebeeksrivier: subregion({
12548
+ key: 'za_riebeeksrivier',
12549
+ label: 'Riebeeksrivier'
12546
12550
  })
12547
12551
  };
12548
12552
  var byRegion = Object.values(_region["default"]).reduce(function (acc, region) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@bottlebooks/valid-values",
3
3
  "description": "The Bottlebooks lookup values, defined globally.",
4
4
  "private": false,
5
- "version": "6.9.6-alpha.3",
5
+ "version": "7.0.0",
6
6
  "type": "commonjs",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -34,5 +34,5 @@
34
34
  "@babel/core": "^7.15.5",
35
35
  "@lingui/core": "3.14.0"
36
36
  },
37
- "gitHead": "315d1f1a2ba55eac98b6290f99ab5f54eb6a0fa5"
37
+ "gitHead": "5b987f3fe4789ec255190f6ab59683fb25b27f85"
38
38
  }
@@ -5303,7 +5303,7 @@ const allRegions = {
5303
5303
  id: 'validValues.region.za_swartland',
5304
5304
  message: 'Swartland',
5305
5305
  }),
5306
- subregions: [],
5306
+ subregions: ['za_riebeeksrivier', 'all_no-subregion'],
5307
5307
  }),
5308
5308
  za_swellendam: region({
5309
5309
  key: 'za_swellendam',
@@ -9753,6 +9753,10 @@ const allSubregions = {
9753
9753
  message: 'Wonnegau',
9754
9754
  }),
9755
9755
  }),
9756
+ za_riebeeksrivier: subregion({
9757
+ key: 'za_riebeeksrivier',
9758
+ label: 'Riebeeksrivier',
9759
+ }),
9756
9760
  } as const;
9757
9761
 
9758
9762
  export type SubregionKey = keyof typeof allSubregions;