@trilogy-ds/react 4.0.5-beta-1 → 4.0.5-beta-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,334 @@
1
+ export default {
2
+ "children": {
3
+ "type": "react",
4
+ "values": [
5
+ "undefined",
6
+ "null",
7
+ "string",
8
+ "number",
9
+ "false",
10
+ "true",
11
+ "JSXElementConstructor<any>>",
12
+ "ReactNode>",
13
+ "ReactPortal"
14
+ ]
15
+ },
16
+ "to": {
17
+ "type": "string",
18
+ "values": [
19
+ "undefined",
20
+ "string"
21
+ ]
22
+ },
23
+ "href": {
24
+ "type": "string",
25
+ "values": [
26
+ "undefined",
27
+ "string"
28
+ ]
29
+ },
30
+ "routerLink": {
31
+ "type": "function",
32
+ "values": [
33
+ "undefined",
34
+ "symbol",
35
+ "object",
36
+ "text",
37
+ "search",
38
+ "button",
39
+ "image",
40
+ "time",
41
+ "a",
42
+ "abbr",
43
+ "address",
44
+ "area",
45
+ "article",
46
+ "aside",
47
+ "audio",
48
+ "b",
49
+ "base",
50
+ "bdi",
51
+ "bdo",
52
+ "big",
53
+ "blockquote",
54
+ "body",
55
+ "br",
56
+ "canvas",
57
+ "caption",
58
+ "center",
59
+ "cite",
60
+ "code",
61
+ "col",
62
+ "colgroup",
63
+ "data",
64
+ "datalist",
65
+ "dd",
66
+ "del",
67
+ "details",
68
+ "dfn",
69
+ "dialog",
70
+ "div",
71
+ "dl",
72
+ "dt",
73
+ "em",
74
+ "embed",
75
+ "fieldset",
76
+ "figcaption",
77
+ "figure",
78
+ "footer",
79
+ "form",
80
+ "h1",
81
+ "h2",
82
+ "h3",
83
+ "h4",
84
+ "h5",
85
+ "h6",
86
+ "head",
87
+ "header",
88
+ "hgroup",
89
+ "hr",
90
+ "html",
91
+ "i",
92
+ "iframe",
93
+ "img",
94
+ "input",
95
+ "ins",
96
+ "kbd",
97
+ "keygen",
98
+ "label",
99
+ "legend",
100
+ "li",
101
+ "link",
102
+ "main",
103
+ "map",
104
+ "mark",
105
+ "menu",
106
+ "menuitem",
107
+ "meta",
108
+ "meter",
109
+ "nav",
110
+ "noindex",
111
+ "noscript",
112
+ "ol",
113
+ "optgroup",
114
+ "option",
115
+ "output",
116
+ "p",
117
+ "param",
118
+ "picture",
119
+ "pre",
120
+ "progress",
121
+ "q",
122
+ "rp",
123
+ "rt",
124
+ "ruby",
125
+ "s",
126
+ "samp",
127
+ "slot",
128
+ "script",
129
+ "section",
130
+ "select",
131
+ "small",
132
+ "source",
133
+ "span",
134
+ "strong",
135
+ "style",
136
+ "sub",
137
+ "summary",
138
+ "sup",
139
+ "table",
140
+ "template",
141
+ "tbody",
142
+ "td",
143
+ "textarea",
144
+ "tfoot",
145
+ "th",
146
+ "thead",
147
+ "title",
148
+ "tr",
149
+ "track",
150
+ "u",
151
+ "ul",
152
+ "var",
153
+ "video",
154
+ "wbr",
155
+ "webview",
156
+ "svg",
157
+ "animate",
158
+ "animateMotion",
159
+ "animateTransform",
160
+ "circle",
161
+ "clipPath",
162
+ "defs",
163
+ "desc",
164
+ "ellipse",
165
+ "feBlend",
166
+ "feColorMatrix",
167
+ "feComponentTransfer",
168
+ "feComposite",
169
+ "feConvolveMatrix",
170
+ "feDiffuseLighting",
171
+ "feDisplacementMap",
172
+ "feDistantLight",
173
+ "feDropShadow",
174
+ "feFlood",
175
+ "feFuncA",
176
+ "feFuncB",
177
+ "feFuncG",
178
+ "feFuncR",
179
+ "feGaussianBlur",
180
+ "feImage",
181
+ "feMerge",
182
+ "feMergeNode",
183
+ "feMorphology",
184
+ "feOffset",
185
+ "fePointLight",
186
+ "feSpecularLighting",
187
+ "feSpotLight",
188
+ "feTile",
189
+ "feTurbulence",
190
+ "filter",
191
+ "foreignObject",
192
+ "g",
193
+ "line",
194
+ "linearGradient",
195
+ "marker",
196
+ "mask",
197
+ "metadata",
198
+ "mpath",
199
+ "path",
200
+ "pattern",
201
+ "polygon",
202
+ "polyline",
203
+ "radialGradient",
204
+ "rect",
205
+ "set",
206
+ "stop",
207
+ "switch",
208
+ "textPath",
209
+ "tspan",
210
+ "use",
211
+ "view",
212
+ "ComponentClass<any, any>",
213
+ "FunctionComponent<any>"
214
+ ]
215
+ },
216
+ "iconName": {
217
+ "type": "enum",
218
+ "values": [
219
+ "undefined",
220
+ "tri-alert",
221
+ "tri-arrow-down",
222
+ "tri-arrow-left",
223
+ "tri-arrow-right",
224
+ "tri-arrow-up",
225
+ "tri-bell",
226
+ "tri-check-circle",
227
+ "tri-check",
228
+ "tri-exclamation-circle",
229
+ "tri-eye-slash",
230
+ "tri-eye",
231
+ "tri-infos-circle",
232
+ "tri-search",
233
+ "tri-times",
234
+ "tri-trash",
235
+ "tri-picto-faciliti",
236
+ "tri-picto-handicapzero",
237
+ "tri-picto-la-fibre",
238
+ "tri-picto-payment-americanexpress",
239
+ "tri-picto-payment-cb",
240
+ "tri-picto-payment-mastercard",
241
+ "tri-picto-payment-paypal",
242
+ "tri-picto-payment-visa",
243
+ "tri-alert",
244
+ "tri-arrow-down",
245
+ "tri-arrow-left",
246
+ "tri-arrow-right",
247
+ "tri-arrow-up",
248
+ "tri-bell",
249
+ "tri-check-circle",
250
+ "tri-check",
251
+ "tri-exclamation-circle",
252
+ "tri-eye-slash",
253
+ "tri-eye",
254
+ "tri-infos-circle",
255
+ "tri-search",
256
+ "tri-times",
257
+ "tri-trash",
258
+ "tri-picto-faciliti",
259
+ "tri-picto-handicapzero",
260
+ "tri-picto-la-fibre",
261
+ "tri-picto-payment-americanexpress",
262
+ "tri-picto-payment-cb",
263
+ "tri-picto-payment-mastercard",
264
+ "tri-picto-payment-paypal",
265
+ "tri-picto-payment-visa"
266
+ ]
267
+ },
268
+ "inline": {
269
+ "type": "boolean",
270
+ "values": [
271
+ "undefined",
272
+ "false",
273
+ "true"
274
+ ]
275
+ },
276
+ "inverted": {
277
+ "type": "boolean",
278
+ "values": [
279
+ "undefined",
280
+ "false",
281
+ "true"
282
+ ]
283
+ },
284
+ "blank": {
285
+ "type": "boolean",
286
+ "values": [
287
+ "undefined",
288
+ "false",
289
+ "true"
290
+ ]
291
+ },
292
+ "title": {
293
+ "type": "string",
294
+ "values": [
295
+ "undefined",
296
+ "string"
297
+ ]
298
+ },
299
+ "accessibilityLabel": {
300
+ "type": "string",
301
+ "values": [
302
+ "undefined",
303
+ "string"
304
+ ]
305
+ },
306
+ "onClick": {
307
+ "type": "function",
308
+ "values": [
309
+ "undefined",
310
+ "ClickEvent"
311
+ ]
312
+ },
313
+ "testId": {
314
+ "type": "string",
315
+ "values": [
316
+ "undefined",
317
+ "string"
318
+ ]
319
+ },
320
+ "id": {
321
+ "type": "string",
322
+ "values": [
323
+ "undefined",
324
+ "string"
325
+ ]
326
+ },
327
+ "className": {
328
+ "type": "string",
329
+ "values": [
330
+ "undefined",
331
+ "string"
332
+ ]
333
+ }
334
+ };
@@ -1,11 +1,12 @@
1
- /// <reference types="react" />
1
+ import { AriaRole } from 'react';
2
+ import { Role } from 'react-native';
2
3
  import { IconName, IconNameValues } from '../../components/icon';
