forked from woocommerce/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create attribute within the new product MVP (woocommerce#35100)
* Add initial add new option * Hook in create attribute modal to add attribute field * Add unit tests for the create attribute modal * Add extra test to attribute input field * Add changelog * Add custom attribute term input field and support for custom attributes * Fix tets * Add track for custom attribute creation * Fix changes after merge conflict * Revert one change * Fix lint error * Seperate out some logic and make use of null as empty object versus id: undefined * Add isNewAttributeListItem helper function * Make use of helper function for create new markup
- Loading branch information
Showing
8 changed files
with
262 additions
and
90 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
10 changes: 10 additions & 0 deletions
10
...woocommerce-admin/client/products/fields/attribute-input-field/attribute-input-field.scss
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.woocommerce-attribute-input-field { | ||
&__add-new { | ||
display: flex; | ||
align-items: center; | ||
font-weight: 600; | ||
} | ||
&__add-new-icon { | ||
margin-right: $gap-small; | ||
} | ||
} |
Oops, something went wrong.