Skip to content

Conversation

@ernst-dev
Copy link
Member

Description

Add PromptInput from components to this package.

Related links, issue #, if available: n/a

How has this been tested?

Original unit tests carried over, integration tests missing, none in chat-components

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -0,0 +1,77 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would need to be the same shared context as in the main repo in order for it to work I think?

*/
@use "../../node_modules/@cloudscape-design/design-tokens/index.scss" as cs;

$font-weight-normal: 400;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is definitely some risk from the duplication in this file. For example, I think there is an ongoing initiative to make typography more themeable, and things in this file might get missed when refactoring in the main repo. I think realistically, anything in here should be exposed as a design token from the main repo.

@@ -0,0 +1,80 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably go to components-toolkit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants