@ndla/primitives 1.0.2-alpha.0 → 1.0.3-alpha.0

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.
@@ -606,8 +606,10 @@
606
606
  "borderBottomColor]___[value:stroke.hover]___[cond:_hover<___>_last",
607
607
  "borderTopColor]___[value:stroke.hover]___[cond:_highlighted",
608
608
  "borderBottomColor]___[value:stroke.hover]___[cond:_highlighted<___>_last",
609
- "height]___[value:40px",
610
- "width]___[value:56px"
609
+ "minHeight]___[value:40px",
610
+ "maxHeight]___[value:40px",
611
+ "minWidth]___[value:56px",
612
+ "maxWidth]___[value:56px"
611
613
  ],
612
614
  "recipes": {}
613
615
  }
package/dist/styles.css CHANGED
@@ -889,12 +889,20 @@
889
889
  border-bottom: 1px solid;
890
890
  }
891
891
 
892
- .h_40px {
893
- height: 40px;
892
+ .min-h_40px {
893
+ min-height: 40px;
894
894
  }
895
895
 
896
- .w_56px {
897
- width: 56px;
896
+ .max-h_40px {
897
+ max-height: 40px;
898
+ }
899
+
900
+ .min-w_56px {
901
+ min-width: 56px;
902
+ }
903
+
904
+ .max-w_56px {
905
+ max-width: 56px;
898
906
  }
899
907
 
900
908
  .flex-d_column {
@@ -47,8 +47,10 @@ export const listItemRecipe = sva({
47
47
  }
48
48
  },
49
49
  image: {
50
- height: "40px",
51
- width: "56px",
50
+ minHeight: "40px",
51
+ maxHeight: "40px",
52
+ minWidth: "56px",
53
+ maxWidth: "56px",
52
54
  borderRadius: "xsmall",
53
55
  objectFit: "cover"
54
56
  }
@@ -53,8 +53,10 @@ const listItemRecipe = exports.listItemRecipe = (0, _css.sva)({
53
53
  }
54
54
  },
55
55
  image: {
56
- height: "40px",
57
- width: "56px",
56
+ minHeight: "40px",
57
+ maxHeight: "40px",
58
+ minWidth: "56px",
59
+ maxWidth: "56px",
58
60
  borderRadius: "xsmall",
59
61
  objectFit: "cover"
60
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/primitives",
3
- "version": "1.0.2-alpha.0",
3
+ "version": "1.0.3-alpha.0",
4
4
  "description": "Primitive components for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "45fb10125bc642d020ed37c03b9492976ef7f0d6"
46
+ "gitHead": "72e6aeb8c306996655995cd2471e080704b7c928"
47
47
  }