@orbitcommerce/constellation 1.2.2 → 1.3.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 +16 -0
- package/dist/{chunk-TTKDPWIV.cjs → chunk-UY22Q2WO.cjs} +11 -0
- package/dist/icons.cjs +2 -2
- package/dist/index.cjs +336 -304
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/modules/chunks/{chunk-XFXOVQ62.js → chunk-7DNZLQW6.js} +1 -1
- package/dist/modules/chunks/{chunk-YY2LLGRU.js → chunk-LWZNQ5D2.js} +1 -1
- package/dist/modules/chunks/{chunk-5BVMPVB3.js → chunk-QJDMT2X6.js} +29 -3
- package/dist/modules/components/AddFilter.js +1 -1
- package/dist/modules/components/ChatComposer.js +3 -3
- package/dist/modules/components/Composer.js +3 -3
- package/dist/modules/components/ContextMenu.js +1 -1
- package/dist/modules/components/DeviceSwitcher.js +1 -1
- package/dist/modules/components/Menu.js +1 -1
- package/dist/modules/components/RichTextEditor.js +2 -2
- package/dist/modules/components/SectionRail.js +7 -1
- package/dist/modules/components/SplitButton.js +1 -1
- package/dist/modules/components/Toolbar.js +2 -2
- package/dist/modules/components/builder/ElementToolbar.js +2 -2
- package/dist/modules/icons/lucide.js +16 -0
- package/dist/styles/components/dialog.css +1 -1
- package/dist/styles/components/rich-text-editor.css +10 -1
- package/dist/styles/components/sheet.css +1 -1
- package/dist/styles/components/shell.css +4 -0
- package/dist/styles/core.css +1 -0
- package/dist/styles.css +17 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2799,6 +2799,7 @@ type MenuTriggerProps = MenuPrimitive.DropdownMenuTriggerProps;
|
|
|
2799
2799
|
* Opens the menu. Use `asChild` to wrap a Constellation `Button` or `IconButton`. While the button is busy with what a
|
|
2800
2800
|
* row started (`loading`, which keeps it focusable with `aria-disabled`), it spins and the menu will not open: a click,
|
|
2801
2801
|
* Enter, Space and the down arrow wait until it is done, and focus stays on it.
|
|
2802
|
+
* Letting go where the press went down never chooses a row (see holdOpeningRelease).
|
|
2802
2803
|
*/
|
|
2803
2804
|
declare const MenuTrigger: react.ForwardRefExoticComponent<MenuPrimitive.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2804
2805
|
interface GroupLabel {
|
|
@@ -10617,8 +10618,8 @@ interface SectionRailProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>
|
|
|
10617
10618
|
labels?: Partial<SectionRailLabels>;
|
|
10618
10619
|
}
|
|
10619
10620
|
/**
|
|
10620
|
-
* The id of the section in view:
|
|
10621
|
-
* first before any has. Over the last stretch of scrolling the line travels down to the container's bottom edge, so a
|
|
10621
|
+
* The id of the section in view: of those whose top has reached a line `offset` from the container's top, the one
|
|
10622
|
+
* nearest the line (on a page of one column, the last of them), or the first before any has. Over the last stretch of scrolling the line travels down to the container's bottom edge, so a
|
|
10622
10623
|
* short section too near the end to reach the offset still has its turn, and at the bottom of the page the last one is
|
|
10623
10624
|
* in view. Listens to scroll (passively) and resize, throttled with `requestAnimationFrame`, so it needs no
|
|
10624
10625
|
* IntersectionObserver.
|
package/dist/index.d.ts
CHANGED
|
@@ -2799,6 +2799,7 @@ type MenuTriggerProps = MenuPrimitive.DropdownMenuTriggerProps;
|
|
|
2799
2799
|
* Opens the menu. Use `asChild` to wrap a Constellation `Button` or `IconButton`. While the button is busy with what a
|
|
2800
2800
|
* row started (`loading`, which keeps it focusable with `aria-disabled`), it spins and the menu will not open: a click,
|
|
2801
2801
|
* Enter, Space and the down arrow wait until it is done, and focus stays on it.
|
|
2802
|
+
* Letting go where the press went down never chooses a row (see holdOpeningRelease).
|
|
2802
2803
|
*/
|
|
2803
2804
|
declare const MenuTrigger: react.ForwardRefExoticComponent<MenuPrimitive.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2804
2805
|
interface GroupLabel {
|
|
@@ -10617,8 +10618,8 @@ interface SectionRailProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>
|
|
|
10617
10618
|
labels?: Partial<SectionRailLabels>;
|
|
10618
10619
|
}
|
|
10619
10620
|
/**
|
|
10620
|
-
* The id of the section in view:
|
|
10621
|
-
* first before any has. Over the last stretch of scrolling the line travels down to the container's bottom edge, so a
|
|
10621
|
+
* The id of the section in view: of those whose top has reached a line `offset` from the container's top, the one
|
|
10622
|
+
* nearest the line (on a page of one column, the last of them), or the first before any has. Over the last stretch of scrolling the line travels down to the container's bottom edge, so a
|
|
10622
10623
|
* short section too near the end to reach the offset still has its turn, and at the bottom of the page the last one is
|
|
10623
10624
|
* in view. Listens to scroll (passively) and resize, throttled with `requestAnimationFrame`, so it needs no
|
|
10624
10625
|
* IntersectionObserver.
|
|
@@ -82,6 +82,29 @@ var MenuPrimitivesProvider = MenuPartsContext.Provider;
|
|
|
82
82
|
var useParts = () => useContext(MenuPartsContext);
|
|
83
83
|
var Menu = MenuPrimitive.Root;
|
|
84
84
|
var refusesToOpen = (element) => element.getAttribute("aria-disabled") === "true";
|
|
85
|
+
var CLICK_SLOP = 10;
|
|
86
|
+
function holdOpeningRelease(down) {
|
|
87
|
+
if (down.button !== 0 || down.ctrlKey !== false) return;
|
|
88
|
+
const x = down.clientX;
|
|
89
|
+
const y = down.clientY;
|
|
90
|
+
const pointerId = down.pointerId;
|
|
91
|
+
const doc = down.currentTarget.ownerDocument;
|
|
92
|
+
const release = (up) => {
|
|
93
|
+
if (up.pointerId !== pointerId) return;
|
|
94
|
+
stop();
|
|
95
|
+
if (Math.abs(up.clientX - x) <= CLICK_SLOP && Math.abs(up.clientY - y) <= CLICK_SLOP) up.preventDefault();
|
|
96
|
+
};
|
|
97
|
+
const cancelled = (event) => {
|
|
98
|
+
if (event.pointerId !== pointerId) return;
|
|
99
|
+
stop();
|
|
100
|
+
};
|
|
101
|
+
const stop = () => {
|
|
102
|
+
doc.removeEventListener("pointerup", release, true);
|
|
103
|
+
doc.removeEventListener("pointercancel", cancelled, true);
|
|
104
|
+
};
|
|
105
|
+
doc.addEventListener("pointerup", release, true);
|
|
106
|
+
doc.addEventListener("pointercancel", cancelled, true);
|
|
107
|
+
}
|
|
85
108
|
var MenuTrigger = forwardRef(function MenuTrigger2({ onPointerDown, onKeyDown, ...rest }, ref) {
|
|
86
109
|
return /* @__PURE__ */ jsx(
|
|
87
110
|
MenuPrimitive.Trigger,
|
|
@@ -89,9 +112,12 @@ var MenuTrigger = forwardRef(function MenuTrigger2({ onPointerDown, onKeyDown, .
|
|
|
89
112
|
ref,
|
|
90
113
|
onPointerDown: (event) => {
|
|
91
114
|
onPointerDown?.(event);
|
|
92
|
-
if (
|
|
93
|
-
|
|
94
|
-
|
|
115
|
+
if (refusesToOpen(event.currentTarget)) {
|
|
116
|
+
event.preventDefault();
|
|
117
|
+
event.currentTarget.focus();
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (!event.defaultPrevented) holdOpeningRelease(event);
|
|
95
121
|
},
|
|
96
122
|
onKeyDown: (event) => {
|
|
97
123
|
onKeyDown?.(event);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Composer
|
|
4
|
-
} from "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-LWZNQ5D2.js";
|
|
5
5
|
import "../chunks/chunk-F45EHC7Z.js";
|
|
6
6
|
import {
|
|
7
7
|
EmojiPicker
|
|
@@ -20,12 +20,12 @@ import "../chunks/chunk-6NR6IYU4.js";
|
|
|
20
20
|
import "../chunks/chunk-GNJN5HIQ.js";
|
|
21
21
|
import {
|
|
22
22
|
ToolbarButton
|
|
23
|
-
} from "../chunks/chunk-
|
|
23
|
+
} from "../chunks/chunk-7DNZLQW6.js";
|
|
24
24
|
import "../chunks/chunk-A7DZQNQP.js";
|
|
25
25
|
import {
|
|
26
26
|
SegmentedControl
|
|
27
27
|
} from "../chunks/chunk-JCNIKI4N.js";
|
|
28
|
-
import "../chunks/chunk-
|
|
28
|
+
import "../chunks/chunk-QJDMT2X6.js";
|
|
29
29
|
import "../chunks/chunk-BACB7AM2.js";
|
|
30
30
|
import "../chunks/chunk-7EUNKKFY.js";
|
|
31
31
|
import "../chunks/chunk-Y6KESJTY.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Composer,
|
|
4
4
|
composerLabels
|
|
5
|
-
} from "../chunks/chunk-
|
|
5
|
+
} from "../chunks/chunk-LWZNQ5D2.js";
|
|
6
6
|
import "../chunks/chunk-F45EHC7Z.js";
|
|
7
7
|
import "../chunks/chunk-TK7U3U32.js";
|
|
8
8
|
import "../chunks/chunk-U3EOGBZ7.js";
|
|
@@ -10,8 +10,8 @@ import "../chunks/chunk-HW6KLO3K.js";
|
|
|
10
10
|
import "../chunks/chunk-3GI56JZC.js";
|
|
11
11
|
import "../chunks/chunk-6NR6IYU4.js";
|
|
12
12
|
import "../chunks/chunk-GNJN5HIQ.js";
|
|
13
|
-
import "../chunks/chunk-
|
|
14
|
-
import "../chunks/chunk-
|
|
13
|
+
import "../chunks/chunk-7DNZLQW6.js";
|
|
14
|
+
import "../chunks/chunk-QJDMT2X6.js";
|
|
15
15
|
import "../chunks/chunk-BACB7AM2.js";
|
|
16
16
|
import "../chunks/chunk-Y6KESJTY.js";
|
|
17
17
|
import "../chunks/chunk-EOTCMAM5.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
MenuSubContent,
|
|
19
19
|
MenuSubTrigger,
|
|
20
20
|
MenuTrigger
|
|
21
|
-
} from "../chunks/chunk-
|
|
21
|
+
} from "../chunks/chunk-QJDMT2X6.js";
|
|
22
22
|
import "../chunks/chunk-YKTVZWSO.js";
|
|
23
23
|
import "../chunks/chunk-UINRMWFZ.js";
|
|
24
24
|
import "../chunks/chunk-5X4PSA4M.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ToolbarSelect,
|
|
11
11
|
ToolbarSpacer,
|
|
12
12
|
useToolbar
|
|
13
|
-
} from "../chunks/chunk-
|
|
13
|
+
} from "../chunks/chunk-7DNZLQW6.js";
|
|
14
14
|
import {
|
|
15
15
|
LinkPickerDialog
|
|
16
16
|
} from "../chunks/chunk-HZHVJ6BL.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
Checkbox
|
|
38
38
|
} from "../chunks/chunk-X6AGAAEL.js";
|
|
39
39
|
import "../chunks/chunk-4SMTZLPN.js";
|
|
40
|
-
import "../chunks/chunk-
|
|
40
|
+
import "../chunks/chunk-QJDMT2X6.js";
|
|
41
41
|
import "../chunks/chunk-BACB7AM2.js";
|
|
42
42
|
import "../chunks/chunk-7EUNKKFY.js";
|
|
43
43
|
import "../chunks/chunk-EOTCMAM5.js";
|
|
@@ -40,9 +40,15 @@ function useSectionSpy(ids, options = {}) {
|
|
|
40
40
|
const line = offset + travel * progress;
|
|
41
41
|
const containerTop = root ? root.getBoundingClientRect().top : 0;
|
|
42
42
|
let found = first;
|
|
43
|
+
let nearest = -Infinity;
|
|
43
44
|
for (const id of list) {
|
|
44
45
|
const section = document.getElementById(id);
|
|
45
|
-
if (section
|
|
46
|
+
if (!section) continue;
|
|
47
|
+
const top = section.getBoundingClientRect().top - containerTop;
|
|
48
|
+
if (top <= line && top > nearest) {
|
|
49
|
+
nearest = top;
|
|
50
|
+
found = id;
|
|
51
|
+
}
|
|
46
52
|
}
|
|
47
53
|
setCurrent(found);
|
|
48
54
|
};
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
ToolbarSelect,
|
|
9
9
|
ToolbarSpacer,
|
|
10
10
|
useToolbar
|
|
11
|
-
} from "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-
|
|
11
|
+
} from "../chunks/chunk-7DNZLQW6.js";
|
|
12
|
+
import "../chunks/chunk-QJDMT2X6.js";
|
|
13
13
|
import "../chunks/chunk-HDF2KESV.js";
|
|
14
14
|
import "../chunks/chunk-RFEZFKI2.js";
|
|
15
15
|
import "../chunks/chunk-WK2WAJLO.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ToolbarButton,
|
|
13
13
|
ToolbarItem,
|
|
14
14
|
ToolbarMenu
|
|
15
|
-
} from "../../chunks/chunk-
|
|
15
|
+
} from "../../chunks/chunk-7DNZLQW6.js";
|
|
16
16
|
import {
|
|
17
17
|
toast
|
|
18
18
|
} from "../../chunks/chunk-GVZRHUKZ.js";
|
|
@@ -21,7 +21,7 @@ import "../../chunks/chunk-LM74WTYW.js";
|
|
|
21
21
|
import {
|
|
22
22
|
MenuItem,
|
|
23
23
|
MenuSeparator
|
|
24
|
-
} from "../../chunks/chunk-
|
|
24
|
+
} from "../../chunks/chunk-QJDMT2X6.js";
|
|
25
25
|
import "../../chunks/chunk-BACB7AM2.js";
|
|
26
26
|
import "../../chunks/chunk-7EUNKKFY.js";
|
|
27
27
|
import "../../chunks/chunk-EOTCMAM5.js";
|
|
@@ -19,6 +19,7 @@ import { BellIcon } from "./BellIcon.js";
|
|
|
19
19
|
import { BookOpenIcon } from "./BookOpenIcon.js";
|
|
20
20
|
import { BookmarkSimpleIcon } from "./BookmarkSimpleIcon.js";
|
|
21
21
|
import { BrowserIcon } from "./BrowserIcon.js";
|
|
22
|
+
import { BuildingIcon } from "./BuildingIcon.js";
|
|
22
23
|
import { BuildingsIcon } from "./BuildingsIcon.js";
|
|
23
24
|
import { CalculatorIcon } from "./CalculatorIcon.js";
|
|
24
25
|
import { CalendarBlankIcon } from "./CalendarBlankIcon.js";
|
|
@@ -29,6 +30,7 @@ import { CaretRightIcon } from "./CaretRightIcon.js";
|
|
|
29
30
|
import { ChartBarIcon } from "./ChartBarIcon.js";
|
|
30
31
|
import { ChatCircleIcon } from "./ChatCircleIcon.js";
|
|
31
32
|
import { ChatIcon } from "./ChatIcon.js";
|
|
33
|
+
import { ChatsIcon } from "./ChatsIcon.js";
|
|
32
34
|
import { CheckCircleIcon } from "./CheckCircleIcon.js";
|
|
33
35
|
import { ClipboardTextIcon } from "./ClipboardTextIcon.js";
|
|
34
36
|
import { ClockCounterClockwiseIcon } from "./ClockCounterClockwiseIcon.js";
|
|
@@ -48,6 +50,7 @@ import { EyeIcon } from "./EyeIcon.js";
|
|
|
48
50
|
import { FileArrowDownIcon } from "./FileArrowDownIcon.js";
|
|
49
51
|
import { FileTextIcon } from "./FileTextIcon.js";
|
|
50
52
|
import { FileXIcon } from "./FileXIcon.js";
|
|
53
|
+
import { FileXlsIcon } from "./FileXlsIcon.js";
|
|
51
54
|
import { FingerprintIcon } from "./FingerprintIcon.js";
|
|
52
55
|
import { FlagIcon } from "./FlagIcon.js";
|
|
53
56
|
import { FlipHorizontalIcon } from "./FlipHorizontalIcon.js";
|
|
@@ -105,6 +108,7 @@ import { SidebarSimpleIcon } from "./SidebarSimpleIcon.js";
|
|
|
105
108
|
import { SignInIcon } from "./SignInIcon.js";
|
|
106
109
|
import { SignOutIcon } from "./SignOutIcon.js";
|
|
107
110
|
import { SignpostIcon } from "./SignpostIcon.js";
|
|
111
|
+
import { SlidersHorizontalIcon } from "./SlidersHorizontalIcon.js";
|
|
108
112
|
import { SlideshowIcon } from "./SlideshowIcon.js";
|
|
109
113
|
import { SparkleIcon } from "./SparkleIcon.js";
|
|
110
114
|
import { SquareIcon } from "./SquareIcon.js";
|
|
@@ -129,6 +133,7 @@ import { UserIcon } from "./UserIcon.js";
|
|
|
129
133
|
import { UserPlusIcon } from "./UserPlusIcon.js";
|
|
130
134
|
import { UsersIcon } from "./UsersIcon.js";
|
|
131
135
|
import { VideoCameraIcon } from "./VideoCameraIcon.js";
|
|
136
|
+
import { WalletIcon } from "./WalletIcon.js";
|
|
132
137
|
import { WarningCircleIcon } from "./WarningCircleIcon.js";
|
|
133
138
|
import { WarningIcon } from "./WarningIcon.js";
|
|
134
139
|
import { XCircleIcon } from "./XCircleIcon.js";
|
|
@@ -145,9 +150,11 @@ var lucideIcons = {
|
|
|
145
150
|
Bell: BellIcon,
|
|
146
151
|
BookOpen: BookOpenIcon,
|
|
147
152
|
Box: CubeIcon,
|
|
153
|
+
Building: BuildingIcon,
|
|
148
154
|
Building2: BuildingsIcon,
|
|
149
155
|
Calculator: CalculatorIcon,
|
|
150
156
|
Calendar: CalendarBlankIcon,
|
|
157
|
+
ChartColumn: ChartBarIcon,
|
|
151
158
|
ChevronDown: CaretDownIcon,
|
|
152
159
|
ChevronRight: CaretRightIcon,
|
|
153
160
|
CircleCheck: CheckCircleIcon,
|
|
@@ -156,6 +163,7 @@ var lucideIcons = {
|
|
|
156
163
|
Code: CodeIcon,
|
|
157
164
|
Coins: CoinsIcon,
|
|
158
165
|
Columns: ColumnsIcon,
|
|
166
|
+
Columns2: ColumnsIcon,
|
|
159
167
|
Columns3: KanbanIcon,
|
|
160
168
|
Cookie: CookieIcon,
|
|
161
169
|
Copyright: CopyrightIcon,
|
|
@@ -163,7 +171,9 @@ var lucideIcons = {
|
|
|
163
171
|
DollarSign: CurrencyDollarIcon,
|
|
164
172
|
Download: DownloadSimpleIcon,
|
|
165
173
|
FileDown: FileArrowDownIcon,
|
|
174
|
+
FileSpreadsheet: FileXlsIcon,
|
|
166
175
|
FileText: FileTextIcon,
|
|
176
|
+
FileX: FileXIcon,
|
|
167
177
|
FileX2: FileXIcon,
|
|
168
178
|
Filter: FunnelIcon,
|
|
169
179
|
Fingerprint: FingerprintIcon,
|
|
@@ -205,6 +215,7 @@ var lucideIcons = {
|
|
|
205
215
|
Menu: ListIcon,
|
|
206
216
|
MessageCircle: ChatCircleIcon,
|
|
207
217
|
MessageSquare: ChatIcon,
|
|
218
|
+
MessagesSquare: ChatsIcon,
|
|
208
219
|
Milestone: SignpostIcon,
|
|
209
220
|
Minus: MinusIcon,
|
|
210
221
|
Mouse: MouseIcon,
|
|
@@ -219,6 +230,7 @@ var lucideIcons = {
|
|
|
219
230
|
PackagePlus: PackagePlusIcon,
|
|
220
231
|
PanelBottom: PanelBottomIcon,
|
|
221
232
|
PanelLeftClose: SidebarSimpleIcon,
|
|
233
|
+
PanelsTopLeft: LayoutIcon,
|
|
222
234
|
PanelTop: BrowserIcon,
|
|
223
235
|
Percent: PercentIcon,
|
|
224
236
|
Play: PlayIcon,
|
|
@@ -227,6 +239,7 @@ var lucideIcons = {
|
|
|
227
239
|
Receipt: ReceiptIcon,
|
|
228
240
|
ReceiptText: ReceiptIcon,
|
|
229
241
|
Repeat: RepeatIcon,
|
|
242
|
+
Rotate3d: FlipHorizontalIcon,
|
|
230
243
|
RotateCcw: ArrowCounterClockwiseIcon,
|
|
231
244
|
ScrollText: ScrollIcon,
|
|
232
245
|
Search: MagnifyingGlassIcon,
|
|
@@ -234,9 +247,11 @@ var lucideIcons = {
|
|
|
234
247
|
Share2: ShareNetworkIcon,
|
|
235
248
|
ShieldCheck: ShieldCheckIcon,
|
|
236
249
|
ShoppingCart: ShoppingCartIcon,
|
|
250
|
+
SlidersHorizontal: SlidersHorizontalIcon,
|
|
237
251
|
Sparkles: SparkleIcon,
|
|
238
252
|
SplitSquareHorizontal: SquareSplitHorizontalIcon,
|
|
239
253
|
Square: SquareIcon,
|
|
254
|
+
SquareSplitHorizontal: SquareSplitHorizontalIcon,
|
|
240
255
|
Star: StarIcon,
|
|
241
256
|
StickyNote: NoteIcon,
|
|
242
257
|
Table: TableIcon,
|
|
@@ -255,6 +270,7 @@ var lucideIcons = {
|
|
|
255
270
|
UserPlus: UserPlusIcon,
|
|
256
271
|
Users: UsersIcon,
|
|
257
272
|
Video: VideoCameraIcon,
|
|
273
|
+
Wallet: WalletIcon,
|
|
258
274
|
Zap: LightningIcon,
|
|
259
275
|
// Names the dashboards store for a record's own icon (a status, an alert, a stage), lucide's as lucide writes them.
|
|
260
276
|
AlertCircle: WarningCircleIcon,
|
|
@@ -265,10 +265,19 @@
|
|
|
265
265
|
flex: auto;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
.o-rich-text__raw {
|
|
268
|
+
.o-rich-text > .o-rich-text__raw {
|
|
269
|
+
border-radius: calc(var(--o-radius-md) - 1px);
|
|
269
270
|
flex-direction: column;
|
|
270
271
|
min-height: 0;
|
|
272
|
+
margin: 1px;
|
|
271
273
|
display: flex;
|
|
274
|
+
overflow: hidden;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.o-rich-text > .o-rich-text__toolbar + .o-rich-text__raw {
|
|
278
|
+
border-start-start-radius: 0;
|
|
279
|
+
border-start-end-radius: 0;
|
|
280
|
+
margin-top: 0;
|
|
272
281
|
}
|
|
273
282
|
|
|
274
283
|
.o-rich-text__raw-banner {
|
package/dist/styles/core.css
CHANGED
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
--o-identity-agency: oklch(34% .075 330);
|
|
50
50
|
--o-identity-partner: oklch(34% .06 160);
|
|
51
51
|
--o-identity-affiliate: oklch(34% .09 290);
|
|
52
|
+
--o-identity-support: oklch(36% .032 238);
|
|
52
53
|
--o-identity-enterprise: oklch(17.8% 0 0);
|
|
53
54
|
--o-font-sans: "Geist Variable", "Geist Sans", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
54
55
|
--o-font-display: "Sora Variable", "Sora", var(--o-font-sans);
|
package/dist/styles.css
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
--o-identity-agency: oklch(34% .075 330);
|
|
49
49
|
--o-identity-partner: oklch(34% .06 160);
|
|
50
50
|
--o-identity-affiliate: oklch(34% .09 290);
|
|
51
|
+
--o-identity-support: oklch(36% .032 238);
|
|
51
52
|
--o-identity-enterprise: oklch(17.8% 0 0);
|
|
52
53
|
--o-font-sans: "Geist Variable", "Geist Sans", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
53
54
|
--o-font-display: "Sora Variable", "Sora", var(--o-font-sans);
|
|
@@ -8173,7 +8174,7 @@
|
|
|
8173
8174
|
.o-dialog__portal {
|
|
8174
8175
|
z-index: var(--o-z-popover);
|
|
8175
8176
|
pointer-events: none;
|
|
8176
|
-
position:
|
|
8177
|
+
position: fixed;
|
|
8177
8178
|
inset: 0;
|
|
8178
8179
|
}
|
|
8179
8180
|
|
|
@@ -8468,7 +8469,7 @@
|
|
|
8468
8469
|
.o-sheet__portal {
|
|
8469
8470
|
z-index: var(--o-z-popover);
|
|
8470
8471
|
pointer-events: none;
|
|
8471
|
-
position:
|
|
8472
|
+
position: fixed;
|
|
8472
8473
|
inset: 0;
|
|
8473
8474
|
}
|
|
8474
8475
|
|
|
@@ -15719,6 +15720,10 @@
|
|
|
15719
15720
|
--o-app: var(--o-identity-affiliate);
|
|
15720
15721
|
}
|
|
15721
15722
|
|
|
15723
|
+
.o-shell[data-o-app="support"] {
|
|
15724
|
+
--o-app: var(--o-identity-support);
|
|
15725
|
+
}
|
|
15726
|
+
|
|
15722
15727
|
.o-shell[data-o-app="enterprise"] {
|
|
15723
15728
|
--o-app: var(--o-identity-enterprise);
|
|
15724
15729
|
}
|
|
@@ -24728,10 +24733,19 @@
|
|
|
24728
24733
|
flex: auto;
|
|
24729
24734
|
}
|
|
24730
24735
|
|
|
24731
|
-
.o-rich-text__raw {
|
|
24736
|
+
.o-rich-text > .o-rich-text__raw {
|
|
24737
|
+
border-radius: calc(var(--o-radius-md) - 1px);
|
|
24732
24738
|
flex-direction: column;
|
|
24733
24739
|
min-height: 0;
|
|
24740
|
+
margin: 1px;
|
|
24734
24741
|
display: flex;
|
|
24742
|
+
overflow: hidden;
|
|
24743
|
+
}
|
|
24744
|
+
|
|
24745
|
+
.o-rich-text > .o-rich-text__toolbar + .o-rich-text__raw {
|
|
24746
|
+
border-start-start-radius: 0;
|
|
24747
|
+
border-start-end-radius: 0;
|
|
24748
|
+
margin-top: 0;
|
|
24735
24749
|
}
|
|
24736
24750
|
|
|
24737
24751
|
.o-rich-text__raw-banner {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orbitcommerce/constellation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
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",
|