storybook_engine 1.2.0 → 1.4.2

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: 464a25dc1e8c7cbeee56b889ad85d03a20d1d6300a5b269395e0be23b5c40878
4
- data.tar.gz: 92d454785ddbcecbd4c4c88e8f5d04c200acbce4743e32acaf1178d77b785fa5
3
+ metadata.gz: 3e28c9e2c5cb699eeb4120ba2ef3be8fe86d0c12117e3432251a748a9fb72558
4
+ data.tar.gz: 526e9c8f7d46ffadfbcc71a5a8d0253c1cbe8e6811aa4b92384b858fcedc5c55
5
5
  SHA512:
6
- metadata.gz: 44ecbc7025733af308a0a743e46e522fbd21305c1c49af6e251e569f957b64af0b5b46a3d59ad58b2a8800043bfab8d3ec872e6ba625940cbdbb2a62cc3d604d
7
- data.tar.gz: c7fc8f4da56516eccf094d16431c87b066da8fc46e25306bb70227e91afdeaa5bb910fc0db9fde6772aeb593fb7c9d637d898503fa2c86b561128c26d7cad02a
6
+ metadata.gz: 524b5a9725837254f0334438490dd91299d6bd495f9a62095da06a1179c4bc4e52ca1312c9462c7ef1b2c69c9aab459f8f18008c764f73f2868face0c3df02b5
7
+ data.tar.gz: 02ec3979b100d0184a9aeeb5c156fe5e14f5e81d733e5dc4587e456a1b495124b28c39ed302e7a9d055174bbdd6b613b420ac8ae06d5b67f043eb0fd38215780
data/README.md CHANGED
@@ -25,7 +25,7 @@ $ gem install storybook_engine
25
25
 
26
26
  After add gem please add this line into your applications.scss:
27
27
  ```bash
28
- @import "storybook_engine/application";
28
+ @import "storybook_engine";
29
29
  ```
30
30
 
31
31
  ## License
@@ -15,7 +15,6 @@
15
15
  */
16
16
 
17
17
  @import "helpers/mixins";
18
- @import "helpers/colors";
19
18
  @import "helpers/common-used";
20
19
 
21
20
  @import "components/buttons";
@@ -1,5 +1,3 @@
1
- @import "../helpers/colors";
2
-
3
1
  .zenhr-button {
4
2
  padding: 0.9rem;
5
3
  height: 3.5rem;
@@ -14,14 +12,14 @@
14
12
  .zenhr-primary-button {
15
13
  color: $white;
16
14
  --bg-opacity: 1;
17
- background-color: $primary-blue;
18
- border-color: $primary-blue;
15
+ background-color: $primary-color;
16
+ border-color: $primary-color;
19
17
 
20
18
  &:hover, :focus {
21
- color: $primary-blue;
19
+ color: $primary-color;
22
20
  background-color: $white;
23
- border-color: $primary-blue;
24
- box-shadow: 0 0 0.25rem 0 $primary-blue;
21
+ border-color: $primary-color;
22
+ box-shadow: 0 0 0.25rem 0 $primary-color;
25
23
  }
26
24
 
27
25
  &:disabled {
@@ -1,6 +1,3 @@
1
- @import "colors";
2
- @import "mixins";
3
-
4
1
  .delete-action {
5
2
  cursor: pointer;
6
3
 
@@ -5,7 +5,7 @@
5
5
  <%= csrf_meta_tags %>
6
6
  <%= csp_meta_tag %>
7
7
 
8
- <%= stylesheet_link_tag "storybook_engine/application", media: "all" %>
8
+ <%= stylesheet_link_tag "storybook_engine/_index", media: "all" %>
9
9
  </head>
10
10
  <body>
11
11
 
@@ -1,3 +1,3 @@
1
1
  module StorybookEngine
2
- VERSION = '1.2.0'
2
+ VERSION = '1.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storybook_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amr Abu Aza
@@ -41,19 +41,18 @@ files:
41
41
  - README.md
42
42
  - Rakefile
43
43
  - app/assets/config/storybook_engine_manifest.js
44
- - app/assets/stylesheets/storybook_engine/application.scss
44
+ - app/assets/stylesheets/storybook_engine/_index.scss
45
45
  - app/assets/stylesheets/storybook_engine/components/_buttons.scss
46
- - app/assets/stylesheets/storybook_engine/helpers/_colors.scss
47
46
  - app/assets/stylesheets/storybook_engine/helpers/_common-used.scss
48
47
  - app/assets/stylesheets/storybook_engine/helpers/_mixins.scss
49
- - app/components/storybook_engine/button_component.html.haml
50
- - app/components/storybook_engine/button_component.rb
51
- - app/components/storybook_engine/input_component.html.haml
52
- - app/components/storybook_engine/input_component.rb
53
- - app/components/storybook_engine/label_component.html.haml
54
- - app/components/storybook_engine/label_component.rb
55
- - app/components/storybook_engine/link_component.html.haml
56
- - app/components/storybook_engine/link_component.rb
48
+ - app/components/ButtonComponent/button_component.html.haml
49
+ - app/components/ButtonComponent/button_component.rb
50
+ - app/components/InputComponent/input_component.html.haml
51
+ - app/components/InputComponent/input_component.rb
52
+ - app/components/LabelComponent/label_component.html.haml
53
+ - app/components/LabelComponent/label_component.rb
54
+ - app/components/LinkComponent/link_component.html.haml
55
+ - app/components/LinkComponent/link_component.rb
57
56
  - app/controllers/storybook_engine/application_controller.rb
58
57
  - app/helpers/storybook_engine/application_helper.rb
59
58
  - app/jobs/storybook_engine/application_job.rb
@@ -1,5 +0,0 @@
1
- $charcoal: #484848;
2
- $red: #e30b1c;
3
- $black: #000;
4
- $white: #fff;
5
- $primary-blue: #007bff;