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

@clayui/shared

Package Overview
Dependencies
Maintainers
15
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/shared - npm Package Versions

1
10

3.65.0

Diff

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.58.0 •

Changelog

Source

3.58.0 (2022-05-23)

Bug Fixes

  • @clayui/core: revalidate the state of intermediate for recursive multiple selection when the state is controlled (172f849)
  • @clayui/css: Cadmin tables should use clay mixin pattern (619bd1c)
  • @clayui/css: Cadmin tables use newer keys in maps (ab387d3)
  • @clayui/css: Cadmin Treeview btn should be 24px tall and adds show-quick-actions-on-hover (e31e0b6)
  • @clayui/css: Tables group table maps better and fix double border on table-list (833bcb4)
  • @clayui/css: Tables should use clay mixin pattern (28281e3)
  • @clayui/css: Treeview btn should be 24px tall and adds show-quick-actions-on-hover (65b41b6)
  • @clayui/css: Treeview and Cadmin Treeview vertically center items in treeview-link (2cc9aa2)
  • @clayui/css: Treeview removes component-action show on hover in favor of show-quick-actions-on-hover (ed87780)

Features

  • @clayui/core: adds new onSelect API to TreeView (aca1322)
  • @clayui/core: adds OOTB support for Text component in TreeView.Item/ItemStack (cf32759)
  • @clayui/core: calls onKeyDown on Item and ItemStack if defined (e5dfbf1)
  • @clayui/css: Adds icons folder-lock and folder-lock-line (d010847)
  • @clayui/css: Mixins add clay-table-variant (653f985)
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.55.0 •

Changelog

Source

3.55.0 (2022-05-02)

Bug Fixes

  • @clayui/core: the Heading tag follows the level definition (956bc0b)
  • @clayui/css: Adds unit values to border-radius and border-width 0 values (c39cb2e)
  • @clayui/css: Atlas .btn.active:focus should have outline (0162df4)
  • @clayui/css: Atlas remove extra $code-color variable (5b4d621)
  • @clayui/css: Mixins clay-button-variant should be able to style .active:focus (9862e79)
  • @clayui/css: Replace $spacer * 0.5 with fixed values, it plays better with calc() (121abde)
  • @clayui/css: Source format the way we write multiple box-shadows (61f8f02)
  • @clayui/css: Tables use calc() to make fatter border widths in thead and tbody (e9cc407)
  • clayui/chore: Update index.ts to export both components (a823b41)
  • clayui/chore: Update stories in Heading and Text (c870a2c)
  • clayui/core: Change export type to inline one (01e0e35)
  • clayui/core: SF (5065c80)
  • clayui/core: SF (1602a02)
  • clayui/core: Some code refactor. Pending some changes (d1eed16)

Features

  • @clayui/color-picker: standardize the controlled and uncontrolled component behavior to value prop (7a435c5)
  • @clayui/core: Adding Text component and Heading test cases (c3a542c)
  • @clayui/core: Adding Text test cases (0598b77)
  • @clayui/date-picker: standardize the controlled and uncontrolled component behavior to value prop (4183972)
  • @clayui/drop-down: standardize the controlled and uncontrolled component behavior to active prop (49afcdb)
  • @clayui/form: standardize the controlled and uncontrolled ClayRadioGroup component behavior to value prop (478c5ae)
  • @clayui/management-toolbar: Deprecate ClayManagementToolbar (744b46e)
  • @clayui/modal: add the state of open and close in useModal hook to be controlled (c62ac62)
  • @clayui/modal: change ModalProvider actions to be readable (671b011)
  • @clayui/multi-select: standardize the controlled and uncontrolled MultiSelect component behavior to value and items prop (a6bc5cd)
  • @clayui/multi-step-nav: adds controlled component standardization and deprecates properties with inconsistent naming (da60dad)
  • @clayui/pagination-bar: standardizes properties for the controlled and uncontrolled component (bd25cf6)
  • @clayui/pagination: standardizes properties for the controlled and uncontrolled component (16ef746)
  • @clayui/popover: standardizes properties for the controlled and uncontrolled component (e27a654)
  • @clayui/slider: standardizes properties for the controlled and uncontrolled component (6c1cae3)
  • @clayui/time-picker: standardizes properties for the controlled and uncontrolled component (882ab9d)
  • Adding font-style monospace property (43f16e2)
  • clayui/core: Adding Heading and Text documentation (0292834)
  • clayui/core: Delete React.FC. Adding tests related to truncate, color and default props (d81e5db)
  • clayui/core: New Text API to determine the test tag. Coding refactor and update interface to type props (05589b9)
matuzalemteles
published 3.52.0 •

Changelog

Source

3.52.0 (2022-04-04)

Bug Fixes

  • @clayui/clay-tabs: Insert displayType for nav-tabs and nav-underline classes (10ddb29)
  • @clayui/drop-down: fix contextual menu error not rendering icons without spaces (a115add)
  • @clayui/navigation-bar: add truncate text OOTB to ClayNavigationBar.Item (b8a53a2)
  • @clayui/navigator-bar: Long text in Item is truncated (587171d)
  • @clayui/shared: fix error when controlling focus in React 17.x (76f5f0d)

Features

  • @clay/empty-state: Enable users to not render title related markup on empty-state (608378b)
  • @clayui/clay-tabs: Adding additional new tests (d74322c)
  • @clayui/clay-tabs: Remain modern prop and overrides displayType. Update in BREAKING.md (cb9eb31)
  • @clayui/color-picker: Add more test cases in color-picker (89e5ef6)
  • @clayui/color-picker: Adding more test cases and change snapshots by expect functions (6ef292c)
  • @clayui/color-picker: Update snapshots (e71da9d)
  • @clayui/color-picker: Updates in test case title and not expecting splotch clicked (6b5ff9f)
  • @clayui/modal: When using ClayModalProvider, footer,header properties now are optional (4bcbac2)
  • @clayui/navigation-bar: add the nav-link class by default for Clay components (c6cff02)
jcastelain
published 3.49.0 •

Changelog

Source

3.49.0 (2022-03-15)

Bug Fixes

  • @clayui/color-picker: Changes to improve inconsistent behavior in some scenarios (85adf72)
  • @clayui/color-picker: Current colour persist and Hue component synchronization (07c2552)
  • @clayui/color-picker: fixes error of adding repeated colors in custom (e3fb905)
  • @clayui/color-picker: fixes error when clicking on a white custom splotch does not update editor and input (b5e0189)
  • @clayui/color-picker: Hue behaviour solved and workflow changes (46821d7)
  • @clayui/color-picker: Removing costumize hook (20fd191)
  • @clayui/core: fix error when not rendering component after string with TreeView.Item (1d275a8)
  • @clayui/css: Forms .form-control-tag-group .label (Multiselect) remove references to deprecated keys (39b360f), closes #4712

Features

  • @clayui/core: adds new properties to set the initial value of properties that can be controlled (bdfb6b0)
  • @clayui/drop-down: add new prop to align Menu in viewport (1c4f19b)
  • @clayui/drop-down: make it possible to render the menu lazily (1e4e565)
jcastelain
published 3.47.0 •

Changelog

Source

3.47.0 (2022-02-23)

Bug Fixes

  • @clayui/core: avoid scrolling when selecting a node (e1c7091), closes #4663
  • @clayui/core: fix error when not updating parent's loc (3ace427)
  • @clayui/core: fix error when showing expander when nestedKey does not exist in the item (cd4a4d2)
  • @clayui/core: fixes error when having condition in the children of TreeView.Item and TreeView.ItemStack the last element is positioned to the right (0e121d3)
  • @clayui/core: fixes the error of not revalidating the intermediate state of the selected item's parents in the first render and expands the items (379ca72)
  • @clayui/css: Cadmin Treeview adds disabled styles to treeview-link (d9a3dc3)
  • @clayui/css: fix formatting (07f3b6b)
  • @clayui/css: Treeview adds disabled styles to treeview-link (ca11c9a)
  • @clayui/empty-state: Update classNames from two objects into one (f090ab4)
  • @clayui/empty-state: Update SCSS variables of small empty-state (8f64846)
  • @clayui/localized-input: fix typo (7c2957f)
  • clayui.com: nav-toc is too wide, overlays examples (b4bd694)
  • clayui.com: nav-toc-absolute is too wide, overlays examples (817f63c)
  • make format:changed check for scss files (6588e27)

Features

  • @clayui/core: add API to disable item and expander disable optionally (4cc104d)
  • @clayui/css: Cadmin Cards convert base classes to Clay mixin pattern (00a8de7)
  • @clayui/css: Cadmin update clay-text-typography maps to use the href key (13240cf)
  • @clayui/css: Cards convert base classes to Clay mixin pattern (6f65e74)
  • @clayui/css: Mixin Links clay-text-typography use href for styling links (1a428df)
  • @clayui/css: Mixins adds more options to clay-card-variant and clay-card-section-variant (545830d)
  • @clayui/css: Update clay-text-typography maps to use the href key (9c99628)
  • @clayui/date-picker: adds a new yearsCheck prop to be able to disable the check if the year is within the years range (c8b26e9)
  • clayui/empty-state: Include Small property in empty state component (a073233)
matuzalemteles
published 3.45.0 •

Changelog

Source

3.45.0 (2022-02-01)

