Releases: genexuslabs/chameleon-controls-library
v6.2.0
What's Changed
- Refactor the entire implementation of the
ch-action-group-render
components andch-dropdown-render
and rename thedropdown
component toaction-menu
by @ncamera in #477
Breaking changes
Important
These breaking changes are part of a minor update, because the updated components were in "experimental" state and were not exposed in the React output.
-
The
ch-dropdown-render
component has been renamed toch-action-menu-render
as it now supports more menu component-oriented features such as slot rendering. -
The
ch-action-group-render
andch-action-menu-render
components now support Shadow DOM. Because of this:- The
cssClass
property is removed in both components. To style both component you can simply set theclass
attribute. - The
exportParts
/dropdownExportParts
properties were removed in both components. It is no longer necessary to expose these properties, since both components can now be styled by using the class attribute.
- The
-
Removed the
header
andfooter
slots in thech-action-menu-render
, since it can now project any slot as an item. -
Removed the following properties in the
ch-action-menu-render
:Removed Migration itemClickCallback
This property is replaced by the events buttonClick
andhyperlinkClick
position
This property is replaced by the blockAlign
andinlineAlign
propertiesseparatorCssClass
This property is no longer necessary, since the separator can be styled with CSS parts -
Removed the following properties in the
ch-action-menu-render
items:Removed Migration class
Use the parts
property if you need to add extra customization for the itemsitemsPosition
This property is replaced by the itemsBlockAlign
anditemsInlineAlign
propertiesshowSeparator
This property is replaced by the type="separator"
, which is the new way to use separatorsseparatorClass
Use the parts
property if you need to add extra customization for the separators -
Removed the following properties in the
ch-action-group-render
:Removed Migration itemClickCallback
This property will be replaced by the events buttonClick
andhyperlinkClick
in a future PRmoreActionsDropdownPosition
This property is replaced by the moreActionsBlockAlign
andmoreActionsInlineAlign
propertiesseparatorCssClass
This property is no longer necessary, since the separator can be styled with CSS parts -
Removed the following properties in the
ch-action-group-render
items:Removed Migration actionClass
andsubActionClass
Use the parts
property if you need to add extra customization for the itemsitemsPosition
anditemsResponsiveCollapsePosition
This property is replaced by the itemsBlockAlign
anditemsInlineAlign
propertiesshowSeparator
This property is replaced by the type="separator"
, which is the new way to use separatorsseparatorClass
Use the parts
property if you need to add extra customization for the separators -
The values of the
itemsOverflowBehavior
property in thech-action-group-render
were renamed:Before Now "AddScroll"
"add-scroll"
"Multiline"
"multiline"
"ResponsiveCollapse"
"responsive-collapse"
-
The default value of the
moreActionsAccessibleName
property in thech-action-group-render
is now"Show more actions"
. Previously it was"Show options"
. -
Removed the
openOnFocus
property of thech-action-group-render
component as it is not yet implemented.
Full Changelog: v6.1.2...v6.2.0
v6.1.2
v6.1.1
v6.1.0
v6.0.2
What's Changed
Important
If you are using a version 6.0.0-next.**
, you can skip this release notes and follow the remaining releases up to version 6.0.0-next.56
. If you came from version 5.3.0
or earlier, this release is for you.
General
-
Added support for showing the development status of each control by @ncamera in #304
Meaning of development status:
-
"experimental"
: The control is in its early stages of the development. This phase is often useful for testing the control early, but it is very likely that the interface will change from the final version.Breaking changes for the control can be applied in "patch" tags.
-
"developer-preview"
: The control is in its final stages of the development. The interface and behaviors to implement the control are almost complete. The interface of the control should not change so much from the final version.Breaking changes for the control can be applied in "major" tags.
-
"stable"
: The control's development is stable and can be safety used in production environments.Breaking changes for the control can be applied in "major" tags. In some cases, two "major" tags would be used to deprecate a behavior in the control.
-
-
Improve consistency across all interfaces that implement a UI Model ("-render" controls) by @ncamera in #307
-
Add
registry-property.ts
module. A set of utilities for setting default values for the control properties. by @ncamera in #367 -
Fix integration with other StencilJS libraries not working by @ncamera in #368
-
Improve integration with React framework by @ncamera in #427
-
Fix React output integration with Vite build tool by @ncamera in #431
-
Export defined Chameleon components in the
framework-integrations.ts
file by @ncamera in #438
ch-accordion-render
-
Improvements for the
ch-accordion-render
by @ncamera in #397 -
Add support to determine the expanded size of the
ch-accordion-render
items by @ncamera in #406 -
Fix
box-sizing: border-box
not working properly by @ncamera in #463
ch-action-list-render
-
Add initial implementation for the Action List control by @ncamera in #332
-
Fixes and improvements for the Action List control by @ncamera in #354
-
Add methods and callbacks in the Action List control by @ncamera in #355
-
Add support for
updateItemProperties
method in the Action List control by @ncamera in #379 -
Improve the customization of the
ch-action-list-render
and add support to export parts for additional items by @ncamera in #401 -
Fix selection not working in the
ch-action-list-render
when settingselection = "single"
by default by @ncamera in
#403 -
Add support to modify the caption and add support for
disabled
property by @ncamera in #413 -
Fix selection not working properly after updating the
model
reference by @ncamera in #440 -
Fix
getImagePathCallback
prop in action-list not working as expected based on type definition by @ncamera in #447
ch-chat
-
Add a new chat component with infinite scroll, virtual scroll and markdown support. Deprecate the ch-markdown control and refactor the ch-code control by @ncamera in #380
-
Fixes and improvements for the
ch-chat
implementation by @ncamera in #411 -
Fix race condition when adding a new message by @ncamera in #412
-
Remove unused "accessibleName.chat" translation by @ncamera in #448
-
Improve
ch-chat
's default values and fixitems
property not being reactive by @ncamera in #452 -
Fix
ch-chat
's textarea losing the styles after keypress by @ncamera in #454 -
Add support to render a slot for additional content by @ncamera in #467
-
Fix the condition for rendering the
"additional-content"
slot by @ncamera in #468
ch-checkbox
-
Improve accessibility in the
ch-checkbox
control and improve control customization by @ncamera in #293 -
Improve support with web forms in
ch-checkbox
and upgrade its status to Developer Preview by @ncamera in #327 -
Don't trigger
itemClick
orselectedItemsChange
events if the item is being edited by @ncamera in #429 -
Add support to display an image, improve accessibility and reduce memory consumption by @ncamera in #430
ch-code
-
Add a new chat component with infinite scroll, virtual scroll and markdown support. Deprecate the ch-markdown control and refactor the ch-code control by @ncamera in #380
-
Add scrollbar support in the
ch-code
and improve resets in thech-markdown-viewer
by @ncamera in #394 -
Add support to style the ch-code's scrollbar by @ncamera in #399
ch-code-diff-editor
ch-code-editor
ch-combo-box-render
-
Fixes and improvements for combo-box control by @ncamera in #297
-
Add support for filters on the server in
ch-combo-box
control and improve its responsiveness by @ncamera in #302 -
Fix for disabled not working properly in
ch-combo-box
and add support fordestroyItemsOnClose
property by @ncamera in #306 -
In the
ch-combo-box
, use as themin-inline-size
the size of the largest value and improve responsiveness by @ncamera in #319 -
Add support for strict filters and solve the vast majority of keyboard issues by @ncamera in #330
-
Fix combo-box not working without
border-width
and add support forpopoverInlineAlign
property by @ncamera in #341 -
Fixes for the ch-combo-box control on mobile devices by @ncamera in #373
-
Rename the
ch-combo-box
control toch-combo-box-render
by @ncamera in #374 -
Add more e2e test and fix accessibility issue in the ch-combo-box-render component by @ncamera in #386
-
Don't d...
v6.0.0-next.56
What's Changed
-
[ch-chat]
Add support to render a slot for additional content by @ncamera in #467 -
[ch-chat]
Fix the condition for rendering the"additional-content"
slot by @ncamera in #468
Breaking Changes
[ch-dialog][ch-popover]
Rename property namehidden
toshow
by @bsastregx in #469. Reason: The presence of thehidden
property was causing issues on React, since "hidden" was being evaluated to true, regardless of the property value.
Full Changelog: v6.0.0-next.55...v6.0.0-next.56
v6.0.0-next.55
What's Changed
-
[ch-accordion-render][ch-navigation-list-render]
Fixbox-sizing: border-box
not working properly by @ncamera in #463 -
[ch-combo-box-render]
Fix the display ofcursor: pointer
throughout the popover by @ncamera in #464 -
[ch-tooltip]
If the mouse leaves the tooltip, only keep it visible if the focus is "focus-visible". Also improve rendering performance. by @ncamera in #465 -
Fix
Circular definition of import alias "ThemeModel"
error by @ncamera in #466
Full Changelog: v6.0.0-next.54...v6.0.0-next.55
v6.0.0-next.54
What's Changed
-
[ch-tab-render][ch-flexible-layout-render]
Remove thedirection
property in favor of thetabListPosition
property and improve customization by @ncamera in #460 -
[ch-tab-render][ch-flexible-layout-render]
Add support for setting thecloseButton
on each tab button by @ncamera in #461 -
[ch-tab-render][ch-flexible-layout-render]
Add support foraccessibleName
property on items by @ncamera in #462
Breaking changes
-
[ch-tab-render]
Removed thedirection
property in favor of thetabListPosition
property. Migrating fromdirection
totabListPosition
:direction
="block"
--->tabListPosition
="block-start"
direction
="inline"
--->tabListPosition
="inline-start"
-
[ch-tab-render]
The following parts were renamed:button
--->tab
page
--->panel
page-container
--->panel-container
-
[ch-tab-render]
Removed thedrag-preview
anddrag-preview-element
parts in favor of thetab dragging
part. -
[ch-tab-render]
Removed thedrag-preview--outside-tab-list
part in favor of thedragging-out-of-tab-list
part. -
[ch-tab-render]
Removed thedrag-preview--inside-tab-list__block
part in favor of thedragging-over-tab-list block
part. -
[ch-tab-render]
Removed thedrag-preview--inside-tab-list__inline
part in favor of thedragging-over-tab-list inline
part. -
[ch-tab-render]
Removedblock-size: 100%
CSS property from the ch-tab-render, since it can break margin styling. Usedisplay: grid
in the ch-tab-render container or a different solution to stretch the ch-tab-render to the parent container size. -
[ch-flexible-layout-render]
Same breaking changes as before apply toch-flexible-layout-render
. -
[ch-tab-render][ch-flexible-layout-render]
Because theaccessibleName
property is added on the items, thename
property is now marked as optional.
Full Changelog: v6.0.0-next.53...v6.0.0-next.54
v6.0.0-next.53
What's Changed
-
[ch-theme]
Support to inline StyleSheets,attachStyleSheets
property reactivity and some fixes by @ncamera in #458 -
[ch-flexible-layout-render]
Add support to render widgets using slots by @ncamera in #459
Breaking changes:
-
[ch-flexible-layout-render]
Added support for Shadow DOM in thech-flexible-layout-render
. Content rendered inside the flexible-layout will no longer be customizable via traditional CSS. -
[ch-flexible-layout-render]
RemovedcssClass
property as it is no longer supported with Shadow DOM.
Full Changelog: v6.0.0-next.52...v6.0.0-next.53
v6.0.0-next.52
What's Changed
-
[ch-tree-view-render]
Properly ident first level leafs when the expand button is visible by @ncamera in #455 -
[ch-markdown-viewer]
Add scroll inch-markdown-viewer
's table when the content overflows by @ncamera in #456
Full Changelog: v6.0.0-next.51...v6.0.0-next.52