@livo-tv/sdk 1.18.0 → 1.19.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/styles.css CHANGED
@@ -58,6 +58,45 @@
58
58
  background: linear-gradient(160deg, #18181b, #09090b);
59
59
  }
60
60
 
61
+ .livo-waiting-room__fallback--pulse {
62
+ background:
63
+ radial-gradient(ellipse at 50% 40%, rgb(37 99 235 / 0.18), transparent 55%),
64
+ linear-gradient(160deg, #1c1c22, #09090b);
65
+ animation: livo-waiting-pulse 2.4s ease-in-out infinite;
66
+ }
67
+
68
+ .livo-waiting-room__loading {
69
+ position: absolute;
70
+ inset: 0;
71
+ z-index: 1;
72
+ display: grid;
73
+ place-items: center;
74
+ align-content: center;
75
+ gap: 0.75rem;
76
+ pointer-events: none;
77
+ }
78
+
79
+ .livo-waiting-room__spinner {
80
+ box-sizing: border-box;
81
+ width: 2rem;
82
+ height: 2rem;
83
+ border: 2px solid rgb(248 250 252 / 0.2);
84
+ border-top-color: rgb(248 250 252 / 0.9);
85
+ border-radius: 9999px;
86
+ animation: livo-waiting-spin 0.8s linear infinite;
87
+ }
88
+
89
+ .livo-waiting-room__loading-label {
90
+ margin: 0;
91
+ max-width: 16rem;
92
+ text-align: center;
93
+ font-size: 0.875rem;
94
+ font-weight: 500;
95
+ letter-spacing: 0.02em;
96
+ color: rgb(248 250 252 / 0.88);
97
+ text-shadow: 0 1px 2px rgb(0 0 0 / 0.45);
98
+ }
99
+
61
100
  .livo-waiting-room__overlay {
62
101
  position: absolute;
63
102
  inset: 0;
@@ -70,6 +109,38 @@
70
109
  background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent);
71
110
  }
72
111
 
112
+ .livo-waiting-room__status {
113
+ margin: 0;
114
+ font-size: 0.95rem;
115
+ font-weight: 500;
116
+ letter-spacing: 0.01em;
117
+ font-variant-numeric: tabular-nums;
118
+ text-shadow: 0 1px 2px rgb(0 0 0 / 0.45);
119
+ }
120
+
121
+ @keyframes livo-waiting-spin {
122
+ to {
123
+ transform: rotate(360deg);
124
+ }
125
+ }
126
+
127
+ @keyframes livo-waiting-pulse {
128
+ 0%,
129
+ 100% {
130
+ opacity: 1;
131
+ }
132
+ 50% {
133
+ opacity: 0.82;
134
+ }
135
+ }
136
+
137
+ @media (prefers-reduced-motion: reduce) {
138
+ .livo-waiting-room__fallback--pulse,
139
+ .livo-waiting-room__spinner {
140
+ animation: none;
141
+ }
142
+ }
143
+
73
144
  .livo-waiting-room__brand {
74
145
  display: flex;
75
146
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livo-tv/sdk",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "Embed the Livo player and studio in a third-party app",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",