@aws-amplify/ui 3.9.1 → 3.10.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.
Files changed (37) hide show
  1. package/dist/esm/helpers/authenticator/facade.js +1 -1
  2. package/dist/esm/index.js +1 -1
  3. package/dist/esm/machines/authenticator/actors/signIn.js +1 -1
  4. package/dist/esm/machines/authenticator/defaultServices.js +1 -1
  5. package/dist/esm/machines/authenticator/index.js +1 -1
  6. package/dist/esm/machines/authenticator/signUp.js +1 -1
  7. package/dist/esm/node_modules/tslib/tslib.es6.js +0 -14
  8. package/dist/esm/theme/defaultDarkModeOverride.js +1 -1
  9. package/dist/esm/theme/tokens/colors.js +1 -1
  10. package/dist/esm/theme/tokens/components/checkbox.js +1 -1
  11. package/dist/esm/theme/tokens/components/collection.js +1 -0
  12. package/dist/esm/theme/tokens/components/expander.js +1 -1
  13. package/dist/esm/theme/tokens/components/index.js +1 -1
  14. package/dist/esm/theme/tokens/components/menu.js +1 -1
  15. package/dist/esm/theme/tokens/components/pagination.js +1 -1
  16. package/dist/esm/theme/tokens/components/radio.js +1 -1
  17. package/dist/esm/theme/tokens/components/searchField.js +1 -0
  18. package/dist/esm/theme/tokens/components/toggleButton.js +1 -1
  19. package/dist/index.js +1 -16
  20. package/dist/styles.css +259 -148
  21. package/dist/theme.css +75 -30
  22. package/dist/types/machines/authenticator/actors/resetPassword.d.ts +1 -21
  23. package/dist/types/machines/authenticator/actors/signIn.d.ts +1 -21
  24. package/dist/types/machines/authenticator/actors/signOut.d.ts +1 -21
  25. package/dist/types/machines/authenticator/index.d.ts +1 -21
  26. package/dist/types/machines/authenticator/signUp.d.ts +1 -21
  27. package/dist/types/theme/index.d.ts +1 -0
  28. package/dist/types/theme/tokens/colors.d.ts +1 -0
  29. package/dist/types/theme/tokens/components/button.d.ts +1 -1
  30. package/dist/types/theme/tokens/components/collection.d.ts +32 -0
  31. package/dist/types/theme/tokens/components/index.d.ts +4 -0
  32. package/dist/types/theme/tokens/components/pagination.d.ts +2 -2
  33. package/dist/types/theme/tokens/components/searchField.d.ts +15 -0
  34. package/dist/types/theme/tokens/components/toggleButton.d.ts +13 -0
  35. package/dist/types/theme/tokens/space.d.ts +1 -2
  36. package/dist/types/theme/types.d.ts +6 -0
  37. package/package.json +2 -1
package/dist/theme.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 19 May 2022 22:35:34 GMT
3
+ * Generated on Tue, 14 Jun 2022 23:36:33 GMT
4
4
  */
5
5
 
