Skip to content

Commit

Permalink
fix(v5): merged main into v5 branch (patternfly#5232)
Browse files Browse the repository at this point in the history
* feat(icons): added open-drawer-right pficon (patternfly#5160)

* feat(progress): added helper text (patternfly#5161)

* chore(a11y docs): removed a11y section from example pages (patternfly#5167)

* Create new extensions github workflow (patternfly#5186)

* Create new extensions github workflow

Automatically add any issues tagged with 'extensions' label to the PatternFly extensions github project

* Update extensions.yml

* chore(deps): update dependency @patternfly/react-code-editor to v4.82.26 (patternfly#5164)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @patternfly/documentation-framework to v1.2.47 (patternfly#5132)

* chore(deps): update dependency @patternfly/react-core to v4.250.1 (patternfly#5165)

* chore(deps): update dependency @patternfly/react-table to v4.111.4 (patternfly#5166)

* chore(deps): update dependency @patternfly/documentation-framework to v1.2.48 (patternfly#5190)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(dropdown): disabled top positioning when using static variation (patternfly#5189)

* fix(context-selector): updated static props (patternfly#5191)

* chore(page): updated example content, made text readable (patternfly#5187)

* chore(beta-components): promote 2022.14 candidates (patternfly#5179)

* chore(deps): update dependency @patternfly/documentation-framework to v1.2.50 (patternfly#5193)

* chore(deps): update dependency @patternfly/documentation-framework to v1.2.51 (patternfly#5196)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(release-notes): added release notes for 2022.14 (patternfly#5194)

* fix(release-notes): added release notes for 2022.14

* chore(demos): update screenshots

* chore(demos): update screenshots, part deux

* Update extensions.yml

* Update add-new-issues-to-project.yml

* chore(deps): update dependency @patternfly/documentation-framework to v1.2.60 (patternfly#5197)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @patternfly/documentation-framework to v1.2.61 (patternfly#5208)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @patternfly/react-table to v4.111.33 (patternfly#5206)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @patternfly/react-code-editor to v4.82.55 (patternfly#5205)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(tabs): added help popover, refactored tab action (patternfly#5213)

* feat(icons): added data-sink and data-source (patternfly#5228)

* chore(deps): bump loader-utils from 1.4.0 to 1.4.1 (patternfly#5225)

Co-authored-by: Austin Sullivan <ausulliv@redhat.com>
Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com>
Co-authored-by: Nicole Thoen <nthoen@redhat.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
6 people authored and mattnolting committed Mar 2, 2023
1 parent c57ef14 commit 83c152b
Show file tree
Hide file tree
Showing 18 changed files with 4,423 additions and 5,729 deletions.
47 changes: 0 additions & 47 deletions RELEASE-NOTES.md
Expand Up @@ -3,53 +3,6 @@ id: Release notes
section: developer-resources
releaseNoteTOC: true
---
## 2023.01 release notes (2023-01-25)
Packages released:
- [@patternfly/patternfly@v4.224.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.224.2)

### Components
- **Calendar month:** Updated year width to not truncate ([#5316](https://github.com/patternfly/patternfly/pull/5316))
- **Card:** Removed unnecessary class from labels in demos ([#5306](https://github.com/patternfly/patternfly/pull/5306))
- **Charts:** Removed dupe vars ([#5312](https://github.com/patternfly/patternfly/pull/5312))
- **Content:** Added plain list variation ([#5337](https://github.com/patternfly/patternfly/pull/5337))
- **Tabs:** Removed help action specific styling ([#5330](https://github.com/patternfly/patternfly/pull/5330))
- **Wizard:** Fixed demo footer layout ([#5317](https://github.com/patternfly/patternfly/pull/5317))

### Other
- **Icons:** Added data-processor icon ([#5284](https://github.com/patternfly/patternfly/pull/5284))
- **Workspace:** Cleaned up beta tags for v4 ([#5329](https://github.com/patternfly/patternfly/pull/5329))


## 2022.16 release notes (2022-12-09)
Packages released:
- [@patternfly/patternfly@v4.222.4](https://www.npmjs.com/package/@patternfly/patternfly/v/4.222.4)

### Components
- **Dropdown:** Added loading state for split button checkbox ([#5269](https://github.com/patternfly/patternfly/pull/5269))
- **Form control:** Fixed select dark theme icon ([#5242](https://github.com/patternfly/patternfly/pull/5242))
- **Menu:** Prevented hidden drilldown items from being focusable ([#5271](https://github.com/patternfly/patternfly/pull/5271))
- **Slider:** Updated value input styling ([#5249](https://github.com/patternfly/patternfly/pull/5249))
- **Tabs:**
- Updated nested demo heading levels ([#5246](https://github.com/patternfly/patternfly/pull/5246))
- Removed pagination from demo, exposed tags ([#5259](https://github.com/patternfly/patternfly/pull/5259))

### Other
- **Workspace:**
- Cleaned up demos, added path as way to include partials ([#5135](https://github.com/patternfly/patternfly/pull/5135))
- Removed test code from #5135 ([#5255](https://github.com/patternfly/patternfly/pull/5255))


## 2022.15 release notes (2022-11-18)
Packages released:
- [@patternfly/patternfly@v4.221.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.221.2)

### Components
- **Pagination:** Added support for insets ([#5207](https://github.com/patternfly/patternfly/pull/5207))
- **Tabs:** Added help popover, refactored tab action ([#5213](https://github.com/patternfly/patternfly/pull/5213))

### Other
- **Icons:** Added data-sink and data-source ([#5228](https://github.com/patternfly/patternfly/pull/5228))

## 2022.14 release notes (2022-10-28)
Packages released:
- [@patternfly/patternfly@v4.219.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.219.2)
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -34,9 +34,9 @@
"@fortawesome/fontawesome": "^1.1.8",
"@octokit/rest": "^16.40.1",
"@patternfly/patternfly-a11y": "4.3.1",
"@patternfly/react-code-editor": "4.80.0",
"@patternfly/react-core": "4.239.0",
"@patternfly/react-table": "4.108.0",
"@patternfly/react-code-editor": "4.82.55",
"@patternfly/react-core": "4.250.1",
"@patternfly/react-table": "4.111.33",
"@starptech/prettyhtml": "^0.10.0",
"babel-eslint": "^8.2.3",
"cheerio": "^1.0.0-rc.3",
Expand Down Expand Up @@ -79,7 +79,7 @@
"stylelint-scss": "^4.3.0",
"stylelint-value-no-unknown-custom-properties": "^4.0.0",
"surge": "^0.21.3",
"@patternfly/documentation-framework": "1.2.33",
"@patternfly/documentation-framework": "1.2.61",
"unified": "^9.2.0",
"webpack": "^4.43.0"
},
Expand Down
Binary file modified patternfly-docs/generated/components/tabs/html-demos/modal-tabs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion patternfly-docs/site/pages/icons.md
Expand Up @@ -25,7 +25,6 @@ id: Icons
| container-node | <i class="pf-icon pf-icon-container-node"></i> | &lt;i class=&quot;pf-icon pf-icon-container-node&quot;&gt;&lt;/i&gt;
| cpu | <i class="pf-icon pf-icon-cpu"></i> | &lt;i class=&quot;pf-icon pf-icon-cpu&quot;&gt;&lt;/i&gt;
| critical-risk | <i class="pf-icon pf-icon-critical-risk"></i> | &lt;i class=&quot;pf-icon pf-icon-critical-risk&quot;&gt;&lt;/i&gt;
| data-processor | <i class="pf-icon pf-icon-data-processor"></i> | &lt;i class=&quot;pf-icon pf-icon-data-processor&quot;&gt;&lt;/i&gt;
| data-sink | <i class="pf-icon pf-icon-data-sink"></i> | &lt;i class=&quot;pf-icon pf-icon-data-sink&quot;&gt;&lt;/i&gt;
| data-source | <i class="pf-icon pf-icon-data-source"></i> | &lt;i class=&quot;pf-icon pf-icon-data-source&quot;&gt;&lt;/i&gt;
| degraded | <i class="pf-icon pf-icon-degraded"></i> | &lt;i class=&quot;pf-icon pf-icon-degraded&quot;&gt;&lt;/i&gt;
Expand Down
3 changes: 1 addition & 2 deletions src/icons/definitions/pf-icons.mjs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/patternfly/assets/icons/iconUnicodes.json
Expand Up @@ -21,7 +21,6 @@
"pf-icon-container-node": "E621",
"pf-icon-cpu": "E927",
"pf-icon-critical-risk": "E976",
"pf-icon-data-processor": "E97B",
"pf-icon-data-sink": "E978",
"pf-icon-data-source": "E979",
"pf-icon-degraded": "E91B",
Expand Down
6 changes: 0 additions & 6 deletions src/patternfly/assets/pficon/pficon.scss
Expand Up @@ -89,9 +89,6 @@
@if $filename == critical-risk {
$char: '\E976';
}
@if $filename == data-processor {
$char: '\E97B';
}
@if $filename == data-sink {
$char: '\E978';
}
Expand Down Expand Up @@ -488,9 +485,6 @@
.pf-icon-critical-risk {
@include pf-icon(critical-risk);
}
.pf-icon-data-processor {
@include pf-icon(data-processor);
}
.pf-icon-data-sink {
@include pf-icon(data-sink);
}
Expand Down
Binary file modified src/patternfly/assets/pficon/pficon.woff
Binary file not shown.
Binary file modified src/patternfly/assets/pficon/pficon.woff2
Binary file not shown.
8 changes: 0 additions & 8 deletions src/patternfly/components/Accordion/examples/Accordion.md
Expand Up @@ -303,14 +303,6 @@ In these examples `.pf-c-accordion` uses `<div>`, `.pf-c-accordion__toggle` uses
Another variation is using the definition list:
In these examples `.pf-c-accordion` uses `<dl>`, `.pf-c-accordion__toggle` uses `<dt><button>`, and `.pf-c-accordion__expandable-content` uses `<dd>`.

### Accessibility
| Attribute | Applied to | Outcome |
| -- | -- | -- |
| `aria-expanded="false"` | `.pf-c-accordion__toggle` | Indicates that the expanded content element is hidden. **Required**|
| `aria-expanded="true"` | `.pf-c-accordion__toggle` | Indicates that the expanded content element is visible. **Required**|
| `hidden` | `.pf-c-accordion__expandable-content` | Indicates that the expanded content element is hidden. Use with `aria-expanded="false"` **Required** |
| `aria-hidden="true"` | `.pf-c-accordion__toggle-icon` | Hides the icon from assistive technologies.**Required** |

### Usage
| Class | Applied to | Outcome |
| -- | -- | -- |
Expand Down
6 changes: 6 additions & 0 deletions src/patternfly/components/Button/button.hbs
Expand Up @@ -36,6 +36,12 @@
{{#if button--url}}
href="{{button--url}}"
{{/if}}
{{#if button--aria-label}}
aria-label="{{button--aria-label}}"
{{/if}}
{{#if button--IsDisabled}}
disabled
{{/if}}
{{#if button--attribute}}
{{{button--attribute}}}
{{/if}}>
Expand Down
11 changes: 0 additions & 11 deletions src/patternfly/components/Dropdown/examples/Dropdown.md
Expand Up @@ -86,15 +86,6 @@ import './Dropdown.css'
{{> dropdown dropdown--id="dropdown-split-button-text" dropdown--template--SplitButton="true" dropdown-toggle-check--CheckboxIsChecked="true" dropdown-menu--IsBulkSelect="true" dropdown-toggle--split-button--text="10 selected"}}
```

### Split button (progress checkbox)
```hbs isBeta
{{> dropdown dropdown--id="dropdown-split-button-progress" dropdown--template--SplitButton="true"dropdown-toggle--HasCheckBox="true" dropdown-toggle-check--IsProgress="true"}}
{{> dropdown dropdown--id="dropdown-split-button-in-progress" dropdown--template--SplitButton="true"dropdown-toggle--HasCheckBox="true" dropdown-toggle-check--IsProgress="true" dropdown-toggle-check--IsInProgress="true"}}
{{> dropdown dropdown--id="dropdown-split-button-progress-text" dropdown--template--SplitButton="true" dropdown-toggle-check--CheckboxIsChecked="true" dropdown-menu--IsBulkSelect="true" dropdown-toggle--split-button--text="10 selected" dropdown-toggle-check--IsProgress="true"}}
{{> dropdown dropdown--id="dropdown-split-button-in-progress-text" dropdown--template--SplitButton="true" dropdown-toggle-check--CheckboxIsChecked="true" dropdown-menu--IsBulkSelect="true" dropdown-toggle--split-button--text="10 selected" dropdown-toggle-check--IsProgress="true" dropdown-toggle-check--IsInProgress="true"}}
```

### Split button (action)
```hbs
{{> dropdown dropdown--template--SplitButton="true" dropdown--id="dropdown-split-button-action" dropdown--IsActionButton="true" dropdown-toggle--HasActionButton="true"}}
Expand Down Expand Up @@ -202,7 +193,6 @@ The dropdown menu can contain either links or buttons, depending on the expected
| `.pf-c-dropdown__toggle-text` | `<span>` | Defines the dropdown toggle text. **Required when text is present, adds truncation**. |
| `.pf-c-dropdown__toggle-check` | `<label>` | Defines a checkbox in the toggle area of a split button dropdown. |
| `.pf-c-dropdown__toggle-button` | `<button>` | Defines the toggle button for a split button dropdown. |
| `.pf-c-dropdown__toggle-progress` | `<span>` | Defines the progress element to indicate a dropdown action is in progress. |
| `.pf-c-dropdown__menu` | `<ul>`, `<div>` | Defines the parent wrapper of the menu items. |
| `.pf-c-dropdown__menu-item` | `<a>` | Defines a menu item that navigates to another page. |
| `.pf-c-dropdown__menu-item-icon` | `<span>` | Defines the wrapper for the menu item icon. |
Expand Down Expand Up @@ -230,4 +220,3 @@ The dropdown menu can contain either links or buttons, depending on the expected
| `.pf-m-icon` | `.pf-c-dropdown__menu-item` | Modifies an item to support adding an icon. |
| `.pf-m-active` | `.pf-c-dropdown__toggle` | Modifies the dropdown menu toggle for the active state. |
| `.pf-m-description` | `.pf-c-dropdown__menu-item` | Modifies an item to support adding a description. |
| `.pf-m-in-progress` | `.pf-c-dropdown__toggle-check` | Modifies a toggle check element to indicate the check action is in progress. |
1 change: 1 addition & 0 deletions src/patternfly/components/Tabs/tabs-item-action.hbs
@@ -1,4 +1,5 @@
<span class="pf-c-tabs__item-action
{{#if tabs-item-action--IsHelp}} pf-m-help{{/if}}
{{#if tabs-item-action--modifier}} {{tabs-item-action--modifier}}{{/if}}"
{{#if tabs-item-action--attribute}}
{{{tabs-item-action--attribute}}}
Expand Down
7 changes: 7 additions & 0 deletions src/patternfly/components/Tabs/tabs.scss
Expand Up @@ -147,6 +147,9 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
--pf-c-tabs__item-action--c-button--OutlineOffset: #{pf-size-prem(-3px)};
--pf-c-tabs__item-action-icon--MarginTop: #{pf-size-prem(2px)};

// Item help
--pf-c-tabs__item-action--m-help--c-button--PaddingLeft: var(--pf-global--spacer--xs);

// Add button
--pf-c-tabs__add--before--BorderColor: var(--pf-c-tabs__link--before--border-color--base);
--pf-c-tabs__add--before--BorderLeftWidth: var(--pf-c-tabs__link--before--border-width--base);
Expand Down Expand Up @@ -704,6 +707,10 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
outline-offset: var(--pf-c-tabs__item-action--c-button--OutlineOffset);
}

&.pf-m-help {
--pf-c-tabs__item-action--c-button--PaddingLeft: var(--pf-c-tabs__item-action--m-help--c-button--PaddingLeft);
}

&:last-child {
--pf-c-tabs__item-action--c-button--PaddingRight: var(--pf-c-tabs__item-action--last-child--c-button--PaddingRight);
}
Expand Down

0 comments on commit 83c152b

Please sign in to comment.