@bitrise/bitkit 12.72.13-0 → 12.73.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 (41) hide show
  1. package/README.md +6 -6
  2. package/package.json +45 -44
  3. package/src/Components/ColorButton/ColorButton.theme.ts +1 -1
  4. package/src/Components/ColorButton/ColorButton.tsx +1 -1
  5. package/src/Components/Form/Input/Input.tsx +1 -1
  6. package/src/Components/Icons/16x16/ArrowDown.tsx +3 -1
  7. package/src/Components/Icons/16x16/{BackArrow.tsx → ArrowLeft.tsx} +2 -2
  8. package/src/Components/Icons/16x16/ArrowMoveDown.tsx +12 -0
  9. package/src/Components/Icons/16x16/{ArrowBack.tsx → ArrowMoveLeft.tsx} +2 -2
  10. package/src/Components/Icons/16x16/{ArrowForward.tsx → ArrowMoveRight.tsx} +2 -2
  11. package/src/Components/Icons/16x16/ArrowMoveUp.tsx +14 -0
  12. package/src/Components/Icons/16x16/ArrowRight.tsx +14 -0
  13. package/src/Components/Icons/16x16/ArrowUp.tsx +2 -2
  14. package/src/Components/Icons/16x16/index.ts +7 -4
  15. package/src/Components/Icons/24x24/ArrowDown.tsx +3 -1
  16. package/src/Components/Icons/24x24/{BackArrow.tsx → ArrowLeft.tsx} +2 -2
  17. package/src/Components/Icons/24x24/ArrowMoveDown.tsx +12 -0
  18. package/src/Components/Icons/24x24/{ArrowBack.tsx → ArrowMoveLeft.tsx} +2 -2
  19. package/src/Components/Icons/24x24/{ArrowForward.tsx → ArrowMoveRight.tsx} +2 -2
  20. package/src/Components/Icons/24x24/ArrowMoveUp.tsx +14 -0
  21. package/src/Components/Icons/24x24/ArrowRight.tsx +14 -0
  22. package/src/Components/Icons/24x24/ArrowUp.tsx +1 -1
  23. package/src/Components/Icons/24x24/index.ts +7 -4
  24. package/src/Components/Menu/MenuItem.tsx +1 -1
  25. package/src/Components/Notification/Notification.tsx +1 -1
  26. package/src/Components/Ribbon/Ribbon.tsx +1 -1
  27. package/src/Components/Select/Select.tsx +1 -1
  28. package/src/Components/Table/Table.theme.ts +1 -1
  29. package/src/Components/Tabs/ContainedTab.tsx +1 -1
  30. package/src/Components/Tag/Tag.tsx +1 -1
  31. package/src/Foundations/Colors/Colors.tsx +20 -0
  32. package/src/Foundations/Colors/SystemTokens.tsx +26 -0
  33. package/src/Foundations/Icons/figmaIcons.ts +8 -8
  34. package/src/Foundations/Themes/Alert.theme.ts +1 -1
  35. package/src/Foundations/docComponents/TokenTable.tsx +64 -0
  36. package/src/index.ts +1 -1
  37. package/src/theme.ts +2 -1
  38. package/src/tokens/tokens.json +3285 -0
  39. package/src/tokens/tokens.ts +57 -0
  40. package/tsconfig.json +2 -2
  41. package/src/Foundations/Colors/Colors.ts +0 -151
package/README.md CHANGED
@@ -11,7 +11,7 @@ Based on [Chakra UI](https://chakra-ui.com/).
11
11
  ```
12
12
  git clone git@github.com:bitrise-io/bitkit.git
13
13
  cd bitkit
14
- npm i
14
+ yarn install
15
15
  ```
16
16
 
17
17
  ### Technology
@@ -23,19 +23,19 @@ npm i
23
23
 
24
24
  ### Scripts
25
25
 
26
- #### `$ npm run storybook`
26
+ #### `$ yarn storybook`
27
27
 
28
28
  Runs Storybook server
29
29
 
30
- #### `$ npm run start`
30
+ #### `$ yarn start`
31
31
 
32
- Runs `npm run storybook`
32
+ Runs `yarn storybook`
33
33
 
34
- #### `$ npm run lint`
34
+ #### `$ yarn lint`
35
35
 
36
36
  Runs Javascript linting
37
37
 
38
- #### `$ npm run test`
38
+ #### `$ yarn test`
39
39
 
40
40
  Runs the unit tests for the library components
41
41
 
package/package.json CHANGED
@@ -1,22 +1,20 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "12.72.13-0",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
8
- },
4
+ "version": "12.73.1",
5
+ "repository": "git@github.com:bitrise-io/bitkit.git",
9
6
  "main": "src/index.ts",
