@royaloperahouse/harmonic 0.1.0 → 0.1.1-a-test
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.
- package/CHANGELOG.md +607 -0
- package/README.md +8 -0
- package/dist/components/Typography/AltHeaders/AltHeaders.d.ts +4 -0
- package/dist/components/Typography/TextLink/TextLink.d.ts +5 -0
- package/dist/components/Typography/Typography.d.ts +11 -0
- package/dist/components/Typography/index.d.ts +3 -0
- package/dist/components/atoms/Account/Account.d.ts +2 -1
- package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +0 -1
- package/dist/components/atoms/Buttons/Primary/PrimaryButtonWrapper.style.d.ts +0 -1
- package/dist/components/atoms/Buttons/Secondary/SecondaryButtonWrapper.style.d.ts +0 -1
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +2 -1
- package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +2 -1
- package/dist/components/atoms/Icons/SvgIcons/index.d.ts +0 -1
- package/dist/components/atoms/Logo/Logo.d.ts +2 -1
- package/dist/components/atoms/Radio/Radio.d.ts +2 -1
- package/dist/components/atoms/Radio2/Radio2.d.ts +0 -19
- package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +2 -1
- package/dist/components/atoms/Search/Search.d.ts +2 -1
- package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +2 -1
- package/dist/components/atoms/Stepper/Stepper.d.ts +2 -2
- package/dist/components/atoms/Tab/Tab.d.ts +2 -1
- package/dist/components/atoms/TextArea/TextArea.d.ts +5 -4
- package/dist/components/atoms/TextField/TextField.d.ts +0 -38
- package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +3 -2
- package/dist/components/atoms/Tickbox2/Tickbox2.d.ts +0 -19
- package/dist/components/atoms/TypeTags/TypeTags.d.ts +2 -1
- package/dist/components/atoms/Typography/Typography.d.ts +8 -6
- package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +2 -2
- package/dist/components/index.d.ts +3 -0
- package/dist/components/molecules/Basket/Basket.d.ts +2 -1
- package/dist/components/molecules/Cards/Cards.d.ts +2 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +2 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -1
- package/dist/components/molecules/Information/InfoCta.d.ts +2 -2
- package/dist/components/molecules/Information/Information.style.d.ts +6 -3
- package/dist/components/molecules/NavTop/NavTop.d.ts +2 -1
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +3 -4
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +5 -1
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +3 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +2 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +1 -0
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +2 -3
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/components/molecules/SearchBar/SearchBar.d.ts +2 -1
- package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +2 -1
- package/dist/components/molecules/Select/Select.d.ts +2 -1
- package/dist/components/molecules/Select/Select.style.d.ts +0 -1
- package/dist/components/molecules/Select2/Select2.d.ts +2 -2
- package/dist/components/molecules/Tabs/Tabs.d.ts +2 -1
- package/dist/components/molecules/UpsellCard/OfferText.d.ts +2 -1
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +2 -2
- package/dist/components/organisms/Navigation/Navigation.d.ts +2 -1
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +0 -1
- package/dist/harmonic.cjs.development.css +296 -0
- package/dist/harmonic.cjs.development.js +2502 -3394
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +2534 -3397
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/helpers/arrays.d.ts +2 -6
- package/dist/index.d.ts +2 -2
- package/dist/styles/ThemeProvider.d.ts +2 -1
- package/dist/types/auxiliaryNav.d.ts +15 -15
- package/dist/types/buttonTypes.d.ts +2 -2
- package/dist/types/card.d.ts +3 -1
- package/dist/types/contactCard.d.ts +4 -1
- package/dist/types/creditListing.d.ts +1 -0
- package/dist/types/editorial.d.ts +4 -1
- package/dist/types/formTypes.d.ts +1 -1
- package/dist/types/image.d.ts +4 -1
- package/dist/types/impactHeader.d.ts +18 -18
- package/dist/types/index.d.ts +2 -1
- package/dist/types/information.d.ts +19 -13
- package/dist/types/navigation.d.ts +3 -4
- package/dist/types/quote.d.ts +3 -1
- package/dist/types/tableTypes.d.ts +2 -1
- package/dist/types/types.d.ts +36 -22
- package/dist/types/typography.d.ts +33 -3
- package/dist/types/upsell.d.ts +1 -2
- package/package.json +67 -46
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royaloperahouse/harmonic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1-a-test",
|
|
4
4
|
"author": "Royal Opera House",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,24 +12,25 @@
|
|
|
12
12
|
"node": ">=10"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://bitbucket.org/rohorguk/harmonic-library.git"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"start": "tsdx watch",
|
|
20
20
|
"build": "tsdx build",
|
|
21
|
-
"test": "
|
|
22
|
-
"test:watch": "
|
|
23
|
-
"lint": "
|
|
21
|
+
"test": "jest --passWithNoTests",
|
|
22
|
+
"test:watch": "jest --watch --verbose --passWithNoTests",
|
|
23
|
+
"lint": "eslint src",
|
|
24
|
+
"format": "prettier --write src",
|
|
24
25
|
"prepare": "tsdx build",
|
|
25
26
|
"size": "size-limit",
|
|
26
27
|
"analyze": "size-limit --why",
|
|
27
|
-
"storybook": "
|
|
28
|
-
"build-storybook-dev": "build
|
|
29
|
-
"build-storybook": "rm -rf ./storybook-static;
|
|
28
|
+
"storybook": "storybook dev -p 6006",
|
|
29
|
+
"build-storybook-dev": "storybook build",
|
|
30
|
+
"build-storybook": "rm -rf ./storybook-static; storybook build -o ./storybook-static; cp -r ./external/ ./storybook-static/",
|
|
30
31
|
"deploy-storybook-dev": "chromatic --build-script-name build-storybook-dev",
|
|
31
32
|
"deploy-storybook": "storybook-to-aws-s3 --bucket-path=harmonic.roh.org.uk --aws-profile=parent --existing-output-dir=storybook-static --s3-sync-options=--acl=public-read",
|
|
32
|
-
"test-storybook": "
|
|
33
|
+
"test-storybook": "jest --json --passWithNoTests --outputFile=./test/jest-test-results.json",
|
|
33
34
|
"publish-release": "make prepare-release-candidate; make publish-release",
|
|
34
35
|
"publish-snapshot": "make prepare-release-candidate; make publish-npm-snapshot"
|
|
35
36
|
},
|
|
@@ -44,15 +45,9 @@
|
|
|
44
45
|
},
|
|
45
46
|
"husky": {
|
|
46
47
|
"hooks": {
|
|
47
|
-
"pre-commit": "
|
|
48
|
+
"pre-commit": "lint-staged"
|
|
48
49
|
}
|
|
49
50
|
},
|
|
50
|
-
"prettier": {
|
|
51
|
-
"printWidth": 120,
|
|
52
|
-
"semi": true,
|
|
53
|
-
"singleQuote": true,
|
|
54
|
-
"trailingComma": "es5"
|
|
55
|
-
},
|
|
56
51
|
"module": "dist/harmonic.esm.js",
|
|
57
52
|
"size-limit": [
|
|
58
53
|
{
|
|
@@ -64,54 +59,70 @@
|
|
|
64
59
|
"limit": "10 KB"
|
|
65
60
|
}
|
|
66
61
|
],
|
|
67
|
-
"jest": {
|
|
68
|
-
"setupFilesAfterEnv": [
|
|
69
|
-
"<rootDir>/src/jest.setup.ts"
|
|
70
|
-
],
|
|
71
|
-
"moduleNameMapper": {
|
|
72
|
-
"\\.(png|jpg|jpeg)$": "<rootDir>/external/images/mock-image.js"
|
|
73
|
-
},
|
|
74
|
-
"modulePathIgnorePatterns": [
|
|
75
|
-
"<rootDir>/storybook-static"
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
62
|
"devDependencies": {
|
|
79
63
|
"@babel/core": "^7.16.0",
|
|
80
64
|
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
|
|
81
|
-
"@size-limit/
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@storybook/addon-
|
|
85
|
-
"@storybook/addon-
|
|
86
|
-
"@storybook/addon-
|
|
87
|
-
"@storybook/
|
|
88
|
-
"@storybook/
|
|
89
|
-
"@storybook/
|
|
90
|
-
"@
|
|
65
|
+
"@size-limit/file": "^11.1.6",
|
|
66
|
+
"@size-limit/webpack": "^11.1.6",
|
|
67
|
+
"@size-limit/webpack-why": "^11.1.6",
|
|
68
|
+
"@storybook/addon-a11y": "8.4.0",
|
|
69
|
+
"@storybook/addon-docs": "8.4.0",
|
|
70
|
+
"@storybook/addon-essentials": "8.4.0",
|
|
71
|
+
"@storybook/addon-jest": "8.4.0",
|
|
72
|
+
"@storybook/addon-links": "8.4.0",
|
|
73
|
+
"@storybook/addon-mdx-gfm": "8.4.0",
|
|
74
|
+
"@storybook/addon-toolbars": "8.4.0",
|
|
75
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
|
76
|
+
"@storybook/addons": "7.6.20",
|
|
77
|
+
"@storybook/blocks": "8.4.0",
|
|
78
|
+
"@storybook/react": "8.4.0",
|
|
79
|
+
"@storybook/react-webpack5": "8.4.0",
|
|
80
|
+
"@storybook/storybook-deployer": "2.8.11",
|
|
81
|
+
"@storybook/theming": "8.4.0",
|
|
82
|
+
"@testing-library/jest-dom": "^6.0.0",
|
|
91
83
|
"@testing-library/react": "^12.1.2",
|
|
92
84
|
"@testing-library/user-event": "^13.5.0",
|
|
93
85
|
"@types/dompurify": "^2.4.0",
|
|
94
|
-
"@types/jest": "^
|
|
86
|
+
"@types/jest": "^29.0.0",
|
|
95
87
|
"@types/react": "^17.0.34",
|
|
96
88
|
"@types/react-dom": "^17.0.11",
|
|
97
89
|
"@types/react-modal": "^3.16.3",
|
|
98
90
|
"@types/react-select": "^5.0.1",
|
|
99
91
|
"@types/react-test-renderer": "^17.0.1",
|
|
100
|
-
"@types/styled-components": "
|
|
101
|
-
"@types/testing-library__jest-dom": "^5.
|
|
92
|
+
"@types/styled-components": "5.1.26",
|
|
93
|
+
"@types/testing-library__jest-dom": "^5.9.1",
|
|
94
|
+
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
95
|
+
"@typescript-eslint/parser": "^5.0.0",
|
|
96
|
+
"autoprefixer": "^10.4.20",
|
|
102
97
|
"babel-loader": "^8.2.3",
|
|
103
98
|
"chromatic": "^11.5.5",
|
|
99
|
+
"eslint": "^8.57.1",
|
|
100
|
+
"eslint-config-airbnb": "^19.0.0",
|
|
101
|
+
"eslint-config-prettier": "^8.0.0",
|
|
102
|
+
"eslint-config-react-app": "^7.0.0",
|
|
103
|
+
"eslint-plugin-flowtype": "^8.0.0",
|
|
104
|
+
"eslint-plugin-import": "^2.25.0",
|
|
105
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
106
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
107
|
+
"eslint-plugin-react": "^7.28.0",
|
|
108
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
109
|
+
"eslint-plugin-storybook": "^0.9.0",
|
|
104
110
|
"husky": "^7.0.4",
|
|
111
|
+
"identity-obj-proxy": "^3.0.0",
|
|
112
|
+
"jest": "^29.0.0",
|
|
113
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
114
|
+
"lint-staged": "^15.2.10",
|
|
115
|
+
"prettier": "^3.3.3",
|
|
105
116
|
"react": "^17.0.2",
|
|
106
117
|
"react-dom": "^17.0.2",
|
|
107
118
|
"react-is": "^17.0.2",
|
|
108
119
|
"react-router-dom": "^6.22.3",
|
|
109
120
|
"react-test-renderer": "^17.0.2",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"storybook
|
|
113
|
-
"styled-components": "
|
|
114
|
-
"ts-jest": "^
|
|
121
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
122
|
+
"size-limit": "^11.1.6",
|
|
123
|
+
"storybook": "8.4.0",
|
|
124
|
+
"styled-components": "5.3.9",
|
|
125
|
+
"ts-jest": "^29.0.0",
|
|
115
126
|
"tsdx": "^0.14.1",
|
|
116
127
|
"tslib": "^2.3.1",
|
|
117
128
|
"typescript": "^4.4.4"
|
|
@@ -121,5 +132,15 @@
|
|
|
121
132
|
"react-modal": "^3.16.1",
|
|
122
133
|
"react-scrolllock": "^5.0.1",
|
|
123
134
|
"react-select": "^5.8.0"
|
|
135
|
+
},
|
|
136
|
+
"resolutions": {
|
|
137
|
+
"@types/react": "^17.0.34",
|
|
138
|
+
"@types/react-dom": "^17.0.11"
|
|
139
|
+
},
|
|
140
|
+
"lint-staged": {
|
|
141
|
+
"*.{js,jsx,json,css,scss,md,ts,tsx,html}": [
|
|
142
|
+
"npx eslint src --fix ",
|
|
143
|
+
"npx prettier src --write --uncommitted"
|
|
144
|
+
]
|
|
124
145
|
}
|
|
125
146
|
}
|