Skip to content

Commit fe4e1f8

Browse files
fix(icons): update loading icon (#4163)
Co-authored-by: Benjamin Canac <[email protected]>
1 parent 3243fb8 commit fe4e1f8

27 files changed

+63
-63
lines changed

docs/app/components/content/examples/context-menu/ContextMenuCustomSlotExample.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const items = [
2828
</template>
2929

3030
<template #refresh-trailing>
31-
<UIcon v-if="loading" name="i-lucide-refresh-cw" class="shrink-0 size-5 text-primary animate-spin" />
31+
<UIcon v-if="loading" name="i-lucide-loader-circle" class="shrink-0 size-5 text-primary animate-spin" />
3232
</template>
3333
</UContextMenu>
3434
</template>

docs/content/1.getting-started/contribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ pnpm run test:vue # for Vue
225225
```
226226

227227
::tip
228-
If you have to update the snapshots, press `u` when running the tests.
228+
If you have to update the snapshots, press `u` after the tests have finished running.
229229
::
230230

231231
### Commit Conventions

docs/content/3.components/button.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,13 @@ This also works with the [Form](/components/form) component.
258258

259259
### Loading Icon
260260

261-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
261+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
262262

263263
::component-code
264264
---
265265
props:
266266
loading: true
267-
loadingIcon: 'i-lucide-repeat-2'
267+
loadingIcon: 'i-lucide-loader'
268268
slots:
269269
default: Button
270270
---

docs/content/3.components/command-palette.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ props:
279279

280280
### Loading Icon
281281

282-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
282+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
283283

284284
::component-code
285285
---
@@ -295,7 +295,7 @@ class: '!p-0'
295295
props:
296296
autofocus: false
297297
loading: true
298-
loadingIcon: 'i-lucide-repeat-2'
298+
loadingIcon: 'i-lucide-loader'
299299
groups:
300300
- id: 'apps'
301301
items:

docs/content/3.components/input-menu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ props:
518518

519519
### Loading Icon
520520

521-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
521+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
522522

523523
::component-code
524524
---
@@ -532,7 +532,7 @@ external:
532532
props:
533533
modelValue: 'Backlog'
534534
loading: true
535-
loadingIcon: 'i-lucide-repeat-2'
535+
loadingIcon: 'i-lucide-loader'
536536
items:
537537
- Backlog
538538
- Todo

docs/content/3.components/input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ props:
172172

173173
### Loading Icon
174174

175-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
175+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
176176

177177
::component-code
178178
---
179179
ignore:
180180
- placeholder
181181
props:
182182
loading: true
183-
loadingIcon: 'i-lucide-repeat-2'
183+
loadingIcon: 'i-lucide-loader'
184184
placeholder: 'Search...'
185185
---
186186
::

docs/content/3.components/select-menu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ props:
555555

556556
### Loading Icon
557557

558-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
558+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
559559

560560
::component-code
561561
---
@@ -570,7 +570,7 @@ external:
570570
props:
571571
modelValue: 'Backlog'
572572
loading: true
573-
loadingIcon: 'i-lucide-repeat-2'
573+
loadingIcon: 'i-lucide-loader'
574574
items:
575575
- Backlog
576576
- Todo

docs/content/3.components/select.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ props:
507507

508508
### Loading Icon
509509

510-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
510+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
511511

512512
::component-code
513513
---
@@ -522,7 +522,7 @@ external:
522522
props:
523523
modelValue: 'Backlog'
524524
loading: true
525-
loadingIcon: 'i-lucide-repeat-2'
525+
loadingIcon: 'i-lucide-loader'
526526
items:
527527
- Backlog
528528
- Todo

docs/content/3.components/switch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ props:
109109

110110
### Loading Icon
111111

112-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
112+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
113113

114114
::component-code
115115
---
@@ -118,7 +118,7 @@ ignore:
118118
- defaultValue
119119
props:
120120
loading: true
121-
loadingIcon: 'i-lucide-repeat-2'
121+
loadingIcon: 'i-lucide-loader'
122122
defaultValue: true
123123
label: Check me
124124
---

docs/content/3.components/textarea.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,15 @@ props:
194194

195195
### Loading Icon :badge{label="New" class="align-text-top"}
196196

197-
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-refresh-cw`.
197+
Use the `loading-icon` prop to customize the loading icon. Defaults to `i-lucide-loader-circle`.
198198

199199
::component-code
200200
---
201201
ignore:
202202
- placeholder
203203
props:
204204
loading: true
205-
loadingIcon: 'i-lucide-repeat-2'
205+
loadingIcon: 'i-lucide-loader'
206206
placeholder: 'Search...'
207207
rows: 1
208208
---

0 commit comments

Comments
 (0)