Releases: Esri/calcite-design-system
Releases · Esri/calcite-design-system
v1.0.0-beta.33
Breaking Changes
calcite-alert-openandclosemethods have been removed. You can use theactiveprop to open or add an alert to the queue.calcite-alert-currentAlertprop has been removedcalcite-alert-alertQueueprop has been removed (queueis emitted as a detail of thecalciteAlertOpenandcalciteAlertCloseevents)calcite-alert-alertQueueLengthprop has been removed
Fixes
calcite-modal- turn off pointer events on hidden modals to prevent interaction (#549)
Added
calcite-modal- addbackground-colorproperty for light grey backgrounds (#527)calcite-alert-intlCloseprop has been added to optionally provide a translated override of the English "close" text
v1.0.0-beta.32
calcite-stepper-calciteStepperItemHasChangedevent has been renamed tocalciteStepperItemChangecalcite-stepper-item-calciteStepperItemSelectedevent has been renamed tocalciteStepperItemSelectcalcite-stepper-item-registerCalciteStepperItemevent has been renamed tocalciteStepperItemRegister
Breaking Changes
calcite-modal-close-labelprop is now renamed tointl-closefor consistency (#466)calcite-modal-openandclosemethods removed in favor ofactiveprop (#466)calcite-modal-size => width, which can be passed standard (s/m/l) or custom width in px (#239)calcite-modal-fullscreenmade it's own prop (#466)calcite-modal- newscaleprop for setting UI scale of modal (#466);calcite-date-prevMonthLabelandnextMonthLabelupdated tointlPrevMonthandintlNextMonth(#97)calcite-switch-switchedboolean has been added tocalciteSwitchChangeevent detail
v1.0.0-beta.31
Breaking Changes
calcite-label-calciteLabelSelectedEventevent has been renamed tocalciteLabelFocuscalcite-button-icon-positionandiconprops have been removed - you can now useicon-startandicon-endprops to position up to two icons.calcite-link-icon-positionandiconprops have been removed - you can now useicon-startandicon-endprops to position up to two icons.calcite-split-button-primary-iconprop has been removed - you can now useprimary-icon-startandprimary-icon-endprops to position up to two icons.calcite-tab-isActiveprop is nowactiveto be consistent with other componentscalcite-tab-title-isActiveprop is nowactiveto be consistent with other componentscalcite-loader-isActiveprop is nowactiveto be consistent with other componentscalcite-popovertextClosehas been changed tointlClose.calcite-card- event name changecalciteCardSelected => calciteCardSelect(#459)
Added
- Generate new types for using components inside a Preact + TypeScript
calcite-loader- addscalefor both standard and inline loaders (#465)calcite-dropdownnow has adisable-close-on-selectattribute that allows dropdowns to remain open on selection whencalcite-dropdown-groupselection-modeis set tosingleormulticalcite-dropdownnow emitscalciteDropdownClosewhen it closes.calcite-dropdownnow emitscalciteDropdownOpenwhen it opens.calcite-dropdownnow has adisabledprop.calcite-input- addsclearableprop to display a clear button when field has a value - this also enables clearing of value while focused and usingEscapekey.calcite-input- addsdisabledpropcalcite-button-icon-startandicon-endprops have been added for explicit positioning of up to two icons.calcite-link-icon-startandicon-endprops have been added for explicit positioning of up to two icons.calcite-split-button-primary-icon-startandprimary-icon-endprops have been added for explicit positioning of up to two icons.calcite-split-button-dropdown-icon-typeprop now accepts anoverflowvalue for an additional icon option.calcite-noticenow has aintl-closeattribute that allows the title of the close button to be set. It defaults to the English "Close".calcite-modal- addeddisable-close-buttonprop for hiding X (#669)calcite-popover- addeddisable-close-buttonprop for hiding X (#669)
Fixed
calcite-dropdown- will now correctly focus the slotteddropdown-triggerelement when the dropdown is closedcalcite-input- fixes inconsistencies in height of inputs with various configurationscalcite-label- fixes inconsistencies inlayout=inlinepadding applicationscalcite-slider- fixes positioning of handles and labels, better focus styles (#660)calcite-split-button- fixed split button triggering of dropdowncalcite-tab-title- improve focus state
Updated
calcite-dropdown- a dropdown will now close if another dropdown is openedcalcite-dropdown- mouse clicks oncalcite-dropdown-grouptitles will no longer close the dropdowncalcite-slider- improveddisabledstyles (#676)
v1.0.0-beta.30
Fixed
- fix NPM release issue
v1.0.0-beta.29
Fixed
- fix NPM release issue
v1.0.0-beta.28
Breaking Changes
calcite-accordion-calciteAccordionItemHasChangedevent has been renamed tocalciteAccordionChangecalcite-accordion-item-calciteAccordionItemSelectedevent has been renamed tocalciteAccordionItemSelectcalcite-accordion-item-closeCalciteAccordionItemevent has been renamed tocalciteAccordionItemClosecalcite-accordion-item-registerCalciteAccordionItemevent has been renamed tocalciteAccordionItemRegistercalcite-dropdown-group-registerCalciteItemHasChangedevent has been renamed tocalciteDropdownItemChangecalcite-dropdown-group-registerCalciteDropdownGroupevent has been renamed tocalciteDropdownGroupRegistercalcite-dropdown-item-registerCalciteDropdownItemevent has been renamed tocalciteDropdownItemRegistercalcite-dropdown-item-calciteDropdownItemSelectedevent has been renamed tocalciteDropdownItemSelectand is now internal.calcite-dropdown-item-closeCalciteDropdownevent has been renamed tocalciteDropdownClose
Added
calcite-dropdownnow has a read-onlyselectedItemsprop that contains all selected items.calcite-dropdownnow emitscalciteDropdownSelectwhen an item selection changes.
Fixed
calcite-accordion- Fix for incorrect keyboard navigation behavior when acalcite-accordionwas nested inside anothercalcite-accordioncalcite-accordion- Fix for incorrect display oficon-positionwhen acalcite-accordionwas nested inside anothercalcite-accordion
Updated
calcite-popover-max-widthhas been removed. Content may need width set.
v1.0.0-beta.27
Breaking Changes
calcite-input-calciteInputChangeevent has been renamed tocalciteInputInput
Added
calcite-radio-groupnow has awidthprop that acceptsauto(default) orfullvalues.
Fixed
calcite-input- will now properly position a requestediconifprefix-textis also setcalcite-switch- will now properly display in RTLcalcite-alert- will now properly animate the direction of the auto-dismiss progress bar in RTLcalcite-tree- will now properly wrap long, unbroken strings incalcite-tree-itemchildren
Updated
calcite-accordion- styling oficon-position=endicons has been updated forchevronandcaretvalues - it will now display upward when acalcite-accordion-itemis collapsed, and downward when expandedcalcite-input- whenstatus="valid", icon (if present) will appear green
v1.0.0-beta.26
Breaking Changes
calcite-checkbox-sizeprop is nowscaleto be consistent with other componentscalcite-chip- will not show the dismiss ("x") button unless newdismissibleprop istruecalcite-button- will no longer acceptxsorxlvalues forscalepropcalcite-chip- will no longer acceptxsorxlvalues forscalecalcite-combobox- will no longer acceptxsorxlvalues forscale
Added
calcite-radio-group-itemcan now display an icon by passing a Calcite UI Icon name to theiconattribute. The icon can be positioned with theicon-positionattribute.calcite-split-buttonnow acceptsellipsisas a value for thedropdown-icon-typeattributecalcite-graphcomponent for simple area graphs from series data setscalcite-chip- now has acolorprop that will acceptgrey(default),blue,red,yellow, andgreenas valuescalcite-chip- now has anappearanceprop that will acceptsolid(default) andclearas values
Fixed
calcite-dropdown- will now properly open and close when children of thedropdown-triggerslot are acted on.calcite-button- now trims whitespace to accurately display "icon only" buttons as squares.:rootstyles now include some text rendering improvementscalcite-input- fixed missing icons in firefoxcalcite-date- fixed small margin/gap above input
Updated
calcite-button- styling ofappearance=transparentbuttons has been updatedcalcite-button- dimensions and font-size of buttons have been updated
v1.0.0-beta.25
Breaking Changes
calcite-buttonno longer acceptsinlineas a value forappearance- you can insteadcalcite-pagination-backgroundStyleproperty removed (always transparent)calcite-pagination-num,start, andtotalnow refer to records not pagescalcite-pagination-calcitePaginationUpdateevent now only fires in response to user inputcalcite-pagination-setPagemethod removedcalcite-date-show-calendarprop changed toactive
Added
- new component
calcite-link - new
calcite-label,calcite-input, andcalcite-input-messagecomponents calcite-slidercan now be programmatically focused with thesetFocus()methodcalcite-datenow hasscaleprop for small, medium, and largecalcite-radio-groupnow has anappearanceprop that acceptsoutlineorsolid(default) valuescalcite-radio-groupnow has alayoutprop that acceptsverticalorhorizontal(default) valuescalcite-inputcan now be programmatically focused with thesetFocus()methodcalcite-paginationnow has ascaleprop that acceptss,m(default), orlvaluescalcite-accordion-itemcan now display an icon by passing a Calcite UI Icon name to theiconattribute
Fixed
calcite-pagination- pages and next/previous can now be navigated with keyboardcalcite-icon- fixed use of kebab case in filled icon variants (#494)
v1.0.0-beta.24
Fixed
- fix NPM deployment issue