@almadar/ui 1.0.30 → 1.0.32

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 (91) hide show
  1. package/dist/KaTeX_AMS-Regular-CYEKBG2K.woff +0 -0
  2. package/dist/KaTeX_AMS-Regular-JKX5W2C4.ttf +0 -0
  3. package/dist/KaTeX_AMS-Regular-U6PRYMIZ.woff2 +0 -0
  4. package/dist/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2 +0 -0
  5. package/dist/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff +0 -0
  6. package/dist/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf +0 -0
  7. package/dist/KaTeX_Caligraphic-Regular-3LKEU76G.woff +0 -0
  8. package/dist/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf +0 -0
  9. package/dist/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2 +0 -0
  10. package/dist/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2 +0 -0
  11. package/dist/KaTeX_Fraktur-Bold-T4SWXBMT.woff +0 -0
  12. package/dist/KaTeX_Fraktur-Bold-WGHVTYOR.ttf +0 -0
  13. package/dist/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2 +0 -0
  14. package/dist/KaTeX_Fraktur-Regular-5U4OPH2X.ttf +0 -0
  15. package/dist/KaTeX_Fraktur-Regular-PQMHCIK6.woff +0 -0
  16. package/dist/KaTeX_Main-Bold-2GA4IZIN.woff +0 -0
  17. package/dist/KaTeX_Main-Bold-W5FBVCZM.ttf +0 -0
  18. package/dist/KaTeX_Main-Bold-YP5VVQRP.woff2 +0 -0
  19. package/dist/KaTeX_Main-BoldItalic-4P4C7HJH.woff +0 -0
  20. package/dist/KaTeX_Main-BoldItalic-N4V3DX7S.woff2 +0 -0
  21. package/dist/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf +0 -0
  22. package/dist/KaTeX_Main-Italic-I43T2HSR.ttf +0 -0
  23. package/dist/KaTeX_Main-Italic-RELBIK7M.woff2 +0 -0
  24. package/dist/KaTeX_Main-Italic-SASNQFN2.woff +0 -0
  25. package/dist/KaTeX_Main-Regular-ARRPAO67.woff2 +0 -0
  26. package/dist/KaTeX_Main-Regular-P5I74A2A.woff +0 -0
  27. package/dist/KaTeX_Main-Regular-W74P5G27.ttf +0 -0
  28. package/dist/KaTeX_Math-BoldItalic-6EBV3DK5.woff +0 -0
  29. package/dist/KaTeX_Math-BoldItalic-K4WTGH3J.woff2 +0 -0
  30. package/dist/KaTeX_Math-BoldItalic-VB447A4D.ttf +0 -0
  31. package/dist/KaTeX_Math-Italic-6KGCHLFN.woff2 +0 -0
  32. package/dist/KaTeX_Math-Italic-KKK3USB2.woff +0 -0
  33. package/dist/KaTeX_Math-Italic-SON4MRCA.ttf +0 -0
  34. package/dist/KaTeX_SansSerif-Bold-RRNVJFFW.woff2 +0 -0
  35. package/dist/KaTeX_SansSerif-Bold-STQ6RXC7.ttf +0 -0
  36. package/dist/KaTeX_SansSerif-Bold-X5M5EMOD.woff +0 -0
  37. package/dist/KaTeX_SansSerif-Italic-HMPFTM52.woff2 +0 -0
  38. package/dist/KaTeX_SansSerif-Italic-PSN4QKYX.woff +0 -0
  39. package/dist/KaTeX_SansSerif-Italic-WTBAZBGY.ttf +0 -0
  40. package/dist/KaTeX_SansSerif-Regular-2TL3USAE.ttf +0 -0
  41. package/dist/KaTeX_SansSerif-Regular-OQCII6EP.woff +0 -0
  42. package/dist/KaTeX_SansSerif-Regular-XIQ62X4E.woff2 +0 -0
  43. package/dist/KaTeX_Script-Regular-72OLXYNA.ttf +0 -0
  44. package/dist/KaTeX_Script-Regular-A5IFOEBS.woff +0 -0
  45. package/dist/KaTeX_Script-Regular-APUWIHLP.woff2 +0 -0
  46. package/dist/KaTeX_Size1-Regular-4HRHTS65.woff +0 -0
  47. package/dist/KaTeX_Size1-Regular-5LRUTBFT.woff2 +0 -0
  48. package/dist/KaTeX_Size1-Regular-7K6AASVL.ttf +0 -0
  49. package/dist/KaTeX_Size2-Regular-222HN3GT.ttf +0 -0
  50. package/dist/KaTeX_Size2-Regular-K5ZHAIS6.woff +0 -0
  51. package/dist/KaTeX_Size2-Regular-LELKET5D.woff2 +0 -0
  52. package/dist/KaTeX_Size3-Regular-TLFPAHDE.woff +0 -0
  53. package/dist/KaTeX_Size3-Regular-UFCO6WCA.ttf +0 -0
  54. package/dist/KaTeX_Size3-Regular-WQRQ47UD.woff2 +0 -0
  55. package/dist/KaTeX_Size4-Regular-7PGNVPQK.ttf +0 -0
  56. package/dist/KaTeX_Size4-Regular-CDMV7U5C.woff2 +0 -0
  57. package/dist/KaTeX_Size4-Regular-PKMWZHNC.woff +0 -0
  58. package/dist/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf +0 -0
  59. package/dist/KaTeX_Typewriter-Regular-MJMFSK64.woff +0 -0
  60. package/dist/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2 +0 -0
  61. package/dist/{ThemeContext-lI5bo85E.d.ts → ThemeContext-D9xUORq5.d.ts} +2 -0
  62. package/dist/chunk-45CTDYBT.js +174 -0
  63. package/dist/{chunk-4UFNDD6B.js → chunk-BTXQJGFB.js} +41 -8
  64. package/dist/chunk-N6DJVKZ6.js +747 -0
  65. package/dist/chunk-PE2H3NAW.js +383 -0
  66. package/dist/{chunk-7IYF4RUG.js → chunk-RFD6G3ZR.js} +23 -68
  67. package/dist/chunk-UCXZS2YJ.js +9501 -0
  68. package/dist/chunk-YXZM3WCF.js +222 -0
  69. package/dist/cn-BoBXsxuX.d.ts +194 -0
  70. package/dist/components/index.css +1154 -0
  71. package/dist/components/index.d.ts +1082 -673
  72. package/dist/components/index.js +8935 -16486
  73. package/dist/components/organisms/game/three/index.css +315 -0
  74. package/dist/components/organisms/game/three/index.d.ts +1162 -0
  75. package/dist/components/organisms/game/three/index.js +2378 -0
  76. package/dist/context/index.d.ts +4 -4
  77. package/dist/context/index.js +2 -3
  78. package/dist/{event-bus-types-8-cjyMxw.d.ts → event-bus-types-CjJduURa.d.ts} +8 -0
  79. package/dist/hooks/index.d.ts +120 -106
  80. package/dist/hooks/index.js +4 -3
  81. package/dist/isometric-ynNHVPZx.d.ts +111 -0
  82. package/dist/lib/index.d.ts +117 -153
  83. package/dist/lib/index.js +4 -683
  84. package/dist/providers/index.css +1154 -0
  85. package/dist/providers/index.d.ts +84 -4
  86. package/dist/providers/index.js +165 -8
  87. package/dist/{useUISlots-mnggE9X9.d.ts → useUISlots-D0mttBSP.d.ts} +0 -20
  88. package/package.json +32 -11
  89. package/dist/chunk-HY5EFCOK.js +0 -419
  90. package/dist/chunk-W5YTXLXL.js +0 -29
  91. package/dist/cn-mqkxz8Sd.d.ts +0 -9