10
7
  "license": "UNLICENSED",
11
8
  "scripts": {
12
- "build-storybook": "storybook build",
9
+ "commitlint": "commitlint",
13
10
  "lint": "eslint src --ext ts,tsx",
14
- "start": "npm run storybook",
15
- "storybook": "storybook dev -p 6006",
11
+ "semantic-release": "semantic-release",
12
+ "start": "yarn storybook",
16
13
  "test": "jest",
17
- "typecheck": "tsc -p src --noEmit",
18
- "release": "npm version patch && npm publish",
19
- "release-alpha": "npm version prepatch && npm publish --tag alpha"
14
+ "storybook": "storybook dev -p 6006",
15
+ "build-storybook": "storybook build",
16
+ "theme": "chakra-cli tokens ./src/theme.ts",
17
+ "theme:watch": "chakra-cli tokens ./src/theme.ts --watch"
20
18
  },
21
19
  "alias": {
22
20
  "@bitrise/bitkit": "./src",
@@ -29,10 +27,10 @@
29
27
  "@chakra-ui/theme": "^3.3.1",
30
28
  "@chakra-ui/theme-tools": "^2.1.2",
31
29
  "@chakra-ui/utils": "^2.0.15",
32
- "@emotion/react": "^11.11.3",
30
+ "@emotion/react": "^11.11.1",
33
31
  "@emotion/styled": "^11.11.0",
34
32
  "@floating-ui/react-dom-interactions": "^0.8.1",
35
- "framer-motion": "^10.18.0",
33
+ "framer-motion": "^10.16.16",
36
34
  "luxon": "^3.4.4",
37
35
  "react": "^18.2.0",
38
36
  "react-dom": "^18.2.0",
@@ -44,37 +42,43 @@
44
42
  "react-dom": "^18.2.0"
45
43
  },
