titon-toolkit 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +13 -0
- data/readme.md +1 -1
- data/roadmap.md +1 -0
- data/scss/toolkit/_common.scss +1 -0
- data/scss/toolkit/components/drop.scss +1 -8
- data/scss/toolkit/components/flyout.scss +1 -1
- data/scss/toolkit/components/mask.scss +1 -1
- data/scss/toolkit/components/modal.scss +5 -13
- data/scss/toolkit/components/off-canvas.scss +3 -2
- data/scss/toolkit/components/tabs.scss +1 -1
- data/scss/toolkit/components/toast.scss +1 -0
- data/scss/toolkit/components/tooltip.scss +2 -4
- data/scss/toolkit/components/type-ahead.scss +5 -1
- data/scss/toolkit/layout/base.scss +2 -2
- data/version.md +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 195a933c7b9058f27df45b0d592f37a9932f5fd4
|
4
|
+
data.tar.gz: b58d6d2050d5a15b8213f1205145852c30b9ec98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c26c3be835025c74083bc97cd9574a120f252f44ca84789692199232512db88f159b3278c1242163adb3ba9e7ca5c4b0b49f096279fe46c915c5b29b4b74f7ec
|
7
|
+
data.tar.gz: 136fa057c8c1c8c5b041a9cf01f878571c1bbf3c0ca92e31140f98d76320ae8416039c13be5829b8560a90796299d550ecc5baff2a5d5ec506802a7c5ffd7a5d
|
data/changelog.md
CHANGED
@@ -2,6 +2,19 @@
|
|
2
2
|
|
3
3
|
Older versions can be found in the documentation changelogs.
|
4
4
|
|
5
|
+
## 1.4.1 ##
|
6
|
+
* Added `opacity: 0` to `.hide` for easier fade transitions
|
7
|
+
* Improved fade transitions within all components
|
8
|
+
* Fixed a bug with swipe not working on Android
|
9
|
+
* Fixed a bug with certain elements not showing in iOS
|
10
|
+
* OffCanvas
|
11
|
+
* Added `primary` and `secondary` properties
|
12
|
+
* Added `stopScroll` option
|
13
|
+
* Popover, Tooltip
|
14
|
+
* Fixed a bug where the arrow was being removed before the transition ended
|
15
|
+
* Type Ahead
|
16
|
+
* Added `$typeAhead-transition`
|
17
|
+
|
5
18
|
## 1.4.0 ##
|
6
19
|
This minor release includes 3 new components, a new `destroy()` method,
|
7
20
|
a cleanup of element and event options, expanded documentation, and a handful of optimization improvements.
|
data/readme.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
\/_/ \/_____/\/_____/\/_____/\/_/\/_/ \/_/ \/_/
|
7
7
|
```
|
8
8
|
|
9
|
-
# Toolkit v1.4.
|
9
|
+
# Toolkit v1.4.1 #
|
10
10
|
|
11
11
|
Titon Toolkit is a collection of very powerful user interface components and utility classes
|
12
12
|
for the responsive, mobile, and modern web. Each component represents encapsulated HTML, CSS,
|
data/roadmap.md
CHANGED
@@ -26,6 +26,7 @@ All releases will contain bug fixing and polishing for current features.
|
|
26
26
|
* Updated to Sass 3.3 (maps for settings).
|
27
27
|
* Refactor events for before/after conditions.
|
28
28
|
* RTL support.
|
29
|
+
* Add debug option.
|
29
30
|
* Take Google fundamentals into consideration - https://developers.google.com/web/fundamentals/
|
30
31
|
|
31
32
|
### 3.0.0 ###
|
data/scss/toolkit/_common.scss
CHANGED
@@ -110,6 +110,7 @@ $showcase-transition: $default-transition !default;
|
|
110
110
|
$switch-transition: $default-transition !default;
|
111
111
|
$toast-transition: $default-transition !default;
|
112
112
|
$tooltip-transition: $default-transition !default;
|
113
|
+
$typeAhead-transition: $default-transition !default;
|
113
114
|
|
114
115
|
//-------------------- Z Index --------------------//
|
115
116
|
|
@@ -8,7 +8,6 @@
|
|
8
8
|
|
9
9
|
.#{$vendor-prefix}drop {
|
10
10
|
@include reset-list;
|
11
|
-
display: none;
|
12
11
|
text-align: left;
|
13
12
|
position: absolute;
|
14
13
|
top: 100%;
|
@@ -18,7 +17,7 @@
|
|
18
17
|
z-index: $drop-zindex;
|
19
18
|
opacity: 0;
|
20
19
|
visibility: hidden;
|
21
|
-
transition: opacity $drop-transition, visibility $drop-transition;
|
20
|
+
transition: left $drop-transition, opacity $drop-transition, visibility $drop-transition;
|
22
21
|
|
23
22
|
// Nested
|
24
23
|
.#{$vendor-prefix}drop {
|
@@ -26,7 +25,6 @@
|
|
26
25
|
top: 0;
|
27
26
|
left: 90%;
|
28
27
|
z-index: $drop-zindex + 1;
|
29
|
-
transition: left $drop-transition, opacity $drop-transition;
|
30
28
|
}
|
31
29
|
|
32
30
|
// Apply to self
|
@@ -61,11 +59,6 @@
|
|
61
59
|
}
|
62
60
|
}
|
63
61
|
}
|
64
|
-
|
65
|
-
// Force display
|
66
|
-
&.show {
|
67
|
-
display: block;
|
68
|
-
}
|
69
62
|
}
|
70
63
|
|
71
64
|
.#{$vendor-prefix}drop-divider {
|
@@ -48,7 +48,7 @@
|
|
48
48
|
// Nested flyouts
|
49
49
|
> .#{$vendor-prefix}flyout {
|
50
50
|
left: 90%;
|
51
|
-
transition: left $flyout-transition, right $flyout-transition, opacity $flyout-transition;
|
51
|
+
transition: left $flyout-transition, right $flyout-transition, opacity $flyout-transition, visibility $flyout-transition;
|
52
52
|
|
53
53
|
// Reverse menu to left side in case it goes outside the viewport
|
54
54
|
// Will be set automatically from the Javascript layer
|
@@ -12,11 +12,13 @@
|
|
12
12
|
left: 0;
|
13
13
|
width: 100%;
|
14
14
|
height: 100%;
|
15
|
+
opacity: 0;
|
16
|
+
visibility: hidden;
|
15
17
|
z-index: $modal-zindex;
|
16
18
|
overflow: auto;
|
17
|
-
-
|
18
|
-
visibility: hidden;
|
19
|
+
transition: opacity $modal-transition, visibility $modal-transition;
|
19
20
|
pointer-events: none; // fall through to blackout
|
21
|
+
-webkit-overflow-scrolling: touch;
|
20
22
|
|
21
23
|
&.is-loading {
|
22
24
|
.#{$vendor-prefix}modal-close { display: none; }
|
@@ -45,6 +47,7 @@
|
|
45
47
|
position: relative;
|
46
48
|
margin: $margin;
|
47
49
|
pointer-events: auto; // allow within modal
|
50
|
+
transition: transform $modal-transition;
|
48
51
|
|
49
52
|
@include if-min($modal-mobile-breakpoint) {
|
50
53
|
width: 50%;
|
@@ -78,17 +81,6 @@
|
|
78
81
|
//-------------------- Animations --------------------//
|
79
82
|
|
80
83
|
.#{$vendor-prefix}modal {
|
81
|
-
#{join-classes($modal-animation)} {
|
82
|
-
.#{$vendor-prefix}modal-outer {
|
83
|
-
opacity: 0;
|
84
|
-
transition: all $modal-transition;
|
85
|
-
}
|
86
|
-
|
87
|
-
&.show .#{$vendor-prefix}modal-outer {
|
88
|
-
opacity: 1;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
84
|
@if index($modal-animation, "from-above") {
|
93
85
|
&.from-above {
|
94
86
|
.#{$vendor-prefix}modal-outer {
|
@@ -7,13 +7,14 @@
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
9
|
.#{$vendor-prefix}off-canvas {
|
10
|
-
visibility: visible;
|
11
10
|
position: fixed;
|
12
11
|
overflow: auto;
|
13
12
|
top: 0;
|
14
13
|
height: 100%;
|
15
14
|
z-index: 1;
|
16
|
-
|
15
|
+
opacity: 0;
|
16
|
+
visibility: hidden;
|
17
|
+
transition: transform $offCanvas-transition, opacity $offCanvas-transition, visibility $offCanvas-transition;
|
17
18
|
-webkit-overflow-scrolling: touch;
|
18
19
|
}
|
19
20
|
|
@@ -73,16 +73,16 @@ $tooltip-arrow-width-double: ($tooltip-arrow-width * 2);
|
|
73
73
|
|
74
74
|
.#{$vendor-prefix}tooltip,
|
75
75
|
.#{$vendor-prefix}popover {
|
76
|
+
transition: opacity $tooltip-transition, visibility $tooltip-transition, transform $tooltip-transition;
|
77
|
+
|
76
78
|
@if index($popover-tooltip-animation, "fade") {
|
77
79
|
&.fade {
|
78
80
|
opacity: 0;
|
79
|
-
transition: opacity $tooltip-transition, visibility $tooltip-transition;
|
80
81
|
}
|
81
82
|
}
|
82
83
|
|
83
84
|
@if index($popover-tooltip-animation, "from-above") {
|
84
85
|
&.from-above {
|
85
|
-
transition: transform $tooltip-transition;
|
86
86
|
transform: scale(1.2);
|
87
87
|
|
88
88
|
&.show {
|
@@ -93,7 +93,6 @@ $tooltip-arrow-width-double: ($tooltip-arrow-width * 2);
|
|
93
93
|
|
94
94
|
@if index($popover-tooltip-animation, "from-below") {
|
95
95
|
&.from-below {
|
96
|
-
transition: transform $tooltip-transition;
|
97
96
|
transform: scale(0.8);
|
98
97
|
|
99
98
|
&.show {
|
@@ -104,7 +103,6 @@ $tooltip-arrow-width-double: ($tooltip-arrow-width * 2);
|
|
104
103
|
|
105
104
|
@if index($popover-tooltip-animation, "flip-rotate") {
|
106
105
|
&.flip-rotate {
|
107
|
-
transition: transform $tooltip-transition;
|
108
106
|
transform: rotate(-15deg);
|
109
107
|
|
110
108
|
&.show {
|
@@ -13,7 +13,11 @@
|
|
13
13
|
z-index: $typeAhead-zindex;
|
14
14
|
opacity: 0;
|
15
15
|
visibility: hidden;
|
16
|
-
transition: opacity
|
16
|
+
transition: opacity $typeAhead-transition, visibility $typeAhead-transition;
|
17
|
+
|
18
|
+
// Fixes issues where menu does not display in iOS
|
19
|
+
// Kind of hacky? Other solutions?
|
20
|
+
-webkit-backface-visibility: hidden;
|
17
21
|
|
18
22
|
ul {
|
19
23
|
@include reset-list;
|
@@ -21,12 +21,12 @@
|
|
21
21
|
|
22
22
|
// Animations
|
23
23
|
.show { opacity: 1 !important; visibility: visible !important; }
|
24
|
-
.hide { visibility: hidden !important; }
|
24
|
+
.hide { opacity: 0 !important; visibility: hidden !important; }
|
25
25
|
|
26
26
|
// Display
|
27
27
|
.shown { display: block; }
|
28
28
|
.hidden { display: none; }
|
29
|
-
.no-scroll { overflow: hidden; }
|
29
|
+
.no-scroll { overflow: hidden !important; }
|
30
30
|
.no-transition { transition: none !important; }
|
31
31
|
|
32
32
|
.sr-only {
|
data/version.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: titon-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Project Titon
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|