-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
ui: CSS modules for Badge component #48234
Commits on Jun 9, 2020
-
ui: CSS modules for Statements page filters
This change refactors following components to use CSS modules instead of styles defined as global: - Dropdown - Search - PageConfig Release note: None
Configuration menu - View commit details
-
Copy full SHA for 8677bc0 - Browse repository at this point
Copy the full SHA 8677bc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d169567 - Browse repository at this point
Copy the full SHA d169567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08daedd - Browse repository at this point
Copy the full SHA 08daeddView commit details -
ui: CSS modules for Statement Details page
Following components are refactored to use CSS modules instead of global styles: - Statement Details page - Statements Diagnostics components - Anchor - Text - Empty Before, `Empty` component had styles which override Text, and Anchor components. Now, these styles are passed via `className` component props and custom styles defined by outer component. Release note: None
Configuration menu - View commit details
-
Copy full SHA for 24b91a8 - Browse repository at this point
Copy the full SHA 24b91a8View commit details -
ui: Storybook for Statements Details page
Statement Details pages has four tabs which aren't controlled and it wasn't possible to open particular tab and render it in storybook. It is also led to usability issue where selected tab was not preserved after page refresh. With current commit: - selected tab is tracked as search param in URL - added storybook for Statement Details page for every tab except Diagnostics tab. Content of Diagnostics tab is independent connected view and has to be defined in it's own storybook. Release note (admin ui change): preserve selected tab in Statement Details page after reload.
Configuration menu - View commit details
-
Copy full SHA for 5b2fff5 - Browse repository at this point
Copy the full SHA 5b2fff5View commit details -
ui: Bind CSS class names with classnames/bind
Instead of accessing to CSS modules class names as fields, `classnames/bind` function is used to bind class names to hashed names in imported CSS module file. Release note: None
Configuration menu - View commit details
-
Copy full SHA for 87f78ee - Browse repository at this point
Copy the full SHA 87f78eeView commit details -
ui: CSS modules for Statement Details page
Following components are refactored to use CSS modules instead of global styles: - Statement Details page - Statements Diagnostics components - Anchor - Text - Empty Before, `Empty` component had styles which override Text, and Anchor components. Now, these styles are passed via `className` component props and custom styles defined by outer component. Release note: None
Configuration menu - View commit details
-
Copy full SHA for f9d718d - Browse repository at this point
Copy the full SHA f9d718dView commit details -
ui: CSS modules for Button component
Before, Button component had styles defined with own namespacing and now styles are imported as CSS module. The main change is separation BackIcon component which was coupled with Button and the way custom styles were applied to display button as a link without highlighting. - BackIcon is refactored to it's own module with styles - custom styles are applied with new Button type option - `unstyled-link`. Release note: None
Configuration menu - View commit details
-
Copy full SHA for 2ae1cca - Browse repository at this point
Copy the full SHA 2ae1ccaView commit details -
ui: CSS modules for SqlBox components
Refactor following components to use CSS modules instead of global styles: - SqlBox - highlight Note, `hljs-` classes are 3rd-party styles which are overriden with custom styles. Release note: None
Configuration menu - View commit details
-
Copy full SHA for 249db86 - Browse repository at this point
Copy the full SHA 249db86View commit details -
ui: CSS modules for Badge component
Define styles for Badge component as CSS modules. Release note: None
Configuration menu - View commit details
-
Copy full SHA for 49cd4a3 - Browse repository at this point
Copy the full SHA 49cd4a3View commit details