@trilogy-ds/styles 0.0.1-beta.9 → 0.0.4-beta-v4

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 (94) 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/base/_color.scss +9 -39
  5. package/framework/src/base/_generic.scss +4 -1
  6. package/framework/src/base/_helpers.scss +13 -38
  7. package/framework/src/base/_loading.scss +8 -1
  8. package/framework/src/base/_reset.scss +8 -3
  9. package/framework/src/components/_accordion.scss +53 -88
  10. package/framework/src/components/_all.scss +1 -7
  11. package/framework/src/components/_autolayout.scss +302 -0
  12. package/framework/src/components/_breadcrumb.scss +39 -34
  13. package/framework/src/components/_card.scss +8 -79
  14. package/framework/src/components/_countdown.scss +49 -47
  15. package/framework/src/components/_divider.scss +10 -15
  16. package/framework/src/components/_fab.scss +25 -38
  17. package/framework/src/components/_modal.scss +161 -158
  18. package/framework/src/components/_otp.scss +10 -29
  19. package/framework/src/components/_pagination.scss +59 -161
  20. package/framework/src/components/_plus-symbol.scss +1 -1
  21. package/framework/src/components/_popover.scss +260 -260
  22. package/framework/src/components/_price.scss +119 -170
  23. package/framework/src/components/_product-tour.scss +2 -4
  24. package/framework/src/components/_progress-radial.scss +24 -19
  25. package/framework/src/components/_range.scss +73 -72
  26. package/framework/src/components/_segmented-control.scss +51 -53
  27. package/framework/src/components/_stepper.scss +42 -222
  28. package/framework/src/components/_tabs.scss +46 -81
  29. package/framework/src/components/_timeline.scss +27 -112
  30. package/framework/src/elements/_alert.scss +13 -10
  31. package/framework/src/elements/_all.scss +1 -4
  32. package/framework/src/elements/_autocomplete.scss +32 -0
  33. package/framework/src/elements/_badge.scss +67 -61
  34. package/framework/src/elements/_box.scss +64 -161
  35. package/framework/src/elements/_button.scss +15 -141
  36. package/framework/src/elements/_checkbox.scss +29 -26
  37. package/framework/src/elements/_chips.scss +69 -85
  38. package/framework/src/elements/_container.scss +7 -39
  39. package/framework/src/elements/_entry.scss +76 -88
  40. package/framework/src/elements/_form.scss +26 -23
  41. package/framework/src/elements/_icon.scss +4 -4
  42. package/framework/src/elements/_image.scss +50 -40
  43. package/framework/src/elements/_input-gauge.scss +32 -33
  44. package/framework/src/elements/_input-icons.scss +33 -31
  45. package/framework/src/elements/_link.scss +38 -65
  46. package/framework/src/elements/_list.scss +45 -44
  47. package/framework/src/elements/_loader.scss +2 -2
  48. package/framework/src/elements/_other.scss +0 -37
  49. package/framework/src/elements/_paragraph.scss +35 -69
  50. package/framework/src/elements/_progress.scss +33 -22
  51. package/framework/src/elements/_radio.scss +45 -31
  52. package/framework/src/elements/_select.scss +85 -304
  53. package/framework/src/elements/_sticker.scss +12 -27
  54. package/framework/src/elements/_switch.scss +101 -99
  55. package/framework/src/elements/_table.scss +175 -228
  56. package/framework/src/elements/_tag.scss +104 -105
  57. package/framework/src/elements/_textarea.scss +113 -105
  58. package/framework/src/elements/_title.scss +89 -87
  59. package/framework/src/elements/_toaster.scss +4 -5
  60. package/framework/src/grid/_columns.scss +257 -764
  61. package/framework/src/grid/_rows.scss +45 -38
  62. package/framework/src/layout/_all.scss +0 -1
  63. package/framework/src/layout/_hero.scss +89 -215
  64. package/framework/src/layout/_section.scss +5 -29
  65. package/framework/src/theming/_all.scss +3 -0
  66. package/framework/src/theming/buttons_partial.scss +32 -0
  67. package/framework/src/theming/common_partials.scss +10 -0
  68. package/framework/src/theming/links_partial.scss +20 -0
  69. package/framework/src/utilities/_a11y.scss +13 -0
  70. package/framework/src/utilities/_all.scss +4 -0
  71. package/framework/src/utilities/_background.scss +19 -0
  72. package/framework/src/utilities/_colors.scss +40 -0
  73. package/framework/src/utilities/_controls.scss +38 -49
  74. package/framework/src/utilities/_derived-variables.scss +4 -15
  75. package/framework/src/utilities/_initial-variables.scss +4 -36
  76. package/framework/src/utilities/_mixins.scss +483 -592
  77. package/framework/src/utilities/_pre.scss +1 -0
  78. package/package.json +3 -3
  79. package/framework/src/components/_autolayout2.scss +0 -38
  80. package/framework/src/components/_disclaimer.scss +0 -84
  81. package/framework/src/components/_dropdown.scss +0 -128
  82. package/framework/src/components/_level.scss +0 -120
  83. package/framework/src/components/_media.scss +0 -64
  84. package/framework/src/components/_menu.scss +0 -213
  85. package/framework/src/components/_search-modal.scss +0 -197
  86. package/framework/src/components/_slices.scss +0 -316
  87. package/framework/src/components/_slider.scss +0 -92
  88. package/framework/src/components/_switch.scss +0 -209
  89. package/framework/src/elements/_checkradio.scss +0 -173
  90. package/framework/src/elements/_dot.scss +0 -6
  91. package/framework/src/elements/_notification.scss +0 -151
  92. package/framework/src/elements/_options.scss +0 -146
  93. package/framework/src/elements/_timeline.scss +0 -283
  94. package/framework/src/layout/_toolbar.scss +0 -100