6
6
  :root, [data-amplify-theme] {
@@ -360,6 +360,7 @@
360
360
  --amplify-colors-font-warning: var(--amplify-colors-orange-90);
361
361
  --amplify-colors-font-info: var(--amplify-colors-blue-90);
362
362
  --amplify-colors-font-inverse: var(--amplify-colors-white);
363
+ --amplify-colors-font-disabled: var(--amplify-colors-neutral-60);
363
364
  --amplify-colors-font-tertiary: var(--amplify-colors-neutral-80);
364
365
  --amplify-colors-font-secondary: var(--amplify-colors-neutral-90);
365
366
  --amplify-colors-font-primary: var(--amplify-colors-neutral-100);
@@ -378,17 +379,19 @@
378
379
  --amplify-colors-brand-primary-20: var(--amplify-colors-teal-20);
379
380
  --amplify-colors-brand-primary-10: var(--amplify-colors-teal-10);
380
381
  --amplify-components-togglebutton-link-pressed-hover-background-color: var(--amplify-colors-transparent);
382
+ --amplify-components-togglebutton-link-pressed-hover-color: var(--amplify-colors-overlay-90);
383
+ --amplify-components-togglebutton-link-pressed-focus-color: var(--amplify-colors-overlay-90);
384
+ --amplify-components-togglebutton-link-pressed-focus-background-color: var(--amplify-colors-transparent);
381
385
  --amplify-components-togglebutton-link-pressed-color: var(--amplify-colors-overlay-90);
382
386
  --amplify-components-togglebutton-link-pressed-background-color: var(--amplify-colors-transparent);
387
+ --amplify-components-togglebutton-link-disabled-background-color: var(--amplify-colors-transparent);
383
388
  --amplify-components-togglebutton-link-focus-color: var(--amplify-colors-overlay-50);
384
389
  --amplify-components-togglebutton-link-focus-background-color: var(--amplify-colors-transparent);
385
390
  --amplify-components-togglebutton-link-hover-color: var(--amplify-colors-overlay-50);
386
391
  --amplify-components-togglebutton-link-hover-background-color: var(--amplify-colors-transparent);
387
392
  --amplify-components-togglebutton-link-color: var(--amplify-colors-overlay-50);
388
- --amplify-components-togglebutton-primary-pressed-color: var(--amplify-colors-white);
389
- --amplify-components-togglebutton-primary-hover-color: var(--amplify-colors-overlay-50);
393
+ --amplify-components-togglebutton-link-background-color: var(--amplify-colors-transparent);
390
394
  --amplify-components-togglebutton-primary-hover-background-color: var(--amplify-colors-overlay-10);
391
- --amplify-components-togglebutton-primary-focus-color: var(--amplify-colors-overlay-50);
392
395
  --amplify-components-togglebutton-primary-focus-background-color: var(--amplify-colors-transparent);
393
396
  --amplify-components-togglebutton-primary-border-width: var(--amplify-border-widths-small);
394
397
  --amplify-components-togglebutton-primary-background-color: var(--amplify-colors-transparent);
@@ -396,9 +399,7 @@
396
399
  --amplify-components-togglebutton-pressed-background-color: var(--amplify-colors-overlay-20);
397
400
  --amplify-components-togglebutton-disabled-background-color: var(--amplify-colors-transparent);
398
401
  --amplify-components-togglebutton-active-background-color: var(--amplify-colors-transparent);
399
- --amplify-components-togglebutton-focus-color: var(--amplify-colors-overlay-50);
400
402
  --amplify-components-togglebutton-hover-background-color: var(--amplify-colors-overlay-10);
401
- --amplify-components-togglebutton-color: var(--amplify-colors-overlay-50);
402
403
  --amplify-components-tabs-item-transition-duration: var(--amplify-time-medium);
403
404
  --amplify-components-tabs-item-padding-horizontal: var(--amplify-space-medium);
404
405
  --amplify-components-tabs-item-padding-vertical: var(--amplify-space-small);
@@ -442,6 +443,7 @@
442
443
  --amplify-components-sliderfield-padding-block: var(--amplify-space-xs);
443
444
  --amplify-components-select-icon-wrapper-right: var(--amplify-space-medium);
444
445
  --amplify-components-select-padding-inline-end: var(--amplify-space-xxl);
446
+ --amplify-components-searchfield-button-disabled-background-color: var(--amplify-components-button-disabled-background-color);
445
447
  --amplify-components-rating-small-size: var(--amplify-font-sizes-small);
446
448
  --amplify-components-rating-default-size: var(--amplify-font-sizes-xl);
447
449
  --amplify-components-rating-large-size: var(--amplify-font-sizes-xxxl);
@@ -454,8 +456,6 @@
454
456
  --amplify-components-radio-button-outline-width: var(--amplify-outline-widths-medium);
455
457
  --amplify-components-radio-button-outline-color: var(--amplify-colors-transparent);
456
458
  --amplify-components-radio-button-transition-duration: var(--amplify-time-medium);
457
- --amplify-components-radio-button-background-color: var(--amplify-colors-white);
458
- --amplify-components-radio-button-color: var(--amplify-colors-white);
459
459
  --amplify-components-radio-button-border-width: var(--amplify-border-widths-medium);
460
460
  --amplify-components-radio-button-height: var(--amplify-font-sizes-medium);
461
461
  --amplify-components-radio-button-width: var(--amplify-font-sizes-medium);
@@ -477,7 +477,6 @@
477
477
  --amplify-components-pagination-button-padding-inline-start: var(--amplify-space-xxs);
478
478
  --amplify-components-pagination-current-background-color: var(--amplify-colors-overlay-40);
479
479
  --amplify-components-pagination-current-font-size: var(--amplify-font-sizes-small);
480
- --amplify-components-pagination-current-color: var(--amplify-colors-white);
481
480
  --amplify-components-menu-item-padding-inline-end: var(--amplify-space-medium);
482
481
  --amplify-components-menu-item-padding-inline-start: var(--amplify-space-medium);
483
482
  --amplify-components-menu-large-height: var(--amplify-font-sizes-xxxl);
@@ -487,7 +486,6 @@
487
486
  --amplify-components-menu-gap: var(--amplify-space-zero);
488
487
  --amplify-components-menu-border-width: var(--amplify-border-widths-small);
489
488
  --amplify-components-menu-border-radius: var(--amplify-radii-medium);
490
- --amplify-components-menu-background-color: var(--amplify-colors-white);
491
489
  --amplify-components-loader-linear-large-font-size: var(--amplify-font-sizes-large);
492
490
  --amplify-components-loader-linear-large-stroke-width: var(--amplify-font-sizes-large);
493
491
  --amplify-components-loader-linear-small-font-size: var(--amplify-font-sizes-small);
@@ -569,7 +567,6 @@
569
567
  --amplify-components-expander-item-border-bottom-right-radius: var(--amplify-radii-medium);
570
568
  --amplify-components-expander-item-border-bottom-left-radius: var(--amplify-radii-medium);
571
569
  --amplify-components-expander-border-radius: var(--amplify-radii-medium);
572
- --amplify-components-expander-background-color: var(--amplify-colors-white);
573
570
  --amplify-components-divider-opacity: var(--amplify-opacities-60);
574
571
  --amplify-components-divider-large-border-width: var(--amplify-border-widths-large);
575
572
  --amplify-components-divider-small-border-width: var(--amplify-border-widths-small);
@@ -591,7 +588,6 @@
591
588
  --amplify-components-checkbox-button-focus-outline-width: var(--amplify-outline-widths-medium);
592
589
  --amplify-components-checkbox-button-focus-outline-color: var(--amplify-colors-transparent);
593
590
  --amplify-components-checkbox-button-before-border-width: var(--amplify-border-widths-medium);
594
- --amplify-components-checkbox-button-color: var(--amplify-colors-white);
595
591
  --amplify-components-card-elevated-border-radius: var(--amplify-radii-xs);
596
592
  --amplify-components-card-outlined-box-shadow: var(--amplify-components-card-box-shadow);
597
593
  --amplify-components-card-outlined-border-width: var(--amplify-border-widths-small);
@@ -630,20 +626,29 @@
630
626
  --amplify-components-alert-padding-inline: var(--amplify-space-medium);
631
627
  --amplify-components-alert-padding-block: var(--amplify-space-small);
632
628
  --amplify-colors-border-focus: var(--amplify-colors-brand-primary-100);
629
+ --amplify-colors-border-pressed: var(--amplify-colors-brand-primary-100);
633
630
  --amplify-colors-border-disabled: var(--amplify-colors-border-tertiary);
634
631
  --amplify-colors-background-disabled: var(--amplify-colors-background-tertiary);
635
632
  --amplify-colors-font-active: var(--amplify-colors-brand-primary-100);
636
633
  --amplify-colors-font-focus: var(--amplify-colors-brand-primary-100);
637
634
  --amplify-colors-font-hover: var(--amplify-colors-brand-primary-90);
638
635
  --amplify-colors-font-interactive: var(--amplify-colors-brand-primary-80);
639
- --amplify-colors-font-disabled: var(--amplify-colors-font-tertiary);
636
+ --amplify-components-togglebutton-link-disabled-color: var(--amplify-colors-font-disabled);
637
+ --amplify-components-togglebutton-primary-pressed-hover-color: var(--amplify-colors-background-primary);
638
+ --amplify-components-togglebutton-primary-pressed-hover-box-shadow: var(--amplify-colors-brand-primary-60);
640
639
  --amplify-components-togglebutton-primary-pressed-hover-background-color: var(--amplify-colors-brand-primary-60);
641
640
  --amplify-components-togglebutton-primary-pressed-hover-border-color: var(--amplify-colors-brand-primary-60);
641
+ --amplify-components-togglebutton-primary-pressed-focus-color: var(--amplify-colors-background-primary);
642
+ --amplify-components-togglebutton-primary-pressed-color: var(--amplify-colors-background-primary);
642
643
  --amplify-components-togglebutton-primary-pressed-border-color: var(--amplify-colors-brand-primary-80);
643
644
  --amplify-components-togglebutton-primary-pressed-background-color: var(--amplify-colors-brand-primary-80);
644
- --amplify-components-togglebutton-primary-disabled-background-color: var(--amplify-colors-background-tertiary);
645
+ --amplify-components-togglebutton-primary-disabled-color: var(--amplify-colors-font-disabled);
646
+ --amplify-components-togglebutton-primary-hover-color: var(--amplify-colors-font-primary);
647
+ --amplify-components-togglebutton-primary-focus-color: var(--amplify-colors-font-primary);
645
648
  --amplify-components-togglebutton-pressed-color: var(--amplify-colors-font-primary);
646
- --amplify-components-togglebutton-disabled-border-color: var(--amplify-colors-border-secondary);
649
+ --amplify-components-togglebutton-disabled-color: var(--amplify-colors-font-disabled);
650
+ --amplify-components-togglebutton-focus-color: var(--amplify-colors-font-primary);
651
+ --amplify-components-togglebutton-color: var(--amplify-colors-font-primary);
647
652
  --amplify-components-togglebutton-border-color: var(--amplify-colors-border-primary);
648
653
  --amplify-components-text-info-color: var(--amplify-colors-font-info);
649
654
  --amplify-components-text-success-color: var(--amplify-colors-font-success);
@@ -654,6 +659,7 @@
654
659
  --amplify-components-text-primary-color: var(--amplify-colors-font-primary);
655
660
  --amplify-components-text-color: var(--amplify-colors-font-primary);
656
661
  --amplify-components-tabs-item-disabled-border-color: var(--amplify-colors-border-tertiary);
662
+ --amplify-components-tabs-item-disabled-color: var(--amplify-colors-font-disabled);
657
663
  --amplify-components-tabs-item-color: var(--amplify-colors-font-secondary);
658
664
  --amplify-components-tabs-item-border-color: var(--amplify-colors-border-secondary);
659
665
  --amplify-components-tabs-border-color: var(--amplify-colors-border-secondary);
@@ -677,16 +683,22 @@
677
683
  --amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
678
684
  --amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
679
685
  --amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
686
+ --amplify-components-radio-label-disabled-color: var(--amplify-colors-font-disabled);
680
687
  --amplify-components-radio-button-disabled-background-color: var(--amplify-colors-background-primary);
681
688
  --amplify-components-radio-button-error-border-color: var(--amplify-colors-border-error);
682
689
  --amplify-components-radio-button-checked-color: var(--amplify-colors-brand-primary-80);
690
+ --amplify-components-radio-button-background-color: var(--amplify-colors-background-primary);
691
+ --amplify-components-radio-button-color: var(--amplify-colors-background-primary);
683
692
  --amplify-components-radio-button-border-color: var(--amplify-colors-border-primary);
684
693
  --amplify-components-placeholder-end-color: var(--amplify-colors-background-tertiary);
685
694
  --amplify-components-placeholder-start-color: var(--amplify-colors-background-secondary);
695
+ --amplify-components-pagination-button-disabled-color: var(--amplify-colors-font-disabled);
686
696
  --amplify-components-pagination-button-hover-color: var(--amplify-colors-font-primary);
687
697
  --amplify-components-pagination-button-color: var(--amplify-colors-font-primary);
698
+ --amplify-components-pagination-current-color: var(--amplify-colors-font-inverse);
688
699
  --amplify-components-menu-box-shadow: var(--amplify-shadows-large);
689
700
  --amplify-components-menu-border-color: var(--amplify-colors-border-primary);
701
+ --amplify-components-menu-background-color: var(--amplify-colors-background-primary);
690
702
  --amplify-components-loader-text-fill: var(--amplify-colors-font-primary);
691
703
  --amplify-components-loader-linear-stroke-filled: var(--amplify-colors-brand-primary-80);
692
704
  --amplify-components-loader-stroke-filled: var(--amplify-colors-brand-primary-80);
@@ -695,6 +707,7 @@
695
707
  --amplify-components-fieldmessages-error-color: var(--amplify-colors-font-error);
696
708
  --amplify-components-fieldcontrol-error-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-error);
