coherent 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -16,31 +16,27 @@ external projects:
16
16
 
17
17
 
18
18
 
19
- # This is the main target for your application. This target will yield optimised
20
- # CSS and Javascript files for all of your assets. In addition, it will emit
21
- # uncompressed and debug versions which are useful during development.
22
- all:
23
- js:
24
- # Your main Javascript assets, specified in order they should be loaded.
25
- # The final entry loads all Javascript assets in the src/js folder and
26
- # uses the import statements to compute the dependency order.
27
- - coherent-uncompressed.js
28
- - src/js/<%=name%>.js
29
- - src/js
30
-
31
- css:
32
- # Your CSS files. You may include all CSS files in the src/css folder,
33
- # but they may be included in the wrong order. So it's usually best to
34
- # specify them explicitly
35
- - src/css/reset.css
36
- - src/css/<%=name%>.css
37
-
38
- jsnib:
39
- # Create a JSNIB package file for each folder in the src/nibs folder.
40
- # A JSNIB package is a self contained group of Javascript, CSS and HTML
41
- # that is used to provide loadable UI modules.
42
- remove prefix: src/nibs
43
- include: src/nibs
19
+ # Your main Javascript assets, specified in order they should be loaded.
20
+ # The final entry loads all Javascript assets in the src/js folder and
21
+ # uses the import statements to compute the dependency order.
22
+ <%=name%>.js:
23
+ - coherent-uncompressed.js
24
+ - src/js/<%=name%>.js
25
+ - src/js
26
+
27
+ # Your CSS files. You may include all CSS files in the src/css folder,
28
+ # but they may be included in the wrong order. So it's usually best to
29
+ # specify them explicitly
30
+ <%=name%>.css:
31
+ - src/css/reset.css
32
+ - src/css/<%=name%>.css
33
+
34
+ # Create a bundle file for the primary nib file.
35
+ # A JsBundle is a self contained group of Javascript, CSS and HTML
36
+ # that is used to provide loadable UI modules.
37
+ <%=nib_name%>.jsbundle:
38
+ - src/nibs/<%=nib_name%>/<%=nib_name%>.jsnib
39
+ - src/nibs/<%=nib_name%>/
44
40
 
45
41
  pages:
46
42
  # Copy any HTML assets from the src/pages folder over to the build folder.
@@ -2,118 +2,118 @@
2
2
 
3
3
  /* Styles for UI elements that have been selected.
4
4
  */
5
- .c-selected
5
+ .ui-selected
6
6
  {
7
7
  }
8
8
 
9
9
  /* Styles applied to views that are disabled. Not all browsers support the
10
10
  disabled pseudo selector, so Coherent applies the disabled class instead.
11
11
  */
12
- .c-disabled
12
+ .ui-disabled
13
13
  {
14
14
  }
15
15
 
16
16
  /* Views that are read-only will have these styles.
17
17
  */
18
- .c-read-only
18
+ .ui-readonly
19
19
  {
20
20
  }
21
21
 
22
22
  /* When a view is displaying the placeholder value for a null value, the view
23
23
  will have this class name.
24
24
  */
25
- .c-placeholder
25
+ .ui-placeholder
26
26
  {
27
27
  }
28
28
 
29
29
  /* Since not all browsers support the focus pseudo selector, Coherent applies
30
30
  the focused class to all views that accept first responder status.
31
31
  */
32
- .c-focused
32
+ .ui-focused
33
33
  {
34
34
  }
35
35
 
36
- .c-hover
36
+ .ui-hover
37
37
  {
38
38
  }
39
39
 
40
- .c-asc
40
+ .ui-sort-ascending
41
41
  {
42
42
  }
43
43
 
44
- .c-desc
44
+ .ui-sort-descending
45
45
  {
46
46
  }
47
47
 
48
- .c-active
48
+ .ui-active
49
49
  {
50
50
  }
51
51
 
52
- .c-updating
52
+ .ui-updating
53
53
  {
54
54
  }
55
55
 
56
- .c-invisible
56
+ .ui-hidden
57
57
  {
58
58
  }
59
59
 
60
- .c-invalid
60
+ .ui-invalid
61
61
  {
62
62
  }
63
63
 
64
- .c-inserted
64
+ .ui-inserted
65
65
  {
66
66
  }
67
67
 
68
- .c-deleted
68
+ .ui-deleted
69
69
  {
70
70
  }
71
71
 
