@proulr/sdui-components 0.1.61 → 0.1.62

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proulr/sdui-components",
3
- "version": "0.1.61",
3
+ "version": "0.1.62",
4
4
  "type": "module",
5
5
  "main": "./src/renderer/index.ts",
6
6
  "types": "./src/renderer/index.ts",
@@ -593,60 +593,45 @@ export function AppChromeFireGlyph({ color = m3Colors.primary, size = 24 }: AppC
593
593
  );
594
594
  }
595
595
 
596
- /** Right Now — triple droplet / flame cluster (activation + badge). */
596
+ /**
597
+ * Right Now — flame (🔥). Source SVG: assets/icons/right-now.svg
598
+ * Outline teardrop + solid inner tongue (reads at 12–24px chrome sizes).
599
+ */
597
600
  export function AppChromeRightNowGlyph({ color = m3Colors.primary, size = 24 }: AppChromeGlyphProps) {
598
601
  const stroke = strokeFor(size);
599
- const droplet = (opts: {
600
- width: number;
601
- height: number;
602
- left: number;
603
- top: number;
604
- rotate: string;
605
- filled?: boolean;
606
- }) => (
607
- <View
608
- key={`${opts.left}-${opts.top}`}
609
- style={{
610
- position: 'absolute',
611
- left: opts.left,
612
- top: opts.top,
613
- width: opts.width,
614
- height: opts.height,
615
- borderTopLeftRadius: opts.width * 0.55,
616
- borderTopRightRadius: opts.width * 0.55,
617
- borderBottomLeftRadius: opts.width * 0.5,
618
- borderBottomRightRadius: opts.width * 0.15,
619
- borderWidth: stroke,
620
- borderColor: color,
621
- backgroundColor: opts.filled ? color : 'transparent',
622
- transform: [{ rotate: opts.rotate }],
623
- }}
624
- />
625
- );
602
+ const outerW = size * 0.5;
603
+ const outerH = size * 0.74;
604
+ const innerW = outerW * 0.4;
605
+ const innerH = outerH * 0.42;
626
606
  return (
627
607
  <View style={{ width: size, height: size, alignItems: 'center', justifyContent: 'center' }}>
628
- {droplet({
629
- width: size * 0.28,
630
- height: size * 0.42,
631
- left: size * 0.36,
632
- top: size * 0.08,
633
- rotate: '0deg',
634
- filled: true,
635
- })}
636
- {droplet({
637
- width: size * 0.26,
638
- height: size * 0.38,
639
- left: size * 0.12,
640
- top: size * 0.32,
641
- rotate: '-48deg',
642
- })}
643
- {droplet({
644
- width: size * 0.26,
645
- height: size * 0.38,
646
- left: size * 0.58,
647
- top: size * 0.32,
648
- rotate: '48deg',
649
- })}
608
+ <View
609
+ style={{
610
+ width: outerW,
611
+ height: outerH,
612
+ borderTopLeftRadius: outerW * 0.58,
613
+ borderTopRightRadius: outerW * 0.58,
614
+ borderBottomLeftRadius: outerW * 0.46,
615
+ borderBottomRightRadius: outerW * 0.46,
616
+ borderWidth: stroke,
617
+ borderColor: color,
618
+ alignItems: 'center',
619
+ justifyContent: 'flex-end',
620
+ paddingBottom: size * 0.11,
621
+ }}
622
+ >
623
+ <View
624
+ style={{
625
+ width: innerW,
626
+ height: innerH,
627
+ backgroundColor: color,
628
+ borderTopLeftRadius: innerW * 0.55,
629
+ borderTopRightRadius: innerW * 0.55,
630
+ borderBottomLeftRadius: innerW * 0.42,
631
+ borderBottomRightRadius: innerW * 0.42,
632
+ }}
633
+ />
634
+ </View>
650
635
  </View>
651
636
  );
652
637
  }