uniform-ui 3.0.0.beta2 → 3.0.0.beta10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/assets/javascripts/uniform/checkbox.js +15 -15
  3. data/lib/assets/javascripts/uniform/component.js +23 -12
  4. data/lib/assets/javascripts/uniform/dropdown.js +54 -54
  5. data/lib/assets/javascripts/uniform/dropzone.js +107 -0
  6. data/lib/assets/javascripts/uniform/floating-label-input.js +14 -12
  7. data/lib/assets/javascripts/uniform/modal.js +31 -33
  8. data/lib/assets/javascripts/uniform/popover.js +59 -40
  9. data/lib/assets/javascripts/uniform/resizer.js +21 -21
  10. data/lib/assets/javascripts/uniform/select.js +187 -163
  11. data/lib/assets/javascripts/uniform/sticker.js +26 -0
  12. data/lib/assets/javascripts/uniform/tooltip.js +29 -16
  13. data/lib/assets/javascripts/uniform.js +23 -8
  14. data/lib/assets/stylesheets/uniform/base.scss +24 -9
  15. data/lib/assets/stylesheets/uniform/components/buttons.scss +4 -5
  16. data/lib/assets/stylesheets/uniform/components/checkbox.scss +2 -0
  17. data/lib/assets/stylesheets/uniform/components/container.scss +8 -7
  18. data/lib/assets/stylesheets/uniform/components/dropzone.scss +40 -0
  19. data/lib/assets/stylesheets/uniform/components/input-group.scss +9 -0
  20. data/lib/assets/stylesheets/uniform/components/loaders.scss +0 -3
  21. data/lib/assets/stylesheets/uniform/components/modal.scss +21 -36
  22. data/lib/assets/stylesheets/uniform/components/pointer.scss +4 -4
  23. data/lib/assets/stylesheets/uniform/components/select.scss +7 -2
  24. data/lib/assets/stylesheets/uniform/components/thumb.scss +0 -1
  25. data/lib/assets/stylesheets/uniform/components/z-input.scss +6 -0
  26. data/lib/assets/stylesheets/uniform/config.scss +156 -0
  27. data/lib/assets/stylesheets/uniform/defaults.scss +2 -26
  28. data/lib/assets/stylesheets/uniform/functions/icons.scss +29 -0
  29. data/lib/assets/stylesheets/uniform/functions/map.scss +95 -0
  30. data/lib/assets/stylesheets/uniform/functions/string.scss +15 -0
  31. data/lib/assets/stylesheets/uniform/functions.scss +4 -79
  32. data/lib/assets/stylesheets/uniform/mixins.scss +34 -26
  33. data/lib/assets/stylesheets/uniform/utilities/borders.scss +12 -13
  34. data/lib/assets/stylesheets/uniform/utilities/effects.scss +31 -0
  35. data/lib/assets/stylesheets/uniform/utilities/layout.scss +22 -22
  36. data/lib/assets/stylesheets/uniform/utilities/position.scss +4 -0
  37. data/lib/assets/stylesheets/uniform/utilities/sizing.scss +14 -8
  38. data/lib/assets/stylesheets/uniform/utilities/spacing.scss +20 -14
  39. data/lib/assets/stylesheets/uniform/utilities/svg.scss +5 -0
  40. data/lib/assets/stylesheets/uniform/utilities/text.scss +1 -0
  41. data/lib/assets/stylesheets/uniform/utilities.scss +8 -0
  42. data/lib/uniform/version.rb +1 -1
  43. metadata +11 -4
  44. data/lib/assets/stylesheets/uniform/variables.scss +0 -134
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uniform-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta2
4
+ version: 3.0.0.beta10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Ehmke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-19 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -51,12 +51,14 @@ files:
51
51
  - lib/assets/javascripts/uniform/checkbox.js
52
52
  - lib/assets/javascripts/uniform/component.js
53
53
  - lib/assets/javascripts/uniform/dropdown.js
54
+ - lib/assets/javascripts/uniform/dropzone.js
54
55
  - lib/assets/javascripts/uniform/floating-label-input.js
