@orbitcommerce/constellation 1.2.0 → 1.2.1

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 (45) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/index.cjs +1417 -1271
  3. package/dist/index.d.cts +16 -5
  4. package/dist/index.d.ts +16 -5
  5. package/dist/modules/charts/BarChart.js +8 -2
  6. package/dist/modules/chunks/{chunk-BQPZL3XZ.js → chunk-5AJJKEPJ.js} +1 -1
  7. package/dist/modules/chunks/{chunk-IAI6LBP7.js → chunk-IJ34OAQ4.js} +1 -1
  8. package/dist/modules/chunks/{chunk-26BBBTBT.js → chunk-NYXMCKSQ.js} +15 -3
  9. package/dist/modules/chunks/{chunk-4FC4UJJ4.js → chunk-PKANW3SX.js} +1 -1
  10. package/dist/modules/chunks/{chunk-2NOGHGEU.js → chunk-T5XBIQ5C.js} +97 -5
  11. package/dist/modules/chunks/{chunk-G7576I2R.js → chunk-T7Y6VU4F.js} +1 -1
  12. package/dist/modules/chunks/{chunk-LXZEAWTG.js → chunk-WAVDSHPC.js} +4 -2
  13. package/dist/modules/chunks/{chunk-MSWXH7V3.js → chunk-YCS3IVCC.js} +21 -0
  14. package/dist/modules/components/AddressBlock.js +12 -3
  15. package/dist/modules/components/AddressFields.js +3 -3
  16. package/dist/modules/components/ColorField.js +2 -2
  17. package/dist/modules/components/Combobox.js +2 -2
  18. package/dist/modules/components/ConditionBuilder.js +3 -3
  19. package/dist/modules/components/FigureStrip.js +1 -1
  20. package/dist/modules/components/FigureTabs.js +1 -1
  21. package/dist/modules/components/GradientEditor.js +2 -2
  22. package/dist/modules/components/MarkdownField.js +1 -1
  23. package/dist/modules/components/PlanComparison.js +1 -1
  24. package/dist/modules/components/PlanGrid.js +1 -1
  25. package/dist/modules/components/RichTextEditor.js +2 -2
  26. package/dist/modules/components/SectionRail.js +6 -2
  27. package/dist/modules/components/SettingRow.js +2 -2
  28. package/dist/modules/components/SkeletonRow.js +1 -1
  29. package/dist/modules/components/Table.js +1 -1
  30. package/dist/modules/components/TableReorder.js +1 -1
  31. package/dist/modules/components/Tabs.js +1 -1
  32. package/dist/modules/components/TimeZoneSelect.js +3 -3
  33. package/dist/modules/components/TreeSelect.js +2 -2
  34. package/dist/modules/components/ValueChange.js +1 -1
  35. package/dist/modules/components/WeeklyHours.js +3 -3
  36. package/dist/styles/components/address-block.css +10 -0
  37. package/dist/styles/components/card.css +2 -0
  38. package/dist/styles/components/color-field.css +4 -1
  39. package/dist/styles/components/figure-strip.css +14 -0
  40. package/dist/styles/components/plan-grid.css +8 -0
  41. package/dist/styles/components/radio-group.css +40 -0
  42. package/dist/styles/components/table.css +6 -21
  43. package/dist/styles/components/tabs.css +4 -0
  44. package/dist/styles.css +88 -22
  45. package/package.json +11 -11
@@ -133,7 +133,7 @@ var PlanGrid = forwardRef(function PlanGrid2({
133
133
  actions: empty?.actions
134
134
  }
135
135
  ) : /* @__PURE__ */ jsx("ul", { ...listProps, "aria-label": label, children: cards.map((card, index) => /* @__PURE__ */ jsx("li", { children: card }, card.key ?? index)) }),
136
- footnote ? /* @__PURE__ */ jsx("p", { className: "o-plan-grid__footnote", children: footnote }) : null,
136
+ footnote ? /* @__PURE__ */ jsx("div", { className: "o-plan-grid__footnote", children: footnote }) : null,
137
137
  /* @__PURE__ */ jsx(LiveStatus, { children: loading ? words.loading : null })
138
138
  ] });
