mekari_ui_toolkit 1.0.21 → 1.0.22

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/assets/stylesheets/css/components/mekari-ui-alert-min.css.map +1 -1
  3. data/lib/assets/stylesheets/css/components/mekari-ui-alert.css.map +1 -1
  4. data/lib/assets/stylesheets/css/components/mekari-ui-badge-min.css.map +1 -1
  5. data/lib/assets/stylesheets/css/components/mekari-ui-badge.css.map +1 -1
  6. data/lib/assets/stylesheets/css/components/mekari-ui-banner-min.css.map +1 -1
  7. data/lib/assets/stylesheets/css/components/mekari-ui-banner.css.map +1 -1
  8. data/lib/assets/stylesheets/css/components/mekari-ui-button-min.css +1 -1
  9. data/lib/assets/stylesheets/css/components/mekari-ui-button-min.css.map +1 -1
  10. data/lib/assets/stylesheets/css/components/mekari-ui-button.css +9 -13
  11. data/lib/assets/stylesheets/css/components/mekari-ui-button.css.map +1 -1
  12. data/lib/assets/stylesheets/css/components/mekari-ui-date-picker-min.css +1 -1
  13. data/lib/assets/stylesheets/css/components/mekari-ui-date-picker-min.css.map +1 -1
  14. data/lib/assets/stylesheets/css/components/mekari-ui-date-picker.css +2 -6
  15. data/lib/assets/stylesheets/css/components/mekari-ui-date-picker.css.map +1 -1
  16. data/lib/assets/stylesheets/css/components/mekari-ui-dropdown-min.css.map +1 -1
  17. data/lib/assets/stylesheets/css/components/mekari-ui-dropdown.css.map +1 -1
  18. data/lib/assets/stylesheets/css/components/mekari-ui-form-min.css +1 -1
  19. data/lib/assets/stylesheets/css/components/mekari-ui-form-min.css.map +1 -1
  20. data/lib/assets/stylesheets/css/components/mekari-ui-form.css +7 -7
  21. data/lib/assets/stylesheets/css/components/mekari-ui-form.css.map +1 -1
  22. data/lib/assets/stylesheets/css/components/mekari-ui-icons-min.css.map +1 -1
  23. data/lib/assets/stylesheets/css/components/mekari-ui-icons.css.map +1 -1
  24. data/lib/assets/stylesheets/css/components/mekari-ui-reboot-bootstrap-min.css.map +1 -1
  25. data/lib/assets/stylesheets/css/components/mekari-ui-reboot-bootstrap.css.map +1 -1
  26. data/lib/assets/stylesheets/css/full-bundle/mekari-ui.css +18 -26
  27. data/lib/assets/stylesheets/css/full-bundle/mekari-ui.css.map +1 -1
  28. data/lib/assets/stylesheets/css/full-bundle/mekari-ui.min.css +1 -1
  29. data/lib/assets/stylesheets/css/full-bundle/mekari-ui.min.css.map +1 -1
  30. data/lib/assets/stylesheets/scss/_settings.scss +2 -2
  31. data/lib/assets/stylesheets/scss/base/_fonts.scss +5 -1
  32. data/lib/assets/stylesheets/scss/components/config/_alert.scss +2 -2
  33. data/lib/assets/stylesheets/scss/components/config/_badge.scss +1 -1
  34. data/lib/assets/stylesheets/scss/components/config/_banner.scss +3 -3
  35. data/lib/assets/stylesheets/scss/components/config/_button.scss +19 -20
  36. data/lib/assets/stylesheets/scss/components/config/_date-picker.scss +4 -7
  37. data/lib/assets/stylesheets/scss/components/config/_dropdowns.scss +1 -1
  38. data/lib/assets/stylesheets/scss/components/config/_form.scss +6 -6
  39. data/lib/assets/stylesheets/scss/components/config/_icons.scss +14 -14
  40. data/lib/assets/stylesheets/scss/main.scss +2 -2
  41. data/lib/assets/stylesheets/scss/vendor-extensions/_form.scss +1 -1
  42. data/lib/mekari_ui_toolkit/version.rb +1 -1
  43. metadata +2 -2
@@ -81,7 +81,7 @@ $btn-secondary-border-color: $smoke;
81
81
 
82
82
  &.#{$prefix}btn-primary {
83
83
  &.#{$prefix}btn-with-icon {
