jaci-ui 0.4.0 → 0.5.0
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 +8 -0
- package/README.md +37 -0
- package/dist/components/command/command.cjs +55 -34
- package/dist/components/command/command.cjs.map +1 -1
- package/dist/components/command/command.d.cts +1 -0
- package/dist/components/command/command.d.ts +1 -0
- package/dist/components/command/command.js +55 -34
- package/dist/components/command/command.js.map +1 -1
- package/dist/components/data-toolbar/data-toolbar.cjs +141 -0
- package/dist/components/data-toolbar/data-toolbar.cjs.map +1 -0
- package/dist/components/data-toolbar/data-toolbar.d.cts +50 -0
- package/dist/components/data-toolbar/data-toolbar.d.ts +50 -0
- package/dist/components/data-toolbar/data-toolbar.js +132 -0
- package/dist/components/data-toolbar/data-toolbar.js.map +1 -0
- package/dist/components/data-toolbar/index.d.cts +2 -0
- package/dist/components/data-toolbar/index.d.ts +2 -0
- package/dist/components/data-view/data-view.cjs +33 -1
- package/dist/components/data-view/data-view.cjs.map +1 -1
- package/dist/components/data-view/data-view.d.cts +12 -1
- package/dist/components/data-view/data-view.d.ts +12 -1
- package/dist/components/data-view/data-view.js +31 -2
- package/dist/components/data-view/data-view.js.map +1 -1
- package/dist/components/data-view/index.d.cts +2 -2
- package/dist/components/data-view/index.d.ts +2 -2
- package/dist/components/list/list.cjs +3 -1
- package/dist/components/list/list.cjs.map +1 -1
- package/dist/components/list/list.d.cts +3 -1
- package/dist/components/list/list.d.ts +3 -1
- package/dist/components/list/list.js +3 -1
- package/dist/components/list/list.js.map +1 -1
- package/dist/components/pagination/index.d.cts +2 -2
- package/dist/components/pagination/index.d.ts +2 -2
- package/dist/components/pagination/pagination.cjs +122 -21
- package/dist/components/pagination/pagination.cjs.map +1 -1
- package/dist/components/pagination/pagination.d.cts +25 -13
- package/dist/components/pagination/pagination.d.ts +25 -13
- package/dist/components/pagination/pagination.js +122 -23
- package/dist/components/pagination/pagination.js.map +1 -1
- package/dist/components/table/index.d.cts +2 -2
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/table.cjs +265 -46
- package/dist/components/table/table.cjs.map +1 -1
- package/dist/components/table/table.d.cts +41 -8
- package/dist/components/table/table.d.ts +41 -8
- package/dist/components/table/table.js +264 -48
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/tree-view/index.d.cts +2 -2
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/tree-view.cjs +60 -3
- package/dist/components/tree-view/tree-view.cjs.map +1 -1
- package/dist/components/tree-view/tree-view.d.cts +12 -1
- package/dist/components/tree-view/tree-view.d.ts +12 -1
- package/dist/components/tree-view/tree-view.js +58 -4
- package/dist/components/tree-view/tree-view.js.map +1 -1
- package/dist/index.cjs +22 -0
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +6 -5
- package/dist/styled-system/recipes/data-toolbar.cjs +40 -0
- package/dist/styled-system/recipes/data-toolbar.cjs.map +1 -0
- package/dist/styled-system/recipes/data-toolbar.js +40 -0
- package/dist/styled-system/recipes/data-toolbar.js.map +1 -0
- package/dist/styled-system/recipes/data-view.cjs +3 -0
- package/dist/styled-system/recipes/data-view.cjs.map +1 -1
- package/dist/styled-system/recipes/data-view.js +3 -0
- package/dist/styled-system/recipes/data-view.js.map +1 -1
- package/dist/styled-system/recipes/list.cjs +7 -1
- package/dist/styled-system/recipes/list.cjs.map +1 -1
- package/dist/styled-system/recipes/list.js +7 -1
- package/dist/styled-system/recipes/list.js.map +1 -1
- package/dist/styled-system/recipes/pagination.cjs +9 -1
- package/dist/styled-system/recipes/pagination.cjs.map +1 -1
- package/dist/styled-system/recipes/pagination.js +9 -1
- package/dist/styled-system/recipes/pagination.js.map +1 -1
- package/dist/styled-system/recipes/table.cjs +15 -2
- package/dist/styled-system/recipes/table.cjs.map +1 -1
- package/dist/styled-system/recipes/table.js +15 -2
- package/dist/styled-system/recipes/table.js.map +1 -1
- package/dist/styled-system/recipes/tree-view.cjs +4 -1
- package/dist/styled-system/recipes/tree-view.cjs.map +1 -1
- package/dist/styled-system/recipes/tree-view.js +4 -1
- package/dist/styled-system/recipes/tree-view.js.map +1 -1
- package/dist/styles.css +237 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -3448,6 +3448,142 @@
|
|
|
3448
3448
|
width: 1px;
|
|
3449
3449
|
}
|
|
3450
3450
|
|
|
3451
|
+
.jaci-data-toolbar__root {
|
|
3452
|
+
gap: var(--jaci-spacing-2);
|
|
3453
|
+
align-items: center;
|
|
3454
|
+
display: flex;
|
|
3455
|
+
flex-wrap: wrap;
|
|
3456
|
+
min-width: var(--jaci-sizes-0);
|
|
3457
|
+
width: 100%;
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
.jaci-data-toolbar__search {
|
|
3461
|
+
border-color: var(--jaci-colors-border-default);
|
|
3462
|
+
border-radius: var(--jaci-radii-lg);
|
|
3463
|
+
border-style: solid;
|
|
3464
|
+
border-width: 1px;
|
|
3465
|
+
flex: 1 1 14rem;
|
|
3466
|
+
outline: var(--jaci-borders-none);
|
|
3467
|
+
padding-inline: var(--jaci-spacing-3);
|
|
3468
|
+
padding-block: var(--jaci-spacing-2);
|
|
3469
|
+
background-color: var(--jaci-colors-surface-raised);
|
|
3470
|
+
box-sizing: border-box;
|
|
3471
|
+
color: var(--jaci-colors-fg-default);
|
|
3472
|
+
min-height: var(--jaci-sizes-10);
|
|
3473
|
+
min-width: 10rem;
|
|
3474
|
+
}
|
|
3475
|
+
|
|
3476
|
+
.jaci-data-toolbar__search:is(:focus-visible, [data-focus-visible]) {
|
|
3477
|
+
border-color: var(--jaci-colors-accent-default);
|
|
3478
|
+
outline: 2px solid;
|
|
3479
|
+
outline-color: var(--jaci-colors-focus);
|
|
3480
|
+
outline-offset: 1px;
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
.jaci-data-toolbar__filters {
|
|
3484
|
+
gap: var(--jaci-spacing-2);
|
|
3485
|
+
align-items: center;
|
|
3486
|
+
display: flex;
|
|
3487
|
+
flex-wrap: wrap;
|
|
3488
|
+
min-width: var(--jaci-sizes-0);
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
.jaci-data-toolbar__sort {
|
|
3492
|
+
border-color: var(--jaci-colors-border-default);
|
|
3493
|
+
border-radius: var(--jaci-radii-lg);
|
|
3494
|
+
border-style: solid;
|
|
3495
|
+
border-width: 1px;
|
|
3496
|
+
outline: var(--jaci-borders-none);
|
|
3497
|
+
padding-inline: var(--jaci-spacing-3);
|
|
3498
|
+
padding-block: var(--jaci-spacing-2);
|
|
3499
|
+
background-color: var(--jaci-colors-surface-raised);
|
|
3500
|
+
color: var(--jaci-colors-fg-default);
|
|
3501
|
+
max-width: 100%;
|
|
3502
|
+
min-height: var(--jaci-sizes-10);
|
|
3503
|
+
min-width: 9rem;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
.jaci-data-toolbar__sort:is(:focus-visible, [data-focus-visible]) {
|
|
3507
|
+
border-color: var(--jaci-colors-accent-default);
|
|
3508
|
+
outline: 2px solid;
|
|
3509
|
+
outline-color: var(--jaci-colors-focus);
|
|
3510
|
+
outline-offset: 1px;
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
.jaci-data-toolbar__selection {
|
|
3514
|
+
gap: var(--jaci-spacing-2);
|
|
3515
|
+
align-items: center;
|
|
3516
|
+
display: inline-flex;
|
|
3517
|
+
flex-wrap: wrap;
|
|
3518
|
+
min-width: var(--jaci-sizes-0);
|
|
3519
|
+
}
|
|
3520
|
+
|
|
3521
|
+
.jaci-data-toolbar__clearSelection {
|
|
3522
|
+
border: 0;
|
|
3523
|
+
border-radius: var(--jaci-radii-md);
|
|
3524
|
+
padding-inline: var(--jaci-spacing-2);
|
|
3525
|
+
align-items: center;
|
|
3526
|
+
background-color: var(--jaci-colors-transparent);
|
|
3527
|
+
color: var(--jaci-colors-accent-default);
|
|
3528
|
+
cursor: pointer;
|
|
3529
|
+
display: inline-flex;
|
|
3530
|
+
font-size: var(--jaci-font-sizes-sm);
|
|
3531
|
+
min-height: var(--jaci-sizes-8);
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3534
|
+
.jaci-data-toolbar__clearSelection:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) {
|
|
3535
|
+
cursor: not-allowed;
|
|
3536
|
+
opacity: 0.5;
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
.jaci-data-toolbar__clearSelection:is(:focus-visible, [data-focus-visible]) {
|
|
3540
|
+
outline: 2px solid;
|
|
3541
|
+
outline-color: var(--jaci-colors-focus);
|
|
3542
|
+
outline-offset: 1px;
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
.jaci-data-toolbar__clearSelection:is(:hover, [data-hover]) {
|
|
3546
|
+
background-color: var(--jaci-colors-surface-subtle);
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
.jaci-data-toolbar__actions {
|
|
3550
|
+
gap: var(--jaci-spacing-2);
|
|
3551
|
+
align-items: center;
|
|
3552
|
+
display: inline-flex;
|
|
3553
|
+
flex-wrap: wrap;
|
|
3554
|
+
margin-inline-start: auto;
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
.jaci-data-toolbar__clear {
|
|
3558
|
+
border: 0;
|
|
3559
|
+
border-radius: var(--jaci-radii-md);
|
|
3560
|
+
padding-inline: var(--jaci-spacing-2);
|
|
3561
|
+
align-items: center;
|
|
3562
|
+
background-color: var(--jaci-colors-transparent);
|
|
3563
|
+
color: var(--jaci-colors-fg-muted);
|
|
3564
|
+
cursor: pointer;
|
|
3565
|
+
display: inline-flex;
|
|
3566
|
+
min-height: var(--jaci-sizes-8);
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
.jaci-data-toolbar__clear:is(:focus-visible, [data-focus-visible]) {
|
|
3570
|
+
outline: 2px solid;
|
|
3571
|
+
outline-color: var(--jaci-colors-focus);
|
|
3572
|
+
outline-offset: 1px;
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
.jaci-data-toolbar__clear:is(:hover, [data-hover]) {
|
|
3576
|
+
background-color: var(--jaci-colors-surface-subtle);
|
|
3577
|
+
color: var(--jaci-colors-fg-default);
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
.jaci-data-toolbar__separator {
|
|
3581
|
+
background-color: var(--jaci-colors-border-default);
|
|
3582
|
+
flex-shrink: 0;
|
|
3583
|
+
height: var(--jaci-sizes-6);
|
|
3584
|
+
width: 1px;
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3451
3587
|
.jaci-data-view__root {
|
|
3452
3588
|
gap: var(--jaci-spacing-4);
|
|
3453
3589
|
color: var(--jaci-colors-fg-default);
|
|
@@ -3477,10 +3613,18 @@
|
|
|
3477
3613
|
|
|
3478
3614
|
.jaci-data-view__toolbar {
|
|
3479
3615
|
gap: var(--jaci-spacing-3);
|
|
3616
|
+
justify-content: space-between;
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
.jaci-data-view__toolbar,.jaci-data-view__filters {
|
|
3480
3620
|
align-items: center;
|
|
3481
3621
|
display: flex;
|
|
3482
3622
|
flex-wrap: wrap;
|
|
3483
|
-
|
|
3623
|
+
}
|
|
3624
|
+
|
|
3625
|
+
.jaci-data-view__filters {
|
|
3626
|
+
gap: var(--jaci-spacing-2);
|
|
3627
|
+
min-width: var(--jaci-sizes-0);
|
|
3484
3628
|
}
|
|
3485
3629
|
|
|
3486
3630
|
.jaci-data-view__content {
|
|
@@ -3488,6 +3632,19 @@
|
|
|
3488
3632
|
width: 100%;
|
|
3489
3633
|
}
|
|
3490
3634
|
|
|
3635
|
+
.jaci-data-view__footer {
|
|
3636
|
+
gap: var(--jaci-spacing-3);
|
|
3637
|
+
align-items: center;
|
|
3638
|
+
display: flex;
|
|
3639
|
+
flex-wrap: wrap;
|
|
3640
|
+
justify-content: space-between;
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
.jaci-data-view__pagination {
|
|
3644
|
+
min-width: var(--jaci-sizes-0);
|
|
3645
|
+
width: 100%;
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3491
3648
|
.jaci-data-view__loading,.jaci-data-view__empty {
|
|
3492
3649
|
padding: var(--jaci-spacing-8);
|
|
3493
3650
|
align-items: center;
|
|
@@ -6604,6 +6761,12 @@
|
|
|
6604
6761
|
font-weight: 600;
|
|
6605
6762
|
}
|
|
6606
6763
|
|
|
6764
|
+
.jaci-table__description {
|
|
6765
|
+
margin-block: var(--jaci-spacing-2);
|
|
6766
|
+
color: var(--jaci-colors-fg-muted);
|
|
6767
|
+
font-size: var(--jaci-font-sizes-sm);
|
|
6768
|
+
}
|
|
6769
|
+
|
|
6607
6770
|
.jaci-table__header {
|
|
6608
6771
|
background-color: var(--jaci-colors-surface-default);
|
|
6609
6772
|
}
|
|
@@ -6645,6 +6808,22 @@
|
|
|
6645
6808
|
white-space: nowrap;
|
|
6646
6809
|
}
|
|
6647
6810
|
|
|
6811
|
+
.jaci-table__head[data-align=start] {
|
|
6812
|
+
text-align: left;
|
|
6813
|
+
}
|
|
6814
|
+
|
|
6815
|
+
.jaci-table__head[data-align=center] {
|
|
6816
|
+
text-align: center;
|
|
6817
|
+
}
|
|
6818
|
+
|
|
6819
|
+
.jaci-table__head[data-align=end] {
|
|
6820
|
+
text-align: right;
|
|
6821
|
+
}
|
|
6822
|
+
|
|
6823
|
+
.jaci-table__head[data-hide-below=sm],.jaci-table__head[data-hide-below=md],.jaci-table__head[data-hide-below=lg] {
|
|
6824
|
+
display: none;
|
|
6825
|
+
}
|
|
6826
|
+
|
|
6648
6827
|
.jaci-table__sortButton {
|
|
6649
6828
|
background: var(--jaci-colors-transparent);
|
|
6650
6829
|
border: 0;
|
|
@@ -6676,6 +6855,22 @@
|
|
|
6676
6855
|
vertical-align: middle;
|
|
6677
6856
|
}
|
|
6678
6857
|
|
|
6858
|
+
.jaci-table__cell[data-align=start] {
|
|
6859
|
+
text-align: left;
|
|
6860
|
+
}
|
|
6861
|
+
|
|
6862
|
+
.jaci-table__cell[data-align=center] {
|
|
6863
|
+
text-align: center;
|
|
6864
|
+
}
|
|
6865
|
+
|
|
6866
|
+
.jaci-table__cell[data-align=end] {
|
|
6867
|
+
text-align: right;
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6870
|
+
.jaci-table__cell[data-hide-below=sm],.jaci-table__cell[data-hide-below=md],.jaci-table__cell[data-hide-below=lg] {
|
|
6871
|
+
display: none;
|
|
6872
|
+
}
|
|
6873
|
+
|
|
6679
6874
|
.jaci-table__selection {
|
|
6680
6875
|
padding-inline: var(--jaci-spacing-3);
|
|
6681
6876
|
text-align: center;
|
|
@@ -7599,6 +7794,19 @@
|
|
|
7599
7794
|
min-width: var(--jaci-sizes-0);
|
|
7600
7795
|
}
|
|
7601
7796
|
|
|
7797
|
+
.jaci-tree-view__loading,.jaci-tree-view__empty {
|
|
7798
|
+
color: var(--jaci-colors-fg-muted);
|
|
7799
|
+
}
|
|
7800
|
+
|
|
7801
|
+
.jaci-tree-view__loading,.jaci-tree-view__empty,.jaci-tree-view__error {
|
|
7802
|
+
padding: var(--jaci-spacing-2);
|
|
7803
|
+
font-size: var(--jaci-font-sizes-sm);
|
|
7804
|
+
}
|
|
7805
|
+
|
|
7806
|
+
.jaci-tree-view__error {
|
|
7807
|
+
color: var(--jaci-colors-danger);
|
|
7808
|
+
}
|
|
7809
|
+
|
|
7602
7810
|
.jaci-upload__root {
|
|
7603
7811
|
gap: var(--jaci-spacing-3);
|
|
7604
7812
|
width: 100%;
|
|
@@ -7901,6 +8109,9 @@
|
|
|
7901
8109
|
}
|
|
7902
8110
|
.jaci-navbar__drawer {
|
|
7903
8111
|
width: 66.666667%;
|
|
8112
|
+
}
|
|
8113
|
+
.jaci-table__head[data-hide-below=sm],.jaci-table__cell[data-hide-below=sm] {
|
|
8114
|
+
display: table-cell;
|
|
7904
8115
|
}
|
|
7905
8116
|
}
|
|
7906
8117
|
|
|
@@ -7967,6 +8178,9 @@
|
|
|
7967
8178
|
font-size: var(--jaci-font-sizes-md);
|
|
7968
8179
|
min-height: var(--jaci-sizes-10);
|
|
7969
8180
|
min-width: var(--jaci-sizes-10);
|
|
8181
|
+
}
|
|
8182
|
+
.jaci-table__head[data-hide-below=md],.jaci-table__cell[data-hide-below=md] {
|
|
8183
|
+
display: table-cell;
|
|
7970
8184
|
}
|
|
7971
8185
|
.jaci-toast__viewport {
|
|
7972
8186
|
bottom: var(--jaci-spacing-6);
|
|
@@ -8003,6 +8217,9 @@
|
|
|
8003
8217
|
}
|
|
8004
8218
|
.jaci-bottomNavigation__root {
|
|
8005
8219
|
border-radius: var(--jaci-radii-2xl);
|
|
8220
|
+
}
|
|
8221
|
+
.jaci-table__head[data-hide-below=lg],.jaci-table__cell[data-hide-below=lg] {
|
|
8222
|
+
display: table-cell;
|
|
8006
8223
|
}
|
|
8007
8224
|
}
|
|
8008
8225
|
}
|
|
@@ -8229,6 +8446,11 @@
|
|
|
8229
8446
|
border-bottom: 0;
|
|
8230
8447
|
}
|
|
8231
8448
|
|
|
8449
|
+
.jaci-list__item--density_compact {
|
|
8450
|
+
padding-block: var(--jaci-spacing-2);
|
|
8451
|
+
padding-inline: var(--jaci-spacing-3);
|
|
8452
|
+
}
|
|
8453
|
+
|
|
8232
8454
|
.jaci-list__item--variant_divided {
|
|
8233
8455
|
border-radius: 0;
|
|
8234
8456
|
border-bottom-color: var(--jaci-colors-border-default);
|
|
@@ -8369,6 +8591,16 @@
|
|
|
8369
8591
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
8370
8592
|
}
|
|
8371
8593
|
|
|
8594
|
+
.jaci-pagination__link--density_compact {
|
|
8595
|
+
padding-inline: var(--jaci-spacing-2);
|
|
8596
|
+
font-size: var(--jaci-font-sizes-sm);
|
|
8597
|
+
}
|
|
8598
|
+
|
|
8599
|
+
.jaci-pagination__link--density_compact,.jaci-pagination__ellipsis--density_compact {
|
|
8600
|
+
min-height: var(--jaci-sizes-8);
|
|
8601
|
+
min-width: var(--jaci-sizes-8);
|
|
8602
|
+
}
|
|
8603
|
+
|
|
8372
8604
|
.jaci-pagination__link--active_true {
|
|
8373
8605
|
border-color: var(--jaci-colors-accent-default);
|
|
8374
8606
|
background-color: var(--jaci-colors-accent-default);
|
|
@@ -8744,4 +8976,8 @@
|
|
|
8744
8976
|
.jaci-flex-d_horizontal {
|
|
8745
8977
|
flex-direction: horizontal;
|
|
8746
8978
|
}
|
|
8979
|
+
|
|
8980
|
+
.jaci-page_1 {
|
|
8981
|
+
page: 1px;
|
|
8982
|
+
}
|
|
8747
8983
|
}
|