@aws-amplify/ui-react 3.2.1 → 3.4.1
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-47c8dc76.js +1 -0
- package/dist/esm/PrimitiveCatalog.js +1 -1
- package/dist/esm/components/Authenticator/SetupTOTP/SetupTOTP.js +1 -1
- package/dist/esm/components/Authenticator/shared/FormField.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/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/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/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 +29 -12
- package/dist/types/internal.d.ts +1 -1
- package/dist/types/primitives/Alert/AlertIcon.d.ts +1 -0
- package/dist/types/primitives/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
- package/dist/types/primitives/Collection/Collection.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/shared/constants.d.ts +1 -0
- 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/collection.d.ts +6 -0
- package/dist/types/primitives/types/icon.d.ts +1 -1
- 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-2a211ab8.js +0 -1
- package/dist/esm/node_modules/tslib/tslib.es6.js +0 -1
- package/dist/primitives.json +0 -27133
package/dist/styles.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on Tue,
|
|
6
|
+
* Generated on Tue, 16 Aug 2022 21:52:12 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
|
|
@@ -1373,6 +1376,11 @@ strong.amplify-text {
|
|
|
1373
1376
|
line-height: var(--amplify-components-heading-line-height);
|
|
1374
1377
|
display: block;
|
|
1375
1378
|
}
|
|
1379
|
+
.amplify-heading--truncated {
|
|
1380
|
+
overflow: hidden;
|
|
1381
|
+
text-overflow: ellipsis;
|
|
1382
|
+
white-space: nowrap;
|
|
1383
|
+
}
|
|
1376
1384
|
|
|
1377
1385
|
.amplify-heading--1 {
|
|
1378
1386
|
font-size: var(--amplify-components-heading-1-font-size);
|
|
@@ -1444,7 +1452,6 @@ strong.amplify-text {
|
|
|
1444
1452
|
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
1445
1453
|
-webkit-user-select: text;
|
|
1446
1454
|
-moz-user-select: text;
|
|
1447
|
-
-ms-user-select: text;
|
|
1448
1455
|
user-select: text;
|
|
1449
1456
|
}
|
|
1450
1457
|
.amplify-input:focus {
|
|
@@ -1531,8 +1538,8 @@ strong.amplify-text {
|
|
|
1531
1538
|
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
1532
1539
|
-webkit-user-select: text;
|
|
1533
1540
|
-moz-user-select: text;
|
|
1534
|
-
-ms-user-select: text;
|
|
1535
1541
|
user-select: text;
|
|
1542
|
+
white-space: pre-wrap;
|
|
1536
1543
|
}
|
|
1537
1544
|
.amplify-textarea:focus {
|
|
1538
1545
|
border-color: var(--amplify-components-fieldcontrol-focus-border-color);
|
|
@@ -2124,6 +2131,13 @@ strong.amplify-text {
|
|
|
2124
2131
|
--amplify-components-checkbox-icon-checked-disabled-background-color
|
|
2125
2132
|
);
|
|
2126
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
|
+
}
|
|
2127
2141
|
.amplify-checkbox__icon--disabled {
|
|
2128
2142
|
background-color: var(--amplify-internal-checkbox-icon-disabled-background-color);
|
|
2129
2143
|
}
|
|
@@ -2834,6 +2848,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2834
2848
|
}
|
|
2835
2849
|
.amplify-searchfield__search {
|
|
2836
2850
|
color: var(--amplify-components-searchfield-button-color);
|
|
2851
|
+
background-color: var(--amplify-components-searchfield-button-background-color);
|
|
2837
2852
|
}
|
|
2838
2853
|
.amplify-searchfield__search:active {
|
|
2839
2854
|
background-color: var(--amplify-components-button-active-background-color);
|
|
@@ -2961,6 +2976,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2961
2976
|
.amplify-select option {
|
|
2962
2977
|
color: initial;
|
|
2963
2978
|
}
|
|
2979
|
+
.amplify-select option[disabled=""] {
|
|
2980
|
+
color: var(--amplify-components-select-option-disabled-color);
|
|
2981
|
+
}
|
|
2964
2982
|
@-moz-document url-prefix() {
|
|
2965
2983
|
.amplify-select option {
|
|
2966
2984
|
background-color: var(--amplify-components-select-option-background-color);
|
|
@@ -3011,7 +3029,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3011
3029
|
touch-action: none;
|
|
3012
3030
|
-webkit-user-select: none;
|
|
3013
3031
|
-moz-user-select: none;
|
|
3014
|
-
-ms-user-select: none;
|
|
3015
3032
|
user-select: none;
|
|
3016
3033
|
--amplify-internal-sliderfield-root-height: var(
|
|
3017
3034
|
--amplify-components-sliderfield-thumb-height
|
|
@@ -3222,6 +3239,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
3222
3239
|
|
|
3223
3240
|
.amplify-switchfield {
|
|
3224
3241
|
display: inline-block;
|
|
3242
|
+
font-size: var(--amplify-components-switchfield-font-size);
|
|
3225
3243
|
}
|
|
3226
3244
|
.amplify-switchfield--small {
|
|
3227
3245
|
font-size: var(--amplify-components-switchfield-small-font-size);
|
|
@@ -4142,9 +4160,8 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
4142
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}
|
|
4143
4161
|
.mapboxgl-canvas,.maplibregl-canvas{left:0;position:absolute;top:0}
|
|
4144
4162
|
.mapboxgl-map:-webkit-full-screen, .maplibregl-map:-webkit-full-screen{height:100%;width:100%}
|
|
4145
|
-
.mapboxgl-map:-ms-fullscreen, .maplibregl-map:-ms-fullscreen{height:100%;width:100%}
|
|
4146
4163
|
.mapboxgl-map:fullscreen,.maplibregl-map:fullscreen{height:100%;width:100%}
|
|
4147
|
-
.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}
|
|
4148
4165
|
.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer,.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}
|
|
4149
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}
|
|
4150
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}
|
|
@@ -4233,7 +4250,7 @@ a.mapboxgl-ctrl-logo.mapboxgl-compact,a.maplibregl-ctrl-logo.maplibregl-compact{
|
|
|
4233
4250
|
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content,.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}
|
|
4234
4251
|
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content,.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}
|
|
4235
4252
|
.mapboxgl-popup-track-pointer,.maplibregl-popup-track-pointer{display:none}
|
|
4236
|
-
.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}
|
|
4237
4254
|
.mapboxgl-map:hover .mapboxgl-popup-track-pointer,.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}
|
|
4238
4255
|
.mapboxgl-map:active .mapboxgl-popup-track-pointer,.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}
|
|
4239
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>>;
|
|
@@ -3,6 +3,6 @@ import { CollectionProps } from '../types';
|
|
|
3
3
|
* [📖 Docs](https://ui.docs.amplify.aws/react/components/collection)
|
|
4
4
|
*/
|
|
5
5
|
export declare const Collection: {
|
|
6
|
-
<Item>({ className, isSearchable, isPaginated, items, itemsPerPage, searchFilter, searchLabel, searchPlaceholder, type, testId, ...rest }: CollectionProps<Item>): JSX.Element;
|
|
6
|
+
<Item>({ className, isSearchable, isPaginated, items, itemsPerPage, searchFilter, searchLabel, searchNoResultsFound, searchPlaceholder, type, testId, ...rest }: CollectionProps<Item>): JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
@@ -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';
|
|
@@ -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,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { FlexProps } from './flex';
|
|
2
3
|
import { GridProps } from './grid';
|
|
3
4
|
import { BaseStyleProps } from './style';
|
|
@@ -42,6 +43,11 @@ export interface CollectionWrapperProps extends BaseStyleProps {
|
|
|
42
43
|
* Search field placeholder
|
|
43
44
|
*/
|
|
44
45
|
searchPlaceholder?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @description
|
|
48
|
+
* Controls what is displayed when no results are found from the Collection search
|
|
49
|
+
*/
|
|
50
|
+
searchNoResultsFound?: React.ReactNode;
|
|
45
51
|
}
|
|
46
52
|
export interface CollectionBaseProps<Item> {
|
|
47
53
|
/**
|
|
@@ -21,7 +21,7 @@ export interface IconProps extends ViewProps {
|
|
|
21
21
|
* @description
|
|
22
22
|
* This is used to define a string that labels the current element.
|
|
23
23
|
*/
|
|
24
|
-
ariaLabel
|
|
24
|
+
ariaLabel?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @description
|
|
27
27
|
* This defines the position and dimension, in user space, of an SVG viewport.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EscapeHatchProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 🚨 WARNING:🚨
|
|
4
|
+
* This function is owned by the Studio UI Builder team
|
|
5
|
+
* and is used by code generated by Amplify CLI.
|
|
6
|
+
*
|
|
7
|
+
* When considering making changing to this file, please consult
|
|
8
|
+
* a member from the Studio UI Builder team.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* This method is used to parse through all of the overrides and
|
|
12
|
+
* only pass the relevant child overrides for a given component.
|
|
13
|
+
* @internal
|
|
14
|
+
* @param overrides escape hatch props
|
|
15
|
+
* @param elementHierarchy
|
|
16
|
+
* @returns overrides only for specified element
|
|
17
|
+
*/
|
|
18
|
+
export declare const findChildOverrides: (overrides: EscapeHatchProps | null | undefined, elementHierarchy: string) => EscapeHatchProps | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EscapeHatchProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 🚨 WARNING:🚨
|
|
4
|
+
* This function is owned by the Studio UI Builder team
|
|
5
|
+
* and is used by code generated by Amplify CLI.
|
|
6
|
+
*
|
|
7
|
+
* When considering making changing to this file, please consult
|
|
8
|
+
* a member from the Studio UI Builder team.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* This helper method is used to get the overrides
|
|
12
|
+
* that will be applied to a component
|
|
13
|
+
* @internal
|
|
14
|
+
* @param overrides escape hatch props
|
|
15
|
+
* @param elementHierarchy
|
|
16
|
+
* @returns component overrides
|
|
17
|
+
*/
|
|
18
|
+
export declare const getOverrideProps: (overrides: EscapeHatchProps | null | undefined, elementHierarchy: string) => EscapeHatchProps | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Variant } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 🚨 WARNING:🚨
|
|
4
|
+
* This function is owned by the Studio UI Builder team
|
|
5
|
+
* and is used by code generated by Amplify CLI.
|
|
6
|
+
*
|
|
7
|
+
* When considering making changing to this file, please consult
|
|
8
|
+
* a member from the Studio UI Builder team.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Given a list of style variants, select a given one based on input props
|
|
12
|
+
* @internal
|
|
13
|
+
* @param variants list of style variants to select from
|
|
14
|
+
* @param props variant values to select from the list, may include additional props, to tidy up usage upstream
|
|
15
|
+
*/
|
|
16
|
+
export declare function getOverridesFromVariants<T>(variants: Variant[], props: {
|
|
17
|
+
[key: string]: T;
|
|
18
|
+
}): {
|
|
19
|
+
[key: string]: Variant;
|
|
20
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { EscapeHatchProps, Variant } from './types';
|
|
2
|
+
export { findChildOverrides } from './findChildOverrides';
|
|
3
|
+
export { getOverridesFromVariants } from './getOverridesFromVariants';
|
|
4
|
+
export { getOverrideProps } from './getOverrideProps';
|
|
5
|
+
export { mergeVariantsAndOverrides } from './mergeVariantsAndOverrides';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EscapeHatchProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 🚨 WARNING:🚨
|
|
4
|
+
* This function is owned by the Studio UI Builder team
|
|
5
|
+
* and is used by code generated by Amplify CLI.
|
|
6
|
+
*
|
|
7
|
+
* When considering making changing to this file, please consult
|
|
8
|
+
* a member from the Studio UI Builder team.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* This helper method is used to merge
|
|
12
|
+
* variants with overrides
|
|
13
|
+
* @internal
|
|
14
|
+
* @param variants
|
|
15
|
+
* @param overrides
|
|
16
|
+
* @returns merged variants with overrides
|
|
17
|
+
*/
|
|
18
|
+
export declare const mergeVariantsAndOverrides: (variants: EscapeHatchProps, overrides: EscapeHatchProps) => EscapeHatchProps;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 🚨 WARNING:🚨
|
|
3
|
+
* These types are owned by the Studio UI Builder team
|
|
4
|
+
* and are used during code generation triggered by Amplify CLI.
|
|
5
|
+
*
|
|
6
|
+
* When considering making changing to this file, please consult
|
|
7
|
+
* a member from the Studio UI Builder team.
|
|
8
|
+
*/
|
|
9
|
+
export declare type EscapeHatchProps = {
|
|
10
|
+
[elementHierarchy: string]: Record<string, unknown>;
|
|
11
|
+
};
|
|
12
|
+
export declare type VariantValues = {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
export declare type Variant = {
|
|
16
|
+
variantValues: VariantValues;
|
|
17
|
+
overrides: EscapeHatchProps;
|
|
18
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"dist",
|
|
34
|
-
"dist/esm/node_modules",
|
|
35
34
|
"legacy",
|
|
36
35
|
"internal",
|
|
37
36
|
"LICENSE"
|
|
@@ -56,7 +55,7 @@
|
|
|
56
55
|
"size": "yarn run size-limit"
|
|
57
56
|
},
|
|
58
57
|
"dependencies": {
|
|
59
|
-
"@aws-amplify/ui": "3.
|
|
58
|
+
"@aws-amplify/ui": "3.13.0",
|
|
60
59
|
"@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
|
|
61
60
|
"@radix-ui/react-accordion": "0.1.6",
|
|
62
61
|
"@radix-ui/react-dropdown-menu": "0.1.6",
|
|
@@ -68,10 +67,11 @@
|
|
|
68
67
|
"lodash": "4.17.21",
|
|
69
68
|
"mapbox-gl": "1.13.1",
|
|
70
69
|
"maplibre-gl": "2.1.9",
|
|
71
|
-
"maplibre-gl-js-amplify": "2.0.
|
|
70
|
+
"maplibre-gl-js-amplify": "2.0.4",
|
|
72
71
|
"qrcode": "1.5.0",
|
|
73
72
|
"react-generate-context": "1.0.1",
|
|
74
|
-
"react-map-gl": "7.0.15"
|
|
73
|
+
"react-map-gl": "7.0.15",
|
|
74
|
+
"tslib": "2.4.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"aws-amplify": "3.x.x || 4.x.x",
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
"react-router-dom": "^6.2.1",
|
|
115
115
|
"rimraf": "^3.0.2",
|
|
116
116
|
"rollup": "^2.70.0",
|
|
117
|
+
"rollup-plugin-node-externals": "^4.1.1",
|
|
117
118
|
"rollup-plugin-styles": "^4.0.0",
|
|
118
119
|
"rollup-plugin-terser": "^7.0.2",
|
|
119
120
|
"size-limit": "^7.0.8",
|