@trilogy-ds/react 0.0.6-esm-cjs → 0.0.7-esm-cjs

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.
@@ -0,0 +1,676 @@
1
+ export default {
2
+ "accessibilityLabel": {
3
+ "type": "string",
4
+ "values": [
5
+ "undefined",
6
+ "string"
7
+ ]
8
+ },
9
+ "type": {
10
+ "type": "enum",
11
+ "values": [
12
+ "undefined",
13
+ "number",
14
+ "text",
15
+ "number",
16
+ "password",
17
+ "search",
18
+ "date",
19
+ "datetime-local",
20
+ "email",
21
+ "text",
22
+ "password",
23
+ "search",
24
+ "date",
25
+ "datetime-local",
26
+ "email",
27
+ "button",
28
+ "checkbox",
29
+ "color",
30
+ "file",
31
+ "hidden",
32
+ "image",
33
+ "month",
34
+ "radio",
35
+ "range",
36
+ "reset",
37
+ "submit",
38
+ "tel",
39
+ "time",
40
+ "url",
41
+ "week",
42
+ "string & {}"
43
+ ]
44
+ },
45
+ "label": {
46
+ "type": "string",
47
+ "values": [
48
+ "undefined",
49
+ "string"
50
+ ]
51
+ },
52
+ "sample": {
53
+ "type": "string",
54
+ "values": [
55
+ "undefined",
56
+ "string"
57
+ ]
58
+ },
59
+ "placeholder": {
60
+ "type": "string",
61
+ "values": [
62
+ "undefined",
63
+ "string"
64
+ ]
65
+ },
66
+ "defaultValue": {
67
+ "type": "string",
68
+ "values": [
69
+ "undefined",
70
+ "string"
71
+ ]
72
+ },
73
+ "value": {
74
+ "type": "string",
75
+ "values": [
76
+ "undefined",
77
+ "string"
78
+ ]
79
+ },
80
+ "disabled": {
81
+ "type": "boolean",
82
+ "values": [
83
+ "undefined",
84
+ "false",
85
+ "true"
86
+ ]
87
+ },
88
+ "loading": {
89
+ "type": "boolean",
90
+ "values": [
91
+ "undefined",
92
+ "false",
93
+ "true"
94
+ ]
95
+ },
96
+ "iconNameLeft": {
97
+ "type": "enum",
98
+ "values": [
99
+ "undefined",
100
+ "tri-alert",
101
+ "tri-arrow-down",
102
+ "tri-arrow-left",
103
+ "tri-arrow-right",
104
+ "tri-arrow-up",
105
+ "tri-bell",
106
+ "tri-check-circle",
107
+ "tri-check",
108
+ "tri-exclamation-circle",
109
+ "tri-eye-slash",
110
+ "tri-eye",
111
+ "tri-infos-circle",
112
+ "tri-search",
113
+ "tri-times",
114
+ "tri-trash",
115
+ "tri-picto-faciliti",
116
+ "tri-picto-handicapzero",
117
+ "tri-picto-la-fibre",
118
+ "tri-picto-payment-americanexpress",
119
+ "tri-picto-payment-cb",
120
+ "tri-picto-payment-mastercard",
121
+ "tri-picto-payment-paypal",
122
+ "tri-picto-payment-visa",
123
+ "tri-alert",
124
+ "tri-arrow-down",
125
+ "tri-arrow-left",
126
+ "tri-arrow-right",
127
+ "tri-arrow-up",
128
+ "tri-bell",
129
+ "tri-check-circle",
130
+ "tri-check",
131
+ "tri-exclamation-circle",
132
+ "tri-eye-slash",
133
+ "tri-eye",
134
+ "tri-infos-circle",
135
+ "tri-search",
136
+ "tri-times",
137
+ "tri-trash",
138
+ "tri-picto-faciliti",
139
+ "tri-picto-handicapzero",
140
+ "tri-picto-la-fibre",
141
+ "tri-picto-payment-americanexpress",
142
+ "tri-picto-payment-cb",
143
+ "tri-picto-payment-mastercard",
144
+ "tri-picto-payment-paypal",
145
+ "tri-picto-payment-visa"
146
+ ]
147
+ },
148
+ "iconNameRight": {
149
+ "type": "enum",
150
+ "values": [
151
+ "undefined",
152
+ "tri-alert",
153
+ "tri-arrow-down",
154
+ "tri-arrow-left",
155
+ "tri-arrow-right",
156
+ "tri-arrow-up",
157
+ "tri-bell",
158
+ "tri-check-circle",
159
+ "tri-check",
160
+ "tri-exclamation-circle",
161
+ "tri-eye-slash",
162
+ "tri-eye",
163
+ "tri-infos-circle",
164
+ "tri-search",
165
+ "tri-times",
166
+ "tri-trash",
167
+ "tri-picto-faciliti",
168
+ "tri-picto-handicapzero",
169
+ "tri-picto-la-fibre",
170
+ "tri-picto-payment-americanexpress",
171
+ "tri-picto-payment-cb",
172
+ "tri-picto-payment-mastercard",
173
+ "tri-picto-payment-paypal",
174
+ "tri-picto-payment-visa",
175
+ "tri-alert",
176
+ "tri-arrow-down",
177
+ "tri-arrow-left",
178
+ "tri-arrow-right",
179
+ "tri-arrow-up",
180
+ "tri-bell",
181
+ "tri-check-circle",
182
+ "tri-check",
183
+ "tri-exclamation-circle",
184
+ "tri-eye-slash",
185
+ "tri-eye",
186
+ "tri-infos-circle",
187
+ "tri-search",
188
+ "tri-times",
189
+ "tri-trash",
190
+ "tri-picto-faciliti",
191
+ "tri-picto-handicapzero",
192
+ "tri-picto-la-fibre",
193
+ "tri-picto-payment-americanexpress",
194
+ "tri-picto-payment-cb",
195
+ "tri-picto-payment-mastercard",
196
+ "tri-picto-payment-paypal",
197
+ "tri-picto-payment-visa"
198
+ ]
199
+ },
200
+ "status": {
201
+ "type": "enum",
202
+ "values": [
203
+ "undefined",
204
+ "success",
205
+ "warning",
206
+ "danger",
207
+ "error",
208
+ "default",
209
+ "success",
210
+ "warning",
211
+ "danger",
212
+ "error",
213
+ "default"
214
+ ]
215
+ },
216
+ "onStatusChange": {
217
+ "type": "function",
218
+ "values": [
219
+ "undefined",
220
+ "InputStatus | success | warning | danger | error | default) => void"
221
+ ]
222
+ },
223
+ "customValidator": {
224
+ "type": "function",
225
+ "values": [
226
+ "undefined",
227
+ "InputStatus | success | warning | danger | error | default"
228
+ ]
229
+ },
230
+ "patternValidator": {
231
+ "type": "string",
232
+ "values": [
233
+ "undefined",
234
+ "RegExp"
235
+ ]
236
+ },
237
+ "help": {
238
+ "type": "string",
239
+ "values": [
240
+ "undefined",
241
+ "string"
242
+ ]
243
+ },
244
+ "name": {
245
+ "type": "string",
246
+ "values": [
247
+ "undefined",
248
+ "string"
249
+ ]
250
+ },
251
+ "focused": {
252
+ "type": "boolean",
253
+ "values": [
254
+ "undefined",
255
+ "false",
256
+ "true"
257
+ ]
258
+ },
259
+ "keyboardStyle": {
260
+ "type": "enum",
261
+ "values": [
262
+ "undefined",
263
+ "default",
264
+ "default",
265
+ "light",
266
+ "dark",
267
+ "light",
268
+ "dark"
269
+ ]
270
+ },
271
+ "autoCapitalize": {
272
+ "type": "enum",
273
+ "values": [
274
+ "undefined",
275
+ "none",
276
+ "sentences",
277
+ "words",
278
+ "characters",
279
+ "none",
280
+ "sentences",
281
+ "words",
282
+ "characters"
283
+ ]
284
+ },
285
+ "autoCorrect": {
286
+ "type": "string",
287
+ "values": []
288
+ },
289
+ "autoCompleteType": {
290
+ "type": "enum",
291
+ "values": [
292
+ "undefined",
293
+ "password",
294
+ "email",
295
+ "tel",
296
+ "url",
297
+ "additional-name",
298
+ "address-line1",
299
+ "address-line2",
300
+ "cc-csc",
301
+ "cc-exp",
302
+ "cc-exp-day",
303
+ "cc-exp-month",
304
+ "cc-exp-year",
305
+ "cc-number",
306
+ "country",
307
+ "current-password",
308
+ "email",
309
+ "family-name",
310
+ "given-name",
311
+ "honorific-prefix",
312
+ "honorific-suffix",
313
+ "name",
314
+ "new-password",
315
+ "off",
316
+ "one-time-code",
317
+ "postal-code",
318
+ "street-address",
319
+ "tel",
320
+ "username",
321
+ "cc-family-name",
322
+ "cc-given-name",
323
+ "cc-middle-name",
324
+ "cc-name",
325
+ "cc-type",
326
+ "nickname",
327
+ "organization",
328
+ "organization-title",
329
+ "url",
330
+ "gender",
331
+ "name-family",
332
+ "name-given",
333
+ "name-middle",
334
+ "name-middle-initial",
335
+ "name-prefix",
336
+ "name-suffix",
337
+ "password",
338
+ "password-new",
339
+ "postal-address",
340
+ "postal-address-country",
341
+ "postal-address-extended",
342
+ "postal-address-extended-postal-code",
343
+ "postal-address-locality",
344
+ "postal-address-region",
345
+ "sms-otp",
346
+ "tel-country-code",
347
+ "tel-device",
348
+ "tel-national",
349
+ "username-new",
350
+ "additional-name",
351
+ "address-line1",
352
+ "address-line2",
353
+ "cc-csc",
354
+ "cc-exp",
355
+ "cc-exp-day",
356
+ "cc-exp-month",
357
+ "cc-exp-year",
358
+ "cc-number",
359
+ "country",
360
+ "current-password",
361
+ "family-name",
362
+ "given-name",
363
+ "honorific-prefix",
364
+ "honorific-suffix",
365
+ "name",
366
+ "new-password",
367
+ "off",
368
+ "one-time-code",
369
+ "postal-code",
370
+ "street-address",
371
+ "username",
372
+ "cc-family-name",
373
+ "cc-given-name",
374
+ "cc-middle-name",
375
+ "cc-name",
376
+ "cc-type",
377
+ "nickname",
378
+ "organization",
379
+ "organization-title",
380
+ "gender",
381
+ "name-family",
382
+ "name-given",
383
+ "name-middle",
384
+ "name-middle-initial",
385
+ "name-prefix",
386
+ "name-suffix",
387
+ "password-new",
388
+ "postal-address",
389
+ "postal-address-country",
390
+ "postal-address-extended",
391
+ "postal-address-extended-postal-code",
392
+ "postal-address-locality",
393
+ "postal-address-region",
394
+ "sms-otp",
395
+ "tel-country-code",
396
+ "tel-device",
397
+ "tel-national",
398
+ "username-new"
399
+ ]
400
+ },
401
+ "textContentType": {
402
+ "type": "enum",
403
+ "values": [
404
+ "undefined",
405
+ "password",
406
+ "none",
407
+ "name",
408
+ "username",
409
+ "nickname",
410
+ "none",
411
+ "URL",
412
+ "addressCity",
413
+ "addressCityAndState",
414
+ "addressState",
415
+ "countryName",
416
+ "creditCardNumber",
417
+ "emailAddress",
418
+ "familyName",
419
+ "fullStreetAddress",
420
+ "givenName",
421
+ "jobTitle",
422
+ "location",
423
+ "middleName",
424
+ "name",
425
+ "namePrefix",
426
+ "nameSuffix",
427
+ "nickname",
428
+ "organizationName",
429
+ "postalCode",
430
+ "streetAddressLine1",
431
+ "streetAddressLine2",
432
+ "sublocality",
433
+ "telephoneNumber",
434
+ "username",
435
+ "password",
436
+ "newPassword",
437
+ "oneTimeCode",
438
+ "URL",
439
+ "addressCity",
440
+ "addressCityAndState",
441
+ "addressState",
442
+ "countryName",
443
+ "creditCardNumber",
444
+ "emailAddress",
445
+ "familyName",
446
+ "fullStreetAddress",
447
+ "givenName",
448
+ "jobTitle",
449
+ "location",
450
+ "middleName",
451
+ "namePrefix",
452
+ "nameSuffix",
453
+ "organizationName",
454
+ "postalCode",
455
+ "streetAddressLine1",
456
+ "streetAddressLine2",
457
+ "sublocality",
458
+ "telephoneNumber",
459
+ "newPassword",
460
+ "oneTimeCode"
461
+ ]
462
+ },
463
+ "keyboardType": {
464
+ "type": "enum",
465
+ "values": [
466
+ "undefined",
467
+ "url",
468
+ "default",
469
+ "default",
470
+ "email-address",
471
+ "numeric",
472
+ "phone-pad",
473
+ "number-pad",
474
+ "decimal-pad",
475
+ "visible-password",
476
+ "ascii-capable",
477
+ "numbers-and-punctuation",
478
+ "url",
479
+ "name-phone-pad",
480
+ "twitter",
481
+ "web-search",
482
+ "email-address",
483
+ "numeric",
484
+ "phone-pad",
485
+ "number-pad",
486
+ "decimal-pad",
487
+ "visible-password",
488
+ "ascii-capable",
489
+ "numbers-and-punctuation",
490
+ "name-phone-pad",
491
+ "twitter",
492
+ "web-search"
493
+ ]
494
+ },
495
+ "forceControl": {
496
+ "type": "boolean",
497
+ "values": [
498
+ "undefined",
499
+ "false",
500
+ "true"
501
+ ]
502
+ },
503
+ "onMouseEnter": {
504
+ "type": "function",
505
+ "values": [
506
+ "undefined",
507
+ "MouseEvent<Element, MouseEvent>) => void"
508
+ ]
509
+ },
510
+ "onMouseLeave": {
511
+ "type": "function",
512
+ "values": [
513
+ "undefined",
514
+ "MouseEvent<Element, MouseEvent>) => void"
515
+ ]
516
+ },
517
+ "keyType": {
518
+ "type": "string",
519
+ "values": [
520
+ "undefined",
521
+ "search",
522
+ "default",
523
+ "none",
524
+ "done",
525
+ "go",
526
+ "next",
527
+ "send"
528
+ ]
529
+ },
530
+ "onSubmit": {
531
+ "type": "function",
532
+ "values": [
533
+ "undefined",
534
+ "FormEvent<HTMLInputElement>) => void"
535
+ ]
536
+ },
537
+ "minLength": {
538
+ "type": "string",
539
+ "values": [
540
+ "undefined",
541
+ "number"
542
+ ]
543
+ },
544
+ "maxLength": {
545
+ "type": "string",
546
+ "values": [
547
+ "undefined",
548
+ "number"
549
+ ]
550
+ },
551
+ "securityGauge": {
552
+ "type": "boolean",
553
+ "values": [
554
+ "undefined",
555
+ "false",
556
+ "true"
557
+ ]
558
+ },
559
+ "validationRules": {
560
+ "type": "string",
561
+ "values": [
562
+ "undefined",
563
+ "IValidationRules"
564
+ ]
565
+ },
566
+ "required": {
567
+ "type": "boolean",
568
+ "values": [
569
+ "undefined",
570
+ "false",
571
+ "true"
572
+ ]
573
+ },
574
+ "readOnly": {
575
+ "type": "boolean",
576
+ "values": [
577
+ "undefined",
578
+ "false",
579
+ "true"
580
+ ]
581
+ },
582
+ "min": {
583
+ "type": "string",
584
+ "values": [
585
+ "undefined",
586
+ "string",
587
+ "number"
588
+ ]
589
+ },
590
+ "max": {
591
+ "type": "string",
592
+ "values": [
593
+ "undefined",
594
+ "string",
595
+ "number"
596
+ ]
597
+ },
598
+ "step": {
599
+ "type": "string",
600
+ "values": [
601
+ "undefined",
602
+ "string",
603
+ "number"
604
+ ]
605
+ },
606
+ "testId": {
607
+ "type": "string",
608
+ "values": [
609
+ "undefined",
610
+ "string"
611
+ ]
612
+ },
613
+ "id": {
614
+ "type": "string",
615
+ "values": [
616
+ "undefined",
617
+ "string"
618
+ ]
619
+ },
620
+ "className": {
621
+ "type": "string",
622
+ "values": [
623
+ "undefined",
624
+ "string"
625
+ ]
626
+ },
627
+ "onChange": {
628
+ "type": "function",
629
+ "values": [
630
+ "undefined",
631
+ "InputChangeEventHandlerWeb"
632
+ ]
633
+ },
634
+ "onKeyUp": {
635
+ "type": "function",
636
+ "values": [
637
+ "undefined",
638
+ "InputKeyboardEventHandler"
639
+ ]
640
+ },
641
+ "onKeyPress": {
642
+ "type": "function",
643
+ "values": [
644
+ "undefined",
645
+ "InputKeyboardEventHandler"
646
+ ]
647
+ },
648
+ "onIconClick": {
649
+ "type": "function",
650
+ "values": [
651
+ "undefined",
652
+ "InputClickEventHandler"
653
+ ]
654
+ },
655
+ "onClick": {
656
+ "type": "function",
657
+ "values": [
658
+ "undefined",
659
+ "InputClickEventHandler"
660
+ ]
661
+ },
662
+ "onFocus": {
663
+ "type": "function",
664
+ "values": [
665
+ "undefined",
666
+ "FocusEventHandler<HTMLInputElement>"
667
+ ]
668
+ },
669
+ "onBlur": {
670
+ "type": "function",
671
+ "values": [
672
+ "undefined",
673
+ "FocusEventHandler<HTMLInputElement>"
674
+ ]
675
+ }
676
+ };
@@ -1,9 +1,9 @@
1
- import { Accessibility, Dev } from '../../objects/facets';
2
1
  import { NativeSyntheticEvent, type TextInput, TextInputSubmitEditingEventData } from 'react-native';
