@aws-amplify/ui-react 3.3.0 → 3.5.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/dist/IconWarning-1f5018d3.js +1 -0
- package/dist/esm/PrimitiveCatalog.js +1 -1
- package/dist/esm/components/Authenticator/Authenticator.js +1 -1
- package/dist/esm/components/Authenticator/ConfirmSignIn/ConfirmSignIn.js +1 -1
- package/dist/esm/components/Authenticator/ConfirmSignUp/ConfirmSignUp.js +1 -1
- package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignIn.js +1 -1
- package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.js +1 -1
- package/dist/esm/components/Authenticator/ForceNewPassword/ForceNewPassword.js +1 -1
- package/dist/esm/components/Authenticator/ResetPassword/ConfirmResetPassword.js +1 -1
- package/dist/esm/components/Authenticator/ResetPassword/ResetPassword.js +1 -1
- package/dist/esm/components/Authenticator/RouteContainer/RouteContainer.js +1 -1
- package/dist/esm/components/Authenticator/Router/Router.js +1 -1
- package/dist/esm/components/Authenticator/SetupTOTP/SetupTOTP.js +1 -1
- package/dist/esm/components/Authenticator/SignIn/SignIn.js +1 -1
- package/dist/esm/components/Authenticator/SignUp/SignUp.js +1 -1
- package/dist/esm/components/Authenticator/VerifyUser/ConfirmVerifyUser.js +1 -1
- package/dist/esm/components/Authenticator/VerifyUser/VerifyUser.js +1 -1
- package/dist/esm/components/Authenticator/hooks/useAuthenticator/index.js +1 -1
- package/dist/esm/components/Authenticator/shared/ConfirmSignInFooter.js +1 -1
- package/dist/esm/components/Authenticator/shared/FormField.js +1 -1
- package/dist/esm/components/Authenticator/shared/FormFields.js +1 -1
- package/dist/esm/components/Authenticator/shared/RemoteErrorMessage.js +1 -1
- package/dist/esm/components/Authenticator/shared/SignInSignUpTabs.js +1 -1
- package/dist/esm/components/Authenticator/shared/TwoButtonSubmitFooter.js +1 -1
- package/dist/esm/components/Authenticator/shared/ValidationErrors.js +1 -1
- package/dist/esm/components/Authenticator/withAuthenticator.js +1 -1
- package/dist/esm/components/Geo/LocationSearch/index.js +1 -1
- package/dist/esm/components/Geo/MapView/index.js +1 -1
- package/dist/esm/components/ThemeProvider/index.js +1 -1
- package/dist/esm/hooks/actions/useAuthSignOutAction.js +1 -1
- package/dist/esm/hooks/actions/useDataStoreCreateAction.js +1 -1
- package/dist/esm/hooks/actions/useDataStoreDeleteAction.js +1 -1
- package/dist/esm/hooks/actions/useDataStoreUpdateAction.js +1 -1
- package/dist/esm/internal.js +1 -1
- package/dist/esm/primitives/Alert/Alert.js +1 -1
- package/dist/esm/primitives/Alert/AlertIcon.js +1 -1
- package/dist/esm/primitives/Badge/Badge.js +1 -1
- package/dist/esm/primitives/Button/Button.js +1 -1
- package/dist/esm/primitives/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/esm/primitives/Card/Card.js +1 -1
- package/dist/esm/primitives/Checkbox/Checkbox.js +1 -1
- package/dist/esm/primitives/CheckboxField/CheckboxField.js +1 -1
- package/dist/esm/primitives/Collection/Collection.js +1 -1
- package/dist/esm/primitives/Divider/Divider.js +1 -1
- package/dist/esm/primitives/Expander/Expander.js +1 -1
- package/dist/esm/primitives/Expander/ExpanderItem.js +1 -1
- package/dist/esm/primitives/Field/FieldClearButton.js +1 -1
- package/dist/esm/primitives/Field/FieldDescription.js +1 -1
- package/dist/esm/primitives/Field/FieldErrorMessage.js +1 -1
- package/dist/esm/primitives/FieldGroup/FieldGroup.js +1 -1
- package/dist/esm/primitives/FieldGroupIcon/FieldGroupIcon.js +1 -1
- package/dist/esm/primitives/FieldGroupIcon/FieldGroupIconButton.js +1 -1
- package/dist/esm/primitives/Flex/Flex.js +1 -1
- package/dist/esm/primitives/Grid/Grid.js +1 -1
- package/dist/esm/primitives/Heading/Heading.js +1 -1
- package/dist/esm/primitives/Icon/Icon.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconAdd.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconCheck.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconCheckCircle.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconCheckCircleOutline.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconChevronLeft.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconChevronRight.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconClose.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconError.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconExpandMore.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconFiberManualRecord.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconHighlightOff.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconIndeterminate.js +1 -0
- package/dist/esm/primitives/Icon/icons/IconInfo.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconMenu.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconRemove.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconSearch.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconStar.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconVisibility.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconVisibilityOff.js +1 -1
- package/dist/esm/primitives/Icon/icons/IconWarning.js +1 -1
- package/dist/esm/primitives/Image/Image.js +1 -1
- package/dist/esm/primitives/Input/Input.js +1 -1
- package/dist/esm/primitives/Label/Label.js +1 -1
- package/dist/esm/primitives/Link/Link.js +1 -1
- package/dist/esm/primitives/Loader/Loader.js +1 -1
- package/dist/esm/primitives/Menu/Menu.js +1 -1
- package/dist/esm/primitives/Menu/MenuButton.js +1 -1
- package/dist/esm/primitives/Menu/MenuItem.js +1 -1
- package/dist/esm/primitives/Pagination/Pagination.js +1 -1
- package/dist/esm/primitives/Pagination/PaginationItem.js +1 -1
- package/dist/esm/primitives/Pagination/usePaginationItems.js +1 -1
- package/dist/esm/primitives/PasswordField/PasswordField.js +1 -1
- package/dist/esm/primitives/PasswordField/ShowPasswordButton.js +1 -1
- package/dist/esm/primitives/PhoneNumberField/CountryCodeSelect.js +1 -1
- package/dist/esm/primitives/PhoneNumberField/PhoneNumberField.js +1 -1
- package/dist/esm/primitives/Placeholder/Placeholder.js +1 -1
- package/dist/esm/primitives/Radio/Radio.js +1 -1
- package/dist/esm/primitives/RadioGroupField/RadioGroupField.js +1 -1
- package/dist/esm/primitives/Rating/Rating.js +1 -1
- package/dist/esm/primitives/Rating/RatingIcon.js +1 -1
- package/dist/esm/primitives/Rating/RatingMixedIcon.js +1 -1
- package/dist/esm/primitives/ScrollView/ScrollView.js +1 -1
- package/dist/esm/primitives/SearchField/SearchField.js +1 -1
- package/dist/esm/primitives/SearchField/SearchFieldButton.js +1 -1
- package/dist/esm/primitives/Select/Select.js +1 -1
- package/dist/esm/primitives/SelectField/SelectField.js +1 -1
- package/dist/esm/primitives/SliderField/SliderField.js +1 -1
- package/dist/esm/primitives/StepperField/StepperField.js +1 -1
- package/dist/esm/primitives/SwitchField/SwitchField.js +1 -1
- package/dist/esm/primitives/Table/Table.js +1 -1
- package/dist/esm/primitives/Table/TableBody.js +1 -1
- package/dist/esm/primitives/Table/TableCell.js +1 -1
- package/dist/esm/primitives/Table/TableFoot.js +1 -1
- package/dist/esm/primitives/Table/TableHead.js +1 -1
- package/dist/esm/primitives/Table/TableRow.js +1 -1
- package/dist/esm/primitives/Tabs/Tabs.js +1 -1
- package/dist/esm/primitives/Text/Text.js +1 -1
- package/dist/esm/primitives/TextArea/TextArea.js +1 -1
- package/dist/esm/primitives/TextAreaField/TextAreaField.js +1 -1
- package/dist/esm/primitives/TextField/TextField.js +1 -1
- package/dist/esm/primitives/ToggleButton/ToggleButton.js +1 -1
- package/dist/esm/primitives/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/esm/primitives/View/View.js +1 -1
- package/dist/esm/primitives/VisuallyHidden/VisuallyHidden.js +1 -1
- package/dist/esm/primitives/shared/constants.js +1 -1
- package/dist/esm/primitives/shared/styleUtils.js +1 -1
- package/dist/esm/primitives/shared/types.js +1 -1
- package/dist/esm/primitives/shared/utils.js +1 -1
- package/dist/esm/studio/findChildOverrides.js +1 -0
- package/dist/esm/studio/getOverrideProps.js +1 -0
- package/dist/esm/studio/getOverridesFromVariants.js +1 -0
- package/dist/esm/studio/mergeVariantsAndOverrides.js +1 -0
- package/dist/index.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/styles.css +24 -13
- package/dist/types/internal.d.ts +1 -1
- package/dist/types/primitives/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
- package/dist/types/primitives/Icon/icons/IconIndeterminate.d.ts +4 -0
- package/dist/types/primitives/Icon/icons/index.d.ts +1 -0
- package/dist/types/primitives/PhoneNumberField/CountryCodeSelect.d.ts +2 -2
- package/dist/types/primitives/PhoneNumberField/PhoneNumberField.d.ts +1 -1
- package/dist/types/primitives/Rating/RatingMixedIcon.d.ts +1 -1
- package/dist/types/primitives/shared/types.d.ts +2 -1
- package/dist/types/primitives/shared/utils.d.ts +1 -50
- package/dist/types/primitives/types/checkbox.d.ts +6 -0
- package/dist/types/primitives/types/phoneNumberField.d.ts +65 -10
- package/dist/types/studio/findChildOverrides.d.ts +18 -0
- package/dist/types/studio/getOverrideProps.d.ts +18 -0
- package/dist/types/studio/getOverridesFromVariants.d.ts +20 -0
- package/dist/types/studio/index.d.ts +5 -0
- package/dist/types/studio/mergeVariantsAndOverrides.d.ts +18 -0
- package/dist/types/studio/types.d.ts +18 -0
- package/package.json +6 -5
- package/dist/IconWarning-281e9bf4.js +0 -1
- package/dist/esm/node_modules/tslib/tslib.es6.js +0 -1
package/dist/styles.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on
|
|
6
|
+
* Generated on Tue, 30 Aug 2022 22:13:55 GMT
|
|
7
7
|
*/
|
|
8
8
|
:root, [data-amplify-theme] {
|
|
9
9
|
--amplify-transforms-slide-x-large: translateX(2em);
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
--amplify-components-checkboxfield-flex-direction: column;
|
|
291
291
|
--amplify-components-checkboxfield-align-content: center;
|
|
292
292
|
--amplify-components-checkboxfield-align-items: flex-start;
|
|
293
|
+
--amplify-components-checkbox-icon-indeterminate-transform: scale(1);
|
|
293
294
|
--amplify-components-checkbox-icon-checked-transform: scale(1);
|
|
294
295
|
--amplify-components-checkbox-icon-transition-timing-function: ease-in-out;
|
|
295
296
|
--amplify-components-checkbox-icon-transition-property: all;
|
|
@@ -440,6 +441,7 @@
|
|
|
440
441
|
--amplify-components-switchfield-label-padding: var(--amplify-space-xs);
|
|
441
442
|
--amplify-components-switchfield-small-font-size: var(--amplify-font-sizes-small);
|
|
442
443
|
--amplify-components-switchfield-large-font-size: var(--amplify-font-sizes-large);
|
|
444
|
+
--amplify-components-switchfield-font-size: var(--amplify-font-sizes-medium);
|
|
443
445
|
--amplify-components-switchfield-disabled-opacity: var(--amplify-opacities-60);
|
|
444
446
|
--amplify-components-stepperfield-button-background-color: var(--amplify-colors-transparent);
|
|
445
447
|
--amplify-components-sliderfield-thumb-border-width: var(--amplify-border-widths-medium);
|
|
@@ -583,6 +585,7 @@
|
|
|
583
585
|
--amplify-components-copy-tool-tip-bottom: var(--amplify-space-large);
|
|
584
586
|
--amplify-components-copy-gap: var(--amplify-space-relative-medium);
|
|
585
587
|
--amplify-components-copy-font-size: var(--amplify-font-sizes-xs);
|
|
588
|
+
--amplify-components-checkbox-icon-indeterminate-opacity: var(--amplify-opacities-100);
|
|
586
589
|
--amplify-components-checkbox-icon-checked-opacity: var(--amplify-opacities-100);
|
|
587
590
|
--amplify-components-checkbox-icon-transition-duration: var(--amplify-time-short);
|
|
588
591
|
--amplify-components-checkbox-icon-opacity: var(--amplify-opacities-0);
|
|
@@ -684,8 +687,10 @@
|
|
|
684
687
|
--amplify-components-sliderfield-thumb-background-color: var(--amplify-colors-background-primary);
|
|
685
688
|
--amplify-components-sliderfield-range-background-color: var(--amplify-colors-brand-primary-80);
|
|
686
689
|
--amplify-components-sliderfield-track-background-color: var(--amplify-colors-background-quaternary);
|
|
690
|
+
--amplify-components-select-option-disabled-color: var(--amplify-colors-font-disabled);
|
|
687
691
|
--amplify-components-select-option-color: var(--amplify-colors-font-primary);
|
|
688
692
|
--amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
|
|
693
|
+
--amplify-components-searchfield-button-background-color: var(--amplify-colors-background-primary);
|
|
689
694
|
--amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
|
|
690
695
|
--amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
|
|
691
696
|
--amplify-components-radiogroup-radio-border-width: var(--amplify-components-radio-button-border-width);
|
|
@@ -895,6 +900,7 @@
|
|
|
895
900
|
--amplify-components-collection-pagination-button-hover-color: var(--amplify-components-pagination-button-hover-color);
|
|
896
901
|
--amplify-components-collection-pagination-button-color: var(--amplify-components-pagination-button-color);
|
|
897
902
|
--amplify-components-collection-pagination-current-color: var(--amplify-components-pagination-current-color);
|
|
903
|
+
--amplify-components-checkbox-icon-indeterminate-disabled-background-color: var(--amplify-colors-background-disabled);
|
|
898
904
|
--amplify-components-checkbox-icon-checked-disabled-background-color: var(--amplify-colors-background-disabled);
|
|
899
905
|
--amplify-components-checkbox-button-disabled-border-color: var(--amplify-colors-border-disabled);
|
|
900
906
|
--amplify-components-checkbox-button-focus-box-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
|
|
@@ -987,10 +993,8 @@ select {
|
|
|
987
993
|
}
|
|
988
994
|
}
|
|
989
995
|
[class*=amplify] {
|
|
990
|
-
all: unset;
|
|
991
|
-
/*
|
|
992
|
-
box-sizing: border-box;
|
|
993
|
-
/* set box-sizing after unset above */
|
|
996
|
+
all: unset; /* protect against external styles */
|
|
997
|
+
box-sizing: border-box; /* set box-sizing after unset above */
|
|
994
998
|
}
|
|
995
999
|
|
|
996
1000
|
.amplify-flex {
|
|
@@ -1124,7 +1128,6 @@ strong.amplify-text {
|
|
|
1124
1128
|
transition: all var(--amplify-components-button-transition-duration);
|
|
1125
1129
|
-webkit-user-select: none;
|
|
1126
1130
|
-moz-user-select: none;
|
|
1127
|
-
-ms-user-select: none;
|
|
1128
1131
|
user-select: none;
|
|
1129
1132
|
--amplify-internal-button-disabled-color: var(
|
|
1130
1133
|
--amplify-components-button-disabled-color
|
|
@@ -1449,7 +1452,6 @@ strong.amplify-text {
|
|
|
1449
1452
|
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
1450
1453
|
-webkit-user-select: text;
|
|
1451
1454
|
-moz-user-select: text;
|
|
1452
|
-
-ms-user-select: text;
|
|
1453
1455
|
user-select: text;
|
|
1454
1456
|
}
|
|
1455
1457
|
.amplify-input:focus {
|
|
@@ -1536,7 +1538,6 @@ strong.amplify-text {
|
|
|
1536
1538
|
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
1537
1539
|
-webkit-user-select: text;
|
|
1538
1540
|
-moz-user-select: text;
|
|
1539
|
-
-ms-user-select: text;
|
|
1540
1541
|
user-select: text;
|
|
1541
1542
|
white-space: pre-wrap;
|
|
1542
1543
|
}
|
|
@@ -2130,6 +2131,13 @@ strong.amplify-text {
|
|
|
2130
2131
|
--amplify-components-checkbox-icon-checked-disabled-background-color
|
|
2131
2132
|
);
|
|
2132
2133
|
}
|
|
2134
|
+
.amplify-checkbox__icon--indeterminate {
|
|
2135
|
+
opacity: var(--amplify-components-checkbox-icon-indeterminate-opacity);
|
|
2136
|
+
transform: var(--amplify-components-checkbox-icon-indeterminate-transform);
|
|
2137
|
+
--amplify-internal-checkbox-icon-disabled-background-color: var(
|
|
2138
|
+
--amplify-components-checkbox-icon-indeterminate-disabled-background-color
|
|
2139
|
+
);
|
|
2140
|
+
}
|
|
2133
2141
|
.amplify-checkbox__icon--disabled {
|
|
2134
2142
|
background-color: var(--amplify-internal-checkbox-icon-disabled-background-color);
|
|
2135
2143
|
}
|
|
@@ -2145,7 +2153,7 @@ strong.amplify-text {
|
|
|
2145
2153
|
justify-content: var(--amplify-components-checkboxfield-justify-content);
|
|
2146
2154
|
}
|
|
2147
2155
|
|
|
2148
|
-
.amplify-
|
|
2156
|
+
.amplify-dialcodeselect {
|
|
2149
2157
|
height: var(--amplify-components-countrycodeselect-height);
|
|
2150
2158
|
}
|
|
2151
2159
|
|
|
@@ -2840,6 +2848,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2840
2848
|
}
|
|
2841
2849
|
.amplify-searchfield__search {
|
|
2842
2850
|
color: var(--amplify-components-searchfield-button-color);
|
|
2851
|
+
background-color: var(--amplify-components-searchfield-button-background-color);
|
|
2843
2852
|
}
|
|
2844
2853
|
.amplify-searchfield__search:active {
|
|
2845
2854
|
background-color: var(--amplify-components-button-active-background-color);
|
|
@@ -2967,6 +2976,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2967
2976
|
.amplify-select option {
|
|
2968
2977
|
color: initial;
|
|
2969
2978
|
}
|
|
2979
|
+
.amplify-select option[disabled=""] {
|
|
2980
|
+
color: var(--amplify-components-select-option-disabled-color);
|
|
2981
|
+
}
|
|
2970
2982
|
@-moz-document url-prefix() {
|
|
2971
2983
|
.amplify-select option {
|
|
2972
2984
|
background-color: var(--amplify-components-select-option-background-color);
|
|
@@ -3017,7 +3029,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3017
3029
|
touch-action: none;
|
|
3018
3030
|
-webkit-user-select: none;
|
|
3019
3031
|
-moz-user-select: none;
|
|
3020
|
-
-ms-user-select: none;
|
|
3021
3032
|
user-select: none;
|
|
3022
3033
|
--amplify-internal-sliderfield-root-height: var(
|
|
3023
3034
|
--amplify-components-sliderfield-thumb-height
|
|
@@ -3228,6 +3239,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3228
3239
|
|
|
3229
3240
|
.amplify-switchfield {
|
|
3230
3241
|
display: inline-block;
|
|
3242
|
+
font-size: var(--amplify-components-switchfield-font-size);
|
|
3231
3243
|
}
|
|
3232
3244
|
.amplify-switchfield--small {
|
|
3233
3245
|
font-size: var(--amplify-components-switchfield-small-font-size);
|
|
@@ -4148,9 +4160,8 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4148
4160
|
.mapboxgl-map,.maplibregl-map{-webkit-tap-highlight-color:rgb(0 0 0/0);font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative}
|
|
4149
4161
|
.mapboxgl-canvas,.maplibregl-canvas{left:0;position:absolute;top:0}
|
|
4150
4162
|
.mapboxgl-map:-webkit-full-screen, .maplibregl-map:-webkit-full-screen{height:100%;width:100%}
|
|
4151
|
-
.mapboxgl-map:-ms-fullscreen, .maplibregl-map:-ms-fullscreen{height:100%;width:100%}
|
|
4152
4163
|
.mapboxgl-map:fullscreen,.maplibregl-map:fullscreen{height:100%;width:100%}
|
|
4153
|
-
.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass,.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:-webkit-grab;cursor:grab;-moz-user-select:none;-webkit-user-select:none
|
|
4164
|
+
.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass,.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:-webkit-grab;cursor:grab;-moz-user-select:none;-webkit-user-select:none;user-select:none}
|
|
4154
4165
|
.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer,.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}
|
|
4155
4166
|
.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active,.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:-webkit-grabbing;cursor:grabbing}
|
|
4156
4167
|
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}
|
|
@@ -4239,7 +4250,7 @@ a.mapboxgl-ctrl-logo.mapboxgl-compact,a.maplibregl-ctrl-logo.maplibregl-compact{
|
|
|
4239
4250
|
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content,.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}
|
|
4240
4251
|
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content,.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}
|
|
4241
4252
|
.mapboxgl-popup-track-pointer,.maplibregl-popup-track-pointer{display:none}
|
|
4242
|
-
.mapboxgl-popup-track-pointer *,.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none
|
|
4253
|
+
.mapboxgl-popup-track-pointer *,.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}
|
|
4243
4254
|
.mapboxgl-map:hover .mapboxgl-popup-track-pointer,.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}
|
|
4244
4255
|
.mapboxgl-map:active .mapboxgl-popup-track-pointer,.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}
|
|
4245
4256
|
.mapboxgl-marker,.maplibregl-marker{left:0;position:absolute;top:0;will-change:transform}
|
package/dist/types/internal.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export type { UseDataStoreDeleteActionOptions } from './hooks/actions/useDataSto
|
|
|
12
12
|
export { useDataStoreUpdateAction } from './hooks/actions/useDataStoreUpdateAction';
|
|
13
13
|
export type { UseDataStoreUpdateActionOptions } from './hooks/actions/useDataStoreUpdateAction';
|
|
14
14
|
export * from './primitives/shared/datastore';
|
|
15
|
-
export { EscapeHatchProps, Variant, findChildOverrides, getOverridesFromVariants, getOverrideProps, mergeVariantsAndOverrides, } from './
|
|
15
|
+
export { EscapeHatchProps, Variant, findChildOverrides, getOverridesFromVariants, getOverrideProps, mergeVariantsAndOverrides, } from './studio';
|
|
16
16
|
export { PrimitiveCatalog } from './PrimitiveCatalog';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CheckboxProps } from '../types/checkbox';
|
|
3
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<Pick<import("../types/view").PrimitivePropsWithRef<CheckboxProps, "input">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "label" | "pattern" | "list" | "step" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "labelHidden" | "labelPosition" | "hasError" | "isReadOnly" | "isRequired" | "as" | "onError" | "onChange" | "style" | "onLoad" | "onClick" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLInputElement>>;
|
|
3
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Pick<import("../types/view").PrimitivePropsWithRef<CheckboxProps, "input">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "label" | "pattern" | "list" | "step" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "labelHidden" | "labelPosition" | "isIndeterminate" | "hasError" | "isReadOnly" | "isRequired" | "as" | "onError" | "onChange" | "style" | "onLoad" | "onClick" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -3,4 +3,4 @@ import { CheckboxFieldProps } from '../types';
|
|
|
3
3
|
/**
|
|
4
4
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/checkboxfield)
|
|
5
5
|
*/
|
|
6
|
-
export declare const CheckboxField: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<CheckboxFieldProps, "input">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "label" | "pattern" | "list" | "step" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "labelHidden" | "labelPosition" | "hasError" | "isReadOnly" | "isRequired" | "descriptiveText" | "errorMessage" | "as" | "onError" | "onChange" | "style" | "onLoad" | "onClick" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
export declare const CheckboxField: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<CheckboxFieldProps, "input">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "label" | "pattern" | "list" | "step" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "labelHidden" | "labelPosition" | "isIndeterminate" | "hasError" | "isReadOnly" | "isRequired" | "descriptiveText" | "errorMessage" | "as" | "onError" | "onChange" | "style" | "onLoad" | "onClick" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -9,6 +9,7 @@ export * from './IconError';
|
|
|
9
9
|
export * from './IconExpandMore';
|
|
10
10
|
export * from './IconFiberManualRecord';
|
|
11
11
|
export * from './IconHighlightOff';
|
|
12
|
+
export * from './IconIndeterminate';
|
|
12
13
|
export * from './IconInfo';
|
|
13
14
|
export * from './IconMenu';
|
|
14
15
|
export * from './IconRemove';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const CountryCodeSelect: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<
|
|
2
|
+
import { DialCodeSelectProps } from '../types';
|
|
3
|
+
export declare const CountryCodeSelect: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<DialCodeSelectProps, "select">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "form" | "autoFocus" | "disabled" | "name" | "value" | "label" | "autoComplete" | "multiple" | "required" | "labelHidden" | "hasError" | "isReadOnly" | "isRequired" | "descriptiveText" | "errorMessage" | "as" | "iconColor" | "onError" | "options" | "onChange" | "style" | "onLoad" | "onClick" | "icon" | "dialCodeList" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLSelectElement>>;
|
|
@@ -3,4 +3,4 @@ import { PhoneNumberFieldProps } from '../types';
|
|
|
3
3
|
/**
|
|
4
4
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/phonenumberfield)
|
|
5
5
|
*/
|
|
6
|
-
export declare const PhoneNumberField: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<PhoneNumberFieldProps, "input">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "label" | "pattern" | "list" | "step" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "labelHidden" | "hasError" | "isReadOnly" | "isRequired" | "descriptiveText" | "errorMessage" | "as" | "outerEndComponent" | "outerStartComponent" | "innerStartComponent" | "innerEndComponent" | "
|
|
6
|
+
export declare const PhoneNumberField: React.ForwardRefExoticComponent<Pick<import("../types").PrimitivePropsWithRef<PhoneNumberFieldProps, "input">, "area" | "slot" | "title" | "isDisabled" | "id" | "className" | "testId" | "alignSelf" | "backgroundColor" | "backgroundImage" | "border" | "borderRadius" | "bottom" | "boxShadow" | "color" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflow" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textDecoration" | "textTransform" | "top" | "transform" | "transformOrigin" | "width" | "whiteSpace" | "flex" | "order" | "grow" | "shrink" | "basis" | "column" | "columnEnd" | "columnSpan" | "columnStart" | "row" | "rowEnd" | "rowSpan" | "rowStart" | "ariaLabel" | "ariaValuetext" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "direction" | "wrap" | "alignItems" | "alignContent" | "justifyContent" | "gap" | "columnGap" | "rowGap" | "variation" | "size" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "label" | "pattern" | "list" | "step" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "labelHidden" | "hasError" | "isReadOnly" | "isRequired" | "descriptiveText" | "errorMessage" | "as" | "outerEndComponent" | "outerStartComponent" | "innerStartComponent" | "innerEndComponent" | "defaultCountryCode" | "defaultDialCode" | "dialCodeLabel" | "dialCodeName" | "countryCodeLabel" | "countryCodeName" | "onError" | "onChange" | "style" | "onLoad" | "onClick" | "dialCodeList" | "onDialCodeChange" | "dialCodeRef" | "inlist" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onCountryCodeChange" | "countryCodeRef"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare type ComponentNameKey = 'Alert' | 'Badge' | 'Button' | 'Button' | 'Card' | 'Checkbox' | 'CheckboxField' | 'Collection' | 'PhoneNumberField' | 'Divider' | 'Expander' | 'Flex' | 'Grid' | 'Heading' | 'Icon' | 'Image' | 'Link' | 'Loader' | 'Menu' | 'Pagination' | 'PasswordField' | 'PhoneNumberField' | 'Placeholder' | 'Radio' | 'RadioGroupField' | 'Rating' | 'ScrollView' | 'SearchField' | 'Select' | 'SliderField' | 'SelectField' | 'StepperField' | 'SwitchField' | 'Table' | 'Tabs' | 'Text' | 'TextAreaField' | 'TextField' | 'ToggleButton' | 'ToggleButtonGroup' | 'VisuallyHidden';
|
|
2
|
-
declare type ComponentClassNameKey = 'Alert' | 'AlertIcon' | 'AlertHeading' | 'AlertBody' | 'AlertDismiss' | 'Badge' | 'Button' | 'ButtonGroup' | 'ButtonLoaderWrapper' | 'Card' | 'Checkbox' | 'CheckboxButton' | 'CheckboxIcon' | 'CheckboxInput' | 'CheckboxLabel' | 'CheckboxField' | 'Collection' | 'CollectionItems' | 'CollectionSearch' | 'CollectionPagination' | 'CountryCodeSelect' | 'Divider' | 'DividerLabel' | 'Expander' | 'ExpanderContent' | 'ExpanderContentText' | 'ExpanderHeader' | 'ExpanderIcon' | 'ExpanderItem' | 'ExpanderTrigger' | 'Field' | 'FieldDescription' | 'FieldErrorMessage' | 'FieldGroup' | 'FieldGroupControl' | 'FieldGroupOuterEnd' | 'FieldGroupOuterStart' | 'FieldGroupInnerEnd' | 'FieldGroupInnerStart' | 'FieldGroupIcon' | 'FieldGroupIconButton' | 'FieldGroupHasInnerEnd' | 'FieldGroupHasInnerStart' | 'FieldShowPassword' | 'FieldGroupFieldWrapper' | 'Flex' | 'Grid' | 'Heading' | 'Icon' | 'Image' | 'Input' | 'Label' | 'Link' | 'Loader' | 'LoaderDeterminate' | 'LoaderPercentageText' | 'MenuContent' | 'MenuItem' | 'MenuTrigger' | 'Pagination' | 'PaginationItemButton' | 'PaginationItemCurrent' | 'PaginationItemEllipsis' | 'PasswordField' | 'PhoneNumberField' | 'Placeholder' | 'Radio' | 'RadioButton' | 'RadioInput' | 'RadioLabel' | 'RadioGroupField' | 'RadioGroup' | 'Rating' | 'ScrollView' | 'SearchField' | 'SearchFieldClear' | 'SearchFieldSearch' | 'Select' | 'SelectField' | 'SelectWrapper' | 'SelectIconWrapper' | 'SliderField' | 'SliderFieldGroup' | 'SliderFieldLabel' | 'SliderFieldRange' | 'SliderFieldRoot' | 'SliderFieldThumb' | 'SliderFieldTrack' | 'StepperField' | 'StepperFieldButtonDecrease' | 'StepperFieldButtonIncrease' | 'StepperFieldInput' | 'SwitchField' | 'SwitchLabel' | 'SwitchThumb' | 'SwitchTrack' | 'SwitchWrapper' | 'Table' | 'TableCaption' | 'TableBody' | 'TableTd' | 'TableTh' | 'TableFoot' | 'TableHead' | 'TableRow' | 'Tabs' | 'TabItems' | 'Text' | 'Textarea' | 'TextAreaField' | 'TextField' | 'ToggleButton' | 'ToggleButtonGroup' | 'VisuallyHidden';
|
|
2
|
+
declare type ComponentClassNameKey = 'Alert' | 'AlertIcon' | 'AlertHeading' | 'AlertBody' | 'AlertDismiss' | 'Badge' | 'Button' | 'ButtonGroup' | 'ButtonLoaderWrapper' | 'Card' | 'Checkbox' | 'CheckboxButton' | 'CheckboxIcon' | 'CheckboxInput' | 'CheckboxLabel' | 'CheckboxField' | 'Collection' | 'CollectionItems' | 'CollectionSearch' | 'CollectionPagination' | 'CountryCodeSelect' | 'DialCodeSelect' | 'Divider' | 'DividerLabel' | 'Expander' | 'ExpanderContent' | 'ExpanderContentText' | 'ExpanderHeader' | 'ExpanderIcon' | 'ExpanderItem' | 'ExpanderTrigger' | 'Field' | 'FieldDescription' | 'FieldErrorMessage' | 'FieldGroup' | 'FieldGroupControl' | 'FieldGroupOuterEnd' | 'FieldGroupOuterStart' | 'FieldGroupInnerEnd' | 'FieldGroupInnerStart' | 'FieldGroupIcon' | 'FieldGroupIconButton' | 'FieldGroupHasInnerEnd' | 'FieldGroupHasInnerStart' | 'FieldShowPassword' | 'FieldGroupFieldWrapper' | 'Flex' | 'Grid' | 'Heading' | 'Icon' | 'Image' | 'Input' | 'Label' | 'Link' | 'Loader' | 'LoaderDeterminate' | 'LoaderPercentageText' | 'MenuContent' | 'MenuItem' | 'MenuTrigger' | 'Pagination' | 'PaginationItemButton' | 'PaginationItemCurrent' | 'PaginationItemEllipsis' | 'PasswordField' | 'PhoneNumberField' | 'Placeholder' | 'Radio' | 'RadioButton' | 'RadioInput' | 'RadioLabel' | 'RadioGroupField' | 'RadioGroup' | 'Rating' | 'ScrollView' | 'SearchField' | 'SearchFieldClear' | 'SearchFieldSearch' | 'Select' | 'SelectField' | 'SelectWrapper' | 'SelectIconWrapper' | 'SliderField' | 'SliderFieldGroup' | 'SliderFieldLabel' | 'SliderFieldRange' | 'SliderFieldRoot' | 'SliderFieldThumb' | 'SliderFieldTrack' | 'StepperField' | 'StepperFieldButtonDecrease' | 'StepperFieldButtonIncrease' | 'StepperFieldInput' | 'SwitchField' | 'SwitchLabel' | 'SwitchThumb' | 'SwitchTrack' | 'SwitchWrapper' | 'Table' | 'TableCaption' | 'TableBody' | 'TableTd' | 'TableTh' | 'TableFoot' | 'TableHead' | 'TableRow' | 'Tabs' | 'TabItems' | 'Text' | 'Textarea' | 'TextAreaField' | 'TextField' | 'ToggleButton' | 'ToggleButtonGroup' | 'VisuallyHidden';
|
|
3
3
|
export declare enum ComponentClassName {
|
|
4
4
|
Alert = "amplify-alert",
|
|
5
5
|
AlertIcon = "amplify-alert__icon",
|
|
@@ -22,6 +22,7 @@ export declare enum ComponentClassName {
|
|
|
22
22
|
CollectionSearch = "amplify-collection-search",
|
|
23
23
|
CollectionPagination = "amplify-collection-pagination",
|
|
24
24
|
CountryCodeSelect = "amplify-countrycodeselect",
|
|
25
|
+
DialCodeSelect = "amplify-dialcodeselect",
|
|
25
26
|
Divider = "amplify-divider",
|
|
26
27
|
DividerLabel = "amplify-divider--label",
|
|
27
28
|
Expander = "amplify-expander",
|
|
@@ -11,55 +11,7 @@ export declare const isNullOrEmptyString: (value: unknown) => boolean;
|
|
|
11
11
|
* @returns an integer array with elements from start to end consecutively
|
|
12
12
|
*/
|
|
13
13
|
export declare const getConsecutiveIntArray: (start: number, end: number) => number[];
|
|
14
|
-
|
|
15
|
-
* This method is used to parse through all of the overrides and
|
|
16
|
-
* only pass the relevant child overrides for a given component.
|
|
17
|
-
* @internal
|
|
18
|
-
* @param overrides escape hatch props
|
|
19
|
-
* @param elementHierarchy
|
|
20
|
-
* @returns overrides only for specified element
|
|
21
|
-
*/
|
|
22
|
-
export declare const findChildOverrides: (overrides: EscapeHatchProps | null | undefined, elementHierarchy: string) => EscapeHatchProps | null;
|
|
23
|
-
/**
|
|
24
|
-
* This helper method is used to get the overrides
|
|
25
|
-
* that will be applied to a component
|
|
26
|
-
* @internal
|
|
27
|
-
* @param overrides escape hatch props
|
|
28
|
-
* @param elementHierarchy
|
|
29
|
-
* @returns component overrides
|
|
30
|
-
*/
|
|
31
|
-
export declare const getOverrideProps: (overrides: EscapeHatchProps | null | undefined, elementHierarchy: string) => EscapeHatchProps | null;
|
|
32
|
-
export declare type EscapeHatchProps = {
|
|
33
|
-
[elementHierarchy: string]: Record<string, unknown>;
|
|
34
|
-
};
|
|
35
|
-
declare type VariantValues = {
|
|
36
|
-
[key: string]: string;
|
|
37
|
-
};
|
|
38
|
-
export declare type Variant = {
|
|
39
|
-
variantValues: VariantValues;
|
|
40
|
-
overrides: EscapeHatchProps;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Given a list of style variants, select a given one based on input props
|
|
44
|
-
* @internal
|
|
45
|
-
* @param variants list of style variants to select from
|
|
46
|
-
* @param props variant values to select from the list, may include additional props, to tidy up usage upstream
|
|
47
|
-
*/
|
|
48
|
-
export declare function getOverridesFromVariants<T>(variants: Variant[], props: {
|
|
49
|
-
[key: string]: T;
|
|
50
|
-
}): {
|
|
51
|
-
[key: string]: Variant;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* This helper method is used to merge
|
|
55
|
-
* variants with overrides
|
|
56
|
-
* @internal
|
|
57
|
-
* @param variants
|
|
58
|
-
* @param overrides
|
|
59
|
-
* @returns merged variants with overrides
|
|
60
|
-
*/
|
|
61
|
-
export declare const mergeVariantsAndOverrides: (variants: EscapeHatchProps, overrides: EscapeHatchProps) => EscapeHatchProps;
|
|
62
|
-
declare type Modifiers = string | number | null;
|
|
14
|
+
export declare type Modifiers = string | number | null;
|
|
63
15
|
/**
|
|
64
16
|
* This helper function creates modifier class names that are used for our flat BEM styling
|
|
65
17
|
* it takes in a base and modifier and returns the modified class if a modifier was passed in and null otherwise
|
|
@@ -78,4 +30,3 @@ export declare const classNameModifier: (base: ComponentClassName, modifier: Mod
|
|
|
78
30
|
*/
|
|
79
31
|
export declare const classNameModifierByFlag: (base: ComponentClassName, modifier: Modifiers, flag: boolean) => string;
|
|
80
32
|
export declare const getCSSVariableIfValueIsThemeKey: <Value>(propKey: ThemeStylePropKey, value: Value) => string | Value;
|
|
81
|
-
export {};
|
|
@@ -29,4 +29,10 @@ export interface CheckboxProps extends FlexProps, InputProps {
|
|
|
29
29
|
* "start"
|
|
30
30
|
*/
|
|
31
31
|
labelPosition?: LabelPositions;
|
|
32
|
+
/**
|
|
33
|
+
* @description
|
|
34
|
+
* Determines whether a checkbox is in indeterminate state
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
isIndeterminate?: boolean;
|
|
32
38
|
}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SelectFieldProps } from './selectField';
|
|
3
3
|
import { TextInputFieldProps } from './textField';
|
|
4
|
-
|
|
4
|
+
interface optionalPhoneNumberFieldProps extends TextInputFieldProps, CountryCodeFieldProps {
|
|
5
5
|
/**
|
|
6
6
|
* @description
|
|
7
7
|
* Sets a hidden and accessible label for the dial code selector
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
dialCodeLabel?: string;
|
|
10
10
|
/**
|
|
11
11
|
* @description
|
|
12
12
|
* Sets the name used when handling form submission for the dial code selector
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* @description
|
|
17
|
-
* Sets the default dial code that will be selected on initial render
|
|
18
|
-
*/
|
|
19
|
-
defaultCountryCode: string;
|
|
14
|
+
dialCodeName?: string;
|
|
20
15
|
/**
|
|
21
16
|
* @description
|
|
22
17
|
* Accepts an array of dial codes (strings) used as options in the dial code selector
|
|
@@ -26,20 +21,80 @@ export interface PhoneNumberFieldProps extends TextInputFieldProps {
|
|
|
26
21
|
* @description
|
|
27
22
|
* Handles change events for the dial code selector
|
|
28
23
|
*/
|
|
29
|
-
|
|
24
|
+
onDialCodeChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
30
25
|
/**
|
|
31
26
|
* @description
|
|
32
27
|
* <input> elements of type 'tel' are used to let the user enter and edit a telephone number
|
|
33
28
|
*/
|
|
34
29
|
type?: 'tel';
|
|
30
|
+
/**
|
|
31
|
+
* @description
|
|
32
|
+
* Forwarded ref for access to Dial Code select DOM element
|
|
33
|
+
*/
|
|
34
|
+
dialCodeRef?: React.Ref<HTMLSelectElement>;
|
|
35
|
+
}
|
|
36
|
+
interface CountryCodeFieldProps {
|
|
37
|
+
/**
|
|
38
|
+
* @description
|
|
39
|
+
* Sets a hidden and accessible label for the dial code selector
|
|
40
|
+
* @deprecated
|
|
41
|
+
* To be removed with next major version release, please use dialCodeLabel
|
|
42
|
+
*/
|
|
43
|
+
countryCodeLabel?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @description
|
|
46
|
+
* Sets the name used when handling form submission for the dial code selector
|
|
47
|
+
* @deprecated
|
|
48
|
+
* To be removed with next major version release, please use dialCodeName
|
|
49
|
+
*/
|
|
50
|
+
countryCodeName?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @description
|
|
53
|
+
* Handles change events for the dial code selector
|
|
54
|
+
* @deprecated
|
|
55
|
+
* To be removed with next major version release, please use onDialCodeChange
|
|
56
|
+
*/
|
|
57
|
+
onCountryCodeChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
35
58
|
/**
|
|
36
59
|
* @description
|
|
37
60
|
* Forwarded ref for access to Country Code select DOM element
|
|
61
|
+
* @deprecated
|
|
62
|
+
* To be removed with next major version release, please use dialCodeRef
|
|
38
63
|
*/
|
|
39
64
|
countryCodeRef?: React.Ref<HTMLSelectElement>;
|
|
40
65
|
}
|
|
41
|
-
|
|
66
|
+
interface CountryCodeRequired extends optionalPhoneNumberFieldProps {
|
|
67
|
+
/**
|
|
68
|
+
* @description
|
|
69
|
+
* Sets the default dial code that will be selected on initial render
|
|
70
|
+
* @deprecated
|
|
71
|
+
* To be removed with next major version release, please use defaultDialCode
|
|
72
|
+
*/
|
|
73
|
+
defaultCountryCode: string;
|
|
74
|
+
/**
|
|
75
|
+
* @description
|
|
76
|
+
* Sets the default dial code that will be selected on initial render
|
|
77
|
+
*/
|
|
78
|
+
defaultDialCode?: string;
|
|
79
|
+
}
|
|
80
|
+
interface DialCodeRequired extends optionalPhoneNumberFieldProps {
|
|
81
|
+
/**
|
|
82
|
+
* @description
|
|
83
|
+
* Sets the default dial code that will be selected on initial render
|
|
84
|
+
* @deprecated
|
|
85
|
+
* To be removed with next major version release, please use defaultDialCode
|
|
86
|
+
*/
|
|
87
|
+
defaultCountryCode?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @description
|
|
90
|
+
* Sets the default dial code that will be selected on initial render
|
|
91
|
+
*/
|
|
92
|
+
defaultDialCode: string;
|
|
93
|
+
}
|
|
94
|
+
export declare type PhoneNumberFieldProps = CountryCodeRequired | DialCodeRequired;
|
|
95
|
+
export interface DialCodeSelectProps extends SelectFieldProps {
|
|
42
96
|
defaultValue: string;
|
|
43
97
|
dialCodeList?: Array<string>;
|
|
44
98
|
isReadOnly?: boolean;
|
|
45
99
|
}
|
|
100
|
+
export {};
|