@umbraco-ui/uui-card 1.12.2 → 1.13.0-rc.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.
@@ -92,7 +92,7 @@
92
92
  {
93
93
  "name": "styles",
94
94
  "type": "CSSResult[]",
95
- "default": "[null]"
95
+ "default": "[\"UUITextStyles\",null]"
96
96
  },
97
97
  {
98
98
  "name": "selectOnly",
package/lib/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { SelectOnlyMixin, SelectableMixin } from '@umbraco-ui/uui-base/lib/mixins';
2
2
  import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
3
+ import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
3
4
  import { LitElement, html, css } from 'lit';
4
5
  import { property } from 'lit/decorators.js';
5
6
  import { UUIEvent } from '@umbraco-ui/uui-base/lib/events';
@@ -45,6 +46,7 @@ let UUICardElement = class extends SelectOnlyMixin(
45
46
  }
46
47
  };
47
48
  UUICardElement.styles = [
49
+ UUITextStyles,
48
50
  css`
49
51
  :host {
50
52
  position: relative;
@@ -81,7 +83,7 @@ UUICardElement.styles = [
81
83
  height: 100%;
82
84
  z-index: 1;
83
85
  box-sizing: border-box;
84
- border: var(--uui-card-border-width) solid var(--uui-color-danger,#d42054);
86
+ border: var(--uui-card-border-width) solid var(--uui-color-invalid,#d42054);
85
87
  border-radius: var(--uui-border-radius,3px);
86
88
  }
87
89
 
@@ -98,6 +100,7 @@ UUICardElement.styles = [
98
100
  a {
99
101
  text-decoration: none;
100
102
  color: inherit;
103
+ line-height: initial;
101
104
  }
102
105
 
103
106
  button:focus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-card",
3
- "version": "1.12.2",
3
+ "version": "1.13.0-rc.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,7 +30,7 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "1.12.2"
33
+ "@umbraco-ui/uui-base": "1.13.0-rc.0"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
@@ -41,5 +41,5 @@
41
41
  "access": "public"
42
42
  },
43
43
  "homepage": "https://uui.umbraco.com/?path=/story/uui-card",
44
- "gitHead": "207119ec53a655eeddfa1d626155490490336753"
44
+ "gitHead": "864afa6c182c2a73c479237732dadc1abc69a4a0"
45
45
  }