@santi020k/lumen 3.0.1 → 4.1.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/README.md +211 -3
- package/dist/cli.js +49 -5
- package/dist/consumer-upgrade-audit.d.ts +10 -0
- package/dist/consumer-upgrade-audit.d.ts.map +1 -0
- package/dist/consumer-upgrade-audit.js +52 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/installer.d.ts.map +1 -1
- package/dist/installer.js +16 -0
- package/dist/integration-diagnostics.d.ts.map +1 -1
- package/dist/integration-diagnostics.js +199 -3
- package/dist/registry-component-name.d.ts +2 -0
- package/dist/registry-component-name.d.ts.map +1 -0
- package/dist/registry-component-name.js +53 -0
- package/dist/registry-data.d.ts +339 -18
- package/dist/registry-data.d.ts.map +1 -1
- package/dist/registry-data.js +789 -3
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +11 -9
- package/dist/source-script-ranges.d.ts +3 -0
- package/dist/source-script-ranges.d.ts.map +1 -0
- package/dist/source-script-ranges.js +41 -0
- package/dist/v2-migration.d.ts +38 -0
- package/dist/v2-migration.d.ts.map +1 -1
- package/dist/v2-migration.js +26 -14
- package/dist/v4-migration.d.ts +26 -0
- package/dist/v4-migration.d.ts.map +1 -0
- package/dist/v4-migration.js +272 -0
- package/dist/version-migration-dependencies.d.ts +8 -0
- package/dist/version-migration-dependencies.d.ts.map +1 -0
- package/dist/version-migration-dependencies.js +10 -0
- package/dist/version-migration-source.d.ts +4 -0
- package/dist/version-migration-source.d.ts.map +1 -0
- package/dist/version-migration-source.js +281 -0
- package/dist/version-migration.d.ts +34 -0
- package/dist/version-migration.d.ts.map +1 -0
- package/dist/version-migration.js +158 -0
- package/native-components.json +564 -17
- package/package.json +26 -11
- package/release-manifest.json +22 -17
- package/styles/critical.css +696 -66
- package/styles/motion.css +61 -0
- package/styles/world-map.css +30 -0
- package/styles.css +1756 -409
- package/templates/astro/advanced-fields/src/lumen/advanced-fields.astro +35 -0
- package/templates/astro/ai-docs/llms.txt +3 -0
- package/templates/astro/analytics-dashboard/src/lumen/analytics-dashboard.astro +110 -0
- package/templates/astro/auth-onboarding/src/lumen/auth-onboarding.astro +107 -0
- package/templates/astro/command-center/src/lumen/command-center.astro +34 -0
- package/templates/astro/commerce-dashboard/src/lumen/commerce-dashboard.astro +108 -0
- package/templates/astro/content-flow-actions/src/lumen/content-flow-actions.astro +10 -0
- package/templates/astro/content-flow-header/src/lumen/content-flow-header.astro +14 -0
- package/templates/astro/content-flow-list/src/lumen/content-flow-list.astro +13 -0
- package/templates/astro/content-flow-settings/src/lumen/content-flow-settings.astro +17 -0
- package/templates/astro/data-collections/src/lumen/data-collections.astro +52 -0
- package/templates/astro/feature-preview/src/lumen/feature-preview.astro +32 -0
- package/templates/astro/guided-onboarding/src/lumen/guided-onboarding.astro +35 -0
- package/templates/astro/interactive-pricing/src/lumen/interactive-pricing.astro +32 -0
- package/templates/astro/media-workspace/src/lumen/adjustment-controls.astro +89 -0
- package/templates/astro/media-workspace/src/lumen/media-processing.astro +47 -0
- package/templates/astro/media-workspace/src/lumen/media-workspace.astro +77 -0
- package/templates/astro/page-header/src/lumen/page-header.astro +41 -0
- package/templates/astro/project-workspace/src/lumen/project-workspace.astro +103 -0
- package/templates/astro/rich-text-editor/src/lumen/rich-text-editor.astro +21 -0
- package/templates/astro/saas-admin/src/lumen/saas-admin.astro +110 -0
- package/templates/astro/scheduler/src/lumen/scheduler.astro +36 -0
- package/templates/astro/section-header/src/lumen/section-header.astro +35 -0
- package/templates/astro/theme-builder/src/lumen/theme-builder.astro +28 -0
- package/templates/elements/advanced-fields/src/lumen/advanced-fields.html +25 -0
- package/templates/elements/analytics-dashboard/src/lumen/analytics-dashboard.html +28 -0
- package/templates/elements/auth-onboarding/src/lumen/auth-onboarding.html +79 -0
- package/templates/elements/command-center/src/lumen/command-center.html +15 -0
- package/templates/elements/commerce-dashboard/src/lumen/commerce-dashboard.html +24 -0
- package/templates/elements/content-flow-actions/src/lumen/content-flow-actions.html +11 -0
- package/templates/elements/content-flow-header/src/lumen/content-flow-header.html +15 -0
- package/templates/elements/content-flow-list/src/lumen/content-flow-list.html +14 -0
- package/templates/elements/content-flow-settings/src/lumen/content-flow-settings.html +18 -0
- package/templates/elements/data-collections/src/lumen/data-collections.html +31 -0
- package/templates/elements/feature-preview/src/lumen/feature-preview.html +13 -0
- package/templates/elements/guided-onboarding/src/lumen/guided-onboarding.html +16 -0
- package/templates/elements/interactive-pricing/src/lumen/interactive-pricing.html +13 -0
- package/templates/elements/media-workspace/src/lumen/media-workspace.html +57 -0
- package/templates/elements/media-workspace/src/lumen/media-workspace.ts +163 -0
- package/templates/elements/page-header/src/lumen/page-header.html +20 -0
- package/templates/elements/project-workspace/src/lumen/project-workspace.html +17 -0
- package/templates/elements/rich-text-editor/src/lumen/rich-text-editor.html +17 -0
- package/templates/elements/saas-admin/src/lumen/saas-admin.html +18 -0
- package/templates/elements/scheduler/src/lumen/scheduler.html +27 -0
- package/templates/elements/section-header/src/lumen/section-header.html +21 -0
- package/templates/elements/theme-builder/src/lumen/theme-builder.html +59 -0
- package/templates/react/advanced-fields/src/lumen/advanced-fields.tsx +37 -0
- package/templates/react/analytics-dashboard/src/lumen/analytics-dashboard.tsx +143 -0
- package/templates/react/auth-onboarding/src/lumen/auth-onboarding.tsx +129 -0
- package/templates/react/command-center/src/lumen/command-center.tsx +85 -0
- package/templates/react/commerce-dashboard/src/lumen/commerce-dashboard.tsx +148 -0
- package/templates/react/content-flow-actions/src/lumen/content-flow-actions.tsx +11 -0
- package/templates/react/content-flow-header/src/lumen/content-flow-header.tsx +14 -0
- package/templates/react/content-flow-list/src/lumen/content-flow-list.tsx +19 -0
- package/templates/react/content-flow-settings/src/lumen/content-flow-settings.tsx +26 -0
- package/templates/react/data-collections/src/lumen/data-collections.tsx +60 -0
- package/templates/react/feature-preview/src/lumen/feature-preview.tsx +42 -0
- package/templates/react/guided-onboarding/src/lumen/guided-onboarding.tsx +100 -0
- package/templates/react/import-review/src/lumen/import-review.tsx +150 -0
- package/templates/react/interactive-pricing/src/lumen/interactive-pricing.tsx +60 -0
- package/templates/react/media-workspace/src/lumen/adjustment-controls.tsx +61 -0
- package/templates/react/media-workspace/src/lumen/media-processing.tsx +43 -0
- package/templates/react/media-workspace/src/lumen/media-workspace.tsx +100 -0
- package/templates/react/operational-records/src/lumen/operational-records.tsx +92 -0
- package/templates/react/page-header/src/lumen/page-header.tsx +41 -0
- package/templates/react/project-workspace/src/lumen/project-workspace.tsx +112 -0
- package/templates/react/record-workspace/src/lumen/record-workspace.tsx +67 -0
- package/templates/react/review-workflow/src/lumen/review-workflow.tsx +202 -0
- package/templates/react/rich-text-editor/src/lumen/rich-text-editor.tsx +33 -0
- package/templates/react/saas-admin/src/lumen/saas-admin.tsx +119 -0
- package/templates/react/scheduler/src/lumen/scheduler.tsx +45 -0
- package/templates/react/section-header/src/lumen/section-header.tsx +33 -0
- package/templates/react/styles.d.ts +1 -0
- package/templates/react/theme-builder/src/lumen/theme-builder.tsx +57 -0
- package/templates/react/tsconfig.json +14 -0
- package/templates/react/validated-form/src/lumen/validated-form.tsx +166 -0
- package/templates/shared/common/src/lumen/lumen-template.css +247 -0
- package/templates/shared/media-workspace/src/lumen/media-workspace.css +14 -0
- package/templates/shared/visual-blocks/src/lumen/product-blocks.ts +224 -0
- package/v4-migration.json +448 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* Native disclosures keep their semantic toggle and immediate fallback in older browsers. */
|
|
2
|
+
@layer lumen.components {
|
|
3
|
+
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
|
|
4
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
5
|
+
:is(.ui-accordion details, .ui-collapsible) {
|
|
6
|
+
interpolate-size: allow-keywords;
|
|
7
|
+
transition:
|
|
8
|
+
border-color var(--ui-duration-fast) var(--ui-ease),
|
|
9
|
+
padding-block-end var(--ui-duration) var(--ui-ease-emphasized);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:is(.ui-accordion details, .ui-collapsible)::details-content {
|
|
13
|
+
block-size: 0;
|
|
14
|
+
overflow: clip;
|
|
15
|
+
opacity: 0;
|
|
16
|
+
transition:
|
|
17
|
+
block-size var(--ui-duration) var(--ui-ease-emphasized),
|
|
18
|
+
opacity var(--ui-duration) var(--ui-ease),
|
|
19
|
+
content-visibility var(--ui-duration) allow-discrete;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:is(.ui-accordion details, .ui-collapsible)[open]::details-content {
|
|
23
|
+
block-size: auto;
|
|
24
|
+
opacity: 1;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* A local preference can reduce motion without changing the operating system setting. */
|
|
31
|
+
[data-ui-motion="reduce"],
|
|
32
|
+
[data-ui-motion="reduce"]::before,
|
|
33
|
+
[data-ui-motion="reduce"]::after,
|
|
34
|
+
[data-ui-motion="reduce"]::backdrop,
|
|
35
|
+
[data-ui-motion="reduce"] *,
|
|
36
|
+
[data-ui-motion="reduce"] *::before,
|
|
37
|
+
[data-ui-motion="reduce"] *::after,
|
|
38
|
+
[data-ui-motion="reduce"] ::backdrop {
|
|
39
|
+
animation: none !important;
|
|
40
|
+
transition: none !important;
|
|
41
|
+
scroll-behavior: auto !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-ui-motion="reduce"].ui-collapsible::details-content,
|
|
45
|
+
[data-ui-motion="reduce"] :is(.ui-accordion details, .ui-collapsible)::details-content {
|
|
46
|
+
transition: none !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-ui-motion="reduce"].ui-collapsible[open]::details-content,
|
|
50
|
+
[data-ui-motion="reduce"] :is(.ui-accordion details, .ui-collapsible)[open]::details-content {
|
|
51
|
+
block-size: auto;
|
|
52
|
+
opacity: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-ui-motion="reduce"].ui-scroll-reveal,
|
|
56
|
+
[data-ui-motion="reduce"] .ui-scroll-reveal,
|
|
57
|
+
[data-ui-motion="reduce"].ui-reveal-group > *,
|
|
58
|
+
[data-ui-motion="reduce"] .ui-reveal-group > * {
|
|
59
|
+
opacity: 1;
|
|
60
|
+
transform: none;
|
|
61
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@layer lumen.components {
|
|
2
|
+
.ui-world-map { display: grid; gap: .75rem; color: hsl(var(--ink)); }
|
|
3
|
+
.ui-world-map__frame { position: relative; overflow: hidden; border-radius: var(--ui-radius-lg); background: var(--ui-world-map-surface, hsl(var(--surface-muted))); }
|
|
4
|
+
.ui-world-map__viewport { overflow: auto; aspect-ratio: 2.5; }
|
|
5
|
+
.ui-world-map__viewport[data-pan-enabled="true"], .ui-world-map__viewport[data-pan-enabled="true"] .ui-world-map__country { cursor: grab; user-select: none; }
|
|
6
|
+
.ui-world-map__viewport[data-panning], .ui-world-map__viewport[data-panning] .ui-world-map__country { cursor: grabbing; }
|
|
7
|
+
.ui-world-map__viewport:focus-visible { outline: 2px solid hsl(var(--brand)); outline-offset: -2px; }
|
|
8
|
+
.ui-world-map__plot { display: block; width: calc(100% * var(--ui-world-map-zoom, 1)); max-width: none; height: auto; }
|
|
9
|
+
.ui-world-map__zoom-controls { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: .5rem; }
|
|
10
|
+
.ui-world-map__zoom-controls button { min-width: 2.75rem; min-height: 2.75rem; }
|
|
11
|
+
.ui-world-map__zoom-controls output { min-width: 3rem; text-align: center; font-variant-numeric: tabular-nums; }
|
|
12
|
+
.ui-world-map__dot--neutral { fill: var(--ui-world-map-land, hsl(var(--ink-soft) / .45)); }
|
|
13
|
+
.ui-world-map__dot--highlight { fill: var(--ui-world-map-highlight, hsl(var(--brand))); }
|
|
14
|
+
.ui-world-map[data-variant="solid"] .ui-world-map__country { fill: var(--ui-world-map-land, hsl(var(--ink-soft) / .22)); }
|
|
15
|
+
.ui-world-map[data-variant="solid"] .ui-world-map__country--highlighted { fill: var(--ui-world-map-highlight, hsl(var(--brand))); }
|
|
16
|
+
.ui-world-map__country { stroke: hsl(var(--surface-muted)); stroke-width: .5; vector-effect: non-scaling-stroke; pointer-events: all; transition: opacity var(--ui-duration); }
|
|
17
|
+
.ui-world-map[data-interactive="true"] .ui-world-map__country { cursor: pointer; }
|
|
18
|
+
.ui-world-map[data-interactive="true"] .ui-world-map__country:hover { opacity: .65; }
|
|
19
|
+
.ui-world-map__selection { fill: none; stroke: hsl(var(--accent)); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
|
|
20
|
+
.ui-world-map__marker { fill: hsl(var(--on-brand)); stroke: var(--ui-world-map-marker, hsl(var(--brand))); }
|
|
21
|
+
.ui-world-map__inspection { position: absolute; inset: .75rem auto auto .75rem; padding: .25rem .5rem; background: hsl(var(--surface)); border-radius: var(--ui-radius-md); font-size: .875rem; pointer-events: none; }
|
|
22
|
+
.ui-world-map__highlights { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0; list-style: none; font-size: .8125rem; }
|
|
23
|
+
.ui-world-map__select-label { display: grid; gap: .375rem; max-width: 24rem; }
|
|
24
|
+
.ui-world-map[data-animated="true"] .ui-world-map__countries { animation: ui-map-enter .6s; }
|
|
25
|
+
.ui-world-map[data-animated="true"] .ui-world-map__marker { animation: ui-map-pulse 2.5s 2; transform-box: fill-box; transform-origin: center; }
|
|
26
|
+
@keyframes ui-map-enter { from { opacity: 0; } }
|
|
27
|
+
@keyframes ui-map-pulse { 50% { transform: scale(1.25); } }
|
|
28
|
+
@media (prefers-reduced-motion: reduce) { .ui-world-map[data-animated="true"] :is(.ui-world-map__countries, .ui-world-map__marker) { animation: none; transition: none; } }
|
|
29
|
+
@media (forced-colors: active) { .ui-world-map__country { stroke: CanvasText; } .ui-world-map__selection { stroke: Highlight; } }
|
|
30
|
+
}
|