Skip to content

Commit

Permalink
Add name prop to input - fix prettier issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Simon committed Aug 5, 2024
1 parent 6e3a129 commit 308173a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "date-picker-svelte",
"version": "2.13.0",
"version": "2.14.0",
"description": "Date and time picker for Svelte",
"type": "module",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/routes/docs/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The component will not assign a date value until a specific date is selected in
| `placeholder` | string | Placeholder used when date value is null |
| `timePrecision` | "minute" \| "second" \| "millisecond" \| null | Show a time picker with the specified precision |
| `id` | string \| null | Set the input element's ID attribute |
| `name` | string \| null | Set the input element's NAME attribute |
| `name` | string \| null | Set the input element's NAME attribute |
| `valid` | bool | Whether the text is valid |
| `format` | string | Format string |
| `visible` | bool | Whether the date popup is visible |
Expand Down Expand Up @@ -130,6 +130,7 @@ Dark theme example:
<h2 id="custom-css">Custom CSS</h2>

You can always use [:global()](https://svelte.dev/docs/svelte-components#style) to add your own styles. Example:

```css
:global(.date-time-picker) {
width: 16rem;
Expand Down

0 comments on commit 308173a

Please sign in to comment.