@object-ui/components 4.5.0 → 4.7.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 CHANGED
@@ -1,5 +1,36 @@
1
1
  # @object-ui/components
2
2
 
3
+ ## 4.7.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @object-ui/types@4.7.0
8
+ - @object-ui/core@4.7.0
9
+ - @object-ui/i18n@4.7.0
10
+ - @object-ui/react@4.7.0
11
+
12
+ ## 4.6.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 3ee436d: feat(components): add `RelatedCountStore` runtime cache + `useRelatedCount`
17
+ hook (built on `useSyncExternalStore`, no new deps). Replaces
18
+ `PageTabsRenderer`'s local per-instance `derivedCounts` state with a
19
+ shared module-scoped store so multiple consumers of the same
20
+ object/parent pair share a single probe.
21
+
22
+ Wires `useBulkExecutor` to call `RelatedCountStore.invalidate(resource)`
23
+ after any successful bulk update/delete, so related-list badges on
24
+ parent records re-probe automatically on the next render instead of
25
+ showing stale counts.
26
+
27
+ ### Patch Changes
28
+
29
+ - @object-ui/types@4.6.0
30
+ - @object-ui/core@4.6.0
31
+ - @object-ui/i18n@4.6.0
32
+ - @object-ui/react@4.6.0
33
+
3
34
  ## 4.5.0
4
35
 
5
36
  ### Minor Changes
package/dist/index.css CHANGED
@@ -89,6 +89,7 @@
89
89
  --font-weight-bold: 700;
90
90
  --font-weight-extrabold: 800;
91
91
  --tracking-tight: -0.025em;
92
+ --tracking-wide: 0.025em;
92
93
  --tracking-wider: 0.05em;
93
94
  --tracking-widest: 0.1em;
94
95
  --leading-tight: 1.25;
@@ -396,6 +397,9 @@
396
397
  .right-4 {
397
398
  right: calc(var(--spacing) * 4);
398
399
  }
400
+ .right-12 {
401
+ right: calc(var(--spacing) * 12);
402
+ }
399
403
  .-bottom-12 {
400
404
  bottom: calc(var(--spacing) * -12);
401
405
  }
@@ -429,6 +433,9 @@
429
433
  .z-20 {
430
434
  z-index: 20;
431
435
  }
436
+ .z-30 {
437
+ z-index: 30;
438
+ }
432
439
  .z-50 {
433
440
  z-index: 50;
434
441
  }
@@ -1013,6 +1020,9 @@
1013
1020
  .w-\[450px\] {
1014
1021
  width: 450px;
1015
1022
  }
1023
+ .w-\[calc\(100vw-1rem\)\] {
1024
+ width: calc(100vw - 1rem);
1025
+ }
1016
1026
  .w-auto {
1017
1027
  width: auto;
1018
1028
  }
@@ -1028,6 +1038,9 @@
1028
1038
  .w-px {
1029
1039
  width: 1px;
1030
1040
  }
1041
+ .w-screen {
1042
+ width: 100vw;
1043
+ }
1031
1044
  .max-w-\(--skeleton-width\) {
1032
1045
  max-width: var(--skeleton-width);
1033
1046
  }
@@ -1263,6 +1276,9 @@
1263
1276
  .touch-none {
1264
1277
  touch-action: none;
1265
1278
  }
1279
+ .resize {
1280
+ resize: both;
1281
+ }
1266
1282
  .resize-none {
1267
1283
  resize: none;
1268
1284
  }
@@ -2188,6 +2204,10 @@
2188
2204
  --tw-tracking: var(--tracking-tight);
2189
2205
  letter-spacing: var(--tracking-tight);
2190
2206
  }
2207
+ .tracking-wide {
2208
+ --tw-tracking: var(--tracking-wide);
2209
+ letter-spacing: var(--tracking-wide);
2210
+ }
2191
2211
  .tracking-wider {
2192
2212
  --tw-tracking: var(--tracking-wider);
2193
2213
  letter-spacing: var(--tracking-wider);
@@ -3251,6 +3271,16 @@
3251
3271
  }
3252
3272
  }
3253
3273
  }
3274
+ .hover\:bg-primary\/40 {
3275
+ &:hover {
3276
+ @media (hover: hover) {
3277
+ background-color: color-mix(in srgb, hsl(var(--primary)) 40%, transparent);
3278
+ @supports (color: color-mix(in lab, red, red)) {
3279
+ background-color: color-mix(in oklab, var(--color-primary) 40%, transparent);
3280
+ }
3281
+ }
3282
+ }
3283
+ }
3254
3284
  .hover\:bg-primary\/80 {
3255
3285
  &:hover {
3256
3286
  @media (hover: hover) {
@@ -3609,6 +3639,14 @@
3609
3639
  background-color: var(--color-muted);
3610
3640
  }
3611
3641
  }
3642
+ .active\:bg-primary\/60 {
3643
+ &:active {
3644
+ background-color: color-mix(in srgb, hsl(var(--primary)) 60%, transparent);
3645
+ @supports (color: color-mix(in lab, red, red)) {
3646
+ background-color: color-mix(in oklab, var(--color-primary) 60%, transparent);
3647
+ }
3648
+ }
3649
+ }
3612
3650
  .active\:bg-sidebar-accent {
3613
3651
  &:active {
3614
3652
  background-color: var(--color-sidebar-accent);
@@ -4394,6 +4432,11 @@
4394
4432
  margin-top: calc(var(--spacing) * 0);
4395
4433
  }
4396
4434
  }
4435
+ .sm\:block {
4436
+ @media (width >= 40rem) {
4437
+ display: block;
4438
+ }
4439
+ }
4397
4440
  .sm\:flex {
4398
4441
  @media (width >= 40rem) {
4399
4442
  display: flex;
@@ -4469,9 +4512,9 @@
4469
4512
  width: auto;
4470
4513
  }
4471
4514
  }
4472
- .sm\:max-w-2xl {
4515
+ .sm\:w-full {
4473
4516
  @media (width >= 40rem) {
4474
- max-width: var(--container-2xl);
4517
+ width: 100%;
4475
4518
  }
4476
4519
  }
4477
4520
  .sm\:max-w-3xl {
@@ -4489,6 +4532,16 @@
4489
4532
  max-width: 425px;
4490
4533
  }
4491
4534
  }
4535
+ .sm\:max-w-\[var\(--ov-w\)\] {
4536
+ @media (width >= 40rem) {
4537
+ max-width: var(--ov-w);
4538
+ }
4539
+ }
4540
+ .sm\:max-w-\[var\(--ov-w\,42rem\)\] {
4541
+ @media (width >= 40rem) {
4542
+ max-width: var(--ov-w,42rem);
4543
+ }
4544
+ }
4492
4545
  .sm\:max-w-lg {
4493
4546
  @media (width >= 40rem) {
4494
4547
  max-width: var(--container-lg);
@@ -5701,6 +5754,11 @@
5701
5754
  display: none;
5702
5755
  }
5703
5756
  }
5757
+ .\[\&\>button\:last-of-type\]\:hidden {
5758
+ &>button:last-of-type {
5759
+ display: none;
5760
+ }
5761
+ }
5704
5762
  .\[\&\>input\]\:flex-1 {
5705
5763
  &>input {
5706
5764
  flex: 1;