697
709
  --amplify-components-fieldcontrol-error-border-color: var(--amplify-colors-border-error);
710
+ --amplify-components-fieldcontrol-disabled-color: var(--amplify-colors-font-disabled);
698
711
  --amplify-components-fieldcontrol-quiet-error-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-error);
699
712
  --amplify-components-fieldcontrol-quiet-error-border-block-end-color: var(--amplify-colors-border-error);
700
713
  --amplify-components-fieldcontrol-large-font-size: var(--amplify-components-field-large-font-size);
@@ -706,14 +719,20 @@
706
719
  --amplify-components-expander-content-text-color: var(--amplify-colors-font-secondary);
707
720
  --amplify-components-expander-item-box-shadow: var(--amplify-shadows-small);
708
721
  --amplify-components-expander-box-shadow: var(--amplify-shadows-large);
722
+ --amplify-components-expander-background-color: var(--amplify-colors-background-primary);
709
723
  --amplify-components-divider-label-background-color: var(--amplify-colors-background-primary);
710
724
  --amplify-components-divider-label-color: var(--amplify-colors-font-tertiary);
711
725
  --amplify-components-divider-border-color: var(--amplify-colors-border-primary);
712
726
  --amplify-components-copy-svg-path-fill: var(--amplify-colors-font-primary);
