@motech-development/breeze-ui 2.0.26 → 2.0.28

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 (2) hide show
  1. package/lib/index.d.ts +1 -1
  2. package/package.json +21 -30
package/lib/index.d.ts CHANGED
@@ -483,4 +483,4 @@ interface IWindowProps {
483
483
  }
484
484
  declare const Window: FC<IWindowProps>;
485
485
 
486
- export { Alert, AlertTheme, AppBar, Avatar, BaseStyles, Breakpoint, Button, ButtonLink, Calendar, Card, CheckBox, Col, Content, DataTable, DatePicker, DateTime, FileUpload, Form, IAddToast, IAlertProps, IAppBarProps, IAvatarProps, IButtonProps, ICalendarProps, ICardProps, ICheckBoxProps, IColProps, IContentProps, IDataTableProps, IDatePickerProps, IDateTimeProps, IFileUploadProps, IFormProps, ILinkButtonProps, ILoaderProps, IMasonryProps, IModalProps, INotificationsProps, IPageTitleProps, IProgressBarProps, IRadioOption, IRadioProps, IRowProps, ISelectOption, ISelectProps, IStepperProps, ITableCellProps, ITableProps, ITableRowProps, ITextBoxProps, ITypeaheadProps, ITypeaheadSuggestion, ITypographyProps, IWindowProps, Link, LinkButton, Loader, Masonry, Modal, Notifications, Overlay, PageTitle, ProgressBar, Radio, Row, ScrollToTop, Select, Stepper, TRowData, Table, TableBody, TableCell, TableHead, TableRow, TextBox, ToastContext, ToastProvider, Tooltip, Typeahead, Typography, Window, formatDateTime, useBreakpoint, useOutsideClick, useToast, useWindowSize };
486
+ export { Alert, type AlertTheme, AppBar, Avatar, BaseStyles, Breakpoint, Button, ButtonLink, Calendar, Card, CheckBox, Col, Content, DataTable, DatePicker, DateTime, FileUpload, Form, type IAddToast, type IAlertProps, type IAppBarProps, type IAvatarProps, type IButtonProps, type ICalendarProps, type ICardProps, type ICheckBoxProps, type IColProps, type IContentProps, type IDataTableProps, type IDatePickerProps, type IDateTimeProps, type IFileUploadProps, type IFormProps, type ILinkButtonProps, type ILoaderProps, type IMasonryProps, type IModalProps, type INotificationsProps, type IPageTitleProps, type IProgressBarProps, type IRadioOption, type IRadioProps, type IRowProps, type ISelectOption, type ISelectProps, type IStepperProps, type ITableCellProps, type ITableProps, type ITableRowProps, type ITextBoxProps, type ITypeaheadProps, type ITypeaheadSuggestion, type ITypographyProps, type IWindowProps, Link, LinkButton, Loader, Masonry, Modal, Notifications, Overlay, PageTitle, ProgressBar, Radio, Row, ScrollToTop, Select, Stepper, type TRowData, Table, TableBody, TableCell, TableHead, TableRow, TextBox, ToastContext, ToastProvider, Tooltip, Typeahead, Typography, Window, formatDateTime, useBreakpoint, useOutsideClick, useToast, useWindowSize };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motech-development/breeze-ui",
3
- "version": "2.0.26",
3
+ "version": "2.0.28",
4
4
  "description": "Breeze UI component library",
5
5
  "author": "Mo Gusbi <mo.gusbi@motechdevelopment.co.uk> (https://motechdevelopment.co.uk)",
6
6
  "license": "ISC",
@@ -19,7 +19,7 @@
19
19
  "lint": "eslint './src/**/*.{ts,tsx}'",
20
20
  "package": "run build",
21
21
  "prebuild": "rimraf ./lib",
22
- "start": "start-storybook",
22
+ "start": "storybook dev -p 6006",
23
23
  "test": "jest --watch",
24
24
  "test-ci": "jest --coverage --runInBand"
25
25
  },
@@ -41,37 +41,38 @@
41
41
  "yup": "1.4.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@motech-development/eslint-config-motech-base": "3.0.2",
