@primer/components 31.0.2-rc.c7dafefb → 31.2.0-rc.a53b3afb

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.
Files changed (100) hide show
  1. package/.storybook/main.js +7 -9
  2. package/.storybook/preview.js +5 -1
  3. package/CHANGELOG.md +11 -1
  4. package/dist/browser.esm.js +11 -10
  5. package/dist/browser.esm.js.map +1 -1
  6. package/dist/browser.umd.js +11 -10
  7. package/dist/browser.umd.js.map +1 -1
  8. package/docs/content/FilterList.md +2 -2
  9. package/docs/content/TextInputWithTokens.mdx +114 -0
  10. package/docs/content/theming.md +23 -0
  11. package/lib/Autocomplete/Autocomplete.d.ts +4 -4
  12. package/lib/Autocomplete/AutocompleteInput.d.ts +4 -4
  13. package/lib/Button/Button.d.ts +5 -5
  14. package/lib/Button/ButtonBase.d.ts +1 -1
  15. package/lib/Button/ButtonClose.d.ts +3 -3
  16. package/lib/Button/ButtonDanger.d.ts +5 -5
  17. package/lib/Button/ButtonInvisible.d.ts +5 -5
  18. package/lib/Button/ButtonOutline.d.ts +5 -5
  19. package/lib/Button/ButtonPrimary.d.ts +5 -5
  20. package/lib/CircleBadge.d.ts +2 -2
  21. package/lib/CircleOcticon.d.ts +4 -4
  22. package/lib/Dialog.d.ts +4 -4
  23. package/lib/Dropdown.d.ts +16 -16
  24. package/lib/DropdownMenu/DropdownButton.d.ts +6 -6
  25. package/lib/FilterList.d.ts +3 -3
  26. package/lib/Flash.d.ts +1 -1
  27. package/lib/Label.d.ts +1 -1
  28. package/lib/Position.d.ts +4 -4
  29. package/lib/ProgressBar.d.ts +1 -1
  30. package/lib/SelectMenu/SelectMenu.d.ts +24 -24
  31. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  32. package/lib/TextInputWithTokens.d.ts +8 -4
  33. package/lib/TextInputWithTokens.js +61 -8
  34. package/lib/Timeline.d.ts +4 -4
  35. package/lib/Token/AvatarToken.d.ts +1 -1
  36. package/lib/Token/IssueLabelToken.d.ts +1 -1
  37. package/lib/Token/Token.d.ts +1 -1
  38. package/lib/_TextInputWrapper.d.ts +1 -1
  39. package/lib/_TextInputWrapper.js +1 -1
  40. package/lib/__tests__/KeyPaths.types.test.d.ts +10 -0
  41. package/lib/__tests__/KeyPaths.types.test.js +10 -0
  42. package/lib/__tests__/TextInputWithTokens.test.js +149 -9
  43. package/lib/stories/TextInputWithTokens.stories.js +18 -1
  44. package/lib/sx.d.ts +8 -2
  45. package/lib/theme.d.ts +78 -0
  46. package/lib/theme.js +3 -1
  47. package/lib/utils/types/KeyPaths.d.ts +3 -0
  48. package/lib/utils/types/KeyPaths.js +1 -0
  49. package/lib-esm/Autocomplete/Autocomplete.d.ts +4 -4
  50. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +4 -4
  51. package/lib-esm/Button/Button.d.ts +5 -5
  52. package/lib-esm/Button/ButtonBase.d.ts +1 -1
  53. package/lib-esm/Button/ButtonClose.d.ts +3 -3
  54. package/lib-esm/Button/ButtonDanger.d.ts +5 -5
  55. package/lib-esm/Button/ButtonInvisible.d.ts +5 -5
  56. package/lib-esm/Button/ButtonOutline.d.ts +5 -5
  57. package/lib-esm/Button/ButtonPrimary.d.ts +5 -5
  58. package/lib-esm/CircleBadge.d.ts +2 -2
  59. package/lib-esm/CircleOcticon.d.ts +4 -4
  60. package/lib-esm/Dialog.d.ts +4 -4
  61. package/lib-esm/Dropdown.d.ts +16 -16
  62. package/lib-esm/DropdownMenu/DropdownButton.d.ts +6 -6
  63. package/lib-esm/FilterList.d.ts +3 -3
  64. package/lib-esm/Flash.d.ts +1 -1
  65. package/lib-esm/Label.d.ts +1 -1
  66. package/lib-esm/Position.d.ts +4 -4
  67. package/lib-esm/ProgressBar.d.ts +1 -1
  68. package/lib-esm/SelectMenu/SelectMenu.d.ts +24 -24
  69. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  70. package/lib-esm/TextInputWithTokens.d.ts +8 -4
  71. package/lib-esm/TextInputWithTokens.js +60 -8
  72. package/lib-esm/Timeline.d.ts +4 -4
  73. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  74. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  75. package/lib-esm/Token/Token.d.ts +1 -1
  76. package/lib-esm/_TextInputWrapper.d.ts +1 -1
  77. package/lib-esm/_TextInputWrapper.js +1 -1
  78. package/lib-esm/__tests__/KeyPaths.types.test.d.ts +10 -0
  79. package/lib-esm/__tests__/KeyPaths.types.test.js +3 -0
  80. package/lib-esm/__tests__/TextInputWithTokens.test.js +142 -9
  81. package/lib-esm/stories/TextInputWithTokens.stories.js +14 -0
  82. package/lib-esm/sx.d.ts +8 -2
  83. package/lib-esm/theme.d.ts +78 -0
  84. package/lib-esm/theme.js +2 -1
  85. package/lib-esm/utils/types/KeyPaths.d.ts +3 -0
  86. package/lib-esm/utils/types/KeyPaths.js +1 -0
  87. package/package-lock.json +37942 -41
  88. package/package.json +2 -1
  89. package/src/TextInputWithTokens.tsx +64 -8
  90. package/src/_TextInputWrapper.tsx +1 -0
  91. package/src/__tests__/KeyPaths.types.test.ts +13 -0
  92. package/src/__tests__/TextInputWithTokens.test.tsx +133 -1
  93. package/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap +7 -0
  94. package/src/__tests__/__snapshots__/TextInput.test.tsx.snap +6 -0
  95. package/src/__tests__/__snapshots__/TextInputWithTokens.test.tsx.snap +463 -0
  96. package/src/stories/TextInputWithTokens.stories.tsx +9 -0
  97. package/src/sx.ts +14 -2
  98. package/src/theme.ts +86 -0
  99. package/src/utils/types/KeyPaths.ts +4 -0
  100. package/stats.html +1 -1
