@unabridged/midwest 0.8.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +5 -5
  2. package/app/assets/icons/available-icons.yml +11 -0
  3. package/app/assets/icons/loader-audio.svg +29 -0
  4. package/app/assets/icons/loader-ball-triangle.svg +46 -0
  5. package/app/assets/icons/loader-bars.svg +52 -0
  6. package/app/assets/icons/loader-circles.svg +20 -0
  7. package/app/assets/icons/loader-grid.svg +56 -0
  8. package/app/assets/icons/loader-oval.svg +17 -0
  9. package/app/assets/icons/loader-puff.svg +37 -0
  10. package/app/assets/icons/loader-rings.svg +42 -0
  11. package/app/assets/icons/loader-spinning-circles.svg +55 -0
  12. package/app/assets/icons/loader-tail-spin.svg +32 -0
  13. package/app/assets/icons/loader-three-dots.svg +33 -0
  14. package/app/assets/javascript/midwest/index.ts +2 -10
  15. package/app/assets/javascript/midwest.js +365 -81
  16. package/app/assets/javascript/midwest.js.map +1 -1
  17. package/app/assets/stylesheets/midwest/color-system.css +0 -2
  18. package/app/assets/stylesheets/midwest.css +1 -1
  19. package/app/assets/stylesheets/midwest.tailwind.css +3 -2
  20. package/dist/css/midwest.css +1 -1
  21. package/dist/javascript/collection/app/assets/javascript/midwest/index.js +2 -10
  22. package/dist/javascript/collection/app/assets/javascript/midwest/index.js.map +1 -1
  23. package/dist/javascript/collection/app/components/midwest/card_component/card_component_controller.js +10 -2
  24. package/dist/javascript/collection/app/components/midwest/card_component/card_component_controller.js.map +1 -1
  25. package/dist/javascript/collection/app/components/midwest/carousel_component/carousel_component_controller.js +62 -2
  26. package/dist/javascript/collection/app/components/midwest/carousel_component/carousel_component_controller.js.map +1 -1
  27. package/dist/javascript/collection/app/components/midwest/dialog_component/dialog_component_controller.js +58 -17
  28. package/dist/javascript/collection/app/components/midwest/dialog_component/dialog_component_controller.js.map +1 -1
  29. package/dist/javascript/collection/app/components/midwest/dropdown_component/dropdown_component_controller.js +56 -1
  30. package/dist/javascript/collection/app/components/midwest/dropdown_component/dropdown_component_controller.js.map +1 -1
  31. package/dist/javascript/collection/app/components/midwest/form/file_component/file_component_controller.js +49 -22
  32. package/dist/javascript/collection/app/components/midwest/form/file_component/file_component_controller.js.map +1 -1
  33. package/dist/javascript/collection/app/components/midwest/form/form_controller.js +36 -0
  34. package/dist/javascript/collection/app/components/midwest/form/form_controller.js.map +1 -0
  35. package/dist/javascript/collection/app/components/midwest/form/input_component/input_component_controller.js +48 -0
  36. package/dist/javascript/collection/app/components/midwest/form/input_component/input_component_controller.js.map +1 -1
  37. package/dist/javascript/collection/app/components/midwest/prose_component/prose_component_controller.js +2 -1
  38. package/dist/javascript/collection/app/components/midwest/prose_component/prose_component_controller.js.map +1 -1
  39. package/dist/javascript/collection/app/components/midwest/tabs_component/tabs_component_controller.js +32 -0
  40. package/dist/javascript/collection/app/components/midwest/tabs_component/tabs_component_controller.js.map +1 -1
  41. package/dist/javascript/collection/app/components/midwest/tooltip_component/tooltip_component_controller.js +15 -1
  42. package/dist/javascript/collection/app/components/midwest/tooltip_component/tooltip_component_controller.js.map +1 -1
  43. package/dist/javascript/midwest.d.ts +2 -0
  44. package/dist/javascript/midwest.js +365 -81
  45. package/dist/javascript/midwest.js.map +1 -1
  46. package/package.json +2 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Rails Tests](https://img.shields.io/github/actions/workflow/status/unabridged/midwest/ci.yml?job=tests&branch=main&label=Rails%20Tests)](https://github.com/unabridged/midwest/actions/workflows/ci.yml)
4
4
  [![Bridgetown Tests](https://img.shields.io/github/actions/workflow/status/unabridged/midwest/ci.yml?job=bridgetown-tests&branch=main&label=Bridgetown%20Tests)](https://github.com/unabridged/midwest/actions/workflows/ci.yml)
5
- [![Ruby](https://img.shields.io/badge/Ruby-3.3_%7C_3.4_%7C_4.0-CC342D?logo=ruby&logoColor=white)](https://github.com/unabridged/midwest/actions/workflows/ci.yml)
5
+ [![Ruby](https://img.shields.io/badge/Ruby-3.3_%7C_3.4-CC342D?logo=ruby&logoColor=white)](https://github.com/unabridged/midwest/actions/workflows/ci.yml)
6
6
 
7
7
  Midwest Component Library is an implementation of the Midwest Design System using [ViewComponent](https://github.com/github/view_component).
8
8
 
@@ -63,7 +63,7 @@ Target a specific Rails or Bridgetown version:
63
63
  ```bash
64
64
  bin/test --rails 8
65
65
  bin/test --bridgetown v2
66
- bin/test --rails 7,8 --ruby 4.0
66
+ bin/test --rails 7,8
67
67
  ```
68
68
 
69
69
  Run jobs sequentially instead of in parallel:
@@ -88,10 +88,10 @@ The gem uses [Appraisal](https://github.com/thoughtbot/appraisal) to test agains
88
88
 
89
89
  | Appraisal | Target | Ruby |
90
90
  |---|---|---|
91
- | `rails-7` | Rails ~> 7.1 | 3.3, 3.4, 4.0 |
92
- | `rails-8` | Rails ~> 8.0 | 3.3, 3.4, 4.0 |
91
+ | `rails-7` | Rails ~> 7.1 | 3.3, 3.4 |
92
+ | `rails-8` | Rails ~> 8.0 | 3.3, 3.4 |
93
93
  | `bridgetown-v1` | Bridgetown ~> 1.0 | 3.4 |
94
- | `bridgetown-v2` | Bridgetown ~> 2.0 | 3.4, 4.0 |
94
+ | `bridgetown-v2` | Bridgetown ~> 2.0 | 3.4 |
95
95
 
96
96
  Ruby versions are installed and managed via [asdf](https://asdf-vm.com). To install any missing versions from the matrix:
97
97
 
@@ -698,6 +698,17 @@
698
698
  - "list-outline"
699
699
  - "list-sharp"
700
700
  - "list"
701
+ - "loader-audio"
702
+ - "loader-ball-triangle"
703
+ - "loader-bars"
704
+ - "loader-circles"
705
+ - "loader-grid"
706
+ - "loader-oval"
707
+ - "loader-puff"
708
+ - "loader-rings"
709
+ - "loader-spinning-circles"
710
+ - "loader-tail-spin"
711
+ - "loader-three-dots"
701
712
  - "locate-outline"
702
713
  - "locate-sharp"
703
714
  - "locate"
@@ -0,0 +1,29 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 55 80" xmlns="http://www.w3.org/2000/svg"xmlns="http://www.w3.org/2000/svg" class="ionicon">
3
+ <g transform="matrix(1 0 0 -1 0 80)">
4
+ <rect width="10" height="20" rx="3" fill="currentColor">
5
+ <animate attributeName="height"
6
+ begin="0s" dur="4.3s"
7
+ values="20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20" calcMode="linear"
8
+ repeatCount="indefinite" />
9
+ </rect>
10
+ <rect x="15" width="10" height="80" rx="3" fill="currentColor">
11
+ <animate attributeName="height"
12
+ begin="0s" dur="2s"
13
+ values="80;55;33;5;75;23;73;33;12;14;60;80" calcMode="linear"
14
+ repeatCount="indefinite" />
15
+ </rect>
16
+ <rect x="30" width="10" height="50" rx="3" fill="currentColor">
17
+ <animate attributeName="height"
18
+ begin="0s" dur="1.4s"
19
+ values="50;34;78;23;56;23;34;76;80;54;21;50" calcMode="linear"
20
+ repeatCount="indefinite" />
21
+ </rect>
22
+ <rect x="45" width="10" height="30" rx="3" fill="currentColor">
23
+ <animate attributeName="height"
24
+ begin="0s" dur="2s"
25
+ values="30;45;13;80;56;72;45;76;34;23;67;30" calcMode="linear"
26
+ repeatCount="indefinite" />
27
+ </rect>
28
+ </g>
29
+ </svg>
@@ -0,0 +1,46 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 57 57" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
3
+ <g fill="none" fill-rule="evenodd">
4
+ <g transform="translate(1 1)" stroke-width="2">
5
+ <circle cx="5" cy="50" r="5">
6
+ <animate attributeName="cy"
7
+ begin="0s" dur="2.2s"
8
+ values="50;5;50;50"
9
+ calcMode="linear"
10
+ repeatCount="indefinite" />
11
+ <animate attributeName="cx"
12
+ begin="0s" dur="2.2s"
13
+ values="5;27;49;5"
14
+ calcMode="linear"
15
+ repeatCount="indefinite" />
16
+ </circle>
17
+ <circle cx="27" cy="5" r="5">
18
+ <animate attributeName="cy"
19
+ begin="0s" dur="2.2s"
20
+ from="5" to="5"
21
+ values="5;50;50;5"
22
+ calcMode="linear"
23
+ repeatCount="indefinite" />
24
+ <animate attributeName="cx"
25
+ begin="0s" dur="2.2s"
26
+ from="27" to="27"
27
+ values="27;49;5;27"
28
+ calcMode="linear"
29
+ repeatCount="indefinite" />
30
+ </circle>
31
+ <circle cx="49" cy="50" r="5">
32
+ <animate attributeName="cy"
33
+ begin="0s" dur="2.2s"
34
+ values="50;50;5;50"
35
+ calcMode="linear"
36
+ repeatCount="indefinite" />
37
+ <animate attributeName="cx"
38
+ from="49" to="49"
39
+ begin="0s" dur="2.2s"
40
+ values="49;5;27;49"
41
+ calcMode="linear"
42
+ repeatCount="indefinite" />
43
+ </circle>
44
+ </g>
45
+ </g>
46
+ </svg>
@@ -0,0 +1,52 @@
1
+ <svg viewBox="0 0 135 140" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
2
+ <rect y="10" width="15" height="120" rx="6">
3
+ <animate attributeName="height"
4
+ begin="0.5s" dur="1s"
5
+ values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear"
6
+ repeatCount="indefinite" />
7
+ <animate attributeName="y"
8
+ begin="0.5s" dur="1s"
9
+ values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear"
10
+ repeatCount="indefinite" />
11
+ </rect>
12
+ <rect x="30" y="10" width="15" height="120" rx="6">
13
+ <animate attributeName="height"
14
+ begin="0.25s" dur="1s"
15
+ values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear"
16
+ repeatCount="indefinite" />
17
+ <animate attributeName="y"
18
+ begin="0.25s" dur="1s"
19
+ values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear"
20
+ repeatCount="indefinite" />
21
+ </rect>
22
+ <rect x="60" width="15" height="140" rx="6">
23
+ <animate attributeName="height"
24
+ begin="0s" dur="1s"
25
+ values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear"
26
+ repeatCount="indefinite" />
27
+ <animate attributeName="y"
28
+ begin="0s" dur="1s"
29
+ values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear"
30
+ repeatCount="indefinite" />
31
+ </rect>
32
+ <rect x="90" y="10" width="15" height="120" rx="6">
33
+ <animate attributeName="height"
34
+ begin="0.25s" dur="1s"
35
+ values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear"
36
+ repeatCount="indefinite" />
37
+ <animate attributeName="y"
38
+ begin="0.25s" dur="1s"
39
+ values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear"
40
+ repeatCount="indefinite" />
41
+ </rect>
42
+ <rect x="120" y="10" width="15" height="120" rx="6">
43
+ <animate attributeName="height"
44
+ begin="0.5s" dur="1s"
45
+ values="120;110;100;90;80;70;60;50;40;140;120" calcMode="linear"
46
+ repeatCount="indefinite" />
47
+ <animate attributeName="y"
48
+ begin="0.5s" dur="1s"
49
+ values="10;15;20;25;30;35;40;45;50;0;10" calcMode="linear"
50
+ repeatCount="indefinite" />
51
+ </rect>
52
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg viewBox="0 0 135 135" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
2
+ <path d="M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z">
3
+ <animateTransform
4
+ attributeName="transform"
5
+ type="rotate"
6
+ from="0 67 67"
7
+ to="-360 67 67"
8
+ dur="2.5s"
9
+ repeatCount="indefinite"/>
10
+ </path>
11
+ <path d="M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z">
12
+ <animateTransform
13
+ attributeName="transform"
14
+ type="rotate"
15
+ from="0 67 67"
16
+ to="360 67 67"
17
+ dur="8s"
18
+ repeatCount="indefinite"/>
19
+ </path>
20
+ </svg>
@@ -0,0 +1,56 @@
1
+ <svg viewBox="0 0 105 105" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
2
+ <circle cx="12.5" cy="12.5" r="12.5">
3
+ <animate attributeName="fill-opacity"
4
+ begin="0s" dur="1s"
5
+ values="1;.2;1" calcMode="linear"
6
+ repeatCount="indefinite" />
7
+ </circle>
8
+ <circle cx="12.5" cy="52.5" r="12.5" fill-opacity=".5">
9
+ <animate attributeName="fill-opacity"
10
+ begin="100ms" dur="1s"
11
+ values="1;.2;1" calcMode="linear"
12
+ repeatCount="indefinite" />
13
+ </circle>
14
+ <circle cx="52.5" cy="12.5" r="12.5">
15
+ <animate attributeName="fill-opacity"
16
+ begin="300ms" dur="1s"
17
+ values="1;.2;1" calcMode="linear"
18
+ repeatCount="indefinite" />
19
+ </circle>
20
+ <circle cx="52.5" cy="52.5" r="12.5">
21
+ <animate attributeName="fill-opacity"
22
+ begin="600ms" dur="1s"
23
+ values="1;.2;1" calcMode="linear"
24
+ repeatCount="indefinite" />
25
+ </circle>
26
+ <circle cx="92.5" cy="12.5" r="12.5">
27
+ <animate attributeName="fill-opacity"
28
+ begin="800ms" dur="1s"
29
+ values="1;.2;1" calcMode="linear"
30
+ repeatCount="indefinite" />
31
+ </circle>
32
+ <circle cx="92.5" cy="52.5" r="12.5">
33
+ <animate attributeName="fill-opacity"
34
+ begin="400ms" dur="1s"
35
+ values="1;.2;1" calcMode="linear"
36
+ repeatCount="indefinite" />
37
+ </circle>
38
+ <circle cx="12.5" cy="92.5" r="12.5">
39
+ <animate attributeName="fill-opacity"
40
+ begin="700ms" dur="1s"
41
+ values="1;.2;1" calcMode="linear"
42
+ repeatCount="indefinite" />
43
+ </circle>
44
+ <circle cx="52.5" cy="92.5" r="12.5">
45
+ <animate attributeName="fill-opacity"
46
+ begin="500ms" dur="1s"
47
+ values="1;.2;1" calcMode="linear"
48
+ repeatCount="indefinite" />
49
+ </circle>
50
+ <circle cx="92.5" cy="92.5" r="12.5">
51
+ <animate attributeName="fill-opacity"
52
+ begin="200ms" dur="1s"
53
+ values="1;.2;1" calcMode="linear"
54
+ repeatCount="indefinite" />
55
+ </circle>
56
+ </svg>
@@ -0,0 +1,17 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
3
+ <g fill="none" fill-rule="evenodd">
4
+ <g transform="translate(1 1)" stroke-width="2">
5
+ <circle stroke-opacity=".5" cx="18" cy="18" r="18"/>
6
+ <path d="M36 18c0-9.94-8.06-18-18-18">
7
+ <animateTransform
8
+ attributeName="transform"
9
+ type="rotate"
10
+ from="0 18 18"
11
+ to="360 18 18"
12
+ dur="1s"
13
+ repeatCount="indefinite"/>
14
+ </path>
15
+ </g>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,37 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
3
+ <g fill="none" fill-rule="evenodd" stroke-width="2">
4
+ <circle cx="22" cy="22" r="1">
5
+ <animate attributeName="r"
6
+ begin="0s" dur="1.8s"
7
+ values="1; 20"
8
+ calcMode="spline"
9
+ keyTimes="0; 1"
10
+ keySplines="0.165, 0.84, 0.44, 1"
11
+ repeatCount="indefinite" />
12
+ <animate attributeName="stroke-opacity"
13
+ begin="0s" dur="1.8s"
14
+ values="1; 0"
15
+ calcMode="spline"
16
+ keyTimes="0; 1"
17
+ keySplines="0.3, 0.61, 0.355, 1"
18
+ repeatCount="indefinite" />
19
+ </circle>
20
+ <circle cx="22" cy="22" r="1">
21
+ <animate attributeName="r"
22
+ begin="-0.9s" dur="1.8s"
23
+ values="1; 20"
24
+ calcMode="spline"
25
+ keyTimes="0; 1"
26
+ keySplines="0.165, 0.84, 0.44, 1"
27
+ repeatCount="indefinite" />
28
+ <animate attributeName="stroke-opacity"
29
+ begin="-0.9s" dur="1.8s"
30
+ values="1; 0"
31
+ calcMode="spline"
32
+ keyTimes="0; 1"
33
+ keySplines="0.3, 0.61, 0.355, 1"
34
+ repeatCount="indefinite" />
35
+ </circle>
36
+ </g>
37
+ </svg>
@@ -0,0 +1,42 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
3
+ <g fill="none" fill-rule="evenodd" transform="translate(1 1)" stroke-width="2">
4
+ <circle cx="22" cy="22" r="6" stroke-opacity="0">
5
+ <animate attributeName="r"
6
+ begin="1.5s" dur="3s"
7
+ values="6;22"
8
+ calcMode="linear"
9
+ repeatCount="indefinite" />
10
+ <animate attributeName="stroke-opacity"
11
+ begin="1.5s" dur="3s"
12
+ values="1;0" calcMode="linear"
13
+ repeatCount="indefinite" />
14
+ <animate attributeName="stroke-width"
15
+ begin="1.5s" dur="3s"
16
+ values="2;0" calcMode="linear"
17
+ repeatCount="indefinite" />
18
+ </circle>
19
+ <circle cx="22" cy="22" r="6" stroke-opacity="0">
20
+ <animate attributeName="r"
21
+ begin="3s" dur="3s"
22
+ values="6;22"
23
+ calcMode="linear"
24
+ repeatCount="indefinite" />
25
+ <animate attributeName="stroke-opacity"
26
+ begin="3s" dur="3s"
27
+ values="1;0" calcMode="linear"
28
+ repeatCount="indefinite" />
29
+ <animate attributeName="stroke-width"
30
+ begin="3s" dur="3s"
31
+ values="2;0" calcMode="linear"
32
+ repeatCount="indefinite" />
33
+ </circle>
34
+ <circle cx="22" cy="22" r="8">
35
+ <animate attributeName="r"
36
+ begin="0s" dur="1.5s"
37
+ values="6;1;2;3;4;5;6"
38
+ calcMode="linear"
39
+ repeatCount="indefinite" />
40
+ </circle>
41
+ </g>
42
+ </svg>
@@ -0,0 +1,55 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 58 58" xmlns="http://www.w3.org/2000/svg">
3
+ <g fill="none" fill-rule="evenodd">
4
+ <g transform="translate(2 1)" stroke="currentColor" stroke-width="1.5">
5
+ <circle cx="42.601" cy="11.462" r="5" fill-opacity="1" fill="currentColor">
6
+ <animate attributeName="fill-opacity"
7
+ begin="0s" dur="1.3s"
8
+ values="1;0;0;0;0;0;0;0" calcMode="linear"
9
+ repeatCount="indefinite" />
10
+ </circle>
11
+ <circle cx="49.063" cy="27.063" r="5" fill-opacity="0" fill="currentColor">
12
+ <animate attributeName="fill-opacity"
13
+ begin="0s" dur="1.3s"
14
+ values="0;1;0;0;0;0;0;0" calcMode="linear"
15
+ repeatCount="indefinite" />
16
+ </circle>
17
+ <circle cx="42.601" cy="42.663" r="5" fill-opacity="0" fill="currentColor">
18
+ <animate attributeName="fill-opacity"
19
+ begin="0s" dur="1.3s"
20
+ values="0;0;1;0;0;0;0;0" calcMode="linear"
21
+ repeatCount="indefinite" />
22
+ </circle>
23
+ <circle cx="27" cy="49.125" r="5" fill-opacity="0" fill="currentColor">
24
+ <animate attributeName="fill-opacity"
25
+ begin="0s" dur="1.3s"
26
+ values="0;0;0;1;0;0;0;0" calcMode="linear"
27
+ repeatCount="indefinite" />
28
+ </circle>
29
+ <circle cx="11.399" cy="42.663" r="5" fill-opacity="0" fill="currentColor">
30
+ <animate attributeName="fill-opacity"
31
+ begin="0s" dur="1.3s"
32
+ values="0;0;0;0;1;0;0;0" calcMode="linear"
33
+ repeatCount="indefinite" />
34
+ </circle>
35
+ <circle cx="4.938" cy="27.063" r="5" fill-opacity="0" fill="currentColor">
36
+ <animate attributeName="fill-opacity"
37
+ begin="0s" dur="1.3s"
38
+ values="0;0;0;0;0;1;0;0" calcMode="linear"
39
+ repeatCount="indefinite" />
40
+ </circle>
41
+ <circle cx="11.399" cy="11.462" r="5" fill-opacity="0" fill="currentColor">
42
+ <animate attributeName="fill-opacity"
43
+ begin="0s" dur="1.3s"
44
+ values="0;0;0;0;0;0;1;0" calcMode="linear"
45
+ repeatCount="indefinite" />
46
+ </circle>
47
+ <circle cx="27" cy="5" r="5" fill-opacity="0" fill="currentColor">
48
+ <animate attributeName="fill-opacity"
49
+ begin="0s" dur="1.3s"
50
+ values="0;0;0;0;0;0;0;1" calcMode="linear"
51
+ repeatCount="indefinite" />
52
+ </circle>
53
+ </g>
54
+ </g>
55
+ </svg>
@@ -0,0 +1,32 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg">
3
+ <defs>
4
+ <linearGradient x1="8.042%" y1="0%" x2="65.682%" y2="23.865%" id="a">
5
+ <stop stop-color="currentColor" stop-opacity="0" offset="0%"/>
6
+ <stop stop-color="currentColor" stop-opacity=".631" offset="63.146%"/>
7
+ <stop stop-color="currentColor" offset="100%"/>
8
+ </linearGradient>
9
+ </defs>
10
+ <g fill="none" fill-rule="evenodd">
11
+ <g transform="translate(1 1)">
12
+ <path d="M36 18c0-9.94-8.06-18-18-18" id="Oval-2" stroke="url(#a)" stroke-width="2">
13
+ <animateTransform
14
+ attributeName="transform"
15
+ type="rotate"
16
+ from="0 18 18"
17
+ to="360 18 18"
18
+ dur="0.9s"
19
+ repeatCount="indefinite" />
20
+ </path>
21
+ <circle fill="currentColor" cx="36" cy="18" r="1">
22
+ <animateTransform
23
+ attributeName="transform"
24
+ type="rotate"
25
+ from="0 18 18"
26
+ to="360 18 18"
27
+ dur="0.9s"
28
+ repeatCount="indefinite" />
29
+ </circle>
30
+ </g>
31
+ </g>
32
+ </svg>
@@ -0,0 +1,33 @@
1
+ <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
+ <svg viewBox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
3
+ <circle cx="15" cy="15" r="15">
4
+ <animate attributeName="r" from="15" to="15"
5
+ begin="0s" dur="0.8s"
6
+ values="15;9;15" calcMode="linear"
7
+ repeatCount="indefinite" />
8
+ <animate attributeName="fill-opacity" from="1" to="1"
9
+ begin="0s" dur="0.8s"
10
+ values="1;.5;1" calcMode="linear"
11
+ repeatCount="indefinite" />
12
+ </circle>
13
+ <circle cx="60" cy="15" r="9" fill-opacity="0.3">
14
+ <animate attributeName="r" from="9" to="9"
15
+ begin="0s" dur="0.8s"
16
+ values="9;15;9" calcMode="linear"
17
+ repeatCount="indefinite" />
18
+ <animate attributeName="fill-opacity" from="0.5" to="0.5"
19
+ begin="0s" dur="0.8s"
20
+ values=".5;1;.5" calcMode="linear"
21
+ repeatCount="indefinite" />
22
+ </circle>
23
+ <circle cx="105" cy="15" r="15">
24
+ <animate attributeName="r" from="15" to="15"
25
+ begin="0s" dur="0.8s"
26
+ values="15;9;15" calcMode="linear"
27
+ repeatCount="indefinite" />
28
+ <animate attributeName="fill-opacity" from="1" to="1"
29
+ begin="0s" dur="0.8s"
30
+ values="1;.5;1" calcMode="linear"
31
+ repeatCount="indefinite" />
32
+ </circle>
33
+ </svg>
@@ -1,19 +1,15 @@
1
1
  import Card from '../../../components/midwest/card_component/card_component_controller'
2
2
  import Banner from '../../../components/midwest/banner_component/banner_component_controller'
3
- import Callout from '../../../components/midwest/callout_component/callout_component_controller'
4
3
  import Input from '../../../components/midwest/form/input_component/input_component_controller'
5
4
  import File from '../../../components/midwest/form/file_component/file_component_controller'
6
- import Switch from '../../../components/midwest/form/switch_component/switch_component_controller'
7
5
  import Dropdown from '../../../components/midwest/dropdown_component/dropdown_component_controller'
8
- import Avatar from '../../../components/midwest/avatar_component/avatar_component_controller'
9
6
  import Prose from '../../../components/midwest/prose_component/prose_component_controller'
10
7
  import Dialog from '../../../components/midwest/dialog_component/dialog_component_controller'
11
- import Video from '../../../components/midwest/video_component/video_component_controller'
12
- import DropdownItem from '../../../components/midwest/dropdown_item_component/dropdown_item_component_controller'
13
8
  import Tabs from '../../../components/midwest/tabs_component/tabs_component_controller'
14
9
  import Tooltip from '../../../components/midwest/tooltip_component/tooltip_component_controller'
15
10
  import Carousel from '../../../components/midwest/carousel_component/carousel_component_controller'
16
11
  import FormLiveSummary from '../../../components/midwest/form/live_summary_component/live_summary_component_controller'
12
+ import Form from '../../../components/midwest/form/form_controller'
17
13
  /* IMPORTS */
18
14
 
19
15
  export { Card, Banner }
@@ -21,19 +17,15 @@ export { Card, Banner }
21
17
  export function registerMidwestControllers (application: any) {
22
18
  application.register('midwest-card', Card)
23
19
  application.register('midwest-banner', Banner)
24
- application.register('midwest-callout', Callout)
25
20
  application.register('midwest-input', Input)
26
21
  application.register('midwest-file', File)
27
- application.register('midwest-switch', Switch)
28
22
  application.register('midwest-dropdown', Dropdown)
29
- application.register('midwest-avatar', Avatar)
30
23
  application.register('midwest-prose', Prose)
31
24
  application.register('midwest-dialog', Dialog)
32
- application.register('midwest-video', Video)
33
- application.register('midwest-dropdown-item', DropdownItem)
34
25
  application.register('midwest-tabs', Tabs)
35
26
  application.register('midwest-tooltip', Tooltip)
36
27
  application.register('midwest-carousel', Carousel)
37
28
  application.register('midwest-form-live-summary', FormLiveSummary)
29
+ application.register('midwest-form', Form)
38
30
  /* EXPORTS */
39
31
  }