Releases: CrowdStrike/ember-toucan-core
@crowdstrike/[email protected]
@crowdstrike/[email protected]
Minor Changes
- #466
c862e5d
Thanks @bradaune-cs! - Exposes validationState, submissionState, isInvalid and rawErrors from the HeadlessForm component
Patch Changes
- Updated dependencies [
e274211
]:- @crowdstrike/[email protected]
@crowdstrike/[email protected]
@crowdstrike/[email protected]
Patch Changes
- #304
23df6cb
Thanks @davideferre! - Add event.preventDefault() when clicking on disabled button to prevent submitting a form
@crowdstrike/[email protected]
Minor Changes
-
#254
532ab89
Thanks @clintcs! - Add Multiselect test helpers. -
#253
c18922f
Thanks @ynotdraw! - BothTextarea
andInput
Controls are now full width by default.The
Textarea
Control markup was adjusted to account for collision with the resize handle and focus/error shadows.The
Input
Control now has small padding along the x-axis. -
#257
ce91639
Thanks @clintcs! - Remove Button's test helpers
Patch Changes
@crowdstrike/[email protected]
Minor Changes
-
#254
532ab89
Thanks @clintcs! - Add Multiselect test helpers. -
#253
c18922f
Thanks @ynotdraw! - BothTextarea
andInput
Controls are now full width by default.The
Textarea
Control markup was adjusted to account for collision with the resize handle and focus/error shadows.The
Input
Control now has small padding along the x-axis. -
#257
ce91639
Thanks @clintcs! - Remove Button's test helpers
Patch Changes
@crowdstrike/[email protected]
Patch Changes
-
#241
1eda28b
Thanks @clintcs! - Improve documentation consistency. -
#244
3312a38
Thanks @ynotdraw! - Adds "Select all" functionality to theMultiselect
via a new component argument. Provide@selectAllText
to opt-in to the functionality. -
Updated dependencies [
d3b7d42
,1eda28b
,3312a38
]:- @crowdstrike/[email protected]
@crowdstrike/[email protected]
Patch Changes
-
#230
d3b7d42
Thanks @joelamb! - horizontally centre disabled button label -
#241
1eda28b
Thanks @clintcs! - Improve documentation consistency. -
#244
3312a38
Thanks @ynotdraw! - Adds "Select all" functionality to theMultiselect
via a new component argument. Provide@selectAllText
to opt-in to the functionality.
@crowdstrike/[email protected]
Minor Changes
-
#232
3d6c159
Thanks @ynotdraw! - Updated all form elements to have thew-full
class, making them full width by default. The width of the element is now determined by the container. To restrict the width of the element, use a wrapping tag with an appropriate class name applied. -
#238
40465de
Thanks @clintcs! - Replace Multiselect's:noResults
block with a@noResultsText
argument. -
#226
9ef84d2
Thanks @clintcs! - Removed from Autocomplete support for@options
as an array of objects. -
#240
b59a575
Thanks @clintcs! - Make Autocomplete@noResultsText
required.
Patch Changes
-
#222
ff50f27
Thanks @ynotdraw! - Expose the:secondary
block and Character Counter component from<ToucanForm
input and textarea components. -
#227
c8a4eb1
Thanks @ynotdraw! - Addedform.Multiselect
support. -
#200
91204aa
Thanks @ynotdraw! - Added anAutocomplete
component to both core and form packages.If you're using
toucan-core
, the control and field components are exposed:If you're using
toucan-form
, the component is exposed via:For more information on using these components, view the docs.
-
Updated dependencies [
1669550
,3d6c159
,40465de
,9ef84d2
,b59a575
,91204aa
,50b4f24
]:- @crowdstrike/[email protected]
@crowdstrike/[email protected]
Minor Changes
-
#232
3d6c159
Thanks @ynotdraw! - Updated all form elements to have thew-full
class, making them full width by default. The width of the element is now determined by the container. To restrict the width of the element, use a wrapping tag with an appropriate class name applied. -
#238
40465de
Thanks @clintcs! - Replace Multiselect's:noResults
block with a@noResultsText
argument. -
#226
9ef84d2
Thanks @clintcs! - Removed from Autocomplete support for@options
as an array of objects. -
#240
b59a575
Thanks @clintcs! - Make Autocomplete@noResultsText
required.
Patch Changes
-
#219
1669550
Thanks @ynotdraw! - Added anMultiselect
component.It has a similar API to
Autocomplete
, but allows for selecting multiple options rather than only one. -
#200
91204aa
Thanks @ynotdraw! - Added anAutocomplete
component to both core and form packages.If you're using
toucan-core
, the control and field components are exposed:If you're using
toucan-form
, the component is exposed via:For more information on using these components, view the docs.
-
#225
50b4f24
Thanks @ynotdraw! - AddedMultiselectField
component - it's the Multiselect control wrapped around aField
.import Component from '@glimmer/component'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; export default class extends Component { @tracked selected; options = ['Blue', 'Red', 'Yellow']; @action onChange(options) { this.selected = options; } }