@trilogy-ds/styles 4.11.0 → 4.11.1-container-query-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.
@@ -0,0 +1,128 @@
1
+ .calendar {
2
+ border-collapse: separate;
3
+ box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
4
+ padding: 24px;
5
+ border-radius: 8px;
6
+ border-spacing: 0 8px;
7
+
8
+ button {
9
+ all: unset;
10
+ &:focus-visible:not(.is-disabled, .is-active), &:hover:not(.is-disabled, .is-active){
11
+ background-color: getColor('main-fade');
12
+ }
13
+
14
+ &.is-active:hover, &.is-active:focus-visible,
15
+ &.is-disabled:hover, &.is-disabled:focus-visible {
16
+ filter: brightness(80%);
17
+ }
18
+ }
19
+
20
+ &-range.calendar-range-init {
21
+ .calendar-week-day:not(.calendar-date-in-range) {
22
+ button:focus-visible:not(.is-disabled, .is-active), button:hover:not(.is-disabled, .is-active){
23
+ background-color: getColor('main');
24
+ color: getColor('background');
25
+ }
26
+ }
27
+ }
28
+
29
+ &-date-in-range {
30
+ button:not(.is-disabled, .is-active){
31
+ background-color: getColor('main-fade');
32
+ border-radius: 0px;
33
+ &:hover {
34
+ filter: brightness(95%) ;
35
+ border-radius: 4px;
36
+ }
37
+ }
38
+
39
+ &.calendar-date-rounded-left {
40
+ button:not(.is-disabled, .is-active){
41
+ border-radius: 8px 0 0 8px;
42
+ }
43
+ }
44
+
45
+ &.calendar-date-rounded-right {
46
+ button:not(.is-disabled, .is-active){
47
+ border-radius: 0px 8px 8px 0;
48
+ }
49
+ }
50
+ }
51
+
52
+ &-next-month, &-prev-month {
53
+ padding-bottom: 16px;
54
+ button {
55
+ text-align: center;
56
+ border-radius: 4px;
57
+ width: 36px;
58
+ height: 36px;
59
+ i {
60
+ height: 100%;
61
+ }
62
+ }
63
+ }
64
+
65
+ &-week-day {
66
+ text-align: center !important;
67
+ vertical-align: middle;
68
+ &-disabled {
69
+ button {
70
+ color: getColor('disabled');
71
+ background-color: getColor('disabled-fade');
72
+ }
73
+ }
74
+ &-label {
75
+ padding: 4px;
76
+ text-align: center !important;
77
+ width: 36px;
78
+ color: getColor('font-placeholder');
79
+ }
80
+ button {
81
+ display: block;
82
+ width: 36px;
83
+ height: 36px;
84
+ border-radius: 4px;
85
+ }
86
+ }
87
+
88
+ &-active-month {
89
+ height: 28px;
90
+ text-align: center !important;
91
+ position: relative;
92
+ padding-bottom: 16px;
93
+ .icon {
94
+ vertical-align: bottom;
95
+ }
96
+ button {
97
+ padding: 2px 6px;
98
+ border-radius: 4px;
99
+ }
100
+ }
101
+
102
+ &-active-date button {
103
+ background-color: getColor('main');
104
+ color: getColor('background');
105
+ }
106
+
107
+ &-header-dropdown {
108
+ display: flex;
109
+ gap: $spacing-3;
110
+ justify-content: center;
111
+ .select{
112
+ margin-bottom: 0 !important;
113
+ width: 40%;
114
+ select {
115
+ height: 30px !important;
116
+ margin-bottom: 0 !important;
117
+ padding: 0px 25px 0px 5px;
118
+ &:focus{
119
+ padding-left: 4px !important;
120
+ }
121
+ }
122
+ .control:after {
123
+ right: -8px !important;
124
+ }
125
+ }
126
+ }
127
+
128
+ }
@@ -9,6 +9,7 @@
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';
@@ -174,6 +174,12 @@ $height-arrow-small:30px;
174
174
  }
175
175
  }
176
176
 
177
+ &.is-fullwidth .tab-list {
178
+ display: flex;
179
+ > .tab {
180
+ flex:1;
181
+ }
182
+ }
177
183
 
178
184
  &.is-small{
179
185
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.11.0",
3
+ "version": "4.11.1-container-query-1",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [