orbcafe-ui 3.1.0 → 3.1.2

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/dist/orbis.css CHANGED
@@ -2577,6 +2577,30 @@ button.orb-app-header-locale:hover,
2577
2577
  font-size: 12px;
2578
2578
  }
2579
2579
 
2580
+ .markdown-body .orb-html-demo-frame {
2581
+ margin: 12px 0 4px;
2582
+ overflow: hidden;
2583
+ border: 1px solid var(--orb-border);
2584
+ border-radius: var(--orb-r);
2585
+ background: var(--orb-canvas);
2586
+ }
2587
+
2588
+ .markdown-body .orb-html-demo-caption {
2589
+ padding: 8px 12px;
2590
+ border-bottom: 1px solid var(--orb-border);
2591
+ background: var(--orb-surface);
2592
+ color: var(--orb-fg-strong);
2593
+ font: 600 14px/1.3 var(--orb-font);
2594
+ }
2595
+
2596
+ .markdown-body .orb-html-demo {
2597
+ display: block;
2598
+ width: 100%;
2599
+ margin: 0;
2600
+ border: 0;
2601
+ background: var(--orb-canvas);
2602
+ }
2603
+
2580
2604
  .markdown-body blockquote {
2581
2605
  margin: 8px 0;
2582
2606
  padding: 2px 12px;
@@ -2636,7 +2660,145 @@ button.orb-app-header-locale:hover,
2636
2660
  border-radius: var(--orb-shell-radius);
2637
2661
  }
2638
2662
 
2663
+ /* Composer takeover while a tool waits for a one-shot decision. */
2664
+ .orb-omph-approval {
2665
+ --orb-omph-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
2666
+ width: 100%;
2667
+ }
2668
+
2669
+ .orb-omph-approval-card {
2670
+ overflow: hidden;
2671
+ border: 1px solid var(--orb-warn);
2672
+ border-radius: var(--orb-shell-radius);
2673
+ background: var(--orb-canvas);
2674
+ box-shadow: var(--orb-shadow-2);
2675
+ }
2676
+
2677
+ .orb-omph-approval-strip {
2678
+ display: flex;
2679
+ align-items: center;
2680
+ gap: 8px;
2681
+ padding: 10px 16px;
2682
+ background: var(--orb-warn-bg);
2683
+ color: var(--orb-warn);
2684
+ font: 500 14px/1.3 var(--orb-font);
2685
+ }
2686
+
2687
+ .orb-omph-approval-dot {
2688
+ flex: none;
2689
+ width: 8px;
2690
+ height: 8px;
2691
+ border-radius: 50%;
2692
+ background: var(--orb-warn);
2693
+ }
2694
+
2695
+ .orb-omph-approval-body {
2696
+ display: flex;
2697
+ flex-direction: column;
2698
+ gap: 8px;
2699
+ max-height: 280px;
2700
+ padding: 12px 16px 0;
2701
+ overflow: auto;
2702
+ outline: none;
2703
+ }
2704
+
2705
+ .orb-omph-approval-body:focus-visible {
2706
+ box-shadow: inset 0 0 0 2px var(--orb-focus-ring);
2707
+ }
2708
+
2709
+ .orb-omph-approval-headline {
2710
+ color: var(--orb-fg-strong);
2711
+ font: 500 14px/1.5 var(--orb-font);
2712
+ }
2713
+
2714
+ .orb-omph-approval-detail {
2715
+ color: var(--orb-muted);
2716
+ font: 400 13px/1.5 var(--orb-omph-mono);
2717
+ overflow-wrap: anywhere;
2718
+ }
2719
+
2720
+ .orb-omph-approval-choices {
2721
+ display: flex;
2722
+ flex-direction: column;
2723
+ gap: 8px;
2724
+ margin: 0;
2725
+ padding: 0;
2726
+ border: 0;
2727
+ }
2728
+
2729
+ .orb-omph-approval-choice {
2730
+ display: grid;
2731
+ grid-template-columns: 16px minmax(0, 1fr);
2732
+ column-gap: 10px;
2733
+ row-gap: 2px;
2734
+ align-items: start;
2735
+ margin: 0;
2736
+ padding: 8px 10px;
2737
+ border: 1px solid var(--orb-border);
2738
+ border-radius: var(--orb-r);
2739
+ background: transparent;
2740
+ color: var(--orb-fg);
2741
+ font: 500 14px/1.4 var(--orb-font);
2742
+ cursor: pointer;
2743
+ }
2744
+
2745
+ .orb-omph-approval-choice[data-selected='true'] {
2746
+ border-color: var(--orb-primary);
2747
+ background: var(--orb-p50);
2748
+ }
2749
+
2750
+ .orb-omph-approval-choice input {
2751
+ margin-top: 3px;
2752
+ accent-color: var(--orb-primary);
2753
+ }
2754
+
2755
+ .orb-omph-approval-choice-copy {
2756
+ display: flex;
2757
+ flex-direction: column;
2758
+ gap: 2px;
2759
+ min-width: 0;
2760
+ }
2761
+
2762
+ .orb-omph-approval-choice-description {
2763
+ color: var(--orb-muted);
2764
+ font: 400 13px/1.45 var(--orb-font);
2765
+ }
2766
+
2767
+ .orb-omph-approval-other {
2768
+ width: 100%;
2769
+ min-height: 72px;
2770
+ margin: 0;
2771
+ padding: 8px 10px;
2772
+ resize: vertical;
2773
+ border: 1px solid var(--orb-border);
2774
+ border-radius: var(--orb-r);
2775
+ background: var(--orb-canvas);
2776
+ color: var(--orb-fg);
2777
+ font: 400 14px/1.5 var(--orb-font);
2778
+ }
2779
+
2780
+ .orb-omph-approval-other:focus {
2781
+ border-color: var(--orb-primary);
2782
+ outline: none;
2783
+ box-shadow: 0 0 0 1px var(--orb-focus-ring);
2784
+ }
2785
+
2786
+ .orb-omph-approval-actions {
2787
+ display: flex;
2788
+ justify-content: flex-end;
2789
+ gap: 8px;
2790
+ padding: 14px 16px;
2791
+ }
2792
+
2793
+ .orb-omph-approval-reject:hover:not(:disabled) {
2794
+ background: var(--orb-err-bg);
2795
+ color: var(--orb-err);
2796
+ border-color: var(--orb-err);
2797
+ }
2798
+
2639
2799
  .orb-omph-header {
2800
+ position: relative;
2801
+ z-index: 2;
2640
2802
  display: flex;
2641
2803
  align-items: center;
2642
2804
  gap: 10px;
@@ -2646,6 +2808,107 @@ button.orb-app-header-locale:hover,
2646
2808
  background: var(--orb-canvas);
2647
2809
  }
