@nanoporetech-digital/components-vue 1.13.16 → 1.13.20
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/CHANGELOG.md +32 -0
- package/dist/demo/main.js +6 -0
- package/dist/demo/main.js.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/nano-vue.js +38 -0
- package/dist/nano-vue.js.map +1 -0
- package/dist/proxies.js +531 -0
- package/dist/proxies.js.map +1 -0
- package/dist/types/demo/main.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/nano-vue.d.ts +2 -0
- package/dist/types/proxies.d.ts +46 -0
- package/dist/types/vue-component-lib/utils.d.ts +22 -0
- package/dist/vetur/attributes.json +1965 -0
- package/dist/vetur/tags.json +547 -0
- package/dist/vue-component-lib/utils.js +166 -0
- package/dist/vue-component-lib/utils.js.map +1 -0
- package/dist/web-types.json +13 -0
- package/package.json +3 -3
|
@@ -0,0 +1,1965 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nano-accordion/color": {
|
|
3
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
4
|
+
"description": "Color to use from the color palette.",
|
|
5
|
+
"options": [
|
|
6
|
+
"danger",
|
|
7
|
+
"dark",
|
|
8
|
+
"light",
|
|
9
|
+
"medium",
|
|
10
|
+
"primary",
|
|
11
|
+
"secondary",
|
|
12
|
+
"success",
|
|
13
|
+
"tertiary",
|
|
14
|
+
"warning"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"nano-alert/closable": {
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"description": "Set to true to make the alert closable.",
|
|
20
|
+
"options": []
|
|
21
|
+
},
|
|
22
|
+
"nano-alert/color": {
|
|
23
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
24
|
+
"description": "The color to use from the application's color palette.",
|
|
25
|
+
"options": [
|
|
26
|
+
"danger",
|
|
27
|
+
"dark",
|
|
28
|
+
"light",
|
|
29
|
+
"medium",
|
|
30
|
+
"primary",
|
|
31
|
+
"secondary",
|
|
32
|
+
"success",
|
|
33
|
+
"tertiary",
|
|
34
|
+
"warning"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"nano-alert/duration": {
|
|
38
|
+
"type": "number",
|
|
39
|
+
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the\nalert before it closes (e.g. moves the mouse over it), the timer will restart.",
|
|
40
|
+
"options": []
|
|
41
|
+
},
|
|
42
|
+
"nano-alert/open": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.",
|
|
45
|
+
"options": []
|
|
46
|
+
},
|
|
47
|
+
"nano-algolia/api-key": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "An Algolia API Key. Used in conjunction with 'searchIndex' & 'appId'.",
|
|
50
|
+
"options": []
|
|
51
|
+
},
|
|
52
|
+
"nano-algolia/app-id": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "An Algolia App ID key. Used in conjunction with 'searchIndex' & 'apiKey'.",
|
|
55
|
+
"options": []
|
|
56
|
+
},
|
|
57
|
+
"nano-algolia/browse-index": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"description": "Will maintain a search all / '*' on init and reset allowing for a view\nthen filter experience rather than a search first experience",
|
|
60
|
+
"options": []
|
|
61
|
+
},
|
|
62
|
+
"nano-algolia/filters": {
|
|
63
|
+
"type": "string[]",
|
|
64
|
+
"description": "Query filters to apply to all searches.\nRefer to https://www.algolia.com/doc/api-reference/api-parameters/filters for format.",
|
|
65
|
+
"options": []
|
|
66
|
+
},
|
|
67
|
+
"nano-algolia/listen-to": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "JS querSelector string of a `nano-input` / `input` element from which\nto listen to `nano-change` or `change` events and change the `query` prop.\nNot required if an appropriate field is in the 'search-input' slot",
|
|
70
|
+
"options": []
|
|
71
|
+
},
|
|
72
|
+
"nano-algolia/min-chars": {
|
|
73
|
+
"type": "number",
|
|
74
|
+
"description": "Minimum number of characters before performing a search",
|
|
75
|
+
"options": []
|
|
76
|
+
},
|
|
77
|
+
"nano-algolia/operator": {
|
|
78
|
+
"type": "\"and\" | \"or\"",
|
|
79
|
+
"description": "The external operator joining filter values.",
|
|
80
|
+
"options": [
|
|
81
|
+
"and",
|
|
82
|
+
"or"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"nano-algolia/query": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"description": "The query string used to search the index. Will automtically be set with any slotted\n`search-input` input elements or from elements linked to from `listen-to`",
|
|
88
|
+
"options": []
|
|
89
|
+
},
|
|
90
|
+
"nano-algolia/replica-index": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "Changes the index without removing any current filters. Most appropriate for algolia replicas.",
|
|
93
|
+
"options": []
|
|
94
|
+
},
|
|
95
|
+
"nano-algolia/results-page": {
|
|
96
|
+
"type": "number",
|
|
97
|
+
"description": "The current algolia page of results currently being viewed or to get.",
|
|
98
|
+
"options": []
|
|
99
|
+
},
|
|
100
|
+
"nano-algolia/search-index": {
|
|
101
|
+
"type": "SearchIndex",
|
|
102
|
+
"description": "Algolia search index. Used in conjunction with 'apiKey' & 'appId'.\n```\n{ index: string, // algolia index name\n domain?: string, // used in template filters to resolve incomplete url fields\n filters?: [string], // algolia facets to retrive\n hitsPerPage?: number,\n name?: string // human readable index name\n}\n```",
|
|
103
|
+
"options": []
|
|
104
|
+
},
|
|
105
|
+
"nano-algolia/search-index-name": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Algolia search index name. Alternative to 'searchIndex'.\nA simplified shortcut for setting an index.\nProperties such as hitsPerPage and facets will come from the algolia index",
|
|
108
|
+
"options": []
|
|
109
|
+
},
|
|
110
|
+
"nano-algolia/show-results": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"description": "Show the result panel. By default it will automatically show when the result receives new hits.",
|
|
113
|
+
"options": []
|
|
114
|
+
},
|
|
115
|
+
"nano-algolia/store-id": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "Store search queries (against this ID) to the component store.\nUse in conjunction with storeMethod",
|
|
118
|
+
"options": []
|
|
119
|
+
},
|
|
120
|
+
"nano-algolia/store-method": {
|
|
121
|
+
"type": "\"local\" | \"session\" | \"url-hash\" | \"url-hash-push\" | \"url-query\" | \"url-query-push\"",
|
|
122
|
+
"description": "The method of storage.\nEither session storage, url hash (after the '#') or url query (after the '?').",
|
|
123
|
+
"options": [
|
|
124
|
+
"local",
|
|
125
|
+
"session",
|
|
126
|
+
"url-hash",
|
|
127
|
+
"url-hash-push",
|
|
128
|
+
"url-query",
|
|
129
|
+
"url-query-push"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"nano-algolia/tpl-engine": {
|
|
133
|
+
"type": "Object",
|
|
134
|
+
"description": "Template engine to use when rendering results and filters.\nDefaults to Squirrel v8 (https://squirrelly.js.org/). This gives you access\nto the underlying squirrel object allowing you to modify it's configuration / add filters.",
|
|
135
|
+
"options": []
|
|
136
|
+
},
|
|
137
|
+
"nano-algolia/tpl-render-fn": {
|
|
138
|
+
"type": "(...args: any[]) => string",
|
|
139
|
+
"description": "Template engine render function to use when rendering results and filters.\nDefaults to Squirrel v8's render (https://squirrelly.js.org/).",
|
|
140
|
+
"options": []
|
|
141
|
+
},
|
|
142
|
+
"nano-algolia-filter/filter-name": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "Name of this filter - must match an appropriate algolia facet on a parent nano-algolia index to display",
|
|
145
|
+
"options": []
|
|
146
|
+
},
|
|
147
|
+
"nano-algolia-filter/operator": {
|
|
148
|
+
"type": "\"and\" | \"or\"",
|
|
149
|
+
"description": "The internal operator joining filter values.",
|
|
150
|
+
"options": [
|
|
151
|
+
"and",
|
|
152
|
+
"or"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"nano-algolia-filter/store-id": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "Store search queries (against this ID) to the component store.\nUse in conjunction with storeMethod",
|
|
158
|
+
"options": []
|
|
159
|
+
},
|
|
160
|
+
"nano-algolia-filter/store-method": {
|
|
161
|
+
"type": "\"local\" | \"session\" | \"url-hash\" | \"url-hash-push\" | \"url-query\" | \"url-query-push\"",
|
|
162
|
+
"description": "The method of storage.\nEither session storage, url hash (after the '#') or url query (after the '?').",
|
|
163
|
+
"options": [
|
|
164
|
+
"local",
|
|
165
|
+
"session",
|
|
166
|
+
"url-hash",
|
|
167
|
+
"url-hash-push",
|
|
168
|
+
"url-query",
|
|
169
|
+
"url-query-push"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"nano-algolia-filter/value": {
|
|
173
|
+
"type": "string | string[]",
|
|
174
|
+
"description": "Set values of this filter. Will result in form elements being selected. '|' delimited string or array.",
|
|
175
|
+
"options": []
|
|
176
|
+
},
|
|
177
|
+
"nano-algolia-input/api-key": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"description": "An Algolia API Key. Used in conjunction with 'searchIndex' & 'appId'.\nAlternatively this will be set automatically when nested within an algolia component",
|
|
180
|
+
"options": []
|
|
181
|
+
},
|
|
182
|
+
"nano-algolia-input/app-id": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"description": "An Algolia App ID key. Used in conjunction with 'searchIndex' & 'apiKey'.\nAlternatively this will be set automatically when nested within an algolia component",
|
|
185
|
+
"options": []
|
|
186
|
+
},
|
|
187
|
+
"nano-algolia-input/auto-emit": {
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"description": "Automatically emit results data to algolia components.\nFor example, if you wanted to provide an 'autocomplete' style dropdown\nbefore showing the main results with a submit button",
|
|
190
|
+
"options": []
|
|
191
|
+
},
|
|
192
|
+
"nano-algolia-input/browse-index": {
|
|
193
|
+
"type": "boolean",
|
|
194
|
+
"description": "Will maintain a search all / '*' on init and reset allowing for a view\nthen filter experience rather than a search first experience",
|
|
195
|
+
"options": []
|
|
196
|
+
},
|
|
197
|
+
"nano-algolia-input/min-chars": {
|
|
198
|
+
"type": "number",
|
|
199
|
+
"description": "Minimum number of characters before performing a search",
|
|
200
|
+
"options": []
|
|
201
|
+
},
|
|
202
|
+
"nano-algolia-input/search-index": {
|
|
203
|
+
"type": "SearchIndex",
|
|
204
|
+
"description": "Algolia search index. Used in conjunction with 'searchIndex' & 'appId'.\nAlternatively this will be set automatically if you're using a 'resultsEmitter' element.\n```\n{ index: string, // algolia index name\n domain?: string, // used in template filers to resolve incomplete url fields\n filters?: [string], // algolia facets to retrive\n hitsPerPage?: number,\n name?: string // human readable index name\n}\n```",
|
|
205
|
+
"options": []
|
|
206
|
+
},
|
|
207
|
+
"nano-algolia-input/search-index-name": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "Algolia search index name. Alternative to 'searchIndex'.\nA simplified shortcut for setting an index.\nproperties such as hitsPerPage and facets will come from the algolia index",
|
|
210
|
+
"options": []
|
|
211
|
+
},
|
|
212
|
+
"nano-algolia-input/store-id": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"description": "Store search queries (against this ID) to the component store.\nUse in conjunction with storeMethod",
|
|
215
|
+
"options": []
|
|
216
|
+
},
|
|
217
|
+
"nano-algolia-input/store-method": {
|
|
218
|
+
"type": "\"local\" | \"session\" | \"url-hash\" | \"url-hash-push\" | \"url-query\" | \"url-query-push\"",
|
|
219
|
+
"description": "The method of storage.\nEither session storage, url hash (after the '#') or url query (after the '?').",
|
|
220
|
+
"options": [
|
|
221
|
+
"local",
|
|
222
|
+
"session",
|
|
223
|
+
"url-hash",
|
|
224
|
+
"url-hash-push",
|
|
225
|
+
"url-query",
|
|
226
|
+
"url-query-push"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"nano-algolia-pagination/max-to-show": {
|
|
230
|
+
"type": "number",
|
|
231
|
+
"description": "Max number of page numbers to show",
|
|
232
|
+
"options": []
|
|
233
|
+
},
|
|
234
|
+
"nano-algolia-results/append-pages": {
|
|
235
|
+
"type": "boolean",
|
|
236
|
+
"description": "Whether new pages loaded by pagination will replace or be appended to the results block\n(this will be ignored if 'infiniteScroll' is set to true)",
|
|
237
|
+
"options": []
|
|
238
|
+
},
|
|
239
|
+
"nano-algolia-results/infinite-scroll": {
|
|
240
|
+
"type": "boolean",
|
|
241
|
+
"description": "Load and append pages automatically on scroll",
|
|
242
|
+
"options": []
|
|
243
|
+
},
|
|
244
|
+
"nano-aspect-ratio/aspect-ratio": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"description": "The aspect ratio of the embedded media in the format of `width:height`, e.g. `16:9`, `4:3`, or `1:1`.\nRatios not in this format will be ignored.",
|
|
247
|
+
"options": []
|
|
248
|
+
},
|
|
249
|
+
"nano-aspect-ratio/fit": {
|
|
250
|
+
"type": "\"contain\" | \"cover\"",
|
|
251
|
+
"description": "Determines how content will be resized to fit its container.",
|
|
252
|
+
"options": [
|
|
253
|
+
"contain",
|
|
254
|
+
"cover"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
"nano-checkbox/checked": {
|
|
258
|
+
"type": "boolean",
|
|
259
|
+
"description": "checked property that can be used to get/set the value. accepts only boolean values",
|
|
260
|
+
"options": []
|
|
261
|
+
},
|
|
262
|
+
"nano-checkbox/color": {
|
|
263
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
264
|
+
"description": "Color to use from your application's color palette.",
|
|
265
|
+
"options": [
|
|
266
|
+
"danger",
|
|
267
|
+
"dark",
|
|
268
|
+
"light",
|
|
269
|
+
"medium",
|
|
270
|
+
"primary",
|
|
271
|
+
"secondary",
|
|
272
|
+
"success",
|
|
273
|
+
"tertiary",
|
|
274
|
+
"warning"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"nano-checkbox/disabled": {
|
|
278
|
+
"type": "boolean",
|
|
279
|
+
"description": "If `true`, the user cannot interact with the checkbox.",
|
|
280
|
+
"options": []
|
|
281
|
+
},
|
|
282
|
+
"nano-checkbox/indeterminate": {
|
|
283
|
+
"type": "boolean",
|
|
284
|
+
"description": "If `true`, the checkbox will visually appear as indeterminate (only relevant for type=\"checkbox\")",
|
|
285
|
+
"options": []
|
|
286
|
+
},
|
|
287
|
+
"nano-checkbox/invalid": {
|
|
288
|
+
"type": "boolean",
|
|
289
|
+
"description": "This will be true when the control is in an invalid state.\nValidity is determined by the `required` prop. Or if custom validity message is set.",
|
|
290
|
+
"options": []
|
|
291
|
+
},
|
|
292
|
+
"nano-checkbox/label": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"description": "label property that can be used to set the label text. Alternatively you may use a label slot.",
|
|
295
|
+
"options": []
|
|
296
|
+
},
|
|
297
|
+
"nano-checkbox/name": {
|
|
298
|
+
"type": "string",
|
|
299
|
+
"description": "The name of the control, which is submitted with the form data.",
|
|
300
|
+
"options": []
|
|
301
|
+
},
|
|
302
|
+
"nano-checkbox/required": {
|
|
303
|
+
"type": "boolean",
|
|
304
|
+
"description": "Set to true to make the field required.",
|
|
305
|
+
"options": []
|
|
306
|
+
},
|
|
307
|
+
"nano-checkbox/type": {
|
|
308
|
+
"type": "\"checkbox\" | \"radio\" | \"segment\" | \"segment-pill\" | \"tag\"",
|
|
309
|
+
"description": "Controls the underlying field type and style.",
|
|
310
|
+
"options": [
|
|
311
|
+
"checkbox",
|
|
312
|
+
"radio",
|
|
313
|
+
"segment",
|
|
314
|
+
"segment-pill",
|
|
315
|
+
"tag"
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
"nano-checkbox/value": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"description": "The value of a checkbox is analogous to the value of an `<input type='checkbox'>`,\nit's only present when `checked` is true.",
|
|
321
|
+
"options": []
|
|
322
|
+
},
|
|
323
|
+
"nano-checkbox-group/disabled": {
|
|
324
|
+
"type": "boolean",
|
|
325
|
+
"description": "Disable all the nested form controls",
|
|
326
|
+
"options": []
|
|
327
|
+
},
|
|
328
|
+
"nano-checkbox-group/legend": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"description": "A common label for children controls",
|
|
331
|
+
"options": []
|
|
332
|
+
},
|
|
333
|
+
"nano-checkbox-group/max": {
|
|
334
|
+
"type": "number",
|
|
335
|
+
"description": "The maximum number of checkboxes allowed. Only relevant for checkbox type controls.\nOther controls will automatically be disabled upon reaching this number.",
|
|
336
|
+
"options": []
|
|
337
|
+
},
|
|
338
|
+
"nano-checkbox-group/min": {
|
|
339
|
+
"type": "number",
|
|
340
|
+
"description": "The minimum number of checkboxes required to be valid. Only relevant for checkbox type controls.\nA validation error will be thrown if not enough controls are checked.",
|
|
341
|
+
"options": []
|
|
342
|
+
},
|
|
343
|
+
"nano-checkbox-group/show-inline-error": {
|
|
344
|
+
"type": "boolean",
|
|
345
|
+
"description": "Whether to show validation errors underneath input",
|
|
346
|
+
"options": []
|
|
347
|
+
},
|
|
348
|
+
"nano-checkbox-group/validate-on": {
|
|
349
|
+
"type": "\"dirty\" | \"submit\" | \"submitThenDirty\"",
|
|
350
|
+
"description": "When should the field perform validation",
|
|
351
|
+
"options": [
|
|
352
|
+
"dirty",
|
|
353
|
+
"submit",
|
|
354
|
+
"submitThenDirty"
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
"nano-date-input/autofocus": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"description": "This Boolean attribute lets you specify that a form control should have input focus when the page loads.",
|
|
360
|
+
"options": []
|
|
361
|
+
},
|
|
362
|
+
"nano-date-input/clear-input": {
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"description": "If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input.",
|
|
365
|
+
"options": []
|
|
366
|
+
},
|
|
367
|
+
"nano-date-input/close-after-picked": {
|
|
368
|
+
"type": "boolean",
|
|
369
|
+
"description": "Close the picker after a date is selected",
|
|
370
|
+
"options": []
|
|
371
|
+
},
|
|
372
|
+
"nano-date-input/color": {
|
|
373
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
374
|
+
"description": "The color to use from the application's color palette.",
|
|
375
|
+
"options": [
|
|
376
|
+
"danger",
|
|
377
|
+
"dark",
|
|
378
|
+
"light",
|
|
379
|
+
"medium",
|
|
380
|
+
"primary",
|
|
381
|
+
"secondary",
|
|
382
|
+
"success",
|
|
383
|
+
"tertiary",
|
|
384
|
+
"warning"
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
"nano-date-input/date-order": {
|
|
388
|
+
"type": "\"dmy\" | \"dym\" | \"mdy\" | \"ymd\"",
|
|
389
|
+
"description": "The order of the date parts for entry and display.\ne.g. dmy = dd mm yyyy",
|
|
390
|
+
"options": [
|
|
391
|
+
"dmy",
|
|
392
|
+
"dym",
|
|
393
|
+
"mdy",
|
|
394
|
+
"ymd"
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
"nano-date-input/disabled": {
|
|
398
|
+
"type": "boolean",
|
|
399
|
+
"description": "If `true`, the user cannot interact with the input.",
|
|
400
|
+
"options": []
|
|
401
|
+
},
|
|
402
|
+
"nano-date-input/first-day-of-week": {
|
|
403
|
+
"type": "DaysOfWeek.Friday | DaysOfWeek.Monday | DaysOfWeek.Saturday | DaysOfWeek.Sunday | DaysOfWeek.Thursday | DaysOfWeek.Tuesday | DaysOfWeek.Wednesday",
|
|
404
|
+
"description": "Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
405
|
+
"options": []
|
|
406
|
+
},
|
|
407
|
+
"nano-date-input/float-label": {
|
|
408
|
+
"type": "boolean",
|
|
409
|
+
"description": "Enable floating label behaviour. Will disable placeholder if set.",
|
|
410
|
+
"options": []
|
|
411
|
+
},
|
|
412
|
+
"nano-date-input/form": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"description": "The form element to associate the select with (its form owner). Must be the id of a form.",
|
|
415
|
+
"options": []
|
|
416
|
+
},
|
|
417
|
+
"nano-date-input/helper-text": {
|
|
418
|
+
"type": "boolean",
|
|
419
|
+
"description": "Whether to show a long form, confirmation date string of the one currently entered",
|
|
420
|
+
"options": []
|
|
421
|
+
},
|
|
422
|
+
"nano-date-input/helper-text-format": {
|
|
423
|
+
"type": "LocalDateOpts",
|
|
424
|
+
"description": "Options for the date string display. Refer to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString.",
|
|
425
|
+
"options": []
|
|
426
|
+
},
|
|
427
|
+
"nano-date-input/hide-label": {
|
|
428
|
+
"type": "boolean",
|
|
429
|
+
"description": "Visually hide the label - but make it accessible.",
|
|
430
|
+
"options": []
|
|
431
|
+
},
|
|
432
|
+
"nano-date-input/initial-picker-date": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "Initial picker date. Will be to `value` if set. Will be today's date if nothing set.\nMust be in IS0-8601 format: YYYY-MM-DD.",
|
|
435
|
+
"options": []
|
|
436
|
+
},
|
|
437
|
+
"nano-date-input/label": {
|
|
438
|
+
"type": "string",
|
|
439
|
+
"description": "String to place within a label element. Alternatively you may use a label slot.",
|
|
440
|
+
"options": []
|
|
441
|
+
},
|
|
442
|
+
"nano-date-input/localization": {
|
|
443
|
+
"type": "{ buttonLabel: string; placeholder: string; selectedDateMessage: string; prevMonthLabel: string; nextMonthLabel: string; monthSelectLabel: string; yearSelectLabel: string; closeLabel: string; keyboardInstruction: string; calendarHeading: string; dayNames: DayNames; monthNames: MonthsNames; monthNamesShort: MonthsNames; }",
|
|
444
|
+
"description": "Button labels, day names, month names, etc, used for localization.\nDefault is English.",
|
|
445
|
+
"options": []
|
|
446
|
+
},
|
|
447
|
+
"nano-date-input/max": {
|
|
448
|
+
"type": "string",
|
|
449
|
+
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
450
|
+
"options": []
|
|
451
|
+
},
|
|
452
|
+
"nano-date-input/min": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"description": "Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the max property.",
|
|
455
|
+
"options": []
|
|
456
|
+
},
|
|
457
|
+
"nano-date-input/name": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"description": "The name of the control, which is submitted with the form data.",
|
|
460
|
+
"options": []
|
|
461
|
+
},
|
|
462
|
+
"nano-date-input/picker": {
|
|
463
|
+
"type": "boolean",
|
|
464
|
+
"description": "Show a date picker. Date pickers are not very useful\nif the potential input is too far in the distance or past\ne.g. Birthdays",
|
|
465
|
+
"options": []
|
|
466
|
+
},
|
|
467
|
+
"nano-date-input/picker-open": {
|
|
468
|
+
"type": "boolean",
|
|
469
|
+
"description": "Set / read whether the picker is currently open.",
|
|
470
|
+
"options": []
|
|
471
|
+
},
|
|
472
|
+
"nano-date-input/placeholder": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"description": "Instructional text that shows before the input has a value.\nThe pattern prop will be used to create a placeholder automatically if unused.",
|
|
475
|
+
"options": []
|
|
476
|
+
},
|
|
477
|
+
"nano-date-input/readonly": {
|
|
478
|
+
"type": "boolean",
|
|
479
|
+
"description": "If `true`, the user cannot modify the value.",
|
|
480
|
+
"options": []
|
|
481
|
+
},
|
|
482
|
+
"nano-date-input/required": {
|
|
483
|
+
"type": "boolean",
|
|
484
|
+
"description": "If `true`, the user must fill in a value before submitting a form.",
|
|
485
|
+
"options": []
|
|
486
|
+
},
|
|
487
|
+
"nano-date-input/show-inline-error": {
|
|
488
|
+
"type": "boolean",
|
|
489
|
+
"description": "Whether to show validation errors underneath input",
|
|
490
|
+
"options": []
|
|
491
|
+
},
|
|
492
|
+
"nano-date-input/size": {
|
|
493
|
+
"type": "number",
|
|
494
|
+
"description": "The initial size (number of characters) of the control.",
|
|
495
|
+
"options": []
|
|
496
|
+
},
|
|
497
|
+
"nano-date-input/validate-on": {
|
|
498
|
+
"type": "\"dirty\" | \"submit\" | \"submitThenDirty\"",
|
|
499
|
+
"description": "When should the field perform validation",
|
|
500
|
+
"options": [
|
|
501
|
+
"dirty",
|
|
502
|
+
"submit",
|
|
503
|
+
"submitThenDirty"
|
|
504
|
+
]
|
|
505
|
+
},
|
|
506
|
+
"nano-date-input/value": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"description": "Current value. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
509
|
+
"options": []
|
|
510
|
+
},
|
|
511
|
+
"nano-date-picker/color": {
|
|
512
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
513
|
+
"description": "The color to use from the application's color palette.",
|
|
514
|
+
"options": [
|
|
515
|
+
"danger",
|
|
516
|
+
"dark",
|
|
517
|
+
"light",
|
|
518
|
+
"medium",
|
|
519
|
+
"primary",
|
|
520
|
+
"secondary",
|
|
521
|
+
"success",
|
|
522
|
+
"tertiary",
|
|
523
|
+
"warning"
|
|
524
|
+
]
|
|
525
|
+
},
|
|
526
|
+
"nano-date-picker/first-day-of-week": {
|
|
527
|
+
"type": "DaysOfWeek.Friday | DaysOfWeek.Monday | DaysOfWeek.Saturday | DaysOfWeek.Sunday | DaysOfWeek.Thursday | DaysOfWeek.Tuesday | DaysOfWeek.Wednesday",
|
|
528
|
+
"description": "Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
529
|
+
"options": []
|
|
530
|
+
},
|
|
531
|
+
"nano-date-picker/is-date-disabled": {
|
|
532
|
+
"type": "(date: Date) => boolean",
|
|
533
|
+
"description": "Controls which days are disabled and therefore disallowed.\nFor example, this can be used to disallow selection of weekends.",
|
|
534
|
+
"options": []
|
|
535
|
+
},
|
|
536
|
+
"nano-date-picker/is-modal": {
|
|
537
|
+
"type": "boolean",
|
|
538
|
+
"description": "Controls whether the picker is a modal or dialog,\npopup control and will therefore keep focus within the control",
|
|
539
|
+
"options": []
|
|
540
|
+
},
|
|
541
|
+
"nano-date-picker/localization": {
|
|
542
|
+
"type": "{ buttonLabel: string; placeholder: string; selectedDateMessage: string; prevMonthLabel: string; nextMonthLabel: string; monthSelectLabel: string; yearSelectLabel: string; closeLabel: string; keyboardInstruction: string; calendarHeading: string; dayNames: DayNames; monthNames: MonthsNames; monthNamesShort: MonthsNames; }",
|
|
543
|
+
"description": "Button labels, day names, month names, etc, used for localization.\nDefault is English.",
|
|
544
|
+
"options": []
|
|
545
|
+
},
|
|
546
|
+
"nano-date-picker/max": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"description": "Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the min property.",
|
|
549
|
+
"options": []
|
|
550
|
+
},
|
|
551
|
+
"nano-date-picker/min": {
|
|
552
|
+
"type": "string",
|
|
553
|
+
"description": "Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\nThis setting can be used alone or together with the max property.",
|
|
554
|
+
"options": []
|
|
555
|
+
},
|
|
556
|
+
"nano-date-picker/selected-date": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"description": "Selected Date. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
559
|
+
"options": []
|
|
560
|
+
},
|
|
561
|
+
"nano-details/color": {
|
|
562
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
563
|
+
"description": "Color to use from your application's color palette.",
|
|
564
|
+
"options": [
|
|
565
|
+
"danger",
|
|
566
|
+
"dark",
|
|
567
|
+
"light",
|
|
568
|
+
"medium",
|
|
569
|
+
"primary",
|
|
570
|
+
"secondary",
|
|
571
|
+
"success",
|
|
572
|
+
"tertiary",
|
|
573
|
+
"warning"
|
|
574
|
+
]
|
|
575
|
+
},
|
|
576
|
+
"nano-details/icon-rotation": {
|
|
577
|
+
"type": "number",
|
|
578
|
+
"description": "Icon slot rotation amount (degrees) on open",
|
|
579
|
+
"options": []
|
|
580
|
+
},
|
|
581
|
+
"nano-details/label": {
|
|
582
|
+
"type": "string",
|
|
583
|
+
"description": "Button / handle text to be used if no complex markup required.\nOtherwise use label slot.",
|
|
584
|
+
"options": []
|
|
585
|
+
},
|
|
586
|
+
"nano-details/no-handle": {
|
|
587
|
+
"type": "boolean",
|
|
588
|
+
"description": "Have no handle - you will need to control the hiding / showing of content with script",
|
|
589
|
+
"options": []
|
|
590
|
+
},
|
|
591
|
+
"nano-details/open": {
|
|
592
|
+
"type": "boolean",
|
|
593
|
+
"description": "Should item be open on load",
|
|
594
|
+
"options": []
|
|
595
|
+
},
|
|
596
|
+
"nano-dialog/label": {
|
|
597
|
+
"type": "string",
|
|
598
|
+
"description": "The dialog's label as displayed in the header. You should always include a relevant\nlabel even when using `no-header`, as it is required for proper accessibility.",
|
|
599
|
+
"options": []
|
|
600
|
+
},
|
|
601
|
+
"nano-dialog/no-footer": {
|
|
602
|
+
"type": "boolean",
|
|
603
|
+
"description": "Set to true to disable the footer. This will also remove the footer close button,\nso please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
604
|
+
"options": []
|
|
605
|
+
},
|
|
606
|
+
"nano-dialog/no-header": {
|
|
607
|
+
"type": "boolean",
|
|
608
|
+
"description": "Set to true to disable the header. This will also remove the default close button,\nso please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
609
|
+
"options": []
|
|
610
|
+
},
|
|
611
|
+
"nano-dialog/no-user-dismiss": {
|
|
612
|
+
"type": "boolean",
|
|
613
|
+
"description": "An alternative to `preventDefault()` on the `nanoRequestClose` event. This will hide the close button and disable clicks on the overlay or presses the `Escape` key",
|
|
614
|
+
"options": []
|
|
615
|
+
},
|
|
616
|
+
"nano-dialog/open": {
|
|
617
|
+
"type": "boolean",
|
|
618
|
+
"description": "Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.",
|
|
619
|
+
"options": []
|
|
620
|
+
},
|
|
621
|
+
"nano-dialog/show-ribbon": {
|
|
622
|
+
"type": "boolean",
|
|
623
|
+
"description": "Show a colour ribbon at the top of the modal",
|
|
624
|
+
"options": []
|
|
625
|
+
},
|
|
626
|
+
"nano-dialog/store-id": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"description": "Store search queries (against this ID) to the component store. Use in conjunction with storeMethod",
|
|
629
|
+
"options": []
|
|
630
|
+
},
|
|
631
|
+
"nano-dialog/store-method": {
|
|
632
|
+
"type": "\"local\" | \"session\" | \"url-hash\" | \"url-hash-push\" | \"url-query\" | \"url-query-push\"",
|
|
633
|
+
"description": "The method of storage. Either session storage, url hash (after the '#') or url query (after the '?').",
|
|
634
|
+
"options": [
|
|
635
|
+
"local",
|
|
636
|
+
"session",
|
|
637
|
+
"url-hash",
|
|
638
|
+
"url-hash-push",
|
|
639
|
+
"url-query",
|
|
640
|
+
"url-query-push"
|
|
641
|
+
]
|
|
642
|
+
},
|
|
643
|
+
"nano-drawer/contained": {
|
|
644
|
+
"type": "boolean",
|
|
645
|
+
"description": "By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\nits parent element, set this prop and add `position: relative` to the parent.",
|
|
646
|
+
"options": []
|
|
647
|
+
},
|
|
648
|
+
"nano-drawer/content-selector": {
|
|
649
|
+
"type": "string",
|
|
650
|
+
"description": "Required for 'reveal' and 'push' types\nA valid DOM selector of the content element that this drawer will push or reveal underneath\nPlease remember - elements wrapping the content element must be 'overflow: hidden'\notherwise menus will be shown when closed",
|
|
651
|
+
"options": []
|
|
652
|
+
},
|
|
653
|
+
"nano-drawer/label": {
|
|
654
|
+
"type": "string",
|
|
655
|
+
"description": "The drawer's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
|
|
656
|
+
"options": []
|
|
657
|
+
},
|
|
658
|
+
"nano-drawer/no-header": {
|
|
659
|
+
"type": "boolean",
|
|
660
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the drawer.",
|
|
661
|
+
"options": []
|
|
662
|
+
},
|
|
663
|
+
"nano-drawer/open": {
|
|
664
|
+
"type": "boolean",
|
|
665
|
+
"description": "Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.",
|
|
666
|
+
"options": []
|
|
667
|
+
},
|
|
668
|
+
"nano-drawer/placement": {
|
|
669
|
+
"type": "\"bottom\" | \"end\" | \"start\" | \"top\"",
|
|
670
|
+
"description": "The direction from which the drawer will open.",
|
|
671
|
+
"options": [
|
|
672
|
+
"bottom",
|
|
673
|
+
"end",
|
|
674
|
+
"start",
|
|
675
|
+
"top"
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
"nano-drawer/type": {
|
|
679
|
+
"type": "\"overlay\" | \"push\" | \"reveal\"",
|
|
680
|
+
"description": "The display type of the drawer",
|
|
681
|
+
"options": [
|
|
682
|
+
"overlay",
|
|
683
|
+
"push",
|
|
684
|
+
"reveal"
|
|
685
|
+
]
|
|
686
|
+
},
|
|
687
|
+
"nano-dropdown/auto-open": {
|
|
688
|
+
"type": "boolean",
|
|
689
|
+
"description": "Determines if the dropdown should open automatically when the trigger is clicked",
|
|
690
|
+
"options": []
|
|
691
|
+
},
|
|
692
|
+
"nano-dropdown/close-on-select": {
|
|
693
|
+
"type": "boolean",
|
|
694
|
+
"description": "Determines whether the dropdown should hide when a menu item is selected.",
|
|
695
|
+
"options": []
|
|
696
|
+
},
|
|
697
|
+
"nano-dropdown/containing-element": {
|
|
698
|
+
"type": "HTMLElement",
|
|
699
|
+
"description": "The dropdown will close when the user interacts outside of this element (e.g. clicking).",
|
|
700
|
+
"options": []
|
|
701
|
+
},
|
|
702
|
+
"nano-dropdown/dialog-title": {
|
|
703
|
+
"type": "string",
|
|
704
|
+
"description": "Title used to describe the dropdown content for accessibility",
|
|
705
|
+
"options": []
|
|
706
|
+
},
|
|
707
|
+
"nano-dropdown/distance": {
|
|
708
|
+
"type": "number",
|
|
709
|
+
"description": "The distance in pixels from which to offset the panel away from its trigger.",
|
|
710
|
+
"options": []
|
|
711
|
+
},
|
|
712
|
+
"nano-dropdown/hoist": {
|
|
713
|
+
"type": "boolean",
|
|
714
|
+
"description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`.",
|
|
715
|
+
"options": []
|
|
716
|
+
},
|
|
717
|
+
"nano-dropdown/open": {
|
|
718
|
+
"type": "boolean",
|
|
719
|
+
"description": "Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.",
|
|
720
|
+
"options": []
|
|
721
|
+
},
|
|
722
|
+
"nano-dropdown/placement": {
|
|
723
|
+
"type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
724
|
+
"description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
|
|
725
|
+
"options": [
|
|
726
|
+
"bottom",
|
|
727
|
+
"bottom-end",
|
|
728
|
+
"bottom-start",
|
|
729
|
+
"left",
|
|
730
|
+
"left-end",
|
|
731
|
+
"left-start",
|
|
732
|
+
"right",
|
|
733
|
+
"right-end",
|
|
734
|
+
"right-start",
|
|
735
|
+
"top",
|
|
736
|
+
"top-end",
|
|
737
|
+
"top-start"
|
|
738
|
+
]
|
|
739
|
+
},
|
|
740
|
+
"nano-dropdown/skidding": {
|
|
741
|
+
"type": "number",
|
|
742
|
+
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
|
743
|
+
"options": []
|
|
744
|
+
},
|
|
745
|
+
"nano-file-upload/accept": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"description": "The accept attribute value is a string that defines the file types the file input should accept.\nE.g. for a MS Word file: `.doc, .docx,application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document`",
|
|
748
|
+
"options": []
|
|
749
|
+
},
|
|
750
|
+
"nano-file-upload/capture": {
|
|
751
|
+
"type": "\"environment\" | \"user\"",
|
|
752
|
+
"description": "Specifies which camera to use for capture of image or video data. `user` for the user-facing camera and/or microphone.\n`environment` specifies the the outward-facing camera and/or microphone. If the requested facing mode isn't available,\nthe user agent may fall back to its preferred default mode.",
|
|
753
|
+
"options": [
|
|
754
|
+
"environment",
|
|
755
|
+
"user"
|
|
756
|
+
]
|
|
757
|
+
},
|
|
758
|
+
"nano-file-upload/clear-input": {
|
|
759
|
+
"type": "boolean",
|
|
760
|
+
"description": "If `true`, a clear icon will appear in the input when there is a value.\nClicking it clears the input. Only used within single file uploads.",
|
|
761
|
+
"options": []
|
|
762
|
+
},
|
|
763
|
+
"nano-file-upload/disabled": {
|
|
764
|
+
"type": "boolean",
|
|
765
|
+
"description": "If `true`, the user cannot interact with the select.",
|
|
766
|
+
"options": []
|
|
767
|
+
},
|
|
768
|
+
"nano-file-upload/files": {
|
|
769
|
+
"type": "{ lastModified: number; type: string; name: string; size: number; objectURL: string; arrayBuffer: () => Promise<ArrayBuffer>; slice: (start?: number, end?: number, contentType?: string) => Blob; stream: () => ReadableStream<any>; text: () => Promise<string>; }[]",
|
|
770
|
+
"description": "A File array that lists every selected file.\nHas an added `objectURL` property returning a `DOMString`\ncontaining an object URL that can be used to reference the contents of the specified source\nThis list has no more than one member unless the multiple attribute is specified. @readonly",
|
|
771
|
+
"options": []
|
|
772
|
+
},
|
|
773
|
+
"nano-file-upload/hide-label": {
|
|
774
|
+
"type": "boolean",
|
|
775
|
+
"description": "Visually hide the label - but make it accessible.",
|
|
776
|
+
"options": []
|
|
777
|
+
},
|
|
778
|
+
"nano-file-upload/invalid": {
|
|
779
|
+
"type": "boolean",
|
|
780
|
+
"description": "This will be true when the control is in an invalid state.\nValidity is determined by the `required` prop. Or if custom validity message is set. @readonly",
|
|
781
|
+
"options": []
|
|
782
|
+
},
|
|
783
|
+
"nano-file-upload/label": {
|
|
784
|
+
"type": "string",
|
|
785
|
+
"description": "String to place within a label element.",
|
|
786
|
+
"options": []
|
|
787
|
+
},
|
|
788
|
+
"nano-file-upload/max-file-size": {
|
|
789
|
+
"type": "number",
|
|
790
|
+
"description": "The maximum file size allowed per file (Megabytes)",
|
|
791
|
+
"options": []
|
|
792
|
+
},
|
|
793
|
+
"nano-file-upload/max-files": {
|
|
794
|
+
"type": "number",
|
|
795
|
+
"description": "The maximum file size allowed per file (bytes).",
|
|
796
|
+
"options": []
|
|
797
|
+
},
|
|
798
|
+
"nano-file-upload/name": {
|
|
799
|
+
"type": "string",
|
|
800
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
801
|
+
"options": []
|
|
802
|
+
},
|
|
803
|
+
"nano-file-upload/placeholder": {
|
|
804
|
+
"type": "string",
|
|
805
|
+
"description": "Placeholder only used within single file uploads.",
|
|
806
|
+
"options": []
|
|
807
|
+
},
|
|
808
|
+
"nano-file-upload/required": {
|
|
809
|
+
"type": "boolean",
|
|
810
|
+
"description": "If `true`, the user must select a file to upload before submitting a form.",
|
|
811
|
+
"options": []
|
|
812
|
+
},
|
|
813
|
+
"nano-file-upload/show-inline-error": {
|
|
814
|
+
"type": "boolean",
|
|
815
|
+
"description": "Whether to show validation errors underneath input",
|
|
816
|
+
"options": []
|
|
817
|
+
},
|
|
818
|
+
"nano-file-upload/validate-on": {
|
|
819
|
+
"type": "\"dirty\" | \"submit\" | \"submitThenDirty\"",
|
|
820
|
+
"description": "When should the field perform validation",
|
|
821
|
+
"options": [
|
|
822
|
+
"dirty",
|
|
823
|
+
"submit",
|
|
824
|
+
"submitThenDirty"
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
"nano-file-upload/value": {
|
|
828
|
+
"type": "string",
|
|
829
|
+
"description": "A file input's value attribute contains a DOMString that represents the path to the selected file(s).\nIf the user selected multiple files, the value represents the first file in the list of files they selected.\nYou can reset the file-upload control by setting the value to an emptry string e.g. `var input.value = ''`",
|
|
830
|
+
"options": []
|
|
831
|
+
},
|
|
832
|
+
"nano-global-nav/active-my-account-sections": {
|
|
833
|
+
"type": "(\"about\" | \"loggedin\" | \"sites\" | \"icons\")[]",
|
|
834
|
+
"description": "Active MyAccount link sections. By default all will show.",
|
|
835
|
+
"options": [
|
|
836
|
+
"loggedin",
|
|
837
|
+
"sites"
|
|
838
|
+
]
|
|
839
|
+
},
|
|
840
|
+
"nano-global-nav/cart-count": {
|
|
841
|
+
"type": "number",
|
|
842
|
+
"description": "MyAccount store cart count.",
|
|
843
|
+
"options": []
|
|
844
|
+
},
|
|
845
|
+
"nano-global-nav/cart-url": {
|
|
846
|
+
"type": "string",
|
|
847
|
+
"description": "Url to the Nanopore store cart. Will default to the url supplied by MyAccount",
|
|
848
|
+
"options": []
|
|
849
|
+
},
|
|
850
|
+
"nano-global-nav/env": {
|
|
851
|
+
"type": "\"dev\" | \"local\" | \"prod\" | \"test\"",
|
|
852
|
+
"description": "Connect to local, dev, test or prod MyAccount\nenvironments to retrieve global nav / sso data",
|
|
853
|
+
"options": [
|
|
854
|
+
"dev",
|
|
855
|
+
"local",
|
|
856
|
+
"prod",
|
|
857
|
+
"test"
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
"nano-global-nav/get-my-account-data": {
|
|
861
|
+
"type": "boolean",
|
|
862
|
+
"description": "Whether to attempt to get global nav / sso data from MyAccount",
|
|
863
|
+
"options": []
|
|
864
|
+
},
|
|
865
|
+
"nano-global-nav/logo-url": {
|
|
866
|
+
"type": "string",
|
|
867
|
+
"description": "The link to put on the logo",
|
|
868
|
+
"options": []
|
|
869
|
+
},
|
|
870
|
+
"nano-global-nav/msg-count": {
|
|
871
|
+
"type": "number",
|
|
872
|
+
"description": "MyAccount undread message count.",
|
|
873
|
+
"options": []
|
|
874
|
+
},
|
|
875
|
+
"nano-global-nav/msg-url": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"description": "Url to the Nanopore message center. Will default to the url supplied by MyAccount",
|
|
878
|
+
"options": []
|
|
879
|
+
},
|
|
880
|
+
"nano-global-nav/my-account-user": {
|
|
881
|
+
"type": "{ id: string; name: string; first_name: string; last_name: string; email: string; company: string; lifecycle_stage: string; indirect_customer: boolean; }",
|
|
882
|
+
"description": "Logged in user details automatically populated from MyAccount",
|
|
883
|
+
"options": []
|
|
884
|
+
},
|
|
885
|
+
"nano-global-nav/search-api-key": {
|
|
886
|
+
"type": "string",
|
|
887
|
+
"description": "An Algolia API Key. Will be automatically populated from MyAccount",
|
|
888
|
+
"options": []
|
|
889
|
+
},
|
|
890
|
+
"nano-global-nav/search-app-id": {
|
|
891
|
+
"type": "string",
|
|
892
|
+
"description": "An Algolia App ID key. Will be automatically populated from MyAccount",
|
|
893
|
+
"options": []
|
|
894
|
+
},
|
|
895
|
+
"nano-global-nav/search-indeces": {
|
|
896
|
+
"type": "SearchIndex[]",
|
|
897
|
+
"description": "An array of Algolia search indexes (and optional display names). Will be automatically populated from MyAccount",
|
|
898
|
+
"options": []
|
|
899
|
+
},
|
|
900
|
+
"nano-global-nav/search-index": {
|
|
901
|
+
"type": "string",
|
|
902
|
+
"description": "Algolia search index to programatically set or to set an initial index",
|
|
903
|
+
"options": []
|
|
904
|
+
},
|
|
905
|
+
"nano-global-nav/search-value": {
|
|
906
|
+
"type": "string",
|
|
907
|
+
"description": "A search value to passed to Algolia to programatically get or to preload search results",
|
|
908
|
+
"options": []
|
|
909
|
+
},
|
|
910
|
+
"nano-global-nav/show-logo": {
|
|
911
|
+
"type": "boolean",
|
|
912
|
+
"description": "Whether to show Nanopore logo",
|
|
913
|
+
"options": []
|
|
914
|
+
},
|
|
915
|
+
"nano-global-nav/show-search": {
|
|
916
|
+
"type": "boolean",
|
|
917
|
+
"description": "Whether to show search functionality",
|
|
918
|
+
"options": []
|
|
919
|
+
},
|
|
920
|
+
"nano-global-nav/sso-redirect": {
|
|
921
|
+
"type": "string",
|
|
922
|
+
"description": "Where to take user after SSO login",
|
|
923
|
+
"options": []
|
|
924
|
+
},
|
|
925
|
+
"nano-grid/content-panel": {
|
|
926
|
+
"type": "boolean",
|
|
927
|
+
"description": "shortcut for a traditional website like grid (requires more than one row). The second row will auto expand to fill the grid height. The first row and > 2nd row will be the size of their content. e.g. header, body and footer.",
|
|
928
|
+
"options": []
|
|
929
|
+
},
|
|
930
|
+
"nano-grid/full-height": {
|
|
931
|
+
"type": "boolean",
|
|
932
|
+
"description": "Helper to make grid items expand to full height in IE11",
|
|
933
|
+
"options": []
|
|
934
|
+
},
|
|
935
|
+
"nano-grid/l-cols": {
|
|
936
|
+
"type": "number",
|
|
937
|
+
"description": "the number of columns the grid has at the large breakpoint.",
|
|
938
|
+
"options": []
|
|
939
|
+
},
|
|
940
|
+
"nano-grid/l-size": {
|
|
941
|
+
"type": "number",
|
|
942
|
+
"description": "the component's large breakpoint. Note - all breakpoints are based on component width, not screen width.",
|
|
943
|
+
"options": []
|
|
944
|
+
},
|
|
945
|
+
"nano-grid/m-cols": {
|
|
946
|
+
"type": "number",
|
|
947
|
+
"description": "the number of columns the grid has at the medium breakpoint.",
|
|
948
|
+
"options": []
|
|
949
|
+
},
|
|
950
|
+
"nano-grid/m-size": {
|
|
951
|
+
"type": "number",
|
|
952
|
+
"description": "the component's medium breakpoint. Note - all breakpoints are based on component width, not screen width.",
|
|
953
|
+
"options": []
|
|
954
|
+
},
|
|
955
|
+
"nano-grid/s-cols": {
|
|
956
|
+
"type": "number",
|
|
957
|
+
"description": "the number of columns the grid has at the small breakpoint.",
|
|
958
|
+
"options": []
|
|
959
|
+
},
|
|
960
|
+
"nano-grid/s-size": {
|
|
961
|
+
"type": "number",
|
|
962
|
+
"description": "the component's small breakpoint. Note - all breakpoints are based on component width, not screen width.",
|
|
963
|
+
"options": []
|
|
964
|
+
},
|
|
965
|
+
"nano-grid/show-helper": {
|
|
966
|
+
"type": "boolean",
|
|
967
|
+
"description": "shows a grid helper to visualise where columns are",
|
|
968
|
+
"options": []
|
|
969
|
+
},
|
|
970
|
+
"nano-grid/xl-cols": {
|
|
971
|
+
"type": "number",
|
|
972
|
+
"description": "the number of columns the grid has at the xl breakpoint.",
|
|
973
|
+
"options": []
|
|
974
|
+
},
|
|
975
|
+
"nano-grid/xl-size": {
|
|
976
|
+
"type": "number",
|
|
977
|
+
"description": "the component's xl breakpoint. Note - all breakpoints are based on component width, not screen width.",
|
|
978
|
+
"options": []
|
|
979
|
+
},
|
|
980
|
+
"nano-grid/xxl-cols": {
|
|
981
|
+
"type": "number",
|
|
982
|
+
"description": "the number of columns the grid has at the xxl breakpoint (anything greater than the xl breakpoint)",
|
|
983
|
+
"options": []
|
|
984
|
+
},
|
|
985
|
+
"nano-grid-item/grid-states": {
|
|
986
|
+
"type": "string",
|
|
987
|
+
"description": "How to position this item within it's parent grid at different break points. Examples:\nxl-col-span-2\nl-col-start-2\nxxl-row-span-2\nm-row-start-2",
|
|
988
|
+
"options": []
|
|
989
|
+
},
|
|
990
|
+
"nano-hero/img-src": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"description": "src for backgronund image. For more control use the `background` slot instead.",
|
|
993
|
+
"options": []
|
|
994
|
+
},
|
|
995
|
+
"nano-hero/img-src-set": {
|
|
996
|
+
"type": "string",
|
|
997
|
+
"description": "Optional list string providing media sizes with corresponding image srcs.\ni.e. show img-x at 300px wide. Format `srcSet=\"200w src/imgSmall.jpg, 500h src/imgMed.png\"`",
|
|
998
|
+
"options": []
|
|
999
|
+
},
|
|
1000
|
+
"nano-hero/large-screen-bp": {
|
|
1001
|
+
"type": "number",
|
|
1002
|
+
"description": "The Break Point width that the hero component will change to the large view. Defaults to the XL grid size (900px)",
|
|
1003
|
+
"options": []
|
|
1004
|
+
},
|
|
1005
|
+
"nano-hero/level": {
|
|
1006
|
+
"type": "\"sub\" | \"top\"",
|
|
1007
|
+
"description": "Set the content structure level of the hero. Defaults to 'top'",
|
|
1008
|
+
"options": [
|
|
1009
|
+
"sub",
|
|
1010
|
+
"top"
|
|
1011
|
+
]
|
|
1012
|
+
},
|
|
1013
|
+
"nano-hero/theme": {
|
|
1014
|
+
"type": "\"dark\" | \"light\"",
|
|
1015
|
+
"description": "Base style for the hero. Either 'light' (white bg / dark text), or 'dark' (dark bg / white text)",
|
|
1016
|
+
"options": [
|
|
1017
|
+
"dark",
|
|
1018
|
+
"light"
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
"nano-icon/aria-label": {
|
|
1022
|
+
"type": "string",
|
|
1023
|
+
"description": "Specifies the label to use for accessibility. Defaults to the icon name.",
|
|
1024
|
+
"options": []
|
|
1025
|
+
},
|
|
1026
|
+
"nano-icon/color": {
|
|
1027
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
1028
|
+
"description": "Color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.",
|
|
1029
|
+
"options": [
|
|
1030
|
+
"danger",
|
|
1031
|
+
"dark",
|
|
1032
|
+
"light",
|
|
1033
|
+
"medium",
|
|
1034
|
+
"primary",
|
|
1035
|
+
"secondary",
|
|
1036
|
+
"success",
|
|
1037
|
+
"tertiary",
|
|
1038
|
+
"warning"
|
|
1039
|
+
]
|
|
1040
|
+
},
|
|
1041
|
+
"nano-icon/flip-rtl": {
|
|
1042
|
+
"type": "boolean",
|
|
1043
|
+
"description": "Specifies whether the icon should horizontally flip when `dir` is `\"rtl\"`.",
|
|
1044
|
+
"options": []
|
|
1045
|
+
},
|
|
1046
|
+
"nano-icon/icon": {
|
|
1047
|
+
"type": "any",
|
|
1048
|
+
"description": "A combination of both `name` and `src`. If a `src` url is detected\nit will set the `src` property. Otherwise it assumes it's a built-in named\nSVG and set the `name` property.",
|
|
1049
|
+
"options": []
|
|
1050
|
+
},
|
|
1051
|
+
"nano-icon/lazy": {
|
|
1052
|
+
"type": "boolean",
|
|
1053
|
+
"description": "If enabled, nano-icon will be loaded lazily when it's visible in the viewport.\nDefault, `false`.",
|
|
1054
|
+
"options": []
|
|
1055
|
+
},
|
|
1056
|
+
"nano-icon/name": {
|
|
1057
|
+
"type": "string",
|
|
1058
|
+
"description": "Specifies which icon to use from the built-in set of icons.",
|
|
1059
|
+
"options": []
|
|
1060
|
+
},
|
|
1061
|
+
"nano-icon/size": {
|
|
1062
|
+
"type": "\"large\" | \"small\"",
|
|
1063
|
+
"description": "The size of the icon.\nAvailable options are: `\"small\"` and `\"large\"`.",
|
|
1064
|
+
"options": [
|
|
1065
|
+
"large",
|
|
1066
|
+
"small"
|
|
1067
|
+
]
|
|
1068
|
+
},
|
|
1069
|
+
"nano-icon/src": {
|
|
1070
|
+
"type": "string",
|
|
1071
|
+
"description": "Specifies the exact `src` of an SVG file to use.",
|
|
1072
|
+
"options": []
|
|
1073
|
+
},
|
|
1074
|
+
"nano-icon-button/disabled": {
|
|
1075
|
+
"type": "boolean",
|
|
1076
|
+
"description": "Set to true to disable the button.",
|
|
1077
|
+
"options": []
|
|
1078
|
+
},
|
|
1079
|
+
"nano-icon-button/href": {
|
|
1080
|
+
"type": "string",
|
|
1081
|
+
"description": "Contains a URL or a URL fragment that the hyperlink points to.\nIf this property is set, an anchor tag will be rendered.",
|
|
1082
|
+
"options": []
|
|
1083
|
+
},
|
|
1084
|
+
"nano-icon-button/icon-name": {
|
|
1085
|
+
"type": "string",
|
|
1086
|
+
"description": "The name of the icon to draw.",
|
|
1087
|
+
"options": []
|
|
1088
|
+
},
|
|
1089
|
+
"nano-icon-button/icon-src": {
|
|
1090
|
+
"type": "string",
|
|
1091
|
+
"description": "An external URL of an SVG file.",
|
|
1092
|
+
"options": []
|
|
1093
|
+
},
|
|
1094
|
+
"nano-icon-button/label": {
|
|
1095
|
+
"type": "string",
|
|
1096
|
+
"description": "A description that gets read by screen readers and other assistive devices. For optimal accessibility, you should\nalways include a label that describes what the icon button does.",
|
|
1097
|
+
"options": []
|
|
1098
|
+
},
|
|
1099
|
+
"nano-icon-button/name": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"description": "The name of the button, submitted as a pair with the button’s value as part of the form data.",
|
|
1102
|
+
"options": []
|
|
1103
|
+
},
|
|
1104
|
+
"nano-icon-button/target": {
|
|
1105
|
+
"type": "string",
|
|
1106
|
+
"description": "Specifies where to display the linked URL. Only applies when an `href` is provided.\nSpecial keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`.",
|
|
1107
|
+
"options": []
|
|
1108
|
+
},
|
|
1109
|
+
"nano-icon-button/type": {
|
|
1110
|
+
"type": "\"button\" | \"reset\" | \"submit\"",
|
|
1111
|
+
"description": "The default behavior of the button.",
|
|
1112
|
+
"options": [
|
|
1113
|
+
"button",
|
|
1114
|
+
"reset",
|
|
1115
|
+
"submit"
|
|
1116
|
+
]
|
|
1117
|
+
},
|
|
1118
|
+
"nano-icon-button/value": {
|
|
1119
|
+
"type": "string",
|
|
1120
|
+
"description": "Defines the value associated with the button’s name when it’s submitted with the form data.",
|
|
1121
|
+
"options": []
|
|
1122
|
+
},
|
|
1123
|
+
"nano-img/alt": {
|
|
1124
|
+
"type": "string",
|
|
1125
|
+
"description": "This attribute defines the alternative text describing the image.\nUsers will see this text displayed if the image URL is wrong, or if the image is not yet downloaded.",
|
|
1126
|
+
"options": []
|
|
1127
|
+
},
|
|
1128
|
+
"nano-img/auto-height": {
|
|
1129
|
+
"type": "\"content\" | \"image\"",
|
|
1130
|
+
"description": "When the image is rendered as a background, and there is no preset dimensions of the component,\nyou can set how the component height will be set. Via image size or via the content *",
|
|
1131
|
+
"options": [
|
|
1132
|
+
"content",
|
|
1133
|
+
"image"
|
|
1134
|
+
]
|
|
1135
|
+
},
|
|
1136
|
+
"nano-img/background": {
|
|
1137
|
+
"type": "boolean",
|
|
1138
|
+
"description": "Render the image as a background image *",
|
|
1139
|
+
"options": []
|
|
1140
|
+
},
|
|
1141
|
+
"nano-img/lazy": {
|
|
1142
|
+
"type": "boolean",
|
|
1143
|
+
"description": "Render image lazily, when it comes into the browser viewport *",
|
|
1144
|
+
"options": []
|
|
1145
|
+
},
|
|
1146
|
+
"nano-img/src": {
|
|
1147
|
+
"type": "string",
|
|
1148
|
+
"description": "The image URL. This attribute is mandatory for the `<img>` element.",
|
|
1149
|
+
"options": []
|
|
1150
|
+
},
|
|
1151
|
+
"nano-img/src-set": {
|
|
1152
|
+
"type": "string",
|
|
1153
|
+
"description": "Optional list string providing media sizes with corresponding image srcs.\ni.e. show img-x at 300px wide. Format `srcSet=\"200w src/imgSmall.jpg, 500h src/imgMed.png\"`",
|
|
1154
|
+
"options": []
|
|
1155
|
+
},
|
|
1156
|
+
"nano-input/accept": {
|
|
1157
|
+
"type": "string",
|
|
1158
|
+
"description": "If the value of the type attribute is `\"file\"`, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers.",
|
|
1159
|
+
"options": []
|
|
1160
|
+
},
|
|
1161
|
+
"nano-input/autocapitalise": {
|
|
1162
|
+
"type": "\"characters\" | \"none\" | \"sentences\" | \"words\"",
|
|
1163
|
+
"description": "Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.",
|
|
1164
|
+
"options": [
|
|
1165
|
+
"characters",
|
|
1166
|
+
"none",
|
|
1167
|
+
"sentences",
|
|
1168
|
+
"words"
|
|
1169
|
+
]
|
|
1170
|
+
},
|
|
1171
|
+
"nano-input/autocomplete": {
|
|
1172
|
+
"type": "\"off\" | \"on\"",
|
|
1173
|
+
"description": "Indicates whether the value of the control can be automatically completed by the browser.",
|
|
1174
|
+
"options": [
|
|
1175
|
+
"off",
|
|
1176
|
+
"on"
|
|
1177
|
+
]
|
|
1178
|
+
},
|
|
1179
|
+
"nano-input/autocorrect": {
|
|
1180
|
+
"type": "\"off\" | \"on\"",
|
|
1181
|
+
"description": "Whether auto correction should be enabled when the user is entering/editing the text value.",
|
|
1182
|
+
"options": [
|
|
1183
|
+
"off",
|
|
1184
|
+
"on"
|
|
1185
|
+
]
|
|
1186
|
+
},
|
|
1187
|
+
"nano-input/autofocus": {
|
|
1188
|
+
"type": "boolean",
|
|
1189
|
+
"description": "This Boolean attribute lets you specify that a form control should have input focus when the page loads.",
|
|
1190
|
+
"options": []
|
|
1191
|
+
},
|
|
1192
|
+
"nano-input/clear-input": {
|
|
1193
|
+
"type": "boolean",
|
|
1194
|
+
"description": "If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input.",
|
|
1195
|
+
"options": []
|
|
1196
|
+
},
|
|
1197
|
+
"nano-input/clear-on-edit": {
|
|
1198
|
+
"type": "boolean",
|
|
1199
|
+
"description": "If `true`, the value will be cleared after focus upon edit. Defaults to `true` when `type` is `\"password\"`, `false` for all other types.",
|
|
1200
|
+
"options": []
|
|
1201
|
+
},
|
|
1202
|
+
"nano-input/color": {
|
|
1203
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
1204
|
+
"description": "The color to use from the application's color palette.",
|
|
1205
|
+
"options": [
|
|
1206
|
+
"danger",
|
|
1207
|
+
"dark",
|
|
1208
|
+
"light",
|
|
1209
|
+
"medium",
|
|
1210
|
+
"primary",
|
|
1211
|
+
"secondary",
|
|
1212
|
+
"success",
|
|
1213
|
+
"tertiary",
|
|
1214
|
+
"warning"
|
|
1215
|
+
]
|
|
1216
|
+
},
|
|
1217
|
+
"nano-input/debounce": {
|
|
1218
|
+
"type": "number",
|
|
1219
|
+
"description": "Set the amount of time, in milliseconds, to wait to trigger the `nanoChange` event after each keystroke.",
|
|
1220
|
+
"options": []
|
|
1221
|
+
},
|
|
1222
|
+
"nano-input/disabled": {
|
|
1223
|
+
"type": "boolean",
|
|
1224
|
+
"description": "If `true`, the user cannot interact with the input.",
|
|
1225
|
+
"options": []
|
|
1226
|
+
},
|
|
1227
|
+
"nano-input/float-label": {
|
|
1228
|
+
"type": "boolean",
|
|
1229
|
+
"description": "Enable floating label behaviour. Will disable placeholder if set.",
|
|
1230
|
+
"options": []
|
|
1231
|
+
},
|
|
1232
|
+
"nano-input/form": {
|
|
1233
|
+
"type": "string",
|
|
1234
|
+
"description": "The form element to associate the select with (its form owner). Must be the id of a form.",
|
|
1235
|
+
"options": []
|
|
1236
|
+
},
|
|
1237
|
+
"nano-input/hide-label": {
|
|
1238
|
+
"type": "boolean",
|
|
1239
|
+
"description": "Visually hide the label - but make it accessible.",
|
|
1240
|
+
"options": []
|
|
1241
|
+
},
|
|
1242
|
+
"nano-input/inputmode": {
|
|
1243
|
+
"type": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
|
1244
|
+
"description": "A hint to the browser for which keyboard to display.\nPossible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n`\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.",
|
|
1245
|
+
"options": [
|
|
1246
|
+
"decimal",
|
|
1247
|
+
"email",
|
|
1248
|
+
"none",
|
|
1249
|
+
"numeric",
|
|
1250
|
+
"search",
|
|
1251
|
+
"tel",
|
|
1252
|
+
"text",
|
|
1253
|
+
"url"
|
|
1254
|
+
]
|
|
1255
|
+
},
|
|
1256
|
+
"nano-input/invalid": {
|
|
1257
|
+
"type": "boolean",
|
|
1258
|
+
"description": "This will be true when the control is in an invalid state.\nValidity is determined by the `required` prop. Or if custom validity message is set. @readonly",
|
|
1259
|
+
"options": []
|
|
1260
|
+
},
|
|
1261
|
+
"nano-input/label": {
|
|
1262
|
+
"type": "string",
|
|
1263
|
+
"description": "String to place within a label element. Alternatively you may use a label slot.",
|
|
1264
|
+
"options": []
|
|
1265
|
+
},
|
|
1266
|
+
"nano-input/max": {
|
|
1267
|
+
"type": "string",
|
|
1268
|
+
"description": "The maximum value, which must not be less than its minimum (min attribute) value.",
|
|
1269
|
+
"options": []
|
|
1270
|
+
},
|
|
1271
|
+
"nano-input/maxlength": {
|
|
1272
|
+
"type": "number",
|
|
1273
|
+
"description": "If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.",
|
|
1274
|
+
"options": []
|
|
1275
|
+
},
|
|
1276
|
+
"nano-input/min": {
|
|
1277
|
+
"type": "string",
|
|
1278
|
+
"description": "The minimum value, which must not be greater than its maximum (max attribute) value.",
|
|
1279
|
+
"options": []
|
|
1280
|
+
},
|
|
1281
|
+
"nano-input/minlength": {
|
|
1282
|
+
"type": "number",
|
|
1283
|
+
"description": "If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.",
|
|
1284
|
+
"options": []
|
|
1285
|
+
},
|
|
1286
|
+
"nano-input/multiple": {
|
|
1287
|
+
"type": "boolean",
|
|
1288
|
+
"description": "If `true`, the user can enter more than one value. This attribute applies when the type attribute is set to `\"email\"` or `\"file\"`, otherwise it is ignored.",
|
|
1289
|
+
"options": []
|
|
1290
|
+
},
|
|
1291
|
+
"nano-input/name": {
|
|
1292
|
+
"type": "string",
|
|
1293
|
+
"description": "The name of the control, which is submitted with the form data.",
|
|
1294
|
+
"options": []
|
|
1295
|
+
},
|
|
1296
|
+
"nano-input/pattern": {
|
|
1297
|
+
"type": "string",
|
|
1298
|
+
"description": "A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.",
|
|
1299
|
+
"options": []
|
|
1300
|
+
},
|
|
1301
|
+
"nano-input/placeholder": {
|
|
1302
|
+
"type": "string",
|
|
1303
|
+
"description": "Instructional text that shows before the input has a value.",
|
|
1304
|
+
"options": []
|
|
1305
|
+
},
|
|
1306
|
+
"nano-input/readonly": {
|
|
1307
|
+
"type": "boolean",
|
|
1308
|
+
"description": "If `true`, the user cannot modify the value.",
|
|
1309
|
+
"options": []
|
|
1310
|
+
},
|
|
1311
|
+
"nano-input/required": {
|
|
1312
|
+
"type": "boolean",
|
|
1313
|
+
"description": "If `true`, the user must fill in a value before submitting a form.",
|
|
1314
|
+
"options": []
|
|
1315
|
+
},
|
|
1316
|
+
"nano-input/resize": {
|
|
1317
|
+
"type": "\"auto\" | \"false\" | \"true\"",
|
|
1318
|
+
"description": "relevant to type=\"textarea\". Vertical resizing - enable / disable or make automatic.",
|
|
1319
|
+
"options": [
|
|
1320
|
+
"auto",
|
|
1321
|
+
"false",
|
|
1322
|
+
"true"
|
|
1323
|
+
]
|
|
1324
|
+
},
|
|
1325
|
+
"nano-input/rows": {
|
|
1326
|
+
"type": "number",
|
|
1327
|
+
"description": "relevant to type=\"textarea\". Default number of rows to show",
|
|
1328
|
+
"options": []
|
|
1329
|
+
},
|
|
1330
|
+
"nano-input/show-char-count": {
|
|
1331
|
+
"type": "boolean",
|
|
1332
|
+
"description": "relevant to type=\"textarea\".",
|
|
1333
|
+
"options": []
|
|
1334
|
+
},
|
|
1335
|
+
"nano-input/show-inline-error": {
|
|
1336
|
+
"type": "boolean",
|
|
1337
|
+
"description": "Whether to show validation errors underneath input",
|
|
1338
|
+
"options": []
|
|
1339
|
+
},
|
|
1340
|
+
"nano-input/size": {
|
|
1341
|
+
"type": "number",
|
|
1342
|
+
"description": "The initial size of the control. This value is in pixels unless the value of the type attribute is `\"text\"` or `\"password\"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.",
|
|
1343
|
+
"options": []
|
|
1344
|
+
},
|
|
1345
|
+
"nano-input/spellcheck": {
|
|
1346
|
+
"type": "boolean",
|
|
1347
|
+
"description": "If `true`, the element will have its spelling and grammar checked.",
|
|
1348
|
+
"options": []
|
|
1349
|
+
},
|
|
1350
|
+
"nano-input/step": {
|
|
1351
|
+
"type": "string",
|
|
1352
|
+
"description": "Works with the min and max attributes to limit the increments at which a value can be set.\nPossible values are: `\"any\"` or a positive floating point number.",
|
|
1353
|
+
"options": []
|
|
1354
|
+
},
|
|
1355
|
+
"nano-input/type": {
|
|
1356
|
+
"type": "\"date\" | \"email\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"time\" | \"url\"",
|
|
1357
|
+
"description": "The type of control to display. The default type is text.",
|
|
1358
|
+
"options": [
|
|
1359
|
+
"date",
|
|
1360
|
+
"email",
|
|
1361
|
+
"number",
|
|
1362
|
+
"password",
|
|
1363
|
+
"search",
|
|
1364
|
+
"tel",
|
|
1365
|
+
"text",
|
|
1366
|
+
"textarea",
|
|
1367
|
+
"time",
|
|
1368
|
+
"url"
|
|
1369
|
+
]
|
|
1370
|
+
},
|
|
1371
|
+
"nano-input/validate-on": {
|
|
1372
|
+
"type": "\"dirty\" | \"submit\" | \"submitThenDirty\"",
|
|
1373
|
+
"description": "When should the field perform validation",
|
|
1374
|
+
"options": [
|
|
1375
|
+
"dirty",
|
|
1376
|
+
"submit",
|
|
1377
|
+
"submitThenDirty"
|
|
1378
|
+
]
|
|
1379
|
+
},
|
|
1380
|
+
"nano-input/value": {
|
|
1381
|
+
"type": "string",
|
|
1382
|
+
"description": "The value of the input.",
|
|
1383
|
+
"options": []
|
|
1384
|
+
},
|
|
1385
|
+
"nano-menu-drawer/hide-height": {
|
|
1386
|
+
"type": "boolean",
|
|
1387
|
+
"description": "Should element hide and move items into the nano-global-nav when items are cut off\n(this will only work when nano-menu-drawer is displayed at full screen)",
|
|
1388
|
+
"options": []
|
|
1389
|
+
},
|
|
1390
|
+
"nano-menu-drawer/hide-width": {
|
|
1391
|
+
"type": "number",
|
|
1392
|
+
"description": "Screen width to hide the menu drawer and move the items into the nano-global-nav",
|
|
1393
|
+
"options": []
|
|
1394
|
+
},
|
|
1395
|
+
"nano-menu-drawer/open": {
|
|
1396
|
+
"type": "boolean",
|
|
1397
|
+
"description": "Set the initial menu drawer open or closed",
|
|
1398
|
+
"options": []
|
|
1399
|
+
},
|
|
1400
|
+
"nano-menu-drawer/save-state": {
|
|
1401
|
+
"type": "boolean",
|
|
1402
|
+
"description": "Save open state to localStorage",
|
|
1403
|
+
"options": []
|
|
1404
|
+
},
|
|
1405
|
+
"nano-nav-item/close-on-blur": {
|
|
1406
|
+
"type": "boolean",
|
|
1407
|
+
"description": "Whether secondary menus should close on blur",
|
|
1408
|
+
"options": []
|
|
1409
|
+
},
|
|
1410
|
+
"nano-nav-item/disabled": {
|
|
1411
|
+
"type": "boolean",
|
|
1412
|
+
"description": "Disable the nav item",
|
|
1413
|
+
"options": []
|
|
1414
|
+
},
|
|
1415
|
+
"nano-nav-item/href": {
|
|
1416
|
+
"type": "string",
|
|
1417
|
+
"description": "Href to link to",
|
|
1418
|
+
"options": []
|
|
1419
|
+
},
|
|
1420
|
+
"nano-nav-item/open": {
|
|
1421
|
+
"type": "boolean",
|
|
1422
|
+
"description": "Whether a secondary menu should be or is currently open",
|
|
1423
|
+
"options": []
|
|
1424
|
+
},
|
|
1425
|
+
"nano-nav-item/secondary-active-width": {
|
|
1426
|
+
"type": "number",
|
|
1427
|
+
"description": "Screen pixel width to activate the secondary menu",
|
|
1428
|
+
"options": []
|
|
1429
|
+
},
|
|
1430
|
+
"nano-nav-item/secondary-fallback": {
|
|
1431
|
+
"type": "() => void",
|
|
1432
|
+
"description": "Secondary fallback function for when the secondary menu is no longer active.",
|
|
1433
|
+
"options": []
|
|
1434
|
+
},
|
|
1435
|
+
"nano-nav-item/selected": {
|
|
1436
|
+
"type": "boolean",
|
|
1437
|
+
"description": "Whether this menu item is currently 'selected'",
|
|
1438
|
+
"options": []
|
|
1439
|
+
},
|
|
1440
|
+
"nano-nav-item/target": {
|
|
1441
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\"",
|
|
1442
|
+
"description": "Target to use for links",
|
|
1443
|
+
"options": [
|
|
1444
|
+
"_blank",
|
|
1445
|
+
"_parent",
|
|
1446
|
+
"_self",
|
|
1447
|
+
"_top"
|
|
1448
|
+
]
|
|
1449
|
+
},
|
|
1450
|
+
"nano-range/color": {
|
|
1451
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
1452
|
+
"description": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`",
|
|
1453
|
+
"options": [
|
|
1454
|
+
"danger",
|
|
1455
|
+
"dark",
|
|
1456
|
+
"light",
|
|
1457
|
+
"medium",
|
|
1458
|
+
"primary",
|
|
1459
|
+
"secondary",
|
|
1460
|
+
"success",
|
|
1461
|
+
"tertiary",
|
|
1462
|
+
"warning"
|
|
1463
|
+
]
|
|
1464
|
+
},
|
|
1465
|
+
"nano-range/debounce": {
|
|
1466
|
+
"type": "number",
|
|
1467
|
+
"description": "How long, in milliseconds, to wait to trigger the\n`nanoChange` event after each change in the range value.",
|
|
1468
|
+
"options": []
|
|
1469
|
+
},
|
|
1470
|
+
"nano-range/disabled": {
|
|
1471
|
+
"type": "boolean",
|
|
1472
|
+
"description": "If `true`, the user cannot interact with the range.",
|
|
1473
|
+
"options": []
|
|
1474
|
+
},
|
|
1475
|
+
"nano-range/dual-knobs": {
|
|
1476
|
+
"type": "boolean",
|
|
1477
|
+
"description": "Show two knobs.",
|
|
1478
|
+
"options": []
|
|
1479
|
+
},
|
|
1480
|
+
"nano-range/max": {
|
|
1481
|
+
"type": "number",
|
|
1482
|
+
"description": "Maximum integer value of the range.",
|
|
1483
|
+
"options": []
|
|
1484
|
+
},
|
|
1485
|
+
"nano-range/min": {
|
|
1486
|
+
"type": "number",
|
|
1487
|
+
"description": "Minimum integer value of the range.",
|
|
1488
|
+
"options": []
|
|
1489
|
+
},
|
|
1490
|
+
"nano-range/name": {
|
|
1491
|
+
"type": "string",
|
|
1492
|
+
"description": "The name of the control, which is submitted with the form data.",
|
|
1493
|
+
"options": []
|
|
1494
|
+
},
|
|
1495
|
+
"nano-range/pin": {
|
|
1496
|
+
"type": "boolean",
|
|
1497
|
+
"description": "If `true`, a pin with integer value is shown when the knob\nis pressed.",
|
|
1498
|
+
"options": []
|
|
1499
|
+
},
|
|
1500
|
+
"nano-range/snaps": {
|
|
1501
|
+
"type": "boolean",
|
|
1502
|
+
"description": "If `true`, the knob snaps to tick marks evenly spaced based\non the step property value.",
|
|
1503
|
+
"options": []
|
|
1504
|
+
},
|
|
1505
|
+
"nano-range/step": {
|
|
1506
|
+
"type": "number",
|
|
1507
|
+
"description": "Specifies the value granularity.",
|
|
1508
|
+
"options": []
|
|
1509
|
+
},
|
|
1510
|
+
"nano-range/ticks": {
|
|
1511
|
+
"type": "boolean",
|
|
1512
|
+
"description": "If `true`, tick marks are displayed based on the step value.\nOnly applies when `snaps` is `true`.",
|
|
1513
|
+
"options": []
|
|
1514
|
+
},
|
|
1515
|
+
"nano-range/value": {
|
|
1516
|
+
"type": "number | { lower: number; upper: number; }",
|
|
1517
|
+
"description": "the value of the range.",
|
|
1518
|
+
"options": []
|
|
1519
|
+
},
|
|
1520
|
+
"nano-rating/disabled": {
|
|
1521
|
+
"type": "boolean",
|
|
1522
|
+
"description": "Disables the rating.",
|
|
1523
|
+
"options": []
|
|
1524
|
+
},
|
|
1525
|
+
"nano-rating/max": {
|
|
1526
|
+
"type": "number",
|
|
1527
|
+
"description": "The highest rating to show.",
|
|
1528
|
+
"options": []
|
|
1529
|
+
},
|
|
1530
|
+
"nano-rating/name": {
|
|
1531
|
+
"type": "string",
|
|
1532
|
+
"description": "The name of the control, which is submitted with the form data.",
|
|
1533
|
+
"options": []
|
|
1534
|
+
},
|
|
1535
|
+
"nano-rating/precision": {
|
|
1536
|
+
"type": "number",
|
|
1537
|
+
"description": "The minimum increment value allowed by the control.",
|
|
1538
|
+
"options": []
|
|
1539
|
+
},
|
|
1540
|
+
"nano-rating/readonly": {
|
|
1541
|
+
"type": "boolean",
|
|
1542
|
+
"description": "Makes the rating readonly.",
|
|
1543
|
+
"options": []
|
|
1544
|
+
},
|
|
1545
|
+
"nano-rating/symbol": {
|
|
1546
|
+
"type": "(_: number) => string",
|
|
1547
|
+
"description": "A function that returns the symbols to display.\nAllows for more granular control than `symbol-name`.\nAccepts an option `value` parameter you can use to map a specific symbol to a value.",
|
|
1548
|
+
"options": []
|
|
1549
|
+
},
|
|
1550
|
+
"nano-rating/symbol-name": {
|
|
1551
|
+
"type": "string",
|
|
1552
|
+
"description": "The name of the control, which is submitted with the form data.",
|
|
1553
|
+
"options": []
|
|
1554
|
+
},
|
|
1555
|
+
"nano-rating/value": {
|
|
1556
|
+
"type": "number",
|
|
1557
|
+
"description": "The current rating.",
|
|
1558
|
+
"options": []
|
|
1559
|
+
},
|
|
1560
|
+
"nano-resize-observe/states": {
|
|
1561
|
+
"type": "string",
|
|
1562
|
+
"description": "string list of sizes and optional class-names. Adds class-names and fires nanoResizeStateChange events. Upon hitting breakpoints.\nFormat: `states=\"800w, 300h class1 class2\"`",
|
|
1563
|
+
"options": []
|
|
1564
|
+
},
|
|
1565
|
+
"nano-select/allow-custom-values": {
|
|
1566
|
+
"type": "boolean",
|
|
1567
|
+
"description": "in multiple mode, allow users to enter their own values",
|
|
1568
|
+
"options": []
|
|
1569
|
+
},
|
|
1570
|
+
"nano-select/autofocus": {
|
|
1571
|
+
"type": "boolean",
|
|
1572
|
+
"description": "This Boolean attribute lets you specify that a form control should have select focus when the page loads.",
|
|
1573
|
+
"options": []
|
|
1574
|
+
},
|
|
1575
|
+
"nano-select/clear-select": {
|
|
1576
|
+
"type": "boolean",
|
|
1577
|
+
"description": "If `true`, a clear icon will appear in the select when there is a value. Clicking it clears the select.",
|
|
1578
|
+
"options": []
|
|
1579
|
+
},
|
|
1580
|
+
"nano-select/color": {
|
|
1581
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
1582
|
+
"description": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.",
|
|
1583
|
+
"options": [
|
|
1584
|
+
"danger",
|
|
1585
|
+
"dark",
|
|
1586
|
+
"light",
|
|
1587
|
+
"medium",
|
|
1588
|
+
"primary",
|
|
1589
|
+
"secondary",
|
|
1590
|
+
"success",
|
|
1591
|
+
"tertiary",
|
|
1592
|
+
"warning"
|
|
1593
|
+
]
|
|
1594
|
+
},
|
|
1595
|
+
"nano-select/debounce": {
|
|
1596
|
+
"type": "number",
|
|
1597
|
+
"description": "Set the amount of time, in milliseconds, to wait to trigger the `nanoSearchChange` event after each keystroke.",
|
|
1598
|
+
"options": []
|
|
1599
|
+
},
|
|
1600
|
+
"nano-select/disabled": {
|
|
1601
|
+
"type": "boolean",
|
|
1602
|
+
"description": "If `true`, the user cannot interact with the select.",
|
|
1603
|
+
"options": []
|
|
1604
|
+
},
|
|
1605
|
+
"nano-select/float-label": {
|
|
1606
|
+
"type": "boolean",
|
|
1607
|
+
"description": "Enable floating label behaviour. Will disable placeholder if set.",
|
|
1608
|
+
"options": []
|
|
1609
|
+
},
|
|
1610
|
+
"nano-select/form": {
|
|
1611
|
+
"type": "string",
|
|
1612
|
+
"description": "The form element to associate the select with (its form owner). Must be the id of a form.",
|
|
1613
|
+
"options": []
|
|
1614
|
+
},
|
|
1615
|
+
"nano-select/hide-label": {
|
|
1616
|
+
"type": "boolean",
|
|
1617
|
+
"description": "Visually hide the label - but make it accessible.",
|
|
1618
|
+
"options": []
|
|
1619
|
+
},
|
|
1620
|
+
"nano-select/invalid": {
|
|
1621
|
+
"type": "boolean",
|
|
1622
|
+
"description": "This will be true when the control is in an invalid state.\nValidity is determined by the `required` prop. Or if custom validity message is set.",
|
|
1623
|
+
"options": []
|
|
1624
|
+
},
|
|
1625
|
+
"nano-select/label": {
|
|
1626
|
+
"type": "string",
|
|
1627
|
+
"description": "String to place within a label element.",
|
|
1628
|
+
"options": []
|
|
1629
|
+
},
|
|
1630
|
+
"nano-select/mask": {
|
|
1631
|
+
"type": "boolean",
|
|
1632
|
+
"description": "Hide the native select element and cover with a value 'mask'.\nEnables a fluid nano-select width upon value change (if required). Doesn't work with multiple=\"true\".",
|
|
1633
|
+
"options": []
|
|
1634
|
+
},
|
|
1635
|
+
"nano-select/max": {
|
|
1636
|
+
"type": "number",
|
|
1637
|
+
"description": "Maximum number of options that can be selected when multiple is true",
|
|
1638
|
+
"options": []
|
|
1639
|
+
},
|
|
1640
|
+
"nano-select/min": {
|
|
1641
|
+
"type": "number",
|
|
1642
|
+
"description": "Minimum number of options that can be selected when multiple is true",
|
|
1643
|
+
"options": []
|
|
1644
|
+
},
|
|
1645
|
+
"nano-select/multiple": {
|
|
1646
|
+
"type": "boolean",
|
|
1647
|
+
"description": "If `true`, the user can enter more than one value. This attribute applies when the type attribute is set to `\"email\"` or `\"file\"`, otherwise it is ignored.",
|
|
1648
|
+
"options": []
|
|
1649
|
+
},
|
|
1650
|
+
"nano-select/name": {
|
|
1651
|
+
"type": "string",
|
|
1652
|
+
"description": "The name of the control, which is submitted with the form data.",
|
|
1653
|
+
"options": []
|
|
1654
|
+
},
|
|
1655
|
+
"nano-select/native": {
|
|
1656
|
+
"type": "boolean",
|
|
1657
|
+
"description": "Whether to use native <select> elements. Setting to false will use a similar UI as multiple=\"true\"",
|
|
1658
|
+
"options": []
|
|
1659
|
+
},
|
|
1660
|
+
"nano-select/options": {
|
|
1661
|
+
"type": "(string | { label: string; value?: string; })[]",
|
|
1662
|
+
"description": "You can set options via js. domElement.options = ['option 1', 'option 2'] or [{label: 'option 1', value: 'opt-1'}]",
|
|
1663
|
+
"options": []
|
|
1664
|
+
},
|
|
1665
|
+
"nano-select/placeholder": {
|
|
1666
|
+
"type": "string",
|
|
1667
|
+
"description": "Instructional text that shows before the select has a value. Text set here will be placed inside the label when a value is set. If you don't want this behaviour just set the first option to have no value.",
|
|
1668
|
+
"options": []
|
|
1669
|
+
},
|
|
1670
|
+
"nano-select/readonly": {
|
|
1671
|
+
"type": "boolean",
|
|
1672
|
+
"description": "If `true`, the user cannot modify the value.",
|
|
1673
|
+
"options": []
|
|
1674
|
+
},
|
|
1675
|
+
"nano-select/required": {
|
|
1676
|
+
"type": "boolean",
|
|
1677
|
+
"description": "If `true`, the user must fill in a value before submitting a form.",
|
|
1678
|
+
"options": []
|
|
1679
|
+
},
|
|
1680
|
+
"nano-select/show-inline-error": {
|
|
1681
|
+
"type": "boolean",
|
|
1682
|
+
"description": "Whether to show validation errors underneath input",
|
|
1683
|
+
"options": []
|
|
1684
|
+
},
|
|
1685
|
+
"nano-select/size": {
|
|
1686
|
+
"type": "number",
|
|
1687
|
+
"description": "The initial size of the control.",
|
|
1688
|
+
"options": []
|
|
1689
|
+
},
|
|
1690
|
+
"nano-select/validate-on": {
|
|
1691
|
+
"type": "\"dirty\" | \"submit\" | \"submitThenDirty\"",
|
|
1692
|
+
"description": "When should the field perform validation",
|
|
1693
|
+
"options": [
|
|
1694
|
+
"dirty",
|
|
1695
|
+
"submit",
|
|
1696
|
+
"submitThenDirty"
|
|
1697
|
+
]
|
|
1698
|
+
},
|
|
1699
|
+
"nano-select/value": {
|
|
1700
|
+
"type": "string | string[]",
|
|
1701
|
+
"description": "The value of the select.",
|
|
1702
|
+
"options": []
|
|
1703
|
+
},
|
|
1704
|
+
"nano-select-option/disabled": {
|
|
1705
|
+
"type": "boolean",
|
|
1706
|
+
"description": "Whether this option should be disabled",
|
|
1707
|
+
"options": []
|
|
1708
|
+
},
|
|
1709
|
+
"nano-select-option/label": {
|
|
1710
|
+
"type": "string",
|
|
1711
|
+
"description": "Label of the option",
|
|
1712
|
+
"options": []
|
|
1713
|
+
},
|
|
1714
|
+
"nano-select-option/selected": {
|
|
1715
|
+
"type": "boolean",
|
|
1716
|
+
"description": "Whether this option is selected",
|
|
1717
|
+
"options": []
|
|
1718
|
+
},
|
|
1719
|
+
"nano-select-option/value": {
|
|
1720
|
+
"type": "string",
|
|
1721
|
+
"description": "Value of the option",
|
|
1722
|
+
"options": []
|
|
1723
|
+
},
|
|
1724
|
+
"nano-skeleton/animated": {
|
|
1725
|
+
"type": "boolean",
|
|
1726
|
+
"description": "When `true`, the skeleton will animate.",
|
|
1727
|
+
"options": []
|
|
1728
|
+
},
|
|
1729
|
+
"nano-slide/ready": {
|
|
1730
|
+
"type": "boolean",
|
|
1731
|
+
"description": "Used to to inform the parent slides components of readiness.\nThis will automatically be set to true when the slide has loaded but can be set and updated manually.",
|
|
1732
|
+
"options": []
|
|
1733
|
+
},
|
|
1734
|
+
"nano-slides/animation": {
|
|
1735
|
+
"type": "\"fade\" | \"parallax\" | \"scroll\"",
|
|
1736
|
+
"description": "Animation presets.",
|
|
1737
|
+
"options": [
|
|
1738
|
+
"fade",
|
|
1739
|
+
"parallax",
|
|
1740
|
+
"scroll"
|
|
1741
|
+
]
|
|
1742
|
+
},
|
|
1743
|
+
"nano-slides/autoplay": {
|
|
1744
|
+
"type": "boolean | number | string",
|
|
1745
|
+
"description": "time duration, in ms, to automatically advance slides",
|
|
1746
|
+
"options": []
|
|
1747
|
+
},
|
|
1748
|
+
"nano-slides/current-slide": {
|
|
1749
|
+
"type": "number",
|
|
1750
|
+
"description": "Zero-based index of the selected cell.",
|
|
1751
|
+
"options": []
|
|
1752
|
+
},
|
|
1753
|
+
"nano-slides/fullscreen": {
|
|
1754
|
+
"type": "boolean",
|
|
1755
|
+
"description": "If `true`, make the slider fullscreen.",
|
|
1756
|
+
"options": []
|
|
1757
|
+
},
|
|
1758
|
+
"nano-slides/fullscreenbtn": {
|
|
1759
|
+
"type": "boolean",
|
|
1760
|
+
"description": "If `true`, show a fullscreen button.",
|
|
1761
|
+
"options": []
|
|
1762
|
+
},
|
|
1763
|
+
"nano-slides/navbtns": {
|
|
1764
|
+
"type": "boolean",
|
|
1765
|
+
"description": "If `true`, show the next / prev buttons.",
|
|
1766
|
+
"options": []
|
|
1767
|
+
},
|
|
1768
|
+
"nano-slides/options": {
|
|
1769
|
+
"type": "FlickityOptions",
|
|
1770
|
+
"description": "Options to pass to the flickity instance.\nSee https://flickity.metafizzy.co/options.html for valid options",
|
|
1771
|
+
"options": []
|
|
1772
|
+
},
|
|
1773
|
+
"nano-slides/pager": {
|
|
1774
|
+
"type": "boolean",
|
|
1775
|
+
"description": "If `true`, show the pagination.",
|
|
1776
|
+
"options": []
|
|
1777
|
+
},
|
|
1778
|
+
"nano-spinner/overlay": {
|
|
1779
|
+
"type": "boolean",
|
|
1780
|
+
"description": "Displays absolutely with an overlay",
|
|
1781
|
+
"options": []
|
|
1782
|
+
},
|
|
1783
|
+
"nano-spinner/type": {
|
|
1784
|
+
"type": "\"circle\" | \"dna\"",
|
|
1785
|
+
"description": "The type of spinner animation. dna should be used for larger, page loads. Circle for smaller component loaders.",
|
|
1786
|
+
"options": [
|
|
1787
|
+
"circle",
|
|
1788
|
+
"dna"
|
|
1789
|
+
]
|
|
1790
|
+
},
|
|
1791
|
+
"nano-sticker/auto-resize": {
|
|
1792
|
+
"type": "boolean",
|
|
1793
|
+
"description": "Only applicable to root stickers. When applied the sticker will grow or shrink to the scrollParent size",
|
|
1794
|
+
"options": []
|
|
1795
|
+
},
|
|
1796
|
+
"nano-sticker/break-point-max": {
|
|
1797
|
+
"type": "number",
|
|
1798
|
+
"description": "The max width of the item to implement sticky behaviour.",
|
|
1799
|
+
"options": []
|
|
1800
|
+
},
|
|
1801
|
+
"nano-sticker/break-point-min": {
|
|
1802
|
+
"type": "number",
|
|
1803
|
+
"description": "The min width of the item to implement sticky behaviour.",
|
|
1804
|
+
"options": []
|
|
1805
|
+
},
|
|
1806
|
+
"nano-sticker/hide-on-new-stickers": {
|
|
1807
|
+
"type": "boolean",
|
|
1808
|
+
"description": "When applied stickers will hide upon new stickers being stuck to the same position",
|
|
1809
|
+
"options": []
|
|
1810
|
+
},
|
|
1811
|
+
"nano-sticker/is-sticky": {
|
|
1812
|
+
"type": "boolean",
|
|
1813
|
+
"description": "Manually enable / disabled sticky behaviour",
|
|
1814
|
+
"options": []
|
|
1815
|
+
},
|
|
1816
|
+
"nano-sticker/offset": {
|
|
1817
|
+
"type": "number | { v: number; h: number; }",
|
|
1818
|
+
"description": "Distance the item should be stuck from the sticky edge.",
|
|
1819
|
+
"options": []
|
|
1820
|
+
},
|
|
1821
|
+
"nano-sticker/position": {
|
|
1822
|
+
"type": "\"bottom\" | \"top\"",
|
|
1823
|
+
"description": "The edge of the scroll-parent to stick to",
|
|
1824
|
+
"options": [
|
|
1825
|
+
"bottom",
|
|
1826
|
+
"top"
|
|
1827
|
+
]
|
|
1828
|
+
},
|
|
1829
|
+
"nano-sticker/quiet-mode": {
|
|
1830
|
+
"type": "\"off\" | \"on\" | { h: number; w: number; }",
|
|
1831
|
+
"description": "When applied, the sticker will hide when the scroll-parent\nis scrolling away from the sticker's stuck position and show when scrolling toward it.\nBy default this will apply when the parent is below either the h or w dimensions",
|
|
1832
|
+
"options": [
|
|
1833
|
+
"off",
|
|
1834
|
+
"on"
|
|
1835
|
+
]
|
|
1836
|
+
},
|
|
1837
|
+
"nano-sticker/scroll-parent": {
|
|
1838
|
+
"type": "Document | HTMLElement",
|
|
1839
|
+
"description": "Define which scroll element to listen & stick to.\nBy default, it will find traverse the DOM to find the closest.",
|
|
1840
|
+
"options": []
|
|
1841
|
+
},
|
|
1842
|
+
"nano-sticker/stick-to": {
|
|
1843
|
+
"type": "string",
|
|
1844
|
+
"description": "Upon being stuck, attach the sticker to another sticker element.\nA JS query selector that returns a <nano-sticker>",
|
|
1845
|
+
"options": []
|
|
1846
|
+
},
|
|
1847
|
+
"nano-tab/active": {
|
|
1848
|
+
"type": "boolean",
|
|
1849
|
+
"description": "The active, selected tab. If none active, the first will automatically be selected.",
|
|
1850
|
+
"options": []
|
|
1851
|
+
},
|
|
1852
|
+
"nano-tab/disabled": {
|
|
1853
|
+
"type": "boolean",
|
|
1854
|
+
"description": "Set to true to draw the tab in an active state.",
|
|
1855
|
+
"options": []
|
|
1856
|
+
},
|
|
1857
|
+
"nano-tab/panel": {
|
|
1858
|
+
"type": "string",
|
|
1859
|
+
"description": "The name of the tab panel the tab will control. The panel must be located in the same tab group.",
|
|
1860
|
+
"options": []
|
|
1861
|
+
},
|
|
1862
|
+
"nano-tab-content/active": {
|
|
1863
|
+
"type": "boolean",
|
|
1864
|
+
"description": "When true, the tab content will be shown.",
|
|
1865
|
+
"options": []
|
|
1866
|
+
},
|
|
1867
|
+
"nano-tab-content/name": {
|
|
1868
|
+
"type": "string",
|
|
1869
|
+
"description": "The tab panel's name.",
|
|
1870
|
+
"options": []
|
|
1871
|
+
},
|
|
1872
|
+
"nano-tab-group/color": {
|
|
1873
|
+
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
1874
|
+
"description": "The color to use from the application's color palette.",
|
|
1875
|
+
"options": [
|
|
1876
|
+
"danger",
|
|
1877
|
+
"dark",
|
|
1878
|
+
"light",
|
|
1879
|
+
"medium",
|
|
1880
|
+
"primary",
|
|
1881
|
+
"secondary",
|
|
1882
|
+
"success",
|
|
1883
|
+
"tertiary",
|
|
1884
|
+
"warning"
|
|
1885
|
+
]
|
|
1886
|
+
},
|
|
1887
|
+
"nano-tab-group/no-scroll-controls": {
|
|
1888
|
+
"type": "boolean",
|
|
1889
|
+
"description": "Disables the scroll arrows that appear when tabs overflow.",
|
|
1890
|
+
"options": []
|
|
1891
|
+
},
|
|
1892
|
+
"nano-tab-group/placement": {
|
|
1893
|
+
"type": "\"start\" | \"top\"",
|
|
1894
|
+
"description": "The placement of the tabs.",
|
|
1895
|
+
"options": [
|
|
1896
|
+
"start",
|
|
1897
|
+
"top"
|
|
1898
|
+
]
|
|
1899
|
+
},
|
|
1900
|
+
"nano-tab-group/store-id": {
|
|
1901
|
+
"type": "string",
|
|
1902
|
+
"description": "Store the currently open tab (against this ID) in the component store.\nUse in conjunction with storeMethod",
|
|
1903
|
+
"options": []
|
|
1904
|
+
},
|
|
1905
|
+
"nano-tab-group/store-method": {
|
|
1906
|
+
"type": "\"local\" | \"session\" | \"url-hash\" | \"url-hash-push\" | \"url-query\" | \"url-query-push\"",
|
|
1907
|
+
"description": "The method of storage.\nEither session storage, url hash (after the '#') or url query (after the '?').",
|
|
1908
|
+
"options": [
|
|
1909
|
+
"local",
|
|
1910
|
+
"session",
|
|
1911
|
+
"url-hash",
|
|
1912
|
+
"url-hash-push",
|
|
1913
|
+
"url-query",
|
|
1914
|
+
"url-query-push"
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
"nano-tooltip/content": {
|
|
1918
|
+
"type": "string",
|
|
1919
|
+
"description": "The tooltip's content. Alternatively, you can use the content slot.",
|
|
1920
|
+
"options": []
|
|
1921
|
+
},
|
|
1922
|
+
"nano-tooltip/disabled": {
|
|
1923
|
+
"type": "boolean",
|
|
1924
|
+
"description": "Set to true to disable the tooltip so it won't show when triggered.",
|
|
1925
|
+
"options": []
|
|
1926
|
+
},
|
|
1927
|
+
"nano-tooltip/distance": {
|
|
1928
|
+
"type": "number",
|
|
1929
|
+
"description": "The distance in pixels from which to offset the tooltip away from its target.",
|
|
1930
|
+
"options": []
|
|
1931
|
+
},
|
|
1932
|
+
"nano-tooltip/open": {
|
|
1933
|
+
"type": "boolean",
|
|
1934
|
+
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
1935
|
+
"options": []
|
|
1936
|
+
},
|
|
1937
|
+
"nano-tooltip/placement": {
|
|
1938
|
+
"type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
1939
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
1940
|
+
"options": [
|
|
1941
|
+
"bottom",
|
|
1942
|
+
"bottom-end",
|
|
1943
|
+
"bottom-start",
|
|
1944
|
+
"left",
|
|
1945
|
+
"left-end",
|
|
1946
|
+
"left-start",
|
|
1947
|
+
"right",
|
|
1948
|
+
"right-end",
|
|
1949
|
+
"right-start",
|
|
1950
|
+
"top",
|
|
1951
|
+
"top-end",
|
|
1952
|
+
"top-start"
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1955
|
+
"nano-tooltip/skidding": {
|
|
1956
|
+
"type": "number",
|
|
1957
|
+
"description": "The distance in pixels from which to offset the tooltip along its target.",
|
|
1958
|
+
"options": []
|
|
1959
|
+
},
|
|
1960
|
+
"nano-tooltip/trigger": {
|
|
1961
|
+
"type": "string",
|
|
1962
|
+
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
1963
|
+
"options": []
|
|
1964
|
+
}
|
|
1965
|
+
}
|