@wix/himalaya-cli 0.1210.0 → 0.1212.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.
Files changed (118) hide show
  1. package/dist/cli.mjs +91 -1
  2. package/package.json +2 -2
  3. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +57 -16
  4. package/templates/beauty-salon-owner/dev/index.ts +280 -37
  5. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +31 -16
  6. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +57 -16
  7. package/templates/beauty-salon-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  8. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  9. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  10. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  11. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  12. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
  13. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +57 -16
  14. package/templates/community-club/tier5-src/_shared/engine-intl.ts +57 -16
  15. package/templates/community-club-owner/dev/index.ts +389 -37
  16. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +31 -16
  17. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +57 -16
  18. package/templates/community-club-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  19. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  20. package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
  21. package/templates/community-club-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  22. package/templates/community-club-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  23. package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  24. package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
  25. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +57 -16
  26. package/templates/events-meetups-owner/dev/index.ts +280 -37
  27. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +31 -16
  28. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +57 -16
  29. package/templates/events-meetups-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  30. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  31. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
  32. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  33. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  34. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  35. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +57 -16
  36. package/templates/gym-fitness-owner/dev/index.ts +389 -37
  37. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +31 -16
  38. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +57 -16
  39. package/templates/gym-fitness-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  40. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  41. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
  42. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  43. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  44. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  45. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
  46. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +57 -16
  47. package/templates/nonprofit-cause-owner/dev/index.ts +280 -37
  48. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +31 -16
  49. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +57 -16
  50. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  51. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  52. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
  53. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  54. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  55. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  56. package/templates/owner-lite/dev/index.ts +389 -37
  57. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +31 -16
  58. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +57 -16
  59. package/templates/owner-lite/tier5-src/_shared/owner-module-data.ts +105 -37
  60. package/templates/owner-lite/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  61. package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +59 -14
  62. package/templates/owner-lite/tier5-src/himi-owner-lite-faq/index.ts +8 -2
  63. package/templates/owner-lite/tier5-src/himi-owner-lite-home/index.ts +5 -0
  64. package/templates/owner-lite/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  65. package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +63 -16
  66. package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +61 -16
  67. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +57 -16
  68. package/templates/podcast-creator-owner/dev/index.ts +389 -37
  69. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +31 -16
  70. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +57 -16
  71. package/templates/podcast-creator-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  72. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  73. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
  74. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  75. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  76. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  77. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
  78. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +57 -16
  79. package/templates/portfolio-creative-owner/dev/index.ts +280 -37
  80. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +31 -16
  81. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +57 -16
  82. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  83. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  84. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  85. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  86. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  87. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
  88. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +57 -16
  89. package/templates/restaurant-owner/dev/index.ts +389 -37
  90. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +31 -16
  91. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +57 -16
  92. package/templates/restaurant-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  93. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  94. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
  95. package/templates/restaurant-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  96. package/templates/restaurant-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  97. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  98. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
  99. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +57 -16
  100. package/templates/retail-store-owner/dev/index.ts +280 -37
  101. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +31 -16
  102. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +57 -16
  103. package/templates/retail-store-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  104. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  105. package/templates/retail-store-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  106. package/templates/retail-store-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  107. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
  108. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
  109. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +57 -16
  110. package/templates/yoga-studio-owner/dev/index.ts +280 -37
  111. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +31 -16
  112. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +57 -16
  113. package/templates/yoga-studio-owner/tier5-src/_shared/owner-module-data.ts +105 -37
  114. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
  115. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
  116. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
  117. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
  118. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
@@ -48953,7 +48953,7 @@ const SCREENS = runtimeSetting({
48953
48953
  }
48954
48954
  },
48955
48955
  "modifiers": {
48956
- "hiddenPath": "$service:himiOwnerLiteHome.hideContent"
48956
+ "hiddenPath": "$service:himiOwnerLiteHome.hideSourceFailures"
48957
48957
  }
48958
48958
  },
