@countriesdb/widget-core 0.1.1 → 0.1.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/LICENSE +6 -0
- package/README.md +3 -4
- package/dist/esm/types.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
**Internal package** - Core TypeScript API client and utilities for CountriesDB widget and validation libraries. This package is intended for internal use by other CountriesDB packages only.
|
|
4
4
|
|
|
5
|
-
> ⚠️ **Not for direct use** - If you're looking to use CountriesDB in your project, please use the public
|
|
6
|
-
> - [`@countriesdb/widget`](
|
|
7
|
-
> - [`@countriesdb/react-widget`](../react-widget) - React components for CountriesDB
|
|
5
|
+
> ⚠️ **Not for direct use** - If you're looking to use CountriesDB in your project, please use the public package:
|
|
6
|
+
> - [`@countriesdb/widget`](https://www.npmjs.com/package/@countriesdb/widget) - Plain JavaScript widget for country/subdivision selects
|
|
8
7
|
>
|
|
9
8
|
> 📖 **[Full Documentation](https://countriesdb.com/docs)** | 🌐 **[Website](https://countriesdb.com)**
|
|
10
9
|
|
|
@@ -33,7 +32,7 @@ This package is automatically installed as a dependency of other CountriesDB pac
|
|
|
33
32
|
|
|
34
33
|
## License
|
|
35
34
|
|
|
36
|
-
PROPRIETARY - Copyright (c) NAYEE LLC. See [LICENSE](LICENSE) for details.
|
|
35
|
+
PROPRIETARY - Copyright (c) NAYEE LLC. See [LICENSE](https://github.com/countriesdb/countriesdb/blob/main/packages/npm/widget-core/LICENSE) for details.
|
|
37
36
|
|
|
38
37
|
**Developed by [NAYEE LLC](https://nayee.net)**
|
|
39
38
|
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export interface WidgetConfig {
|
|
|
71
71
|
isoCountryNames?: boolean;
|
|
72
72
|
subdivisionRomanizationPreference?: string;
|
|
73
73
|
preferLocalVariant?: boolean;
|
|
74
|
+
preferOfficialSubdivisions?: boolean;
|
|
74
75
|
countryNameFilter?: CountryNameFilter;
|
|
75
76
|
subdivisionNameFilter?: SubdivisionNameFilter;
|
|
76
77
|
autoInit?: boolean;
|
package/dist/types.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export interface WidgetConfig {
|
|
|
71
71
|
isoCountryNames?: boolean;
|
|
72
72
|
subdivisionRomanizationPreference?: string;
|
|
73
73
|
preferLocalVariant?: boolean;
|
|
74
|
+
preferOfficialSubdivisions?: boolean;
|
|
74
75
|
countryNameFilter?: CountryNameFilter;
|
|
75
76
|
subdivisionNameFilter?: SubdivisionNameFilter;
|
|
76
77
|
autoInit?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@countriesdb/widget-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Internal package - Core TypeScript API client and utilities for CountriesDB widget and validation libraries. Not intended for direct use.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|