Skip to content

Commit 2f8fea8

Browse files
committed
fix: Various fixes for v0.9 build
1 parent 6c4d487 commit 2f8fea8

File tree

19 files changed

+161
-118
lines changed

19 files changed

+161
-118
lines changed

dev/components/components/popover.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<div class="card" style="margin-top: 75px">
3939
<div class="card-title bg-primary text-center">
4040
<button class="orange push">
41-
Tap
41+
Tap Me
4242

4343
<q-popover
4444
ref="popover2"

dev/components/form/datetime.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<p class="caption">Min & Max</p>
7373
<q-datetime type="datetime" v-model="minMaxModel" :min="min" :max="max"></q-datetime>
7474

75-
<p class="caption">Range <sup>(beta)</sup></p>
75+
<p class="caption">Range</p>
7676
<q-datetime type="datetime" v-model="range.start" :min="range.min" :max="range.end"></q-datetime>
7777
<q-datetime type="datetime" v-model="range.end" :min="range.start" :max="range.max"></q-datetime>
7878

@@ -148,7 +148,7 @@
148148
<p class="caption">Min & Max</p>
149149
<q-inline-datetime type="datetime" v-model="minMaxModel" :min="min" :max="max"></q-inline-datetime>
150150

151-
<p class="caption">Range <sup>(beta)</sup></p>
151+
<p class="caption">Range</p>
152152
<q-inline-datetime type="datetime" v-model="range.start" :min="range.min" :max="range.end"></q-inline-datetime>
153153
<q-inline-datetime type="datetime" v-model="range.end" :min="range.start" :max="range.max"></q-inline-datetime>
154154
</div>

dev/components/form/range.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<q-range v-model="marker" :min="0" :max="10" :step="2" label snap markers></q-range>
4343

4444
<p class="caption">
45-
Display Label All the Time
45+
Display Label Always
4646
<span class="label inline bg-secondary text-white">
4747
Model <span class="right-detail"><em>{{label}}</em> &nbsp;&nbsp;(-20 to 20, step 4)</span>
4848
</span>

dev/components/test-layout/layout.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@
3131
</div>
3232

3333
<div class="list no-border platform-delimiter">
34-
<q-drawer-link icon="view_quilt" route="/test-layout/about">
34+
<q-drawer-link icon="view_quilt" to="/test-layout/about">
3535
About Layout
3636
</q-drawer-link>
3737
<hr>
3838
<div class="list-label">Layout Components</div>
39-
<q-drawer-link icon="build" route="/test-layout/toolbar">
39+
<q-drawer-link icon="build" to="/test-layout/toolbar">
4040
Toolbar
4141
</q-drawer-link>
42-
<q-drawer-link icon="tab" route="/test-layout/tabs">
42+
<q-drawer-link icon="tab" to="/test-layout/tabs">
4343
Tabs
4444
</q-drawer-link>
45-
<q-drawer-link icon="compare_arrows" route="/test-layout/drawer">
45+
<q-drawer-link icon="compare_arrows" to="/test-layout/drawer">
4646
Layout Drawer
4747
</q-drawer-link>
4848
</div>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quasar-framework",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "Simultaneously build desktop/mobile SPA websites & phone/tablet apps with VueJS",
55
"main": "dist/quasar.common.js",
66
"jsnext:main": "dist/quasar.es6.js",

