@khanacademy/math-input 15.1.0 → 16.1.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 (145) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/components/aphrodite-css-transition-group/util.d.ts +2 -1
  3. package/dist/components/input/math-wrapper.d.ts +1 -1
  4. package/dist/components/keypad/index.d.ts +1 -1
  5. package/dist/components/keypad/mobile-keypad-internals.d.ts +49 -0
  6. package/dist/components/keypad/mobile-keypad.d.ts +4 -48
  7. package/dist/data/key-configs.d.ts +1 -1
  8. package/dist/es/index.js +171 -4744
  9. package/dist/es/index.js.map +1 -1
  10. package/dist/fake-react-native-web/view.d.ts +2 -1
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.js +168 -4722
  13. package/dist/index.js.map +1 -1
  14. package/package.json +2 -2
  15. package/src/components/__tests__/integration.test.tsx +2 -3
  16. package/src/components/input/math-input.tsx +1 -0
  17. package/src/components/input/math-wrapper.ts +2 -2
  18. package/src/components/keypad/__tests__/mobile-keypad.test.tsx +8 -8
  19. package/src/components/keypad/index.tsx +1 -1
  20. package/src/components/keypad/mobile-keypad-internals.tsx +240 -0
  21. package/src/components/keypad/mobile-keypad.tsx +21 -234
  22. package/src/data/key-configs.ts +1 -1
  23. package/src/full-mobile-input.stories.tsx +0 -1
  24. package/src/index.ts +1 -1
  25. package/tsconfig-build.tsbuildinfo +1 -1
  26. package/dist/components/keypad-legacy/compute-layout-parameters.d.ts +0 -28
  27. package/dist/components/keypad-legacy/corner-decal.d.ts +0 -12
  28. package/dist/components/keypad-legacy/echo-manager.d.ts +0 -17
  29. package/dist/components/keypad-legacy/empty-keypad-button.d.ts +0 -13
  30. package/dist/components/keypad-legacy/expression-keypad.d.ts +0 -21
  31. package/dist/components/keypad-legacy/fraction-keypad.d.ts +0 -21
  32. package/dist/components/keypad-legacy/gesture-manager.d.ts +0 -86
  33. package/dist/components/keypad-legacy/gesture-state-machine.d.ts +0 -105
  34. package/dist/components/keypad-legacy/icon.d.ts +0 -15
  35. package/dist/components/keypad-legacy/index.d.ts +0 -1
  36. package/dist/components/keypad-legacy/keypad-button.d.ts +0 -53
  37. package/dist/components/keypad-legacy/keypad-container.d.ts +0 -41
  38. package/dist/components/keypad-legacy/keypad.d.ts +0 -31
  39. package/dist/components/keypad-legacy/many-keypad-button.d.ts +0 -15
  40. package/dist/components/keypad-legacy/math-icon.d.ts +0 -16
  41. package/dist/components/keypad-legacy/multi-symbol-grid.d.ts +0 -14
  42. package/dist/components/keypad-legacy/multi-symbol-popover.d.ts +0 -12
  43. package/dist/components/keypad-legacy/navigation-pad.d.ts +0 -14
  44. package/dist/components/keypad-legacy/node-manager.d.ts +0 -49
  45. package/dist/components/keypad-legacy/popover-manager.d.ts +0 -13
  46. package/dist/components/keypad-legacy/popover-state-machine.d.ts +0 -68
  47. package/dist/components/keypad-legacy/provided-keypad.d.ts +0 -28
  48. package/dist/components/keypad-legacy/store/actions.d.ts +0 -55
  49. package/dist/components/keypad-legacy/store/echo-reducer.d.ts +0 -4
  50. package/dist/components/keypad-legacy/store/index.d.ts +0 -9
  51. package/dist/components/keypad-legacy/store/input-reducer.d.ts +0 -4
  52. package/dist/components/keypad-legacy/store/keypad-reducer.d.ts +0 -4
  53. package/dist/components/keypad-legacy/store/layout-reducer.d.ts +0 -4
  54. package/dist/components/keypad-legacy/store/shared.d.ts +0 -7
  55. package/dist/components/keypad-legacy/store/types.d.ts +0 -47
  56. package/dist/components/keypad-legacy/styles.d.ts +0 -5
  57. package/dist/components/keypad-legacy/svg-icon.d.ts +0 -12
  58. package/dist/components/keypad-legacy/text-icon.d.ts +0 -13
  59. package/dist/components/keypad-legacy/touchable-keypad-button.d.ts +0 -37
  60. package/dist/components/keypad-legacy/two-page-keypad.d.ts +0 -21
  61. package/dist/components/keypad-legacy/z-indexes.d.ts +0 -7
  62. package/dist/components/keypad-switch.d.ts +0 -12
  63. package/src/components/keypad-legacy/__tests__/gesture-state-machine.test.ts +0 -441
  64. package/src/components/keypad-legacy/__tests__/node-manager.test.ts +0 -89
  65. package/src/components/keypad-legacy/compute-layout-parameters.ts +0 -205
  66. package/src/components/keypad-legacy/corner-decal.tsx +0 -56
  67. package/src/components/keypad-legacy/echo-manager.tsx +0 -152
  68. package/src/components/keypad-legacy/empty-keypad-button.tsx +0 -58
  69. package/src/components/keypad-legacy/expression-keypad.tsx +0 -315
  70. package/src/components/keypad-legacy/fraction-keypad.tsx +0 -180
  71. package/src/components/keypad-legacy/gesture-manager.ts +0 -255
  72. package/src/components/keypad-legacy/gesture-state-machine.ts +0 -329
  73. package/src/components/keypad-legacy/icon.tsx +0 -72
  74. package/src/components/keypad-legacy/iconography/arrow.js +0 -22
  75. package/src/components/keypad-legacy/iconography/backspace.js +0 -29
  76. package/src/components/keypad-legacy/iconography/cdot.js +0 -29
  77. package/src/components/keypad-legacy/iconography/cos.js +0 -30
  78. package/src/components/keypad-legacy/iconography/cube-root.js +0 -36
  79. package/src/components/keypad-legacy/iconography/dismiss.js +0 -25
  80. package/src/components/keypad-legacy/iconography/divide.js +0 -34
  81. package/src/components/keypad-legacy/iconography/down.js +0 -16
  82. package/src/components/keypad-legacy/iconography/equal.js +0 -33
  83. package/src/components/keypad-legacy/iconography/exp-2.js +0 -29
  84. package/src/components/keypad-legacy/iconography/exp-3.js +0 -29
  85. package/src/components/keypad-legacy/iconography/exp.js +0 -29
  86. package/src/components/keypad-legacy/iconography/frac.js +0 -44
  87. package/src/components/keypad-legacy/iconography/geq.js +0 -33
  88. package/src/components/keypad-legacy/iconography/gt.js +0 -33
  89. package/src/components/keypad-legacy/iconography/index.js +0 -45
  90. package/src/components/keypad-legacy/iconography/jump-into-numerator.js +0 -41
  91. package/src/components/keypad-legacy/iconography/jump-out-base.js +0 -30
  92. package/src/components/keypad-legacy/iconography/jump-out-denominator.js +0 -41
  93. package/src/components/keypad-legacy/iconography/jump-out-exponent.js +0 -30
  94. package/src/components/keypad-legacy/iconography/jump-out-numerator.js +0 -41
  95. package/src/components/keypad-legacy/iconography/jump-out-parentheses.js +0 -33
  96. package/src/components/keypad-legacy/iconography/left-paren.js +0 -33
  97. package/src/components/keypad-legacy/iconography/left.js +0 -16
  98. package/src/components/keypad-legacy/iconography/leq.js +0 -33
  99. package/src/components/keypad-legacy/iconography/ln.js +0 -29
  100. package/src/components/keypad-legacy/iconography/log-n.js +0 -29
  101. package/src/components/keypad-legacy/iconography/log.js +0 -29
  102. package/src/components/keypad-legacy/iconography/lt.js +0 -33
  103. package/src/components/keypad-legacy/iconography/minus.js +0 -32
  104. package/src/components/keypad-legacy/iconography/neq.js +0 -33
  105. package/src/components/keypad-legacy/iconography/parens.js +0 -33
  106. package/src/components/keypad-legacy/iconography/percent.js +0 -49
  107. package/src/components/keypad-legacy/iconography/period.js +0 -26
  108. package/src/components/keypad-legacy/iconography/plus.js +0 -32
  109. package/src/components/keypad-legacy/iconography/radical.js +0 -36
  110. package/src/components/keypad-legacy/iconography/right-paren.js +0 -33
  111. package/src/components/keypad-legacy/iconography/right.js +0 -16
  112. package/src/components/keypad-legacy/iconography/sin.js +0 -30
  113. package/src/components/keypad-legacy/iconography/sqrt.js +0 -32
  114. package/src/components/keypad-legacy/iconography/tan.js +0 -30
  115. package/src/components/keypad-legacy/iconography/times.js +0 -33
  116. package/src/components/keypad-legacy/iconography/up.js +0 -16
  117. package/src/components/keypad-legacy/index.ts +0 -1
  118. package/src/components/keypad-legacy/keypad-button.tsx +0 -368
  119. package/src/components/keypad-legacy/keypad-container.tsx +0 -358
  120. package/src/components/keypad-legacy/keypad.tsx +0 -162
  121. package/src/components/keypad-legacy/many-keypad-button.tsx +0 -54
  122. package/src/components/keypad-legacy/math-icon.tsx +0 -66
  123. package/src/components/keypad-legacy/multi-symbol-grid.tsx +0 -182
  124. package/src/components/keypad-legacy/multi-symbol-popover.tsx +0 -58
  125. package/src/components/keypad-legacy/navigation-pad.tsx +0 -140
  126. package/src/components/keypad-legacy/node-manager.ts +0 -133
  127. package/src/components/keypad-legacy/popover-manager.tsx +0 -73
  128. package/src/components/keypad-legacy/popover-state-machine.ts +0 -184
  129. package/src/components/keypad-legacy/provided-keypad.tsx +0 -136
  130. package/src/components/keypad-legacy/store/actions.ts +0 -155
  131. package/src/components/keypad-legacy/store/echo-reducer.ts +0 -57
  132. package/src/components/keypad-legacy/store/index.ts +0 -110
  133. package/src/components/keypad-legacy/store/input-reducer.ts +0 -55
  134. package/src/components/keypad-legacy/store/keypad-reducer.ts +0 -58
  135. package/src/components/keypad-legacy/store/layout-reducer.test.ts +0 -171
  136. package/src/components/keypad-legacy/store/layout-reducer.ts +0 -129
  137. package/src/components/keypad-legacy/store/shared.ts +0 -12
  138. package/src/components/keypad-legacy/store/types.ts +0 -78
  139. package/src/components/keypad-legacy/styles.ts +0 -38
  140. package/src/components/keypad-legacy/svg-icon.tsx +0 -24
  141. package/src/components/keypad-legacy/text-icon.tsx +0 -53
  142. package/src/components/keypad-legacy/touchable-keypad-button.tsx +0 -163
  143. package/src/components/keypad-legacy/two-page-keypad.tsx +0 -115
  144. package/src/components/keypad-legacy/z-indexes.ts +0 -8
  145. package/src/components/keypad-switch.tsx +0 -42