@@ -1,182 +1,80 @@
1
1
  .pagination {
2
- font-size: $size-normal;
3
- margin: -2.5px;
4
-
5
- &.is-rounded {
6
- .pagination-previous,
7
- .pagination-next {
8
- padding-left: 1em;
9
- padding-right: 1em;
10
- height: 35px;
11
- width: 35px;
12
- border-radius: $radius-rounded;
13
- }
14
-
15
- .pagination-link {
16
- height: 35px;
17
- border-radius: $radius-rounded;
18
- }
19
-
20
- .pagination-list {
21
- flex: 0 0 auto;
22
-
23
- .pagination-link {
24
- &.is-current {
25
- background: getColor('alternate');
26
- border-color: currentColor;
27
- }
28
- }
29
- }
30
- }
31
- }
32
-
33
- .pagination,
34
- .pagination-list {
35
- align-items: center;
36
- display: flex;
37
- justify-content: center;
38
- text-align: center;
39
- }
40
-
41
- .pagination-previous,
42
- .pagination-next,
43
- .pagination-link,
44
- .pagination-ellipsis {
2
+ font-size: $size-normal;
3
+ margin: -2.5px;
4
+ align-items: center;
5
+ display: flex;
6
+ justify-content: space-between;
7
+ text-align: center;
8
+
9
+ .pagination-previous,
10
+ .pagination-next,
11
+ .pagination-link,
12
+ .pagination-ellipsis {
45
13
  @include control;
46
14
  @include unselectable;
47
-
48
15
  font-size: 1em;
49
16
  padding-left: 0.5em;
50
17
  padding-right: 0.5em;
51
18
  justify-content: center;
52
19
  margin: 2.5px;
53
20
  text-align: center;
54
- }
55
-
56
- .pagination-previous,
57
- .pagination-next,
58
- .pagination-link {
59
- border-color: transparent;
60
- color: getColor('grey-dark');
21
+ }
22
+
23
+ .pagination-previous,
24
+ .pagination-next,
25
+ .pagination-link,
26
+ .pagination-ellipsis {
27
+ @include hover();
28
+ color: getColor('font');
61
29
  min-width: 2.25em;
62
-
63
- &:hover {
64
- border-color: getColor('alternate');
65
- }
66
-
67
- &:focus {
68
- border-color: getVariantColor('alternate',2);
69
- }
70
-
71
- &:active {
72
- box-shadow: inset 0 1px 2px getColor('grey-dark');
73
- }
74
-
75
- &[disabled] {
76
- background-color: getColor('grey-lighter');
77
- border-color: currentColor;
78
- box-shadow: none;
79
- color: getColor('grey');
80
- opacity: 0.5;
81
- }
82
- }
83
-
84
- .pagination-previous,
85
- .pagination-next {
30
+ height: 35px;
31
+ width: 35px;
32
+ border-radius: 9999px;
86
33
  padding-left: 0.75em;
87
34
  padding-right: 0.75em;
88
35
  white-space: nowrap;
89
- }
90
-
91
- .pagination-link {
92
- &.is-current {
93
- background-color: getColor('alternate');
94
- border-color: currentColor;
95
- color: getColor('background');
96
- }
97
- }
98
-
99
- .pagination-ellipsis {
100
- color: getColor('grey-light');
101
- pointer-events: none;
102
- }
36
+ }
103
37
 
