| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/daily-schedule", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Daily Schedule", |
| 7 |
"category": "bkbg-blog", |
| 8 |
"icon": "calendar-alt", |
| 9 |
"description": "A time-blocked daily schedule — share your ideal day, work routine, or time-management system with a visual timeline.", |
| 10 |
"keywords": [ |
| 11 |
"schedule", |
| 12 |
"calendar", |
| 13 |
"time block", |
| 14 |
"day", |
| 15 |
"routine", |
| 16 |
"planner", |
| 17 |
"agenda", |
| 18 |
"timeline" |
| 19 |
], |
| 20 |
"textdomain": "blockenberg", |
| 21 |
"editorScript": "bkbg-daily-schedule-editor", |
| 22 |
"editorStyle": "bkbg-daily-schedule-style", |
| 23 |
"style": "bkbg-daily-schedule-style", |
| 24 |
"viewScript": "bkbg-daily-schedule-frontend", |
| 25 |
"supports": { |
| 26 |
"html": false, |
| 27 |
"anchor": true, |
| 28 |
"className": true, |
| 29 |
"align": [ |
| 30 |
"wide", |
| 31 |
"full" |
| 32 |
] |
| 33 |
}, |
| 34 |
"attributes": { |
| 35 |
"dayTitle": { |
| 36 |
"type": "string", |
| 37 |
"default": "A Typical Work Day" |
| 38 |
}, |
| 39 |
"showTitle": { |
| 40 |
"type": "boolean", |
| 41 |
"default": true |
| 42 |
}, |
| 43 |
"hourStart": { |
| 44 |
"type": "number", |
| 45 |
"default": 6 |
| 46 |
}, |
| 47 |
"hourEnd": { |
| 48 |
"type": "number", |
| 49 |
"default": 22 |
| 50 |
}, |
| 51 |
"use12Hour": { |
| 52 |
"type": "boolean", |
| 53 |
"default": true |
| 54 |
}, |
| 55 |
"hourHeight": { |
| 56 |
"type": "number", |
| 57 |
"default": 60 |
| 58 |
}, |
| 59 |
"showGridLines": { |
| 60 |
"type": "boolean", |
| 61 |
"default": true |
| 62 |
}, |
| 63 |
"showEventTime": { |
| 64 |
"type": "boolean", |
| 65 |
"default": true |
| 66 |
}, |
| 67 |
"showEventNote": { |
| 68 |
"type": "boolean", |
| 69 |
"default": true |
| 70 |
}, |
| 71 |
"events": { |
| 72 |
"type": "array", |
| 73 |
"default": [ |
| 74 |
{ |
| 75 |
"title": "Morning Run & Stretch", |
| 76 |
"startHour": 6, |
| 77 |
"startMin": 0, |
| 78 |
"duration": 45, |
| 79 |
"category": "health", |
| 80 |
"note": "Light jog + 10 min yoga" |
| 81 |
}, |
| 82 |
{ |
| 83 |
"title": "Breakfast & Email Triage", |
| 84 |
"startHour": 7, |
| 85 |
"startMin": 0, |
| 86 |
"duration": 60, |
| 87 |
"category": "meal", |
| 88 |
"note": "Inbox zero strategy" |
| 89 |
}, |
| 90 |
{ |
| 91 |
"title": "Deep Work Block #1", |
| 92 |
"startHour": 8, |
| 93 |
"startMin": 0, |
| 94 |
"duration": 120, |
| 95 |
"category": "work", |
| 96 |
"note": "Most important project — no distractions" |
| 97 |
}, |
| 98 |
{ |
| 99 |
"title": "Team Standup", |
| 100 |
"startHour": 10, |
| 101 |
"startMin": 0, |
| 102 |
"duration": 30, |
| 103 |
"category": "work", |
| 104 |
"note": "Daily sync with the team" |
| 105 |
}, |
| 106 |
{ |
| 107 |
"title": "Deep Work Block #2", |
| 108 |
"startHour": 10, |
| 109 |
"startMin": 30, |
| 110 |
"duration": 90, |
| 111 |
"category": "work", |
| 112 |
"note": "Feature development / writing" |
| 113 |
}, |
| 114 |
{ |
| 115 |
"title": "Lunch Break", |
| 116 |
"startHour": 12, |
| 117 |
"startMin": 0, |
| 118 |
"duration": 60, |
| 119 |
"category": "meal", |
| 120 |
"note": "Screen-free lunch" |
| 121 |
}, |
| 122 |
{ |
| 123 |
"title": "Meetings & Reviews", |
| 124 |
"startHour": 13, |
| 125 |
"startMin": 0, |
| 126 |
"duration": 90, |
| 127 |
"category": "work", |
| 128 |
"note": "1:1s, PRs, code review" |
| 129 |
}, |
| 130 |
{ |
| 131 |
"title": "Creative / Learning Time", |
| 132 |
"startHour": 14, |
| 133 |
"startMin": 30, |
| 134 |
"duration": 90, |
| 135 |
"category": "personal", |
| 136 |
"note": "Side project, reading, courses" |
| 137 |
}, |
| 138 |
{ |
| 139 |
"title": "Short Break & Walk", |
| 140 |
"startHour": 16, |
| 141 |
"startMin": 0, |
| 142 |
"duration": 30, |
| 143 |
"category": "break", |
| 144 |
"note": "Reset + step outside" |
| 145 |
}, |
| 146 |
{ |
| 147 |
"title": "Admin & Planning", |
| 148 |
"startHour": 16, |
| 149 |
"startMin": 30, |
| 150 |
"duration": 60, |
| 151 |
"category": "work", |
| 152 |
"note": "Wrap up tasks, plan tomorrow" |
| 153 |
}, |
| 154 |
{ |
| 155 |
"title": "Dinner & Family Time", |
| 156 |
"startHour": 18, |
| 157 |
"startMin": 0, |
| 158 |
"duration": 120, |
| 159 |
"category": "meal", |
| 160 |
"note": "Disconnect from work" |
| 161 |
}, |
| 162 |
{ |
| 163 |
"title": "Reading & Wind Down", |
| 164 |
"startHour": 20, |
| 165 |
"startMin": 30, |
| 166 |
"duration": 90, |
| 167 |
"category": "personal", |
| 168 |
"note": "Fiction, podcasts, journaling" |
| 169 |
} |
| 170 |
] |
| 171 |
}, |
| 172 |
"fontSize": { |
| 173 |
"type": "number", |
| 174 |
"default": 13 |
| 175 |
}, |
| 176 |
"titleFontSize": { |
| 177 |
"type": "number", |
| 178 |
"default": 22 |
| 179 |
}, |
| 180 |
"borderRadius": { |
| 181 |
"type": "number", |
| 182 |
"default": 16 |
| 183 |
}, |
| 184 |
"timeFontSize": { |
| 185 |
"type": "number", |
| 186 |
"default": 11 |
| 187 |
}, |
| 188 |
"bgColor": { |
| 189 |
"type": "string", |
| 190 |
"default": "#0f172a" |
| 191 |
}, |
| 192 |
"headerBg": { |
| 193 |
"type": "string", |
| 194 |
"default": "#1e293b" |
| 195 |
}, |
| 196 |
"borderColor": { |
| 197 |
"type": "string", |
| 198 |
"default": "#1e293b" |
| 199 |
}, |
| 200 |
"titleColor": { |
| 201 |
"type": "string", |
| 202 |
"default": "#f8fafc" |
| 203 |
}, |
| 204 |
"timeColor": { |
| 205 |
"type": "string", |
| 206 |
"default": "#475569" |
| 207 |
}, |
| 208 |
"gridLineColor": { |
| 209 |
"type": "string", |
| 210 |
"default": "#1e293b" |
| 211 |
}, |
| 212 |
"workBg": { |
| 213 |
"type": "string", |
| 214 |
"default": "#1e3a5f" |
| 215 |
}, |
| 216 |
"workColor": { |
| 217 |
"type": "string", |
| 218 |
"default": "#93c5fd" |
| 219 |
}, |
| 220 |
"breakBg": { |
| 221 |
"type": "string", |
| 222 |
"default": "#14532d" |
| 223 |
}, |
| 224 |
"breakColor": { |
| 225 |
"type": "string", |
| 226 |
"default": "#86efac" |
| 227 |
}, |
| 228 |
"personalBg": { |
| 229 |
"type": "string", |
| 230 |
"default": "#3b0764" |
| 231 |
}, |
| 232 |
"personalColor": { |
| 233 |
"type": "string", |
| 234 |
"default": "#c4b5fd" |
| 235 |
}, |
| 236 |
"healthBg": { |
| 237 |
"type": "string", |
| 238 |
"default": "#431407" |
| 239 |
}, |
| 240 |
"healthColor": { |
| 241 |
"type": "string", |
| 242 |
"default": "#fdba74" |
| 243 |
}, |
| 244 |
"mealBg": { |
| 245 |
"type": "string", |
| 246 |
"default": "#451a03" |
| 247 |
}, |
| 248 |
"mealColor": { |
| 249 |
"type": "string", |
| 250 |
"default": "#fde68a" |
| 251 |
}, |
| 252 |
"typoTitle": { |
| 253 |
"type": "object", |
| 254 |
"default": {} |
| 255 |
} |
| 256 |
} |
| 257 |
} |
| 258 |
|