@lumeo-ui/mcp-server 5.13.0 → 5.14.0
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/package.json +1 -1
- package/src/components-api.json +508 -105
- package/src/registry.json +25 -20
package/src/components-api.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://lumeo.nativ.sh/components-api-schema.json",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"generated": "2026-11-
|
|
3
|
+
"version": "5.14.0",
|
|
4
|
+
"generated": "2026-11-21T11:43:18.1494057Z",
|
|
5
5
|
"stats": {
|
|
6
6
|
"componentCount": 169,
|
|
7
|
-
"totalParameters":
|
|
8
|
-
"totalEnums":
|
|
9
|
-
"totalRecords":
|
|
7
|
+
"totalParameters": 5046,
|
|
8
|
+
"totalEnums": 117,
|
|
9
|
+
"totalRecords": 67,
|
|
10
10
|
"serviceCount": 33,
|
|
11
11
|
"thinFallbacks": []
|
|
12
12
|
},
|
|
@@ -948,6 +948,12 @@
|
|
|
948
948
|
"signature": "OnSortableTouchDrop(string containerId, int source, int target)",
|
|
949
949
|
"summary": null
|
|
950
950
|
},
|
|
951
|
+
{
|
|
952
|
+
"name": "OnSortableTouchTransfer",
|
|
953
|
+
"returnType": "Task",
|
|
954
|
+
"signature": "OnSortableTouchTransfer(string sourceContainerId, int sourceIndex, string targetContainerId, int targetIndex)",
|
|
955
|
+
"summary": "Touch drag between two lists sharing a Group: JS reports source container + index and target container + index."
|
|
956
|
+
},
|
|
951
957
|
{
|
|
952
958
|
"name": "RegisterCarouselSwipe",
|
|
953
959
|
"returnType": "ValueTask",
|
|
@@ -1446,6 +1452,18 @@
|
|
|
1446
1452
|
"signature": "SetInputCaret(string elementId, int position)",
|
|
1447
1453
|
"summary": null
|
|
1448
1454
|
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "RegisterRangeSlider",
|
|
1457
|
+
"returnType": "ValueTask",
|
|
1458
|
+
"signature": "RegisterRangeSlider(string startId, string endId, string barId)",
|
|
1459
|
+
"summary": null
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"name": "UnregisterRangeSlider",
|
|
1463
|
+
"returnType": "ValueTask",
|
|
1464
|
+
"signature": "UnregisterRangeSlider(string startId)",
|
|
1465
|
+
"summary": null
|
|
1466
|
+
},
|
|
1449
1467
|
{
|
|
1450
1468
|
"name": "SetInputValue",
|
|
1451
1469
|
"returnType": "ValueTask",
|
|
@@ -3068,6 +3086,18 @@
|
|
|
3068
3086
|
"signature": "SetInputValue(string elementId, string value)",
|
|
3069
3087
|
"summary": null
|
|
3070
3088
|
},
|
|
3089
|
+
{
|
|
3090
|
+
"name": "RegisterRangeSlider",
|
|
3091
|
+
"returnType": "ValueTask",
|
|
3092
|
+
"signature": "RegisterRangeSlider(string startId, string endId, string barId)",
|
|
3093
|
+
"summary": null
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"name": "UnregisterRangeSlider",
|
|
3097
|
+
"returnType": "ValueTask",
|
|
3098
|
+
"signature": "UnregisterRangeSlider(string startId)",
|
|
3099
|
+
"summary": null
|
|
3100
|
+
},
|
|
3071
3101
|
{
|
|
3072
3102
|
"name": "TabsMeasure",
|
|
3073
3103
|
"returnType": "ValueTask<ComponentInteropService.TabMeasurement?>",
|
|
@@ -5047,8 +5077,8 @@
|
|
|
5047
5077
|
"code": "<Accordion Type=\"Accordion.AccordionType.Multiple\">\n <AccordionItem Value=\"item-1\">\n <AccordionTrigger>What is Lumeo?</AccordionTrigger>\n <AccordionContent>Lumeo is a Blazor component library inspired by shadcn/ui, built with Tailwind CSS.</AccordionContent>\n </AccordionItem>\n <AccordionItem Value=\"item-2\">\n <AccordionTrigger>Which .NET version?</AccordionTrigger>\n <AccordionContent>Lumeo targets .NET 10 and uses Tailwind CSS v4 for styling.</AccordionContent>\n </AccordionItem>\n <AccordionItem Value=\"item-3\">\n <AccordionTrigger>Can I customize it?</AccordionTrigger>\n <AccordionContent>Absolutely. All components accept a Class parameter for additional CSS classes.</AccordionContent>\n </AccordionItem>\n</Accordion>"
|
|
5048
5078
|
},
|
|
5049
5079
|
{
|
|
5050
|
-
"title": "
|
|
5051
|
-
"code": "<
|
|
5080
|
+
"title": "Default Open (DefaultValues)",
|
|
5081
|
+
"code": "<Container MaxWidth=\"md\" Center=\"false\">\n <Accordion Type=\"Accordion.AccordionType.Multiple\" DefaultValues=\"@(new List<string> { \"item-1\" })\">\n <AccordionItem Value=\"item-1\">\n <AccordionTrigger>Opens by default</AccordionTrigger>\n <AccordionContent>This item is listed in DefaultValues, so it starts expanded.</AccordionContent>\n </AccordionItem>\n <AccordionItem Value=\"item-2\">\n <AccordionTrigger>Starts collapsed</AccordionTrigger>\n <AccordionContent>This item is not in DefaultValues, so it starts closed.</AccordionContent>\n </AccordionItem>\n </Accordion>\n</Container>"
|
|
5052
5082
|
}
|
|
5053
5083
|
],
|
|
5054
5084
|
"subComponents": {
|
|
@@ -7009,7 +7039,16 @@
|
|
|
7009
7039
|
"cssVars": [
|
|
7010
7040
|
"--color-foreground"
|
|
7011
7041
|
],
|
|
7012
|
-
"examples": [
|
|
7042
|
+
"examples": [
|
|
7043
|
+
{
|
|
7044
|
+
"title": "Reverse Direction",
|
|
7045
|
+
"code": "<div id=\"beam-demo-reverse\"\n class=\"relative flex items-center justify-center gap-24 p-10 min-h-[160px] bg-muted/30 rounded-xl border border-border/40 overflow-hidden\">\n <div id=\"beam-rev-from\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-primary text-primary-foreground shadow-lg\">\n <SvgGlyph Svg=\"@(Lucide.Cloud)\" class=\"h-6 w-6 text-primary-foreground\" />\n </div>\n <AnimatedBeam ContainerId=\"beam-demo-reverse\" FromId=\"beam-rev-from\" ToId=\"beam-rev-to\" Reverse=\"true\" />\n <div id=\"beam-rev-to\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-primary text-primary-foreground shadow-lg\">\n <SvgGlyph Svg=\"@(Lucide.Cpu)\" class=\"h-6 w-6 text-primary-foreground\" />\n </div>\n</div>"
|
|
7046
|
+
},
|
|
7047
|
+
{
|
|
7048
|
+
"title": "Custom Track & Beam Width",
|
|
7049
|
+
"code": "<div id=\"beam-demo-track\"\n class=\"relative flex items-center justify-center gap-24 p-10 min-h-[160px] bg-muted/30 rounded-xl border border-border/40 overflow-hidden\">\n <div id=\"beam-track-from\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-card border border-border shadow\">\n <SvgGlyph Svg=\"@(Lucide.Database)\" class=\"h-6 w-6 text-foreground/80\" />\n </div>\n <AnimatedBeam ContainerId=\"beam-demo-track\" FromId=\"beam-track-from\" ToId=\"beam-track-to\"\n PathColor=\"#94a3b8\" PathOpacity=\"0.5\" PathWidth=\"4\" BeamWidth=\"5\"\n GradientStartColor=\"#06b6d4\" GradientStopColor=\"#3b82f6\" />\n <div id=\"beam-track-to\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-card border border-border shadow\">\n <SvgGlyph Svg=\"@(Lucide.Server)\" class=\"h-6 w-6 text-foreground/80\" />\n </div>\n</div>"
|
|
7050
|
+
}
|
|
7051
|
+
],
|
|
7013
7052
|
"subComponents": {},
|
|
7014
7053
|
"a11y": {
|
|
7015
7054
|
"roles": [],
|
|
@@ -7141,8 +7180,8 @@
|
|
|
7141
7180
|
"code": "<Switch @bind-Checked=\"_elevated\" />\n<Switch @bind-Checked=\"_bordered\" />\n<AppBar Elevated=\"@_elevated\" Bordered=\"@_bordered\">\n <StartContent>\n <Lumeo.Text Size=\"sm\" Weight=\"semibold\">My App</Lumeo.Text>\n </StartContent>\n <EndContent>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Sign In</Button>\n <Button Size=\"Button.ButtonSize.Sm\">Get Started</Button>\n </EndContent>\n</AppBar>\n\n@code {\n private bool _elevated = false;\n private bool _bordered = true;\n}"
|
|
7142
7181
|
},
|
|
7143
7182
|
{
|
|
7144
|
-
"title": "
|
|
7145
|
-
"code": "<
|
|
7183
|
+
"title": "Custom Height",
|
|
7184
|
+
"code": "<div class=\"relative border border-border/40 rounded-lg overflow-hidden\">\n <AppBar Sticky=\"false\" Height=\"h-16\">\n <StartContent>\n <Flex Gap=\"2\" Align=\"center\">\n <div class=\"h-7 w-7 rounded bg-primary\"></div>\n <Lumeo.Text Size=\"sm\" Weight=\"semibold\">Taller Bar</Lumeo.Text>\n </Flex>\n </StartContent>\n <EndContent>\n <Button Size=\"Button.ButtonSize.Sm\">Action</Button>\n </EndContent>\n </AppBar>\n <div class=\"p-6 text-center\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Height=\"h-16\" gives a roomier bar.</Lumeo.Text>\n </div>\n</div>"
|
|
7146
7185
|
}
|
|
7147
7186
|
],
|
|
7148
7187
|
"subComponents": {},
|
|
@@ -8336,8 +8375,8 @@
|
|
|
8336
8375
|
"code": "<Barcode Value=\"ABC-123\" ShowText=\"false\" />"
|
|
8337
8376
|
},
|
|
8338
8377
|
{
|
|
8339
|
-
"title": "
|
|
8340
|
-
"code": "<Barcode Value=\"
|
|
8378
|
+
"title": "Code 39 Format",
|
|
8379
|
+
"code": "<Barcode Value=\"LUMEO-39\" Format=\"Barcode.BarcodeFormat.Code39\" />"
|
|
8341
8380
|
}
|
|
8342
8381
|
],
|
|
8343
8382
|
"subComponents": {},
|
|
@@ -8447,6 +8486,10 @@
|
|
|
8447
8486
|
"title": "Gap (interactive)",
|
|
8448
8487
|
"code": "<Segmented @bind-Value=\"_gap\">\n <SegmentedItem Value=\"@Bento.BentoGap.Sm\">Sm</SegmentedItem>\n <SegmentedItem Value=\"@Bento.BentoGap.Md\">Md</SegmentedItem>\n <SegmentedItem Value=\"@Bento.BentoGap.Lg\">Lg</SegmentedItem>\n</Segmented>\n<Bento Columns=\"4\" Gap=\"@_gap\">\n <BentoTile Title=\"Revenue\"><div class=\"text-2xl font-semibold\">$48,290</div></BentoTile>\n <BentoTile Title=\"Users\"><div class=\"text-2xl font-semibold\">12,402</div></BentoTile>\n <BentoTile Title=\"Sessions\"><div class=\"text-2xl font-semibold\">8,492</div></BentoTile>\n <BentoTile Title=\"Churn\"><div class=\"text-2xl font-semibold\">2.1%</div></BentoTile>\n</Bento>\n\n@code { private Bento.BentoGap _gap = Bento.BentoGap.Md; }"
|
|
8449
8488
|
},
|
|
8489
|
+
{
|
|
8490
|
+
"title": "Custom header & footer slots",
|
|
8491
|
+
"code": "<Bento Columns=\"3\" Gap=\"Bento.BentoGap.Md\">\n <BentoTile RowSpan=\"2\">\n <HeaderContent>\n <Flex Align=\"center\" Gap=\"2\">\n <DynamicIcon Name=\"TrendingUp\" Class=\"h-4 w-4 text-primary\" />\n <span class=\"text-sm font-medium text-foreground\">Revenue</span>\n </Flex>\n </HeaderContent>\n <ChildContent>\n <div class=\"text-3xl font-semibold text-foreground\">$48,290</div>\n <div class=\"text-xs text-muted-foreground\">Last 30 days</div>\n </ChildContent>\n <FooterContent>\n <span class=\"text-xs text-muted-foreground\">Updated 2 min ago</span>\n </FooterContent>\n </BentoTile>\n <BentoTile Title=\"Users\"><div class=\"text-2xl font-semibold text-foreground\">12,402</div></BentoTile>\n <BentoTile Title=\"Sessions\"><div class=\"text-2xl font-semibold text-foreground\">8,492</div></BentoTile>\n <BentoTile Title=\"Churn\"><div class=\"text-2xl font-semibold text-foreground\">2.1%</div></BentoTile>\n <BentoTile Title=\"MRR\"><div class=\"text-2xl font-semibold text-foreground\">$9,820</div></BentoTile>\n</Bento>"
|
|
8492
|
+
},
|
|
8450
8493
|
{
|
|
8451
8494
|
"title": "Dashboard — KPI row + spark + wide tile",
|
|
8452
8495
|
"code": "<Bento Columns=\"3\" Gap=\"Bento.BentoGap.Md\">\n <KpiCard Label=\"Revenue\" Value=\"$48,290\" Delta=\"12.3\" />\n <KpiCard Label=\"Active users\" Value=\"12,402\" Delta=\"4.8\" />\n <KpiCard Label=\"MRR\" Value=\"$9,820\" Delta=\"-1.2\" />\n</Bento>\n<Bento Columns=\"3\" Gap=\"Bento.BentoGap.Md\">\n <SparkCard Label=\"Page views\" Value=\"184k\" Data=\"@sparkA\" />\n <SparkCard Label=\"Signups\" Value=\"421\" Data=\"@sparkB\" />\n <BentoTile Title=\"Traffic\" Description=\"Last 7 days\">\n <Chart ... />\n </BentoTile>\n</Bento>"
|
|
@@ -8760,7 +8803,16 @@
|
|
|
8760
8803
|
"cssVars": [
|
|
8761
8804
|
"--radius"
|
|
8762
8805
|
],
|
|
8763
|
-
"examples": [
|
|
8806
|
+
"examples": [
|
|
8807
|
+
{
|
|
8808
|
+
"title": "Beam Size (interactive)",
|
|
8809
|
+
"code": "<Stack Gap=\"4\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Pick a size to see the beam thickness change live (all 7 Lumeo.Size rungs are supported).</Lumeo.Text>\n <Segmented @bind-Value=\"_beamSizeStr\" Options=\"_beamSizeOptions\" />\n <div class=\"flex justify-center\">\n <BorderBeam Size=\"@_beamSize\" Class=\"w-full max-w-xs\">\n <Card Class=\"p-6 text-center\">\n <Lumeo.Text Class=\"text-sm font-medium\">Size = @_beamSizeStr</Lumeo.Text>\n </Card>\n </BorderBeam>\n </div>\n</Stack>"
|
|
8810
|
+
},
|
|
8811
|
+
{
|
|
8812
|
+
"title": "Orbit Speed (interactive)",
|
|
8813
|
+
"code": "<Stack Gap=\"4\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Drag the slider to change how fast the beam orbits (lower = faster).</Lumeo.Text>\n <Slider @bind-Value=\"_beamDuration\" Min=\"1000\" Max=\"20000\" Step=\"500\" ShowTooltip=\"true\"\n FormatTooltip=\"@(v => $\"{(int)v} ms\")\" />\n <Lumeo.Text Size=\"xs\" Color=\"muted\">DurationMs = @((int)_beamDuration)</Lumeo.Text>\n <div class=\"flex justify-center\">\n <BorderBeam DurationMs=\"@((int)_beamDuration)\" Class=\"w-full max-w-xs\">\n <Card Class=\"p-6 text-center\">\n <Lumeo.Text Class=\"text-sm font-medium\">@((int)_beamDuration) ms per orbit</Lumeo.Text>\n </Card>\n </BorderBeam>\n </div>\n</Stack>"
|
|
8814
|
+
}
|
|
8815
|
+
],
|
|
8764
8816
|
"subComponents": {},
|
|
8765
8817
|
"a11y": {
|
|
8766
8818
|
"roles": [],
|
|
@@ -9185,6 +9237,10 @@
|
|
|
9185
9237
|
"title": "With Icons",
|
|
9186
9238
|
"code": "<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">\n <SvgGlyph Svg=\"@(Lucide.Home)\" class=\"h-4 w-4\" />\n </BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Documents</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Projects</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbPage>Report.pdf</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>"
|
|
9187
9239
|
},
|
|
9240
|
+
{
|
|
9241
|
+
"title": "With Ellipsis (Collapsed)",
|
|
9242
|
+
"code": "<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbEllipsis />\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Components</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <Lumeo.BreadcrumbPage>Breadcrumb</Lumeo.BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>"
|
|
9243
|
+
},
|
|
9188
9244
|
{
|
|
9189
9245
|
"title": "Custom Separator",
|
|
9190
9246
|
"code": "<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <SvgGlyph Svg=\"@(Lucide.Slash)\" class=\"h-4 w-4\" />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Settings</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <SvgGlyph Svg=\"@(Lucide.Slash)\" class=\"h-4 w-4\" />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbPage>Profile</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>"
|
|
@@ -10060,6 +10116,15 @@
|
|
|
10060
10116
|
"captureUnmatched": false,
|
|
10061
10117
|
"isEditorRequired": false
|
|
10062
10118
|
},
|
|
10119
|
+
{
|
|
10120
|
+
"name": "Culture",
|
|
10121
|
+
"type": "System.Globalization.CultureInfo?",
|
|
10122
|
+
"default": null,
|
|
10123
|
+
"description": "Overrides CurrentCulture for month and weekday names, digits (Persian digits with Jalali under a fa culture) and the default first day of the week. Leave null to honour ASP.NET request localization.",
|
|
10124
|
+
"isCascading": false,
|
|
10125
|
+
"captureUnmatched": false,
|
|
10126
|
+
"isEditorRequired": false
|
|
10127
|
+
},
|
|
10063
10128
|
{
|
|
10064
10129
|
"name": "SwipeEnabled",
|
|
10065
10130
|
"type": "bool",
|
|
@@ -10779,8 +10844,8 @@
|
|
|
10779
10844
|
"code": "<Segmented @bind-Value=\"_orientationSel\" Options=\"_orientationOptions\" />\n<Carousel Orientation=\"@(Enum.Parse<Lumeo.Orientation>(_orientationSel))\">\n <CarouselContent>\n @for (var i = 1; i <= 4; i++) {\n var index = i;\n <CarouselItem>\n <Card>\n <CardContent Class=\"flex aspect-square items-center justify-center p-6\">\n <span class=\"text-4xl font-semibold\">@index</span>\n </CardContent>\n </Card>\n </CarouselItem>\n }\n </CarouselContent>\n <CarouselPrevious />\n <CarouselNext />\n</Carousel>\n\n@code {\n private string _orientationSel = \"Horizontal\";\n private List<Segmented.SegmentedOption> _orientationOptions = new()\n {\n new() { Label = \"Horizontal\", Value = \"Horizontal\" },\n new() { Label = \"Vertical\", Value = \"Vertical\" },\n };\n}"
|
|
10780
10845
|
},
|
|
10781
10846
|
{
|
|
10782
|
-
"title": "
|
|
10783
|
-
"code": "<
|
|
10847
|
+
"title": "Autoplay",
|
|
10848
|
+
"code": "<Container MaxWidth=\"xs\">\n <Carousel Autoplay=\"true\" Loop=\"true\" AutoplayInterval=\"2500\" PauseOnHover=\"true\">\n <CarouselContent>\n @for (var i = 1; i <= 5; i++)\n {\n var index = i;\n <CarouselItem>\n <Stack Class=\"p-1\">\n <Card>\n <CardContent Class=\"flex aspect-square items-center justify-center p-6\">\n <Lumeo.Text As=\"span\" Class=\"text-4xl font-semibold\">@index</Lumeo.Text>\n </CardContent>\n </Card>\n </Stack>\n </CarouselItem>\n }\n </CarouselContent>\n <CarouselPrevious />\n <CarouselNext />\n </Carousel>\n</Container>"
|
|
10784
10849
|
}
|
|
10785
10850
|
],
|
|
10786
10851
|
"subComponents": {
|
|
@@ -11219,6 +11284,10 @@
|
|
|
11219
11284
|
{
|
|
11220
11285
|
"title": "Disabled",
|
|
11221
11286
|
"code": "<Cascader Options=\"@_options\" Disabled=\"true\" />"
|
|
11287
|
+
},
|
|
11288
|
+
{
|
|
11289
|
+
"title": "Searchable (ShowSearch)",
|
|
11290
|
+
"code": "<Cascader Options=\"@_options\" ShowSearch=\"true\" Placeholder=\"Search locations...\" Class=\"max-w-sm\" />"
|
|
11222
11291
|
}
|
|
11223
11292
|
],
|
|
11224
11293
|
"subComponents": {},
|
|
@@ -21058,7 +21127,20 @@
|
|
|
21058
21127
|
"--color-card",
|
|
21059
21128
|
"--radius"
|
|
21060
21129
|
],
|
|
21061
|
-
"examples": [
|
|
21130
|
+
"examples": [
|
|
21131
|
+
{
|
|
21132
|
+
"title": "Minimap",
|
|
21133
|
+
"code": "<CodeEditor @bind-Value=\"_minimap\" Language=\"csharp\" Height=\"240px\" ShowMinimap=\"true\" />"
|
|
21134
|
+
},
|
|
21135
|
+
{
|
|
21136
|
+
"title": "No line numbers",
|
|
21137
|
+
"code": "<CodeEditor @bind-Value=\"_noLines\" Language=\"markdown\" Height=\"200px\" LineNumbers=\"false\" />"
|
|
21138
|
+
},
|
|
21139
|
+
{
|
|
21140
|
+
"title": "Placeholder (empty editor)",
|
|
21141
|
+
"code": "<CodeEditor Language=\"json\" Height=\"160px\" Placeholder=\"Paste your JSON here...\" />"
|
|
21142
|
+
}
|
|
21143
|
+
],
|
|
21062
21144
|
"subComponents": {},
|
|
21063
21145
|
"a11y": {
|
|
21064
21146
|
"roles": [
|
|
@@ -23132,6 +23214,10 @@
|
|
|
23132
23214
|
{
|
|
23133
23215
|
"title": "Custom Colors",
|
|
23134
23216
|
"code": "<Confetti @ref=\"_confettiRef\"\n Colors=\"@(new[] { \"#ff595e\", \"#6a4c93\", \"#1982c4\" })\">\n <Button OnClick=\"@(() => _confettiRef!.Fire())\">Custom Colors</Button>\n</Confetti>"
|
|
23217
|
+
},
|
|
23218
|
+
{
|
|
23219
|
+
"title": "Custom Origin & Spread",
|
|
23220
|
+
"code": "<Flex Direction=\"column\" Align=\"center\" Gap=\"4\" Class=\"py-6\">\n <Confetti @ref=\"_confettiRef3\"\n ParticleCount=\"120\"\n Spread=\"120\"\n OriginX=\"0.5\"\n OriginY=\"0.7\">\n <Button Variant=\"Button.ButtonVariant.Default\" OnClick=\"@HandleFire3\">\n Wide Burst\n </Button>\n </Confetti>\n</Flex>"
|
|
23135
23221
|
}
|
|
23136
23222
|
],
|
|
23137
23223
|
"subComponents": {},
|
|
@@ -23776,12 +23862,12 @@
|
|
|
23776
23862
|
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <div>Right click here</div>\n </ContextMenuTrigger>\n <ContextMenuContent>\n <ContextMenuLabel>Edit</ContextMenuLabel>\n <ContextMenuGroup>\n <ContextMenuItem>Cut</ContextMenuItem>\n <ContextMenuItem>Copy</ContextMenuItem>\n <ContextMenuItem>Paste</ContextMenuItem>\n </ContextMenuGroup>\n <ContextMenuSeparator />\n <ContextMenuLabel>View</ContextMenuLabel>\n <ContextMenuGroup>\n <ContextMenuItem>Zoom In</ContextMenuItem>\n <ContextMenuItem>Zoom Out</ContextMenuItem>\n </ContextMenuGroup>\n <ContextMenuSeparator />\n <ContextMenuItem Disabled=\"true\">Delete</ContextMenuItem>\n </ContextMenuContent>\n</ContextMenu>"
|
|
23777
23863
|
},
|
|
23778
23864
|
{
|
|
23779
|
-
"title": "
|
|
23780
|
-
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <
|
|
23865
|
+
"title": "Checkbox and Radio Items",
|
|
23866
|
+
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <Flex Class=\"h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed text-sm text-muted-foreground\">\n Right click here\n </Flex>\n </ContextMenuTrigger>\n <ContextMenuContent>\n <ContextMenuLabel>Appearance</ContextMenuLabel>\n <ContextMenuCheckboxItem @bind-Checked=\"_showBookmarks\">Show Bookmarks</ContextMenuCheckboxItem>\n <ContextMenuCheckboxItem @bind-Checked=\"_showFullUrls\">Show Full URLs</ContextMenuCheckboxItem>\n <ContextMenuSeparator />\n <ContextMenuLabel>Panel Position</ContextMenuLabel>\n <ContextMenuRadioGroup @bind-Value=\"_panelPosition\">\n <ContextMenuRadioItem Value=\"left\">Left</ContextMenuRadioItem>\n <ContextMenuRadioItem Value=\"right\">Right</ContextMenuRadioItem>\n <ContextMenuRadioItem Value=\"bottom\">Bottom</ContextMenuRadioItem>\n </ContextMenuRadioGroup>\n </ContextMenuContent>\n</ContextMenu>"
|
|
23781
23867
|
},
|
|
23782
23868
|
{
|
|
23783
|
-
"title": "
|
|
23784
|
-
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <div class=\"flex h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed text-
|
|
23869
|
+
"title": "File Actions",
|
|
23870
|
+
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <div class=\"flex h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed\">\n <div class=\"text-center\">\n <div class=\"text-sm font-medium\">document.pdf</div>\n <div class=\"text-xs text-muted-foreground mt-1\">Right click for options</div>\n </div>\n </div>\n </ContextMenuTrigger>\n <ContextMenuContent>\n <ContextMenuItem>Open</ContextMenuItem>\n <ContextMenuItem>Duplicate</ContextMenuItem>\n <ContextMenuSeparator />\n <ContextMenuItem>Move to...</ContextMenuItem>\n <ContextMenuSeparator />\n <ContextMenuItem>Add to Favorites</ContextMenuItem>\n <ContextMenuSeparator />\n <ContextMenuItem>Delete</ContextMenuItem>\n </ContextMenuContent>\n</ContextMenu>"
|
|
23785
23871
|
}
|
|
23786
23872
|
],
|
|
23787
23873
|
"subComponents": {
|
|
@@ -25790,19 +25876,19 @@
|
|
|
25790
25876
|
"examples": [
|
|
25791
25877
|
{
|
|
25792
25878
|
"title": "Basic DataGrid",
|
|
25793
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25879
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" PageSize=\"5\" ShowPagination=\"true\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Sortable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Sortable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\" Sortable=\"true\" Format=\"$#,##0\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Start Date\" Field=\"StartDate\" Sortable=\"true\" Format=\"yyyy-MM-dd\" />\n</DataGrid>"
|
|
25794
25880
|
},
|
|
25795
25881
|
{
|
|
25796
25882
|
"title": "Column Groups + Footer Aggregates",
|
|
25797
|
-
"code": "
|
|
25883
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" PageSize=\"5\" ShowPagination=\"true\">\n <DataGridColumnGroup TItem=\"Employee\" Label=\"Identity\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Sortable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Sortable=\"true\" />\n </DataGridColumnGroup>\n <DataGridColumnGroup TItem=\"Employee\" Label=\"Compensation\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\"\n Sortable=\"true\" Format=\"$#,##0\"\n Aggregate=\"AggregateType.Sum\" FooterFormat=\"N0\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Tenure\" Field=\"StartDate\"\n Sortable=\"true\" Format=\"yyyy-MM-dd\" />\n </DataGridColumnGroup>\n</DataGrid>"
|
|
25798
25884
|
},
|
|
25799
25885
|
{
|
|
25800
25886
|
"title": "Toolbar, Search & Filtering",
|
|
25801
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25887
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" PageSize=\"5\" ShowPagination=\"true\" ShowToolbar=\"true\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Sortable=\"true\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Sortable=\"true\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\" Sortable=\"true\" Format=\"$#,##0\" Filterable=\"true\" FilterType=\"DataGridFilterType.Number\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Status\" Field=\"Status\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Start Date\" Field=\"StartDate\" Sortable=\"true\" Format=\"yyyy-MM-dd\" Filterable=\"true\" FilterType=\"DataGridFilterType.Date\" />\n</DataGrid>"
|
|
25802
25888
|
},
|
|
25803
25889
|
{
|
|
25804
25890
|
"title": "Toolbar with Internal Scroll",
|
|
25805
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25891
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" ShowToolbar=\"true\" Height=\"240px\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Width=\"180\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Width=\"180\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\" Format=\"$#,##0\" Width=\"180\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Status\" Field=\"Status\" Width=\"180\" />\n</DataGrid>"
|
|
25806
25892
|
}
|
|
25807
25893
|
],
|
|
25808
25894
|
"subComponents": {
|
|
@@ -29107,6 +29193,15 @@
|
|
|
29107
29193
|
"captureUnmatched": false,
|
|
29108
29194
|
"isEditorRequired": false
|
|
29109
29195
|
},
|
|
29196
|
+
{
|
|
29197
|
+
"name": "Culture",
|
|
29198
|
+
"type": "System.Globalization.CultureInfo?",
|
|
29199
|
+
"default": null,
|
|
29200
|
+
"description": "Overrides CurrentCulture for date formatting, month/weekday names and digits. Forwarded to the inner DatePicker. Leave null to honour ASP.NET request localization.",
|
|
29201
|
+
"isCascading": false,
|
|
29202
|
+
"captureUnmatched": false,
|
|
29203
|
+
"isEditorRequired": false
|
|
29204
|
+
},
|
|
29110
29205
|
{
|
|
29111
29206
|
"name": "Presets",
|
|
29112
29207
|
"type": "List<DateRangePreset>?",
|
|
@@ -29519,6 +29614,15 @@
|
|
|
29519
29614
|
"captureUnmatched": false,
|
|
29520
29615
|
"isEditorRequired": false
|
|
29521
29616
|
},
|
|
29617
|
+
{
|
|
29618
|
+
"name": "CalendarSystem",
|
|
29619
|
+
"type": "CalendarSystem",
|
|
29620
|
+
"default": "CalendarSystem.Gregorian",
|
|
29621
|
+
"description": "Calendar system used by the embedded calendar and the trigger text. With Jalali the grid shows Solar Hijri (Persian) months, weeks start on Saturday (unless FirstDayOfWeek is set), and the date part of the trigger text defaults to yyyy/MM/dd (the y M d tokens of a custom DateFormat resolve against the Persian calendar). The time part and the AM/PM labels follow Culture; under a fa culture digits render as Persian digits. Value always stays a Gregorian DateTime. Default Gregorian.",
|
|
29622
|
+
"isCascading": false,
|
|
29623
|
+
"captureUnmatched": false,
|
|
29624
|
+
"isEditorRequired": false
|
|
29625
|
+
},
|
|
29522
29626
|
{
|
|
29523
29627
|
"name": "Disabled",
|
|
29524
29628
|
"type": "bool",
|
|
@@ -29631,7 +29735,16 @@
|
|
|
29631
29735
|
"description": "Raised alongside ValueChanged with the offset-aware instant (DST-adjusted for TimeZone) whenever the picked value changes."
|
|
29632
29736
|
}
|
|
29633
29737
|
],
|
|
29634
|
-
"enums": [
|
|
29738
|
+
"enums": [
|
|
29739
|
+
{
|
|
29740
|
+
"name": "CalendarSystem",
|
|
29741
|
+
"values": [
|
|
29742
|
+
"Gregorian",
|
|
29743
|
+
"Jalali"
|
|
29744
|
+
],
|
|
29745
|
+
"description": "The calendar system a Calendar / DatePicker lays its months out in. The bound values are always plain DateOnly (Gregorian) dates — only the month grid, headers, navigation and display text follow the selected system."
|
|
29746
|
+
}
|
|
29747
|
+
],
|
|
29635
29748
|
"records": [],
|
|
29636
29749
|
"gotchas": [],
|
|
29637
29750
|
"cssVars": [
|
|
@@ -30184,8 +30297,8 @@
|
|
|
30184
30297
|
"code": "<Dialog @bind-Open=\"_isOpen\">\n <DialogTrigger>\n <Button Variant=\"Button.ButtonVariant.Destructive\">\n <SvgGlyph Svg=\"@(Lucide.Trash)\" class=\"h-4 w-4\" /> Delete Account\n </Button>\n </DialogTrigger>\n <DialogContent>\n <DialogHeader>\n <DialogTitle>Are you absolutely sure?</DialogTitle>\n <DialogDescription>\n This action cannot be undone. This will permanently delete your\n account and remove your data from our servers.\n </DialogDescription>\n </DialogHeader>\n <DialogFooter>\n <DialogClose>\n <Button Variant=\"Button.ButtonVariant.Outline\">Cancel</Button>\n </DialogClose>\n <DialogClose>\n <Button Variant=\"Button.ButtonVariant.Destructive\">Yes, delete account</Button>\n </DialogClose>\n </DialogFooter>\n </DialogContent>\n</Dialog>\n\n@code {\n private bool _isOpen;\n}"
|
|
30185
30298
|
},
|
|
30186
30299
|
{
|
|
30187
|
-
"title": "
|
|
30188
|
-
"code": "<Dialog @bind-Open=\"
|
|
30300
|
+
"title": "Scrollable Content",
|
|
30301
|
+
"code": "<Dialog @bind-Open=\"_scrollableOpen\">\n <DialogTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">View Terms</Button>\n </DialogTrigger>\n <DialogContent Scrollable=\"true\">\n <DialogHeader>\n <DialogTitle>Terms of Service</DialogTitle>\n <DialogDescription>Please read the following terms carefully.</DialogDescription>\n </DialogHeader>\n <Stack Gap=\"3\" Class=\"py-4\">\n @for (var i = 1; i <= 20; i++)\n {\n <Lumeo.Text Size=\"sm\" Color=\"muted\">@($\"Section {i}. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\")</Lumeo.Text>\n }\n </Stack>\n <DialogFooter>\n <DialogClose>\n <Button>Accept</Button>\n </DialogClose>\n </DialogFooter>\n </DialogContent>\n</Dialog>"
|
|
30189
30302
|
}
|
|
30190
30303
|
],
|
|
30191
30304
|
"subComponents": {
|
|
@@ -30822,6 +30935,10 @@
|
|
|
30822
30935
|
{
|
|
30823
30936
|
"title": "Custom Scale & Radius",
|
|
30824
30937
|
"code": "<Dock MaxScale=\"2.2\" MagnifyRadius=\"120\">\n <!-- dock items with SvgGlyph icons -->\n</Dock>"
|
|
30938
|
+
},
|
|
30939
|
+
{
|
|
30940
|
+
"title": "MaxScale & MagnifyRadius (interactive)",
|
|
30941
|
+
"code": "<Stack Gap=\"5\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Hover over the dock icons to feel the magnification. Adjust sliders to tune the effect.</Lumeo.Text>\n <Stack Gap=\"2\">\n <Lumeo.Text Size=\"sm\" Class=\"font-medium\">MaxScale: @_dockMaxScale.ToString(\"F1\")</Lumeo.Text>\n <Slider @bind-Value=\"_dockMaxScale\" Min=\"1.2\" Max=\"3.0\" Step=\"0.1\" ShowTooltip=\"true\"\n FormatTooltip=\"@(v => v.ToString(\"F1\"))\" />\n </Stack>\n <Stack Gap=\"2\">\n <Lumeo.Text Size=\"sm\" Class=\"font-medium\">MagnifyRadius: @((int)_dockRadius) px</Lumeo.Text>\n <Slider @bind-Value=\"_dockRadius\" Min=\"60\" Max=\"200\" Step=\"10\" ShowTooltip=\"true\"\n FormatTooltip=\"@(v => $\"{(int)v}px\")\" />\n </Stack>\n <Flex Justify=\"center\" Class=\"py-4\">\n <Dock MaxScale=\"@_dockMaxScale\" MagnifyRadius=\"@((int)_dockRadius)\">\n @foreach (var app in _apps)\n {\n <button class=\"flex flex-col items-center justify-center w-12 h-12 rounded-xl bg-card border border-border/40 shadow hover:shadow-md transition-shadow\" title=\"@app.Name\">\n <SvgGlyph Svg=\"@app.Icon\" class=\"h-6 w-6 text-foreground/80\" />\n </button>\n }\n </Dock>\n </Flex>\n</Stack>"
|
|
30825
30942
|
}
|
|
30826
30943
|
],
|
|
30827
30944
|
"subComponents": {},
|
|
@@ -31632,12 +31749,12 @@
|
|
|
31632
31749
|
"code": "<DropdownButton Text=\"Default\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Secondary\" Variant=\"Button.ButtonVariant.Secondary\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Outline\" Variant=\"Button.ButtonVariant.Outline\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>"
|
|
31633
31750
|
},
|
|
31634
31751
|
{
|
|
31635
|
-
"title": "
|
|
31636
|
-
"code": "<DropdownButton Text=\"
|
|
31752
|
+
"title": "Ghost and Link Variants",
|
|
31753
|
+
"code": "<Flex Gap=\"2\" Wrap=\"true\">\n <DropdownButton Text=\"Ghost\" Variant=\"Button.ButtonVariant.Ghost\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n </DropdownButton>\n <DropdownButton Text=\"Link\" Variant=\"Button.ButtonVariant.Link\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n </DropdownButton>\n</Flex>"
|
|
31637
31754
|
},
|
|
31638
31755
|
{
|
|
31639
|
-
"title": "
|
|
31640
|
-
"code": "<DropdownButton Text=\"
|
|
31756
|
+
"title": "Sizes",
|
|
31757
|
+
"code": "<DropdownButton Text=\"Small\" Size=\"Button.ButtonSize.Sm\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Default\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Large\" Size=\"Button.ButtonSize.Lg\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>"
|
|
31641
31758
|
}
|
|
31642
31759
|
],
|
|
31643
31760
|
"subComponents": {},
|
|
@@ -32817,6 +32934,10 @@
|
|
|
32817
32934
|
"title": "With Icon and Action",
|
|
32818
32935
|
"code": "<EmptyState Title=\"No projects yet\" Description=\"Get started by creating your first project.\">\n <IconContent>\n <DynamicIcon Name=\"Plus\" Class=\"h-10 w-10\" />\n </IconContent>\n <Action>\n <Button>Create Project</Button>\n </Action>\n</EmptyState>"
|
|
32819
32936
|
},
|
|
32937
|
+
{
|
|
32938
|
+
"title": "Custom Illustration",
|
|
32939
|
+
"code": "<Stack Class=\"rounded-lg border border-border/40 bg-card\">\n <EmptyState Title=\"404 — Page not found\" Description=\"The page you're looking for doesn't exist or has moved.\">\n <Image>\n <Flex Align=\"center\" Justify=\"center\" Class=\"h-20 w-20 rounded-full bg-muted text-muted-foreground\">\n <DynamicIcon Name=\"Compass\" Class=\"h-10 w-10\" />\n </Flex>\n </Image>\n <Action>\n <Button Variant=\"Button.ButtonVariant.Outline\">Go Home</Button>\n </Action>\n </EmptyState>\n</Stack>"
|
|
32940
|
+
},
|
|
32820
32941
|
{
|
|
32821
32942
|
"title": "Inbox Empty",
|
|
32822
32943
|
"code": "<EmptyState Title=\"Inbox zero\" Description=\"You have no new messages.\">\n <IconContent>\n <DynamicIcon Name=\"Mail\" Class=\"h-10 w-10\" />\n </IconContent>\n</EmptyState>"
|
|
@@ -32921,6 +33042,10 @@
|
|
|
32921
33042
|
"title": "Two Columns",
|
|
32922
33043
|
"code": "<FeatureGrid Columns=\"2\" Title=\"Built for Blazor\">\n <FeatureItem Title=\"Native components\" Description=\"Pure Razor with thin interop where it counts.\" />\n <FeatureItem Title=\"Source generators\" Description=\"The [LumeoForm] generator wires up validation and binding.\" />\n</FeatureGrid>"
|
|
32923
33044
|
},
|
|
33045
|
+
{
|
|
33046
|
+
"title": "Four Columns",
|
|
33047
|
+
"code": "<FeatureGrid Columns=\"4\" Title=\"The full stack\">\n <FeatureItem Title=\"Fast\" Description=\"Small CSS bundle, tree-shakeable.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Zap)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n <FeatureItem Title=\"Secure\" Description=\"Sane defaults, no surprises.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Shield)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n <FeatureItem Title=\"Themeable\" Description=\"Every color is a CSS variable.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Palette)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n <FeatureItem Title=\"Accessible\" Description=\"ARIA and keyboard built in.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Accessibility)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n</FeatureGrid>"
|
|
33048
|
+
},
|
|
32924
33049
|
{
|
|
32925
33050
|
"title": "Standalone Feature Item",
|
|
32926
33051
|
"code": "<FeatureItem Title=\"Fast by default\" Description=\"A small CSS bundle keeps your app lean.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Zap)\" class=\"h-5 w-5\" /></IconContent>\n</FeatureItem>"
|
|
@@ -33765,7 +33890,12 @@
|
|
|
33765
33890
|
"--color-ring",
|
|
33766
33891
|
"--radius"
|
|
33767
33892
|
],
|
|
33768
|
-
"examples": [
|
|
33893
|
+
"examples": [
|
|
33894
|
+
{
|
|
33895
|
+
"title": "Lazy loading folders",
|
|
33896
|
+
"code": "<div style=\"height: 420px\">\n <FileManager Root=\"@_lazyTree\"\n @bind-CurrentPath=\"_currentPathLazy\"\n @bind-SelectedNode=\"_selectedNodeLazy\"\n LoadChildren=\"@LoadFolderChildren\" />\n</div>"
|
|
33897
|
+
}
|
|
33898
|
+
],
|
|
33769
33899
|
"subComponents": {},
|
|
33770
33900
|
"a11y": {
|
|
33771
33901
|
"roles": [
|
|
@@ -34481,7 +34611,16 @@
|
|
|
34481
34611
|
"--color-ring",
|
|
34482
34612
|
"--radius"
|
|
34483
34613
|
],
|
|
34484
|
-
"examples": [
|
|
34614
|
+
"examples": [
|
|
34615
|
+
{
|
|
34616
|
+
"title": "Toolbar without download button",
|
|
34617
|
+
"code": "<div class=\"@DemoBoxClass\">\n <FileViewer Src=\"sample-files/sample.svg\"\n ShowDownload=\"false\"\n Class=\"h-full\" />\n</div>"
|
|
34618
|
+
},
|
|
34619
|
+
{
|
|
34620
|
+
"title": "Toolbar without file name",
|
|
34621
|
+
"code": "<div class=\"@DemoBoxClass\">\n <FileViewer Src=\"sample-files/sample.svg\"\n ShowFileName=\"false\"\n Class=\"h-full\" />\n</div>"
|
|
34622
|
+
}
|
|
34623
|
+
],
|
|
34485
34624
|
"subComponents": {},
|
|
34486
34625
|
"a11y": {
|
|
34487
34626
|
"roles": [
|
|
@@ -36667,8 +36806,8 @@
|
|
|
36667
36806
|
"code": "<Flex Align=\"center\" Justify=\"center\" Class=\"h-32 w-full\">\n <Text Color=\"muted\">Centered content</Text>\n</Flex>"
|
|
36668
36807
|
},
|
|
36669
36808
|
{
|
|
36670
|
-
"title": "
|
|
36671
|
-
"code": "<Flex Gap=\"
|
|
36809
|
+
"title": "Column Direction",
|
|
36810
|
+
"code": "<Flex Direction=\"col\" Gap=\"3\" Class=\"w-full max-w-xs\">\n <Flex Class=\"h-10 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">Item 1</Flex>\n <Flex Class=\"h-10 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">Item 2</Flex>\n <Flex Class=\"h-10 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">Item 3</Flex>\n</Flex>"
|
|
36672
36811
|
}
|
|
36673
36812
|
],
|
|
36674
36813
|
"subComponents": {},
|
|
@@ -38252,12 +38391,12 @@
|
|
|
38252
38391
|
"code": "<FormField Name=\"role\" Label=\"Role\" Required=\"true\" Error=\"@_roleError\">\n <Select @bind-Value=\"_roleValue\">\n <SelectTrigger>\n <Text As=\"span\" Class=\"@(_roleValue == null ? \\\"text-muted-foreground\\\" : \"\")\">\n @(_roleValue ?? \"Select a role\")\n </Text>\n </SelectTrigger>\n <SelectContent>\n <SelectItem Value=\"admin\">Admin</SelectItem>\n <SelectItem Value=\"editor\">Editor</SelectItem>\n <SelectItem Value=\"viewer\">Viewer</SelectItem>\n </SelectContent>\n </Select>\n</FormField>\n<Button OnClick=\"ValidateRole\">Validate</Button>\n\n@code {\n private string? _roleValue;\n private string? _roleError;\n\n private void ValidateRole()\n {\n if (string.IsNullOrEmpty(_roleValue))\n _roleError = \"Please select a role.\";\n else\n _roleError = null;\n }\n}"
|
|
38253
38392
|
},
|
|
38254
38393
|
{
|
|
38255
|
-
"title": "
|
|
38256
|
-
"code": "<
|
|
38394
|
+
"title": "Horizontal Field Layout",
|
|
38395
|
+
"code": "<Stack Gap=\"4\" Class=\"w-full max-w-md\">\n <FormField Name=\"fullname\" Label=\"Full name\" Orientation=\"Lumeo.Orientation.Horizontal\" LabelWidth=\"120px\">\n <Input Placeholder=\"Ada Lovelace\" />\n </FormField>\n <FormField Name=\"company\" Label=\"Company\" Orientation=\"Lumeo.Orientation.Horizontal\" LabelWidth=\"120px\" HelpText=\"Optional.\">\n <Input Placeholder=\"Acme Inc.\" />\n </FormField>\n</Stack>"
|
|
38257
38396
|
},
|
|
38258
38397
|
{
|
|
38259
|
-
"title": "
|
|
38260
|
-
"code": "<FormField Name=\"
|
|
38398
|
+
"title": "Checkbox and Switch with Validation",
|
|
38399
|
+
"code": "<FormField Name=\"terms\" Error=\"@_termsError\">\n <Flex Gap=\"2\" Align=\"center\">\n <Checkbox @bind-Checked=\"_termsChecked\" />\n <Label>I accept the terms and conditions</Label>\n </Flex>\n</FormField>\n<FormField Name=\"notifications\" Label=\"Email Notifications\" HelpText=\"Receive updates about your account.\">\n <Switch @bind-Checked=\"_notifChecked\" />\n</FormField>\n<Button OnClick=\"ValidateTerms\">Submit</Button>\n\n@code {\n private bool _termsChecked;\n private bool _notifChecked = true;\n private string? _termsError;\n\n private void ValidateTerms()\n {\n _termsError = _termsChecked ? null : \"You must accept the terms to continue.\";\n }\n}"
|
|
38261
38400
|
}
|
|
38262
38401
|
],
|
|
38263
38402
|
"subComponents": {
|
|
@@ -38935,6 +39074,7 @@
|
|
|
38935
39074
|
"UI/GanttChart/GanttArrowLayer.razor",
|
|
38936
39075
|
"UI/GanttChart/GanttArrowRouting.cs",
|
|
38937
39076
|
"UI/GanttChart/GanttBar.razor",
|
|
39077
|
+
"UI/GanttChart/GanttCalendar.cs",
|
|
38938
39078
|
"UI/GanttChart/GanttChart.razor",
|
|
38939
39079
|
"UI/GanttChart/GanttColorModel.cs",
|
|
38940
39080
|
"UI/GanttChart/GanttNav.razor",
|
|
@@ -39027,7 +39167,25 @@
|
|
|
39027
39167
|
"name": "FirstDayOfWeek",
|
|
39028
39168
|
"type": "DayOfWeek?",
|
|
39029
39169
|
"default": null,
|
|
39030
|
-
"description": "Explicit first-day-of-week override for the Day-mode ISO week-band upper header (design spec Phase 3, T2). Null derives it from CurrentCulture.",
|
|
39170
|
+
"description": "Explicit first-day-of-week override for the Day-mode ISO week-band upper header (design spec Phase 3, T2). Null derives it from CurrentCulture (Saturday under Jalali).",
|
|
39171
|
+
"isCascading": false,
|
|
39172
|
+
"captureUnmatched": false,
|
|
39173
|
+
"isEditorRequired": false
|
|
39174
|
+
},
|
|
39175
|
+
{
|
|
39176
|
+
"name": "CalendarSystem",
|
|
39177
|
+
"type": "CalendarSystem",
|
|
39178
|
+
"default": "CalendarSystem.Gregorian",
|
|
39179
|
+
"description": "The calendar system the time scale is laid out in. Jalali starts month / quarter / year columns on Solar Hijri boundaries (1st of the Jalali month; quarters = Jalali months 1/4/7/10; year = 1 Farvardin), sizes bar positions by the real 29/30/31-day month lengths, starts Week-mode columns on Saturday unless FirstDayOfWeek is set explicitly, numbers weeks by Jalali week-of-year (week 1 is the week containing 1 Farvardin), and renders header labels, the period label, tooltips and the tree's date text with Jalali month names and, under a fa culture, Persian digits. Task Start/End values stay Gregorian DateTimes and dragging / resizing still snaps in whole days. Default Gregorian.",
|
|
39180
|
+
"isCascading": false,
|
|
39181
|
+
"captureUnmatched": false,
|
|
39182
|
+
"isEditorRequired": false
|
|
39183
|
+
},
|
|
39184
|
+
{
|
|
39185
|
+
"name": "Culture",
|
|
39186
|
+
"type": "CultureInfo?",
|
|
39187
|
+
"default": null,
|
|
39188
|
+
"description": "Culture used for month / weekday names, digits and date text. Null uses CurrentCulture.",
|
|
39031
39189
|
"isCascading": false,
|
|
39032
39190
|
"captureUnmatched": false,
|
|
39033
39191
|
"isEditorRequired": false
|
|
@@ -39477,6 +39635,14 @@
|
|
|
39477
39635
|
}
|
|
39478
39636
|
],
|
|
39479
39637
|
"enums": [
|
|
39638
|
+
{
|
|
39639
|
+
"name": "CalendarSystem",
|
|
39640
|
+
"values": [
|
|
39641
|
+
"Gregorian",
|
|
39642
|
+
"Jalali"
|
|
39643
|
+
],
|
|
39644
|
+
"description": "The calendar system a Calendar / DatePicker lays its months out in. The bound values are always plain DateOnly (Gregorian) dates — only the month grid, headers, navigation and display text follow the selected system."
|
|
39645
|
+
},
|
|
39480
39646
|
{
|
|
39481
39647
|
"name": "GanttViewMode",
|
|
39482
39648
|
"values": [
|
|
@@ -39567,6 +39733,15 @@
|
|
|
39567
39733
|
"captureUnmatched": false,
|
|
39568
39734
|
"isEditorRequired": false
|
|
39569
39735
|
},
|
|
39736
|
+
{
|
|
39737
|
+
"name": "CalendarSystem",
|
|
39738
|
+
"type": "CalendarSystem",
|
|
39739
|
+
"default": "CalendarSystem.Gregorian",
|
|
39740
|
+
"description": "Calendar system the scale uses (bar geometry depends on it).",
|
|
39741
|
+
"isCascading": false,
|
|
39742
|
+
"captureUnmatched": false,
|
|
39743
|
+
"isEditorRequired": false
|
|
39744
|
+
},
|
|
39570
39745
|
{
|
|
39571
39746
|
"name": "BarHeight",
|
|
39572
39747
|
"type": "int",
|
|
@@ -39737,6 +39912,24 @@
|
|
|
39737
39912
|
"captureUnmatched": false,
|
|
39738
39913
|
"isEditorRequired": false
|
|
39739
39914
|
},
|
|
39915
|
+
{
|
|
39916
|
+
"name": "CalendarSystem",
|
|
39917
|
+
"type": "CalendarSystem",
|
|
39918
|
+
"default": "CalendarSystem.Gregorian",
|
|
39919
|
+
"description": "Calendar system the tooltip / aria dates are formatted in.",
|
|
39920
|
+
"isCascading": false,
|
|
39921
|
+
"captureUnmatched": false,
|
|
39922
|
+
"isEditorRequired": false
|
|
39923
|
+
},
|
|
39924
|
+
{
|
|
39925
|
+
"name": "Culture",
|
|
39926
|
+
"type": "CultureInfo?",
|
|
39927
|
+
"default": null,
|
|
39928
|
+
"description": "Culture for month names and digits; null uses CurrentCulture.",
|
|
39929
|
+
"isCascading": false,
|
|
39930
|
+
"captureUnmatched": false,
|
|
39931
|
+
"isEditorRequired": false
|
|
39932
|
+
},
|
|
39740
39933
|
{
|
|
39741
39934
|
"name": "Selected",
|
|
39742
39935
|
"type": "bool",
|
|
@@ -40464,6 +40657,24 @@
|
|
|
40464
40657
|
"captureUnmatched": false,
|
|
40465
40658
|
"isEditorRequired": false
|
|
40466
40659
|
},
|
|
40660
|
+
{
|
|
40661
|
+
"name": "CalendarSystem",
|
|
40662
|
+
"type": "CalendarSystem",
|
|
40663
|
+
"default": "CalendarSystem.Gregorian",
|
|
40664
|
+
"description": "Calendar system the scale is laid out in (see CalendarSystem).",
|
|
40665
|
+
"isCascading": false,
|
|
40666
|
+
"captureUnmatched": false,
|
|
40667
|
+
"isEditorRequired": false
|
|
40668
|
+
},
|
|
40669
|
+
{
|
|
40670
|
+
"name": "Culture",
|
|
40671
|
+
"type": "CultureInfo?",
|
|
40672
|
+
"default": null,
|
|
40673
|
+
"description": "Culture for month / weekday names and digits; null uses CurrentCulture.",
|
|
40674
|
+
"isCascading": false,
|
|
40675
|
+
"captureUnmatched": false,
|
|
40676
|
+
"isEditorRequired": false
|
|
40677
|
+
},
|
|
40467
40678
|
{
|
|
40468
40679
|
"name": "OffDays",
|
|
40469
40680
|
"type": "IReadOnlySet<DayOfWeek>?",
|
|
@@ -40849,6 +41060,24 @@
|
|
|
40849
41060
|
"captureUnmatched": false,
|
|
40850
41061
|
"isEditorRequired": false
|
|
40851
41062
|
},
|
|
41063
|
+
{
|
|
41064
|
+
"name": "CalendarSystem",
|
|
41065
|
+
"type": "CalendarSystem",
|
|
41066
|
+
"default": "CalendarSystem.Gregorian",
|
|
41067
|
+
"description": "Calendar system the date text is formatted in.",
|
|
41068
|
+
"isCascading": false,
|
|
41069
|
+
"captureUnmatched": false,
|
|
41070
|
+
"isEditorRequired": false
|
|
41071
|
+
},
|
|
41072
|
+
{
|
|
41073
|
+
"name": "Culture",
|
|
41074
|
+
"type": "CultureInfo?",
|
|
41075
|
+
"default": null,
|
|
41076
|
+
"description": "Culture for month names and digits; null uses CurrentCulture.",
|
|
41077
|
+
"isCascading": false,
|
|
41078
|
+
"captureUnmatched": false,
|
|
41079
|
+
"isEditorRequired": false
|
|
41080
|
+
},
|
|
40852
41081
|
{
|
|
40853
41082
|
"name": "TreeHeaderMenu",
|
|
40854
41083
|
"type": "RenderFragment?",
|
|
@@ -41423,12 +41652,12 @@
|
|
|
41423
41652
|
"code": "<Grid Columns=\"2\" Gap=\"4\" Class=\"md:grid-cols-4\">\n <div>1</div>\n <div>2</div>\n <!-- ... -->\n</Grid>"
|
|
41424
41653
|
},
|
|
41425
41654
|
{
|
|
41426
|
-
"title": "
|
|
41427
|
-
"code": "<Grid Columns=\"
|
|
41655
|
+
"title": "Responsive Parameter",
|
|
41656
|
+
"code": "<Grid Columns=\"4\" Responsive=\"true\" Gap=\"4\" Class=\"w-full\">\n @for (var i = 1; i <= 8; i++)\n {\n <Flex Class=\"h-16 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">@i</Flex>\n }\n</Grid>"
|
|
41428
41657
|
},
|
|
41429
41658
|
{
|
|
41430
|
-
"title": "
|
|
41431
|
-
"code": "<Grid Columns=\"
|
|
41659
|
+
"title": "Different Gaps",
|
|
41660
|
+
"code": "<Grid Columns=\"3\" RowGap=\"6\" ColGap=\"2\">\n <div>1</div>\n <div>2</div>\n <!-- ... -->\n</Grid>"
|
|
41432
41661
|
}
|
|
41433
41662
|
],
|
|
41434
41663
|
"subComponents": {},
|
|
@@ -41701,8 +41930,8 @@
|
|
|
41701
41930
|
"code": "<Hero Alignment=\"Hero.HeroAlignment.Center\"\n Title=\"Everything you need to ship\"\n Subtitle=\"Forms, overlays, data display, charts, and motion — all in one package.\">\n <Actions>\n <Button>Install</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\">Docs</Button>\n </Actions>\n</Hero>"
|
|
41702
41931
|
},
|
|
41703
41932
|
{
|
|
41704
|
-
"title": "
|
|
41705
|
-
"code": "<Hero Title=\"
|
|
41933
|
+
"title": "End Alignment",
|
|
41934
|
+
"code": "<Hero Alignment=\"Hero.HeroAlignment.End\"\n Title=\"Right-aligned hero\"\n Subtitle=\"Content, actions, and title all align to the end of the rail.\">\n <Actions>\n <Button>Get started</Button>\n <Button Variant=\"Button.ButtonVariant.Outline\">Learn more</Button>\n </Actions>\n</Hero>"
|
|
41706
41935
|
}
|
|
41707
41936
|
],
|
|
41708
41937
|
"subComponents": {},
|
|
@@ -41990,8 +42219,8 @@
|
|
|
41990
42219
|
"code": "<HoverCard>\n <HoverCardTrigger><Button Variant=\"Button.ButtonVariant.Outline\">Hover me</Button></HoverCardTrigger>\n <HoverCardContent ShowArrow=\"true\">\n <Stack Gap=\"1\">\n <Heading Level=\"4\" Size=\"sm\" Weight=\"semibold\">With arrow</Heading>\n <Lumeo.Text Size=\"sm\" Color=\"muted\">A small pointer ties the card to its trigger.</Lumeo.Text>\n </Stack>\n </HoverCardContent>\n</HoverCard>"
|
|
41991
42220
|
},
|
|
41992
42221
|
{
|
|
41993
|
-
"title": "
|
|
41994
|
-
"code": "<
|
|
42222
|
+
"title": "Side placement",
|
|
42223
|
+
"code": "<Flex Gap=\"8\" Wrap=\"true\">\n <HoverCard>\n <HoverCardTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\" Size=\"Button.ButtonSize.Sm\">Top</Button>\n </HoverCardTrigger>\n <HoverCardContent Side=\"Lumeo.Side.Top\" ShowArrow=\"true\">\n <Lumeo.Text Size=\"sm\">Opens above the trigger.</Lumeo.Text>\n </HoverCardContent>\n </HoverCard>\n <HoverCard>\n <HoverCardTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\" Size=\"Button.ButtonSize.Sm\">Right</Button>\n </HoverCardTrigger>\n <HoverCardContent Side=\"Lumeo.Side.Right\" ShowArrow=\"true\">\n <Lumeo.Text Size=\"sm\">Opens to the right.</Lumeo.Text>\n </HoverCardContent>\n </HoverCard>\n <HoverCard>\n <HoverCardTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\" Size=\"Button.ButtonSize.Sm\">Left</Button>\n </HoverCardTrigger>\n <HoverCardContent Side=\"Lumeo.Side.Left\" ShowArrow=\"true\">\n <Lumeo.Text Size=\"sm\">Opens to the left.</Lumeo.Text>\n </HoverCardContent>\n </HoverCard>\n</Flex>"
|
|
41995
42224
|
}
|
|
41996
42225
|
],
|
|
41997
42226
|
"subComponents": {
|
|
@@ -42746,12 +42975,12 @@
|
|
|
42746
42975
|
"code": "<Image Src=\"photo.jpg\" Preview=\"true\" />"
|
|
42747
42976
|
},
|
|
42748
42977
|
{
|
|
42749
|
-
"title": "
|
|
42750
|
-
"code": "<
|
|
42978
|
+
"title": "Lazy Loading",
|
|
42979
|
+
"code": "<Image Src=\"https://picsum.photos/seed/lazy-doc/400/250\" Alt=\"Lazy loaded image\" Lazy=\"true\" Width=\"400\" Height=\"250\" Class=\"rounded-lg\" />"
|
|
42751
42980
|
},
|
|
42752
42981
|
{
|
|
42753
|
-
"title": "
|
|
42754
|
-
"code": "<Image Src=\"
|
|
42982
|
+
"title": "Fallback on Error",
|
|
42983
|
+
"code": "<Image Src=\"https://example.invalid/broken.jpg\"\n Fallback=\"https://picsum.photos/seed/fallback-doc/400/250\"\n Alt=\"Falls back when the primary image fails\" Width=\"400\" Height=\"250\" Class=\"rounded-lg\" />"
|
|
42755
42984
|
}
|
|
42756
42985
|
],
|
|
42757
42986
|
"subComponents": {
|
|
@@ -44537,6 +44766,10 @@
|
|
|
44537
44766
|
"title": "Required Field",
|
|
44538
44767
|
"code": "<Stack Gap=\"2\">\n <Flex Gap=\"1\" Align=\"center\">\n <Label>Email address</Label>\n <Lumeo.Text As=\"span\" Size=\"sm\" Color=\"destructive\">*</Lumeo.Text>\n </Flex>\n <Input type=\"email\" placeholder=\"you@example.com\" />\n <Lumeo.Text Size=\"xs\" Color=\"muted\">We'll never share your email.</Lumeo.Text>\n</Stack>\n<Stack Gap=\"2\">\n <Flex Align=\"center\" Justify=\"between\">\n <Label>Password</Label>\n <a href=\"#\" class=\"text-xs text-primary hover:underline\">Forgot password?</a>\n </Flex>\n <Input type=\"password\" placeholder=\"••••••••\" />\n</Stack>"
|
|
44539
44768
|
},
|
|
44769
|
+
{
|
|
44770
|
+
"title": "Associated with For",
|
|
44771
|
+
"code": "<Stack Gap=\"2\" Class=\"w-full max-w-sm\">\n <Label For=\"email-field\">Email address</Label>\n <Input id=\"email-field\" Type=\"email\" Placeholder=\"you@example.com\" />\n <Lumeo.Text Size=\"xs\" Color=\"muted\">Clicking the label focuses the input via the <code class=\"text-xs\">For</code> attribute.</Lumeo.Text>\n</Stack>"
|
|
44772
|
+
},
|
|
44540
44773
|
{
|
|
44541
44774
|
"title": "Multiple Fields",
|
|
44542
44775
|
"code": "<Stack Gap=\"2\">\n <Label>First name</Label>\n <Input Placeholder=\"John\" />\n</Stack>\n<Flex Gap=\"2\" Align=\"center\">\n <Checkbox @bind-Checked=\"_agreed\" />\n <Label>I agree to the terms and conditions</Label>\n</Flex>"
|
|
@@ -45241,7 +45474,12 @@
|
|
|
45241
45474
|
"--color-muted-foreground",
|
|
45242
45475
|
"--radius"
|
|
45243
45476
|
],
|
|
45244
|
-
"examples": [
|
|
45477
|
+
"examples": [
|
|
45478
|
+
{
|
|
45479
|
+
"title": "Map controls — Geolocate, Fullscreen, Scale, Search, Layers",
|
|
45480
|
+
"code": "<LazyRender Height=\"460px\">\n <Map Center=\"(48.137, 11.575)\"\n Zoom=\"11\"\n Height=\"460px\"\n Geolocate=\"true\"\n Fullscreen=\"true\"\n Scale=\"true\"\n Search=\"true\"\n Layers=\"@(new[] { \"Positron\", \"DarkMatter\", \"Voyager\", \"Satellite\" })\">\n <Overlay>\n <MapInfoChip Position=\"bottom-left\">\n Geolocate · Fullscreen · Scale · Search · Layer switcher\n </MapInfoChip>\n </Overlay>\n </Map>\n</LazyRender>"
|
|
45481
|
+
}
|
|
45482
|
+
],
|
|
45245
45483
|
"subComponents": {
|
|
45246
45484
|
"MapArc": {
|
|
45247
45485
|
"componentName": "MapArc",
|
|
@@ -46330,6 +46568,10 @@
|
|
|
46330
46568
|
{
|
|
46331
46569
|
"title": "Fast Speed",
|
|
46332
46570
|
"code": "<Marquee Speed=\"Marquee.MarqueeSpeed.Fast\" PauseOnHover=\"true\">\n <div class=\"mx-6 text-sm font-mono text-muted-foreground\">Item 1</div>\n <div class=\"mx-6 text-sm font-mono text-muted-foreground\">Item 2</div>\n</Marquee>"
|
|
46571
|
+
},
|
|
46572
|
+
{
|
|
46573
|
+
"title": "Vertical",
|
|
46574
|
+
"code": "<div class=\"h-48 overflow-hidden\">\n <Marquee Vertical=\"true\" PauseOnHover=\"true\">\n @foreach (var brand in _brands)\n {\n <div class=\"my-3 flex items-center gap-2 text-sm font-medium text-muted-foreground\">\n <DynamicIcon Name=\"Box\" Class=\"h-4 w-4 shrink-0\" />\n @brand\n </div>\n }\n </Marquee>\n</div>"
|
|
46333
46575
|
}
|
|
46334
46576
|
],
|
|
46335
46577
|
"subComponents": {},
|
|
@@ -46716,6 +46958,15 @@
|
|
|
46716
46958
|
"isCascading": false,
|
|
46717
46959
|
"captureUnmatched": true,
|
|
46718
46960
|
"isEditorRequired": false
|
|
46961
|
+
},
|
|
46962
|
+
{
|
|
46963
|
+
"name": "Context",
|
|
46964
|
+
"type": "MegaMenu.MegaMenuContext?",
|
|
46965
|
+
"default": null,
|
|
46966
|
+
"description": null,
|
|
46967
|
+
"isCascading": true,
|
|
46968
|
+
"captureUnmatched": false,
|
|
46969
|
+
"isEditorRequired": false
|
|
46719
46970
|
}
|
|
46720
46971
|
],
|
|
46721
46972
|
"events": [],
|
|
@@ -46967,8 +47218,12 @@
|
|
|
46967
47218
|
"code": "<Mention @bind-Value=\"_text\" Options=\"@_channels\" Trigger='#' />"
|
|
46968
47219
|
},
|
|
46969
47220
|
{
|
|
46970
|
-
"title": "
|
|
46971
|
-
"code": "<
|
|
47221
|
+
"title": "Label, Required & Helper Text",
|
|
47222
|
+
"code": "<Mention @bind-Value=\"_text4\"\n Options=\"@_people\"\n Label=\"Comment\"\n Required=\"true\"\n HelperText=\"Type the at-sign to mention a teammate.\"\n Placeholder=\"Write a comment...\"\n Class=\"max-w-md\" />"
|
|
47223
|
+
},
|
|
47224
|
+
{
|
|
47225
|
+
"title": "Invalid State",
|
|
47226
|
+
"code": "<Mention Value=\"@_text5\"\n Options=\"@_people\"\n Label=\"Note\"\n Invalid=\"true\"\n ErrorText=\"A note is required.\"\n Class=\"max-w-md\" />"
|
|
46972
47227
|
}
|
|
46973
47228
|
],
|
|
46974
47229
|
"subComponents": {},
|
|
@@ -48142,12 +48397,12 @@
|
|
|
48142
48397
|
"code": "<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">Home</NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">About</NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">Blog</NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">Contact</NavigationMenuLink>\n </NavigationMenuItem>\n </NavigationMenuList>\n</NavigationMenu>"
|
|
48143
48398
|
},
|
|
48144
48399
|
{
|
|
48145
|
-
"title": "
|
|
48146
|
-
"code": "<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <
|
|
48400
|
+
"title": "Active link (aria-current)",
|
|
48401
|
+
"code": "<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" IsActive=\"true\" Class=\"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent transition-colors\">\n Home\n </NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent transition-colors\">\n About\n </NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent transition-colors\">\n Contact\n </NavigationMenuLink>\n </NavigationMenuItem>\n </NavigationMenuList>\n</NavigationMenu>"
|
|
48147
48402
|
},
|
|
48148
48403
|
{
|
|
48149
|
-
"title": "
|
|
48150
|
-
"code": "<
|
|
48404
|
+
"title": "Mobile menu (Hamburger + Sheet)",
|
|
48405
|
+
"code": "<div class=\"relative\">\n <NavigationMenuHamburger @bind-Open=\"_mobileOpen\" Class=\"!flex\" />\n <NavigationMenuMobile @bind-Open=\"_mobileOpen\">\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Home</NavigationMenuLink>\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Products</NavigationMenuLink>\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Pricing</NavigationMenuLink>\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Contact</NavigationMenuLink>\n </NavigationMenuMobile>\n</div>"
|
|
48151
48406
|
}
|
|
48152
48407
|
],
|
|
48153
48408
|
"subComponents": {
|
|
@@ -49168,12 +49423,12 @@
|
|
|
49168
49423
|
"code": "<NumberTicker Value=\"48295\" Prefix=\"$\" Class=\"text-3xl font-semibold tabular-nums\" />\n<NumberTicker Value=\"94.7\" Decimals=\"1\" Suffix=\"%\" Class=\"text-3xl font-semibold tabular-nums\" />"
|
|
49169
49424
|
},
|
|
49170
49425
|
{
|
|
49171
|
-
"title": "Custom
|
|
49172
|
-
"code": "<
|
|
49426
|
+
"title": "Custom Start Value",
|
|
49427
|
+
"code": "<Flex Gap=\"8\" Align=\"center\">\n <div class=\"text-center\">\n <NumberTicker Value=\"1280\" StartValue=\"1000\" DurationMs=\"2000\" Class=\"text-3xl font-bold tabular-nums\" />\n <p class=\"mt-1 text-xs text-muted-foreground\">Counts up from 1,000 to 1,280</p>\n </div>\n</Flex>"
|
|
49173
49428
|
},
|
|
49174
49429
|
{
|
|
49175
|
-
"title": "Custom
|
|
49176
|
-
"code": "<NumberTicker Value=\"
|
|
49430
|
+
"title": "Custom Duration",
|
|
49431
|
+
"code": "<NumberTicker Value=\"250\" DurationMs=\"500\" Class=\"text-2xl font-bold\" />\n<NumberTicker Value=\"250\" DurationMs=\"3000\" Class=\"text-2xl font-bold\" />"
|
|
49177
49432
|
}
|
|
49178
49433
|
],
|
|
49179
49434
|
"subComponents": {},
|
|
@@ -49607,6 +49862,10 @@
|
|
|
49607
49862
|
"title": "Basic Overlay Form",
|
|
49608
49863
|
"code": "<OverlayForm Model=\"@_model\" OnValidSubmit=\"HandleSave\">\n <Header>\n <Heading Level=\"3\" Class=\"text-base font-semibold\">Edit contact</Heading>\n </Header>\n <Body>\n <Stack Gap=\"4\">\n <Label>Name</Label>\n <Input @bind-Value=\"_model.Name\" Placeholder=\"Jane Doe\" />\n <Label>Email</Label>\n <Input @bind-Value=\"_model.Email\" Placeholder=\"jane@example.com\" />\n <Label>Notes</Label>\n <Textarea @bind-Value=\"_model.Notes\" />\n </Stack>\n </Body>\n <Footer>\n <Button Variant=\"Button.ButtonVariant.Outline\">Cancel</Button>\n <Button Type=\"Button.ButtonType.Submit\">Save</Button>\n </Footer>\n</OverlayForm>\n\n@code {\n private ContactModel _model = new();\n private void HandleSave(EditContext ctx) { /* persist _model */ }\n}"
|
|
49609
49864
|
},
|
|
49865
|
+
{
|
|
49866
|
+
"title": "Validation (OnInvalidSubmit)",
|
|
49867
|
+
"code": "<div class=\"h-[280px] rounded-lg border border-border/40 p-4\">\n <OverlayForm Model=\"@_validatedModel\" OnValidSubmit=\"HandleValidSubmit\" OnInvalidSubmit=\"HandleInvalidSubmit\">\n <Header>\n <Heading Level=\"3\" Class=\"text-base font-semibold\">Required field</Heading>\n </Header>\n <Body>\n <Stack Gap=\"1.5\">\n <Label>Name (required)</Label>\n <Input @bind-Value=\"_validatedModel.Name\" Placeholder=\"Leave empty and submit\" />\n <ValidationMessage For=\"@(() => _validatedModel.Name)\" />\n </Stack>\n </Body>\n <Footer>\n <Button Type=\"Button.ButtonType.Submit\">Submit</Button>\n </Footer>\n </OverlayForm>\n</div>\n@if (!string.IsNullOrEmpty(_validationResult))\n{\n <Lumeo.Text Class=\"text-sm text-muted-foreground mt-3\">@_validationResult</Lumeo.Text>\n}"
|
|
49868
|
+
},
|
|
49610
49869
|
{
|
|
49611
49870
|
"title": "Prefilled edit + async save",
|
|
49612
49871
|
"code": "<OverlayForm Model=\"@_editModel\" OnValidSubmit=\"HandleAsyncSave\">\n <Body>\n <Label>Name</Label>\n <Input @bind-Value=\"_editModel.Name\" />\n <Label>Email</Label>\n <Input @bind-Value=\"_editModel.Email\" />\n </Body>\n <Footer>\n <Button Type=\"Button.ButtonType.Submit\" IsLoading=\"_saving\">@(_saving ? \"Saving…\" : \"Save\")</Button>\n </Footer>\n</OverlayForm>\n\n@code {\n // Prefill from an existing record:\n private ContactModel _editModel = new() { Name = \"Ada Lovelace\", Email = \"ada@example.com\" };\n private bool _saving;\n private async Task HandleAsyncSave(EditContext ctx)\n {\n _saving = true;\n await SaveAsync(_editModel); // await your service\n _saving = false;\n }\n}"
|
|
@@ -49766,8 +50025,8 @@
|
|
|
49766
50025
|
"code": "<Segmented @bind-Value=\"_paginationSize\">\n <SegmentedItem Value=\"sm\">Sm</SegmentedItem>\n <SegmentedItem Value=\"md\">Md</SegmentedItem>\n <SegmentedItem Value=\"lg\">Lg</SegmentedItem>\n</Segmented>\n\n<Pagination>\n <PaginationContent>\n <PaginationPrevious OnClick=\"@(() => GoToPage(_currentPage - 1))\" Disabled=\"@(_currentPage <= 1)\" />\n @for (int i = 1; i <= 5; i++)\n {\n var page = i;\n <PaginationItem IsActive=\"@(page == _currentPage)\"\n OnClick=\"@(() => GoToPage(page))\"\n Class=\"@(_paginationSize switch { \\\"sm\\\" => \\\"h-7 w-7 text-xs\\\", \\\"lg\\\" => \\\"h-11 w-11 text-base\\\", _ => \\\"\\\" })\">\n @page\n </PaginationItem>\n }\n <PaginationNext OnClick=\"@(() => GoToPage(_currentPage + 1))\" Disabled=\"@(_currentPage >= 5)\" />\n </PaginationContent>\n</Pagination>\n\n@code {\n private string _paginationSize = \"md\";\n private int _currentPage = 1;\n}"
|
|
49767
50026
|
},
|
|
49768
50027
|
{
|
|
49769
|
-
"title": "
|
|
49770
|
-
"code": "<
|
|
50028
|
+
"title": "Data-driven (auto ellipsis)",
|
|
50029
|
+
"code": "<Stack Gap=\"2\">\n <div class=\"overflow-x-auto\">\n <Pagination Page=\"_ddPage\" TotalPages=\"20\" PageChanged=\"@(p => _ddPage = p)\" />\n </div>\n <Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"text-center\">Page @_ddPage of 20</Lumeo.Text>\n</Stack>"
|
|
49771
50030
|
}
|
|
49772
50031
|
],
|
|
49773
50032
|
"subComponents": {
|
|
@@ -50536,7 +50795,16 @@
|
|
|
50536
50795
|
"--color-ring",
|
|
50537
50796
|
"--radius"
|
|
50538
50797
|
],
|
|
50539
|
-
"examples": [
|
|
50798
|
+
"examples": [
|
|
50799
|
+
{
|
|
50800
|
+
"title": "Fit to width",
|
|
50801
|
+
"code": "<PdfViewer Src=\"@SamplePdfUrl\"\n FitMode=\"PdfViewer.PdfFitMode.FitWidth\"\n Class=\"h-[500px]\" />"
|
|
50802
|
+
},
|
|
50803
|
+
{
|
|
50804
|
+
"title": "Fit whole page",
|
|
50805
|
+
"code": "<PdfViewer Src=\"@SamplePdfUrl\"\n FitMode=\"PdfViewer.PdfFitMode.FitPage\"\n Class=\"h-[500px]\" />"
|
|
50806
|
+
}
|
|
50807
|
+
],
|
|
50540
50808
|
"subComponents": {},
|
|
50541
50809
|
"a11y": {
|
|
50542
50810
|
"roles": [
|
|
@@ -50913,8 +51181,8 @@
|
|
|
50913
51181
|
"code": "<PivotGrid TItem=\"Sale\"\n Items=\"_sales\"\n RowFields=\"@(new List<PivotField<Sale>> {\n new(\"Region\", s => s.Region),\n new(\"Country\", s => s.Country),\n })\"\n ColumnFields=\"_yearField\"\n Measures=\"_amountMeasure\"\n Collapsible=\"true\"\n Compact=\"true\" />"
|
|
50914
51182
|
},
|
|
50915
51183
|
{
|
|
50916
|
-
"title": "
|
|
50917
|
-
"code": "<
|
|
51184
|
+
"title": "Average aggregation",
|
|
51185
|
+
"code": "<Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"mb-3 block\">Switch the measure aggregate to Average / Min / Max instead of Sum.</Lumeo.Text>\n<PivotGrid TItem=\"Sale\"\n Items=\"_sales\"\n RowFields=\"_regionField\"\n ColumnFields=\"_yearField\"\n Measures=\"_avgMeasure\" />"
|
|
50918
51186
|
}
|
|
50919
51187
|
],
|
|
50920
51188
|
"subComponents": {},
|
|
@@ -52107,8 +52375,12 @@
|
|
|
52107
52375
|
"code": "<PromptInput @bind-Value=\"_prompt\" IsLoading=\"@_isLoading\" OnSend=\"@HandleSend\" />\n\n@code {\n private string? _prompt;\n private bool _isLoading;\n\n private async Task HandleSend(string text)\n {\n _isLoading = true;\n await CallAiApi(text);\n _isLoading = false;\n }\n}"
|
|
52108
52376
|
},
|
|
52109
52377
|
{
|
|
52110
|
-
"title": "
|
|
52111
|
-
"code": "<
|
|
52378
|
+
"title": "Character Counter",
|
|
52379
|
+
"code": "<Container MaxWidth=\"lg\" Center=\"false\" Class=\"w-full max-w-xl h-[160px] overflow-y-auto pr-1\">\n <PromptInput @bind-Value=\"_promptCounter\" OnSend=\"@HandleSendNoop\" MaxLength=\"200\" Placeholder=\"Up to 200 characters…\" />\n</Container>"
|
|
52380
|
+
},
|
|
52381
|
+
{
|
|
52382
|
+
"title": "Built-in Attach Button",
|
|
52383
|
+
"code": "<Container MaxWidth=\"lg\" Center=\"false\" Class=\"w-full max-w-xl h-[180px] overflow-y-auto pr-1\">\n <PromptInput @bind-Value=\"_promptAttach\" OnSend=\"@HandleSendNoop\" ShowAttachButton=\"true\"\n OnAttach=\"@(() => _attachClicked = true)\" Placeholder=\"Attach a file or type…\" />\n @if (_attachClicked)\n {\n <p class=\"mt-2 text-xs text-muted-foreground\">Attach button clicked.</p>\n }\n</Container>"
|
|
52112
52384
|
}
|
|
52113
52385
|
],
|
|
52114
52386
|
"subComponents": {},
|
|
@@ -52546,6 +52818,10 @@
|
|
|
52546
52818
|
{
|
|
52547
52819
|
"title": "Pre-populated nested groups",
|
|
52548
52820
|
"code": "<QueryBuilder Fields=\"_fields\" @bind-Query=\"_query\" MaxDepth=\"3\" />\n\n@code {\n private QueryGroup _query = new()\n {\n Combinator = QueryCombinator.And,\n Rules =\n {\n new QueryRule { Field = \"isActive\", Operator = \"=\", Value = true },\n new QueryGroup\n {\n Combinator = QueryCombinator.Or,\n Rules =\n {\n new QueryRule { Field = \"plan\", Operator = \"=\", Value = \"pro\" },\n new QueryRule { Field = \"plan\", Operator = \"=\", Value = \"enterprise\" }\n }\n }\n }\n };\n\n // Run it client-side:\n // var predicate = QueryBuilder.ToExpression<Customer>(_query);\n // var matches = customers.Where(predicate.Compile());\n}"
|
|
52821
|
+
},
|
|
52822
|
+
{
|
|
52823
|
+
"title": "Disallow Empty Groups",
|
|
52824
|
+
"code": "<QueryBuilder Fields=\"_fields\" @bind-Query=\"_noEmptyQuery\" AllowEmptyGroups=\"false\" />"
|
|
52549
52825
|
}
|
|
52550
52826
|
],
|
|
52551
52827
|
"subComponents": {
|
|
@@ -52842,8 +53118,12 @@
|
|
|
52842
53118
|
"code": "<RadioGroup @bind-Value=\"_plan\" Class=\"grid grid-cols-3 gap-2\">\n @foreach (var p in new[] { (\"free\", \"Free\", \"$0\"), (\"pro\", \"Pro\", \"$15\"), (\"team\", \"Team\", \"$49\") })\n {\n <label class=\"@($\"flex flex-col items-center rounded-md border p-3 cursor-pointer {(_plan == p.Item1 ? \\\"border-primary\\\" : \\\"border-muted\\\")}\")>\n <RadioGroupItem Value=\"@p.Item1\" Class=\"sr-only\" />\n <Lumeo.Text As=\"span\" Size=\"sm\" Weight=\"semibold\">@p.Item2</Lumeo.Text>\n <Lumeo.Text As=\"span\" Size=\"xs\" Color=\"muted\">@p.Item3/mo</Lumeo.Text>\n </label>\n }\n</RadioGroup>"
|
|
52843
53119
|
},
|
|
52844
53120
|
{
|
|
52845
|
-
"title": "
|
|
52846
|
-
"code": "<
|
|
53121
|
+
"title": "Card options (RadioGroupCard)",
|
|
53122
|
+
"code": "<Container MaxWidth=\"sm\" Center=\"false\" Padding=\"\">\n <RadioGroup @bind-Value=\"_card\" Class=\"grid gap-3\">\n <RadioGroupCard Value=\"starter\">\n <div>\n <div class=\"text-sm font-semibold text-foreground\">Starter</div>\n <div class=\"text-xs text-muted-foreground\">For individuals getting started.</div>\n </div>\n </RadioGroupCard>\n <RadioGroupCard Value=\"team\">\n <div>\n <div class=\"text-sm font-semibold text-foreground\">Team</div>\n <div class=\"text-xs text-muted-foreground\">Collaboration features for small teams.</div>\n </div>\n </RadioGroupCard>\n </RadioGroup>\n <Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"mt-3\">Selected: @(_card ?? \"none\")</Lumeo.Text>\n</Container>"
|
|
53123
|
+
},
|
|
53124
|
+
{
|
|
53125
|
+
"title": "Item description & disabled",
|
|
53126
|
+
"code": "<Container MaxWidth=\"sm\" Center=\"false\" Padding=\"\">\n <RadioGroup @bind-Value=\"_shipping\">\n <RadioGroupItem Value=\"standard\" Description=\"3-5 business days, free.\">\n <Label>Standard</Label>\n </RadioGroupItem>\n <RadioGroupItem Value=\"express\" Description=\"1-2 business days, $9.99.\">\n <Label>Express</Label>\n </RadioGroupItem>\n <RadioGroupItem Value=\"overnight\" Disabled=\"true\" Description=\"Currently unavailable.\">\n <Label>Overnight</Label>\n </RadioGroupItem>\n </RadioGroup>\n</Container>"
|
|
52847
53127
|
}
|
|
52848
53128
|
],
|
|
52849
53129
|
"subComponents": {
|
|
@@ -54891,6 +55171,7 @@
|
|
|
54891
55171
|
"files": [
|
|
54892
55172
|
"UI/Scheduler/Scheduler.razor",
|
|
54893
55173
|
"UI/Scheduler/SchedulerAgendaView.razor",
|
|
55174
|
+
"UI/Scheduler/SchedulerCalendarMath.cs",
|
|
54894
55175
|
"UI/Scheduler/SchedulerDateMath.cs",
|
|
54895
55176
|
"UI/Scheduler/SchedulerInteractionTypes.cs",
|
|
54896
55177
|
"UI/Scheduler/SchedulerMonthLayout.cs",
|
|
@@ -55015,7 +55296,16 @@
|
|
|
55015
55296
|
"name": "FirstDayOfWeek",
|
|
55016
55297
|
"type": "int",
|
|
55017
55298
|
"default": "1",
|
|
55018
|
-
"description": "The first day of the week, 0 (Sunday) through 6 (Saturday). Default: 1 (Monday).",
|
|
55299
|
+
"description": "The first day of the week, 0 (Sunday) through 6 (Saturday). Default: 1 (Monday). With CalendarSystem set to Jalali the default is Saturday (6) instead, unless this parameter is set explicitly.",
|
|
55300
|
+
"isCascading": false,
|
|
55301
|
+
"captureUnmatched": false,
|
|
55302
|
+
"isEditorRequired": false
|
|
55303
|
+
},
|
|
55304
|
+
{
|
|
55305
|
+
"name": "CalendarSystem",
|
|
55306
|
+
"type": "CalendarSystem",
|
|
55307
|
+
"default": "CalendarSystem.Gregorian",
|
|
55308
|
+
"description": "The calendar system the Scheduler lays out and labels periods in. Jalali renders Solar Hijri (Persian) months in the month view, the toolbar title and the timeline's month columns, labels days with Jalali day/month names (Persian digits under a fa UI culture), and starts the week on Saturday unless FirstDayOfWeek is set. Month navigation steps by Jalali months; week/day navigation is calendar-independent. Event data (Start/End) stays Gregorian DateTime and so do recurrence rules: a monthly rule repeats on the same Gregorian day of month and a yearly rule on the same Gregorian date, because the rule is part of the event data, not of how it is displayed. Month names, weekday names and AM/PM designators come from the UI culture. Default Gregorian.",
|
|
55019
55309
|
"isCascading": false,
|
|
55020
55310
|
"captureUnmatched": false,
|
|
55021
55311
|
"isEditorRequired": false
|
|
@@ -55229,6 +55519,14 @@
|
|
|
55229
55519
|
}
|
|
55230
55520
|
],
|
|
55231
55521
|
"enums": [
|
|
55522
|
+
{
|
|
55523
|
+
"name": "CalendarSystem",
|
|
55524
|
+
"values": [
|
|
55525
|
+
"Gregorian",
|
|
55526
|
+
"Jalali"
|
|
55527
|
+
],
|
|
55528
|
+
"description": "The calendar system a Calendar / DatePicker lays its months out in. The bound values are always plain DateOnly (Gregorian) dates — only the month grid, headers, navigation and display text follow the selected system."
|
|
55529
|
+
},
|
|
55232
55530
|
{
|
|
55233
55531
|
"name": "SchedulerPaneMode",
|
|
55234
55532
|
"values": [
|
|
@@ -55286,12 +55584,12 @@
|
|
|
55286
55584
|
"code": "<SchedulerTimeGridView Events=\"_events\"\n AnchorDate=\"_anchor\"\n Days=\"7\"\n BusinessHours=\"true\"\n NowIndicator=\"true\"\n OnEventChange=\"OnEventChange\" />"
|
|
55287
55585
|
},
|
|
55288
55586
|
{
|
|
55289
|
-
"title": "
|
|
55290
|
-
"code": "<
|
|
55587
|
+
"title": "Day view",
|
|
55588
|
+
"code": "<SchedulerTimeGridView Events=\"_fpWeekEvents\" AnchorDate=\"_fpAnchor\" Days=\"1\" BusinessHours=\"true\" NowIndicator=\"true\" />"
|
|
55291
55589
|
},
|
|
55292
55590
|
{
|
|
55293
|
-
"title": "
|
|
55294
|
-
"code": "<
|
|
55591
|
+
"title": "Agenda view",
|
|
55592
|
+
"code": "<SchedulerAgendaView Events=\"_events\" AnchorDate=\"_anchor\" DaysToShow=\"30\" />"
|
|
55295
55593
|
}
|
|
55296
55594
|
],
|
|
55297
55595
|
"subComponents": {
|
|
@@ -55329,6 +55627,15 @@
|
|
|
55329
55627
|
"captureUnmatched": false,
|
|
55330
55628
|
"isEditorRequired": false
|
|
55331
55629
|
},
|
|
55630
|
+
{
|
|
55631
|
+
"name": "CalendarSystem",
|
|
55632
|
+
"type": "CalendarSystem",
|
|
55633
|
+
"default": "CalendarSystem.Gregorian",
|
|
55634
|
+
"description": "Calendar system for the day headings and time labels. Event data stays Gregorian. Default Gregorian.",
|
|
55635
|
+
"isCascading": false,
|
|
55636
|
+
"captureUnmatched": false,
|
|
55637
|
+
"isEditorRequired": false
|
|
55638
|
+
},
|
|
55332
55639
|
{
|
|
55333
55640
|
"name": "OnEventClick",
|
|
55334
55641
|
"type": "EventCallback<SchedulerEvent>",
|
|
@@ -55424,6 +55731,15 @@
|
|
|
55424
55731
|
"captureUnmatched": false,
|
|
55425
55732
|
"isEditorRequired": false
|
|
55426
55733
|
},
|
|
55734
|
+
{
|
|
55735
|
+
"name": "CalendarSystem",
|
|
55736
|
+
"type": "CalendarSystem",
|
|
55737
|
+
"default": "CalendarSystem.Gregorian",
|
|
55738
|
+
"description": "The calendar system the grid is laid out in. Jalali covers the Jalali month (leading/trailing days come from the adjacent Jalali months) and numbers the day cells in that calendar; event data stays Gregorian. Default Gregorian.",
|
|
55739
|
+
"isCascading": false,
|
|
55740
|
+
"captureUnmatched": false,
|
|
55741
|
+
"isEditorRequired": false
|
|
55742
|
+
},
|
|
55427
55743
|
{
|
|
55428
55744
|
"name": "ShowWeekNumbers",
|
|
55429
55745
|
"type": "bool",
|
|
@@ -55686,6 +56002,15 @@
|
|
|
55686
56002
|
"captureUnmatched": false,
|
|
55687
56003
|
"isEditorRequired": false
|
|
55688
56004
|
},
|
|
56005
|
+
{
|
|
56006
|
+
"name": "CalendarSystem",
|
|
56007
|
+
"type": "CalendarSystem",
|
|
56008
|
+
"default": "CalendarSystem.Gregorian",
|
|
56009
|
+
"description": "Calendar system for the spelled-out date and Persian-digit time labels. Event data stays Gregorian. Default Gregorian.",
|
|
56010
|
+
"isCascading": false,
|
|
56011
|
+
"captureUnmatched": false,
|
|
56012
|
+
"isEditorRequired": false
|
|
56013
|
+
},
|
|
55689
56014
|
{
|
|
55690
56015
|
"name": "SlotMinTime",
|
|
55691
56016
|
"type": "TimeOnly?",
|
|
@@ -55808,6 +56133,15 @@
|
|
|
55808
56133
|
"captureUnmatched": false,
|
|
55809
56134
|
"isEditorRequired": false
|
|
55810
56135
|
},
|
|
56136
|
+
{
|
|
56137
|
+
"name": "CalendarSystem",
|
|
56138
|
+
"type": "CalendarSystem",
|
|
56139
|
+
"default": "CalendarSystem.Gregorian",
|
|
56140
|
+
"description": "The calendar system the column headers (day number and month) and spelled-out dates use. Columns themselves are always consecutive days, so week/day layout is calendar-independent; event data stays Gregorian. Default Gregorian.",
|
|
56141
|
+
"isCascading": false,
|
|
56142
|
+
"captureUnmatched": false,
|
|
56143
|
+
"isEditorRequired": false
|
|
56144
|
+
},
|
|
55811
56145
|
{
|
|
55812
56146
|
"name": "SlotMinTime",
|
|
55813
56147
|
"type": "TimeOnly?",
|
|
@@ -56173,6 +56507,15 @@
|
|
|
56173
56507
|
"captureUnmatched": false,
|
|
56174
56508
|
"isEditorRequired": false
|
|
56175
56509
|
},
|
|
56510
|
+
{
|
|
56511
|
+
"name": "CalendarSystem",
|
|
56512
|
+
"type": "CalendarSystem",
|
|
56513
|
+
"default": "CalendarSystem.Gregorian",
|
|
56514
|
+
"description": "Calendar system of the month columns, their labels and boundaries. Event data stays Gregorian. Default Gregorian.",
|
|
56515
|
+
"isCascading": false,
|
|
56516
|
+
"captureUnmatched": false,
|
|
56517
|
+
"isEditorRequired": false
|
|
56518
|
+
},
|
|
56176
56519
|
{
|
|
56177
56520
|
"name": "Today",
|
|
56178
56521
|
"type": "DateTime?",
|
|
@@ -56617,6 +56960,10 @@
|
|
|
56617
56960
|
{
|
|
56618
56961
|
"title": "Horizontal Nav",
|
|
56619
56962
|
"code": "<Scrollspy Class=\"flex flex-col\" @bind-ActiveId=\"_active\">\n <nav class=\"flex gap-1 mb-4 border-b pb-2\">\n <ScrollspyLink Target=\"section-1\"\n Class=\"px-3 py-1.5 rounded-md text-sm font-medium text-muted-foreground\n data-[active=true]:bg-primary data-[active=true]:text-primary-foreground\">\n Section 1\n </ScrollspyLink>\n <ScrollspyLink Target=\"section-2\" Class=\"...\">Section 2</ScrollspyLink>\n </nav>\n <div class=\"overflow-y-auto h-[400px] rounded-md border border-border/40\">\n <ScrollspySection Id=\"section-1\" Class=\"p-6 min-h-[300px]\">\n <h3>Section 1</h3>\n <p>Content...</p>\n </ScrollspySection>\n <ScrollspySection Id=\"section-2\" Class=\"p-6 min-h-[300px]\">\n <h3>Section 2</h3>\n <p>Content...</p>\n </ScrollspySection>\n </div>\n</Scrollspy>\n\n@code {\n private string? _active;\n}"
|
|
56963
|
+
},
|
|
56964
|
+
{
|
|
56965
|
+
"title": "With Offset & Instant Scroll",
|
|
56966
|
+
"code": "<Scrollspy Class=\"flex gap-4 w-full max-w-2xl\" Offset=\"80\" Smooth=\"false\" @bind-ActiveId=\"_activeOffset\">\n <nav class=\"flex flex-col gap-1 w-40 shrink-0 sticky top-0 self-start\">\n @for (int i = 1; i <= 5; i++)\n {\n var id = $\"o-section-{i}\";\n var label = $\"Section {i}\";\n <ScrollspyLink Target=\"@id\"\n Class=\"px-3 py-1.5 rounded-md text-sm font-medium text-muted-foreground transition-colors hover:text-foreground data-[active=true]:bg-primary data-[active=true]:text-primary-foreground\">\n @label\n </ScrollspyLink>\n }\n </nav>\n <Stack Gap=\"0\" Class=\"flex-1 overflow-y-auto h-[400px] rounded-md border border-border/40\">\n @for (int i = 1; i <= 5; i++)\n {\n var id = $\"o-section-{i}\";\n var title = $\"Section {i}\";\n <ScrollspySection Id=\"@id\" Class=\"p-6 min-h-[300px]\">\n <Heading Level=\"3\" Size=\"lg\" Weight=\"semibold\" Class=\"mb-2\">@title</Heading>\n <Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"leading-relaxed\">\n Offset shifts the activation line 80px down so a sticky header\n doesn't cover the section; Smooth=\"false\" jumps instantly when\n you click a link.\n </Lumeo.Text>\n </ScrollspySection>\n }\n </Stack>\n</Scrollspy>"
|
|
56620
56967
|
}
|
|
56621
56968
|
],
|
|
56622
56969
|
"subComponents": {
|
|
@@ -56896,8 +57243,8 @@
|
|
|
56896
57243
|
"code": "new SegmentedOption { Label = \"Weekly\", Value = \"weekly\", Disabled = true }"
|
|
56897
57244
|
},
|
|
56898
57245
|
{
|
|
56899
|
-
"title": "
|
|
56900
|
-
"code": "<Segmented @bind-Value=\"
|
|
57246
|
+
"title": "SegmentedItem Children",
|
|
57247
|
+
"code": "<Segmented @bind-Value=\"_seg5\">\n <SegmentedItem Value=\"list\">List</SegmentedItem>\n <SegmentedItem Value=\"grid\">Grid</SegmentedItem>\n <SegmentedItem Value=\"board\">Board</SegmentedItem>\n</Segmented>"
|
|
56901
57248
|
}
|
|
56902
57249
|
],
|
|
56903
57250
|
"subComponents": {
|
|
@@ -58092,8 +58439,8 @@
|
|
|
58092
58439
|
"code": "@foreach (var size in Enum.GetValues<SheetContent.SheetSize>())\n{\n <Sheet @bind-Open=\"@_sheetSizeOpen[size]\">\n <SheetTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">@size</Button>\n </SheetTrigger>\n <SheetContent Size=\"@size\">\n <SheetHeader>\n <SheetTitle>@size Sheet</SheetTitle>\n <SheetDescription>This sheet uses Size=\"SheetContent.SheetSize.@size\"</SheetDescription>\n </SheetHeader>\n <Stack Gap=\"4\" Class=\"py-4\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Sheet content goes here.</Lumeo.Text>\n </Stack>\n </SheetContent>\n </Sheet>\n}\n\n@code {\n private Dictionary<SheetContent.SheetSize, bool> _sheetSizeOpen =\n Enum.GetValues<SheetContent.SheetSize>().ToDictionary(s => s, _ => false);\n}"
|
|
58093
58440
|
},
|
|
58094
58441
|
{
|
|
58095
|
-
"title": "
|
|
58096
|
-
"code": "<Sheet @bind-Open=\"
|
|
58442
|
+
"title": "Animation Modes",
|
|
58443
|
+
"code": "<Flex Gap=\"2\" Wrap=\"true\">\n <Sheet @bind-Open=\"_fadeSheetOpen\">\n <SheetTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">Fade</Button>\n </SheetTrigger>\n <SheetContent Animation=\"SheetContent.SheetAnimation.Fade\">\n <SheetHeader>\n <SheetTitle>Fade animation</SheetTitle>\n <SheetDescription>This sheet fades in instead of sliding.</SheetDescription>\n </SheetHeader>\n </SheetContent>\n </Sheet>\n <Sheet @bind-Open=\"_noneSheetOpen\">\n <SheetTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">None</Button>\n </SheetTrigger>\n <SheetContent Animation=\"SheetContent.SheetAnimation.None\">\n <SheetHeader>\n <SheetTitle>No animation</SheetTitle>\n <SheetDescription>This sheet appears instantly with no transition.</SheetDescription>\n </SheetHeader>\n </SheetContent>\n </Sheet>\n</Flex>"
|
|
58097
58444
|
}
|
|
58098
58445
|
],
|
|
58099
58446
|
"subComponents": {
|
|
@@ -60637,7 +60984,9 @@
|
|
|
60637
60984
|
],
|
|
60638
60985
|
"namespace": "Lumeo",
|
|
60639
60986
|
"inheritsFrom": null,
|
|
60640
|
-
"implements": [
|
|
60987
|
+
"implements": [
|
|
60988
|
+
"IAsyncDisposable"
|
|
60989
|
+
],
|
|
60641
60990
|
"parameters": [
|
|
60642
60991
|
{
|
|
60643
60992
|
"name": "FormField",
|
|
@@ -60947,12 +61296,14 @@
|
|
|
60947
61296
|
"description": "Drag-and-drop reorderable list.",
|
|
60948
61297
|
"nugetPackage": "Lumeo",
|
|
60949
61298
|
"files": [
|
|
61299
|
+
"UI/Sortable/SortableGroupRegistry.cs",
|
|
60950
61300
|
"UI/Sortable/SortableList.razor"
|
|
60951
61301
|
],
|
|
60952
61302
|
"namespace": "Lumeo",
|
|
60953
61303
|
"inheritsFrom": null,
|
|
60954
61304
|
"implements": [
|
|
60955
|
-
"IAsyncDisposable"
|
|
61305
|
+
"IAsyncDisposable",
|
|
61306
|
+
"ISortableGroupMember"
|
|
60956
61307
|
],
|
|
60957
61308
|
"parameters": [
|
|
60958
61309
|
{
|
|
@@ -61004,7 +61355,16 @@
|
|
|
61004
61355
|
"name": "Group",
|
|
61005
61356
|
"type": "string?",
|
|
61006
61357
|
"default": null,
|
|
61007
|
-
"description": "Optional shared-group name.
|
|
61358
|
+
"description": "Optional shared-group name. Lists that use the same non-empty Group (within one user session) let rows be dragged from one list into any position of another, via mouse, touch, or the keyboard (focus a drag handle and press ArrowLeft / ArrowRight to send the row to the previous / next list of the group). The source list raises ItemsChanged without the item, the target list raises it with the item inserted at the drop index, and OnTransfer fires on both. Lists with a different or empty group never exchange rows, and a list only accepts items that are assignable to its TItem. The group name is also emitted on the container as data-sortable-group.",
|
|
61359
|
+
"isCascading": false,
|
|
61360
|
+
"captureUnmatched": false,
|
|
61361
|
+
"isEditorRequired": false
|
|
61362
|
+
},
|
|
61363
|
+
{
|
|
61364
|
+
"name": "OnTransfer",
|
|
61365
|
+
"type": "EventCallback<SortableTransfer>",
|
|
61366
|
+
"default": null,
|
|
61367
|
+
"description": "Raised on BOTH the source and the target list after a row has moved between lists that share a Group (via drag, touch, or keyboard), in addition to the two ItemsChanged notifications. Does not fire for in-list reorders (see OnReorder).",
|
|
61008
61368
|
"isCascading": false,
|
|
61009
61369
|
"captureUnmatched": false,
|
|
61010
61370
|
"isEditorRequired": false
|
|
@@ -61052,6 +61412,11 @@
|
|
|
61052
61412
|
"type": "EventCallback<List<TItem>>",
|
|
61053
61413
|
"description": "Raised with the freshly-reordered list whenever an item is moved, via drag, touch, or keyboard."
|
|
61054
61414
|
},
|
|
61415
|
+
{
|
|
61416
|
+
"name": "OnTransfer",
|
|
61417
|
+
"type": "EventCallback<SortableTransfer>",
|
|
61418
|
+
"description": "Raised on BOTH the source and the target list after a row has moved between lists that share a Group (via drag, touch, or keyboard), in addition to the two ItemsChanged notifications. Does not fire for in-list reorders (see OnReorder)."
|
|
61419
|
+
},
|
|
61055
61420
|
{
|
|
61056
61421
|
"name": "OnReorder",
|
|
61057
61422
|
"type": "EventCallback<SortableMoved>",
|
|
@@ -61064,6 +61429,11 @@
|
|
|
61064
61429
|
"name": "SortableMoved",
|
|
61065
61430
|
"signature": "SortableMoved(TItem Item, int OldIndex, int NewIndex)",
|
|
61066
61431
|
"description": "Payload describing a single reorder: the moved Item and its OldIndex / NewIndex within the list. Supplied to OnReorder."
|
|
61432
|
+
},
|
|
61433
|
+
{
|
|
61434
|
+
"name": "SortableTransfer",
|
|
61435
|
+
"signature": "SortableTransfer(TItem Item, string Group, string SourceListId, int OldIndex, string TargetListId, int NewIndex)",
|
|
61436
|
+
"description": "Payload describing a row that moved between two lists of the same Group: the moved Item, the shared Group, the DOM ids of the SourceListId / TargetListId containers (data-slot=\"sortable-list\" elements), and the index it left (OldIndex, in the source list) and now occupies (NewIndex, in the target list). Supplied to OnTransfer."
|
|
61067
61437
|
}
|
|
61068
61438
|
],
|
|
61069
61439
|
"gotchas": [],
|
|
@@ -61091,8 +61461,8 @@
|
|
|
61091
61461
|
"code": "<SortableList TItem=\"TaskItem\" Items=\"@_tasks\" ItemsChanged=\"@(v => _tasks = v)\">\n <ItemTemplate Context=\"task\">\n <Flex Class=\"items-center gap-3 w-full\">\n <DynamicIcon Name=\"@task.Icon\" Class=\"h-4 w-4 text-primary\" />\n <Stack Gap=\"0\" Class=\"flex-1\">\n <Lumeo.Text Class=\"text-sm font-medium\">@task.Title</Lumeo.Text>\n <Lumeo.Text Class=\"text-xs text-muted-foreground\">@task.Assignee</Lumeo.Text>\n </Stack>\n <Badge Variant=\"Badge.BadgeVariant.Secondary\">@task.Priority</Badge>\n </Flex>\n </ItemTemplate>\n</SortableList>"
|
|
61092
61462
|
},
|
|
61093
61463
|
{
|
|
61094
|
-
"title": "
|
|
61095
|
-
"code": "<SortableList TItem=\"string\" Items=\"@
|
|
61464
|
+
"title": "Shared Group (drag between lists)",
|
|
61465
|
+
"code": "<SortableList TItem=\"string\" Items=\"@_todo\" ItemsChanged=\"@(v => _todo = v)\" Group=\"tasks\"\n OnTransfer=\"@(t => Log(t.Item, t.OldIndex, t.NewIndex))\">\n <ItemTemplate Context=\"item\">@item</ItemTemplate>\n</SortableList>\n<SortableList TItem=\"string\" Items=\"@_done\" ItemsChanged=\"@(v => _done = v)\" Group=\"tasks\">\n <ItemTemplate Context=\"item\">@item</ItemTemplate>\n</SortableList>"
|
|
61096
61466
|
}
|
|
61097
61467
|
],
|
|
61098
61468
|
"subComponents": {},
|
|
@@ -61104,12 +61474,15 @@
|
|
|
61104
61474
|
],
|
|
61105
61475
|
"ariaAttributes": [
|
|
61106
61476
|
"aria-atomic",
|
|
61477
|
+
"aria-hidden",
|
|
61107
61478
|
"aria-keyshortcuts",
|
|
61108
61479
|
"aria-label",
|
|
61109
61480
|
"aria-live"
|
|
61110
61481
|
],
|
|
61111
61482
|
"keys": [
|
|
61112
61483
|
"ArrowDown",
|
|
61484
|
+
"ArrowLeft",
|
|
61485
|
+
"ArrowRight",
|
|
61113
61486
|
"ArrowUp",
|
|
61114
61487
|
"End",
|
|
61115
61488
|
"Home"
|
|
@@ -61370,8 +61743,8 @@
|
|
|
61370
61743
|
"code": "<SparkCard Label=\"Uptime\" Value=\"99.98%\" />\n<SparkCard Label=\"SLA\" Value=\"100%\" />\n<SparkCard Label=\"Incidents\" Value=\"0\" />"
|
|
61371
61744
|
},
|
|
61372
61745
|
{
|
|
61373
|
-
"title": "
|
|
61374
|
-
"code": "<
|
|
61746
|
+
"title": "Sparkline Type, Area & Last Point",
|
|
61747
|
+
"code": "<Grid Columns=\"3\" Gap=\"4\">\n <SparkCard Label=\"Bars\" Value=\"8,412\" Data=\"@_sessionsData\" Type=\"Sparkline.SparkType.Bars\" />\n <SparkCard Label=\"Area\" Value=\"$24,800\" Data=\"@_revenueData\" ShowArea=\"true\" />\n <SparkCard Label=\"Last Point\" Value=\"34.2%\" Data=\"@_bounceData\" ShowLast=\"true\" />\n</Grid>"
|
|
61375
61748
|
}
|
|
61376
61749
|
],
|
|
61377
61750
|
"subComponents": {},
|
|
@@ -61632,7 +62005,20 @@
|
|
|
61632
62005
|
"cssVars": [
|
|
61633
62006
|
"--color-foreground"
|
|
61634
62007
|
],
|
|
61635
|
-
"examples": [
|
|
62008
|
+
"examples": [
|
|
62009
|
+
{
|
|
62010
|
+
"title": "Line with area fill (ShowArea)",
|
|
62011
|
+
"code": "<div class=\"w-64\">\n <Sparkline Values=\"_seriesA\" ShowArea=\"true\" Height=\"40\" />\n</div>"
|
|
62012
|
+
},
|
|
62013
|
+
{
|
|
62014
|
+
"title": "Point markers + hover tooltips (ShowTooltips)",
|
|
62015
|
+
"code": "<div class=\"w-64\">\n <Sparkline Values=\"_seriesA\" ShowTooltips=\"true\" Height=\"40\" />\n</div>"
|
|
62016
|
+
},
|
|
62017
|
+
{
|
|
62018
|
+
"title": "Custom stroke width",
|
|
62019
|
+
"code": "<Stack Gap=\"3\">\n <div class=\"w-64\"><Sparkline Values=\"_seriesA\" StrokeWidth=\"1\" Height=\"36\" /></div>\n <div class=\"w-64\"><Sparkline Values=\"_seriesA\" StrokeWidth=\"3\" Height=\"36\" /></div>\n</Stack>"
|
|
62020
|
+
}
|
|
62021
|
+
],
|
|
61636
62022
|
"subComponents": {},
|
|
61637
62023
|
"a11y": {
|
|
61638
62024
|
"roles": [
|
|
@@ -63505,6 +63891,10 @@
|
|
|
63505
63891
|
"title": "Leading and Trailing Actions",
|
|
63506
63892
|
"code": "<SwipeActions>\n <LeadingActions>\n <Button Variant=\"Button.ButtonVariant.Secondary\" Class=\"h-full rounded-none px-5\">Pin</Button>\n </LeadingActions>\n <TrailingActions>\n <Button Variant=\"Button.ButtonVariant.Destructive\" Class=\"h-full rounded-none px-5\">Delete</Button>\n <Button Variant=\"Button.ButtonVariant.Secondary\" Class=\"h-full rounded-none px-5\">Snooze</Button>\n </TrailingActions>\n <ChildContent>\n <div class=\"flex items-center gap-3 border border-border/40 rounded-lg px-4 py-3 bg-background\">\n <Text Size=\"sm\">Meeting with design team</Text>\n </div>\n </ChildContent>\n</SwipeActions>"
|
|
63507
63893
|
},
|
|
63894
|
+
{
|
|
63895
|
+
"title": "Leading Actions only (swipe right)",
|
|
63896
|
+
"code": "<SwipeActions>\n <LeadingActions>\n <Button Variant=\"Button.ButtonVariant.Secondary\"\n Class=\"h-full rounded-none px-5\">\n Mark read\n </Button>\n </LeadingActions>\n <ChildContent>\n <div class=\"flex items-center gap-3 border border-border/40 rounded-lg px-4 py-3 bg-background\">\n <div class=\"flex-1\">\n <Lumeo.Text Size=\"sm\">Unread newsletter</Lumeo.Text>\n <Lumeo.Text Size=\"xs\" Color=\"muted\">Swipe right to reveal the leading action</Lumeo.Text>\n </div>\n </div>\n </ChildContent>\n</SwipeActions>"
|
|
63897
|
+
},
|
|
63508
63898
|
{
|
|
63509
63899
|
"title": "Custom Activation Threshold",
|
|
63510
63900
|
"code": "<SwipeActions ActivationThresholdPx=\"40\">\n <TrailingActions>\n <Button Variant=\"Button.ButtonVariant.Destructive\" Class=\"h-full rounded-none px-6\">Remove</Button>\n </TrailingActions>\n <ChildContent>\n <div class=\"flex items-center gap-3 border border-border/40 rounded-lg px-4 py-3 bg-background\">\n <Text Size=\"sm\">Activates after only 40 px of swipe</Text>\n </div>\n </ChildContent>\n</SwipeActions>"
|
|
@@ -63863,12 +64253,12 @@
|
|
|
63863
64253
|
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>Name</TableHead>\n <TableHead>Role</TableHead>\n <TableHead>Department</TableHead>\n </TableRow>\n </TableHeader>\n <TableBody>\n <TableRow>\n <TableCell Class=\"font-medium\">Alice Johnson</TableCell>\n <TableCell>Engineer</TableCell>\n <TableCell>Engineering</TableCell>\n </TableRow>\n <TableRow>\n <TableCell Class=\"font-medium\">Bob Smith</TableCell>\n <TableCell>Designer</TableCell>\n <TableCell>Product</TableCell>\n </TableRow>\n </TableBody>\n</Table>"
|
|
63864
64254
|
},
|
|
63865
64255
|
{
|
|
63866
|
-
"title": "
|
|
63867
|
-
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>
|
|
64256
|
+
"title": "Striped rows",
|
|
64257
|
+
"code": "<Table Striped=\"true\">\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead>Method</TableHead>\n <TableHead Class=\"text-right\">Amount</TableHead>\n </TableRow>\n </TableHeader>\n <TableBody>\n @foreach (var invoice in _invoices)\n {\n <TableRow>\n <TableCell Class=\"font-medium\">@invoice.Id</TableCell>\n <TableCell>@invoice.Status</TableCell>\n <TableCell>@invoice.Method</TableCell>\n <TableCell Class=\"text-right\">@invoice.Amount</TableCell>\n </TableRow>\n }\n </TableBody>\n</Table>"
|
|
63868
64258
|
},
|
|
63869
64259
|
{
|
|
63870
|
-
"title": "
|
|
63871
|
-
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead
|
|
64260
|
+
"title": "With footer (totals row)",
|
|
64261
|
+
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead Class=\"text-right\">Amount</TableHead>\n </TableRow>\n </TableHeader>\n <TableBody>\n @foreach (var invoice in _invoices.Take(3))\n {\n <TableRow>\n <TableCell Class=\"font-medium\">@invoice.Id</TableCell>\n <TableCell>@invoice.Status</TableCell>\n <TableCell Class=\"text-right\">@invoice.Amount</TableCell>\n </TableRow>\n }\n </TableBody>\n <TableFooter>\n <TableRow>\n <TableCell Class=\"font-medium\">Total</TableCell>\n <TableCell></TableCell>\n <TableCell Class=\"text-right\">$750.00</TableCell>\n </TableRow>\n </TableFooter>\n</Table>"
|
|
63872
64262
|
}
|
|
63873
64263
|
],
|
|
63874
64264
|
"subComponents": {
|
|
@@ -65233,8 +65623,8 @@
|
|
|
65233
65623
|
"code": "<TagInput @bind-Tags=\"_tags\" MaxTags=\"3\" />"
|
|
65234
65624
|
},
|
|
65235
65625
|
{
|
|
65236
|
-
"title": "
|
|
65237
|
-
"code": "
|
|
65626
|
+
"title": "Disabled",
|
|
65627
|
+
"code": "<TagInput @bind-Tags=\"_tagsDisabled\" Disabled=\"true\" Placeholder=\"Cannot edit...\" Class=\"max-w-md\" />"
|
|
65238
65628
|
}
|
|
65239
65629
|
],
|
|
65240
65630
|
"subComponents": {},
|
|
@@ -67515,6 +67905,10 @@
|
|
|
67515
67905
|
"title": "Single Selection",
|
|
67516
67906
|
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\">\n <ToggleGroupItem Value=\"bold\" AriaLabel=\"Bold\">\n <SvgGlyph Svg=\"@(Lucide.Bold)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"italic\" AriaLabel=\"Italic\">\n <SvgGlyph Svg=\"@(Lucide.Italic)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"underline\" AriaLabel=\"Underline\">\n <SvgGlyph Svg=\"@(Lucide.Underline)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n</ToggleGroup>"
|
|
67517
67907
|
},
|
|
67908
|
+
{
|
|
67909
|
+
"title": "Multiple Selection",
|
|
67910
|
+
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Multiple\">\n <ToggleGroupItem Value=\"bold\" AriaLabel=\"Bold\">\n <SvgGlyph Svg=\"@(Lucide.Bold)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"italic\" AriaLabel=\"Italic\">\n <SvgGlyph Svg=\"@(Lucide.Italic)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"underline\" AriaLabel=\"Underline\">\n <SvgGlyph Svg=\"@(Lucide.Underline)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n</ToggleGroup>"
|
|
67911
|
+
},
|
|
67518
67912
|
{
|
|
67519
67913
|
"title": "Outline Variant",
|
|
67520
67914
|
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Variant=\"ToggleGroup.ToggleGroupVariant.Outline\">\n <ToggleGroupItem Value=\"left\" AriaLabel=\"Align left\">\n <SvgGlyph Svg=\"@(Lucide.AlignLeft)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"center\" AriaLabel=\"Align center\">\n <SvgGlyph Svg=\"@(Lucide.AlignCenter)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"right\" AriaLabel=\"Align right\">\n <SvgGlyph Svg=\"@(Lucide.AlignRight)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n</ToggleGroup>"
|
|
@@ -67522,10 +67916,6 @@
|
|
|
67522
67916
|
{
|
|
67523
67917
|
"title": "Sizes",
|
|
67524
67918
|
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xxs\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xs\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Sm\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Lg\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xl\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xxl\">\n ...\n</ToggleGroup>"
|
|
67525
|
-
},
|
|
67526
|
-
{
|
|
67527
|
-
"title": "Disabled Items",
|
|
67528
|
-
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Multiple\">\n <ToggleGroupItem Value=\"bold\" AriaLabel=\"Bold\">\n <SvgGlyph Svg=\"@(Lucide.Bold)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"italic\" Disabled=\"true\" AriaLabel=\"Italic\">\n <SvgGlyph Svg=\"@(Lucide.Italic)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"underline\" AriaLabel=\"Underline\">\n <SvgGlyph Svg=\"@(Lucide.Underline)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n</ToggleGroup>"
|
|
67529
67919
|
}
|
|
67530
67920
|
],
|
|
67531
67921
|
"subComponents": {
|
|
@@ -67769,8 +68159,8 @@
|
|
|
67769
68159
|
"code": "<!-- VisibleCount=3: first 3 items inline, rest collapse into ⋯ menu -->\n<Toolbar Overflow=\"true\" VisibleCount=\"3\">\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Bold</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Italic</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Underline</Button>\n <ToolbarSeparator />\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Left</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Center</Button>\n</Toolbar>"
|
|
67770
68160
|
},
|
|
67771
68161
|
{
|
|
67772
|
-
"title": "
|
|
67773
|
-
"code": "<Toolbar>\n <
|
|
68162
|
+
"title": "Vertical Orientation",
|
|
68163
|
+
"code": "<Toolbar Orientation=\"Toolbar.ToolbarOrientation.Vertical\">\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.Bold)\" class=\"h-4 w-4\" />\n </Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.Italic)\" class=\"h-4 w-4\" />\n </Button>\n <ToolbarSeparator />\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.Underline)\" class=\"h-4 w-4\" />\n </Button>\n</Toolbar>"
|
|
67774
68164
|
}
|
|
67775
68165
|
],
|
|
67776
68166
|
"subComponents": {
|
|
@@ -68813,6 +69203,10 @@
|
|
|
68813
69203
|
{
|
|
68814
69204
|
"title": "With Search",
|
|
68815
69205
|
"code": "<Transfer @bind-SourceItems=\"_source\" @bind-TargetItems=\"_target\"\n SourceTitle=\"Users\" TargetTitle=\"Team\" ShowSearch=\"true\" />"
|
|
69206
|
+
},
|
|
69207
|
+
{
|
|
69208
|
+
"title": "Disabled items, no select-all",
|
|
69209
|
+
"code": "<Transfer @bind-SourceItems=\"_source4\" @bind-TargetItems=\"_target4\"\n SourceTitle=\"Available\" TargetTitle=\"Selected\"\n ShowSelectAll=\"false\" />"
|
|
68816
69210
|
}
|
|
68817
69211
|
],
|
|
68818
69212
|
"subComponents": {},
|
|
@@ -69083,6 +69477,7 @@
|
|
|
69083
69477
|
"ariaAttributes": [
|
|
69084
69478
|
"aria-checked",
|
|
69085
69479
|
"aria-describedby",
|
|
69480
|
+
"aria-disabled",
|
|
69086
69481
|
"aria-expanded",
|
|
69087
69482
|
"aria-haspopup",
|
|
69088
69483
|
"aria-invalid",
|
|
@@ -69332,12 +69727,12 @@
|
|
|
69332
69727
|
"code": "<TreeView TItem=\"string\" Items=\"_items\" ExpandOnRowClick=\"false\" />"
|
|
69333
69728
|
},
|
|
69334
69729
|
{
|
|
69335
|
-
"title": "
|
|
69336
|
-
"code": "<TreeView TItem=\"string\" Items=\"
|
|
69730
|
+
"title": "Expanded by Default (ExpandAll)",
|
|
69731
|
+
"code": "<TreeView TItem=\"string\" Items=\"_basicItems\" ExpandAll=\"true\" Class=\"max-w-sm\" />"
|
|
69337
69732
|
},
|
|
69338
69733
|
{
|
|
69339
|
-
"title": "With
|
|
69340
|
-
"code": "<TreeView TItem=\"string\" Items=\"_items\"
|
|
69734
|
+
"title": "With Checkboxes (Tri-state)",
|
|
69735
|
+
"code": "<TreeView TItem=\"string\" Items=\"_items\" ShowCheckboxes=\"true\" CascadeCheck=\"true\" />"
|
|
69341
69736
|
}
|
|
69342
69737
|
],
|
|
69343
69738
|
"subComponents": {
|
|
@@ -69859,6 +70254,10 @@
|
|
|
69859
70254
|
"title": "Basic Watermark",
|
|
69860
70255
|
"code": "<Watermark Text=\"Confidential\">\n <Stack Gap=\"4\" Class=\"p-8\">\n <Lumeo.Text Color=\"foreground\">This document contains sensitive information.</Lumeo.Text>\n </Stack>\n</Watermark>"
|
|
69861
70256
|
},
|
|
70257
|
+
{
|
|
70258
|
+
"title": "Image Watermark",
|
|
70259
|
+
"code": "<Watermark Image=\"@_logoDataUri\" ImageWidth=\"90\" ImageHeight=\"48\" Opacity=\"0.12\" Class=\"rounded-lg border border-border/40\">\n <Stack Gap=\"2\" Class=\"p-8\">\n <Heading Level=\"3\" Size=\"lg\">Branded Preview</Heading>\n <Lumeo.Text Color=\"muted\">A tiled image watermark repeats edge-to-edge across the content instead of text.</Lumeo.Text>\n </Stack>\n</Watermark>"
|
|
70260
|
+
},
|
|
69862
70261
|
{
|
|
69863
70262
|
"title": "Custom Settings",
|
|
69864
70263
|
"code": "<Watermark Text=\"DRAFT\" Rotation=\"-30\" FontSize=\"20\" Opacity=\"0.15\" Gap=\"120\">\n <Stack Gap=\"2\" Class=\"p-8\">\n <Heading Level=\"3\" Size=\"lg\">Draft Document</Heading>\n <Lumeo.Text Color=\"muted\">This is a work in progress.</Lumeo.Text>\n </Stack>\n</Watermark>"
|
|
@@ -70077,6 +70476,10 @@
|
|
|
70077
70476
|
{
|
|
70078
70477
|
"title": "Non-Resizable Window",
|
|
70079
70478
|
"code": "<Window @bind-Open=\"_open\" Title=\"Fixed Panel\" Resizable=\"false\">\n <p class=\"text-sm text-muted-foreground\">This window has a fixed size.</p>\n</Window>"
|
|
70479
|
+
},
|
|
70480
|
+
{
|
|
70481
|
+
"title": "Minimal Controls (close only, non-draggable)",
|
|
70482
|
+
"code": "<div class=\"relative h-64 border border-border/40 rounded-lg overflow-hidden bg-muted/20\">\n <Button @onclick=\"@(() => _win4Open = true)\" Class=\"m-4\">Open Minimal Window</Button>\n <Window Open=\"_win4Open\"\n OpenChanged=\"@((v) => _win4Open = v)\"\n Title=\"Pinned Panel\"\n Width=\"300px\"\n Height=\"160px\"\n Draggable=\"false\"\n ShowMinimize=\"false\"\n ShowMaximize=\"false\"\n InitialX=\"20\"\n InitialY=\"20\">\n <p class=\"text-sm text-muted-foreground\">This window is pinned (not draggable) and only shows the close button.</p>\n </Window>\n</div>"
|
|
70080
70483
|
}
|
|
70081
70484
|
],
|
|
70082
70485
|
"subComponents": {},
|