uikit 3.22.1 → 3.22.3-dev.73b0d86b9

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 (50) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/css/uikit-core-rtl.css +77 -92
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +77 -92
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +77 -92
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +77 -92
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +2 -2
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +1 -1
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +1 -1
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +1 -1
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +1 -1
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +1 -1
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +1 -1
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +1 -1
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +2 -2
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +3 -3
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +2 -2
  43. package/src/js/components/countdown.js +1 -1
  44. package/src/less/components/form.less +13 -1
  45. package/src/less/components/list.less +26 -49
  46. package/src/scss/components/form.scss +13 -1
  47. package/src/scss/components/list.scss +22 -45
  48. package/src/scss/mixins-theme.scss +4 -4
  49. package/src/scss/mixins.scss +4 -4
  50. package/tests/slider.html +41 -48
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uikit",
3
3
  "title": "UIkit",
4
4
  "description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
5
- "version": "3.22.1",
5
+ "version": "3.22.3-dev.73b0d86b9",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -30,7 +30,7 @@
30
30
  "dateformat": "^5.0.3",
31
31
  "esbuild": "^0.24.0",
32
32
  "eslint": "^9.6.0",
33
- "eslint-config-prettier": "^9.1.0",
33
+ "eslint-config-prettier": "^10.0.1",
34
34
  "execa": "^9.3.0",
35
35
  "fs-extra": "^11.2.0",
36
36
  "glob": "^11.0.0",
@@ -73,8 +73,8 @@ export default {
73
73
  }
74
74
  } else if (!this.timer) {
75
75
  this.started = true;
76
- trigger(this.$el, 'countdownstart');
77
76
  this.timer = setInterval(this.update, 1000);
77
+ trigger(this.$el, 'countdownstart');
78
78
  }
79
79
 