72
- .c-replacing
72
+ .ui-replacing
73
73
  {
74
74
  }
75
75
 
76
- .c-loading
76
+ .ui-loading
77
77
  {
78
78
  }
79
79
 
80
- .c-first
80
+ .ui-first
81
81
  {
82
82
  }
83
83
 
84
- .c-last
84
+ .ui-last
85
85
  {
86
86
  }
87
87
 
88
- .c-drag-and-drop-copy
88
+ .ui-drag-and-drop-copy
89
89
  {
90
90
  }
91
91
 
92
- .c-drag-and-drop-move
92
+ .ui-drag-and-drop-move
93
93
  {
94
94
  }
95
95
 
96
- .c-drag-and-drop-link
96
+ .ui-drag-and-drop-link
97
97
  {
98
98
  }
99
99
 
100
- .c-drag-and-drop-no
100
+ .ui-drag-and-drop-no
101
101
  {
102
102
  }
103
103
 
104
- .c-window-inactive
104
+ .ui-window-inactive
105
105
  {
106
106
  }
107
107
 
108
- .c-outline-expanded
108
+ .ui-outline-expanded
109
109
  {
110
110
  }
111
111
 
112
- .c-outline-leaf
112
+ .ui-outline-leaf
113
113
  {
114
114
  }
115
115
 
116
- .c-outline-disclosure-button
116
+ .ui-outline-disclosure-button
117
117
  {
118
118
  }
119
119
 
@@ -9,9 +9,6 @@
9
9
  <script src="res/latest/<%=name%>-debug.js" type="text/javascript" charset="utf-8"></script>
10
10
  </head>
11
11
  <body>
12
- <script>
13
- coherent.Application.shared.setAssetLocation("res/latest");
14
- coherent.Application.shared.setMainBundle("<%=nib_name%>");
15
- </script>
12
+ <script src="res/latest/<%=nib_name%>.jsbundle" type="text/javascript" charset="utf-8"></script>
16
13
  </body>
17
14
  </html>
data/coherent.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{coherent}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Watkins"]
@@ -16,31 +16,27 @@ external projects:
16
16
 
17
17
 
18
18
 
19
- # This is the main target for your application. This target will yield optimised
20
- # CSS and Javascript files for all of your assets. In addition, it will emit
21
- # uncompressed and debug versions which are useful during development.
22
- all:
23
- js:
24
- # Your main Javascript assets, specified in order they should be loaded.
25
- # The final entry loads all Javascript assets in the src/js folder and
26
- # uses the import statements to compute the dependency order.
27
- - coherent-uncompressed.js
28
- - src/js/<%=name%>.js
29
- - src/js
30
-
31
- css:
32
- # Your CSS files. You may include all CSS files in the src/css folder,
33
- # but they may be included in the wrong order. So it's usually best to
34
- # specify them explicitly
35
- - src/css/reset.css
36
- - src/css/<%=name%>.css
37
-
38
- jsnib:
39
- # Create a JSNIB package file for each folder in the src/nibs folder.
40
- # A JSNIB package is a self contained group of Javascript, CSS and HTML
41
- # that is used to provide loadable UI modules.
42
- remove prefix: src/nibs
43
- include: src/nibs
19
+ # Your main Javascript assets, specified in order they should be loaded.
20
+ # The final entry loads all Javascript assets in the src/js folder and
21
+ # uses the import statements to compute the dependency order.
22
+ <%=name%>.js:
23
+ - coherent-uncompressed.js
24
+ - src/js/<%=name%>.js
25
+ - src/js
26
+
27
+ # Your CSS files. You may include all CSS files in the src/css folder,
28
+ # but they may be included in the wrong order. So it's usually best to
29
+ # specify them explicitly
30
+ <%=name%>.css:
31
+ - src/css/reset.css
32
+ - src/css/<%=name%>.css
33
+
34
+ # Create a bundle file for the primary nib file.
35
+ # A JsBundle is a self contained group of Javascript, CSS and HTML
36
+ # that is used to provide loadable UI modules.
37
+ <%=name%>.jsbundle:
38
+ - src/nibs/<%=name%>/<%=name%>.jsnib
39
+ - src/nibs/<%=name%>/
44
40
 
45
41
  pages:
46
42
  # Copy any HTML assets from the src/pages folder over to the build folder.
@@ -2,118 +2,118 @@
2
2
 
3
3
  /* Styles for UI elements that have been selected.
4
4
  */
5
- .c-selected
5
+ .ui-selected
6
6
  {
7
7
  }
8
8
 
9
9
  /* Styles applied to views that are disabled. Not all browsers support the
10
10
  disabled pseudo selector, so Coherent applies the disabled class instead.
11
11
  */
12
- .c-disabled
12
+ .ui-disabled
13
13
  {
14
14
  }
15
15
 
16
16
  /* Views that are read-only will have these styles.
17
17
  */
18
- .c-read-only
18
+ .ui-readonly
19
19
  {
20
20
  }
21
21
 
22
22
  /* When a view is displaying the placeholder value for a null value, the view
23
23
  will have this class name.
24
24
  */
25
- .c-placeholder
25
+ .ui-placeholder
26
26
  {
27
27
  }
28
28
 
29
29
  /* Since not all browsers support the focus pseudo selector, Coherent applies
30
30
  the focused class to all views that accept first responder status.
31
31
  */
32
- .c-focused
32
+ .ui-focused
33
33
  {
34
34
  }
35
35
 
36
- .c-hover
36
+ .ui-hover
37
37
  {
38
38
  }
39
39
 
40
- .c-asc
40
+ .ui-sort-ascending
41
41
  {
42
42
  }
43
43
 
44
- .c-desc
44
+ .ui-sort-descending
45
45
  {
46
46
  }
47
47
 
48
- .c-active
48
+ .ui-active
49
49
  {
50
50
  }
51
51
 
52
- .c-updating
52
+ .ui-updating
53
53
  {
54
54
  }
55
55
 
56
- .c-invisible
56
+ .ui-hidden
57
57
  {
58
58
  }
59
59
 
60
- .c-invalid
60
+ .ui-invalid
61
61
  {
62
62
  }
63
63
 
64
- .c-inserted
64
+ .ui-inserted
65
65
  {
66
66
  }
67
67
 
68
- .c-deleted
68
+ .ui-deleted
69
69
  {
70
70
  }
71
71
 
72
- .c-replacing
72
+ .ui-replacing
73
73
  {
74
74
  }
75
75
 
76
- .c-loading
76
+ .ui-loading
77
77
  {
78
78
  }
79
79
 
80
- .c-first
80
+ .ui-first
81
81
  {
82
82
  }
83
83
 
84
- .c-last
84
+ .ui-last
85
85
  {
86
86
  }
87
87
 
88
- .c-drag-and-drop-copy
88
+ .ui-drag-and-drop-copy
89
89
  {
90
90
  }
91
91
 
92
- .c-drag-and-drop-move
92
+ .ui-drag-and-drop-move
93
93
  {
94
94
  }
95
95
 
96
- .c-drag-and-drop-link
96
+ .ui-drag-and-drop-link
97
97
  {
98
98
  }
99
99
 
100
- .c-drag-and-drop-no
100
+ .ui-drag-and-drop-no
101
101
  {
102
102
  }
103
103
 
104
- .c-window-inactive
104
+ .ui-window-inactive
105
105
  {
106
106
  }
107
107
 
108
- .c-outline-expanded
108
+ .ui-outline-expanded
109
109
  {
110
110
  }
111
111
 
112
- .c-outline-leaf
112
+ .ui-outline-leaf
113
113
  {
114
114
  }
115
115
 
116
- .c-outline-disclosure-button
116
+ .ui-outline-disclosure-button
117
117
  {
118
118
  }
119
119
 
@@ -36,7 +36,7 @@
36
36
  background-color: inherit;
37
37
  }
38
38
 
39
- .gallery p.c-updating
39
+ .gallery p.ui-updating
40
40
  {
41
41
  background-color: yellow;
42
42
  }
@@ -82,8 +82,8 @@
82
82
  background-position: 0px 0px;
83
83
  }
84
84
 
85
- .gallery a.c-disabled,
86
- .gallery a.c-disabled:active
85
+ .gallery a.ui-disabled,
86
+ .gallery a.ui-disabled:active
87
87
  {
88
88
  background-position: 0px -44px;
89
89
  cursor: default;
@@ -9,6 +9,6 @@
9
9
  </head>
10
10
 
11
11
  <body>
12
- <script src="res/latest/<%=name%>.jsnib"></script>
12
+ <script src="res/latest/<%=name%>.jsbundle"></script>
13
13
  </body>
14
14
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coherent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Watkins