@workday/canvas-kit-preview-react 10.3.13 → 10.3.15
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.
|
@@ -12,8 +12,8 @@ const hooks_1 = require("./hooks");
|
|
|
12
12
|
const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
|
|
13
13
|
const layout_1 = require("@workday/canvas-kit-react/layout");
|
|
14
14
|
const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
|
|
15
|
-
const labelStyles = canvas_kit_styling_1.createStyles({ name: "
|
|
16
|
-
const asteriskStyles = canvas_kit_styling_1.createStyles({ name: "
|
|
15
|
+
const labelStyles = canvas_kit_styling_1.createStyles({ name: "1epokub", styles: "font-weight:500;min-width:180px;" });
|
|
16
|
+
const asteriskStyles = canvas_kit_styling_1.createStyles({ name: "stf4t5", styles: "margin-inline-start:0.25rem;font-size:1.25rem;font-weight:400;text-decoration:unset;color:var(--cnvs-brand-error-base, rgba(222,46,33,1));" });
|
|
17
17
|
exports.FormFieldLabel = common_1.createSubcomponent(text_1.LabelText)({
|
|
18
18
|
displayName: 'FormField.Label',
|
|
19
19
|
modelHook: hooks_1.useFormFieldModel,
|
|
@@ -45,8 +45,8 @@ const AI_COLORS = {
|
|
|
45
45
|
/**
|
|
46
46
|
* The animation for the sparkle.
|
|
47
47
|
*/
|
|
48
|
-
const LOADING_ANIMATION = canvas_kit_styling_1.keyframes({ name: "
|
|
49
|
-
const loadingSparklesIconStyles = canvas_kit_styling_1.createStyles({ name: "
|
|
48
|
+
const LOADING_ANIMATION = canvas_kit_styling_1.keyframes({ name: "1w9fjo1", styles: "0%, 79%, 100%{opacity:0.2;transform:scale(0.55);}27%{opacity:1;transform:scale(1);}53%{opacity:0.6;transform:scale(0.7);}" });
|
|
49
|
+
const loadingSparklesIconStyles = canvas_kit_styling_1.createStyles({ name: "1m6e4ch", styles: "animation-duration:1230ms;animation-fill-mode:both;animation-iteration-count:infinite;animation-name:animation-1w9fjo1;animation-timing-function:ease-in-out;.wd-sparkle-fill{fill:#8C17D2;}&:nth-child(1){animation-delay:0ms;}&:nth-child(2){animation-delay:calc(1230ms * (1/3));}&:nth-child(3){animation-delay:calc(1230ms * (2/3));}" });
|
|
50
50
|
/**
|
|
51
51
|
* An individual loading sparkle. ✨
|
|
52
52
|
*/
|
|
@@ -6,8 +6,8 @@ import { useFormFieldLabel, useFormFieldModel } from './hooks';
|
|
|
6
6
|
import { createStyles } from '@workday/canvas-kit-styling';
|
|
7
7
|
import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
8
8
|
import { brand } from '@workday/canvas-tokens-web';
|
|
9
|
-
const labelStyles = createStyles({ name: "
|
|
10
|
-
const asteriskStyles = createStyles({ name: "
|
|
9
|
+
const labelStyles = createStyles({ name: "1epokub", styles: "font-weight:500;min-width:180px;" });
|
|
10
|
+
const asteriskStyles = createStyles({ name: "stf4t5", styles: "margin-inline-start:0.25rem;font-size:1.25rem;font-weight:400;text-decoration:unset;color:var(--cnvs-brand-error-base, rgba(222,46,33,1));" });
|
|
11
11
|
export const FormFieldLabel = createSubcomponent(LabelText)({
|
|
12
12
|
displayName: 'FormField.Label',
|
|
13
13
|
modelHook: useFormFieldModel,
|
|
@@ -23,8 +23,8 @@ const AI_COLORS = {
|
|
|
23
23
|
/**
|
|
24
24
|
* The animation for the sparkle.
|
|
25
25
|
*/
|
|
26
|
-
const LOADING_ANIMATION = keyframes({ name: "
|
|
27
|
-
const loadingSparklesIconStyles = createStyles({ name: "
|
|
26
|
+
const LOADING_ANIMATION = keyframes({ name: "1w9fjo1", styles: "0%, 79%, 100%{opacity:0.2;transform:scale(0.55);}27%{opacity:1;transform:scale(1);}53%{opacity:0.6;transform:scale(0.7);}" });
|
|
27
|
+
const loadingSparklesIconStyles = createStyles({ name: "1m6e4ch", styles: "animation-duration:1230ms;animation-fill-mode:both;animation-iteration-count:infinite;animation-name:animation-1w9fjo1;animation-timing-function:ease-in-out;.wd-sparkle-fill{fill:#8C17D2;}&:nth-child(1){animation-delay:0ms;}&:nth-child(2){animation-delay:calc(1230ms * (1/3));}&:nth-child(3){animation-delay:calc(1230ms * (2/3));}" });
|
|
28
28
|
/**
|
|
29
29
|
* An individual loading sparkle. ✨
|
|
30
30
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-preview-react",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.15",
|
|
4
4
|
"description": "Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
48
48
|
"@emotion/styled": "^11.6.0",
|
|
49
|
-
"@workday/canvas-kit-react": "^10.3.
|
|
50
|
-
"@workday/canvas-kit-styling": "^10.3.
|
|
49
|
+
"@workday/canvas-kit-react": "^10.3.15",
|
|
50
|
+
"@workday/canvas-kit-styling": "^10.3.15",
|
|
51
51
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
52
52
|
"@workday/canvas-tokens-web": "^1.0.0",
|
|
53
53
|
"@workday/design-assets-types": "^0.2.8"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"react-hook-form": "7.36.1",
|
|
59
59
|
"yup": "^0.32.11"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "ebb52077a576308d295eb83d4c1faefe3d9376fc"
|
|
62
62
|
}
|