139
139
  });
@@ -28,7 +28,7 @@ import {
28
28
  TabsContent,
29
29
  TabsList,
30
30
  TabsTrigger
31
- } from "../chunks/chunk-MSWXH7V3.js";
31
+ } from "../chunks/chunk-YCS3IVCC.js";
32
32
  import "../chunks/chunk-GC6UJB65.js";
33
33
  import {
34
34
  ColorPicker
@@ -608,7 +608,7 @@ function RichTextEditorImpl({
608
608
  setLinkOpen(false);
609
609
  };
610
610
  const countStorage = editor?.storage?.characterCount;
611
- const characters = typeof countStorage?.characters === "function" ? countStorage.characters() : editor?.getText().length ?? 0;
611
+ const characters = typeof countStorage?.characters === "function" ? countStorage.characters() : editor && editor.schema !== null ? editor.getText().length : 0;
612
612
  const over = characterLimit !== void 0 && characters > characterLimit;
613
613
  const linkActive = active("link");
614
614
  return /* @__PURE__ */ jsxs(
@@ -32,8 +32,12 @@ function useSectionSpy(ids, options = {}) {
32
32
  }
33
33
  const scrolled = root ? root.scrollTop : window.scrollY;
34
34
  const height = root ? root.clientHeight : window.innerHeight;
35
- const left = Math.max(0, (root ? root.scrollHeight : document.documentElement.scrollHeight) - height - scrolled);
36
- const line = offset + Math.max(0, height - offset - left);
35
+ const scrollHeight = root ? root.scrollHeight : document.documentElement.scrollHeight;
36
+ const travel = Math.max(0, height - offset);
37
+ const end = Math.max(0, scrollHeight - height);
38
+ const stretch = Math.min(travel, end);
39
+ const progress = stretch > 0 ? Math.min(1, Math.max(0, (scrolled - (end - stretch)) / stretch)) : 0;
40
+ const line = offset + travel * progress;
37
41
  const containerTop = root ? root.getBoundingClientRect().top : 0;
38
42
  let found = first;
39
43
  for (const id of list) {
@@ -18,8 +18,8 @@ import "../chunks/chunk-IO3JRJYC.js";
18
18
  import "../chunks/chunk-4YQLOFYE.js";
19
19
  import {
20
20
  Combobox
21
- } from "../chunks/chunk-G7576I2R.js";
22
- import "../chunks/chunk-26BBBTBT.js";
21
+ } from "../chunks/chunk-T7Y6VU4F.js";
22
+ import "../chunks/chunk-NYXMCKSQ.js";
23
23
  import "../chunks/chunk-GC6UJB65.js";
24
24
  import {
25
25
  Checkbox
@@ -6,7 +6,7 @@ import {
6
6
  TableHead,
7
7
  TableHeaderCell,
8
8
  TableRow
9
- } from "../chunks/chunk-2NOGHGEU.js";
9
+ } from "../chunks/chunk-T5XBIQ5C.js";
10
10
  import {
11
11
  Skeleton
12
12
  } from "../chunks/chunk-DEBQQLOX.js";
@@ -15,7 +15,7 @@ import {
15
15
  TableRow,
16
16
  TableSectionRow,
17
17
  tableLabels
18
- } from "../chunks/chunk-2NOGHGEU.js";
18
+ } from "../chunks/chunk-T5XBIQ5C.js";
19
19
  import "../chunks/chunk-EOTCMAM5.js";
20
20
  import "../chunks/chunk-5TVKJLSP.js";
21
21
  import "../chunks/chunk-VRSE2UOE.js";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  TableBody
4
- } from "../chunks/chunk-2NOGHGEU.js";
4
+ } from "../chunks/chunk-T5XBIQ5C.js";
5
5
  import {
6
6
  SORTABLE_INSTRUCTIONS,
7
7
  sortableAnnouncements,
@@ -4,7 +4,7 @@ import {
4
4
  TabsContent,
5
5
  TabsList,
6
6
  TabsTrigger
7
- } from "../chunks/chunk-MSWXH7V3.js";
7
+ } from "../chunks/chunk-YCS3IVCC.js";
8
8
  import "../chunks/chunk-GC6UJB65.js";
