@drawnagency/primitives 0.1.66 → 0.1.67
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-4VMAZZXT.js +968 -0
- package/dist/{chunk-VEIDANEU.js → chunk-KM6HOW4H.js} +126 -39
- package/dist/{chunk-DQTKWKSK.js → chunk-WJ7RZ6CC.js} +11 -2
- package/dist/components/primitives/defineHeadingSection.d.ts +2 -0
- package/dist/components/primitives/defineHeadingSection.d.ts.map +1 -1
- package/dist/components/primitives/index.js +1 -1
- package/dist/components/sections/Button/index.d.ts.map +1 -1
- package/dist/components/sections/Colors/index.d.ts.map +1 -1
- package/dist/components/sections/Colors/schema.d.ts.map +1 -1
- package/dist/components/sections/Container/index.d.ts.map +1 -1
- package/dist/components/sections/DoDontMedia/index.d.ts.map +1 -1
- package/dist/components/sections/IconList/IconList.d.ts +2 -1
- package/dist/components/sections/IconList/IconList.d.ts.map +1 -1
- package/dist/components/sections/IconList/IconListSettings.d.ts +2 -1
- package/dist/components/sections/IconList/IconListSettings.d.ts.map +1 -1
- package/dist/components/sections/IconList/index.d.ts +1 -0
- package/dist/components/sections/IconList/index.d.ts.map +1 -1
- package/dist/components/sections/LinkHeading/index.d.ts.map +1 -1
- package/dist/components/sections/Media/index.d.ts.map +1 -1
- package/dist/components/sections/Prose/index.d.ts.map +1 -1
- package/dist/components/sections/Spacer/index.d.ts.map +1 -1
- package/dist/components/sections/SubHeading/index.d.ts.map +1 -1
- package/dist/components/sections/SubSubHeading/index.d.ts.map +1 -1
- package/dist/components/sections/all-sections.d.ts +1 -0
- package/dist/components/sections/all-sections.d.ts.map +1 -1
- package/dist/components/sections/brand-guide.d.ts +1 -0
- package/dist/components/sections/brand-guide.d.ts.map +1 -1
- package/dist/components/sections/brand-guide.js +1 -1
- package/dist/components/sections/register-schemas.js +11 -941
- package/dist/components/sections/register.js +36 -0
- package/dist/components/shell/EditorShell.d.ts.map +1 -1
- package/dist/index.js +20 -20
- package/dist/lib/index.js +2 -2
- package/dist/lib/insert-menu.d.ts +19 -0
- package/dist/lib/insert-menu.d.ts.map +1 -0
- package/dist/lib/registry.d.ts +23 -0
- package/dist/lib/registry.d.ts.map +1 -1
- package/dist/types/database.d.ts +248 -34
- package/dist/types/database.d.ts.map +1 -1
- package/package.json +5 -1
- package/src/components/primitives/defineHeadingSection.tsx +18 -2
- package/src/components/sections/Button/index.tsx +10 -3
- package/src/components/sections/Colors/index.tsx +15 -7
- package/src/components/sections/Colors/schema.ts +5 -2
- package/src/components/sections/Container/index.tsx +19 -3
- package/src/components/sections/DoDontMedia/index.tsx +18 -7
- package/src/components/sections/IconList/IconList.tsx +43 -19
- package/src/components/sections/IconList/IconListSettings.tsx +58 -11
- package/src/components/sections/IconList/index.tsx +51 -7
- package/src/components/sections/LinkHeading/index.tsx +2 -0
- package/src/components/sections/Media/index.tsx +15 -6
- package/src/components/sections/Prose/index.tsx +9 -1
- package/src/components/sections/Spacer/index.tsx +2 -0
- package/src/components/sections/SubHeading/index.tsx +2 -0
- package/src/components/sections/SubSubHeading/index.tsx +2 -0
- package/src/components/shell/EditorShell.tsx +13 -19
- package/src/lib/insert-menu.ts +42 -0
- package/src/lib/registry.ts +24 -0
- package/src/types/database.ts +236 -36
- package/dist/{chunk-ZYXLNJ5M.js → chunk-AFK45HX2.js} +3 -3
|
@@ -51,8 +51,8 @@ var ColorSpaceSchema = z.object({
|
|
|
51
51
|
{ message: "At least one color space must be defined" }
|
|
52
52
|
);
|
|
53
53
|
var ColorItemSchema = z.object({
|
|
54
|
-
name: z.string().optional(),
|
|
55
|
-
spaces: z.array(ColorSpaceSchema).min(1)
|
|
54
|
+
name: z.string().describe("Optional display name for this color (e.g. 'Brand Primary').").optional(),
|
|
55
|
+
spaces: z.array(ColorSpaceSchema).describe("One or more color-space definitions (hex/rgb/cmyk/pantone) for this color.").min(1)
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
// src/components/brandguide/Colors.tsx
|
|
@@ -329,12 +329,14 @@ function pluralize(n, word) {
|
|
|
329
329
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
330
330
|
var schema = z2.object({
|
|
331
331
|
type: z2.literal("colors"),
|
|
332
|
-
content: z2.object({
|
|
332
|
+
content: z2.object({
|
|
333
|
+
colors: z2.array(ColorItemSchema).describe("The list of brand colors, each with one or more color-space values (hex/rgb/cmyk/pantone).")
|
|
334
|
+
}),
|
|
333
335
|
options: z2.object({
|
|
334
|
-
label: z2.string().optional(),
|
|
335
|
-
columns: z2.number().int().min(2).max(4).optional(),
|
|
336
|
-
collapsing: z2.boolean().optional(),
|
|
337
|
-
showLabel: z2.boolean().optional()
|
|
336
|
+
label: z2.string().describe("Optional heading shown above the palette.").optional(),
|
|
337
|
+
columns: z2.number().int().min(2).max(4).describe("Number of swatch columns (2\u20134).").optional(),
|
|
338
|
+
collapsing: z2.boolean().describe("When true, use the compact collapsing swatch layout.").optional(),
|
|
339
|
+
showLabel: z2.boolean().describe("When true, show the palette label.").optional()
|
|
338
340
|
}).optional()
|
|
339
341
|
});
|
|
340
342
|
var Colors_default = defineSection({
|
|
@@ -343,6 +345,7 @@ var Colors_default = defineSection({
|
|
|
343
345
|
label: "Colors",
|
|
344
346
|
icon: /* @__PURE__ */ jsx3(Palette, { size: 18 }),
|
|
345
347
|
schema,
|
|
348
|
+
authoringNote: "A brand color palette. Each color may carry hex/rgb/cmyk/pantone values. Use to document brand colors with swatches.",
|
|
346
349
|
component: ({ content, options, onChange, openModal }) => /* @__PURE__ */ jsx3(
|
|
347
350
|
Colors,
|
|
348
351
|
{
|
|
@@ -377,7 +380,7 @@ var Colors_default = defineSection({
|
|
|
377
380
|
|
|
378
381
|
// src/components/sections/IconList/index.tsx
|
|
379
382
|
import { z as z3 } from "zod";
|
|
380
|
-
import { List } from "lucide-react";
|
|
383
|
+
import { List, Columns2 } from "lucide-react";
|
|
381
384
|
|
|
382
385
|
// src/components/sections/IconList/IconList.tsx
|
|
383
386
|
import { useRef as useRef3, useEffect as useEffect4, useState as useState3, useCallback } from "react";
|
|
@@ -514,6 +517,7 @@ function IconList({
|
|
|
514
517
|
icon = null,
|
|
515
518
|
showLabel = true,
|
|
516
519
|
stackText = false,
|
|
520
|
+
dodont,
|
|
517
521
|
labelClassName = "font-bold text-base-contrast",
|
|
518
522
|
textClassName = "text-base-contrast-light",
|
|
519
523
|
iconClassName = "text-primary",
|
|
@@ -526,11 +530,11 @@ function IconList({
|
|
|
526
530
|
onChange?.({
|
|
527
531
|
type: "icon_list",
|
|
528
532
|
content: { items: newItems },
|
|
529
|
-
options: { icon, showLabel, stackText }
|
|
533
|
+
options: { icon, showLabel, stackText, dodont }
|
|
530
534
|
});
|
|
531
535
|
onItemsChange?.(newItems);
|
|
532
536
|
},
|
|
533
|
-
[onChange, onItemsChange, icon, showLabel, stackText]
|
|
537
|
+
[onChange, onItemsChange, icon, showLabel, stackText, dodont]
|
|
534
538
|
);
|
|
535
539
|
if (!isEditMode) {
|
|
536
540
|
return /* @__PURE__ */ jsx6(
|
|
@@ -540,6 +544,7 @@ function IconList({
|
|
|
540
544
|
defaultIcon: icon,
|
|
541
545
|
showLabel,
|
|
542
546
|
stackText,
|
|
547
|
+
dodont,
|
|
543
548
|
labelClassName,
|
|
544
549
|
textClassName,
|
|
545
550
|
iconClassName
|
|
@@ -553,6 +558,7 @@ function IconList({
|
|
|
553
558
|
defaultIcon: icon,
|
|
554
559
|
showLabel,
|
|
555
560
|
stackText,
|
|
561
|
+
dodont,
|
|
556
562
|
labelClassName,
|
|
557
563
|
textClassName,
|
|
558
564
|
iconClassName,
|
|
@@ -560,15 +566,20 @@ function IconList({
|
|
|
560
566
|
}
|
|
561
567
|
);
|
|
562
568
|
}
|
|
563
|
-
function resolveIcon(item, defaultIcon) {
|
|
569
|
+
function resolveIcon(item, defaultIcon, sectionDodont) {
|
|
564
570
|
if (item.dodont === "do") return getIcon("check") ?? null;
|
|
565
571
|
if (item.dodont === "dont") return getIcon("x") ?? null;
|
|
566
|
-
|
|
567
|
-
|
|
572
|
+
if (item.icon) return getIcon(item.icon) ?? null;
|
|
573
|
+
if (sectionDodont === "do") return getIcon("check") ?? null;
|
|
574
|
+
if (sectionDodont === "dont") return getIcon("x") ?? null;
|
|
575
|
+
return defaultIcon ? getIcon(defaultIcon) : null;
|
|
568
576
|
}
|
|
569
|
-
function resolveIconColor(item, iconClassName) {
|
|
577
|
+
function resolveIconColor(item, iconClassName, sectionDodont) {
|
|
570
578
|
if (item.dodont === "do") return "text-green-600";
|
|
571
579
|
if (item.dodont === "dont") return "text-red-600";
|
|
580
|
+
if (item.icon) return iconClassName;
|
|
581
|
+
if (sectionDodont === "do") return "text-green-600";
|
|
582
|
+
if (sectionDodont === "dont") return "text-red-600";
|
|
572
583
|
return iconClassName;
|
|
573
584
|
}
|
|
574
585
|
function ViewIconList({
|
|
@@ -576,14 +587,15 @@ function ViewIconList({
|
|
|
576
587
|
defaultIcon,
|
|
577
588
|
showLabel,
|
|
578
589
|
stackText,
|
|
590
|
+
dodont,
|
|
579
591
|
labelClassName,
|
|
580
592
|
textClassName,
|
|
581
593
|
iconClassName
|
|
582
594
|
}) {
|
|
583
|
-
const hasAnyIcon = items.some((item) => resolveIcon(item, defaultIcon));
|
|
595
|
+
const hasAnyIcon = items.some((item) => resolveIcon(item, defaultIcon, dodont));
|
|
584
596
|
return /* @__PURE__ */ jsx6("div", { className: "grid gap-4 pb-4", children: items.map((item, i) => {
|
|
585
|
-
const iconEntry = resolveIcon(item, defaultIcon);
|
|
586
|
-
const iconColor = resolveIconColor(item, iconClassName);
|
|
597
|
+
const iconEntry = resolveIcon(item, defaultIcon, dodont);
|
|
598
|
+
const iconColor = resolveIconColor(item, iconClassName, dodont);
|
|
587
599
|
return /* @__PURE__ */ jsxs5(
|
|
588
600
|
"div",
|
|
589
601
|
{
|
|
@@ -625,6 +637,7 @@ function EditIconList({
|
|
|
625
637
|
defaultIcon,
|
|
626
638
|
showLabel,
|
|
627
639
|
stackText,
|
|
640
|
+
dodont,
|
|
628
641
|
labelClassName,
|
|
629
642
|
textClassName,
|
|
630
643
|
iconClassName,
|
|
@@ -669,6 +682,7 @@ function EditIconList({
|
|
|
669
682
|
hasAnyIcon,
|
|
670
683
|
showLabel,
|
|
671
684
|
stackText,
|
|
685
|
+
dodont,
|
|
672
686
|
labelClassName,
|
|
673
687
|
textClassName,
|
|
674
688
|
iconClassName,
|
|
@@ -711,6 +725,7 @@ function EditableRow({
|
|
|
711
725
|
hasAnyIcon,
|
|
712
726
|
showLabel,
|
|
713
727
|
stackText,
|
|
728
|
+
dodont,
|
|
714
729
|
labelClassName,
|
|
715
730
|
textClassName,
|
|
716
731
|
iconClassName,
|
|
@@ -727,9 +742,9 @@ function EditableRow({
|
|
|
727
742
|
const [pickerOpen, setPickerOpen] = useState3(false);
|
|
728
743
|
const [dodontOpen, setDodontOpen] = useState3(false);
|
|
729
744
|
const [editingSuppressed, setEditingSuppressed] = useState3(false);
|
|
730
|
-
const iconEntry = resolveIcon(item, defaultIcon);
|
|
745
|
+
const iconEntry = resolveIcon(item, defaultIcon, dodont);
|
|
731
746
|
const effectiveIconId = item.icon ?? defaultIcon ?? null;
|
|
732
|
-
const iconColor = resolveIconColor(item, iconClassName);
|
|
747
|
+
const iconColor = resolveIconColor(item, iconClassName, dodont);
|
|
733
748
|
useEffect4(() => {
|
|
734
749
|
const row = rowRef.current;
|
|
735
750
|
const handle = handleRef.current;
|
|
@@ -967,21 +982,59 @@ function TrailingDropZone({
|
|
|
967
982
|
|
|
968
983
|
// src/components/sections/IconList/IconListSettings.tsx
|
|
969
984
|
import { useState as useState4 } from "react";
|
|
985
|
+
import { Check as Check3, X as X3 } from "lucide-react";
|
|
970
986
|
import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
971
987
|
function IconListSettings({
|
|
972
988
|
icon: initialIcon,
|
|
973
989
|
showLabel: initialShowLabel,
|
|
974
990
|
stackText: initialStackText,
|
|
991
|
+
dodont: initialDodont,
|
|
975
992
|
onChange
|
|
976
993
|
}) {
|
|
977
994
|
const [icon, setIcon] = useState4(initialIcon);
|
|
978
995
|
const [showLabel, setShowLabel] = useState4(initialShowLabel);
|
|
979
996
|
const [stackText, setStackText] = useState4(initialStackText);
|
|
997
|
+
const [dodont, setDodont] = useState4(initialDodont);
|
|
980
998
|
const [pickerOpen, setPickerOpen] = useState4(false);
|
|
981
|
-
const emit = (overrides) => onChange({ content: {}, options: { icon, showLabel, stackText, ...overrides } });
|
|
982
|
-
const showIcons = icon !== null;
|
|
999
|
+
const emit = (overrides) => onChange({ content: {}, options: { icon, showLabel, stackText, dodont, ...overrides } });
|
|
983
1000
|
const iconEntry = icon ? getIcon(icon) : null;
|
|
1001
|
+
const dodontActive = dodont === "do" || dodont === "dont";
|
|
1002
|
+
const tile = (value, label, aria, glyph, tint) => /* @__PURE__ */ jsxs6(
|
|
1003
|
+
"button",
|
|
1004
|
+
{
|
|
1005
|
+
type: "button",
|
|
1006
|
+
"aria-label": aria,
|
|
1007
|
+
"aria-pressed": dodont === value,
|
|
1008
|
+
className: cn(
|
|
1009
|
+
"cursor-pointer flex flex-col items-center gap-1 rounded border py-2 transition-colors",
|
|
1010
|
+
tint,
|
|
1011
|
+
dodont === value ? "border-primary bg-base-accent" : "border-base-200"
|
|
1012
|
+
),
|
|
1013
|
+
onClick: () => {
|
|
1014
|
+
setDodont(value);
|
|
1015
|
+
emit({ dodont: value });
|
|
1016
|
+
},
|
|
1017
|
+
children: [
|
|
1018
|
+
glyph,
|
|
1019
|
+
/* @__PURE__ */ jsx7("span", { className: "text-xs font-medium", children: label })
|
|
1020
|
+
]
|
|
1021
|
+
}
|
|
1022
|
+
);
|
|
984
1023
|
return /* @__PURE__ */ jsxs6("div", { className: "space-y-4", children: [
|
|
1024
|
+
/* @__PURE__ */ jsxs6("div", { children: [
|
|
1025
|
+
/* @__PURE__ */ jsx7(FormLabel, { children: "Do / Don't list" }),
|
|
1026
|
+
/* @__PURE__ */ jsxs6("div", { className: "grid grid-cols-3 gap-2", children: [
|
|
1027
|
+
tile(
|
|
1028
|
+
void 0,
|
|
1029
|
+
"None",
|
|
1030
|
+
"No do/don't",
|
|
1031
|
+
/* @__PURE__ */ jsx7("span", { className: "flex h-5 w-5 items-center justify-center rounded-sm border border-dashed border-base-contrast-light/40" }),
|
|
1032
|
+
"text-base-contrast-light"
|
|
1033
|
+
),
|
|
1034
|
+
tile("do", "Do", "Do list", /* @__PURE__ */ jsx7(Check3, { size: 20 }), "text-green-600"),
|
|
1035
|
+
tile("dont", "Don't", "Don't list", /* @__PURE__ */ jsx7(X3, { size: 20 }), "text-red-600")
|
|
1036
|
+
] })
|
|
1037
|
+
] }),
|
|
985
1038
|
/* @__PURE__ */ jsxs6("div", { className: "relative", children: [
|
|
986
1039
|
/* @__PURE__ */ jsx7(FormLabel, { htmlFor: "icon-picker-btn", children: "Default Icon" }),
|
|
987
1040
|
/* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-2", children: [
|
|
@@ -989,15 +1042,21 @@ function IconListSettings({
|
|
|
989
1042
|
"button",
|
|
990
1043
|
{
|
|
991
1044
|
id: "icon-picker-btn",
|
|
992
|
-
|
|
993
|
-
|
|
1045
|
+
disabled: dodontActive,
|
|
1046
|
+
className: cn(
|
|
1047
|
+
"flex items-center gap-2 rounded border border-base-200 px-3 py-1.5 text-sm text-base-contrast-light",
|
|
1048
|
+
dodontActive ? "cursor-not-allowed opacity-50" : "cursor-pointer hover:border-primary hover:text-primary"
|
|
1049
|
+
),
|
|
1050
|
+
onClick: () => {
|
|
1051
|
+
if (!dodontActive) setPickerOpen((prev) => !prev);
|
|
1052
|
+
},
|
|
994
1053
|
children: [
|
|
995
1054
|
iconEntry && /* @__PURE__ */ jsx7(iconEntry.icon, { size: 16 }),
|
|
996
1055
|
/* @__PURE__ */ jsx7("span", { children: iconEntry?.label ?? "None" })
|
|
997
1056
|
]
|
|
998
1057
|
}
|
|
999
1058
|
),
|
|
1000
|
-
icon && /* @__PURE__ */ jsx7(
|
|
1059
|
+
icon && !dodontActive && /* @__PURE__ */ jsx7(
|
|
1001
1060
|
"button",
|
|
1002
1061
|
{
|
|
1003
1062
|
className: "cursor-pointer text-xs text-base-contrast-light hover:text-base-contrast",
|
|
@@ -1009,7 +1068,8 @@ function IconListSettings({
|
|
|
1009
1068
|
}
|
|
1010
1069
|
)
|
|
1011
1070
|
] }),
|
|
1012
|
-
|
|
1071
|
+
dodontActive && /* @__PURE__ */ jsx7("p", { className: "mt-1 text-xs text-base-contrast-light/70", children: "Whole-list Do/Don't overrides the default icon." }),
|
|
1072
|
+
pickerOpen && !dodontActive && /* @__PURE__ */ jsx7("div", { className: "absolute top-full left-0 z-50 mt-1", children: /* @__PURE__ */ jsx7(
|
|
1013
1073
|
IconPicker,
|
|
1014
1074
|
{
|
|
1015
1075
|
selected: icon,
|
|
@@ -1060,20 +1120,40 @@ var IconListItemSchema = z3.object({
|
|
|
1060
1120
|
var schema2 = z3.object({
|
|
1061
1121
|
type: z3.literal("icon_list"),
|
|
1062
1122
|
content: z3.object({
|
|
1063
|
-
items: z3.array(IconListItemSchema)
|
|
1123
|
+
items: z3.array(IconListItemSchema).describe(
|
|
1124
|
+
"The list entries. Each item has a label, descriptive text, an optional icon, and an optional do/don't marker."
|
|
1125
|
+
)
|
|
1064
1126
|
}),
|
|
1065
1127
|
options: z3.object({
|
|
1066
|
-
icon: z3.string().nullable().optional(),
|
|
1067
|
-
showLabel: z3.boolean().optional(),
|
|
1068
|
-
stackText: z3.boolean().optional()
|
|
1128
|
+
icon: z3.string().nullable().describe("Default icon name applied to items that don't specify their own; null for no icon.").optional(),
|
|
1129
|
+
showLabel: z3.boolean().describe("When true, render each item's label.").optional(),
|
|
1130
|
+
stackText: z3.boolean().describe("When true, stack the label and text vertically instead of inline.").optional(),
|
|
1131
|
+
dodont: z3.enum(["do", "dont"]).describe("Whole-list do/don't mode: render every item with a green check (do) or red x (don't).").optional()
|
|
1069
1132
|
}).optional()
|
|
1070
1133
|
});
|
|
1134
|
+
var doDontListPreset = {
|
|
1135
|
+
id: "do_dont_list",
|
|
1136
|
+
label: "Do / Don't list",
|
|
1137
|
+
icon: /* @__PURE__ */ jsx8(Columns2, { size: 18 }),
|
|
1138
|
+
build: (newId) => ({
|
|
1139
|
+
type: "container",
|
|
1140
|
+
content: {
|
|
1141
|
+
columns: 2,
|
|
1142
|
+
flow: "row",
|
|
1143
|
+
children: [
|
|
1144
|
+
{ id: newId(), type: "icon_list", content: { items: [{ label: "", text: "" }] }, options: { dodont: "do" } },
|
|
1145
|
+
{ id: newId(), type: "icon_list", content: { items: [{ label: "", text: "" }] }, options: { dodont: "dont" } }
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
})
|
|
1149
|
+
};
|
|
1071
1150
|
var IconList_default = defineSection({
|
|
1072
1151
|
type: "icon_list",
|
|
1073
1152
|
category: "brand-guide",
|
|
1074
1153
|
label: "Icon List",
|
|
1075
1154
|
icon: /* @__PURE__ */ jsx8(List, { size: 18 }),
|
|
1076
1155
|
schema: schema2,
|
|
1156
|
+
authoringNote: "A list of labeled items, optionally with per-item icons and do/don't markers. Use for feature lists, guidelines, or do/don't guidance.",
|
|
1077
1157
|
component: ({ content, options, onChange }) => /* @__PURE__ */ jsx8(
|
|
1078
1158
|
IconList,
|
|
1079
1159
|
{
|
|
@@ -1081,6 +1161,7 @@ var IconList_default = defineSection({
|
|
|
1081
1161
|
icon: options?.icon,
|
|
1082
1162
|
showLabel: options?.showLabel,
|
|
1083
1163
|
stackText: options?.stackText,
|
|
1164
|
+
dodont: options?.dodont,
|
|
1084
1165
|
onChange: onChange ? (c) => onChange(c) : void 0
|
|
1085
1166
|
}
|
|
1086
1167
|
),
|
|
@@ -1089,7 +1170,8 @@ var IconList_default = defineSection({
|
|
|
1089
1170
|
content: { items: [{ label: "", text: "" }] }
|
|
1090
1171
|
}),
|
|
1091
1172
|
getLabel: (content) => pluralize(content.content.items.length, "icon"),
|
|
1092
|
-
settingsForm: IconListSettings
|
|
1173
|
+
settingsForm: IconListSettings,
|
|
1174
|
+
presets: [doDontListPreset]
|
|
1093
1175
|
});
|
|
1094
1176
|
|
|
1095
1177
|
// src/components/sections/DoDontMedia/index.tsx
|
|
@@ -1097,11 +1179,11 @@ import { z as z4 } from "zod";
|
|
|
1097
1179
|
import { Image as ImageIcon } from "lucide-react";
|
|
1098
1180
|
|
|
1099
1181
|
// src/components/sections/DoDontMedia/DoDontMediaBlock.tsx
|
|
1100
|
-
import { Check as
|
|
1182
|
+
import { Check as Check4, X as X4 } from "lucide-react";
|
|
1101
1183
|
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1102
1184
|
function DoDontMediaBlock({ refValue, options, link, dodont, isEditMode, onRefChange }) {
|
|
1103
1185
|
return /* @__PURE__ */ jsxs7("div", { children: [
|
|
1104
|
-
/* @__PURE__ */ jsx9("div", { className: "flex h-10 items-center justify-center pb-1", children: dodont === "do" ? /* @__PURE__ */ jsx9(
|
|
1186
|
+
/* @__PURE__ */ jsx9("div", { className: "flex h-10 items-center justify-center pb-1", children: dodont === "do" ? /* @__PURE__ */ jsx9(Check4, { size: 28, className: "text-green-600" }) : /* @__PURE__ */ jsx9(X4, { size: 28, className: "text-red-600" }) }),
|
|
1105
1187
|
/* @__PURE__ */ jsx9(
|
|
1106
1188
|
MediaBlock,
|
|
1107
1189
|
{
|
|
@@ -1120,15 +1202,19 @@ import { jsx as jsx10 } from "react/jsx-runtime";
|
|
|
1120
1202
|
var schema3 = z4.object({
|
|
1121
1203
|
type: z4.literal("dodont_media"),
|
|
1122
1204
|
content: z4.object({
|
|
1123
|
-
ref: SingleMediaReferenceSchema
|
|
1124
|
-
|
|
1125
|
-
|
|
1205
|
+
ref: SingleMediaReferenceSchema.describe(
|
|
1206
|
+
"The image or video asset to display (a media reference by id). Required."
|
|
1207
|
+
),
|
|
1208
|
+
link: LinkValueSchema.describe(
|
|
1209
|
+
"Optional link wrapping the media \u2014 an internal page or a safe external URL."
|
|
1210
|
+
).optional(),
|
|
1211
|
+
dodont: z4.enum(["do", "dont"]).describe("Whether this is a 'do' (correct) or 'dont' (incorrect) example.")
|
|
1126
1212
|
}),
|
|
1127
1213
|
options: z4.object({
|
|
1128
|
-
square: z4.boolean().optional(),
|
|
1129
|
-
showCaption: z4.boolean().optional(),
|
|
1130
|
-
border: z4.boolean().optional(),
|
|
1131
|
-
objectFit: z4.enum(["cover", "contain"]).optional()
|
|
1214
|
+
square: z4.boolean().describe("When true, crop the media to a 1:1 square aspect ratio.").optional(),
|
|
1215
|
+
showCaption: z4.boolean().describe("When true, render the asset's caption beneath it.").optional(),
|
|
1216
|
+
border: z4.boolean().describe("When true, draw a border around the media.").optional(),
|
|
1217
|
+
objectFit: z4.enum(["cover", "contain"]).describe("How the image fills its box: 'contain' (fit whole image) or 'cover' (fill and crop).").optional()
|
|
1132
1218
|
}).default({})
|
|
1133
1219
|
});
|
|
1134
1220
|
var DoDontMedia_default = defineSection({
|
|
@@ -1137,6 +1223,7 @@ var DoDontMedia_default = defineSection({
|
|
|
1137
1223
|
category: "brand-guide",
|
|
1138
1224
|
icon: /* @__PURE__ */ jsx10(ImageIcon, { size: 18 }),
|
|
1139
1225
|
schema: schema3,
|
|
1226
|
+
authoringNote: "A single image or video tagged as a 'do' or 'don't' example. Use inside a Container to build side-by-side do/don't comparisons of visual usage.",
|
|
1140
1227
|
component: ({ content, options, onChange }) => /* @__PURE__ */ jsx10(
|
|
1141
1228
|
DoDontMediaBlock,
|
|
1142
1229
|
{
|
|
@@ -39,7 +39,15 @@ function HeadingSection({ heading, tag, placeholder, className, onChange }) {
|
|
|
39
39
|
// src/components/primitives/defineHeadingSection.tsx
|
|
40
40
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
41
41
|
function defineHeadingSection(config) {
|
|
42
|
-
const
|
|
42
|
+
const heading = z.string().describe(
|
|
43
|
+
"The heading text. Plain text, one line; keep concise \u2014 it appears verbatim in the on-page heading and (unless excluded) the navigation."
|
|
44
|
+
);
|
|
45
|
+
const content = config.navExclusion ? z.object({
|
|
46
|
+
heading,
|
|
47
|
+
excludeFromNav: z.boolean().describe(
|
|
48
|
+
"When true, this heading is omitted from the generated navigation tree while still rendering on the page."
|
|
49
|
+
).optional()
|
|
50
|
+
}) : z.object({ heading });
|
|
43
51
|
const schema = z.object({ type: z.literal(config.type), content });
|
|
44
52
|
return defineSection({
|
|
45
53
|
type: config.type,
|
|
@@ -47,13 +55,14 @@ function defineHeadingSection(config) {
|
|
|
47
55
|
icon: config.icon,
|
|
48
56
|
schema,
|
|
49
57
|
navRole: config.navRole,
|
|
58
|
+
authoringNote: config.authoringNote,
|
|
50
59
|
component: ({ content: content2, onChange }) => /* @__PURE__ */ jsx2(
|
|
51
60
|
HeadingSection,
|
|
52
61
|
{
|
|
53
62
|
heading: content2.content.heading,
|
|
54
63
|
tag: config.tag,
|
|
55
64
|
placeholder: config.placeholder,
|
|
56
|
-
onChange: onChange ? (
|
|
65
|
+
onChange: onChange ? (heading2) => onChange({ ...content2, content: { ...content2.content, heading: heading2 } }) : void 0
|
|
57
66
|
}
|
|
58
67
|
),
|
|
59
68
|
defaults: () => ({ type: config.type, content: { heading: config.defaultHeading } }),
|
|
@@ -11,6 +11,8 @@ interface HeadingSectionConfig<T extends string> {
|
|
|
11
11
|
defaultHeading: string;
|
|
12
12
|
/** When true, adds the `excludeFromNav` content field plus its settings toggle. */
|
|
13
13
|
navExclusion?: boolean;
|
|
14
|
+
/** Per-type authoring note surfaced by get_section_schema. */
|
|
15
|
+
authoringNote: string;
|
|
14
16
|
}
|
|
15
17
|
/**
|
|
16
18
|
* Factory for the heading section family (link / sub / sub-sub). They differ only
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineHeadingSection.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/defineHeadingSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,UAAU,oBAAoB,CAAC,CAAC,SAAS,MAAM;IAC7C,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,uFAAuF;IACvF,OAAO,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,oCAAoC;IACpC,GAAG,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,YAAY,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"defineHeadingSection.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/defineHeadingSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,UAAU,oBAAoB,CAAC,CAAC,SAAS,MAAM;IAC7C,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,uFAAuF;IACvF,OAAO,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,oCAAoC;IACpC,GAAG,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC;;;;;GA4CrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Button/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Button/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAoBA,wBAqBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Colors/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Colors/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAwBA,wBAqCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Colors/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,gBAAgB;;;;;iBAQ5B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,eAAe;;;;;;;;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Colors/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,gBAAgB;;;;;iBAQ5B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,eAAe;;;;;;;;iBAM1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Container/index.tsx"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Container/index.tsx"],"names":[],"mappings":";;;;;;;;;AAgDA,wBAgBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/DoDontMedia/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/DoDontMedia/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,wBA6DG"}
|
|
@@ -5,12 +5,13 @@ interface Props {
|
|
|
5
5
|
icon?: string | null;
|
|
6
6
|
showLabel?: boolean;
|
|
7
7
|
stackText?: boolean;
|
|
8
|
+
dodont?: "do" | "dont";
|
|
8
9
|
labelClassName?: string;
|
|
9
10
|
textClassName?: string;
|
|
10
11
|
iconClassName?: string;
|
|
11
12
|
onChange?: (content: SectionContent) => void;
|
|
12
13
|
onItemsChange?: (items: IconListItem[]) => void;
|
|
13
14
|
}
|
|
14
|
-
export default function IconList({ items, icon, showLabel, stackText, labelClassName, textClassName, iconClassName, onChange, onItemsChange, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default function IconList({ items, icon, showLabel, stackText, dodont, labelClassName, textClassName, iconClassName, onChange, onItemsChange, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export {};
|
|
16
17
|
//# sourceMappingURL=IconList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconList.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/IconList/IconList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAUhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,UAAU,KAAK;IACb,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CACjD;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,KAAK,EACL,IAAW,EACX,SAAgB,EAChB,SAAiB,EACjB,cAA+C,EAC/C,aAA0C,EAC1C,aAA8B,EAC9B,QAAQ,EACR,aAAa,GACd,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"IconList.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/IconList/IconList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAUhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,UAAU,KAAK;IACb,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CACjD;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,KAAK,EACL,IAAW,EACX,SAAgB,EAChB,SAAiB,EACjB,MAAM,EACN,cAA+C,EAC/C,aAA0C,EAC1C,aAA8B,EAC9B,QAAQ,EACR,aAAa,GACd,EAAE,KAAK,2CA2CP"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare function IconListSettings({ icon: initialIcon, showLabel: initialShowLabel, stackText: initialStackText, onChange, }: {
|
|
1
|
+
export declare function IconListSettings({ icon: initialIcon, showLabel: initialShowLabel, stackText: initialStackText, dodont: initialDodont, onChange, }: {
|
|
2
2
|
icon: string | null;
|
|
3
3
|
showLabel: boolean;
|
|
4
4
|
stackText: boolean;
|
|
5
|
+
dodont?: "do" | "dont";
|
|
5
6
|
onChange: (result: {
|
|
6
7
|
content: Record<string, unknown>;
|
|
7
8
|
options: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconListSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/IconList/IconListSettings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IconListSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/IconList/IconListSettings.tsx"],"names":[],"mappings":"AAQA,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,gBAAgB,EAC3B,SAAS,EAAE,gBAAgB,EAC3B,MAAM,EAAE,aAAa,EACrB,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;CACpG,2CA2GA"}
|
|
@@ -23,6 +23,7 @@ declare const _default: import("../../..").SectionDefinition<{
|
|
|
23
23
|
icon?: string | null | undefined;
|
|
24
24
|
showLabel?: boolean | undefined;
|
|
25
25
|
stackText?: boolean | undefined;
|
|
26
|
+
dodont?: "do" | "dont" | undefined;
|
|
26
27
|
} | undefined;
|
|
27
28
|
}>;
|
|
28
29
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/IconList/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/IconList/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,kBAAkB;;;;;;;;iBAK7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;AAoD9D,wBAyBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/LinkHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/LinkHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAUG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Media/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Media/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,wBAgDG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Prose/index.tsx"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Prose/index.tsx"],"names":[],"mappings":";;;;;;AAiBA,wBAaG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Spacer/index.tsx"],"names":[],"mappings":";;;;AAUA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/Spacer/index.tsx"],"names":[],"mappings":";;;;AAUA,wBASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAWG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubSubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/SubSubHeading/index.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAWG"}
|
|
@@ -127,6 +127,7 @@ export declare const allSectionDefs: (import("../..").SectionDefinition<{
|
|
|
127
127
|
icon?: string | null | undefined;
|
|
128
128
|
showLabel?: boolean | undefined;
|
|
129
129
|
stackText?: boolean | undefined;
|
|
130
|
+
dodont?: "do" | "dont" | undefined;
|
|
130
131
|
} | undefined;
|
|
131
132
|
}> | import("../..").SectionDefinition<{
|
|
132
133
|
type: "dodont_media";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-sections.d.ts","sourceRoot":"","sources":["../../../src/components/sections/all-sections.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"all-sections.d.ts","sourceRoot":"","sources":["../../../src/components/sections/all-sections.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAiD,CAAC"}
|
|
@@ -35,6 +35,7 @@ export declare const brandGuideSectionDefs: (import("../..").SectionDefinition<{
|
|
|
35
35
|
icon?: string | null | undefined;
|
|
36
36
|
showLabel?: boolean | undefined;
|
|
37
37
|
stackText?: boolean | undefined;
|
|
38
|
+
dodont?: "do" | "dont" | undefined;
|
|
38
39
|
} | undefined;
|
|
39
40
|
}> | import("../..").SectionDefinition<{
|
|
40
41
|
type: "dodont_media";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brand-guide.d.ts","sourceRoot":"","sources":["../../../src/components/sections/brand-guide.ts"],"names":[],"mappings":"AAIA;;;iEAGiE;AAEjE,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"brand-guide.d.ts","sourceRoot":"","sources":["../../../src/components/sections/brand-guide.ts"],"names":[],"mappings":"AAIA;;;iEAGiE;AAEjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAkC,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACpE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
|