Skip to content

Commit 02ff665

Browse files
committed
✨ icon enum
closes #4 Signed-off-by: bnomei <[email protected]>
1 parent 3a91ba8 commit 02ff665

File tree

2 files changed

+190
-2
lines changed

2 files changed

+190
-2
lines changed

kirby3-blueprints.schema.json

Lines changed: 189 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,195 @@
978978
"description": "Image options to control the source and look of file previews"
979979
},
980980
"@icon": {
981-
"$ref": "#/$defs/nonEmptyString"
981+
"oneOf": [
982+
{
983+
"$ref": "#/$defs/nonEmptyString"
984+
},
985+
{
986+
"enum": [
987+
"account",
988+
"add",
989+
"alert",
990+
"angle-down",
991+
"angle-left",
992+
"angle-right",
993+
"angle-up",
994+
"archive",
995+
"attachment",
996+
"audio",
997+
"badge",
998+
"bars",
999+
"bell",
1000+
"blank",
1001+
"bold",
1002+
"bolt",
1003+
"book",
1004+
"bookmark",
1005+
"box",
1006+
"brush",
1007+
"bug",
1008+
"calendar",
1009+
"cancel",
1010+
"cancel-small",
1011+
"car",
1012+
"cart",
1013+
"chart",
1014+
"chat",
1015+
"check",
1016+
"circle",
1017+
"circle-filled",
1018+
"circle-half",
1019+
"circle-nested",
1020+
"circle-outline",
1021+
"clock",
1022+
"code",
1023+
"cog",
1024+
"collapse",
1025+
"copy",
1026+
"credit-card",
1027+
"crop",
1028+
"dashboard",
1029+
"discord",
1030+
"discount",
1031+
"display",
1032+
"divider",
1033+
"document",
1034+
"dots",
1035+
"download",
1036+
"draft",
1037+
"edit",
1038+
"email",
1039+
"expand",
1040+
"facebook",
1041+
"file",
1042+
"file-audio",
1043+
"file-code",
1044+
"file-document",
1045+
"file-image",
1046+
"file-spreadsheet",
1047+
"file-text",
1048+
"file-video",
1049+
"file-word",
1050+
"file-zip",
1051+
"filter",
1052+
"flag",
1053+
"folder",
1054+
"folder-structure",
1055+
"food",
1056+
"funnel",
1057+
"github",
1058+
"globe",
1059+
"grid",
1060+
"grid-bottom",
1061+
"grid-bottom-left",
1062+
"grid-bottom-right",
1063+
"grid-full",
1064+
"grid-left",
1065+
"grid-right",
1066+
"grid-top",
1067+
"grid-top-left",
1068+
"grid-top-right",
1069+
"h1",
1070+
"h2",
1071+
"h3",
1072+
"h4",
1073+
"h5",
1074+
"h6",
1075+
"headline",
1076+
"heart",
1077+
"heart-outline",
1078+
"hidden",
1079+
"home",
1080+
"image",
1081+
"images",
1082+
"import",
1083+
"info",
1084+
"instagram",
1085+
"italic",
1086+
"key",
1087+
"layers",
1088+
"linkedin",
1089+
"list-bullet",
1090+
"list-numbers",
1091+
"live",
1092+
"loader",
1093+
"lock",
1094+
"logout",
1095+
"map",
1096+
"markdown",
1097+
"menu",
1098+
"mobile",
1099+
"money",
1100+
"moon",
1101+
"open",
1102+
"order-alpha-asc",
1103+
"order-alpha-desc",
1104+
"order-num-asc",
1105+
"order-num-desc",
1106+
"page",
1107+
"palette",
1108+
"paragraph",
1109+
"parent",
1110+
"paypal",
1111+
"pen",
1112+
"phone",
1113+
"pin",
1114+
"pinterest",
1115+
"pipette",
1116+
"play",
1117+
"preview",
1118+
"print",
1119+
"protected",
1120+
"qr-code",
1121+
"question",
1122+
"quote",
1123+
"refresh",
1124+
"remove",
1125+
"road-sign",
1126+
"search",
1127+
"server",
1128+
"settings",
1129+
"share",
1130+
"shuffle",
1131+
"sitemap",
1132+
"smile",
1133+
"sort",
1134+
"star",
1135+
"star-outline",
1136+
"store",
1137+
"strikethrough",
1138+
"sun",
1139+
"table",
1140+
"tablet",
1141+
"tag",
1142+
"template",
1143+
"text",
1144+
"text-center",
1145+
"text-justify",
1146+
"text-left",
1147+
"text-right",
1148+
"ticket",
1149+
"tiktok",
1150+
"title",
1151+
"toggle-off",
1152+
"toggle-on",
1153+
"trash",
1154+
"twitter",
1155+
"underline",
1156+
"undo",
1157+
"unlock",
1158+
"upload",
1159+
"url",
1160+
"user",
1161+
"users",
1162+
"video",
1163+
"vimeo",
1164+
"wand",
1165+
"whatsapp",
1166+
"wheelchair"
1167+
]
1168+
}
1169+
]
9821170
},
9831171
"@info": {
9841172
"$ref": "#/$defs/nonEmptyString",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kirby3-schema",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)