matestack-ui-bootstrap 3.1.0 → 3.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/matestack-ui-bootstrap.esm.js +1 -0
- data/dist/stylesheets/matestack-ui-bootstrap.css +98 -0
- data/lib/matestack/ui/bootstrap/components/modal.rb +1 -0
- data/lib/matestack/ui/bootstrap/components/offcanvas.js +70 -0
- data/lib/matestack/ui/bootstrap/components/offcanvas.rb +61 -0
- data/lib/matestack/ui/bootstrap/index.js +2 -0
- data/lib/matestack/ui/bootstrap/registry.rb +2 -2
- data/lib/matestack/ui/bootstrap/stylesheets/matestack-ui-bootstrap.scss +0 -1
- data/lib/matestack/ui/bootstrap/version.rb +1 -1
- data/lib/matestack/ui/bootstrap.rb +1 -0
- metadata +10 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e2e524d1b06bb253accbeffe605bf69d001d2da8cdffd908bd73ff0b5310443
|
4
|
+
data.tar.gz: a2f16babea258baccc4c020dec5922ba38342928f0d51369f7524c02e54c17fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddee9d2f3f7468773bedffcf320dddd4ea812c3e95dbe72d0ac254154c5d62f5f8b5a37ec2ca65722d74ec2e98c8fc775e35407d2d755c8a41ca40a41bc13419
|
7
|
+
data.tar.gz: 99469b732c22cf31eb20acc73d68eefaf3f5670c67607928996a9f73cf080458b87b1d2face5940df1739ada0c7ca33157cf2da5a07fbc6821f8a73aa3185b26
|
@@ -0,0 +1 @@
|
|
1
|
+
import*as o from"bootstrap";import n from"matestack-ui-vuejs";const e={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({alertInstance:void 0}),methods:{close:function(){this.alertInstance.close()},dispose:function(){this.alertInstance.dispose()}},mounted:function(){var n=this.getElement();this.alertInstance=new o.Alert(n)},created:function(){const o=this;null!=o.props.close_on&&o.props.close_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.close)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.dispose)))},beforeUnmount:function(){const o=this;null!=o.props.close_on&&o.props.close_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.close)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.dispose)))}},t={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({carouselInstance:void 0}),methods:{cycle:function(){this.carouselInstance.cycle()},pause:function(){this.carouselInstance.pause()},prev:function(){this.carouselInstance.prev()},next:function(){this.carouselInstance.next()}},mounted:function(){const n=this;var e=n.getElement();n.carouselInstance=new o.Carousel(e,{interval:n.props.interval||5e3})},created:function(){const o=this;null!=o.props.cycle_on&&o.props.cycle_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.cycle)));null!=o.props.pause_on&&o.props.pause_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.pause)));null!=o.props.prev_on&&o.props.prev_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.prev)));null!=o.props.next_on&&o.props.next_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.next)))},beforeUnmount:function(){const o=this;null!=o.props.cycle_on&&o.props.cycle_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.cycle)));null!=o.props.pause_on&&o.props.pause_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.pause)));null!=o.props.prev_on&&o.props.prev_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.prev)));null!=o.props.next_on&&o.props.next_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.next)))}},s={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({collapseInstance:void 0}),methods:{toggle:function(){this.collapseInstance.toggle()},show:function(){this.collapseInstance.show()},hide:function(){this.collapseInstance.hide()},dispose:function(){this.collapseInstance.hide(),this.collapseInstance.dispose()}},mounted:function(){const n=this.getElement();this.collapseInstance=new o.Collapse(n,{toggle:!1})},created:function(){const o=this;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.hide)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.dispose)))},beforeUnmount:function(){const o=this;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.show)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.hide)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.dispose)))}},i={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({dropdownInstance:void 0}),mounted(){}},p={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({modalInstance:void 0}),methods:{toggle:function(){this.modalInstance.toggle()},show:function(){this.modalInstance.show()},hide:function(){this.modalInstance.hide()},handleUpdate:function(){this.modalInstance.handleUpdate()},dispose:function(){this.modalInstance.dispose()}},mounted:function(){const n=this.getElement();this.modalInstance=new o.Modal(n)},created:function(){const o=this;var e=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>e.$on(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>e.$on(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>e.$on(n.trim(),o.hide)));null!=o.props.handle_update_on&&o.props.handle_update_on.split(",").forEach((n=>e.$on(n.trim(),o.handle_update)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((n=>e.$on(n.trim(),o.dispose)))},beforeUnmount:function(){const o=this;var e=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>e.$off(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>e.$off(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>e.$off(n.trim(),o.hide)));null!=o.props.handle_update_on&&o.props.handle_update_on.split(",").forEach((n=>e.$off(n.trim(),o.handle_update)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((n=>e.$off(n.trim(),o.dispose)))}},a={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({popoverInstance:void 0}),methods:{},mounted:function(){const n=this.getElement();this.popoverInstance=new o.Popover(n,{})},created:function(){},beforeUnmount:function(){}},l={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({toastsInstance:void 0,eventData:{},showing:!1}),methods:{show:function(o){const n=this;this.props.autohide&&setTimeout((function(){n.showing=!1}),5e3),this.props.delay?setTimeout((function(){n.showing=!0}),parseInt(n.props.delay)):n.showing=!0,this.eventData=o},hide:function(o){const n=this;this.showing=!1,setTimeout((function(){n.eventData=!1}),500)},dispose:function(){const n=this;n.toastsInstance.dispose(),n.toastsInstance=new o.Toast(n.getElement())}},mounted:function(){var n=this.getElement();this.toastsInstance=new o.Toast(n)},created:function(){const o=this;null!=this.props.show_on&&this.props.show_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.show)));null!=this.props.hide_on&&this.props.hide_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.hide)));null!=this.props.dispose_on&&this.props.dispose_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.dispose)))},beforeUnmount:function(){const o=this;(n.eventHub.$off(this.props.show_on,o.show),n.eventHub.$off(this.props.hide_on,o.hide),n.eventHub.$off(this.props.dispose_on,o.hide),null!=this.props.show_on)&&this.props.show_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.show)));null!=this.props.hide_on&&this.props.hide_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.hide)));null!=this.props.dispose_on&&this.props.dispose_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.dispose)))}},r={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({}),methods:{},mounted:function(){var n=this.getElement();this.tooltipInstance=new o.Tooltip(n)}},c={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({sidebarOpen:!1}),methods:{sidebarToggle:function(){document.getElementById("sidebar").classList.contains("closed")?this.openSideBar():this.closeSideBar()},openSideBar:function(){var o=document.getElementById("sidebar"),n=document.getElementById("content");this.sidebarOpen=!0,o.classList.remove("closed"),o.classList.add("open"),n.classList.add("sidebar-open")},closeSideBar:function(){var o=document.getElementById("sidebar"),n=document.getElementById("content");this.sidebarOpen=!1,o.classList.add("closed"),o.classList.remove("open"),n.classList.remove("sidebar-open")},resizeCallback:function(){window.innerWidth<=992?this.closeSideBar():this.openSideBar()}},mounted:function(){window.innerWidth<=992&&(this.sidebarOpen=!0),window.addEventListener("resize",this.resizeCallback);var o=this;n.eventHub.$on("page_loaded",(function(){window.innerWidth<=992&&o.closeSideBar()})),n.eventHub.$on("page_loading_triggered",(function(){window.innerWidth<=992&&o.closeSideBar()}))}},d={registerComponents:function(o){return o.component("matestack-ui-bootstrap-alert",e),o.component("matestack-ui-bootstrap-carousel",t),o.component("matestack-ui-bootstrap-collapse",s),o.component("matestack-ui-bootstrap-dropdown",i),o.component("matestack-ui-bootstrap-modal",p),o.component("matestack-ui-bootstrap-popover",a),o.component("matestack-ui-bootstrap-toast",l),o.component("matestack-ui-bootstrap-tooltip",r),o.component("matestack-ui-bootstrap-sidebar",c),o}};window.MatestackUiBootstrap=d;export{d as default};
|
@@ -0,0 +1,98 @@
|
|
1
|
+
.matestack-page-container .matestack-page-wrapper {
|
2
|
+
opacity: 1;
|
3
|
+
transition: opacity 0.2s ease-in-out;
|
4
|
+
}
|
5
|
+
.matestack-page-container .matestack-page-wrapper.loading {
|
6
|
+
opacity: 0;
|
7
|
+
}
|
8
|
+
.matestack-page-container .loading-state-element-wrapper {
|
9
|
+
opacity: 0;
|
10
|
+
transition: opacity 0.3s ease-in-out;
|
11
|
+
}
|
12
|
+
.matestack-page-container .loading-state-element-wrapper.loading {
|
13
|
+
opacity: 1;
|
14
|
+
}
|
15
|
+
|
16
|
+
.matestack-async-component-container {
|
17
|
+
opacity: 1;
|
18
|
+
transition: opacity 0.2s ease-in-out;
|
19
|
+
}
|
20
|
+
.matestack-async-component-container.loading {
|
21
|
+
opacity: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
.matestack-isolated-component-container {
|
25
|
+
opacity: 1;
|
26
|
+
transition: opacity 0.2s ease-in-out;
|
27
|
+
}
|
28
|
+
.matestack-isolated-component-container.loading {
|
29
|
+
opacity: 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
.matestack-app-wrapper {
|
33
|
+
overflow-x: hidden;
|
34
|
+
}
|
35
|
+
|
36
|
+
.content-wrapper {
|
37
|
+
position: relative;
|
38
|
+
z-index: 1;
|
39
|
+
min-height: 101vh;
|
40
|
+
transition: 0.5s;
|
41
|
+
}
|
42
|
+
@media (max-width: 992px) {
|
43
|
+
.content-wrapper.sidebar-open {
|
44
|
+
margin-left: -300px;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.sidebar-wrapper {
|
49
|
+
position: relative;
|
50
|
+
z-index: 10;
|
51
|
+
transition: 0.5s;
|
52
|
+
flex-grow: 0; /* do not grow - initial value: 0 */
|
53
|
+
flex-shrink: 0; /* do not shrink - initial value: 1 */
|
54
|
+
flex-basis: 300px; /* width/height - initial value: auto */
|
55
|
+
}
|
56
|
+
.sidebar-wrapper .sidebar-toggler {
|
57
|
+
transition: 0.5s;
|
58
|
+
position: relative;
|
59
|
+
left: 290px;
|
60
|
+
}
|
61
|
+
.sidebar-wrapper.closed {
|
62
|
+
margin-left: -300px;
|
63
|
+
}
|
64
|
+
.sidebar-wrapper.open {
|
65
|
+
margin-left: 0px;
|
66
|
+
}
|
67
|
+
@media (max-width: 992px) {
|
68
|
+
.sidebar-wrapper {
|
69
|
+
margin-left: -300px;
|
70
|
+
}
|
71
|
+
.sidebar-wrapper.open {
|
72
|
+
margin-left: 0px;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
.sidebar-wrapper .sidebar {
|
76
|
+
min-height: 100vh;
|
77
|
+
height: 100%;
|
78
|
+
}
|
79
|
+
.sidebar-wrapper .sidebar .sidebar-top {
|
80
|
+
margin-top: -35px;
|
81
|
+
}
|
82
|
+
.sidebar-wrapper .sidebar .sidebar-top a {
|
83
|
+
text-decoration: none;
|
84
|
+
}
|
85
|
+
.sidebar-wrapper .sidebar .list-group-item.active {
|
86
|
+
margin-top: 0px !important;
|
87
|
+
}
|
88
|
+
.sidebar-wrapper .sidebar .list-group-item.active-child {
|
89
|
+
color: var(--bs-white);
|
90
|
+
background-color: var(--bs-primary);
|
91
|
+
}
|
92
|
+
|
93
|
+
.smart-collection .pagination .page-item {
|
94
|
+
cursor: pointer;
|
95
|
+
}
|
96
|
+
.smart-collection .pagination .page-item.disabled {
|
97
|
+
cursor: initial;
|
98
|
+
}
|
@@ -17,6 +17,7 @@ class Matestack::Ui::Bootstrap::Components::Modal < Matestack::Ui::Bootstrap::Ba
|
|
17
17
|
optional :static, :keyboard, :scrollable, :centered
|
18
18
|
optional :modal_dialog_class
|
19
19
|
optional :id
|
20
|
+
optional class: { as: :bs_class }
|
20
21
|
# event trigger
|
21
22
|
optional :toggle_on, :show_on, :hide_on, :handle_update_on, :dispose_on
|
22
23
|
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import * as bootstrap from 'bootstrap'
|
2
|
+
import MatestackUiVueJs from 'matestack-ui-vuejs'
|
3
|
+
|
4
|
+
const offcanvasComponent = {
|
5
|
+
mixins: [MatestackUiVueJs.componentMixin],
|
6
|
+
template: MatestackUiVueJs.componentHelpers.inlineTemplate,
|
7
|
+
|
8
|
+
data() {
|
9
|
+
return {
|
10
|
+
offcanvasInstance: undefined,
|
11
|
+
};
|
12
|
+
},
|
13
|
+
|
14
|
+
methods: {
|
15
|
+
toggle: function (){
|
16
|
+
this.offcanvasInstance.toggle()
|
17
|
+
},
|
18
|
+
show: function (){
|
19
|
+
this.offcanvasInstance.show()
|
20
|
+
},
|
21
|
+
hide: function (){
|
22
|
+
this.offcanvasInstance.hide()
|
23
|
+
}
|
24
|
+
},
|
25
|
+
|
26
|
+
mounted: function() {
|
27
|
+
const self = this
|
28
|
+
const offcanvasElement = self.getElement()
|
29
|
+
self.offcanvasInstance = new bootstrap.Offcanvas(offcanvasElement)
|
30
|
+
},
|
31
|
+
|
32
|
+
created: function() {
|
33
|
+
const self = this
|
34
|
+
var eventHub = MatestackUiVueJs.eventHub;
|
35
|
+
// toggle_on event registration
|
36
|
+
if(self.props["toggle_on"] != undefined){
|
37
|
+
var toggle_events = self.props["toggle_on"].split(",")
|
38
|
+
toggle_events.forEach(toggle_event => eventHub.$on(toggle_event.trim(), self.toggle));
|
39
|
+
}
|
40
|
+
// show_on event registration
|
41
|
+
if(self.props["show_on"] != undefined){
|
42
|
+
var show_events = self.props["show_on"].split(",")
|
43
|
+
show_events.forEach(show_event => eventHub.$on(show_event.trim(), self.show));
|
44
|
+
}
|
45
|
+
// hide_on event registration
|
46
|
+
if(self.props["hide_on"] != undefined){
|
47
|
+
var hide_events = self.props["hide_on"].split(",")
|
48
|
+
hide_events.forEach(hide_event => eventHub.$on(hide_event.trim(), self.hide));
|
49
|
+
}
|
50
|
+
},
|
51
|
+
|
52
|
+
beforeUnmount: function() {
|
53
|
+
const self = this
|
54
|
+
var eventHub = MatestackUiVueJs.eventHub;
|
55
|
+
if(self.props["toggle_on"] != undefined){
|
56
|
+
var toggle_events = self.props["toggle_on"].split(",")
|
57
|
+
toggle_events.forEach(toggle_event => eventHub.$off(toggle_event.trim(), self.toggle));
|
58
|
+
}
|
59
|
+
if(self.props["show_on"] != undefined){
|
60
|
+
var show_events = self.props["show_on"].split(",")
|
61
|
+
show_events.forEach(show_event => eventHub.$off(show_event.trim(), self.show));
|
62
|
+
}
|
63
|
+
if(self.props["hide_on"] != undefined){
|
64
|
+
var hide_events = self.props["hide_on"].split(",")
|
65
|
+
hide_events.forEach(hide_event => eventHub.$off(hide_event.trim(), self.hide));
|
66
|
+
}
|
67
|
+
},
|
68
|
+
}
|
69
|
+
|
70
|
+
export default offcanvasComponent
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require_relative "../base_vue_js_component"
|
2
|
+
|
3
|
+
class Matestack::Ui::Bootstrap::Components::Offcanvas < Matestack::Ui::Bootstrap::BaseVueJsComponent
|
4
|
+
|
5
|
+
vue_name 'matestack-ui-bootstrap-offcanvas'
|
6
|
+
|
7
|
+
optional :id
|
8
|
+
optional class: { as: :bs_class }
|
9
|
+
optional :placement # start, end, top, bottom - default: start
|
10
|
+
optional :scroll # true, false - default: false
|
11
|
+
optional :backdrop # true, false - default: true
|
12
|
+
optional :static_title # any string - default: ""
|
13
|
+
|
14
|
+
optional :toggle_on, :show_on, :hide_on, :handle_update_on, :dispose_on
|
15
|
+
|
16
|
+
|
17
|
+
def response
|
18
|
+
div offcanvas_attributes do
|
19
|
+
div class: "offcanvas-header" do
|
20
|
+
h5 class:"offcanvas-title", id: "#{context.id}Label", text: "#{context.static_title}"
|
21
|
+
button type: "button", class:"btn-close", "data-bs-dismiss": "offcanvas", "aria-label": "Close"
|
22
|
+
end
|
23
|
+
div class:"offcanvas-body" do
|
24
|
+
yield
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
protected
|
30
|
+
|
31
|
+
def offcanvas_attributes
|
32
|
+
attributes = {}.tap do |hash|
|
33
|
+
hash[:id] = context.id
|
34
|
+
hash[:class] = offcanvas_classes
|
35
|
+
hash[:attributes] = { 'tabindex': "-1", 'aria-labelledby': "#{context.id}Label" }
|
36
|
+
hash[:data] = {}.tap do |data|
|
37
|
+
data["bs-scroll"] = "#{context.scroll&.to_s || "false"}"
|
38
|
+
data["bs-backdrop"] = "#{context.backdrop&.to_s || "true"}"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
options.merge(
|
42
|
+
attributes
|
43
|
+
)
|
44
|
+
end
|
45
|
+
|
46
|
+
def offcanvas_classes
|
47
|
+
[].tap do |classes|
|
48
|
+
classes << "offcanvas offcanvas-#{context.placement || 'start'}"
|
49
|
+
classes << context.bs_class
|
50
|
+
end.join(' ').strip
|
51
|
+
end
|
52
|
+
|
53
|
+
def vue_props
|
54
|
+
{}.tap do |props|
|
55
|
+
props[:toggle_on] = context.toggle_on
|
56
|
+
props[:show_on] = context.show_on
|
57
|
+
props[:hide_on] = context.hide_on
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
@@ -10,6 +10,7 @@ import carouselComponent from './components/carousel'
|
|
10
10
|
import collapseComponent from './components/collapse'
|
11
11
|
import dropdownComponent from './components/dropdown'
|
12
12
|
import modalComponent from './components/modal'
|
13
|
+
import offcanvasComponent from './components/offcanvas'
|
13
14
|
import popoverComponent from './components/popover'
|
14
15
|
import toastComponent from './components/toast'
|
15
16
|
import tooltipComponent from './components/tooltip'
|
@@ -23,6 +24,7 @@ const registerComponents = function(appInstance){
|
|
23
24
|
appInstance.component('matestack-ui-bootstrap-collapse', collapseComponent)
|
24
25
|
appInstance.component('matestack-ui-bootstrap-dropdown', dropdownComponent)
|
25
26
|
appInstance.component('matestack-ui-bootstrap-modal', modalComponent)
|
27
|
+
appInstance.component('matestack-ui-bootstrap-offcanvas', offcanvasComponent)
|
26
28
|
appInstance.component('matestack-ui-bootstrap-popover', popoverComponent)
|
27
29
|
appInstance.component('matestack-ui-bootstrap-toast', toastComponent)
|
28
30
|
appInstance.component('matestack-ui-bootstrap-tooltip', tooltipComponent)
|
@@ -64,8 +64,8 @@ module Matestack::Ui::Bootstrap::Registry
|
|
64
64
|
Matestack::Ui::Bootstrap::Components::Navbar.(text, options, &block)
|
65
65
|
end
|
66
66
|
|
67
|
-
def
|
68
|
-
Matestack::Ui::Bootstrap::Components::
|
67
|
+
def bs_offcanvas(text=nil, options=nil, &block)
|
68
|
+
Matestack::Ui::Bootstrap::Components::Offcanvas.(text, options, &block)
|
69
69
|
end
|
70
70
|
|
71
71
|
def bs_page_heading(text=nil, options=nil, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matestack-ui-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Jabari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: matestack-ui-core
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.
|
33
|
+
version: 3.2.0.beta.pre.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
40
|
+
version: 3.2.0.beta.pre.1
|
41
41
|
description: Bootstrap v5 components for Matestack UI
|
42
42
|
email:
|
43
43
|
- jonas@matestack.io
|
@@ -48,6 +48,8 @@ files:
|
|
48
48
|
- LICENSE
|
49
49
|
- README.md
|
50
50
|
- Rakefile
|
51
|
+
- dist/matestack-ui-bootstrap.esm.js
|
52
|
+
- dist/stylesheets/matestack-ui-bootstrap.css
|
51
53
|
- lib/matestack/ui/bootstrap.rb
|
52
54
|
- lib/matestack/ui/bootstrap/base_component.rb
|
53
55
|
- lib/matestack/ui/bootstrap/base_vue_js_component.rb
|
@@ -72,6 +74,8 @@ files:
|
|
72
74
|
- lib/matestack/ui/bootstrap/components/modal.js
|
73
75
|
- lib/matestack/ui/bootstrap/components/modal.rb
|
74
76
|
- lib/matestack/ui/bootstrap/components/navbar.rb
|
77
|
+
- lib/matestack/ui/bootstrap/components/offcanvas.js
|
78
|
+
- lib/matestack/ui/bootstrap/components/offcanvas.rb
|
75
79
|
- lib/matestack/ui/bootstrap/components/page_heading.rb
|
76
80
|
- lib/matestack/ui/bootstrap/components/pagination.rb
|
77
81
|
- lib/matestack/ui/bootstrap/components/popover.js
|
@@ -127,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
127
131
|
version: '0'
|
128
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
133
|
requirements:
|
130
|
-
- - "
|
134
|
+
- - ">"
|
131
135
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
136
|
+
version: 1.3.1
|
133
137
|
requirements: []
|
134
138
|
rubygems_version: 3.2.15
|
135
139
|
signing_key:
|