@lumen-stack/react 0.15.2 → 0.16.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/dist/styles.css CHANGED
@@ -1103,6 +1103,93 @@
1103
1103
  z-index: 5;
1104
1104
  }
1105
1105
 
1106
+ /* ─── Mobile markup: pen-notch summon ────────────────────────────────
1107
+ On phones the always-on top tool bar sandwiched the screenshot. Instead a
1108
+ small pen tab sits notched into the right edge; tapping it fans the palette
1109
+ out to its left, and it fades out while a stroke is in progress — so the
1110
+ screenshot is never obstructed. Desktop is unchanged (notch hidden below). */
1111
+ .lumen-fs-notch { display: none; }
1112
+ @media (max-width: 639px) {
1113
+ /* the edge notch replaces the pill's pen-toggle on mobile */
1114
+ .lumen-fs-pentog,
1115
+ .lumen-fs-pill .lumen-fs-pill-sep { display: none; }
1116
+
1117
+ .lumen-fs-notch {
1118
+ position: absolute;
1119
+ right: 0;
1120
+ top: 56%;
1121
+ transform: translateY(-50%);
1122
+ z-index: 8;
1123
+ width: 34px;
1124
+ height: 52px;
1125
+ border: 0.5px solid rgb(255 255 255 / 0.14);
1126
+ border-right: 0;
1127
+ border-radius: 16px 0 0 16px;
1128
+ background: rgb(20 20 24 / 0.74);
1129
+ backdrop-filter: blur(20px) saturate(160%);
1130
+ -webkit-backdrop-filter: blur(20px) saturate(160%);
1131
+ box-shadow: -7px 10px 24px rgb(0 0 0 / 0.36);
1132
+ display: grid;
1133
+ place-items: center;
1134
+ cursor: pointer;
1135
+ transition: transform 0.18s var(--lumen-ease),
1136
+ background-color 0.2s ease, opacity 0.2s ease;
1137
+ }
1138
+ .lumen-fs-notch svg { width: 18px; height: 18px; display: block; }
1139
+ .lumen-fs-notch:active { transform: translateY(-50%) scale(0.94); }
1140
+ .lumen-fs-notch[data-on="true"] {
1141
+ background: var(--lumen-accent);
1142
+ color: #fff !important;
1143
+ }
1144
+
1145
+ /* the palette fans out to the LEFT of the tab as a vertical popover */
1146
+ .lumen-modal[data-lumen-fs="true"] .lumen-toolbar {
1147
+ left: auto;
1148
+ right: 50px;
1149
+ bottom: auto;
1150
+ top: 56%;
1151
+ transform: translateY(-50%);
1152
+ transform-origin: right center;
1153
+ flex-direction: column;
1154
+ flex-wrap: nowrap;
1155
+ align-items: center;
1156
+ gap: 4px;
1157
+ padding: 8px 7px;
1158
+ border-radius: 20px;
1159
+ max-width: none;
1160
+ animation: lumen-notch-pop 0.26s var(--lumen-ease) both;
1161
+ }
1162
+ .lumen-modal[data-lumen-fs="true"] .lumen-toolbar .lumen-segmented {
1163
+ flex-direction: column;
1164
+ gap: 2px;
1165
+ }
1166
+ .lumen-modal[data-lumen-fs="true"] .lumen-toolbar .lumen-toolbar-sep {
1167
+ width: 22px;
1168
+ height: 0.5px;
1169
+ margin: 3px 0;
1170
+ }
1171
+ /* colour popover opens to the left of the vertical palette */
1172
+ .lumen-modal[data-lumen-fs="true"] .lumen-fs-color-pop {
1173
+ left: auto;
1174
+ right: 34px;
1175
+ bottom: auto;
1176
+ top: 50%;
1177
+ transform: translateY(-50%);
1178
+ flex-direction: column;
1179
+ }
1180
+
1181
+ /* screenshot stays clear while a stroke is in progress */
1182
+ .lumen-modal[data-lumen-drawing="true"] .lumen-fs-notch { opacity: 0.16; }
1183
+ .lumen-modal[data-lumen-drawing="true"][data-lumen-fs="true"] .lumen-toolbar {
1184
+ opacity: 0;
1185
+ pointer-events: none;
1186
+ }
1187
+ }
1188
+ @keyframes lumen-notch-pop {
1189
+ from { opacity: 0; transform: translateY(-50%) translateX(12px) scale(0.65); }
1190
+ to { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
1191
+ }
1192
+
1106
1193
  /* ─── Review & send detent (step 2) — a taller sheet that rises over the
1107
1194
  dimmed, annotated capture; editable priority/platform/description → Send ── */
1108
1195
  .lumen-rv-pane { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumen-stack/react",
3
- "version": "0.15.2",
3
+ "version": "0.16.0",
4
4
  "description": "React SDK for Lumen — screenshot capture, annotation, and feedback widget.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {