@nubitio/react-admin 1.4.0 → 2.1.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/dist/style.css +74 -0
- package/package.json +7 -7
package/dist/style.css
CHANGED
|
@@ -567,6 +567,14 @@ samp {
|
|
|
567
567
|
transform: rotate(360deg);
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
+
.nb-button--link {
|
|
571
|
+
text-decoration: none;
|
|
572
|
+
}
|
|
573
|
+
.nb-button--link.nb-button--disabled {
|
|
574
|
+
cursor: default;
|
|
575
|
+
opacity: 0.6;
|
|
576
|
+
pointer-events: none;
|
|
577
|
+
}
|
|
570
578
|
@keyframes dialog-enter {
|
|
571
579
|
from {
|
|
572
580
|
opacity: 0;
|
|
@@ -774,6 +782,48 @@ html[data-density=compact] .nb-dialog__footer {
|
|
|
774
782
|
letter-spacing: -0.015em;
|
|
775
783
|
line-height: var(--line-height-tight);
|
|
776
784
|
}
|
|
785
|
+
.nb-quantity-stepper {
|
|
786
|
+
align-items: center;
|
|
787
|
+
display: inline-flex;
|
|
788
|
+
gap: var(--space-1);
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.nb-quantity-stepper__button {
|
|
792
|
+
align-items: center;
|
|
793
|
+
background: var(--surface-1);
|
|
794
|
+
border: 1px solid var(--border-color);
|
|
795
|
+
border-radius: var(--radius-md);
|
|
796
|
+
color: var(--text-primary);
|
|
797
|
+
cursor: pointer;
|
|
798
|
+
display: inline-flex;
|
|
799
|
+
height: var(--control-height);
|
|
800
|
+
justify-content: center;
|
|
801
|
+
padding: 0;
|
|
802
|
+
width: var(--control-height);
|
|
803
|
+
}
|
|
804
|
+
.nb-quantity-stepper__button:focus-visible {
|
|
805
|
+
box-shadow: 0 0 0 3px var(--focus-ring-color);
|
|
806
|
+
outline: none;
|
|
807
|
+
}
|
|
808
|
+
.nb-quantity-stepper__button:not(:disabled):hover {
|
|
809
|
+
border-color: var(--accent-color);
|
|
810
|
+
color: var(--accent-color);
|
|
811
|
+
}
|
|
812
|
+
.nb-quantity-stepper__button:disabled {
|
|
813
|
+
cursor: default;
|
|
814
|
+
opacity: 0.5;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.nb-quantity-stepper__value {
|
|
818
|
+
color: var(--text-primary);
|
|
819
|
+
font-variant-numeric: tabular-nums;
|
|
820
|
+
min-width: 3ch;
|
|
821
|
+
text-align: center;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.nb-quantity-stepper__unit {
|
|
825
|
+
color: var(--text-muted);
|
|
826
|
+
}
|
|
777
827
|
.nb-card {
|
|
778
828
|
display: flex;
|
|
779
829
|
height: 100%;
|
|
@@ -6698,6 +6748,30 @@ html[data-density=compact] .nb-datagrid .nb-badge {
|
|
|
6698
6748
|
border: 0;
|
|
6699
6749
|
}
|
|
6700
6750
|
}
|
|
6751
|
+
.nb-datagrid--cards-compact .nb-datagrid__cards {
|
|
6752
|
+
gap: var(--space-2);
|
|
6753
|
+
}
|
|
6754
|
+
.nb-datagrid--cards-compact .nb-datagrid__card-body,
|
|
6755
|
+
.nb-datagrid--cards-compact .nb-datagrid__card--skeleton {
|
|
6756
|
+
gap: var(--space-2);
|
|
6757
|
+
padding: var(--space-2);
|
|
6758
|
+
}
|
|
6759
|
+
.nb-datagrid--cards-compact .nb-datagrid__card--media .nb-datagrid__card-body {
|
|
6760
|
+
padding: 0;
|
|
6761
|
+
}
|
|
6762
|
+
.nb-datagrid--cards-compact .nb-datagrid__card--media .nb-datagrid__card-copy {
|
|
6763
|
+
padding: var(--space-2);
|
|
6764
|
+
}
|
|
6765
|
+
.nb-datagrid--cards-compact .nb-datagrid__card-media {
|
|
6766
|
+
height: 96px;
|
|
6767
|
+
}
|
|
6768
|
+
@media (min-width: 768px) {
|
|
6769
|
+
.nb-datagrid--cards-compact .nb-datagrid__cards {
|
|
6770
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
|
|
6771
|
+
padding: var(--space-2);
|
|
6772
|
+
}
|
|
6773
|
+
}
|
|
6774
|
+
|
|
6701
6775
|
.nb-datagrid__card-title {
|
|
6702
6776
|
color: var(--text-primary);
|
|
6703
6777
|
font-size: var(--font-size-sm);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubitio/react-admin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@nubitio/
|
|
54
|
-
"@nubitio/admin": "^1.
|
|
55
|
-
"@nubitio/
|
|
56
|
-
"@nubitio/
|
|
57
|
-
"@nubitio/
|
|
58
|
-
"@nubitio/
|
|
53
|
+
"@nubitio/crud": "^2.1.0",
|
|
54
|
+
"@nubitio/admin": "^2.1.0",
|
|
55
|
+
"@nubitio/ui": "^2.1.0",
|
|
56
|
+
"@nubitio/dashboard": "^2.1.0",
|
|
57
|
+
"@nubitio/core": "^2.1.0",
|
|
58
|
+
"@nubitio/hydra": "^2.1.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@tanstack/react-query": "^5.0.0",
|