Releases: trendmicro-frontend/tonic-ui
Releases · trendmicro-frontend/tonic-ui
@tonic-ui/[email protected]
@tonic-ui/[email protected]
2.6.1
Patch Changes
- feat(styled-system): introduce
_has
,_is
, and_not
style props to support functional pseudo-class selectors by @cheton in #972 - Updated dependencies [
008d823
]- @tonic-ui/[email protected]
🚀 Examples
-
:has(<relative-selector-list>)
https://trendmicro-frontend.github.io/tonic-ui/react/v2/styled-system/pseudo-style-props/#hasrelative-selector-list)_has={{ '+ li': { color: 'red:50', }, }}
-
:is(<forgiving-selector-list>)
https://trendmicro-frontend.github.io/tonic-ui/react/v2/styled-system/pseudo-style-props/#isforgiving-selector-list_is={{ ':first-of-type, :last-of-type': { color: 'red:50', }, }}
-
:not(<complex-selector-list>)
https://trendmicro-frontend.github.io/tonic-ui/react/v2/styled-system/pseudo-style-props/#notcomplex-selector-list_not={{ ':first-of-type, :last-of-type': { color: 'red:50', }, }}
⚠️ Deprecation Notice
- The properties
_focusHover
and_focusActive
are deprecated and will be removed in the next major release. Instead, use_focus
with nested selectors (PR #972):_focus={{ '&:hover': { // Styles for `&:focus:hover` }, '&:active': { // Styles for `&:focus:active` }, }}
@tonic-ui/[email protected]
@tonic-ui/[email protected]
@tonic-ui/[email protected]
@tonic-ui/[email protected]
2.5.1
Patch Changes
- feat(react): add exports for
DefaultPropsProvider
anduseDefaultProps
by @cheton in #950 - feat(react/Popper): use the
useDefaultProps
hook for managing default props by @cheton in #950 - fix(react/theme): fixed a logical error in the
CSSVariables
component by correcting the condition to check for emptycssVariables
by @cheton in #953
@tonic-ui/[email protected]
2.5.0
Minor Changes
Patch Changes
- chore: update package description by @cheton in
16744b9
- Updated dependencies [
16744b9
]- @tonic-ui/[email protected]
- @tonic-ui/[email protected]
- @tonic-ui/[email protected]
- @tonic-ui/[email protected]
- @tonic-ui/[email protected]
- @tonic-ui/[email protected]
@tonic-ui/[email protected]
What's Changed
Full Changelog: https://github.com/trendmicro-frontend/tonic-ui/compare/@tonic-ui/[email protected]...@tonic-ui/[email protected]
@tonic-ui/[email protected]
@tonic-ui/[email protected]
2.3.0
Minor Changes
- feat: improve
disabled
prop handling inButton
andButtonGroup
by @cheton in #930 - feat(
react/checkbox
,react/radio
): useuseEffectOnceWhen
hook to display warning message in non-production environments by @cheton in #937 - fix: resolve bug with
isNameConflictRef.current
inCheckbox
andRadio
components by @cheton in #935 - feat(
react/scrollbar
): addscrollViewProps
to enable passing custom props to theScrollView
component by @cheton in #939