Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clayui/button

Package Overview
Dependencies
Maintainers
15
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/button - npm Package Versions

134

3.105.1-alpha.8

Diff

matuzalemteles
published 3.100.0 •

Changelog

Source

3.100.0 (2023-07-13)

Bug Fixes

  • @clayui/core: fix error when validating focus without any element (b8196ac)
  • @clayui/css: Adds btn-beta-dark and badge-beta-dark and updates background colors (13733df)
  • @clayui/css: Remove fixed height and width to follow SVG guidelines (893396b)

Features

  • @clayui/badge: Adds display type beta-dark (2f53849)
  • @clayui/button: Adds display type beta-dark (cc6e973)
matuzalemteles
published 3.92.0 •

Changelog

Source

3.92.0 (2023-04-06)

Bug Fixes

  • @clayui/alert: move close button outside of ARIA (04306bb)
  • @clayui/core: always shows the drag and drop icon (9395174)
  • @clayui/core: prevents JS from breaking component implementation (3796b55)
  • @clayui/core: Vertical Bar open panel shouldn't disappear on resize (127b1c4)
  • @clayui/css: Buttons btn-xs adjust inline-item position (cd78784)
  • @clayui/css: Cadmin and Clay update focus outline colors for accessibility (372af84)
  • @clayui/css: Nav Tabs adds nav-tabs-light and adjust borders (68f8bec)
  • @clayui/css: Popover arrow has 1px gap in Safari (caaf7f7)
  • @clayui/empty-state: Empty alt attribute (8871eb9)
  • @clayui/empty-state: Update snapshot (dac2adb)

Features

  • @clayui/breadcrumb: changes the ellipse implementation to collapse (5bbc5fc)
  • @clayui/breadcrumb: improve breadcrumb accessibility (f3c6131)
  • @clayui/core: adds suppression of elements outside the scope of focus (f96fc60)
  • @clayui/css: Cadmin and Clay adds btn-beta and badge-beta variants (e09566a)
  • @clayui/css: Multi Step Nav adds error state (9d5846e)
  • @clayui/css: Utilities adds c-prefers-reduced-motion (89deb26)
  • @clayui/focus-trap: Add documentation for FocusTrap (3c8a1df)
  • @clayui/focus-trap: Add FocusTrap component (8ecba27)
  • @clayui/focus-trap: Add new props to focus on another element than the first (72093cd)
  • @clayui/focus-trap: Add stories for FocusTrap component (99ab581)
  • @clayui/focus-trap: Add tests for FocusTrap (af2e8f6)
  • @clayui/multi-step-nav: adds new API for error indicator (6187657)
matuzalemteles
published 3.83.0 •

Changelog

Source

3.83.0 (2022-12-20)

Bug Fixes

  • @clayui/button: improves the error message for button accessibility and the ButtonWithIcon component type (2801f97)
  • @clayui/css: Bootstrap spinners are broken (9fabd50)
  • @clayui/css: Forms button.form-control-select should be left aligned (63a140f)
  • @clayui/css: Mixins clay-dropdown-item-variant adds .hover and .focus (92221ef)
  • @clayui/css: Mixins form-control-variant and clay-select-variant should output .hover (3823eef)
  • @clayui/css: Sidebar adds focus state (89443e5)
  • @clayui/drop-down: fix menu reference error (4f70e1e)
  • @clayui/multi-select: add semantic role to pills (7f99cfb)
  • @clayui/multi-select: associate the text with the label to improve readability for the SR (e0e79da)
  • @clayui/multi-select: fix input alignment error with label and loss of label focus (824d326)
  • @clayui/pagination: Items should be links only (d3c09be)
  • @clayui/pagination: Map aria-label to the nav element (7500043)
  • @clayui/pagination: preventDefault on ClayLink when there is no href and SF (1264f24)
  • @clayui/pagination: Use @clayui/shared sub to replace placeholder text (d99aa66)
  • @clayui/shared: add utility function to check typeahead and fix bugs not properly clearing timeout when closing menu (88eaab4)

