@lumeo-ui/mcp-server 5.12.3 → 5.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components-api.json +556 -108
- package/src/registry.json +29 -23
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-
|
|
3
|
+
"version": "5.14.0",
|
|
4
|
+
"generated": "2026-11-21T11:43:18.1494057Z",
|
|
5
5
|
"stats": {
|
|
6
6
|
"componentCount": 169,
|
|
7
|
-
"totalParameters":
|
|
8
|
-
"totalEnums":
|
|
9
|
-
"totalRecords":
|
|
7
|
+
"totalParameters": 5046,
|
|
8
|
+
"totalEnums": 117,
|
|
9
|
+
"totalRecords": 67,
|
|
10
10
|
"serviceCount": 33,
|
|
11
11
|
"thinFallbacks": []
|
|
12
12
|
},
|
|
@@ -948,6 +948,12 @@
|
|
|
948
948
|
"signature": "OnSortableTouchDrop(string containerId, int source, int target)",
|
|
949
949
|
"summary": null
|
|
950
950
|
},
|
|
951
|
+
{
|
|
952
|
+
"name": "OnSortableTouchTransfer",
|
|
953
|
+
"returnType": "Task",
|
|
954
|
+
"signature": "OnSortableTouchTransfer(string sourceContainerId, int sourceIndex, string targetContainerId, int targetIndex)",
|
|
955
|
+
"summary": "Touch drag between two lists sharing a Group: JS reports source container + index and target container + index."
|
|
956
|
+
},
|
|
951
957
|
{
|
|
952
958
|
"name": "RegisterCarouselSwipe",
|
|
953
959
|
"returnType": "ValueTask",
|
|
@@ -1446,6 +1452,18 @@
|
|
|
1446
1452
|
"signature": "SetInputCaret(string elementId, int position)",
|
|
1447
1453
|
"summary": null
|
|
1448
1454
|
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "RegisterRangeSlider",
|
|
1457
|
+
"returnType": "ValueTask",
|
|
1458
|
+
"signature": "RegisterRangeSlider(string startId, string endId, string barId)",
|
|
1459
|
+
"summary": null
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"name": "UnregisterRangeSlider",
|
|
1463
|
+
"returnType": "ValueTask",
|
|
1464
|
+
"signature": "UnregisterRangeSlider(string startId)",
|
|
1465
|
+
"summary": null
|
|
1466
|
+
},
|
|
1449
1467
|
{
|
|
1450
1468
|
"name": "SetInputValue",
|
|
1451
1469
|
"returnType": "ValueTask",
|
|
@@ -3068,6 +3086,18 @@
|
|
|
3068
3086
|
"signature": "SetInputValue(string elementId, string value)",
|
|
3069
3087
|
"summary": null
|
|
3070
3088
|
},
|
|
3089
|
+
{
|
|
3090
|
+
"name": "RegisterRangeSlider",
|
|
3091
|
+
"returnType": "ValueTask",
|
|
3092
|
+
"signature": "RegisterRangeSlider(string startId, string endId, string barId)",
|
|
3093
|
+
"summary": null
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"name": "UnregisterRangeSlider",
|
|
3097
|
+
"returnType": "ValueTask",
|
|
3098
|
+
"signature": "UnregisterRangeSlider(string startId)",
|
|
3099
|
+
"summary": null
|
|
3100
|
+
},
|
|
3071
3101
|
{
|
|
3072
3102
|
"name": "TabsMeasure",
|
|
3073
3103
|
"returnType": "ValueTask<ComponentInteropService.TabMeasurement?>",
|
|
@@ -5047,8 +5077,8 @@
|
|
|
5047
5077
|
"code": "<Accordion Type=\"Accordion.AccordionType.Multiple\">\n <AccordionItem Value=\"item-1\">\n <AccordionTrigger>What is Lumeo?</AccordionTrigger>\n <AccordionContent>Lumeo is a Blazor component library inspired by shadcn/ui, built with Tailwind CSS.</AccordionContent>\n </AccordionItem>\n <AccordionItem Value=\"item-2\">\n <AccordionTrigger>Which .NET version?</AccordionTrigger>\n <AccordionContent>Lumeo targets .NET 10 and uses Tailwind CSS v4 for styling.</AccordionContent>\n </AccordionItem>\n <AccordionItem Value=\"item-3\">\n <AccordionTrigger>Can I customize it?</AccordionTrigger>\n <AccordionContent>Absolutely. All components accept a Class parameter for additional CSS classes.</AccordionContent>\n </AccordionItem>\n</Accordion>"
|
|
5048
5078
|
},
|
|
5049
5079
|
{
|
|
5050
|
-
"title": "
|
|
5051
|
-
"code": "<
|
|
5080
|
+
"title": "Default Open (DefaultValues)",
|
|
5081
|
+
"code": "<Container MaxWidth=\"md\" Center=\"false\">\n <Accordion Type=\"Accordion.AccordionType.Multiple\" DefaultValues=\"@(new List<string> { \"item-1\" })\">\n <AccordionItem Value=\"item-1\">\n <AccordionTrigger>Opens by default</AccordionTrigger>\n <AccordionContent>This item is listed in DefaultValues, so it starts expanded.</AccordionContent>\n </AccordionItem>\n <AccordionItem Value=\"item-2\">\n <AccordionTrigger>Starts collapsed</AccordionTrigger>\n <AccordionContent>This item is not in DefaultValues, so it starts closed.</AccordionContent>\n </AccordionItem>\n </Accordion>\n</Container>"
|
|
5052
5082
|
}
|
|
5053
5083
|
],
|
|
5054
5084
|
"subComponents": {
|
|
@@ -7009,7 +7039,16 @@
|
|
|
7009
7039
|
"cssVars": [
|
|
7010
7040
|
"--color-foreground"
|
|
7011
7041
|
],
|
|
7012
|
-
"examples": [
|
|
7042
|
+
"examples": [
|
|
7043
|
+
{
|
|
7044
|
+
"title": "Reverse Direction",
|
|
7045
|
+
"code": "<div id=\"beam-demo-reverse\"\n class=\"relative flex items-center justify-center gap-24 p-10 min-h-[160px] bg-muted/30 rounded-xl border border-border/40 overflow-hidden\">\n <div id=\"beam-rev-from\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-primary text-primary-foreground shadow-lg\">\n <SvgGlyph Svg=\"@(Lucide.Cloud)\" class=\"h-6 w-6 text-primary-foreground\" />\n </div>\n <AnimatedBeam ContainerId=\"beam-demo-reverse\" FromId=\"beam-rev-from\" ToId=\"beam-rev-to\" Reverse=\"true\" />\n <div id=\"beam-rev-to\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-primary text-primary-foreground shadow-lg\">\n <SvgGlyph Svg=\"@(Lucide.Cpu)\" class=\"h-6 w-6 text-primary-foreground\" />\n </div>\n</div>"
|
|
7046
|
+
},
|
|
7047
|
+
{
|
|
7048
|
+
"title": "Custom Track & Beam Width",
|
|
7049
|
+
"code": "<div id=\"beam-demo-track\"\n class=\"relative flex items-center justify-center gap-24 p-10 min-h-[160px] bg-muted/30 rounded-xl border border-border/40 overflow-hidden\">\n <div id=\"beam-track-from\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-card border border-border shadow\">\n <SvgGlyph Svg=\"@(Lucide.Database)\" class=\"h-6 w-6 text-foreground/80\" />\n </div>\n <AnimatedBeam ContainerId=\"beam-demo-track\" FromId=\"beam-track-from\" ToId=\"beam-track-to\"\n PathColor=\"#94a3b8\" PathOpacity=\"0.5\" PathWidth=\"4\" BeamWidth=\"5\"\n GradientStartColor=\"#06b6d4\" GradientStopColor=\"#3b82f6\" />\n <div id=\"beam-track-to\"\n class=\"z-10 flex items-center justify-center w-12 h-12 rounded-full bg-card border border-border shadow\">\n <SvgGlyph Svg=\"@(Lucide.Server)\" class=\"h-6 w-6 text-foreground/80\" />\n </div>\n</div>"
|
|
7050
|
+
}
|
|
7051
|
+
],
|
|
7013
7052
|
"subComponents": {},
|
|
7014
7053
|
"a11y": {
|
|
7015
7054
|
"roles": [],
|
|
@@ -7141,8 +7180,8 @@
|
|
|
7141
7180
|
"code": "<Switch @bind-Checked=\"_elevated\" />\n<Switch @bind-Checked=\"_bordered\" />\n<AppBar Elevated=\"@_elevated\" Bordered=\"@_bordered\">\n <StartContent>\n <Lumeo.Text Size=\"sm\" Weight=\"semibold\">My App</Lumeo.Text>\n </StartContent>\n <EndContent>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Sign In</Button>\n <Button Size=\"Button.ButtonSize.Sm\">Get Started</Button>\n </EndContent>\n</AppBar>\n\n@code {\n private bool _elevated = false;\n private bool _bordered = true;\n}"
|
|
7142
7181
|
},
|
|
7143
7182
|
{
|
|
7144
|
-
"title": "
|
|
7145
|
-
"code": "<
|
|
7183
|
+
"title": "Custom Height",
|
|
7184
|
+
"code": "<div class=\"relative border border-border/40 rounded-lg overflow-hidden\">\n <AppBar Sticky=\"false\" Height=\"h-16\">\n <StartContent>\n <Flex Gap=\"2\" Align=\"center\">\n <div class=\"h-7 w-7 rounded bg-primary\"></div>\n <Lumeo.Text Size=\"sm\" Weight=\"semibold\">Taller Bar</Lumeo.Text>\n </Flex>\n </StartContent>\n <EndContent>\n <Button Size=\"Button.ButtonSize.Sm\">Action</Button>\n </EndContent>\n </AppBar>\n <div class=\"p-6 text-center\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Height=\"h-16\" gives a roomier bar.</Lumeo.Text>\n </div>\n</div>"
|
|
7146
7185
|
}
|
|
7147
7186
|
],
|
|
7148
7187
|
"subComponents": {},
|
|
@@ -8336,8 +8375,8 @@
|
|
|
8336
8375
|
"code": "<Barcode Value=\"ABC-123\" ShowText=\"false\" />"
|
|
8337
8376
|
},
|
|
8338
8377
|
{
|
|
8339
|
-
"title": "
|
|
8340
|
-
"code": "<Barcode Value=\"
|
|
8378
|
+
"title": "Code 39 Format",
|
|
8379
|
+
"code": "<Barcode Value=\"LUMEO-39\" Format=\"Barcode.BarcodeFormat.Code39\" />"
|
|
8341
8380
|
}
|
|
8342
8381
|
],
|
|
8343
8382
|
"subComponents": {},
|
|
@@ -8447,6 +8486,10 @@
|
|
|
8447
8486
|
"title": "Gap (interactive)",
|
|
8448
8487
|
"code": "<Segmented @bind-Value=\"_gap\">\n <SegmentedItem Value=\"@Bento.BentoGap.Sm\">Sm</SegmentedItem>\n <SegmentedItem Value=\"@Bento.BentoGap.Md\">Md</SegmentedItem>\n <SegmentedItem Value=\"@Bento.BentoGap.Lg\">Lg</SegmentedItem>\n</Segmented>\n<Bento Columns=\"4\" Gap=\"@_gap\">\n <BentoTile Title=\"Revenue\"><div class=\"text-2xl font-semibold\">$48,290</div></BentoTile>\n <BentoTile Title=\"Users\"><div class=\"text-2xl font-semibold\">12,402</div></BentoTile>\n <BentoTile Title=\"Sessions\"><div class=\"text-2xl font-semibold\">8,492</div></BentoTile>\n <BentoTile Title=\"Churn\"><div class=\"text-2xl font-semibold\">2.1%</div></BentoTile>\n</Bento>\n\n@code { private Bento.BentoGap _gap = Bento.BentoGap.Md; }"
|
|
8449
8488
|
},
|
|
8489
|
+
{
|
|
8490
|
+
"title": "Custom header & footer slots",
|
|
8491
|
+
"code": "<Bento Columns=\"3\" Gap=\"Bento.BentoGap.Md\">\n <BentoTile RowSpan=\"2\">\n <HeaderContent>\n <Flex Align=\"center\" Gap=\"2\">\n <DynamicIcon Name=\"TrendingUp\" Class=\"h-4 w-4 text-primary\" />\n <span class=\"text-sm font-medium text-foreground\">Revenue</span>\n </Flex>\n </HeaderContent>\n <ChildContent>\n <div class=\"text-3xl font-semibold text-foreground\">$48,290</div>\n <div class=\"text-xs text-muted-foreground\">Last 30 days</div>\n </ChildContent>\n <FooterContent>\n <span class=\"text-xs text-muted-foreground\">Updated 2 min ago</span>\n </FooterContent>\n </BentoTile>\n <BentoTile Title=\"Users\"><div class=\"text-2xl font-semibold text-foreground\">12,402</div></BentoTile>\n <BentoTile Title=\"Sessions\"><div class=\"text-2xl font-semibold text-foreground\">8,492</div></BentoTile>\n <BentoTile Title=\"Churn\"><div class=\"text-2xl font-semibold text-foreground\">2.1%</div></BentoTile>\n <BentoTile Title=\"MRR\"><div class=\"text-2xl font-semibold text-foreground\">$9,820</div></BentoTile>\n</Bento>"
|
|
8492
|
+
},
|
|
8450
8493
|
{
|
|
8451
8494
|
"title": "Dashboard — KPI row + spark + wide tile",
|
|
8452
8495
|
"code": "<Bento Columns=\"3\" Gap=\"Bento.BentoGap.Md\">\n <KpiCard Label=\"Revenue\" Value=\"$48,290\" Delta=\"12.3\" />\n <KpiCard Label=\"Active users\" Value=\"12,402\" Delta=\"4.8\" />\n <KpiCard Label=\"MRR\" Value=\"$9,820\" Delta=\"-1.2\" />\n</Bento>\n<Bento Columns=\"3\" Gap=\"Bento.BentoGap.Md\">\n <SparkCard Label=\"Page views\" Value=\"184k\" Data=\"@sparkA\" />\n <SparkCard Label=\"Signups\" Value=\"421\" Data=\"@sparkB\" />\n <BentoTile Title=\"Traffic\" Description=\"Last 7 days\">\n <Chart ... />\n </BentoTile>\n</Bento>"
|
|
@@ -8760,7 +8803,16 @@
|
|
|
8760
8803
|
"cssVars": [
|
|
8761
8804
|
"--radius"
|
|
8762
8805
|
],
|
|
8763
|
-
"examples": [
|
|
8806
|
+
"examples": [
|
|
8807
|
+
{
|
|
8808
|
+
"title": "Beam Size (interactive)",
|
|
8809
|
+
"code": "<Stack Gap=\"4\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Pick a size to see the beam thickness change live (all 7 Lumeo.Size rungs are supported).</Lumeo.Text>\n <Segmented @bind-Value=\"_beamSizeStr\" Options=\"_beamSizeOptions\" />\n <div class=\"flex justify-center\">\n <BorderBeam Size=\"@_beamSize\" Class=\"w-full max-w-xs\">\n <Card Class=\"p-6 text-center\">\n <Lumeo.Text Class=\"text-sm font-medium\">Size = @_beamSizeStr</Lumeo.Text>\n </Card>\n </BorderBeam>\n </div>\n</Stack>"
|
|
8810
|
+
},
|
|
8811
|
+
{
|
|
8812
|
+
"title": "Orbit Speed (interactive)",
|
|
8813
|
+
"code": "<Stack Gap=\"4\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Drag the slider to change how fast the beam orbits (lower = faster).</Lumeo.Text>\n <Slider @bind-Value=\"_beamDuration\" Min=\"1000\" Max=\"20000\" Step=\"500\" ShowTooltip=\"true\"\n FormatTooltip=\"@(v => $\"{(int)v} ms\")\" />\n <Lumeo.Text Size=\"xs\" Color=\"muted\">DurationMs = @((int)_beamDuration)</Lumeo.Text>\n <div class=\"flex justify-center\">\n <BorderBeam DurationMs=\"@((int)_beamDuration)\" Class=\"w-full max-w-xs\">\n <Card Class=\"p-6 text-center\">\n <Lumeo.Text Class=\"text-sm font-medium\">@((int)_beamDuration) ms per orbit</Lumeo.Text>\n </Card>\n </BorderBeam>\n </div>\n</Stack>"
|
|
8814
|
+
}
|
|
8815
|
+
],
|
|
8764
8816
|
"subComponents": {},
|
|
8765
8817
|
"a11y": {
|
|
8766
8818
|
"roles": [],
|
|
@@ -9185,6 +9237,10 @@
|
|
|
9185
9237
|
"title": "With Icons",
|
|
9186
9238
|
"code": "<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">\n <SvgGlyph Svg=\"@(Lucide.Home)\" class=\"h-4 w-4\" />\n </BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Documents</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Projects</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbPage>Report.pdf</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>"
|
|
9187
9239
|
},
|
|
9240
|
+
{
|
|
9241
|
+
"title": "With Ellipsis (Collapsed)",
|
|
9242
|
+
"code": "<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbEllipsis />\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Components</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <Lumeo.BreadcrumbPage>Breadcrumb</Lumeo.BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>"
|
|
9243
|
+
},
|
|
9188
9244
|
{
|
|
9189
9245
|
"title": "Custom Separator",
|
|
9190
9246
|
"code": "<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <SvgGlyph Svg=\"@(Lucide.Slash)\" class=\"h-4 w-4\" />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbLink Href=\"#\">Settings</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <SvgGlyph Svg=\"@(Lucide.Slash)\" class=\"h-4 w-4\" />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbPage>Profile</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>"
|
|
@@ -9862,7 +9918,8 @@
|
|
|
9862
9918
|
"description": "Date picker calendar grid with single, range, and multi-select modes.",
|
|
9863
9919
|
"nugetPackage": "Lumeo",
|
|
9864
9920
|
"files": [
|
|
9865
|
-
"UI/Calendar/Calendar.razor"
|
|
9921
|
+
"UI/Calendar/Calendar.razor",
|
|
9922
|
+
"UI/Calendar/CalendarSystem.cs"
|
|
9866
9923
|
],
|
|
9867
9924
|
"namespace": "Lumeo",
|
|
9868
9925
|
"inheritsFrom": null,
|
|
@@ -10054,7 +10111,16 @@
|
|
|
10054
10111
|
"name": "FirstDayOfWeek",
|
|
10055
10112
|
"type": "DayOfWeek?",
|
|
10056
10113
|
"default": null,
|
|
10057
|
-
"description": "The day of the week to render in the leftmost column. When null (default), uses CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek — so de-DE / fr-FR / etc. start on Monday automatically, en-US on Sunday. Pass an explicit DayOfWeek to override.",
|
|
10114
|
+
"description": "The day of the week to render in the leftmost column. When null (default), uses CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek — so de-DE / fr-FR / etc. start on Monday automatically, en-US on Sunday. With CalendarSystem set to Jalali the default is Saturday instead. Pass an explicit DayOfWeek to override.",
|
|
10115
|
+
"isCascading": false,
|
|
10116
|
+
"captureUnmatched": false,
|
|
10117
|
+
"isEditorRequired": false
|
|
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.",
|
|
10058
10124
|
"isCascading": false,
|
|
10059
10125
|
"captureUnmatched": false,
|
|
10060
10126
|
"isEditorRequired": false
|
|
@@ -10068,6 +10134,15 @@
|
|
|
10068
10134
|
"captureUnmatched": false,
|
|
10069
10135
|
"isEditorRequired": false
|
|
10070
10136
|
},
|
|
10137
|
+
{
|
|
10138
|
+
"name": "CalendarSystem",
|
|
10139
|
+
"type": "CalendarSystem",
|
|
10140
|
+
"default": "CalendarSystem.Gregorian",
|
|
10141
|
+
"description": "The calendar system the month grid, headers and navigation follow. Jalali renders Solar Hijri (Persian) months — and starts the week on Saturday unless FirstDayOfWeek is set — while Value, MinDate etc. stay plain Gregorian DateOnly values. Under a fa culture Jalali month names and numbers render in Persian; otherwise Latin transliterations and ASCII digits are used. Default Gregorian.",
|
|
10142
|
+
"isCascading": false,
|
|
10143
|
+
"captureUnmatched": false,
|
|
10144
|
+
"isEditorRequired": false
|
|
10145
|
+
},
|
|
10071
10146
|
{
|
|
10072
10147
|
"name": "Class",
|
|
10073
10148
|
"type": "string?",
|
|
@@ -10109,7 +10184,16 @@
|
|
|
10109
10184
|
"description": "Raised when the selected set changes in multiple-selection mode (IsMultiple)."
|
|
10110
10185
|
}
|
|
10111
10186
|
],
|
|
10112
|
-
"enums": [
|
|
10187
|
+
"enums": [
|
|
10188
|
+
{
|
|
10189
|
+
"name": "CalendarSystem",
|
|
10190
|
+
"values": [
|
|
10191
|
+
"Gregorian",
|
|
10192
|
+
"Jalali"
|
|
10193
|
+
],
|
|
10194
|
+
"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."
|
|
10195
|
+
}
|
|
10196
|
+
],
|
|
10113
10197
|
"records": [],
|
|
10114
10198
|
"gotchas": [],
|
|
10115
10199
|
"cssVars": [
|
|
@@ -10760,8 +10844,8 @@
|
|
|
10760
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}"
|
|
10761
10845
|
},
|
|
10762
10846
|
{
|
|
10763
|
-
"title": "
|
|
10764
|
-
"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>"
|
|
10765
10849
|
}
|
|
10766
10850
|
],
|
|
10767
10851
|
"subComponents": {
|
|
@@ -11200,6 +11284,10 @@
|
|
|
11200
11284
|
{
|
|
11201
11285
|
"title": "Disabled",
|
|
11202
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\" />"
|
|
11203
11291
|
}
|
|
11204
11292
|
],
|
|
11205
11293
|
"subComponents": {},
|
|
@@ -21039,7 +21127,20 @@
|
|
|
21039
21127
|
"--color-card",
|
|
21040
21128
|
"--radius"
|
|
21041
21129
|
],
|
|
21042
|
-
"examples": [
|
|
21130
|
+
"examples": [
|
|
21131
|
+
{
|
|
21132
|
+
"title": "Minimap",
|
|
21133
|
+
"code": "<CodeEditor @bind-Value=\"_minimap\" Language=\"csharp\" Height=\"240px\" ShowMinimap=\"true\" />"
|
|
21134
|
+
},
|
|
21135
|
+
{
|
|
21136
|
+
"title": "No line numbers",
|
|
21137
|
+
"code": "<CodeEditor @bind-Value=\"_noLines\" Language=\"markdown\" Height=\"200px\" LineNumbers=\"false\" />"
|
|
21138
|
+
},
|
|
21139
|
+
{
|
|
21140
|
+
"title": "Placeholder (empty editor)",
|
|
21141
|
+
"code": "<CodeEditor Language=\"json\" Height=\"160px\" Placeholder=\"Paste your JSON here...\" />"
|
|
21142
|
+
}
|
|
21143
|
+
],
|
|
21043
21144
|
"subComponents": {},
|
|
21044
21145
|
"a11y": {
|
|
21045
21146
|
"roles": [
|
|
@@ -23113,6 +23214,10 @@
|
|
|
23113
23214
|
{
|
|
23114
23215
|
"title": "Custom Colors",
|
|
23115
23216
|
"code": "<Confetti @ref=\"_confettiRef\"\n Colors=\"@(new[] { \"#ff595e\", \"#6a4c93\", \"#1982c4\" })\">\n <Button OnClick=\"@(() => _confettiRef!.Fire())\">Custom Colors</Button>\n</Confetti>"
|
|
23217
|
+
},
|
|
23218
|
+
{
|
|
23219
|
+
"title": "Custom Origin & Spread",
|
|
23220
|
+
"code": "<Flex Direction=\"column\" Align=\"center\" Gap=\"4\" Class=\"py-6\">\n <Confetti @ref=\"_confettiRef3\"\n ParticleCount=\"120\"\n Spread=\"120\"\n OriginX=\"0.5\"\n OriginY=\"0.7\">\n <Button Variant=\"Button.ButtonVariant.Default\" OnClick=\"@HandleFire3\">\n Wide Burst\n </Button>\n </Confetti>\n</Flex>"
|
|
23116
23221
|
}
|
|
23117
23222
|
],
|
|
23118
23223
|
"subComponents": {},
|
|
@@ -23757,12 +23862,12 @@
|
|
|
23757
23862
|
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <div>Right click here</div>\n </ContextMenuTrigger>\n <ContextMenuContent>\n <ContextMenuLabel>Edit</ContextMenuLabel>\n <ContextMenuGroup>\n <ContextMenuItem>Cut</ContextMenuItem>\n <ContextMenuItem>Copy</ContextMenuItem>\n <ContextMenuItem>Paste</ContextMenuItem>\n </ContextMenuGroup>\n <ContextMenuSeparator />\n <ContextMenuLabel>View</ContextMenuLabel>\n <ContextMenuGroup>\n <ContextMenuItem>Zoom In</ContextMenuItem>\n <ContextMenuItem>Zoom Out</ContextMenuItem>\n </ContextMenuGroup>\n <ContextMenuSeparator />\n <ContextMenuItem Disabled=\"true\">Delete</ContextMenuItem>\n </ContextMenuContent>\n</ContextMenu>"
|
|
23758
23863
|
},
|
|
23759
23864
|
{
|
|
23760
|
-
"title": "
|
|
23761
|
-
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <
|
|
23865
|
+
"title": "Checkbox and Radio Items",
|
|
23866
|
+
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <Flex Class=\"h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed text-sm text-muted-foreground\">\n Right click here\n </Flex>\n </ContextMenuTrigger>\n <ContextMenuContent>\n <ContextMenuLabel>Appearance</ContextMenuLabel>\n <ContextMenuCheckboxItem @bind-Checked=\"_showBookmarks\">Show Bookmarks</ContextMenuCheckboxItem>\n <ContextMenuCheckboxItem @bind-Checked=\"_showFullUrls\">Show Full URLs</ContextMenuCheckboxItem>\n <ContextMenuSeparator />\n <ContextMenuLabel>Panel Position</ContextMenuLabel>\n <ContextMenuRadioGroup @bind-Value=\"_panelPosition\">\n <ContextMenuRadioItem Value=\"left\">Left</ContextMenuRadioItem>\n <ContextMenuRadioItem Value=\"right\">Right</ContextMenuRadioItem>\n <ContextMenuRadioItem Value=\"bottom\">Bottom</ContextMenuRadioItem>\n </ContextMenuRadioGroup>\n </ContextMenuContent>\n</ContextMenu>"
|
|
23762
23867
|
},
|
|
23763
23868
|
{
|
|
23764
|
-
"title": "
|
|
23765
|
-
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <div class=\"flex h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed text-
|
|
23869
|
+
"title": "File Actions",
|
|
23870
|
+
"code": "<ContextMenu>\n <ContextMenuTrigger>\n <div class=\"flex h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed\">\n <div class=\"text-center\">\n <div class=\"text-sm font-medium\">document.pdf</div>\n <div class=\"text-xs text-muted-foreground mt-1\">Right click for options</div>\n </div>\n </div>\n </ContextMenuTrigger>\n <ContextMenuContent>\n <ContextMenuItem>Open</ContextMenuItem>\n <ContextMenuItem>Duplicate</ContextMenuItem>\n <ContextMenuSeparator />\n <ContextMenuItem>Move to...</ContextMenuItem>\n <ContextMenuSeparator />\n <ContextMenuItem>Add to Favorites</ContextMenuItem>\n <ContextMenuSeparator />\n <ContextMenuItem>Delete</ContextMenuItem>\n </ContextMenuContent>\n</ContextMenu>"
|
|
23766
23871
|
}
|
|
23767
23872
|
],
|
|
23768
23873
|
"subComponents": {
|
|
@@ -25771,19 +25876,19 @@
|
|
|
25771
25876
|
"examples": [
|
|
25772
25877
|
{
|
|
25773
25878
|
"title": "Basic DataGrid",
|
|
25774
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25879
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" PageSize=\"5\" ShowPagination=\"true\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Sortable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Sortable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\" Sortable=\"true\" Format=\"$#,##0\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Start Date\" Field=\"StartDate\" Sortable=\"true\" Format=\"yyyy-MM-dd\" />\n</DataGrid>"
|
|
25775
25880
|
},
|
|
25776
25881
|
{
|
|
25777
25882
|
"title": "Column Groups + Footer Aggregates",
|
|
25778
|
-
"code": "
|
|
25883
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" PageSize=\"5\" ShowPagination=\"true\">\n <DataGridColumnGroup TItem=\"Employee\" Label=\"Identity\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Sortable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Sortable=\"true\" />\n </DataGridColumnGroup>\n <DataGridColumnGroup TItem=\"Employee\" Label=\"Compensation\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\"\n Sortable=\"true\" Format=\"$#,##0\"\n Aggregate=\"AggregateType.Sum\" FooterFormat=\"N0\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Tenure\" Field=\"StartDate\"\n Sortable=\"true\" Format=\"yyyy-MM-dd\" />\n </DataGridColumnGroup>\n</DataGrid>"
|
|
25779
25884
|
},
|
|
25780
25885
|
{
|
|
25781
25886
|
"title": "Toolbar, Search & Filtering",
|
|
25782
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25887
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" PageSize=\"5\" ShowPagination=\"true\" ShowToolbar=\"true\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Sortable=\"true\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Sortable=\"true\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\" Sortable=\"true\" Format=\"$#,##0\" Filterable=\"true\" FilterType=\"DataGridFilterType.Number\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Status\" Field=\"Status\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Start Date\" Field=\"StartDate\" Sortable=\"true\" Format=\"yyyy-MM-dd\" Filterable=\"true\" FilterType=\"DataGridFilterType.Date\" />\n</DataGrid>"
|
|
25783
25888
|
},
|
|
25784
25889
|
{
|
|
25785
25890
|
"title": "Toolbar with Internal Scroll",
|
|
25786
|
-
"code": "<DataGrid TItem=\"Employee\" Items=\"@
|
|
25891
|
+
"code": "<DataGrid TItem=\"Employee\" Items=\"@_employees\" ShowToolbar=\"true\" Height=\"240px\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Width=\"180\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Width=\"180\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\" Format=\"$#,##0\" Width=\"180\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Status\" Field=\"Status\" Width=\"180\" />\n</DataGrid>"
|
|
25787
25892
|
}
|
|
25788
25893
|
],
|
|
25789
25894
|
"subComponents": {
|
|
@@ -28537,6 +28642,15 @@
|
|
|
28537
28642
|
"captureUnmatched": false,
|
|
28538
28643
|
"isEditorRequired": false
|
|
28539
28644
|
},
|
|
28645
|
+
{
|
|
28646
|
+
"name": "CalendarSystem",
|
|
28647
|
+
"type": "CalendarSystem",
|
|
28648
|
+
"default": "CalendarSystem.Gregorian",
|
|
28649
|
+
"description": "The calendar system the popup calendar and the displayed / typed text follow. With Jalali the grid shows Solar Hijri (Persian) months, the trigger shows e.g. 1403/07/12 (default pattern yyyy/MM/dd; the y M d tokens of a custom Format resolve against the Persian calendar) and typed input is parsed as Jalali, accepting ASCII, Persian and Arabic-Indic digits. Value and friends remain Gregorian DateOnly values. Not applied to the Wheel variant. Default Gregorian.",
|
|
28650
|
+
"isCascading": false,
|
|
28651
|
+
"captureUnmatched": false,
|
|
28652
|
+
"isEditorRequired": false
|
|
28653
|
+
},
|
|
28540
28654
|
{
|
|
28541
28655
|
"name": "MinDate",
|
|
28542
28656
|
"type": "DateOnly?",
|
|
@@ -28914,6 +29028,14 @@
|
|
|
28914
29028
|
"Wheel"
|
|
28915
29029
|
],
|
|
28916
29030
|
"description": "Visual style of the picker. Calendar renders the existing month-grid Calendar (default). Wheel renders three iOS-style snap-scrolling columns (day / month / year) — designed for mobile / touch UIs."
|
|
29031
|
+
},
|
|
29032
|
+
{
|
|
29033
|
+
"name": "CalendarSystem",
|
|
29034
|
+
"values": [
|
|
29035
|
+
"Gregorian",
|
|
29036
|
+
"Jalali"
|
|
29037
|
+
],
|
|
29038
|
+
"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."
|
|
28917
29039
|
}
|
|
28918
29040
|
],
|
|
28919
29041
|
"records": [
|
|
@@ -29071,6 +29193,15 @@
|
|
|
29071
29193
|
"captureUnmatched": false,
|
|
29072
29194
|
"isEditorRequired": false
|
|
29073
29195
|
},
|
|
29196
|
+
{
|
|
29197
|
+
"name": "Culture",
|
|
29198
|
+
"type": "System.Globalization.CultureInfo?",
|
|
29199
|
+
"default": null,
|
|
29200
|
+
"description": "Overrides CurrentCulture for date formatting, month/weekday names and digits. Forwarded to the inner DatePicker. Leave null to honour ASP.NET request localization.",
|
|
29201
|
+
"isCascading": false,
|
|
29202
|
+
"captureUnmatched": false,
|
|
29203
|
+
"isEditorRequired": false
|
|
29204
|
+
},
|
|
29074
29205
|
{
|
|
29075
29206
|
"name": "Presets",
|
|
29076
29207
|
"type": "List<DateRangePreset>?",
|
|
@@ -29134,6 +29265,15 @@
|
|
|
29134
29265
|
"captureUnmatched": false,
|
|
29135
29266
|
"isEditorRequired": false
|
|
29136
29267
|
},
|
|
29268
|
+
{
|
|
29269
|
+
"name": "CalendarSystem",
|
|
29270
|
+
"type": "CalendarSystem",
|
|
29271
|
+
"default": "CalendarSystem.Gregorian",
|
|
29272
|
+
"description": "Calendar system for the grid and the displayed range text — forwarded to the inner DatePicker. Default Gregorian.",
|
|
29273
|
+
"isCascading": false,
|
|
29274
|
+
"captureUnmatched": false,
|
|
29275
|
+
"isEditorRequired": false
|
|
29276
|
+
},
|
|
29137
29277
|
{
|
|
29138
29278
|
"name": "Class",
|
|
29139
29279
|
"type": "string?",
|
|
@@ -29474,6 +29614,15 @@
|
|
|
29474
29614
|
"captureUnmatched": false,
|
|
29475
29615
|
"isEditorRequired": false
|
|
29476
29616
|
},
|
|
29617
|
+
{
|
|
29618
|
+
"name": "CalendarSystem",
|
|
29619
|
+
"type": "CalendarSystem",
|
|
29620
|
+
"default": "CalendarSystem.Gregorian",
|
|
29621
|
+
"description": "Calendar system used by the embedded calendar and the trigger text. With Jalali the grid shows Solar Hijri (Persian) months, weeks start on Saturday (unless FirstDayOfWeek is set), and the date part of the trigger text defaults to yyyy/MM/dd (the y M d tokens of a custom DateFormat resolve against the Persian calendar). The time part and the AM/PM labels follow Culture; under a fa culture digits render as Persian digits. Value always stays a Gregorian DateTime. Default Gregorian.",
|
|
29622
|
+
"isCascading": false,
|
|
29623
|
+
"captureUnmatched": false,
|
|
29624
|
+
"isEditorRequired": false
|
|
29625
|
+
},
|
|
29477
29626
|
{
|
|
29478
29627
|
"name": "Disabled",
|
|
29479
29628
|
"type": "bool",
|
|
@@ -29586,7 +29735,16 @@
|
|
|
29586
29735
|
"description": "Raised alongside ValueChanged with the offset-aware instant (DST-adjusted for TimeZone) whenever the picked value changes."
|
|
29587
29736
|
}
|
|
29588
29737
|
],
|
|
29589
|
-
"enums": [
|
|
29738
|
+
"enums": [
|
|
29739
|
+
{
|
|
29740
|
+
"name": "CalendarSystem",
|
|
29741
|
+
"values": [
|
|
29742
|
+
"Gregorian",
|
|
29743
|
+
"Jalali"
|
|
29744
|
+
],
|
|
29745
|
+
"description": "The calendar system a Calendar / DatePicker lays its months out in. The bound values are always plain DateOnly (Gregorian) dates — only the month grid, headers, navigation and display text follow the selected system."
|
|
29746
|
+
}
|
|
29747
|
+
],
|
|
29590
29748
|
"records": [],
|
|
29591
29749
|
"gotchas": [],
|
|
29592
29750
|
"cssVars": [
|
|
@@ -30139,8 +30297,8 @@
|
|
|
30139
30297
|
"code": "<Dialog @bind-Open=\"_isOpen\">\n <DialogTrigger>\n <Button Variant=\"Button.ButtonVariant.Destructive\">\n <SvgGlyph Svg=\"@(Lucide.Trash)\" class=\"h-4 w-4\" /> Delete Account\n </Button>\n </DialogTrigger>\n <DialogContent>\n <DialogHeader>\n <DialogTitle>Are you absolutely sure?</DialogTitle>\n <DialogDescription>\n This action cannot be undone. This will permanently delete your\n account and remove your data from our servers.\n </DialogDescription>\n </DialogHeader>\n <DialogFooter>\n <DialogClose>\n <Button Variant=\"Button.ButtonVariant.Outline\">Cancel</Button>\n </DialogClose>\n <DialogClose>\n <Button Variant=\"Button.ButtonVariant.Destructive\">Yes, delete account</Button>\n </DialogClose>\n </DialogFooter>\n </DialogContent>\n</Dialog>\n\n@code {\n private bool _isOpen;\n}"
|
|
30140
30298
|
},
|
|
30141
30299
|
{
|
|
30142
|
-
"title": "
|
|
30143
|
-
"code": "<Dialog @bind-Open=\"
|
|
30300
|
+
"title": "Scrollable Content",
|
|
30301
|
+
"code": "<Dialog @bind-Open=\"_scrollableOpen\">\n <DialogTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">View Terms</Button>\n </DialogTrigger>\n <DialogContent Scrollable=\"true\">\n <DialogHeader>\n <DialogTitle>Terms of Service</DialogTitle>\n <DialogDescription>Please read the following terms carefully.</DialogDescription>\n </DialogHeader>\n <Stack Gap=\"3\" Class=\"py-4\">\n @for (var i = 1; i <= 20; i++)\n {\n <Lumeo.Text Size=\"sm\" Color=\"muted\">@($\"Section {i}. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\")</Lumeo.Text>\n }\n </Stack>\n <DialogFooter>\n <DialogClose>\n <Button>Accept</Button>\n </DialogClose>\n </DialogFooter>\n </DialogContent>\n</Dialog>"
|
|
30144
30302
|
}
|
|
30145
30303
|
],
|
|
30146
30304
|
"subComponents": {
|
|
@@ -30777,6 +30935,10 @@
|
|
|
30777
30935
|
{
|
|
30778
30936
|
"title": "Custom Scale & Radius",
|
|
30779
30937
|
"code": "<Dock MaxScale=\"2.2\" MagnifyRadius=\"120\">\n <!-- dock items with SvgGlyph icons -->\n</Dock>"
|
|
30938
|
+
},
|
|
30939
|
+
{
|
|
30940
|
+
"title": "MaxScale & MagnifyRadius (interactive)",
|
|
30941
|
+
"code": "<Stack Gap=\"5\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Hover over the dock icons to feel the magnification. Adjust sliders to tune the effect.</Lumeo.Text>\n <Stack Gap=\"2\">\n <Lumeo.Text Size=\"sm\" Class=\"font-medium\">MaxScale: @_dockMaxScale.ToString(\"F1\")</Lumeo.Text>\n <Slider @bind-Value=\"_dockMaxScale\" Min=\"1.2\" Max=\"3.0\" Step=\"0.1\" ShowTooltip=\"true\"\n FormatTooltip=\"@(v => v.ToString(\"F1\"))\" />\n </Stack>\n <Stack Gap=\"2\">\n <Lumeo.Text Size=\"sm\" Class=\"font-medium\">MagnifyRadius: @((int)_dockRadius) px</Lumeo.Text>\n <Slider @bind-Value=\"_dockRadius\" Min=\"60\" Max=\"200\" Step=\"10\" ShowTooltip=\"true\"\n FormatTooltip=\"@(v => $\"{(int)v}px\")\" />\n </Stack>\n <Flex Justify=\"center\" Class=\"py-4\">\n <Dock MaxScale=\"@_dockMaxScale\" MagnifyRadius=\"@((int)_dockRadius)\">\n @foreach (var app in _apps)\n {\n <button class=\"flex flex-col items-center justify-center w-12 h-12 rounded-xl bg-card border border-border/40 shadow hover:shadow-md transition-shadow\" title=\"@app.Name\">\n <SvgGlyph Svg=\"@app.Icon\" class=\"h-6 w-6 text-foreground/80\" />\n </button>\n }\n </Dock>\n </Flex>\n</Stack>"
|
|
30780
30942
|
}
|
|
30781
30943
|
],
|
|
30782
30944
|
"subComponents": {},
|
|
@@ -31587,12 +31749,12 @@
|
|
|
31587
31749
|
"code": "<DropdownButton Text=\"Default\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Secondary\" Variant=\"Button.ButtonVariant.Secondary\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Outline\" Variant=\"Button.ButtonVariant.Outline\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>"
|
|
31588
31750
|
},
|
|
31589
31751
|
{
|
|
31590
|
-
"title": "
|
|
31591
|
-
"code": "<DropdownButton Text=\"
|
|
31752
|
+
"title": "Ghost and Link Variants",
|
|
31753
|
+
"code": "<Flex Gap=\"2\" Wrap=\"true\">\n <DropdownButton Text=\"Ghost\" Variant=\"Button.ButtonVariant.Ghost\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n </DropdownButton>\n <DropdownButton Text=\"Link\" Variant=\"Button.ButtonVariant.Link\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n <DropdownMenuItem>Option B</DropdownMenuItem>\n </MenuContent>\n </DropdownButton>\n</Flex>"
|
|
31592
31754
|
},
|
|
31593
31755
|
{
|
|
31594
|
-
"title": "
|
|
31595
|
-
"code": "<DropdownButton Text=\"
|
|
31756
|
+
"title": "Sizes",
|
|
31757
|
+
"code": "<DropdownButton Text=\"Small\" Size=\"Button.ButtonSize.Sm\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Default\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>\n<DropdownButton Text=\"Large\" Size=\"Button.ButtonSize.Lg\">\n <MenuContent>\n <DropdownMenuItem>Option A</DropdownMenuItem>\n </MenuContent>\n</DropdownButton>"
|
|
31596
31758
|
}
|
|
31597
31759
|
],
|
|
31598
31760
|
"subComponents": {},
|
|
@@ -32772,6 +32934,10 @@
|
|
|
32772
32934
|
"title": "With Icon and Action",
|
|
32773
32935
|
"code": "<EmptyState Title=\"No projects yet\" Description=\"Get started by creating your first project.\">\n <IconContent>\n <DynamicIcon Name=\"Plus\" Class=\"h-10 w-10\" />\n </IconContent>\n <Action>\n <Button>Create Project</Button>\n </Action>\n</EmptyState>"
|
|
32774
32936
|
},
|
|
32937
|
+
{
|
|
32938
|
+
"title": "Custom Illustration",
|
|
32939
|
+
"code": "<Stack Class=\"rounded-lg border border-border/40 bg-card\">\n <EmptyState Title=\"404 — Page not found\" Description=\"The page you're looking for doesn't exist or has moved.\">\n <Image>\n <Flex Align=\"center\" Justify=\"center\" Class=\"h-20 w-20 rounded-full bg-muted text-muted-foreground\">\n <DynamicIcon Name=\"Compass\" Class=\"h-10 w-10\" />\n </Flex>\n </Image>\n <Action>\n <Button Variant=\"Button.ButtonVariant.Outline\">Go Home</Button>\n </Action>\n </EmptyState>\n</Stack>"
|
|
32940
|
+
},
|
|
32775
32941
|
{
|
|
32776
32942
|
"title": "Inbox Empty",
|
|
32777
32943
|
"code": "<EmptyState Title=\"Inbox zero\" Description=\"You have no new messages.\">\n <IconContent>\n <DynamicIcon Name=\"Mail\" Class=\"h-10 w-10\" />\n </IconContent>\n</EmptyState>"
|
|
@@ -32876,6 +33042,10 @@
|
|
|
32876
33042
|
"title": "Two Columns",
|
|
32877
33043
|
"code": "<FeatureGrid Columns=\"2\" Title=\"Built for Blazor\">\n <FeatureItem Title=\"Native components\" Description=\"Pure Razor with thin interop where it counts.\" />\n <FeatureItem Title=\"Source generators\" Description=\"The [LumeoForm] generator wires up validation and binding.\" />\n</FeatureGrid>"
|
|
32878
33044
|
},
|
|
33045
|
+
{
|
|
33046
|
+
"title": "Four Columns",
|
|
33047
|
+
"code": "<FeatureGrid Columns=\"4\" Title=\"The full stack\">\n <FeatureItem Title=\"Fast\" Description=\"Small CSS bundle, tree-shakeable.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Zap)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n <FeatureItem Title=\"Secure\" Description=\"Sane defaults, no surprises.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Shield)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n <FeatureItem Title=\"Themeable\" Description=\"Every color is a CSS variable.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Palette)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n <FeatureItem Title=\"Accessible\" Description=\"ARIA and keyboard built in.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Accessibility)\" class=\"h-5 w-5\" /></IconContent>\n </FeatureItem>\n</FeatureGrid>"
|
|
33048
|
+
},
|
|
32879
33049
|
{
|
|
32880
33050
|
"title": "Standalone Feature Item",
|
|
32881
33051
|
"code": "<FeatureItem Title=\"Fast by default\" Description=\"A small CSS bundle keeps your app lean.\">\n <IconContent><SvgGlyph Svg=\"@(Lucide.Zap)\" class=\"h-5 w-5\" /></IconContent>\n</FeatureItem>"
|
|
@@ -33720,7 +33890,12 @@
|
|
|
33720
33890
|
"--color-ring",
|
|
33721
33891
|
"--radius"
|
|
33722
33892
|
],
|
|
33723
|
-
"examples": [
|
|
33893
|
+
"examples": [
|
|
33894
|
+
{
|
|
33895
|
+
"title": "Lazy loading folders",
|
|
33896
|
+
"code": "<div style=\"height: 420px\">\n <FileManager Root=\"@_lazyTree\"\n @bind-CurrentPath=\"_currentPathLazy\"\n @bind-SelectedNode=\"_selectedNodeLazy\"\n LoadChildren=\"@LoadFolderChildren\" />\n</div>"
|
|
33897
|
+
}
|
|
33898
|
+
],
|
|
33724
33899
|
"subComponents": {},
|
|
33725
33900
|
"a11y": {
|
|
33726
33901
|
"roles": [
|
|
@@ -34436,7 +34611,16 @@
|
|
|
34436
34611
|
"--color-ring",
|
|
34437
34612
|
"--radius"
|
|
34438
34613
|
],
|
|
34439
|
-
"examples": [
|
|
34614
|
+
"examples": [
|
|
34615
|
+
{
|
|
34616
|
+
"title": "Toolbar without download button",
|
|
34617
|
+
"code": "<div class=\"@DemoBoxClass\">\n <FileViewer Src=\"sample-files/sample.svg\"\n ShowDownload=\"false\"\n Class=\"h-full\" />\n</div>"
|
|
34618
|
+
},
|
|
34619
|
+
{
|
|
34620
|
+
"title": "Toolbar without file name",
|
|
34621
|
+
"code": "<div class=\"@DemoBoxClass\">\n <FileViewer Src=\"sample-files/sample.svg\"\n ShowFileName=\"false\"\n Class=\"h-full\" />\n</div>"
|
|
34622
|
+
}
|
|
34623
|
+
],
|
|
34440
34624
|
"subComponents": {},
|
|
34441
34625
|
"a11y": {
|
|
34442
34626
|
"roles": [
|
|
@@ -36622,8 +36806,8 @@
|
|
|
36622
36806
|
"code": "<Flex Align=\"center\" Justify=\"center\" Class=\"h-32 w-full\">\n <Text Color=\"muted\">Centered content</Text>\n</Flex>"
|
|
36623
36807
|
},
|
|
36624
36808
|
{
|
|
36625
|
-
"title": "
|
|
36626
|
-
"code": "<Flex Gap=\"
|
|
36809
|
+
"title": "Column Direction",
|
|
36810
|
+
"code": "<Flex Direction=\"col\" Gap=\"3\" Class=\"w-full max-w-xs\">\n <Flex Class=\"h-10 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">Item 1</Flex>\n <Flex Class=\"h-10 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">Item 2</Flex>\n <Flex Class=\"h-10 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">Item 3</Flex>\n</Flex>"
|
|
36627
36811
|
}
|
|
36628
36812
|
],
|
|
36629
36813
|
"subComponents": {},
|
|
@@ -38207,12 +38391,12 @@
|
|
|
38207
38391
|
"code": "<FormField Name=\"role\" Label=\"Role\" Required=\"true\" Error=\"@_roleError\">\n <Select @bind-Value=\"_roleValue\">\n <SelectTrigger>\n <Text As=\"span\" Class=\"@(_roleValue == null ? \\\"text-muted-foreground\\\" : \"\")\">\n @(_roleValue ?? \"Select a role\")\n </Text>\n </SelectTrigger>\n <SelectContent>\n <SelectItem Value=\"admin\">Admin</SelectItem>\n <SelectItem Value=\"editor\">Editor</SelectItem>\n <SelectItem Value=\"viewer\">Viewer</SelectItem>\n </SelectContent>\n </Select>\n</FormField>\n<Button OnClick=\"ValidateRole\">Validate</Button>\n\n@code {\n private string? _roleValue;\n private string? _roleError;\n\n private void ValidateRole()\n {\n if (string.IsNullOrEmpty(_roleValue))\n _roleError = \"Please select a role.\";\n else\n _roleError = null;\n }\n}"
|
|
38208
38392
|
},
|
|
38209
38393
|
{
|
|
38210
|
-
"title": "
|
|
38211
|
-
"code": "<
|
|
38394
|
+
"title": "Horizontal Field Layout",
|
|
38395
|
+
"code": "<Stack Gap=\"4\" Class=\"w-full max-w-md\">\n <FormField Name=\"fullname\" Label=\"Full name\" Orientation=\"Lumeo.Orientation.Horizontal\" LabelWidth=\"120px\">\n <Input Placeholder=\"Ada Lovelace\" />\n </FormField>\n <FormField Name=\"company\" Label=\"Company\" Orientation=\"Lumeo.Orientation.Horizontal\" LabelWidth=\"120px\" HelpText=\"Optional.\">\n <Input Placeholder=\"Acme Inc.\" />\n </FormField>\n</Stack>"
|
|
38212
38396
|
},
|
|
38213
38397
|
{
|
|
38214
|
-
"title": "
|
|
38215
|
-
"code": "<FormField Name=\"
|
|
38398
|
+
"title": "Checkbox and Switch with Validation",
|
|
38399
|
+
"code": "<FormField Name=\"terms\" Error=\"@_termsError\">\n <Flex Gap=\"2\" Align=\"center\">\n <Checkbox @bind-Checked=\"_termsChecked\" />\n <Label>I accept the terms and conditions</Label>\n </Flex>\n</FormField>\n<FormField Name=\"notifications\" Label=\"Email Notifications\" HelpText=\"Receive updates about your account.\">\n <Switch @bind-Checked=\"_notifChecked\" />\n</FormField>\n<Button OnClick=\"ValidateTerms\">Submit</Button>\n\n@code {\n private bool _termsChecked;\n private bool _notifChecked = true;\n private string? _termsError;\n\n private void ValidateTerms()\n {\n _termsError = _termsChecked ? null : \"You must accept the terms to continue.\";\n }\n}"
|
|
38216
38400
|
}
|
|
38217
38401
|
],
|
|
38218
38402
|
"subComponents": {
|
|
@@ -38890,6 +39074,7 @@
|
|
|
38890
39074
|
"UI/GanttChart/GanttArrowLayer.razor",
|
|
38891
39075
|
"UI/GanttChart/GanttArrowRouting.cs",
|
|
38892
39076
|
"UI/GanttChart/GanttBar.razor",
|
|
39077
|
+
"UI/GanttChart/GanttCalendar.cs",
|
|
38893
39078
|
"UI/GanttChart/GanttChart.razor",
|
|
38894
39079
|
"UI/GanttChart/GanttColorModel.cs",
|
|
38895
39080
|
"UI/GanttChart/GanttNav.razor",
|
|
@@ -38982,7 +39167,25 @@
|
|
|
38982
39167
|
"name": "FirstDayOfWeek",
|
|
38983
39168
|
"type": "DayOfWeek?",
|
|
38984
39169
|
"default": null,
|
|
38985
|
-
"description": "Explicit first-day-of-week override for the Day-mode ISO week-band upper header (design spec Phase 3, T2). Null derives it from CurrentCulture.",
|
|
39170
|
+
"description": "Explicit first-day-of-week override for the Day-mode ISO week-band upper header (design spec Phase 3, T2). Null derives it from CurrentCulture (Saturday under Jalali).",
|
|
39171
|
+
"isCascading": false,
|
|
39172
|
+
"captureUnmatched": false,
|
|
39173
|
+
"isEditorRequired": false
|
|
39174
|
+
},
|
|
39175
|
+
{
|
|
39176
|
+
"name": "CalendarSystem",
|
|
39177
|
+
"type": "CalendarSystem",
|
|
39178
|
+
"default": "CalendarSystem.Gregorian",
|
|
39179
|
+
"description": "The calendar system the time scale is laid out in. Jalali starts month / quarter / year columns on Solar Hijri boundaries (1st of the Jalali month; quarters = Jalali months 1/4/7/10; year = 1 Farvardin), sizes bar positions by the real 29/30/31-day month lengths, starts Week-mode columns on Saturday unless FirstDayOfWeek is set explicitly, numbers weeks by Jalali week-of-year (week 1 is the week containing 1 Farvardin), and renders header labels, the period label, tooltips and the tree's date text with Jalali month names and, under a fa culture, Persian digits. Task Start/End values stay Gregorian DateTimes and dragging / resizing still snaps in whole days. Default Gregorian.",
|
|
39180
|
+
"isCascading": false,
|
|
39181
|
+
"captureUnmatched": false,
|
|
39182
|
+
"isEditorRequired": false
|
|
39183
|
+
},
|
|
39184
|
+
{
|
|
39185
|
+
"name": "Culture",
|
|
39186
|
+
"type": "CultureInfo?",
|
|
39187
|
+
"default": null,
|
|
39188
|
+
"description": "Culture used for month / weekday names, digits and date text. Null uses CurrentCulture.",
|
|
38986
39189
|
"isCascading": false,
|
|
38987
39190
|
"captureUnmatched": false,
|
|
38988
39191
|
"isEditorRequired": false
|
|
@@ -39432,6 +39635,14 @@
|
|
|
39432
39635
|
}
|
|
39433
39636
|
],
|
|
39434
39637
|
"enums": [
|
|
39638
|
+
{
|
|
39639
|
+
"name": "CalendarSystem",
|
|
39640
|
+
"values": [
|
|
39641
|
+
"Gregorian",
|
|
39642
|
+
"Jalali"
|
|
39643
|
+
],
|
|
39644
|
+
"description": "The calendar system a Calendar / DatePicker lays its months out in. The bound values are always plain DateOnly (Gregorian) dates — only the month grid, headers, navigation and display text follow the selected system."
|
|
39645
|
+
},
|
|
39435
39646
|
{
|
|
39436
39647
|
"name": "GanttViewMode",
|
|
39437
39648
|
"values": [
|
|
@@ -39522,6 +39733,15 @@
|
|
|
39522
39733
|
"captureUnmatched": false,
|
|
39523
39734
|
"isEditorRequired": false
|
|
39524
39735
|
},
|
|
39736
|
+
{
|
|
39737
|
+
"name": "CalendarSystem",
|
|
39738
|
+
"type": "CalendarSystem",
|
|
39739
|
+
"default": "CalendarSystem.Gregorian",
|
|
39740
|
+
"description": "Calendar system the scale uses (bar geometry depends on it).",
|
|
39741
|
+
"isCascading": false,
|
|
39742
|
+
"captureUnmatched": false,
|
|
39743
|
+
"isEditorRequired": false
|
|
39744
|
+
},
|
|
39525
39745
|
{
|
|
39526
39746
|
"name": "BarHeight",
|
|
39527
39747
|
"type": "int",
|
|
@@ -39692,6 +39912,24 @@
|
|
|
39692
39912
|
"captureUnmatched": false,
|
|
39693
39913
|
"isEditorRequired": false
|
|
39694
39914
|
},
|
|
39915
|
+
{
|
|
39916
|
+
"name": "CalendarSystem",
|
|
39917
|
+
"type": "CalendarSystem",
|
|
39918
|
+
"default": "CalendarSystem.Gregorian",
|
|
39919
|
+
"description": "Calendar system the tooltip / aria dates are formatted in.",
|
|
39920
|
+
"isCascading": false,
|
|
39921
|
+
"captureUnmatched": false,
|
|
39922
|
+
"isEditorRequired": false
|
|
39923
|
+
},
|
|
39924
|
+
{
|
|
39925
|
+
"name": "Culture",
|
|
39926
|
+
"type": "CultureInfo?",
|
|
39927
|
+
"default": null,
|
|
39928
|
+
"description": "Culture for month names and digits; null uses CurrentCulture.",
|
|
39929
|
+
"isCascading": false,
|
|
39930
|
+
"captureUnmatched": false,
|
|
39931
|
+
"isEditorRequired": false
|
|
39932
|
+
},
|
|
39695
39933
|
{
|
|
39696
39934
|
"name": "Selected",
|
|
39697
39935
|
"type": "bool",
|
|
@@ -40419,6 +40657,24 @@
|
|
|
40419
40657
|
"captureUnmatched": false,
|
|
40420
40658
|
"isEditorRequired": false
|
|
40421
40659
|
},
|
|
40660
|
+
{
|
|
40661
|
+
"name": "CalendarSystem",
|
|
40662
|
+
"type": "CalendarSystem",
|
|
40663
|
+
"default": "CalendarSystem.Gregorian",
|
|
40664
|
+
"description": "Calendar system the scale is laid out in (see CalendarSystem).",
|
|
40665
|
+
"isCascading": false,
|
|
40666
|
+
"captureUnmatched": false,
|
|
40667
|
+
"isEditorRequired": false
|
|
40668
|
+
},
|
|
40669
|
+
{
|
|
40670
|
+
"name": "Culture",
|
|
40671
|
+
"type": "CultureInfo?",
|
|
40672
|
+
"default": null,
|
|
40673
|
+
"description": "Culture for month / weekday names and digits; null uses CurrentCulture.",
|
|
40674
|
+
"isCascading": false,
|
|
40675
|
+
"captureUnmatched": false,
|
|
40676
|
+
"isEditorRequired": false
|
|
40677
|
+
},
|
|
40422
40678
|
{
|
|
40423
40679
|
"name": "OffDays",
|
|
40424
40680
|
"type": "IReadOnlySet<DayOfWeek>?",
|
|
@@ -40804,6 +41060,24 @@
|
|
|
40804
41060
|
"captureUnmatched": false,
|
|
40805
41061
|
"isEditorRequired": false
|
|
40806
41062
|
},
|
|
41063
|
+
{
|
|
41064
|
+
"name": "CalendarSystem",
|
|
41065
|
+
"type": "CalendarSystem",
|
|
41066
|
+
"default": "CalendarSystem.Gregorian",
|
|
41067
|
+
"description": "Calendar system the date text is formatted in.",
|
|
41068
|
+
"isCascading": false,
|
|
41069
|
+
"captureUnmatched": false,
|
|
41070
|
+
"isEditorRequired": false
|
|
41071
|
+
},
|
|
41072
|
+
{
|
|
41073
|
+
"name": "Culture",
|
|
41074
|
+
"type": "CultureInfo?",
|
|
41075
|
+
"default": null,
|
|
41076
|
+
"description": "Culture for month names and digits; null uses CurrentCulture.",
|
|
41077
|
+
"isCascading": false,
|
|
41078
|
+
"captureUnmatched": false,
|
|
41079
|
+
"isEditorRequired": false
|
|
41080
|
+
},
|
|
40807
41081
|
{
|
|
40808
41082
|
"name": "TreeHeaderMenu",
|
|
40809
41083
|
"type": "RenderFragment?",
|
|
@@ -41378,12 +41652,12 @@
|
|
|
41378
41652
|
"code": "<Grid Columns=\"2\" Gap=\"4\" Class=\"md:grid-cols-4\">\n <div>1</div>\n <div>2</div>\n <!-- ... -->\n</Grid>"
|
|
41379
41653
|
},
|
|
41380
41654
|
{
|
|
41381
|
-
"title": "
|
|
41382
|
-
"code": "<Grid Columns=\"
|
|
41655
|
+
"title": "Responsive Parameter",
|
|
41656
|
+
"code": "<Grid Columns=\"4\" Responsive=\"true\" Gap=\"4\" Class=\"w-full\">\n @for (var i = 1; i <= 8; i++)\n {\n <Flex Class=\"h-16 rounded-md bg-primary/20 items-center justify-center text-sm text-primary\">@i</Flex>\n }\n</Grid>"
|
|
41383
41657
|
},
|
|
41384
41658
|
{
|
|
41385
|
-
"title": "
|
|
41386
|
-
"code": "<Grid Columns=\"
|
|
41659
|
+
"title": "Different Gaps",
|
|
41660
|
+
"code": "<Grid Columns=\"3\" RowGap=\"6\" ColGap=\"2\">\n <div>1</div>\n <div>2</div>\n <!-- ... -->\n</Grid>"
|
|
41387
41661
|
}
|
|
41388
41662
|
],
|
|
41389
41663
|
"subComponents": {},
|
|
@@ -41656,8 +41930,8 @@
|
|
|
41656
41930
|
"code": "<Hero Alignment=\"Hero.HeroAlignment.Center\"\n Title=\"Everything you need to ship\"\n Subtitle=\"Forms, overlays, data display, charts, and motion — all in one package.\">\n <Actions>\n <Button>Install</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\">Docs</Button>\n </Actions>\n</Hero>"
|
|
41657
41931
|
},
|
|
41658
41932
|
{
|
|
41659
|
-
"title": "
|
|
41660
|
-
"code": "<Hero Title=\"
|
|
41933
|
+
"title": "End Alignment",
|
|
41934
|
+
"code": "<Hero Alignment=\"Hero.HeroAlignment.End\"\n Title=\"Right-aligned hero\"\n Subtitle=\"Content, actions, and title all align to the end of the rail.\">\n <Actions>\n <Button>Get started</Button>\n <Button Variant=\"Button.ButtonVariant.Outline\">Learn more</Button>\n </Actions>\n</Hero>"
|
|
41661
41935
|
}
|
|
41662
41936
|
],
|
|
41663
41937
|
"subComponents": {},
|
|
@@ -41945,8 +42219,8 @@
|
|
|
41945
42219
|
"code": "<HoverCard>\n <HoverCardTrigger><Button Variant=\"Button.ButtonVariant.Outline\">Hover me</Button></HoverCardTrigger>\n <HoverCardContent ShowArrow=\"true\">\n <Stack Gap=\"1\">\n <Heading Level=\"4\" Size=\"sm\" Weight=\"semibold\">With arrow</Heading>\n <Lumeo.Text Size=\"sm\" Color=\"muted\">A small pointer ties the card to its trigger.</Lumeo.Text>\n </Stack>\n </HoverCardContent>\n</HoverCard>"
|
|
41946
42220
|
},
|
|
41947
42221
|
{
|
|
41948
|
-
"title": "
|
|
41949
|
-
"code": "<
|
|
42222
|
+
"title": "Side placement",
|
|
42223
|
+
"code": "<Flex Gap=\"8\" Wrap=\"true\">\n <HoverCard>\n <HoverCardTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\" Size=\"Button.ButtonSize.Sm\">Top</Button>\n </HoverCardTrigger>\n <HoverCardContent Side=\"Lumeo.Side.Top\" ShowArrow=\"true\">\n <Lumeo.Text Size=\"sm\">Opens above the trigger.</Lumeo.Text>\n </HoverCardContent>\n </HoverCard>\n <HoverCard>\n <HoverCardTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\" Size=\"Button.ButtonSize.Sm\">Right</Button>\n </HoverCardTrigger>\n <HoverCardContent Side=\"Lumeo.Side.Right\" ShowArrow=\"true\">\n <Lumeo.Text Size=\"sm\">Opens to the right.</Lumeo.Text>\n </HoverCardContent>\n </HoverCard>\n <HoverCard>\n <HoverCardTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\" Size=\"Button.ButtonSize.Sm\">Left</Button>\n </HoverCardTrigger>\n <HoverCardContent Side=\"Lumeo.Side.Left\" ShowArrow=\"true\">\n <Lumeo.Text Size=\"sm\">Opens to the left.</Lumeo.Text>\n </HoverCardContent>\n </HoverCard>\n</Flex>"
|
|
41950
42224
|
}
|
|
41951
42225
|
],
|
|
41952
42226
|
"subComponents": {
|
|
@@ -42701,12 +42975,12 @@
|
|
|
42701
42975
|
"code": "<Image Src=\"photo.jpg\" Preview=\"true\" />"
|
|
42702
42976
|
},
|
|
42703
42977
|
{
|
|
42704
|
-
"title": "
|
|
42705
|
-
"code": "<
|
|
42978
|
+
"title": "Lazy Loading",
|
|
42979
|
+
"code": "<Image Src=\"https://picsum.photos/seed/lazy-doc/400/250\" Alt=\"Lazy loaded image\" Lazy=\"true\" Width=\"400\" Height=\"250\" Class=\"rounded-lg\" />"
|
|
42706
42980
|
},
|
|
42707
42981
|
{
|
|
42708
|
-
"title": "
|
|
42709
|
-
"code": "<Image Src=\"
|
|
42982
|
+
"title": "Fallback on Error",
|
|
42983
|
+
"code": "<Image Src=\"https://example.invalid/broken.jpg\"\n Fallback=\"https://picsum.photos/seed/fallback-doc/400/250\"\n Alt=\"Falls back when the primary image fails\" Width=\"400\" Height=\"250\" Class=\"rounded-lg\" />"
|
|
42710
42984
|
}
|
|
42711
42985
|
],
|
|
42712
42986
|
"subComponents": {
|
|
@@ -44492,6 +44766,10 @@
|
|
|
44492
44766
|
"title": "Required Field",
|
|
44493
44767
|
"code": "<Stack Gap=\"2\">\n <Flex Gap=\"1\" Align=\"center\">\n <Label>Email address</Label>\n <Lumeo.Text As=\"span\" Size=\"sm\" Color=\"destructive\">*</Lumeo.Text>\n </Flex>\n <Input type=\"email\" placeholder=\"you@example.com\" />\n <Lumeo.Text Size=\"xs\" Color=\"muted\">We'll never share your email.</Lumeo.Text>\n</Stack>\n<Stack Gap=\"2\">\n <Flex Align=\"center\" Justify=\"between\">\n <Label>Password</Label>\n <a href=\"#\" class=\"text-xs text-primary hover:underline\">Forgot password?</a>\n </Flex>\n <Input type=\"password\" placeholder=\"••••••••\" />\n</Stack>"
|
|
44494
44768
|
},
|
|
44769
|
+
{
|
|
44770
|
+
"title": "Associated with For",
|
|
44771
|
+
"code": "<Stack Gap=\"2\" Class=\"w-full max-w-sm\">\n <Label For=\"email-field\">Email address</Label>\n <Input id=\"email-field\" Type=\"email\" Placeholder=\"you@example.com\" />\n <Lumeo.Text Size=\"xs\" Color=\"muted\">Clicking the label focuses the input via the <code class=\"text-xs\">For</code> attribute.</Lumeo.Text>\n</Stack>"
|
|
44772
|
+
},
|
|
44495
44773
|
{
|
|
44496
44774
|
"title": "Multiple Fields",
|
|
44497
44775
|
"code": "<Stack Gap=\"2\">\n <Label>First name</Label>\n <Input Placeholder=\"John\" />\n</Stack>\n<Flex Gap=\"2\" Align=\"center\">\n <Checkbox @bind-Checked=\"_agreed\" />\n <Label>I agree to the terms and conditions</Label>\n</Flex>"
|
|
@@ -45196,7 +45474,12 @@
|
|
|
45196
45474
|
"--color-muted-foreground",
|
|
45197
45475
|
"--radius"
|
|
45198
45476
|
],
|
|
45199
|
-
"examples": [
|
|
45477
|
+
"examples": [
|
|
45478
|
+
{
|
|
45479
|
+
"title": "Map controls — Geolocate, Fullscreen, Scale, Search, Layers",
|
|
45480
|
+
"code": "<LazyRender Height=\"460px\">\n <Map Center=\"(48.137, 11.575)\"\n Zoom=\"11\"\n Height=\"460px\"\n Geolocate=\"true\"\n Fullscreen=\"true\"\n Scale=\"true\"\n Search=\"true\"\n Layers=\"@(new[] { \"Positron\", \"DarkMatter\", \"Voyager\", \"Satellite\" })\">\n <Overlay>\n <MapInfoChip Position=\"bottom-left\">\n Geolocate · Fullscreen · Scale · Search · Layer switcher\n </MapInfoChip>\n </Overlay>\n </Map>\n</LazyRender>"
|
|
45481
|
+
}
|
|
45482
|
+
],
|
|
45200
45483
|
"subComponents": {
|
|
45201
45484
|
"MapArc": {
|
|
45202
45485
|
"componentName": "MapArc",
|
|
@@ -46285,6 +46568,10 @@
|
|
|
46285
46568
|
{
|
|
46286
46569
|
"title": "Fast Speed",
|
|
46287
46570
|
"code": "<Marquee Speed=\"Marquee.MarqueeSpeed.Fast\" PauseOnHover=\"true\">\n <div class=\"mx-6 text-sm font-mono text-muted-foreground\">Item 1</div>\n <div class=\"mx-6 text-sm font-mono text-muted-foreground\">Item 2</div>\n</Marquee>"
|
|
46571
|
+
},
|
|
46572
|
+
{
|
|
46573
|
+
"title": "Vertical",
|
|
46574
|
+
"code": "<div class=\"h-48 overflow-hidden\">\n <Marquee Vertical=\"true\" PauseOnHover=\"true\">\n @foreach (var brand in _brands)\n {\n <div class=\"my-3 flex items-center gap-2 text-sm font-medium text-muted-foreground\">\n <DynamicIcon Name=\"Box\" Class=\"h-4 w-4 shrink-0\" />\n @brand\n </div>\n }\n </Marquee>\n</div>"
|
|
46288
46575
|
}
|
|
46289
46576
|
],
|
|
46290
46577
|
"subComponents": {},
|
|
@@ -46671,6 +46958,15 @@
|
|
|
46671
46958
|
"isCascading": false,
|
|
46672
46959
|
"captureUnmatched": true,
|
|
46673
46960
|
"isEditorRequired": false
|
|
46961
|
+
},
|
|
46962
|
+
{
|
|
46963
|
+
"name": "Context",
|
|
46964
|
+
"type": "MegaMenu.MegaMenuContext?",
|
|
46965
|
+
"default": null,
|
|
46966
|
+
"description": null,
|
|
46967
|
+
"isCascading": true,
|
|
46968
|
+
"captureUnmatched": false,
|
|
46969
|
+
"isEditorRequired": false
|
|
46674
46970
|
}
|
|
46675
46971
|
],
|
|
46676
46972
|
"events": [],
|
|
@@ -46922,8 +47218,12 @@
|
|
|
46922
47218
|
"code": "<Mention @bind-Value=\"_text\" Options=\"@_channels\" Trigger='#' />"
|
|
46923
47219
|
},
|
|
46924
47220
|
{
|
|
46925
|
-
"title": "
|
|
46926
|
-
"code": "<
|
|
47221
|
+
"title": "Label, Required & Helper Text",
|
|
47222
|
+
"code": "<Mention @bind-Value=\"_text4\"\n Options=\"@_people\"\n Label=\"Comment\"\n Required=\"true\"\n HelperText=\"Type the at-sign to mention a teammate.\"\n Placeholder=\"Write a comment...\"\n Class=\"max-w-md\" />"
|
|
47223
|
+
},
|
|
47224
|
+
{
|
|
47225
|
+
"title": "Invalid State",
|
|
47226
|
+
"code": "<Mention Value=\"@_text5\"\n Options=\"@_people\"\n Label=\"Note\"\n Invalid=\"true\"\n ErrorText=\"A note is required.\"\n Class=\"max-w-md\" />"
|
|
46927
47227
|
}
|
|
46928
47228
|
],
|
|
46929
47229
|
"subComponents": {},
|
|
@@ -48097,12 +48397,12 @@
|
|
|
48097
48397
|
"code": "<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">Home</NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">About</NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">Blog</NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"...\">Contact</NavigationMenuLink>\n </NavigationMenuItem>\n </NavigationMenuList>\n</NavigationMenu>"
|
|
48098
48398
|
},
|
|
48099
48399
|
{
|
|
48100
|
-
"title": "
|
|
48101
|
-
"code": "<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <
|
|
48400
|
+
"title": "Active link (aria-current)",
|
|
48401
|
+
"code": "<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" IsActive=\"true\" Class=\"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent transition-colors\">\n Home\n </NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent transition-colors\">\n About\n </NavigationMenuLink>\n </NavigationMenuItem>\n <NavigationMenuItem>\n <NavigationMenuLink Href=\"#\" Class=\"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent transition-colors\">\n Contact\n </NavigationMenuLink>\n </NavigationMenuItem>\n </NavigationMenuList>\n</NavigationMenu>"
|
|
48102
48402
|
},
|
|
48103
48403
|
{
|
|
48104
|
-
"title": "
|
|
48105
|
-
"code": "<
|
|
48404
|
+
"title": "Mobile menu (Hamburger + Sheet)",
|
|
48405
|
+
"code": "<div class=\"relative\">\n <NavigationMenuHamburger @bind-Open=\"_mobileOpen\" Class=\"!flex\" />\n <NavigationMenuMobile @bind-Open=\"_mobileOpen\">\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Home</NavigationMenuLink>\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Products</NavigationMenuLink>\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Pricing</NavigationMenuLink>\n <NavigationMenuLink Href=\"#\" Class=\"rounded-md p-2 text-sm font-medium hover:bg-accent\">Contact</NavigationMenuLink>\n </NavigationMenuMobile>\n</div>"
|
|
48106
48406
|
}
|
|
48107
48407
|
],
|
|
48108
48408
|
"subComponents": {
|
|
@@ -49123,12 +49423,12 @@
|
|
|
49123
49423
|
"code": "<NumberTicker Value=\"48295\" Prefix=\"$\" Class=\"text-3xl font-semibold tabular-nums\" />\n<NumberTicker Value=\"94.7\" Decimals=\"1\" Suffix=\"%\" Class=\"text-3xl font-semibold tabular-nums\" />"
|
|
49124
49424
|
},
|
|
49125
49425
|
{
|
|
49126
|
-
"title": "Custom
|
|
49127
|
-
"code": "<
|
|
49426
|
+
"title": "Custom Start Value",
|
|
49427
|
+
"code": "<Flex Gap=\"8\" Align=\"center\">\n <div class=\"text-center\">\n <NumberTicker Value=\"1280\" StartValue=\"1000\" DurationMs=\"2000\" Class=\"text-3xl font-bold tabular-nums\" />\n <p class=\"mt-1 text-xs text-muted-foreground\">Counts up from 1,000 to 1,280</p>\n </div>\n</Flex>"
|
|
49128
49428
|
},
|
|
49129
49429
|
{
|
|
49130
|
-
"title": "Custom
|
|
49131
|
-
"code": "<NumberTicker Value=\"
|
|
49430
|
+
"title": "Custom Duration",
|
|
49431
|
+
"code": "<NumberTicker Value=\"250\" DurationMs=\"500\" Class=\"text-2xl font-bold\" />\n<NumberTicker Value=\"250\" DurationMs=\"3000\" Class=\"text-2xl font-bold\" />"
|
|
49132
49432
|
}
|
|
49133
49433
|
],
|
|
49134
49434
|
"subComponents": {},
|
|
@@ -49562,6 +49862,10 @@
|
|
|
49562
49862
|
"title": "Basic Overlay Form",
|
|
49563
49863
|
"code": "<OverlayForm Model=\"@_model\" OnValidSubmit=\"HandleSave\">\n <Header>\n <Heading Level=\"3\" Class=\"text-base font-semibold\">Edit contact</Heading>\n </Header>\n <Body>\n <Stack Gap=\"4\">\n <Label>Name</Label>\n <Input @bind-Value=\"_model.Name\" Placeholder=\"Jane Doe\" />\n <Label>Email</Label>\n <Input @bind-Value=\"_model.Email\" Placeholder=\"jane@example.com\" />\n <Label>Notes</Label>\n <Textarea @bind-Value=\"_model.Notes\" />\n </Stack>\n </Body>\n <Footer>\n <Button Variant=\"Button.ButtonVariant.Outline\">Cancel</Button>\n <Button Type=\"Button.ButtonType.Submit\">Save</Button>\n </Footer>\n</OverlayForm>\n\n@code {\n private ContactModel _model = new();\n private void HandleSave(EditContext ctx) { /* persist _model */ }\n}"
|
|
49564
49864
|
},
|
|
49865
|
+
{
|
|
49866
|
+
"title": "Validation (OnInvalidSubmit)",
|
|
49867
|
+
"code": "<div class=\"h-[280px] rounded-lg border border-border/40 p-4\">\n <OverlayForm Model=\"@_validatedModel\" OnValidSubmit=\"HandleValidSubmit\" OnInvalidSubmit=\"HandleInvalidSubmit\">\n <Header>\n <Heading Level=\"3\" Class=\"text-base font-semibold\">Required field</Heading>\n </Header>\n <Body>\n <Stack Gap=\"1.5\">\n <Label>Name (required)</Label>\n <Input @bind-Value=\"_validatedModel.Name\" Placeholder=\"Leave empty and submit\" />\n <ValidationMessage For=\"@(() => _validatedModel.Name)\" />\n </Stack>\n </Body>\n <Footer>\n <Button Type=\"Button.ButtonType.Submit\">Submit</Button>\n </Footer>\n </OverlayForm>\n</div>\n@if (!string.IsNullOrEmpty(_validationResult))\n{\n <Lumeo.Text Class=\"text-sm text-muted-foreground mt-3\">@_validationResult</Lumeo.Text>\n}"
|
|
49868
|
+
},
|
|
49565
49869
|
{
|
|
49566
49870
|
"title": "Prefilled edit + async save",
|
|
49567
49871
|
"code": "<OverlayForm Model=\"@_editModel\" OnValidSubmit=\"HandleAsyncSave\">\n <Body>\n <Label>Name</Label>\n <Input @bind-Value=\"_editModel.Name\" />\n <Label>Email</Label>\n <Input @bind-Value=\"_editModel.Email\" />\n </Body>\n <Footer>\n <Button Type=\"Button.ButtonType.Submit\" IsLoading=\"_saving\">@(_saving ? \"Saving…\" : \"Save\")</Button>\n </Footer>\n</OverlayForm>\n\n@code {\n // Prefill from an existing record:\n private ContactModel _editModel = new() { Name = \"Ada Lovelace\", Email = \"ada@example.com\" };\n private bool _saving;\n private async Task HandleAsyncSave(EditContext ctx)\n {\n _saving = true;\n await SaveAsync(_editModel); // await your service\n _saving = false;\n }\n}"
|
|
@@ -49721,8 +50025,8 @@
|
|
|
49721
50025
|
"code": "<Segmented @bind-Value=\"_paginationSize\">\n <SegmentedItem Value=\"sm\">Sm</SegmentedItem>\n <SegmentedItem Value=\"md\">Md</SegmentedItem>\n <SegmentedItem Value=\"lg\">Lg</SegmentedItem>\n</Segmented>\n\n<Pagination>\n <PaginationContent>\n <PaginationPrevious OnClick=\"@(() => GoToPage(_currentPage - 1))\" Disabled=\"@(_currentPage <= 1)\" />\n @for (int i = 1; i <= 5; i++)\n {\n var page = i;\n <PaginationItem IsActive=\"@(page == _currentPage)\"\n OnClick=\"@(() => GoToPage(page))\"\n Class=\"@(_paginationSize switch { \\\"sm\\\" => \\\"h-7 w-7 text-xs\\\", \\\"lg\\\" => \\\"h-11 w-11 text-base\\\", _ => \\\"\\\" })\">\n @page\n </PaginationItem>\n }\n <PaginationNext OnClick=\"@(() => GoToPage(_currentPage + 1))\" Disabled=\"@(_currentPage >= 5)\" />\n </PaginationContent>\n</Pagination>\n\n@code {\n private string _paginationSize = \"md\";\n private int _currentPage = 1;\n}"
|
|
49722
50026
|
},
|
|
49723
50027
|
{
|
|
49724
|
-
"title": "
|
|
49725
|
-
"code": "<
|
|
50028
|
+
"title": "Data-driven (auto ellipsis)",
|
|
50029
|
+
"code": "<Stack Gap=\"2\">\n <div class=\"overflow-x-auto\">\n <Pagination Page=\"_ddPage\" TotalPages=\"20\" PageChanged=\"@(p => _ddPage = p)\" />\n </div>\n <Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"text-center\">Page @_ddPage of 20</Lumeo.Text>\n</Stack>"
|
|
49726
50030
|
}
|
|
49727
50031
|
],
|
|
49728
50032
|
"subComponents": {
|
|
@@ -50491,7 +50795,16 @@
|
|
|
50491
50795
|
"--color-ring",
|
|
50492
50796
|
"--radius"
|
|
50493
50797
|
],
|
|
50494
|
-
"examples": [
|
|
50798
|
+
"examples": [
|
|
50799
|
+
{
|
|
50800
|
+
"title": "Fit to width",
|
|
50801
|
+
"code": "<PdfViewer Src=\"@SamplePdfUrl\"\n FitMode=\"PdfViewer.PdfFitMode.FitWidth\"\n Class=\"h-[500px]\" />"
|
|
50802
|
+
},
|
|
50803
|
+
{
|
|
50804
|
+
"title": "Fit whole page",
|
|
50805
|
+
"code": "<PdfViewer Src=\"@SamplePdfUrl\"\n FitMode=\"PdfViewer.PdfFitMode.FitPage\"\n Class=\"h-[500px]\" />"
|
|
50806
|
+
}
|
|
50807
|
+
],
|
|
50495
50808
|
"subComponents": {},
|
|
50496
50809
|
"a11y": {
|
|
50497
50810
|
"roles": [
|
|
@@ -50868,8 +51181,8 @@
|
|
|
50868
51181
|
"code": "<PivotGrid TItem=\"Sale\"\n Items=\"_sales\"\n RowFields=\"@(new List<PivotField<Sale>> {\n new(\"Region\", s => s.Region),\n new(\"Country\", s => s.Country),\n })\"\n ColumnFields=\"_yearField\"\n Measures=\"_amountMeasure\"\n Collapsible=\"true\"\n Compact=\"true\" />"
|
|
50869
51182
|
},
|
|
50870
51183
|
{
|
|
50871
|
-
"title": "
|
|
50872
|
-
"code": "<
|
|
51184
|
+
"title": "Average aggregation",
|
|
51185
|
+
"code": "<Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"mb-3 block\">Switch the measure aggregate to Average / Min / Max instead of Sum.</Lumeo.Text>\n<PivotGrid TItem=\"Sale\"\n Items=\"_sales\"\n RowFields=\"_regionField\"\n ColumnFields=\"_yearField\"\n Measures=\"_avgMeasure\" />"
|
|
50873
51186
|
}
|
|
50874
51187
|
],
|
|
50875
51188
|
"subComponents": {},
|
|
@@ -52062,8 +52375,12 @@
|
|
|
52062
52375
|
"code": "<PromptInput @bind-Value=\"_prompt\" IsLoading=\"@_isLoading\" OnSend=\"@HandleSend\" />\n\n@code {\n private string? _prompt;\n private bool _isLoading;\n\n private async Task HandleSend(string text)\n {\n _isLoading = true;\n await CallAiApi(text);\n _isLoading = false;\n }\n}"
|
|
52063
52376
|
},
|
|
52064
52377
|
{
|
|
52065
|
-
"title": "
|
|
52066
|
-
"code": "<
|
|
52378
|
+
"title": "Character Counter",
|
|
52379
|
+
"code": "<Container MaxWidth=\"lg\" Center=\"false\" Class=\"w-full max-w-xl h-[160px] overflow-y-auto pr-1\">\n <PromptInput @bind-Value=\"_promptCounter\" OnSend=\"@HandleSendNoop\" MaxLength=\"200\" Placeholder=\"Up to 200 characters…\" />\n</Container>"
|
|
52380
|
+
},
|
|
52381
|
+
{
|
|
52382
|
+
"title": "Built-in Attach Button",
|
|
52383
|
+
"code": "<Container MaxWidth=\"lg\" Center=\"false\" Class=\"w-full max-w-xl h-[180px] overflow-y-auto pr-1\">\n <PromptInput @bind-Value=\"_promptAttach\" OnSend=\"@HandleSendNoop\" ShowAttachButton=\"true\"\n OnAttach=\"@(() => _attachClicked = true)\" Placeholder=\"Attach a file or type…\" />\n @if (_attachClicked)\n {\n <p class=\"mt-2 text-xs text-muted-foreground\">Attach button clicked.</p>\n }\n</Container>"
|
|
52067
52384
|
}
|
|
52068
52385
|
],
|
|
52069
52386
|
"subComponents": {},
|
|
@@ -52501,6 +52818,10 @@
|
|
|
52501
52818
|
{
|
|
52502
52819
|
"title": "Pre-populated nested groups",
|
|
52503
52820
|
"code": "<QueryBuilder Fields=\"_fields\" @bind-Query=\"_query\" MaxDepth=\"3\" />\n\n@code {\n private QueryGroup _query = new()\n {\n Combinator = QueryCombinator.And,\n Rules =\n {\n new QueryRule { Field = \"isActive\", Operator = \"=\", Value = true },\n new QueryGroup\n {\n Combinator = QueryCombinator.Or,\n Rules =\n {\n new QueryRule { Field = \"plan\", Operator = \"=\", Value = \"pro\" },\n new QueryRule { Field = \"plan\", Operator = \"=\", Value = \"enterprise\" }\n }\n }\n }\n };\n\n // Run it client-side:\n // var predicate = QueryBuilder.ToExpression<Customer>(_query);\n // var matches = customers.Where(predicate.Compile());\n}"
|
|
52821
|
+
},
|
|
52822
|
+
{
|
|
52823
|
+
"title": "Disallow Empty Groups",
|
|
52824
|
+
"code": "<QueryBuilder Fields=\"_fields\" @bind-Query=\"_noEmptyQuery\" AllowEmptyGroups=\"false\" />"
|
|
52504
52825
|
}
|
|
52505
52826
|
],
|
|
52506
52827
|
"subComponents": {
|
|
@@ -52797,8 +53118,12 @@
|
|
|
52797
53118
|
"code": "<RadioGroup @bind-Value=\"_plan\" Class=\"grid grid-cols-3 gap-2\">\n @foreach (var p in new[] { (\"free\", \"Free\", \"$0\"), (\"pro\", \"Pro\", \"$15\"), (\"team\", \"Team\", \"$49\") })\n {\n <label class=\"@($\"flex flex-col items-center rounded-md border p-3 cursor-pointer {(_plan == p.Item1 ? \\\"border-primary\\\" : \\\"border-muted\\\")}\")>\n <RadioGroupItem Value=\"@p.Item1\" Class=\"sr-only\" />\n <Lumeo.Text As=\"span\" Size=\"sm\" Weight=\"semibold\">@p.Item2</Lumeo.Text>\n <Lumeo.Text As=\"span\" Size=\"xs\" Color=\"muted\">@p.Item3/mo</Lumeo.Text>\n </label>\n }\n</RadioGroup>"
|
|
52798
53119
|
},
|
|
52799
53120
|
{
|
|
52800
|
-
"title": "
|
|
52801
|
-
"code": "<
|
|
53121
|
+
"title": "Card options (RadioGroupCard)",
|
|
53122
|
+
"code": "<Container MaxWidth=\"sm\" Center=\"false\" Padding=\"\">\n <RadioGroup @bind-Value=\"_card\" Class=\"grid gap-3\">\n <RadioGroupCard Value=\"starter\">\n <div>\n <div class=\"text-sm font-semibold text-foreground\">Starter</div>\n <div class=\"text-xs text-muted-foreground\">For individuals getting started.</div>\n </div>\n </RadioGroupCard>\n <RadioGroupCard Value=\"team\">\n <div>\n <div class=\"text-sm font-semibold text-foreground\">Team</div>\n <div class=\"text-xs text-muted-foreground\">Collaboration features for small teams.</div>\n </div>\n </RadioGroupCard>\n </RadioGroup>\n <Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"mt-3\">Selected: @(_card ?? \"none\")</Lumeo.Text>\n</Container>"
|
|
53123
|
+
},
|
|
53124
|
+
{
|
|
53125
|
+
"title": "Item description & disabled",
|
|
53126
|
+
"code": "<Container MaxWidth=\"sm\" Center=\"false\" Padding=\"\">\n <RadioGroup @bind-Value=\"_shipping\">\n <RadioGroupItem Value=\"standard\" Description=\"3-5 business days, free.\">\n <Label>Standard</Label>\n </RadioGroupItem>\n <RadioGroupItem Value=\"express\" Description=\"1-2 business days, $9.99.\">\n <Label>Express</Label>\n </RadioGroupItem>\n <RadioGroupItem Value=\"overnight\" Disabled=\"true\" Description=\"Currently unavailable.\">\n <Label>Overnight</Label>\n </RadioGroupItem>\n </RadioGroup>\n</Container>"
|
|
52802
53127
|
}
|
|
52803
53128
|
],
|
|
52804
53129
|
"subComponents": {
|
|
@@ -54846,6 +55171,7 @@
|
|
|
54846
55171
|
"files": [
|
|
54847
55172
|
"UI/Scheduler/Scheduler.razor",
|
|
54848
55173
|
"UI/Scheduler/SchedulerAgendaView.razor",
|
|
55174
|
+
"UI/Scheduler/SchedulerCalendarMath.cs",
|
|
54849
55175
|
"UI/Scheduler/SchedulerDateMath.cs",
|
|
54850
55176
|
"UI/Scheduler/SchedulerInteractionTypes.cs",
|
|
54851
55177
|
"UI/Scheduler/SchedulerMonthLayout.cs",
|
|
@@ -54970,7 +55296,16 @@
|
|
|
54970
55296
|
"name": "FirstDayOfWeek",
|
|
54971
55297
|
"type": "int",
|
|
54972
55298
|
"default": "1",
|
|
54973
|
-
"description": "The first day of the week, 0 (Sunday) through 6 (Saturday). Default: 1 (Monday).",
|
|
55299
|
+
"description": "The first day of the week, 0 (Sunday) through 6 (Saturday). Default: 1 (Monday). With CalendarSystem set to Jalali the default is Saturday (6) instead, unless this parameter is set explicitly.",
|
|
55300
|
+
"isCascading": false,
|
|
55301
|
+
"captureUnmatched": false,
|
|
55302
|
+
"isEditorRequired": false
|
|
55303
|
+
},
|
|
55304
|
+
{
|
|
55305
|
+
"name": "CalendarSystem",
|
|
55306
|
+
"type": "CalendarSystem",
|
|
55307
|
+
"default": "CalendarSystem.Gregorian",
|
|
55308
|
+
"description": "The calendar system the Scheduler lays out and labels periods in. Jalali renders Solar Hijri (Persian) months in the month view, the toolbar title and the timeline's month columns, labels days with Jalali day/month names (Persian digits under a fa UI culture), and starts the week on Saturday unless FirstDayOfWeek is set. Month navigation steps by Jalali months; week/day navigation is calendar-independent. Event data (Start/End) stays Gregorian DateTime and so do recurrence rules: a monthly rule repeats on the same Gregorian day of month and a yearly rule on the same Gregorian date, because the rule is part of the event data, not of how it is displayed. Month names, weekday names and AM/PM designators come from the UI culture. Default Gregorian.",
|
|
54974
55309
|
"isCascading": false,
|
|
54975
55310
|
"captureUnmatched": false,
|
|
54976
55311
|
"isEditorRequired": false
|
|
@@ -55184,6 +55519,14 @@
|
|
|
55184
55519
|
}
|
|
55185
55520
|
],
|
|
55186
55521
|
"enums": [
|
|
55522
|
+
{
|
|
55523
|
+
"name": "CalendarSystem",
|
|
55524
|
+
"values": [
|
|
55525
|
+
"Gregorian",
|
|
55526
|
+
"Jalali"
|
|
55527
|
+
],
|
|
55528
|
+
"description": "The calendar system a Calendar / DatePicker lays its months out in. The bound values are always plain DateOnly (Gregorian) dates — only the month grid, headers, navigation and display text follow the selected system."
|
|
55529
|
+
},
|
|
55187
55530
|
{
|
|
55188
55531
|
"name": "SchedulerPaneMode",
|
|
55189
55532
|
"values": [
|
|
@@ -55241,12 +55584,12 @@
|
|
|
55241
55584
|
"code": "<SchedulerTimeGridView Events=\"_events\"\n AnchorDate=\"_anchor\"\n Days=\"7\"\n BusinessHours=\"true\"\n NowIndicator=\"true\"\n OnEventChange=\"OnEventChange\" />"
|
|
55242
55585
|
},
|
|
55243
55586
|
{
|
|
55244
|
-
"title": "
|
|
55245
|
-
"code": "<
|
|
55587
|
+
"title": "Day view",
|
|
55588
|
+
"code": "<SchedulerTimeGridView Events=\"_fpWeekEvents\" AnchorDate=\"_fpAnchor\" Days=\"1\" BusinessHours=\"true\" NowIndicator=\"true\" />"
|
|
55246
55589
|
},
|
|
55247
55590
|
{
|
|
55248
|
-
"title": "
|
|
55249
|
-
"code": "<
|
|
55591
|
+
"title": "Agenda view",
|
|
55592
|
+
"code": "<SchedulerAgendaView Events=\"_events\" AnchorDate=\"_anchor\" DaysToShow=\"30\" />"
|
|
55250
55593
|
}
|
|
55251
55594
|
],
|
|
55252
55595
|
"subComponents": {
|
|
@@ -55284,6 +55627,15 @@
|
|
|
55284
55627
|
"captureUnmatched": false,
|
|
55285
55628
|
"isEditorRequired": false
|
|
55286
55629
|
},
|
|
55630
|
+
{
|
|
55631
|
+
"name": "CalendarSystem",
|
|
55632
|
+
"type": "CalendarSystem",
|
|
55633
|
+
"default": "CalendarSystem.Gregorian",
|
|
55634
|
+
"description": "Calendar system for the day headings and time labels. Event data stays Gregorian. Default Gregorian.",
|
|
55635
|
+
"isCascading": false,
|
|
55636
|
+
"captureUnmatched": false,
|
|
55637
|
+
"isEditorRequired": false
|
|
55638
|
+
},
|
|
55287
55639
|
{
|
|
55288
55640
|
"name": "OnEventClick",
|
|
55289
55641
|
"type": "EventCallback<SchedulerEvent>",
|
|
@@ -55379,6 +55731,15 @@
|
|
|
55379
55731
|
"captureUnmatched": false,
|
|
55380
55732
|
"isEditorRequired": false
|
|
55381
55733
|
},
|
|
55734
|
+
{
|
|
55735
|
+
"name": "CalendarSystem",
|
|
55736
|
+
"type": "CalendarSystem",
|
|
55737
|
+
"default": "CalendarSystem.Gregorian",
|
|
55738
|
+
"description": "The calendar system the grid is laid out in. Jalali covers the Jalali month (leading/trailing days come from the adjacent Jalali months) and numbers the day cells in that calendar; event data stays Gregorian. Default Gregorian.",
|
|
55739
|
+
"isCascading": false,
|
|
55740
|
+
"captureUnmatched": false,
|
|
55741
|
+
"isEditorRequired": false
|
|
55742
|
+
},
|
|
55382
55743
|
{
|
|
55383
55744
|
"name": "ShowWeekNumbers",
|
|
55384
55745
|
"type": "bool",
|
|
@@ -55641,6 +56002,15 @@
|
|
|
55641
56002
|
"captureUnmatched": false,
|
|
55642
56003
|
"isEditorRequired": false
|
|
55643
56004
|
},
|
|
56005
|
+
{
|
|
56006
|
+
"name": "CalendarSystem",
|
|
56007
|
+
"type": "CalendarSystem",
|
|
56008
|
+
"default": "CalendarSystem.Gregorian",
|
|
56009
|
+
"description": "Calendar system for the spelled-out date and Persian-digit time labels. Event data stays Gregorian. Default Gregorian.",
|
|
56010
|
+
"isCascading": false,
|
|
56011
|
+
"captureUnmatched": false,
|
|
56012
|
+
"isEditorRequired": false
|
|
56013
|
+
},
|
|
55644
56014
|
{
|
|
55645
56015
|
"name": "SlotMinTime",
|
|
55646
56016
|
"type": "TimeOnly?",
|
|
@@ -55763,6 +56133,15 @@
|
|
|
55763
56133
|
"captureUnmatched": false,
|
|
55764
56134
|
"isEditorRequired": false
|
|
55765
56135
|
},
|
|
56136
|
+
{
|
|
56137
|
+
"name": "CalendarSystem",
|
|
56138
|
+
"type": "CalendarSystem",
|
|
56139
|
+
"default": "CalendarSystem.Gregorian",
|
|
56140
|
+
"description": "The calendar system the column headers (day number and month) and spelled-out dates use. Columns themselves are always consecutive days, so week/day layout is calendar-independent; event data stays Gregorian. Default Gregorian.",
|
|
56141
|
+
"isCascading": false,
|
|
56142
|
+
"captureUnmatched": false,
|
|
56143
|
+
"isEditorRequired": false
|
|
56144
|
+
},
|
|
55766
56145
|
{
|
|
55767
56146
|
"name": "SlotMinTime",
|
|
55768
56147
|
"type": "TimeOnly?",
|
|
@@ -56128,6 +56507,15 @@
|
|
|
56128
56507
|
"captureUnmatched": false,
|
|
56129
56508
|
"isEditorRequired": false
|
|
56130
56509
|
},
|
|
56510
|
+
{
|
|
56511
|
+
"name": "CalendarSystem",
|
|
56512
|
+
"type": "CalendarSystem",
|
|
56513
|
+
"default": "CalendarSystem.Gregorian",
|
|
56514
|
+
"description": "Calendar system of the month columns, their labels and boundaries. Event data stays Gregorian. Default Gregorian.",
|
|
56515
|
+
"isCascading": false,
|
|
56516
|
+
"captureUnmatched": false,
|
|
56517
|
+
"isEditorRequired": false
|
|
56518
|
+
},
|
|
56131
56519
|
{
|
|
56132
56520
|
"name": "Today",
|
|
56133
56521
|
"type": "DateTime?",
|
|
@@ -56572,6 +56960,10 @@
|
|
|
56572
56960
|
{
|
|
56573
56961
|
"title": "Horizontal Nav",
|
|
56574
56962
|
"code": "<Scrollspy Class=\"flex flex-col\" @bind-ActiveId=\"_active\">\n <nav class=\"flex gap-1 mb-4 border-b pb-2\">\n <ScrollspyLink Target=\"section-1\"\n Class=\"px-3 py-1.5 rounded-md text-sm font-medium text-muted-foreground\n data-[active=true]:bg-primary data-[active=true]:text-primary-foreground\">\n Section 1\n </ScrollspyLink>\n <ScrollspyLink Target=\"section-2\" Class=\"...\">Section 2</ScrollspyLink>\n </nav>\n <div class=\"overflow-y-auto h-[400px] rounded-md border border-border/40\">\n <ScrollspySection Id=\"section-1\" Class=\"p-6 min-h-[300px]\">\n <h3>Section 1</h3>\n <p>Content...</p>\n </ScrollspySection>\n <ScrollspySection Id=\"section-2\" Class=\"p-6 min-h-[300px]\">\n <h3>Section 2</h3>\n <p>Content...</p>\n </ScrollspySection>\n </div>\n</Scrollspy>\n\n@code {\n private string? _active;\n}"
|
|
56963
|
+
},
|
|
56964
|
+
{
|
|
56965
|
+
"title": "With Offset & Instant Scroll",
|
|
56966
|
+
"code": "<Scrollspy Class=\"flex gap-4 w-full max-w-2xl\" Offset=\"80\" Smooth=\"false\" @bind-ActiveId=\"_activeOffset\">\n <nav class=\"flex flex-col gap-1 w-40 shrink-0 sticky top-0 self-start\">\n @for (int i = 1; i <= 5; i++)\n {\n var id = $\"o-section-{i}\";\n var label = $\"Section {i}\";\n <ScrollspyLink Target=\"@id\"\n Class=\"px-3 py-1.5 rounded-md text-sm font-medium text-muted-foreground transition-colors hover:text-foreground data-[active=true]:bg-primary data-[active=true]:text-primary-foreground\">\n @label\n </ScrollspyLink>\n }\n </nav>\n <Stack Gap=\"0\" Class=\"flex-1 overflow-y-auto h-[400px] rounded-md border border-border/40\">\n @for (int i = 1; i <= 5; i++)\n {\n var id = $\"o-section-{i}\";\n var title = $\"Section {i}\";\n <ScrollspySection Id=\"@id\" Class=\"p-6 min-h-[300px]\">\n <Heading Level=\"3\" Size=\"lg\" Weight=\"semibold\" Class=\"mb-2\">@title</Heading>\n <Lumeo.Text Size=\"sm\" Color=\"muted\" Class=\"leading-relaxed\">\n Offset shifts the activation line 80px down so a sticky header\n doesn't cover the section; Smooth=\"false\" jumps instantly when\n you click a link.\n </Lumeo.Text>\n </ScrollspySection>\n }\n </Stack>\n</Scrollspy>"
|
|
56575
56967
|
}
|
|
56576
56968
|
],
|
|
56577
56969
|
"subComponents": {
|
|
@@ -56851,8 +57243,8 @@
|
|
|
56851
57243
|
"code": "new SegmentedOption { Label = \"Weekly\", Value = \"weekly\", Disabled = true }"
|
|
56852
57244
|
},
|
|
56853
57245
|
{
|
|
56854
|
-
"title": "
|
|
56855
|
-
"code": "<Segmented @bind-Value=\"
|
|
57246
|
+
"title": "SegmentedItem Children",
|
|
57247
|
+
"code": "<Segmented @bind-Value=\"_seg5\">\n <SegmentedItem Value=\"list\">List</SegmentedItem>\n <SegmentedItem Value=\"grid\">Grid</SegmentedItem>\n <SegmentedItem Value=\"board\">Board</SegmentedItem>\n</Segmented>"
|
|
56856
57248
|
}
|
|
56857
57249
|
],
|
|
56858
57250
|
"subComponents": {
|
|
@@ -58047,8 +58439,8 @@
|
|
|
58047
58439
|
"code": "@foreach (var size in Enum.GetValues<SheetContent.SheetSize>())\n{\n <Sheet @bind-Open=\"@_sheetSizeOpen[size]\">\n <SheetTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">@size</Button>\n </SheetTrigger>\n <SheetContent Size=\"@size\">\n <SheetHeader>\n <SheetTitle>@size Sheet</SheetTitle>\n <SheetDescription>This sheet uses Size=\"SheetContent.SheetSize.@size\"</SheetDescription>\n </SheetHeader>\n <Stack Gap=\"4\" Class=\"py-4\">\n <Lumeo.Text Size=\"sm\" Color=\"muted\">Sheet content goes here.</Lumeo.Text>\n </Stack>\n </SheetContent>\n </Sheet>\n}\n\n@code {\n private Dictionary<SheetContent.SheetSize, bool> _sheetSizeOpen =\n Enum.GetValues<SheetContent.SheetSize>().ToDictionary(s => s, _ => false);\n}"
|
|
58048
58440
|
},
|
|
58049
58441
|
{
|
|
58050
|
-
"title": "
|
|
58051
|
-
"code": "<Sheet @bind-Open=\"
|
|
58442
|
+
"title": "Animation Modes",
|
|
58443
|
+
"code": "<Flex Gap=\"2\" Wrap=\"true\">\n <Sheet @bind-Open=\"_fadeSheetOpen\">\n <SheetTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">Fade</Button>\n </SheetTrigger>\n <SheetContent Animation=\"SheetContent.SheetAnimation.Fade\">\n <SheetHeader>\n <SheetTitle>Fade animation</SheetTitle>\n <SheetDescription>This sheet fades in instead of sliding.</SheetDescription>\n </SheetHeader>\n </SheetContent>\n </Sheet>\n <Sheet @bind-Open=\"_noneSheetOpen\">\n <SheetTrigger>\n <Button Variant=\"Button.ButtonVariant.Outline\">None</Button>\n </SheetTrigger>\n <SheetContent Animation=\"SheetContent.SheetAnimation.None\">\n <SheetHeader>\n <SheetTitle>No animation</SheetTitle>\n <SheetDescription>This sheet appears instantly with no transition.</SheetDescription>\n </SheetHeader>\n </SheetContent>\n </Sheet>\n</Flex>"
|
|
58052
58444
|
}
|
|
58053
58445
|
],
|
|
58054
58446
|
"subComponents": {
|
|
@@ -60592,7 +60984,9 @@
|
|
|
60592
60984
|
],
|
|
60593
60985
|
"namespace": "Lumeo",
|
|
60594
60986
|
"inheritsFrom": null,
|
|
60595
|
-
"implements": [
|
|
60987
|
+
"implements": [
|
|
60988
|
+
"IAsyncDisposable"
|
|
60989
|
+
],
|
|
60596
60990
|
"parameters": [
|
|
60597
60991
|
{
|
|
60598
60992
|
"name": "FormField",
|
|
@@ -60902,12 +61296,14 @@
|
|
|
60902
61296
|
"description": "Drag-and-drop reorderable list.",
|
|
60903
61297
|
"nugetPackage": "Lumeo",
|
|
60904
61298
|
"files": [
|
|
61299
|
+
"UI/Sortable/SortableGroupRegistry.cs",
|
|
60905
61300
|
"UI/Sortable/SortableList.razor"
|
|
60906
61301
|
],
|
|
60907
61302
|
"namespace": "Lumeo",
|
|
60908
61303
|
"inheritsFrom": null,
|
|
60909
61304
|
"implements": [
|
|
60910
|
-
"IAsyncDisposable"
|
|
61305
|
+
"IAsyncDisposable",
|
|
61306
|
+
"ISortableGroupMember"
|
|
60911
61307
|
],
|
|
60912
61308
|
"parameters": [
|
|
60913
61309
|
{
|
|
@@ -60959,7 +61355,16 @@
|
|
|
60959
61355
|
"name": "Group",
|
|
60960
61356
|
"type": "string?",
|
|
60961
61357
|
"default": null,
|
|
60962
|
-
"description": "Optional shared-group name.
|
|
61358
|
+
"description": "Optional shared-group name. Lists that use the same non-empty Group (within one user session) let rows be dragged from one list into any position of another, via mouse, touch, or the keyboard (focus a drag handle and press ArrowLeft / ArrowRight to send the row to the previous / next list of the group). The source list raises ItemsChanged without the item, the target list raises it with the item inserted at the drop index, and OnTransfer fires on both. Lists with a different or empty group never exchange rows, and a list only accepts items that are assignable to its TItem. The group name is also emitted on the container as data-sortable-group.",
|
|
61359
|
+
"isCascading": false,
|
|
61360
|
+
"captureUnmatched": false,
|
|
61361
|
+
"isEditorRequired": false
|
|
61362
|
+
},
|
|
61363
|
+
{
|
|
61364
|
+
"name": "OnTransfer",
|
|
61365
|
+
"type": "EventCallback<SortableTransfer>",
|
|
61366
|
+
"default": null,
|
|
61367
|
+
"description": "Raised on BOTH the source and the target list after a row has moved between lists that share a Group (via drag, touch, or keyboard), in addition to the two ItemsChanged notifications. Does not fire for in-list reorders (see OnReorder).",
|
|
60963
61368
|
"isCascading": false,
|
|
60964
61369
|
"captureUnmatched": false,
|
|
60965
61370
|
"isEditorRequired": false
|
|
@@ -61007,6 +61412,11 @@
|
|
|
61007
61412
|
"type": "EventCallback<List<TItem>>",
|
|
61008
61413
|
"description": "Raised with the freshly-reordered list whenever an item is moved, via drag, touch, or keyboard."
|
|
61009
61414
|
},
|
|
61415
|
+
{
|
|
61416
|
+
"name": "OnTransfer",
|
|
61417
|
+
"type": "EventCallback<SortableTransfer>",
|
|
61418
|
+
"description": "Raised on BOTH the source and the target list after a row has moved between lists that share a Group (via drag, touch, or keyboard), in addition to the two ItemsChanged notifications. Does not fire for in-list reorders (see OnReorder)."
|
|
61419
|
+
},
|
|
61010
61420
|
{
|
|
61011
61421
|
"name": "OnReorder",
|
|
61012
61422
|
"type": "EventCallback<SortableMoved>",
|
|
@@ -61019,6 +61429,11 @@
|
|
|
61019
61429
|
"name": "SortableMoved",
|
|
61020
61430
|
"signature": "SortableMoved(TItem Item, int OldIndex, int NewIndex)",
|
|
61021
61431
|
"description": "Payload describing a single reorder: the moved Item and its OldIndex / NewIndex within the list. Supplied to OnReorder."
|
|
61432
|
+
},
|
|
61433
|
+
{
|
|
61434
|
+
"name": "SortableTransfer",
|
|
61435
|
+
"signature": "SortableTransfer(TItem Item, string Group, string SourceListId, int OldIndex, string TargetListId, int NewIndex)",
|
|
61436
|
+
"description": "Payload describing a row that moved between two lists of the same Group: the moved Item, the shared Group, the DOM ids of the SourceListId / TargetListId containers (data-slot=\"sortable-list\" elements), and the index it left (OldIndex, in the source list) and now occupies (NewIndex, in the target list). Supplied to OnTransfer."
|
|
61022
61437
|
}
|
|
61023
61438
|
],
|
|
61024
61439
|
"gotchas": [],
|
|
@@ -61046,8 +61461,8 @@
|
|
|
61046
61461
|
"code": "<SortableList TItem=\"TaskItem\" Items=\"@_tasks\" ItemsChanged=\"@(v => _tasks = v)\">\n <ItemTemplate Context=\"task\">\n <Flex Class=\"items-center gap-3 w-full\">\n <DynamicIcon Name=\"@task.Icon\" Class=\"h-4 w-4 text-primary\" />\n <Stack Gap=\"0\" Class=\"flex-1\">\n <Lumeo.Text Class=\"text-sm font-medium\">@task.Title</Lumeo.Text>\n <Lumeo.Text Class=\"text-xs text-muted-foreground\">@task.Assignee</Lumeo.Text>\n </Stack>\n <Badge Variant=\"Badge.BadgeVariant.Secondary\">@task.Priority</Badge>\n </Flex>\n </ItemTemplate>\n</SortableList>"
|
|
61047
61462
|
},
|
|
61048
61463
|
{
|
|
61049
|
-
"title": "
|
|
61050
|
-
"code": "<SortableList TItem=\"string\" Items=\"@
|
|
61464
|
+
"title": "Shared Group (drag between lists)",
|
|
61465
|
+
"code": "<SortableList TItem=\"string\" Items=\"@_todo\" ItemsChanged=\"@(v => _todo = v)\" Group=\"tasks\"\n OnTransfer=\"@(t => Log(t.Item, t.OldIndex, t.NewIndex))\">\n <ItemTemplate Context=\"item\">@item</ItemTemplate>\n</SortableList>\n<SortableList TItem=\"string\" Items=\"@_done\" ItemsChanged=\"@(v => _done = v)\" Group=\"tasks\">\n <ItemTemplate Context=\"item\">@item</ItemTemplate>\n</SortableList>"
|
|
61051
61466
|
}
|
|
61052
61467
|
],
|
|
61053
61468
|
"subComponents": {},
|
|
@@ -61059,12 +61474,15 @@
|
|
|
61059
61474
|
],
|
|
61060
61475
|
"ariaAttributes": [
|
|
61061
61476
|
"aria-atomic",
|
|
61477
|
+
"aria-hidden",
|
|
61062
61478
|
"aria-keyshortcuts",
|
|
61063
61479
|
"aria-label",
|
|
61064
61480
|
"aria-live"
|
|
61065
61481
|
],
|
|
61066
61482
|
"keys": [
|
|
61067
61483
|
"ArrowDown",
|
|
61484
|
+
"ArrowLeft",
|
|
61485
|
+
"ArrowRight",
|
|
61068
61486
|
"ArrowUp",
|
|
61069
61487
|
"End",
|
|
61070
61488
|
"Home"
|
|
@@ -61325,8 +61743,8 @@
|
|
|
61325
61743
|
"code": "<SparkCard Label=\"Uptime\" Value=\"99.98%\" />\n<SparkCard Label=\"SLA\" Value=\"100%\" />\n<SparkCard Label=\"Incidents\" Value=\"0\" />"
|
|
61326
61744
|
},
|
|
61327
61745
|
{
|
|
61328
|
-
"title": "
|
|
61329
|
-
"code": "<
|
|
61746
|
+
"title": "Sparkline Type, Area & Last Point",
|
|
61747
|
+
"code": "<Grid Columns=\"3\" Gap=\"4\">\n <SparkCard Label=\"Bars\" Value=\"8,412\" Data=\"@_sessionsData\" Type=\"Sparkline.SparkType.Bars\" />\n <SparkCard Label=\"Area\" Value=\"$24,800\" Data=\"@_revenueData\" ShowArea=\"true\" />\n <SparkCard Label=\"Last Point\" Value=\"34.2%\" Data=\"@_bounceData\" ShowLast=\"true\" />\n</Grid>"
|
|
61330
61748
|
}
|
|
61331
61749
|
],
|
|
61332
61750
|
"subComponents": {},
|
|
@@ -61587,7 +62005,20 @@
|
|
|
61587
62005
|
"cssVars": [
|
|
61588
62006
|
"--color-foreground"
|
|
61589
62007
|
],
|
|
61590
|
-
"examples": [
|
|
62008
|
+
"examples": [
|
|
62009
|
+
{
|
|
62010
|
+
"title": "Line with area fill (ShowArea)",
|
|
62011
|
+
"code": "<div class=\"w-64\">\n <Sparkline Values=\"_seriesA\" ShowArea=\"true\" Height=\"40\" />\n</div>"
|
|
62012
|
+
},
|
|
62013
|
+
{
|
|
62014
|
+
"title": "Point markers + hover tooltips (ShowTooltips)",
|
|
62015
|
+
"code": "<div class=\"w-64\">\n <Sparkline Values=\"_seriesA\" ShowTooltips=\"true\" Height=\"40\" />\n</div>"
|
|
62016
|
+
},
|
|
62017
|
+
{
|
|
62018
|
+
"title": "Custom stroke width",
|
|
62019
|
+
"code": "<Stack Gap=\"3\">\n <div class=\"w-64\"><Sparkline Values=\"_seriesA\" StrokeWidth=\"1\" Height=\"36\" /></div>\n <div class=\"w-64\"><Sparkline Values=\"_seriesA\" StrokeWidth=\"3\" Height=\"36\" /></div>\n</Stack>"
|
|
62020
|
+
}
|
|
62021
|
+
],
|
|
61591
62022
|
"subComponents": {},
|
|
61592
62023
|
"a11y": {
|
|
61593
62024
|
"roles": [
|
|
@@ -63460,6 +63891,10 @@
|
|
|
63460
63891
|
"title": "Leading and Trailing Actions",
|
|
63461
63892
|
"code": "<SwipeActions>\n <LeadingActions>\n <Button Variant=\"Button.ButtonVariant.Secondary\" Class=\"h-full rounded-none px-5\">Pin</Button>\n </LeadingActions>\n <TrailingActions>\n <Button Variant=\"Button.ButtonVariant.Destructive\" Class=\"h-full rounded-none px-5\">Delete</Button>\n <Button Variant=\"Button.ButtonVariant.Secondary\" Class=\"h-full rounded-none px-5\">Snooze</Button>\n </TrailingActions>\n <ChildContent>\n <div class=\"flex items-center gap-3 border border-border/40 rounded-lg px-4 py-3 bg-background\">\n <Text Size=\"sm\">Meeting with design team</Text>\n </div>\n </ChildContent>\n</SwipeActions>"
|
|
63462
63893
|
},
|
|
63894
|
+
{
|
|
63895
|
+
"title": "Leading Actions only (swipe right)",
|
|
63896
|
+
"code": "<SwipeActions>\n <LeadingActions>\n <Button Variant=\"Button.ButtonVariant.Secondary\"\n Class=\"h-full rounded-none px-5\">\n Mark read\n </Button>\n </LeadingActions>\n <ChildContent>\n <div class=\"flex items-center gap-3 border border-border/40 rounded-lg px-4 py-3 bg-background\">\n <div class=\"flex-1\">\n <Lumeo.Text Size=\"sm\">Unread newsletter</Lumeo.Text>\n <Lumeo.Text Size=\"xs\" Color=\"muted\">Swipe right to reveal the leading action</Lumeo.Text>\n </div>\n </div>\n </ChildContent>\n</SwipeActions>"
|
|
63897
|
+
},
|
|
63463
63898
|
{
|
|
63464
63899
|
"title": "Custom Activation Threshold",
|
|
63465
63900
|
"code": "<SwipeActions ActivationThresholdPx=\"40\">\n <TrailingActions>\n <Button Variant=\"Button.ButtonVariant.Destructive\" Class=\"h-full rounded-none px-6\">Remove</Button>\n </TrailingActions>\n <ChildContent>\n <div class=\"flex items-center gap-3 border border-border/40 rounded-lg px-4 py-3 bg-background\">\n <Text Size=\"sm\">Activates after only 40 px of swipe</Text>\n </div>\n </ChildContent>\n</SwipeActions>"
|
|
@@ -63818,12 +64253,12 @@
|
|
|
63818
64253
|
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>Name</TableHead>\n <TableHead>Role</TableHead>\n <TableHead>Department</TableHead>\n </TableRow>\n </TableHeader>\n <TableBody>\n <TableRow>\n <TableCell Class=\"font-medium\">Alice Johnson</TableCell>\n <TableCell>Engineer</TableCell>\n <TableCell>Engineering</TableCell>\n </TableRow>\n <TableRow>\n <TableCell Class=\"font-medium\">Bob Smith</TableCell>\n <TableCell>Designer</TableCell>\n <TableCell>Product</TableCell>\n </TableRow>\n </TableBody>\n</Table>"
|
|
63819
64254
|
},
|
|
63820
64255
|
{
|
|
63821
|
-
"title": "
|
|
63822
|
-
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>
|
|
64256
|
+
"title": "Striped rows",
|
|
64257
|
+
"code": "<Table Striped=\"true\">\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead>Method</TableHead>\n <TableHead Class=\"text-right\">Amount</TableHead>\n </TableRow>\n </TableHeader>\n <TableBody>\n @foreach (var invoice in _invoices)\n {\n <TableRow>\n <TableCell Class=\"font-medium\">@invoice.Id</TableCell>\n <TableCell>@invoice.Status</TableCell>\n <TableCell>@invoice.Method</TableCell>\n <TableCell Class=\"text-right\">@invoice.Amount</TableCell>\n </TableRow>\n }\n </TableBody>\n</Table>"
|
|
63823
64258
|
},
|
|
63824
64259
|
{
|
|
63825
|
-
"title": "
|
|
63826
|
-
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead
|
|
64260
|
+
"title": "With footer (totals row)",
|
|
64261
|
+
"code": "<Table>\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead Class=\"text-right\">Amount</TableHead>\n </TableRow>\n </TableHeader>\n <TableBody>\n @foreach (var invoice in _invoices.Take(3))\n {\n <TableRow>\n <TableCell Class=\"font-medium\">@invoice.Id</TableCell>\n <TableCell>@invoice.Status</TableCell>\n <TableCell Class=\"text-right\">@invoice.Amount</TableCell>\n </TableRow>\n }\n </TableBody>\n <TableFooter>\n <TableRow>\n <TableCell Class=\"font-medium\">Total</TableCell>\n <TableCell></TableCell>\n <TableCell Class=\"text-right\">$750.00</TableCell>\n </TableRow>\n </TableFooter>\n</Table>"
|
|
63827
64262
|
}
|
|
63828
64263
|
],
|
|
63829
64264
|
"subComponents": {
|
|
@@ -65188,8 +65623,8 @@
|
|
|
65188
65623
|
"code": "<TagInput @bind-Tags=\"_tags\" MaxTags=\"3\" />"
|
|
65189
65624
|
},
|
|
65190
65625
|
{
|
|
65191
|
-
"title": "
|
|
65192
|
-
"code": "
|
|
65626
|
+
"title": "Disabled",
|
|
65627
|
+
"code": "<TagInput @bind-Tags=\"_tagsDisabled\" Disabled=\"true\" Placeholder=\"Cannot edit...\" Class=\"max-w-md\" />"
|
|
65193
65628
|
}
|
|
65194
65629
|
],
|
|
65195
65630
|
"subComponents": {},
|
|
@@ -67470,6 +67905,10 @@
|
|
|
67470
67905
|
"title": "Single Selection",
|
|
67471
67906
|
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\">\n <ToggleGroupItem Value=\"bold\" AriaLabel=\"Bold\">\n <SvgGlyph Svg=\"@(Lucide.Bold)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"italic\" AriaLabel=\"Italic\">\n <SvgGlyph Svg=\"@(Lucide.Italic)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"underline\" AriaLabel=\"Underline\">\n <SvgGlyph Svg=\"@(Lucide.Underline)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n</ToggleGroup>"
|
|
67472
67907
|
},
|
|
67908
|
+
{
|
|
67909
|
+
"title": "Multiple Selection",
|
|
67910
|
+
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Multiple\">\n <ToggleGroupItem Value=\"bold\" AriaLabel=\"Bold\">\n <SvgGlyph Svg=\"@(Lucide.Bold)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"italic\" AriaLabel=\"Italic\">\n <SvgGlyph Svg=\"@(Lucide.Italic)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"underline\" AriaLabel=\"Underline\">\n <SvgGlyph Svg=\"@(Lucide.Underline)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n</ToggleGroup>"
|
|
67911
|
+
},
|
|
67473
67912
|
{
|
|
67474
67913
|
"title": "Outline Variant",
|
|
67475
67914
|
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Variant=\"ToggleGroup.ToggleGroupVariant.Outline\">\n <ToggleGroupItem Value=\"left\" AriaLabel=\"Align left\">\n <SvgGlyph Svg=\"@(Lucide.AlignLeft)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"center\" AriaLabel=\"Align center\">\n <SvgGlyph Svg=\"@(Lucide.AlignCenter)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n <ToggleGroupItem Value=\"right\" AriaLabel=\"Align right\">\n <SvgGlyph Svg=\"@(Lucide.AlignRight)\" class=\"h-4 w-4\" />\n </ToggleGroupItem>\n</ToggleGroup>"
|
|
@@ -67477,10 +67916,6 @@
|
|
|
67477
67916
|
{
|
|
67478
67917
|
"title": "Sizes",
|
|
67479
67918
|
"code": "<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xxs\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xs\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Sm\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Lg\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xl\">\n ...\n</ToggleGroup>\n\n<ToggleGroup Type=\"ToggleGroup.ToggleGroupType.Single\" Size=\"Lumeo.Size.Xxl\">\n ...\n</ToggleGroup>"
|
|
67480
|
-
},
|
|
67481
|
-
{
|
|
67482
|
-
"title": "Disabled Items",
|
|
67483
|
-
"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>"
|
|
67484
67919
|
}
|
|
67485
67920
|
],
|
|
67486
67921
|
"subComponents": {
|
|
@@ -67724,8 +68159,8 @@
|
|
|
67724
68159
|
"code": "<!-- VisibleCount=3: first 3 items inline, rest collapse into ⋯ menu -->\n<Toolbar Overflow=\"true\" VisibleCount=\"3\">\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Bold</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Italic</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Underline</Button>\n <ToolbarSeparator />\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Left</Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">Center</Button>\n</Toolbar>"
|
|
67725
68160
|
},
|
|
67726
68161
|
{
|
|
67727
|
-
"title": "
|
|
67728
|
-
"code": "<Toolbar>\n <
|
|
68162
|
+
"title": "Vertical Orientation",
|
|
68163
|
+
"code": "<Toolbar Orientation=\"Toolbar.ToolbarOrientation.Vertical\">\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.Bold)\" class=\"h-4 w-4\" />\n </Button>\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.Italic)\" class=\"h-4 w-4\" />\n </Button>\n <ToolbarSeparator />\n <Button Variant=\"Button.ButtonVariant.Ghost\" Size=\"Button.ButtonSize.Sm\">\n <SvgGlyph Svg=\"@(Lucide.Underline)\" class=\"h-4 w-4\" />\n </Button>\n</Toolbar>"
|
|
67729
68164
|
}
|
|
67730
68165
|
],
|
|
67731
68166
|
"subComponents": {
|
|
@@ -68768,6 +69203,10 @@
|
|
|
68768
69203
|
{
|
|
68769
69204
|
"title": "With Search",
|
|
68770
69205
|
"code": "<Transfer @bind-SourceItems=\"_source\" @bind-TargetItems=\"_target\"\n SourceTitle=\"Users\" TargetTitle=\"Team\" ShowSearch=\"true\" />"
|
|
69206
|
+
},
|
|
69207
|
+
{
|
|
69208
|
+
"title": "Disabled items, no select-all",
|
|
69209
|
+
"code": "<Transfer @bind-SourceItems=\"_source4\" @bind-TargetItems=\"_target4\"\n SourceTitle=\"Available\" TargetTitle=\"Selected\"\n ShowSelectAll=\"false\" />"
|
|
68771
69210
|
}
|
|
68772
69211
|
],
|
|
68773
69212
|
"subComponents": {},
|
|
@@ -69038,6 +69477,7 @@
|
|
|
69038
69477
|
"ariaAttributes": [
|
|
69039
69478
|
"aria-checked",
|
|
69040
69479
|
"aria-describedby",
|
|
69480
|
+
"aria-disabled",
|
|
69041
69481
|
"aria-expanded",
|
|
69042
69482
|
"aria-haspopup",
|
|
69043
69483
|
"aria-invalid",
|
|
@@ -69287,12 +69727,12 @@
|
|
|
69287
69727
|
"code": "<TreeView TItem=\"string\" Items=\"_items\" ExpandOnRowClick=\"false\" />"
|
|
69288
69728
|
},
|
|
69289
69729
|
{
|
|
69290
|
-
"title": "
|
|
69291
|
-
"code": "<TreeView TItem=\"string\" Items=\"
|
|
69730
|
+
"title": "Expanded by Default (ExpandAll)",
|
|
69731
|
+
"code": "<TreeView TItem=\"string\" Items=\"_basicItems\" ExpandAll=\"true\" Class=\"max-w-sm\" />"
|
|
69292
69732
|
},
|
|
69293
69733
|
{
|
|
69294
|
-
"title": "With
|
|
69295
|
-
"code": "<TreeView TItem=\"string\" Items=\"_items\"
|
|
69734
|
+
"title": "With Checkboxes (Tri-state)",
|
|
69735
|
+
"code": "<TreeView TItem=\"string\" Items=\"_items\" ShowCheckboxes=\"true\" CascadeCheck=\"true\" />"
|
|
69296
69736
|
}
|
|
69297
69737
|
],
|
|
69298
69738
|
"subComponents": {
|
|
@@ -69814,6 +70254,10 @@
|
|
|
69814
70254
|
"title": "Basic Watermark",
|
|
69815
70255
|
"code": "<Watermark Text=\"Confidential\">\n <Stack Gap=\"4\" Class=\"p-8\">\n <Lumeo.Text Color=\"foreground\">This document contains sensitive information.</Lumeo.Text>\n </Stack>\n</Watermark>"
|
|
69816
70256
|
},
|
|
70257
|
+
{
|
|
70258
|
+
"title": "Image Watermark",
|
|
70259
|
+
"code": "<Watermark Image=\"@_logoDataUri\" ImageWidth=\"90\" ImageHeight=\"48\" Opacity=\"0.12\" Class=\"rounded-lg border border-border/40\">\n <Stack Gap=\"2\" Class=\"p-8\">\n <Heading Level=\"3\" Size=\"lg\">Branded Preview</Heading>\n <Lumeo.Text Color=\"muted\">A tiled image watermark repeats edge-to-edge across the content instead of text.</Lumeo.Text>\n </Stack>\n</Watermark>"
|
|
70260
|
+
},
|
|
69817
70261
|
{
|
|
69818
70262
|
"title": "Custom Settings",
|
|
69819
70263
|
"code": "<Watermark Text=\"DRAFT\" Rotation=\"-30\" FontSize=\"20\" Opacity=\"0.15\" Gap=\"120\">\n <Stack Gap=\"2\" Class=\"p-8\">\n <Heading Level=\"3\" Size=\"lg\">Draft Document</Heading>\n <Lumeo.Text Color=\"muted\">This is a work in progress.</Lumeo.Text>\n </Stack>\n</Watermark>"
|
|
@@ -70032,6 +70476,10 @@
|
|
|
70032
70476
|
{
|
|
70033
70477
|
"title": "Non-Resizable Window",
|
|
70034
70478
|
"code": "<Window @bind-Open=\"_open\" Title=\"Fixed Panel\" Resizable=\"false\">\n <p class=\"text-sm text-muted-foreground\">This window has a fixed size.</p>\n</Window>"
|
|
70479
|
+
},
|
|
70480
|
+
{
|
|
70481
|
+
"title": "Minimal Controls (close only, non-draggable)",
|
|
70482
|
+
"code": "<div class=\"relative h-64 border border-border/40 rounded-lg overflow-hidden bg-muted/20\">\n <Button @onclick=\"@(() => _win4Open = true)\" Class=\"m-4\">Open Minimal Window</Button>\n <Window Open=\"_win4Open\"\n OpenChanged=\"@((v) => _win4Open = v)\"\n Title=\"Pinned Panel\"\n Width=\"300px\"\n Height=\"160px\"\n Draggable=\"false\"\n ShowMinimize=\"false\"\n ShowMaximize=\"false\"\n InitialX=\"20\"\n InitialY=\"20\">\n <p class=\"text-sm text-muted-foreground\">This window is pinned (not draggable) and only shows the close button.</p>\n </Window>\n</div>"
|
|
70035
70483
|
}
|
|
70036
70484
|
],
|
|
70037
70485
|
"subComponents": {},
|