@platformatic/ui-components 0.1.14 → 0.1.16
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.
- package/index.js +21 -17
- package/package.json +1 -1
- package/src/components/Button.jsx +0 -9
package/index.js
CHANGED
|
@@ -4,47 +4,51 @@ import ApiSummary from './src/components/ApiSummary'
|
|
|
4
4
|
import ApiDetails from './src/components/ApiDetail'
|
|
5
5
|
import BorderedBox from './src/components/BorderedBox'
|
|
6
6
|
import BorderedText from './src/components/BorderedText'
|
|
7
|
-
import
|
|
7
|
+
import Box from './src/components/Box'
|
|
8
|
+
import Button from './src/components/Button'
|
|
9
|
+
import FollowUs from './src/components/FollowUs'
|
|
10
|
+
import FrontpageBackground from './src/components/FrontpageBackground'
|
|
8
11
|
import GHLoginButton from './src/components/GHLoginButton'
|
|
12
|
+
import HorizontalSeparator from './src/components/HorizontalSeparator'
|
|
13
|
+
import Input from './src/components/Input'
|
|
9
14
|
import Layout from './src/components/layouts/Layout'
|
|
15
|
+
import List from './src/components/List'
|
|
16
|
+
import ListElement from './src/components/ListElement'
|
|
10
17
|
import LoginButton from './src/components/LoginButton'
|
|
11
|
-
import
|
|
18
|
+
import Logo from './src/components/Logo'
|
|
12
19
|
import Playground from './src/components/Playground'
|
|
13
20
|
import PullRequest from './src/components/PullRequest'
|
|
14
21
|
import SearchBar from './src/components/SearchBar'
|
|
15
22
|
import Status from './src/components/Status'
|
|
16
23
|
import TabbedWindow from './src/components/TabbedWindow'
|
|
17
24
|
import TextWithLabel from './src/components/TextWithLabel'
|
|
25
|
+
import TwoColumnsLayout from './src/components/layouts/TwoColumnsLayout'
|
|
18
26
|
import Versions from './src/components/Versions'
|
|
19
27
|
import VerticalSeparator from './src/components/VerticalSeparator'
|
|
20
|
-
import FollowUs from './src/components/FollowUs'
|
|
21
|
-
import List from './src/components/List'
|
|
22
|
-
import ListElement from './src/components/ListElement'
|
|
23
|
-
import Logo from './src/components/Logo'
|
|
24
|
-
import Box from './src/components/Box'
|
|
25
|
-
import FrontpageBackground from './src/components/FrontpageBackground'
|
|
26
28
|
export {
|
|
27
29
|
ApiSummary,
|
|
28
30
|
ApiDetails,
|
|
29
31
|
BorderedBox,
|
|
30
32
|
BorderedText,
|
|
31
|
-
|
|
33
|
+
Box,
|
|
34
|
+
Button,
|
|
35
|
+
FollowUs,
|
|
36
|
+
FrontpageBackground,
|
|
32
37
|
HorizontalSeparator,
|
|
38
|
+
GHLoginButton,
|
|
39
|
+
Input,
|
|
33
40
|
Layout,
|
|
41
|
+
List,
|
|
42
|
+
ListElement,
|
|
34
43
|
LoginButton,
|
|
35
|
-
|
|
44
|
+
Logo,
|
|
36
45
|
Playground,
|
|
37
46
|
PullRequest,
|
|
38
47
|
SearchBar,
|
|
39
48
|
Status,
|
|
40
49
|
TabbedWindow,
|
|
41
50
|
TextWithLabel,
|
|
51
|
+
TwoColumnsLayout,
|
|
42
52
|
Versions,
|
|
43
|
-
VerticalSeparator
|
|
44
|
-
FollowUs,
|
|
45
|
-
List,
|
|
46
|
-
ListElement,
|
|
47
|
-
Logo,
|
|
48
|
-
Box,
|
|
49
|
-
FrontpageBackground
|
|
53
|
+
VerticalSeparator
|
|
50
54
|
}
|
package/package.json
CHANGED
|
@@ -15,14 +15,5 @@ export default function Button ({ icon, label, onClick, primary, color, ...props
|
|
|
15
15
|
{icon ? <FontAwesomeIcon icon={icon} className='mr-2' data-testid='button-icon' /> : null}
|
|
16
16
|
<span>{label}</span>
|
|
17
17
|
</button>
|
|
18
|
-
// <div className={styles.container} onClick={onClick}>
|
|
19
|
-
// <div
|
|
20
|
-
// className={`${styles.button} ${styles[buttonClass]}`}
|
|
21
|
-
// data-testid='button'
|
|
22
|
-
// {...props}
|
|
23
|
-
// >
|
|
24
|
-
// {icon ? <FontAwesomeIcon icon={icon} className='mr-2' data-testid='button-icon' /> : null} {label}
|
|
25
|
-
// </div>
|
|
26
|
-
// </div>
|
|
27
18
|
)
|
|
28
19
|
}
|