@@ -1,5 +1,363 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
+ exports[`TextInputWithTokens renders a truncated set of tokens 1`] = `
4
+ .c1 {
5
+ display: -webkit-box;
6
+ display: -webkit-flex;
7
+ display: -ms-flexbox;
8
+ display: flex;
9
+ -webkit-align-items: center;
10
+ -webkit-box-align: center;
11
+ -ms-flex-align: center;
12
+ align-items: center;
13
+ -webkit-flex-wrap: wrap;
14
+ -ms-flex-wrap: wrap;
15
+ flex-wrap: wrap;
16
+ margin-left: -0.25rem;
17
+ margin-bottom: -0.25rem;
18
+ -webkit-box-flex: 1;
19
+ -webkit-flex-grow: 1;
20
+ -ms-flex-positive: 1;
21
+ flex-grow: 1;
22
+ }
23
+
24
+ .c1 > * {
25
+ -webkit-flex-shrink: 0;
26
+ -ms-flex-negative: 0;
27
+ flex-shrink: 0;
28
+ margin-left: 0.25rem;
29
+ margin-bottom: 0.25rem;
30
+ }
31
+
32
+ .c2 {
33
+ -webkit-order: 1;
34
+ -ms-flex-order: 1;
35
+ order: 1;
36
+ -webkit-box-flex: 1;
37
+ -webkit-flex-grow: 1;
38
+ -ms-flex-positive: 1;
39
+ flex-grow: 1;
40
+ }
41
+
42
+ .c3 {
43
+ border: 0;
44
+ font-size: inherit;
45
+ font-family: inherit;
46
+ background-color: transparent;
47
+ -webkit-appearance: none;
48
+ color: inherit;
49
+ width: 100%;
50
+ height: 100%;
51
+ }
52
+
53
+ .c3:focus {
54
+ outline: 0;
55
+ }
56
+
57
+ .c0 {
58
+ display: -webkit-inline-box;
59
+ display: -webkit-inline-flex;
60
+ display: -ms-inline-flexbox;
61
+ display: inline-flex;
62
+ -webkit-align-items: stretch;
63
+ -webkit-box-align: stretch;
64
+ -ms-flex-align: stretch;
65
+ align-items: stretch;
66
+ min-height: 34px;
67
+ font-size: 14px;
68
+ line-height: 20px;
69
+ color: #24292f;
70
+ vertical-align: middle;
71
+ background-repeat: no-repeat;
72
+ background-position: right 8px center;
73
+ border: 1px solid #d0d7de;
74
+ border-radius: 6px;
75
+ outline: none;
76
+ box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
77
+ cursor: text;
78
+ padding: 6px 12px;
79
+ }
80
+
81
+ .c0 .TextInput-icon {
82
+ -webkit-align-self: center;
83
+ -ms-flex-item-align: center;
84
+ align-self: center;
85
+ color: #57606a;
86
+ margin: 0 8px;
87
+ -webkit-flex-shrink: 0;
88
+ -ms-flex-negative: 0;
89
+ flex-shrink: 0;
90
+ }
91
+
92
+ .c0:focus-within {
93
+ border-color: #0969da;
94
+ box-shadow: 0 0 0 3px rgba(9,105,218,0.3);
95
+ }
96
+
97
+ .c7 {
98
+ font-size: 16px;
99
+ color: #57606a;
100
+ }
101
+
102
+ .c6 {
103
+ background-color: transparent;
104
+ font-family: inherit;
105
+ color: currentColor;
106
+ cursor: pointer;
107
+ display: -webkit-inline-box;
108
+ display: -webkit-inline-flex;
109
+ display: -ms-inline-flexbox;
110
+ display: inline-flex;
111
+ -webkit-box-pack: center;
112
+ -webkit-justify-content: center;
113
+ -ms-flex-pack: center;
114
+ justify-content: center;
115
+ -webkit-align-items: center;
116
+ -webkit-box-align: center;
117
+ -ms-flex-align: center;
118
+ align-items: center;
119
+ -webkit-user-select: none;
120
+ -moz-user-select: none;
121
+ -ms-user-select: none;
122
+ user-select: none;
123
+ -webkit-appearance: none;
124
+ -moz-appearance: none;
125
+ appearance: none;
126
+ -webkit-text-decoration: none;
127
+ text-decoration: none;
128
+ padding: 0;
129
+ -webkit-transform: translate(1px,-1px);
130
+ -ms-transform: translate(1px,-1px);
131
+ transform: translate(1px,-1px);
132
+ -webkit-align-self: baseline;
133
+ -ms-flex-item-align: baseline;
134
+ align-self: baseline;
135
+ border: 0;
136
+ border-radius: 999px;
137
+ margin-left: 8px;
138
+ height: 32px;
139
+ width: 32px;
140
+ position: relative;
141
+ z-index: 1;
142
+ }
143
+
144
+ .c6:hover,
145
+ .c6:focus {
146
+ background-color: rgba(175,184,193,0.2);
147
+ }
148
+
149
+ .c6:active {
150
+ background-color: rgba(234,238,242,0.5);
151
+ }
152
+
153
+ .c5 {
154
+ -webkit-box-flex: 1;
155
+ -webkit-flex-grow: 1;
156
+ -ms-flex-positive: 1;
157
+ flex-grow: 1;
158
+ min-width: 0;
159
+ overflow: hidden;
160
+ text-overflow: ellipsis;
161
+ white-space: nowrap;
162
+ background: transparent;
163
+ border: none;
164
+ color: inherit;
165
+ font: inherit;
166
+ margin: 0;
167
+ overflow: visible;
168
+ padding: 0;
169
+ width: auto;
170
+ -webkit-font-smoothing: inherit;
171
+ -moz-osx-font-smoothing: inherit;
172
+ -webkit-appearance: none;
173
+ line-height: 1;
174
+ color: currentColor;
175
+ -webkit-text-decoration: none;
176
+ text-decoration: none;
177
+ }
178
+
179
+ .c5:is(a,button,[tabIndex='0']) {
180
+ cursor: pointer;
181
+ }
182
+
183
+ .c5:is(a,button,[tabIndex='0']):after {
184
+ content: '';
185
+ position: absolute;
186
+ left: 0;
187
+ top: 0;
188
+ right: 0;
189
+ bottom: 0;
190
+ }
191
+
192
+ .c4 {
193
+ -webkit-align-items: center;
194
+ -webkit-box-align: center;
195
+ -ms-flex-align: center;
196
+ align-items: center;
197
+ border-radius: 999px;
198
+ cursor: pointer;
199
+ display: -webkit-inline-box;
200
+ display: -webkit-inline-flex;
201
+ display: -ms-inline-flexbox;
202
+ display: inline-flex;
203
+ font-weight: 600;
204
+ font-family: inherit;
205
+ -webkit-text-decoration: none;
206
+ text-decoration: none;
207
+ white-space: nowrap;
208
+ font-size: 14px;
209
+ height: 32px;
210
+ line-height: 32px;
211
+ padding-left: 16px;
212
+ padding-right: 16px;
213
+ padding-top: 0;
214
+ padding-bottom: 0;
215
+ background-color: rgba(234,238,242,0.5);
216
+ border-color: rgba(27,31,36,0.15);
217
+ border-style: solid;
218
+ border-width: 1px;
219
+ color: #57606a;
220
+ max-width: 100%;
221
+ padding-right: 0;
222
+ position: relative;
223
+ }
224
+
225
+ .c4:hover {
226
+ background-color: rgba(175,184,193,0.2);
227
+ color: #24292f;
228
+ }
229
+
230
+ @media (min-width:768px) {
231
+ .c0 {
232
+ font-size: 14px;
233
+ }
234
+ }
235
+
236
+ <span
237
+ className="c0"
238
+ onClick={[Function]}
239
+ >
240
+ <div
241
+ className="c1"
242
+ display="flex"
243
+ >
244
+ <div
245
+ className="c2"
246
+ >
247
+ <input
248
+ className="c3"
249
+ onBlur={[Function]}
250
+ onFocus={[Function]}
251
+ onKeyDown={[Function]}
252
+ type="text"
253
+ />
254
+ </div>
255
+ <span
256
+ aria-label="zero, press backspace or delete to remove"
257
+ className="c4"
258
+ onBlur={[Function]}
259
+ onFocus={[Function]}
260
+ onKeyDown={[Function]}
261
+ onKeyUp={[Function]}
262
+ onRemove={[Function]}
263
+ size="extralarge"
264
+ tabIndex={0}
265
+ >
266
+ <span
267
+ className="c5"
268
+ onClick={[Function]}
269
+ >
270
+ zero
271
+ </span>
272
+ <span
273
+ aria-hidden="true"
274
+ className="c6"
275
+ onClick={[Function]}
276
+ size="extralarge"
277
+ tabIndex={-1}
278
+ >
279
+ <svg
280
+ aria-hidden="true"
281
+ className="octicon octicon-x"
282
+ dangerouslySetInnerHTML={
283
+ Object {
284
+ "__html": "<path fill-rule=\\"evenodd\\" d=\\"M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z\\"></path>",
285
+ }
286
+ }
287
+ fill="currentColor"
288
+ height={24}
289
+ role="img"
290
+ style={
291
+ Object {
292
+ "display": "inline-block",
293
+ "userSelect": "none",
294
+ "verticalAlign": "text-bottom",
295
+ }
296
+ }
297
+ viewBox="0 0 24 24"
298
+ width={24}
299
+ />
300
+ </span>
301
+ </span>
302
+ <span
303
+ aria-label="one, press backspace or delete to remove"
304
+ className="c4"
305
+ onBlur={[Function]}
306
+ onFocus={[Function]}
307
+ onKeyDown={[Function]}
308
+ onKeyUp={[Function]}
309
+ onRemove={[Function]}
310
+ size="extralarge"
311
+ tabIndex={0}
312
+ >
313
+ <span
314
+ className="c5"
315
+ onClick={[Function]}
316
+ >
317
+ one
318
+ </span>
319
+ <span
320
+ aria-hidden="true"
321
+ className="c6"
322
+ onClick={[Function]}
323
+ size="extralarge"
324
+ tabIndex={-1}
325
+ >
326
+ <svg
327
+ aria-hidden="true"
328
+ className="octicon octicon-x"
329
+ dangerouslySetInnerHTML={
330
+ Object {
331
+ "__html": "<path fill-rule=\\"evenodd\\" d=\\"M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z\\"></path>",
332
+ }
333
+ }
334
+ fill="currentColor"
335
+ height={24}
336
+ role="img"
337
+ style={
338
+ Object {
339
+ "display": "inline-block",
340
+ "userSelect": "none",
341
+ "verticalAlign": "text-bottom",
342
+ }
343
+ }
344
+ viewBox="0 0 24 24"
345
+ width={24}
346
+ />
347
+ </span>
348
+ </span>
349
+ <span
350
+ className="c7"
351
+ color="fg.muted"
352
+ fontSize={2}
353
+ >
354
+ +
355
+ 6
356
+ </span>
357
+ </div>
358
+ </span>
359
+ `;
360
+
3
361
  exports[`TextInputWithTokens renders as block layout 1`] = `
4
362
  .c1 {
5
363
  display: -webkit-box;
@@ -74,6 +432,7 @@ exports[`TextInputWithTokens renders as block layout 1`] = `
74
432
  border-radius: 6px;
