@pareto-engineering/design-system 0.0.1-alpha.60 → 0.0.1-alpha.64

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.
Files changed (98) hide show
  1. package/dist/cjs/a/TeamInfo/TeamInfo.js +1 -1
  2. package/dist/cjs/a/TeamInfo/styles.scss +3 -2
  3. package/dist/cjs/b/QuestionDropdown/QuestionDropdown.js +11 -4
  4. package/dist/cjs/c/index.js +1 -125
  5. package/dist/cjs/f/fields/SelectInput/styles.scss +7 -3
  6. package/dist/es/a/TeamInfo/TeamInfo.js +1 -1
  7. package/dist/es/a/TeamInfo/styles.scss +3 -2
  8. package/dist/es/b/QuestionDropdown/QuestionDropdown.js +11 -4
  9. package/dist/es/c/index.js +1 -15
  10. package/dist/es/f/fields/SelectInput/styles.scss +7 -3
  11. package/package.json +3 -3
  12. package/src/__snapshots__/Storyshots.test.js.snap +251 -1831
  13. package/src/stories/b/QuestionDropdown.stories.jsx +15 -0
  14. package/src/stories/colors.js +1 -1
  15. package/src/stories/f/SelectInput.stories.jsx +3 -7
  16. package/src/ui/a/TeamInfo/TeamInfo.jsx +1 -1
  17. package/src/ui/a/TeamInfo/styles.scss +3 -2
  18. package/src/ui/b/QuestionDropdown/QuestionDropdown.jsx +8 -3
  19. package/src/ui/c/index.js +0 -18
  20. package/src/ui/f/fields/SelectInput/styles.scss +7 -3
  21. package/dist/cjs/a/RatingsInput/RatingsInput.js +0 -88
  22. package/dist/cjs/a/RatingsInput/common/Rating/Rating.js +0 -120
  23. package/dist/cjs/a/RatingsInput/common/Rating/index.js +0 -15
  24. package/dist/cjs/a/RatingsInput/common/index.js +0 -13
  25. package/dist/cjs/a/RatingsInput/index.js +0 -15
  26. package/dist/cjs/a/RatingsInput/styles.scss +0 -35
  27. package/dist/es/a/RatingsInput/RatingsInput.js +0 -72
  28. package/dist/es/a/RatingsInput/common/Rating/Rating.js +0 -102
  29. package/dist/es/a/RatingsInput/common/Rating/index.js +0 -2
  30. package/dist/es/a/RatingsInput/common/index.js +0 -1
  31. package/dist/es/a/RatingsInput/index.js +0 -2
  32. package/dist/es/a/RatingsInput/styles.scss +0 -35
  33. package/src/stories/c/AcceptCookies.stories.jsx +0 -27
  34. package/src/stories/c/BlogCategoryButton.stories.jsx +0 -33
  35. package/src/stories/c/BlogPost.stories.jsx +0 -68
  36. package/src/stories/c/BlogPostsList.stories.jsx +0 -91
  37. package/src/stories/c/SiteFooter.stories.jsx +0 -33
  38. package/src/stories/c/SiteHeaderCTA.stories.jsx +0 -28
  39. package/src/stories/c/SiteMission.stories.jsx +0 -78
  40. package/src/stories/c/SiteNavigation.stories.jsx +0 -79
  41. package/src/stories/c/SiteOnboardingStep.stories.jsx +0 -46
  42. package/src/stories/c/SitePricing.stories.jsx +0 -48
  43. package/src/stories/c/SiteServices.stories.jsx +0 -170
  44. package/src/stories/c/TeamGallery.stories.jsx +0 -52
  45. package/src/stories/c/Testimonials.stories.jsx +0 -43
  46. package/src/stories/c/blogUrlMap.js +0 -13
  47. package/src/ui/c/AcceptCookies/AcceptCookies.jsx +0 -133
  48. package/src/ui/c/AcceptCookies/index.js +0 -2
  49. package/src/ui/c/AcceptCookies/styles.scss +0 -49
  50. package/src/ui/c/BlogCategoryButton/BlogCategoryButton.jsx +0 -96
  51. package/src/ui/c/BlogCategoryButton/index.js +0 -2
  52. package/src/ui/c/BlogContext/BlogContextProvider.jsx +0 -60
  53. package/src/ui/c/BlogContext/Context.js +0 -3
  54. package/src/ui/c/BlogContext/ContextProvider.jsx +0 -60
  55. package/src/ui/c/BlogContext/index.js +0 -4
  56. package/src/ui/c/BlogContext/useBlog.js +0 -4
  57. package/src/ui/c/BlogPost/BlogPost.jsx +0 -161
  58. package/src/ui/c/BlogPost/index.js +0 -2
  59. package/src/ui/c/BlogPost/styles.scss +0 -33
  60. package/src/ui/c/BlogPostsList/BlogPostsList.jsx +0 -81
  61. package/src/ui/c/BlogPostsList/common/Card/Card.jsx +0 -195
  62. package/src/ui/c/BlogPostsList/common/Card/index.js +0 -2
  63. package/src/ui/c/BlogPostsList/common/index.js +0 -1
  64. package/src/ui/c/BlogPostsList/index.js +0 -2
  65. package/src/ui/c/BlogPostsList/styles.scss +0 -72
  66. package/src/ui/c/SiteFooter/SiteFooter.jsx +0 -79
  67. package/src/ui/c/SiteFooter/common/Section/Section.jsx +0 -95
  68. package/src/ui/c/SiteFooter/common/Section/index.js +0 -2
  69. package/src/ui/c/SiteFooter/common/index.js +0 -1
  70. package/src/ui/c/SiteFooter/index.js +0 -2
  71. package/src/ui/c/SiteFooter/styles.scss +0 -34
  72. package/src/ui/c/SiteHeaderCTA/SiteHeaderCTA.jsx +0 -107
  73. package/src/ui/c/SiteHeaderCTA/index.js +0 -2
  74. package/src/ui/c/SiteHeaderCTA/styles.scss +0 -44
  75. package/src/ui/c/SiteMission/SiteMission.jsx +0 -114
  76. package/src/ui/c/SiteMission/index.js +0 -2
  77. package/src/ui/c/SiteMission/styles.scss +0 -30
  78. package/src/ui/c/SiteNavigation/SiteNavigation.jsx +0 -142
  79. package/src/ui/c/SiteNavigation/index.js +0 -2
  80. package/src/ui/c/SiteNavigation/styles.scss +0 -118
  81. package/src/ui/c/SiteOnboardingStep/SiteOnboardingStep.jsx +0 -107
  82. package/src/ui/c/SiteOnboardingStep/index.js +0 -2
  83. package/src/ui/c/SiteOnboardingStep/styles.scss +0 -51
  84. package/src/ui/c/SitePricing/SitePricing.jsx +0 -120
  85. package/src/ui/c/SitePricing/index.js +0 -2
  86. package/src/ui/c/SitePricing/styles.scss +0 -73
  87. package/src/ui/c/SiteServices/SiteServices.jsx +0 -222
  88. package/src/ui/c/SiteServices/index.js +0 -2
  89. package/src/ui/c/SiteServices/styles.scss +0 -138
  90. package/src/ui/c/TeamGallery/TeamGallery.jsx +0 -87
  91. package/src/ui/c/TeamGallery/common/PersonCard/PersonCard.jsx +0 -86
  92. package/src/ui/c/TeamGallery/common/PersonCard/index.js +0 -2
  93. package/src/ui/c/TeamGallery/common/index.js +0 -1
  94. package/src/ui/c/TeamGallery/index.js +0 -2
  95. package/src/ui/c/TeamGallery/styles.scss +0 -100
  96. package/src/ui/c/Testimonials/Testimonials.jsx +0 -124
  97. package/src/ui/c/Testimonials/index.js +0 -2
  98. package/src/ui/c/Testimonials/styles.scss +0 -112
