@libxai/board 0.17.175 → 0.17.176

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 (2) hide show
  1. package/dist/styles.css +306 -9
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -6250,7 +6250,7 @@
6250
6250
  }
6251
6251
 
6252
6252
 
6253
- /* Drop zone */
6253
+ /* Drop zone - v0.17.172: Always visible border and content */
6254
6254
 
6255
6255
 
6256
6256
  .attachment-dropzone {
@@ -6259,12 +6259,12 @@
6259
6259
  display: flex;
6260
6260
  align-items: center;
6261
6261
  justify-content: center;
6262
- border: 2px dashed rgba(255, 255, 255, 0.15);
6262
+ border: 2px dashed rgba(99, 102, 241, 0.5);
6263
6263
  border-radius: 12px;
6264
6264
  background: linear-gradient(
6265
6265
  135deg,
6266
- rgba(255, 255, 255, 0.03) 0%,
6267
- rgba(255, 255, 255, 0.01) 100%
6266
+ rgba(99, 102, 241, 0.08) 0%,
6267
+ rgba(99, 102, 241, 0.03) 100%
6268
6268
  );
6269
6269
  backdrop-filter: blur(10px);
6270
6270
  cursor: pointer;
@@ -6311,34 +6311,34 @@
6311
6311
 
6312
6312
 
6313
6313
  .attachment-dropzone-icon {
6314
- color: rgba(255, 255, 255, 0.4);
6314
+ color: rgba(99, 102, 241, 0.7);
6315
6315
  transition: color 0.3s ease;
6316
6316
  }
6317
6317
 
6318
6318
 
6319
6319
  .attachment-dropzone:hover .attachment-dropzone-icon {
6320
- color: rgba(59, 130, 246, 0.8);
6320
+ color: rgba(99, 102, 241, 1);
6321
6321
  }
6322
6322
 
6323
6323
 
6324
6324
  .attachment-dropzone-text {
6325
6325
  font-size: 16px;
6326
6326
  font-weight: 600;
6327
- color: rgba(255, 255, 255, 0.9);
6327
+ color: rgba(99, 102, 241, 0.9);
6328
6328
  margin: 0;
6329
6329
  }
6330
6330
 
6331
6331
 
6332
6332
  .attachment-dropzone-subtext {
6333
6333
  font-size: 14px;
6334
- color: rgba(255, 255, 255, 0.5);
6334
+ color: rgba(99, 102, 241, 0.7);
6335
6335
  margin: 0;
6336
6336
  }
6337
6337
 
6338
6338
 
6339
6339
  .attachment-dropzone-info {
6340
6340
  font-size: 12px;
6341
- color: rgba(255, 255, 255, 0.4);
6341
+ color: rgba(99, 102, 241, 0.6);
6342
6342
  margin: 0;
6343
6343
  margin-top: 4px;
6344
6344
  }
@@ -6571,6 +6571,222 @@
6571
6571
  }
6572
6572
 
6573
6573
 