Features

  • @clayui/core: add ARIA properties to Option and Text component (2c41e18)
  • @clayui/core: add typeahead support when menu is closed (10a2681)
  • @clayui/core: adds hybrid component implementation to use native selector on mobile device (a987646)
  • @clayui/core: Adds new Picker/Custom Select component (be6dc86)
  • @clayui/core: adds shortcut jump for PageUp and PageDown (d46c286)
  • @clayui/core: when leaving the focus of the Picker selects the option with visual focus (be57258)
  • @clayui/css: add display contents utility (e92be6a)
  • @clayui/css: Cadmin Forms adds form-control-select-secondary (c66ef0f)
  • @clayui/css: Dropdown adds dropdown-menu-select variant (13680ed)
  • @clayui/css: Forms adds form-control-select-secondary (8ab290e)
  • @clayui/css: Mixins clay-dropdown-menu-variant adds ability to style more sub components (1527b71)
  • @clayui/css: Mixins clay-form-control-variant adds active state (92c1b0a)
  • @clayui/multi-select: add focus control on labels on remove (1d557b2)
  • @clayui/multi-select: adds keyboard navigation interactions to labels (7c6121f)
  • @clayui/pagination: PaginationWithBasicItems should have aria-labels by default (262d686)
  • @clayui/pagination: Wraps pagination in nav element and adds navProps attribute (d17a125)
  • @clayui/shared: add hook to identify if it's a mobile device (65af0e6)
  • @clayui/shared: adds useHover hook to normalize hover pointer interactions (fc1f6c2)
  • @clayui/shared: adds configuration for visual navigation and event scheduling (6b055ad)
  • @clayui/shared: differentiates focus and hover for accessibility focus (cf46b07)
  • @clayui/shared: implements moving the scroll in visual focus (614c812)
matuzalemteles
published 3.82.0 •

Changelog

Source

3.82.0 (2022-12-07)

Bug Fixes

  • @clayui/breadcrumb: add aria-label and title to ellipsis (7905087)
  • @clayui/button: update warning text (a1e571b)
  • @clayui/css: Cadmin normalize Sass map keys to be closer to the selector name (66dbd7a)
  • @clayui/css: Mixins clay-css adds gap and row-gap to properties (ba0447c)
  • @clayui/css: Mixins clay-modal-variant keys should be closer to the selector name (60439a6)
  • @clayui/css: Mixins clay-tbar-variant fix typo in .tbar-divider-after selector (651c34a)
  • @clayui/css: Mixins keys should be closer to the selector name (8ad67a5)
  • @clayui/css: Normalize Sass map keys to be closer to the selector name (3af7cde)
  • @clayui/css: Progress Bar variant keys should be closer to the selector name (68aea6c)
  • @clayui/date-picker: moves focus to selected cell when clicking dot button (9d0d8d1)
  • @clayui/modal: fix double click in the file select window in case outside of the modal (fd24158)
  • @clayui/pagination-bar: add aria-label and title to ellipsis (c1124ac)
  • @clayui/pagination: add aria-label and title to ellipsis (be831e5)
  • @clayui/panel: Remove fixed height after panel is shown (07aea35)
  • @clayui/shared: fix error when losing focus in DropDown (7f7a903)
  • @clayui/shared: fix navigation when focus trap (3ecb858)
  • fix bug when scrolling page when navigating via arrow keys (45092ec)

Features

  • @clayui/alert: adds possibility to remove alert attribute (222e2ee)
  • @clayui/css: Cadmin Utilities adds 5 levels of gap utilities (2ebeb50)
  • @clayui/css: Utilities adds 5 levels of gap utilities (c095efd)
  • @clayui/date-picker: implements keyboard navigation to DatePicker (c8b0a13)
  • @clayui/shared: add component to handle overlay for Clay components (a911038)
  • @clayui/shared: add hook to handle overlay positioning (d7427eb)
  • removes duplication of implementation of accessibility features for menu using Overlay component (9d60eb9)
matuzalemteles
published 3.81.0 •

Changelog

Source

3.81.0 (2022-11-30)

Bug Fixes

  • @clayui/core: fix bug not updating indexes when items move (54100be)
  • @clayui/core: fix error when moving items in tree view (ab20a44)
  • @clayui/core: only expands the item if the intent to move is inside the item (fd09e05)
  • @clayui/core: when the item is expanded it only allows moving to middle and top (7e30197)
  • @clayui/css: Cadmin replace improper clay-container with clay-css mixins (841dc91)
  • @clayui/css: Replace improper clay-container with clay-css mixins (1ddf44b)
  • @clayui/drop-down: close drilldown menu returns to initial state (756e5f5)
  • @clayui/drop-down: fix error add aria-hidden="true" in active Drilldown menu (43d488f)

Features

  • @clayui/button: add warning when button with icon has not declared aria-label attribute (cb23cd3)
  • @clayui/css: Modularize most Clay CSS components (e39673a)
  • @clayui/drop-down: adds API to set aria-label of Drilldown stuff (9ea0b9b)
  • @clayui/modal: add aria-modal attribute to dialog (e47fc57)
matuzalemteles
published 3.73.0 •

Changelog

Source

3.73.0 (2022-09-13)

Bug Fixes

  • @clayui/button: Storybook adds rounded and shape (cffacb1)
  • @clayui/css: Cadmin Buttons use transparent border for solid buttons (8357269)
  • @clayui/css: Functions clay-get-fallback() should return custom property if no fallback value (242216a)
  • @clayui/data-provider: fixes error when not activating suspense (a563a87)
  • @clayui/drop-down: fix error when not focusing on first item of DropDown (bc03292)

