@workday/canvas-kit-docs 15.0.0-alpha.0075-next.0 → 15.0.0-alpha.0077-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 (50) hide show
  1. package/dist/es6/lib/StorybookStatusIndicator.d.ts +2 -2
  2. package/dist/es6/lib/StorybookStatusIndicator.d.ts.map +1 -1
  3. package/dist/es6/lib/StorybookStatusIndicator.js +6 -1
  4. package/dist/es6/lib/docs.js +10908 -14026
  5. package/dist/es6/mdx/accessibility/examples/GlobalHeader.js +1 -1
  6. package/dist/mdx/15.0-UPGRADE-GUIDE.mdx +250 -0
  7. package/dist/mdx/preview-react/divider/examples/Basic.tsx +1 -1
  8. package/dist/mdx/{preview-react → react}/avatar/Avatar.mdx +5 -7
  9. package/dist/mdx/react/avatar/examples/Basic.tsx +5 -0
  10. package/dist/mdx/{preview-react → react}/avatar/examples/Custom.tsx +1 -1
  11. package/dist/mdx/{preview-react → react}/avatar/examples/Decorative.tsx +1 -1
  12. package/dist/mdx/{preview-react → react}/avatar/examples/Image.tsx +1 -1
  13. package/dist/mdx/{preview-react → react}/avatar/examples/Size.tsx +1 -1
  14. package/dist/mdx/{preview-react → react}/avatar/examples/Variant.tsx +1 -1
  15. package/dist/mdx/react/select/Select.mdx +8 -1
  16. package/dist/mdx/react/select/examples/GroupedItems.tsx +59 -0
  17. package/lib/StorybookStatusIndicator.tsx +10 -1
  18. package/package.json +6 -6
  19. package/dist/mdx/preview-react/avatar/examples/Basic.tsx +0 -5
  20. package/dist/mdx/preview-react/select/Select.mdx +0 -107
  21. package/dist/mdx/preview-react/select/examples/Left Label/AlertLeft.tsx +0 -18
  22. package/dist/mdx/preview-react/select/examples/Left Label/DefaultLeft.tsx +0 -17
  23. package/dist/mdx/preview-react/select/examples/Left Label/DefaultWithCustomOptionsLeft.tsx +0 -25
  24. package/dist/mdx/preview-react/select/examples/Left Label/DefaultWithSimpleOptionsLeft.tsx +0 -17
  25. package/dist/mdx/preview-react/select/examples/Left Label/DisabledLeft.tsx +0 -19
  26. package/dist/mdx/preview-react/select/examples/Left Label/ErrorLeft.tsx +0 -18
  27. package/dist/mdx/preview-react/select/examples/Left Label/GrowLeft.tsx +0 -17
  28. package/dist/mdx/preview-react/select/examples/Left Label/ScrollableLeft.tsx +0 -17
  29. package/dist/mdx/preview-react/select/examples/Left Label/index.ts +0 -8
  30. package/dist/mdx/preview-react/select/examples/Top Label/Caution.tsx +0 -16
  31. package/dist/mdx/preview-react/select/examples/Top Label/Default.tsx +0 -15
  32. package/dist/mdx/preview-react/select/examples/Top Label/DefaultWithCustomOptions.tsx +0 -23
  33. package/dist/mdx/preview-react/select/examples/Top Label/DefaultWithSimpleOptions.tsx +0 -15
  34. package/dist/mdx/preview-react/select/examples/Top Label/Disabled.tsx +0 -17
  35. package/dist/mdx/preview-react/select/examples/Top Label/Error.tsx +0 -16
  36. package/dist/mdx/preview-react/select/examples/Top Label/Grow.tsx +0 -15
  37. package/dist/mdx/preview-react/select/examples/Top Label/Scrollable.tsx +0 -13
  38. package/dist/mdx/preview-react/select/examples/Top Label/index.ts +0 -8
  39. package/dist/mdx/preview-react/select/examples/storiesData.tsx +0 -92
  40. package/dist/mdx/react/avatar/avatar/Avatar.mdx +0 -109
  41. package/dist/mdx/react/avatar/avatar/examples/Basic.tsx +0 -17
  42. package/dist/mdx/react/avatar/avatar/examples/Button.tsx +0 -20
  43. package/dist/mdx/react/avatar/avatar/examples/CustomStyles.tsx +0 -34
  44. package/dist/mdx/react/avatar/avatar/examples/Image.tsx +0 -25
  45. package/dist/mdx/react/avatar/avatar/examples/LazyLoad.tsx +0 -20
  46. package/dist/mdx/react/avatar/avatar/examples/ObjectFit.tsx +0 -30
  47. package/dist/mdx/react/avatar/avatar/examples/Size.tsx +0 -27
  48. package/dist/mdx/react/avatar/avatar/examples/Variant.tsx +0 -10
  49. package/dist/mdx/react/avatar/avatar/examples/test-avatar.png +0 -0
  50. /package/dist/mdx/{preview-react → react}/avatar/examples/nicholas-avatar.jpg +0 -0
@@ -1,4 +1,4 @@
1
- export declare const StorybookStatusIndicator: ({ type }: {
2
- type: 'ai' | 'deprecated' | 'new';
1
+ export declare const StorybookStatusIndicator: ({ type, }: {
2
+ type: 'ai' | 'deprecated' | 'new' | 'promoted';
3
3
  }) => import("react/jsx-runtime").JSX.Element;
4
4
  //# sourceMappingURL=StorybookStatusIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StorybookStatusIndicator.d.ts","sourceRoot":"","sources":["../../../lib/StorybookStatusIndicator.tsx"],"names":[],"mappings":"AAgCA,eAAO,MAAM,wBAAwB;UAAmB,IAAI,GAAG,YAAY,GAAG,KAAK;6CAmBlF,CAAC"}
1
+ {"version":3,"file":"StorybookStatusIndicator.d.ts","sourceRoot":"","sources":["../../../lib/StorybookStatusIndicator.tsx"],"names":[],"mappings":"AAoCA,eAAO,MAAM,wBAAwB;UAG7B,IAAI,GAAG,YAAY,GAAG,KAAK,GAAG,UAAU;6CAqB/C,CAAC"}
@@ -24,13 +24,18 @@ const content = {
24
24
  icon: undefined,
25
25
  label: 'New',
26
26
  },
27
+ promoted: {
28
+ icon: undefined,
29
+ label: 'Promoted',
30
+ },
27
31
  };
28
- export const StorybookStatusIndicator = ({ type }) => {
32
+ export const StorybookStatusIndicator = ({ type, }) => {
29
33
  const { icon, label } = content[type];
30
34
  const variantMapping = {
31
35
  ai: 'ai',
32
36
  deprecated: 'caution',
33
37
  new: 'positive',
38
+ promoted: 'info',
34
39
  };
35
40
  console.log(variantMapping[type]);
36
41
  return (_jsxs(StatusIndicator, { className: "sb-unstyled cnvs-title-status-indicator", cs: storybookStatusIndicatorStencil({ type }), variant: variantMapping[type], emphasis: "low", children: [icon && _jsx(StatusIndicator.Icon, { icon: icon }), _jsx(StatusIndicator.Label, { children: label })] }));