@remotion/design 4.0.376 → 4.0.378

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/Input.js CHANGED
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { cn } from './helpers/cn';
4
4
  export const Input = React.forwardRef(({ className, ...props }, ref) => {
5
- return (_jsx("input", { ref: ref, className: cn('w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border', className), ...props }));
5
+ return (_jsx("input", { ref: ref, className: cn('w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border', className), ...props }));
6
6
  });
7
7
  Input.displayName = 'Input';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
3
+ export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
4
+ export {};
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ import { cn } from './helpers/cn';
4
+ export const Textarea = React.forwardRef(({ className, style, ...props }, ref) => {
5
+ return (_jsx("textarea", { ref: ref, className: cn('w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]', className), style: {
6
+ ...style,
7
+ }, ...props }));
8
+ });
9
+ Textarea.displayName = 'Textarea';
@@ -572,7 +572,7 @@ import { jsx as jsx8 } from "react/jsx-runtime";
572
572
  var Input = React5.forwardRef(({ className, ...props }, ref) => {
573
573
  return /* @__PURE__ */ jsx8("input", {
574
574
  ref,
575
- className: cn("w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
575
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border", className),
576
576
  ...props
577
577
  });
578
578
  });
@@ -5527,14 +5527,28 @@ var Switch = ({ active, onToggle }) => {
5527
5527
  })
5528
5528
  });
5529
5529
  };
5530
- // src/Triangle.tsx
5530
+ // src/Textarea.tsx
5531
+ import React36 from "react";
5531
5532
  import { jsx as jsx24 } from "react/jsx-runtime";
5533
+ var Textarea = React36.forwardRef(({ className, style, ...props }, ref) => {
5534
+ return /* @__PURE__ */ jsx24("textarea", {
5535
+ ref,
5536
+ className: cn("w-full bg-white dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none px-3 py-3 fontbrand text-lg box-border field-sizing-content min-h-[90px]", className),
5537
+ style: {
5538
+ ...style
5539
+ },
5540
+ ...props
5541
+ });
5542
+ });
5543
+ Textarea.displayName = "Textarea";
5544
+ // src/Triangle.tsx
5545
+ import { jsx as jsx25 } from "react/jsx-runtime";
5532
5546
  var Triangle2 = (props) => {
5533
- return /* @__PURE__ */ jsx24("svg", {
5547
+ return /* @__PURE__ */ jsx25("svg", {
5534
5548
  viewBox: "0 0 127 131",
5535
5549
  fill: "none",
5536
5550
  ...props,
5537
- children: /* @__PURE__ */ jsx24("path", {
5551
+ children: /* @__PURE__ */ jsx25("path", {
5538
5552
  d: "M28.5644 0.011261C25.8196 0.159241 23.6077 0.591782 21.3786 1.43413C20.2669 1.84959 18.4446 2.75455 17.4418 3.38062C13.2472 5.993 10.0496 9.9201 8.38209 14.4903C8.04973 15.3953 7.15007 18.2809 6.5713 20.2672C2.71476 33.5453 0.525761 48.0643 0.0558711 63.4312C-0.0186237 65.8785 -0.0186237 71.7066 0.0558711 74.1141C0.371041 84.3018 1.35093 93.4992 3.12735 102.879C3.84937 106.675 5.00691 111.774 5.67736 114.091C7.04692 118.798 9.84334 122.805 13.8202 125.741C16.4848 127.711 19.5105 129.031 22.8627 129.68C24.4787 129.993 26.6104 130.135 28.1805 130.033C30.3523 129.89 34.6616 129.316 38.1628 128.695C53.9442 125.901 68.5223 120.898 81.7422 113.738C90.1143 109.202 97.2715 104.29 104.177 98.3312C111.059 92.4007 116.927 86.0206 122.09 78.8608C123.287 77.2045 123.889 76.237 124.491 75.019C126.038 71.8773 126.766 68.7527 126.76 65.2582C126.76 62.0027 126.141 59.1114 124.806 56.1518C124.164 54.7233 123.551 53.6988 122.176 51.7523C117.11 44.5868 111.489 38.3433 104.635 32.2762C94.011 22.8739 81.3927 15.1619 67.3017 9.45339C64.2474 8.21835 61.239 7.13128 57.6174 5.95315C49.9502 3.46598 40.4607 1.30891 32.4324 0.233231C31.1718 0.0624847 29.4584 -0.0342712 28.5644 0.011261Z",
5539
5553
  fill: "currentcolor"
5540
5554
  })
@@ -5542,6 +5556,7 @@ var Triangle2 = (props) => {
5542
5556
  };
5543
5557
  export {
5544
5558
  Triangle2 as Triangle,
5559
+ Textarea,
5545
5560
  Switch,
5546
5561
  SelectValue2 as SelectValue,
5547
5562
  SelectTrigger2 as SelectTrigger,
package/dist/index.d.ts CHANGED
@@ -6,4 +6,5 @@ export { Input } from './Input';
6
6
  export { PlanePaperIcon } from './PaperPlaneIcon';
7
7
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from './Select';
8
8
  export { Switch } from './Switch';
9
+ export { Textarea } from './Textarea';
9
10
  export { Triangle } from './Triangle';
package/dist/index.js CHANGED
@@ -6,4 +6,5 @@ export { Input } from './Input';
6
6
  export { PlanePaperIcon } from './PaperPlaneIcon';
7
7
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from './Select';
8
8
  export { Switch } from './Switch';
9
+ export { Textarea } from './Textarea';
9
10
  export { Triangle } from './Triangle';
@@ -0,0 +1,797 @@
1
+ /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
2
+ @layer theme, base, components, utilities;
3
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
4
+ @layer base {
5
+ *, ::before, ::after, ::backdrop {
6
+ --tw-rotate-x: rotateX(0);
7
+ --tw-rotate-y: rotateY(0);
8
+ --tw-rotate-z: rotateZ(0);
9
+ --tw-skew-x: skewX(0);
10
+ --tw-skew-y: skewY(0);
11
+ --tw-border-style: solid;
12
+ --tw-font-weight: initial;
13
+ --tw-ordinal: initial;
14
+ --tw-slashed-zero: initial;
15
+ --tw-numeric-figure: initial;
16
+ --tw-numeric-spacing: initial;
17
+ --tw-numeric-fraction: initial;
18
+ --tw-shadow: 0 0 #0000;
19
+ --tw-shadow-color: initial;
20
+ --tw-shadow-alpha: 100%;
21
+ --tw-inset-shadow: 0 0 #0000;
22
+ --tw-inset-shadow-color: initial;
23
+ --tw-inset-shadow-alpha: 100%;
24
+ --tw-ring-color: initial;
25
+ --tw-ring-shadow: 0 0 #0000;
26
+ --tw-inset-ring-color: initial;
27
+ --tw-inset-ring-shadow: 0 0 #0000;
28
+ --tw-ring-inset: initial;
29
+ --tw-ring-offset-width: 0px;
30
+ --tw-ring-offset-color: #fff;
31
+ --tw-ring-offset-shadow: 0 0 #0000;
32
+ --tw-outline-style: solid;
33
+ --tw-translate-x: 0;
34
+ --tw-translate-y: 0;
35
+ --tw-translate-z: 0;
36
+ }
37
+ }
38
+ }
39
+ @layer theme {
40
+ :root, :host {
41
+ --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
42
+ "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
43
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
44
+ "Courier New", monospace;
45
+ --color-slate-200: oklch(92.9% 0.013 255.508);
46
+ --color-gray-200: oklch(92.8% 0.006 264.531);
47
+ --color-black: #000;
48
+ --color-white: #fff;
49
+ --spacing: 0.25rem;
50
+ --text-sm: 0.875rem;
51
+ --text-sm--line-height: calc(1.25 / 0.875);
52
+ --text-lg: 1.125rem;
53
+ --text-lg--line-height: calc(1.75 / 1.125);
54
+ --text-2xl: 1.5rem;
55
+ --text-2xl--line-height: calc(2 / 1.5);
56
+ --font-weight-medium: 500;
57
+ --font-weight-semibold: 600;
58
+ --radius-sm: 0.25rem;
59
+ --radius-md: 0.375rem;
60
+ --radius-lg: 0.5rem;
61
+ --default-transition-duration: 150ms;
62
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
63
+ --default-font-family: var(--font-sans);
64
+ --default-mono-font-family: var(--font-mono);
65
+ }
66
+ }
67
+ @layer base {
68
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
69
+ box-sizing: border-box;
70
+ margin: 0;
71
+ padding: 0;
72
+ border: 0 solid;
73
+ }
74
+ html, :host {
75
+ line-height: 1.5;
76
+ -webkit-text-size-adjust: 100%;
77
+ tab-size: 4;
78
+ font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
79
+ font-feature-settings: var(--default-font-feature-settings, normal);
80
+ font-variation-settings: var(--default-font-variation-settings, normal);
81
+ -webkit-tap-highlight-color: transparent;
82
+ }
83
+ hr {
84
+ height: 0;
85
+ color: inherit;
86
+ border-top-width: 1px;
87
+ }
88
+ abbr:where([title]) {
89
+ -webkit-text-decoration: underline dotted;
90
+ text-decoration: underline dotted;
91
+ }
92
+ h1, h2, h3, h4, h5, h6 {
93
+ font-size: inherit;
94
+ font-weight: inherit;
95
+ }
96
+ a {
97
+ color: inherit;
98
+ -webkit-text-decoration: inherit;
99
+ text-decoration: inherit;
100
+ }
101
+ b, strong {
102
+ font-weight: bolder;
103
+ }
104
+ code, kbd, samp, pre {
105
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
106
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
107
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
108
+ font-size: 1em;
109
+ }
110
+ small {
111
+ font-size: 80%;
112
+ }
113
+ sub, sup {
114
+ font-size: 75%;
115
+ line-height: 0;
116
+ position: relative;
117
+ vertical-align: baseline;
118
+ }
119
+ sub {
120
+ bottom: -0.25em;
121
+ }
122
+ sup {
123
+ top: -0.5em;
124
+ }
125
+ table {
126
+ text-indent: 0;
127
+ border-color: inherit;
128
+ border-collapse: collapse;
129
+ }
130
+ :-moz-focusring {
131
+ outline: auto;
132
+ }
133
+ progress {
134
+ vertical-align: baseline;
135
+ }
136
+ summary {
137
+ display: list-item;
138
+ }
139
+ ol, ul, menu {
140
+ list-style: none;
141
+ }
142
+ img, svg, video, canvas, audio, iframe, embed, object {
143
+ display: block;
144
+ vertical-align: middle;
145
+ }
146
+ img, video {
147
+ max-width: 100%;
148
+ height: auto;
149
+ }
150
+ button, input, select, optgroup, textarea, ::file-selector-button {
151
+ font: inherit;
152
+ font-feature-settings: inherit;
153
+ font-variation-settings: inherit;
154
+ letter-spacing: inherit;
155
+ color: inherit;
156
+ border-radius: 0;
157
+ background-color: transparent;
158
+ opacity: 1;
159
+ }
160
+ :where(select:is([multiple], [size])) optgroup {
161
+ font-weight: bolder;
162
+ }
163
+ :where(select:is([multiple], [size])) optgroup option {
164
+ padding-inline-start: 20px;
165
+ }
166
+ ::file-selector-button {
167
+ margin-inline-end: 4px;
168
+ }
169
+ ::placeholder {
170
+ opacity: 1;
171
+ }
172
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
173
+ ::placeholder {
174
+ color: color-mix(in oklab, currentColor 50%, transparent);
175
+ }
176
+ }
177
+ textarea {
178
+ resize: vertical;
179
+ }
180
+ ::-webkit-search-decoration {
181
+ -webkit-appearance: none;
182
+ }
183
+ ::-webkit-date-and-time-value {
184
+ min-height: 1lh;
185
+ text-align: inherit;
186
+ }
187
+ ::-webkit-datetime-edit {
188
+ display: inline-flex;
189
+ }
190
+ ::-webkit-datetime-edit-fields-wrapper {
191
+ padding: 0;
192
+ }
193
+ ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
194
+ padding-block: 0;
195
+ }
196
+ :-moz-ui-invalid {
197
+ box-shadow: none;
198
+ }
199
+ button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
200
+ appearance: button;
201
+ }
202
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
203
+ height: auto;
204
+ }
205
+ [hidden]:where(:not([hidden="until-found"])) {
206
+ display: none !important;
207
+ }
208
+ }
209
+ @layer utilities {
210
+ .invisible {
211
+ visibility: hidden;
212
+ }
213
+ .visible {
214
+ visibility: visible;
215
+ }
216
+ .absolute {
217
+ position: absolute;
218
+ }
219
+ .relative {
220
+ position: relative;
221
+ }
222
+ .static {
223
+ position: static;
224
+ }
225
+ .inset-0 {
226
+ inset: calc(var(--spacing) * 0);
227
+ }
228
+ .top-\[3px\] {
229
+ top: 3px;
230
+ }
231
+ .left-2 {
232
+ left: calc(var(--spacing) * 2);
233
+ }
234
+ .left-\[4px\] {
235
+ left: 4px;
236
+ }
237
+ .z-50 {
238
+ z-index: 50;
239
+ }
240
+ .container {
241
+ width: 100%;
242
+ @media (width >= 40rem) {
243
+ max-width: 40rem;
244
+ }
245
+ @media (width >= 48rem) {
246
+ max-width: 48rem;
247
+ }
248
+ @media (width >= 64rem) {
249
+ max-width: 64rem;
250
+ }
251
+ @media (width >= 80rem) {
252
+ max-width: 80rem;
253
+ }
254
+ @media (width >= 96rem) {
255
+ max-width: 96rem;
256
+ }
257
+ }
258
+ .-mx-1 {
259
+ margin-inline: calc(var(--spacing) * -1);
260
+ }
261
+ .my-1 {
262
+ margin-block: calc(var(--spacing) * 1);
263
+ }
264
+ .box-border {
265
+ box-sizing: border-box;
266
+ }
267
+ .box-content {
268
+ box-sizing: content-box;
269
+ }
270
+ .contents {
271
+ display: contents;
272
+ }
273
+ .flex {
274
+ display: flex;
275
+ }
276
+ .inline-flex {
277
+ display: inline-flex;
278
+ }
279
+ .field-sizing-content {
280
+ field-sizing: content;
281
+ }
282
+ .h-\(--radix-select-trigger-height\) {
283
+ height: var(--radix-select-trigger-height);
284
+ }
285
+ .h-3\.5 {
286
+ height: calc(var(--spacing) * 3.5);
287
+ }
288
+ .h-4 {
289
+ height: calc(var(--spacing) * 4);
290
+ }
291
+ .h-8 {
292
+ height: calc(var(--spacing) * 8);
293
+ }
294
+ .h-10 {
295
+ height: calc(var(--spacing) * 10);
296
+ }
297
+ .h-12 {
298
+ height: calc(var(--spacing) * 12);
299
+ }
300
+ .h-14 {
301
+ height: calc(var(--spacing) * 14);
302
+ }
303
+ .h-full {
304
+ height: 100%;
305
+ }
306
+ .h-px {
307
+ height: 1px;
308
+ }
309
+ .max-h-96 {
310
+ max-height: calc(var(--spacing) * 96);
311
+ }
312
+ .min-h-\[90px\] {
313
+ min-height: 90px;
314
+ }
315
+ .w-3\.5 {
316
+ width: calc(var(--spacing) * 3.5);
317
+ }
318
+ .w-4 {
319
+ width: calc(var(--spacing) * 4);
320
+ }
321
+ .w-14 {
322
+ width: calc(var(--spacing) * 14);
323
+ }
324
+ .w-\[140px\] {
325
+ width: 140px;
326
+ }
327
+ .w-full {
328
+ width: 100%;
329
+ }
330
+ .min-w-\(--radix-select-trigger-width\) {
331
+ min-width: var(--radix-select-trigger-width);
332
+ }
333
+ .min-w-32 {
334
+ min-width: calc(var(--spacing) * 32);
335
+ }
336
+ .min-w-\[80px\] {
337
+ min-width: 80px;
338
+ }
339
+ .flex-1 {
340
+ flex: 1;
341
+ }
342
+ .transform {
343
+ transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z) var(--tw-skew-x) var(--tw-skew-y);
344
+ }
345
+ .cursor-default {
346
+ cursor: default;
347
+ }
348
+ .cursor-pointer {
349
+ cursor: pointer;
350
+ }
351
+ .flex-col {
352
+ flex-direction: column;
353
+ }
354
+ .flex-row {
355
+ flex-direction: row;
356
+ }
357
+ .items-center {
358
+ align-items: center;
359
+ }
360
+ .justify-between {
361
+ justify-content: space-between;
362
+ }
363
+ .justify-center {
364
+ justify-content: center;
365
+ }
366
+ .overflow-hidden {
367
+ overflow: hidden;
368
+ }
369
+ .rounded-full {
370
+ border-radius: calc(infinity * 1px);
371
+ }
372
+ .rounded-lg {
373
+ border-radius: var(--radius-lg);
374
+ }
375
+ .rounded-md {
376
+ border-radius: var(--radius-md);
377
+ }
378
+ .rounded-sm {
379
+ border-radius: var(--radius-sm);
380
+ }
381
+ .border-0 {
382
+ border-style: var(--tw-border-style);
383
+ border-width: 0px;
384
+ }
385
+ .border-2 {
386
+ border-style: var(--tw-border-style);
387
+ border-width: 2px;
388
+ }
389
+ .border-b-4 {
390
+ border-bottom-style: var(--tw-border-style);
391
+ border-bottom-width: 4px;
392
+ }
393
+ .border-solid {
394
+ --tw-border-style: solid;
395
+ border-style: solid;
396
+ }
397
+ .border-black {
398
+ border-color: var(--color-black);
399
+ }
400
+ .bg-button-bg {
401
+ background-color: var(--plain-button);
402
+ }
403
+ .bg-card-bg {
404
+ background-color: white;
405
+ }
406
+ .bg-gray-200 {
407
+ background-color: var(--color-gray-200);
408
+ }
409
+ .bg-inherit {
410
+ background-color: inherit;
411
+ }
412
+ .bg-transparent {
413
+ background-color: transparent;
414
+ }
415
+ .bg-white {
416
+ background-color: var(--color-white);
417
+ }
418
+ .fill-text {
419
+ fill: var(--text-color);
420
+ }
421
+ .p-0 {
422
+ padding: calc(var(--spacing) * 0);
423
+ }
424
+ .p-1 {
425
+ padding: calc(var(--spacing) * 1);
426
+ }
427
+ .p-\[2px\] {
428
+ padding: 2px;
429
+ }
430
+ .px-0 {
431
+ padding-inline: calc(var(--spacing) * 0);
432
+ }
433
+ .px-3 {
434
+ padding-inline: calc(var(--spacing) * 3);
435
+ }
436
+ .px-4 {
437
+ padding-inline: calc(var(--spacing) * 4);
438
+ }
439
+ .py-0 {
440
+ padding-block: calc(var(--spacing) * 0);
441
+ }
442
+ .py-1 {
443
+ padding-block: calc(var(--spacing) * 1);
444
+ }
445
+ .py-1\.5 {
446
+ padding-block: calc(var(--spacing) * 1.5);
447
+ }
448
+ .py-3 {
449
+ padding-block: calc(var(--spacing) * 3);
450
+ }
451
+ .py-5 {
452
+ padding-block: calc(var(--spacing) * 5);
453
+ }
454
+ .pt-\[5px\] {
455
+ padding-top: 5px;
456
+ }
457
+ .pr-2 {
458
+ padding-right: calc(var(--spacing) * 2);
459
+ }
460
+ .pb-\[5px\] {
461
+ padding-bottom: 5px;
462
+ }
463
+ .pl-8 {
464
+ padding-left: calc(var(--spacing) * 8);
465
+ }
466
+ .pl-\[1px\] {
467
+ padding-left: 1px;
468
+ }
469
+ .text-end {
470
+ text-align: end;
471
+ }
472
+ .font-brand {
473
+ font-family: 'GTPlanar', sans-serif;
474
+ font-feature-settings: 'ss03' 1;
475
+ }
476
+ .text-2xl {
477
+ font-size: var(--text-2xl);
478
+ line-height: var(--tw-leading, var(--text-2xl--line-height));
479
+ }
480
+ .text-lg {
481
+ font-size: var(--text-lg);
482
+ line-height: var(--tw-leading, var(--text-lg--line-height));
483
+ }
484
+ .text-sm {
485
+ font-size: var(--text-sm);
486
+ line-height: var(--tw-leading, var(--text-sm--line-height));
487
+ }
488
+ .text-\[1em\] {
489
+ font-size: 1em;
490
+ }
491
+ .font-medium {
492
+ --tw-font-weight: var(--font-weight-medium);
493
+ font-weight: var(--font-weight-medium);
494
+ }
495
+ .font-semibold {
496
+ --tw-font-weight: var(--font-weight-semibold);
497
+ font-weight: var(--font-weight-semibold);
498
+ }
499
+ .text-inherit {
500
+ color: inherit;
501
+ }
502
+ .text-text {
503
+ color: var(--text-color);
504
+ }
505
+ .tabular-nums {
506
+ --tw-numeric-spacing: tabular-nums;
507
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
508
+ }
509
+ .opacity-50 {
510
+ opacity: 50%;
511
+ }
512
+ .shadow-md {
513
+ --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
514
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
515
+ }
516
+ .outline-hidden {
517
+ --tw-outline-style: none;
518
+ outline-style: none;
519
+ @media (forced-colors: active) {
520
+ outline: 2px solid transparent;
521
+ outline-offset: 2px;
522
+ }
523
+ }
524
+ .outline-0 {
525
+ outline-style: var(--tw-outline-style);
526
+ outline-width: 0px;
527
+ }
528
+ .transition-all {
529
+ transition-property: all;
530
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
531
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
532
+ }
533
+ .outline-none {
534
+ --tw-outline-style: none;
535
+ outline-style: none;
536
+ }
537
+ .select-none {
538
+ -webkit-user-select: none;
539
+ user-select: none;
540
+ }
541
+ .focus\:bg-slate-200 {
542
+ &:focus {
543
+ background-color: var(--color-slate-200);
544
+ }
545
+ }
546
+ .focus\:ring-2 {
547
+ &:focus {
548
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentColor);
549
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
550
+ }
551
+ }
552
+ .focus\:ring-offset-2 {
553
+ &:focus {
554
+ --tw-ring-offset-width: 2px;
555
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
556
+ }
557
+ }
558
+ .focus\:outline-hidden {
559
+ &:focus {
560
+ --tw-outline-style: none;
561
+ outline-style: none;
562
+ @media (forced-colors: active) {
563
+ outline: 2px solid transparent;
564
+ outline-offset: 2px;
565
+ }
566
+ }
567
+ }
568
+ .disabled\:cursor-default {
569
+ &:disabled {
570
+ cursor: default;
571
+ }
572
+ }
573
+ .disabled\:cursor-not-allowed {
574
+ &:disabled {
575
+ cursor: not-allowed;
576
+ }
577
+ }
578
+ .disabled\:opacity-50 {
579
+ &:disabled {
580
+ opacity: 50%;
581
+ }
582
+ }
583
+ .data-disabled\:pointer-events-none {
584
+ &[data-disabled] {
585
+ pointer-events: none;
586
+ }
587
+ }
588
+ .data-disabled\:opacity-50 {
589
+ &[data-disabled] {
590
+ opacity: 50%;
591
+ }
592
+ }
593
+ .data-\[active\=true\]\:left-\[calc\(100\%-24px\)\] {
594
+ &[data-active="true"] {
595
+ left: calc(100% - 24px);
596
+ }
597
+ }
598
+ .data-\[active\=true\]\:bg-brand {
599
+ &[data-active="true"] {
600
+ background-color: #0b84f3;
601
+ }
602
+ }
603
+ .data-\[side\=bottom\]\:translate-y-1 {
604
+ &[data-side="bottom"] {
605
+ --tw-translate-y: calc(var(--spacing) * 1);
606
+ translate: var(--tw-translate-x) var(--tw-translate-y);
607
+ }
608
+ }
609
+ .data-\[side\=left\]\:-translate-x-1 {
610
+ &[data-side="left"] {
611
+ --tw-translate-x: calc(var(--spacing) * -1);
612
+ translate: var(--tw-translate-x) var(--tw-translate-y);
613
+ }
614
+ }
615
+ .data-\[side\=right\]\:translate-x-1 {
616
+ &[data-side="right"] {
617
+ --tw-translate-x: calc(var(--spacing) * 1);
618
+ translate: var(--tw-translate-x) var(--tw-translate-y);
619
+ }
620
+ }
621
+ .data-\[side\=top\]\:-translate-y-1 {
622
+ &[data-side="top"] {
623
+ --tw-translate-y: calc(var(--spacing) * -1);
624
+ translate: var(--tw-translate-x) var(--tw-translate-y);
625
+ }
626
+ }
627
+ .dark\:bg-\[\#121212\] {
628
+ @media (prefers-color-scheme: dark) {
629
+ background-color: #121212;
630
+ }
631
+ }
632
+ .dark\:focus\:bg-white\/10 {
633
+ @media (prefers-color-scheme: dark) {
634
+ &:focus {
635
+ background-color: color-mix(in srgb, #fff 10%, transparent);
636
+ @supports (color: color-mix(in lab, red, red)) {
637
+ background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
638
+ }
639
+ }
640
+ }
641
+ }
642
+ .\[\&\>span\]\:line-clamp-1 {
643
+ &>span {
644
+ overflow: hidden;
645
+ display: -webkit-box;
646
+ -webkit-box-orient: vertical;
647
+ -webkit-line-clamp: 1;
648
+ }
649
+ }
650
+ }
651
+ [data-theme='light'] {
652
+ --text-color: #000;
653
+ --plain-button: #fff;
654
+ }
655
+ [data-theme='dark'] {
656
+ --text-color: #fff;
657
+ --plain-button: #424243;
658
+ }
659
+ @property --tw-rotate-x {
660
+ syntax: "*";
661
+ inherits: false;
662
+ initial-value: rotateX(0);
663
+ }
664
+ @property --tw-rotate-y {
665
+ syntax: "*";
666
+ inherits: false;
667
+ initial-value: rotateY(0);
668
+ }
669
+ @property --tw-rotate-z {
670
+ syntax: "*";
671
+ inherits: false;
672
+ initial-value: rotateZ(0);
673
+ }
674
+ @property --tw-skew-x {
675
+ syntax: "*";
676
+ inherits: false;
677
+ initial-value: skewX(0);
678
+ }
679
+ @property --tw-skew-y {
680
+ syntax: "*";
681
+ inherits: false;
682
+ initial-value: skewY(0);
683
+ }
684
+ @property --tw-border-style {
685
+ syntax: "*";
686
+ inherits: false;
687
+ initial-value: solid;
688
+ }
689
+ @property --tw-font-weight {
690
+ syntax: "*";
691
+ inherits: false;
692
+ }
693
+ @property --tw-ordinal {
694
+ syntax: "*";
695
+ inherits: false;
696
+ }
697
+ @property --tw-slashed-zero {
698
+ syntax: "*";
699
+ inherits: false;
700
+ }
701
+ @property --tw-numeric-figure {
702
+ syntax: "*";
703
+ inherits: false;
704
+ }
705
+ @property --tw-numeric-spacing {
706
+ syntax: "*";
707
+ inherits: false;
708
+ }
709
+ @property --tw-numeric-fraction {
710
+ syntax: "*";
711
+ inherits: false;
712
+ }
713
+ @property --tw-shadow {
714
+ syntax: "*";
715
+ inherits: false;
716
+ initial-value: 0 0 #0000;
717
+ }
718
+ @property --tw-shadow-color {
719
+ syntax: "*";
720
+ inherits: false;
721
+ }
722
+ @property --tw-shadow-alpha {
723
+ syntax: "<percentage>";
724
+ inherits: false;
725
+ initial-value: 100%;
726
+ }
727
+ @property --tw-inset-shadow {
728
+ syntax: "*";
729
+ inherits: false;
730
+ initial-value: 0 0 #0000;
731
+ }
732
+ @property --tw-inset-shadow-color {
733
+ syntax: "*";
734
+ inherits: false;
735
+ }
736
+ @property --tw-inset-shadow-alpha {
737
+ syntax: "<percentage>";
738
+ inherits: false;
739
+ initial-value: 100%;
740
+ }
741
+ @property --tw-ring-color {
742
+ syntax: "*";
743
+ inherits: false;
744
+ }
745
+ @property --tw-ring-shadow {
746
+ syntax: "*";
747
+ inherits: false;
748
+ initial-value: 0 0 #0000;
749
+ }
750
+ @property --tw-inset-ring-color {
751
+ syntax: "*";
752
+ inherits: false;
753
+ }
754
+ @property --tw-inset-ring-shadow {
755
+ syntax: "*";
756
+ inherits: false;
757
+ initial-value: 0 0 #0000;
758
+ }
759
+ @property --tw-ring-inset {
760
+ syntax: "*";
761
+ inherits: false;
762
+ }
763
+ @property --tw-ring-offset-width {
764
+ syntax: "<length>";
765
+ inherits: false;
766
+ initial-value: 0px;
767
+ }
768
+ @property --tw-ring-offset-color {
769
+ syntax: "*";
770
+ inherits: false;
771
+ initial-value: #fff;
772
+ }
773
+ @property --tw-ring-offset-shadow {
774
+ syntax: "*";
775
+ inherits: false;
776
+ initial-value: 0 0 #0000;
777
+ }
778
+ @property --tw-outline-style {
779
+ syntax: "*";
780
+ inherits: false;
781
+ initial-value: solid;
782
+ }
783
+ @property --tw-translate-x {
784
+ syntax: "*";
785
+ inherits: false;
786
+ initial-value: 0;
787
+ }
788
+ @property --tw-translate-y {
789
+ syntax: "*";
790
+ inherits: false;
791
+ initial-value: 0;
792
+ }
793
+ @property --tw-translate-z {
794
+ syntax: "*";
795
+ inherits: false;
796
+ initial-value: 0;
797
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/design",
3
- "version": "4.0.376",
3
+ "version": "4.0.378",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/esm/index.mjs",
@@ -19,11 +19,11 @@
19
19
  "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
20
20
  },
21
21
  "dependencies": {
22
- "@remotion/paths": "4.0.376",
23
- "@remotion/shapes": "4.0.376",
24
- "@remotion/svg-3d-engine": "4.0.376",
22
+ "@remotion/paths": "4.0.378",
23
+ "@remotion/shapes": "4.0.378",
24
+ "@remotion/svg-3d-engine": "4.0.378",
25
25
  "clsx": "^2.1.1",
26
- "remotion": "4.0.376",
26
+ "remotion": "4.0.378",
27
27
  "@radix-ui/react-select": "2.1.1",
28
28
  "lucide-react": "0.439.0"
29
29
  },
@@ -32,11 +32,12 @@
32
32
  "react-dom": ">=16.8.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@remotion/eslint-config-internal": "4.0.376",
35
+ "@remotion/eslint-config-internal": "4.0.378",
36
36
  "eslint": "9.19.0",
37
37
  "react": "19.0.0",
38
38
  "react-dom": "19.0.0",
39
- "tailwindcss": "4.1.10",
39
+ "tailwindcss": "4.1.1",
40
+ "@tailwindcss/cli": "4.1.1",
40
41
  "tailwind-merge": "^2.6.0",
41
42
  "bun-plugin-tailwind": "0.1.2"
42
43
  },
@@ -53,7 +54,7 @@
53
54
  },
54
55
  "./package.json": "./package.json",
55
56
  "./register": "./index.css",
56
- "./tailwind.css": "./dist/esm/index.css"
57
+ "./tailwind.css": "./dist/tailwind.css"
57
58
  },
58
59
  "description": "Design system",
59
60
  "homepage": "https://www.remotion.dev/design"