zuora_connect_ui 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7da537166f15d960fb293bb8e5f6e85c61cfc03d
4
- data.tar.gz: ad9175c60d92b1b6e7068aefb8526ddfaf96adc9
3
+ metadata.gz: f7ca0d9fdc75934d78215e104abd21005e41f922
4
+ data.tar.gz: 196176b35dbd1cc17e34514724043bb56a555e28
5
5
  SHA512:
6
- metadata.gz: ccbadaf04baaddd51a7bd632e9e812df4bc7b07951442bd1b782a8b3123cf0ac5a86b86cba7e3280c90631850c85514852cc1f5f5e98e15da0f1dbf7993fd349
7
- data.tar.gz: 2888ec386620b232b226ccab857654bcdcec8495f62fa656568e854c27f3cc572370cf025dcd5ef6403c1fdb8c4633c922652e4e8dfc00528c9c603833debbfc
6
+ metadata.gz: fea8af28addd267f2a3c2bb17f8403ebd1bdb80d5471e686d55ffc77584da1ec1597b429ff8f37625bb2a21ccae8d7dd88cdf1dbcc64beeb0d83c261bee72976
7
+ data.tar.gz: e6b239ddcbcf9916b32e3ae5ec6954e619f805c568149f78d82f0355248eab84597d449555f68bece745454b5e480c27bd6a083f2314d6cc3b62e92d29c0e348
data/README.md CHANGED
@@ -28,17 +28,6 @@ $ gem install zuora_connect_ui
28
28
 
29
29
  ## Usage
30
30
 
31
- ### HTML Imports
32
-
33
- Add to the end of `<head>` in `app/views/layouts/application.html.erb` (or the root layout of your app)
34
- ```html
35
- <head>
36
- ...
37
- <link href="https://fonts.googleapis.com/css?family=Muli:400,600,700" rel="stylesheet">
38
- <link href="https://d3ntcvh9ql14ma.cloudfront.net/zui/1.4.0/css/zui.icons.css" rel="stylesheet">
39
- </head>
40
- ```
41
-
42
31
  ### SCSS Imports
43
32
 
44
33
  Add to `app/assets/stylesheets/application.scss`
@@ -29,7 +29,7 @@ const zStorage = (function() {
29
29
  };
30
30
  })();
31
31
 
32
- const DEBUG = true;
32
+ const DEBUG = false;
33
33
 
34
34
  function getTableParams(tableName, settings, callback) {
35
35
  const [cacheFilters, paramFilters] = settings.filters.reduce(
@@ -2,7 +2,7 @@ $(document).on("hidden.bs.modal shown.bs.modal shown.bs.tab", resize_iframe);
2
2
 
3
3
  let height_prev;
4
4
  function resize_iframe() {
5
- if (hallwayPrefix == "") {
5
+ if (typeof(hallwayPrefix) !== "undefined" && hallwayPrefix == "") {
6
6
  return;
7
7
  }
8
8
  var height = 0;
@@ -1,23 +1,28 @@
1
- $primary: #384B5D;
2
- $neutral-1: #1A232B;
3
- $neutral-2: #D0D3DA;
4
- $neutral-3: #F1F2F4;
5
- $neutral-4: #FFFFFF;
6
- $support-1: #036ED1;
7
- $support-2: #31B865;
8
- $support-3: #FFE952;
9
- $support-4: #D23F3C;
10
- $zuora-accent: #6EC5AB; //zuora aqua
1
+ $primary: #384b5d;
2
+ $neutral-1: #1a232b;
3
+ $neutral-2: #d0d3da;
4
+ $neutral-3: #f1f2f4;
5
+ $neutral-4: #ffffff;
6
+ $support-1: #036ed1;
7
+ $support-2: #31b865;
8
+ $support-3: #ffe952;
9
+ $support-4: #d23f3c;
10
+ $zuora-accent: #6ec5ab; //zuora aqua
11
11
  $primary-hover: #025aab;
12
12
 
13
- $disabled-btn-bg: #E9EBEE;
14
- $neutral-shadow: rgba(56, 75, 93, 0.3); // disabled btn text color, dropdown box shadow color
13
+ $disabled-btn-bg: #e9ebee;
14
+ $neutral-shadow: rgba(
15
+ 56,
16
+ 75,
17
+ 93,
18
+ 0.3
19
+ ); // disabled btn text color, dropdown box shadow color
15
20
 
16
- $brand-primary: $primary; //New
17
- $brand-success: $support-2; //show
18
- $brand-info: #6d95a0; //Edit/Update
19
- $brand-warning: $support-3; //Other
20
- $brand-danger: $support-4; //Deleted
21
+ $brand-primary: $primary; //New
22
+ $brand-success: $support-2; //show
23
+ $brand-info: #6d95a0; //Edit/Update
24
+ $brand-warning: $support-3; //Other
25
+ $brand-danger: $support-4; //Deleted
21
26
 
22
27
  // $navbar-default-color: #394b5b;
23
28
  // $navbar-default-bg: #394b5b;
@@ -70,13 +75,13 @@ $modal-backdrop-bg: #fff;
70
75
  $modal-content-bg: #fff;
71
76
  $modal-header-border-color: transparent;
72
77
  $modal-title-padding: 15px 20px;
73
- $modal-inner-padding: 15px 20px;;
78
+ $modal-inner-padding: 15px 20px;
74
79
  $modal-footer-border-color: transparent;
75
80
  $modal-sm: 400px;
76
81
  $modal-md: 600px;
77
82
  $modal-lg: 800px;
78
- $modal-backdrop-bg: rgb(57,75,93) ;
79
- $modal-backdrop-opacity: .6;
83
+ $modal-backdrop-bg: rgb(57, 75, 93);
84
+ $modal-backdrop-opacity: 0.6;
80
85
  $modal-content-border-color: 2px solid #e9ebee;
81
86
  $modal-content-fallback-border-color: 2px solid #e9ebee;
82
87
 
@@ -86,9 +91,9 @@ $btn-border-radius-medium: 3px;
86
91
  $btn-border-radius-large: 5px;
87
92
 
88
93
  // Panels are used by summernote, which shouldn't really be here
89
- $panel-bg: #FFF;
90
- $panel-default-heading-bg: #FFF;
91
- $panel-default-border: #FFF;
94
+ $panel-bg: #fff;
95
+ $panel-default-heading-bg: #fff;
96
+ $panel-default-border: #fff;
92
97
 
93
98
  // JQuery UI
94
99
  @import "jquery-ui";
@@ -119,6 +124,10 @@ $check-icon: "\E936";
119
124
  // Glyphicon and FA
120
125
  @import "css/icons.scss";
121
126
 
127
+ // Zui Icons + Muli Font
128
+ @import url("https://d3ntcvh9ql14ma.cloudfront.net/zui/1.4.0/css/zui.icons.css");
129
+ @import url("https://fonts.googleapis.com/css?family=Muli:400,600,700");
130
+
122
131
  // Zuora Connect UI
123
132
  @import "zuora_connect_ui/base";
124
133
  @import "zuora_connect_ui/box";
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZuoraConnectUi
4
- VERSION = '0.2.8'
4
+ VERSION = '0.2.9'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-05 00:00:00.000000000 Z
11
+ date: 2019-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-sass