Releases: Esri/calcite-design-system
Releases · Esri/calcite-design-system
v1.0.0-beta.35
Fixes
- Added
@types/color
as a dependency, so public types resolve properly
v1.0.0-beta.34
Added
- New component
calcite-color
- New component
calcite-color-hex-input
- New component
calcite-color-swatch
Fixes
calcite-modal
- fix styling for modal when there are no footer buttonscalcite-popover
- prevent tooltip-manager selector conflicting with popover-manager selectorcalcite-tabs
- uses properaria-labelledby
attribute
v1.0.0-beta.33
Breaking Changes
calcite-alert
-open
andclose
methods have been removed. You can use theactive
prop to open or add an alert to the queue.calcite-alert
-currentAlert
prop has been removedcalcite-alert
-alertQueue
prop has been removed (queue
is emitted as a detail of thecalciteAlertOpen
andcalciteAlertClose
events)calcite-alert
-alertQueueLength
prop has been removed
Fixes
calcite-modal
- turn off pointer events on hidden modals to prevent interaction (#549)
Added
calcite-modal
- addbackground-color
property for light grey backgrounds (#527)calcite-alert
-intlClose
prop has been added to optionally provide a translated override of the English "close" text
v1.0.0-beta.32
calcite-stepper
-calciteStepperItemHasChanged
event has been renamed tocalciteStepperItemChange
calcite-stepper-item
-calciteStepperItemSelected
event has been renamed tocalciteStepperItemSelect
calcite-stepper-item
-registerCalciteStepperItem
event has been renamed tocalciteStepperItemRegister
Breaking Changes
calcite-modal
-close-label
prop is now renamed tointl-close
for consistency (#466)calcite-modal
-open
andclose
methods removed in favor ofactive
prop (#466)calcite-modal
-size => width
, which can be passed standard (s/m/l) or custom width in px (#239)calcite-modal
-fullscreen
made it's own prop (#466)calcite-modal
- newscale
prop for setting UI scale of modal (#466);calcite-date
-prevMonthLabel
andnextMonthLabel
updated tointlPrevMonth
andintlNextMonth
(#97)calcite-switch
-switched
boolean has been added tocalciteSwitchChange
event detail
v1.0.0-beta.31
Breaking Changes
calcite-label
-calciteLabelSelectedEvent
event has been renamed tocalciteLabelFocus
calcite-button
-icon-position
andicon
props have been removed - you can now useicon-start
andicon-end
props to position up to two icons.calcite-link
-icon-position
andicon
props have been removed - you can now useicon-start
andicon-end
props to position up to two icons.calcite-split-button
-primary-icon
prop has been removed - you can now useprimary-icon-start
andprimary-icon-end
props to position up to two icons.calcite-tab
-isActive
prop is nowactive
to be consistent with other componentscalcite-tab-title
-isActive
prop is nowactive
to be consistent with other componentscalcite-loader
-isActive
prop is nowactive
to be consistent with other componentscalcite-popover
textClose
has been changed tointlClose
.calcite-card
- event name changecalciteCardSelected => calciteCardSelect
(#459)
Added
- Generate new types for using components inside a Preact + TypeScript
calcite-loader
- addscale
for both standard and inline loaders (#465)calcite-dropdown
now has adisable-close-on-select
attribute that allows dropdowns to remain open on selection whencalcite-dropdown-group
selection-mode
is set tosingle
ormulti
calcite-dropdown
now emitscalciteDropdownClose
when it closes.calcite-dropdown
now emitscalciteDropdownOpen
when it opens.calcite-dropdown
now has adisabled
prop.calcite-input
- addsclearable
prop to display a clear button when field has a value - this also enables clearing of value while focused and usingEscape
key.calcite-input
- addsdisabled
propcalcite-button
-icon-start
andicon-end
props have been added for explicit positioning of up to two icons.calcite-link
-icon-start
andicon-end
props have been added for explicit positioning of up to two icons.calcite-split-button
-primary-icon-start
andprimary-icon-end
props have been added for explicit positioning of up to two icons.calcite-split-button
-dropdown-icon-type
prop now accepts anoverflow
value for an additional icon option.calcite-notice
now has aintl-close
attribute that allows the title of the close button to be set. It defaults to the English "Close".calcite-modal
- addeddisable-close-button
prop for hiding X (#669)calcite-popover
- addeddisable-close-button
prop for hiding X (#669)
Fixed
calcite-dropdown
- will now correctly focus the slotteddropdown-trigger
element when the dropdown is closedcalcite-input
- fixes inconsistencies in height of inputs with various configurationscalcite-label
- fixes inconsistencies inlayout=inline
padding 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-group
titles will no longer close the dropdowncalcite-slider
- improveddisabled
styles (#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
-calciteAccordionItemHasChanged
event has been renamed tocalciteAccordionChange
calcite-accordion-item
-calciteAccordionItemSelected
event has been renamed tocalciteAccordionItemSelect
calcite-accordion-item
-closeCalciteAccordionItem
event has been renamed tocalciteAccordionItemClose
calcite-accordion-item
-registerCalciteAccordionItem
event has been renamed tocalciteAccordionItemRegister
calcite-dropdown-group
-registerCalciteItemHasChanged
event has been renamed tocalciteDropdownItemChange
calcite-dropdown-group
-registerCalciteDropdownGroup
event has been renamed tocalciteDropdownGroupRegister
calcite-dropdown-item
-registerCalciteDropdownItem
event has been renamed tocalciteDropdownItemRegister
calcite-dropdown-item
-calciteDropdownItemSelected
event has been renamed tocalciteDropdownItemSelect
and is now internal.calcite-dropdown-item
-closeCalciteDropdown
event has been renamed tocalciteDropdownClose
Added
calcite-dropdown
now has a read-onlyselectedItems
prop that contains all selected items.calcite-dropdown
now emitscalciteDropdownSelect
when an item selection changes.
Fixed
calcite-accordion
- Fix for incorrect keyboard navigation behavior when acalcite-accordion
was nested inside anothercalcite-accordion
calcite-accordion
- Fix for incorrect display oficon-position
when acalcite-accordion
was nested inside anothercalcite-accordion
Updated
calcite-popover
-max-width
has been removed. Content may need width set.
v1.0.0-beta.27
Breaking Changes
calcite-input
-calciteInputChange
event has been renamed tocalciteInputInput
Added
calcite-radio-group
now has awidth
prop that acceptsauto
(default) orfull
values.
Fixed
calcite-input
- will now properly position a requestedicon
ifprefix-text
is 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-item
children
Updated
calcite-accordion
- styling oficon-position=end
icons has been updated forchevron
andcaret
values - it will now display upward when acalcite-accordion-item
is collapsed, and downward when expandedcalcite-input
- whenstatus="valid"
, icon (if present) will appear green
v1.0.0-beta.26
Breaking Changes
calcite-checkbox
-size
prop is nowscale
to be consistent with other componentscalcite-chip
- will not show the dismiss ("x") button unless newdismissible
prop istrue
calcite-button
- will no longer acceptxs
orxl
values forscale
propcalcite-chip
- will no longer acceptxs
orxl
values forscale
calcite-combobox
- will no longer acceptxs
orxl
values forscale
Added
calcite-radio-group-item
can now display an icon by passing a Calcite UI Icon name to theicon
attribute. The icon can be positioned with theicon-position
attribute.calcite-split-button
now acceptsellipsis
as a value for thedropdown-icon-type
attributecalcite-graph
component for simple area graphs from series data setscalcite-chip
- now has acolor
prop that will acceptgrey
(default),blue
,red
,yellow
, andgreen
as valuescalcite-chip
- now has anappearance
prop that will acceptsolid
(default) andclear
as values
Fixed
calcite-dropdown
- will now properly open and close when children of thedropdown-trigger
slot are acted on.calcite-button
- now trims whitespace to accurately display "icon only" buttons as squares.:root
styles now include some text rendering improvementscalcite-input
- fixed missing icons in firefoxcalcite-date
- fixed small margin/gap above input
Updated
calcite-button
- styling ofappearance=transparent
buttons has been updatedcalcite-button
- dimensions and font-size of buttons have been updated