Skip to content
This repository was archived by the owner on Jul 25, 2019. It is now read-only.

Commit 4066bbe

Browse files
committed
Handsontable 0.10.0-beta1
1 parent ad14ad3 commit 4066bbe

11 files changed

+5017
-4097
lines changed

Diff for: CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [0.10.0-beta1](https://github.com/warpech/jquery-handsontable/tree/v0.10.0-beta1) (Sep 24, 2013)
2+
3+
Big functional changes in 0.10 branch:
4+
- an easier API for creating cell editors (see docs)
5+
- [`autocomplete`](http://handsontable.com/demo/autocomplete.html) cell type now uses Handsontable as the options list (previously was using Bootstrap Typeahead)
6+
7+
Bugfixes:
8+
- [native scrollbars](http://handsontable.com/demo/scroll_native.html) performance improvement
9+
10+
Code quality improvements:
11+
- change some of jQuery usage ($.isFunction, $.trim) to plain JavaScript
12+
113
## [0.9.18](https://github.com/warpech/jquery-handsontable/tree/v0.9.18) (Sep 19, 2013)
214

315
Features:

Diff for: bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "handsontable",
3-
"version": "0.9.18",
3+
"version": "0.10.0-beta1",
44
"main": ["./dist/jquery.handsontable.full.js", "./dist/jquery.handsontable.full.css"],
55
"ignore": [
66
"**/.*",

Diff for: dist/jquery.handsontable.css

+97-26
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
/**
2-
* Handsontable 0.9.18
2+
* Handsontable 0.10.0-beta1
33
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
44
*
55
* Copyright 2012, Marcin Warpechowski
66
* Licensed under the MIT license.
77
* http://handsontable.com/
88
*
9-
* Date: Thu Sep 19 2013 01:45:41 GMT+0200 (Central European Daylight Time)
9+
* Date: Tue Sep 24 2013 09:52:41 GMT+0200 (Central European Daylight Time)
1010
*/
1111

1212
.handsontable {
1313
position: relative;
14-
font-family: Arial, Helvetica, sans-serif;
15-
line-height: 1.3em;
16-
font-size: 13px;
1714
}
1815

1916
.handsontable.htAutoColumnSize {
@@ -28,15 +25,15 @@
2825
.handsontable thead,
2926
.handsontable td,
3027
.handsontable th,
31-
.handsontable div
32-
{
28+
.handsontable div {
3329
box-sizing: content-box;
3430
-webkit-box-sizing: content-box;
3531
-moz-box-sizing: content-box;
3632
}
3733

3834
.handsontable table.htCore {
39-
border-collapse: separate; /*it must be separate, otherwise there are offset miscalculations in WebKit: http://stackoverflow.com/questions/2655987/border-collapse-differences-in-ff-and-webkit*/
35+
border-collapse: separate;
36+
/*it must be separate, otherwise there are offset miscalculations in WebKit: http://stackoverflow.com/questions/2655987/border-collapse-differences-in-ff-and-webkit*/
4037
position: relative;
4138
/*this actually only changes appearance of user selection - does not make text unselectable
4239
-webkit-user-select: none;
@@ -71,13 +68,14 @@
7168
height: 22px;
7269
empty-cells: show;
7370
line-height: 21px;
74-
padding: 0 4px 0 4px; /* top, bottom padding different than 0 is handled poorly by FF with HTML5 doctype */
71+
padding: 0 4px 0 4px;
72+
/* top, bottom padding different than 0 is handled poorly by FF with HTML5 doctype */
7573
background-color: #FFF;
76-
font-size: 12px;
7774
vertical-align: top;
7875
overflow: hidden;
7976
outline-width: 0;
80-
white-space: pre-line; /* preserve new line character in cell */
77+
white-space: pre-line;
78+
/* preserve new line character in cell */
8179
}
8280

8381
.handsontable td.htInvalid {
@@ -128,10 +126,6 @@
128126
white-space: nowrap;
129127
}
130128

131-
.handsontable th .small {
132-
font-size: 12px;
133-
}
134-
135129
.handsontable thead th {
136130
padding: 0;
137131
}
@@ -200,6 +194,7 @@
200194
}
201195

202196
/* border line */
197+
203198
.handsontable .wtBorder {
204199
position: absolute;
205200
font-size: 0;
@@ -210,6 +205,7 @@
210205
}
211206

212207
/* fill handle */
208+
213209
.handsontable .wtBorder.corner {
214210
font-size: 0;
215211
cursor: crosshair;
@@ -226,16 +222,16 @@
226222
outline-width: 0;
227223
margin: 0;
228224
padding: 1px 4px 0 2px;
229-
font-family: Arial, Helvetica, sans-serif; /*repeat from .handsontable (inherit doesn't work with IE<8) */
230-
line-height: 1.3em; /*repeat from .handsontable (inherit doesn't work with IE<8) */
231-
font-size: 13px;
225+
font-family: Arial, Helvetica, sans-serif;
226+
/*repeat from .handsontable (inherit doesn't work with IE<8) */
227+
line-height: 1.3em;
228+
/*repeat from .handsontable (inherit doesn't work with IE<8) */
229+
font-size: inherit;
232230
-webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
233231
box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
234232
resize: none;
235-
236233
/*below are needed to overwrite stuff added by jQuery UI Bootstrap theme*/
237234
display: inline-block;
238-
font-size: 13px;
239235
color: #000;
240236
border-radius: 0;
241237
}
@@ -244,21 +240,35 @@
244240
position: absolute;
245241
top: 0;
246242
left: 0;
247-
width: 1px;
248-
height: 1px;
243+
z-index: 100;
244+
}
245+
246+
.htSelectEditor {
247+
-webkit-appearance: menulist-button !important;
248+
position: absolute;
249249
}
250250

251251
/*
252252
TextRenderer readOnly cell
253253
*/
254+
254255
.handsontable .htDimmed {
255256
font-style: italic;
256257
color: #777;
257258
}
258259

260+
/*
261+
TextRenderer placeholder value
262+
*/
263+
264+
.handsontable .htPlaceholder {
265+
color: #999;
266+
}
267+
259268
/*
260269
AutocompleteRenderer down arrow
261270
*/
271+
262272
.handsontable .htAutocomplete {
263273
position: relative;
264274
padding-right: 20px;
@@ -282,23 +292,23 @@ AutocompleteRenderer down arrow
282292
/*
283293
CheckboxRenderer
284294
*/
295+
285296
.handsontable .htCheckboxRendererInput.noValue {
286297
opacity: 0.5;
287298
}
288299

289300
/*
290301
NumericRenderer
291302
*/
303+
292304
.handsontable .htNumeric {
293305
text-align: right;
294306
}
295307

296308
/* typeahead rules. Needed only if you are using the autocomplete feature */
309+
297310
.handsontable .typeahead {
298311
position: absolute;
299-
font-family: Arial, Helvetica, sans-serif;
300-
line-height: 1.3em;
301-
font-size: 13px;
302312
z-index: 10;
303313
top: 100%;
304314
left: 0;
@@ -352,12 +362,14 @@ NumericRenderer
352362
}
353363

354364
/*context menu rules*/
365+
355366
ul.context-menu-list {
356367
color: black;
357368
}
358369

359370
ul.context-menu-list li {
360-
margin-bottom: 0; /*Foundation framework fix*/
371+
margin-bottom: 0;
372+
/*Foundation framework fix*/
361373
}
362374

363375
/**
@@ -381,4 +393,63 @@ ul.context-menu-list li {
381393

382394
.handsontable .dragdealer .disabled {
383395
background: #898989;
396+
}
397+
398+
/**
399+
* Handsontable in Handsontable
400+
*/
401+
402+
.handsontable .handsontable .wtHider {
403+
padding: 0 0 5px 0;
404+
}
405+
406+
.handsontable .handsontable table {
407+
-webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
408+
box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
409+
}
410+
411+
/**
412+
* Handsontable listbox theme
413+
*/
414+
415+
.handsontable.listbox {
416+
margin: 0;
417+
}
418+
419+
.handsontable.listbox table {
420+
border: 1px solid #ccc;
421+
border-collapse: separate;
422+
background: white;
423+
}
424+
425+
.handsontable.listbox th,
426+
.handsontable.listbox tr:first-child th,
427+
.handsontable.listbox tr:last-child th,
428+
.handsontable.listbox tr:first-child td,
429+
.handsontable.listbox td {
430+
border-width: 0;
431+
}
432+
433+
.handsontable.listbox th,
434+
.handsontable.listbox td {
435+
white-space: nowrap;
436+
text-overflow: ellipsis;
437+
}
438+
439+
.handsontable.listbox td.htDimmed {
440+
cursor: default;
441+
color: inherit;
442+
font-style: inherit;
443+
}
444+
445+
.handsontable.listbox .wtBorder {
446+
visibility: hidden;
447+
}
448+
449+
.handsontable.listbox .current {
450+
font-weight: bold;
451+
}
452+
453+
.handsontable.listbox tr:hover td {
454+
background: #eee;
384455
}

0 commit comments

Comments
 (0)