@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/runtime/index.js
CHANGED
|
@@ -1451,11 +1451,9 @@ var init_Dialog = __esm({
|
|
|
1451
1451
|
// components/core/atoms/Typography.tsx
|
|
1452
1452
|
var Typography_exports = {};
|
|
1453
1453
|
__export(Typography_exports, {
|
|
1454
|
-
Heading: () => Heading,
|
|
1455
|
-
Text: () => Text,
|
|
1456
1454
|
Typography: () => Typography
|
|
1457
1455
|
});
|
|
1458
|
-
var variantStyles2, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles2, Typography
|
|
1456
|
+
var variantStyles2, colorStyles, weightStyles, defaultElements, typographySizeStyles, overflowStyles2, Typography;
|
|
1459
1457
|
var init_Typography = __esm({
|
|
1460
1458
|
"components/core/atoms/Typography.tsx"() {
|
|
1461
1459
|
init_cn();
|
|
@@ -1566,46 +1564,6 @@ var init_Typography = __esm({
|
|
|
1566
1564
|
);
|
|
1567
1565
|
};
|
|
1568
1566
|
Typography.displayName = "Typography";
|
|
1569
|
-
sizeStyles2 = {
|
|
1570
|
-
xs: "text-xs",
|
|
1571
|
-
sm: "text-sm",
|
|
1572
|
-
md: "text-base",
|
|
1573
|
-
lg: "text-lg",
|
|
1574
|
-
xl: "text-xl",
|
|
1575
|
-
"2xl": "text-2xl",
|
|
1576
|
-
"3xl": "text-3xl"
|
|
1577
|
-
};
|
|
1578
|
-
Heading = ({
|
|
1579
|
-
level = 2,
|
|
1580
|
-
size,
|
|
1581
|
-
className,
|
|
1582
|
-
...props
|
|
1583
|
-
}) => {
|
|
1584
|
-
const variant = `h${level}`;
|
|
1585
|
-
const sizeClass = size ? sizeStyles2[size] : void 0;
|
|
1586
|
-
return /* @__PURE__ */ jsx(
|
|
1587
|
-
Typography,
|
|
1588
|
-
{
|
|
1589
|
-
variant,
|
|
1590
|
-
className: cn(sizeClass, className),
|
|
1591
|
-
...props
|
|
1592
|
-
}
|
|
1593
|
-
);
|
|
1594
|
-
};
|
|
1595
|
-
Heading.displayName = "Heading";
|
|
1596
|
-
Text = ({
|
|
1597
|
-
variant = "body",
|
|
1598
|
-
...props
|
|
1599
|
-
}) => {
|
|
1600
|
-
return /* @__PURE__ */ jsx(
|
|
1601
|
-
Typography,
|
|
1602
|
-
{
|
|
1603
|
-
variant,
|
|
1604
|
-
...props
|
|
1605
|
-
}
|
|
1606
|
-
);
|
|
1607
|
-
};
|
|
1608
|
-
Text.displayName = "Text";
|
|
1609
1567
|
}
|
|
1610
1568
|
});
|
|
1611
1569
|
var Overlay;
|
|
@@ -2047,7 +2005,7 @@ var init_Drawer = __esm({
|
|
|
2047
2005
|
Drawer.displayName = "Drawer";
|
|
2048
2006
|
}
|
|
2049
2007
|
});
|
|
2050
|
-
var variantStyles3,
|
|
2008
|
+
var variantStyles3, sizeStyles2, Badge;
|
|
2051
2009
|
var init_Badge = __esm({
|
|
2052
2010
|
"components/core/atoms/Badge.tsx"() {
|
|
2053
2011
|
init_cn();
|
|
@@ -2084,7 +2042,7 @@ var init_Badge = __esm({
|
|
|
2084
2042
|
"border-[length:var(--border-width-thin)] border-border"
|
|
2085
2043
|
].join(" ")
|
|
2086
2044
|
};
|
|
2087
|
-
|
|
2045
|
+
sizeStyles2 = {
|
|
2088
2046
|
sm: "px-2 py-0.5 text-xs",
|
|
2089
2047
|
md: "px-2.5 py-1 text-sm",
|
|
2090
2048
|
lg: "px-3 py-1.5 text-base"
|
|
@@ -2104,7 +2062,7 @@ var init_Badge = __esm({
|
|
|
2104
2062
|
className: cn(
|
|
2105
2063
|
"inline-flex items-center gap-1 font-bold rounded-sm",
|
|
2106
2064
|
variantStyles3[variant],
|
|
2107
|
-
|
|
2065
|
+
sizeStyles2[size],
|
|
2108
2066
|
onRemove && "pr-1",
|
|
2109
2067
|
className
|
|
2110
2068
|
),
|
|
@@ -3488,7 +3446,7 @@ var init_Card = __esm({
|
|
|
3488
3446
|
CardFooter.displayName = "CardFooter";
|
|
3489
3447
|
}
|
|
3490
3448
|
});
|
|
3491
|
-
var variantStyles5,
|
|
3449
|
+
var variantStyles5, sizeStyles3, iconSizes, FilterPill;
|
|
3492
3450
|
var init_FilterPill = __esm({
|
|
3493
3451
|
"components/core/atoms/FilterPill.tsx"() {
|
|
3494
3452
|
init_cn();
|
|
@@ -3522,7 +3480,7 @@ var init_FilterPill = __esm({
|
|
|
3522
3480
|
"border-[length:var(--border-width-thin)] border-border"
|
|
3523
3481
|
].join(" ")
|
|
3524
3482
|
};
|
|
3525
|
-
|
|
3483
|
+
sizeStyles3 = {
|
|
3526
3484
|
sm: "px-2 py-0.5 text-xs",
|
|
3527
3485
|
md: "px-2.5 py-1 text-sm",
|
|
3528
3486
|
lg: "px-3 py-1.5 text-base"
|
|
@@ -3566,7 +3524,7 @@ var init_FilterPill = __esm({
|
|
|
3566
3524
|
className: cn(
|
|
3567
3525
|
"inline-flex items-center gap-1 font-bold rounded-pill",
|
|
3568
3526
|
variantStyles5[variant],
|
|
3569
|
-
|
|
3527
|
+
sizeStyles3[size],
|
|
3570
3528
|
(onClick || clickEvent) && "cursor-pointer",
|
|
3571
3529
|
className
|
|
3572
3530
|
),
|
|
@@ -3598,12 +3556,12 @@ var init_FilterPill = __esm({
|
|
|
3598
3556
|
FilterPill.displayName = "FilterPill";
|
|
3599
3557
|
}
|
|
3600
3558
|
});
|
|
3601
|
-
var
|
|
3559
|
+
var sizeStyles4, Spinner;
|
|
3602
3560
|
var init_Spinner = __esm({
|
|
3603
3561
|
"components/core/atoms/Spinner.tsx"() {
|
|
3604
3562
|
init_cn();
|
|
3605
3563
|
init_Icon();
|
|
3606
|
-
|
|
3564
|
+
sizeStyles4 = {
|
|
3607
3565
|
xs: "h-3 w-3",
|
|
3608
3566
|
sm: "h-icon-default w-icon-default",
|
|
3609
3567
|
md: "h-6 w-6",
|
|
@@ -3617,7 +3575,7 @@ var init_Spinner = __esm({
|
|
|
3617
3575
|
ref,
|
|
3618
3576
|
className: cn("text-foreground", className),
|
|
3619
3577
|
...props,
|
|
3620
|
-
children: /* @__PURE__ */ jsx(Icon, { name: "loader", className: cn("animate-spin",
|
|
3578
|
+
children: /* @__PURE__ */ jsx(Icon, { name: "loader", className: cn("animate-spin", sizeStyles4[size]) })
|
|
3621
3579
|
}
|
|
3622
3580
|
);
|
|
3623
3581
|
}
|
|
@@ -5096,7 +5054,7 @@ var init_TimeSlotCell = __esm({
|
|
|
5096
5054
|
TimeSlotCell.displayName = "TimeSlotCell";
|
|
5097
5055
|
}
|
|
5098
5056
|
});
|
|
5099
|
-
var statusColors, pulseRingColors,
|
|
5057
|
+
var statusColors, pulseRingColors, sizeStyles5, StatusDot;
|
|
5100
5058
|
var init_StatusDot = __esm({
|
|
5101
5059
|
"components/core/atoms/StatusDot.tsx"() {
|
|
5102
5060
|
init_cn();
|
|
@@ -5116,7 +5074,7 @@ var init_StatusDot = __esm({
|
|
|
5116
5074
|
warning: "ring-warning",
|
|
5117
5075
|
critical: "ring-error"
|
|
5118
5076
|
};
|
|
5119
|
-
|
|
5077
|
+
sizeStyles5 = {
|
|
5120
5078
|
sm: "w-2 h-2",
|
|
5121
5079
|
md: "w-2.5 h-2.5",
|
|
5122
5080
|
lg: "w-3 h-3"
|
|
@@ -5130,7 +5088,7 @@ var init_StatusDot = __esm({
|
|
|
5130
5088
|
className: cn(
|
|
5131
5089
|
"inline-block rounded-full flex-shrink-0",
|
|
5132
5090
|
statusColors[status],
|
|
5133
|
-
|
|
5091
|
+
sizeStyles5[size],
|
|
5134
5092
|
pulse && [
|
|
5135
5093
|
"animate-pulse",
|
|
5136
5094
|
"ring-2 ring-offset-1",
|
|
@@ -5160,12 +5118,12 @@ function resolveColor(dir, invert) {
|
|
|
5160
5118
|
const isGood = invert ? !isPositive : isPositive;
|
|
5161
5119
|
return isGood ? "text-success" : "text-error";
|
|
5162
5120
|
}
|
|
5163
|
-
var
|
|
5121
|
+
var sizeStyles6, iconNameMap, TrendIndicator;
|
|
5164
5122
|
var init_TrendIndicator = __esm({
|
|
5165
5123
|
"components/core/atoms/TrendIndicator.tsx"() {
|
|
5166
5124
|
init_Icon();
|
|
5167
5125
|
init_cn();
|
|
5168
|
-
|
|
5126
|
+
sizeStyles6 = {
|
|
5169
5127
|
sm: { icon: "w-3 h-3", text: "text-xs" },
|
|
5170
5128
|
md: { icon: "w-4 h-4", text: "text-sm" },
|
|
5171
5129
|
lg: { icon: "w-5 h-5", text: "text-base" }
|
|
@@ -5189,7 +5147,7 @@ var init_TrendIndicator = __esm({
|
|
|
5189
5147
|
const dir = resolveDirection(value, direction);
|
|
5190
5148
|
const colorClass = resolveColor(dir, invert);
|
|
5191
5149
|
const iconName = iconNameMap[dir];
|
|
5192
|
-
const styles =
|
|
5150
|
+
const styles = sizeStyles6[size];
|
|
5193
5151
|
const formattedValue = value !== void 0 ? `${value > 0 ? "+" : ""}${value}%` : void 0;
|
|
5194
5152
|
const ariaLabel = label ?? (formattedValue ? `${dir} ${formattedValue}` : dir);
|
|
5195
5153
|
return /* @__PURE__ */ jsxs(
|
|
@@ -6854,7 +6812,7 @@ var init_ControlButton = __esm({
|
|
|
6854
6812
|
}
|
|
6855
6813
|
});
|
|
6856
6814
|
function Sprite({
|
|
6857
|
-
spritesheet,
|
|
6815
|
+
spritesheet = "https://almadar-kflow-assets.web.app/shared/isometric-blocks/Spritesheet/allTiles_sheet.png",
|
|
6858
6816
|
frameWidth,
|
|
6859
6817
|
frameHeight,
|
|
6860
6818
|
frame,
|
|
@@ -7534,7 +7492,7 @@ var init_DamageNumber = __esm({
|
|
|
7534
7492
|
function DialogueBubble({
|
|
7535
7493
|
speaker,
|
|
7536
7494
|
text,
|
|
7537
|
-
portrait,
|
|
7495
|
+
portrait = "https://almadar-kflow-assets.web.app/shared/characters/archetypes/00_base_model.png",
|
|
7538
7496
|
position = "bottom",
|
|
7539
7497
|
className
|
|
7540
7498
|
}) {
|
|
@@ -8153,11 +8111,11 @@ var init_wrapCallbackForEvent = __esm({
|
|
|
8153
8111
|
"runtime/wrapCallbackForEvent.ts"() {
|
|
8154
8112
|
}
|
|
8155
8113
|
});
|
|
8156
|
-
var
|
|
8114
|
+
var sizeStyles7, paddingStyles3, Container;
|
|
8157
8115
|
var init_Container = __esm({
|
|
8158
8116
|
"components/core/molecules/Container.tsx"() {
|
|
8159
8117
|
init_cn();
|
|
8160
|
-
|
|
8118
|
+
sizeStyles7 = {
|
|
8161
8119
|
xs: "max-w-xs",
|
|
8162
8120
|
// 320px
|
|
8163
8121
|
sm: "max-w-screen-sm",
|
|
@@ -8195,7 +8153,7 @@ var init_Container = __esm({
|
|
|
8195
8153
|
{
|
|
8196
8154
|
className: cn(
|
|
8197
8155
|
"w-full",
|
|
8198
|
-
|
|
8156
|
+
sizeStyles7[resolvedSize],
|
|
8199
8157
|
paddingStyles3[padding],
|
|
8200
8158
|
center && "mx-auto",
|
|
8201
8159
|
className
|
|
@@ -10184,6 +10142,7 @@ var init_ComponentPatterns = __esm({
|
|
|
10184
10142
|
init_ProgressBar();
|
|
10185
10143
|
init_Card();
|
|
10186
10144
|
init_Typography();
|
|
10145
|
+
init_cn();
|
|
10187
10146
|
init_Alert();
|
|
10188
10147
|
init_Tooltip();
|
|
10189
10148
|
init_Popover();
|
|
@@ -10519,7 +10478,7 @@ var init_AnimatedCounter = __esm({
|
|
|
10519
10478
|
});
|
|
10520
10479
|
var AuthLayout;
|
|
10521
10480
|
var init_AuthLayout = __esm({
|
|
10522
|
-
"components/
|
|
10481
|
+
"components/marketing/templates/AuthLayout.tsx"() {
|
|
10523
10482
|
"use client";
|
|
10524
10483
|
init_cn();
|
|
10525
10484
|
init_Box();
|
|
@@ -19833,7 +19792,7 @@ var init_Carousel = __esm({
|
|
|
19833
19792
|
});
|
|
19834
19793
|
var CaseStudyOrganism;
|
|
19835
19794
|
var init_CaseStudyOrganism = __esm({
|
|
19836
|
-
"components/
|
|
19795
|
+
"components/marketing/organisms/CaseStudyOrganism.tsx"() {
|
|
19837
19796
|
"use client";
|
|
19838
19797
|
init_cn();
|
|
19839
19798
|
init_useEventBus();
|
|
@@ -21665,7 +21624,7 @@ function CounterMinimal({
|
|
|
21665
21624
|
Button,
|
|
21666
21625
|
{
|
|
21667
21626
|
variant: "secondary",
|
|
21668
|
-
size:
|
|
21627
|
+
size: sizeStyles8[size].button,
|
|
21669
21628
|
onClick: onDecrement,
|
|
21670
21629
|
disabled: resolved.decrementDisabled,
|
|
21671
21630
|
icon: "minus",
|
|
@@ -21677,7 +21636,7 @@ function CounterMinimal({
|
|
|
21677
21636
|
{
|
|
21678
21637
|
variant: "h1",
|
|
21679
21638
|
className: cn(
|
|
21680
|
-
|
|
21639
|
+
sizeStyles8[size].display,
|
|
21681
21640
|
"font-bold tabular-nums min-w-[3ch] text-center"
|
|
21682
21641
|
),
|
|
21683
21642
|
children: resolved.count
|
|
@@ -21687,7 +21646,7 @@ function CounterMinimal({
|
|
|
21687
21646
|
Button,
|
|
21688
21647
|
{
|
|
21689
21648
|
variant: "secondary",
|
|
21690
|
-
size:
|
|
21649
|
+
size: sizeStyles8[size].button,
|
|
21691
21650
|
onClick: onIncrement,
|
|
21692
21651
|
disabled: resolved.incrementDisabled,
|
|
21693
21652
|
icon: "plus",
|
|
@@ -21722,7 +21681,7 @@ function CounterStandard({
|
|
|
21722
21681
|
{
|
|
21723
21682
|
variant: "h1",
|
|
21724
21683
|
className: cn(
|
|
21725
|
-
|
|
21684
|
+
sizeStyles8[size].display,
|
|
21726
21685
|
"font-bold tabular-nums text-primary-600"
|
|
21727
21686
|
),
|
|
21728
21687
|
children: resolved.count
|
|
@@ -21733,7 +21692,7 @@ function CounterStandard({
|
|
|
21733
21692
|
Button,
|
|
21734
21693
|
{
|
|
21735
21694
|
variant: "secondary",
|
|
21736
|
-
size:
|
|
21695
|
+
size: sizeStyles8[size].button,
|
|
21737
21696
|
onClick: onDecrement,
|
|
21738
21697
|
disabled: resolved.decrementDisabled,
|
|
21739
21698
|
icon: "minus"
|
|
@@ -21743,7 +21702,7 @@ function CounterStandard({
|
|
|
21743
21702
|
Button,
|
|
21744
21703
|
{
|
|
21745
21704
|
variant: "primary",
|
|
21746
|
-
size:
|
|
21705
|
+
size: sizeStyles8[size].button,
|
|
21747
21706
|
onClick: onIncrement,
|
|
21748
21707
|
disabled: resolved.incrementDisabled,
|
|
21749
21708
|
icon: "plus"
|
|
@@ -21789,7 +21748,7 @@ function CounterFull({
|
|
|
21789
21748
|
{
|
|
21790
21749
|
variant: "h1",
|
|
21791
21750
|
className: cn(
|
|
21792
|
-
|
|
21751
|
+
sizeStyles8[size].display,
|
|
21793
21752
|
"font-bold tabular-nums text-primary-600"
|
|
21794
21753
|
),
|
|
21795
21754
|
children: resolved.count
|
|
@@ -21802,7 +21761,7 @@ function CounterFull({
|
|
|
21802
21761
|
Button,
|
|
21803
21762
|
{
|
|
21804
21763
|
variant: "secondary",
|
|
21805
|
-
size:
|
|
21764
|
+
size: sizeStyles8[size].button,
|
|
21806
21765
|
onClick: onDecrement,
|
|
21807
21766
|
disabled: resolved.decrementDisabled,
|
|
21808
21767
|
icon: "minus",
|
|
@@ -21813,7 +21772,7 @@ function CounterFull({
|
|
|
21813
21772
|
Button,
|
|
21814
21773
|
{
|
|
21815
21774
|
variant: "primary",
|
|
21816
|
-
size:
|
|
21775
|
+
size: sizeStyles8[size].button,
|
|
21817
21776
|
onClick: onIncrement,
|
|
21818
21777
|
disabled: resolved.incrementDisabled,
|
|
21819
21778
|
icon: "plus",
|
|
@@ -21833,7 +21792,7 @@ function CounterFull({
|
|
|
21833
21792
|
)
|
|
21834
21793
|
] }) });
|
|
21835
21794
|
}
|
|
21836
|
-
var
|
|
21795
|
+
var sizeStyles8, CounterTemplate;
|
|
21837
21796
|
var init_CounterTemplate = __esm({
|
|
21838
21797
|
"components/core/templates/CounterTemplate.tsx"() {
|
|
21839
21798
|
init_cn();
|
|
@@ -21841,7 +21800,7 @@ var init_CounterTemplate = __esm({
|
|
|
21841
21800
|
init_Stack();
|
|
21842
21801
|
init_Typography();
|
|
21843
21802
|
init_Button();
|
|
21844
|
-
|
|
21803
|
+
sizeStyles8 = {
|
|
21845
21804
|
sm: { display: "text-4xl", button: "sm" },
|
|
21846
21805
|
md: { display: "text-6xl", button: "md" },
|
|
21847
21806
|
lg: { display: "text-8xl", button: "lg" }
|
|
@@ -28302,14 +28261,14 @@ function useSafeEventBus5() {
|
|
|
28302
28261
|
} };
|
|
28303
28262
|
}
|
|
28304
28263
|
}
|
|
28305
|
-
var
|
|
28264
|
+
var sizeStyles9, LONG_PRESS_DELAY, LONG_PRESS_INTERVAL, NumberStepper;
|
|
28306
28265
|
var init_NumberStepper = __esm({
|
|
28307
28266
|
"components/core/molecules/NumberStepper.tsx"() {
|
|
28308
28267
|
"use client";
|
|
28309
28268
|
init_cn();
|
|
28310
28269
|
init_Icon();
|
|
28311
28270
|
init_useEventBus();
|
|
28312
|
-
|
|
28271
|
+
sizeStyles9 = {
|
|
28313
28272
|
sm: {
|
|
28314
28273
|
button: "w-7 h-7",
|
|
28315
28274
|
text: "text-sm min-w-[2rem]",
|
|
@@ -28347,7 +28306,7 @@ var init_NumberStepper = __esm({
|
|
|
28347
28306
|
const timeoutRef = useRef(null);
|
|
28348
28307
|
const isAtMin = min !== void 0 && value <= min;
|
|
28349
28308
|
const isAtMax = max !== void 0 && value >= max;
|
|
28350
|
-
const styles =
|
|
28309
|
+
const styles = sizeStyles9[size];
|
|
28351
28310
|
const emitChange = useCallback(
|
|
28352
28311
|
(newValue) => {
|
|
28353
28312
|
const clamped = Math.round(newValue / step) * step;
|
|
@@ -28488,14 +28447,14 @@ function useSafeEventBus6() {
|
|
|
28488
28447
|
} };
|
|
28489
28448
|
}
|
|
28490
28449
|
}
|
|
28491
|
-
var
|
|
28450
|
+
var sizeStyles10, StarRating;
|
|
28492
28451
|
var init_StarRating = __esm({
|
|
28493
28452
|
"components/core/molecules/StarRating.tsx"() {
|
|
28494
28453
|
"use client";
|
|
28495
28454
|
init_cn();
|
|
28496
28455
|
init_Icon();
|
|
28497
28456
|
init_useEventBus();
|
|
28498
|
-
|
|
28457
|
+
sizeStyles10 = {
|
|
28499
28458
|
sm: { star: "w-4 h-4", gap: "gap-0.5" },
|
|
28500
28459
|
md: { star: "w-6 h-6", gap: "gap-1" },
|
|
28501
28460
|
lg: { star: "w-8 h-8", gap: "gap-1.5" }
|
|
@@ -28514,7 +28473,7 @@ var init_StarRating = __esm({
|
|
|
28514
28473
|
}) => {
|
|
28515
28474
|
const [hoverValue, setHoverValue] = useState(null);
|
|
28516
28475
|
const eventBus = useSafeEventBus6();
|
|
28517
|
-
const styles =
|
|
28476
|
+
const styles = sizeStyles10[size];
|
|
28518
28477
|
const displayValue = hoverValue ?? value;
|
|
28519
28478
|
const emitChange = useCallback(
|
|
28520
28479
|
(newValue) => {
|
|
@@ -31441,14 +31400,14 @@ var init_EdgeDecoration = __esm({
|
|
|
31441
31400
|
EdgeDecoration.displayName = "EdgeDecoration";
|
|
31442
31401
|
}
|
|
31443
31402
|
});
|
|
31444
|
-
var
|
|
31403
|
+
var sizeStyles11, VoteStack;
|
|
31445
31404
|
var init_VoteStack = __esm({
|
|
31446
31405
|
"components/core/molecules/VoteStack.tsx"() {
|
|
31447
31406
|
"use client";
|
|
31448
31407
|
init_cn();
|
|
31449
31408
|
init_Icon();
|
|
31450
31409
|
init_useEventBus();
|
|
31451
|
-
|
|
31410
|
+
sizeStyles11 = {
|
|
31452
31411
|
sm: {
|
|
31453
31412
|
button: "w-7 h-7",
|
|
31454
31413
|
text: "text-sm min-w-[2rem]",
|
|
@@ -31476,7 +31435,7 @@ var init_VoteStack = __esm({
|
|
|
31476
31435
|
className,
|
|
31477
31436
|
label
|
|
31478
31437
|
}) => {
|
|
31479
|
-
const styles =
|
|
31438
|
+
const styles = sizeStyles11[size];
|
|
31480
31439
|
const isUp = userVote === "up";
|
|
31481
31440
|
const isDown = userVote === "down";
|
|
31482
31441
|
const eventBus = useEventBus();
|
|
@@ -31744,7 +31703,7 @@ var init_LikertScale = __esm({
|
|
|
31744
31703
|
LikertScale.displayName = "LikertScale";
|
|
31745
31704
|
}
|
|
31746
31705
|
});
|
|
31747
|
-
var DEFAULT_MATRIX_COLUMNS,
|
|
31706
|
+
var DEFAULT_MATRIX_COLUMNS, sizeStyles12, MatrixQuestion;
|
|
31748
31707
|
var init_MatrixQuestion = __esm({
|
|
31749
31708
|
"components/core/molecules/MatrixQuestion.tsx"() {
|
|
31750
31709
|
"use client";
|
|
@@ -31760,7 +31719,7 @@ var init_MatrixQuestion = __esm({
|
|
|
31760
31719
|
{ value: 4, label: "Agree" },
|
|
31761
31720
|
{ value: 5, label: "Strongly Agree" }
|
|
31762
31721
|
];
|
|
31763
|
-
|
|
31722
|
+
sizeStyles12 = {
|
|
31764
31723
|
sm: {
|
|
31765
31724
|
cell: "px-2 py-1.5 text-xs",
|
|
31766
31725
|
radio: "sm",
|
|
@@ -31783,7 +31742,7 @@ var init_MatrixQuestion = __esm({
|
|
|
31783
31742
|
size = "md",
|
|
31784
31743
|
className
|
|
31785
31744
|
}) => {
|
|
31786
|
-
const styles =
|
|
31745
|
+
const styles = sizeStyles12[size];
|
|
31787
31746
|
const safeRows = rows2 ?? [];
|
|
31788
31747
|
const safeValues = values ?? {};
|
|
31789
31748
|
const eventBus = useEventBus();
|
|
@@ -34539,7 +34498,7 @@ var init_GradientDivider = __esm({
|
|
|
34539
34498
|
});
|
|
34540
34499
|
var MarketingFooter;
|
|
34541
34500
|
var init_MarketingFooter = __esm({
|
|
34542
|
-
"components/
|
|
34501
|
+
"components/marketing/molecules/MarketingFooter.tsx"() {
|
|
34543
34502
|
"use client";
|
|
34544
34503
|
init_cn();
|
|
34545
34504
|
init_Box();
|
|
@@ -34609,7 +34568,7 @@ var init_MarketingFooter = __esm({
|
|
|
34609
34568
|
});
|
|
34610
34569
|
var PullQuote;
|
|
34611
34570
|
var init_PullQuote = __esm({
|
|
34612
|
-
"components/
|
|
34571
|
+
"components/marketing/molecules/PullQuote.tsx"() {
|
|
34613
34572
|
"use client";
|
|
34614
34573
|
init_cn();
|
|
34615
34574
|
init_Box();
|
|
@@ -38883,7 +38842,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
38883
38842
|
});
|
|
38884
38843
|
var FeatureGridOrganism;
|
|
38885
38844
|
var init_FeatureGridOrganism = __esm({
|
|
38886
|
-
"components/
|
|
38845
|
+
"components/marketing/organisms/FeatureGridOrganism.tsx"() {
|
|
38887
38846
|
"use client";
|
|
38888
38847
|
init_cn();
|
|
38889
38848
|
init_useEventBus();
|
|
@@ -40230,7 +40189,7 @@ var init_GenericAppTemplate = __esm({
|
|
|
40230
40189
|
});
|
|
40231
40190
|
var HeroOrganism, _HeroClickInterceptor;
|
|
40232
40191
|
var init_HeroOrganism = __esm({
|
|
40233
|
-
"components/
|
|
40192
|
+
"components/marketing/organisms/HeroOrganism.tsx"() {
|
|
40234
40193
|
"use client";
|
|
40235
40194
|
init_cn();
|
|
40236
40195
|
init_useEventBus();
|
|
@@ -43857,7 +43816,7 @@ var init_SequencerBoard = __esm({
|
|
|
43857
43816
|
});
|
|
43858
43817
|
var ShowcaseOrganism;
|
|
43859
43818
|
var init_ShowcaseOrganism = __esm({
|
|
43860
|
-
"components/
|
|
43819
|
+
"components/marketing/organisms/ShowcaseOrganism.tsx"() {
|
|
43861
43820
|
"use client";
|
|
43862
43821
|
init_cn();
|
|
43863
43822
|
init_useEventBus();
|
|
@@ -45282,7 +45241,7 @@ var init_StatsOrganism = __esm({
|
|
|
45282
45241
|
});
|
|
45283
45242
|
var StepFlowOrganism;
|
|
45284
45243
|
var init_StepFlowOrganism = __esm({
|
|
45285
|
-
"components/
|
|
45244
|
+
"components/marketing/organisms/StepFlowOrganism.tsx"() {
|
|
45286
45245
|
"use client";
|
|
45287
45246
|
init_cn();
|
|
45288
45247
|
init_Stack();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.25.1",
|
|
4
4
|
"description": "React UI components, hooks, and providers for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"typecheck": "tsc --noEmit"
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@almadar/core": "^10.
|
|
132
|
+
"@almadar/core": "^10.3.0",
|
|
133
133
|
"@almadar/evaluator": ">=2.9.2",
|
|
134
134
|
"@almadar/logger": "^1.3.0",
|
|
135
135
|
"@almadar/patterns": ">=2.35.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|