palace-ui 0.12.1 → 0.12.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/palace.css +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palace-ui",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Retro-technical design system. Hard edges, vibrant gradients, chunky shadows.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/palace.css CHANGED
@@ -325,6 +325,10 @@ button, .btn {
325
325
  border: var(--p-border-width) solid;
326
326
  border-radius: var(--p-radius);
327
327
  transition: var(--p-transition);
328
+ /* Only what a button's states change. A size that follows its container
329
+ (font size, padding, width) must never animate, or it passes through
330
+ sizes in between whenever the container settles. */
331
+ transition-property: background-color, border-color, color, box-shadow, transform, outline-color;
328
332
  text-decoration: none;
329
333
  display: inline-block;
330
334
  /* One line height for <button> and <a class="btn">, so both are the same