@@ -0,0 +1,315 @@
1
+ /* components/organisms/game/three/components/Canvas3DLoadingState.css */
2
+ .canvas-3d-loading {
3
+ position: absolute;
4
+ inset: 0;
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ background:
9
+ linear-gradient(
10
+ 135deg,
11
+ #1a1a2e 0%,
12
+ #16213e 50%,
13
+ #0f3460 100%);
14
+ overflow: hidden;
15
+ z-index: 100;
16
+ }
17
+ .canvas-3d-loading__content {
18
+ position: relative;
19
+ z-index: 2;
20
+ display: flex;
21
+ flex-direction: column;
22
+ align-items: center;
23
+ gap: 20px;
24
+ padding: 40px;
25
+ background: rgba(255, 255, 255, 0.05);
26
+ backdrop-filter: blur(10px);
27
+ border-radius: 16px;
28
+ border: 1px solid rgba(255, 255, 255, 0.1);
29
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
30
+ }
31
+ .canvas-3d-loading__spinner {
32
+ position: relative;
33
+ width: 80px;
34
+ height: 80px;
35
+ }
36
+ .spinner__ring {
37
+ position: absolute;
38
+ inset: 0;
39
+ border: 4px solid transparent;
40
+ border-top-color: #4488ff;
41
+ border-radius: 50%;
42
+ animation: spin 1s linear infinite;
43
+ }
44
+ .spinner__ring--secondary {
45
+ inset: 10px;
46
+ border-top-color: #ff6b6b;
47
+ animation-duration: 1.5s;
48
+ animation-direction: reverse;
49
+ }
50
+ @keyframes spin {
51
+ from {
52
+ transform: rotate(0deg);
53
+ }
54
+ to {
55
+ transform: rotate(360deg);
56
+ }
57
+ }
58
+ .canvas-3d-loading__message {
59
+ font-size: 20px;
60
+ font-weight: 600;
61
+ color: #ffffff;
62
+ text-align: center;
63
+ letter-spacing: 0.5px;
64
+ }
65
+ .canvas-3d-loading__details {
66
+ font-size: 14px;
67
+ color: rgba(255, 255, 255, 0.6);
68
+ text-align: center;
69
+ font-family: monospace;
70
+ max-width: 300px;
71
+ overflow: hidden;
72
+ text-overflow: ellipsis;
73
+ white-space: nowrap;
74
+ }
75
+ .canvas-3d-loading__progress {
76
+ width: 100%;
77
+ max-width: 280px;
78
+ display: flex;
79
+ flex-direction: column;
80
+ gap: 8px;
81
+ }
82
+ .progress__bar {
83
+ height: 6px;
84
+ background: rgba(255, 255, 255, 0.1);
85
+ border-radius: 3px;
86
+ overflow: hidden;
87
+ }
88
+ .progress__fill {
89
+ height: 100%;
90
+ background:
91
+ linear-gradient(
92
+ 90deg,
93
+ #4488ff,
94
+ #ff6b6b);
95
+ border-radius: 3px;
96
+ transition: width 0.3s ease;
97
+ }
98
+ .progress__text {
99
+ display: flex;
100
+ justify-content: space-between;
101
+ font-size: 12px;
102
+ color: rgba(255, 255, 255, 0.7);
103
+ }
104
+ .progress__percentage {
105
+ font-weight: 600;
106
+ color: #4488ff;
107
+ }
108
+ .progress__count {
109
+ font-family: monospace;
110
+ }
111
+ .canvas-3d-loading__background {
112
+ position: absolute;
113
+ inset: 0;
114
+ z-index: 1;
115
+ opacity: 0.3;
116
+ }
117
+ .bg__grid {
118
+ position: absolute;
119
+ inset: -50%;
120
+ background-image:
121
+ linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
122
+ linear-gradient(
123
+ 90deg,
124
+ rgba(255, 255, 255, 0.03) 1px,
125
+ transparent 1px);
126
+ background-size: 50px 50px;
127
+ animation: gridMove 20s linear infinite;
128
+ }
129
+ @keyframes gridMove {
130
+ 0% {
131
+ transform: perspective(500px) rotateX(60deg) translateY(0);
132
+ }
133
+ 100% {
134
+ transform: perspective(500px) rotateX(60deg) translateY(50px);
135
+ }
136
+ }
137
+ @media (max-width: 480px) {
138
+ .canvas-3d-loading__content {
139
+ padding: 30px 20px;
140
+ margin: 20px;
141
+ }
142
+ .canvas-3d-loading__spinner {
143
+ width: 60px;
144
+ height: 60px;
145
+ }
146
+ .canvas-3d-loading__message {
147
+ font-size: 16px;
148
+ }
149
+ .canvas-3d-loading__details {
150
+ font-size: 12px;
151
+ }
152
+ }
153
+
154
+ /* components/organisms/game/three/components/Canvas3DErrorBoundary.css */
155
+ .canvas-3d-error {
156
+ position: absolute;
157
+ inset: 0;
158
+ display: flex;
159
+ align-items: center;
160
+ justify-content: center;
161
+ background:
162
+ linear-gradient(
163
+ 135deg,
164
+ #2e1a1a 0%,
165
+ #3e1616 50%,
166
+ #4a1a1a 100%);
167
+ padding: 20px;
168
+ z-index: 100;
169
+ }
170
+ .canvas-3d-error__content {
171
+ max-width: 600px;
172
+ width: 100%;
173
+ padding: 40px;
174
+ background: rgba(0, 0, 0, 0.4);
175
+ backdrop-filter: blur(10px);
176
+ border-radius: 16px;
177
+ border: 1px solid rgba(255, 100, 100, 0.2);
178
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
179
+ text-align: center;
180
+ }
181
+ .canvas-3d-error__icon {
182
+ font-size: 64px;
183
+ margin-bottom: 20px;
184
+ animation: shake 0.5s ease-in-out;
185
+ }
186
+ @keyframes shake {
187
+ 0%, 100% {
188
+ transform: translateX(0);
189
+ }
190
+ 25% {
191
+ transform: translateX(-10px);
192
+ }
193
+ 75% {
194
+ transform: translateX(10px);
195
+ }
196
+ }
197
+ .canvas-3d-error__title {
198
+ font-size: 28px;
199
+ font-weight: 700;
200
+ color: #ff6b6b;
201
+ margin: 0 0 16px;
202
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
203
+ }
204
+ .canvas-3d-error__message {
205
+ font-size: 16px;
206
+ color: rgba(255, 255, 255, 0.8);
207
+ margin: 0 0 24px;
208
+ line-height: 1.5;
209
+ }
210
+ .canvas-3d-error__details {
211
+ margin: 24px 0;
212
+ text-align: left;
213
+ background: rgba(0, 0, 0, 0.3);
214
+ border-radius: 8px;
215
+ overflow: hidden;
216
+ }
217
+ .canvas-3d-error__details summary {
218
+ padding: 12px 16px;
219
+ cursor: pointer;
220
+ color: #ff9999;
221
+ font-weight: 600;
222
+ -webkit-user-select: none;
223
+ -moz-user-select: none;
224
+ user-select: none;
225
+ transition: background 0.2s ease;
226
+ }
227
+ .canvas-3d-error__details summary:hover {
228
+ background: rgba(255, 100, 100, 0.1);
229
+ }
230
+ .error__stack,
231
+ .error__component-stack {
232
+ padding: 16px;
233
+ margin: 0;
234
+ font-family:
235
+ "Fira Code",
236
+ "Monaco",
237
+ "Consolas",
238
+ monospace;
239
+ font-size: 12px;
240
+ line-height: 1.6;
241
+ color: #ffaaaa;
242
+ background: rgba(0, 0, 0, 0.5);
243
+ overflow-x: auto;
244
+ white-space: pre-wrap;
245
+ word-break: break-all;
246
+ }
247
+ .error__component-stack {
248
+ border-top: 1px solid rgba(255, 100, 100, 0.2);
249
+ color: #ff8888;
250
+ }
251
+ .canvas-3d-error__actions {
252
+ display: flex;
253
+ gap: 12px;
254
+ justify-content: center;
255
+ margin-top: 24px;
256
+ flex-wrap: wrap;
257
+ }
258
+ .error__button {
259
+ padding: 12px 24px;
260
+ font-size: 14px;
261
+ font-weight: 600;
262
+ border-radius: 8px;
263
+ border: none;
264
+ cursor: pointer;
265
+ transition: all 0.2s ease;
266
+ }
267
+ .error__button--primary {
268
+ background:
269
+ linear-gradient(
270
+ 135deg,
271
+ #ff6b6b,
272
+ #ff4444);
273
+ color: white;
274
+ }
275
+ .error__button--primary:hover {
276
+ background:
277
+ linear-gradient(
278
+ 135deg,
279
+ #ff8888,
280
+ #ff6666);
281
+ transform: translateY(-2px);
282
+ box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
283
+ }
284
+ .error__button--secondary {
285
+ background: rgba(255, 255, 255, 0.1);
286
+ color: rgba(255, 255, 255, 0.9);
287
+ border: 1px solid rgba(255, 255, 255, 0.2);
288
+ }
289
+ .error__button--secondary:hover {
290
+ background: rgba(255, 255, 255, 0.15);
291
+ transform: translateY(-2px);
292
+ }
293
+ .error__button:active {
294
+ transform: translateY(0);
295
+ }
296
+ @media (max-width: 480px) {
297
+ .canvas-3d-error__content {
298
+ padding: 30px 20px;
299
+ }
300
+ .canvas-3d-error__icon {
301
+ font-size: 48px;
302
+ }
303
+ .canvas-3d-error__title {
304
+ font-size: 22px;
305
+ }
306
+ .canvas-3d-error__message {
307
+ font-size: 14px;
308
+ }
309
+ .canvas-3d-error__actions {
310
+ flex-direction: column;
311
+ }
312
+ .error__button {
313
+ width: 100%;
314
+ }
315
+ }