@conduction/components 1.0.19 → 1.0.20

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.
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ interface QuoteWrapperProps {
3
+ borderColor?: string;
4
+ borderWidth?: string;
5
+ }
6
+ export declare const QuoteWrapper: React.FC<QuoteWrapperProps>;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as styles from "./QuoteWrapper.module.css";
3
+ export const QuoteWrapper = ({ children, borderColor, borderWidth }) => {
4
+ return (_jsx("div", { style: { borderLeftColor: borderColor, borderLeftWidth: borderWidth }, className: styles.container, children: children }));
5
+ };
@@ -0,0 +1,12 @@
1
+ :root {
2
+ --conduction-quote-border-width: 12px;
3
+ --conduction-quote-border-color: #f5f5f5;
4
+ --conduction-quote-padding-inline: 24px;
5
+ }
6
+
7
+ .container {
8
+ border-left-width: var(--conduction-quote-border-width);
9
+ border-left-style: solid;
10
+ border-left-color: var(--conduction-quote-border-color);
11
+ padding-inline-start: var(--conduction-quote-padding-inline);
12
+ }
package/lib/index.d.ts CHANGED
@@ -19,4 +19,5 @@ declare const NotificationPopUp: {
19
19
  };
20
20
  NotificationPopUp: import("react").FC<import("./components/notificationPopUp/NotificationPopUp").NotificationPopUpProps>;
21
21
  };
22
- export { InputRadio, DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard, Container, Breadcrumbs, EditableTableRow, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, AuthenticatedLogo, UnauthenticatedLogo, MetaIcon, PrivateRoute, StatusSteps, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, };
22
+ import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
23
+ export { InputRadio, DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard, Container, Breadcrumbs, EditableTableRow, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, AuthenticatedLogo, UnauthenticatedLogo, MetaIcon, PrivateRoute, StatusSteps, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, };
package/lib/index.js CHANGED
@@ -12,4 +12,5 @@ import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav/TopNav";
12
12
  import { Tag } from "./components/tag/Tag";
13
13
  import { NotificationPopUpController, NotificationPopUp as _NotificationPopUp, } from "./components/notificationPopUp/NotificationPopUp";
14
14
  const NotificationPopUp = { controller: NotificationPopUpController, NotificationPopUp: _NotificationPopUp };
15
- export { InputRadio, DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard, Container, Breadcrumbs, EditableTableRow, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, AuthenticatedLogo, UnauthenticatedLogo, MetaIcon, PrivateRoute, StatusSteps, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, };
15
+ import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
16
+ export { InputRadio, DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard, Container, Breadcrumbs, EditableTableRow, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, AuthenticatedLogo, UnauthenticatedLogo, MetaIcon, PrivateRoute, StatusSteps, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/components",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -0,0 +1,12 @@
1
+ :root {
2
+ --conduction-quote-border-width: 12px;
3
+ --conduction-quote-border-color: #f5f5f5;
4
+ --conduction-quote-padding-inline: 24px;
5
+ }
6
+
7
+ .container {
8
+ border-left-width: var(--conduction-quote-border-width);
9
+ border-left-style: solid;
10
+ border-left-color: var(--conduction-quote-border-color);
11
+ padding-inline-start: var(--conduction-quote-padding-inline);
12
+ }
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+ import * as styles from "./QuoteWrapper.module.css";
3
+
4
+ interface QuoteWrapperProps {
5
+ borderColor?: string;
6
+ borderWidth?: string;
7
+ }
8
+
9
+ export const QuoteWrapper: React.FC<QuoteWrapperProps> = ({ children, borderColor, borderWidth }) => {
10
+ return (
11
+ <div style={{ borderLeftColor: borderColor, borderLeftWidth: borderWidth }} className={styles.container}>
12
+ {children}
13
+ </div>
14
+ );
15
+ };
package/src/index.ts CHANGED
@@ -29,13 +29,12 @@ import { PrivateRoute } from "./components/privateRoute/PrivateRoute";
29
29
  import { StatusSteps } from "./components/statusSteps/StatusSteps";
30
30
  import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav/TopNav";
31
31
  import { Tag } from "./components/tag/Tag";
32
-
33
32
  import {
34
33
  NotificationPopUpController,
35
34
  NotificationPopUp as _NotificationPopUp,
36
35
  } from "./components/notificationPopUp/NotificationPopUp";
37
-
38
36
  const NotificationPopUp = { controller: NotificationPopUpController, NotificationPopUp: _NotificationPopUp };
37
+ import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
39
38
 
40
39
  export {
41
40
  InputRadio,
@@ -68,4 +67,5 @@ export {
68
67
  SecondaryTopNav,
69
68
  Tag,
70
69
  NotificationPopUp,
70
+ QuoteWrapper,
71
71
  };