2
+ import { Accessibility, Dev } from '../../objects/facets';
3
3
  import { type ChangeEvent, FocusEventHandler } from 'react';
4
+ import { CommonProps } from '../../objects/facets/CommonProps';
4
5
  import { IconName, IconNameValues } from '../icon';
5
6
  import { InputAutoCapitalize, InputAutoCapitalizeValues, InputAutoCompleteType, InputAutoCompleteTypeValues, InputKeyboardAppearance, InputKeyboardAppearanceValues, InputKeyboardType, InputKeyboardTypeValues, InputStatus, InputStatusValues, InputTextContentType, InputTextContentTypeValues, InputType, InputTypeValues } from './InputEnum';
6
- import { CommonProps } from '../../objects/facets/CommonProps';
7
7
  export interface InputChangeEventWeb {
8
8
  inputName: string;
9
9
  inputValue: string;
@@ -104,3 +104,7 @@ export interface IValidationRules {
104
104
  }
105
105
  export type InputRef = HTMLInputElement;
106
106
  export type InputNativeRef = TextInput;
107
+ export interface InputNativeProps extends InputProps, InputNativeEvents {
108
+ }
109
+ export interface InputProp extends Accessibility, InputProps, InputWebEvents {
110
+ }
@@ -1,9 +1,9 @@
1
- import { Accessibility, Dev } from '../../objects/facets';
2
1
  import { NativeSyntheticEvent, type TextInput, TextInputSubmitEditingEventData } from 'react-native';
2
+ import { Accessibility, Dev } from '../../objects/facets';
3
3
  import { type ChangeEvent, FocusEventHandler } from 'react';
4
+ import { CommonProps } from '../../objects/facets/CommonProps';
4
5
  import { IconName, IconNameValues } from '../icon';
5
6
  import { InputAutoCapitalize, InputAutoCapitalizeValues, InputAutoCompleteType, InputAutoCompleteTypeValues, InputKeyboardAppearance, InputKeyboardAppearanceValues, InputKeyboardType, InputKeyboardTypeValues, InputStatus, InputStatusValues, InputTextContentType, InputTextContentTypeValues, InputType, InputTypeValues } from './InputEnum';
6
- import { CommonProps } from '../../objects/facets/CommonProps';
7
7
  export interface InputChangeEventWeb {
8
8
  inputName: string;
9
9
  inputValue: string;
@@ -104,3 +104,7 @@ export interface IValidationRules {
104
104
  }
105
105
  export type InputRef = HTMLInputElement;
106
106
  export type InputNativeRef = TextInput;
107
+ export interface InputNativeProps extends InputProps, InputNativeEvents {
108
+ }
109
+ export interface InputProp extends Accessibility, InputProps, InputWebEvents {
110
+ }