Skip to content

Commit 99da873

Browse files
committed
feat(progress-steps)!: migrate pfe-progress-steps to lit
fix(progress-steps): remove erroneous count property (#1822) chore(progress-steps): update slot definitions for docs (#1823) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Michael Potter <[email protected]> docs(progress-steps): added pfe-progress-steps-item slots to docs (#1825)
1 parent a89b06e commit 99da873

22 files changed

+1000
-1248
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Please see the pfe-sass README for guidance on using these tools
2-
@import "../../pfe-sass/pfe-sass";
1+
@use "@patternfly/patternfly/sass-utilities/all" as *;
2+
@use "@patternfly/pfe-sass" as *;
33

44
// Example local variable, using BEM format
55
// --pfe-progress-steps__region--Property: value;
66

7-
$LOCAL-VARIABLES: (
7+
@include configure(
8+
$variables: (
89
item: (
910
size: 75px,
1011
// Note: this is the fallback value; these are overwritten by the JS
@@ -15,5 +16,6 @@ $LOCAL-VARIABLES: (
1516
circle: (
1617
size: pfe-var(ui--element--size), // 20px
1718
size--active: pfe-var(ui--element--size--md) // 32px
18-
)
19-
);
19+
),
20+
),
21+
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { pfeCustomElementsManifestConfig } from '@patternfly/pfe-tools/custom-elements-manifest.js';
2+
3+
export default pfeCustomElementsManifestConfig({
4+
globs: ['pfe-*.ts'],
5+
});
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
:host {
2+
padding: 5em;
3+
}
4+
5+
pfe-progress-steps+pfe-progress-steps {
6+
margin-top: 2em;
7+
}
8+
9+
*:is(h1, h2) {
10+
margin-top: 2em;
11+
}
12+
13+
/* Center */
14+
.pfe-l-grid.pfe-m-gutters > * {
15+
margin-left: auto;
16+
margin-right: auto;
17+
}
18+
19+
/* Styles for redhat.com */
20+
.rhdotcom {
21+
--pfe-progress-steps-item__circle--color--active: #EE0000;
22+
--pfe-progress-steps-item__title--Color--active: #151515;
23+
--pfe-progress-steps__progress-bar--color--active: #6A6E73;
24+
}

0 commit comments

Comments
 (0)