Skip to content
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

Merged
merged 2 commits into from
Dec 5, 2016
Merged

Conversation

adidahiya
Copy link
Contributor

Changes proposed in this pull request:

  • Create a core/src/accessibility/ folder
  • Move the focus style manager into this folder

This is mostly just for good hygiene. Feels weird to have the focus stuff in index.ts.

@@ -0,0 +1,18 @@
/*
* Copyright 2015 Palantir Technologies, Inc. All rights reserved.
Copy link
Contributor

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2016

@blueprint-bot
Copy link

Istanbul skip; update copyright year

Preview: docs
Coverage: core | datetime

@llorca
Copy link
Contributor

llorca commented Dec 5, 2016

Love hygiene 👍


import { InteractionModeEngine } from "../common/interactionMode";

export const FOCUS_DISABLED_CLASS = "pt-focus-disabled";
Copy link
Contributor Author

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.

Copy link
Contributor

@giladgray giladgray Dec 5, 2016

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;

@adidahiya adidahiya merged commit 6953747 into master Dec 5, 2016
@adidahiya adidahiya deleted the ad/focus-style-manager branch December 5, 2016 23:02
@giladgray giladgray mentioned this pull request Dec 9, 2016
greglo pushed a commit to greglo/blueprint that referenced this pull request Dec 12, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants