@floegence/floe-webapp-core 0.35.51 → 0.35.53

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.
@@ -256,8 +256,7 @@
256
256
  position: absolute;
257
257
  inset: 0;
258
258
  pointer-events: none;
259
- background-image:
260
- linear-gradient(
259
+ background-image: linear-gradient(
261
260
  to right,
262
261
  color-mix(in srgb, var(--border) 28%, transparent) 1px,
263
262
  transparent 1px
@@ -526,8 +525,7 @@
526
525
  .notes-overview__grid {
527
526
  position: absolute;
528
527
  inset: 0;
529
- background-image:
530
- linear-gradient(
528
+ background-image: linear-gradient(
531
529
  to right,
532
530
  color-mix(in srgb, var(--border) 26%, transparent) 1px,
533
531
  transparent 1px
@@ -675,6 +673,8 @@
675
673
  --notes-surface-strong: color-mix(in srgb, var(--card) 88%, var(--notes-accent) 12%);
676
674
  --notes-border: color-mix(in srgb, var(--border) 74%, var(--notes-accent) 26%);
677
675
  --notes-ink: color-mix(in srgb, var(--card-foreground) 92%, var(--notes-accent) 8%);
676
+ --notes-ribbon: color-mix(in srgb, var(--notes-accent) 74%, var(--foreground) 26%);
677
+ --notes-title-ink: color-mix(in srgb, var(--notes-ribbon) 82%, var(--card-foreground) 18%);
678
678
  position: absolute;
679
679
  width: var(--note-width);
680
680
  height: var(--note-height);
@@ -692,7 +692,12 @@
692
692
  height: 100%;
693
693
  border: 1px solid var(--notes-border);
694
694
  border-radius: 0.42rem;
695
- background: var(--notes-surface);
695
+ background: linear-gradient(180deg, color-mix(in srgb, white 20%, transparent), transparent 30%),
696
+ linear-gradient(
697
+ 135deg,
698
+ var(--notes-surface),
699
+ color-mix(in srgb, var(--notes-surface) 84%, var(--notes-accent) 16%)
700
+ );
696
701
  box-shadow:
697
702
  0 16px 28px color-mix(in srgb, var(--foreground) 7%, transparent),
698
703
  0 1px 0 color-mix(in srgb, white 8%, transparent) inset;
@@ -708,15 +713,21 @@
708
713
  content: '';
709
714
  position: absolute;
710
715
  inset: 0 auto 0 0;
711
- width: 3px;
712
- background: color-mix(in srgb, var(--notes-accent) 72%, white 28%);
716
+ width: 4px;
717
+ background: var(--notes-ribbon);
713
718
  opacity: 0.92;
719
+ box-shadow: 1px 0 0 color-mix(in srgb, white 18%, transparent) inset;
714
720
  }
715
721
 
716
722
  .notes-note:hover .notes-note__surface,
717
723
  .notes-note:focus-within .notes-note__surface {
718
724
  border-color: color-mix(in srgb, var(--notes-accent) 42%, var(--border));
719
- background: var(--notes-surface-strong);
725
+ background: linear-gradient(180deg, color-mix(in srgb, white 24%, transparent), transparent 32%),
726
+ linear-gradient(
727
+ 135deg,
728
+ var(--notes-surface-strong),
729
+ color-mix(in srgb, var(--notes-surface-strong) 82%, var(--notes-accent) 18%)
730
+ );
720
731
  box-shadow:
721
732
  0 20px 34px color-mix(in srgb, var(--foreground) 10%, transparent),
722
733
  0 1px 0 color-mix(in srgb, white 12%, transparent) inset;
@@ -891,13 +902,108 @@
891
902
 
892
903
  .notes-note__body {
893
904
  position: relative;
905
+ display: flex;
906
+ flex-direction: column;
907
+ gap: 0.46rem;
894
908
  flex: 1;
895
- padding: 0.18rem 0.9rem 0.84rem;
909
+ min-height: 0;
910
+ padding: 0.22rem 0.92rem 0.88rem;
896
911
  text-align: left;
897
912
  cursor: copy;
898
913
  }
899
914
 
900
- .notes-note__body span {
915
+ .notes-note__body.is-empty,
916
+ .notes-note__body.is-title-only {
917
+ cursor: text;
918
+ }
919
+
920
+ .notes-note__title-block {
921
+ --notes-title-marker-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 34' preserveAspectRatio='none'%3E%3Cpath d='M5.5 13.4C17.8 11.4 31.8 10.9 48.1 11.8C72.2 13.2 94.8 14.8 120.7 14.8C149.5 14.7 175.2 12.8 202.7 13.2C214.1 13.3 224.1 13.9 234.5 15.2L237.2 20.5C225.7 22 214.6 22.4 201.8 22.2C174.3 21.6 148.8 19.8 120.7 20.2C94 20.7 70.4 22.8 44.6 22.4C29.4 22.2 16.7 21.4 4.2 19.6L5.5 13.4Z' fill='black'/%3E%3C/svg%3E");
922
+ --notes-title-underline-extension: 0.18rem;
923
+ --notes-title-marker-height: 0.41rem;
924
+ --notes-title-marker-soft-height: 0.54rem;
925
+ position: relative;
926
+ display: inline-flex;
927
+ flex-direction: column;
928
+ align-items: flex-start;
929
+ align-self: flex-start;
930
+ min-width: 0;
931
+ max-width: 100%;
932
+ padding: 0 0.04rem 0.28rem;
933
+ color: var(--notes-title-ink);
934
+ isolation: isolate;
935
+ }
936
+
937
+ .notes-note__title-block::before,
938
+ .notes-note__title-block::after {
939
+ content: '';
940
+ position: absolute;
941
+ left: calc(var(--notes-title-underline-extension) * -1);
942
+ right: calc(var(--notes-title-underline-extension) * -1);
943
+ transform-origin: left center;
944
+ -webkit-mask-image: var(--notes-title-marker-mask);
945
+ -webkit-mask-repeat: no-repeat;
946
+ -webkit-mask-position: center;
947
+ -webkit-mask-size: 100% 100%;
948
+ mask-image: var(--notes-title-marker-mask);
949
+ mask-repeat: no-repeat;
950
+ mask-position: center;
951
+ mask-size: 100% 100%;
952
+ pointer-events: none;
953
+ z-index: 0;
954
+ }
955
+
956
+ .notes-note__title-block::before {
957
+ bottom: -0.05rem;
958
+ height: var(--notes-title-marker-soft-height);
959
+ background:
960
+ linear-gradient(
961
+ 180deg,
962
+ color-mix(in srgb, currentColor 28%, white 72%) 0%,
963
+ color-mix(in srgb, currentColor 42%, white 58%) 45%,
964
+ color-mix(in srgb, currentColor 24%, transparent) 100%
965
+ );
966
+ opacity: 0.52;
967
+ filter: blur(0.065rem);
968
+ transform: translateX(0.015rem) rotate(-0.6deg);
969
+ }
970
+
971
+ .notes-note__title-block::after {
972
+ bottom: 0.01rem;
973
+ height: var(--notes-title-marker-height);
974
+ background:
975
+ linear-gradient(
976
+ 180deg,
977
+ color-mix(in srgb, currentColor 52%, white 48%) 0%,
978
+ color-mix(in srgb, currentColor 88%, white 12%) 40%,
979
+ color-mix(in srgb, currentColor 76%, black 24%) 100%
980
+ );
981
+ opacity: 0.84;
982
+ filter: saturate(0.94);
983
+ transform: rotate(-0.95deg);
984
+ box-shadow:
985
+ 0 0.018rem 0 color-mix(in srgb, currentColor 18%, transparent),
986
+ 0 0.04rem 0.05rem color-mix(in srgb, currentColor 10%, transparent);
987
+ }
988
+
989
+ .notes-note__title {
990
+ display: -webkit-box;
991
+ overflow: hidden;
992
+ max-width: 100%;
993
+ position: relative;
994
+ z-index: 1;
995
+ color: inherit;
996
+ font-size: 1.03rem;
997
+ font-weight: 760;
998
+ letter-spacing: -0.045em;
999
+ line-height: 1.02;
1000
+ text-wrap: balance;
1001
+ -webkit-line-clamp: 2;
1002
+ -webkit-box-orient: vertical;
1003
+ word-break: break-word;
1004
+ }
1005
+
1006
+ .notes-note__body-copy {
901
1007
  display: -webkit-box;
902
1008
  overflow: hidden;
903
1009
  color: color-mix(in srgb, var(--notes-ink) 94%, black 6%);
@@ -909,24 +1015,58 @@
909
1015
  -webkit-box-orient: vertical;
910
1016
  }
911
1017
 
912
- .notes-note__body.is-empty span {
1018
+ .notes-note__body.is-empty .notes-note__body-copy {
913
1019
  color: color-mix(in srgb, var(--notes-ink) 54%, var(--muted-foreground));
914
1020
  font-style: italic;
915
1021
  }
916
1022
 
917
- .notes-note--size-0 .notes-note__body span {
1023
+ .notes-note__body.has-title .notes-note__body-copy {
1024
+ font-size: 0.78rem;
1025
+ line-height: 1.48;
1026
+ -webkit-line-clamp: 4;
1027
+ }
1028
+
1029
+ .notes-note__body.is-title-only {
1030
+ padding-bottom: 1rem;
1031
+ }
1032
+
1033
+ .notes-note--size-0 .notes-note__title {
1034
+ font-size: 0.92rem;
1035
+ }
1036
+
1037
+ .notes-note--size-3 .notes-note__title {
1038
+ font-size: 1.08rem;
1039
+ }
1040
+
1041
+ .notes-note--size-4 .notes-note__title {
1042
+ font-size: 1.14rem;
1043
+ }
1044
+
1045
+ .notes-note--size-0 .notes-note__body-copy {
918
1046
  font-size: 0.78rem;
919
1047
  -webkit-line-clamp: 4;
920
1048
  }
921
1049
 
922
- .notes-note--size-1 .notes-note__body span {
1050
+ .notes-note--size-1 .notes-note__body-copy {
923
1051
  -webkit-line-clamp: 5;
924
1052
  }
925
1053
 
926
- .notes-note--size-4 .notes-note__body span {
1054
+ .notes-note--size-4 .notes-note__body-copy {
927
1055
  -webkit-line-clamp: 8;
928
1056
  }
929
1057
 
1058
+ .notes-note--size-0 .notes-note__body.has-title .notes-note__body-copy {
1059
+ -webkit-line-clamp: 2;
1060
+ }
1061
+
1062
+ .notes-note--size-1 .notes-note__body.has-title .notes-note__body-copy {
1063
+ -webkit-line-clamp: 3;
1064
+ }
1065
+
1066
+ .notes-note--size-4 .notes-note__body.has-title .notes-note__body-copy {
1067
+ -webkit-line-clamp: 6;
1068
+ }
1069
+
930
1070
  .notes-trash {
931
1071
  position: absolute;
932
1072
  right: 1rem;
@@ -1210,13 +1350,27 @@
1210
1350
 
1211
1351
  .notes-trash-note__body {
1212
1352
  display: flex;
1353
+ flex-direction: column;
1354
+ gap: 0.42rem;
1213
1355
  flex: 1 1 auto;
1214
1356
  min-height: 0;
1215
1357
  overflow: hidden;
1216
- padding: 0.18rem 0.78rem 0.65rem;
1358
+ padding: 0.18rem 0.8rem 0.65rem;
1359
+ }
1360
+
1361
+ .notes-note__title-block--trash {
1362
+ --notes-title-underline-extension: 0.16rem;
1363
+ --notes-title-marker-height: 0.35rem;
1364
+ --notes-title-marker-soft-height: 0.45rem;
1365
+ padding-bottom: 0.24rem;
1217
1366
  }
1218
1367
 
1219
- .notes-trash-note__body span {
1368
+ .notes-trash-note .notes-note__title {
1369
+ font-size: 0.94rem;
1370
+ line-height: 1.05;
1371
+ }
1372
+
1373
+ .notes-trash-note__body-copy {
1220
1374
  display: -webkit-box;
1221
1375
  width: 100%;
1222
1376
  overflow: hidden;
@@ -1229,18 +1383,54 @@
1229
1383
  word-break: break-word;
1230
1384
  }
1231
1385
 
1232
- .notes-trash-note--size-0 .notes-trash-note__body span {
1386
+ .notes-trash-note__body.has-title .notes-trash-note__body-copy {
1387
+ font-size: 0.77rem;
1388
+ line-height: 1.46;
1389
+ -webkit-line-clamp: 4;
1390
+ }
1391
+
1392
+ .notes-trash-note__body.is-title-only {
1393
+ padding-bottom: 0.86rem;
1394
+ }
1395
+
1396
+ .notes-trash-note.notes-note--size-0 .notes-note__title {
1397
+ font-size: 0.88rem;
1398
+ }
1399
+
1400
+ .notes-trash-note.notes-note--size-4 .notes-note__title {
1401
+ font-size: 1rem;
1402
+ }
1403
+
1404
+ .notes-trash-note.notes-note--size-0 .notes-trash-note__body-copy {
1233
1405
  -webkit-line-clamp: 4;
1234
1406
  }
1235
1407
 
1236
- .notes-trash-note--size-1 .notes-trash-note__body span {
1408
+ .notes-trash-note.notes-note--size-1 .notes-trash-note__body-copy {
1237
1409
  -webkit-line-clamp: 5;
1238
1410
  }
1239
1411
 
1240
- .notes-trash-note--size-4 .notes-trash-note__body span {
1412
+ .notes-trash-note.notes-note--size-4 .notes-trash-note__body-copy {
1241
1413
  -webkit-line-clamp: 8;
1242
1414
  }
1243
1415
 
1416
+ .notes-trash-note.notes-note--size-0
1417
+ .notes-trash-note__body.has-title
1418
+ .notes-trash-note__body-copy {
1419
+ -webkit-line-clamp: 2;
1420
+ }
1421
+
1422
+ .notes-trash-note.notes-note--size-1
1423
+ .notes-trash-note__body.has-title
1424
+ .notes-trash-note__body-copy {
1425
+ -webkit-line-clamp: 3;
1426
+ }
1427
+
1428
+ .notes-trash-note.notes-note--size-4
1429
+ .notes-trash-note__body.has-title
1430
+ .notes-trash-note__body-copy {
1431
+ -webkit-line-clamp: 6;
1432
+ }
1433
+
1244
1434
  .notes-trash-note__actions {
1245
1435
  display: flex;
1246
1436
  flex-shrink: 0;
@@ -1402,6 +1592,28 @@
1402
1592
  gap: 0.5rem;
1403
1593
  }
1404
1594
 
1595
+ .notes-editor__field--headline input {
1596
+ background: color-mix(in srgb, var(--background) 96%, var(--notes-accent) 4%);
1597
+ border-radius: 0.58rem;
1598
+ border-color: color-mix(in srgb, var(--border) 70%, var(--notes-accent) 30%);
1599
+ color: var(--foreground);
1600
+ font-size: 0.88rem;
1601
+ font-weight: 650;
1602
+ letter-spacing: -0.022em;
1603
+ box-shadow:
1604
+ 0 1px 0 color-mix(in srgb, white 12%, transparent) inset,
1605
+ 0 10px 22px color-mix(in srgb, var(--foreground) 4%, transparent);
1606
+ }
1607
+
1608
+ .notes-editor__field--headline input::placeholder {
1609
+ color: color-mix(in srgb, var(--muted-foreground) 72%, transparent);
1610
+ font-weight: 500;
1611
+ }
1612
+
1613
+ .notes-editor__field--headline p {
1614
+ color: color-mix(in srgb, var(--muted-foreground) 86%, transparent);
1615
+ }
1616
+
1405
1617
  .notes-editor__swatches {
1406
1618
  display: grid;
1407
1619
  grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -1503,6 +1715,8 @@
1503
1715
  --notes-surface: color-mix(in srgb, var(--card) 88%, var(--notes-accent) 12%);
1504
1716
  --notes-surface-strong: color-mix(in srgb, var(--card) 82%, var(--notes-accent) 18%);
1505
1717
  --notes-border: color-mix(in srgb, var(--border) 62%, var(--notes-accent) 38%);
1718
+ --notes-ribbon: color-mix(in srgb, var(--notes-accent) 82%, white 18%);
1719
+ --notes-title-ink: color-mix(in srgb, var(--notes-ribbon) 72%, white 28%);
1506
1720
  }
1507
1721
 
1508
1722
  .dark .notes-note__surface {
@@ -1975,8 +2189,7 @@
1975
2189
  }
1976
2190
 
1977
2191
  .notes-canvas {
1978
- background:
1979
- linear-gradient(
2192
+ background: linear-gradient(
1980
2193
  to right,
1981
2194
  color-mix(in srgb, var(--border) 14%, transparent) 1px,
1982
2195
  transparent 1px
@@ -1987,7 +2200,10 @@
1987
2200
  transparent 1px
1988
2201
  ),
1989
2202
  color-mix(in srgb, var(--background) 98%, var(--muted) 2%);
1990
- background-size: 40px 40px, 40px 40px, auto;
2203
+ background-size:
2204
+ 40px 40px,
2205
+ 40px 40px,
2206
+ auto;
1991
2207
  }
1992
2208
 
1993
2209
  .notes-topic-composer input {
@@ -2176,6 +2392,7 @@
2176
2392
  --notes-surface-strong: color-mix(in srgb, var(--card) 92%, var(--notes-accent) 8%);
2177
2393
  --notes-border: color-mix(in srgb, var(--border) 78%, var(--notes-accent) 22%);
2178
2394
  --notes-ink: color-mix(in srgb, var(--card-foreground) 94%, var(--notes-accent) 6%);
2395
+ --notes-ribbon: color-mix(in srgb, var(--notes-accent) 78%, var(--foreground) 22%);
2179
2396
  }
2180
2397
 
2181
2398
  .notes-note__surface {
@@ -2186,7 +2403,7 @@
2186
2403
  }
2187
2404
 
2188
2405
  .notes-note__surface::before {
2189
- width: 2px;
2406
+ width: 3px;
2190
2407
  }
2191
2408
 
2192
2409
  .notes-note:hover .notes-note__surface,
@@ -2232,11 +2449,16 @@
2232
2449
  }
2233
2450
 
2234
2451
  .notes-note__body {
2235
- padding: 0.14rem 0.82rem 0.8rem;
2452
+ gap: 0.42rem;
2453
+ padding: 0.16rem 0.84rem 0.82rem;
2236
2454
  }
2237
2455
 
2238
- .notes-note__body span {
2239
- font-size: 0.82rem;
2456
+ .notes-note__title {
2457
+ font-size: 0.99rem;
2458
+ }
2459
+
2460
+ .notes-note__body-copy {
2461
+ font-size: 0.8rem;
2240
2462
  }
2241
2463
 
2242
2464
  .notes-note__copied-pill {