@aws-amplify/ui-react-notifications 2.3.3 → 2.3.5

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.
@@ -1,3 +1,3 @@
1
- const VERSION = '2.3.3';
1
+ const VERSION = '2.3.5';
2
2
 
3
3
  export { VERSION };
package/dist/index.js CHANGED
@@ -332,7 +332,7 @@ const handleMessageLinkAction = (input) => {
332
332
  window.open(input);
333
333
  };
334
334
 
335
- const VERSION = '2.3.3';
335
+ const VERSION = '2.3.5';
336
336
 
337
337
  // TODO: replace below components incrementally as they become available
338
338
  function CarouselMessage(_) {
package/dist/styles.css CHANGED
@@ -1512,11 +1512,11 @@
1512
1512
  --amplify-colors-black: hsl(0, 0%, 0%);
1513
1513
  --amplify-colors-white: hsl(0, 0%, 100%);
1514
1514
  --amplify-colors-transparent: transparent;
1515
- --amplify-fonts-default-variable: "InterVariable", "Inter var", "Inter", -apple-system, BlinkMacSystemFont,
1516
- "Helvetica Neue", "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans",
1515
+ --amplify-fonts-default-variable: 'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,
1516
+ 'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',
1517
1517
  sans-serif;
1518
- --amplify-fonts-default-static: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
1519
- "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
1518
+ --amplify-fonts-default-static: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
1519
+ 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
1520
1520
  --amplify-font-sizes-xxxs: 0.375rem;
1521
1521
  --amplify-font-sizes-xxs: 0.5rem;
1522
1522
  --amplify-font-sizes-xs: 0.75rem;
@@ -2067,9 +2067,6 @@ strong.amplify-text {
2067
2067
  border-width: var(--amplify-components-button-menu-border-width);
2068
2068
  background-color: var(--amplify-components-button-menu-background-color);
2069
2069
  justify-content: var(--amplify-components-button-menu-justify-content);
2070
- --amplify-internal-button-disabled-color: var(
2071
- --amplify-components-button-menu-disabled-color
2072
- );
2073
2070
  }
2074
2071
  .amplify-button--menu:hover {
2075
2072
  color: var(--amplify-components-button-menu-hover-color);
@@ -2084,6 +2081,11 @@ strong.amplify-text {
2084
2081
  color: var(--amplify-components-button-menu-active-color);
2085
2082
  background-color: var(--amplify-components-button-menu-active-background-color);
2086
2083
  }
2084
+ .amplify-button--menu {
2085
+ --amplify-internal-button-disabled-color: var(
2086
+ --amplify-components-button-menu-disabled-color
2087
+ );
2088
+ }
2087
2089
  .amplify-button--primary {
2088
2090
  --amplify-internal-button-border-width: var(
2089
2091
  --amplify-components-button-primary-border-width
@@ -2097,24 +2099,6 @@ strong.amplify-text {
2097
2099
  --amplify-internal-button-color: var(
2098
2100
  --amplify-components-button-primary-color
2099
2101
  );
2100
- --amplify-internal-button-disabled-border-color: var(
2101
- --amplify-components-button-primary-disabled-border-color
2102
- );
2103
- --amplify-internal-button-disabled-background-color: var(
2104
- --amplify-components-button-primary-disabled-background-color
2105
- );
2106
- --amplify-internal-button-disabled-color: var(
2107
- --amplify-components-button-primary-disabled-color
2108
- );
2109
- --amplify-internal-button-loading-background-color: var(
2110
- --amplify-components-button-primary-loading-background-color
2111
- );
2112
- --amplify-internal-button-loading-border-color: var(
2113
- --amplify-components-button-primary-loading-border-color
2114
- );
2115
- --amplify-internal-button-loading-color: var(
2116
- --amplify-components-button-primary-loading-color
2117
- );
2118
2102
  }
2119
2103
  .amplify-button--primary:hover {
2120
2104
  --amplify-internal-button-background-color: var(
@@ -2387,6 +2371,26 @@ strong.amplify-text {
2387
2371
  --amplify-components-button-primary-overlay-active-color
2388
2372
  );
2389
2373
  }
2374
+ .amplify-button--primary {
2375
+ --amplify-internal-button-disabled-border-color: var(
2376
+ --amplify-components-button-primary-disabled-border-color
2377
+ );
2378
+ --amplify-internal-button-disabled-background-color: var(
2379
+ --amplify-components-button-primary-disabled-background-color
2380
+ );
2381
+ --amplify-internal-button-disabled-color: var(
2382
+ --amplify-components-button-primary-disabled-color
2383
+ );
2384
+ --amplify-internal-button-loading-background-color: var(
2385
+ --amplify-components-button-primary-loading-background-color
2386
+ );
2387
+ --amplify-internal-button-loading-border-color: var(
2388
+ --amplify-components-button-primary-loading-border-color
2389
+ );
2390
+ --amplify-internal-button-loading-color: var(
2391
+ --amplify-components-button-primary-loading-color
2392
+ );
2393
+ }
2390
2394
  .amplify-button--link {
2391
2395
  --amplify-internal-button-border-width: var(
2392
2396
  --amplify-components-button-link-border-width
@@ -2400,24 +2404,6 @@ strong.amplify-text {
2400
2404
  --amplify-internal-button-color: var(
2401
2405
  --amplify-components-button-link-color
2402
2406
  );
2403
- --amplify-internal-button-disabled-border-color: var(
2404
- --amplify-components-button-link-disabled-border-color
2405
- );
2406
- --amplify-internal-button-disabled-background-color: var(
2407
- --amplify-components-button-link-disabled-background-color
2408
- );
2409
- --amplify-internal-button-disabled-color: var(
2410
- --amplify-components-button-link-disabled-color
2411
- );
2412
- --amplify-internal-button-loading-background-color: var(
2413
- --amplify-components-button-link-loading-background-color
2414
- );
2415
- --amplify-internal-button-loading-border-color: var(
2416
- --amplify-components-button-link-loading-border-color
2417
- );
2418
- --amplify-internal-button-loading-color: var(
2419
- --amplify-components-button-link-loading-color
2420
- );
2421
2407
  }
2422
2408
  .amplify-button--link:hover {
2423
2409
  --amplify-internal-button-background-color: var(
@@ -2690,30 +2676,32 @@ strong.amplify-text {
2690
2676
  --amplify-components-button-link-overlay-active-color
2691
2677
  );
2692
2678
  }
2693
- .amplify-button--destructive {
2694
- border-width: var(--amplify-components-button-destructive-border-width);
2695
- background-color: var(--amplify-components-button-destructive-background-color);
2696
- border-color: var(--amplify-components-button-destructive-border-color);
2697
- color: var(--amplify-components-button-destructive-color);
2679
+ .amplify-button--link {
2698
2680
  --amplify-internal-button-disabled-border-color: var(
2699
- --amplify-components-button-destructive-disabled-border-color
2681
+ --amplify-components-button-link-disabled-border-color
2700
2682
  );
2701
2683
  --amplify-internal-button-disabled-background-color: var(
2702
- --amplify-components-button-destructive-disabled-background-color
2684
+ --amplify-components-button-link-disabled-background-color
2703
2685
  );
2704
2686
  --amplify-internal-button-disabled-color: var(
2705
- --amplify-components-button-destructive-disabled-color
2687
+ --amplify-components-button-link-disabled-color
2706
2688
  );
2707
2689
  --amplify-internal-button-loading-background-color: var(
2708
- --amplify-components-button-destructive-loading-background-color
2690
+ --amplify-components-button-link-loading-background-color
2709
2691
  );
2710
2692
  --amplify-internal-button-loading-border-color: var(
2711
- --amplify-components-button-destructive-loading-border-color
2693
+ --amplify-components-button-link-loading-border-color
2712
2694
  );
2713
2695
  --amplify-internal-button-loading-color: var(
2714
- --amplify-components-button-destructive-loading-color
2696
+ --amplify-components-button-link-loading-color
2715
2697
  );
2716
2698
  }
2699
+ .amplify-button--destructive {
2700
+ border-width: var(--amplify-components-button-destructive-border-width);
2701
+ background-color: var(--amplify-components-button-destructive-background-color);
2702
+ border-color: var(--amplify-components-button-destructive-border-color);
2703
+ color: var(--amplify-components-button-destructive-color);
2704
+ }
2717
2705
  .amplify-button--destructive:hover {
2718
2706
  background-color: var(--amplify-components-button-destructive-hover-background-color);
2719
2707
  border-color: var(--amplify-components-button-destructive-hover-border-color);
@@ -2730,6 +2718,26 @@ strong.amplify-text {
2730
2718
  border-color: var(--amplify-components-button-destructive-active-border-color);
2731
2719
  color: var(--amplify-components-button-destructive-active-color);
2732
2720
  }
2721
+ .amplify-button--destructive {
2722
+ --amplify-internal-button-disabled-border-color: var(
2723
+ --amplify-components-button-destructive-disabled-border-color
2724
+ );
2725
+ --amplify-internal-button-disabled-background-color: var(
2726
+ --amplify-components-button-destructive-disabled-background-color
2727
+ );
2728
+ --amplify-internal-button-disabled-color: var(
2729
+ --amplify-components-button-destructive-disabled-color
2730
+ );
2731
+ --amplify-internal-button-loading-background-color: var(
2732
+ --amplify-components-button-destructive-loading-background-color
2733
+ );
2734
+ --amplify-internal-button-loading-border-color: var(
2735
+ --amplify-components-button-destructive-loading-border-color
2736
+ );
2737
+ --amplify-internal-button-loading-color: var(
2738
+ --amplify-components-button-destructive-loading-color
2739
+ );
2740
+ }
2733
2741
  .amplify-button--warning {
2734
2742
  background-color: var(--amplify-components-button-warning-background-color);
2735
2743
  border-color: var(--amplify-components-button-warning-border-color);
@@ -2989,22 +2997,6 @@ strong.amplify-text {
2989
2997
  outline-style: var(--amplify-components-fieldcontrol-outline-style);
2990
2998
  outline-width: var(--amplify-components-fieldcontrol-outline-width);
2991
2999
  outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
2992
- -webkit-user-select: text;
2993
- -moz-user-select: text;
2994
- user-select: text;
2995
- display: inline-block;
2996
- --amplify-components-fieldcontrol-color: var(
2997
- --amplify-components-input-color
2998
- );
2999
- --amplify-components-fieldcontrol-border-color: var(
3000
- --amplify-components-input-border-color
3001
- );
3002
- --amplify-components-fieldcontrol-font-size: var(
3003
- --amplify-components-input-font-size
3004
- );
3005
- --amplify-components-fieldcontrol-focus-border-color: var(
3006
- --amplify-components-input-focus-border-color
3007
- );
3008
3000
  }
3009
3001
  .amplify-input:focus {
3010
3002
  border-color: var(--amplify-components-fieldcontrol-focus-border-color);
@@ -3054,6 +3046,24 @@ strong.amplify-text {
3054
3046
  border-color: var(--amplify-components-fieldcontrol-disabled-border-color);
3055
3047
  background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
3056
3048
  }
3049
+ .amplify-input {
3050
+ -webkit-user-select: text;
3051
+ -moz-user-select: text;
3052
+ user-select: text;
3053
+ display: inline-block;
3054
+ --amplify-components-fieldcontrol-color: var(
3055
+ --amplify-components-input-color
3056
+ );
3057
+ --amplify-components-fieldcontrol-border-color: var(
3058
+ --amplify-components-input-border-color
3059
+ );
3060
+ --amplify-components-fieldcontrol-font-size: var(
3061
+ --amplify-components-input-font-size
3062
+ );
3063
+ --amplify-components-fieldcontrol-focus-border-color: var(
3064
+ --amplify-components-input-focus-border-color
3065
+ );
3066
+ }
3057
3067
 
3058
3068
  .amplify-textarea {
3059
3069
  box-sizing: border-box;
@@ -3074,11 +3084,6 @@ strong.amplify-text {
3074
3084
  outline-style: var(--amplify-components-fieldcontrol-outline-style);
3075
3085
  outline-width: var(--amplify-components-fieldcontrol-outline-width);
3076
3086
  outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
3077
- -webkit-user-select: text;
3078
- -moz-user-select: text;
3079
- user-select: text;
3080
- white-space: pre-wrap;
3081
- max-height: 100%;
3082
3087
  }
3083
3088
  .amplify-textarea:focus {
3084
3089
  border-color: var(--amplify-components-fieldcontrol-focus-border-color);
@@ -3128,6 +3133,13 @@ strong.amplify-text {
3128
3133
  border-color: var(--amplify-components-fieldcontrol-disabled-border-color);
3129
3134
  background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
3130
3135
  }
3136
+ .amplify-textarea {
3137
+ -webkit-user-select: text;
3138
+ -moz-user-select: text;
3139
+ user-select: text;
3140
+ white-space: pre-wrap;
3141
+ max-height: 100%;
3142
+ }
3131
3143
 
3132
3144
  .amplify-image {
3133
3145
  height: var(--amplify-components-image-height);
@@ -3185,8 +3197,6 @@ strong.amplify-text {
3185
3197
  animation-timing-function: linear;
3186
3198
  animation-iteration-count: infinite;
3187
3199
  animation-duration: var(--amplify-components-loader-animation-duration);
3188
- stroke: var(--amplify-components-loader-stroke-filled);
3189
- stroke-linecap: var(--amplify-components-loader-stroke-linecap);
3190
3200
  }
3191
3201
  @media (prefers-reduced-motion) {
3192
3202
  .amplify-loader circle:last-of-type {
@@ -3195,6 +3205,10 @@ strong.amplify-text {
3195
3205
  stroke-dashoffset: 50%;
3196
3206
  }
3197
3207
  }
3208
+ .amplify-loader circle:last-of-type {
3209
+ stroke: var(--amplify-components-loader-stroke-filled);
3210
+ stroke-linecap: var(--amplify-components-loader-stroke-linecap);
3211
+ }
3198
3212
  .amplify-loader line:last-of-type {
3199
3213
  stroke: var(--amplify-components-loader-linear-stroke-filled);
3200
3214
  stroke-dasharray: 50% 200%;
@@ -3897,6 +3911,9 @@ strong.amplify-text {
3897
3911
  border-color: var(--amplify-internal-checkbox_button-focused-before-border-color);
3898
3912
  box-shadow: var(--amplify-internal-checkbox_button-focused-before-box-shadow);
3899
3913
  }
3914
+ .amplify-checkbox__button--error::before {
3915
+ border-color: var(--amplify-components-checkbox-button-error-border-color);
3916
+ }
3900
3917
  .amplify-checkbox__button--error {
3901
3918
  --amplify-internal-checkbox_button-focused-before-border-color: var(
3902
3919
  --amplify-components-checkbox-button-error-focus-border-color
@@ -3905,9 +3922,6 @@ strong.amplify-text {
3905
3922
  --amplify-components-checkbox-button-error-focus-box-shadow
3906
3923
  );
3907
3924
  }
3908
- .amplify-checkbox__button--error::before {
3909
- border-color: var(--amplify-components-checkbox-button-error-border-color);
3910
- }
3911
3925
  .amplify-checkbox__button--disabled::before {
3912
3926
  border-color: var(--amplify-components-checkbox-button-disabled-border-color);
3913
3927
  }
@@ -4166,7 +4180,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
4166
4180
  flex-direction: var(--amplify-components-fieldset-flex-direction);
4167
4181
  gap: var(--amplify-components-fieldset-gap);
4168
4182
  /* Sizes */
4169
- /* Variations */
4170
4183
  }
4171
4184
  .amplify-fieldset--small {
4172
4185
  gap: var(--amplify-components-fieldset-small-gap);
@@ -4174,6 +4187,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
4174
4187
  .amplify-fieldset--large {
4175
4188
  gap: var(--amplify-components-fieldset-large-gap);
4176
4189
  }
4190
+ .amplify-fieldset {
4191
+ /* Variations */
4192
+ }
4177
4193
  .amplify-fieldset--outlined {
4178
4194
  border: var(--amplify-components-fieldset-outlined-border-width) var(--amplify-components-fieldset-outlined-border-style) var(--amplify-components-fieldset-outlined-border-color);
4179
4195
  padding: var(--amplify-components-fieldset-outlined-padding);
@@ -5280,11 +5296,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
5280
5296
  outline-style: var(--amplify-components-fieldcontrol-outline-style);
5281
5297
  outline-width: var(--amplify-components-fieldcontrol-outline-width);
5282
5298
  outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
5283
- background-color: var(--amplify-components-select-background-color);
5284
- color: var(--amplify-components-select-color);
5285
- min-width: var(--amplify-components-select-min-width);
5286
- padding-inline-end: var(--amplify-components-select-padding-inline-end);
5287
- white-space: var(--amplify-components-select-white-space);
5288
5299
  }
5289
5300
  .amplify-select:focus {
5290
5301
  border-color: var(--amplify-components-fieldcontrol-focus-border-color);
@@ -5334,6 +5345,13 @@ html[dir=rtl] .amplify-field-group__inner-start {
5334
5345
  border-color: var(--amplify-components-fieldcontrol-disabled-border-color);
5335
5346
  background-color: var(--amplify-components-fieldcontrol-disabled-background-color);
5336
5347
  }
5348
+ .amplify-select {
5349
+ background-color: var(--amplify-components-select-background-color);
5350
+ color: var(--amplify-components-select-color);
5351
+ min-width: var(--amplify-components-select-min-width);
5352
+ padding-inline-end: var(--amplify-components-select-padding-inline-end);
5353
+ white-space: var(--amplify-components-select-white-space);
5354
+ }
5337
5355
  .amplify-select option {
5338
5356
  background-color: var(--amplify-components-select-option-background-color);
5339
5357
  color: var(--amplify-components-select-option-color);
@@ -5595,14 +5613,14 @@ html[dir=rtl] .amplify-field-group__inner-start {
5595
5613
  border-inline-start: none;
5596
5614
  }
5597
5615
 
5598
- .amplify-stepperfield__input {
5599
- -moz-appearance: textfield;
5600
- text-align: var(--amplify-components-stepperfield-input-text-align);
5601
- }
5602
5616
  .amplify-stepperfield__input::-webkit-outer-spin-button, .amplify-stepperfield__input::-webkit-inner-spin-button {
5603
5617
  -webkit-appearance: none;
5604
5618
  margin: 0;
5605
5619
  }
5620
+ .amplify-stepperfield__input {
5621
+ -moz-appearance: textfield;
5622
+ text-align: var(--amplify-components-stepperfield-input-text-align);
5623
+ }
5606
5624
  .amplify-stepperfield__input:not(:focus, [aria-invalid=true]) {
5607
5625
  border-inline-start: none;
5608
5626
  border-inline-end: none;
@@ -5715,9 +5733,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
5715
5733
  --amplify-components-table-header-border-width
5716
5734
  )
5717
5735
  0px var(--amplify-components-table-header-border-width) 0px;
5718
- /**
5719
- * Data attribute stylings
5720
- */
5721
5736
  }
5722
5737
  .amplify-table--small {
5723
5738
  --amplify-internal-table-caption-font-size: var(
@@ -5831,6 +5846,11 @@ html[dir=rtl] .amplify-field-group__inner-start {
5831
5846
  .amplify-table__td:last-child {
5832
5847
  border-right-width: var(--amplify-components-table-data-border-width);
5833
5848
  }
5849
+ .amplify-table {
5850
+ /**
5851
+ * Data attribute stylings
5852
+ */
5853
+ }
5834
5854
  .amplify-table[data-highlightonhover=true] .amplify-table__row:not(.amplify-table__head *):hover {
5835
5855
  background-color: var(--amplify-components-table-row-hover-background-color);
5836
5856
  }
@@ -5972,6 +5992,13 @@ html[dir=rtl] .amplify-field-group__inner-start {
5972
5992
  --amplify-internal-togglebutton-focus-color: var(
5973
5993
  --amplify-components-togglebutton-focus-color
5974
5994
  );
5995
+ }
5996
+ .amplify-togglebutton:focus {
5997
+ background-color: var(--amplify-internal-togglebutton-focus-background-color);
5998
+ border-color: var(--amplify-internal-togglebutton-focus-border-color);
5999
+ color: var(--amplify-internal-togglebutton-focus-color);
6000
+ }
6001
+ .amplify-togglebutton {
5975
6002
  --amplify-internal-togglebutton-hover-background-color: var(
5976
6003
  --amplify-components-togglebutton-hover-background-color
5977
6004
  );
@@ -5981,9 +6008,21 @@ html[dir=rtl] .amplify-field-group__inner-start {
5981
6008
  --amplify-internal-togglebutton-hover-color: var(
5982
6009
  --amplify-internal-togglebutton-color
5983
6010
  );
6011
+ }
6012
+ .amplify-togglebutton:hover {
6013
+ background-color: var(--amplify-internal-togglebutton-hover-background-color);
6014
+ border-color: var(--amplify-internal-togglebutton-hover-border-color);
6015
+ color: var(--amplify-internal-togglebutton-hover-color);
6016
+ }
6017
+ .amplify-togglebutton {
5984
6018
  --amplify-internal-togglebutton-active-background-color: var(
5985
6019
  --amplify-components-togglebutton-active-background-color
5986
6020
  );
6021
+ }
6022
+ .amplify-togglebutton:active {
6023
+ background-color: var(--amplify-internal-togglebutton-active-background-color);
6024
+ }
6025
+ .amplify-togglebutton {
5987
6026
  --amplify-internal-togglebutton-disabled-background-color: var(
5988
6027
  --amplify-components-togglebutton-disabled-background-color
5989
6028
  );
@@ -5994,19 +6033,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
5994
6033
  --amplify-components-togglebutton-disabled-color
5995
6034
  );
5996
6035
  }
5997
- .amplify-togglebutton:focus {
5998
- background-color: var(--amplify-internal-togglebutton-focus-background-color);
5999
- border-color: var(--amplify-internal-togglebutton-focus-border-color);
6000
- color: var(--amplify-internal-togglebutton-focus-color);
6001
- }
6002
- .amplify-togglebutton:hover {
6003
- background-color: var(--amplify-internal-togglebutton-hover-background-color);
6004
- border-color: var(--amplify-internal-togglebutton-hover-border-color);
6005
- color: var(--amplify-internal-togglebutton-hover-color);
6006
- }
6007
- .amplify-togglebutton:active {
6008
- background-color: var(--amplify-internal-togglebutton-active-background-color);
6009
- }
6010
6036
  .amplify-togglebutton:disabled {
6011
6037
  background-color: var(--amplify-internal-togglebutton-disabled-background-color);
6012
6038
  border-color: var(--amplify-internal-togglebutton-disabled-border-color);
@@ -6076,6 +6102,11 @@ html[dir=rtl] .amplify-field-group__inner-start {
6076
6102
  --amplify-internal-togglebutton-focus-color: var(
6077
6103
  --amplify-internal-togglebutton-primary-focus-color
6078
6104
  );
6105
+ }
6106
+ .amplify-togglebutton--primary:focus {
6107
+ box-shadow: var(--amplify-internal-togglebutton-primary-focus-box-shadow);
6108
+ }
6109
+ .amplify-togglebutton--primary {
6079
6110
  --amplify-internal-togglebutton-primary-hover-background-color: var(
6080
6111
  --amplify-components-togglebutton-primary-hover-background-color
6081
6112
  );
@@ -6113,9 +6144,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
6113
6144
  --amplify-internal-togglebutton-primary-disabled-color
6114
6145
  );
6115
6146
  }
6116
- .amplify-togglebutton--primary:focus {
6117
- box-shadow: var(--amplify-internal-togglebutton-primary-focus-box-shadow);
6118
- }
6119
6147
  .amplify-togglebutton--pressed {
6120
6148
  --amplify-internal-togglebutton-primary-background-color: var(
6121
6149
  --amplify-components-togglebutton-primary-pressed-background-color
@@ -6144,6 +6172,13 @@ html[dir=rtl] .amplify-field-group__inner-start {
6144
6172
  --amplify-internal-togglebutton-primary-hover-color: var(
6145
6173
  --amplify-components-togglebutton-primary-pressed-hover-color
6146
6174
  );
6175
+ }
6176
+ .amplify-togglebutton--pressed:hover {
6177
+ --amplify-internal-togglebutton-primary-focus-box-shadow: var(
6178
+ --amplify-components-togglebutton-primary-pressed-hover-box-shadow
6179
+ );
6180
+ }
6181
+ .amplify-togglebutton--pressed {
6147
6182
  --amplify-internal-togglebutton-primary-disabled-background-color: var(
6148
6183
  --amplify-components-togglebutton-primary-pressed-background-color
6149
6184
  );
@@ -6154,11 +6189,6 @@ html[dir=rtl] .amplify-field-group__inner-start {
6154
6189
  --amplify-components-togglebutton-primary-pressed-color
6155
6190
  );
6156
6191
  }
6157
- .amplify-togglebutton--pressed:hover {
6158
- --amplify-internal-togglebutton-primary-focus-box-shadow: var(
6159
- --amplify-components-togglebutton-primary-pressed-hover-box-shadow
6160
- );
6161
- }
6162
6192
  .amplify-togglebutton--link {
6163
6193
  --amplify-internal-togglebutton-link-background-color: var(
6164
6194
  --amplify-components-togglebutton-link-background-color
@@ -1 +1 @@
1
- export declare const VERSION = "2.3.3";
1
+ export declare const VERSION = "2.3.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-notifications",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {
@@ -39,10 +39,10 @@
39
39
  "typecheck": "tsc --noEmit"
40
40
  },
41
41
  "dependencies": {
42
- "@aws-amplify/ui": "6.15.3",
43
- "@aws-amplify/ui-react": "6.15.3",
44
- "@aws-amplify/ui-react-core": "3.6.3",
45
- "@aws-amplify/ui-react-core-notifications": "2.3.3",
42
+ "@aws-amplify/ui": "6.15.5",
43
+ "@aws-amplify/ui-react": "6.15.5",
44
+ "@aws-amplify/ui-react-core": "3.6.5",
45
+ "@aws-amplify/ui-react-core-notifications": "2.3.5",
46
46
  "tinycolor2": "1.4.2"
47
47
  },
48
48
  "peerDependencies": {