asksuite-citrus 0.0.1
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 +29 -0
- package/esm2020/asksuite-citrus.mjs +5 -0
- package/esm2020/lib/asksuite-citrus.module.mjs +43 -0
- package/esm2020/lib/components/box/box.component.mjs +29 -0
- package/esm2020/lib/components/button/button.component.mjs +42 -0
- package/esm2020/lib/components/input/input.component.mjs +101 -0
- package/esm2020/lib/components/select/select.component.mjs +91 -0
- package/esm2020/public-api.mjs +10 -0
- package/fesm2015/asksuite-citrus.mjs +300 -0
- package/fesm2015/asksuite-citrus.mjs.map +1 -0
- package/fesm2020/asksuite-citrus.mjs +300 -0
- package/fesm2020/asksuite-citrus.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/asksuite-citrus.module.d.ts +12 -0
- package/lib/components/box/box.component.d.ts +13 -0
- package/lib/components/button/button.component.d.ts +16 -0
- package/lib/components/input/input.component.d.ts +36 -0
- package/lib/components/select/select.component.d.ts +33 -0
- package/package.json +31 -0
- package/public-api.d.ts +5 -0
- package/styles/colors.scss +109 -0
- package/styles/font-families.scss +7 -0
- package/styles/font-sizes.scss +15 -0
- package/styles/font-weights.scss +7 -0
- package/styles/radii.scss +15 -0
- package/styles/styles.scss +70 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
/*
|
2
|
+
* IMPORTANT: All colors defined here must be also defined in colors-list.component.ts for proper documentation
|
3
|
+
*/
|
4
|
+
|
5
|
+
// brand
|
6
|
+
$asksuite-orange: #FF5724;
|
7
|
+
|
8
|
+
// backgrounds
|
9
|
+
$primary-background: #EFF3F8;
|
10
|
+
|
11
|
+
// neutral
|
12
|
+
$white: #FFF;
|
13
|
+
|
14
|
+
// grey
|
15
|
+
$grey-50: #F5F7FA;
|
16
|
+
$grey-100: #E4E7EB;
|
17
|
+
$grey-200: #CBD2D9;
|
18
|
+
$grey-300: #9AA5B1;
|
19
|
+
$grey-400: #7B8794;
|
20
|
+
$grey-500: #616E7C;
|
21
|
+
$grey-600: #52606D;
|
22
|
+
$grey-700: #3E4C59;
|
23
|
+
$grey-800: #2A3042;
|
24
|
+
$grey-900: #1F2933;
|
25
|
+
|
26
|
+
// yellow
|
27
|
+
$yellow-50: #FFF8E2;
|
28
|
+
$yellow-200: #FFECB3;
|
29
|
+
|
30
|
+
// semantic
|
31
|
+
$success-green: #4BAF50;
|
32
|
+
$warning-yellow: #FFC107;
|
33
|
+
$error-red: #E8453E;
|
34
|
+
|
35
|
+
// shadow
|
36
|
+
$shadow: #2A304229;
|
37
|
+
|
38
|
+
// livechat tags
|
39
|
+
$lightblue-tag: #CDF9F3;
|
40
|
+
$lavender-tag: #D4DAF3;
|
41
|
+
$green-tag: #CEEEAA;
|
42
|
+
$pink-tag: #FBC5FF;
|
43
|
+
$orange-tag: #FED5C9;
|
44
|
+
$purple-tag: #DDBFE5;
|
45
|
+
$yellow-tag: #FFE0B2;
|
46
|
+
$blue-tag: #B2E5FD;
|
47
|
+
$brown-tag: #EFC89C;
|
48
|
+
|
49
|
+
// communication channels
|
50
|
+
$whatsapp-green: #68B35D;
|
51
|
+
$facebook-blue: #0084FF;
|
52
|
+
$instagram-pink: #D53E91;
|
53
|
+
$google-blue: #345DC8;
|
54
|
+
$telegram-blue: #34AADF;
|
55
|
+
$telephone-yellow: #FECB00;
|
56
|
+
|
57
|
+
:root {
|
58
|
+
// brand
|
59
|
+
--asksuite-orange: #{$asksuite-orange};
|
60
|
+
|
61
|
+
// backgrounds
|
62
|
+
--primary-background: #{$primary-background};
|
63
|
+
|
64
|
+
// neutral
|
65
|
+
--white: #{$white};
|
66
|
+
|
67
|
+
// grey
|
68
|
+
--grey-50: #{$grey-50};
|
69
|
+
--grey-100: #{$grey-100};
|
70
|
+
--grey-200: #{$grey-200};
|
71
|
+
--grey-300: #{$grey-300};
|
72
|
+
--grey-400: #{$grey-400};
|
73
|
+
--grey-500: #{$grey-500};
|
74
|
+
--grey-600: #{$grey-600};
|
75
|
+
--grey-700: #{$grey-700};
|
76
|
+
--grey-800: #{$grey-800};
|
77
|
+
--grey-900: #{$grey-900};
|
78
|
+
|
79
|
+
// yellow
|
80
|
+
--yellow-50: #{$yellow-50};
|
81
|
+
--yellow-200: #{$yellow-200};
|
82
|
+
|
83
|
+
// semantic
|
84
|
+
--success-green: #{$success-green};
|
85
|
+
--warning-yellow: #{$warning-yellow};
|
86
|
+
--error-red: #{$error-red};
|
87
|
+
|
88
|
+
// shadow
|
89
|
+
--shadow: #{$shadow};
|
90
|
+
|
91
|
+
// livechat tags
|
92
|
+
--lightblue-tag: #{$lightblue-tag};
|
93
|
+
--lavender-tag: #{$lavender-tag};
|
94
|
+
--green-tag: #{$green-tag};
|
95
|
+
--pink-tag: #{$pink-tag};
|
96
|
+
--orange-tag: #{$orange-tag};
|
97
|
+
--purple-tag: #{$purple-tag};
|
98
|
+
--yellow-tag: #{$yellow-tag};
|
99
|
+
--blue-tag: #{$blue-tag};
|
100
|
+
--brown-tag: #{$brown-tag};
|
101
|
+
|
102
|
+
// communication channels
|
103
|
+
--whatsapp-green: #{$whatsapp-green};
|
104
|
+
--facebook-blue: #{$facebook-blue};
|
105
|
+
--instagram-pink: #{$instagram-pink};
|
106
|
+
--google-blue: #{$google-blue};
|
107
|
+
--telegram-blue: #{$telegram-blue};
|
108
|
+
--telephone-yellow: #{$telephone-yellow};
|
109
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
$font-xs: 0.75rem; // 12px
|
2
|
+
$font-sm: 0.875rem; // 14px
|
3
|
+
$font-md: 1rem; // 16px
|
4
|
+
$font-lg: 1.125rem; // 18px
|
5
|
+
$font-xl: 1.25rem; // 20px
|
6
|
+
$font-xxl: 1.5rem; // 24px
|
7
|
+
|
8
|
+
:root {
|
9
|
+
--font-xs: $font-xs;
|
10
|
+
--font-sm: $font-sm;
|
11
|
+
--font-md: $font-md;
|
12
|
+
--font-lg: $font-lg;
|
13
|
+
--font-xl: $font-xl;
|
14
|
+
--font-xxl: $font-xxl;
|
15
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
$radii-px: 1px;
|
2
|
+
$radii-xs: 4px;
|
3
|
+
$radii-sm: 6px;
|
4
|
+
$radii-md: 8px;
|
5
|
+
$radii-lg: 16px;
|
6
|
+
$radii-full: 99999px;
|
7
|
+
|
8
|
+
:root {
|
9
|
+
--radii-px: $radii-px;
|
10
|
+
--radii-xs: $radii-xs;
|
11
|
+
--radii-sm: $radii-sm;
|
12
|
+
--radii-md: $radii-md;
|
13
|
+
--radii-lg: $radii-lg;
|
14
|
+
--radii-full: $radii-full;
|
15
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
/*
|
2
|
+
* Tokens
|
3
|
+
*/
|
4
|
+
@import './colors';
|
5
|
+
@import './font-families';
|
6
|
+
@import './font-sizes';
|
7
|
+
@import './font-weights';
|
8
|
+
@import './radii';
|
9
|
+
|
10
|
+
/*
|
11
|
+
* Mixins
|
12
|
+
*/
|
13
|
+
@mixin default-input() {
|
14
|
+
position: relative;
|
15
|
+
display: flex;
|
16
|
+
align-items: center;
|
17
|
+
border-radius: $radii-xs;
|
18
|
+
border: 1px solid $grey-200;
|
19
|
+
padding: 16px;
|
20
|
+
outline: none;
|
21
|
+
gap: 8px;
|
22
|
+
line-height: 14px;
|
23
|
+
color: $grey-700;
|
24
|
+
height: 48px;
|
25
|
+
font-size: $font-sm;
|
26
|
+
font-weight: $font-weight-regular;
|
27
|
+
transition: border .2s;
|
28
|
+
|
29
|
+
&:focus {
|
30
|
+
border-color: $asksuite-orange;
|
31
|
+
}
|
32
|
+
|
33
|
+
.material-icons {
|
34
|
+
display: flex;
|
35
|
+
align-items: center;
|
36
|
+
justify-content: center;
|
37
|
+
height: 14px;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
/*
|
42
|
+
* Material Icons
|
43
|
+
*/
|
44
|
+
.material-icons {
|
45
|
+
font-family: 'Material Icons';
|
46
|
+
font-weight: normal;
|
47
|
+
font-style: normal;
|
48
|
+
font-size: 24px;
|
49
|
+
line-height: 1;
|
50
|
+
letter-spacing: normal;
|
51
|
+
text-transform: none;
|
52
|
+
display: inline-block;
|
53
|
+
white-space: nowrap;
|
54
|
+
word-wrap: normal;
|
55
|
+
direction: ltr;
|
56
|
+
-webkit-font-feature-settings: 'liga';
|
57
|
+
-webkit-font-smoothing: antialiased;
|
58
|
+
}
|
59
|
+
|
60
|
+
/*
|
61
|
+
* Global Styles
|
62
|
+
*/
|
63
|
+
* {
|
64
|
+
box-sizing: border-box;
|
65
|
+
}
|
66
|
+
|
67
|
+
*, button, select, textarea {
|
68
|
+
font-family: $font-default;
|
69
|
+
font-weight: $font-weight-regular;
|
70
|
+
}
|