3
4
  import { Accessibility, Clickable, Dev } from '../../objects/facets';
4
5
  import { CommonProps } from '../../objects/facets/CommonProps';
5
6
  /**
6
7
  * Link Interface
7
8
  */
8
- export interface LinkProps extends Accessibility, Clickable, Dev, CommonProps {
9
+ interface Link extends Accessibility, Clickable, Dev, CommonProps {
9
10
  children?: React.ReactNode;
10
11
  to?: string;
11
12
  href?: string;
@@ -16,3 +17,10 @@ export interface LinkProps extends Accessibility, Clickable, Dev, CommonProps {
16
17
  blank?: boolean;
17
18
  title?: string;
18
19
  }
20
+ export interface LinkProps extends Link {
21
+ role?: AriaRole;
22
+ }
23
+ export interface LinkPropsNative extends Link {
24
+ role?: Role;
25
+ }
26
+ export {};
@@ -1,4 +1,80 @@
1
1
  export default {
2
+ "role": {
3
+ "type": "string",
4
+ "values": [
5
+ "undefined",
6
+ "search",
7
+ "button",
8
+ "checkbox",
9
+ "radio",
10
+ "string & {}",
11
+ "none",
12
+ "article",
13
+ "dialog",
14
+ "figure",
15
+ "form",
16
+ "img",
17
+ "link",
18
+ "main",
19
+ "menu",
20
+ "menuitem",
21
+ "option",
22
+ "table",
23
+ "switch",
24
+ "row",
25
+ "list",
26
+ "alert",
27
+ "alertdialog",
28
+ "application",
29
+ "banner",
30
+ "cell",
31
+ "columnheader",
32
+ "combobox",
33
+ "complementary",
34
+ "contentinfo",
35
+ "definition",
36
+ "directory",
37
+ "document",
38
+ "feed",
39
+ "grid",
40
+ "gridcell",
41
+ "group",
42
+ "heading",
43
+ "listbox",
44
+ "listitem",
45
+ "log",
46
+ "marquee",
47
+ "math",
48
+ "menubar",
49
+ "menuitemcheckbox",
50
+ "menuitemradio",
51
+ "navigation",
52
+ "note",
53
+ "presentation",
54
+ "progressbar",
55
+ "radiogroup",
56
+ "region",
57
+ "rowgroup",
58
+ "rowheader",
59
+ "scrollbar",
60
+ "searchbox",
61
+ "separator",
62
+ "slider",
63
+ "spinbutton",
64
+ "status",
65
+ "tab",
66
+ "tablist",
67
+ "tabpanel",
68
+ "term",
69
+ "textbox",
70
+ "timer",
71
+ "toolbar",
72
+ "tooltip",
73
+ "tree",
74
+ "treegrid",
75
+ "treeitem"
76
+ ]
77
+ },
2
78
  "children": {
3
79
  "type": "react",
4
80
  "values": [