@tabler/core 1.5.0 → 1.5.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 (79) hide show
  1. package/dist/css/tabler-flags.css +1 -1
  2. package/dist/css/tabler-flags.css.map +1 -1
  3. package/dist/css/tabler-flags.min.css +1 -1
  4. package/dist/css/tabler-flags.min.css.map +1 -1
  5. package/dist/css/tabler-flags.rtl.css +1 -1
  6. package/dist/css/tabler-flags.rtl.css.map +1 -1
  7. package/dist/css/tabler-flags.rtl.min.css +1 -1
  8. package/dist/css/tabler-flags.rtl.min.css.map +1 -1
  9. package/dist/css/tabler-marketing.css +1 -1
  10. package/dist/css/tabler-marketing.css.map +1 -1
  11. package/dist/css/tabler-marketing.min.css +1 -1
  12. package/dist/css/tabler-marketing.min.css.map +1 -1
  13. package/dist/css/tabler-marketing.rtl.css +1 -1
  14. package/dist/css/tabler-marketing.rtl.css.map +1 -1
  15. package/dist/css/tabler-marketing.rtl.min.css +1 -1
  16. package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
  17. package/dist/css/tabler-payments.css +1 -1
  18. package/dist/css/tabler-payments.css.map +1 -1
  19. package/dist/css/tabler-payments.min.css +1 -1
  20. package/dist/css/tabler-payments.min.css.map +1 -1
  21. package/dist/css/tabler-payments.rtl.css +1 -1
  22. package/dist/css/tabler-payments.rtl.css.map +1 -1
  23. package/dist/css/tabler-payments.rtl.min.css +1 -1
  24. package/dist/css/tabler-payments.rtl.min.css.map +1 -1
  25. package/dist/css/tabler-props.css +15 -14
  26. package/dist/css/tabler-props.css.map +1 -1
  27. package/dist/css/tabler-props.min.css +2 -2
  28. package/dist/css/tabler-props.min.css.map +1 -1
  29. package/dist/css/tabler-props.rtl.css +15 -14
  30. package/dist/css/tabler-props.rtl.css.map +1 -1
  31. package/dist/css/tabler-props.rtl.min.css +2 -2
  32. package/dist/css/tabler-props.rtl.min.css.map +1 -1
  33. package/dist/css/tabler-socials.css +1 -1
  34. package/dist/css/tabler-socials.css.map +1 -1
  35. package/dist/css/tabler-socials.min.css +1 -1
  36. package/dist/css/tabler-socials.min.css.map +1 -1
  37. package/dist/css/tabler-socials.rtl.css +1 -1
  38. package/dist/css/tabler-socials.rtl.css.map +1 -1
  39. package/dist/css/tabler-socials.rtl.min.css +1 -1
  40. package/dist/css/tabler-socials.rtl.min.css.map +1 -1
  41. package/dist/css/tabler-themes.css +1 -1
  42. package/dist/css/tabler-themes.css.map +1 -1
  43. package/dist/css/tabler-themes.min.css +1 -1
  44. package/dist/css/tabler-themes.min.css.map +1 -1
  45. package/dist/css/tabler-themes.rtl.css +1 -1
  46. package/dist/css/tabler-themes.rtl.css.map +1 -1
  47. package/dist/css/tabler-themes.rtl.min.css +1 -1
  48. package/dist/css/tabler-themes.rtl.min.css.map +1 -1
  49. package/dist/css/tabler-vendors.css +1 -1
  50. package/dist/css/tabler-vendors.css.map +1 -1
  51. package/dist/css/tabler-vendors.min.css +1 -1
  52. package/dist/css/tabler-vendors.min.css.map +1 -1
  53. package/dist/css/tabler-vendors.rtl.css +1 -1
  54. package/dist/css/tabler-vendors.rtl.css.map +1 -1
  55. package/dist/css/tabler-vendors.rtl.min.css +1 -1
  56. package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
  57. package/dist/css/tabler.css +43 -27
  58. package/dist/css/tabler.css.map +1 -1
  59. package/dist/css/tabler.min.css +2 -2
  60. package/dist/css/tabler.min.css.map +1 -1
  61. package/dist/css/tabler.rtl.css +43 -27
  62. package/dist/css/tabler.rtl.css.map +1 -1
  63. package/dist/css/tabler.rtl.min.css +2 -2
  64. package/dist/css/tabler.rtl.min.css.map +1 -1
  65. package/dist/js/tabler-theme.esm.js +1 -1
  66. package/dist/js/tabler-theme.esm.min.js +1 -1
  67. package/dist/js/tabler-theme.js +1 -1
  68. package/dist/js/tabler-theme.min.js +1 -1
  69. package/dist/js/tabler.esm.js +1 -1
  70. package/dist/js/tabler.esm.min.js +1 -1
  71. package/dist/js/tabler.js +1 -1
  72. package/dist/js/tabler.min.js +1 -1
  73. package/package.json +1 -1
  74. package/scss/_props.scss +1 -0
  75. package/scss/_variables.scss +30 -19
  76. package/scss/layout/_navbar.scss +10 -0
  77. package/scss/ui/_cards.scss +12 -0
  78. package/scss/ui/_dropdowns.scss +4 -3
  79. package/scss/ui/_steps.scss +4 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
