uikit 3.21.14-dev.60ed95dfb → 3.21.14-dev.b1911d7ca
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.
- package/CHANGELOG.md +30 -0
- package/dist/css/uikit-core-rtl.css +216 -85
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +216 -85
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +220 -81
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +220 -81
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +406 -109
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +423 -114
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +15 -20
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +20 -26
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +5 -2
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +125 -130
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +478 -368
- package/dist/js/uikit.min.js +1 -1
- package/package.json +2 -2
- package/src/js/api/instance.js +1 -1
- package/src/js/components/internal/lightbox-animations.js +2 -1
- package/src/js/components/internal/slideshow-animations.js +5 -5
- package/src/js/components/lightbox-panel.js +172 -31
- package/src/js/components/lightbox.js +59 -6
- package/src/js/components/slideshow.js +1 -2
- package/src/js/core/icon.js +2 -2
- package/src/js/core/img.js +3 -5
- package/src/js/core/svg.js +8 -10
- package/src/js/core/video.js +4 -3
- package/src/js/mixin/internal/slideshow-animations.js +1 -6
- package/src/js/mixin/modal.js +1 -4
- package/src/js/mixin/slider-drag.js +5 -6
- package/src/js/mixin/slider-nav.js +1 -1
- package/src/js/mixin/slider.js +11 -13
- package/src/js/mixin/slideshow.js +1 -1
- package/src/js/mixin/togglable.js +4 -2
- package/src/js/util/dom.js +3 -1
- package/src/js/util/player.js +0 -4
- package/src/less/components/background.less +1 -9
- package/src/less/components/breadcrumb.less +6 -2
- package/src/less/components/button.less +1 -1
- package/src/less/components/form-range.less +52 -0
- package/src/less/components/form.less +1 -1
- package/src/less/components/lightbox.less +57 -89
- package/src/less/components/search.less +49 -23
- package/src/less/components/sticky.less +1 -10
- package/src/less/components/totop.less +1 -1
- package/src/less/components/transition.less +4 -4
- package/src/less/components/visibility.less +3 -2
- package/src/less/theme/form-range.less +12 -0
- package/src/less/theme/lightbox.less +2 -20
- package/src/less/theme/search.less +24 -10
- package/src/scss/components/background.scss +1 -9
- package/src/scss/components/breadcrumb.scss +6 -2
- package/src/scss/components/button.scss +1 -1
- package/src/scss/components/form-range.scss +12 -0
- package/src/scss/components/form.scss +1 -1
- package/src/scss/components/lightbox.scss +49 -77
- package/src/scss/components/search.scss +30 -12
- package/src/scss/components/sticky.scss +1 -10
- package/src/scss/components/totop.scss +1 -1
- package/src/scss/components/transition.scss +4 -4
- package/src/scss/components/visibility.scss +3 -2
- package/src/scss/mixins-theme.scss +51 -12
- package/src/scss/mixins.scss +45 -6
- package/src/scss/theme/form-range.scss +10 -0
- package/src/scss/theme/lightbox.scss +2 -20
- package/src/scss/theme/search.scss +10 -6
- package/src/scss/variables-theme.scss +32 -20
- package/src/scss/variables.scss +29 -24
- package/tests/breadcrumb.html +23 -5
- package/tests/lightbox.html +345 -30
- package/tests/navbar.html +19 -19
- package/tests/slideshow.html +1 -1
- package/tests/transition.html +2 -1
package/src/scss/variables.scss
CHANGED
|
@@ -414,6 +414,10 @@ $form-range-thumb-height: 15px !default;
|
|
|
414
414
|
$form-range-thumb-width: $form-range-thumb-height !default;
|
|
415
415
|
$form-range-thumb-border-radius: 500px !default;
|
|
416
416
|
$form-range-thumb-background: $global-color !default;
|
|
417
|
+
$inverse-global-muted-background: rgba($global-inverse-color, 0.1) !default;
|
|
418
|
+
$inverse-form-range-track-background: darken($inverse-global-muted-background; 5%) !default;
|
|
419
|
+
$inverse-form-range-track-focus-background: fade-in($inverse-form-range-track-background, 0.05) !default;
|
|
420
|
+
$inverse-form-range-thumb-background: fade-in($inverse-global-color, 1) !default;
|
|
417
421
|
$form-height: $global-control-height !default;
|
|
418
422
|
$form-line-height: $form-height !default;
|
|
419
423
|
$form-padding-horizontal: 10px !default;
|
|
@@ -471,7 +475,6 @@ $internal-form-datalist-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%
|
|
|
471
475
|
$internal-form-radio-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22#000%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;
|
|
472
476
|
$internal-form-checkbox-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22#000%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A" !default;
|
|
473
477
|
$internal-form-checkbox-indeterminate-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22#000%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;
|
|
474
|
-
$inverse-global-muted-background: rgba($global-inverse-color, 0.1) !default;
|
|
475
478
|
$inverse-form-background: $inverse-global-muted-background !default;
|
|
476
479
|
$inverse-form-color: $inverse-global-color !default;
|
|
477
480
|
$inverse-form-focus-background: fade-in($inverse-form-background, 0.05) !default;
|
|
@@ -602,21 +605,17 @@ $leader-fill-content: unquote('.') !default;
|
|
|
602
605
|
$leader-fill-margin-left: $global-small-gutter !default;
|
|
603
606
|
$lightbox-z-index: $global-z-index + 10 !default;
|
|
604
607
|
$lightbox-background: #000 !default;
|
|
608
|
+
$lightbox-color: rgba(255,255,255,0.7) !default;
|
|
609
|
+
$lightbox-color-mode: light !default;
|
|
605
610
|
$lightbox-focus-outline: rgba(255,255,255,0.7) !default;
|
|
606
|
-
$lightbox-item-color: rgba(255,255,255,0.7) !default;
|
|
607
611
|
$lightbox-item-max-width: 100vw !default;
|
|
608
612
|
$lightbox-item-max-height: 100vh !default;
|
|
609
|
-
$lightbox-
|
|
610
|
-
$lightbox-
|
|
611
|
-
$lightbox-
|
|
612
|
-
$lightbox-
|
|
613
|
-
$lightbox-
|
|
614
|
-
$lightbox-
|
|
615
|
-
$lightbox-toolbar-icon-hover-color: #fff !default;
|
|
616
|
-
$lightbox-button-size: 50px !default;
|
|
617
|
-
$lightbox-button-background: $lightbox-toolbar-background !default;
|
|
618
|
-
$lightbox-button-color: rgba(255,255,255,0.7) !default;
|
|
619
|
-
$lightbox-button-hover-color: #fff !default;
|
|
613
|
+
$lightbox-thumbnav-vertical-width: 100px !default;
|
|
614
|
+
$lightbox-thumbnav-height: 100px !default;
|
|
615
|
+
$lightbox-caption-padding-vertical: 10px !default;
|
|
616
|
+
$lightbox-caption-padding-horizontal: 10px !default;
|
|
617
|
+
$lightbox-caption-background: rgba(0,0,0,0.3) !default;
|
|
618
|
+
$lightbox-caption-color: rgba(255,255,255,0.7) !default;
|
|
620
619
|
$link-muted-color: $global-muted-color !default;
|
|
621
620
|
$link-muted-hover-color: $global-color !default;
|
|
622
621
|
$link-text-hover-color: $global-muted-color !default;
|
|
@@ -930,25 +929,29 @@ $search-default-height: $global-control-height !default;
|
|
|
930
929
|
$search-default-padding-horizontal: 10px !default;
|
|
931
930
|
$search-default-background: $global-muted-background !default;
|
|
932
931
|
$search-default-focus-background: darken($search-default-background, 2%) !default;
|
|
933
|
-
$search-default-icon-width:
|
|
934
|
-
$search-default-icon-padding:
|
|
932
|
+
$search-default-icon-width: 20px !default;
|
|
933
|
+
$search-default-icon-padding: 10px !default;
|
|
935
934
|
$search-navbar-width: 240px !default;
|
|
936
935
|
$search-navbar-height: $global-control-height !default;
|
|
937
936
|
$search-navbar-padding-horizontal: 10px !default;
|
|
938
937
|
$search-navbar-background: $global-background !default;
|
|
939
938
|
$search-navbar-focus-background: darken($search-navbar-background, 1%) !default;
|
|
940
|
-
$search-navbar-icon-width:
|
|
941
|
-
$search-navbar-icon-padding:
|
|
939
|
+
$search-navbar-icon-width: 20px !default;
|
|
940
|
+
$search-navbar-icon-padding: 10px !default;
|
|
942
941
|
$search-medium-width: 400px !default;
|
|
943
|
-
$search-medium-height:
|
|
944
|
-
$search-medium-
|
|
942
|
+
$search-medium-height: $global-control-large-height !default;
|
|
943
|
+
$search-medium-padding-horizontal: 12px !default;
|
|
944
|
+
$search-medium-background: $search-default-background !default;
|
|
945
945
|
$search-medium-font-size: $global-large-font-size !default;
|
|
946
|
+
$search-medium-focus-background: darken($search-medium-background, 2%) !default;
|
|
946
947
|
$search-medium-icon-width: 24px !default;
|
|
947
|
-
$search-medium-icon-padding:
|
|
948
|
+
$search-medium-icon-padding: 12px !default;
|
|
948
949
|
$search-large-width: 500px !default;
|
|
949
|
-
$search-large-height:
|
|
950
|
-
$search-large-
|
|
950
|
+
$search-large-height: 90px !default;
|
|
951
|
+
$search-large-padding-horizontal: 20px !default;
|
|
952
|
+
$search-large-background: $search-default-background !default;
|
|
951
953
|
$search-large-font-size: $global-2xlarge-font-size !default;
|
|
954
|
+
$search-large-focus-background: darken($search-large-background, 2%) !default;
|
|
952
955
|
$search-large-icon-width: 40px !default;
|
|
953
956
|
$search-large-icon-padding: 20px !default;
|
|
954
957
|
$search-toggle-color: $global-muted-color !default;
|
|
@@ -960,8 +963,10 @@ $inverse-search-default-background: $inverse-global-muted-background !default;
|
|
|
960
963
|
$inverse-search-default-focus-background: fade-in($inverse-search-default-background, 0.05) !default;
|
|
961
964
|
$inverse-search-navbar-background: $inverse-global-muted-background !default;
|
|
962
965
|
$inverse-search-navbar-focus-background: fade-in($inverse-search-navbar-background, 0.05) !default;
|
|
963
|
-
$inverse-search-medium-background:
|
|
964
|
-
$inverse-search-
|
|
966
|
+
$inverse-search-medium-background: $inverse-search-default-background !default;
|
|
967
|
+
$inverse-search-medium-focus-background: fade-in($inverse-search-medium-background, 0.05) !default;
|
|
968
|
+
$inverse-search-large-background: $inverse-search-default-background !default;
|
|
969
|
+
$inverse-search-large-focus-background: fade-in($inverse-search-large-background, 0.05) !default;
|
|
965
970
|
$inverse-search-toggle-color: $inverse-global-muted-color !default;
|
|
966
971
|
$inverse-search-toggle-hover-color: $inverse-global-color !default;
|
|
967
972
|
$section-padding-vertical: $global-medium-margin !default;
|
package/tests/breadcrumb.html
CHANGED
|
@@ -19,16 +19,25 @@
|
|
|
19
19
|
<li><a href="#">Home</a></li>
|
|
20
20
|
<li><a href="#">Linked Category</a></li>
|
|
21
21
|
<li class="uk-disabled"><a>Disabled Category</a></li>
|
|
22
|
-
<li><span aria-current="page">
|
|
22
|
+
<li><span aria-current="page">Current Span</span></li>
|
|
23
23
|
</ul>
|
|
24
24
|
</nav>
|
|
25
25
|
|
|
26
|
+
<!-- Test space -->
|
|
26
27
|
<nav aria-label="Breadcrumb">
|
|
27
28
|
<ul class="uk-breadcrumb uk-width-xlarge">
|
|
28
|
-
<li
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
<li
|
|
29
|
+
<li>
|
|
30
|
+
<a href="#">Home</a>
|
|
31
|
+
</li>
|
|
32
|
+
<li>
|
|
33
|
+
<a href="#">Linked Category</a>
|
|
34
|
+
</li>
|
|
35
|
+
<li class="uk-disabled">
|
|
36
|
+
<a>Disabled Category</a>
|
|
37
|
+
</li>
|
|
38
|
+
<li class="uk-disabled">
|
|
39
|
+
<a>Current Link</a>
|
|
40
|
+
</li>
|
|
32
41
|
</ul>
|
|
33
42
|
</nav>
|
|
34
43
|
|
|
@@ -40,6 +49,15 @@
|
|
|
40
49
|
</ul>
|
|
41
50
|
</nav>
|
|
42
51
|
|
|
52
|
+
<nav aria-label="Breadcrumb">
|
|
53
|
+
<ul class="uk-breadcrumb uk-width-xlarge">
|
|
54
|
+
<li><a href="#">Home</a></li>
|
|
55
|
+
<li><a href="#">Linked Category</a></li>
|
|
56
|
+
<li class="uk-disabled"><a>Disabled Category</a></li>
|
|
57
|
+
<li><span aria-current="page">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span></li>
|
|
58
|
+
</ul>
|
|
59
|
+
</nav>
|
|
60
|
+
|
|
43
61
|
</div>
|
|
44
62
|
|
|
45
63
|
</body>
|