@finqu/cool 1.3.0 → 2.0.2
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/README.md +23 -9
- package/dist/css/cool.css +13391 -7742
- package/dist/css/cool.css.map +1 -1
- package/dist/css/cool.min.css +2 -93
- package/dist/css/cool.min.css.map +1 -1
- package/dist/js/cool.bundle.js +16051 -17050
- package/dist/js/cool.bundle.js.map +1 -1
- package/dist/js/cool.bundle.min.js +11 -18
- package/dist/js/cool.bundle.min.js.map +1 -1
- package/dist/js/cool.esm.js +3469 -4468
- package/dist/js/cool.esm.js.map +1 -1
- package/dist/js/cool.esm.min.js +2 -8
- package/dist/js/cool.esm.min.js.map +1 -1
- package/dist/js/cool.js +5083 -6089
- package/dist/js/cool.js.map +1 -1
- package/dist/js/cool.min.js +2 -8
- package/dist/js/cool.min.js.map +1 -1
- package/package.json +48 -16
- package/scss/LISENCE +15 -0
- package/scss/_badge.scss +134 -0
- package/scss/_button-group.scss +80 -0
- package/scss/_buttons.scss +304 -0
- package/scss/_dark.scss +637 -0
- package/scss/_dialog.scss +351 -0
- package/scss/_dropdown.scss +165 -0
- package/scss/_forms.scss +613 -0
- package/scss/_frame.scss +948 -0
- package/scss/_grid.scss +215 -0
- package/scss/_input-group.scss +326 -0
- package/scss/_list-group.scss +127 -0
- package/scss/_media.scss +439 -0
- package/scss/_navbar.scss +122 -0
- package/scss/_notification.scss +115 -0
- package/scss/_pagination.scss +82 -0
- package/scss/_popover.scss +61 -0
- package/scss/_reboot.scss +306 -0
- package/scss/_root.scss +848 -0
- package/scss/_section.scss +735 -0
- package/scss/_select.scss +559 -0
- package/scss/_tables.scss +611 -0
- package/scss/_tabs.scss +50 -0
- package/scss/_toast.scss +277 -0
- package/scss/_tooltip.scss +130 -0
- package/scss/_typography.scss +166 -0
- package/scss/_variables.scss +1229 -0
- package/scss/cool.scss +69 -0
- package/scss/utilities/_align.scss +51 -0
- package/scss/utilities/_animation.scss +165 -0
- package/scss/utilities/_background.scss +72 -0
- package/scss/utilities/_borders.scss +205 -0
- package/scss/utilities/_collapse.scss +28 -0
- package/scss/utilities/_cursor.scss +160 -0
- package/scss/utilities/_display.scss +116 -0
- package/scss/utilities/_embed.scss +89 -0
- package/scss/utilities/_fill.scss +79 -0
- package/scss/utilities/_filters.scss +233 -0
- package/scss/utilities/_flex.scss +216 -0
- package/scss/utilities/_grid.scss +136 -0
- package/scss/utilities/_opacity.scss +131 -0
- package/scss/utilities/_overflow.scss +242 -0
- package/scss/utilities/_perfect-scrollbar.scss +147 -0
- package/scss/utilities/_pointer-events.scss +125 -0
- package/scss/utilities/_position.scss +130 -0
- package/scss/utilities/_screen-readers.scss +95 -0
- package/scss/utilities/_shadows.scss +195 -0
- package/scss/utilities/_sizing.scss +288 -0
- package/scss/utilities/_spacing.scss +168 -0
- package/scss/utilities/_stroke.scss +124 -0
- package/scss/utilities/_text.scss +420 -0
- package/scss/utilities/_transform.scss +232 -0
- package/scss/utilities/_transitions.scss +147 -0
- package/scss/utilities/_user-select.scss +93 -0
- package/scss/utilities/_visibility.scss +66 -0
- package/scss/utilities/_z-index.scss +169 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
@use "../variables" as *;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
/* Transitions ========================================================================== */
|
|
4
|
+
|
|
5
|
+
@mixin cool-transitions {
|
|
6
|
+
.transition-none {
|
|
7
|
+
transition-property: none;
|
|
8
|
+
}
|
|
9
|
+
.transition-all {
|
|
10
|
+
transition-property: all;
|
|
11
|
+
}
|
|
12
|
+
.transition {
|
|
13
|
+
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
|
|
14
|
+
}
|
|
15
|
+
.transition-colors {
|
|
16
|
+
transition-property: background-color, border-color, color, fill, stroke;
|
|
17
|
+
}
|
|
18
|
+
.transition-opacity {
|
|
19
|
+
transition-property: opacity;
|
|
20
|
+
}
|
|
21
|
+
.transition-shadow {
|
|
22
|
+
transition-property: box-shadow;
|
|
23
|
+
}
|
|
24
|
+
.transition-transform {
|
|
25
|
+
transition-property: transform;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.duration-75 {
|
|
29
|
+
transition-duration: 75ms;
|
|
30
|
+
}
|
|
31
|
+
.duration-100 {
|
|
32
|
+
transition-duration: 100ms;
|
|
33
|
+
}
|
|
34
|
+
.duration-150 {
|
|
35
|
+
transition-duration: 150ms;
|
|
36
|
+
}
|
|
37
|
+
.duration-200 {
|
|
38
|
+
transition-duration: 200ms;
|
|
39
|
+
}
|
|
40
|
+
.duration-300 {
|
|
41
|
+
transition-duration: 300ms;
|
|
42
|
+
}
|
|
43
|
+
.duration-500 {
|
|
44
|
+
transition-duration: 500ms;
|
|
45
|
+
}
|
|
46
|
+
.duration-700 {
|
|
47
|
+
transition-duration: 700ms;
|
|
48
|
+
}
|
|
49
|
+
.duration-1000 {
|
|
50
|
+
transition-duration: 1000ms;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ease-linear {
|
|
54
|
+
transition-timing-function: linear;
|
|
55
|
+
}
|
|
56
|
+
.ease-in {
|
|
57
|
+
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
58
|
+
}
|
|
59
|
+
.ease-out {
|
|
60
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
61
|
+
}
|
|
62
|
+
.ease-in-out {
|
|
63
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.delay-75 {
|
|
67
|
+
transition-delay: 75ms;
|
|
68
|
+
}
|
|
69
|
+
.delay-100 {
|
|
70
|
+
transition-delay: 100ms;
|
|
71
|
+
}
|
|
72
|
+
.delay-150 {
|
|
73
|
+
transition-delay: 150ms;
|
|
74
|
+
}
|
|
75
|
+
.delay-200 {
|
|
76
|
+
transition-delay: 200ms;
|
|
77
|
+
}
|
|
78
|
+
.delay-300 {
|
|
79
|
+
transition-delay: 300ms;
|
|
80
|
+
}
|
|
81
|
+
.delay-500 {
|
|
82
|
+
transition-delay: 500ms;
|
|
83
|
+
}
|
|
84
|
+
.delay-700 {
|
|
85
|
+
transition-delay: 700ms;
|
|
86
|
+
}
|
|
87
|
+
.delay-1000 {
|
|
88
|
+
transition-delay: 1000ms;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.animate-none {
|
|
92
|
+
animation: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.will-change-auto {
|
|
96
|
+
will-change: auto;
|
|
97
|
+
}
|
|
98
|
+
.will-change-scroll {
|
|
99
|
+
will-change: scroll-position;
|
|
100
|
+
}
|
|
101
|
+
.will-change-contents {
|
|
102
|
+
will-change: contents;
|
|
103
|
+
}
|
|
104
|
+
.will-change-transform {
|
|
105
|
+
will-change: transform;
|
|
106
|
+
}
|
|
107
|
+
.will-change-opacity {
|
|
108
|
+
will-change: opacity;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
112
|
+
@include media-breakpoint-up($breakpoint) {
|
|
113
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
114
|
+
|
|
115
|
+
.transition#{$infix}-none {
|
|
116
|
+
transition-property: none;
|
|
117
|
+
}
|
|
118
|
+
.transition#{$infix}-all {
|
|
119
|
+
transition-property: all;
|
|
120
|
+
}
|
|
121
|
+
.transition#{$infix} {
|
|
122
|
+
transition-property:
|
|
123
|
+
background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
|
|
124
|
+
}
|
|
125
|
+
.transition#{$infix}-colors {
|
|
126
|
+
transition-property: background-color, border-color, color, fill, stroke;
|
|
127
|
+
}
|
|
128
|
+
.transition#{$infix}-opacity {
|
|
129
|
+
transition-property: opacity;
|
|
130
|
+
}
|
|
131
|
+
.transition#{$infix}-shadow {
|
|
132
|
+
transition-property: box-shadow;
|
|
133
|
+
}
|
|
134
|
+
.transition#{$infix}-transform {
|
|
135
|
+
transition-property: transform;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@if $cool-use-utilities-layer {
|
|
142
|
+
@layer utilities {
|
|
143
|
+
@include cool-transitions;
|
|
144
|
+
}
|
|
145
|
+
} @else {
|
|
146
|
+
@include cool-transitions;
|
|
147
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
@use "../variables" as *;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
/* User Select ========================================================================== */
|
|
4
|
+
|
|
5
|
+
@mixin cool-user-select {
|
|
6
|
+
.user-select-none {
|
|
7
|
+
user-select: none;
|
|
8
|
+
-webkit-user-select: none;
|
|
9
|
+
-moz-user-select: none;
|
|
10
|
+
-ms-user-select: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.user-select-text {
|
|
14
|
+
user-select: text;
|
|
15
|
+
-webkit-user-select: text;
|
|
16
|
+
-moz-user-select: text;
|
|
17
|
+
-ms-user-select: text;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.user-select-all {
|
|
21
|
+
user-select: all;
|
|
22
|
+
-webkit-user-select: all;
|
|
23
|
+
-moz-user-select: all;
|
|
24
|
+
-ms-user-select: all;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.user-select-auto {
|
|
28
|
+
user-select: auto;
|
|
29
|
+
-webkit-user-select: auto;
|
|
30
|
+
-moz-user-select: auto;
|
|
31
|
+
-ms-user-select: auto;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.user-select-contain {
|
|
35
|
+
user-select: contain;
|
|
36
|
+
-webkit-user-select: contain;
|
|
37
|
+
-moz-user-select: contain;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
41
|
+
@include media-breakpoint-up($breakpoint) {
|
|
42
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
43
|
+
|
|
44
|
+
.user-select#{$infix}-none {
|
|
45
|
+
user-select: none;
|
|
46
|
+
}
|
|
47
|
+
.user-select#{$infix}-text {
|
|
48
|
+
user-select: text;
|
|
49
|
+
}
|
|
50
|
+
.user-select#{$infix}-all {
|
|
51
|
+
user-select: all;
|
|
52
|
+
}
|
|
53
|
+
.user-select#{$infix}-auto {
|
|
54
|
+
user-select: auto;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.user-drag-none {
|
|
60
|
+
-webkit-user-drag: none;
|
|
61
|
+
user-drag: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.user-drag-auto {
|
|
65
|
+
-webkit-user-drag: auto;
|
|
66
|
+
user-drag: auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.user-drag-element {
|
|
70
|
+
-webkit-user-drag: element;
|
|
71
|
+
user-drag: element;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.highlight-none {
|
|
75
|
+
-webkit-tap-highlight-color: transparent;
|
|
76
|
+
-webkit-touch-callout: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.touch-callout-none {
|
|
80
|
+
-webkit-touch-callout: none;
|
|
81
|
+
}
|
|
82
|
+
.touch-callout-default {
|
|
83
|
+
-webkit-touch-callout: default;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@if $cool-use-utilities-layer {
|
|
88
|
+
@layer utilities {
|
|
89
|
+
@include cool-user-select;
|
|
90
|
+
}
|
|
91
|
+
} @else {
|
|
92
|
+
@include cool-user-select;
|
|
93
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@use "../variables" as *;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
|
|
4
|
+
/* Visibility ========================================================================== */
|
|
5
|
+
|
|
6
|
+
.visible {
|
|
7
|
+
visibility: visible;
|
|
8
|
+
}
|
|
9
|
+
.invisible {
|
|
10
|
+
visibility: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
14
|
+
@include media-breakpoint-up($breakpoint) {
|
|
15
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
16
|
+
|
|
17
|
+
.visible#{$infix} {
|
|
18
|
+
visibility: visible;
|
|
19
|
+
}
|
|
20
|
+
.invisible#{$infix} {
|
|
21
|
+
visibility: hidden;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (hover: hover) and (pointer: fine) {
|
|
27
|
+
.hover\:visible:hover {
|
|
28
|
+
visibility: visible;
|
|
29
|
+
}
|
|
30
|
+
.hover\:invisible:hover {
|
|
31
|
+
visibility: hidden;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.group:hover .group-hover\:visible {
|
|
36
|
+
visibility: visible;
|
|
37
|
+
}
|
|
38
|
+
.group:hover .group-hover\:invisible {
|
|
39
|
+
visibility: hidden;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.focus\:visible:focus {
|
|
43
|
+
visibility: visible;
|
|
44
|
+
}
|
|
45
|
+
.focus\:invisible:focus {
|
|
46
|
+
visibility: hidden;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.content-visibility-auto {
|
|
50
|
+
content-visibility: auto;
|
|
51
|
+
}
|
|
52
|
+
.content-visibility-hidden {
|
|
53
|
+
content-visibility: hidden;
|
|
54
|
+
}
|
|
55
|
+
.content-visibility-visible {
|
|
56
|
+
content-visibility: visible;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media print {
|
|
60
|
+
.visible-print {
|
|
61
|
+
visibility: visible;
|
|
62
|
+
}
|
|
63
|
+
.invisible-print {
|
|
64
|
+
visibility: hidden;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
@use "../variables" as *;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
/* Z-index ========================================================================== */
|
|
4
|
+
|
|
5
|
+
@mixin cool-z-index {
|
|
6
|
+
.z-auto {
|
|
7
|
+
z-index: auto;
|
|
8
|
+
}
|
|
9
|
+
.z-0 {
|
|
10
|
+
z-index: 0;
|
|
11
|
+
}
|
|
12
|
+
.z-10 {
|
|
13
|
+
z-index: 10;
|
|
14
|
+
}
|
|
15
|
+
.z-20 {
|
|
16
|
+
z-index: 20;
|
|
17
|
+
}
|
|
18
|
+
.z-30 {
|
|
19
|
+
z-index: 30;
|
|
20
|
+
}
|
|
21
|
+
.z-40 {
|
|
22
|
+
z-index: 40;
|
|
23
|
+
}
|
|
24
|
+
.z-50 {
|
|
25
|
+
z-index: 50;
|
|
26
|
+
}
|
|
27
|
+
.z-60 {
|
|
28
|
+
z-index: 60;
|
|
29
|
+
}
|
|
30
|
+
.z-70 {
|
|
31
|
+
z-index: 70;
|
|
32
|
+
}
|
|
33
|
+
.z-80 {
|
|
34
|
+
z-index: 80;
|
|
35
|
+
}
|
|
36
|
+
.z-90 {
|
|
37
|
+
z-index: 90;
|
|
38
|
+
}
|
|
39
|
+
.z-100 {
|
|
40
|
+
z-index: 100;
|
|
41
|
+
}
|
|
42
|
+
.z-max {
|
|
43
|
+
z-index: 9999;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.z-n1 {
|
|
47
|
+
z-index: -1;
|
|
48
|
+
}
|
|
49
|
+
.z-n10 {
|
|
50
|
+
z-index: -10;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.z-dropdown {
|
|
54
|
+
z-index: var(--cool-zindex-dropdown);
|
|
55
|
+
}
|
|
56
|
+
.z-sticky {
|
|
57
|
+
z-index: var(--cool-zindex-sticky);
|
|
58
|
+
}
|
|
59
|
+
.z-fixed {
|
|
60
|
+
z-index: var(--cool-zindex-fixed);
|
|
61
|
+
}
|
|
62
|
+
.z-select {
|
|
63
|
+
z-index: var(--cool-zindex-select);
|
|
64
|
+
}
|
|
65
|
+
.z-dialog {
|
|
66
|
+
z-index: var(--cool-zindex-dialog);
|
|
67
|
+
}
|
|
68
|
+
.z-toast {
|
|
69
|
+
z-index: var(--cool-zindex-toast);
|
|
70
|
+
}
|
|
71
|
+
.z-popover {
|
|
72
|
+
z-index: var(--cool-zindex-popover);
|
|
73
|
+
}
|
|
74
|
+
.z-tooltip {
|
|
75
|
+
z-index: var(--cool-zindex-tooltip);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@each $breakpoint in map.keys($grid-breakpoints) {
|
|
79
|
+
@include media-breakpoint-up($breakpoint) {
|
|
80
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
81
|
+
|
|
82
|
+
.z#{$infix}-auto {
|
|
83
|
+
z-index: auto;
|
|
84
|
+
}
|
|
85
|
+
.z#{$infix}-0 {
|
|
86
|
+
z-index: 0;
|
|
87
|
+
}
|
|
88
|
+
.z#{$infix}-10 {
|
|
89
|
+
z-index: 10;
|
|
90
|
+
}
|
|
91
|
+
.z#{$infix}-20 {
|
|
92
|
+
z-index: 20;
|
|
93
|
+
}
|
|
94
|
+
.z#{$infix}-30 {
|
|
95
|
+
z-index: 30;
|
|
96
|
+
}
|
|
97
|
+
.z#{$infix}-40 {
|
|
98
|
+
z-index: 40;
|
|
99
|
+
}
|
|
100
|
+
.z#{$infix}-50 {
|
|
101
|
+
z-index: 50;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.isolate {
|
|
107
|
+
isolation: isolate;
|
|
108
|
+
}
|
|
109
|
+
.isolation-auto {
|
|
110
|
+
isolation: auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.mix-blend-normal {
|
|
114
|
+
mix-blend-mode: normal;
|
|
115
|
+
}
|
|
116
|
+
.mix-blend-multiply {
|
|
117
|
+
mix-blend-mode: multiply;
|
|
118
|
+
}
|
|
119
|
+
.mix-blend-screen {
|
|
120
|
+
mix-blend-mode: screen;
|
|
121
|
+
}
|
|
122
|
+
.mix-blend-overlay {
|
|
123
|
+
mix-blend-mode: overlay;
|
|
124
|
+
}
|
|
125
|
+
.mix-blend-darken {
|
|
126
|
+
mix-blend-mode: darken;
|
|
127
|
+
}
|
|
128
|
+
.mix-blend-lighten {
|
|
129
|
+
mix-blend-mode: lighten;
|
|
130
|
+
}
|
|
131
|
+
.mix-blend-color-dodge {
|
|
132
|
+
mix-blend-mode: color-dodge;
|
|
133
|
+
}
|
|
134
|
+
.mix-blend-color-burn {
|
|
135
|
+
mix-blend-mode: color-burn;
|
|
136
|
+
}
|
|
137
|
+
.mix-blend-hard-light {
|
|
138
|
+
mix-blend-mode: hard-light;
|
|
139
|
+
}
|
|
140
|
+
.mix-blend-soft-light {
|
|
141
|
+
mix-blend-mode: soft-light;
|
|
142
|
+
}
|
|
143
|
+
.mix-blend-difference {
|
|
144
|
+
mix-blend-mode: difference;
|
|
145
|
+
}
|
|
146
|
+
.mix-blend-exclusion {
|
|
147
|
+
mix-blend-mode: exclusion;
|
|
148
|
+
}
|
|
149
|
+
.mix-blend-hue {
|
|
150
|
+
mix-blend-mode: hue;
|
|
151
|
+
}
|
|
152
|
+
.mix-blend-saturation {
|
|
153
|
+
mix-blend-mode: saturation;
|
|
154
|
+
}
|
|
155
|
+
.mix-blend-color {
|
|
156
|
+
mix-blend-mode: color;
|
|
157
|
+
}
|
|
158
|
+
.mix-blend-luminosity {
|
|
159
|
+
mix-blend-mode: luminosity;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@if $cool-use-utilities-layer {
|
|
164
|
+
@layer utilities {
|
|
165
|
+
@include cool-z-index;
|
|
166
|
+
}
|
|
167
|
+
} @else {
|
|
168
|
+
@include cool-z-index;
|
|
169
|
+
}
|