727
+ --amplify-components-collection-search-button-disabled-background-color: var(--amplify-components-searchfield-button-disabled-background-color);
728
+ --amplify-components-collection-pagination-button-hover-background-color: var(--amplify-components-pagination-button-hover-background-color);
729
+ --amplify-components-collection-pagination-current-background-color: var(--amplify-components-pagination-current-background-color);
730
+ --amplify-components-checkbox-label-disabled-color: var(--amplify-colors-font-disabled);
713
731
  --amplify-components-checkbox-icon-background-color: var(--amplify-colors-brand-primary-80);
714
732
  --amplify-components-checkbox-button-error-focus-box-shadow: 0px 0px 0px 2px var(--amplify-colors-border-error);
715
733
  --amplify-components-checkbox-button-error-border-color: var(--amplify-colors-border-error);
716
734
  --amplify-components-checkbox-button-before-border-color: var(--amplify-colors-border-primary);
735
+ --amplify-components-checkbox-button-color: var(--amplify-colors-font-inverse);
717
736
  --amplify-components-card-elevated-box-shadow: var(--amplify-shadows-medium);
718
737
  --amplify-components-card-outlined-border-color: var(--amplify-colors-border-primary);
719
738
  --amplify-components-card-background-color: var(--amplify-colors-background-primary);
@@ -725,9 +744,12 @@
725
744
  --amplify-components-button-small-padding-inline-start: var(--amplify-components-fieldcontrol-small-padding-inline-start);
726
745
  --amplify-components-button-small-padding-block-end: var(--amplify-components-fieldcontrol-small-padding-block-end);
727
746
  --amplify-components-button-small-padding-block-start: var(--amplify-components-fieldcontrol-small-padding-block-start);
747
+ --amplify-components-button-link-loading-color: var(--amplify-colors-font-disabled);
748
+ --amplify-components-button-link-disabled-color: var(--amplify-colors-font-disabled);
728
749
  --amplify-components-button-link-active-background-color: var(--amplify-colors-brand-primary-20);
729
750
  --amplify-components-button-link-focus-background-color: var(--amplify-colors-brand-primary-10);
730
751
  --amplify-components-button-link-hover-background-color: var(--amplify-colors-brand-primary-10);
752
+ --amplify-components-button-menu-disabled-color: var(--amplify-colors-font-disabled);
731
753
  --amplify-components-button-menu-active-background-color: var(--amplify-colors-brand-primary-90);
732
754
  --amplify-components-button-menu-active-color: var(--amplify-colors-font-inverse);
733
755
  --amplify-components-button-menu-focus-background-color: var(--amplify-colors-brand-primary-80);
@@ -740,10 +762,14 @@
740
762
  --amplify-components-button-primary-focus-background-color: var(--amplify-colors-brand-primary-90);
741
763
  --amplify-components-button-primary-hover-color: var(--amplify-colors-font-inverse);
742
764
  --amplify-components-button-primary-hover-background-color: var(--amplify-colors-brand-primary-90);
765
+ --amplify-components-button-primary-loading-color: var(--amplify-colors-font-disabled);
766
+ --amplify-components-button-primary-disabled-color: var(--amplify-colors-font-disabled);
743
767
  --amplify-components-button-primary-color: var(--amplify-colors-font-inverse);
744
768
  --amplify-components-button-primary-background-color: var(--amplify-colors-brand-primary-80);
745
769
  --amplify-components-button-disabled-border-color: var(--amplify-colors-border-tertiary);
770
+ --amplify-components-button-disabled-color: var(--amplify-colors-font-disabled);
746
771
  --amplify-components-button-loading-border-color: var(--amplify-colors-border-tertiary);
772
+ --amplify-components-button-loading-color: var(--amplify-colors-font-disabled);
747
773
  --amplify-components-button-active-border-color: var(--amplify-colors-brand-primary-100);
748
774
  --amplify-components-button-active-background-color: var(--amplify-colors-brand-primary-20);
749
775
  --amplify-components-button-focus-background-color: var(--amplify-colors-brand-primary-10);
@@ -783,14 +809,14 @@
783
809
  --amplify-components-alert-info-color: var(--amplify-colors-font-info);
784
810
  --amplify-components-alert-background-color: var(--amplify-colors-background-tertiary);
785
811
  --amplify-components-alert-color: var(--amplify-colors-font-primary);
786
- --amplify-components-togglebutton-link-disabled-color: var(--amplify-colors-font-disabled);
787
812
  --amplify-components-togglebutton-primary-pressed-focus-border-color: var(--amplify-colors-border-focus);
788
813
  --amplify-components-togglebutton-primary-pressed-focus-background-color: var(--amplify-colors-border-focus);
789
- --amplify-components-togglebutton-primary-disabled-color: var(--amplify-colors-font-disabled);
814
+ --amplify-components-togglebutton-primary-disabled-background-color: var(--amplify-colors-background-disabled);
815
+ --amplify-components-togglebutton-primary-disabled-border-color: var(--amplify-colors-border-disabled);
790
816
  --amplify-components-togglebutton-primary-focus-border-color: var(--amplify-colors-border-focus);
