Skip to content

Commit 8ea2ab2

Browse files
committed
style: specify its the buttons component that changes the fill
1 parent b476bfe commit 8ea2ab2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/components.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ export namespace Components {
600600
*/
601601
"expand"?: 'full' | 'block';
602602
/**
603-
* Set to `"clear"` for a transparent button that resembles a flat button, to `"outline"` for a transparent button with a border, or to `"solid"` for a button with a filled background. The default fill is `"solid"` except when inside of a datetime or toolbar, where the default is `"clear"`.
603+
* Set to `"clear"` for a transparent button that resembles a flat button, to `"outline"` for a transparent button with a border, or to `"solid"` for a button with a filled background. The default fill is `"solid"` except when inside of a buttons or datetime component, where the default fill is `"clear"`.
604604
*/
605605
"fill"?: 'clear' | 'outline' | 'solid' | 'default';
606606
/**
@@ -6555,7 +6555,7 @@ declare namespace LocalJSX {
65556555
*/
65566556
"expand"?: 'full' | 'block';
65576557
/**
6558-
* Set to `"clear"` for a transparent button that resembles a flat button, to `"outline"` for a transparent button with a border, or to `"solid"` for a button with a filled background. The default fill is `"solid"` except when inside of a datetime or toolbar, where the default is `"clear"`.
6558+
* Set to `"clear"` for a transparent button that resembles a flat button, to `"outline"` for a transparent button with a border, or to `"solid"` for a button with a filled background. The default fill is `"solid"` except when inside of a buttons or datetime component, where the default fill is `"clear"`.
65596559
*/
65606560
"fill"?: 'clear' | 'outline' | 'solid' | 'default';
65616561
/**

core/src/components/button/button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ export class Button implements ComponentInterface, AnchorInterface, ButtonInterf
7979
/**
8080
* Set to `"clear"` for a transparent button that resembles a flat button, to `"outline"`
8181
* for a transparent button with a border, or to `"solid"` for a button with a filled background.
82-
* The default fill is `"solid"` except when inside of a datetime or toolbar, where the default
83-
* is `"clear"`.
82+
* The default fill is `"solid"` except when inside of a buttons or datetime component, where
83+
* the default fill is `"clear"`.
8484
*/
8585
@Prop({ reflect: true, mutable: true }) fill?: 'clear' | 'outline' | 'solid' | 'default';
8686

0 commit comments

Comments
 (0)