@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
package/dist/components/index.js
CHANGED
|
@@ -3762,11 +3762,9 @@ var init_TextHighlight = __esm({
|
|
|
3762
3762
|
// components/core/atoms/Typography.tsx
|
|
3763
3763
|
var Typography_exports = {};
|
|
3764
3764
|
__export(Typography_exports, {
|
|
3765
|
-
Heading: () => Heading,
|
|
3766
|
-
Text: () => Text,
|
|
3767
3765
|
Typography: () => Typography
|
|
3768
3766
|
});
|
|
3769
|
-
var variantStyles6, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles2, Typography
|
|
3767
|
+
var variantStyles6, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles2, Typography;
|
|
3770
3768
|
var init_Typography = __esm({
|
|
3771
3769
|
"components/core/atoms/Typography.tsx"() {
|
|
3772
3770
|
init_cn();
|
|
@@ -3877,46 +3875,6 @@ var init_Typography = __esm({
|
|
|
3877
3875
|
);
|
|
3878
3876
|
};
|
|
3879
3877
|
Typography.displayName = "Typography";
|
|
3880
|
-
sizeStyles5 = {
|
|
3881
|
-
xs: "text-xs",
|
|
3882
|
-
sm: "text-sm",
|
|
3883
|
-
md: "text-base",
|
|
3884
|
-
lg: "text-lg",
|
|
3885
|
-
xl: "text-xl",
|
|
3886
|
-
"2xl": "text-2xl",
|
|
3887
|
-
"3xl": "text-3xl"
|
|
3888
|
-
};
|
|
3889
|
-
Heading = ({
|
|
3890
|
-
level = 2,
|
|
3891
|
-
size,
|
|
3892
|
-
className,
|
|
3893
|
-
...props
|
|
3894
|
-
}) => {
|
|
3895
|
-
const variant = `h${level}`;
|
|
3896
|
-
const sizeClass = size ? sizeStyles5[size] : void 0;
|
|
3897
|
-
return /* @__PURE__ */ jsx(
|
|
3898
|
-
Typography,
|
|
3899
|
-
{
|
|
3900
|
-
variant,
|
|
3901
|
-
className: cn(sizeClass, className),
|
|
3902
|
-
...props
|
|
3903
|
-
}
|
|
3904
|
-
);
|
|
3905
|
-
};
|
|
3906
|
-
Heading.displayName = "Heading";
|
|
3907
|
-
Text = ({
|
|
3908
|
-
variant = "body",
|
|
3909
|
-
...props
|
|
3910
|
-
}) => {
|
|
3911
|
-
return /* @__PURE__ */ jsx(
|
|
3912
|
-
Typography,
|
|
3913
|
-
{
|
|
3914
|
-
variant,
|
|
3915
|
-
...props
|
|
3916
|
-
}
|
|
3917
|
-
);
|
|
3918
|
-
};
|
|
3919
|
-
Text.displayName = "Text";
|
|
3920
3878
|
}
|
|
3921
3879
|
});
|
|
3922
3880
|
function useTheme() {
|
|
@@ -4673,7 +4631,7 @@ var init_TimeSlotCell = __esm({
|
|
|
4673
4631
|
TimeSlotCell.displayName = "TimeSlotCell";
|
|
4674
4632
|
}
|
|
4675
4633
|
});
|
|
4676
|
-
var statusColors, pulseRingColors,
|
|
4634
|
+
var statusColors, pulseRingColors, sizeStyles5, StatusDot;
|
|
4677
4635
|
var init_StatusDot = __esm({
|
|
4678
4636
|
"components/core/atoms/StatusDot.tsx"() {
|
|
4679
4637
|
init_cn();
|
|
@@ -4693,7 +4651,7 @@ var init_StatusDot = __esm({
|
|
|
4693
4651
|
warning: "ring-warning",
|
|
4694
4652
|
critical: "ring-error"
|
|
4695
4653
|
};
|
|
4696
|
-
|
|
4654
|
+
sizeStyles5 = {
|
|
4697
4655
|
sm: "w-2 h-2",
|
|
4698
4656
|
md: "w-2.5 h-2.5",
|
|
4699
4657
|
lg: "w-3 h-3"
|
|
@@ -4707,7 +4665,7 @@ var init_StatusDot = __esm({
|
|
|
4707
4665
|
className: cn(
|
|
4708
4666
|
"inline-block rounded-full flex-shrink-0",
|
|
4709
4667
|
statusColors[status],
|
|
4710
|
-
|
|
4668
|
+
sizeStyles5[size],
|
|
4711
4669
|
pulse && [
|
|
4712
4670
|
"animate-pulse",
|
|
4713
4671
|
"ring-2 ring-offset-1",
|
|
@@ -4737,12 +4695,12 @@ function resolveColor(dir, invert) {
|
|
|
4737
4695
|
const isGood = invert ? !isPositive : isPositive;
|
|
4738
4696
|
return isGood ? "text-success" : "text-error";
|
|
4739
4697
|
}
|
|
4740
|
-
var
|
|
4698
|
+
var sizeStyles6, iconNameMap, TrendIndicator;
|
|
4741
4699
|
var init_TrendIndicator = __esm({
|
|
4742
4700
|
"components/core/atoms/TrendIndicator.tsx"() {
|
|
4743
4701
|
init_Icon();
|
|
4744
4702
|
init_cn();
|
|
4745
|
-
|
|
4703
|
+
sizeStyles6 = {
|
|
4746
4704
|
sm: { icon: "w-3 h-3", text: "text-xs" },
|
|
4747
4705
|
md: { icon: "w-4 h-4", text: "text-sm" },
|
|
4748
4706
|
lg: { icon: "w-5 h-5", text: "text-base" }
|
|
@@ -4766,7 +4724,7 @@ var init_TrendIndicator = __esm({
|
|
|
4766
4724
|
const dir = resolveDirection(value, direction);
|
|
4767
4725
|
const colorClass = resolveColor(dir, invert);
|
|
4768
4726
|
const iconName = iconNameMap[dir];
|
|
4769
|
-
const styles =
|
|
4727
|
+
const styles = sizeStyles6[size];
|
|
4770
4728
|
const formattedValue = value !== void 0 ? `${value > 0 ? "+" : ""}${value}%` : void 0;
|
|
4771
4729
|
const ariaLabel = label ?? (formattedValue ? `${dir} ${formattedValue}` : dir);
|
|
4772
4730
|
return /* @__PURE__ */ jsxs(
|
|
@@ -7070,11 +7028,11 @@ var init_wrapCallbackForEvent = __esm({
|
|
|
7070
7028
|
"runtime/wrapCallbackForEvent.ts"() {
|
|
7071
7029
|
}
|
|
7072
7030
|
});
|
|
7073
|
-
var
|
|
7031
|
+
var sizeStyles7, paddingStyles3, Container;
|
|
7074
7032
|
var init_Container = __esm({
|
|
7075
7033
|
"components/core/molecules/Container.tsx"() {
|
|
7076
7034
|
init_cn();
|
|
7077
|
-
|
|
7035
|
+
sizeStyles7 = {
|
|
7078
7036
|
xs: "max-w-xs",
|
|
7079
7037
|
// 320px
|
|
7080
7038
|
sm: "max-w-screen-sm",
|
|
@@ -7112,7 +7070,7 @@ var init_Container = __esm({
|
|
|
7112
7070
|
{
|
|
7113
7071
|
className: cn(
|
|
7114
7072
|
"w-full",
|
|
7115
|
-
|
|
7073
|
+
sizeStyles7[resolvedSize],
|
|
7116
7074
|
paddingStyles3[padding],
|
|
7117
7075
|
center && "mx-auto",
|
|
7118
7076
|
className
|
|
@@ -9101,6 +9059,7 @@ var init_ComponentPatterns = __esm({
|
|
|
9101
9059
|
init_ProgressBar();
|
|
9102
9060
|
init_Card();
|
|
9103
9061
|
init_Typography();
|
|
9062
|
+
init_cn();
|
|
9104
9063
|
init_Alert();
|
|
9105
9064
|
init_Tooltip();
|
|
9106
9065
|
init_Popover();
|
|
@@ -9617,7 +9576,7 @@ var init_AnimatedCounter2 = __esm({
|
|
|
9617
9576
|
});
|
|
9618
9577
|
var AuthLayout;
|
|
9619
9578
|
var init_AuthLayout = __esm({
|
|
9620
|
-
"components/
|
|
9579
|
+
"components/marketing/templates/AuthLayout.tsx"() {
|
|
9621
9580
|
"use client";
|
|
9622
9581
|
init_cn();
|
|
9623
9582
|
init_Box();
|
|
@@ -18830,7 +18789,7 @@ var init_Carousel = __esm({
|
|
|
18830
18789
|
});
|
|
18831
18790
|
var CaseStudyOrganism;
|
|
18832
18791
|
var init_CaseStudyOrganism = __esm({
|
|
18833
|
-
"components/
|
|
18792
|
+
"components/marketing/organisms/CaseStudyOrganism.tsx"() {
|
|
18834
18793
|
"use client";
|
|
18835
18794
|
init_cn();
|
|
18836
18795
|
init_useEventBus();
|
|
@@ -20765,7 +20724,7 @@ function CounterMinimal({
|
|
|
20765
20724
|
Button,
|
|
20766
20725
|
{
|
|
20767
20726
|
variant: "secondary",
|
|
20768
|
-
size:
|
|
20727
|
+
size: sizeStyles8[size].button,
|
|
20769
20728
|
onClick: onDecrement,
|
|
20770
20729
|
disabled: resolved.decrementDisabled,
|
|
20771
20730
|
icon: "minus",
|
|
@@ -20777,7 +20736,7 @@ function CounterMinimal({
|
|
|
20777
20736
|
{
|
|
20778
20737
|
variant: "h1",
|
|
20779
20738
|
className: cn(
|
|
20780
|
-
|
|
20739
|
+
sizeStyles8[size].display,
|
|
20781
20740
|
"font-bold tabular-nums min-w-[3ch] text-center"
|
|
20782
20741
|
),
|
|
20783
20742
|
children: resolved.count
|
|
@@ -20787,7 +20746,7 @@ function CounterMinimal({
|
|
|
20787
20746
|
Button,
|
|
20788
20747
|
{
|
|
20789
20748
|
variant: "secondary",
|
|
20790
|
-
size:
|
|
20749
|
+
size: sizeStyles8[size].button,
|
|
20791
20750
|
onClick: onIncrement,
|
|
20792
20751
|
disabled: resolved.incrementDisabled,
|
|
20793
20752
|
icon: "plus",
|
|
@@ -20822,7 +20781,7 @@ function CounterStandard({
|
|
|
20822
20781
|
{
|
|
20823
20782
|
variant: "h1",
|
|
20824
20783
|
className: cn(
|
|
20825
|
-
|
|
20784
|
+
sizeStyles8[size].display,
|
|
20826
20785
|
"font-bold tabular-nums text-primary-600"
|
|
20827
20786
|
),
|
|
20828
20787
|
children: resolved.count
|
|
@@ -20833,7 +20792,7 @@ function CounterStandard({
|
|
|
20833
20792
|
Button,
|
|
20834
20793
|
{
|
|
20835
20794
|
variant: "secondary",
|
|
20836
|
-
size:
|
|
20795
|
+
size: sizeStyles8[size].button,
|
|
20837
20796
|
onClick: onDecrement,
|
|
20838
20797
|
disabled: resolved.decrementDisabled,
|
|
20839
20798
|
icon: "minus"
|
|
@@ -20843,7 +20802,7 @@ function CounterStandard({
|
|
|
20843
20802
|
Button,
|
|
20844
20803
|
{
|
|
20845
20804
|
variant: "primary",
|
|
20846
|
-
size:
|
|
20805
|
+
size: sizeStyles8[size].button,
|
|
20847
20806
|
onClick: onIncrement,
|
|
20848
20807
|
disabled: resolved.incrementDisabled,
|
|
20849
20808
|
icon: "plus"
|
|
@@ -20889,7 +20848,7 @@ function CounterFull({
|
|
|
20889
20848
|
{
|
|
20890
20849
|
variant: "h1",
|
|
20891
20850
|
className: cn(
|
|
20892
|
-
|
|
20851
|
+
sizeStyles8[size].display,
|
|
20893
20852
|
"font-bold tabular-nums text-primary-600"
|
|
20894
20853
|
),
|
|
20895
20854
|
children: resolved.count
|
|
@@ -20902,7 +20861,7 @@ function CounterFull({
|
|
|
20902
20861
|
Button,
|
|
20903
20862
|
{
|
|
20904
20863
|
variant: "secondary",
|
|
20905
|
-
size:
|
|
20864
|
+
size: sizeStyles8[size].button,
|
|
20906
20865
|
onClick: onDecrement,
|
|
20907
20866
|
disabled: resolved.decrementDisabled,
|
|
20908
20867
|
icon: "minus",
|
|
@@ -20913,7 +20872,7 @@ function CounterFull({
|
|
|
20913
20872
|
Button,
|
|
20914
20873
|
{
|
|
20915
20874
|
variant: "primary",
|
|
20916
|
-
size:
|
|
20875
|
+
size: sizeStyles8[size].button,
|
|
20917
20876
|
onClick: onIncrement,
|
|
20918
20877
|
disabled: resolved.incrementDisabled,
|
|
20919
20878
|
icon: "plus",
|
|
@@ -20933,7 +20892,7 @@ function CounterFull({
|
|
|
20933
20892
|
)
|
|
20934
20893
|
] }) });
|
|
20935
20894
|
}
|
|
20936
|
-
var
|
|
20895
|
+
var sizeStyles8, CounterTemplate;
|
|
20937
20896
|
var init_CounterTemplate = __esm({
|
|
20938
20897
|
"components/core/templates/CounterTemplate.tsx"() {
|
|
20939
20898
|
init_cn();
|
|
@@ -20941,7 +20900,7 @@ var init_CounterTemplate = __esm({
|
|
|
20941
20900
|
init_Stack();
|
|
20942
20901
|
init_Typography();
|
|
20943
20902
|
init_Button();
|
|
20944
|
-
|
|
20903
|
+
sizeStyles8 = {
|
|
20945
20904
|
sm: { display: "text-4xl", button: "sm" },
|
|
20946
20905
|
md: { display: "text-6xl", button: "md" },
|
|
20947
20906
|
lg: { display: "text-8xl", button: "lg" }
|
|
@@ -28357,14 +28316,14 @@ function useSafeEventBus5() {
|
|
|
28357
28316
|
} };
|
|
28358
28317
|
}
|
|
28359
28318
|
}
|
|
28360
|
-
var
|
|
28319
|
+
var sizeStyles9, LONG_PRESS_DELAY, LONG_PRESS_INTERVAL, NumberStepper;
|
|
28361
28320
|
var init_NumberStepper = __esm({
|
|
28362
28321
|
"components/core/molecules/NumberStepper.tsx"() {
|
|
28363
28322
|
"use client";
|
|
28364
28323
|
init_cn();
|
|
28365
28324
|
init_Icon();
|
|
28366
28325
|
init_useEventBus();
|
|
28367
|
-
|
|
28326
|
+
sizeStyles9 = {
|
|
28368
28327
|
sm: {
|
|
28369
28328
|
button: "w-7 h-7",
|
|
28370
28329
|
text: "text-sm min-w-[2rem]",
|
|
@@ -28402,7 +28361,7 @@ var init_NumberStepper = __esm({
|
|
|
28402
28361
|
const timeoutRef = useRef(null);
|
|
28403
28362
|
const isAtMin = min !== void 0 && value <= min;
|
|
28404
28363
|
const isAtMax = max !== void 0 && value >= max;
|
|
28405
|
-
const styles =
|
|
28364
|
+
const styles = sizeStyles9[size];
|
|
28406
28365
|
const emitChange = useCallback(
|
|
28407
28366
|
(newValue) => {
|
|
28408
28367
|
const clamped = Math.round(newValue / step) * step;
|
|
@@ -28543,14 +28502,14 @@ function useSafeEventBus6() {
|
|
|
28543
28502
|
} };
|
|
28544
28503
|
}
|
|
28545
28504
|
}
|
|
28546
|
-
var
|
|
28505
|
+
var sizeStyles10, StarRating;
|
|
28547
28506
|
var init_StarRating = __esm({
|
|
28548
28507
|
"components/core/molecules/StarRating.tsx"() {
|
|
28549
28508
|
"use client";
|
|
28550
28509
|
init_cn();
|
|
28551
28510
|
init_Icon();
|
|
28552
28511
|
init_useEventBus();
|
|
28553
|
-
|
|
28512
|
+
sizeStyles10 = {
|
|
28554
28513
|
sm: { star: "w-4 h-4", gap: "gap-0.5" },
|
|
28555
28514
|
md: { star: "w-6 h-6", gap: "gap-1" },
|
|
28556
28515
|
lg: { star: "w-8 h-8", gap: "gap-1.5" }
|
|
@@ -28569,7 +28528,7 @@ var init_StarRating = __esm({
|
|
|
28569
28528
|
}) => {
|
|
28570
28529
|
const [hoverValue, setHoverValue] = useState(null);
|
|
28571
28530
|
const eventBus = useSafeEventBus6();
|
|
28572
|
-
const styles =
|
|
28531
|
+
const styles = sizeStyles10[size];
|
|
28573
28532
|
const displayValue = hoverValue ?? value;
|
|
28574
28533
|
const emitChange = useCallback(
|
|
28575
28534
|
(newValue) => {
|
|
@@ -31496,14 +31455,14 @@ var init_EdgeDecoration = __esm({
|
|
|
31496
31455
|
EdgeDecoration.displayName = "EdgeDecoration";
|
|
31497
31456
|
}
|
|
31498
31457
|
});
|
|
31499
|
-
var
|
|
31458
|
+
var sizeStyles11, VoteStack;
|
|
31500
31459
|
var init_VoteStack = __esm({
|
|
31501
31460
|
"components/core/molecules/VoteStack.tsx"() {
|
|
31502
31461
|
"use client";
|
|
31503
31462
|
init_cn();
|
|
31504
31463
|
init_Icon();
|
|
31505
31464
|
init_useEventBus();
|
|
31506
|
-
|
|
31465
|
+
sizeStyles11 = {
|
|
31507
31466
|
sm: {
|
|
31508
31467
|
button: "w-7 h-7",
|
|
31509
31468
|
text: "text-sm min-w-[2rem]",
|
|
@@ -31531,7 +31490,7 @@ var init_VoteStack = __esm({
|
|
|
31531
31490
|
className,
|
|
31532
31491
|
label
|
|
31533
31492
|
}) => {
|
|
31534
|
-
const styles =
|
|
31493
|
+
const styles = sizeStyles11[size];
|
|
31535
31494
|
const isUp = userVote === "up";
|
|
31536
31495
|
const isDown = userVote === "down";
|
|
31537
31496
|
const eventBus = useEventBus();
|
|
@@ -31799,7 +31758,7 @@ var init_LikertScale = __esm({
|
|
|
31799
31758
|
LikertScale.displayName = "LikertScale";
|
|
31800
31759
|
}
|
|
31801
31760
|
});
|
|
31802
|
-
var DEFAULT_MATRIX_COLUMNS,
|
|
31761
|
+
var DEFAULT_MATRIX_COLUMNS, sizeStyles12, MatrixQuestion;
|
|
31803
31762
|
var init_MatrixQuestion = __esm({
|
|
31804
31763
|
"components/core/molecules/MatrixQuestion.tsx"() {
|
|
31805
31764
|
"use client";
|
|
@@ -31815,7 +31774,7 @@ var init_MatrixQuestion = __esm({
|
|
|
31815
31774
|
{ value: 4, label: "Agree" },
|
|
31816
31775
|
{ value: 5, label: "Strongly Agree" }
|
|
31817
31776
|
];
|
|
31818
|
-
|
|
31777
|
+
sizeStyles12 = {
|
|
31819
31778
|
sm: {
|
|
31820
31779
|
cell: "px-2 py-1.5 text-xs",
|
|
31821
31780
|
radio: "sm",
|
|
@@ -31838,7 +31797,7 @@ var init_MatrixQuestion = __esm({
|
|
|
31838
31797
|
size = "md",
|
|
31839
31798
|
className
|
|
31840
31799
|
}) => {
|
|
31841
|
-
const styles =
|
|
31800
|
+
const styles = sizeStyles12[size];
|
|
31842
31801
|
const safeRows = rows2 ?? [];
|
|
31843
31802
|
const safeValues = values ?? {};
|
|
31844
31803
|
const eventBus = useEventBus();
|
|
@@ -34594,7 +34553,7 @@ var init_GradientDivider = __esm({
|
|
|
34594
34553
|
});
|
|
34595
34554
|
var MarketingFooter;
|
|
34596
34555
|
var init_MarketingFooter = __esm({
|
|
34597
|
-
"components/
|
|
34556
|
+
"components/marketing/molecules/MarketingFooter.tsx"() {
|
|
34598
34557
|
"use client";
|
|
34599
34558
|
init_cn();
|
|
34600
34559
|
init_Box();
|
|
@@ -34664,7 +34623,7 @@ var init_MarketingFooter = __esm({
|
|
|
34664
34623
|
});
|
|
34665
34624
|
var PullQuote;
|
|
34666
34625
|
var init_PullQuote = __esm({
|
|
34667
|
-
"components/
|
|
34626
|
+
"components/marketing/molecules/PullQuote.tsx"() {
|
|
34668
34627
|
"use client";
|
|
34669
34628
|
init_cn();
|
|
34670
34629
|
init_Box();
|
|
@@ -35407,21 +35366,17 @@ function FieldControl({
|
|
|
35407
35366
|
}) {
|
|
35408
35367
|
let control;
|
|
35409
35368
|
const stringValue = typeof value === "string" ? value : void 0;
|
|
35410
|
-
if (decl.
|
|
35369
|
+
if (decl.type === "icon") {
|
|
35411
35370
|
control = /* @__PURE__ */ jsx(IconPicker, { value: stringValue, onChange: (icon) => onChange(name, icon) });
|
|
35412
|
-
} else if (decl.
|
|
35413
|
-
control = /* @__PURE__ */ jsx(AssetPicker, { assets, value: stringValue, onChange: (url) => onChange(name, url) });
|
|
35414
|
-
} else if (decl.control === "color" && decl.values !== void 0 && decl.values.length > 0) {
|
|
35371
|
+
} else if (decl.type === "asset") {
|
|
35415
35372
|
control = /* @__PURE__ */ jsx(
|
|
35416
|
-
|
|
35373
|
+
AssetPicker,
|
|
35417
35374
|
{
|
|
35418
|
-
|
|
35419
|
-
value: stringValue
|
|
35420
|
-
onChange: (
|
|
35375
|
+
assets: assets ?? [],
|
|
35376
|
+
value: stringValue,
|
|
35377
|
+
onChange: (url) => onChange(name, url)
|
|
35421
35378
|
}
|
|
35422
35379
|
);
|
|
35423
|
-
} else if (decl.control === "asset" || decl.control === "color") {
|
|
35424
|
-
control = /* @__PURE__ */ jsx(TextLikeControl, { field: name, numeric: false, value, onCommit: onChange });
|
|
35425
35380
|
} else if (decl.type === "boolean") {
|
|
35426
35381
|
control = /* @__PURE__ */ jsx(Switch, { checked: value === true, onChange: (c) => onChange(name, c) });
|
|
35427
35382
|
} else if (decl.type === "string" && decl.values !== void 0 && decl.values.length > 0) {
|
|
@@ -38568,7 +38523,7 @@ var init_DetailPanel = __esm({
|
|
|
38568
38523
|
function DialogueBubble({
|
|
38569
38524
|
speaker,
|
|
38570
38525
|
text,
|
|
38571
|
-
portrait,
|
|
38526
|
+
portrait = "https://almadar-kflow-assets.web.app/shared/characters/archetypes/00_base_model.png",
|
|
38572
38527
|
position = "bottom",
|
|
38573
38528
|
className
|
|
38574
38529
|
}) {
|
|
@@ -39426,7 +39381,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
39426
39381
|
});
|
|
39427
39382
|
var FeatureGridOrganism;
|
|
39428
39383
|
var init_FeatureGridOrganism = __esm({
|
|
39429
|
-
"components/
|
|
39384
|
+
"components/marketing/organisms/FeatureGridOrganism.tsx"() {
|
|
39430
39385
|
"use client";
|
|
39431
39386
|
init_cn();
|
|
39432
39387
|
init_useEventBus();
|
|
@@ -40780,7 +40735,7 @@ var init_GenericAppTemplate = __esm({
|
|
|
40780
40735
|
});
|
|
40781
40736
|
var HeroOrganism, _HeroClickInterceptor;
|
|
40782
40737
|
var init_HeroOrganism = __esm({
|
|
40783
|
-
"components/
|
|
40738
|
+
"components/marketing/organisms/HeroOrganism.tsx"() {
|
|
40784
40739
|
"use client";
|
|
40785
40740
|
init_cn();
|
|
40786
40741
|
init_useEventBus();
|
|
@@ -44526,7 +44481,7 @@ var init_SequencerBoard = __esm({
|
|
|
44526
44481
|
});
|
|
44527
44482
|
var ShowcaseOrganism;
|
|
44528
44483
|
var init_ShowcaseOrganism = __esm({
|
|
44529
|
-
"components/
|
|
44484
|
+
"components/marketing/organisms/ShowcaseOrganism.tsx"() {
|
|
44530
44485
|
"use client";
|
|
44531
44486
|
init_cn();
|
|
44532
44487
|
init_useEventBus();
|
|
@@ -45192,7 +45147,7 @@ var init_SplitPane = __esm({
|
|
|
45192
45147
|
}
|
|
45193
45148
|
});
|
|
45194
45149
|
function Sprite({
|
|
45195
|
-
spritesheet,
|
|
45150
|
+
spritesheet = "https://almadar-kflow-assets.web.app/shared/isometric-blocks/Spritesheet/allTiles_sheet.png",
|
|
45196
45151
|
frameWidth,
|
|
45197
45152
|
frameHeight,
|
|
45198
45153
|
frame,
|
|
@@ -46133,7 +46088,7 @@ var init_StatusEffect = __esm({
|
|
|
46133
46088
|
});
|
|
46134
46089
|
var StepFlowOrganism;
|
|
46135
46090
|
var init_StepFlowOrganism = __esm({
|
|
46136
|
-
"components/
|
|
46091
|
+
"components/marketing/organisms/StepFlowOrganism.tsx"() {
|
|
46137
46092
|
"use client";
|
|
46138
46093
|
init_cn();
|
|
46139
46094
|
init_Stack();
|
|
@@ -49955,4 +49910,4 @@ init_AboutPageTemplate();
|
|
|
49955
49910
|
// components/index.ts
|
|
49956
49911
|
init_cn();
|
|
49957
49912
|
|
|
49958
|
-
export { ALL_PRESETS, AR_BOOK_FIELDS, AboutPageTemplate, Accordion, ActionButton, ActionButtons, Card2 as ActionCard, ActionPalette, ActionTile, Alert, AnimatedCounter, AnimatedGraphic, AnimatedReveal, ArticleSection, Aside, AssetPicker, AuthLayout, Avatar, Badge, BattleBoard, BattleTemplate, BehaviorView, BookChapterView, BookCoverPage, BookNavBar, BookTableOfContents, BookViewer, Box, BranchingLogicBuilder, Breadcrumb, BuilderBoard, Button, ButtonGroup, CTABanner, CalendarGrid, CanvasEffect, Card, CardBody, CardContent, CardFooter, CardGrid, CardHeader, CardTitle, Carousel, CaseStudyCard, CaseStudyOrganism, CastleBoard, CastleTemplate, Center, Chart, ChartLegend, Checkbox, ChoiceButton, ClassifierBoard, Coachmark, CodeBlock, CodeView, CodeViewer, CollapsibleSection, CombatLog, ComboCounter, CommunityLinks, ConditionalWrapper, ConfettiEffect, ConfirmDialog, Container, ContentRenderer, ContentSection, ControlButton, CounterTemplate, CraftingRecipe, DEFAULT_LIKERT_OPTIONS, DEFAULT_MATRIX_COLUMNS, DIAMOND_TOP_Y, DPad, DamageNumber, DashboardGrid, DashboardLayout, DataGrid, DataList, DataTable, DateRangePicker, DateRangeSelector, DayCell, DebuggerBoard, DetailPanel, Dialog, DialogueBox, DialogueBubble, Divider, DocBreadcrumb, DocCodeBlock, DocPagination, DocSearch, DocSidebar, DocTOC, DocumentViewer, StateMachineView as DomStateMachineVisualizer, Drawer, DrawerSlot, EdgeDecoration, EditorCheckbox, EditorSelect, EditorSlider, EditorTextInput, EditorToolbar, EmptyState, EnemyPlate, EntityDisplayEvents, ErrorBoundary, ErrorState, EventHandlerBoard, EventLog, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FeatureCard, FeatureDetailPageTemplate, FeatureGrid, FeatureGridOrganism, FeatureRenderer2 as FeatureRenderer, FileTree, FilterGroup, FilterPill, Flex, FlipCard, FlipContainer, FloatingActionButton, Form, FormActions, FormField, FormLayout, FormSection, FormSectionHeader, GameAudioContext, GameAudioProvider, GameAudioToggle, GameCanvas2D, GameHud, GameMenu, GameOverScreen, GameShell, GameTemplate, GenericAppTemplate, GeometricPattern, GradientDivider, GraphCanvas, GraphView, Grid, GridPicker, HStack, Header,
|
|
49913
|
+
export { ALL_PRESETS, AR_BOOK_FIELDS, AboutPageTemplate, Accordion, ActionButton, ActionButtons, Card2 as ActionCard, ActionPalette, ActionTile, Alert, AnimatedCounter, AnimatedGraphic, AnimatedReveal, ArticleSection, Aside, AssetPicker, AuthLayout, Avatar, Badge, BattleBoard, BattleTemplate, BehaviorView, BookChapterView, BookCoverPage, BookNavBar, BookTableOfContents, BookViewer, Box, BranchingLogicBuilder, Breadcrumb, BuilderBoard, Button, ButtonGroup, CTABanner, CalendarGrid, CanvasEffect, Card, CardBody, CardContent, CardFooter, CardGrid, CardHeader, CardTitle, Carousel, CaseStudyCard, CaseStudyOrganism, CastleBoard, CastleTemplate, Center, Chart, ChartLegend, Checkbox, ChoiceButton, ClassifierBoard, Coachmark, CodeBlock, CodeView, CodeViewer, CollapsibleSection, CombatLog, ComboCounter, CommunityLinks, ConditionalWrapper, ConfettiEffect, ConfirmDialog, Container, ContentRenderer, ContentSection, ControlButton, CounterTemplate, CraftingRecipe, DEFAULT_LIKERT_OPTIONS, DEFAULT_MATRIX_COLUMNS, DIAMOND_TOP_Y, DPad, DamageNumber, DashboardGrid, DashboardLayout, DataGrid, DataList, DataTable, DateRangePicker, DateRangeSelector, DayCell, DebuggerBoard, DetailPanel, Dialog, DialogueBox, DialogueBubble, Divider, DocBreadcrumb, DocCodeBlock, DocPagination, DocSearch, DocSidebar, DocTOC, DocumentViewer, StateMachineView as DomStateMachineVisualizer, Drawer, DrawerSlot, EdgeDecoration, EditorCheckbox, EditorSelect, EditorSlider, EditorTextInput, EditorToolbar, EmptyState, EnemyPlate, EntityDisplayEvents, ErrorBoundary, ErrorState, EventHandlerBoard, EventLog, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FeatureCard, FeatureDetailPageTemplate, FeatureGrid, FeatureGridOrganism, FeatureRenderer2 as FeatureRenderer, FileTree, FilterGroup, FilterPill, Flex, FlipCard, FlipContainer, FloatingActionButton, Form, FormActions, FormField, FormLayout, FormSection, FormSectionHeader, GameAudioContext, GameAudioProvider, GameAudioToggle, GameCanvas2D, GameHud, GameMenu, GameOverScreen, GameShell, GameTemplate, GenericAppTemplate, GeometricPattern, GradientDivider, GraphCanvas, GraphView, Grid, GridPicker, HStack, Header, HealthBar, HealthPanel, HeroOrganism, HeroSection, IDENTITY_BOOK_FIELDS, Icon, IconPicker, InfiniteScrollSentinel, Input, InputGroup, InstallBox, InventoryGrid, InventoryPanel, IsometricCanvas, ItemSlot, JazariStateMachine, Label, LandingPageTemplate, LawReferenceTooltip, Lightbox, LikertScale, LineChart2 as LineChart, List3 as List, LoadingState, MapView, MarkdownContent, MarketingFooter, MarketingStatCard, MasterDetail, MasterDetailLayout, MatrixQuestion, MediaGallery, Menu, Meter, MiniMap, Modal, ModalSlot, ModuleCard, Navigation, NegotiatorBoard, NotifyListener, NumberStepper, ObjectRulePanel, OnboardingSpotlight, OptionConstraintGroup, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, Overlay, PageHeader, Pagination, PatternTile, PhysicsManager, PlatformerCanvas, Popover, PositionedCanvas, PowerupSlots, PricingCard, PricingGrid, PricingOrganism, PricingPageTemplate, ProgressBar, ProgressDots, PropertyInspector, PullQuote, PullToRefresh, QrScanner, QuestTracker, QuizBlock, Radio, RangeSlider, RelationSelect, RepeatableFormSection, ReplyTree, ResourceBar, ResourceCounter, RichBlockEditor, RuleEditor, RuntimeDebugger, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, ScoreBoard, ScoreDisplay, SearchInput, Section, SectionHeader, Select, SequenceBar, SequencerBoard, ServiceCatalog, ShowcaseCard, ShowcaseOrganism, SidePanel, Sidebar, SignaturePad, SimpleGrid, SimulationCanvas, SimulationControls, SimulationGraph, SimulatorBoard, Skeleton, SlotContentRenderer, SocialProof, SortableList, Spacer, Sparkline, Spinner, Split, SplitPane, SplitSection, Sprite, Stack, StarRating, StatBadge, StatCard, StatDisplay, StateArchitectBoard, StateIndicator, StateMachineView, StateNode2 as StateNode, StatsGrid, StatsOrganism, StatusBar, StatusDot, StatusEffect, StepFlow, StepFlowOrganism, SvgBranch, SvgConnection, SvgFlow, SvgGrid, SvgLobe, SvgMesh, SvgMorph, SvgNode, SvgPulse, SvgRing, SvgShield, SvgStack, SwipeableRow, Switch, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, TableView, Tabs, TagCloud, TagInput, TeamCard, TeamOrganism, TerrainPalette, TextHighlight, Textarea, ThemeSelector, ThemeToggle, TimeSlotCell, Timeline, TimerDisplay, Toast, ToastSlot, Tooltip, TraitFrame, TraitSlot, TraitStateViewer, TransitionArrow, TrendIndicator, TurnIndicator, TurnPanel, TypewriterText, Typography, UISlotComponent, UISlotRenderer, UncontrolledBattleBoard, UnitCommandBar, UploadDropZone, VStack, VariablePanel, VersionDiff, ViolationAlert, VoteStack, WaypointMarker, WizardContainer, WizardNavigation, WizardProgress, WorldMapBoard, WorldMapTemplate, XPBar, applyTemporaryEffect, calculateAttackTargets, calculateDamage, calculateValidMoves, cn, combatAnimations, combatClasses, combatEffects, createInitialGameState, createUnitAnimationState, drawSprite, generateCombatMessage, getCurrentFrame, getTileDimensions, inferDirection, isoToScreen, mapBookData, pendulum, projectileMotion, resolveFieldMap, resolveFrame, resolveSheetDirection, screenToIso, springOscillator, tickAnimationState, transitionAnimation, useAnchorRect, useBattleState, useCamera, useGameAudio, useGameAudioContext, useImageCache, usePhysics2D, useSpriteAnimations };
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import type { EntityWith } from '@almadar/core';
|
|
14
|
-
import type { DisplayStateProps } from '
|
|
14
|
+
import type { DisplayStateProps } from '../../core/organisms/types';
|
|
15
15
|
export interface CaseStudyOrganismProps extends DisplayStateProps {
|
|
16
16
|
entity?: EntityWith<'title'> | readonly EntityWith<'title'>[];
|
|
17
17
|
heading?: string;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import type { EntityWith } from '@almadar/core';
|
|
14
|
-
import type { DisplayStateProps } from '
|
|
14
|
+
import type { DisplayStateProps } from '../../core/organisms/types';
|
|
15
15
|
export interface FeatureGridOrganismProps extends DisplayStateProps {
|
|
16
16
|
entity?: EntityWith<'title'> | readonly EntityWith<'title'>[];
|
|
17
17
|
columns?: 2 | 3 | 4 | 6;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import type { EntityWith } from '@almadar/core';
|
|
14
|
-
import type { DisplayStateProps } from '
|
|
14
|
+
import type { DisplayStateProps } from '../../core/organisms/types';
|
|
15
15
|
export interface HeroOrganismProps extends DisplayStateProps {
|
|
16
16
|
entity?: EntityWith<'title'>;
|
|
17
17
|
children?: React.ReactNode;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import type { EntityWith } from '@almadar/core';
|
|
14
|
-
import type { DisplayStateProps } from '
|
|
14
|
+
import type { DisplayStateProps } from '../../core/organisms/types';
|
|
15
15
|
export interface ShowcaseOrganismProps extends DisplayStateProps {
|
|
16
16
|
entity?: EntityWith<'title'> | readonly EntityWith<'title'>[];
|
|
17
17
|
columns?: 2 | 3 | 4;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import type { EntityWith } from '@almadar/core';
|
|
13
|
-
import type { DisplayStateProps } from '
|
|
13
|
+
import type { DisplayStateProps } from '../../core/organisms/types';
|
|
14
14
|
export interface StepFlowOrganismProps extends DisplayStateProps {
|
|
15
15
|
entity?: EntityWith<'title'> | readonly EntityWith<'title'>[];
|
|
16
16
|
orientation?: 'horizontal' | 'vertical';
|
package/dist/docs/index.cjs
CHANGED
|
@@ -3836,7 +3836,7 @@ var variantStyles2 = {
|
|
|
3836
3836
|
].join(" ")
|
|
3837
3837
|
};
|
|
3838
3838
|
variantStyles2.destructive = variantStyles2.danger;
|
|
3839
|
-
var
|
|
3839
|
+
var sizeStyles = {
|
|
3840
3840
|
sm: "h-button-sm px-3 text-sm",
|
|
3841
3841
|
md: "h-button-md px-4 text-sm",
|
|
3842
3842
|
lg: "h-button-lg px-6 text-base"
|
|
@@ -3907,7 +3907,7 @@ var Button = React7__default.default.forwardRef(
|
|
|
3907
3907
|
"focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
|
|
3908
3908
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3909
3909
|
variantStyles2[variant],
|
|
3910
|
-
|
|
3910
|
+
sizeStyles[size],
|
|
3911
3911
|
className
|
|
3912
3912
|
),
|
|
3913
3913
|
onClick: handleClick,
|
package/dist/docs/index.js
CHANGED
|
@@ -3809,7 +3809,7 @@ var variantStyles2 = {
|
|
|
3809
3809
|
].join(" ")
|
|
3810
3810
|
};
|
|
3811
3811
|
variantStyles2.destructive = variantStyles2.danger;
|
|
3812
|
-
var
|
|
3812
|
+
var sizeStyles = {
|
|
3813
3813
|
sm: "h-button-sm px-3 text-sm",
|
|
3814
3814
|
md: "h-button-md px-4 text-sm",
|
|
3815
3815
|
lg: "h-button-lg px-6 text-base"
|
|
@@ -3880,7 +3880,7 @@ var Button = React7.forwardRef(
|
|
|
3880
3880
|
"focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
|
|
3881
3881
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3882
3882
|
variantStyles2[variant],
|
|
3883
|
-
|
|
3883
|
+
sizeStyles[size],
|
|
3884
3884
|
className
|
|
3885
3885
|
),
|
|
3886
3886
|
onClick: handleClick,
|
package/dist/marketing/index.cjs
CHANGED
|
@@ -3836,7 +3836,7 @@ var variantStyles2 = {
|
|
|
3836
3836
|
].join(" ")
|
|
3837
3837
|
};
|
|
3838
3838
|
variantStyles2.destructive = variantStyles2.danger;
|
|
3839
|
-
var
|
|
3839
|
+
var sizeStyles = {
|
|
3840
3840
|
sm: "h-button-sm px-3 text-sm",
|
|
3841
3841
|
md: "h-button-md px-4 text-sm",
|
|
3842
3842
|
lg: "h-button-lg px-6 text-base"
|
|
@@ -3907,7 +3907,7 @@ var Button = React8__default.default.forwardRef(
|
|
|
3907
3907
|
"focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
|
|
3908
3908
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3909
3909
|
variantStyles2[variant],
|
|
3910
|
-
|
|
3910
|
+
sizeStyles[size],
|
|
3911
3911
|
className
|
|
3912
3912
|
),
|
|
3913
3913
|
onClick: handleClick,
|
|
@@ -3955,7 +3955,7 @@ var variantStyles3 = {
|
|
|
3955
3955
|
"border-[length:var(--border-width-thin)] border-border"
|
|
3956
3956
|
].join(" ")
|
|
3957
3957
|
};
|
|
3958
|
-
var
|
|
3958
|
+
var sizeStyles2 = {
|
|
3959
3959
|
sm: "px-2 py-0.5 text-xs",
|
|
3960
3960
|
md: "px-2.5 py-1 text-sm",
|
|
3961
3961
|
lg: "px-3 py-1.5 text-base"
|
|
@@ -3975,7 +3975,7 @@ var Badge = React8__default.default.forwardRef(
|
|
|
3975
3975
|
className: cn(
|
|
3976
3976
|
"inline-flex items-center gap-1 font-bold rounded-sm",
|
|
3977
3977
|
variantStyles3[variant],
|
|
3978
|
-
|
|
3978
|
+
sizeStyles2[size],
|
|
3979
3979
|
onRemove && "pr-1",
|
|
3980
3980
|
className
|
|
3981
3981
|
),
|
|
@@ -52,12 +52,12 @@ export type { CaseStudyCardProps } from '../components/marketing/molecules/CaseS
|
|
|
52
52
|
export { ArticleSection } from '../components/marketing/molecules/ArticleSection';
|
|
53
53
|
export type { ArticleSectionProps } from '../components/marketing/molecules/ArticleSection';
|
|
54
54
|
export { SimpleGrid } from '../components/core/molecules/SimpleGrid';
|
|
55
|
-
export { MarketingFooter } from '../components/
|
|
56
|
-
export type { MarketingFooterProps, FooterLinkColumn, FooterLinkItem } from '../components/
|
|
55
|
+
export { MarketingFooter } from '../components/marketing/molecules/MarketingFooter';
|
|
56
|
+
export type { MarketingFooterProps, FooterLinkColumn, FooterLinkItem } from '../components/marketing/molecules/MarketingFooter';
|
|
57
57
|
export { GradientDivider } from '../components/core/molecules/GradientDivider';
|
|
58
58
|
export type { GradientDividerProps } from '../components/core/molecules/GradientDivider';
|
|
59
|
-
export { PullQuote } from '../components/
|
|
60
|
-
export type { PullQuoteProps } from '../components/
|
|
59
|
+
export { PullQuote } from '../components/marketing/molecules/PullQuote';
|
|
60
|
+
export type { PullQuoteProps } from '../components/marketing/molecules/PullQuote';
|
|
61
61
|
export { AnimatedCounter } from '../components/core/molecules/AnimatedCounter';
|
|
62
62
|
export type { AnimatedCounterProps } from '../components/core/molecules/AnimatedCounter';
|
|
63
63
|
export { AnimatedReveal } from '../components/marketing/atoms/AnimatedReveal';
|
package/dist/marketing/index.js
CHANGED
|
@@ -3809,7 +3809,7 @@ var variantStyles2 = {
|
|
|
3809
3809
|
].join(" ")
|
|
3810
3810
|
};
|
|
3811
3811
|
variantStyles2.destructive = variantStyles2.danger;
|
|
3812
|
-
var
|
|
3812
|
+
var sizeStyles = {
|
|
3813
3813
|
sm: "h-button-sm px-3 text-sm",
|
|
3814
3814
|
md: "h-button-md px-4 text-sm",
|
|
3815
3815
|
lg: "h-button-lg px-6 text-base"
|
|
@@ -3880,7 +3880,7 @@ var Button = React8.forwardRef(
|
|
|
3880
3880
|
"focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
|
|
3881
3881
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
3882
3882
|
variantStyles2[variant],
|
|
3883
|
-
|
|
3883
|
+
sizeStyles[size],
|
|
3884
3884
|
className
|
|
3885
3885
|
),
|
|
3886
3886
|
onClick: handleClick,
|
|
@@ -3928,7 +3928,7 @@ var variantStyles3 = {
|
|
|
3928
3928
|
"border-[length:var(--border-width-thin)] border-border"
|
|
3929
3929
|
].join(" ")
|
|
3930
3930
|
};
|
|
3931
|
-
var
|
|
3931
|
+
var sizeStyles2 = {
|
|
3932
3932
|
sm: "px-2 py-0.5 text-xs",
|
|
3933
3933
|
md: "px-2.5 py-1 text-sm",
|
|
3934
3934
|
lg: "px-3 py-1.5 text-base"
|
|
@@ -3948,7 +3948,7 @@ var Badge = React8.forwardRef(
|
|
|
3948
3948
|
className: cn(
|
|
3949
3949
|
"inline-flex items-center gap-1 font-bold rounded-sm",
|
|
3950
3950
|
variantStyles3[variant],
|
|
3951
|
-
|
|
3951
|
+
sizeStyles2[size],
|
|
3952
3952
|
onRemove && "pr-1",
|
|
3953
3953
|
className
|
|
3954
3954
|
),
|