nuxt-ui-ink 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/app.config.ts +11 -2
- package/package.json +1 -1
package/app/app.config.ts
CHANGED
|
@@ -47,7 +47,8 @@ const fieldIcons = [
|
|
|
47
47
|
/** A field that opens a menu: its rows follow */
|
|
48
48
|
const pickerSizes = {
|
|
49
49
|
md: { ...fieldSizes.md, item: small, itemLeadingIcon: 'size-4 my-0.5', itemTrailingIcon: 'size-4 my-0.5' },
|
|
50
|
-
|
|
50
|
+
// The field's text is 13px at this size too, so its rows are
|
|
51
|
+
lg: { ...fieldSizes.lg, item: small, itemLeadingIcon: 'size-4 my-0.5', itemTrailingIcon: 'size-4 my-0.5' }
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
/** A menu row at the default size */
|
|
@@ -459,10 +460,11 @@ export default defineAppConfig({
|
|
|
459
460
|
}
|
|
460
461
|
},
|
|
461
462
|
|
|
463
|
+
// The knob keeps Nuxt UI's ring in the slider's color: it covers the end of the filled track under it
|
|
462
464
|
slider: {
|
|
463
465
|
slots: {
|
|
464
466
|
track: 'bg-(--ink-track)',
|
|
465
|
-
thumb: '
|
|
467
|
+
thumb: 'shadow-knob'
|
|
466
468
|
}
|
|
467
469
|
},
|
|
468
470
|
|
|
@@ -596,6 +598,13 @@ export default defineAppConfig({
|
|
|
596
598
|
]
|
|
597
599
|
},
|
|
598
600
|
|
|
601
|
+
// A page number is the same square as the arrow and the ellipsis beside it
|
|
602
|
+
pagination: {
|
|
603
|
+
slots: {
|
|
604
|
+
label: 'min-w-4 leading-4'
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
|
|
599
608
|
stepper: {
|
|
600
609
|
slots: {
|
|
601
610
|
separator: 'bg-accented'
|