@trilogy-ds/styles 0.0.16-esm-cjs → 0.0.18-esm-cjs

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.
@@ -9,11 +9,13 @@
9
9
  @import 'box';
10
10
  @import 'breadcrumb';
11
11
  @import 'button';
12
+ @import 'calendar';
12
13
  @import 'card';
13
14
  @import 'checkbox';
14
15
  @import 'chips';
15
16
  @import 'container';
16
17
  @import 'countdown';
18
+ @import 'date-picker';
17
19
  @import 'divider';
18
20
  @import 'fab';
19
21
  @import 'flex-box';
@@ -64,7 +64,6 @@ $height-arrow-small:30px;
64
64
  .arrow-prev, .arrow-next {
65
65
  background-color: getColor('font');
66
66
  }
67
-
68
67
  }
69
68
 
70
69
  &:has(.tab-list.is-aligned-start) {
@@ -174,6 +173,12 @@ $height-arrow-small:30px;
174
173
  }
175
174
  }
176
175
 
176
+ &.is-fullwidth .tab-list {
177
+ display: flex;
178
+ > .tab {
179
+ flex:1;
180
+ }
181
+ }
177
182
 
178
183
  &.is-small{
179
184
 
@@ -194,6 +199,13 @@ $height-arrow-small:30px;
194
199
  transition: opacity 2s ease-in-out;
195
200
  transition-delay: 1s;
196
201
 
202
+ * {
203
+ -webkit-user-select: text;
204
+ -moz-user-select: text;
205
+ -ms-user-select: text;
206
+ user-select: text;
207
+ }
208
+
197
209
  &:not(.is-active) {
198
210
  display: none;
199
211
  }
@@ -13,7 +13,7 @@ $label-weight: $weight-bold;
13
13
 
14
14
  .input-label {
15
15
  display: inline-block;
16
- margin-bottom: 6px;
16
+ margin-bottom: 8px;
17
17
  font-weight: 500;
18
18
  }
19
19
 
@@ -443,7 +443,7 @@ $label-weight: $weight-bold;
443
443
  &:has(input[disabled]), &:has(select[disabled]), &:has(textarea[disabled]) {
444
444
  @include disabledRulesWithoutBG;
445
445
  .icon {
446
- color: getColor('disabled');
446
+ color: getColor('disabled');
447
447
  }
448
448
  }
449
449
  }
@@ -593,3 +593,10 @@ $label-weight: $weight-bold;
593
593
  }
594
594
  }
595
595
  }
596
+
597
+ .group-label {
598
+ display: inline-block;
599
+ margin-bottom: 8px !important;
600
+ font-weight: 500;
601
+ line-height: 20px;
602
+ }
@@ -18,11 +18,19 @@
18
18
  display: flex;
19
19
  justify-content: space-between;
20
20
  align-items: center;
21
+ flex-wrap: wrap;
21
22
 
22
23
  .security {
23
24
  display: flex;
24
25
  align-items: center;
25
26
  margin-bottom: 4px;
27
+ flex-basis: 50%;
28
+ flex-shrink: 1;
29
+ flex-grow: 0;
30
+
31
+ &:nth-child(even) {
32
+ justify-content: flex-end;
33
+ }
26
34
 
27
35
  .icon {
28
36
  position: relative;
@@ -27,7 +27,7 @@
27
27
  }
28
28
  }
