@pareto-engineering/design-system 2.0.0-alpha.20 → 2.0.0-alpha.24
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/cjs/a/BackgroundGradient/styles.scss +1 -1
- package/dist/cjs/a/Shapes/styles.scss +9 -9
- package/dist/cjs/b/Button/styles.scss +1 -1
- package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +3 -3
- package/dist/cjs/c/ContentSlides/styles.scss +10 -4
- package/dist/cjs/f/common/Label/styles.scss +1 -1
- package/dist/cjs/f/fields/ChoicesInput/styles.scss +17 -2
- package/dist/cjs/f/fields/SelectInput/SelectInput.js +13 -5
- package/dist/cjs/f/fields/SelectInput/styles.scss +13 -8
- package/dist/cjs/f/fields/TextInput/TextInput.js +10 -3
- package/dist/cjs/f/fields/TextInput/styles.scss +16 -3
- package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +3 -3
- package/dist/cjs/f/fields/TextareaInput/styles.scss +19 -6
- package/dist/cjs/f/fields/index.js +0 -24
- package/dist/cjs/form-reset.scss +1 -1
- package/dist/es/a/BackgroundGradient/styles.scss +1 -1
- package/dist/es/a/Shapes/styles.scss +9 -9
- package/dist/es/b/Button/styles.scss +1 -1
- package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +3 -3
- package/dist/es/c/ContentSlides/styles.scss +10 -4
- package/dist/es/f/common/Label/styles.scss +1 -1
- package/dist/es/f/fields/ChoicesInput/styles.scss +17 -2
- package/dist/es/f/fields/SelectInput/SelectInput.js +13 -5
- package/dist/es/f/fields/SelectInput/styles.scss +13 -8
- package/dist/es/f/fields/TextInput/TextInput.js +10 -3
- package/dist/es/f/fields/TextInput/styles.scss +16 -3
- package/dist/es/f/fields/TextareaInput/TextareaInput.js +3 -3
- package/dist/es/f/fields/TextareaInput/styles.scss +19 -6
- package/dist/es/f/fields/index.js +0 -3
- package/dist/es/form-reset.scss +1 -1
- package/package.json +2 -2
- package/src/__snapshots__/Storyshots.test.js.snap +407 -382
- package/src/stories/c/ContentSlides.stories.jsx +154 -2
- package/src/stories/f/SelectInput.stories.jsx +10 -8
- package/src/stories/f/TextInput.stories.jsx +7 -6
- package/src/stories/f/TextareaInput.stories.jsx +4 -4
- package/src/ui/a/BackgroundGradient/styles.scss +1 -1
- package/src/ui/a/Shapes/styles.scss +9 -9
- package/src/ui/b/Button/styles.scss +1 -1
- package/src/ui/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.jsx +3 -3
- package/src/ui/c/ContentSlides/styles.scss +10 -4
- package/src/ui/f/common/Label/styles.scss +1 -1
- package/src/ui/f/fields/ChoicesInput/styles.scss +17 -2
- package/src/ui/f/fields/SelectInput/SelectInput.jsx +10 -1
- package/src/ui/f/fields/SelectInput/styles.scss +13 -8
- package/src/ui/f/fields/TextInput/TextInput.jsx +9 -1
- package/src/ui/f/fields/TextInput/styles.scss +16 -3
- package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +3 -3
- package/src/ui/f/fields/TextareaInput/styles.scss +19 -6
- package/src/ui/f/fields/index.js +0 -3
- package/src/ui/form-reset.scss +1 -1
- package/dist/cjs/a/GradientBackground/GradientBackground.js +0 -140
- package/dist/cjs/a/GradientBackground/index.js +0 -15
- package/dist/cjs/a/GradientBackground/styles.scss +0 -191
- package/dist/cjs/c/AcceptCookies/AcceptCookies.js +0 -134
- package/dist/cjs/c/AcceptCookies/index.js +0 -15
- package/dist/cjs/c/AcceptCookies/styles.scss +0 -49
- package/dist/cjs/c/BlogCategoryButton/BlogCategoryButton.js +0 -95
- package/dist/cjs/c/BlogCategoryButton/index.js +0 -15
- package/dist/cjs/c/BlogContext/BlogContextProvider.js +0 -63
- package/dist/cjs/c/BlogContext/Context.js +0 -16
- package/dist/cjs/c/BlogContext/ContextProvider.js +0 -63
- package/dist/cjs/c/BlogContext/index.js +0 -31
- package/dist/cjs/c/BlogContext/useBlog.js +0 -16
- package/dist/cjs/c/BlogPost/BlogPost.js +0 -147
- package/dist/cjs/c/BlogPost/index.js +0 -15
- package/dist/cjs/c/BlogPost/styles.scss +0 -33
- package/dist/cjs/c/BlogPostsList/BlogPostsList.js +0 -73
- package/dist/cjs/c/BlogPostsList/common/Card/Card.js +0 -170
- package/dist/cjs/c/BlogPostsList/common/Card/index.js +0 -15
- package/dist/cjs/c/BlogPostsList/common/index.js +0 -13
- package/dist/cjs/c/BlogPostsList/index.js +0 -15
- package/dist/cjs/c/BlogPostsList/styles.scss +0 -72
- package/dist/cjs/c/SiteFooter/SiteFooter.js +0 -73
- package/dist/cjs/c/SiteFooter/common/Section/Section.js +0 -95
- package/dist/cjs/c/SiteFooter/common/Section/index.js +0 -15
- package/dist/cjs/c/SiteFooter/common/index.js +0 -13
- package/dist/cjs/c/SiteFooter/index.js +0 -15
- package/dist/cjs/c/SiteFooter/styles.scss +0 -34
- package/dist/cjs/c/SiteHeaderCTA/SiteHeaderCTA.js +0 -108
- package/dist/cjs/c/SiteHeaderCTA/index.js +0 -15
- package/dist/cjs/c/SiteHeaderCTA/styles.scss +0 -44
- package/dist/cjs/c/SiteMission/SiteMission.js +0 -113
- package/dist/cjs/c/SiteMission/index.js +0 -15
- package/dist/cjs/c/SiteMission/styles.scss +0 -30
- package/dist/cjs/c/SiteNavigation/SiteNavigation.js +0 -130
- package/dist/cjs/c/SiteNavigation/index.js +0 -15
- package/dist/cjs/c/SiteNavigation/styles.scss +0 -118
- package/dist/cjs/c/SiteOnboardingStep/SiteOnboardingStep.js +0 -98
- package/dist/cjs/c/SiteOnboardingStep/index.js +0 -15
- package/dist/cjs/c/SiteOnboardingStep/styles.scss +0 -51
- package/dist/cjs/c/SitePricing/SitePricing.js +0 -108
- package/dist/cjs/c/SitePricing/index.js +0 -15
- package/dist/cjs/c/SitePricing/styles.scss +0 -73
- package/dist/cjs/c/SiteServices/SiteServices.js +0 -211
- package/dist/cjs/c/SiteServices/index.js +0 -15
- package/dist/cjs/c/SiteServices/styles.scss +0 -138
- package/dist/cjs/c/TeamGallery/TeamGallery.js +0 -80
- package/dist/cjs/c/TeamGallery/common/PersonCard/PersonCard.js +0 -84
- package/dist/cjs/c/TeamGallery/common/PersonCard/index.js +0 -15
- package/dist/cjs/c/TeamGallery/common/index.js +0 -13
- package/dist/cjs/c/TeamGallery/index.js +0 -15
- package/dist/cjs/c/TeamGallery/styles.scss +0 -100
- package/dist/cjs/c/Testimonials/Testimonials.js +0 -119
- package/dist/cjs/c/Testimonials/index.js +0 -15
- package/dist/cjs/c/Testimonials/styles.scss +0 -112
- package/dist/cjs/experimental/GradientBackground/GradientBackground.js +0 -98
- package/dist/cjs/experimental/GradientBackground/index.js +0 -15
- package/dist/cjs/experimental/GradientBackground/styles.scss +0 -64
- package/dist/cjs/experimental/index.js +0 -13
- package/dist/cjs/f/fields/CheckboxInput/CheckboxInput.js +0 -105
- package/dist/cjs/f/fields/CheckboxInput/index.js +0 -15
- package/dist/cjs/f/fields/CheckboxInput/styles.scss +0 -28
- package/dist/cjs/f/fields/RadioInput/RadioInput.js +0 -110
- package/dist/cjs/f/fields/RadioInput/index.js +0 -15
- package/dist/cjs/f/fields/RadioInput/styles.scss +0 -26
- package/dist/cjs/f/fields/TaskRecommendation/TaskRecommendation.js +0 -129
- package/dist/cjs/f/fields/TaskRecommendation/index.js +0 -15
- package/dist/cjs/f/fields/TaskRecommendation/styles.scss +0 -37
- package/dist/cjs/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +0 -131
- package/dist/cjs/f/fields/TaskRecommendationInput/index.js +0 -15
- package/dist/cjs/f/fields/TaskRecommendationInput/styles.scss +0 -41
- package/dist/cjs/f/fields/TextArea/TextArea.js +0 -141
- package/dist/cjs/f/fields/TextArea/index.js +0 -15
- package/dist/cjs/f/fields/TextArea/styles.scss +0 -19
- package/dist/es/a/GradientBackground/GradientBackground.js +0 -118
- package/dist/es/a/GradientBackground/index.js +0 -2
- package/dist/es/a/GradientBackground/styles.scss +0 -191
- package/dist/es/c/AcceptCookies/AcceptCookies.js +0 -117
- package/dist/es/c/AcceptCookies/index.js +0 -2
- package/dist/es/c/AcceptCookies/styles.scss +0 -49
- package/dist/es/c/BlogCategoryButton/BlogCategoryButton.js +0 -68
- package/dist/es/c/BlogCategoryButton/index.js +0 -2
- package/dist/es/c/BlogContext/BlogContextProvider.js +0 -45
- package/dist/es/c/BlogContext/Context.js +0 -2
- package/dist/es/c/BlogContext/ContextProvider.js +0 -45
- package/dist/es/c/BlogContext/index.js +0 -4
- package/dist/es/c/BlogContext/useBlog.js +0 -3
- package/dist/es/c/BlogPost/BlogPost.js +0 -128
- package/dist/es/c/BlogPost/index.js +0 -2
- package/dist/es/c/BlogPost/styles.scss +0 -33
- package/dist/es/c/BlogPostsList/BlogPostsList.js +0 -56
- package/dist/es/c/BlogPostsList/common/Card/Card.js +0 -143
- package/dist/es/c/BlogPostsList/common/Card/index.js +0 -2
- package/dist/es/c/BlogPostsList/common/index.js +0 -1
- package/dist/es/c/BlogPostsList/index.js +0 -2
- package/dist/es/c/BlogPostsList/styles.scss +0 -72
- package/dist/es/c/SiteFooter/SiteFooter.js +0 -56
- package/dist/es/c/SiteFooter/common/Section/Section.js +0 -73
- package/dist/es/c/SiteFooter/common/Section/index.js +0 -2
- package/dist/es/c/SiteFooter/common/index.js +0 -1
- package/dist/es/c/SiteFooter/index.js +0 -2
- package/dist/es/c/SiteFooter/styles.scss +0 -34
- package/dist/es/c/SiteHeaderCTA/SiteHeaderCTA.js +0 -92
- package/dist/es/c/SiteHeaderCTA/index.js +0 -2
- package/dist/es/c/SiteHeaderCTA/styles.scss +0 -44
- package/dist/es/c/SiteMission/SiteMission.js +0 -96
- package/dist/es/c/SiteMission/index.js +0 -2
- package/dist/es/c/SiteMission/styles.scss +0 -30
- package/dist/es/c/SiteNavigation/SiteNavigation.js +0 -111
- package/dist/es/c/SiteNavigation/index.js +0 -2
- package/dist/es/c/SiteNavigation/styles.scss +0 -118
- package/dist/es/c/SiteOnboardingStep/SiteOnboardingStep.js +0 -81
- package/dist/es/c/SiteOnboardingStep/index.js +0 -2
- package/dist/es/c/SiteOnboardingStep/styles.scss +0 -51
- package/dist/es/c/SitePricing/SitePricing.js +0 -91
- package/dist/es/c/SitePricing/index.js +0 -2
- package/dist/es/c/SitePricing/styles.scss +0 -73
- package/dist/es/c/SiteServices/SiteServices.js +0 -195
- package/dist/es/c/SiteServices/index.js +0 -2
- package/dist/es/c/SiteServices/styles.scss +0 -138
- package/dist/es/c/TeamGallery/TeamGallery.js +0 -64
- package/dist/es/c/TeamGallery/common/PersonCard/PersonCard.js +0 -64
- package/dist/es/c/TeamGallery/common/PersonCard/index.js +0 -2
- package/dist/es/c/TeamGallery/common/index.js +0 -1
- package/dist/es/c/TeamGallery/index.js +0 -2
- package/dist/es/c/TeamGallery/styles.scss +0 -100
- package/dist/es/c/Testimonials/Testimonials.js +0 -99
- package/dist/es/c/Testimonials/index.js +0 -2
- package/dist/es/c/Testimonials/styles.scss +0 -112
- package/dist/es/experimental/GradientBackground/GradientBackground.js +0 -76
- package/dist/es/experimental/GradientBackground/index.js +0 -2
- package/dist/es/experimental/GradientBackground/styles.scss +0 -64
- package/dist/es/experimental/index.js +0 -1
- package/dist/es/f/fields/CheckboxInput/CheckboxInput.js +0 -85
- package/dist/es/f/fields/CheckboxInput/index.js +0 -2
- package/dist/es/f/fields/CheckboxInput/styles.scss +0 -28
- package/dist/es/f/fields/RadioInput/RadioInput.js +0 -90
- package/dist/es/f/fields/RadioInput/index.js +0 -2
- package/dist/es/f/fields/RadioInput/styles.scss +0 -26
- package/dist/es/f/fields/TaskRecommendation/TaskRecommendation.js +0 -111
- package/dist/es/f/fields/TaskRecommendation/index.js +0 -2
- package/dist/es/f/fields/TaskRecommendation/styles.scss +0 -37
- package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +0 -111
- package/dist/es/f/fields/TaskRecommendationInput/index.js +0 -2
- package/dist/es/f/fields/TaskRecommendationInput/styles.scss +0 -41
- package/dist/es/f/fields/TextArea/TextArea.js +0 -124
- package/dist/es/f/fields/TextArea/index.js +0 -2
- package/dist/es/f/fields/TextArea/styles.scss +0 -19
- package/src/stories/f/CheckboxInput.stories.jsx +0 -37
- package/src/stories/f/RadioInput.stories.jsx +0 -37
- package/src/stories/f/TaskRecommendationInput.stories.jsx +0 -38
- package/src/ui/f/fields/CheckboxInput/CheckboxInput.jsx +0 -107
- package/src/ui/f/fields/CheckboxInput/index.js +0 -2
- package/src/ui/f/fields/CheckboxInput/styles.scss +0 -28
- package/src/ui/f/fields/RadioInput/RadioInput.jsx +0 -112
- package/src/ui/f/fields/RadioInput/index.js +0 -2
- package/src/ui/f/fields/RadioInput/styles.scss +0 -26
- package/src/ui/f/fields/TaskRecommendationInput/TaskRecommendationInput.jsx +0 -130
- package/src/ui/f/fields/TaskRecommendationInput/index.js +0 -2
- package/src/ui/f/fields/TaskRecommendationInput/styles.scss +0 -41
|
@@ -4,6 +4,7 @@ import * as React from 'react'
|
|
|
4
4
|
import {
|
|
5
5
|
ContentSlides,
|
|
6
6
|
SiteContextProvider,
|
|
7
|
+
Shapes,
|
|
7
8
|
useContentSlides,
|
|
8
9
|
Title,
|
|
9
10
|
Logo,
|
|
@@ -74,7 +75,7 @@ export const Base = () => {
|
|
|
74
75
|
|
|
75
76
|
return (
|
|
76
77
|
<div className={`ui-${userTheme}`} style={{ height: '100%' }}>
|
|
77
|
-
<ContentSlides className="y-background1" steps={steps}>
|
|
78
|
+
<ContentSlides className="y-background1 b-dark-y" steps={steps}>
|
|
78
79
|
<ContentSlides.Sidebar
|
|
79
80
|
header={(
|
|
80
81
|
<Logo color="paragraph" />
|
|
@@ -341,7 +342,158 @@ export const Simple = () => {
|
|
|
341
342
|
)
|
|
342
343
|
}
|
|
343
344
|
return (
|
|
344
|
-
<ContentSlides className="y-background1" steps={steps} simple>
|
|
345
|
+
<ContentSlides className="y-background1 b-dark-y" steps={steps} simple>
|
|
346
|
+
<Main />
|
|
347
|
+
</ContentSlides>
|
|
348
|
+
)
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export const WithBackgroundShape = () => {
|
|
352
|
+
const steps = [
|
|
353
|
+
{
|
|
354
|
+
id :'welcome',
|
|
355
|
+
title :'Welcome',
|
|
356
|
+
progress:40,
|
|
357
|
+
location:'welcome',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
id :'plan',
|
|
361
|
+
title :'Choose your plan',
|
|
362
|
+
progress:60,
|
|
363
|
+
location:'select-plan',
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
id :'details',
|
|
367
|
+
title :'Personal details',
|
|
368
|
+
progress:70,
|
|
369
|
+
location:'personal-details',
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
id :'payment',
|
|
373
|
+
title :'Payment',
|
|
374
|
+
progress:90,
|
|
375
|
+
location:'payment',
|
|
376
|
+
},
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
const Main = () => {
|
|
380
|
+
const { isLastStep } = useContentSlides()
|
|
381
|
+
|
|
382
|
+
return (
|
|
383
|
+
<>
|
|
384
|
+
<ContentSlides.HorizontalMenu hideBackIcon={isLastStep} />
|
|
385
|
+
{' '}
|
|
386
|
+
<main>
|
|
387
|
+
<ContentSlides.Slide
|
|
388
|
+
index={0}
|
|
389
|
+
>
|
|
390
|
+
<Title
|
|
391
|
+
heading="Welcome"
|
|
392
|
+
headingAs="h1"
|
|
393
|
+
headingClassName="small"
|
|
394
|
+
subtitle="Welcome to this site. We hope you will have an amazing experience here."
|
|
395
|
+
/>
|
|
396
|
+
<ContentSlides.Navigator />
|
|
397
|
+
</ContentSlides.Slide
|
|
398
|
+
>
|
|
399
|
+
<ContentSlides.Slide
|
|
400
|
+
index={1}
|
|
401
|
+
>
|
|
402
|
+
<Title
|
|
403
|
+
heading="Part 2"
|
|
404
|
+
headingAs="h1"
|
|
405
|
+
headingClassName="small"
|
|
406
|
+
subtitle="Welcome to this site. We hope you will have an amazing experience here."
|
|
407
|
+
/>
|
|
408
|
+
<p>
|
|
409
|
+
In ut sollicitudin elit. Maecenas tempor ex aliquet enim egestas,
|
|
410
|
+
non sollicitudin mi tempor. Pellentesque fermentum, massa in cursus faucibus,
|
|
411
|
+
enim tortor fringilla ligula, sit amet tincidunt neque orci et tellus.
|
|
412
|
+
Nam dignissim tristique justo. Cras nulla sem, dictum pellentesque libero eget,
|
|
413
|
+
porta placerat leo.
|
|
414
|
+
Donec scelerisque enim risus, in pharetra purus fringilla eu.
|
|
415
|
+
Cras placerat ac enim viverra rhoncus.
|
|
416
|
+
Cras sagittis euismod orci eget aliquam. Nulla et mi non enim aliquam consequat.
|
|
417
|
+
Cras volutpat porta convallis. Mauris ullamcorper vitae sapien ac rhoncus.
|
|
418
|
+
Nullam vel porttitor mi, ut vestibulum arcu.
|
|
419
|
+
{' '}
|
|
420
|
+
</p>
|
|
421
|
+
<p>
|
|
422
|
+
In ut sollicitudin elit. Maecenas tempor ex aliquet enim egestas,
|
|
423
|
+
non sollicitudin mi tempor. Pellentesque fermentum, massa in cursus faucibus,
|
|
424
|
+
enim tortor fringilla ligula, sit amet tincidunt neque orci et tellus.
|
|
425
|
+
Nam dignissim tristique justo. Cras nulla sem, dictum pellentesque libero eget,
|
|
426
|
+
porta placerat leo.
|
|
427
|
+
Donec scelerisque enim risus, in pharetra purus fringilla eu.
|
|
428
|
+
Cras placerat ac enim viverra rhoncus.
|
|
429
|
+
Cras sagittis euismod orci eget aliquam. Nulla et mi non enim aliquam consequat.
|
|
430
|
+
Cras volutpat porta convallis. Mauris ullamcorper vitae sapien ac rhoncus.
|
|
431
|
+
Nullam vel porttitor mi, ut vestibulum arcu.
|
|
432
|
+
{' '}
|
|
433
|
+
</p>
|
|
434
|
+
<p>
|
|
435
|
+
In ut sollicitudin elit. Maecenas tempor ex aliquet enim egestas,
|
|
436
|
+
non sollicitudin mi tempor. Pellentesque fermentum, massa in cursus faucibus,
|
|
437
|
+
enim tortor fringilla ligula, sit amet tincidunt neque orci et tellus.
|
|
438
|
+
Nam dignissim tristique justo. Cras nulla sem, dictum pellentesque libero eget,
|
|
439
|
+
porta placerat leo.
|
|
440
|
+
Donec scelerisque enim risus, in pharetra purus fringilla eu.
|
|
441
|
+
Cras placerat ac enim viverra rhoncus.
|
|
442
|
+
Cras sagittis euismod orci eget aliquam. Nulla et mi non enim aliquam consequat.
|
|
443
|
+
Cras volutpat porta convallis. Mauris ullamcorper vitae sapien ac rhoncus.
|
|
444
|
+
Nullam vel porttitor mi, ut vestibulum arcu.
|
|
445
|
+
{' '}
|
|
446
|
+
</p>
|
|
447
|
+
<p>
|
|
448
|
+
In ut sollicitudin elit. Maecenas tempor ex aliquet enim egestas,
|
|
449
|
+
non sollicitudin mi tempor. Pellentesque fermentum, massa in cursus faucibus,
|
|
450
|
+
enim tortor fringilla ligula, sit amet tincidunt neque orci et tellus.
|
|
451
|
+
Nam dignissim tristique justo. Cras nulla sem, dictum pellentesque libero eget,
|
|
452
|
+
porta placerat leo.
|
|
453
|
+
Donec scelerisque enim risus, in pharetra purus fringilla eu.
|
|
454
|
+
Cras placerat ac enim viverra rhoncus.
|
|
455
|
+
Cras sagittis euismod orci eget aliquam. Nulla et mi non enim aliquam consequat.
|
|
456
|
+
Cras volutpat porta convallis. Mauris ullamcorper vitae sapien ac rhoncus.
|
|
457
|
+
Nullam vel porttitor mi, ut vestibulum arcu.
|
|
458
|
+
{' '}
|
|
459
|
+
</p>
|
|
460
|
+
|
|
461
|
+
<ContentSlides.Navigator />
|
|
462
|
+
</ContentSlides.Slide>
|
|
463
|
+
<ContentSlides.Slide
|
|
464
|
+
index={2}
|
|
465
|
+
>
|
|
466
|
+
<Title
|
|
467
|
+
heading="Part 3"
|
|
468
|
+
headingAs="h1"
|
|
469
|
+
headingClassName="small"
|
|
470
|
+
subtitle="Welcome to this site. We hope you will have an amazing experience here."
|
|
471
|
+
/>
|
|
472
|
+
<ContentSlides.Navigator />
|
|
473
|
+
</ContentSlides.Slide>
|
|
474
|
+
<ContentSlides.Slide
|
|
475
|
+
index={3}
|
|
476
|
+
>
|
|
477
|
+
<Title
|
|
478
|
+
heading="Part 4"
|
|
479
|
+
headingAs="h1"
|
|
480
|
+
headingClassName="small"
|
|
481
|
+
subtitle="Welcome to this site. We hope you will have an amazing experience here."
|
|
482
|
+
/>
|
|
483
|
+
<ContentSlides.Navigator />
|
|
484
|
+
</ContentSlides.Slide>
|
|
485
|
+
</main>
|
|
486
|
+
</>
|
|
487
|
+
)
|
|
488
|
+
}
|
|
489
|
+
return (
|
|
490
|
+
<ContentSlides className="y-background4 b-light-y" steps={steps} simple>
|
|
491
|
+
<Shapes
|
|
492
|
+
height="65em"
|
|
493
|
+
verticalAlign="center"
|
|
494
|
+
horizontalAlign="flex-start"
|
|
495
|
+
shape="spiral"
|
|
496
|
+
/>
|
|
345
497
|
<Main />
|
|
346
498
|
</ContentSlides>
|
|
347
499
|
)
|
|
@@ -13,10 +13,9 @@ export default {
|
|
|
13
13
|
decorators:[
|
|
14
14
|
(storyfn) => (
|
|
15
15
|
<Formik
|
|
16
|
-
initialValues={{ workType: '
|
|
16
|
+
initialValues={{ workType: '' }}
|
|
17
17
|
>
|
|
18
18
|
<Form>
|
|
19
|
-
|
|
20
19
|
{ storyfn() }
|
|
21
20
|
</Form>
|
|
22
21
|
</Formik>
|
|
@@ -32,7 +31,7 @@ export const Base = () => (
|
|
|
32
31
|
<SelectInput
|
|
33
32
|
name="workType"
|
|
34
33
|
label="Work Type"
|
|
35
|
-
options={['Work', 'Managing', 'Training']}
|
|
34
|
+
options={[{ value: '', label: 'Select an option', disabled: true }, 'Work', 'Managing', 'Training']}
|
|
36
35
|
/>
|
|
37
36
|
<FormDebugger />
|
|
38
37
|
</>
|
|
@@ -55,9 +54,7 @@ export const RequiredSelect = () => {
|
|
|
55
54
|
name="activity"
|
|
56
55
|
label="Activity Type"
|
|
57
56
|
options={[
|
|
58
|
-
{
|
|
59
|
-
value:'', label:'Select activity type', disabled:true,
|
|
60
|
-
},
|
|
57
|
+
{ value: '', label: 'Select an option', disabled: true },
|
|
61
58
|
{ value: 'review', label: 'Review' },
|
|
62
59
|
{ value: 'Approve', label: 'Approve' },
|
|
63
60
|
]}
|
|
@@ -73,6 +70,7 @@ export const Objects = () => (
|
|
|
73
70
|
name="workType"
|
|
74
71
|
label="Work Type"
|
|
75
72
|
options={[
|
|
73
|
+
{ value: '', label: 'Select an option', disabled: true },
|
|
76
74
|
{ value: '20th Aug 2020 to 19th Sept, 2020', label: '20th Aug 2020 to 19th Sept, 2020' },
|
|
77
75
|
{ value: '20th Sept 2020 to 19th Oct, 2020', label: '20th Sept 2020 to 19th Oct, 2020' },
|
|
78
76
|
]}
|
|
@@ -86,7 +84,9 @@ export const StringAndObjects = () => (
|
|
|
86
84
|
<SelectInput
|
|
87
85
|
name="workType"
|
|
88
86
|
label="Work Type"
|
|
89
|
-
options={[
|
|
87
|
+
options={[
|
|
88
|
+
{ value: '', label: 'Select an option', disabled: true },
|
|
89
|
+
'Work', 'Managing', 'Training',
|
|
90
90
|
{ value: '20th Aug 2020 to 19th Sept, 2020', label: '20th Aug 2020 to 19th Sept, 2020' },
|
|
91
91
|
{ value: '20th Sept 2020 to 19th Oct, 2020', label: '20th Sept 2020 to 19th Oct, 2020' },
|
|
92
92
|
]}
|
|
@@ -99,7 +99,9 @@ export const DisabledSelectInput = () => (
|
|
|
99
99
|
<SelectInput
|
|
100
100
|
name="workType"
|
|
101
101
|
label="Work Type"
|
|
102
|
-
options={[
|
|
102
|
+
options={[
|
|
103
|
+
{ value: '', label: 'Select an option', disabled: true },
|
|
104
|
+
'Work', 'Managing', 'Training',
|
|
103
105
|
{ value: '20th Aug 2020 to 19th Sept, 2020', label: '20th Aug 2020 to 19th Sept, 2020' },
|
|
104
106
|
{ value: '20th Sept 2020 to 19th Oct, 2020', label: '20th Sept 2020 to 19th Oct, 2020' },
|
|
105
107
|
]}
|
|
@@ -41,7 +41,7 @@ export const Base = () => {
|
|
|
41
41
|
return errorMessage
|
|
42
42
|
}
|
|
43
43
|
return (
|
|
44
|
-
<div className="
|
|
44
|
+
<div className=" u2 pb-u">
|
|
45
45
|
<TextInput
|
|
46
46
|
name="firstName"
|
|
47
47
|
label="What's your first name ?"
|
|
@@ -52,18 +52,19 @@ export const Base = () => {
|
|
|
52
52
|
)
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export const
|
|
56
|
-
<div className="
|
|
55
|
+
export const Placeholder = () => (
|
|
56
|
+
<div className="u2 pb-u">
|
|
57
57
|
<TextInput
|
|
58
58
|
name="firstName"
|
|
59
59
|
label="What's your first name ?"
|
|
60
60
|
placeholder="First Name"
|
|
61
61
|
/>
|
|
62
|
+
<FormDebugger />
|
|
62
63
|
</div>
|
|
63
64
|
)
|
|
64
65
|
|
|
65
|
-
export const
|
|
66
|
-
<div className="
|
|
66
|
+
export const Disabled = () => (
|
|
67
|
+
<div className="u2 pb-u">
|
|
67
68
|
<TextInput
|
|
68
69
|
name="firstName"
|
|
69
70
|
label="What's your first name ?"
|
|
@@ -73,7 +74,7 @@ export const DisabledTextInput = () => (
|
|
|
73
74
|
)
|
|
74
75
|
|
|
75
76
|
export const DateTime = () => (
|
|
76
|
-
<div
|
|
77
|
+
<div>
|
|
77
78
|
<TextInput
|
|
78
79
|
name="date"
|
|
79
80
|
label="Select date"
|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export const Base = () => (
|
|
32
|
-
<div
|
|
32
|
+
<div>
|
|
33
33
|
<TextareaInput
|
|
34
34
|
name="feedback"
|
|
35
35
|
label="What can we improve on?"
|
|
@@ -39,7 +39,7 @@ export const Base = () => (
|
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
export const Placeholder = () => (
|
|
42
|
-
<div
|
|
42
|
+
<div>
|
|
43
43
|
<TextareaInput
|
|
44
44
|
name="feedback"
|
|
45
45
|
label="What can we improve on?"
|
|
@@ -61,7 +61,7 @@ export const Validation = () => {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
return (
|
|
64
|
-
<div
|
|
64
|
+
<div>
|
|
65
65
|
<TextareaInput
|
|
66
66
|
name="feedback"
|
|
67
67
|
label="What can we improve on?"
|
|
@@ -74,7 +74,7 @@ export const Validation = () => {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export const Disabled = () => (
|
|
77
|
-
<div
|
|
77
|
+
<div>
|
|
78
78
|
<TextareaInput
|
|
79
79
|
name="feedback"
|
|
80
80
|
label="What can we improve on?"
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
left: 0;
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: var(--gradient-height);
|
|
10
|
-
background-image: linear-gradient(
|
|
10
|
+
background-image: linear-gradient(var(--background1), var(--y) 25%, var(--light-y) 75%, var(--background1));
|
|
11
11
|
opacity: .4;
|
|
12
12
|
z-index: -1;
|
|
13
13
|
}
|
|
@@ -22,7 +22,7 @@ $default-shapes-opacity:.8;
|
|
|
22
22
|
width: 100%;
|
|
23
23
|
|
|
24
24
|
.triangle {
|
|
25
|
-
background-image: linear-gradient(
|
|
25
|
+
background-image: linear-gradient(var(--light-y), var(--dark-y));
|
|
26
26
|
clip-path: polygon(0 0, 50% 100%, 100% 0);
|
|
27
27
|
height: calc(var(--shape-height, #{$default-triangle-height}) * 0.86);
|
|
28
28
|
opacity: $default-shapes-opacity;
|
|
@@ -30,7 +30,7 @@ $default-shapes-opacity:.8;
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.inverted-triangle {
|
|
33
|
-
background-image: linear-gradient(var(--dark-y),
|
|
33
|
+
background-image: linear-gradient(var(--dark-y), var(--light-y));
|
|
34
34
|
clip-path: polygon(50% 0, 0 100%, 100% 100%);
|
|
35
35
|
height: calc(var(--shape-height, #{$default-triangle-height}) * 0.86);
|
|
36
36
|
opacity: $default-shapes-opacity;
|
|
@@ -117,7 +117,7 @@ $default-shapes-opacity:.8;
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.half-ellipse {
|
|
120
|
-
background-image: radial-gradient(ellipse at center bottom, var(--y) 10%,
|
|
120
|
+
background-image: radial-gradient(ellipse at center bottom, var(--y) 10%, var(--light-y) 65%);
|
|
121
121
|
clip-path: ellipse(60% 100% at 50% 0%);
|
|
122
122
|
height: var(--shape-height, #{$default-ellipse-height});
|
|
123
123
|
opacity: $default-shapes-opacity;
|
|
@@ -147,7 +147,7 @@ $default-shapes-opacity:.8;
|
|
|
147
147
|
width: var(--shape-height, #{$default-ellipse-height});
|
|
148
148
|
|
|
149
149
|
.first {
|
|
150
|
-
background-image: linear-gradient(to top, var(--dark-y), var(--y), var(--light-y) 50%,
|
|
150
|
+
background-image: linear-gradient(to top, var(--dark-y), var(--y), var(--light-y) 50%, var(--background1));
|
|
151
151
|
clip-path: ellipse(50% 20% at 50% 60%);
|
|
152
152
|
height: 100%;
|
|
153
153
|
position: absolute;
|
|
@@ -156,7 +156,7 @@ $default-shapes-opacity:.8;
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.second {
|
|
159
|
-
background-image: linear-gradient(to bottom,var(--dark-y), var(--y), var(--light-y) 45%,
|
|
159
|
+
background-image: linear-gradient(to bottom,var(--dark-y), var(--y), var(--light-y) 45%, var(--background1));
|
|
160
160
|
clip-path: ellipse(50% 20% at 50% 40%);
|
|
161
161
|
height: 100%;
|
|
162
162
|
position: absolute;
|
|
@@ -175,7 +175,7 @@ $default-shapes-opacity:.8;
|
|
|
175
175
|
|
|
176
176
|
> * {
|
|
177
177
|
border-radius: 50%;
|
|
178
|
-
background: radial-gradient(ellipse at center bottom
|
|
178
|
+
background: radial-gradient(ellipse at center bottom, var(--dark-y) 10%, var(--light-y) 60%);
|
|
179
179
|
position: absolute;
|
|
180
180
|
opacity: .5;
|
|
181
181
|
}
|
|
@@ -244,12 +244,12 @@ $default-shapes-opacity:.8;
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.left {
|
|
247
|
-
background-image: linear-gradient(to right ,var(--dark-y),var(--y),
|
|
247
|
+
background-image: linear-gradient(to right ,var(--dark-y),var(--y), var(--light-y));
|
|
248
248
|
grid-column: 1 / 5;
|
|
249
249
|
}
|
|
250
250
|
.right {
|
|
251
|
-
background-image: linear-gradient(to left, var(--dark-y), var(--y),
|
|
251
|
+
background-image: linear-gradient(to left, var(--dark-y), var(--y), var(--light-y));
|
|
252
252
|
grid-column: 4 / 8;
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
}
|
|
255
|
+
}
|
|
@@ -16,7 +16,7 @@ $default-animation-time: .3s;
|
|
|
16
16
|
color: var(--on-x, var(--on-#{$default-color}));
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
font-family: var(--theme-default-paragraph);
|
|
19
|
-
font-weight:
|
|
19
|
+
font-weight: 400;
|
|
20
20
|
justify-content: space-between;
|
|
21
21
|
padding: $default-padding;
|
|
22
22
|
transition: all .25s;
|
|
@@ -65,13 +65,13 @@ const HorizontalMenu = ({
|
|
|
65
65
|
<div className="left">
|
|
66
66
|
{(!isFirstStep && !hideBackIcon) && (
|
|
67
67
|
<span
|
|
68
|
-
className="
|
|
68
|
+
className="prev-button pointer"
|
|
69
69
|
onClick={mobilePreviousStep}
|
|
70
70
|
role="button"
|
|
71
71
|
onKeyDown={mobilePreviousStep}
|
|
72
72
|
tabIndex={0}
|
|
73
73
|
>
|
|
74
|
-
|
|
74
|
+
{'<--'}
|
|
75
75
|
</span>
|
|
76
76
|
)}
|
|
77
77
|
</div>
|
|
@@ -131,7 +131,7 @@ HorizontalMenu.propTypes = {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
HorizontalMenu.defaultProps = {
|
|
134
|
-
logoColor :'
|
|
134
|
+
logoColor :'paragraph',
|
|
135
135
|
stepsBackwards:1,
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -14,7 +14,7 @@ $class-navigator:navigator;
|
|
|
14
14
|
$default-sidebar-width:minmax(250px, 330px);
|
|
15
15
|
$default-border:none;//2px solid var(--grid);
|
|
16
16
|
$default-border-radius:var(--theme-border-radius);
|
|
17
|
-
$default-content-background:var(--
|
|
17
|
+
$default-content-background: var(--background1);
|
|
18
18
|
$default-padding:var(--u);
|
|
19
19
|
|
|
20
20
|
$mobile-content-margin:6em;
|
|
@@ -61,7 +61,6 @@ $mobile-content-margin:6em;
|
|
|
61
61
|
|
|
62
62
|
//.#{$class-main-container} {
|
|
63
63
|
main {
|
|
64
|
-
background: var(--dark-y);
|
|
65
64
|
overflow: hidden;
|
|
66
65
|
position: relative;
|
|
67
66
|
|
|
@@ -79,7 +78,7 @@ $mobile-content-margin:6em;
|
|
|
79
78
|
.#{bem.$element-content} {
|
|
80
79
|
background: $default-content-background;
|
|
81
80
|
|
|
82
|
-
border:
|
|
81
|
+
border: var(--theme-border);
|
|
83
82
|
border-radius: $default-border-radius;
|
|
84
83
|
max-width: 600px;
|
|
85
84
|
padding: $default-padding;
|
|
@@ -108,8 +107,9 @@ $mobile-content-margin:6em;
|
|
|
108
107
|
|
|
109
108
|
.#{$class-horizontal-menu} {
|
|
110
109
|
background: $default-content-background;
|
|
111
|
-
border-bottom:
|
|
110
|
+
border-bottom: var(--theme-border);
|
|
112
111
|
color: var(--heading);
|
|
112
|
+
z-index: 1;
|
|
113
113
|
|
|
114
114
|
.#{bem.$element-content} {
|
|
115
115
|
display: grid;
|
|
@@ -124,6 +124,11 @@ $mobile-content-margin:6em;
|
|
|
124
124
|
|
|
125
125
|
.left {
|
|
126
126
|
text-align: left;
|
|
127
|
+
|
|
128
|
+
.prev-button {
|
|
129
|
+
font-family: var(--theme-default-paragraph);
|
|
130
|
+
font-size: calc(var(--s2) * 1em);
|
|
131
|
+
}
|
|
127
132
|
}
|
|
128
133
|
|
|
129
134
|
.right {
|
|
@@ -210,6 +215,7 @@ $mobile-content-margin:6em;
|
|
|
210
215
|
|
|
211
216
|
.next {
|
|
212
217
|
flex-grow: 1;
|
|
218
|
+
justify-content: flex-end;
|
|
213
219
|
}
|
|
214
220
|
}
|
|
215
221
|
}
|
|
@@ -29,10 +29,21 @@ $default-transition:all .3s;
|
|
|
29
29
|
z-index: -1;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
input:disabled + label {
|
|
33
|
+
background-color: var(--dark-x);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
input:not(:disabled) + label {
|
|
37
|
+
&:hover {
|
|
38
|
+
border-color: var(--light-y);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
32
42
|
label {
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
border: var(--theme-border-style) var(--dark-x);
|
|
44
|
+
background: var(--light-x);
|
|
35
45
|
color: var(--on-x);
|
|
46
|
+
border-radius: var(--theme-border-radius);
|
|
36
47
|
display: block;
|
|
37
48
|
height: 100%;
|
|
38
49
|
padding: $default-padding;
|
|
@@ -44,6 +55,10 @@ $default-transition:all .3s;
|
|
|
44
55
|
input:checked + label {
|
|
45
56
|
background: var(--y);
|
|
46
57
|
color: var(--on-y);
|
|
58
|
+
|
|
59
|
+
&:hover {
|
|
60
|
+
border-color: var(--y);
|
|
61
|
+
}
|
|
47
62
|
}
|
|
48
63
|
}
|
|
49
64
|
}
|
|
@@ -26,6 +26,7 @@ const SelectInput = ({
|
|
|
26
26
|
style,
|
|
27
27
|
name,
|
|
28
28
|
label,
|
|
29
|
+
color,
|
|
29
30
|
options,
|
|
30
31
|
validate,
|
|
31
32
|
description,
|
|
@@ -47,6 +48,7 @@ const SelectInput = ({
|
|
|
47
48
|
|
|
48
49
|
componentClassName,
|
|
49
50
|
userClassName,
|
|
51
|
+
`y-${color}`,
|
|
50
52
|
]
|
|
51
53
|
.filter((e) => e)
|
|
52
54
|
.join(' ')}
|
|
@@ -54,7 +56,7 @@ const SelectInput = ({
|
|
|
54
56
|
// {...otherProps}
|
|
55
57
|
>
|
|
56
58
|
<FormLabel className="input-label" name={name}>{label}</FormLabel>
|
|
57
|
-
<select className="input
|
|
59
|
+
<select className="input" {...field} value={field.value || ''} id={name} disabled={disabled}>
|
|
58
60
|
{
|
|
59
61
|
options.map((option) => {
|
|
60
62
|
// i.e if option is a string like "blah", return { value: "blah", label: "blah" }
|
|
@@ -65,6 +67,7 @@ const SelectInput = ({
|
|
|
65
67
|
key={newOption.value}
|
|
66
68
|
value={newOption.value}
|
|
67
69
|
disabled={newOption?.disabled || false}
|
|
70
|
+
selected={newOption?.disabled || true}
|
|
68
71
|
>
|
|
69
72
|
{newOption.label}
|
|
70
73
|
</option>
|
|
@@ -135,10 +138,16 @@ SelectInput.propTypes = {
|
|
|
135
138
|
* Whether the select input should be disabled
|
|
136
139
|
*/
|
|
137
140
|
disabled:PropTypes.bool,
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The color of the select input
|
|
144
|
+
*/
|
|
145
|
+
color:PropTypes.string,
|
|
138
146
|
}
|
|
139
147
|
|
|
140
148
|
SelectInput.defaultProps = {
|
|
141
149
|
disabled:false,
|
|
150
|
+
color :'background2',
|
|
142
151
|
}
|
|
143
152
|
|
|
144
153
|
export default memo(SelectInput)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@use "../../../form.scss";
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
$default-padding: 0.75em
|
|
8
|
+
$default-padding: 0.75em;
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
.#{bem.$base}.select-input {
|
|
@@ -13,17 +13,22 @@ $default-padding: 0.75em 0.75em 0.55em;
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
.input-label {
|
|
17
|
-
color: var(--main2);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
16
|
.input {
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
border: var(--theme-border-style) var(--dark-y);
|
|
18
|
+
background: var(--light-y);
|
|
19
|
+
color:var(--on-y);
|
|
23
20
|
padding: $default-padding;
|
|
24
21
|
|
|
22
|
+
&:not(:disabled):hover{
|
|
23
|
+
border: var(--theme-border-style) var(--light-background4);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:disabled {
|
|
27
|
+
background-color: var(--dark-y);
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
&:focus {
|
|
26
|
-
background: var(--
|
|
31
|
+
background: var(--y);
|
|
27
32
|
}
|
|
28
33
|
}
|
|
29
34
|
}
|
|
@@ -27,6 +27,7 @@ const TextInput = ({
|
|
|
27
27
|
type,
|
|
28
28
|
name,
|
|
29
29
|
label,
|
|
30
|
+
color,
|
|
30
31
|
labelColor,
|
|
31
32
|
validate,
|
|
32
33
|
oneInputLabel,
|
|
@@ -48,6 +49,7 @@ const TextInput = ({
|
|
|
48
49
|
baseClassName,
|
|
49
50
|
componentClassName,
|
|
50
51
|
userClassName,
|
|
52
|
+
`y-${color}`,
|
|
51
53
|
]
|
|
52
54
|
.filter((e) => e)
|
|
53
55
|
.join(' ')}
|
|
@@ -65,7 +67,7 @@ const TextInput = ({
|
|
|
65
67
|
</FormLabel>
|
|
66
68
|
<input
|
|
67
69
|
id={name}
|
|
68
|
-
className=
|
|
70
|
+
className="input"
|
|
69
71
|
type={type}
|
|
70
72
|
disabled={disabled}
|
|
71
73
|
placeholder={placeholder}
|
|
@@ -149,10 +151,16 @@ TextInput.propTypes = {
|
|
|
149
151
|
* The placeholder text for the input
|
|
150
152
|
*/
|
|
151
153
|
placeholder:PropTypes.string,
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The text input color
|
|
157
|
+
*/
|
|
158
|
+
color:PropTypes.string,
|
|
152
159
|
}
|
|
153
160
|
|
|
154
161
|
TextInput.defaultProps = {
|
|
155
162
|
type :'text',
|
|
163
|
+
color :'background2',
|
|
156
164
|
disabled:false,
|
|
157
165
|
}
|
|
158
166
|
|
|
@@ -10,12 +10,25 @@ $default-padding: 0.75em 0.75em 0.55em;
|
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
|
|
12
12
|
.input {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
border: var(--theme-border-style) var(--dark-y);
|
|
14
|
+
background: var(--light-y);
|
|
15
|
+
color: var(--on-y);
|
|
15
16
|
padding: $default-padding;
|
|
16
17
|
|
|
18
|
+
&::placeholder{
|
|
19
|
+
color: var(--metadata);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:not(:disabled):hover{
|
|
23
|
+
border: var(--theme-border-style) var(--light-background4);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:disabled {
|
|
27
|
+
background-color: var(--dark-y);
|
|
28
|
+
}
|
|
29
|
+
|
|
17
30
|
&:focus {
|
|
18
|
-
background: var(--
|
|
31
|
+
background: var(--light-background4);
|
|
19
32
|
}
|
|
20
33
|
}
|
|
21
34
|
}
|