next-helios-fe 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/@types/index.d.ts +2 -0
- package/dist/components/button/index.d.ts +15 -0
- package/dist/components/calendar/big-calendar/event.d.ts +7 -0
- package/dist/components/calendar/big-calendar/index.d.ts +14 -0
- package/dist/components/calendar/big-calendar/toolbar.d.ts +8 -0
- package/dist/components/calendar/calendar/index.d.ts +11 -0
- package/dist/components/chart/index.d.ts +17 -0
- package/dist/components/chip/index.d.ts +12 -0
- package/dist/components/content-container/accordion/index.d.ts +10 -0
- package/dist/components/content-container/accordion/item.d.ts +6 -0
- package/dist/components/content-container/card.d.ts +10 -0
- package/dist/components/content-container/carousel.d.ts +10 -0
- package/dist/components/content-container/drawer.d.ts +8 -0
- package/dist/components/content-container/modal/index.d.ts +21 -0
- package/dist/components/content-container/sortable/index.d.ts +14 -0
- package/dist/components/content-container/sortable/item.d.ts +8 -0
- package/dist/components/content-container/sortable/knob.d.ts +5 -0
- package/dist/components/content-container/tab/index.d.ts +17 -0
- package/dist/components/content-container/tab/window.d.ts +5 -0
- package/dist/components/data-tree/index.d.ts +6 -0
- package/dist/components/dialog/index.d.ts +16 -0
- package/dist/components/dropdown/header.d.ts +5 -0
- package/dist/components/dropdown/index.d.ts +15 -0
- package/dist/components/dropdown/item.d.ts +7 -0
- package/dist/components/form/index.d.ts +44 -0
- package/dist/components/form/input/checkbox.d.ts +9 -0
- package/dist/components/form/input/color.d.ts +10 -0
- package/dist/components/form/input/email.d.ts +9 -0
- package/dist/components/form/input/file.d.ts +14 -0
- package/dist/components/form/input/number.d.ts +9 -0
- package/dist/components/form/input/password.d.ts +9 -0
- package/dist/components/form/input/radio.d.ts +9 -0
- package/dist/components/form/input/range.d.ts +9 -0
- package/dist/components/form/input/search.d.ts +8 -0
- package/dist/components/form/input/text.d.ts +9 -0
- package/dist/components/form/input/time.d.ts +9 -0
- package/dist/components/form/other/autocomplete.d.ts +15 -0
- package/dist/components/form/other/multipleSelect.d.ts +23 -0
- package/dist/components/form/other/phoneNumber.d.ts +10 -0
- package/dist/components/form/other/pin.d.ts +10 -0
- package/dist/components/form/other/secret.d.ts +11 -0
- package/dist/components/form/other/select.d.ts +15 -0
- package/dist/components/form/other/textarea.d.ts +9 -0
- package/dist/components/index.d.ts +19 -0
- package/dist/components/map/index.d.ts +13 -0
- package/dist/components/map/marker.d.ts +8 -0
- package/dist/components/syntax-highlighter/index.d.ts +9 -0
- package/dist/components/table/action.d.ts +5 -0
- package/dist/components/table/index.d.ts +24 -0
- package/dist/components/timeline/index.d.ts +10 -0
- package/dist/components/timeline/item.d.ts +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +62 -0
- package/package.json +72 -0
- package/src/components/button/index.tsx +74 -0
- package/src/components/calendar/big-calendar/event.tsx +46 -0
- package/src/components/calendar/big-calendar/index.tsx +102 -0
- package/src/components/calendar/big-calendar/toolbar.tsx +98 -0
- package/src/components/calendar/calendar/index.tsx +26 -0
- package/src/components/chart/index.tsx +121 -0
- package/src/components/chip/index.tsx +47 -0
- package/src/components/content-container/accordion/index.tsx +28 -0
- package/src/components/content-container/accordion/item.tsx +40 -0
- package/src/components/content-container/card.tsx +21 -0
- package/src/components/content-container/carousel.tsx +35 -0
- package/src/components/content-container/drawer.tsx +78 -0
- package/src/components/content-container/modal/index.tsx +127 -0
- package/src/components/content-container/sortable/index.tsx +47 -0
- package/src/components/content-container/sortable/item.tsx +20 -0
- package/src/components/content-container/sortable/knob.tsx +11 -0
- package/src/components/content-container/tab/index.tsx +94 -0
- package/src/components/content-container/tab/window.tsx +10 -0
- package/src/components/data-tree/index.tsx +60 -0
- package/src/components/dialog/index.tsx +88 -0
- package/src/components/dropdown/header.tsx +11 -0
- package/src/components/dropdown/index.tsx +69 -0
- package/src/components/dropdown/item.tsx +22 -0
- package/src/components/form/index.tsx +81 -0
- package/src/components/form/input/checkbox.tsx +49 -0
- package/src/components/form/input/color.tsx +104 -0
- package/src/components/form/input/email.tsx +40 -0
- package/src/components/form/input/file.tsx +189 -0
- package/src/components/form/input/number.tsx +93 -0
- package/src/components/form/input/password.tsx +57 -0
- package/src/components/form/input/radio.tsx +49 -0
- package/src/components/form/input/range.tsx +67 -0
- package/src/components/form/input/search.tsx +50 -0
- package/src/components/form/input/text.tsx +39 -0
- package/src/components/form/input/time.tsx +315 -0
- package/src/components/form/other/autocomplete.tsx +199 -0
- package/src/components/form/other/multipleSelect.tsx +211 -0
- package/src/components/form/other/phoneNumber.tsx +1668 -0
- package/src/components/form/other/pin.tsx +56 -0
- package/src/components/form/other/secret.tsx +74 -0
- package/src/components/form/other/select.tsx +187 -0
- package/src/components/form/other/textarea.tsx +44 -0
- package/src/components/index.ts +29 -0
- package/src/components/map/index.tsx +72 -0
- package/src/components/map/marker.tsx +40 -0
- package/src/components/syntax-highlighter/index.tsx +45 -0
- package/src/components/table/action.tsx +22 -0
- package/src/components/table/index.tsx +431 -0
- package/src/components/timeline/index.tsx +28 -0
- package/src/components/timeline/item.tsx +25 -0
- package/src/index.css +1 -0
- package/src/index.ts +3 -0
- package/src/styles/big-calendar.scss +810 -0
- package/src/styles/calendar.scss +195 -0
- package/src/styles/index.css +2 -0
- package/tsconfig.json +17 -0
- package/webpack.config.js +35 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
.react-calendar {
|
|
2
|
+
width: 268px;
|
|
3
|
+
max-width: 100%;
|
|
4
|
+
font-family: 'Roboto', sans-serif;
|
|
5
|
+
line-height: 1.125em;
|
|
6
|
+
padding: 8px 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.react-calendar--doubleView {
|
|
10
|
+
width: 700px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.react-calendar--doubleView .react-calendar__viewContainer {
|
|
14
|
+
display: flex;
|
|
15
|
+
margin: -0.5em;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.react-calendar--doubleView .react-calendar__viewContainer > * {
|
|
19
|
+
width: 50%;
|
|
20
|
+
margin: 0.5em;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.react-calendar,
|
|
24
|
+
.react-calendar *,
|
|
25
|
+
.react-calendar *:before,
|
|
26
|
+
.react-calendar *:after {
|
|
27
|
+
-moz-box-sizing: border-box;
|
|
28
|
+
-webkit-box-sizing: border-box;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.react-calendar button {
|
|
33
|
+
margin: 0;
|
|
34
|
+
border: 0;
|
|
35
|
+
outline: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.react-calendar button:enabled:hover {
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.react-calendar__navigation {
|
|
43
|
+
display: flex;
|
|
44
|
+
height: 44px;
|
|
45
|
+
margin-bottom: 1em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.react-calendar__navigation button {
|
|
49
|
+
min-width: 44px;
|
|
50
|
+
background: none;
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
border-radius: 6px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.react-calendar__navigation button:disabled {
|
|
56
|
+
background-color: var(--color-secondary-light);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.react-calendar__navigation button:enabled:hover
|
|
60
|
+
{
|
|
61
|
+
background-color: var(--color-primary-transparent);
|
|
62
|
+
border-radius: 6px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.react-calendar__month-view__weekdays {
|
|
66
|
+
text-align: center;
|
|
67
|
+
text-transform: uppercase;
|
|
68
|
+
font: inherit;
|
|
69
|
+
font-size: 0.75em;
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.react-calendar__month-view__weekdays__weekday {
|
|
74
|
+
padding: 0.5em;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.react-calendar__month-view__weekdays__weekday abbr {
|
|
78
|
+
text-decoration: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.react-calendar__month-view__weekNumbers .react-calendar__tile {
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
font: inherit;
|
|
86
|
+
font-size: 0.75em;
|
|
87
|
+
font-weight: bold;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.react-calendar__month-view__days__day--weekend {
|
|
91
|
+
color: var(--color-danger);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.react-calendar__month-view__days__day--neighboringMonth,
|
|
95
|
+
.react-calendar__decade-view__years__year--neighboringDecade,
|
|
96
|
+
.react-calendar__century-view__decades__decade--neighboringCentury {
|
|
97
|
+
color: var(--color-secondary);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.react-calendar__year-view .react-calendar__tile,
|
|
101
|
+
.react-calendar__decade-view .react-calendar__tile,
|
|
102
|
+
.react-calendar__century-view .react-calendar__tile {
|
|
103
|
+
padding: 2em 0.5em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.react-calendar__tile {
|
|
107
|
+
max-width: 100%;
|
|
108
|
+
padding: 10px 6.6667px;
|
|
109
|
+
background: none;
|
|
110
|
+
text-align: center;
|
|
111
|
+
line-height: 16px;
|
|
112
|
+
font: inherit;
|
|
113
|
+
font-size: 0.833em;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.react-calendar__tile:disabled {
|
|
117
|
+
background-color: #f0f0f0;
|
|
118
|
+
color: #ababab;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.react-calendar__month-view__days__day--neighboringMonth:disabled,
|
|
122
|
+
.react-calendar__decade-view__years__year--neighboringDecade:disabled,
|
|
123
|
+
.react-calendar__century-view__decades__decade--neighboringCentury:disabled {
|
|
124
|
+
color: #cdcdcd;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.react-calendar__tile:enabled:hover,
|
|
128
|
+
.react-calendar__tile:enabled:focus {
|
|
129
|
+
background-color: var(--color-primary-transparent);
|
|
130
|
+
border-radius: 6px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.react-calendar__tile--now {
|
|
134
|
+
font-weight: bold;
|
|
135
|
+
color: var(--color-primary);
|
|
136
|
+
border-radius: 6px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.react-calendar__tile--now:enabled:hover,
|
|
140
|
+
.react-calendar__tile--now:enabled:focus {
|
|
141
|
+
background-color: var(--color-primary-transparent);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.react-calendar__tile--hasActive {
|
|
145
|
+
color: white;
|
|
146
|
+
background-color: var(--color-primary);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.react-calendar__tile--hasActive:enabled:hover,
|
|
150
|
+
.react-calendar__tile--hasActive:enabled:focus {
|
|
151
|
+
color: white;
|
|
152
|
+
background: var(--color-primary-transparent);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.react-calendar__tile--active {
|
|
156
|
+
background: var(--color-primary);
|
|
157
|
+
border-radius: 6px;
|
|
158
|
+
font-weight: bold;
|
|
159
|
+
color: white;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.react-calendar__tile--active:enabled:hover,
|
|
163
|
+
.react-calendar__tile--active:enabled:focus {
|
|
164
|
+
color: white;
|
|
165
|
+
background: var(--color-primary);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.react-calendar--selectRange .react-calendar__tile--hover {
|
|
169
|
+
background-color: var(--color-primary-transparent);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.react-calendar__tile--range {
|
|
173
|
+
background: var(--color-primary-transparent);
|
|
174
|
+
color: var(--color-primary);
|
|
175
|
+
border-radius: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.react-calendar__tile--rangeStart {
|
|
179
|
+
border-top-right-radius: 0;
|
|
180
|
+
border-bottom-right-radius: 0;
|
|
181
|
+
border-top-left-radius: 6px;
|
|
182
|
+
border-bottom-left-radius: 6px;
|
|
183
|
+
background: var(--color-primary);
|
|
184
|
+
color: white;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.react-calendar__tile--rangeEnd {
|
|
188
|
+
border-top-left-radius: 0;
|
|
189
|
+
border-bottom-left-radius: 0;
|
|
190
|
+
border-top-right-radius: 6px;
|
|
191
|
+
border-bottom-right-radius: 6px;
|
|
192
|
+
background: var(--color-primary);
|
|
193
|
+
color: white;
|
|
194
|
+
}
|
|
195
|
+
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"outDir": "./dist",
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"target": "ES6",
|
|
6
|
+
"lib": ["es6", "dom"],
|
|
7
|
+
"jsx": "react",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"strict": true
|
|
12
|
+
},
|
|
13
|
+
"include": [
|
|
14
|
+
"src",
|
|
15
|
+
"@types"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const path = require("path");
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
mode: "production",
|
|
5
|
+
entry: "./src/index.ts",
|
|
6
|
+
output: {
|
|
7
|
+
path: path.resolve(__dirname, "dist"),
|
|
8
|
+
filename: "index.js",
|
|
9
|
+
libraryTarget: "commonjs2",
|
|
10
|
+
},
|
|
11
|
+
resolve: {
|
|
12
|
+
extensions: [".tsx", ".ts", ".js", ".css", ".scss"],
|
|
13
|
+
},
|
|
14
|
+
module: {
|
|
15
|
+
rules: [
|
|
16
|
+
{
|
|
17
|
+
test: /\.tsx?$/,
|
|
18
|
+
use: "ts-loader",
|
|
19
|
+
exclude: /node_modules/,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
test: /\.css$/,
|
|
23
|
+
use: ["style-loader", "css-loader"],
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
test: /\.scss$/,
|
|
27
|
+
use: ["style-loader", "css-loader", "sass-loader"],
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
externals: {
|
|
32
|
+
react: "react",
|
|
33
|
+
"react-dom": "react-dom",
|
|
34
|
+
},
|
|
35
|
+
};
|