@jobber/components-native 0.84.4-match-mobi-55ef4ec.7 → 0.84.4-revert-269-4fbaea5.19

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 (29) hide show
  1. package/dist/package.json +3 -3
  2. package/dist/src/StatusLabel/StatusLabel.js +12 -6
  3. package/dist/src/StatusLabel/StatusLabel.style.js +13 -9
  4. package/dist/src/index.js +0 -1
  5. package/dist/src/utils/meta/meta.json +0 -1
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/dist/types/src/StatusLabel/StatusLabel.d.ts +3 -3
  8. package/dist/types/src/StatusLabel/StatusLabel.style.d.ts +10 -9
  9. package/dist/types/src/index.d.ts +0 -1
  10. package/package.json +3 -3
  11. package/src/StatusLabel/StatusLabel.style.ts +16 -9
  12. package/src/StatusLabel/StatusLabel.tsx +28 -15
  13. package/src/StatusLabel/__snapshots__/StatusLabel.test.tsx.snap +105 -126
  14. package/src/index.ts +0 -1
  15. package/src/utils/meta/meta.json +0 -1
  16. package/dist/src/StatusIndicator/StatusIndicator.js +0 -11
  17. package/dist/src/StatusIndicator/StatusIndicator.style.js +0 -12
  18. package/dist/src/StatusIndicator/StatusIndicator.type.js +0 -1
  19. package/dist/src/StatusIndicator/index.js +0 -1
  20. package/dist/types/src/StatusIndicator/StatusIndicator.d.ts +0 -6
  21. package/dist/types/src/StatusIndicator/StatusIndicator.style.d.ts +0 -8
  22. package/dist/types/src/StatusIndicator/StatusIndicator.type.d.ts +0 -1
  23. package/dist/types/src/StatusIndicator/index.d.ts +0 -2
  24. package/src/StatusIndicator/StatusIndicator.style.ts +0 -14
  25. package/src/StatusIndicator/StatusIndicator.test.tsx +0 -42
  26. package/src/StatusIndicator/StatusIndicator.tsx +0 -23
  27. package/src/StatusIndicator/StatusIndicator.type.ts +0 -6
  28. package/src/StatusIndicator/__snapshots__/StatusIndicator.test.tsx.snap +0 -96
  29. package/src/StatusIndicator/index.ts +0 -2
