@rio-cloud/rio-uikit 0.15.1 → 0.16.0-beta-1

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 (186) hide show
  1. package/README.md +46 -3
  2. package/lib/components/actionBarItem/ActionBarItem.js +4 -4
  3. package/lib/components/actionBarItem/ActionBarItemPopoverContent.js +43 -0
  4. package/lib/components/actionBarItem/ActionBarOverlay.js +8 -3
  5. package/lib/components/applicationHeader/AppMenuDropdown.js +9 -13
  6. package/lib/components/applicationLayout/ApplicationLayout.js +2 -0
  7. package/lib/components/applicationLayout/ApplicationLayoutBody.js +5 -3
  8. package/lib/components/assetTree/AssetTree.js +1 -1
  9. package/lib/components/assetTree/Tree.js +2 -2
  10. package/lib/components/assetTree/TreeLeaf.js +9 -9
  11. package/lib/components/bottomSheet/BottomSheet.js +11 -7
  12. package/lib/components/carousel/Carousel.js +7 -426
  13. package/lib/components/checkbox/Checkbox.js +4 -4
  14. package/lib/components/datepicker/DatePicker.js +15 -6
  15. package/lib/components/dropdown/ButtonDropdown.js +8 -11
  16. package/lib/components/listMenu/ListMenu.js +40 -23
  17. package/lib/components/numberInput/NumberInput.js +6 -6
  18. package/lib/components/onboarding/OnboardingTip.js +9 -9
  19. package/lib/components/states/NotBookedState.js +2 -2
  20. package/lib/components/table/TableSettingsDialogFooter.js +1 -1
  21. package/lib/components/teaser/Teaser.js +1 -1
  22. package/lib/components/teaser/TeaserContainer.js +8 -8
  23. package/lib/components/tooltip/Tooltip.js +4 -4
  24. package/lib/es/DeviceUtils.d.ts +4 -2
  25. package/lib/es/deviceUtils.js +12 -0
  26. package/lib/hooks/useClipboard.js +2 -2
  27. package/lib/style/css/_exports/man-uikit.less +7 -5
  28. package/lib/style/css/_exports/rio-buyButton.less +30 -41
  29. package/lib/style/css/_exports/rio-uikit-core.less +105 -127
  30. package/lib/style/css/_exports/rio-uikit-print-utilities.less +6 -11
  31. package/lib/style/css/_exports/rio-uikit-responsive-utilities.less +6 -11
  32. package/lib/style/css/_exports/rio-uikit.less +5 -4
  33. package/lib/style/css/_exports/rio-website.less +35 -13
  34. package/lib/style/css/_exports/vw-uikit.less +10 -8
  35. package/lib/style/css/animations/_imports.less +9 -0
  36. package/lib/style/css/animations/collapse.less +16 -0
  37. package/lib/style/css/animations/fade.less +28 -0
  38. package/lib/style/css/animations/pinging.less +7 -0
  39. package/lib/style/css/animations/rotate.less +52 -0
  40. package/lib/style/css/animations/scale.less +35 -0
  41. package/lib/style/css/animations/slide.less +39 -0
  42. package/lib/style/css/animations/spinning.less +4 -0
  43. package/lib/style/css/animations/transition.less +129 -0
  44. package/lib/style/css/animations/translate.less +28 -0
  45. package/lib/style/css/components/Activity.less +93 -0
  46. package/lib/style/css/components/ApplicationHeader.less +438 -0
  47. package/lib/style/css/components/ApplicationLayout.less +236 -0
  48. package/lib/style/css/components/AssetTree.less +443 -0
  49. package/lib/style/css/components/AutoSuggest.less +22 -0
  50. package/lib/style/css/components/BottomSheet.less +14 -0
  51. package/lib/style/css/components/Carousel.less +212 -0
  52. package/lib/style/css/components/Checkbox.less +224 -0
  53. package/lib/style/css/components/ClearableInput.less +115 -0
  54. package/lib/style/css/components/Counter.less +142 -0
  55. package/lib/style/css/components/DataTabs.less +100 -0
  56. package/lib/style/css/components/DatePicker.less +391 -0
  57. package/lib/style/css/components/Dialog.less +482 -0
  58. package/lib/style/css/components/Dropdown.less +186 -0
  59. package/lib/style/css/components/Expander.less +196 -0
  60. package/lib/style/css/components/FilePicker.less +8 -0
  61. package/lib/style/css/components/ListMenu.less +77 -0
  62. package/lib/style/css/components/MapHere.less +91 -0
  63. package/lib/style/css/components/MapMarker.less +347 -0
  64. package/lib/style/css/components/MapSettings.less +140 -0
  65. package/lib/style/css/components/NoData.less +8 -0
  66. package/lib/style/css/components/Notification.less +234 -0
  67. package/lib/style/css/components/RadioButton.less +173 -0
  68. package/lib/style/css/components/Resizer.less +43 -0
  69. package/lib/style/css/components/Select.less +274 -0
  70. package/lib/style/css/components/Sidebar.less +157 -0
  71. package/lib/style/css/components/Slider.less +278 -0
  72. package/lib/style/css/components/Spinner.less +49 -0
  73. package/lib/style/css/components/StatsWidget.less +111 -0
  74. package/lib/style/css/components/SteppedProgressBar.less +323 -0
  75. package/lib/style/css/components/SupportMarker.less +34 -0
  76. package/lib/style/css/components/Switch.less +145 -0
  77. package/lib/style/css/components/TableSettingsDialog.less +96 -0
  78. package/lib/style/css/components/TableSortArrows.less +54 -0
  79. package/lib/style/css/components/Tag.less +246 -0
  80. package/lib/style/css/components/TagManager.less +4 -0
  81. package/lib/style/css/components/Teaser.less +12 -0
  82. package/lib/style/css/components/Timeline.less +69 -0
  83. package/lib/style/css/components/Tooltip.less +230 -0
  84. package/lib/style/css/design/alerts.less +55 -0
  85. package/lib/style/css/design/aspect-ratio.less +23 -0
  86. package/lib/style/css/design/badges.less +120 -0
  87. package/lib/style/css/design/blockquote.less +49 -0
  88. package/lib/style/css/design/border.less +192 -0
  89. package/lib/style/css/design/breadcrumbs.less +20 -0
  90. package/lib/style/css/design/button-groups.less +194 -0
  91. package/lib/style/css/design/buttons.less +540 -0
  92. package/lib/style/css/design/callouts.less +27 -0
  93. package/lib/style/css/design/caret.less +28 -0
  94. package/lib/style/css/design/close.less +12 -0
  95. package/lib/style/css/design/code.less +45 -0
  96. package/lib/style/css/design/colors.less +202 -0
  97. package/lib/style/css/design/cols.less +56 -0
  98. package/lib/style/css/design/container.less +29 -0
  99. package/lib/style/css/design/cursors.less +19 -0
  100. package/lib/style/css/design/custom.less +20 -0
  101. package/lib/style/css/design/ellipsis.less +46 -0
  102. package/lib/style/css/design/flexgrid.less +7 -0
  103. package/lib/style/css/design/fonts.less +318 -0
  104. package/lib/style/css/design/form-input-groups.less +245 -0
  105. package/lib/style/css/design/form-inputs.less +655 -0
  106. package/lib/style/css/design/iframe.less +80 -0
  107. package/lib/style/css/design/images.less +47 -0
  108. package/lib/style/css/design/labels.less +66 -0
  109. package/lib/style/css/design/list-group.less +95 -0
  110. package/lib/style/css/design/navs.less +254 -0
  111. package/lib/style/css/design/normalize.less +436 -0
  112. package/lib/style/css/design/opacity.less +26 -0
  113. package/lib/style/css/design/overflow.less +1 -0
  114. package/lib/style/css/design/pagination.less +161 -0
  115. package/lib/style/css/design/panels.less +105 -0
  116. package/lib/style/css/design/popovers.less +117 -0
  117. package/lib/style/css/design/position.less +16 -0
  118. package/lib/style/css/design/progress-bars.less +131 -0
  119. package/lib/style/css/design/responsive/_imports.less +68 -0
  120. package/lib/style/css/design/responsive/backgrounds.less +32 -0
  121. package/lib/style/css/design/responsive/display.less +9 -0
  122. package/lib/style/css/design/responsive/flexgrid.less +75 -0
  123. package/lib/style/css/design/responsive/floating.less +4 -0
  124. package/lib/style/css/design/responsive/gap.less +41 -0
  125. package/lib/style/css/design/responsive/hyphens.less +14 -0
  126. package/lib/style/css/design/responsive/margin.less +127 -0
  127. package/lib/style/css/design/responsive/overflow.less +16 -0
  128. package/lib/style/css/design/responsive/padding.less +71 -0
  129. package/lib/style/css/design/responsive/position.less +102 -0
  130. package/lib/style/css/design/responsive/sizing.less +115 -0
  131. package/lib/style/css/design/responsive/text.less +71 -0
  132. package/lib/style/css/design/responsive/visibility.less +115 -0
  133. package/lib/style/css/design/responsive-embed.less +31 -0
  134. package/lib/style/css/design/responsive-video.less +22 -0
  135. package/lib/style/css/design/rioglyph.less +24 -0
  136. package/lib/style/css/design/rounded.less +44 -0
  137. package/lib/style/css/design/shadows.less +65 -0
  138. package/lib/style/css/design/tables.less +976 -0
  139. package/lib/style/css/design/text.less +201 -0
  140. package/lib/style/css/design/theme.less +200 -0
  141. package/lib/style/css/design/thumbnails.less +29 -0
  142. package/lib/style/css/design/transition.less +33 -0
  143. package/lib/style/css/design/type.less +159 -0
  144. package/lib/style/css/design/utilities.less +75 -0
  145. package/lib/style/css/design/visibilty.less +38 -0
  146. package/lib/style/css/design/wells.less +17 -0
  147. package/lib/style/css/design/z-index.less +21 -0
  148. package/lib/style/css/mapping/breakpoint-map.less +44 -0
  149. package/lib/style/css/mapping/color-map.less +200 -0
  150. package/lib/style/css/mapping/cols-map.less +15 -0
  151. package/lib/style/css/mapping/numbers-map.less +16 -0
  152. package/lib/style/css/mapping/positions-map.less +21 -0
  153. package/lib/style/css/mapping/sizes-map.less +129 -0
  154. package/lib/style/css/mapping/spacings-map.less +28 -0
  155. package/lib/style/css/mixins/_mixins.less +13 -0
  156. package/lib/style/css/mixins/alerts.less +13 -0
  157. package/lib/style/css/mixins/border-radius.less +16 -0
  158. package/lib/style/css/mixins/buttons.less +117 -0
  159. package/lib/style/css/mixins/clearfix.less +9 -0
  160. package/lib/style/css/mixins/cols.less +59 -0
  161. package/lib/style/css/mixins/forms.less +61 -0
  162. package/lib/style/css/mixins/panels.less +27 -0
  163. package/lib/style/css/mixins/placeholder.less +17 -0
  164. package/lib/style/css/mixins/reset.less +27 -0
  165. package/lib/style/css/mixins/sizings.less +21 -0
  166. package/lib/style/css/mixins/spinner.less +30 -0
  167. package/lib/style/css/mixins/table.less +26 -0
  168. package/lib/style/css/mixins/tabs.less +4 -0
  169. package/lib/style/css/mixins/text.less +5 -0
  170. package/lib/style/css/print/print.less +1 -4
  171. package/lib/style/css/rio-theme/alerts.less +23 -61
  172. package/lib/style/css/rio-theme/badges.less +16 -28
  173. package/lib/style/css/rio-theme/blockquote.less +14 -97
  174. package/lib/style/css/rio-theme/mixins/alerts.less +13 -1
  175. package/lib/style/css/shared/colors.json +1 -1
  176. package/lib/style/css/shared/colors.less +11 -8
  177. package/lib/style/css/shared/text.less +6 -5
  178. package/lib/style/css/utils/responsive/grid.less +15 -6
  179. package/lib/style/css/variables.less +179 -0
  180. package/lib/style/fonts/rioglyph/rioglyph.less +1 -11
  181. package/lib/types.ts +38 -57
  182. package/lib/utils/buttonEffect.js +3 -1
  183. package/lib/utils/deviceUtils.js +40 -3
  184. package/lib/utils/init.js +22 -7
  185. package/lib/version.json +1 -1
  186. package/package.json +46 -30
