Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@workday/canvas-kit-css-action-bar
Advanced tools
Readme
Full width action bar that can be fixed to the bottom of the screen.
yarn add @workday/canvas-kit-css
or
yarn add @workday/canvas-kit-css-action-bar
Add your node_modules
directory to your SASS includePaths
. You will then be able to import
index.scss
.
@import '~@workday/canvas-kit-css-action-bar/index.scss';
The Action Bar consists of two components, wdc-action-bar
and wdc-action-bar-container
. All
button sets should be wrapped around wdc-action-bar-container
.
The primary action button should be left aligned followed by secondary buttons. The primary button is on the right only in task orchestration.
<div class="wdc-action-bar" role="region" aria-label="Action Bar">
<div class="wdc-action-bar-container">
<button class="wdc-btn wdc-btn-primary">Button</button>
<button class="wdc-btn">Button</button>
<button class="wdc-btn">Button</button>
</div>
</div>
.wdc-action-bar.wdc-action-bar-fixed
Fixes the toolbar to the bottom of the window (uses
position: fixed
)
<div class="wdc-action-bar wdc-action-bar-fixed" role="region" aria-label="Action Bar">
<div class="wdc-action-bar-container">
<button class="wdc-btn wdc-btn-primary">Button</button>
</div>
</div>
At 575px, responsive styles will take effect:
flex: 1
).When on a mobile form factor, the button placement should flip to have the primary button on the far right.
<div class="wdc-action-bar-container">
<button class="wdc-btn wdc-btn-primary">Next</button>
<button class="wdc-btn">Back</button>
</div>
In some cases, you may want some buttons to retain their natural width at smaller screen sizes. For instance, the related actions button.
<div class="wdc-action-bar" role="region" aria-label="Action Bar">
<div class="wdc-action-bar-container">
<button class="wdc-btn wdc-btn-primary">Done</button>
<button class="wdc-btn wdc-action-bar-container-item-natural">
<svg ...>
</button>
</div>
</div>
FAQs
Action bar CSS for canvas-kit-css
The npm package @workday/canvas-kit-css-action-bar receives a total of 198 weekly downloads. As such, @workday/canvas-kit-css-action-bar popularity was classified as not popular.
We found that @workday/canvas-kit-css-action-bar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.