@ndla/primitives 0.0.1 → 0.0.2

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.
@@ -124,6 +124,7 @@
124
124
  "paddingBlock]___[value:3xsmall",
125
125
  "lineHeight]___[value:1",
126
126
  "minHeight]___[value:unset",
127
+ "height]___[value:fit-content",
127
128
  "marginInline]___[value:0]___[cond:& svg",
128
129
  "marginBlock]___[value:0]___[cond:& svg",
129
130
  "width]___[value:medium]___[cond:& svg",
package/dist/styles.css CHANGED
@@ -251,6 +251,10 @@
251
251
  min-height: unset;
252
252
  }
253
253
 
254
+ .h_fit-content {
255
+ height: fit-content;
256
+ }
257
+
254
258
  .select_none {
255
259
  -webkit-user-select: none;
256
260
  user-select: none;
package/es/Button.js CHANGED
@@ -199,6 +199,7 @@ export const iconButtonRecipe = cva({
199
199
  base: {
200
200
  lineHeight: "1",
201
201
  minHeight: "unset",
202
+ height: "fit-content",
202
203
  "& svg": {
203
204
  marginInline: "0",
204
205
  marginBlock: "0",
package/lib/Button.js CHANGED
@@ -205,6 +205,7 @@ const iconButtonRecipe = exports.iconButtonRecipe = (0, _css.cva)({
205
205
  base: {
206
206
  lineHeight: "1",
207
207
  minHeight: "unset",
208
+ height: "fit-content",
208
209
  "& svg": {
209
210
  marginInline: "0",
210
211
  marginBlock: "0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/primitives",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Primitive components for NDLA",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -44,5 +44,5 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "06462ea8a1e84faedef361152994b7d48d4cd6e3"
47
+ "gitHead": "882ce593e9f688151f370555f8203ca467ac7e2b"
48
48
  }