@workday/canvas-kit-react 15.0.0-alpha.0314-next.0 → 15.0.0-alpha.0316-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.
Files changed (54) hide show
  1. package/button/lib/ExternalHyperlink.tsx +2 -2
  2. package/dist/commonjs/button/lib/BaseButton.js +1 -1
  3. package/dist/commonjs/button/lib/ExternalHyperlink.js +3 -3
  4. package/dist/commonjs/button/lib/parts/ButtonLabelIcon.js +4 -4
  5. package/dist/commonjs/icon/lib/AccentIcon.d.ts +5 -1
  6. package/dist/commonjs/icon/lib/AccentIcon.d.ts.map +1 -1
  7. package/dist/commonjs/icon/lib/AccentIcon.js +4 -3
  8. package/dist/commonjs/icon/lib/AppletIcon.d.ts.map +1 -1
  9. package/dist/commonjs/icon/lib/AppletIcon.js +7 -6
  10. package/dist/commonjs/icon/lib/ExpressiveIcon.js +1 -1
  11. package/dist/commonjs/icon/lib/Graphic.d.ts +3 -1
  12. package/dist/commonjs/icon/lib/Graphic.d.ts.map +1 -1
  13. package/dist/commonjs/icon/lib/Svg.d.ts +3 -3
  14. package/dist/commonjs/icon/lib/Svg.d.ts.map +1 -1
  15. package/dist/commonjs/icon/lib/Svg.js +4 -4
  16. package/dist/commonjs/icon/lib/SystemIcon.d.ts +2 -1
  17. package/dist/commonjs/icon/lib/SystemIcon.d.ts.map +1 -1
  18. package/dist/commonjs/icon/lib/SystemIcon.js +2 -2
  19. package/dist/commonjs/icon/lib/SystemIconCircle.d.ts +3 -2
  20. package/dist/commonjs/icon/lib/SystemIconCircle.d.ts.map +1 -1
  21. package/dist/commonjs/icon/lib/SystemIconCircle.js +3 -3
  22. package/dist/commonjs/side-panel/lib/SidePanelToggleButton.d.ts +6 -2
  23. package/dist/commonjs/side-panel/lib/SidePanelToggleButton.d.ts.map +1 -1
  24. package/dist/commonjs/side-panel/lib/SidePanelToggleButton.js +13 -13
  25. package/dist/es6/button/lib/BaseButton.js +1 -1
  26. package/dist/es6/button/lib/ExternalHyperlink.js +4 -4
  27. package/dist/es6/button/lib/parts/ButtonLabelIcon.js +4 -4
  28. package/dist/es6/icon/lib/AccentIcon.d.ts +5 -1
  29. package/dist/es6/icon/lib/AccentIcon.d.ts.map +1 -1
  30. package/dist/es6/icon/lib/AccentIcon.js +4 -3
  31. package/dist/es6/icon/lib/AppletIcon.d.ts.map +1 -1
  32. package/dist/es6/icon/lib/AppletIcon.js +4 -3
  33. package/dist/es6/icon/lib/ExpressiveIcon.js +1 -1
  34. package/dist/es6/icon/lib/Graphic.d.ts +3 -1
  35. package/dist/es6/icon/lib/Graphic.d.ts.map +1 -1
  36. package/dist/es6/icon/lib/Svg.d.ts +3 -3
  37. package/dist/es6/icon/lib/Svg.d.ts.map +1 -1
  38. package/dist/es6/icon/lib/Svg.js +4 -4
  39. package/dist/es6/icon/lib/SystemIcon.d.ts +2 -1
  40. package/dist/es6/icon/lib/SystemIcon.d.ts.map +1 -1
  41. package/dist/es6/icon/lib/SystemIcon.js +2 -2
  42. package/dist/es6/icon/lib/SystemIconCircle.d.ts +3 -2
  43. package/dist/es6/icon/lib/SystemIconCircle.d.ts.map +1 -1
  44. package/dist/es6/icon/lib/SystemIconCircle.js +3 -3
  45. package/dist/es6/side-panel/lib/SidePanelToggleButton.d.ts +6 -2
  46. package/dist/es6/side-panel/lib/SidePanelToggleButton.d.ts.map +1 -1
  47. package/dist/es6/side-panel/lib/SidePanelToggleButton.js +14 -14
  48. package/icon/lib/AccentIcon.tsx +3 -2
  49. package/icon/lib/AppletIcon.tsx +3 -1
  50. package/icon/lib/Svg.tsx +6 -3
  51. package/icon/lib/SystemIcon.tsx +2 -1
  52. package/icon/lib/SystemIconCircle.tsx +3 -2
  53. package/package.json +6 -6
  54. package/side-panel/lib/SidePanelToggleButton.tsx +2 -2
@@ -1,7 +1,7 @@
1
1
  import {createComponent} from '@workday/canvas-kit-react/common';
2
2
  import {SystemIcon, systemIconStencil} from '@workday/canvas-kit-react/icon';
3
3
  import {calc, createStencil, cssVar, handleCsProp, px2rem} from '@workday/canvas-kit-styling';
4
- import {extLinkIcon} from '@workday/canvas-system-icons-web';
4
+ import {externalLinkIcon} from '@workday/canvas-system-icons-web';
5
5
  import {system} from '@workday/canvas-tokens-web';
6
6
 
7
7
  import {HyperlinkProps, hyperlinkStencil} from './Hyperlink';