Features

  • @clayui/button: Adds rounded and size attributes to output pill and different size buttons (7ce56ff)
  • @clayui/css: Buttons adds a 24px tall button, btn-xs (fadeb3a)
  • @clayui/css: Cadmin Buttons adds a 24px tall button, btn-xs (06f56f6)
  • @clayui/css: SVG Icons adds Argentina, Mexico, and Columbia flags (8d5a33c)
  • clayui.com: Add aria changes and improve compatibility (1b1bab0)
  • clayui.com: Add JS key shortcut for linux and windows (25fe337)
  • clayui.com: Add key shortcut keys by platform type and hiding it in mobile (e6a5561)
matuzalemteles
published 3.65.0 •

Changelog

Source

3.65.0 (2022-07-11)

Bug Fixes

  • @clayui/alert: Simplifying (cac8e75)
  • @clayui/alert: Unset flex property for feedback variant (0450de5)
  • @clayui/alert: Use default line height for alert icon (31a2911)
  • @clayui/alert: Use flex baseline for alert icon (9d6b75a)
  • @clayui/css: (cadmin) fix indicator alignment in alert (029865a)
  • @clayui/css: Add option to generate placeholders separately in component variant maps (b638999)
  • @clayui/css: Alert Indicator SF and adjust alignment in base theme (6d7efa3)
  • @clayui/css: Cadmin add option to generate placeholders separately in component variant maps (30612d9)
  • @clayui/css: Form Validation disables validation icons (f0b2daf)
  • @clayui/css: Utilities update inline-scroller focus ring (50e3800)
  • @clayui/drop-down: Pass role as a parameter to items in dropdown (a5cfd72)
  • @clayui/tooltip: adds the possibility to hover over the tooltip (8b9b256)
  • clayui.com: fix clipboard error in examples (3ad788b)

