@lumx/core 3.1.0 → 3.1.2
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/CONTRIBUTING.md → CONTRIBUTING.md} +0 -0
- package/{dist/LICENSE.md → LICENSE.md} +0 -0
- package/{dist/css → css}/_retro-compat-v2.css +0 -0
- package/{dist/css → css}/design-tokens.css +0 -0
- package/{dist/css → css}/material.css +0 -0
- package/{dist/js → js}/constants/design-tokens.js +0 -0
- package/{dist/js → js}/constants/design-tokens.min.js +0 -0
- package/{dist/js → js}/constants/design-tokens.min.js.map +0 -0
- package/{dist/js → js}/constants/design-tokens.ts +0 -0
- package/{dist/js → js}/constants/index.js +0 -0
- package/{dist/js → js}/constants/index.min.js +0 -0
- package/{dist/js → js}/constants/index.min.js.map +0 -0
- package/{dist/js → js}/constants/index.ts +0 -0
- package/{dist/js → js}/constants/keycodes.js +0 -0
- package/{dist/js → js}/constants/keycodes.min.js +0 -0
- package/{dist/js → js}/constants/keycodes.min.js.map +0 -0
- package/{dist/js → js}/constants/keycodes.ts +0 -0
- package/{dist/js → js}/custom-colors.js +0 -0
- package/{dist/js → js}/custom-colors.min.js +0 -0
- package/js/custom-colors.min.js.map +1 -0
- package/{dist/js → js}/custom-colors.ts +0 -0
- package/{dist/js → js}/date-picker.js +0 -0
- package/{dist/js → js}/date-picker.min.js +0 -0
- package/js/date-picker.min.js.map +1 -0
- package/{dist/js → js}/date-picker.ts +0 -0
- package/{dist/js → js}/utils.js +0 -0
- package/{dist/js → js}/utils.min.js +0 -0
- package/js/utils.min.js.map +1 -0
- package/{dist/js → js}/utils.ts +0 -0
- package/{dist/lumx.css → lumx.css} +1 -1
- package/{dist/lumx.min.css → lumx.min.css} +1 -1
- package/package.json +1 -1
- package/{dist/scss → scss}/_components.scss +0 -0
- package/{dist/scss → scss}/_core.scss +0 -0
- package/{dist/scss → scss}/_design-tokens.scss +0 -0
- package/{dist/scss → scss}/_retro-compat-v2.scss +0 -0
- package/{dist/scss → scss}/components/avatar/_index.scss +0 -0
- package/{dist/scss → scss}/components/badge/_index.scss +0 -0
- package/{dist/scss → scss}/components/button/_index.scss +0 -0
- package/{dist/scss → scss}/components/button/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/button/_variables.scss +0 -0
- package/{dist/scss → scss}/components/checkbox/_index.scss +0 -0
- package/{dist/scss → scss}/components/checkbox/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/chip/_index.scss +0 -0
- package/{dist/scss → scss}/components/chip/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/chip/_variables.scss +0 -0
- package/{dist/scss → scss}/components/comment-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/date-picker/_index.scss +0 -0
- package/{dist/scss → scss}/components/dialog/_index.scss +0 -0
- package/{dist/scss → scss}/components/dialog/_variables.scss +0 -0
- package/{dist/scss → scss}/components/divider/_index.scss +0 -0
- package/{dist/scss → scss}/components/divider/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/divider/_variables.scss +0 -0
- package/{dist/scss → scss}/components/drag-handle/_index.scss +0 -0
- package/{dist/scss → scss}/components/dropdown/_index.scss +0 -0
- package/{dist/scss → scss}/components/expansion-panel/_index.scss +0 -0
- package/{dist/scss → scss}/components/expansion-panel/_variables.scss +0 -0
- package/{dist/scss → scss}/components/flag/_index.scss +0 -0
- package/{dist/scss → scss}/components/flex-box/_index.scss +0 -0
- package/{dist/scss → scss}/components/generic-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/grid/_index.scss +0 -0
- package/{dist/scss → scss}/components/grid-column/_index.scss +0 -0
- package/{dist/scss → scss}/components/icon/_index.scss +0 -0
- package/{dist/scss → scss}/components/icon/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/icon/_variables.scss +0 -0
- package/{dist/scss → scss}/components/image-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/inline-list/_index.scss +0 -0
- package/{dist/scss → scss}/components/input-helper/_index.scss +0 -0
- package/{dist/scss → scss}/components/input-helper/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/input-helper/_variables.scss +0 -0
- package/{dist/scss → scss}/components/input-label/_index.scss +0 -0
- package/{dist/scss → scss}/components/input-label/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/lightbox/_index.scss +0 -0
- package/{dist/scss → scss}/components/lightbox/_variables.scss +0 -0
- package/{dist/scss → scss}/components/link/_index.scss +0 -0
- package/{dist/scss → scss}/components/link/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/link-preview/_index.scss +0 -0
- package/{dist/scss → scss}/components/list/_index.scss +0 -0
- package/{dist/scss → scss}/components/list/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/list/_variables.scss +0 -0
- package/{dist/scss → scss}/components/message/_index.scss +0 -0
- package/{dist/scss → scss}/components/mosaic/_index.scss +0 -0
- package/{dist/scss → scss}/components/notification/_index.scss +0 -0
- package/{dist/scss → scss}/components/notification/_variables.scss +0 -0
- package/{dist/scss → scss}/components/notification-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/popover/_index.scss +0 -0
- package/{dist/scss → scss}/components/popover/_variables.scss +0 -0
- package/{dist/scss → scss}/components/post-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/progress/_index.scss +0 -0
- package/{dist/scss → scss}/components/progress/_variables.scss +0 -0
- package/{dist/scss → scss}/components/progress-tracker/_index.scss +0 -0
- package/{dist/scss → scss}/components/progress-tracker/_variables.scss +0 -0
- package/{dist/scss → scss}/components/radio-button/_index.scss +0 -0
- package/{dist/scss → scss}/components/radio-button/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/select/_index.scss +0 -0
- package/{dist/scss → scss}/components/select/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/side-navigation/_index.scss +0 -0
- package/{dist/scss → scss}/components/side-navigation/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/skeleton/_index.scss +0 -0
- package/{dist/scss → scss}/components/skeleton/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/slider/_index.scss +0 -0
- package/{dist/scss → scss}/components/slideshow/_index.scss +0 -0
- package/{dist/scss → scss}/components/slideshow/_variables.scss +0 -0
- package/{dist/scss → scss}/components/switch/_index.scss +0 -0
- package/{dist/scss → scss}/components/switch/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/table/_index.scss +0 -0
- package/{dist/scss → scss}/components/table/_mixins.scss +0 -0
- package/{src/scss → scss}/components/tabs/_index.scss +5 -1
- package/{dist/scss → scss}/components/tabs/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/text/_index.scss +0 -0
- package/{dist/scss → scss}/components/text-field/_index.scss +0 -0
- package/{dist/scss → scss}/components/text-field/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/text-field/_variables.scss +0 -0
- package/{dist/scss → scss}/components/thumbnail/_index.scss +0 -0
- package/{dist/scss → scss}/components/thumbnail/_variables.scss +0 -0
- package/{dist/scss → scss}/components/toolbar/_index.scss +0 -0
- package/{dist/scss → scss}/components/toolbar/_variables.scss +0 -0
- package/{dist/scss → scss}/components/tooltip/_index.scss +0 -0
- package/{dist/scss → scss}/components/tooltip/_variables.scss +0 -0
- package/{dist/scss → scss}/components/uploader/_index.scss +0 -0
- package/{dist/scss → scss}/components/user-block/_index.scss +0 -0
- package/{dist/scss → scss}/core/base/_functions.scss +0 -0
- package/{dist/scss → scss}/core/base/_helpers.scss +0 -0
- package/{dist/scss → scss}/core/base/_index.scss +0 -0
- package/{dist/scss → scss}/core/base/_normalize.scss +0 -0
- package/{dist/scss → scss}/core/base/_variables.scss +0 -0
- package/{dist/scss → scss}/core/color/_functions.scss +0 -0
- package/{dist/scss → scss}/core/color/_index.scss +0 -0
- package/{dist/scss → scss}/core/color/_variables.scss +0 -0
- package/{dist/scss → scss}/core/elevation/_mixins.scss +0 -0
- package/{dist/scss → scss}/core/elevation/_variables.scss +0 -0
- package/{dist/scss → scss}/core/size/_variables.scss +0 -0
- package/{dist/scss → scss}/core/spacing/_index.scss +0 -0
- package/{dist/scss → scss}/core/spacing/_variables.scss +0 -0
- package/{dist/scss → scss}/core/state/_mixins.scss +0 -0
- package/{dist/scss → scss}/core/state/_variables.scss +0 -0
- package/{dist/scss → scss}/core/typography/_index.scss +0 -0
- package/{dist/scss → scss}/core/typography/_mixins.scss +0 -0
- package/{dist/scss → scss}/core/typography/_variables.scss +0 -0
- package/{dist/scss → scss}/lumx.scss +0 -0
- package/dist/js/custom-colors.min.js.map +0 -1
- package/dist/js/date-picker.min.js.map +0 -1
- package/dist/js/utils.min.js.map +0 -1
- package/dist/package.json +0 -81
- package/dist/scss/components/tabs/_index.scss +0 -111
- package/src/css/_retro-compat-v2.css +0 -117
- package/src/css/design-tokens.css +0 -544
- package/src/css/material.css +0 -62
- package/src/js/constants/design-tokens.ts +0 -2157
- package/src/js/constants/index.ts +0 -35
- package/src/js/constants/keycodes.ts +0 -44
- package/src/js/custom-colors.ts +0 -56
- package/src/js/date-picker.ts +0 -71
- package/src/js/utils.ts +0 -296
- package/src/scss/_components.scss +0 -35
- package/src/scss/_core.scss +0 -12
- package/src/scss/_design-tokens.scss +0 -1667
- package/src/scss/_retro-compat-v2.scss +0 -95
- package/src/scss/components/avatar/_index.scss +0 -42
- package/src/scss/components/badge/_index.scss +0 -47
- package/src/scss/components/button/_index.scss +0 -166
- package/src/scss/components/button/_mixins.scss +0 -271
- package/src/scss/components/button/_variables.scss +0 -6
- package/src/scss/components/checkbox/_index.scss +0 -231
- package/src/scss/components/checkbox/_mixins.scss +0 -69
- package/src/scss/components/chip/_index.scss +0 -156
- package/src/scss/components/chip/_mixins.scss +0 -37
- package/src/scss/components/chip/_variables.scss +0 -1
- package/src/scss/components/comment-block/_index.scss +0 -170
- package/src/scss/components/date-picker/_index.scss +0 -67
- package/src/scss/components/dialog/_index.scss +0 -169
- package/src/scss/components/dialog/_variables.scss +0 -8
- package/src/scss/components/divider/_index.scss +0 -39
- package/src/scss/components/divider/_mixins.scss +0 -60
- package/src/scss/components/divider/_variables.scss +0 -7
- package/src/scss/components/drag-handle/_index.scss +0 -7
- package/src/scss/components/dropdown/_index.scss +0 -22
- package/src/scss/components/expansion-panel/_index.scss +0 -80
- package/src/scss/components/expansion-panel/_variables.scss +0 -2
- package/src/scss/components/flag/_index.scss +0 -41
- package/src/scss/components/flex-box/_index.scss +0 -132
- package/src/scss/components/generic-block/_index.scss +0 -11
- package/src/scss/components/grid/_index.scss +0 -147
- package/src/scss/components/grid-column/_index.scss +0 -18
- package/src/scss/components/icon/_index.scss +0 -106
- package/src/scss/components/icon/_mixins.scss +0 -42
- package/src/scss/components/icon/_variables.scss +0 -6
- package/src/scss/components/image-block/_index.scss +0 -108
- package/src/scss/components/inline-list/_index.scss +0 -15
- package/src/scss/components/input-helper/_index.scss +0 -27
- package/src/scss/components/input-helper/_mixins.scss +0 -12
- package/src/scss/components/input-helper/_variables.scss +0 -1
- package/src/scss/components/input-label/_index.scss +0 -23
- package/src/scss/components/input-label/_mixins.scss +0 -12
- package/src/scss/components/lightbox/_index.scss +0 -59
- package/src/scss/components/lightbox/_variables.scss +0 -1
- package/src/scss/components/link/_index.scss +0 -35
- package/src/scss/components/link/_mixins.scss +0 -25
- package/src/scss/components/link-preview/_index.scss +0 -95
- package/src/scss/components/list/_index.scss +0 -96
- package/src/scss/components/list/_mixins.scss +0 -128
- package/src/scss/components/list/_variables.scss +0 -7
- package/src/scss/components/message/_index.scss +0 -36
- package/src/scss/components/mosaic/_index.scss +0 -120
- package/src/scss/components/notification/_index.scss +0 -78
- package/src/scss/components/notification/_variables.scss +0 -3
- package/src/scss/components/notification-block/_index.scss +0 -42
- package/src/scss/components/popover/_index.scss +0 -64
- package/src/scss/components/popover/_variables.scss +0 -1
- package/src/scss/components/post-block/_index.scss +0 -101
- package/src/scss/components/progress/_index.scss +0 -190
- package/src/scss/components/progress/_variables.scss +0 -12
- package/src/scss/components/progress-tracker/_index.scss +0 -131
- package/src/scss/components/progress-tracker/_variables.scss +0 -2
- package/src/scss/components/radio-button/_index.scss +0 -180
- package/src/scss/components/radio-button/_mixins.scss +0 -82
- package/src/scss/components/select/_index.scss +0 -295
- package/src/scss/components/select/_mixins.scss +0 -36
- package/src/scss/components/side-navigation/_index.scss +0 -69
- package/src/scss/components/side-navigation/_mixins.scss +0 -61
- package/src/scss/components/skeleton/_index.scss +0 -143
- package/src/scss/components/skeleton/_mixins.scss +0 -9
- package/src/scss/components/slider/_index.scss +0 -209
- package/src/scss/components/slideshow/_index.scss +0 -171
- package/src/scss/components/slideshow/_variables.scss +0 -1
- package/src/scss/components/switch/_index.scss +0 -257
- package/src/scss/components/switch/_mixins.scss +0 -77
- package/src/scss/components/table/_index.scss +0 -138
- package/src/scss/components/table/_mixins.scss +0 -115
- package/src/scss/components/tabs/_mixins.scss +0 -104
- package/src/scss/components/text/_index.scss +0 -29
- package/src/scss/components/text-field/_index.scss +0 -323
- package/src/scss/components/text-field/_mixins.scss +0 -149
- package/src/scss/components/text-field/_variables.scss +0 -2
- package/src/scss/components/thumbnail/_index.scss +0 -227
- package/src/scss/components/thumbnail/_variables.scss +0 -6
- package/src/scss/components/toolbar/_index.scss +0 -38
- package/src/scss/components/toolbar/_variables.scss +0 -1
- package/src/scss/components/tooltip/_index.scss +0 -91
- package/src/scss/components/tooltip/_variables.scss +0 -4
- package/src/scss/components/uploader/_index.scss +0 -115
- package/src/scss/components/user-block/_index.scss +0 -106
- package/src/scss/core/base/_functions.scss +0 -3
- package/src/scss/core/base/_helpers.scss +0 -21
- package/src/scss/core/base/_index.scss +0 -54
- package/src/scss/core/base/_normalize.scss +0 -353
- package/src/scss/core/base/_variables.scss +0 -39
- package/src/scss/core/color/_functions.scss +0 -7
- package/src/scss/core/color/_index.scss +0 -15
- package/src/scss/core/color/_variables.scss +0 -4
- package/src/scss/core/elevation/_mixins.scss +0 -10
- package/src/scss/core/elevation/_variables.scss +0 -7
- package/src/scss/core/size/_variables.scss +0 -3
- package/src/scss/core/spacing/_index.scss +0 -15
- package/src/scss/core/spacing/_variables.scss +0 -22
- package/src/scss/core/state/_mixins.scss +0 -127
- package/src/scss/core/state/_variables.scss +0 -1
- package/src/scss/core/typography/_index.scss +0 -16
- package/src/scss/core/typography/_mixins.scss +0 -25
- package/src/scss/core/typography/_variables.scss +0 -6
- package/src/scss/lumx.scss +0 -69
- package/style-dictionary/.eslintignore +0 -1
- package/style-dictionary/README.md +0 -19
- package/style-dictionary/config/_run.js +0 -12
- package/style-dictionary/config/_transform-group.js +0 -16
- package/style-dictionary/config/gen-css-variables.js +0 -25
- package/style-dictionary/config/gen-scss-variables.js +0 -65
- package/style-dictionary/config/gen-ts-variables.js +0 -52
- package/style-dictionary/config/utils/_color-attributes.js +0 -24
- package/style-dictionary/config/utils/_color-rgba-value.js +0 -22
- package/style-dictionary/config/utils/_css-prefer-variable.js +0 -24
- package/style-dictionary/config/utils/_genHeader.js +0 -3
- package/style-dictionary/config/utils/_lumx-variables.js +0 -12
- package/style-dictionary/config/utils/_pickFieldsInTree.js +0 -22
- package/style-dictionary/config/utils/_prettier-scss.js +0 -13
- package/style-dictionary/config/utils/_prettier-ts.js +0 -13
- package/style-dictionary/config/utils/_resolve-structure-alias.js +0 -76
- package/style-dictionary/index.js +0 -11
- package/style-dictionary/properties/components/button.json +0 -206
- package/style-dictionary/properties/components/material.json +0 -64
- package/style-dictionary/properties/components/navigation.json +0 -207
- package/style-dictionary/properties/components/tabs.json +0 -168
- package/style-dictionary/properties/components/text-field.json +0 -167
- package/style-dictionary/properties/core/border-radius.json +0 -3
- package/style-dictionary/properties/core/color.json +0 -421
- package/style-dictionary/properties/core/size.json +0 -11
- package/style-dictionary/properties/core/spacing.json +0 -11
- package/style-dictionary/properties/core/typography.json +0 -127
- package/tsconfig.json +0 -3
- package/webpack.config.js +0 -202
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Toolbar
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
.#{$lumx-base-prefix}-toolbar {
|
|
6
|
-
$self: &;
|
|
7
|
-
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
height: $lumx-toolbar-height;
|
|
11
|
-
padding: 0 $lumx-spacing-unit * 3;
|
|
12
|
-
|
|
13
|
-
&--has-before {
|
|
14
|
-
padding-left: $lumx-spacing-unit * 2;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&--has-after {
|
|
18
|
-
padding-right: $lumx-spacing-unit * 2;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&__before {
|
|
22
|
-
flex-shrink: 0;
|
|
23
|
-
margin-right: $lumx-spacing-unit * 2;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__label {
|
|
27
|
-
flex: 1 1 auto;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__after {
|
|
31
|
-
flex-shrink: 0;
|
|
32
|
-
margin-left: auto;
|
|
33
|
-
|
|
34
|
-
#{$self}--has-label & {
|
|
35
|
-
margin-left: $lumx-spacing-unit * 2;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
$lumx-toolbar-height: 68px;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:math";
|
|
3
|
-
|
|
4
|
-
/* ==========================================================================
|
|
5
|
-
Tooltip
|
|
6
|
-
========================================================================== */
|
|
7
|
-
|
|
8
|
-
.#{$lumx-base-prefix}-tooltip {
|
|
9
|
-
$self: &;
|
|
10
|
-
|
|
11
|
-
position: absolute;
|
|
12
|
-
top: 0;
|
|
13
|
-
left: 0;
|
|
14
|
-
z-index: map.get($lumx-base-layers, "higher");
|
|
15
|
-
padding: math.div($lumx-spacing-unit, 2);
|
|
16
|
-
background-color: lumx-color-variant("dark", "N");
|
|
17
|
-
border-radius: var(--lumx-border-radius);
|
|
18
|
-
will-change: transform;
|
|
19
|
-
|
|
20
|
-
&__arrow {
|
|
21
|
-
position: absolute;
|
|
22
|
-
width: 0;
|
|
23
|
-
height: 0;
|
|
24
|
-
margin: $lumx-tooltip-arrow-size;
|
|
25
|
-
border-color: lumx-color-variant("dark", "N");
|
|
26
|
-
border-style: solid;
|
|
27
|
-
|
|
28
|
-
#{$self}--position-top & {
|
|
29
|
-
bottom: -$lumx-tooltip-arrow-size;
|
|
30
|
-
left: 50%;
|
|
31
|
-
margin-top: 0;
|
|
32
|
-
margin-bottom: 0;
|
|
33
|
-
margin-left: -$lumx-tooltip-arrow-size;
|
|
34
|
-
border-width: $lumx-tooltip-arrow-size $lumx-tooltip-arrow-size 0 $lumx-tooltip-arrow-size;
|
|
35
|
-
border-right-color: transparent;
|
|
36
|
-
border-bottom-color: transparent;
|
|
37
|
-
border-left-color: transparent;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
#{$self}--position-bottom & {
|
|
41
|
-
top: -$lumx-tooltip-arrow-size;
|
|
42
|
-
left: 50%;
|
|
43
|
-
margin-top: 0;
|
|
44
|
-
margin-bottom: 0;
|
|
45
|
-
margin-left: -$lumx-tooltip-arrow-size;
|
|
46
|
-
border-width: 0 $lumx-tooltip-arrow-size $lumx-tooltip-arrow-size $lumx-tooltip-arrow-size;
|
|
47
|
-
border-top-color: transparent;
|
|
48
|
-
border-right-color: transparent;
|
|
49
|
-
border-left-color: transparent;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
#{$self}--position-left & {
|
|
53
|
-
top: 50%;
|
|
54
|
-
right: -$lumx-tooltip-arrow-size;
|
|
55
|
-
margin-top: -$lumx-tooltip-arrow-size;
|
|
56
|
-
margin-right: 0;
|
|
57
|
-
margin-left: 0;
|
|
58
|
-
border-width: $lumx-tooltip-arrow-size 0 $lumx-tooltip-arrow-size $lumx-tooltip-arrow-size;
|
|
59
|
-
border-top-color: transparent;
|
|
60
|
-
border-right-color: transparent;
|
|
61
|
-
border-bottom-color: transparent;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
#{$self}--position-right & {
|
|
65
|
-
top: 50%;
|
|
66
|
-
left: -$lumx-tooltip-arrow-size;
|
|
67
|
-
margin-top: -$lumx-tooltip-arrow-size;
|
|
68
|
-
margin-right: 0;
|
|
69
|
-
margin-left: 0;
|
|
70
|
-
border-width: $lumx-tooltip-arrow-size $lumx-tooltip-arrow-size $lumx-tooltip-arrow-size 0;
|
|
71
|
-
border-top-color: transparent;
|
|
72
|
-
border-bottom-color: transparent;
|
|
73
|
-
border-left-color: transparent;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&__inner {
|
|
78
|
-
display: block;
|
|
79
|
-
font-size: $lumx-tooltip-font-size;
|
|
80
|
-
line-height: $lumx-tooltip-line-height;
|
|
81
|
-
color: $lumx-tooltip-color;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.#{$lumx-base-prefix}-tooltip-anchor-wrapper {
|
|
86
|
-
width: fit-content;
|
|
87
|
-
|
|
88
|
-
// Prevent text selection on mobile device that would hinder long press.
|
|
89
|
-
-webkit-touch-callout: none;
|
|
90
|
-
user-select: none;
|
|
91
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Uploader
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
.#{$lumx-base-prefix}-uploader {
|
|
6
|
-
$self: &;
|
|
7
|
-
|
|
8
|
-
@include lumx-state-transition;
|
|
9
|
-
|
|
10
|
-
position: relative;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
outline: none;
|
|
13
|
-
|
|
14
|
-
&--theme-light {
|
|
15
|
-
@include lumx-state(lumx-base-const("state", "DEFAULT"), lumx-base-const("emphasis", "MEDIUM"), "dark");
|
|
16
|
-
|
|
17
|
-
&:hover {
|
|
18
|
-
@include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "MEDIUM"), "dark");
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:active {
|
|
22
|
-
@include lumx-state(lumx-base-const("state", "ACTIVE"), lumx-base-const("emphasis", "MEDIUM"), "dark");
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&[data-focus-visible-added] {
|
|
26
|
-
@include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "MEDIUM"), "dark");
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&--theme-dark {
|
|
31
|
-
@include lumx-state(lumx-base-const("state", "DEFAULT"), lumx-base-const("emphasis", "MEDIUM"), "light");
|
|
32
|
-
|
|
33
|
-
&:hover {
|
|
34
|
-
@include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "MEDIUM"), "light");
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:active {
|
|
38
|
-
@include lumx-state(lumx-base-const("state", "ACTIVE"), lumx-base-const("emphasis", "MEDIUM"), "light");
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&[data-focus-visible-added] {
|
|
42
|
-
@include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "MEDIUM"), "light");
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&--variant-square {
|
|
47
|
-
border-radius: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&--variant-rounded {
|
|
51
|
-
border-radius: var(--lumx-border-radius);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&--variant-circle {
|
|
55
|
-
border-radius: 50%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&__wrapper {
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
right: 0;
|
|
62
|
-
bottom: 0;
|
|
63
|
-
left: 0;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
padding: 0 $lumx-spacing-unit * 2;
|
|
69
|
-
user-select: none;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&__icon {
|
|
73
|
-
margin-bottom: $lumx-spacing-unit;
|
|
74
|
-
|
|
75
|
-
#{$self}--theme-light & {
|
|
76
|
-
color: lumx-color-variant("dark", "L1");
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
#{$self}--theme-dark & {
|
|
80
|
-
color: lumx-color-variant("light", "N");
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&__label {
|
|
85
|
-
@include lumx-typography("subtitle1");
|
|
86
|
-
|
|
87
|
-
text-align: center;
|
|
88
|
-
|
|
89
|
-
#{$self}--theme-light & {
|
|
90
|
-
color: lumx-color-variant("dark", "L1");
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
#{$self}--theme-dark & {
|
|
94
|
-
color: lumx-color-variant("light", "N");
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* Uploader sizes
|
|
100
|
-
========================================================================== */
|
|
101
|
-
|
|
102
|
-
@each $key, $size in $lumx-sizes {
|
|
103
|
-
.#{$lumx-base-prefix}-uploader--size-#{$key} {
|
|
104
|
-
width: $size;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* Uploader aspect ratio
|
|
109
|
-
========================================================================== */
|
|
110
|
-
|
|
111
|
-
@each $key, $aspect-ratio in $lumx-thumbnail-aspect-ratio {
|
|
112
|
-
.#{$lumx-base-prefix}-uploader--aspect-ratio-#{$key} .#{$lumx-base-prefix}-uploader__background {
|
|
113
|
-
padding-top: $aspect-ratio;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
/* ==========================================================================
|
|
4
|
-
User block
|
|
5
|
-
========================================================================== */
|
|
6
|
-
|
|
7
|
-
.#{$lumx-base-prefix}-user-block {
|
|
8
|
-
$self: &;
|
|
9
|
-
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
|
|
13
|
-
&--orientation-vertical {
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&__avatar {
|
|
18
|
-
#{$self}--orientation-horizontal#{$self}--size-s & {
|
|
19
|
-
margin-right: $lumx-spacing-unit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
#{$self}--orientation-horizontal#{$self}--size-m &,
|
|
23
|
-
#{$self}--orientation-horizontal#{$self}--size-l & {
|
|
24
|
-
margin-right: $lumx-spacing-unit * 2;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
#{$self}--orientation-vertical & {
|
|
28
|
-
margin-bottom: $lumx-spacing-unit * 1.5;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__wrapper {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
|
|
36
|
-
#{$self}--orientation-vertical & {
|
|
37
|
-
align-items: center;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&__name {
|
|
42
|
-
width: fit-content;
|
|
43
|
-
outline: none;
|
|
44
|
-
|
|
45
|
-
@include lumx-typography("subtitle1");
|
|
46
|
-
|
|
47
|
-
#{$self}--orientation-vertical & {
|
|
48
|
-
text-align: center;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
#{$self}--theme-dark & {
|
|
52
|
-
color: lumx-color-variant("light", "N");
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&__fields {
|
|
57
|
-
#{$self}--size-s & {
|
|
58
|
-
display: none;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
#{$self}--size-m & {
|
|
62
|
-
display: flex;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
#{$self}--size-l & {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
#{$self}--orientation-vertical & {
|
|
71
|
-
align-items: center;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&__field {
|
|
76
|
-
@include lumx-typography("body1");
|
|
77
|
-
|
|
78
|
-
#{$self}--size-m & {
|
|
79
|
-
&::after {
|
|
80
|
-
margin: 0 math.div($lumx-spacing-unit, 2);
|
|
81
|
-
content: "•";
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:last-child::after {
|
|
85
|
-
display: none;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
#{$self}--orientation-vertical & {
|
|
90
|
-
text-align: center;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
#{$self}--theme-light & {
|
|
94
|
-
color: lumx-color-variant("dark", "L2");
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
#{$self}--theme-dark & {
|
|
98
|
-
color: lumx-color-variant("light", "L2");
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&__action,
|
|
103
|
-
&__actions {
|
|
104
|
-
margin-top: $lumx-spacing-unit * 2;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/* Align
|
|
2
|
-
========================================================================== */
|
|
3
|
-
|
|
4
|
-
.#{$lumx-base-prefix}-base-text-left {
|
|
5
|
-
text-align: left;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.#{$lumx-base-prefix}-base-text-right {
|
|
9
|
-
text-align: right;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.#{$lumx-base-prefix}-base-text-center {
|
|
13
|
-
text-align: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* Display
|
|
17
|
-
========================================================================== */
|
|
18
|
-
|
|
19
|
-
.#{$lumx-base-prefix}-base-display-block {
|
|
20
|
-
display: block;
|
|
21
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
/* ==========================================================================
|
|
4
|
-
Base
|
|
5
|
-
========================================================================== */
|
|
6
|
-
|
|
7
|
-
html {
|
|
8
|
-
@include lumx-typography-base;
|
|
9
|
-
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
font-size: math.div($lumx-typography-default-font-size, 16px) * 1em;
|
|
12
|
-
line-height: math.div($lumx-typography-default-line-height, $lumx-typography-default-font-size);
|
|
13
|
-
color: lumx-color-variant("dark", "N");
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
*,
|
|
17
|
-
*::before,
|
|
18
|
-
*::after {
|
|
19
|
-
box-sizing: inherit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
body,
|
|
23
|
-
h1,
|
|
24
|
-
h2,
|
|
25
|
-
h3,
|
|
26
|
-
h4,
|
|
27
|
-
h5,
|
|
28
|
-
h6,
|
|
29
|
-
blockquote,
|
|
30
|
-
p,
|
|
31
|
-
pre,
|
|
32
|
-
dl,
|
|
33
|
-
dd,
|
|
34
|
-
ol,
|
|
35
|
-
ul,
|
|
36
|
-
figure,
|
|
37
|
-
hr,
|
|
38
|
-
fieldset,
|
|
39
|
-
legend {
|
|
40
|
-
padding: 0;
|
|
41
|
-
margin: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
li > {
|
|
45
|
-
ol,
|
|
46
|
-
ul {
|
|
47
|
-
margin-bottom: 0;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
table {
|
|
52
|
-
border-spacing: 0;
|
|
53
|
-
border-collapse: collapse;
|
|
54
|
-
}
|