29
29
  .has-icons-right {
30
- .icon-right, button[data-show-pwd]{
30
+ .icon-right, button[data-show-pwd], button[data-show-calendar] {
31
31
  position: absolute;
32
32
  height: 100%;
33
33
  width: 45px;
@@ -41,7 +41,7 @@
41
41
  }
42
42
  }
43
43
 
44
- button[data-show-pwd]{
44
+ button[data-show-pwd], button[data-show-calendar] {
45
45
  background-color: transparent;
46
46
  border:none;
47
47
  border-top-right-radius: $radius-small ;
@@ -188,6 +188,7 @@
188
188
  border-radius: var(--radius);
189
189
  box-sizing: border-box;
190
190
  background-color: getColor('background');
191
+ height: 100%;
191
192
 
192
193
  &:before {
193
194
  top: 16px;
@@ -6,13 +6,13 @@
6
6
  }
7
7
 
8
8
  @mixin until($device) {
9
- @media screen and (max-width: $device - 1px) {
9
+ @media screen and (max-width: #{$device - 1px}) {
10
10
  @content;
11
11
  }
12
12
  }
13
13
 
14
14
  @mixin mobile {
15
- @media screen and (max-width: $tablet - 1px) {
15
+ @media screen and (max-width: #{$tablet - 1px}) {
16
16
  @content;
17
17
  }
18
18
  }
@@ -24,13 +24,13 @@
24
24
  }
25
25
 
26
26
  @mixin tablet-only {
27
- @media screen and (min-width: $tablet) and (max-width: $desktop - 1px) {
27
+ @media screen and (min-width: #{$tablet}) and (max-width: #{$desktop - 1px}) {
28
28
  @content;
29
29
  }
30
30
  }
31
31
 
32
32
  @mixin touch {
33
- @media screen and (max-width: $desktop - 1px) {
33
+ @media screen and (max-width: #{$desktop - 1px}) {
34
34
  @content;
35
35
  }
36
36
  }
@@ -42,13 +42,13 @@
42
42
  }
43
43
 
44
44
  @mixin desktop-only {
45
- @media screen and (min-width: $desktop) and (max-width: $widescreen - 1px) {
45
+ @media screen and (min-width: #{$desktop}) and (max-width: #{$widescreen - 1px}) {
46
46
  @content;
47
47
  }
48
48
  }
49
49
 
50
50
  @mixin until-widescreen {
51
- @media screen and (max-width: $widescreen - 1px) {
51
+ @media screen and (max-width: #{$widescreen - 1px}) {
52
52
  @content;
53
53
  }
54
54
  }
@@ -60,13 +60,13 @@
60
60
  }
61
61
 
62
62
  @mixin widescreen-only {
63
- @media screen and (min-width: $widescreen) and (max-width: $fullhd - 1px) {
63
+ @media screen and (min-width: #{$widescreen}) and (max-width: #{$fullhd - 1px}) {
64
64
  @content;
65
65
  }
66
66
  }
67
67
 
68
68
  @mixin until-fullhd {
69
- @media screen and (max-width: $fullhd - 1px) {
69
+ @media screen and (max-width: #{$fullhd - 1px}) {
70
70
  @content;
71
71
  }
72
72
  }
@@ -78,7 +78,97 @@
78
78
  }
79
79
 
80
80
  @mixin all-desktop-only {
81
- @media screen and (min-width: $desktop) and (max-width: $fullhd - 1px) {
81
+ @media screen and (min-width: #{$desktop}) and (max-width: #{$fullhd - 1px}) {
82
82
  @content;
83
83
  }
84
84
  }
85
+
86
+ // Responsive for container queries
87
+ .query-container {
88
+ container-type: inline-size;
89
+ }
90
+
91
+ @mixin container-from($device) {
92
+ @container (min-width: #{$device}) {
93
+ @content;
94
+ }
95
+ }
96
+
97
+ @mixin container-until($device) {
98
+ @container (max-width: #{$device - 1px}) {
99
+ @content;
100
+ }
101
+ }
102
+
103
+ @mixin container-mobile {
104
+ @container (max-width: #{$tablet - 1px}) {
105
+ @content;
106
+ }
107
+ }
108
+
109
+ @mixin container-tablet {
110
+ @container (min-width: #{$tablet}) {
111
+ @content;
112
+ }
113
+ }
114
+
115
+ @mixin container-tablet-only {
116
+ @container (min-width: #{$tablet}) and (max-width: #{$desktop - 1px}) {
117
+ @content;
118
+ }
119
+ }
120
+
121
+ @mixin container-touch {
122
+ @container (max-width: #{$desktop - 1px}) {
123
+ @content;
124
+ }
125
+ }
126
+
127
+ @mixin container-desktop {
128
+ @container (min-width: #{$desktop}) {
129
+ @content;
130
+ }
131
+ }
132
+
133
+ @mixin container-desktop-only {
134
+ @container (min-width: #{$desktop}) and (max-width: #{$widescreen - 1px}) {
135
+ @content;
136
+ }
137
+ }
138
+
139
+ @mixin container-until-widescreen {
140
+ @container (max-width: #{$widescreen - 1px}) {
141
+ @content;
142
+ }
143
+ }
144
+
145
+ @mixin container-widescreen {
146
+ @container (min-width: #{$widescreen}) {
147
+ @content;
148
+ }
149
+ }
150
+
151
+ @mixin container-widescreen-only {
152
+ @container (min-width: #{$widescreen}) and (max-width: #{$fullhd - 1px}) {
153
+ @content;
154
+ }
155
+ }
156
+
157
+ @mixin container-until-fullhd {
158
+ @container (max-width: #{$fullhd - 1px}) {
159
+ @content;
160
+ }
161
+ }
162
+
163
+ @mixin container-fullhd {
164
+ @container (min-width: #{$fullhd}) {
165
+ @content;
166
+ }
167
+ }
168
+
169
+ @mixin container-all-desktop-only {
170
+ @container (min-width: #{$desktop}) and (max-width: #{$fullhd - 1px}) {
171
+ @content;
172
+ }
173
+ }
174
+
@@ -16,6 +16,7 @@ $colors: (
16
16
  'main':[ #3d5d7e, 'main', 'white'],
17
17
  'main-fade':[ #eff2f8, 'main-fade', 'white'],
18
18
  'accent':[ #da641b,'accent', 'white'],
19
+ 'accent-fade':[ #faebe3,'accent-fade', 'white'],
19
20
  'font':[ #3d5d7e, 'font', 'white'],
20
21
  'font-placeholder':[ #687a87, 'font-placeholder', 'white'],
21
22
  'success':[ #007B52, 'success', 'white'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.16-esm-cjs",
3
+ "version": "0.0.18-esm-cjs",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [