@poolse/react-ui 3.2.0 → 3.4.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.
- package/CHANGELOG.md +73 -0
- package/README.md +53 -2
- package/dist/index.cjs +757 -178
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +274 -97
- package/dist/index.d.ts +274 -97
- package/dist/index.js +738 -181
- package/dist/index.js.map +1 -1
- package/dist/styles.css +415 -7
- package/package.json +12 -11
package/dist/styles.css
CHANGED
|
@@ -11,6 +11,13 @@
|
|
|
11
11
|
stylesheet — no component ejection required. Dark mode is
|
|
12
12
|
handled automatically via [data-theme="dark"] OR the user's
|
|
13
13
|
`prefers-color-scheme` setting (override per-app).
|
|
14
|
+
|
|
15
|
+
<PoolseTheme theme="…"> (from this package) sets a @poolse/theme
|
|
16
|
+
theme's variables on its own wrapper. Tokens these defaults have
|
|
17
|
+
no name for (--poolse-own-bubble, --poolse-link, --poolse-overlay,
|
|
18
|
+
--poolse-mention, --poolse-radius-bubble, …) are only set by a
|
|
19
|
+
theme; the rules below read them with a fallback to the variables
|
|
20
|
+
here, so overriding these still restyles everything.
|
|
14
21
|
============================================================ */
|
|
15
22
|
|
|
16
23
|
:root {
|
|
@@ -104,6 +111,38 @@
|
|
|
104
111
|
--poolse-shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.5), 0 30px 70px -20px rgba(0, 0, 0, 0.8);
|
|
105
112
|
}
|
|
106
113
|
|
|
114
|
+
/* Pinned light under a dark ancestor (or a dark OS) — e.g.
|
|
115
|
+
<PoolseTheme colorScheme="light">. Same values as :root. */
|
|
116
|
+
[data-theme='light'] {
|
|
117
|
+
--poolse-brand: #ff5436;
|
|
118
|
+
--poolse-brand-strong: #d63415;
|
|
119
|
+
--poolse-brand-soft: #ffe9e2;
|
|
120
|
+
--poolse-on-brand: #fbf7f4;
|
|
121
|
+
|
|
122
|
+
--poolse-paper: #fbf7f4;
|
|
123
|
+
--poolse-surface: #ffffff;
|
|
124
|
+
--poolse-surface-2: #f4eee9;
|
|
125
|
+
--poolse-ink: #1c1a19;
|
|
126
|
+
--poolse-ink-2: #6b6560;
|
|
127
|
+
--poolse-ink-3: #9a938c;
|
|
128
|
+
--poolse-border: #eae3dc;
|
|
129
|
+
|
|
130
|
+
--poolse-presence: #16c172;
|
|
131
|
+
--poolse-success: #16a34a;
|
|
132
|
+
--poolse-warning: #e08c16;
|
|
133
|
+
--poolse-error: #e5484d;
|
|
134
|
+
--poolse-info: #3b82f6;
|
|
135
|
+
|
|
136
|
+
--poolse-shadow-sm: 0 1px 2px rgba(28, 26, 25, 0.08);
|
|
137
|
+
--poolse-shadow-md: 0 1px 2px rgba(28, 26, 25, 0.06), 0 10px 30px -12px rgba(28, 26, 25, 0.18);
|
|
138
|
+
--poolse-shadow-lg: 0 1px 2px rgba(28, 26, 25, 0.06), 0 24px 60px -18px rgba(28, 26, 25, 0.28);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* <PoolseTheme>'s wrapper: carries variables, takes no part in layout. */
|
|
142
|
+
.poolse-theme {
|
|
143
|
+
display: contents;
|
|
144
|
+
}
|
|
145
|
+
|
|
107
146
|
/* Follow the OS automatically when nothing explicit is set. Apps
|
|
108
147
|
that want to pin one theme can set [data-theme="light"] to opt out. */
|
|
109
148
|
@media (prefers-color-scheme: dark) {
|
|
@@ -481,7 +520,7 @@
|
|
|
481
520
|
padding: 8px 12px;
|
|
482
521
|
/* Default fully-rounded; the group-position modifiers below swap in
|
|
483
522
|
the asymmetric tail corner for `last` / `standalone`. */
|
|
484
|
-
border-radius: 18px;
|
|
523
|
+
border-radius: var(--poolse-radius-bubble, 18px);
|
|
485
524
|
font-size: 14.5px;
|
|
486
525
|
line-height: 1.4;
|
|
487
526
|
word-wrap: break-word;
|
|
@@ -496,14 +535,14 @@
|
|
|
496
535
|
|
|
497
536
|
.poolse-message--self {
|
|
498
537
|
align-self: flex-end;
|
|
499
|
-
background: var(--poolse-brand);
|
|
500
|
-
color: var(--poolse-on-brand);
|
|
538
|
+
background: var(--poolse-own-bubble, var(--poolse-brand));
|
|
539
|
+
color: var(--poolse-own-bubble-text, var(--poolse-on-brand));
|
|
501
540
|
}
|
|
502
541
|
|
|
503
542
|
.poolse-message--other {
|
|
504
543
|
align-self: flex-start;
|
|
505
|
-
background: var(--poolse-surface);
|
|
506
|
-
color: var(--poolse-ink);
|
|
544
|
+
background: var(--poolse-other-bubble, var(--poolse-surface));
|
|
545
|
+
color: var(--poolse-other-bubble-text, var(--poolse-ink));
|
|
507
546
|
border: 1px solid var(--poolse-border);
|
|
508
547
|
}
|
|
509
548
|
|
|
@@ -614,6 +653,33 @@
|
|
|
614
653
|
white-space: nowrap;
|
|
615
654
|
}
|
|
616
655
|
|
|
656
|
+
/* Sender label / avatar as buttons (`onSenderPress` / `onAvatarPress`). */
|
|
657
|
+
.poolse-message__sender--button {
|
|
658
|
+
display: block;
|
|
659
|
+
padding: 0;
|
|
660
|
+
border: 0;
|
|
661
|
+
background: none;
|
|
662
|
+
font-family: inherit;
|
|
663
|
+
text-align: start;
|
|
664
|
+
cursor: pointer;
|
|
665
|
+
}
|
|
666
|
+
.poolse-message__sender--button:hover {
|
|
667
|
+
text-decoration: underline;
|
|
668
|
+
}
|
|
669
|
+
.poolse-bubble-shell__avatar-button {
|
|
670
|
+
display: flex;
|
|
671
|
+
padding: 0;
|
|
672
|
+
border: 0;
|
|
673
|
+
border-radius: 50%;
|
|
674
|
+
background: none;
|
|
675
|
+
cursor: pointer;
|
|
676
|
+
}
|
|
677
|
+
.poolse-message__sender--button:focus-visible,
|
|
678
|
+
.poolse-bubble-shell__avatar-button:focus-visible {
|
|
679
|
+
outline: 2px solid var(--poolse-brand, currentColor);
|
|
680
|
+
outline-offset: 2px;
|
|
681
|
+
}
|
|
682
|
+
|
|
617
683
|
/* Bubble + avatar shell — flex row, avatar slot to the left,
|
|
618
684
|
bubble to the right. Self bubbles + no-avatar configurations
|
|
619
685
|
bypass this wrapper entirely (Fragment passthrough). */
|
|
@@ -707,6 +773,10 @@
|
|
|
707
773
|
.poolse-message__body a:hover {
|
|
708
774
|
opacity: 0.85;
|
|
709
775
|
}
|
|
776
|
+
/* Own bubbles keep links in the bubble's text colour. */
|
|
777
|
+
.poolse-message--other .poolse-message__body a {
|
|
778
|
+
color: var(--poolse-link, inherit);
|
|
779
|
+
}
|
|
710
780
|
.poolse-message__body h1,
|
|
711
781
|
.poolse-message__body h2,
|
|
712
782
|
.poolse-message__body h3,
|
|
@@ -752,7 +822,7 @@
|
|
|
752
822
|
}
|
|
753
823
|
|
|
754
824
|
.poolse-message--self .poolse-message__meta {
|
|
755
|
-
color: var(--poolse-on-brand);
|
|
825
|
+
color: var(--poolse-own-bubble-text, var(--poolse-on-brand));
|
|
756
826
|
}
|
|
757
827
|
.poolse-message--other .poolse-message__meta {
|
|
758
828
|
color: var(--poolse-ink-3);
|
|
@@ -2786,6 +2856,344 @@
|
|
|
2786
2856
|
}
|
|
2787
2857
|
}
|
|
2788
2858
|
|
|
2859
|
+
/* ─────────────────────────────────────────────────────────────
|
|
2860
|
+
Chat layouts — ConversationView `layout="list"` (Slack-style rows)
|
|
2861
|
+
and `layout="compact"` (Discord/IRC-style lines), plus `density`.
|
|
2862
|
+
`bubbles` is everything above.
|
|
2863
|
+
───────────────────────────────────────────────────────────── */
|
|
2864
|
+
|
|
2865
|
+
.poolse-conversation--layout-list .poolse-conversation__messages,
|
|
2866
|
+
.poolse-conversation--layout-compact .poolse-conversation__messages {
|
|
2867
|
+
padding: 12px 0;
|
|
2868
|
+
gap: 0;
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
.poolse-row {
|
|
2872
|
+
position: relative;
|
|
2873
|
+
display: flex;
|
|
2874
|
+
align-items: flex-start;
|
|
2875
|
+
gap: 8px;
|
|
2876
|
+
/* 3px left border reserved for the mention accent bar. */
|
|
2877
|
+
padding: 2px 16px 2px 13px;
|
|
2878
|
+
border-left: 3px solid transparent;
|
|
2879
|
+
font-size: var(--poolse-font-size);
|
|
2880
|
+
line-height: 1.45;
|
|
2881
|
+
color: var(--poolse-ink);
|
|
2882
|
+
overflow-wrap: anywhere;
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
.poolse-row:hover,
|
|
2886
|
+
.poolse-row[data-actions-open] {
|
|
2887
|
+
background: var(--poolse-surface-2);
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
/* A message that @-mentions the viewer. */
|
|
2891
|
+
.poolse-row--mention,
|
|
2892
|
+
.poolse-row--mention:hover {
|
|
2893
|
+
background: var(--poolse-mention, var(--poolse-brand-soft));
|
|
2894
|
+
border-left-color: var(--poolse-brand);
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
.poolse-row--list.poolse-row--run-start {
|
|
2898
|
+
margin-top: 8px;
|
|
2899
|
+
padding-top: 6px;
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
.poolse-row--list.poolse-row--run-start:first-child {
|
|
2903
|
+
margin-top: 0;
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
.poolse-row__gutter {
|
|
2907
|
+
flex: none;
|
|
2908
|
+
width: 40px;
|
|
2909
|
+
display: flex;
|
|
2910
|
+
justify-content: center;
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
/* Later messages in a run: their time sits in the gutter, on hover. */
|
|
2914
|
+
.poolse-row__gutter-time {
|
|
2915
|
+
visibility: hidden;
|
|
2916
|
+
font-size: 10.5px;
|
|
2917
|
+
line-height: 22px;
|
|
2918
|
+
color: var(--poolse-ink-3);
|
|
2919
|
+
font-variant-numeric: tabular-nums;
|
|
2920
|
+
white-space: nowrap;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
.poolse-row:hover .poolse-row__gutter-time,
|
|
2924
|
+
.poolse-row:focus-within .poolse-row__gutter-time,
|
|
2925
|
+
.poolse-row[data-actions-open] .poolse-row__gutter-time {
|
|
2926
|
+
visibility: visible;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
.poolse-row__content {
|
|
2930
|
+
flex: 1 1 auto;
|
|
2931
|
+
min-width: 0;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
.poolse-row__header {
|
|
2935
|
+
display: flex;
|
|
2936
|
+
align-items: baseline;
|
|
2937
|
+
gap: 8px;
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
.poolse-row__name {
|
|
2941
|
+
font-weight: 700;
|
|
2942
|
+
color: inherit;
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
.poolse-row__name--button,
|
|
2946
|
+
.poolse-row__avatar-button {
|
|
2947
|
+
padding: 0;
|
|
2948
|
+
border: 0;
|
|
2949
|
+
background: none;
|
|
2950
|
+
font: inherit;
|
|
2951
|
+
font-weight: 700;
|
|
2952
|
+
color: inherit;
|
|
2953
|
+
cursor: pointer;
|
|
2954
|
+
}
|
|
2955
|
+
|
|
2956
|
+
.poolse-row__name--button:hover {
|
|
2957
|
+
text-decoration: underline;
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
.poolse-row__avatar-button {
|
|
2961
|
+
display: inline-flex;
|
|
2962
|
+
border-radius: 50%;
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
.poolse-row__name--button:focus-visible,
|
|
2966
|
+
.poolse-row__avatar-button:focus-visible {
|
|
2967
|
+
outline: 2px solid var(--poolse-brand);
|
|
2968
|
+
outline-offset: 2px;
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2971
|
+
.poolse-row__time {
|
|
2972
|
+
font-size: 12px;
|
|
2973
|
+
color: var(--poolse-ink-3);
|
|
2974
|
+
font-variant-numeric: tabular-nums;
|
|
2975
|
+
white-space: nowrap;
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
.poolse-row__edited {
|
|
2979
|
+
margin-left: 4px;
|
|
2980
|
+
font-size: 11.5px;
|
|
2981
|
+
color: var(--poolse-ink-3);
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
.poolse-row__receipt {
|
|
2985
|
+
display: inline-flex;
|
|
2986
|
+
margin-left: 4px;
|
|
2987
|
+
vertical-align: -2px;
|
|
2988
|
+
color: var(--poolse-ink-3);
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
.poolse-row__meta-only {
|
|
2992
|
+
font-size: 11.5px;
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2995
|
+
.poolse-row__attachments {
|
|
2996
|
+
margin: 4px 0;
|
|
2997
|
+
max-width: 420px;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
.poolse-row .poolse-message__media {
|
|
3001
|
+
margin: 0;
|
|
3002
|
+
min-width: 0;
|
|
3003
|
+
max-width: 360px;
|
|
3004
|
+
border-radius: var(--poolse-radius-md);
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
.poolse-row .poolse-message__files {
|
|
3008
|
+
margin-top: 4px;
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
.poolse-row .poolse-quote {
|
|
3012
|
+
margin: 2px 0 4px;
|
|
3013
|
+
max-width: 520px;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
.poolse-row .poolse-reactions {
|
|
3017
|
+
margin-top: 4px;
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
/* The editor is a neutral card in a row, full width. */
|
|
3021
|
+
.poolse-row .poolse-message--editing {
|
|
3022
|
+
max-width: 100%;
|
|
3023
|
+
align-self: stretch;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
.poolse-row__thread {
|
|
3027
|
+
display: inline-flex;
|
|
3028
|
+
align-items: center;
|
|
3029
|
+
gap: 4px;
|
|
3030
|
+
margin-top: 4px;
|
|
3031
|
+
padding: 2px 0;
|
|
3032
|
+
border: 0;
|
|
3033
|
+
background: none;
|
|
3034
|
+
font: 600 12.5px / 1.4 var(--poolse-font-body);
|
|
3035
|
+
color: var(--poolse-link, var(--poolse-brand-strong));
|
|
3036
|
+
cursor: pointer;
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
.poolse-row__thread:hover {
|
|
3040
|
+
text-decoration: underline;
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
/* Hover toolbar: React · Reply · Thread · More, top-right of the row. */
|
|
3044
|
+
.poolse-row__toolbar {
|
|
3045
|
+
position: absolute;
|
|
3046
|
+
top: -14px;
|
|
3047
|
+
right: 16px;
|
|
3048
|
+
z-index: 3;
|
|
3049
|
+
opacity: 0;
|
|
3050
|
+
pointer-events: none;
|
|
3051
|
+
transition: opacity 0.12s;
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
.poolse-row:hover .poolse-row__toolbar,
|
|
3055
|
+
.poolse-row[data-actions-open] .poolse-row__toolbar,
|
|
3056
|
+
.poolse-row__toolbar:focus-within {
|
|
3057
|
+
opacity: 1;
|
|
3058
|
+
pointer-events: auto;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
.poolse-row__toolbar .poolse-msg-actions__picker {
|
|
3062
|
+
left: auto;
|
|
3063
|
+
right: 0;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
.poolse-msg-actions__menu {
|
|
3067
|
+
position: absolute;
|
|
3068
|
+
top: calc(100% + 4px);
|
|
3069
|
+
right: 0;
|
|
3070
|
+
z-index: 10;
|
|
3071
|
+
display: flex;
|
|
3072
|
+
flex-direction: column;
|
|
3073
|
+
min-width: 160px;
|
|
3074
|
+
padding: 4px;
|
|
3075
|
+
background: var(--poolse-surface);
|
|
3076
|
+
border: 1px solid var(--poolse-border);
|
|
3077
|
+
border-radius: var(--poolse-radius-md);
|
|
3078
|
+
box-shadow: var(--poolse-shadow-md);
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
.poolse-msg-actions__menu-item {
|
|
3082
|
+
display: flex;
|
|
3083
|
+
align-items: center;
|
|
3084
|
+
gap: 8px;
|
|
3085
|
+
padding: 7px 10px;
|
|
3086
|
+
border: 0;
|
|
3087
|
+
border-radius: var(--poolse-radius-sm);
|
|
3088
|
+
background: none;
|
|
3089
|
+
font: 500 13px / 1.2 var(--poolse-font-body);
|
|
3090
|
+
color: var(--poolse-ink);
|
|
3091
|
+
text-align: left;
|
|
3092
|
+
cursor: pointer;
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
.poolse-msg-actions__menu-item:hover,
|
|
3096
|
+
.poolse-msg-actions__menu-item:focus-visible {
|
|
3097
|
+
background: var(--poolse-surface-2);
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
.poolse-msg-actions__menu-item--danger {
|
|
3101
|
+
color: var(--poolse-error);
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
/* compact: time · [avatar] · name · text on one line. */
|
|
3105
|
+
.poolse-row--compact {
|
|
3106
|
+
align-items: baseline;
|
|
3107
|
+
gap: 6px;
|
|
3108
|
+
padding-top: 1px;
|
|
3109
|
+
padding-bottom: 1px;
|
|
3110
|
+
line-height: 1.4;
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
.poolse-row--compact .poolse-row__time {
|
|
3114
|
+
flex: none;
|
|
3115
|
+
min-width: 3.6em;
|
|
3116
|
+
font-size: 11px;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
.poolse-row--compact .poolse-row__avatar {
|
|
3120
|
+
flex: none;
|
|
3121
|
+
align-self: center;
|
|
3122
|
+
display: inline-flex;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
.poolse-row--compact .poolse-avatar {
|
|
3126
|
+
width: 18px;
|
|
3127
|
+
height: 18px;
|
|
3128
|
+
font-size: 9px;
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
.poolse-row--compact .poolse-row__name {
|
|
3132
|
+
flex: none;
|
|
3133
|
+
max-width: 30%;
|
|
3134
|
+
overflow: hidden;
|
|
3135
|
+
text-overflow: ellipsis;
|
|
3136
|
+
white-space: nowrap;
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
.poolse-row--compact .poolse-row__toolbar {
|
|
3140
|
+
top: -16px;
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
/* Day dividers in the row layouts: a rule with the date on it. */
|
|
3144
|
+
.poolse-conversation--layout-list .poolse-day-separator,
|
|
3145
|
+
.poolse-conversation--layout-compact .poolse-day-separator {
|
|
3146
|
+
gap: 12px;
|
|
3147
|
+
margin: 12px 16px 4px;
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
.poolse-conversation--layout-list .poolse-day-separator::before,
|
|
3151
|
+
.poolse-conversation--layout-list .poolse-day-separator::after,
|
|
3152
|
+
.poolse-conversation--layout-compact .poolse-day-separator::before,
|
|
3153
|
+
.poolse-conversation--layout-compact .poolse-day-separator::after {
|
|
3154
|
+
content: '';
|
|
3155
|
+
flex: 1;
|
|
3156
|
+
height: 1px;
|
|
3157
|
+
background: var(--poolse-border);
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
/* density="compact" — tighter in every layout. */
|
|
3161
|
+
.poolse-conversation--density-compact .poolse-conversation__messages {
|
|
3162
|
+
padding-top: 8px;
|
|
3163
|
+
padding-bottom: 8px;
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
.poolse-conversation--density-compact .poolse-message {
|
|
3167
|
+
padding: 5px 10px;
|
|
3168
|
+
font-size: 14px;
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
.poolse-conversation--density-compact .poolse-message-row--first,
|
|
3172
|
+
.poolse-conversation--density-compact .poolse-message-row--standalone {
|
|
3173
|
+
margin-top: 6px;
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
.poolse-conversation--density-compact .poolse-row {
|
|
3177
|
+
padding-top: 0;
|
|
3178
|
+
padding-bottom: 0;
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3181
|
+
.poolse-conversation--density-compact .poolse-row--list.poolse-row--run-start {
|
|
3182
|
+
margin-top: 4px;
|
|
3183
|
+
padding-top: 3px;
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
.poolse-conversation--density-compact .poolse-row--list .poolse-avatar {
|
|
3187
|
+
width: 32px;
|
|
3188
|
+
height: 32px;
|
|
3189
|
+
font-size: 13px;
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
.poolse-conversation--density-compact .poolse-row--compact {
|
|
3193
|
+
font-size: 13.5px;
|
|
3194
|
+
line-height: 1.3;
|
|
3195
|
+
}
|
|
3196
|
+
|
|
2789
3197
|
/* ─────────────────────────────────────────────────────────────
|
|
2790
3198
|
Modal shell — used by UserPickerSheet, GroupDetailsSheet.
|
|
2791
3199
|
Centered card with a dimming backdrop.
|
|
@@ -2794,7 +3202,7 @@
|
|
|
2794
3202
|
.poolse-modal {
|
|
2795
3203
|
position: fixed;
|
|
2796
3204
|
inset: 0;
|
|
2797
|
-
background: rgba(0, 0, 0, 0.45);
|
|
3205
|
+
background: var(--poolse-overlay, rgba(0, 0, 0, 0.45));
|
|
2798
3206
|
display: flex;
|
|
2799
3207
|
align-items: center;
|
|
2800
3208
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolse/react-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "React chat UI components — ConversationView, PoolseInbox, MessageBubble, TypingIndicator, ReactionPicker, ThreadView. CSS-variable theming, render-prop escape hatches. MIT — alternative to Sendbird, Stream, TalkJS, CometChat.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"keywords": [
|
|
@@ -57,16 +57,10 @@
|
|
|
57
57
|
"LICENSE",
|
|
58
58
|
"CHANGELOG.md"
|
|
59
59
|
],
|
|
60
|
-
"scripts": {
|
|
61
|
-
"build": "tsup",
|
|
62
|
-
"dev": "tsup --watch src",
|
|
63
|
-
"test": "vitest run",
|
|
64
|
-
"typecheck": "tsc --noEmit",
|
|
65
|
-
"lint": "eslint src test"
|
|
66
|
-
},
|
|
67
60
|
"dependencies": {
|
|
68
|
-
"@poolse/react": "^3.
|
|
69
|
-
"@poolse/sdk": "^3.
|
|
61
|
+
"@poolse/react": "^3.4.0",
|
|
62
|
+
"@poolse/sdk": "^3.4.0",
|
|
63
|
+
"@poolse/theme": "^3.4.0",
|
|
70
64
|
"react-markdown": "^9.0.1",
|
|
71
65
|
"remark-gfm": "^4.0.0"
|
|
72
66
|
},
|
|
@@ -82,5 +76,12 @@
|
|
|
82
76
|
},
|
|
83
77
|
"publishConfig": {
|
|
84
78
|
"access": "public"
|
|
79
|
+
},
|
|
80
|
+
"scripts": {
|
|
81
|
+
"build": "tsup",
|
|
82
|
+
"dev": "tsup --watch src",
|
|
83
|
+
"test": "vitest run",
|
|
84
|
+
"typecheck": "tsc --noEmit",
|
|
85
|
+
"lint": "eslint src test"
|
|
85
86
|
}
|
|
86
|
-
}
|
|
87
|
+
}
|