75
433
  outline: none;
76
434
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
435
+ cursor: text;
77
436
  padding: 6px 12px;
78
437
  display: block;
79
438
  width: 100%;
@@ -108,6 +467,7 @@ exports[`TextInputWithTokens renders as block layout 1`] = `
108
467
 
109
468
  <span
110
469
  className="c0"
470
+ onClick={[Function]}
111
471
  >
112
472
  <div
113
473
  className="c1"
@@ -118,6 +478,7 @@ exports[`TextInputWithTokens renders as block layout 1`] = `
118
478
  >
119
479
  <input
120
480
  className="c3"
481
+ onBlur={[Function]}
121
482
  onFocus={[Function]}
122
483
  onKeyDown={[Function]}
123
484
  type="text"
@@ -201,6 +562,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
201
562
  border-radius: 6px;
202
563
  outline: none;
203
564
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
565
+ cursor: text;
204
566
  padding: 6px 12px;
205
567
  max-height: 20px;
206
568
  overflow: auto;
@@ -358,6 +720,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
358
720
 
359
721
  <span
360
722
  className="c0"
723
+ onClick={[Function]}
361
724
  >
362
725
  <div
363
726
  className="c1"
@@ -368,6 +731,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
368
731
  >
369
732
  <input
370
733
  className="c3"
734
+ onBlur={[Function]}
371
735
  onFocus={[Function]}
372
736
  onKeyDown={[Function]}
373
737
  type="text"
@@ -386,6 +750,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
386
750
  >
387
751
  <span
388
752
  className="c5"
753
+ onClick={[Function]}
389
754
  >
390
755
  zero
391
756
  </span>
@@ -432,6 +797,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
432
797
  >
433
798
  <span
434
799
  className="c5"
800
+ onClick={[Function]}
435
801
  >
436
802
  one
437
803
  </span>
@@ -478,6 +844,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
478
844
  >
479
845
  <span
480
846
  className="c5"
847
+ onClick={[Function]}
481
848
  >
482
849
  two
483
850
  </span>
@@ -524,6 +891,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
524
891
  >
525
892
  <span
526
893
  className="c5"
894
+ onClick={[Function]}
527
895
  >
528
896
  three
529
897
  </span>
@@ -570,6 +938,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
570
938
  >
571
939
  <span
572
940
  className="c5"
941
+ onClick={[Function]}
573
942
  >
574
943
  four
575
944
  </span>
@@ -616,6 +985,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
616
985
  >
617
986
  <span
618
987
  className="c5"
988
+ onClick={[Function]}
619
989
  >
620
990
  five
621
991
  </span>
@@ -662,6 +1032,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
662
1032
  >
663
1033
  <span
664
1034
  className="c5"
1035
+ onClick={[Function]}
665
1036
  >
666
1037
  six
667
1038
  </span>
@@ -708,6 +1079,7 @@ exports[`TextInputWithTokens renders at a maximum height when specified 1`] = `
708
1079
  >
709
1080
  <span
710
1081
  className="c5"
1082
+ onClick={[Function]}
711
1083
  >
712
1084
  seven
713
1085
  </span>
@@ -819,6 +1191,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
819
1191
  border-radius: 6px;
820
1192
  outline: none;
821
1193
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
1194
+ cursor: text;
822
1195
  padding: 6px 12px;
823
1196
  }
824
1197
 
@@ -974,6 +1347,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
974
1347
 
975
1348
  <span
976
1349
  className="c0"
1350
+ onClick={[Function]}
977
1351
  >
978
1352
  <div
979
1353
  className="c1"
@@ -984,6 +1358,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
984
1358
  >
985
1359
  <input
986
1360
  className="c3"
1361
+ onBlur={[Function]}
987
1362
  onFocus={[Function]}
988
1363
  onKeyDown={[Function]}
989
1364
  type="text"
@@ -1002,6 +1377,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1002
1377
  >
1003
1378
  <span
1004
1379
  className="c5"
1380
+ onClick={[Function]}
1005
1381
  >
1006
1382
  zero
1007
1383
  </span>
@@ -1048,6 +1424,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1048
1424
  >
1049
1425
  <span
1050
1426
  className="c5"
1427
+ onClick={[Function]}
1051
1428
  >
1052
1429
  one
1053
1430
  </span>
@@ -1094,6 +1471,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1094
1471
  >
1095
1472
  <span
1096
1473
  className="c5"
1474
+ onClick={[Function]}
1097
1475
  >
1098
1476
  two
1099
1477
  </span>
@@ -1140,6 +1518,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1140
1518
  >
1141
1519
  <span
1142
1520
  className="c5"
1521
+ onClick={[Function]}
1143
1522
  >
1144
1523
  three
1145
1524
  </span>
@@ -1186,6 +1565,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1186
1565
  >
1187
1566
  <span
1188
1567
  className="c5"
1568
+ onClick={[Function]}
1189
1569
  >
1190
1570
  four
1191
1571
  </span>
@@ -1232,6 +1612,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1232
1612
  >
1233
1613
  <span
1234
1614
  className="c5"
1615
+ onClick={[Function]}
1235
1616
  >
1236
1617
  five
1237
1618
  </span>
@@ -1278,6 +1659,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1278
1659
  >
1279
1660
  <span
1280
1661
  className="c5"
1662
+ onClick={[Function]}
1281
1663
  >
1282
1664
  six
1283
1665
  </span>
@@ -1324,6 +1706,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 1`] = `
1324
1706
  >
1325
1707
  <span
1326
1708
  className="c5"
1709
+ onClick={[Function]}
1327
1710
  >
1328
1711
  seven
1329
1712
  </span>
@@ -1435,6 +1818,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1435
1818
  border-radius: 6px;
1436
1819
  outline: none;
1437
1820
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
1821
+ cursor: text;
1438
1822
  padding: 6px 12px;
1439
1823
  }
1440
1824
 
@@ -1590,6 +1974,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1590
1974
 
1591
1975
  <span
1592
1976
  className="c0"
1977
+ onClick={[Function]}
1593
1978
  >
1594
1979
  <div
1595
1980
  className="c1"
@@ -1600,6 +1985,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1600
1985
  >
1601
1986
  <input
1602
1987
  className="c3"
1988
+ onBlur={[Function]}
1603
1989
  onFocus={[Function]}
1604
1990
  onKeyDown={[Function]}
1605
1991
  type="text"
@@ -1618,6 +2004,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1618
2004
  >
1619
2005
  <span
1620
2006
  className="c5"
2007
+ onClick={[Function]}
1621
2008
  >
1622
2009
  zero
1623
2010
  </span>
@@ -1664,6 +2051,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1664
2051
  >
1665
2052
  <span
1666
2053
  className="c5"
2054
+ onClick={[Function]}
1667
2055
  >
1668
2056
  one
1669
2057
  </span>
@@ -1710,6 +2098,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1710
2098
  >
1711
2099
  <span
1712
2100
  className="c5"
2101
+ onClick={[Function]}
1713
2102
  >
1714
2103
  two
1715
2104
  </span>
@@ -1756,6 +2145,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1756
2145
  >
1757
2146
  <span
1758
2147
  className="c5"
2148
+ onClick={[Function]}
1759
2149
  >
1760
2150
  three
1761
2151
  </span>
@@ -1802,6 +2192,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1802
2192
  >
1803
2193
  <span
1804
2194
  className="c5"
2195
+ onClick={[Function]}
1805
2196
  >
1806
2197
  four
1807
2198
  </span>
@@ -1848,6 +2239,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1848
2239
  >
1849
2240
  <span
1850
2241
  className="c5"
2242
+ onClick={[Function]}
1851
2243
  >
1852
2244
  five
1853
2245
  </span>
@@ -1894,6 +2286,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1894
2286
  >
1895
2287
  <span
1896
2288
  className="c5"
2289
+ onClick={[Function]}
1897
2290
  >
1898
2291
  six
1899
2292
  </span>
@@ -1940,6 +2333,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 2`] = `
1940
2333
  >
1941
2334
  <span
1942
2335
  className="c5"
2336
+ onClick={[Function]}
1943
2337
  >
1944
2338
  seven
1945
2339
  </span>
@@ -2051,6 +2445,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2051
2445
  border-radius: 6px;
2052
2446
  outline: none;
2053
2447
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
2448
+ cursor: text;
2054
2449
  padding: 6px 12px;
2055
2450
  }
2056
2451
 
@@ -2206,6 +2601,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2206
2601
 
2207
2602
  <span
2208
2603
  className="c0"
2604
+ onClick={[Function]}
2209
2605
  >
2210
2606
  <div
2211
2607
  className="c1"
@@ -2216,6 +2612,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2216
2612
  >
2217
2613
  <input
2218
2614
  className="c3"
2615
+ onBlur={[Function]}
2219
2616
  onFocus={[Function]}
2220
2617
  onKeyDown={[Function]}
2221
2618
  type="text"
@@ -2234,6 +2631,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2234
2631
  >
2235
2632
  <span
2236
2633
  className="c5"
2634
+ onClick={[Function]}
2237
2635
  >
2238
2636
  zero
2239
2637
  </span>
@@ -2280,6 +2678,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2280
2678
  >
2281
2679
  <span
2282
2680
  className="c5"
2681
+ onClick={[Function]}
2283
2682
  >
2284
2683
  one
2285
2684
  </span>
@@ -2326,6 +2725,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2326
2725
  >
2327
2726
  <span
2328
2727
  className="c5"
2728
+ onClick={[Function]}
2329
2729
  >
2330
2730
  two
2331
2731
  </span>
@@ -2372,6 +2772,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2372
2772
  >
2373
2773
  <span
2374
2774
  className="c5"
2775
+ onClick={[Function]}
2375
2776
  >
2376
2777
  three
2377
2778
  </span>
@@ -2418,6 +2819,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2418
2819
  >
2419
2820
  <span
2420
2821
  className="c5"
2822
+ onClick={[Function]}
2421
2823
  >
2422
2824
  four
2423
2825
  </span>
@@ -2464,6 +2866,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2464
2866
  >
2465
2867
  <span
2466
2868
  className="c5"
2869
+ onClick={[Function]}
2467
2870
  >
2468
2871
  five
2469
2872
  </span>
@@ -2510,6 +2913,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2510
2913
  >
2511
2914
  <span
2512
2915
  className="c5"
2916
+ onClick={[Function]}
2513
2917
  >
2514
2918
  six
2515
2919
  </span>
@@ -2556,6 +2960,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 3`] = `
2556
2960
  >
2557
2961
  <span
2558
2962
  className="c5"
2963
+ onClick={[Function]}
2559
2964
  >
2560
2965
  seven
2561
2966
  </span>
@@ -2667,6 +3072,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
2667
3072
  border-radius: 6px;
2668
3073
  outline: none;
2669
3074
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
3075
+ cursor: text;
2670
3076
  padding: 6px 12px;
2671
3077
  }
2672
3078
 
@@ -2822,6 +3228,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
2822
3228
 
2823
3229
  <span
2824
3230
  className="c0"
3231
+ onClick={[Function]}
2825
3232
  >
2826
3233
  <div
2827
3234
  className="c1"
@@ -2832,6 +3239,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
2832
3239
  >
2833
3240
  <input
2834
3241
  className="c3"
3242
+ onBlur={[Function]}
2835
3243
  onFocus={[Function]}
2836
3244
  onKeyDown={[Function]}
2837
3245
  type="text"
@@ -2850,6 +3258,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
2850
3258
  >
2851
3259
  <span
2852
3260
  className="c5"
3261
+ onClick={[Function]}
2853
3262
  >
2854
3263
  zero
2855
3264
  </span>
@@ -2896,6 +3305,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
2896
3305
  >
2897
3306
  <span
2898
3307
  className="c5"
3308
+ onClick={[Function]}
2899
3309
  >
2900
3310
  one
2901
3311
  </span>
@@ -2942,6 +3352,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
2942
3352
  >
2943
3353
  <span
2944
3354
  className="c5"
3355
+ onClick={[Function]}
2945
3356
  >
2946
3357
  two
2947
3358
  </span>
@@ -2988,6 +3399,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
2988
3399
  >
2989
3400
  <span
2990
3401
  className="c5"
3402
+ onClick={[Function]}
2991
3403
  >
2992
3404
  three
2993
3405
  </span>
@@ -3034,6 +3446,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
3034
3446
  >
3035
3447
  <span
3036
3448
  className="c5"
3449
+ onClick={[Function]}
3037
3450
  >
3038
3451
  four
3039
3452
  </span>
@@ -3080,6 +3493,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
3080
3493
  >
3081
3494
  <span
3082
3495
  className="c5"
3496
+ onClick={[Function]}
3083
3497
  >
3084
3498
  five
3085
3499
  </span>
@@ -3126,6 +3540,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
3126
3540
  >
3127
3541
  <span
3128
3542
  className="c5"
3543
+ onClick={[Function]}
3129
3544
  >
3130
3545
  six
3131
3546
  </span>
@@ -3172,6 +3587,7 @@ exports[`TextInputWithTokens renders tokens at the specified sizes 4`] = `
3172
3587
  >
