@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-fix-timepicker

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 (153) hide show
  1. package/dist/default/assets/icons/all/arrow-high.svg +1 -0
  2. package/dist/default/assets/icons/all/calendar.svg +1 -0
  3. package/dist/default/assets/icons/all/clock.svg +1 -0
  4. package/dist/default/assets/icons/all/file-attached.svg +1 -0
  5. package/dist/default/assets/icons/all/micro.svg +1 -0
  6. package/dist/default/assets/icons/all/paperclip.svg +1 -0
  7. package/dist/default/trilogy-mangled.css +1 -1
  8. package/dist/default/trilogy-partials.css +1 -1
  9. package/dist/default/trilogy.css +1 -1
  10. package/framework/src/_all.scss +2 -2
  11. package/framework/src/base/_all.scss +0 -1
  12. package/framework/src/base/_color.scss +1 -52
  13. package/framework/src/base/_elements.scss +1 -1
  14. package/framework/src/base/_generic.scss +9 -1
  15. package/framework/src/base/_helpers.scss +34 -44
  16. package/framework/src/base/_loading.scss +9 -2
  17. package/framework/src/base/_reset.scss +11 -1
  18. package/framework/src/components/_accordion.scss +55 -97
  19. package/framework/src/components/_autocomplete.scss +38 -0
  20. package/framework/src/components/_autolayout.scss +332 -0
  21. package/framework/src/components/_badge.scss +87 -0
  22. package/framework/src/components/_box.scss +168 -0
  23. package/framework/src/components/_breadcrumb.scss +29 -38
  24. package/framework/src/components/_button.scss +86 -0
  25. package/framework/src/components/_calendar.scss +129 -0
  26. package/framework/src/components/_card.scss +32 -86
  27. package/framework/src/components/_checkbox.scss +73 -0
  28. package/framework/src/components/_chips.scss +84 -0
  29. package/framework/src/{elements → components}/_container.scss +7 -46
  30. package/framework/src/components/_countdown.scss +49 -47
  31. package/framework/src/components/_date-picker.scss +58 -0
  32. package/framework/src/components/_divider.scss +49 -14
  33. package/framework/src/components/_dropdown.scss +166 -99
  34. package/framework/src/components/_fab.scss +25 -38
  35. package/framework/src/components/_flex-box.scss +1005 -0
  36. package/framework/src/{elements → components}/_icon.scss +12 -11
  37. package/framework/src/components/_image.scss +69 -0
  38. package/framework/src/components/_index.scss +53 -0
  39. package/framework/src/components/_link.scss +62 -0
  40. package/framework/src/components/_list.scss +66 -0
  41. package/framework/src/{elements → components}/_loader.scss +2 -2
  42. package/framework/src/components/_modal.scss +182 -158
  43. package/framework/src/components/_otp.scss +11 -30
  44. package/framework/src/components/_pagination.scss +60 -159
  45. package/framework/src/components/_popover.scss +260 -260
  46. package/framework/src/components/_price.scss +140 -165
  47. package/framework/src/components/_product-tour.scss +2 -4
  48. package/framework/src/components/_prompt.scss +156 -0
  49. package/framework/src/components/_radio.scss +85 -0
  50. package/framework/src/components/_range.scss +73 -72
  51. package/framework/src/components/_segmented-control.scss +55 -53
  52. package/framework/src/components/_select.scss +131 -0
  53. package/framework/src/components/_stepper.scss +81 -224
  54. package/framework/src/{elements → components}/_sticker.scss +34 -29
  55. package/framework/src/components/_switch.scss +97 -191
  56. package/framework/src/components/_table.scss +244 -0
  57. package/framework/src/components/_tabs.scss +114 -98
  58. package/framework/src/components/_tag.scss +114 -0
  59. package/framework/src/components/_text.scss +55 -0
  60. package/framework/src/components/_textarea.scss +46 -0
  61. package/framework/src/components/_timeline.scss +28 -113
  62. package/framework/src/components/_timepicker-circular.scss +88 -0
  63. package/framework/src/components/_timepicker.scss +79 -0
  64. package/framework/src/components/_title.scss +151 -0
  65. package/framework/src/{elements → components/alert}/_alert.scss +15 -12
  66. package/framework/src/components/alert/_index.scss +2 -0
  67. package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
  68. package/framework/src/components/input/_entry.scss +135 -0
  69. package/framework/src/{elements → components/input}/_form.scss +42 -33
  70. package/framework/src/components/input/_index.scss +4 -0
  71. package/framework/src/components/input/_input-gauge.scss +44 -0
  72. package/framework/src/components/input/_input-icons.scss +55 -0
  73. package/framework/src/components/progress/_index.scss +2 -0
  74. package/framework/src/components/progress/_progress-radial.scss +28 -0
  75. package/framework/src/{elements → components/progress}/_progress.scss +33 -24
  76. package/framework/src/elements/_index.scss +5 -0
  77. package/framework/src/elements/_other.scss +0 -41
  78. package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
  79. package/framework/src/grid/_columns.scss +278 -763
  80. package/framework/src/grid/_rows.scss +45 -38
  81. package/framework/src/layout/_all.scss +0 -1
  82. package/framework/src/layout/_hero.scss +92 -214
  83. package/framework/src/layout/_section.scss +10 -29
  84. package/framework/src/theming/_all.scss +3 -0
  85. package/framework/src/theming/buttons_partial.scss +32 -0
  86. package/framework/src/theming/common_partials.scss +10 -0
  87. package/framework/src/theming/links_partial.scss +20 -0
  88. package/framework/src/trilogy-mangled.scss +3 -3
  89. package/framework/src/trilogy.scss +3 -2
  90. package/framework/src/utilities/_a11y.scss +13 -0
  91. package/framework/src/utilities/_all.scss +4 -0
  92. package/framework/src/utilities/_background.scss +21 -0
  93. package/framework/src/utilities/_controls.scss +38 -49
  94. package/framework/src/utilities/_derived-variables.scss +0 -103
  95. package/framework/src/utilities/_initial-variables.scss +4 -144
  96. package/framework/src/utilities/_pre.scss +4 -1
  97. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  98. package/framework/src/utilities/mixins/_delete.scss +86 -0
  99. package/framework/src/utilities/mixins/_index.scss +11 -0
  100. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  101. package/framework/src/utilities/mixins/_mixins.scss +372 -0
  102. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  103. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  104. package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
  105. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  106. package/framework/src/utilities/mixins/_state.scss +25 -0
  107. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  108. package/framework/src/utilities/mixins/_utils.scss +24 -0
  109. package/framework/src/utilities/variables/_animation.scss +2 -0
  110. package/framework/src/utilities/variables/_color.scss +86 -0
  111. package/framework/src/utilities/variables/_font.scss +97 -0
  112. package/framework/src/utilities/variables/_index.scss +6 -0
  113. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  114. package/framework/src/utilities/variables/_shadow.scss +3 -0
  115. package/framework/src/utilities/variables/_zindex.scss +14 -0
  116. package/package.json +8 -3
  117. package/framework/src/components/_all.scss +0 -30
  118. package/framework/src/components/_autolayout2.scss +0 -38
  119. package/framework/src/components/_disclaimer.scss +0 -84
  120. package/framework/src/components/_level.scss +0 -120
  121. package/framework/src/components/_media.scss +0 -64
  122. package/framework/src/components/_menu.scss +0 -213
  123. package/framework/src/components/_progress-radial.scss +0 -23
  124. package/framework/src/components/_search-modal.scss +0 -197
  125. package/framework/src/components/_slices.scss +0 -316
  126. package/framework/src/components/_slider.scss +0 -92
  127. package/framework/src/elements/_all.scss +0 -35
  128. package/framework/src/elements/_badge.scss +0 -81
  129. package/framework/src/elements/_box.scss +0 -267
  130. package/framework/src/elements/_button.scss +0 -192
  131. package/framework/src/elements/_checkbox.scss +0 -39
  132. package/framework/src/elements/_checkradio.scss +0 -173
  133. package/framework/src/elements/_chips.scss +0 -100
  134. package/framework/src/elements/_dot.scss +0 -6
  135. package/framework/src/elements/_entry.scss +0 -109
  136. package/framework/src/elements/_image.scss +0 -59
  137. package/framework/src/elements/_input-gauge.scss +0 -37
  138. package/framework/src/elements/_input-icons.scss +0 -41
  139. package/framework/src/elements/_link.scss +0 -79
  140. package/framework/src/elements/_list.scss +0 -61
  141. package/framework/src/elements/_notification.scss +0 -151
  142. package/framework/src/elements/_options.scss +0 -146
  143. package/framework/src/elements/_paragraph.scss +0 -101
  144. package/framework/src/elements/_radio.scss +0 -67
  145. package/framework/src/elements/_select.scss +0 -315
  146. package/framework/src/elements/_switch.scss +0 -108
  147. package/framework/src/elements/_table.scss +0 -298
  148. package/framework/src/elements/_tag.scss +0 -131
  149. package/framework/src/elements/_textarea.scss +0 -125
  150. package/framework/src/elements/_timeline.scss +0 -283
  151. package/framework/src/elements/_title.scss +0 -139
  152. package/framework/src/layout/_toolbar.scss +0 -100
  153. package/framework/src/utilities/_mixins.scss +0 -744
