@ni/ok-components 1.6.0 → 1.6.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.
@@ -185,6 +185,206 @@
185
185
  }
186
186
  ]
187
187
  },
188
+ {
189
+ "kind": "javascript-module",
190
+ "path": "src/fv/card/index.ts",
191
+ "declarations": [
192
+ {
193
+ "kind": "class",
194
+ "description": "An opinionated card component for FV layouts with optional media,\nbadges, footer metadata, and action content.",
195
+ "name": "FvCard",
196
+ "members": [
197
+ {
198
+ "kind": "field",
199
+ "name": "title",
200
+ "type": {
201
+ "text": "string"
202
+ },
203
+ "privacy": "public",
204
+ "default": "''"
205
+ },
206
+ {
207
+ "kind": "field",
208
+ "name": "subtitle",
209
+ "type": {
210
+ "text": "string"
211
+ },
212
+ "privacy": "public",
213
+ "default": "''"
214
+ },
215
+ {
216
+ "kind": "field",
217
+ "name": "description",
218
+ "type": {
219
+ "text": "string"
220
+ },
221
+ "privacy": "public",
222
+ "default": "''"
223
+ },
224
+ {
225
+ "kind": "field",
226
+ "name": "appearance",
227
+ "type": {
228
+ "text": "FvCardAppearanceType"
229
+ },
230
+ "privacy": "public"
231
+ },
232
+ {
233
+ "kind": "field",
234
+ "name": "interactionMode",
235
+ "type": {
236
+ "text": "FvCardInteractionModeType"
237
+ },
238
+ "privacy": "public"
239
+ },
240
+ {
241
+ "kind": "field",
242
+ "name": "disabled",
243
+ "type": {
244
+ "text": "boolean"
245
+ },
246
+ "privacy": "public",
247
+ "default": "false"
248
+ },
249
+ {
250
+ "kind": "field",
251
+ "name": "initials",
252
+ "type": {
253
+ "text": "string"
254
+ },
255
+ "privacy": "public",
256
+ "default": "''"
257
+ }
258
+ ],
259
+ "attributes": [
260
+ {
261
+ "name": "card-title",
262
+ "type": {
263
+ "text": "string"
264
+ },
265
+ "default": "''",
266
+ "fieldName": "title"
267
+ },
268
+ {
269
+ "name": "subtitle",
270
+ "type": {
271
+ "text": "string"
272
+ },
273
+ "default": "''",
274
+ "fieldName": "subtitle"
275
+ },
276
+ {
277
+ "name": "description",
278
+ "type": {
279
+ "text": "string"
280
+ },
281
+ "default": "''",
282
+ "fieldName": "description"
283
+ },
284
+ {
285
+ "name": "appearance",
286
+ "type": {
287
+ "text": "FvCardAppearanceType"
288
+ },
289
+ "fieldName": "appearance"
290
+ },
291
+ {
292
+ "name": "interaction-mode",
293
+ "type": {
294
+ "text": "FvCardInteractionModeType"
295
+ },
296
+ "fieldName": "interactionMode"
297
+ },
298
+ {
299
+ "name": "disabled",
300
+ "type": {
301
+ "text": "boolean"
302
+ },
303
+ "default": "false",
304
+ "fieldName": "disabled"
305
+ },
306
+ {
307
+ "name": "initials",
308
+ "type": {
309
+ "text": "string"
310
+ },
311
+ "default": "''",
312
+ "fieldName": "initials"
313
+ }
314
+ ],
315
+ "superclass": {
316
+ "name": "FoundationElement",
317
+ "package": "@ni/fast-foundation"
318
+ }
319
+ },
320
+ {
321
+ "kind": "variable",
322
+ "name": "fvCardTag",
323
+ "type": {
324
+ "text": "string"
325
+ },
326
+ "default": "'ok-fv-card'"
327
+ }
328
+ ],
329
+ "exports": [
330
+ {
331
+ "kind": "js",
332
+ "name": "FvCard",
333
+ "declaration": {
334
+ "name": "FvCard",
335
+ "module": "src/fv/card/index.ts"
336
+ }
337
+ },
338
+ {
339
+ "kind": "js",
340
+ "name": "fvCardTag",
341
+ "declaration": {
342
+ "name": "fvCardTag",
343
+ "module": "src/fv/card/index.ts"
344
+ }
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "kind": "javascript-module",
350
+ "path": "src/fv/card/types.ts",
351
+ "declarations": [
352
+ {
353
+ "kind": "variable",
354
+ "name": "FvCardAppearance",
355
+ "type": {
356
+ "text": "{\n outline: 'outline',\n block: 'block'\n}"
357
+ },
358
+ "default": "{ outline: 'outline', block: 'block' }"
359
+ },
360
+ {
361
+ "kind": "variable",
362
+ "name": "FvCardInteractionMode",
363
+ "type": {
364
+ "text": "{\n static: 'static',\n card: 'card'\n}"
365
+ },
366
+ "default": "{ static: 'static', card: 'card' }"
367
+ }
368
+ ],
369
+ "exports": [
370
+ {
371
+ "kind": "js",
372
+ "name": "FvCardAppearance",
373
+ "declaration": {
374
+ "name": "FvCardAppearance",
375
+ "module": "src/fv/card/types.ts"
376
+ }
377
+ },
378
+ {
379
+ "kind": "js",
380
+ "name": "FvCardInteractionMode",
381
+ "declaration": {
382
+ "name": "FvCardInteractionMode",
383
+ "module": "src/fv/card/types.ts"
384
+ }
385
+ }
386
+ ]
387
+ },
188
388
  {
189
389
  "kind": "javascript-module",
190
390
  "path": "src/fv/chip-selector/index.ts",
@@ -485,25 +685,16 @@
485
685
  },
486
686
  {
487
687
  "kind": "javascript-module",
488
- "path": "src/fv/card/index.ts",
688
+ "path": "src/fv/context-help/index.ts",
489
689
  "declarations": [
490
690
  {
491
691
  "kind": "class",
492
- "description": "An opinionated card component for FV layouts with optional media,\nbadges, footer metadata, and action content.",
493
- "name": "FvCard",
692
+ "description": "An info trigger with an attached tooltip for lightweight contextual guidance.",
693
+ "name": "FvContextHelp",
494
694
  "members": [
495
695
  {
496
696
  "kind": "field",
497
- "name": "title",
498
- "type": {
499
- "text": "string"
500
- },
501
- "privacy": "public",
502
- "default": "''"
503
- },
504
- {
505
- "kind": "field",
506
- "name": "subtitle",
697
+ "name": "text",
507
698
  "type": {
508
699
  "text": "string"
509
700
  },
@@ -512,102 +703,62 @@
512
703
  },
513
704
  {
514
705
  "kind": "field",
515
- "name": "description",
706
+ "name": "triggerLabel",
516
707
  "type": {
517
708
  "text": "string"
518
709
  },
519
710
  "privacy": "public",
520
- "default": "''"
521
- },
522
- {
523
- "kind": "field",
524
- "name": "appearance",
525
- "type": {
526
- "text": "FvCardAppearanceType"
527
- },
528
- "privacy": "public"
711
+ "default": "'Show help'"
529
712
  },
530
713
  {
531
714
  "kind": "field",
532
- "name": "interactionMode",
715
+ "name": "severity",
533
716
  "type": {
534
- "text": "FvCardInteractionModeType"
717
+ "text": "FvContextHelpSeverity"
535
718
  },
536
719
  "privacy": "public"
537
720
  },
538
721
  {
539
722
  "kind": "field",
540
- "name": "disabled",
723
+ "name": "iconVisible",
541
724
  "type": {
542
725
  "text": "boolean"
543
726
  },
544
727
  "privacy": "public",
545
728
  "default": "false"
546
- },
547
- {
548
- "kind": "field",
549
- "name": "initials",
550
- "type": {
551
- "text": "string"
552
- },
553
- "privacy": "public",
554
- "default": "''"
555
729
  }
556
730
  ],
557
731
  "attributes": [
558
732
  {
559
- "name": "card-title",
560
- "type": {
561
- "text": "string"
562
- },
563
- "default": "''",
564
- "fieldName": "title"
565
- },
566
- {
567
- "name": "subtitle",
733
+ "name": "text",
568
734
  "type": {
569
735
  "text": "string"
570
736
  },
571
737
  "default": "''",
572
- "fieldName": "subtitle"
738
+ "fieldName": "text"
573
739
  },
574
740
  {
575
- "name": "description",
741
+ "name": "trigger-label",
576
742
  "type": {
577
743
  "text": "string"
578
744
  },
579
- "default": "''",
580
- "fieldName": "description"
581
- },
582
- {
583
- "name": "appearance",
584
- "type": {
585
- "text": "FvCardAppearanceType"
586
- },
587
- "fieldName": "appearance"
745
+ "default": "'Show help'",
746
+ "fieldName": "triggerLabel"
588
747
  },
589
748
  {
590
- "name": "interaction-mode",
749
+ "name": "severity",
591
750
  "type": {
592
- "text": "FvCardInteractionModeType"
751
+ "text": "FvContextHelpSeverity"
593
752
  },
594
- "fieldName": "interactionMode"
753
+ "fieldName": "severity"
595
754
  },
596
755
  {
597
- "name": "disabled",
756
+ "name": "icon-visible",
598
757
  "type": {
599
758
  "text": "boolean"
600
759
  },
601
760
  "default": "false",
602
- "fieldName": "disabled"
603
- },
604
- {
605
- "name": "initials",
606
- "type": {
607
- "text": "string"
608
- },
609
- "default": "''",
610
- "fieldName": "initials"
761
+ "fieldName": "iconVisible"
611
762
  }
612
763
  ],
613
764
  "superclass": {
@@ -617,72 +768,46 @@
617
768
  },
618
769
  {
619
770
  "kind": "variable",
620
- "name": "fvCardTag",
771
+ "name": "fvContextHelpTag",
621
772
  "type": {
622
773
  "text": "string"
623
774
  },
624
- "default": "'ok-fv-card'"
775
+ "default": "'ok-fv-context-help'"
625
776
  }
626
777
  ],
627
778
  "exports": [
628
779
  {
629
780
  "kind": "js",
630
- "name": "FvCard",
631
- "declaration": {
632
- "name": "FvCard",
633
- "module": "src/fv/card/index.ts"
634
- }
635
- },
636
- {
637
- "kind": "js",
638
- "name": "fvCardTag",
781
+ "name": "FvContextHelpSeverity",
639
782
  "declaration": {
640
- "name": "fvCardTag",
641
- "module": "src/fv/card/index.ts"
783
+ "name": "FvContextHelpSeverity",
784
+ "module": "src/fv/context-help/index.ts"
642
785
  }
643
- }
644
- ]
645
- },
646
- {
647
- "kind": "javascript-module",
648
- "path": "src/fv/card/types.ts",
649
- "declarations": [
650
- {
651
- "kind": "variable",
652
- "name": "FvCardAppearance",
653
- "type": {
654
- "text": "{\n outline: 'outline',\n block: 'block'\n}"
655
- },
656
- "default": "{ outline: 'outline', block: 'block' }"
657
786
  },
658
- {
659
- "kind": "variable",
660
- "name": "FvCardInteractionMode",
661
- "type": {
662
- "text": "{\n static: 'static',\n card: 'card'\n}"
663
- },
664
- "default": "{ static: 'static', card: 'card' }"
665
- }
666
- ],
667
- "exports": [
668
787
  {
669
788
  "kind": "js",
670
- "name": "FvCardAppearance",
789
+ "name": "FvContextHelp",
671
790
  "declaration": {
672
- "name": "FvCardAppearance",
673
- "module": "src/fv/card/types.ts"
791
+ "name": "FvContextHelp",
792
+ "module": "src/fv/context-help/index.ts"
674
793
  }
675
794
  },
676
795
  {
677
796
  "kind": "js",
678
- "name": "FvCardInteractionMode",
797
+ "name": "fvContextHelpTag",
679
798
  "declaration": {
680
- "name": "FvCardInteractionMode",
681
- "module": "src/fv/card/types.ts"
799
+ "name": "fvContextHelpTag",
800
+ "module": "src/fv/context-help/index.ts"
682
801
  }
683
802
  }
684
803
  ]
685
804
  },
805
+ {
806
+ "kind": "javascript-module",
807
+ "path": "src/fv/context-help/types.ts",
808
+ "declarations": [],
809
+ "exports": []
810
+ },
686
811
  {
687
812
  "kind": "javascript-module",
688
813
  "path": "src/fv/master-detail-list/index.ts",
@@ -832,131 +957,6 @@
832
957
  }
833
958
  ]
834
959
  },
835
- {
836
- "kind": "javascript-module",
837
- "path": "src/fv/context-help/index.ts",
838
- "declarations": [
839
- {
840
- "kind": "class",
841
- "description": "An info trigger with an attached tooltip for lightweight contextual guidance.",
842
- "name": "FvContextHelp",
843
- "members": [
844
- {
845
- "kind": "field",
846
- "name": "text",
847
- "type": {
848
- "text": "string"
849
- },
850
- "privacy": "public",
851
- "default": "''"
852
- },
853
- {
854
- "kind": "field",
855
- "name": "triggerLabel",
856
- "type": {
857
- "text": "string"
858
- },
859
- "privacy": "public",
860
- "default": "'Show help'"
861
- },
862
- {
863
- "kind": "field",
864
- "name": "severity",
865
- "type": {
866
- "text": "FvContextHelpSeverity"
867
- },
868
- "privacy": "public"
869
- },
870
- {
871
- "kind": "field",
872
- "name": "iconVisible",
873
- "type": {
874
- "text": "boolean"
875
- },
876
- "privacy": "public",
877
- "default": "false"
878
- }
879
- ],
880
- "attributes": [
881
- {
882
- "name": "text",
883
- "type": {
884
- "text": "string"
885
- },
886
- "default": "''",
887
- "fieldName": "text"
888
- },
889
- {
890
- "name": "trigger-label",
891
- "type": {
892
- "text": "string"
893
- },
894
- "default": "'Show help'",
895
- "fieldName": "triggerLabel"
896
- },
897
- {
898
- "name": "severity",
899
- "type": {
900
- "text": "FvContextHelpSeverity"
901
- },
902
- "fieldName": "severity"
903
- },
904
- {
905
- "name": "icon-visible",
906
- "type": {
907
- "text": "boolean"
908
- },
909
- "default": "false",
910
- "fieldName": "iconVisible"
911
- }
912
- ],
913
- "superclass": {
914
- "name": "FoundationElement",
915
- "package": "@ni/fast-foundation"
916
- }
917
- },
918
- {
919
- "kind": "variable",
920
- "name": "fvContextHelpTag",
921
- "type": {
922
- "text": "string"
923
- },
924
- "default": "'ok-fv-context-help'"
925
- }
926
- ],
927
- "exports": [
928
- {
929
- "kind": "js",
930
- "name": "FvContextHelpSeverity",
931
- "declaration": {
932
- "name": "FvContextHelpSeverity",
933
- "module": "src/fv/context-help/index.ts"
934
- }
935
- },
936
- {
937
- "kind": "js",
938
- "name": "FvContextHelp",
939
- "declaration": {
940
- "name": "FvContextHelp",
941
- "module": "src/fv/context-help/index.ts"
942
- }
943
- },
944
- {
945
- "kind": "js",
946
- "name": "fvContextHelpTag",
947
- "declaration": {
948
- "name": "fvContextHelpTag",
949
- "module": "src/fv/context-help/index.ts"
950
- }
951
- }
952
- ]
953
- },
954
- {
955
- "kind": "javascript-module",
956
- "path": "src/fv/context-help/types.ts",
957
- "declarations": [],
958
- "exports": []
959
- },
960
960
  {
961
961
  "kind": "javascript-module",
962
962
  "path": "src/fv/master-detail-list-item/index.ts",