@uncinc/uncinc-react-kitchen-sink 2.6.1 → 2.6.4
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/Context/ViewportContext.d.ts +23 -0
- package/dist/components/AbbreviationAnnotation/index.d.ts +24 -0
- package/dist/components/Accordion/AccordionItem/index.d.ts +17 -0
- package/dist/components/Accordion/AccordionItem/index.js +8 -8
- package/dist/components/Accordion/AccordionItemVariant/index.d.ts +23 -0
- package/dist/components/Accordion/index.d.ts +3 -0
- package/dist/components/Accordion/index.js +3 -3
- package/dist/components/ApiAutocomplete/index.d.ts +19 -0
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Cookie/Checkbox/index.d.ts +12 -0
- package/dist/components/Cookie/index.d.ts +72 -0
- package/dist/components/Dialog/DialogHelpersStory/index.d.ts +3 -0
- package/dist/components/Dialog/DialogHookStory/index.d.ts +3 -0
- package/dist/components/Dialog/DialogHookStory/index.js +15 -23
- package/dist/components/Dialog/DialogOverrideStory/index.d.ts +3 -0
- package/dist/components/Dialog/index.d.ts +5 -5
- package/dist/components/Download/index.js +1 -1
- package/dist/components/FontSizeSwitcher/index.d.ts +11 -0
- package/dist/components/Form/Checkbox/index.d.ts +9 -0
- package/dist/components/Form/Checkbox/index.js +2 -1
- package/dist/components/Form/Checkboxes/index.d.ts +3 -0
- package/dist/components/Form/Date/index.d.ts +3 -0
- package/dist/components/Form/DatePicker/index.d.ts +3 -0
- package/dist/components/Form/DateSelect/index.d.ts +17 -0
- package/dist/components/Form/Email/index.d.ts +3 -0
- package/dist/components/Form/FormikWrapper/index.d.ts +3 -0
- package/dist/components/Form/GenericFormElement/index.d.ts +3 -0
- package/dist/components/Form/Number/index.d.ts +3 -0
- package/dist/components/Form/RadioButtons/index.d.ts +3 -0
- package/dist/components/Form/SearchField/index.d.ts +3 -0
- package/dist/components/Form/Select/Input/index.d.ts +3 -0
- package/dist/components/Form/Select/index.d.ts +3 -0
- package/dist/components/Form/TextField/index.d.ts +4 -0
- package/dist/components/Form/TextField/index.js +2 -1
- package/dist/components/Form/Textarea/index.d.ts +3 -0
- package/dist/components/Form/commonTests.d.ts +6 -0
- package/dist/components/Form/{TextField/index.test.js → commonTests.js} +65 -94
- package/dist/components/Hamburger/index.d.ts +14 -0
- package/dist/components/Header/index.d.ts +10 -0
- package/dist/components/Image/Background/index.d.ts +8 -0
- package/dist/components/Image/Picture/index.d.ts +2 -2
- package/dist/components/InlineMenu/index.d.ts +44 -0
- package/dist/components/InlineMenu/index.js +156 -40
- package/dist/components/Layout/Container/index.d.ts +22 -0
- package/dist/components/Layout/Container/index.js +14 -12
- package/dist/components/Layout/QuickLayout/Auto/index.d.ts +14 -0
- package/dist/components/Layout/QuickLayout/Center/index.d.ts +6 -0
- package/dist/components/Layout/QuickLayout/Clamp/index.d.ts +16 -0
- package/dist/components/Layout/QuickLayout/Sidebar/index.d.ts +14 -0
- package/dist/components/Layout/QuickLayout/SpaceBetween/index.d.ts +14 -0
- package/dist/components/Layout/QuickLayout/Stack/index.d.ts +7 -0
- package/dist/components/Layout/QuickLayout/Wrap/index.d.ts +14 -0
- package/dist/components/Layout/QuickLayout/index.d.ts +12 -0
- package/dist/components/Lottie/LottieAnimation/index.d.ts +3 -0
- package/dist/components/Lottie/LottieAnimationWithMousePosition.d.ts +6 -0
- package/dist/components/Lottie/index.d.ts +3 -0
- package/dist/components/MagicLine/index.d.ts +6 -0
- package/dist/components/MediaPlayer/index.js +6 -5
- package/dist/components/NavigationScroll/index.d.ts +10 -0
- package/dist/components/Pagination/index.d.ts +57 -0
- package/dist/components/SearchKit/Facets/ChipFacet/index.d.ts +8 -0
- package/dist/components/SearchKit/Facets/ListFacet/index.d.ts +8 -0
- package/dist/components/SearchKit/Facets/SelectFacet/index.d.ts +8 -0
- package/dist/components/SearchKit/Query/index.d.ts +7 -0
- package/dist/components/SearchKit/SearchFacets/index.d.ts +14 -0
- package/dist/components/SearchKit/SearchField/index.d.ts +16 -0
- package/dist/components/SearchKit/SearchLoadMore/index.d.ts +7 -0
- package/dist/components/SearchKit/SearchPage/index.d.ts +14 -0
- package/dist/components/SearchKit/SearchPagination/index.d.ts +5 -0
- package/dist/components/SearchKit/SearchReset/index.d.ts +7 -0
- package/dist/components/SearchKit/SearchResults/index.d.ts +33 -0
- package/dist/components/SearchKit/SearchSelectedFilters/Filters/CustomValue/index.d.ts +5 -0
- package/dist/components/SearchKit/SearchSelectedFilters/Filters/DateRange/index.d.ts +6 -0
- package/dist/components/SearchKit/SearchSelectedFilters/Filters/NumericRange/index.d.ts +6 -0
- package/dist/components/SearchKit/SearchSelectedFilters/Filters/Value/index.d.ts +6 -0
- package/dist/components/SearchKit/SearchSelectedFilters/index.d.ts +6 -0
- package/dist/components/SearchKit/SearchSorting/index.d.ts +6 -0
- package/dist/components/SearchKit/index.d.ts +37 -0
- package/dist/components/Share/index.d.ts +18 -0
- package/dist/components/Sliders/SliderRelated/index.d.ts +21 -0
- package/dist/components/TableRender/index.d.ts +10 -0
- package/dist/components/TableRender/index.js +66 -0
- package/dist/components/TableRender/style.scss +106 -0
- package/dist/components/TitleWithText/index.d.ts +3 -1
- package/dist/components/TitleWithText/index.js +8 -5
- package/dist/components/WysiwygField/index.d.ts +1 -1
- package/dist/components/WysiwygField/index.js +2 -1
- package/dist/components/index.d.ts +16 -0
- package/dist/config/constants.d.ts +1 -1
- package/dist/config/i18next/index.d.ts +2 -0
- package/dist/helpers/date.d.ts +3 -0
- package/dist/helpers/gtm.d.ts +1 -1
- package/dist/helpers/index.d.ts +14 -0
- package/dist/helpers/index.js +31 -0
- package/dist/helpers/useValueForCurrentViewPort.d.ts +1 -0
- package/dist/hooks/useClickOutside.js +1 -1
- package/dist/hooks/useDialog.d.ts +1 -4
- package/dist/hooks/useDialogHelpers.d.ts +1 -1
- package/dist/hooks/useOnScreen.d.ts +2 -0
- package/dist/hooks/useOnScreen.js +6 -6
- package/dist/hooks/usePrevious.d.ts +1 -0
- package/dist/hooks/usePrevious.js +1 -7
- package/dist/hooks/useScrollPosition.d.ts +2 -0
- package/dist/hooks/useScrollPosition.js +1 -1
- package/dist/hooks/useWindowDimensions.d.ts +4 -0
- package/dist/index.d.ts +73 -0
- package/dist/index.js +14 -0
- package/dist/organisms/Downloads/index.js +4 -2
- package/dist/organisms/ImageGrid/index.d.ts +25 -0
- package/dist/organisms/ImageGrid/index.js +30 -0
- package/dist/organisms/ImageGrid/style.scss +53 -0
- package/dist/organisms/Text/index.d.ts +2 -0
- package/dist/organisms/Text/index.js +5 -1
- package/dist/setupTests.d.ts +1 -0
- package/dist/styles/assets/_variables.scss +5 -1
- package/package.json +10 -8
- package/dist/components/AbbreviationAnnotation/stories.js +0 -38
- package/dist/components/AbbreviationAnnotation/stories.scss +0 -39
- package/dist/components/Accordion/stories.js +0 -40
- package/dist/components/ApiAutocomplete/stories.js +0 -29
- package/dist/components/Button/stories.js +0 -36
- package/dist/components/Button/stories.scss +0 -45
- package/dist/components/CallToAction/stories.d.ts +0 -8
- package/dist/components/CallToAction/stories.js +0 -37
- package/dist/components/Cookie/stories.js +0 -91
- package/dist/components/Cookie/stories.scss +0 -70
- package/dist/components/Dialog/stories.js +0 -21
- package/dist/components/Download/stories.d.ts +0 -8
- package/dist/components/Download/stories.js +0 -28
- package/dist/components/Download/stories.scss +0 -67
- package/dist/components/FontSizeSwitcher/stories.js +0 -25
- package/dist/components/Form/Checkbox/stories.js +0 -37
- package/dist/components/Form/Checkboxes/index.test.js +0 -155
- package/dist/components/Form/Checkboxes/stories.js +0 -49
- package/dist/components/Form/Date/stories.js +0 -31
- package/dist/components/Form/DatePicker/stories.js +0 -31
- package/dist/components/Form/DateSelect/stories.js +0 -54
- package/dist/components/Form/Email/stories.js +0 -31
- package/dist/components/Form/Number/stories.js +0 -34
- package/dist/components/Form/RadioButtons/index.test.js +0 -146
- package/dist/components/Form/RadioButtons/stories.js +0 -54
- package/dist/components/Form/Select/stories.js +0 -70
- package/dist/components/Form/TextField/stories.js +0 -40
- package/dist/components/Form/Textarea/stories.js +0 -31
- package/dist/components/Hamburger/stories.js +0 -50
- package/dist/components/Header/stories.js +0 -50
- package/dist/components/Header/stories.scss +0 -11
- package/dist/components/Image/stories.js +0 -89
- package/dist/components/Image/stories.scss +0 -20
- package/dist/components/InlineMenu/stories.js +0 -68
- package/dist/components/InlineMenu/stories.scss +0 -10
- package/dist/components/Layout/Container/stories.js +0 -95
- package/dist/components/Layout/Container/stories.scss +0 -21
- package/dist/components/Layout/QuickLayout/stories.js +0 -104
- package/dist/components/Lottie/stories.js +0 -66
- package/dist/components/MagicLine/stories.js +0 -63
- package/dist/components/MagicLine/stories.scss +0 -38
- package/dist/components/MediaPlayer/stories.d.ts +0 -12
- package/dist/components/MediaPlayer/stories.js +0 -146
- package/dist/components/NavigationScroll/stories.js +0 -21
- package/dist/components/NavigationScroll/stories.scss +0 -17
- package/dist/components/Pagination/stories.js +0 -103
- package/dist/components/Pagination/stories.scss +0 -31
- package/dist/components/SearchKit/stories.js +0 -205
- package/dist/components/Share/stories.js +0 -18
- package/dist/components/Share/stories.scss +0 -63
- package/dist/components/Sliders/SliderRelated/stories.js +0 -91
- package/dist/components/TitleWithText/stories.d.ts +0 -8
- package/dist/components/TitleWithText/stories.js +0 -24
- package/dist/components/TitleWithText/stories.scss +0 -0
- package/dist/components/WysiwygField/stories.js +0 -43
- package/dist/organisms/Downloads/stories.d.ts +0 -8
- package/dist/organisms/Downloads/stories.js +0 -43
- package/dist/organisms/Downloads/stories.scss +0 -67
- package/dist/organisms/Quote/stories.d.ts +0 -8
- package/dist/organisms/Quote/stories.js +0 -39
- package/dist/organisms/Quote/stories.scss +0 -48
- package/dist/organisms/Text/stories.d.ts +0 -8
- package/dist/organisms/Text/stories.js +0 -30
- package/dist/organisms/Text/stories.scss +0 -29
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.Default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _ = _interopRequireDefault(require("."));
|
|
9
|
-
require("./stories.scss");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
-
var _default = {
|
|
13
|
-
title: 'Organisms/Downloads',
|
|
14
|
-
component: _.default
|
|
15
|
-
};
|
|
16
|
-
exports.default = _default;
|
|
17
|
-
var Default = function Default(args) {
|
|
18
|
-
var dummyPdf = "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf";
|
|
19
|
-
var downloadItems = [{
|
|
20
|
-
source: dummyPdf,
|
|
21
|
-
title: "Filetitle",
|
|
22
|
-
description: "Filedescription",
|
|
23
|
-
filename: "manual.pdf",
|
|
24
|
-
filesize: 1254894381,
|
|
25
|
-
mime: "application/pdf"
|
|
26
|
-
}, {
|
|
27
|
-
source: dummyPdf,
|
|
28
|
-
title: "Filetitle",
|
|
29
|
-
filesize: 84384313,
|
|
30
|
-
mime: "application/pdf"
|
|
31
|
-
}, {
|
|
32
|
-
source: dummyPdf,
|
|
33
|
-
title: "Filetitle",
|
|
34
|
-
filename: "picture.jpg",
|
|
35
|
-
mime: "image/jpeg"
|
|
36
|
-
}];
|
|
37
|
-
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_.default, _extends({
|
|
38
|
-
title: "Downloads",
|
|
39
|
-
text: "These are some things you can download!",
|
|
40
|
-
downloads: downloadItems
|
|
41
|
-
}, args)));
|
|
42
|
-
};
|
|
43
|
-
exports.Default = Default;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
@import '../../styles/assets/variables';
|
|
2
|
-
|
|
3
|
-
.Download {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
|
|
7
|
-
max-width: 80rem;
|
|
8
|
-
margin-bottom: 3rem;
|
|
9
|
-
padding: 1rem;
|
|
10
|
-
padding: 1rem;
|
|
11
|
-
|
|
12
|
-
text-decoration: none;
|
|
13
|
-
|
|
14
|
-
background-color: $color--grey--lighter;
|
|
15
|
-
border: 2px solid $color--grey;
|
|
16
|
-
border-radius: 1rem;
|
|
17
|
-
border-radius: 1rem;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
&:hover {
|
|
21
|
-
color: $color--white;
|
|
22
|
-
background-color: $color--primary;
|
|
23
|
-
border-radius: 1rem;
|
|
24
|
-
|
|
25
|
-
div {
|
|
26
|
-
color: $color--white;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&__icon {
|
|
30
|
-
background-position-y: -1em;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&__icon {
|
|
35
|
-
width: 3rem;
|
|
36
|
-
height: 3rem;
|
|
37
|
-
margin: 3rem 3rem 3rem 2rem;
|
|
38
|
-
font-size: 3rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&__content {
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
flex-grow: 1;
|
|
45
|
-
gap: 1rem;
|
|
46
|
-
|
|
47
|
-
margin-right: 1rem;
|
|
48
|
-
padding: 1rem;
|
|
49
|
-
|
|
50
|
-
border: 2px solid $color--grey;
|
|
51
|
-
border-radius: 1rem;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__title,
|
|
55
|
-
&__description,
|
|
56
|
-
&__attributes {
|
|
57
|
-
margin: 0;
|
|
58
|
-
padding: 1rem;
|
|
59
|
-
border: 2px solid $color--grey;
|
|
60
|
-
border-radius: 1rem;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&__extension {
|
|
64
|
-
margin-right: 1rem;
|
|
65
|
-
text-decoration: none;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.Default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _ = _interopRequireDefault(require("."));
|
|
9
|
-
require("./stories.scss");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
var _default = {
|
|
12
|
-
title: 'Organisms/Quote',
|
|
13
|
-
component: _.default
|
|
14
|
-
};
|
|
15
|
-
exports.default = _default;
|
|
16
|
-
var Default = function Default(args) {
|
|
17
|
-
var imageUrl = "https://upload.wikimedia.org/wikipedia/en/thumb/9/97/Doc_Brown.JPG/220px-Doc_Brown.JPG";
|
|
18
|
-
var imageSrc = {
|
|
19
|
-
400: imageUrl,
|
|
20
|
-
1000: imageUrl
|
|
21
|
-
};
|
|
22
|
-
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_.default, {
|
|
23
|
-
quote: "Roads? Where we're going we don't need roads.",
|
|
24
|
-
writer: "Emmett Lathrop Brown, Ph.D.",
|
|
25
|
-
position: "Scientist, Physicist, Blacksmith",
|
|
26
|
-
profileImage: imageSrc,
|
|
27
|
-
profileImageLarge: imageUrl,
|
|
28
|
-
icon: "marker"
|
|
29
|
-
}), /*#__PURE__*/_react.default.createElement(_.default, {
|
|
30
|
-
quote: "Roads? Where we're going we don't need roads.",
|
|
31
|
-
writer: "Emmett Lathrop Brown, Ph.D.",
|
|
32
|
-
position: "Scientist, Physicist, Blacksmith",
|
|
33
|
-
profileImage: imageSrc,
|
|
34
|
-
profileImageLarge: imageUrl,
|
|
35
|
-
icon: "arrow",
|
|
36
|
-
flipped: true
|
|
37
|
-
}));
|
|
38
|
-
};
|
|
39
|
-
exports.Default = Default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import '../../styles/assets/variables';
|
|
2
|
-
|
|
3
|
-
.Quote {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
|
|
7
|
-
&__quotewrapper {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
margin-left: 3rem;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__icon {
|
|
15
|
-
font-size: 5rem;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__writer {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: row;
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&__profileImage {
|
|
25
|
-
margin-right: 2rem;
|
|
26
|
-
border-radius: 50%;
|
|
27
|
-
max-height: 6.6rem;
|
|
28
|
-
max-width: 6.6rem;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
|
|
31
|
-
img {
|
|
32
|
-
overflow: auto;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&Large {
|
|
36
|
-
border-radius: 50%;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&--flipped {
|
|
41
|
-
flex-direction: row-reverse;
|
|
42
|
-
|
|
43
|
-
.Quote__quotewrapper {
|
|
44
|
-
margin-left: 0rem;
|
|
45
|
-
margin-right: 3rem;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.Default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _ = _interopRequireDefault(require("."));
|
|
9
|
-
require("./stories.scss");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
-
var _default = {
|
|
13
|
-
title: 'Organisms/Text',
|
|
14
|
-
component: _.default
|
|
15
|
-
};
|
|
16
|
-
exports.default = _default;
|
|
17
|
-
var Default = function Default(args) {
|
|
18
|
-
var html = "<p>This is some text in a <code>WysiwygField</code> so you can put whatever you like in here.<br /><br />\n For example, a <ul><li>list</li><li>with</li><li>items</li></ul> perhaps?</p>";
|
|
19
|
-
var more = "<p>If you like, you can have some text behind a read-more button, like so.<br />\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris\n nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit\n esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt\n in culpa qui officia deserunt mollit anim id est laborum.</p>";
|
|
20
|
-
return /*#__PURE__*/_react.default.createElement(_.default, _extends({
|
|
21
|
-
title: "Text",
|
|
22
|
-
text: html,
|
|
23
|
-
readMore: more,
|
|
24
|
-
readMoreHeight: 60,
|
|
25
|
-
link: "https://www.uncinc.nl/",
|
|
26
|
-
linkText: "Optionally, this component can have a seperate link element",
|
|
27
|
-
target: "_blank"
|
|
28
|
-
}, args));
|
|
29
|
-
};
|
|
30
|
-
exports.Default = Default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@import '../../styles/assets/variables';
|
|
2
|
-
|
|
3
|
-
.Text {
|
|
4
|
-
&__read_more {
|
|
5
|
-
position: relative;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
transition: height .33s linear;
|
|
8
|
-
|
|
9
|
-
&:not(.Text__read_more--open):after {
|
|
10
|
-
content: '';
|
|
11
|
-
|
|
12
|
-
position: absolute;
|
|
13
|
-
top: 0;
|
|
14
|
-
right: 0;
|
|
15
|
-
bottom: 0;
|
|
16
|
-
left: 0;
|
|
17
|
-
|
|
18
|
-
opacity: 1;
|
|
19
|
-
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, $color--white 100%);
|
|
20
|
-
|
|
21
|
-
transition: opacity .33s linear;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&__button {
|
|
25
|
-
display: block;
|
|
26
|
-
margin-bottom: 2rem;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|