791
- --amplify-components-togglebutton-disabled-color: var(--amplify-colors-font-disabled);
817
+ --amplify-components-togglebutton-pressed-border-color: var(--amplify-colors-border-pressed);
818
+ --amplify-components-togglebutton-disabled-border-color: var(--amplify-colors-border-disabled);
792
819
  --amplify-components-togglebutton-focus-border-color: var(--amplify-colors-border-focus);
793
- --amplify-components-tabs-item-disabled-color: var(--amplify-colors-font-disabled);
794
820
  --amplify-components-tabs-item-active-border-color: var(--amplify-colors-font-interactive);
795
821
  --amplify-components-tabs-item-active-color: var(--amplify-colors-font-interactive);
796
822
  --amplify-components-tabs-item-focus-color: var(--amplify-colors-font-focus);
@@ -801,25 +827,34 @@
801
827
  --amplify-components-sliderfield-thumb-hover-border-color: var(--amplify-colors-border-focus);
802
828
  --amplify-components-sliderfield-thumb-disabled-background-color: var(--amplify-colors-background-disabled);
803
829
  --amplify-components-sliderfield-range-disabled-background-color: var(--amplify-colors-background-disabled);
804
- --amplify-components-radio-label-disabled-color: var(--amplify-colors-font-disabled);
830
+ --amplify-components-searchfield-button-hover-border-color: var(--amplify-components-button-hover-border-color);
831
+ --amplify-components-searchfield-button-hover-background-color: var(--amplify-components-button-hover-background-color);
832
+ --amplify-components-searchfield-button-focus-background-color: var(--amplify-components-button-focus-background-color);
833
+ --amplify-components-searchfield-button-disabled-color: var(--amplify-components-button-disabled-color);
834
+ --amplify-components-searchfield-button-disabled-border-color: var(--amplify-components-button-disabled-border-color);
835
+ --amplify-components-searchfield-button-active-border-color: var(--amplify-components-button-active-border-color);
836
+ --amplify-components-searchfield-button-active-background-color: var(--amplify-components-button-active-background-color);
837
+ --amplify-components-searchfield-button-color: var(--amplify-components-button-color);
838
+ --amplify-components-searchfield-color: var(--amplify-components-fieldcontrol-color);
805
839
  --amplify-components-radio-button-disabled-border-color: var(--amplify-colors-border-disabled);
806
840
  --amplify-components-radio-button-error-focus-box-shadow: var(--amplify-components-fieldcontrol-error-focus-box-shadow);
807
841
  --amplify-components-radio-button-focus-border-color: var(--amplify-colors-border-focus);
808
842
  --amplify-components-radio-button-checked-disabled-color: var(--amplify-colors-background-disabled);
809
- --amplify-components-pagination-button-disabled-color: var(--amplify-colors-font-disabled);
810
843
  --amplify-components-link-visited-color: var(--amplify-colors-font-interactive);
811
844
  --amplify-components-link-hover-color: var(--amplify-colors-font-hover);
812
845
  --amplify-components-link-focus-color: var(--amplify-colors-font-focus);
813
846
  --amplify-components-link-color: var(--amplify-colors-font-interactive);
814
847
  --amplify-components-link-active-color: var(--amplify-colors-font-active);
815
848
  --amplify-components-fieldcontrol-disabled-background-color: var(--amplify-colors-background-disabled);
816
- --amplify-components-fieldcontrol-disabled-color: var(--amplify-colors-font-disabled);
817
849
  --amplify-components-fieldcontrol-focus-box-shadow: 0px 0px 0px 1px var(--amplify-colors-border-focus);
818
850
  --amplify-components-fieldcontrol-focus-border-color: var(--amplify-colors-border-focus);
819
851
  --amplify-components-fieldcontrol-quiet-focus-box-shadow: 0px 1px 0px var(--amplify-colors-border-focus);
820
852
  --amplify-components-fieldcontrol-quiet-focus-border-block-end-color: var(--amplify-colors-border-focus);
821
853
  --amplify-components-expander-item-focus-box-shadow: 0 0 0 2px var(--amplify-colors-border-focus);
822
- --amplify-components-checkbox-label-disabled-color: var(--amplify-colors-font-disabled);
854
+ --amplify-components-collection-pagination-button-disabled-color: var(--amplify-components-pagination-button-disabled-color);
855
+ --amplify-components-collection-pagination-button-hover-color: var(--amplify-components-pagination-button-hover-color);
856
+ --amplify-components-collection-pagination-button-color: var(--amplify-components-pagination-button-color);
857
+ --amplify-components-collection-pagination-current-color: var(--amplify-components-pagination-current-color);
823
858
  --amplify-components-checkbox-icon-checked-disabled-background-color: var(--amplify-colors-background-disabled);
824
859
  --amplify-components-checkbox-button-disabled-border-color: var(--amplify-colors-border-disabled);
825
860
  --amplify-components-checkbox-button-focus-box-shadow: 0px 0px 0px 2px var(--amplify-colors-border-focus);
@@ -827,19 +862,12 @@
827
862
  --amplify-components-card-outlined-background-color: var(--amplify-components-card-background-color);
828
863
  --amplify-components-button-large-font-size: var(--amplify-components-fieldcontrol-large-font-size);
829
864
  --amplify-components-button-small-font-size: var(--amplify-components-fieldcontrol-small-font-size);
830
- --amplify-components-button-link-loading-color: var(--amplify-colors-font-disabled);
831
- --amplify-components-button-link-disabled-color: var(--amplify-colors-font-disabled);
832
865
  --amplify-components-button-link-active-color: var(--amplify-colors-font-active);
833
866
  --amplify-components-button-link-focus-color: var(--amplify-colors-font-focus);
834
867
  --amplify-components-button-link-hover-color: var(--amplify-colors-font-hover);
835
868
  --amplify-components-button-link-color: var(--amplify-colors-font-interactive);
