juxscript 1.1.245 → 1.1.246

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 (36) hide show
  1. package/dist/lib/components/dataframe.d.ts +1 -0
  2. package/dist/lib/components/dataframe.d.ts.map +1 -0
  3. package/dist/lib/components/dataframe.js +1 -0
  4. package/dist/lib/components/include.d.ts +86 -0
  5. package/dist/lib/components/include.d.ts.map +1 -0
  6. package/{lib/components/include.ts → dist/lib/components/include.js} +57 -100
  7. package/dist/lib/components/tag.d.ts +27 -0
  8. package/dist/lib/components/tag.d.ts.map +1 -0
  9. package/{lib/components/tag.ts → dist/lib/components/tag.js} +14 -25
  10. package/dist/lib/index.d.ts +17 -0
  11. package/dist/lib/index.d.ts.map +1 -0
  12. package/{index.js → dist/lib/index.js} +4 -2
  13. package/dist/lib/utils/codeparser.d.ts +29 -0
  14. package/dist/lib/utils/codeparser.d.ts.map +1 -0
  15. package/{lib/utils/codeparser.ts → dist/lib/utils/codeparser.js} +64 -91
  16. package/dist/lib/utils/fetch.d.ts +176 -0
  17. package/dist/lib/utils/fetch.d.ts.map +1 -0
  18. package/{lib/utils/fetch.ts → dist/lib/utils/fetch.js} +80 -206
  19. package/dist/lib/utils/formatId.d.ts +16 -0
  20. package/dist/lib/utils/formatId.d.ts.map +1 -0
  21. package/{lib/utils/formatId.ts → dist/lib/utils/formatId.js} +7 -8
  22. package/dist/lib/utils/idgen.d.ts +2 -0
  23. package/dist/lib/utils/idgen.d.ts.map +1 -0
  24. package/{lib/utils/idgen.ts → dist/lib/utils/idgen.js} +2 -4
  25. package/package.json +2 -7
  26. package/lib/components/dataframe.ts +0 -0
  27. package/lib/styles/animations.css +0 -218
  28. package/lib/styles/foundation.css +0 -542
  29. package/lib/styles/gradients.css +0 -326
  30. package/lib/styles/link.css +0 -158
  31. package/lib/styles/modal.css +0 -402
  32. package/lib/styles/modifiers.css +0 -103
  33. package/lib/styles/nav.css +0 -322
  34. package/lib/styles/shadcn.css +0 -960
  35. package/lib/styles/stacks.css +0 -132
  36. package/lib/styles/themes.css +0 -486