46
44
  "devDependencies": {
47
- "@babel/core": "^7.23.7",
48
- "@babel/preset-env": "^7.23.8",
45
+ "@babel/core": "^7.23.6",
46
+ "@babel/preset-env": "^7.23.6",
49
47
  "@babel/preset-react": "^7.23.3",
50
48
  "@babel/preset-typescript": "^7.23.3",
51
49
  "@bitrise/eslint-plugin": "^2.3.3",
50
+ "@chakra-ui/cli": "^2.4.1",
51
+ "@commitlint/cli": "^17.8.0",
52
+ "@commitlint/config-conventional": "^17.8.0",
52
53
  "@google-cloud/storage": "^7.7.0",
53
- "@storybook/addon-actions": "^7.6.7",
54
- "@storybook/addon-essentials": "^7.6.7",
55
- "@storybook/addon-interactions": "^7.6.7",
56
- "@storybook/addon-links": "^7.6.7",
57
- "@storybook/addons": "^7.6.7",
58
- "@storybook/blocks": "^7.6.7",
59
- "@storybook/react": "^7.6.7",
60
- "@storybook/react-webpack5": "^7.6.7",
61
- "@storybook/theming": "^7.6.7",
62
- "@testing-library/dom": "^9.3.4",
63
- "@testing-library/jest-dom": "^6.2.0",
54
+ "@semantic-release/commit-analyzer": "^11.1.0",
55
+ "@semantic-release/git": "^10.0.1",
56
+ "@storybook/addon-actions": "^7.6.4",
57
+ "@storybook/addon-essentials": "^7.6.4",
58
+ "@storybook/addon-interactions": "^7.6.4",
59
+ "@storybook/addon-links": "^7.6.4",
60
+ "@storybook/addons": "^7.6.4",
61
+ "@storybook/blocks": "^7.6.4",
62
+ "@storybook/react": "^7.6.4",
63
+ "@storybook/react-webpack5": "^7.6.4",
64
+ "@storybook/testing-library": "^0.2.2",
65
+ "@storybook/theming": "^7.6.4",
66
+ "@testing-library/dom": "^9.3.3",
67
+ "@testing-library/jest-dom": "^6.1.5",
64
68
  "@testing-library/react": "^14.1.2",
65
- "@testing-library/user-event": "^14.5.2",
69
+ "@testing-library/user-event": "^14.5.1",
66
70
  "@types/jest": "^29.5.11",
67
- "@types/luxon": "^3.4.0",
68
- "@types/react": "^18.2.47",
69
- "@types/react-dom": "^18.2.18",
70
- "@typescript-eslint/eslint-plugin": "^6.18.1",
71
- "@typescript-eslint/parser": "^6.18.1",
72
- "axios": "^1.6.5",
73
- "eslint": "^8.56.0",
71
+ "@types/luxon": "^3.3.7",
72
+ "@types/react": "^18.2.45",
73
+ "@types/react-dom": "^18.2.17",
74
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
75
+ "@typescript-eslint/parser": "^6.14.0",
76
+ "axios": "^1.6.2",
77
+ "eslint": "^8.55.0",
74
78
  "eslint-plugin-import": "^2.29.1",
75
- "eslint-plugin-jest": "^27.6.2",
79
+ "eslint-plugin-jest": "^27.6.0",
76
80
  "eslint-plugin-jsx-a11y": "^6.8.0",
77
- "eslint-plugin-prettier": "^5.1.3",
81
+ "eslint-plugin-prettier": "^5.0.1",
78
82
  "eslint-plugin-react": "^7.33.2",
79
83
  "eslint-plugin-react-hooks": "^4.6.0",
80
84
  "eslint-plugin-storybook": "^0.6.15",
@@ -82,12 +86,13 @@
82
86
  "glob": "^10.3.10",
83
87
  "jest": "^29.7.0",
84
88
  "jest-environment-jsdom": "^29.7.0",
85
- "jsdom": "^23.2.0",
89
+ "jsdom": "^23.0.1",
86
90
  "prettier": "^3.1.1",
87
- "react-hook-form": "^7.49.3",
88
- "storybook": "^7.6.7",
91
+ "react-hook-form": "^7.49.2",
92
+ "semantic-release": "^22.0.12",
93
+ "storybook": "^7.6.4",
89
94
  "ts-jest": "^29.1.1",
90
- "typescript": "^5.3.3"
95
+ "typescript": "^4.8.4"
91
96
  },
92
97
  "files": [
93
98
  "src",
@@ -96,9 +101,5 @@
96
101
  "sideEffects": false,
97
102
  "publishConfig": {
98
103
  "access": "public"
99
- },
100
- "engines": {
101
- "node": "20.10.0",
102
- "npm": "10.2.3"
103
104
  }
104
105
  }
@@ -1,4 +1,4 @@
1
- import { ColorScheme } from '../../Foundations/Colors/Colors';
1
+ import { ColorScheme } from '../../tokens/tokens';
2
2
 
