@workday/canvas-kit-react 7.2.0-next.0 → 8.0.0-alpha.118-next.1

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 (108) hide show
  1. package/action-bar/lib/ActionBarList.tsx +3 -3
  2. package/collection/lib/ListBox.tsx +1 -1
  3. package/collection/lib/useListRenderItem.tsx +24 -14
  4. package/common/lib/InputProvider.tsx +1 -1
  5. package/common/lib/utils/StaticStates.tsx +2 -2
  6. package/common/lib/utils/components.ts +3 -3
  7. package/dist/commonjs/action-bar/lib/ActionBar.d.ts +2 -2
  8. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +3 -3
  9. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
  10. package/dist/commonjs/collection/lib/ListBox.d.ts +1 -1
  11. package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
  12. package/dist/commonjs/collection/lib/useListRenderItem.d.ts +1 -1
  13. package/dist/commonjs/collection/lib/useListRenderItem.d.ts.map +1 -1
  14. package/dist/commonjs/collection/lib/useListRenderItem.js +21 -11
  15. package/dist/commonjs/common/lib/InputProvider.d.ts +2 -2
  16. package/dist/commonjs/common/lib/InputProvider.d.ts.map +1 -1
  17. package/dist/commonjs/common/lib/utils/StaticStates.d.ts +2 -2
  18. package/dist/commonjs/common/lib/utils/StaticStates.d.ts.map +1 -1
  19. package/dist/commonjs/common/lib/utils/components.d.ts +3 -3
  20. package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
  21. package/dist/commonjs/form-field/lib/FormField.d.ts +1 -1
  22. package/dist/commonjs/form-field/lib/FormField.d.ts.map +1 -1
  23. package/dist/commonjs/form-field/lib/Label.d.ts +1 -1
  24. package/dist/commonjs/form-field/lib/Label.d.ts.map +1 -1
  25. package/dist/commonjs/layout/lib/utils/types.d.ts +11 -1
  26. package/dist/commonjs/layout/lib/utils/types.d.ts.map +1 -1
  27. package/dist/commonjs/layout/lib/utils/types.js +2 -0
  28. package/dist/commonjs/menu/lib/Menu.d.ts +1 -1
  29. package/dist/commonjs/menu/lib/MenuList.d.ts +3 -3
  30. package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
  31. package/dist/commonjs/modal/lib/ModalOverlay.d.ts +0 -1
  32. package/dist/commonjs/modal/lib/ModalOverlay.d.ts.map +1 -1
  33. package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -1
  34. package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
  35. package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts +1 -1
  36. package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
  37. package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +1 -1
  38. package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts.map +1 -1
  39. package/dist/commonjs/tabs/lib/Tabs.d.ts +4 -4
  40. package/dist/commonjs/tabs/lib/TabsList.d.ts +2 -2
  41. package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
  42. package/dist/commonjs/tabs/lib/TabsPanel.d.ts +2 -2
  43. package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
  44. package/dist/commonjs/tabs/lib/TabsPanels.d.ts +2 -2
  45. package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
  46. package/dist/commonjs/text-input/lib/InputIconContainer.d.ts +1 -1
  47. package/dist/commonjs/text-input/lib/InputIconContainer.d.ts.map +1 -1
  48. package/dist/es6/action-bar/lib/ActionBar.d.ts +3 -3
  49. package/dist/es6/action-bar/lib/ActionBarList.d.ts +3 -3
  50. package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
  51. package/dist/es6/button/lib/BaseButton.d.ts +1 -1
  52. package/dist/es6/collection/lib/ListBox.d.ts +1 -1
  53. package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
  54. package/dist/es6/collection/lib/useListRenderItem.d.ts +1 -1
  55. package/dist/es6/collection/lib/useListRenderItem.d.ts.map +1 -1
  56. package/dist/es6/collection/lib/useListRenderItem.js +21 -11
  57. package/dist/es6/common/lib/InputProvider.d.ts +2 -2
  58. package/dist/es6/common/lib/InputProvider.d.ts.map +1 -1
  59. package/dist/es6/common/lib/utils/StaticStates.d.ts +2 -2
  60. package/dist/es6/common/lib/utils/StaticStates.d.ts.map +1 -1
  61. package/dist/es6/common/lib/utils/components.d.ts +6 -6
  62. package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
  63. package/dist/es6/form-field/lib/FormField.d.ts +1 -1
  64. package/dist/es6/form-field/lib/FormField.d.ts.map +1 -1
  65. package/dist/es6/form-field/lib/Label.d.ts +1 -1
  66. package/dist/es6/form-field/lib/Label.d.ts.map +1 -1
  67. package/dist/es6/layout/lib/utils/types.d.ts +11 -1
  68. package/dist/es6/layout/lib/utils/types.d.ts.map +1 -1
  69. package/dist/es6/layout/lib/utils/types.js +2 -0
  70. package/dist/es6/menu/lib/Menu.d.ts +2 -2
  71. package/dist/es6/menu/lib/MenuItem.d.ts +1 -1
  72. package/dist/es6/menu/lib/MenuList.d.ts +3 -3
  73. package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
  74. package/dist/es6/modal/lib/ModalOverlay.d.ts +0 -1
  75. package/dist/es6/modal/lib/ModalOverlay.d.ts.map +1 -1
  76. package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -1
  77. package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
  78. package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts +1 -1
  79. package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
  80. package/dist/es6/pagination/lib/Pagination/PageList.d.ts +1 -1
  81. package/dist/es6/pagination/lib/Pagination/PageList.d.ts.map +1 -1
  82. package/dist/es6/tabs/lib/Tabs.d.ts +5 -5
  83. package/dist/es6/tabs/lib/TabsItem.d.ts +1 -1
  84. package/dist/es6/tabs/lib/TabsList.d.ts +2 -2
  85. package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
  86. package/dist/es6/tabs/lib/TabsPanel.d.ts +2 -2
  87. package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
  88. package/dist/es6/tabs/lib/TabsPanels.d.ts +2 -2
  89. package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
  90. package/dist/es6/text-input/lib/InputIconContainer.d.ts +1 -1
  91. package/dist/es6/text-input/lib/InputIconContainer.d.ts.map +1 -1
  92. package/dist/es6/tooltip/lib/TooltipContainer.d.ts +1 -1
  93. package/form-field/lib/FormField.tsx +1 -1
  94. package/form-field/lib/Label.tsx +1 -1
  95. package/layout/lib/utils/types.ts +64 -13
  96. package/menu/lib/MenuList.tsx +3 -2
  97. package/modal/lib/ModalOverlay.tsx +2 -4
  98. package/package.json +6 -7
  99. package/pagination/lib/Pagination/AdditionalDetails.tsx +1 -1
  100. package/pagination/lib/Pagination/GoTo/Label.tsx +2 -1
  101. package/pagination/lib/Pagination/PageList.tsx +1 -1
  102. package/popup/lib/hooks/useCloseOnFullscreenExit.ts +1 -1
  103. package/popup/lib/hooks/useTransferOnFullscreenEnter.ts +1 -1
  104. package/popup/lib/hooks/useTransferOnFullscreenExit.ts +1 -1
  105. package/tabs/lib/TabsList.tsx +2 -1
  106. package/tabs/lib/TabsPanel.tsx +1 -1
  107. package/tabs/lib/TabsPanels.tsx +1 -1
  108. package/text-input/lib/InputIconContainer.tsx +3 -5
@@ -1519,7 +1519,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
1519
1519
  * )
1520
1520
  * }
1521
1521
  */
1522
- List: import("../../common").ElementComponentM<"div", import("./MenuList").MenuListProps, {
1522
+ List: import("../../common").ElementComponentM<"div", import("./MenuList").MenuListProps<any>, {
1523
1523
  state: {
1524
1524
  stackRef: React.RefObject<HTMLDivElement>;
1525
1525
  targetRef: React.RefObject<HTMLButtonElement>;
@@ -1671,7 +1671,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
1671
1671
  Icon: import("../../common").ElementComponent<"span", import("../..").SystemIconProps>;
1672
1672
  Text: import("@emotion/styled").StyledComponent<{
1673
1673
  theme?: import("@emotion/react").Theme | undefined;
1674
- as?: "symbol" | "object" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "clipPath" | "filter" | "mask" | "marker" | "big" | "link" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
1674
+ as?: "symbol" | "object" | "s" | "big" | "link" | "small" | "sub" | "sup" | "circle" | "stop" | "path" | "style" | "map" | "filter" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
1675
1675
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
1676
1676
  };
1677
1677
  Divider: import("../../common").ElementComponent<"hr", unknown>;
@@ -139,7 +139,7 @@ export declare const MenuItem: import("../../common").ElementComponentM<"button"
139
139
  Icon: import("../../common").ElementComponent<"span", import("../../icon").SystemIconProps>;
140
140
  Text: import("@emotion/styled").StyledComponent<{
141
141
  theme?: import("@emotion/react").Theme | undefined;
142
- as?: "symbol" | "object" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "clipPath" | "filter" | "mask" | "marker" | "big" | "link" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
142
+ as?: "symbol" | "object" | "s" | "big" | "link" | "small" | "sub" | "sup" | "circle" | "stop" | "path" | "style" | "map" | "filter" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
143
143
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
144
144
  };
145
145
  //# sourceMappingURL=MenuItem.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { ExtractProps } from '@workday/canvas-kit-react/common';
3
3
  import { Stack } from '@workday/canvas-kit-react/layout';
4
- export interface MenuListProps extends Partial<ExtractProps<typeof Stack, never>> {
4
+ export interface MenuListProps<T = any> extends Omit<Partial<ExtractProps<typeof Stack, never>>, 'children'> {
5
5
  /**
6
6
  * The label text of the MenuList.
7
7
  */
8
- children: React.ReactNode;
8
+ children: React.ReactNode | ((item: T) => React.ReactNode);
9
9
  }
10
10
  export declare const useMenuList: <P extends {}, R>(model: {
11
11
  state: {
@@ -80,7 +80,7 @@ export declare const useMenuList: <P extends {}, R>(model: {
80
80
  } & P & (R extends HTMLOrSVGElement ? {
81
81
  ref: React.Ref<R>;
82
82
  } : {});
83
- export declare const MenuList: import("../../common").ElementComponentM<"div", MenuListProps, {
83
+ export declare const MenuList: import("../../common").ElementComponentM<"div", MenuListProps<any>, {
84
84
  state: {
85
85
  stackRef: React.RefObject<HTMLDivElement>;
86
86
  targetRef: React.RefObject<HTMLButtonElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"MenuList.d.ts","sourceRoot":"","sources":["../../../../menu/lib/MenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAGL,YAAY,EACb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,KAAK,EAAC,MAAM,kCAAkC,CAAC;AAIvD,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,YAAY,CAAC,OAAO,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAKtB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBnB,CAAC"}
1
+ {"version":3,"file":"MenuList.d.ts","sourceRoot":"","sources":["../../../../menu/lib/MenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAGL,YAAY,EACb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,KAAK,EAAC,MAAM,kCAAkC,CAAC;AAIvD,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,GAAG,CACpC,SAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,KAAK,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;IACpE;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC5D;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAKtB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBnB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BoxProps } from '@workday/canvas-kit-react/layout';
3
3
  export interface ModalOverlayProps extends BoxProps {
4
- children: React.ReactNode;
5
4
  }
6
5
  export declare const ModalOverlay: import("../../common").ElementComponentM<"div", ModalOverlayProps, {
7
6
  state: {
@@ -1 +1 @@
1
- {"version":3,"file":"ModalOverlay.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAM,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAG/D,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AA+CD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;OAQ1B,CAAC"}
1
+ {"version":3,"file":"ModalOverlay.d.ts","sourceRoot":"","sources":["../../../../modal/lib/ModalOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAM,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAG/D,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;CAAG;AA+CtD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;OAQ1B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { PaginationModel } from './types';
3
3
  import { FlexProps } from '@workday/canvas-kit-react/layout';
4
- export interface AdditionalDetailsProps extends FlexProps {
4
+ export interface AdditionalDetailsProps extends Omit<FlexProps, 'children'> {
5
5
  children: (model: PaginationModel) => React.ReactNode | React.ReactNode;
6
6
  model: PaginationModel;
7
7
  shouldAnnounceToScreenReader?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"AdditionalDetails.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/AdditionalDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAO,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAGjE,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;IACxE,KAAK,EAAE,eAAe,CAAC;IACvB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAuBD,eAAO,MAAM,iBAAiB,oEAK3B,sBAAsB,gBAQxB,CAAC"}
1
+ {"version":3,"file":"AdditionalDetails.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/AdditionalDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAO,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAGjE,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IACzE,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;IACxE,KAAK,EAAE,eAAe,CAAC;IACvB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAuBD,eAAO,MAAM,iBAAiB,oEAK3B,sBAAsB,gBAQxB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { PaginationModel } from '../types';
3
- export interface GoToLabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
3
+ export interface GoToLabelProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'children'> {
4
4
  model: PaginationModel;
5
5
  /**
6
6
  * Accepts child elements or a render prop.
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/GoTo/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAGzC,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACjF,KAAK,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;CAC1E;AAQD,eAAO,MAAM,SAAS,sCAAqC,cAAc,gBAMxE,CAAC"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/GoTo/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAGzC,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC;IACrE,KAAK,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;CAC1E;AAQD,eAAO,MAAM,SAAS,sCAAqC,cAAc,gBAMxE,CAAC"}
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { PaginationModel } from './types';
3
3
  import { ListItemProps } from './common/List';
4
4
  import { HStackProps } from '@workday/canvas-kit-react/layout';
5
- export interface PageListProps extends Omit<HStackProps, 'as' | 'spacing'> {
5
+ export interface PageListProps extends Omit<HStackProps, 'as' | 'spacing' | 'children'> {
6
6
  model: PaginationModel;
7
7
  children?: (model: PaginationModel) => React.ReactNode[] | React.ReactNode;
8
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PageList.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/PageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAW,aAAa,EAAC,MAAM,eAAe,CAAC;AACtD,OAAO,EAAS,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAErE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,SAAS,CAAC;IACxE,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5E;AAED,eAAO,MAAM,QAAQ,sCAAqC,aAAa,gBActE,CAAC;AAEF,oBAAY,iBAAiB,GAAG,aAAa,CAAC;AAE9C,eAAO,MAAM,YAAY,+BAA8B,iBAAiB,gBAEvE,CAAC"}
1
+ {"version":3,"file":"PageList.d.ts","sourceRoot":"","sources":["../../../../../pagination/lib/Pagination/PageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AACxC,OAAO,EAAW,aAAa,EAAC,MAAM,eAAe,CAAC;AACtD,OAAO,EAAS,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAErE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,SAAS,GAAG,UAAU,CAAC;IACrF,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5E;AAED,eAAO,MAAM,QAAQ,sCAAqC,aAAa,gBActE,CAAC;AAEF,oBAAY,iBAAiB,GAAG,aAAa,CAAC;AAE9C,eAAO,MAAM,YAAY,+BAA8B,iBAAiB,gBAEvE,CAAC"}
@@ -1661,7 +1661,7 @@ export declare const Tabs: import("../../common").ComponentM<TabsProps & Partial
1661
1661
  navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
1662
1662
  getId: (item: any) => string;
1663
1663
  }> & {
1664
- List: import("../../common").ElementComponentM<"div", import("./TabsList").TabListProps<unknown>, {
1664
+ List: import("../../common").ElementComponentM<"div", import("./TabsList").TabListProps<any>, {
1665
1665
  state: {
1666
1666
  getId: (item: any) => string;
1667
1667
  orientation: import("../../collection/lib/useBaseListModel").Orientation;
@@ -1978,7 +1978,7 @@ export declare const Tabs: import("../../common").ComponentM<TabsProps & Partial
1978
1978
  Icon: import("../../common").ElementComponent<"span", import("../..").SystemIconProps>;
1979
1979
  Text: import("../../common").ElementComponent<"span", {}>;
1980
1980
  };
1981
- Panel: import("../../common").ElementComponentM<"div", import("./TabsPanel").TabPanelProps<unknown>, {
1981
+ Panel: import("../../common").ElementComponentM<"div", import("./TabsPanel").TabPanelProps, {
1982
1982
  state: {
1983
1983
  getId: (item: any) => string;
1984
1984
  orientation: import("../../collection/lib/useBaseListModel").Orientation;
@@ -2135,7 +2135,7 @@ export declare const Tabs: import("../../common").ComponentM<TabsProps & Partial
2135
2135
  navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2136
2136
  getId: (item: any) => string;
2137
2137
  }>;
2138
- Panels: import("../../common").ElementComponentM<React.FC<{}>, import("./TabsPanels").TabsPanelsProps<unknown>, {
2138
+ Panels: import("../../common").ElementComponentM<React.FC<{}>, import("./TabsPanels").TabsPanelsProps<any>, {
2139
2139
  state: {
2140
2140
  getId: (item: any) => string;
2141
2141
  orientation: import("../../collection/lib/useBaseListModel").Orientation;
@@ -3832,7 +3832,7 @@ export declare const Tabs: import("../../common").ComponentM<TabsProps & Partial
3832
3832
  navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
3833
3833
  getId: (item: any) => string;
3834
3834
  }>;
3835
- List: import("../../common").ElementComponentM<"div", import("../../menu/lib/MenuList").MenuListProps, {
3835
+ List: import("../../common").ElementComponentM<"div", import("../../menu/lib/MenuList").MenuListProps<any>, {
3836
3836
  state: {
3837
3837
  stackRef: React.RefObject<HTMLDivElement>;
3838
3838
  targetRef: React.RefObject<HTMLButtonElement>;
@@ -3971,7 +3971,7 @@ export declare const Tabs: import("../../common").ComponentM<TabsProps & Partial
3971
3971
  Icon: import("../../common").ElementComponent<"span", import("../..").SystemIconProps>;
3972
3972
  Text: import("@emotion/styled").StyledComponent<{
3973
3973
  theme?: import("@emotion/react").Theme | undefined;
3974
- as?: "symbol" | "object" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "clipPath" | "filter" | "mask" | "marker" | "big" | "link" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
3974
+ as?: "symbol" | "object" | "s" | "big" | "link" | "small" | "sub" | "sup" | "circle" | "stop" | "path" | "style" | "map" | "filter" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
3975
3975
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
3976
3976
  };
3977
3977
  Divider: import("../../common").ElementComponent<"hr", unknown>;
@@ -53,7 +53,7 @@ export interface TabsItemProps extends ExtractProps<typeof Box, never>, Partial<
53
53
  */
54
54
  tabIndex?: number;
55
55
  }
56
- export declare const StyledTabItem: import("@emotion/styled").StyledComponent<import("../../layout").BorderShorthandStyleProps & import("../../layout").BorderColorStyleProps & import("../../layout").BorderRadiusStyleProps & import("../../layout").BorderLineStyleProps & import("../../layout").BorderWidthStyleProps & import("../../layout").BorderLogicalStyleProps & import("../../layout").ColorStyleProps & import("../../layout").DepthStyleProps & import("../../layout").FlexItemStyleProps & import("../../layout").LayoutStyleProps & import("../../layout/lib/utils/other").OtherStyleProps & import("../../layout").PositionStandardProps & import("../../layout").PositionLogicalProps & import("../../layout/lib/utils/space").SpaceStandardProps & import("../../layout/lib/utils/space").SpaceLogicalProps & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "hidden" | "style" | "disabled" | "translate" | "prefix" | "form" | "slot" | "title" | "children" | "ref" | "key" | "className" | "name" | "dir" | "value" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & {
56
+ export declare const StyledTabItem: import("@emotion/styled").StyledComponent<import("../../layout").BorderShorthandStyleProps & import("../../layout").BorderColorStyleProps & import("../../layout").BorderRadiusStyleProps & import("../../layout").BorderLineStyleProps & import("../../layout").BorderWidthStyleProps & import("../../layout").BorderLogicalStyleProps & import("../../layout").ColorStyleProps & import("../../layout").DepthStyleProps & import("../../layout").FlexItemStyleProps & import("../../layout").LayoutStyleProps & import("../../layout/lib/utils/other").OtherStyleProps & import("../../layout").PositionStandardProps & import("../../layout").PositionLogicalProps & import("../../layout/lib/utils/space").SpaceStandardProps & import("../../layout/lib/utils/space").SpaceLogicalProps & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "name" | "style" | "ref" | "form" | "slot" | "title" | "dir" | "value" | "children" | "hidden" | "type" | "disabled" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & {
57
57
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
58
58
  } & {
59
59
  theme?: import("@emotion/react").Theme | undefined;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ExtractProps } from '@workday/canvas-kit-react/common';
3
3
  import { Stack } from '@workday/canvas-kit-react/layout';
4
- export interface TabListProps<T = unknown> extends Partial<ExtractProps<typeof Stack, never>> {
4
+ export interface TabListProps<T = any> extends Omit<Partial<ExtractProps<typeof Stack, never>>, 'children'> {
5
5
  /**
6
6
  * If items are passed to a `TabsModel`, the child of `Tabs.List` should be a render prop. The
7
7
  * List will determine how and when the item will be rendered.
@@ -72,7 +72,7 @@ export declare const useTabsList: <P extends {}, R>(model: {
72
72
  }, elemProps?: P | undefined, ref?: ((instance: R | null) => void) | React.RefObject<R> | null | undefined) => {} & P & (R extends HTMLOrSVGElement ? {
73
73
  ref: React.Ref<R>;
74
74
  } : {});
75
- export declare const TabsList: import("../../common").ElementComponentM<"div", TabListProps<unknown>, {
75
+ export declare const TabsList: import("../../common").ElementComponentM<"div", TabListProps<any>, {
76
76
  state: {
77
77
  getId: (item: any) => string;
78
78
  orientation: import("../../collection/lib/useBaseListModel").Orientation;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/TabsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAIL,YAAY,EAIb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,KAAK,EAAC,MAAM,kCAAkC,CAAC;AAUvD,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,OAAO,CAAC,YAAY,CAAC,OAAO,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3F;;;;;;;;OAQG;IACH,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;IAC3D,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAOvB,CAAC;AAgBF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBnB,CAAC"}
1
+ {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/TabsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAIL,YAAY,EAIb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,KAAK,EAAC,MAAM,kCAAkC,CAAC;AAUvD,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,GAAG,CACnC,SAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,KAAK,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;IACpE;;;;;;;;OAQG;IACH,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;IAC3D,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAOvB,CAAC;AAgBF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBnB,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { ExtractProps } from '@workday/canvas-kit-react/common';
3
3
  import { Item } from '@workday/canvas-kit-react/collection';
4
4
  import { Box } from '@workday/canvas-kit-react/layout';
5
- export interface TabPanelProps<T = unknown> extends ExtractProps<typeof Box, never> {
5
+ export interface TabPanelProps extends ExtractProps<typeof Box, never> {
6
6
  /**
7
7
  * The contents of the TabPanel.
8
8
  */
@@ -187,7 +187,7 @@ export declare const useTabsPanel: <P extends {}, R>(model: {
187
187
  } & P & (R extends HTMLOrSVGElement ? {
188
188
  ref: React.Ref<R>;
189
189
  } : {});
190
- export declare const TabsPanel: import("../../common").ElementComponentM<"div", TabPanelProps<unknown>, {
190
+ export declare const TabsPanel: import("../../common").ElementComponentM<"div", TabPanelProps, {
191
191
  state: {
192
192
  getId: (item: any) => string;
193
193
  orientation: import("../../collection/lib/useBaseListModel").Orientation;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsPanel.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/TabsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAIL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,sCAAsC,CAAC;AAC1D,OAAO,EAAC,GAAG,EAAC,MAAM,kCAAkC,CAAC;AAIrD,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,YAAY,CAAC,OAAO,GAAG,EAAE,KAAK,CAAC;IACjF;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BxB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpB,CAAC"}
1
+ {"version":3,"file":"TabsPanel.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/TabsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAIL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,sCAAsC,CAAC;AAC1D,OAAO,EAAC,GAAG,EAAC,MAAM,kCAAkC,CAAC;AAIrD,MAAM,WAAW,aAAc,SAAQ,YAAY,CAAC,OAAO,GAAG,EAAE,KAAK,CAAC;IACpE;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BxB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpB,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
- export interface TabsPanelsProps<T = unknown> {
2
+ export interface TabsPanelsProps<T = any> {
3
3
  /**
4
4
  *
5
5
  */
6
6
  children: ((item: T) => React.ReactNode) | React.ReactNode;
7
7
  }
8
- export declare const TabsPanels: import("../../common").ElementComponentM<React.FC<{}>, TabsPanelsProps<unknown>, {
8
+ export declare const TabsPanels: import("../../common").ElementComponentM<React.FC<{}>, TabsPanelsProps<any>, {
9
9
  state: {
10
10
  getId: (item: any) => string;
11
11
  orientation: import("../../collection/lib/useBaseListModel").Orientation;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsPanels.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/TabsPanels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,OAAO;IAC1C;;OAEG;IACH,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5D;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrB,CAAC"}
1
+ {"version":3,"file":"TabsPanels.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/TabsPanels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5D;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrB,CAAC"}
@@ -4,6 +4,6 @@ import { SystemIcon } from '@workday/canvas-kit-react/icon';
4
4
  export interface InputIconContainerProps extends GrowthBehavior {
5
5
  icon?: React.ReactElement<typeof SystemIcon>;
6
6
  }
7
- declare const InputIconContainer: React.FunctionComponent<InputIconContainerProps>;
7
+ declare const InputIconContainer: React.FunctionComponent<React.PropsWithChildren<InputIconContainerProps>>;
8
8
  export default InputIconContainer;
9
9
  //# sourceMappingURL=InputIconContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputIconContainer.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/InputIconContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;CAC9C;AAaD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,uBAAuB,CASxE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"InputIconContainer.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/InputIconContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;CAC9C;AAaD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CACvE,uBAAuB,CACxB,CAKA,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -21,6 +21,6 @@ export interface TooltipContainerProps extends React.HTMLAttributes<HTMLDivEleme
21
21
  }
22
22
  export declare const TooltipContainer: import("@emotion/styled").StyledComponent<{
23
23
  theme?: import("@emotion/react").Theme | undefined;
24
- as?: "symbol" | "object" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "clipPath" | "filter" | "mask" | "marker" | "big" | "link" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
24
+ as?: "symbol" | "object" | "s" | "big" | "link" | "small" | "sub" | "sup" | "circle" | "stop" | "path" | "style" | "map" | "filter" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
25
25
  } & TooltipContainerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
26
26
  //# sourceMappingURL=TooltipContainer.d.ts.map
@@ -136,7 +136,7 @@ const FormFieldInputContainer = styled('div')<GrowthBehavior & FormFieldLabelPos
136
136
  }
137
137
  );
138
138
 
139
- class FormField extends React.Component<FormFieldProps> {
139
+ class FormField extends React.Component<React.PropsWithChildren<FormFieldProps>> {
140
140
  static LabelPosition = FormFieldLabelPosition;
141
141
  static ErrorType = ErrorType;
142
142
 
@@ -88,7 +88,7 @@ const LegendComponent = styled('legend')<LabelProps>(...labelStyles, ({labelPosi
88
88
  });
89
89
  const LabelComponent = styled('label')<LabelProps>(...labelStyles);
90
90
 
91
- class Label extends React.Component<LabelProps> {
91
+ class Label extends React.Component<React.PropsWithChildren<LabelProps>> {
92
92
  static Position = FormFieldLabelPosition;
93
93
 
94
94
  public render() {
@@ -1,19 +1,70 @@
1
- import {
2
- Globals,
3
- GlobalsNumber,
4
- SelfPosition,
5
- DisplayOutside,
6
- DisplayInside,
7
- DisplayInternal,
8
- DisplayLegacy,
9
- LineStyle,
10
- ContentDistribution,
11
- ContentPosition,
12
- } from 'csstype';
13
-
14
1
  // We're temporarily creating these types from csstype
15
2
  // to improve type completion until we move to csstype v3.
16
3
 
4
+ type Globals = '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'unset';
5
+ type GlobalsNumber = Globals | number;
6
+
7
+ type SelfPosition =
8
+ | 'center'
9
+ | 'end'
10
+ | 'flex-end'
11
+ | 'flex-start'
12
+ | 'self-end'
13
+ | 'self-start'
14
+ | 'start';
15
+
16
+ type DisplayOutside = 'block' | 'inline' | 'run-in';
17
+
18
+ type DisplayInside =
19
+ | '-ms-flexbox'
20
+ | '-ms-grid'
21
+ | '-webkit-flex'
22
+ | 'flex'
23
+ | 'flow'
24
+ | 'flow-root'
25
+ | 'grid'
26
+ | 'ruby'
27
+ | 'table';
28
+
29
+ type DisplayInternal =
30
+ | 'ruby-base'
31
+ | 'ruby-base-container'
32
+ | 'ruby-text'
33
+ | 'ruby-text-container'
34
+ | 'table-caption'
35
+ | 'table-cell'
36
+ | 'table-column'
37
+ | 'table-column-group'
38
+ | 'table-footer-group'
39
+ | 'table-header-group'
40
+ | 'table-row'
41
+ | 'table-row-group';
42
+
43
+ type DisplayLegacy =
44
+ | '-ms-inline-flexbox'
45
+ | '-ms-inline-grid'
46
+ | '-webkit-inline-flex'
47
+ | 'inline-block'
48
+ | 'inline-flex'
49
+ | 'inline-grid'
50
+ | 'inline-list-item'
51
+ | 'inline-table';
52
+
53
+ type LineStyle =
54
+ | 'dashed'
55
+ | 'dotted'
56
+ | 'double'
57
+ | 'groove'
58
+ | 'hidden'
59
+ | 'inset'
60
+ | 'none'
61
+ | 'outset'
62
+ | 'ridge'
63
+ | 'solid';
64
+
65
+ type ContentDistribution = 'space-around' | 'space-between' | 'space-evenly' | 'stretch';
66
+ type ContentPosition = 'center' | 'end' | 'flex-end' | 'flex-start' | 'start';
67
+
17
68
  // Border
18
69
  export type PropertyBorder = Globals | LineStyle | (string & {});
19
70
 
@@ -11,11 +11,12 @@ import {Stack} from '@workday/canvas-kit-react/layout';
11
11
 
12
12
  import {useMenuModel} from './useMenuModel';
13
13
 
14
- export interface MenuListProps extends Partial<ExtractProps<typeof Stack, never>> {
14
+ export interface MenuListProps<T = any>
15
+ extends Omit<Partial<ExtractProps<typeof Stack, never>>, 'children'> {
15
16
  /**
16
17
  * The label text of the MenuList.
17
18
  */
18
- children: React.ReactNode;
19
+ children: React.ReactNode | ((item: T) => React.ReactNode);
19
20
  }
20
21
 
21
22
  export const useMenuList = createElemPropsHook(useMenuModel)(model => {
@@ -14,9 +14,7 @@ import styled from '@emotion/styled';
14
14
  import {Box, BoxProps} from '@workday/canvas-kit-react/layout';
15
15
  import {useModalModel} from './hooks';
16
16
 
17
- export interface ModalOverlayProps extends BoxProps {
18
- children: React.ReactNode;
19
- }
17
+ export interface ModalOverlayProps extends BoxProps {}
20
18
 
21
19
  const fadeIn = keyframes`
22
20
  from {
@@ -86,7 +84,7 @@ const OpenModalOverlay = createSubcomponent('div')({
86
84
  displayName: 'Modal.OpenOverlay',
87
85
  modelHook: useModalModel,
88
86
  elemPropsHook: useModalOverlay,
89
- })<ModalOverlayProps>((elemProps: ModalOverlayProps, Element, model) => {
87
+ })<ModalOverlayProps>((elemProps, Element, model) => {
90
88
  const windowSize = useWindowSize();
91
89
 
92
90
  const content = (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "7.2.0-next.0+4cff0b3c",
3
+ "version": "8.0.0-alpha.118-next.1+d45e9ab1",
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",
@@ -41,7 +41,7 @@
41
41
  "workday"
42
42
  ],
43
43
  "peerDependencies": {
44
- "react": "^16.8 || ^17.0"
44
+ "react": "^17.0 || ^18.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "@emotion/is-prop-valid": "^1.1.1",
@@ -49,13 +49,12 @@
49
49
  "@emotion/styled": "^11.6.0",
50
50
  "@popperjs/core": "^2.5.4",
51
51
  "@workday/canvas-colors-web": "^2.0.0",
52
- "@workday/canvas-kit-labs-react": "^7.2.0-next.0+4cff0b3c",
53
- "@workday/canvas-kit-popup-stack": "^7.2.0-next.0+4cff0b3c",
54
- "@workday/canvas-kit-preview-react": "^7.2.0-next.0+4cff0b3c",
52
+ "@workday/canvas-kit-labs-react": "^8.0.0-alpha.118-next.1+d45e9ab1",
53
+ "@workday/canvas-kit-popup-stack": "^8.0.0-alpha.118-next.1+d45e9ab1",
54
+ "@workday/canvas-kit-preview-react": "^8.0.0-alpha.118-next.1+d45e9ab1",
55
55
  "@workday/canvas-system-icons-web": "^3.0.0",
56
56
  "@workday/design-assets-types": "^0.2.8",
57
57
  "chroma-js": "^2.1.0",
58
- "csstype": "^2.6.17",
59
58
  "element-closest": "^3.0.2",
60
59
  "lodash": "^4.17.14",
61
60
  "polished": "^4.1.3",
@@ -70,5 +69,5 @@
70
69
  "@workday/canvas-accent-icons-web": "^3.0.0",
71
70
  "@workday/canvas-applet-icons-web": "^2.0.0"
72
71
  },
73
- "gitHead": "4cff0b3c4f05257cc3965d757cd018c1acf64481"
72
+ "gitHead": "d45e9ab1446a7c0c4bf7403f0c75db8d3793d4f1"
74
73
  }
@@ -6,7 +6,7 @@ import {PaginationModel} from './types';
6
6
  import {Flex, FlexProps} from '@workday/canvas-kit-react/layout';
7
7
  import {useLiveRegion} from './common/useLiveRegion';
8
8
 
9
- export interface AdditionalDetailsProps extends FlexProps {
9
+ export interface AdditionalDetailsProps extends Omit<FlexProps, 'children'> {
10
10
  children: (model: PaginationModel) => React.ReactNode | React.ReactNode;
11
11
  model: PaginationModel;
12
12
  shouldAnnounceToScreenReader?: boolean;
@@ -4,7 +4,8 @@ import {type, typeColors} from '@workday/canvas-kit-react/tokens';
4
4
  import {PaginationModel} from '../types';
5
5
  import {StyledType, styled} from '@workday/canvas-kit-react/common';
6
6
 
7
- export interface GoToLabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
7
+ export interface GoToLabelProps
8
+ extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'children'> {
8
9
  model: PaginationModel;
9
10
  /**
10
11
  * Accepts child elements or a render prop.
@@ -4,7 +4,7 @@ import {PaginationModel} from './types';
4
4
  import {ListItem, ListItemProps} from './common/List';
5
5
  import {HStack, HStackProps} from '@workday/canvas-kit-react/layout';
6
6
 
7
- export interface PageListProps extends Omit<HStackProps, 'as' | 'spacing'> {
7
+ export interface PageListProps extends Omit<HStackProps, 'as' | 'spacing' | 'children'> {
8
8
  model: PaginationModel;
9
9
  children?: (model: PaginationModel) => React.ReactNode[] | React.ReactNode;
10
10
  }
@@ -12,7 +12,7 @@ import {usePopupModel} from './usePopupModel';
12
12
  */
13
13
  export const useCloseOnFullscreenExit = createElemPropsHook(usePopupModel)(model => {
14
14
  const handler = React.useCallback(
15
- event => {
15
+ (event: any) => {
16
16
  if (!screenfull.isFullscreen) {
17
17
  model.events.hide(event);
18
18
  }