src/components/action-sheet/ActionSheet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
position-classes="items-end justify-center"
66
transition="q-modal-actions"
77
:content-css="css"
8+
@close="$root.$destroy()"
89
>
910
<!-- Material -->
1011
<div v-once v-if="$quasar.theme === 'mat'">
@@ -153,7 +154,6 @@ export default {
153154
return
154155
}
155156
this.$refs.dialog.close(() => {
156-
this.$root.$destroy()
157157
if (typeof fn === 'function') {
158158
fn()
159159
}
Lines changed: 114 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,126 @@
1-
$table-font-size ?= .8rem
2-
$table-highlight-color ?= #f2f2f2
3-
$table-color ?= $grey-8
4-
$table-border ?= 1px solid rgba(0, 0, 0, .12)
1+
$table-stripe-color ?= rgba(0, 0, 0, .07)
2+
$table-highlight-color ?= rgba(0, 0, 0, .14)
3+
$table-border ?= 1px solid rgba(0, 0, 0, .12)
54

65
table.q-table
7-
position relative
8-
border 0
96
border-collapse collapse
10-
font-size $table-font-size
11-
background-color white
12-
color $table-color
7+
border-spacing 0
8+
empty-cells show
9+
table-layout fixed
1310

14-
&.bordered, &.cell-delimiter
15-
border $table-border
16-
&.cell-delimiter
11+
thead
12+
text-align left
13+
vertical-align bottom
14+
font-weight 700
15+
16+
th, td
17+
&:first-child
18+
border-left-width 0
19+
20+
margin 0
21+
overflow visible
22+
padding .5rem .7rem
23+
24+
&.compact
1725
th, td
18-
border-right $table-border
19-
&.row-delimiter, &.cell-delimiter
26+
padding .1rem .3rem
27+
&.loose
2028
th, td
21-
border-bottom $table-border
22-
23-
&.striped
24-
tbody tr
25-
&:nth-child(odd)
26-
background $table-highlight-color
27-
td
28-
border-radius 0
29-
th
30-
border-bottom $table-border
31-
border-bottom-width 2px
29+
padding 1rem
3230

33-
thead
34-
th
35-
padding 12px 18px
31+
&.bordered, &.cell-delimiter:not(.responsive):not(.flipped)
32+
border $table-border
33+
34+
&:not(.responsive):not(.flipped)
35+
&.horizontal-delimiter, &.cell-delimiter
36+
th, td
37+
border-bottom $table-border
38+
39+
&.vertical-delimiter, &.cell-delimiter
40+
th, td
41+
border-left $table-border
42+
&:last-child
43+
border-right $table-border
44+
45+
&.striped-odd, &.striped
46+
tbody tr:nth-child(odd)
47+
background $table-stripe-color
48+
&.striped-even
49+
tbody tr:nth-child(even)
50+
background $table-stripe-color
51+
52+
&.flipped
53+
display flex
54+
overflow hidden
55+
background none
56+
57+
thead
58+
display flex
59+
flex-shrink 0
60+
min-width min-content
61+
62+
tbody
63+
display flex
3664
position relative
37-
vertical-align bottom
38-
text-overflow ellipsis
39-
font-weight 700
40-
line-height 24px
41-
letter-spacing 0
42-
height 48px
43-
font-size 12px
44-
color rgba(0, 0, 0, .54)
45-
&:first-of-type
46-
padding-left 24px
47-
&:last-of-type
48-
padding-right 24px
49-
tbody
65+
overflow-x auto
66+
overflow-y hidden
67+
5068
tr
51-
position relative
52-
height 48px
53-
td
54-
position relative
55-
height 48px
56-
padding 12px 18px
57-
vertical-align middle
58-
&:first-of-type
59-
padding-left 24px
60-
&:last-of-type
61-
padding-right 24px
69+
display flex
70+
flex-direction column
71+
min-width min-content
72+
flex-shrink 0
73+
74+
td, th
75+
display block
6276

63-
&.compact
64-
th
65-
padding-left 5px
66-
padding-right 5px
6777
td
68-
padding 5px
78+
background-image none !important
79+
border-left 0
80+
81+
th:not(:last-child),
82+
td:not(:last-child)
83+
border-bottom 0
84+
85+
&.horizontal-delimiter, &.cell-delimiter
86+
tr
87+
border-left $table-border
88+
border-right $table-border
89+
90+
&.vertical-delimiter, &.cell-delimiter
91+
th, td
92+
border-top $table-border
93+
&:last-child
94+
border-bottom $table-border
95+
96+
@media (max-width $layout-small-max)
97+
&.responsive:not(.flipped)
98+
thead
99+
display none
100+
tr, td
101+
display block
102+
tr
103+
position relative
104+
td:before
105+
content attr(data-th)
106+
display block
107+
text-align left
108+
font-weight bold
109+
110+
&.horizontal-delimiter
111+
tr:not(:last-child)
112+
border-bottom $table-border
113+
114+
&.cell-delimiter
115+
tr
116+
border $table-border
117+
118+
&.vertical-delimiter, &.cell-delimiter
119+
th, td
120+
border-left $table-border
121+
border-right $table-border
69122

70-
body.desktop table.q-table.highlight
71-
tbody tr, th
72-
transition all .28s ease-in
73-
&:hover
74-
background darken($table-highlight-color, 5%)
123+
body.desktop table.q-table.highlight tbody tr
124+
transition all .28s ease-in
125+
&:hover
126+
background $table-highlight-color

src/index.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Utils from './utils'
2626
import { LocalStorage, SessionStorage } from './features/web-storage'
2727

2828
let Quasar = {
29-
version: '0.9.0',
29+
version: '0.9.1',
3030
install,
3131
start,
3232
theme

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Utils from './utils'
2626
import { LocalStorage, SessionStorage } from './features/web-storage'
2727

2828
let Quasar = {
29-
version: '0.9.0',
29+
version: '0.9.1',
3030
install,
3131
start,
3232
theme,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
$backdrop-opacity ?= .3
1+
$backdrop-opacity ?= .3
22
$backdrop-background ?= rgba(0, 0, 0, $backdrop-opacity)
3-
$generic-margin ?= 5px
3+
$generic-margin ?= 5px

0 commit comments

Comments
 (0)