6df0810cc9
2 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
424d2f6965
|
chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
## Description
This PR upgrades Prettier to v2 + enforces TypeScript’s [`import
type`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export)
syntax where applicable. It’s submitted as a separate PR so we can merge
it easily.
As a part of this PR, we reformat the codebase heavily:
- add `import type` everywhere where it’s required, and
- re-format the code to account for Prettier 2’s breaking changes:
https://prettier.io/blog/2020/03/21/2.0.0.html#breaking-changes
This PR is submitted against `release` to make sure all new code by team
members will adhere to new formatting standards, and we’ll have fewer
conflicts when merging `bundle-optimizations` into `release`. (I’ll
merge `release` back into `bundle-optimizations` once this PR is
merged.)
### Why is this needed?
This PR is needed because, for the Lodash optimization from
|
||
|
|
f62c8a62a4
|
fix: checkbox group feedback (#6959)
* FIX-6783 : Checkbox group widget - Feedback -- Add default border for a checkbox icon and color for a label -- Align the option to the center if its options count is one or inline -- Set isInline to true by default in widget config * FIX-6783 : Checkbox Group Widget Feedback -- Add a migration for isInline property * Feat: Checkbox Groupd Widget Feedback -- Add vertical margin between options * Fix: Checkbox Group Widget -- Increase default rows value to 1.5 in widget configuration * Fix: Checkbox Group Widget -- Change the migration version number * Fix: Checkbox Group Widget -- Change migration version number * Fix: Checkbox Groupd Widget Feedback -- Delete redundant WidgetConfigResponse file * Fix: Checkbox Group Widget Feedback -- Change the config values of rows, columns -- Refactor migration file * Fix: Checkbox Group Widget -- Refactor migration file * fix: Checkbox Group Widget Feedback -- Fix on the wrong dsl version * fix: Checkbox Group Widget Feedback -- Remove a unnecessary comment -- Update the version of the widget in its config and migration * fix: checkbox group feedback -- Rewrite a migration for isInline property * fix: checkbox group feedback -- Follow the figma design on disabled state * fix: Checkbox Group Widget feedback -- Apply appropriate migration * fix: Checkbox group widget - Feedback -- Apply theme changes * fix: Checkbox Group Widget - Feedback -- Change the border color of an unchecked checkbox to DARK_GRAY * fix: Checkbox Group Widget - Feedback -- Remove inset box shadow from the checkbox indicators Co-authored-by: Arpit Mohan <arpit@appsmith.com> |