836
- --amplify-components-button-menu-disabled-color: var(--amplify-colors-font-disabled);
837
- --amplify-components-button-primary-loading-color: var(--amplify-colors-font-disabled);
838
869
  --amplify-components-button-primary-loading-background-color: var(--amplify-colors-background-disabled);
839
- --amplify-components-button-primary-disabled-color: var(--amplify-colors-font-disabled);
840
870
  --amplify-components-button-primary-disabled-background-color: var(--amplify-colors-background-disabled);
841
- --amplify-components-button-disabled-color: var(--amplify-colors-font-disabled);
842
- --amplify-components-button-loading-color: var(--amplify-colors-font-disabled);
843
871
  --amplify-components-button-active-color: var(--amplify-colors-font-active);
844
872
  --amplify-components-button-focus-border-color: var(--amplify-colors-border-focus);
845
873
  --amplify-components-button-focus-color: var(--amplify-colors-font-focus);
@@ -847,8 +875,25 @@
847
875
  --amplify-components-button-border-color: var(--amplify-components-fieldcontrol-border-color);
848
876
  --amplify-components-button-font-size: var(--amplify-components-fieldcontrol-font-size);
849
877
  --amplify-components-togglebutton-primary-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
878
+ --amplify-components-searchfield-button-hover-color: var(--amplify-components-button-hover-color);
879
+ --amplify-components-searchfield-button-focus-color: var(--amplify-components-button-focus-color);
880
+ --amplify-components-searchfield-button-focus-border-color: var(--amplify-components-button-focus-border-color);
881
+ --amplify-components-searchfield-button-active-color: var(--amplify-components-button-active-color);
850
882
  --amplify-components-radio-button-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
883
+ --amplify-components-collection-search-button-hover-border-color: var(--amplify-components-searchfield-button-hover-border-color);
884
+ --amplify-components-collection-search-button-hover-background-color: var(--amplify-components-searchfield-button-hover-background-color);
885
+ --amplify-components-collection-search-button-focus-background-color: var(--amplify-components-searchfield-button-focus-background-color);
886
+ --amplify-components-collection-search-button-disabled-color: var(--amplify-components-searchfield-button-disabled-color);
887
+ --amplify-components-collection-search-button-disabled-border-color: var(--amplify-components-searchfield-button-disabled-border-color);
888
+ --amplify-components-collection-search-button-active-border-color: var(--amplify-components-searchfield-button-active-border-color);
889
+ --amplify-components-collection-search-button-active-background-color: var(--amplify-components-searchfield-button-active-background-color);
890
+ --amplify-components-collection-search-button-color: var(--amplify-components-searchfield-button-color);
891
+ --amplify-components-collection-search-input-color: var(--amplify-components-searchfield-color);
851
892
  --amplify-components-button-link-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
852
893
  --amplify-components-button-primary-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
853
894
  --amplify-components-button-focus-box-shadow: var(--amplify-components-fieldcontrol-focus-box-shadow);
895
+ --amplify-components-collection-search-button-hover-color: var(--amplify-components-searchfield-button-hover-color);
896
+ --amplify-components-collection-search-button-focus-color: var(--amplify-components-searchfield-button-focus-color);
897
+ --amplify-components-collection-search-button-focus-border-color: var(--amplify-components-searchfield-button-focus-border-color);
898
+ --amplify-components-collection-search-button-active-color: var(--amplify-components-searchfield-button-active-color);
854
899
  }
