@nubitio/react-admin 2.0.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.
Files changed (2) hide show
  1. package/dist/style.css +50 -0
  2. 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%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/react-admin",
3
- "version": "2.0.0",
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/admin": "^2.0.0",
54
- "@nubitio/core": "^2.0.0",
55
- "@nubitio/dashboard": "^2.0.0",
56
- "@nubitio/crud": "^2.0.0",
57
- "@nubitio/hydra": "^2.0.0",
58
- "@nubitio/ui": "^2.0.0"
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",