@trilogy-ds/styles 0.0.4-beta-v4 → 0.0.4-esm-cjs
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/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 +0 -21
- package/framework/src/base/_elements.scss +1 -1
- package/framework/src/base/_generic.scss +5 -0
- package/framework/src/base/_helpers.scss +21 -6
- package/framework/src/base/_loading.scss +2 -2
- package/framework/src/base/_reset.scss +6 -1
- package/framework/src/components/_accordion.scss +4 -3
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +139 -109
- package/framework/src/{elements → components}/_badge.scss +1 -1
- package/framework/src/{elements → components}/_box.scss +9 -11
- package/framework/src/components/_breadcrumb.scss +17 -31
- package/framework/src/{elements → components}/_button.scss +16 -3
- package/framework/src/components/_card.scss +26 -9
- package/framework/src/{elements → components}/_checkbox.scss +30 -1
- package/framework/src/components/_countdown.scss +1 -1
- package/framework/src/components/_divider.scss +16 -0
- package/framework/src/components/_flex-box.scss +240 -0
- package/framework/src/{elements/_all.scss → components/_index.scss} +27 -12
- package/framework/src/{elements → components}/_link.scss +9 -3
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/components/_modal.scss +32 -11
- package/framework/src/components/_otp.scss +2 -2
- package/framework/src/components/_pagination.scss +5 -2
- package/framework/src/components/_price.scss +28 -2
- package/framework/src/{elements → components}/_radio.scss +4 -3
- package/framework/src/components/_segmented-control.scss +9 -5
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +1 -1
- package/framework/src/{elements → components}/_sticker.scss +13 -1
- package/framework/src/{elements → components}/_switch.scss +13 -8
- package/framework/src/{elements → components}/_table.scss +9 -10
- package/framework/src/components/_tabs.scss +66 -28
- package/framework/src/{elements → components}/_tag.scss +1 -17
- package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +1 -1
- package/framework/src/{elements → components}/_title.scss +10 -0
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/{elements → components/alert}/_toaster.scss +0 -3
- package/framework/src/{elements → components/input}/_entry.scss +48 -10
- package/framework/src/{elements → components/input}/_form.scss +10 -11
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/{elements → components/input}/_input-icons.scss +14 -2
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +1 -1
- package/framework/src/{elements → components/progress}/_progress.scss +3 -3
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +0 -4
- package/framework/src/grid/_columns.scss +33 -11
- package/framework/src/layout/_hero.scss +4 -0
- package/framework/src/layout/_section.scss +5 -0
- package/framework/src/theming/buttons_partial.scss +1 -1
- package/framework/src/theming/common_partials.scss +1 -1
- package/framework/src/trilogy-mangled.scss +3 -3
- package/framework/src/trilogy.scss +2 -2
- package/framework/src/utilities/_background.scss +3 -1
- package/framework/src/utilities/_derived-variables.scss +0 -92
- package/framework/src/utilities/_initial-variables.scss +3 -111
- package/framework/src/utilities/_pre.scss +3 -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 +293 -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 +84 -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/{_colors.scss → variables/_color.scss} +44 -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 +1 -1
- package/framework/src/components/_all.scss +0 -24
- package/framework/src/elements/_autocomplete.scss +0 -32
- package/framework/src/elements/_list.scss +0 -62
- package/framework/src/elements/_select.scss +0 -96
- package/framework/src/elements/_textarea.scss +0 -133
- package/framework/src/utilities/_mixins.scss +0 -635
- /package/framework/src/{elements → components}/_chips.scss +0 -0
- /package/framework/src/{elements → components}/_container.scss +0 -0
- /package/framework/src/{elements → components}/_icon.scss +0 -0
- /package/framework/src/{elements → components}/_image.scss +0 -0
- /package/framework/src/{elements → components}/_loader.scss +0 -0
- /package/framework/src/{elements → components/alert}/_alert.scss +0 -0
- /package/framework/src/{elements → components/input}/_input-gauge.scss +0 -0
- /package/framework/src/{components → elements}/_plus-symbol.scss +0 -0
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
.textarea-wrapper {
|
|
2
|
-
position: relative;
|
|
3
|
-
margin: 16px 0;
|
|
4
|
-
|
|
5
|
-
.textarea-label {
|
|
6
|
-
display: inline-block;
|
|
7
|
-
margin-bottom: 6px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.textarea-sample {
|
|
11
|
-
margin-bottom: 10px !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
textarea.textarea {
|
|
15
|
-
padding: $spacing-4;
|
|
16
|
-
border-radius: var(--radius-small);
|
|
17
|
-
outline: none;
|
|
18
|
-
|
|
19
|
-
&:focus,
|
|
20
|
-
&:focus-visible {
|
|
21
|
-
padding: 15px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&::placeholder {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.has-dynamic-label {
|
|
29
|
-
&.has-icon ~ label {
|
|
30
|
-
left: $spacing-9;
|
|
31
|
-
margin-right: 2px;
|
|
32
|
-
width: calc(100% - 98px);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
~ label {
|
|
36
|
-
visibility: visible;
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 2px;
|
|
39
|
-
left: $spacing-4;
|
|
40
|
-
padding-top: $spacing-2;
|
|
41
|
-
width: calc(100% - 28px - 2px);
|
|
42
|
-
font-size: 12px;
|
|
43
|
-
color: getColor('font');
|
|
44
|
-
filter: grayscale(100%);
|
|
45
|
-
transition: top 0.2s ease-out;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:placeholder-shown {
|
|
49
|
-
~ label {
|
|
50
|
-
visibility: hidden;
|
|
51
|
-
top: $spacing-4;
|
|
52
|
-
background-color: getColor('background');
|
|
53
|
-
transition: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&:not(:placeholder-shown) {
|
|
58
|
-
padding-top: $spacing-5;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.has-icon {
|
|
63
|
-
padding-left: $spacing-9;
|
|
64
|
-
padding-right: $spacing-9;
|
|
65
|
-
|
|
66
|
-
&:focus,
|
|
67
|
-
&:focus-visible {
|
|
68
|
-
padding-left: 55px !important;
|
|
69
|
-
padding-right: 55px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
label {
|
|
75
|
-
font-size: 16px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.textarea-label + .textarea-sample ~ span.icon {
|
|
79
|
-
top: 72px !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.textarea-label ~ span.icon {
|
|
83
|
-
top: 45px !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
span.icon {
|
|
87
|
-
position: absolute;
|
|
88
|
-
top: $spacing-4;
|
|
89
|
-
|
|
90
|
-
&:first-of-type {
|
|
91
|
-
left: $spacing-4;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&:nth-of-type(2) {
|
|
95
|
-
right: $spacing-4;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Colors
|
|
100
|
-
@each $name, $pair in $colors-brand-functionnal {
|
|
101
|
-
$color: getColor($name);
|
|
102
|
-
$color-invert: invertColor($name);
|
|
103
|
-
$brandName: getColorBrandName($name);
|
|
104
|
-
&.is-#{$brandName} {
|
|
105
|
-
textarea.textarea {
|
|
106
|
-
border-color: $color;
|
|
107
|
-
|
|
108
|
-
&:active,
|
|
109
|
-
&:focus,
|
|
110
|
-
&:focus-visible {
|
|
111
|
-
&:not(:placeholder-shown) {
|
|
112
|
-
padding-top: 29px;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
span.icon:nth-of-type(2) {
|
|
118
|
-
color: $color;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.counter {
|
|
124
|
-
position: absolute;
|
|
125
|
-
bottom: $spacing-2;
|
|
126
|
-
right: $spacing-4;
|
|
127
|
-
font-size: 10px;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.help ~ .counter {
|
|
131
|
-
bottom: $spacing-6;
|
|
132
|
-
}
|
|
133
|
-
}
|