3173
3588
  <span
3174
3589
  className="c5"
3590
+ onClick={[Function]}
3175
3591
  >
3176
3592
  seven
3177
3593
  </span>
@@ -3283,6 +3699,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3283
3699
  border-radius: 6px;
3284
3700
  outline: none;
3285
3701
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
3702
+ cursor: text;
3286
3703
  padding: 6px 12px;
3287
3704
  overflow: auto;
3288
3705
  }
@@ -3439,6 +3856,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3439
3856
 
3440
3857
  <span
3441
3858
  className="c0"
3859
+ onClick={[Function]}
3442
3860
  >
3443
3861
  <div
3444
3862
  className="c1"
@@ -3449,6 +3867,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3449
3867
  >
3450
3868
  <input
3451
3869
  className="c3"
3870
+ onBlur={[Function]}
3452
3871
  onFocus={[Function]}
3453
3872
  onKeyDown={[Function]}
3454
3873
  type="text"
@@ -3467,6 +3886,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3467
3886
  >
3468
3887
  <span
3469
3888
  className="c5"
3889
+ onClick={[Function]}
3470
3890
  >
3471
3891
  zero
3472
3892
  </span>
@@ -3513,6 +3933,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3513
3933
  >
3514
3934
  <span
3515
3935
  className="c5"
3936
+ onClick={[Function]}
3516
3937
  >
3517
3938
  one
3518
3939
  </span>
@@ -3559,6 +3980,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3559
3980
  >
3560
3981
  <span
3561
3982
  className="c5"
3983
+ onClick={[Function]}
3562
3984
  >
3563
3985
  two
3564
3986
  </span>
@@ -3605,6 +4027,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3605
4027
  >
3606
4028
  <span
3607
4029
  className="c5"
4030
+ onClick={[Function]}
3608
4031
  >
3609
4032
  three