@@ -1,2 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- export { default as Card } from './Card'
@@ -1 +0,0 @@
1
- export { Card } from './Card'
@@ -1,2 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- export { default as BlogPostsList } from './BlogPostsList'
@@ -1,72 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
-
3
- @use "@pareto-engineering/bem";
4
- @use "@aztlan/stylebook/src/mixins";
5
- @use "@aztlan/stylebook/src/globals" as *;
6
-
7
- $default-padding:var(--u);
8
- $default-background:var(--y);
9
- $default-color:var(--on-y);
10
- $base-card-class:article-card;
11
- $word-count-class:word-count;
12
- $size-small-class:size-sm;
13
- $size-large-class:size-lg;
14
-
15
- .#{bem.$base}.blog-posts-list {
16
- display: grid;
17
- gap: $default-padding;
18
- grid-template-columns: 1fr;
19
-
20
- .#{$base-card-class} {
21
- background: $default-background;
22
- border-radius: var(--theme-border-radius);
23
- overflow: hidden;
24
-
25
- .illustration {
26
- height: 12em;
27
-
28
- img {
29
- height: 100%;
30
- object-fit: cover;
31
- width: 100%;
32
- }
33
- }
34
-
35
- .header {
36
- align-items: center;
37
- display: flex;
38
- justify-content: space-between;
39
- padding: calc(#{$default-padding} / 2);
40
- }
41
-
42
- .title,
43
- .#{bem.$element-content} {
44
- color: $default-color;
45
- padding: $default-padding;
46
- }
47
-
48
- .title {
49
- padding-bottom: 0;
50
- }
51
-
52
- .#{bem.$element-content} {
53
- .#{$word-count-class} {
54
- font-size: calc(var(--s-1) * 1em);
55
- opacity: .6;
56
- text-transform: uppercase;
57
- }
58
- }
59
- }
60
-
61
- @include mixins.media($from:$sm-md) {
62
- grid-template-columns: 1fr 1fr;
63
-
64
- .#{$base-card-class} {
65
- &.#{$size-large-class} {
66
- grid-column-end: span 2;
67
- }
68
- }
69
- }
70
- }
71
-
72
-
@@ -1,79 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- import * as React from 'react'
3
-
4
- import { useLayoutEffect } from 'react'
5
-
6
- import PropTypes from 'prop-types'
7
-
8
- import styleNames from '@pareto-engineering/bem'
9
-
10
- import { Section } from './common'
11
-
12
- // Local Definitions
13
-
14
- const baseClassName = styleNames.base
15
-
16
- const componentClassName = 'site-footer'
17
-
18
- /**
19
- * This is the component description.
20
- */
21
- const SiteFooter = ({
22
- id,
23
- className:userClassName,
24
- style,
25
- children,
26
- // ...otherProps
27
- }) => {
28
- useLayoutEffect(() => {
29
- import('./styles.scss')
30
- }, [])
31
-
32
- return (
33
- <footer
34
- id={id}
35
- className={[
36
- baseClassName,
37
-
38
- componentClassName,
39
- userClassName,
40
- ]
41
- .filter((e) => e)
42
- .join(' ')}
43
- style={style}
44
- // {...otherProps}
45
- >
46
- {children}
47
- </footer>
48
- )
49
- }
50
-
51
- SiteFooter.propTypes = {
52
- /**
53
- * The HTML id for this element
54
- */
55
- id:PropTypes.string,
56
-
57
- /**
58
- * The HTML class names for this element
59
- */
60
- className:PropTypes.string,
61
-
62
- /**
63
- * The React-written, css properties for this element.
64
- */
65
- style:PropTypes.objectOf(PropTypes.string),
66
-
67
- /**
68
- * The children JSX
69
- */
70
- children:PropTypes.node,
71
- }
72
-
73
- SiteFooter.defaultProps = {
74
- // someProp:false
75
- }
76
-
77
- SiteFooter.Section = Section
78
-
79
- export default SiteFooter
@@ -1,95 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- import * as React from 'react'
3
-
4
- import PropTypes from 'prop-types'
5
-
6
- // Local Definitions
7
- import styleNames from '@pareto-engineering/bem'
8
-
9
- import { Title } from 'ui/b'
10
-
11
- const baseClassName = styleNames.base
12
-
13
- console.log(styleNames)
14
- const componentClassName = styleNames.elementSection
15
-
16
- /**
17
- * This is the component description.
18
- */
19
- const Section = ({
20
- id,
21
- className:userClassName,
22
- style,
23
- children,
24
- title,
25
- span,
26
- // ...otherProps
27
- }) => {
28
- console.log(1)
29
-
30
- return (
31
- <div
32
- id={id}
33
- className={[
34
- baseClassName,
35
- componentClassName,
36
- userClassName,
37
- ]
38
- .filter((e) => e)
39
- .join(' ')}
40
- style={{
41
- '--span':span,
42
- ...style,
43
- }}
44
- // {...otherProps}
45
- >
46
- { title
47
- && (
48
- <Title
49
- headingAs="p"
50
- headingClassName="h4 c-on-y"
51
- heading={title}
52
- />
53
- )}
54
- {children}
55
- </div>
56
- )
57
- }
58
-
59
- Section.propTypes = {
60
- /**
61
- * The HTML id for this element
62
- */
63
- id:PropTypes.string,
64
-
65
- /**
66
- * The HTML class names for this element
67
- */
68
- className:PropTypes.string,
69
-
70
- /**
71
- * The React-written, css properties for this element.
72
- */
73
- style:PropTypes.objectOf(PropTypes.string),
74
-
75
- /**
76
- * The children JSX
77
- */
78
- children:PropTypes.node,
79
-
80
- /**
81
- * The title of the footer section
82
- */
83
- title:PropTypes.node,
84
-
85
- /**
86
- * How many fractional units should the column width be, on desktop
87
- */
88
- span:PropTypes.number,
89
- }
90
-
91
- Section.defaultProps = {
92
- span:1,
93
- }
94
-
95
- export default Section
@@ -1,2 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- export { default as Section } from './Section'
@@ -1 +0,0 @@
1
- export { Section } from './Section'
@@ -1,2 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- export { default as SiteFooter } from './SiteFooter'
@@ -1,34 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
-
3
- @use "@pareto-engineering/bem";
4
- @use "@aztlan/stylebook/src/mixins";
5
- @use "@aztlan/stylebook/src/globals" as *;
6
-
7
- $default-padding:1em;
8
-
9
- .#{bem.$base}.site-footer {
10
- --u: #{$default-padding};
11
- background: var(--y);
12
- text-align: center;
13
-
14
- .#{bem.$base}.#{bem.$element-section} {
15
- color: var(--on-y);
16
- padding: var(--u);
17
- }
18
-
19
- /*
20
- @include mixins.media($to:$sm-md) {
21
- } */
22
-
23
- @include mixins.media($from:$sm-md) {
24
- display: grid;
25
- grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
26
- text-align: left;
27
-
28
- .#{bem.$base}.#{bem.$element-section} {
29
- grid-column-end: span var(--span);
30
- }
31
- }
32
- }
33
-
34
-
@@ -1,107 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- import * as React from 'react'
3
-
4
- import { useLayoutEffect } from 'react'
5
-
6
- // import Typed from 'typed.js'
7
-
8
- import PropTypes from 'prop-types'
9
-
10
- import styleNames from '@pareto-engineering/bem'
11
-
12
- import { Button, Title } from 'ui/b'
13
-
14
- // Local Definitions
15
-
16
- const baseClassName = styleNames.base
17
-
18
- const componentClassName = 'header-c-t-a'
19
-
20
- /**
21
- * This is the component description.
22
- */
23
- const SiteHeaderCTA = ({
24
- id,
25
- className:userClassName,
26
- style,
27
- cta,
28
- surveyLink,
29
- header,
30
- subHeader,
31
- // ...otherProps
32
- }) => {
33
- useLayoutEffect(() => {
34
- import('./styles.scss')
35
- }, [])
36
-
37
- return (
38
- <div
39
- id={id}
40
- className={[
41
- baseClassName,
42
- componentClassName,
43
- userClassName,
44
- ]
45
- .filter((e) => e)
46
- .join(' ')}
47
- style={style}
48
- // {...otherProps}
49
- >
50
- <div className="uc s-1 md-s0">
51
- <Title heading={header} headingClassName="title uc s4 md-s6" />
52
- <br />
53
- <span className="typed-content s4 md-s6">
54
- startup busywork
55
- </span>
56
- </div>
57
- <p className="description uc s0 md-s1 v2 mt-v">{subHeader}</p>
58
-
59
- <a href={surveyLink} rel="noreferrer" className="v3 mt-v">
60
- <Button className="s-1 md-s0">{cta}</Button>
61
- </a>
62
-
63
- <span className="no-credit-card u1 mt-u md-s0 s-1">
64
- No credit card required
65
- </span>
66
- </div>
67
- )
68
- }
69
-
70
- SiteHeaderCTA.propTypes = {
71
- /**
72
- * The HTML id for this element
73
- */
74
- id:PropTypes.string,
75
-
76
- /**
77
- * The HTML class names for this element
78
- */
79
- className:PropTypes.string,
80
-
81
- /**
82
- * The React-written, css properties for this element.
83
- */
84
- style :PropTypes.objectOf(PropTypes.string),
85
- /**
86
- * The cta text
87
- */
88
- cta :PropTypes.string,
89
- /**
90
- * The cta link
91
- */
92
- surveyLink:PropTypes.string.isRequired,
93
- /**
94
- * The hero section header
95
- */
96
- header :PropTypes.string.isRequired,
97
- /**
98
- * The hero section sub header
99
- */
100
- subHeader :PropTypes.string.isRequired,
101
- }
102
-
103
- SiteHeaderCTA.defaultProps = {
104
- cta:'Get started in 5 min',
105
- }
106
-
107
- export default SiteHeaderCTA
@@ -1,2 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
- export { default as SiteHeaderCTA } from './SiteHeaderCTA'
@@ -1,44 +0,0 @@
1
- /* @pareto-engineering/generator-front 1.0.12 */
2
-
3
- @use "@pareto-engineering/bem";
4
- @use "@aztlan/stylebook/src/mixins";
5
- @use "@aztlan/stylebook/src/globals" as *;
6
-
7
- $typed-cusor-font-size-sm:1.728em;
8
- $typed-cusor-font-size-md:2.985984em;
9
-
10
- .#{bem.$base}.header-c-t-a {
11
- align-items: center;
12
- display: flex;
13
- flex-direction: column;
14
- justify-content: space-between;
15
-
16
-
17
- .typed-content {
18
- color: var(--main1);
19
- }
20
-
21
- .typed-cursor {
22
- color: var(--main1);
23
- font-size: $typed-cusor-font-size-md;
24
- }
25
-
26
- .description {
27
- color: var(--subtitle);
28
- margin-bottom: 0;
29
- }
30
-
31
- .no-credit-card {
32
- color: var(--metadata);
33
- }
34
-
35
- @include mixins.media($to:$sm-md) {
36
- padding: var(--u);
37
-
38
- .typed-cursor {
39
- font-size: $typed-cusor-font-size-sm;
40
- }
41
- }
42
- }
43
-
44
-