Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
0.6.1 (2023-02-05)
Bug Fixes
- FormGroup: fields properly inherit flags (8cf8d11)
0.6.0 (2023-01-25)
Bug Fixes
- CFormGroup: properly handle switch between flag origins (bc10010)
- components: properly type transition prop (2e15ca6)
- CSelect: allow to disable it afterwards (ba9fd6d)
- CSelect: stay synchronized with v-model (c541b2f)
- focus first menu item also when opening with click (7537630)
- useKeyboardListNavigation: ensure search query is case insensitive (adc488d)
Code Refactoring
- components: Tabs now use interactiveList compsable under the hood (46812e7)
Features
- components: create CMenu component (982b33f)
- components: transform variant prop value into an object for config class, close #258 (ec72ad3)
- directives: clickOutside allows to ignore elements (82c2e85)
- provide a defineConfig function and better type components config class context (0fb145a)
BREAKING CHANGES
- components: The
variant
prop value of all components is now normalized into an object of type { [variant]: boolean }
before being given to the component config class
method. See « Styling components » guide for updated usage.
- components: CTabs now require a
v-model
or the default-tab
prop to be set.
0.5.1 (2022-10-08)
Bug Fixes
- Dialog: add aria-modal attribute for wider compatibility (9e02396)
- FormGroup: reexport injection key (928d0de)
0.5.0 (2022-03-13)
Features
- components: CFormGroup, closes #116 (cf10148)
- expose required/disabled/readonly props in form fields config class, closes #166 (0f353a0)
0.4.0 (2022-03-02)
Bug Fixes
- CTabs: accept 0 as a valid target/id value (cebd0dd), closes #115
- ssr: ensure UID consistency between server and client (40c07d7), closes #160
- ssr: prevent hydration mismatches (636fbbe)
chore
Features
- CBtn: use NuxtLink in Nuxt apps (4299f0d), closes #134
- CCollapseBtn: remove inheritBtnClass config option, closes #155 (bf84274)
- components: CCheckbox (20c6bc3)
- components: CLabel (9568972)
- components: CRadio (495f8c7)
- components: CTextarea (1377a48)
- components: CTextField (2c7e604)
- components: introduce select/listbox component (dcda232)
BREAKING CHANGES
- CCollapseBtn: CCollapseBtn doesn’t inherit CBtn
class
config anymore.
- deps: CommonJS and UMD builds are now targeting ES2015 (ES6), it was previously ES5.
0.3.0 (2021-03-16)
Note: Version bump only for package root
0.2.0 (2021-01-20)
Features
- components: responsive images with CPicture (7a37dcb), closes #12
0.2.0-beta.3 (2020-12-02)
Features
- build: split ES bundle to leverage treeshaking (9d22cba), closes #30
0.2.0-beta.2 (2020-11-29)
Note: Version bump only for package root
Bug Fixes
- bring back dedicated export per component (1e7fbdf)
Bug Fixes
- Tabs: properly apply classes based on
bare
prop (b34adef)
Features
- core: allow to dynamically style all components globally (56964f5)
- Directives: introduce clickOutside directive (bd59230)
- move to Vue 3 (0793f36)
- remove CFlex component (8a710f8)
- Preset: drop Tailwind preset (bcdf7da)
BREAKING CHANGES
- Chūshō now works only with Vue 3.
- This component was causing too many issues with PurgeCSS due to its dynamic classes. Most of it can now be easily achieved with Tailwind’s « space » helpers and CSS « gap » property.
- Preset: Tailwind preset was removed and shouldn’t be used anymore. Have a look at Tailwind’s « flex » and « space » helpers instead.
- Do not register components automatically (e3e209f)
BREAKING CHANGES
Features
Bug Fixes
- #42: update composition-api peer-dependency and replace createElement by h (#43) (1027aea), closes #42
- #44: Fix duplicate dialogs issue when re-rendered (#45) (d1b4114)
- ToggleBtn: avoid CBtn props from appearing in the DOM (0cf70c1)
Bug Fixes
- Dialog: keep portal-vue separated from bundle (ee317c0)
- Dialog: prevent hydration issues after SSR (a674f24), closes #31
- Preset Tailwind: properly load chusho & build (a8aa5fc)
Bug Fixes
- CToggle: ensure transition can be disabled at component-level (ac4cdaf)
Bug Fixes
- Tabs: properly export components (c7e04ff)