@saasquatch/mint-components 2.3.0-11 → 2.3.0-12
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/{usePortalRegistrationForm-23ee2d62.js → AsYouType-d15caac8.js} +265 -223
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +14 -6
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +17 -13
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +3 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +5 -2
- package/dist/cjs/{sqm-user-info-form-view-8f7186b8.js → sqm-user-info-form-view-c2cad72c.js} +994 -8
- package/dist/cjs/subregions-3542b0b8.js +1068 -0
- package/dist/cjs/{useIndirectTaxForm-112914a0.js → useIndirectTaxForm-64c0231c.js} +3 -1
- package/dist/cjs/usePortalRegistrationForm-8a3a14ac.js +215 -0
- package/dist/collection/components/tax-and-cash/phoneExtensions.js +12 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +12 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +8 -5
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -5
- package/dist/collection/components/tax-and-cash/utils.js +30 -27
- package/dist/esm/{usePortalRegistrationForm-3a1f36a2.js → AsYouType-2d56519e.js} +248 -223
- package/dist/esm/sqm-banking-info-form_10.entry.js +14 -6
- package/dist/esm/sqm-big-stat_47.entry.js +16 -12
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +2 -1
- package/dist/esm/sqm-stencilbook.entry.js +5 -2
- package/dist/esm/{sqm-user-info-form-view-599a6922.js → sqm-user-info-form-view-5051c1d0.js} +992 -6
- package/dist/esm/subregions-7c5112e8.js +1055 -0
- package/dist/esm/{useIndirectTaxForm-a6ac7e7e.js → useIndirectTaxForm-d7d6be39.js} +3 -1
- package/dist/esm/usePortalRegistrationForm-78fdfd93.js +213 -0
- package/dist/esm-es5/AsYouType-2d56519e.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-5051c1d0.js +1 -0
- package/dist/esm-es5/subregions-7c5112e8.js +1 -0
- package/dist/esm-es5/{useIndirectTaxForm-a6ac7e7e.js → useIndirectTaxForm-d7d6be39.js} +2 -2
- package/dist/esm-es5/usePortalRegistrationForm-78fdfd93.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-0c6bd136.system.entry.js +1 -0
- package/dist/mint-components/{p-2d4132fb.js → p-1e1b03fa.js} +7 -5
- package/dist/mint-components/p-1e699fb8.entry.js +9 -0
- package/dist/mint-components/p-1f387c7b.system.js +1 -1
- package/dist/mint-components/p-29b267a9.system.entry.js +1 -0
- package/dist/mint-components/p-5959ebdb.system.js +1 -0
- package/dist/mint-components/p-5c3bff99.entry.js +1 -0
- package/dist/mint-components/p-5f8fa87c.js +1 -0
- package/dist/mint-components/p-6c9f7515.system.entry.js +1 -0
- package/dist/mint-components/p-769166a5.system.js +1 -0
- package/dist/mint-components/p-7c72eeb5.js +1 -0
- package/dist/mint-components/p-8dcd72fe.system.entry.js +1 -0
- package/dist/mint-components/p-a08157c4.js +1 -0
- package/dist/mint-components/p-a779e577.js +13 -0
- package/dist/mint-components/{p-339ce676.entry.js → p-aed3c69d.entry.js} +11 -11
- package/dist/mint-components/{p-86231add.entry.js → p-d0ed1c1b.entry.js} +8 -8
- package/dist/mint-components/p-d463fa82.system.js +1 -0
- package/dist/mint-components/{p-6ef373ed.system.js → p-d67f8e0f.system.js} +2 -2
- package/dist/mint-components/p-ee91aeac.system.js +1 -0
- package/dist/types/components/tax-and-cash/phoneExtensions.d.ts +12 -0
- package/dist/types/components/tax-and-cash/utils.d.ts +8 -2
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/cjs/subregions-984e30d7.js +0 -1505
- package/dist/esm/subregions-7c9778d0.js +0 -1492
- package/dist/esm-es5/sqm-user-info-form-view-599a6922.js +0 -1
- package/dist/esm-es5/subregions-7c9778d0.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-3a1f36a2.js +0 -1
- package/dist/mint-components/p-26a4ebfd.js +0 -1
- package/dist/mint-components/p-335a5736.entry.js +0 -1
- package/dist/mint-components/p-3a41b39c.js +0 -13
- package/dist/mint-components/p-40894343.entry.js +0 -9
- package/dist/mint-components/p-5fdf0286.system.js +0 -1
- package/dist/mint-components/p-7f29622d.js +0 -1
- package/dist/mint-components/p-81270b9f.system.js +0 -1
- package/dist/mint-components/p-b62d8b95.system.entry.js +0 -1
- package/dist/mint-components/p-bd03efe0.system.js +0 -1
- package/dist/mint-components/p-c9d2ccfc.system.entry.js +0 -1
- package/dist/mint-components/p-db6bf7cf.system.entry.js +0 -1
- package/dist/mint-components/p-f0ef09a0.system.entry.js +0 -1
|
@@ -219,6 +219,10 @@ export declare const PHONE_EXTENSIONS: {
|
|
|
219
219
|
name: string;
|
|
220
220
|
dial_code: string;
|
|
221
221
|
};
|
|
222
|
+
CW: {
|
|
223
|
+
name: string;
|
|
224
|
+
dial_code: string;
|
|
225
|
+
};
|
|
222
226
|
CY: {
|
|
223
227
|
name: string;
|
|
224
228
|
dial_code: string;
|
|
@@ -299,6 +303,10 @@ export declare const PHONE_EXTENSIONS: {
|
|
|
299
303
|
name: string;
|
|
300
304
|
dial_code: string;
|
|
301
305
|
};
|
|
306
|
+
TF: {
|
|
307
|
+
name: string;
|
|
308
|
+
dial_code: string;
|
|
309
|
+
};
|
|
302
310
|
GA: {
|
|
303
311
|
name: string;
|
|
304
312
|
dial_code: string;
|
|
@@ -955,6 +963,10 @@ export declare const PHONE_EXTENSIONS: {
|
|
|
955
963
|
name: string;
|
|
956
964
|
dial_code: string;
|
|
957
965
|
};
|
|
966
|
+
EH: {
|
|
967
|
+
name: string;
|
|
968
|
+
dial_code: string;
|
|
969
|
+
};
|
|
958
970
|
YE: {
|
|
959
971
|
name: string;
|
|
960
972
|
dial_code: string;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { TaxDocumentType } from "./data";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* Normalize user input to the domestic form Impact stores: digits only,
|
|
4
|
+
* with the country dial code and trunk-zero prefix removed.
|
|
5
|
+
*/
|
|
6
|
+
export declare function toDomesticNumber(phoneCountryCode: string | undefined, input: string | undefined): string;
|
|
7
|
+
/**
|
|
8
|
+
* Validates a phone number against both libphonenumber-js's per-country
|
|
9
|
+
* pattern rules AND Impact's I18nPhoneNumber length rules, applied to the
|
|
10
|
+
* sanitized value we'll submit.
|
|
5
11
|
*/
|
|
6
12
|
export declare function isValidI18nPhoneNumber(phoneCountryCode: string | undefined, phoneNumber: string | undefined): boolean;
|
|
7
13
|
export declare function validTaxDocument(requiredType: TaxDocumentType | undefined): boolean;
|
package/docs/docs.docx
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/mint-components",
|
|
3
3
|
"title": "Mint Components",
|
|
4
|
-
"version": "2.3.0-
|
|
4
|
+
"version": "2.3.0-12",
|
|
5
5
|
"description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.",
|
|
6
6
|
"icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg",
|
|
7
7
|
"raisins": "docs/raisins.json",
|