@proulr/sdui-components 0.1.57 → 0.1.59
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/package.json
CHANGED
|
@@ -397,6 +397,48 @@ export function AppChromeTabChatGlyph({ color = m3Colors.primary, size = 24 }: A
|
|
|
397
397
|
return <AppChromeChatGlyph color={color} size={size} />;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
+
/** Tab Randoms — shuffle / chance (dois nós ligados). */
|
|
401
|
+
export function AppChromeTabRandomGlyph({ color = m3Colors.primary, size = 24 }: AppChromeGlyphProps) {
|
|
402
|
+
const stroke = strokeFor(size);
|
|
403
|
+
const node = size * 0.22;
|
|
404
|
+
return (
|
|
405
|
+
<View style={{ width: size, height: size, alignItems: 'center', justifyContent: 'center' }}>
|
|
406
|
+
<View
|
|
407
|
+
style={{
|
|
408
|
+
position: 'absolute',
|
|
409
|
+
left: size * 0.14,
|
|
410
|
+
top: size * 0.18,
|
|
411
|
+
width: node,
|
|
412
|
+
height: node,
|
|
413
|
+
borderRadius: node / 2,
|
|
414
|
+
backgroundColor: color,
|
|
415
|
+
}}
|
|
416
|
+
/>
|
|
417
|
+
<View
|
|
418
|
+
style={{
|
|
419
|
+
position: 'absolute',
|
|
420
|
+
right: size * 0.14,
|
|
421
|
+
bottom: size * 0.18,
|
|
422
|
+
width: node,
|
|
423
|
+
height: node,
|
|
424
|
+
borderRadius: node / 2,
|
|
425
|
+
backgroundColor: color,
|
|
426
|
+
}}
|
|
427
|
+
/>
|
|
428
|
+
<View
|
|
429
|
+
style={{
|
|
430
|
+
position: 'absolute',
|
|
431
|
+
width: size * 0.55,
|
|
432
|
+
height: stroke,
|
|
433
|
+
backgroundColor: color,
|
|
434
|
+
borderRadius: 1,
|
|
435
|
+
transform: [{ rotate: '45deg' }],
|
|
436
|
+
}}
|
|
437
|
+
/>
|
|
438
|
+
</View>
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
|
|
400
442
|
/** Configurações — sliders horizontais (não confundir com alvo de caçar). */
|
|
401
443
|
export function AppChromeSettingsGlyph({ color = m3Colors.primary, size = 24 }: AppChromeGlyphProps) {
|
|
402
444
|
const stroke = strokeFor(size);
|
|
@@ -63,6 +63,7 @@ import {
|
|
|
63
63
|
AppChromeTabChatGlyph,
|
|
64
64
|
AppChromeTabDiscoverGlyph,
|
|
65
65
|
AppChromeTabFlashGlyph,
|
|
66
|
+
AppChromeTabRandomGlyph,
|
|
66
67
|
AppChromeTabVibesGlyph,
|
|
67
68
|
AppChromeThumbsUpFilledGlyph,
|
|
68
69
|
AppChromeThumbsUpGlyph,
|
|
@@ -111,6 +112,7 @@ const ICON_REGISTRY: Record<AppIconName, ComponentType<AppChromeGlyphProps>> = {
|
|
|
111
112
|
'tab-vibes': AppChromeTabVibesGlyph,
|
|
112
113
|
'tab-flash': AppChromeTabFlashGlyph,
|
|
113
114
|
'tab-chat': AppChromeTabChatGlyph,
|
|
115
|
+
'tab-random': AppChromeTabRandomGlyph,
|
|
114
116
|
boost: AppChromeBoostGlyph,
|
|
115
117
|
fire: AppChromeFireGlyph,
|
|
116
118
|
settings: AppChromeSettingsGlyph,
|