beyond-rails 0.0.206 → 0.0.212

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33ea08dc8bf98acf8465442ae93d6ed62dc980c078bbe5bf80feb75113ba0154
4
- data.tar.gz: f75502fb24fba0b328661979431a0141a58b505fad9e4e640e6b1bc3167f9c89
3
+ metadata.gz: 66767efb242ab578214d8635453980ed11de8f8b7a726e44bd3637c5fb258b20
4
+ data.tar.gz: a87bb51ac683959f961452da0bb269903277681ea398639f7799ec03a447db8f
5
5
  SHA512:
6
- metadata.gz: 0d460950281c2df848623313dcaa112e12bf043f587f6dead55463e067a972b9caba3bb86c2e82527ee28c6e43436d6db5003e9fe6c91d85c8c2c654c2a9dca7
7
- data.tar.gz: b5c04888cd17d6ccc9ff02e06bc087f62c0cfcd5d746df450de6483cf0d502641788d1a6b45125e95d452d04735b00417325a39ac0dc75e000307a02e570e08d
6
+ metadata.gz: '08ecb52a279b63b7563b609d1e85dc0239de376005e9fe0339dd4d766916e930ffea6e3c8295400f54d07672f15e7a2cd632e499c820239a2296d02cab0c7e05'
7
+ data.tar.gz: 8212aa99a1ff83d5af31a9ac7ae1478d47e30b65341fa84e26aa0993a79a8388ac4d2005c87b4d9142b802b7118e66eb3935d2256329309ee725756c5f1bd7b4
@@ -75,6 +75,13 @@ export default class Modal {
75
75
  const div = document.createElement('div')
76
76
  div.innerHTML = html.trim()
77
77
  const dom = div.firstChild
78
+
79
+ // keep the id that is created by $.uniqModal()
80
+ const originalDomId = this.dom.id
81
+ if (originalDomId === 'beyond-uniq-modal') {
82
+ dom.id = originalDomId
83
+ }
84
+
78
85
  this.dom.parentNode.replaceChild(dom, this.dom)
79
86
 
80
87
  this.dom = dom
@@ -2,10 +2,8 @@
2
2
  [class^="icon-"] {
3
3
  font-size: 11px;
4
4
  color: #4f566b;
5
- margin-left: 4px;
5
+ margin-left: .7em;
6
6
  display: inline-block;
7
- vertical-align: middle;
8
- transform: translateY(-1px);
9
7
  }
10
8
  [class^="icon-"].no-text {
11
9
  margin-left: 0;
@@ -75,6 +75,17 @@ fieldset {
75
75
  }
76
76
  }
77
77
 
78
+ label.required {
79
+ &:after {
80
+ display: inline-block;
81
+ margin-left: 4px;
82
+ content: '*';
83
+ color: #6772e5;
84
+ font-size: 16px;
85
+ transform: translateY(-2px);
86
+ }
87
+ }
88
+
78
89
  .form-inline {
79
90
  display: flex;
80
91
  align-items: center;
@@ -93,7 +104,7 @@ fieldset {
93
104
  .hint.hint-danger {
94
105
  color: #e03953;
95
106
  &:before {
96
- font-family: 'icomoon';
107
+ font-family: $beyond-icon-font-name;
97
108
  margin-right: 4px;
98
109
  display: inline-block;
99
110
  transform: translateY(1px);
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.206
4
+ version: 0.0.212
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-09-22 00:00:00.000000000 Z
12
+ date: 2020-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sassc