@workday/canvas-kit-docs 7.0.0-alpha.81-next.9 → 7.0.0-alpha.85-next.12

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.
@@ -1,15 +1,8 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
2
+ function __export(m) {
3
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
+ }
12
5
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./lib/specs"), exports);
14
- __exportStar(require("./lib/Specifications"), exports);
15
- __exportStar(require("./lib/docs"), exports);
6
+ __export(require("./lib/specs"));
7
+ __export(require("./lib/Specifications"));
8
+ __export(require("./lib/docs"));
@@ -1 +1 @@
1
- {"version":3,"file":"Specifications.d.ts","sourceRoot":"","sources":["../../../lib/Specifications.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA8CD,eAAO,MAAM,cAAc,mBAAkB,mBAAmB,uBAmF/D,CAAC"}
1
+ {"version":3,"file":"Specifications.d.ts","sourceRoot":"","sources":["../../../lib/Specifications.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA8CD,eAAO,MAAM,cAAc,6DAmF1B,CAAC"}
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Specifications = void 0;
18
17
  /* eslint-disable no-param-reassign */
19
18
  var react_1 = __importDefault(require("react"));
20
19
  var csf_1 = require("@storybook/csf");
@@ -44,7 +43,7 @@ function createTableRows(rows, item, index, children, context) {
44
43
  }
45
44
  return rows;
46
45
  }
47
- var Specifications = function (_a) {
46
+ exports.Specifications = function (_a) {
48
47
  var file = _a.file, name = _a.name;
49
48
  var storybookBaseUrl = react_1.default.useContext(docs_1.StorybookUrl);
50
49
  var githubUrl = react_1.default.useContext(docs_1.GithubUrl);
@@ -88,4 +87,3 @@ var Specifications = function (_a) {
88
87
  ' ',
89
88
  react_1.default.createElement(button_1.Hyperlink, { href: githubUrl + "blob/" + githubBranch + "/cypress/integration/" + file }, file))) : null;
90
89
  };
91
- exports.Specifications = Specifications;
@@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.StorybookUrl = exports.GithubBranch = exports.GithubUrl = void 0;
7
6
  var react_1 = __importDefault(require("react"));
8
7
  exports.GithubUrl = react_1.default.createContext('https://github.com/Workday/canvas-kit/');
9
8
  exports.GithubBranch = react_1.default.createContext('master');
@@ -1 +1 @@
1
- {"version":3,"file":"Specifications.d.ts","sourceRoot":"","sources":["../../../lib/Specifications.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA8CD,eAAO,MAAM,cAAc,mBAAkB,mBAAmB,uBAmF/D,CAAC"}
1
+ {"version":3,"file":"Specifications.d.ts","sourceRoot":"","sources":["../../../lib/Specifications.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA8CD,eAAO,MAAM,cAAc,6DAmF1B,CAAC"}
@@ -2,7 +2,11 @@ import React from 'react';
2
2
 
3
3
  import {PrimaryButton} from '@workday/canvas-kit-react/button';
4
4
  import {HStack} from '@workday/canvas-kit-react/layout';
5
- import {plusIcon} from '@workday/canvas-system-icons-web';
5
+ import {
6
+ plusIcon,
7
+ relatedActionsVerticalIcon,
8
+ caretDownIcon,
9
+ } from '@workday/canvas-system-icons-web';
6
10
 
7
11
  export default () => (
8
12
  <HStack spacing="s" padding="s">
@@ -10,9 +14,9 @@ export default () => (
10
14
  <PrimaryButton icon={plusIcon} iconPosition="start">
11
15
  Primary
12
16
  </PrimaryButton>
13
- <PrimaryButton icon={plusIcon} iconPosition="end">
17
+ <PrimaryButton icon={caretDownIcon} iconPosition="end">
14
18
  Primary
15
19
  </PrimaryButton>
16
- <PrimaryButton icon={plusIcon} />
20
+ <PrimaryButton icon={relatedActionsVerticalIcon} />
17
21
  </HStack>
18
22
  );
@@ -2,14 +2,21 @@ import React from 'react';
2
2
 
3
3
  import {PrimaryButton} from '@workday/canvas-kit-react/button';
4
4
  import {HStack} from '@workday/canvas-kit-react/layout';
5
- import {plusIcon} from '@workday/canvas-system-icons-web';
5
+ import {
6
+ plusIcon,
7
+ relatedActionsVerticalIcon,
8
+ caretDownIcon,
9
+ } from '@workday/canvas-system-icons-web';
6
10
 
7
11
  export default () => (
8
12
  <HStack spacing="s" backgroundColor="blueberry400" padding="s">
9
13
  <PrimaryButton variant="inverse">Primary</PrimaryButton>
10
- <PrimaryButton icon={plusIcon} iconPosition="end" variant="inverse">
14
+ <PrimaryButton icon={plusIcon} iconPosition="start" variant="inverse">
11
15
  Primary
12
16
  </PrimaryButton>
13
- <PrimaryButton icon={plusIcon} variant="inverse" />
17
+ <PrimaryButton icon={caretDownIcon} iconPosition="end" variant="inverse">
18
+ Primary
19
+ </PrimaryButton>
20
+ <PrimaryButton icon={relatedActionsVerticalIcon} variant="inverse" />
14
21
  </HStack>
15
22
  );
@@ -2,17 +2,21 @@ import React from 'react';
2
2
 
3
3
  import {SecondaryButton} from '@workday/canvas-kit-react/button';
4
4
  import {HStack} from '@workday/canvas-kit-react/layout';
5
- import {plusIcon} from '@workday/canvas-system-icons-web';
5
+ import {
6
+ plusIcon,
7
+ relatedActionsVerticalIcon,
8
+ caretDownIcon,
9
+ } from '@workday/canvas-system-icons-web';
6
10
 
7
11
  export default () => (
8
- <HStack spacing="s" padding="s">
9
- <SecondaryButton>Secondary</SecondaryButton>
10
- <SecondaryButton icon={plusIcon} iconPosition="start">
11
- Secondary
12
- </SecondaryButton>
13
- <SecondaryButton icon={plusIcon} iconPosition="end">
14
- Secondary
15
- </SecondaryButton>
16
- <SecondaryButton icon={plusIcon} />
17
- </HStack>
12
+ <HStack spacing="s" padding="s">
13
+ <SecondaryButton>Secondary</SecondaryButton>
14
+ <SecondaryButton icon={plusIcon} iconPosition="start">
15
+ Secondary
16
+ </SecondaryButton>
17
+ <SecondaryButton icon={caretDownIcon} iconPosition="end">
18
+ Secondary
19
+ </SecondaryButton>
20
+ <SecondaryButton icon={relatedActionsVerticalIcon} />
21
+ </HStack>
18
22
  );
@@ -2,7 +2,11 @@ import React from 'react';
2
2
 
3
3
  import {SecondaryButton} from '@workday/canvas-kit-react/button';
4
4
  import {HStack} from '@workday/canvas-kit-react/layout';
5
- import {plusIcon} from '@workday/canvas-system-icons-web';
5
+ import {
6
+ plusIcon,
7
+ relatedActionsVerticalIcon,
8
+ caretDownIcon,
9
+ } from '@workday/canvas-system-icons-web';
6
10
 
7
11
  export default () => (
8
12
  <HStack spacing="s" backgroundColor="blueberry400" padding="s">
@@ -10,9 +14,9 @@ export default () => (
10
14
  <SecondaryButton icon={plusIcon} variant="inverse">
11
15
  Secondary
12
16
  </SecondaryButton>
13
- <SecondaryButton icon={plusIcon} variant="inverse" iconPosition="end">
17
+ <SecondaryButton icon={caretDownIcon} variant="inverse" iconPosition="end">
14
18
  Secondary
15
19
  </SecondaryButton>
16
- <SecondaryButton icon={plusIcon} variant="inverse" />
20
+ <SecondaryButton icon={relatedActionsVerticalIcon} variant="inverse" />
17
21
  </HStack>
18
22
  );
@@ -2,7 +2,13 @@ import React from 'react';
2
2
 
3
3
  import {TertiaryButton} from '@workday/canvas-kit-react/button';
4
4
  import {HStack} from '@workday/canvas-kit-react/layout';
5
- import {plusIcon} from '@workday/canvas-system-icons-web';
5
+ import {
6
+ plusIcon,
7
+ relatedActionsVerticalIcon,
8
+ arrowLeftIcon,
9
+ arrowRightIcon,
10
+ caretDownIcon,
11
+ } from '@workday/canvas-system-icons-web';
6
12
 
7
13
  export default () => (
8
14
  <HStack spacing="s" padding="s">
@@ -10,9 +16,9 @@ export default () => (
10
16
  <TertiaryButton icon={plusIcon} iconPosition="start">
11
17
  Tertiary
12
18
  </TertiaryButton>
13
- <TertiaryButton icon={plusIcon} iconPosition="end">
19
+ <TertiaryButton icon={caretDownIcon} iconPosition="end">
14
20
  Tertiary
15
21
  </TertiaryButton>
16
- <TertiaryButton icon={plusIcon} />
22
+ <TertiaryButton icon={relatedActionsVerticalIcon} />
17
23
  </HStack>
18
24
  );
@@ -2,14 +2,22 @@ import React from 'react';
2
2
 
3
3
  import {TertiaryButton} from '@workday/canvas-kit-react/button';
4
4
  import {HStack} from '@workday/canvas-kit-react/layout';
5
- import {plusIcon} from '@workday/canvas-system-icons-web';
5
+ import {
6
+ plusIcon,
7
+ relatedActionsVerticalIcon,
8
+ arrowRightIcon,
9
+ caretDownIcon,
10
+ } from '@workday/canvas-system-icons-web';
6
11
 
7
12
  export default () => (
8
13
  <HStack spacing="s" backgroundColor="blueberry400" padding="s">
9
14
  <TertiaryButton variant="inverse">Tertiary</TertiaryButton>
10
- <TertiaryButton icon={plusIcon} iconPosition="end" variant="inverse">
15
+ <TertiaryButton icon={plusIcon} iconPosition="start" variant="inverse">
11
16
  Tertiary
12
17
  </TertiaryButton>
13
- <TertiaryButton icon={plusIcon} variant="inverse" />
18
+ <TertiaryButton icon={caretDownIcon} iconPosition="end" variant="inverse">
19
+ Tertiary
20
+ </TertiaryButton>
21
+ <TertiaryButton icon={relatedActionsVerticalIcon} variant="inverse" />
14
22
  </HStack>
15
23
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "7.0.0-alpha.81-next.9+5f4eca7e",
3
+ "version": "7.0.0-alpha.85-next.12+42f13837",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "dependencies": {
52
52
  "@storybook/csf": "0.0.1",
53
- "@workday/canvas-kit-react": "^7.0.0-alpha.81-next.9+5f4eca7e"
53
+ "@workday/canvas-kit-react": "^7.0.0-alpha.85-next.12+42f13837"
54
54
  },
55
55
  "devDependencies": {
56
56
  "fs-extra": "^10.0.0",
@@ -58,5 +58,5 @@
58
58
  "mkdirp": "^1.0.3",
59
59
  "typescript": "^3.8.3"
60
60
  },
61
- "gitHead": "5f4eca7e47351f920cb283c1a1fa16b9ef76b6e5"
61
+ "gitHead": "42f138370924f73ced44e5e3bad6b550e5e00407"
62
62
  }