3
3
  const schemeColors: Record<ColorScheme, any> = {
4
4
  blue: {
@@ -1,5 +1,5 @@
1
1
  import { Button as ChakraButton, ButtonProps as ChakraButtonProps, forwardRef, useStyleConfig } from '@chakra-ui/react';
2
- import { ColorScheme } from '../../Foundations/Colors/Colors';
2
+ import { ColorScheme } from '../../tokens/tokens';
3
3
 
4
4
  export interface ColorButtonProps extends ChakraButtonProps {
5
5
  as?: 'a' | 'button';
@@ -14,7 +14,7 @@ import {
14
14
  InputRightElement,
15
15
  SystemStyleObject,
16
16
  } from '@chakra-ui/react';
17
- import { TypeColors } from '../../../Foundations/Colors/Colors';
17
+ import { TypeColors } from '../../../tokens/tokens';
18
18
  import Icon, { TypeIconName } from '../../Icon/Icon';
19
19
  import Text from '../../Text/Text';
20
20
  import Box from '../../Box/Box';
@@ -3,8 +3,10 @@ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
3
3
  const ArrowDown = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
5
  <path
6
+ fillRule="evenodd"
7
+ clipRule="evenodd"
8
+ d="M8.63972 9.44538L10.3906 7.69748L11.3333 8.70588L7.96632 12L4.66666 8.70588L5.60942 7.76471L7.29292 9.37815V4H8.63972V9.44538Z"
6
9
  fill="currentColor"
7
- d="M8.669 1.333v1.334H7.336V1.333h1.333Zm0 2V6H7.336V3.333h1.333Zm3.113 7.572-.943-.943-2.17 2.17V6.667H7.336v5.448L5.183 9.962l-.943.943 3.771 3.77 3.771-3.77Z"
8
10
  />
9
11
  </Icon>
10
12
  ));
@@ -1,6 +1,6 @@
1
1
  import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
2
 
3
- const BackArrow = forwardRef<IconProps, 'svg'>((props, ref) => (
3
+ const ArrowLeft = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
5
  <path
6
6
  fill="currentColor"
@@ -11,4 +11,4 @@ const BackArrow = forwardRef<IconProps, 'svg'>((props, ref) => (
11
11
  </Icon>
12
12
  ));
13
13
 
14
- export default BackArrow;
14
+ export default ArrowLeft;
@@ -0,0 +1,12 @@
1
+ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
+
3
+ const ArrowMoveDown = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
+ <path
6
+ fill="currentColor"
7
+ d="M8.669 1.333v1.334H7.336V1.333h1.333Zm0 2V6H7.336V3.333h1.333Zm3.113 7.572-.943-.943-2.17 2.17V6.667H7.336v5.448L5.183 9.962l-.943.943 3.771 3.77 3.771-3.77Z"
8
+ />
9
+ </Icon>
10
+ ));
11
+
12
+ export default ArrowMoveDown;
@@ -1,6 +1,6 @@
1
1
  import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
2
 
3
- const ArrowBack = forwardRef<IconProps, 'svg'>((props, ref) => (
3
+ const ArrowMoveLeft = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
5
  <path
6
6
  fill="currentColor"
@@ -11,4 +11,4 @@ const ArrowBack = forwardRef<IconProps, 'svg'>((props, ref) => (
11
11
  </Icon>
12
12
  ));
13
13
 
14
- export default ArrowBack;
14
+ export default ArrowMoveLeft;
@@ -1,6 +1,6 @@
1
1
  import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
2
 
3
- const ArrowForward = forwardRef<IconProps, 'svg'>((props, ref) => (
3
+ const ArrowMoveRight = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
5
  <path
6
6
  fill="currentColor"
@@ -11,4 +11,4 @@ const ArrowForward = forwardRef<IconProps, 'svg'>((props, ref) => (
11
11
  </Icon>
12
12
  ));
13
13
 
14
- export default ArrowForward;
14
+ export default ArrowMoveRight;
@@ -0,0 +1,14 @@
1
+ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
+
3
+ const ArrowMoveUp = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
+ <path
6
+ fill="currentColor"
7
+ fillRule="evenodd"
8
+ d="m7.28 3.797-2.17 2.17-.943-.942 3.771-3.772 3.771 3.772-.943.942-2.153-2.153v5.448H7.28V3.797Zm0 10.799v-1.334h1.333v1.334H7.28Zm0-2V9.929h1.333v2.667H7.28Z"
9
+ clipRule="evenodd"
10
+ />
11
+ </Icon>
12
+ ));
13
+
14
+ export default ArrowMoveUp;
@@ -0,0 +1,14 @@
1
+ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
+
3
+ const ArrowRight = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
+ <path
6
+ fillRule="evenodd"
7
+ clipRule="evenodd"
8
+ d="M9.44538 7.36035L7.69748 5.60951L8.70588 4.66675L12 8.03375L8.70588 11.3334L7.76471 10.3907L9.37815 8.70715H4V7.36035H9.44538Z"
9
+ fill="currentColor"
10
+ />
11
+ </Icon>
12
+ ));
13
+
14
+ export default ArrowRight;
@@ -3,10 +3,10 @@ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
3
3
  const ArrowUp = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
5
  <path
6
- fill="currentColor"
7
6
  fillRule="evenodd"
8
- d="m7.28 3.797-2.17 2.17-.943-.942 3.771-3.772 3.771 3.772-.943.942-2.153-2.153v5.448H7.28V3.797Zm0 10.799v-1.334h1.333v1.334H7.28Zm0-2V9.929h1.333v2.667H7.28Z"
9
7
  clipRule="evenodd"
8
+ d="M7.36026 6.55462L5.60942 8.30252L4.66666 7.29412L8.03366 4L11.3333 7.29412L10.3906 8.23529L8.70706 6.62185V12H7.36026V6.55462Z"
9
+ fill="currentColor"
10
10
  />
11
11
  </Icon>
12
12
  ));