@@ -62,7 +62,7 @@ export const ExternalHyperlink = createComponent('a')({
62
62
  >
63
63
  <span data-part="external-hyperlink-children">{children}</span>
64
64
  <SystemIcon
65
- icon={extLinkIcon}
65
+ icon={externalLinkIcon}
66
66
  role="img"
67
67
  aria-label={iconLabel}
68
68
  {...externalHyperlinkStencil.parts.externalHyperlinkIcon}
@@ -32,7 +32,7 @@ exports.buttonStencil = (0, canvas_kit_styling_1.createStencil)({
32
32
  opacity: '',
33
33
  borderRadius: '',
34
34
  },
35
- base: { name: "wfp2r", styles: "box-sizing:border-box;font-family:var(--cnvs-sys-font-family-default);font-size:var(--cnvs-sys-font-size-subtext-lg, var(--cnvs-sys-font-size-subtext-large));line-height:var(--cnvs-sys-line-height-subtext-lg, var(--cnvs-sys-line-height-subtext-large));letter-spacing:var(--cnvs-sys-letter-spacing-subtext-lg, var(--cnvs-base-letter-spacing-150));font-weight:var(--cnvs-sys-font-weight-bold);background-color:var(--background-5bdf1f, var(--background-button-b66707, transparent));color:var(--label-5bdf1f, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));border-width:0.0625rem;border-style:solid;gap:var(--cnvs-sys-gap-sm, var(--cnvs-sys-space-x2));border-color:var(--border-5bdf1f, var(--border-button-b66707, transparent));cursor:pointer;display:inline-flex;box-shadow:none;align-items:center;justify-content:center;outline:0.125rem transparent;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:var(--borderRadius-5bdf1f, var(--borderRadius-button-b66707, var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round))));position:relative;vertical-align:middle;overflow:hidden;--color-system-icon-f4b83b:var(--icon-5bdf1f, var(--cnvs-sys-color-fg-strong));transition:box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear;&:disabled, &:disabled:active, &.disabled{cursor:default;box-shadow:none;opacity:var(--opacity-5bdf1f, var(--opacity-button-b66707, var(--cnvs-sys-opacity-full)));}&:focus-visible, &.focus{background-color:var(--background-692b2b, var(--background-button-b66707, transparent));border-color:var(--border-692b2b, var(--border-button-b66707, transparent));color:var(--label-692b2b, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-f4b83b:var(--icon-692b2b, var(--cnvs-sys-color-fg-strong));outline:0.125rem solid transparent;outline-offset:0.125rem;box-shadow:0 0 0 0.125rem var(--boxShadowInner-692b2b, var(--boxShadowInner-button-b66707, var(--cnvs-sys-color-border-inverse-default, var(--cnvs-base-palette-neutral-0)))),0 0 0 0.25rem var(--boxShadowOuter-692b2b, var(--boxShadowOuter-button-b66707, var(--cnvs-sys-color-brand-focus-primary, var(--cnvs-brand-common-focus-outline))));}&:hover, &.hover{background-color:var(--background-36ab3e, var(--background-button-b66707, var(--cnvs-sys-color-bg-contrast-strong)));border-color:var(--border-36ab3e, var(--border-button-b66707, transparent));color:var(--label-36ab3e, var(--label-button-b66707, var(--cnvs-sys-color-fg-stronger)));--color-system-icon-f4b83b:var(--icon-36ab3e, var(--cnvs-sys-color-fg-stronger));}&:hover:active{transition-duration:40ms;}&:active, &.active{background-color:var(--background-cbad69, var(--background-button-b66707, transparent));border-color:var(--border-cbad69, var(--border-button-b66707, transparent));color:var(--label-cbad69, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-f4b83b:var(--icon-cbad69, var(--cnvs-sys-color-fg-strong));}&:disabled, &.disabled{background-color:var(--background-d559f9, var(--background-button-b66707, transparent));border-color:var(--border-d559f9, var(--border-button-b66707, transparent));color:var(--label-d559f9, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-f4b83b:var(--icon-d559f9, currentColor);}@media (prefers-contrast: more){&[aria-pressed=\"true\"]{outline:0.125rem solid transparent;outline-offset:-0.0625rem;}&[aria-pressed=\"true\"]:focus-visible, &[aria-pressed=\"true\"].focus{outline:0.25rem double transparent;outline-offset:0;}}svg{pointer-events:none;}" },
35
+ base: { name: "wfp2r", styles: "box-sizing:border-box;font-family:var(--cnvs-sys-font-family-default);font-size:var(--cnvs-sys-font-size-subtext-lg, var(--cnvs-sys-font-size-subtext-large));line-height:var(--cnvs-sys-line-height-subtext-lg, var(--cnvs-sys-line-height-subtext-large));letter-spacing:var(--cnvs-sys-letter-spacing-subtext-lg, var(--cnvs-base-letter-spacing-150));font-weight:var(--cnvs-sys-font-weight-bold);background-color:var(--background-5bdf1f, var(--background-button-b66707, transparent));color:var(--label-5bdf1f, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));border-width:0.0625rem;border-style:solid;gap:var(--cnvs-sys-gap-sm, var(--cnvs-sys-space-x2));border-color:var(--border-5bdf1f, var(--border-button-b66707, transparent));cursor:pointer;display:inline-flex;box-shadow:none;align-items:center;justify-content:center;outline:0.125rem transparent;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:var(--borderRadius-5bdf1f, var(--borderRadius-button-b66707, var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round))));position:relative;vertical-align:middle;overflow:hidden;--color-system-icon-2a31cf:var(--icon-5bdf1f, var(--cnvs-sys-color-fg-strong));transition:box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear;&:disabled, &:disabled:active, &.disabled{cursor:default;box-shadow:none;opacity:var(--opacity-5bdf1f, var(--opacity-button-b66707, var(--cnvs-sys-opacity-full)));}&:focus-visible, &.focus{background-color:var(--background-692b2b, var(--background-button-b66707, transparent));border-color:var(--border-692b2b, var(--border-button-b66707, transparent));color:var(--label-692b2b, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-2a31cf:var(--icon-692b2b, var(--cnvs-sys-color-fg-strong));outline:0.125rem solid transparent;outline-offset:0.125rem;box-shadow:0 0 0 0.125rem var(--boxShadowInner-692b2b, var(--boxShadowInner-button-b66707, var(--cnvs-sys-color-border-inverse-default, var(--cnvs-base-palette-neutral-0)))),0 0 0 0.25rem var(--boxShadowOuter-692b2b, var(--boxShadowOuter-button-b66707, var(--cnvs-sys-color-brand-focus-primary, var(--cnvs-brand-common-focus-outline))));}&:hover, &.hover{background-color:var(--background-36ab3e, var(--background-button-b66707, var(--cnvs-sys-color-bg-contrast-strong)));border-color:var(--border-36ab3e, var(--border-button-b66707, transparent));color:var(--label-36ab3e, var(--label-button-b66707, var(--cnvs-sys-color-fg-stronger)));--color-system-icon-2a31cf:var(--icon-36ab3e, var(--cnvs-sys-color-fg-stronger));}&:hover:active{transition-duration:40ms;}&:active, &.active{background-color:var(--background-cbad69, var(--background-button-b66707, transparent));border-color:var(--border-cbad69, var(--border-button-b66707, transparent));color:var(--label-cbad69, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-2a31cf:var(--icon-cbad69, var(--cnvs-sys-color-fg-strong));}&:disabled, &.disabled{background-color:var(--background-d559f9, var(--background-button-b66707, transparent));border-color:var(--border-d559f9, var(--border-button-b66707, transparent));color:var(--label-d559f9, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-2a31cf:var(--icon-d559f9, currentColor);}@media (prefers-contrast: more){&[aria-pressed=\"true\"]{outline:0.125rem solid transparent;outline-offset:-0.0625rem;}&[aria-pressed=\"true\"]:focus-visible, &[aria-pressed=\"true\"].focus{outline:0.25rem double transparent;outline-offset:0;}}svg{pointer-events:none;}" },
36
36
  modifiers: {
37
37
  /**
38
38
  * Button modifiers that will overwrite the base styles of Buttons.
@@ -13,13 +13,13 @@ exports.externalHyperlinkStencil = (0, canvas_kit_styling_1.createStencil)({
13
13
  parts: {
14
14
  externalHyperlinkIcon: 'external-hyperlink-icon',
15
15
  },
16
- base: { name: "bbmxl", styles: "box-sizing:border-box;[data-part=\"external-hyperlink-icon\"]{vertical-align:text-top;--color-system-icon-5c23c4:currentColor;--size-v14-svg-d754ad:1em;width:calc(1em - 0.0625rem);min-width:calc(var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4)) - 0.0625rem);margin-inline-start:calc(var(--cnvs-sys-space-x1) - 0.125rem);& > svg{min-width:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));min-height:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));}:dir(rtl){transform:rotate(270deg);}}" }
17
- }, "external-hyperlink-a82b92");
16
+ base: { name: "18p31j", styles: "box-sizing:border-box;[data-part=\"external-hyperlink-icon\"]{vertical-align:text-top;--color-system-icon-5c23c4:currentColor;--size-v14-svg-d754ad:1em;width:calc(1em - 0.0625rem);min-width:calc(var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4)) - 0.0625rem);margin-inline-start:calc(var(--cnvs-sys-space-x1) - 0.125rem);& > svg{min-width:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));min-height:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));}:dir(rtl){transform:rotate(270deg);}}" }
17
+ }, "external-hyperlink-b3d163");
18
18
  /**
19
19
  * `ExternalHyperlink`s also have an `inverse` variant. Use this variant when you need to place the
20
20
  * link on a dark or colorful background such as `blueberry400`.
21
21
  */
22
22
  exports.ExternalHyperlink = (0, common_1.createComponent)('a')({
23
23
  displayName: 'ExternalHyperlink',
24
- Component: ({ children, iconLabel, variant, ...elemProps }, ref, Element) => ((0, jsx_runtime_1.jsxs)(Element, { ref: ref, target: "_blank", rel: "noreferrer", ...(0, canvas_kit_styling_1.handleCsProp)(elemProps, (0, exports.externalHyperlinkStencil)({ variant })), children: [(0, jsx_runtime_1.jsx)("span", { "data-part": "external-hyperlink-children", children: children }), (0, jsx_runtime_1.jsx)(icon_1.SystemIcon, { icon: canvas_system_icons_web_1.extLinkIcon, role: "img", "aria-label": iconLabel, ...exports.externalHyperlinkStencil.parts.externalHyperlinkIcon })] })),
24
+ Component: ({ children, iconLabel, variant, ...elemProps }, ref, Element) => ((0, jsx_runtime_1.jsxs)(Element, { ref: ref, target: "_blank", rel: "noreferrer", ...(0, canvas_kit_styling_1.handleCsProp)(elemProps, (0, exports.externalHyperlinkStencil)({ variant })), children: [(0, jsx_runtime_1.jsx)("span", { "data-part": "external-hyperlink-children", children: children }), (0, jsx_runtime_1.jsx)(icon_1.SystemIcon, { icon: canvas_system_icons_web_1.externalLinkIcon, role: "img", "aria-label": iconLabel, ...exports.externalHyperlinkStencil.parts.externalHyperlinkIcon })] })),
25
25
  });
@@ -10,10 +10,10 @@ const buttonIconStencil = (0, canvas_kit_styling_1.createStencil)({
10
10
  base: { name: "g4xvt", styles: "box-sizing:border-box;display:inline-block;" },
11
11
  modifiers: {
12
12
  size: {
13
- extraSmall: { name: "216oag", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-xs, var(--cnvs-sys-space-x4));" },
14
- small: { name: "4itlb", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
15
- medium: { name: "2rzjzg", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
16
- large: { name: "45e321", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-lg, var(--cnvs-sys-space-x6));" }
13
+ extraSmall: { name: "216oag", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-xs, var(--cnvs-sys-space-x4));" },
14
+ small: { name: "4itlb", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
15
+ medium: { name: "2rzjzg", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
16
+ large: { name: "45e321", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-lg, var(--cnvs-sys-space-x6));" }
17
17
  }
18
18
  }
19
19
  }, "button-icon-e1f69e");
@@ -74,7 +74,11 @@ export declare const accentIconStencil: import("@workday/canvas-kit-styling").St
74
74
  };
75
75
  };
76
76
  }, {}, {
77
- width: string;
77
+ width: string; /**
78
+ * If true, set the background fill of the AccentIcon to `transparent`.
79
+ * If false, set the background fill of the AccentIcon to `system.color.bg.alt.soft`.
80
+ * @default false
81
+ */
78
82
  height: string;
79
83
  size: string;
80
84
  }, never, never>, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"AccentIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/AccentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAC,gBAAgB,EAAkB,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAM,QAAQ,EAAa,MAAM,OAAO,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,CAAC;IACrE;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,4BAG1B,gBAAgB,KAAG,SAOpB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuB5B,CAAC;AAeH;;GAEG;AACH,eAAO,MAAM,UAAU,sFAiCrB,CAAC"}
1
+ {"version":3,"file":"AccentIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/AccentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAC,gBAAgB,EAAkB,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAM,QAAQ,EAAa,MAAM,OAAO,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,CAAC;IACrE;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,4BAG1B,gBAAgB,KAAG,SAOpB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;mBAnC5B;;;;OAIG;;;wBAsDH,CAAC;AAgBH;;GAEG;AACH,eAAO,MAAM,UAAU,sFAiCrB,CAAC"}
@@ -28,7 +28,7 @@ exports.accentIconStencil = (0, canvas_kit_styling_1.createStencil)({
28
28
  vars: {
29
29
  color: '',
30
30
  },
31
- base: { name: "3q6zwf", styles: "box-sizing:border-box;--size-svg-2af90b:3.5rem;& .color-500{fill:var(--color-accent-icon-66e130, var(--cnvs-sys-color-bg-primary-strong));}& .french-vanilla-100{fill:var(--cnvs-sys-color-bg-default);}" },
31
+ base: { name: "3q6zwf", styles: "box-sizing:border-box;--size-svg-bca693:3.5rem;& .color-500{fill:var(--color-accent-icon-66e130, var(--cnvs-sys-color-bg-primary-strong));}& .french-vanilla-100{fill:var(--cnvs-sys-color-bg-default);}" },
32
32
  modifiers: {
33
33
  transparent: {
34
34
  true: { name: "1sq2ty", styles: "& .french-vanilla-100{fill:transparent;}" }
@@ -37,8 +37,9 @@ exports.accentIconStencil = (0, canvas_kit_styling_1.createStencil)({
37
37
  }, "accent-icon-66e130");
38
38
  /** @deprecated Deprecated in v11 */
39
39
  const transformColorNameToToken = (color) => {
40
- if (color && color in canvas_tokens_web_1.base) {
41
- return (0, canvas_kit_styling_1.cssVar)(canvas_tokens_web_1.base[color]);
40
+ const { legacy, ...baseTokens } = canvas_tokens_web_1.base;
41
+ if (color && color in baseTokens) {
42
+ return (0, canvas_kit_styling_1.cssVar)(baseTokens[color]);
42
43
  }
43
44
  if (color === null || color === void 0 ? void 0 : color.startsWith('--')) {
44
45
  return (0, canvas_kit_styling_1.cssVar)(color);
@@ -1 +1 @@
1
- {"version":3,"file":"AppletIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/AppletIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAC,aAAa,EAAsB,MAAM,kCAAkC,CAAC;AAGpF,OAAO,EAAC,gBAAgB,EAAkB,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAM,QAAQ,EAAa,MAAM,OAAO,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,eAE1B,gBAAgB,KAAG,SAsCrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,eACf,SAAQ,gBAAgB,EACtB,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,mBAAmB,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6B5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;CA4BrB,CAAC"}
1
+ {"version":3,"file":"AppletIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/AppletIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAC,aAAa,EAAsB,MAAM,kCAAkC,CAAC;AAGpF,OAAO,EAAC,gBAAgB,EAAkB,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAM,QAAQ,EAAa,MAAM,OAAO,CAAC;AAIhD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,eAE1B,gBAAgB,KAAG,SAsCrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,eACf,SAAQ,gBAAgB,EACtB,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,mBAAmB,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6B5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;CA4BrB,CAAC"}
@@ -8,6 +8,7 @@ const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
8
8
  const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
9
9
  const design_assets_types_1 = require("@workday/design-assets-types");
10
10
  const Svg_1 = require("./Svg");
11
+ const { legacy, ...base } = canvas_tokens_web_1.base;
11
12
  /**
12
13
  * @deprecated `appletIconStyles` will be removed in in a future version as a part of implementation of stencils and new tokens. Consider to use `appletIconStencil` instead.
13
14
  */
@@ -58,8 +59,8 @@ exports.appletIconStencil = (0, canvas_kit_styling_1.createStencil)({
58
59
  color400: '',
59
60
  color500: '',
60
61
  },
61
- base: { name: "22jqnb", styles: "box-sizing:border-box;--size-svg-2af90b:5.75rem;& .color-100{fill:var(--cnvs-sys-color-fg-inverse);}& .color-200{fill:var(--color200-applet-icon-52344d, var(--cnvs-base-palette-blue-200));}& .color-300{fill:var(--color300-applet-icon-52344d, var(--cnvs-base-palette-blue-400));}& .color-400{fill:var(--color400-applet-icon-52344d, var(--cnvs-base-palette-blue-600));}& .color-400-alpha-20{fill:var(--color400-applet-icon-52344d, var(--cnvs-base-palette-blue-600));}& .color-500{fill:var(--color500-applet-icon-52344d, var(--cnvs-base-palette-blue-700));}" }
62
- }, "applet-icon-52344d");
62
+ base: { name: "y6pw8", styles: "box-sizing:border-box;--size-svg-bca693:5.75rem;& .color-100{fill:var(--cnvs-sys-color-fg-inverse);}& .color-200{fill:var(--color200-applet-icon-e065f0, var(--cnvs-base-palette-blue-200));}& .color-300{fill:var(--color300-applet-icon-e065f0, var(--cnvs-base-palette-blue-400));}& .color-400{fill:var(--color400-applet-icon-e065f0, var(--cnvs-base-palette-blue-600));}& .color-400-alpha-20{fill:var(--color400-applet-icon-e065f0, var(--cnvs-base-palette-blue-600));}& .color-500{fill:var(--color500-applet-icon-e065f0, var(--cnvs-base-palette-blue-700));}" }
63
+ }, "applet-icon-e065f0");
63
64
  /**
64
65
  * @deprecated ⚠️ `AppletIcon` is deprecated and will be removed in a future major version. Deprecated in v15.0.0.
65
66
  */
@@ -67,10 +68,10 @@ exports.AppletIcon = (0, common_1.createComponent)('span')({
67
68
  displayName: 'AppletIcon',
68
69
  Component: ({ size, icon, color, ...elemProps }, ref, Element) => {
69
70
  const colors = color && {
70
- color200: canvas_tokens_web_1.base[`${color}200`],
71
- color300: canvas_tokens_web_1.base[`${color}300`],
72
- color400: canvas_tokens_web_1.base[`${color}400`],
73
- color500: canvas_tokens_web_1.base[`${color}500`],
71
+ color200: base[`${color}200`],
72
+ color300: base[`${color}300`],
73
+ color400: base[`${color}400`],
74
+ color500: base[`${color}500`],
74
75
  };
75
76
  return ((0, jsx_runtime_1.jsx)(Svg_1.Svg, { src: icon, type: design_assets_types_1.CanvasIconTypes.Applet, as: Element, ref: ref, ...(0, canvas_kit_styling_1.handleCsProp)(elemProps, [
76
77
  (0, exports.appletIconStencil)({
@@ -19,7 +19,7 @@ exports.expressiveIconStencil = (0, canvas_kit_styling_1.createStencil)({
19
19
  */
20
20
  accentColor: '',
21
21
  },
22
- base: { name: "qomoy", styles: "box-sizing:border-box;& svg{width:var(--size-svg-2af90b, var(--cnvs-component-expressive-icon-size-md, 3.5rem));height:var(--size-svg-2af90b, var(--cnvs-component-expressive-icon-size-md, 3.5rem));}.wd-expressive .wd-expressive-fill{fill:var(--color-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-fill));}.wd-expressive .wd-expressive-accent{fill:var(--accentColor-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-accent));}@media (prefers-contrast: more){.wd-expressive .wd-expressive-fill{color:currentColor;fill:currentColor;}.wd-expressive .wd-expressive-accent{color:transparent;fill:transparent;}}" }
22
+ base: { name: "qomoy", styles: "box-sizing:border-box;& svg{width:var(--size-svg-bca693, var(--cnvs-component-expressive-icon-size-md, 3.5rem));height:var(--size-svg-bca693, var(--cnvs-component-expressive-icon-size-md, 3.5rem));}.wd-expressive .wd-expressive-fill{fill:var(--color-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-fill));}.wd-expressive .wd-expressive-accent{fill:var(--accentColor-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-accent));}@media (prefers-contrast: more){.wd-expressive .wd-expressive-fill{color:currentColor;fill:currentColor;}.wd-expressive .wd-expressive-accent{color:transparent;fill:transparent;}}" }
23
23
  }, "expressive-icon-4db5e5");
24
24
  exports.ExpressiveIcon = (0, common_1.createComponent)('span')({
25
25
  displayName: 'ExpressiveIcon',
@@ -80,7 +80,9 @@ export declare const graphicStencil: import("@workday/canvas-kit-styling").Stenc
80
80
  shouldMirrorInRTL: {
81
81
  true: {
82
82
  '&:dir(rtl)': {
83
- transform: string;
83
+ transform: string; /**
84
+ * The `alt` attribute for the image. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt#usage_notes) for more information.
85
+ */
84
86
  };
85
87
  };
86
88
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Graphic.d.ts","sourceRoot":"","sources":["../../../../icon/lib/Graphic.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,OAAO,EAAsC,MAAM,6BAA6B,CAAC;AAIzF;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,YAAa,SAAQ,OAAO;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,GAAG,EAAE;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF;;;O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ACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,GAAG,EAAE;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC7D;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC;CAC5D;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,4BAA2B,aAAa,KAAG,SA4BpE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;mCA9CzB;;mBAEG;;;;;;;;wBAyDH,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;gBA0B9B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,aAAa,QAAS,MAAM,WAKxC,CAAC;AAEF,eAAO,MAAM,OAAO,mFA6BlB,CAAC"}
@@ -2,10 +2,10 @@ import { HTMLAttributes } from 'react';
2
2
  import { CanvasExpressiveIcon } from '@workday/canvas-expressive-icons-web';
3
3
  import { CSProps } from '@workday/canvas-kit-styling';
4
4
  import { CanvasIconTypes, CanvasSystemIcon } from '@workday/canvas-system-icons-web';
5
- import { CanvasIcon } from '@workday/design-assets-types';
5
+ import { CanvasIcon as LegacyCanvasIcon, CanvasIconTypes as LegacyIconTypes } from '@workday/design-assets-types';
6
6
  export interface SvgProps extends CSProps, HTMLAttributes<HTMLSpanElement> {
7
- src: CanvasSystemIcon | CanvasExpressiveIcon | CanvasIcon;
8
- type: CanvasIconTypes;
7
+ src: CanvasSystemIcon | CanvasExpressiveIcon | LegacyCanvasIcon;
8
+ type: CanvasIconTypes | LegacyIconTypes;
9
9
  /**
10
10
  * If set to `true`, transform the SVG's x-axis to mirror the graphic. Use this if you want to
11
11
  * always mirror the icon regardless of the content direction. If the SVG should mirror only when
@@ -1 +1 @@
1
- {"version":3,"file":"Svg.d.ts","sourceRoot":"","sources":["../../../../icon/lib/Svg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,OAAO,CAAC;AAErC,OAAO,EAAC,oBAAoB,EAAC,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAC,OAAO,EAA8C,MAAM,6BAA6B,CAAC;AACjG,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAExD,MAAM,WAAW,QAAS,SAAQ,OAAO,EAAE,cAAc,CAAC,eAAe,CAAC;IACxE,GAAG,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,UAAU,CAAC;IAC1D,IAAI,EAAE,eAAe,CAAC;IACtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;IAEnB;;OAEG;;IAEH;;OAEG;;IAEH,2CAA2C;;gBAyB7C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,WAAW,0FAGrB,MAUF,CAAC;AAEF,eAAO,MAAM,GAAG,+EAoBd,CAAC"}
1
+ {"version":3,"file":"Svg.d.ts","sourceRoot":"","sources":["../../../../icon/lib/Svg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,OAAO,CAAC;AAErC,OAAO,EAAC,oBAAoB,EAAC,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAC,OAAO,EAA8C,MAAM,6BAA6B,CAAC;AACjG,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AACnF,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,eAAe,IAAI,eAAe,EACnC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,QAAS,SAAQ,OAAO,EAAE,cAAc,CAAC,eAAe,CAAC;IACxE,GAAG,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;IAChE,IAAI,EAAE,eAAe,GAAG,eAAe,CAAC;IACxC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;IAEnB;;OAEG;;IAEH;;OAEG;;IAEH,2CAA2C;;gBAyB7C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,WAAW,0FAGrB,MAUF,CAAC;AAEF,eAAO,MAAM,GAAG,+EAoBd,CAAC"}
@@ -17,16 +17,16 @@ exports.svgStencil = (0, canvas_kit_styling_1.createStencil)({
17
17
  /** sets width and height of svg element */
18
18
  size: '',
19
19
  },
20
- base: { name: "29ffbs", styles: "box-sizing:border-box;display:inline-block;> svg{display:block;width:var(--width-svg-2af90b, var(--size-svg-2af90b));height:var(--height-svg-2af90b, var(--size-svg-2af90b));}" },
20
+ base: { name: "39le0l", styles: "box-sizing:border-box;display:inline-block;> svg{display:block;width:var(--width-svg-bca693, var(--size-svg-bca693));height:var(--height-svg-bca693, var(--size-svg-bca693));}" },
21
21
  modifiers: {
22
22
  shouldMirror: {
23
- true: { name: "34necu", styles: "transform:scaleX(-1);" }
23
+ true: { name: "wfmwu", styles: "transform:scaleX(-1);" }
24
24
  },
25
25
  shouldMirrorInRTL: {
26
- true: { name: "2g4so", styles: "&:dir(rtl){transform:scaleX(-1);}" }
26
+ true: { name: "1rrkpt", styles: "&:dir(rtl){transform:scaleX(-1);}" }
27
27
  }
28
28
  }
29
- }, "svg-2af90b");
29
+ }, "svg-bca693");
30
30
  /**
31
31
  * Resolves the size of the SVG based on the size token or string / numeric (px) value.
32
32
  * @param size - The size variant or string / numeric (px) value.
@@ -1,4 +1,5 @@
1
1
  import { CanvasSystemIcon } from '@workday/canvas-system-icons-web';
2
+ import { CanvasSystemIcon as LegacyCanvasSystemIcon } from '@workday/design-assets-types';
2
3
  import { SvgProps } from './Svg';
3
4
  type SystemSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
5
  export interface SystemIconProps extends Omit<SvgProps, 'src' | 'type'> {
@@ -17,7 +18,7 @@ export interface SystemIconProps extends Omit<SvgProps, 'src' | 'type'> {
17
18
  /**
18
19
  * The icon to display from `@workday/canvas-system-icons-web`.
19
20
  */
20
- icon: CanvasSystemIcon;
21
+ icon: CanvasSystemIcon | LegacyCanvasSystemIcon;
21
22
  /**
22
23
  * The size of the SystemIcon in size variants or string / numeric (px) values.
23
24
  * **System icon sizes**
@@ -1 +1 @@
1
- {"version":3,"file":"SystemIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/SystemIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAGnF,OAAO,EAAM,QAAQ,EAA0B,MAAM,OAAO,CAAC;AAE7D,KAAK,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,CAAC;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;CACrC;AAED,eAAO,MAAM,iBAAiB;IAG1B;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;wBA+BL,CAAC;AAEH,eAAO,MAAM,UAAU,sFAyBrB,CAAC"}
1
+ {"version":3,"file":"SystemIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/SystemIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAEnF,OAAO,EAAC,gBAAgB,IAAI,sBAAsB,EAAC,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAM,QAAQ,EAA0B,MAAM,OAAO,CAAC;AAE7D,KAAK,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,CAAC;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,gBAAgB,GAAG,sBAAsB,CAAC;IAChD;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;CACrC;AAED,eAAO,MAAM,iBAAiB;IAG1B;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;wBA+BL,CAAC;AAEH,eAAO,MAAM,UAAU,sFAyBrB,CAAC"}
@@ -25,10 +25,10 @@ exports.systemIconStencil = (0, canvas_kit_styling_1.createStencil)({
25
25
  */
26
26
  backgroundColor: '',
27
27
  },
28
- base: { name: "1j633o", styles: "box-sizing:border-box;& svg{width:var(--size-svg-2af90b, var(--cnvs-component-system-icon-size-lg, 1.5rem));height:var(--size-svg-2af90b, var(--cnvs-component-system-icon-size-lg, 1.5rem));}.wd-icon .wd-icon-fill{fill:var(--color-system-icon-f4b83b, var(--cnvs-component-system-icon-color-fill));}.wd-icon .wd-icon-accent, & .wd-icon-accent2{fill:var(--accentColor-system-icon-f4b83b, var(--color-system-icon-f4b83b, var(--cnvs-component-system-icon-color-accent)));}.wd-icon .wd-icon-background{fill:var(--backgroundColor-system-icon-f4b83b, transparent);}@media (prefers-contrast: more){.wd-icon .wd-icon-fill, .wd-icon .wd-icon-accent{color:currentColor;fill:currentColor;}}" },
28
+ base: { name: "2fw5zg", styles: "box-sizing:border-box;& svg{width:var(--size-svg-bca693, var(--cnvs-component-system-icon-size-lg, 1.5rem));height:var(--size-svg-bca693, var(--cnvs-component-system-icon-size-lg, 1.5rem));}.wd-icon .wd-icon-fill{fill:var(--color-system-icon-2a31cf, var(--cnvs-component-system-icon-color-fill));}.wd-icon .wd-icon-accent, & .wd-icon-accent2{fill:var(--accentColor-system-icon-2a31cf, var(--color-system-icon-2a31cf, var(--cnvs-component-system-icon-color-accent)));}.wd-icon .wd-icon-background{fill:var(--backgroundColor-system-icon-2a31cf, transparent);}@media (prefers-contrast: more){.wd-icon .wd-icon-fill, .wd-icon .wd-icon-accent{color:currentColor;fill:currentColor;}}" },
29
29
  // Keeps parent stencil `ME` inferred as `{}` so extending stencils keep correct boolean modifier typings.
30
30
  modifiers: {}
31
- }, "system-icon-f4b83b");
31
+ }, "system-icon-2a31cf");
32
32
  exports.SystemIcon = (0, common_1.createComponent)('span')({
33
33
  displayName: 'SystemIcon',
34
34
  Component: ({ accent, background, color, icon, size, ...elemProps }, ref, Element) => {
@@ -1,5 +1,6 @@
1
1
  import { CSProps } from '@workday/canvas-kit-styling';
2
2
  import { CanvasSystemIcon } from '@workday/canvas-system-icons-web';
3
+ import { CanvasSystemIcon as LegacyCanvasSystemIcon } from '@workday/design-assets-types';
3
4
  export declare enum SystemIconCircleSize {
4
5
  xs = 16,
5
6
  s = 24,
@@ -10,9 +11,9 @@ export declare enum SystemIconCircleSize {
10
11
  }
11
12
  type SystemIconCircleCommonProps = {
12
13
  /**
13
- * The icon to display from `@workday/canvas-accent-icons-web`.
14
+ * The icon to display from `@workday/canvas-system-icons-web`.
14
15
  */
15
- icon: CanvasSystemIcon;
16
+ icon: CanvasSystemIcon | LegacyCanvasSystemIcon;
16
17
  /**
17
18
  * The size token of the SystemIconCircle.
18
19
  * @default SystemIconCircleSize.l
@@ -1 +1 @@
1
- {"version":3,"file":"SystemIconCircle.d.ts","sourceRoot":"","sources":["../../../../icon/lib/SystemIconCircle.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAMR,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAOlE,oBAAY,oBAAoB;IAC9B,EAAE,KAAK;IACP,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,EAAE,KAAK;IACP,GAAG,MAAM;CACV;AAcD,KAAK,2BAA2B,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,OAAO,CAAC;AAEZ;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAC7B,CAAC,2BAA2B,GAAG;IAAC,UAAU,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAC,CAAC,GACnE,CAAC,2BAA2B,GAAG;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC;AAExE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;gBAgDlC,CAAC;AAEH,eAAO,MAAM,gBAAgB,4FAsC3B,CAAC"}
1
+ {"version":3,"file":"SystemIconCircle.d.ts","sourceRoot":"","sources":["../../../../icon/lib/SystemIconCircle.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAMR,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAC,gBAAgB,IAAI,sBAAsB,EAAC,MAAM,8BAA8B,CAAC;AAMxF,oBAAY,oBAAoB;IAC9B,EAAE,KAAK;IACP,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,EAAE,KAAK;IACP,GAAG,MAAM;CACV;AAcD,KAAK,2BAA2B,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,gBAAgB,GAAG,sBAAsB,CAAC;IAChD;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,OAAO,CAAC;AAEZ;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAC7B,CAAC,2BAA2B,GAAG;IAAC,UAAU,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAC,CAAC,GACnE,CAAC,2BAA2B,GAAG;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC;AAExE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;gBAgDlC,CAAC;AAEH,eAAO,MAAM,gBAAgB,4FAsC3B,CAAC"}
@@ -34,13 +34,13 @@ exports.systemIconCircleStencil = (0, canvas_kit_styling_1.createStencil)({
34
34
  color: '',
35
35
  size: '',
36
36
  },
37
- base: { name: "3i8g98", styles: "box-sizing:border-box;background:var(--background-system-icon-circle-20bf5c, var(--cnvs-sys-color-surface-alt-default, var(--cnvs-sys-color-bg-alt-soft)));display:flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round));overflow:hidden;width:var(--size-system-icon-circle-20bf5c, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));height:var(--size-system-icon-circle-20bf5c, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));--size-svg-2af90b:calc(var(--size-system-icon-circle-20bf5c, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10))) * 0.625);--color-system-icon-f4b83b:var(--color-system-icon-circle-20bf5c);& img{width:100%;height:100%;}" },
37
+ base: { name: "16tjc7", styles: "box-sizing:border-box;background:var(--background-system-icon-circle-ca476e, var(--cnvs-sys-color-surface-alt-default, var(--cnvs-sys-color-bg-alt-soft)));display:flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round));overflow:hidden;width:var(--size-system-icon-circle-ca476e, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));height:var(--size-system-icon-circle-ca476e, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));--size-svg-bca693:calc(var(--size-system-icon-circle-ca476e, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10))) * 0.625);--color-system-icon-2a31cf:var(--color-system-icon-circle-ca476e);& img{width:100%;height:100%;}" },
38
38
  modifiers: {
39
39
  inverse: {
40
- true: { name: "360jpw", styles: "background:var(--background-system-icon-circle-20bf5c, var(--cnvs-sys-color-accent-info, var(--cnvs-sys-color-bg-primary-default)));--color-system-icon-f4b83b:var(--color-system-icon-circle-20bf5c, var(--cnvs-sys-color-fg-inverse));" }
40
+ true: { name: "4d7llj", styles: "background:var(--background-system-icon-circle-ca476e, var(--cnvs-sys-color-accent-info, var(--cnvs-sys-color-bg-primary-default)));--color-system-icon-2a31cf:var(--color-system-icon-circle-ca476e, var(--cnvs-sys-color-fg-inverse));" }
41
41
  }
42
42
  }
43
- }, "system-icon-circle-20bf5c");
43
+ }, "system-icon-circle-ca476e");
44
44
  exports.SystemIconCircle = (0, common_1.createComponent)('span')({
45
45
  displayName: 'SystemIconCircle',
46
46
  Component: ({ background, color, size, icon, shouldMirror, shouldMirrorInRTL, inverse, ...elemProps }, ref, Element) => {
@@ -64,7 +64,9 @@ export declare const useSidePanelToggleButton: import("@workday/canvas-kit-react
64
64
  panelId: string;
65
65
  labelId: string;
66
66
  transitionState: import("./useSidePanelModel").SidePanelTransitionStates;
67
- initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates;
67
+ initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates; /**
68
+ * Provides an accessible label to the button. This text **should not** convey visual state but rather what it does like "control data panel."
69
+ */
68
70
  origin: "end" | "start";
69
71
  onStateTransition(state: import("./useSidePanelModel").SidePanelTransitionStates): void;
70
72
  };
@@ -84,7 +86,9 @@ export declare const SidePanelToggleButton: import("@workday/canvas-kit-react/co
84
86
  panelId: string;
85
87
  labelId: string;
86
88
  transitionState: import("./useSidePanelModel").SidePanelTransitionStates;
87
- initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates;
89
+ initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates; /**
90
+ * Provides an accessible label to the button. This text **should not** convey visual state but rather what it does like "control data panel."
91
+ */
88
92
  origin: "end" | "start";
89
93
  onStateTransition(state: import("./useSidePanelModel").SidePanelTransitionStates): void;
90
94
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SidePanelToggleButton.d.ts","sourceRoot":"","sources":["../../../../side-panel/lib/SidePanelToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAChE,OAAO,E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;;;;;;;;;;;wBAsGvC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;yFAnHnC;;WAEG;;;;;;;;;;;;;;EAuHH,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;yFA3HhC;;WAEG;;;;;;;;;;EAwKJ,CAAC"}
@@ -10,38 +10,38 @@ const canvas_system_icons_web_1 = require("@workday/canvas-system-icons-web");
10
10
  const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
11
11
  const useSidePanelModel_1 = require("./useSidePanelModel");
12
12
  exports.sidePanelToggleButtonStencil = (0, canvas_kit_styling_1.createStencil)({
13
- base: { name: "hlh4f", styles: "box-sizing:border-box;position:absolute;top:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x6));width:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x8));inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));" },
13
+ base: { name: "3a8or0", styles: "box-sizing:border-box;position:absolute;top:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x6));width:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x8));inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));" },
14
14
  modifiers: {
15
15
  state: {
16
- collapsing: { name: "11e02h", styles: "margin:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
17
- collapsed: { name: "21myyu", styles: "margin:auto;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
18
- expanded: { name: "3bc4ff", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" },
19
- expanding: { name: "3jdzk3", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
16
+ collapsing: { name: "3t06d", styles: "margin:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
17
+ collapsed: { name: "3olm9d", styles: "margin:auto;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
18
+ expanded: { name: "1vyxp8", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" },
19
+ expanding: { name: "mzm9w", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
20
20
  },
21
21
  origin: {
22
- start: { name: "45375r", styles: "" },
23
- end: { name: "4bbju", styles: "transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" }
22
+ start: { name: "b910p", styles: "" },
23
+ end: { name: "48gumm", styles: "transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" }
24
24
  }
25
25
  },
26
26
  compound: [
27
27
  {
28
28
  modifiers: { state: 'collapsed', origin: 'end' },
29
- styles: { name: "2gssqq", styles: "transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
29
+ styles: { name: "2xv750", styles: "transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
30
30
  },
31
31
  {
32
32
  modifiers: { state: 'collapsing', origin: 'end' },
33
- styles: { name: "8bwyj", styles: "transform:scaleX(-1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
33
+ styles: { name: "17ywis", styles: "transform:scaleX(-1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
34
34
  },
35
35
  {
36
36
  modifiers: { state: 'expanded', origin: 'end' },
37
- styles: { name: "1bd77z", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
37
+ styles: { name: "36emce", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
38
38
  },
39
39
  {
40
40
  modifiers: { state: 'expanding', origin: 'end' },
41
- styles: { name: "2nygsg", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
41
+ styles: { name: "13en60", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
42
42
  }
43
43
  ]
44
- }, "side-panel-toggle-button-355ace");
44
+ }, "side-panel-toggle-button-1db1a4");
45
45
  exports.useSidePanelToggleButton = (0, common_1.createElemPropsHook)(useSidePanelModel_1.useSidePanelModel)(({ state }) => {
46
46
  return {
47
47
  'aria-controls': state.panelId,
@@ -53,7 +53,7 @@ exports.SidePanelToggleButton = (0, common_1.createSubcomponent)('button')({
53
53
  displayName: 'SidePanel.ToggleButton',
54
54
  modelHook: useSidePanelModel_1.useSidePanelModel,
55
55
  elemPropsHook: exports.useSidePanelToggleButton,
56
- })(({ variant = undefined, icon = canvas_system_icons_web_1.transformationImportIcon, tooltipTextExpand = 'Expand View', tooltipTextCollapse = 'Collapse View', tooltipProps, tooltipText, ...elemProps }, Element, model) => {
56
+ })(({ variant = undefined, icon = canvas_system_icons_web_1.extendIcon, tooltipTextExpand = 'Expand View', tooltipTextCollapse = 'Collapse View', tooltipProps, tooltipText, ...elemProps }, Element, model) => {
57
57
  return ((0, jsx_runtime_1.jsx)(tooltip_1.Tooltip, { type: "muted", ...tooltipProps, title: tooltipText ||
58
58
  (model.state.transitionState === 'expanded' ? tooltipTextCollapse : tooltipTextExpand), children: (0, jsx_runtime_1.jsx)(button_1.TertiaryButton, { icon: icon, as: Element, variant: variant, "aria-label": tooltipText, ...(0, canvas_kit_styling_1.handleCsProp)(elemProps, (0, exports.sidePanelToggleButtonStencil)({
59
59
  state: model.state.transitionState,
@@ -29,7 +29,7 @@ export const buttonStencil = createStencil({
29
29
  opacity: '',
30
30
  borderRadius: '',
31
31
  },
32
- base: { name: "wfp2r", styles: "box-sizing:border-box;font-family:var(--cnvs-sys-font-family-default);font-size:var(--cnvs-sys-font-size-subtext-lg, var(--cnvs-sys-font-size-subtext-large));line-height:var(--cnvs-sys-line-height-subtext-lg, var(--cnvs-sys-line-height-subtext-large));letter-spacing:var(--cnvs-sys-letter-spacing-subtext-lg, var(--cnvs-base-letter-spacing-150));font-weight:var(--cnvs-sys-font-weight-bold);background-color:var(--background-5bdf1f, var(--background-button-b66707, transparent));color:var(--label-5bdf1f, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));border-width:0.0625rem;border-style:solid;gap:var(--cnvs-sys-gap-sm, var(--cnvs-sys-space-x2));border-color:var(--border-5bdf1f, var(--border-button-b66707, transparent));cursor:pointer;display:inline-flex;box-shadow:none;align-items:center;justify-content:center;outline:0.125rem transparent;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:var(--borderRadius-5bdf1f, var(--borderRadius-button-b66707, var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round))));position:relative;vertical-align:middle;overflow:hidden;--color-system-icon-f4b83b:var(--icon-5bdf1f, var(--cnvs-sys-color-fg-strong));transition:box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear;&:disabled, &:disabled:active, &.disabled{cursor:default;box-shadow:none;opacity:var(--opacity-5bdf1f, var(--opacity-button-b66707, var(--cnvs-sys-opacity-full)));}&:focus-visible, &.focus{background-color:var(--background-692b2b, var(--background-button-b66707, transparent));border-color:var(--border-692b2b, var(--border-button-b66707, transparent));color:var(--label-692b2b, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-f4b83b:var(--icon-692b2b, var(--cnvs-sys-color-fg-strong));outline:0.125rem solid transparent;outline-offset:0.125rem;box-shadow:0 0 0 0.125rem var(--boxShadowInner-692b2b, var(--boxShadowInner-button-b66707, var(--cnvs-sys-color-border-inverse-default, var(--cnvs-base-palette-neutral-0)))),0 0 0 0.25rem var(--boxShadowOuter-692b2b, var(--boxShadowOuter-button-b66707, var(--cnvs-sys-color-brand-focus-primary, var(--cnvs-brand-common-focus-outline))));}&:hover, &.hover{background-color:var(--background-36ab3e, var(--background-button-b66707, var(--cnvs-sys-color-bg-contrast-strong)));border-color:var(--border-36ab3e, var(--border-button-b66707, transparent));color:var(--label-36ab3e, var(--label-button-b66707, var(--cnvs-sys-color-fg-stronger)));--color-system-icon-f4b83b:var(--icon-36ab3e, var(--cnvs-sys-color-fg-stronger));}&:hover:active{transition-duration:40ms;}&:active, &.active{background-color:var(--background-cbad69, var(--background-button-b66707, transparent));border-color:var(--border-cbad69, var(--border-button-b66707, transparent));color:var(--label-cbad69, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-f4b83b:var(--icon-cbad69, var(--cnvs-sys-color-fg-strong));}&:disabled, &.disabled{background-color:var(--background-d559f9, var(--background-button-b66707, transparent));border-color:var(--border-d559f9, var(--border-button-b66707, transparent));color:var(--label-d559f9, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-f4b83b:var(--icon-d559f9, currentColor);}@media (prefers-contrast: more){&[aria-pressed=\"true\"]{outline:0.125rem solid transparent;outline-offset:-0.0625rem;}&[aria-pressed=\"true\"]:focus-visible, &[aria-pressed=\"true\"].focus{outline:0.25rem double transparent;outline-offset:0;}}svg{pointer-events:none;}" },
32
+ base: { name: "wfp2r", styles: "box-sizing:border-box;font-family:var(--cnvs-sys-font-family-default);font-size:var(--cnvs-sys-font-size-subtext-lg, var(--cnvs-sys-font-size-subtext-large));line-height:var(--cnvs-sys-line-height-subtext-lg, var(--cnvs-sys-line-height-subtext-large));letter-spacing:var(--cnvs-sys-letter-spacing-subtext-lg, var(--cnvs-base-letter-spacing-150));font-weight:var(--cnvs-sys-font-weight-bold);background-color:var(--background-5bdf1f, var(--background-button-b66707, transparent));color:var(--label-5bdf1f, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));border-width:0.0625rem;border-style:solid;gap:var(--cnvs-sys-gap-sm, var(--cnvs-sys-space-x2));border-color:var(--border-5bdf1f, var(--border-button-b66707, transparent));cursor:pointer;display:inline-flex;box-shadow:none;align-items:center;justify-content:center;outline:0.125rem transparent;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:var(--borderRadius-5bdf1f, var(--borderRadius-button-b66707, var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round))));position:relative;vertical-align:middle;overflow:hidden;--color-system-icon-2a31cf:var(--icon-5bdf1f, var(--cnvs-sys-color-fg-strong));transition:box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear;&:disabled, &:disabled:active, &.disabled{cursor:default;box-shadow:none;opacity:var(--opacity-5bdf1f, var(--opacity-button-b66707, var(--cnvs-sys-opacity-full)));}&:focus-visible, &.focus{background-color:var(--background-692b2b, var(--background-button-b66707, transparent));border-color:var(--border-692b2b, var(--border-button-b66707, transparent));color:var(--label-692b2b, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-2a31cf:var(--icon-692b2b, var(--cnvs-sys-color-fg-strong));outline:0.125rem solid transparent;outline-offset:0.125rem;box-shadow:0 0 0 0.125rem var(--boxShadowInner-692b2b, var(--boxShadowInner-button-b66707, var(--cnvs-sys-color-border-inverse-default, var(--cnvs-base-palette-neutral-0)))),0 0 0 0.25rem var(--boxShadowOuter-692b2b, var(--boxShadowOuter-button-b66707, var(--cnvs-sys-color-brand-focus-primary, var(--cnvs-brand-common-focus-outline))));}&:hover, &.hover{background-color:var(--background-36ab3e, var(--background-button-b66707, var(--cnvs-sys-color-bg-contrast-strong)));border-color:var(--border-36ab3e, var(--border-button-b66707, transparent));color:var(--label-36ab3e, var(--label-button-b66707, var(--cnvs-sys-color-fg-stronger)));--color-system-icon-2a31cf:var(--icon-36ab3e, var(--cnvs-sys-color-fg-stronger));}&:hover:active{transition-duration:40ms;}&:active, &.active{background-color:var(--background-cbad69, var(--background-button-b66707, transparent));border-color:var(--border-cbad69, var(--border-button-b66707, transparent));color:var(--label-cbad69, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-2a31cf:var(--icon-cbad69, var(--cnvs-sys-color-fg-strong));}&:disabled, &.disabled{background-color:var(--background-d559f9, var(--background-button-b66707, transparent));border-color:var(--border-d559f9, var(--border-button-b66707, transparent));color:var(--label-d559f9, var(--label-button-b66707, var(--cnvs-sys-color-fg-strong)));--color-system-icon-2a31cf:var(--icon-d559f9, currentColor);}@media (prefers-contrast: more){&[aria-pressed=\"true\"]{outline:0.125rem solid transparent;outline-offset:-0.0625rem;}&[aria-pressed=\"true\"]:focus-visible, &[aria-pressed=\"true\"].focus{outline:0.25rem double transparent;outline-offset:0;}}svg{pointer-events:none;}" },
33
33
  modifiers: {
34
34
  /**
35
35
  * Button modifiers that will overwrite the base styles of Buttons.
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { createComponent } from '@workday/canvas-kit-react/common';
3
3
  import { SystemIcon, systemIconStencil } from '@workday/canvas-kit-react/icon';
4
4
  import { calc, createStencil, cssVar, handleCsProp, px2rem } from '@workday/canvas-kit-styling';
5
- import { extLinkIcon } from '@workday/canvas-system-icons-web';
5
+ import { externalLinkIcon } from '@workday/canvas-system-icons-web';
6
6
  import { system } from '@workday/canvas-tokens-web';
7
7
  import { hyperlinkStencil } from './Hyperlink';
8
8
  export const externalHyperlinkStencil = createStencil({
@@ -10,13 +10,13 @@ export const externalHyperlinkStencil = createStencil({
10
10
  parts: {
11
11
  externalHyperlinkIcon: 'external-hyperlink-icon',
12
12
  },
13
- base: { name: "bbmxl", styles: "box-sizing:border-box;[data-part=\"external-hyperlink-icon\"]{vertical-align:text-top;--color-system-icon-5c23c4:currentColor;--size-v14-svg-d754ad:1em;width:calc(1em - 0.0625rem);min-width:calc(var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4)) - 0.0625rem);margin-inline-start:calc(var(--cnvs-sys-space-x1) - 0.125rem);& > svg{min-width:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));min-height:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));}:dir(rtl){transform:rotate(270deg);}}" }
14
- }, "external-hyperlink-a82b92");
13
+ base: { name: "18p31j", styles: "box-sizing:border-box;[data-part=\"external-hyperlink-icon\"]{vertical-align:text-top;--color-system-icon-5c23c4:currentColor;--size-v14-svg-d754ad:1em;width:calc(1em - 0.0625rem);min-width:calc(var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4)) - 0.0625rem);margin-inline-start:calc(var(--cnvs-sys-space-x1) - 0.125rem);& > svg{min-width:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));min-height:var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4));}:dir(rtl){transform:rotate(270deg);}}" }
14
+ }, "external-hyperlink-b3d163");
15
15
  /**
16
16
  * `ExternalHyperlink`s also have an `inverse` variant. Use this variant when you need to place the
17
17
  * link on a dark or colorful background such as `blueberry400`.
18
18
  */
19
19
  export const ExternalHyperlink = createComponent('a')({
20
20
  displayName: 'ExternalHyperlink',
21
- Component: ({ children, iconLabel, variant, ...elemProps }, ref, Element) => (_jsxs(Element, { ref: ref, target: "_blank", rel: "noreferrer", ...handleCsProp(elemProps, externalHyperlinkStencil({ variant })), children: [_jsx("span", { "data-part": "external-hyperlink-children", children: children }), _jsx(SystemIcon, { icon: extLinkIcon, role: "img", "aria-label": iconLabel, ...externalHyperlinkStencil.parts.externalHyperlinkIcon })] })),
21
+ Component: ({ children, iconLabel, variant, ...elemProps }, ref, Element) => (_jsxs(Element, { ref: ref, target: "_blank", rel: "noreferrer", ...handleCsProp(elemProps, externalHyperlinkStencil({ variant })), children: [_jsx("span", { "data-part": "external-hyperlink-children", children: children }), _jsx(SystemIcon, { icon: externalLinkIcon, role: "img", "aria-label": iconLabel, ...externalHyperlinkStencil.parts.externalHyperlinkIcon })] })),
22
22
  });
@@ -7,10 +7,10 @@ const buttonIconStencil = createStencil({
7
7
  base: { name: "g4xvt", styles: "box-sizing:border-box;display:inline-block;" },
8
8
  modifiers: {
9
9
  size: {
10
- extraSmall: { name: "216oag", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-xs, var(--cnvs-sys-space-x4));" },
11
- small: { name: "4itlb", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
12
- medium: { name: "2rzjzg", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
13
- large: { name: "45e321", styles: "--size-svg-2af90b:var(--cnvs-component-system-icon-size-lg, var(--cnvs-sys-space-x6));" }
10
+ extraSmall: { name: "216oag", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-xs, var(--cnvs-sys-space-x4));" },
11
+ small: { name: "4itlb", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
12
+ medium: { name: "2rzjzg", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-md, var(--cnvs-sys-space-x5));" },
13
+ large: { name: "45e321", styles: "--size-svg-bca693:var(--cnvs-component-system-icon-size-lg, var(--cnvs-sys-space-x6));" }
14
14
  }
15
15
  }
16
16
  }, "button-icon-e1f69e");
@@ -74,7 +74,11 @@ export declare const accentIconStencil: import("@workday/canvas-kit-styling").St
74
74
  };
75
75
  };
76
76
  }, {}, {
77
- width: string;
77
+ width: string; /**
78
+ * If true, set the background fill of the AccentIcon to `transparent`.
79
+ * If false, set the background fill of the AccentIcon to `system.color.bg.alt.soft`.
80
+ * @default false
81
+ */
78
82
  height: string;
79
83
  size: string;
80
84
  }, never, never>, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"AccentIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/AccentIcon.tsx"],"names":[],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WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,CAAC;IACrE;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,4BAG1B,gBAAgB,KAAG,SAOpB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;mBAnC5B;;;;OAIG;;;wBAsDH,CAAC;AAgBH;;GAEG;AACH,eAAO,MAAM,UAAU,sFAiCrB,CAAC"}
@@ -24,7 +24,7 @@ export const accentIconStencil = createStencil({
24
24
  vars: {
25
25
  color: '',
26
26
  },
27
- base: { name: "3q6zwf", styles: "box-sizing:border-box;--size-svg-2af90b:3.5rem;& .color-500{fill:var(--color-accent-icon-66e130, var(--cnvs-sys-color-bg-primary-strong));}& .french-vanilla-100{fill:var(--cnvs-sys-color-bg-default);}" },
27
+ base: { name: "3q6zwf", styles: "box-sizing:border-box;--size-svg-bca693:3.5rem;& .color-500{fill:var(--color-accent-icon-66e130, var(--cnvs-sys-color-bg-primary-strong));}& .french-vanilla-100{fill:var(--cnvs-sys-color-bg-default);}" },
28
28
  modifiers: {
29
29
  transparent: {
30
30
  true: { name: "1sq2ty", styles: "& .french-vanilla-100{fill:transparent;}" }
@@ -33,8 +33,9 @@ export const accentIconStencil = createStencil({
33
33
  }, "accent-icon-66e130");
34
34
  /** @deprecated Deprecated in v11 */
35
35
  const transformColorNameToToken = (color) => {
36
- if (color && color in base) {
37
- return cssVar(base[color]);
36
+ const { legacy, ...baseTokens } = base;
37
+ if (color && color in baseTokens) {
38
+ return cssVar(baseTokens[color]);
38
39
  }
39
40
  if (color === null || color === void 0 ? void 0 : color.startsWith('--')) {
40
41
  return cssVar(color);
@@ -1 +1 @@
1
- {"version":3,"file":"AppletIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/AppletIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAC,aAAa,EAAsB,MAAM,kCAAkC,CAAC;AAGpF,OAAO,EAAC,gBAAgB,EAAkB,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAM,QAAQ,EAAa,MAAM,OAAO,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,eAE1B,gBAAgB,KAAG,SAsCrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,eACf,SAAQ,gBAAgB,EACtB,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,mBAAmB,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6B5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;CA4BrB,CAAC"}
1
+ {"version":3,"file":"AppletIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/AppletIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAC,aAAa,EAAsB,MAAM,kCAAkC,CAAC;AAGpF,OAAO,EAAC,gBAAgB,EAAkB,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAM,QAAQ,EAAa,MAAM,OAAO,CAAC;AAIhD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,eAE1B,gBAAgB,KAAG,SAsCrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,eACf,SAAQ,gBAAgB,EACtB,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,mBAAmB,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6B5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;CA4BrB,CAAC"}
@@ -2,9 +2,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { createComponent } from '@workday/canvas-kit-react/common';
3
3
  import { BrandingColor, colors } from '@workday/canvas-kit-react/tokens';
4
4
  import { createStencil, cssVar, handleCsProp, px2rem } from '@workday/canvas-kit-styling';
5
- import { base, system } from '@workday/canvas-tokens-web';
5
+ import { base as baseTokens, system } from '@workday/canvas-tokens-web';
6
6
  import { CanvasIconTypes } from '@workday/design-assets-types';
7
7
  import { Svg, svgStencil } from './Svg';
8
+ const { legacy, ...base } = baseTokens;
8
9
  /**
9
10
  * @deprecated `appletIconStyles` will be removed in in a future version as a part of implementation of stencils and new tokens. Consider to use `appletIconStencil` instead.
10
11
  */
@@ -54,8 +55,8 @@ export const appletIconStencil = createStencil({
54
55
  color400: '',
55
56
  color500: '',
56
57
  },
57
- base: { name: "22jqnb", styles: "box-sizing:border-box;--size-svg-2af90b:5.75rem;& .color-100{fill:var(--cnvs-sys-color-fg-inverse);}& .color-200{fill:var(--color200-applet-icon-52344d, var(--cnvs-base-palette-blue-200));}& .color-300{fill:var(--color300-applet-icon-52344d, var(--cnvs-base-palette-blue-400));}& .color-400{fill:var(--color400-applet-icon-52344d, var(--cnvs-base-palette-blue-600));}& .color-400-alpha-20{fill:var(--color400-applet-icon-52344d, var(--cnvs-base-palette-blue-600));}& .color-500{fill:var(--color500-applet-icon-52344d, var(--cnvs-base-palette-blue-700));}" }
58
- }, "applet-icon-52344d");
58
+ base: { name: "y6pw8", styles: "box-sizing:border-box;--size-svg-bca693:5.75rem;& .color-100{fill:var(--cnvs-sys-color-fg-inverse);}& .color-200{fill:var(--color200-applet-icon-e065f0, var(--cnvs-base-palette-blue-200));}& .color-300{fill:var(--color300-applet-icon-e065f0, var(--cnvs-base-palette-blue-400));}& .color-400{fill:var(--color400-applet-icon-e065f0, var(--cnvs-base-palette-blue-600));}& .color-400-alpha-20{fill:var(--color400-applet-icon-e065f0, var(--cnvs-base-palette-blue-600));}& .color-500{fill:var(--color500-applet-icon-e065f0, var(--cnvs-base-palette-blue-700));}" }
59
+ }, "applet-icon-e065f0");
59
60
  /**
60
61
  * @deprecated ⚠️ `AppletIcon` is deprecated and will be removed in a future major version. Deprecated in v15.0.0.
61
62
  */
@@ -16,7 +16,7 @@ export const expressiveIconStencil = createStencil({
16
16
  */
17
17
  accentColor: '',
18
18
  },
19
- base: { name: "qomoy", styles: "box-sizing:border-box;& svg{width:var(--size-svg-2af90b, var(--cnvs-component-expressive-icon-size-md, 3.5rem));height:var(--size-svg-2af90b, var(--cnvs-component-expressive-icon-size-md, 3.5rem));}.wd-expressive .wd-expressive-fill{fill:var(--color-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-fill));}.wd-expressive .wd-expressive-accent{fill:var(--accentColor-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-accent));}@media (prefers-contrast: more){.wd-expressive .wd-expressive-fill{color:currentColor;fill:currentColor;}.wd-expressive .wd-expressive-accent{color:transparent;fill:transparent;}}" }
19
+ base: { name: "qomoy", styles: "box-sizing:border-box;& svg{width:var(--size-svg-bca693, var(--cnvs-component-expressive-icon-size-md, 3.5rem));height:var(--size-svg-bca693, var(--cnvs-component-expressive-icon-size-md, 3.5rem));}.wd-expressive .wd-expressive-fill{fill:var(--color-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-fill));}.wd-expressive .wd-expressive-accent{fill:var(--accentColor-expressive-icon-4db5e5, var(--cnvs-component-expressive-icon-color-accent));}@media (prefers-contrast: more){.wd-expressive .wd-expressive-fill{color:currentColor;fill:currentColor;}.wd-expressive .wd-expressive-accent{color:transparent;fill:transparent;}}" }
20
20
  }, "expressive-icon-4db5e5");
21
21
  export const ExpressiveIcon = createComponent('span')({
22
22
  displayName: 'ExpressiveIcon',
@@ -80,7 +80,9 @@ export declare const graphicStencil: import("@workday/canvas-kit-styling").Stenc
80
80
  shouldMirrorInRTL: {
81
81
  true: {
82
82
  '&:dir(rtl)': {
83
- transform: string;
83
+ transform: string; /**
84
+ * The `alt` attribute for the image. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt#usage_notes) for more information.
85
+ */
84
86
  };
85
87
  };
86
88
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Graphic.d.ts","sourceRoot":"","sources":["../../../../icon/lib/Graphic.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,OAAO,EAAsC,MAAM,6BAA6B,CAAC;AAIzF;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,IAAI,CAA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SProps } from '@workday/canvas-kit-styling';
4
4
  import { CanvasIconTypes, CanvasSystemIcon } from '@workday/canvas-system-icons-web';
5
- import { CanvasIcon } from '@workday/design-assets-types';
5
+ import { CanvasIcon as LegacyCanvasIcon, CanvasIconTypes as LegacyIconTypes } from '@workday/design-assets-types';
6
6
  export interface SvgProps extends CSProps, HTMLAttributes<HTMLSpanElement> {
7
- src: CanvasSystemIcon | CanvasExpressiveIcon | CanvasIcon;
8
- type: CanvasIconTypes;
7
+ src: CanvasSystemIcon | CanvasExpressiveIcon | LegacyCanvasIcon;
8
+ type: CanvasIconTypes | LegacyIconTypes;
9
9
  /**
10
10
  * If set to `true`, transform the SVG's x-axis to mirror the graphic. Use this if you want to
11
11
  * always mirror the icon regardless of the content direction. If the SVG should mirror only when
@@ -1 +1 @@
1
- {"version":3,"file":"Svg.d.ts","sourceRoot":"","sources":["../../../../icon/lib/Svg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,OAAO,CAAC;AAErC,OAAO,EAAC,oBAAoB,EAAC,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAC,OAAO,EAA8C,MAAM,6BAA6B,CAAC;AACjG,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAExD,MAAM,WAAW,QAAS,SAAQ,OAAO,EAAE,cAAc,CAAC,eAAe,CAAC;IACxE,GAAG,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,UAAU,CAAC;IAC1D,IAAI,EAAE,eAAe,CAAC;IACtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;IAEnB;;OAEG;;IAEH;;OAEG;;IAEH,2CAA2C;;gBAyB7C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,WAAW,0FAGrB,MAUF,CAAC;AAEF,eAAO,MAAM,GAAG,+EAoBd,CAAC"}
1
+ {"version":3,"file":"Svg.d.ts","sourceRoot":"","sources":["../../../../icon/lib/Svg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,OAAO,CAAC;AAErC,OAAO,EAAC,oBAAoB,EAAC,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAC,OAAO,EAA8C,MAAM,6BAA6B,CAAC;AACjG,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AACnF,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,eAAe,IAAI,eAAe,EACnC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,QAAS,SAAQ,OAAO,EAAE,cAAc,CAAC,eAAe,CAAC;IACxE,GAAG,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;IAChE,IAAI,EAAE,eAAe,GAAG,eAAe,CAAC;IACxC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;IAEnB;;OAEG;;IAEH;;OAEG;;IAEH,2CAA2C;;gBAyB7C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,WAAW,0FAGrB,MAUF,CAAC;AAEF,eAAO,MAAM,GAAG,+EAoBd,CAAC"}
@@ -14,16 +14,16 @@ export const svgStencil = createStencil({
14
14
  /** sets width and height of svg element */
15
15
  size: '',
16
16
  },
17
- base: { name: "29ffbs", styles: "box-sizing:border-box;display:inline-block;> svg{display:block;width:var(--width-svg-2af90b, var(--size-svg-2af90b));height:var(--height-svg-2af90b, var(--size-svg-2af90b));}" },
17
+ base: { name: "39le0l", styles: "box-sizing:border-box;display:inline-block;> svg{display:block;width:var(--width-svg-bca693, var(--size-svg-bca693));height:var(--height-svg-bca693, var(--size-svg-bca693));}" },
18
18
  modifiers: {
19
19
  shouldMirror: {
20
- true: { name: "34necu", styles: "transform:scaleX(-1);" }
20
+ true: { name: "wfmwu", styles: "transform:scaleX(-1);" }
21
21
  },
22
22
  shouldMirrorInRTL: {
23
- true: { name: "2g4so", styles: "&:dir(rtl){transform:scaleX(-1);}" }
23
+ true: { name: "1rrkpt", styles: "&:dir(rtl){transform:scaleX(-1);}" }
24
24
  }
25
25
  }
26
- }, "svg-2af90b");
26
+ }, "svg-bca693");
27
27
  /**
28
28
  * Resolves the size of the SVG based on the size token or string / numeric (px) value.
29
29
  * @param size - The size variant or string / numeric (px) value.
@@ -1,4 +1,5 @@
1
1
  import { CanvasSystemIcon } from '@workday/canvas-system-icons-web';
2
+ import { CanvasSystemIcon as LegacyCanvasSystemIcon } from '@workday/design-assets-types';
2
3
  import { SvgProps } from './Svg';
3
4
  type SystemSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
5
  export interface SystemIconProps extends Omit<SvgProps, 'src' | 'type'> {
@@ -17,7 +18,7 @@ export interface SystemIconProps extends Omit<SvgProps, 'src' | 'type'> {
17
18
  /**
18
19
  * The icon to display from `@workday/canvas-system-icons-web`.
19
20
  */
20
- icon: CanvasSystemIcon;
21
+ icon: CanvasSystemIcon | LegacyCanvasSystemIcon;
21
22
  /**
22
23
  * The size of the SystemIcon in size variants or string / numeric (px) values.
23
24
  * **System icon sizes**
@@ -1 +1 @@
1
- {"version":3,"file":"SystemIcon.d.ts","sourceRoot":"","sources":["../../../../icon/lib/SystemIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAGnF,OAAO,EAAM,QAAQ,EAA0B,MAAM,OAAO,CAAC;AAE7D,KAAK,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3D,M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ED,eAAO,MAAM,iBAAiB;IAG1B;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;wBA+BL,CAAC;AAEH,eAAO,MAAM,UAAU,sFAyBrB,CAAC"}
@@ -22,10 +22,10 @@ export const systemIconStencil = createStencil({
22
22
  */
23
23
  backgroundColor: '',
24
24
  },
25
- base: { name: "1j633o", styles: "box-sizing:border-box;& svg{width:var(--size-svg-2af90b, var(--cnvs-component-system-icon-size-lg, 1.5rem));height:var(--size-svg-2af90b, var(--cnvs-component-system-icon-size-lg, 1.5rem));}.wd-icon .wd-icon-fill{fill:var(--color-system-icon-f4b83b, var(--cnvs-component-system-icon-color-fill));}.wd-icon .wd-icon-accent, & .wd-icon-accent2{fill:var(--accentColor-system-icon-f4b83b, var(--color-system-icon-f4b83b, var(--cnvs-component-system-icon-color-accent)));}.wd-icon .wd-icon-background{fill:var(--backgroundColor-system-icon-f4b83b, transparent);}@media (prefers-contrast: more){.wd-icon .wd-icon-fill, .wd-icon .wd-icon-accent{color:currentColor;fill:currentColor;}}" },
25
+ base: { name: "2fw5zg", styles: "box-sizing:border-box;& svg{width:var(--size-svg-bca693, var(--cnvs-component-system-icon-size-lg, 1.5rem));height:var(--size-svg-bca693, var(--cnvs-component-system-icon-size-lg, 1.5rem));}.wd-icon .wd-icon-fill{fill:var(--color-system-icon-2a31cf, var(--cnvs-component-system-icon-color-fill));}.wd-icon .wd-icon-accent, & .wd-icon-accent2{fill:var(--accentColor-system-icon-2a31cf, var(--color-system-icon-2a31cf, var(--cnvs-component-system-icon-color-accent)));}.wd-icon .wd-icon-background{fill:var(--backgroundColor-system-icon-2a31cf, transparent);}@media (prefers-contrast: more){.wd-icon .wd-icon-fill, .wd-icon .wd-icon-accent{color:currentColor;fill:currentColor;}}" },
26
26
  // Keeps parent stencil `ME` inferred as `{}` so extending stencils keep correct boolean modifier typings.
27
27
  modifiers: {}
28
- }, "system-icon-f4b83b");
28
+ }, "system-icon-2a31cf");
29
29
  export const SystemIcon = createComponent('span')({
30
30
  displayName: 'SystemIcon',
31
31
  Component: ({ accent, background, color, icon, size, ...elemProps }, ref, Element) => {
@@ -1,5 +1,6 @@
1
1
  import { CSProps } from '@workday/canvas-kit-styling';
2
2
  import { CanvasSystemIcon } from '@workday/canvas-system-icons-web';
3
+ import { CanvasSystemIcon as LegacyCanvasSystemIcon } from '@workday/design-assets-types';
3
4
  export declare enum SystemIconCircleSize {
4
5
  xs = 16,
5
6
  s = 24,
@@ -10,9 +11,9 @@ export declare enum SystemIconCircleSize {
10
11
  }
11
12
  type SystemIconCircleCommonProps = {
12
13
  /**
13
- * The icon to display from `@workday/canvas-accent-icons-web`.
14
+ * The icon to display from `@workday/canvas-system-icons-web`.
14
15
  */
15
- icon: CanvasSystemIcon;
16
+ icon: CanvasSystemIcon | LegacyCanvasSystemIcon;
16
17
  /**
17
18
  * The size token of the SystemIconCircle.
18
19
  * @default SystemIconCircleSize.l
@@ -1 +1 @@
1
- {"version":3,"file":"SystemIconCircle.d.ts","sourceRoot":"","sources":["../../../../icon/lib/SystemIconCircle.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAMR,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAOlE,oBAAY,oBAAoB;IAC9B,EAAE,KAAK;IACP,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,EAAE,KAAK;IACP,GAAG,MAAM;CACV;AAcD,KAAK,2BAA2B,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACn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CAAC,EAAE,KAAK,CAAA;CAAC,CAAC,GACnE,CAAC,2BAA2B,GAAG;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC;AAExE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;gBAgDlC,CAAC;AAEH,eAAO,MAAM,gBAAgB,4FAsC3B,CAAC"}
@@ -31,13 +31,13 @@ export const systemIconCircleStencil = createStencil({
31
31
  color: '',
32
32
  size: '',
33
33
  },
34
- base: { name: "3i8g98", styles: "box-sizing:border-box;background:var(--background-system-icon-circle-20bf5c, var(--cnvs-sys-color-surface-alt-default, var(--cnvs-sys-color-bg-alt-soft)));display:flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round));overflow:hidden;width:var(--size-system-icon-circle-20bf5c, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));height:var(--size-system-icon-circle-20bf5c, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));--size-svg-2af90b:calc(var(--size-system-icon-circle-20bf5c, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10))) * 0.625);--color-system-icon-f4b83b:var(--color-system-icon-circle-20bf5c);& img{width:100%;height:100%;}" },
34
+ base: { name: "16tjc7", styles: "box-sizing:border-box;background:var(--background-system-icon-circle-ca476e, var(--cnvs-sys-color-surface-alt-default, var(--cnvs-sys-color-bg-alt-soft)));display:flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round));overflow:hidden;width:var(--size-system-icon-circle-ca476e, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));height:var(--size-system-icon-circle-ca476e, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10)));--size-svg-bca693:calc(var(--size-system-icon-circle-ca476e, var(--cnvs-sys-size-md, var(--cnvs-sys-space-x10))) * 0.625);--color-system-icon-2a31cf:var(--color-system-icon-circle-ca476e);& img{width:100%;height:100%;}" },
35
35
  modifiers: {
36
36
  inverse: {
37
- true: { name: "360jpw", styles: "background:var(--background-system-icon-circle-20bf5c, var(--cnvs-sys-color-accent-info, var(--cnvs-sys-color-bg-primary-default)));--color-system-icon-f4b83b:var(--color-system-icon-circle-20bf5c, var(--cnvs-sys-color-fg-inverse));" }
37
+ true: { name: "4d7llj", styles: "background:var(--background-system-icon-circle-ca476e, var(--cnvs-sys-color-accent-info, var(--cnvs-sys-color-bg-primary-default)));--color-system-icon-2a31cf:var(--color-system-icon-circle-ca476e, var(--cnvs-sys-color-fg-inverse));" }
38
38
  }
39
39
  }
40
- }, "system-icon-circle-20bf5c");
40
+ }, "system-icon-circle-ca476e");
41
41
  export const SystemIconCircle = createComponent('span')({
42
42
  displayName: 'SystemIconCircle',
43
43
  Component: ({ background, color, size, icon, shouldMirror, shouldMirrorInRTL, inverse, ...elemProps }, ref, Element) => {
@@ -64,7 +64,9 @@ export declare const useSidePanelToggleButton: import("@workday/canvas-kit-react
64
64
  panelId: string;
65
65
  labelId: string;
66
66
  transitionState: import("./useSidePanelModel").SidePanelTransitionStates;
67
- initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates;
67
+ initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates; /**
68
+ * Provides an accessible label to the button. This text **should not** convey visual state but rather what it does like "control data panel."
69
+ */
68
70
  origin: "end" | "start";
69
71
  onStateTransition(state: import("./useSidePanelModel").SidePanelTransitionStates): void;
70
72
  };
@@ -84,7 +86,9 @@ export declare const SidePanelToggleButton: import("@workday/canvas-kit-react/co
84
86
  panelId: string;
85
87
  labelId: string;
86
88
  transitionState: import("./useSidePanelModel").SidePanelTransitionStates;
87
- initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates;
89
+ initialTransitionState: import("./useSidePanelModel").SidePanelTransitionStates; /**
90
+ * Provides an accessible label to the button. This text **should not** convey visual state but rather what it does like "control data panel."
91
+ */
88
92
  origin: "end" | "start";
89
93
  onStateTransition(state: import("./useSidePanelModel").SidePanelTransitionStates): void;
90
94
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SidePanelToggleButton.d.ts","sourceRoot":"","sources":["../../../../side-panel/lib/SidePanelToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAChE,OAAO,EACL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAU,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAOxE,MAAM,WAAW,0BAA2B,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACrF;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;CAC/C;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsGvC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EA+CjC,CAAC"}
1
+ {"version":3,"file":"SidePanelToggleButton.d.ts","sourceRoot":"","sources":["../../../../side-panel/lib/SidePanelToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAChE,OAAO,EACL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAU,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAOxE,MAAM,WAAW,0BAA2B,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACrF;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;CAC/C;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsGvC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;yFAnHnC;;WAEG;;;;;;;;;;;;;;EAuHH,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;yFA3HhC;;WAEG;;;;;;;;;;EAwKJ,CAAC"}
@@ -3,42 +3,42 @@ import { TertiaryButton } from '@workday/canvas-kit-react/button';
3
3
  import { createElemPropsHook, createSubcomponent, } from '@workday/canvas-kit-react/common';
4
4
  import { Tooltip } from '@workday/canvas-kit-react/tooltip';
5
5
  import { createStencil, cssVar, handleCsProp } from '@workday/canvas-kit-styling';
6
- import { transformationImportIcon } from '@workday/canvas-system-icons-web';
6
+ import { extendIcon } from '@workday/canvas-system-icons-web';
7
7
  import { base, system } from '@workday/canvas-tokens-web';
8
8
  import { useSidePanelModel } from './useSidePanelModel';
9
9
  export const sidePanelToggleButtonStencil = createStencil({
10
- base: { name: "hlh4f", styles: "box-sizing:border-box;position:absolute;top:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x6));width:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x8));inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));" },
10
+ base: { name: "3a8or0", styles: "box-sizing:border-box;position:absolute;top:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x6));width:var(--cnvs-sys-gap-lg, var(--cnvs-sys-space-x8));inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));" },
11
11
  modifiers: {
12
12
  state: {
13
- collapsing: { name: "11e02h", styles: "margin:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
14
- collapsed: { name: "21myyu", styles: "margin:auto;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
15
- expanded: { name: "3bc4ff", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" },
16
- expanding: { name: "3jdzk3", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
13
+ collapsing: { name: "3t06d", styles: "margin:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
14
+ collapsed: { name: "3olm9d", styles: "margin:auto;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
15
+ expanded: { name: "1vyxp8", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" },
16
+ expanding: { name: "mzm9w", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
17
17
  },
18
18
  origin: {
19
- start: { name: "45375r", styles: "" },
20
- end: { name: "4bbju", styles: "transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" }
19
+ start: { name: "b910p", styles: "" },
20
+ end: { name: "48gumm", styles: "transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" }
21
21
  }
22
22
  },
23
23
  compound: [
24
24
  {
25
25
  modifiers: { state: 'collapsed', origin: 'end' },
26
- styles: { name: "2gssqq", styles: "transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
26
+ styles: { name: "2xv750", styles: "transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
27
27
  },
28
28
  {
29
29
  modifiers: { state: 'collapsing', origin: 'end' },
30
- styles: { name: "8bwyj", styles: "transform:scaleX(-1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
30
+ styles: { name: "17ywis", styles: "transform:scaleX(-1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
31
31
  },
32
32
  {
33
33
  modifiers: { state: 'expanded', origin: 'end' },
34
- styles: { name: "1bd77z", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
34
+ styles: { name: "36emce", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
35
35
  },
36
36
  {
37
37
  modifiers: { state: 'expanding', origin: 'end' },
38
- styles: { name: "2nygsg", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
38
+ styles: { name: "13en60", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));:dir(rtl){transform:scaleX(-1);inset-inline-end:var(--cnvs-base-size-150, var(--cnvs-sys-space-x3));}" }
39
39
  }
40
40
  ]
41
- }, "side-panel-toggle-button-355ace");
41
+ }, "side-panel-toggle-button-1db1a4");
42
42
  export const useSidePanelToggleButton = createElemPropsHook(useSidePanelModel)(({ state }) => {
43
43
  return {
44
44
  'aria-controls': state.panelId,
@@ -50,7 +50,7 @@ export const SidePanelToggleButton = createSubcomponent('button')({
50
50
  displayName: 'SidePanel.ToggleButton',
51
51
  modelHook: useSidePanelModel,
52
52
  elemPropsHook: useSidePanelToggleButton,
53
- })(({ variant = undefined, icon = transformationImportIcon, tooltipTextExpand = 'Expand View', tooltipTextCollapse = 'Collapse View', tooltipProps, tooltipText, ...elemProps }, Element, model) => {
53
+ })(({ variant = undefined, icon = extendIcon, tooltipTextExpand = 'Expand View', tooltipTextCollapse = 'Collapse View', tooltipProps, tooltipText, ...elemProps }, Element, model) => {
54
54
  return (_jsx(Tooltip, { type: "muted", ...tooltipProps, title: tooltipText ||
55
55
  (model.state.transitionState === 'expanded' ? tooltipTextCollapse : tooltipTextExpand), children: _jsx(TertiaryButton, { icon: icon, as: Element, variant: variant, "aria-label": tooltipText, ...handleCsProp(elemProps, sidePanelToggleButtonStencil({
56
56
  state: model.state.transitionState,
@@ -97,8 +97,9 @@ export const accentIconStencil = createStencil({
97
97
 
98
98
  /** @deprecated Deprecated in v11 */
99
99
  const transformColorNameToToken = (color?: string) => {
100
- if (color && color in base) {
101
- return cssVar(base[color as keyof typeof base]);
100
+ const {legacy, ...baseTokens} = base;
101
+ if (color && color in baseTokens) {
102
+ return cssVar(baseTokens[color as keyof typeof baseTokens]);
102
103
  }
103
104
 
104
105
  if (color?.startsWith('--')) {
@@ -3,11 +3,13 @@ import {CSSObject} from '@emotion/styled';
3
3
  import {createComponent} from '@workday/canvas-kit-react/common';
4
4
  import {BrandingColor, CanvasColor, colors} from '@workday/canvas-kit-react/tokens';
5
5
  import {createStencil, cssVar, handleCsProp, px2rem} from '@workday/canvas-kit-styling';
6
- import {base, system} from '@workday/canvas-tokens-web';
6
+ import {base as baseTokens, system} from '@workday/canvas-tokens-web';
7
7
  import {CanvasAppletIcon, CanvasIconTypes} from '@workday/design-assets-types';
8
8
 
9
9
  import {Svg, SvgProps, svgStencil} from './Svg';
10
10
 
11
+ const {legacy, ...base} = baseTokens;
12
+
11
13
  /**
12
14
  * @deprecated Interface `AppletIconStyles` will be removed in a future version. All props will be moved inside `AppletIconProps`.
13
15
  */
package/icon/lib/Svg.tsx CHANGED
@@ -4,11 +4,14 @@ import {CanvasExpressiveIcon} from '@workday/canvas-expressive-icons-web';
4
4
  import {createComponent} from '@workday/canvas-kit-react/common';
5
5
  import {CSProps, createStencil, cssVar, handleCsProp, px2rem} from '@workday/canvas-kit-styling';
6
6
  import {CanvasIconTypes, CanvasSystemIcon} from '@workday/canvas-system-icons-web';
7
- import {CanvasIcon} from '@workday/design-assets-types';
7
+ import {
8
+ CanvasIcon as LegacyCanvasIcon,
9
+ CanvasIconTypes as LegacyIconTypes,
10
+ } from '@workday/design-assets-types';
8
11
 
9
12
  export interface SvgProps extends CSProps, HTMLAttributes<HTMLSpanElement> {
10
- src: CanvasSystemIcon | CanvasExpressiveIcon | CanvasIcon;
11
- type: CanvasIconTypes;
13
+ src: CanvasSystemIcon | CanvasExpressiveIcon | LegacyCanvasIcon;
14
+ type: CanvasIconTypes | LegacyIconTypes;
12
15
  /**
13
16
  * If set to `true`, transform the SVG's x-axis to mirror the graphic. Use this if you want to
14
17
  * always mirror the icon regardless of the content direction. If the SVG should mirror only when
@@ -2,6 +2,7 @@ import {createComponent} from '@workday/canvas-kit-react/common';
2
2
  import {createStencil, cssVar, handleCsProp, px2rem} from '@workday/canvas-kit-styling';
3
3
  import {CanvasIconTypes, CanvasSystemIcon} from '@workday/canvas-system-icons-web';
4
4
  import {component} from '@workday/canvas-tokens-web';
5
+ import {CanvasSystemIcon as LegacyCanvasSystemIcon} from '@workday/design-assets-types';
5
6
 
6
7
  import {Svg, SvgProps, resolveSize, svgStencil} from './Svg';
7
8
 
@@ -23,7 +24,7 @@ export interface SystemIconProps extends Omit<SvgProps, 'src' | 'type'> {
23
24
  /**
24
25
  * The icon to display from `@workday/canvas-system-icons-web`.
25
26
  */
26
- icon: CanvasSystemIcon;
27
+ icon: CanvasSystemIcon | LegacyCanvasSystemIcon;
27
28
  /**
28
29
  * The size of the SystemIcon in size variants or string / numeric (px) values.
29
30
  * **System icon sizes**
@@ -9,6 +9,7 @@ import {
9
9
  } from '@workday/canvas-kit-styling';
10
10
  import {CanvasSystemIcon} from '@workday/canvas-system-icons-web';
11
11
  import {system} from '@workday/canvas-tokens-web';
12
+ import {CanvasSystemIcon as LegacyCanvasSystemIcon} from '@workday/design-assets-types';
12
13
 
13
14
  import {resolveSize} from './Svg';
14
15
  import {SystemIcon, systemIconStencil} from './SystemIcon';
@@ -37,9 +38,9 @@ const sizes = {
37
38
 
38
39
  type SystemIconCircleCommonProps = {
39
40
  /**
40
- * The icon to display from `@workday/canvas-accent-icons-web`.
41
+ * The icon to display from `@workday/canvas-system-icons-web`.
41
42
  */
42
- icon: CanvasSystemIcon;
43
+ icon: CanvasSystemIcon | LegacyCanvasSystemIcon;
43
44
  /**
44
45
  * The size token of the SystemIconCircle.
45
46
  * @default SystemIconCircleSize.l
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "15.0.0-alpha.0314-next.0",
3
+ "version": "15.0.0-alpha.0316-next.0",
4
4
  "description": "The parent module that contains all Workday Canvas Kit React components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -53,11 +53,11 @@
53
53
  "@tanstack/react-virtual": "^3.13.9",
54
54
  "@workday/canvas-colors-web": "^2.0.0",
55
55
  "@workday/canvas-expressive-icons-web": "1.0.1",
56
- "@workday/canvas-kit-popup-stack": "^15.0.0-alpha.0314-next.0",
57
- "@workday/canvas-kit-preview-react": "^15.0.0-alpha.0314-next.0",
58
- "@workday/canvas-kit-styling": "^15.0.0-alpha.0314-next.0",
56
+ "@workday/canvas-kit-popup-stack": "^15.0.0-alpha.0316-next.0",
57
+ "@workday/canvas-kit-preview-react": "^15.0.0-alpha.0316-next.0",
58
+ "@workday/canvas-kit-styling": "^15.0.0-alpha.0316-next.0",
59
59
  "@workday/canvas-system-icons-web": "4.0.2",
60
- "@workday/canvas-tokens-web": "4.2.0",
60
+ "@workday/canvas-tokens-web": "4.3.0",
61
61
  "@workday/design-assets-types": "^0.3.0",
62
62
  "chroma-js": "^2.2.0",
63
63
  "csstype": "^3.0.2",
@@ -70,5 +70,5 @@
70
70
  "@workday/canvas-accent-icons-web": "^3.0.0",
71
71
  "@workday/canvas-applet-icons-web": "^2.0.0"
72
72
  },
73
- "gitHead": "a9acd08c80db85f9a2f1e022fe18a4261cafec80"
73
+ "gitHead": "f4f62be1980c79e999f82678036ed1573e1a6afd"
74
74
  }
@@ -8,7 +8,7 @@ import {
8
8
  } from '@workday/canvas-kit-react/common';
9
9
  import {Tooltip, TooltipProps} from '@workday/canvas-kit-react/tooltip';
10
10
  import {createStencil, cssVar, handleCsProp} from '@workday/canvas-kit-styling';
11
- import {transformationImportIcon} from '@workday/canvas-system-icons-web';
11
+ import {extendIcon} from '@workday/canvas-system-icons-web';
12
12
  import {base, system} from '@workday/canvas-tokens-web';
13
13
 
14
14
  import {useSidePanelModel} from './useSidePanelModel';
@@ -150,7 +150,7 @@ export const SidePanelToggleButton = createSubcomponent('button')({
150
150
  (
151
151
  {
152
152
  variant = undefined,
153
- icon = transformationImportIcon,
153
+ icon = extendIcon,
154
154
  tooltipTextExpand = 'Expand View',
155
155
  tooltipTextCollapse = 'Collapse View',
156
156
  tooltipProps,