@royaloperahouse/chord 2.8.2-a-development → 2.9.0

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 CHANGED
@@ -1,3 +1,6 @@
1
+ ## [2.9.0]
2
+ - Add new AnchorBar component
3
+
1
4
  ## [2.8.1]
2
5
  - SignUpForm component: Add dropdown on mobile screen
3
6
 
package/README.GIT ADDED
@@ -0,0 +1,278 @@
1
+ # Royal Opera House Chord - Front End Design System
2
+
3
+ Welcome to The Royal Opera House Front End Design System, `@royaloperahouse/chord`
4
+
5
+ This package is a library of UI components intended to be used in the ROH website.
6
+
7
+ It uses React, TypeScript, TSDX and Storybook.
8
+
9
+ The NPM packages are published at [https://www.npmjs.com/package/@royaloperahouse/chord](https://www.npmjs.com/package/@royaloperahouse/chord)
10
+
11
+ The Storybook for the latest version of the library is hosted at [chord.roh.org.uk](chord.roh.org.uk)
12
+
13
+
14
+ ## Prerequisites
15
+ ---
16
+
17
+ * Use a node version of 16 at the highest to run the storybook locally
18
+
19
+ * Make sure the required package dependencies are installed using `yarn install`
20
+
21
+ * If this is the first time you are working on Chord, make sure to run `yarn build` to build all the modules.
22
+
23
+ * **To deploy the storybook publicly** you will need credentials for the **parent** 'Royal Opera House' AWS account in your `~/.aws/credentials` file.
24
+ * The deploy script expects these to be called `[parent]`.
25
+
26
+ * You can find these values at:
27
+
28
+ *AWS 'Your Applications' page -> 'Royal Opera House' -> 'Developer Access' -> 'Command line or programmatic access'*
29
+
30
+ * **To deploy a preview** for demo / QA you will need the `CHROMATIC_PROJECT_TOKEN` -- find this in 1Password
31
+
32
+
33
+ * **To publish the NPM package** you will need the ROH `NPM_TOKEN` -- find this in 1Password
34
+
35
+
36
+ ## Versioning
37
+ ---
38
+
39
+ We use [Semantic Versioning](https://semver.org/) for Chord.
40
+
41
+ Given a version number MAJOR.MINOR.PATCH, increment the:
42
+
43
+ * MAJOR version when you make incompatible library changes
44
+ * MINOR version when you add functionality in a backwards compatible manner
45
+ * PATCH version when you make backwards compatible bug fixes
46
+
47
+ When you create a new release always update the `CHANGELOG` and `package.json`
48
+
49
+ Increment your version from the latest stable version on `main`
50
+
51
+
52
+ ## Deploying the Storybook
53
+ ---
54
+
55
+ ### **1. To build and deploy locally**
56
+
57
+ You can quickly build and serve the contents of `/storybook-static` from your local machine, for development and manual testing. To do this run:
58
+
59
+ ```bash
60
+ yarn storybook
61
+ ```
62
+
63
+ By default the storybook will be accessible at
64
+ [http://localhost:6006/](http://localhost:6006/)
65
+
66
+ The server will hot-reload on most changes.
67
+
68
+ ### **2. To deploy a preview version remotely**
69
+
70
+ You can deploy a release candidate, or work-in-progress to [Chromatic](https://www.chromatic.com/) for showcase or QA.
71
+
72
+ **NOTE:** you will need the `CHROMATIC_PROJECT_TOKEN` as described in *Prerequisites* above.
73
+
74
+ Either set the token as a shell variable or use a `.env` file in the chord root directory containing the token, as so:
75
+
76
+ ```
77
+ CHROMATIC_PROJECT_TOKEN=tokengoeshere
78
+ ```
79
+
80
+ Run:
81
+
82
+ ```
83
+ yarn deploy-storybook-dev
84
+ ```
85
+
86
+ to build and deploy the storybook from your repo to Chromatic.
87
+
88
+ You will find the address of your deployed storybook in the console output, looking something like this:
89
+
90
+ `→ View your Storybook at https://randomHexString-randomAlphabeticalString.chromatic.com`
91
+
92
+ ### **3. To deploy a release version**
93
+
94
+ You can deploy the contents of `./storybook-static` to S3 as a static site, which is permanently accessible at [chord.roh.org.uk](chord.roh.org.uk)
95
+
96
+ **NOTE:** To do this you will need the correct `AWS` credentials set up, as described in *Prerequisites* above.
97
+
98
+ First build the storybook using:
99
+
100
+ ```
101
+ yarn build-storybook
102
+ ```
103
+
104
+ then run:
105
+
106
+ ```bash
107
+ yarn deploy-storybook
108
+ ```
109
+
110
+ > **IMPORTANT:** This URL is intended to showcase the latest stable version of Chord, it should be kept up to date with the main branch and should **only** be used for release versions. If you want to deploy a development version follow the steps above under *To deploy a preview version remotely*.
111
+
112
+
113
+ ## Releasing a New Package Version
114
+ ---
115
+
116
+ This is the procedure for releasing a new Chord NPM package.
117
+
118
+ There are two types of package:
119
+
120
+ A **snapshot** can be published to use a development version of the Chord library in our frontend staging environments, to perform integrated, manual testing.
121
+
122
+ A **stable** package is published for use in production.
123
+
124
+ **NOTE:** You will need the `NPM_TOKEN`, as described in 'Prerequisites' above.
125
+
126
+ ### **1. To release a snapshot version**
127
+
128
+ > **IMPORTANT:** Make sure you always publish your **snapshots** from `development` after merging in your feature branch.
129
+
130
+ For snapshots, `RELEASE_VERSION` should be the same as the latest **stable** version of the Chord Library, as found in `main`, followed by an **unused** lowercase letter.
131
+
132
+ For example, if the latest stable release was 1.42.0, and the last snapshot published to NPM was 1.42.0-w, you would use RELEASE_VERSION `1.42.0-x`
133
+
134
+ To publish a snapshot use:
135
+
136
+ ```bash
137
+ NPM_ROH_TOKEN={NPM_TOKEN} RELEASE_VERSION={RELEASE_VERSION} yarn publish-snapshot
138
+ ```
139
+
140
+ The version published to NPM will be named, e.g. `1.42.0-x-development`, use this to install the snapshot package in the frontend repos.
141
+
142
+ ### **2. To release a stable version**
143
+
144
+ > **IMPORTANT:** Make sure you always publish your **stable** packages from `main` after merging in your feature branch.
145
+
146
+ For stable releases, increment your version from the latest **stable** version found on `main`, following the rules described in *Versioning* above, and use this as `RELEASE_VERSION`. (Make sure it matches the version in your `package.json` and `CHANGELOG.md`!)
147
+
148
+ To publish a stable package use:
149
+
150
+ ```bash
151
+ NPM_ROH_TOKEN={NPM_TOKEN} RELEASE_VERSION={RELEASE_VERSION} yarn publish-release
152
+ ```
153
+
154
+
155
+ ## Using the Package
156
+ ---
157
+
158
+ The package is deployed to NPM, and can be installed using yarn or npm:
159
+
160
+ ```bash
161
+ npm i --save @royaloperahouse/chord
162
+ ```
163
+ ```bash
164
+ yarn add @royaloperahouse/chord
165
+ ```
166
+
167
+
168
+ ## Testing
169
+ ---
170
+
171
+ To **Lint** the package use:
172
+
173
+ ```bash
174
+ yarn lint
175
+ # Use the --fix option to perform automatic fixes
176
+ ```
177
+
178
+ To run the **unit tests** (using Jest) use:
179
+
180
+ ```bash
181
+ yarn test
182
+
183
+ # Use the -u option to update snapshots if needed
184
+ # Run `yarn test:watch` to re-run tests on changes
185
+ ```
186
+
187
+ To **run and and store the unit tests** for display in storybook use:
188
+
189
+ ```bash
190
+ yarn test-storybook
191
+ # Use the -u option to update snapshots if needed
192
+ ```
193
+
194
+
195
+ ## Development Process
196
+ ---
197
+
198
+ ### **1. Branching Model**
199
+ * The Chord project source can be found at [https://bitbucket.org/rohorguk/harmonic-library](https://bitbucket.org/rohorguk/harmonic-library) in the `chord` directory
200
+ * The Chord **development** branch is currently `development`
201
+ * The Chord **main** branch is currently `main`
202
+ * All work should be done on a correctly named **feature branch** of the format: `issueType/ticketNumber-short-description-of-feature`, e.g. `feature/RD-1234-update-chord-documentation`
203
+ * Always create your feature branch FROM, and submit pull requests TO, the **main** branch
204
+ * For **QA / UAT** of a Chord component in isolation: following review you should deploy a preview version to Chromatic straight from your **feature branch** _without_ merging to development
205
+ * For releasing an **NPM snapshot**: merge your feature branch into the **development** branch and publish the NPM snapshot from there
206
+
207
+ ### **2. Detailed Workflow**
208
+
209
+ #### **Before review:**
210
+
211
+ * Git pull the latest version of `main`
212
+ * Checkout a new, correctly-named feature branch from `main`
213
+ * Do your work on this feature branch
214
+ * Run: `yarn lint`
215
+ * Run: `yarn test`
216
+ * Commit your changes
217
+ * Create a pull request from your feature branch to `main`
218
+ * Add the appropriate reviewers
219
+
220
+ #### **Before QA / UAT:**
221
+
222
+ After your PR is approved, you have two options:
223
+
224
+ **i.** For QA of a component in isolation:
225
+
226
+ * Follow the steps above in *Deploying the Storybook -> 2. Deploying a preview version remotely*
227
+ * Share the generated Chromatic URL with the appropriate people for QA / UAT
228
+
229
+ **ii.** For integrated testing of a component in the frontend staging environments:
230
+
231
+ * Check out the `development` branch
232
+ * Merge your work in to `development`
233
+ * Follow the steps above under *Publishing a New Package Version -> 1. To release a snapshot version*
234
+ * Git push the updated `development` branch to remote
235
+ * Finally, in the frontend repo:
236
+
237
+ 1. Update the `package.json` to reference the new snapshot version
238
+ 2. Run: `yarn install`
239
+ 3. Deploy the frontend to a staging environment
240
+
241
+ #### **When ready for production:**
242
+
243
+ * Return to your chord **feature branch**
244
+ * Update the chord version in `package.json`, incrementing from the last **stable** release, found in `main`, and following the rules described in the *Versioning* section
245
+ * Update `CHANGELOG.md`, adding the new version number and a short description of your changes
246
+ * Run: `yarn lint`
247
+ * Run: `yarn test`
248
+ * Run: `yarn test-storybook -u`
249
+ * Run: `yarn build-storybook`
250
+ * Git commit, push, and update your PR for final approval
251
+ * Merge your approved PR to `main`
252
+ * Follow the steps in *Publishing a New Package Version -> 2. To release a stable version* to publish the NPM package
253
+ * Finally, follow the steps in *Deploying The Storybook -> 3. To deploy a release version*, to update the public Chord Storybook page
254
+
255
+ Once you have successfully published a new release version, you can open a ticket to update to this version in any of the frontend repos.
256
+
257
+
258
+ ## Notes
259
+ ---
260
+ ### The `storybook-static` folder
261
+
262
+ This folder contains all the HTML / JS required to deploy the Storybook as a static site. It's autogenerated whenever the Storybook is built and therefore will show up a lot of merge conflicts when you merge other branches into your feature branch. It is best to leave generating the storybook until the later part of your workflow, but in case you run into conflicts earlier, it's ok to just delete the folder and regenerate using:
263
+
264
+ ```bash
265
+ yarn build-storybook
266
+ ```
267
+
268
+ For the same reason changes to this folder will cause a lot of big diffs, when looking at a PR, but can mostly be skimmed over unless something looks unusual.
269
+
270
+ ---
271
+ ### Examples
272
+
273
+ There is an example implementation in the example folder. Alternatively there are also integration examples in storybook. Make sure to keep these updated so as to showcase the current components available.
274
+
275
+ ---
276
+ ### Bundle analysis
277
+
278
+ Calculate the real cost of your library using [size-limit](https://github.com/ai/size-limit) with `yarn size` and visualize it with `yarn analyze`.
package/README.md CHANGED
@@ -1,278 +1,67 @@
1
- # Royal Opera House Chord - Front End Design System
1
+ # Royal Opera House - chord
2
2
 
3
- Welcome to The Royal Opera House Front End Design System, `@royaloperahouse/chord`
3
+ Welcome to The Royal Opera House library components `@royaloperahouse/chord`.
4
4
 
5
5
  This package is a library of UI components intended to be used in the ROH website.
6
6
 
7
- It uses React, TypeScript, TSDX and Storybook.
8
7
 
9
- The NPM packages are published at [https://www.npmjs.com/package/@royaloperahouse/chord](https://www.npmjs.com/package/@royaloperahouse/chord)
10
-
11
- The Storybook for the latest version of the library is hosted at [chord.roh.org.uk](chord.roh.org.uk)
12
-
13
-
14
- ## Prerequisites
15
- ---
16
-
17
- * Use a node version of 16 at the highest to run the storybook locally
18
-
19
- * Make sure the required package dependencies are installed using `yarn install`
20
-
21
- * If this is the first time you are working on Chord, make sure to run `yarn build` to build all the modules.
22
-
23
- * **To deploy the storybook publicly** you will need credentials for the **parent** 'Royal Opera House' AWS account in your `~/.aws/credentials` file.
24
- * The deploy script expects these to be called `[parent]`.
25
-
26
- * You can find these values at:
27
-
28
- *AWS 'Your Applications' page -> 'Royal Opera House' -> 'Developer Access' -> 'Command line or programmatic access'*
29
-
30
- * **To deploy a preview** for demo / QA you will need the `CHROMATIC_PROJECT_TOKEN` -- find this in 1Password
31
-
32
-
33
- * **To publish the NPM package** you will need the ROH `NPM_TOKEN` -- find this in 1Password
34
-
35
-
36
- ## Versioning
37
- ---
38
-
39
- We use [Semantic Versioning](https://semver.org/) for Chord.
40
-
41
- Given a version number MAJOR.MINOR.PATCH, increment the:
42
-
43
- * MAJOR version when you make incompatible library changes
44
- * MINOR version when you add functionality in a backwards compatible manner
45
- * PATCH version when you make backwards compatible bug fixes
46
-
47
- When you create a new release always update the `CHANGELOG` and `package.json`
48
-
49
- Increment your version from the latest stable version on `main`
50
-
51
-
52
- ## Deploying the Storybook
53
- ---
54
-
55
- ### **1. To build and deploy locally**
56
-
57
- You can quickly build and serve the contents of `/storybook-static` from your local machine, for development and manual testing. To do this run:
8
+ ## Install
58
9
 
59
10
  ```bash
60
- yarn storybook
61
- ```
62
-
63
- By default the storybook will be accessible at
64
- [http://localhost:6006/](http://localhost:6006/)
65
-
66
- The server will hot-reload on most changes.
67
-
68
- ### **2. To deploy a preview version remotely**
69
-
70
- You can deploy a release candidate, or work-in-progress to [Chromatic](https://www.chromatic.com/) for showcase or QA.
71
-
72
- **NOTE:** you will need the `CHROMATIC_PROJECT_TOKEN` as described in *Prerequisites* above.
73
-
74
- Either set the token as a shell variable or use a `.env` file in the chord root directory containing the token, as so:
75
-
76
- ```
77
- CHROMATIC_PROJECT_TOKEN=tokengoeshere
78
- ```
79
-
80
- Run:
81
-
82
- ```
83
- yarn deploy-storybook-dev
84
- ```
85
-
86
- to build and deploy the storybook from your repo to Chromatic.
87
-
88
- You will find the address of your deployed storybook in the console output, looking something like this:
89
-
90
- `→ View your Storybook at https://randomHexString-randomAlphabeticalString.chromatic.com`
91
-
92
- ### **3. To deploy a release version**
93
-
94
- You can deploy the contents of `./storybook-static` to S3 as a static site, which is permanently accessible at [chord.roh.org.uk](chord.roh.org.uk)
95
-
96
- **NOTE:** To do this you will need the correct `AWS` credentials set up, as described in *Prerequisites* above.
97
-
98
- First build the storybook using:
99
-
11
+ npm i --save @royaloperahouse/chord
100
12
  ```
101
- yarn build-storybook
102
- ```
103
-
104
- then run:
105
-
106
13
  ```bash
107
- yarn deploy-storybook
14
+ yarn add @royaloperahouse/chord
108
15
  ```
109
16
 
110
- > **IMPORTANT:** This URL is intended to showcase the latest stable version of Chord, it should be kept up to date with the main branch and should **only** be used for release versions. If you want to deploy a development version follow the steps above under *To deploy a preview version remotely*.
111
-
112
-
113
- ## Releasing a New Package Version
114
- ---
115
-
116
- This is the procedure for releasing a new Chord NPM package.
117
-
118
- There are two types of package:
119
-
120
- A **snapshot** can be published to use a development version of the Chord library in our frontend staging environments, to perform integrated, manual testing.
121
-
122
- A **stable** package is published for use in production.
17
+ ## Usage
123
18
 
124
- **NOTE:** You will need the `NPM_TOKEN`, as described in 'Prerequisites' above.
19
+ ```javascript
20
+ import {
21
+ Footer, GlobalStyles, ThemeProvider, ThemeType,
22
+ } from '@royaloperahouse/chord';
125
23
 
126
- ### **1. To release a snapshot version**
127
-
128
- > **IMPORTANT:** Make sure you always publish your **snapshots** from `development` after merging in your feature branch.
129
-
130
- For snapshots, `RELEASE_VERSION` should be the same as the latest **stable** version of the Chord Library, as found in `main`, followed by an **unused** lowercase letter.
131
-
132
- For example, if the latest stable release was 1.42.0, and the last snapshot published to NPM was 1.42.0-w, you would use RELEASE_VERSION `1.42.0-x`
133
-
134
- To publish a snapshot use:
135
-
136
- ```bash
137
- NPM_ROH_TOKEN={NPM_TOKEN} RELEASE_VERSION={RELEASE_VERSION} yarn publish-snapshot
138
- ```
139
-
140
- The version published to NPM will be named, e.g. `1.42.0-x-development`, use this to install the snapshot package in the frontend repos.
141
-
142
- ### **2. To release a stable version**
143
-
144
- > **IMPORTANT:** Make sure you always publish your **stable** packages from `main` after merging in your feature branch.
145
-
146
- For stable releases, increment your version from the latest **stable** version found on `main`, following the rules described in *Versioning* above, and use this as `RELEASE_VERSION`. (Make sure it matches the version in your `package.json` and `CHANGELOG.md`!)
147
-
148
- To publish a stable package use:
149
-
150
- ```bash
151
- NPM_ROH_TOKEN={NPM_TOKEN} RELEASE_VERSION={RELEASE_VERSION} yarn publish-release
152
24
  ```
25
+ ## Sample
153
26
 
27
+ ```javascript
154
28
 
155
- ## Using the Package
156
- ---
157
-
158
- The package is deployed to NPM, and can be installed using yarn or npm:
159
-
160
- ```bash
161
- npm i --save @royaloperahouse/chord
162
- ```
163
- ```bash
164
- yarn add @royaloperahouse/chord
165
- ```
29
+ import {
30
+ Footer, GlobalStyles, ThemeProvider, ThemeType,
31
+ } from '@royaloperahouse/chord';
166
32
 
167
33
 
168
- ## Testing
169
- ---
34
+ const App = ({ children }: InnerProps): React.ReactElement => (
35
+ <ErrorBoundary>
36
+ <ThemeProvider theme={ThemeType.Core}>
37
+ <GlobalStyles />
38
+ <Wrapper>
39
+ <Header />
40
+ <GlobalStyle />
41
+ <HealthBanner />
42
+ <ErrorBoundary>
43
+ <Content>
44
+ {children}
45
+ </Content>
46
+ </ErrorBoundary>
47
+ <LiveChat />
48
+ </Wrapper>
49
+ <Footer data={footerData} />
50
+ </ThemeProvider>
51
+ </ErrorBoundary>
52
+ );
170
53
 
171
- To **Lint** the package use:
172
-
173
- ```bash
174
- yarn lint
175
- # Use the --fix option to perform automatic fixes
176
54
  ```
177
55
 
178
- To run the **unit tests** (using Jest) use:
179
-
180
- ```bash
181
- yarn test
182
-
183
- # Use the -u option to update snapshots if needed
184
- # Run `yarn test:watch` to re-run tests on changes
185
- ```
56
+ ## Components
186
57
 
187
- To **run and and store the unit tests** for display in storybook use:
188
-
189
- ```bash
190
- yarn test-storybook
191
- # Use the -u option to update snapshots if needed
192
- ```
193
-
194
-
195
- ## Development Process
196
- ---
197
-
198
- ### **1. Branching Model**
199
- * The Chord project source can be found at [https://bitbucket.org/rohorguk/harmonic-library](https://bitbucket.org/rohorguk/harmonic-library) in the `chord` directory
200
- * The Chord **development** branch is currently `development`
201
- * The Chord **main** branch is currently `main`
202
- * All work should be done on a correctly named **feature branch** of the format: `issueType/ticketNumber-short-description-of-feature`, e.g. `feature/RD-1234-update-chord-documentation`
203
- * Always create your feature branch FROM, and submit pull requests TO, the **main** branch
204
- * For **QA / UAT** of a Chord component in isolation: following review you should deploy a preview version to Chromatic straight from your **feature branch** _without_ merging to development
205
- * For releasing an **NPM snapshot**: merge your feature branch into the **development** branch and publish the NPM snapshot from there
206
-
207
- ### **2. Detailed Workflow**
208
-
209
- #### **Before review:**
210
-
211
- * Git pull the latest version of `main`
212
- * Checkout a new, correctly-named feature branch from `main`
213
- * Do your work on this feature branch
214
- * Run: `yarn lint`
215
- * Run: `yarn test`
216
- * Commit your changes
217
- * Create a pull request from your feature branch to `main`
218
- * Add the appropriate reviewers
219
-
220
- #### **Before QA / UAT:**
221
-
222
- After your PR is approved, you have two options:
223
-
224
- **i.** For QA of a component in isolation:
225
-
226
- * Follow the steps above in *Deploying the Storybook -> 2. Deploying a preview version remotely*
227
- * Share the generated Chromatic URL with the appropriate people for QA / UAT
228
-
229
- **ii.** For integrated testing of a component in the frontend staging environments:
230
-
231
- * Check out the `development` branch
232
- * Merge your work in to `development`
233
- * Follow the steps above under *Publishing a New Package Version -> 1. To release a snapshot version*
234
- * Git push the updated `development` branch to remote
235
- * Finally, in the frontend repo:
236
-
237
- 1. Update the `package.json` to reference the new snapshot version
238
- 2. Run: `yarn install`
239
- 3. Deploy the frontend to a staging environment
240
-
241
- #### **When ready for production:**
242
-
243
- * Return to your chord **feature branch**
244
- * Update the chord version in `package.json`, incrementing from the last **stable** release, found in `main`, and following the rules described in the *Versioning* section
245
- * Update `CHANGELOG.md`, adding the new version number and a short description of your changes
246
- * Run: `yarn lint`
247
- * Run: `yarn test`
248
- * Run: `yarn test-storybook -u`
249
- * Run: `yarn build-storybook`
250
- * Git commit, push, and update your PR for final approval
251
- * Merge your approved PR to `main`
252
- * Follow the steps in *Publishing a New Package Version -> 2. To release a stable version* to publish the NPM package
253
- * Finally, follow the steps in *Deploying The Storybook -> 3. To deploy a release version*, to update the public Chord Storybook page
254
-
255
- Once you have successfully published a new release version, you can open a ticket to update to this version in any of the frontend repos.
256
-
257
-
258
- ## Notes
259
- ---
260
- ### The `storybook-static` folder
261
-
262
- This folder contains all the HTML / JS required to deploy the Storybook as a static site. It's autogenerated whenever the Storybook is built and therefore will show up a lot of merge conflicts when you merge other branches into your feature branch. It is best to leave generating the storybook until the later part of your workflow, but in case you run into conflicts earlier, it's ok to just delete the folder and regenerate using:
263
-
264
- ```bash
265
- yarn build-storybook
266
- ```
58
+ Accordion, Accordions, AltHeader, AnchorTabBar, AnnouncementBanner, BodyText, Card, Cards, Carousel, CinemaBadge, ContactCard, ControlledDropdown, devices, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, Tab, TabLink, Tabs, TertiaryButton, TextLink, TextOnly, Tickbox, TitleWithCTA, ThemeProvider, TypeTags, Quote
267
59
 
268
- For the same reason changes to this folder will cause a lot of big diffs, when looking at a PR, but can mostly be skimmed over unless something looks unusual.
60
+ ## Types
269
61
 
270
- ---
271
- ### Examples
62
+ AspectRatio, CarouselType, Colors, FooterData, INavigationProps, INavTopProps, TickboxMode, ThemeType
272
63
 
273
- There is an example implementation in the example folder. Alternatively there are also integration examples in storybook. Make sure to keep these updated so as to showcase the current components available.
274
64
 
275
- ---
276
- ### Bundle analysis
65
+ ## Documentation
277
66
 
278
- Calculate the real cost of your library using [size-limit](https://github.com/ai/size-limit) with `yarn size` and visualize it with `yarn analyze`.
67
+ See Storybook as a reference