@trilogy-ds/styles 0.0.1-beta.8 → 0.0.1-calendar

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.
Files changed (143) hide show
  1. package/dist/default/trilogy-mangled.css +1 -1
  2. package/dist/default/trilogy-partials.css +1 -1
  3. package/dist/default/trilogy.css +1 -1
  4. package/framework/src/_all.scss +2 -2
  5. package/framework/src/base/_all.scss +1 -1
  6. package/framework/src/base/_color.scss +1 -52
  7. package/framework/src/base/_elements.scss +1 -1
  8. package/framework/src/base/_generic.scss +9 -1
  9. package/framework/src/base/_helpers.scss +34 -44
  10. package/framework/src/base/_loading.scss +9 -2
  11. package/framework/src/base/_reset.scss +11 -1
  12. package/framework/src/components/_accordion.scss +55 -89
  13. package/framework/src/components/_autocomplete.scss +38 -0
  14. package/framework/src/components/_autolayout.scss +332 -0
  15. package/framework/src/components/_badge.scss +87 -0
  16. package/framework/src/components/_box.scss +168 -0
  17. package/framework/src/components/_breadcrumb.scss +29 -38
  18. package/framework/src/components/_button.scss +79 -0
  19. package/framework/src/components/_calendar.scss +125 -0
  20. package/framework/src/components/_card.scss +33 -87
  21. package/framework/src/components/_checkbox.scss +71 -0
  22. package/framework/src/components/_chips.scss +84 -0
  23. package/framework/src/{elements → components}/_container.scss +7 -39
  24. package/framework/src/components/_countdown.scss +49 -47
  25. package/framework/src/components/_divider.scss +25 -14
  26. package/framework/src/components/_fab.scss +25 -38
  27. package/framework/src/components/_flex-box.scss +457 -0
  28. package/framework/src/{elements → components}/_icon.scss +4 -4
  29. package/framework/src/components/_image.scss +69 -0
  30. package/framework/src/components/_index.scss +48 -0
  31. package/framework/src/components/_link.scss +58 -0
  32. package/framework/src/components/_list.scss +66 -0
  33. package/framework/src/{elements → components}/_loader.scss +2 -2
  34. package/framework/src/components/_modal.scss +182 -158
  35. package/framework/src/components/_otp.scss +11 -30
  36. package/framework/src/components/_pagination.scss +60 -159
  37. package/framework/src/components/_popover.scss +260 -260
  38. package/framework/src/components/_price.scss +140 -165
  39. package/framework/src/components/_product-tour.scss +2 -4
  40. package/framework/src/components/_radio.scss +82 -0
  41. package/framework/src/components/_range.scss +73 -72
  42. package/framework/src/components/_segmented-control.scss +55 -53
  43. package/framework/src/components/_select.scss +131 -0
  44. package/framework/src/components/_stepper.scss +42 -222
  45. package/framework/src/{elements → components}/_sticker.scss +25 -28
  46. package/framework/src/components/_switch.scss +97 -191
  47. package/framework/src/components/_table.scss +244 -0
  48. package/framework/src/components/_tabs.scss +101 -98
  49. package/framework/src/components/_tag.scss +114 -0
  50. package/framework/src/components/_text.scss +55 -0
  51. package/framework/src/components/_textarea.scss +46 -0
  52. package/framework/src/components/_timeline.scss +28 -113
  53. package/framework/src/components/_title.scss +151 -0
  54. package/framework/src/{elements → components/alert}/_alert.scss +13 -10
  55. package/framework/src/components/alert/_index.scss +2 -0
  56. package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
  57. package/framework/src/components/input/_entry.scss +135 -0
  58. package/framework/src/{elements → components/input}/_form.scss +42 -33
  59. package/framework/src/components/input/_index.scss +4 -0
  60. package/framework/src/components/input/_input-gauge.scss +44 -0
  61. package/framework/src/components/input/_input-icons.scss +55 -0
  62. package/framework/src/components/progress/_index.scss +2 -0
  63. package/framework/src/components/progress/_progress-radial.scss +28 -0
  64. package/framework/src/{elements → components/progress}/_progress.scss +34 -23
  65. package/framework/src/elements/_index.scss +5 -0
  66. package/framework/src/elements/_other.scss +0 -41
  67. package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
  68. package/framework/src/grid/_columns.scss +278 -763
  69. package/framework/src/grid/_rows.scss +45 -38
  70. package/framework/src/layout/_all.scss +0 -1
  71. package/framework/src/layout/_hero.scss +92 -214
  72. package/framework/src/layout/_section.scss +10 -29
  73. package/framework/src/theming/_all.scss +3 -0
  74. package/framework/src/theming/buttons_partial.scss +32 -0
  75. package/framework/src/theming/common_partials.scss +10 -0
  76. package/framework/src/theming/links_partial.scss +20 -0
  77. package/framework/src/trilogy-mangled.scss +3 -3
  78. package/framework/src/trilogy.scss +2 -2
  79. package/framework/src/utilities/_a11y.scss +13 -0
  80. package/framework/src/utilities/_all.scss +4 -0
  81. package/framework/src/utilities/_background.scss +21 -0
  82. package/framework/src/utilities/_controls.scss +38 -49
  83. package/framework/src/utilities/_derived-variables.scss +0 -103
  84. package/framework/src/utilities/_initial-variables.scss +4 -144
  85. package/framework/src/utilities/_pre.scss +4 -1
  86. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  87. package/framework/src/utilities/mixins/_delete.scss +86 -0
  88. package/framework/src/utilities/mixins/_index.scss +11 -0
  89. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  90. package/framework/src/utilities/mixins/_mixins.scss +293 -0
  91. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  92. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  93. package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
  94. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  95. package/framework/src/utilities/mixins/_state.scss +25 -0
  96. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  97. package/framework/src/utilities/mixins/_utils.scss +24 -0
  98. package/framework/src/utilities/variables/_animation.scss +2 -0
  99. package/framework/src/utilities/variables/_color.scss +85 -0
  100. package/framework/src/utilities/variables/_font.scss +97 -0
  101. package/framework/src/utilities/variables/_index.scss +6 -0
  102. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  103. package/framework/src/utilities/variables/_shadow.scss +3 -0
  104. package/framework/src/utilities/variables/_zindex.scss +14 -0
  105. package/package.json +3 -3
  106. package/framework/src/components/_all.scss +0 -30
  107. package/framework/src/components/_autolayout2.scss +0 -38
  108. package/framework/src/components/_disclaimer.scss +0 -84
  109. package/framework/src/components/_dropdown.scss +0 -128
  110. package/framework/src/components/_level.scss +0 -120
  111. package/framework/src/components/_media.scss +0 -64
  112. package/framework/src/components/_menu.scss +0 -213
  113. package/framework/src/components/_progress-radial.scss +0 -23
  114. package/framework/src/components/_search-modal.scss +0 -197
  115. package/framework/src/components/_slices.scss +0 -316
  116. package/framework/src/components/_slider.scss +0 -92
  117. package/framework/src/elements/_all.scss +0 -35
  118. package/framework/src/elements/_badge.scss +0 -81
  119. package/framework/src/elements/_box.scss +0 -267
  120. package/framework/src/elements/_button.scss +0 -192
  121. package/framework/src/elements/_checkbox.scss +0 -39
  122. package/framework/src/elements/_checkradio.scss +0 -173
  123. package/framework/src/elements/_chips.scss +0 -100
  124. package/framework/src/elements/_dot.scss +0 -6
  125. package/framework/src/elements/_entry.scss +0 -109
  126. package/framework/src/elements/_image.scss +0 -59
  127. package/framework/src/elements/_input-gauge.scss +0 -37
  128. package/framework/src/elements/_input-icons.scss +0 -41
  129. package/framework/src/elements/_link.scss +0 -79
  130. package/framework/src/elements/_list.scss +0 -61
  131. package/framework/src/elements/_notification.scss +0 -151
  132. package/framework/src/elements/_options.scss +0 -146
  133. package/framework/src/elements/_paragraph.scss +0 -101
  134. package/framework/src/elements/_radio.scss +0 -67
  135. package/framework/src/elements/_select.scss +0 -315
  136. package/framework/src/elements/_switch.scss +0 -108
  137. package/framework/src/elements/_table.scss +0 -298
  138. package/framework/src/elements/_tag.scss +0 -131
  139. package/framework/src/elements/_textarea.scss +0 -125
  140. package/framework/src/elements/_timeline.scss +0 -283
  141. package/framework/src/elements/_title.scss +0 -139
  142. package/framework/src/layout/_toolbar.scss +0 -100
  143. package/framework/src/utilities/_mixins.scss +0 -744