@@ -6,24 +6,4 @@ export declare type ResetPasswordMachineOptions = {
6
6
  export declare function resetPasswordActor({ services }: ResetPasswordMachineOptions): import("xstate").StateMachine<ResetPasswordContext, any, AuthEvent, {
7
7
  value: any;
8
8
  context: ResetPasswordContext;
9
- }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").TypegenDisabled & {
10
- missingImplementations: {
11
- actions: never;
12
- delays: never;
13
- guards: never;
14
- services: never;
15
- };
16
- } & {
17
- eventsCausingActions: Record<string, string>;
18
- eventsCausingDelays: Record<string, string>;
19
- eventsCausingGuards: Record<string, string>;
20
- eventsCausingServices: Record<string, string>;
21
- } & {
22
- indexedActions: import("xstate").IndexByType<import("xstate").BaseActionObject>;
23
- indexedEvents: Record<string, AuthEvent> & {
24
- __XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__: {
25
- data: any;
26
- };
27
- };
28
- invokeSrcNameMap: Record<string, "__XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__">;
29
- }>;
9
+ }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, AuthEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
@@ -6,24 +6,4 @@ export declare type SignInMachineOptions = {
6
6
  export declare function signInActor({ services }: SignInMachineOptions): import("xstate").StateMachine<SignInContext, any, AuthEvent, {
7
7
  value: any;
8
8
  context: SignInContext;
9
- }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").TypegenDisabled & {
10
- missingImplementations: {
11
- actions: never;
12
- delays: never;
13
- guards: never;
14
- services: never;
15
- };
16
- } & {
17
- eventsCausingActions: Record<string, string>;
18
- eventsCausingDelays: Record<string, string>;
19
- eventsCausingGuards: Record<string, string>;
20
- eventsCausingServices: Record<string, string>;
21
- } & {
22
- indexedActions: import("xstate").IndexByType<import("xstate").BaseActionObject>;
23
- indexedEvents: Record<string, AuthEvent> & {
24
- __XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__: {
25
- data: any;
26
- };
27
- };
28
- invokeSrcNameMap: Record<string, "__XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__">;
29
- }>;
9
+ }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, AuthEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
@@ -2,24 +2,4 @@ import { AuthEvent, SignOutContext } from '../../../types';
2
2
  export declare const signOutActor: import("xstate").StateMachine<SignOutContext, any, AuthEvent, {
3
3
  value: any;
4
4
  context: SignOutContext;
5
- }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").TypegenDisabled & {
6
- missingImplementations: {
7
- actions: never;
8
- delays: never;
9
- guards: never;
10
- services: never;
11
- };
12
- } & {
13
- eventsCausingActions: Record<string, string>;
14
- eventsCausingDelays: Record<string, string>;
15
- eventsCausingGuards: Record<string, string>;
16
- eventsCausingServices: Record<string, string>;
17
- } & {
18
- indexedActions: import("xstate").IndexByType<import("xstate").BaseActionObject>;
19
- indexedEvents: Record<string, AuthEvent> & {
20
- __XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__: {
21
- data: any;
22
- };
23
- };
24
- invokeSrcNameMap: Record<string, "__XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__">;
25
- }>;
5
+ }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, AuthEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
@@ -5,24 +5,4 @@ export declare type AuthenticatorMachineOptions = AuthContext['config'] & {
5
5
  export declare function createAuthenticatorMachine(): import("xstate").StateMachine<AuthContext, any, AuthEvent, {
6
6
  value: any;
7
7
  context: AuthContext;
8
- }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").TypegenDisabled & {
9
- missingImplementations: {
10
- actions: never;
11
- delays: never;
12
- guards: never;
13
- services: never;
14
- };
15
- } & {
16
- eventsCausingActions: Record<string, string>;
17
- eventsCausingDelays: Record<string, string>;
18
- eventsCausingGuards: Record<string, string>;
19
- eventsCausingServices: Record<string, string>;
20
- } & {
21
- indexedActions: import("xstate").IndexByType<import("xstate").BaseActionObject>;
22
- indexedEvents: Record<string, AuthEvent> & {
23
- __XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__: {
24
- data: any;
25
- };
26
- };
27
- invokeSrcNameMap: Record<string, "__XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__">;
28
- }>;
8
+ }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, AuthEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
@@ -6,24 +6,4 @@ export declare type SignUpMachineOptions = {
6
6
  export declare function createSignUpMachine({ services }: SignUpMachineOptions): import("xstate").StateMachine<SignUpContext, any, AuthEvent, {
7
7
  value: any;
8
8
  context: SignUpContext;
9
- }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").TypegenDisabled & {
10
- missingImplementations: {
11
- actions: never;
12
- delays: never;
13
- guards: never;
14
- services: never;
15
- };
16
- } & {
17
- eventsCausingActions: Record<string, string>;
18
- eventsCausingDelays: Record<string, string>;
19
- eventsCausingGuards: Record<string, string>;
20
- eventsCausingServices: Record<string, string>;
21
- } & {
22
- indexedActions: import("xstate").IndexByType<import("xstate").BaseActionObject>;
23
- indexedEvents: Record<string, AuthEvent> & {
24
- __XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__: {
25
- data: any;
26
- };
27
- };
28
- invokeSrcNameMap: Record<string, "__XSTATE_ALLOW_ANY_INVOKE_DATA_HACK__">;
29
- }>;
9
+ }, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, AuthEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
@@ -2,3 +2,4 @@ export { createTheme } from './createTheme';
2
2
  export { defaultTheme } from './defaultTheme';
3
3
  export { defaultDarkModeOverride } from './defaultDarkModeOverride';
4
4
  export * from './types';
5
+ export { cssNameTransform } from './utils';
@@ -21,6 +21,7 @@ declare type BackgroundColors<DesignTokenType = DesignToken<ColorValue>> = {
21
21
  } & OrdinalScale<DesignTokenType> & OrdinalVariation<DesignTokenType>;
22
22
  declare type BorderColors<DesignTokenType = DesignToken<ColorValue>> = {
23
23
  disabled: DesignTokenType;
24
+ pressed: DesignTokenType;
24
25
  focus: DesignTokenType;
25
26
  error: DesignTokenType;
26
27
  } & OrdinalScale<DesignTokenType>;
@@ -1,5 +1,5 @@
1
1
  import { AlignItemsValue, BackgroundColorValue, BorderColorValue, BorderRadiusValue, BorderStyleValue, BorderWidthValue, BoxShadowValue, ColorValue, DesignToken, FontSizeValue, FontWeightValue, JustifyContentValue, LineHeightValue, SpaceValue, TransitionDurationValue } from '../types/designToken';
