Skip to content

Commit

Permalink
chore: auto-generated
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasHeimGalindo committed Aug 9, 2023
1 parent 202ccd6 commit 96d113c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/elements/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ export namespace Components {
*/
"anchor"?: NavDrawerAnchor;
/**
* If true, the mobile drawer will be shown.
* If true, the mobile drawer will be shown. Automatically sets the variant to `modal`.
*/
"isMobile"?: boolean;
/**
Expand Down Expand Up @@ -2692,7 +2692,7 @@ declare namespace LocalJSX {
*/
"anchor"?: NavDrawerAnchor;
/**
* If true, the mobile drawer will be shown.
* If true, the mobile drawer will be shown. Automatically sets the variant to `modal`.
*/
"isMobile"?: boolean;
/**
Expand Down
3 changes: 2 additions & 1 deletion packages/elements/src/components/ino-nav-drawer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class MyComponent extends Component {
| Property | Attribute | Description | Type | Default |
| ---------- | ----------- | ---------------------------------------------------------------------------------------------- | -------------------------------------- | ---------- |
| `anchor` | `anchor` | Side from which the drawer will appear. Possible values: `left` (default), `right`. | `"left" \| "right"` | `'left'` |
| `isMobile` | `is-mobile` | If true, the mobile drawer will be shown. | `boolean` | `false` |
| `isMobile` | `is-mobile` | If true, the mobile drawer will be shown. Automatically sets the variant to `modal`. | `boolean` | `false` |
| `open` | `open` | Marks this element as open. (**unmanaged**) | `boolean` | `false` |
| `variant` | `variant` | The variant to use for the drawer Possible values: `docked` (default), `dismissible`, `modal`. | `"dismissible" \| "docked" \| "modal"` | `'docked'` |

Expand Down Expand Up @@ -151,6 +151,7 @@ class MyComponent extends Component {
| -------------------------------------- | ------------------------------------------------------- |
| `--ino-nav-drawer-background` | Background of the drawer. |
| `--ino-nav-drawer-height` | Height of the drawer. |
| `--ino-nav-drawer-mobile-width-open` | Mobile variant only! The width of the open drawer. |
| `--ino-nav-drawer-text-color` | Color of text inside the drawer. |
| `--ino-nav-drawer-timing-function` | Timing function of the slide animation of the drawer. |
| `--ino-nav-drawer-transition-duration` | Duration of the slide animation of the drawer. |
Expand Down
7 changes: 6 additions & 1 deletion packages/storybook/elements-stencil-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5046,7 +5046,7 @@
"mutable": false,
"attr": "is-mobile",
"reflectToAttr": false,
"docs": "If true, the mobile drawer will be shown.",
"docs": "If true, the mobile drawer will be shown. Automatically sets the variant to `modal`.",
"docsTags": [],
"default": "false",
"values": [
Expand Down Expand Up @@ -5124,6 +5124,11 @@
"annotation": "prop",
"docs": "Height of the drawer."
},
{
"name": "--ino-nav-drawer-mobile-width-open",
"annotation": "prop",
"docs": "Mobile variant only! The width of the open drawer."
},
{
"name": "--ino-nav-drawer-text-color",
"annotation": "prop",
Expand Down

0 comments on commit 96d113c

Please sign in to comment.