9
9
  import "../chunks/chunk-7EUNKKFY.js";
10
10
  import "../chunks/chunk-RFEZFKI2.js";
@@ -8,10 +8,10 @@ import {
8
8
  timeZoneOffset,
9
9
  timeZoneOptions,
10
10
  timeZoneSelectLabels
11
- } from "../chunks/chunk-BQPZL3XZ.js";
11
+ } from "../chunks/chunk-5AJJKEPJ.js";
12
12
  import "../chunks/chunk-35VEOVFP.js";
13
- import "../chunks/chunk-G7576I2R.js";
14
- import "../chunks/chunk-26BBBTBT.js";
13
+ import "../chunks/chunk-T7Y6VU4F.js";
14
+ import "../chunks/chunk-NYXMCKSQ.js";
15
15
  import "../chunks/chunk-DEBQQLOX.js";
16
16
  import "../chunks/chunk-OO4FBAFL.js";
17
17
  import "../chunks/chunk-RFEZFKI2.js";
@@ -3,12 +3,12 @@ import {
3
3
  TreeSelect,
4
4
  makeTreeSelectLabels,
5
5
  treeSelectLabels
6
- } from "../chunks/chunk-4FC4UJJ4.js";
6
+ } from "../chunks/chunk-PKANW3SX.js";
7
7
  import "../chunks/chunk-V7LFKDIO.js";
8
8
  import "../chunks/chunk-5FOT73ZV.js";
9
9
  import "../chunks/chunk-PAR74FJY.js";
10
10
  import "../chunks/chunk-A7DZQNQP.js";
11
- import "../chunks/chunk-26BBBTBT.js";
11
+ import "../chunks/chunk-NYXMCKSQ.js";
12
12
  import "../chunks/chunk-DEBQQLOX.js";
13
13
  import "../chunks/chunk-CG5SXXYK.js";
14
14
  import "../chunks/chunk-ZKNKC4HK.js";
@@ -8,7 +8,7 @@ import {
8
8
  TableHead,
9
9
  TableHeaderCell,
10
10
  TableRow
11
- } from "../chunks/chunk-2NOGHGEU.js";
11
+ } from "../chunks/chunk-T5XBIQ5C.js";
12
12
  import "../chunks/chunk-EOTCMAM5.js";
13
13
  import "../chunks/chunk-5TVKJLSP.js";
14
14
  import "../chunks/chunk-VRSE2UOE.js";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  TimeZoneSelect
4
- } from "../chunks/chunk-BQPZL3XZ.js";
4
+ } from "../chunks/chunk-5AJJKEPJ.js";
5
5
  import {
6
6
  TimeRangeInput,
7
7
  timeRangeInputLabels
@@ -13,8 +13,8 @@ import {
13
13
  dateFormatter,
14
14
  weekStartOf
15
15
  } from "../chunks/chunk-TNIU2PZL.js";
16
- import "../chunks/chunk-G7576I2R.js";
17
- import "../chunks/chunk-26BBBTBT.js";
16
+ import "../chunks/chunk-T7Y6VU4F.js";
17
+ import "../chunks/chunk-NYXMCKSQ.js";
18
18
  import {
19
19
  Switch
20
20
  } from "../chunks/chunk-4SMTZLPN.js";
@@ -73,6 +73,11 @@
73
73
  display: flex;
74
74
  }
75
75
 
76
+ .o-address__text {
77
+ overflow-wrap: anywhere;
78
+ min-width: 0;
79
+ }
80
+
76
81
  .o-address__link {
77
82
  border-radius: var(--o-radius-xs);
78
83
  min-width: 0;
@@ -82,6 +87,11 @@
82
87
  text-decoration: none;
83
88
  }
84
89
 
90
+ .o-address__body > .o-address__link {
91
+ align-self: flex-start;
92
+ max-width: 100%;
93
+ }
94
+
85
95
  .o-address__link:hover {
86
96
  color: var(--o-fg-1);
87
97
  text-underline-offset: 2px;
@@ -225,7 +225,9 @@
225
225
  }
226
226
 
227
227
  .o-card__actions {
228
+ max-width: 100%;
228
229
  margin-block: var(--o-card-actions-my);
230
+ flex-wrap: wrap;
229
231
  flex: none;
230
232
  align-items: center;
231
233
  gap: 6px;
@@ -1,3 +1,7 @@
1
+ :where(.o-color-field) {
2
+ width: 100%;
3
+ }
4
+
1
5
  .o-color-field {
2
6
  --o-color-field-h: var(--o-control-md);
3
7
  --o-color-field-pl: 6px;
@@ -7,7 +11,6 @@
7
11
  --o-color-field-edge: var(--o-border-2);
8
12
  --o-color-field-halo: transparent;
9
13
  --o-color-field-halo-w: 0px;
10
- width: 100%;
11
14
  min-width: 0;
12
15
  height: var(--o-color-field-h);
13
16
  padding-block: 0;
@@ -102,6 +102,20 @@
102
102
  max-width: 100%;
103
103
  }
104
104
 
105
+ .o-figure-strip__list .o-figure[data-value="text"] .o-figure__value {
106
+ font-family: var(--o-font-sans);
107
+ font-size: var(--o-text-md);
108
+ letter-spacing: normal;
109
+ white-space: normal;
110
+ font-weight: 500;
111
+ line-height: 1.4;
112
+ overflow: visible;
113
+ }
114
+
115
+ .o-figure-strip__list[data-size="sm"] .o-figure[data-value="text"] .o-figure__value {
116
+ font-size: var(--o-text-sm);
117
+ }
118
+
105
119
  .o-figure-strip__list .o-figure__body {
106
120
  min-height: 29px;
107
121
  }
@@ -103,3 +103,11 @@
103
103
  text-align: center;
104
104
  margin: 4px 0 0;
105
105
  }
106
+
107
+ .o-plan-grid__footnote > p {
108
+ margin: 0;
109
+ }
110
+
111
+ .o-plan-grid__footnote > p + p {
112
+ margin-block-start: 4px;
113
+ }
@@ -483,6 +483,46 @@
483
483
  margin-inline-start: 0;
484
484
  }
485
485
 
486
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) {
487
+ grid-template-columns: auto minmax(0, 1fr) fit-content(50%) auto;
488
+ grid-template-areas: "circle label price pill"
489
+ "circle description description description";
490
+ align-items: start;
491
+ gap: 2px 0;
492
+ display: grid;
493
+ }
494
+
495
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__circle {
496
+ grid-area: circle;
497
+ margin-inline-end: 12px;
498
+ }
499
+
500
+ .o-radio-card[data-size="sm"]:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__circle {
501
+ margin-inline-end: 10px;
502
+ }
503
+
504
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__text {
505
+ display: contents;
506
+ }
507
+
508
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__text > .o-radio__label {
509
+ grid-area: label;
510
+ }
511
+
512
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__text > .o-radio__description {
513
+ grid-area: description;
514
+ }
515
+
516
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__price {
517
+ grid-area: price;
518
+ max-width: none;
519
+ }
520
+
521
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio-card__selected {
522
+ grid-area: pill;
523
+ margin-inline-start: 12px;
524
+ }
525
+
486
526
  .o-radio-card__price {
487
527
  margin-top: 6px;
488
528
  display: flex;
@@ -47,8 +47,9 @@
47
47
  z-index: 4;
48
48
  box-sizing: border-box;
49
49
  opacity: 0;
50
- pointer-events: none;
51
50
  width: 14px;
51
+ transition: opacity var(--o-dur-fast) var(--o-ease-out);
52
+ pointer-events: none;
52
53
  position: absolute;
53
54
  inset-block: 0;
54
55
  }
@@ -73,6 +74,10 @@
73
74
  background: linear-gradient(to right, var(--o-table-frame-shadow), transparent);
