@eeacms/volto-eea-design-system 0.2.1 → 0.2.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.
Files changed (71) hide show
  1. package/.github/workflows/auto-comment.yml +20 -0
  2. package/CHANGELOG.md +165 -1
  3. package/package.json +1 -1
  4. package/src/semantic.less +1 -5
  5. package/src/ui/Banner/Banner.jsx +1 -1
  6. package/src/ui/Breadcrumbs/Breadcrumb.stories.jsx +3 -0
  7. package/src/ui/Breadcrumbs/Breadcrumbs.jsx +1 -0
  8. package/src/ui/CallToAction/CallToAction.stories.jsx +239 -0
  9. package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.jsx +14 -14
  10. package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.stories.jsx +24 -21
  11. package/src/ui/Card/Card.stories.jsx +249 -0
  12. package/src/ui/Card/PublicationCard.stories.jsx +46 -0
  13. package/src/ui/Card/RelatedContent/RelatedContent.jsx +76 -0
  14. package/src/ui/Card/RelatedContent/RelatedContent.stories.jsx +313 -0
  15. package/src/ui/Card/RoundedCard.stories.jsx +96 -0
  16. package/src/ui/{Button → Form/Button}/Button.stories.jsx +88 -52
  17. package/src/ui/KeyContent/KeyContent.jsx +9 -3
  18. package/src/ui/KeyContent/KeyContent.stories.jsx +1 -22
  19. package/src/ui/Loader/Loader.stories.jsx +21 -3
  20. package/src/ui/Testimonial/Testimonial.jsx +9 -8
  21. package/src/ui/Testimonial/Testimonial.stories.jsx +14 -11
  22. package/src/ui/Timeline/Timeline.jsx +1 -1
  23. package/src/ui/Timeline/Timeline.stories.jsx +12 -12
  24. package/src/ui/index.js +2 -4
  25. package/theme/theme.config +2 -4
  26. package/theme/themes/eea/collections/breadcrumb.overrides +12 -20
  27. package/theme/themes/eea/collections/breadcrumb.variables +3 -3
  28. package/theme/themes/eea/collections/form.overrides +116 -0
  29. package/theme/themes/eea/elements/button.overrides +172 -113
  30. package/theme/themes/eea/elements/button.variables +20 -6
  31. package/theme/themes/eea/elements/container.overrides +4 -19
  32. package/theme/themes/eea/elements/container.variables +5 -4
  33. package/theme/themes/eea/elements/label.overrides +12 -3
  34. package/theme/themes/eea/elements/label.variables +1 -1
  35. package/theme/themes/eea/elements/list.overrides +10 -0
  36. package/theme/themes/eea/elements/list.variables +3 -1
  37. package/theme/themes/eea/elements/loader.overrides +197 -0
  38. package/theme/themes/eea/elements/loader.variables +12 -1
  39. package/theme/themes/eea/elements/segment.overrides +77 -0
  40. package/theme/themes/eea/elements/segment.variables +2 -2
  41. package/theme/themes/eea/extras/avatarGrid.less +22 -24
  42. package/theme/themes/eea/extras/avatarGrid.variables +4 -8
  43. package/theme/themes/eea/extras/banner.less +32 -41
  44. package/theme/themes/eea/extras/blockquote.less +6 -3
  45. package/theme/themes/eea/extras/footer.less +239 -241
  46. package/theme/themes/eea/extras/header.less +1 -1
  47. package/theme/themes/eea/extras/keyContent.less +18 -16
  48. package/theme/themes/eea/extras/keyContent.variables +13 -7
  49. package/theme/themes/eea/extras/main.overrides +9 -0
  50. package/theme/themes/eea/extras/main.variables +3 -0
  51. package/theme/themes/eea/extras/pullquote.less +3 -3
  52. package/theme/themes/eea/extras/relatedContent.less +27 -0
  53. package/theme/themes/eea/extras/relatedContent.variables +3 -0
  54. package/theme/themes/eea/extras/tagList.less +0 -1
  55. package/theme/themes/eea/globals/site.variables +16 -12
  56. package/theme/themes/eea/modules/modal.overrides +4 -0
  57. package/theme/themes/eea/modules/progress.variables +1 -1
  58. package/theme/themes/eea/modules/tab.overrides +24 -0
  59. package/theme/themes/eea/modules/tab.variables +11 -1
  60. package/theme/themes/eea/views/card.overrides +242 -25
  61. package/theme/themes/eea/views/card.variables +92 -8
  62. package/src/ui/Avatar/Avatar.jsx +0 -32
  63. package/src/ui/Avatar/Avatar.stories.jsx +0 -61
  64. package/src/ui/PublicationCard/PublicationCard.jsx +0 -27
  65. package/src/ui/PublicationCard/PublicationCard.stories.jsx +0 -69
  66. package/src/ui/RelatedContent/RelatedContent.jsx +0 -90
  67. package/src/ui/RelatedContent/RelatedContent.stories.jsx +0 -80
  68. package/theme/themes/eea/extras/avatar.less +0 -97
  69. package/theme/themes/eea/extras/avatar.variables +0 -34
  70. package/theme/themes/eea/extras/publicationCard.less +0 -62
  71. package/theme/themes/eea/extras/publicationCard.variables +0 -24