@@ -5,20 +5,9 @@ exports[`StatusLabel alignment when alignment prop set to "end" should match sna
5
5
  style={
6
6
  [
7
7
  {
8
- "alignItems": "center",
9
- "backgroundColor": "hsl(109, 28%, 92%)",
10
- "borderRadius": 16,
11
8
  "flexDirection": "row",
12
- "flexGrow": 0,
13
- "flexShrink": 1,
14
9
  "flexWrap": "nowrap",
15
- "gap": 4,
16
10
  "justifyContent": "flex-end",
17
- "paddingHorizontal": 8,
18
- "paddingVertical": 4,
19
- },
20
- {
21
- "backgroundColor": "hsl(109, 28%, 92%)",
22
11
  },
23
12
  false,
24
13
  ]
@@ -28,7 +17,6 @@ exports[`StatusLabel alignment when alignment prop set to "end" should match sna
28
17
  style={
29
18
  {
30
19
  "flexShrink": 1,
31
- "marginBottom": -1,
32
20
  }
33
21
  }
34
22
  >
@@ -37,6 +25,7 @@ exports[`StatusLabel alignment when alignment prop set to "end" should match sna
37
25
  adjustsFontSizeToFit={false}
38
26
  allowFontScaling={true}
39
27
  collapsable={false}
28
+ maxFontSizeMultiplier={1.1428571428571428}
40
29
  selectable={true}
41
30
  selectionColor="hsl(86, 100%, 46%)"
42
31
  style={
@@ -45,13 +34,13 @@ exports[`StatusLabel alignment when alignment prop set to "end" should match sna
45
34
  "fontFamily": "inter-medium",
46
35
  },
47
36
  {
48
- "color": "hsl(107, 64%, 16%)",
37
+ "color": "hsl(197, 15%, 43%)",
49
38
  },
50
39
  {
51
40
  "textAlign": "right",
52
41
  },
53
42
  {
54
- "fontSize": 12,
43
+ "fontSize": 14,
55
44
  "lineHeight": 18,
56
45
  },
57
46
  {
@@ -63,21 +52,29 @@ exports[`StatusLabel alignment when alignment prop set to "end" should match sna
63
52
  End Aligned
64
53
  </Text>
65
54
  </View>
55
+ <View
56
+ style={
57
+ {
58
+ "width": 8,
59
+ }
60
+ }
61
+ />
66
62
  <View
67
63
  style={
68
64
  [
69
65
  {
70
66
  "backgroundColor": "hsl(107, 58%, 33%)",
71
- "borderRadius": 100,
72
- "height": 8,
73
- "width": 8,
67
+ "borderRadius": 3,
68
+ "height": 12,
69
+ "marginTop": 3,
70
+ "width": 12,
74
71
  },
75
72
  {
76
73
  "backgroundColor": "hsl(107, 58%, 33%)",
77
74
  },
78
75
  ]
79
76
  }
80
- testID="successIndicator"
77
+ testID="successLabelIcon"
81
78
  />
82
79
  </View>
83
80
  `;
@@ -87,20 +84,9 @@ exports[`StatusLabel alignment when alignment prop set to default ("start") shou
87
84
  style={
88
85
  [
89
86
  {
90
- "alignItems": "center",
91
- "backgroundColor": "hsl(109, 28%, 92%)",
92
- "borderRadius": 16,
93
87
  "flexDirection": "row",
94
- "flexGrow": 0,
95
- "flexShrink": 1,
96
88
  "flexWrap": "nowrap",
97
- "gap": 4,
98
89
  "justifyContent": "flex-end",
99
- "paddingHorizontal": 8,
100
- "paddingVertical": 4,
101
- },
102
- {
103
- "backgroundColor": "hsl(109, 28%, 92%)",
104
90
  },
105
91
  false,
106
92
  ]
@@ -110,7 +96,6 @@ exports[`StatusLabel alignment when alignment prop set to default ("start") shou
110
96
  style={
111
97
  {
112
98
  "flexShrink": 1,
113
- "marginBottom": -1,
114
99
  }
115
100
  }
116
101
  >
@@ -119,6 +104,7 @@ exports[`StatusLabel alignment when alignment prop set to default ("start") shou
119
104
  adjustsFontSizeToFit={false}
120
105
  allowFontScaling={true}
121
106
  collapsable={false}
107
+ maxFontSizeMultiplier={1.1428571428571428}
122
108
  selectable={true}
123
109
  selectionColor="hsl(86, 100%, 46%)"
124
110
  style={
@@ -127,13 +113,13 @@ exports[`StatusLabel alignment when alignment prop set to default ("start") shou
127
113
  "fontFamily": "inter-medium",
128
114
  },
129
115
  {
130
- "color": "hsl(107, 64%, 16%)",
116
+ "color": "hsl(197, 15%, 43%)",
131
117
  },
132
118
  {
133
119
  "textAlign": "right",
134
120
  },
135
121
  {
136
- "fontSize": 12,
122
+ "fontSize": 14,
137
123
  "lineHeight": 18,
138
124
  },
139
125
  {
@@ -145,21 +131,29 @@ exports[`StatusLabel alignment when alignment prop set to default ("start") shou
145
131
  Start Aligned
146
132
  </Text>
147
133
  </View>
134
+ <View
135
+ style={
136
+ {
137
+ "width": 8,
138
+ }
139
+ }
140
+ />
148
141
  <View
149
142
  style={
150
143
  [
151
144
  {
152
145
  "backgroundColor": "hsl(107, 58%, 33%)",
153
- "borderRadius": 100,
154
- "height": 8,
155
- "width": 8,
146
+ "borderRadius": 3,
147
+ "height": 12,
148
+ "marginTop": 3,
149
+ "width": 12,
156
150
  },
157
151
  {
158
152
  "backgroundColor": "hsl(107, 58%, 33%)",
159
153
  },
160
154
  ]
161
155
  }
162
- testID="successIndicator"
156
+ testID="successLabelIcon"
163
157
  />
164
158
  </View>
165
159
  `;
@@ -169,20 +163,9 @@ exports[`StatusLabel status when status prop set to "critical" should match snap
169
163
  style={
170
164
  [
171
165
  {
172
- "alignItems": "center",
173
- "backgroundColor": "hsl(109, 28%, 92%)",
174
- "borderRadius": 16,
175
166
  "flexDirection": "row",
176
- "flexGrow": 0,
177
- "flexShrink": 1,
178
167
  "flexWrap": "nowrap",
179
- "gap": 4,
180
168
  "justifyContent": "flex-end",
181
- "paddingHorizontal": 8,
182
- "paddingVertical": 4,
183
- },
184
- {
185
- "backgroundColor": "hsl(7, 63%, 95%)",
186
169
  },
187
170
  false,
188
171
  ]
@@ -192,7 +175,6 @@ exports[`StatusLabel status when status prop set to "critical" should match snap
192
175
  style={
193
176
  {
194
177
  "flexShrink": 1,
195
- "marginBottom": -1,
196
178
  }
197
179
  }
198
180
  >
@@ -201,6 +183,7 @@ exports[`StatusLabel status when status prop set to "critical" should match snap
201
183
  adjustsFontSizeToFit={false}
202
184
  allowFontScaling={true}
203
185
  collapsable={false}
186
+ maxFontSizeMultiplier={1.1428571428571428}
204
187
  selectable={true}
205
188
  selectionColor="hsl(86, 100%, 46%)"
206
189
  style={
@@ -209,13 +192,13 @@ exports[`StatusLabel status when status prop set to "critical" should match snap
209
192
  "fontFamily": "inter-medium",
210
193
  },
211
194
  {
212
- "color": "hsl(6, 100%, 24%)",
195
+ "color": "hsl(197, 15%, 43%)",
213
196
  },
214
197
  {
215
198
  "textAlign": "right",
216
199
  },
217
200
  {
218
- "fontSize": 12,
201
+ "fontSize": 14,
219
202
  "lineHeight": 18,
220
203
  },
221
204
  {
@@ -227,21 +210,29 @@ exports[`StatusLabel status when status prop set to "critical" should match snap
227
210
  Critical
228
211
  </Text>
229
212
  </View>
213
+ <View
214
+ style={
215
+ {
216
+ "width": 8,
217
+ }
218
+ }
219
+ />
230
220
  <View
231
221
  style={
232
222
  [
233
223
  {
234
224
  "backgroundColor": "hsl(107, 58%, 33%)",
235
- "borderRadius": 100,
236
- "height": 8,
237
- "width": 8,
225
+ "borderRadius": 3,
226
+ "height": 12,
227
+ "marginTop": 3,
228
+ "width": 12,
238
229
  },
239
230
  {
240
231
  "backgroundColor": "hsl(6, 64%, 51%)",
241
232
  },
242
233
  ]
243
234
  }
244
- testID="criticalIndicator"
235
+ testID="criticalLabelIcon"
245
236
  />
246
237
  </View>
247
238
  `;
@@ -251,20 +242,9 @@ exports[`StatusLabel status when status prop set to "inactive" should match snap
251
242
  style={
252
243
  [
253
244
  {
254
- "alignItems": "center",
255
- "backgroundColor": "hsl(109, 28%, 92%)",
256
- "borderRadius": 16,
257
245
  "flexDirection": "row",
258
- "flexGrow": 0,
259
- "flexShrink": 1,
260
246
  "flexWrap": "nowrap",
261
- "gap": 4,
262
247
  "justifyContent": "flex-end",
263
- "paddingHorizontal": 8,
264
- "paddingVertical": 4,
265
- },
266
- {
267
- "backgroundColor": "hsl(195, 12%, 94%)",
268
248
  },
269
249
  false,
270
250
  ]
@@ -274,7 +254,6 @@ exports[`StatusLabel status when status prop set to "inactive" should match snap
274
254
  style={
275
255
  {
276
256
  "flexShrink": 1,
277
- "marginBottom": -1,
278
257
  }
279
258
  }
280
259
  >
@@ -283,6 +262,7 @@ exports[`StatusLabel status when status prop set to "inactive" should match snap
283
262
  adjustsFontSizeToFit={false}
284
263
  allowFontScaling={true}
285
264
  collapsable={false}
265
+ maxFontSizeMultiplier={1.1428571428571428}
286
266
  selectable={true}
287
267
  selectionColor="hsl(86, 100%, 46%)"
288
268
  style={
@@ -291,13 +271,13 @@ exports[`StatusLabel status when status prop set to "inactive" should match snap
291
271
  "fontFamily": "inter-medium",
292
272
  },
293
273
  {
294
- "color": "hsl(197, 90%, 12%)",
274
+ "color": "hsl(197, 15%, 43%)",
295
275
  },
296
276
  {
297
277
  "textAlign": "right",
298
278
  },
299
279
  {
300
- "fontSize": 12,
280
+ "fontSize": 14,
301
281
  "lineHeight": 18,
302
282
  },
303
283
  {
@@ -309,21 +289,29 @@ exports[`StatusLabel status when status prop set to "inactive" should match snap
309
289
  Inactive
310
290
  </Text>
311
291
  </View>
292
+ <View
293
+ style={
294
+ {
295
+ "width": 8,
296
+ }
297
+ }
298
+ />
312
299
  <View
313
300
  style={
314
301
  [
315
302
  {
316
303
  "backgroundColor": "hsl(107, 58%, 33%)",
317
- "borderRadius": 100,
318
- "height": 8,
319
- "width": 8,
304
+ "borderRadius": 3,
305
+ "height": 12,
306
+ "marginTop": 3,
307
+ "width": 12,
320
308
  },
321
309
  {
322
310
  "backgroundColor": "hsl(198, 25%, 33%)",
323
311
  },
324
312
  ]
325
313
  }
326
- testID="inactiveIndicator"
314
+ testID="inactiveLabelIcon"
327
315
  />
328
316
  </View>
329
317
  `;
@@ -333,20 +321,9 @@ exports[`StatusLabel status when status prop set to "informative" should match s
333
321
  style={
334
322
  [
335
323
  {
336
- "alignItems": "center",
337
- "backgroundColor": "hsl(109, 28%, 92%)",
338
- "borderRadius": 16,
339
324
  "flexDirection": "row",
340
- "flexGrow": 0,
341
- "flexShrink": 1,
342
325
  "flexWrap": "nowrap",
343
- "gap": 4,
344
326
  "justifyContent": "flex-end",
345
- "paddingHorizontal": 8,
346
- "paddingVertical": 4,
347
- },
348
- {
349
- "backgroundColor": "hsl(207, 87%, 94%)",
350
327
  },
351
328
  false,
352
329
  ]
@@ -356,7 +333,6 @@ exports[`StatusLabel status when status prop set to "informative" should match s
356
333
  style={
357
334
  {
358
335
  "flexShrink": 1,
359
- "marginBottom": -1,
360
336
  }
361
337
  }
362
338
  >
@@ -365,6 +341,7 @@ exports[`StatusLabel status when status prop set to "informative" should match s
365
341
  adjustsFontSizeToFit={false}
366
342
  allowFontScaling={true}
367
343
  collapsable={false}
344
+ maxFontSizeMultiplier={1.1428571428571428}
368
345
  selectable={true}
369
346
  selectionColor="hsl(86, 100%, 46%)"
370
347
  style={
@@ -373,13 +350,13 @@ exports[`StatusLabel status when status prop set to "informative" should match s
373
350
  "fontFamily": "inter-medium",
374
351
  },
375
352
  {
376
- "color": "hsl(207, 61%, 34%)",
353
+ "color": "hsl(197, 15%, 43%)",
377
354
  },
378
355
  {
379
356
  "textAlign": "right",
380
357
  },
381
358
  {
382
- "fontSize": 12,
359
+ "fontSize": 14,
383
360
  "lineHeight": 18,
384
361
  },
385
362
  {
@@ -391,21 +368,29 @@ exports[`StatusLabel status when status prop set to "informative" should match s
391
368
  Informative
392
369
  </Text>
393
370
  </View>
371
+ <View
372
+ style={
373
+ {
374
+ "width": 8,
375
+ }
376
+ }
377
+ />
394
378
  <View
395
379
  style={
396
380
  [
397
381
  {
398
382
  "backgroundColor": "hsl(107, 58%, 33%)",
399
- "borderRadius": 100,
400
- "height": 8,
401
- "width": 8,
383
+ "borderRadius": 3,
384
+ "height": 12,
385
+ "marginTop": 3,
386
+ "width": 12,
402
387
  },
403
388
  {
404
389
  "backgroundColor": "hsl(207, 79%, 57%)",
405
390
  },
406
391
  ]
407
392
  }
408
- testID="informativeIndicator"
393
+ testID="informativeLabelIcon"
409
394
  />
410
395
  </View>
411
396
  `;
@@ -415,20 +400,9 @@ exports[`StatusLabel status when status prop set to "warning" should match snaps
415
400
  style={
416
401
  [
417
402
  {
418
- "alignItems": "center",
419
- "backgroundColor": "hsl(109, 28%, 92%)",
420
- "borderRadius": 16,
421
403
  "flexDirection": "row",
422
- "flexGrow": 0,
423
- "flexShrink": 1,
424
404
  "flexWrap": "nowrap",
425
- "gap": 4,
426
405
  "justifyContent": "flex-end",
427
- "paddingHorizontal": 8,
428
- "paddingVertical": 4,
429
- },
430
- {
431
- "backgroundColor": "hsl(52, 64%, 89%)",
432
406
  },
433
407
  false,
434
408
  ]
@@ -438,7 +412,6 @@ exports[`StatusLabel status when status prop set to "warning" should match snaps
438
412
  style={
439
413
  {
440
414
  "flexShrink": 1,
441
- "marginBottom": -1,
442
415
  }
443
416
  }
444
417
  >
@@ -447,6 +420,7 @@ exports[`StatusLabel status when status prop set to "warning" should match snaps
447
420
  adjustsFontSizeToFit={false}
448
421
  allowFontScaling={true}
449
422
  collapsable={false}
423
+ maxFontSizeMultiplier={1.1428571428571428}
450
424
  selectable={true}
451
425
  selectionColor="hsl(86, 100%, 46%)"
452
426
  style={
@@ -455,13 +429,13 @@ exports[`StatusLabel status when status prop set to "warning" should match snaps
455
429
  "fontFamily": "inter-medium",
456
430
  },
457
431
  {
458
- "color": "hsl(51, 64%, 24%)",
432
+ "color": "hsl(197, 15%, 43%)",
459
433
  },
460
434
  {
461
435
  "textAlign": "right",
462
436
  },
463
437
  {
464
- "fontSize": 12,
438
+ "fontSize": 14,
465
439
  "lineHeight": 18,
466
440
  },
467
441
  {
@@ -473,21 +447,29 @@ exports[`StatusLabel status when status prop set to "warning" should match snaps
473
447
  Warning
474
448
  </Text>
475
449
  </View>
450
+ <View
451
+ style={
452
+ {
453
+ "width": 8,
454
+ }
455
+ }
456
+ />
476
457
  <View
477
458
  style={
478
459
  [
479
460
  {
480
461
  "backgroundColor": "hsl(107, 58%, 33%)",
481
- "borderRadius": 100,
482
- "height": 8,
483
- "width": 8,
462
+ "borderRadius": 3,
463
+ "height": 12,
464
+ "marginTop": 3,
465
+ "width": 12,
484
466
  },
485
467
  {
486
468
  "backgroundColor": "hsl(51, 64%, 49%)",
487
469
  },
488
470
  ]
489
471
  }
490
- testID="warningIndicator"
472
+ testID="warningLabelIcon"
491
473
  />
492
474
  </View>
493
475
  `;
@@ -497,20 +479,9 @@ exports[`StatusLabel status when status prop set to default ("success") should m
497
479
  style={
498
480
  [
499
481
  {
500
- "alignItems": "center",
501
- "backgroundColor": "hsl(109, 28%, 92%)",
502
- "borderRadius": 16,
503
482
  "flexDirection": "row",
504
- "flexGrow": 0,
505
- "flexShrink": 1,
506
483
  "flexWrap": "nowrap",
507
- "gap": 4,
508
484
  "justifyContent": "flex-end",
509
- "paddingHorizontal": 8,
510
- "paddingVertical": 4,
511
- },
512
- {
513
- "backgroundColor": "hsl(109, 28%, 92%)",
514
485
  },
515
486
  false,
516
487
  ]
@@ -520,7 +491,6 @@ exports[`StatusLabel status when status prop set to default ("success") should m
520
491
  style={
521
492
  {
522
493
  "flexShrink": 1,
523
- "marginBottom": -1,
524
494
  }
525
495
  }
526
496
  >
@@ -529,6 +499,7 @@ exports[`StatusLabel status when status prop set to default ("success") should m
529
499
  adjustsFontSizeToFit={false}
530
500
  allowFontScaling={true}
531
501
  collapsable={false}
502
+ maxFontSizeMultiplier={1.1428571428571428}
532
503
  selectable={true}
533
504
  selectionColor="hsl(86, 100%, 46%)"
534
505
  style={
@@ -537,13 +508,13 @@ exports[`StatusLabel status when status prop set to default ("success") should m
537
508
  "fontFamily": "inter-medium",
538
509
  },
539
510
  {
540
- "color": "hsl(107, 64%, 16%)",
511
+ "color": "hsl(197, 15%, 43%)",
541
512
  },
542
513
  {
543
514
  "textAlign": "right",
544
515
  },
545
516
  {
546
- "fontSize": 12,
517
+ "fontSize": 14,
547
518
  "lineHeight": 18,
548
519
  },
549
520
  {
@@ -555,21 +526,29 @@ exports[`StatusLabel status when status prop set to default ("success") should m
555
526
  Success
556
527
  </Text>
557
528
  </View>
529
+ <View
530
+ style={
531
+ {
532
+ "width": 8,
533
+ }
534
+ }
535
+ />
558
536
  <View
559
537
  style={
560
538
  [
561
539
  {
562
540
  "backgroundColor": "hsl(107, 58%, 33%)",
563
- "borderRadius": 100,
564
- "height": 8,
565
- "width": 8,
541
+ "borderRadius": 3,
542
+ "height": 12,
543
+ "marginTop": 3,
544
+ "width": 12,
566
545
  },
567
546
  {
568
547
  "backgroundColor": "hsl(107, 58%, 33%)",
569
548
  },
570
549
  ]
571
550
  }
572
- testID="successIndicator"
551
+ testID="successLabelIcon"
573
552
  />
574
553
  </View>
575
554
  `;
package/src/index.ts CHANGED
@@ -39,7 +39,6 @@ export * from "./Menu";
39
39
  export * from "./ProgressBar";
40
40
  export * from "./Select";
41
41
  export * from "./StatusLabel";
42
- export * from "./StatusIndicator";
43
42
  export * from "./Switch";
44
43
  export * from "./Text";
45
44
  export * from "./TextList";
@@ -57,7 +57,6 @@
57
57
  "Option",
58
58
  "ProgressBar",
59
59
  "Select",
60
- "StatusIndicator",
61
60
  "StatusLabel",
62
61
  "Switch",
63
62
  "Text",
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- import { View } from "react-native";
3
- import { useStyles } from "./StatusIndicator.style";
4
- import { tokens } from "../utils/design";
5
- export function StatusIndicator({ status }) {
6
- const styles = useStyles();
7
- return (React.createElement(View, { testID: `${status}Indicator`, style: [
8
- styles.statusIndicator,
9
- { backgroundColor: tokens[`color-${status}`] },
10
- ] }));
11
- }
@@ -1,12 +0,0 @@
1
- import { buildThemedStyles } from "../AtlantisThemeContext";
2
- export const useStyles = buildThemedStyles(tokens => {
3
- const statusIndicatorDiameter = 8;
4
- return {
5
- statusIndicator: {
6
- borderRadius: tokens["radius-circle"],
7
- backgroundColor: tokens["color-success"],
8
- width: statusIndicatorDiameter,
9
- height: statusIndicatorDiameter,
10
- },
11
- };
12
- });
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export { StatusIndicator } from "./StatusIndicator";
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import type { StatusIndicatorType } from "./StatusIndicator.type";
3
- export interface StatusIndicatorProps {
4
- readonly status: StatusIndicatorType;
5
- }
6
- export declare function StatusIndicator({ status }: StatusIndicatorProps): React.JSX.Element;
@@ -1,8 +0,0 @@
1
- export declare const useStyles: () => {
2
- statusIndicator: {
3
- borderRadius: number;
4
- backgroundColor: string;
5
- width: number;
6
- height: number;
7
- };
8
- };
@@ -1 +0,0 @@
1
- export type StatusIndicatorType = "success" | "warning" | "critical" | "inactive" | "informative";
@@ -1,2 +0,0 @@
1
- export { StatusIndicator } from "./StatusIndicator";
2
- export type { StatusIndicatorProps } from "./StatusIndicator";
@@ -1,14 +0,0 @@
1
- import { buildThemedStyles } from "../AtlantisThemeContext";
2
-
3
- export const useStyles = buildThemedStyles(tokens => {
4
- const statusIndicatorDiameter = 8;
5
-
6
- return {
7
- statusIndicator: {
8
- borderRadius: tokens["radius-circle"],
9
- backgroundColor: tokens["color-success"],
10
- width: statusIndicatorDiameter,
11
- height: statusIndicatorDiameter,
12
- },
13
- };
14
- });