@@ -8,12 +8,15 @@ export { default as Android } from './Android';
8
8
  export { default as App } from './App';
9
9
  export { default as AppleFill } from './AppleFill';
10
10
  export { default as Apple } from './Apple';
11
- export { default as ArrowBack } from './ArrowBack';
12
- export { default as ArrowDown } from './ArrowDown';
13
- export { default as ArrowForward } from './ArrowForward';
11
+ export { default as ArrowMoveLeft } from './ArrowMoveLeft';
12
+ export { default as ArrowMoveDown } from './ArrowMoveDown';
13
+ export { default as ArrowMoveUp } from './ArrowMoveUp';
14
+ export { default as ArrowMoveRight } from './ArrowMoveRight';
14
15
  export { default as ArrowQuit } from './ArrowQuit';
16
+ export { default as ArrowLeft } from './ArrowLeft';
17
+ export { default as ArrowRight } from './ArrowRight';
15
18
  export { default as ArrowUp } from './ArrowUp';
16
- export { default as BackArrow } from './BackArrow';
19
+ export { default as ArrowDown } from './ArrowDown';
17
20
  export { default as Badge3rdParty } from './Badge3rdParty';
18
21
  export { default as BadgeBitrise } from './BadgeBitrise';
19
22
  export { default as Bazel } from './Bazel';
@@ -3,7 +3,9 @@ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
3
3
  const ArrowDown = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
5
  <path
6
- d="M13.003 2v2h-2V2h2ZM13.003 5v4h-2V5h2ZM17.673 16.357l-1.414-1.414-3.256 3.255V10h-2v8.172l-3.23-3.23-1.413 1.415 5.657 5.657 5.656-5.657Z"
6
+ fillRule="evenodd"
7
+ clipRule="evenodd"
8
+ d="M12.9596 14.1681L15.5859 11.5462L17 13.0588L11.9495 18L7 13.0588L8.41414 11.6471L10.9394 14.0672V6H12.9596V14.1681Z"
7
9
  fill="currentColor"
8
10
  />
9
11
  </Icon>
@@ -1,6 +1,6 @@
1
1
  import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
2
 
3
- const BackArrow = forwardRef<IconProps, 'svg'>((props, ref) => (
3
+ const ArrowLeft = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
5
  <path
6
6
  fillRule="evenodd"
@@ -11,4 +11,4 @@ const BackArrow = forwardRef<IconProps, 'svg'>((props, ref) => (
11
11
  </Icon>
12
12
  ));
13
13
 
14
- export default BackArrow;
14
+ export default ArrowLeft;
@@ -0,0 +1,12 @@
1
+ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
+
3
+ const ArrowMoveDown = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
+ <path
6
+ d="M13.003 2v2h-2V2h2ZM13.003 5v4h-2V5h2ZM17.673 16.357l-1.414-1.414-3.256 3.255V10h-2v8.172l-3.23-3.23-1.413 1.415 5.657 5.657 5.656-5.657Z"
7
+ fill="currentColor"
8
+ />
9
+ </Icon>
10
+ ));
11
+
12
+ export default ArrowMoveDown;
@@ -1,6 +1,6 @@
1
1
  import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