2
- interface StateTokens {
2
+ export interface StateTokens {
3
3
  color: DesignToken<ColorValue>;
4
4
  backgroundColor: DesignToken<BackgroundColorValue>;
5
5
  borderColor: DesignToken<BorderColorValue>;
@@ -0,0 +1,32 @@
1
+ import { PaginationButtonDisabledTokens, PaginationButtonHoverTokens } from './pagination';
2
+ import { StateTokens } from './button';
3
+ import { BackgroundColorValue, ColorValue, DesignToken } from '../types/designToken';
4
+ interface PaginationTokens {
5
+ current: {
6
+ color: DesignToken<ColorValue>;
7
+ backgroundColor: DesignToken<BackgroundColorValue>;
8
+ };
9
+ button: {
10
+ color: DesignToken<ColorValue>;
11
+ _hover: PaginationButtonHoverTokens;
12
+ _disabled: PaginationButtonDisabledTokens;
13
+ };
14
+ }
15
+ export interface SearchTokens {
16
+ input: {
17
+ color: DesignToken<ColorValue>;
18
+ };
19
+ button: {
20
+ color: DesignToken<ColorValue>;
21
+ _active: StateTokens;
22
+ _disabled: StateTokens;
23
+ _focus: StateTokens;
24
+ _hover: StateTokens;
25
+ };
26
+ }
27
+ export interface CollectionTokens {
28
+ pagination: PaginationTokens;
29
+ search: SearchTokens;
30
+ }
31
+ export declare const collection: CollectionTokens;
32
+ export {};
@@ -5,6 +5,7 @@ import { ButtonTokens } from './button';
5
5
  import { CardTokens } from './card';
6
6
  import { CheckboxTokens } from './checkbox';
7
7
  import { CheckboxFieldTokens } from './checkboxField';
8
+ import { CollectionTokens } from './collection';
8
9
  import { CopyTokens } from './copy';
9
10
  import { CountryCodeSelectTokens } from './countryCodeSelect';
10
11
  import { DividerTokens } from './divider';
@@ -24,6 +25,7 @@ import { PaginationTokens } from './pagination';
24
25
  import { PlaceholderTokens } from './placeholder';
25
26
  import { RadioTokens } from './radio';
26
27
  import { RatingTokens } from './rating';
28
+ import { SearchFieldTokens } from './searchField';
27
29
  import { SelectTokens } from './select';
28
30
  import { SelectFieldTokens } from './selectField';
29
31
  import { SliderFieldTokens } from './sliderField';
@@ -42,6 +44,7 @@ export interface ComponentTokens {
42
44
  card: CardTokens;
43
45
  checkbox: CheckboxTokens;
44
46
  checkboxfield: CheckboxFieldTokens;
47
+ collection: CollectionTokens;
45
48
  copy: CopyTokens;
46
49
  countrycodeselect: CountryCodeSelectTokens;
47
50
  divider: DividerTokens;
@@ -61,6 +64,7 @@ export interface ComponentTokens {
61
64
  placeholder: PlaceholderTokens;
62
65
  radio: RadioTokens;
63
66
  rating: RatingTokens;
67
+ searchfield: SearchFieldTokens;
64
68
  select: SelectTokens;
65
69
  selectfield: SelectFieldTokens;
66
70
  sliderfield: SliderFieldTokens;
@@ -15,11 +15,11 @@ interface PaginationButtonTokens {
15
15
  hover: PaginationButtonHoverTokens;
16
16
  disabled: PaginationButtonDisabledTokens;
17
17
  }
18
- interface PaginationButtonHoverTokens {
18
+ export interface PaginationButtonHoverTokens {
19
19
  backgroundColor: DesignToken<BackgroundColorValue>;
20
20
  color: DesignToken<ColorValue>;
21
21
  }
22
- interface PaginationButtonDisabledTokens {
22
+ export interface PaginationButtonDisabledTokens {
23
23
  color: DesignToken<ColorValue>;
24
24
  }
25
25
  interface PaginationEllipsisTokens {
@@ -0,0 +1,15 @@
1
+ import { ColorValue, DesignToken } from '../types/designToken';
2
+ import { StateTokens } from './button';
3
+ interface SearchTokens {
4
+ color: DesignToken<ColorValue>;
5
+ _active: StateTokens;
6
+ _disabled: StateTokens;
7
+ _focus: StateTokens;
8
+ _hover: StateTokens;
9
+ }
10
+ export interface SearchFieldTokens {
11
+ color: DesignToken<ColorValue>;
12
+ button: SearchTokens;
13
+ }
14
+ export declare const searchfield: SearchFieldTokens;
15
+ export {};
@@ -15,6 +15,7 @@ interface ToggleButtonDisabledTokens {
15
15
  color: DesignToken<ColorValue>;
16
16
  }
17
17
  interface ToggleButtonPressedTokens {
18
+ borderColor: DesignToken<BorderColorValue>;
18
19
  color: DesignToken<ColorValue>;
19
20
  backgroundColor: DesignToken<BackgroundColorValue>;
20
21
  _hover: ToggleButtonPressedHoverTokens;
@@ -41,6 +42,7 @@ interface ToggleButtonPrimaryHoverTokens {
41
42
  color: DesignToken<ColorValue>;
42
43
  }
43
44
  interface ToggleButtonPrimaryDisabledTokens {
45
+ borderColor: DesignToken<BorderColorValue>;
44
46
  backgroundColor: DesignToken<BackgroundColorValue>;
45
47
  color: DesignToken<ColorValue>;
46
48
  }
@@ -57,12 +59,16 @@ interface ToggleButtonPrimaryPressedTokens {
57
59
  interface TogglButtonPrimaryPressedFocusTokens {
58
60
  backgroundColor: DesignToken<BackgroundColorValue>;
59
61
  borderColor: DesignToken<BorderColorValue>;
62
+ color: DesignToken<ColorValue>;
60
63
  }
61
64
  interface TogglButtonPrimaryPressedHoverTokens {
62
65
  backgroundColor: DesignToken<BackgroundColorValue>;
63
66
  borderColor: DesignToken<BorderColorValue>;
67
+ boxShadow: DesignToken<BoxShadowValue>;
68
+ color: DesignToken<ColorValue>;
64
69
  }
65
70
  interface ToggleButtonLinkTokens {
71
+ backgroundColor: DesignToken<BackgroundColorValue>;
66
72
  color: DesignToken<ColorValue>;
67
73
  _hover: ToggleButtonLinkHoverTokens;
68
74
  _focus: ToggleButtonLinkFocusTokens;
@@ -78,14 +84,21 @@ interface ToggleButtonLinkFocusTokens {
78
84
  color: DesignToken<ColorValue>;
79
85
  }
80
86
  interface ToggleButtonLinkDisabledTokens {
87
+ backgroundColor: DesignToken<BackgroundColorValue>;
81
88
  color: DesignToken<ColorValue>;
82
89
  }
83
90
  interface ToggleButtonLinkPressedTokens {
84
91
  backgroundColor: DesignToken<BackgroundColorValue>;
85
92
  color: DesignToken<ColorValue>;
93
+ _focus: ToggleButtonLinkPressedFocusTokens;
86
94
  _hover: ToggleButtonLinkPressedHoverTokens;
87
95
  }
96
+ interface ToggleButtonLinkPressedFocusTokens {
97
+ color: DesignToken<ColorValue>;
98
+ backgroundColor: DesignToken<BackgroundColorValue>;
99
+ }
88
100
  interface ToggleButtonLinkPressedHoverTokens {
101
+ color: DesignToken<ColorValue>;
89
102
  backgroundColor: DesignToken<BackgroundColorValue>;
90
103
  }
91
104
  export interface ToggleButtonTokens {