beyond-rails 0.0.256 → 0.0.261
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/src/js/components/LineChart.js +1 -0
- data/src/js/components/TagInput.js +4 -0
- data/src/sass/_main.scss +4 -0
- data/src/sass/base/_typography.scss +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b12342b2961fe3455aa91cb6da5b19c7f6d68dd2c5f9559e7ba6f1be32710711
|
4
|
+
data.tar.gz: '085f490c627a182572e411666a67f4a29e9bb0ff3fb869b42095cb7348bd4f9f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c069481c3a41f361b5cf291782ea0321098a2ea63218a05359ea085ebf7d501dd6c127231d0531ce5535f3ab9dc160bc3511318de4e788b6ae885f4f4fc91782
|
7
|
+
data.tar.gz: 19b8018a6b008501250fc50132c9a5f4b83feb83d1f633e9bf75e3be5946f76cc59f94e3f08f37c79894a23116fe1912493bd715a5188eac1549f0e002ffb002
|
@@ -140,6 +140,7 @@ export default class TagInput {
|
|
140
140
|
dom.insertBefore(tag.elem, inputDiv)
|
141
141
|
})
|
142
142
|
this.tags = tags
|
143
|
+
this.change(this.tags.slice())
|
143
144
|
}
|
144
145
|
|
145
146
|
addTag(inputValue, options = {}) {
|
@@ -190,8 +191,11 @@ export default class TagInput {
|
|
190
191
|
let lastValue = ''
|
191
192
|
|
192
193
|
this.addEvent(input, 'keydown', async event => {
|
194
|
+
|
193
195
|
const key = getKey(event)
|
194
196
|
if ((key === 'enter') && (! this.isComposing)) {
|
197
|
+
event.preventDefault()
|
198
|
+
event.stopPropagation()
|
195
199
|
await this.addTagIfNeeded()
|
196
200
|
}
|
197
201
|
else if ((key === 'backspace') && (lastValue === '')) {
|
data/src/sass/_main.scss
CHANGED
@@ -33,19 +33,19 @@ h6 {
|
|
33
33
|
}
|
34
34
|
|
35
35
|
.txt-primary {
|
36
|
-
color: $txt-color-primary;
|
36
|
+
color: $txt-color-primary !important;
|
37
37
|
}
|
38
38
|
.txt-secondary {
|
39
|
-
color: $txt-color-secondary;
|
39
|
+
color: $txt-color-secondary !important;
|
40
40
|
}
|
41
41
|
.txt-success {
|
42
|
-
color: $txt-color-success;
|
42
|
+
color: $txt-color-success !important;
|
43
43
|
}
|
44
44
|
.txt-warn {
|
45
|
-
color: $txt-color-warn;
|
45
|
+
color: $txt-color-warn !important;
|
46
46
|
}
|
47
47
|
.txt-danger {
|
48
|
-
color: $txt-color-danger;
|
48
|
+
color: $txt-color-danger !important;
|
49
49
|
}
|
50
50
|
|
51
51
|
.txt-white {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.261
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kmsheng
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-11-
|
12
|
+
date: 2020-11-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sassc
|