@tempots/beatui 0.52.0 → 0.53.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/beatui.css
CHANGED
|
@@ -5721,6 +5721,82 @@ export type OverlayMode = 'capturing' | 'non-capturing' */
|
|
|
5721
5721
|
border-radius: var(--radius-lg);
|
|
5722
5722
|
}
|
|
5723
5723
|
|
|
5724
|
+
@layer components {
|
|
5725
|
+
.bc-announcement-bar {
|
|
5726
|
+
--announcement-bar-bg-color: var(--color-primary-600);
|
|
5727
|
+
--announcement-bar-text-color: #ffffff;
|
|
5728
|
+
|
|
5729
|
+
position: absolute;
|
|
5730
|
+
top: 0;
|
|
5731
|
+
left: 50%;
|
|
5732
|
+
transform: translateX(-50%);
|
|
5733
|
+
z-index: var(--z-index-sticky, 50);
|
|
5734
|
+
|
|
5735
|
+
display: flex;
|
|
5736
|
+
align-items: center;
|
|
5737
|
+
justify-content: center;
|
|
5738
|
+
|
|
5739
|
+
background-color: var(--announcement-bar-bg-color);
|
|
5740
|
+
color: var(--announcement-bar-text-color);
|
|
5741
|
+
|
|
5742
|
+
padding: var(--spacing-sm) var(--spacing-lg);
|
|
5743
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
5744
|
+
box-shadow: var(--shadow-md);
|
|
5745
|
+
|
|
5746
|
+
font-size: var(--font-size-sm);
|
|
5747
|
+
line-height: var(--line-height-normal);
|
|
5748
|
+
|
|
5749
|
+
max-width: min(90%, 800px);
|
|
5750
|
+
}
|
|
5751
|
+
|
|
5752
|
+
.bc-announcement-bar__content {
|
|
5753
|
+
display: flex;
|
|
5754
|
+
align-items: center;
|
|
5755
|
+
gap: var(--spacing-sm);
|
|
5756
|
+
}
|
|
5757
|
+
|
|
5758
|
+
.bc-announcement-bar__icon {
|
|
5759
|
+
display: flex;
|
|
5760
|
+
align-items: center;
|
|
5761
|
+
line-height: 0;
|
|
5762
|
+
}
|
|
5763
|
+
|
|
5764
|
+
.bc-announcement-bar__text {
|
|
5765
|
+
flex: 1;
|
|
5766
|
+
text-align: center;
|
|
5767
|
+
}
|
|
5768
|
+
|
|
5769
|
+
.bc-announcement-bar__close {
|
|
5770
|
+
display: flex;
|
|
5771
|
+
align-items: center;
|
|
5772
|
+
margin-left: var(--spacing-sm);
|
|
5773
|
+
}
|
|
5774
|
+
|
|
5775
|
+
/* Ensure close button is visible on colored background */
|
|
5776
|
+
.bc-announcement-bar--dismissible .bc-announcement-bar__close button {
|
|
5777
|
+
color: var(--announcement-bar-text-color);
|
|
5778
|
+
opacity: 0.9;
|
|
5779
|
+
}
|
|
5780
|
+
|
|
5781
|
+
.bc-announcement-bar--dismissible .bc-announcement-bar__close button:hover {
|
|
5782
|
+
opacity: 1;
|
|
5783
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
5784
|
+
}
|
|
5785
|
+
|
|
5786
|
+
/* Responsive adjustments */
|
|
5787
|
+
@media (max-width: 640px) {
|
|
5788
|
+
.bc-announcement-bar {
|
|
5789
|
+
max-width: 95%;
|
|
5790
|
+
padding: var(--spacing-xs) var(--spacing-md);
|
|
5791
|
+
font-size: var(--font-size-xs);
|
|
5792
|
+
}
|
|
5793
|
+
|
|
5794
|
+
.bc-announcement-bar__content {
|
|
5795
|
+
gap: var(--spacing-xs);
|
|
5796
|
+
}
|
|
5797
|
+
}
|
|
5798
|
+
}
|
|
5799
|
+
|
|
5724
5800
|
.bc-panel {
|
|
5725
5801
|
--panel-bg: var(--bg-surface-light);
|
|
5726
5802
|
--panel-bg-dark: var(--bg-surface-dark);
|
package/dist/beatui.tailwind.css
CHANGED
|
@@ -5396,6 +5396,82 @@ export type OverlayMode = 'capturing' | 'non-capturing' */
|
|
|
5396
5396
|
border-radius: var(--radius-lg);
|
|
5397
5397
|
}
|
|
5398
5398
|
|
|
5399
|
+
@layer components {
|
|
5400
|
+
.bc-announcement-bar {
|
|
5401
|
+
--announcement-bar-bg-color: var(--color-primary-600);
|
|
5402
|
+
--announcement-bar-text-color: #ffffff;
|
|
5403
|
+
|
|
5404
|
+
position: absolute;
|
|
5405
|
+
top: 0;
|
|
5406
|
+
left: 50%;
|
|
5407
|
+
transform: translateX(-50%);
|
|
5408
|
+
z-index: var(--z-index-sticky, 50);
|
|
5409
|
+
|
|
5410
|
+
display: flex;
|
|
5411
|
+
align-items: center;
|
|
5412
|
+
justify-content: center;
|
|
5413
|
+
|
|
5414
|
+
background-color: var(--announcement-bar-bg-color);
|
|
5415
|
+
color: var(--announcement-bar-text-color);
|
|
5416
|
+
|
|
5417
|
+
padding: var(--spacing-sm) var(--spacing-lg);
|
|
5418
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
5419
|
+
box-shadow: var(--shadow-md);
|
|
5420
|
+
|
|
5421
|
+
font-size: var(--font-size-sm);
|
|
5422
|
+
line-height: var(--line-height-normal);
|
|
5423
|
+
|
|
5424
|
+
max-width: min(90%, 800px);
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5427
|
+
.bc-announcement-bar__content {
|
|
5428
|
+
display: flex;
|
|
5429
|
+
align-items: center;
|
|
5430
|
+
gap: var(--spacing-sm);
|
|
5431
|
+
}
|
|
5432
|
+
|
|
5433
|
+
.bc-announcement-bar__icon {
|
|
5434
|
+
display: flex;
|
|
5435
|
+
align-items: center;
|
|
5436
|
+
line-height: 0;
|
|
5437
|
+
}
|
|
5438
|
+
|
|
5439
|
+
.bc-announcement-bar__text {
|
|
5440
|
+
flex: 1;
|
|
5441
|
+
text-align: center;
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5444
|
+
.bc-announcement-bar__close {
|
|
5445
|
+
display: flex;
|
|
5446
|
+
align-items: center;
|
|
5447
|
+
margin-left: var(--spacing-sm);
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5450
|
+
/* Ensure close button is visible on colored background */
|
|
5451
|
+
.bc-announcement-bar--dismissible .bc-announcement-bar__close button {
|
|
5452
|
+
color: var(--announcement-bar-text-color);
|
|
5453
|
+
opacity: 0.9;
|
|
5454
|
+
}
|
|
5455
|
+
|
|
5456
|
+
.bc-announcement-bar--dismissible .bc-announcement-bar__close button:hover {
|
|
5457
|
+
opacity: 1;
|
|
5458
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
5459
|
+
}
|
|
5460
|
+
|
|
5461
|
+
/* Responsive adjustments */
|
|
5462
|
+
@media (max-width: 640px) {
|
|
5463
|
+
.bc-announcement-bar {
|
|
5464
|
+
max-width: 95%;
|
|
5465
|
+
padding: var(--spacing-xs) var(--spacing-md);
|
|
5466
|
+
font-size: var(--font-size-xs);
|
|
5467
|
+
}
|
|
5468
|
+
|
|
5469
|
+
.bc-announcement-bar__content {
|
|
5470
|
+
gap: var(--spacing-xs);
|
|
5471
|
+
}
|
|
5472
|
+
}
|
|
5473
|
+
}
|
|
5474
|
+
|
|
5399
5475
|
.bc-panel {
|
|
5400
5476
|
--panel-bg: var(--bg-surface-light);
|
|
5401
5477
|
--panel-bg-dark: var(--bg-surface-dark);
|