55
56
  - lib/assets/javascripts/uniform/icons.js
56
57
  - lib/assets/javascripts/uniform/modal.js
57
58
  - lib/assets/javascripts/uniform/popover.js
58
59
  - lib/assets/javascripts/uniform/resizer.js
59
60
  - lib/assets/javascripts/uniform/select.js
61
+ - lib/assets/javascripts/uniform/sticker.js
60
62
  - lib/assets/javascripts/uniform/tooltip.js
61
63
  - lib/assets/stylesheets/uniform.scss
62
64
  - lib/assets/stylesheets/uniform/base.scss
@@ -64,6 +66,7 @@ files:
64
66
  - lib/assets/stylesheets/uniform/components/checkbox.scss
65
67
  - lib/assets/stylesheets/uniform/components/container.scss
66
68
  - lib/assets/stylesheets/uniform/components/dropdown.scss
69
+ - lib/assets/stylesheets/uniform/components/dropzone.scss
67
70
  - lib/assets/stylesheets/uniform/components/floating-label-input.scss
68
71
  - lib/assets/stylesheets/uniform/components/input-group.scss
69
72
  - lib/assets/stylesheets/uniform/components/label.scss
@@ -75,8 +78,12 @@ files:
75
78
  - lib/assets/stylesheets/uniform/components/table.scss
76
79
  - lib/assets/stylesheets/uniform/components/thumb.scss
77
80
  - lib/assets/stylesheets/uniform/components/z-input.scss
81
+ - lib/assets/stylesheets/uniform/config.scss
78
82
  - lib/assets/stylesheets/uniform/defaults.scss
79
83
  - lib/assets/stylesheets/uniform/functions.scss
84
+ - lib/assets/stylesheets/uniform/functions/icons.scss
85
+ - lib/assets/stylesheets/uniform/functions/map.scss
86
+ - lib/assets/stylesheets/uniform/functions/string.scss
80
87
  - lib/assets/stylesheets/uniform/mixins.scss
81
88
  - lib/assets/stylesheets/uniform/utilities.scss
82
89
  - lib/assets/stylesheets/uniform/utilities/background.scss
@@ -86,8 +93,8 @@ files:
86
93
  - lib/assets/stylesheets/uniform/utilities/position.scss
87
94
  - lib/assets/stylesheets/uniform/utilities/sizing.scss
88
95
  - lib/assets/stylesheets/uniform/utilities/spacing.scss
96
+ - lib/assets/stylesheets/uniform/utilities/svg.scss
89
97
  - lib/assets/stylesheets/uniform/utilities/text.scss
90
- - lib/assets/stylesheets/uniform/variables.scss
91
98
  - lib/uniform.rb
92
99
  - lib/uniform/version.rb
93
100
  homepage: http://bemky.github.io/uniform/
@@ -109,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
116
  - !ruby/object:Gem::Version
110
117
  version: 1.3.1
111
118
  requirements: []
112
- rubygems_version: 3.2.3
119
+ rubygems_version: 3.2.15
113
120
  signing_key:
114
121
  specification_version: 4
115
122
  summary: Sass UI
