@drawnagency/primitives 0.1.118 → 0.1.120
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/{chunk-O37AV27P.js → chunk-5JYHTHVR.js} +28 -0
- package/dist/{chunk-W72BPGR3.js → chunk-BZKHHUIN.js} +44 -8
- package/dist/{chunk-4NSOKEA7.js → chunk-HFHM4MNK.js} +12 -7
- package/dist/{chunk-CEFFP3CH.js → chunk-HZTPF6OK.js} +304 -83
- package/dist/{chunk-RIITGTV3.js → chunk-LQHBC7C6.js} +37 -2
- package/dist/{chunk-VY3IFGE3.js → chunk-QAMAIDXZ.js} +1 -1
- package/dist/{chunk-HRX3XJBU.js → chunk-RIN2QCYJ.js} +9 -11
- package/dist/{chunk-ZOTRHHUB.js → chunk-UNFPATDE.js} +8 -10
- package/dist/{chunk-ERLIL4RU.js → chunk-UZBFVVTC.js} +35 -37
- package/dist/{chunk-67P34WNW.js → chunk-ZKVQMIMJ.js} +3 -20
- package/dist/collab/rebase.js +4 -5
- package/dist/components/chat/ChatComposer.d.ts +0 -4
- package/dist/components/chat/ChatComposer.d.ts.map +1 -1
- package/dist/components/chat/ChatPanel.d.ts +2 -3
- package/dist/components/chat/ChatPanel.d.ts.map +1 -1
- package/dist/components/chat/markdown.d.ts +2 -3
- package/dist/components/chat/markdown.d.ts.map +1 -1
- package/dist/components/editor/AudienceIndicator.d.ts +3 -1
- package/dist/components/editor/AudienceIndicator.d.ts.map +1 -1
- package/dist/components/editor/IndicatorPill.d.ts +3 -1
- package/dist/components/editor/IndicatorPill.d.ts.map +1 -1
- package/dist/components/editor/PagesModal.d.ts +0 -2
- package/dist/components/editor/PagesModal.d.ts.map +1 -1
- package/dist/components/editor/SectionBulkEditModal.d.ts +25 -0
- package/dist/components/editor/SectionBulkEditModal.d.ts.map +1 -0
- package/dist/components/editor/StatusIndicator.d.ts +3 -1
- package/dist/components/editor/StatusIndicator.d.ts.map +1 -1
- package/dist/components/editor/index.js +28 -26
- package/dist/components/primitives/index.js +11 -15
- package/dist/components/sections/brand-guide.js +10 -13
- package/dist/components/sections/register-schemas.js +16 -21
- package/dist/components/sections/register.js +16 -21
- package/dist/components/shared/Popover.d.ts +1 -1
- package/dist/components/shared/Popover.d.ts.map +1 -1
- package/dist/components/shared/SectionSummaryRow.d.ts +1 -1
- package/dist/components/shell/AudienceChips.d.ts +1 -3
- package/dist/components/shell/AudienceChips.d.ts.map +1 -1
- package/dist/components/shell/EditorModal.d.ts.map +1 -1
- package/dist/components/shell/EditorShell.d.ts +0 -34
- package/dist/components/shell/EditorShell.d.ts.map +1 -1
- package/dist/components/shell/SiteSettingsModal.d.ts.map +1 -1
- package/dist/hooks/useSortableNavRow.d.ts +1 -1
- package/dist/hooks/useSortableRow.d.ts +1 -1
- package/dist/index.js +83 -90
- package/dist/lib/index-ops.js +5 -6
- package/dist/lib/index.js +27 -32
- package/dist/lib/pages.d.ts +0 -2
- package/dist/lib/pages.d.ts.map +1 -1
- package/dist/lib/sidecars.js +2 -2
- package/dist/lib/site-validation.js +13 -14
- package/dist/lib/storage-tier.js +4 -4
- package/dist/schemas/index.js +42 -45
- package/dist/schemas/site-config.d.ts +1 -277
- package/dist/schemas/site-config.d.ts.map +1 -1
- package/package.json +2 -42
- package/src/components/chat/ChatComposer.tsx +0 -4
- package/src/components/chat/ChatPanel.tsx +2 -3
- package/src/components/chat/markdown.ts +2 -3
- package/src/components/editor/AudienceIndicator.tsx +8 -4
- package/src/components/editor/IndicatorPill.tsx +4 -0
- package/src/components/editor/PagesModal.tsx +1 -15
- package/src/components/editor/SectionBulkEditModal.tsx +328 -0
- package/src/components/editor/StatusIndicator.tsx +7 -6
- package/src/components/shared/Popover.tsx +17 -4
- package/src/components/shared/SectionSummaryRow.tsx +1 -1
- package/src/components/shell/AudienceChips.tsx +1 -3
- package/src/components/shell/EditorModal.tsx +5 -2
- package/src/components/shell/EditorShell.tsx +15 -119
- package/src/components/shell/SiteSettingsModal.tsx +0 -11
- package/src/lib/pages.ts +0 -22
- package/src/schemas/index.ts +0 -4
- package/src/schemas/site-config.ts +4 -32
- package/dist/chunk-4TZJZU2T.js +0 -92
- package/dist/chunk-DIMDRBFK.js +0 -11
- package/dist/chunk-FV7JQRCN.js +0 -94
- package/dist/chunk-IIDKW7AV.js +0 -41
- package/dist/chunk-JCDZAFX2.js +0 -224
- package/dist/chunk-MM7KZS5C.js +0 -30
- package/dist/chunk-QQ3S3P5P.js +0 -38
- package/dist/chunk-TEOAKGZA.js +0 -784
- package/dist/chunk-VAYZJKVR.js +0 -209
- package/dist/components/editor/SectionOrderingModal.d.ts +0 -10
- package/dist/components/editor/SectionOrderingModal.d.ts.map +0 -1
- package/dist/components/shell/DocInspector.d.ts +0 -18
- package/dist/components/shell/DocInspector.d.ts.map +0 -1
- package/dist/components/shell/DocumentEditorOverlay.d.ts +0 -29
- package/dist/components/shell/DocumentEditorOverlay.d.ts.map +0 -1
- package/dist/components/shell/DocumentPresentOverlay.d.ts +0 -30
- package/dist/components/shell/DocumentPresentOverlay.d.ts.map +0 -1
- package/dist/components/shell/SiteSettingsDecks.d.ts +0 -13
- package/dist/components/shell/SiteSettingsDecks.d.ts.map +0 -1
- package/dist/deck/DeckComponentView.d.ts +0 -13
- package/dist/deck/DeckComponentView.d.ts.map +0 -1
- package/dist/deck/DeckPlayer.d.ts +0 -26
- package/dist/deck/DeckPlayer.d.ts.map +0 -1
- package/dist/deck/DeckSlideView.d.ts +0 -17
- package/dist/deck/DeckSlideView.d.ts.map +0 -1
- package/dist/deck/DeckStage.d.ts +0 -16
- package/dist/deck/DeckStage.d.ts.map +0 -1
- package/dist/deck/components/DeckImage.d.ts +0 -14
- package/dist/deck/components/DeckImage.d.ts.map +0 -1
- package/dist/deck/components/DeckImageGrid.d.ts +0 -27
- package/dist/deck/components/DeckImageGrid.d.ts.map +0 -1
- package/dist/deck/components/DeckRichText.d.ts +0 -22
- package/dist/deck/components/DeckRichText.d.ts.map +0 -1
- package/dist/deck/components/DeckVideo.d.ts +0 -15
- package/dist/deck/components/DeckVideo.d.ts.map +0 -1
- package/dist/deck/editing.d.ts +0 -50
- package/dist/deck/editing.d.ts.map +0 -1
- package/dist/deck/flip.d.ts +0 -11
- package/dist/deck/flip.d.ts.map +0 -1
- package/dist/deck/index.d.ts +0 -24
- package/dist/deck/index.d.ts.map +0 -1
- package/dist/deck/index.js +0 -51
- package/dist/deck/layouts/CenteredTextLayout.d.ts +0 -12
- package/dist/deck/layouts/CenteredTextLayout.d.ts.map +0 -1
- package/dist/deck/layouts/ColumnSplitLayout.d.ts +0 -14
- package/dist/deck/layouts/ColumnSplitLayout.d.ts.map +0 -1
- package/dist/deck/layouts/FullBleedImageLayout.d.ts +0 -14
- package/dist/deck/layouts/FullBleedImageLayout.d.ts.map +0 -1
- package/dist/deck/media.d.ts +0 -33
- package/dist/deck/media.d.ts.map +0 -1
- package/dist/deck/tokens.d.ts +0 -22
- package/dist/deck/tokens.d.ts.map +0 -1
- package/dist/deck/useStageScale.d.ts +0 -10
- package/dist/deck/useStageScale.d.ts.map +0 -1
- package/dist/deck-builder/DeckBuilderApp.d.ts +0 -30
- package/dist/deck-builder/DeckBuilderApp.d.ts.map +0 -1
- package/dist/deck-builder/DeckBuilderTopBar.d.ts +0 -24
- package/dist/deck-builder/DeckBuilderTopBar.d.ts.map +0 -1
- package/dist/deck-builder/DeckChatPanel.d.ts +0 -45
- package/dist/deck-builder/DeckChatPanel.d.ts.map +0 -1
- package/dist/deck-builder/DeckEditor.d.ts +0 -37
- package/dist/deck-builder/DeckEditor.d.ts.map +0 -1
- package/dist/deck-builder/DeckLibrary.d.ts +0 -22
- package/dist/deck-builder/DeckLibrary.d.ts.map +0 -1
- package/dist/deck-builder/DeckSlideSurface.d.ts +0 -31
- package/dist/deck-builder/DeckSlideSurface.d.ts.map +0 -1
- package/dist/deck-builder/deck-api.d.ts +0 -76
- package/dist/deck-builder/deck-api.d.ts.map +0 -1
- package/dist/deck-builder/deck-chat-client.d.ts +0 -44
- package/dist/deck-builder/deck-chat-client.d.ts.map +0 -1
- package/dist/deck-builder/deck-chat-history.d.ts +0 -10
- package/dist/deck-builder/deck-chat-history.d.ts.map +0 -1
- package/dist/deck-builder/index.d.ts +0 -13
- package/dist/deck-builder/index.d.ts.map +0 -1
- package/dist/deck-builder/index.js +0 -1498
- package/dist/deck-builder/starter-deck.d.ts +0 -23
- package/dist/deck-builder/starter-deck.d.ts.map +0 -1
- package/dist/deck-builder/types.d.ts +0 -29
- package/dist/deck-builder/types.d.ts.map +0 -1
- package/dist/deck-builder/useSortableSlide.d.ts +0 -29
- package/dist/deck-builder/useSortableSlide.d.ts.map +0 -1
- package/dist/document/assets/fonts/albra-grotesk-bold.woff +0 -0
- package/dist/document/assets/fonts/albra-grotesk-regular.woff +0 -0
- package/dist/document/assets/fonts/kapra-neue-expanded-medium.woff +0 -0
- package/dist/document/assets/fonts/kapra-neue-expanded-regular.woff +0 -0
- package/dist/document/components/DocCoverPage.d.ts +0 -11
- package/dist/document/components/DocCoverPage.d.ts.map +0 -1
- package/dist/document/components/DocPage.d.ts +0 -10
- package/dist/document/components/DocPage.d.ts.map +0 -1
- package/dist/document/components/DocRail.d.ts +0 -28
- package/dist/document/components/DocRail.d.ts.map +0 -1
- package/dist/document/components/DocSectionPage.d.ts +0 -12
- package/dist/document/components/DocSectionPage.d.ts.map +0 -1
- package/dist/document/components/DocViewer.d.ts +0 -21
- package/dist/document/components/DocViewer.d.ts.map +0 -1
- package/dist/document/components/Wordmark.d.ts +0 -4
- package/dist/document/components/Wordmark.d.ts.map +0 -1
- package/dist/document/components/measure.d.ts +0 -7
- package/dist/document/components/measure.d.ts.map +0 -1
- package/dist/document/components/useDocPages.d.ts +0 -12
- package/dist/document/components/useDocPages.d.ts.map +0 -1
- package/dist/document/engine/blocks.d.ts +0 -2
- package/dist/document/engine/blocks.d.ts.map +0 -1
- package/dist/document/engine/harvest.d.ts +0 -3
- package/dist/document/engine/harvest.d.ts.map +0 -1
- package/dist/document/engine/masonry.d.ts +0 -26
- package/dist/document/engine/masonry.d.ts.map +0 -1
- package/dist/document/engine/paginate.d.ts +0 -43
- package/dist/document/engine/paginate.d.ts.map +0 -1
- package/dist/document/engine/settings.d.ts +0 -91
- package/dist/document/engine/settings.d.ts.map +0 -1
- package/dist/document/engine/types.d.ts +0 -44
- package/dist/document/engine/types.d.ts.map +0 -1
- package/dist/document/index.d.ts +0 -13
- package/dist/document/index.d.ts.map +0 -1
- package/dist/document/index.js +0 -1030
- package/dist/document/styles/document.css +0 -217
- package/dist/lib/deck-access.d.ts +0 -86
- package/dist/lib/deck-access.d.ts.map +0 -1
- package/dist/lib/deck-access.js +0 -58
- package/dist/lib/deck-dexie.d.ts +0 -88
- package/dist/lib/deck-dexie.d.ts.map +0 -1
- package/dist/lib/deck-dexie.js +0 -22
- package/dist/lib/deck-edit.d.ts +0 -67
- package/dist/lib/deck-edit.d.ts.map +0 -1
- package/dist/lib/deck-media-assets.d.ts +0 -27
- package/dist/lib/deck-media-assets.d.ts.map +0 -1
- package/dist/lib/deck-media-assets.js +0 -25
- package/dist/lib/deck-media-refs.d.ts +0 -35
- package/dist/lib/deck-media-refs.d.ts.map +0 -1
- package/dist/lib/deck-media-refs.js +0 -36
- package/dist/lib/deck-tool.d.ts +0 -25
- package/dist/lib/deck-tool.d.ts.map +0 -1
- package/dist/lib/deck-tool.js +0 -58
- package/dist/lib/document-input.d.ts +0 -25
- package/dist/lib/document-input.d.ts.map +0 -1
- package/dist/schemas/deck-meta.d.ts +0 -85
- package/dist/schemas/deck-meta.d.ts.map +0 -1
- package/dist/schemas/deck-meta.js +0 -64
- package/dist/schemas/deck.d.ts +0 -954
- package/dist/schemas/deck.d.ts.map +0 -1
- package/dist/schemas/deck.js +0 -65
- package/src/components/editor/SectionOrderingModal.tsx +0 -80
- package/src/components/shell/DocInspector.tsx +0 -314
- package/src/components/shell/DocumentEditorOverlay.tsx +0 -179
- package/src/components/shell/DocumentPresentOverlay.tsx +0 -87
- package/src/components/shell/SiteSettingsDecks.tsx +0 -41
- package/src/deck/DeckComponentView.tsx +0 -28
- package/src/deck/DeckPlayer.tsx +0 -166
- package/src/deck/DeckSlideView.tsx +0 -38
- package/src/deck/DeckStage.tsx +0 -39
- package/src/deck/components/DeckImage.tsx +0 -38
- package/src/deck/components/DeckImageGrid.tsx +0 -254
- package/src/deck/components/DeckRichText.tsx +0 -111
- package/src/deck/components/DeckVideo.tsx +0 -81
- package/src/deck/editing.tsx +0 -201
- package/src/deck/flip.ts +0 -70
- package/src/deck/index.ts +0 -30
- package/src/deck/layouts/CenteredTextLayout.tsx +0 -29
- package/src/deck/layouts/ColumnSplitLayout.tsx +0 -69
- package/src/deck/layouts/FullBleedImageLayout.tsx +0 -58
- package/src/deck/media.tsx +0 -46
- package/src/deck/tokens.ts +0 -57
- package/src/deck/useStageScale.ts +0 -44
- package/src/deck-builder/DeckBuilderApp.tsx +0 -572
- package/src/deck-builder/DeckBuilderTopBar.tsx +0 -62
- package/src/deck-builder/DeckChatPanel.tsx +0 -334
- package/src/deck-builder/DeckEditor.tsx +0 -258
- package/src/deck-builder/DeckLibrary.tsx +0 -195
- package/src/deck-builder/DeckSlideSurface.tsx +0 -55
- package/src/deck-builder/deck-api.ts +0 -177
- package/src/deck-builder/deck-chat-client.ts +0 -129
- package/src/deck-builder/deck-chat-history.ts +0 -62
- package/src/deck-builder/index.ts +0 -12
- package/src/deck-builder/starter-deck.ts +0 -86
- package/src/deck-builder/types.ts +0 -24
- package/src/deck-builder/useSortableSlide.ts +0 -102
- package/src/document/assets/fonts/albra-grotesk-bold.woff +0 -0
- package/src/document/assets/fonts/albra-grotesk-regular.woff +0 -0
- package/src/document/assets/fonts/kapra-neue-expanded-medium.woff +0 -0
- package/src/document/assets/fonts/kapra-neue-expanded-regular.woff +0 -0
- package/src/document/components/DocCoverPage.tsx +0 -45
- package/src/document/components/DocPage.tsx +0 -40
- package/src/document/components/DocRail.tsx +0 -189
- package/src/document/components/DocSectionPage.tsx +0 -48
- package/src/document/components/DocViewer.tsx +0 -313
- package/src/document/components/Wordmark.tsx +0 -18
- package/src/document/components/measure.tsx +0 -133
- package/src/document/components/useDocPages.ts +0 -95
- package/src/document/engine/blocks.ts +0 -116
- package/src/document/engine/harvest.ts +0 -95
- package/src/document/engine/masonry.ts +0 -158
- package/src/document/engine/paginate.ts +0 -232
- package/src/document/engine/settings.ts +0 -125
- package/src/document/engine/types.ts +0 -64
- package/src/document/index.ts +0 -18
- package/src/document/styles/document.css +0 -217
- package/src/lib/deck-access.ts +0 -132
- package/src/lib/deck-dexie.ts +0 -190
- package/src/lib/deck-edit.ts +0 -196
- package/src/lib/deck-media-assets.ts +0 -57
- package/src/lib/deck-media-refs.ts +0 -67
- package/src/lib/deck-tool.ts +0 -95
- package/src/lib/document-input.ts +0 -57
- package/src/schemas/deck-meta.ts +0 -88
- package/src/schemas/deck.ts +0 -478
- package/dist/{chunk-DJABADOO.js → chunk-AJ2QOAZI.js} +3 -3
|
@@ -1,44 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeleteButton,
|
|
3
3
|
DragHandle,
|
|
4
|
+
Kbd,
|
|
5
|
+
Popover,
|
|
6
|
+
PopoverItem,
|
|
4
7
|
SettingsButton,
|
|
5
8
|
SettingsForm,
|
|
9
|
+
Tooltip,
|
|
6
10
|
buildBlockDragData,
|
|
7
11
|
buildBlockDropData,
|
|
8
12
|
canDropBlock,
|
|
9
13
|
isBlockDragData,
|
|
10
14
|
useEditorContext
|
|
11
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-HZTPF6OK.js";
|
|
16
|
+
import "../../chunk-GGYY3JQJ.js";
|
|
12
17
|
import {
|
|
13
18
|
CheckboxBox
|
|
14
19
|
} from "../../chunk-JR24U7FJ.js";
|
|
15
20
|
import {
|
|
16
|
-
DropEdgeIndicator
|
|
17
|
-
} from "../../chunk-RIITGTV3.js";
|
|
18
|
-
import {
|
|
19
|
-
Kbd,
|
|
20
|
-
Popover,
|
|
21
|
-
PopoverItem,
|
|
22
|
-
Tooltip
|
|
23
|
-
} from "../../chunk-JCDZAFX2.js";
|
|
24
|
-
import "../../chunk-GGYY3JQJ.js";
|
|
25
|
-
import {
|
|
21
|
+
DropEdgeIndicator,
|
|
26
22
|
IconButton
|
|
27
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-LQHBC7C6.js";
|
|
28
24
|
import "../../chunk-HHNPSKPT.js";
|
|
29
25
|
import "../../chunk-CDBURDPX.js";
|
|
30
26
|
import "../../chunk-XDEPXTBY.js";
|
|
31
27
|
import {
|
|
32
28
|
cn
|
|
33
29
|
} from "../../chunk-7EOSDFS3.js";
|
|
30
|
+
import {
|
|
31
|
+
REFERENCE_TYPE
|
|
32
|
+
} from "../../chunk-5GFACGSN.js";
|
|
34
33
|
import "../../chunk-S7QRHUWO.js";
|
|
35
34
|
import {
|
|
36
35
|
tagDisplayLabel
|
|
37
36
|
} from "../../chunk-4WQ36ZP7.js";
|
|
38
37
|
import "../../chunk-GNF6KFQ7.js";
|
|
39
|
-
import {
|
|
40
|
-
REFERENCE_TYPE
|
|
41
|
-
} from "../../chunk-5GFACGSN.js";
|
|
42
38
|
import "../../chunk-APIJPTFG.js";
|
|
43
39
|
import "../../chunk-JSBRDJBE.js";
|
|
44
40
|
|
|
@@ -75,7 +71,8 @@ function IndicatorPill({
|
|
|
75
71
|
className,
|
|
76
72
|
buttonClassName,
|
|
77
73
|
ariaLabel,
|
|
78
|
-
disabled
|
|
74
|
+
disabled,
|
|
75
|
+
placement = "bottom"
|
|
79
76
|
}) {
|
|
80
77
|
const [hoverOpen, setHoverOpen] = useState(false);
|
|
81
78
|
const [clickOpen, setClickOpen] = useState(false);
|
|
@@ -158,6 +155,7 @@ function IndicatorPill({
|
|
|
158
155
|
isOpen: clickOpen,
|
|
159
156
|
onClose: handleClickClose,
|
|
160
157
|
anchorRef: buttonRef,
|
|
158
|
+
placement,
|
|
161
159
|
className: "min-w-full max-w-xs",
|
|
162
160
|
children: typeof clickContent === "function" ? clickContent(handleClickClose) : clickContent
|
|
163
161
|
}
|
|
@@ -213,10 +211,10 @@ function deriveStatusDisplay({ mainStatus, savedStatus, contentDiffers, isLocalO
|
|
|
213
211
|
};
|
|
214
212
|
}
|
|
215
213
|
var dotColorClasses = {
|
|
216
|
-
live: "bg-status-live-
|
|
217
|
-
draft: "bg-status-draft-
|
|
218
|
-
archived: "bg-white border-status-
|
|
219
|
-
modified: "bg-status-modified-
|
|
214
|
+
live: "bg-status-live-dot",
|
|
215
|
+
draft: "bg-status-draft-dot",
|
|
216
|
+
archived: "bg-white border-status-archived-dot-border",
|
|
217
|
+
modified: "bg-status-modified-dot"
|
|
220
218
|
};
|
|
221
219
|
var STATUSES = ["draft", "live", "archived"];
|
|
222
220
|
function StatusRadioList({ status, onChange, onClose, ariaLabel = "Section status" }) {
|
|
@@ -276,30 +274,34 @@ function StatusIndicator({
|
|
|
276
274
|
}
|
|
277
275
|
|
|
278
276
|
// src/components/editor/AudienceIndicator.tsx
|
|
279
|
-
import { Check as Check2 } from "lucide-react";
|
|
277
|
+
import { Check as Check2, Minus } from "lucide-react";
|
|
280
278
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
281
|
-
function AudienceChecklist({ access, audiences, onToggle }) {
|
|
279
|
+
function AudienceChecklist({ access, audiences, onToggle, partial = [] }) {
|
|
282
280
|
if (audiences.length === 0) {
|
|
283
281
|
return /* @__PURE__ */ jsx4("div", { className: "px-3 py-2 text-xs text-base-contrast-light whitespace-nowrap", children: "No audiences configured. Add audiences in Site Settings \u2192 Viewer Access." });
|
|
284
282
|
}
|
|
285
283
|
return /* @__PURE__ */ jsx4("ul", { role: "list", className: "w-full overflow-hidden py-1", children: audiences.map((a) => {
|
|
286
284
|
const checked = access.includes(a.name);
|
|
285
|
+
const mixed = !checked && partial.includes(a.name);
|
|
287
286
|
return /* @__PURE__ */ jsx4("li", { children: /* @__PURE__ */ jsxs4(
|
|
288
287
|
PopoverItem,
|
|
289
288
|
{
|
|
290
289
|
role: "checkbox",
|
|
291
|
-
"aria-checked": checked,
|
|
290
|
+
"aria-checked": mixed ? "mixed" : checked,
|
|
292
291
|
onClick: () => onToggle(a.name),
|
|
293
292
|
children: [
|
|
294
|
-
/* @__PURE__ */
|
|
293
|
+
/* @__PURE__ */ jsxs4(
|
|
295
294
|
"span",
|
|
296
295
|
{
|
|
297
296
|
"aria-hidden": "true",
|
|
298
297
|
className: cn(
|
|
299
298
|
"flex h-5 w-5 shrink-0 items-center justify-center rounded border transition-colors",
|
|
300
|
-
checked ? "border-primary bg-primary text-primary-contrast" : "border-base-300 bg-base"
|
|
299
|
+
checked || mixed ? "border-primary bg-primary text-primary-contrast" : "border-base-300 bg-base"
|
|
301
300
|
),
|
|
302
|
-
children:
|
|
301
|
+
children: [
|
|
302
|
+
checked && /* @__PURE__ */ jsx4(Check2, { size: 14, strokeWidth: 3 }),
|
|
303
|
+
mixed && /* @__PURE__ */ jsx4(Minus, { size: 14, strokeWidth: 3 })
|
|
304
|
+
]
|
|
303
305
|
}
|
|
304
306
|
),
|
|
305
307
|
/* @__PURE__ */ jsx4(
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
EditableRichText,
|
|
3
3
|
LinkPopover,
|
|
4
4
|
defineHeadingSection
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-UNFPATDE.js";
|
|
6
|
+
import "../../chunk-GGYY3JQJ.js";
|
|
6
7
|
import {
|
|
7
8
|
EditableGrid,
|
|
8
9
|
EditableList,
|
|
@@ -10,31 +11,26 @@ import {
|
|
|
10
11
|
ImageDropZone,
|
|
11
12
|
MediaBlock,
|
|
12
13
|
ResolvedMedia
|
|
13
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-HFHM4MNK.js";
|
|
14
15
|
import {
|
|
15
16
|
LinkField,
|
|
16
17
|
PagesContext,
|
|
17
18
|
usePages
|
|
18
|
-
} from "../../chunk-
|
|
19
|
-
import "../../chunk-DIMDRBFK.js";
|
|
20
|
-
import "../../chunk-GGYY3JQJ.js";
|
|
21
|
-
import "../../chunk-IIDKW7AV.js";
|
|
19
|
+
} from "../../chunk-LQHBC7C6.js";
|
|
22
20
|
import "../../chunk-HHNPSKPT.js";
|
|
23
21
|
import "../../chunk-CDBURDPX.js";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-QQ3S3P5P.js";
|
|
22
|
+
import "../../chunk-BZKHHUIN.js";
|
|
26
23
|
import "../../chunk-7EOSDFS3.js";
|
|
27
|
-
import "../../chunk-VY3IFGE3.js";
|
|
28
|
-
import "../../chunk-S7QRHUWO.js";
|
|
29
24
|
import "../../chunk-L45X7DKX.js";
|
|
30
|
-
import "../../chunk-
|
|
25
|
+
import "../../chunk-5GFACGSN.js";
|
|
26
|
+
import "../../chunk-QAMAIDXZ.js";
|
|
27
|
+
import "../../chunk-S7QRHUWO.js";
|
|
31
28
|
import "../../chunk-4WQ36ZP7.js";
|
|
29
|
+
import "../../chunk-DJOGPSRU.js";
|
|
32
30
|
import "../../chunk-GNF6KFQ7.js";
|
|
33
|
-
import "../../chunk-5GFACGSN.js";
|
|
34
|
-
import "../../chunk-67P34WNW.js";
|
|
35
|
-
import "../../chunk-4TZJZU2T.js";
|
|
36
|
-
import "../../chunk-APIJPTFG.js";
|
|
37
31
|
import "../../chunk-FTPETWXE.js";
|
|
32
|
+
import "../../chunk-ZKVQMIMJ.js";
|
|
33
|
+
import "../../chunk-APIJPTFG.js";
|
|
38
34
|
import "../../chunk-AASEGXNT.js";
|
|
39
35
|
import "../../chunk-JSBRDJBE.js";
|
|
40
36
|
export {
|
|
@@ -2,30 +2,27 @@ import {
|
|
|
2
2
|
ColorItemSchema,
|
|
3
3
|
ColorSpaceSchema,
|
|
4
4
|
brandGuideSectionDefs
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-RIN2QCYJ.js";
|
|
6
6
|
import "../../chunk-JR24U7FJ.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-DIMDRBFK.js";
|
|
10
|
-
import "../../chunk-IIDKW7AV.js";
|
|
7
|
+
import "../../chunk-HFHM4MNK.js";
|
|
8
|
+
import "../../chunk-LQHBC7C6.js";
|
|
11
9
|
import "../../chunk-HHNPSKPT.js";
|
|
12
10
|
import "../../chunk-CDBURDPX.js";
|
|
11
|
+
import "../../chunk-3ZRQ4G5F.js";
|
|
12
|
+
import "../../chunk-BS5AQHZG.js";
|
|
13
13
|
import "../../chunk-WDSVHKAH.js";
|
|
14
14
|
import "../../chunk-XDEPXTBY.js";
|
|
15
15
|
import "../../chunk-7EOSDFS3.js";
|
|
16
|
-
import "../../chunk-VY3IFGE3.js";
|
|
17
|
-
import "../../chunk-S7QRHUWO.js";
|
|
18
16
|
import "../../chunk-L45X7DKX.js";
|
|
17
|
+
import "../../chunk-5GFACGSN.js";
|
|
18
|
+
import "../../chunk-QAMAIDXZ.js";
|
|
19
|
+
import "../../chunk-S7QRHUWO.js";
|
|
19
20
|
import "../../chunk-DJOGPSRU.js";
|
|
20
21
|
import "../../chunk-GNF6KFQ7.js";
|
|
21
|
-
import "../../chunk-5GFACGSN.js";
|
|
22
|
-
import "../../chunk-67P34WNW.js";
|
|
23
|
-
import "../../chunk-4TZJZU2T.js";
|
|
24
|
-
import "../../chunk-APIJPTFG.js";
|
|
25
22
|
import "../../chunk-FTPETWXE.js";
|
|
23
|
+
import "../../chunk-ZKVQMIMJ.js";
|
|
24
|
+
import "../../chunk-APIJPTFG.js";
|
|
26
25
|
import "../../chunk-AASEGXNT.js";
|
|
27
|
-
import "../../chunk-3ZRQ4G5F.js";
|
|
28
|
-
import "../../chunk-BS5AQHZG.js";
|
|
29
26
|
import "../../chunk-JSBRDJBE.js";
|
|
30
27
|
export {
|
|
31
28
|
ColorItemSchema,
|
|
@@ -1,43 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
allSectionDefs
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-JR24U7FJ.js";
|
|
7
|
-
import "../../chunk-ZOTRHHUB.js";
|
|
8
|
-
import "../../chunk-4NSOKEA7.js";
|
|
9
|
-
import "../../chunk-RIITGTV3.js";
|
|
10
|
-
import "../../chunk-JCDZAFX2.js";
|
|
11
|
-
import "../../chunk-DIMDRBFK.js";
|
|
3
|
+
} from "../../chunk-UZBFVVTC.js";
|
|
4
|
+
import "../../chunk-HZTPF6OK.js";
|
|
5
|
+
import "../../chunk-UNFPATDE.js";
|
|
12
6
|
import "../../chunk-GGYY3JQJ.js";
|
|
13
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-RIN2QCYJ.js";
|
|
8
|
+
import "../../chunk-JR24U7FJ.js";
|
|
9
|
+
import "../../chunk-HFHM4MNK.js";
|
|
10
|
+
import "../../chunk-LQHBC7C6.js";
|
|
14
11
|
import "../../chunk-Y4JQGO6G.js";
|
|
15
12
|
import "../../chunk-HHNPSKPT.js";
|
|
16
13
|
import "../../chunk-CDBURDPX.js";
|
|
14
|
+
import "../../chunk-3ZRQ4G5F.js";
|
|
15
|
+
import "../../chunk-BS5AQHZG.js";
|
|
16
|
+
import "../../chunk-BZKHHUIN.js";
|
|
17
17
|
import "../../chunk-WDSVHKAH.js";
|
|
18
18
|
import "../../chunk-XDEPXTBY.js";
|
|
19
|
-
import "../../chunk-W72BPGR3.js";
|
|
20
|
-
import "../../chunk-QQ3S3P5P.js";
|
|
21
19
|
import "../../chunk-7EOSDFS3.js";
|
|
22
|
-
import "../../chunk-VY3IFGE3.js";
|
|
23
|
-
import "../../chunk-S7QRHUWO.js";
|
|
24
20
|
import "../../chunk-L45X7DKX.js";
|
|
25
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-5GFACGSN.js";
|
|
22
|
+
import "../../chunk-QAMAIDXZ.js";
|
|
23
|
+
import "../../chunk-S7QRHUWO.js";
|
|
26
24
|
import "../../chunk-4WQ36ZP7.js";
|
|
25
|
+
import "../../chunk-DJOGPSRU.js";
|
|
27
26
|
import "../../chunk-GNF6KFQ7.js";
|
|
28
|
-
import "../../chunk-5GFACGSN.js";
|
|
29
27
|
import "../../chunk-DMCGN5AS.js";
|
|
30
|
-
import "../../chunk-67P34WNW.js";
|
|
31
|
-
import "../../chunk-4TZJZU2T.js";
|
|
32
|
-
import "../../chunk-APIJPTFG.js";
|
|
33
28
|
import {
|
|
34
29
|
registerRichText,
|
|
35
30
|
registerSchema
|
|
36
31
|
} from "../../chunk-FTPETWXE.js";
|
|
32
|
+
import "../../chunk-ZKVQMIMJ.js";
|
|
33
|
+
import "../../chunk-APIJPTFG.js";
|
|
37
34
|
import "../../chunk-AASEGXNT.js";
|
|
38
35
|
import "../../chunk-NSCT3AMV.js";
|
|
39
|
-
import "../../chunk-3ZRQ4G5F.js";
|
|
40
|
-
import "../../chunk-BS5AQHZG.js";
|
|
41
36
|
import "../../chunk-JSBRDJBE.js";
|
|
42
37
|
|
|
43
38
|
// src/components/sections/register-schemas.ts
|
|
@@ -1,42 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
allSectionDefs
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-JR24U7FJ.js";
|
|
7
|
-
import "../../chunk-ZOTRHHUB.js";
|
|
8
|
-
import "../../chunk-4NSOKEA7.js";
|
|
9
|
-
import "../../chunk-RIITGTV3.js";
|
|
10
|
-
import "../../chunk-JCDZAFX2.js";
|
|
11
|
-
import "../../chunk-DIMDRBFK.js";
|
|
3
|
+
} from "../../chunk-UZBFVVTC.js";
|
|
4
|
+
import "../../chunk-HZTPF6OK.js";
|
|
5
|
+
import "../../chunk-UNFPATDE.js";
|
|
12
6
|
import "../../chunk-GGYY3JQJ.js";
|
|
13
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-RIN2QCYJ.js";
|
|
8
|
+
import "../../chunk-JR24U7FJ.js";
|
|
9
|
+
import "../../chunk-HFHM4MNK.js";
|
|
10
|
+
import "../../chunk-LQHBC7C6.js";
|
|
14
11
|
import "../../chunk-Y4JQGO6G.js";
|
|
15
12
|
import "../../chunk-HHNPSKPT.js";
|
|
16
13
|
import "../../chunk-CDBURDPX.js";
|
|
14
|
+
import "../../chunk-3ZRQ4G5F.js";
|
|
15
|
+
import "../../chunk-BS5AQHZG.js";
|
|
16
|
+
import "../../chunk-BZKHHUIN.js";
|
|
17
17
|
import "../../chunk-WDSVHKAH.js";
|
|
18
18
|
import "../../chunk-XDEPXTBY.js";
|
|
19
|
-
import "../../chunk-W72BPGR3.js";
|
|
20
|
-
import "../../chunk-QQ3S3P5P.js";
|
|
21
19
|
import "../../chunk-7EOSDFS3.js";
|
|
22
|
-
import "../../chunk-VY3IFGE3.js";
|
|
23
|
-
import "../../chunk-S7QRHUWO.js";
|
|
24
20
|
import "../../chunk-L45X7DKX.js";
|
|
25
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-5GFACGSN.js";
|
|
22
|
+
import "../../chunk-QAMAIDXZ.js";
|
|
23
|
+
import "../../chunk-S7QRHUWO.js";
|
|
26
24
|
import "../../chunk-4WQ36ZP7.js";
|
|
25
|
+
import "../../chunk-DJOGPSRU.js";
|
|
27
26
|
import "../../chunk-GNF6KFQ7.js";
|
|
28
|
-
import "../../chunk-5GFACGSN.js";
|
|
29
27
|
import "../../chunk-DMCGN5AS.js";
|
|
30
|
-
import "../../chunk-67P34WNW.js";
|
|
31
|
-
import "../../chunk-4TZJZU2T.js";
|
|
32
|
-
import "../../chunk-APIJPTFG.js";
|
|
33
28
|
import {
|
|
34
29
|
registerSection
|
|
35
30
|
} from "../../chunk-FTPETWXE.js";
|
|
31
|
+
import "../../chunk-ZKVQMIMJ.js";
|
|
32
|
+
import "../../chunk-APIJPTFG.js";
|
|
36
33
|
import "../../chunk-AASEGXNT.js";
|
|
37
34
|
import "../../chunk-NSCT3AMV.js";
|
|
38
|
-
import "../../chunk-3ZRQ4G5F.js";
|
|
39
|
-
import "../../chunk-BS5AQHZG.js";
|
|
40
35
|
import "../../chunk-JSBRDJBE.js";
|
|
41
36
|
|
|
42
37
|
// src/components/sections/register.ts
|
|
@@ -13,7 +13,7 @@ interface PopoverProps {
|
|
|
13
13
|
* panel wider than the sidebar is clipped and adds a horizontal scrollbar.
|
|
14
14
|
*/
|
|
15
15
|
portal?: boolean;
|
|
16
|
-
/** Which side of the anchor to open toward.
|
|
16
|
+
/** Which side of the anchor to open toward. */
|
|
17
17
|
placement?: "bottom" | "top";
|
|
18
18
|
}
|
|
19
19
|
export declare function Popover({ isOpen, onClose, anchorRef, children, align, className, portal, placement, }: PopoverProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/shared/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgD,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrG,UAAU,YAAY;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/shared/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgD,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrG,UAAU,YAAY;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;CAC9B;AAED,wBAAgB,OAAO,CAAC,EACtB,MAAM,EACN,OAAO,EACP,SAAS,EACT,QAAQ,EACR,KAAc,EACd,SAAS,EACT,MAAc,EACd,SAAoB,GACrB,EAAE,YAAY,kDA2Jd"}
|
|
@@ -15,7 +15,7 @@ interface Props {
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* One section as a compact card: type over label, with a thumbnail cluster.
|
|
18
|
-
* Shared by the
|
|
18
|
+
* Shared by the Edit sections modal (which wraps it in a drag handle + drop
|
|
19
19
|
* indicator) and the Audience Details page (which dims unavailable rows), so
|
|
20
20
|
* both read as the same list of the same site.
|
|
21
21
|
*/
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { Audience } from "../../auth/types";
|
|
2
|
-
/** Multi-select audience chips — the site-settings idiom for "who sees this".
|
|
3
|
-
* Shared by the chatbot and deck-builder opt-ins so the two gates, which have
|
|
4
|
-
* identical strict-opt-in semantics, cannot come to look like different rules. */
|
|
2
|
+
/** Multi-select audience chips — the site-settings idiom for "who sees this". */
|
|
5
3
|
export declare function AudienceChips({ audiences, selected, onToggle, }: {
|
|
6
4
|
audiences: Audience[];
|
|
7
5
|
selected: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudienceChips.d.ts","sourceRoot":"","sources":["../../../src/components/shell/AudienceChips.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"AudienceChips.d.ts","sourceRoot":"","sources":["../../../src/components/shell/AudienceChips.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,iFAAiF;AACjF,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,2CAcA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorModal.d.ts","sourceRoot":"","sources":["../../../src/components/shell/EditorModal.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"EditorModal.d.ts","sourceRoot":"","sources":["../../../src/components/shell/EditorModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAS9E,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAgB,EAAE,IAAiB,EAAE,SAAiB,EAAE,MAAc,EAAE,QAAQ,EAAE,EAAE,gBAAgB,sCAwFzJ"}
|
|
@@ -34,39 +34,5 @@ export declare function resolveHistoryPage(historyState: NonNullable<HistoryStat
|
|
|
34
34
|
status: "live" | "archived";
|
|
35
35
|
access: string[];
|
|
36
36
|
order: string[];
|
|
37
|
-
document?: {
|
|
38
|
-
enabled: boolean;
|
|
39
|
-
meta: {
|
|
40
|
-
client: string;
|
|
41
|
-
project: string;
|
|
42
|
-
dateLabel: string;
|
|
43
|
-
};
|
|
44
|
-
cover: {
|
|
45
|
-
bgColor: string;
|
|
46
|
-
accentColor: string;
|
|
47
|
-
title: string;
|
|
48
|
-
label: string;
|
|
49
|
-
date: string;
|
|
50
|
-
imageId: string | null;
|
|
51
|
-
};
|
|
52
|
-
sections: Record<string, {
|
|
53
|
-
excluded: boolean;
|
|
54
|
-
textPlacement: "top" | "leftColumn";
|
|
55
|
-
imagePlacement: "fullWidth" | "right";
|
|
56
|
-
dropTextOverflow: boolean;
|
|
57
|
-
splitAt: "none" | "sub_heading";
|
|
58
|
-
imageLayout: {
|
|
59
|
-
mode: "grid";
|
|
60
|
-
rows: 2 | 1 | 3;
|
|
61
|
-
columns: 2 | 4 | 3;
|
|
62
|
-
fit: "cover" | "contain";
|
|
63
|
-
} | {
|
|
64
|
-
mode: "masonry";
|
|
65
|
-
flow: "rows" | "columns";
|
|
66
|
-
columns: 2 | 4 | 3 | 5 | 6;
|
|
67
|
-
rows: 2 | 4 | 1 | 3 | "auto";
|
|
68
|
-
};
|
|
69
|
-
}>;
|
|
70
|
-
} | undefined;
|
|
71
37
|
};
|
|
72
38
|
//# sourceMappingURL=EditorShell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorShell.d.ts","sourceRoot":"","sources":["../../../src/components/shell/EditorShell.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"EditorShell.d.ts","sourceRoot":"","sources":["../../../src/components/shell/EditorShell.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAWjD,OAAO,EAAoC,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AA4CtF,OAAO,KAAK,EAAE,eAAe,EAA2D,MAAM,oBAAoB,CAAC;AA6DnH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AA8BxD,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,YAAY,EAAE;QACZ,KAAK,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,OAAO,CAAC;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,cAAc,EAAE,OAAO,CAAC;QACxB,kBAAkB,EAAE,OAAO,CAAC;QAC5B,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;IACF,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;KAAE,GAAG,IAAI,CAAC;IAIhE,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAKjC,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;CAC1C;AAQD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,OAAO,EACP,YAAY,EACZ,MAAM,EACN,SAAS,EAAE,gBAAgB,EAC3B,YAAY,EACZ,WAAW,EACX,sBAA8B,EAC9B,eAAe,GAChB,EAAE,KAAK,2CAgsEP;AA8ED;6EAC6E;AAC7E,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC,EACvC,aAAa,EAAE,MAAM,GAAG,IAAI,EAC5B,eAAe,EAAE,MAAM,GAAG,IAAI;;;;;;;;;EAK/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SiteSettingsModal.d.ts","sourceRoot":"","sources":["../../../src/components/shell/SiteSettingsModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SiteSettingsModal.d.ts","sourceRoot":"","sources":["../../../src/components/shell/SiteSettingsModal.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,UAAU,KAAK;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,kBAAkB,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACjD,iBAAiB,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAC;IACnD,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,sBAAsB,EAAE,OAAO,CAAC;IAChC,YAAY,EAAE;QACZ,KAAK,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,OAAO,CAAC;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,cAAc,EAAE,OAAO,CAAC;QACxB,kBAAkB,EAAE,OAAO,CAAC;QAC5B,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;IACF,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;KAAE,GAAG,IAAI,CAAC;IAChE,OAAO,EAAE,WAAW,CAAC;CACtB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,SAAS,EAAE,sBAAsB,EAAE,YAAY,EAAE,WAAW,EAChI,OAAO,GACR,EAAE,KAAK,2CA0HP"}
|
|
@@ -31,7 +31,7 @@ export declare function useSortableNavRow<R extends HTMLElement, H extends HTMLE
|
|
|
31
31
|
rowRef: import("react").RefObject<R | null>;
|
|
32
32
|
handleRef: import("react").RefObject<H | null>;
|
|
33
33
|
isDragging: boolean;
|
|
34
|
-
closestEdge: "
|
|
34
|
+
closestEdge: "bottom" | "top" | null;
|
|
35
35
|
isDropTarget: boolean;
|
|
36
36
|
};
|
|
37
37
|
export {};
|
|
@@ -30,7 +30,7 @@ export declare function useSortableRow<R extends HTMLElement, H extends HTMLElem
|
|
|
30
30
|
rowRef: import("react").RefObject<R | null>;
|
|
31
31
|
handleRef: import("react").RefObject<H | null>;
|
|
32
32
|
isDragging: boolean;
|
|
33
|
-
closestEdge: "
|
|
33
|
+
closestEdge: "bottom" | "top" | null;
|
|
34
34
|
};
|
|
35
35
|
export {};
|
|
36
36
|
//# sourceMappingURL=useSortableRow.d.ts.map
|