diff --git a/.changeset/beige-guests-promise.md b/.changeset/beige-guests-promise.md new file mode 100644 index 0000000000..5cfe173a96 --- /dev/null +++ b/.changeset/beige-guests-promise.md @@ -0,0 +1,6 @@ +--- +"@twilio-paste/popover": patch +"@twilio-paste/core": patch +--- + +[Popover] Fix typings that were not exposing additional props on using a reset button variant diff --git a/.changeset/warm-suits-cough.md b/.changeset/warm-suits-cough.md new file mode 100644 index 0000000000..92bb7f9e97 --- /dev/null +++ b/.changeset/warm-suits-cough.md @@ -0,0 +1,6 @@ +--- +"@twilio-paste/ai-chat-log": patch +"@twilio-paste/core": patch +--- + +[AIChatLog] Correctly set the color of the AI icon diff --git a/packages/paste-core/components/ai-chat-log/src/AIChatMessageAuthor.tsx b/packages/paste-core/components/ai-chat-log/src/AIChatMessageAuthor.tsx index 6b3f229d70..b9ef3f803e 100644 --- a/packages/paste-core/components/ai-chat-log/src/AIChatMessageAuthor.tsx +++ b/packages/paste-core/components/ai-chat-log/src/AIChatMessageAuthor.tsx @@ -73,6 +73,7 @@ export const AIChatMessageAuthor = React.forwardRef diff --git a/packages/paste-core/components/popover/src/types.ts b/packages/paste-core/components/popover/src/types.ts index 417b5b5ff1..d9367100d6 100644 --- a/packages/paste-core/components/popover/src/types.ts +++ b/packages/paste-core/components/popover/src/types.ts @@ -13,7 +13,7 @@ type PopoverButtonBaseProps = { }; export type PopoverButtonProps = PopoverButtonBaseProps & - Omit & { + ButtonProps & { /** * Overrides the default element name to apply unique styles with the Customization Provider * diff --git a/packages/paste-core/components/popover/type-docs.json b/packages/paste-core/components/popover/type-docs.json index 3d84791579..7d389fd96c 100644 --- a/packages/paste-core/components/popover/type-docs.json +++ b/packages/paste-core/components/popover/type-docs.json @@ -2203,6 +2203,13 @@ "externalProp": true, "description": "Defines the human readable text alternative of aria-valuenow for a range widget." }, + "as": { + "type": "keyof IntrinsicElements", + "defaultValue": "'button'", + "required": false, + "externalProp": false, + "description": "The HTML tag to replace the default `