-
Notifications
You must be signed in to change notification settings - Fork 2.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
Move focus style manager to its own file #308
Conversation
@@ -0,0 +1,18 @@ | |||
/* | |||
* Copyright 2015 Palantir Technologies, Inc. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2016
@@ -0,0 +1,8 @@ | |||
/* | |||
* Copyright 2015 Palantir Technologies, Inc. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2016
Love hygiene 👍 |
|
||
import { InteractionModeEngine } from "../common/interactionMode"; | ||
|
||
export const FOCUS_DISABLED_CLASS = "pt-focus-disabled"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should probably live in the Classes
export... but unfortunately that would be a small breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could keep this line marked deprecated.
/** @deprecated */
export const FOCUS_DISABLED_CLASS = Classes.FOCUS_DISABLED_CLASS;
Changes proposed in this pull request:
core/src/accessibility/
folderThis is mostly just for good hygiene. Feels weird to have the focus stuff in index.ts.