Skip to content

Conversation

@lafe
Copy link
Contributor

@lafe lafe commented Apr 16, 2018

Pull request checklist

Description of changes

This change adds an optional "className" property to the ICalendarProps interface. If a class is specified, it will be added to the root element of the Calendar component.

@lafe lafe requested a review from lorejoh12 as a code owner April 16, 2018 07:25
@lafe lafe changed the title Class name Added className to Calendar component Apr 16, 2018
*/
componentRef?: (component: ICalendar | null) => void;

/** Optional class name to add to the root element. */
Copy link
Collaborator

Choose a reason for hiding this comment

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

/** [](start = 2, length = 3)

Please make the comment to be multi line. Like

/**

  • blah blah blah...
    */

@manishgarg1
Copy link
Collaborator

Otherwise looks good to me. @dzearing any concerns?

@lafe
Copy link
Contributor Author

lafe commented Apr 16, 2018

Fixed comment (however, I copied that comment from another component in the Office UI React Framework... 😄)

* Do not call onMenuClick on every keyDown

* Add change file

* Simplify if condition

* Don't ignore default key down handling
dateRangeType={ DateRangeType.Week }
autoNavigateOnSelection={ true }
onSelectDate={ onSelectDate() }
className="CalendarTestClass"
Copy link
Contributor

Choose a reason for hiding this comment

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

Travis is failing due to the double quote marks. Change all " to ' for it to pass.

dzearing and others added 16 commits April 16, 2018 18:17
* Fixing build.

* Updating sass because of load order differences.

* more visual bug fixes.

* Tweaking css.
* Make titles on GetStarted page clickable

* Added change file
* Fixed improper imports from index files

* Update change output
* Mark Panel content element as scrollable

* Update change output
…osoft#4512)

* Convert getting started page and status page.

* First wave of MD files.

* Use markdown in example page wave 1

* Wave 2

* Initial code owners

* Wave 3

* changes

* Fix Persona owners

* Add link to Icon docs to IconButton

* Use component page for Theme page

* Better themes documentation.

* remove commented code

* clean

* nit

* Add opt-in for @deprecated comments for documentation.

* Add section on loading themes to Overview.

* Fix mutating state to get rid of console error

* Switch to getTheme from loadTheme, add not for deprecated colors.

* changes

* remove console.logs

* Fix code block line height

* changes
* Fixes some imports in NavPage causing some build errors.

* Rush change.
… set to avoid item is undefined in handler (microsoft#4568)

* Invoke CommandBar's onItemClick vs item onClick when href set

* Append anchor element type to end of union type

* + changelog
* ContextualMenu: Update mousemove to only do anything if there is not another pending mouse enter/move/leave to improve the snappiness of the updates

* rush change

* change spacing

* Make sure we are clearing the enterTimerId after executing in the settimeout

* fix missing line to set enterTimerId back to undefined if the item does not have a submenu
* Scaffold styles file

* Split to base file.

* Scaffold types file.

* Export base
dzearing and others added 2 commits April 24, 2018 19:34
* Updating how style elements are injected (to preserve the location in head in which they're inserted.)

* adding change file

* Adding nit fixes.
@cliffkoh
Copy link
Contributor

Hello @lafe, could you resolve the merge conflict and let's see if CI passes this time so we can get this merged in? :)

KevinTCoughlin and others added 11 commits April 25, 2018 13:59
…ers firing twice (microsoft#4662)

* Gate calendar month, year, and today keydowns for only ENTER as onClick handles space with button nodes.

* + changefile
* Revert "FocusTrapZone does not correctly trap focus when last child is FocusZone (microsoft#4172)"

This reverts commit 699fa69.

* minor picker fixes

* adding change file

* Undo change to examples

* Fix typo

* remove space
* Utilize typescript's no_unused_vars rather than tslint's + cleanup

* Change file

* Change the way the "demo" code is preserved
* Fix props validation for Breadcrumb and add unit tests for default props

* Update snapshot output

* Update change output

* Fix Breadcrumb validation
* Scaffold styles file

* Split to base file.

* Scaffold types file.

* Export base

* Add `animation` to `IRawStyleBase`

* Convert sass to js. Add barHeight prop.

* Use classNames instead of scss in base

* Delete sass file

* let styles default barHeight

* Fix RTL keyframes

* changes

* Update snapshots

* Fix more conflicts

* Switch to private _classNames set in constructor to prevent tag spam

* Remove smoothTransition style prop

* Remove unused variables

* Update snapshot

* simplify

* Fix classNames being called with keyframes.

* update snapshot
@lafe lafe closed this Apr 26, 2018
@lafe lafe mentioned this pull request Apr 26, 2018
2 tasks
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.