@tempots/beatui 0.33.0 → 0.35.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.
Files changed (43) hide show
  1. package/dist/{2019-Bl8v8fjU.cjs → 2019-DJeW9RI7.cjs} +1 -1
  2. package/dist/{2019-CKKsQZIa.js → 2019-Dmseo7Cq.js} +2 -2
  3. package/dist/{2020-BsHmbyBy.cjs → 2020-BySxLQc5.cjs} +1 -1
  4. package/dist/{2020-BqcGkd5L.js → 2020-I1mnGGtD.js} +2 -2
  5. package/dist/auth/index.cjs.js +1 -1
  6. package/dist/auth/index.es.js +1 -1
  7. package/dist/beatui.css +127 -16
  8. package/dist/beatui.tailwind.css +127 -16
  9. package/dist/hls-B7ZdiUxL.js +21734 -0
  10. package/dist/hls-C6lKM-CG.cjs +40 -0
  11. package/dist/{index-BXjEbt8G.js → index-C2rz3G1d.js} +1886 -1874
  12. package/dist/{index-BTbThGQK.cjs → index-CBc0q0zl.cjs} +2 -2
  13. package/dist/{index-BBIdmCak.cjs → index-CCu0qfNP.cjs} +1 -1
  14. package/dist/{index-HIb25Ti2.cjs → index-CZQHL_pf.cjs} +21 -21
  15. package/dist/{index-xdCnysNz.js → index-C_nSdynJ.js} +1 -1
  16. package/dist/{index-CvOeci8Y.cjs → index-Ct2_ulan.cjs} +1 -1
  17. package/dist/{index-DKPyYQwK.js → index-D-CBfcZj.js} +3 -3
  18. package/dist/{index-CiVTODdZ.js → index-DbQzJti7.js} +1 -1
  19. package/dist/index.cjs.js +4 -4
  20. package/dist/index.es.js +2239 -1778
  21. package/dist/json-schema/index.cjs.js +1 -1
  22. package/dist/json-schema/index.es.js +1 -1
  23. package/dist/{modal-C3d-SRPh.cjs → modal-AFhB4rIq.cjs} +1 -1
  24. package/dist/{modal-BnY6iGcL.js → modal-Dm61yY5i.js} +1 -1
  25. package/dist/monaco/index.cjs.js +1 -1
  26. package/dist/monaco/index.es.js +1 -1
  27. package/dist/prosemirror/index.cjs.js +1 -1
  28. package/dist/prosemirror/index.es.js +1 -1
  29. package/dist/timer-DK_yKNwE.cjs +1 -0
  30. package/dist/timer-DzWb416P.js +51 -0
  31. package/dist/types/components/content/native-pdf-preview.d.ts +12 -2
  32. package/dist/types/components/media/base-video-player.d.ts +77 -0
  33. package/dist/types/components/media/index.d.ts +1 -0
  34. package/dist/types/components/overlay/index.d.ts +1 -0
  35. package/dist/types/components/overlay/lightbox.d.ts +22 -0
  36. package/dist/types/components/overlay/ribbon.d.ts +5 -2
  37. package/dist/types/components/prosemirror/prosemirror-markdown-input.d.ts +2 -1
  38. package/dist/types/index.d.ts +1 -0
  39. package/dist/{utils-BoajYXEP.cjs → utils-BetBqtiV.cjs} +1 -1
  40. package/dist/{utils-Dl44PfbT.js → utils-g5YCiiS6.js} +1 -1
  41. package/package.json +3 -1
  42. package/dist/timer-BdH4cK6a.cjs +0 -1
  43. package/dist/timer-CQlK5LhW.js +0 -47
@@ -4732,6 +4732,45 @@ export type OverlayMode = 'capturing' | 'non-capturing' */
4732
4732
  backdrop-filter: blur(4px);
4733
4733
  }
4734
4734
 
4735
+ /* Lightbox component */
4736
+
4737
+ .bc-lightbox {
4738
+ position: absolute;
4739
+ inset: 0;
4740
+ display: block;
4741
+ }
4742
+
4743
+ .bc-lightbox__close {
4744
+ position: absolute;
4745
+ top: var(--spacing-2, 16px);
4746
+ right: var(--spacing-2, 16px);
4747
+ z-index: calc(var(--z-index-overlay, 1000) + 1);
4748
+ border-radius: 100%;
4749
+ padding: var(--spacing-base, 4px);
4750
+ background-color: color-mix(in srgb, var(--color-gray-100) 80%, transparent);
4751
+ color: var(--color-gray-900);
4752
+ }
4753
+
4754
+ .bc-lightbox__viewport {
4755
+ position: absolute;
4756
+ inset: 0;
4757
+ display: flex;
4758
+ align-items: center;
4759
+ justify-content: center;
4760
+ /* The padding here is set inline by the component to sync with measurement */
4761
+ box-sizing: border-box;
4762
+ }
4763
+
4764
+ .bc-lightbox__content {
4765
+ /* Capped to viewport; no transform scaling */
4766
+ max-width: 100%;
4767
+ max-height: 100%;
4768
+ overflow: hidden;
4769
+ display: block;
4770
+ box-shadow: var(--shadow-overlay, var(--shadow-xl));
4771
+ border-radius: var(--radius-lg);
4772
+ }
4773
+
4735
4774
  .bc-panel {
4736
4775
  --panel-bg: var(--bg-surface-light);
4737
4776
  --panel-bg-dark: var(--bg-surface-dark);
@@ -6442,9 +6481,14 @@ span.bc-sidebar-link {
6442
6481
  color: var(--tabs-filled-inactive-text);
6443
6482
  border-radius: 0;
6444
6483
  }
6445
- .bc-tabs--variant-filled .bc-tab:hover:not(.bc-tab--disabled):not(.bc-tab--active),
6446
- .bc-tabs--variant-filled .bc-tab:focus-visible:not(.bc-tab--disabled):not(.bc-tab--active) {
6447
- background-color: var(--tabs-filled-inactive-bg-hover, var(--tabs-filled-inactive-bg));
6484
+ .bc-tabs--variant-filled
6485
+ .bc-tab:hover:not(.bc-tab--disabled):not(.bc-tab--active),
6486
+ .bc-tabs--variant-filled
6487
+ .bc-tab:focus-visible:not(.bc-tab--disabled):not(.bc-tab--active) {
6488
+ background-color: var(
6489
+ --tabs-filled-inactive-bg-hover,
6490
+ var(--tabs-filled-inactive-bg)
6491
+ );
6448
6492
  color: var(--tabs-filled-inactive-text, var(--color-white));
6449
6493
  }
6450
6494
  .bc-tabs--variant-filled .bc-tab--active {
@@ -6477,7 +6521,8 @@ span.bc-sidebar-link {
6477
6521
  background-color: var(--color-base-50);
6478
6522
  border: 1px solid var(--color-base-300);
6479
6523
  border-bottom: 1px solid var(--color-base-300);
6480
- border-radius: var(--radius-control-sm, var(--radius-sm)) var(--radius-control-sm, var(--radius-sm)) 0 0;
6524
+ border-radius: var(--radius-control-sm, var(--radius-sm))
6525
+ var(--radius-control-sm, var(--radius-sm)) 0 0;
6481
6526
  }
6482
6527
  .bc-tabs--variant-outline .bc-tab--active {
6483
6528
  background-color: var(--color-white);
@@ -6508,13 +6553,18 @@ span.bc-sidebar-link {
6508
6553
  background-color: var(--tabs-filled-active-bg-dark, var(--color-white));
6509
6554
  color: var(--tabs-filled-active-text-dark);
6510
6555
  }
6511
- .b-dark .bc-tabs--variant-filled .bc-tab:hover:not(.bc-tab--disabled):not(.bc-tab--active),
6512
- .b-dark .bc-tabs--variant-filled .bc-tab:focus-visible:not(.bc-tab--disabled):not(.bc-tab--active) {
6513
- background-color: var(--tabs-filled-inactive-bg-dark-hover, var(--tabs-filled-inactive-bg-dark));
6556
+ .b-dark
6557
+ .bc-tabs--variant-filled
6558
+ .bc-tab:hover:not(.bc-tab--disabled):not(.bc-tab--active),
6559
+ .b-dark
6560
+ .bc-tabs--variant-filled
6561
+ .bc-tab:focus-visible:not(.bc-tab--disabled):not(.bc-tab--active) {
6562
+ background-color: var(
6563
+ --tabs-filled-inactive-bg-dark-hover,
6564
+ var(--tabs-filled-inactive-bg-dark)
6565
+ );
6514
6566
  }
6515
6567
 
6516
-
6517
-
6518
6568
  .b-dark .bc-tabs--variant-outline .bc-tab {
6519
6569
  background-color: var(--color-base-800);
6520
6570
  border-color: var(--color-base-600);
@@ -6525,7 +6575,6 @@ span.bc-sidebar-link {
6525
6575
  border-bottom-color: var(--color-base-900);
6526
6576
  }
6527
6577
 
6528
-
6529
6578
  .bc-tooltip {
6530
6579
  background-color: var(--color-neutral-900);
6531
6580
  color: var(--color-neutral-50);
@@ -6866,8 +6915,42 @@ span.bc-sidebar-link {
6866
6915
  flex-shrink: 0;
6867
6916
  }
6868
6917
 
6918
+ /* Minimal optional controls for VideoPlayer wrapper */
6919
+
6920
+ .bc-video-player {
6921
+ position: relative;
6922
+ display: block;
6923
+ }
6924
+
6925
+ .bc-video-player__controls {
6926
+ position: absolute;
6927
+ left: 0;
6928
+ right: 0;
6929
+ bottom: 0;
6930
+ display: flex;
6931
+ align-items: center;
6932
+ gap: var(--spacing-2, 8px);
6933
+ padding: var(--spacing-2, 8px);
6934
+ background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
6935
+ }
6936
+
6937
+ .bc-video-player__button {
6938
+ appearance: none;
6939
+ background: rgba(255, 255, 255, 0.85);
6940
+ color: #111;
6941
+ border: none;
6942
+ border-radius: var(--radius-sm, 4px);
6943
+ padding: 2px 6px;
6944
+ cursor: pointer;
6945
+ }
6869
6946
 
6870
- /* Ribbon component - diagonal label on the top-right corner */
6947
+ .bc-video-player__timeline,
6948
+ .bc-video-player__volume {
6949
+ flex: 1 1 auto;
6950
+ }
6951
+
6952
+
6953
+ /* Ribbon component - diagonal label at specified corner */
6871
6954
 
6872
6955
  .bc-ribbon {
6873
6956
  position: absolute;
@@ -6877,13 +6960,9 @@ span.bc-sidebar-link {
6877
6960
  height: 0;
6878
6961
  }
6879
6962
 
6880
- /* The diagonal band */
6963
+ /* The diagonal band - base styles */
6881
6964
  .bc-ribbon {
6882
6965
  position: absolute;
6883
- top: 0;
6884
- left: 100%;
6885
- /* Keep the band centerline on the corner regardless of width */
6886
- transform: translate(-50%, -50%) rotate(var(--ribbon-angle, 45deg)) translate(var(--ribbon-inset, 0px), var(--ribbon-offset, 0px));
6887
6966
  display: flex;
6888
6967
  justify-content: center;
6889
6968
  background: var(--ribbon-bg);
@@ -6899,6 +6978,38 @@ span.bc-sidebar-link {
6899
6978
  height: max-content;
6900
6979
  }
6901
6980
 
6981
+ /* Top-right corner (default) */
6982
+ .bc-ribbon {
6983
+ top: 0;
6984
+ left: 100%;
6985
+ transform: translate(-50%, -50%) rotate(var(--ribbon-angle, 45deg))
6986
+ translate(var(--ribbon-inset, 0px), var(--ribbon-offset, 0px));
6987
+ }
6988
+
6989
+ /* Top-left corner */
6990
+ .bc-ribbon[style*="--ribbon-corner: top-left"] {
6991
+ top: 0;
6992
+ left: 0;
6993
+ transform: translate(-50%, -50%) rotate(calc(var(--ribbon-angle, 45deg) * -1))
6994
+ translate(calc(var(--ribbon-inset, 0px) * -1), var(--ribbon-offset, 0px));
6995
+ }
6996
+
6997
+ /* Bottom-right corner */
6998
+ .bc-ribbon[style*="--ribbon-corner: bottom-right"] {
6999
+ top: 100%;
7000
+ left: 100%;
7001
+ transform: translate(-50%, -50%) rotate(calc(var(--ribbon-angle, 45deg) * -1))
7002
+ translate(var(--ribbon-inset, 0px), calc(var(--ribbon-offset, 0px) * -1));
7003
+ }
7004
+
7005
+ /* Bottom-left corner */
7006
+ .bc-ribbon[style*="--ribbon-corner: bottom-left"] {
7007
+ top: 100%;
7008
+ left: 0;
7009
+ transform: translate(-50%, -50%) rotate(var(--ribbon-angle, 45deg))
7010
+ translate(calc(var(--ribbon-inset, 0px) * -1), calc(var(--ribbon-offset, 0px) * -1));
7011
+ }
7012
+
6902
7013
  /* Dark mode overrides */
6903
7014
  .b-dark .bc-ribbon {
6904
7015
  background: var(--ribbon-bg-dark);