route-graphics 0.0.32 → 0.0.34

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/README.md CHANGED
@@ -593,6 +593,7 @@ Groups and manages layout of multiple elements.
593
593
  - `gap`: Spacing between children in pixels (default: 0)
594
594
  - `rotation`: Rotation in degrees (default: 0)
595
595
  - `scroll`: Enable scrolling for overflow content (default: false)
596
+ - `anchorToBottom`: Start overflow content from the bottom/right edge (default: false, only when `scroll: true`)
596
597
 
597
598
  **Events:** None
598
599
 
@@ -627,6 +628,60 @@ children:
627
628
  src: button-normal
628
629
  ```
629
630
 
631
+ **Message Feed Update Example:**
632
+ ```yaml
633
+ states:
634
+ - elements:
635
+ - id: message-log
636
+ type: container
637
+ x: 50
638
+ y: 50
639
+ width: 500
640
+ height: 220
641
+ direction: vertical
642
+ gap: 8
643
+ scroll: true
644
+ anchorToBottom: true
645
+ children:
646
+ - id: message-1
647
+ type: text
648
+ x: 0
649
+ y: 0
650
+ content: "Hello"
651
+ - id: message-2
652
+ type: text
653
+ x: 0
654
+ y: 32
655
+ content: "How are you?"
656
+ - elements:
657
+ - id: message-log
658
+ type: container
659
+ x: 50
660
+ y: 50
661
+ width: 500
662
+ height: 220
663
+ direction: vertical
664
+ gap: 8
665
+ scroll: true
666
+ anchorToBottom: true
667
+ children:
668
+ - id: message-1
669
+ type: text
670
+ x: 0
671
+ y: 0
672
+ content: "Hello"
673
+ - id: message-2
674
+ type: text
675
+ x: 0
676
+ y: 32
677
+ content: "How are you?"
678
+ - id: message-3
679
+ type: text
680
+ x: 0
681
+ y: 64
682
+ content: "I'm fine."
683
+ ```
684
+
630
685
  #### Text Revealing Plugin
631
686
  Animated text display with typewriter effects.
632
687