@@ -0,0 +1,96 @@
1
+ import React from 'react';
2
+ import { Card, Image, Container } from 'semantic-ui-react';
3
+ import imgUrl from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/avatar.png';
4
+
5
+ export default {
6
+ title: 'Components/Card/Rounded Card',
7
+ component: Card,
8
+ parameters: {
9
+ actions: {
10
+ handles: ['click'],
11
+ },
12
+ },
13
+ argTypes: {
14
+ hasImage: {
15
+ description: 'true if card contains image',
16
+ table: {
17
+ type: {
18
+ summary: 'boolean',
19
+ },
20
+ defaultValue: { summary: true },
21
+ },
22
+ },
23
+ title: {
24
+ description: 'card header',
25
+ table: {
26
+ type: {
27
+ summary: 'string',
28
+ },
29
+ defaultValue: { summary: ' "" ' },
30
+ },
31
+ },
32
+ description: {
33
+ description: 'card main content',
34
+ table: {
35
+ type: {
36
+ summary: 'string',
37
+ },
38
+ defaultValue: { summary: ' "" ' },
39
+ },
40
+ },
41
+ fluid: {
42
+ description: 'take up the width of its container',
43
+ table: {
44
+ type: {
45
+ summary: 'boolean',
46
+ },
47
+ defaultValue: { summary: false },
48
+ },
49
+ },
50
+ avatarVariant: {
51
+ options: ['big', 'small'],
52
+ control: { type: 'inline-radio' },
53
+ defaultValue: 'big',
54
+ description: 'rounded card size class',
55
+ table: {
56
+ type: {
57
+ summary: 'string',
58
+ },
59
+ defaultValue: { summary: ' "" ' },
60
+ },
61
+ },
62
+ src: {
63
+ description: 'rounded card image url',
64
+ table: {
65
+ type: {
66
+ summary: 'string',
67
+ },
68
+ defaultValue: { summary: ' "" ' },
69
+ },
70
+ },
71
+ },
72
+ };
73
+
74
+ const AvatarTemplate = (args) => (
75
+ <Container>
76
+ <Card className={`rounded ${args.avatarVariant}`} fluid={args.fluid}>
77
+ {args.hasImage && (
78
+ <Image src={args.src} wrapped ui={false} alt="card image" />
79
+ )}
80
+ <Card.Content>
81
+ <Card.Header>{args.title}</Card.Header>
82
+ <Card.Description>{args.description}</Card.Description>
83
+ </Card.Content>
84
+ </Card>
85
+ </Container>
86
+ );
87
+
88
+ export const Default = AvatarTemplate.bind({});
89
+ Default.args = {
90
+ avatarVariant: 'big',
91
+ src: imgUrl,
92
+ title: 'Lorem Ipsum',
93
+ description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
94
+ hasImage: true,
95
+ fluid: false,
96
+ };
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { Button, Icon, Segment } from 'semantic-ui-react';
2
+ import { Button, Icon, Container, Segment } from 'semantic-ui-react';
3
3
 
