bootstrap-bookingsync-sass 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -18
  3. data/CHANGELOG.md +8 -0
  4. data/README.md +0 -112
  5. data/assets/javascripts/bookingsync/form.js +1 -1
  6. data/assets/stylesheets/_bootstrap-bookingsync.scss +0 -3
  7. data/assets/stylesheets/bookingsync/_modals.scss +0 -4
  8. data/docs/Gemfile +3 -2
  9. data/docs/content/assets/stylesheets/_icons.scss +0 -5
  10. data/docs/content/assets/stylesheets/_variables.scss +0 -1
  11. data/docs/content/brand/iconography.md +14 -16
  12. data/docs/layouts/sidebar.html +0 -7
  13. data/lib/bootstrap-bookingsync-sass.rb +9 -10
  14. data/lib/bootstrap/bookingsync/version.rb +1 -1
  15. metadata +3 -175
  16. data/.ember-cli +0 -9
  17. data/.eslintignore +0 -20
  18. data/.eslintrc.js +0 -105
  19. data/.jshintrc +0 -32
  20. data/.npmignore +0 -31
  21. data/.template-lintrc.js +0 -5
  22. data/.travis.yml +0 -84
  23. data/.watchmanconfig +0 -3
  24. data/CONTRIBUTING.md +0 -26
  25. data/LICENSE +0 -21
  26. data/addon/.gitkeep +0 -0
  27. data/addon/components/bsy-alert.js +0 -26
  28. data/addon/components/bsy-annotated-section.js +0 -8
  29. data/addon/components/bsy-annotated-section/annotation.js +0 -8
  30. data/addon/components/bsy-annotated-section/content.js +0 -8
  31. data/addon/components/bsy-button.js +0 -29
  32. data/addon/components/bsy-button/close.js +0 -13
  33. data/addon/components/bsy-checkbox.js +0 -16
  34. data/addon/components/bsy-icon.js +0 -33
  35. data/addon/components/bsy-input-addon.js +0 -16
  36. data/addon/components/bsy-input-addon/addon.js +0 -8
  37. data/addon/components/bsy-input-addon/input.js +0 -17
  38. data/addon/components/bsy-input.js +0 -42
  39. data/addon/components/bsy-modal.js +0 -17
  40. data/addon/components/bsy-modal/body.js +0 -8
  41. data/addon/components/bsy-modal/close.js +0 -7
  42. data/addon/components/bsy-modal/footer.js +0 -8
  43. data/addon/components/bsy-modal/header.js +0 -8
  44. data/addon/components/bsy-nav.js +0 -8
  45. data/addon/components/bsy-nav/item.js +0 -10
  46. data/addon/components/bsy-nav/link.js +0 -10
  47. data/addon/components/bsy-popover.js +0 -5
  48. data/addon/components/bsy-radio-buttons.js +0 -10
  49. data/addon/components/bsy-radio-buttons/button.js +0 -20
  50. data/addon/components/bsy-radio.js +0 -14
  51. data/addon/components/bsy-select-multiple.js +0 -14
  52. data/addon/components/bsy-select.js +0 -14
  53. data/addon/components/bsy-sheet.js +0 -7
  54. data/addon/components/bsy-sheet/header.js +0 -7
  55. data/addon/components/bsy-switch.js +0 -15
  56. data/addon/components/bsy-textarea.js +0 -17
  57. data/addon/templates/components/bsy-alert.hbs +0 -6
  58. data/addon/templates/components/bsy-annotated-section.hbs +0 -1
  59. data/addon/templates/components/bsy-annotated-section/annotation.hbs +0 -1
  60. data/addon/templates/components/bsy-annotated-section/content.hbs +0 -1
  61. data/addon/templates/components/bsy-button.hbs +0 -9
  62. data/addon/templates/components/bsy-button/close.hbs +0 -1
  63. data/addon/templates/components/bsy-checkbox.hbs +0 -8
  64. data/addon/templates/components/bsy-input-addon.hbs +0 -3
  65. data/addon/templates/components/bsy-input-addon/addon.hbs +0 -1
  66. data/addon/templates/components/bsy-input-addon/input.hbs +0 -8
  67. data/addon/templates/components/bsy-input.hbs +0 -14
  68. data/addon/templates/components/bsy-modal.hbs +0 -8
  69. data/addon/templates/components/bsy-modal/body.hbs +0 -1
  70. data/addon/templates/components/bsy-modal/close.hbs +0 -1
  71. data/addon/templates/components/bsy-modal/footer.hbs +0 -1
  72. data/addon/templates/components/bsy-modal/header.hbs +0 -2
  73. data/addon/templates/components/bsy-nav.hbs +0 -1
  74. data/addon/templates/components/bsy-nav/item.hbs +0 -1
  75. data/addon/templates/components/bsy-nav/link.hbs +0 -1
  76. data/addon/templates/components/bsy-radio-buttons.hbs +0 -3
  77. data/addon/templates/components/bsy-radio-buttons/button.hbs +0 -7
  78. data/addon/templates/components/bsy-radio.hbs +0 -9
  79. data/addon/templates/components/bsy-select-multiple.hbs +0 -11
  80. data/addon/templates/components/bsy-select.hbs +0 -13
  81. data/addon/templates/components/bsy-sheet.hbs +0 -1
  82. data/addon/templates/components/bsy-sheet/header.hbs +0 -1
  83. data/addon/templates/components/bsy-switch.hbs +0 -9
  84. data/addon/templates/components/bsy-textarea.hbs +0 -8
  85. data/app/.gitkeep +0 -0
  86. data/app/components/bsy-alert.js +0 -1
  87. data/app/components/bsy-annotated-section.js +0 -1
  88. data/app/components/bsy-annotated-section/annotation.js +0 -1
  89. data/app/components/bsy-annotated-section/content.js +0 -1
  90. data/app/components/bsy-button.js +0 -1
  91. data/app/components/bsy-button/close.js +0 -1
  92. data/app/components/bsy-checkbox.js +0 -1
  93. data/app/components/bsy-icon.js +0 -1
  94. data/app/components/bsy-input-addon.js +0 -1
  95. data/app/components/bsy-input-addon/addon.js +0 -1
  96. data/app/components/bsy-input-addon/input.js +0 -1
  97. data/app/components/bsy-input.js +0 -1
  98. data/app/components/bsy-modal.js +0 -1
  99. data/app/components/bsy-modal/body.js +0 -1
  100. data/app/components/bsy-modal/close.js +0 -1
  101. data/app/components/bsy-modal/footer.js +0 -1
  102. data/app/components/bsy-modal/header.js +0 -1
  103. data/app/components/bsy-nav.js +0 -1
  104. data/app/components/bsy-nav/item.js +0 -1
  105. data/app/components/bsy-nav/link.js +0 -1
  106. data/app/components/bsy-popover.js +0 -1
  107. data/app/components/bsy-radio-buttons.js +0 -1
  108. data/app/components/bsy-radio-buttons/button.js +0 -1
  109. data/app/components/bsy-radio.js +0 -1
  110. data/app/components/bsy-select-multiple.js +0 -1
  111. data/app/components/bsy-select.js +0 -1
  112. data/app/components/bsy-sheet.js +0 -1
  113. data/app/components/bsy-sheet/header.js +0 -1
  114. data/app/components/bsy-switch.js +0 -1
  115. data/app/components/bsy-textarea.js +0 -1
  116. data/assets/stylesheets/bookingsync/_ember-power-select.scss +0 -126
  117. data/assets/stylesheets/bookingsync/_ember-toggle.scss +0 -13
  118. data/assets/stylesheets/bookingsync/_ember-tooltips.scss +0 -15
  119. data/blueprints/ember-cli-bootstrap-bookingsync-sass/files/app/styles/app.scss +0 -3
  120. data/blueprints/ember-cli-bootstrap-bookingsync-sass/files/app/templates/application.hbs +0 -31
  121. data/blueprints/ember-cli-bootstrap-bookingsync-sass/files/ember-cli-build.js +0 -28
  122. data/blueprints/ember-cli-bootstrap-bookingsync-sass/index.js +0 -16
  123. data/config/deploy.js +0 -30
  124. data/config/ember-try.js +0 -83
  125. data/config/environment.js +0 -16
  126. data/docs/public/ember/assets/dummy-605390683726afd79cffdf529eb4531a.css +0 -28
  127. data/docs/public/ember/assets/dummy-daae8f1136db419cd268e84ad4f5c989.js +0 -2
  128. data/docs/public/ember/assets/vendor-226e4280b8b1da91e2e598b6726ea1f4.js +0 -28
  129. data/docs/public/ember/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css +0 -0
  130. data/docs/public/ember/crossdomain.xml +0 -15
  131. data/docs/public/ember/fonts/bookingsync/bookingsync-icons.eot +0 -0
  132. data/docs/public/ember/fonts/bookingsync/bookingsync-icons.svg +0 -60
  133. data/docs/public/ember/fonts/bookingsync/bookingsync-icons.ttf +0 -0
  134. data/docs/public/ember/fonts/bookingsync/bookingsync-icons.woff +0 -0
  135. data/docs/public/ember/fonts/bookingsync/bookingsync-icons.woff2 +0 -0
  136. data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.eot +0 -0
  137. data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.svg +0 -19
  138. data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.ttf +0 -0
  139. data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.woff +0 -0
  140. data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.woff2 +0 -0
  141. data/docs/public/ember/index.html +0 -27
  142. data/docs/public/ember/robots.txt +0 -3
  143. data/ember-cli-build.js +0 -22
  144. data/index.js +0 -34
  145. data/package-lock.json +0 -20985
  146. data/package.json +0 -83
  147. data/testem.js +0 -25
  148. data/tests/dummy/app/app.js +0 -14
  149. data/tests/dummy/app/components/.gitkeep +0 -0
  150. data/tests/dummy/app/components/navbar/component.js +0 -5
  151. data/tests/dummy/app/components/navbar/template.hbs +0 -19
  152. data/tests/dummy/app/components/sidebar/component.js +0 -5
  153. data/tests/dummy/app/components/sidebar/template.hbs +0 -45
  154. data/tests/dummy/app/controllers/.gitkeep +0 -0
  155. data/tests/dummy/app/controllers/index.js +0 -42
  156. data/tests/dummy/app/helpers/.gitkeep +0 -0
  157. data/tests/dummy/app/index.html +0 -25
  158. data/tests/dummy/app/models/.gitkeep +0 -0
  159. data/tests/dummy/app/resolver.js +0 -3
  160. data/tests/dummy/app/router.js +0 -12
  161. data/tests/dummy/app/routes/.gitkeep +0 -0
  162. data/tests/dummy/app/styles/app.scss +0 -8
  163. data/tests/dummy/app/templates/application.hbs +0 -12
  164. data/tests/dummy/app/templates/components/.gitkeep +0 -0
  165. data/tests/dummy/app/templates/index.hbs +0 -299
  166. data/tests/dummy/config/environment.js +0 -52
  167. data/tests/dummy/config/optional-features.json +0 -3
  168. data/tests/dummy/config/targets.js +0 -18
  169. data/tests/dummy/public/robots.txt +0 -3
  170. data/tests/helpers/.gitkeep +0 -0
  171. data/tests/helpers/resolver.js +0 -11
  172. data/tests/index.html +0 -33
  173. data/tests/integration/.gitkeep +0 -0
  174. data/tests/integration/components/bsy-alert-test.js +0 -26
  175. data/tests/integration/components/bsy-button-test.js +0 -26
  176. data/tests/integration/components/bsy-checkbox-test.js +0 -77
  177. data/tests/integration/components/bsy-input-test.js +0 -120
  178. data/tests/integration/components/bsy-nav-test.js +0 -26
  179. data/tests/integration/components/bsy-nav/item-test.js +0 -26
  180. data/tests/integration/components/bsy-nav/link-test.js +0 -26
  181. data/tests/integration/components/bsy-popover-test.js +0 -28
  182. data/tests/integration/components/bsy-sheet-test.js +0 -26
  183. data/tests/integration/components/bsy-sheet/header-test.js +0 -26
  184. data/tests/integration/components/bsy-switch-test.js +0 -21
  185. data/tests/integration/components/bsy-textarea-test.js +0 -13
  186. data/tests/test-helper.js +0 -8
  187. data/vendor/.gitkeep +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cad711e92ae3a1dbb83a0ab62ee717aa74070c124a9aa7e4d16abca8815decc