package/dist/js/tabler.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabler v1.5.0 (https://tabler.io)
2
+ * Tabler v1.5.1 (https://tabler.io)
3
3
  * Copyright 2018-2026 The Tabler Authors
4
4
  * Copyright 2018-2026 codecalm.net Paweł Kuna
5
5
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabler/core",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
5
5
  "homepage": "https://tabler.io",
6
6
  "repository": {
package/scss/_props.scss CHANGED
@@ -76,6 +76,7 @@
76
76
  }
77
77
 
78
78
  /** Shadows */
79
+ --shadow-color: #{$box-shadow-color};
79
80
  @each $name, $value in $box-shadows {
80
81
  --shadow#{if(sass($name): '-#{$name}'; else: '')}: #{$value};
81
82
  }
@@ -954,30 +954,41 @@ $aspect-ratios: (
954
954
  ) !default;
955
955
 
956
956
  // Shadows
957
- $box-shadow-xs: 0 1px 2px 0 rgba(18, 18, 23, 0.05) !default;
957
+ // Neutral drop-shadow tint. Emitted once as the global `--shadow-color` custom
958
+ // property (see `_props.scss`); every shadow below only varies its opacity via
959
+ // `color-transparent()`, never its colour.
960
+ //
961
+ // The light branch is already 60% transparent, so `color-transparent()` scales
962
+ // each shadow down from the percentages below to the intended light-mode value
963
+ // (e.g. `0.125 * 0.4 = 0.05`). The dark branch is fully opaque black, so the
964
+ // same percentage lands 2.5x darker — otherwise a near-black shadow is
965
+ // invisible against the dark surfaces. Keep the two in sync when tuning.
966
+ $box-shadow-color: light-dark(rgba(18, 18, 23, 0.4), #000) !default;
967
+
968
+ $box-shadow-xs: 0 1px 2px 0 color-transparent(var(--shadow-color), 0.125) !default;
958
969
  $box-shadow-sm:
959
- 0 1px 3px 0 rgba(18, 18, 23, 0.1),
960
- 0 1px 2px 0 rgba(18, 18, 23, 0.06) !default;
970
+ 0 1px 3px 0 color-transparent(var(--shadow-color), 0.25),
971
+ 0 1px 2px 0 color-transparent(var(--shadow-color), 0.15) !default;
961
972
  $box-shadow-md:
962
- 0px 2px 4px -1px rgba(18, 18, 23, 0.06),
963
- 0px 4px 6px -1px rgba(18, 18, 23, 0.08) !default;
973
+ 0px 2px 4px -1px color-transparent(var(--shadow-color), 0.15),
974
+ 0px 4px 6px -1px color-transparent(var(--shadow-color), 0.2) !default;
964
975
  $box-shadow-lg:
965
- 0px 4px 6px -2px rgba(18, 18, 23, 0.05),
966
- 0px 10px 15px -3px rgba(18, 18, 23, 0.08) !default;
976
+ 0px 4px 6px -2px color-transparent(var(--shadow-color), 0.125),
977
+ 0px 10px 15px -3px color-transparent(var(--shadow-color), 0.2) !default;
967
978
  $box-shadow-xl:
968
- 0px 10px 10px -5px rgba(18, 18, 23, 0.04),
969
- 0px 20px 25px -5px rgba(18, 18, 23, 0.1) !default;
970
- $box-shadow-2xl: 0px 25px 50px -12px rgba(18, 18, 23, 0.25) !default;
979
+ 0px 10px 10px -5px color-transparent(var(--shadow-color), 0.1),
980
+ 0px 20px 25px -5px color-transparent(var(--shadow-color), 0.25) !default;
981
+ $box-shadow-2xl: 0px 25px 50px -12px color-transparent(var(--shadow-color), 0.625) !default;
971
982
  $box-shadow-overlay:
972
- 0px 2px 4px 0px rgba(18, 18, 23, 0.04),
973
- 0px 5px 8px 0px rgba(18, 18, 23, 0.04),
974
- 0px 10px 18px 0px rgba(18, 18, 23, 0.03),
975
- 0px 24px 48px 0px rgba(18, 18, 23, 0.03),
976
- 0px 0px 0px 1px rgba(18, 18, 23, 0.1) !default;
983
+ 0px 2px 4px 0px color-transparent(var(--shadow-color), 0.1),
984
+ 0px 5px 8px 0px color-transparent(var(--shadow-color), 0.1),
985
+ 0px 10px 18px 0px color-transparent(var(--shadow-color), 0.075),
986
+ 0px 24px 48px 0px color-transparent(var(--shadow-color), 0.075),
987
+ 0px 0px 0px 1px color-transparent(var(--shadow-color), 0.25) !default;
977
988
 
978
989
  $box-shadow: $box-shadow-md !default;
979
990
  $box-shadow-transparent: 0 0 0 0 transparent !default;
980
- $box-shadow-border: 0px 0px 0px 1px rgba(18, 18, 23, 0.1) !default;
991
+ $box-shadow-border: 0px 0px 0px 1px color-transparent(var(--shadow-color), 0.25) !default;
981
992
  $box-shadow-input: $box-shadow-xs !default;
982
993
  $box-shadow-card: $box-shadow-xs !default;
983
994
  $box-shadow-card-hover: $box-shadow-lg !default;
@@ -1000,7 +1011,7 @@ $box-shadows: (
1000
1011
  dropdown: $box-shadow-dropdown,
1001
1012
  ) !default;
1002
1013
 
1003
- $box-shadow-inset: inset 0 1px 2px rgba($black, 0.075) !default;
1014
+ $box-shadow-inset: inset 0 1px 2px color-transparent(var(--shadow-color), 0.1875) !default;
1004
1015
 
1005
1016
  // Component active
1006
1017
  $component-active-color: $white !default;
@@ -1987,14 +1998,14 @@ $form-select-font-size-lg: $input-font-size-lg !default;
1987
1998
  $form-select-border-radius-lg: $input-border-radius-lg !default;
1988
1999
  $form-select-transition: $input-transition !default;
1989
2000
 
1990
- $form-switch-color: $white !default;
2001
+ $form-switch-color: $gray-200 !default;
1991
2002
  $form-switch-width: 2rem !default;
1992
2003
  $form-switch-height: 1.25rem !default;
1993
2004
  $form-switch-padding-start: $form-switch-width + 0.5rem !default;
1994
2005
  $form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
1995
2006
  $form-switch-border-radius: $form-switch-width !default;
1996
2007
  $form-switch-transition: background-position 0.15s ease-in-out !default;
1997
- $form-switch-focus-color: $white !default;
2008
+ $form-switch-focus-color: $input-focus-border-color !default;
1998
2009
  $form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
1999
2010
  $form-switch-checked-color: $white !default;
2000
2011
  $form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
@@ -622,6 +622,16 @@ Navbar vertical
622
622
  // a bare :where()/[…] selector would lose to it and never take effect.
623
623
  html[data-bs-sidebar^='folded'] {
624
624
  --sidebar-width: var(--sidebar-folded-width);
625
+
626
+ // The sidebar is rendered for the expanded state, so the active submenu can
627
+ // arrive open (.show). Folded, it would paint as a flyout until sidebar.ts
628
+ // closes it on DOMContentLoaded — a flicker on every reload. Menus opened by
629
+ // the Dropdown plugin carry a popper data attribute (data-tblr-popper from
630
+ // tabler.js, data-bs-popper from Bootstrap's own js), so only the
631
+ // server-rendered ones hide.
632
+ .navbar-vertical .dropdown-menu.show:not([data-bs-popper]):not([data-tblr-popper]) {
633
+ display: none;
634
+ }
625
635
  }
626
636
 
627
637
  .navbar-vertical:is(.navbar-folded, .navbar-folded-hover) {
@@ -535,6 +535,17 @@ Card code
535
535
  */
536
536
  .card-code {
537
537
  padding: 0;
538
+ overflow: hidden;
539
+
540
+ // The code block is a dark box, so it follows the card's corners: rounded at
541
+ // the card's top or bottom edge, square when another section sits next to it.
542
+ &:first-child {
543
+ @include border-top-radius(var(--card-border-radius));
544
+ }
545
+
546
+ &:last-child {
547
+ @include border-bottom-radius(var(--card-border-radius));
548
+ }
538
549
 
539
550
  .highlight {
540
551
  margin: 0;
@@ -544,6 +555,7 @@ Card code
544
555
  pre {
545
556
  margin: 0 !important;
546
557
  border: 0 !important;
558
+ @include border-radius(0);
547
559
  }
548
560
  }
549
561
 
@@ -86,11 +86,12 @@
86
86
  display: block;
87
87
  width: 14px;
88
88
  height: 14px;
89
- clip: rect(0, 9px, 9px, 0);
89
+ clip-path: inset(0 5px 5px 0);
90
90
  content: '';
91
91
  background: inherit;
92
- border: 1px solid;
93
- border-color: inherit;
92
+ // The menu draws its edge with the 1px ring in --dropdown-box-shadow and has
93
+ // no border, so `inherit` would give the arrow the text color.
94
+ border: 1px solid var(--dropdown-border-color);
94
95
 
95
96
  /* rtl:ignore */
96
97
  transform: rotate(45deg);
@@ -105,6 +105,10 @@
105
105
  &::before {
106
106
  background: var(--steps-inactive-color);
107
107
  }
108
+
109
+ &::before {
110
+ color: var(--disabled-color);
111
+ }
108
112
  }
109
113
  }
110
114
  }