@trilogy-ds/styles 0.0.1-beta.5 → 0.0.1-beta.7
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/README.md +47 -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/base/_helpers.scss +5 -0
- package/framework/src/components/_modal.scss +7 -0
- package/framework/src/components/_popover.scss +1 -1
- package/framework/src/utilities/_mixins.scss +1 -2
- package/package.json +3 -2
|
@@ -645,6 +645,11 @@ $positions: (
|
|
|
645
645
|
);
|
|
646
646
|
|
|
647
647
|
@each $justification, $justify-content in $positions {
|
|
648
|
+
|
|
649
|
+
.is-justified-self {
|
|
650
|
+
justify-self: #{$justify-content} !important;
|
|
651
|
+
}
|
|
652
|
+
|
|
648
653
|
.is-justified-#{$justification} {
|
|
649
654
|
justify-content: #{$justify-content} !important;
|
|
650
655
|
}
|
|
@@ -188,6 +188,7 @@ body:has(.modal.is-active) {
|
|
|
188
188
|
display: flex;
|
|
189
189
|
flex-direction: column;
|
|
190
190
|
align-items: flex-start;
|
|
191
|
+
transform: translateX(100%);
|
|
191
192
|
|
|
192
193
|
@include tablet {
|
|
193
194
|
max-width: 375px;
|
|
@@ -197,5 +198,11 @@ body:has(.modal.is-active) {
|
|
|
197
198
|
margin-top: auto;
|
|
198
199
|
}
|
|
199
200
|
}
|
|
201
|
+
|
|
202
|
+
&.is-active {
|
|
203
|
+
.modal-content {
|
|
204
|
+
transform: translateX(0);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
200
207
|
}
|
|
201
208
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trilogy-ds/styles",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
4
|
-
"author": "
|
|
3
|
+
"version": "0.0.1-beta.7",
|
|
4
|
+
"author": "Bouygues Telecom",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"files": [
|
|
7
7
|
"framework/src",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"themes/common/src",
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
+
"main": "dist/default/trilogy.css",
|
|
12
13
|
"scripts": {
|
|
13
14
|
"build:autolayout": "esbuild --platform=node --bundle scripts/autolayout.ts --outfile=scripts/dist/autolayout.cjs --sourcemap",
|
|
14
15
|
"build:spacing": "esbuild --platform=node --bundle scripts/spacing.ts --outfile=scripts/dist/spacing.cjs --sourcemap",
|