@terreno/ui 57.19.2 → 57.20.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/.ai/guidelines/core.md +1 -1
- package/CHANGELOG.md +393 -0
- package/dist/Accordion.d.ts.map +1 -1
- package/dist/Accordion.js +3 -3
- package/dist/Accordion.js.map +1 -1
- package/dist/Avatar.d.ts.map +1 -1
- package/dist/Avatar.js +3 -1
- package/dist/Avatar.js.map +1 -1
- package/dist/Box.d.ts.map +1 -1
- package/dist/Box.js +38 -2
- package/dist/Box.js.map +1 -1
- package/dist/Card.js +2 -2
- package/dist/Card.js.map +1 -1
- package/dist/Common.d.ts +120 -7
- package/dist/Common.d.ts.map +1 -1
- package/dist/Common.js.map +1 -1
- package/dist/ConsentFormScreen.d.ts +1 -1
- package/dist/ConsentFormScreen.d.ts.map +1 -1
- package/dist/ConsentFormScreen.js +13 -4
- package/dist/ConsentFormScreen.js.map +1 -1
- package/dist/DateTimeField.d.ts.map +1 -1
- package/dist/DateTimeField.js +5 -3
- package/dist/DateTimeField.js.map +1 -1
- package/dist/Field.d.ts.map +1 -1
- package/dist/Field.js +2 -0
- package/dist/Field.js.map +1 -1
- package/dist/FormContainer.d.ts +68 -0
- package/dist/FormContainer.d.ts.map +1 -0
- package/dist/FormContainer.js +79 -0
- package/dist/FormContainer.js.map +1 -0
- package/dist/GPTChat.d.ts.map +1 -1
- package/dist/GPTChat.js +2 -1
- package/dist/GPTChat.js.map +1 -1
- package/dist/Heading.d.ts +1 -1
- package/dist/Heading.d.ts.map +1 -1
- package/dist/Heading.js +5 -2
- package/dist/Heading.js.map +1 -1
- package/dist/Icon.d.ts +4 -0
- package/dist/Icon.d.ts.map +1 -1
- package/dist/Icon.js +43 -2
- package/dist/Icon.js.map +1 -1
- package/dist/LabeledCheckBox.d.ts +22 -0
- package/dist/LabeledCheckBox.d.ts.map +1 -0
- package/dist/LabeledCheckBox.js +30 -0
- package/dist/LabeledCheckBox.js.map +1 -0
- package/dist/ListDetailLayout.d.ts +36 -0
- package/dist/ListDetailLayout.d.ts.map +1 -0
- package/dist/ListDetailLayout.js +153 -0
- package/dist/ListDetailLayout.js.map +1 -0
- package/dist/MarkdownEditor.d.ts.map +1 -1
- package/dist/MarkdownEditor.js +2 -1
- package/dist/MarkdownEditor.js.map +1 -1
- package/dist/MediaQuery.d.ts +1 -1
- package/dist/MediaQuery.d.ts.map +1 -1
- package/dist/MediaQuery.js +1 -1
- package/dist/MediaQuery.js.map +1 -1
- package/dist/OtpField.d.ts +60 -0
- package/dist/OtpField.d.ts.map +1 -0
- package/dist/OtpField.js +154 -0
- package/dist/OtpField.js.map +1 -0
- package/dist/ProvisionalConsentSigner.d.ts +21 -0
- package/dist/ProvisionalConsentSigner.d.ts.map +1 -0
- package/dist/ProvisionalConsentSigner.js +199 -0
- package/dist/ProvisionalConsentSigner.js.map +1 -0
- package/dist/ResponsiveBreakpoint.d.ts +5 -0
- package/dist/ResponsiveBreakpoint.d.ts.map +1 -1
- package/dist/ResponsiveBreakpoint.js +7 -0
- package/dist/ResponsiveBreakpoint.js.map +1 -1
- package/dist/SocialLoginButton.d.ts +10 -0
- package/dist/SocialLoginButton.d.ts.map +1 -1
- package/dist/SocialLoginButton.js +26 -8
- package/dist/SocialLoginButton.js.map +1 -1
- package/dist/SplitPage.d.ts +11 -0
- package/dist/SplitPage.d.ts.map +1 -1
- package/dist/SplitPage.js +11 -5
- package/dist/SplitPage.js.map +1 -1
- package/dist/SplitPage.native.d.ts.map +1 -1
- package/dist/SplitPage.native.js +3 -1
- package/dist/SplitPage.native.js.map +1 -1
- package/dist/SyncStatusBanner.d.ts +7 -1
- package/dist/SyncStatusBanner.d.ts.map +1 -1
- package/dist/SyncStatusBanner.js +20 -4
- package/dist/SyncStatusBanner.js.map +1 -1
- package/dist/TextField.d.ts.map +1 -1
- package/dist/TextField.js +44 -10
- package/dist/TextField.js.map +1 -1
- package/dist/fieldElements/FieldError.d.ts.map +1 -1
- package/dist/fieldElements/FieldError.js +1 -1
- package/dist/fieldElements/FieldError.js.map +1 -1
- package/dist/index.d.ts +19 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/lazyBoundaries/heavyOptionalExports.d.ts +3 -0
- package/dist/lazyBoundaries/heavyOptionalExports.d.ts.map +1 -1
- package/dist/lazyBoundaries/heavyOptionalExports.js +2 -0
- package/dist/lazyBoundaries/heavyOptionalExports.js.map +1 -1
- package/dist/login/LastUsedBadge.d.ts +14 -0
- package/dist/login/LastUsedBadge.d.ts.map +1 -0
- package/dist/login/LastUsedBadge.js +23 -0
- package/dist/login/LastUsedBadge.js.map +1 -0
- package/dist/login/LoginAccountCard.d.ts +38 -0
- package/dist/login/LoginAccountCard.d.ts.map +1 -0
- package/dist/login/LoginAccountCard.js +72 -0
- package/dist/login/LoginAccountCard.js.map +1 -0
- package/dist/login/LoginAccountList.d.ts +33 -0
- package/dist/login/LoginAccountList.d.ts.map +1 -0
- package/dist/login/LoginAccountList.js +30 -0
- package/dist/login/LoginAccountList.js.map +1 -0
- package/dist/login/LoginScreen.d.ts +4 -4
- package/dist/login/LoginScreen.d.ts.map +1 -1
- package/dist/login/LoginScreen.js +294 -13
- package/dist/login/LoginScreen.js.map +1 -1
- package/dist/login/OutlinePill.d.ts +28 -0
- package/dist/login/OutlinePill.d.ts.map +1 -0
- package/dist/login/OutlinePill.js +48 -0
- package/dist/login/OutlinePill.js.map +1 -0
- package/dist/login/TwoFactorChallengeScreen.d.ts +26 -0
- package/dist/login/TwoFactorChallengeScreen.d.ts.map +1 -0
- package/dist/login/TwoFactorChallengeScreen.js +139 -0
- package/dist/login/TwoFactorChallengeScreen.js.map +1 -0
- package/dist/login/loginMethods.d.ts +27 -0
- package/dist/login/loginMethods.d.ts.map +1 -0
- package/dist/login/loginMethods.js +37 -0
- package/dist/login/loginMethods.js.map +1 -0
- package/dist/login/loginTypes.d.ts +202 -5
- package/dist/login/loginTypes.d.ts.map +1 -1
- package/dist/pdfHtmlTemplate.d.ts +17 -0
- package/dist/pdfHtmlTemplate.d.ts.map +1 -1
- package/dist/pdfHtmlTemplate.js +78 -0
- package/dist/pdfHtmlTemplate.js.map +1 -1
- package/dist/security/AccountSecurityScreen.d.ts +10 -0
- package/dist/security/AccountSecurityScreen.d.ts.map +1 -0
- package/dist/security/AccountSecurityScreen.js +50 -0
- package/dist/security/AccountSecurityScreen.js.map +1 -0
- package/dist/security/LinkedAccountsCard.d.ts +32 -0
- package/dist/security/LinkedAccountsCard.d.ts.map +1 -0
- package/dist/security/LinkedAccountsCard.js +145 -0
- package/dist/security/LinkedAccountsCard.js.map +1 -0
- package/dist/security/PasskeysCard.d.ts +39 -0
- package/dist/security/PasskeysCard.d.ts.map +1 -0
- package/dist/security/PasskeysCard.js +168 -0
- package/dist/security/PasskeysCard.js.map +1 -0
- package/dist/security/PasswordCard.d.ts +32 -0
- package/dist/security/PasswordCard.d.ts.map +1 -0
- package/dist/security/PasswordCard.js +198 -0
- package/dist/security/PasswordCard.js.map +1 -0
- package/dist/security/SessionsCard.d.ts +39 -0
- package/dist/security/SessionsCard.d.ts.map +1 -0
- package/dist/security/SessionsCard.js +168 -0
- package/dist/security/SessionsCard.js.map +1 -0
- package/dist/security/TwoFactorSettingsCard.d.ts +55 -0
- package/dist/security/TwoFactorSettingsCard.d.ts.map +1 -0
- package/dist/security/TwoFactorSettingsCard.js +458 -0
- package/dist/security/TwoFactorSettingsCard.js.map +1 -0
- package/dist/security/securityMethods.d.ts +40 -0
- package/dist/security/securityMethods.d.ts.map +1 -0
- package/dist/security/securityMethods.js +66 -0
- package/dist/security/securityMethods.js.map +1 -0
- package/dist/security/securityTypes.d.ts +467 -0
- package/dist/security/securityTypes.d.ts.map +1 -0
- package/dist/security/securityTypes.js +2 -0
- package/dist/security/securityTypes.js.map +1 -0
- package/dist/security/userAgent.d.ts +26 -0
- package/dist/security/userAgent.d.ts.map +1 -0
- package/dist/security/userAgent.js +80 -0
- package/dist/security/userAgent.js.map +1 -0
- package/dist/signUp/OAuthButtons.d.ts +28 -5
- package/dist/signUp/OAuthButtons.d.ts.map +1 -1
- package/dist/signUp/OAuthButtons.js +44 -5
- package/dist/signUp/OAuthButtons.js.map +1 -1
- package/dist/signUp/SignUpScreen.d.ts.map +1 -1
- package/dist/signUp/SignUpScreen.js +50 -5
- package/dist/signUp/SignUpScreen.js.map +1 -1
- package/dist/signUp/signUpTypes.d.ts +21 -1
- package/dist/signUp/signUpTypes.d.ts.map +1 -1
- package/dist/useConsentForms.d.ts +9 -0
- package/dist/useConsentForms.d.ts.map +1 -1
- package/dist/useConsentForms.js +18 -0
- package/dist/useConsentForms.js.map +1 -1
- package/dist/useProvisionalConsent.d.ts +124 -0
- package/dist/useProvisionalConsent.d.ts.map +1 -0
- package/dist/useProvisionalConsent.js +79 -0
- package/dist/useProvisionalConsent.js.map +1 -0
- package/package.json +3 -2
- package/src/Accordion.test.tsx +5 -0
- package/src/Accordion.tsx +3 -8
- package/src/AreaChart.test.tsx +15 -0
- package/src/Avatar.test.tsx +8 -0
- package/src/Avatar.tsx +2 -0
- package/src/BarChart.test.tsx +15 -0
- package/src/Box.test.tsx +61 -1
- package/src/Box.tsx +44 -2
- package/src/Card.tsx +2 -2
- package/src/Common.ts +134 -7
- package/src/ConsentFormScreen.test.tsx +84 -0
- package/src/ConsentFormScreen.tsx +28 -4
- package/src/DateTimeField.tsx +5 -3
- package/src/DonutChart.test.tsx +15 -0
- package/src/Field.tsx +2 -0
- package/src/FilePickerButton.test.tsx +35 -0
- package/src/FormContainer.test.tsx +242 -0
- package/src/FormContainer.tsx +177 -0
- package/src/GPTChat.test.tsx +16 -0
- package/src/GPTChat.tsx +8 -2
- package/src/Heading.test.tsx +14 -0
- package/src/Heading.tsx +6 -1
- package/src/Icon.test.tsx +52 -1
- package/src/Icon.tsx +92 -3
- package/src/IconButton.test.tsx +85 -0
- package/src/LabeledCheckBox.test.tsx +45 -0
- package/src/LabeledCheckBox.tsx +89 -0
- package/src/ListDetailLayout.tsx +247 -0
- package/src/MarkdownEditor.tsx +2 -1
- package/src/MediaQuery.ts +1 -0
- package/src/OtpField.test.tsx +280 -0
- package/src/OtpField.tsx +307 -0
- package/src/ProvisionalConsentSigner.test.tsx +625 -0
- package/src/ProvisionalConsentSigner.tsx +423 -0
- package/src/ResponsiveBreakpoint.test.tsx +7 -0
- package/src/ResponsiveBreakpoint.tsx +14 -0
- package/src/RootImportRegression.test.tsx +3 -0
- package/src/SocialLoginButton.test.tsx +14 -0
- package/src/SocialLoginButton.tsx +51 -7
- package/src/SplitPage.native.tsx +3 -1
- package/src/SplitPage.tsx +11 -5
- package/src/SyncStatusBanner.test.tsx +61 -4
- package/src/SyncStatusBanner.tsx +29 -3
- package/src/TextField.test.tsx +150 -0
- package/src/TextField.tsx +66 -8
- package/src/__snapshots__/AddressField.test.tsx.snap +12 -0
- package/src/__snapshots__/AiSuggestionBox.test.tsx.snap +15 -0
- package/src/__snapshots__/Avatar.test.tsx.snap +1 -0
- package/src/__snapshots__/CustomSelectField.test.tsx.snap +3 -0
- package/src/__snapshots__/EmailField.test.tsx.snap +6 -0
- package/src/__snapshots__/Field.test.tsx.snap +37 -0
- package/src/__snapshots__/HeightField.test.tsx.snap +2 -0
- package/src/__snapshots__/MobileAddressAutoComplete.test.tsx.snap +3 -0
- package/src/__snapshots__/NumberField.test.tsx.snap +3 -0
- package/src/__snapshots__/PhoneNumberField.test.tsx.snap +12 -0
- package/src/__snapshots__/Slider.test.tsx.snap +1 -0
- package/src/__snapshots__/SocialLoginButton.test.tsx.snap +43 -22
- package/src/__snapshots__/TapToEdit.test.tsx.snap +3 -0
- package/src/__snapshots__/TextArea.test.tsx.snap +17 -1
- package/src/__snapshots__/TextField.test.tsx.snap +19 -2
- package/src/__snapshots__/TypedSignatureField.test.tsx.snap +3 -0
- package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +18 -0
- package/src/__snapshots__/WebAddressAutocomplete.test.tsx.snap +12 -0
- package/src/bunSetup.ts +13 -1
- package/src/fieldElements/FieldError.tsx +1 -0
- package/src/fieldElements/__snapshots__/FieldError.test.tsx.snap +2 -0
- package/src/index.tsx +42 -1
- package/src/isolated/ListDetailLayout.isolated.tsx +634 -0
- package/src/lazyBoundaries/heavyOptionalExports.tsx +7 -0
- package/src/login/LastUsedBadge.tsx +40 -0
- package/src/login/LoginAccountCard.tsx +205 -0
- package/src/login/LoginAccountList.tsx +115 -0
- package/src/login/LoginScreen.test.tsx +837 -1
- package/src/login/LoginScreen.tsx +674 -91
- package/src/login/OutlinePill.tsx +110 -0
- package/src/login/TwoFactorChallengeScreen.test.tsx +376 -0
- package/src/login/TwoFactorChallengeScreen.tsx +307 -0
- package/src/login/__snapshots__/LoginScreen.test.tsx.snap +1454 -334
- package/src/login/loginMethods.test.ts +53 -0
- package/src/login/loginMethods.ts +60 -0
- package/src/login/loginTypes.ts +208 -5
- package/src/pdfHtmlTemplate.test.ts +243 -4
- package/src/pdfHtmlTemplate.ts +93 -0
- package/src/security/AccountSecurityScreen.test.tsx +262 -0
- package/src/security/AccountSecurityScreen.tsx +156 -0
- package/src/security/LinkedAccountsCard.test.tsx +371 -0
- package/src/security/LinkedAccountsCard.tsx +297 -0
- package/src/security/PasskeysCard.test.tsx +378 -0
- package/src/security/PasskeysCard.tsx +371 -0
- package/src/security/PasswordCard.test.tsx +445 -0
- package/src/security/PasswordCard.tsx +342 -0
- package/src/security/SessionsCard.test.tsx +349 -0
- package/src/security/SessionsCard.tsx +362 -0
- package/src/security/TwoFactorSettingsCard.test.tsx +700 -0
- package/src/security/TwoFactorSettingsCard.tsx +872 -0
- package/src/security/securityMethods.test.ts +101 -0
- package/src/security/securityMethods.ts +104 -0
- package/src/security/securityTypes.ts +480 -0
- package/src/security/userAgent.test.ts +119 -0
- package/src/security/userAgent.ts +102 -0
- package/src/signUp/OAuthButtons.test.tsx +27 -0
- package/src/signUp/OAuthButtons.tsx +153 -19
- package/src/signUp/SignUpScreen.test.tsx +170 -1
- package/src/signUp/SignUpScreen.tsx +87 -25
- package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +22 -11
- package/src/signUp/signUpTypes.ts +23 -1
- package/src/useConsentForms.test.ts +37 -1
- package/src/useConsentForms.ts +25 -0
- package/src/useProvisionalConsent.test.ts +256 -0
- package/src/useProvisionalConsent.ts +218 -0
|
@@ -18,6 +18,8 @@ exports[`TextField snapshots should match snapshot with default props 1`] = `
|
|
|
18
18
|
"accessibilityState": {
|
|
19
19
|
"disabled": undefined,
|
|
20
20
|
},
|
|
21
|
+
"aria-describedby": undefined,
|
|
22
|
+
"aria-invalid": false,
|
|
21
23
|
"aria-label": "Text input field",
|
|
22
24
|
"autoCapitalize": "sentences",
|
|
23
25
|
"autoCorrect": true,
|
|
@@ -44,6 +46,7 @@ exports[`TextField snapshots should match snapshot with default props 1`] = `
|
|
|
44
46
|
"fontSize": 16,
|
|
45
47
|
"gap": 10,
|
|
46
48
|
"height": 24,
|
|
49
|
+
"letterSpacing": undefined,
|
|
47
50
|
"paddingVertical": 0,
|
|
48
51
|
"width": "100%",
|
|
49
52
|
},
|
|
@@ -142,6 +145,7 @@ exports[`TextField snapshots should match snapshot with all props 1`] = `
|
|
|
142
145
|
},
|
|
143
146
|
],
|
|
144
147
|
"props": {
|
|
148
|
+
"nativeID": undefined,
|
|
145
149
|
"style": {
|
|
146
150
|
"alignItems": "center",
|
|
147
151
|
"flexDirection": "row",
|
|
@@ -165,6 +169,8 @@ exports[`TextField snapshots should match snapshot with all props 1`] = `
|
|
|
165
169
|
"accessibilityState": {
|
|
166
170
|
"disabled": false,
|
|
167
171
|
},
|
|
172
|
+
"aria-describedby": undefined,
|
|
173
|
+
"aria-invalid": true,
|
|
168
174
|
"aria-label": "Text input field",
|
|
169
175
|
"autoCapitalize": "sentences",
|
|
170
176
|
"autoCorrect": true,
|
|
@@ -191,6 +197,7 @@ exports[`TextField snapshots should match snapshot with all props 1`] = `
|
|
|
191
197
|
"fontSize": 16,
|
|
192
198
|
"gap": 10,
|
|
193
199
|
"height": 24,
|
|
200
|
+
"letterSpacing": undefined,
|
|
194
201
|
"paddingVertical": 0,
|
|
195
202
|
"width": "100%",
|
|
196
203
|
},
|
|
@@ -226,7 +233,7 @@ exports[`TextField snapshots should match snapshot with all props 1`] = `
|
|
|
226
233
|
"backgroundColor": "#FFFFFF",
|
|
227
234
|
"borderColor": "#D33232",
|
|
228
235
|
"borderRadius": 4,
|
|
229
|
-
"borderWidth":
|
|
236
|
+
"borderWidth": 2,
|
|
230
237
|
"flexDirection": "column",
|
|
231
238
|
"gap": 0,
|
|
232
239
|
"overflow": "hidden",
|
|
@@ -311,6 +318,8 @@ exports[`TextField snapshots should match snapshot when disabled 1`] = `
|
|
|
311
318
|
"accessibilityState": {
|
|
312
319
|
"disabled": true,
|
|
313
320
|
},
|
|
321
|
+
"aria-describedby": undefined,
|
|
322
|
+
"aria-invalid": false,
|
|
314
323
|
"aria-label": "Text input field",
|
|
315
324
|
"autoCapitalize": "sentences",
|
|
316
325
|
"autoCorrect": true,
|
|
@@ -337,6 +346,7 @@ exports[`TextField snapshots should match snapshot when disabled 1`] = `
|
|
|
337
346
|
"fontSize": 16,
|
|
338
347
|
"gap": 10,
|
|
339
348
|
"height": 24,
|
|
349
|
+
"letterSpacing": undefined,
|
|
340
350
|
"paddingVertical": 0,
|
|
341
351
|
"width": "100%",
|
|
342
352
|
},
|
|
@@ -419,6 +429,8 @@ exports[`TextField snapshots should match snapshot with multiline 1`] = `
|
|
|
419
429
|
"accessibilityState": {
|
|
420
430
|
"disabled": undefined,
|
|
421
431
|
},
|
|
432
|
+
"aria-describedby": undefined,
|
|
433
|
+
"aria-invalid": false,
|
|
422
434
|
"aria-label": "Text input field",
|
|
423
435
|
"autoCapitalize": "sentences",
|
|
424
436
|
"autoCorrect": true,
|
|
@@ -445,6 +457,7 @@ exports[`TextField snapshots should match snapshot with multiline 1`] = `
|
|
|
445
457
|
"fontSize": 16,
|
|
446
458
|
"gap": 10,
|
|
447
459
|
"height": 120,
|
|
460
|
+
"letterSpacing": undefined,
|
|
448
461
|
"paddingVertical": 0,
|
|
449
462
|
"width": "100%",
|
|
450
463
|
},
|
|
@@ -543,6 +556,7 @@ exports[`TextField snapshots should match snapshot with error state 1`] = `
|
|
|
543
556
|
},
|
|
544
557
|
],
|
|
545
558
|
"props": {
|
|
559
|
+
"nativeID": undefined,
|
|
546
560
|
"style": {
|
|
547
561
|
"alignItems": "center",
|
|
548
562
|
"flexDirection": "row",
|
|
@@ -566,6 +580,8 @@ exports[`TextField snapshots should match snapshot with error state 1`] = `
|
|
|
566
580
|
"accessibilityState": {
|
|
567
581
|
"disabled": undefined,
|
|
568
582
|
},
|
|
583
|
+
"aria-describedby": undefined,
|
|
584
|
+
"aria-invalid": true,
|
|
569
585
|
"aria-label": "Text input field",
|
|
570
586
|
"autoCapitalize": "sentences",
|
|
571
587
|
"autoCorrect": true,
|
|
@@ -592,6 +608,7 @@ exports[`TextField snapshots should match snapshot with error state 1`] = `
|
|
|
592
608
|
"fontSize": 16,
|
|
593
609
|
"gap": 10,
|
|
594
610
|
"height": 24,
|
|
611
|
+
"letterSpacing": undefined,
|
|
595
612
|
"paddingVertical": 0,
|
|
596
613
|
"width": "100%",
|
|
597
614
|
},
|
|
@@ -618,7 +635,7 @@ exports[`TextField snapshots should match snapshot with error state 1`] = `
|
|
|
618
635
|
"backgroundColor": "#FFFFFF",
|
|
619
636
|
"borderColor": "#D33232",
|
|
620
637
|
"borderRadius": 4,
|
|
621
|
-
"borderWidth":
|
|
638
|
+
"borderWidth": 2,
|
|
622
639
|
"flexDirection": "column",
|
|
623
640
|
"gap": 0,
|
|
624
641
|
"overflow": "hidden",
|
|
@@ -54,6 +54,8 @@ exports[`TypedSignatureField renders correctly with default props 1`] = `
|
|
|
54
54
|
"accessibilityState": {
|
|
55
55
|
"disabled": false,
|
|
56
56
|
},
|
|
57
|
+
"aria-describedby": undefined,
|
|
58
|
+
"aria-invalid": false,
|
|
57
59
|
"aria-label": "Text input field",
|
|
58
60
|
"autoCapitalize": "sentences",
|
|
59
61
|
"autoCorrect": true,
|
|
@@ -80,6 +82,7 @@ exports[`TypedSignatureField renders correctly with default props 1`] = `
|
|
|
80
82
|
"fontSize": 16,
|
|
81
83
|
"gap": 10,
|
|
82
84
|
"height": 24,
|
|
85
|
+
"letterSpacing": undefined,
|
|
83
86
|
"paddingVertical": 0,
|
|
84
87
|
"width": "100%",
|
|
85
88
|
},
|
|
@@ -33,6 +33,8 @@ exports[`UnifiedAddressAutoCompleteField renders plain TextField when no API key
|
|
|
33
33
|
"accessibilityState": {
|
|
34
34
|
"disabled": undefined,
|
|
35
35
|
},
|
|
36
|
+
"aria-describedby": undefined,
|
|
37
|
+
"aria-invalid": false,
|
|
36
38
|
"aria-label": "Text input field",
|
|
37
39
|
"autoCapitalize": "sentences",
|
|
38
40
|
"autoCorrect": true,
|
|
@@ -59,6 +61,7 @@ exports[`UnifiedAddressAutoCompleteField renders plain TextField when no API key
|
|
|
59
61
|
"fontSize": 16,
|
|
60
62
|
"gap": 10,
|
|
61
63
|
"height": 24,
|
|
64
|
+
"letterSpacing": undefined,
|
|
62
65
|
"paddingVertical": 0,
|
|
63
66
|
"width": "100%",
|
|
64
67
|
},
|
|
@@ -141,6 +144,8 @@ exports[`UnifiedAddressAutoCompleteField renders plain TextField when API key is
|
|
|
141
144
|
"accessibilityState": {
|
|
142
145
|
"disabled": undefined,
|
|
143
146
|
},
|
|
147
|
+
"aria-describedby": undefined,
|
|
148
|
+
"aria-invalid": false,
|
|
144
149
|
"aria-label": "Text input field",
|
|
145
150
|
"autoCapitalize": "sentences",
|
|
146
151
|
"autoCorrect": true,
|
|
@@ -167,6 +172,7 @@ exports[`UnifiedAddressAutoCompleteField renders plain TextField when API key is
|
|
|
167
172
|
"fontSize": 16,
|
|
168
173
|
"gap": 10,
|
|
169
174
|
"height": 24,
|
|
175
|
+
"letterSpacing": undefined,
|
|
170
176
|
"paddingVertical": 0,
|
|
171
177
|
"width": "100%",
|
|
172
178
|
},
|
|
@@ -249,6 +255,8 @@ exports[`UnifiedAddressAutoCompleteField renders WebAddressAutocomplete when val
|
|
|
249
255
|
"accessibilityState": {
|
|
250
256
|
"disabled": undefined,
|
|
251
257
|
},
|
|
258
|
+
"aria-describedby": undefined,
|
|
259
|
+
"aria-invalid": false,
|
|
252
260
|
"aria-label": "Text input field",
|
|
253
261
|
"autoCapitalize": "sentences",
|
|
254
262
|
"autoCorrect": true,
|
|
@@ -275,6 +283,7 @@ exports[`UnifiedAddressAutoCompleteField renders WebAddressAutocomplete when val
|
|
|
275
283
|
"fontSize": 16,
|
|
276
284
|
"gap": 10,
|
|
277
285
|
"height": 24,
|
|
286
|
+
"letterSpacing": undefined,
|
|
278
287
|
"paddingVertical": 0,
|
|
279
288
|
"width": "100%",
|
|
280
289
|
},
|
|
@@ -357,6 +366,8 @@ exports[`UnifiedAddressAutoCompleteField renders disabled state 1`] = `
|
|
|
357
366
|
"accessibilityState": {
|
|
358
367
|
"disabled": true,
|
|
359
368
|
},
|
|
369
|
+
"aria-describedby": undefined,
|
|
370
|
+
"aria-invalid": false,
|
|
360
371
|
"aria-label": "Text input field",
|
|
361
372
|
"autoCapitalize": "sentences",
|
|
362
373
|
"autoCorrect": true,
|
|
@@ -383,6 +394,7 @@ exports[`UnifiedAddressAutoCompleteField renders disabled state 1`] = `
|
|
|
383
394
|
"fontSize": 16,
|
|
384
395
|
"gap": 10,
|
|
385
396
|
"height": 24,
|
|
397
|
+
"letterSpacing": undefined,
|
|
386
398
|
"paddingVertical": 0,
|
|
387
399
|
"width": "100%",
|
|
388
400
|
},
|
|
@@ -465,6 +477,8 @@ exports[`UnifiedAddressAutoCompleteField renders with input value 1`] = `
|
|
|
465
477
|
"accessibilityState": {
|
|
466
478
|
"disabled": undefined,
|
|
467
479
|
},
|
|
480
|
+
"aria-describedby": undefined,
|
|
481
|
+
"aria-invalid": false,
|
|
468
482
|
"aria-label": "Text input field",
|
|
469
483
|
"autoCapitalize": "sentences",
|
|
470
484
|
"autoCorrect": true,
|
|
@@ -491,6 +505,7 @@ exports[`UnifiedAddressAutoCompleteField renders with input value 1`] = `
|
|
|
491
505
|
"fontSize": 16,
|
|
492
506
|
"gap": 10,
|
|
493
507
|
"height": 24,
|
|
508
|
+
"letterSpacing": undefined,
|
|
494
509
|
"paddingVertical": 0,
|
|
495
510
|
"width": "100%",
|
|
496
511
|
},
|
|
@@ -574,6 +589,8 @@ exports[`UnifiedAddressAutoCompleteField renders with testID 1`] = `
|
|
|
574
589
|
"accessibilityState": {
|
|
575
590
|
"disabled": undefined,
|
|
576
591
|
},
|
|
592
|
+
"aria-describedby": undefined,
|
|
593
|
+
"aria-invalid": false,
|
|
577
594
|
"aria-label": "Text input field",
|
|
578
595
|
"autoCapitalize": "sentences",
|
|
579
596
|
"autoCorrect": true,
|
|
@@ -600,6 +617,7 @@ exports[`UnifiedAddressAutoCompleteField renders with testID 1`] = `
|
|
|
600
617
|
"fontSize": 16,
|
|
601
618
|
"gap": 10,
|
|
602
619
|
"height": 24,
|
|
620
|
+
"letterSpacing": undefined,
|
|
603
621
|
"paddingVertical": 0,
|
|
604
622
|
"width": "100%",
|
|
605
623
|
},
|
|
@@ -18,6 +18,8 @@ exports[`WebAddressAutocomplete renders correctly without Google API key 1`] = `
|
|
|
18
18
|
"accessibilityState": {
|
|
19
19
|
"disabled": undefined,
|
|
20
20
|
},
|
|
21
|
+
"aria-describedby": undefined,
|
|
22
|
+
"aria-invalid": false,
|
|
21
23
|
"aria-label": "Text input field",
|
|
22
24
|
"autoCapitalize": "sentences",
|
|
23
25
|
"autoCorrect": true,
|
|
@@ -44,6 +46,7 @@ exports[`WebAddressAutocomplete renders correctly without Google API key 1`] = `
|
|
|
44
46
|
"fontSize": 16,
|
|
45
47
|
"gap": 10,
|
|
46
48
|
"height": 24,
|
|
49
|
+
"letterSpacing": undefined,
|
|
47
50
|
"paddingVertical": 0,
|
|
48
51
|
"width": "100%",
|
|
49
52
|
},
|
|
@@ -111,6 +114,8 @@ exports[`WebAddressAutocomplete renders with input value 1`] = `
|
|
|
111
114
|
"accessibilityState": {
|
|
112
115
|
"disabled": undefined,
|
|
113
116
|
},
|
|
117
|
+
"aria-describedby": undefined,
|
|
118
|
+
"aria-invalid": false,
|
|
114
119
|
"aria-label": "Text input field",
|
|
115
120
|
"autoCapitalize": "sentences",
|
|
116
121
|
"autoCorrect": true,
|
|
@@ -137,6 +142,7 @@ exports[`WebAddressAutocomplete renders with input value 1`] = `
|
|
|
137
142
|
"fontSize": 16,
|
|
138
143
|
"gap": 10,
|
|
139
144
|
"height": 24,
|
|
145
|
+
"letterSpacing": undefined,
|
|
140
146
|
"paddingVertical": 0,
|
|
141
147
|
"width": "100%",
|
|
142
148
|
},
|
|
@@ -204,6 +210,8 @@ exports[`WebAddressAutocomplete renders disabled state 1`] = `
|
|
|
204
210
|
"accessibilityState": {
|
|
205
211
|
"disabled": true,
|
|
206
212
|
},
|
|
213
|
+
"aria-describedby": undefined,
|
|
214
|
+
"aria-invalid": false,
|
|
207
215
|
"aria-label": "Text input field",
|
|
208
216
|
"autoCapitalize": "sentences",
|
|
209
217
|
"autoCorrect": true,
|
|
@@ -230,6 +238,7 @@ exports[`WebAddressAutocomplete renders disabled state 1`] = `
|
|
|
230
238
|
"fontSize": 16,
|
|
231
239
|
"gap": 10,
|
|
232
240
|
"height": 24,
|
|
241
|
+
"letterSpacing": undefined,
|
|
233
242
|
"paddingVertical": 0,
|
|
234
243
|
"width": "100%",
|
|
235
244
|
},
|
|
@@ -297,6 +306,8 @@ exports[`WebAddressAutocomplete renders with includeCounty flag 1`] = `
|
|
|
297
306
|
"accessibilityState": {
|
|
298
307
|
"disabled": undefined,
|
|
299
308
|
},
|
|
309
|
+
"aria-describedby": undefined,
|
|
310
|
+
"aria-invalid": false,
|
|
300
311
|
"aria-label": "Text input field",
|
|
301
312
|
"autoCapitalize": "sentences",
|
|
302
313
|
"autoCorrect": true,
|
|
@@ -323,6 +334,7 @@ exports[`WebAddressAutocomplete renders with includeCounty flag 1`] = `
|
|
|
323
334
|
"fontSize": 16,
|
|
324
335
|
"gap": 10,
|
|
325
336
|
"height": 24,
|
|
337
|
+
"letterSpacing": undefined,
|
|
326
338
|
"paddingVertical": 0,
|
|
327
339
|
"width": "100%",
|
|
328
340
|
},
|
package/src/bunSetup.ts
CHANGED
|
@@ -705,6 +705,7 @@ mock.module("expo-router", () => ({
|
|
|
705
705
|
router: {
|
|
706
706
|
back: mock(() => {}),
|
|
707
707
|
canGoBack: mock(() => true),
|
|
708
|
+
dismissTo: mock(() => {}),
|
|
708
709
|
navigate: mock(() => {}),
|
|
709
710
|
push: mock(() => {}),
|
|
710
711
|
replace: mock(() => {}),
|
|
@@ -882,9 +883,11 @@ mock.module("react-native-actions-sheet", () => ({
|
|
|
882
883
|
}),
|
|
883
884
|
}));
|
|
884
885
|
|
|
885
|
-
// Mock MediaQuery
|
|
886
|
+
// Mock MediaQuery. Desktop floor is 1024pt on web and native; keep this aligned with
|
|
887
|
+
// isSupportedDesktopWidth in ResponsiveBreakpoint.tsx.
|
|
886
888
|
mock.module("./MediaQuery", () => ({
|
|
887
889
|
isNarrowViewport: mock(() => false),
|
|
890
|
+
isSupportedDesktopWidth: ({width}: {width: number}): boolean => width >= 1024,
|
|
888
891
|
mediaQueryLargerThan: mock(() => false),
|
|
889
892
|
mediaQuerySmallerThan: mock(() => false),
|
|
890
893
|
}));
|
|
@@ -934,6 +937,15 @@ mock.module("expo-clipboard", () => ({
|
|
|
934
937
|
setStringAsync: mock(() => Promise.resolve(undefined)),
|
|
935
938
|
}));
|
|
936
939
|
|
|
940
|
+
// Mock expo-print (native print and PDF export). Tests drive these mocks through
|
|
941
|
+
// `import * as Print from "expo-print"` instead of registering their own module mock.
|
|
942
|
+
mock.module("expo-print", () => ({
|
|
943
|
+
printAsync: mock(async (_options: {html?: string}): Promise<void> => {}),
|
|
944
|
+
printToFileAsync: mock(
|
|
945
|
+
async (_options: {html?: string}): Promise<{uri: string}> => ({uri: "file:///tmp/consent.pdf"})
|
|
946
|
+
),
|
|
947
|
+
}));
|
|
948
|
+
|
|
937
949
|
// Mock expo-localization
|
|
938
950
|
mock.module("expo-localization", () => ({
|
|
939
951
|
getCalendars: mock(() => [
|
|
@@ -31,6 +31,7 @@ exports[`FieldError renders correctly 1`] = `
|
|
|
31
31
|
},
|
|
32
32
|
],
|
|
33
33
|
"props": {
|
|
34
|
+
"nativeID": undefined,
|
|
34
35
|
"style": {
|
|
35
36
|
"alignItems": "center",
|
|
36
37
|
"flexDirection": "row",
|
|
@@ -73,6 +74,7 @@ exports[`FieldError renders with icon 1`] = `
|
|
|
73
74
|
},
|
|
74
75
|
],
|
|
75
76
|
"props": {
|
|
77
|
+
"nativeID": undefined,
|
|
76
78
|
"style": {
|
|
77
79
|
"alignItems": "center",
|
|
78
80
|
"flexDirection": "row",
|
package/src/index.tsx
CHANGED
|
@@ -57,6 +57,7 @@ export * from "./FilterBoolean";
|
|
|
57
57
|
export * from "./FilterChangesBadge";
|
|
58
58
|
export * from "./FilterSelectMenu";
|
|
59
59
|
export * from "./FlatList";
|
|
60
|
+
export * from "./FormContainer";
|
|
60
61
|
export type * from "./GPTChat";
|
|
61
62
|
export type * from "./GPTMemoryModal";
|
|
62
63
|
export * from "./Heading";
|
|
@@ -73,6 +74,7 @@ export * from "./InfoTooltipButton";
|
|
|
73
74
|
export * from "./icons/BarsFilterIcon";
|
|
74
75
|
export type * from "./LineChart";
|
|
75
76
|
export * from "./Link";
|
|
77
|
+
export * from "./ListDetailLayout";
|
|
76
78
|
export {
|
|
77
79
|
AIRequestExplorer,
|
|
78
80
|
AiSuggestionBox,
|
|
@@ -93,12 +95,23 @@ export {
|
|
|
93
95
|
LineChart,
|
|
94
96
|
MarkdownEditor,
|
|
95
97
|
MarkdownEditorField,
|
|
98
|
+
ProvisionalConsentSigner,
|
|
96
99
|
Scorecard,
|
|
97
100
|
SparklineChart,
|
|
98
101
|
UpgradeRequiredScreen,
|
|
99
102
|
} from "./lazyBoundaries/heavyOptionalExports";
|
|
100
103
|
export * from "./login/LoginScreen";
|
|
101
|
-
export type {
|
|
104
|
+
export type {
|
|
105
|
+
LoginAccountOption,
|
|
106
|
+
LoginAccountSource,
|
|
107
|
+
LoginFieldConfig,
|
|
108
|
+
LoginNotice,
|
|
109
|
+
LoginScreenProps,
|
|
110
|
+
TwoFactorChallengeScreenProps,
|
|
111
|
+
TwoFactorChallengeSubmission,
|
|
112
|
+
TwoFactorCodeKind,
|
|
113
|
+
} from "./login/loginTypes";
|
|
114
|
+
export * from "./login/TwoFactorChallengeScreen";
|
|
102
115
|
export type * from "./MarkdownEditor";
|
|
103
116
|
export type * from "./MarkdownEditorField";
|
|
104
117
|
export * from "./MarkdownView";
|
|
@@ -114,12 +127,14 @@ export * from "./NumberField";
|
|
|
114
127
|
export * from "./NumberPickerActionSheet";
|
|
115
128
|
export * from "./OfflineBanner";
|
|
116
129
|
export * from "./OpenAPIContext";
|
|
130
|
+
export * from "./OtpField";
|
|
117
131
|
export * from "./Page";
|
|
118
132
|
export * from "./Pagination";
|
|
119
133
|
export * from "./PasswordField";
|
|
120
134
|
export * from "./PhoneNumberField";
|
|
121
135
|
export * from "./Popover";
|
|
122
136
|
export * from "./PortalHost";
|
|
137
|
+
export type * from "./ProvisionalConsentSigner";
|
|
123
138
|
export * from "./pdfHtmlTemplate";
|
|
124
139
|
export * from "./Radio";
|
|
125
140
|
export * from "./RadioField";
|
|
@@ -141,6 +156,30 @@ export type * from "./SparklineChart";
|
|
|
141
156
|
export * from "./Spinner";
|
|
142
157
|
export * from "./SplitPage";
|
|
143
158
|
export * from "./SyncStatusBanner";
|
|
159
|
+
export * from "./security/AccountSecurityScreen";
|
|
160
|
+
export * from "./security/LinkedAccountsCard";
|
|
161
|
+
export * from "./security/PasskeysCard";
|
|
162
|
+
export * from "./security/PasswordCard";
|
|
163
|
+
export * from "./security/SessionsCard";
|
|
164
|
+
export {CREDENTIAL_PROVIDER_ID, hasPasswordCredential} from "./security/securityMethods";
|
|
165
|
+
export type {
|
|
166
|
+
AccountPasskey,
|
|
167
|
+
AccountSecurityScreenProps,
|
|
168
|
+
AccountSession,
|
|
169
|
+
LinkableProvider,
|
|
170
|
+
LinkedAccount,
|
|
171
|
+
LinkedAccountsCardProps,
|
|
172
|
+
PasskeysCardProps,
|
|
173
|
+
PasswordCardMode,
|
|
174
|
+
PasswordCardProps,
|
|
175
|
+
PasswordCardSubmission,
|
|
176
|
+
SessionsCardProps,
|
|
177
|
+
TwoFactorEnrollment,
|
|
178
|
+
TwoFactorSettingsCardProps,
|
|
179
|
+
} from "./security/securityTypes";
|
|
180
|
+
export * from "./security/TwoFactorSettingsCard";
|
|
181
|
+
export type {ParsedUserAgent, UserAgentDeviceType} from "./security/userAgent";
|
|
182
|
+
export {describeUserAgent, parseUserAgent} from "./security/userAgent";
|
|
144
183
|
export {OAuthButtons} from "./signUp/OAuthButtons";
|
|
145
184
|
export {PasswordRequirements} from "./signUp/PasswordRequirements";
|
|
146
185
|
export {
|
|
@@ -150,6 +189,7 @@ export {
|
|
|
150
189
|
export {SignUpScreen} from "./signUp/SignUpScreen";
|
|
151
190
|
export {Swiper} from "./signUp/Swiper";
|
|
152
191
|
export type {
|
|
192
|
+
GenericOAuthProviderConfig,
|
|
153
193
|
OAuthProvider,
|
|
154
194
|
OAuthProviderConfig,
|
|
155
195
|
OnboardingPage,
|
|
@@ -189,6 +229,7 @@ export * from "./useAcknowledgeAnnouncement";
|
|
|
189
229
|
export * from "./useAnnouncements";
|
|
190
230
|
export * from "./useAppLaunchOrForeground";
|
|
191
231
|
export * from "./useConsentForms";
|
|
232
|
+
export * from "./useProvisionalConsent";
|
|
192
233
|
export * from "./useStoredState";
|
|
193
234
|
export * from "./useSubmitConsent";
|
|
194
235
|
export * from "./WebAddressAutocomplete";
|