@bottlebooks/valid-values 10.31.2 → 10.31.3
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,6 +3,10 @@
|
|
|
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
|
+
## [10.31.3](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@10.31.2...@bottlebooks/valid-values@10.31.3) (2024-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @bottlebooks/valid-values
|
|
9
|
+
|
|
6
10
|
## [10.31.2](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@10.31.1...@bottlebooks/valid-values@10.31.2) (2024-08-14)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @bottlebooks/valid-values
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RegionKey } from '../region/region';
|
|
2
|
-
import { ValidValueDefinition } from '../types/ValidValueDefinition';
|
|
3
|
-
import { MessageDescriptor } from '@lingui/core';
|
|
1
|
+
import type { RegionKey } from '../region/region';
|
|
2
|
+
import type { ValidValueDefinition } from '../types/ValidValueDefinition';
|
|
3
|
+
import type { MessageDescriptor } from '@lingui/core';
|
|
4
4
|
export interface Country extends ValidValueDefinition {
|
|
5
5
|
regions?: readonly RegionKey[];
|
|
6
6
|
label: MessageDescriptor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country.d.ts","sourceRoot":"","sources":["../../../src/validValues/country/country.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"country.d.ts","sourceRoot":"","sources":["../../../src/validValues/country/country.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,WAAW,OAAQ,SAAQ,oBAAoB;IACnD,OAAO,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IAE/B,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AAKD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAorDR,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,YAAY,CAAC;AAEnD,eAAe,YAAY,CAAC"}
|
|
@@ -491,7 +491,7 @@ var allCountries = {
|
|
|
491
491
|
id: 'validValues.country.gb_eng',
|
|
492
492
|
message: 'England'
|
|
493
493
|
},
|
|
494
|
-
regions: []
|
|
494
|
+
regions: ['gb_kent', 'gb_norfolk', 'gb_suffolk', 'gb_somerset', 'gb_surrey', 'gb_sussex', 'gb_west_sussex', 'gb_east_Sussex', 'gb_hampshire', 'gb_cornwall', 'gb_devon', 'gb_dorset', 'gb_berkshire', 'gb_wiltshire', 'all_nonregional']
|
|
495
495
|
}),
|
|
496
496
|
gb_nir: country({
|
|
497
497
|
key: 'gb_nir',
|
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": "10.31.
|
|
5
|
+
"version": "10.31.3",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@lingui/core": "3.14.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "4bd8dceb30936f2b7f1f66e63769ffd79f879938"
|
|
40
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineMessage } from '@lingui/macro';
|
|
2
|
-
import { RegionKey } from '../region/region';
|
|
3
|
-
import { ValidValueDefinition } from '../types/ValidValueDefinition';
|
|
4
|
-
import { MessageDescriptor } from '@lingui/core';
|
|
2
|
+
import type { RegionKey } from '../region/region';
|
|
3
|
+
import type { ValidValueDefinition } from '../types/ValidValueDefinition';
|
|
4
|
+
import type { MessageDescriptor } from '@lingui/core';
|
|
5
5
|
|
|
6
6
|
export interface Country extends ValidValueDefinition {
|
|
7
7
|
regions?: readonly RegionKey[];
|
|
@@ -667,7 +667,23 @@ const allCountries = {
|
|
|
667
667
|
id: 'validValues.country.gb_eng',
|
|
668
668
|
message: 'England',
|
|
669
669
|
}),
|
|
670
|
-
regions: [
|
|
670
|
+
regions: [
|
|
671
|
+
'gb_kent',
|
|
672
|
+
'gb_norfolk',
|
|
673
|
+
'gb_suffolk',
|
|
674
|
+
'gb_somerset',
|
|
675
|
+
'gb_surrey',
|
|
676
|
+
'gb_sussex',
|
|
677
|
+
'gb_west_sussex',
|
|
678
|
+
'gb_east_Sussex',
|
|
679
|
+
'gb_hampshire',
|
|
680
|
+
'gb_cornwall',
|
|
681
|
+
'gb_devon',
|
|
682
|
+
'gb_dorset',
|
|
683
|
+
'gb_berkshire',
|
|
684
|
+
'gb_wiltshire',
|
|
685
|
+
'all_nonregional',
|
|
686
|
+
],
|
|
671
687
|
}),
|
|
672
688
|
gb_nir: country({
|
|
673
689
|
key: 'gb_nir',
|