Bug Fixes

  • @clayui/core: add a default value to nestedKey (075221d), closes #4584
  • @clayui/core: Change .treeview-item.disabled to .treeview-item-dragging (b87b6b8)
  • @clayui/core: hide expander icon on nodes that don't have chidren (d705fc6), closes #4581
  • @clayui/css: Cadmin Links removes unnecessary setter() from .component-icon (130e708)
  • @clayui/css: Cadmin reset nav-link pseudo elements (7038224)
  • @clayui/css: Cadmin reset Custom Checkbox and Radio pseudo elements (dbbbb02)
  • @clayui/css: Cadmin Treeview removes setter(), no longer necessary (1d4d4a9)
  • @clayui/css: Cadmin Treeview use box-shadow instead of border to indicate drop zone (58ca599)
  • @clayui/css: Forms label inside form-control should use min-height (108d442)
  • @clayui/css: Forms use mixin clay-label-variant instead of deprecated clay-label-size (a0c15fc)
  • @clayui/css: Treeview renames the key link to treeview-link (8378346)
  • @clayui/css: Treeview replaces .treeview-item.disabled with .treeview-item-dragging (a9f88d0)
  • @clayui/css: Treeview use box-shadow instead of border to indicate drop zone (fb93ca7)
  • @clayui/date-picker: fix time picker default value (770639f)
  • @clayui/date-picker: fixes error when not formatting time in 12hours when passing to time picker (2090eb4)
  • @clayui/shared: fix focus control collision when having FocusScope nested (58bd27f)

Features

  • @clayui/core: allow passing extra css classes to expander button (91d40a2), closes #4589
  • @clayui/css: Adds treeview component (776f4bb)
  • @clayui/css: Links adds component-text and component-icon (5188985)
  • @clayui/popover: close the popover when the ESC key is pressed (c49cf89), closes #4567
  • add plain/common API for button links (7148450)
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)
matuzalemteles
published 3.39.0 •

Changelog

Source

3.39.0 (2021-10-29)

Bug Fixes

  • @clayui/css: Adds division polyfill clay-div a function that uses / as a division operation if the function div() does not exist (87aec12)
  • @clayui/css: Cadmin Dropdowns updates $dropdown-item-base keys to newer nested keys pattern and remove duplicate $dropdown-item-base (6fc1833)
  • @clayui/css: Convert forward slash as division / 2 to * 0.5 as work around for dart-sass deprecation message (aa74003)
  • @clayui/css: Convert forward slash as division / to multiplication as work around for dart-sass deprecation message (f9948ec)
  • @clayui/css: Dropdown and Cadmin Dropdown removes dropdown-menu::after padding hack for Firefox. This is no longer an issue. (54a0b08)
  • @clayui/css: Dropdowns updates $dropdown-item-base keys to newer nested keys pattern (502ea21)
  • @clayui/css: Mixins clay-dropdown-item-variant update to accept newer nested keys pattern and deprecate keys: (bcc0e89)
  • @clayui/css: Mixins clay-dropdown-menu-variant removes dropdown-menu::after padding hack for Firefox (a7e2c18)
  • @clayui/css: Use calc() for calculating widths and sizes instead of Sass division / and don't use Sass percentage function (1b2e127)
  • @clayui/css: use correct icon names for flags in spritesheet (4127aec)
  • fixes error when starting yarn develop command of the clayui.com (fa0d8c0)

Features

  • @clayui/css: Add heading, maps, order-ascending and order-descending SVG icons and update geolocation SVG icon (319f37f)
  • @clayui/css: Cadmin Custom Forms custom-control, custom-checkbox, and custom-radio convert to using Sass map pattern (c8826b2)
  • @clayui/css: Cadmin Labels convert to using new Sass map pattern (50a1708)
  • @clayui/css: Cadmin Stickers adds $cadmin-sticker-sizes Sass map to generate sticker sizes and use Sass placeholders for sticker sizes for easier extends (2630c54)
  • @clayui/css: Custom Forms custom-control, custom-checkbox, and custom-radio convert to using Sass map pattern (d60970d)
  • @clayui/css: Labels convert to using new Sass map pattern (1de502f)
  • @clayui/css: Mixins clay-sticker-variant expand mixin to include most use cases in Clay and make it compatible with deprecated clay-sticker-size mixin (3e703ed)
  • @clayui/css: Mixins Custom Forms adds clay-custom-control-input-variant and clay-custom-control-variant mixins (3060c0b)
  • @clayui/css: Mixins update clay-label-variant to provide selectors that are generated by clay-label-size (deprecated) and conver to using new Sass map key pattern while still supporting older key names (c0c9a1c)
  • @clayui/css: Stickers adds $sticker-sizes Sass map to generate sticker sizes and use Sass placeholders for sticker sizes for easier extends (2da3013)
  • @clayui/css: Stickers convert sticker components to use clay-sticker-variant and clay-css mixins for more customizability (f8adb74)
  • @clayui/form: add the new sizing API to Select component (2c7848d)
  • clayui.com: add heading, maps, order-ascending, order-descending and geolocation SVG icons (a34f3be)
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