@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.
- package/dist/all-components-bundle.js +65 -3
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +6076 -6073
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +677 -0
- package/dist/custom-elements.md +136 -0
- package/package.json +11 -4
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
## class: `Rectangle`
|
|
2
|
+
|
|
3
|
+
### Superclass
|
|
4
|
+
|
|
5
|
+
| Name | Module | Package |
|
|
6
|
+
| ------------------- | ------ | ------------------- |
|
|
7
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
8
|
+
|
|
9
|
+
<hr/>
|
|
10
|
+
|
|
11
|
+
## class: `ChatConversation`
|
|
12
|
+
|
|
13
|
+
### Superclass
|
|
14
|
+
|
|
15
|
+
| Name | Module | Package |
|
|
16
|
+
| ------------------- | ------ | ------------------- |
|
|
17
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
18
|
+
|
|
19
|
+
### Fields
|
|
20
|
+
|
|
21
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
22
|
+
| ------------ | ------- | ---- | ------- | ----------- | -------------- |
|
|
23
|
+
| `appearance` | public | | | | |
|
|
24
|
+
|
|
25
|
+
### Methods
|
|
26
|
+
|
|
27
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
28
|
+
| ------------------------------- | ------- | ----------- | --------------------------------------------------------------------- | ------ | -------------- |
|
|
29
|
+
| `slottedInputElementsChanged` | public | | `_prev: HTMLElement[] \| undefined, next: HTMLElement[] \| undefined` | `void` | |
|
|
30
|
+
| `slottedToolbarElementsChanged` | public | | `_prev: HTMLElement[] \| undefined, next: HTMLElement[] \| undefined` | `void` | |
|
|
31
|
+
|
|
32
|
+
### Attributes
|
|
33
|
+
|
|
34
|
+
| Name | Field | Inherited From |
|
|
35
|
+
| ------------ | ---------- | -------------- |
|
|
36
|
+
| `appearance` | appearance | |
|
|
37
|
+
|
|
38
|
+
<hr/>
|
|
39
|
+
|
|
40
|
+
## class: `ChatInput`
|
|
41
|
+
|
|
42
|
+
### Superclass
|
|
43
|
+
|
|
44
|
+
| Name | Module | Package |
|
|
45
|
+
| ------------------- | ------ | ------------------- |
|
|
46
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
47
|
+
|
|
48
|
+
### Fields
|
|
49
|
+
|
|
50
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
51
|
+
| ----------------- | ------- | --------------------- | ------- | ----------- | -------------- |
|
|
52
|
+
| `placeholder` | public | `string \| undefined` | | | |
|
|
53
|
+
| `sendButtonLabel` | public | `string \| undefined` | | | |
|
|
54
|
+
| `stopButtonLabel` | public | `string \| undefined` | | | |
|
|
55
|
+
| `value` | public | `string` | `''` | | |
|
|
56
|
+
| `tabIndex` | public | `number` | | | |
|
|
57
|
+
| `maxLength` | public | `number \| undefined` | `-1` | | |
|
|
58
|
+
| `processing` | public | `boolean` | `false` | | |
|
|
59
|
+
|
|
60
|
+
### Attributes
|
|
61
|
+
|
|
62
|
+
| Name | Field | Inherited From |
|
|
63
|
+
| ------------------- | --------------- | -------------- |
|
|
64
|
+
| `placeholder` | placeholder | |
|
|
65
|
+
| `send-button-label` | sendButtonLabel | |
|
|
66
|
+
| `stop-button-label` | stopButtonLabel | |
|
|
67
|
+
| `value` | value | |
|
|
68
|
+
| `tabindex` | tabIndex | |
|
|
69
|
+
| `maxlength` | maxLength | |
|
|
70
|
+
| `processing` | processing | |
|
|
71
|
+
|
|
72
|
+
<hr/>
|
|
73
|
+
|
|
74
|
+
## class: `ChatMessage`
|
|
75
|
+
|
|
76
|
+
### Superclass
|
|
77
|
+
|
|
78
|
+
| Name | Module | Package |
|
|
79
|
+
| ------------------- | ------ | ------------------- |
|
|
80
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
81
|
+
|
|
82
|
+
### Fields
|
|
83
|
+
|
|
84
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
85
|
+
| ------------- | ------- | ----------------- | ------- | ----------- | -------------- |
|
|
86
|
+
| `messageType` | public | `ChatMessageType` | | | |
|
|
87
|
+
|
|
88
|
+
### Methods
|
|
89
|
+
|
|
90
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
91
|
+
| ------------------------------------- | ------- | ----------- | --------------------------------------------------------------------- | ------ | -------------- |
|
|
92
|
+
| `slottedFooterActionsElementsChanged` | public | | `_prev: HTMLElement[] \| undefined, next: HTMLElement[] \| undefined` | `void` | |
|
|
93
|
+
|
|
94
|
+
### Attributes
|
|
95
|
+
|
|
96
|
+
| Name | Field | Inherited From |
|
|
97
|
+
| -------------- | ----------- | -------------- |
|
|
98
|
+
| `message-type` | messageType | |
|
|
99
|
+
|
|
100
|
+
<hr/>
|
|
101
|
+
|
|
102
|
+
## class: `ChatMessageInbound`
|
|
103
|
+
|
|
104
|
+
### Superclass
|
|
105
|
+
|
|
106
|
+
| Name | Module | Package |
|
|
107
|
+
| ------------------- | ------ | ------------------- |
|
|
108
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
109
|
+
|
|
110
|
+
### Methods
|
|
111
|
+
|
|
112
|
+
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
113
|
+
| ------------------------------------- | ------- | ----------- | --------------------------------------------------------------------- | ------ | -------------- |
|
|
114
|
+
| `slottedFooterActionsElementsChanged` | public | | `_prev: HTMLElement[] \| undefined, next: HTMLElement[] \| undefined` | `void` | |
|
|
115
|
+
|
|
116
|
+
<hr/>
|
|
117
|
+
|
|
118
|
+
## class: `ChatMessageOutbound`
|
|
119
|
+
|
|
120
|
+
### Superclass
|
|
121
|
+
|
|
122
|
+
| Name | Module | Package |
|
|
123
|
+
| ------------------- | ------ | ------------------- |
|
|
124
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
125
|
+
|
|
126
|
+
<hr/>
|
|
127
|
+
|
|
128
|
+
## class: `ChatMessageSystem`
|
|
129
|
+
|
|
130
|
+
### Superclass
|
|
131
|
+
|
|
132
|
+
| Name | Module | Package |
|
|
133
|
+
| ------------------- | ------ | ------------------- |
|
|
134
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
135
|
+
|
|
136
|
+
<hr/>
|
package/package.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/spright-components",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.2",
|
|
4
4
|
"description": "NI Spright Components",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "
|
|
6
|
+
"build": "npm run build:components && npm run build:cem",
|
|
7
7
|
"build-bundle": "rollup --config",
|
|
8
8
|
"lint": "eslint .",
|
|
9
9
|
"format": "eslint . --fix",
|
|
10
10
|
"pack": "npm pack",
|
|
11
11
|
"invoke-publish": "npm publish",
|
|
12
|
+
"build:components": "tsc -p ./tsconfig.json",
|
|
13
|
+
"build:cem": "npm run build:cem:config && npm run build:cem:markdown",
|
|
14
|
+
"build:cem:config": "cem analyze --config ./custom-elements-manifest.config.mjs",
|
|
15
|
+
"build:cem:markdown": "node build/generate-markdown.mjs",
|
|
12
16
|
"test-chrome-debugger": "karma start karma.conf.cjs --browsers=ChromeDebugging --skip-tags SkipChrome",
|
|
13
17
|
"test-chrome": "karma start karma.conf.headless.cjs --browsers=ChromeHeadlessOpt --single-run --skip-tags SkipChrome",
|
|
14
18
|
"test-firefox-debugger": "karma start karma.conf.cjs --browsers=FirefoxDebugging --skip-tags SkipFirefox",
|
|
@@ -33,14 +37,17 @@
|
|
|
33
37
|
"url": "https://github.com/ni/nimble/issues"
|
|
34
38
|
},
|
|
35
39
|
"homepage": "https://github.com/ni/nimble#readme",
|
|
40
|
+
"customElements": "dist/custom-elements.json",
|
|
36
41
|
"dependencies": {
|
|
37
42
|
"@ni/fast-element": "^10.1.0",
|
|
38
|
-
"@ni/fast-foundation": "^10.1
|
|
43
|
+
"@ni/fast-foundation": "^10.2.1",
|
|
39
44
|
"@ni/fast-web-utilities": "^10.0.0",
|
|
40
|
-
"@ni/nimble-components": "^35.3.
|
|
45
|
+
"@ni/nimble-components": "^35.3.2",
|
|
41
46
|
"tslib": "^2.2.0"
|
|
42
47
|
},
|
|
43
48
|
"devDependencies": {
|
|
49
|
+
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
50
|
+
"@custom-elements-manifest/to-markdown": "^0.1.0",
|
|
44
51
|
"@ni-private/eslint-config-nimble": "*",
|
|
45
52
|
"@ni-private/jasmine-extensions": "^0.0.1",
|
|
46
53
|
"@ni/jasmine-parameterized": "^1.0.9",
|