@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/avl/index.cjs
CHANGED
|
@@ -3134,11 +3134,9 @@ var init_cn = __esm({
|
|
|
3134
3134
|
// components/core/atoms/Typography.tsx
|
|
3135
3135
|
var Typography_exports = {};
|
|
3136
3136
|
__export(Typography_exports, {
|
|
3137
|
-
Heading: () => Heading,
|
|
3138
|
-
Text: () => Text,
|
|
3139
3137
|
Typography: () => Typography
|
|
3140
3138
|
});
|
|
3141
|
-
var variantStyles, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles, Typography
|
|
3139
|
+
var variantStyles, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles, Typography;
|
|
3142
3140
|
var init_Typography = __esm({
|
|
3143
3141
|
"components/core/atoms/Typography.tsx"() {
|
|
3144
3142
|
init_cn();
|
|
@@ -3249,46 +3247,6 @@ var init_Typography = __esm({
|
|
|
3249
3247
|
);
|
|
3250
3248
|
};
|
|
3251
3249
|
Typography.displayName = "Typography";
|
|
3252
|
-
sizeStyles = {
|
|
3253
|
-
xs: "text-xs",
|
|
3254
|
-
sm: "text-sm",
|
|
3255
|
-
md: "text-base",
|
|
3256
|
-
lg: "text-lg",
|
|
3257
|
-
xl: "text-xl",
|
|
3258
|
-
"2xl": "text-2xl",
|
|
3259
|
-
"3xl": "text-3xl"
|
|
3260
|
-
};
|
|
3261
|
-
Heading = ({
|
|
3262
|
-
level = 2,
|
|
3263
|
-
size,
|
|
3264
|
-
className,
|
|
3265
|
-
...props
|
|
3266
|
-
}) => {
|
|
3267
|
-
const variant = `h${level}`;
|
|
3268
|
-
const sizeClass = size ? sizeStyles[size] : void 0;
|
|
3269
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3270
|
-
Typography,
|
|
3271
|
-
{
|
|
3272
|
-
variant,
|
|
3273
|
-
className: cn(sizeClass, className),
|
|
3274
|
-
...props
|
|
3275
|
-
}
|
|
3276
|
-
);
|
|
3277
|
-
};
|
|
3278
|
-
Heading.displayName = "Heading";
|
|
3279
|
-
Text = ({
|
|
3280
|
-
variant = "body",
|
|
3281
|
-
...props
|
|
3282
|
-
}) => {
|
|
3283
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3284
|
-
Typography,
|
|
3285
|
-
{
|
|
3286
|
-
variant,
|
|
3287
|
-
...props
|
|
3288
|
-
}
|
|
3289
|
-
);
|
|
3290
|
-
};
|
|
3291
|
-
Text.displayName = "Text";
|
|
3292
3250
|
}
|
|
3293
3251
|
});
|
|
3294
3252
|
|
|
@@ -5328,7 +5286,7 @@ function resolveIconProp(value, sizeClass) {
|
|
|
5328
5286
|
}
|
|
5329
5287
|
return value;
|
|
5330
5288
|
}
|
|
5331
|
-
var variantStyles2,
|
|
5289
|
+
var variantStyles2, sizeStyles, iconSizeStyles, Button;
|
|
5332
5290
|
var init_Button = __esm({
|
|
5333
5291
|
"components/core/atoms/Button.tsx"() {
|
|
5334
5292
|
"use client";
|
|
@@ -5385,7 +5343,7 @@ var init_Button = __esm({
|
|
|
5385
5343
|
].join(" ")
|
|
5386
5344
|
};
|
|
5387
5345
|
variantStyles2.destructive = variantStyles2.danger;
|
|
5388
|
-
|
|
5346
|
+
sizeStyles = {
|
|
5389
5347
|
sm: "h-button-sm px-3 text-sm",
|
|
5390
5348
|
md: "h-button-md px-4 text-sm",
|
|
5391
5349
|
lg: "h-button-lg px-6 text-base"
|
|
@@ -5438,7 +5396,7 @@ var init_Button = __esm({
|
|
|
5438
5396
|
"focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-ring focus:ring-offset-[length:var(--focus-ring-offset)]",
|
|
5439
5397
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
5440
5398
|
variantStyles2[variant],
|
|
5441
|
-
|
|
5399
|
+
sizeStyles[size],
|
|
5442
5400
|
className
|
|
5443
5401
|
),
|
|
5444
5402
|
onClick: handleClick,
|
|
@@ -5921,7 +5879,7 @@ var init_Drawer = __esm({
|
|
|
5921
5879
|
Drawer.displayName = "Drawer";
|
|
5922
5880
|
}
|
|
5923
5881
|
});
|
|
5924
|
-
var variantStyles3,
|
|
5882
|
+
var variantStyles3, sizeStyles2, Badge;
|
|
5925
5883
|
var init_Badge = __esm({
|
|
5926
5884
|
"components/core/atoms/Badge.tsx"() {
|
|
5927
5885
|
init_cn();
|
|
@@ -5958,7 +5916,7 @@ var init_Badge = __esm({
|
|
|
5958
5916
|
"border-[length:var(--border-width-thin)] border-border"
|
|
5959
5917
|
].join(" ")
|
|
5960
5918
|
};
|
|
5961
|
-
|
|
5919
|
+
sizeStyles2 = {
|
|
5962
5920
|
sm: "px-2 py-0.5 text-xs",
|
|
5963
5921
|
md: "px-2.5 py-1 text-sm",
|
|
5964
5922
|
lg: "px-3 py-1.5 text-base"
|
|
@@ -5978,7 +5936,7 @@ var init_Badge = __esm({
|
|
|
5978
5936
|
className: cn(
|
|
5979
5937
|
"inline-flex items-center gap-1 font-bold rounded-sm",
|
|
5980
5938
|
variantStyles3[variant],
|
|
5981
|
-
|
|
5939
|
+
sizeStyles2[size],
|
|
5982
5940
|
onRemove && "pr-1",
|
|
5983
5941
|
className
|
|
5984
5942
|
),
|
|
@@ -7362,7 +7320,7 @@ var init_Card = __esm({
|
|
|
7362
7320
|
CardFooter.displayName = "CardFooter";
|
|
7363
7321
|
}
|
|
7364
7322
|
});
|
|
7365
|
-
var variantStyles5,
|
|
7323
|
+
var variantStyles5, sizeStyles3, iconSizes, FilterPill;
|
|
7366
7324
|
var init_FilterPill = __esm({
|
|
7367
7325
|
"components/core/atoms/FilterPill.tsx"() {
|
|
7368
7326
|
init_cn();
|
|
@@ -7396,7 +7354,7 @@ var init_FilterPill = __esm({
|
|
|
7396
7354
|
"border-[length:var(--border-width-thin)] border-border"
|
|
7397
7355
|
].join(" ")
|
|
7398
7356
|
};
|
|
7399
|
-
|
|
7357
|
+
sizeStyles3 = {
|
|
7400
7358
|
sm: "px-2 py-0.5 text-xs",
|
|
7401
7359
|
md: "px-2.5 py-1 text-sm",
|
|
7402
7360
|
lg: "px-3 py-1.5 text-base"
|
|
@@ -7440,7 +7398,7 @@ var init_FilterPill = __esm({
|
|
|
7440
7398
|
className: cn(
|
|
7441
7399
|
"inline-flex items-center gap-1 font-bold rounded-pill",
|
|
7442
7400
|
variantStyles5[variant],
|
|
7443
|
-
|
|
7401
|
+
sizeStyles3[size],
|
|
7444
7402
|
(onClick || clickEvent) && "cursor-pointer",
|
|
7445
7403
|
className
|
|
7446
7404
|
),
|
|
@@ -7472,12 +7430,12 @@ var init_FilterPill = __esm({
|
|
|
7472
7430
|
FilterPill.displayName = "FilterPill";
|
|
7473
7431
|
}
|
|
7474
7432
|
});
|
|
7475
|
-
var
|
|
7433
|
+
var sizeStyles4, Spinner;
|
|
7476
7434
|
var init_Spinner = __esm({
|
|
7477
7435
|
"components/core/atoms/Spinner.tsx"() {
|
|
7478
7436
|
init_cn();
|
|
7479
7437
|
init_Icon();
|
|
7480
|
-
|
|
7438
|
+
sizeStyles4 = {
|
|
7481
7439
|
xs: "h-3 w-3",
|
|
7482
7440
|
sm: "h-icon-default w-icon-default",
|
|
7483
7441
|
md: "h-6 w-6",
|
|
@@ -7491,7 +7449,7 @@ var init_Spinner = __esm({
|
|
|
7491
7449
|
ref,
|
|
7492
7450
|
className: cn("text-foreground", className),
|
|
7493
7451
|
...props,
|
|
7494
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "loader", className: cn("animate-spin",
|
|
7452
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "loader", className: cn("animate-spin", sizeStyles4[size]) })
|
|
7495
7453
|
}
|
|
7496
7454
|
);
|
|
7497
7455
|
}
|
|
@@ -8884,7 +8842,7 @@ var init_TimeSlotCell = __esm({
|
|
|
8884
8842
|
TimeSlotCell.displayName = "TimeSlotCell";
|
|
8885
8843
|
}
|
|
8886
8844
|
});
|
|
8887
|
-
var statusColors, pulseRingColors,
|
|
8845
|
+
var statusColors, pulseRingColors, sizeStyles5, StatusDot;
|
|
8888
8846
|
var init_StatusDot = __esm({
|
|
8889
8847
|
"components/core/atoms/StatusDot.tsx"() {
|
|
8890
8848
|
init_cn();
|
|
@@ -8904,7 +8862,7 @@ var init_StatusDot = __esm({
|
|
|
8904
8862
|
warning: "ring-warning",
|
|
8905
8863
|
critical: "ring-error"
|
|
8906
8864
|
};
|
|
8907
|
-
|
|
8865
|
+
sizeStyles5 = {
|
|
8908
8866
|
sm: "w-2 h-2",
|
|
8909
8867
|
md: "w-2.5 h-2.5",
|
|
8910
8868
|
lg: "w-3 h-3"
|
|
@@ -8918,7 +8876,7 @@ var init_StatusDot = __esm({
|
|
|
8918
8876
|
className: cn(
|
|
8919
8877
|
"inline-block rounded-full flex-shrink-0",
|
|
8920
8878
|
statusColors[status],
|
|
8921
|
-
|
|
8879
|
+
sizeStyles5[size],
|
|
8922
8880
|
pulse && [
|
|
8923
8881
|
"animate-pulse",
|
|
8924
8882
|
"ring-2 ring-offset-1",
|
|
@@ -8948,12 +8906,12 @@ function resolveColor(dir, invert) {
|
|
|
8948
8906
|
const isGood = invert ? !isPositive : isPositive;
|
|
8949
8907
|
return isGood ? "text-success" : "text-error";
|
|
8950
8908
|
}
|
|
8951
|
-
var
|
|
8909
|
+
var sizeStyles6, iconNameMap, TrendIndicator;
|
|
8952
8910
|
var init_TrendIndicator = __esm({
|
|
8953
8911
|
"components/core/atoms/TrendIndicator.tsx"() {
|
|
8954
8912
|
init_Icon();
|
|
8955
8913
|
init_cn();
|
|
8956
|
-
|
|
8914
|
+
sizeStyles6 = {
|
|
8957
8915
|
sm: { icon: "w-3 h-3", text: "text-xs" },
|
|
8958
8916
|
md: { icon: "w-4 h-4", text: "text-sm" },
|
|
8959
8917
|
lg: { icon: "w-5 h-5", text: "text-base" }
|
|
@@ -8977,7 +8935,7 @@ var init_TrendIndicator = __esm({
|
|
|
8977
8935
|
const dir = resolveDirection(value, direction);
|
|
8978
8936
|
const colorClass = resolveColor(dir, invert);
|
|
8979
8937
|
const iconName = iconNameMap[dir];
|
|
8980
|
-
const styles =
|
|
8938
|
+
const styles = sizeStyles6[size];
|
|
8981
8939
|
const formattedValue = value !== void 0 ? `${value > 0 ? "+" : ""}${value}%` : void 0;
|
|
8982
8940
|
const ariaLabel = label ?? (formattedValue ? `${dir} ${formattedValue}` : dir);
|
|
8983
8941
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -10642,7 +10600,7 @@ var init_ControlButton = __esm({
|
|
|
10642
10600
|
}
|
|
10643
10601
|
});
|
|
10644
10602
|
function Sprite({
|
|
10645
|
-
spritesheet,
|
|
10603
|
+
spritesheet = "https://almadar-kflow-assets.web.app/shared/isometric-blocks/Spritesheet/allTiles_sheet.png",
|
|
10646
10604
|
frameWidth,
|
|
10647
10605
|
frameHeight,
|
|
10648
10606
|
frame,
|
|
@@ -11322,7 +11280,7 @@ var init_DamageNumber = __esm({
|
|
|
11322
11280
|
function DialogueBubble({
|
|
11323
11281
|
speaker,
|
|
11324
11282
|
text,
|
|
11325
|
-
portrait,
|
|
11283
|
+
portrait = "https://almadar-kflow-assets.web.app/shared/characters/archetypes/00_base_model.png",
|
|
11326
11284
|
position = "bottom",
|
|
11327
11285
|
className
|
|
11328
11286
|
}) {
|
|
@@ -11941,11 +11899,11 @@ var init_wrapCallbackForEvent = __esm({
|
|
|
11941
11899
|
"runtime/wrapCallbackForEvent.ts"() {
|
|
11942
11900
|
}
|
|
11943
11901
|
});
|
|
11944
|
-
var
|
|
11902
|
+
var sizeStyles7, paddingStyles3, Container;
|
|
11945
11903
|
var init_Container = __esm({
|
|
11946
11904
|
"components/core/molecules/Container.tsx"() {
|
|
11947
11905
|
init_cn();
|
|
11948
|
-
|
|
11906
|
+
sizeStyles7 = {
|
|
11949
11907
|
xs: "max-w-xs",
|
|
11950
11908
|
// 320px
|
|
11951
11909
|
sm: "max-w-screen-sm",
|
|
@@ -11983,7 +11941,7 @@ var init_Container = __esm({
|
|
|
11983
11941
|
{
|
|
11984
11942
|
className: cn(
|
|
11985
11943
|
"w-full",
|
|
11986
|
-
|
|
11944
|
+
sizeStyles7[resolvedSize],
|
|
11987
11945
|
paddingStyles3[padding],
|
|
11988
11946
|
center && "mx-auto",
|
|
11989
11947
|
className
|
|
@@ -13972,6 +13930,7 @@ var init_ComponentPatterns = __esm({
|
|
|
13972
13930
|
init_ProgressBar();
|
|
13973
13931
|
init_Card();
|
|
13974
13932
|
init_Typography();
|
|
13933
|
+
init_cn();
|
|
13975
13934
|
init_Alert();
|
|
13976
13935
|
init_Tooltip();
|
|
13977
13936
|
init_Popover();
|
|
@@ -14307,7 +14266,7 @@ var init_AnimatedCounter = __esm({
|
|
|
14307
14266
|
});
|
|
14308
14267
|
var AuthLayout;
|
|
14309
14268
|
var init_AuthLayout = __esm({
|
|
14310
|
-
"components/
|
|
14269
|
+
"components/marketing/templates/AuthLayout.tsx"() {
|
|
14311
14270
|
"use client";
|
|
14312
14271
|
init_cn();
|
|
14313
14272
|
init_Box();
|
|
@@ -22792,7 +22751,7 @@ var init_Carousel = __esm({
|
|
|
22792
22751
|
});
|
|
22793
22752
|
var CaseStudyOrganism;
|
|
22794
22753
|
var init_CaseStudyOrganism = __esm({
|
|
22795
|
-
"components/
|
|
22754
|
+
"components/marketing/organisms/CaseStudyOrganism.tsx"() {
|
|
22796
22755
|
"use client";
|
|
22797
22756
|
init_cn();
|
|
22798
22757
|
init_useEventBus();
|
|
@@ -24624,7 +24583,7 @@ function CounterMinimal({
|
|
|
24624
24583
|
Button,
|
|
24625
24584
|
{
|
|
24626
24585
|
variant: "secondary",
|
|
24627
|
-
size:
|
|
24586
|
+
size: sizeStyles8[size].button,
|
|
24628
24587
|
onClick: onDecrement,
|
|
24629
24588
|
disabled: resolved.decrementDisabled,
|
|
24630
24589
|
icon: "minus",
|
|
@@ -24636,7 +24595,7 @@ function CounterMinimal({
|
|
|
24636
24595
|
{
|
|
24637
24596
|
variant: "h1",
|
|
24638
24597
|
className: cn(
|
|
24639
|
-
|
|
24598
|
+
sizeStyles8[size].display,
|
|
24640
24599
|
"font-bold tabular-nums min-w-[3ch] text-center"
|
|
24641
24600
|
),
|
|
24642
24601
|
children: resolved.count
|
|
@@ -24646,7 +24605,7 @@ function CounterMinimal({
|
|
|
24646
24605
|
Button,
|
|
24647
24606
|
{
|
|
24648
24607
|
variant: "secondary",
|
|
24649
|
-
size:
|
|
24608
|
+
size: sizeStyles8[size].button,
|
|
24650
24609
|
onClick: onIncrement,
|
|
24651
24610
|
disabled: resolved.incrementDisabled,
|
|
24652
24611
|
icon: "plus",
|
|
@@ -24681,7 +24640,7 @@ function CounterStandard({
|
|
|
24681
24640
|
{
|
|
24682
24641
|
variant: "h1",
|
|
24683
24642
|
className: cn(
|
|
24684
|
-
|
|
24643
|
+
sizeStyles8[size].display,
|
|
24685
24644
|
"font-bold tabular-nums text-primary-600"
|
|
24686
24645
|
),
|
|
24687
24646
|
children: resolved.count
|
|
@@ -24692,7 +24651,7 @@ function CounterStandard({
|
|
|
24692
24651
|
Button,
|
|
24693
24652
|
{
|
|
24694
24653
|
variant: "secondary",
|
|
24695
|
-
size:
|
|
24654
|
+
size: sizeStyles8[size].button,
|
|
24696
24655
|
onClick: onDecrement,
|
|
24697
24656
|
disabled: resolved.decrementDisabled,
|
|
24698
24657
|
icon: "minus"
|
|
@@ -24702,7 +24661,7 @@ function CounterStandard({
|
|
|
24702
24661
|
Button,
|
|
24703
24662
|
{
|
|
24704
24663
|
variant: "primary",
|
|
24705
|
-
size:
|
|
24664
|
+
size: sizeStyles8[size].button,
|
|
24706
24665
|
onClick: onIncrement,
|
|
24707
24666
|
disabled: resolved.incrementDisabled,
|
|
24708
24667
|
icon: "plus"
|
|
@@ -24748,7 +24707,7 @@ function CounterFull({
|
|
|
24748
24707
|
{
|
|
24749
24708
|
variant: "h1",
|
|
24750
24709
|
className: cn(
|
|
24751
|
-
|
|
24710
|
+
sizeStyles8[size].display,
|
|
24752
24711
|
"font-bold tabular-nums text-primary-600"
|
|
24753
24712
|
),
|
|
24754
24713
|
children: resolved.count
|
|
@@ -24761,7 +24720,7 @@ function CounterFull({
|
|
|
24761
24720
|
Button,
|
|
24762
24721
|
{
|
|
24763
24722
|
variant: "secondary",
|
|
24764
|
-
size:
|
|
24723
|
+
size: sizeStyles8[size].button,
|
|
24765
24724
|
onClick: onDecrement,
|
|
24766
24725
|
disabled: resolved.decrementDisabled,
|
|
24767
24726
|
icon: "minus",
|
|
@@ -24772,7 +24731,7 @@ function CounterFull({
|
|
|
24772
24731
|
Button,
|
|
24773
24732
|
{
|
|
24774
24733
|
variant: "primary",
|
|
24775
|
-
size:
|
|
24734
|
+
size: sizeStyles8[size].button,
|
|
24776
24735
|
onClick: onIncrement,
|
|
24777
24736
|
disabled: resolved.incrementDisabled,
|
|
24778
24737
|
icon: "plus",
|
|
@@ -24792,7 +24751,7 @@ function CounterFull({
|
|
|
24792
24751
|
)
|
|
24793
24752
|
] }) });
|
|
24794
24753
|
}
|
|
24795
|
-
var
|
|
24754
|
+
var sizeStyles8, CounterTemplate;
|
|
24796
24755
|
var init_CounterTemplate = __esm({
|
|
24797
24756
|
"components/core/templates/CounterTemplate.tsx"() {
|
|
24798
24757
|
init_cn();
|
|
@@ -24800,7 +24759,7 @@ var init_CounterTemplate = __esm({
|
|
|
24800
24759
|
init_Stack();
|
|
24801
24760
|
init_Typography();
|
|
24802
24761
|
init_Button();
|
|
24803
|
-
|
|
24762
|
+
sizeStyles8 = {
|
|
24804
24763
|
sm: { display: "text-4xl", button: "sm" },
|
|
24805
24764
|
md: { display: "text-6xl", button: "md" },
|
|
24806
24765
|
lg: { display: "text-8xl", button: "lg" }
|
|
@@ -31261,14 +31220,14 @@ function useSafeEventBus5() {
|
|
|
31261
31220
|
} };
|
|
31262
31221
|
}
|
|
31263
31222
|
}
|
|
31264
|
-
var
|
|
31223
|
+
var sizeStyles9, LONG_PRESS_DELAY, LONG_PRESS_INTERVAL, NumberStepper;
|
|
31265
31224
|
var init_NumberStepper = __esm({
|
|
31266
31225
|
"components/core/molecules/NumberStepper.tsx"() {
|
|
31267
31226
|
"use client";
|
|
31268
31227
|
init_cn();
|
|
31269
31228
|
init_Icon();
|
|
31270
31229
|
init_useEventBus();
|
|
31271
|
-
|
|
31230
|
+
sizeStyles9 = {
|
|
31272
31231
|
sm: {
|
|
31273
31232
|
button: "w-7 h-7",
|
|
31274
31233
|
text: "text-sm min-w-[2rem]",
|
|
@@ -31306,7 +31265,7 @@ var init_NumberStepper = __esm({
|
|
|
31306
31265
|
const timeoutRef = React95.useRef(null);
|
|
31307
31266
|
const isAtMin = min !== void 0 && value <= min;
|
|
31308
31267
|
const isAtMax = max !== void 0 && value >= max;
|
|
31309
|
-
const styles =
|
|
31268
|
+
const styles = sizeStyles9[size];
|
|
31310
31269
|
const emitChange = React95.useCallback(
|
|
31311
31270
|
(newValue) => {
|
|
31312
31271
|
const clamped = Math.round(newValue / step) * step;
|
|
@@ -31447,14 +31406,14 @@ function useSafeEventBus6() {
|
|
|
31447
31406
|
} };
|
|
31448
31407
|
}
|
|
31449
31408
|
}
|
|
31450
|
-
var
|
|
31409
|
+
var sizeStyles10, StarRating;
|
|
31451
31410
|
var init_StarRating = __esm({
|
|
31452
31411
|
"components/core/molecules/StarRating.tsx"() {
|
|
31453
31412
|
"use client";
|
|
31454
31413
|
init_cn();
|
|
31455
31414
|
init_Icon();
|
|
31456
31415
|
init_useEventBus();
|
|
31457
|
-
|
|
31416
|
+
sizeStyles10 = {
|
|
31458
31417
|
sm: { star: "w-4 h-4", gap: "gap-0.5" },
|
|
31459
31418
|
md: { star: "w-6 h-6", gap: "gap-1" },
|
|
31460
31419
|
lg: { star: "w-8 h-8", gap: "gap-1.5" }
|
|
@@ -31473,7 +31432,7 @@ var init_StarRating = __esm({
|
|
|
31473
31432
|
}) => {
|
|
31474
31433
|
const [hoverValue, setHoverValue] = React95.useState(null);
|
|
31475
31434
|
const eventBus = useSafeEventBus6();
|
|
31476
|
-
const styles =
|
|
31435
|
+
const styles = sizeStyles10[size];
|
|
31477
31436
|
const displayValue = hoverValue ?? value;
|
|
31478
31437
|
const emitChange = React95.useCallback(
|
|
31479
31438
|
(newValue) => {
|
|
@@ -34400,14 +34359,14 @@ var init_EdgeDecoration = __esm({
|
|
|
34400
34359
|
EdgeDecoration.displayName = "EdgeDecoration";
|
|
34401
34360
|
}
|
|
34402
34361
|
});
|
|
34403
|
-
var
|
|
34362
|
+
var sizeStyles11, VoteStack;
|
|
34404
34363
|
var init_VoteStack = __esm({
|
|
34405
34364
|
"components/core/molecules/VoteStack.tsx"() {
|
|
34406
34365
|
"use client";
|
|
34407
34366
|
init_cn();
|
|
34408
34367
|
init_Icon();
|
|
34409
34368
|
init_useEventBus();
|
|
34410
|
-
|
|
34369
|
+
sizeStyles11 = {
|
|
34411
34370
|
sm: {
|
|
34412
34371
|
button: "w-7 h-7",
|
|
34413
34372
|
text: "text-sm min-w-[2rem]",
|
|
@@ -34435,7 +34394,7 @@ var init_VoteStack = __esm({
|
|
|
34435
34394
|
className,
|
|
34436
34395
|
label
|
|
34437
34396
|
}) => {
|
|
34438
|
-
const styles =
|
|
34397
|
+
const styles = sizeStyles11[size];
|
|
34439
34398
|
const isUp = userVote === "up";
|
|
34440
34399
|
const isDown = userVote === "down";
|
|
34441
34400
|
const eventBus = useEventBus();
|
|
@@ -34703,7 +34662,7 @@ var init_LikertScale = __esm({
|
|
|
34703
34662
|
LikertScale.displayName = "LikertScale";
|
|
34704
34663
|
}
|
|
34705
34664
|
});
|
|
34706
|
-
var DEFAULT_MATRIX_COLUMNS,
|
|
34665
|
+
var DEFAULT_MATRIX_COLUMNS, sizeStyles12, MatrixQuestion;
|
|
34707
34666
|
var init_MatrixQuestion = __esm({
|
|
34708
34667
|
"components/core/molecules/MatrixQuestion.tsx"() {
|
|
34709
34668
|
"use client";
|
|
@@ -34719,7 +34678,7 @@ var init_MatrixQuestion = __esm({
|
|
|
34719
34678
|
{ value: 4, label: "Agree" },
|
|
34720
34679
|
{ value: 5, label: "Strongly Agree" }
|
|
34721
34680
|
];
|
|
34722
|
-
|
|
34681
|
+
sizeStyles12 = {
|
|
34723
34682
|
sm: {
|
|
34724
34683
|
cell: "px-2 py-1.5 text-xs",
|
|
34725
34684
|
radio: "sm",
|
|
@@ -34742,7 +34701,7 @@ var init_MatrixQuestion = __esm({
|
|
|
34742
34701
|
size = "md",
|
|
34743
34702
|
className
|
|
34744
34703
|
}) => {
|
|
34745
|
-
const styles =
|
|
34704
|
+
const styles = sizeStyles12[size];
|
|
34746
34705
|
const safeRows = rows2 ?? [];
|
|
34747
34706
|
const safeValues = values ?? {};
|
|
34748
34707
|
const eventBus = useEventBus();
|
|
@@ -37498,7 +37457,7 @@ var init_GradientDivider = __esm({
|
|
|
37498
37457
|
});
|
|
37499
37458
|
var MarketingFooter;
|
|
37500
37459
|
var init_MarketingFooter = __esm({
|
|
37501
|
-
"components/
|
|
37460
|
+
"components/marketing/molecules/MarketingFooter.tsx"() {
|
|
37502
37461
|
"use client";
|
|
37503
37462
|
init_cn();
|
|
37504
37463
|
init_Box();
|
|
@@ -37568,7 +37527,7 @@ var init_MarketingFooter = __esm({
|
|
|
37568
37527
|
});
|
|
37569
37528
|
var PullQuote;
|
|
37570
37529
|
var init_PullQuote = __esm({
|
|
37571
|
-
"components/
|
|
37530
|
+
"components/marketing/molecules/PullQuote.tsx"() {
|
|
37572
37531
|
"use client";
|
|
37573
37532
|
init_cn();
|
|
37574
37533
|
init_Box();
|
|
@@ -41433,7 +41392,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
41433
41392
|
});
|
|
41434
41393
|
var FeatureGridOrganism;
|
|
41435
41394
|
var init_FeatureGridOrganism = __esm({
|
|
41436
|
-
"components/
|
|
41395
|
+
"components/marketing/organisms/FeatureGridOrganism.tsx"() {
|
|
41437
41396
|
"use client";
|
|
41438
41397
|
init_cn();
|
|
41439
41398
|
init_useEventBus();
|
|
@@ -42780,7 +42739,7 @@ var init_GenericAppTemplate = __esm({
|
|
|
42780
42739
|
});
|
|
42781
42740
|
var HeroOrganism, _HeroClickInterceptor;
|
|
42782
42741
|
var init_HeroOrganism = __esm({
|
|
42783
|
-
"components/
|
|
42742
|
+
"components/marketing/organisms/HeroOrganism.tsx"() {
|
|
42784
42743
|
"use client";
|
|
42785
42744
|
init_cn();
|
|
42786
42745
|
init_useEventBus();
|
|
@@ -46407,7 +46366,7 @@ var init_SequencerBoard = __esm({
|
|
|
46407
46366
|
});
|
|
46408
46367
|
var ShowcaseOrganism;
|
|
46409
46368
|
var init_ShowcaseOrganism = __esm({
|
|
46410
|
-
"components/
|
|
46369
|
+
"components/marketing/organisms/ShowcaseOrganism.tsx"() {
|
|
46411
46370
|
"use client";
|
|
46412
46371
|
init_cn();
|
|
46413
46372
|
init_useEventBus();
|
|
@@ -47832,7 +47791,7 @@ var init_StatsOrganism = __esm({
|
|
|
47832
47791
|
});
|
|
47833
47792
|
var StepFlowOrganism;
|
|
47834
47793
|
var init_StepFlowOrganism = __esm({
|
|
47835
|
-
"components/
|
|
47794
|
+
"components/marketing/organisms/StepFlowOrganism.tsx"() {
|
|
47836
47795
|
"use client";
|
|
47837
47796
|
init_cn();
|
|
47838
47797
|
init_Stack();
|