4
- data.tar.gz: befbd1e23505ad05f3f5ae3a4801d75281f24be275a7b88a4e5744c899807b99
3
+ metadata.gz: 0a1c17a76af083f458c07366b53d2cd2dced6a49e6b618b285e78a6495042be5
4
+ data.tar.gz: 393068042d4b3daccb8e00e0f3b029e78cd0a48a4b4df2ec6d72fed97c6aeebe
5
5
  SHA512:
6
- metadata.gz: 757da9516b660e7a5cbb540126f82de13313efb732f645e6fcd87f209d285a694032302adbe3f761fbbc2f5831dd369ec5ef0c427add152df74af5a7646b13c7
7
- data.tar.gz: fc092a79587c0e61c20c64ac725b59371a9693bd1a31a62f17ffac89d1fe714ebf6b31c028a856e21ec4e5844f6fbc1edb42a9564048ddc2d988d42cd037d151
6
+ metadata.gz: 2b7202354fd5d22373ebe44dd8b7b3686fa19be2a8689b820c3fa7c435184a402d01898ba54483a9eff6c339086234266b07b1c3c14a58ec25330c3faf63977f
7
+ data.tar.gz: a2d6a5e528c21420a70d8c7961db6b52770387ebf7615745968b9bf4567116069d47456405ecc071868e883687a37ef50734b097e3f185d8491d14310c4b87ba
data/.gitignore CHANGED
@@ -5,15 +5,6 @@ docs/output
5
5
  docs/tmp
