bootstrap-bookingsync-sass 1.0.0.beta11 → 1.0.0.beta12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/addon/components/bsy-alert.js +28 -0
- data/addon/components/bsy-annotated-section/annotation.js +8 -0
- data/addon/components/bsy-annotated-section/content.js +8 -0
- data/addon/components/bsy-annotated-section.js +8 -0
- data/addon/components/bsy-button/close.js +12 -0
- data/addon/components/bsy-checkbox.js +8 -0
- data/addon/components/bsy-input-addon/addon.js +8 -0
- data/addon/components/bsy-input-addon/input.js +14 -0
- data/addon/components/bsy-input-addon.js +8 -0
- data/addon/components/bsy-input.js +15 -0
- data/addon/components/bsy-modal/body.js +8 -0
- data/addon/components/bsy-modal/close.js +7 -0
- data/addon/components/bsy-modal/footer.js +8 -0
- data/addon/components/bsy-modal/header.js +8 -0
- data/addon/components/bsy-modal.js +17 -0
- data/addon/components/bsy-nav/item.js +19 -0
- data/addon/components/bsy-nav/link.js +19 -0
- data/addon/components/bsy-nav.js +8 -0
- data/addon/components/bsy-radio-buttons/button.js +22 -0
- data/addon/components/bsy-radio-buttons.js +10 -0
- data/addon/components/bsy-radio.js +14 -0
- data/addon/components/bsy-select-multiple.js +14 -0
- data/addon/components/bsy-select.js +14 -0
- data/addon/components/bsy-sheet/header.js +7 -0
- data/addon/components/bsy-sheet.js +7 -0
- data/addon/components/bsy-textarea.js +14 -0
- data/addon/templates/components/bsy-alert.hbs +6 -0
- data/addon/templates/components/bsy-annotated-section/annotation.hbs +1 -0
- data/addon/templates/components/bsy-annotated-section/content.hbs +1 -0
- data/addon/templates/components/bsy-annotated-section.hbs +1 -0
- data/addon/templates/components/bsy-button/close.hbs +1 -0
- data/addon/templates/components/bsy-checkbox.hbs +7 -0
- data/addon/templates/components/bsy-input-addon/addon.hbs +1 -0
- data/addon/templates/components/bsy-input-addon/input.hbs +8 -0
- data/addon/templates/components/bsy-input-addon.hbs +3 -0
- data/addon/templates/components/bsy-input.hbs +8 -0
- data/addon/templates/components/bsy-modal/body.hbs +1 -0
- data/addon/templates/components/bsy-modal/close.hbs +1 -0
- data/addon/templates/components/bsy-modal/footer.hbs +1 -0
- data/addon/templates/components/bsy-modal/header.hbs +2 -0
- data/addon/templates/components/bsy-modal.hbs +8 -0
- data/addon/templates/components/bsy-nav/item.hbs +1 -0
- data/addon/templates/components/bsy-nav/link.hbs +1 -0
- data/addon/templates/components/bsy-nav.hbs +1 -0
- data/addon/templates/components/bsy-radio-buttons/button.hbs +6 -0
- data/addon/templates/components/bsy-radio-buttons.hbs +3 -0
- data/addon/templates/components/bsy-radio.hbs +8 -0
- data/addon/templates/components/bsy-select-multiple.hbs +11 -0
- data/addon/templates/components/bsy-select.hbs +12 -0
- data/addon/templates/components/bsy-sheet/header.hbs +1 -0
- data/addon/templates/components/bsy-sheet.hbs +1 -0
- data/addon/templates/components/bsy-textarea.hbs +8 -0
- data/app/components/bsy-alert.js +1 -0
- data/app/components/bsy-annotated-section/annotation.js +1 -0
- data/app/components/bsy-annotated-section/content.js +1 -0
- data/app/components/bsy-annotated-section.js +1 -0
- data/app/components/bsy-button/close.js +1 -0
- data/app/components/bsy-button.js +1 -1
- data/app/components/bsy-checkbox.js +1 -0
- data/app/components/bsy-input-addon/addon.js +1 -0
- data/app/components/bsy-input-addon/input.js +1 -0
- data/app/components/bsy-input-addon.js +1 -0
- data/app/components/bsy-input.js +1 -0
- data/app/components/bsy-modal/body.js +1 -0
- data/app/components/bsy-modal/close.js +1 -0
- data/app/components/bsy-modal/footer.js +1 -0
- data/app/components/bsy-modal/header.js +1 -0
- data/app/components/bsy-modal.js +1 -0
- data/app/components/bsy-nav/item.js +1 -0
- data/app/components/bsy-nav/link.js +1 -0
- data/app/components/bsy-nav.js +1 -0
- data/app/components/bsy-radio-buttons/button.js +1 -0
- data/app/components/bsy-radio-buttons.js +1 -0
- data/app/components/bsy-radio.js +1 -0
- data/app/components/bsy-select-multiple.js +1 -0
- data/app/components/bsy-select.js +1 -0
- data/app/components/bsy-sheet/header.js +1 -0
- data/app/components/bsy-sheet.js +1 -0
- data/app/components/bsy-textarea.js +1 -0
- data/assets/stylesheets/bookingsync/_navs.scss +45 -0
- data/assets/stylesheets/bookingsync/_variables.scss +6 -0
- data/docs/Gemfile.lock +2 -2
- data/docs/content/components/_navbar.html +2 -0
- data/docs/content/components/sheet.md +33 -0
- data/lib/bootstrap/bookingsync/version.rb +1 -1
- data/package.json +4 -3
- data/tests/dummy/app/controllers/index.js +4 -5
- data/tests/dummy/app/styles/app.scss +5 -0
- data/tests/dummy/app/templates/application.hbs +11 -7
- data/tests/dummy/app/templates/index.hbs +226 -259
- data/tests/dummy/app/templates/navbar.hbs +9 -14
- data/tests/dummy/app/templates/sidebar.hbs +45 -47
- data/tests/integration/components/bsy-alert-test.js +24 -0
- data/tests/integration/components/bsy-nav/item-test.js +24 -0
- data/tests/integration/components/bsy-nav/link-test.js +24 -0
- data/tests/integration/components/bsy-nav-test.js +24 -0
- data/tests/integration/components/bsy-sheet/header-test.js +24 -0
- data/tests/integration/components/bsy-sheet-test.js +24 -0
- data/tests/integration/components/bsy-sheet.header-test.js +24 -0
- data/yarn.lock +5356 -0
- metadata +89 -4
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from 'ember-cli-bootstrap-bookingsync-sass/components/bsy-textarea';
|
@@ -57,4 +57,49 @@
|
|
57
57
|
right: -1px;
|
58
58
|
}
|
59
59
|
}
|
60
|
+
|
61
|
+
& > .nav-pills {
|
62
|
+
background-color: $sheet-navbar-pills-bg;
|
63
|
+
margin: - $sheet-padding;
|
64
|
+
margin-right: $sheet-padding;
|
65
|
+
padding-right: 0;
|
66
|
+
|
67
|
+
> li > a {
|
68
|
+
margin-right: 0;
|
69
|
+
border-top: 0;
|
70
|
+
border-radius: 0;
|
71
|
+
color: $gray;
|
72
|
+
border-top: 1px solid transparent;
|
73
|
+
border-bottom: 1px solid transparent;
|
74
|
+
border-right: 1px solid $gray-lightest;
|
75
|
+
|
76
|
+
&:hover {
|
77
|
+
color: $gray;
|
78
|
+
background-color: $sheet-navbar-pills-bg-hover;
|
79
|
+
border-radius: 0;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
> li.active a {
|
84
|
+
color: $brand-primary;
|
85
|
+
background-color: $sheet-bg;
|
86
|
+
border-top: 1px solid $gray-lightest;
|
87
|
+
border-bottom: 1px solid $gray-lightest;
|
88
|
+
border-right: 1px solid transparent;
|
89
|
+
|
90
|
+
&:hover {
|
91
|
+
color: $brand-primary;
|
92
|
+
background-color: $sheet-navbar-pills-bg-hover;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
> li:first-of-type a,
|
97
|
+
> li:first-of-type a:hover {
|
98
|
+
border-top: 1px solid transparent;
|
99
|
+
}
|
100
|
+
|
101
|
+
&.nav-stacked > li + li {
|
102
|
+
margin-top: 0;
|
103
|
+
}
|
104
|
+
}
|
60
105
|
}
|
@@ -318,6 +318,12 @@ $sheet-navbar-tabs-bg: $bs-lightpurple !default;
|
|
318
318
|
$sheet-navbar-tabs-bg-hover: #FAFBFC !default; // rgba(255, 255, 255, 0.75);
|
319
319
|
|
320
320
|
|
321
|
+
//== Sheet Pills
|
322
|
+
//
|
323
|
+
$sheet-navbar-pills-bg: $bs-lightpurple !default;
|
324
|
+
$sheet-navbar-pills-bg-hover: #FAFBFC !default; // rgba(255, 255, 255, 0.75);
|
325
|
+
|
326
|
+
|
321
327
|
//== Switch
|
322
328
|
//
|
323
329
|
$switch-label-size: 10px !default;
|
data/docs/Gemfile.lock
CHANGED
@@ -18,6 +18,8 @@
|
|
18
18
|
class: "list-group-item") %></li>
|
19
19
|
<li><%= link_to("Sheet with auto-stackable tabs", "#sheet-with-auto-stackable-tabs",
|
20
20
|
class: "list-group-item") %></li>
|
21
|
+
<li><%= link_to("Sheet with stacked pills", "#sheet-with-stacked-pills",
|
22
|
+
class: "list-group-item") %></li>
|
21
23
|
<li><%= link_to("Sheet with alerts", "#sheet-with-alerts", class: "list-group-item") %></li>
|
22
24
|
<li><%= link_to("Chosen select", "#chosen-select", class: "list-group-item") %></li>
|
23
25
|
<li><%= link_to("Chosen multiple select", "#chosen-multiple-select",
|
@@ -237,6 +237,39 @@
|
|
237
237
|
</div>
|
238
238
|
~~~
|
239
239
|
|
240
|
+
<div class="example">
|
241
|
+
<div class="sheet-header">
|
242
|
+
<h3 id="sheet-with-stacked-pills">Sheet with stacked pills</h3>
|
243
|
+
</div>
|
244
|
+
<div class="bs-example bs-sheet"
|
245
|
+
data-example-id="sheet-with-stacked-tabs">
|
246
|
+
<div class="sheet row">
|
247
|
+
<ul class="nav nav-pills nav-stacked col-sm-3">
|
248
|
+
<li><a href="#">Tab 1</a></li>
|
249
|
+
<li class="active"><a href="#">Tab 2</a></li>
|
250
|
+
<li><a href="#">Tab 3</a></li>
|
251
|
+
<li><a href="#">Tab 4</a></li>
|
252
|
+
</ul>
|
253
|
+
<div class="col-sm-9">
|
254
|
+
<p>Text...</p>
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
</div>
|
258
|
+
</div>
|
259
|
+
~~~ html
|
260
|
+
<div class="sheet row">
|
261
|
+
<ul class="nav nav-pills nav-stacked col-sm-3">
|
262
|
+
<li><a href="#">Tab 1</a></li>
|
263
|
+
<li class="active"><a href="#">Tab 2</a></li>
|
264
|
+
<li><a href="#">Tab 3</a></li>
|
265
|
+
<li><a href="#">Tab 4</a></li>
|
266
|
+
</ul>
|
267
|
+
<div class="col-sm-9">
|
268
|
+
<p>Text...</p>
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
~~~
|
272
|
+
|
240
273
|
<div class="example">
|
241
274
|
<div class="sheet-header">
|
242
275
|
<h3 id="sheet-with-alerts">Sheet with alerts</h3>
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ember-cli-bootstrap-bookingsync-sass",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "1.0.0-beta.12",
|
4
4
|
"description": "Sass-powered version of Bootstrap with BookingSync theme.",
|
5
5
|
"directories": {
|
6
6
|
"doc": "doc",
|
@@ -11,11 +11,11 @@
|
|
11
11
|
"start": "ember server",
|
12
12
|
"test": "ember try:testall"
|
13
13
|
},
|
14
|
-
"repository": "",
|
14
|
+
"repository": "https://github.com/BookingSync/bootstrap-bookingsync-sass",
|
15
15
|
"engines": {
|
16
16
|
"node": ">= 0.10.0"
|
17
17
|
},
|
18
|
-
"author": "",
|
18
|
+
"author": "Sebastien Grosjean",
|
19
19
|
"license": "MIT",
|
20
20
|
"devDependencies": {
|
21
21
|
"broccoli-asset-rev": "^2.2.0",
|
@@ -39,6 +39,7 @@
|
|
39
39
|
"ember-disable-proxy-controllers": "^1.0.1",
|
40
40
|
"ember-export-application-global": "^1.0.4",
|
41
41
|
"ember-load-initializers": "^0.5.0",
|
42
|
+
"ember-power-calendar": "0.1.4",
|
42
43
|
"ember-resolver": "^2.0.3",
|
43
44
|
"ember-try": "~0.0.8",
|
44
45
|
"loader.js": "^4.0.0"
|
@@ -21,11 +21,10 @@ export default Ember.Controller.extend({
|
|
21
21
|
actions: {
|
22
22
|
toggleModal: function() {
|
23
23
|
this.toggleProperty('isShowingModal');
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
}
|
24
|
+
},
|
25
|
+
|
26
|
+
sampleAction: function() {
|
27
|
+
alert("Sample action");
|
29
28
|
}
|
30
29
|
}
|
31
30
|
});
|
@@ -1,7 +1,11 @@
|
|
1
|
-
{{partial "
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
{{partial "navbar"}}
|
2
|
+
<section class="main-content container-fluid">
|
3
|
+
<div class="row">
|
4
|
+
<div class="col-sm-3">
|
5
|
+
{{partial "sidebar"}}
|
6
|
+
</div>
|
7
|
+
<div class="col-sm-9">
|
8
|
+
{{outlet}}
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</section>
|