Skip to content

Commit ecd915e

Browse files
author
Nathan Reyes
committed
Add navigation popover. Simplify header layout
2 parents 418b573 + 59e6ad9 commit ecd915e

36 files changed

+1011
-323
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.2.0
2+
* Simplify header title layout
3+
* Add navigation panel popover with indicators
4+
* Add passive event modifiers for touch events
5+
* Add 'go to today' with header title click
6+
* Add 'hover' as visibility option for popovers
7+
* Redesign popovers to display caret arrows
8+
* Move DateInfo class into separate file
9+
* Fix date logic for range intersections
10+
111
## 0.1.1
212
* Add documentation for custom theming
313
* Restructure docs component hierarchy

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# V-Calendar
22

3-
> V-Calendar is a lightweight, dependency-free plugin for building attributed calendars in Vue.js.
3+
> V-Calendar is a clean and lightweight plugin for building attributed calendars in Vue.js.
44
5-
Visit http://vcalendar.netlify.com for demos and API reference. This plug-in is currently in beta state.
5+
Visit https://vcalendar.netlify.com for demos and API reference. This plug-in is currently in beta state.
66

77
## Features
88

99
* Display clean and simple attributed calendars
1010
* Built-in support for various attributes, including
1111
* highlighted regions
12-
* indicators
12+
* dot and bar indicators
1313
* day content styles (hovered and non-hovered)
14-
* Apply attributes over multiple dates or date ranges (start & end dates)
14+
* Apply attributes for multiple dates or date ranges (start & end dates)
15+
* Semantic inspired popover navigation panel with month-level attribute indicators
1516
* Date-picker supporting all native v-calendar props/events with various selection modes
1617
* single date
1718
* multiple dates
@@ -37,6 +38,7 @@ import Vue from 'vue';
3738
import VCalendar from 'v-calendar';
3839
import 'v-calendar/lib/v-calendar.min.css';
3940

41+
// Use v-calendar, v-date-picker & v-popover components
4042
Vue.use(VCalendar);
4143
```
4244

docs/components/api/props.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ export default [
105105
},
106106
{
107107
name: '<code>popover-visibility: Number</code>',
108-
description: '<span class="tag is-warning">Date Picker</span>Visibility state of the popover: Auto: <code>-1</code>, Hidden: <code>0</code>, Visible: <code>1</code>',
109-
default: 'Auto: <code>-1</code>',
108+
description: '<span class="tag is-warning">Date Picker</span>Visibility state of the popover: <code>"hover"</code>, <code>"focus"</code>, <code>"hidden"</code>, <code>"visible"</code>',
109+
default: '<code>"hover"</code>',
110110
},
111111
{
112112
name: '<code>input-class: String</code>',

docs/components/api/sections/SectionApi.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<section id='api' class='section'>
33
<div class='container'>
4+
<h3 class='title has-text-primary is-spaced'>API</h3>
45
<b-message type='is-warning'>
56
<span class="tag is-warning">Date Picker</span> Denotes API specific to <i>v-date-picker</i> components only.
67
</b-message>

docs/components/api/tables/TableApiPage.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ export default {
6565
propertyName: '<code>nextMonthComps: Object</code>',
6666
description: 'Components <code>{ <i>days</i>, <i>month</i>, <i>year</i> }</code> for the next month.',
6767
},
68+
{
69+
propertyName: '<code>position: Number</code>',
70+
description: 'Position of the page. Single Pane: <code>0</code>, Left Pane: <code>1</code>, Right Pane: <code>2</code>',
71+
},
6872
{
6973
propertyName: '<code>move(<i>month</i>, <i>year</i>): Function</code>',
7074
description: 'Function that moves to a page with a specified month and year.',

docs/components/app/sections/SectionHeader.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@
2424
<nav class='tabs is-boxed'>
2525
<ul>
2626
<router-link tag='li' to='/' exact><a>Intro</a></router-link>
27-
<router-link tag='li' to='/setup'><a>Setup</a></router-link>
2827
<router-link tag='li' to='/theming'><a>Theming</a></router-link>
2928
<router-link tag='li' to='/api'><a>API</a></router-link>
29+
<router-link tag='li' to='/gallery'><a>Gallery</a></router-link>
30+
<router-link tag='li' to='/setup'><a>Setup</a></router-link>
3031
</ul>
3132
</nav>
3233
</div>

docs/components/app/sections/SectionNavbar.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
</div>
1818
<div class='navbar-menu' :class='{ "is-active": isMenuActive }'>
1919
<div class='navbar-end'>
20-
<router-link class='navbar-item is-hidden-tablet' to='/' exact><a>Intro</a></router-link>
21-
<router-link class='navbar-item is-hidden-tablet' to='/setup'><a>Setup</a></router-link>
22-
<router-link class='navbar-item is-hidden-tablet' to='/styling'><a>Styling</a></router-link>
23-
<router-link class='navbar-item is-hidden-tablet' to='/api'><a>API</a></router-link>
20+
<router-link class='navbar-item is-hidden-desktop' to='/' exact><a>Intro</a></router-link>
21+
<router-link class='navbar-item is-hidden-desktop' to='/theming'><a>Theming</a></router-link>
22+
<router-link class='navbar-item is-hidden-desktop' to='/api'><a>API</a></router-link>
23+
<router-link class='navbar-item is-hidden-desktop' to='/gallery'><a>Gallery</a></router-link>
24+
<router-link class='navbar-item is-hidden-desktop' to='/setup'><a>Setup</a></router-link>
2425
<a class='navbar-item' title='Github' href='https://github.com/nathanreyes/v-calendar' target='_blank'>
2526
<b-icon icon='github'></b-icon>
2627
</a>

docs/components/blocks/CodeBlock.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<figure class='highlight' :class=' { "offset": offset }'>
3-
<button class='button is-small copy-code'>Copy</button>
3+
<button class='button is-small copy-code' v-clipboard:copy='code'>Copy</button>
44
<pre v-highlight><code :class='lang'>{{ code }}</code></pre>
55
</figure>
66
</template>

0 commit comments

Comments
 (0)