@map2usdnbhd/md_components 1.0.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.
- package/README.md +30 -0
- package/dist/index.css +148 -0
- package/dist/index.js +1726 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +1713 -0
- package/dist/index.modern.js.map +1 -0
- package/package.json +85 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# md_components
|
|
2
|
+
|
|
3
|
+
> map2u md components
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/md_components) [](https://standardjs.com)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install --save md_components
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```jsx
|
|
16
|
+
import React, { Component } from 'react'
|
|
17
|
+
|
|
18
|
+
import MyComponent from 'md_components'
|
|
19
|
+
import 'md_components/dist/index.css'
|
|
20
|
+
|
|
21
|
+
class Example extends Component {
|
|
22
|
+
render() {
|
|
23
|
+
return <MyComponent />
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
MIT © [nafzaa](https://github.com/nafzaa)
|
package/dist/index.css
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
._3q3XO {
|
|
2
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
+
font-weight: 700;
|
|
4
|
+
border: 0;
|
|
5
|
+
border-radius: 3em;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
display: inline-block;
|
|
8
|
+
line-height: 1;
|
|
9
|
+
}
|
|
10
|
+
._JAS2s {
|
|
11
|
+
color: white;
|
|
12
|
+
background-color: #1ea7fd;
|
|
13
|
+
}
|
|
14
|
+
._2gGM7 {
|
|
15
|
+
color: #333;
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;
|
|
18
|
+
}
|
|
19
|
+
._3bhlO {
|
|
20
|
+
font-size: 12px;
|
|
21
|
+
padding: 10px 16px;
|
|
22
|
+
}
|
|
23
|
+
._1KpLZ {
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
padding: 11px 20px;
|
|
26
|
+
}
|
|
27
|
+
._3hoCX {
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
padding: 12px 24px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
._tLXXl {
|
|
33
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
34
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
35
|
+
padding: 15px 20px;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
._tLXXl svg {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
vertical-align: top;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
._tLXXl h1 {
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
font-size: 20px;
|
|
49
|
+
line-height: 1;
|
|
50
|
+
margin: 6px 0 6px 10px;
|
|
51
|
+
display: inline-block;
|
|
52
|
+
vertical-align: top;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
._tLXXl button + button {
|
|
56
|
+
margin-left: 10px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
._tLXXl ._3Vcpx {
|
|
60
|
+
color: #333;
|
|
61
|
+
font-size: 14px;
|
|
62
|
+
margin-right: 10px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media only screen and (max-width: 550px) {
|
|
66
|
+
._2UNcV {
|
|
67
|
+
display: none; /* Hide content on mobile */
|
|
68
|
+
}
|
|
69
|
+
._pNyzX{
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: end;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media only screen and (min-width: 550px) {
|
|
77
|
+
._pNyzX {
|
|
78
|
+
display: none;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
._11i37 {
|
|
83
|
+
width: 100%;
|
|
84
|
+
display: flex;
|
|
85
|
+
align-content: center;
|
|
86
|
+
justify-content: end;
|
|
87
|
+
align-items: center;
|
|
88
|
+
margin-left: 5px;
|
|
89
|
+
}
|
|
90
|
+
@media (max-width: 320px) {
|
|
91
|
+
._yAE0G {
|
|
92
|
+
display: flex;
|
|
93
|
+
}
|
|
94
|
+
._HQ1pp {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media (min-width: 321px) {
|
|
101
|
+
._yAE0G {
|
|
102
|
+
display: none;
|
|
103
|
+
}
|
|
104
|
+
._HQ1pp {
|
|
105
|
+
display: flex;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
._39zVd {
|
|
111
|
+
width: 100%;
|
|
112
|
+
list-style: none;
|
|
113
|
+
font-size: larger;
|
|
114
|
+
padding: 10px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
._39zVd a {
|
|
118
|
+
text-decoration: none;
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
height: 30px;
|
|
122
|
+
padding: 10px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
._39zVd a span {
|
|
126
|
+
margin-right: 20px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
._33sJ6 a {
|
|
130
|
+
color: white;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
._33sJ6 a:hover {
|
|
134
|
+
background-color: gray;
|
|
135
|
+
color: white;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
._1xK8_ {
|
|
139
|
+
color: black;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
._1xK8_:hover {
|
|
143
|
+
background-color: gray;
|
|
144
|
+
color: white;
|
|
145
|
+
}
|
|
146
|
+
._vnL2O {
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
}
|