@noemaru1011/ui 1.0.1 → 1.0.2

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.
@@ -1,5 +1,10 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  type ClusterProps = PropsWithChildren<{
3
+ /**
4
+ * 折り返しを無効にする
5
+ * @default false
6
+ */
7
+ nowrap?: boolean;
3
8
  /**
4
9
  * 子要素間の間隔
5
10
  * @default 'md'
@@ -17,5 +22,5 @@ type ClusterProps = PropsWithChildren<{
17
22
  align?: 'start' | 'center' | 'end' | 'stretch';
18
23
  }>;
19
24
  /** 子要素を横方向に並べるレイアウトコンポーネントです。space は要素間の間隔、justify は水平方向の配置、align は垂直方向の配置を制御します。子要素が収まらない場合は自動的に折り返します。 */
20
- export declare function Cluster({ space, justify, align, children, }: ClusterProps): import('react').JSX.Element;
25
+ export declare function Cluster({ nowrap, space, justify, align, children, }: ClusterProps): import('react').JSX.Element;
21
26
  export {};
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ type GridProps = {
3
+ children: ReactNode;
4
+ columns?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
5
+ space?: 'none' | 'sm' | 'md' | 'lg';
6
+ className?: string;
7
+ };
8
+ export declare function Grid({ children, columns, space, className }: GridProps): import('react').JSX.Element;
9
+ export {};
@@ -5,4 +5,5 @@ export * from './Container/Container';
5
5
  export * from './Error/Forbidden';
6
6
  export * from './Error/InternalServerError';
7
7
  export * from './Error/NotFound';
8
+ export * from './Grid/Grid';
8
9
  export * from './Stack/Stack';
@@ -0,0 +1,527 @@
1
+ export declare const resources: {
2
+ readonly ja: {
3
+ readonly common: {
4
+ back: string;
5
+ darkMode: string;
6
+ darkModeToggle: string;
7
+ datePickerPlaceholder: string;
8
+ dateRangePlaceholder: string;
9
+ displayLanguage: string;
10
+ file: {
11
+ acceptedTypes: string;
12
+ attach: string;
13
+ clickToSelect: string;
14
+ dragAndDrop: string;
15
+ limits: string;
16
+ remove: string;
17
+ selectedFiles: string;
18
+ };
19
+ hidePassword: string;
20
+ lightMode: string;
21
+ loading: string;
22
+ noItemsFound: string;
23
+ notEditable: string;
24
+ selectPlaceholder: string;
25
+ showPassword: string;
26
+ };
27
+ readonly error: {
28
+ backToHome: string;
29
+ forbidden: {
30
+ description: string;
31
+ title: string;
32
+ };
33
+ internalServerError: {
34
+ description: string;
35
+ title: string;
36
+ };
37
+ notfound: {
38
+ description: string;
39
+ title: string;
40
+ };
41
+ };
42
+ readonly example: {
43
+ story: {
44
+ description: string;
45
+ accordion: {
46
+ changePlan: string;
47
+ changePlanAnswer: string;
48
+ faq: string;
49
+ faqSuffix: string;
50
+ paymentMethods: string;
51
+ paymentMethodsAnswer: string;
52
+ resetPassword: string;
53
+ resetPasswordAnswer: string;
54
+ };
55
+ alert: {
56
+ close: string;
57
+ error: string;
58
+ errorDescription: string;
59
+ saved: string;
60
+ savedDescription: string;
61
+ };
62
+ alertDialog: {
63
+ cancel: string;
64
+ confirmDelete: string;
65
+ deleteAction: string;
66
+ irreversible: string;
67
+ };
68
+ blockQuote: string;
69
+ button: {
70
+ saving: string;
71
+ };
72
+ card: {
73
+ announcements: string;
74
+ cancel: string;
75
+ contentOnly: string;
76
+ lastUpdated: string;
77
+ projectDescription: string;
78
+ projectDetails: string;
79
+ projectSettings: string;
80
+ published: string;
81
+ save: string;
82
+ };
83
+ carousel: {
84
+ forest: string;
85
+ gallery: string;
86
+ instructions: string;
87
+ mountains: string;
88
+ next: string;
89
+ ocean: string;
90
+ previous: string;
91
+ };
92
+ descriptionList: {
93
+ address: string;
94
+ email: string;
95
+ location: string;
96
+ name: string;
97
+ person: string;
98
+ };
99
+ dialog: {
100
+ content: string;
101
+ description: string;
102
+ showDetails: string;
103
+ title: string;
104
+ };
105
+ disclosure: {
106
+ content: string;
107
+ detailsPage: string;
108
+ showDetails: string;
109
+ };
110
+ form: {
111
+ agreement: string;
112
+ agreeTerms: string;
113
+ attachmentsButton: string;
114
+ attachmentsDrop: string;
115
+ category: string;
116
+ categoryDesign: string;
117
+ categoryEngineering: string;
118
+ categorySales: string;
119
+ date: string;
120
+ description: string;
121
+ error: string;
122
+ errorAgreement: string;
123
+ errorAttachmentCount_other: string;
124
+ errorAttachmentRequired: string;
125
+ errorAttachmentSize: string;
126
+ errorCategory: string;
127
+ errorDate: string;
128
+ errorDescription: string;
129
+ errorDescriptionToast: string;
130
+ errorGender: string;
131
+ errorInterests: string;
132
+ errorName: string;
133
+ errorPassword: string;
134
+ errorPeriod: string;
135
+ errorUser: string;
136
+ errorUsers: string;
137
+ gender: string;
138
+ genderFemale: string;
139
+ genderMale: string;
140
+ genderOther: string;
141
+ interestDesign: string;
142
+ interestProgramming: string;
143
+ interestReading: string;
144
+ interests: string;
145
+ name: string;
146
+ password: string;
147
+ period: string;
148
+ saved: string;
149
+ savedDescription: string;
150
+ submit: string;
151
+ title: string;
152
+ user: string;
153
+ users: string;
154
+ userSato: string;
155
+ userSuzuki: string;
156
+ userTakahashi: string;
157
+ userTanaka: string;
158
+ };
159
+ hamburger: {
160
+ home: string;
161
+ mainMenu: string;
162
+ menu: string;
163
+ selectPage: string;
164
+ settings: string;
165
+ user: string;
166
+ };
167
+ image: {
168
+ description: string;
169
+ sample: string;
170
+ };
171
+ labels: {
172
+ date: string;
173
+ file: string;
174
+ heading: string;
175
+ language: string;
176
+ name: string;
177
+ notifications: string;
178
+ password: string;
179
+ period: string;
180
+ switch: string;
181
+ userList: string;
182
+ };
183
+ languageSelect: {
184
+ currentLanguage: string;
185
+ preview: string;
186
+ };
187
+ layout: {
188
+ centerDescription: string;
189
+ content_other: string;
190
+ contentArea: string;
191
+ input: string;
192
+ inputPlaceholder: string;
193
+ large: string;
194
+ medium: string;
195
+ small: string;
196
+ };
197
+ list: {
198
+ application: string;
199
+ identityDocument: string;
200
+ photo: string;
201
+ };
202
+ table: {
203
+ actions: string;
204
+ ascending: string;
205
+ cancel: string;
206
+ caption: string;
207
+ delete: string;
208
+ descending: string;
209
+ edit: string;
210
+ name: string;
211
+ next: string;
212
+ noMembers: string;
213
+ previous: string;
214
+ reset: string;
215
+ role: string;
216
+ roleCustomerSuccess: string;
217
+ roleDesigner: string;
218
+ roleEngineer: string;
219
+ roleMarketer: string;
220
+ roleProductManager: string;
221
+ roleSales: string;
222
+ save: string;
223
+ search: string;
224
+ searchDescription: string;
225
+ showing_other: string;
226
+ sortable: string;
227
+ team: string;
228
+ teamDevelopment: string;
229
+ teamMarketing: string;
230
+ teamProduct: string;
231
+ teamSales: string;
232
+ teamSupport: string;
233
+ };
234
+ text: string;
235
+ toast: {
236
+ check: string;
237
+ checkDescription: string;
238
+ error: string;
239
+ errorDescription: string;
240
+ instructions: string;
241
+ notice: string;
242
+ noticeDescription: string;
243
+ saved: string;
244
+ savedDescription: string;
245
+ };
246
+ tooltip: {
247
+ bottom: string;
248
+ details: string;
249
+ detailsDescription: string;
250
+ instructions: string;
251
+ left: string;
252
+ placementInstructions: string;
253
+ right: string;
254
+ shownBottom: string;
255
+ shownLeft: string;
256
+ shownRight: string;
257
+ shownTop: string;
258
+ top: string;
259
+ };
260
+ };
261
+ };
262
+ };
263
+ readonly en: {
264
+ readonly common: {
265
+ back: string;
266
+ darkMode: string;
267
+ darkModeToggle: string;
268
+ datePickerPlaceholder: string;
269
+ dateRangePlaceholder: string;
270
+ displayLanguage: string;
271
+ file: {
272
+ acceptedTypes: string;
273
+ attach: string;
274
+ clickToSelect: string;
275
+ dragAndDrop: string;
276
+ limits: string;
277
+ remove: string;
278
+ selectedFiles: string;
279
+ };
280
+ hidePassword: string;
281
+ lightMode: string;
282
+ loading: string;
283
+ noItemsFound: string;
284
+ notEditable: string;
285
+ selectPlaceholder: string;
286
+ showPassword: string;
287
+ };
288
+ readonly error: {
289
+ backToHome: string;
290
+ forbidden: {
291
+ description: string;
292
+ title: string;
293
+ };
294
+ internalServerError: {
295
+ description: string;
296
+ title: string;
297
+ };
298
+ notfound: {
299
+ description: string;
300
+ title: string;
301
+ };
302
+ };
303
+ readonly example: {
304
+ story: {
305
+ description: string;
306
+ accordion: {
307
+ changePlan: string;
308
+ changePlanAnswer: string;
309
+ faq: string;
310
+ faqSuffix: string;
311
+ paymentMethods: string;
312
+ paymentMethodsAnswer: string;
313
+ resetPassword: string;
314
+ resetPasswordAnswer: string;
315
+ };
316
+ alert: {
317
+ close: string;
318
+ error: string;
319
+ errorDescription: string;
320
+ saved: string;
321
+ savedDescription: string;
322
+ };
323
+ alertDialog: {
324
+ cancel: string;
325
+ confirmDelete: string;
326
+ deleteAction: string;
327
+ irreversible: string;
328
+ };
329
+ blockQuote: string;
330
+ button: {
331
+ saving: string;
332
+ };
333
+ card: {
334
+ announcements: string;
335
+ cancel: string;
336
+ contentOnly: string;
337
+ lastUpdated: string;
338
+ projectDescription: string;
339
+ projectDetails: string;
340
+ projectSettings: string;
341
+ published: string;
342
+ save: string;
343
+ };
344
+ carousel: {
345
+ forest: string;
346
+ gallery: string;
347
+ instructions: string;
348
+ mountains: string;
349
+ next: string;
350
+ ocean: string;
351
+ previous: string;
352
+ };
353
+ descriptionList: {
354
+ address: string;
355
+ email: string;
356
+ location: string;
357
+ name: string;
358
+ person: string;
359
+ };
360
+ dialog: {
361
+ content: string;
362
+ description: string;
363
+ showDetails: string;
364
+ title: string;
365
+ };
366
+ disclosure: {
367
+ content: string;
368
+ detailsPage: string;
369
+ showDetails: string;
370
+ };
371
+ form: {
372
+ agreement: string;
373
+ agreeTerms: string;
374
+ attachmentsButton: string;
375
+ attachmentsDrop: string;
376
+ category: string;
377
+ categoryDesign: string;
378
+ categoryEngineering: string;
379
+ categorySales: string;
380
+ date: string;
381
+ description: string;
382
+ error: string;
383
+ errorAgreement: string;
384
+ errorAttachmentCount_one: string;
385
+ errorAttachmentCount_other: string;
386
+ errorAttachmentRequired: string;
387
+ errorAttachmentSize: string;
388
+ errorCategory: string;
389
+ errorDate: string;
390
+ errorDescription: string;
391
+ errorDescriptionToast: string;
392
+ errorGender: string;
393
+ errorInterests: string;
394
+ errorName: string;
395
+ errorPassword: string;
396
+ errorPeriod: string;
397
+ errorUser: string;
398
+ errorUsers: string;
399
+ gender: string;
400
+ genderFemale: string;
401
+ genderMale: string;
402
+ genderOther: string;
403
+ interestDesign: string;
404
+ interestProgramming: string;
405
+ interestReading: string;
406
+ interests: string;
407
+ name: string;
408
+ password: string;
409
+ period: string;
410
+ saved: string;
411
+ savedDescription: string;
412
+ submit: string;
413
+ title: string;
414
+ user: string;
415
+ users: string;
416
+ userSato: string;
417
+ userSuzuki: string;
418
+ userTakahashi: string;
419
+ userTanaka: string;
420
+ };
421
+ hamburger: {
422
+ home: string;
423
+ mainMenu: string;
424
+ menu: string;
425
+ selectPage: string;
426
+ settings: string;
427
+ user: string;
428
+ };
429
+ image: {
430
+ description: string;
431
+ sample: string;
432
+ };
433
+ labels: {
434
+ date: string;
435
+ file: string;
436
+ heading: string;
437
+ language: string;
438
+ name: string;
439
+ notifications: string;
440
+ password: string;
441
+ period: string;
442
+ switch: string;
443
+ userList: string;
444
+ };
445
+ languageSelect: {
446
+ currentLanguage: string;
447
+ preview: string;
448
+ };
449
+ layout: {
450
+ centerDescription: string;
451
+ content_one: string;
452
+ content_other: string;
453
+ contentArea: string;
454
+ input: string;
455
+ inputPlaceholder: string;
456
+ large: string;
457
+ medium: string;
458
+ small: string;
459
+ };
460
+ list: {
461
+ application: string;
462
+ identityDocument: string;
463
+ photo: string;
464
+ };
465
+ table: {
466
+ actions: string;
467
+ ascending: string;
468
+ cancel: string;
469
+ caption: string;
470
+ delete: string;
471
+ descending: string;
472
+ edit: string;
473
+ name: string;
474
+ next: string;
475
+ noMembers: string;
476
+ previous: string;
477
+ reset: string;
478
+ role: string;
479
+ roleCustomerSuccess: string;
480
+ roleDesigner: string;
481
+ roleEngineer: string;
482
+ roleMarketer: string;
483
+ roleProductManager: string;
484
+ roleSales: string;
485
+ save: string;
486
+ search: string;
487
+ searchDescription: string;
488
+ showing_one: string;
489
+ showing_other: string;
490
+ sortable: string;
491
+ team: string;
492
+ teamDevelopment: string;
493
+ teamMarketing: string;
494
+ teamProduct: string;
495
+ teamSales: string;
496
+ teamSupport: string;
497
+ };
498
+ text: string;
499
+ toast: {
500
+ check: string;
501
+ checkDescription: string;
502
+ error: string;
503
+ errorDescription: string;
504
+ instructions: string;
505
+ notice: string;
506
+ noticeDescription: string;
507
+ saved: string;
508
+ savedDescription: string;
509
+ };
510
+ tooltip: {
511
+ bottom: string;
512
+ details: string;
513
+ detailsDescription: string;
514
+ instructions: string;
515
+ left: string;
516
+ placementInstructions: string;
517
+ right: string;
518
+ shownBottom: string;
519
+ shownLeft: string;
520
+ shownRight: string;
521
+ shownTop: string;
522
+ top: string;
523
+ };
524
+ };
525
+ };
526
+ };
527
+ };
package/dist/index.d.ts CHANGED
@@ -3,5 +3,6 @@ export * from './components/layouts';
3
3
  export * from './components/providers/theme-provider';
4
4
  export * as primitives from './components/ui';
5
5
  export { Alert, AlertDialog, Badge, Breadcrumb, Button, Card, Carousel, Dialog, Drawer, Field, InputGroup, Label, Pagination, Popover, RadioGroup, Separator, Spinner, Table, Tabs, Toast, Tooltip, } from './components/ui';
6
+ export * from './i18n';
6
7
  export * from './lib/data-table-features';
7
8
  export * from './lib/utils';