2
 
3
- const ArrowBack = forwardRef<IconProps, 'svg'>((props, ref) => (
3
+ const ArrowMoveLeft = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
5
  <path
6
6
  fillRule="evenodd"
@@ -11,4 +11,4 @@ const ArrowBack = forwardRef<IconProps, 'svg'>((props, ref) => (
11
11
  </Icon>
12
12
  ));
13
13
 
14
- export default ArrowBack;
14
+ export default ArrowMoveLeft;
@@ -1,6 +1,6 @@
1
1
  import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
2
 
3
- const ArrowForward = forwardRef<IconProps, 'svg'>((props, ref) => (
3
+ const ArrowMoveRight = forwardRef<IconProps, 'svg'>((props, ref) => (
4
4
  <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
5
  <path
6
6
  fillRule="evenodd"
@@ -11,4 +11,4 @@ const ArrowForward = forwardRef<IconProps, 'svg'>((props, ref) => (
11
11
  </Icon>
12
12
  ));
13
13
 
14
- export default ArrowForward;
14
+ export default ArrowMoveRight;
@@ -0,0 +1,14 @@
1
+ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
+
3
+ const ArrowMoveUp = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
+ <path
6
+ fillRule="evenodd"
7
+ clipRule="evenodd"
8
+ d="M10.92 5.695 7.664 8.951 6.25 7.537l5.657-5.657 5.657 5.657-1.415 1.414-3.229-3.23v8.173h-2V5.695Zm0 16.199v-2h2v2h-2Zm0-3v-4h2v4h-2Z"
9
+ fill="currentColor"
10
+ />
11
+ </Icon>
12
+ ));
13
+
14
+ export default ArrowMoveUp;
@@ -0,0 +1,14 @@
1
+ import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
2
+
3
+ const ArrowRight = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
+ <path
6
+ fillRule="evenodd"
7
+ clipRule="evenodd"
8
+ d="M14.1681 11.0404L11.5462 8.41414L13.0588 7L18 12.0505L13.0588 17L11.6471 15.5859L14.0672 13.0606H6V11.0404H14.1681Z"
9
+ fill="currentColor"
10
+ />
11
+ </Icon>
12
+ ));
13
+
14
+ export default ArrowRight;
@@ -5,7 +5,7 @@ const ArrowUp = forwardRef<IconProps, 'svg'>((props, ref) => (
5
5
  <path
6
6
  fillRule="evenodd"
7
7
  clipRule="evenodd"
8
- d="M10.92 5.695 7.664 8.951 6.25 7.537l5.657-5.657 5.657 5.657-1.415 1.414-3.229-3.23v8.173h-2V5.695Zm0 16.199v-2h2v2h-2Zm0-3v-4h2v4h-2Z"
8
+ d="M11.0404 9.83193L8.41414 12.4538L7 10.9412L12.0505 6L17 10.9412L15.5859 12.3529L13.0606 9.93277V18H11.0404V9.83193Z"
9
9
  fill="currentColor"
10
10
  />
11
11
  </Icon>
@@ -8,12 +8,15 @@ export { default as Android } from './Android';
8
8
  export { default as App } from './App';
9
9
  export { default as AppleFill } from './AppleFill';
10
10
  export { default as Apple } from './Apple';
11
- export { default as ArrowBack } from './ArrowBack';
12
- export { default as ArrowDown } from './ArrowDown';
13
- export { default as ArrowForward } from './ArrowForward';
11
+ export { default as ArrowMoveLeft } from './ArrowMoveLeft';
12
+ export { default as ArrowMoveDown } from './ArrowMoveDown';
13
+ export { default as ArrowMoveUp } from './ArrowMoveUp';
14
+ export { default as ArrowMoveRight } from './ArrowMoveRight';
14
15
  export { default as ArrowQuit } from './ArrowQuit';
16
+ export { default as ArrowLeft } from './ArrowLeft';
17
+ export { default as ArrowRight } from './ArrowRight';
15
18
  export { default as ArrowUp } from './ArrowUp';
16
- export { default as BackArrow } from './BackArrow';
19
+ export { default as ArrowDown } from './ArrowDown';
17
20
  export { default as Badge3rdParty } from './Badge3rdParty';
18
21
  export { default as BadgeBitrise } from './BadgeBitrise';
19
22
  export { default as Bazel } from './Bazel';
@@ -1,5 +1,5 @@
1
1
  import { MenuItem as ChakraMenuItem, MenuItemProps as ChakraMenuItemProps, forwardRef } from '@chakra-ui/react';
2
- import { TypeColors } from '../../Foundations/Colors/Colors';
2
+ import { TypeColors } from '../../tokens/tokens';
3
3
  import Box from '../Box/Box';
4
4
  import Icon, { TypeIconName } from '../Icon/Icon';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { cloneElement, createContext, ReactElement, useContext, useMemo } from 'react';
2
2
  import { Alert as ChakraAlert, AlertProps, forwardRef } from '@chakra-ui/react';
3
3
 
4
- import { ColorScheme } from '../../Foundations/Colors/Colors';
4
+ import { ColorScheme } from '../../tokens/tokens';
5
5
  import Box from '../Box/Box';
6
6
  import CloseButton from '../CloseButton/CloseButton';
7
7
  import ColorButton, { ColorButtonProps } from '../ColorButton/ColorButton';
@@ -1,7 +1,7 @@
1
1
  import { createContext, useContext, useMemo } from 'react';
2
2
  import { Alert as ChakraAlert, AlertProps, forwardRef } from '@chakra-ui/react';
3
3
 
4
- import { ColorScheme } from '../../Foundations/Colors/Colors';
4
+ import { ColorScheme } from '../../tokens/tokens';
5
5
  import CloseButton from '../CloseButton/CloseButton';
6
6
  import ColorButton, { ColorButtonProps } from '../ColorButton/ColorButton';
7
7
  import Box from '../Box/Box';
@@ -20,9 +20,9 @@ export interface SelectProps extends Omit<FormControlProps, 'label' | 'onBlur' |
20
20
  isLoading?: boolean;
21
21
  label?: ReactNode;
22
22
  name?: string;
23
+ placeholder?: ChakraSelectProps['placeholder'];
23
24
  onBlur?: ChakraSelectProps['onBlur'];
24
25
  onChange?: ChakraSelectProps['onChange'];
25
- placeholder?: ChakraSelectProps['placeholder'];
26
26
  size?: 'small' | 'medium';
27
27
  value?: ChakraSelectProps['value'];
28
28
  }
@@ -6,7 +6,7 @@ const Tabletheme = {
6
6
  return {
7
7
  caption: {
8
8
  textAlign: 'left',
9
- marginBottom: '24',
9
+ marginBottom: '12',
10
10
  },
11
11
  captionTitle: {
12
12
  fontSize: '4',
@@ -1,5 +1,5 @@
1
1
  import { Button, TabProps as ChakraTabProps, forwardRef, useTab, useTabsStyles } from '@chakra-ui/react';
2
- import { TypeColors } from '../../Foundations/Colors/Colors';
2
+ import { TypeColors } from '../../tokens/tokens';
3
3
  import Box from '../Box/Box';
4
4
  import Icon, { TypeIconName } from '../Icon/Icon';
5
5
  import Text from '../Text/Text';
@@ -4,7 +4,7 @@ import Skeleton from '../Skeleton/Skeleton';
4
4
  import SkeletonBox from '../Skeleton/SkeletonBox';
5
5
  import Text from '../Text/Text';
6
6
  import Tooltip from '../Tooltip/Tooltip';
7
- import { TypeColors } from '../../Foundations/Colors/Colors';
7
+ import { TypeColors } from '../../tokens/tokens';
8
8
 
9
9
  export interface TagProps extends Omit<ChakraTagProps, 'colorScheme' | 'size' | 'variant'> {
10
10
  closeButtonTooltip?: string;
@@ -0,0 +1,20 @@
1
+ // eslint-disable-next-line import/no-extraneous-dependencies
2
+ import { Unstyled } from '@storybook/blocks';
3
+ import Provider from '../../Components/Provider/Provider';
4
+ import Divider from '../../Components/Divider/Divider';
5
+ import Palette from './Palette';
6
+ import SystemTokens from './SystemTokens';
7
+
8
+ const Colors = () => {
9
+ return (
10
+ <Unstyled>
11
+ <Provider>
12
+ <Palette />
13
+ <Divider marginTop="48" marginBottom="32" size="1" />
14
+ <SystemTokens />
15
+ </Provider>
16
+ </Unstyled>
17
+ );
18
+ };
19
+
20
+ export default Colors;
@@ -0,0 +1,26 @@
1
+ import { semanticTokens } from '../../tokens/tokens';
2
+ import Card from '../../Components/Card/Card';
3
+ import Text from '../../Components/Text/Text';
4
+ import TokenTable from '../docComponents/TokenTable';
5
+
6
+ const SystemColorKeys = Object.keys(semanticTokens.colors.sys);
7
+
8
+ const SystemTokens = () => (
9
+ <>
10
+ <Text as="h2" size="8" color="pal.purple.10" fontWeight="normal" marginBlockEnd="8">
11
+ System Tokens
12
+ </Text>
13
+ <Card boxShadow="medium" padding="24">
14
+ {SystemColorKeys.map((groupName) => (
15
+ <TokenTable
16
+ data={semanticTokens.colors.sys[groupName]}
17
+ groupName={groupName}
18
+ key={groupName}
19
+ marginBottom="24"
20
+ />
21
+ ))}
22
+ </Card>
23
+ </>
24
+ );
25
+
26
+ export default SystemTokens;
@@ -12,17 +12,17 @@ export const figmaIcons: {
12
12
  [category: string]: FigmaIcon[];
13
13
  } = {
14
14
  'Arrows and Chevrons': [
15
- { iconName: 'BackArrow', figmaToken: 'arrow-left' },
16
- { iconName: '', figmaToken: 'arrow-down' },
17
- { iconName: '', figmaToken: 'arrow-right' },
18
- { iconName: '', figmaToken: 'arrow-up' },
15
+ { iconName: 'ArrowLeft', figmaToken: 'arrow-left' },
16
+ { iconName: 'ArrowDown', figmaToken: 'arrow-down' },
17
+ { iconName: 'ArrowRight', figmaToken: 'arrow-right' },
18
+ { iconName: 'ArrowUp', figmaToken: 'arrow-up' },
19
19
  { iconName: 'Request', figmaToken: 'arrow-left-over-right', tags: 'request' },
20
20
  { iconName: 'SortArrows', figmaToken: 'arrow-up-down' },
21
21
  { iconName: 'ArrowQuit', figmaToken: 'arrow-back-and-up', tags: 'quit' },
22
- { iconName: 'ArrowDown', figmaToken: 'arrow-move-down' },
23
- { iconName: 'ArrowBack', figmaToken: 'arrow-move-left' },
24
- { iconName: 'ArrowForward', figmaToken: 'arrow-move-right' },
25
- { iconName: 'ArrowUp', figmaToken: 'arrow-move-up' },
22
+ { iconName: 'ArrowMoveDown', figmaToken: 'arrow-move-down' },
23
+ { iconName: 'ArrowMoveLeft', figmaToken: 'arrow-move-left' },
24
+ { iconName: 'ArrowMoveRight', figmaToken: 'arrow-move-right' },
25
+ { iconName: 'ArrowMoveUp', figmaToken: 'arrow-move-up' },
26
26
  { iconName: 'ChevronDown', figmaToken: 'chevron-down' },
27
27
  { iconName: 'ChevronLeft', figmaToken: 'chevron-left' },
28
28
  { iconName: 'ChevronRight', figmaToken: 'chevron-right' },
@@ -1,4 +1,4 @@
1
- import { ColorScheme } from '../Colors/Colors';
1
+ import { ColorScheme } from '../../tokens/tokens';
2
2
 
3
3
  const AlertTheme = {
4
4
  parts: ['container', 'title', 'icon', 'body'],