-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NumberControl
to support min/max font size for Tag Cloud Block
#37311
Add NumberControl
to support min/max font size for Tag Cloud Block
#37311
Commits on Mar 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 38a48ed - Browse repository at this point
Copy the full SHA 38a48edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c1447 - Browse repository at this point
Copy the full SHA 09c1447View commit details -
In this commit, I have addressed following comments: 1. fix label of the NumberControl field 2. add min and max value of NumberControl field 3. Wrap NumberControl fields inside flex to make UI consistent
Configuration menu - View commit details
-
Copy full SHA for 13bb226 - Browse repository at this point
Copy the full SHA 13bb226View commit details -
Co-authored-by: Nik Tsekouras <ntsekouras@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for a02a212 - Browse repository at this point
Copy the full SHA a02a212View commit details -
Remove space from label of smallest size input field
Co-authored-by: Nik Tsekouras <ntsekouras@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for c54a671 - Browse repository at this point
Copy the full SHA c54a671View commit details -
Configuration menu - View commit details
-
Copy full SHA for e130109 - Browse repository at this point
Copy the full SHA e130109View commit details -
fix NumberControl typecasting issue
This commit is done inorder to fix type issue since NumberControl returns string and because of that It was not able to render font size properly.
Configuration menu - View commit details
-
Copy full SHA for d552757 - Browse repository at this point
Copy the full SHA d552757View commit details -
Configuration menu - View commit details
-
Copy full SHA for 476b9b5 - Browse repository at this point
Copy the full SHA 476b9b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9258ba4 - Browse repository at this point
Copy the full SHA 9258ba4View commit details -
replace
NumberControl
withInputControl
this is done to be in sync with the UI illustrations and UI design pattern
Configuration menu - View commit details
-
Copy full SHA for cbc3f2d - Browse repository at this point
Copy the full SHA cbc3f2dView commit details -
add new attribute
fontSizeUnit
In this commit, a new attribute is introduced to select different font unit example `px` or `pt`. Core blocks docs is also updated
Configuration menu - View commit details
-
Copy full SHA for b48db09 - Browse repository at this point
Copy the full SHA b48db09View commit details -
replace
InputControl
withUnitControl
In this commit, `UnitControl` component is used to configure smallestFontSize and largestFontSize. UnitControl offers input field with a select html tag. `fontSizeUnit` single attribute is used to keep unit in both the fields in sync
Configuration menu - View commit details
-
Copy full SHA for f99b43b - Browse repository at this point
Copy the full SHA f99b43bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 231433e - Browse repository at this point
Copy the full SHA 231433eView commit details -
test cases were failing because of new attribute `fontSizeUnit`. It is fixed now.
Configuration menu - View commit details
-
Copy full SHA for 795a080 - Browse repository at this point
Copy the full SHA 795a080View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7b01f - Browse repository at this point
Copy the full SHA fb7b01fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d646f06 - Browse repository at this point
Copy the full SHA d646f06View commit details -
Configuration menu - View commit details
-
Copy full SHA for e50e654 - Browse repository at this point
Copy the full SHA e50e654View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f442ad - Browse repository at this point
Copy the full SHA 4f442adView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec927f3 - Browse repository at this point
Copy the full SHA ec927f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaa245a - Browse repository at this point
Copy the full SHA aaa245aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0a8504 - Browse repository at this point
Copy the full SHA b0a8504View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d25c13 - Browse repository at this point
Copy the full SHA 7d25c13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9832036 - Browse repository at this point
Copy the full SHA 9832036View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22cc30e - Browse repository at this point
Copy the full SHA 22cc30eView commit details -
tag-cloud
block php handle decimal valuesunit
propertygiven a comment to handle decimal value case when passed to `unit` property. I updated the regex to `/^\d*\.?\d*/`. This regex can parse values like `123.3px` or `.33px` or `123px`.
Configuration menu - View commit details
-
Copy full SHA for 27e4591 - Browse repository at this point
Copy the full SHA 27e4591View commit details -
write descriptive variables names
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a74ec71 - Browse repository at this point
Copy the full SHA a74ec71View commit details -
rename
parseUnit
toparseQuantityAndUnitFromRawValue
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for aff4e19 - Browse repository at this point
Copy the full SHA aff4e19View commit details -
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 39b4fef - Browse repository at this point
Copy the full SHA 39b4fefView commit details -
rename
parseUnit
toparseQuantityAndUnitFromRawValue
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 31fb6b5 - Browse repository at this point
Copy the full SHA 31fb6b5View commit details -
Apply suggestions from code review
Fix formatting
Configuration menu - View commit details
-
Copy full SHA for 95f6a19 - Browse repository at this point
Copy the full SHA 95f6a19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02c11b7 - Browse repository at this point
Copy the full SHA 02c11b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for db24fd3 - Browse repository at this point
Copy the full SHA db24fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b821645 - Browse repository at this point
Copy the full SHA b821645View commit details
Commits on Mar 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for faef8d8 - Browse repository at this point
Copy the full SHA faef8d8View commit details
Commits on Mar 23, 2022
-
Co-authored-by: Nik Tsekouras <ntsekouras@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 059357a - Browse repository at this point
Copy the full SHA 059357aView commit details