@@ -0,0 +1,117 @@
1
+ @popover-max-width: 550px;
2
+ @popover-arrow-width: 10px;
3
+ @popover-arrow-outer-width: (@popover-arrow-width + 1);
4
+
5
+ .popover {
6
+ &:extend(.shadow-hard-to-bottom);
7
+ background-clip: padding-box;
8
+ background-color: @color-white;
9
+ border-radius: @border-radius-lg;
10
+ border: 1px solid @gray-light;
11
+ max-width: @popover-max-width;
12
+ padding: 0;
13
+ position: absolute;
14
+ z-index: @zindex-popover;
15
+
16
+ .popover-title {
17
+ border-bottom: 1px solid @gray-light;
18
+ padding: 13px 14px;
19
+ font-weight: normal;
20
+ }
21
+
22
+ .popover-content:not(.ActionBarItemPopover) {
23
+ //padding: 9px 14px;
24
+ padding: 15px;
25
+ }
26
+
27
+ .ActionBarItemPopoverContent {
28
+ padding: 15px;
29
+ }
30
+
31
+ > .arrow {
32
+ border-width: @popover-arrow-outer-width;
33
+
34
+ &,
35
+ &:after {
36
+ position: absolute;
37
+ display: block;
38
+ width: 0;
39
+ height: 0;
40
+ border-color: transparent;
41
+ border-style: solid;
42
+ }
43
+
44
+ &:after {
45
+ border-width: @popover-arrow-width;
46
+ content: "";
47
+ }
48
+ }
49
+
50
+ &[x-placement^="top"] {
51
+ > .arrow {
52
+ left: 50%;
53
+ border-bottom-width: 0;
54
+ border-top-color: @gray-light;
55
+ bottom: -(@popover-arrow-outer-width);
56
+
57
+ &:after {
58
+ content: "";
59
+ bottom: 1px;
60
+ margin-left: -(@popover-arrow-width);
61
+ border-bottom-width: 0;
62
+ border-top-color: @color-white;
63
+ }
64
+ }
65
+ }
66
+
67
+ &[x-placement^="right"] {
68
+ > .arrow {
69
+ top: 50%;
70
+ left: -(@popover-arrow-outer-width);
71
+ border-left-width: 0;
72
+ border-right-color: @gray-light;
73
+
74
+ &:after {
75
+ content: "";
76
+ left: 1px;
77
+ bottom: -(@popover-arrow-width);
78
+ border-left-width: 0;
79
+ border-right-color: @color-white;
80
+ }
81
+ }
82
+ }
83
+
84
+ &[x-placement^="bottom"] {
85
+ > .arrow {
86
+ left: 50%;
87
+ border-top-width: 0;
88
+ border-bottom-color: @gray-light;
89
+ top: -(@popover-arrow-outer-width);
90
+
91
+ &:after {
92
+ content: "";
93
+ top: 1px;
94
+ margin-left: -(@popover-arrow-width);
95
+ border-top-width: 0;
96
+ border-bottom-color: @color-white;
97
+ }
98
+ }
99
+ }
100
+
101
+ &[x-placement^="left"] {
102
+ > .arrow {
103
+ top: 50%;
104
+ right: -(@popover-arrow-outer-width);
105
+ border-right-width: 0;
106
+ border-left-color: @gray-light;
107
+
108
+ &:after {
109
+ content: "";
110
+ right: 1px;
111
+ border-right-width: 0;
112
+ border-left-color: @color-white;
113
+ bottom: -(@popover-arrow-width);
114
+ }
115
+ }
116
+ }
117
+ }
@@ -0,0 +1,16 @@
1
+ .position-offscreen {
2
+ left: -10000px !important;
3
+ opacity: 0 !important;
4
+ position: fixed !important;
5
+ top: -10000px !important;
6
+ width: 100%; // iframe resizer mandatory
7
+ }
8
+
9
+ .content {
10
+ &-center {
11
+ align-content: center;
12
+ align-items: center;
13
+ display: flex;
14
+ justify-content: center;
15
+ }
16
+ }
@@ -0,0 +1,131 @@
1
+ .progress-divider {
2
+ &:not(:last-child) {
3
+ box-shadow: inset -2px 0 0 @color-white;
4
+ }
5
+
6
+ &:only-child {
7
+ &:not([style*="width: 100%"]):not([style*="width: 99%"]):not([style*="width: 98%"]) {
8
+ box-shadow: inset -2px 0 0 @color-white;
9
+ }
10
+ }
11
+ }
12
+
13
+ @keyframes progress-bar-stripes {
14
+ from { background-position: 40px 0; }
15
+ to { background-position: 0 0; }
16
+ }
17
+
18
+ .progress {
19
+ height: 10px;
20
+ overflow: hidden;
21
+ background-color: @gray-lighter;
22
+ border-radius: @border-radius-default;
23
+ // margin-bottom: @grid-gutter-height;
24
+
25
+ .progress-bar {
26
+ background-color: @brand-primary;
27
+ color: @color-white;
28
+ float: left;
29
+ font-size: @font-size-sm;
30
+ height: 100%;
31
+ line-height: @grid-gutter-height;
32
+ text-align: center;
33
+ transition: width .6s ease;
34
+ width: 0%;
35
+
36
+ // primary
37
+ // secondary
38
+ each(@colors-brand-map, {
39
+ &.progress-bar-@{key} {
40
+ background-color: @value !important
41
+ }
42
+ })
43
+
44
+ // muted
45
+ // white
46
+ &.progress-bar-muted {
47
+ background-color: @gray-lighter !important
48
+ }
49
+
50
+ &.progress-bar-white {
51
+ background-color: @color-white !important
52
+ }
53
+
54
+ // info
55
+ // success
56
+ // warning
57
+ // danger
58
+ each(@colors-status-map, {
59
+ &.progress-bar-@{key} {
60
+ background-color: @value !important
61
+ }
62
+ })
63
+
64
+ // darkest
65
+ // darker
66
+ // dark
67
+ // gray
68
+ // light
69
+ // lighter
70
+ // lightest
71
+ each(@colors-gray-map, {
72
+ &.progress-bar-@{key} {
73
+ background-color: @value !important
74
+ }
75
+ })
76
+
77
+ // highlight-darkest
78
+ // highlight-darker
79
+ // highlight-dark
80
+ // highlight
81
+ // highlight-light
82
+ // highlight-lighter
83
+ // highlight-lightest
84
+ // highlight-decent
85
+ each(@colors-highlight-map, {
86
+ &.progress-bar-@{key} {
87
+ background-color: @value !important
88
+ }
89
+ })
90
+
91
+ // status-available
92
+ // status-driving
93
+ // status-resting
94
+ // status-working
95
+ each(@colors-driving-status-map, {
96
+ &.progress-bar-@{key} {
97
+ background-color: @value !important
98
+ }
99
+ })
100
+
101
+ // rating-1
102
+ // rating-2
103
+ // rating-3
104
+ // rating-4
105
+ // rating-5
106
+ each(@colors-rating-map, {
107
+ &.progress-bar-@{key} {
108
+ background-color: @value !important
109
+ }
110
+ })
111
+ }
112
+
113
+ &.progress-striped .progress-bar, // backward compatibility
114
+ &.progress-bar-striped {
115
+ background-size: 20px 20px;
116
+ }
117
+ }
118
+
119
+ .progress-striped .progress-bar, // backward compatibility
120
+ .progress-bar-striped {
121
+ @color: rgba(255,255,255,.15);
122
+ @angle: 45deg;
123
+ background-size: 40px 40px;
124
+ background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
125
+ }
126
+
127
+ .progress.active .progress-bar, // backward compatibility
128
+ .progress-bar.active, // backward compatibility
129
+ .progress-bar-animated {
130
+ animation:progress-bar-stripes 2s linear infinite;
131
+ }
@@ -0,0 +1,68 @@
1
+ // RIO Theme // Responsive Utility Classes
2
+ .imports-reponsive(@breakpoint) {
3
+ @suffix: @breakpoint;
4
+ @import (multiple) "backgrounds.less";
5
+ @import (multiple) "display.less";
6
+ @import (multiple) "flexgrid.less";
7
+ @import (multiple) "floating.less";
8
+ @import (multiple) "gap.less";
9
+ @import (multiple) "margin.less";
10
+ @import (multiple) "overflow.less";
11
+ @import (multiple) "padding.less";
12
+ @import (multiple) "position.less";
13
+ @import (multiple) "sizing.less";
14
+ @import (multiple) "text.less";
15
+ @import (multiple) "visibility.less";
16
+ }
17
+
18
+ // RIO Theme // Utility Classes
19
+ .import-reponsive(@default, @xs, @ls, @sm, @md, @lg, @xl, @print) {
20
+
21
+ // Basic Utility Classes
22
+ & when (@default = true) {
23
+ .imports-reponsive(~'');
24
+ }
25
+
26
+ // Breakpoints
27
+ & when (@xs = true) {
28
+ @media (max-width: @screen-xs-max) {
29
+ .imports-reponsive(-xs);
30
+ }
31
+ }
32
+
33
+ & when (@ls = true) {
34
+ @media (min-width: @screen-ls-min) {
35
+ .imports-reponsive(-ls);
36
+ }
37
+ }
38
+
39
+ & when (@sm = true) {
40
+ @media (min-width: @screen-sm-min) {
41
+ .imports-reponsive(-sm);
42
+ }
43
+ }
44
+
45
+ & when (@md = true) {
46
+ @media (min-width: @screen-md-min) {
47
+ .imports-reponsive(-md);
48
+ }
49
+ }
50
+
51
+ & when (@lg = true) {
52
+ @media (min-width: @screen-lg-min) {
53
+ .imports-reponsive(-lg);
54
+ }
55
+ }
56
+
57
+ & when (@xl = true) {
58
+ @media (min-width: @screen-xl-min) {
59
+ .imports-reponsive(-xl);
60
+ }
61
+ }
62
+
63
+ & when (@print = true) {
64
+ @media print {
65
+ .imports-reponsive(-print);
66
+ }
67
+ }
68
+ }
@@ -0,0 +1,32 @@
1
+ .bg-none@{suffix} { background: none !important }
2
+
3
+ .bg-size-cover@{suffix} { background-size: cover !important }
4
+ .bg-size-100pct@{suffix} { background-size: 100% !important }
5
+ .bg-size-90pct@{suffix} { background-size: 90% !important }
6
+ .bg-size-80pct@{suffix} { background-size: 80% !important }
7
+ .bg-size-70pct@{suffix} { background-size: 70% !important }
8
+ .bg-size-60pct@{suffix} { background-size: 60% !important }
9
+ .bg-size-50pct@{suffix} { background-size: 50% !important }
10
+ .bg-size-40pct@{suffix} { background-size: 40% !important }
11
+ .bg-size-30pct@{suffix} { background-size: 30% !important }
12
+ .bg-size-20pct@{suffix} { background-size: 20% !important }
13
+ .bg-size-10pct@{suffix} { background-size: 10% !important }
14
+
15
+ .bg-repeat-no@{suffix} { background-repeat: no-repeat !important }
16
+ .bg-repeat-x@{suffix} { background-repeat: repeat-x !important }
17
+ .bg-repeat-y@{suffix} { background-repeat: repeat-y !important }
18
+ .bg-repeat-xy@{suffix} { background-repeat: repeat !important }
19
+
20
+ .bg-position-top@{suffix} { background-position: top !important }
21
+ .bg-position-top-left@{suffix} { background-position: top left !important }
22
+ .bg-position-top-center@{suffix} { background-position: top center !important }
23
+ .bg-position-top-right@{suffix} { background-position: top right !important }
24
+ .bg-position-center@{suffix} { background-position: center !important }
25
+ .bg-position-center-left@{suffix} { background-position: center left !important }
26
+ .bg-position-center-right@{suffix} { background-position: center right !important }
27
+ .bg-position-bottom@{suffix} { background-position: bottom !important }
28
+ .bg-position-bottom-left@{suffix} { background-position: bottom left !important }
29
+ .bg-position-bottom-center@{suffix} { background-position: bottom center !important }
30
+ .bg-position-bottom-right@{suffix} { background-position: bottom right !important }
31
+
32
+ .bg-attachment-fixed@{suffix} { background-attachment: fixed !important }
@@ -0,0 +1,9 @@
1
+ .display-block@{suffix} { display: block !important }
2
+ .display-inline-block@{suffix} { display: inline-block !important }
3
+ .display-flex@{suffix} { display: flex !important }
4
+ .display-inline-flex@{suffix} { display: inline-flex !important }
5
+ .display-grid@{suffix} { display: grid !important }
6
+ .display-inline-grid@{suffix} { display: inline-grid !important }
7
+ .display-inline@{suffix} { display: inline !important }
8
+ .display-contents@{suffix} { display: contents !important}
9
+ .display-none@{suffix} { display: none !important }
@@ -0,0 +1,75 @@
1
+ .flex-row@{suffix} { flex-direction: row !important }
2
+ .flex-row-reverse@{suffix} { flex-direction: row-reverse !important }
3
+
4
+ .flex-column@{suffix} { flex-direction: column !important }
5
+ .flex-column-reverse@{suffix} { flex-direction: column-reverse !important }
6
+
7
+ .flex-wrap@{suffix} { flex-wrap: wrap !important }
8
+ .flex-nowrap@{suffix} { flex-wrap: nowrap !important }
9
+ .flex-wrap-reverse@{suffix} { flex-wrap: wrap-reverse !important }
10
+
11
+ .justify-content-start@{suffix} { justify-content: flex-start !important }
12
+ .justify-content-end@{suffix} { justify-content: flex-end !important }
13
+ .justify-content-center@{suffix} { justify-content: center !important }
14
+ .justify-content-between@{suffix} { justify-content: space-between !important }
15
+ .justify-content-around@{suffix} { justify-content: space-around !important }
16
+
17
+ .align-items-start@{suffix} { align-items: flex-start !important }
18
+ .align-items-end@{suffix} { align-items: flex-end !important }
19
+ .align-items-center@{suffix} { align-items: center !important }
20
+ .align-items-baseline@{suffix} { align-items: baseline !important }
21
+ .align-items-stretch@{suffix} { align-items: stretch !important }
22
+
23
+ .align-content-start@{suffix} { align-content: flex-start !important }
24
+ .align-content-end@{suffix} { align-content: flex-end !important }
25
+ .align-content-center@{suffix} { align-content: center !important }
26
+ .align-content-between@{suffix} { align-content: space-between !important }
27
+ .align-content-around@{suffix} { align-content: space-around !important }
28
+ .align-content-stretch@{suffix} { align-content: stretch !important }
29
+
30
+ .align-self-auto@{suffix} { align-self: auto !important }
31
+ .align-self-start@{suffix} { align-self: flex-start !important }
32
+ .align-self-end@{suffix} { align-self: flex-end !important }
33
+ .align-self-center@{suffix} { align-self: center !important }
34
+ .align-self-baseline@{suffix} { align-self: baseline !important }
35
+ .align-self-stretch@{suffix} { align-self: stretch !important }
36
+
37
+ /* Flexbox - Helper */
38
+ .flex-0-1@{suffix} { flex: 0 1 auto !important }
39
+ .flex-1-0@{suffix} { flex: 1 0 auto !important }
40
+ .flex-1-1@{suffix} { flex: 1 1 auto !important }
41
+ .flex-1-1-0@{suffix} { flex: 1 1 0px !important }
42
+
43
+ .flex-order-1@{suffix} { order: 1 !important }
44
+ .flex-order-2@{suffix} { order: 2 !important }
45
+ .flex-order-3@{suffix} { order: 3 !important }
46
+ .flex-order-4@{suffix} { order: 4 !important }
47
+ .flex-order-5@{suffix} { order: 5 !important }
48
+
49
+ each(@sizes-pct, {
50
+ .flex-basis-@{key}@{suffix} {
51
+ flex-basis: @value !important;
52
+ }
53
+ })
54
+
55
+ /* Grid */
56
+ .grid-cols-none@{suffix} { grid-template-columns: none !important }
57
+ each(@gridColumns, {
58
+ .grid-cols-@{key}@{suffix} {
59
+ grid-template-columns: repeat(@value, minmax(0, 1fr)) !important
60
+ }
61
+ })
62
+
63
+ // Colspan
64
+ each(@gridColumns, {
65
+ .grid-colspan-@{key}@{suffix} {
66
+ grid-column: span @key / span @key !important
67
+ }
68
+ })
69
+ // .grid-colspan-full@{suffix} { grid-column: 1 / -1 !important }
70
+ .grid-colspan-auto@{suffix} { grid-column: auto !important }
71
+
72
+ // Placement
73
+ .place-items-center@{suffix} {
74
+ place-items: center !important;
75
+ }
@@ -0,0 +1,4 @@
1
+ /* Floating */
2
+ .float-left@{suffix}, .pull-left@{suffix} { float: left !important } // equivalent to Bootstraps "pull-left"
3
+ .float-right@{suffix}, .pull-right@{suffix} { float: right !important } // equivalent to Bootstraps "pull-right"
4
+ .float-none@{suffix} { float: none !important }
@@ -0,0 +1,41 @@
1
+ .gap-0@{suffix} { gap: 0 !important }
2
+ .column-gap-0@{suffix} { column-gap: 0 !important }
3
+ .row-gap-0@{suffix} { row-gap: 0 !important }
4
+
5
+ [class*="gap-"] {
6
+ > .panel {
7
+ margin-bottom: 0;
8
+ }
9
+ }
10
+
11
+ // gap px
12
+ each(@spacings-px, {
13
+ // x & y
14
+ .gap-@{key}@{suffix} {
15
+ gap: @value !important;
16
+ }
17
+ // x
18
+ .column-gap-@{key}@{suffix} {
19
+ column-gap: @value !important;
20
+ }
21
+ // y
22
+ .row-gap-@{key}@{suffix} {
23
+ row-gap: @value !important;
24
+ }
25
+ })
26
+
27
+ // gap pct
28
+ each(@spacings-pct, {
29
+ // x & y
30
+ // .gap-@{key}@{suffix} {
31
+ // gap: @value !important;
32
+ // }
33
+ // x
34
+ .column-gap-@{key}@{suffix} {
35
+ column-gap: @value !important;
36
+ }
37
+ // y
38
+ // .row-gap-@{key}@{suffix} {
39
+ // row-gap: @value !important;
40
+ // }
41
+ })
@@ -0,0 +1,14 @@
1
+ .hyphens-auto@{suffix} { hyphens: auto !important }
2
+ .hyphens-none@{suffix} { hyphens: none !important }
3
+
4
+ /* Text - Wrapping */
5
+ .white-space-nowrap@{suffix} { white-space: nowrap !important }
6
+ .white-space-normal@{suffix} { white-space: normal !important }
7
+ .white-space-pre-line@{suffix} { white-space: pre-line !important }
8
+
9
+ .word-break@{suffix} {
10
+ hyphens: auto;
11
+ overflow: hidden;
12
+ word-break: break-word;
13
+ word-wrap: break-word;
14
+ }
@@ -0,0 +1,127 @@
1
+ .margin-auto@{suffix} { margin: auto !important }
2
+ .margin-0@{suffix} { margin: 0 !important }
3
+
4
+ .margin-left-0@{suffix} { margin-left: 0 !important }
5
+ .margin-right-0@{suffix} { margin-right: 0 !important }
6
+ .margin-top-0@{suffix} { margin-top: 0 !important }
7
+ .margin-bottom-0@{suffix} { margin-bottom: 0 !important }
8
+
9
+ .margin-x-0@{suffix} { margin-left: 0 !important; margin-right: 0 !important }
10
+ .margin-y-0@{suffix} { margin-top: 0 !important; margin-bottom: 0 !important }
11
+
12
+ .margin-left-auto@{suffix}, .margin-x-auto@{suffix} { margin-left: auto !important }
13
+ .margin-right-auto@{suffix}, .margin-x-auto@{suffix} { margin-right: auto !important }
14
+ .margin-top-auto@{suffix}, .margin-y-auto@{suffix} { margin-top: auto !important }
15
+ .margin-bottom-auto@{suffix}, .margin-y-auto@{suffix} { margin-bottom: auto !important }
16
+
17
+ // margin px
18
+ each(@spacings-px, {
19
+ // surrouding
20
+ .margin-@{key}@{suffix} {
21
+ margin: @value !important;
22
+ }
23
+ // left
24
+ .margin-x-@{key}@{suffix},
25
+ .margin-left-@{key}@{suffix} {
26
+ margin-left: @value !important;
27
+ }
28
+ // right
29
+ .margin-x-@{key}@{suffix},
30
+ .margin-right-@{key}@{suffix} {
31
+ margin-right: @value !important;
32
+ }
33
+ // top
34
+ .margin-y-@{key}@{suffix},
35
+ .margin-top-@{key}@{suffix} {
36
+ margin-top: @value !important;
37
+ }
38
+ // bottom
39
+ .margin-y-@{key}@{suffix},
40
+ .margin-bottom-@{key}@{suffix} {
41
+ margin-bottom: @value !important;
42
+ }
43
+ })
44
+
45
+ // negative margin px
46
+ each(@spacings-px, {
47
+ // negative surrouding
48
+ .margin--@{key}@{suffix} {
49
+ margin: -@value !important;
50
+ }
51
+ // negative left
52
+ .margin-x--@{key}@{suffix},
53
+ .margin-left--@{key}@{suffix} {
54
+ margin-left: -@value !important;
55
+ }
56
+ // negative right
57
+ .margin-x--@{key}@{suffix},
58
+ .margin-right--@{key}@{suffix} {
59
+ margin-right: -@value !important;
60
+ }
61
+ // negative top
62
+ .margin-y--@{key}@{suffix},
63
+ .margin-top--@{key}@{suffix} {
64
+ margin-top: -@value !important;
65
+ }
66
+ // negative bottom
67
+ .margin-y--@{key}@{suffix},
68
+ .margin-bottom--@{key}@{suffix} {
69
+ margin-bottom: -@value !important;
70
+ }
71
+ })
72
+
73
+ // margin pct
74
+ each(@spacings-pct, {
75
+ // surrouding
76
+ .margin-@{key}@{suffix} {
77
+ margin: @value !important;
78
+ }
79
+ // left
80
+ .margin-x-@{key}@{suffix},
81
+ .margin-left-@{key}@{suffix} {
82
+ margin-left: @value !important;
83
+ }
84
+ // right
85
+ .margin-x-@{key}@{suffix},
86
+ .margin-right-@{key}@{suffix} {
87
+ margin-right: @value !important;
88
+ }
89
+ // top
90
+ .margin-y-@{key}@{suffix},
91
+ .margin-top-@{key}@{suffix} {
92
+ margin-top: @value !important;
93
+ }
94
+ // bottom
95
+ .margin-y-@{key}@{suffix},
96
+ .margin-bottom-@{key}@{suffix} {
97
+ margin-bottom: @value !important;
98
+ }
99
+ })
100
+
101
+ // negative margin pct
102
+ each(@spacings-pct, {
103
+ // negative surrouding
104
+ .margin--@{key}@{suffix} {
105
+ margin: -@value !important;
106
+ }
107
+ // negative left
108
+ .margin-x--@{key}@{suffix},
109
+ .margin-left--@{key}@{suffix} {
110
+ margin-left: -@value !important;
111
+ }
112
+ // negative right
113
+ .margin-x--@{key}@{suffix},
114
+ .margin-right--@{key}@{suffix} {
115
+ margin-right: -@value !important;
116
+ }
117
+ // negative top
118
+ .margin-y--@{key}@{suffix},
119
+ .margin-top--@{key}@{suffix} {
120
+ margin-top: -@value !important;
121
+ }
122
+ // negative bottom
123
+ .margin-y--@{key}@{suffix},
124
+ .margin-bottom--@{key}@{suffix} {
125
+ margin-bottom: -@value !important;
126
+ }
127
+ })
@@ -0,0 +1,16 @@
1
+ /* Overflow */
2
+ .overflow-hidden@{suffix} { overflow: hidden !important }
3
+ .overflow-x-hidden@{suffix} { overflow-x: hidden !important }
4
+ .overflow-y-hidden@{suffix} { overflow-y: hidden !important }
5
+
6
+ .overflow-visible@{suffix} { overflow: visible !important }
7
+ .overflow-x-visible@{suffix} { overflow-x: visible !important }
8
+ .overflow-y-visible@{suffix} { overflow-y: visible !important }
9
+
10
+ .overflow-scroll@{suffix} { overflow: scroll !important }
11
+ .overflow-x-scroll@{suffix} { overflow-x: scroll !important }
12
+ .overflow-y-scroll@{suffix} { overflow-y: scroll !important }
13
+
14
+ .overflow-auto@{suffix} { overflow: auto !important }
15
+ .overflow-x-auto@{suffix} { overflow-x: auto !important }
16
+ .overflow-y-auto@{suffix} { overflow-y: auto !important }