104
- .pagination-list {
38
+ .pagination-list {
39
+ flex: 0 0 auto;
105
40
  flex-wrap: wrap;
106
- }
107
-
108
- @include mobile {
109
- .pagination {
110
- flex-wrap: wrap;
41
+ flex-grow: 1;
42
+ align-items: center;
43
+ display: flex;
44
+ justify-content: center;
45
+ text-align: center;
46
+ }
47
+
48
+ .pagination-previous {
49
+ order: 1;
50
+ }
51
+
52
+ .pagination-list {
53
+ order: 2;
54
+ }
55
+
56
+ .pagination-next {
57
+ order: 3;
58
+ }
59
+
60
+ .pagination-link {
61
+ &[aria-current] {
62
+ background-color: getColor('font');
63
+ color: getColor('background');
64
+ #{$hoverSelector}, &:focus, &:focus-within {
65
+ background: linear-gradient(
66
+ to top,
67
+ rgba(0, 0, 0, 0.25),
68
+ rgba(0, 0, 0, 0.25)
69
+ ) getColor('font') !important;
70
+ }
111
71
  }
72
+ }
112
73
 
113
- .pagination-previous,
114
- .pagination-next {
115
- flex-grow: 1;
116
- flex-shrink: 1;
117
- }
74
+ .pagination-ellipsis {
75
+ pointer-events: none;
76
+ }
118
77
 
119
- .pagination-list {
120
- li {
121
- flex-grow: 1;
122
- flex-shrink: 1;
123
- }
124
- }
125
78
  }
126
79
 
127
- @include tablet {
128
- .pagination-list {
129
- flex-grow: 1;
130
- flex-shrink: 1;
131
- justify-content: flex-start;
132
- order: 1;
133
- }
134
80
 
135
- .pagination-previous {
136
- order: 2;
137
- }
138
-
139
- .pagination-next {
140
- order: 3;
141
- }
142
-
143
- .pagination {
144
- justify-content: space-between;
145
-
146
- &.is-centered {
147
- .pagination-previous {
148
- order: 1;
149
- }
150
-
151
- .pagination-list {
152
- justify-content: center;
153
- order: 2;
154
- }
155
-
156
- .pagination-next {
157
- order: 3;
158
- }
159
- }
160
-
161
- &.is-right {
162
- .pagination-previous {
163
- order: 1;
164
- }
165
-
166
- .pagination-next {
167
- order: 2;
168
- }
169
-
170
- .pagination-list {
171
- justify-content: flex-end;
172
- order: 3;
173
- }
174
- }
175
- }
176
- }
177
-
178
- @include desktop {
179
- .pagination {
180
- justify-content: center;
181
- }
182
- }
@@ -1,6 +1,6 @@
1
1
  $plus-symbol-size: 40px;
2
2
 
3
- @mixin plus-symbol($color: getColor('grey-light'), $text-color: getColor('grey-dark')) {
3
+ @mixin plus-symbol($color: getColor('neutral-fade'), $text-color: getColor('neutral')) {
4
4
  &::after {
5
5
  content: "+";
6
6
  display: inline-block;