Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
3053f41
fix: merged master fix and issue-1405-product-trials-epic--broken-master
heyMP Apr 16, 2021
6268c10
feat: added better logic for switching grid gaps for button-group
heyMP Apr 16, 2021
326bf7f
feat: updated demo
heyMP Apr 16, 2021
6a8e605
Branch was auto-updated with the latest.
github-actions[bot] Apr 16, 2021
a2d154d
Branch was auto-updated with the latest.
github-actions[bot] Apr 19, 2021
a1e2d41
Branch was auto-updated with the latest.
github-actions[bot] Apr 21, 2021
9bc0e12
feat: pfe-progress-steps disable link on current and error state.
heyMP Apr 20, 2021
45a052b
feat: pfe-progress-steps fixed thin white line around svgs
heyMP Apr 20, 2021
f979a99
chore: pfe-progress-steps cleanup
heyMP Apr 20, 2021
d7c179f
feat: updated demo to use remote libs
heyMP Apr 21, 2021
2c16e15
fix: pfe-popover fixed darkmode button color
heyMP Apr 21, 2021
402a089
feat: pfe-absolute-position switch from attr change callback to prop …
heyMP Apr 22, 2021
8dcc1c4
Branch was auto-updated with the latest.
github-actions[bot] Apr 26, 2021
ece1f66
Branch was auto-updated with the latest.
github-actions[bot] Apr 26, 2021
53329ed
Branch was auto-updated with the latest.
github-actions[bot] Apr 26, 2021
6bf829a
Branch was auto-updated with the latest.
github-actions[bot] Apr 26, 2021
c0a56e0
Branch was auto-updated with the latest.
github-actions[bot] Apr 27, 2021
ffb9734
Branch was auto-updated with the latest.
github-actions[bot] Apr 27, 2021
a2b4b35
fix: pfe-alert added correct icon gap, moved to css grid
heyMP May 3, 2021
ab24554
chore: update to 1.6.0
heyMP May 3, 2021
737b56c
chore: commit dist files for short term
heyMP May 3, 2021
5195dc1
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
40f85d1
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
ecc9fc6
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
bedf0f7
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
59bc5fc
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
ae4d1f1
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
f67b227
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
488a9d6
Branch was auto-updated with the latest.
github-actions[bot] May 6, 2021
2702beb
Branch was auto-updated with the latest.
github-actions[bot] May 7, 2021
7a0269d
Branch was auto-updated with the latest.
github-actions[bot] May 7, 2021
fe48eac
Branch was auto-updated with the latest.
github-actions[bot] May 7, 2021
51d7a09
Branch was auto-updated with the latest.
github-actions[bot] May 7, 2021
e5edb24
Branch was auto-updated with the latest.
github-actions[bot] May 8, 2021
e92f2b0
chore: remove dist files
heyMP May 10, 2021
e6423aa
chore: removing unrelated components
heyMP May 10, 2021
8627b00
chore: removing dist directories
heyMP May 10, 2021
6602dbd
chore: remove console.log
heyMP May 11, 2021
30d25cb
feat: made vertical min-height dynamic
heyMP May 11, 2021
6f9324e
chore: version bump
heyMP May 11, 2021
521834c
Merge branch 'master' of github.com:patternfly/patternfly-elements in…
castastrophe May 11, 2021
9a7b14a
First pass at updating styles to use pfe functions
castastrophe May 11, 2021
2e80f5c
Remove debugging
castastrophe May 11, 2021
1cf8b7f
Update polyfills
castastrophe May 11, 2021
17782cc
Add documentation folder
castastrophe May 11, 2021
89270f3
Remove jump links content from progress stepper docs
castastrophe May 11, 2021
4f92440
Add documentation for the variable hooks
castastrophe May 11, 2021
0ebee00
Merge branch 'master' into issue-1405-product-trials-epic--progress-s…
castastrophe May 11, 2021
f314f6d
Update documentation; add values array
castastrophe May 11, 2021
4de6168
First pass at storybook view
castastrophe May 11, 2021
e0a0729
Abstract item template
castastrophe May 11, 2021
3108731
Update story
castastrophe May 12, 2021
3e95a75
Merge branch 'master' of github.com:patternfly/patternfly-elements in…
castastrophe May 12, 2021
d2fcc5b
Update tests for progress steps
castastrophe May 12, 2021
94bf237
Update progress steps
castastrophe May 12, 2021
8d8c704
Add todo notes
castastrophe May 12, 2021
70707d9
Remove progress steps html now that it's using the new testing framework
castastrophe May 13, 2021
90da8ca
Merge branch 'issue-1405-product-trials-epic--progress-steps' of gith…
castastrophe May 13, 2021
3ee2aa8
[pfe-progress-steps] CSS Variable Notes NO MERGE (#1623)
heyMP May 13, 2021
46bd609
Reworking the styles to simplify the markup
castastrophe May 13, 2021
d280a56
Merge branch 'issue-1405-product-trials-epic--progress-steps' of gith…
castastrophe May 13, 2021
9900d7d
Fixing a few hangnails
castastrophe May 13, 2021
4f0b158
Update links to use inherit
castastrophe May 13, 2021
82cda54
Update logic to use more precise math for determining alignment
castastrophe May 13, 2021
a884e59
Revert storybook update
castastrophe May 13, 2021
8dea590
Merge branch 'master' into issue-1405-product-trials-epic--progress-s…
castastrophe May 13, 2021
9eff2ff
Minor updates
castastrophe May 13, 2021
a259d58
Merge branch 'master' into issue-1405-product-trials-epic--progress-s…
castastrophe May 14, 2021
958f8c2
Merge branch 'master' of github.com:patternfly/patternfly-elements in…
castastrophe May 18, 2021
938b8a2
update changelog
castastrophe May 18, 2021
0601928
Updating typo
castastrophe May 18, 2021
6a91143
Merge branch 'master' into issue-1405-product-trials-epic--progress-s…
heyMP May 18, 2021
12fd577
Remove html test from old testing suite
castastrophe May 19, 2021
0d9ef93
Update styles on demo page
castastrophe May 19, 2021
0182c2b
feat: updated css vars for RH theme in demo
heyMP May 19, 2021
9337333
feat: updated preview image for docs
heyMP May 19, 2021
7a59dbc
fix: fixed the description of the progress steps
heyMP May 19, 2021
1d51ba0
Update feedback--info colors to ui-accent
castastrophe May 20, 2021
78d8ec0
Merge branch 'master' into issue-1405-product-trials-epic--progress-s…
castastrophe May 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CHANGELOG-1.x.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# 1.9.0 (TBD)
# 1.9.0 (2021)

- [](https://github.com/patternfly/patternfly-elements/commit/) feat: [pfe-styles] ordered list primary styles
- [](https://github.com/patternfly/patternfly-elements/commit/) feat: pfe-progress-steps (new) (#1436)
- [9411f1f](https://github.com/patternfly/patternfly-elements/commit/9411f1f7e614be43e50105540262cd1992bca50f) feat: [pfe-styles] ordered list primary styles
- [b89bd6b](https://github.com/patternfly/patternfly-elements/commit/b89bd6b34dc5bd42c61dd1670bf273587b650268) feat: persist debugLog in localStorage

# 1.8.0 (2021-05-18)

- [](https://github.com/patternfly/patternfly-elements/commit/) feat: persist debugLog in localStorage
- [267ff8e](https://github.com/patternfly/patternfly-elements/commit/267ff8ee7df7cd0512f16c58fdb169f941bfa4cd) feat: Update fetch mixin to support region input (#1328)
- [f1c1176](https://github.com/patternfly/patternfly-elements/commit/f1c1176d9278d6e5b8066b42fc040ea01d98ecb2) feat: pfe-icon now supports setting default icon sets
- [56eb55e](https://github.com/patternfly/patternfly-elements/commit/56eb55ec8b4b62aee7d36950d158229cbf50ddef) fix: pfe-accordion IE11 regression; background context should always be white with black text
Expand Down
19 changes: 19 additions & 0 deletions elements/pfe-progress-steps/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright 2021 Red Hat, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
101 changes: 101 additions & 0 deletions elements/pfe-progress-steps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# PatternFly Element | Progress stepper element
A component that gives the user a visual representation of the current state of their progress through an application (typically a multistep form).

## Usage
Describe how best to use this web component along with best practices.

```html
<pfe-progress-steps>
<pfe-progress-steps-item state="active" current>
<div slot="title">Current</div>
<a slot="link" href="#">View current step</a>
</pfe-progress-steps-item>
<pfe-progress-steps-item>
<div slot="title">Next</div>
<a slot="link" href="#">View next step</a>
</pfe-progress-steps-item>
<pfe-progress-steps-item>
<div slot="title">Last</div>
<a slot="link" href="#">View last step</a>
</pfe-progress-steps-item>
</pfe-progress-steps>
```

## Slots

### pfe-progress-steps-item

- `title`: The item's short descriptive title.
- `description`: A short description of what the item represents.

## Attributes

### pfe-progress-steps

- `vertical`: Describe each available attribute and what function is serves.

### pfe-progress-steps-item

- `current`: Indicates if this item is the current active item.
- `state`: Describes the state of the current item; allows "inactive", "done", or "error".

## Variable hooks

Available hooks for styling:

| Variable name | Default value | Region |
| --- | --- | --- |
| `--pfe-progress-steps__item--Width` | var(--pfe-theme--ui--element--size--lg, 75px) | item |
| `--pfe-progress-steps__circle--Size` | var(--pfe-theme--ui--element--size--md, 32px) | circle |
| `--pfe-progress-steps__progress-bar--Color` | var(--pfe-theme--color--ui--border--lighter, #d2d2d2) | progress |
| `--pfe-progress-steps__progress-bar--Fill` | var(--pfe-theme--color--ui-accent, #06c) | progress |
| `--pfe-progress-steps__progress-bar--Width` | var(--pfe-theme--ui--border-width--md, 2px) | progress |
| --- | --- | --- |
| `--pfe-progress-steps-item--Width` | auto | |
| `--pfe-progress-steps-item--MinHeight--vertical` | var(--pfe-progress-steps__item--Width, var(--pfe-theme--ui--element--size--lg, 75px)) | |
| `--pfe-progress-steps-item__circle--Size` | var(--pfe-theme--ui--element--size--md, 32px) | circle |
| `--pfe-progress-steps-item__circle--Color` | var(--pfe-theme--color--feedback--info, #06c) | circle |
| `--pfe-progress-steps-item__circle--Color--hover` | var(--pfe-theme--color--feedback--info, #06c) | circle |
| `--pfe-progress-steps-item__circle--Color--focus` | var(--pfe-theme--color--feedback--info, #06c) | circle |
| `--pfe-progress-steps-item__circle--Background` | radial-gradient(circle, white 60%, rgba(255, 255, 255, 0) 61%) | circle |
| `--pfe-progress-steps-item__circle--Width` | var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px)) | circle |
| `--pfe-progress-steps-item__circle--Height` | var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px)) | circle |
| `--pfe-progress-steps-item__circle-wrapper--Width` | var(--pfe-progress-steps-item__circle--Width, var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px))) | circle |
| `--pfe-progress-steps-item__circle-wrapper--Height` | var(--pfe-progress-steps-item__circle--Height, var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px))) | circle |
| `--pfe-progress-steps-item__title--Color` | var(--pfe-theme--color--text, #151515) | title |
| `--pfe-progress-steps-item__title--Color--active` | var(--pfe-theme--color--feedback--info, #06c) | title |
| `--pfe-progress-steps-item__title--Color--error` | var(--pfe-theme--color--feedback--critical--lighter, #c9190b) | title |
| `--pfe-progress-steps-item__title--MarginTop--vertical` | calc( var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px)) / 6) | title |
| `--pfe-progress-steps-item__description--Color` | var(--pfe-theme--color--text--muted, #6a6e73) | description |
| `--pfe-progress-steps-item__description--Color--error` | var(--pfe-theme--color--feedback--critical--lighter, #c9190b) | description |
| `--pfe-progress-steps-item--spacer` | var(--pfe-theme--content-spacer--body--sm, 0.5rem) | |
| `--pfe-progress-steps-item__circle-inner--Width` | calc( var(--pfe-progress-steps-item__circle--Width, var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px))) / 2.2) | circle |
| `--pfe-progress-steps-item__circle-inner--Height` | calc( var(--pfe-progress-steps-item__circle--Height, var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px))) / 2.2) | circle |
| `--pfe-progress-steps-item__circle-outer--Width` | var(--pfe-progress-steps-item__circle--Width, var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px))) | circle |
| `--pfe-progress-steps-item__circle-outer--Height` | var(--pfe-progress-steps-item__circle--Height, var(--pfe-progress-steps-item__circle--Size, var(--pfe-theme--ui--element--size--md, 32px))) | circle |

## Dev

`npm start`

## Test

`npm run test`

## Build

`npm run build`

## Demo

From the PFElements root directory, run:

`npm run demo`

## Code style

Progress stepper (and all PFElements) use [Prettier][prettier] to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can [integrate your editor][prettier-ed] with Prettier to have the style rules applied on every save.

[prettier]: https://github.com/prettier/prettier/
[prettier-ed]: https://prettier.io/docs/en/editors.html
[web-component-tester]: https://github.com/Polymer/web-component-tester
Loading