@aws-amplify/ui-react-notifications 2.0.35 → 2.0.37

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.0.35';
1
+ const VERSION = '2.0.37';
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.0.35';
335
+ const VERSION = '2.0.37';
336
336
 
337
337
  // TODO: replace below components incrementally as they become available
338
338
  function CarouselMessage(_) {
package/dist/styles.css CHANGED
@@ -6600,6 +6600,157 @@ html[dir=rtl] .amplify-field-group__inner-start {
6600
6600
  gap: var(--amplify-space-small);
6601
6601
  }
6602
6602
 
6603
+ .amplify-storage-browser {
6604
+ display: flex;
6605
+ flex-direction: column;
6606
+ align-items: stretch;
6607
+ height: 100%;
6608
+ position: relative;
6609
+ padding: var(--amplify-space-small);
6610
+ gap: var(--amplify-space-small);
6611
+ /* Error boundary */
6612
+ }
6613
+ .amplify-storage-browser__error {
6614
+ background-color: var(--amplify-colors-background-error);
6615
+ color: var(--amplify-colors-font-error);
6616
+ padding: var(--amplify-space-medium);
6617
+ }
6618
+ .amplify-storage-browser__navigation, .amplify-storage-browser__exit {
6619
+ align-self: flex-start;
6620
+ }
6621
+ .amplify-storage-browser__title {
6622
+ font-weight: var(--amplify-font-weights-bold);
6623
+ font-size: var(--amplify-font-sizes-large);
6624
+ }
6625
+ .amplify-storage-browser__controls, .amplify-storage-browser__summary, .amplify-storage-browser__footer {
6626
+ display: flex;
6627
+ flex-direction: row;
6628
+ align-items: center;
6629
+ justify-content: space-between;
6630
+ width: 100%;
6631
+ gap: var(--amplify-space-medium);
6632
+ }
6633
+ .amplify-storage-browser__footer {
6634
+ justify-content: flex-end;
6635
+ }
6636
+ .amplify-storage-browser__search {
6637
+ display: flex;
6638
+ flex-direction: row;
6639
+ flex: 1;
6640
+ gap: var(--amplify-space-small);
6641
+ }
6642
+ .amplify-storage-browser__drop-zone {
6643
+ flex: 1;
6644
+ overflow: hidden;
6645
+ position: relative;
6646
+ width: 100%;
6647
+ display: block;
6648
+ }
6649
+ .amplify-storage-browser__data-table {
6650
+ overflow: auto;
6651
+ position: relative;
6652
+ border-width: var(--amplify-border-widths-small);
6653
+ border-style: solid;
6654
+ border-color: var(--amplify-colors-border-primary);
6655
+ border-radius: var(--amplify-radii-small);
6656
+ width: 100%;
6657
+ height: 100%;
6658
+ display: block;
6659
+ }
6660
+ .amplify-storage-browser__table {
6661
+ width: 100%;
6662
+ position: relative;
6663
+ }
6664
+ .amplify-storage-browser__table-head {
6665
+ position: sticky;
6666
+ top: 0;
6667
+ background: var(--amplify-colors-background-primary);
6668
+ box-shadow: var(--amplify-shadows-small);
6669
+ z-index: 2;
6670
+ }
6671
+ .amplify-storage-browser__table-header {
6672
+ border: none;
6673
+ padding: var(--amplify-space-xxxs);
6674
+ }
6675
+ .amplify-storage-browser__table-data-cell {
6676
+ padding: var(--amplify-space-xxxs);
6677
+ }
6678
+ .amplify-storage-browser__table-data-cell:first-child, .amplify-storage-browser__table-data-cell:last-child {
6679
+ border-inline-start-width: 0;
6680
+ border-inline-end-width: 0;
6681
+ }
6682
+ .amplify-storage-browser__table-data-cell-icon {
6683
+ vertical-align: middle;
6684
+ margin-inline-end: var(--amplify-space-xs);
6685
+ }
6686
+ .amplify-storage-browser__table-header--select, .amplify-storage-browser__table-data--select, .amplify-storage-browser__table-header--download, .amplify-storage-browser__table-data--download, .amplify-storage-browser__table-data--cancel {
6687
+ text-align: center;
6688
+ }
6689
+ .amplify-storage-browser__table-data--size, .amplify-storage-browser__table-header--size {
6690
+ text-align: end;
6691
+ }
6692
+ .amplify-storage-browser__table-button-data-cell, .amplify-storage-browser__table-date-data-cell, .amplify-storage-browser__table-number-data-cell, .amplify-storage-browser__table-text-data-cell, .amplify-storage-browser__table-sort-header {
6693
+ display: flex;
6694
+ width: 100%;
6695
+ gap: var(--amplify-space-xxs);
6696
+ padding: var(--amplify-space-xxs);
6697
+ text-overflow: ellipsis;
6698
+ overflow: hidden;
6699
+ white-space: nowrap;
6700
+ align-items: center;
6701
+ justify-content: flex-start;
6702
+ }
6703
+ .amplify-storage-browser__table-button-data-cell-icon--action-progress, .amplify-storage-browser__table-date-data-cell-icon--action-progress, .amplify-storage-browser__table-number-data-cell-icon--action-progress, .amplify-storage-browser__table-text-data-cell-icon--action-progress, .amplify-storage-browser__table-sort-header-icon--action-progress {
6704
+ animation-name: amplify-loader-circular;
6705
+ animation-timing-function: linear;
6706
+ animation-iteration-count: infinite;
6707
+ animation-duration: var(--amplify-components-loader-animation-duration);
6708
+ }
6709
+ .amplify-storage-browser__status {
6710
+ display: flex;
6711
+ flex-direction: row;
6712
+ gap: var(--amplify-space-xs);
6713
+ align-items: center;
6714
+ }
6715
+ .amplify-storage-browser__status-display {
6716
+ display: flex;
6717
+ flex-direction: row;
6718
+ justify-content: flex-end;
6719
+ align-items: center;
6720
+ gap: var(--amplify-space-small);
6721
+ flex: 1;
6722
+ }
6723
+ .amplify-storage-browser__status-label {
6724
+ font-weight: var(--amplify-font-weights-bold);
6725
+ }
6726
+ .amplify-storage-browser__status-value {
6727
+ color: var(--amplify-colors-font-secondary);
6728
+ }
6729
+ .amplify-storage-browser__destination {
6730
+ display: flex;
6731
+ flex-direction: row;
6732
+ gap: var(--amplify-space-xs);
6733
+ align-items: center;
6734
+ }
6735
+ .amplify-storage-browser__destination-label {
6736
+ font-weight: var(--amplify-font-weights-bold);
6737
+ }
6738
+ .amplify-storage-browser__message {
6739
+ flex: 1;
6740
+ }
6741
+ .amplify-storage-browser__buttons {
6742
+ justify-content: flex-end;
6743
+ display: flex;
6744
+ gap: var(--amplify-space-small);
6745
+ }
6746
+ .amplify-storage-browser__loader {
6747
+ position: absolute;
6748
+ stroke-width: var(--amplify-border-widths-large);
6749
+ height: var(--amplify-border-widths-large);
6750
+ top: 0;
6751
+ z-index: 3;
6752
+ }
6753
+
6603
6754
  .amplify-ai-conversation {
6604
6755
  display: flex;
6605
6756
  flex-direction: column;
@@ -6691,12 +6842,16 @@ html[dir=rtl] .amplify-field-group__inner-start {
6691
6842
  flex-direction: row;
6692
6843
  align-items: flex-start;
6693
6844
  gap: var(--amplify-components-ai-conversation-form-gap);
6694
- padding: var(--amplify-components-ai-conversation-form-padding);
6695
6845
  }
6696
6846
  .amplify-ai-conversation__form__dropzone {
6697
6847
  text-align: initial;
6698
6848
  border: none;
6849
+ padding: var(--amplify-components-ai-conversation-form-padding);
6850
+ }
6851
+ .amplify-ai-conversation__form__error {
6699
6852
  padding: 0;
6853
+ padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
6854
+ gap: var(--amplify-components-ai-conversation-attachment-gap);
6700
6855
  }
6701
6856
  .amplify-ai-conversation__attachment {
6702
6857
  display: flex;
@@ -6716,7 +6871,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
6716
6871
  flex-direction: row;
6717
6872
  flex-wrap: wrap;
6718
6873
  gap: var(--amplify-components-ai-conversation-attachment-list-gap);
6719
- padding-block-start: var(--amplify-components-ai-conversation-attachment-padding-block-start);
6874
+ padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
6720
6875
  }
6721
6876
  .amplify-ai-conversation__attachment__image {
6722
6877
  width: var(--amplify-components-ai-conversation-attachment-image-width);
@@ -1 +1 @@
1
- export declare const VERSION = "2.0.35";
1
+ export declare const VERSION = "2.0.37";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-notifications",
3
- "version": "2.0.35",
3
+ "version": "2.0.37",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {
@@ -39,14 +39,14 @@
39
39
  "typecheck": "tsc --noEmit"
40
40
  },
41
41
  "dependencies": {
42
- "@aws-amplify/ui": "6.6.6",
43
- "@aws-amplify/ui-react": "6.6.0",
44
- "@aws-amplify/ui-react-core": "3.0.30",
45
- "@aws-amplify/ui-react-core-notifications": "2.0.30",
42
+ "@aws-amplify/ui": "6.7.1",
43
+ "@aws-amplify/ui-react": "6.7.1",
44
+ "@aws-amplify/ui-react-core": "3.1.1",
45
+ "@aws-amplify/ui-react-core-notifications": "2.0.32",
46
46
  "tinycolor2": "1.4.2"
47
47
  },
48
48
  "peerDependencies": {
49
- "aws-amplify": "^6.6.5",
49
+ "aws-amplify": "^6.9.0",
50
50
  "react": "^16.14.0 || ^17.0 || ^18.0",
51
51
  "react-dom": "^16.14.0 || ^17.0 || ^18.0"
52
52
  },