ag-common 0.0.526 → 0.0.528

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.
@@ -6,7 +6,7 @@ export declare const CheckboxEdit: ({ defaultValue, onSubmit, noGrow, allowUndo,
6
6
  /**
7
7
  * if true, will add undo button after changes. if false, will submit after every keypress. default true
8
8
  */
9
- allowUndo: boolean;
9
+ allowUndo?: boolean | undefined;
10
10
  /** display to right of CB */
11
11
  rightSpan?: React.ReactNode;
12
12
  }) => React.JSX.Element;
@@ -19,6 +19,6 @@ export declare const Timeline: ({ lineColour, items, onClick, maxCircleSize, cla
19
19
  /** used for behind icons. default white */
20
20
  bgColour?: string | undefined;
21
21
  titleHover?: ((i: ITimelineItem) => string) | undefined;
22
- /** if true, will show titles under timeline. default false */
22
+ /** if true, will show titles under timeline. default true */
23
23
  showTitles?: boolean | undefined;
24
24
  }) => React.JSX.Element;
@@ -43,7 +43,7 @@ const Item = styled_1.default.div `
43
43
  const Title = styled_1.default.span `
44
44
  text-align: center;
45
45
  `;
46
- const Timeline = ({ lineColour = '#ccc', items, onClick, maxCircleSize = 'min(5vw,3rem)', className, bgColour = 'white', titleHover, showTitles, }) => {
46
+ const Timeline = ({ lineColour = '#ccc', items, onClick, maxCircleSize = 'min(5vw,3rem)', className, bgColour = 'white', titleHover, showTitles = true, }) => {
47
47
  const firstFalse = items.findIndex((i) => !i.checked && !i.disabled);
48
48
  const lastTrue = (0, array_1.findLastIndex)(items, (i) => i.checked);
49
49
  return (react_1.default.createElement(Base, { className: className },
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.526",
2
+ "version": "0.0.528",
3
3
  "name": "ag-common",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
@@ -42,26 +42,26 @@
42
42
  "@babel/types": "7.23.0",
43
43
  "@emotion/react": "11.11.1",
44
44
  "@emotion/styled": "11.11.0",
45
- "@smithy/types": "2.3.5",
46
- "@storybook/addon-actions": "7.4.6",
47
- "@storybook/addon-docs": "7.4.6",
48
- "@storybook/addon-essentials": "7.4.6",
49
- "@storybook/addon-interactions": "7.4.6",
50
- "@storybook/addon-links": "7.4.6",
51
- "@storybook/addons": "7.4.6",
52
- "@storybook/react": "7.4.6",
53
- "@storybook/react-webpack5": "7.4.6",
54
- "@storybook/theming": "7.4.6",
55
- "@types/jest": "29.5.5",
56
- "@types/jsonwebtoken": "9.0.3",
57
- "@types/node": "20.8.6",
58
- "@types/react": "18.2.28",
59
- "@types/react-dom": "18.2.13",
45
+ "@smithy/types": "2.4.0",
46
+ "@storybook/addon-actions": "7.5.1",
47
+ "@storybook/addon-docs": "7.5.1",
48
+ "@storybook/addon-essentials": "7.5.1",
49
+ "@storybook/addon-interactions": "7.5.1",
50
+ "@storybook/addon-links": "7.5.1",
51
+ "@storybook/addons": "7.5.1",
52
+ "@storybook/react": "7.5.1",
53
+ "@storybook/react-webpack5": "7.5.1",
54
+ "@storybook/theming": "7.5.1",
55
+ "@types/jest": "29.5.6",
56
+ "@types/jsonwebtoken": "9.0.4",
57
+ "@types/node": "20.8.7",
58
+ "@types/react": "18.2.30",
59
+ "@types/react-dom": "18.2.14",
60
60
  "cross-env": "7.0.3",
61
- "eslint-config-e7npm": "0.0.45",
61
+ "eslint-config-e7npm": "0.0.46",
62
62
  "jest": "29.7.0",
63
63
  "rimraf": "5.0.5",
64
- "storybook": "7.4.6",
64
+ "storybook": "7.5.1",
65
65
  "ts-jest": "29.1.1"
66
66
  },
67
67
  "files": [