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

Lit element v2 RC #129

Merged
merged 70 commits into from
Jan 30, 2019
Merged

Lit element v2 RC #129

merged 70 commits into from
Jan 30, 2019

Commits on Apr 12, 2018

  1. Added 5 star rating badge (#121)

    Hi, your component was tested and listed in our Vaadin Directory with a pretty high rating. We think it would be cool to have these badges in your project.
    Binh Bui authored and motss committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    c00e292 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2018

  1. 💥 🚚 Upgrade to Polymer 3 (#125)

    * ⬆️ Updated deps
    * 💥 Upgraded to Polymer 3.x
    * ✅ Fixed demo's and tests
    jordanfinners authored and motss committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    002a2c3 View commit details
    Browse the repository at this point in the history
  2. 🔥 Minor cleanup

    motss committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    38fe6f2 View commit details
    Browse the repository at this point in the history
  3. 📝 Updated README

    ✅ Trying to fix broken tests
    motss committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    0b9f920 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e186d52 View commit details
    Browse the repository at this point in the history
  5. ✅ Trying to fix broken tests

    motss committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    e36bedd View commit details
    Browse the repository at this point in the history
  6. ✅ Trying to fix broken tests

    motss committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    b018910 View commit details
    Browse the repository at this point in the history
  7. ✅ Trying to fix broken tests

    motss committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    d77518b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1238898 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2018

  1. 🔖 v3.0.0-alpha.0

    motss committed Dec 4, 2018
    Configuration menu
    Copy the full SHA
    ff2ea09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15e3259 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2018

  1. Configuration menu
    Copy the full SHA
    2a9b85f View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2018

  1. 🚧 WIP - working on calendar

    motss committed Dec 6, 2018
    Configuration menu
    Copy the full SHA
    1484692 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2018

  1. Configuration menu
    Copy the full SHA
    39003e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2018

  1. 🐛 src: Fixed calendar rendering

    `calendar` method does not taken `showWeekNumber` into account
    when `firstDayOfWeek` > 0. Also, updated method to render calendar
    with `repeat` and `cache`.
    motss committed Dec 8, 2018
    Configuration menu
    Copy the full SHA
    12eaa94 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2018

  1. 💄 src: Material Design 2 UI

    Updated UI based on latest Material design datepicker on latest Android.
    `rollup` has been added for simple build for UI implementation.
    motss committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    76cc7e7 View commit details
    Browse the repository at this point in the history
  2. 🚧 src: Added implementation logics for date selection

    Added implementation logics for any year, month, and date selection.
    Added UI implementation for selected year and date as well as
    today's date.
    motss committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    299162d View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2018

  1. 🐛 src: Updated calendar to display week numbers

    Calendar can now display week numbers on the extreme left as labels for
    each calendar week by toggling `showWeekNumber` property. Minor CSS
    tweaks to ensure only clickable elements such as date on the calendar to
    show pointer cursor when hovering. `theme` property has been removed as
    it is no longer relevant when the design is based on Material Design 2.
    motss committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    a79fcf4 View commit details
    Browse the repository at this point in the history
  2. ⚡️ src: Improved perf when rendering full calendar

    Noticed slow rendering on full calendar. After series of debugging,
    it is quite surprising to find out that running `Intl.DateTimeFormat`
    every single time with varying `locale` can cause a disastrous perf hit
    especially in initializing them in each loop. By running them once then
    passing the cached functions into the loops, the execution time to
    render a full calendar now takes < 1ms as compared to > 100ms
    before the patch.
    motss committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    b3bf2de View commit details
    Browse the repository at this point in the history
  3. 💩 src: Minor code fix

    motss committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    ba6661d View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2018

  1. ✨ src: Implemented dragging functionality

    Implemented dragging feature for touch-enabled devices with
    `Pointer Events` and animating calendar with `Web Animations`.
    Minor perf improvements has been made to render **ONLY** one calendar
    when button is clicked to navigate between months, then on next frame
    (or idle frame if supported natively) re-render all calendars.
    `Intl` initialization can be slow in rendering calendar, passing
    the necessary functions can be done at higher level so that functions
    are cached and reused with lesser overhead, thus faster rendering.
    motss committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    d1f5996 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. 🐛 src: Fixed tracking not working on touch devices

    `Pointer Events` does not work as expected on touch mobile devices.
    There is a limitation when tracking happens on wider range. Hence, drop
    the API in favor of Polymer's Gestures API for better compatibility.
    Minor UI and animation enhancements applied to match that of on Android.
    motss committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    5d0248e View commit details
    Browse the repository at this point in the history
  2. ⬆️ package.json: Upgraded deps

    Upgraded to `lit-html@1.0.0-rc.1` and `lit-element@0.6.5` for v1.0 RC
    which just released today.
    motss committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    a64214f View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2018

  1. 🐛 src: Fixed re-rendering issue that causes perf hit

    Further improved perf in re-rendering on slower devices by fixing broken
    tracking implementation. Now, re-rendering works properly as expected,
    even on hovering which has been added in this patch as well for desktop.
    motss committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    a448922 View commit details
    Browse the repository at this point in the history
  2. 🐛 src: Bug fix for calendar rendering when showWeekNumber is set

    Optimized calendar rendering performs slightly better due to micro-opts.
    But the enhancement was broken when `showWeekNumber` is set. Additional
    fix has been applied to ensure that week number **ONLY** renders when
    the current date is still within the date range of the current month in
    each iteration during rendering. Also, `GestureEventListeners` mixin is
    not mandatory thus removed due to `PropertyEffects` overhead in
    rendering. Simple demo with timestamp has been added for reference use.
    motss committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    c2a8f88 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. ⚡️ src: Improved perf in tracking on calendar

    Blink requires defined width when updating `transform` property of an
    element else it will trigger layout on every frame thus caused drop in
    perf. By setting fixed width via `getBoundingClientRect` before tracking
    starts, it temporarily updates the element and its parent element that
    are responsible for smoother tracking to have fixed width. Critical bug
    has been discovered in `calendar` module where week number shows up on
    empty last row of a calendar. A temporary fix has been included to make
    sure calendar renders correctly as of now but it will be revisited.
    motss committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    820cd9f View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2018

  1. 💩 src: Minor code update

    * Removed `debugger` keyword
    * Minor fix in tracking function to reset flags
    motss committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    e12e74d View commit details
    Browse the repository at this point in the history
  2. 💩 src: Code refactoring then minor cleanup

    * Rewrote `calendar.ts` with just ` for-loop to do the job. Feel free to
      submit optimization PR to improve the perf.
    * Minor code re-ordering for maintainability and readability.
    * Removed other test scripts which are no longer in use.
    motss committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    d4c658f View commit details
    Browse the repository at this point in the history
  3. 🚨 src: Fixed linter warnings

    * Added missing `TSLint` config and fixed all linting issues.
    * Added `rollup` build for production/ publish.
    motss committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    eca4b97 View commit details
    Browse the repository at this point in the history
  4. ⚡️ src: Reduced re-render overhead

    Redundant execution happens when `_selectedView` property has different
    value. A year list does not need anything from a calendar, however,
    tasks to render a calendar still runs regardless. By moving all logics
    to related method can help reduce unnecessary computation in different
    view.
    motss committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    8503d5a View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2018

  1. 🚧 WIP - migrating to use PointerTracker

    * WIP - to use `pointer-tracker` instead of Polymer Gestures API.
    * Refactored to use `query` decorator.
    * Upgraded deps.
    motss committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    79c0f02 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2018

  1. 💄 src: Added missing disabled styling for disabled calendar day

    * Disabled calendar day greys out now.
    * Fixed an issue where unwanted re-rendering triggers on unselectable
      calendar day or weekday label.
    * Fixed `Pointer Events` API does not work on touch devices by adding
      `touch-action: none` on draggable element. For more details on the
      issue, see GoogleChromeLabs/pointer-tracker#1.
    * Updated selected and focused state of selectable calendar day.
    motss committed Dec 21, 2018
    Configuration menu
    Copy the full SHA
    24514af View commit details
    Browse the repository at this point in the history
  2. 🔥 src: Removed all Polymer-based elements

    * Dropping all Polymer elements in favor of `mwc-*` elements but yet to
      be released. At least for now, keeping the element lightweight and
      fast is top priority.
    * Moved focus of calendar table to its container.
    motss committed Dec 21, 2018
    Configuration menu
    Copy the full SHA
    5b1d3cb View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2018

  1. ✨ src: Added keyboard support for calendar

    * Navigating between calendar's month can be achieved with keyboard.
    * WIP - to add keyboard support for navigating years in year list.
    motss committed Dec 22, 2018
    Configuration menu
    Copy the full SHA
    f68cbc9 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2018

  1. ✨ Added getter and setter for new attribute/ property value

    * Added support for `value` just like how native datepicker works.
      Invalid date input will not update any date internally.
    * `yearList` already has keyboard support so no extra work is needed.
    motss committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    933a36d View commit details
    Browse the repository at this point in the history
  2. ✨ src: Added landscape and startView attributes

    * Introduced `landscape` attribute to set calendar to view in landscape
      mode.
    * Introduced `startView` attribute to set initial view when
      the datepicker first renders.
    * Due to the addition of `startView` breaks the implementation of
      updating `_totalDraggableDistance`, it has been fixed by moving the
      implementation to `updated` method with condition check.
    * Added CSS styling for calendar in landscape mode.
    * ⚡️ Identified an issue where `::after` pseudo-elements can trigger
      paint when the calendar container is in its dragging phase. An
      optimized solution for triggering lesser paint is by promoting certain
      layers to its own layer to reduce paint caused by its inner children
      elements, and removed all `::after` pseudo-elements in all calendar in
      initial render and only render the pseudo-element when needed, e.g.
      hovering and updating focused date. The improvement is phenomenal on
      low-end devices.
    * Refactored code to leverage `translate3d` for dragging/ tracking
      draggable element and removed the use of `left` CSS property to center
      too long calendar container.
    * [TIL]: Custom getter and setter methods for `value` and `startView`
      can be achieved by combination of `property` decorator and custom
      getter and setter methods. Without the use `property` decorator,
      `lit-element` will not be able to keep track of the
      attribute-to-property mapping and performs updates accordingly
      whenever its value changes via attribute or property. However,
      duplicate declarations of properties is prohibited in TypeScript.
      `// @ts-ignore` can be used to bypass the checking.
    motss committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    37c6935 View commit details
    Browse the repository at this point in the history
  3. ✨ src: Fired first updated event with 1st focusable element

    * Added `datepicker-first-updated` event to include 1st focusable
      element so that outside world can make use of this event to do more
      stuff.
    * Removed not-so-useful `keydown` event on calendar.
    * Minor code refactoring.
    motss committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    eff97ec View commit details
    Browse the repository at this point in the history
  4. ✨ src: Added abort dragging functionality for out-of-bound calendar

    * Refactored code to return `null` when a calendar has its first day
      larger than `max` or its last day smaller than `min`. When a calendar
      returns `null`, no rendering will take place for that month.
    * Month selector button will not render for disabled calendar. It
      restores when the left (first) and right (last) calendars are not
      disabled calendars (all calendar days fall in between valid date
      range).
    * Dragging functionality aborts when it attempts to happen on an
      out-of-bound calendar, that is, all calendar days are smaller than
      `min` or larger than `max`. A disabled calendar will not get rendered.
    motss committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    42bc099 View commit details
    Browse the repository at this point in the history
  5. 🐛 src: Out-of-bound max date

    * Removed time zone detail of a `max` date. A date in the format of
      `yyyy-MM-dd` suffices to convert to a Date object with timezone offset
      relative to UTC time. UTC time is the de facto way of ensuring that
      local timezone offset will not affect the final outcome of a selected
      date and it can be consumed safely from a browser to a backend server
      that is in different timezone.
    * Added additional condition check to ensure that 1st day of the current
      visible/ focusing month will be focused when a keyboard event fires.
      The value of month or full year in a `_selectedDate` could be altered
      by user's input without actually updating `_focusedDate` thus renders
      `_focusedDate` could be an out-of-bound date. This change will bring
      the focus back to currently visible/ focusing month when the user
      chooses to interact with that calendar again.
    motss committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    a5b3d12 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2018

  1. 🔥 src: Temporarily removed tracking functionality

    * `TouchEvent` does not work as well as that of Chrome on Firefox.
      It's not that straightforward to do tracking anymore if that is the
      case plus `pointer-tracker` also has problem on Firefox.
    
    * Fixed bug where flickering occurs when calendars re-render with new
      `_selectedDate` value after Web Animations ends on unsupported
      browsers such as Edge. Simple workaround for that is to set `fill` to
      `both` but this will break on other evergreen browsers. A flag is
      added to fix this minor issue with polyfill and native implementation.
    
    * Minor CSS update to set `line-height: 0` for element that has no text.
    motss committed Dec 25, 2018
    Configuration menu
    Copy the full SHA
    e939cb1 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2018

  1. ✨ src: Added new Tracker class for tracking/ dragging element

    * Finally, a simple `Tracker` class has been made for the element. It
      works on almost all tested browsers including notorious Firefox.
    motss committed Dec 26, 2018
    Configuration menu
    Copy the full SHA
    e15fca7 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2018

  1. ⬆️ package.json: Upgraded Rollup

    Congrats on Rollup's v1.0 release! It's been a great year with such
    amazing build tool.
    motss committed Dec 30, 2018
    Configuration menu
    Copy the full SHA
    e55d8e6 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2019

  1. ✨ src: Implemented <AppDatepickerDialog>

    Finally got some time to implement yet another important piece of the
    element which is the dialog version. It has been a tough lesson for me
    to get some stuffs to work as expected. `Web Animations` is used in this
    case for animations basically but the weird behavior from both the
    native supported browsers and the polyfill created different end
    results. Thanks to a simple polyfill for browsers like Chrome lacks
    native supported for the `Promise`d version that exposes a property
    named `finished`. By loading polyfill just because of that, it breaks
    all the animations on Chrome but it worked fine on other browsers. BTW,
    Firefox is the only browser that shipped a working Web Animations on its
    stable version.
    
    Another new update is that `rollup` might be redundant for creating
    libraries. `TypeScript`'s own CLI suffice to do the compilation since
    bundling is not needed for `lit-element` based components.
    motss committed Jan 2, 2019
    Configuration menu
    Copy the full SHA
    a108fcd View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2019

  1. ⬆️ package.json: Upgraded deps

    Upgraded Rollup plugins that supports Rollup v1.
    motss committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    55a4156 View commit details
    Browse the repository at this point in the history
  2. 💄 src: Minor CSS update to match that of native Android datepicker

    Minor CSS update including `border-radius` and improved animations when
    opening/ closing dialog.
    
    Removed `finished` polyfill for Chrome or browsers that natively
    supported Web Animations. A simple solution for that is to wrap the
    `onfinish` event handler with a Promise like so:
    
      new Promise(yay => (fadeInAnimation.onfinish = yay)).then(...)
    
    This has been a technique used while developing the datepicker. Totally
    forgotten about that and now this one-liner solution is once back again
    for the dialog's animations.
    
    Also worth to document this down later. `web-animations-next-lite` is
    the recommended polyfill for better cross platform compatibility. It
    works perfectly on Edge, Firefox, and Chrome (all tested). Yet to do a
    testing on Safari. It's TP version supports native Web Animations behind
    experimental flag. The main issue in other polyfill version is that
    `fill` is causing discrepancies after applying polyfills. On Edge,
    animated element will be set to the previous state forever and never get
    reset for subsequent animation to take place. In the case of datepicker,
    tracking logic that moves the calendar basically does nothing on
    subsequent runs.
    motss committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    d933510 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2019

  1. ✨ src: Improved keyboard support on datepicker dialog

    Added support for focus trap with `noFocusTrap` property. Focus
    management does not work well on Firefox when `overflow-y: auto` is set.
    This still needs to verify if this is a bug.
    
    Improved accessibility on datepicker dialog based on WAI-ARIA specs.
    
    Minor code refactoring and cleanup.
    motss committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    f4cf001 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2019

  1. 🔥 src: Code cleanup

    Removed Rollup in favor of TypeScript compiler for building library.
    LitElement user should build or bundle their own projects with bundler
    like Rollup to reduce the files shipped to end users.
    motss committed Jan 7, 2019
    Configuration menu
    Copy the full SHA
    71e5e38 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2019

  1. 💥 src: Updated to latest lit-element and lit-html

    The latest update introduces [Constructible Stylesheets][cs-url] via
    `static get styles()`. All codes have been refactored to use that for
    declaring styles with shareable styles. However this blocks TS
    compilation due to unsupported types of the new API which has yet to be
    implemented into browsers except being enabled by default in latest
    Chrome Canary 73. To learn more about the issue, please visit
    lit/lit-element#428.
    
    [cs-url]: https://www.chromestatus.com/feature/5394843094220800
    motss committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    5ca1bea View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2019

  1. 💥 src: Updated to latest lit-element and reinstall @material/mwc-button

    Latest `lit-element` has fixed a known issue where missing types are not
    exported thus breaks TS compilation for many users. To learn more about
    the issue, please visit lit/lit-element#428.
    
    `@material/mwc-button` has been updated to latest `lit-element` too.
    Reinstalled to make the buttons work again!
    motss committed Jan 12, 2019
    Configuration menu
    Copy the full SHA
    9cd429d View commit details
    Browse the repository at this point in the history
  2. 🔖 v4.0.0-rc.0

    motss committed Jan 12, 2019
    Configuration menu
    Copy the full SHA
    00d5834 View commit details
    Browse the repository at this point in the history
  3. 🔖 v4.0.0-rc.1

    motss committed Jan 12, 2019
    Configuration menu
    Copy the full SHA
    6c011c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd6a830 View commit details
    Browse the repository at this point in the history
  5. 🔖 v4.0.0-rc.2

    motss committed Jan 12, 2019
    Configuration menu
    Copy the full SHA
    74c768b View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2019

  1. ✅ test: WIP - adding missing tests

    Tried Karma but it has limited support for TypeScript, switched back to
    WCT.
    motss committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    9db60d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2019

  1. ⬆️ dep: Upgraded deps

    Upgraded LitElement to latest RC with fixes in `static get styles()`.
    
    Minor code cleanup.
    motss committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    c7f5ae5 View commit details
    Browse the repository at this point in the history
  2. 🔖 v4.0.0-rc.3

    motss committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    0ddb5eb View commit details
    Browse the repository at this point in the history
  3. 🔖 v4.0.0-rc.4

    motss committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    0e26f0b View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2019

  1. ✅ src: Updated tests

    Adding unit tests for <AppDatepicker> element.
    
    Improved project structure and config files to build for testing and
    publishing.
    motss committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    fd582c3 View commit details
    Browse the repository at this point in the history
  2. 🐛 src: Fixes a formatted date bug in different time zone, e.g. PST

    To ensure datetime consistency between the local browsers and the
    datepicker, input date value can be a local datetime but it needs to
    convert to UTC within the datepicker by picking just the date values
    with `get*` methods instead of `getUTC*` methods.
    
    FWIW, `get*` might return something unexpected in certain time zones
    but that is acceptable since the datepicker is relying on what the
    browser tells what it is.
    
    Fixes tests to ensure all datetime values within the datepicker is
    always in UTC time so `timeZone: UTC` is needed when doing a strict
    comparison.
    
    Also, added `_formatters` property to keep track of all kinds of date
    formatters depending on value of `locale`.
    
    Refactor year list with idiomatic JS and that requires polyfill for
    newly added `Array.prototype.keys`.
    motss committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    5863b41 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. 🐛 src: Fixes a bug where year is not formatted with locale

    All items in year list view now rendered with formatted year according
    to the value of `locale`.
    
    Changed `year` to `yearList` as one of the start/ selected views.
    
    Fixes IE11-only CSS hacks that is broken on other browsers. Now it works
    on IE11 and other browsers.
    
    ✅ Added more tests for year list view.
    
    KNOWN ISSUES:-
    
    - `disabledDays` and `disabledDates` are not supported.
    motss committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    758a395 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2019

  1. 🐛 src: Fixes polyfill.io not working as expected

    Fixes an issue where polyfill.io no longer works as expected to load
    necessary polyfills via feature detections or UA detection. A quick
    patch is to replace modern features with compatible codes to ensure
    Chrome 41 is able to load and run the datepicker without any issues.
    
    `pointerup` -> `click` event listener on scrim of
    `<AppDatepickerDialog>`.
    
    Due to andyearnshaw/Intl.js/issues/256, the Intl polyfill has to be
    pinned at v1.2.4. It breaks on Safari 9 and using older version should
    fix the broken tests.
    motss committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    306c05f View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. ✅ ci: Fixes tests due to SauceLabs' configuration on different browsers

    SauceLabs runs certain browsers on a machine that returns a different
    locale other than `en-US`. By defaulting to `en-US` for the tests should
    resolve the issues.
    
    Remove latest Node.js to reduce the number of testing environments as
    SauceLabs timed out quite frequently as this might the cause of it.
    motss committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    d82cae9 View commit details
    Browse the repository at this point in the history
  2. 💚 ci: Added firefox for local testings on CI only

    Run both Chrome and Firefox on CI but skips Firefox when testing on
    local machine. Run tests on other browsers via SauceLabs.
    motss committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    8f5dbaf View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2019

  1. ✅ test: Adds more tests to perfect the datepicker

    Fixes more bugs after adding more tests to perfecting the datepicker.
    
    Fixes a local date bug when different timezones are taken into account.
    Now there is a conversion for input date that reads local date reported
    from the browser locally and UTC date is used internally. The datepicker
    deals with UTC date to render the calendar and selected date is output
    as UTC date as well in the format of `yyyy-MM-dd`. The fix has been
    tested and it works so far in affected timezone (PST).
    
    Upgrades `lit-element` to latest version - RC5 as of this commit.
    motss committed Jan 27, 2019
    Configuration menu
    Copy the full SHA
    3d60a15 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2019

  1. ✅ src: Removes redundant tests and fixes failed tests due to LTR mark

    Stripping all LTR marks on output of Intl.DateTimeFormatter on older
    browsers: IE11, Edge < 18 to ensure cross-browsers compatibility and
    consistency since LTR mark is no longer part of the output in modern
    browsers.
    
    Removes `window-size` flag in WCT configuration file.
    motss committed Jan 28, 2019
    Configuration menu
    Copy the full SHA
    02507e6 View commit details
    Browse the repository at this point in the history
  2. ✅ test: Improved tests

    motss committed Jan 28, 2019
    Configuration menu
    Copy the full SHA
    f845061 View commit details
    Browse the repository at this point in the history
  3. ✅ src: Fixes broken tests due to IE11 on Windows 7

    Adds a couple of IE11 only fixes via CSS hacks or conventional CSS.
    
    Updates broken tests after adding IE11 fixes. To learn more, please see
    #128 which details all the bugs that experienced
    while building this project.
    motss committed Jan 28, 2019
    Configuration menu
    Copy the full SHA
    f4dd988 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2019

  1. Configuration menu
    Copy the full SHA
    b3fffc8 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2019

  1. Configuration menu
    Copy the full SHA
    5699a55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d4984a View commit details
    Browse the repository at this point in the history