@@ -1,134 +0,0 @@
1
- //----------------------------------------------------------------
2
- // Text
3
- //----------------------------------------------------------------
4
- $text-inputs: "input:not([type=search]):not([type=submit]):not([type=checkbox]):not([type=radio])";
5
- $system-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
6
- $base-font: $system-font;
7
-
8
- $base-font: if(variable-exists('base-font'), $base-font, $system-font);
9
-
10
-
11
- //----------------------------------------------------------------
12
- // Includes
13
- //----------------------------------------------------------------
14
- $include_child_utilities: if(variable-exists('include_child_utilities'), $include_child_utilities, false);
15
- $include_breakpoint_container: if(variable-exists('include_breakpoint_container'), $include_breakpoint_container, false);
16
- $include_pseudo_utilities: if(variable-exists('include_pseudo_utilities'), $include_pseudo_utilities, [hover]);
17
-
18
- //----------------------------------------------------------------
19
- // Colors
20
- //----------------------------------------------------------------
21
-
22
- $colors: if(variable-exists('colors'), $colors, (
23
- 'gray': #505152,
24
- 'green': #97C848,
25
- 'blue': #0994E2,
26
- 'red': #E1563E,
27
- 'yellow': #D7E542,
28
- 'purple': #9461b9
29
- ));
30
- $color_spectrum: (
31
- 'white': #FFFFFF,
32
- );
33
- @each $name, $color in $colors {
34
- $color_spectrum: map-merge($color_spectrum, ("#{$name}": $color));
35
- @for $index from 1 through 9 {
36
- $saturation_adjustment: 0;
37
- @if saturation($color) > 20% {
38
- $saturation_adjustment: ((100 - saturation($color)) / 4) * abs(5 - $index);
39
- }
40
- $color_spectrum: map-merge($color_spectrum, ("#{$name}-#{(10 - $index) * 10}": change-color($color, $lightness: $index * 10, $saturation: saturation($color) + $saturation_adjustment)));
41
- }
42
- }
43
-
44
-
45
- //----------------------------------------------------------------
46
- // Breakpoints
47
- //----------------------------------------------------------------
48
- // 720, 1080, 1440
49
- $include_breakpoint_container: if(variable-exists('include_breakpoint_container'), $include_breakpoint_container, false);
50
- $breakpoints: if(variable-exists('breakpoints'), $breakpoints, (
51
- sm: "max-width: 719px",
52
- md: "min-width: 720px",
53
- lg: "min-width: 1080px",
54
- xl: "min-width: 1440px"
55
- ));
56
-
57
-
58
- //----------------------------------------------------------------
59
- // Sizes
60
- //----------------------------------------------------------------
61
- $sizes: map-merge((
62
- border: (
63
- '': 1px,
64
- 'none': 0,
65
- '2px': 2px,
66
- '3px': 3px,
67
- '4px': 4px
68
- ),
69
- divide: (
70
- '': 1px,
71
- 'none': 0,
72
- '2px': 2px,
73
- '3px': 3px,
74
- '4px': 4px
75
- ),
76
- rounded: (
77
- '': 1rem,
78
- 'none': 0,
79
- "xs": 0.8rem,
80
- "sm": 0.9rem,
81
- "lg": 1.2rem,
82
- "xl": 1.4rem,
83
- ),
84
- margin: (
85
- '': 1rem,
86
- 'none': 0,
87
- "1\\/4x": 0.25rem,
88
- "1\\/2x": 0.5rem,
89
- "3\\/4x": 0.75rem,
90
- "xs": 0.8rem,
91
- "sm": 0.9rem,
92
- "lg": 1.2rem,
93
- "xl": 1.4rem,
94
- "2x": 2rem,
95
- ),
96
- gap: (
97
- '': 1rem,
98
- 'none': 0,
99
- "xs": 0.8rem,
100
- "sm": 0.9rem,
101
- "lg": 1.2rem,
102
- "xl": 1.4rem,
103
- ),
104
- space: (
105
- '': 1rem,
106
- 'none': 0,
107
- "xs": 0.8rem,
108
- "sm": 0.9rem,
109
- "lg": 1.2rem,
110
- "xl": 1.4rem,
111
- ),
112
- pad: (
113
- '': 1rem,
114
- 'none': 0,
115
- "1\\/4x": 0.25rem,
116
- "1\\/2x": 0.5rem,
117
- "3\\/4x": 0.75rem,
118
- "xs": 0.8rem,
119
- "sm": 0.9rem,
120
- "lg": 1.2rem,
121
- "xl": 1.4rem,
122
- "2x": 2rem,
123
- ),
124
- text: (
125
- '': 1rem,
126
- "xs": 0.8rem,
127
- "sm": 0.9rem,
128
- "lg": 1.2rem,
129
- "xl": 1.4rem,
130
- "2x": 2rem,
131
- "4x": 4rem,
132
- "8x": 8rem
133
- )
134
- ), if(variable-exists('sizes'), $sizes, ()));