@epam/uui 4.9.2 → 4.10.0-rc.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/assets/styles/buttonLayout.scss +66 -66
- package/assets/styles/controlLayout.scss +11 -11
- package/assets/styles/effects.scss +8 -8
- package/assets/styles/font-faces.scss +51 -51
- package/assets/styles/fonts-variables.scss +24 -24
- package/assets/styles/icons.scss +18 -18
- package/assets/styles/index.scss +7 -7
- package/assets/styles/inputs.scss +69 -69
- package/assets/styles/layout-mixins.scss +8 -8
- package/assets/styles/prettifyScrollBar.scss +44 -44
- package/assets/styles/text-layout.scss +80 -80
- package/assets/styles/text-size.scss +37 -37
- package/assets/styles/typography.scss +3 -3
- package/assets/styles/variables/buttons/button.scss +70 -70
- package/assets/styles/variables/buttons/iconButton.scss +41 -41
- package/assets/styles/variables/buttons/linkButton.scss +6 -6
- package/assets/styles/variables/buttons/tabButton.scss +8 -8
- package/assets/styles/variables/inputs/checkbox.scss +18 -18
- package/assets/styles/variables/inputs/radioInput.scss +14 -14
- package/assets/styles/variables/inputs/switch.scss +24 -24
- package/assets/styles/variables/inputs/textInput.scss +21 -21
- package/assets/styles/variables/layout/accordion.scss +10 -10
- package/assets/styles/variables/layout/iconContainer.scss +22 -22
- package/assets/styles/variables/layout/labeledInput.scss +8 -8
- package/assets/styles/variables/layout/panel.scss +5 -5
- package/assets/styles/variables/layout/scrollBars.scss +3 -3
- package/assets/styles/variables/overlays/dropdownContainer.scss +4 -4
- package/assets/styles/variables/overlays/modals.scss +5 -5
- package/assets/styles/variables/overlays/notificationCard.scss +27 -27
- package/assets/styles/variables/overlays/tooltip.scss +8 -8
- package/assets/styles/variables/pickers/pickerToggler.scss +15 -15
- package/assets/styles/variables/typography/text.scss +19 -19
- package/assets/styles/variables/typography/textPlaceholder.scss +4 -4
- package/assets/styles/variables/widgets/badge.scss +50 -50
- package/assets/styles/variables/widgets/tag.scss +9 -9
- package/components/buttons/Button.d.ts +13 -13
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/IconButton.d.ts +11 -11
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +8 -8
- package/components/buttons/TabButton.d.ts +8 -8
- package/components/buttons/VerticalTabButton.d.ts +4 -4
- package/components/buttons/helper.d.ts +2 -2
- package/components/buttons/index.d.ts +5 -5
- package/components/index.d.ts +9 -9
- package/components/inputs/Checkbox.d.ts +9 -9
- package/components/inputs/RadioInput.d.ts +7 -7
- package/components/inputs/Switch.d.ts +8 -8
- package/components/inputs/TextInput.d.ts +13 -13
- package/components/inputs/index.d.ts +4 -4
- package/components/layout/Accordion.d.ts +8 -8
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/ControlGroup.d.ts +3 -3
- package/components/layout/FlexItems/FlexCell.d.ts +11 -11
- package/components/layout/FlexItems/FlexCell.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +17 -13
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexSpacer.d.ts +4 -4
- package/components/layout/FlexItems/Panel.d.ts +10 -10
- package/components/layout/FlexItems/index.d.ts +4 -4
- package/components/layout/IconContainer.d.ts +9 -9
- package/components/layout/LabeledInput.d.ts +7 -7
- package/components/layout/RadioGroup.d.ts +3 -3
- package/components/layout/ScrollBars.d.ts +5 -5
- package/components/layout/VirtualList.d.ts +7 -7
- package/components/layout/index.d.ts +8 -8
- package/components/overlays/Dropdown.d.ts +5 -5
- package/components/overlays/DropdownContainer.d.ts +6 -6
- package/components/overlays/DropdownMenu.d.ts +36 -36
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +23 -23
- package/components/overlays/NotificationCard.d.ts +30 -30
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/overlays/Tooltip.d.ts +6 -6
- package/components/overlays/index.d.ts +6 -6
- package/components/pickers/DataPickerBody.d.ts +15 -15
- package/components/pickers/DataPickerFooter.d.ts +8 -8
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts +7 -7
- package/components/pickers/DataPickerRow.d.ts +15 -15
- package/components/pickers/MobileDropdownWrapper.d.ts +10 -10
- package/components/pickers/PickerInput.d.ts +16 -16
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts +12 -12
- package/components/pickers/PickerList.d.ts +17 -17
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/PickerListItem.d.ts +8 -8
- package/components/pickers/PickerModal.d.ts +15 -15
- package/components/pickers/PickerToggler.d.ts +8 -8
- package/components/pickers/index.d.ts +11 -11
- package/components/tables/DataTableCell.d.ts +9 -9
- package/components/tables/Presets/Preset.d.ts +13 -13
- package/components/tables/Presets/Presets.d.ts +8 -8
- package/components/tables/Presets/index.d.ts +2 -2
- package/components/tables/index.d.ts +3 -3
- package/components/tables/types.d.ts +8 -8
- package/components/types.d.ts +29 -29
- package/components/types.d.ts.map +1 -1
- package/components/typography/Text.d.ts +11 -11
- package/components/typography/TextPlaceholder.d.ts +7 -7
- package/components/typography/index.d.ts +2 -2
- package/components/widgets/Avatar.d.ts +3 -3
- package/components/widgets/Badge.d.ts +15 -15
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/Tag.d.ts +8 -8
- package/components/widgets/index.d.ts +3 -3
- package/helpers/textLayout.d.ts +8 -8
- package/i18n.d.ts +50 -50
- package/icons/icons.d.ts +3 -3
- package/index.d.ts +3 -3
- package/index.js +1735 -5240
- package/index.js.map +1 -1
- package/package.json +7 -10
- package/readme.md +4 -4
- package/stats.html +4044 -0
- package/styles.css +615 -616
- package/styles.css.map +1 -1
- package/bundle-stats.json +0 -1
- package/components/buttons/docs/button.doc.d.ts +0 -6
- package/components/buttons/docs/button.doc.d.ts.map +0 -1
- package/components/buttons/docs/linkButton.doc.d.ts +0 -6
- package/components/buttons/docs/linkButton.doc.d.ts.map +0 -1
- package/components/inputs/docs/checkbox.doc.d.ts +0 -6
- package/components/inputs/docs/checkbox.doc.d.ts.map +0 -1
- package/components/inputs/docs/radioInput.doc.d.ts +0 -6
- package/components/inputs/docs/radioInput.doc.d.ts.map +0 -1
- package/components/inputs/docs/switch.doc.d.ts +0 -6
- package/components/inputs/docs/switch.doc.d.ts.map +0 -1
- package/components/inputs/docs/textInput.doc.d.ts +0 -6
- package/components/inputs/docs/textInput.doc.d.ts.map +0 -1
- package/components/pickers/docs/common.d.ts +0 -28
- package/components/pickers/docs/common.d.ts.map +0 -1
- package/components/pickers/docs/pickerInput.doc.d.ts +0 -5
- package/components/pickers/docs/pickerInput.doc.d.ts.map +0 -1
- package/components/pickers/docs/pickerToggler.doc.d.ts +0 -6
- package/components/pickers/docs/pickerToggler.doc.d.ts.map +0 -1
- package/components/typography/docs/textPlaceholder.doc.d.ts +0 -5
- package/components/typography/docs/textPlaceholder.doc.d.ts.map +0 -1
- package/docs/common.d.ts +0 -11
- package/docs/common.d.ts.map +0 -1
- package/docs/contexts/DefaultContext.d.ts +0 -7
- package/docs/contexts/DefaultContext.d.ts.map +0 -1
- package/docs/contexts/index.d.ts +0 -2
- package/docs/contexts/index.d.ts.map +0 -1
- package/docs/index.d.ts +0 -3
- package/docs/index.d.ts.map +0 -1
- package/index.docs.d.ts +0 -6
- package/index.docs.d.ts.map +0 -1
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
@use './text-size' as *;
|
|
2
|
-
|
|
3
|
-
@mixin button-layout($size, $borderWidth) {
|
|
4
|
-
@include button-horizontal-layout($size, $borderWidth);
|
|
5
|
-
@include button-vertical-layout($size, $borderWidth);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin link-button-layout($size) {
|
|
9
|
-
@include link-button-horizontal-layout($size);
|
|
10
|
-
@include button-vertical-layout($size, 0);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin button-vertical-layout($size, $borderWidth) {
|
|
14
|
-
&:global(.uui-button-box) {
|
|
15
|
-
min-height: $size;
|
|
16
|
-
border-width: $borderWidth;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:global(.uui-caption) {
|
|
20
|
-
@include text-size($size, $borderWidth);
|
|
21
|
-
|
|
22
|
-
@if ($size == 42px or $size == 48px) {
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@mixin button-horizontal-layout($size, $borderWidth) {
|
|
29
|
-
min-width: $size;
|
|
30
|
-
|
|
31
|
-
@if ($size == 24px) {
|
|
32
|
-
@include button-padding(6px, 6px, $borderWidth);
|
|
33
|
-
} @else if ($size == 30px) {
|
|
34
|
-
@include button-padding(6px, 6px, $borderWidth);
|
|
35
|
-
} @else if ($size == 36px) {
|
|
36
|
-
@include button-padding(6px, 6px, $borderWidth);
|
|
37
|
-
} @else if ($size == 42px) {
|
|
38
|
-
@include button-padding(12px, 6px, $borderWidth);
|
|
39
|
-
} @else if ($size == 48px) {
|
|
40
|
-
@include button-padding(12px, 6px, $borderWidth);
|
|
41
|
-
} @else {
|
|
42
|
-
@include button-padding(6px, 6px, $borderWidth)
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin button-padding($controlPadding, $captionPadding, $borderWidth) {
|
|
47
|
-
padding-left: $controlPadding - $borderWidth;
|
|
48
|
-
padding-right: $controlPadding - $borderWidth;
|
|
49
|
-
|
|
50
|
-
:global(.uui-caption) {
|
|
51
|
-
padding-left: $captionPadding;
|
|
52
|
-
padding-right: $captionPadding;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@mixin link-button-horizontal-layout($size) {
|
|
57
|
-
min-width: $size;
|
|
58
|
-
|
|
59
|
-
&:global(.uui-has-left-icon) :global(.uui-caption) {
|
|
60
|
-
padding-left: 6px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&:global(.uui-has-right-icon) :global(.uui-caption) {
|
|
64
|
-
padding-right: 6px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
@use './text-size' as *;
|
|
2
|
+
|
|
3
|
+
@mixin button-layout($size, $borderWidth) {
|
|
4
|
+
@include button-horizontal-layout($size, $borderWidth);
|
|
5
|
+
@include button-vertical-layout($size, $borderWidth);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin link-button-layout($size) {
|
|
9
|
+
@include link-button-horizontal-layout($size);
|
|
10
|
+
@include button-vertical-layout($size, 0);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin button-vertical-layout($size, $borderWidth) {
|
|
14
|
+
&:global(.uui-button-box) {
|
|
15
|
+
min-height: $size;
|
|
16
|
+
border-width: $borderWidth;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:global(.uui-caption) {
|
|
20
|
+
@include text-size($size, $borderWidth);
|
|
21
|
+
|
|
22
|
+
@if ($size == 42px or $size == 48px) {
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@mixin button-horizontal-layout($size, $borderWidth) {
|
|
29
|
+
min-width: $size;
|
|
30
|
+
|
|
31
|
+
@if ($size == 24px) {
|
|
32
|
+
@include button-padding(6px, 6px, $borderWidth);
|
|
33
|
+
} @else if ($size == 30px) {
|
|
34
|
+
@include button-padding(6px, 6px, $borderWidth);
|
|
35
|
+
} @else if ($size == 36px) {
|
|
36
|
+
@include button-padding(6px, 6px, $borderWidth);
|
|
37
|
+
} @else if ($size == 42px) {
|
|
38
|
+
@include button-padding(12px, 6px, $borderWidth);
|
|
39
|
+
} @else if ($size == 48px) {
|
|
40
|
+
@include button-padding(12px, 6px, $borderWidth);
|
|
41
|
+
} @else {
|
|
42
|
+
@include button-padding(6px, 6px, $borderWidth)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@mixin button-padding($controlPadding, $captionPadding, $borderWidth) {
|
|
47
|
+
padding-left: $controlPadding - $borderWidth;
|
|
48
|
+
padding-right: $controlPadding - $borderWidth;
|
|
49
|
+
|
|
50
|
+
:global(.uui-caption) {
|
|
51
|
+
padding-left: $captionPadding;
|
|
52
|
+
padding-right: $captionPadding;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin link-button-horizontal-layout($size) {
|
|
57
|
+
min-width: $size;
|
|
58
|
+
|
|
59
|
+
&:global(.uui-has-left-icon) :global(.uui-caption) {
|
|
60
|
+
padding-left: 6px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:global(.uui-has-right-icon) :global(.uui-caption) {
|
|
64
|
+
padding-right: 6px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@use 'text-size' as *;
|
|
2
|
-
|
|
3
|
-
@mixin control-vertical-layout($size, $borderWidth) {
|
|
4
|
-
:global(.uui-caption), :global(.uui-input) {
|
|
5
|
-
@include text-size($size, $borderWidth);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&:global(.uui-button-box), &:global(.uui-input-box) {
|
|
9
|
-
min-height: $size;
|
|
10
|
-
border-width: $borderWidth;
|
|
11
|
-
}
|
|
1
|
+
@use 'text-size' as *;
|
|
2
|
+
|
|
3
|
+
@mixin control-vertical-layout($size, $borderWidth) {
|
|
4
|
+
:global(.uui-caption), :global(.uui-input) {
|
|
5
|
+
@include text-size($size, $borderWidth);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&:global(.uui-button-box), &:global(.uui-input-box) {
|
|
9
|
+
min-height: $size;
|
|
10
|
+
border-width: $borderWidth;
|
|
11
|
+
}
|
|
12
12
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@mixin panel-shadow() { box-shadow: var(--panel-shadow); }
|
|
2
|
-
|
|
3
|
-
@mixin panel-top-shadow() { box-shadow: inset 0 10px 5px -10px rgba(51, 51, 51, 0.2); }
|
|
4
|
-
|
|
5
|
-
//@mixin button-focus-shadow() { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); } // TODO: design?
|
|
6
|
-
|
|
7
|
-
@mixin dnd-ghost-shadow() { box-shadow: 0 6px 18px 0 rgba(29,30,38,0.05), 0 3px 12px 0 rgba(29,30,38,0.05); }
|
|
8
|
-
|
|
1
|
+
@mixin panel-shadow() { box-shadow: var(--panel-shadow); }
|
|
2
|
+
|
|
3
|
+
@mixin panel-top-shadow() { box-shadow: inset 0 10px 5px -10px rgba(51, 51, 51, 0.2); }
|
|
4
|
+
|
|
5
|
+
//@mixin button-focus-shadow() { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); } // TODO: design?
|
|
6
|
+
|
|
7
|
+
@mixin dnd-ghost-shadow() { box-shadow: 0 6px 18px 0 rgba(29,30,38,0.05), 0 3px 12px 0 rgba(29,30,38,0.05); }
|
|
8
|
+
|
|
9
9
|
@mixin control-focus-effect($name) { box-shadow: 0 0 0 2px fade-out($name, 0.6); } // TODO: design?
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'Sans Regular';
|
|
3
|
-
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff2/ttf/SourceSansPro-Regular.ttf.woff2') format('woff2'),
|
|
4
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff/otf/SourceSansPro-Regular.otf.woff') format('woff'),
|
|
5
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/otf/SourceSansPro-Regular.otf') format('opentype'),
|
|
6
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/ttf/SourceSansPro-Regular.ttf') format('truetype');
|
|
7
|
-
font-weight: normal;
|
|
8
|
-
font-style: normal;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'Sans Semibold';
|
|
13
|
-
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff2/ttf/SourceSansPro-Semibold.ttf.woff2') format('woff2'),
|
|
14
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff/otf/SourceSansPro-Semibold.otf.woff') format('woff'),
|
|
15
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/otf/SourceSansPro-Semibold.otf') format('opentype'),
|
|
16
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/ttf/SourceSansPro-Semibold.ttf') format('truetype');
|
|
17
|
-
font-weight: normal;
|
|
18
|
-
font-style: normal;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@font-face {
|
|
22
|
-
font-family: 'Sans Italic';
|
|
23
|
-
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff2/ttf/SourceSansPro-It.ttf.woff2') format('woff2'),
|
|
24
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff/otf/SourceSansPro-It.otf.woff') format('woff'),
|
|
25
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/otf/SourceSansPro-It.otf') format('opentype'),
|
|
26
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/ttf/SourceSansPro-It.ttf') format('truetype');
|
|
27
|
-
font-weight: normal;
|
|
28
|
-
font-style: normal;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@font-face {
|
|
32
|
-
font-family: 'Redacted';
|
|
33
|
-
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.eot');
|
|
34
|
-
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.woff2') format('woff2'),
|
|
35
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.woff') format('woff'),
|
|
36
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.otf') format('opentype'),
|
|
37
|
-
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.svg#filename') format('svg');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@font-face {
|
|
41
|
-
font-family: 'Roboto Mono';
|
|
42
|
-
font-style: normal;
|
|
43
|
-
font-weight: normal;
|
|
44
|
-
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/RobotoMono-Regular.ttf') format('truetype');
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@font-face {
|
|
48
|
-
font-family: 'Roboto Slab';
|
|
49
|
-
font-style: normal;
|
|
50
|
-
font-weight: normal;
|
|
51
|
-
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/RobotoSlab-Regular.ttf') format('truetype');
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Sans Regular';
|
|
3
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff2/ttf/SourceSansPro-Regular.ttf.woff2') format('woff2'),
|
|
4
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff/otf/SourceSansPro-Regular.otf.woff') format('woff'),
|
|
5
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/otf/SourceSansPro-Regular.otf') format('opentype'),
|
|
6
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/ttf/SourceSansPro-Regular.ttf') format('truetype');
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'Sans Semibold';
|
|
13
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff2/ttf/SourceSansPro-Semibold.ttf.woff2') format('woff2'),
|
|
14
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff/otf/SourceSansPro-Semibold.otf.woff') format('woff'),
|
|
15
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/otf/SourceSansPro-Semibold.otf') format('opentype'),
|
|
16
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/ttf/SourceSansPro-Semibold.ttf') format('truetype');
|
|
17
|
+
font-weight: normal;
|
|
18
|
+
font-style: normal;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: 'Sans Italic';
|
|
23
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff2/ttf/SourceSansPro-It.ttf.woff2') format('woff2'),
|
|
24
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/woff/otf/SourceSansPro-It.otf.woff') format('woff'),
|
|
25
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/otf/SourceSansPro-It.otf') format('opentype'),
|
|
26
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/source-sans-pro/ttf/SourceSansPro-It.ttf') format('truetype');
|
|
27
|
+
font-weight: normal;
|
|
28
|
+
font-style: normal;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: 'Redacted';
|
|
33
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.eot');
|
|
34
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.woff2') format('woff2'),
|
|
35
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.woff') format('woff'),
|
|
36
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.otf') format('opentype'),
|
|
37
|
+
url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/redacted/redacted-regular.svg#filename') format('svg');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: 'Roboto Mono';
|
|
42
|
+
font-style: normal;
|
|
43
|
+
font-weight: normal;
|
|
44
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/RobotoMono-Regular.ttf') format('truetype');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: 'Roboto Slab';
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-weight: normal;
|
|
51
|
+
src: url('https://static.cdn.epam.com/uploads/690afa39a93c88c4dd13758fe1d869d5/EPM-UUI/fonts/RobotoSlab-Regular.ttf') format('truetype');
|
|
52
52
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
:global(.font-regular) {
|
|
2
|
-
font-family: var(--font-regular);
|
|
3
|
-
font-weight: normal;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
:global(.font-semibold) {
|
|
7
|
-
font-family: var(--font-semibold);
|
|
8
|
-
font-weight: normal;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:global(.font-italic) {
|
|
12
|
-
font-family: var(--font-italic);
|
|
13
|
-
font-weight: normal;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:global(.font-primary) {
|
|
17
|
-
font-family: var(--font-primary);
|
|
18
|
-
font-weight: normal;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
:global(.font-promo) {
|
|
22
|
-
font-family: var(--font-promo);
|
|
23
|
-
font-weight: normal;
|
|
24
|
-
}
|
|
1
|
+
:global(.font-regular) {
|
|
2
|
+
font-family: var(--font-regular);
|
|
3
|
+
font-weight: normal;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:global(.font-semibold) {
|
|
7
|
+
font-family: var(--font-semibold);
|
|
8
|
+
font-weight: normal;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:global(.font-italic) {
|
|
12
|
+
font-family: var(--font-italic);
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:global(.font-primary) {
|
|
17
|
+
font-family: var(--font-primary);
|
|
18
|
+
font-weight: normal;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:global(.font-promo) {
|
|
22
|
+
font-family: var(--font-promo);
|
|
23
|
+
font-weight: normal;
|
|
24
|
+
}
|
package/assets/styles/icons.scss
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
@mixin icon-layout($size) {
|
|
4
|
-
:global(.uui-icon) {
|
|
5
|
-
svg {
|
|
6
|
-
height: math.div($size, 36) * 24;
|
|
7
|
-
max-width: math.div($size, 36) * 24;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin icon-size($size) {
|
|
13
|
-
:global(.uui-icon) {
|
|
14
|
-
svg {
|
|
15
|
-
height: $size;
|
|
16
|
-
max-width: $size;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
@mixin icon-layout($size) {
|
|
4
|
+
:global(.uui-icon) {
|
|
5
|
+
svg {
|
|
6
|
+
height: math.div($size, 36) * 24;
|
|
7
|
+
max-width: math.div($size, 36) * 24;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin icon-size($size) {
|
|
13
|
+
:global(.uui-icon) {
|
|
14
|
+
svg {
|
|
15
|
+
height: $size;
|
|
16
|
+
max-width: $size;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
19
|
}
|
package/assets/styles/index.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@forward 'buttonLayout';
|
|
2
|
-
@forward 'controlLayout';
|
|
3
|
-
@forward 'effects';
|
|
4
|
-
@forward 'icons';
|
|
5
|
-
@forward 'inputs';
|
|
6
|
-
@forward 'layout-mixins';
|
|
7
|
-
@forward 'text-size';
|
|
1
|
+
@forward 'buttonLayout';
|
|
2
|
+
@forward 'controlLayout';
|
|
3
|
+
@forward 'effects';
|
|
4
|
+
@forward 'icons';
|
|
5
|
+
@forward 'inputs';
|
|
6
|
+
@forward 'layout-mixins';
|
|
7
|
+
@forward 'text-size';
|
|
8
8
|
@forward 'typography';
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
@mixin disabled-input() {
|
|
2
|
-
&.mode-form {
|
|
3
|
-
@include input-colors(var(--input-bg-disabled-color), var(--input-text-disabled-color), var(--input-border-disabled-color));
|
|
4
|
-
cursor: default;
|
|
5
|
-
pointer-events: none;
|
|
6
|
-
|
|
7
|
-
&:hover, &:active, &:focus {
|
|
8
|
-
@include input-colors(var(--input-bg-disabled-color), var(--input-text-disabled-color), var(--input-border-disabled-color));
|
|
9
|
-
box-shadow: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&::placeholder {
|
|
13
|
-
color: var(--input-placeholder-disabled-color);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.mode-cell {
|
|
18
|
-
@include input-colors(transparent, var(--input-text-disabled-color), transparent);
|
|
19
|
-
cursor: default;
|
|
20
|
-
pointer-events: none;
|
|
21
|
-
|
|
22
|
-
&:hover, &:active, &:focus {
|
|
23
|
-
@include input-colors(transparent, var(--input-text-disabled-color), transparent);
|
|
24
|
-
box-shadow: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&::placeholder {
|
|
28
|
-
color: var(--input-placeholder-disabled-color);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin readonly-input() {
|
|
34
|
-
&.mode-form {
|
|
35
|
-
background-color: var(--input-bg-readonly-color);
|
|
36
|
-
border-color: var(--input-border-readonly-color);
|
|
37
|
-
pointer-events: none;
|
|
38
|
-
|
|
39
|
-
&:hover {
|
|
40
|
-
border-color: var(--input-border-readonly-color);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.mode-cell {
|
|
45
|
-
background-color: transparent;
|
|
46
|
-
border-color: transparent;
|
|
47
|
-
pointer-events: none;
|
|
48
|
-
|
|
49
|
-
&:hover {
|
|
50
|
-
background-color: transparent;
|
|
51
|
-
border-color: transparent;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@mixin input-colors($bg, $fg, $brd) {
|
|
57
|
-
background-color: $bg;
|
|
58
|
-
color: $fg;
|
|
59
|
-
fill: $fg;
|
|
60
|
-
border-color: $brd;
|
|
61
|
-
|
|
62
|
-
// override more selective selector on input tag in browsers stylesheets
|
|
63
|
-
:global(.uui-input) {
|
|
64
|
-
color: $fg;
|
|
65
|
-
|
|
66
|
-
&::placeholder {
|
|
67
|
-
color: var(--input-placeholder-disabled-color);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
1
|
+
@mixin disabled-input() {
|
|
2
|
+
&.mode-form {
|
|
3
|
+
@include input-colors(var(--input-bg-disabled-color), var(--input-text-disabled-color), var(--input-border-disabled-color));
|
|
4
|
+
cursor: default;
|
|
5
|
+
pointer-events: none;
|
|
6
|
+
|
|
7
|
+
&:hover, &:active, &:focus {
|
|
8
|
+
@include input-colors(var(--input-bg-disabled-color), var(--input-text-disabled-color), var(--input-border-disabled-color));
|
|
9
|
+
box-shadow: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&::placeholder {
|
|
13
|
+
color: var(--input-placeholder-disabled-color);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.mode-cell {
|
|
18
|
+
@include input-colors(transparent, var(--input-text-disabled-color), transparent);
|
|
19
|
+
cursor: default;
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
|
|
22
|
+
&:hover, &:active, &:focus {
|
|
23
|
+
@include input-colors(transparent, var(--input-text-disabled-color), transparent);
|
|
24
|
+
box-shadow: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&::placeholder {
|
|
28
|
+
color: var(--input-placeholder-disabled-color);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin readonly-input() {
|
|
34
|
+
&.mode-form {
|
|
35
|
+
background-color: var(--input-bg-readonly-color);
|
|
36
|
+
border-color: var(--input-border-readonly-color);
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
border-color: var(--input-border-readonly-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.mode-cell {
|
|
45
|
+
background-color: transparent;
|
|
46
|
+
border-color: transparent;
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: transparent;
|
|
51
|
+
border-color: transparent;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin input-colors($bg, $fg, $brd) {
|
|
57
|
+
background-color: $bg;
|
|
58
|
+
color: $fg;
|
|
59
|
+
fill: $fg;
|
|
60
|
+
border-color: $brd;
|
|
61
|
+
|
|
62
|
+
// override more selective selector on input tag in browsers stylesheets
|
|
63
|
+
:global(.uui-input) {
|
|
64
|
+
color: $fg;
|
|
65
|
+
|
|
66
|
+
&::placeholder {
|
|
67
|
+
color: var(--input-placeholder-disabled-color);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
70
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@mixin padding($size) {
|
|
2
|
-
padding-left: $size + px;
|
|
3
|
-
padding-right: $size + px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@mixin vPadding($size) {
|
|
7
|
-
padding-top: $size + px;
|
|
8
|
-
padding-bottom: $size + px;
|
|
1
|
+
@mixin padding($size) {
|
|
2
|
+
padding-left: $size + px;
|
|
3
|
+
padding-right: $size + px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin vPadding($size) {
|
|
7
|
+
padding-top: $size + px;
|
|
8
|
+
padding-bottom: $size + px;
|
|
9
9
|
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
@mixin prettifyCustomScroll() {
|
|
2
|
-
:global(.uui-thumb-vertical), :global(.uui-thumb-horizontal) {
|
|
3
|
-
background: var(--scroll-bars-bg-color);
|
|
4
|
-
border-radius: 1.5px;
|
|
5
|
-
|
|
6
|
-
&:hover {
|
|
7
|
-
border-radius: 3px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&:active {
|
|
11
|
-
border-radius: 3px;
|
|
12
|
-
background: var(--scroll-bars-bg-color-active);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:global(.uui-thumb-vertical) {
|
|
17
|
-
width: 3px;
|
|
18
|
-
margin-left: 3px;
|
|
19
|
-
|
|
20
|
-
&:hover {
|
|
21
|
-
width: 6px;
|
|
22
|
-
margin-left: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:active {
|
|
26
|
-
width: 6px;
|
|
27
|
-
margin-left: 0;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:global(.uui-thumb-horizontal) {
|
|
32
|
-
height: 3px;
|
|
33
|
-
margin-top: 3px;
|
|
34
|
-
|
|
35
|
-
&:hover {
|
|
36
|
-
height: 6px;
|
|
37
|
-
margin-top: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:active {
|
|
41
|
-
height: 6px;
|
|
42
|
-
margin-top: 0;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
@mixin prettifyCustomScroll() {
|
|
2
|
+
:global(.uui-thumb-vertical), :global(.uui-thumb-horizontal) {
|
|
3
|
+
background: var(--scroll-bars-bg-color);
|
|
4
|
+
border-radius: 1.5px;
|
|
5
|
+
|
|
6
|
+
&:hover {
|
|
7
|
+
border-radius: 3px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&:active {
|
|
11
|
+
border-radius: 3px;
|
|
12
|
+
background: var(--scroll-bars-bg-color-active);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:global(.uui-thumb-vertical) {
|
|
17
|
+
width: 3px;
|
|
18
|
+
margin-left: 3px;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
width: 6px;
|
|
22
|
+
margin-left: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:active {
|
|
26
|
+
width: 6px;
|
|
27
|
+
margin-left: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:global(.uui-thumb-horizontal) {
|
|
32
|
+
height: 3px;
|
|
33
|
+
margin-top: 3px;
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
height: 6px;
|
|
37
|
+
margin-top: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:active {
|
|
41
|
+
height: 6px;
|
|
42
|
+
margin-top: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
45
|
}
|