2648
2810
 
2811
+ .orb-omph-header-actions {
2812
+ margin-left: auto;
2813
+ display: flex;
2814
+ flex: none;
2815
+ align-items: center;
2816
+ gap: 2px;
2817
+ }
2818
+
2819
+ .orb-omph-icon-btn {
2820
+ display: inline-flex;
2821
+ align-items: center;
2822
+ justify-content: center;
2823
+ width: 32px;
2824
+ height: 32px;
2825
+ border: 0;
2826
+ border-radius: 8px;
2827
+ background: transparent;
2828
+ color: var(--orb-muted);
2829
+ cursor: pointer;
2830
+ }
2831
+
2832
+ .orb-omph-icon-btn:hover,
2833
+ .orb-omph-icon-btn[aria-expanded="true"] {
2834
+ background: var(--orb-hover);
2835
+ color: var(--orb-primary);
2836
+ }
2837
+
2838
+ .orb-omph-icon-btn:focus-visible {
2839
+ outline: 2px solid var(--orb-focus-ring);
2840
+ outline-offset: 1px;
2841
+ }
2842
+
2843
+ .orb-omph-conversation-anchor {
2844
+ position: relative;
2845
+ }
2846
+
2847
+ .orb-omph-conversations {
2848
+ position: absolute;
2849
+ top: calc(100% + 8px);
2850
+ right: 0;
2851
+ z-index: 3;
2852
+ width: min(280px, calc(100vw - 48px));
2853
+ max-height: 320px;
2854
+ overflow: auto;
2855
+ padding: 6px;
2856
+ border: 1px solid var(--orb-border);
2857
+ border-radius: var(--orb-r);
2858
+ background: var(--orb-canvas);
2859
+ box-shadow: var(--orb-shadow-1);
2860
+ }
2861
+
2862
+ .orb-omph-conversation {
2863
+ display: flex;
2864
+ flex-direction: column;
2865
+ align-items: flex-start;
2866
+ gap: 2px;
2867
+ width: 100%;
2868
+ min-width: 0;
2869
+ padding: 8px 10px;
2870
+ border: 0;
2871
+ border-radius: 8px;
2872
+ background: transparent;
2873
+ color: var(--orb-fg);
2874
+ text-align: left;
2875
+ cursor: pointer;
2876
+ }
2877
+
2878
+ .orb-omph-conversation:hover,
2879
+ .orb-omph-conversation[data-active="true"] {
2880
+ background: var(--orb-p50);
2881
+ }
2882
+
2883
+ .orb-omph-conversation:focus-visible {
2884
+ outline: 2px solid var(--orb-focus-ring);
2885
+ outline-offset: -2px;
2886
+ }
2887
+
2888
+ .orb-omph-conversation-title,
2889
+ .orb-omph-conversation-meta {
2890
+ width: 100%;
2891
+ overflow: hidden;
2892
+ text-overflow: ellipsis;
2893
+ white-space: nowrap;
2894
+ }
2895
+
2896
+ .orb-omph-conversation-title {
2897
+ font: 600 13px/1.3 var(--orb-font);
2898
+ }
2899
+
2900
+ .orb-omph-conversation-meta {
2901
+ font: 500 11px/1.3 var(--orb-font);
2902
+ color: var(--orb-muted);
2903
+ }
2904
+
2905
+ .orb-omph-conversation-empty {
2906
+ margin: 0;
2907
+ padding: 12px 10px;
2908
+ color: var(--orb-muted);
2909
+ font: 500 13px/1.4 var(--orb-font);
2910
+ }
2911
+
2649
2912
  .orb-omph-avatar {
2650
2913
  display: inline-flex;
2651
2914
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orbcafe-ui",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "ORBCAFE UI components — ORBIS brand system, MUI-free",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",