@@ -1,41 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the JUMP_OUT_NUMERATOR iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import * as React from "react";
7
-
8
- const JumpOutNumerator = () => {
9
- return (
10
- <svg width="48" height="48" viewBox="0 0 48 48">
11
- <g fill="none" fillRule="evenodd">
12
- <path fill="none" d="M0 0h48v48H0z" />
13
- <path fill="none" d="M12 12h24v24H12z" />
14
- <path
15
- stroke="#78C008"
16
- strokeWidth="2"
17
- strokeLinecap="round"
18
- strokeLinejoin="round"
19
- d="M33 29l-3 3-3-3M30 18v14"
20
- />
21
- <path
22
- d="M16 27.997c0-.55.453-.997.997-.997h6.006c.55 0 .997.453.997.997v6.006c0 .55-.453.997-.997.997h-6.006c-.55 0-.997-.453-.997-.997v-6.006zM18 29h4v4h-4v-4z"
23
- fill="#78C008"
24
- />
25
- <path
26
- d="M25 24H15"
27
- stroke="#888D93"
28
- strokeWidth="2"
29
- strokeLinecap="round"
30
- strokeLinejoin="round"
31
- />
32
- <path
33
- d="M16 13.997c0-.55.453-.997.997-.997h6.006c.55 0 .997.453.997.997v6.006c0 .55-.453.997-.997.997h-6.006c-.55 0-.997-.453-.997-.997v-6.006zM18 15h4v4h-4v-4z"
34
- fill="#888D93"
35
- />
36
- </g>
37
- </svg>
38
- );
39
- };
40
-
41
- export default JumpOutNumerator;
@@ -1,33 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the JUMP_OUT_PARENTHESES iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import * as React from "react";
7
-
8
- const JumpOutParentheses = () => {
9
- return (
10
- <svg width="48" height="48" viewBox="0 0 48 48">
11
- <g fill="none" fillRule="evenodd">
12
- <path fill="none" d="M0 0h48v48H0z" />
13
- <path fill="none" d="M12 12h24v24H12z" />
14
- <path
15
- d="M24 18c3 3 3 9 0 12M18 18c-3 3-3 9 0 12"
16
- stroke="#888D93"
17
- strokeWidth="2"
18
- strokeLinecap="round"
19
- strokeLinejoin="round"
20
- />
21
- <path
22
- stroke="#78C008"
23
- strokeWidth="2"
24
- strokeLinecap="round"
25
- strokeLinejoin="round"
26
- d="M32 27l3-3-3-3M22 24h12"
27
- />
28
- </g>
29
- </svg>
30
- );
31
- };
32
-
33
- export default JumpOutParentheses;
@@ -1,33 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the LEFT_PAREN iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class LeftParen extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path fill="none" d="M12 12h24v24H12z" />
20
- <path
21
- d="M26 14c-4 6-4 14 0 20"
22
- stroke={this.props.color}
23
- strokeWidth="2"
24
- strokeLinecap="round"
25
- strokeLinejoin="round"
26
- />
27
- </g>
28
- </svg>
29
- );
30
- }
31
- }
32
-
33
- export default LeftParen;
@@ -1,16 +0,0 @@
1
- /**
2
- * An component that renders the LEFT iconograpy in SVG.
3
- */
4
- import * as React from "react";
5
-
6
- import Arrow from "./arrow";
7
-
8
- const Left = () => {
9
- return (
10
- <svg width="48" height="48" viewBox="0 0 48 48">
11
- <Arrow />
12
- </svg>
13
- );
14
- };
15
-
16
- export default Left;
@@ -1,33 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the LEQ iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Leq extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path fill="none" d="M12 12h24v24H12z" />
20
- <path
21
- d="M16 33h16M32 30l-16-6 16-6"
22
- stroke={this.props.color}
23
- strokeWidth="2"
24
- strokeLinecap="round"
25
- strokeLinejoin="round"
26
- />
27
- </g>
28
- </svg>
29
- );
30
- }
31
- }
32
-
33
- export default Leq;
@@ -1,29 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the LN iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Ln extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path
20
- d="M20.836 29v-9.338h-1.778V29h1.778zm8.106 0v-4.774c0-1.316-.714-2.156-2.198-2.156-1.106 0-1.932.532-2.366 1.05v-.882H22.6V29h1.778v-4.55c.294-.406.84-.798 1.54-.798.756 0 1.246.322 1.246 1.26V29h1.778z"
21
- fill={this.props.color}
22
- />
23
- </g>
24
- </svg>
25
- );
26
- }
27
- }
28
-
29
- export default Ln;
@@ -1,29 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the LOG_N iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class LogN extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path
20
- d="M30 28.997c0-.55.453-.997.997-.997h6.006c.55 0 .997.453.997.997v6.006c0 .55-.453.997-.997.997h-6.006c-.55 0-.997-.453-.997-.997v-6.006zM32 30h4v4h-4v-4zM12.776 29v-9.338h-1.778V29h1.778zm4.9.168c2.24 0 3.584-1.624 3.584-3.556 0-1.918-1.344-3.542-3.584-3.542-2.226 0-3.57 1.624-3.57 3.542 0 1.932 1.344 3.556 3.57 3.556zm0-1.582c-1.106 0-1.722-.91-1.722-1.974 0-1.05.616-1.96 1.722-1.96 1.106 0 1.736.91 1.736 1.96 0 1.064-.63 1.974-1.736 1.974zm7.672 4.158c1.666 0 3.654-.63 3.654-3.206v-6.3H27.21v.868c-.546-.686-1.274-1.036-2.086-1.036-1.708 0-2.982 1.232-2.982 3.444 0 2.254 1.288 3.444 2.982 3.444.826 0 1.554-.392 2.086-1.064v.686c0 1.33-1.008 1.708-1.862 1.708-.854 0-1.568-.238-2.114-.84l-.798 1.288c.854.742 1.75 1.008 2.912 1.008zm.336-4.368c-1.008 0-1.708-.7-1.708-1.862 0-1.162.7-1.862 1.708-1.862.588 0 1.232.322 1.526.77v2.184c-.294.434-.938.77-1.526.77z"
21
- fill={this.props.color}
22
- />
23
- </g>
24
- </svg>
25
- );
26
- }
27
- }
28
-
29
- export default LogN;
@@ -1,29 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the LOG iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Log extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path
20
- d="M16.776 29v-9.338h-1.778V29h1.778zm4.9.168c2.24 0 3.584-1.624 3.584-3.556 0-1.918-1.344-3.542-3.584-3.542-2.226 0-3.57 1.624-3.57 3.542 0 1.932 1.344 3.556 3.57 3.556zm0-1.582c-1.106 0-1.722-.91-1.722-1.974 0-1.05.616-1.96 1.722-1.96 1.106 0 1.736.91 1.736 1.96 0 1.064-.63 1.974-1.736 1.974zm7.672 4.158c1.666 0 3.654-.63 3.654-3.206v-6.3H31.21v.868c-.546-.686-1.274-1.036-2.086-1.036-1.708 0-2.982 1.232-2.982 3.444 0 2.254 1.288 3.444 2.982 3.444.826 0 1.554-.392 2.086-1.064v.686c0 1.33-1.008 1.708-1.862 1.708-.854 0-1.568-.238-2.114-.84l-.798 1.288c.854.742 1.75 1.008 2.912 1.008zm.336-4.368c-1.008 0-1.708-.7-1.708-1.862 0-1.162.7-1.862 1.708-1.862.588 0 1.232.322 1.526.77v2.184c-.294.434-.938.77-1.526.77z"
21
- fill={this.props.color}
22
- />
23
- </g>
24
- </svg>
25
- );
26
- }
27
- }
28
-
29
- export default Log;
@@ -1,33 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the LT iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Lt extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path fill="none" d="M12 12h24v24H12z" />
20
- <path
21
- stroke={this.props.color}
22
- strokeWidth="2"
23
- strokeLinecap="round"
24
- strokeLinejoin="round"
25
- d="M32 30l-16-6 16-6"
26
- />
27
- </g>
28
- </svg>
29
- );
30
- }
31
- }
32
-
33
- export default Lt;
@@ -1,32 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the MINUS iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Minus extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path
20
- d="M19 24h10"
21
- stroke={this.props.color}
22
- strokeWidth="2"
23
- strokeLinecap="round"
24
- strokeLinejoin="round"
25
- />
26
- </g>
27
- </svg>
28
- );
29
- }
30
- }
31
-
32
- export default Minus;
@@ -1,33 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the NEQ iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Neq extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path fill="none" d="M12 12h24v24H12z" />
20
- <path
21
- d="M19 33l10-18M16 21h17M16 27h17"
22
- stroke={this.props.color}
23
- strokeWidth="2"
24
- strokeLinecap="round"
25
- strokeLinejoin="round"
26
- />
27
- </g>
28
- </svg>
29
- );
30
- }
31
- }
32
-
33
- export default Neq;
@@ -1,33 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the PARENS iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Parens extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path fill="none" d="M12 12h24v24H12z" />
20
- <path
21
- d="M19 14c-4 6-4 14 0 20M29 14c4 6 4 14 0 20"
22
- stroke={this.props.color}
23
- strokeWidth="2"
24
- strokeLinecap="round"
25
- strokeLinejoin="round"
26
- />
27
- </g>
28
- </svg>
29
- );
30
- }
31
- }
32
-
33
- export default Parens;
@@ -1,49 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the PERCENT iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Percent extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <g transform="translate(12 12)">
20
- <path fill="none" d="M0 0h24v24H0z" />
21
- <path
22
- d="M16 4L8 20"
23
- stroke={this.props.color}
24
- strokeWidth="2"
25
- strokeLinecap="round"
26
- strokeLinejoin="round"
27
- />
28
- <circle
29
- stroke={this.props.color}
30
- strokeWidth="2"
31
- cx="7"
32
- cy="7"
33
- r="3"
34
- />
35
- <circle
36
- stroke={this.props.color}
37
- strokeWidth="2"
38
- cx="17"
39
- cy="17"
40
- r="3"
41
- />
42
- </g>
43
- </g>
44
- </svg>
45
- );
46
- }
47
- }
48
-
49
- export default Percent;
@@ -1,26 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the PERIOD iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Period extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <circle fill={this.props.color} cx="24" cy="30" r="2" />
20
- </g>
21
- </svg>
22
- );
23
- }
24
- }
25
-
26
- export default Period;
@@ -1,32 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the PLUS iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Plus extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path
20
- d="M19 24h10M24 29V19"
21
- stroke={this.props.color}
22
- strokeWidth="2"
23
- strokeLinecap="round"
24
- strokeLinejoin="round"
25
- />
26
- </g>
27
- </svg>
28
- );
29
- }
30
- }
31
-
32
- export default Plus;
@@ -1,36 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the RADICAL iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Radical extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path
20
- d="M13 16.997c0-.55.453-.997.997-.997h6.006c.55 0 .997.453.997.997v6.006c0 .55-.453.997-.997.997h-6.006c-.55 0-.997-.453-.997-.997v-6.006zM15 18h4v4h-4v-4z"
21
- fill={this.props.color}
22
- />
23
- <path
24
- stroke={this.props.color}
25
- strokeWidth="2"
26
- strokeLinecap="round"
27
- strokeLinejoin="round"
28
- d="M14 29l4 6 9-14h7"
29
- />
30
- </g>
31
- </svg>
32
- );
33
- }
34
- }
35
-
36
- export default Radical;
@@ -1,33 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the RIGHT_PAREN iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class RightParen extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path fill="none" d="M12 12h24v24H12z" />
20
- <path
21
- d="M23 14c4 6 4 14 0 20"
22
- stroke={this.props.color}
23
- strokeWidth="2"
24
- strokeLinecap="round"
25
- strokeLinejoin="round"
26
- />
27
- </g>
28
- </svg>
29
- );
30
- }
31
- }
32
-
33
- export default RightParen;
@@ -1,16 +0,0 @@
1
- /**
2
- * A component that renders the RIGHT iconograpy in SVG.
3
- */
4
- import * as React from "react";
5
-
6
- import Arrow from "./arrow";
7
-
8
- const Right = () => {
9
- return (
10
- <svg width="48" height="48" viewBox="0 0 48 48">
11
- <Arrow transform="rotate(180 24 24)" />
12
- </svg>
13
- );
14
- };
15
-
16
- export default Right;
@@ -1,30 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the SIN iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Sin extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path fill="none" d="M12 12h24v24H12z" />
20
- <path
21
- d="M18.655 29.168c1.876 0 2.926-.938 2.926-2.17 0-2.73-4.004-1.89-4.004-2.898 0-.378.42-.672 1.064-.672.826 0 1.596.35 2.002.784l.714-1.218c-.672-.532-1.582-.924-2.73-.924-1.778 0-2.772.994-2.772 2.128 0 2.66 4.018 1.75 4.018 2.87 0 .42-.364.728-1.134.728-.84 0-1.848-.462-2.338-.924l-.77 1.246c.714.658 1.848 1.05 3.024 1.05zm5.124-7.658c.588 0 1.064-.476 1.064-1.064 0-.588-.476-1.05-1.064-1.05a1.06 1.06 0 0 0-1.064 1.05c0 .588.49 1.064 1.064 1.064zm.896 7.49v-6.762h-1.778V29h1.778zm8.106 0v-4.774c0-1.316-.714-2.156-2.198-2.156-1.106 0-1.932.532-2.366 1.05v-.882h-1.778V29h1.778v-4.55c.294-.406.84-.798 1.54-.798.756 0 1.246.322 1.246 1.26V29h1.778z"
22
- fill={this.props.color}
23
- />
24
- </g>
25
- </svg>
26
- );
27
- }
28
- }
29
-
30
- export default Sin;
@@ -1,32 +0,0 @@
1
- /**
2
- * An autogenerated component that renders the SQRT iconograpy in SVG.
3
- *
4
- * Generated with: https://gist.github.com/crm416/3c7abc88e520eaed72347af240b32590.
5
- */
6
- import PropTypes from "prop-types";
7
- import * as React from "react";
8
-
9
- class Sqrt extends React.Component {
10
- static propTypes = {
11
- color: PropTypes.string.isRequired,
12
- };
13
-
14
- render() {
15
- return (
16
- <svg width="48" height="48" viewBox="0 0 48 48">
17
- <g fill="none" fillRule="evenodd">
18
- <path fill="none" d="M0 0h48v48H0z" />
19
- <path
20
- stroke={this.props.color}
21
- strokeWidth="2"
22
- strokeLinecap="round"
23
- strokeLinejoin="round"
24
- d="M14 29l4 6 9-14h7"
25
- />
26
- </g>
27
- </svg>
28
- );
29
- }
30
- }
31
-
32
- export default Sqrt;