feat(design, storefront)!: move DaffQuantityFieldComponent into the storefront package#4121
Open
feat(design, storefront)!: move DaffQuantityFieldComponent into the storefront package#4121
DaffQuantityFieldComponent into the storefront package#4121Conversation
DaffFormFieldControl in DaffQuantityFieldComponent
7 tasks
eca7788 to
32dfffa
Compare
43b2266 to
96e82e5
Compare
Member
Author
|
@damienwebdev moved quantity field to |
DaffFormFieldControl in DaffQuantityFieldComponentDaffQuantityFieldComponent into the storefront package
damienwebdev
requested changes
Dec 4, 2025
libs/design/form-field/src/form-field/form-field.component.scss
Outdated
Show resolved
Hide resolved
001b7f6 to
a118c83
Compare
damienwebdev
requested changes
Feb 24, 2026
| /** | ||
| * @docs-private | ||
| */ | ||
| export const DAFF_SF_QUANTITY_FIELD_COMPONENTS = <const> [ |
Member
Author
There was a problem hiding this comment.
No. We decided not to display the array in the API and just document it in the Usage section.
| ], | ||
| }) | ||
| export class DaffQuantityFieldModule { } | ||
| export class DaffSfQuantityFieldModule { } |
Member
There was a problem hiding this comment.
Remove this. It's deprecated anyways.
| * | ||
| * Called when child components gain focus | ||
| */ | ||
| onChildFocus() { |
| * | ||
| * Called when child components lose focus | ||
| */ | ||
| onChildBlur() { |
| * | ||
| * Called when child components change value | ||
| */ | ||
| onChildValueChange(value: number) { |
| @@ -1,63 +0,0 @@ | |||
| # Quantity Field | |||
| Quantity field is a form control element that switches between a native select and input element. | |||
Member
There was a problem hiding this comment.
I think we leave quantity-field in here as deprecated, guide people to the storefront equivalent and remove in v1.
| host: { | ||
| class: 'daff-form-field', | ||
| '[class.is-native-select]': 'isNativeSelect', | ||
| '[class.is-quantity-select]': 'isQuantitySelect', |
Member
There was a problem hiding this comment.
These functions don't exist?
97fa602 to
c4b1506
Compare
c4b1506 to
c3480fe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
PR Type
Current behavior
Replace inputs with signals in order to handle focus changes.
Currently, focus does not transition when select changes to an input.
Fixes: #3888
Part of: #416, #3799
New behavior
Breaking change?
BREAKING CHANGE: The quantity field component has been moved from
@daffodil/designto@daffodil/storefront.Additional context