@sproutsocial/racine 20.14.0 → 20.16.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,5 +1,22 @@
1
1
  # Change Log
2
2
 
3
+ ## 20.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fc4f89c: Updated theme to include new 50 level magenta and teal literal colors
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [fc4f89c]
12
+ - @sproutsocial/seeds-color@2.1.0
13
+
14
+ ## 20.15.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 1164ab2: `Image` onError callback now passes the error event as an input
19
+
3
20
  ## 20.14.0
4
21
 
5
22
  ### Minor Changes
package/README.md CHANGED
@@ -1,39 +1,14 @@
1
- <p align="center">
2
- <img width="200px" src="/docs/assets/molecule.png">
3
- </p>
4
-
5
- <h1 align="center">Racine</h1>
6
-
7
- <p align="center">React components for Sprout Social's user interfaces</p>
8
-
9
- <p align="center"><a href="https://sproutsocial.com/seeds/components"><b>📖 View the documentation for Racine in Sprout's design system, Seeds ▸</b></a></p>
10
-
11
- <p align="center"><a href="/CHANGELOG.md"><b>🆕 Learn about what's changing in the CHANGELOG.md file ▸</b></a></p>
1
+ # Racine
12
2
 
13
- <p align="center"><a href="https://github.com/sproutsocial/racine/projects/2"><b>🚧 Check out the project board to see what's in-flight and upcoming ▸</b></a></p>
14
-
15
- <p align="center">
3
+ <p align="left">
16
4
  <a href="https://github.com/storybooks/storybook"><img src="/docs/assets/storybook.svg" alt=""></a>
17
5
  <a href="https://racine.netlify.com"><img src="https://api.netlify.com/api/v1/badges/29cdfd47-e0ce-4af0-bda9-b6d3f7ad38e5/deploy-status" alt=""></a>
18
6
  <a href="https://github.com/styled-components/styled-components"><img src="https://img.shields.io/badge/style-%F0%9F%92%85%20styled--components-orange.svg?colorB=daa357&colorA=db748e" alt=""></a>
19
- <a href="https://github.com/sproutsocial/racine/blob/main/LICENSE"><img src="https://flat.badgen.net/badge/license/MIT/blue" alt=""></a>
7
+ <a href="https://github.com/sproutsocial/seeds/blob/main/seeds-react/racine/LICENSE"><img src="https://flat.badgen.net/badge/license/MIT/blue" alt=""></a>
20
8
  </p>
21
9
 
22
- ---
23
-
24
10
  ## Installation
25
11
 
