ag-common 0.0.24 → 0.0.25

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.
@@ -111,6 +111,8 @@ const openApiImpl = (p) => {
111
111
  bundling: {
112
112
  externalModules: ['aws-sdk', 'aws-lambda'],
113
113
  },
114
+ reservedConcurrentExecutions: 5,
115
+ logRetention: aws_cdk_lib_1.aws_logs.RetentionDays.FIVE_DAYS,
114
116
  });
115
117
  readTables.forEach((t) => t.table.grantReadData(lambdaV));
116
118
  writeTables.forEach((t) => t.table.grantReadWriteData(lambdaV));
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const Chevron: ({ down, width, className, colour, }: {
3
+ colour?: string | undefined;
4
+ className?: string | undefined;
5
+ width?: string | undefined;
6
+ down: boolean;
7
+ }) => JSX.Element;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Chevron = void 0;
7
+ const styled_components_1 = __importDefault(require("styled-components"));
8
+ const react_1 = __importDefault(require("react"));
9
+ const Icon_1 = require("../Icon");
10
+ const SChevron = styled_components_1.default.span `
11
+ font-size: 2rem;
12
+ display: flex;
13
+ justify-content: center;
14
+ align-items: center;
15
+ `;
16
+ const IconStyled = (0, styled_components_1.default)(Icon_1.Icon) `
17
+ cursor: pointer;
18
+ margin: 0;
19
+ padding: 0;
20
+ `;
21
+ const ChevronIcon = (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 -256 1792 1792" },
22
+ react_1.default.createElement("path", { d: "M1679.339 301.56q0 53-37 90l-651 651q-38 38-91 38-54 0-90-38l-651-651q-38-36-38-90 0-53 38-91l74-75q39-37 91-37 53 0 90 37l486 486 486-486q37-37 90-37 52 0 91 37l75 75q37 39 37 91z" })));
23
+ const Chevron = ({ down, width = '1.2rem', className, colour = 'black', }) => (react_1.default.createElement(SChevron, { className: className },
24
+ react_1.default.createElement(IconStyled, { flip: down, fill: colour, width: width, height: width }, ChevronIcon)));
25
+ exports.Chevron = Chevron;
@@ -1,5 +1,6 @@
1
1
  export * from './BorderGradient';
2
2
  export * from './Button';
3
+ export * from './Chevron';
3
4
  export * from './Dropdown';
4
5
  export * from './DropdownList';
5
6
  export * from './FlexColumn';
@@ -12,6 +12,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./BorderGradient"), exports);
14
14
  __exportStar(require("./Button"), exports);
15
+ __exportStar(require("./Chevron"), exports);
15
16
  __exportStar(require("./Dropdown"), exports);
16
17
  __exportStar(require("./DropdownList"), exports);
17
18
  __exportStar(require("./FlexColumn"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-common",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Andrei Gec <@andreigec> (https://gec.dev/)",