vhx-quartz 0.8.0 → 0.8.1

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
  SHA1:
3
- metadata.gz: 2b4bb1572cbf11cb2eb356800c80868f88c8bd07
4
- data.tar.gz: 72bde5df5ebf2b1e7bacb69ce3f86ab905fc9308
3
+ metadata.gz: a7c6a79a677cb785e7b2ee5a69af3a7495f539ff
4
+ data.tar.gz: 33d38447c244349e037f8a46d9f560d982f9e515
5
5
  SHA512:
6
- metadata.gz: baa502bb4c136ab3468f094f249c2f856655f1a4f0b6509f732a0f542ab93bd7f277def0ec136acd05fa1f6c7fc1c9e390d3aa5cd3af45ade99118e870ef47a4
7
- data.tar.gz: 1b5a6a51e42760b95eb0f0ea86432a0876b4708f4d71c4af153dbf33c13874eafb78c31025adae3f10027b5ac2b9c89a9520f41f966f529e9cf3f130a7aeadae
6
+ metadata.gz: 48d7dc3f4bfc76e37f3f25281cf3d1c8700e10b55f5c58c9f4829421dc9cb0f41aecf16d64f59d0d0c240a525a9bf01c678811a37b9ff2714cad7831fa0d81d3
7
+ data.tar.gz: 9fc3233a667f46f489c2e7919c38f9a43ac0742463d96782d205a3d97b300f4574c1078eb5bdc7da493e66f120d6e14a26fb451a32d888e89815d84c25817077
@@ -1,5 +1,5 @@
1
1
  module Vhx
2
2
  module Quartz
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
5
5
  end
@@ -198,16 +198,6 @@ vhxm.components.shared.autosuggest.ui.container = {
198
198
  }
199
199
  };
200
200
 
201
- m.component(vhxm.components.shared.autosuggest.ui.container, {
202
- name: 'auto_suggest',
203
- placeholder: 'Enter name',
204
- data: m.prop(['This', 'That', 'Those', 'Some', 'More', 'Left', 'Right']),
205
- focusonready: true,
206
- reset: m.prop(false),
207
- onselect: function(selected) {
208
- // handle event
209
- }
210
- });
211
201
  vhxm.components.shared.autosuggest.ui.list.controller = function(opts, parent) {
212
202
  let self = this;
213
203
 
@@ -29,18 +29,4 @@ vhxm.components.shared.checkbox.ui.container = {
29
29
  ])
30
30
  ]);
31
31
  }
32
- };
33
- // standard checkbox
34
- m.component(vhxm.components.shared.checkbox.ui.container, {
35
- name: 'standard',
36
- checked: true,
37
- size: 'medium'
38
- });
39
-
40
- // toggle checkbox
41
- m.component(vhxm.components.shared.checkbox.ui.container, {
42
- name: 'toggle',
43
- type: 'toggle',
44
- checked: true,
45
- size: 'medium'
46
- });
32
+ };
@@ -1,22 +1,3 @@
1
- // Example Filter Component
2
-
3
- m.component(vhxm.components.shared.filter.container, {
4
- label: 'Customize this table',
5
- api: vhxm.component.name.state.filterApi,
6
- filters: [
7
- 'date',
8
- 'location',
9
- {
10
- type: 'test',
11
- title: 'Test',
12
- template: {
13
- view: function() {
14
- // custom filter template
15
- }
16
- }
17
- }
18
- ]
19
- });
20
1
  vhxm.components.shared.filter.constants = Object.freeze({
21
2
  date: {
22
3
  title: 'Date'
@@ -1,11 +1,3 @@
1
- m.component(vhxm.components.shared.header.ui.container, {
2
- title: 'Section Title',
3
- icon: 'product',
4
- description: 'This should be a concise summary of what this section does',
5
- buttons: m('a.btn-teal', {
6
- href: '#'
7
- }, 'Action')
8
- });
9
1
  vhxm.components.shared.header.ui.container = {
10
2
  view: function(ctrl, data) {
11
3
  return m('header.row.padding-bottom-medium.border-bottom', [
@@ -1,37 +1,3 @@
1
- // horizontal gray radio
2
- m.component(vhxm.components.shared.radio.ui.container, {
3
- color: 'gray',
4
- name: 'horz-gray',
5
- items: [
6
- {
7
- label: 'This',
8
- value: 'this',
9
- checked: true
10
- },
11
- {
12
- label: 'That',
13
- value: 'that'
14
- }
15
- ]
16
- });
17
-
18
- // stacked teal radio
19
- m.component(vhxm.components.shared.radio.ui.container, {
20
- color: 'teal',
21
- stacked: true,
22
- name: 'horz-teal',
23
- items: [
24
- {
25
- label: 'Here',
26
- value: 'here',
27
- checked: true
28
- },
29
- {
30
- label: 'There',
31
- value: 'there'
32
- }
33
- ]
34
- });
35
1
  vhxm.components.shared.radio.ui.container = {
36
2
  view: function(ctrl, opts) {
37
3
  return m('form.form', [
File without changes
@@ -1,24 +1,3 @@
1
- // Example Search Input Component
2
-
3
- m.component(vhxm.components.shared.search_input.ui.container, {
4
- config: function(el) {
5
- // mithril config for post render actions
6
- },
7
- search: function(query, callback) {
8
- // method for search ajax request
9
- // passes a query (the search term)
10
- // and callback param
11
- },
12
- callback: function(data) {
13
- // callback fires when called
14
- // via the callback param above
15
- // passes back data from search request
16
- },
17
- placeholder: 'Search',
18
- oninput: function() {
19
- // input event handler
20
- }
21
- });
22
1
  vhxm.components.shared.search_input.controller = function(opts) {
23
2
  let self = this;
24
3
 
@@ -1,22 +1,3 @@
1
- // Example Select Component
2
-
3
- m.component(vhxm.components.shared.select.ui.container, {
4
- search: mySearch(query, callback),
5
- selected: {
6
- value: null,
7
- label: 'Nothing Selected'
8
- },
9
- items: vhxm.models.section.items,
10
- value_prop: 'id',
11
- label_prop: 'title',
12
- descriptor_prop: 'details',
13
- name: 'selected_id',
14
- callback: function(obj) {
15
- vhxm.models.section.chosen_item = { id: obj.value };
16
- }
17
- });
18
-
19
-
20
1
 
21
2
  vhxm.components.shared.select.controller = function(opts) {
22
3
  let self = this;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vhx-quartz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Robertson, Courtney Burton, Steven Bone, David Gonzalez
@@ -96,6 +96,7 @@ files:
96
96
  - vendor/assets/javascripts/vhx-quartz.filter.js
97
97
  - vendor/assets/javascripts/vhx-quartz.header.js
98
98
  - vendor/assets/javascripts/vhx-quartz.radio.js
99
+ - vendor/assets/javascripts/vhx-quartz.scope.js
99
100
  - vendor/assets/javascripts/vhx-quartz.search_input.js
100
101
  - vendor/assets/javascripts/vhx-quartz.select.js
101
102
  - vendor/assets/stylesheets/vhx-quartz.autosuggest.css