@almadar/ui 5.24.0 → 5.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avl/index.cjs +56 -97
- package/dist/avl/index.js +56 -97
- package/dist/components/core/atoms/Typography.d.ts +0 -18
- package/dist/components/core/atoms/index.d.ts +1 -1
- package/dist/components/core/molecules/PropertyInspector.d.ts +3 -2
- package/dist/components/core/molecules/index.d.ts +2 -2
- package/dist/components/core/organisms/ComponentPatterns.d.ts +0 -3
- package/dist/components/core/organisms/index.d.ts +5 -5
- package/dist/components/core/templates/index.d.ts +1 -1
- package/dist/components/game/atoms/DialogueBubble.d.ts +2 -1
- package/dist/components/game/atoms/Sprite.d.ts +2 -2
- package/dist/components/index.cjs +50 -95
- package/dist/components/index.js +51 -96
- package/dist/components/{core → marketing}/organisms/CaseStudyOrganism.d.ts +1 -1
- package/dist/components/{core → marketing}/organisms/FeatureGridOrganism.d.ts +1 -1
- package/dist/components/{core → marketing}/organisms/HeroOrganism.d.ts +1 -1
- package/dist/components/{core → marketing}/organisms/ShowcaseOrganism.d.ts +1 -1
- package/dist/components/{core → marketing}/organisms/StepFlowOrganism.d.ts +1 -1
- package/dist/docs/index.cjs +2 -2
- package/dist/docs/index.js +2 -2
- package/dist/marketing/index.cjs +4 -4
- package/dist/marketing/index.d.ts +4 -4
- package/dist/marketing/index.js +4 -4
- package/dist/providers/index.cjs +53 -94
- package/dist/providers/index.js +53 -94
- package/dist/runtime/index.cjs +53 -94
- package/dist/runtime/index.js +53 -94
- package/package.json +2 -2
- /package/dist/components/{core → marketing}/molecules/MarketingFooter.d.ts +0 -0
- /package/dist/components/{core → marketing}/molecules/PullQuote.d.ts +0 -0
- /package/dist/components/{core → marketing}/templates/AuthLayout.d.ts +0 -0
|
@@ -3810,11 +3810,9 @@ var init_TextHighlight = __esm({
|
|
|
3810
3810
|
// components/core/atoms/Typography.tsx
|
|
3811
3811
|
var Typography_exports = {};
|
|
3812
3812
|
__export(Typography_exports, {
|
|
3813
|
-
Heading: () => exports.Heading,
|
|
3814
|
-
Text: () => exports.Text,
|
|
3815
3813
|
Typography: () => exports.Typography
|
|
3816
3814
|
});
|
|
3817
|
-
var variantStyles6, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles2; exports.Typography = void 0;
|
|
3815
|
+
var variantStyles6, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles2; exports.Typography = void 0;
|
|
3818
3816
|
var init_Typography = __esm({
|
|
3819
3817
|
"components/core/atoms/Typography.tsx"() {
|
|
3820
3818
|
init_cn();
|
|
@@ -3925,46 +3923,6 @@ var init_Typography = __esm({
|
|
|
3925
3923
|
);
|
|
3926
3924
|
};
|
|
3927
3925
|
exports.Typography.displayName = "Typography";
|
|
3928
|
-
sizeStyles5 = {
|
|
3929
|
-
xs: "text-xs",
|
|
3930
|
-
sm: "text-sm",
|
|
3931
|
-
md: "text-base",
|
|
3932
|
-
lg: "text-lg",
|
|
3933
|
-
xl: "text-xl",
|
|
3934
|
-
"2xl": "text-2xl",
|
|
3935
|
-
"3xl": "text-3xl"
|
|
3936
|
-
};
|
|
3937
|
-
exports.Heading = ({
|
|
3938
|
-
level = 2,
|
|
3939
|
-
size,
|
|
3940
|
-
className,
|
|
3941
|
-
...props
|
|
3942
|
-
}) => {
|
|
3943
|
-
const variant = `h${level}`;
|
|
3944
|
-
const sizeClass = size ? sizeStyles5[size] : void 0;
|
|
3945
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3946
|
-
exports.Typography,
|
|
3947
|
-
{
|
|
3948
|
-
variant,
|
|
3949
|
-
className: cn(sizeClass, className),
|
|
3950
|
-
...props
|
|
3951
|
-
}
|
|
3952
|
-
);
|
|
3953
|
-
};
|
|
3954
|
-
exports.Heading.displayName = "Heading";
|
|
3955
|
-
exports.Text = ({
|
|
3956
|
-
variant = "body",
|
|
3957
|
-
...props
|
|
3958
|
-
}) => {
|
|
3959
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3960
|
-
exports.Typography,
|
|
3961
|
-
{
|
|
3962
|
-
variant,
|
|
3963
|
-
...props
|
|
3964
|
-
}
|
|
3965
|
-
);
|
|
3966
|
-
};
|
|
3967
|
-
exports.Text.displayName = "Text";
|
|
3968
3926
|
}
|
|
3969
3927
|
});
|
|
3970
3928
|
function useTheme() {
|
|
@@ -4721,7 +4679,7 @@ var init_TimeSlotCell = __esm({
|
|
|
4721
4679
|
TimeSlotCell.displayName = "TimeSlotCell";
|
|
4722
4680
|
}
|
|
4723
4681
|
});
|
|
4724
|
-
var statusColors, pulseRingColors,
|
|
4682
|
+
var statusColors, pulseRingColors, sizeStyles5; exports.StatusDot = void 0;
|
|
4725
4683
|
var init_StatusDot = __esm({
|
|
4726
4684
|
"components/core/atoms/StatusDot.tsx"() {
|
|
4727
4685
|
init_cn();
|
|
@@ -4741,7 +4699,7 @@ var init_StatusDot = __esm({
|
|
|
4741
4699
|
warning: "ring-warning",
|
|
4742
4700
|
critical: "ring-error"
|
|
4743
4701
|
};
|
|
4744
|
-
|
|
4702
|
+
sizeStyles5 = {
|
|
4745
4703
|
sm: "w-2 h-2",
|
|
4746
4704
|
md: "w-2.5 h-2.5",
|
|
4747
4705
|
lg: "w-3 h-3"
|
|
@@ -4755,7 +4713,7 @@ var init_StatusDot = __esm({
|
|
|
4755
4713
|
className: cn(
|
|
4756
4714
|
"inline-block rounded-full flex-shrink-0",
|
|
4757
4715
|
statusColors[status],
|
|
4758
|
-
|
|
4716
|
+
sizeStyles5[size],
|
|
4759
4717
|
pulse && [
|
|
4760
4718
|
"animate-pulse",
|
|
4761
4719
|
"ring-2 ring-offset-1",
|
|
@@ -4785,12 +4743,12 @@ function resolveColor(dir, invert) {
|
|
|
4785
4743
|
const isGood = invert ? !isPositive : isPositive;
|
|
4786
4744
|
return isGood ? "text-success" : "text-error";
|
|
4787
4745
|
}
|
|
4788
|
-
var
|
|
4746
|
+
var sizeStyles6, iconNameMap; exports.TrendIndicator = void 0;
|
|
4789
4747
|
var init_TrendIndicator = __esm({
|
|
4790
4748
|
"components/core/atoms/TrendIndicator.tsx"() {
|
|
4791
4749
|
init_Icon();
|
|
4792
4750
|
init_cn();
|
|
4793
|
-
|
|
4751
|
+
sizeStyles6 = {
|
|
4794
4752
|
sm: { icon: "w-3 h-3", text: "text-xs" },
|
|
4795
4753
|
md: { icon: "w-4 h-4", text: "text-sm" },
|
|
4796
4754
|
lg: { icon: "w-5 h-5", text: "text-base" }
|
|
@@ -4814,7 +4772,7 @@ var init_TrendIndicator = __esm({
|
|
|
4814
4772
|
const dir = resolveDirection(value, direction);
|
|
4815
4773
|
const colorClass = resolveColor(dir, invert);
|
|
4816
4774
|
const iconName = iconNameMap[dir];
|
|
4817
|
-
const styles =
|
|
4775
|
+
const styles = sizeStyles6[size];
|
|
4818
4776
|
const formattedValue = value !== void 0 ? `${value > 0 ? "+" : ""}${value}%` : void 0;
|
|
4819
4777
|
const ariaLabel = label ?? (formattedValue ? `${dir} ${formattedValue}` : dir);
|
|
4820
4778
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -7118,11 +7076,11 @@ var init_wrapCallbackForEvent = __esm({
|
|
|
7118
7076
|
"runtime/wrapCallbackForEvent.ts"() {
|
|
7119
7077
|
}
|
|
7120
7078
|
});
|
|
7121
|
-
var
|
|
7079
|
+
var sizeStyles7, paddingStyles3; exports.Container = void 0;
|
|
7122
7080
|
var init_Container = __esm({
|
|
7123
7081
|
"components/core/molecules/Container.tsx"() {
|
|
7124
7082
|
init_cn();
|
|
7125
|
-
|
|
7083
|
+
sizeStyles7 = {
|
|
7126
7084
|
xs: "max-w-xs",
|
|
7127
7085
|
// 320px
|
|
7128
7086
|
sm: "max-w-screen-sm",
|
|
@@ -7160,7 +7118,7 @@ var init_Container = __esm({
|
|
|
7160
7118
|
{
|
|
7161
7119
|
className: cn(
|
|
7162
7120
|
"w-full",
|
|
7163
|
-
|
|
7121
|
+
sizeStyles7[resolvedSize],
|
|
7164
7122
|
paddingStyles3[padding],
|
|
7165
7123
|
center && "mx-auto",
|
|
7166
7124
|
className
|
|
@@ -9149,6 +9107,7 @@ var init_ComponentPatterns = __esm({
|
|
|
9149
9107
|
init_ProgressBar();
|
|
9150
9108
|
init_Card();
|
|
9151
9109
|
init_Typography();
|
|
9110
|
+
init_cn();
|
|
9152
9111
|
init_Alert();
|
|
9153
9112
|
init_Tooltip();
|
|
9154
9113
|
init_Popover();
|
|
@@ -9665,7 +9624,7 @@ var init_AnimatedCounter2 = __esm({
|
|
|
9665
9624
|
});
|
|
9666
9625
|
exports.AuthLayout = void 0;
|
|
9667
9626
|
var init_AuthLayout = __esm({
|
|
9668
|
-
"components/
|
|
9627
|
+
"components/marketing/templates/AuthLayout.tsx"() {
|
|
9669
9628
|
"use client";
|
|
9670
9629
|
init_cn();
|
|
9671
9630
|
init_Box();
|
|
@@ -18878,7 +18837,7 @@ var init_Carousel = __esm({
|
|
|
18878
18837
|
});
|
|
18879
18838
|
exports.CaseStudyOrganism = void 0;
|
|
18880
18839
|
var init_CaseStudyOrganism = __esm({
|
|
18881
|
-
"components/
|
|
18840
|
+
"components/marketing/organisms/CaseStudyOrganism.tsx"() {
|
|
18882
18841
|
"use client";
|
|
18883
18842
|
init_cn();
|
|
18884
18843
|
init_useEventBus();
|
|
@@ -20813,7 +20772,7 @@ function CounterMinimal({
|
|
|
20813
20772
|
exports.Button,
|
|
20814
20773
|
{
|
|
20815
20774
|
variant: "secondary",
|
|
20816
|
-
size:
|
|
20775
|
+
size: sizeStyles8[size].button,
|
|
20817
20776
|
onClick: onDecrement,
|
|
20818
20777
|
disabled: resolved.decrementDisabled,
|
|
20819
20778
|
icon: "minus",
|
|
@@ -20825,7 +20784,7 @@ function CounterMinimal({
|
|
|
20825
20784
|
{
|
|
20826
20785
|
variant: "h1",
|
|
20827
20786
|
className: cn(
|
|
20828
|
-
|
|
20787
|
+
sizeStyles8[size].display,
|
|
20829
20788
|
"font-bold tabular-nums min-w-[3ch] text-center"
|
|
20830
20789
|
),
|
|
20831
20790
|
children: resolved.count
|
|
@@ -20835,7 +20794,7 @@ function CounterMinimal({
|
|
|
20835
20794
|
exports.Button,
|
|
20836
20795
|
{
|
|
20837
20796
|
variant: "secondary",
|
|
20838
|
-
size:
|
|
20797
|
+
size: sizeStyles8[size].button,
|
|
20839
20798
|
onClick: onIncrement,
|
|
20840
20799
|
disabled: resolved.incrementDisabled,
|
|
20841
20800
|
icon: "plus",
|
|
@@ -20870,7 +20829,7 @@ function CounterStandard({
|
|
|
20870
20829
|
{
|
|
20871
20830
|
variant: "h1",
|
|
20872
20831
|
className: cn(
|
|
20873
|
-
|
|
20832
|
+
sizeStyles8[size].display,
|
|
20874
20833
|
"font-bold tabular-nums text-primary-600"
|
|
20875
20834
|
),
|
|
20876
20835
|
children: resolved.count
|
|
@@ -20881,7 +20840,7 @@ function CounterStandard({
|
|
|
20881
20840
|
exports.Button,
|
|
20882
20841
|
{
|
|
20883
20842
|
variant: "secondary",
|
|
20884
|
-
size:
|
|
20843
|
+
size: sizeStyles8[size].button,
|
|
20885
20844
|
onClick: onDecrement,
|
|
20886
20845
|
disabled: resolved.decrementDisabled,
|
|
20887
20846
|
icon: "minus"
|
|
@@ -20891,7 +20850,7 @@ function CounterStandard({
|
|
|
20891
20850
|
exports.Button,
|
|
20892
20851
|
{
|
|
20893
20852
|
variant: "primary",
|
|
20894
|
-
size:
|
|
20853
|
+
size: sizeStyles8[size].button,
|
|
20895
20854
|
onClick: onIncrement,
|
|
20896
20855
|
disabled: resolved.incrementDisabled,
|
|
20897
20856
|
icon: "plus"
|
|
@@ -20937,7 +20896,7 @@ function CounterFull({
|
|
|
20937
20896
|
{
|
|
20938
20897
|
variant: "h1",
|
|
20939
20898
|
className: cn(
|
|
20940
|
-
|
|
20899
|
+
sizeStyles8[size].display,
|
|
20941
20900
|
"font-bold tabular-nums text-primary-600"
|
|
20942
20901
|
),
|
|
20943
20902
|
children: resolved.count
|
|
@@ -20950,7 +20909,7 @@ function CounterFull({
|
|
|
20950
20909
|
exports.Button,
|
|
20951
20910
|
{
|
|
20952
20911
|
variant: "secondary",
|
|
20953
|
-
size:
|
|
20912
|
+
size: sizeStyles8[size].button,
|
|
20954
20913
|
onClick: onDecrement,
|
|
20955
20914
|
disabled: resolved.decrementDisabled,
|
|
20956
20915
|
icon: "minus",
|
|
@@ -20961,7 +20920,7 @@ function CounterFull({
|
|
|
20961
20920
|
exports.Button,
|
|
20962
20921
|
{
|
|
20963
20922
|
variant: "primary",
|
|
20964
|
-
size:
|
|
20923
|
+
size: sizeStyles8[size].button,
|
|
20965
20924
|
onClick: onIncrement,
|
|
20966
20925
|
disabled: resolved.incrementDisabled,
|
|
20967
20926
|
icon: "plus",
|
|
@@ -20981,7 +20940,7 @@ function CounterFull({
|
|
|
20981
20940
|
)
|
|
20982
20941
|
] }) });
|
|
20983
20942
|
}
|
|
20984
|
-
var
|
|
20943
|
+
var sizeStyles8; exports.CounterTemplate = void 0;
|
|
20985
20944
|
var init_CounterTemplate = __esm({
|
|
20986
20945
|
"components/core/templates/CounterTemplate.tsx"() {
|
|
20987
20946
|
init_cn();
|
|
@@ -20989,7 +20948,7 @@ var init_CounterTemplate = __esm({
|
|
|
20989
20948
|
init_Stack();
|
|
20990
20949
|
init_Typography();
|
|
20991
20950
|
init_Button();
|
|
20992
|
-
|
|
20951
|
+
sizeStyles8 = {
|
|
20993
20952
|
sm: { display: "text-4xl", button: "sm" },
|
|
20994
20953
|
md: { display: "text-6xl", button: "md" },
|
|
20995
20954
|
lg: { display: "text-8xl", button: "lg" }
|
|
@@ -28405,14 +28364,14 @@ function useSafeEventBus5() {
|
|
|
28405
28364
|
} };
|
|
28406
28365
|
}
|
|
28407
28366
|
}
|
|
28408
|
-
var
|
|
28367
|
+
var sizeStyles9, LONG_PRESS_DELAY, LONG_PRESS_INTERVAL; exports.NumberStepper = void 0;
|
|
28409
28368
|
var init_NumberStepper = __esm({
|
|
28410
28369
|
"components/core/molecules/NumberStepper.tsx"() {
|
|
28411
28370
|
"use client";
|
|
28412
28371
|
init_cn();
|
|
28413
28372
|
init_Icon();
|
|
28414
28373
|
init_useEventBus();
|
|
28415
|
-
|
|
28374
|
+
sizeStyles9 = {
|
|
28416
28375
|
sm: {
|
|
28417
28376
|
button: "w-7 h-7",
|
|
28418
28377
|
text: "text-sm min-w-[2rem]",
|
|
@@ -28450,7 +28409,7 @@ var init_NumberStepper = __esm({
|
|
|
28450
28409
|
const timeoutRef = React81.useRef(null);
|
|
28451
28410
|
const isAtMin = min !== void 0 && value <= min;
|
|
28452
28411
|
const isAtMax = max !== void 0 && value >= max;
|
|
28453
|
-
const styles =
|
|
28412
|
+
const styles = sizeStyles9[size];
|
|
28454
28413
|
const emitChange = React81.useCallback(
|
|
28455
28414
|
(newValue) => {
|
|
28456
28415
|
const clamped = Math.round(newValue / step) * step;
|
|
@@ -28591,14 +28550,14 @@ function useSafeEventBus6() {
|
|
|
28591
28550
|
} };
|
|
28592
28551
|
}
|
|
28593
28552
|
}
|
|
28594
|
-
var
|
|
28553
|
+
var sizeStyles10; exports.StarRating = void 0;
|
|
28595
28554
|
var init_StarRating = __esm({
|
|
28596
28555
|
"components/core/molecules/StarRating.tsx"() {
|
|
28597
28556
|
"use client";
|
|
28598
28557
|
init_cn();
|
|
28599
28558
|
init_Icon();
|
|
28600
28559
|
init_useEventBus();
|
|
28601
|
-
|
|
28560
|
+
sizeStyles10 = {
|
|
28602
28561
|
sm: { star: "w-4 h-4", gap: "gap-0.5" },
|
|
28603
28562
|
md: { star: "w-6 h-6", gap: "gap-1" },
|
|
28604
28563
|
lg: { star: "w-8 h-8", gap: "gap-1.5" }
|
|
@@ -28617,7 +28576,7 @@ var init_StarRating = __esm({
|
|
|
28617
28576
|
}) => {
|
|
28618
28577
|
const [hoverValue, setHoverValue] = React81.useState(null);
|
|
28619
28578
|
const eventBus = useSafeEventBus6();
|
|
28620
|
-
const styles =
|
|
28579
|
+
const styles = sizeStyles10[size];
|
|
28621
28580
|
const displayValue = hoverValue ?? value;
|
|
28622
28581
|
const emitChange = React81.useCallback(
|
|
28623
28582
|
(newValue) => {
|
|
@@ -31544,14 +31503,14 @@ var init_EdgeDecoration = __esm({
|
|
|
31544
31503
|
exports.EdgeDecoration.displayName = "EdgeDecoration";
|
|
31545
31504
|
}
|
|
31546
31505
|
});
|
|
31547
|
-
var
|
|
31506
|
+
var sizeStyles11; exports.VoteStack = void 0;
|
|
31548
31507
|
var init_VoteStack = __esm({
|
|
31549
31508
|
"components/core/molecules/VoteStack.tsx"() {
|
|
31550
31509
|
"use client";
|
|
31551
31510
|
init_cn();
|
|
31552
31511
|
init_Icon();
|
|
31553
31512
|
init_useEventBus();
|
|
31554
|
-
|
|
31513
|
+
sizeStyles11 = {
|
|
31555
31514
|
sm: {
|
|
31556
31515
|
button: "w-7 h-7",
|
|
31557
31516
|
text: "text-sm min-w-[2rem]",
|
|
@@ -31579,7 +31538,7 @@ var init_VoteStack = __esm({
|
|
|
31579
31538
|
className,
|
|
31580
31539
|
label
|
|
31581
31540
|
}) => {
|
|
31582
|
-
const styles =
|
|
31541
|
+
const styles = sizeStyles11[size];
|
|
31583
31542
|
const isUp = userVote === "up";
|
|
31584
31543
|
const isDown = userVote === "down";
|
|
31585
31544
|
const eventBus = useEventBus();
|
|
@@ -31847,7 +31806,7 @@ var init_LikertScale = __esm({
|
|
|
31847
31806
|
exports.LikertScale.displayName = "LikertScale";
|
|
31848
31807
|
}
|
|
31849
31808
|
});
|
|
31850
|
-
exports.DEFAULT_MATRIX_COLUMNS = void 0; var
|
|
31809
|
+
exports.DEFAULT_MATRIX_COLUMNS = void 0; var sizeStyles12; exports.MatrixQuestion = void 0;
|
|
31851
31810
|
var init_MatrixQuestion = __esm({
|
|
31852
31811
|
"components/core/molecules/MatrixQuestion.tsx"() {
|
|
31853
31812
|
"use client";
|
|
@@ -31863,7 +31822,7 @@ var init_MatrixQuestion = __esm({
|
|
|
31863
31822
|
{ value: 4, label: "Agree" },
|
|
31864
31823
|
{ value: 5, label: "Strongly Agree" }
|
|
31865
31824
|
];
|
|
31866
|
-
|
|
31825
|
+
sizeStyles12 = {
|
|
31867
31826
|
sm: {
|
|
31868
31827
|
cell: "px-2 py-1.5 text-xs",
|
|
31869
31828
|
radio: "sm",
|
|
@@ -31886,7 +31845,7 @@ var init_MatrixQuestion = __esm({
|
|
|
31886
31845
|
size = "md",
|
|
31887
31846
|
className
|
|
31888
31847
|
}) => {
|
|
31889
|
-
const styles =
|
|
31848
|
+
const styles = sizeStyles12[size];
|
|
31890
31849
|
const safeRows = rows2 ?? [];
|
|
31891
31850
|
const safeValues = values ?? {};
|
|
31892
31851
|
const eventBus = useEventBus();
|
|
@@ -34642,7 +34601,7 @@ var init_GradientDivider = __esm({
|
|
|
34642
34601
|
});
|
|
34643
34602
|
exports.MarketingFooter = void 0;
|
|
34644
34603
|
var init_MarketingFooter = __esm({
|
|
34645
|
-
"components/
|
|
34604
|
+
"components/marketing/molecules/MarketingFooter.tsx"() {
|
|
34646
34605
|
"use client";
|
|
34647
34606
|
init_cn();
|
|
34648
34607
|
init_Box();
|
|
@@ -34712,7 +34671,7 @@ var init_MarketingFooter = __esm({
|
|
|
34712
34671
|
});
|
|
34713
34672
|
exports.PullQuote = void 0;
|
|
34714
34673
|
var init_PullQuote = __esm({
|
|
34715
|
-
"components/
|
|
34674
|
+
"components/marketing/molecules/PullQuote.tsx"() {
|
|
34716
34675
|
"use client";
|
|
34717
34676
|
init_cn();
|
|
34718
34677
|
init_Box();
|
|
@@ -35455,21 +35414,17 @@ function FieldControl({
|
|
|
35455
35414
|
}) {
|
|
35456
35415
|
let control;
|
|
35457
35416
|
const stringValue = typeof value === "string" ? value : void 0;
|
|
35458
|
-
if (decl.
|
|
35417
|
+
if (decl.type === "icon") {
|
|
35459
35418
|
control = /* @__PURE__ */ jsxRuntime.jsx(exports.IconPicker, { value: stringValue, onChange: (icon) => onChange(name, icon) });
|
|
35460
|
-
} else if (decl.
|
|
35461
|
-
control = /* @__PURE__ */ jsxRuntime.jsx(exports.AssetPicker, { assets, value: stringValue, onChange: (url) => onChange(name, url) });
|
|
35462
|
-
} else if (decl.control === "color" && decl.values !== void 0 && decl.values.length > 0) {
|
|
35419
|
+
} else if (decl.type === "asset") {
|
|
35463
35420
|
control = /* @__PURE__ */ jsxRuntime.jsx(
|
|
35464
|
-
exports.
|
|
35421
|
+
exports.AssetPicker,
|
|
35465
35422
|
{
|
|
35466
|
-
|
|
35467
|
-
value: stringValue
|
|
35468
|
-
onChange: (
|
|
35423
|
+
assets: assets ?? [],
|
|
35424
|
+
value: stringValue,
|
|
35425
|
+
onChange: (url) => onChange(name, url)
|
|
35469
35426
|
}
|
|
35470
35427
|
);
|
|
35471
|
-
} else if (decl.control === "asset" || decl.control === "color") {
|
|
35472
|
-
control = /* @__PURE__ */ jsxRuntime.jsx(TextLikeControl, { field: name, numeric: false, value, onCommit: onChange });
|
|
35473
35428
|
} else if (decl.type === "boolean") {
|
|
35474
35429
|
control = /* @__PURE__ */ jsxRuntime.jsx(exports.Switch, { checked: value === true, onChange: (c) => onChange(name, c) });
|
|
35475
35430
|
} else if (decl.type === "string" && decl.values !== void 0 && decl.values.length > 0) {
|
|
@@ -38616,7 +38571,7 @@ var init_DetailPanel = __esm({
|
|
|
38616
38571
|
function DialogueBubble({
|
|
38617
38572
|
speaker,
|
|
38618
38573
|
text,
|
|
38619
|
-
portrait,
|
|
38574
|
+
portrait = "https://almadar-kflow-assets.web.app/shared/characters/archetypes/00_base_model.png",
|
|
38620
38575
|
position = "bottom",
|
|
38621
38576
|
className
|
|
38622
38577
|
}) {
|
|
@@ -39474,7 +39429,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
39474
39429
|
});
|
|
39475
39430
|
exports.FeatureGridOrganism = void 0;
|
|
39476
39431
|
var init_FeatureGridOrganism = __esm({
|
|
39477
|
-
"components/
|
|
39432
|
+
"components/marketing/organisms/FeatureGridOrganism.tsx"() {
|
|
39478
39433
|
"use client";
|
|
39479
39434
|
init_cn();
|
|
39480
39435
|
init_useEventBus();
|
|
@@ -40828,7 +40783,7 @@ var init_GenericAppTemplate = __esm({
|
|
|
40828
40783
|
});
|
|
40829
40784
|
exports.HeroOrganism = void 0; var _HeroClickInterceptor;
|
|
40830
40785
|
var init_HeroOrganism = __esm({
|
|
40831
|
-
"components/
|
|
40786
|
+
"components/marketing/organisms/HeroOrganism.tsx"() {
|
|
40832
40787
|
"use client";
|
|
40833
40788
|
init_cn();
|
|
40834
40789
|
init_useEventBus();
|
|
@@ -44574,7 +44529,7 @@ var init_SequencerBoard = __esm({
|
|
|
44574
44529
|
});
|
|
44575
44530
|
exports.ShowcaseOrganism = void 0;
|
|
44576
44531
|
var init_ShowcaseOrganism = __esm({
|
|
44577
|
-
"components/
|
|
44532
|
+
"components/marketing/organisms/ShowcaseOrganism.tsx"() {
|
|
44578
44533
|
"use client";
|
|
44579
44534
|
init_cn();
|
|
44580
44535
|
init_useEventBus();
|
|
@@ -45240,7 +45195,7 @@ var init_SplitPane = __esm({
|
|
|
45240
45195
|
}
|
|
45241
45196
|
});
|
|
45242
45197
|
function Sprite({
|
|
45243
|
-
spritesheet,
|
|
45198
|
+
spritesheet = "https://almadar-kflow-assets.web.app/shared/isometric-blocks/Spritesheet/allTiles_sheet.png",
|
|
45244
45199
|
frameWidth,
|
|
45245
45200
|
frameHeight,
|
|
45246
45201
|
frame,
|
|
@@ -46181,7 +46136,7 @@ var init_StatusEffect = __esm({
|
|
|
46181
46136
|
});
|
|
46182
46137
|
exports.StepFlowOrganism = void 0;
|
|
46183
46138
|
var init_StepFlowOrganism = __esm({
|
|
46184
|
-
"components/
|
|
46139
|
+
"components/marketing/organisms/StepFlowOrganism.tsx"() {
|
|
46185
46140
|
"use client";
|
|
46186
46141
|
init_cn();
|
|
46187
46142
|
init_Stack();
|