@libxai/board 0.17.175 → 0.17.177

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 +298 -1
  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 - Original dark theme styles */
6254
6254
 
6255
6255
 
6256
6256
  .attachment-dropzone {
@@ -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.177",
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>",