@platformatic/ui-components 0.1.60 → 0.1.61

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,8 +0,0 @@
1
- 'use strict'
2
- import styles from './BorderedText.module.css'
3
- import React from 'react'
4
- export default function BorderedText (props) {
5
- return (
6
- <span className={styles.bordered}>{props.text}</span>
7
- )
8
- }
@@ -1,3 +0,0 @@
1
- .bordered {
2
- @apply border border-solid rounded-md px-2 py-1 border-white tracking-super-widest text-white;
3
- }
@@ -1,22 +0,0 @@
1
- import React from 'react'
2
- import styles from './Loader.module.css'
3
- import { SpinnerCircular } from 'spinners-react'
4
-
5
- export default function Loader ({ loading, children }) {
6
- return (
7
- <>
8
- {
9
- loading
10
- ? (
11
- <div className={styles.container} data-testid='loading'>
12
- <div data-testid='loading-content' className={styles.content}>
13
- <SpinnerCircular className={styles.spinner} thickness={180} size={60} />
14
- <div className={styles.blurred}>{children}</div>
15
- </div>
16
- </div>
17
- )
18
- : children
19
- }
20
- </>
21
- )
22
- }
@@ -1,13 +0,0 @@
1
- .container {
2
- @apply fixed top-0 left-0 h-full w-full z-40;
3
- }
4
- .content {
5
- @apply h-full w-full;
6
- }
7
- .spinner {
8
- @apply absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 z-50;
9
- }
10
- .blurred {
11
- @apply blur-sm;
12
- }
13
-