@@ -1,283 +0,0 @@
1
- @use 'sass:math';
2
-
3
- $timeline-marker-icon-size: 2.85em !default;
4
- $timeline-marker-size: 0.8em !default;
5
- $timeline-marker-border-size: 0.1em !default;
6
- $timeline-line-width: 0.1em !default;
7
- $timeline-line-style: solid !default;
8
- $timeline-content-padding: 1em 0 0 16px !default;
9
- $timeline-rtl-content-padding: 1em 2em 0 0 !default;
10
- $timeline-icon-size: $size-small !default;
11
- $timeline-header-width: 4em !default;
12
- $timeline-item-padding-bottom: 8px !default;
13
- $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
14
-
15
- .timeline {
16
- display: flex;
17
- flex-direction: column;
18
-
19
-
20
- .timeline-header {
21
- width: $timeline-header-width;
22
- min-width: $timeline-header-width;
23
- max-width: $timeline-header-width * 2;
24
- word-wrap: normal;
25
- text-align: center;
26
- display: flex;
27
- justify-content: center;
28
- margin-left: 0;
29
- }
30
-
31
- .timeline-item,
32
- .undone {
33
- display: flex;
34
- display: -ms-flexbox;
35
- display: -webkit-flex;
36
- position: relative;
37
- margin-left: 0;
38
- padding-bottom: $spacing-2;
39
-
40
- .icon {
41
- background-color: getColor('font');
42
- }
43
-
44
- &::before {
45
- content: '';
46
- background-color: getColor('grey-disabled');
47
- display: block;
48
- width: $timeline-line-width;
49
- position: absolute;
50
- top: 43.89px;
51
- left: 3rem;
52
- bottom: 8px;
53
- height: auto;
54
- }
55
-
56
- &.active{
57
- .timeline-marker.is-icon {
58
- background-color: getColor('alternate');
59
-
60
- .icon {
61
- color: getColor('background') !important;
62
- }
63
- }
64
-
65
- .timeline-content {
66
- p.main-content {
67
- font-weight: 800;
68
- }
69
- }
70
-
71
- &::before {
72
- content: '';
73
- background-color: getColor('alternate');
74
- display: block;
75
- width: $timeline-line-width;
76
- position: absolute;
77
- top: 43.89px;
78
- left: 3rem;
79
- bottom: 8px;
80
- height: auto;
81
- }
82
- }
83
-
84
- &.done {
85
- .timeline-marker.is-icon {
86
- background-color: getColor('font');
87
-
88
- .icon {
89
- color: getColor('background') !important;
90
- }
91
- }
92
-
93
- &::before {
94
- content: '';
95
- background-color: getColor('font');
96
- display: block;
97
- width: $timeline-line-width;
98
- position: absolute;
99
- top: 43.89px;
100
- left: 3rem;
101
- bottom: 8px;
102
- height: auto;
103
- }
104
- }
105
-
106
- .timeline-marker {
107
- position: absolute;
108
- background: getColor('grey-light');
109
- border-radius: 100%;
110
- content: '';
111
- display: block;
112
- height: $timeline-marker-size;
113
- left: -($timeline-marker-size * 0.5 - $timeline-marker-border-size *
114
- 0.5);
115
- top: 0;
116
- width: $timeline-marker-size;
117
- margin-left: 30px;
118
-
119
- &.is-image {
120
- @each $dimension in $timeline-image-dimensions {
121
- &.is-#{$dimension}x#{$dimension} {
122
- height: $dimension * 1px;
123
- width: $dimension * 1px;
124
- left: $dimension * 0.5 * -1px;
125
- }
126
- }
127
-
128
- background: getColor('grey-light');
129
- border-radius: 100%;
130
- display: block;
131
- overflow: hidden;
132
- }
133
-
134
- &.is-icon {
135
- display: flex;
136
- align-items: center;
137
- justify-content: center;
138
- height: $timeline-marker-icon-size;
139
- width: $timeline-marker-icon-size;
140
- left: -($timeline-marker-icon-size * 0.5 -
141
- $timeline-marker-border-size * 0.5);
142
- line-height: size(0.75rem);
143
- padding: math.div($timeline-icon-size, 3);
144
- background: getColor('grey-lighter');
145
- border-radius: 100%;
146
-
147
- > i {
148
- color: getColor('font');
149
- font-size: $timeline-icon-size !important;
150
- }
151
- }
152
-
153
- &.is-outlined {
154
- .image {
155
- background: getColor('background');
156
- }
157
-
158
- &.is-icon {
159
- background: getColor('background');
160
-
161
- > i {
162
- color: getColor('grey-light');
163
- }
164
- }
165
- }
166
-
167
-
168
- }
169
-
170
- .timeline-content {
171
- margin-left: 3.7em;
172
- padding: $spacing-3 0 $spacing-4 $spacing-4;
173
-
174
- .heading {
175
- font-size: $text-12;
176
- color: getColor('grey');
177
- font-family: $family-sans-serif;
178
- text-transform: none;
179
- letter-spacing: 0;
180
- line-height: 15px;
181
- font-weight: 500;
182
- color: #707070;
183
- }
184
-
185
- p {
186
- margin-bottom: 4px;
187
- }
188
- }
189
-
190
- @each $name, $pair in $colors-brand-funcionnal {
191
- $color: getColor($name);
192
- $brandName: getColorBrandName($name);
193
-
194
- &.is-#{$brandName} {
195
- &::before {
196
- background-color: $color;
197
- }
198
- }
199
- }
200
- }
201
-
202
- &.is-centered {
203
- .timeline-header {
204
- display: flex;
205
- width: 100%;
206
- align-self: center;
207
- }
208
-
209
- .timeline-item {
210
- width: 50%;
211
- align-self: flex-end;
212
-
213
- &:nth-of-type(2n) {
214
- align-self: flex-start;
215
- margin-left: 0;
216
- margin-right: $timeline-header-width * 0.5;
217
-
218
- &::before {
219
- right: -$timeline-line-width;
220
- left: auto;
221
- }
222
-
223
- .timeline-marker {
224
- left: auto;
225
- right: -(
226
- $timeline-marker-size * 0.5 -
227
- $timeline-marker-border-size * 0.5
228
- ) - $timeline-line-width;
229
-
230
- &.is-image {
231
- @each $dimension in $timeline-image-dimensions {
232
- &.is-#{$dimension}x#{$dimension} {
233
- left: auto;
234
- right: $dimension * 0.5 * -1px;
235
- }
236
- }
237
- }
238
-
239
- &.is-icon {
240
- left: auto;
241
- right: -(
242
- $timeline-marker-icon-size * 0.5 -
243
- $timeline-marker-border-size * 0.5
244
- ) - $timeline-line-width;
245
- }
246
- }
247
-
248
- .timeline-content {
249
- padding: $timeline-rtl-content-padding;
250
- text-align: right;
251
- display: flex;
252
- flex-direction: column;
253
- align-items: flex-end;
254
- flex-basis: 100%;
255
- }
256
- }
257
-
258
- &:nth-of-type(2n + 1) {
259
- &::before {
260
- content: '';
261
- background-color: getColor('grey-disabled');
262
- display: block;
263
- width: $timeline-line-width;
264
- height: 100%;
265
- position: absolute;
266
- top: 0;
267
- }
268
- }
269
-
270
- @each $name, $pair in $colors-brand-funcionnal {
271
- $color: getColor($name);
272
- $color-invert: invertColor($name);
273
- $brandName: getColorBrandName($name);
274
-
275
- &.is-#{$brandName} {
276
- &::before {
277
- background-color: $color;
278
- }
279
- }
280
- }
281
- }
282
- }
283
- }
@@ -1,139 +0,0 @@
1
- @use 'sass:math';
2
-
3
- $title-weight: $weight-semibold;
4
- $title-line-height: 1.1;
5
- $title-strong-color: inherit;
6
- $title-strong-weight: inherit;
7
- $title-sub-size: 0.5em;
8
- $title-sup-size: 0.5em;
9
-
10
- $subtitle-size: $text-15;
11
- $subtitle-weight: $weight-semibold;
12
- $subtitle-size-tablet: $text-15;
13
- $subtitle-line-height: 1.2;
14
- $subtitle-strong-weight: $weight-semibold;
15
-
16
- $overline-size: $text-15;
17
- $overline-weight: $weight-semibold;
18
- $overline-line-height: 1.2;
19
- $overline-size-tablet: $text-15;
20
-
21
- $title-levels: (
22
- ($text-48, $text-58, $family-secondary),
23
- ($text-36, $text-44, $family-secondary),
24
- ($text-28, $text-32, $family-primary),
25
- ($text-24, $text-28, $family-primary),
26
- ($text-20, $text-24, $family-primary),
27
- ($text-16, $text-20, $family-primary)
28
- );
29
- $title-levels-mobile: (
30
- ($text-32, $text-38),
31
- ($text-28, $text-34),
32
- ($text-22, $text-26),
33
- ($text-20, $text-24),
34
- ($text-18, $text-22),
35
- ($text-16, $text-20)
36
- );
37
-
38
- .title,
39
- .subtitle,
40
- .overline {
41
- word-break: break-word;
42
-
43
- em,
44
- span {
45
- font-weight: inherit;
46
- }
47
-
48
- .tag {
49
- vertical-align: middle;
50
- }
51
- }
52
-
53
- .title {
54
- font-size: $text-32;
55
- font-weight: $title-weight;
56
- line-height: $title-line-height;
57
-
58
- // new typography
59
- @each $title-level in $title-levels {
60
- $i: index($title-levels, $title-level);
61
- $font-size: nth($title-level, 1);
62
- $line-height: nth($title-level, 2);
63
- $font-family: nth($title-level, 3);
64
-
65
- &.is-level-#{$i} {
66
- font-size: $font-size;
67
- line-height: $line-height;
68
- font-family: $font-family;
69
- }
70
-
71
- &.is-medium {
72
- font-weight: $weight-medium;
73
- }
74
-
75
- &.is-inverted {
76
- color: getColor('background');
77
- }
78
-
79
- .details {
80
- font-size: 80%;
81
- color: getColor('grey');
82
- font-weight: $weight-normal;
83
- }
84
-
85
- &.is-section-title {
86
- text-align: center;
87
- }
88
-
89
- @include tablet {
90
- font-size: $text-40;
91
- }
92
-
93
- sup {
94
- top: -0.5em;
95
- font-size: $title-sup-size;
96
- }
97
-
98
- sub {
99
- bottom: -0.5em;
100
- font-size: $title-sub-size;
101
- }
102
-
103
- &.is-centered {
104
- text-align: center;
105
- }
106
- }
107
-
108
- @include mobile {
109
- @each $title-level-mobile in $title-levels-mobile {
110
- $i: index($title-levels-mobile, $title-level-mobile);
111
- $font-size-mobile: nth($title-level-mobile, 1);
112
- $line-height-mobile: nth($title-level-mobile, 2);
113
- &.is-level-#{$i} {
114
- font-size: $font-size-mobile;
115
- line-height: $line-height-mobile;
116
- }
117
- }
118
- }
119
- }
120
-
121
- .subtitle {
122
- color: getColor('alternate');
123
- font-size: $subtitle-size;
124
- font-weight: $subtitle-weight;
125
- line-height: $subtitle-line-height;
126
- &.is-inverted {
127
- color: getColor('background');
128
- }
129
- }
130
-
131
- .overline {
132
- color: getColor('alternate');
133
- font-size: $overline-size;
134
- font-weight: $overline-weight;
135
- line-height: $overline-line-height;
136
- &.is-inverted {
137
- color: getColor('background');
138
- }
139
- }
@@ -1,100 +0,0 @@
1
- $toolbar-height: 60px !default;
2
-
3
- .toolbar {
4
- height: $toolbar-height;
5
- border-bottom: 1px solid getColor('grey-light');
6
- display: flex;
7
- align-items: center;
8
-
9
- > .container {
10
- display: flex;
11
- align-items: center;
12
- height: 100%;
13
- width: 100%;
14
- }
15
-
16
- > .container > .toolbar-row,
17
- > .toolbar-row {
18
- display: flex;
19
- flex-direction: row;
20
- align-items: center;
21
- height: 100%;
22
- border-right: 1px solid getColor('grey-light');
23
-
24
- &:empty {
25
- border-right: none;
26
- }
27
- }
28
-
29
- > .container > .toolbar-group,
30
- > .container > .toolbar-row > .toolbar-group,
31
- > .toolbar-group,
32
- > .toolbar-row > .toolbar-group {
33
- margin-top: 0;
34
- margin-bottom: 0;
35
- padding: 0 10px;
36
- height: 100%;
37
- display: flex;
38
- align-items: center;
39
-
40
- &:not(:first-of-type) {
41
- border-left: 1px solid getColor('grey-light');
42
- }
43
-
44
- > .toolbar-item {
45
- padding-left: 10px;
46
- padding-right: 10px;
47
- white-space: nowrap;
48
-
49
- &.is-clipped-to-bottom {
50
- align-self: flex-end;
51
- }
52
- }
53
- }
54
-
55
- @include mobile {
56
- flex-direction: column;
57
- align-items: stretch;
58
- height: auto;
59
- padding: 0;
60
-
61
- > .container {
62
- flex-direction: column;
63
- align-items: stretch;
64
- height: auto;
65
- padding: 0;
66
- }
67
-
68
- > .container > .toolbar-group,
69
- > .container > .toolbar-row > .toolbar-group,
70
- > .toolbar-group,
71
- > .toolbar-row > .toolbar-group {
72
- height: $toolbar-height;
73
-
74
- &:not(:last-of-type) {
75
- border-right: 0;
76
- border-bottom: 1px solid getColor('grey-light');
77
- }
78
- }
79
-
80
- > .container > .toolbar-row,
81
- > .toolbar-row {
82
- height: $toolbar-height;
83
- border-right: 0;
84
-
85
- > .toolbar-group {
86
- border-bottom: 1px solid getColor('grey-light');
87
- flex-grow: 1;
88
-
89
- &:not(:last-of-type) {
90
- border-right: 1px solid getColor('grey-light');
91
- }
92
- }
93
- }
94
- }
95
-
96
- .is-elastic,
97
- .toolbar-space {
98
- flex-grow: 1;
99
- }
100
- }