@meduza/ui-kit-2 0.3.1 → 0.4.1
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/AnnouncementInText/AnnouncementInText.types.d.ts +4 -4
- package/dist/AnnouncementInText/index.d.ts +3 -3
- package/dist/BookmarkButton/BookmarkButton.types.d.ts +6 -6
- package/dist/BookmarkButton/index.d.ts +3 -3
- package/dist/Button/Button.d.ts +3 -3
- package/dist/Button/Button.types.d.ts +16 -16
- package/dist/Button/ButtonLoader.d.ts +2 -2
- package/dist/Button/index.d.ts +2 -2
- package/dist/CardTitle/CardTitle.types.d.ts +10 -10
- package/dist/CardTitle/index.d.ts +3 -3
- package/dist/ChapterBlock/ChapterBlock.types.d.ts +7 -7
- package/dist/ChapterBlock/index.d.ts +3 -3
- package/dist/Cover/Cover.types.d.ts +24 -24
- package/dist/Cover/index.d.ts +3 -3
- package/dist/DocumentItemsCount/DocumentItemsCount.types.d.ts +6 -7
- package/dist/DocumentItemsCount/index.d.ts +3 -3
- package/dist/DonatesTeaser/DonatesTeaser.types.d.ts +4 -4
- package/dist/DonatesTeaser/index.d.ts +3 -3
- package/dist/DotsOnImage/DotsOnImage.types.d.ts +46 -46
- package/dist/DotsOnImage/index.d.ts +3 -3
- package/dist/Dropdown/Dropdown.types.d.ts +5 -6
- package/dist/Dropdown/index.d.ts +4 -4
- package/dist/EmbedBlock/EmbedBlock.d.ts +3 -3
- package/dist/EmbedBlock/EmbedBlock.types.d.ts +12 -11
- package/dist/EmbedBlock/EmbedGif.d.ts +3 -3
- package/dist/EmbedBlock/IframeBlock.d.ts +3 -3
- package/dist/EmbedBlock/index.d.ts +3 -3
- package/dist/Footnote/Footnote.types.d.ts +5 -5
- package/dist/Footnote/index.d.ts +3 -3
- package/dist/GroupedBlock/GroupedBlock.types.d.ts +4 -4
- package/dist/GroupedBlock/index.d.ts +3 -3
- package/dist/HalfBlock/HalfBlock.types.d.ts +4 -4
- package/dist/HalfBlock/index.d.ts +3 -3
- package/dist/Image/Image.types.d.ts +35 -35
- package/dist/Image/RenderPicture.d.ts +4 -4
- package/dist/Image/index.d.ts +3 -3
- package/dist/ImportantLead/ImportantLead.types.d.ts +4 -4
- package/dist/ImportantLead/index.d.ts +3 -3
- package/dist/Lazy/Lazy.types.d.ts +4 -5
- package/dist/Lazy/index.d.ts +3 -3
- package/dist/ListBlock/ListBlock.types.d.ts +9 -10
- package/dist/ListBlock/index.d.ts +3 -3
- package/dist/MaterialNote/MaterialNote.types.d.ts +13 -13
- package/dist/MaterialNote/index.d.ts +3 -3
- package/dist/MaterialTitle/MaterialTitle.types.d.ts +4 -4
- package/dist/MaterialTitle/index.d.ts +5 -5
- package/dist/MediaCaption/MediaCaption.types.d.ts +5 -5
- package/dist/MediaCaption/index.d.ts +3 -3
- package/dist/Meta/Meta.types.d.ts +19 -19
- package/dist/Meta/MetaContainer.d.ts +3 -3
- package/dist/Meta/index.d.ts +3 -3
- package/dist/MetaItem/MetaItem.types.d.ts +7 -7
- package/dist/MetaItem/index.d.ts +3 -3
- package/dist/MetaItemLive/MetaItemLive.types.d.ts +3 -3
- package/dist/MetaItemLive/index.d.ts +3 -3
- package/dist/Popover/Popover.types.d.ts +5 -5
- package/dist/Popover/index.d.ts +3 -3
- package/dist/QuoteBlock/QuoteBlock.types.d.ts +6 -6
- package/dist/QuoteBlock/index.d.ts +3 -3
- package/dist/RawHtmlBlock/RawHtmlBlock.types.d.ts +17 -17
- package/dist/RawHtmlBlock/index.d.ts +3 -3
- package/dist/RelatedBlock/RelatedBlock.types.d.ts +17 -17
- package/dist/RelatedBlock/index.d.ts +3 -3
- package/dist/RelatedRichBlock/RelatedRichBlock.types.d.ts +4 -4
- package/dist/RelatedRichBlock/index.d.ts +3 -3
- package/dist/RenderBlocks/RenderBlocks.types.d.ts +11 -11
- package/dist/RenderBlocks/index.d.ts +3 -3
- package/dist/RichTitle/RichTitle.types.d.ts +12 -13
- package/dist/RichTitle/index.d.ts +3 -3
- package/dist/SensitiveBlock/SensitiveBlock.types.d.ts +15 -15
- package/dist/SensitiveBlock/index.d.ts +3 -3
- package/dist/ShopRelatedBlock/ShopRelatedBlock.types.d.ts +4 -4
- package/dist/ShopRelatedBlock/index.d.ts +3 -3
- package/dist/SimpleBlock/SimpleBlock.types.d.ts +4 -4
- package/dist/SimpleBlock/index.d.ts +3 -3
- package/dist/SimpleTitle/SimpleTitle.types.d.ts +9 -9
- package/dist/SimpleTitle/index.d.ts +3 -3
- package/dist/SourceBlock/SourceBlock.types.d.ts +15 -15
- package/dist/SourceBlock/index.d.ts +3 -3
- package/dist/Spoiler/Spoiler.types.d.ts +4 -4
- package/dist/Spoiler/index.d.ts +3 -3
- package/dist/SvgSymbol/SvgSymbol.types.d.ts +8 -8
- package/dist/SvgSymbol/icons.d.ts +167 -167
- package/dist/SvgSymbol/index.d.ts +3 -3
- package/dist/Switcher/Switcher.types.d.ts +12 -12
- package/dist/Switcher/index.d.ts +3 -3
- package/dist/Table/Table.types.d.ts +25 -25
- package/dist/Table/index.d.ts +3 -3
- package/dist/Tag/Tag.types.d.ts +12 -12
- package/dist/Tag/index.d.ts +3 -3
- package/dist/Timestamp/Timestamp.types.d.ts +5 -5
- package/dist/Timestamp/index.d.ts +4 -4
- package/dist/Toolbar/Toolbar.d.ts +3 -3
- package/dist/Toolbar/Toolbar.types.d.ts +7 -8
- package/dist/Toolbar/ToolbarItem.d.ts +3 -3
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/ToolbarButton/ToolbarButton.types.d.ts +10 -10
- package/dist/ToolbarButton/index.d.ts +3 -3
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/Tooltip.types.d.ts +8 -8
- package/dist/Tooltip/TooltipFooter.d.ts +3 -3
- package/dist/Tooltip/index.d.ts +2 -2
- package/dist/constants.d.ts +41 -41
- package/dist/index.d.ts +45 -45
- package/dist/index.js +2 -2
- package/dist/types.d.ts +20 -20
- package/dist/ui-kit.css +3443 -3655
- package/dist/uikit.cjs.development.js +2706 -0
- package/dist/uikit.cjs.development.js.map +1 -0
- package/dist/uikit.cjs.production.min.js +2 -0
- package/dist/uikit.cjs.production.min.js.map +1 -0
- package/dist/uikit.esm.js +2652 -0
- package/dist/uikit.esm.js.map +1 -0
- package/dist/utils/BlockContext.d.ts +8 -8
- package/dist/utils/DangerousHtml.d.ts +8 -8
- package/dist/utils/capitalizeFirstLetter.d.ts +1 -1
- package/dist/utils/converCase.d.ts +2 -2
- package/dist/utils/generateGradient.d.ts +2 -2
- package/dist/utils/getElementPositionRelativeToViewport.d.ts +2 -2
- package/dist/utils/makeClassName.d.ts +3 -3
- package/dist/utils/makeStyleContext.d.ts +3 -3
- package/dist/utils/pluralize.d.ts +2 -2
- package/dist/utils/postMessage.d.ts +2 -2
- package/dist/utils/viewportSize.d.ts +6 -6
- package/package.json +68 -68
- package/src/BookmarkButton/BookmarkButton.css +4 -3
- package/src/BookmarkButton/BookmarkButton.module.css +4 -3
- package/src/Button/Button.module.css +29 -19
- package/src/Cover/Cover.module.css +15 -13
- package/src/EmbedBlock/EmbedBlock.types.ts +1 -0
- package/src/Toolbar/Toolbar.module.css +13 -12
- package/src/Toolbar/Toolbar.stories.tsx +1 -3
- package/src/ToolbarButton/ToolbarButton.module.css +8 -7
- package/src/ToolbarButton/ToolbarButton.stories.tsx +1 -3
- package/src/ToolbarButton/ToolbarButton.test.tsx +1 -3
- package/src/Tooltip/Tooltip.module.css +13 -6
- package/dist/AnnouncementInText/AnnouncementInText.stories.d.ts +0 -10
- package/dist/BookmarkButton/BookmarkButton.stories.d.ts +0 -10
- package/dist/Button/Button.stories.d.ts +0 -10
- package/dist/CardTitle/CardTitle.stories.d.ts +0 -10
- package/dist/ChapterBlock/ChapterBlock.stories.d.ts +0 -10
- package/dist/Cover/Cover.stories.d.ts +0 -10
- package/dist/DocumentItemsCount/DocumentItemsCount.stories.d.ts +0 -10
- package/dist/DonatesTeaser/DonatesTeaser.stories.d.ts +0 -10
- package/dist/DotsOnImage/DotsOnImage.stories.d.ts +0 -10
- package/dist/Dropdown/Dropdown.stories.d.ts +0 -10
- package/dist/EmbedBlock/EmbedBlock.stories.d.ts +0 -10
- package/dist/Footnote/Footnote.stories.d.ts +0 -10
- package/dist/GroupedBlock/GroupedBlock.stories.d.ts +0 -10
- package/dist/HalfBlock/HalfBlock.stories.d.ts +0 -10
- package/dist/Image/Image.stories.d.ts +0 -10
- package/dist/ImportantLead/ImportantLead.stories.d.ts +0 -10
- package/dist/Lazy/Lazy.stories.d.ts +0 -10
- package/dist/ListBlock/ListBlock.stories.d.ts +0 -11
- package/dist/MaterialNote/MaterialNote.stories.d.ts +0 -11
- package/dist/MaterialTitle/MaterialTitle.stories.d.ts +0 -10
- package/dist/MediaCaption/MediaCaption.stories.d.ts +0 -10
- package/dist/Meta/Meta.stories.d.ts +0 -10
- package/dist/MetaItem/MetaItem.stories.d.ts +0 -10
- package/dist/MetaItemLive/MetaItemLive.stories.d.ts +0 -10
- package/dist/Popover/Popover.stories.d.ts +0 -10
- package/dist/QuoteBlock/QuoteBlock.stories.d.ts +0 -10
- package/dist/RawHtmlBlock/RawHtmlBlock.stories.d.ts +0 -10
- package/dist/RelatedBlock/RelatedBlock.stories.d.ts +0 -10
- package/dist/RelatedRichBlock/RelatedRichBlock.stories.d.ts +0 -10
- package/dist/RenderBlocks/RenderBlocks.stories.d.ts +0 -10
- package/dist/RichTitle/RichTitle.stories.d.ts +0 -10
- package/dist/SensitiveBlock/SensitiveBlock.stories.d.ts +0 -10
- package/dist/ShopRelatedBlock/ShopRelatedBlock.stories.d.ts +0 -10
- package/dist/SimpleBlock/SimpleBlock.stories.d.ts +0 -10
- package/dist/SimpleTitle/SimpleTitle.stories.d.ts +0 -10
- package/dist/SourceBlock/SourceBlock.stories.d.ts +0 -10
- package/dist/Spoiler/Spoiler.stories.d.ts +0 -10
- package/dist/SvgSymbol/SvgSymbol.stories.d.ts +0 -10
- package/dist/Switcher/Switcher.stories.d.ts +0 -10
- package/dist/Table/Table.stories.d.ts +0 -10
- package/dist/Tag/Tag.stories.d.ts +0 -10
- package/dist/Timestamp/Timestamp.stories.d.ts +0 -10
- package/dist/Toolbar/Toolbar.stories.d.ts +0 -10
- package/dist/ToolbarButton/ToolbarButton.stories.d.ts +0 -10
- package/dist/Tooltip/Tooltip.stories.d.ts +0 -10
- package/dist/_storybook/PreviewWrapper/index.d.ts +0 -6
- package/dist/ui-kit-2.cjs.development.js +0 -2906
- package/dist/ui-kit-2.cjs.development.js.map +0 -1
- package/dist/ui-kit-2.cjs.production.min.js +0 -2
- package/dist/ui-kit-2.cjs.production.min.js.map +0 -1
- package/dist/ui-kit-2.esm.js +0 -2849
- package/dist/ui-kit-2.esm.js.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ClassNames } from './makeClassName';
|
|
2
|
-
declare const makeStyleContext: (classNames: ClassNames, styleContext: string[] | string, styles: Record<string, string>) => ClassNames;
|
|
3
|
-
export default makeStyleContext;
|
|
1
|
+
import { ClassNames } from './makeClassName';
|
|
2
|
+
declare const makeStyleContext: (classNames: ClassNames, styleContext: string[] | string, styles: Record<string, string>) => ClassNames;
|
|
3
|
+
export default makeStyleContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const pluralize: (number: number, one: string, two: string, five: string) => string;
|
|
2
|
-
export default pluralize;
|
|
1
|
+
declare const pluralize: (number: number, one: string, two: string, five: string) => string;
|
|
2
|
+
export default pluralize;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const postMessage: (category: string, element: string, action: string) => void;
|
|
2
|
-
export default postMessage;
|
|
1
|
+
declare const postMessage: (category: string, element: string, action: string) => void;
|
|
2
|
+
export default postMessage;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
width: number;
|
|
3
|
-
height: number;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: () => viewportSize;
|
|
6
|
-
export default _default;
|
|
1
|
+
type viewportSize = {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: () => viewportSize;
|
|
6
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.4.1",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"description": "UIKit for Meduza",
|
|
5
5
|
"repository": "https://github.com/meduza-corp/ui-kit-2.git",
|
|
@@ -13,19 +13,18 @@
|
|
|
13
13
|
"src"
|
|
14
14
|
],
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=
|
|
16
|
+
"node": ">=16"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"start": "
|
|
20
|
-
"build": "
|
|
19
|
+
"start": "dts watch --tsconfig ./tsconfig.build.json",
|
|
20
|
+
"build": "dts build --tsconfig ./tsconfig.build.json",
|
|
21
21
|
"generate": "plop --plopfile generators/index.js",
|
|
22
|
-
"test": "
|
|
23
|
-
"test:watch": "
|
|
24
|
-
"test:coverage": "
|
|
22
|
+
"test": "dts test --passWithNoTests",
|
|
23
|
+
"test:watch": "dts test --watch",
|
|
24
|
+
"test:coverage": "dts test --coverage",
|
|
25
25
|
"lint": "eslint src",
|
|
26
|
-
"
|
|
27
|
-
"storybook": "
|
|
28
|
-
"build-storybook": "build-storybook"
|
|
26
|
+
"storybook": "storybook dev -p 6006",
|
|
27
|
+
"build-storybook": "storybook build"
|
|
29
28
|
},
|
|
30
29
|
"peerDependencies": {
|
|
31
30
|
"dayjs": "^1.10.3",
|
|
@@ -52,67 +51,68 @@
|
|
|
52
51
|
"@commitlint/config-conventional"
|
|
53
52
|
]
|
|
54
53
|
},
|
|
55
|
-
"husky": {
|
|
56
|
-
"hooks": {
|
|
57
|
-
"pre-commit": "tsc --noEmit && lint-staged",
|
|
58
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
54
|
"devDependencies": {
|
|
62
|
-
"@babel/core": "^7.
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@storybook/addon-
|
|
69
|
-
"@storybook/
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"eslint": "^
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"eslint
|
|
85
|
-
"
|
|
55
|
+
"@babel/core": "^7.22.9",
|
|
56
|
+
"@babel/preset-env": "^7.22.9",
|
|
57
|
+
"@babel/preset-react": "^7.22.5",
|
|
58
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
59
|
+
"@commitlint/cli": "^17.6.7",
|
|
60
|
+
"@commitlint/config-conventional": "^17.6.7",
|
|
61
|
+
"@storybook/addon-essentials": "^7.1.0",
|
|
62
|
+
"@storybook/addon-links": "^7.1.0",
|
|
63
|
+
"@storybook/addon-styling": "^1.3.4",
|
|
64
|
+
"@storybook/addons": "^7.1.0",
|
|
65
|
+
"@storybook/react": "^7.1.0",
|
|
66
|
+
"@storybook/react-webpack5": "^7.1.0",
|
|
67
|
+
"@testing-library/jest-dom": "^5.17.0",
|
|
68
|
+
"@testing-library/react": "^14.0.0",
|
|
69
|
+
"@types/jest": "29.5.3",
|
|
70
|
+
"@types/react": "^18.2.15",
|
|
71
|
+
"@types/react-dom": "^18.2.7",
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
73
|
+
"@typescript-eslint/parser": "^6.1.0",
|
|
74
|
+
"babel-loader": "^9.1.3",
|
|
75
|
+
"dayjs": "^1.11.9",
|
|
76
|
+
"dts-cli": "^2.0.3",
|
|
77
|
+
"eslint": "^8.45.0",
|
|
78
|
+
"eslint-config-prettier": "^8.8.0",
|
|
79
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
80
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
81
|
+
"eslint-plugin-react": "^7.32.2",
|
|
82
|
+
"eslint-plugin-storybook": "^0.6.12",
|
|
83
|
+
"husky": "^8.0.3",
|
|
86
84
|
"identity-obj-proxy": "^3.0.0",
|
|
87
|
-
"jest": "^
|
|
88
|
-
"lint-staged": "^
|
|
89
|
-
"plop": "^
|
|
90
|
-
"postcss
|
|
91
|
-
"postcss-
|
|
92
|
-
"postcss-
|
|
93
|
-
"postcss-
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"react
|
|
99
|
-
"react-
|
|
100
|
-
"react-
|
|
101
|
-
"react-
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
85
|
+
"jest": "^29.6.1",
|
|
86
|
+
"lint-staged": "^13.2.3",
|
|
87
|
+
"plop": "^3.1.2",
|
|
88
|
+
"postcss": "^8.4.26",
|
|
89
|
+
"postcss-import": "^15.0.1",
|
|
90
|
+
"postcss-loader": "^7.3.3",
|
|
91
|
+
"postcss-modules": "^6.0.0",
|
|
92
|
+
"postcss-nesting": "12.0.0",
|
|
93
|
+
"postcss-preset-env": "^9.0.0",
|
|
94
|
+
"postcss-simple-vars": "7.0.1",
|
|
95
|
+
"prettier": "^3.0.0",
|
|
96
|
+
"react": "^18.2.0",
|
|
97
|
+
"react-docgen-typescript-plugin": "^1.0.5",
|
|
98
|
+
"react-dom": "^18.2.0",
|
|
99
|
+
"react-intersection-observer": "^9.5.2",
|
|
100
|
+
"react-is": "^18.2.0",
|
|
101
|
+
"react-router-dom": "^6.14.2",
|
|
102
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
103
|
+
"storybook": "^7.1.0",
|
|
104
|
+
"storybook-addon-react-docgen": "^1.2.43",
|
|
105
|
+
"storybook-addon-react-router-v6": "^1.0.2",
|
|
106
|
+
"stylelint": "^15.10.2",
|
|
105
107
|
"stylelint-config-rational-order": "^0.1.2",
|
|
106
|
-
"stylelint-config-sass-guidelines": "^
|
|
107
|
-
"stylelint-config-standard": "^
|
|
108
|
-
"stylelint-order": "^
|
|
109
|
-
"ts-jest": "
|
|
110
|
-
"ts-loader": "^
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"typescript": "^4.0.3",
|
|
115
|
-
"typescript-plugin-css-modules": "^2.4.0",
|
|
108
|
+
"stylelint-config-sass-guidelines": "^10.0.0",
|
|
109
|
+
"stylelint-config-standard": "^34.0.0",
|
|
110
|
+
"stylelint-order": "^6.0.3",
|
|
111
|
+
"ts-jest": "29.1.1",
|
|
112
|
+
"ts-loader": "^9.4.4",
|
|
113
|
+
"tslib": "^2.6.0",
|
|
114
|
+
"typescript": "^5.1.6",
|
|
115
|
+
"typescript-plugin-css-modules": "^5.0.1",
|
|
116
116
|
"utils": "^0.3.1"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {}
|
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
margin: 0;
|
|
7
7
|
padding: 5px 3px;
|
|
8
8
|
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
|
|
11
9
|
color: inherit;
|
|
10
|
+
|
|
11
|
+
background-color: transparent;
|
|
12
12
|
border-width: 0;
|
|
13
13
|
outline: none;
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
cursor: pointer;
|
|
15
16
|
|
|
16
17
|
appearance: none;
|
|
17
18
|
fill: transparent;
|
|
@@ -8,12 +8,13 @@
|
|
|
8
8
|
margin: 0;
|
|
9
9
|
padding: 5px 3px;
|
|
10
10
|
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
|
|
13
11
|
color: inherit;
|
|
12
|
+
|
|
13
|
+
background-color: transparent;
|
|
14
14
|
border-width: 0;
|
|
15
15
|
outline: none;
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
cursor: pointer;
|
|
17
18
|
|
|
18
19
|
appearance: none;
|
|
19
20
|
fill: transparent;
|
|
@@ -5,19 +5,21 @@
|
|
|
5
5
|
|
|
6
6
|
padding: 0;
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
color: #fff;
|
|
9
|
+
|
|
10
|
+
font-family: $secondaryFont;
|
|
11
|
+
line-height: 1;
|
|
11
12
|
text-align: center;
|
|
12
13
|
|
|
13
|
-
color: #fff;
|
|
14
14
|
border-width: 0;
|
|
15
15
|
outline: none;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
|
|
19
|
+
transition: background-color 0.15s ease-out;
|
|
19
20
|
|
|
20
21
|
appearance: none;
|
|
22
|
+
user-select: none;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
.root::-moz-focus-inner {
|
|
@@ -26,9 +28,10 @@
|
|
|
26
28
|
|
|
27
29
|
.root[disabled] {
|
|
28
30
|
cursor: default;
|
|
29
|
-
pointer-events: none;
|
|
30
31
|
|
|
31
32
|
opacity: 0.5;
|
|
33
|
+
|
|
34
|
+
pointer-events: none;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
.root > span:first-child {
|
|
@@ -61,6 +64,7 @@
|
|
|
61
64
|
|
|
62
65
|
.gray {
|
|
63
66
|
color: #000;
|
|
67
|
+
|
|
64
68
|
background-color: #f0f0f0;
|
|
65
69
|
}
|
|
66
70
|
|
|
@@ -102,6 +106,7 @@
|
|
|
102
106
|
|
|
103
107
|
.dark {
|
|
104
108
|
color: #adadad;
|
|
109
|
+
|
|
105
110
|
background-color: #3a3a3a;
|
|
106
111
|
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.4);
|
|
107
112
|
}
|
|
@@ -124,6 +129,7 @@
|
|
|
124
129
|
|
|
125
130
|
.light {
|
|
126
131
|
color: #000;
|
|
132
|
+
|
|
127
133
|
background-color: #fff;
|
|
128
134
|
}
|
|
129
135
|
|
|
@@ -145,6 +151,7 @@
|
|
|
145
151
|
|
|
146
152
|
.black {
|
|
147
153
|
color: #7e7d7b;
|
|
154
|
+
|
|
148
155
|
background-color: #000;
|
|
149
156
|
}
|
|
150
157
|
|
|
@@ -189,15 +196,16 @@
|
|
|
189
196
|
height: 42px;
|
|
190
197
|
padding: 6px 18px;
|
|
191
198
|
|
|
199
|
+
font-weight: 600;
|
|
200
|
+
|
|
201
|
+
font-size: 12px;
|
|
202
|
+
line-height: 22px;
|
|
203
|
+
|
|
192
204
|
letter-spacing: 1px;
|
|
193
205
|
text-transform: uppercase;
|
|
194
206
|
|
|
195
207
|
border-radius: 8px;
|
|
196
208
|
|
|
197
|
-
font-size: 12px;
|
|
198
|
-
font-weight: 600;
|
|
199
|
-
line-height: 22px;
|
|
200
|
-
|
|
201
209
|
@media $landscapeTablet {
|
|
202
210
|
padding: 7px 18px 6px;
|
|
203
211
|
|
|
@@ -212,15 +220,16 @@
|
|
|
212
220
|
}
|
|
213
221
|
|
|
214
222
|
.ghost {
|
|
215
|
-
letter-spacing: inherit;
|
|
216
|
-
text-transform: none;
|
|
217
223
|
|
|
218
224
|
color: inherit;
|
|
219
|
-
|
|
225
|
+
font-weight: inherit;
|
|
226
|
+
font-size: inherit;
|
|
220
227
|
|
|
221
228
|
font-family: inherit;
|
|
222
|
-
|
|
223
|
-
|
|
229
|
+
letter-spacing: inherit;
|
|
230
|
+
text-transform: none;
|
|
231
|
+
|
|
232
|
+
background-color: transparent;
|
|
224
233
|
}
|
|
225
234
|
|
|
226
235
|
.isInDropdown {
|
|
@@ -235,11 +244,12 @@
|
|
|
235
244
|
/* LOADING */
|
|
236
245
|
|
|
237
246
|
.root.isLoading {
|
|
238
|
-
cursor: default;
|
|
239
|
-
pointer-events: none;
|
|
240
247
|
|
|
241
248
|
background-color: transparent;
|
|
242
249
|
box-shadow: none;
|
|
250
|
+
cursor: default;
|
|
251
|
+
|
|
252
|
+
pointer-events: none;
|
|
243
253
|
}
|
|
244
254
|
|
|
245
255
|
.loader {
|
|
@@ -257,6 +267,6 @@
|
|
|
257
267
|
}
|
|
258
268
|
|
|
259
269
|
.isFancy.default {
|
|
260
|
-
font-size: 14px;
|
|
261
270
|
font-weight: 700;
|
|
271
|
+
font-size: 14px;
|
|
262
272
|
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
.body {
|
|
8
8
|
position: absolute;
|
|
9
|
-
z-index: 1;
|
|
10
9
|
right: 0;
|
|
11
10
|
bottom: 0;
|
|
12
11
|
left: 0;
|
|
12
|
+
z-index: 1;
|
|
13
13
|
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-flow: column nowrap;
|
|
@@ -24,25 +24,25 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.rich {
|
|
27
|
-
overflow: hidden;
|
|
28
27
|
|
|
29
28
|
margin: 0 -20px;
|
|
29
|
+
overflow: hidden;
|
|
30
30
|
|
|
31
31
|
border-radius: 9px 9px 0 0;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.rich::after {
|
|
35
35
|
position: absolute;
|
|
36
|
-
z-index: 1;
|
|
37
36
|
top: 0;
|
|
38
37
|
right: 0;
|
|
39
38
|
bottom: 0;
|
|
40
39
|
left: 0;
|
|
41
|
-
|
|
42
|
-
content: '';
|
|
40
|
+
z-index: 1;
|
|
43
41
|
|
|
44
42
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
45
43
|
border-radius: 10px 10px 0 0;
|
|
44
|
+
|
|
45
|
+
content: '';
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.dark .body {
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
|
|
57
57
|
.control {
|
|
58
58
|
position: absolute;
|
|
59
|
-
z-index: 10;
|
|
60
59
|
right: 49px;
|
|
61
60
|
bottom: 12px;
|
|
61
|
+
z-index: 10;
|
|
62
62
|
|
|
63
63
|
width: 28px;
|
|
64
64
|
height: 28px;
|
|
@@ -66,19 +66,21 @@
|
|
|
66
66
|
padding: 0;
|
|
67
67
|
|
|
68
68
|
color: #fff;
|
|
69
|
-
|
|
70
|
-
border-radius: 14px;
|
|
71
|
-
outline: none;
|
|
69
|
+
|
|
72
70
|
background-color: rgba(0, 0, 0, 0.7);
|
|
73
71
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E %3Cg fill='%23FEFEFE' fill-rule='evenodd' opacity='.7'%3E %3Cpath d='M12.726 16H3.275A3.276 3.276 0 0 1 0 12.725v-9.45A3.276 3.276 0 0 1 3.275 0h9.45A3.275 3.275 0 0 1 16 3.275v9.45A3.275 3.275 0 0 1 12.726 16zm0-2c.703 0 1.274-.571 1.274-1.275v-9.45C14 2.571 13.429 2 12.726 2H3.275C2.57 2 2 2.571 2 3.275v9.45C2 13.429 2.57 14 3.275 14h9.45z' fill-rule='nonzero'/%3E %3Cpath d='M4.97 8.307l7.046 7.046a.5.5 0 0 0 .708-.707l-7.4-7.4a.5.5 0 0 0-.708 0l-3.97 3.97a.5.5 0 0 0 .708.707L4.97 8.307z' fill-rule='nonzero'/%3E %3Cpath d='M10.875 5.832l3.771 3.771a.5.5 0 0 0 .707-.707l-4.125-4.125a.5.5 0 0 0-.707 0l-4.19 4.19a.5.5 0 1 0 .707.707l3.837-3.836z' fill-rule='nonzero'/%3E %3Cpath d='M5.865 4.269a.894.894 0 1 1-1.787 0 .894.894 0 0 1 1.787 0'/%3E %3C/g%3E %3C/svg%3E");
|
|
74
72
|
background-repeat: no-repeat;
|
|
75
73
|
background-position: center;
|
|
74
|
+
border-width: 0;
|
|
75
|
+
border-radius: 14px;
|
|
76
|
+
outline: none;
|
|
76
77
|
box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.15);
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
.isInDynamicBlock {
|
|
80
|
-
border-radius: 8px;
|
|
81
81
|
overflow: hidden;
|
|
82
|
+
|
|
83
|
+
border-radius: 8px;
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
.isInDynamicBlock .body {
|
|
@@ -87,16 +89,16 @@
|
|
|
87
89
|
|
|
88
90
|
.isInDynamicBlock::after {
|
|
89
91
|
position: absolute;
|
|
90
|
-
z-index: 1;
|
|
91
92
|
top: 0;
|
|
92
93
|
right: 0;
|
|
93
94
|
bottom: 0;
|
|
94
95
|
left: 0;
|
|
95
|
-
|
|
96
|
-
content: '';
|
|
96
|
+
z-index: 1;
|
|
97
97
|
|
|
98
98
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
99
99
|
border-radius: 8px;
|
|
100
|
+
|
|
101
|
+
content: '';
|
|
100
102
|
}
|
|
101
103
|
|
|
102
104
|
/* VISIBILITY */
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
.root {
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
|
|
6
|
-
transform: translateZ(0);
|
|
7
|
-
|
|
8
6
|
font-family: $secondaryFont;
|
|
7
|
+
|
|
8
|
+
transform: translateZ(0);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.root::before {
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
height: 1px;
|
|
16
16
|
margin-bottom: 9px;
|
|
17
17
|
|
|
18
|
-
content: '';
|
|
19
|
-
|
|
20
18
|
background: #000;
|
|
19
|
+
|
|
20
|
+
content: '';
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.list {
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
padding-right: 17px;
|
|
38
38
|
padding-left: 17px;
|
|
39
39
|
|
|
40
|
-
transition: color 250ms ease;
|
|
41
|
-
text-align: center;
|
|
42
|
-
|
|
43
40
|
color: #000;
|
|
44
41
|
|
|
45
42
|
line-height: 1;
|
|
43
|
+
text-align: center;
|
|
44
|
+
|
|
45
|
+
transition: color 250ms ease;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.item:last-child {
|
|
@@ -57,11 +57,12 @@
|
|
|
57
57
|
width: 2px;
|
|
58
58
|
height: 2px;
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
transform: translateY(-50%) translateY(1px);
|
|
60
|
+
background-color: #000;
|
|
62
61
|
|
|
63
62
|
border-radius: 1px;
|
|
64
|
-
|
|
63
|
+
transform: translateY(-50%) translateY(1px);
|
|
64
|
+
|
|
65
|
+
content: '';
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
.item:empty {
|
|
@@ -87,10 +88,10 @@
|
|
|
87
88
|
margin-top: 11px;
|
|
88
89
|
|
|
89
90
|
@media $mobile {
|
|
90
|
-
margin-right: auto;
|
|
91
|
-
margin-left: auto;
|
|
92
91
|
max-width: 460px;
|
|
93
92
|
margin-top: 18px;
|
|
93
|
+
margin-right: auto;
|
|
94
|
+
margin-left: auto;
|
|
94
95
|
}
|
|
95
96
|
}
|
|
96
97
|
|
|
@@ -7,19 +7,20 @@
|
|
|
7
7
|
margin: 0;
|
|
8
8
|
padding: 0 1px 0 0;
|
|
9
9
|
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
|
|
12
10
|
color: #000;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
background-color: transparent;
|
|
11
|
+
font-weight: normal;
|
|
12
|
+
font-size: 16px;
|
|
16
13
|
|
|
17
14
|
font-family: $secondaryFont;
|
|
18
|
-
font-weight: normal;
|
|
19
15
|
line-height: 1;
|
|
20
16
|
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
border-width: 0;
|
|
19
|
+
outline: none;
|
|
20
|
+
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
|
|
21
23
|
appearance: none;
|
|
22
|
-
font-size: 16px;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
.root::after {
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
padding: 20px;
|
|
8
8
|
|
|
9
9
|
color: #fff;
|
|
10
|
+
|
|
11
|
+
background: #4761e0;
|
|
10
12
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
11
13
|
border-radius: 16px;
|
|
12
|
-
background: #4761e0;
|
|
13
14
|
box-shadow: 0 37px 37px rgba(0, 0, 0, 0.09), 0 9px 20px rgba(0, 0, 0, 0.1);
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -19,20 +20,22 @@
|
|
|
19
20
|
width: 16px;
|
|
20
21
|
height: 8px;
|
|
21
22
|
|
|
22
|
-
content: '';
|
|
23
|
-
|
|
24
23
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='8' viewBox='0 0 16 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8 0 8 8H0l8-8Z' fill='%234057CA'/%3E%3Cpath d='M8 1s3.89 3.876 7 7H1l7-7Z' fill='%234761E0'/%3E%3C/svg%3E");
|
|
24
|
+
|
|
25
|
+
content: '';
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.isCenterBottom::after {
|
|
28
29
|
bottom: 0;
|
|
29
30
|
left: 50%;
|
|
31
|
+
|
|
30
32
|
transform: translate(-50%, 100%) rotate(180deg);
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
.isLeftBottom::after {
|
|
34
36
|
bottom: 0;
|
|
35
37
|
left: 0;
|
|
38
|
+
|
|
36
39
|
transform: translate(200%, 100%) rotate(180deg);
|
|
37
40
|
}
|
|
38
41
|
|
|
@@ -46,20 +49,22 @@
|
|
|
46
49
|
.isLeftTop::after {
|
|
47
50
|
top: 0;
|
|
48
51
|
left: 0;
|
|
52
|
+
|
|
49
53
|
transform: translate(200%, -100%);
|
|
50
54
|
}
|
|
51
55
|
|
|
52
56
|
.body {
|
|
53
|
-
font-family: $secondaryFont;
|
|
54
57
|
font-size: 16px;
|
|
58
|
+
font-family: $secondaryFont;
|
|
55
59
|
line-height: 22px;
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
.body h3 {
|
|
59
63
|
margin: 0 0 6px;
|
|
60
64
|
|
|
61
|
-
font-size: inherit;
|
|
62
65
|
font-weight: 700;
|
|
66
|
+
|
|
67
|
+
font-size: inherit;
|
|
63
68
|
line-height: inherit;
|
|
64
69
|
}
|
|
65
70
|
|
|
@@ -74,12 +79,14 @@
|
|
|
74
79
|
.body a {
|
|
75
80
|
color: inherit;
|
|
76
81
|
text-decoration: none;
|
|
82
|
+
|
|
77
83
|
box-shadow: inset 0 -1px;
|
|
78
84
|
}
|
|
79
85
|
|
|
80
86
|
.body a:hover {
|
|
81
|
-
opacity: 0.75;
|
|
82
87
|
color: inherit;
|
|
88
|
+
|
|
89
|
+
opacity: 0.75;
|
|
83
90
|
}
|
|
84
91
|
|
|
85
92
|
.footer {
|