@workday/canvas-kit-preview-react 15.0.0-alpha.1285-next.0 → 15.0.0-alpha.1291-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.
- package/dist/commonjs/avatar/lib/Avatar.js +12 -12
- package/dist/commonjs/avatar/lib/AvatarImage.js +1 -1
- package/dist/commonjs/avatar/lib/AvatarName.js +1 -1
- package/dist/commonjs/avatar/lib/BaseAvatar.js +12 -12
- package/dist/commonjs/color-picker/lib/ColorPicker.js +1 -1
- package/dist/commonjs/color-picker/lib/parts/ColorReset.js +1 -1
- package/dist/commonjs/color-picker/lib/parts/SwatchBook.js +1 -1
- package/dist/commonjs/divider/lib/Divider.js +1 -1
- package/dist/commonjs/information-highlight/lib/InformationHighlight.js +7 -7
- package/dist/commonjs/information-highlight/lib/parts/Body.js +1 -1
- package/dist/commonjs/information-highlight/lib/parts/Heading.js +1 -1
- package/dist/commonjs/information-highlight/lib/parts/Link.js +1 -1
- package/dist/commonjs/loading-sparkles/lib/LoadingSparkles.js +2 -2
- package/dist/commonjs/multi-select/lib/MultiSelectInput.js +3 -3
- package/dist/commonjs/pill/lib/Pill.js +3 -3
- package/dist/commonjs/pill/lib/PillAvatar.js +1 -1
- package/dist/commonjs/pill/lib/PillCount.js +1 -1
- package/dist/commonjs/pill/lib/PillIcon.js +1 -1
- package/dist/commonjs/pill/lib/PillIconButton.js +1 -1
- package/dist/commonjs/pill/lib/PillLabel.js +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.js +3 -3
- package/dist/commonjs/radio/lib/RadioLabel.js +1 -1
- package/dist/commonjs/radio/lib/RadioText.js +4 -4
- package/dist/commonjs/radio/lib/StyledRadioButton.js +5 -5
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.js +16 -16
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.js +4 -4
- package/dist/commonjs/side-panel/lib/SidePanel.js +7 -7
- package/dist/commonjs/side-panel/lib/SidePanelToggleButton.js +11 -11
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +15 -15
- package/dist/commonjs/status-indicator/lib/StatusIndicatorLabel.js +1 -1
- package/dist/commonjs/version/lib/version.js +1 -1
- package/dist/es6/avatar/lib/Avatar.js +12 -12
- package/dist/es6/avatar/lib/AvatarImage.js +1 -1
- package/dist/es6/avatar/lib/AvatarName.js +1 -1
- package/dist/es6/avatar/lib/BaseAvatar.js +12 -12
- package/dist/es6/color-picker/lib/ColorPicker.js +1 -1
- package/dist/es6/color-picker/lib/parts/ColorReset.js +1 -1
- package/dist/es6/color-picker/lib/parts/SwatchBook.js +1 -1
- package/dist/es6/divider/lib/Divider.js +1 -1
- package/dist/es6/information-highlight/lib/InformationHighlight.js +7 -7
- package/dist/es6/information-highlight/lib/parts/Body.js +1 -1
- package/dist/es6/information-highlight/lib/parts/Heading.js +1 -1
- package/dist/es6/information-highlight/lib/parts/Link.js +1 -1
- package/dist/es6/loading-sparkles/lib/LoadingSparkles.js +2 -2
- package/dist/es6/multi-select/lib/MultiSelectInput.js +3 -3
- package/dist/es6/pill/lib/Pill.js +3 -3
- package/dist/es6/pill/lib/PillAvatar.js +1 -1
- package/dist/es6/pill/lib/PillCount.js +1 -1
- package/dist/es6/pill/lib/PillIcon.js +1 -1
- package/dist/es6/pill/lib/PillIconButton.js +1 -1
- package/dist/es6/pill/lib/PillLabel.js +1 -1
- package/dist/es6/radio/lib/RadioGroup.js +3 -3
- package/dist/es6/radio/lib/RadioLabel.js +1 -1
- package/dist/es6/radio/lib/RadioText.js +4 -4
- package/dist/es6/radio/lib/StyledRadioButton.js +5 -5
- package/dist/es6/segmented-control/lib/SegmentedControlItem.js +16 -16
- package/dist/es6/segmented-control/lib/SegmentedControlList.js +4 -4
- package/dist/es6/side-panel/lib/SidePanel.js +7 -7
- package/dist/es6/side-panel/lib/SidePanelToggleButton.js +11 -11
- package/dist/es6/status-indicator/lib/StatusIndicator.js +15 -15
- package/dist/es6/status-indicator/lib/StatusIndicatorLabel.js +1 -1
- package/dist/es6/version/lib/version.js +1 -1
- package/package.json +4 -4
|
@@ -9,19 +9,19 @@ import { system } from '@workday/canvas-tokens-web';
|
|
|
9
9
|
import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
10
10
|
const radioTextStencil = createStencil({
|
|
11
11
|
extends: textStencil,
|
|
12
|
-
base: { name: "
|
|
12
|
+
base: { name: "nfwti", styles: "box-sizing:border-box;cursor:pointer;" },
|
|
13
13
|
modifiers: {
|
|
14
14
|
variant: {
|
|
15
|
-
inverse: { name: "
|
|
15
|
+
inverse: { name: "1xd4ay", styles: "color:var(--cnvs-sys-color-text-inverse);" }
|
|
16
16
|
},
|
|
17
17
|
disabled: {
|
|
18
|
-
true: { name: "
|
|
18
|
+
true: { name: "1qekc6", styles: "cursor:default;color:var(--cnvs-sys-color-text-disabled);" }
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
compound: [
|
|
22
22
|
{
|
|
23
23
|
modifiers: { variant: 'inverse', disabled: true },
|
|
24
|
-
styles: { name: "
|
|
24
|
+
styles: { name: "43sqt2", styles: "color:var(--cnvs-sys-color-text-inverse);opacity:var(--cnvs-sys-opacity-disabled);" }
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
27
|
defaultModifiers: {
|
|
@@ -8,10 +8,10 @@ import { RadioLabelContext } from './RadioLabel';
|
|
|
8
8
|
const radioWidth = 18;
|
|
9
9
|
const radioHeight = 18;
|
|
10
10
|
const radioInputStencil = createStencil({
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "2d9iri", styles: "box-sizing:border-box;cursor:pointer;height:1.125rem;width:1.125rem;border-radius:var(--cnvs-sys-shape-round);position:absolute;margin:var(--cnvs-sys-space-zero);&:focus-visible, &.focus, &:active{outline:transparent;}&:disabled, &.disabled{cursor:auto;+ .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-disabled);background-color:var(--cnvs-sys-color-bg-alt-softer);}&:hover + .cnvs-radio-check, &.hover + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-disabled);}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-accent);border:0.3125rem solid var(--cnvs-brand-primary-base);}}+ .cnvs-radio-check{display:flex;flex-direction:column;align-items:center;background-color:var(--cnvs-sys-color-bg-default);border-radius:var(--cnvs-sys-shape-round);box-sizing:border-box;border:0.0625rem solid var(--cnvs-sys-color-border-input-default);height:1.125rem;width:1.125rem;justify-content:center;pointer-events:none;position:absolute;transition:border 200ms ease, background 200ms;opacity:var(--cnvs-sys-opacity-full);}&:hover + .cnvs-radio-check, &.hover + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-strong);}&:focus-visible + .cnvs-radio-check, &.focus + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-primary-default);box-shadow:0 0 0 0px var(--cnvs-sys-color-border-inverse), 0 0 0 1px var(--cnvs-brand-common-focus-outline);}&:focus-visible:hover + .cnvs-radio-check, &.focus:hover + .cnvs-radio-check{outline:transparent;}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-accent);border:0.3125rem solid var(--cnvs-brand-primary-base);}&:focus-visible:checked + .cnvs-radio-check, &:focus-visible:hover:checked + .cnvs-radio-check, &.focus:checked + .cnvs-radio-check, &.focus:hover:checked + .cnvs-radio-check{outline:transparent;box-shadow:0 0 0 2px var(--cnvs-sys-color-border-inverse), 0 0 0 4px var(--cnvs-brand-common-focus-outline);}" },
|
|
12
12
|
modifiers: {
|
|
13
13
|
variant: {
|
|
14
|
-
inverse: { name: "
|
|
14
|
+
inverse: { name: "6agzl", styles: "+ .cnvs-radio-check{background-color:var(--cnvs-sys-color-bg-alt-softer);border-color:var(--cnvs-sys-color-border-input-inverse);}&:disabled, &.disabled{opacity:var(--cnvs-sys-opacity-disabled);+ .cnvs-radio-check{background-color:var(--cnvs-sys-color-bg-alt-softer);border-color:var(--cnvs-sys-color-border-input-disabled);opacity:var(--cnvs-sys-opacity-disabled);}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-base);border-color:var(--cnvs-sys-color-border-inverse);}}&:hover + .cnvs-radio-check, &.hover + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-inverse);}&:focus-visible + .cnvs-radio-check, &.focus + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-inverse);}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-base);border-color:var(--cnvs-sys-color-border-inverse);}&:focus-visible + .cnvs-radio-check, &:focus-visible:hover + .cnvs-radio-check, &.focus + .cnvs-radio-check, &.focus:hover + .cnvs-radio-check{box-shadow:0 0 0 0px var(--cnvs-sys-color-border-contrast-default), 0 0 0 2px var(--cnvs-sys-color-border-inverse);}&:focus-visible:checked + .cnvs-radio-check, &:focus-visible:hover:checked + .cnvs-radio-check, &.focus:checked + .cnvs-radio-check, &.focus:hover:checked + .cnvs-radio-check{box-shadow:0 0 0 2px var(--cnvs-sys-color-border-contrast-default), 0 0 0 4px var(--cnvs-sys-color-border-inverse);}" }
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}, "radio-input-f05aaa");
|
|
@@ -22,13 +22,13 @@ const StyledRadioInput = createComponent('input')({
|
|
|
22
22
|
},
|
|
23
23
|
});
|
|
24
24
|
const radioInputWrapperStyles = createStencil({
|
|
25
|
-
base: { name: "
|
|
25
|
+
base: { name: "3khxi7", styles: "box-sizing:border-box;height:1.125rem;width:1.125rem;flex:0 0 auto;::before{content:'';position:absolute;border-radius:var(--cnvs-sys-shape-round);height:1.125rem;transition:box-shadow 150ms ease-out;width:1.125rem;pointer-events:none;opacity:var(--cnvs-sys-opacity-full);}&:hover:before, &.hover:before{box-shadow:0 0 0 calc(var(--cnvs-sys-space-x2) - 0.0625rem) var(--cnvs-sys-color-bg-alt-soft);}" },
|
|
26
26
|
modifiers: {
|
|
27
27
|
variant: {
|
|
28
|
-
inverse: { name: "
|
|
28
|
+
inverse: { name: "1krws2", styles: "::before{opacity:var(--cnvs-sys-opacity-disabled);}" }
|
|
29
29
|
},
|
|
30
30
|
disabled: {
|
|
31
|
-
true: { name: "
|
|
31
|
+
true: { name: "267hco", styles: "&:hover:before, &.hover:before{box-shadow:none;cursor:auto;}" }
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}, "radio-input-wrapper-styles-fce2c4");
|
|
@@ -11,55 +11,55 @@ import { useSegmentedControlModel } from './hooks/useSegmentedControlModel';
|
|
|
11
11
|
import { useSegmentedControlItem } from './hooks/useSegmentedControlItem';
|
|
12
12
|
export const segmentedControlItemStencil = createStencil({
|
|
13
13
|
extends: buttonStencil,
|
|
14
|
-
base: { name: "
|
|
14
|
+
base: { name: "2yscaq", styles: "box-sizing:border-box;font-family:var(--cnvs-sys-font-family-default);font-weight:var(--cnvs-sys-font-weight-bold);line-height:var(--cnvs-sys-line-height-subtext-large);font-size:var(--cnvs-sys-font-size-subtext-large);letter-spacing:var(--cnvs-base-letter-spacing-150);text-align:start;padding-inline:var(--cnvs-sys-space-zero);gap:var(--cnvs-sys-space-x1);--borderRadius-button-85bf0e:var(--cnvs-sys-shape-x1);--label-button-85bf0e:var(--cnvs-sys-color-fg-muted-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-fg-muted-strong);&:hover, &.hover{--background-button-85bf0e:var(--cnvs-sys-color-bg-alt-strong);--label-button-85bf0e:var(--cnvs-sys-color-fg-muted-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-fg-muted-strong);}&:active, &.active{--background-button-85bf0e:var(--cnvs-sys-color-bg-alt-strong);--label-button-85bf0e:var(--cnvs-sys-color-fg-muted-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-fg-muted-strong);}&:focus-visible, &.focus{--label-button-85bf0e:var(--cnvs-sys-color-fg-muted-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-fg-muted-strong);}&:disabled, &.disabled{--background-button-85bf0e:var(--cnvs-sys-color-bg-alt-soft);}&[aria-pressed='true']{--background-button-85bf0e:var(--cnvs-sys-color-bg-default);--border-button-85bf0e:var(--cnvs-sys-color-border-input-default);--color-system-icon-3a4847:var(--cnvs-sys-color-fg-strong);--label-button-85bf0e:var(--cnvs-sys-color-fg-strong);&:hover, &.hover{--color-system-icon-3a4847:var(--cnvs-sys-color-fg-strong);--label-button-85bf0e:var(--cnvs-sys-color-fg-strong);}&:disabled, &.disabled{--border-button-85bf0e:var(--cnvs-sys-color-border-input-default);--label-button-85bf0e:var(--cnvs-sys-color-fg-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-fg-strong);}}:dir(rtl){svg{transform:scaleX(-1);}}" },
|
|
15
15
|
modifiers: {
|
|
16
16
|
size: {
|
|
17
|
-
large: { name: "
|
|
18
|
-
medium: { name: "
|
|
19
|
-
small: { name: "
|
|
17
|
+
large: { name: "1l7x80", styles: "height:var(--cnvs-sys-space-x10);gap:var(--cnvs-sys-space-x2);" },
|
|
18
|
+
medium: { name: "313cnp", styles: "height:var(--cnvs-sys-space-x8);" },
|
|
19
|
+
small: { name: "1sxizm", styles: "font-family:var(--cnvs-sys-font-family-default);font-weight:var(--cnvs-sys-font-weight-bold);line-height:var(--cnvs-sys-line-height-subtext-medium);font-size:var(--cnvs-sys-font-size-subtext-medium);letter-spacing:var(--cnvs-base-letter-spacing-100);height:var(--cnvs-sys-space-x6);" }
|
|
20
20
|
},
|
|
21
21
|
variant: {
|
|
22
|
-
iconOnly: { name: "
|
|
23
|
-
textOnly: { name: "
|
|
24
|
-
iconWithText: { name: "
|
|
22
|
+
iconOnly: { name: "258vty", styles: "" },
|
|
23
|
+
textOnly: { name: "2bq9wh", styles: "" },
|
|
24
|
+
iconWithText: { name: "2p287q", styles: "" }
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
compound: [
|
|
28
28
|
{
|
|
29
29
|
modifiers: { size: 'large', variant: 'iconOnly' },
|
|
30
|
-
styles: { name: "
|
|
30
|
+
styles: { name: "3a3w6o", styles: "min-width:var(--cnvs-sys-space-x10);" }
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
modifiers: { size: 'large', variant: 'iconWithText' },
|
|
34
|
-
styles: { name: "
|
|
34
|
+
styles: { name: "39atod", styles: "padding-inline:1.25rem var(--cnvs-sys-space-x6);" }
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
modifiers: { size: 'large', variant: 'textOnly' },
|
|
38
|
-
styles: { name: "
|
|
38
|
+
styles: { name: "3ed70n", styles: "padding-inline:var(--cnvs-sys-space-x6);" }
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
modifiers: { size: 'medium', variant: 'iconOnly' },
|
|
42
|
-
styles: { name: "
|
|
42
|
+
styles: { name: "1lnniq", styles: "min-width:var(--cnvs-sys-space-x8);" }
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
modifiers: { size: 'medium', variant: 'iconWithText' },
|
|
46
|
-
styles: { name: "
|
|
46
|
+
styles: { name: "2xi261", styles: "padding-inline:var(--cnvs-sys-space-x4) 1.25rem;" }
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
modifiers: { size: 'medium', variant: 'textOnly' },
|
|
50
|
-
styles: { name: "
|
|
50
|
+
styles: { name: "cbpoa", styles: "padding-inline:1.25rem;" }
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
modifiers: { size: 'small', variant: 'iconOnly' },
|
|
54
|
-
styles: { name: "
|
|
54
|
+
styles: { name: "3cb7yr", styles: "min-width:var(--cnvs-sys-space-x6);" }
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
modifiers: { size: 'small', variant: 'iconWithText' },
|
|
58
|
-
styles: { name: "
|
|
58
|
+
styles: { name: "21dyzd", styles: "padding-inline:var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x3);" }
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
modifiers: { size: 'small', variant: 'textOnly' },
|
|
62
|
-
styles: { name: "
|
|
62
|
+
styles: { name: "129qb2", styles: "padding-inline:var(--cnvs-sys-space-x3);" }
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
65
|
}, "segmented-control-item-bc271f");
|
|
@@ -8,14 +8,14 @@ export const segmentedControlListStencil = createStencil({
|
|
|
8
8
|
vars: {
|
|
9
9
|
items: '',
|
|
10
10
|
},
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "1qq374", styles: "box-sizing:border-box;display:inline-grid;background-color:var(--cnvs-sys-color-bg-alt-soft);border:0.0625rem solid var(--cnvs-sys-color-border-input-default);border-radius:var(--cnvs-sys-shape-x2);padding:0.1875rem;grid-gap:var(--cnvs-sys-space-x2);" },
|
|
12
12
|
modifiers: {
|
|
13
13
|
disabled: {
|
|
14
|
-
true: { name: "
|
|
14
|
+
true: { name: "pq51y", styles: "opacity:var(--cnvs-sys-opacity-disabled);" }
|
|
15
15
|
},
|
|
16
16
|
orientation: {
|
|
17
|
-
vertical: { name: "
|
|
18
|
-
horizontal: { name: "
|
|
17
|
+
vertical: { name: "31ckx1", styles: "grid-template-rows:repeat(var(--items-segmented-control-list-0a747c), 1fr);" },
|
|
18
|
+
horizontal: { name: "t4n76", styles: "grid-template-columns:repeat(var(--items-segmented-control-list-0a747c), 1fr);" }
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}, "segmented-control-list-0a747c");
|
|
@@ -10,19 +10,19 @@ export const panelStencil = createStencil({
|
|
|
10
10
|
expandedWidth: '',
|
|
11
11
|
collapsedWidth: '',
|
|
12
12
|
},
|
|
13
|
-
base: { name: "
|
|
13
|
+
base: { name: "4b8v8b", styles: "box-sizing:border-box;overflow:hidden;position:relative;height:100%;outline:0.0625rem solid transparent;transition:width ease-out 200ms, max-width ease-out 200ms;" },
|
|
14
14
|
modifiers: {
|
|
15
15
|
variant: {
|
|
16
|
-
alternate: { name: "
|
|
17
|
-
standard: { name: "
|
|
16
|
+
alternate: { name: "39cxya", styles: "background-color:var(--cnvs-sys-color-bg-default);box-shadow:var(--cnvs-sys-depth-5);" },
|
|
17
|
+
standard: { name: "2i2f79", styles: "background-color:var(--cnvs-sys-color-bg-alt-softer);" }
|
|
18
18
|
},
|
|
19
19
|
expanded: {
|
|
20
|
-
true: { name: "
|
|
21
|
-
false: { name: "
|
|
20
|
+
true: { name: "21ldvh", styles: "width:var(--expandedWidth-panel-bd9477);max-width:var(--expandedWidth-panel-bd9477);" },
|
|
21
|
+
false: { name: "1fxnrq", styles: "width:var(--collapsedWidth-panel-bd9477);max-width:var(--collapsedWidth-panel-bd9477);" }
|
|
22
22
|
},
|
|
23
23
|
touched: {
|
|
24
|
-
true: { name: "
|
|
25
|
-
false: { name: "
|
|
24
|
+
true: { name: "cg93j", styles: "" },
|
|
25
|
+
false: { name: "42oofb", styles: "animation:none;" }
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}, "panel-bd9477");
|
|
@@ -8,35 +8,35 @@ import { SidePanelContext } from './hooks';
|
|
|
8
8
|
import { createStencil, handleCsProp } from '@workday/canvas-kit-styling';
|
|
9
9
|
import { system } from '@workday/canvas-tokens-web';
|
|
10
10
|
export const sidePanelToggleButtonStencil = createStencil({
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "21cwbe", styles: "box-sizing:border-box;position:absolute;top:var(--cnvs-sys-space-x6);width:var(--cnvs-sys-space-x8);inset-inline-end:var(--cnvs-sys-space-x4);" },
|
|
12
12
|
modifiers: {
|
|
13
13
|
state: {
|
|
14
|
-
collapsing: { name: "
|
|
15
|
-
collapsed: { name: "
|
|
16
|
-
expanded: { name: "
|
|
17
|
-
expanding: { name: "
|
|
14
|
+
collapsing: { name: "3u06n5", styles: "margin:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
|
|
15
|
+
collapsed: { name: "2f0iw5", styles: "margin:auto;inset-inline-start:0;inset-inline-end:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
|
|
16
|
+
expanded: { name: "3o5gsc", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" },
|
|
17
|
+
expanding: { name: "3ky0wp", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
|
|
18
18
|
},
|
|
19
19
|
origin: {
|
|
20
|
-
left: { name: "
|
|
21
|
-
right: { name: "
|
|
20
|
+
left: { name: "46iky7", styles: "" },
|
|
21
|
+
right: { name: "m1vz1", styles: "" }
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
compound: [
|
|
25
25
|
{
|
|
26
26
|
modifiers: { state: 'collapsed', origin: 'right' },
|
|
27
|
-
styles: { name: "
|
|
27
|
+
styles: { name: "1ttyt2", styles: "transform:scaleX(-1);" }
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
modifiers: { state: 'collapsing', origin: 'right' },
|
|
31
|
-
styles: { name: "
|
|
31
|
+
styles: { name: "2lu5w6", styles: "transform:scaleX(-1);inset-inline-start:var(--cnvs-sys-space-x4);" }
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
modifiers: { state: 'expanded', origin: 'right' },
|
|
35
|
-
styles: { name: "
|
|
35
|
+
styles: { name: "4b6e6p", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-sys-space-x4);" }
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
modifiers: { state: 'expanding', origin: 'right' },
|
|
39
|
-
styles: { name: "
|
|
39
|
+
styles: { name: "ebkmo", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-sys-space-x4);" }
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}, "side-panel-toggle-button-da8098");
|
|
@@ -15,7 +15,7 @@ const deprecatedVariantsMap = {
|
|
|
15
15
|
gray: 'neutral',
|
|
16
16
|
};
|
|
17
17
|
const statusIndicatorStencil = createStencil({
|
|
18
|
-
base: { name: "
|
|
18
|
+
base: { name: "epgsn", styles: "box-sizing:border-box;display:inline-flex;gap:var(--cnvs-sys-space-x1);max-width:12.5rem;align-items:center;border-radius:var(--cnvs-sys-shape-round);height:1.25rem;padding:var(--cnvs-sys-space-zero) var(--cnvs-sys-space-x2);outline:0.0625rem solid transparent;--color-system-icon-3a4847:currentColor;" },
|
|
19
19
|
modifiers: {
|
|
20
20
|
/**
|
|
21
21
|
* Defines the color of the `StatusIndicator`.
|
|
@@ -30,13 +30,13 @@ const statusIndicatorStencil = createStencil({
|
|
|
30
30
|
* @default 'neutral'
|
|
31
31
|
*/
|
|
32
32
|
variant: {
|
|
33
|
-
info: { name: "
|
|
34
|
-
positive: { name: "
|
|
35
|
-
caution: { name: "
|
|
36
|
-
critical: { name: "
|
|
37
|
-
neutral: { name: "
|
|
38
|
-
ai: { name: "
|
|
39
|
-
transparent: { name: "
|
|
33
|
+
info: { name: "29twff", styles: "color:var(--cnvs-sys-color-fg-info-strong);background-color:var(--cnvs-sys-color-bg-info-softer);" },
|
|
34
|
+
positive: { name: "34fwkj", styles: "color:var(--cnvs-sys-color-fg-positive-strong);background-color:var(--cnvs-sys-color-fg-positive-softer);" },
|
|
35
|
+
caution: { name: "xu4xk", styles: "color:var(--cnvs-sys-color-fg-caution-soft);background-color:var(--cnvs-sys-color-bg-caution-softer);" },
|
|
36
|
+
critical: { name: "3zz3b", styles: "color:var(--cnvs-sys-color-fg-critical-strong);background-color:var(--cnvs-sys-color-bg-critical-softer);" },
|
|
37
|
+
neutral: { name: "jaaqk", styles: "color:var(--cnvs-sys-color-fg-muted-strong);background-color:var(--cnvs-sys-color-bg-alt-default);" },
|
|
38
|
+
ai: { name: "2hcb4", styles: "color:var(--cnvs-sys-color-fg-ai);background-color:var(--cnvs-sys-color-bg-ai-default);" },
|
|
39
|
+
transparent: { name: "127jft", styles: "color:var(--cnvs-sys-color-fg-inverse);background-color:var(--cnvs-sys-color-bg-translucent);" }
|
|
40
40
|
},
|
|
41
41
|
/**
|
|
42
42
|
* Defines the emphasis of the `StatusIndicator`. `low` should be used in almost all cases.
|
|
@@ -49,8 +49,8 @@ const statusIndicatorStencil = createStencil({
|
|
|
49
49
|
*
|
|
50
50
|
*/
|
|
51
51
|
emphasis: {
|
|
52
|
-
low: { name: "
|
|
53
|
-
high: { name: "
|
|
52
|
+
low: { name: "2jgh78", styles: "" },
|
|
53
|
+
high: { name: "2ac1xs", styles: "" }
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
compound: [
|
|
@@ -59,35 +59,35 @@ const statusIndicatorStencil = createStencil({
|
|
|
59
59
|
variant: 'info',
|
|
60
60
|
emphasis: 'high',
|
|
61
61
|
},
|
|
62
|
-
styles: { name: "
|
|
62
|
+
styles: { name: "2vdl9p", styles: "background-color:var(--cnvs-sys-color-bg-info-default);color:var(--cnvs-sys-color-fg-inverse);" }
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
modifiers: {
|
|
66
66
|
variant: 'positive',
|
|
67
67
|
emphasis: 'high',
|
|
68
68
|
},
|
|
69
|
-
styles: { name: "
|
|
69
|
+
styles: { name: "2tgo0z", styles: "background-color:var(--cnvs-sys-color-bg-positive-default);color:var(--cnvs-sys-color-fg-inverse);" }
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
modifiers: {
|
|
73
73
|
variant: 'caution',
|
|
74
74
|
emphasis: 'high',
|
|
75
75
|
},
|
|
76
|
-
styles: { name: "
|
|
76
|
+
styles: { name: "2goutl", styles: "background-color:var(--cnvs-sys-color-bg-caution-default);color:var(--cnvs-sys-color-fg-caution-strong);" }
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
modifiers: {
|
|
80
80
|
variant: 'critical',
|
|
81
81
|
emphasis: 'high',
|
|
82
82
|
},
|
|
83
|
-
styles: { name: "
|
|
83
|
+
styles: { name: "21r1pb", styles: "background-color:var(--cnvs-sys-color-bg-critical-default);color:var(--cnvs-sys-color-fg-inverse);" }
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
modifiers: {
|
|
87
87
|
variant: 'neutral',
|
|
88
88
|
emphasis: 'high',
|
|
89
89
|
},
|
|
90
|
-
styles: { name: "
|
|
90
|
+
styles: { name: "3f1yv5", styles: "background-color:var(--cnvs-sys-color-bg-muted-default);color:var(--cnvs-sys-color-fg-inverse);" }
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
93
|
defaultModifiers: {
|
|
@@ -6,7 +6,7 @@ import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
|
6
6
|
import { system } from '@workday/canvas-tokens-web';
|
|
7
7
|
const statusIndicatorLabelStencil = createStencil({
|
|
8
8
|
extends: textStencil,
|
|
9
|
-
base: { name: "
|
|
9
|
+
base: { name: "30e7va", styles: "box-sizing:border-box;font-weight:var(--cnvs-sys-font-weight-bold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize;color:inherit;" },
|
|
10
10
|
defaultModifiers: { typeLevel: 'subtext.large' }
|
|
11
11
|
}, "status-indicator-label-63258e");
|
|
12
12
|
export const StatusIndicatorLabel = createComponent('span')({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '14.0.
|
|
1
|
+
export const version = '14.0.12';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-preview-react",
|
|
3
|
-
"version": "15.0.0-alpha.
|
|
3
|
+
"version": "15.0.0-alpha.1291-next.0",
|
|
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",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@emotion/react": "^11.7.1",
|
|
50
50
|
"@emotion/styled": "^11.6.0",
|
|
51
|
-
"@workday/canvas-kit-react": "^15.0.0-alpha.
|
|
52
|
-
"@workday/canvas-kit-styling": "^15.0.0-alpha.
|
|
51
|
+
"@workday/canvas-kit-react": "^15.0.0-alpha.1291-next.0",
|
|
52
|
+
"@workday/canvas-kit-styling": "^15.0.0-alpha.1291-next.0",
|
|
53
53
|
"@workday/canvas-system-icons-web": "^3.0.36",
|
|
54
54
|
"@workday/canvas-tokens-web": "^3.1.1",
|
|
55
55
|
"@workday/design-assets-types": "^0.2.10"
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react-hook-form": "7.36.1",
|
|
61
61
|
"yup": "^0.32.11"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "35fe5190e75f7f7a8e70c8d1f9f14e5e4673d191"
|
|
64
64
|
}
|