@trilogy-ds/styles 0.0.1-beta.9 → 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
@@ -3,15 +3,17 @@
3
3
  flex-wrap: nowrap;
4
4
 
5
5
  .otp {
6
+ @include hover();
6
7
  outline: none;
7
- border: 1px solid currentColor;
8
- border-radius: 4px;
8
+ border: var(--border);
9
+ border-radius: var(--radius-small);
9
10
  background: transparent;
10
11
  width: 33px;
11
12
  height: 40px;
12
13
  margin: 4px 4px 0 4px;
13
14
  text-align: center;
14
- color: getColor('grey');
15
+ color: getColor('main');
16
+
15
17
  &:first-child {
16
18
  margin: 4px 4px 0 0;
17
19
  }
@@ -24,13 +26,7 @@
24
26
 
25
27
  &.is-danger {
26
28
  .otp {
27
- border: 2px solid getColor('error');
28
- }
29
- }
30
-
31
- &.is-tertiary {
32
- .otp {
33
- border: 2px solid getColor('font');
29
+ border: 1px solid getColor('error');
34
30
  }
35
31
  }
36
32
 
@@ -42,7 +38,7 @@
42
38
 
43
39
  &.is-focus {
44
40
  .otp {
45
- border: 2px solid getColor('alternate');;
41
+ border: 1px solid getColor('font');;
46
42
  color: getColor('font')
47
43
  }
48
44
  }
@@ -50,43 +46,28 @@
50
46
 
51
47
  &.is-error {
52
48
  .otp {
53
- border: 2px solid getColor('error');
49
+ border: 1px solid getColor('error');
54
50
  color: getColor('font')
55
51
  }
56
52
  }
57
53
 
58
- &.is-tertiary {
59
- .otp {
60
- border: 2px solid getColor('font');
61
- }
62
- }
63
-
64
- &.is-disabled {
65
- .otp {
66
- border: none !important;
67
- background: getColor('grey-disabled');
68
- pointer-events: none;
69
- color: getColor('grey');
70
- }
71
- }
72
-
73
54
  }
74
55
 
75
56
  .otp-list:focus-within {
76
57
  .otp {
77
- border: 2px solid getColor('alternate');;
58
+ border: 1px solid getColor('font');;
78
59
  color: getColor('font');
79
60
  }
80
61
  }
81
62
 
82
63
  .otp-list.is-error:focus-within {
83
64
  .otp {
84
- border: 2px solid getColor('error');
65
+ border: 1px solid getColor('error');
85
66
  color: getColor('font');
86
67
  }
87
68
  }
88
69
 
89
- .otp-error-message {
70
+ .help {
90
71
  font-size: $text-12;
91
72
  margin-top: 4px;
92
73
  }
@@ -1,182 +1,83 @@
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: center;
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
36
 
91
- .pagination-link {
92
- &.is-current {
93
- background-color: getColor('alternate');
94
- border-color: currentColor;
95
- color: getColor('background');
37
+ &[aria-disabled=true]{
38
+ border-color: transparent !important;
96
39
  }
97
- }
40
+ }
98
41
 
99
- .pagination-ellipsis {
100
- color: getColor('grey-light');
101
- pointer-events: none;
102
- }
103
-
104
- .pagination-list {
42
+ .pagination-list {
43
+ flex: 0 0 auto;
105
44
  flex-wrap: wrap;
106
- }
107
-
108
- @include mobile {
109
- .pagination {
110
- flex-wrap: wrap;
45
+ align-items: center;
46
+ display: flex;
47
+ justify-content: center;
48
+ text-align: center;
49
+ }
50
+
51
+ .pagination-previous {
52
+ order: 1;
53
+ }
54
+
55
+ .pagination-list {
56
+ order: 2;
57
+ }
58
+
59
+ .pagination-next {
60
+ order: 3;
61
+ }
62
+
63
+ .pagination-link {
64
+ &[aria-current] {
65
+ background-color: getColor('font');
66
+ color: getColor('background');
67
+ #{$hoverSelector}, &:focus, &:focus-within {
68
+ background: linear-gradient(
69
+ to top,
70
+ rgba(0, 0, 0, 0.25),
71
+ rgba(0, 0, 0, 0.25)
72
+ ) getColor('font') !important;
73
+ }
111
74
  }
75
+ }
112
76
 
113
- .pagination-previous,
114
- .pagination-next {
115
- flex-grow: 1;
116
- flex-shrink: 1;
117
- }
77
+ .pagination-ellipsis {
78
+ pointer-events: none;
79
+ }
118
80
 
119
- .pagination-list {
120
- li {
121
- flex-grow: 1;
122
- flex-shrink: 1;
123
- }
124
- }
125
81
  }
126
82
 
127
- @include tablet {
128
- .pagination-list {
129
- flex-grow: 1;
130
- flex-shrink: 1;
131
- justify-content: flex-start;
132
- order: 1;
133
- }
134
-
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
83
 
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
- }