@@ -1,322 +0,0 @@
1
- /* ═══════════════════════════════════════════════════════════════════
2
- * NAV COMPONENT STYLES
3
- * Modern navigation with horizontal/vertical layouts
4
- * ═══════════════════════════════════════════════════════════════════ */
5
-
6
- /* Base Nav Container */
7
- .jux-nav {
8
- display: flex;
9
- align-items: center;
10
- position: relative;
11
- }
12
-
13
- /* Nav Items Container */
14
- .jux-nav-items {
15
- display: flex;
16
- list-style: none;
17
- margin: 0;
18
- padding: 0;
19
- gap: 0;
20
- }
21
-
22
- /* Individual Nav Item Wrapper */
23
- .jux-nav-item-wrapper {
24
- position: relative;
25
- display: flex;
26
- align-items: center;
27
- }
28
-
29
- /* Nav Links */
30
- .jux-nav-link {
31
- display: inline-flex;
32
- align-items: center;
33
- padding: 8px 20px;
34
- color: #374151; /* gray-700 */
35
- font-weight: 500;
36
- font-size: 15px;
37
- text-decoration: none;
38
- transition: all 0.2s ease;
39
- border-radius: 6px;
40
- position: relative;
41
- }
42
-
43
- .jux-nav-link:hover {
44
- color: #7c3aed; /* purple-600 */
45
- background-color: rgba(124, 58, 237, 0.05);
46
- }
47
-
48
- .jux-nav-link:active {
49
- transform: scale(0.98);
50
- }
51
-
52
- /* Active/Current Link State */
53
- .jux-nav-link.active,
54
- .jux-nav-link[aria-current="page"] {
55
- color: #7c3aed;
56
- font-weight: 600;
57
- }
58
-
59
- /* Underline effect on hover */
60
- .jux-nav-link::after {
61
- content: '';
62
- position: absolute;
63
- bottom: 0;
64
- left: 50%;
65
- width: 0;
66
- height: 2px;
67
- background-color: #7c3aed;
68
- transform: translateX(-50%);
69
- transition: width 0.3s ease;
70
- }
71
-
72
- .jux-nav-link:hover::after,
73
- .jux-nav-link.active::after {
74
- width: 80%;
75
- }
76
-
77
- /* ═══════════════════════════════════════════════════════════════════
78
- * HORIZONTAL NAV (Default)
79
- * ═══════════════════════════════════════════════════════════════════ */
80
-
81
- .jux-nav-horizontal .jux-nav-items {
82
- flex-direction: row;
83
- gap: 8px;
84
- }
85
-
86
- /* ═══════════════════════════════════════════════════════════════════
87
- * VERTICAL NAV
88
- * ═══════════════════════════════════════════════════════════════════ */
89
-
90
- .jux-nav-vertical {
91
- flex-direction: column;
92
- align-items: stretch;
93
- }
94
-
95
- .jux-nav-vertical .jux-nav-items {
96
- flex-direction: column;
97
- gap: 4px;
98
- width: 100%;
99
- }
100
-
101
- .jux-nav-vertical .jux-nav-item-wrapper {
102
- width: 100%;
103
- }
104
-
105
- .jux-nav-vertical .jux-nav-link {
106
- width: 100%;
107
- justify-content: flex-start;
108
- }
109
-
110
- .jux-nav-vertical .jux-nav-link::after {
111
- display: none; /* No underline in vertical mode */
112
- }
113
-
114
- /* ═══════════════════════════════════════════════════════════════════
115
- * SIZE VARIANTS
116
- * ═══════════════════════════════════════════════════════════════════ */
117
-
118
- /* Small Nav */
119
- .jux-nav-sm .jux-nav-link {
120
- padding: 6px 14px;
121
- font-size: 13px;
122
- }
123
-
124
- /* Large Nav */
125
- .jux-nav-lg .jux-nav-link {
126
- padding: 12px 24px;
127
- font-size: 16px;
128
- }
129
-
130
- /* ═══════════════════════════════════════════════════════════════════
131
- * STYLE VARIANTS
132
- * ═══════════════════════════════════════════════════════════════════ */
133
-
134
- /* Pills Style */
135
- .jux-nav-pills .jux-nav-link {
136
- border-radius: 50px;
137
- }
138
-
139
- .jux-nav-pills .jux-nav-link:hover,
140
- .jux-nav-pills .jux-nav-link.active {
141
- background-color: #7c3aed;
142
- color: white;
143
- }
144
-
145
- .jux-nav-pills .jux-nav-link::after {
146
- display: none; /* No underline for pills */
147
- }
148
-
149
- /* Tabs Style */
150
- .jux-nav-tabs {
151
- border-bottom: 2px solid #e5e7eb;
152
- }
153
-
154
- .jux-nav-tabs .jux-nav-link {
155
- border-radius: 0;
156
- border-bottom: 2px solid transparent;
157
- margin-bottom: -2px;
158
- padding-bottom: 10px;
159
- }
160
-
161
- .jux-nav-tabs .jux-nav-link::after {
162
- display: none;
163
- }
164
-
165
- .jux-nav-tabs .jux-nav-link:hover {
166
- background-color: transparent;
167
- border-bottom-color: #d1d5db;
168
- }
169
-
170
- .jux-nav-tabs .jux-nav-link.active {
171
- border-bottom-color: #7c3aed;
172
- background-color: transparent;
173
- }
174
-
175
- /* Minimal Style (no background on hover) */
176
- .jux-nav-minimal .jux-nav-link:hover {
177
- background-color: transparent;
178
- }
179
-
180
- /* ═══════════════════════════════════════════════════════════════════
181
- * DROPDOWN SUPPORT
182
- * ═══════════════════════════════════════════════════════════════════ */
183
-
184
- .jux-nav-item-wrapper.has-dropdown {
185
- position: relative;
186
- }
187
-
188
- .jux-nav-dropdown {
189
- position: absolute;
190
- top: 100%;
191
- left: 0;
192
- min-width: 200px;
193
- margin-top: 8px;
194
- padding: 8px;
195
- background: white;
196
- border-radius: 8px;
197
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
198
- opacity: 0;
199
- visibility: hidden;
200
- transform: translateY(-10px);
201
- transition: all 0.2s ease;
202
- z-index: 1000;
203
- }
204
-
205
- .jux-nav-item-wrapper.has-dropdown:hover .jux-nav-dropdown,
206
- .jux-nav-item-wrapper.has-dropdown:focus-within .jux-nav-dropdown {
207
- opacity: 1;
208
- visibility: visible;
209
- transform: translateY(0);
210
- }
211
-
212
- .jux-nav-dropdown-item {
213
- display: block;
214
- padding: 10px 16px;
215
- color: #374151;
216
- text-decoration: none;
217
- border-radius: 6px;
218
- transition: all 0.15s ease;
219
- }
220
-
221
- .jux-nav-dropdown-item:hover {
222
- background-color: rgba(124, 58, 237, 0.08);
223
- color: #7c3aed;
224
- }
225
-
226
- /* Dropdown Arrow Indicator */
227
- .jux-nav-link.has-dropdown-arrow::after {
228
- content: '▼';
229
- margin-left: 6px;
230
- font-size: 10px;
231
- transition: transform 0.2s ease;
232
- }
233
-
234
- .jux-nav-item-wrapper.has-dropdown:hover .jux-nav-link.has-dropdown-arrow::after {
235
- transform: rotate(180deg);
236
- }
237
-
238
- /* ═══════════════════════════════════════════════════════════════════
239
- * MOBILE RESPONSIVE
240
- * ═══════════════════════════════════════════════════════════════════ */
241
-
242
- @media (max-width: 768px) {
243
- .jux-nav-horizontal.jux-nav-mobile-vertical .jux-nav-items {
244
- flex-direction: column;
245
- width: 100%;
246
- gap: 4px;
247
- }
248
-
249
- .jux-nav-horizontal.jux-nav-mobile-vertical .jux-nav-item-wrapper {
250
- width: 100%;
251
- }
252
-
253
- .jux-nav-horizontal.jux-nav-mobile-vertical .jux-nav-link {
254
- width: 100%;
255
- justify-content: flex-start;
256
- }
257
- }
258
-
259
- /* ═══════════════════════════════════════════════════════════════════
260
- * DARK MODE SUPPORT
261
- * ═══════════════════════════════════════════════════════════════════ */
262
-
263
- .dark .jux-nav-link {
264
- color: #d1d5db; /* gray-300 */
265
- }
266
-
267
- .dark .jux-nav-link:hover {
268
- color: #a78bfa; /* purple-400 */
269
- background-color: rgba(167, 139, 250, 0.1);
270
- }
271
-
272
- .dark .jux-nav-link.active {
273
- color: #a78bfa;
274
- }
275
-
276
- .dark .jux-nav-tabs {
277
- border-bottom-color: #374151;
278
- }
279
-
280
- .dark .jux-nav-dropdown {
281
- background: #1f2937;
282
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
283
- }
284
-
285
- .dark .jux-nav-dropdown-item {
286
- color: #d1d5db;
287
- }
288
-
289
- .dark .jux-nav-dropdown-item:hover {
290
- background-color: rgba(167, 139, 250, 0.15);
291
- color: #a78bfa;
292
- }
293
-
294
- /* ═══════════════════════════════════════════════════════════════════
295
- * ANIMATIONS
296
- * ═══════════════════════════════════════════════════════════════════ */
297
-
298
- @keyframes nav-fade-in {
299
- from {
300
- opacity: 0;
301
- transform: translateY(-5px);
302
- }
303
- to {
304
- opacity: 1;
305
- transform: translateY(0);
306
- }
307
- }
308
-
309
- .jux-nav-items.animate-in {
310
- animation: nav-fade-in 0.3s ease-out;
311
- }
312
-
313
- .jux-nav-item-wrapper {
314
- animation: nav-fade-in 0.3s ease-out backwards;
315
- }
316
-
317
- .jux-nav-item-wrapper:nth-child(1) { animation-delay: 0ms; }
318
- .jux-nav-item-wrapper:nth-child(2) { animation-delay: 50ms; }
319
- .jux-nav-item-wrapper:nth-child(3) { animation-delay: 100ms; }
320
- .jux-nav-item-wrapper:nth-child(4) { animation-delay: 150ms; }
321
- .jux-nav-item-wrapper:nth-child(5) { animation-delay: 200ms; }
322
- .jux-nav-item-wrapper:nth-child(6) { animation-delay: 250ms; }