@deframe-sdk/components 0.1.23 → 0.1.24
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/index.d.mts +226 -70
- package/dist/index.d.ts +226 -70
- package/dist/index.js +1340 -369
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1334 -371
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +133 -12
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
--tracking-wide: 0.025em;
|
|
53
53
|
--leading-normal: 1.5;
|
|
54
54
|
--radius-xs: 0.125rem;
|
|
55
|
+
--radius-sm: 0.25rem;
|
|
55
56
|
--radius-lg: 0.5rem;
|
|
56
57
|
--radius-xl: 0.75rem;
|
|
57
58
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
@@ -478,6 +479,9 @@
|
|
|
478
479
|
.ml-\[var\(--deframe-widget-size-gap-xs\)\] {
|
|
479
480
|
margin-left: var(--deframe-widget-size-gap-xs);
|
|
480
481
|
}
|
|
482
|
+
.ml-auto {
|
|
483
|
+
margin-left: auto;
|
|
484
|
+
}
|
|
481
485
|
.box-border {
|
|
482
486
|
box-sizing: border-box;
|
|
483
487
|
}
|
|
@@ -1010,6 +1014,9 @@
|
|
|
1010
1014
|
.grid-cols-\[1fr_auto_auto\] {
|
|
1011
1015
|
grid-template-columns: 1fr auto auto;
|
|
1012
1016
|
}
|
|
1017
|
+
.grid-cols-\[40px_1fr_auto\] {
|
|
1018
|
+
grid-template-columns: 40px 1fr auto;
|
|
1019
|
+
}
|
|
1013
1020
|
.flex-col {
|
|
1014
1021
|
flex-direction: column;
|
|
1015
1022
|
}
|
|
@@ -1157,6 +1164,9 @@
|
|
|
1157
1164
|
.gap-x-\[var\(--deframe-widget-size-gap-md\)\] {
|
|
1158
1165
|
column-gap: var(--deframe-widget-size-gap-md);
|
|
1159
1166
|
}
|
|
1167
|
+
.gap-x-\[var\(--deframe-widget-size-gap-sm\)\] {
|
|
1168
|
+
column-gap: var(--deframe-widget-size-gap-sm);
|
|
1169
|
+
}
|
|
1160
1170
|
.divide-y {
|
|
1161
1171
|
:where(& > :not(:last-child)) {
|
|
1162
1172
|
--tw-divide-y-reverse: 0;
|
|
@@ -1245,6 +1255,9 @@
|
|
|
1245
1255
|
.rounded-lg {
|
|
1246
1256
|
border-radius: var(--radius-lg);
|
|
1247
1257
|
}
|
|
1258
|
+
.rounded-sm {
|
|
1259
|
+
border-radius: var(--radius-sm);
|
|
1260
|
+
}
|
|
1248
1261
|
.rounded-xl {
|
|
1249
1262
|
border-radius: var(--radius-xl);
|
|
1250
1263
|
}
|
|
@@ -1319,6 +1332,12 @@
|
|
|
1319
1332
|
border-color: color-mix(in srgb,var(--deframe-widget-color-brand-primary) 32%,transparent);
|
|
1320
1333
|
}
|
|
1321
1334
|
}
|
|
1335
|
+
.border-\[color\:color-mix\(in_srgb\,var\(--deframe-widget-color-brand-secondary\)_32\%\,transparent\)\] {
|
|
1336
|
+
border-color: var(--deframe-widget-color-brand-secondary);
|
|
1337
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1338
|
+
border-color: color-mix(in srgb,var(--deframe-widget-color-brand-secondary) 32%,transparent);
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1322
1341
|
.border-\[color\:color-mix\(in_srgb\,var\(--deframe-widget-color-state-error\)_32\%\,transparent\)\] {
|
|
1323
1342
|
border-color: var(--deframe-widget-color-state-error);
|
|
1324
1343
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1496,6 +1515,12 @@
|
|
|
1496
1515
|
background-color: color-mix(in srgb,var(--deframe-widget-color-brand-primary) 18%,transparent);
|
|
1497
1516
|
}
|
|
1498
1517
|
}
|
|
1518
|
+
.bg-\[color\:color-mix\(in_srgb\,var\(--deframe-widget-color-brand-secondary\)_12\%\,transparent\)\] {
|
|
1519
|
+
background-color: var(--deframe-widget-color-brand-secondary);
|
|
1520
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1521
|
+
background-color: color-mix(in srgb,var(--deframe-widget-color-brand-secondary) 12%,transparent);
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1499
1524
|
.bg-\[color\:color-mix\(in_srgb\,var\(--deframe-widget-color-state-error\)_12\%\,transparent\)\] {
|
|
1500
1525
|
background-color: var(--deframe-widget-color-state-error);
|
|
1501
1526
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1839,12 +1864,18 @@
|
|
|
1839
1864
|
.\!px-\[var\(--deframe-widget-size-padding-x-md\)\] {
|
|
1840
1865
|
padding-inline: var(--deframe-widget-size-padding-x-md) !important;
|
|
1841
1866
|
}
|
|
1867
|
+
.px-0 {
|
|
1868
|
+
padding-inline: calc(var(--spacing) * 0);
|
|
1869
|
+
}
|
|
1842
1870
|
.px-2 {
|
|
1843
1871
|
padding-inline: calc(var(--spacing) * 2);
|
|
1844
1872
|
}
|
|
1845
1873
|
.px-3 {
|
|
1846
1874
|
padding-inline: calc(var(--spacing) * 3);
|
|
1847
1875
|
}
|
|
1876
|
+
.px-4 {
|
|
1877
|
+
padding-inline: calc(var(--spacing) * 4);
|
|
1878
|
+
}
|
|
1848
1879
|
.px-6 {
|
|
1849
1880
|
padding-inline: calc(var(--spacing) * 6);
|
|
1850
1881
|
}
|
|
@@ -1884,6 +1915,9 @@
|
|
|
1884
1915
|
.px-\[var\(--deframe-widget-size-padding-x-xs\)\] {
|
|
1885
1916
|
padding-inline: var(--deframe-widget-size-padding-x-xs);
|
|
1886
1917
|
}
|
|
1918
|
+
.py-0 {
|
|
1919
|
+
padding-block: calc(var(--spacing) * 0);
|
|
1920
|
+
}
|
|
1887
1921
|
.py-0\.5 {
|
|
1888
1922
|
padding-block: calc(var(--spacing) * 0.5);
|
|
1889
1923
|
}
|
|
@@ -2139,10 +2173,26 @@
|
|
|
2139
2173
|
.text-\[38px\] {
|
|
2140
2174
|
font-size: 38px;
|
|
2141
2175
|
}
|
|
2176
|
+
.text-\[length\:var\(--deframe-widget-font-size-md\)\] {
|
|
2177
|
+
font-size: var(--deframe-widget-font-size-md);
|
|
2178
|
+
}
|
|
2179
|
+
.text-\[length\:var\(--deframe-widget-font-size-sm\)\] {
|
|
2180
|
+
font-size: var(--deframe-widget-font-size-sm);
|
|
2181
|
+
}
|
|
2182
|
+
.text-\[length\:var\(--deframe-widget-font-size-xs\)\] {
|
|
2183
|
+
font-size: var(--deframe-widget-font-size-xs);
|
|
2184
|
+
}
|
|
2185
|
+
.text-\[length\:var\(--deframe-widget-font-size-xxl\)\] {
|
|
2186
|
+
font-size: var(--deframe-widget-font-size-xxl);
|
|
2187
|
+
}
|
|
2142
2188
|
.leading-4 {
|
|
2143
2189
|
--tw-leading: calc(var(--spacing) * 4);
|
|
2144
2190
|
line-height: calc(var(--spacing) * 4);
|
|
2145
2191
|
}
|
|
2192
|
+
.leading-5 {
|
|
2193
|
+
--tw-leading: calc(var(--spacing) * 5);
|
|
2194
|
+
line-height: calc(var(--spacing) * 5);
|
|
2195
|
+
}
|
|
2146
2196
|
.leading-\[1\.1\] {
|
|
2147
2197
|
--tw-leading: 1.1;
|
|
2148
2198
|
line-height: 1.1;
|
|
@@ -2179,6 +2229,22 @@
|
|
|
2179
2229
|
--tw-leading: 140%;
|
|
2180
2230
|
line-height: 140%;
|
|
2181
2231
|
}
|
|
2232
|
+
.leading-\[var\(--deframe-widget-font-leading-md\)\] {
|
|
2233
|
+
--tw-leading: var(--deframe-widget-font-leading-md);
|
|
2234
|
+
line-height: var(--deframe-widget-font-leading-md);
|
|
2235
|
+
}
|
|
2236
|
+
.leading-\[var\(--deframe-widget-font-leading-sm\)\] {
|
|
2237
|
+
--tw-leading: var(--deframe-widget-font-leading-sm);
|
|
2238
|
+
line-height: var(--deframe-widget-font-leading-sm);
|
|
2239
|
+
}
|
|
2240
|
+
.leading-\[var\(--deframe-widget-font-leading-xs\)\] {
|
|
2241
|
+
--tw-leading: var(--deframe-widget-font-leading-xs);
|
|
2242
|
+
line-height: var(--deframe-widget-font-leading-xs);
|
|
2243
|
+
}
|
|
2244
|
+
.leading-\[var\(--deframe-widget-font-leading-xxl\)\] {
|
|
2245
|
+
--tw-leading: var(--deframe-widget-font-leading-xxl);
|
|
2246
|
+
line-height: var(--deframe-widget-font-leading-xxl);
|
|
2247
|
+
}
|
|
2182
2248
|
.leading-none {
|
|
2183
2249
|
--tw-leading: 1;
|
|
2184
2250
|
line-height: 1;
|
|
@@ -2371,6 +2437,9 @@
|
|
|
2371
2437
|
.text-\[var\(--deframe-widget-color-state-warning\)\] {
|
|
2372
2438
|
color: var(--deframe-widget-color-state-warning);
|
|
2373
2439
|
}
|
|
2440
|
+
.text-\[var\(--deframe-widget-color-text-inverse\)\] {
|
|
2441
|
+
color: var(--deframe-widget-color-text-inverse);
|
|
2442
|
+
}
|
|
2374
2443
|
.text-\[var\(--deframe-widget-color-text-primary\)\] {
|
|
2375
2444
|
color: var(--deframe-widget-color-text-primary);
|
|
2376
2445
|
}
|
|
@@ -2765,6 +2834,16 @@
|
|
|
2765
2834
|
}
|
|
2766
2835
|
}
|
|
2767
2836
|
}
|
|
2837
|
+
.hover\:bg-\[color\:color-mix\(in_srgb\,var\(--deframe-widget-color-bg-tertiary\)_60\%\,transparent\)\] {
|
|
2838
|
+
&:hover {
|
|
2839
|
+
@media (hover: hover) {
|
|
2840
|
+
background-color: var(--deframe-widget-color-bg-tertiary);
|
|
2841
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2842
|
+
background-color: color-mix(in srgb,var(--deframe-widget-color-bg-tertiary) 60%,transparent);
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2768
2847
|
.hover\:bg-\[color\:color-mix\(in_srgb\,var\(--deframe-widget-color-bg-tertiary\)_72\%\,transparent\)\] {
|
|
2769
2848
|
&:hover {
|
|
2770
2849
|
@media (hover: hover) {
|
|
@@ -2829,6 +2908,13 @@
|
|
|
2829
2908
|
}
|
|
2830
2909
|
}
|
|
2831
2910
|
}
|
|
2911
|
+
.hover\:bg-\[var\(--deframe-widget-color-bg-subtle\)\] {
|
|
2912
|
+
&:hover {
|
|
2913
|
+
@media (hover: hover) {
|
|
2914
|
+
background-color: var(--deframe-widget-color-bg-subtle);
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2832
2918
|
.hover\:bg-blue-700 {
|
|
2833
2919
|
&:hover {
|
|
2834
2920
|
@media (hover: hover) {
|
|
@@ -2967,11 +3053,31 @@
|
|
|
2967
3053
|
opacity: 50%;
|
|
2968
3054
|
}
|
|
2969
3055
|
}
|
|
3056
|
+
.sm\:block {
|
|
3057
|
+
@media (width >= 40rem) {
|
|
3058
|
+
display: block;
|
|
3059
|
+
}
|
|
3060
|
+
}
|
|
3061
|
+
.sm\:flex {
|
|
3062
|
+
@media (width >= 40rem) {
|
|
3063
|
+
display: flex;
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
.sm\:grid-cols-\[1fr_160px_130px\] {
|
|
3067
|
+
@media (width >= 40rem) {
|
|
3068
|
+
grid-template-columns: 1fr 160px 130px;
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
2970
3071
|
.sm\:gap-4 {
|
|
2971
3072
|
@media (width >= 40rem) {
|
|
2972
3073
|
gap: calc(var(--spacing) * 4);
|
|
2973
3074
|
}
|
|
2974
3075
|
}
|
|
3076
|
+
.sm\:gap-x-\[var\(--deframe-widget-size-gap-md\)\] {
|
|
3077
|
+
@media (width >= 40rem) {
|
|
3078
|
+
column-gap: var(--deframe-widget-size-gap-md);
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
2975
3081
|
.md\:grid-cols-3 {
|
|
2976
3082
|
@media (width >= 48rem) {
|
|
2977
3083
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
@@ -3321,30 +3427,45 @@
|
|
|
3321
3427
|
--deframe-widget-color-brand-tint: #EEF0FF;
|
|
3322
3428
|
--deframe-widget-color-brand-tint-dark: #EEF0FF;
|
|
3323
3429
|
--deframe-widget-color-brand-tint-disabled: #525866;
|
|
3324
|
-
--deframe-widget-color-bg-
|
|
3325
|
-
--deframe-widget-color-bg-
|
|
3326
|
-
--deframe-widget-color-bg-
|
|
3430
|
+
--deframe-widget-color-bg-default: #121212;
|
|
3431
|
+
--deframe-widget-color-bg-default-dark: #121212;
|
|
3432
|
+
--deframe-widget-color-bg-default-disabled: #121212;
|
|
3433
|
+
--deframe-widget-color-bg-primary: #121212;
|
|
3434
|
+
--deframe-widget-color-bg-primary-dark: #121212;
|
|
3435
|
+
--deframe-widget-color-bg-primary-disabled: #121212;
|
|
3327
3436
|
--deframe-widget-color-bg-secondary: #181b25;
|
|
3328
|
-
--deframe-widget-color-bg-secondary-dark: #
|
|
3329
|
-
--deframe-widget-color-bg-secondary-disabled: #
|
|
3437
|
+
--deframe-widget-color-bg-secondary-dark: #232323;
|
|
3438
|
+
--deframe-widget-color-bg-secondary-disabled: #232323;
|
|
3330
3439
|
--deframe-widget-color-bg-tertiary: #222530;
|
|
3331
3440
|
--deframe-widget-color-bg-tertiary-dark: #222530;
|
|
3332
3441
|
--deframe-widget-color-bg-tertiary-disabled: #181b25;
|
|
3333
|
-
--deframe-widget-color-bg-
|
|
3334
|
-
--deframe-widget-color-bg-
|
|
3335
|
-
--deframe-widget-color-bg-
|
|
3442
|
+
--deframe-widget-color-bg-muted: #2c2c2c;
|
|
3443
|
+
--deframe-widget-color-bg-muted-dark: #2C2C2C;
|
|
3444
|
+
--deframe-widget-color-bg-muted-disabled: #2C2C2C;
|
|
3445
|
+
--deframe-widget-color-bg-subtle: #1E1E1E;
|
|
3446
|
+
--deframe-widget-color-bg-subtle-dark: #1E1E1E;
|
|
3447
|
+
--deframe-widget-color-bg-subtle-disabled: #1E1E1E;
|
|
3448
|
+
--deframe-widget-color-bg-raised: #232323;
|
|
3449
|
+
--deframe-widget-color-bg-raised-dark: #232323;
|
|
3450
|
+
--deframe-widget-color-bg-raised-disabled: #232323;
|
|
3336
3451
|
--deframe-widget-color-bg-inverse: #252050;
|
|
3337
3452
|
--deframe-widget-color-bg-inverse-dark: #252050;
|
|
3338
3453
|
--deframe-widget-color-bg-inverse-disabled: #252050;
|
|
3339
|
-
--deframe-widget-color-border-
|
|
3454
|
+
--deframe-widget-color-border-default: #2C2C2C;
|
|
3455
|
+
--deframe-widget-color-border-default-dark: #2C2C2C;
|
|
3456
|
+
--deframe-widget-color-border-default-disabled: #2C2C2C;
|
|
3457
|
+
--deframe-widget-color-border-primary: #232323;
|
|
3340
3458
|
--deframe-widget-color-border-primary-dark: #1FC16B66;
|
|
3341
3459
|
--deframe-widget-color-border-primary-disabled: #1FC16B2E;
|
|
3342
|
-
--deframe-widget-color-border-secondary: #
|
|
3343
|
-
--deframe-widget-color-border-secondary-dark: #
|
|
3344
|
-
--deframe-widget-color-border-secondary-disabled: #
|
|
3460
|
+
--deframe-widget-color-border-secondary: #232323;
|
|
3461
|
+
--deframe-widget-color-border-secondary-dark: #232323;
|
|
3462
|
+
--deframe-widget-color-border-secondary-disabled: #232323;
|
|
3345
3463
|
--deframe-widget-color-border-tertiary: #FFFFFF0D;
|
|
3346
3464
|
--deframe-widget-color-border-tertiary-dark: #FFFFFF0D;
|
|
3347
3465
|
--deframe-widget-color-border-tertiary-disabled: #FFFFFF08;
|
|
3466
|
+
--deframe-widget-color-border-subtle: #1E1E1E;
|
|
3467
|
+
--deframe-widget-color-border-subtle-dark: #1E1E1E;
|
|
3468
|
+
--deframe-widget-color-border-subtle-disabled: #1E1E1E;
|
|
3348
3469
|
--deframe-widget-color-state-success: #1fc16b;
|
|
3349
3470
|
--deframe-widget-color-state-warning: #f6a700;
|
|
3350
3471
|
--deframe-widget-color-state-error: #ff4d4f;
|