tinacms 0.68.5 → 0.68.8
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/CHANGELOG.md +29 -0
- package/dist/admin/api.d.ts +1 -1
- package/dist/admin/components/GetCollection.d.ts +3 -2
- package/dist/admin/types.d.ts +6 -0
- package/dist/client.es.js +33 -1
- package/dist/client.js +35 -2
- package/dist/index.es.js +548 -257
- package/dist/index.js +332 -42
- package/dist/style.css +90 -9
- package/dist/unifiedClient/index.d.ts +8 -0
- package/package.json +3 -2
package/dist/style.css
CHANGED
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
--tw-backdrop-saturate: ;
|
|
43
43
|
--tw-backdrop-sepia: ;
|
|
44
44
|
}
|
|
45
|
+
.tina-tailwind .pointer-events-auto {
|
|
46
|
+
pointer-events: auto;
|
|
47
|
+
}
|
|
45
48
|
.tina-tailwind .static {
|
|
46
49
|
position: static;
|
|
47
50
|
}
|
|
@@ -54,16 +57,46 @@
|
|
|
54
57
|
.tina-tailwind .relative {
|
|
55
58
|
position: relative;
|
|
56
59
|
}
|
|
60
|
+
.tina-tailwind .inset-0 {
|
|
61
|
+
top: 0px;
|
|
62
|
+
right: 0px;
|
|
63
|
+
bottom: 0px;
|
|
64
|
+
left: 0px;
|
|
65
|
+
}
|
|
57
66
|
.tina-tailwind .left-0 {
|
|
58
67
|
left: 0px;
|
|
59
68
|
}
|
|
69
|
+
.tina-tailwind .top-0 {
|
|
70
|
+
top: 0px;
|
|
71
|
+
}
|
|
72
|
+
.tina-tailwind .top-8 {
|
|
73
|
+
top: 32px;
|
|
74
|
+
}
|
|
60
75
|
.tina-tailwind .right-0 {
|
|
61
76
|
right: 0px;
|
|
62
77
|
}
|
|
78
|
+
.tina-tailwind .top-10 {
|
|
79
|
+
top: 40px;
|
|
80
|
+
}
|
|
81
|
+
.tina-tailwind .top-4 {
|
|
82
|
+
top: 16px;
|
|
83
|
+
}
|
|
84
|
+
.tina-tailwind .z-overlay {
|
|
85
|
+
z-index: 10600;
|
|
86
|
+
}
|
|
87
|
+
.tina-tailwind .z-menu {
|
|
88
|
+
z-index: 9800;
|
|
89
|
+
}
|
|
90
|
+
.tina-tailwind .z-50 {
|
|
91
|
+
z-index: 50;
|
|
92
|
+
}
|
|
63
93
|
.tina-tailwind .mx-auto {
|
|
64
94
|
margin-left: auto;
|
|
65
95
|
margin-right: auto;
|
|
66
96
|
}
|
|
97
|
+
.tina-tailwind .-ml-px {
|
|
98
|
+
margin-left: -1px;
|
|
99
|
+
}
|
|
67
100
|
.tina-tailwind .mr-2 {
|
|
68
101
|
margin-right: 8px;
|
|
69
102
|
}
|
|
@@ -121,6 +154,9 @@
|
|
|
121
154
|
.tina-tailwind .h-6 {
|
|
122
155
|
height: 24px;
|
|
123
156
|
}
|
|
157
|
+
.tina-tailwind .h-7 {
|
|
158
|
+
height: 28px;
|
|
159
|
+
}
|
|
124
160
|
.tina-tailwind .h-10 {
|
|
125
161
|
height: 40px;
|
|
126
162
|
}
|
|
@@ -178,6 +214,18 @@
|
|
|
178
214
|
.tina-tailwind .origin-top-right {
|
|
179
215
|
transform-origin: top right;
|
|
180
216
|
}
|
|
217
|
+
.tina-tailwind .-translate-x-full {
|
|
218
|
+
--tw-translate-x: -100%;
|
|
219
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
220
|
+
}
|
|
221
|
+
.tina-tailwind .translate-x-0 {
|
|
222
|
+
--tw-translate-x: 0px;
|
|
223
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
224
|
+
}
|
|
225
|
+
.tina-tailwind .translate-x-full {
|
|
226
|
+
--tw-translate-x: 100%;
|
|
227
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
228
|
+
}
|
|
181
229
|
.tina-tailwind .scale-95 {
|
|
182
230
|
--tw-scale-x: .95;
|
|
183
231
|
--tw-scale-y: .95;
|
|
@@ -248,12 +296,19 @@
|
|
|
248
296
|
.tina-tailwind .rounded-lg {
|
|
249
297
|
border-radius: 8px;
|
|
250
298
|
}
|
|
299
|
+
.tina-tailwind .rounded {
|
|
300
|
+
border-radius: 4px;
|
|
301
|
+
}
|
|
251
302
|
.tina-tailwind .rounded-full {
|
|
252
303
|
border-radius: 9999px;
|
|
253
304
|
}
|
|
254
305
|
.tina-tailwind .rounded-md {
|
|
255
306
|
border-radius: 6px;
|
|
256
307
|
}
|
|
308
|
+
.tina-tailwind .rounded-r-md {
|
|
309
|
+
border-top-right-radius: 6px;
|
|
310
|
+
border-bottom-right-radius: 6px;
|
|
311
|
+
}
|
|
257
312
|
.tina-tailwind .border {
|
|
258
313
|
border-width: 1px;
|
|
259
314
|
}
|
|
@@ -283,13 +338,26 @@
|
|
|
283
338
|
.tina-tailwind .bg-gradient-to-b {
|
|
284
339
|
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
|
|
285
340
|
}
|
|
341
|
+
.tina-tailwind .bg-gradient-to-br {
|
|
342
|
+
background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
|
|
343
|
+
}
|
|
286
344
|
.tina-tailwind .from-blue-900 {
|
|
287
345
|
--tw-gradient-from: #1D2C6C;
|
|
288
346
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(29 44 108 / 0));
|
|
289
347
|
}
|
|
348
|
+
.tina-tailwind .from-gray-800 {
|
|
349
|
+
--tw-gradient-from: #363145;
|
|
350
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(54 49 69 / 0));
|
|
351
|
+
}
|
|
352
|
+
.tina-tailwind .via-gray-900 {
|
|
353
|
+
--tw-gradient-stops: var(--tw-gradient-from), #252336, var(--tw-gradient-to, rgb(37 35 54 / 0));
|
|
354
|
+
}
|
|
290
355
|
.tina-tailwind .to-gray-900 {
|
|
291
356
|
--tw-gradient-to: #252336;
|
|
292
357
|
}
|
|
358
|
+
.tina-tailwind .to-black {
|
|
359
|
+
--tw-gradient-to: #000;
|
|
360
|
+
}
|
|
293
361
|
.tina-tailwind .px-4 {
|
|
294
362
|
padding-left: 16px;
|
|
295
363
|
padding-right: 16px;
|
|
@@ -330,6 +398,10 @@
|
|
|
330
398
|
padding-top: 8px;
|
|
331
399
|
padding-bottom: 8px;
|
|
332
400
|
}
|
|
401
|
+
.tina-tailwind .py-5 {
|
|
402
|
+
padding-top: 20px;
|
|
403
|
+
padding-bottom: 20px;
|
|
404
|
+
}
|
|
333
405
|
.tina-tailwind .pt-4 {
|
|
334
406
|
padding-top: 16px;
|
|
335
407
|
}
|
|
@@ -339,6 +411,12 @@
|
|
|
339
411
|
.tina-tailwind .pt-18 {
|
|
340
412
|
padding-top: 72px;
|
|
341
413
|
}
|
|
414
|
+
.tina-tailwind .pt-3 {
|
|
415
|
+
padding-top: 12px;
|
|
416
|
+
}
|
|
417
|
+
.tina-tailwind .pl-18 {
|
|
418
|
+
padding-left: 72px;
|
|
419
|
+
}
|
|
342
420
|
.tina-tailwind .text-left {
|
|
343
421
|
text-align: left;
|
|
344
422
|
}
|
|
@@ -438,21 +516,21 @@
|
|
|
438
516
|
.tina-tailwind .opacity-100 {
|
|
439
517
|
opacity: 1;
|
|
440
518
|
}
|
|
441
|
-
.tina-tailwind .opacity-
|
|
442
|
-
opacity:
|
|
519
|
+
.tina-tailwind .opacity-0 {
|
|
520
|
+
opacity: 0;
|
|
443
521
|
}
|
|
444
522
|
.tina-tailwind .opacity-80 {
|
|
445
523
|
opacity: .8;
|
|
446
524
|
}
|
|
525
|
+
.tina-tailwind .opacity-90 {
|
|
526
|
+
opacity: .9;
|
|
527
|
+
}
|
|
447
528
|
.tina-tailwind .opacity-50 {
|
|
448
529
|
opacity: .5;
|
|
449
530
|
}
|
|
450
531
|
.tina-tailwind .opacity-70 {
|
|
451
532
|
opacity: .7;
|
|
452
533
|
}
|
|
453
|
-
.tina-tailwind .opacity-0 {
|
|
454
|
-
opacity: 0;
|
|
455
|
-
}
|
|
456
534
|
.tina-tailwind .shadow-lg {
|
|
457
535
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
458
536
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
@@ -488,13 +566,13 @@
|
|
|
488
566
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
489
567
|
transition-duration: 150ms;
|
|
490
568
|
}
|
|
491
|
-
.tina-tailwind .transition-
|
|
492
|
-
transition-property:
|
|
569
|
+
.tina-tailwind .transition-all {
|
|
570
|
+
transition-property: all;
|
|
493
571
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
494
572
|
transition-duration: 150ms;
|
|
495
573
|
}
|
|
496
|
-
.tina-tailwind .transition-
|
|
497
|
-
transition-property:
|
|
574
|
+
.tina-tailwind .transition-colors {
|
|
575
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
498
576
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
499
577
|
transition-duration: 150ms;
|
|
500
578
|
}
|
|
@@ -506,6 +584,9 @@
|
|
|
506
584
|
.tina-tailwind .duration-300 {
|
|
507
585
|
transition-duration: 300ms;
|
|
508
586
|
}
|
|
587
|
+
.tina-tailwind .duration-200 {
|
|
588
|
+
transition-duration: 200ms;
|
|
589
|
+
}
|
|
509
590
|
.tina-tailwind .duration-150 {
|
|
510
591
|
transition-duration: 150ms;
|
|
511
592
|
}
|
|
@@ -10,6 +10,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
10
10
|
See the License for the specific language governing permissions and
|
|
11
11
|
limitations under the License.
|
|
12
12
|
*/
|
|
13
|
+
export declare const TINA_HOST = "content.tinajs.io";
|
|
13
14
|
export interface TinaClientArgs<GenQueries = Record<string, unknown>> {
|
|
14
15
|
url: string;
|
|
15
16
|
token?: string;
|
|
@@ -19,6 +20,12 @@ export declare type TinaClientRequestArgs = {
|
|
|
19
20
|
variables?: Record<string, any>;
|
|
20
21
|
query: string;
|
|
21
22
|
} & Partial<Omit<TinaClientArgs, 'queries'>>;
|
|
23
|
+
export declare type TinaClientURLParts = {
|
|
24
|
+
host: string;
|
|
25
|
+
clientId: string;
|
|
26
|
+
branch: string;
|
|
27
|
+
isLocalClient: boolean;
|
|
28
|
+
};
|
|
22
29
|
export declare class TinaClient<GenQueries> {
|
|
23
30
|
apiUrl: string;
|
|
24
31
|
readonlyToken?: string;
|
|
@@ -31,5 +38,6 @@ export declare class TinaClient<GenQueries> {
|
|
|
31
38
|
data: DataType;
|
|
32
39
|
query: string;
|
|
33
40
|
}>;
|
|
41
|
+
parseURL: (overrideUrl: string) => TinaClientURLParts;
|
|
34
42
|
}
|
|
35
43
|
export declare function createClient<GenQueries>(args: TinaClientArgs<GenQueries>): TinaClient<GenQueries>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinacms",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.8",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -25,9 +25,10 @@
|
|
|
25
25
|
"@graphql-tools/relay-operation-optimizer": "^6.4.1",
|
|
26
26
|
"@headlessui/react": "^1.5.0",
|
|
27
27
|
"@heroicons/react": "^1.0.4",
|
|
28
|
+
"@react-hook/window-size": "^3.0.7",
|
|
28
29
|
"@tinacms/schema-tools": "0.0.4",
|
|
29
30
|
"@tinacms/sharedctx": "0.1.1",
|
|
30
|
-
"@tinacms/toolkit": "0.56.
|
|
31
|
+
"@tinacms/toolkit": "0.56.31",
|
|
31
32
|
"crypto-js": "^4.0.0",
|
|
32
33
|
"fetch-ponyfill": "^7.1.0",
|
|
33
34
|
"final-form": "4.20.1",
|