74
75
  }
75
76
 
77
+ .o-table-frame__viewport[data-scroll-start]:before, .o-table-frame__viewport[data-scroll-end]:after, .o-table-frame__viewport[data-scroll-start] > .o-table-frame__scroll > .o-table > * > .o-table__row > [data-sticky="start"]:before, .o-table-frame__viewport[data-scroll-end] > .o-table-frame__scroll > .o-table > * > .o-table__row > [data-sticky="end"]:before {
78
+ opacity: 1;
79
+ }
80
+
76
81
  .o-table-frame__viewport:has( > .o-table-frame__scroll > .o-table:not([data-pins="loose"]) > .o-table__head > .o-table__row > [data-sticky="start"]):before {
77
82
  display: none;
78
83
  }
@@ -710,26 +715,6 @@
710
715
  animation-timeline: scroll(inline);
711
716
  animation-range: 0 32px;
712
717
  }
713
-
714
- .o-table-frame__viewport {
715
- timeline-scope: --o-table-frame-x;
716
- }
717
-
718
- .o-table-frame__scroll {
719
- scroll-timeline: --o-table-frame-x inline;
720
- }
721
-
722
- .o-table-frame__viewport:before {
723
- animation: linear reverse both o-table-seam;
724
- animation-timeline: --o-table-frame-x;
725
- animation-range: 0 32px;
726
- }
727
-
728
- .o-table-frame__viewport:after {
729
- animation: linear both o-table-seam;
730
- animation-timeline: --o-table-frame-x;
731
- animation-range: calc(100% - 32px) 100%;
732
- }
733
718
  }
734
719
 
735
720
  .o-table__drag-handle {
@@ -167,6 +167,10 @@
167
167
  outline-offset: -2px;
168
168
  }
169
169
 
170
+ .o-tabs__trigger[data-pointer-focus]:focus-visible, .o-tabs__trigger[data-pointer-focus]:focus-visible:before {
171
+ outline: none;
172
+ }
173
+
170
174
  .o-tabs__trigger:is([data-variant="line"], [data-variant="steps"]):hover:not(:disabled) {
171
175
  color: var(--o-fg-1);
172
176
  }
package/dist/styles.css CHANGED
@@ -3909,7 +3909,9 @@
3909
3909
  }
3910
3910
 
3911
3911
  .o-card__actions {
3912
+ max-width: 100%;
3912
3913
  margin-block: var(--o-card-actions-my);
3914
+ flex-wrap: wrap;
3913
3915
  flex: none;
3914
3916
  align-items: center;
3915
3917
  gap: 6px;
@@ -5675,8 +5677,9 @@
5675
5677
  z-index: 4;
5676
5678
  box-sizing: border-box;
5677
5679
  opacity: 0;
5678
- pointer-events: none;
5679
5680
  width: 14px;
5681
+ transition: opacity var(--o-dur-fast) var(--o-ease-out);
5682
+ pointer-events: none;
5680
5683
  position: absolute;
5681
5684
  inset-block: 0;
5682
5685
  }
@@ -5701,6 +5704,10 @@
5701
5704
  background: linear-gradient(to right, var(--o-table-frame-shadow), transparent);
5702
5705
  }
5703
5706
 
5707
+ .o-table-frame__viewport[data-scroll-start]:before, .o-table-frame__viewport[data-scroll-end]:after, .o-table-frame__viewport[data-scroll-start] > .o-table-frame__scroll > .o-table > * > .o-table__row > [data-sticky="start"]:before, .o-table-frame__viewport[data-scroll-end] > .o-table-frame__scroll > .o-table > * > .o-table__row > [data-sticky="end"]:before {
5708
+ opacity: 1;
5709
+ }
5710
+
5704
5711
  .o-table-frame__viewport:has( > .o-table-frame__scroll > .o-table:not([data-pins="loose"]) > .o-table__head > .o-table__row > [data-sticky="start"]):before {
5705
5712
  display: none;
5706
5713
  }
@@ -6338,26 +6345,6 @@
6338
6345
  animation-timeline: scroll(inline);
