react-restyle-components 0.1.63 → 0.1.65

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/lib/index.d.ts CHANGED
@@ -1 +1,2 @@
1
+ import './global.scss';
1
2
  export * from './src/core-components';
package/lib/index.js CHANGED
@@ -1 +1,2 @@
1
+ import './global.scss';
1
2
  export * from './src/core-components';
@@ -0,0 +1,38 @@
1
+ .App {
2
+ text-align: center;
3
+ }
4
+
5
+ .App-logo {
6
+ height: 40vmin;
7
+ pointer-events: none;
8
+ }
9
+
10
+ @media (prefers-reduced-motion: no-preference) {
11
+ .App-logo {
12
+ animation: App-logo-spin infinite 20s linear;
13
+ }
14
+ }
15
+
16
+ .App-header {
17
+ background-color: #282c34;
18
+ min-height: 100vh;
19
+ display: flex;
20
+ flex-direction: column;
21
+ align-items: center;
22
+ justify-content: center;
23
+ font-size: calc(10px + 2vmin);
24
+ color: white;
25
+ }
26
+
27
+ .App-link {
28
+ color: #61dafb;
29
+ }
30
+
31
+ @keyframes App-logo-spin {
32
+ from {
33
+ transform: rotate(0deg);
34
+ }
35
+ to {
36
+ transform: rotate(360deg);
37
+ }
38
+ }
@@ -0,0 +1,35 @@
1
+ .-z-1 {
2
+ z-index: -1;
3
+ }
4
+
5
+ .origin-0 {
6
+ transform-origin: 0%;
7
+ }
8
+
9
+ input:focus ~ label,
10
+ input:not(:placeholder-shown) ~ label,
11
+ textarea:focus ~ label,
12
+ textarea:not(:placeholder-shown) ~ label,
13
+ select:focus ~ label,
14
+ select:not([value=""]):valid ~ label {
15
+ /* @apply transform; scale-75; -translate-y-6; */
16
+ --tw-translate-x: 0;
17
+ --tw-translate-y: 0;
18
+ --tw-rotate: 0;
19
+ --tw-skew-x: 0;
20
+ --tw-skew-y: 0;
21
+ transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))
22
+ rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
23
+ scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
24
+ --tw-scale-x: 0.75;
25
+ --tw-scale-y: 0.75;
26
+ --tw-translate-y: -1.5rem;
27
+ }
28
+
29
+ input:focus ~ label,
30
+ select:focus ~ label {
31
+ /* @apply text-black; left-0; */
32
+ --tw-text-opacity: 1;
33
+ color: "#696969";
34
+ left: 0px;
35
+ }
@@ -0,0 +1,35 @@
1
+ .-z-1 {
2
+ z-index: -1;
3
+ }
4
+
5
+ .origin-0 {
6
+ transform-origin: 0%;
7
+ }
8
+
9
+ input:focus ~ label,
10
+ input:not(:placeholder-shown) ~ label,
11
+ textarea:focus ~ label,
12
+ textarea:not(:placeholder-shown) ~ label,
13
+ select:focus ~ label,
14
+ select:not([value=""]):valid ~ label {
15
+ /* @apply transform; scale-75; -translate-y-6; */
16
+ --tw-translate-x: 0;
17
+ --tw-translate-y: 0;
18
+ --tw-rotate: 0;
19
+ --tw-skew-x: 0;
20
+ --tw-skew-y: 0;
21
+ transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))
22
+ rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
23
+ scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
24
+ --tw-scale-x: 0.75;
25
+ --tw-scale-y: 0.75;
26
+ --tw-translate-y: -1.5rem;
27
+ }
28
+
29
+ input:focus ~ label,
30
+ select:focus ~ label {
31
+ /* @apply text-black; left-0; */
32
+ --tw-text-opacity: 1;
33
+ color: "#696969";
34
+ left: 0px;
35
+ }
@@ -0,0 +1,17 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ body {
6
+ margin: 0;
7
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
8
+ "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
9
+ sans-serif;
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+ }
13
+
14
+ code {
15
+ font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
16
+ monospace;
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "main": "./lib/index.js",