@telia/teddy 0.4.13 → 0.4.14

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.
@@ -7,10 +7,10 @@ const Slider = require("react-slick");
7
7
  require("../../assets/sprite.1321fab0-teddy.svg");
8
8
  const components_icon_icon = require("../icon/icon.cjs");
9
9
  const styles = {
10
- "teddy-carousel": "_teddy-carousel_1pdex_2",
11
- "teddy-carousel__arrow": "_teddy-carousel__arrow_1pdex_9",
12
- "teddy-carousel__item": "_teddy-carousel__item_1pdex_21",
13
- "teddy-carousel--sm": "_teddy-carousel--sm_1pdex_99"
10
+ "teddy-carousel": "_teddy-carousel_8pf7z_2",
11
+ "teddy-carousel__arrow": "_teddy-carousel__arrow_8pf7z_9",
12
+ "teddy-carousel__item": "_teddy-carousel__item_8pf7z_21",
13
+ "teddy-carousel--sm": "_teddy-carousel--sm_8pf7z_99"
14
14
  };
15
15
  const rootClassName = "teddy-carousel";
16
16
  const CustomArrow = ({
@@ -5,10 +5,10 @@ import Slider from "react-slick";
5
5
  import "../../assets/sprite.1321fab0-teddy.svg";
6
6
  import { Icon } from "../icon/icon.js";
7
7
  const styles = {
8
- "teddy-carousel": "_teddy-carousel_1pdex_2",
9
- "teddy-carousel__arrow": "_teddy-carousel__arrow_1pdex_9",
10
- "teddy-carousel__item": "_teddy-carousel__item_1pdex_21",
11
- "teddy-carousel--sm": "_teddy-carousel--sm_1pdex_99"
8
+ "teddy-carousel": "_teddy-carousel_8pf7z_2",
9
+ "teddy-carousel__arrow": "_teddy-carousel__arrow_8pf7z_9",
10
+ "teddy-carousel__item": "_teddy-carousel__item_8pf7z_21",
11
+ "teddy-carousel--sm": "_teddy-carousel--sm_8pf7z_99"
12
12
  };
13
13
  const rootClassName = "teddy-carousel";
14
14
  const CustomArrow = ({
package/dist/style.css CHANGED
@@ -1806,41 +1806,41 @@
1806
1806
  --teddy-color-brand-core-purple: var(--teddy-color-purple-550);
1807
1807
  --teddy-color-brand-deep-purple: var(--teddy-color-purple-900);
1808
1808
  }
1809
- ._teddy-carousel_1pdex_2 {
1809
+ ._teddy-carousel_8pf7z_2 {
1810
1810
  width: 100%;
1811
1811
  min-width: 10rem;
1812
1812
  max-width: 15rem;
1813
1813
  height: 288px;
1814
1814
  margin: 0 auto 2rem;
1815
1815
  }
1816
- ._teddy-carousel__arrow_1pdex_9 {
1816
+ ._teddy-carousel__arrow_8pf7z_9 {
1817
1817
  display: flex;
1818
1818
  justify-content: center;
1819
1819
  align-items: center;
1820
1820
  z-index: 2;
1821
- width: 3rem;
1822
- height: 3rem;
1821
+ width: 3rem !important;
1822
+ height: 3rem !important;
1823
1823
  border-radius: 2rem;
1824
1824
  transition-duration: var(--teddy-motion-duration-100);
1825
1825
  transition-timing-function: var(--teddy-motion-easing-ease-in-out);
1826
1826
  transition-property: background-color, color;
1827
1827
  }
1828
- ._teddy-carousel__item_1pdex_21 {
1828
+ ._teddy-carousel__item_8pf7z_21 {
1829
1829
  display: flex !important;
1830
1830
  justify-content: center;
1831
1831
  }
1832
- ._teddy-carousel_1pdex_2 .slick-prev:before,
1833
- ._teddy-carousel_1pdex_2 .slick-next:before {
1832
+ ._teddy-carousel_8pf7z_2 .slick-prev:before,
1833
+ ._teddy-carousel_8pf7z_2 .slick-next:before {
1834
1834
  content: "";
1835
1835
  }
1836
- ._teddy-carousel_1pdex_2 .slick-disabled {
1836
+ ._teddy-carousel_8pf7z_2 .slick-disabled {
1837
1837
  cursor: initial;
1838
1838
  opacity: 0.3;
1839
1839
  }
1840
- ._teddy-carousel_1pdex_2 .slick-track {
1840
+ ._teddy-carousel_8pf7z_2 .slick-track {
1841
1841
  display: flex;
1842
1842
  }
1843
- ._teddy-carousel_1pdex_2 .slick-slide > div {
1843
+ ._teddy-carousel_8pf7z_2 .slick-slide > div {
1844
1844
  display: grid;
1845
1845
  place-items: center;
1846
1846
  width: 80%;
@@ -1848,82 +1848,82 @@
1848
1848
  height: 260px;
1849
1849
  padding: 0px;
1850
1850
  }
1851
- ._teddy-carousel_1pdex_2 .slick-slide img {
1851
+ ._teddy-carousel_8pf7z_2 .slick-slide img {
1852
1852
  max-width: 10rem;
1853
1853
  max-height: 12.5rem;
1854
1854
  object-fit: contain;
1855
1855
  width: 100%;
1856
1856
  height: 100%;
1857
1857
  }
1858
- ._teddy-carousel_1pdex_2 .slick-next {
1858
+ ._teddy-carousel_8pf7z_2 .slick-next {
1859
1859
  right: 0;
1860
1860
  color: var(--teddy-color-purple-700);
1861
1861
  }
1862
- ._teddy-carousel_1pdex_2 .slick-prev {
1862
+ ._teddy-carousel_8pf7z_2 .slick-prev {
1863
1863
  left: 0;
1864
1864
  color: var(--teddy-color-purple-700);
1865
1865
  }
1866
- ._teddy-carousel_1pdex_2 .slick-prev:focus-visible,
1867
- ._teddy-carousel_1pdex_2 .slick-prev:active,
1868
- ._teddy-carousel_1pdex_2 .slick-next:active,
1869
- ._teddy-carousel_1pdex_2 .slick-next:focus-visible {
1866
+ ._teddy-carousel_8pf7z_2 .slick-prev:focus-visible,
1867
+ ._teddy-carousel_8pf7z_2 .slick-prev:active,
1868
+ ._teddy-carousel_8pf7z_2 .slick-next:active,
1869
+ ._teddy-carousel_8pf7z_2 .slick-next:focus-visible {
1870
1870
  color: var(--teddy-color-text-interactive-primary-active);
1871
1871
  background-color: var(--teddy-color-border-interactive-primary-negative-hover);
1872
1872
  }
1873
- ._teddy-carousel_1pdex_2 .slick-prev:hover,
1874
- ._teddy-carousel_1pdex_2 .slick-next:hover {
1873
+ ._teddy-carousel_8pf7z_2 .slick-prev:hover,
1874
+ ._teddy-carousel_8pf7z_2 .slick-next:hover {
1875
1875
  color: var(--teddy-color-text-interactive-primary-hover);
1876
1876
  background-color: var(--teddy-color-background-interactive-transparent-hover);
1877
1877
  }
1878
- ._teddy-carousel_1pdex_2 .slick-dots {
1878
+ ._teddy-carousel_8pf7z_2 .slick-dots {
1879
1879
  bottom: -2rem;
1880
1880
  margin: 0;
1881
1881
  padding: 0;
1882
1882
  }
1883
- ._teddy-carousel_1pdex_2 .slick-dots button {
1883
+ ._teddy-carousel_8pf7z_2 .slick-dots button {
1884
1884
  width: 24px;
1885
1885
  height: 24px;
1886
1886
  }
1887
- ._teddy-carousel_1pdex_2 .slick-dots button:before {
1887
+ ._teddy-carousel_8pf7z_2 .slick-dots button:before {
1888
1888
  width: 24px;
1889
1889
  height: 24px;
1890
1890
  }
1891
- ._teddy-carousel_1pdex_2 .slick-dots button:hover:before {
1891
+ ._teddy-carousel_8pf7z_2 .slick-dots button:hover:before {
1892
1892
  color: var(--teddy-color-purple-700);
1893
1893
  }
1894
- ._teddy-carousel_1pdex_2 .slick-dots .slick-active button:before {
1894
+ ._teddy-carousel_8pf7z_2 .slick-dots .slick-active button:before {
1895
1895
  color: var(--teddy-color-purple-700);
1896
1896
  }
1897
- ._teddy-carousel_1pdex_2 .slick-dots li {
1897
+ ._teddy-carousel_8pf7z_2 .slick-dots li {
1898
1898
  width: 24px;
1899
1899
  height: 24px;
1900
1900
  margin: 0;
1901
1901
  padding: 0;
1902
1902
  }
1903
- ._teddy-carousel_1pdex_2 .slick-dots li button:before {
1903
+ ._teddy-carousel_8pf7z_2 .slick-dots li button:before {
1904
1904
  font-size: 1rem;
1905
1905
  }
1906
- ._teddy-carousel--sm_1pdex_99 {
1906
+ ._teddy-carousel--sm_8pf7z_99 {
1907
1907
  height: 180px;
1908
1908
  }
1909
- ._teddy-carousel--sm_1pdex_99 .slick-slide > div {
1909
+ ._teddy-carousel--sm_8pf7z_99 .slick-slide > div {
1910
1910
  height: 170px;
1911
1911
  }
1912
- ._teddy-carousel--sm_1pdex_99 .slick-slide img {
1912
+ ._teddy-carousel--sm_8pf7z_99 .slick-slide img {
1913
1913
  max-width: 8rem;
1914
1914
  max-height: 10rem;
1915
1915
  }
1916
- ._teddy-carousel--sm_1pdex_99 .slick-next {
1916
+ ._teddy-carousel--sm_8pf7z_99 .slick-next {
1917
1917
  right: -0.5rem;
1918
1918
  }
1919
- ._teddy-carousel--sm_1pdex_99 .slick-prev {
1919
+ ._teddy-carousel--sm_8pf7z_99 .slick-prev {
1920
1920
  left: -0.5rem;
1921
1921
  }
1922
1922
  @media (min-width: 600px) {
1923
- ._teddy-carousel--sm_1pdex_99 .slick-next {
1923
+ ._teddy-carousel--sm_8pf7z_99 .slick-next {
1924
1924
  right: 0rem;
1925
1925
  }
1926
- ._teddy-carousel--sm_1pdex_99 .slick-prev {
1926
+ ._teddy-carousel--sm_8pf7z_99 .slick-prev {
1927
1927
  left: 0rem;
1928
1928
  }
1929
1929
  }._teddy-scroll-area_1r6mf_1 {
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "pnpm": ">=9"
21
21
  },
22
22
  "private": false,
23
- "version": "0.4.13",
23
+ "version": "0.4.14",
24
24
  "sideEffects": [
25
25
  "**/*.css",
26
26
  "**/*.svg"