48959
48959
  {
@@ -50969,7 +50969,8 @@ const SCREENS = runtimeSetting({
50969
50969
  "props": {
50970
50970
  "text": "$service:himiOwnerLiteManage.summary",
50971
50971
  "style": "caption",
50972
- "color": "textSecondary"
50972
+ "color": "textSecondary",
50973
+ "collapseWhenEmpty": true
50973
50974
  }
50974
50975
  }
50975
50976
  },
@@ -51564,6 +51565,9 @@ const SCREENS = runtimeSetting({
51564
51565
  }
51565
51566
  ]
51566
51567
  }
51568
+ },
51569
+ "modifiers": {
51570
+ "hiddenPath": "$service:himiOwnerLiteManage.noSections"
51567
51571
  }
51568
51572
  },
51569
51573
  {
@@ -56403,7 +56407,7 @@ const SCREENS = runtimeSetting({
56403
56407
  "package": "himalaya",
56404
56408
  "type": "HStack",
56405
56409
  "props": {
56406
- "spacing": 16,
56410
+ "spacing": 0,
56407
56411
  "children": [
56408
56412
  {
56409
56413
  "id": "",
@@ -56414,43 +56418,57 @@ const SCREENS = runtimeSetting({
56414
56418
  }
56415
56419
  },
56416
56420
  {
56417
- "id": "himi_owner_lite_aria.history",
56418
- "body": {
56419
- "package": "himalaya",
56420
- "type": "Text",
56421
- "props": {
56422
- "text": "History",
56423
- "style": "bodyEmphasis",
56424
- "color": "accentPrimary",
56425
- "maxLines": 1
56426
- }
56427
- },
56428
- "modifiers": {
56429
- "onTap": {
56430
- "actionId": "himi.open",
56431
- "params": {
56432
- "screenId": "himi_owner_lite_aria_history"
56433
- }
56434
- }
56435
- }
56436
- },
56437
- {
56438
- "id": "himi_owner_lite_aria.newchat",
56421
+ "id": "",
56439
56422
  "body": {
56440
56423
  "package": "himalaya",
56441
- "type": "Icon",
56424
+ "type": "HStack",
56442
56425
  "props": {
56443
- "name": "edit",
56444
- "size": 22,
56445
- "tint": "accentPrimary"
56426
+ "spacing": 16,
56427
+ "children": [
56428
+ {
56429
+ "id": "himi_owner_lite_aria.history",
56430
+ "body": {
56431
+ "package": "himalaya",
56432
+ "type": "Text",
56433
+ "props": {
56434
+ "text": "History",
56435
+ "style": "bodyEmphasis",
56436
+ "color": "accentPrimary",
56437
+ "maxLines": 1
56438
+ }
56439
+ },
56440
+ "modifiers": {
56441
+ "onTap": {
56442
+ "actionId": "himi.open",
56443
+ "params": {
56444
+ "screenId": "himi_owner_lite_aria_history"
56445
+ }
56446
+ }
56447
+ }
56448
+ },
56449
+ {
56450
+ "id": "himi_owner_lite_aria.newchat",
56451
+ "body": {
56452
+ "package": "himalaya",
56453
+ "type": "Icon",
56454
+ "props": {
56455
+ "name": "edit",
56456
+ "size": 22,
56457
+ "tint": "accentPrimary"
56458
+ }
56459
+ },
56460
+ "modifiers": {
56461
+ "onTap": {
56462
+ "actionId": "tier5.himiOwnerLiteAria.newChat"
56463
+ },
56464
+ "accessibilityLabel": "New chat",
56465
+ "accessibilityRole": "button",
56466
+ "width": 44,
56467
+ "height": 44
56468
+ }
56469
+ }
56470
+ ]
56446
56471
  }
56447
- },
56448
- "modifiers": {
56449
- "onTap": {
56450
- "actionId": "tier5.himiOwnerLiteAria.newChat"
56451
- },
56452
- "accessibilityLabel": "New chat",
56453
- "accessibilityRole": "button"
56454
56472
  }
56455
56473
  }
56456
56474
  ]
@@ -56811,6 +56829,9 @@ const SCREENS = runtimeSetting({
56811
56829
  }
56812
56830
  ]
56813
56831
  }
56832
+ },
56833
+ "modifiers": {
56834
+ "hiddenPath": "$service:himiOwnerLiteAria.messagesHidden"
56814
56835
  }
56815
56836
  },
56816
56837
  {
@@ -57109,7 +57130,8 @@ const SCREENS = runtimeSetting({
57109
57130
  "text": "$service:himiOwnerLiteAria.error",
57110
57131
  "style": "footnote",
57111
57132
  "color": "danger",
57112
- "maxLines": 3
57133
+ "maxLines": 3,
57134
+ "collapseWhenEmpty": true
57113
57135
  }
57114
57136
  },
57115
57137
  "modifiers": {
@@ -61346,6 +61368,9 @@ const SCREENS = runtimeSetting({
61346
61368
  }
61347
61369
  ]
61348
61370
  }
61371
+ },
61372
+ "modifiers": {
61373
+ "hiddenPath": "$service:himiOwnerLiteAriaHistory.itemsHidden"
61349
61374
  }
61350
61375
  }
61351
61376
  ]
