@santi020k/lumen 0.2.0 → 0.4.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.
@@ -27,6 +27,10 @@ export declare const lumenRegistry: {
27
27
  readonly name: "rich-text-editor";
28
28
  readonly type: "recipe";
29
29
  readonly components: readonly ["RichTextEditor", "ButtonGroup", "ToggleGroup", "Textarea"];
30
+ }, {
31
+ readonly name: "data-visualization";
32
+ readonly type: "recipe";
33
+ readonly components: readonly ["Chart", "Sparkline", "BarChart", "LineChart", "PieChart", "Stat", "Meter"];
30
34
  }, {
31
35
  readonly name: "ai-docs";
32
36
  readonly type: "documentation";
@@ -106,6 +110,13 @@ export declare const lumenRegistry: {
106
110
  readonly category: "Data display";
107
111
  readonly files: readonly ["packages/astro/components/Badge.astro", "packages/astro/styles/lumen.css"];
108
112
  readonly dependencies: readonly ["styles"];
113
+ }, {
114
+ readonly name: "BarChart";
115
+ readonly type: "component";
116
+ readonly description: "Compares categorical or discrete-period values with grouped and stacked bars.";
117
+ readonly category: "Data display";
118
+ readonly files: readonly ["packages/astro/components/BarChart.astro", "packages/astro/components/Chart.astro", "packages/astro/styles/lumen.css"];
119
+ readonly dependencies: readonly ["Chart", "styles"];
109
120
  }, {
110
121
  readonly name: "Breadcrumb";
111
122
  readonly type: "component";
@@ -190,6 +201,13 @@ export declare const lumenRegistry: {
190
201
  readonly category: "Data display";
191
202
  readonly files: readonly ["packages/astro/components/Code.astro", "packages/astro/styles/lumen.css", "packages/astro/runtime/UIPrimitives.astro"];
192
203
  readonly dependencies: readonly ["styles", "runtime"];
204
+ }, {
205
+ readonly name: "CodeTabs";
206
+ readonly type: "component";
207
+ readonly description: "Groups related code examples into accessible, persistent tabs.";
208
+ readonly category: "Data display";
209
+ readonly files: readonly ["packages/astro/components/CodeTabs.astro", "packages/astro/components/Code.astro", "packages/astro/components/Tabs.astro", "packages/astro/styles/lumen.css", "packages/astro/runtime/UIPrimitives.astro"];
210
+ readonly dependencies: readonly ["Code", "Tabs", "styles", "runtime"];
193
211
  }, {
194
212
  readonly name: "Combobox";
195
213
  readonly type: "component";
@@ -372,6 +390,13 @@ export declare const lumenRegistry: {
372
390
  readonly category: "Navigation";
373
391
  readonly files: readonly ["packages/astro/components/Link.astro", "packages/astro/styles/lumen.css"];
374
392
  readonly dependencies: readonly ["styles"];
393
+ }, {
394
+ readonly name: "LineChart";
395
+ readonly type: "component";
396
+ readonly description: "Shows ordered trends, multiple series, missing-value gaps, areas, markers, and reference values.";
397
+ readonly category: "Data display";
398
+ readonly files: readonly ["packages/astro/components/LineChart.astro", "packages/astro/components/Chart.astro", "packages/astro/styles/lumen.css"];
399
+ readonly dependencies: readonly ["Chart", "styles"];
375
400
  }, {
376
401
  readonly name: "Marker";
377
402
  readonly type: "component";
@@ -435,6 +460,13 @@ export declare const lumenRegistry: {
435
460
  readonly category: "Forms";
436
461
  readonly files: readonly ["packages/astro/components/PhoneInput.astro", "packages/astro/styles/lumen.css"];
437
462
  readonly dependencies: readonly ["Input", "NativeSelect", "styles"];
463
+ }, {
464
+ readonly name: "PieChart";
465
+ readonly type: "component";
466
+ readonly description: "Shows part-to-whole relationships as an accessible donut or pie chart.";
467
+ readonly category: "Data display";
468
+ readonly files: readonly ["packages/astro/components/PieChart.astro", "packages/astro/components/Chart.astro", "packages/astro/styles/lumen.css"];
469
+ readonly dependencies: readonly ["Chart", "styles"];
438
470
  }, {
439
471
  readonly name: "Pill";
440
472
  readonly type: "component";
@@ -491,6 +523,13 @@ export declare const lumenRegistry: {
491
523
  readonly category: "Layout";
492
524
  readonly files: readonly ["packages/astro/components/ScrollArea.astro", "packages/astro/styles/lumen.css"];
493
525
  readonly dependencies: readonly ["styles"];
526
+ }, {
527
+ readonly name: "ScrollProgress";
528
+ readonly type: "component";
529
+ readonly description: "Shows how far a reader has progressed through the current document.";
530
+ readonly category: "Feedback";
531
+ readonly files: readonly ["packages/astro/components/ScrollProgress.astro", "packages/astro/styles/lumen.css", "packages/astro/runtime/UIPrimitives.astro"];
532
+ readonly dependencies: readonly ["styles", "runtime"];
494
533
  }, {
495
534
  readonly name: "Schedule";
496
535
  readonly type: "component";
@@ -561,6 +600,13 @@ export declare const lumenRegistry: {
561
600
  readonly category: "Feedback";
562
601
  readonly files: readonly ["packages/astro/components/Sonner.astro", "packages/astro/styles/lumen.css", "packages/astro/runtime/UIPrimitives.astro"];
563
602
  readonly dependencies: readonly ["styles", "runtime"];
603
+ }, {
604
+ readonly name: "Sparkline";
605
+ readonly type: "component";
606
+ readonly description: "Shows a compact, text-labelled trend beside an existing metric.";
607
+ readonly category: "Data display";
608
+ readonly files: readonly ["packages/astro/components/Sparkline.astro", "packages/astro/styles/lumen.css"];
609
+ readonly dependencies: readonly ["styles"];
564
610
  }, {
565
611
  readonly name: "Spinner";
566
612
  readonly type: "component";
@@ -1 +1 @@
1
- {"version":3,"file":"registry-data.d.ts","sourceRoot":"","sources":["../src/registry-data.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkyDQ,CAAA"}
@@ -75,6 +75,19 @@ export const lumenRegistry = {
75
75
  "Textarea"
76
76
  ]
77
77
  },
78
+ {
79
+ "name": "data-visualization",
80
+ "type": "recipe",
81
+ "components": [
82
+ "Chart",
83
+ "Sparkline",
84
+ "BarChart",
85
+ "LineChart",
86
+ "PieChart",
87
+ "Stat",
88
+ "Meter"
89
+ ]
90
+ },
78
91
  {
79
92
  "name": "ai-docs",
80
93
  "type": "documentation",
@@ -229,6 +242,21 @@ export const lumenRegistry = {
229
242
  "styles"
230
243
  ]
231
244
  },
245
+ {
246
+ "name": "BarChart",
247
+ "type": "component",
248
+ "description": "Compares categorical or discrete-period values with grouped and stacked bars.",
249
+ "category": "Data display",
250
+ "files": [
251
+ "packages/astro/components/BarChart.astro",
252
+ "packages/astro/components/Chart.astro",
253
+ "packages/astro/styles/lumen.css"
254
+ ],
255
+ "dependencies": [
256
+ "Chart",
257
+ "styles"
258
+ ]
259
+ },
232
260
  {
233
261
  "name": "Breadcrumb",
234
262
  "type": "component",
@@ -393,6 +421,25 @@ export const lumenRegistry = {
393
421
  "runtime"
394
422
  ]
395
423
  },
424
+ {
425
+ "name": "CodeTabs",
426
+ "type": "component",
427
+ "description": "Groups related code examples into accessible, persistent tabs.",
428
+ "category": "Data display",
429
+ "files": [
430
+ "packages/astro/components/CodeTabs.astro",
431
+ "packages/astro/components/Code.astro",
432
+ "packages/astro/components/Tabs.astro",
433
+ "packages/astro/styles/lumen.css",
434
+ "packages/astro/runtime/UIPrimitives.astro"
435
+ ],
436
+ "dependencies": [
437
+ "Code",
438
+ "Tabs",
439
+ "styles",
440
+ "runtime"
441
+ ]
442
+ },
396
443
  {
397
444
  "name": "Combobox",
398
445
  "type": "component",
@@ -768,6 +815,21 @@ export const lumenRegistry = {
768
815
  "styles"
769
816
  ]
770
817
  },
818
+ {
819
+ "name": "LineChart",
820
+ "type": "component",
821
+ "description": "Shows ordered trends, multiple series, missing-value gaps, areas, markers, and reference values.",
822
+ "category": "Data display",
823
+ "files": [
824
+ "packages/astro/components/LineChart.astro",
825
+ "packages/astro/components/Chart.astro",
826
+ "packages/astro/styles/lumen.css"
827
+ ],
828
+ "dependencies": [
829
+ "Chart",
830
+ "styles"
831
+ ]
832
+ },
771
833
  {
772
834
  "name": "Marker",
773
835
  "type": "component",
@@ -897,6 +959,21 @@ export const lumenRegistry = {
897
959
  "styles"
898
960
  ]
899
961
  },
962
+ {
963
+ "name": "PieChart",
964
+ "type": "component",
965
+ "description": "Shows part-to-whole relationships as an accessible donut or pie chart.",
966
+ "category": "Data display",
967
+ "files": [
968
+ "packages/astro/components/PieChart.astro",
969
+ "packages/astro/components/Chart.astro",
970
+ "packages/astro/styles/lumen.css"
971
+ ],
972
+ "dependencies": [
973
+ "Chart",
974
+ "styles"
975
+ ]
976
+ },
900
977
  {
901
978
  "name": "Pill",
902
979
  "type": "component",
@@ -1013,6 +1090,21 @@ export const lumenRegistry = {
1013
1090
  "styles"
1014
1091
  ]
1015
1092
  },
1093
+ {
1094
+ "name": "ScrollProgress",
1095
+ "type": "component",
1096
+ "description": "Shows how far a reader has progressed through the current document.",
1097
+ "category": "Feedback",
1098
+ "files": [
1099
+ "packages/astro/components/ScrollProgress.astro",
1100
+ "packages/astro/styles/lumen.css",
1101
+ "packages/astro/runtime/UIPrimitives.astro"
1102
+ ],
1103
+ "dependencies": [
1104
+ "styles",
1105
+ "runtime"
1106
+ ]
1107
+ },
1016
1108
  {
1017
1109
  "name": "Schedule",
1018
1110
  "type": "component",
@@ -1153,6 +1245,19 @@ export const lumenRegistry = {
1153
1245
  "runtime"
1154
1246
  ]
1155
1247
  },
1248
+ {
1249
+ "name": "Sparkline",
1250
+ "type": "component",
1251
+ "description": "Shows a compact, text-labelled trend beside an existing metric.",
1252
+ "category": "Data display",
1253
+ "files": [
1254
+ "packages/astro/components/Sparkline.astro",
1255
+ "packages/astro/styles/lumen.css"
1256
+ ],
1257
+ "dependencies": [
1258
+ "styles"
1259
+ ]
1260
+ },
1156
1261
  {
1157
1262
  "name": "Spinner",
1158
1263
  "type": "component",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@santi020k/lumen",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,10 +38,12 @@
38
38
  "lumen": "./bin/lumen.mjs"
39
39
  },
40
40
  "dependencies": {
41
- "@santi020k/lumen-core": "^0.2.0"
41
+ "semver": "^7.8.0",
42
+ "@santi020k/lumen-core": "^0.4.0"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@types/node": "^26.1.1",
46
+ "@types/semver": "^7.7.1",
45
47
  "@vitest/coverage-v8": "^4.1.10",
46
48
  "typescript": "^6.0.3",
47
49
  "tailwindcss": "^4.3.3",