80
80
  for (const unit of units) {
@@ -182,7 +182,6 @@
182
182
  .uk-input[type="search"]::-webkit-search-cancel-button,
183
183
  .uk-input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
184
184
 
185
-
186
185
  /*
187
186
  * Correct the cursor style of increment and decrement buttons in Chrome.
188
187
  */
@@ -190,6 +189,19 @@
190
189
  .uk-input[type="number"]::-webkit-inner-spin-button,
191
190
  .uk-input[type="number"]::-webkit-outer-spin-button { height: auto; }
192
191
 
192
+ /*
193
+ * Correct vertical alignment in Safari.
194
+ */
195
+
196
+ .uk-input[type="date"]::-webkit-datetime-edit,
197
+ .uk-input[type="time"]::-webkit-datetime-edit,
198
+ .uk-input[type="datetime-local"]::-webkit-datetime-edit {
199
+ display: inline-flex;
200
+ align-items: center;
201
+ height: 100%;
202
+ padding: 0;
203
+ }
204
+
193
205
  /*
194
206
  * Removes placeholder transparency in Firefox.
195
207
  */
@@ -83,68 +83,45 @@
83
83
 
84
84
 
85
85
  /* Marker modifiers
86
- * Moving `::marker` inside `::before` to style it differently
87
- * To style the `::marker` is currently only supported in Firefox and Safari
88
86
  ========================================================================== */
89
87
 
90
- .uk-list-disc > *,
91
- .uk-list-circle > *,
92
- .uk-list-square > *,
93
- .uk-list-decimal > *,
94
- .uk-list-hyphen > * { padding-left: @list-padding-left; }
88
+ .uk-list-disc,
89
+ .uk-list-circle,
90
+ .uk-list-square,
91
+ .uk-list-decimal,
92
+ .uk-list-hyphen { padding-left: @list-padding-left; }
95
93
 
96
- /*
97
- * Type modifiers
98
- */
99
-
100
- .uk-list-decimal { counter-reset: decimal; }
101
- .uk-list-decimal > * { counter-increment: decimal; }
102
-
103
- .uk-list-disc > ::before,
104
- .uk-list-circle > ::before,
105
- .uk-list-square > ::before,
106
- .uk-list-decimal > ::before,
107
- .uk-list-hyphen > ::before {
108
- content: "";
109
- position: relative;
110
- left: -@list-padding-left;
111
- width: @list-padding-left;
112
- height: @list-marker-height;
113
- margin-bottom: -@list-marker-height;
114
- display: list-item;
115
- list-style-position: inside;
116
- text-align: right;
117
- }
118
-
119
- .uk-list-disc > ::before { list-style-type: disc; }
120
- .uk-list-circle > ::before { list-style-type: circle; }
121
- .uk-list-square > ::before { list-style-type: square; }
122
- .uk-list-decimal > ::before { content: counter(decimal, decimal) '\200A.\00A0'; }
123
- .uk-list-hyphen > ::before { content: '–\00A0\00A0'; }
94
+ .uk-list-disc { list-style-type: disc; }
95
+ .uk-list-circle { list-style-type: circle; }
96
+ .uk-list-square { list-style-type: square; }
97
+ .uk-list-decimal { list-style-type: decimal; }
98
+ .uk-list-hyphen { list-style-type: '– '; }
124
99
 
125
100
  /*
126
101
  * Color modifiers
127
102
  */
128
103
 
129
- .uk-list-muted > ::before { color: @list-muted-color !important; }
130
- .uk-list-emphasis > ::before { color: @list-emphasis-color !important; }
131
- .uk-list-primary > ::before { color: @list-primary-color !important; }
132
- .uk-list-secondary > ::before { color: @list-secondary-color !important; }
104
+ .uk-list-muted > ::marker { color: @list-muted-color !important; }
105
+ .uk-list-emphasis > ::marker { color: @list-emphasis-color !important; }
106
+ .uk-list-primary > ::marker { color: @list-primary-color !important; }
107
+ .uk-list-secondary > ::marker { color: @list-secondary-color !important; }
133
108
 
134
109
 
135
110
  /* Image bullet modifier
136
111
  ========================================================================== */
137
112
 
138
- .uk-list-bullet > * { padding-left: @list-padding-left; }
113
+ .uk-list-bullet > * {
114
+ position: relative;
115
+ padding-left: @list-padding-left;
116
+ }
139
117
 
140
118
  .uk-list-bullet > ::before {
141
119
  content: "";
142
- display: list-item;
143
- position: relative;
144
- left: -@list-padding-left;
120
+ position: absolute;
121
+ top: 0;
122
+ left: 0;
145
123
  width: @list-padding-left;
146
- height: @list-marker-height;
147
- margin-bottom: -@list-marker-height;
124
+ height: @global-line-height * 1em;
148
125
  .svg-fill(@internal-list-bullet-image, "#000", @list-bullet-icon-color);
149
126
  background-repeat: no-repeat;
150
127
  background-position: 50% 50%;
@@ -242,10 +219,10 @@
242
219
 
243
220
  .hook-inverse() {
244
221
 
245
- .uk-list-muted > ::before { color: @inverse-list-muted-color !important; }
246
- .uk-list-emphasis > ::before { color: @inverse-list-emphasis-color !important; }
247
- .uk-list-primary > ::before { color: @inverse-list-primary-color !important; }
248
- .uk-list-secondary > ::before { color: @inverse-list-secondary-color !important; }
222
+ .uk-list-muted > ::marker { color: @inverse-list-muted-color !important; }
223
+ .uk-list-emphasis > ::marker { color: @inverse-list-emphasis-color !important; }
224
+ .uk-list-primary > ::marker { color: @inverse-list-primary-color !important; }
225
+ .uk-list-secondary > ::marker { color: @inverse-list-secondary-color !important; }
249
226
 
250
227
  .uk-list-bullet > ::before {
251
228
  .svg-fill(@internal-list-bullet-image, "#000", @inverse-list-bullet-icon-color);
@@ -125,7 +125,6 @@
125
125
  .uk-input[type="search"]::-webkit-search-cancel-button,
126
126
  .uk-input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
127
127
 
128
-
129
128
  /*
130
129
  * Correct the cursor style of increment and decrement buttons in Chrome.
131
130
  */
@@ -133,6 +132,19 @@
133
132
  .uk-input[type="number"]::-webkit-inner-spin-button,
134
133
  .uk-input[type="number"]::-webkit-outer-spin-button { height: auto; }
135
134
 
135
+ /*
136
+ * Correct vertical alignment in Safari.
137
+ */
138
+
139
+ .uk-input[type="date"]::-webkit-datetime-edit,
140
+ .uk-input[type="time"]::-webkit-datetime-edit,
141
+ .uk-input[type="datetime-local"]::-webkit-datetime-edit {
142
+ display: inline-flex;
143
+ align-items: center;
144
+ height: 100%;
145
+ padding: 0;
146
+ }
147
+
136
148
  /*
137
149
  * Removes placeholder transparency in Firefox.
138
150
  */
@@ -64,68 +64,45 @@
64
64
 
65
65
 
66
66
  /* Marker modifiers
67
- * Moving `::marker` inside `::before` to style it differently
68
- * To style the `::marker` is currently only supported in Firefox and Safari
69
67
  ========================================================================== */
70
68
 
71
- .uk-list-disc > *,
72
- .uk-list-circle > *,
73
- .uk-list-square > *,
74
- .uk-list-decimal > *,
75
- .uk-list-hyphen > * { padding-left: $list-padding-left; }
69
+ .uk-list-disc,
70
+ .uk-list-circle,
71
+ .uk-list-square,
72
+ .uk-list-decimal,
73
+ .uk-list-hyphen { padding-left: $list-padding-left; }
76
74
 
77
- /*
78
- * Type modifiers
79
- */
80
-
81
- .uk-list-decimal { counter-reset: decimal; }
82
- .uk-list-decimal > * { counter-increment: decimal; }
83
-
84
- .uk-list-disc > ::before,
85
- .uk-list-circle > ::before,
86
- .uk-list-square > ::before,
87
- .uk-list-decimal > ::before,
88
- .uk-list-hyphen > ::before {
89
- content: "";
90
- position: relative;
91
- left: (-$list-padding-left);
92
- width: $list-padding-left;
93
- height: $list-marker-height;
94
- margin-bottom: (-$list-marker-height);
95
- display: list-item;
96
- list-style-position: inside;
97
- text-align: right;
98
- }
99
-
100
- .uk-list-disc > ::before { list-style-type: disc; }
101
- .uk-list-circle > ::before { list-style-type: circle; }
102
- .uk-list-square > ::before { list-style-type: square; }
103
- .uk-list-decimal > ::before { content: counter(decimal, decimal) '\200A.\00A0'; }
104
- .uk-list-hyphen > ::before { content: '–\00A0\00A0'; }
75
+ .uk-list-disc { list-style-type: disc; }
76
+ .uk-list-circle { list-style-type: circle; }
77
+ .uk-list-square { list-style-type: square; }
78
+ .uk-list-decimal { list-style-type: decimal; }
79
+ .uk-list-hyphen { list-style-type: '– '; }
105
80
 
106
81
  /*
107
82
  * Color modifiers
108
83
  */
109
84
 
110
- .uk-list-muted > ::before { color: $list-muted-color !important; }
111
- .uk-list-emphasis > ::before { color: $list-emphasis-color !important; }
112
- .uk-list-primary > ::before { color: $list-primary-color !important; }
113
- .uk-list-secondary > ::before { color: $list-secondary-color !important; }
85
+ .uk-list-muted > ::marker { color: $list-muted-color !important; }
86
+ .uk-list-emphasis > ::marker { color: $list-emphasis-color !important; }
87
+ .uk-list-primary > ::marker { color: $list-primary-color !important; }
88
+ .uk-list-secondary > ::marker { color: $list-secondary-color !important; }
114
89
 
115
90
 
116
91
  /* Image bullet modifier
117
92
  ========================================================================== */
118
93
 
119
- .uk-list-bullet > * { padding-left: $list-padding-left; }
94
+ .uk-list-bullet > * {
95
+ position: relative;
96
+ padding-left: $list-padding-left;
97
+ }
120
98
 
121
99
  .uk-list-bullet > ::before {
122
100
  content: "";
123
- display: list-item;
124
- position: relative;
125
- left: (-$list-padding-left);
101
+ position: absolute;
102
+ top: 0;
103
+ left: 0;
126
104
  width: $list-padding-left;
127
- height: $list-marker-height;
128
- margin-bottom: (-$list-marker-height);
105
+ height: $global-line-height * 1em;
129
106
  @include svg-fill($internal-list-bullet-image, "#000", $list-bullet-icon-color);
130
107
  background-repeat: no-repeat;
131
108
  background-position: 50% 50%;
@@ -1266,10 +1266,10 @@
1266
1266
  }
1267
1267
  @mixin hook-inverse-component-list(){
1268
1268
 
1269
- .uk-list-muted > ::before { color: $inverse-list-muted-color !important; }
1270
- .uk-list-emphasis > ::before { color: $inverse-list-emphasis-color !important; }
1271
- .uk-list-primary > ::before { color: $inverse-list-primary-color !important; }
1272
- .uk-list-secondary > ::before { color: $inverse-list-secondary-color !important; }
1269
+ .uk-list-muted > ::marker { color: $inverse-list-muted-color !important; }
1270
+ .uk-list-emphasis > ::marker { color: $inverse-list-emphasis-color !important; }
1271
+ .uk-list-primary > ::marker { color: $inverse-list-primary-color !important; }
1272
+ .uk-list-secondary > ::marker { color: $inverse-list-secondary-color !important; }
1273
1273
 
1274
1274
  .uk-list-bullet > ::before {
1275
1275
  @include svg-fill($internal-list-bullet-image, "#000", $inverse-list-bullet-icon-color);
@@ -1002,10 +1002,10 @@
1002
1002
  @mixin hook-inverse-list-striped(){}
1003
1003
  @mixin hook-inverse-component-list(){
1004
1004
 
1005
- .uk-list-muted > ::before { color: $inverse-list-muted-color !important; }
1006
- .uk-list-emphasis > ::before { color: $inverse-list-emphasis-color !important; }
1007
- .uk-list-primary > ::before { color: $inverse-list-primary-color !important; }
1008
- .uk-list-secondary > ::before { color: $inverse-list-secondary-color !important; }
1005
+ .uk-list-muted > ::marker { color: $inverse-list-muted-color !important; }
1006
+ .uk-list-emphasis > ::marker { color: $inverse-list-emphasis-color !important; }
1007
+ .uk-list-primary > ::marker { color: $inverse-list-primary-color !important; }
1008
+ .uk-list-secondary > ::marker { color: $inverse-list-secondary-color !important; }
1009
1009
 
1010
1010
  .uk-list-bullet > ::before {
1011
1011
  @include svg-fill($internal-list-bullet-image, "#000", $inverse-list-bullet-icon-color);
package/tests/slider.html CHANGED
@@ -403,7 +403,7 @@
403
403
 
404
404
  </div>
405
405
 
406
- <ul class="uk-slider-nav uk-dotnav uk-flex-center uk-margin"></ul>
406
+ <ul class="uk-slider-nav uk-dotnav uk-flex-center uk-margin uk-position-relative"></ul>
407
407
 
408
408
  </div>
409
409
 
@@ -411,54 +411,47 @@
411
411
 
412
412
  <div uk-slider="parallax: true; parallax-start: 100%; parallax-end: 100%; clsActivated: uk-transition-active">
413
413
 
414
- <div class="uk-position-relative uk-visible-toggle uk-light" tabindex="-1">
415
-
416
- <div class="uk-slider-items uk-child-width-1-2@s uk-child-width-1-4@m">
417
- <div>
418
- <img src="images/slider1.jpg" width="400" height="600" alt="">
419
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">1</h1></div>
420
- </div>
421
- <div>
422
- <img src="images/slider2.jpg" width="400" height="600" alt="">
423
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">2</h1></div>
424
- </div>
425
- <div>
426
- <img src="images/slider3.jpg" width="400" height="600" alt="">
427
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">3</h1></div>
428
- </div>
429
- <div>
430
- <img src="images/slider4.jpg" width="400" height="600" alt="">
431
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">4</h1></div>
432
- </div>
433
- <div>
434
- <img src="images/slider5.jpg" width="400" height="600" alt="">
435
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">5</h1></div>
436
- </div>
437
- <div>
438
- <img src="images/slider1.jpg" width="400" height="600" alt="">
439
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">6</h1></div>
440
- </div>
441
- <div>
442
- <img src="images/slider2.jpg" width="400" height="600" alt="">
443
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">7</h1></div>
444
- </div>
445
- <div>
446
- <img src="images/slider3.jpg" width="400" height="600" alt="">
447
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">8</h1></div>
448
- </div>
449
- <div>
450
- <img src="images/slider4.jpg" width="400" height="600" alt="">
451
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">9</h1></div>
452
- </div>
453
- <div>
454
- <img src="images/slider5.jpg" width="400" height="600" alt="">
455
- <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">10</h1></div>
456
- </div>
414
+ <div class="uk-slider-items uk-child-width-1-2@s uk-child-width-1-4@m uk-light">
415
+ <div>
416
+ <img src="images/slider1.jpg" width="400" height="600" alt="">
417
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">1</h1></div>
418
+ </div>
419
+ <div>
420
+ <img src="images/slider2.jpg" width="400" height="600" alt="">
421
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">2</h1></div>
422
+ </div>
423
+ <div>
424
+ <img src="images/slider3.jpg" width="400" height="600" alt="">
425
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">3</h1></div>
426
+ </div>
427
+ <div>
428
+ <img src="images/slider4.jpg" width="400" height="600" alt="">
429
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">4</h1></div>
430
+ </div>
431
+ <div>
432
+ <img src="images/slider5.jpg" width="400" height="600" alt="">
433
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">5</h1></div>
434
+ </div>
435
+ <div>
436
+ <img src="images/slider1.jpg" width="400" height="600" alt="">
437
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">6</h1></div>
438
+ </div>
439
+ <div>
440
+ <img src="images/slider2.jpg" width="400" height="600" alt="">
441
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">7</h1></div>
442
+ </div>
443
+ <div>
444
+ <img src="images/slider3.jpg" width="400" height="600" alt="">
445
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">8</h1></div>
446
+ </div>
447
+ <div>
448
+ <img src="images/slider4.jpg" width="400" height="600" alt="">
449
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">9</h1></div>
450
+ </div>
451
+ <div>
452
+ <img src="images/slider5.jpg" width="400" height="600" alt="">
453
+ <div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">10</h1></div>
457
454
  </div>
458
-
459
- <a class="uk-position-center-left uk-position-small uk-hidden-hover" href uk-slidenav-previous uk-slider-item="previous"></a>
460
- <a class="uk-position-center-right uk-position-small uk-hidden-hover" href uk-slidenav-next uk-slider-item="next"></a>
461
-
462
455
  </div>
463
456
 
464
457
  <ul class="uk-slider-nav uk-dotnav uk-flex-center uk-margin"></ul>