Features

  • @clayui/core: adds new onItemMove API (3815731)
  • @clayui/css: Mixins clay-css adds option to output a Sass [@extend](https://github.com/extend) with the extend key (eb6206b)
matuzalemteles
published 3.56.0 •

Changelog

Source

3.56.0 (2022-05-09)

Bug Fixes

  • @clayui/css: _license-text.scss should update when running yarn compile (42cddec)
  • @clayui/css: Alerts deprecate $alert-*-level variables (4e04372)
  • @clayui/css: Breadcrumbs convert to Clay mixin pattern (dc309fb)
  • @clayui/css: Cadmin breadcrumbs convert to Clay mixin pattern (9c5b555)
  • @clayui/css: Functions add the parameter $fallback to clay color functions (73260e9)
  • @clayui/css: Range clay-range-input convert to use newer keys (0666c44)
  • @clayui/css: Sidebar long text with no white space should break to new line in component-title and subtitle (795684e)
  • @clayui/css: Tables deprecate $table-*-level variables (b64bdb5)
  • @clayui/tooltip: cancel scheduled tooltip before scheduling new one (62551b8)
  • updates broken storybook links in documentation (22fc1c6)

Features

  • @clayui/css: Mixins clay-range-input-variant updates (2de97c4)
  • @clayui/modal: Add a children property to IProps as a ReactNode to avoid warning error (f8f56c9), closes #4843
  • clayui.com: add deprecated prop badge to doc (0d55bdf)
matuzalemteles
published 3.40.0 •

Changelog

Source

3.40.0 (2021-11-17)

Bug Fixes

  • @clayui/css: atlas-variables.scss and base-variables.scss should be Sass partials. The CSS equivalent shouldn't be created since these files are only meant to be consumed by .scss files. (5aaa87e)
  • @clayui/css: C Kbd and Cadmin C Kbd allow passing in properties to .c-kbd-group > .c-kbd, .c-kbd-group-sm > .c-kbd, and .c-kbd-group-lg > .c-kbd from their respective Sass map variables (5a9ad67), closes #4367
  • @clayui/css: Cadmin Cards use the mixin clay-card-variant instead of deprecated mixins to generate styles for .card-type-asset, .image-card, .user-card , .card-type-directory (7a8b6f7)
  • @clayui/css: Cadmin Input Group move .btn and .form-control z-index styles to input-group-prepend and input-group-append. Input Groups input disappears when focused inside a modal with iframe. (07f17ce)
  • @clayui/css: Cards use the mixin clay-card-variant instead of deprecated mixins to generate styles for .card-type-asset, .image-card, .user-card , .card-type-directory (e244162)
  • @clayui/css: Icons make them more configurable via $lexicon-icon, $lexicon-icon-sm, $lexicon-icon-lg, $lexicon-icon-xl Sass maps (efe1b80)
  • @clayui/css: Input Group move .btn and .form-control z-index styles to input-group-prepend and input-group-append. Input Groups input disappears when focused inside a modal with iframe. (64bd8c8)
  • @clayui/css: Labels and Cadmin Labels Sass maps that are used for clay-label-variant hover and focus keys should be nested in href. The values are output for the selectors .label[href], .label[type], and .label[tabindex]. (c9e6442), closes #4383
  • @clayui/css: Mixins clay-card-variant adds option to output styles for: (c3e4149)
  • @clayui/css: Mixins clay-card-variant adds options to configure &.hover, &.focus, and &:disabled, &.disabled (16affad)
  • @clayui/css: Mixins clay-card-variant inlines the setter's that aren't providing any mapping from old keys to new keys (f0627a8)
  • @clayui/css: Mixins clay-card-variant moves the selector &.card, .card (b2f0f19)
  • @clayui/css: Mixins clay-card-variant should be able to output selectors for clay-card-type-asset-variant, but removes the default values generated in clay-card-type-asset-variant so it doesn't pollute the final CSS with unused rule-sets. (7bb6050)
  • @clayui/css: Mixins clay-card-variant should be able to output selectors for clay-card-type-asset, but removes the default values generated in clay-card-type-asset so it doesn't pollute the final CSS with unused rule-sets. (0a3bba0)
  • @clayui/css: Mixins clay-css should generate will-change property (b176c5b)
  • @clayui/css: Mixins clay-dropdown-item-variant adds option to output styles for ::before and ::after pseudo elements for default, hover, focus, active, .active, and disabled states (8369276), closes #4403
  • @clayui/css: Mixins clay-label-variant target [tabindex] instead of [tabindex="0"] so styles still apply when an element is disabled with negative tabindex (734470e)
  • @clayui/css: Mixins clay-link changes [@at-root](https://github.com/at-root) { button#{&} { :focus {} } } to &[type]:focus this causes issues for compound selectors. It will generate button.a .compound-selector instead of .a button.compound-selector. This fix targets the type attribute which should be on every button element. (5ca9e6d)
  • @clayui/css: Update map keys that are used in clay-link to use newer property names and nesting (d6a25df)
  • @clayui/drop-down: Provide a default on submit function to avoid form navigation (60a37aa)
  • @clayui/provider: removes dependency from ClayModal to avoid circular dependency issues (0b8eade)
  • @clayui/shared: fixes error when considering an element with negative tabIndex (da143f0)
  • @clayui/shared: fixes error when considering an element with negative tabIndex (9e40c0f)

Features

  • @clayui/core: add an onRenameItem callback (779f3da)
  • @clayui/core: add an onRenameItem callback (add2796)
  • @clayui/core: make it possible to enable or disable drag and drop (5367061)
  • @clayui/css: Alerts convert .alert-fluid to use clay-alert-variant mixin (15f9355)
  • @clayui/css: Cadmin Alerts convert .alert-fluid to use clay-alert-variant mixin (3f3f34e)
  • @clayui/css: Cadmin Dropdowns add Sass map $cadmin-dropdown-menu and generate styles for .dropdown-menu using clay-dropdown-menu-variant (bbc031a)
  • @clayui/css: Cadmin Dropdowns convert .dropdown-toggle, .dropdown-subheader, .dropdown-caption, .dropdown-item-text, .dropdown-section, .dropdown-divider, .dropdown-action, and dropdown-menu positional utilities to use Sass maps instead of variables (1f11eba)
  • @clayui/css: Dropdowns add $dropdown-menu Sass map and generate properties using it (a0d2382)
  • @clayui/css: Dropdowns convert .dropdown-toggle, .dropdown-subheader, .dropdown-caption, .dropdown-item-text, .dropdown-section, .dropdown-divider, .dropdown-action, and dropdown-menu positional utilities to use Sass maps instead of variables (0cb1ce7)
  • @clayui/css: Forms adds .form-fieldset and .form-legend to provide alternative fieldset and legend styles without overriding all fieldset and legend elements (3fc7449)
  • @clayui/css: Mixins clay-alert-variant adds option to pass in styles to &.alert-dismissible, &.alert-dismissible .container-fluid, .alert-indicator .lexicon-icon, and .container-fluid (807c612)
  • @clayui/css: Mixins clay-css if parameter is not type map don't do anything (b994e78)
  • @clayui/css: Mixins clay-dropdown-menu-variant add customizing &::before, &::after, and &.show (57903de)
  • @clayui/css: Mixins clay-link and clay-button-variant adds option to customize inline-item, inline-item-before, inline-item-middle and inline-item-after in default, hover, focus, active, active-class, and disabled states. (84fb0d0), closes #4413
  • @clayui/css: Reboot put fieldset and legend styles in Sass maps $fieldset and $legend (92e8254)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc