Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

feat(lib): export getNextElement, getPreviousElement and focusAsync #981

Merged
merged 5 commits into from
Feb 27, 2019

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Feb 27, 2019

This PR:

  • add exports getNextElement, getPreviousElement and focusAsync to focusZoneUtilities.
  • exports ShorthandValue

@codecov
Copy link

codecov bot commented Feb 27, 2019

Codecov Report

Merging #981 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #981   +/-   ##
=====================================
  Coverage      81%    81%           
=====================================
  Files         665    665           
  Lines        8528   8528           
  Branches     1443   1443           
=====================================
  Hits         6908   6908           
  Misses       1606   1606           
  Partials       14     14
Impacted Files Coverage Δ
packages/react/src/index.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ab5611...b352ce4. Read the comment docs.

getPreviousElement,
focusAsync,
} from './lib/accessibility/FocusZone/focusUtilities'
export const focusZoneUtilities = {
Copy link
Contributor

Choose a reason for hiding this comment

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

just one thing - shouldn't it be a breaking change, given this code on the client's side:

import { FocusZoneUtilities, ... } from '@stardust-ui/react'

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, I see, great catch 👍

@layershifter layershifter merged commit 82266e9 into master Feb 27, 2019
@delete-merged-branch delete-merged-branch bot deleted the feat/export-more-focus-zone branch February 27, 2019 16:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants