@trilogy-ds/styles 0.0.1-beta.9 → 0.0.2-alpha-prompt
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.
- package/dist/default/assets/icons/all/calendar.svg +1 -0
- package/dist/default/assets/icons/all/file-attached.svg +1 -0
- package/dist/default/assets/icons/all/micro.svg +1 -0
- package/dist/default/assets/icons/all/paperclip.svg +1 -0
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/_all.scss +2 -2
- package/framework/src/base/_all.scss +1 -1
- package/framework/src/base/_color.scss +1 -52
- package/framework/src/base/_elements.scss +1 -1
- package/framework/src/base/_generic.scss +9 -1
- package/framework/src/base/_helpers.scss +34 -44
- package/framework/src/base/_loading.scss +9 -2
- package/framework/src/base/_reset.scss +11 -1
- package/framework/src/components/_accordion.scss +55 -89
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +332 -0
- package/framework/src/components/_badge.scss +87 -0
- package/framework/src/components/_box.scss +168 -0
- package/framework/src/components/_breadcrumb.scss +29 -38
- package/framework/src/components/_button.scss +79 -0
- package/framework/src/components/_calendar.scss +129 -0
- package/framework/src/components/_card.scss +33 -87
- package/framework/src/components/_checkbox.scss +71 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/{elements → components}/_container.scss +7 -46
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_date-picker.scss +58 -0
- package/framework/src/components/_divider.scss +48 -14
- package/framework/src/components/_dropdown.scss +166 -99
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_flex-box.scss +994 -0
- package/framework/src/{elements → components}/_icon.scss +4 -4
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +51 -0
- package/framework/src/components/_link.scss +58 -0
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/{elements → components}/_loader.scss +2 -2
- package/framework/src/components/_modal.scss +182 -158
- package/framework/src/components/_otp.scss +11 -30
- package/framework/src/components/_pagination.scss +60 -159
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +140 -165
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_prompt.scss +125 -0
- package/framework/src/components/_radio.scss +82 -0
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +55 -53
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/{elements → components}/_sticker.scss +25 -28
- package/framework/src/components/_switch.scss +97 -191
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +114 -98
- package/framework/src/components/_tag.scss +114 -0
- package/framework/src/components/_text.scss +55 -0
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +28 -113
- package/framework/src/components/_title.scss +151 -0
- package/framework/src/{elements → components/alert}/_alert.scss +13 -10
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
- package/framework/src/components/input/_entry.scss +135 -0
- package/framework/src/{elements → components/input}/_form.scss +42 -33
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/components/input/_input-gauge.scss +44 -0
- package/framework/src/components/input/_input-icons.scss +55 -0
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/progress/_progress-radial.scss +28 -0
- package/framework/src/{elements → components/progress}/_progress.scss +34 -23
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +0 -41
- package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
- package/framework/src/grid/_columns.scss +278 -763
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +92 -214
- package/framework/src/layout/_section.scss +10 -29
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/trilogy-mangled.scss +3 -3
- package/framework/src/trilogy.scss +2 -2
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +21 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +0 -103
- package/framework/src/utilities/_initial-variables.scss +4 -144
- package/framework/src/utilities/_pre.scss +4 -1
- package/framework/src/utilities/mixins/_arrow.scss +21 -0
- package/framework/src/utilities/mixins/_delete.scss +86 -0
- package/framework/src/utilities/mixins/_index.scss +11 -0
- package/framework/src/utilities/mixins/_markup-group.scss +27 -0
- package/framework/src/utilities/mixins/_mixins.scss +294 -0
- package/framework/src/utilities/mixins/_overlay.scss +7 -0
- package/framework/src/utilities/mixins/_pattern.scss +10 -0
- package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
- package/framework/src/utilities/mixins/_spinner.scss +12 -0
- package/framework/src/utilities/mixins/_state.scss +25 -0
- package/framework/src/utilities/mixins/_unselectable.scss +10 -0
- package/framework/src/utilities/mixins/_utils.scss +24 -0
- package/framework/src/utilities/variables/_animation.scss +2 -0
- package/framework/src/utilities/variables/_color.scss +85 -0
- package/framework/src/utilities/variables/_font.scss +97 -0
- package/framework/src/utilities/variables/_index.scss +6 -0
- package/framework/src/utilities/variables/_responsiveness.scss +7 -0
- package/framework/src/utilities/variables/_shadow.scss +3 -0
- package/framework/src/utilities/variables/_zindex.scss +14 -0
- package/package.json +8 -3
- package/framework/src/components/_all.scss +0 -30
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_progress-radial.scss +0 -23
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/elements/_all.scss +0 -35
- package/framework/src/elements/_badge.scss +0 -81
- package/framework/src/elements/_box.scss +0 -267
- package/framework/src/elements/_button.scss +0 -192
- package/framework/src/elements/_checkbox.scss +0 -39
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_chips.scss +0 -100
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_entry.scss +0 -109
- package/framework/src/elements/_image.scss +0 -59
- package/framework/src/elements/_input-gauge.scss +0 -37
- package/framework/src/elements/_input-icons.scss +0 -41
- package/framework/src/elements/_link.scss +0 -79
- package/framework/src/elements/_list.scss +0 -61
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_paragraph.scss +0 -101
- package/framework/src/elements/_radio.scss +0 -67
- package/framework/src/elements/_select.scss +0 -315
- package/framework/src/elements/_switch.scss +0 -108
- package/framework/src/elements/_table.scss +0 -298
- package/framework/src/elements/_tag.scss +0 -131
- package/framework/src/elements/_textarea.scss +0 -125
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/elements/_title.scss +0 -139
- package/framework/src/layout/_toolbar.scss +0 -100
- 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:
|
|
8
|
-
border-radius:
|
|
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('
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
65
|
+
border: 1px solid getColor('error');
|
|
85
66
|
color: getColor('font');
|
|
86
67
|
}
|
|
87
68
|
}
|
|
88
69
|
|
|
89
|
-
.
|
|
70
|
+
.help {
|
|
90
71
|
font-size: $text-12;
|
|
91
72
|
margin-top: 4px;
|
|
92
73
|
}
|
|
@@ -1,182 +1,83 @@
|
|
|
1
1
|
.pagination {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
60
|
-
|
|
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
|
-
|
|
64
|
-
|
|
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
|
-
|
|
92
|
-
|
|
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-
|
|
100
|
-
|
|
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
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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
|
-
|
|
114
|
-
|
|
115
|
-
|
|
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
|
-
}
|