@mintlify/validation 0.1.320 → 0.1.321
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/dist/mint-config/schemas/v1/anchors.js +1 -1
- package/dist/mint-config/schemas/v2/index.d.ts +190 -25
- package/dist/mint-config/schemas/v2/properties/icons.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/icons.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +10 -0
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +10 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +45 -0
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +28 -0
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +10 -0
- package/dist/mint-config/schemas/v2/properties/reusable/icon.d.ts +3 -0
- package/dist/mint-config/schemas/v2/properties/reusable/icon.js +10 -15
- package/dist/mint-config/schemas/v2/properties/reusable/page.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +38 -5
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +38 -5
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +38 -5
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +38 -5
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +24 -3
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +38 -5
- package/dist/mint-config/validateConfig.d.ts +70 -10
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -7,7 +7,7 @@ export const anchorSchema = z.object({
|
|
|
7
7
|
url: z.string().trim().nonempty(),
|
|
8
8
|
icon: z
|
|
9
9
|
.string({
|
|
10
|
-
invalid_type_error: 'Anchor icon must be the name of a Font Awesome icon.
|
|
10
|
+
invalid_type_error: 'Anchor icon must be the name of a Font Awesome or Lucide icon. Browse their libraries to see all the available icons: https://fontawesome.com/icons, https://lucide.dev/icons',
|
|
11
11
|
})
|
|
12
12
|
.refine((icon) => !icon.startsWith('fa-'), "Icon does not need to start with 'fa-'. Please delete 'fa-' and keep the rest of the icon name")
|
|
13
13
|
.optional(),
|