FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(dropdown): disabled button only applies disabled attribute by jessiehuff · Pull Request #2989 · patternfly/patternfly-react · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .snap  (3) .tsx  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
        • Toggle.tsx
      • Table.test.tsx.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ export class Toggle extends React.Component<ToggleProps> {
isHovered && styles.modifiers.hover,
isActive && styles.modifiers.active,
isPlain && styles.modifiers.plain,
isDisabled && styles.modifiers.disabled,
isPrimary && styles.modifiers.primary,
className
)}
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ exports[`optionsMenu isDisabled 1`] = `
aria-expanded="false"
aria-haspopup="listbox"
aria-label="Options menu"
class="pf-c-options-menu__toggle pf-m-disabled"
class="pf-c-options-menu__toggle"
disabled=""
id="disabled-toggle"
type="button"
Expand Down Expand Up @@ -1661,7 +1661,7 @@ exports[`optionsMenu isDisabled 1`] = `
aria-expanded="false"
aria-haspopup="listbox"
aria-label="Options menu"
class="pf-c-options-menu__toggle pf-m-disabled"
class="pf-c-options-menu__toggle"
disabled=""
id="disabled-toggle"
type="button"
Expand Down Expand Up @@ -1715,7 +1715,7 @@ exports[`optionsMenu isDisabled 1`] = `
aria-expanded="false"
aria-haspopup="listbox"
aria-label="Options menu"
class="pf-c-options-menu__toggle pf-m-disabled"
class="pf-c-options-menu__toggle"
disabled=""
id="disabled-toggle"
type="button"
Expand Down Expand Up @@ -1747,7 +1747,7 @@ exports[`optionsMenu isDisabled 1`] = `
aria-expanded={false}
aria-haspopup="listbox"
aria-label="Options menu"
className="pf-c-options-menu__toggle pf-m-disabled"
className="pf-c-options-menu__toggle"
disabled={true}
id="disabled-toggle"
onClick={[Function]}
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -5375,7 +5375,7 @@ exports[`component render no items 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -5446,7 +5446,7 @@ exports[`component render no items 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -5517,7 +5517,7 @@ exports[`component render no items 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -5566,7 +5566,7 @@ exports[`component render no items 1`] = `
<button
aria-expanded={false}
aria-label="Select"
className="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
className="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled={true}
id="pagination-options-menu-toggle"
onClick={[Function]}
Expand Down Expand Up @@ -7247,7 +7247,7 @@ exports[`component render should render correctly disabled 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -7318,7 +7318,7 @@ exports[`component render should render correctly disabled 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -7389,7 +7389,7 @@ exports[`component render should render correctly disabled 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -7438,7 +7438,7 @@ exports[`component render should render correctly disabled 1`] = `
<button
aria-expanded={false}
aria-label="Select"
className="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
className="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled={true}
id="pagination-options-menu-toggle"
onClick={[Function]}
Expand Down Expand Up @@ -11005,7 +11005,7 @@ exports[`component render zero results 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -11076,7 +11076,7 @@ exports[`component render zero results 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -11147,7 +11147,7 @@ exports[`component render zero results 1`] = `
<button
aria-expanded="false"
aria-label="Select"
class="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
class="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled=""
id="pagination-options-menu-toggle"
type="button"
Expand Down Expand Up @@ -11196,7 +11196,7 @@ exports[`component render zero results 1`] = `
<button
aria-expanded={false}
aria-label="Select"
className="pf-c-dropdown__toggle pf-m-disabled pf-c-options-menu__toggle-button"
className="pf-c-dropdown__toggle pf-c-options-menu__toggle-button"
disabled={true}
id="pagination-options-menu-toggle"
onClick={[Function]}
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -67053,7 +67053,7 @@ exports[`Simple Actions table 1`] = `
aria-expanded="false"
aria-haspopup="true"
aria-label="Actions"
class="pf-c-dropdown__toggle pf-m-plain pf-m-disabled"
class="pf-c-dropdown__toggle pf-m-plain"
disabled=""
id="pf-toggle-id-9"
type="button"
Expand Down Expand Up @@ -67101,7 +67101,7 @@ exports[`Simple Actions table 1`] = `
aria-expanded="false"
aria-haspopup="true"
aria-label="Actions"
class="pf-c-dropdown__toggle pf-m-plain pf-m-disabled"
class="pf-c-dropdown__toggle pf-m-plain"
disabled=""
id="pf-toggle-id-9"
type="button"
Expand Down Expand Up @@ -67129,7 +67129,7 @@ exports[`Simple Actions table 1`] = `
aria-expanded={false}
aria-haspopup={true}
aria-label="Actions"
className="pf-c-dropdown__toggle pf-m-plain pf-m-disabled"
className="pf-c-dropdown__toggle pf-m-plain"
disabled={true}
id="pf-toggle-id-9"
onClick={[Function]}
Expand Down

Back | FazBrowse Home | New Git URL