@umbraco-ui/uui-menu-item 1.3.0-rc.0 → 1.3.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.
@@ -168,8 +168,8 @@
168
168
  "description": "fires when the media card is selected"
169
169
  },
170
170
  {
171
- "name": "unselected",
172
- "description": "fires when the media card is unselected"
171
+ "name": "deselected",
172
+ "description": "fires when the media card is deselected"
173
173
  }
174
174
  ],
175
175
  "slots": [
package/lib/index.js CHANGED
@@ -140,25 +140,25 @@ UUIMenuItemElement.styles = [
140
140
  :host(:not([active], [selected], [disabled]))
141
141
  #menu-item
142
142
  #caret-button:hover {
143
- background-color: var(--uui-color-surface-emphasis,var(--uui-palette-white-dark));
143
+ background-color: var(--uui-color-surface-emphasis,rgb(250, 250, 250));
144
144
  }
145
145
  :host(:not([active], [selected], [disabled]))
146
146
  #menu-item
147
147
  #label-button:hover,
148
148
  :host(:not([active], [selected])) #menu-item #caret-button:hover {
149
- color: var(--uui-color-interactive-emphasis,var(--uui-palette-violet-blue));
149
+ color: var(--uui-color-interactive-emphasis,#3544b1);
150
150
  }
151
151
 
152
152
  :host([active]) #label-button,
153
153
  :host([active]) #caret-button {
154
- color: var(--uui-color-current-contrast,var(--uui-palette-space-cadet));
154
+ color: var(--uui-color-current-contrast,#1b264f);
155
155
  }
156
156
  :host([active]) #label-button-background {
157
- background-color: var(--uui-color-current,var(--uui-palette-spanish-pink));
157
+ background-color: var(--uui-color-current,#f5c1bc);
158
158
  }
159
159
  :host([active]) #label-button:hover ~ #label-button-background,
160
160
  :host([active]) #caret-button:hover {
161
- background-color: var(--uui-color-current-emphasis,var(--uui-palette-spanish-pink-light));
161
+ background-color: var(--uui-color-current-emphasis,rgb(248, 214, 211));
162
162
  }
163
163
 
164
164
  :host([selected]) #label-button,
@@ -166,16 +166,16 @@ UUIMenuItemElement.styles = [
166
166
  color: var(--uui-color-selected-contrast,#fff);
167
167
  }
168
168
  :host([selected]) #label-button-background {
169
- background-color: var(--uui-color-selected,var(--uui-palette-violet-blue));
169
+ background-color: var(--uui-color-selected,#3544b1);
170
170
  }
171
171
  :host([selected]) #label-button:hover ~ #label-button-background,
172
172
  :host([selected]) #caret-button:hover {
173
- background-color: var(--uui-color-selected-emphasis,var(--uui-palette-violet-blue-light));
173
+ background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));
174
174
  }
175
175
 
176
176
  :host([disabled]) #menu-item {
177
- color: var(--uui-color-disabled-contrast,var(--uui-palette-grey));
178
- background-color: var(--uui-color-disabled,var(--uui-palette-sand));
177
+ color: var(--uui-color-disabled-contrast,#c4c4c4);
178
+ background-color: var(--uui-color-disabled,#f3f3f5);
179
179
  }
180
180
  :host([disabled]) #label-button {
181
181
  cursor: default;
@@ -231,7 +231,7 @@ UUIMenuItemElement.styles = [
231
231
  display: flex;
232
232
  align-items: center;
233
233
  justify-content: center;
234
- color: var(--uui-color-interactive,var(--uui-palette-space-cadet));
234
+ color: var(--uui-color-interactive,#1b264f);
235
235
  }
236
236
 
237
237
  #label-button-background {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-menu-item",
3
- "version": "1.3.0-rc.0",
3
+ "version": "1.3.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,18 +30,18 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "1.3.0-rc.0",
34
- "@umbraco-ui/uui-loader-bar": "1.3.0-rc.0",
35
- "@umbraco-ui/uui-symbol-expand": "1.3.0-rc.0"
33
+ "@umbraco-ui/uui-base": "1.3.0",
34
+ "@umbraco-ui/uui-loader-bar": "1.3.0",
35
+ "@umbraco-ui/uui-symbol-expand": "1.3.0"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
39
- "clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js custom-elements.json",
39
+ "clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js *.tgz lib/**/*.d.ts custom-elements.json",
40
40
  "analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
45
  "homepage": "https://uui.umbraco.com/?path=/story/uui-menu-item",
46
- "gitHead": "45c3824056586d9817efb3f61dc0bef5478747f0"
46
+ "gitHead": "e662ac3be21cef08076d1dbb978748c2dd30e596"
47
47
  }