6
6
  docs/crash.log
7
7
 
8
- ## For Ember Addon
9
- # compiled output
10
- /dist/
11
- /tmp/
12
-
13
- # dependencies
14
- /bower_components/
15
- /node_modules/
16
-
17
8
  # misc
18
9
  /.env*
19
10
  /.pnp*
@@ -21,13 +12,4 @@ docs/crash.log
21
12
  /connect.lock
22
13
  /coverage/
23
14
  /libpeerconnection.log
24
- /npm-debug.log*
25
- /yarn-error.log
26
- /testem.log
27
- /bootstrap-bookingsync-sass.iml
28
15
  /.idea/
29
-
30
- # ember-try
31
- /.node_modules.ember-try/
32
- /bower.json.ember-try
33
- /package.json.ember-try
@@ -1,5 +1,13 @@
1
1
  ### master
2
2
 
3
+ ### 3.0.0 - 2020-05-26
4
+
5
+ * improvements
6
+ * Fix Rails 6+ with Sprockets support
7
+
8
+ * breaking changes
9
+ * remove Ember support
10
+
3
11
  ### 2.0.0 - 2020-04-06
4
12
 
5
13
  * improvements
data/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  Support for:
6
6
 
7
7
  * [Rails Applications](#rails-applications)
8
- * [Ember Applications](#ember-applications)
9
8
 
10
9
  ## Rails Applications
11
10
 
@@ -147,114 +146,3 @@ SimpleForm::Inputs::Base.send(:include, SimpleForm::Components::Addons)
147
146
  <%= f.input :pecentage, wrapper: :bs_addon, append_addon: '%' %>
148
147
  <%= f.input :money, wrapper: :bs_addon, prepend_addon: '$', append_addon: 'USD' %>
149
148
  ```
150
-
151
- ## Ember Applications
152
-
153
- ### Installation
154
-
155
- #### When this Addon will be released
156
-
157
- ``` sh
158
- ember install ember-cli-bootstrap-bookingsync-sass
159
- ```
160
-
161
- #### While in development
162
-
163
- Clone the styleguide repo and expose it to your local NPM packages
164
-
165
- ``` sh
166
- git clone https://github.com/BookingSync/bootstrap-bookingsync-sass
167
- cd bootstrap-bookingsync-sass
168
- npm link
169
- ```
170
-
171
- From your Ember App:
172
-
173
- 1) Install the package from your local NPM packages.
174
-
175
- ``` sh
176
- npm link ember-cli-bootstrap-bookingsync-sass
177
- ```
178
-
179
- 2) Edit `package.js` and add `"ember-cli-bootstrap-bookingsync-sass": "*",` in your `devDependencies"`.
180
-
181
- 3) Run the blueprints manually as not done automatically in development mode.
182
-
183
- ``` sh
184
- ember g ember-cli-bootstrap-bookingsync-sass
185
- ```
186
-
187
- #### All the time
188
-
189
- Add in your `ember-cli-build.js`
190
-
191
- ``` js
192
- var app = new EmberApp(defaults, {
193
- 'ember-cli-bootstrap-sassy': {
194
- 'js': false,
195
- 'glyphicons': false
196
- }
197
- });
198
- ```
199
-
200
- Ember CLI Bootstrap BookingSync SASS uses fonts from Google Fonts, so the URL to them has to be white listed. You can set this by adding to the Content Security Policy defined in config/environment.js like so:
201
-
202
- ```js
203
- ENV.contentSecurityPolicy = {
204
- 'default-src': "'none'",
205
- 'script-src': "'self' 'unsafe-inline'",
206
- 'style-src': "'self' 'unsafe-inline' https://fonts.googleapis.com",
207
- 'font-src': "'self' fonts.gstatic.com",
208
- 'connect-src': "'self'",
209
- 'img-src': "'self' data:",
210
- 'media-src': "'self'"
211
- }
212
- ```
213
-
214
- You can find out more information on the CSP addon page [here](https://github.com/rwjblue/ember-cli-content-security-policy#ember-cli-content-security-policy).
215
-
216
- #### Stylesheets
217
-
218
- The blueprints should generate this setup for you on install but if needed you can manually install Bootstrap BookingSync styles in `app/styles/app.scss` using:
219
-
220
- ```scss
221
- @import "ember-modal-dialog/ember-modal-structure";
222
- @import "bootstrap-bookingsync";
223
- @import "ember-power-select";
224
- @import "ember-power-calendar";
225
- ```
226
-
227
- Make sure the file has `.scss` extension (or `.sass` for Sass syntax). If you have just generated a new Ember app, it may come with a `.css` file instead.
228
-
229
- ### Running
230
-
231
- #### Prerequisites
232
- You will need the following things properly installed on your computer.
233
-
234
- * [Node.js](http://nodejs.org/) (latest stable version, v10.16.0 at 2019-05-28)
235
- * [Ember CLI](http://www.ember-cli.com/)
236
- * [npm](https://www.npmjs.com/get-npm)
237
-
238
- #### Installation
239
- * `npm install`
240
-
241
- #### Starting
242
- * `ember server`
243
- * Visit your app at http://localhost:4200 or from your Rails application if tight together.
244
-
245
- ### Running Tests
246
-
247
- * `npm test` (Runs `ember try:testall` to test your addon against multiple Ember versions)
248
- * `ember test`
249
- * `ember test --server`
250
-
251
- ### Building
252
-
253
- Usage
254
- ------------------------------------------------------------------------------
255
-
256
- ### Deploying Ember documentation to global styleguide documentation
257
-
258
- * `ember deploy production`
259
-
260
- For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).
@@ -5,7 +5,7 @@
5
5
  * Licensed under MIT (https://github.com/BookingSync/styleguide/blob/master/LICENSE)
6
6
  * ======================================================================== */
7
7
 
8
- let setInputFilledValue = function(elt) {
8
+ var setInputFilledValue = function(elt) {
9
9
  $(elt).parents('.form-group').toggleClass('filled', !!$(elt).val());
10
10
  };
11
11
 
@@ -76,6 +76,3 @@
76
76
  @import "bookingsync/alerts";
77
77
 
78
78
  @import "bookingsync/chosen";
79
- @import "bookingsync/ember-power-select";
80
- @import "bookingsync/ember-toggle";
81
- @import "bookingsync/ember-tooltips";
@@ -1,7 +1,3 @@
1
- .ember-modal-wrapper .modal.in {
2
- display: block;
3
- }
4
-
5
1
  .modal-content {
6
2
  border-radius: $modal-border-radius;
7
3
  @include box-shadow(0 3px 30px $gray-lightest);
@@ -11,6 +11,7 @@ gem "kramdown"
11
11
  gem "pygments.rb"
12
12
  gem "nokogiri"
13
13
  gem 'uglifier'
14
+ gem 'sass'
15
+ gem 'coffee-script'
14
16
  gem 'nanoc-sprockets3'
15
- gem "bootstrap-bookingsync-sass", path: "../"
16
- gem "coffee-script"
17
+ gem "bootstrap-bookingsync-sass"
@@ -22,11 +22,6 @@
22
22
  -moz-osx-font-smoothing: grayscale;
23
23
  }
24
24
 
25
- .styleguide-icon-ember {
26
- &:before {
27
- content: $styleguide-icon-ember;
28
- }
29
- }
30
25
  .styleguide-icon-forms {
31
26
  &:before {
32
27
  content: $styleguide-icon-forms;
@@ -13,7 +13,6 @@ $list-group-link-hover-color: darken($brand-primary, 10%);
13
13
 
14
14
  $pre-bg: #f4f4f4;
15
15
 
16
- $styleguide-icon-ember: "\e100";
17
16
  $styleguide-icon-forms: "\e101";
18
17
  $styleguide-icon-utilities: "\e102";
19
18
  $styleguide-icon-compositions: "\e103";
@@ -39,21 +39,20 @@
39
39
  <li><i class="icon-widget"></i> widget</li>
40
40
  <li><i class="icon-trash"></i> trash</li>
41
41
  <li><i class="icon-clone"></i> clone</li>
42
- <li><i class="icon-calendar-empty"></i> external</li>
43
- <li><i class="icon-lock"></i> external</li>
44
- <li><i class="icon-bars"></i> external</li>
45
- <li><i class="icon-calendar-planning"></i> external</li>
46
- <li><i class="icon-activity"></i> external</li>
47
- <li><i class="icon-child"></i> external</li>
48
- <li><i class="icon-couple"></i> external</li>
49
- <li><i class="icon-print"></i> external</li>
50
- <li><i class="icon-eye"></i> external</li>
51
- <li><i class="icon-user"></i> external</li>
52
- <li><i class="icon-invoice"></i> external</li>
53
- <li><i class="icon-checkmark"></i> external</li>
54
- <li><i class="icon-circle"></i> external</li>
55
- <li><i class="icon-inline"></i> external</li>
56
- <li><i class="icon-cross"></i> external</li>
42
+ <li><i class="icon-calendar-empty"></i> calendar-empty</li>
43
+ <li><i class="icon-lock"></i> lock</li>
44
+ <li><i class="icon-bars"></i> bars</li>
45
+ <li><i class="icon-calendar-planning"></i> calendar-planning</li>
46
+ <li><i class="icon-activity"></i> activity</li>
47
+ <li><i class="icon-child"></i> child</li>
48
+ <li><i class="icon-couple"></i> couple</li>
49
+ <li><i class="icon-print"></i> print</li>
50
+ <li><i class="icon-eye"></i> eye</li>
51
+ <li><i class="icon-user"></i> user</li>
52
+ <li><i class="icon-checkmark"></i> checkmark</li>
53
+ <li><i class="icon-circle"></i> circle</li>
54
+ <li><i class="icon-inline"></i> inline</li>
55
+ <li><i class="icon-cross"></i> cross</li>
57
56
  </ul>
58
57
  </div>
59
58
  </div>
@@ -96,7 +95,6 @@
96
95
  <li><i class="icon-print"></i> print</li>
97
96
  <li><i class="icon-eye"></i> eye</li>
98
97
  <li><i class="icon-user"></i> user</li>
99
- <li><i class="icon-invoice"></i> invoice</li>
100
98
  <li><i class="icon-checkmark"></i> checkmark</li>
101
99
  <li><i class="icon-circle"></i> circle</li>
102
100
  <li><i class="icon-inline"></i> inline</li>
@@ -42,12 +42,5 @@
42
42
  <%= items["/compositions/_navbar.*"].compiled_content %>
43
43
  <% end %>
44
44
  </li>
45
- <li class="<%= "expanded active" if @item_rep.path.start_with?("/ember") %>">
46
- <%= link_to('<i class="styleguide-icon-ember icon-fw"></i>&nbsp; <span>Ember Addon</span>',
47
- "/ember/", { class: "list-group-item" }) %>
48
- <% if @item_rep.path.start_with?("/ember") %>
49
- <%= items["/ember/_navbar.*"].compiled_content %>
50
- <% end %>
51
- </li>
52
45
  </ul>
53
46
  </div>
@@ -1,4 +1,5 @@
1
1
  require "bootstrap/bookingsync/version"
2
+
2
3
  module Bootstrap
3
4
  module BookingSync
4
5
  class << self
@@ -10,9 +11,16 @@ module Bootstrap
10
11
  register_rails_engine
11
12
  elsif sprockets?
12
13
  register_sprockets
14
+ elsif defined?(::Sass) && ::Sass.respond_to?(:load_paths)
15
+ # The deprecated `sass` gem:
16
+ ::Sass.load_paths << stylesheets_path
13
17
  end
14
18
 
15
- configure_sass
19
+ if defined?(::Sass::Script::Value::Number)
20
+ # Set precision to 6 as per:
21
+ # https://github.com/twbs/bootstrap/blob/da717b03e6e72d7a61c007acb9223b9626ae5ee5/package.json#L28
22
+ ::Sass::Script::Number.precision = [6, ::Sass::Script::Number.precision].max
23
+ end
16
24
  end
17
25
 
18
26
  # Paths
@@ -51,15 +59,6 @@ module Bootstrap
51
59
 
52
60
  private
53
61
 
54
- def configure_sass
55
- require 'sass'
56
-
57
- ::Sass.load_paths << stylesheets_path
58
-
59
- # bootstrap requires minimum precision of 8, see https://github.com/twbs/bootstrap-sass/issues/409
60
- ::Sass::Script::Number.precision = [8, ::Sass::Script::Number.precision].max
61
- end
62
-
63
62
  def register_compass_extension
64
63
  ::Compass::Frameworks.register(
65
64
  'bootstrap-bookinsync',
@@ -1,5 +1,5 @@
1
1
  module Bootstrap
2
2
  module BookingSync
3
- VERSION = "2.0.0"
3
+ VERSION = "3.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-bookingsync-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Grosjean
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-06 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-sass
@@ -32,111 +32,11 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - ".editorconfig"
35
- - ".ember-cli"
36
- - ".eslintignore"
37
- - ".eslintrc.js"
38
35
  - ".gitignore"
39
- - ".jshintrc"
40
- - ".npmignore"
41
- - ".template-lintrc.js"
42
- - ".travis.yml"
43
- - ".watchmanconfig"
44
36
  - CHANGELOG.md
45
- - CONTRIBUTING.md
46
37
  - Gemfile
47
- - LICENSE
48
38
  - LICENSE.md
49
39
  - README.md
50
- - addon/.gitkeep
51
- - addon/components/bsy-alert.js
52
- - addon/components/bsy-annotated-section.js
53
- - addon/components/bsy-annotated-section/annotation.js
54
- - addon/components/bsy-annotated-section/content.js
55
- - addon/components/bsy-button.js
56
- - addon/components/bsy-button/close.js
57
- - addon/components/bsy-checkbox.js
58
- - addon/components/bsy-icon.js
59
- - addon/components/bsy-input-addon.js
60
- - addon/components/bsy-input-addon/addon.js
61
- - addon/components/bsy-input-addon/input.js
62
- - addon/components/bsy-input.js
63
- - addon/components/bsy-modal.js
64
- - addon/components/bsy-modal/body.js
65
- - addon/components/bsy-modal/close.js
66
- - addon/components/bsy-modal/footer.js
67
- - addon/components/bsy-modal/header.js
68
- - addon/components/bsy-nav.js
69
- - addon/components/bsy-nav/item.js
70
- - addon/components/bsy-nav/link.js
71
- - addon/components/bsy-popover.js
72
- - addon/components/bsy-radio-buttons.js
73
- - addon/components/bsy-radio-buttons/button.js
74
- - addon/components/bsy-radio.js
75
- - addon/components/bsy-select-multiple.js
76
- - addon/components/bsy-select.js
77
- - addon/components/bsy-sheet.js
78
- - addon/components/bsy-sheet/header.js
79
- - addon/components/bsy-switch.js
80
- - addon/components/bsy-textarea.js
81
- - addon/templates/components/bsy-alert.hbs
82
- - addon/templates/components/bsy-annotated-section.hbs
83
- - addon/templates/components/bsy-annotated-section/annotation.hbs
84
- - addon/templates/components/bsy-annotated-section/content.hbs
85
- - addon/templates/components/bsy-button.hbs
86
- - addon/templates/components/bsy-button/close.hbs
87
- - addon/templates/components/bsy-checkbox.hbs
88
- - addon/templates/components/bsy-input-addon.hbs
89
- - addon/templates/components/bsy-input-addon/addon.hbs
90
- - addon/templates/components/bsy-input-addon/input.hbs
91
- - addon/templates/components/bsy-input.hbs
92
- - addon/templates/components/bsy-modal.hbs
93
- - addon/templates/components/bsy-modal/body.hbs
94
- - addon/templates/components/bsy-modal/close.hbs
95
- - addon/templates/components/bsy-modal/footer.hbs
96
- - addon/templates/components/bsy-modal/header.hbs
97
- - addon/templates/components/bsy-nav.hbs
98
- - addon/templates/components/bsy-nav/item.hbs
99
- - addon/templates/components/bsy-nav/link.hbs
100
- - addon/templates/components/bsy-radio-buttons.hbs
101
- - addon/templates/components/bsy-radio-buttons/button.hbs
102
- - addon/templates/components/bsy-radio.hbs
103
- - addon/templates/components/bsy-select-multiple.hbs
104
- - addon/templates/components/bsy-select.hbs
105
- - addon/templates/components/bsy-sheet.hbs
106
- - addon/templates/components/bsy-sheet/header.hbs
107
- - addon/templates/components/bsy-switch.hbs
108
- - addon/templates/components/bsy-textarea.hbs
109
- - app/.gitkeep
110
- - app/components/bsy-alert.js
111
- - app/components/bsy-annotated-section.js
112
- - app/components/bsy-annotated-section/annotation.js
113
- - app/components/bsy-annotated-section/content.js
114
- - app/components/bsy-button.js
115
- - app/components/bsy-button/close.js
116
- - app/components/bsy-checkbox.js
117
- - app/components/bsy-icon.js
118
- - app/components/bsy-input-addon.js
119
- - app/components/bsy-input-addon/addon.js
120
- - app/components/bsy-input-addon/input.js
121
- - app/components/bsy-input.js
122
- - app/components/bsy-modal.js
123
- - app/components/bsy-modal/body.js
124
- - app/components/bsy-modal/close.js
125
- - app/components/bsy-modal/footer.js
126
- - app/components/bsy-modal/header.js
127
- - app/components/bsy-nav.js
128
- - app/components/bsy-nav/item.js
129
- - app/components/bsy-nav/link.js
130
- - app/components/bsy-popover.js
131
- - app/components/bsy-radio-buttons.js
132
- - app/components/bsy-radio-buttons/button.js
133
- - app/components/bsy-radio.js
134
- - app/components/bsy-select-multiple.js
135
- - app/components/bsy-select.js
136
- - app/components/bsy-sheet.js
137
- - app/components/bsy-sheet/header.js
138
- - app/components/bsy-switch.js
139
- - app/components/bsy-textarea.js
140
40
  - assets/javascripts/bookingsync/form.js
141
41
  - assets/javascripts/bookingsync/menu.js
142
42
  - assets/javascripts/bookingsync/stackable.js
@@ -151,9 +51,6 @@ files:
151
51
  - assets/stylesheets/bookingsync/_chosen.scss
152
52
  - assets/stylesheets/bookingsync/_colors.scss
153
53
  - assets/stylesheets/bookingsync/_dropdown.scss
154
- - assets/stylesheets/bookingsync/_ember-power-select.scss
155
- - assets/stylesheets/bookingsync/_ember-toggle.scss
156
- - assets/stylesheets/bookingsync/_ember-tooltips.scss
157
54
  - assets/stylesheets/bookingsync/_form.scss
158
55
  - assets/stylesheets/bookingsync/_icons.scss
159
56
  - assets/stylesheets/bookingsync/_layout.scss
@@ -169,14 +66,7 @@ files:
169
66
  - assets/stylesheets/bookingsync/_type.scss
170
67
  - assets/stylesheets/bookingsync/_utilities.scss
171
68
  - assets/stylesheets/bookingsync/_variables.scss
172
- - blueprints/ember-cli-bootstrap-bookingsync-sass/files/app/styles/app.scss
173
- - blueprints/ember-cli-bootstrap-bookingsync-sass/files/app/templates/application.hbs
174
- - blueprints/ember-cli-bootstrap-bookingsync-sass/files/ember-cli-build.js
175
- - blueprints/ember-cli-bootstrap-bookingsync-sass/index.js
176
69
  - bootstrap-bookingsync-sass.gemspec
177
- - config/deploy.js
178
- - config/ember-try.js
179
- - config/environment.js
180
70
  - docs/Gemfile
181
71
  - docs/Gemfile.lock
182
72
  - docs/Guardfile
@@ -247,73 +137,11 @@ files:
247
137
  - docs/layouts/sidebar.html
248
138
  - docs/lib/default.rb
249
139
  - docs/nanoc.yaml
250
- - docs/public/ember/assets/dummy-605390683726afd79cffdf529eb4531a.css
251
- - docs/public/ember/assets/dummy-daae8f1136db419cd268e84ad4f5c989.js
252
- - docs/public/ember/assets/vendor-226e4280b8b1da91e2e598b6726ea1f4.js
253
- - docs/public/ember/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css
254
- - docs/public/ember/crossdomain.xml
255
- - docs/public/ember/fonts/bookingsync/bookingsync-icons.eot
256
- - docs/public/ember/fonts/bookingsync/bookingsync-icons.svg
257
- - docs/public/ember/fonts/bookingsync/bookingsync-icons.ttf
258
- - docs/public/ember/fonts/bookingsync/bookingsync-icons.woff
259
- - docs/public/ember/fonts/bookingsync/bookingsync-icons.woff2
260
- - docs/public/ember/fonts/bookingsync/bookingsync-smiles.eot
261
- - docs/public/ember/fonts/bookingsync/bookingsync-smiles.svg
262
- - docs/public/ember/fonts/bookingsync/bookingsync-smiles.ttf
263
- - docs/public/ember/fonts/bookingsync/bookingsync-smiles.woff
264
- - docs/public/ember/fonts/bookingsync/bookingsync-smiles.woff2
265
- - docs/public/ember/index.html
266
- - docs/public/ember/robots.txt
267
140
  - docs/vendor/assets/javascripts/chosen.js
268
141
  - docs/vendor/assets/stylesheets/chosen.scss
269
- - ember-cli-build.js
270
- - index.js
271
142
  - lib/bootstrap-bookingsync-sass.rb
272
143
  - lib/bootstrap/bookingsync/engine.rb
273
144
  - lib/bootstrap/bookingsync/version.rb
274
- - package-lock.json
275
- - package.json
276
- - testem.js
277
- - tests/dummy/app/app.js
278
- - tests/dummy/app/components/.gitkeep
279
- - tests/dummy/app/components/navbar/component.js
280
- - tests/dummy/app/components/navbar/template.hbs
281
- - tests/dummy/app/components/sidebar/component.js
282
- - tests/dummy/app/components/sidebar/template.hbs
283
- - tests/dummy/app/controllers/.gitkeep
284
- - tests/dummy/app/controllers/index.js
285
- - tests/dummy/app/helpers/.gitkeep
286
- - tests/dummy/app/index.html
287
- - tests/dummy/app/models/.gitkeep
288
- - tests/dummy/app/resolver.js
289
- - tests/dummy/app/router.js
290
- - tests/dummy/app/routes/.gitkeep
291
- - tests/dummy/app/styles/app.scss
292
- - tests/dummy/app/templates/application.hbs
293
- - tests/dummy/app/templates/components/.gitkeep
294
- - tests/dummy/app/templates/index.hbs
295
- - tests/dummy/config/environment.js
296
- - tests/dummy/config/optional-features.json
297
- - tests/dummy/config/targets.js
298
- - tests/dummy/public/robots.txt
299
- - tests/helpers/.gitkeep
300
- - tests/helpers/resolver.js
301
- - tests/index.html
302
- - tests/integration/.gitkeep
303
- - tests/integration/components/bsy-alert-test.js
304
- - tests/integration/components/bsy-button-test.js
305
- - tests/integration/components/bsy-checkbox-test.js
306
- - tests/integration/components/bsy-input-test.js
307
- - tests/integration/components/bsy-nav-test.js
308
- - tests/integration/components/bsy-nav/item-test.js
309
- - tests/integration/components/bsy-nav/link-test.js
310
- - tests/integration/components/bsy-popover-test.js
311
- - tests/integration/components/bsy-sheet-test.js
312
- - tests/integration/components/bsy-sheet/header-test.js
313
- - tests/integration/components/bsy-switch-test.js
314
- - tests/integration/components/bsy-textarea-test.js
315
- - tests/test-helper.js
316
- - vendor/.gitkeep
317
145
  homepage: https://github.com/BookingSync/bootstrap-bookingsync-sass
318
146
  licenses:
319
147
  - MIT
@@ -333,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
161
  - !ruby/object:Gem::Version
334
162
  version: '0'
335
163
  requirements: []
336
- rubygems_version: 3.0.1
164
+ rubygems_version: 3.1.2
337
165
  signing_key:
338
166
  specification_version: 4
339
167
  summary: Twitter's Bootstrap with BookingSync Theme, ready to drop into Rails