@aws-amplify/ui 6.7.0 → 6.7.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/esm/types/primitives/componentClassName.mjs +1 -0
- package/dist/index.js +1 -0
- package/dist/styles/AIConversation.css +6 -2
- package/dist/styles/AIConversation.layer.css +6 -2
- package/dist/styles.css +6 -2
- package/dist/styles.layer.css +6 -2
- package/dist/types/theme/components/aiConverstion.d.ts +1 -0
- package/dist/types/theme/components/index.d.ts +2 -2
- package/dist/types/types/primitives/componentClassName.d.ts +1 -0
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ const ComponentClassName = {
|
|
|
30
30
|
AIConversationAttachmentRemove: 'amplify-ai-conversation__attachment__remove',
|
|
31
31
|
AIConversationForm: 'amplify-ai-conversation__form',
|
|
32
32
|
AIConversationFormAttach: 'amplify-ai-conversation__form__attach',
|
|
33
|
+
AIConversationFormError: 'amplify-ai-conversation__form__error',
|
|
33
34
|
AIConversationFormSend: 'amplify-ai-conversation__form__send',
|
|
34
35
|
AIConversationFormField: 'amplify-ai-conversation__form__field',
|
|
35
36
|
AIConversationFormDropzone: 'amplify-ai-conversation__form__dropzone',
|
package/dist/index.js
CHANGED
|
@@ -3009,6 +3009,7 @@ const ComponentClassName = {
|
|
|
3009
3009
|
AIConversationAttachmentRemove: 'amplify-ai-conversation__attachment__remove',
|
|
3010
3010
|
AIConversationForm: 'amplify-ai-conversation__form',
|
|
3011
3011
|
AIConversationFormAttach: 'amplify-ai-conversation__form__attach',
|
|
3012
|
+
AIConversationFormError: 'amplify-ai-conversation__form__error',
|
|
3012
3013
|
AIConversationFormSend: 'amplify-ai-conversation__form__send',
|
|
3013
3014
|
AIConversationFormField: 'amplify-ai-conversation__form__field',
|
|
3014
3015
|
AIConversationFormDropzone: 'amplify-ai-conversation__form__dropzone',
|
|
@@ -89,12 +89,16 @@
|
|
|
89
89
|
flex-direction: row;
|
|
90
90
|
align-items: flex-start;
|
|
91
91
|
gap: var(--amplify-components-ai-conversation-form-gap);
|
|
92
|
-
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
93
92
|
}
|
|
94
93
|
.amplify-ai-conversation__form__dropzone {
|
|
95
94
|
text-align: initial;
|
|
96
95
|
border: none;
|
|
96
|
+
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
97
|
+
}
|
|
98
|
+
.amplify-ai-conversation__form__error {
|
|
97
99
|
padding: 0;
|
|
100
|
+
padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
|
|
101
|
+
gap: var(--amplify-components-ai-conversation-attachment-gap);
|
|
98
102
|
}
|
|
99
103
|
.amplify-ai-conversation__attachment {
|
|
100
104
|
display: flex;
|
|
@@ -114,7 +118,7 @@
|
|
|
114
118
|
flex-direction: row;
|
|
115
119
|
flex-wrap: wrap;
|
|
116
120
|
gap: var(--amplify-components-ai-conversation-attachment-list-gap);
|
|
117
|
-
padding-block-start: var(--amplify-components-ai-conversation-attachment-padding-block-start);
|
|
121
|
+
padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
|
|
118
122
|
}
|
|
119
123
|
.amplify-ai-conversation__attachment__image {
|
|
120
124
|
width: var(--amplify-components-ai-conversation-attachment-image-width);
|
|
@@ -90,12 +90,16 @@
|
|
|
90
90
|
flex-direction: row;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
gap: var(--amplify-components-ai-conversation-form-gap);
|
|
93
|
-
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
94
93
|
}
|
|
95
94
|
.amplify-ai-conversation__form__dropzone {
|
|
96
95
|
text-align: initial;
|
|
97
96
|
border: none;
|
|
97
|
+
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
98
|
+
}
|
|
99
|
+
.amplify-ai-conversation__form__error {
|
|
98
100
|
padding: 0;
|
|
101
|
+
padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
|
|
102
|
+
gap: var(--amplify-components-ai-conversation-attachment-gap);
|
|
99
103
|
}
|
|
100
104
|
.amplify-ai-conversation__attachment {
|
|
101
105
|
display: flex;
|
|
@@ -115,7 +119,7 @@
|
|
|
115
119
|
flex-direction: row;
|
|
116
120
|
flex-wrap: wrap;
|
|
117
121
|
gap: var(--amplify-components-ai-conversation-attachment-list-gap);
|
|
118
|
-
padding-block-start: var(--amplify-components-ai-conversation-attachment-padding-block-start);
|
|
122
|
+
padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
|
|
119
123
|
}
|
|
120
124
|
.amplify-ai-conversation__attachment__image {
|
|
121
125
|
width: var(--amplify-components-ai-conversation-attachment-image-width);
|
package/dist/styles.css
CHANGED
|
@@ -6842,12 +6842,16 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
6842
6842
|
flex-direction: row;
|
|
6843
6843
|
align-items: flex-start;
|
|
6844
6844
|
gap: var(--amplify-components-ai-conversation-form-gap);
|
|
6845
|
-
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
6846
6845
|
}
|
|
6847
6846
|
.amplify-ai-conversation__form__dropzone {
|
|
6848
6847
|
text-align: initial;
|
|
6849
6848
|
border: none;
|
|
6849
|
+
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
6850
|
+
}
|
|
6851
|
+
.amplify-ai-conversation__form__error {
|
|
6850
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);
|
|
6851
6855
|
}
|
|
6852
6856
|
.amplify-ai-conversation__attachment {
|
|
6853
6857
|
display: flex;
|
|
@@ -6867,7 +6871,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
6867
6871
|
flex-direction: row;
|
|
6868
6872
|
flex-wrap: wrap;
|
|
6869
6873
|
gap: var(--amplify-components-ai-conversation-attachment-list-gap);
|
|
6870
|
-
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);
|
|
6871
6875
|
}
|
|
6872
6876
|
.amplify-ai-conversation__attachment__image {
|
|
6873
6877
|
width: var(--amplify-components-ai-conversation-attachment-image-width);
|
package/dist/styles.layer.css
CHANGED
|
@@ -6843,12 +6843,16 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
6843
6843
|
flex-direction: row;
|
|
6844
6844
|
align-items: flex-start;
|
|
6845
6845
|
gap: var(--amplify-components-ai-conversation-form-gap);
|
|
6846
|
-
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
6847
6846
|
}
|
|
6848
6847
|
.amplify-ai-conversation__form__dropzone {
|
|
6849
6848
|
text-align: initial;
|
|
6850
6849
|
border: none;
|
|
6850
|
+
padding: var(--amplify-components-ai-conversation-form-padding);
|
|
6851
|
+
}
|
|
6852
|
+
.amplify-ai-conversation__form__error {
|
|
6851
6853
|
padding: 0;
|
|
6854
|
+
padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
|
|
6855
|
+
gap: var(--amplify-components-ai-conversation-attachment-gap);
|
|
6852
6856
|
}
|
|
6853
6857
|
.amplify-ai-conversation__attachment {
|
|
6854
6858
|
display: flex;
|
|
@@ -6868,7 +6872,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
6868
6872
|
flex-direction: row;
|
|
6869
6873
|
flex-wrap: wrap;
|
|
6870
6874
|
gap: var(--amplify-components-ai-conversation-attachment-list-gap);
|
|
6871
|
-
padding-block-start: var(--amplify-components-ai-conversation-attachment-padding-block-start);
|
|
6875
|
+
padding-block-start: var(--amplify-components-ai-conversation-attachment-list-padding-block-start);
|
|
6872
6876
|
}
|
|
6873
6877
|
.amplify-ai-conversation__attachment__image {
|
|
6874
6878
|
width: var(--amplify-components-ai-conversation-attachment-image-width);
|
|
@@ -12,6 +12,7 @@ export type AIConversationTheme<Required extends boolean = false> = ComponentSty
|
|
|
12
12
|
form__dropzone?: ComponentStyles;
|
|
13
13
|
form__attatch?: ComponentStyles;
|
|
14
14
|
form__send?: ComponentStyles;
|
|
15
|
+
form_error?: ComponentStyles;
|
|
15
16
|
form_field?: ComponentStyles;
|
|
16
17
|
attachment?: ComponentStyles;
|
|
17
18
|
attachment__list?: ComponentStyles;
|
|
@@ -47,7 +47,7 @@ import { ToggleButtonTheme, ToggleButtonGroupTheme } from './toggleButton';
|
|
|
47
47
|
import { ComponentTheme, BaseComponentTheme, BaseTheme } from './utils';
|
|
48
48
|
export { ClassNameFunction } from '../createTheme/createComponentClasses';
|
|
49
49
|
export type { ComponentTheme, BaseComponentTheme, BaseTheme };
|
|
50
|
-
export type ComponentsTheme<TokensType extends WebTokens = WebTokens> = BaseComponentTheme<BaseTheme, string, TokensType> | BaseComponentTheme<AccordionTheme, 'accordion', TokensType> | BaseComponentTheme<AIConversationTheme, 'ai-conversation', TokensType> | BaseComponentTheme<AlertTheme, 'alert', TokensType> | BaseComponentTheme<AutoCompleteTheme, 'autocomplete', TokensType> | BaseComponentTheme<AvatarTheme, 'avatar', TokensType> | BaseComponentTheme<BadgeTheme, 'badge', TokensType> | BaseComponentTheme<BreadcrumbsTheme, 'breadcrumbs', TokensType> | BaseComponentTheme<ButtonTheme, 'button', TokensType> | BaseComponentTheme<ButtonGroupTheme, 'buttongroup', TokensType> | BaseComponentTheme<CardTheme, 'card', TokensType> | BaseComponentTheme<CheckboxTheme, 'checkbox', TokensType> | BaseComponentTheme<CheckboxFieldTheme, 'checkboxfield', TokensType> | BaseComponentTheme<CollectionTheme, 'collection', TokensType> | BaseComponentTheme<DividerTheme, 'divider', TokensType> | BaseComponentTheme<DropZoneTheme, 'dropzone', TokensType> | BaseComponentTheme<FieldTheme, 'field', TokensType> | BaseComponentTheme<FieldGroupTheme, 'field-group', TokensType> | BaseComponentTheme<FieldsetTheme, 'fieldset', TokensType> | BaseComponentTheme<FileUploaderTheme, 'fileuploader', TokensType> | BaseComponentTheme<HeadingTheme, 'heading', TokensType> | BaseComponentTheme<HighlightMatchTheme, 'highlightmatch', TokensType> | BaseComponentTheme<InputTheme, 'input', TokensType> | BaseComponentTheme<LoaderTheme, 'loader', TokensType> | BaseComponentTheme<MenuTheme, 'menu', TokensType> | BaseComponentTheme<MessageTheme, 'message', TokensType> | BaseComponentTheme<PaginationTheme, 'pagination', TokensType> | BaseComponentTheme<PlaceholderTheme, 'placeholder', TokensType> | BaseComponentTheme<RatingTheme, 'rating', TokensType> | BaseComponentTheme<RadioTheme, 'radio', TokensType> | BaseComponentTheme<ScrollViewTheme, 'scrollview', TokensType> | BaseComponentTheme<SearchFieldTheme, 'searchfield', TokensType> | BaseComponentTheme<SelectTheme, 'select', TokensType> | BaseComponentTheme<SelectFieldTheme, 'selectfield', TokensType> | BaseComponentTheme<SliderFieldTheme, 'sliderfield', TokensType> | BaseComponentTheme<StepperFieldTheme, 'stepperfield', TokensType> | BaseComponentTheme<StorageBrowserTheme, '
|
|
50
|
+
export type ComponentsTheme<TokensType extends WebTokens = WebTokens> = BaseComponentTheme<BaseTheme, string, TokensType> | BaseComponentTheme<AccordionTheme, 'accordion', TokensType> | BaseComponentTheme<AIConversationTheme, 'ai-conversation', TokensType> | BaseComponentTheme<AlertTheme, 'alert', TokensType> | BaseComponentTheme<AutoCompleteTheme, 'autocomplete', TokensType> | BaseComponentTheme<AvatarTheme, 'avatar', TokensType> | BaseComponentTheme<BadgeTheme, 'badge', TokensType> | BaseComponentTheme<BreadcrumbsTheme, 'breadcrumbs', TokensType> | BaseComponentTheme<ButtonTheme, 'button', TokensType> | BaseComponentTheme<ButtonGroupTheme, 'buttongroup', TokensType> | BaseComponentTheme<CardTheme, 'card', TokensType> | BaseComponentTheme<CheckboxTheme, 'checkbox', TokensType> | BaseComponentTheme<CheckboxFieldTheme, 'checkboxfield', TokensType> | BaseComponentTheme<CollectionTheme, 'collection', TokensType> | BaseComponentTheme<DividerTheme, 'divider', TokensType> | BaseComponentTheme<DropZoneTheme, 'dropzone', TokensType> | BaseComponentTheme<FieldTheme, 'field', TokensType> | BaseComponentTheme<FieldGroupTheme, 'field-group', TokensType> | BaseComponentTheme<FieldsetTheme, 'fieldset', TokensType> | BaseComponentTheme<FileUploaderTheme, 'fileuploader', TokensType> | BaseComponentTheme<HeadingTheme, 'heading', TokensType> | BaseComponentTheme<HighlightMatchTheme, 'highlightmatch', TokensType> | BaseComponentTheme<InputTheme, 'input', TokensType> | BaseComponentTheme<LoaderTheme, 'loader', TokensType> | BaseComponentTheme<MenuTheme, 'menu', TokensType> | BaseComponentTheme<MessageTheme, 'message', TokensType> | BaseComponentTheme<PaginationTheme, 'pagination', TokensType> | BaseComponentTheme<PlaceholderTheme, 'placeholder', TokensType> | BaseComponentTheme<RatingTheme, 'rating', TokensType> | BaseComponentTheme<RadioTheme, 'radio', TokensType> | BaseComponentTheme<ScrollViewTheme, 'scrollview', TokensType> | BaseComponentTheme<SearchFieldTheme, 'searchfield', TokensType> | BaseComponentTheme<SelectTheme, 'select', TokensType> | BaseComponentTheme<SelectFieldTheme, 'selectfield', TokensType> | BaseComponentTheme<SliderFieldTheme, 'sliderfield', TokensType> | BaseComponentTheme<StepperFieldTheme, 'stepperfield', TokensType> | BaseComponentTheme<StorageBrowserTheme, 'storage-browser', TokensType> | BaseComponentTheme<StorageManagerTheme, 'storagemanager', TokensType> | BaseComponentTheme<SwitchTheme, 'switch', TokensType> | BaseComponentTheme<SwitchFieldTheme, 'switchfield', TokensType> | BaseComponentTheme<TabsTheme, 'tabs', TokensType> | BaseComponentTheme<TableTheme, 'table', TokensType> | BaseComponentTheme<TextTheme, 'text', TokensType> | BaseComponentTheme<TextareaTheme, 'textarea', TokensType> | BaseComponentTheme<TextareaFieldTheme, 'textareafield', TokensType> | BaseComponentTheme<TextFieldTheme, 'textfield', TokensType> | BaseComponentTheme<ToggleButtonTheme, 'togglebutton', TokensType> | BaseComponentTheme<ToggleButtonGroupTheme, 'togglebuttongroup', TokensType>;
|
|
51
51
|
export type AllComponentThemes = {
|
|
52
52
|
accordion: AccordionTheme;
|
|
53
53
|
'ai-conversation': AIConversationTheme;
|
|
@@ -84,7 +84,7 @@ export type AllComponentThemes = {
|
|
|
84
84
|
selectfield: SelectFieldTheme;
|
|
85
85
|
sliderfield: SliderFieldTheme;
|
|
86
86
|
stepperfield: StepperFieldTheme;
|
|
87
|
-
|
|
87
|
+
'storage-browser': StorageBrowserTheme;
|
|
88
88
|
storagemanager: StorageManagerTheme;
|
|
89
89
|
switch: SwitchTheme;
|
|
90
90
|
switchfield: SwitchFieldTheme;
|
|
@@ -30,6 +30,7 @@ export declare const ComponentClassName: {
|
|
|
30
30
|
readonly AIConversationAttachmentRemove: "amplify-ai-conversation__attachment__remove";
|
|
31
31
|
readonly AIConversationForm: "amplify-ai-conversation__form";
|
|
32
32
|
readonly AIConversationFormAttach: "amplify-ai-conversation__form__attach";
|
|
33
|
+
readonly AIConversationFormError: "amplify-ai-conversation__form__error";
|
|
33
34
|
readonly AIConversationFormSend: "amplify-ai-conversation__form__send";
|
|
34
35
|
readonly AIConversationFormField: "amplify-ai-conversation__form__field";
|
|
35
36
|
readonly AIConversationFormDropzone: "amplify-ai-conversation__form__dropzone";
|