@tabler/core 1.0.0-beta13 → 1.0.0-beta15

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 (99) hide show
  1. package/dist/css/demo.css +2 -2
  2. package/dist/css/demo.min.css +2 -2
  3. package/dist/css/demo.rtl.css +2 -2
  4. package/dist/css/demo.rtl.min.css +2 -2
  5. package/dist/css/tabler-flags.css +4 -4
  6. package/dist/css/tabler-flags.min.css +3 -3
  7. package/dist/css/tabler-flags.rtl.css +4 -4
  8. package/dist/css/tabler-flags.rtl.min.css +3 -3
  9. package/dist/css/tabler-payments.css +4 -4
  10. package/dist/css/tabler-payments.min.css +3 -3
  11. package/dist/css/tabler-payments.rtl.css +4 -4
  12. package/dist/css/tabler-payments.rtl.min.css +3 -3
  13. package/dist/css/tabler-vendors.css +2 -2
  14. package/dist/css/tabler-vendors.min.css +2 -2
  15. package/dist/css/tabler-vendors.rtl.css +2 -2
  16. package/dist/css/tabler-vendors.rtl.min.css +2 -2
  17. package/dist/css/tabler.css +673 -815
  18. package/dist/css/tabler.min.css +4 -4
  19. package/dist/css/tabler.rtl.css +673 -815
  20. package/dist/css/tabler.rtl.min.css +4 -4
  21. package/dist/js/demo-theme.js +2 -2
  22. package/dist/js/demo-theme.min.js +2 -2
  23. package/dist/js/demo.js +2 -2
  24. package/dist/js/demo.min.js +2 -2
  25. package/dist/js/tabler.esm.js +2 -2
  26. package/dist/js/tabler.esm.min.js +2 -2
  27. package/dist/js/tabler.js +2 -2
  28. package/dist/js/tabler.min.js +2 -2
  29. package/dist/libs/tom-select/dist/js/plugins/caret_position.js +57 -8
  30. package/dist/libs/tom-select/dist/js/plugins/caret_position.js.map +1 -1
  31. package/dist/libs/tom-select/dist/js/plugins/change_listener.js +2 -2
  32. package/dist/libs/tom-select/dist/js/plugins/change_listener.js.map +1 -1
  33. package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js +57 -8
  34. package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js.map +1 -1
  35. package/dist/libs/tom-select/dist/js/plugins/clear_button.js +57 -8
  36. package/dist/libs/tom-select/dist/js/plugins/clear_button.js.map +1 -1
  37. package/dist/libs/tom-select/dist/js/plugins/drag_drop.js +1 -1
  38. package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js +57 -8
  39. package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js.map +1 -1
  40. package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js +58 -9
  41. package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js.map +1 -1
  42. package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js +2 -2
  43. package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js.map +1 -1
  44. package/dist/libs/tom-select/dist/js/plugins/no_active_items.js +1 -1
  45. package/dist/libs/tom-select/dist/js/plugins/no_backspace_delete.js +1 -1
  46. package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js +57 -8
  47. package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js.map +1 -1
  48. package/dist/libs/tom-select/dist/js/plugins/remove_button.js +58 -9
  49. package/dist/libs/tom-select/dist/js/plugins/remove_button.js.map +1 -1
  50. package/dist/libs/tom-select/dist/js/plugins/restore_on_backspace.js +1 -1
  51. package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js +57 -8
  52. package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js.map +1 -1
  53. package/dist/libs/tom-select/dist/js/tom-select.base.js +77 -39
  54. package/dist/libs/tom-select/dist/js/tom-select.base.js.map +1 -1
  55. package/dist/libs/tom-select/dist/js/tom-select.base.min.js +132 -133
  56. package/dist/libs/tom-select/dist/js/tom-select.base.min.js.map +1 -1
  57. package/dist/libs/tom-select/dist/js/tom-select.complete.js +77 -39
  58. package/dist/libs/tom-select/dist/js/tom-select.complete.js.map +1 -1
  59. package/dist/libs/tom-select/dist/js/tom-select.complete.min.js +157 -158
  60. package/dist/libs/tom-select/dist/js/tom-select.complete.min.js.map +1 -1
  61. package/dist/libs/tom-select/dist/js/tom-select.popular.js +77 -39
  62. package/dist/libs/tom-select/dist/js/tom-select.popular.js.map +1 -1
  63. package/dist/libs/tom-select/dist/js/tom-select.popular.min.js +144 -145
  64. package/dist/libs/tom-select/dist/js/tom-select.popular.min.js.map +1 -1
  65. package/package.json +27 -11
  66. package/src/scss/_core.scss +1 -0
  67. package/src/scss/_mixins-override.scss +2 -2
  68. package/src/scss/_variables.scss +12 -4
  69. package/src/scss/layout/_animations.scss +62 -0
  70. package/src/scss/layout/_dark.scss +4 -3
  71. package/src/scss/layout/_navbar.scss +25 -35
  72. package/src/scss/layout/_page.scss +1 -1
  73. package/src/scss/layout/_root.scss +4 -0
  74. package/src/scss/mixins/_mixins.scss +6 -24
  75. package/src/scss/ui/_alerts.scss +4 -4
  76. package/src/scss/ui/_avatars.scss +2 -13
  77. package/src/scss/ui/_badges.scss +28 -7
  78. package/src/scss/ui/_breadcrumbs.scss +1 -1
  79. package/src/scss/ui/_buttons.scss +32 -17
  80. package/src/scss/ui/_calendars.scss +1 -1
  81. package/src/scss/ui/_cards.scss +6 -4
  82. package/src/scss/ui/_dropdowns.scss +1 -1
  83. package/src/scss/ui/_empty.scss +2 -2
  84. package/src/scss/ui/_forms.scss +4 -4
  85. package/src/scss/ui/_icons.scss +26 -57
  86. package/src/scss/ui/_lists.scss +6 -6
  87. package/src/scss/ui/_loaders.scss +2 -12
  88. package/src/scss/ui/_modals.scss +1 -1
  89. package/src/scss/ui/_nav.scss +10 -10
  90. package/src/scss/ui/_pagination.scss +1 -1
  91. package/src/scss/ui/_ribbons.scss +2 -2
  92. package/src/scss/ui/_steps.scss +2 -2
  93. package/src/scss/ui/_type.scss +8 -2
  94. package/src/scss/ui/forms/_form-check.scss +1 -1
  95. package/src/scss/ui/forms/_form-imagecheck.scss +1 -1
  96. package/src/scss/ui/forms/_form-selectgroup.scss +1 -1
  97. package/src/scss/ui/typo/_hr.scss +1 -1
  98. package/src/scss/utils/_colors.scss +1 -1
  99. package/src/scss/vendor/_tom-select.scss +1 -0
@@ -201,8 +201,10 @@ Stacked card
201
201
  }
202
202
 
203
203
  .card-header-tabs {
204
+ background: $card-header-tabs-bg;
204
205
  flex: 1;
205
- margin: (- $card-spacer-y * .5) (- $card-spacer-x * .5) (- $card-spacer-y );
206
+ margin: calc(var(--#{$prefix}card-cap-padding-y) * -1) calc(var(--#{$prefix}card-cap-padding-x) * -1) calc(var(--#{$prefix}card-cap-padding-y) * -1);
207
+ padding: calc(var(--#{$prefix}card-cap-padding-y) * .5) calc(var(--#{$prefix}card-cap-padding-x) * .5) 0;
206
208
  }
207
209
 
208
210
  .card-header-pills {
@@ -274,7 +276,7 @@ Stacked card
274
276
  }
275
277
 
276
278
  .card-meta {
277
- color: $text-muted;
279
+ color: var(--#{$prefix}muted);
278
280
  }
279
281
 
280
282
  .card-title {
@@ -296,7 +298,7 @@ Stacked card
296
298
 
297
299
  .card-subtitle {
298
300
  margin-bottom: $card-title-spacer-y;
299
- color: $text-muted;
301
+ color: var(--#{$prefix}muted);
300
302
  font-weight: normal;
301
303
 
302
304
  .card-header & {
@@ -363,7 +365,7 @@ Card optinos
363
365
  display: inline-block;
364
366
  min-width: 1rem;
365
367
  margin-left: .25rem;
366
- color: $text-muted;
368
+ color: var(--#{$prefix}muted);
367
369
  }
368
370
 
369
371
 
@@ -26,7 +26,7 @@
26
26
  width: $icon-size !important;
27
27
  height: $icon-size !important;
28
28
  margin-right: .5rem;
29
- color: $text-muted;
29
+ color: var(--#{$prefix}muted);
30
30
  opacity: $text-muted-opacity;
31
31
  text-align: center;
32
32
  }
@@ -17,7 +17,7 @@
17
17
  width: 3rem;
18
18
  height: 3rem;
19
19
  line-height: 1;
20
- color: $text-muted;
20
+ color: var(--#{$prefix}muted);
21
21
 
22
22
  svg {
23
23
  width: 100%;
@@ -40,7 +40,7 @@
40
40
  font-size: 4rem;
41
41
  font-weight: var(--#{$prefix}font-weight-light);
42
42
  line-height: 1;
43
- color: $text-muted;
43
+ color: var(--#{$prefix}muted);
44
44
  }
45
45
 
46
46
  .empty-title {
@@ -24,7 +24,7 @@ Form label
24
24
  .form-label-description {
25
25
  float: right;
26
26
  font-weight: var(--#{$prefix}font-weight-normal);
27
- color: $text-muted;
27
+ color: var(--#{$prefix}muted);
28
28
  }
29
29
 
30
30
  /**
@@ -32,7 +32,7 @@ Form hint
32
32
  */
33
33
  .form-hint {
34
34
  display: block;
35
- color: $text-muted;
35
+ color: var(--#{$prefix}muted);
36
36
 
37
37
  &:last-child {
38
38
  margin-bottom: 0;
@@ -73,7 +73,7 @@ Form control
73
73
 
74
74
  &:disabled,
75
75
  &.disabled {
76
- color: $text-muted;
76
+ color: var(--#{$prefix}muted);
77
77
  user-select: none;
78
78
  }
79
79
 
@@ -155,7 +155,7 @@ Form help
155
155
  width: 1.125rem;
156
156
  height: 1.125rem;
157
157
  font-size: .75rem;
158
- color: $text-muted;
158
+ color: var(--#{$prefix}muted);
159
159
  text-align: center;
160
160
  text-decoration: none;
161
161
  cursor: pointer;
@@ -1,7 +1,11 @@
1
+ //
2
+ // Icon component
3
+ //
1
4
  .icon {
2
- width: $font-size-base * $line-height-base;
3
- height: $font-size-base * $line-height-base;
4
- font-size: $font-size-base * $line-height-base;
5
+ --#{$prefix}icon-size: #{$font-size-base * $line-height-base};
6
+ width: var(--#{$prefix}icon-size);
7
+ height: var(--#{$prefix}icon-size);
8
+ font-size: var(--#{$prefix}icon-size);
5
9
  vertical-align: bottom;
6
10
 
7
11
  @if $icon-stroke-width {
@@ -13,91 +17,56 @@
13
17
  }
14
18
  }
15
19
 
20
+ //
21
+ // Inline icon
22
+ //
16
23
  .icon-inline {
17
- width: 1rem;
18
- height: 1rem;
19
- font-size: 1rem;
24
+ --#{$prefix}icon-size: 1rem;
20
25
  vertical-align: -.2rem;
21
26
  }
22
27
 
28
+ //
29
+ // Filled icon
30
+ //
23
31
  .icon-filled {
24
32
  fill: currentColor;
25
33
  }
26
34
 
35
+ //
36
+ // Icon size
37
+ //
27
38
  .icon-sm {
28
- width: 1rem;
29
- height: 1rem;
39
+ --#{$prefix}icon-size: 1rem;
30
40
  stroke-width: 1;
31
41
  }
32
42
 
33
43
  .icon-md {
34
- width: 2.5rem;
35
- height: 2.5rem;
44
+ --#{$prefix}icon-size: 2.5rem;
36
45
  stroke-width: 1;
37
46
  }
38
47
 
39
48
  .icon-lg {
40
- width: 3.5rem;
41
- height: 3.5rem;
49
+ --#{$prefix}icon-size: 3.5rem;
42
50
  stroke-width: 1;
43
51
  }
44
52
 
45
- @keyframes icon-pulse {
46
- from {
47
- opacity: 1;
48
- transform: scale3d(.8, .8, .8)
49
- }
50
- 50% {
51
- transform: scale3d(1, 1, 1);
52
- opacity: 1
53
- }
54
- to {
55
- opacity: 1;
56
- transform: scale3d(.8, .8, .8)
57
- }
58
- }
59
-
53
+ //
54
+ // Icons animation
55
+ //
60
56
  .icon-pulse {
61
57
  transition: all .15s ease 0s;
62
- animation: icon-pulse 2s ease infinite;
58
+ animation: pulse 2s ease infinite;
63
59
  animation-fill-mode: both
64
60
  }
65
61
 
66
- @keyframes icon-tada {
67
- 0% {
68
- transform: scale3d(1, 1, 1)
69
- }
70
- 10%, 5% {
71
- transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -5deg)
72
- }
73
- 15%, 25%, 35%, 45% {
74
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 5deg)
75
- }
76
- 20%, 30%, 40% {
77
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -5deg)
78
- }
79
- 50% {
80
- transform: scale3d(1, 1, 1)
81
- }
82
- }
83
-
84
62
  .icon-tada {
85
63
  transition: all .15s ease 0s;
86
- animation: icon-tada 3s ease infinite;
64
+ animation: tada 3s ease infinite;
87
65
  animation-fill-mode: both
88
66
  }
89
67
 
90
- @keyframes icon-rotate {
91
- from {
92
- transform: rotate(0deg);
93
- }
94
- to {
95
- transform: rotate(360deg);
96
- }
97
- }
98
-
99
68
  .icon-rotate {
100
69
  transition: all .15s ease 0s;
101
- animation: icon-rotate 3s linear infinite;
70
+ animation: rotate-360 3s linear infinite;
102
71
  animation-fill-mode: both
103
72
  }
@@ -91,7 +91,7 @@ Timeline
91
91
  .list-timeline-time {
92
92
  float: right;
93
93
  margin-left: 1rem;
94
- color: $text-muted;
94
+ color: var(--#{$prefix}muted);
95
95
  }
96
96
 
97
97
  .list-timeline-icon {
@@ -105,7 +105,7 @@ Timeline
105
105
  height: 2.5rem;
106
106
  color: $white;
107
107
  text-align: center;
108
- background: $text-muted;
108
+ background: var(--#{$prefix}muted);
109
109
  border-radius: $border-radius-pill;
110
110
 
111
111
  .icon {
@@ -134,9 +134,9 @@ Timeline
134
134
  left: add(7.5rem, 2px);
135
135
  z-index: 1;
136
136
  display: block;
137
- width: 4px;
137
+ width: 2px;
138
138
  content: "";
139
- background-color: $body-bg;
139
+ background-color: var(--#{$prefix}border-color);
140
140
  }
141
141
 
142
142
  & > li {
@@ -175,13 +175,13 @@ Timeline
175
175
  border: 0;
176
176
 
177
177
  .icon {
178
- color: $text-muted;
178
+ color: var(--#{$prefix}muted);
179
179
  }
180
180
 
181
181
  &.active {
182
182
  font-weight: var(--#{$prefix}font-weight-bold);
183
183
  color: inherit;
184
- background: $active-bg;
184
+ background: $list-group-active-bg;
185
185
 
186
186
  .icon {
187
187
  color: inherit;
@@ -1,13 +1,3 @@
1
- @keyframes loader {
2
- from {
3
- transform: rotate(0deg);
4
- }
5
-
6
- to {
7
- transform: rotate(360deg);
8
- }
9
- }
10
-
11
1
  .loader {
12
2
  position: relative;
13
3
  display: block;
@@ -23,13 +13,13 @@
23
13
  width: 100%;
24
14
  height: 100%;
25
15
  content: "";
26
- border: 1px solid;
16
+ border: 1px var(--#{$prefix}border-style);
27
17
  border-color: transparent;
28
18
  border-top-color: currentColor;
29
19
  border-left-color: currentColor;
30
20
 
31
21
  border-radius: $border-radius-pill;
32
- animation: loader .6s linear;
22
+ animation: rotate-360 .6s linear;
33
23
  animation-iteration-count: infinite;
34
24
  }
35
25
  }
@@ -29,7 +29,7 @@
29
29
  left: 0;
30
30
  right: 0;
31
31
  height: $modal-status-size;
32
- background: $text-muted;
32
+ background: var(--#{$prefix}muted);
33
33
  border-radius: $modal-content-border-radius $modal-content-border-radius 0 0;
34
34
  }
35
35
 
@@ -36,10 +36,10 @@
36
36
  .nav-link {
37
37
  padding-left: 0;
38
38
  padding-right: 0;
39
- margin: 0 0 (- $nav-bordered-border-width );
39
+ margin: 0 0 (- $nav-bordered-border-width);
40
40
  border: 0;
41
41
  border-bottom: $nav-bordered-link-active-border-width var(--#{$prefix}border-style) transparent;
42
- color: $text-muted;
42
+ color: var(--#{$prefix}muted);
43
43
  }
44
44
 
45
45
  .nav-link.active,
@@ -50,14 +50,6 @@
50
50
 
51
51
  }
52
52
 
53
- .nav-tabs-alt {
54
- .nav-link {
55
- font-size: 13px;
56
- font-weight: var(--#{$prefix}font-weight-bold);
57
- text-transform: uppercase;
58
- }
59
- }
60
-
61
53
  .nav-link {
62
54
  display: flex;
63
55
  @include transition(color $transition-time);
@@ -89,4 +81,12 @@
89
81
  display: block;
90
82
  height: 100%;
91
83
  }
84
+ }
85
+
86
+ .nav-fill {
87
+ .nav-item {
88
+ .nav-link {
89
+ justify-content: center;
90
+ }
91
+ }
92
92
  }
@@ -33,7 +33,7 @@
33
33
  .page-item-subtitle {
34
34
  margin-bottom: 2px;
35
35
  font-size: 12px;
36
- color: $text-muted;
36
+ color: var(--#{$prefix}muted);
37
37
  text-transform: uppercase;
38
38
 
39
39
  .page-item.disabled & {
@@ -31,7 +31,7 @@
31
31
  height: 0;
32
32
  content: "";
33
33
  filter: brightness(70%);
34
- border: calc(var(--#{$prefix}ribbon-margin) * .5) solid;
34
+ border: calc(var(--#{$prefix}ribbon-margin) * .5) var(--#{$prefix}border-style);
35
35
  border-color: inherit;
36
36
  border-top-color: transparent;
37
37
  border-right-color: transparent;
@@ -115,7 +115,7 @@
115
115
  width: 0;
116
116
  height: 0;
117
117
  content: "";
118
- border: 1rem solid;
118
+ border: 1rem var(--#{$prefix}border-style);
119
119
  border-color: inherit;
120
120
  border-right-width: 0;
121
121
  border-left-color: transparent;
@@ -94,7 +94,7 @@
94
94
  }
95
95
 
96
96
  & ~ .step-item {
97
- color: $text-muted;
97
+ color: var(--#{$prefix}muted);
98
98
 
99
99
  &:after,
100
100
  &:before {
@@ -102,7 +102,7 @@
102
102
  }
103
103
 
104
104
  &:before {
105
- color: $text-muted !important;
105
+ color: var(--#{$prefix}muted) !important;
106
106
  }
107
107
  }
108
108
  }
@@ -123,8 +123,14 @@ code {
123
123
  }
124
124
 
125
125
  kbd {
126
- font: inherit;
127
- box-shadow: 0 0 0 1px var(--#{$prefix}border-color), 0 3px 0 0 var(--#{$prefix}bg-surface), 0 3px 0 1px var(--#{$prefix}border-color);
126
+ border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
127
+ display: inline-block;
128
+ box-sizing: border-box;
129
+ max-width: 100%;
130
+ font-size: var(--#{$prefix}font-size-h5);
131
+ font-weight: $kbd-font-weight;
132
+ line-height: 1;
133
+ vertical-align: baseline;
128
134
  }
129
135
 
130
136
  img {
@@ -44,7 +44,7 @@ Form check
44
44
 
45
45
  .form-check-description {
46
46
  display: block;
47
- color: $text-muted;
47
+ color: var(--#{$prefix}muted);
48
48
  font-size: $h5-font-size;
49
49
  margin-top: .25rem;
50
50
  }
@@ -92,7 +92,7 @@ Image check
92
92
  .form-imagecheck-caption {
93
93
  padding: .25rem;
94
94
  font-size: $font-size-sm;
95
- color: $text-muted;
95
+ color: var(--#{$prefix}muted);
96
96
  text-align: center;
97
97
  @include transition(color $transition-time);
98
98
 
@@ -36,7 +36,7 @@ Select group
36
36
  padding: $input-btn-padding-y $input-btn-padding-x;
37
37
  font-size: $input-btn-font-size;
38
38
  line-height: $input-line-height;
39
- color: $text-muted;
39
+ color: var(--#{$prefix}muted);
40
40
  background: $form-check-input-bg;
41
41
  text-align: center;
42
42
  cursor: pointer;
@@ -36,7 +36,7 @@ Hr text
36
36
  > *:first-child {
37
37
  padding-right: .5rem;
38
38
  padding-left: 0;
39
- color: $text-muted;
39
+ color: var(--#{$prefix}muted);
40
40
  }
41
41
 
42
42
  &.hr-text-left {
@@ -1,5 +1,5 @@
1
1
  // All colors
2
- @each $color, $value in $theme-colors {
2
+ @each $color, $value in map-merge($theme-colors, ( white: $white )) {
3
3
  .bg-#{"" + $color} {
4
4
  background-color: var(--#{$prefix}#{$color}) !important;
5
5
  }
@@ -1,4 +1,5 @@
1
1
  $select-color-dropdown-border-top: red;
2
+ $input-border-width: 1px;
2
3
 
3
4
  @import "~tom-select/src/scss/tom-select.bootstrap5.scss";
4
5