4
4
  export default {
5
- title: 'Components/Button',
5
+ title: 'Components/Forms/Button',
6
6
  component: Button,
7
7
  parameters: {
8
8
  actions: {
@@ -30,12 +30,31 @@ export default {
30
30
  },
31
31
  };
32
32
 
33
+ //Default Button
34
+ export const Default = (args) => {
35
+ return (
36
+ <Container>
37
+ <Button disabled={args.disabled}>{args.label}</Button>
38
+ </Container>
39
+ );
40
+ };
41
+ Default.args = {
42
+ label: 'Default Button',
43
+ disabled: false,
44
+ };
45
+ Default.parameters = {
46
+ controls: { exclude: ['animated', 'variant'] },
47
+ hideNoControlsWarning: true,
48
+ };
49
+
33
50
  //Primary button
34
51
  export const Primary = (args) => {
35
52
  return (
36
- <Button primary disabled={args.disabled}>
37
- {args.label}
38
- </Button>
53
+ <Container>
54
+ <Button primary disabled={args.disabled}>
55
+ {args.label}
56
+ </Button>
57
+ </Container>
39
58
  );
40
59
  };
41
60
  Primary.args = {
@@ -50,9 +69,11 @@ Primary.parameters = {
50
69
  //secondary Button
51
70
  export const Secondary = (args) => {
52
71
  return (
53
- <Button secondary disabled={args.disabled}>
54
- {args.label}
55
- </Button>
72
+ <Container>
73
+ <Button secondary disabled={args.disabled}>
74
+ {args.label}
75
+ </Button>
76
+ </Container>
56
77
  );
57
78
  };
58
79
  Secondary.args = {
@@ -65,54 +86,74 @@ Secondary.parameters = {
65
86
  };
66
87
 
67
88
  //secondary Button Inverted
68
- export const SecondaryInverted = (args) => {
89
+ export const Inverted = (args) => {
69
90
  return (
70
- <Segment inverted compact>
71
- <Button secondary inverted disabled={args.disabled}>
72
- {args.label}
73
- </Button>
74
- </Segment>
91
+ <Container>
92
+ <Segment compact>
93
+ <Button primary inverted disabled={args.disabled}>
94
+ {args.button1}
95
+ </Button>
96
+ </Segment>
97
+ <Segment compact>
98
+ <Button secondary inverted disabled={args.disabled}>
99
+ {args.button2}
100
+ </Button>
101
+ </Segment>
102
+ <Segment inverted compact>
103
+ <Button inverted disabled={args.disabled}>
104
+ {args.button3}
105
+ </Button>
106
+ </Segment>
107
+ </Container>
75
108
  );
76
109
  };
77
- SecondaryInverted.args = {
78
- label: 'Secondary Button',
110
+ Inverted.args = {
111
+ button1: 'Primary Inverted',
112
+ button2: 'Secondary Inverted',
113
+ button3: 'Default Inverted',
79
114
  disabled: false,
80
115
  };
81
- SecondaryInverted.parameters = {
82
- controls: { exclude: ['animated', 'variant'] },
116
+ Inverted.parameters = {
117
+ controls: { exclude: ['animated', 'variant', 'label'] },
83
118
  hideNoControlsWarning: true,
84
119
  };
85
120
 
86
121
  //Call to action button
87
- export const CallToAction = (args) => {
122
+ export const Labeled = (args) => {
88
123
  return (
89
- <Button
90
- icon
91
- labelPosition="right"
92
- className="action"
93
- disabled={args.disabled}
94
- >
95
- {args.label}
96
- <Icon name={args.icon} />
97
- </Button>
124
+ <Container>
125
+ <Button
126
+ className={args.variant + ' icon ' + args.icon_position + ' labeled'}
127
+ disabled={args.disabled}
128
+ >
129
+ {args.label}
130
+ <Icon name={args.icon} />
131
+ </Button>
132
+ </Container>
98
133
  );
99
134
  };
100
- CallToAction.args = {
135
+ Labeled.args = {
101
136
  label: 'CALL TO ACTION BUTTON',
102
137
  icon: 'chevron right',
103
138
  disabled: false,
104
139
  };
105
- CallToAction.parameters = {
106
- controls: { exclude: ['animated', 'variant'] },
140
+ Labeled.parameters = {
141
+ controls: { exclude: ['animated'] },
107
142
  hideNoControlsWarning: true,
108
143
  };
109
- CallToAction.argTypes = {
144
+ Labeled.argTypes = {
145
+ variant: {
146
+ options: ['primary', 'secondary', 'default'],
147
+ control: { type: 'radio' },
148
+ defaultValue: 'secondary',
149
+ },
150
+
110
151
  label: {
111
- name: 'button label',
112
- type: { name: 'string', required: true },
152
+ name: 'label',
153
+ type: { name: 'string', required: false },
113
154
  },
114
155
  icon: {
115
- name: 'button icon',
156
+ name: 'icon',
116
157
  type: { name: 'string', required: false },
117
158
  defaultValue: 'chevron right',
118
159
  options: [
@@ -136,14 +177,22 @@ CallToAction.argTypes = {
136
177
  defaultValue: { summary: 'chevron right' },
137
178
  },
138
179
  },
180
+
181
+ icon_position: {
182
+ options: [' left', ' right'],
183
+ control: { type: 'radio' },
184
+ defaultValue: ' left',
185
+ },
139
186
  };
140
187
 
141
- //Text Button - can also play with text class
188
+ //Text Button
142
189
  export const Text = (args) => {
143
190
  return (
144
- <Button as="p" disabled={args.disabled}>
145
- {args.label}
146
- </Button>
191
+ <Container>
192
+ <Button as="p" disabled={args.disabled}>
193
+ {args.label}
194
+ </Button>
195
+ </Container>
147
196
  );
148
197
  };
149
198
  Text.args = {
@@ -154,16 +203,3 @@ Text.parameters = {
154
203
  controls: { exclude: ['animated', 'variant'] },
155
204
  hideNoControlsWarning: true,
156
205
  };
157
-
158
- //Cancel Button
159
- export const Cancel = (args) => {
160
- return <Button disabled={args.disabled}>{args.label}</Button>;
161
- };
162
- Cancel.args = {
163
- label: 'Cancel Button',
164
- disabled: false,
165
- };
166
- Cancel.parameters = {
167
- controls: { exclude: ['animated', 'variant'] },
168
- hideNoControlsWarning: true,
169
- };
@@ -8,15 +8,21 @@ KeyContent.propTypes = {
8
8
 
9
9
  function KeyContent({ children, ...rest }) {
10
10
  return (
11
- <div className={`eea key-content ${rest.variant}`} {...rest}>
11
+ <div className="eea key-content" {...rest}>
12
12
  {children}
13
13
  </div>
14
14
  );
15
15
  }
16
16
 
17
- KeyContent.Title = ({ children }) => <p className="title">{children}</p>;
17
+ KeyContent.Title = ({ children }) => <h2 className="title">{children}</h2>;
18
18
  KeyContent.List = ({ children, ...rest }) => (
19
- <List bulleted horizontal={false} items={rest.items}></List>
19
+ <List as="ul" bulleted horizontal={false}>
20
+ {rest.items.map((item, index) => (
21
+ <List.Item as="li" className="item" key={index}>
22
+ {item}
23
+ </List.Item>
24
+ ))}
25
+ </List>
20
26
  );
21
27
 
22
28
  export default KeyContent;
@@ -24,7 +24,7 @@ export default {
24
24
  };
25
25
 
26
26
  const DefaultTemplate = (args) => (
27
- <KeyContent variant="colored" {...args}>
27
+ <KeyContent {...args}>
28
28
  <KeyContent.Title>{args.title}</KeyContent.Title>
29
29
  <KeyContent.List {...args}></KeyContent.List>
30
30
  </KeyContent>
@@ -39,24 +39,3 @@ Default.args = {
39
39
  'Felis malesuada in elementum turpis. Enim, eu adipiscing sit fames ornare amet, suscipit. Neque, faucibus facilisi egestas vitae viverra tristique cum viverra elit. Nunc fermentum bibendum fames ultricies turpis habitant. ',
40
40
  ],
41
41
  };
42
-
43
- const SecondaryTemplate = (args) => (
44
- <KeyContent {...args}>
45
- <KeyContent.Title>{args.title}</KeyContent.Title>
46
- <KeyContent.List {...args}></KeyContent.List>
47
- </KeyContent>
48
- );
49
-
50
- export const Secondary = SecondaryTemplate.bind({});
51
- Secondary.args = {
52
- title: 'Lorem ipsum',
53
- items: [
54
- 'Sed pulvinar nisi, convallis sed non non eu, erat.',
55
- 'Consectetur adipiscing elit ut aliquam, purus sit amet luctus venenatis',
56
- 'Lorem ipsum dolor sit amet, consectetur',
57
- 'Purus sit amet luctus venenatis, lectus',
58
- 'Sed placerat sit erat sed massa in leo sit in ac vivamus tincidunt tincidunt tristique mi molestie dictum faucibus mauris',
59
- 'Luctus malesuada non in adipiscing convallis consectetur egestas sed',
60
- 'Vulputate gravida amet amet convallis quis',
61
- ],
62
- };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Loader } from 'semantic-ui-react';
2
+ import { Dimmer, Loader, Image, Segment } from 'semantic-ui-react';
3
3
 
4
4
  export default {
5
5
  title: 'Components/Loader',
@@ -19,9 +19,22 @@ export default {
19
19
  },
20
20
  };
21
21
 
22
- const Template = (args) => <Loader {...args} inline="centered" />;
22
+ const DefaultTemplate = (args) => <Loader {...args} inline="centered" />;
23
23
 
24
- export const Default = Template.bind({});
24
+ const FullPageTemplate = (args) => (
25
+ <Segment>
26
+ <Dimmer active>
27
+ <Loader {...args} className="eea-loader" />
28
+ </Dimmer>
29
+
30
+ <Image
31
+ src="https://react.semantic-ui.com/images/wireframe/short-paragraph.png"
32
+ alt="paragraph"
33
+ />
34
+ </Segment>
35
+ );
36
+
37
+ export const Default = DefaultTemplate.bind({});
25
38
  Default.args = {
26
39
  active: true,
27
40
  content: '',
@@ -43,3 +56,8 @@ Default.argTypes = {
43
56
  control: { type: 'select' },
44
57
  },
45
58
  };
59
+
60
+ export const FullPageLoader = FullPageTemplate.bind({});
61
+ FullPageLoader.args = {
62
+ content: 'Loading...',
63
+ };
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import Divider from '../Divider/Divider';
4
- import Avatar from '../Avatar/Avatar';
4
+
5
5
  import Pullquote from '../Pullquote/Pullquote';
6
- import { Grid } from 'semantic-ui-react';
6
+ import { Grid, Card, Image } from 'semantic-ui-react';
7
7
 
8
8
  Testimonial.propTypes = {
9
9
  title: PropTypes.string,
@@ -24,12 +24,13 @@ Testimonial.Avatar = ({ children, ...rest }) => {
24
24
  return (
25
25
  <Grid.Column mobile={12} tablet={2} computer={2}>
26
26
  <div className="avatar-wrapper">
27
- <Avatar {...rest} image_url={rest.image_url} avatarSize="small">
28
- <Avatar.Content>
29
- <Avatar.Title>{rest.title}</Avatar.Title>
30
- <Avatar.Metadata>{rest.metadata}</Avatar.Metadata>
31
- </Avatar.Content>
32
- </Avatar>
27
+ <Card className={`eea avatar small`} fluid={rest.fluid}>
28
+ <Image src={rest.src} wrapped ui={false} alt="card image" />
29
+ <Card.Content>
30
+ <Card.Header>{rest.title}</Card.Header>
31
+ <Card.Description>{rest.description}</Card.Description>
32
+ </Card.Content>
33
+ </Card>
33
34
  </div>
34
35
  </Grid.Column>
35
36
  );
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  // eslint-disable-next-line import/no-unresolved
3
3
  import imgUrl from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/avatar.png';
4
4
  import Testimonial from './Testimonial';
5
+ import { Container } from 'semantic-ui-react';
5
6
 
6
7
  export default {
7
8
  title: 'Components/Testimonial',
@@ -28,17 +29,19 @@ export default {
28
29
  };
29
30
 
30
31
  const InlineTemplate = (args) => (
31
- <Testimonial {...args}>
32
- <Testimonial.Avatar
33
- image_url={imgUrl}
34
- title={args.avatarTitle}
35
- metadata={args.avatarInfo}
36
- ></Testimonial.Avatar>
37
- <Testimonial.Content>
38
- <Testimonial.Title>{args.title}</Testimonial.Title>
39
- <Testimonial.Pullquote>{args.quote}</Testimonial.Pullquote>
40
- </Testimonial.Content>
41
- </Testimonial>
32
+ <Container>
33
+ <Testimonial {...args}>
34
+ <Testimonial.Avatar
35
+ src={imgUrl}
36
+ title={args.avatarTitle}
37
+ description={args.avatarInfo}
38
+ ></Testimonial.Avatar>
39
+ <Testimonial.Content>
40
+ <Testimonial.Title>{args.title}</Testimonial.Title>
41
+ <Testimonial.Pullquote>{args.quote}</Testimonial.Pullquote>
42
+ </Testimonial.Content>
43
+ </Testimonial>
44
+ </Container>
42
45
  );
43
46
 
44
47
  export const Inline = InlineTemplate.bind({});
@@ -37,7 +37,7 @@ Timeline.Content = (args) => (
37
37
 
38
38
  Timeline.Icon = (args) => (
39
39
  <Grid.Column width={2} className="line">
40
- <Icon name={args.icon} color={args.color} inverted circular />
40
+ <Icon className={args.icon} color={args.color} inverted circular />
41
41
  </Grid.Column>
42
42
  );
43
43
 
@@ -73,7 +73,7 @@ const TemplateReversed = (args) => (
73
73
 
74
74
  export const Default = Template.bind({});
75
75
  Default.args = {
76
- icon: 'user',
76
+ icon: 'ri-user-3-fill',
77
77
  time: 'Date and time',
78
78
  title: 'Title',
79
79
  description: 'description',
@@ -83,7 +83,7 @@ Default.args = {
83
83
 
84
84
  Default.argTypes = {
85
85
  icon: {
86
- description: 'timeline item icon',
86
+ description: 'timeline item icon class',
87
87
  table: {
88
88
  type: {
89
89
  summary: 'string',
@@ -152,7 +152,7 @@ Default.argTypes = {
152
152
 
153
153
  export const DefaultReversed = TemplateReversed.bind({});
154
154
  DefaultReversed.args = {
155
- icon: 'user',
155
+ icon: 'ri-user-3-fill',
156
156
  time: 'Date and time',
157
157
  title: 'Title',
158
158
  description: 'description',
@@ -162,7 +162,7 @@ DefaultReversed.args = {
162
162
 
163
163
  DefaultReversed.argTypes = {
164
164
  icon: {
165
- description: 'timeline item icon',
165
+ description: 'timeline item icon class',
166
166
  table: {
167
167
  type: {
168
168
  summary: 'string',
@@ -234,7 +234,7 @@ export const Multiple = (args) => <TimelineEEA {...args}></TimelineEEA>;
234
234
  Multiple.args = {
235
235
  items: [
236
236
  {
237
- icon: 'time',
237
+ icon: 'ri-time-line',
238
238
  time: 'Date and time',
239
239
  title: 'Title 1',
240
240
  description: 'description 1',
@@ -242,7 +242,7 @@ Multiple.args = {
242
242
  tags: [],
243
243
  },
244
244
  {
245
- icon: 'check circle',
245
+ icon: 'ri-checkbox-circle-line',
246
246
  time: 'Date and time',
247
247
  title: 'Title 2',
248
248
  description: 'description 2',
@@ -250,11 +250,11 @@ Multiple.args = {
250
250
  tags: [],
251
251
  },
252
252
  {
253
- icon: 'minus circle',
253
+ icon: 'ri-indeterminate-circle-line',
254
254
  time: 'Date and time',
255
255
  title: 'Title 3',
256
256
  description: 'description 3',
257
- color: 'teal',
257
+ color: 'violet',
258
258
  tags: [],
259
259
  },
260
260
  ],
@@ -281,7 +281,7 @@ export const MultipleReversed = (args) => (
281
281
  MultipleReversed.args = {
282
282
  items: [
283
283
  {
284
- icon: 'time',
284
+ icon: 'ri-time-line',
285
285
  time: 'Date and time',
286
286
  title: 'Title 1',
287
287
  description: 'description 1',
@@ -289,7 +289,7 @@ MultipleReversed.args = {
289
289
  tags: [],
290
290
  },
291
291
  {
292
- icon: 'check circle',
292
+ icon: 'ri-checkbox-circle-line',
293
293
  time: 'Date and time',
294
294
  title: 'Title 2',
295
295
  description: 'description 2',
@@ -297,11 +297,11 @@ MultipleReversed.args = {
297
297
  tags: [],
298
298
  },
299
299
  {
300
- icon: 'minus circle',
300
+ icon: 'ri-indeterminate-circle-line',
301
301
  time: 'Date and time',
302
302
  title: 'Title 3',
303
303
  description: 'description 3',
304
- color: 'teal',
304
+ color: 'violet',
305
305
  tags: [],
306
306
  },
307
307
  ],
package/src/ui/index.js CHANGED
@@ -20,12 +20,10 @@ export Pullquote from './Pullquote/Pullquote';
20
20
 
21
21
  export Timeline from './Timeline/Timeline';
22
22
 
23
- export Avatar from './Avatar/Avatar';
24
-
25
23
  export Testimonial from './Testimonial/Testimonial';
26
24
 
27
- export AvatarGrid from './AvatarGrid/AvatarGrid';
25
+ export AvatarGrid from './Card/AvatarGrid/AvatarGrid';
28
26
 
29
27
  export KeyContent from './KeyContent/KeyContent';
30
28
 
31
- export PublicationCard from './PublicationCard/PublicationCard';
29
+ export RelatedContent from './Card/RelatedContent/RelatedContent';
@@ -83,16 +83,14 @@
83
83
  @timeline : 'eea';
84
84
  @footer : 'eea';
85
85
  @header : 'eea';
86
- @tag : 'eea';
87
- @tagList : 'eea';
88
- @content : 'eea';
86
+ @tag : 'eea';
89
87
  @inpageNavigation : 'eea';
90
- @avatar : 'eea';
91
88
  @divider : 'eea';
92
89
  @testimonial : 'eea';
93
90
  @avatarGrid : 'eea';
94
91
  @keyContent : 'eea';
95
92
  @publicationCard : 'eea';
93
+ @relatedContent : 'eea';
96
94
 
97
95
  /*******************************
98
96
  Folders
@@ -1,3 +1,15 @@
1
+ /*******************************
2
+ Pastanaga Theme Overrides
3
+ *******************************/
4
+
5
+ .ui.breadcrumb {
6
+ display: flex;
7
+ align-items: center;
8
+
9
+ .home.icon {
10
+ margin-right: 0;
11
+ }
12
+ }
1
13
  /*******************************
2
14
  Theme Overrides
3
15
  *******************************/
@@ -21,24 +33,4 @@
21
33
  width: @breadcrumbIconWidth;
22
34
  font-size: @breadcrumbIconFontSize;
23
35
  }
24
-
25
- a:first-child {
26
- padding: @breadcrumbFirstChildPadding;
27
- }
28
- }
29
-
30
- @media only screen and (min-width: @tabletBreakpoint) {
31
- .ui.breadcrumb {
32
- .section {
33
- padding: @tabletBreadcrumbPadding;
34
- }
35
- }
36
- }
37
-
38
- @media only screen and (min-width: @computerBreakpoint) {
39
- .ui.breadcrumb {
40
- .section {
41
- padding: @computerBreadcrumbPadding;
42
- }
43
- }
44
36
  }
@@ -7,7 +7,7 @@
7
7
  --------------------*/
8
8
 
9
9
  @verticalMargin: 0em;
10
- @display: inline-block;
10
+ @display: flex;
11
11
  @verticalAlign: middle;
12
12
 
13
13
  @mobileBreadcrumbPadding: 0;
@@ -28,10 +28,10 @@
28
28
  @dividerColor: @deepBlue;
29
29
 
30
30
  @dividerSize: @relativeSmall;
31
- @dividerVerticalAlign: sub;
31
+ @dividerVerticalAlign: baseline;
32
32
 
33
33
  @iconDividerSize: 0.75rem;
34
- @iconDividerVerticalAlign: sub;
34
+ @iconDividerVerticalAlign: baseline;
35
35
 
36
36
  @sectionMargin: 0em;
37
37
  @sectionPadding: 0em;