26
- To work on Racine, you will need to set up your environment to use Artifactory.
27
-
28
- Follow the instructions to do so [on the wiki](https://sprout.atlassian.net/wiki/spaces/INFRA/pages/3380249272/Getting+started+with+Artifactory+for+NPM+Yarn.).
29
-
30
- Then, copy the `_auth` and `email` settings in your `$HOME/.npmrc` into environmental variables in your shell's rc file (e.g. `$HOME/.zshrc` or `$HOME/.bashrc`), then re-`source` your rc file.
31
-
32
- ```shell
33
- export JFROG_AUTH="_auth string goes here"
34
- export JFROG_EMAIL="email string goes here"
35
- ```
36
-
37
12
  Install Racine using npm or yarn:
38
13
 
39
14
  ```sh
@@ -71,74 +46,28 @@ const App = (props) => (
71
46
  );
72
47
  ```
73
48
 
74
- ## Documentation
75
-
76
- ### [Racine is documented in Sprout's design system, Seeds ▸](https://sproutsocial.com/seeds/components)
77
-
78
- Racine uses [Storybook](https://storybook.js.org) as a local development environment, and for running tests against components. Every component has a `.stories.js` file where developers can write "stories" to test components in isolation. Running `yarn start` will open the Racine Storybook in your browser so that you can see changes live as you make them. [You can read more about writing stories on the Storybook website](https://storybook.js.org/docs/basics/writing-stories/).
79
-
80
49
  ## Local development
81
50
 
82
- Racine uses [Storybook](https://storybook.js.org) for local development. Here's how to get started:
51
+ Racine uses [Storybook](https://storybook.js.org) for local development. Please refer to the root README for more information on [getting started](https://github.com/sproutsocial/seeds?tab=readme-ov-file#seeds) before continuing.
83
52
 
84
- 1. Clone this repo: `git clone https://github.com/sproutsocial/racine`
85
- 2. Follow these instructions to configure Artifactory for dependencies: https://sprout.atlassian.net/wiki/spaces/INFRA/pages/3380249272/Getting+started+with+Artifactory+for+NPM+Yarn
86
- 3. Copy the `_auth` and `email` settings in your `$HOME/.npmrc` into environmental variables in your shell's rc file (e.g. `$HOME/.zshrc` or `$HOME/.bashrc`), then re-`source` your rc file.
53
+ ### Testing Racine changes in another project
87
54
 
88
- ```shell
89
- export JFROG_AUTH="_auth string goes here"
90
- export JFROG_EMAIL="email string goes here"
91
- ```
55
+ Spin up a draft PR immediately for two reasons:
92
56
 
93
- 4. Install dependencies: `yarn`
94
- 5. Run the dev app: `yarn start`
57
+ 1. We'll cache your build making all subsequent builds super fast
58
+ 2. Add the "📦 create test versions" label to your PR to generate a beta version of the package to use for testing in other projects.
95
59
 
96
- <details>
97
- <summary>💡 If you need to test local Racine changes in another project, click here to learn how.</summary>
60
+ _Note: the snapshot will post as a comment on the PR once it has been generated._
98
61
 
99
- <br />
100
-
101
- Test any local package in another project by utilizing [yarn link](https://yarnpkg.com/lang/en/docs/cli/link/). Below is an example workflow to link Racine to `web-app-core`.
102
-
103
- 1. Navigate to your local copy of Racine in a terminal window
104
-
105
- ```shell
106
- $ cd ~/YourCodeFolder/racine
107
- $ yarn link # only needs to be run once
108
- $ yarn start
109
- ```
110
-
111
- **Note**: This build task packages _all_ Racine components into the bundle, not just the specific components you are adding or modifying. After `yarn link` succeeds and Racine is globally linked, you shouldn't have to run link again.
112
-
113
- 2. Navigate to the folder you wish to use Racine components in your terminal (such as `web-app-core`) and complete the link
114
-
115
- ```shell
116
- $ cd ~/YourCodeFolder/web-app-core
117
- $ yarn link "@sproutsocial/racine"
118
- $ yarn start
119
- ```
120
-
121
- 3. You can now use any components from your local instance of Racine in your project. See below for an example usage
122
-
123
- ```jsx
124
- /* ~/YourCodeFolder/web-app-core/YourFile.js */
125
- import {Icon} from '@sproutsocial/racine';
126
- // ...
127
- <Icon name="pencil-outline" />;
128
- ```
129
-
130
- 4. **When you are done, be sure to unlink Racine so you are using the app's version of the package**
62
+ ## Documentation
131
63
 
132
- ```
133
- $ yarn unlink "@sproutsocial/racine"
134
- $ yarn
135
- ```
64
+ [Racine is documented on the Seeds reference site](https://sproutsocial.com/seeds/components)
136
65
 
137
- </details>
66
+ Racine uses [Storybook](https://storybook.js.org) as a local development environment, and for running tests against components. Every component has a `.stories.js` file where developers can write "stories" to test components in isolation. Running `yarn dev:storybook` will open the Racine Storybook in your browser so that you can see changes live as you make them. [You can read more about writing stories on the Storybook website](https://storybook.js.org/docs/basics/writing-stories/).
138
67
 
139
68
  ## Contributing
140
69
 
141
- The Design Systems team works on a regular two-week sprint cadence to iterate against Racine's roadmap and assist in any ad-hoc issues that may come up. That said, contributions to Racine are welcomed from any member of the wider Sprout org. Whether you're adding a new component or simply fixing a bug, every improvement to the library is future leverage for our peers, our product, and our customers.
70
+ Contributions to Racine are welcomed from any member of the wider Sprout org. Whether you're adding a new component or simply fixing a bug, every improvement to the library is future leverage for our peers, our product, and our customers.
142
71
 
143
72
  When writing code for Racine, please refer to the `code-guidelines.mdx` story in Storybook.
144
73
 
@@ -147,7 +76,6 @@ When writing code for Racine, please refer to the `code-guidelines.mdx` story in
147
76
  There are a few ways to get involved:
148
77
 
149
78
  - Join #design-systems on Slack to participate in discussions about Racine's development.
150
- - Check out [the issues tab of this repository](https://github.com/sproutsocial/racine/issues). Issues contain community-collected bugs and features that need attention. If you're looking for an easy way to jump in, we have [a label which shows issues that are good for first-time contributors](https://github.com/sproutsocial/racine/issues?q=is%3Aopen+is%3Aissue+label%3A%22♥%EF%B8%8F+good+first+issue%22).
151
79
  - The Design Systems team [uses Jira to track our backlog, in-flight changes, and future changes](https://sprout.atlassian.net/jira/software/c/projects/DS/boards/601/backlog). It's a great way to get a broad look at what's happening in Racine, and tracks the squad's work from sprint to sprint, and release to release.
152
80
 
153
81
  ### **🗺 Step 2: Find your way around**
@@ -175,15 +103,15 @@ And you can interact with Racine via the command line with these commands:
175
103
 
176
104
  ### **✅ Step 3: Make your changes**
177
105
 
178
- Cut a feature branch off `dev` and start coding! As updates are merged into `dev` by other developers over time you'll want to pull those updates into your branch, ideally via rebase, to avoid any conflicts when you open a pull request.
106
+ Cut a feature branch off `racine-dev` and start coding! As updates are merged into `racine-dev` by other developers over time you'll want to pull those updates into your branch, ideally via rebase, to avoid any conflicts when you open a pull request.
179
107
 
180
- _Need to make an urgent update? Branch off `main` instead of dev, and open your PR later against `main`. We consider this a hotfix and only support it for critical time-sensitive updates, so check with the Design Systems team prior to making this kind of contribution._
108
+ _Need to make an urgent update? Branch off `main` instead of `racine-dev`, and open your PR later against `main`. We consider this a hotfix and only support it for critical time-sensitive updates, so check with the Design Systems team prior to making this kind of contribution._
181
109
 
182
110
  We use a [visual regression testing](https://racine.netlify.app/?path=/story/welcome-visual-regression-testing--page) suite to capture any unintended changes during development. After running `yarn build` you can run the suite locally with `yarn backstop-test`, which will open a report in your browser to show you what passed and what failed. If any fails are actually intentional visual changes you can run `yarn backstop-approve` to approve those changes as new reference images and include them in your PR.
183
111
 
184
112
  As you develop you'll want to track the scope of the changes you make. Racine supports this with a tool called [changesets](https://github.com/atlassian/changesets) to automatically pick new version numbers and update the changelog whenever we publish a new version of the package.
185
113
 
186
- **Run `yarn change` to generate a changeset that will be used to derive the next version number for Racine from your changes.**
114
+ **Run `yarn change` at the root of the Seeds repo to generate a changeset that will be used to derive the next version number for Racine from your changes.**
187
115
 
188
116
  We use semantic versioning for the Racine package, which allows users to understand the scope of a package's changes based on the version number, which is in the format `major.minor.patch`.
189
117
 
@@ -199,24 +127,21 @@ The changeset CLI will also ask you to input a message detailing your changes. T
199
127
 
200
128
  ### **🗣 Step 4: Create a pull request**
201
129
 
202
- Once you're ready to submit your changes for review, open a PR against the `dev` branch. A few things will happen:
130
+ Once you're ready to submit your changes for review, open a PR against the `racine-dev` branch (it's not the default branch, so you'll have to go find it). A few things will happen:
203
131
 
204
- - The Racine maintainers will be tagged to review your code. Feel free to additionally tag any specific individuals who you think should take a look.
132
+ - The Design Systems team will be tagged to review your code. Feel free to additionally tag any specific individuals who you think should take a look.
205
133
  - Visual regression testing will run against your PR, and the results can be found in the "Report" artifact on the summary page for the associated Github Action run. `html_report/index.html` in `Report.zip` will show you what passed and what failed.
206
134
  - Racine's test suite will run via CI, and the status will be reported on the PR. You can run `yarn test` to run these tests locally. If there are any issues, they will need to be resolved before the PR can be merged.
207
135
  - Netlify will create a preview deploy of Racine's Storybook and include a link to it in a comment on the PR so you can see your changes and share them with others.
208
- - A Racine package snapshot including your changes will be published to Artifactory and included in a comment on the PR so you can install it locally or in a web app PR/snapshot in order to test your changes.
209
136
 
210
- You may be asked to make changes to match Racine's contribution guidelines, so expect to keep attention on your PR for a little bit. Once your tests are passing and you have at least one approving Design Systems review, a member of the Design Systems team will merge your changes for inclusion in a future release of Racine! Please **do NOT** merge your own PR unless expressly told to, since commits to `dev` end up in the next release, and the Design Systems team needs to make sure they have the bandwidth to validate any contribution before it releases.
137
+ You may be asked to make changes to match Racine's contribution guidelines, so expect to keep attention on your PR for a little bit. Once your tests are passing and you have at least one approving Design Systems review, you're welcome to merge your PR. It may sometimes take a little while to get an approval from the DS team since a merge queues your contribution into the next release and the DS team needs to make sure they have the bandwidth to validate any contribution before it releases.
211
138
 
212
139
  ### **☁️ Step 5: Changes get published to Artifactory**
213
140
 
214
141
  When the Design Systems team prepares the next Racine release, changsets will generate a PR called `Version Packages`. This PR will detail all of the changes that have been made to the package since the last publish. Merging this PR will release a new version of Racine.
215
142
 
216
- When the PR is merged, [GitHub will kick off a publish of the new version](https://github.com/sproutsocial/racine/actions?query=workflow%3ARelease). There will be a notification in #design-systems in Slack when the new version is available.
143
+ When the PR is merged, [GitHub will kick off a publish of the new version](https://github.com/sproutsocial/seeds/actions?query=workflow%3ARelease). There will be a notification in #design-systems in Slack when the new version is available.
217
144
 
218
145
  ### **✍ Step 6: Document your changes**
219
146
 
220
- Racine components are documented in [Seeds](https://sproutsocial.com/seeds/components), Sprout's design system. You can open a PR to the [Seeds repository](https://github.com/sproutsocial/seeds) to add or edit component documentation. It's a good idea to have documentation changes ready to go at the same time your Racine contributions are deployed, so start early! Reach out to the Design Systems team if you need help getting started.
221
-
222
- testing release
147
+ Racine components are documented in [Seeds](https://sproutsocial.com/seeds/components), Sprout's design system. You can open a PR to the [reference site app](https://github.com/sproutsocial/seeds/tree/main/apps/reference-site) to add or edit component documentation. It's a good idea to have documentation changes ready to go at the same time your Racine contributions are deployed, so start early! Reach out to the Design Systems team if you need help getting started.
@@ -6,7 +6,7 @@ export type TypeImageProps = {
6
6
  /** Alt text is required for non-decorative images */
7
7
  alt: string,
8
8
  title: string,
9
- onError: () => void,
9
+ onError: (e: SyntheticEvent<HTMLImageElement, Event>) => void,
10
10
  onClick: () => void,
11
11
  /** A URL for a default image to load if the source image is not available */
12
12
  defaultImage?: string,
@@ -43,14 +43,14 @@ var Image = exports.default = /*#__PURE__*/function (_React$Component) {
43
43
  didLoad: false,
44
44
  imageUrl: _this.props.src
45
45
  });
46
- _defineProperty(_assertThisInitialized(_this), "onError", function () {
46
+ _defineProperty(_assertThisInitialized(_this), "onError", function (e) {
47
47
  if (!_this.state.didError && _this.props.defaultImage) {
48
48
  _this.setState({
49
49
  didError: true,
50
50
  imageUrl: _this.props.defaultImage
51
51
  });
52
52
  }
53
- _this.props.onError();
53
+ _this.props.onError(e);
54
54
  });
55
55
  _defineProperty(_assertThisInitialized(_this), "onLoad", function () {
56
56
  _this.setState({
@@ -105,7 +105,9 @@ var Image = exports.default = /*#__PURE__*/function (_React$Component) {
105
105
  },
106
106
  onClick: this.onClick,
107
107
  src: this.state.imageUrl,
108
- onError: this.onError,
108
+ onError: function onError(e) {
109
+ return _this2.onError(e);
110
+ },
109
111
  onLoad: this.onLoad,
110
112
  alt: alt,
111
113
  title: title,
@@ -65,6 +65,7 @@ var literalColors = {
65
65
  },
66
66
  teal: {
67
67
  '0': _seedsColor.default.COLOR_TEAL_0,
68
+ '50': _seedsColor.default.COLOR_TEAL_50,
68
69
  '100': _seedsColor.default.COLOR_TEAL_100,
69
70
  '200': _seedsColor.default.COLOR_TEAL_200,
70
71
  '300': _seedsColor.default.COLOR_TEAL_300,
@@ -110,6 +111,7 @@ var literalColors = {
110
111
  '100': _seedsColor.default.COLOR_MAGENTA_100,
111
112
  '200': _seedsColor.default.COLOR_MAGENTA_200,
112
113
  '300': _seedsColor.default.COLOR_MAGENTA_300,
114
+ '350': _seedsColor.default.COLOR_MAGENTA_350,
113
115
  '400': _seedsColor.default.COLOR_MAGENTA_400,
114
116
  '500': _seedsColor.default.COLOR_MAGENTA_500,
115
117
  '600': _seedsColor.default.COLOR_MAGENTA_600,
@@ -339,6 +339,7 @@ $theme: (
339
339
  ),
340
340
  "teal": (
341
341
  "0": #e5f9f5,
342
+ "50": #CCF1EA,
342
343
  "100": #cdf7ef,
343
344
  "200": #b3f2e6,
344
345
  "300": #7dead5,
@@ -384,6 +385,7 @@ $theme: (
384
385
  "100": #f9e3fc,
385
386
  "200": #f4c4f7,
386
387
  "300": #edadf2,
388
+ "350": #EC9AF1,
387
389
  "400": #f282f5,
388
390
  "500": #db61db,
389
391
  "600": #c44eb9,
@@ -371,6 +371,7 @@ $theme: (
371
371
  ),
372
372
  "teal": (
373
373
  "0": #e5f9f5,
374
+ "50": #CCF1EA,
374
375
  "100": #cdf7ef,
375
376
  "200": #b3f2e6,
376
377
  "300": #7dead5,
@@ -416,6 +417,7 @@ $theme: (
416
417
  "100": #f9e3fc,
417
418
  "200": #f4c4f7,
418
419
  "300": #edadf2,
420
+ "350": #EC9AF1,
419
421
  "400": #f282f5,
420
422
  "500": #db61db,
421
423
  "600": #c44eb9,
@@ -371,6 +371,7 @@ $theme: (
371
371
  ),
372
372
  "teal": (
373
373
  "0": #e5f9f5,
374
+ "50": #CCF1EA,
374
375
  "100": #cdf7ef,
375
376
  "200": #b3f2e6,
376
377
  "300": #7dead5,
@@ -416,6 +417,7 @@ $theme: (
416
417
  "100": #f9e3fc,
417
418
  "200": #f4c4f7,
418
419
  "300": #edadf2,
420
+ "350": #EC9AF1,
419
421
  "400": #f282f5,
420
422
  "500": #db61db,
421
423
  "600": #c44eb9,
@@ -346,6 +346,7 @@ $theme: (
346
346
  ),
347
347
  "teal": (
348
348
  "0": #e5f9f5,
349
+ "50": #CCF1EA,
349
350
  "100": #cdf7ef,
350
351
  "200": #b3f2e6,
351
352
  "300": #7dead5,
@@ -391,6 +392,7 @@ $theme: (
391
392
  "100": #f9e3fc,
392
393
  "200": #f4c4f7,
393
394
  "300": #edadf2,
395
+ "350": #EC9AF1,
394
396
  "400": #f282f5,
395
397
  "500": #db61db,
396
398
  "600": #c44eb9,
@@ -1 +1 @@
1
- {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/DatePicker/DateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,eAAe,4IAWlB,wBAAwB,gBAoD1B,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/DatePicker/DateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,eAAe,4IAWlB,wBAAwB,gBAqD1B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/DatePicker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3C,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,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E,MAAM,CAAC;IAEvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;CAC9E"}
@@ -20,7 +20,7 @@ export default class Image extends React.Component<TypeImageProps, TypeState> {
20
20
  imageRef?: HTMLImageElement | null;
21
21
  componentDidMount(): void;
22
22
  componentDidUpdate(prevProps: TypeImageProps): void;
23
- onError: () => void;
23
+ onError: (e: React.SyntheticEvent<HTMLImageElement, Event>) => void;
24
24
  onLoad: () => void;
25
25
  onClick: () => void;
26
26
  render(): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEjD,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAKF,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC;IAC3E,MAAM,CAAC,YAAY;;;;;MAKjB;IAEF,KAAK;;;;MAIH;IAEF,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAEnC,iBAAiB;IASjB,kBAAkB,CAAC,SAAS,EAAE,cAAc;IAU5C,OAAO,aASL;IAEF,MAAM,aAKJ;IAEF,OAAO,aAEL;IAEF,MAAM;CAoBP"}
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEjD,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAKF,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC;IAC3E,MAAM,CAAC,YAAY;;;;;MAKjB;IAEF,KAAK;;;;MAIH;IAEF,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAEnC,iBAAiB;IASjB,kBAAkB,CAAC,SAAS,EAAE,cAAc;IAU5C,OAAO,MAAO,MAAM,cAAc,CAAC,gBAAgB,EAAE,KAAK,CAAC,UASzD;IAEF,MAAM,aAKJ;IAEF,OAAO,aAEL;IAEF,MAAM;CAsBP"}
@@ -7,7 +7,7 @@ export interface TypeImageProps extends TypeStyledComponentsCommonProps, TypeSys
7
7
  /** Alt text is required for non-decorative images */
8
8
  alt: string;
9
9
  title: string;
10
- onError: () => void;
10
+ onError: (e: React.SyntheticEvent<HTMLImageElement, Event>) => void;
11
11
  onClick: () => void;
12
12
  /** A URL for a default image to load if the source image is not available */
13
13
  defaultImage?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ImageTypes.d.ts","sourceRoot":"","sources":["../../../src/Image/ImageTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,cACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,qBAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,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input.d.ts","sourceRoot":"","sources":["../../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEjD,UAAU,SAAS;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AA0ED,cAAM,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC;gBAChD,KAAK,EAAE,cAAc;IASjC,kBAAkB,CAAC,EAAC,KAAK,EAAE,SAAS,EAAC,EAAE,cAAc;IAQrD,MAAM,CAAC,YAAY;;;;;;MAMjB;IAEF,MAAM,CAAC,WAAW;;;MAAe;IAGjC,QAAQ,oCAAuC;IAE/C,UAAU,MAAO,gBAAgB,CAAC,gBAAgB,CAAC,sBAC1B;IAEzB,WAAW,MAAO,MAAM,cAAc,CAAC,iBAAiB,CAAC,UAwBvD;IAEF,YAAY,MAAO,MAAM,cAAc,CAAC,gBAAgB,CAAC,UAIvD;IAEF,WAAW,MAAO,gBAAgB,CAAC,gBAAgB,CAAC,sBAC1B;IAE1B,aAAa,MAAO,mBAAmB,CAAC,gBAAgB,CAAC,sBACN;IAEnD,WAAW,MAAO,mBAAmB,CAAC,gBAAgB,CAAC,sBACN;IAEjD,WAAW,MAAO,MAAM,cAAc,CAAC,gBAAgB,CAAC,sBACP;IAEjD,WAAW,eAAgB,MAAM,UAU/B;IAEF,MAAM;CAoHP;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEjD,UAAU,SAAS;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AA2ED,cAAM,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC;gBAChD,KAAK,EAAE,cAAc;IASjC,kBAAkB,CAAC,EAAC,KAAK,EAAE,SAAS,EAAC,EAAE,cAAc;IAQrD,MAAM,CAAC,YAAY;;;;;;MAMjB;IAEF,MAAM,CAAC,WAAW;;;MAAe;IAGjC,QAAQ,oCAAuC;IAE/C,UAAU,MAAO,gBAAgB,CAAC,gBAAgB,CAAC,sBAC1B;IAEzB,WAAW,MAAO,MAAM,cAAc,CAAC,iBAAiB,CAAC,UAwBvD;IAEF,YAAY,MAAO,MAAM,cAAc,CAAC,gBAAgB,CAAC,UAIvD;IAEF,WAAW,MAAO,gBAAgB,CAAC,gBAAgB,CAAC,sBAC1B;IAE1B,aAAa,MAAO,mBAAmB,CAAC,gBAAgB,CAAC,sBACN;IAEnD,WAAW,MAAO,mBAAmB,CAAC,gBAAgB,CAAC,sBACN;IAEjD,WAAW,MAAO,MAAM,cAAc,CAAC,gBAAgB,CAAC,sBACP;IAEjD,WAAW,eAAgB,MAAM,UAU/B;IAEF,MAAM;CAoHP;AAED,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StatefulStory.d.ts","sourceRoot":"","sources":["../../src/StatefulStory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAW,EAAE,EAAC,MAAM,OAAO,CAAC;AAEnC;;;;GAIG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,QAAQ,EAAE,EAAE,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;KAAC,CAAC,CAAC;IACvD,YAAY,EAAE,CAAC,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAC/B,QAAQ,EACR,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC,iDAGvB"}
1
+ {"version":3,"file":"StatefulStory.d.ts","sourceRoot":"","sources":["../../src/StatefulStory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAW,EAAE,EAAC,MAAM,OAAO,CAAC;AAEnC;;;;GAIG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IAEnC,QAAQ,EAAE,EAAE,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;KAAC,CAAC,CAAC;IACvD,YAAY,EAAE,CAAC,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAC/B,QAAQ,EACR,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC,iDAGvB"}
@@ -337,6 +337,7 @@ declare const darkTheme: {
337
337
  };
338
338
  teal: {
339
339
  '0': string;
340
+ '50': string;
340
341
  '100': string;
341
342
  '200': string;
342
343
  '300': string;
@@ -346,7 +347,7 @@ declare const darkTheme: {
346
347
  '700': string;
347
348
  '800': string;
348
349
  '900': string;
349
- '1000': string; /** @deprecated Use "error" instead of "danger" */
350
+ '1000': string;
350
351
  '1100': string;
351
352
  };
352
353
  aqua: {
@@ -382,6 +383,7 @@ declare const darkTheme: {
382
383
  '100': string;
383
384
  '200': string;
384
385
  '300': string;
386
+ '350': string;
385
387
  '400': string;
386
388
  '500': string;
387
389
  '600': string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAgPF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA7NT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -57,6 +57,7 @@ declare const literalColors: {
57
57
  };
58
58
  teal: {
59
59
  '0': string;
60
+ '50': string;
60
61
  '100': string;
61
62
  '200': string;
62
63
  '300': string;
@@ -102,6 +103,7 @@ declare const literalColors: {
102
103
  '100': string;
103
104
  '200': string;
104
105
  '300': string;
106
+ '350': string;
105
107
  '400': string;
106
108
  '500': string;
107
109
  '600': string;
@@ -1 +1 @@
1
- {"version":3,"file":"literal-colors.d.ts","sourceRoot":"","sources":["../../../../src/themes/light/literal-colors.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2JlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"literal-colors.d.ts","sourceRoot":"","sources":["../../../../src/themes/light/literal-colors.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -210,6 +210,7 @@ declare const theme: {
210
210
  };
211
211
  teal: {
212
212
  '0': string;
213
+ '50': string;
213
214
  '100': string;
214
215
  '200': string;
215
216
  '300': string;
@@ -223,7 +224,7 @@ declare const theme: {
223
224
  '1100': string;
224
225
  };
225
226
  aqua: {
226
- '0': string; /** @deprecated Use "error" instead of "danger" */
227
+ '0': string;
227
228
  '100': string;
228
229
  '200': string;
229
230
  '300': string;
@@ -255,6 +256,7 @@ declare const theme: {
255
256
  '100': string;
256
257
  '200': string;
257
258
  '300': string;
259
+ '350': string;
258
260
  '400': string;
259
261
  '500': string;
260
262
  '600': string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/light/theme.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,WAAW,UAA0C,CAAC;AAmRnE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAatB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAarB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,eAAO,MAAM,UAAU,QAA+B,CAAC;AAEvD,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;CAUjB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;;CAQjB,CAAC;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,YAAY;;CAExB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiOtD,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -34,14 +34,14 @@ var Image = /*#__PURE__*/function (_React$Component) {
34
34
  didLoad: false,
35
35
  imageUrl: _this.props.src
36
36
  });
37
- _defineProperty(_assertThisInitialized(_this), "onError", function () {
37
+ _defineProperty(_assertThisInitialized(_this), "onError", function (e) {
38
38
  if (!_this.state.didError && _this.props.defaultImage) {
39
39
  _this.setState({
40
40
  didError: true,
41
41
  imageUrl: _this.props.defaultImage
42
42
  });
43
43
  }
44
- _this.props.onError();
44
+ _this.props.onError(e);
45
45
  });
46
46
  _defineProperty(_assertThisInitialized(_this), "onLoad", function () {
47
47
  _this.setState({
@@ -96,7 +96,9 @@ var Image = /*#__PURE__*/function (_React$Component) {
96
96
  },
97
97
  onClick: this.onClick,
98
98
  src: this.state.imageUrl,
99
- onError: this.onError,
99
+ onError: function onError(e) {
100
+ return _this2.onError(e);
101
+ },
100
102
  onLoad: this.onLoad,
101
103
  alt: alt,
102
104
  title: title,
@@ -58,6 +58,7 @@ var literalColors = {
58
58
  },
59
59
  teal: {
60
60
  '0': COLORS.COLOR_TEAL_0,
61
+ '50': COLORS.COLOR_TEAL_50,
61
62
  '100': COLORS.COLOR_TEAL_100,
62
63
  '200': COLORS.COLOR_TEAL_200,
63
64
  '300': COLORS.COLOR_TEAL_300,
@@ -103,6 +104,7 @@ var literalColors = {
103
104
  '100': COLORS.COLOR_MAGENTA_100,
104
105
  '200': COLORS.COLOR_MAGENTA_200,
105
106
  '300': COLORS.COLOR_MAGENTA_300,
107
+ '350': COLORS.COLOR_MAGENTA_350,
106
108
  '400': COLORS.COLOR_MAGENTA_400,
107
109
  '500': COLORS.COLOR_MAGENTA_500,
108
110
  '600': COLORS.COLOR_MAGENTA_600,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "20.14.0",
3
+ "version": "20.16.0",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": ">=18"
@@ -89,6 +89,7 @@
89
89
  "@babel/preset-react": "^7.22.5",
90
90
  "@babel/preset-typescript": "^7.22.5",
91
91
  "@khanacademy/flow-to-ts": "^0.5.2",
92
+ "@sproutsocial/eslint-config-seeds": "*",
92
93
  "@sproutsocial/seeds-border": "*",
93
94
  "@sproutsocial/seeds-color": "*",
94
95
  "@sproutsocial/seeds-depth": "*",
@@ -137,20 +138,9 @@
137
138
  "csstype": "^3.1.1",
138
139
  "escape-string-regexp": "^5.0.0",
139
140
  "eslint": "^8.46.0",
140
- "eslint-config-prettier": "^9.0.0",
141
- "eslint-config-react-app": "^7.0.1",
142
- "eslint-import-resolver-babel-module": "^5.3.1",
143
- "eslint-import-resolver-typescript": "^3.6.0",
144
- "eslint-plugin-babel": "^5.3.1",
145
- "eslint-plugin-flowtype": "^8.0.3",
146
- "eslint-plugin-import": "^2.28.0",
147
- "eslint-plugin-jest": "^27.2.3",
148
- "eslint-plugin-jest-dom": "^5.0.2",
149
- "eslint-plugin-jsx-a11y": "^6.3.1",
150
- "eslint-plugin-prettier": "^5.0.0",
151
- "eslint-plugin-react": "^7.33.1",
152
- "eslint-plugin-react-hooks": "^4.6.0",
153
- "eslint-plugin-testing-library": "^5.11.1",
141
+ "eslint-import-resolver-babel-module": "^5.3.2",
142
+ "eslint-import-resolver-typescript": "^3.6.1",
143
+ "eslint-plugin-jest": "^27.6.3",
154
144
  "flow-bin": "0.131.0",
155
145
  "flowgen": "^1.21.0",
156
146
  "glob": "^7.1.6",
@@ -177,7 +167,7 @@
177
167
  "storybook": "^7.2.1",
178
168
  "storybook-dark-mode": "^3.0.1",
179
169
  "svgo": "^1.3.0",
180
- "svgstore": "^2.0.3",
170
+ "svgstore": "^3.0.1",
181
171
  "tsc-alias": "^1.8.2",
182
172
  "typescript": "^5.1.6",
183
173
  "webpack": "^5.88.2",
@@ -187,7 +177,7 @@
187
177
  },
188
178
  "peerDependencies": {
189
179
  "@sproutsocial/seeds-border": ">=0.3.0",
190
- "@sproutsocial/seeds-color": ">=1.2.0",
180
+ "@sproutsocial/seeds-color": ">=2.1.0",
191
181
  "@sproutsocial/seeds-depth": ">=1.0.0",
192
182
  "@sproutsocial/seeds-icons": "^1.0.0",
193
183
  "@sproutsocial/seeds-motion": ">=1.1.0",