84
- .ic {
84
+ .#{$prefix}ic {
85
85
  &::before {
86
86
  // stylelint-disable-next-line declaration-no-important
87
87
  color: $white !important;
@@ -90,7 +90,7 @@ $btn-secondary-border-color: $smoke;
90
90
  }
91
91
 
92
92
  &.#{$prefix}btn-icon-only {
93
- .ic {
93
+ .#{$prefix}ic {
94
94
  &::before {
95
95
  // stylelint-disable-next-line declaration-no-important
96
96
  color: inherit !important;
@@ -101,7 +101,7 @@ $btn-secondary-border-color: $smoke;
101
101
 
102
102
  &.#{$prefix}is-loading {
103
103
  position: relative;
104
- min-height: 36px;
104
+ min-height: 38px;
105
105
  pointer-events: none;
106
106
  &::before {
107
107
  position: absolute;
@@ -153,16 +153,16 @@ $btn-secondary-border-color: $smoke;
153
153
  }
154
154
 
155
155
  &.#{$prefix}btn-with-icon {
156
- .ic,
156
+ .#{$prefix}ic,
157
157
  span {
158
158
  vertical-align: top;
159
159
  border: none;
160
160
  }
161
- .ic {
162
- width: 16px;
163
- height: 16px;
161
+ .#{$prefix}ic {
162
+ width: 20px;
163
+ height: 20px;
164
164
  padding: 0;
165
- font-size: 16px;
165
+ font-size: 20px;
166
166
  color: inherit;
167
167
  &.is-left {
168
168
  margin-right: 8px;
@@ -172,13 +172,13 @@ $btn-secondary-border-color: $smoke;
172
172
  }
173
173
  }
174
174
  &.#{$prefix}btn-sm {
175
- .ic,
175
+ .#{$prefix}ic,
176
176
  span {
177
177
  line-height: 16px;
178
178
  vertical-align: baseline;
179
179
  border: none;
180
180
  }
181
- .ic {
181
+ .#{$prefix}ic {
182
182
  margin-right: 0;
183
183
  line-height: 18px;
184
184
  }
@@ -190,12 +190,12 @@ $btn-secondary-border-color: $smoke;
190
190
  }
191
191
  }
192
192
  &.#{$prefix}btn-lg {
193
- .ic,
193
+ .#{$prefix}ic,
194
194
  span {
195
195
  vertical-align: top;
196
196
  border: none;
197
197
  }
198
- .ic {
198
+ .#{$prefix}ic {
199
199
  width: 24px;
200
200
  height: 24px;
201
201
  padding: 0;
@@ -242,7 +242,7 @@ $btn-secondary-border-color: $smoke;
242
242
 
243
243
  // Caret
244
244
  .#{$prefix}dropdown-toggle-split {
245
- min-width: 36px;
245
+ min-width: 38px;
246
246
  padding-right: 8px;
247
247
  padding-left: 8px;
248
248
  &::before {
@@ -287,7 +287,6 @@ $btn-secondary-border-color: $smoke;
287
287
  }
288
288
 
289
289
  .btn {
290
- height: 36px;
291
290
  &.btn-sm {
292
291
  height: 24px;
293
292
  }
@@ -295,14 +294,14 @@ $btn-secondary-border-color: $smoke;
295
294
  height: 40px;
296
295
  }
297
296
  &.#{$prefix}btn-icon-only {
298
- width: 36px;
299
- height: 36px;
297
+ width: 38px;
298
+ height: 38px;
300
299
  padding: 8px;
301
300
  font-size: 18px;
302
301
  line-height: 18px;
303
302
  @extend %btn-ghost;
304
303
 
305
- > .ic {
304
+ > .#{$prefix}ic {
306
305
  width: 18px;
307
306
  height: 18px;
308
307
  padding: 0;
@@ -318,10 +317,10 @@ $btn-secondary-border-color: $smoke;
318
317
  align-items: flex-end;
319
318
  .btn {
320
319
  position: relative;
321
- width: 36px;
322
- height: 36px;
320
+ width: 38px;
321
+ height: 38px;
323
322
  padding: 4px;
324
- .ic {
323
+ .#{$prefix}ic {
325
324
  width: 24px !important; // stylelint-disable-line declaration-no-important
326
325
  height: 24px !important; // stylelint-disable-line declaration-no-important
327
326
  font-size: 24px !important; // stylelint-disable-line declaration-no-important
@@ -1,11 +1,8 @@
1
1
  .date-picker-container {
2
2
  position: relative;
3
3
  z-index: 11;
4
- width: 0;
5
- height: 0;
6
- &.on-right {
7
- left: calc(100% - 392px);
8
- }
4
+ width: 392px;
5
+ height: auto;
9
6
  }
10
7
 
11
8
  %date-picker-calendar {
@@ -48,7 +45,7 @@
48
45
  flex-grow: 1;
49
46
  padding-right: 16px;
50
47
  text-align: left;
51
- .ic {
48
+ .#{$prefix}ic {
52
49
  &:hover {
53
50
  cursor: pointer;
54
51
  }
@@ -59,7 +56,7 @@
59
56
  flex-grow: 1;
60
57
  padding-left: 16px;
61
58
  text-align: right;
62
- .ic {
59
+ .#{$prefix}ic {
63
60
  &:hover {
64
61
  cursor: pointer;
65
62
  }
@@ -70,7 +70,7 @@
70
70
  color: $cloud;
71
71
  }
72
72
  }
73
- .ic {
73
+ .#{$prefix}ic {
74
74
  color: inherit;
75
75
  }
76
76
  }
@@ -77,7 +77,7 @@ $custom-input-file-label-padding: 8px;
77
77
 
78
78
  .#{$prefix}custom-select,
79
79
  .#{$prefix}custom-file-input {
80
- height: 36px;
80
+ height: $input-height;
81
81
  padding: $custom-select-padding-y 8px $custom-select-padding-y 12px;
82
82
  margin: $input-margin-y 0;
83
83
  line-height: $custom-input-line-height;
@@ -135,7 +135,7 @@ input[type="file"]::-webkit-file-upload-button { // stylelint-disable-line selec
135
135
  .#{$prefix}custom-file-label {
136
136
  display: flex;
137
137
  align-items: flex-end;
138
- height: 36px;
138
+ height: 38px;
139
139
  padding: $custom-input-padding-y $custom-input-padding-x;
140
140
  margin-bottom: 0;
141
141
  color: $muted;
@@ -234,13 +234,13 @@ input[type="file"]::-webkit-file-upload-button { // stylelint-disable-line selec
234
234
 
235
235
  .#{$prefix}custom-checkbox {
236
236
  .#{$prefix}custom-control-label::after {
237
- background: no-repeat 100% / 100% 65%;
237
+ background: no-repeat 50%;
238
238
  }
239
239
  .#{$prefix}custom-control-input:disabled:checked ~ .#{$prefix}custom-control-label::after {
240
- background: $custom-checkbox-indicator-icon-checked-inverse no-repeat 100% / 100% 65%;
240
+ background: $custom-checkbox-indicator-icon-checked-inverse no-repeat 50%;
241
241
  }
242
242
  .#{$prefix}custom-control-input:disabled:indeterminate ~ .#{$prefix}custom-control-label::after {
243
- background: $custom-checkbox-indicator-icon-indeterminate-inverse no-repeat 100% / 100% 65%;
243
+ background: $custom-checkbox-indicator-icon-indeterminate-inverse no-repeat 50%;
244
244
  }
245
245
  }
246
246
 
@@ -262,7 +262,7 @@ input[type="file"]::-webkit-file-upload-button { // stylelint-disable-line selec
262
262
  textarea.#{$prefix}form-control {
263
263
  min-width: 184px;
264
264
  height: 80px;
265
- min-height: 36px;
265
+ min-height: 38px;
266
266
  max-height: 200px;
267
267
  padding-right: 12px;
268
268
  padding-left: 12px;
@@ -162,25 +162,25 @@ $icons-blankslate-product: "jurnal", "klikpajak", "talenta";
162
162
  line-height: 1;
163
163
  }
164
164
 
165
- .ic {
165
+ .#{$prefix}ic {
166
166
  display: inline-block;
167
167
  @extend %ic-template;
168
- &.ic-small {
168
+ &.#{$prefix}ic-small {
169
169
  width: 20px;
170
170
  height: 20px;
171
171
  font-size: 20px;
172
172
  }
173
- &.ic-medium {
173
+ &.#{$prefix}ic-medium {
174
174
  width: 32px;
175
175
  height: 32px;
176
176
  font-size: 32px;
177
177
  }
178
- &.ic-large {
178
+ &.#{$prefix}ic-large {
179
179
  width: 60px;
180
180
  height: 60px;
181
181
  font-size: 60px;
182
182
  }
183
- &.ic-blankslate {
183
+ &.#{$prefix}ic-blankslate {
184
184
  width: 120px;
185
185
  height: 120px;
186
186
  padding: 10px;
@@ -190,7 +190,7 @@ $icons-blankslate-product: "jurnal", "klikpajak", "talenta";
190
190
  }
191
191
  }
192
192
 
193
- .ic-input-prefix {
193
+ .#{$prefix}ic-input-prefix {
194
194
  position: absolute;
195
195
  top: 6px;
196
196
  left: 6px;
@@ -199,13 +199,13 @@ $icons-blankslate-product: "jurnal", "klikpajak", "talenta";
199
199
  color: inherit;
200
200
  pointer-events: all;
201
201
  cursor: pointer;
202
- &.ic-small {
202
+ &.#{$prefix}ic-small {
203
203
  top: 7px;
204
204
  left: 10px;
205
205
  }
206
206
  }
207
207
 
208
- .ic-input-suffix {
208
+ .#{$prefix}ic-input-suffix {
209
209
  position: absolute;
210
210
  top: 6px;
211
211
  right: 6px;
@@ -214,16 +214,16 @@ $icons-blankslate-product: "jurnal", "klikpajak", "talenta";
214
214
  color: inherit;
215
215
  pointer-events: all;
216
216
  cursor: pointer;
217
- &.ic-input-double-suffix, // this will be deprecated in future version
218
- &.ic-input-suffix--double {
217
+ &.#{$prefix}ic-input-double-suffix, // this will be deprecated in future version
218
+ &.#{$prefix}ic-input-suffix--double {
219
219
  right: 36px;
220
220
  z-index: 5;
221
221
  }
222
- &.ic-small {
222
+ &.#{$prefix}ic-small {
223
223
  top: 7px;
224
224
  right: 10px;
225
- &.ic-input-double-suffix, // this will be deprecated in future version
226
- &.ic-input-suffix--double {
225
+ &.#{$prefix}ic-input-double-suffix, // this will be deprecated in future version
226
+ &.#{$prefix}ic-input-suffix--double {
227
227
  right: 38px;
228
228
  }
229
229
  }
@@ -241,7 +241,7 @@ $icons-blankslate-product: "jurnal", "klikpajak", "talenta";
241
241
 
242
242
  @each $product in $icons-blankslate-product {
243
243
  @each $name in $icons-blankslate-name {
244
- .ic-blankslate-#{$product}-#{$name} {
244
+ .#{$prefix}ic-blankslate-#{$product}-#{$name} {
245
245
  background-image: url("#{$icon-blankslate-path}/#{$product}/#{$name}.svg");
246
246
  }
247
247
  }
@@ -6,11 +6,11 @@ $is-using-gcs-font-path: null !default;
6
6
  $icon-font-family: "Mekari-Icon-Regular";
7
7
  $icon-font-path: "../../webfonts/" !default;
8
8
  @if $is-using-rubygems {
9
- $icon-font-path: "webfonts/" !default;
9
+ $icon-font-path: "webfonts/";
10
10
  }
11
11
 
12
12
  @if $is-using-gcs-font-path {
13
- $icon-font-path: "https://storage.googleapis.com/mekari-ui-toolkit-assets/" !default;
13
+ $icon-font-path: "https://storage.googleapis.com/mekari-ui-toolkit-assets/";
14
14
  }
15
15
 
16
16
  @import "./vendor-extensions/main";
@@ -269,7 +269,7 @@ $form-feedback-tooltip-border-radius: 4px;
269
269
 
270
270
  // Custom from mekari
271
271
 
272
- $input-height: 36px;
272
+ $input-height: 38px;
273
273
  $input-placeholder-color: $muted;
274
274
  $form-feedback-margin-top: 0;
275
275
  $input-border-radius: 4px;
@@ -1,3 +1,3 @@
1
1
  module MekariUiToolkit
2
- VERSION = "1.0.21"
2
+ VERSION = "1.0.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mekari_ui_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.21
4
+ version: 1.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rezky Pangestu Gunarso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-26 00:00:00.000000000 Z
11
+ date: 2021-01-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Mekari ui toolkit is a base styling repository of general components
14
14
  in Mekari