@synertech/ui 0.57.4 → 0.57.5
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/README.md +19 -0
- package/dist/styles-no-preflight.css +64 -0
- package/dist/styles.css +64 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -410,6 +410,25 @@ import {
|
|
|
410
410
|
</Table>
|
|
411
411
|
```
|
|
412
412
|
|
|
413
|
+
## With a code assistant
|
|
414
|
+
|
|
415
|
+
The package ships a usage guide for code assistants: the API of every
|
|
416
|
+
component, the ways to put them together and the mistakes to avoid. At the root
|
|
417
|
+
of your project, once the package is installed, one command copies it where
|
|
418
|
+
Claude Code looks for its skills:
|
|
419
|
+
|
|
420
|
+
```bash
|
|
421
|
+
npx @synertech/ui setup-claude-skill
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
Claude Code then uses it when a task involves the library, and
|
|
425
|
+
`/use-synertech-ui Select` calls it directly. The guide pre-authorizes reading
|
|
426
|
+
files and nothing else. After an upgrade, add `--force` to replace it with the
|
|
427
|
+
new version's. Other assistants read the same file at
|
|
428
|
+
`node_modules/@synertech/ui/.claude/skills/use-synertech-ui/SKILL.md`, and the
|
|
429
|
+
site publishes [llms.txt](https://ui.synertechweb.com/llms.txt). More on the
|
|
430
|
+
[Code assistants](https://ui.synertechweb.com/en/docs/assistants/) page.
|
|
431
|
+
|
|
413
432
|
## License
|
|
414
433
|
|
|
415
434
|
Free to install and use in your applications, including commercial ones.
|
|
@@ -1121,6 +1121,9 @@
|
|
|
1121
1121
|
.w-1\/3 {
|
|
1122
1122
|
width: calc(1/3 * 100%);
|
|
1123
1123
|
}
|
|
1124
|
+
.w-1\/5 {
|
|
1125
|
+
width: calc(1/5 * 100%);
|
|
1126
|
+
}
|
|
1124
1127
|
.w-2 {
|
|
1125
1128
|
width: calc(var(--spacing) * 2);
|
|
1126
1129
|
}
|
|
@@ -1320,6 +1323,9 @@
|
|
|
1320
1323
|
.min-w-\[18px\] {
|
|
1321
1324
|
min-width: 18px;
|
|
1322
1325
|
}
|
|
1326
|
+
.min-w-\[34rem\] {
|
|
1327
|
+
min-width: 34rem;
|
|
1328
|
+
}
|
|
1323
1329
|
.min-w-\[120px\] {
|
|
1324
1330
|
min-width: 120px;
|
|
1325
1331
|
}
|
|
@@ -3249,6 +3255,9 @@
|
|
|
3249
3255
|
.pb-8 {
|
|
3250
3256
|
padding-bottom: calc(var(--spacing) * 8);
|
|
3251
3257
|
}
|
|
3258
|
+
.pb-20 {
|
|
3259
|
+
padding-bottom: calc(var(--spacing) * 20);
|
|
3260
|
+
}
|
|
3252
3261
|
.pl-1 {
|
|
3253
3262
|
padding-left: calc(var(--spacing) * 1);
|
|
3254
3263
|
}
|
|
@@ -3291,6 +3300,9 @@
|
|
|
3291
3300
|
.align-middle {
|
|
3292
3301
|
vertical-align: middle;
|
|
3293
3302
|
}
|
|
3303
|
+
.align-top {
|
|
3304
|
+
vertical-align: top;
|
|
3305
|
+
}
|
|
3294
3306
|
.font-mono {
|
|
3295
3307
|
font-family: var(--font-mono);
|
|
3296
3308
|
}
|
|
@@ -3723,6 +3735,9 @@
|
|
|
3723
3735
|
.underline {
|
|
3724
3736
|
text-decoration-line: underline;
|
|
3725
3737
|
}
|
|
3738
|
+
.decoration-blue-300 {
|
|
3739
|
+
text-decoration-color: var(--color-blue-300);
|
|
3740
|
+
}
|
|
3726
3741
|
.decoration-gray-300 {
|
|
3727
3742
|
text-decoration-color: var(--color-gray-300);
|
|
3728
3743
|
}
|
|
@@ -5510,6 +5525,11 @@
|
|
|
5510
5525
|
display: block;
|
|
5511
5526
|
}
|
|
5512
5527
|
}
|
|
5528
|
+
.sm\:hidden {
|
|
5529
|
+
@media (width >= 40rem) {
|
|
5530
|
+
display: none;
|
|
5531
|
+
}
|
|
5532
|
+
}
|
|
5513
5533
|
.sm\:inline {
|
|
5514
5534
|
@media (width >= 40rem) {
|
|
5515
5535
|
display: inline;
|
|
@@ -5731,6 +5751,11 @@
|
|
|
5731
5751
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
5732
5752
|
}
|
|
5733
5753
|
}
|
|
5754
|
+
.lg\:gap-16 {
|
|
5755
|
+
@media (width >= 64rem) {
|
|
5756
|
+
gap: calc(var(--spacing) * 16);
|
|
5757
|
+
}
|
|
5758
|
+
}
|
|
5734
5759
|
.lg\:px-8 {
|
|
5735
5760
|
@media (width >= 64rem) {
|
|
5736
5761
|
padding-inline: calc(var(--spacing) * 8);
|
|
@@ -5746,6 +5771,11 @@
|
|
|
5746
5771
|
padding-top: calc(var(--spacing) * 28);
|
|
5747
5772
|
}
|
|
5748
5773
|
}
|
|
5774
|
+
.lg\:pb-28 {
|
|
5775
|
+
@media (width >= 64rem) {
|
|
5776
|
+
padding-bottom: calc(var(--spacing) * 28);
|
|
5777
|
+
}
|
|
5778
|
+
}
|
|
5749
5779
|
.lg\:text-4xl {
|
|
5750
5780
|
@media (width >= 64rem) {
|
|
5751
5781
|
font-size: var(--text-4xl);
|
|
@@ -9166,6 +9196,19 @@
|
|
|
9166
9196
|
}
|
|
9167
9197
|
}
|
|
9168
9198
|
}
|
|
9199
|
+
.dark\:decoration-blue-700 {
|
|
9200
|
+
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
9201
|
+
text-decoration-color: var(--color-blue-700);
|
|
9202
|
+
}
|
|
9203
|
+
@media (prefers-color-scheme: dark) {
|
|
9204
|
+
&:where(
|
|
9205
|
+
:root:not(.light):not([data-theme="light"]),
|
|
9206
|
+
:root:not(.light):not([data-theme="light"]) *
|
|
9207
|
+
) {
|
|
9208
|
+
text-decoration-color: var(--color-blue-700);
|
|
9209
|
+
}
|
|
9210
|
+
}
|
|
9211
|
+
}
|
|
9169
9212
|
.dark\:decoration-gray-600 {
|
|
9170
9213
|
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
9171
9214
|
text-decoration-color: var(--color-gray-600);
|
|
@@ -10304,6 +10347,27 @@
|
|
|
10304
10347
|
}
|
|
10305
10348
|
}
|
|
10306
10349
|
}
|
|
10350
|
+
.dark\:hover\:text-blue-200 {
|
|
10351
|
+
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
10352
|
+
&:hover {
|
|
10353
|
+
@media (hover: hover) {
|
|
10354
|
+
color: var(--color-blue-200);
|
|
10355
|
+
}
|
|
10356
|
+
}
|
|
10357
|
+
}
|
|
10358
|
+
@media (prefers-color-scheme: dark) {
|
|
10359
|
+
&:where(
|
|
10360
|
+
:root:not(.light):not([data-theme="light"]),
|
|
10361
|
+
:root:not(.light):not([data-theme="light"]) *
|
|
10362
|
+
) {
|
|
10363
|
+
&:hover {
|
|
10364
|
+
@media (hover: hover) {
|
|
10365
|
+
color: var(--color-blue-200);
|
|
10366
|
+
}
|
|
10367
|
+
}
|
|
10368
|
+
}
|
|
10369
|
+
}
|
|
10370
|
+
}
|
|
10307
10371
|
.dark\:hover\:text-blue-300 {
|
|
10308
10372
|
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
10309
10373
|
&:hover {
|
package/dist/styles.css
CHANGED
|
@@ -1284,6 +1284,9 @@
|
|
|
1284
1284
|
.w-1\/3 {
|
|
1285
1285
|
width: calc(1/3 * 100%);
|
|
1286
1286
|
}
|
|
1287
|
+
.w-1\/5 {
|
|
1288
|
+
width: calc(1/5 * 100%);
|
|
1289
|
+
}
|
|
1287
1290
|
.w-2 {
|
|
1288
1291
|
width: calc(var(--spacing) * 2);
|
|
1289
1292
|
}
|
|
@@ -1483,6 +1486,9 @@
|
|
|
1483
1486
|
.min-w-\[18px\] {
|
|
1484
1487
|
min-width: 18px;
|
|
1485
1488
|
}
|
|
1489
|
+
.min-w-\[34rem\] {
|
|
1490
|
+
min-width: 34rem;
|
|
1491
|
+
}
|
|
1486
1492
|
.min-w-\[120px\] {
|
|
1487
1493
|
min-width: 120px;
|
|
1488
1494
|
}
|
|
@@ -3412,6 +3418,9 @@
|
|
|
3412
3418
|
.pb-8 {
|
|
3413
3419
|
padding-bottom: calc(var(--spacing) * 8);
|
|
3414
3420
|
}
|
|
3421
|
+
.pb-20 {
|
|
3422
|
+
padding-bottom: calc(var(--spacing) * 20);
|
|
3423
|
+
}
|
|
3415
3424
|
.pl-1 {
|
|
3416
3425
|
padding-left: calc(var(--spacing) * 1);
|
|
3417
3426
|
}
|
|
@@ -3454,6 +3463,9 @@
|
|
|
3454
3463
|
.align-middle {
|
|
3455
3464
|
vertical-align: middle;
|
|
3456
3465
|
}
|
|
3466
|
+
.align-top {
|
|
3467
|
+
vertical-align: top;
|
|
3468
|
+
}
|
|
3457
3469
|
.font-mono {
|
|
3458
3470
|
font-family: var(--font-mono);
|
|
3459
3471
|
}
|
|
@@ -3886,6 +3898,9 @@
|
|
|
3886
3898
|
.underline {
|
|
3887
3899
|
text-decoration-line: underline;
|
|
3888
3900
|
}
|
|
3901
|
+
.decoration-blue-300 {
|
|
3902
|
+
text-decoration-color: var(--color-blue-300);
|
|
3903
|
+
}
|
|
3889
3904
|
.decoration-gray-300 {
|
|
3890
3905
|
text-decoration-color: var(--color-gray-300);
|
|
3891
3906
|
}
|
|
@@ -5673,6 +5688,11 @@
|
|
|
5673
5688
|
display: block;
|
|
5674
5689
|
}
|
|
5675
5690
|
}
|
|
5691
|
+
.sm\:hidden {
|
|
5692
|
+
@media (width >= 40rem) {
|
|
5693
|
+
display: none;
|
|
5694
|
+
}
|
|
5695
|
+
}
|
|
5676
5696
|
.sm\:inline {
|
|
5677
5697
|
@media (width >= 40rem) {
|
|
5678
5698
|
display: inline;
|
|
@@ -5894,6 +5914,11 @@
|
|
|
5894
5914
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
5895
5915
|
}
|
|
5896
5916
|
}
|
|
5917
|
+
.lg\:gap-16 {
|
|
5918
|
+
@media (width >= 64rem) {
|
|
5919
|
+
gap: calc(var(--spacing) * 16);
|
|
5920
|
+
}
|
|
5921
|
+
}
|
|
5897
5922
|
.lg\:px-8 {
|
|
5898
5923
|
@media (width >= 64rem) {
|
|
5899
5924
|
padding-inline: calc(var(--spacing) * 8);
|
|
@@ -5909,6 +5934,11 @@
|
|
|
5909
5934
|
padding-top: calc(var(--spacing) * 28);
|
|
5910
5935
|
}
|
|
5911
5936
|
}
|
|
5937
|
+
.lg\:pb-28 {
|
|
5938
|
+
@media (width >= 64rem) {
|
|
5939
|
+
padding-bottom: calc(var(--spacing) * 28);
|
|
5940
|
+
}
|
|
5941
|
+
}
|
|
5912
5942
|
.lg\:text-4xl {
|
|
5913
5943
|
@media (width >= 64rem) {
|
|
5914
5944
|
font-size: var(--text-4xl);
|
|
@@ -9329,6 +9359,19 @@
|
|
|
9329
9359
|
}
|
|
9330
9360
|
}
|
|
9331
9361
|
}
|
|
9362
|
+
.dark\:decoration-blue-700 {
|
|
9363
|
+
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
9364
|
+
text-decoration-color: var(--color-blue-700);
|
|
9365
|
+
}
|
|
9366
|
+
@media (prefers-color-scheme: dark) {
|
|
9367
|
+
&:where(
|
|
9368
|
+
:root:not(.light):not([data-theme="light"]),
|
|
9369
|
+
:root:not(.light):not([data-theme="light"]) *
|
|
9370
|
+
) {
|
|
9371
|
+
text-decoration-color: var(--color-blue-700);
|
|
9372
|
+
}
|
|
9373
|
+
}
|
|
9374
|
+
}
|
|
9332
9375
|
.dark\:decoration-gray-600 {
|
|
9333
9376
|
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
9334
9377
|
text-decoration-color: var(--color-gray-600);
|
|
@@ -10467,6 +10510,27 @@
|
|
|
10467
10510
|
}
|
|
10468
10511
|
}
|
|
10469
10512
|
}
|
|
10513
|
+
.dark\:hover\:text-blue-200 {
|
|
10514
|
+
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
10515
|
+
&:hover {
|
|
10516
|
+
@media (hover: hover) {
|
|
10517
|
+
color: var(--color-blue-200);
|
|
10518
|
+
}
|
|
10519
|
+
}
|
|
10520
|
+
}
|
|
10521
|
+
@media (prefers-color-scheme: dark) {
|
|
10522
|
+
&:where(
|
|
10523
|
+
:root:not(.light):not([data-theme="light"]),
|
|
10524
|
+
:root:not(.light):not([data-theme="light"]) *
|
|
10525
|
+
) {
|
|
10526
|
+
&:hover {
|
|
10527
|
+
@media (hover: hover) {
|
|
10528
|
+
color: var(--color-blue-200);
|
|
10529
|
+
}
|
|
10530
|
+
}
|
|
10531
|
+
}
|
|
10532
|
+
}
|
|
10533
|
+
}
|
|
10470
10534
|
.dark\:hover\:text-blue-300 {
|
|
10471
10535
|
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
10472
10536
|
&:hover {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synertech/ui",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React dashboards, from a single package: charts, a data grid, forms and accessible dialogs for React and Next.js, with a compiled stylesheet and labels in English and French.",
|
|
6
6
|
"main": "./dist/index.cjs",
|