3610
4033
  </span>
@@ -3651,6 +4074,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3651
4074
  >
3652
4075
  <span
3653
4076
  className="c5"
4077
+ onClick={[Function]}
3654
4078
  >
3655
4079
  four
3656
4080
  </span>
@@ -3697,6 +4121,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3697
4121
  >
3698
4122
  <span
3699
4123
  className="c5"
4124
+ onClick={[Function]}
3700
4125
  >
3701
4126
  five
3702
4127
  </span>
@@ -3743,6 +4168,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3743
4168
  >
3744
4169
  <span
3745
4170
  className="c5"
4171
+ onClick={[Function]}
3746
4172
  >
3747
4173
  six
3748
4174
  </span>
@@ -3789,6 +4215,7 @@ exports[`TextInputWithTokens renders tokens on a single line when specified 1`]
3789
4215
  >
3790
4216
  <span
3791
4217
  className="c5"
4218
+ onClick={[Function]}
3792
4219
  >
3793
4220
  seven
3794
4221
  </span>
@@ -3900,6 +4327,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
3900
4327
  border-radius: 6px;
3901
4328
  outline: none;
3902
4329
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
4330
+ cursor: text;
3903
4331
  padding: 6px 12px;
3904
4332
  }
3905
4333
 
@@ -4003,6 +4431,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4003
4431
 
4004
4432
  <span
4005
4433
  className="c0"
4434
+ onClick={[Function]}
4006
4435
  >
4007
4436
  <div
4008
4437
  className="c1"
@@ -4013,6 +4442,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4013
4442
  >
4014
4443
  <input
4015
4444
  className="c3"
4445
+ onBlur={[Function]}
4016
4446
  onFocus={[Function]}
4017
4447
  onKeyDown={[Function]}
4018
4448
  type="text"
@@ -4022,6 +4452,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4022
4452
  aria-label="zero, press backspace or delete to remove"
4023
4453
  className="c4"
4024
4454
  onBlur={[Function]}
4455
+ onClick={[Function]}
4025
4456
  onFocus={[Function]}
4026
4457
  onKeyDown={[Function]}
4027
4458
  onKeyUp={[Function]}
@@ -4039,6 +4470,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4039
4470
  aria-label="one, press backspace or delete to remove"
4040
4471
  className="c4"
4041
4472
  onBlur={[Function]}
4473
+ onClick={[Function]}
4042
4474
  onFocus={[Function]}
4043
4475
  onKeyDown={[Function]}
4044
4476
  onKeyUp={[Function]}
@@ -4056,6 +4488,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4056
4488
  aria-label="two, press backspace or delete to remove"
4057
4489
  className="c4"
4058
4490
  onBlur={[Function]}
4491
+ onClick={[Function]}
4059
4492
  onFocus={[Function]}
4060
4493
  onKeyDown={[Function]}
4061
4494
  onKeyUp={[Function]}
@@ -4073,6 +4506,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4073
4506
  aria-label="three, press backspace or delete to remove"
4074
4507
  className="c4"
4075
4508
  onBlur={[Function]}
4509
+ onClick={[Function]}
4076
4510
  onFocus={[Function]}
4077
4511
  onKeyDown={[Function]}
4078
4512
  onKeyUp={[Function]}
@@ -4090,6 +4524,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4090
4524
  aria-label="four, press backspace or delete to remove"
4091
4525
  className="c4"
4092
4526
  onBlur={[Function]}
4527
+ onClick={[Function]}
4093
4528
  onFocus={[Function]}
4094
4529
  onKeyDown={[Function]}
4095
4530
  onKeyUp={[Function]}
@@ -4107,6 +4542,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4107
4542
  aria-label="five, press backspace or delete to remove"
4108
4543
  className="c4"
4109
4544
  onBlur={[Function]}
4545
+ onClick={[Function]}
4110
4546
  onFocus={[Function]}
4111
4547
  onKeyDown={[Function]}
4112
4548
  onKeyUp={[Function]}
@@ -4124,6 +4560,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4124
4560
  aria-label="six, press backspace or delete to remove"
4125
4561
  className="c4"
4126
4562
  onBlur={[Function]}
4563
+ onClick={[Function]}
4127
4564
  onFocus={[Function]}
4128
4565
  onKeyDown={[Function]}
4129
4566
  onKeyUp={[Function]}
