@birdycom/omniaui-blocks 0.11.0 → 0.11.2
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/LICENSE +21 -21
- package/README.md +10 -10
- package/blocks/about-timeline.html +23 -23
- package/blocks/app-header.html +32 -32
- package/blocks/app-shell.html +84 -84
- package/blocks/auth-split.html +45 -45
- package/blocks/auth.html +21 -21
- package/blocks/contact-grid.html +38 -38
- package/blocks/cta.html +8 -8
- package/blocks/data-table.html +111 -111
- package/blocks/faq.html +33 -33
- package/blocks/features.html +18 -18
- package/blocks/footer.html +41 -41
- package/blocks/forgot-password.html +34 -34
- package/blocks/form-page.html +28 -28
- package/blocks/hero-code.html +27 -27
- package/blocks/hero-orbit.html +38 -38
- package/blocks/hero-split.html +12 -12
- package/blocks/hero.html +10 -10
- package/blocks/login-01.html +41 -41
- package/blocks/login-02.html +55 -55
- package/blocks/login-03.html +47 -47
- package/blocks/module-header.html +24 -24
- package/blocks/otp-01.html +36 -36
- package/blocks/otp-02.html +46 -46
- package/blocks/page-hero.html +10 -10
- package/blocks/portfolio-grid.html +31 -31
- package/blocks/pricing.html +42 -42
- package/blocks/process.html +19 -19
- package/blocks/product-grid.html +37 -37
- package/blocks/profile-header.html +27 -27
- package/blocks/reset-password.html +45 -45
- package/blocks/showcase.html +27 -27
- package/blocks/sidebar-01.html +56 -56
- package/blocks/sidebar-02.html +55 -55
- package/blocks/sidebar-03.html +53 -53
- package/blocks/sidebar-04.html +56 -56
- package/blocks/sidebar-05.html +68 -68
- package/blocks/signup-01.html +53 -53
- package/blocks/signup-02.html +56 -56
- package/blocks/site-footer.html +39 -39
- package/blocks/site-header.html +14 -14
- package/blocks/spotlight.html +22 -22
- package/blocks/stats-counter.html +15 -15
- package/blocks/stats.html +19 -19
- package/blocks/team-list.html +30 -30
- package/blocks/two-factor.html +33 -33
- package/blocks/wizard-dialog.html +36 -36
- package/dist/blocks.css +371 -343
- package/dist/blocks.min.css +1 -1
- package/dist/parts/site-about-timeline.css +61 -61
- package/dist/parts/site-contact-grid.css +58 -58
- package/dist/parts/site-faq.css +52 -52
- package/dist/parts/site-hero-orbit.css +62 -62
- package/dist/parts/site-portfolio-grid.css +23 -23
- package/dist/parts/site-profile-header.css +77 -77
- package/package.json +55 -55
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/* File: packages/blocks/src/parts/site-portfolio-grid.css
|
|
2
|
-
Map: section -> head (title left, "all projects" link right) -> card grid -> two-column variant
|
|
3
|
-
Portfolio grid block: a heading and a grid of project-card components. */
|
|
4
|
-
|
|
5
|
-
.oc-block-portfolio-head {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-wrap: wrap;
|
|
8
|
-
align-items: flex-end;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
gap: 1rem 2rem;
|
|
11
|
-
margin-block-end: 2rem;
|
|
12
|
-
}
|
|
13
|
-
.oc-block-portfolio-head .oc-display { margin-block-end: 0; }
|
|
14
|
-
.oc-block-portfolio-lead { margin: 0.75rem 0 0; color: var(--oc-muted-foreground); max-inline-size: 36rem; }
|
|
15
|
-
|
|
16
|
-
.oc-block-portfolio-grid {
|
|
17
|
-
display: grid;
|
|
18
|
-
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--oc-portfolio-min, 18rem)), 1fr));
|
|
19
|
-
gap: 1.5rem;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* Two columns: bigger cards (fewer, more important projects). */
|
|
23
|
-
.oc-block-portfolio--two { --oc-portfolio-min: 26rem; }
|
|
1
|
+
/* File: packages/blocks/src/parts/site-portfolio-grid.css
|
|
2
|
+
Map: section -> head (title left, "all projects" link right) -> card grid -> two-column variant
|
|
3
|
+
Portfolio grid block: a heading and a grid of project-card components. */
|
|
4
|
+
|
|
5
|
+
.oc-block-portfolio-head {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
align-items: flex-end;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
gap: 1rem 2rem;
|
|
11
|
+
margin-block-end: 2rem;
|
|
12
|
+
}
|
|
13
|
+
.oc-block-portfolio-head .oc-display { margin-block-end: 0; }
|
|
14
|
+
.oc-block-portfolio-lead { margin: 0.75rem 0 0; color: var(--oc-muted-foreground); max-inline-size: 36rem; }
|
|
15
|
+
|
|
16
|
+
.oc-block-portfolio-grid {
|
|
17
|
+
display: grid;
|
|
18
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--oc-portfolio-min, 18rem)), 1fr));
|
|
19
|
+
gap: 1.5rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Two columns: bigger cards (fewer, more important projects). */
|
|
23
|
+
.oc-block-portfolio--two { --oc-portfolio-min: 26rem; }
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
/* File: packages/blocks/src/parts/site-profile-header.css
|
|
2
|
-
Map: section -> banner -> bar (overhanging avatar, info, actions) -> tab bar -> compact variant
|
|
3
|
-
Profile header block: banner, an avatar that overlaps the banner edge, name + meta, actions and link tabs.
|
|
4
|
-
Banner image: style="--oc-profile-banner: url(...)" (default: an accent gradient). */
|
|
5
|
-
|
|
6
|
-
.oc-block-profile {
|
|
7
|
-
container-type: inline-size;
|
|
8
|
-
max-inline-size: var(--oc-block-max-width, 1200px);
|
|
9
|
-
margin-inline: auto;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.oc-block-profile-banner {
|
|
13
|
-
aspect-ratio: 6 / 1;
|
|
14
|
-
min-block-size: 7rem;
|
|
15
|
-
border-radius: var(--oc-block-radius, 16px);
|
|
16
|
-
background:
|
|
17
|
-
var(--oc-profile-banner, radial-gradient(circle at 85% 30%, color-mix(in oklch, var(--color-white-50) 25%, transparent), transparent 40%)),
|
|
18
|
-
linear-gradient(120deg, var(--oc-accent-from), var(--oc-accent-to));
|
|
19
|
-
background-size: cover;
|
|
20
|
-
background-position: center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.oc-block-profile-bar {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-wrap: wrap;
|
|
26
|
-
align-items: flex-end;
|
|
27
|
-
gap: 1rem 1.25rem;
|
|
28
|
-
padding-inline: clamp(1rem, 3vw, 1.5rem);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* The avatar component, made bigger and pulled up over the banner edge. */
|
|
32
|
-
.oc-block-profile-avatar.oc-avatar {
|
|
33
|
-
width: 6.5rem;
|
|
34
|
-
height: 6.5rem;
|
|
35
|
-
margin-block-start: -3.25rem;
|
|
36
|
-
border: 4px solid var(--oc-background);
|
|
37
|
-
font-size: 2rem;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.oc-block-profile-info { flex: 1 1 16rem; min-inline-size: 0; padding-block-start: 0.75rem; }
|
|
41
|
-
.oc-block-profile-name { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
|
|
42
|
-
.oc-block-profile-meta { margin: 0.2rem 0 0; color: var(--oc-muted-foreground); font-size: 0.9rem; }
|
|
43
|
-
.oc-block-profile-bio { margin: 0.5rem 0 0; color: var(--oc-muted-foreground); font-size: 0.95rem; max-inline-size: 44rem; }
|
|
44
|
-
.oc-block-profile-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
|
45
|
-
|
|
46
|
-
/* Tab bar: links; the current one gets aria-current="page". Scrolls sideways on small screens. */
|
|
47
|
-
.oc-block-profile-tabs {
|
|
48
|
-
display: flex;
|
|
49
|
-
gap: 0.25rem;
|
|
50
|
-
margin-block-start: 1.25rem;
|
|
51
|
-
padding-inline: clamp(1rem, 3vw, 1.5rem);
|
|
52
|
-
border-block-end: 1px solid var(--oc-border);
|
|
53
|
-
overflow-x: auto;
|
|
54
|
-
scrollbar-width: none;
|
|
55
|
-
}
|
|
56
|
-
.oc-block-profile-tab {
|
|
57
|
-
padding: 0.75rem 1rem;
|
|
58
|
-
border-block-end: 2px solid transparent;
|
|
59
|
-
color: var(--oc-muted-foreground);
|
|
60
|
-
font-size: 0.92rem;
|
|
61
|
-
font-weight: 500;
|
|
62
|
-
text-decoration: none;
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
transition: color var(--oc-transition-fast, 150ms), border-color var(--oc-transition-fast, 150ms);
|
|
65
|
-
}
|
|
66
|
-
.oc-block-profile-tab:hover { color: var(--oc-foreground); }
|
|
67
|
-
.oc-block-profile-tab[aria-current="page"] { border-block-end-color: var(--oc-brand-1); color: var(--oc-foreground); }
|
|
68
|
-
.oc-block-profile-tab:focus-visible { outline: 2px solid var(--oc-ring); outline-offset: -2px; }
|
|
69
|
-
|
|
70
|
-
/* Compact: low banner and a smaller avatar. */
|
|
71
|
-
.oc-block-profile--compact .oc-block-profile-banner { aspect-ratio: 10 / 1; min-block-size: 4.5rem; }
|
|
72
|
-
.oc-block-profile--compact .oc-block-profile-avatar.oc-avatar { width: 4.5rem; height: 4.5rem; margin-block-start: -2.25rem; font-size: 1.4rem; }
|
|
73
|
-
|
|
74
|
-
/* Narrow: the actions go below the info, full width. */
|
|
75
|
-
@container (max-width: 34rem) {
|
|
76
|
-
.oc-block-profile-actions { flex-basis: 100%; }
|
|
77
|
-
}
|
|
1
|
+
/* File: packages/blocks/src/parts/site-profile-header.css
|
|
2
|
+
Map: section -> banner -> bar (overhanging avatar, info, actions) -> tab bar -> compact variant
|
|
3
|
+
Profile header block: banner, an avatar that overlaps the banner edge, name + meta, actions and link tabs.
|
|
4
|
+
Banner image: style="--oc-profile-banner: url(...)" (default: an accent gradient). */
|
|
5
|
+
|
|
6
|
+
.oc-block-profile {
|
|
7
|
+
container-type: inline-size;
|
|
8
|
+
max-inline-size: var(--oc-block-max-width, 1200px);
|
|
9
|
+
margin-inline: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.oc-block-profile-banner {
|
|
13
|
+
aspect-ratio: 6 / 1;
|
|
14
|
+
min-block-size: 7rem;
|
|
15
|
+
border-radius: var(--oc-block-radius, 16px);
|
|
16
|
+
background:
|
|
17
|
+
var(--oc-profile-banner, radial-gradient(circle at 85% 30%, color-mix(in oklch, var(--color-white-50) 25%, transparent), transparent 40%)),
|
|
18
|
+
linear-gradient(120deg, var(--oc-accent-from), var(--oc-accent-to));
|
|
19
|
+
background-size: cover;
|
|
20
|
+
background-position: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.oc-block-profile-bar {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-wrap: wrap;
|
|
26
|
+
align-items: flex-end;
|
|
27
|
+
gap: 1rem 1.25rem;
|
|
28
|
+
padding-inline: clamp(1rem, 3vw, 1.5rem);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* The avatar component, made bigger and pulled up over the banner edge. */
|
|
32
|
+
.oc-block-profile-avatar.oc-avatar {
|
|
33
|
+
width: 6.5rem;
|
|
34
|
+
height: 6.5rem;
|
|
35
|
+
margin-block-start: -3.25rem;
|
|
36
|
+
border: 4px solid var(--oc-background);
|
|
37
|
+
font-size: 2rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.oc-block-profile-info { flex: 1 1 16rem; min-inline-size: 0; padding-block-start: 0.75rem; }
|
|
41
|
+
.oc-block-profile-name { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
|
|
42
|
+
.oc-block-profile-meta { margin: 0.2rem 0 0; color: var(--oc-muted-foreground); font-size: 0.9rem; }
|
|
43
|
+
.oc-block-profile-bio { margin: 0.5rem 0 0; color: var(--oc-muted-foreground); font-size: 0.95rem; max-inline-size: 44rem; }
|
|
44
|
+
.oc-block-profile-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
|
45
|
+
|
|
46
|
+
/* Tab bar: links; the current one gets aria-current="page". Scrolls sideways on small screens. */
|
|
47
|
+
.oc-block-profile-tabs {
|
|
48
|
+
display: flex;
|
|
49
|
+
gap: 0.25rem;
|
|
50
|
+
margin-block-start: 1.25rem;
|
|
51
|
+
padding-inline: clamp(1rem, 3vw, 1.5rem);
|
|
52
|
+
border-block-end: 1px solid var(--oc-border);
|
|
53
|
+
overflow-x: auto;
|
|
54
|
+
scrollbar-width: none;
|
|
55
|
+
}
|
|
56
|
+
.oc-block-profile-tab {
|
|
57
|
+
padding: 0.75rem 1rem;
|
|
58
|
+
border-block-end: 2px solid transparent;
|
|
59
|
+
color: var(--oc-muted-foreground);
|
|
60
|
+
font-size: 0.92rem;
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
text-decoration: none;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
transition: color var(--oc-transition-fast, 150ms), border-color var(--oc-transition-fast, 150ms);
|
|
65
|
+
}
|
|
66
|
+
.oc-block-profile-tab:hover { color: var(--oc-foreground); }
|
|
67
|
+
.oc-block-profile-tab[aria-current="page"] { border-block-end-color: var(--oc-brand-1); color: var(--oc-foreground); }
|
|
68
|
+
.oc-block-profile-tab:focus-visible { outline: 2px solid var(--oc-ring); outline-offset: -2px; }
|
|
69
|
+
|
|
70
|
+
/* Compact: low banner and a smaller avatar. */
|
|
71
|
+
.oc-block-profile--compact .oc-block-profile-banner { aspect-ratio: 10 / 1; min-block-size: 4.5rem; }
|
|
72
|
+
.oc-block-profile--compact .oc-block-profile-avatar.oc-avatar { width: 4.5rem; height: 4.5rem; margin-block-start: -2.25rem; font-size: 1.4rem; }
|
|
73
|
+
|
|
74
|
+
/* Narrow: the actions go below the info, full width. */
|
|
75
|
+
@container (max-width: 34rem) {
|
|
76
|
+
.oc-block-profile-actions { flex-basis: 100%; }
|
|
77
|
+
}
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@birdycom/omniaui-blocks",
|
|
3
|
-
"version": "0.11.
|
|
4
|
-
"description": "OmniaUI blocks: ready-made page sections (hero, features, pricing, stats, CTA, auth, sidebars, dashboards) composed from OmniaCSS utilities and OmniaUI components.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"author": "Serge Cools (Birdycom)",
|
|
8
|
-
"homepage": "https://omniaui.eu",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/Birdycom/OmniaUI.git",
|
|
12
|
-
"directory": "packages/blocks"
|
|
13
|
-
},
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/Birdycom/OmniaUI/issues"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"css",
|
|
19
|
-
"blocks",
|
|
20
|
-
"sections",
|
|
21
|
-
"landing-page",
|
|
22
|
-
"omniaui"
|
|
23
|
-
],
|
|
24
|
-
"exports": {
|
|
25
|
-
".": "./dist/blocks.css",
|
|
26
|
-
"./min": "./dist/blocks.min.css",
|
|
27
|
-
"./blocks/*": "./blocks/*",
|
|
28
|
-
"./manifest.json": "./manifest.json",
|
|
29
|
-
"./package.json": "./package.json",
|
|
30
|
-
"./pro.json": "./pro.json"
|
|
31
|
-
},
|
|
32
|
-
"style": "./dist/blocks.css",
|
|
33
|
-
"files": [
|
|
34
|
-
"dist",
|
|
35
|
-
"blocks",
|
|
36
|
-
"manifest.json",
|
|
37
|
-
"pro.json",
|
|
38
|
-
"README.md",
|
|
39
|
-
"LICENSE"
|
|
40
|
-
],
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"@birdycom/omniaui": "^0.11.
|
|
43
|
-
},
|
|
44
|
-
"unpkg": "./dist/blocks.min.css",
|
|
45
|
-
"jsdelivr": "./dist/blocks.min.css",
|
|
46
|
-
"sideEffects": [
|
|
47
|
-
"*.css"
|
|
48
|
-
],
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">=22"
|
|
51
|
-
},
|
|
52
|
-
"publishConfig": {
|
|
53
|
-
"access": "public"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@birdycom/omniaui-blocks",
|
|
3
|
+
"version": "0.11.2",
|
|
4
|
+
"description": "OmniaUI blocks: ready-made page sections (hero, features, pricing, stats, CTA, auth, sidebars, dashboards) composed from OmniaCSS utilities and OmniaUI components.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Serge Cools (Birdycom)",
|
|
8
|
+
"homepage": "https://omniaui.eu",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/Birdycom/OmniaUI.git",
|
|
12
|
+
"directory": "packages/blocks"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/Birdycom/OmniaUI/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"css",
|
|
19
|
+
"blocks",
|
|
20
|
+
"sections",
|
|
21
|
+
"landing-page",
|
|
22
|
+
"omniaui"
|
|
23
|
+
],
|
|
24
|
+
"exports": {
|
|
25
|
+
".": "./dist/blocks.css",
|
|
26
|
+
"./min": "./dist/blocks.min.css",
|
|
27
|
+
"./blocks/*": "./blocks/*",
|
|
28
|
+
"./manifest.json": "./manifest.json",
|
|
29
|
+
"./package.json": "./package.json",
|
|
30
|
+
"./pro.json": "./pro.json"
|
|
31
|
+
},
|
|
32
|
+
"style": "./dist/blocks.css",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"blocks",
|
|
36
|
+
"manifest.json",
|
|
37
|
+
"pro.json",
|
|
38
|
+
"README.md",
|
|
39
|
+
"LICENSE"
|
|
40
|
+
],
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@birdycom/omniaui": "^0.11.2"
|
|
43
|
+
},
|
|
44
|
+
"unpkg": "./dist/blocks.min.css",
|
|
45
|
+
"jsdelivr": "./dist/blocks.min.css",
|
|
46
|
+
"sideEffects": [
|
|
47
|
+
"*.css"
|
|
48
|
+
],
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=22"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
}
|
|
55
|
+
}
|