Skip to content

Commit

Permalink
feat: hide props used only by group #91
Browse files Browse the repository at this point in the history
  • Loading branch information
rmenner committed Jan 16, 2025
1 parent 15f2109 commit a35a09d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 8 additions & 10 deletions components/counter/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@

## Properties

| Property | Attribute | Type | Default | Description |
|--------------|--------------|-----------|-------------|---------------------------------------------|
| `disableMax` | `disableMax` | `boolean` | false | Indicates if the maximum value is disabled. |
| `disableMin` | `disableMin` | `boolean` | false | Indicates if the minimum value is disabled. |
| `disabled` | `disabled` | `boolean` | false | Indicates if the counter is disabled. |
| `max` | `max` | `number` | 9 | The maximum value for the counter. |
| `min` | `min` | `number` | 0 | The minimum value for the counter. |
| `noValidate` | `noValidate` | `boolean` | false | Indicates if validation is disabled. |
| `validity` | `validity` | `string` | "undefined" | The validity state of the counter. |
| `value` | `value` | `number` | "undefined" | The current value of the counter. |
| Property | Attribute | Type | Default | Description |
|--------------|--------------|-----------|-------------|---------------------------------------|
| `disabled` | `disabled` | `boolean` | false | Indicates if the counter is disabled. |
| `max` | `max` | `number` | 9 | The maximum value for the counter. |
| `min` | `min` | `number` | 0 | The minimum value for the counter. |
| `noValidate` | `noValidate` | `boolean` | false | Indicates if validation is disabled. |
| `validity` | `validity` | `string` | "undefined" | The validity state of the counter. |
| `value` | `value` | `number` | "undefined" | The current value of the counter. |

## Methods

Expand Down
2 changes: 2 additions & 0 deletions components/counter/src/auro-counter.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@ export class AuroCounter extends LitElement {

/**
* Indicates if the maximum value is disabled.
* @private
*/
disableMax: {
type: Boolean,
},

/**
* Indicates if the minimum value is disabled.
* @private
*/
disableMin: {
type: Boolean,
Expand Down

0 comments on commit a35a09d

Please sign in to comment.