45
- "@motech-development/eslint-config-motech-react": "2.0.2",
44
+ "@chromatic-com/storybook": "1.9.0",
45
+ "@motech-development/eslint-config-motech-base": "3.1.0",
46
+ "@motech-development/eslint-config-motech-react": "2.1.0",
46
47
  "@motech-development/prettier-motech-config": "1.1.1",
47
48
  "@motech-development/semantic-release": "1.1.1",
48
49
  "@rollup/plugin-commonjs": "26.0.1",
49
50
  "@rollup/plugin-node-resolve": "15.2.3",
50
- "@storybook/addon-a11y": "6.5.16",
51
- "@storybook/addon-knobs": "6.4.0",
52
- "@storybook/builder-webpack5": "6.5.16",
53
- "@storybook/manager-webpack5": "6.5.16",
54
- "@storybook/react": "6.5.16",
51
+ "@storybook/addon-a11y": "8.3.1",
52
+ "@storybook/addon-knobs": "8.0.1",
53
+ "@storybook/react": "8.3.1",
54
+ "@storybook/react-vite": "8.3.1",
55
55
  "@storybook/storybook-deployer": "2.8.16",
56
- "@swc/core": "1.7.18",
56
+ "@swc/core": "1.7.26",
57
57
  "@swc/jest": "0.2.36",
58
- "@testing-library/jest-dom": "5.17.0",
59
- "@testing-library/react": "14.3.1",
58
+ "@testing-library/jest-dom": "6.5.0",
59
+ "@testing-library/react": "16.0.1",
60
60
  "@testing-library/user-event": "14.5.2",
61
61
  "@types/jest": "29.5.12",
62
62
  "@types/luxon": "3.4.2",
63
- "@types/react": "18.3.4",
63
+ "@types/react": "18.3.5",
64
64
  "@types/react-dom": "18.3.0",
65
65
  "@types/styled-components": "5.1.34",
66
66
  "@typescript-eslint/eslint-plugin": "6.2.1",
67
67
  "@typescript-eslint/parser": "6.2.1",
68
+ "@vitejs/plugin-react-swc": "3.7.0",
68
69
  "eslint": "8.57.0",
69
70
  "eslint-config-airbnb": "19.0.4",
70
71
  "eslint-config-airbnb-typescript": "18.0.0",
71
72
  "eslint-config-prettier": "9.1.0",
72
73
  "eslint-plugin-cypress": "3.5.0",
73
74
  "eslint-plugin-import": "2.29.1",
74
- "eslint-plugin-jest": "28.8.0",
75
+ "eslint-plugin-jest": "28.8.3",
75
76
  "eslint-plugin-jsx-a11y": "6.9.0",
76
77
  "eslint-plugin-react": "7.35.0",
77
78
  "eslint-plugin-react-hooks": "4.6.2",
@@ -82,12 +83,13 @@
82
83
  "jest-watch-typeahead": "2.2.2",
83
84
  "prettier": "3.2.5",
84
85
  "rimraf": "6.0.1",
85
- "rollup": "3.29.4",
86
- "rollup-plugin-dts": "5.3.1",
86
+ "rollup": "4.21.2",
87
+ "rollup-plugin-dts": "6.1.1",
87
88
  "rollup-plugin-exclude-dependencies-from-bundle": "1.1.23",
88
89
  "rollup-plugin-swc3": "0.11.2",
89
- "storybook-addon-swc": "1.2.0",
90
- "typescript": "5.5.4"
90
+ "storybook": "8.3.1",
91
+ "typescript": "5.5.4",
92
+ "vite": "4.5.3"
91
93
  },
92
94
  "jest": {
93
95
  "collectCoverageFrom": [
@@ -102,18 +104,7 @@
102
104
  ],
103
105
  "testEnvironment": "jsdom",
104
106
  "transform": {
105
- "^.+\\.(t|j)sx?$": [
106
- "@swc/jest",
107
- {
108
- "jsc": {
109
- "transform": {
110
- "react": {
111
- "runtime": "automatic"
112
- }
113
- }
114
- }
115
- }
116
- ]
107
+ "^.+\\.(t|j)sx?$": "@swc/jest"
117
108
  },
118
109
  "watchPlugins": [
119
110
  "jest-watch-typeahead/filename",