@preply/ds-web-core 0.36.0 → 0.39.0
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/actions/style/action.mixins.less +14 -12
- package/dist/generated/breakpoints.less +1 -1
- package/dist/generated/options.less +2 -1
- package/dist/generated/tokens.less +4 -1
- package/dist/index.js +3 -1
- package/dist/layout/hooks/useLayoutFlexClassNames.js +16 -13
- package/dist/layout/hooks/useLayoutGridClassNames.js +12 -9
- package/dist/layout/index.d.ts +1 -0
- package/dist/layout/index.js +2 -1
- package/dist/layout/module-layout-hide/hooks/useLayoutHideClassnames.d.ts +4 -0
- package/dist/layout/module-layout-hide/hooks/useLayoutHideClassnames.js +13 -0
- package/dist/layout/module-layout-hide/index.d.ts +1 -0
- package/dist/layout/module-layout-hide/index.js +2 -0
- package/dist/layout/module-layout-hide/style/index.module.less +5 -0
- package/dist/layout/module-layout-hide/style/index.module.less.js +9 -0
- package/dist/layout/module-layout-hide/style/mixins.less +30 -0
- package/dist/layout/module-layout-hide/style/mixins.less.js +8 -0
- package/dist/layout/style/grid.mixins.less +13 -8
- package/dist/layout/style/index.module.less.js +2 -2
- package/dist/typography/index.d.ts +1 -0
- package/dist/typography/index.js +2 -1
- package/dist/typography/module-text-weight/hooks/useTextWeightClassNames.d.ts +1 -0
- package/dist/typography/module-text-weight/hooks/useTextWeightClassNames.js +17 -0
- package/dist/typography/module-text-weight/index.d.ts +1 -0
- package/dist/typography/module-text-weight/index.js +2 -0
- package/dist/typography/module-text-weight/style/index.module.less +5 -0
- package/dist/typography/module-text-weight/style/index.module.less.js +9 -0
- package/dist/typography/module-text-weight/style/mixins.less +12 -0
- package/dist/typography/module-text-weight/style/mixins.less.js +8 -0
- package/package.json +6 -6
|
@@ -3,20 +3,22 @@
|
|
|
3
3
|
@import '../../theme/style/declarations.mixins.less';
|
|
4
4
|
|
|
5
5
|
.action-sizes() {
|
|
6
|
-
|
|
6
|
+
.responsive({
|
|
7
|
+
each(@BUTTON_SIZE_OPTIONS, {
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
&--size-@{value} {
|
|
10
|
+
@token: 'size-@{value}';
|
|
11
|
+
.min-height('action', @token);
|
|
12
|
+
.verticalAndHorizontalPadding('action', @token);
|
|
13
|
+
.font-size('action', @token);
|
|
14
|
+
}
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
&--is-icon-button-size-@{value} {
|
|
17
|
+
@token: 'size-@{value}';
|
|
18
|
+
.size('action', @token, 'height');
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
20
22
|
});
|
|
21
23
|
}
|
|
22
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED @
|
|
1
|
+
/* AUTO GENERATED @Thu Aug 04 2022 10:59:47 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@AVATAR_SIZE_OPTIONS: 2xs, xs, s, m, l, xl;
|
|
4
4
|
@BUTTON_SIZE_OPTIONS: xs, s, m, l, xl;
|
|
@@ -28,4 +28,5 @@
|
|
|
28
28
|
@TEXT_VARIANT_OPTIONS: xs, s, s-italic, s-medium, s-medium-italic, s-bold, s-bold-italic, m,
|
|
29
29
|
m-italic, m-medium, m-medium-italic, m-bold, m-bold-italic, l, l-italic, l-medium,
|
|
30
30
|
l-medium-italic, xl, xl-italic, xl-medium, xl-medium-italic;
|
|
31
|
+
@TEXT_WEIGHT_OPTIONS: 400, 500, 700, normal, medium, bold;
|
|
31
32
|
@THEME_OPTIONS: bold-ui, base-ui, preply-ui;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED @
|
|
1
|
+
/* AUTO GENERATED @Thu Aug 04 2022 10:59:47 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@scheme-color: var(--aface);
|
|
4
4
|
@scheme-bgColor: var(--786b9);
|
|
@@ -349,6 +349,9 @@
|
|
|
349
349
|
@text-weight-400-fontWeight: var(--73984);
|
|
350
350
|
@text-weight-500-fontWeight: var(--6e979);
|
|
351
351
|
@text-weight-700-fontWeight: var(--d5337);
|
|
352
|
+
@text-weight-normal-fontWeight: var(--5ea10);
|
|
353
|
+
@text-weight-medium-fontWeight: var(--2734e);
|
|
354
|
+
@text-weight-bold-fontWeight: var(--80078);
|
|
352
355
|
@root-size-none: var(--c12f1);
|
|
353
356
|
@root-size-25: var(--389aa);
|
|
354
357
|
@root-size-50: var(--8848e);
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ export { useLayoutFlexClassNames } from './layout/hooks/useLayoutFlexClassNames.
|
|
|
16
16
|
export { useLayoutGridClassNames } from './layout/hooks/useLayoutGridClassNames.js';
|
|
17
17
|
export { useLayoutStyles } from './layout/hooks/useLayoutStyles.js';
|
|
18
18
|
export { useLayoutGridStyles } from './layout/hooks/useLayoutGridStyles.js';
|
|
19
|
+
export { useLayoutHideClassnames } from './layout/module-layout-hide/hooks/useLayoutHideClassnames.js';
|
|
19
20
|
export { useLayoutGapClassnames } from './layout/module-layout-gap/hooks/useLayoutGapClassnames.js';
|
|
20
21
|
export { minWidth } from './responsive/sc/mixins.js';
|
|
21
22
|
export { ServerStyleSheet } from './ssr/classes/ServerStyleSheet.js';
|
|
@@ -37,4 +38,5 @@ export { useToken } from './token/hooks/useToken.js';
|
|
|
37
38
|
export { withGetToken } from './token/hocs/withGetToken.js';
|
|
38
39
|
export { useTextAccentClassnames } from './typography/module-text-accent/hooks/useTextAccentClassnames.js';
|
|
39
40
|
export { useTextCenteredClassnames } from './typography/module-text-centered/hooks/useTextCenteredClassnames.js';
|
|
40
|
-
|
|
41
|
+
export { useTextWeightClassNames } from './typography/module-text-weight/hooks/useTextWeightClassNames.js';
|
|
42
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9
|
|
@@ -4,29 +4,32 @@ import { useLayoutGapClassnames } from '../module-layout-gap/hooks/useLayoutGapC
|
|
|
4
4
|
import styles from '../style/index.module.less.js';
|
|
5
5
|
import { moduleClassNames, booleanClassNames, stringClassNames } from '../../css-module/classNames.js';
|
|
6
6
|
import { useLayoutPaddingClassnames } from '../module-layout-padding/hooks/useLayoutPaddingClassnames.js';
|
|
7
|
+
import { useLayoutHideClassnames } from '../module-layout-hide/hooks/useLayoutHideClassnames.js';
|
|
7
8
|
|
|
8
9
|
const LAYOUT_FLEX = 'LayoutFlex';
|
|
9
10
|
const useLayoutFlexClassNames = (layout, props) => {
|
|
10
11
|
useStyleExtract(styles);
|
|
11
|
-
const { gap = LAYOUT_GAP_DEFAULT, padding = LAYOUT_PADDING_DEFAULT, nowrap, column, reverse, direction, justifyContent, alignItems, inline, } = props || {};
|
|
12
|
+
const { gap = LAYOUT_GAP_DEFAULT, padding = LAYOUT_PADDING_DEFAULT, nowrap, column, reverse, direction, justifyContent, alignItems, hide, inline, } = props || {};
|
|
13
|
+
if (layout !== 'flex') {
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
12
16
|
const actualDirection = direction || (!reverse && !column ? LAYOUT_FLEX_DIRECTION_DEFAULT : undefined);
|
|
13
17
|
const columnClassName = column ? 'column' : 'row';
|
|
14
18
|
const reverseClassName = reverse ? 'rev' : 'fwd';
|
|
15
19
|
const columnReverseClassName = `${columnClassName}-${reverseClassName}`;
|
|
16
|
-
const classNames =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
stringClassNames('align-items', alignItems),
|
|
24
|
-
])
|
|
25
|
-
: [];
|
|
20
|
+
const classNames = moduleClassNames(styles, LAYOUT_FLEX, [
|
|
21
|
+
booleanClassNames('nowrap', undefined, nowrap),
|
|
22
|
+
columnReverseClassName,
|
|
23
|
+
stringClassNames('direction', actualDirection),
|
|
24
|
+
stringClassNames('justify-content', justifyContent),
|
|
25
|
+
stringClassNames('align-items', alignItems),
|
|
26
|
+
]);
|
|
26
27
|
const gapClassNames = useLayoutGapClassnames(gap);
|
|
27
28
|
const paddingClassNames = useLayoutPaddingClassnames(padding);
|
|
28
|
-
|
|
29
|
+
const showClassName = inline ? 'inline-flex' : 'flex';
|
|
30
|
+
const hideClassNames = useLayoutHideClassnames(hide, showClassName);
|
|
31
|
+
return [...classNames, ...gapClassNames, ...paddingClassNames, ...hideClassNames];
|
|
29
32
|
};
|
|
30
33
|
|
|
31
34
|
export { useLayoutFlexClassNames };
|
|
32
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
35
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlTGF5b3V0RmxleENsYXNzTmFtZXMuanMiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9sYXlvdXQvaG9va3MvdXNlTGF5b3V0RmxleENsYXNzTmFtZXMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBMYXlvdXRGbGV4UHJvcHMsIExheW91dFR5cGUgfSBmcm9tICdAcHJlcGx5L2RzLWNvcmUnO1xuaW1wb3J0IHtcbiAgICBMQVlPVVRfRkxFWF9ESVJFQ1RJT05fREVGQVVMVCxcbiAgICBMQVlPVVRfR0FQX0RFRkFVTFQsXG4gICAgTEFZT1VUX1BBRERJTkdfREVGQVVMVCxcbn0gZnJvbSAnQHByZXBseS9kcy1jb3JlJztcblxuaW1wb3J0IHsgYm9vbGVhbkNsYXNzTmFtZXMsIG1vZHVsZ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sUUFBUSxHQUFHLEtBQUssQ0FBQztJQUNsRCxNQUFNLGdCQUFnQixHQUFHLE9BQU8sR0FBRyxLQUFLLEdBQUcsS0FBSyxDQUFDO0lBQ2pELE1BQU0sc0JBQXNCLEdBQUcsR0FBRyxlQUFlLElBQUksZ0JBQWdCLEVBQUUsQ0FBQztJQUV4RSxNQUFNLFVBQVUsR0FBRyxnQkFBZ0IsQ0FBQyxNQUFNLEVBQUUsV0FBVyxFQUFFO1FBQ3JELGlCQUFpQixDQUFDLFFBQVEsRUFBRSxTQUFTLEVBQUUsTUFBTSxDQUFDO1FBQzlDLHNCQUFzQjtRQUN0QixnQkFBZ0IsQ0FBQyxXQUFXLEVBQUUsZUFBZSxDQUFDO1FBQzlDLGdCQUFnQixDQUFDLGlCQUFpQixFQUFFLGNBQWMsQ0FBQztRQUNuRCxnQkFBZ0IsQ0FBQyxhQUFhLEVBQUUsVUFBVSxDQUFDO0tBQzlDLENBQUMsQ0FBQztJQUVILE1BQU0sYUFBYSxHQUFHLHNCQUFzQixDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ2xELE1BQU0saUJBQWlCLEdBQUcsMEJBQTBCLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDOUQsTUFBTSxhQUFhLEdBQUcsTUFBTSxHQUFHLGFBQWEsR0FBRyxNQUFNLENBQUM7SUFDdEQsTUFBTSxjQUFjLEdBQUcsdUJBQXVCLENBQUMsSUFBSSxFQUFFLGFBQWEsQ0FBQyxDQUFDO0lBRXBFLE9BQU8sQ0FBQyxHQUFHLFVBQVUsRUFBRSxHQUFHLGFBQWEsRUFBRSxHQUFHLGlCQUFpQixFQUFFLEdBQUcsY0FBYyxDQUFDLENBQUM7QUFDdEY7Ozs7In0=
|
|
@@ -3,22 +3,25 @@ import { useStyleExtract } from '../../ssr/hooks/useStyleExtract.js';
|
|
|
3
3
|
import { useLayoutGapClassnames } from '../module-layout-gap/hooks/useLayoutGapClassnames.js';
|
|
4
4
|
import styles from '../style/index.module.less.js';
|
|
5
5
|
import { useLayoutPaddingClassnames } from '../module-layout-padding/hooks/useLayoutPaddingClassnames.js';
|
|
6
|
+
import { useLayoutHideClassnames } from '../module-layout-hide/hooks/useLayoutHideClassnames.js';
|
|
6
7
|
import { moduleClassNames, stringClassNames } from '../../css-module/classNames.js';
|
|
7
8
|
|
|
8
9
|
const LAYOUT_GRID = 'LayoutGrid';
|
|
9
10
|
const useLayoutGridClassNames = (layout, props) => {
|
|
10
11
|
useStyleExtract(styles);
|
|
11
|
-
const { gap = LAYOUT_GAP_DEFAULT, padding = LAYOUT_PADDING_DEFAULT, justifyContent, alignItems, } = props || {};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
const { gap = LAYOUT_GAP_DEFAULT, padding = LAYOUT_PADDING_DEFAULT, justifyContent, alignItems, hide, } = props || {};
|
|
13
|
+
if (layout !== 'grid') {
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
const classNames = moduleClassNames(styles, LAYOUT_GRID, [
|
|
17
|
+
stringClassNames('justify-content', justifyContent),
|
|
18
|
+
stringClassNames('align-items', alignItems),
|
|
19
|
+
]);
|
|
18
20
|
const gapClassNames = useLayoutGapClassnames(gap);
|
|
19
21
|
const paddingClassNames = useLayoutPaddingClassnames(padding);
|
|
20
|
-
|
|
22
|
+
const hideClassNames = useLayoutHideClassnames(hide, 'grid');
|
|
23
|
+
return [...classNames, ...gapClassNames, ...paddingClassNames, ...hideClassNames];
|
|
21
24
|
};
|
|
22
25
|
|
|
23
26
|
export { useLayoutGridClassNames };
|
|
24
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
27
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlTGF5b3V0R3JpZENsYXNzTmFtZXMuanMiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9sYXlvdXQvaG9va3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Qix1QkFBdUIsR0FBUyxDQUFDLE1BQU0sRUFBRSxLQUFLO0lBQ3ZELGVBQWUsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUV4QixNQUFNLEVBQ0YsR0FBRyxHQUFHLGtCQUFrQixFQUN4QixPQUFPLEdBQUcsc0JBQXNCLEVBQ2hDLGNBQWMsRUFDZCxVQUFVLEVBQ1YsSUFBSSxHQUNQLEdBQUcsS0FBSyxJQUFJLEVBQUUsQ0FBQztJQUVoQixJQUFJLE1BQU0sS0FBSyxNQUFNLEVBQUU7UUFDbkIsT0FBTyxFQUFFLENBQUM7S0FDYjtJQUVELE1BQU0sVUFBVSxHQUFHLGdCQUFnQixDQUFDLE1BQU0sRUFBRSxXQUFXLEVBQUU7UUFDckQsZ0JBQWdCLENBQUMsaUJBQWlCLEVBQUUsY0FBYyxDQUFDO1FBQ25ELGdCQUFnQixDQUFDLGFBQWEsRUFBRSxVQUFVLENBQUM7S0FDOUMsQ0FBQyxDQUFDO0lBRUgsTUFBTSxhQUFhLEdBQUcsc0JBQXNCLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDbEQsTUFBTSxpQkFBaUIsR0FBRywwQkFBMEIsQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUM5RCxNQUFNLGNBQWMsR0FBRyx1QkFBdUIsQ0FBQyxJQUFJLEVBQUUsTUFBTSxDQUFDLENBQUM7SUFFN0QsT0FBTyxDQUFDLEdBQUcsVUFBVSxFQUFFLEdBQUcsYUFBYSxFQUFFLEdBQUcsaUJBQWlCLEVBQUUsR0FBRyxjQUFjLENBQUMsQ0FBQztBQUN0Rjs7OzsifQ==
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -3,4 +3,5 @@ export { useLayoutFlexClassNames } from './hooks/useLayoutFlexClassNames';
|
|
|
3
3
|
export { useLayoutGridClassNames } from './hooks/useLayoutGridClassNames';
|
|
4
4
|
export { useLayoutStyles } from './hooks/useLayoutStyles';
|
|
5
5
|
export { useLayoutGridStyles } from './hooks/useLayoutGridStyles';
|
|
6
|
+
export { useLayoutHideClassnames } from './module-layout-hide';
|
|
6
7
|
export * from './module-layout-gap';
|
package/dist/layout/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export { useLayoutFlexClassNames } from './hooks/useLayoutFlexClassNames.js';
|
|
|
3
3
|
export { useLayoutGridClassNames } from './hooks/useLayoutGridClassNames.js';
|
|
4
4
|
export { useLayoutStyles } from './hooks/useLayoutStyles.js';
|
|
5
5
|
export { useLayoutGridStyles } from './hooks/useLayoutGridStyles.js';
|
|
6
|
+
export { useLayoutHideClassnames } from './module-layout-hide/hooks/useLayoutHideClassnames.js';
|
|
6
7
|
export { useLayoutGapClassnames } from './module-layout-gap/hooks/useLayoutGapClassnames.js';
|
|
7
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7In0=
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LAYOUT_DISPLAY_DEFAULT } from '@preply/ds-core';
|
|
2
|
+
import { useStyleExtract } from '../../../ssr/hooks/useStyleExtract.js';
|
|
3
|
+
import styles from '../style/index.module.less.js';
|
|
4
|
+
import { moduleLocals, booleanClassNames } from '../../../css-module/classNames.js';
|
|
5
|
+
|
|
6
|
+
const LAYOUT_HIDE = 'LayoutHide';
|
|
7
|
+
const useLayoutHideClassnames = (hide, display = LAYOUT_DISPLAY_DEFAULT) => {
|
|
8
|
+
useStyleExtract(styles);
|
|
9
|
+
return moduleLocals(styles, LAYOUT_HIDE, [booleanClassNames('hide', display, hide)]);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { useLayoutHideClassnames };
|
|
13
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2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tYXBwaW5ncyI6Ijs7Ozs7QUFPQSxNQUFNLFdBQVcsR0FBRyxZQUFZLENBQUM7TUFFcEIsdUJBQXVCLEdBQUcsQ0FDbkMsSUFBMEIsRUFDMUIsVUFBeUIsc0JBQXNCO0lBRS9DLGVBQWUsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUV4QixPQUFPLFlBQVksQ0FBQyxNQUFNLEVBQUUsV0FBVyxFQUFFLENBQUMsaUJBQWlCLENBQUMsTUFBTSxFQUFFLE9BQU8sRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDekY7Ozs7In0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useLayoutHideClassnames } from './hooks/useLayoutHideClassnames';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import styleInject from '../../../external/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._1kf68Q{display:none}._1CfE9R{display:inline;display:initial}._22tvSe{display:inline}._2LQuqP{display:block}._3mVGjQ{display:inline-block}.WWAE2o{display:-webkit-box;display:-ms-flexbox;display:flex}._3B11jN{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}._1JAgaK{display:grid}@media (min-width:400px){.Ro33Uu{display:none}._2hliFN{display:inline;display:initial}._2-S-_-{display:inline}.lFKFMW{display:block}._14JYBo{display:inline-block}.eRSb4w{display:-webkit-box;display:-ms-flexbox;display:flex}._3sSorH{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.RAwctN{display:grid}}@media (min-width:700px){._3AtX-I{display:none}.f6sWhc{display:inline;display:initial}._1z4eNO{display:inline}._3Q2jNp{display:block}._1bH_oY{display:inline-block}.JpXvxi{display:-webkit-box;display:-ms-flexbox;display:flex}._3QG-ea{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.YVTQGS{display:grid}}@media (min-width:880px){._3YQLyg{display:none}._3pBbvn{display:inline;display:initial}._21jT_X{display:inline}._3pHZRi{display:block}.SulB74{display:inline-block}._1s0Dco{display:-webkit-box;display:-ms-flexbox;display:flex}._3c55Uc{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.A7hmGM{display:grid}}@media (min-width:1200px){._2yL1mb{display:none}.F9ngKY{display:inline;display:initial}._1UccLj{display:inline}._33TLSE{display:block}._3XD-7b{display:inline-block}._3nnn2i{display:-webkit-box;display:-ms-flexbox;display:flex}._20JPXs{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}._3uFm08{display:grid}}@media (min-width:1900px){._1JQ_sc{display:none}._r6ZyC{display:inline;display:initial}._19kFB8{display:inline}.u19gm3{display:block}.FzX4Fs{display:inline-block}._32Xc9i{display:-webkit-box;display:-ms-flexbox;display:flex}._3jMOqR{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}._2rdIvs{display:grid}}";
|
|
4
|
+
var styles = {__id:"/home/jenkins/workspace/design-system_main/packages/web-core/src/layout/module-layout-hide/style/index.module.less",__css:css_248z,"LayoutHide--hide":"_1kf68Q","LayoutHide--initial":"_1CfE9R","LayoutHide--inline":"_22tvSe","LayoutHide--block":"_2LQuqP","LayoutHide--inline-block":"_3mVGjQ","LayoutHide--flex":"WWAE2o","LayoutHide--inline-flex":"_3B11jN","LayoutHide--grid":"_1JAgaK","LayoutHide--narrow-l--hide":"Ro33Uu","LayoutHide--narrow-l--initial":"_2hliFN","LayoutHide--narrow-l--inline":"_2-S-_-","LayoutHide--narrow-l--block":"lFKFMW","LayoutHide--narrow-l--inline-block":"_14JYBo","LayoutHide--narrow-l--flex":"eRSb4w","LayoutHide--narrow-l--inline-flex":"_3sSorH","LayoutHide--narrow-l--grid":"RAwctN","LayoutHide--medium-s--hide":"_3AtX-I","LayoutHide--medium-s--initial":"f6sWhc","LayoutHide--medium-s--inline":"_1z4eNO","LayoutHide--medium-s--block":"_3Q2jNp","LayoutHide--medium-s--inline-block":"_1bH_oY","LayoutHide--medium-s--flex":"JpXvxi","LayoutHide--medium-s--inline-flex":"_3QG-ea","LayoutHide--medium-s--grid":"YVTQGS","LayoutHide--medium-l--hide":"_3YQLyg","LayoutHide--medium-l--initial":"_3pBbvn","LayoutHide--medium-l--inline":"_21jT_X","LayoutHide--medium-l--block":"_3pHZRi","LayoutHide--medium-l--inline-block":"SulB74","LayoutHide--medium-l--flex":"_1s0Dco","LayoutHide--medium-l--inline-flex":"_3c55Uc","LayoutHide--medium-l--grid":"A7hmGM","LayoutHide--wide-s--hide":"_2yL1mb","LayoutHide--wide-s--initial":"F9ngKY","LayoutHide--wide-s--inline":"_1UccLj","LayoutHide--wide-s--block":"_33TLSE","LayoutHide--wide-s--inline-block":"_3XD-7b","LayoutHide--wide-s--flex":"_3nnn2i","LayoutHide--wide-s--inline-flex":"_20JPXs","LayoutHide--wide-s--grid":"_3uFm08","LayoutHide--wide-l--hide":"_1JQ_sc","LayoutHide--wide-l--initial":"_r6ZyC","LayoutHide--wide-l--inline":"_19kFB8","LayoutHide--wide-l--block":"u19gm3","LayoutHide--wide-l--inline-block":"FzX4Fs","LayoutHide--wide-l--flex":"_32Xc9i","LayoutHide--wide-l--inline-flex":"_3jMOqR","LayoutHide--wide-l--grid":"_2rdIvs"};
|
|
5
|
+
var stylesheet=css_248z;
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
9
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@import '../../../responsive/style/mixins.less';
|
|
2
|
+
|
|
3
|
+
.layout-hide() {
|
|
4
|
+
.responsive({
|
|
5
|
+
&--hide {
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
8
|
+
&--initial {
|
|
9
|
+
display: initial;
|
|
10
|
+
}
|
|
11
|
+
&--inline {
|
|
12
|
+
display: inline;
|
|
13
|
+
}
|
|
14
|
+
&--block {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
&--inline-block {
|
|
18
|
+
display: inline-block;
|
|
19
|
+
}
|
|
20
|
+
&--flex {
|
|
21
|
+
display: flex;
|
|
22
|
+
}
|
|
23
|
+
&--inline-flex {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
}
|
|
26
|
+
&--grid {
|
|
27
|
+
display: grid;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from '../../../external/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "";
|
|
4
|
+
var stylesheet="";
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { css_248z as default, stylesheet };
|
|
8
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbbnVsbF0sInNvdXJjZXNDb250ZW50IjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdCQUF3Qix3REFBNEQ7QUFDcEY7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyJ9
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import '../../generated/tokens.less';
|
|
2
2
|
@import '../../generated/options.less';
|
|
3
|
+
@import '../../responsive/style/mixins.less';
|
|
3
4
|
@import '../../theme/style/declarations.mixins.less';
|
|
4
5
|
|
|
5
6
|
.grid-base() {
|
|
@@ -9,17 +10,21 @@
|
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.grid-align-items() {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
align-items
|
|
15
|
-
|
|
13
|
+
.responsive({
|
|
14
|
+
each(@LAYOUT_ALIGN_ITEMS_OPTIONS, {
|
|
15
|
+
&--align-items-@{value} {
|
|
16
|
+
align-items: @value;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
16
19
|
});
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
.grid-justify-content() {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
justify-content
|
|
23
|
-
|
|
23
|
+
.responsive({
|
|
24
|
+
each(@LAYOUT_JUSTIFY_CONTENT_OPTIONS, {
|
|
25
|
+
&--justify-content-@{value} {
|
|
26
|
+
justify-content: @value;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
24
29
|
});
|
|
25
30
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styleInject from '../../external/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = "._15uGWh{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0}._3rnoor{-ms-flex-wrap:nowrap;flex-wrap:nowrap}._1_IXQm{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.X4eHUe{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._3_M_4w,.X4eHUe{-webkit-box-orient:horizontal}._3_M_4w{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}._2ByMq1{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._2ByMq1,._3_8VIk{-webkit-box-orient:vertical}._3_8VIk{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.TeMu3z{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._2JjQiK,.TeMu3z{-webkit-box-orient:vertical}._2JjQiK{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._1o4EVj{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._1o4EVj,._24jMtt{-webkit-box-orient:horizontal}._24jMtt{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@media (min-width:400px){._1RG37V{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1RG37V,._3Rxyiw{-webkit-box-orient:vertical}._3Rxyiw{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._8jyTaM{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._1t_3rz,._8jyTaM{-webkit-box-orient:horizontal}._1t_3rz{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:700px){._1dYvLd{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1dYvLd,._3B2cts{-webkit-box-orient:vertical}._3B2cts{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._1V-ESa{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._1V-ESa,._2eL5Ug{-webkit-box-orient:horizontal}._2eL5Ug{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:880px){._1zHTP_{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1zHTP_,._3fBIHc{-webkit-box-orient:vertical}._3fBIHc{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._2r_ktS{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._2r_ktS,._3RGdxW{-webkit-box-orient:horizontal}._3RGdxW{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:1200px){._3_7sne{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._3_7sne,._3z0dTP{-webkit-box-orient:vertical}._3z0dTP{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.UEEKlY{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.hMRiH8,.UEEKlY{-webkit-box-orient:horizontal}.hMRiH8{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:1900px){.lmSiRy{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1XoMkw,.lmSiRy{-webkit-box-orient:vertical}._1XoMkw{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._19m9cA{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._2gCQJe,._19m9cA{-webkit-box-orient:horizontal}._2gCQJe{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}._3Aw3T1{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._10X-3Q{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._33a0v9{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._3qMVGq{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._2REBgi{-ms-flex-pack:distribute;justify-content:space-around}._3zq1C_{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}@media (min-width:400px){._36Psqa{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._3-j-w1{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._1Lu-3E{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._2VnVRQ{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._1nH_hK{-ms-flex-pack:distribute;justify-content:space-around}._3-_n_C{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:700px){.Qf6Cla{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._6sxNQO{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ZxlLXH{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.Cn_Bv2{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._1i_Qo3{-ms-flex-pack:distribute;justify-content:space-around}._2C1XQX{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:880px){._3o7wjp{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._1gPYrw{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._22LB-D{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._3MnmNN{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._12WcM9{-ms-flex-pack:distribute;justify-content:space-around}._3Pz1zS{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:1200px){._3R_B9A{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._11KLzX{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._3YOo5Q{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.HT4Jrf{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._3NRNH8{-ms-flex-pack:distribute;justify-content:space-around}._32hfui{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:1900px){.FQ1F3D{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c6aMED{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._3YO2K0{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._32nrja{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._2O5f5W{-ms-flex-pack:distribute;justify-content:space-around}.LoonNj{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}.hUFwKI{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._1BOjPg{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3AQmNs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}._3orDH1{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.qh7on_{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width:400px){._1mmFAl{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._10ybPf{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3Gldvl{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.iA36V8{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._-6GZ3C{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:700px){.o5yv5p{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._3SIoEN{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3LKoyS{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}._18CZ6Z{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.-nZAw3{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:880px){.AQDorR{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._34BfZ_{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3iylCj{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.Z1VCoB{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._3dtfdr{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:1200px){._1Ks9s5{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._34ZJYW{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._2pqScu{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.vkNyz8{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._7Y7qo5{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:1900px){._1CEGxp{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._2ZDTru{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._1vx6fg{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}._25WgaN{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._2oMAvk{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}._1C0eq8{display:grid;margin:0;padding:0}._25SpXB{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._3GDeqz{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._2-jaGe{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._3lGct7{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._2wHTdX{-ms-flex-pack:distribute;justify-content:space-around}._1BVKaN{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}._1nyAA2{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._1Xe-EI{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._3hQvqA{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.KBSz7h{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.KBW4yE{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}";
|
|
4
|
-
var styles = {__id:"/home/jenkins/workspace/design-system_main/packages/web-core/src/layout/style/index.module.less",__css:css_248z,"LayoutFlex":"_15uGWh","LayoutFlex--nowrap":"_3rnoor","LayoutFlex--inline":"_1_IXQm","LayoutFlex--row-fwd":"X4eHUe","LayoutFlex--row-rev":"_3_M_4w","LayoutFlex--column-fwd":"_2ByMq1","LayoutFlex--column-rev":"_3_8VIk","LayoutFlex--direction-column":"TeMu3z","LayoutFlex--direction-column-reverse":"_2JjQiK","LayoutFlex--direction-row":"_1o4EVj","LayoutFlex--direction-row-reverse":"_24jMtt","LayoutFlex--narrow-l--direction-column":"_1RG37V","LayoutFlex--narrow-l--direction-column-reverse":"_3Rxyiw","LayoutFlex--narrow-l--direction-row":"_8jyTaM","LayoutFlex--narrow-l--direction-row-reverse":"_1t_3rz","LayoutFlex--medium-s--direction-column":"_1dYvLd","LayoutFlex--medium-s--direction-column-reverse":"_3B2cts","LayoutFlex--medium-s--direction-row":"_1V-ESa","LayoutFlex--medium-s--direction-row-reverse":"_2eL5Ug","LayoutFlex--medium-l--direction-column":"_1zHTP_","LayoutFlex--medium-l--direction-column-reverse":"_3fBIHc","LayoutFlex--medium-l--direction-row":"_2r_ktS","LayoutFlex--medium-l--direction-row-reverse":"_3RGdxW","LayoutFlex--wide-s--direction-column":"_3_7sne","LayoutFlex--wide-s--direction-column-reverse":"_3z0dTP","LayoutFlex--wide-s--direction-row":"UEEKlY","LayoutFlex--wide-s--direction-row-reverse":"hMRiH8","LayoutFlex--wide-l--direction-column":"lmSiRy","LayoutFlex--wide-l--direction-column-reverse":"_1XoMkw","LayoutFlex--wide-l--direction-row":"_19m9cA","LayoutFlex--wide-l--direction-row-reverse":"_2gCQJe","LayoutFlex--justify-content-center":"_3Aw3T1","LayoutFlex--justify-content-start":"_10X-3Q","LayoutFlex--justify-content-end":"_33a0v9","LayoutFlex--justify-content-space-between":"_3qMVGq","LayoutFlex--justify-content-space-around":"_2REBgi","LayoutFlex--justify-content-space-evenly":"_3zq1C_","LayoutFlex--narrow-l--justify-content-center":"_36Psqa","LayoutFlex--narrow-l--justify-content-start":"_3-j-w1","LayoutFlex--narrow-l--justify-content-end":"_1Lu-3E","LayoutFlex--narrow-l--justify-content-space-between":"_2VnVRQ","LayoutFlex--narrow-l--justify-content-space-around":"_1nH_hK","LayoutFlex--narrow-l--justify-content-space-evenly":"_3-_n_C","LayoutFlex--medium-s--justify-content-center":"Qf6Cla","LayoutFlex--medium-s--justify-content-start":"_6sxNQO","LayoutFlex--medium-s--justify-content-end":"ZxlLXH","LayoutFlex--medium-s--justify-content-space-between":"Cn_Bv2","LayoutFlex--medium-s--justify-content-space-around":"_1i_Qo3","LayoutFlex--medium-s--justify-content-space-evenly":"_2C1XQX","LayoutFlex--medium-l--justify-content-center":"_3o7wjp","LayoutFlex--medium-l--justify-content-start":"_1gPYrw","LayoutFlex--medium-l--justify-content-end":"_22LB-D","LayoutFlex--medium-l--justify-content-space-between":"_3MnmNN","LayoutFlex--medium-l--justify-content-space-around":"_12WcM9","LayoutFlex--medium-l--justify-content-space-evenly":"_3Pz1zS","LayoutFlex--wide-s--justify-content-center":"_3R_B9A","LayoutFlex--wide-s--justify-content-start":"_11KLzX","LayoutFlex--wide-s--justify-content-end":"_3YOo5Q","LayoutFlex--wide-s--justify-content-space-between":"HT4Jrf","LayoutFlex--wide-s--justify-content-space-around":"_3NRNH8","LayoutFlex--wide-s--justify-content-space-evenly":"_32hfui","LayoutFlex--wide-l--justify-content-center":"FQ1F3D","LayoutFlex--wide-l--justify-content-start":"c6aMED","LayoutFlex--wide-l--justify-content-end":"_3YO2K0","LayoutFlex--wide-l--justify-content-space-between":"_32nrja","LayoutFlex--wide-l--justify-content-space-around":"_2O5f5W","LayoutFlex--wide-l--justify-content-space-evenly":"LoonNj","LayoutFlex--align-items-center":"hUFwKI","LayoutFlex--align-items-start":"_1BOjPg","LayoutFlex--align-items-end":"_3AQmNs","LayoutFlex--align-items-stretch":"_3orDH1","LayoutFlex--align-items-baseline":"qh7on_","LayoutFlex--narrow-l--align-items-center":"_1mmFAl","LayoutFlex--narrow-l--align-items-start":"_10ybPf","LayoutFlex--narrow-l--align-items-end":"_3Gldvl","LayoutFlex--narrow-l--align-items-stretch":"iA36V8","LayoutFlex--narrow-l--align-items-baseline":"_-6GZ3C","LayoutFlex--medium-s--align-items-center":"o5yv5p","LayoutFlex--medium-s--align-items-start":"_3SIoEN","LayoutFlex--medium-s--align-items-end":"_3LKoyS","LayoutFlex--medium-s--align-items-stretch":"_18CZ6Z","LayoutFlex--medium-s--align-items-baseline":"-nZAw3","LayoutFlex--medium-l--align-items-center":"AQDorR","LayoutFlex--medium-l--align-items-start":"_34BfZ_","LayoutFlex--medium-l--align-items-end":"_3iylCj","LayoutFlex--medium-l--align-items-stretch":"Z1VCoB","LayoutFlex--medium-l--align-items-baseline":"_3dtfdr","LayoutFlex--wide-s--align-items-center":"_1Ks9s5","LayoutFlex--wide-s--align-items-start":"_34ZJYW","LayoutFlex--wide-s--align-items-end":"_2pqScu","LayoutFlex--wide-s--align-items-stretch":"vkNyz8","LayoutFlex--wide-s--align-items-baseline":"_7Y7qo5","LayoutFlex--wide-l--align-items-center":"_1CEGxp","LayoutFlex--wide-l--align-items-start":"_2ZDTru","LayoutFlex--wide-l--align-items-end":"_1vx6fg","LayoutFlex--wide-l--align-items-stretch":"_25WgaN","LayoutFlex--wide-l--align-items-baseline":"_2oMAvk","LayoutGrid":"_1C0eq8","LayoutGrid--justify-content-center":"_25SpXB","LayoutGrid--justify-content-start":"_3GDeqz","LayoutGrid--justify-content-end":"_2-jaGe","LayoutGrid--justify-content-space-between":"_3lGct7","LayoutGrid--justify-content-space-around":"_2wHTdX","LayoutGrid--justify-content-space-evenly":"_1BVKaN","LayoutGrid--align-items-center":"_1nyAA2","LayoutGrid--align-items-start":"_1Xe-EI","LayoutGrid--align-items-end":"_3hQvqA","LayoutGrid--align-items-stretch":"KBSz7h","LayoutGrid--align-items-baseline":"KBW4yE"};
|
|
3
|
+
var css_248z = "._15uGWh{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0}._3rnoor{-ms-flex-wrap:nowrap;flex-wrap:nowrap}._1_IXQm{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.X4eHUe{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._3_M_4w,.X4eHUe{-webkit-box-orient:horizontal}._3_M_4w{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}._2ByMq1{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._2ByMq1,._3_8VIk{-webkit-box-orient:vertical}._3_8VIk{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.TeMu3z{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._2JjQiK,.TeMu3z{-webkit-box-orient:vertical}._2JjQiK{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._1o4EVj{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._1o4EVj,._24jMtt{-webkit-box-orient:horizontal}._24jMtt{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@media (min-width:400px){._1RG37V{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1RG37V,._3Rxyiw{-webkit-box-orient:vertical}._3Rxyiw{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._8jyTaM{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._1t_3rz,._8jyTaM{-webkit-box-orient:horizontal}._1t_3rz{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:700px){._1dYvLd{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1dYvLd,._3B2cts{-webkit-box-orient:vertical}._3B2cts{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._1V-ESa{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._1V-ESa,._2eL5Ug{-webkit-box-orient:horizontal}._2eL5Ug{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:880px){._1zHTP_{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1zHTP_,._3fBIHc{-webkit-box-orient:vertical}._3fBIHc{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._2r_ktS{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._2r_ktS,._3RGdxW{-webkit-box-orient:horizontal}._3RGdxW{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:1200px){._3_7sne{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._3_7sne,._3z0dTP{-webkit-box-orient:vertical}._3z0dTP{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.UEEKlY{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.hMRiH8,.UEEKlY{-webkit-box-orient:horizontal}.hMRiH8{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media (min-width:1900px){.lmSiRy{-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}._1XoMkw,.lmSiRy{-webkit-box-orient:vertical}._1XoMkw{-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}._19m9cA{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}._2gCQJe,._19m9cA{-webkit-box-orient:horizontal}._2gCQJe{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}._3Aw3T1{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._10X-3Q{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._33a0v9{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._3qMVGq{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._2REBgi{-ms-flex-pack:distribute;justify-content:space-around}._3zq1C_{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}@media (min-width:400px){._36Psqa{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._3-j-w1{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._1Lu-3E{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._2VnVRQ{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._1nH_hK{-ms-flex-pack:distribute;justify-content:space-around}._3-_n_C{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:700px){.Qf6Cla{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._6sxNQO{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ZxlLXH{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.Cn_Bv2{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._1i_Qo3{-ms-flex-pack:distribute;justify-content:space-around}._2C1XQX{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:880px){._3o7wjp{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._1gPYrw{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._22LB-D{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._3MnmNN{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._12WcM9{-ms-flex-pack:distribute;justify-content:space-around}._3Pz1zS{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:1200px){._3R_B9A{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._11KLzX{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._3YOo5Q{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.HT4Jrf{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._3NRNH8{-ms-flex-pack:distribute;justify-content:space-around}._32hfui{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:1900px){.FQ1F3D{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c6aMED{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}._3YO2K0{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}._32nrja{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._2O5f5W{-ms-flex-pack:distribute;justify-content:space-around}.LoonNj{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}.hUFwKI{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._1BOjPg{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3AQmNs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}._3orDH1{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.qh7on_{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width:400px){._1mmFAl{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._10ybPf{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3Gldvl{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.iA36V8{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._-6GZ3C{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:700px){.o5yv5p{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._3SIoEN{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3LKoyS{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}._18CZ6Z{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.-nZAw3{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:880px){.AQDorR{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._34BfZ_{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._3iylCj{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.Z1VCoB{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._3dtfdr{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:1200px){._1Ks9s5{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._34ZJYW{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._2pqScu{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.vkNyz8{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._7Y7qo5{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:1900px){._1CEGxp{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._2ZDTru{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}._1vx6fg{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}._25WgaN{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._2oMAvk{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}._1C0eq8{display:grid;margin:0;padding:0}._25SpXB{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._3GDeqz{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._2-jaGe{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._3lGct7{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._2wHTdX{-ms-flex-pack:distribute;justify-content:space-around}._1BVKaN{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}@media (min-width:400px){._1T-lc4{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._2J4CPL{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._2Aft_c{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.dBFosZ{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._1fCiiM{-ms-flex-pack:distribute;justify-content:space-around}.lbx7YH{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:700px){.xXHa2D{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._2tus7T{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._1X9yZg{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._2Qwy6e{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._2edC8M{-ms-flex-pack:distribute;justify-content:space-around}._3RU3b0{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:880px){._1arj0p{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._1jhiec{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._20XsA-{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._15WN3j{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._1gF4nW{-ms-flex-pack:distribute;justify-content:space-around}._11OeqJ{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:1200px){._2JgpbG{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._2enbh4{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._36NHrt{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._3FRFZs{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._1ZsRFi{-ms-flex-pack:distribute;justify-content:space-around}.u6FwNM{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width:1900px){._3LAaFJ{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.bwlCap{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.Cjj8pU{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._1tRRgp{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._12mrYT{-ms-flex-pack:distribute;justify-content:space-around}.OkauQs{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}._1nyAA2{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._1Xe-EI{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._3hQvqA{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.KBSz7h{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.KBW4yE{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width:400px){._3hQYZh{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._1yu-Lc{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.wMQW3S{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.pW3b5B{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._1prRSA{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:700px){._44IDPW{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._2AP6r_{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._1BBcE_{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._1Lv_lm{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._1fMkeb{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:880px){._3wNsry{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._1QG5jh{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._21PrAO{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._3zOGJn{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._1gnTEJ{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:1200px){.ePxzTG{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._2HJ29S{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._2hnsNI{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._2lCZwy{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._1juEXh{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width:1900px){.nEAyoT{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._2Edznx{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._2YoGID{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._3q0FuG{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._1eMDtF{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}";
|
|
4
|
+
var styles = {__id:"/home/jenkins/workspace/design-system_main/packages/web-core/src/layout/style/index.module.less",__css:css_248z,"LayoutFlex":"_15uGWh","LayoutFlex--nowrap":"_3rnoor","LayoutFlex--inline":"_1_IXQm","LayoutFlex--row-fwd":"X4eHUe","LayoutFlex--row-rev":"_3_M_4w","LayoutFlex--column-fwd":"_2ByMq1","LayoutFlex--column-rev":"_3_8VIk","LayoutFlex--direction-column":"TeMu3z","LayoutFlex--direction-column-reverse":"_2JjQiK","LayoutFlex--direction-row":"_1o4EVj","LayoutFlex--direction-row-reverse":"_24jMtt","LayoutFlex--narrow-l--direction-column":"_1RG37V","LayoutFlex--narrow-l--direction-column-reverse":"_3Rxyiw","LayoutFlex--narrow-l--direction-row":"_8jyTaM","LayoutFlex--narrow-l--direction-row-reverse":"_1t_3rz","LayoutFlex--medium-s--direction-column":"_1dYvLd","LayoutFlex--medium-s--direction-column-reverse":"_3B2cts","LayoutFlex--medium-s--direction-row":"_1V-ESa","LayoutFlex--medium-s--direction-row-reverse":"_2eL5Ug","LayoutFlex--medium-l--direction-column":"_1zHTP_","LayoutFlex--medium-l--direction-column-reverse":"_3fBIHc","LayoutFlex--medium-l--direction-row":"_2r_ktS","LayoutFlex--medium-l--direction-row-reverse":"_3RGdxW","LayoutFlex--wide-s--direction-column":"_3_7sne","LayoutFlex--wide-s--direction-column-reverse":"_3z0dTP","LayoutFlex--wide-s--direction-row":"UEEKlY","LayoutFlex--wide-s--direction-row-reverse":"hMRiH8","LayoutFlex--wide-l--direction-column":"lmSiRy","LayoutFlex--wide-l--direction-column-reverse":"_1XoMkw","LayoutFlex--wide-l--direction-row":"_19m9cA","LayoutFlex--wide-l--direction-row-reverse":"_2gCQJe","LayoutFlex--justify-content-center":"_3Aw3T1","LayoutFlex--justify-content-start":"_10X-3Q","LayoutFlex--justify-content-end":"_33a0v9","LayoutFlex--justify-content-space-between":"_3qMVGq","LayoutFlex--justify-content-space-around":"_2REBgi","LayoutFlex--justify-content-space-evenly":"_3zq1C_","LayoutFlex--narrow-l--justify-content-center":"_36Psqa","LayoutFlex--narrow-l--justify-content-start":"_3-j-w1","LayoutFlex--narrow-l--justify-content-end":"_1Lu-3E","LayoutFlex--narrow-l--justify-content-space-between":"_2VnVRQ","LayoutFlex--narrow-l--justify-content-space-around":"_1nH_hK","LayoutFlex--narrow-l--justify-content-space-evenly":"_3-_n_C","LayoutFlex--medium-s--justify-content-center":"Qf6Cla","LayoutFlex--medium-s--justify-content-start":"_6sxNQO","LayoutFlex--medium-s--justify-content-end":"ZxlLXH","LayoutFlex--medium-s--justify-content-space-between":"Cn_Bv2","LayoutFlex--medium-s--justify-content-space-around":"_1i_Qo3","LayoutFlex--medium-s--justify-content-space-evenly":"_2C1XQX","LayoutFlex--medium-l--justify-content-center":"_3o7wjp","LayoutFlex--medium-l--justify-content-start":"_1gPYrw","LayoutFlex--medium-l--justify-content-end":"_22LB-D","LayoutFlex--medium-l--justify-content-space-between":"_3MnmNN","LayoutFlex--medium-l--justify-content-space-around":"_12WcM9","LayoutFlex--medium-l--justify-content-space-evenly":"_3Pz1zS","LayoutFlex--wide-s--justify-content-center":"_3R_B9A","LayoutFlex--wide-s--justify-content-start":"_11KLzX","LayoutFlex--wide-s--justify-content-end":"_3YOo5Q","LayoutFlex--wide-s--justify-content-space-between":"HT4Jrf","LayoutFlex--wide-s--justify-content-space-around":"_3NRNH8","LayoutFlex--wide-s--justify-content-space-evenly":"_32hfui","LayoutFlex--wide-l--justify-content-center":"FQ1F3D","LayoutFlex--wide-l--justify-content-start":"c6aMED","LayoutFlex--wide-l--justify-content-end":"_3YO2K0","LayoutFlex--wide-l--justify-content-space-between":"_32nrja","LayoutFlex--wide-l--justify-content-space-around":"_2O5f5W","LayoutFlex--wide-l--justify-content-space-evenly":"LoonNj","LayoutFlex--align-items-center":"hUFwKI","LayoutFlex--align-items-start":"_1BOjPg","LayoutFlex--align-items-end":"_3AQmNs","LayoutFlex--align-items-stretch":"_3orDH1","LayoutFlex--align-items-baseline":"qh7on_","LayoutFlex--narrow-l--align-items-center":"_1mmFAl","LayoutFlex--narrow-l--align-items-start":"_10ybPf","LayoutFlex--narrow-l--align-items-end":"_3Gldvl","LayoutFlex--narrow-l--align-items-stretch":"iA36V8","LayoutFlex--narrow-l--align-items-baseline":"_-6GZ3C","LayoutFlex--medium-s--align-items-center":"o5yv5p","LayoutFlex--medium-s--align-items-start":"_3SIoEN","LayoutFlex--medium-s--align-items-end":"_3LKoyS","LayoutFlex--medium-s--align-items-stretch":"_18CZ6Z","LayoutFlex--medium-s--align-items-baseline":"-nZAw3","LayoutFlex--medium-l--align-items-center":"AQDorR","LayoutFlex--medium-l--align-items-start":"_34BfZ_","LayoutFlex--medium-l--align-items-end":"_3iylCj","LayoutFlex--medium-l--align-items-stretch":"Z1VCoB","LayoutFlex--medium-l--align-items-baseline":"_3dtfdr","LayoutFlex--wide-s--align-items-center":"_1Ks9s5","LayoutFlex--wide-s--align-items-start":"_34ZJYW","LayoutFlex--wide-s--align-items-end":"_2pqScu","LayoutFlex--wide-s--align-items-stretch":"vkNyz8","LayoutFlex--wide-s--align-items-baseline":"_7Y7qo5","LayoutFlex--wide-l--align-items-center":"_1CEGxp","LayoutFlex--wide-l--align-items-start":"_2ZDTru","LayoutFlex--wide-l--align-items-end":"_1vx6fg","LayoutFlex--wide-l--align-items-stretch":"_25WgaN","LayoutFlex--wide-l--align-items-baseline":"_2oMAvk","LayoutGrid":"_1C0eq8","LayoutGrid--justify-content-center":"_25SpXB","LayoutGrid--justify-content-start":"_3GDeqz","LayoutGrid--justify-content-end":"_2-jaGe","LayoutGrid--justify-content-space-between":"_3lGct7","LayoutGrid--justify-content-space-around":"_2wHTdX","LayoutGrid--justify-content-space-evenly":"_1BVKaN","LayoutGrid--narrow-l--justify-content-center":"_1T-lc4","LayoutGrid--narrow-l--justify-content-start":"_2J4CPL","LayoutGrid--narrow-l--justify-content-end":"_2Aft_c","LayoutGrid--narrow-l--justify-content-space-between":"dBFosZ","LayoutGrid--narrow-l--justify-content-space-around":"_1fCiiM","LayoutGrid--narrow-l--justify-content-space-evenly":"lbx7YH","LayoutGrid--medium-s--justify-content-center":"xXHa2D","LayoutGrid--medium-s--justify-content-start":"_2tus7T","LayoutGrid--medium-s--justify-content-end":"_1X9yZg","LayoutGrid--medium-s--justify-content-space-between":"_2Qwy6e","LayoutGrid--medium-s--justify-content-space-around":"_2edC8M","LayoutGrid--medium-s--justify-content-space-evenly":"_3RU3b0","LayoutGrid--medium-l--justify-content-center":"_1arj0p","LayoutGrid--medium-l--justify-content-start":"_1jhiec","LayoutGrid--medium-l--justify-content-end":"_20XsA-","LayoutGrid--medium-l--justify-content-space-between":"_15WN3j","LayoutGrid--medium-l--justify-content-space-around":"_1gF4nW","LayoutGrid--medium-l--justify-content-space-evenly":"_11OeqJ","LayoutGrid--wide-s--justify-content-center":"_2JgpbG","LayoutGrid--wide-s--justify-content-start":"_2enbh4","LayoutGrid--wide-s--justify-content-end":"_36NHrt","LayoutGrid--wide-s--justify-content-space-between":"_3FRFZs","LayoutGrid--wide-s--justify-content-space-around":"_1ZsRFi","LayoutGrid--wide-s--justify-content-space-evenly":"u6FwNM","LayoutGrid--wide-l--justify-content-center":"_3LAaFJ","LayoutGrid--wide-l--justify-content-start":"bwlCap","LayoutGrid--wide-l--justify-content-end":"Cjj8pU","LayoutGrid--wide-l--justify-content-space-between":"_1tRRgp","LayoutGrid--wide-l--justify-content-space-around":"_12mrYT","LayoutGrid--wide-l--justify-content-space-evenly":"OkauQs","LayoutGrid--align-items-center":"_1nyAA2","LayoutGrid--align-items-start":"_1Xe-EI","LayoutGrid--align-items-end":"_3hQvqA","LayoutGrid--align-items-stretch":"KBSz7h","LayoutGrid--align-items-baseline":"KBW4yE","LayoutGrid--narrow-l--align-items-center":"_3hQYZh","LayoutGrid--narrow-l--align-items-start":"_1yu-Lc","LayoutGrid--narrow-l--align-items-end":"wMQW3S","LayoutGrid--narrow-l--align-items-stretch":"pW3b5B","LayoutGrid--narrow-l--align-items-baseline":"_1prRSA","LayoutGrid--medium-s--align-items-center":"_44IDPW","LayoutGrid--medium-s--align-items-start":"_2AP6r_","LayoutGrid--medium-s--align-items-end":"_1BBcE_","LayoutGrid--medium-s--align-items-stretch":"_1Lv_lm","LayoutGrid--medium-s--align-items-baseline":"_1fMkeb","LayoutGrid--medium-l--align-items-center":"_3wNsry","LayoutGrid--medium-l--align-items-start":"_1QG5jh","LayoutGrid--medium-l--align-items-end":"_21PrAO","LayoutGrid--medium-l--align-items-stretch":"_3zOGJn","LayoutGrid--medium-l--align-items-baseline":"_1gnTEJ","LayoutGrid--wide-s--align-items-center":"ePxzTG","LayoutGrid--wide-s--align-items-start":"_2HJ29S","LayoutGrid--wide-s--align-items-end":"_2hnsNI","LayoutGrid--wide-s--align-items-stretch":"_2lCZwy","LayoutGrid--wide-s--align-items-baseline":"_1juEXh","LayoutGrid--wide-l--align-items-center":"nEAyoT","LayoutGrid--wide-l--align-items-start":"_2Edznx","LayoutGrid--wide-l--align-items-end":"_2YoGID","LayoutGrid--wide-l--align-items-stretch":"_3q0FuG","LayoutGrid--wide-l--align-items-baseline":"_1eMDtF"};
|
|
5
5
|
var stylesheet=css_248z;
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
package/dist/typography/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { useTextAccentClassnames } from './module-text-accent/hooks/useTextAccentClassnames.js';
|
|
2
2
|
export { useTextCenteredClassnames } from './module-text-centered/hooks/useTextCenteredClassnames.js';
|
|
3
|
-
|
|
3
|
+
export { useTextWeightClassNames } from './module-text-weight/hooks/useTextWeightClassNames.js';
|
|
4
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzsifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useTextWeightClassNames: (weight?: "400" | "500" | "700" | "normal" | "medium" | "bold" | undefined) => string[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useStyleExtract } from '../../../ssr/hooks/useStyleExtract.js';
|
|
2
|
+
import styles from '../style/index.module.less.js';
|
|
3
|
+
import { useInstrument } from '../../../instrument/hooks/useInstrument.js';
|
|
4
|
+
import { moduleLocals, stringClassNames } from '../../../css-module/classNames.js';
|
|
5
|
+
|
|
6
|
+
const TEXT_WEIGHT = 'TextWeight';
|
|
7
|
+
const useTextWeightClassNames = (weight) => {
|
|
8
|
+
useInstrument('render', {
|
|
9
|
+
component: '*',
|
|
10
|
+
props: { weight },
|
|
11
|
+
});
|
|
12
|
+
useStyleExtract(styles);
|
|
13
|
+
return moduleLocals(styles, TEXT_WEIGHT, [stringClassNames('weight', weight)]);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { useTextWeightClassNames };
|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ZWlnaHQpXSk7XG59O1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBT0EsTUFBTSxXQUFXLEdBQUcsWUFBWSxDQUFDO01BRXBCLHVCQUF1QixHQUFHLENBQUMsTUFBbUI7SUFDdkQsYUFBYSxDQUFDLFFBQVEsRUFBRTtRQUNwQixTQUFTLEVBQUUsR0FBRztRQUNkLEtBQUssRUFBRSxFQUFFLE1BQU0sRUFBRTtLQUNwQixDQUFDLENBQUM7SUFDSCxlQUFlLENBQUMsTUFBTSxDQUFDLENBQUM7SUFFeEIsT0FBTyxZQUFZLENBQUMsTUFBTSxFQUFFLFdBQVcsRUFBRSxDQUFDLGdCQUFnQixDQUFDLFFBQVEsRUFBRSxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDbkY7Ozs7In0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useTextWeightClassNames } from './hooks/useTextWeightClassNames';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import styleInject from '../../../external/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "._2cGAQj{font-weight:var(--73984)}._3tQfex{font-weight:var(--6e979)}._2KK6Fh{font-weight:var(--d5337)}.jkdJx7{font-weight:var(--5ea10)}._3rSGG-{font-weight:var(--2734e)}._1x86fa{font-weight:var(--80078)}";
|
|
4
|
+
var styles = {__id:"/home/jenkins/workspace/design-system_main/packages/web-core/src/typography/module-text-weight/style/index.module.less",__css:css_248z,"TextWeight--weight-400":"_2cGAQj","TextWeight--weight-500":"_3tQfex","TextWeight--weight-700":"_2KK6Fh","TextWeight--weight-normal":"jkdJx7","TextWeight--weight-medium":"_3rSGG-","TextWeight--weight-bold":"_1x86fa"};
|
|
5
|
+
var stylesheet=css_248z;
|
|
6
|
+
styleInject(css_248z);
|
|
7
|
+
|
|
8
|
+
export { styles as default, stylesheet };
|
|
9
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import '../../../generated/options.less';
|
|
2
|
+
@import '../../../generated/tokens.less';
|
|
3
|
+
@import '../../../theme/style/declarations.mixins.less';
|
|
4
|
+
|
|
5
|
+
.text-weights() {
|
|
6
|
+
each(@TEXT_WEIGHT_OPTIONS, {
|
|
7
|
+
&--weight-@{value} {
|
|
8
|
+
@token: 'weight-@{value}';
|
|
9
|
+
.font-weight('text', @token);
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from '../../../external/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "";
|
|
4
|
+
var stylesheet="";
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { css_248z as default, stylesheet };
|
|
8
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbbnVsbF0sInNvdXJjZXNDb250ZW50IjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdCQUF3Qix3REFBNEQ7QUFDcEY7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyJ9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preply/ds-web-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"dev": "run build:rollup -w"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@preply/ds-core": "0.
|
|
23
|
-
"@preply/ds-core-types": "0.
|
|
22
|
+
"@preply/ds-core": "0.39.0",
|
|
23
|
+
"@preply/ds-core-types": "0.39.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@preply/ds-core": "0.
|
|
27
|
-
"@preply/ds-core-types": "0.
|
|
26
|
+
"@preply/ds-core": "0.39.0",
|
|
27
|
+
"@preply/ds-core-types": "0.39.0",
|
|
28
28
|
"react": "^16.8.3",
|
|
29
29
|
"react-dom": "^16.8.3"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "7b27439c5b6016d423474f8394cbb76e2cc17169"
|
|
32
32
|
}
|