@phillips/seldon 1.180.0 → 1.181.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +104 -102
- package/dist/patterns/HeroBanner/HeroBanner.d.ts +1 -1
- package/dist/patterns/TextBanner/TextBanner.d.ts +26 -0
- package/dist/patterns/TextBanner/TextBanner.js +19 -0
- package/dist/patterns/TextBanner/TextBanner.stories.d.ts +25 -0
- package/dist/patterns/TextBanner/TextBanner.test.d.ts +1 -0
- package/dist/patterns/TextBanner/index.d.ts +1 -0
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/patterns/HeroBanner/_heroBanner.scss +20 -14
- package/dist/scss/patterns/TextBanner/_textBanner.scss +35 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export { default as Video, type VideoProps } from './components/Video/Video';
|
|
|
44
44
|
export * from './patterns/DetailList';
|
|
45
45
|
export * from './patterns/FavoritesCollectionTile';
|
|
46
46
|
export { default as HeroBanner, type HeroBannerProps } from './patterns/HeroBanner/HeroBanner';
|
|
47
|
+
export { default as TextBanner, type TextBannerProps } from './patterns/TextBanner/TextBanner';
|
|
47
48
|
export * from './patterns/LanguageSelector';
|
|
48
49
|
export * from './patterns/SaleHeaderBanner';
|
|
49
50
|
export { default as Social, type SocialProps } from './patterns/Social/Social';
|
|
@@ -96,3 +97,4 @@ export * from './utils/hooks';
|
|
|
96
97
|
export * from './patterns/CountryPicker';
|
|
97
98
|
export * from './components/DescriptiveRadioButton';
|
|
98
99
|
export * from './components/DescriptiveRadioButtonGroup';
|
|
100
|
+
export * from './patterns/TextBanner';
|
package/dist/index.js
CHANGED
|
@@ -60,70 +60,71 @@ import { default as bt } from "./patterns/DetailList/DetailList.js";
|
|
|
60
60
|
import { DetailListAlignment as kt } from "./patterns/DetailList/types.js";
|
|
61
61
|
import { default as ht } from "./patterns/FavoritesCollectionTile/FavoritesCollectionTile.js";
|
|
62
62
|
import { default as Dt } from "./patterns/HeroBanner/HeroBanner.js";
|
|
63
|
-
import { default as Ht } from "./patterns/
|
|
64
|
-
import { default as Nt } from "./patterns/
|
|
65
|
-
import { default as Gt } from "./patterns/SaleHeaderBanner/
|
|
66
|
-
import { default as Ut } from "./patterns/
|
|
67
|
-
import { default as Qt } from "./patterns/
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import { default as Kt } from "./patterns/
|
|
72
|
-
import { default as _t } from "./patterns/ViewingsList/
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import { default as ao } from "./components/
|
|
76
|
-
import { default as so } from "./components/
|
|
77
|
-
import { default as mo } from "./components/
|
|
78
|
-
import { default as uo } from "./components/
|
|
79
|
-
import { default as xo } from "./components/
|
|
80
|
-
import { default as co } from "./
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import { default as ko } from "./
|
|
87
|
-
import { default as ho } from "./
|
|
88
|
-
import { default as Do } from "./site-furniture/
|
|
89
|
-
import { default as Ho } from "./
|
|
90
|
-
import { default as No } from "./components/
|
|
91
|
-
import { default as Go } from "./components/
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import { default as zo } from "./components/
|
|
95
|
-
import { default as Yo } from "./components/
|
|
96
|
-
import { default as qo } from "./components/
|
|
97
|
-
import { default as Ko } from "./components/
|
|
98
|
-
import { default as _o } from "./components/Filter/
|
|
99
|
-
import { default as er } from "./components/Filter/
|
|
100
|
-
import { default as or } from "./components/
|
|
101
|
-
import { default as ar } from "./components/
|
|
102
|
-
import { default as sr } from "./components/
|
|
103
|
-
import { default as dr } from "./components/
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import { default as gr } from "./patterns/
|
|
108
|
-
import { default as Cr } from "./patterns/BidSnapshot/
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import { default as Vr } from "./patterns/
|
|
112
|
-
import { default as yr } from "./patterns/
|
|
63
|
+
import { default as Ht } from "./patterns/TextBanner/TextBanner.js";
|
|
64
|
+
import { default as Nt } from "./patterns/LanguageSelector/LanguageSelector.js";
|
|
65
|
+
import { default as Gt } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
|
|
66
|
+
import { default as Ut } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
|
|
67
|
+
import { default as Qt } from "./patterns/Social/Social.js";
|
|
68
|
+
import { default as zt } from "./patterns/Subscribe/Subscribe.js";
|
|
69
|
+
import { SubscriptionState as Yt } from "./patterns/Subscribe/types.js";
|
|
70
|
+
import { AuthState as qt } from "./patterns/UserManagement/types.js";
|
|
71
|
+
import { default as Kt } from "./patterns/UserManagement/UserManagement.js";
|
|
72
|
+
import { default as _t } from "./patterns/ViewingsList/StatefulViewingsList.js";
|
|
73
|
+
import { default as eo } from "./patterns/ViewingsList/ViewingsList.js";
|
|
74
|
+
import { SeldonProvider as oo } from "./providers/SeldonProvider/SeldonProvider.js";
|
|
75
|
+
import { default as ao } from "./components/ComboBox/ComboBox.js";
|
|
76
|
+
import { default as so } from "./components/ComposedModal/ComposedModal.js";
|
|
77
|
+
import { default as mo } from "./components/ExitGateCard/ExitGateCard.js";
|
|
78
|
+
import { default as uo } from "./components/Loader/Loader.js";
|
|
79
|
+
import { default as xo } from "./components/PageContentWrapper/PageContentWrapper.js";
|
|
80
|
+
import { default as co } from "./components/PhoneNumberPicker/PhoneNumberPicker.js";
|
|
81
|
+
import { default as So } from "./patterns/FiltersInline/FiltersInline.js";
|
|
82
|
+
import { FilterButtonIconType as To, FilterButtonType as Bo } from "./patterns/FiltersInline/types.js";
|
|
83
|
+
import { default as Io } from "./patterns/SaleCard/SaleCard.js";
|
|
84
|
+
import { SaleCardActions as Lo } from "./patterns/SaleCard/SaleCardActions.js";
|
|
85
|
+
import { SaleCardVariants as bo } from "./patterns/SaleCard/types.js";
|
|
86
|
+
import { default as ko } from "./patterns/ViewingDetails/ViewingDetails.js";
|
|
87
|
+
import { default as ho } from "./components/ProgressIndicator/ProgressIndicator.js";
|
|
88
|
+
import { default as Do } from "./site-furniture/Footer/Footer.js";
|
|
89
|
+
import { default as Ho } from "./site-furniture/Header/Header.js";
|
|
90
|
+
import { default as No } from "./components/AddToCalendar/AddToCalendar.js";
|
|
91
|
+
import { default as Go } from "./components/Article/Article.js";
|
|
92
|
+
import { default as Uo } from "./components/Countdown/Countdown.js";
|
|
93
|
+
import { CountdownVariants as Qo } from "./components/Countdown/types.js";
|
|
94
|
+
import { default as zo } from "./components/DescriptiveRadioButton/DescriptiveRadioButton.js";
|
|
95
|
+
import { default as Yo } from "./components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js";
|
|
96
|
+
import { default as qo } from "./components/Divider/Divider.js";
|
|
97
|
+
import { default as Ko } from "./components/FavoritingTileButton/FavoritingTileButton.js";
|
|
98
|
+
import { default as _o } from "./components/Filter/Filter.js";
|
|
99
|
+
import { default as er } from "./components/Filter/FilterInput.js";
|
|
100
|
+
import { default as or } from "./components/Filter/FilterHeader.js";
|
|
101
|
+
import { default as ar } from "./components/NotificationBanner/NotificationBanner.js";
|
|
102
|
+
import { default as sr } from "./components/Pictogram/Pictogram.js";
|
|
103
|
+
import { default as dr } from "./components/TextArea/TextArea.js";
|
|
104
|
+
import { default as pr } from "./components/Toast/Toast.js";
|
|
105
|
+
import { ToastProvider as ir } from "./components/Toast/ToastContextProvider.js";
|
|
106
|
+
import { useToast as nr } from "./components/Toast/useToast.js";
|
|
107
|
+
import { default as gr } from "./patterns/AccountPageHeader/AccountPageHeader.js";
|
|
108
|
+
import { default as Cr } from "./patterns/BidSnapshot/BidSnapshot.js";
|
|
109
|
+
import { default as Br } from "./patterns/BidSnapshot/BidMessage.js";
|
|
110
|
+
import { BidMessageVariants as Ir, BidStatusEnum as Ar } from "./patterns/BidSnapshot/types.js";
|
|
111
|
+
import { default as Vr } from "./patterns/FilterMenu/FilterMenu.js";
|
|
112
|
+
import { default as yr } from "./patterns/ObjectTile/ObjectTile.js";
|
|
113
|
+
import { default as vr } from "./patterns/CountryPicker/CountryPicker.js";
|
|
113
114
|
export {
|
|
114
115
|
M as Accordion,
|
|
115
116
|
E as AccordionItem,
|
|
116
117
|
R as AccordionItemVariant,
|
|
117
118
|
U as AccordionVariants,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
gr as AccountPageHeader,
|
|
120
|
+
No as AddToCalendar,
|
|
121
|
+
Go as Article,
|
|
121
122
|
V as AuctionStatus,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
qt as AuthState,
|
|
124
|
+
Br as BidMessage,
|
|
125
|
+
Ir as BidMessageVariants,
|
|
126
|
+
Cr as BidSnapshot,
|
|
127
|
+
Ar as BidStatusEnum,
|
|
127
128
|
Q as Breadcrumb,
|
|
128
129
|
v as Button,
|
|
129
130
|
w as ButtonVariants,
|
|
@@ -135,81 +136,81 @@ export {
|
|
|
135
136
|
oe as Collapsible,
|
|
136
137
|
ae as CollapsibleContent,
|
|
137
138
|
se as CollapsibleTrigger,
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
ao as ComboBox,
|
|
140
|
+
so as ComposedModal,
|
|
140
141
|
de as ContentPeek,
|
|
141
142
|
pe as ContentPeekHeightUnits,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
Uo as Countdown,
|
|
144
|
+
Qo as CountdownVariants,
|
|
145
|
+
vr as CountryPicker,
|
|
146
|
+
zo as DescriptiveRadioButton,
|
|
147
|
+
Yo as DescriptiveRadioButtonGroup,
|
|
147
148
|
ie as Detail,
|
|
148
149
|
bt as DetailList,
|
|
149
150
|
kt as DetailListAlignment,
|
|
150
|
-
|
|
151
|
+
qo as Divider,
|
|
151
152
|
ne as Drawer,
|
|
152
153
|
ge as Dropdown,
|
|
153
154
|
Ce as ErrorBoundary,
|
|
154
|
-
|
|
155
|
+
mo as ExitGateCard,
|
|
155
156
|
ht as FavoritesCollectionTile,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
Ko as FavoritingTileButton,
|
|
158
|
+
_o as Filter,
|
|
159
|
+
To as FilterButtonIconType,
|
|
160
|
+
Bo as FilterButtonType,
|
|
161
|
+
or as FilterHeader,
|
|
162
|
+
er as FilterInput,
|
|
163
|
+
Vr as FilterMenu,
|
|
164
|
+
So as FiltersInline,
|
|
165
|
+
Do as Footer,
|
|
165
166
|
Be as Grid,
|
|
166
167
|
Ie as GridItem,
|
|
167
168
|
Le as GridItemAlign,
|
|
168
|
-
|
|
169
|
+
Ho as Header,
|
|
169
170
|
Dt as HeroBanner,
|
|
170
171
|
z as Icon,
|
|
171
172
|
F as IconButton,
|
|
172
173
|
be as Input,
|
|
173
|
-
|
|
174
|
+
Nt as LanguageSelector,
|
|
174
175
|
ke as Link,
|
|
175
176
|
De as LinkBlock,
|
|
176
177
|
He as LinkList,
|
|
177
178
|
he as LinkVariants,
|
|
178
|
-
|
|
179
|
+
uo as Loader,
|
|
179
180
|
b as LotStatus,
|
|
180
181
|
Ne as Modal,
|
|
181
182
|
Ge as Navigation,
|
|
182
183
|
Ue as NavigationItem,
|
|
183
184
|
Qe as NavigationItemTrigger,
|
|
184
185
|
ze as NavigationList,
|
|
185
|
-
|
|
186
|
-
|
|
186
|
+
ar as NotificationBanner,
|
|
187
|
+
yr as ObjectTile,
|
|
187
188
|
a as PaddingTokens,
|
|
188
189
|
C as Page,
|
|
189
|
-
|
|
190
|
+
xo as PageContentWrapper,
|
|
190
191
|
Ye as Pagination,
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
co as PhoneNumberPicker,
|
|
193
|
+
sr as Pictogram,
|
|
193
194
|
qe as PinchZoom,
|
|
194
|
-
|
|
195
|
+
ho as ProgressIndicator,
|
|
195
196
|
Ke as Row,
|
|
196
197
|
B as SSRMediaQuery,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
Io as SaleCard,
|
|
199
|
+
Lo as SaleCardActions,
|
|
200
|
+
bo as SaleCardVariants,
|
|
201
|
+
Gt as SaleHeaderBanner,
|
|
202
|
+
Ut as SaleHeaderBrowseAuctions,
|
|
202
203
|
_e as Search,
|
|
203
204
|
et as SeldonImage,
|
|
204
|
-
|
|
205
|
+
oo as SeldonProvider,
|
|
205
206
|
ot as Select,
|
|
206
207
|
at as SelectVariants,
|
|
207
|
-
|
|
208
|
+
Qt as Social,
|
|
208
209
|
f as SpacingTokens,
|
|
209
210
|
st as SplitPanel,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
_t as StatefulViewingsList,
|
|
212
|
+
zt as Subscribe,
|
|
213
|
+
Yt as SubscriptionState,
|
|
213
214
|
y as SupportedLanguages,
|
|
214
215
|
dt as TabsContainer,
|
|
215
216
|
pt as TabsContent,
|
|
@@ -217,16 +218,17 @@ export {
|
|
|
217
218
|
xt as TagsList,
|
|
218
219
|
Ct as Text,
|
|
219
220
|
ct as TextAlignments,
|
|
220
|
-
|
|
221
|
+
dr as TextArea,
|
|
222
|
+
Ht as TextBanner,
|
|
221
223
|
Bt as TextSymbolVariants,
|
|
222
224
|
It as TextSymbols,
|
|
223
225
|
gt as TextVariants,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
226
|
+
pr as Toast,
|
|
227
|
+
ir as ToastProvider,
|
|
228
|
+
Kt as UserManagement,
|
|
227
229
|
Lt as Video,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
+
ko as ViewingDetails,
|
|
231
|
+
eo as ViewingsList,
|
|
230
232
|
s as defaultYear,
|
|
231
233
|
l as emailValidation,
|
|
232
234
|
d as encodeURLSearchParams,
|
|
@@ -240,5 +242,5 @@ export {
|
|
|
240
242
|
P as ssrMediaQueryStyle,
|
|
241
243
|
g as useNormalizedInputProps,
|
|
242
244
|
A as usePendingState,
|
|
243
|
-
|
|
245
|
+
nr as useToast
|
|
244
246
|
};
|
|
@@ -36,7 +36,7 @@ export interface HeroBannerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
36
36
|
*
|
|
37
37
|
* [Figma Link](https://www.figma.com/design/xMuOXOAKVt5HC7hgYjF3ot/Components-v2.0?node-id=6532-691&m=dev)
|
|
38
38
|
*
|
|
39
|
-
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/
|
|
39
|
+
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/patterns-herobanner--overview)
|
|
40
40
|
*/
|
|
41
41
|
declare const HeroBanner: import('react').ForwardRefExoticComponent<HeroBannerProps & import('react').RefAttributes<HTMLElement>>;
|
|
42
42
|
export default HeroBanner;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface TextBannerProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Main header text
|
|
5
|
+
*/
|
|
6
|
+
headerText: string;
|
|
7
|
+
/**
|
|
8
|
+
* A description to be used with the TEXT variant of HeroBanner
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Unique id for component testing
|
|
13
|
+
*/
|
|
14
|
+
id?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* ## Overview
|
|
18
|
+
*
|
|
19
|
+
* Text Banner UI component
|
|
20
|
+
*
|
|
21
|
+
* [Figma Link](https://www.figma.com/design/H1kCh6MXU8jasYbQuCbyBt/Calendar?m=auto&node-id=2969-204916)
|
|
22
|
+
*
|
|
23
|
+
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/patterns-textbanner--overview)
|
|
24
|
+
*/
|
|
25
|
+
declare const TextBanner: import('react').ForwardRefExoticComponent<TextBannerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export default TextBanner;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
|
+
import { getCommonProps as p } from "../../utils/index.js";
|
|
4
|
+
import n from "../../node_modules/classnames/index.js";
|
|
5
|
+
import { TextVariants as d } from "../../components/Text/types.js";
|
|
6
|
+
import f from "../../components/Text/Text.js";
|
|
7
|
+
const x = c(
|
|
8
|
+
({ headerText: o, className: t, description: a, ...s }, m) => {
|
|
9
|
+
const { className: e, ...i } = p(s, "TextBanner");
|
|
10
|
+
return /* @__PURE__ */ r("header", { ...i, className: n(e, t), ref: m, ...s, children: /* @__PURE__ */ l("span", { className: n(`${e}__content-wrapper`), children: [
|
|
11
|
+
/* @__PURE__ */ r(f, { variant: d.snwHeadingHero1, children: o }),
|
|
12
|
+
a ? /* @__PURE__ */ r("p", { className: `${e}__text-description`, children: a }) : null
|
|
13
|
+
] }) });
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
x.displayName = "TextBanner";
|
|
17
|
+
export {
|
|
18
|
+
x as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TextBannerProps } from './TextBanner';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<TextBannerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Playground: {
|
|
8
|
+
(props: TextBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
headerText: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
headerText: {
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
description: {
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TextBanner, type TextBannerProps } from './TextBanner';
|
|
@@ -45,25 +45,31 @@ body:has(.seldon-header__toggle-btn--open) {
|
|
|
45
45
|
margin: 0;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
h1,
|
|
49
|
-
h2,
|
|
50
|
-
p {
|
|
51
|
-
color: $pure-white;
|
|
52
|
-
text-align: center;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
p {
|
|
56
|
-
font-size: 0.875rem;
|
|
57
|
-
letter-spacing: 0.125rem;
|
|
58
|
-
line-height: 1;
|
|
59
|
-
text-align: center;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
48
|
& .#{$px}-hero-banner__content-wrapper {
|
|
63
49
|
align-items: center;
|
|
64
50
|
display: flex;
|
|
65
51
|
flex-direction: column;
|
|
66
52
|
max-width: 1082px;
|
|
53
|
+
|
|
54
|
+
h1,
|
|
55
|
+
h2,
|
|
56
|
+
p {
|
|
57
|
+
color: $pure-white;
|
|
58
|
+
text-align: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
p {
|
|
62
|
+
font-size: 0.875rem;
|
|
63
|
+
letter-spacing: 0.125rem;
|
|
64
|
+
line-height: 1;
|
|
65
|
+
text-align: center;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
& .#{$px}-hero-banner__text-description {
|
|
69
|
+
text-transform: none;
|
|
70
|
+
|
|
71
|
+
@include text($body2);
|
|
72
|
+
}
|
|
67
73
|
}
|
|
68
74
|
|
|
69
75
|
& .#{$px}-hero-banner__pre-head {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use '../../allPartials' as *;
|
|
2
|
+
|
|
3
|
+
.#{$px}-text-banner {
|
|
4
|
+
&__content-wrapper {
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
max-width: none;
|
|
10
|
+
padding: 40px 48px;
|
|
11
|
+
|
|
12
|
+
h1 {
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1,
|
|
17
|
+
p {
|
|
18
|
+
color: $pure-black;
|
|
19
|
+
max-width: 100%;
|
|
20
|
+
min-height: 48px;
|
|
21
|
+
text-align: left;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include media($breakpoint-md) {
|
|
25
|
+
align-items: center;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
|
|
28
|
+
h1,
|
|
29
|
+
p {
|
|
30
|
+
max-width: 50%;
|
|
31
|
+
width: 50%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|