@@ -4141,6 +4578,7 @@ exports[`TextInputWithTokens renders tokens without a remove button when specifi
4141
4578
  aria-label="seven, press backspace or delete to remove"
4142
4579
  className="c4"
4143
4580
  onBlur={[Function]}
4581
+ onClick={[Function]}
4144
4582
  onFocus={[Function]}
4145
4583
  onKeyDown={[Function]}
4146
4584
  onKeyUp={[Function]}
@@ -4232,6 +4670,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4232
4670
  border-radius: 6px;
4233
4671
  outline: none;
4234
4672
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
4673
+ cursor: text;
4235
4674
  padding: 6px 12px;
4236
4675
  }
4237
4676
 
@@ -4387,6 +4826,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4387
4826
 
4388
4827
  <span
4389
4828
  className="c0"
4829
+ onClick={[Function]}
4390
4830
  >
4391
4831
  <div
4392
4832
  className="c1"
@@ -4397,6 +4837,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4397
4837
  >
4398
4838
  <input
4399
4839
  className="c3"
4840
+ onBlur={[Function]}
4400
4841
  onFocus={[Function]}
4401
4842
  onKeyDown={[Function]}
4402
4843
  type="text"
@@ -4415,6 +4856,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4415
4856
  >
4416
4857
  <span
4417
4858
  className="c5"
4859
+ onClick={[Function]}
4418
4860
  >
4419
4861
  zero
4420
4862
  </span>
@@ -4461,6 +4903,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4461
4903
  >
4462
4904
  <span
4463
4905
  className="c5"
4906
+ onClick={[Function]}
4464
4907
  >
4465
4908
  one
4466
4909
  </span>
@@ -4507,6 +4950,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4507
4950
  >
4508
4951
  <span
4509
4952
  className="c5"
4953
+ onClick={[Function]}
4510
4954
  >
4511
4955
  two
4512
4956
  </span>
@@ -4553,6 +4997,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4553
4997
  >
4554
4998
  <span
4555
4999
  className="c5"
5000
+ onClick={[Function]}
4556
5001
  >
4557
5002
  three
4558
5003
  </span>
@@ -4599,6 +5044,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4599
5044
  >
4600
5045
  <span
4601
5046
  className="c5"
5047
+ onClick={[Function]}
4602
5048
  >
4603
5049
  four
4604
5050
  </span>
@@ -4645,6 +5091,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4645
5091
  >
4646
5092
  <span
4647
5093
  className="c5"
5094
+ onClick={[Function]}
4648
5095
  >
4649
5096
  five
4650
5097
  </span>
@@ -4691,6 +5138,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4691
5138
  >
4692
5139
  <span
4693
5140
  className="c5"
5141
+ onClick={[Function]}
4694
5142
  >
4695
5143
  six
4696
5144
  </span>
@@ -4737,6 +5185,7 @@ exports[`TextInputWithTokens renders with tokens 1`] = `
4737
5185
  >
4738
5186
  <span
4739
5187
  className="c5"
5188
+ onClick={[Function]}
4740
5189
  >
4741
5190
  seven
4742
5191
  </span>
@@ -4848,6 +5297,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
4848
5297
  border-radius: 6px;
4849
5298
  outline: none;
4850
5299
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
5300
+ cursor: text;
4851
5301
  padding: 6px 12px;
4852
5302
  }
4853
5303
 
@@ -5008,6 +5458,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5008
5458
 
5009
5459
  <span
5010
5460
  className="c0"
5461
+ onClick={[Function]}
5011
5462
  >
5012
5463
  <div
5013
5464
  className="c1"
@@ -5018,6 +5469,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5018
5469
  >
5019
5470
  <input
5020
5471
  className="c3"
5472
+ onBlur={[Function]}
5021
5473
  onFocus={[Function]}
5022
5474
  onKeyDown={[Function]}
5023
5475
  type="text"
@@ -5036,6 +5488,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5036
5488
  >
5037
5489
  <span
5038
5490
  className="c5"
5491
+ onClick={[Function]}
5039
5492
  >
5040
5493
  zero
5041
5494
  </span>
@@ -5082,6 +5535,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5082
5535
  >
5083
5536
  <span
5084
5537
  className="c5"
5538
+ onClick={[Function]}
5085
5539
  >
5086
5540
  one
5087
5541
  </span>
@@ -5128,6 +5582,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5128
5582
  >
5129
5583
  <span
5130
5584
  className="c5"
5585
+ onClick={[Function]}
5131
5586
  >
5132
5587
  two
5133
5588
  </span>
@@ -5174,6 +5629,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5174
5629
  >
5175
5630
  <span
5176
5631
  className="c5"
5632
+ onClick={[Function]}
5177
5633
  >
5178
5634
  three
5179
5635
  </span>
@@ -5220,6 +5676,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5220
5676
  >
5221
5677
  <span
5222
5678
  className="c5"
5679
+ onClick={[Function]}
5223
5680
  >
5224
5681
  four
5225
5682
  </span>
@@ -5266,6 +5723,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5266
5723
  >
5267
5724
  <span
5268
5725
  className="c5"
5726
+ onClick={[Function]}
5269
5727
  >
5270
5728
  five
5271
5729
  </span>
@@ -5312,6 +5770,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5312
5770
  >
5313
5771
  <span
5314
5772
  className="c5"
5773
+ onClick={[Function]}
5315
5774
  >
5316
5775
  six
5317
5776
  </span>
@@ -5358,6 +5817,7 @@ exports[`TextInputWithTokens renders with tokens using a custom token component
5358
5817
  >
5359
5818
  <span
5360
5819
  className="c5"
5820
+ onClick={[Function]}
5361
5821
  >
5362
5822
  seven
5363
5823
  </span>
@@ -5469,6 +5929,7 @@ exports[`TextInputWithTokens renders without tokens 1`] = `
5469
5929
  border-radius: 6px;
5470
5930
  outline: none;
5471
5931
  box-shadow: inset 0 1px 0 rgba(208,215,222,0.2);
5932
+ cursor: text;
5472
5933
  padding: 6px 12px;
5473
5934
  }
5474
5935
 
@@ -5496,6 +5957,7 @@ exports[`TextInputWithTokens renders without tokens 1`] = `
5496
5957
 
5497
5958
  <span
5498
5959
  className="c0"
5960
+ onClick={[Function]}
5499
5961
  >
5500
5962
  <div
5501
5963
  className="c1"
@@ -5506,6 +5968,7 @@ exports[`TextInputWithTokens renders without tokens 1`] = `
5506
5968
  >
5507
5969
  <input
5508
5970
  className="c3"
5971
+ onBlur={[Function]}
5509
5972
  onFocus={[Function]}
5510
5973
  onKeyDown={[Function]}
5511
5974
  type="text"