@rabbitio/ui-kit 1.0.0-alpha.1 → 1.0.0-alpha.2

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/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  # Installation
2
- 1. run
3
2
  ~~~
4
3
  npm install --save @rabbitio/ui-kit
5
4
  ~~~
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabbitio/ui-kit",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "Rabbit.io react.js components kit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import Button from "./Button.js";
2
+ import Button from "./Button.jsx";
3
3
  import icon from "../../../assets/icons/transactions-icon.svg";
4
4
 
5
5
  const sizes = ["xl", "lg", "md", "sm"];
@@ -377,10 +377,6 @@
377
377
  border-bottom: 0.5px solid SolidColor("smoke");
378
378
  }
379
379
 
380
- a {
381
- text-decoration: none;
382
- }
383
-
384
380
  .skeleton {
385
381
  background: SolidColor("lightsmoke");
386
382
  animation: skeleton-animate 1s 1s infinite ease-in-out;
@@ -400,28 +396,6 @@ a {
400
396
  opacity: 0.5;
401
397
  }
402
398
 
403
- td {
404
- padding: 0;
405
- }
406
-
407
- /* Chrome, Safari, Edge, Opera */
408
- input::-webkit-outer-spin-button,
409
- input::-webkit-inner-spin-button {
410
- -webkit-appearance: none;
411
- margin: 0;
412
- }
413
-
414
- /* Firefox */
415
- input[type="number"] {
416
- -moz-appearance: textfield;
417
- }
418
-
419
- textarea {
420
- -webkit-appearance: none;
421
- -moz-appearance: none;
422
- appearance: none;
423
- }
424
-
425
399
  @keyframes skeleton-animate {
426
400
  0% {
427
401
  background: #eaeaea;
@@ -0,0 +1,74 @@
1
+ @import "mixins";
2
+ @import "functions";
3
+
4
+ a {
5
+ text-decoration: none;
6
+ }
7
+
8
+ td {
9
+ padding: 0;
10
+ }
11
+
12
+ /* Chrome, Safari, Edge, Opera */
13
+ input::-webkit-outer-spin-button,
14
+ input::-webkit-inner-spin-button {
15
+ -webkit-appearance: none;
16
+ margin: 0;
17
+ }
18
+
19
+ /* Firefox */
20
+ input[type="number"] {
21
+ -moz-appearance: textfield;
22
+ }
23
+
24
+ textarea {
25
+ -webkit-appearance: none;
26
+ -moz-appearance: none;
27
+ appearance: none;
28
+ }
29
+
30
+ * {
31
+ outline: none !important;
32
+ box-sizing: border-box;
33
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
34
+ }
35
+
36
+ html {
37
+ background-color: SolidColor("dark");
38
+ }
39
+
40
+ body {
41
+ margin: 0;
42
+ font-family: NunitoSans;
43
+ width: 100%;
44
+ overflow-x: hidden;
45
+ overflow-y: auto;
46
+ }
47
+
48
+ h1 {
49
+ @include typograpy("h1");
50
+ }
51
+
52
+ h2 {
53
+ @include typograpy("h2");
54
+ }
55
+
56
+ h3 {
57
+ @include typograpy("h3");
58
+ }
59
+
60
+ h4 {
61
+ @include typograpy("h4");
62
+ }
63
+
64
+ h5 {
65
+ @include typograpy("h5");
66
+ }
67
+
68
+ h6 {
69
+ @include typograpy("h6");
70
+ }
71
+
72
+ p {
73
+ @include typograpy("p");
74
+ }
package/styles/index.scss CHANGED
@@ -1,7 +1,5 @@
1
1
  @import "variables";
2
2
  @import "global-classes";
3
- @import "mixins";
4
- @import "functions";
5
3
  @import "placeholder";
6
4
 
7
5
  @font-face {
@@ -33,49 +31,3 @@
33
31
  font-family: "NunitoSans";
34
32
  font-weight: 300;
35
33
  }
36
-
37
- * {
38
- outline: none !important;
39
- box-sizing: border-box;
40
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
41
- }
42
-
43
- html {
44
- background-color: SolidColor("dark");
45
- }
46
-
47
- body {
48
- margin: 0;
49
- font-family: NunitoSans;
50
- width: 100%;
51
- overflow-x: hidden;
52
- overflow-y: auto;
53
- }
54
-
55
- h1 {
56
- @include typograpy("h1");
57
- }
58
-
59
- h2 {
60
- @include typograpy("h2");
61
- }
62
-
63
- h3 {
64
- @include typograpy("h3");
65
- }
66
-
67
- h4 {
68
- @include typograpy("h4");
69
- }
70
-
71
- h5 {
72
- @include typograpy("h5");
73
- }
74
-
75
- h6 {
76
- @include typograpy("h6");
77
- }
78
-
79
- p {
80
- @include typograpy("p");
81
- }