Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 0d2e08a

Browse files
committed
Update docs for site re-design
1 parent fdac467 commit 0d2e08a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/components/date-picker.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ While the `date-picker` component works out-of-the-box when you've [set the dire
1414
we recommend that you install and compile the JavaScript libraries before you deploy to production:
1515

1616
- [Alpine.js](https://github.com/alpinejs/alpine) `^2.8`
17-
- [Flatpickr](https://flatpickr.js.org/) `4.6.3`
17+
- [Flatpickr](https://flatpickr.js.org/) `^4.6.9`
1818

1919
Make sure you import flatpickr as `flatpickr` in your JavaScript, and make sure it's available globally:
2020

@@ -24,9 +24,6 @@ import flatpickr from 'flatpickr';
2424
window.flatpickr = flatpickr;
2525
```
2626

27-
**Note:** There is a bug introduced to flatpickr with the latest release that affects chrome users on MacOS. For this reason,
28-
you should lock your version to `4.6.3` until a fix for this issue is released. See [the github issue](https://github.com/flatpickr/flatpickr/issues/2249) for more information.
29-
3027
### Styling
3128

3229
If you pull the `flatpickr` package in via npm, you should import the styles into your stylesheet:

docs/components/file-upload.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This will output the following HTML:
5555
</div>
5656
```
5757

58-
**Note:** Since the component applies a class of `sr-only` (hides the input) to the input itself, the input must have an id assigned to it
58+
> {note} Since the component applies a class of `sr-only` (hides the input) to the input itself, the input must have an id assigned to it
5959
for the label to be able to trigger a click on the input. By default, the component assigns the `id` to the `name` attribute if you don't
6060
provide an `id` to it.
6161

@@ -71,7 +71,7 @@ for the `display-upload-progress` attribute.
7171
<x-file-upload wire:model="avatar" :display-upload-progress="false" />
7272
```
7373

74-
**Note:** Since the upload progress hooks into livewire events, it will not be shown unless you provide a `wire:model` to it.
74+
> {note} Since the upload progress hooks into livewire events, it will not be shown unless you provide a `wire:model` to it.
7575
7676
## Custom Button Label
7777

0 commit comments

Comments
 (0)