Skip to content

Commit

Permalink
fix: missing props (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Nov 15, 2023
1 parent 3586ae4 commit e98dd22
Show file tree
Hide file tree
Showing 25 changed files with 194 additions and 158 deletions.
89 changes: 44 additions & 45 deletions packages/docs-next/components/Autocomplete.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/docs-next/components/Datepicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ title: Datepicker
| locale | Date format locale | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>{<br>&nbsp;&nbsp;locale: undefined<br>}</code> |
| maxDate | Max date to select | date | - | |
| minDate | Min date to select | date | - | |
| mobileBreakpoint | Mobile breakpoint as max-width value | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>datepicker: {<br>&nbsp;&nbsp;mobileBreakpoint: undefined<br>}</code> |
| mobileModal | Enable dropdown mobile modal | boolean | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>datepicker: {<br>&nbsp;&nbsp;mobileModal: true<br>}</code> |
| mobileNative | Enable mobile native input if mobile agent | boolean | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>datepicker: {<br>&nbsp;&nbsp;mobileNative: true<br>}</code> |
| monthNames | Set custom month names, else use names based on locale | string[] | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>datepicker: {<br>&nbsp;&nbsp;monthNames: undefined<br>}</code> |
Expand Down
49 changes: 25 additions & 24 deletions packages/docs-next/components/Dropdown.md

Large diffs are not rendered by default.

49 changes: 25 additions & 24 deletions packages/docs-next/components/Modal.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/docs-next/components/Notification.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ title: Notification
| container | DOM element the toast will be created on (for programmatic usage).<br/>Note that this also changes the position of the toast from fixed to absolute.<br/>Meaning that the container should be fixed. | string \| HTMLElement | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>notification: {<br>&nbsp;&nbsp;container: "body"<br>}</code> |
| duration | Hide notification after duration (in miliseconds) | number | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>notification: {<br>&nbsp;&nbsp;duration: 2000<br>}</code> |
| events | Events to be binded to the injected component. | object | - | <code style='white-space: nowrap; padding: 0;'>{}</code> |
| indefinite | Show the Notification indefinitely until it is dismissed. | boolean | - | <code style='white-space: nowrap; padding: 0;'>false</code> |
| infinite | Show the Notification infinitely until it is dismissed. | boolean | - | <code style='white-space: nowrap; padding: 0;'>false</code> |
| notification | Props passed to the internal notification component. | NotifcationProps | - | Default function (see source code) |
| onCancel | Callback function to call after user canceled (pressed escape / clicked outside). | () =&gt; void | - | Default function (see source code) |
| onClose | Callback function to call after close (programmatically close or user canceled). | () =&gt; void | - | Default function (see source code) |
Expand Down
1 change: 1 addition & 0 deletions packages/docs-next/components/Pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ title: Pagination
| iconNext | Icon to use for next button | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>pagination: {<br>&nbsp;&nbsp;iconNext: "chevron-right"<br>}</code> |
| iconPack | Icon pack to use | string | `mdi`, `fa`, `fas and any other custom icon pack` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>pagination: {<br>&nbsp;&nbsp;iconPack: undefined<br>}</code> |
| iconPrev | Icon to use for previous button | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>pagination: {<br>&nbsp;&nbsp;iconPrev: "chevron-left"<br>}</code> |
| mobileBreakpoint | Mobile breakpoint as max-width value | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>pagination: {<br>&nbsp;&nbsp;mobileBreakpoint: undefined<br>}</code> |
| order | Buttons order, optional | string | `centered`, `right`, `left` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>pagination: {<br>&nbsp;&nbsp;order: "right"<br>}</code> |
| perPage | Items count for each page | number\|string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>pagination: {<br>&nbsp;&nbsp;perPage: 20<br>}</code> |
| rangeAfter | Number of pagination items to show after current page. | number | - | <code style='white-space: nowrap; padding: 0;'>1</code> |
Expand Down
1 change: 1 addition & 0 deletions packages/docs-next/components/Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ title: Sidebar
| fullwidth | Show sidebar in fullwidth | boolean | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>sidebar: {<br>&nbsp;&nbsp;fullwidth: false<br>}</code> |
| inline | Display the Sidebear inline | boolean | - | <code style='white-space: nowrap; padding: 0;'>false</code> |
| mobile | Custom layout on mobile | string | `fullwidth`, `reduced`, `hidden` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>sidebar: {<br>&nbsp;&nbsp;mobile: undefined<br>}</code> |
| mobileBreakpoint | Mobile breakpoint as max-width value | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>sidebar: {<br>&nbsp;&nbsp;mobileBreakpoint: undefined<br>}</code> |
| onCancel | Callback function to call after user canceled (pressed escape / clicked outside) | () =&gt; void | - | Default function (see source code) |
| onClose | Callback function to call after close (programmatically close or user canceled) | () =&gt; void | - | Default function (see source code) |
| overlay | Show an overlay like modal | boolean | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>sidebar: {<br>&nbsp;&nbsp;overlay: false<br>}</code> |
Expand Down

0 comments on commit e98dd22

Please sign in to comment.