uikit-react-public 0.27.2 → 0.28.0

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,255 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`Chip > snapshot: checked prop 1`] = `
4
+ <label
5
+ class="ucl-uikit-chip css-1j50qe4"
6
+ >
7
+ <span
8
+ class="ucl-uikit-base-checkbox css-1mmc74g"
9
+ data-testid="ucl-uikit-chip__root"
10
+ >
11
+ <input
12
+ checked=""
13
+ class="css-1bjd9qx"
14
+ data-testid="ucl-uikit-chip"
15
+ type="checkbox"
16
+ />
17
+ <span
18
+ aria-hidden="true"
19
+ class="css-g3adpt"
20
+ >
21
+ <span
22
+ class="css-vv99xy"
23
+ >
24
+ <svg
25
+ class="ucl-uikit-icon css-1fx6elc"
26
+ data-testid="ucl-uikit-icon"
27
+ fill="none"
28
+ focusable="false"
29
+ height="16"
30
+ stroke="currentColor"
31
+ stroke-linecap="round"
32
+ stroke-linejoin="round"
33
+ stroke-width="2"
34
+ viewBox="0 0 24 24"
35
+ width="16"
36
+ xmlns="http://www.w3.org/2000/svg"
37
+ >
38
+ <path
39
+ d="M20 6 9 17l-5-5"
40
+ />
41
+ </svg>
42
+ <span
43
+ class="ucl-uikit-text css-3kj57w"
44
+ data-testid="ucl-uikit-text"
45
+ >
46
+ Student
47
+ </span>
48
+ </span>
49
+ </span>
50
+ </span>
51
+ </label>
52
+ `;
53
+
54
+ exports[`Chip > snapshot: disabled and checked props 1`] = `
55
+ <label
56
+ class="ucl-uikit-chip css-1j50qe4"
57
+ >
58
+ <span
59
+ class="ucl-uikit-base-checkbox css-lp1eko"
60
+ data-testid="ucl-uikit-chip__root"
61
+ >
62
+ <input
63
+ checked=""
64
+ class="css-1bjd9qx"
65
+ data-testid="ucl-uikit-chip"
66
+ disabled=""
67
+ type="checkbox"
68
+ />
69
+ <span
70
+ aria-hidden="true"
71
+ class="css-g3adpt"
72
+ >
73
+ <span
74
+ class="css-vv99xy"
75
+ >
76
+ <svg
77
+ class="ucl-uikit-icon css-1fx6elc"
78
+ data-testid="ucl-uikit-icon"
79
+ fill="none"
80
+ focusable="false"
81
+ height="16"
82
+ stroke="currentColor"
83
+ stroke-linecap="round"
84
+ stroke-linejoin="round"
85
+ stroke-width="2"
86
+ viewBox="0 0 24 24"
87
+ width="16"
88
+ xmlns="http://www.w3.org/2000/svg"
89
+ >
90
+ <path
91
+ d="M20 6 9 17l-5-5"
92
+ />
93
+ </svg>
94
+ <span
95
+ class="ucl-uikit-text css-3kj57w"
96
+ data-testid="ucl-uikit-text"
97
+ >
98
+ Student
99
+ </span>
100
+ </span>
101
+ </span>
102
+ </span>
103
+ </label>
104
+ `;
105
+
106
+ exports[`Chip > snapshot: disabled prop 1`] = `
107
+ <label
108
+ class="ucl-uikit-chip css-1j50qe4"
109
+ >
110
+ <span
111
+ class="ucl-uikit-base-checkbox css-lp1eko"
112
+ data-testid="ucl-uikit-chip__root"
113
+ >
114
+ <input
115
+ class="css-1bjd9qx"
116
+ data-testid="ucl-uikit-chip"
117
+ disabled=""
118
+ type="checkbox"
119
+ />
120
+ <span
121
+ aria-hidden="true"
122
+ class="css-g3adpt"
123
+ >
124
+ <span
125
+ class="css-vv99xy"
126
+ >
127
+ <svg
128
+ class="ucl-uikit-icon css-10yks9o"
129
+ data-testid="ucl-uikit-icon"
130
+ fill="none"
131
+ focusable="false"
132
+ height="16"
133
+ stroke="currentColor"
134
+ stroke-linecap="round"
135
+ stroke-linejoin="round"
136
+ stroke-width="2"
137
+ viewBox="0 0 24 24"
138
+ width="16"
139
+ xmlns="http://www.w3.org/2000/svg"
140
+ >
141
+ <path
142
+ d="M20 6 9 17l-5-5"
143
+ />
144
+ </svg>
145
+ <span
146
+ class="ucl-uikit-text css-10p3qy4"
147
+ data-testid="ucl-uikit-text"
148
+ >
149
+ Student
150
+ </span>
151
+ </span>
152
+ </span>
153
+ </span>
154
+ </label>
155
+ `;
156
+
157
+ exports[`Chip > snapshot: no props 1`] = `
158
+ <label
159
+ class="ucl-uikit-chip css-1j50qe4"
160
+ >
161
+ <span
162
+ class="ucl-uikit-base-checkbox css-1mmc74g"
163
+ data-testid="ucl-uikit-chip__root"
164
+ >
165
+ <input
166
+ class="css-1bjd9qx"
167
+ data-testid="ucl-uikit-chip"
168
+ type="checkbox"
169
+ />
170
+ <span
171
+ aria-hidden="true"
172
+ class="css-g3adpt"
173
+ >
174
+ <span
175
+ class="css-vv99xy"
176
+ >
177
+ <svg
178
+ class="ucl-uikit-icon css-10yks9o"
179
+ data-testid="ucl-uikit-icon"
180
+ fill="none"
181
+ focusable="false"
182
+ height="16"
183
+ stroke="currentColor"
184
+ stroke-linecap="round"
185
+ stroke-linejoin="round"
186
+ stroke-width="2"
187
+ viewBox="0 0 24 24"
188
+ width="16"
189
+ xmlns="http://www.w3.org/2000/svg"
190
+ >
191
+ <path
192
+ d="M20 6 9 17l-5-5"
193
+ />
194
+ </svg>
195
+ <span
196
+ class="ucl-uikit-text css-10p3qy4"
197
+ data-testid="ucl-uikit-text"
198
+ >
199
+ Student
200
+ </span>
201
+ </span>
202
+ </span>
203
+ </span>
204
+ </label>
205
+ `;
206
+
207
+ exports[`Chip > snapshot: testId prop 1`] = `
208
+ <label
209
+ class="ucl-uikit-chip css-1j50qe4"
210
+ >
211
+ <span
212
+ class="ucl-uikit-base-checkbox css-1mmc74g"
213
+ data-testid="test123__root"
214
+ >
215
+ <input
216
+ class="css-1bjd9qx"
217
+ data-testid="test123"
218
+ type="checkbox"
219
+ />
220
+ <span
221
+ aria-hidden="true"
222
+ class="css-g3adpt"
223
+ >
224
+ <span
225
+ class="css-vv99xy"
226
+ >
227
+ <svg
228
+ class="ucl-uikit-icon css-10yks9o"
229
+ data-testid="ucl-uikit-icon"
230
+ fill="none"
231
+ focusable="false"
232
+ height="16"
233
+ stroke="currentColor"
234
+ stroke-linecap="round"
235
+ stroke-linejoin="round"
236
+ stroke-width="2"
237
+ viewBox="0 0 24 24"
238
+ width="16"
239
+ xmlns="http://www.w3.org/2000/svg"
240
+ >
241
+ <path
242
+ d="M20 6 9 17l-5-5"
243
+ />
244
+ </svg>
245
+ <span
246
+ class="ucl-uikit-text css-10p3qy4"
247
+ data-testid="ucl-uikit-text"
248
+ >
249
+ Student
250
+ </span>
251
+ </span>
252
+ </span>
253
+ </span>
254
+ </label>
255
+ `;
@@ -0,0 +1,2 @@
1
+ export { default } from './Chip';
2
+ export type { ChipProps } from './Chip';
@@ -54,7 +54,7 @@ exports[`Cell > Snapshot: variants 1`] = `
54
54
  />
55
55
  <span
56
56
  aria-hidden="true"
57
- class="css-1quq9cp"
57
+ class="css-g3adpt"
58
58
  />
59
59
  </span>
60
60
  </div>
@@ -25,7 +25,7 @@ exports[`HeadCell > Snapshot: checkbox variant 1`] = `
25
25
  />
26
26
  <span
27
27
  aria-hidden="true"
28
- class="css-1quq9cp"
28
+ class="css-g3adpt"
29
29
  />
30
30
  </span>
31
31
  </div>
@@ -85,6 +85,9 @@ export type { CheckboxProps, LabelledCheckboxProps } from './Checkbox';
85
85
  export { default as Toggle } from './Toggle';
86
86
  export type { ToggleProps } from './Toggle';
87
87
 
88
+ export { default as Chip } from './Chip';
89
+ export type { ChipProps } from './Chip';
90
+
88
91
  export { default as AppMenu } from './AppMenu';
89
92
  export type { AppMenuProps } from './AppMenu';
90
93
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uikit-react-public",
3
3
  "private": false,
4
4
  "license": "UNLICENSED",
5
- "version": "0.27.2",
5
+ "version": "0.28.0",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",