@workday/canvas-kit-preview-css 14.0.0-alpha.1144-next.0 → 14.0.0-alpha.1146-next.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.
@@ -0,0 +1,102 @@
1
+ .cnvs-preview-reset-button {
2
+ box-sizing: border-box;
3
+ display: flex;
4
+ align-items: center;
5
+ justify-content: flex-start;
6
+ width: calc(100% + var(--cnvs-sys-space-x8));
7
+ height: var(--cnvs-sys-space-x8);
8
+ margin: calc(var(--cnvs-sys-space-x2) * -1) calc(var(--cnvs-sys-space-x4) * -1) var(--cnvs-sys-space-x2);
9
+ padding: 0 var(--cnvs-sys-space-x4);
10
+ white-space: nowrap;
11
+ border: none;
12
+ outline: none;
13
+ background: none;
14
+ cursor: pointer;
15
+ transition: color 120ms ease,background-color 120ms ease;
16
+ }
17
+
18
+ .cnvs-preview-reset-button:hover, .cnvs-preview-reset-button.hover {
19
+ background-color: var(--cnvs-sys-color-bg-alt-default);
20
+ }
21
+
22
+ .cnvs-preview-reset-button:active, .cnvs-preview-reset-button.active {
23
+ background-color: var(--cnvs-sys-color-bg-alt-strong);
24
+ }
25
+
26
+ .cnvs-preview-reset-button:focus-visible, .cnvs-preview-reset-button.focus {
27
+ box-shadow: 0 0 0 0px var(--cnvs-sys-color-border-inverse, rgba(255,255,255,1)),0 0 0 2px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1));
28
+ }
29
+
30
+ .cnvs-preview-reset-button [data-part="reset-button-label"] {
31
+ margin-left: var(--cnvs-sys-space-x2);
32
+ }
33
+
34
+
35
+ .cnvs-preview-color-picker-swatch-book {
36
+ --cnvs-preview-color-picker-swatch-book-shadow: var(--cnvs-sys-color-border-inverse) 0 0 0 0.125rem,var(--cnvs-sys-color-border-input-default) 0 0 0 0.1875rem;
37
+ box-sizing: border-box;
38
+ display: flex;
39
+ flex-wrap: wrap;
40
+ margin: 0 calc(var(--cnvs-sys-space-x2) * -1) calc(var(--cnvs-sys-space-x2) * -1) 0;
41
+ }
42
+
43
+ .cnvs-preview-color-picker-swatch-book [data-part="color-picker-swatch-book-tile"] {
44
+ display: flex;
45
+ width: 1.25rem;
46
+ height: 1.25rem;
47
+ cursor: pointer;
48
+ border-radius: var(--cnvs-sys-shape-half);
49
+ transition: box-shadow 120ms ease;
50
+ margin: 0px var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x2) 0px;
51
+ }
52
+
53
+ .cnvs-preview-color-picker-swatch-book [data-part="color-picker-swatch-book-tile"]:hover {
54
+ box-shadow: var(--cnvs-preview-color-picker-swatch-book-shadow);
55
+ }
56
+
57
+ .cnvs-preview-color-picker-swatch-book [data-part="color-picker-swatch-book-tile"]:focus-visible {
58
+ outline: none;
59
+ box-shadow: 0 0 0 2px var(--cnvs-sys-color-border-inverse, rgba(255,255,255,1)),0 0 0 4px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1));
60
+ }
61
+
62
+ .cnvs-preview-color-picker-swatch-book [data-part="color-picker-swatch-book-tile"][aria-selected="true"] {
63
+ box-shadow: var(--cnvs-preview-color-picker-swatch-book-shadow);
64
+ }
65
+
66
+ .cnvs-preview-color-picker-swatch-book [data-part="color-picker-swatch-book-tile"][aria-selected="true"]:focus-visible {
67
+ animation: none;
68
+ box-shadow: none;
69
+ }
70
+
71
+ .cnvs-preview-color-picker-swatch-book [data-part="color-picker-swatch-book-tile"][aria-selected="true"]:hover {
72
+ box-shadow: var(--cnvs-preview-color-picker-swatch-book-shadow);
73
+ }
74
+
75
+
76
+ .cnvs-preview-color-picker {
77
+ box-sizing: border-box;
78
+ width: 13.5rem;
79
+ }
80
+
81
+ .cnvs-preview-color-picker [data-part="color-picker-form"] {
82
+ width: 100%;
83
+ display: flex;
84
+ flex-direction: row;
85
+ justify-content: space-between;
86
+ margin-block-start: var(--cnvs-sys-space-x4);
87
+ }
88
+
89
+ .cnvs-preview-color-picker [data-part="color-picker-input-wrapper"] {
90
+ display: flex;
91
+ flex-direction: column;
92
+ margin: var(--cnvs-sys-space-zero);
93
+ }
94
+
95
+ .cnvs-preview-color-picker [data-part="color-picker-button"] {
96
+ align-self: flex-end;
97
+ }
98
+
99
+ .cnvs-preview-color-picker [data-part="color-picker-hex-input"] {
100
+ width: 10.5rem;
101
+ }
102
+
@@ -1,4 +1,4 @@
1
- @keyframes animation-bo3y3 {
1
+ @keyframes animation-b13k6 {
2
2
  0%, 79%, 100% {
3
3
  opacity: 0.2;
4
4
  transform: scale(0.55);
@@ -26,7 +26,7 @@
26
26
  animation-duration: 1230ms;
27
27
  animation-fill-mode: both;
28
28
  animation-iteration-count: infinite;
29
- animation-name: animation-bo3y3;
29
+ animation-name: animation-b13k6;
30
30
  animation-timing-function: ease-in-out;
31
31
  --cnvs-system-icon-color: var(--cnvs-sys-color-fg-ai);
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-preview-css",
3
- "version": "14.0.0-alpha.1144-next.0",
3
+ "version": "14.0.0-alpha.1146-next.0",
4
4
  "description": "The parent module that contains all Workday Canvas Kit Preview CSS components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -25,5 +25,5 @@
25
25
  "components",
26
26
  "workday"
27
27
  ],
28
- "gitHead": "8c2a2215d9a0b96f98e4b768781d3a5061a61f9c"
28
+ "gitHead": "7344de719bfac6107e64f65c5b9f6129af2671d2"
29
29
  }