@ni/spright-components 6.10.1 → 6.10.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.
@@ -0,0 +1,677 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/all-components.ts",
8
+ "declarations": [],
9
+ "exports": []
10
+ },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "src/rectangle/index.ts",
14
+ "declarations": [
15
+ {
16
+ "kind": "class",
17
+ "description": "A Spright demo component (not for production use)",
18
+ "name": "Rectangle",
19
+ "superclass": {
20
+ "name": "FoundationElement",
21
+ "package": "@ni/fast-foundation"
22
+ }
23
+ },
24
+ {
25
+ "kind": "variable",
26
+ "name": "rectangleTag",
27
+ "type": {
28
+ "text": "string"
29
+ },
30
+ "default": "'spright-rectangle'"
31
+ }
32
+ ],
33
+ "exports": [
34
+ {
35
+ "kind": "js",
36
+ "name": "Rectangle",
37
+ "declaration": {
38
+ "name": "Rectangle",
39
+ "module": "src/rectangle/index.ts"
40
+ }
41
+ },
42
+ {
43
+ "kind": "js",
44
+ "name": "rectangleTag",
45
+ "declaration": {
46
+ "name": "rectangleTag",
47
+ "module": "src/rectangle/index.ts"
48
+ }
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "kind": "javascript-module",
54
+ "path": "src/chat/conversation/index.ts",
55
+ "declarations": [
56
+ {
57
+ "kind": "class",
58
+ "description": "A Spright component for displaying a series of chat messages",
59
+ "name": "ChatConversation",
60
+ "members": [
61
+ {
62
+ "kind": "field",
63
+ "name": "appearance",
64
+ "privacy": "public"
65
+ },
66
+ {
67
+ "kind": "method",
68
+ "name": "slottedInputElementsChanged",
69
+ "privacy": "public",
70
+ "return": {
71
+ "type": {
72
+ "text": "void"
73
+ }
74
+ },
75
+ "parameters": [
76
+ {
77
+ "name": "_prev",
78
+ "type": {
79
+ "text": "HTMLElement[] | undefined"
80
+ }
81
+ },
82
+ {
83
+ "name": "next",
84
+ "type": {
85
+ "text": "HTMLElement[] | undefined"
86
+ }
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "kind": "method",
92
+ "name": "slottedToolbarElementsChanged",
93
+ "privacy": "public",
94
+ "return": {
95
+ "type": {
96
+ "text": "void"
97
+ }
98
+ },
99
+ "parameters": [
100
+ {
101
+ "name": "_prev",
102
+ "type": {
103
+ "text": "HTMLElement[] | undefined"
104
+ }
105
+ },
106
+ {
107
+ "name": "next",
108
+ "type": {
109
+ "text": "HTMLElement[] | undefined"
110
+ }
111
+ }
112
+ ]
113
+ }
114
+ ],
115
+ "attributes": [
116
+ {
117
+ "name": "appearance",
118
+ "fieldName": "appearance"
119
+ }
120
+ ],
121
+ "superclass": {
122
+ "name": "FoundationElement",
123
+ "package": "@ni/fast-foundation"
124
+ }
125
+ },
126
+ {
127
+ "kind": "variable",
128
+ "name": "chatConversationTag",
129
+ "type": {
130
+ "text": "string"
131
+ },
132
+ "default": "'spright-chat-conversation'"
133
+ }
134
+ ],
135
+ "exports": [
136
+ {
137
+ "kind": "js",
138
+ "name": "ChatConversation",
139
+ "declaration": {
140
+ "name": "ChatConversation",
141
+ "module": "src/chat/conversation/index.ts"
142
+ }
143
+ },
144
+ {
145
+ "kind": "js",
146
+ "name": "chatConversationTag",
147
+ "declaration": {
148
+ "name": "chatConversationTag",
149
+ "module": "src/chat/conversation/index.ts"
150
+ }
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "kind": "javascript-module",
156
+ "path": "src/chat/conversation/types.ts",
157
+ "declarations": [
158
+ {
159
+ "kind": "variable",
160
+ "name": "ChatConversationAppearance",
161
+ "type": {
162
+ "text": "{\n default: undefined,\n overlay: 'overlay'\n}"
163
+ },
164
+ "default": "{ default: undefined, overlay: 'overlay' }",
165
+ "description": "Appearances of chat conversation.",
166
+ "privacy": "public"
167
+ }
168
+ ],
169
+ "exports": [
170
+ {
171
+ "kind": "js",
172
+ "name": "ChatConversationAppearance",
173
+ "declaration": {
174
+ "name": "ChatConversationAppearance",
175
+ "module": "src/chat/conversation/types.ts"
176
+ }
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "kind": "javascript-module",
182
+ "path": "src/chat/input/index.ts",
183
+ "declarations": [
184
+ {
185
+ "kind": "class",
186
+ "description": "A Spright component for composing and sending a chat message",
187
+ "name": "ChatInput",
188
+ "members": [
189
+ {
190
+ "kind": "field",
191
+ "name": "placeholder",
192
+ "type": {
193
+ "text": "string | undefined"
194
+ },
195
+ "privacy": "public"
196
+ },
197
+ {
198
+ "kind": "field",
199
+ "name": "sendButtonLabel",
200
+ "type": {
201
+ "text": "string | undefined"
202
+ },
203
+ "privacy": "public"
204
+ },
205
+ {
206
+ "kind": "field",
207
+ "name": "stopButtonLabel",
208
+ "type": {
209
+ "text": "string | undefined"
210
+ },
211
+ "privacy": "public"
212
+ },
213
+ {
214
+ "kind": "field",
215
+ "name": "value",
216
+ "type": {
217
+ "text": "string"
218
+ },
219
+ "privacy": "public",
220
+ "default": "''"
221
+ },
222
+ {
223
+ "kind": "field",
224
+ "name": "tabIndex",
225
+ "type": {
226
+ "text": "number"
227
+ },
228
+ "privacy": "public"
229
+ },
230
+ {
231
+ "kind": "field",
232
+ "name": "maxLength",
233
+ "type": {
234
+ "text": "number | undefined"
235
+ },
236
+ "privacy": "public",
237
+ "default": "-1"
238
+ },
239
+ {
240
+ "kind": "field",
241
+ "name": "processing",
242
+ "type": {
243
+ "text": "boolean"
244
+ },
245
+ "privacy": "public",
246
+ "default": "false"
247
+ },
248
+ {
249
+ "kind": "field",
250
+ "name": "resizeObserver",
251
+ "type": {
252
+ "text": "ResizeObserver | undefined"
253
+ },
254
+ "privacy": "private"
255
+ },
256
+ {
257
+ "kind": "field",
258
+ "name": "updateScrollbarWidthQueued",
259
+ "type": {
260
+ "text": "boolean"
261
+ },
262
+ "privacy": "private",
263
+ "default": "false"
264
+ },
265
+ {
266
+ "kind": "method",
267
+ "name": "shouldDisableSendButton",
268
+ "privacy": "private",
269
+ "return": {
270
+ "type": {
271
+ "text": "boolean"
272
+ }
273
+ }
274
+ },
275
+ {
276
+ "kind": "method",
277
+ "name": "resetInput",
278
+ "privacy": "private",
279
+ "return": {
280
+ "type": {
281
+ "text": "void"
282
+ }
283
+ }
284
+ },
285
+ {
286
+ "kind": "method",
287
+ "name": "onResize",
288
+ "privacy": "private",
289
+ "return": {
290
+ "type": {
291
+ "text": "void"
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "kind": "method",
297
+ "name": "queueUpdateScrollbarWidth",
298
+ "privacy": "private",
299
+ "return": {
300
+ "type": {
301
+ "text": "void"
302
+ }
303
+ }
304
+ },
305
+ {
306
+ "kind": "method",
307
+ "name": "updateScrollbarWidth",
308
+ "privacy": "private",
309
+ "return": {
310
+ "type": {
311
+ "text": "void"
312
+ }
313
+ }
314
+ }
315
+ ],
316
+ "attributes": [
317
+ {
318
+ "name": "placeholder",
319
+ "type": {
320
+ "text": "string | undefined"
321
+ },
322
+ "fieldName": "placeholder"
323
+ },
324
+ {
325
+ "name": "send-button-label",
326
+ "type": {
327
+ "text": "string | undefined"
328
+ },
329
+ "fieldName": "sendButtonLabel"
330
+ },
331
+ {
332
+ "name": "stop-button-label",
333
+ "type": {
334
+ "text": "string | undefined"
335
+ },
336
+ "fieldName": "stopButtonLabel"
337
+ },
338
+ {
339
+ "name": "value",
340
+ "type": {
341
+ "text": "string"
342
+ },
343
+ "default": "''",
344
+ "fieldName": "value"
345
+ },
346
+ {
347
+ "name": "tabindex",
348
+ "type": {
349
+ "text": "number"
350
+ },
351
+ "fieldName": "tabIndex"
352
+ },
353
+ {
354
+ "name": "maxlength",
355
+ "type": {
356
+ "text": "number | undefined"
357
+ },
358
+ "default": "-1",
359
+ "fieldName": "maxLength"
360
+ },
361
+ {
362
+ "name": "processing",
363
+ "type": {
364
+ "text": "boolean"
365
+ },
366
+ "default": "false",
367
+ "fieldName": "processing"
368
+ }
369
+ ],
370
+ "mixins": [
371
+ {
372
+ "name": "mixinErrorPattern",
373
+ "package": "@ni/nimble-components/dist/esm/patterns/error/types"
374
+ }
375
+ ],
376
+ "superclass": {
377
+ "name": "FoundationElement",
378
+ "package": "@ni/fast-foundation"
379
+ }
380
+ },
381
+ {
382
+ "kind": "variable",
383
+ "name": "chatInputTag",
384
+ "type": {
385
+ "text": "string"
386
+ },
387
+ "default": "'spright-chat-input'"
388
+ }
389
+ ],
390
+ "exports": [
391
+ {
392
+ "kind": "js",
393
+ "name": "ChatInput",
394
+ "declaration": {
395
+ "name": "ChatInput",
396
+ "module": "src/chat/input/index.ts"
397
+ }
398
+ },
399
+ {
400
+ "kind": "js",
401
+ "name": "chatInputTag",
402
+ "declaration": {
403
+ "name": "chatInputTag",
404
+ "module": "src/chat/input/index.ts"
405
+ }
406
+ }
407
+ ]
408
+ },
409
+ {
410
+ "kind": "javascript-module",
411
+ "path": "src/chat/input/types.ts",
412
+ "declarations": [],
413
+ "exports": []
414
+ },
415
+ {
416
+ "kind": "javascript-module",
417
+ "path": "src/chat/message/index.ts",
418
+ "declarations": [
419
+ {
420
+ "kind": "class",
421
+ "description": "A Spright component for displaying a chat message",
422
+ "name": "ChatMessage",
423
+ "members": [
424
+ {
425
+ "kind": "field",
426
+ "name": "messageType",
427
+ "type": {
428
+ "text": "ChatMessageType"
429
+ },
430
+ "privacy": "public"
431
+ },
432
+ {
433
+ "kind": "method",
434
+ "name": "slottedFooterActionsElementsChanged",
435
+ "privacy": "public",
436
+ "return": {
437
+ "type": {
438
+ "text": "void"
439
+ }
440
+ },
441
+ "parameters": [
442
+ {
443
+ "name": "_prev",
444
+ "type": {
445
+ "text": "HTMLElement[] | undefined"
446
+ }
447
+ },
448
+ {
449
+ "name": "next",
450
+ "type": {
451
+ "text": "HTMLElement[] | undefined"
452
+ }
453
+ }
454
+ ]
455
+ }
456
+ ],
457
+ "attributes": [
458
+ {
459
+ "name": "message-type",
460
+ "type": {
461
+ "text": "ChatMessageType"
462
+ },
463
+ "fieldName": "messageType"
464
+ }
465
+ ],
466
+ "superclass": {
467
+ "name": "FoundationElement",
468
+ "package": "@ni/fast-foundation"
469
+ },
470
+ "deprecated": "Use specific message component types instead"
471
+ },
472
+ {
473
+ "kind": "variable",
474
+ "name": "chatMessageTag",
475
+ "type": {
476
+ "text": "string"
477
+ },
478
+ "default": "'spright-chat-message'"
479
+ }
480
+ ],
481
+ "exports": [
482
+ {
483
+ "kind": "js",
484
+ "name": "ChatMessage",
485
+ "declaration": {
486
+ "name": "ChatMessage",
487
+ "module": "src/chat/message/index.ts"
488
+ }
489
+ },
490
+ {
491
+ "kind": "js",
492
+ "name": "chatMessageTag",
493
+ "declaration": {
494
+ "name": "chatMessageTag",
495
+ "module": "src/chat/message/index.ts"
496
+ }
497
+ }
498
+ ]
499
+ },
500
+ {
501
+ "kind": "javascript-module",
502
+ "path": "src/chat/message/types.ts",
503
+ "declarations": [
504
+ {
505
+ "kind": "variable",
506
+ "name": "ChatMessageType",
507
+ "type": {
508
+ "text": "{\n system: undefined,\n outbound: 'outbound',\n inbound: 'inbound'\n}"
509
+ },
510
+ "default": "{ system: undefined, outbound: 'outbound', inbound: 'inbound' }",
511
+ "description": "A message type in a chat conversation.",
512
+ "privacy": "public",
513
+ "deprecated": "Use specific message component types instead"
514
+ }
515
+ ],
516
+ "exports": [
517
+ {
518
+ "kind": "js",
519
+ "name": "ChatMessageType",
520
+ "declaration": {
521
+ "name": "ChatMessageType",
522
+ "module": "src/chat/message/types.ts"
523
+ }
524
+ }
525
+ ]
526
+ },
527
+ {
528
+ "kind": "javascript-module",
529
+ "path": "src/chat/message/inbound/index.ts",
530
+ "declarations": [
531
+ {
532
+ "kind": "class",
533
+ "description": "A Spright component for displaying a chat message",
534
+ "name": "ChatMessageInbound",
535
+ "members": [
536
+ {
537
+ "kind": "method",
538
+ "name": "slottedFooterActionsElementsChanged",
539
+ "privacy": "public",
540
+ "return": {
541
+ "type": {
542
+ "text": "void"
543
+ }
544
+ },
545
+ "parameters": [
546
+ {
547
+ "name": "_prev",
548
+ "type": {
549
+ "text": "HTMLElement[] | undefined"
550
+ }
551
+ },
552
+ {
553
+ "name": "next",
554
+ "type": {
555
+ "text": "HTMLElement[] | undefined"
556
+ }
557
+ }
558
+ ]
559
+ }
560
+ ],
561
+ "superclass": {
562
+ "name": "FoundationElement",
563
+ "package": "@ni/fast-foundation"
564
+ }
565
+ },
566
+ {
567
+ "kind": "variable",
568
+ "name": "chatMessageInboundTag",
569
+ "type": {
570
+ "text": "string"
571
+ },
572
+ "default": "'spright-chat-message-inbound'"
573
+ }
574
+ ],
575
+ "exports": [
576
+ {
577
+ "kind": "js",
578
+ "name": "ChatMessageInbound",
579
+ "declaration": {
580
+ "name": "ChatMessageInbound",
581
+ "module": "src/chat/message/inbound/index.ts"
582
+ }
583
+ },
584
+ {
585
+ "kind": "js",
586
+ "name": "chatMessageInboundTag",
587
+ "declaration": {
588
+ "name": "chatMessageInboundTag",
589
+ "module": "src/chat/message/inbound/index.ts"
590
+ }
591
+ }
592
+ ]
593
+ },
594
+ {
595
+ "kind": "javascript-module",
596
+ "path": "src/chat/message/outbound/index.ts",
597
+ "declarations": [
598
+ {
599
+ "kind": "class",
600
+ "description": "A Spright component for displaying an outbound chat message",
601
+ "name": "ChatMessageOutbound",
602
+ "superclass": {
603
+ "name": "FoundationElement",
604
+ "package": "@ni/fast-foundation"
605
+ }
606
+ },
607
+ {
608
+ "kind": "variable",
609
+ "name": "chatMessageOutboundTag",
610
+ "type": {
611
+ "text": "string"
612
+ },
613
+ "default": "'spright-chat-message-outbound'"
614
+ }
615
+ ],
616
+ "exports": [
617
+ {
618
+ "kind": "js",
619
+ "name": "ChatMessageOutbound",
620
+ "declaration": {
621
+ "name": "ChatMessageOutbound",
622
+ "module": "src/chat/message/outbound/index.ts"
623
+ }
624
+ },
625
+ {
626
+ "kind": "js",
627
+ "name": "chatMessageOutboundTag",
628
+ "declaration": {
629
+ "name": "chatMessageOutboundTag",
630
+ "module": "src/chat/message/outbound/index.ts"
631
+ }
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "kind": "javascript-module",
637
+ "path": "src/chat/message/system/index.ts",
638
+ "declarations": [
639
+ {
640
+ "kind": "class",
641
+ "description": "A Spright component for displaying an system chat message",
642
+ "name": "ChatMessageSystem",
643
+ "superclass": {
644
+ "name": "FoundationElement",
645
+ "package": "@ni/fast-foundation"
646
+ }
647
+ },
648
+ {
649
+ "kind": "variable",
650
+ "name": "chatMessageSystemTag",
651
+ "type": {
652
+ "text": "string"
653
+ },
654
+ "default": "'spright-chat-message-system'"
655
+ }
656
+ ],
657
+ "exports": [
658
+ {
659
+ "kind": "js",
660
+ "name": "ChatMessageSystem",
661
+ "declaration": {
662
+ "name": "ChatMessageSystem",
663
+ "module": "src/chat/message/system/index.ts"
664
+ }
665
+ },
666
+ {
667
+ "kind": "js",
668
+ "name": "chatMessageSystemTag",
669
+ "declaration": {
670
+ "name": "chatMessageSystemTag",
671
+ "module": "src/chat/message/system/index.ts"
672
+ }
673
+ }
674
+ ]
675
+ }
676
+ ]
677
+ }