@foundrykit/blocks 2.0.16 → 2.1.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/CHANGELOG.md DELETED
@@ -1,465 +0,0 @@
1
- # @foundrykit/blocks
2
-
3
- ## 2.0.16
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [[`f8b9faa`](https://github.com/umi-labs/foundry/commit/f8b9faa49e747e6a25b05f2be11c9b18319706d0), [`66409bd`](https://github.com/umi-labs/foundry/commit/66409bd67c511a8fc0096b479d46e95c8ef2e0b6)]:
8
- - @foundrykit/types@3.0.0
9
- - @foundrykit/animation@2.0.8
10
- - @foundrykit/components@2.1.4
11
- - @foundrykit/primitives@2.0.8
12
- - @foundrykit/utils@1.0.8
13
-
14
- ## 2.0.15
15
-
16
- ### Patch Changes
17
-
18
- - Updated dependencies [[`b6fc94d`](https://github.com/umi-labs/foundry/commit/b6fc94d3b0f172aa309388f61bd5306af6405fdf)]:
19
- - @foundrykit/animation@2.0.7
20
- - @foundrykit/maps@3.0.4
21
- - @foundrykit/primitives@2.0.7
22
- - @foundrykit/types@2.0.7
23
- - @foundrykit/utils@1.0.7
24
- - @foundrykit/components@2.1.3
25
-
26
- ## 2.0.14
27
-
28
- ### Patch Changes
29
-
30
- - Updated dependencies [[`e8a0bf2`](https://github.com/umi-labs/foundry/commit/e8a0bf235e7c56807c3b9a57151603842c2cf1b1)]:
31
- - @foundrykit/components@2.1.2
32
-
33
- ## 2.0.13
34
-
35
- ### Patch Changes
36
-
37
- - @foundrykit/maps@3.0.3
38
-
39
- ## 2.0.12
40
-
41
- ### Patch Changes
42
-
43
- - @foundrykit/maps@3.0.2
44
-
45
- ## 2.0.11
46
-
47
- ### Patch Changes
48
-
49
- - @foundrykit/maps@3.0.1
50
-
51
- ## 2.0.10
52
-
53
- ### Patch Changes
54
-
55
- - feat(storybook, maps): massive updates to maps packages spliting and
56
- developing into full suites + storybook for easy of test
57
- - Updated dependencies
58
- - @foundrykit/maps@3.0.0
59
- - @foundrykit/components@2.1.1
60
- - @foundrykit/primitives@2.0.6
61
- - @foundrykit/animation@2.0.6
62
- - @foundrykit/types@2.0.6
63
-
64
- ## 2.0.9
65
-
66
- ### Patch Changes
67
-
68
- - Updated dependencies
69
- - @foundrykit/maps@2.0.7
70
-
71
- ## 2.0.8
72
-
73
- ### Patch Changes
74
-
75
- - Updated dependencies
76
- - @foundrykit/maps@2.0.6
77
-
78
- ## 2.0.7
79
-
80
- ### Patch Changes
81
-
82
- - Updated dependencies
83
- - @foundrykit/maps@2.0.5
84
-
85
- ## 2.0.6
86
-
87
- ### Patch Changes
88
-
89
- - Updated dependencies
90
- - @foundrykit/components@2.1.0
91
-
92
- ## 2.0.5
93
-
94
- ### Patch Changes
95
-
96
- - update
97
- - Updated dependencies
98
- - @foundrykit/components@2.0.5
99
- - @foundrykit/primitives@2.0.5
100
- - @foundrykit/animation@2.0.5
101
- - @foundrykit/types@2.0.5
102
- - @foundrykit/maps@2.0.4
103
-
104
- ## 2.0.4
105
-
106
- ### Patch Changes
107
-
108
- - updates
109
- - Updated dependencies
110
- - @foundrykit/components@2.0.4
111
- - @foundrykit/primitives@2.0.4
112
- - @foundrykit/animation@2.0.4
113
- - @foundrykit/types@2.0.4
114
- - @foundrykit/maps@2.0.3
115
-
116
- ## 2.0.3
117
-
118
- ### Patch Changes
119
-
120
- - updates
121
- - Updated dependencies
122
- - @foundrykit/components@2.0.3
123
- - @foundrykit/primitives@2.0.3
124
- - @foundrykit/animation@2.0.3
125
- - @foundrykit/types@2.0.3
126
- - @foundrykit/maps@2.0.2
127
-
128
- ## 2.0.2
129
-
130
- ### Patch Changes
131
-
132
- - updates
133
- - Updated dependencies
134
- - @foundrykit/components@2.0.2
135
- - @foundrykit/primitives@2.0.2
136
- - @foundrykit/animation@2.0.2
137
- - @foundrykit/types@2.0.2
138
- - @foundrykit/maps@2.0.1
139
-
140
- ## 2.0.1
141
-
142
- ### Patch Changes
143
-
144
- - Updated dependencies
145
- - @foundrykit/components@2.0.1
146
- - @foundrykit/primitives@2.0.1
147
- - @foundrykit/types@2.0.1
148
- - @foundrykit/animation@2.0.1
149
-
150
- ## 2.0.0
151
-
152
- ### Major Changes
153
-
154
- - changes to cli update logic for old repos
155
-
156
- ### Patch Changes
157
-
158
- - Updated dependencies
159
- - @foundrykit/components@2.0.0
160
- - @foundrykit/primitives@2.0.0
161
- - @foundrykit/animation@2.0.0
162
- - @foundrykit/types@2.0.0
163
- - @foundrykit/maps@2.0.0
164
-
165
- ## 1.2.0
166
-
167
- ### Minor Changes
168
-
169
- - changes to how the cli works with updates
170
-
171
- ### Patch Changes
172
-
173
- - Updated dependencies
174
- - @foundrykit/components@1.2.0
175
- - @foundrykit/types@1.1.0
176
- - @foundrykit/maps@1.2.0
177
- - @foundrykit/animation@1.0.10
178
- - @foundrykit/primitives@1.0.15
179
-
180
- ## 1.1.0
181
-
182
- ### Minor Changes
183
-
184
- - c666749: mass update
185
-
186
- ### Patch Changes
187
-
188
- - Updated dependencies [c666749]
189
- - @foundrykit/components@1.1.0
190
- - @foundrykit/maps@1.1.0
191
-
192
- ## 1.0.25
193
-
194
- ### Patch Changes
195
-
196
- - Updating maps
197
- - Updated dependencies
198
- - @foundrykit/maps@1.0.1
199
-
200
- ## 1.0.24
201
-
202
- ### Patch Changes
203
-
204
- - Just a quick demo for Anvar
205
- - Updated dependencies
206
- - @foundrykit/animation@1.0.9
207
- - @foundrykit/components@1.0.23
208
- - @foundrykit/primitives@1.0.14
209
- - @foundrykit/types@1.0.9
210
- - @foundrykit/utils@1.0.6
211
-
212
- ## 1.0.23
213
-
214
- ### Patch Changes
215
-
216
- - Updated dependencies
217
- - @foundrykit/components@1.0.22
218
-
219
- ## 1.0.22
220
-
221
- ### Patch Changes
222
-
223
- - Updated dependencies
224
- - @foundrykit/components@1.0.21
225
-
226
- ## 1.0.21
227
-
228
- ### Patch Changes
229
-
230
- - Updated dependencies
231
- - @foundrykit/components@1.0.20
232
-
233
- ## 1.0.20
234
-
235
- ### Patch Changes
236
-
237
- - Updated dependencies
238
- - @foundrykit/components@1.0.19
239
-
240
- ## 1.0.19
241
-
242
- ### Patch Changes
243
-
244
- - Updated dependencies
245
- - @foundrykit/components@1.0.18
246
- - @foundrykit/primitives@1.0.13
247
-
248
- ## 1.0.18
249
-
250
- ### Patch Changes
251
-
252
- - Updated dependencies
253
- - @foundrykit/components@1.0.17
254
-
255
- ## 1.0.17
256
-
257
- ### Patch Changes
258
-
259
- - Updated dependencies
260
- - @foundrykit/components@1.0.16
261
-
262
- ## 1.0.16
263
-
264
- ### Patch Changes
265
-
266
- - Updated dependencies
267
- - @foundrykit/components@1.0.15
268
- - @foundrykit/primitives@1.0.12
269
-
270
- ## 1.0.15
271
-
272
- ### Patch Changes
273
-
274
- - Updated dependencies
275
- - @foundrykit/components@1.0.14
276
- - @foundrykit/primitives@1.0.11
277
-
278
- ## 1.0.14
279
-
280
- ### Patch Changes
281
-
282
- - Updated dependencies
283
- - @foundrykit/components@1.0.13
284
-
285
- ## 1.0.13
286
-
287
- ### Patch Changes
288
-
289
- - Updated dependencies
290
- - @foundrykit/components@1.0.12
291
-
292
- ## 1.0.12
293
-
294
- ### Patch Changes
295
-
296
- - @foundrykit/components@1.0.11
297
-
298
- ## 1.0.11
299
-
300
- ### Patch Changes
301
-
302
- - adding the advanced search bar
303
- - Updated dependencies
304
- - @foundrykit/components@1.0.10
305
- - @foundrykit/types@1.0.8
306
- - @foundrykit/animation@1.0.8
307
- - @foundrykit/primitives@1.0.10
308
-
309
- ## 1.0.10
310
-
311
- ### Patch Changes
312
-
313
- - Updated dependencies
314
- - @foundrykit/components@1.0.9
315
- - @foundrykit/primitives@1.0.9
316
- - @foundrykit/utils@1.0.5
317
-
318
- ## 1.0.9
319
-
320
- ### Patch Changes
321
-
322
- - Updated dependencies
323
- - @foundrykit/primitives@1.0.8
324
- - @foundrykit/components@1.0.8
325
-
326
- ## 1.0.8
327
-
328
- ### Patch Changes
329
-
330
- - Updated dependencies
331
- - @foundrykit/primitives@1.0.7
332
- - @foundrykit/types@1.0.7
333
- - @foundrykit/components@1.0.7
334
- - @foundrykit/animation@1.0.7
335
-
336
- ## 1.0.7
337
-
338
- ### Patch Changes
339
-
340
- - Update to add command, import transformations and configs for many files
341
- - Updated dependencies
342
- - @foundrykit/components@1.0.6
343
- - @foundrykit/animation@1.0.6
344
- - @foundrykit/primitives@1.0.6
345
- - @foundrykit/types@1.0.6
346
- - @foundrykit/utils@1.0.4
347
-
348
- ## 1.0.6
349
-
350
- ### Patch Changes
351
-
352
- - Update to config version management and config paths
353
- - Updated dependencies
354
- - @foundrykit/animation@1.0.5
355
- - @foundrykit/components@1.0.5
356
- - @foundrykit/primitives@1.0.5
357
- - @foundrykit/types@1.0.5
358
- - @foundrykit/utils@1.0.3
359
-
360
- ## 1.0.5
361
-
362
- ### Patch Changes
363
-
364
- - refactoring for build errors
365
- - Updated dependencies
366
- - @foundrykit/animation@1.0.4
367
- - @foundrykit/components@1.0.4
368
- - @foundrykit/primitives@1.0.4
369
- - @foundrykit/types@1.0.4
370
- - @foundrykit/utils@1.0.2
371
-
372
- ## 1.0.4
373
-
374
- ### Patch Changes
375
-
376
- - Updating blocks config to have the correct dependencies as well as updating
377
- how the cli pulls them and the registry caches them
378
-
379
- ## 1.0.3
380
-
381
- ### Patch Changes
382
-
383
- - Updating registry data
384
- - Updated dependencies
385
- - @foundrykit/animation@1.0.3
386
- - @foundrykit/components@1.0.3
387
- - @foundrykit/primitives@1.0.3
388
- - @foundrykit/types@1.0.3
389
- - @foundrykit/utils@1.0.1
390
-
391
- ## 1.0.2
392
-
393
- ### Patch Changes
394
-
395
- - Updated dependencies
396
- - @foundrykit/components@1.0.2
397
- - @foundrykit/primitives@1.0.2
398
- - @foundrykit/types@1.0.2
399
- - @foundrykit/animation@1.0.2
400
-
401
- ## 1.0.1
402
-
403
- ### Patch Changes
404
-
405
- - Updated dependencies
406
- - @foundrykit/types@1.0.1
407
- - @foundrykit/animation@1.0.1
408
- - @foundrykit/components@1.0.1
409
- - @foundrykit/primitives@1.0.1
410
-
411
- ## 1.0.0
412
-
413
- ### Major Changes
414
-
415
- - Version alignment push
416
-
417
- ### Patch Changes
418
-
419
- - Updated dependencies
420
- - @foundrykit/animation@1.0.0
421
- - @foundrykit/components@1.0.0
422
- - @foundrykit/primitives@1.0.0
423
- - @foundrykit/types@1.0.0
424
- - @foundrykit/utils@1.0.0
425
-
426
- ## 0.2.1
427
-
428
- ### Patch Changes
429
-
430
- - Updating versions to ensure they are inline
431
- - Updated dependencies [015ff5f]
432
- - Updated dependencies
433
- - @foundrykit/types@0.1.2
434
- - @foundrykit/animation@0.1.2
435
- - @foundrykit/components@0.1.2
436
- - @foundrykit/primitives@0.1.2
437
- - @foundrykit/utils@0.1.2
438
-
439
- ## 0.2.0
440
-
441
- ### Minor Changes
442
-
443
- - adding interactive regions map
444
-
445
- ### Patch Changes
446
-
447
- - Adding interactive regions map
448
- - Adding an interactive regions map component
449
- - @foundrykit/animation@0.1.1
450
- - @foundrykit/components@0.1.1
451
- - @foundrykit/primitives@0.1.1
452
- - @foundrykit/types@0.1.1
453
- - @foundrykit/utils@0.1.1
454
-
455
- ## 0.1.1
456
-
457
- ### Patch Changes
458
-
459
- - basic test
460
- - Updated dependencies
461
- - @foundrykit/animation@0.1.1
462
- - @foundrykit/components@0.1.1
463
- - @foundrykit/primitives@0.1.1
464
- - @foundrykit/types@0.1.1
465
- - @foundrykit/utils@0.1.1
@@ -1,59 +0,0 @@
1
- import type { ComponentConfig } from '@foundrykit/types';
2
-
3
- export const heroMinimalConfig: ComponentConfig = {
4
- name: 'Hero Minimal',
5
- description: 'Minimal hero section for landing pages',
6
- category: 'blocks',
7
- tags: ['hero', 'landing', 'header', 'minimal'],
8
- preview: {
9
- type: 'static',
10
- html: '<div class="flex h-12 w-full flex-col justify-center rounded-md bg-gray-50 p-2"><div class="mb-1 h-2 w-3/4 rounded bg-gray-300"></div><div class="mb-2 h-1 w-1/2 rounded bg-gray-200"></div><div class="flex space-x-1"><div class="h-4 w-8 rounded bg-gray-800"></div><div class="h-4 w-10 rounded border border-gray-300"></div></div></div>',
11
- },
12
- variants: [
13
- {
14
- name: 'Default',
15
- description: 'Default minimal hero layout',
16
- code: '<HeroMinimal title="Welcome" description="A beautiful minimal hero section" primaryCta="Get Started" onPrimaryClick={() => console.log("CTA clicked")} />',
17
- preview: {
18
- type: 'component',
19
- component: 'HeroMinimal',
20
- props: {
21
- title: 'Welcome',
22
- description: 'A beautiful minimal hero section',
23
- primaryCta: 'Get Started',
24
- onPrimaryClick: () => console.log('CTA clicked'),
25
- },
26
- },
27
- },
28
- {
29
- name: 'With Image',
30
- description: 'Hero with background image',
31
- code: '<HeroMinimal title="Welcome" description="With background image" primaryCta="Learn More" />',
32
- preview: {
33
- type: 'component',
34
- component: 'HeroMinimal',
35
- props: {
36
- title: 'Welcome',
37
- description: 'With background image',
38
- primaryCta: 'Learn More',
39
- },
40
- },
41
- },
42
- {
43
- name: 'Centered',
44
- description: 'Centered hero layout',
45
- code: '<HeroMinimal title="Centered Hero" description="Perfectly centered content" primaryCta="Explore" />',
46
- preview: {
47
- type: 'component',
48
- component: 'HeroMinimal',
49
- props: {
50
- title: 'Centered Hero',
51
- description: 'Perfectly centered content',
52
- primaryCta: 'Explore',
53
- },
54
- },
55
- },
56
- ],
57
- dependencies: ['button', 'utils'],
58
- files: ['components/hero-minimal/index.tsx'],
59
- };
@@ -1,49 +0,0 @@
1
- import { Button } from '@foundrykit/primitives';
2
-
3
- export interface HeroMinimalProps {
4
- title?: string;
5
- description?: string;
6
- primaryCta?: string;
7
- secondaryCta?: string;
8
- onPrimaryClick?: () => void;
9
- onSecondaryClick?: () => void;
10
- className?: string;
11
- }
12
-
13
- /**
14
- * Centered hero section with a title, description, and primary/secondary
15
- * call-to-action buttons. All text and click handlers are optional and fall
16
- * back to sensible defaults.
17
- */
18
- export function HeroMinimal({
19
- title = 'Welcome to FoundryKit',
20
- description = 'Build beautiful, accessible React components with our comprehensive design system. Fast, flexible, and ready for production.',
21
- primaryCta = 'Get Started',
22
- secondaryCta = 'Learn More',
23
- onPrimaryClick,
24
- onSecondaryClick,
25
- className,
26
- }: HeroMinimalProps) {
27
- return (
28
- <section className={`w-full py-12 md:py-24 lg:py-32 ${className}`}>
29
- <div className='container mx-auto px-4 md:px-6'>
30
- <div className='flex flex-col items-center space-y-4 text-center'>
31
- <div className='space-y-2'>
32
- <h1 className='lg:text-6xl/none text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl'>
33
- {title}
34
- </h1>
35
- <p className='mx-auto max-w-[700px] text-gray-500 md:text-xl dark:text-gray-400'>
36
- {description}
37
- </p>
38
- </div>
39
- <div className='space-x-4'>
40
- <Button onClick={onPrimaryClick}>{primaryCta}</Button>
41
- <Button variant='outline' onClick={onSecondaryClick}>
42
- {secondaryCta}
43
- </Button>
44
- </div>
45
- </div>
46
- </div>
47
- </section>
48
- );
49
- }