@ni/nimble-components 35.3.3 → 35.4.0
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/dist/all-components-bundle.js +1266 -487
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5835 -5229
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +407 -37
- package/dist/custom-elements.md +55 -13
- package/dist/esm/anchor/styles.js +1 -1
- package/dist/esm/anchor/styles.js.map +1 -1
- package/dist/esm/anchor-step/index.d.ts +50 -2
- package/dist/esm/anchor-step/index.js +58 -3
- package/dist/esm/anchor-step/index.js.map +1 -1
- package/dist/esm/anchor-step/styles.js +8 -2
- package/dist/esm/anchor-step/styles.js.map +1 -1
- package/dist/esm/anchor-step/template.d.ts +3 -1
- package/dist/esm/anchor-step/template.js +71 -3
- package/dist/esm/anchor-step/template.js.map +1 -1
- package/dist/esm/anchor-step/types.d.ts +7 -0
- package/dist/esm/anchor-step/types.js +3 -0
- package/dist/esm/anchor-step/types.js.map +1 -0
- package/dist/esm/breadcrumb-item/styles.js +1 -1
- package/dist/esm/breadcrumb-item/styles.js.map +1 -1
- package/dist/esm/patterns/severity/styles.d.ts +1 -0
- package/dist/esm/patterns/severity/styles.js +33 -0
- package/dist/esm/patterns/severity/styles.js.map +1 -0
- package/dist/esm/patterns/severity/template.d.ts +2 -0
- package/dist/esm/patterns/severity/template.js +10 -0
- package/dist/esm/patterns/severity/template.js.map +1 -0
- package/dist/esm/patterns/severity/testing/severity-pattern.pageobject.d.ts +12 -0
- package/dist/esm/patterns/severity/testing/severity-pattern.pageobject.js +36 -0
- package/dist/esm/patterns/severity/testing/severity-pattern.pageobject.js.map +1 -0
- package/dist/esm/patterns/severity/types.d.ts +31 -0
- package/dist/esm/patterns/severity/types.js +28 -0
- package/dist/esm/patterns/severity/types.js.map +1 -0
- package/dist/esm/patterns/step/models/step-internals.d.ts +8 -0
- package/dist/esm/patterns/step/models/step-internals.js +19 -0
- package/dist/esm/patterns/step/models/step-internals.js.map +1 -0
- package/dist/esm/patterns/step/styles.d.ts +1 -0
- package/dist/esm/patterns/step/styles.js +429 -0
- package/dist/esm/patterns/step/styles.js.map +1 -0
- package/dist/esm/patterns/step/types.d.ts +20 -0
- package/dist/esm/patterns/step/types.js +2 -0
- package/dist/esm/patterns/step/types.js.map +1 -0
- package/dist/esm/step/index.d.ts +44 -2
- package/dist/esm/step/index.js +48 -3
- package/dist/esm/step/index.js.map +1 -1
- package/dist/esm/step/styles.js +10 -2
- package/dist/esm/step/styles.js.map +1 -1
- package/dist/esm/step/template.d.ts +3 -1
- package/dist/esm/step/template.js +75 -3
- package/dist/esm/step/template.js.map +1 -1
- package/dist/esm/step/types.d.ts +7 -0
- package/dist/esm/step/types.js +3 -0
- package/dist/esm/step/types.js.map +1 -0
- package/dist/esm/stepper/styles.js +6 -1
- package/dist/esm/stepper/styles.js.map +1 -1
- package/dist/esm/stepper/template.js +3 -1
- package/dist/esm/stepper/template.js.map +1 -1
- package/dist/esm/stepper/types.d.ts +5 -0
- package/dist/esm/stepper/types.js +7 -0
- package/dist/esm/stepper/types.js.map +1 -0
- package/dist/esm/theme-provider/design-token-comments.js +10 -8
- package/dist/esm/theme-provider/design-token-comments.js.map +1 -1
- package/dist/esm/theme-provider/design-token-names.js +2 -0
- package/dist/esm/theme-provider/design-token-names.js.map +1 -1
- package/dist/esm/theme-provider/design-token-values.d.ts +2 -0
- package/dist/esm/theme-provider/design-token-values.js +3 -1
- package/dist/esm/theme-provider/design-token-values.js.map +1 -1
- package/dist/esm/theme-provider/design-tokens.d.ts +2 -0
- package/dist/esm/theme-provider/design-tokens.js +2 -0
- package/dist/esm/theme-provider/design-tokens.js.map +1 -1
- package/dist/esm/utilities/models/device-pixel-ratio.d.ts +10 -0
- package/dist/esm/utilities/models/device-pixel-ratio.js +22 -0
- package/dist/esm/utilities/models/device-pixel-ratio.js.map +1 -0
- package/dist/tokens-internal.scss +12 -0
- package/dist/tokens.scss +14 -8
- package/package.json +2 -2
|
@@ -394,13 +394,26 @@
|
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
396
|
"kind": "javascript-module",
|
|
397
|
-
"path": "src/anchor-
|
|
397
|
+
"path": "src/anchor-step/index.ts",
|
|
398
398
|
"declarations": [
|
|
399
399
|
{
|
|
400
400
|
"kind": "class",
|
|
401
|
-
"description": "A nimble-styled
|
|
402
|
-
"name": "
|
|
401
|
+
"description": "A nimble-styled anchor step for a stepper",
|
|
402
|
+
"name": "AnchorStep",
|
|
403
403
|
"members": [
|
|
404
|
+
{
|
|
405
|
+
"kind": "field",
|
|
406
|
+
"name": "severity",
|
|
407
|
+
"type": {
|
|
408
|
+
"text": "Severity"
|
|
409
|
+
},
|
|
410
|
+
"privacy": "public",
|
|
411
|
+
"description": "The severity state of the element",
|
|
412
|
+
"inheritedFrom": {
|
|
413
|
+
"name": "mixinSeverityPattern",
|
|
414
|
+
"module": "src/patterns/severity/types.ts"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
404
417
|
{
|
|
405
418
|
"kind": "field",
|
|
406
419
|
"name": "disabled",
|
|
@@ -408,38 +421,105 @@
|
|
|
408
421
|
"text": "boolean"
|
|
409
422
|
},
|
|
410
423
|
"privacy": "public",
|
|
411
|
-
"default": "false"
|
|
412
|
-
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information."
|
|
424
|
+
"default": "false"
|
|
413
425
|
},
|
|
414
426
|
{
|
|
415
427
|
"kind": "field",
|
|
416
|
-
"name": "
|
|
428
|
+
"name": "readOnly",
|
|
417
429
|
"type": {
|
|
418
|
-
"text": "
|
|
430
|
+
"text": "boolean"
|
|
419
431
|
},
|
|
420
432
|
"privacy": "public",
|
|
421
|
-
"default": "
|
|
422
|
-
|
|
433
|
+
"default": "false"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"kind": "field",
|
|
437
|
+
"name": "selected",
|
|
438
|
+
"type": {
|
|
439
|
+
"text": "boolean"
|
|
440
|
+
},
|
|
441
|
+
"privacy": "public",
|
|
442
|
+
"default": "false"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"kind": "field",
|
|
446
|
+
"name": "tabIndex",
|
|
447
|
+
"type": {
|
|
448
|
+
"text": "number"
|
|
449
|
+
},
|
|
450
|
+
"privacy": "public"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"kind": "field",
|
|
454
|
+
"name": "severityText",
|
|
455
|
+
"type": {
|
|
456
|
+
"text": "string | undefined"
|
|
457
|
+
},
|
|
458
|
+
"privacy": "public",
|
|
459
|
+
"description": "The severity text that will be displayed when a component is not in the default severity state",
|
|
460
|
+
"inheritedFrom": {
|
|
461
|
+
"name": "mixinSeverityPattern",
|
|
462
|
+
"module": "src/patterns/severity/types.ts"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"kind": "field",
|
|
467
|
+
"name": "severityHasOverflow",
|
|
468
|
+
"type": {
|
|
469
|
+
"text": "boolean"
|
|
470
|
+
},
|
|
471
|
+
"privacy": "public",
|
|
472
|
+
"default": "false",
|
|
473
|
+
"inheritedFrom": {
|
|
474
|
+
"name": "mixinSeverityPattern",
|
|
475
|
+
"module": "src/patterns/severity/types.ts"
|
|
476
|
+
}
|
|
423
477
|
}
|
|
424
478
|
],
|
|
425
479
|
"attributes": [
|
|
480
|
+
{
|
|
481
|
+
"name": "severity",
|
|
482
|
+
"type": {
|
|
483
|
+
"text": "AnchorStepSeverity"
|
|
484
|
+
},
|
|
485
|
+
"fieldName": "severity"
|
|
486
|
+
},
|
|
426
487
|
{
|
|
427
488
|
"name": "disabled",
|
|
428
489
|
"type": {
|
|
429
490
|
"text": "boolean"
|
|
430
491
|
},
|
|
431
492
|
"default": "false",
|
|
432
|
-
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.",
|
|
433
493
|
"fieldName": "disabled"
|
|
434
494
|
},
|
|
435
495
|
{
|
|
436
|
-
"name": "
|
|
496
|
+
"name": "readonly",
|
|
437
497
|
"type": {
|
|
438
|
-
"text": "
|
|
498
|
+
"text": "boolean"
|
|
439
499
|
},
|
|
440
|
-
"default": "
|
|
441
|
-
"
|
|
442
|
-
|
|
500
|
+
"default": "false",
|
|
501
|
+
"fieldName": "readOnly"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "selected",
|
|
505
|
+
"type": {
|
|
506
|
+
"text": "boolean"
|
|
507
|
+
},
|
|
508
|
+
"default": "false",
|
|
509
|
+
"fieldName": "selected"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "tabindex",
|
|
513
|
+
"type": {
|
|
514
|
+
"text": "number"
|
|
515
|
+
},
|
|
516
|
+
"fieldName": "tabIndex"
|
|
517
|
+
}
|
|
518
|
+
],
|
|
519
|
+
"mixins": [
|
|
520
|
+
{
|
|
521
|
+
"name": "mixinSeverityPattern",
|
|
522
|
+
"module": "/src/patterns/severity/types"
|
|
443
523
|
}
|
|
444
524
|
],
|
|
445
525
|
"superclass": {
|
|
@@ -449,69 +529,132 @@
|
|
|
449
529
|
},
|
|
450
530
|
{
|
|
451
531
|
"kind": "variable",
|
|
452
|
-
"name": "
|
|
532
|
+
"name": "anchorStepTag",
|
|
453
533
|
"type": {
|
|
454
534
|
"text": "string"
|
|
455
535
|
},
|
|
456
|
-
"default": "'nimble-anchor-
|
|
536
|
+
"default": "'nimble-anchor-step'"
|
|
457
537
|
}
|
|
458
538
|
],
|
|
459
539
|
"exports": [
|
|
460
540
|
{
|
|
461
541
|
"kind": "js",
|
|
462
|
-
"name": "
|
|
542
|
+
"name": "AnchorStep",
|
|
463
543
|
"declaration": {
|
|
464
|
-
"name": "
|
|
465
|
-
"module": "src/anchor-
|
|
544
|
+
"name": "AnchorStep",
|
|
545
|
+
"module": "src/anchor-step/index.ts"
|
|
466
546
|
}
|
|
467
547
|
},
|
|
468
548
|
{
|
|
469
549
|
"kind": "js",
|
|
470
|
-
"name": "
|
|
550
|
+
"name": "anchorStepTag",
|
|
471
551
|
"declaration": {
|
|
472
|
-
"name": "
|
|
473
|
-
"module": "src/anchor-
|
|
552
|
+
"name": "anchorStepTag",
|
|
553
|
+
"module": "src/anchor-step/index.ts"
|
|
474
554
|
}
|
|
475
555
|
}
|
|
476
556
|
]
|
|
477
557
|
},
|
|
478
558
|
{
|
|
479
559
|
"kind": "javascript-module",
|
|
480
|
-
"path": "src/anchor-step/
|
|
560
|
+
"path": "src/anchor-step/types.ts",
|
|
561
|
+
"declarations": [
|
|
562
|
+
{
|
|
563
|
+
"kind": "variable",
|
|
564
|
+
"name": "AnchorStepSeverity",
|
|
565
|
+
"default": "Severity"
|
|
566
|
+
}
|
|
567
|
+
],
|
|
568
|
+
"exports": [
|
|
569
|
+
{
|
|
570
|
+
"kind": "js",
|
|
571
|
+
"name": "AnchorStepSeverity",
|
|
572
|
+
"declaration": {
|
|
573
|
+
"name": "AnchorStepSeverity",
|
|
574
|
+
"module": "src/anchor-step/types.ts"
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"kind": "javascript-module",
|
|
581
|
+
"path": "src/anchor-tab/index.ts",
|
|
481
582
|
"declarations": [
|
|
482
583
|
{
|
|
483
584
|
"kind": "class",
|
|
484
|
-
"description": "A nimble-styled
|
|
485
|
-
"name": "
|
|
585
|
+
"description": "A nimble-styled link tab",
|
|
586
|
+
"name": "AnchorTab",
|
|
587
|
+
"members": [
|
|
588
|
+
{
|
|
589
|
+
"kind": "field",
|
|
590
|
+
"name": "disabled",
|
|
591
|
+
"type": {
|
|
592
|
+
"text": "boolean"
|
|
593
|
+
},
|
|
594
|
+
"privacy": "public",
|
|
595
|
+
"default": "false",
|
|
596
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information."
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"kind": "field",
|
|
600
|
+
"name": "ariaSelected",
|
|
601
|
+
"type": {
|
|
602
|
+
"text": "string"
|
|
603
|
+
},
|
|
604
|
+
"privacy": "public",
|
|
605
|
+
"default": "'false'",
|
|
606
|
+
"description": "Indicates the current \"selected\" state of various widgets.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-selected"
|
|
607
|
+
}
|
|
608
|
+
],
|
|
609
|
+
"attributes": [
|
|
610
|
+
{
|
|
611
|
+
"name": "disabled",
|
|
612
|
+
"type": {
|
|
613
|
+
"text": "boolean"
|
|
614
|
+
},
|
|
615
|
+
"default": "false",
|
|
616
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.",
|
|
617
|
+
"fieldName": "disabled"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "aria-selected",
|
|
621
|
+
"type": {
|
|
622
|
+
"text": "string"
|
|
623
|
+
},
|
|
624
|
+
"default": "'false'",
|
|
625
|
+
"description": "Indicates the current \"selected\" state of various widgets.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-selected",
|
|
626
|
+
"fieldName": "ariaSelected"
|
|
627
|
+
}
|
|
628
|
+
],
|
|
486
629
|
"superclass": {
|
|
487
|
-
"name": "
|
|
488
|
-
"
|
|
630
|
+
"name": "AnchorBase",
|
|
631
|
+
"module": "/src/anchor-base"
|
|
489
632
|
}
|
|
490
633
|
},
|
|
491
634
|
{
|
|
492
635
|
"kind": "variable",
|
|
493
|
-
"name": "
|
|
636
|
+
"name": "anchorTabTag",
|
|
494
637
|
"type": {
|
|
495
638
|
"text": "string"
|
|
496
639
|
},
|
|
497
|
-
"default": "'nimble-anchor-
|
|
640
|
+
"default": "'nimble-anchor-tab'"
|
|
498
641
|
}
|
|
499
642
|
],
|
|
500
643
|
"exports": [
|
|
501
644
|
{
|
|
502
645
|
"kind": "js",
|
|
503
|
-
"name": "
|
|
646
|
+
"name": "AnchorTab",
|
|
504
647
|
"declaration": {
|
|
505
|
-
"name": "
|
|
506
|
-
"module": "src/anchor-
|
|
648
|
+
"name": "AnchorTab",
|
|
649
|
+
"module": "src/anchor-tab/index.ts"
|
|
507
650
|
}
|
|
508
651
|
},
|
|
509
652
|
{
|
|
510
653
|
"kind": "js",
|
|
511
|
-
"name": "
|
|
654
|
+
"name": "anchorTabTag",
|
|
512
655
|
"declaration": {
|
|
513
|
-
"name": "
|
|
514
|
-
"module": "src/anchor-
|
|
656
|
+
"name": "anchorTabTag",
|
|
657
|
+
"module": "src/anchor-tab/index.ts"
|
|
515
658
|
}
|
|
516
659
|
}
|
|
517
660
|
]
|
|
@@ -4981,8 +5124,113 @@
|
|
|
4981
5124
|
"kind": "class",
|
|
4982
5125
|
"description": "A nimble-styled step for a stepper",
|
|
4983
5126
|
"name": "Step",
|
|
5127
|
+
"members": [
|
|
5128
|
+
{
|
|
5129
|
+
"kind": "field",
|
|
5130
|
+
"name": "severity",
|
|
5131
|
+
"type": {
|
|
5132
|
+
"text": "Severity"
|
|
5133
|
+
},
|
|
5134
|
+
"privacy": "public",
|
|
5135
|
+
"description": "The severity state of the element",
|
|
5136
|
+
"inheritedFrom": {
|
|
5137
|
+
"name": "mixinSeverityPattern",
|
|
5138
|
+
"module": "src/patterns/severity/types.ts"
|
|
5139
|
+
}
|
|
5140
|
+
},
|
|
5141
|
+
{
|
|
5142
|
+
"kind": "field",
|
|
5143
|
+
"name": "readOnly",
|
|
5144
|
+
"type": {
|
|
5145
|
+
"text": "boolean"
|
|
5146
|
+
},
|
|
5147
|
+
"privacy": "public",
|
|
5148
|
+
"default": "false"
|
|
5149
|
+
},
|
|
5150
|
+
{
|
|
5151
|
+
"kind": "field",
|
|
5152
|
+
"name": "selected",
|
|
5153
|
+
"type": {
|
|
5154
|
+
"text": "boolean"
|
|
5155
|
+
},
|
|
5156
|
+
"privacy": "public",
|
|
5157
|
+
"default": "false"
|
|
5158
|
+
},
|
|
5159
|
+
{
|
|
5160
|
+
"kind": "field",
|
|
5161
|
+
"name": "tabIndex",
|
|
5162
|
+
"type": {
|
|
5163
|
+
"text": "number"
|
|
5164
|
+
},
|
|
5165
|
+
"privacy": "public"
|
|
5166
|
+
},
|
|
5167
|
+
{
|
|
5168
|
+
"kind": "field",
|
|
5169
|
+
"name": "severityText",
|
|
5170
|
+
"type": {
|
|
5171
|
+
"text": "string | undefined"
|
|
5172
|
+
},
|
|
5173
|
+
"privacy": "public",
|
|
5174
|
+
"description": "The severity text that will be displayed when a component is not in the default severity state",
|
|
5175
|
+
"inheritedFrom": {
|
|
5176
|
+
"name": "mixinSeverityPattern",
|
|
5177
|
+
"module": "src/patterns/severity/types.ts"
|
|
5178
|
+
}
|
|
5179
|
+
},
|
|
5180
|
+
{
|
|
5181
|
+
"kind": "field",
|
|
5182
|
+
"name": "severityHasOverflow",
|
|
5183
|
+
"type": {
|
|
5184
|
+
"text": "boolean"
|
|
5185
|
+
},
|
|
5186
|
+
"privacy": "public",
|
|
5187
|
+
"default": "false",
|
|
5188
|
+
"inheritedFrom": {
|
|
5189
|
+
"name": "mixinSeverityPattern",
|
|
5190
|
+
"module": "src/patterns/severity/types.ts"
|
|
5191
|
+
}
|
|
5192
|
+
}
|
|
5193
|
+
],
|
|
5194
|
+
"attributes": [
|
|
5195
|
+
{
|
|
5196
|
+
"name": "severity",
|
|
5197
|
+
"type": {
|
|
5198
|
+
"text": "StepSeverity"
|
|
5199
|
+
},
|
|
5200
|
+
"fieldName": "severity"
|
|
5201
|
+
},
|
|
5202
|
+
{
|
|
5203
|
+
"name": "readonly",
|
|
5204
|
+
"type": {
|
|
5205
|
+
"text": "boolean"
|
|
5206
|
+
},
|
|
5207
|
+
"default": "false",
|
|
5208
|
+
"fieldName": "readOnly"
|
|
5209
|
+
},
|
|
5210
|
+
{
|
|
5211
|
+
"name": "selected",
|
|
5212
|
+
"type": {
|
|
5213
|
+
"text": "boolean"
|
|
5214
|
+
},
|
|
5215
|
+
"default": "false",
|
|
5216
|
+
"fieldName": "selected"
|
|
5217
|
+
},
|
|
5218
|
+
{
|
|
5219
|
+
"name": "tabindex",
|
|
5220
|
+
"type": {
|
|
5221
|
+
"text": "number"
|
|
5222
|
+
},
|
|
5223
|
+
"fieldName": "tabIndex"
|
|
5224
|
+
}
|
|
5225
|
+
],
|
|
5226
|
+
"mixins": [
|
|
5227
|
+
{
|
|
5228
|
+
"name": "mixinSeverityPattern",
|
|
5229
|
+
"module": "/src/patterns/severity/types"
|
|
5230
|
+
}
|
|
5231
|
+
],
|
|
4984
5232
|
"superclass": {
|
|
4985
|
-
"name": "
|
|
5233
|
+
"name": "FoundationButton",
|
|
4986
5234
|
"package": "@ni/fast-foundation"
|
|
4987
5235
|
}
|
|
4988
5236
|
},
|
|
@@ -5014,6 +5262,27 @@
|
|
|
5014
5262
|
}
|
|
5015
5263
|
]
|
|
5016
5264
|
},
|
|
5265
|
+
{
|
|
5266
|
+
"kind": "javascript-module",
|
|
5267
|
+
"path": "src/step/types.ts",
|
|
5268
|
+
"declarations": [
|
|
5269
|
+
{
|
|
5270
|
+
"kind": "variable",
|
|
5271
|
+
"name": "StepSeverity",
|
|
5272
|
+
"default": "Severity"
|
|
5273
|
+
}
|
|
5274
|
+
],
|
|
5275
|
+
"exports": [
|
|
5276
|
+
{
|
|
5277
|
+
"kind": "js",
|
|
5278
|
+
"name": "StepSeverity",
|
|
5279
|
+
"declaration": {
|
|
5280
|
+
"name": "StepSeverity",
|
|
5281
|
+
"module": "src/step/types.ts"
|
|
5282
|
+
}
|
|
5283
|
+
}
|
|
5284
|
+
]
|
|
5285
|
+
},
|
|
5017
5286
|
{
|
|
5018
5287
|
"kind": "javascript-module",
|
|
5019
5288
|
"path": "src/stepper/index.ts",
|
|
@@ -5055,6 +5324,27 @@
|
|
|
5055
5324
|
}
|
|
5056
5325
|
]
|
|
5057
5326
|
},
|
|
5327
|
+
{
|
|
5328
|
+
"kind": "javascript-module",
|
|
5329
|
+
"path": "src/stepper/types.ts",
|
|
5330
|
+
"declarations": [
|
|
5331
|
+
{
|
|
5332
|
+
"kind": "variable",
|
|
5333
|
+
"name": "StepperOrientation",
|
|
5334
|
+
"default": "Orientation"
|
|
5335
|
+
}
|
|
5336
|
+
],
|
|
5337
|
+
"exports": [
|
|
5338
|
+
{
|
|
5339
|
+
"kind": "js",
|
|
5340
|
+
"name": "StepperOrientation",
|
|
5341
|
+
"declaration": {
|
|
5342
|
+
"name": "StepperOrientation",
|
|
5343
|
+
"module": "src/stepper/types.ts"
|
|
5344
|
+
}
|
|
5345
|
+
}
|
|
5346
|
+
]
|
|
5347
|
+
},
|
|
5058
5348
|
{
|
|
5059
5349
|
"kind": "javascript-module",
|
|
5060
5350
|
"path": "src/switch/index.ts",
|
|
@@ -10269,6 +10559,86 @@
|
|
|
10269
10559
|
}
|
|
10270
10560
|
]
|
|
10271
10561
|
},
|
|
10562
|
+
{
|
|
10563
|
+
"kind": "javascript-module",
|
|
10564
|
+
"path": "src/patterns/severity/types.ts",
|
|
10565
|
+
"declarations": [
|
|
10566
|
+
{
|
|
10567
|
+
"kind": "variable",
|
|
10568
|
+
"name": "Severity",
|
|
10569
|
+
"type": {
|
|
10570
|
+
"text": "{\n default: undefined,\n error: 'error',\n warning: 'warning',\n success: 'success',\n}"
|
|
10571
|
+
},
|
|
10572
|
+
"default": "{ default: undefined, error: 'error', warning: 'warning', success: 'success', }"
|
|
10573
|
+
},
|
|
10574
|
+
{
|
|
10575
|
+
"kind": "mixin",
|
|
10576
|
+
"description": "",
|
|
10577
|
+
"name": "mixinSeverityPattern",
|
|
10578
|
+
"members": [
|
|
10579
|
+
{
|
|
10580
|
+
"kind": "field",
|
|
10581
|
+
"name": "severity",
|
|
10582
|
+
"type": {
|
|
10583
|
+
"text": "Severity"
|
|
10584
|
+
},
|
|
10585
|
+
"privacy": "public",
|
|
10586
|
+
"description": "The severity state of the element"
|
|
10587
|
+
},
|
|
10588
|
+
{
|
|
10589
|
+
"kind": "field",
|
|
10590
|
+
"name": "severityText",
|
|
10591
|
+
"type": {
|
|
10592
|
+
"text": "string | undefined"
|
|
10593
|
+
},
|
|
10594
|
+
"privacy": "public",
|
|
10595
|
+
"description": "The severity text that will be displayed when a component is not in the default severity state"
|
|
10596
|
+
},
|
|
10597
|
+
{
|
|
10598
|
+
"kind": "field",
|
|
10599
|
+
"name": "severityHasOverflow",
|
|
10600
|
+
"type": {
|
|
10601
|
+
"text": "boolean"
|
|
10602
|
+
},
|
|
10603
|
+
"privacy": "public",
|
|
10604
|
+
"default": "false"
|
|
10605
|
+
}
|
|
10606
|
+
],
|
|
10607
|
+
"parameters": [
|
|
10608
|
+
{
|
|
10609
|
+
"name": "base",
|
|
10610
|
+
"type": {
|
|
10611
|
+
"text": "TBase"
|
|
10612
|
+
}
|
|
10613
|
+
}
|
|
10614
|
+
]
|
|
10615
|
+
}
|
|
10616
|
+
],
|
|
10617
|
+
"exports": [
|
|
10618
|
+
{
|
|
10619
|
+
"kind": "js",
|
|
10620
|
+
"name": "Severity",
|
|
10621
|
+
"declaration": {
|
|
10622
|
+
"name": "Severity",
|
|
10623
|
+
"module": "src/patterns/severity/types.ts"
|
|
10624
|
+
}
|
|
10625
|
+
},
|
|
10626
|
+
{
|
|
10627
|
+
"kind": "js",
|
|
10628
|
+
"name": "mixinSeverityPattern",
|
|
10629
|
+
"declaration": {
|
|
10630
|
+
"name": "mixinSeverityPattern",
|
|
10631
|
+
"module": "src/patterns/severity/types.ts"
|
|
10632
|
+
}
|
|
10633
|
+
}
|
|
10634
|
+
]
|
|
10635
|
+
},
|
|
10636
|
+
{
|
|
10637
|
+
"kind": "javascript-module",
|
|
10638
|
+
"path": "src/patterns/step/types.ts",
|
|
10639
|
+
"declarations": [],
|
|
10640
|
+
"exports": []
|
|
10641
|
+
},
|
|
10272
10642
|
{
|
|
10273
10643
|
"kind": "javascript-module",
|
|
10274
10644
|
"path": "src/patterns/tabs/types.ts",
|
package/dist/custom-elements.md
CHANGED
|
@@ -93,6 +93,38 @@
|
|
|
93
93
|
|
|
94
94
|
<hr/>
|
|
95
95
|
|
|
96
|
+
## class: `AnchorStep`
|
|
97
|
+
|
|
98
|
+
### Superclass
|
|
99
|
+
|
|
100
|
+
| Name | Module | Package |
|
|
101
|
+
| ------------ | ---------------- | ------- |
|
|
102
|
+
| `AnchorBase` | /src/anchor-base | |
|
|
103
|
+
|
|
104
|
+
### Fields
|
|
105
|
+
|
|
106
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
107
|
+
| --------------------- | ------- | --------------------- | ------- | ---------------------------------------------------------------------------------------------- | -------------------- |
|
|
108
|
+
| `severity` | public | `Severity` | | The severity state of the element | mixinSeverityPattern |
|
|
109
|
+
| `disabled` | public | `boolean` | `false` | | |
|
|
110
|
+
| `readOnly` | public | `boolean` | `false` | | |
|
|
111
|
+
| `selected` | public | `boolean` | `false` | | |
|
|
112
|
+
| `tabIndex` | public | `number` | | | |
|
|
113
|
+
| `severityText` | public | `string \| undefined` | | The severity text that will be displayed when a component is not in the default severity state | mixinSeverityPattern |
|
|
114
|
+
| `severityHasOverflow` | public | `boolean` | `false` | | mixinSeverityPattern |
|
|
115
|
+
|
|
116
|
+
### Attributes
|
|
117
|
+
|
|
118
|
+
| Name | Field | Inherited From |
|
|
119
|
+
| ---------- | -------- | -------------- |
|
|
120
|
+
| `severity` | severity | |
|
|
121
|
+
| `disabled` | disabled | |
|
|
122
|
+
| `readonly` | readOnly | |
|
|
123
|
+
| `selected` | selected | |
|
|
124
|
+
| `tabindex` | tabIndex | |
|
|
125
|
+
|
|
126
|
+
<hr/>
|
|
127
|
+
|
|
96
128
|
## class: `AnchorTab`
|
|
97
129
|
|
|
98
130
|
### Superclass
|
|
@@ -117,16 +149,6 @@
|
|
|
117
149
|
|
|
118
150
|
<hr/>
|
|
119
151
|
|
|
120
|
-
## class: `AnchorStep`
|
|
121
|
-
|
|
122
|
-
### Superclass
|
|
123
|
-
|
|
124
|
-
| Name | Module | Package |
|
|
125
|
-
| ------------------- | ------ | ------------------- |
|
|
126
|
-
| `FoundationElement` | | @ni/fast-foundation |
|
|
127
|
-
|
|
128
|
-
<hr/>
|
|
129
|
-
|
|
130
152
|
## class: `AnchorTabs`
|
|
131
153
|
|
|
132
154
|
### Superclass
|
|
@@ -821,9 +843,29 @@
|
|
|
821
843
|
|
|
822
844
|
### Superclass
|
|
823
845
|
|
|
824
|
-
| Name
|
|
825
|
-
|
|
|
826
|
-
| `
|
|
846
|
+
| Name | Module | Package |
|
|
847
|
+
| ------------------ | ------ | ------------------- |
|
|
848
|
+
| `FoundationButton` | | @ni/fast-foundation |
|
|
849
|
+
|
|
850
|
+
### Fields
|
|
851
|
+
|
|
852
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
853
|
+
| --------------------- | ------- | --------------------- | ------- | ---------------------------------------------------------------------------------------------- | -------------------- |
|
|
854
|
+
| `severity` | public | `Severity` | | The severity state of the element | mixinSeverityPattern |
|
|
855
|
+
| `readOnly` | public | `boolean` | `false` | | |
|
|
856
|
+
| `selected` | public | `boolean` | `false` | | |
|
|
857
|
+
| `tabIndex` | public | `number` | | | |
|
|
858
|
+
| `severityText` | public | `string \| undefined` | | The severity text that will be displayed when a component is not in the default severity state | mixinSeverityPattern |
|
|
859
|
+
| `severityHasOverflow` | public | `boolean` | `false` | | mixinSeverityPattern |
|
|
860
|
+
|
|
861
|
+
### Attributes
|
|
862
|
+
|
|
863
|
+
| Name | Field | Inherited From |
|
|
864
|
+
| ---------- | -------- | -------------- |
|
|
865
|
+
| `severity` | severity | |
|
|
866
|
+
| `readonly` | readOnly | |
|
|
867
|
+
| `selected` | selected | |
|
|
868
|
+
| `tabindex` | tabIndex | |
|
|
827
869
|
|
|
828
870
|
<hr/>
|
|
829
871
|
|
|
@@ -3,7 +3,7 @@ import { display } from '../utilities/style/display';
|
|
|
3
3
|
import { focusVisible } from '../utilities/style/focus';
|
|
4
4
|
import { borderHoverColor, linkActiveFontColor, linkActiveProminentFontColor, linkDisabledFontColor, linkFont, linkFontColor, linkProminentFontColor } from '../theme-provider/design-tokens';
|
|
5
5
|
export const styles = css `
|
|
6
|
-
@layer base, hover, focusVisible, active, disabled;
|
|
6
|
+
@layer base, hover, focusVisible, active, disabled, top;
|
|
7
7
|
|
|
8
8
|
@layer base {
|
|
9
9
|
${display('inline')}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/anchor/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACnB,4BAA4B,EAC5B,qBAAqB,EACrB,QAAQ,EACR,aAAa,EACb,sBAAsB,EACzB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;UAIf,OAAO,CAAC,QAAQ,CAAC;;;oBAGP,QAAQ;;;;;;;;qBAQP,aAAa;;;;;;;;;qBASb,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;kBAuBzB,YAAY;;;;qBAIT,gBAAgB;;;;;;qBAMhB,mBAAmB;;;;;;qBAMnB,4BAA4B;;;;;;;;;;qBAU5B,qBAAqB;;;CAGzC,CAAC","sourcesContent":["import { css } from '@ni/fast-element';\nimport { display } from '../utilities/style/display';\nimport { focusVisible } from '../utilities/style/focus';\nimport {\n borderHoverColor,\n linkActiveFontColor,\n linkActiveProminentFontColor,\n linkDisabledFontColor,\n linkFont,\n linkFontColor,\n linkProminentFontColor\n} from '../theme-provider/design-tokens';\n\nexport const styles = css`\n @layer base, hover, focusVisible, active, disabled;\n\n @layer base {\n ${display('inline')}\n\n :host {\n font: ${linkFont};\n }\n\n .top-container {\n display: contents;\n }\n\n .control {\n color: ${linkFontColor};\n text-decoration: underline;\n }\n\n :host([underline-hidden]) .control {\n text-decoration: none;\n }\n\n :host([appearance='prominent']) .control {\n color: ${linkProminentFontColor};\n }\n\n [part='start'] {\n display: none;\n }\n\n .content {\n pointer-events: none;\n }\n\n [part='end'] {\n display: none;\n }\n }\n\n @layer hover {\n .control:any-link:hover {\n text-decoration: underline;\n }\n }\n\n @layer focusVisible {\n .control${focusVisible} {\n outline: none;\n box-shadow: inset 0px -1px;\n text-decoration: underline;\n color: ${borderHoverColor};\n }\n }\n\n @layer active {\n .control:active {\n color: ${linkActiveFontColor};\n text-decoration: underline;\n box-shadow: none;\n }\n\n :host([appearance='prominent']) .control:active {\n color: ${linkActiveProminentFontColor};\n }\n\n :host([underline-hidden]) .control:active {\n text-decoration: none;\n }\n }\n\n @layer disabled {\n .control:not(:any-link) {\n color: ${linkDisabledFontColor};\n }\n }\n`;\n"]}
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/anchor/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACnB,4BAA4B,EAC5B,qBAAqB,EACrB,QAAQ,EACR,aAAa,EACb,sBAAsB,EACzB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;UAIf,OAAO,CAAC,QAAQ,CAAC;;;oBAGP,QAAQ;;;;;;;;qBAQP,aAAa;;;;;;;;;qBASb,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;kBAuBzB,YAAY;;;;qBAIT,gBAAgB;;;;;;qBAMhB,mBAAmB;;;;;;qBAMnB,4BAA4B;;;;;;;;;;qBAU5B,qBAAqB;;;CAGzC,CAAC","sourcesContent":["import { css } from '@ni/fast-element';\nimport { display } from '../utilities/style/display';\nimport { focusVisible } from '../utilities/style/focus';\nimport {\n borderHoverColor,\n linkActiveFontColor,\n linkActiveProminentFontColor,\n linkDisabledFontColor,\n linkFont,\n linkFontColor,\n linkProminentFontColor\n} from '../theme-provider/design-tokens';\n\nexport const styles = css`\n @layer base, hover, focusVisible, active, disabled, top;\n\n @layer base {\n ${display('inline')}\n\n :host {\n font: ${linkFont};\n }\n\n .top-container {\n display: contents;\n }\n\n .control {\n color: ${linkFontColor};\n text-decoration: underline;\n }\n\n :host([underline-hidden]) .control {\n text-decoration: none;\n }\n\n :host([appearance='prominent']) .control {\n color: ${linkProminentFontColor};\n }\n\n [part='start'] {\n display: none;\n }\n\n .content {\n pointer-events: none;\n }\n\n [part='end'] {\n display: none;\n }\n }\n\n @layer hover {\n .control:any-link:hover {\n text-decoration: underline;\n }\n }\n\n @layer focusVisible {\n .control${focusVisible} {\n outline: none;\n box-shadow: inset 0px -1px;\n text-decoration: underline;\n color: ${borderHoverColor};\n }\n }\n\n @layer active {\n .control:active {\n color: ${linkActiveFontColor};\n text-decoration: underline;\n box-shadow: none;\n }\n\n :host([appearance='prominent']) .control:active {\n color: ${linkActiveProminentFontColor};\n }\n\n :host([underline-hidden]) .control:active {\n text-decoration: none;\n }\n }\n\n @layer disabled {\n .control:not(:any-link) {\n color: ${linkDisabledFontColor};\n }\n }\n`;\n"]}
|