@ultraviolet/ui 1.4.3 → 1.4.4

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.
@@ -45,56 +45,61 @@ const StyledAfterScroll = /*#__PURE__*/_styled("span", {
45
45
  let {
46
46
  theme
47
47
  } = _ref5;
48
- return theme.colors.neutral.backgroundWeak;
49
- }, ",\n rgba(255, 255, 255, 0)\n );");
48
+ return theme.colors.neutral.background;
49
+ }, ",\n ", _ref6 => {
50
+ let {
51
+ theme
52
+ } = _ref6;
53
+ return theme.colors.neutral.background;
54
+ }, "ff\n );");
50
55
  const StyledBorderWrapper = /*#__PURE__*/_styled("div", {
51
56
  target: "e1id70w00"
52
- })("display:inline-block;border-radius:", _ref6 => {
57
+ })("display:inline-block;border-radius:", _ref7 => {
53
58
  let {
54
59
  theme
55
- } = _ref6;
60
+ } = _ref7;
56
61
  return theme.radii.default;
57
- }, ";border:1px solid ", _ref7 => {
62
+ }, ";border:1px solid ", _ref8 => {
58
63
  let {
59
64
  theme
60
- } = _ref7;
65
+ } = _ref8;
61
66
  return theme.colors.neutral.borderWeak;
62
- }, ";height:261px;width:248px;max-width:240px;overflow-wrap:break-word;white-space:normal;cursor:grab;&:hover,&:active,&:focus{border:1px solid ", _ref8 => {
67
+ }, ";height:261px;width:248px;max-width:240px;overflow-wrap:break-word;white-space:normal;cursor:grab;&:hover,&:active,&:focus{border:1px solid ", _ref9 => {
63
68
  let {
64
69
  theme
65
- } = _ref8;
70
+ } = _ref9;
66
71
  return theme.colors.primary.border;
67
- }, ";transition:box-shadow 0.2s ease;box-shadow:", _ref9 => {
72
+ }, ";transition:box-shadow 0.2s ease;box-shadow:", _ref10 => {
68
73
  let {
69
74
  theme
70
- } = _ref9;
75
+ } = _ref10;
71
76
  return theme.shadows.focusPrimary;
72
- }, ";}img{border-radius:", _ref10 => {
77
+ }, ";}img{border-radius:", _ref11 => {
73
78
  let {
74
79
  theme
75
- } = _ref10;
80
+ } = _ref11;
76
81
  return theme.radii.default;
77
- }, " ", _ref11 => {
82
+ }, " ", _ref12 => {
78
83
  let {
79
84
  theme
80
- } = _ref11;
85
+ } = _ref12;
81
86
  return theme.radii.default;
82
87
  }, " 0 0;}");
83
- const CarouselItem = _ref12 => {
88
+ const CarouselItem = _ref13 => {
84
89
  let {
85
90
  children
86
- } = _ref12;
91
+ } = _ref13;
87
92
  return jsx(StyledBorderWrapper, {
88
93
  draggable: "true",
89
94
  children: children
90
95
  });
91
96
  };
92
- const Carousel = _ref13 => {
97
+ const Carousel = _ref14 => {
93
98
  let {
94
99
  children,
95
100
  className,
96
101
  'data-testid': dataTestId = 'scrollbar'
97
- } = _ref13;
102
+ } = _ref14;
98
103
  const scrollRef = useRef(null);
99
104
  let intervalLeft;
100
105
  let intervalRight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/ui",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Ultraviolet UI",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {