hds-web 0.1.6 → 0.1.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -4,14 +4,14 @@ import { Icon } from '../common-components/Icon';
4
4
 
5
5
  const ANIMATED_ARR_CLASSES = {
6
6
  'icon1':{
7
- 'sm':'h-5 ',
8
- 'md': 'h-5',
9
- 'lg': 'h-6'
7
+ 'sm':'h-5 w-5 ',
8
+ 'md': 'h-5 w-5',
9
+ 'lg': 'h-6 w-6'
10
10
  },
11
11
  'icon2':{
12
- 'sm':'h-5 -mt-5',
13
- 'md': 'h-5 -mt-5',
14
- 'lg': 'h-6 -mt-6'
12
+ 'sm':'h-5 w-5 -mt-5',
13
+ 'md': 'h-5 w-5 -mt-5',
14
+ 'lg': 'h-6 w-6 -mt-6'
15
15
  },
16
16
 
17
17
  }
@@ -83,7 +83,7 @@ export default function Carouseltest(props) {
83
83
 
84
84
  // }
85
85
  console.log(totalContainerWidth, visibleCardsContainerWidth, currentCard )
86
- let slider1 = (384/(totalCards*cardWidth)) * (328)* (currentCard);
86
+ let slider1 = (384/(totalCards*cardWidth)) * (328)* (currentCard+3);
87
87
  if(slider1>384){
88
88
  slider1 = 384;
89
89
  }
@@ -729,6 +729,12 @@ select {
729
729
  width: 100%;
730
730
  }
731
731
 
732
+ @media (min-width: 360px) {
733
+ .container {
734
+ max-width: 360px;
735
+ }
736
+ }
737
+
732
738
  @media (min-width: 600px) {
733
739
  .container {
734
740
  max-width: 600px;
@@ -167,6 +167,7 @@ module.exports = {
167
167
  },
168
168
  extend: {
169
169
  screens: {
170
+ 'mb-s': '360px',
170
171
  'tb': '600px',
171
172
  'tb-l': '905px',
172
173
  'db': '1240px',