@ni/nimble-components 35.9.0 → 35.9.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.
- package/dist/all-components-bundle.js +9 -0
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +9 -0
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +83 -83
- package/dist/custom-elements.md +24 -24
- package/dist/esm/theme-provider/styles.js +9 -0
- package/dist/esm/theme-provider/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -392,6 +392,89 @@
|
|
|
392
392
|
}
|
|
393
393
|
]
|
|
394
394
|
},
|
|
395
|
+
{
|
|
396
|
+
"kind": "javascript-module",
|
|
397
|
+
"path": "src/anchor-tab/index.ts",
|
|
398
|
+
"declarations": [
|
|
399
|
+
{
|
|
400
|
+
"kind": "class",
|
|
401
|
+
"description": "A nimble-styled link tab",
|
|
402
|
+
"name": "AnchorTab",
|
|
403
|
+
"members": [
|
|
404
|
+
{
|
|
405
|
+
"kind": "field",
|
|
406
|
+
"name": "disabled",
|
|
407
|
+
"type": {
|
|
408
|
+
"text": "boolean"
|
|
409
|
+
},
|
|
410
|
+
"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."
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"kind": "field",
|
|
416
|
+
"name": "ariaSelected",
|
|
417
|
+
"type": {
|
|
418
|
+
"text": "string"
|
|
419
|
+
},
|
|
420
|
+
"privacy": "public",
|
|
421
|
+
"default": "'false'",
|
|
422
|
+
"description": "Indicates the current \"selected\" state of various widgets.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-selected"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"attributes": [
|
|
426
|
+
{
|
|
427
|
+
"name": "disabled",
|
|
428
|
+
"type": {
|
|
429
|
+
"text": "boolean"
|
|
430
|
+
},
|
|
431
|
+
"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
|
+
"fieldName": "disabled"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "aria-selected",
|
|
437
|
+
"type": {
|
|
438
|
+
"text": "string"
|
|
439
|
+
},
|
|
440
|
+
"default": "'false'",
|
|
441
|
+
"description": "Indicates the current \"selected\" state of various widgets.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-selected",
|
|
442
|
+
"fieldName": "ariaSelected"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"superclass": {
|
|
446
|
+
"name": "AnchorBase",
|
|
447
|
+
"module": "/src/anchor-base"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"kind": "variable",
|
|
452
|
+
"name": "anchorTabTag",
|
|
453
|
+
"type": {
|
|
454
|
+
"text": "string"
|
|
455
|
+
},
|
|
456
|
+
"default": "'nimble-anchor-tab'"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"exports": [
|
|
460
|
+
{
|
|
461
|
+
"kind": "js",
|
|
462
|
+
"name": "AnchorTab",
|
|
463
|
+
"declaration": {
|
|
464
|
+
"name": "AnchorTab",
|
|
465
|
+
"module": "src/anchor-tab/index.ts"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"kind": "js",
|
|
470
|
+
"name": "anchorTabTag",
|
|
471
|
+
"declaration": {
|
|
472
|
+
"name": "anchorTabTag",
|
|
473
|
+
"module": "src/anchor-tab/index.ts"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
]
|
|
477
|
+
},
|
|
395
478
|
{
|
|
396
479
|
"kind": "javascript-module",
|
|
397
480
|
"path": "src/anchor-step/index.ts",
|
|
@@ -576,89 +659,6 @@
|
|
|
576
659
|
}
|
|
577
660
|
]
|
|
578
661
|
},
|
|
579
|
-
{
|
|
580
|
-
"kind": "javascript-module",
|
|
581
|
-
"path": "src/anchor-tab/index.ts",
|
|
582
|
-
"declarations": [
|
|
583
|
-
{
|
|
584
|
-
"kind": "class",
|
|
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
|
-
],
|
|
629
|
-
"superclass": {
|
|
630
|
-
"name": "AnchorBase",
|
|
631
|
-
"module": "/src/anchor-base"
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
"kind": "variable",
|
|
636
|
-
"name": "anchorTabTag",
|
|
637
|
-
"type": {
|
|
638
|
-
"text": "string"
|
|
639
|
-
},
|
|
640
|
-
"default": "'nimble-anchor-tab'"
|
|
641
|
-
}
|
|
642
|
-
],
|
|
643
|
-
"exports": [
|
|
644
|
-
{
|
|
645
|
-
"kind": "js",
|
|
646
|
-
"name": "AnchorTab",
|
|
647
|
-
"declaration": {
|
|
648
|
-
"name": "AnchorTab",
|
|
649
|
-
"module": "src/anchor-tab/index.ts"
|
|
650
|
-
}
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"kind": "js",
|
|
654
|
-
"name": "anchorTabTag",
|
|
655
|
-
"declaration": {
|
|
656
|
-
"name": "anchorTabTag",
|
|
657
|
-
"module": "src/anchor-tab/index.ts"
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
]
|
|
661
|
-
},
|
|
662
662
|
{
|
|
663
663
|
"kind": "javascript-module",
|
|
664
664
|
"path": "src/anchor-tabs/index.ts",
|
package/dist/custom-elements.md
CHANGED
|
@@ -93,6 +93,30 @@
|
|
|
93
93
|
|
|
94
94
|
<hr/>
|
|
95
95
|
|
|
96
|
+
## class: `AnchorTab`
|
|
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
|
+
| `disabled` | public | `boolean` | `false` | 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. | |
|
|
109
|
+
| `ariaSelected` | public | `string` | `'false'` | Indicates the current "selected" state of various widgets.
https\://www\.w3.org/TR/wai-aria-1.1/#aria-selected | |
|
|
110
|
+
|
|
111
|
+
### Attributes
|
|
112
|
+
|
|
113
|
+
| Name | Field | Inherited From |
|
|
114
|
+
| --------------- | ------------ | -------------- |
|
|
115
|
+
| `disabled` | disabled | |
|
|
116
|
+
| `aria-selected` | ariaSelected | |
|
|
117
|
+
|
|
118
|
+
<hr/>
|
|
119
|
+
|
|
96
120
|
## class: `AnchorStep`
|
|
97
121
|
|
|
98
122
|
### Superclass
|
|
@@ -125,30 +149,6 @@
|
|
|
125
149
|
|
|
126
150
|
<hr/>
|
|
127
151
|
|
|
128
|
-
## class: `AnchorTab`
|
|
129
|
-
|
|
130
|
-
### Superclass
|
|
131
|
-
|
|
132
|
-
| Name | Module | Package |
|
|
133
|
-
| ------------ | ---------------- | ------- |
|
|
134
|
-
| `AnchorBase` | /src/anchor-base | |
|
|
135
|
-
|
|
136
|
-
### Fields
|
|
137
|
-
|
|
138
|
-
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
139
|
-
| -------------- | ------- | --------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
|
|
140
|
-
| `disabled` | public | `boolean` | `false` | 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. | |
|
|
141
|
-
| `ariaSelected` | public | `string` | `'false'` | Indicates the current "selected" state of various widgets.
https\://www\.w3.org/TR/wai-aria-1.1/#aria-selected | |
|
|
142
|
-
|
|
143
|
-
### Attributes
|
|
144
|
-
|
|
145
|
-
| Name | Field | Inherited From |
|
|
146
|
-
| --------------- | ------------ | -------------- |
|
|
147
|
-
| `disabled` | disabled | |
|
|
148
|
-
| `aria-selected` | ariaSelected | |
|
|
149
|
-
|
|
150
|
-
<hr/>
|
|
151
|
-
|
|
152
152
|
## class: `AnchorTabs`
|
|
153
153
|
|
|
154
154
|
### Superclass
|
|
@@ -2,5 +2,14 @@ import { css } from '@ni/fast-element';
|
|
|
2
2
|
import { display } from '../utilities/style/display';
|
|
3
3
|
export const styles = css `
|
|
4
4
|
${display('contents')}
|
|
5
|
+
|
|
6
|
+
:host {
|
|
7
|
+
color-scheme: light;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:host([theme='dark']),
|
|
11
|
+
:host([theme='color']) {
|
|
12
|
+
color-scheme: dark;
|
|
13
|
+
}
|
|
5
14
|
`;
|
|
6
15
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/theme-provider/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/theme-provider/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,UAAU,CAAC;;;;;;;;;;CAUxB,CAAC","sourcesContent":["import { css } from '@ni/fast-element';\nimport { display } from '../utilities/style/display';\n\nexport const styles = css`\n ${display('contents')}\n\n :host {\n color-scheme: light;\n }\n\n :host([theme='dark']),\n :host([theme='color']) {\n color-scheme: dark;\n }\n`;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-components",
|
|
3
|
-
"version": "35.9.
|
|
3
|
+
"version": "35.9.1",
|
|
4
4
|
"description": "Styled web components for the NI Nimble Design System",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run build:icons && npm run build:workers && npm run build:components && npm run build:scss && npm run build:cem",
|