@@ -1,213 +0,0 @@
1
- @use "sass:math";
2
-
3
- $menu-top: 60px;
4
- $menu-top-desktop: 80px;
5
-
6
- $menu-item-height: 3.125em;
7
- $menu-item-line-height: math.div($menu-item-height, 2);
8
- $menu-dropdown-item-height: 2em;
9
-
10
- .menu {
11
- font-size: $text-14;
12
-
13
- &.is-small {
14
- font-size: $size-small;
15
- }
16
-
17
- &.is-large {
18
- font-size: $size-large;
19
- }
20
-
21
- &.is-fixed {
22
- position: fixed;
23
- max-width: 374px;
24
- }
25
-
26
- li {
27
- border-bottom: 1px solid getColor('grey-lighter');
28
-
29
- &:last-child {
30
- border-bottom: none;
31
- }
32
- }
33
-
34
- .navbar.navbar-header .navbar-menu & {
35
- top: $menu-top;
36
-
37
- @include desktop {
38
- top: $menu-top-desktop;
39
- }
40
- }
41
-
42
- }
43
-
44
- .menu-title {
45
- padding-left: 10px;
46
- }
47
-
48
- .menu-list {
49
- line-height: 1.25;
50
- padding: 10px 0;
51
- border-bottom: 1px solid getColor('grey-light');
52
-
53
- a {
54
- @include unselectable;
55
-
56
- color: getColor('font');
57
- padding: 10px 0.75em;
58
- position: relative;
59
- display: flex;
60
- flex-direction: row;
61
- text-decoration: inherit;
62
-
63
- &:hover {
64
- background-color: transparent;
65
- color: getColor('alternate');
66
- }
67
-
68
- &.with-arrow::after {
69
- content: "";
70
- mask-image: url('./assets/icons/all/arrow-right.svg');
71
- background-color: getColor('font');
72
- right: 0.75em;
73
- position: absolute;
74
- width: 15px;
75
- height: 15px;
76
- align-self: center;
77
- }
78
-
79
- &.is-active {
80
- background-color: getColor('grey-light');
81
- color: getColor('alternate');
82
-
83
- &::before {
84
- content: '';
85
- position: absolute;
86
- left: 0;
87
- top: 0;
88
- width: 4px;
89
- height: 100%;
90
- background-color: getVariantColor('alternate',2);
91
- }
92
- }
93
-
94
- .badge {
95
- margin-top: 1px;
96
- }
97
-
98
- .icon {
99
- margin: -1px 10px 0 0;
100
- }
101
- }
102
-
103
- li {
104
- ul {
105
- margin: 0.75em;
106
- padding-left: 0.75em;
107
- }
108
- }
109
-
110
- &.dropdown-menu-list,
111
- &.aside-menu-list {
112
- color: getColor('font');
113
- border: 0;
114
- background-color: getColor('background');
115
- padding: 0;
116
-
117
- li {
118
- ul {
119
- padding: 0;
120
- margin: 0.4em 0 0.8em;
121
-
122
- li {
123
- padding: 0;
124
-
125
- a {
126
- min-height: $menu-dropdown-item-height;
127
- line-height: $menu-dropdown-item-height;
128
- padding: 0 2.4em;
129
- }
130
- }
131
- }
132
- }
133
-
134
- li.is-active a,
135
- a.is-active {
136
- box-shadow: inset 4px 0 0 0 currentColor;
137
- color: getVariantColor('alternate',2);
138
- background: inherit;
139
- }
140
-
141
- a {
142
- padding: 0 1.2em;
143
- color: getColor('font');
144
- min-height: $menu-dropdown-item-height;
145
- line-height: $menu-dropdown-item-height;
146
- white-space: nowrap;
147
- text-overflow: ellipsis;
148
- overflow: hidden;
149
-
150
- &:hover {
151
- color: getVariantColor('alternate',2);
152
- background-color: getColor('grey-lighter');
153
- }
154
-
155
- sub {
156
- display: inline-block;
157
- height: 20px;
158
- margin: 3px;
159
- }
160
-
161
- .tag {
162
- height: 20px;
163
- padding: 5px;
164
- margin-left: 5px;
165
- }
166
- }
167
- }
168
-
169
- &.aside-menu-list {
170
- border-right: 1px solid getColor('grey-light');
171
-
172
- a {
173
- padding-left: 1.2em;
174
- padding-top: 0.8em;
175
- min-height: $menu-item-height;
176
- line-height: $menu-item-line-height;
177
- color: getColor('font');
178
-
179
- &:hover {
180
- color: getVariantColor('alternate',2);
181
- background-color: getColor('grey-lighter');
182
- }
183
- }
184
- }
185
- }
186
-
187
- .menu-label {
188
- color: getVariantColor('alternate',2);
189
- font-size: 14px;
190
- letter-spacing: 0.1em;
191
- text-transform: uppercase;
192
- font-weight: $weight-semibold;
193
- padding-bottom: 1em;
194
- border-bottom: 2px solid currentColor;
195
-
196
- &:not(:first-child) {
197
- margin-top: 1em;
198
- }
199
-
200
- &:not(:last-child) {
201
- margin-bottom: 1em;
202
- }
203
- }
204
-
205
- aside.menu {
206
- > div {
207
- padding: 10px;
208
- }
209
- }
210
-
211
- .is-sidebar-menu ul.menu-list {
212
- height: 100%;
213
- }
@@ -1,23 +0,0 @@
1
- .progress-radial {
2
- background: radial-gradient(white 58%, transparent 51%),
3
- conic-gradient(gainsboro 0deg 360deg, gainsboro 0deg 360deg);
4
- border-radius: 50%;
5
- width: 124px;
6
- height: 124px;
7
- position: relative;
8
-
9
- .progress-radial-content {
10
- border: 1px solid white;
11
- border-radius: 50%;
12
- width: 102px;
13
- height: 102px;
14
- position: absolute;
15
- top: 50%;
16
- left: 50%;
17
- transform: translate(-50%, -50%);
18
- display: flex;
19
- flex-direction: column;
20
- justify-content: center;
21
- align-items: center;
22
- }
23
- }
@@ -1,197 +0,0 @@
1
- $searchbar-height: 60px;
2
- $searchbar-height-desktop: 80px;
3
-
4
- .search-modal {
5
- opacity: 0;
6
- pointer-events: none;
7
-
8
- &.is-active,
9
- &.is-expanded { // TODO: deprecate .is-expanded (replacement: is-active)
10
- opacity: 1;
11
- pointer-events: all;
12
- height: 100%;
13
- position: absolute;
14
- top: -$searchbar-height;
15
- right: 0;
16
- bottom: 0;
17
- left: 0;
18
-
19
- @include tablet {
20
- top: -$searchbar-height-desktop;
21
- }
22
-
23
- .search-bar {
24
- height: $searchbar-height;
25
- border-bottom: 1px solid getColor('grey-light');
26
- opacity: 1;
27
-
28
- @include desktop {
29
- height:$searchbar-height-desktop;
30
- }
31
- }
32
-
33
- .search-results {
34
- opacity: 1;
35
- }
36
-
37
- .modal-background {
38
- opacity: 1;
39
- }
40
- }
41
-
42
- .modal-background {
43
- opacity: 0;
44
- position: fixed;
45
- z-index: zindex('small');
46
-
47
- @include mobile {
48
- z-index: zindex('medium');
49
- }
50
- }
51
-
52
- .search-bar {
53
- position: absolute;
54
- z-index: zindex('large');
55
- display: flex;
56
- align-items: center;
57
- background-color: getColor('background');
58
- top: 0;
59
- left: 0;
60
- right: 0;
61
- height: 0;
62
- opacity: 0;
63
-
64
- @include mobile {
65
- padding: 0 20px;
66
- }
67
-
68
- @include tablet {
69
- left: $logo-width-desktop;
70
- padding-left: calc(25% - #{$logo-width-desktop});
71
- }
72
-
73
- .field {
74
- margin-top: 0;
75
- margin-bottom: 0;
76
- flex-grow: 1;
77
-
78
- > .control {
79
- > .input {
80
- border: 0;
81
- border-radius: 0;
82
- background-color: getColor('background');
83
-
84
- @include mobile {
85
- background-color: getColor('grey-lighter');
86
- }
87
-
88
- &:hover {
89
- border: 0;
90
- }
91
- }
92
- }
93
- }
94
- }
95
-
96
- .search-results {
97
- position: absolute;
98
- top: $searchbar-height-desktop;
99
- left: 25%;
100
- right: 25%;
101
- background-color: getColor('background');
102
- z-index: zindex('large');
103
- padding: 20px;
104
- opacity: 0;
105
- display: none;
106
-
107
- @include tablet {
108
- padding-left: 55px;
109
- }
110
-
111
- @include mobile {
112
- top: $searchbar-height;
113
- left: 0;
114
- right: 0;
115
- }
116
-
117
- &.is-active {
118
- display: block;
119
- }
120
-
121
- li {
122
- a {
123
- display: block;
124
- margin-left: -55px;
125
- margin-right: -20px;
126
- padding: 5px 20px 5px 55px;
127
-
128
- &:hover,
129
- &.is-active {
130
- color: getVariantColor('alternate',2);
131
- background-color: getColor('grey-lighter');
132
- }
133
-
134
- span {
135
- flex-grow: 1;
136
- }
137
- }
138
- }
139
-
140
- .search-autosuggest {
141
- a {
142
- span {
143
- display: inline-block;
144
- margin-left: 10px;
145
- font-size: $text-10;
146
- color: getColor('grey');
147
- }
148
- }
149
- }
150
-
151
- .search-autocomplete {
152
- a {
153
- span {
154
- color: getVariantColor('alternate',2);
155
- font-weight: bold;
156
- }
157
- }
158
- }
159
- }
160
- }
161
-
162
- .search-no-modal {
163
- .search-results {
164
- li {
165
- a {
166
- display: block;
167
- margin-left: -55px;
168
- margin-right: -20px;
169
- padding: 5px 20px 5px 55px;
170
-
171
- span {
172
- flex-grow: 1;
173
- }
174
- }
175
- }
176
-
177
- .search-autosuggest {
178
- a {
179
- span {
180
- display: inline-block;
181
- margin-left: 10px;
182
- font-size: $text-10;
183
- color: getColor('grey');
184
- }
185
- }
186
- }
187
-
188
- .search-autocomplete {
189
- a {
190
- span {
191
- color: getVariantColor('alternate',2);
192
- font-weight: bold;
193
- }
194
- }
195
- }
196
- }
197
- }