@nextelco/common-ui 1.7.105 → 1.7.107
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/dist/bundle.js +1 -1
- package/dist/types/components/atoms/Button/variants/MainButton.d.ts +13 -0
- package/dist/types/exports/atoms.d.ts +1 -0
- package/dist/types/exports/styles.d.ts +1 -0
- package/dist/types/exports/types.d.ts +1 -1
- package/dist/types/styles/utils/utils.d.ts +1 -0
- package/dist/types/types/themes/ButtonThemes.d.ts +4 -0
- package/package.json +68 -70
- package/src/styles/font/OFL.txt +0 -93
- package/src/styles/font/README.txt +0 -81
- package/src/styles/font/Urbanist-Italic-VariableFont_wght.ttf +0 -0
- package/src/styles/font/Urbanist-VariableFont_wght.ttf +0 -0
- package/src/styles/font/roboto/LICENSE.txt +0 -202
- package/src/styles/font/roboto/Roboto-Black.ttf +0 -0
- package/src/styles/font/roboto/Roboto-BlackItalic.ttf +0 -0
- package/src/styles/font/roboto/Roboto-Bold.ttf +0 -0
- package/src/styles/font/roboto/Roboto-BoldItalic.ttf +0 -0
- package/src/styles/font/roboto/Roboto-Italic.ttf +0 -0
- package/src/styles/font/roboto/Roboto-Light.ttf +0 -0
- package/src/styles/font/roboto/Roboto-LightItalic.ttf +0 -0
- package/src/styles/font/roboto/Roboto-Medium.ttf +0 -0
- package/src/styles/font/roboto/Roboto-MediumItalic.ttf +0 -0
- package/src/styles/font/roboto/Roboto-Regular.ttf +0 -0
- package/src/styles/font/roboto/Roboto-Thin.ttf +0 -0
- package/src/styles/font/roboto/Roboto-ThinItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-Black.ttf +0 -0
- package/src/styles/font/static/Urbanist-BlackItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-Bold.ttf +0 -0
- package/src/styles/font/static/Urbanist-BoldItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-ExtraBold.ttf +0 -0
- package/src/styles/font/static/Urbanist-ExtraBoldItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-ExtraLight.ttf +0 -0
- package/src/styles/font/static/Urbanist-ExtraLightItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-Italic.ttf +0 -0
- package/src/styles/font/static/Urbanist-Light.ttf +0 -0
- package/src/styles/font/static/Urbanist-LightItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-Medium.ttf +0 -0
- package/src/styles/font/static/Urbanist-MediumItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-Regular.ttf +0 -0
- package/src/styles/font/static/Urbanist-SemiBold.ttf +0 -0
- package/src/styles/font/static/Urbanist-SemiBoldItalic.ttf +0 -0
- package/src/styles/font/static/Urbanist-Thin.ttf +0 -0
- package/src/styles/font/static/Urbanist-ThinItalic.ttf +0 -0
- package/src/styles/index.scss +0 -50
- package/src/styles/themes/ButtonThemes.tsx +0 -30
- package/src/styles/utils/reset.scss +0 -64
- package/src/styles/utils/scrollbar.scss +0 -34
- package/src/styles/utils/variables.scss +0 -39
Binary file
|
Binary file
|
package/src/styles/index.scss
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
@import url('./utils/reset.scss');
|
2
|
-
@import url('./utils/variables.scss');
|
3
|
-
@import url('./utils/scrollbar.scss');
|
4
|
-
|
5
|
-
@font-face {
|
6
|
-
font-family: 'Urbanist';
|
7
|
-
src: url('./font/static/Urbanist-Light.ttf');
|
8
|
-
font-weight: 300;
|
9
|
-
font-style: normal;
|
10
|
-
}
|
11
|
-
|
12
|
-
@font-face {
|
13
|
-
font-family: 'Urbanist';
|
14
|
-
src: url('./font/static/Urbanist-Regular.ttf');
|
15
|
-
font-weight: 400;
|
16
|
-
font-style: normal;
|
17
|
-
}
|
18
|
-
|
19
|
-
@font-face {
|
20
|
-
font-family: 'Urbanist';
|
21
|
-
src: url('./font/static/Urbanist-Medium.ttf');
|
22
|
-
font-weight: 500;
|
23
|
-
font-style: normal;
|
24
|
-
}
|
25
|
-
|
26
|
-
@font-face {
|
27
|
-
font-family: 'Urbanist';
|
28
|
-
src: url('./font/static/Urbanist-SemiBold.ttf');
|
29
|
-
font-weight: 600;
|
30
|
-
font-style: normal;
|
31
|
-
}
|
32
|
-
|
33
|
-
@font-face {
|
34
|
-
font-family: 'Urbanist';
|
35
|
-
src: url('./font/static/Urbanist-Bold.ttf');
|
36
|
-
font-weight: 700;
|
37
|
-
font-style: normal;
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
html,
|
42
|
-
body {
|
43
|
-
height: 100%;
|
44
|
-
margin: 0;
|
45
|
-
}
|
46
|
-
|
47
|
-
body {
|
48
|
-
font-family: 'Urbanist', sans-serif;
|
49
|
-
background-color: white;
|
50
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { FontWeight } from '../../constants/FontWeight'
|
2
|
-
import { IconTextTheme } from '../../exports/types'
|
3
|
-
import {
|
4
|
-
ActionButtonTheme,
|
5
|
-
IconButtonTheme,
|
6
|
-
} from '../../types/themes/ButtonThemes'
|
7
|
-
|
8
|
-
export const ActionButtonThemeStyled: ActionButtonTheme = {
|
9
|
-
backgroundColor: '#F8F8F8',
|
10
|
-
fontColor: '#010060',
|
11
|
-
iconColor: '#010060',
|
12
|
-
size: 'default',
|
13
|
-
fontWeight: FontWeight.MEDIUM,
|
14
|
-
}
|
15
|
-
|
16
|
-
export const IconButtonThemeStyled: IconButtonTheme = {
|
17
|
-
backgroundColor: '#F8F8F8',
|
18
|
-
iconColor: '#010060',
|
19
|
-
size: 'default',
|
20
|
-
}
|
21
|
-
|
22
|
-
export const IconTextDarkThemeStyled: IconTextTheme = {
|
23
|
-
color: '#f8f8f8',
|
24
|
-
fontWeight: FontWeight.BOLD,
|
25
|
-
}
|
26
|
-
|
27
|
-
export const IconTextLightThemeStyled: IconTextTheme = {
|
28
|
-
color: '#010060',
|
29
|
-
fontWeight: FontWeight.BOLD,
|
30
|
-
}
|
@@ -1,64 +0,0 @@
|
|
1
|
-
*,
|
2
|
-
*::before,
|
3
|
-
*::after {
|
4
|
-
box-sizing: border-box;
|
5
|
-
}
|
6
|
-
|
7
|
-
* {
|
8
|
-
margin: 0;
|
9
|
-
padding: 0;
|
10
|
-
}
|
11
|
-
|
12
|
-
ul[role='list'],
|
13
|
-
ol[role='list'] {
|
14
|
-
list-style: none;
|
15
|
-
}
|
16
|
-
|
17
|
-
html:focus-within {
|
18
|
-
scroll-behavior: smooth;
|
19
|
-
}
|
20
|
-
|
21
|
-
a:not([class]) {
|
22
|
-
text-decoration-skip-ink: auto;
|
23
|
-
}
|
24
|
-
|
25
|
-
img,
|
26
|
-
picture,
|
27
|
-
svg,
|
28
|
-
video,
|
29
|
-
canvas {
|
30
|
-
max-width: 100%;
|
31
|
-
height: auto;
|
32
|
-
vertical-align: middle;
|
33
|
-
font-style: italic;
|
34
|
-
background-repeat: no-repeat;
|
35
|
-
background-size: cover;
|
36
|
-
}
|
37
|
-
|
38
|
-
input,
|
39
|
-
button,
|
40
|
-
textarea,
|
41
|
-
select {
|
42
|
-
font: inherit;
|
43
|
-
}
|
44
|
-
|
45
|
-
@media (prefers-reduced-motion: reduce) {
|
46
|
-
html:focus-within {
|
47
|
-
scroll-behavior: auto;
|
48
|
-
}
|
49
|
-
*,
|
50
|
-
*::before,
|
51
|
-
*::after {
|
52
|
-
animation-duration: 0.01ms !important;
|
53
|
-
animation-iteration-count: 1 !important;
|
54
|
-
transition-duration: 0.01ms !important;
|
55
|
-
scroll-behavior: auto !important;
|
56
|
-
transition: none;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
body,
|
61
|
-
html {
|
62
|
-
height: 100%;
|
63
|
-
scroll-behavior: smooth;
|
64
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
::-webkit-scrollbar {
|
2
|
-
width: 10px;
|
3
|
-
height: 10px;
|
4
|
-
}
|
5
|
-
|
6
|
-
::-webkit-scrollbar-track {
|
7
|
-
background: #f1f1f1;
|
8
|
-
border-radius: 15px;
|
9
|
-
}
|
10
|
-
|
11
|
-
::-webkit-scrollbar-thumb {
|
12
|
-
background: #888;
|
13
|
-
border-radius: 15px;
|
14
|
-
}
|
15
|
-
|
16
|
-
::-webkit-scrollbar-thumb:hover {
|
17
|
-
background: var(--dark-blue);
|
18
|
-
border-radius: 15px;
|
19
|
-
}
|
20
|
-
|
21
|
-
.scroll-bar::-webkit-scrollbar {
|
22
|
-
width: 10px;
|
23
|
-
height: 5px;
|
24
|
-
}
|
25
|
-
|
26
|
-
.scroll-bar::-webkit-scrollbar-track {
|
27
|
-
background: var(--light-gray-01);
|
28
|
-
border-radius: 15px;
|
29
|
-
}
|
30
|
-
|
31
|
-
.scroll-bar::-webkit-scrollbar-thumb {
|
32
|
-
border-radius: 15px;
|
33
|
-
background: var(--dark-blue);
|
34
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
:root {
|
2
|
-
/* Primary */
|
3
|
-
--bright-blue: #006fff;
|
4
|
-
--bright-green: #17daa4;
|
5
|
-
--dark-blue: #010060;
|
6
|
-
--light-gray-01: #dddddd;
|
7
|
-
--light-blue: #e2eaff;
|
8
|
-
--almost-white: #f8f8f8;
|
9
|
-
--almost-black: #1f1f1f;
|
10
|
-
|
11
|
-
/* Secundary */
|
12
|
-
--medium-blue: #87a9ff;
|
13
|
-
--medium-green: #b0ebdb;
|
14
|
-
--medium-dark-blue: #7d7dab;
|
15
|
-
--medium-gray-01: #c2c2c2;
|
16
|
-
--light-gray-02: #ededed;
|
17
|
-
--light-blue: #cedcff;
|
18
|
-
--dark-gray: #6c6c6c;
|
19
|
-
|
20
|
-
/* Tertiary */
|
21
|
-
--warm-yellow: #ebc25a;
|
22
|
-
--warm-orange: #eb745a;
|
23
|
-
--light-yellow: #ffedbf;
|
24
|
-
--dark-yellow: #cfa948;
|
25
|
-
--bright-purple: #801de2;
|
26
|
-
|
27
|
-
/* Alert */
|
28
|
-
--rejected: #de4321;
|
29
|
-
--approved: #1dc88a;
|
30
|
-
--stand-by: #ffcc4a;
|
31
|
-
|
32
|
-
/* Notifications */
|
33
|
-
--bg-light-yellow: #ffedbf;
|
34
|
-
--dark-yellow: #856404;
|
35
|
-
--bg-light-red: #ffbdae;
|
36
|
-
--dark-red: #842029;
|
37
|
-
--bg-success: #8ef8d2;
|
38
|
-
--dark-green: #0f5132;
|
39
|
-
}
|