@umbraco-ui/uui-card 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/lib/index.js +9 -9
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -52,7 +52,7 @@ UUICardElement.styles = [
52
52
  justify-content: center;
53
53
  box-sizing: border-box;
54
54
  box-shadow: var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,0.12) , 0 1px 2px rgba(0,0,0,0.24));
55
- border-radius: var(--uui-border-radius,3px);
55
+ border-radius: var(--uui-border-radius,var(--uui-size-1));
56
56
  min-height: var(--uui-layout-medium);
57
57
  background-color: var(--uui-color-surface,#fff);
58
58
  --uui-card-border-width: 3px;
@@ -61,12 +61,12 @@ UUICardElement.styles = [
61
61
 
62
62
  :host(*) * {
63
63
  /* TODO: implement globally shared outline style */
64
- outline-color: var(--uui-color-focus,#3879ff);
64
+ outline-color: var(--uui-color-focus,var(--uui-palette-malibu));
65
65
  outline-offset: 4px;
66
66
  }
67
67
 
68
68
  :host(:focus) {
69
- outline-color: var(--uui-color-focus,#3879ff);
69
+ outline-color: var(--uui-color-focus,var(--uui-palette-malibu));
70
70
  outline-width: var(--uui-card-border-width);
71
71
  outline-style: solid;
72
72
  outline-offset: var(--uui-card-border-width);
@@ -81,8 +81,8 @@ UUICardElement.styles = [
81
81
  height: 100%;
82
82
  z-index: 1;
83
83
  box-sizing: border-box;
84
- border: var(--uui-card-border-width) solid var(--uui-color-danger,#d42054);
85
- border-radius: var(--uui-border-radius,3px);
84
+ border: var(--uui-card-border-width) solid var(--uui-color-danger,var(--uui-palette-maroon-flush));
85
+ border-radius: var(--uui-border-radius,var(--uui-size-1));
86
86
  }
87
87
 
88
88
  :host([selectable]) {
@@ -90,8 +90,8 @@ UUICardElement.styles = [
90
90
  }
91
91
 
92
92
  :host([disabled]) {
93
- background: var(--uui-color-disabled,#f3f3f5);
94
- color: var(--uui-color-disabled-contrast,#c4c4c4);
93
+ background: var(--uui-color-disabled,var(--uui-palette-sand));
94
+ color: var(--uui-color-disabled-contrast,var(--uui-palette-grey));
95
95
  }
96
96
 
97
97
  :host([selectable])::after {
@@ -102,9 +102,9 @@ UUICardElement.styles = [
102
102
  width: calc(100% + calc(var(--uui-card-border-width) * 2));
103
103
  height: calc(100% + calc(var(--uui-card-border-width) * 2));
104
104
  box-sizing: border-box;
105
- border: var(--uui-card-border-width) solid var(--uui-color-selected,#3544b1);
105
+ border: var(--uui-card-border-width) solid var(--uui-color-selected,var(--uui-palette-violet-blue));
106
106
  border-radius: calc(
107
- var(--uui-border-radius,3px) + var(--uui-card-border-width)
107
+ var(--uui-border-radius,var(--uui-size-1)) + var(--uui-card-border-width)
108
108
  );
109
109
  transition: opacity 100ms ease-out;
110
110
  opacity: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-card",
3
- "version": "1.2.0",
3
+ "version": "1.3.0-rc.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,16 +30,16 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "1.2.0"
33
+ "@umbraco-ui/uui-base": "1.3.0-rc.0"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
37
- "clean": "tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json",
37
+ "clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js custom-elements.json",
38
38
  "analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
43
  "homepage": "https://uui.umbraco.com/?path=/story/uui-card",
44
- "gitHead": "78ce6df4b259921ed47e25ce10812920f25cbc1c"
44
+ "gitHead": "45c3824056586d9817efb3f61dc0bef5478747f0"
45
45
  }