@@ -76587,6 +76612,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
76587
76612
  }
76588
76613
  }
76589
76614
  },
76615
+ {
76616
+ "id": "product_delete_confirmation",
76617
+ "body": {
76618
+ "package": "himalaya",
76619
+ "type": "VStack",
76620
+ "props": {
76621
+ "spacing": 10,
76622
+ "alignment": "leading",
76623
+ "children": [
76624
+ {
76625
+ "id": "product_delete_confirmation.title",
76626
+ "body": {
76627
+ "package": "himalaya",
76628
+ "type": "Text",
76629
+ "props": {
76630
+ "text": "Delete this merch design?",
76631
+ "style": "bodyEmphasis"
76632
+ }
76633
+ }
76634
+ },
76635
+ {
76636
+ "id": "product_delete_confirmation.record",
76637
+ "body": {
76638
+ "package": "himalaya",
76639
+ "type": "Text",
76640
+ "props": {
76641
+ "text": "$service:himiOwnerLiteProduct.title",
76642
+ "style": "body",
76643
+ "color": "textSecondary",
76644
+ "maxLines": 2
76645
+ }
76646
+ }
76647
+ },
76648
+ {
76649
+ "id": "",
76650
+ "body": {
76651
+ "package": "himalaya",
76652
+ "type": "Text",
76653
+ "props": {
76654
+ "text": "This cannot be undone.",
76655
+ "style": "footnote",
76656
+ "color": "textSecondary"
76657
+ }
76658
+ }
76659
+ },
76660
+ {
76661
+ "id": "",
76662
+ "body": {
76663
+ "package": "himalaya",
76664
+ "type": "HStack",
76665
+ "props": {
76666
+ "spacing": 8,
76667
+ "children": [
76668
+ {
76669
+ "id": "product_delete_cancel",
76670
+ "body": {
76671
+ "package": "himalaya",
76672
+ "type": "Button",
76673
+ "props": {
76674
+ "title": "Cancel",
76675
+ "style": "secondary",
76676
+ "action": {
76677
+ "actionId": "tier5.himiOwnerLiteProduct.cancelDelete"
76678
+ }
76679
+ }
76680
+ }
76681
+ },
76682
+ {
76683
+ "id": "product_delete_confirm",
76684
+ "body": {
76685
+ "package": "himalaya",
76686
+ "type": "Button",
76687
+ "props": {
76688
+ "title": "Delete",
76689
+ "style": "destructive",
76690
+ "action": {
76691
+ "actionId": "tier5.himiOwnerLiteProduct.confirmDelete"
76692
+ }
76693
+ }
76694
+ }
76695
+ }
76696
+ ]
76697
+ }
76698
+ }
76699
+ }
76700
+ ]
76701
+ }
76702
+ },
76703
+ "modifiers": {
76704
+ "background": {
76705
+ "token": "surfaceElevated"
76706
+ },
76707
+ "border": {
76708
+ "width": 1,
76709
+ "color": {
76710
+ "token": "danger"
76711
+ }
76712
+ },
76713
+ "cornerRadius": 12,
76714
+ "padding": {
76715
+ "leading": 14,
76716
+ "trailing": 14,
76717
+ "top": 14,
76718
+ "bottom": 14
76719
+ },
76720
+ "fillMaxWidth": true,
76721
+ "hiddenPath": "$service:himiOwnerLiteProduct.noDeleteConfirmation"
76722
+ }
76723
+ },
76590
76724
  {
76591
76725
  "id": "",
76592
76726
  "body": {
@@ -77411,6 +77545,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
77411
77545
  }
77412
77546
  }
77413
77547
  },
77548
+ {
77549
+ "id": "event_delete_confirmation",
77550
+ "body": {
77551
+ "package": "himalaya",
77552
+ "type": "VStack",
77553
+ "props": {
77554
+ "spacing": 10,
77555
+ "alignment": "leading",
77556
+ "children": [
77557
+ {
77558
+ "id": "event_delete_confirmation.title",
77559
+ "body": {
77560
+ "package": "himalaya",
77561
+ "type": "Text",
77562
+ "props": {
77563
+ "text": "Delete this live taping?",
77564
+ "style": "bodyEmphasis"
77565
+ }
77566
+ }
77567
+ },
77568
+ {
77569
+ "id": "event_delete_confirmation.record",
77570
+ "body": {
77571
+ "package": "himalaya",
77572
+ "type": "Text",
77573
+ "props": {
77574
+ "text": "$service:himiOwnerLiteEvent.title",
77575
+ "style": "body",
77576
+ "color": "textSecondary",
77577
+ "maxLines": 2
77578
+ }
77579
+ }
77580
+ },
77581
+ {
77582
+ "id": "",
77583
+ "body": {
77584
+ "package": "himalaya",
77585
+ "type": "Text",
77586
+ "props": {
77587
+ "text": "This cannot be undone.",
77588
+ "style": "footnote",
77589
+ "color": "textSecondary"
77590
+ }
77591
+ }
77592
+ },
77593
+ {
77594
+ "id": "",
77595
+ "body": {
77596
+ "package": "himalaya",
77597
+ "type": "HStack",
77598
+ "props": {
77599
+ "spacing": 8,
77600
+ "children": [
77601
+ {
77602
+ "id": "event_delete_cancel",
77603
+ "body": {
77604
+ "package": "himalaya",
77605
+ "type": "Button",
77606
+ "props": {
77607
+ "title": "Cancel",
77608
+ "style": "secondary",
77609
+ "action": {
77610
+ "actionId": "tier5.himiOwnerLiteEvent.cancelDelete"
77611
+ }
77612
+ }
77613
+ }
77614
+ },
77615
+ {
77616
+ "id": "event_delete_confirm",
77617
+ "body": {
77618
+ "package": "himalaya",
77619
+ "type": "Button",
77620
+ "props": {
77621
+ "title": "Delete",
77622
+ "style": "destructive",
77623
+ "action": {
77624
+ "actionId": "tier5.himiOwnerLiteEvent.confirmDelete"
77625
+ }
77626
+ }
77627
+ }
77628
+ }
77629
+ ]
77630
+ }
77631
+ }
77632
+ }
77633
+ ]
77634
+ }
77635
+ },
77636
+ "modifiers": {
77637
+ "background": {
77638
+ "token": "surfaceElevated"
77639
+ },
77640
+ "border": {
77641
+ "width": 1,
77642
+ "color": {
77643
+ "token": "danger"
77644
+ }
77645
+ },
77646
+ "cornerRadius": 12,
77647
+ "padding": {
77648
+ "leading": 14,
77649
+ "trailing": 14,
77650
+ "top": 14,
77651
+ "bottom": 14
77652
+ },
77653
+ "fillMaxWidth": true,
77654
+ "hiddenPath": "$service:himiOwnerLiteEvent.noDeleteConfirmation"
77655
+ }
77656
+ },
77414
77657
  {
77415
77658
  "id": "",
77416
77659
  "body": {
@@ -78272,6 +78515,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
78272
78515
  }
78273
78516
  }
78274
78517
  },