6339
6346
  animation-range: 0 32px;
6340
6347
  }
6341
-
6342
- .o-table-frame__viewport {
6343
- timeline-scope: --o-table-frame-x;
6344
- }
6345
-
6346
- .o-table-frame__scroll {
6347
- scroll-timeline: --o-table-frame-x inline;
6348
- }
6349
-
6350
- .o-table-frame__viewport:before {
6351
- animation: linear reverse both o-table-seam;
6352
- animation-timeline: --o-table-frame-x;
6353
- animation-range: 0 32px;
6354
- }
6355
-
6356
- .o-table-frame__viewport:after {
6357
- animation: linear both o-table-seam;
6358
- animation-timeline: --o-table-frame-x;
6359
- animation-range: calc(100% - 32px) 100%;
6360
- }
6361
6348
  }
6362
6349
 
6363
6350
  .o-table__drag-handle {
@@ -11756,6 +11743,20 @@
11756
11743
  max-width: 100%;
11757
11744
  }
11758
11745
 
11746
+ .o-figure-strip__list .o-figure[data-value="text"] .o-figure__value {
11747
+ font-family: var(--o-font-sans);
11748
+ font-size: var(--o-text-md);
11749
+ letter-spacing: normal;
11750
+ white-space: normal;
11751
+ font-weight: 500;
11752
+ line-height: 1.4;
11753
+ overflow: visible;
11754
+ }
11755
+
11756
+ .o-figure-strip__list[data-size="sm"] .o-figure[data-value="text"] .o-figure__value {
11757
+ font-size: var(--o-text-sm);
11758
+ }
11759
+
11759
11760
  .o-figure-strip__list .o-figure__body {
11760
11761
  min-height: 29px;
11761
11762
  }
@@ -18915,6 +18916,46 @@
18915
18916
  margin-inline-start: 0;
18916
18917
  }
18917
18918
 
18919
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) {
18920
+ grid-template-columns: auto minmax(0, 1fr) fit-content(50%) auto;
18921
+ grid-template-areas: "circle label price pill"
18922
+ "circle description description description";
18923
+ align-items: start;
18924
+ gap: 2px 0;
18925
+ display: grid;
18926
+ }
18927
+
18928
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__circle {
18929
+ grid-area: circle;
18930
+ margin-inline-end: 12px;
18931
+ }
18932
+
18933
+ .o-radio-card[data-size="sm"]:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__circle {
18934
+ margin-inline-end: 10px;
18935
+ }
18936
+
18937
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__text {
18938
+ display: contents;
18939
+ }
18940
+
18941
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__text > .o-radio__label {
18942
+ grid-area: label;
18943
+ }
18944
+
18945
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__text > .o-radio__description {
18946
+ grid-area: description;
18947
+ }
18948
+
18949
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio__price {
18950
+ grid-area: price;
18951
+ max-width: none;
18952
+ }
18953
+
18954
+ .o-radio-card:not([data-media]):has( > .o-radio__price):has( > .o-radio__text > .o-radio__description):not(:has( > .o-radio-card__icon, > .o-radio__hint:not(.o-radio__price))) > .o-radio-card__selected {
18955
+ grid-area: pill;
18956
+ margin-inline-start: 12px;
18957
+ }
18958
+
18918
18959
  .o-radio-card__price {
18919
18960
  margin-top: 6px;
18920
18961
  display: flex;
@@ -19168,6 +19209,10 @@
19168
19209
  outline-offset: -2px;
19169
19210
  }
19170
19211
 
19212
+ .o-tabs__trigger[data-pointer-focus]:focus-visible, .o-tabs__trigger[data-pointer-focus]:focus-visible:before {
19213
+ outline: none;
19214
+ }
19215
+
19171
19216
  .o-tabs__trigger:is([data-variant="line"], [data-variant="steps"]):hover:not(:disabled) {
19172
19217
  color: var(--o-fg-1);
19173
19218
  }
@@ -23718,6 +23763,10 @@
23718
23763
  }
23719
23764
  }
23720
23765
 
