@symply.io/basic-components 1.8.1-alpha.2 → 1.8.1

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.
@@ -15,9 +15,9 @@ import Typography from "@mui/material/Typography";
15
15
  import ThemeProvider from "@mui/material/styles/ThemeProvider";
16
16
  import useCustomTheme from "../useCustomTheme";
17
17
  function Copyright(props) {
18
- var year = props.year, ownerHref = props.ownerHref, ownerLabel = props.ownerLabel, allRightsReservedLabel = props.allRightsReservedLabel, displayAllRightsReserved = props.displayAllRightsReserved, primaryColor = props.primaryColor, secondaryColor = props.secondaryColor;
18
+ var year = props.year, ownerHref = props.ownerHref, ownerLabel = props.ownerLabel, showAllRightsReserved = props.showAllRightsReserved, allRightsReservedLabel = props.allRightsReservedLabel, primaryColor = props.primaryColor, secondaryColor = props.secondaryColor;
19
19
  var theme = useCustomTheme({ primaryColor: primaryColor, secondaryColor: secondaryColor });
20
- return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsxs(Typography, __assign({ sx: { fontSize: 16, fontWeight: 400 }, color: "textSecondary", align: "center" }, { children: ["Copyright © ", year !== null && year !== void 0 ? year : new Date().getFullYear(), "\u00A0", ownerHref ? (_jsx(Link, __assign({ color: "inherit", href: ownerHref }, { children: ownerLabel !== null && ownerLabel !== void 0 ? ownerLabel : "Symply Software Inc" }))) : (ownerLabel !== null && ownerLabel !== void 0 ? ownerLabel : "Symply Software Inc"), ".", displayAllRightsReserved
20
+ return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsxs(Typography, __assign({ sx: { fontSize: 16, fontWeight: 400 }, color: "textSecondary", align: "center" }, { children: ["Copyright © ", year !== null && year !== void 0 ? year : new Date().getFullYear(), "\u00A0", ownerHref ? (_jsx(Link, __assign({ color: "inherit", href: ownerHref }, { children: ownerLabel !== null && ownerLabel !== void 0 ? ownerLabel : "Symply Software Inc" }))) : (ownerLabel !== null && ownerLabel !== void 0 ? ownerLabel : "Symply Software Inc"), ".", showAllRightsReserved
21
21
  ? " ".concat(allRightsReservedLabel || "All Rights Reserved", ".")
22
22
  : ""] })) })));
23
23
  }
@@ -4,7 +4,7 @@ export interface CopyrightProps {
4
4
  ownerLabel?: string;
5
5
  ownerHref?: string;
6
6
  allRightsReservedLabel?: string;
7
- displayAllRightsReserved?: boolean;
7
+ showAllRightsReserved?: boolean;
8
8
  primaryColor?: CSSProperties["color"];
9
9
  secondaryColor?: CSSProperties["color"];
10
10
  }
package/README.md CHANGED
@@ -317,13 +317,13 @@ import Copyright from '@symply.io/basic-components/Copyright';
317
317
 
318
318
  <h5>Props</h5>
319
319
 
320
- | Name | Type | Default | Required | Description |
321
- | ------------------------ | ------ | -------------------- | -------- | -------------------------------------------------------- |
322
- | allRightsReservedLabel | string | All Rights Reserved. | false | The customized label for "All Rights Reserved". |
323
- | displayAllRightsReserved | bool | false | false | If `true` , the "All Rights Reserved" will be displayed. |
324
- | ownerHref | string | | false | The href ot the owner. |
325
- | ownerLabel | string | Symply Software Inc | false | The owner of the copyright. |
326
- | year | string | current year | false | The year of the copyright. |
320
+ | Name | Type | Default | Required | Description |
321
+ | ---------------------- | ------ | -------------------- | -------- | -------------------------------------------------------- |
322
+ | allRightsReservedLabel | string | All Rights Reserved. | false | The customized label for "All Rights Reserved". |
323
+ | showAllRightsReserved | bool | false | false | If `true` , the "All Rights Reserved" will be displayed. |
324
+ | ownerHref | string | | false | The href ot the owner. |
325
+ | ownerLabel | string | Symply Software Inc | false | The owner of the copyright. |
326
+ | year | string | current year | false | The year of the copyright. |
327
327
 
328
328
 
329
329
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.8.1-alpha.2",
3
+ "version": "1.8.1",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",