6574
+ /* Thumbnail button for clickable images */
6575
+
6576
+
6577
+ .attachment-thumbnail-btn {
6578
+ width: 100%;
6579
+ height: 100%;
6580
+ padding: 0;
6581
+ margin: 0;
6582
+ border: none;
6583
+ background: transparent;
6584
+ cursor: pointer;
6585
+ position: relative;
6586
+ overflow: hidden;
6587
+ border-radius: 6px;
6588
+ }
6589
+
6590
+
6591
+ .attachment-thumbnail-btn:hover .attachment-thumbnail {
6592
+ transform: scale(1.1);
6593
+ }
6594
+
6595
+
6596
+ .attachment-thumbnail-btn:hover .attachment-thumbnail-overlay {
6597
+ opacity: 1;
6598
+ }
6599
+
6600
+
6601
+ .attachment-thumbnail-overlay {
6602
+ position: absolute;
6603
+ inset: 0;
6604
+ display: flex;
6605
+ align-items: center;
6606
+ justify-content: center;
6607
+ background: rgba(0, 0, 0, 0.5);
6608
+ opacity: 0;
6609
+ transition: opacity 0.2s ease;
6610
+ color: white;
6611
+ }
6612
+
6613
+
6614
+ .attachment-thumbnail {
6615
+ transition: transform 0.2s ease;
6616
+ }
6617
+
6618
+
6619
+ /* ========================================
6620
+ Lightbox Styles - Clean & Minimal
6621
+ ======================================== */
6622
+
6623
+
6624
+ .attachment-lightbox {
6625
+ position: fixed;
6626
+ inset: 0;
6627
+ z-index: 2147483647; /* Max z-index to always be on top */
6628
+ display: flex;
6629
+ align-items: center;
6630
+ justify-content: center;
6631
+ background: rgba(0, 0, 0, 0.95);
6632
+ cursor: pointer;
6633
+ animation: lightbox-fade-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6634
+ isolation: isolate; /* Create new stacking context */
6635
+ }
6636
+
6637
+
6638
+ @keyframes lightbox-fade-in {
6639
+ from {
6640
+ opacity: 0;
6641
+ }
6642
+ to {
6643
+ opacity: 1;
6644
+ }
6645
+ }
6646
+
6647
+
6648
+ /* Main image - clean, no borders */
6649
+
6650
+
6651
+ .attachment-lightbox-image {
6652
+ max-width: 92vw;
6653
+ max-height: 92vh;
6654
+ -o-object-fit: contain;
6655
+ object-fit: contain;
6656
+ cursor: default;
6657
+ animation: lightbox-image-enter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
6658
+ /* No border-radius, no shadows - pure image */
6659
+ }
6660
+
6661
+
6662
+ @keyframes lightbox-image-enter {
6663
+ from {
6664
+ opacity: 0;
6665
+ transform: scale(0.92);
6666
+ }
6667
+ to {
6668
+ opacity: 1;
6669
+ transform: scale(1);
6670
+ }
6671
+ }
6672
+
6673
+
6674
+ /* Subtle hint at bottom */
6675
+
6676
+
6677
+ .attachment-lightbox-hint {
6678
+ position: absolute;
6679
+ bottom: 24px;
6680
+ left: 50%;
6681
+ transform: translateX(-50%);
6682
+ font-size: 12px;
6683
+ color: rgba(255, 255, 255, 0.4);
6684
+ pointer-events: none;
6685
+ opacity: 1;
6686
+ animation: lightbox-hint-fade 0.5s ease 2s forwards;
6687
+ }
6688
+
6689
+
6690
+ @keyframes lightbox-hint-fade {
6691
+ to {
6692
+ opacity: 0;
6693
+ }
6694
+ }
6695
+
6696
+
6697
+ /* Navigation dots */
6698
+
6699
+
6700
+ .attachment-lightbox-dots {
6701
+ position: absolute;
6702
+ bottom: 48px;
6703
+ left: 50%;
6704
+ transform: translateX(-50%);
6705
+ display: flex;
6706
+ gap: 8px;
6707
+ padding: 8px 12px;
6708
+ background: rgba(0, 0, 0, 0.4);
6709
+ border-radius: 20px;
6710
+ backdrop-filter: blur(8px);
6711
+ }
6712
+
6713
+
6714
+ .attachment-lightbox-dot {
6715
+ width: 8px;
6716
+ height: 8px;
6717
+ border-radius: 50%;
6718
+ background: rgba(255, 255, 255, 0.3);
6719
+ border: none;
6720
+ padding: 0;
6721
+ cursor: pointer;
6722
+ transition: all 0.2s ease;
6723
+ }
6724
+
6725
+
6726
+ .attachment-lightbox-dot:hover {
6727
+ background: rgba(255, 255, 255, 0.6);
6728
+ transform: scale(1.2);
6729
+ }
6730
+
6731
+
6732
+ .attachment-lightbox-dot.active {
6733
+ background: white;
6734
+ transform: scale(1.1);
6735
+ }
6736
+
6737
+
6738
+ /* Invisible navigation areas on sides */
6739
+
6740
+
6741
+ .attachment-lightbox-nav-area {
6742
+ position: absolute;
6743
+ top: 0;
6744
+ bottom: 0;
6745
+ width: 120px;
6746
+ display: flex;
6747
+ align-items: center;
6748
+ justify-content: center;
6749
+ background: transparent;
6750
+ border: none;
6751
+ color: rgba(255, 255, 255, 0);
6752
+ cursor: pointer;
6753
+ transition: all 0.2s ease;
6754
+ }
6755
+
6756
+
6757
+ .attachment-lightbox-nav-area svg {
6758
+ opacity: 0;
6759
+ transition: opacity 0.2s ease;
6760
+ }
6761
+
6762
+
6763
+ .attachment-lightbox-nav-area:hover {
6764
+ background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent);
6765
+ }
6766
+
6767
+
6768
+ .attachment-lightbox-nav-area:hover svg {
6769
+ opacity: 0.8;
6770
+ }
6771
+
6772
+
6773
+ .attachment-lightbox-nav-prev {
6774
+ left: 0;
6775
+ padding-left: 20px;
6776
+ }
6777
+
6778
+
6779
+ .attachment-lightbox-nav-next {
6780
+ right: 0;
6781
+ padding-right: 20px;
6782
+ }
6783
+
6784
+
6785
+ .attachment-lightbox-nav-next:hover {
6786
+ background: linear-gradient(-90deg, rgba(0, 0, 0, 0.3), transparent);
6787
+ }
6788
+
6789
+
6574
6790
  /* Responsive */