23766
+ :where(.o-color-field) {
23767
+ width: 100%;
23768
+ }
23769
+
23721
23770
  .o-color-field {
23722
23771
  --o-color-field-h: var(--o-control-md);
23723
23772
  --o-color-field-pl: 6px;
@@ -23727,7 +23776,6 @@
23727
23776
  --o-color-field-edge: var(--o-border-2);
23728
23777
  --o-color-field-halo: transparent;
23729
23778
  --o-color-field-halo-w: 0px;
23730
- width: 100%;
23731
23779
  min-width: 0;
23732
23780
  height: var(--o-color-field-h);
23733
23781
  padding-block: 0;
@@ -32402,6 +32450,11 @@
32402
32450
  display: flex;
32403
32451
  }
32404
32452
 
32453
+ .o-address__text {
32454
+ overflow-wrap: anywhere;
32455
+ min-width: 0;
32456
+ }
32457
+
32405
32458
  .o-address__link {
32406
32459
  border-radius: var(--o-radius-xs);
32407
32460
  min-width: 0;
@@ -32411,6 +32464,11 @@
32411
32464
  text-decoration: none;
32412
32465
  }
32413
32466
 
32467
+ .o-address__body > .o-address__link {
32468
+ align-self: flex-start;
32469
+ max-width: 100%;
32470
+ }
32471
+
32414
32472
  .o-address__link:hover {
32415
32473
  color: var(--o-fg-1);
32416
32474
  text-underline-offset: 2px;
@@ -33348,6 +33406,14 @@
33348
33406
  margin: 4px 0 0;
33349
33407
  }
33350
33408
 
33409
+ .o-plan-grid__footnote > p {
33410
+ margin: 0;
33411
+ }
33412
+
33413
+ .o-plan-grid__footnote > p + p {
33414
+ margin-block-start: 4px;
33415
+ }
33416
+
33351
33417
  .o-plan-compare {
33352
33418
  --o-plan-compare-top: 0px;
33353
33419
  --o-plan-compare-highlight: color-mix(in oklch, var(--o-accent-subtle) 70%, transparent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbitcommerce/constellation",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Constellation by Orbit Commerce: the design system and React components Orbit Commerce builds its dashboards with, for apps that look at home in Orbit Commerce",
5
5
  "keywords": [
6
6
  "orbit-commerce",
@@ -75,18 +75,18 @@
75
75
  "@fontsource-variable/geist": "^5.3.0",
76
76
  "@fontsource-variable/geist-mono": "^5.3.0",
77
77
  "@fontsource-variable/sora": "^5.3.0",
78
- "@radix-ui/react-context-menu": "^2.3.7",
79
- "@radix-ui/react-dialog": "^1.1.23",
80
- "@radix-ui/react-dropdown-menu": "^2.1.24",
81
- "@radix-ui/react-popover": "^1.1.23",
82
- "@radix-ui/react-radio-group": "^1.4.7",
83
- "@radix-ui/react-select": "^2.3.7",
84
- "@radix-ui/react-slot": "^1.3.3",
85
- "@radix-ui/react-tabs": "^1.1.21",
86
- "@radix-ui/react-tooltip": "^1.2.16",
78
+ "@radix-ui/react-context-menu": "^2.4.1",
79
+ "@radix-ui/react-dialog": "^1.3.1",
80
+ "@radix-ui/react-dropdown-menu": "^2.2.1",
81
+ "@radix-ui/react-popover": "^1.3.1",
82
+ "@radix-ui/react-radio-group": "^1.5.1",
83
+ "@radix-ui/react-select": "^2.4.1",
84
+ "@radix-ui/react-slot": "^1.5.0",
85
+ "@radix-ui/react-tabs": "^1.2.1",
86
+ "@radix-ui/react-tooltip": "^1.4.1",
87
87
  "clsx": "^2.1.1",
88
88
  "cmdk": "^1.1.1",
89
- "motion": "^13.4.6",
89
+ "motion": "^14.2.0",
90
90
  "react-day-picker": "^9.14.0",
91
91
  "sonner": "^2.0.8"
92
92
  },