78518
+ {
78519
+ "id": "post_delete_confirmation",
78520
+ "body": {
78521
+ "package": "himalaya",
78522
+ "type": "VStack",
78523
+ "props": {
78524
+ "spacing": 10,
78525
+ "alignment": "leading",
78526
+ "children": [
78527
+ {
78528
+ "id": "post_delete_confirmation.title",
78529
+ "body": {
78530
+ "package": "himalaya",
78531
+ "type": "Text",
78532
+ "props": {
78533
+ "text": "Delete this episode?",
78534
+ "style": "bodyEmphasis"
78535
+ }
78536
+ }
78537
+ },
78538
+ {
78539
+ "id": "post_delete_confirmation.record",
78540
+ "body": {
78541
+ "package": "himalaya",
78542
+ "type": "Text",
78543
+ "props": {
78544
+ "text": "$service:himiOwnerLitePost.title",
78545
+ "style": "body",
78546
+ "color": "textSecondary",
78547
+ "maxLines": 2
78548
+ }
78549
+ }
78550
+ },
78551
+ {
78552
+ "id": "",
78553
+ "body": {
78554
+ "package": "himalaya",
78555
+ "type": "Text",
78556
+ "props": {
78557
+ "text": "This cannot be undone.",
78558
+ "style": "footnote",
78559
+ "color": "textSecondary"
78560
+ }
78561
+ }
78562
+ },
78563
+ {
78564
+ "id": "",
78565
+ "body": {
78566
+ "package": "himalaya",
78567
+ "type": "HStack",
78568
+ "props": {
78569
+ "spacing": 8,
78570
+ "children": [
78571
+ {
78572
+ "id": "post_delete_cancel",
78573
+ "body": {
78574
+ "package": "himalaya",
78575
+ "type": "Button",
78576
+ "props": {
78577
+ "title": "Cancel",
78578
+ "style": "secondary",
78579
+ "action": {
78580
+ "actionId": "tier5.himiOwnerLitePost.cancelDelete"
78581
+ }
78582
+ }
78583
+ }
78584
+ },
78585
+ {
78586
+ "id": "post_delete_confirm",
78587
+ "body": {
78588
+ "package": "himalaya",
78589
+ "type": "Button",
78590
+ "props": {
78591
+ "title": "Delete",
78592
+ "style": "destructive",
78593
+ "action": {
78594
+ "actionId": "tier5.himiOwnerLitePost.confirmDelete"
78595
+ }
78596
+ }
78597
+ }
78598
+ }
78599
+ ]
78600
+ }
78601
+ }
78602
+ }
78603
+ ]
78604
+ }
78605
+ },
78606
+ "modifiers": {
78607
+ "background": {
78608
+ "token": "surfaceElevated"
78609
+ },
78610
+ "border": {
78611
+ "width": 1,
78612
+ "color": {
78613
+ "token": "danger"
78614
+ }
78615
+ },
78616
+ "cornerRadius": 12,
78617
+ "padding": {
78618
+ "leading": 14,
78619
+ "trailing": 14,
78620
+ "top": 14,
78621
+ "bottom": 14
78622
+ },
78623
+ "fillMaxWidth": true,
78624
+ "hiddenPath": "$service:himiOwnerLitePost.noDeleteConfirmation"
78625
+ }
78626
+ },
78275
78627
  {
78276
78628
  "id": "",
78277
78629
  "body": {
@@ -79,6 +79,7 @@ import { MENTION_PAGE_SIZE, allowlisted, emptyMentionModel, mentionView,
79
79
  type MentionItemRow, type MentionLabels, type MentionModel, type MentionProvider, type MentionView } from "./aria-mentions.js";
80
80
  import { isTransportFailure, ownerTransportFailureText } from "./owner-load-error.js";
81
81
  import { LOCAL_ID_PREFIX, createRowMemo, mintLocalId, transcriptKeys, type RowMemo } from "./aria-hot-path.js";
82
+ import { calendarDay, formatClock, formatDateMedium, formatMonthDay } from "./engine-intl.js";
82
83
 
83
84
  // ---------------------------------------------------------------------------
84
85
  // Shapes
@@ -166,6 +167,9 @@ export interface AriaChatState {
166
167
  * is computed once in `gated` rather than maintained by every reducer. */
167
168
  replyActionsHidden: boolean;
168
169
  messages: AriaBubble[];
170
+ /** Collapses the transcript list while it is empty — an empty list still costs
171
+ * its parent stack a gap. Derived in `gated`, like `stopHidden`. */
172
+ messagesHidden: boolean;
169
173
  /** Non-empty ONLY on the greeting-only empty state. */
170
174
  prompts: AriaPromptChip[];
171
175
  _convId: string;
@@ -1499,7 +1503,7 @@ export function createAriaChat(o: AriaChatOptions): AriaChatCore {
1499
1503
 
1500
1504
  const initialState: AriaChatState = {
1501
1505
  status: "loading", statusText: "", error: "", input: "", copyNote: "", replyActionsHidden: true,
1502
- messages: [], prompts: [], _convId: "", _siteId: "", _pending: "", _pendingRefs: "", _pendingAttach: [],
1506
+ messages: [], messagesHidden: true, prompts: [], _convId: "", _siteId: "", _pending: "", _pendingRefs: "", _pendingAttach: [],
1503
1507
  _pendingAfter: 0, _pendingId: "", _replyAfter: 0, _srvUsers: 0, _srvAssistants: 0,
1504
1508
  _abortId: "", _turnId: "", stopHidden: true, ok: false,
1505
1509
  listening: false, micHidden: !o.dictation, listeningHidden: true,
@@ -2460,10 +2464,12 @@ export function createAriaChat(o: AriaChatOptions): AriaChatCore {
2460
2464
  const listening = s.listening === true;
2461
2465
  const micHidden = !o.dictation || dictationAvailable === false || listening;
2462
2466
  const listeningHidden = !listening;
2467
+ // And the transcript list: hidden while empty, so it costs its stack no gap.
2468
+ const messagesHidden = s.messages.length === 0;
2463
2469
  const actioned = s.stopHidden === hidden && s.replyActionsHidden === replyActionsHidden
2464
- && s.micHidden === micHidden && s.listeningHidden === listeningHidden
2470
+ && s.micHidden === micHidden && s.listeningHidden === listeningHidden && s.messagesHidden === messagesHidden
2465
2471
  ? s
2466
- : { ...s, stopHidden: hidden, replyActionsHidden, micHidden, listeningHidden };
2472
+ : { ...s, stopHidden: hidden, replyActionsHidden, micHidden, listeningHidden, messagesHidden };
2467
2473
  // The attachment projection rides the same exit, for the same reason: one
2468
2474
  // place that every action's result passes through, so no reducer can hand
2469
2475
  // back a stale copy of the chips. Seeded first, so the very first action of
@@ -3493,6 +3499,9 @@ export interface AriaHistoryState {
3493
3499
  items: AriaHistoryRow[];
3494
3500
  /** Non-empty ONLY when the list is empty (collapses otherwise). */
3495
3501
  emptyText: string;
3502
+ /** Collapses the (empty) row list, which would otherwise still cost its parent
3503
+ * stack a gap. True until a load lands rows. */
3504
+ itemsHidden: boolean;
3496
3505
  /** The business the rows in `items` belong to. A kept list is only safe to
3497
3506
  * keep while this still matches, so it is state rather than a closure — the
3498
3507
  * chat service tracks its own `_siteId` for the same reason. */
@@ -3512,6 +3521,8 @@ export interface AriaHistoryLabels {
3512
3521
  last7?: Resolvable<string>;
3513
3522
  last30?: Resolvable<string>;
3514
3523
  older?: Resolvable<string>;
3524
+ /** Prefix for a conversation from today: "Today · 9:12 AM". */
3525
+ today?: Resolvable<string>;
3515
3526
  }
3516
3527
 
3517
3528
  export interface AriaHistoryOptions {
@@ -3525,8 +3536,8 @@ export interface AriaHistoryOptions {
3525
3536
  localHistory?: boolean;
3526
3537
  }
3527
3538
 
3528
- interface BucketLabels { last7: string; last30: string; older: string; }
3529
- const STOCK_BUCKETS: BucketLabels = { last7: "Last 7 days", last30: "Last 30 days", older: "Older" };
3539
+ interface BucketLabels { last7: string; last30: string; older: string; today: string; }
3540
+ const STOCK_BUCKETS: BucketLabels = { last7: "Last 7 days", last30: "Last 30 days", older: "Older", today: "Today" };
3530
3541
 
3531
3542
  /** Parse an ISO-8601 string (serialized Timestamp) or epoch-ms into ms. 0 when
3532
3543
  * absent or unparseable. */
@@ -3539,15 +3550,17 @@ export function toMs(v: unknown): number {
3539
3550
  return 0;
3540
3551
  }
3541
3552
 
3542
- function formatTs(ms: number): string {
3553
+ /** A history card's date, through the shared engine-intl shapes: "Today · 9:12 AM" for today,
3554
+ * "Sep 21" earlier this year, "Sep 21, 2025" before that. It was `toLocaleString()` —
3555
+ * "9/24/2026, 9:12:00 AM", seconds and all. These are the owner's own
3556
+ * conversations, so the device's calendar is the right one. */
3557
+ function formatTs(ms: number, now: number, today: string): string {
3543
3558
  if (!ms) return "";
3544
- try {
3545
- const d = new Date(ms);
3546
- if (isNaN(d.getTime())) return "";
3547
- return d.toLocaleString();
3548
- } catch {
3549
- return "";
3550
- }
3559
+ const d = new Date(ms);
3560
+ if (isNaN(d.getTime())) return "";
3561
+ const day = calendarDay(d), current = calendarDay(new Date(now));
3562
+ if (day === current) return `${today} · ${formatClock(d)}`;
3563
+ return day.slice(0, 4) === current.slice(0, 4) ? formatMonthDay(d) : formatDateMedium(d);
3551
3564
  }
3552
3565
 
3553
3566
  const DAY = 24 * 60 * 60 * 1000;
@@ -3568,7 +3581,7 @@ export function bucketRows(entries: Array<{ id: string; title: string; ms: numbe
3568
3581
  const b = bucketOf(e.ms, now, labels);
3569
3582
  const section = b === lastBucket ? "" : b;
3570
3583
  lastBucket = b;
3571
- return { id: e.id, title: e.title, subtitle: formatTs(e.ms), section };
3584
+ return { id: e.id, title: e.title, subtitle: formatTs(e.ms, now, labels.today), section };
3572
3585
  });
3573
3586
  }
3574
3587
 
@@ -3601,9 +3614,10 @@ export function createAriaHistory(o: AriaHistoryOptions) {
3601
3614
  last7: res(o.labels?.last7 ?? STOCK_BUCKETS.last7),
3602
3615
  last30: res(o.labels?.last30 ?? STOCK_BUCKETS.last30),
3603
3616
  older: res(o.labels?.older ?? STOCK_BUCKETS.older),
3617
+ today: res(o.labels?.today ?? STOCK_BUCKETS.today),
3604
3618
  });
3605
3619
  const initialState: AriaHistoryState = {
3606
- status: "loading", items: [], emptyText: "", _siteId: "", failed: false,
3620
+ status: "loading", items: [], itemsHidden: true, emptyText: "", _siteId: "", failed: false,
3607
3621
  };
3608
3622
  return {
3609
3623
  initialState,
@@ -3631,7 +3645,7 @@ export function createAriaHistory(o: AriaHistoryOptions) {
3631
3645
  // owner the previous business's conversation titles, which is precisely
3632
3646
  // the leak `localHistory: false` is set to avoid.
3633
3647
  if (fetched === null && s.items.length && s._siteId === site) {
3634
- return { ...s, status: "ready", failed: true };
3648
+ return { ...s, status: "ready", itemsHidden: false, failed: true };
3635
3649
  }
3636
3650
 
3637
3651
  // A SUCCESSFUL empty answer is authoritative and DOES clear. The tempting
@@ -3651,6 +3665,7 @@ export function createAriaHistory(o: AriaHistoryOptions) {
3651
3665
  ...s,
3652
3666
  status: "ready",
3653
3667
  items,
3668
+ itemsHidden: items.length === 0,
3654
3669
  emptyText: items.length ? "" : emptyText(),
3655
3670
  _siteId: site,
3656
3671
  failed: fetched === null,