@ncino/web-components 2.2.0-preview.7 → 3.0.0-preview.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/components/accordion/gator/base/accordion.gator.js +1 -1
- package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +1 -1
- package/dist/components/banner/index.js +1 -1
- package/dist/components/boolean/boolean.gator.js +1 -1
- package/dist/components/boolean/index.js +1 -1
- package/dist/components/checkbox/checkbox.gator.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.gator.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/date-picker/base/gator/datepicker.gator.js +1 -1
- package/dist/components/display-card/gator/display-card.gator.js +1 -1
- package/dist/components/display-card/index.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
- package/dist/components/headline-card/index.js +1 -1
- package/dist/components/icon/gator/icon.gator.js +1 -1
- package/dist/components/icon/gator/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/input/base/input-base.gator.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +27 -12
- package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
- package/dist/components/input/gator/input-currency/input-currency.gator.js +1 -1
- package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
- package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +19 -0
- package/dist/components/input/gator/input-file/input-file.gator.js +59 -0
- package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
- package/dist/components/input/gator/input-percent/input-percent.gator.js +1 -1
- package/dist/components/input/gator/input-phone/input-phone.gator.js +1 -1
- package/dist/components/input/gator/input-text/input-text.gator.js +2 -2
- package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
- package/dist/components/input/index.gator.js +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/list/gator/list/index.js +1 -1
- package/dist/components/list/gator/list/list.gator.js +3 -2
- package/dist/components/list/gator/list-item/index.js +1 -1
- package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/modal/gator/modal.gator.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/progress-bar/gator/progress-bar.gator.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/radio.gator.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.gator.js +1 -1
- package/dist/components/selection-box/index.js +1 -1
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selection-box-group/index.js +1 -1
- package/dist/components/selection-box-group/selection-box-group.gator.js +1 -1
- package/dist/components/table/gator/table.gator.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/text-link/gator/text-link.gator.js +1 -1
- package/dist/components/text-link/index.js +1 -1
- package/dist/components/toast/gator/base/toast.gator.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.slds.js +1 -1
- package/dist/types/components/icon/gator/icon.gator.d.ts +7 -2
- package/dist/types/components/input/base/input-base.d.ts +1 -1
- package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +16 -2
- package/dist/types/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.d.ts +12 -0
- package/dist/types/components/input/gator/input-file/input-file.gator.d.ts +43 -0
- package/dist/types/components/input/gator/input-file/input-file.gator.test.d.ts +0 -0
- package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +1 -1
- package/dist/types/components/input/index.gator.d.ts +2 -0
- package/dist/types/utils/components/ngc-component.d.ts +4 -0
- package/dist/types/utils/components/slot-placeholder/slot-placeholder.d.ts +1 -0
- package/dist/utils/components/ngc-component.js +1 -0
- package/dist/utils/components/slot-placeholder/index.js +1 -1
- package/dist/utils/components/slot-placeholder/slot-placeholder.js +5 -2
- package/package.json +2 -1
- package/web-types.json +280 -95
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as d,x as m}from"../../../assets/index-chunk2.js";import{t as n}from"../../../assets/index-chunk3.js";import{n as f}from"../../../assets/index-chunk.js";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=(i,r,o,t)=>{for(var e=t>1?void 0:t?v(r,o):r,s=i.length-1,l;s>=0;s--)(l=i[s])&&(e=(t?l(r,o,e):l(e))||e);return t&&e&&u(r,o,e),e};let a=class extends d{constructor(){super(...arguments),this.slotName=""}render(){return m`
|
|
2
2
|
<div style="border: 1px dashed #C3A786; border-radius: 0.5rem; padding: 1rem">
|
|
3
3
|
Swap this with your design
|
|
4
|
+
<div style="font-size: 0.8rem;">
|
|
5
|
+
Slot Name : ${this.slotName}
|
|
6
|
+
</div>
|
|
4
7
|
</div>
|
|
5
|
-
`}};p=
|
|
8
|
+
`}};p([f({attribute:"slot-name"})],a.prototype,"slotName",2);a=p([n("slot-placeholder")],a);export{a as S};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0-preview.1",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"test:coverage": "vitest --coverage.enabled true"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
+
"@deltablot/dropzone": "^7.2.0",
|
|
62
63
|
"@floating-ui/dom": "^1.6.13",
|
|
63
64
|
"ckeditor5": "^44.2.1",
|
|
64
65
|
"libphonenumber-js": "^1.11.20",
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ncino/web-components",
|
|
4
|
-
"version": "2.2.0-preview.
|
|
4
|
+
"version": "2.2.0-preview.8",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -18,7 +18,15 @@
|
|
|
18
18
|
"value": { "type": "string", "default": "''" }
|
|
19
19
|
},
|
|
20
20
|
{ "name": "width", "value": { "type": "string | undefined" } },
|
|
21
|
-
{ "name": "height", "value": { "type": "string | undefined" } }
|
|
21
|
+
{ "name": "height", "value": { "type": "string | undefined" } },
|
|
22
|
+
{
|
|
23
|
+
"name": "background",
|
|
24
|
+
"value": { "type": "boolean", "default": "false" }
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "data-testid",
|
|
28
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
29
|
+
}
|
|
22
30
|
],
|
|
23
31
|
"events": [],
|
|
24
32
|
"js": {
|
|
@@ -31,7 +39,12 @@
|
|
|
31
39
|
},
|
|
32
40
|
{ "name": "width", "type": "string | undefined" },
|
|
33
41
|
{ "name": "height", "type": "string | undefined" },
|
|
34
|
-
{ "name": "
|
|
42
|
+
{ "name": "background", "type": "boolean" },
|
|
43
|
+
{ "name": "_svg", "type": "SVGElement | null | undefined" },
|
|
44
|
+
{ "name": "dataTestid", "type": "string | undefined" },
|
|
45
|
+
{ "name": "labelDataTestid" },
|
|
46
|
+
{ "name": "helpTextDataTestid" },
|
|
47
|
+
{ "name": "errorMessageDataTestid" }
|
|
35
48
|
],
|
|
36
49
|
"events": []
|
|
37
50
|
}
|
|
@@ -2060,6 +2073,10 @@
|
|
|
2060
2073
|
"name": "aria-labelledby",
|
|
2061
2074
|
"value": { "type": "string", "default": "''" }
|
|
2062
2075
|
},
|
|
2076
|
+
{
|
|
2077
|
+
"name": "aria-describedby",
|
|
2078
|
+
"value": { "type": "string | undefined" }
|
|
2079
|
+
},
|
|
2063
2080
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
2064
2081
|
{
|
|
2065
2082
|
"name": "faux-focus",
|
|
@@ -2081,6 +2098,7 @@
|
|
|
2081
2098
|
{ "name": "selectable", "type": "boolean" },
|
|
2082
2099
|
{ "name": "multiselect", "type": "boolean" },
|
|
2083
2100
|
{ "name": "ariaLabelledBy", "type": "string" },
|
|
2101
|
+
{ "name": "ariaDescribedby", "type": "string | undefined" },
|
|
2084
2102
|
{ "name": "title", "type": "string" },
|
|
2085
2103
|
{ "name": "fauxFocus", "type": "boolean" },
|
|
2086
2104
|
{ "name": "_selectedListItem", "type": "null" },
|
|
@@ -2097,9 +2115,143 @@
|
|
|
2097
2115
|
}
|
|
2098
2116
|
},
|
|
2099
2117
|
{
|
|
2100
|
-
"name": "
|
|
2118
|
+
"name": "nsc-icon",
|
|
2101
2119
|
"description": "\n---\n",
|
|
2102
2120
|
"doc-url": "",
|
|
2121
|
+
"attributes": [
|
|
2122
|
+
{
|
|
2123
|
+
"name": "name",
|
|
2124
|
+
"value": { "type": "string | null", "default": "null" }
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "type",
|
|
2128
|
+
"value": {
|
|
2129
|
+
"type": "'standard' | 'utility' | 'doctype' | 'action' | 'custom'",
|
|
2130
|
+
"default": "'utility'"
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"name": "size",
|
|
2135
|
+
"value": {
|
|
2136
|
+
"type": "'xx-small' | 'x-small' | 'small' | 'large'",
|
|
2137
|
+
"default": "'small'"
|
|
2138
|
+
}
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"name": "icon-title",
|
|
2142
|
+
"value": { "type": "string | null", "default": "null" }
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"name": "variant",
|
|
2146
|
+
"value": {
|
|
2147
|
+
"type": "'success' | 'warning' | 'error' | 'light' | 'bare'",
|
|
2148
|
+
"default": "'bare'"
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"name": "svg-classes",
|
|
2153
|
+
"value": { "type": "string", "default": "''" }
|
|
2154
|
+
},
|
|
2155
|
+
{ "name": "fill", "value": { "type": "string", "default": "''" } }
|
|
2156
|
+
],
|
|
2157
|
+
"events": [],
|
|
2158
|
+
"js": {
|
|
2159
|
+
"properties": [
|
|
2160
|
+
{ "name": "iconPath" },
|
|
2161
|
+
{ "name": "iconSize" },
|
|
2162
|
+
{ "name": "iconVariant" },
|
|
2163
|
+
{ "name": "name", "type": "string | null" },
|
|
2164
|
+
{
|
|
2165
|
+
"name": "type",
|
|
2166
|
+
"type": "'standard' | 'utility' | 'doctype' | 'action' | 'custom'"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"name": "size",
|
|
2170
|
+
"type": "'xx-small' | 'x-small' | 'small' | 'large'"
|
|
2171
|
+
},
|
|
2172
|
+
{ "name": "iconTitle", "type": "string | null" },
|
|
2173
|
+
{
|
|
2174
|
+
"name": "variant",
|
|
2175
|
+
"type": "'success' | 'warning' | 'error' | 'light' | 'bare'"
|
|
2176
|
+
},
|
|
2177
|
+
{ "name": "svgClasses", "type": "string" },
|
|
2178
|
+
{ "name": "fill", "type": "string" }
|
|
2179
|
+
],
|
|
2180
|
+
"events": []
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"name": "ngc-icon-button",
|
|
2185
|
+
"description": "\n---\n\n\n### **Events:**\n - **click**",
|
|
2186
|
+
"doc-url": "",
|
|
2187
|
+
"attributes": [
|
|
2188
|
+
{
|
|
2189
|
+
"name": "size",
|
|
2190
|
+
"value": {
|
|
2191
|
+
"type": " | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'",
|
|
2192
|
+
"default": "'small'"
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"name": "aria-label",
|
|
2197
|
+
"value": { "type": "string", "default": "''" }
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"name": "loading-aria-label",
|
|
2201
|
+
"value": { "type": "string", "default": "'Loading'" }
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"name": "icon-name",
|
|
2205
|
+
"value": { "type": "string", "default": "''" }
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"name": "disabled",
|
|
2209
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"name": "loading",
|
|
2213
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
"name": "skeleton",
|
|
2217
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"name": "data-testid",
|
|
2221
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2222
|
+
}
|
|
2223
|
+
],
|
|
2224
|
+
"events": [{ "name": "click", "type": "CustomEvent" }],
|
|
2225
|
+
"js": {
|
|
2226
|
+
"properties": [
|
|
2227
|
+
{ "name": "buttonAriaLabel" },
|
|
2228
|
+
{ "name": "sizeClass" },
|
|
2229
|
+
{ "name": "loadingClass" },
|
|
2230
|
+
{ "name": "pxSize" },
|
|
2231
|
+
{ "name": "skeletonMarkup" },
|
|
2232
|
+
{ "name": "loadingMarkup" },
|
|
2233
|
+
{
|
|
2234
|
+
"name": "size",
|
|
2235
|
+
"type": " | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge'"
|
|
2236
|
+
},
|
|
2237
|
+
{ "name": "ariaLabel", "type": "string" },
|
|
2238
|
+
{ "name": "loadingAriaLabel", "type": "string" },
|
|
2239
|
+
{ "name": "iconName", "type": "string" },
|
|
2240
|
+
{ "name": "disabled", "type": "boolean" },
|
|
2241
|
+
{ "name": "loading", "type": "boolean" },
|
|
2242
|
+
{ "name": "skeleton", "type": "boolean" },
|
|
2243
|
+
{ "name": "dataTestid", "type": "string | undefined" },
|
|
2244
|
+
{ "name": "labelDataTestid" },
|
|
2245
|
+
{ "name": "helpTextDataTestid" },
|
|
2246
|
+
{ "name": "errorMessageDataTestid" }
|
|
2247
|
+
],
|
|
2248
|
+
"events": [{ "name": "click", "type": "CustomEvent" }]
|
|
2249
|
+
}
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"name": "ngc-input-dropdown",
|
|
2253
|
+
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
2254
|
+
"doc-url": "",
|
|
2103
2255
|
"attributes": [
|
|
2104
2256
|
{
|
|
2105
2257
|
"name": "options",
|
|
@@ -2119,6 +2271,10 @@
|
|
|
2119
2271
|
"name": "value-displayed",
|
|
2120
2272
|
"value": { "type": "boolean", "default": "false" }
|
|
2121
2273
|
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "max-autocomplete-results",
|
|
2276
|
+
"value": { "type": "number | undefined", "default": "250" }
|
|
2277
|
+
},
|
|
2122
2278
|
{ "name": "id", "value": { "type": "string", "default": "''" } },
|
|
2123
2279
|
{
|
|
2124
2280
|
"name": "required",
|
|
@@ -2170,7 +2326,7 @@
|
|
|
2170
2326
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2171
2327
|
}
|
|
2172
2328
|
],
|
|
2173
|
-
"events": [],
|
|
2329
|
+
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
2174
2330
|
"js": {
|
|
2175
2331
|
"properties": [
|
|
2176
2332
|
{ "name": "options", "type": "NgcDropdownType[]" },
|
|
@@ -2179,22 +2335,33 @@
|
|
|
2179
2335
|
{ "name": "countryCode", "type": "string | undefined" },
|
|
2180
2336
|
{ "name": "listWidth", "type": "string | undefined" },
|
|
2181
2337
|
{ "name": "valueDisplayed", "type": "boolean" },
|
|
2338
|
+
{
|
|
2339
|
+
"name": "maxAutocompleteResults",
|
|
2340
|
+
"type": "number | undefined"
|
|
2341
|
+
},
|
|
2182
2342
|
{ "name": "_cleanup", "type": "(() => void) | undefined" },
|
|
2183
2343
|
{ "name": "_expanded", "type": "boolean" },
|
|
2184
2344
|
{ "name": "_searchValue", "type": "string" },
|
|
2185
2345
|
{ "name": "listboxRef", "type": "Ref<HTMLDivElement>" },
|
|
2186
2346
|
{ "name": "listRef", "type": "Ref<HTMLElement>" },
|
|
2187
2347
|
{ "name": "inputRef", "type": "Ref<HTMLInputElement>" },
|
|
2348
|
+
{ "name": "noResultsMessage", "type": "string" },
|
|
2188
2349
|
{ "name": "fauxInputMarkup" },
|
|
2189
2350
|
{ "name": "displayedValue" },
|
|
2190
2351
|
{ "name": "showPlaceholder" },
|
|
2191
2352
|
{ "name": "replacedActiveDescendant" },
|
|
2192
2353
|
{ "name": "listboxMarkup" },
|
|
2354
|
+
{ "name": "listboxMessageMarkup" },
|
|
2355
|
+
{ "name": "resultsExceedMaxMessage" },
|
|
2193
2356
|
{ "name": "displayedOptions" },
|
|
2357
|
+
{ "name": "filteredOptions" },
|
|
2358
|
+
{ "name": "limitedOptions" },
|
|
2359
|
+
{ "name": "resultsExceedMax" },
|
|
2194
2360
|
{ "name": "errorClass" },
|
|
2195
2361
|
{ "name": "disabledClass" },
|
|
2196
2362
|
{ "name": "labelMarkup" },
|
|
2197
2363
|
{ "name": "endIconMarkup" },
|
|
2364
|
+
{ "name": "clearIconButtonMarkup" },
|
|
2198
2365
|
{ "name": "controlRef", "type": "Ref<HTMLDivElement>" },
|
|
2199
2366
|
{ "name": "shouldHaveStartMarkup" },
|
|
2200
2367
|
{ "name": "shouldHaveEndMarkup" },
|
|
@@ -2220,7 +2387,7 @@
|
|
|
2220
2387
|
{ "name": "helpTextDataTestid" },
|
|
2221
2388
|
{ "name": "errorMessageDataTestid" }
|
|
2222
2389
|
],
|
|
2223
|
-
"events": []
|
|
2390
|
+
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
2224
2391
|
}
|
|
2225
2392
|
},
|
|
2226
2393
|
{
|
|
@@ -2318,137 +2485,147 @@
|
|
|
2318
2485
|
}
|
|
2319
2486
|
},
|
|
2320
2487
|
{
|
|
2321
|
-
"name": "
|
|
2488
|
+
"name": "ngc-file-upload-preview",
|
|
2322
2489
|
"description": "\n---\n",
|
|
2323
2490
|
"doc-url": "",
|
|
2324
2491
|
"attributes": [
|
|
2492
|
+
{ "name": "value", "value": { "type": "File[]", "default": "[]" } },
|
|
2325
2493
|
{
|
|
2326
|
-
"name": "
|
|
2327
|
-
"value": { "type": "string |
|
|
2328
|
-
}
|
|
2329
|
-
{
|
|
2330
|
-
"name": "type",
|
|
2331
|
-
"value": {
|
|
2332
|
-
"type": "'standard' | 'utility' | 'doctype' | 'action' | 'custom'",
|
|
2333
|
-
"default": "'utility'"
|
|
2334
|
-
}
|
|
2335
|
-
},
|
|
2336
|
-
{
|
|
2337
|
-
"name": "size",
|
|
2338
|
-
"value": {
|
|
2339
|
-
"type": "'xx-small' | 'x-small' | 'small' | 'large'",
|
|
2340
|
-
"default": "'small'"
|
|
2341
|
-
}
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "icon-title",
|
|
2345
|
-
"value": { "type": "string | null", "default": "null" }
|
|
2346
|
-
},
|
|
2347
|
-
{
|
|
2348
|
-
"name": "variant",
|
|
2349
|
-
"value": {
|
|
2350
|
-
"type": "'success' | 'warning' | 'error' | 'light' | 'bare'",
|
|
2351
|
-
"default": "'bare'"
|
|
2352
|
-
}
|
|
2353
|
-
},
|
|
2354
|
-
{
|
|
2355
|
-
"name": "svg-classes",
|
|
2356
|
-
"value": { "type": "string", "default": "''" }
|
|
2357
|
-
},
|
|
2358
|
-
{ "name": "fill", "value": { "type": "string", "default": "''" } }
|
|
2494
|
+
"name": "data-testid",
|
|
2495
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2496
|
+
}
|
|
2359
2497
|
],
|
|
2360
2498
|
"events": [],
|
|
2361
2499
|
"js": {
|
|
2362
2500
|
"properties": [
|
|
2363
|
-
{ "name": "
|
|
2364
|
-
{ "name": "
|
|
2365
|
-
{ "name": "
|
|
2366
|
-
{ "name": "
|
|
2367
|
-
{
|
|
2368
|
-
|
|
2369
|
-
"type": "'standard' | 'utility' | 'doctype' | 'action' | 'custom'"
|
|
2370
|
-
},
|
|
2371
|
-
{
|
|
2372
|
-
"name": "size",
|
|
2373
|
-
"type": "'xx-small' | 'x-small' | 'small' | 'large'"
|
|
2374
|
-
},
|
|
2375
|
-
{ "name": "iconTitle", "type": "string | null" },
|
|
2376
|
-
{
|
|
2377
|
-
"name": "variant",
|
|
2378
|
-
"type": "'success' | 'warning' | 'error' | 'light' | 'bare'"
|
|
2379
|
-
},
|
|
2380
|
-
{ "name": "svgClasses", "type": "string" },
|
|
2381
|
-
{ "name": "fill", "type": "string" }
|
|
2501
|
+
{ "name": "value", "type": "File[]" },
|
|
2502
|
+
{ "name": "contentText" },
|
|
2503
|
+
{ "name": "dataTestid", "type": "string | undefined" },
|
|
2504
|
+
{ "name": "labelDataTestid" },
|
|
2505
|
+
{ "name": "helpTextDataTestid" },
|
|
2506
|
+
{ "name": "errorMessageDataTestid" }
|
|
2382
2507
|
],
|
|
2383
2508
|
"events": []
|
|
2384
2509
|
}
|
|
2385
2510
|
},
|
|
2386
2511
|
{
|
|
2387
|
-
"name": "ngc-
|
|
2388
|
-
"description": "\n---\n\n\n### **Events:**\n - **
|
|
2512
|
+
"name": "ngc-input-file",
|
|
2513
|
+
"description": "\n---\n\n\n### **Events:**\n - **change**",
|
|
2389
2514
|
"doc-url": "",
|
|
2390
2515
|
"attributes": [
|
|
2391
2516
|
{
|
|
2392
|
-
"name": "
|
|
2517
|
+
"name": "value",
|
|
2393
2518
|
"value": {
|
|
2394
|
-
"type": " |
|
|
2395
|
-
"default": "
|
|
2519
|
+
"type": "string | number | undefined | null",
|
|
2520
|
+
"default": "[]"
|
|
2396
2521
|
}
|
|
2397
2522
|
},
|
|
2398
2523
|
{
|
|
2399
|
-
"name": "
|
|
2400
|
-
"value": { "type": "string", "default": "
|
|
2524
|
+
"name": "accept",
|
|
2525
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2401
2526
|
},
|
|
2402
2527
|
{
|
|
2403
|
-
"name": "
|
|
2404
|
-
"value": { "type": "string", "default": "'
|
|
2528
|
+
"name": "state",
|
|
2529
|
+
"value": { "type": "string", "default": "'default'" }
|
|
2405
2530
|
},
|
|
2406
2531
|
{
|
|
2407
|
-
"name": "
|
|
2408
|
-
"value": { "type": "string", "default": "''" }
|
|
2532
|
+
"name": "size",
|
|
2533
|
+
"value": { "type": "string", "default": "'default'" }
|
|
2409
2534
|
},
|
|
2535
|
+
{ "name": "id", "value": { "type": "string", "default": "''" } },
|
|
2410
2536
|
{
|
|
2411
|
-
"name": "
|
|
2537
|
+
"name": "required",
|
|
2412
2538
|
"value": { "type": "boolean", "default": "false" }
|
|
2413
2539
|
},
|
|
2414
2540
|
{
|
|
2415
|
-
"name": "
|
|
2541
|
+
"name": "disabled",
|
|
2416
2542
|
"value": { "type": "boolean", "default": "false" }
|
|
2417
2543
|
},
|
|
2544
|
+
{ "name": "label", "value": { "type": "string", "default": "''" } },
|
|
2418
2545
|
{
|
|
2419
|
-
"name": "
|
|
2420
|
-
"value": { "type": "
|
|
2546
|
+
"name": "aria-description",
|
|
2547
|
+
"value": { "type": "string | null", "default": "null" }
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"name": "placeholder",
|
|
2551
|
+
"value": { "type": "string", "default": "''" }
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"name": "error-text",
|
|
2555
|
+
"value": { "type": "string", "default": "''" }
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"name": "help-text",
|
|
2559
|
+
"value": { "type": "string", "default": "''" }
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"name": "type",
|
|
2563
|
+
"value": { "type": "string", "default": "'text'" }
|
|
2564
|
+
},
|
|
2565
|
+
{
|
|
2566
|
+
"name": "start-icon",
|
|
2567
|
+
"value": { "type": "string", "default": "''" }
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"name": "end-icon",
|
|
2571
|
+
"value": { "type": "string", "default": "''" }
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"name": "max-length",
|
|
2575
|
+
"value": { "type": "string", "default": "undefined" }
|
|
2421
2576
|
},
|
|
2422
2577
|
{
|
|
2423
2578
|
"name": "data-testid",
|
|
2424
2579
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2425
2580
|
}
|
|
2426
2581
|
],
|
|
2427
|
-
"events": [{ "name": "
|
|
2582
|
+
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
2428
2583
|
"js": {
|
|
2429
2584
|
"properties": [
|
|
2430
|
-
{ "name": "
|
|
2431
|
-
{ "name": "
|
|
2432
|
-
{ "name": "
|
|
2433
|
-
{ "name": "
|
|
2434
|
-
{ "name": "
|
|
2435
|
-
{ "name": "loadingMarkup" },
|
|
2585
|
+
{ "name": "value", "type": "string | number | undefined | null" },
|
|
2586
|
+
{ "name": "accept", "type": "string | undefined" },
|
|
2587
|
+
{ "name": "state", "type": "string" },
|
|
2588
|
+
{ "name": "size", "type": "string" },
|
|
2589
|
+
{ "name": "dropzoneRef", "type": "Ref<HTMLDivElement>" },
|
|
2436
2590
|
{
|
|
2437
|
-
"name": "
|
|
2438
|
-
"type": "
|
|
2591
|
+
"name": "hiddenInputContainerRef",
|
|
2592
|
+
"type": "Ref<HTMLDivElement>"
|
|
2439
2593
|
},
|
|
2440
|
-
{ "name": "
|
|
2441
|
-
{ "name": "
|
|
2442
|
-
{ "name": "
|
|
2594
|
+
{ "name": "previewRef", "type": "Ref<NgcFileUploadPreview>" },
|
|
2595
|
+
{ "name": "_loadedDropzone", "type": "boolean" },
|
|
2596
|
+
{ "name": "_uploadFailed", "type": "boolean" },
|
|
2597
|
+
{ "name": "sizeClass" },
|
|
2598
|
+
{ "name": "errorClass" },
|
|
2599
|
+
{ "name": "errorTextMarkup" },
|
|
2600
|
+
{ "name": "hasError" },
|
|
2601
|
+
{ "name": "displayedAcceptsString" },
|
|
2602
|
+
{ "name": "inputElement" },
|
|
2603
|
+
{ "name": "controlRef", "type": "Ref<HTMLDivElement>" },
|
|
2604
|
+
{ "name": "shouldHaveStartMarkup" },
|
|
2605
|
+
{ "name": "shouldHaveEndMarkup" },
|
|
2606
|
+
{ "name": "startIconMarkup" },
|
|
2607
|
+
{ "name": "endIconMarkup" },
|
|
2608
|
+
{ "name": "labelMarkup" },
|
|
2609
|
+
{ "name": "helpTextMarkup" },
|
|
2610
|
+
{ "name": "bottomText" },
|
|
2611
|
+
{ "name": "id", "type": "string" },
|
|
2612
|
+
{ "name": "required", "type": "boolean" },
|
|
2443
2613
|
{ "name": "disabled", "type": "boolean" },
|
|
2444
|
-
{ "name": "
|
|
2445
|
-
{ "name": "
|
|
2614
|
+
{ "name": "label", "type": "string" },
|
|
2615
|
+
{ "name": "ariaDescription", "type": "string | null" },
|
|
2616
|
+
{ "name": "placeholder", "type": "string" },
|
|
2617
|
+
{ "name": "errorText", "type": "string" },
|
|
2618
|
+
{ "name": "helpText", "type": "string" },
|
|
2619
|
+
{ "name": "type", "type": "string" },
|
|
2620
|
+
{ "name": "startIcon", "type": "string" },
|
|
2621
|
+
{ "name": "endIcon", "type": "string" },
|
|
2622
|
+
{ "name": "maxLength", "type": "string" },
|
|
2446
2623
|
{ "name": "dataTestid", "type": "string | undefined" },
|
|
2447
2624
|
{ "name": "labelDataTestid" },
|
|
2448
2625
|
{ "name": "helpTextDataTestid" },
|
|
2449
2626
|
{ "name": "errorMessageDataTestid" }
|
|
2450
2627
|
],
|
|
2451
|
-
"events": [{ "name": "
|
|
2628
|
+
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
2452
2629
|
}
|
|
2453
2630
|
},
|
|
2454
2631
|
{
|
|
@@ -3811,16 +3988,24 @@
|
|
|
3811
3988
|
"js": { "properties": [], "events": [] }
|
|
3812
3989
|
},
|
|
3813
3990
|
{
|
|
3814
|
-
"name": "
|
|
3815
|
-
"description": "
|
|
3991
|
+
"name": "slot-placeholder",
|
|
3992
|
+
"description": "\n---\n",
|
|
3816
3993
|
"doc-url": "",
|
|
3817
|
-
"attributes": [
|
|
3994
|
+
"attributes": [
|
|
3995
|
+
{
|
|
3996
|
+
"name": "slot-name",
|
|
3997
|
+
"value": { "type": "string", "default": "''" }
|
|
3998
|
+
}
|
|
3999
|
+
],
|
|
3818
4000
|
"events": [],
|
|
3819
|
-
"js": {
|
|
4001
|
+
"js": {
|
|
4002
|
+
"properties": [{ "name": "slotName", "type": "string" }],
|
|
4003
|
+
"events": []
|
|
4004
|
+
}
|
|
3820
4005
|
},
|
|
3821
4006
|
{
|
|
3822
|
-
"name": "
|
|
3823
|
-
"description": "\n---\n",
|
|
4007
|
+
"name": "ngc-illustration-list",
|
|
4008
|
+
"description": "An element that renders all of the illustrations in the illustration registry.\nThis component is not distributed as part of the library, but is useful for\ndevelopment and testing.\n---\n",
|
|
3824
4009
|
"doc-url": "",
|
|
3825
4010
|
"attributes": [],
|
|
3826
4011
|
"events": [],
|