@lumeo-ui/mcp-server 5.13.0 → 5.15.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 +563 -113
- package/src/registry.json +37 -29
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.15.0",
|
|
4
|
+
"generated": "2026-11-21T21:57:40.0269658Z",
|
|
5
5
|
"stats": {
|
|
6
6
|
"componentCount": 169,
|
|
7
|
-
"totalParameters":
|
|
8
|
-
"totalEnums":
|
|
9
|
-
"totalRecords":
|
|
7
|
+
"totalParameters": 5051,
|
|
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?>",
|
|
@@ -3330,25 +3360,25 @@
|
|
|
3330
3360
|
"name": "GanttInitAsync",
|
|
3331
3361
|
"returnType": "Task<string>",
|
|
3332
3362
|
"signature": "GanttInitAsync(Microsoft.AspNetCore.Components.ElementReference el, object dotNetRef, object options)",
|
|
3333
|
-
"summary":
|
|
3363
|
+
"summary": "Legacy gantt-v2 interop."
|
|
3334
3364
|
},
|
|
3335
3365
|
{
|
|
3336
3366
|
"name": "GanttSetTasksAsync",
|
|
3337
3367
|
"returnType": "Task",
|
|
3338
3368
|
"signature": "GanttSetTasksAsync(string id, IEnumerable<object> tasks)",
|
|
3339
|
-
"summary":
|
|
3369
|
+
"summary": "Legacy gantt-v2 interop."
|
|
3340
3370
|
},
|
|
3341
3371
|
{
|
|
3342
3372
|
"name": "GanttChangeViewModeAsync",
|
|
3343
3373
|
"returnType": "Task",
|
|
3344
3374
|
"signature": "GanttChangeViewModeAsync(string id, string mode)",
|
|
3345
|
-
"summary":
|
|
3375
|
+
"summary": "Legacy gantt-v2 interop."
|
|
3346
3376
|
},
|
|
3347
3377
|
{
|
|
3348
3378
|
"name": "GanttDestroyAsync",
|
|
3349
3379
|
"returnType": "Task",
|
|
3350
3380
|
"signature": "GanttDestroyAsync(string id)",
|
|
3351
|
-
"summary":
|
|
3381
|
+
"summary": "Legacy gantt-v2 interop."
|
|
3352
3382
|
},
|
|
3353
3383
|
{
|
|
3354
3384
|
"name": "GanttRefreshAsync",
|
|
@@ -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": {
|
|
@@ -5391,7 +5421,7 @@
|
|
|
5391
5421
|
},
|
|
5392
5422
|
{
|
|
5393
5423
|
"title": "Interactive: Anchor & Offset",
|
|
5394
|
-
"code": "@* Top anchor *@\n<Affix OffsetTop=\"80\">\n <Badge Class=\"px-4 py-1.5 text-sm shadow\">Affixed — Top 80px</Badge>\n</Affix>\n\n@* Bottom anchor *@\n<Affix OffsetBottom=\"40\">\n <Badge Class=\"px-4 py-1.5 text-sm shadow\">Affixed — Bottom 40px</Badge>\n</Affix>"
|
|
5424
|
+
"code": "@* Top anchor, pinned inside the scroll container *@\n<Affix OffsetTop=\"80\" Target=\"#my-scroll-box\">\n <Badge Class=\"px-4 py-1.5 text-sm shadow\">Affixed — Top 80px</Badge>\n</Affix>\n\n@* Bottom anchor *@\n<Affix OffsetBottom=\"40\" Target=\"#my-scroll-box\">\n <Badge Class=\"px-4 py-1.5 text-sm shadow\">Affixed — Bottom 40px</Badge>\n</Affix>"
|
|
5395
5425
|
},
|
|
5396
5426
|
{
|
|
5397
5427
|
"title": "Pinned within a target container",
|
|
@@ -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": {},
|
|
@@ -20974,6 +21043,15 @@
|
|
|
20974
21043
|
"captureUnmatched": false,
|
|
20975
21044
|
"isEditorRequired": false
|
|
20976
21045
|
},
|
|
21046
|
+
{
|
|
21047
|
+
"name": "SyntaxHighlighting",
|
|
21048
|
+
"type": "bool",
|
|
21049
|
+
"default": "true",
|
|
21050
|
+
"description": "Colours tokens (keywords, strings, numbers, comments, types, ...) for the chosen Language. Default true. The palette is built from the active Lumeo theme's CSS variables, so it follows every theme and both light and dark mode. Set to false for a plain monochrome editor. Toggling at runtime reconfigures the editor in place without losing selection or scroll position.",
|
|
21051
|
+
"isCascading": false,
|
|
21052
|
+
"captureUnmatched": false,
|
|
21053
|
+
"isEditorRequired": false
|
|
21054
|
+
},
|
|
20977
21055
|
{
|
|
20978
21056
|
"name": "TabSize",
|
|
20979
21057
|
"type": "int",
|
|
@@ -21058,7 +21136,20 @@
|
|
|
21058
21136
|
"--color-card",
|
|
21059
21137
|
"--radius"
|
|
21060
21138
|
],
|
|
21061
|
-
"examples": [
|
|
21139
|
+
"examples": [
|
|
21140
|
+
{
|
|
21141
|
+
"title": "Minimap",
|
|
21142
|
+
"code": "<CodeEditor @bind-Value=\"_minimap\" Language=\"csharp\" Height=\"240px\" ShowMinimap=\"true\" />"
|
|
21143
|
+
},
|
|
21144
|
+
{
|
|
21145
|
+
"title": "No line numbers",
|
|
21146
|
+
"code": "<CodeEditor @bind-Value=\"_noLines\" Language=\"markdown\" Height=\"200px\" LineNumbers=\"false\" />"
|
|
21147
|
+
},
|
|
21148
|
+
{
|
|
21149
|
+
"title": "Placeholder (empty editor)",
|
|
21150
|
+
"code": "<CodeEditor Language=\"json\" Height=\"160px\" Placeholder=\"Paste your JSON here...\" />"
|
|
21151
|
+
}
|
|
21152
|
+
],
|
|
21062
21153
|
"subComponents": {},
|
|
21063
21154
|
"a11y": {
|
|
21064
21155
|
"roles": [
|
|
@@ -21191,7 +21282,7 @@
|
|
|
21191
21282
|
"examples": [
|
|
21192
21283
|
{
|
|
21193
21284
|
"title": "Default",
|
|
21194
|
-
"code": "<Collapsible @bind-Open=\"_isOpen\">\n <div class=\"flex items-center justify-between\">\n <h4 class=\"text-sm font-semibold\">Starred Repositories</h4>\n <CollapsibleTrigger>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.ChevronDown)\" class=\"h-4 w-4\" />\n </Button>\n </CollapsibleTrigger>\n </div>\n <CollapsibleContent>\n <div class=\"rounded-md border px-4 py-2 text-sm\"
|
|
21285
|
+
"code": "<Collapsible @bind-Open=\"_isOpen\">\n <div class=\"flex items-center justify-between\">\n <h4 class=\"text-sm font-semibold\">Starred Repositories</h4>\n <CollapsibleTrigger>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.ChevronDown)\" class=\"h-4 w-4\" />\n </Button>\n </CollapsibleTrigger>\n </div>\n @* Outside CollapsibleContent: always visible, a preview *@\n <div class=\"rounded-md border px-4 py-2 text-sm\">@shadcn/ui</div>\n <CollapsibleContent>\n <div class=\"rounded-md border px-4 py-2 text-sm\">@radix-ui/primitives</div>\n </CollapsibleContent>\n</Collapsible>"
|
|
21195
21286
|
},
|
|
21196
21287
|
{
|
|
21197
21288
|
"title": "Initially Open",
|
|
@@ -21199,7 +21290,7 @@
|
|
|
21199
21290
|
},
|
|
21200
21291
|
{
|
|
21201
21292
|
"title": "Sidebar Section",
|
|
21202
|
-
"code": "<Collapsible @bind-Open=\"_isOpen\">\n <CollapsibleTrigger>\n <div class=\"flex items-center justify-between px-
|
|
21293
|
+
"code": "<Collapsible @bind-Open=\"_isOpen\">\n <CollapsibleTrigger>\n <div class=\"flex items-center justify-between w-full px-4 py-2 hover:bg-accent cursor-pointer\">\n <div class=\"flex items-center gap-2 text-sm font-medium\">\n <SvgGlyph Svg=\"@(Lucide.Settings)\" class=\"h-4 w-4\" /> Settings\n </div>\n <SvgGlyph Svg=\"@(Lucide.ChevronDown)\" class=\"@($\"h-4 w-4 transition-transform {(_isOpen ? \\\"rotate-180\\\" : \\\"\\\")}\")}\" />\n </div>\n </CollapsibleTrigger>\n <CollapsibleContent>\n <div class=\"pl-6 mt-1 space-y-1\">\n <div class=\"px-2 py-1.5 text-sm text-muted-foreground\">General</div>\n <div class=\"px-2 py-1.5 text-sm text-muted-foreground\">Security</div>\n <div class=\"px-2 py-1.5 text-sm text-muted-foreground\">Notifications</div>\n </div>\n </CollapsibleContent>\n</Collapsible>"
|
|
21203
21294
|
},
|
|
21204
21295
|
{
|
|
21205
21296
|
"title": "Disabled",
|
|
@@ -23132,6 +23223,10 @@
|
|
|
23132
23223
|
{
|
|
23133
23224
|
"title": "Custom Colors",
|
|
23134
23225
|
"code": "<Confetti @ref=\"_confettiRef\"\n Colors=\"@(new[] { \"#ff595e\", \"#6a4c93\", \"#1982c4\" })\">\n <Button OnClick=\"@(() => _confettiRef!.Fire())\">Custom Colors</Button>\n</Confetti>"
|
|
23226
|
+
},
|
|
23227
|
+
{
|
|
23228
|
+
"title": "Custom Origin & Spread",
|
|
23229
|
+
"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
23230
|
}
|
|
23136
23231
|
],
|
|
23137
23232
|
"subComponents": {},
|
|
@@ -23776,12 +23871,12 @@
|
|
|
23776
23871
|
"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
23872
|
},
|
|
23778
23873
|
{
|
|
23779
|
-
"title": "
|
|
23780
|
-
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <
|
|
23874
|
+
"title": "Checkbox and Radio Items",
|
|
23875
|
+
"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
23876
|
},
|
|
23782
23877
|
{
|
|
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-
|
|
23878
|
+
"title": "File Actions",
|
|
23879
|
+
"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
23880
|
}
|
|
23786
23881
|
],
|
|
23787
23882
|
"subComponents": {
|
|
@@ -25790,19 +25885,19 @@
|
|
|
25790
25885
|
"examples": [
|
|
25791
25886
|
{
|
|
25792
25887
|
"title": "Basic DataGrid",
|
|
25793
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25888
|
+
"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
25889
|
},
|
|
25795
25890
|
{
|
|
25796
25891
|
"title": "Column Groups + Footer Aggregates",
|
|
25797
|
-
"code": "
|
|
25892
|
+
"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
25893
|
},
|
|
25799
25894
|
{
|
|
25800
25895
|
"title": "Toolbar, Search & Filtering",
|
|
25801
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25896
|
+
"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
25897
|
},
|
|
25803
25898
|
{
|
|
25804
25899
|
"title": "Toolbar with Internal Scroll",
|
|
25805
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25900
|
+
"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
25901
|
}
|
|
25807
25902
|
],
|
|
25808
25903
|
"subComponents": {
|
|
@@ -29107,6 +29202,15 @@
|
|
|
29107
29202
|
"captureUnmatched": false,
|
|
29108
29203
|
"isEditorRequired": false
|
|
29109
29204
|
},
|
|
29205
|
+
{
|
|
29206
|
+
"name": "Culture",
|
|
29207
|
+
"type": "System.Globalization.CultureInfo?",
|
|
29208
|
+
"default": null,
|
|
29209
|
+
"description": "Overrides CurrentCulture for date formatting, month/weekday names and digits. Forwarded to the inner DatePicker. Leave null to honour ASP.NET request localization.",
|
|
29210
|
+
"isCascading": false,
|
|
29211
|
+
"captureUnmatched": false,
|
|
29212
|
+
"isEditorRequired": false
|
|
29213
|
+
},
|
|
29110
29214
|
{
|
|
29111
29215
|
"name": "Presets",
|
|
29112
29216
|
"type": "List<DateRangePreset>?",
|
|
@@ -29519,6 +29623,15 @@
|
|
|
29519
29623
|
"captureUnmatched": false,
|
|
29520
29624
|
"isEditorRequired": false
|
|
29521
29625
|
},
|
|
29626
|
+
{
|
|
29627
|
+
"name": "CalendarSystem",
|
|
29628
|
+
"type": "CalendarSystem",
|
|
29629
|
+
"default": "CalendarSystem.Gregorian",
|
|
29630
|
+
"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.",
|
|
29631
|
+
"isCascading": false,
|
|
29632
|
+
"captureUnmatched": false,
|
|
29633
|
+
"isEditorRequired": false
|
|
29634
|
+
},
|
|
29522
29635
|
{
|
|
29523
29636
|
"name": "Disabled",
|
|
29524
29637
|
"type": "bool",
|
|
@@ -29631,7 +29744,16 @@
|
|
|
29631
29744
|
"description": "Raised alongside ValueChanged with the offset-aware instant (DST-adjusted for TimeZone) whenever the picked value changes."
|
|
29632
29745
|
}
|
|
29633
29746
|
],
|
|
29634
|
-
"enums": [
|
|
29747
|
+
"enums": [
|
|
29748
|
+
{
|
|
29749
|
+
"name": "CalendarSystem",
|
|
29750
|
+
"values": [
|
|
29751
|
+
"Gregorian",
|
|
29752
|
+
"Jalali"
|
|
29753
|
+
],
|
|
29754
|
+
"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."
|
|
29755
|
+
}
|
|
29756
|
+
],
|
|
29635
29757
|
"records": [],
|
|
29636
29758
|
"gotchas": [],
|
|
29637
29759
|
"cssVars": [
|
|
@@ -30184,8 +30306,8 @@
|
|
|
30184
30306
|
"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
30307
|
},
|
|
30186
30308
|
{
|
|
30187
|
-
"title": "
|
|
30188
|
-
"code": "<Dialog @bind-Open=\"
|
|
30309
|
+
"title": "Scrollable Content",
|
|
30310
|
+
"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
30311
|
}
|
|
30190
30312
|
],
|
|
30191
30313
|
"subComponents": {
|
|
@@ -30822,6 +30944,10 @@
|
|
|
30822
30944
|
{
|
|
30823
30945
|
"title": "Custom Scale & Radius",
|
|
30824
30946
|
"code": "<Dock MaxScale=\"2.2\" MagnifyRadius=\"120\">\n <!-- dock items with SvgGlyph icons -->\n</Dock>"
|
|
30947
|
+
},
|
|
30948
|
+
{
|
|
30949
|
+
"title": "MaxScale & MagnifyRadius (interactive)",
|
|
30950
|
+
"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
30951
|
}
|
|
30826
30952
|
],
|
|
30827
30953
|
"subComponents": {},
|
|
@@ -31632,12 +31758,12 @@
|
|
|
31632
31758
|
"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
31759
|
},
|
|
31634
31760
|
{
|
|
31635
|
-
"title": "
|
|
31636
|
-
"code": "<DropdownButton Text=\"
|
|
31761
|
+
"title": "Ghost and Link Variants",
|
|
31762
|
+
"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
31763
|
},
|
|
31638
31764
|
{
|
|
31639
|
-
"title": "
|
|
31640
|
-
"code": "<DropdownButton Text=\"
|
|
31765
|
+
"title": "Sizes",
|
|
31766
|
+
"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
31767
|
}
|
|
31642
31768
|
],
|
|
31643
31769
|
"subComponents": {},
|
|
@@ -32817,6 +32943,10 @@
|
|
|
32817
32943
|
"title": "With Icon and Action",
|
|
32818
32944
|
"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
32945
|
},
|
|
32946
|
+
{
|
|
32947
|
+
"title": "Custom Illustration",
|
|
32948
|
+
"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>"
|
|
32949
|
+
},
|
|
32820
32950
|
{
|
|
32821
32951
|
"title": "Inbox Empty",
|
|
32822
32952
|
"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 +33051,10 @@
|
|
|
32921
33051
|
"title": "Two Columns",
|
|
32922
33052
|
"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
33053
|
},
|
|
33054
|
+
{
|
|
33055
|
+
"title": "Four Columns",
|
|
33056
|
+
"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>"
|
|
33057
|
+
},
|
|
32924
33058
|
{
|
|
32925
33059
|
"title": "Standalone Feature Item",
|
|
32926
33060
|
"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 +33899,12 @@
|
|
|
33765
33899
|
"--color-ring",
|
|
33766
33900
|
"--radius"
|
|
33767
33901
|
],
|
|
33768
|
-
"examples": [
|
|
33902
|
+
"examples": [
|
|
33903
|
+
{
|
|
33904
|
+
"title": "Lazy loading folders",
|
|
33905
|
+
"code": "<div style=\"height: 420px\">\n <FileManager Root=\"@_lazyTree\"\n @bind-CurrentPath=\"_currentPathLazy\"\n @bind-SelectedNode=\"_selectedNodeLazy\"\n LoadChildren=\"@LoadFolderChildren\" />\n</div>"
|
|
33906
|
+
}
|
|
33907
|
+
],
|
|
33769
33908
|
"subComponents": {},
|
|
33770
33909
|
"a11y": {
|
|
33771
33910
|
"roles": [
|
|
@@ -34481,7 +34620,16 @@
|
|
|
34481
34620
|
"--color-ring",
|
|
34482
34621
|
"--radius"
|
|
34483
34622
|
],
|
|
34484
|
-
"examples": [
|
|
34623
|
+
"examples": [
|
|
34624
|
+
{
|
|
34625
|
+
"title": "Toolbar without download button",
|
|
34626
|
+
"code": "<div class=\"@DemoBoxClass\">\n <FileViewer Src=\"sample-files/sample.svg\"\n ShowDownload=\"false\"\n Class=\"h-full\" />\n</div>"
|
|
34627
|
+
},
|
|
34628
|
+
{
|
|
34629
|
+
"title": "Toolbar without file name",
|
|
34630
|
+
"code": "<div class=\"@DemoBoxClass\">\n <FileViewer Src=\"sample-files/sample.svg\"\n ShowFileName=\"false\"\n Class=\"h-full\" />\n</div>"
|
|
34631
|
+
}
|
|
34632
|
+
],
|
|
34485
34633
|
"subComponents": {},
|
|
34486
34634
|
"a11y": {
|
|
34487
34635
|
"roles": [
|
|
@@ -36667,8 +36815,8 @@
|
|
|
36667
36815
|
"code": "<Flex Align=\"center\" Justify=\"center\" Class=\"h-32 w-full\">\n <Text Color=\"muted\">Centered content</Text>\n</Flex>"
|
|
36668
36816
|
},
|
|
36669
36817
|
{
|
|
36670
|
-
"title": "
|
|
36671
|
-
"code": "<Flex Gap=\"
|
|
36818
|
+
"title": "Column Direction",
|
|
36819
|
+
"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
36820
|
}
|
|
36673
36821
|
],
|
|
36674
36822
|
"subComponents": {},
|
|
@@ -38252,12 +38400,12 @@
|
|
|
38252
38400
|
"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
38401
|
},
|
|
38254
38402
|
{
|
|
38255
|
-
"title": "
|
|
38256
|
-
"code": "<
|
|
38403
|
+
"title": "Horizontal Field Layout",
|
|
38404
|
+
"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
38405
|
},
|
|
38258
38406
|
{
|
|
38259
|
-
"title": "
|
|
38260
|
-
"code": "<FormField Name=\"
|
|
38407
|
+
"title": "Checkbox and Switch with Validation",
|
|
38408
|
+
"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
38409
|
}
|
|
38262
38410
|
],
|
|
38263
38411
|
"subComponents": {
|
|
@@ -38648,7 +38796,7 @@
|
|
|
38648
38796
|
"name": "Gantt",
|
|
38649
38797
|
"category": "Data Display",
|
|
38650
38798
|
"subcategory": "Lists & Trees",
|
|
38651
|
-
"description": "
|
|
38799
|
+
"description": "DEPRECATED, removed in 6.0 — use GanttChart. The legacy SVG timeline (gantt-v2).",
|
|
38652
38800
|
"nugetPackage": "Lumeo.Gantt",
|
|
38653
38801
|
"files": [
|
|
38654
38802
|
"UI/Gantt/Gantt.razor",
|
|
@@ -38935,6 +39083,7 @@
|
|
|
38935
39083
|
"UI/GanttChart/GanttArrowLayer.razor",
|
|
38936
39084
|
"UI/GanttChart/GanttArrowRouting.cs",
|
|
38937
39085
|
"UI/GanttChart/GanttBar.razor",
|
|
39086
|
+
"UI/GanttChart/GanttCalendar.cs",
|
|
38938
39087
|
"UI/GanttChart/GanttChart.razor",
|
|
38939
39088
|
"UI/GanttChart/GanttColorModel.cs",
|
|
38940
39089
|
"UI/GanttChart/GanttNav.razor",
|
|
@@ -39027,7 +39176,25 @@
|
|
|
39027
39176
|
"name": "FirstDayOfWeek",
|
|
39028
39177
|
"type": "DayOfWeek?",
|
|
39029
39178
|
"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.",
|
|
39179
|
+
"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).",
|
|
39180
|
+
"isCascading": false,
|
|
39181
|
+
"captureUnmatched": false,
|
|
39182
|
+
"isEditorRequired": false
|
|
39183
|
+
},
|
|
39184
|
+
{
|
|
39185
|
+
"name": "CalendarSystem",
|
|
39186
|
+
"type": "CalendarSystem",
|
|
39187
|
+
"default": "CalendarSystem.Gregorian",
|
|
39188
|
+
"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.",
|
|
39189
|
+
"isCascading": false,
|
|
39190
|
+
"captureUnmatched": false,
|
|
39191
|
+
"isEditorRequired": false
|
|
39192
|
+
},
|
|
39193
|
+
{
|
|
39194
|
+
"name": "Culture",
|
|
39195
|
+
"type": "CultureInfo?",
|
|
39196
|
+
"default": null,
|
|
39197
|
+
"description": "Culture used for month / weekday names, digits and date text. Null uses CurrentCulture.",
|
|
39031
39198
|
"isCascading": false,
|
|
39032
39199
|
"captureUnmatched": false,
|
|
39033
39200
|
"isEditorRequired": false
|
|
@@ -39477,6 +39644,14 @@
|
|
|
39477
39644
|
}
|
|
39478
39645
|
],
|
|
39479
39646
|
"enums": [
|
|
39647
|
+
{
|
|
39648
|
+
"name": "CalendarSystem",
|
|
39649
|
+
"values": [
|
|
39650
|
+
"Gregorian",
|
|
39651
|
+
"Jalali"
|
|
39652
|
+
],
|
|
39653
|
+
"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."
|
|
39654
|
+
},
|
|
39480
39655
|
{
|
|
39481
39656
|
"name": "GanttViewMode",
|
|
39482
39657
|
"values": [
|
|
@@ -39567,6 +39742,15 @@
|
|
|
39567
39742
|
"captureUnmatched": false,
|
|
39568
39743
|
"isEditorRequired": false
|
|
39569
39744
|
},
|
|
39745
|
+
{
|
|
39746
|
+
"name": "CalendarSystem",
|
|
39747
|
+
"type": "CalendarSystem",
|
|
39748
|
+
"default": "CalendarSystem.Gregorian",
|
|
39749
|
+
"description": "Calendar system the scale uses (bar geometry depends on it).",
|
|
39750
|
+
"isCascading": false,
|
|
39751
|
+
"captureUnmatched": false,
|
|
39752
|
+
"isEditorRequired": false
|
|
39753
|
+
},
|
|
39570
39754
|
{
|
|
39571
39755
|
"name": "BarHeight",
|
|
39572
39756
|
"type": "int",
|
|
@@ -39737,6 +39921,24 @@
|
|
|
39737
39921
|
"captureUnmatched": false,
|
|
39738
39922
|
"isEditorRequired": false
|
|
39739
39923
|
},
|
|
39924
|
+
{
|
|
39925
|
+
"name": "CalendarSystem",
|
|
39926
|
+
"type": "CalendarSystem",
|
|
39927
|
+
"default": "CalendarSystem.Gregorian",
|
|
39928
|
+
"description": "Calendar system the tooltip / aria dates are formatted in.",
|
|
39929
|
+
"isCascading": false,
|
|
39930
|
+
"captureUnmatched": false,
|
|
39931
|
+
"isEditorRequired": false
|
|
39932
|
+
},
|
|
39933
|
+
{
|
|
39934
|
+
"name": "Culture",
|
|
39935
|
+
"type": "CultureInfo?",
|
|
39936
|
+
"default": null,
|
|
39937
|
+
"description": "Culture for month names and digits; null uses CurrentCulture.",
|
|
39938
|
+
"isCascading": false,
|
|
39939
|
+
"captureUnmatched": false,
|
|
39940
|
+
"isEditorRequired": false
|
|
39941
|
+
},
|
|
39740
39942
|
{
|
|
39741
39943
|
"name": "Selected",
|
|
39742
39944
|
"type": "bool",
|
|
@@ -40464,6 +40666,24 @@
|
|
|
40464
40666
|
"captureUnmatched": false,
|
|
40465
40667
|
"isEditorRequired": false
|
|
40466
40668
|
},
|
|
40669
|
+
{
|
|
40670
|
+
"name": "CalendarSystem",
|
|
40671
|
+
"type": "CalendarSystem",
|
|
40672
|
+
"default": "CalendarSystem.Gregorian",
|
|
40673
|
+
"description": "Calendar system the scale is laid out in (see CalendarSystem).",
|
|
40674
|
+
"isCascading": false,
|
|
40675
|
+
"captureUnmatched": false,
|
|
40676
|
+
"isEditorRequired": false
|
|
40677
|
+
},
|
|
40678
|
+
{
|
|
40679
|
+
"name": "Culture",
|
|
40680
|
+
"type": "CultureInfo?",
|
|
40681
|
+
"default": null,
|
|
40682
|
+
"description": "Culture for month / weekday names and digits; null uses CurrentCulture.",
|
|
40683
|
+
"isCascading": false,
|
|
40684
|
+
"captureUnmatched": false,
|
|
40685
|
+
"isEditorRequired": false
|
|
40686
|
+
},
|
|
40467
40687
|
{
|
|
40468
40688
|
"name": "OffDays",
|
|
40469
40689
|
"type": "IReadOnlySet<DayOfWeek>?",
|
|
@@ -40849,6 +41069,24 @@
|
|
|
40849
41069
|
"captureUnmatched": false,
|
|
40850
41070
|
"isEditorRequired": false
|
|
40851
41071
|
},
|
|
41072
|
+
{
|
|
41073
|
+
"name": "CalendarSystem",
|
|
41074
|
+
"type": "CalendarSystem",
|
|
41075
|
+
"default": "CalendarSystem.Gregorian",
|
|
41076
|
+
"description": "Calendar system the date text is formatted in.",
|
|
41077
|
+
"isCascading": false,
|
|
41078
|
+
"captureUnmatched": false,
|
|
41079
|
+
"isEditorRequired": false
|
|
41080
|
+
},
|
|
41081
|
+
{
|
|
41082
|
+
"name": "Culture",
|
|
41083
|
+
"type": "CultureInfo?",
|
|
41084
|
+
"default": null,
|
|
41085
|
+
"description": "Culture for month names and digits; null uses CurrentCulture.",
|
|
41086
|
+
"isCascading": false,
|
|
41087
|
+
"captureUnmatched": false,
|
|
41088
|
+
"isEditorRequired": false
|
|
41089
|
+
},
|
|
40852
41090
|
{
|
|
40853
41091
|
"name": "TreeHeaderMenu",
|
|
40854
41092
|
"type": "RenderFragment?",
|
|
@@ -41423,12 +41661,12 @@
|
|
|
41423
41661
|
"code": "<Grid Columns=\"2\" Gap=\"4\" Class=\"md:grid-cols-4\">\n <div>1</div>\n <div>2</div>\n <!-- ... -->\n</Grid>"
|
|
41424
41662
|
},
|
|
41425
41663
|
{
|
|
41426
|
-
"title": "
|
|
41427
|
-
"code": "<Grid Columns=\"
|
|
41664
|
+
"title": "Responsive Parameter",
|
|
41665
|
+
"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
41666
|
},
|
|
41429
41667
|
{
|
|
41430
|
-
"title": "
|
|
41431
|
-
"code": "<Grid Columns=\"
|
|
41668
|
+
"title": "Different Gaps",
|
|
41669
|
+
"code": "<Grid Columns=\"3\" RowGap=\"6\" ColGap=\"2\">\n <div>1</div>\n <div>2</div>\n <!-- ... -->\n</Grid>"
|
|
41432
41670
|
}
|
|
41433
41671
|
],
|
|
41434
41672
|
"subComponents": {},
|
|
@@ -41701,8 +41939,8 @@
|
|
|
41701
41939
|
"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
41940
|
},
|
|
41703
41941
|
{
|
|
41704
|
-
"title": "
|
|
41705
|
-
"code": "<Hero Title=\"
|
|
41942
|
+
"title": "End Alignment",
|
|
41943
|
+
"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
41944
|
}
|
|
41707
41945
|
],
|
|
41708
41946
|
"subComponents": {},
|
|
@@ -41990,8 +42228,8 @@
|
|
|
41990
42228
|
"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
42229
|
},
|
|
41992
42230
|
{
|
|
41993
|
-
"title": "
|
|
41994
|
-
"code": "<
|
|
42231
|
+
"title": "Side placement",
|
|
42232
|
+
"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
42233
|
}
|
|
41996
42234
|
],
|
|
41997
42235
|
"subComponents": {
|
|
@@ -42746,12 +42984,12 @@
|
|
|
42746
42984
|
"code": "<Image Src=\"photo.jpg\" Preview=\"true\" />"
|
|
42747
42985
|
},
|
|
42748
42986
|
{
|
|
42749
|
-
"title": "
|
|
42750
|
-
"code": "<
|
|
42987
|
+
"title": "Lazy Loading",
|
|
42988
|
+
"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
42989
|
},
|
|
42752
42990
|
{
|
|
42753
|
-
"title": "
|
|
42754
|
-
"code": "<Image Src=\"
|
|
42991
|
+
"title": "Fallback on Error",
|
|
42992
|
+
"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
42993
|
}
|
|
42756
42994
|
],
|
|
42757
42995
|
"subComponents": {
|
|
@@ -44537,6 +44775,10 @@
|
|
|
44537
44775
|
"title": "Required Field",
|
|
44538
44776
|
"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
44777
|
},
|
|
44778
|
+
{
|
|
44779
|
+
"title": "Associated with For",
|
|
44780
|
+
"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>"
|
|
44781
|
+
},
|
|
44540
44782
|
{
|
|
44541
44783
|
"title": "Multiple Fields",
|
|
44542
44784
|
"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 +45483,12 @@
|
|
|
45241
45483
|
"--color-muted-foreground",
|
|
45242
45484
|
"--radius"
|
|
45243
45485
|
],
|
|
45244
|
-
"examples": [
|
|
45486
|
+
"examples": [
|
|
45487
|
+
{
|
|
45488
|
+
"title": "Map controls — Geolocate, Fullscreen, Scale, Search, Layers",
|
|
45489
|
+
"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>"
|
|
45490
|
+
}
|
|
45491
|
+
],
|
|
45245
45492
|
"subComponents": {
|
|
45246
45493
|
"MapArc": {
|
|
45247
45494
|
"componentName": "MapArc",
|
|
@@ -46330,6 +46577,10 @@
|
|
|
46330
46577
|
{
|
|
46331
46578
|
"title": "Fast Speed",
|
|
46332
46579
|
"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>"
|
|
46580
|
+
},
|
|
46581
|
+
{
|
|
46582
|
+
"title": "Vertical",
|
|
46583
|
+
"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
46584
|
}
|
|
46334
46585
|
],
|
|
46335
46586
|
"subComponents": {},
|
|
@@ -46716,6 +46967,15 @@
|
|
|
46716
46967
|
"isCascading": false,
|
|
46717
46968
|
"captureUnmatched": true,
|
|
46718
46969
|
"isEditorRequired": false
|
|
46970
|
+
},
|
|
46971
|
+
{
|
|
46972
|
+
"name": "Context",
|
|
46973
|
+
"type": "MegaMenu.MegaMenuContext?",
|
|
46974
|
+
"default": null,
|
|
46975
|
+
"description": null,
|
|
46976
|
+
"isCascading": true,
|
|
46977
|
+
"captureUnmatched": false,
|
|
46978
|
+
"isEditorRequired": false
|
|
46719
46979
|
}
|
|
46720
46980
|
],
|
|
46721
46981
|
"events": [],
|
|
@@ -46967,8 +47227,12 @@
|
|
|
46967
47227
|
"code": "<Mention @bind-Value=\"_text\" Options=\"@_channels\" Trigger='#' />"
|
|
46968
47228
|
},
|
|
46969
47229
|
{
|
|
46970
|
-
"title": "
|
|
46971
|
-
"code": "<
|
|
47230
|
+
"title": "Label, Required & Helper Text",
|
|
47231
|
+
"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\" />"
|
|
47232
|
+
},
|
|
47233
|
+
{
|
|
47234
|
+
"title": "Invalid State",
|
|
47235
|
+
"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
47236
|
}
|
|
46973
47237
|
],
|
|
46974
47238
|
"subComponents": {},
|
|
@@ -48142,12 +48406,12 @@
|
|
|
48142
48406
|
"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
48407
|
},
|
|
48144
48408
|
{
|
|
48145
|
-
"title": "
|
|
48146
|
-
"code": "<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <
|
|
48409
|
+
"title": "Active link (aria-current)",
|
|
48410
|
+
"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
48411
|
},
|
|
48148
48412
|
{
|
|
48149
|
-
"title": "
|
|
48150
|
-
"code": "<
|
|
48413
|
+
"title": "Mobile menu (Hamburger + Sheet)",
|
|
48414
|
+
"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
48415
|
}
|
|
48152
48416
|
],
|
|
48153
48417
|
"subComponents": {
|
|
@@ -49168,12 +49432,12 @@
|
|
|
49168
49432
|
"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
49433
|
},
|
|
49170
49434
|
{
|
|
49171
|
-
"title": "Custom
|
|
49172
|
-
"code": "<
|
|
49435
|
+
"title": "Custom Start Value",
|
|
49436
|
+
"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
49437
|
},
|
|
49174
49438
|
{
|
|
49175
|
-
"title": "Custom
|
|
49176
|
-
"code": "<NumberTicker Value=\"
|
|
49439
|
+
"title": "Custom Duration",
|
|
49440
|
+
"code": "<NumberTicker Value=\"250\" DurationMs=\"500\" Class=\"text-2xl font-bold\" />\n<NumberTicker Value=\"250\" DurationMs=\"3000\" Class=\"text-2xl font-bold\" />"
|
|
49177
49441
|
}
|
|
49178
49442
|
],
|
|
49179
49443
|
"subComponents": {},
|
|
@@ -49607,6 +49871,10 @@
|
|
|
49607
49871
|
"title": "Basic Overlay Form",
|
|
49608
49872
|
"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
49873
|
},
|
|
49874
|
+
{
|
|
49875
|
+
"title": "Validation (OnInvalidSubmit)",
|
|
49876
|
+
"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}"
|
|
49877
|
+
},
|
|
49610
49878
|
{
|
|
49611
49879
|
"title": "Prefilled edit + async save",
|
|
49612
49880
|
"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 +50034,8 @@
|
|
|
49766
50034
|
"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
50035
|
},
|
|
49768
50036
|
{
|
|
49769
|
-
"title": "
|
|
49770
|
-
"code": "<
|
|
50037
|
+
"title": "Data-driven (auto ellipsis)",
|
|
50038
|
+
"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
50039
|
}
|
|
49772
50040
|
],
|
|
49773
50041
|
"subComponents": {
|
|
@@ -50536,7 +50804,16 @@
|
|
|
50536
50804
|
"--color-ring",
|
|
50537
50805
|
"--radius"
|
|
50538
50806
|
],
|
|
50539
|
-
"examples": [
|
|
50807
|
+
"examples": [
|
|
50808
|
+
{
|
|
50809
|
+
"title": "Fit to width",
|
|
50810
|
+
"code": "<PdfViewer Src=\"@SamplePdfUrl\"\n FitMode=\"PdfViewer.PdfFitMode.FitWidth\"\n Class=\"h-[500px]\" />"
|
|
50811
|
+
},
|
|
50812
|
+
{
|
|
50813
|
+
"title": "Fit whole page",
|
|
50814
|
+
"code": "<PdfViewer Src=\"@SamplePdfUrl\"\n FitMode=\"PdfViewer.PdfFitMode.FitPage\"\n Class=\"h-[500px]\" />"
|
|
50815
|
+
}
|
|
50816
|
+
],
|
|
50540
50817
|
"subComponents": {},
|
|
50541
50818
|
"a11y": {
|
|
50542
50819
|
"roles": [
|
|
@@ -50913,8 +51190,8 @@
|
|
|
50913
51190
|
"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
51191
|
},
|
|
50915
51192
|
{
|
|
50916
|
-
"title": "
|
|
50917
|
-
"code": "<
|
|
51193
|
+
"title": "Average aggregation",
|
|
51194
|
+
"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
51195
|
}
|
|
50919
51196
|
],
|
|
50920
51197
|
"subComponents": {},
|
|
@@ -52107,8 +52384,12 @@
|
|
|
52107
52384
|
"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
52385
|
},
|
|
52109
52386
|
{
|
|
52110
|
-
"title": "
|
|
52111
|
-
"code": "<
|
|
52387
|
+
"title": "Character Counter",
|
|
52388
|
+
"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>"
|
|
52389
|
+
},
|
|
52390
|
+
{
|
|
52391
|
+
"title": "Built-in Attach Button",
|
|
52392
|
+
"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
52393
|
}
|
|
52113
52394
|
],
|
|
52114
52395
|
"subComponents": {},
|
|
@@ -52546,6 +52827,10 @@
|
|
|
52546
52827
|
{
|
|
52547
52828
|
"title": "Pre-populated nested groups",
|
|
52548
52829
|
"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}"
|
|
52830
|
+
},
|
|
52831
|
+
{
|
|
52832
|
+
"title": "Disallow Empty Groups",
|
|
52833
|
+
"code": "<QueryBuilder Fields=\"_fields\" @bind-Query=\"_noEmptyQuery\" AllowEmptyGroups=\"false\" />"
|
|
52549
52834
|
}
|
|
52550
52835
|
],
|
|
52551
52836
|
"subComponents": {
|
|
@@ -52842,8 +53127,12 @@
|
|
|
52842
53127
|
"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
53128
|
},
|
|
52844
53129
|
{
|
|
52845
|
-
"title": "
|
|
52846
|
-
"code": "<
|
|
53130
|
+
"title": "Card options (RadioGroupCard)",
|
|
53131
|
+
"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>"
|
|
53132
|
+
},
|
|
53133
|
+
{
|
|
53134
|
+
"title": "Item description & disabled",
|
|
53135
|
+
"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
53136
|
}
|
|
52848
53137
|
],
|
|
52849
53138
|
"subComponents": {
|
|
@@ -53880,6 +54169,7 @@
|
|
|
53880
54169
|
"UI/RichTextEditor/AiAction.cs",
|
|
53881
54170
|
"UI/RichTextEditor/AiActionMenu.razor",
|
|
53882
54171
|
"UI/RichTextEditor/BubbleMenu.razor",
|
|
54172
|
+
"UI/RichTextEditor/EditorFont.cs",
|
|
53883
54173
|
"UI/RichTextEditor/EditorImageRequest.cs",
|
|
53884
54174
|
"UI/RichTextEditor/EditorToolbar.razor",
|
|
53885
54175
|
"UI/RichTextEditor/EditorToolbarPreset.cs",
|
|
@@ -54041,6 +54331,15 @@
|
|
|
54041
54331
|
"captureUnmatched": false,
|
|
54042
54332
|
"isEditorRequired": false
|
|
54043
54333
|
},
|
|
54334
|
+
{
|
|
54335
|
+
"name": "Fonts",
|
|
54336
|
+
"type": "IReadOnlyList<EditorFont>?",
|
|
54337
|
+
"default": null,
|
|
54338
|
+
"description": "Fonts offered by the toolbar's font-family dropdown (shown on the Full preset). Each EditorFont pairs a label with a CSS font-family value that is stored in the HTML as <span style=\"font-family: …\">. Null uses Default (generic and system stacks that need no download); an empty list hides the dropdown. Custom web fonts must be loaded by the app (@font-face or Google Fonts) — the editor does not download fonts.",
|
|
54339
|
+
"isCascading": false,
|
|
54340
|
+
"captureUnmatched": false,
|
|
54341
|
+
"isEditorRequired": false
|
|
54342
|
+
},
|
|
54044
54343
|
{
|
|
54045
54344
|
"name": "Triggers",
|
|
54046
54345
|
"type": "IReadOnlyList<EditorTrigger>?",
|
|
@@ -54444,6 +54743,15 @@
|
|
|
54444
54743
|
"captureUnmatched": false,
|
|
54445
54744
|
"isEditorRequired": false
|
|
54446
54745
|
},
|
|
54746
|
+
{
|
|
54747
|
+
"name": "Fonts",
|
|
54748
|
+
"type": "IReadOnlyList<EditorFont>?",
|
|
54749
|
+
"default": null,
|
|
54750
|
+
"description": "Fonts offered by the font-family dropdown (Full only). Null falls back to Default; an empty list hides the dropdown.",
|
|
54751
|
+
"isCascading": false,
|
|
54752
|
+
"captureUnmatched": false,
|
|
54753
|
+
"isEditorRequired": false
|
|
54754
|
+
},
|
|
54447
54755
|
{
|
|
54448
54756
|
"name": "OnCommand",
|
|
54449
54757
|
"type": "EventCallback<(string command, object? arg)>",
|
|
@@ -54891,6 +55199,7 @@
|
|
|
54891
55199
|
"files": [
|
|
54892
55200
|
"UI/Scheduler/Scheduler.razor",
|
|
54893
55201
|
"UI/Scheduler/SchedulerAgendaView.razor",
|
|
55202
|
+
"UI/Scheduler/SchedulerCalendarMath.cs",
|
|
54894
55203
|
"UI/Scheduler/SchedulerDateMath.cs",
|
|
54895
55204
|
"UI/Scheduler/SchedulerInteractionTypes.cs",
|
|
54896
55205
|
"UI/Scheduler/SchedulerMonthLayout.cs",
|
|
@@ -55015,7 +55324,16 @@
|
|
|
55015
55324
|
"name": "FirstDayOfWeek",
|
|
55016
55325
|
"type": "int",
|
|
55017
55326
|
"default": "1",
|
|
55018
|
-
"description": "The first day of the week, 0 (Sunday) through 6 (Saturday). Default: 1 (Monday).",
|
|
55327
|
+
"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.",
|
|
55328
|
+
"isCascading": false,
|
|
55329
|
+
"captureUnmatched": false,
|
|
55330
|
+
"isEditorRequired": false
|
|
55331
|
+
},
|
|
55332
|
+
{
|
|
55333
|
+
"name": "CalendarSystem",
|
|
55334
|
+
"type": "CalendarSystem",
|
|
55335
|
+
"default": "CalendarSystem.Gregorian",
|
|
55336
|
+
"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
55337
|
"isCascading": false,
|
|
55020
55338
|
"captureUnmatched": false,
|
|
55021
55339
|
"isEditorRequired": false
|
|
@@ -55229,6 +55547,14 @@
|
|
|
55229
55547
|
}
|
|
55230
55548
|
],
|
|
55231
55549
|
"enums": [
|
|
55550
|
+
{
|
|
55551
|
+
"name": "CalendarSystem",
|
|
55552
|
+
"values": [
|
|
55553
|
+
"Gregorian",
|
|
55554
|
+
"Jalali"
|
|
55555
|
+
],
|
|
55556
|
+
"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."
|
|
55557
|
+
},
|
|
55232
55558
|
{
|
|
55233
55559
|
"name": "SchedulerPaneMode",
|
|
55234
55560
|
"values": [
|
|
@@ -55286,12 +55612,12 @@
|
|
|
55286
55612
|
"code": "<SchedulerTimeGridView Events=\"_events\"\n AnchorDate=\"_anchor\"\n Days=\"7\"\n BusinessHours=\"true\"\n NowIndicator=\"true\"\n OnEventChange=\"OnEventChange\" />"
|
|
55287
55613
|
},
|
|
55288
55614
|
{
|
|
55289
|
-
"title": "
|
|
55290
|
-
"code": "<
|
|
55615
|
+
"title": "Day view",
|
|
55616
|
+
"code": "<SchedulerTimeGridView Events=\"_fpWeekEvents\" AnchorDate=\"_fpAnchor\" Days=\"1\" BusinessHours=\"true\" NowIndicator=\"true\" />"
|
|
55291
55617
|
},
|
|
55292
55618
|
{
|
|
55293
|
-
"title": "
|
|
55294
|
-
"code": "<
|
|
55619
|
+
"title": "Agenda view",
|
|
55620
|
+
"code": "<SchedulerAgendaView Events=\"_events\" AnchorDate=\"_anchor\" DaysToShow=\"30\" />"
|
|
55295
55621
|
}
|
|
55296
55622
|
],
|
|
55297
55623
|
"subComponents": {
|
|
@@ -55329,6 +55655,15 @@
|
|
|
55329
55655
|
"captureUnmatched": false,
|
|
55330
55656
|
"isEditorRequired": false
|
|
55331
55657
|
},
|
|
55658
|
+
{
|
|
55659
|
+
"name": "CalendarSystem",
|
|
55660
|
+
"type": "CalendarSystem",
|
|
55661
|
+
"default": "CalendarSystem.Gregorian",
|
|
55662
|
+
"description": "Calendar system for the day headings and time labels. Event data stays Gregorian. Default Gregorian.",
|
|
55663
|
+
"isCascading": false,
|
|
55664
|
+
"captureUnmatched": false,
|
|
55665
|
+
"isEditorRequired": false
|
|
55666
|
+
},
|
|
55332
55667
|
{
|
|
55333
55668
|
"name": "OnEventClick",
|
|
55334
55669
|
"type": "EventCallback<SchedulerEvent>",
|
|
@@ -55424,6 +55759,15 @@
|
|
|
55424
55759
|
"captureUnmatched": false,
|
|
55425
55760
|
"isEditorRequired": false
|
|
55426
55761
|
},
|
|
55762
|
+
{
|
|
55763
|
+
"name": "CalendarSystem",
|
|
55764
|
+
"type": "CalendarSystem",
|
|
55765
|
+
"default": "CalendarSystem.Gregorian",
|
|
55766
|
+
"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.",
|
|
55767
|
+
"isCascading": false,
|
|
55768
|
+
"captureUnmatched": false,
|
|
55769
|
+
"isEditorRequired": false
|
|
55770
|
+
},
|
|
55427
55771
|
{
|
|
55428
55772
|
"name": "ShowWeekNumbers",
|
|
55429
55773
|
"type": "bool",
|
|
@@ -55686,6 +56030,15 @@
|
|
|
55686
56030
|
"captureUnmatched": false,
|
|
55687
56031
|
"isEditorRequired": false
|
|
55688
56032
|
},
|
|
56033
|
+
{
|
|
56034
|
+
"name": "CalendarSystem",
|
|
56035
|
+
"type": "CalendarSystem",
|
|
56036
|
+
"default": "CalendarSystem.Gregorian",
|
|
56037
|
+
"description": "Calendar system for the spelled-out date and Persian-digit time labels. Event data stays Gregorian. Default Gregorian.",
|
|
56038
|
+
"isCascading": false,
|
|
56039
|
+
"captureUnmatched": false,
|
|
56040
|
+
"isEditorRequired": false
|
|
56041
|
+
},
|
|
55689
56042
|
{
|
|
55690
56043
|
"name": "SlotMinTime",
|
|
55691
56044
|
"type": "TimeOnly?",
|
|
@@ -55808,6 +56161,15 @@
|
|
|
55808
56161
|
"captureUnmatched": false,
|
|
55809
56162
|
"isEditorRequired": false
|
|
55810
56163
|
},
|
|
56164
|
+
{
|
|
56165
|
+
"name": "CalendarSystem",
|
|
56166
|
+
"type": "CalendarSystem",
|
|
56167
|
+
"default": "CalendarSystem.Gregorian",
|
|
56168
|
+
"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.",
|
|
56169
|
+
"isCascading": false,
|
|
56170
|
+
"captureUnmatched": false,
|
|
56171
|
+
"isEditorRequired": false
|
|
56172
|
+
},
|
|
55811
56173
|
{
|
|
55812
56174
|
"name": "SlotMinTime",
|
|
55813
56175
|
"type": "TimeOnly?",
|
|
@@ -56173,6 +56535,15 @@
|
|
|
56173
56535
|
"captureUnmatched": false,
|
|
56174
56536
|
"isEditorRequired": false
|
|
56175
56537
|
},
|
|
56538
|
+
{
|
|
56539
|
+
"name": "CalendarSystem",
|
|
56540
|
+
"type": "CalendarSystem",
|
|
56541
|
+
"default": "CalendarSystem.Gregorian",
|
|
56542
|
+
"description": "Calendar system of the month columns, their labels and boundaries. Event data stays Gregorian. Default Gregorian.",
|
|
56543
|
+
"isCascading": false,
|
|
56544
|
+
"captureUnmatched": false,
|
|
56545
|
+
"isEditorRequired": false
|
|
56546
|
+
},
|
|
56176
56547
|
{
|
|
56177
56548
|
"name": "Today",
|
|
56178
56549
|
"type": "DateTime?",
|
|
@@ -56617,6 +56988,10 @@
|
|
|
56617
56988
|
{
|
|
56618
56989
|
"title": "Horizontal Nav",
|
|
56619
56990
|
"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}"
|
|
56991
|
+
},
|
|
56992
|
+
{
|
|
56993
|
+
"title": "With Offset & Instant Scroll",
|
|
56994
|
+
"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
56995
|
}
|
|
56621
56996
|
],
|
|
56622
56997
|
"subComponents": {
|
|
@@ -56896,8 +57271,8 @@
|
|
|
56896
57271
|
"code": "new SegmentedOption { Label = \"Weekly\", Value = \"weekly\", Disabled = true }"
|
|
56897
57272
|
},
|
|
56898
57273
|
{
|
|
56899
|
-
"title": "
|
|
56900
|
-
"code": "<Segmented @bind-Value=\"
|
|
57274
|
+
"title": "SegmentedItem Children",
|
|
57275
|
+
"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
57276
|
}
|
|
56902
57277
|
],
|
|
56903
57278
|
"subComponents": {
|
|
@@ -58092,8 +58467,8 @@
|
|
|
58092
58467
|
"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
58468
|
},
|
|
58094
58469
|
{
|
|
58095
|
-
"title": "
|
|
58096
|
-
"code": "<Sheet @bind-Open=\"
|
|
58470
|
+
"title": "Animation Modes",
|
|
58471
|
+
"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
58472
|
}
|
|
58098
58473
|
],
|
|
58099
58474
|
"subComponents": {
|
|
@@ -60637,7 +61012,9 @@
|
|
|
60637
61012
|
],
|
|
60638
61013
|
"namespace": "Lumeo",
|
|
60639
61014
|
"inheritsFrom": null,
|
|
60640
|
-
"implements": [
|
|
61015
|
+
"implements": [
|
|
61016
|
+
"IAsyncDisposable"
|
|
61017
|
+
],
|
|
60641
61018
|
"parameters": [
|
|
60642
61019
|
{
|
|
60643
61020
|
"name": "FormField",
|
|
@@ -60947,12 +61324,14 @@
|
|
|
60947
61324
|
"description": "Drag-and-drop reorderable list.",
|
|
60948
61325
|
"nugetPackage": "Lumeo",
|
|
60949
61326
|
"files": [
|
|
61327
|
+
"UI/Sortable/SortableGroupRegistry.cs",
|
|
60950
61328
|
"UI/Sortable/SortableList.razor"
|
|
60951
61329
|
],
|
|
60952
61330
|
"namespace": "Lumeo",
|
|
60953
61331
|
"inheritsFrom": null,
|
|
60954
61332
|
"implements": [
|
|
60955
|
-
"IAsyncDisposable"
|
|
61333
|
+
"IAsyncDisposable",
|
|
61334
|
+
"ISortableGroupMember"
|
|
60956
61335
|
],
|
|
60957
61336
|
"parameters": [
|
|
60958
61337
|
{
|
|
@@ -61004,7 +61383,16 @@
|
|
|
61004
61383
|
"name": "Group",
|
|
61005
61384
|
"type": "string?",
|
|
61006
61385
|
"default": null,
|
|
61007
|
-
"description": "Optional shared-group name.
|
|
61386
|
+
"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.",
|
|
61387
|
+
"isCascading": false,
|
|
61388
|
+
"captureUnmatched": false,
|
|
61389
|
+
"isEditorRequired": false
|
|
61390
|
+
},
|
|
61391
|
+
{
|
|
61392
|
+
"name": "OnTransfer",
|
|
61393
|
+
"type": "EventCallback<SortableTransfer>",
|
|
61394
|
+
"default": null,
|
|
61395
|
+
"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
61396
|
"isCascading": false,
|
|
61009
61397
|
"captureUnmatched": false,
|
|
61010
61398
|
"isEditorRequired": false
|
|
@@ -61052,6 +61440,11 @@
|
|
|
61052
61440
|
"type": "EventCallback<List<TItem>>",
|
|
61053
61441
|
"description": "Raised with the freshly-reordered list whenever an item is moved, via drag, touch, or keyboard."
|
|
61054
61442
|
},
|
|
61443
|
+
{
|
|
61444
|
+
"name": "OnTransfer",
|
|
61445
|
+
"type": "EventCallback<SortableTransfer>",
|
|
61446
|
+
"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)."
|
|
61447
|
+
},
|
|
61055
61448
|
{
|
|
61056
61449
|
"name": "OnReorder",
|
|
61057
61450
|
"type": "EventCallback<SortableMoved>",
|
|
@@ -61064,6 +61457,11 @@
|
|
|
61064
61457
|
"name": "SortableMoved",
|
|
61065
61458
|
"signature": "SortableMoved(TItem Item, int OldIndex, int NewIndex)",
|
|
61066
61459
|
"description": "Payload describing a single reorder: the moved Item and its OldIndex / NewIndex within the list. Supplied to OnReorder."
|
|
61460
|
+
},
|
|
61461
|
+
{
|
|
61462
|
+
"name": "SortableTransfer",
|
|
61463
|
+
"signature": "SortableTransfer(TItem Item, string Group, string SourceListId, int OldIndex, string TargetListId, int NewIndex)",
|
|
61464
|
+
"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
61465
|
}
|
|
61068
61466
|
],
|
|
61069
61467
|
"gotchas": [],
|
|
@@ -61091,8 +61489,8 @@
|
|
|
61091
61489
|
"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
61490
|
},
|
|
61093
61491
|
{
|
|
61094
|
-
"title": "
|
|
61095
|
-
"code": "<SortableList TItem=\"string\" Items=\"@
|
|
61492
|
+
"title": "Shared Group (drag between lists)",
|
|
61493
|
+
"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
61494
|
}
|
|
61097
61495
|
],
|
|
61098
61496
|
"subComponents": {},
|
|
@@ -61104,12 +61502,15 @@
|
|
|
61104
61502
|
],
|
|
61105
61503
|
"ariaAttributes": [
|
|
61106
61504
|
"aria-atomic",
|
|
61505
|
+
"aria-hidden",
|
|
61107
61506
|
"aria-keyshortcuts",
|
|
61108
61507
|
"aria-label",
|
|
61109
61508
|
"aria-live"
|
|
61110
61509
|
],
|
|
61111
61510
|
"keys": [
|
|
61112
61511
|
"ArrowDown",
|
|
61512
|
+
"ArrowLeft",
|
|
61513
|
+
"ArrowRight",
|
|
61113
61514
|
"ArrowUp",
|
|
61114
61515
|
"End",
|
|
61115
61516
|
"Home"
|
|
@@ -61370,8 +61771,8 @@
|
|
|
61370
61771
|
"code": "<SparkCard Label=\"Uptime\" Value=\"99.98%\" />\n<SparkCard Label=\"SLA\" Value=\"100%\" />\n<SparkCard Label=\"Incidents\" Value=\"0\" />"
|
|
61371
61772
|
},
|
|
61372
61773
|
{
|
|
61373
|
-
"title": "
|
|
61374
|
-
"code": "<
|
|
61774
|
+
"title": "Sparkline Type, Area & Last Point",
|
|
61775
|
+
"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
61776
|
}
|
|
61376
61777
|
],
|
|
61377
61778
|
"subComponents": {},
|
|
@@ -61632,7 +62033,20 @@
|
|
|
61632
62033
|
"cssVars": [
|
|
61633
62034
|
"--color-foreground"
|
|
61634
62035
|
],
|
|
61635
|
-
"examples": [
|
|
62036
|
+
"examples": [
|
|
62037
|
+
{
|
|
62038
|
+
"title": "Line with area fill (ShowArea)",
|
|
62039
|
+
"code": "<div class=\"w-64\">\n <Sparkline Values=\"_seriesA\" ShowArea=\"true\" Height=\"40\" />\n</div>"
|
|
62040
|
+
},
|
|
62041
|
+
{
|
|
62042
|
+
"title": "Point markers + hover tooltips (ShowTooltips)",
|
|
62043
|
+
"code": "<div class=\"w-64\">\n <Sparkline Values=\"_seriesA\" ShowTooltips=\"true\" Height=\"40\" />\n</div>"
|
|
62044
|
+
},
|
|
62045
|
+
{
|
|
62046
|
+
"title": "Custom stroke width",
|
|
62047
|
+
"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>"
|
|
62048
|
+
}
|
|
62049
|
+
],
|
|
61636
62050
|
"subComponents": {},
|
|
61637
62051
|
"a11y": {
|
|
61638
62052
|
"roles": [
|
|
@@ -63015,6 +63429,7 @@
|
|
|
63015
63429
|
},
|
|
63016
63430
|
"a11y": {
|
|
63017
63431
|
"roles": [
|
|
63432
|
+
"presentation",
|
|
63018
63433
|
"tab",
|
|
63019
63434
|
"tablist",
|
|
63020
63435
|
"tabpanel"
|
|
@@ -63505,6 +63920,10 @@
|
|
|
63505
63920
|
"title": "Leading and Trailing Actions",
|
|
63506
63921
|
"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
63922
|
},
|
|
63923
|
+
{
|
|
63924
|
+
"title": "Leading Actions only (swipe right)",
|
|
63925
|
+
"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>"
|
|
63926
|
+
},
|
|
63508
63927
|
{
|
|
63509
63928
|
"title": "Custom Activation Threshold",
|
|
63510
63929
|
"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 +64282,12 @@
|
|
|
63863
64282
|
"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
64283
|
},
|
|
63865
64284
|
{
|
|
63866
|
-
"title": "
|
|
63867
|
-
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>
|
|
64285
|
+
"title": "Striped rows",
|
|
64286
|
+
"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
64287
|
},
|
|
63869
64288
|
{
|
|
63870
|
-
"title": "
|
|
63871
|
-
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead
|
|
64289
|
+
"title": "With footer (totals row)",
|
|
64290
|
+
"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
64291
|
}
|
|
63873
64292
|
],
|
|
63874
64293
|
"subComponents": {
|
|
@@ -65233,8 +65652,8 @@
|
|
|
65233
65652
|
"code": "<TagInput @bind-Tags=\"_tags\" MaxTags=\"3\" />"
|
|
65234
65653
|
},
|
|
65235
65654
|
{
|
|
65236
|
-
"title": "
|
|
65237
|
-
"code": "
|
|
65655
|
+
"title": "Disabled",
|
|
65656
|
+
"code": "<TagInput @bind-Tags=\"_tagsDisabled\" Disabled=\"true\" Placeholder=\"Cannot edit...\" Class=\"max-w-md\" />"
|
|
65238
65657
|
}
|
|
65239
65658
|
],
|
|
65240
65659
|
"subComponents": {},
|
|
@@ -67515,6 +67934,10 @@
|
|
|
67515
67934
|
"title": "Single Selection",
|
|
67516
67935
|
"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
67936
|
},
|
|
67937
|
+
{
|
|
67938
|
+
"title": "Multiple Selection",
|
|
67939
|
+
"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>"
|
|
67940
|
+
},
|
|
67518
67941
|
{
|
|
67519
67942
|
"title": "Outline Variant",
|
|
67520
67943
|
"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 +67945,6 @@
|
|
|
67522
67945
|
{
|
|
67523
67946
|
"title": "Sizes",
|
|
67524
67947
|
"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
67948
|
}
|
|
67530
67949
|
],
|
|
67531
67950
|
"subComponents": {
|
|
@@ -67769,8 +68188,8 @@
|
|
|
67769
68188
|
"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
68189
|
},
|
|
67771
68190
|
{
|
|
67772
|
-
"title": "
|
|
67773
|
-
"code": "<Toolbar>\n <
|
|
68191
|
+
"title": "Vertical Orientation",
|
|
68192
|
+
"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
68193
|
}
|
|
67775
68194
|
],
|
|
67776
68195
|
"subComponents": {
|
|
@@ -67840,6 +68259,24 @@
|
|
|
67840
68259
|
"isCascading": false,
|
|
67841
68260
|
"captureUnmatched": true,
|
|
67842
68261
|
"isEditorRequired": false
|
|
68262
|
+
},
|
|
68263
|
+
{
|
|
68264
|
+
"name": "Orientation",
|
|
68265
|
+
"type": "Toolbar.ToolbarOrientation?",
|
|
68266
|
+
"default": null,
|
|
68267
|
+
"description": "The orientation of the separator line itself. When unset it is perpendicular to the parent Toolbar (a vertical rule in a horizontal toolbar, a horizontal rule in a vertical one), matching Radix Toolbar.Separator. An explicit value wins.",
|
|
68268
|
+
"isCascading": false,
|
|
68269
|
+
"captureUnmatched": false,
|
|
68270
|
+
"isEditorRequired": false
|
|
68271
|
+
},
|
|
68272
|
+
{
|
|
68273
|
+
"name": "ToolbarOrientation",
|
|
68274
|
+
"type": "Toolbar.ToolbarOrientation",
|
|
68275
|
+
"default": "Horizontal",
|
|
68276
|
+
"description": null,
|
|
68277
|
+
"isCascading": true,
|
|
68278
|
+
"captureUnmatched": false,
|
|
68279
|
+
"isEditorRequired": false
|
|
67843
68280
|
}
|
|
67844
68281
|
],
|
|
67845
68282
|
"events": [],
|
|
@@ -68813,6 +69250,10 @@
|
|
|
68813
69250
|
{
|
|
68814
69251
|
"title": "With Search",
|
|
68815
69252
|
"code": "<Transfer @bind-SourceItems=\"_source\" @bind-TargetItems=\"_target\"\n SourceTitle=\"Users\" TargetTitle=\"Team\" ShowSearch=\"true\" />"
|
|
69253
|
+
},
|
|
69254
|
+
{
|
|
69255
|
+
"title": "Disabled items, no select-all",
|
|
69256
|
+
"code": "<Transfer @bind-SourceItems=\"_source4\" @bind-TargetItems=\"_target4\"\n SourceTitle=\"Available\" TargetTitle=\"Selected\"\n ShowSelectAll=\"false\" />"
|
|
68816
69257
|
}
|
|
68817
69258
|
],
|
|
68818
69259
|
"subComponents": {},
|
|
@@ -69083,6 +69524,7 @@
|
|
|
69083
69524
|
"ariaAttributes": [
|
|
69084
69525
|
"aria-checked",
|
|
69085
69526
|
"aria-describedby",
|
|
69527
|
+
"aria-disabled",
|
|
69086
69528
|
"aria-expanded",
|
|
69087
69529
|
"aria-haspopup",
|
|
69088
69530
|
"aria-invalid",
|
|
@@ -69332,12 +69774,12 @@
|
|
|
69332
69774
|
"code": "<TreeView TItem=\"string\" Items=\"_items\" ExpandOnRowClick=\"false\" />"
|
|
69333
69775
|
},
|
|
69334
69776
|
{
|
|
69335
|
-
"title": "
|
|
69336
|
-
"code": "<TreeView TItem=\"string\" Items=\"
|
|
69777
|
+
"title": "Expanded by Default (ExpandAll)",
|
|
69778
|
+
"code": "<TreeView TItem=\"string\" Items=\"_basicItems\" ExpandAll=\"true\" Class=\"max-w-sm\" />"
|
|
69337
69779
|
},
|
|
69338
69780
|
{
|
|
69339
|
-
"title": "With
|
|
69340
|
-
"code": "<TreeView TItem=\"string\" Items=\"_items\"
|
|
69781
|
+
"title": "With Checkboxes (Tri-state)",
|
|
69782
|
+
"code": "<TreeView TItem=\"string\" Items=\"_items\" ShowCheckboxes=\"true\" CascadeCheck=\"true\" />"
|
|
69341
69783
|
}
|
|
69342
69784
|
],
|
|
69343
69785
|
"subComponents": {
|
|
@@ -69859,6 +70301,10 @@
|
|
|
69859
70301
|
"title": "Basic Watermark",
|
|
69860
70302
|
"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
70303
|
},
|
|
70304
|
+
{
|
|
70305
|
+
"title": "Image Watermark",
|
|
70306
|
+
"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>"
|
|
70307
|
+
},
|
|
69862
70308
|
{
|
|
69863
70309
|
"title": "Custom Settings",
|
|
69864
70310
|
"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 +70523,10 @@
|
|
|
70077
70523
|
{
|
|
70078
70524
|
"title": "Non-Resizable Window",
|
|
70079
70525
|
"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>"
|
|
70526
|
+
},
|
|
70527
|
+
{
|
|
70528
|
+
"title": "Minimal Controls (close only, non-draggable)",
|
|
70529
|
+
"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
70530
|
}
|
|
70081
70531
|
],
|
|
70082
70532
|
"subComponents": {},
|