6575
6791
 
6576
6792
 
@@ -6614,6 +6830,87 @@
6614
6830
  .attachment-meta {
6615
6831
  font-size: 11px;
6616
6832
  }
6833
+
6834
+ /* Lightbox responsive */
6835
+ .attachment-lightbox-image {
6836
+ max-width: 96vw;
6837
+ max-height: 85vh;
6838
+ }
6839
+
6840
+ .attachment-lightbox-hint {
6841
+ bottom: 16px;
6842
+ font-size: 11px;
6843
+ }
6844
+
6845
+ .attachment-lightbox-dots {
6846
+ bottom: 36px;
6847
+ padding: 6px 10px;
6848
+ gap: 6px;
6849
+ }
6850
+
6851
+ .attachment-lightbox-dot {
6852
+ width: 6px;
6853
+ height: 6px;
6854
+ }
6855
+
6856
+ .attachment-lightbox-nav-area {
6857
+ width: 60px;
6858
+ }
6859
+
6860
+ .attachment-lightbox-nav-area svg {
6861
+ width: 20px;
6862
+ height: 20px;
6863
+ }
6864
+ }
6865
+
6866
+
6867
+ /* ========================================
6868
+ Light Theme Overrides - v0.17.176
6869
+ ======================================== */
6870
+
6871
+
6872
+ [data-theme="light"] .attachment-dropzone {
6873
+ border-color: rgba(71, 85, 105, 0.4);
6874
+ background: linear-gradient(
6875
+ 135deg,
6876
+ rgba(71, 85, 105, 0.06) 0%,
6877
+ rgba(71, 85, 105, 0.02) 100%
6878
+ );
6879
+ }
6880
+
6881
+
6882
+ [data-theme="light"] .attachment-dropzone:hover {
6883
+ border-color: rgba(59, 130, 246, 0.6);
6884
+ background: linear-gradient(
6885
+ 135deg,
6886
+ rgba(59, 130, 246, 0.08) 0%,
6887
+ rgba(59, 130, 246, 0.03) 100%
6888
+ );
6889
+ }
6890
+
6891
+
6892
+ [data-theme="light"] .attachment-dropzone-icon {
6893
+ color: rgba(71, 85, 105, 0.8);
6894
+ }
6895
+
6896
+
6897
+ [data-theme="light"] .attachment-dropzone:hover .attachment-dropzone-icon {
6898
+ color: rgba(59, 130, 246, 0.9);
6899
+ }
6900
+
6901
+
6902
+ [data-theme="light"] .attachment-dropzone-text {
6903
+ color: rgba(30, 41, 59, 0.9);
6904
+ }
6905
+
6906
+
6907
+ [data-theme="light"] .attachment-dropzone-subtext {
6908
+ color: rgba(71, 85, 105, 0.8);
6909
+ }
6910
+
6911
+
6912
+ [data-theme="light"] .attachment-dropzone-info {
6913
+ color: rgba(100, 116, 139, 0.8);
6617
6914
  }
6618
6915
 
6619
6916
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libxai/board",
3
- "version": "0.17.175",
3
+ "version": "0.17.176",
4
4
  "type": "module",
5
5
  "description": "Professional Gantt Chart + Kanban Board + ListView + CalendarBoard for React - Part of LibXAI Suite - TypeScript - Production-Ready - Zero Config",
6
6
  "author": "LibXAI <hello@libxai.com>",