@fugood/bricks-project 2.24.11 → 2.24.12

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.24.11",
3
+ "version": "2.24.12",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",
7
7
  "build": "bun scripts/build.js"
8
8
  },
9
9
  "dependencies": {
10
- "@fugood/bricks-cli": "^2.24.11",
10
+ "@fugood/bricks-cli": "^2.24.12",
11
11
  "@huggingface/gguf": "^0.3.2",
12
12
  "@iarna/toml": "^3.0.0",
13
13
  "@modelcontextprotocol/sdk": "^1.15.0",
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@fugood/bricks-ctor",
3
+ "version": "2.24.12",
4
+ "main": "index.ts",
5
+ "scripts": {
6
+ "typecheck": "tsc --noEmit",
7
+ "build": "bun scripts/build.js"
8
+ },
9
+ "dependencies": {
10
+ "@fugood/bricks-cli": "^2.24.12",
11
+ "@huggingface/gguf": "^0.3.2",
12
+ "@iarna/toml": "^3.0.0",
13
+ "@modelcontextprotocol/sdk": "^1.15.0",
14
+ "@toon-format/toon": "^2.1.0",
15
+ "@types/bun": "^1.3.9",
16
+ "@types/escodegen": "^0.0.10",
17
+ "@types/lodash": "^4.17.12",
18
+ "acorn": "^8.13.0",
19
+ "escodegen": "2.1.0",
20
+ "fuse.js": "^7.0.0",
21
+ "json5": "^2.0.1",
22
+ "lodash": "^4.17.4",
23
+ "uuid": "^8.3.1"
24
+ },
25
+ "peerDependencies": {
26
+ "oxfmt": "^0.36.0"
27
+ }
28
+ }
@@ -26,6 +26,7 @@ This skill covers advanced BRICKS features not in the main project instructions.
26
26
 
27
27
  - **Complex flows**: See [Architecture Patterns](references/architecture-patterns.md) for decomposing multi-step workflows
28
28
  - **Multi-device**: See [Local Sync](references/local-sync.md) for LAN coordination
29
+ - **Fonts**: See [Font Families](references/fonts.md) for supported `fontFamily` names, native fallback behavior, and Google Font fallback guidance
29
30
  - **Cloud data**: See [Remote Data Bank](references/remote-data-bank.md) for sync and API access
30
31
  - **Media assets**: See [Media Flow](references/media-flow.md) for centralized asset management
31
32
  - **AI offloading**: See [Buttress](references/buttress.md) for GPU server delegation
@@ -0,0 +1,322 @@
1
+ # Font Families
2
+
3
+ Use this when choosing or answering questions about `fontFamily` for Text, TextInput, RichText, or nested Items text Bricks.
4
+
5
+ ## Runtime Rules
6
+
7
+ - Use exact family names from the target platform list; BRICKS matches comma-separated fallbacks left-to-right on native platforms.
8
+ - Prefer cross-platform stacks such as `Arial, sans-serif`, `Helvetica, Roboto, sans-serif`, `Times New Roman, serif`, or `Courier New, monospace` when the same project runs on iOS/tvOS and Android.
9
+ - Android supports generic system families plus `Roboto`; iOS/tvOS use the larger built-in Apple font set below.
10
+ - Web keeps the supplied CSS font-family value. Native ignores unsupported names unless a dynamically loaded or Google Font preload resolves them.
11
+ - Google Fonts can be used by setting a Google font family and letting the config preload path materialize it; keep a platform fallback after it, for example `Roboto Mono, monospace`.
12
+
13
+ ## Android
14
+
15
+ - normal
16
+ - notoserif
17
+ - sans-serif
18
+ - sans-serif-light
19
+ - sans-serif-thin
20
+ - sans-serif-condensed
21
+ - sans-serif-medium
22
+ - serif
23
+ - Roboto
24
+ - monospace
25
+
26
+ ## iOS/tvOS
27
+
28
+ - San Francisco
29
+ - Academy Engraved LET
30
+ - AcademyEngravedLetPlain
31
+ - Al Nile
32
+ - AlNile-Bold
33
+ - American Typewriter
34
+ - AmericanTypewriter-Bold
35
+ - AmericanTypewriter-Condensed
36
+ - AmericanTypewriter-CondensedBold
37
+ - AmericanTypewriter-CondensedLight
38
+ - AmericanTypewriter-Light
39
+ - Apple Color Emoji
40
+ - Apple SD Gothic Neo
41
+ - AppleColorEmoji
42
+ - AppleSDGothicNeo-Bold
43
+ - AppleSDGothicNeo-Light
44
+ - AppleSDGothicNeo-Medium
45
+ - AppleSDGothicNeo-Regular
46
+ - AppleSDGothicNeo-SemiBold
47
+ - AppleSDGothicNeo-Thin
48
+ - AppleSDGothicNeo-UltraLight
49
+ - Arial
50
+ - Arial Hebrew
51
+ - Arial Rounded MT Bold
52
+ - Arial-BoldItalicMT
53
+ - Arial-BoldMT
54
+ - Arial-ItalicMT
55
+ - ArialHebrew
56
+ - ArialHebrew-Bold
57
+ - ArialHebrew-Light
58
+ - ArialMT
59
+ - ArialRoundedMTBold
60
+ - Avenir
61
+ - Avenir Next
62
+ - Avenir Next Condensed
63
+ - Avenir-Black
64
+ - Avenir-BlackOblique
65
+ - Avenir-Book
66
+ - Avenir-BookOblique
67
+ - Avenir-Heavy
68
+ - Avenir-HeavyOblique
69
+ - Avenir-Light
70
+ - Avenir-LightOblique
71
+ - Avenir-Medium
72
+ - Avenir-MediumOblique
73
+ - Avenir-Oblique
74
+ - Avenir-Roman
75
+ - AvenirNext-Bold
76
+ - AvenirNext-BoldItalic
77
+ - AvenirNext-DemiBold
78
+ - AvenirNext-DemiBoldItalic
79
+ - AvenirNext-Heavy
80
+ - AvenirNext-HeavyItalic
81
+ - AvenirNext-Italic
82
+ - AvenirNext-Medium
83
+ - AvenirNext-MediumItalic
84
+ - AvenirNext-Regular
85
+ - AvenirNext-UltraLight
86
+ - AvenirNext-UltraLightItalic
87
+ - AvenirNextCondensed-Bold
88
+ - AvenirNextCondensed-BoldItalic
89
+ - AvenirNextCondensed-DemiBold
90
+ - AvenirNextCondensed-DemiBoldItalic
91
+ - AvenirNextCondensed-Heavy
92
+ - AvenirNextCondensed-HeavyItalic
93
+ - AvenirNextCondensed-Italic
94
+ - AvenirNextCondensed-Medium
95
+ - AvenirNextCondensed-MediumItalic
96
+ - AvenirNextCondensed-Regular
97
+ - AvenirNextCondensed-UltraLight
98
+ - AvenirNextCondensed-UltraLightItalic
99
+ - Bangla Sangam MN
100
+ - Baskerville
101
+ - Baskerville-Bold
102
+ - Baskerville-BoldItalic
103
+ - Baskerville-Italic
104
+ - Baskerville-SemiBold
105
+ - Baskerville-SemiBoldItalic
106
+ - Bodoni 72
107
+ - Bodoni 72 Oldstyle
108
+ - Bodoni 72 Smallcaps
109
+ - Bodoni Ornaments
110
+ - BodoniOrnamentsITCTT
111
+ - BodoniSvtyTwoITCTT-Bold
112
+ - BodoniSvtyTwoITCTT-Book
113
+ - BodoniSvtyTwoITCTT-BookIta
114
+ - BodoniSvtyTwoOSITCTT-Bold
115
+ - BodoniSvtyTwoOSITCTT-Book
116
+ - BodoniSvtyTwoSCITCTT-Book
117
+ - Bradley Hand
118
+ - BradleyHandITCTT-Bold
119
+ - Chalkboard SE
120
+ - ChalkboardSE-Bold
121
+ - ChalkboardSE-Light
122
+ - ChalkboardSE-Regular
123
+ - Chalkduster
124
+ - Cochin
125
+ - Cochin-Bold
126
+ - Cochin-BoldItalic
127
+ - Cochin-Italic
128
+ - Copperplate
129
+ - Copperplate-Bold
130
+ - Copperplate-Light
131
+ - Courier
132
+ - Courier New
133
+ - Courier-Bold
134
+ - Courier-BoldOblique
135
+ - Courier-Oblique
136
+ - CourierNewPS-BoldItalicMT
137
+ - CourierNewPS-BoldMT
138
+ - CourierNewPS-ItalicMT
139
+ - CourierNewPSMT
140
+ - Damascus
141
+ - DamascusBold
142
+ - DamascusLight
143
+ - DamascusMedium
144
+ - DamascusSemiBold
145
+ - Devanagari Sangam MN
146
+ - DevanagariSangamMN
147
+ - DevanagariSangamMN-Bold
148
+ - Didot
149
+ - Didot-Bold
150
+ - Didot-Italic
151
+ - DiwanMishafi
152
+ - Euphemia UCAS
153
+ - EuphemiaUCAS-Bold
154
+ - EuphemiaUCAS-Italic
155
+ - Farah
156
+ - Futura
157
+ - Futura-CondensedExtraBold
158
+ - Futura-CondensedMedium
159
+ - Futura-Medium
160
+ - Futura-MediumItalic
161
+ - Geeza Pro
162
+ - GeezaPro-Bold
163
+ - Georgia
164
+ - Georgia-Bold
165
+ - Georgia-BoldItalic
166
+ - Georgia-Italic
167
+ - Gill Sans
168
+ - GillSans-Bold
169
+ - GillSans-BoldItalic
170
+ - GillSans-Italic
171
+ - GillSans-Light
172
+ - GillSans-LightItalic
173
+ - GillSans-SemiBold
174
+ - GillSans-SemiBoldItalic
175
+ - GillSans-UltraBold
176
+ - Gujarati Sangam MN
177
+ - GujaratiSangamMN
178
+ - GujaratiSangamMN-Bold
179
+ - Gurmukhi MN
180
+ - GurmukhiMN-Bold
181
+ - Heiti SC
182
+ - Heiti TC
183
+ - Helvetica
184
+ - Helvetica Neue
185
+ - Helvetica-Bold
186
+ - Helvetica-BoldOblique
187
+ - Helvetica-Light
188
+ - Helvetica-LightOblique
189
+ - Helvetica-Oblique
190
+ - HelveticaNeue-Bold
191
+ - HelveticaNeue-BoldItalic
192
+ - HelveticaNeue-CondensedBlack
193
+ - HelveticaNeue-CondensedBold
194
+ - HelveticaNeue-Italic
195
+ - HelveticaNeue-Light
196
+ - HelveticaNeue-LightItalic
197
+ - HelveticaNeue-Medium
198
+ - HelveticaNeue-MediumItalic
199
+ - HelveticaNeue-Thin
200
+ - HelveticaNeue-ThinItalic
201
+ - HelveticaNeue-UltraLight
202
+ - HelveticaNeue-UltraLightItalic
203
+ - Hiragino Mincho ProN
204
+ - Hiragino Sans
205
+ - HiraginoSans-W3
206
+ - HiraginoSans-W6
207
+ - HiraMinProN-W3
208
+ - HiraMinProN-W6
209
+ - Hoefler Text
210
+ - HoeflerText-Black
211
+ - HoeflerText-BlackItalic
212
+ - HoeflerText-Italic
213
+ - HoeflerText-Regular
214
+ - Iowan Old Style
215
+ - IowanOldStyle-Bold
216
+ - IowanOldStyle-BoldItalic
217
+ - IowanOldStyle-Italic
218
+ - IowanOldStyle-Roman
219
+ - Kailasa
220
+ - Kailasa-Bold
221
+ - Kannada Sangam MN
222
+ - KannadaSangamMN
223
+ - KannadaSangamMN-Bold
224
+ - Khmer Sangam MN
225
+ - Kohinoor Bangla
226
+ - Kohinoor Devanagari
227
+ - Kohinoor Telugu
228
+ - KohinoorBangla-Light
229
+ - KohinoorBangla-Regular
230
+ - KohinoorBangla-Semibold
231
+ - KohinoorDevanagari-Light
232
+ - KohinoorDevanagari-Regular
233
+ - KohinoorDevanagari-Semibold
234
+ - KohinoorTelugu-Light
235
+ - KohinoorTelugu-Medium
236
+ - KohinoorTelugu-Regular
237
+ - Lao Sangam MN
238
+ - Malayalam Sangam MN
239
+ - MalayalamSangamMN
240
+ - MalayalamSangamMN-Bold
241
+ - Marker Felt
242
+ - MarkerFelt-Thin
243
+ - MarkerFelt-Wide
244
+ - Menlo
245
+ - Menlo-Bold
246
+ - Menlo-BoldItalic
247
+ - Menlo-Italic
248
+ - Menlo-Regular
249
+ - Mishafi
250
+ - Noteworthy
251
+ - Noteworthy-Bold
252
+ - Noteworthy-Light
253
+ - Optima
254
+ - Optima-Bold
255
+ - Optima-BoldItalic
256
+ - Optima-ExtraBlack
257
+ - Optima-Italic
258
+ - Optima-Regular
259
+ - Oriya Sangam MN
260
+ - OriyaSangamMN
261
+ - OriyaSangamMN-Bold
262
+ - Palatino
263
+ - Palatino-Bold
264
+ - Palatino-BoldItalic
265
+ - Palatino-Italic
266
+ - Palatino-Roman
267
+ - Papyrus
268
+ - Papyrus-Condensed
269
+ - Party LET
270
+ - PartyLetPlain
271
+ - PingFang HK
272
+ - PingFang SC
273
+ - PingFang TC
274
+ - PingFangHK-Light
275
+ - PingFangHK-Medium
276
+ - PingFangHK-Regular
277
+ - PingFangHK-Semibold
278
+ - PingFangHK-Thin
279
+ - PingFangHK-Ultralight
280
+ - PingFangSC-Light
281
+ - PingFangSC-Medium
282
+ - PingFangSC-Regular
283
+ - PingFangSC-Semibold
284
+ - PingFangSC-Thin
285
+ - PingFangSC-Ultralight
286
+ - PingFangTC-Light
287
+ - PingFangTC-Medium
288
+ - PingFangTC-Regular
289
+ - PingFangTC-Semibold
290
+ - PingFangTC-Thin
291
+ - PingFangTC-Ultralight
292
+ - Savoye LET
293
+ - SavoyeLetPlain
294
+ - Sinhala Sangam MN
295
+ - SinhalaSangamMN
296
+ - SinhalaSangamMN-Bold
297
+ - Snell Roundhand
298
+ - SnellRoundhand-Black
299
+ - SnellRoundhand-Bold
300
+ - Symbol
301
+ - Tamil Sangam MN
302
+ - TamilSangamMN-Bold
303
+ - Telugu Sangam MN
304
+ - Thonburi
305
+ - Thonburi-Bold
306
+ - Thonburi-Light
307
+ - Times New Roman
308
+ - TimesNewRomanPS-BoldItalicMT
309
+ - TimesNewRomanPS-BoldMT
310
+ - TimesNewRomanPS-ItalicMT
311
+ - TimesNewRomanPSMT
312
+ - Trebuchet MS
313
+ - Trebuchet-BoldItalic
314
+ - TrebuchetMS-Bold
315
+ - TrebuchetMS-Italic
316
+ - Verdana
317
+ - Verdana-Bold
318
+ - Verdana-BoldItalic
319
+ - Verdana-Italic
320
+ - Zapf Dingbats
321
+ - ZapfDingbatsITC
322
+ - Zapfino
@@ -36,7 +36,7 @@ Default property:
36
36
  property?: BrickBasicProperty & {
37
37
  /* The text content */
38
38
  text?: string | DataLink | number | DataLink | boolean | DataLink | string | DataLink | DataLink
39
- /* Data to be used in the text template (e.g. `Hello ${name}`). Supports nested data, such as `Hello ${user.name}`. */
39
+ /* Data to be used in the text template. Must be an OBJECT whose keys are the template variable names: `Hello ${name}` needs `{ name: ... }` (a linked data must resolve to such an object — linking a scalar leaves the template unresolved). Supports nested data, such as `Hello ${user.name}`. */
40
40
  templateData?: {} | DataLink
41
41
  /* The text template type */
42
42
  templateType?: '${}' | '{{}}' | DataLink
@@ -80,6 +80,14 @@ Default property:
80
80
  letterSpacing?: number | DataLink
81
81
  /* The line height of text content (grid) */
82
82
  lineHeight?: number | DataLink
83
+ /* The text top padding (grid) */
84
+ paddingTop?: number | DataLink
85
+ /* The text left padding (grid) */
86
+ paddingLeft?: number | DataLink
87
+ /* The text right padding (grid) */
88
+ paddingRight?: number | DataLink
89
+ /* The text bottom padding (grid) */
90
+ paddingBottom?: number | DataLink
83
91
  /* The line number limit of text content */
84
92
  lineNumber?: number | DataLink
85
93
  /* The text align */
@@ -177,7 +177,7 @@ Default property:
177
177
  onEmpty?: Array<EventAction>
178
178
  /* Event of the TextInput value change */
179
179
  onChange?: Array<EventAction<string & keyof TemplateEventPropsMap['TextInput']['onChange']>>
180
- /* Event of the TextInput submit */
180
+ /* Event of the TextInput submit. Fires on EVERY submit attempt, even when the value does not match `regex` — to react only to a valid submit, gate on a data updated from the result outlet (e.g. `valueHit`), or handle the invalid case via `onResultNotMatch` */
181
181
  onSubmit?: Array<EventAction<string & keyof TemplateEventPropsMap['TextInput']['onSubmit']>>
182
182
  /* Event of the TextInput match regex (check every value change) */
183
183
  onMatch?: Array<EventAction<string & keyof TemplateEventPropsMap['TextInput']['onMatch']>>
@@ -1,13 +1,13 @@
1
1
  /* Auto generated by build script
2
2
  *
3
- * LLM inference using Apple Intelligence on iOS/tvOS 26+
3
+ * LLM inference using Apple Intelligence on iOS 26+
4
4
  *
5
5
  * ## Features
6
6
  * - Native Apple Intelligence integration
7
7
  * - No model download required
8
8
  * - Privacy-focused on-device processing
9
9
  * - Optimized for Apple Silicon
10
- * - Requires iOS 26+ or tvOS 26+
10
+ * - Requires iOS 26+
11
11
  */
12
12
  import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
13
13
  import type { Data, DataLink } from '../data'
@@ -125,14 +125,14 @@ Default property:
125
125
  }
126
126
  }
127
127
 
128
- /* LLM inference using Apple Intelligence on iOS/tvOS 26+
128
+ /* LLM inference using Apple Intelligence on iOS 26+
129
129
 
130
130
  ## Features
131
131
  - Native Apple Intelligence integration
132
132
  - No model download required
133
133
  - Privacy-focused on-device processing
134
134
  - Optimized for Apple Silicon
135
- - Requires iOS 26+ or tvOS 26+ */
135
+ - Requires iOS 26+ */
136
136
  export type GeneratorAppleLLM = Generator &
137
137
  GeneratorAppleLLMDef & {
138
138
  templateKey: 'GENERATOR_APPLE_LLM'