@instructure/ui-alerts 8.11.2-snapshot.7 → 8.11.2-snapshot.70

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/es/Alert/index.js CHANGED
@@ -37,7 +37,7 @@ import { Transition } from '@instructure/ui-motion';
37
37
  import { logError as error } from '@instructure/console';
38
38
  import { uid } from '@instructure/uid';
39
39
  import { canvas } from '@instructure/ui-themes';
40
- import { withStyle, jsx, EmotionThemeProvider } from '@instructure/emotion';
40
+ import { withStyle, jsx, InstUISettingsProvider } from '@instructure/emotion';
41
41
  import generateStyle from './styles';
42
42
  import generateComponentTheme from './theme';
43
43
  import { propTypes, allowedProps } from './props';
@@ -164,7 +164,7 @@ let Alert = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_clas
164
164
  ReactDOM.render( // since ScreenReaderContent gets rendered outside the app,
165
165
  // and uses the withStyle decorator, we need to provide a theme for it,
166
166
  // otherwise throws warning (any theme, doesn't use any theme variables)
167
- jsx(EmotionThemeProvider, {
167
+ jsx(InstUISettingsProvider, {
168
168
  theme: canvas
169
169
  }, content), div);
170
170
  }
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -170,7 +170,7 @@ let Alert = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _d
170
170
  _reactDom.default.render( // since ScreenReaderContent gets rendered outside the app,
171
171
  // and uses the withStyle decorator, we need to provide a theme for it,
172
172
  // otherwise throws warning (any theme, doesn't use any theme variables)
173
- (0, _emotion.jsx)(_emotion.EmotionThemeProvider, {
173
+ (0, _emotion.jsx)(_emotion.InstUISettingsProvider, {
174
174
  theme: _uiThemes.canvas
175
175
  }, content), div);
176
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-alerts",
3
- "version": "8.11.2-snapshot.7+2681e145a",
3
+ "version": "8.11.2-snapshot.70+9653a896e",
4
4
  "description": "An alert component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,24 +24,24 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@instructure/ui-babel-preset": "8.11.2-snapshot.7+2681e145a",
28
- "@instructure/ui-color-utils": "8.11.2-snapshot.7+2681e145a",
29
- "@instructure/ui-test-utils": "8.11.2-snapshot.7+2681e145a"
27
+ "@instructure/ui-babel-preset": "8.11.2-snapshot.70+9653a896e",
28
+ "@instructure/ui-color-utils": "8.11.2-snapshot.70+9653a896e",
29
+ "@instructure/ui-test-utils": "8.11.2-snapshot.70+9653a896e"
30
30
  },
31
31
  "dependencies": {
32
32
  "@babel/runtime": "^7.13.10",
33
- "@instructure/console": "8.11.2-snapshot.7+2681e145a",
34
- "@instructure/emotion": "8.11.2-snapshot.7+2681e145a",
35
- "@instructure/shared-types": "8.11.2-snapshot.7+2681e145a",
36
- "@instructure/ui-a11y-content": "8.11.2-snapshot.7+2681e145a",
37
- "@instructure/ui-buttons": "8.11.2-snapshot.7+2681e145a",
38
- "@instructure/ui-icons": "8.11.2-snapshot.7+2681e145a",
39
- "@instructure/ui-motion": "8.11.2-snapshot.7+2681e145a",
40
- "@instructure/ui-react-utils": "8.11.2-snapshot.7+2681e145a",
41
- "@instructure/ui-themes": "8.11.2-snapshot.7+2681e145a",
42
- "@instructure/ui-utils": "8.11.2-snapshot.7+2681e145a",
43
- "@instructure/ui-view": "8.11.2-snapshot.7+2681e145a",
44
- "@instructure/uid": "8.11.2-snapshot.7+2681e145a",
33
+ "@instructure/console": "8.11.2-snapshot.70+9653a896e",
34
+ "@instructure/emotion": "8.11.2-snapshot.70+9653a896e",
35
+ "@instructure/shared-types": "8.11.2-snapshot.70+9653a896e",
36
+ "@instructure/ui-a11y-content": "8.11.2-snapshot.70+9653a896e",
37
+ "@instructure/ui-buttons": "8.11.2-snapshot.70+9653a896e",
38
+ "@instructure/ui-icons": "8.11.2-snapshot.70+9653a896e",
39
+ "@instructure/ui-motion": "8.11.2-snapshot.70+9653a896e",
40
+ "@instructure/ui-react-utils": "8.11.2-snapshot.70+9653a896e",
41
+ "@instructure/ui-themes": "8.11.2-snapshot.70+9653a896e",
42
+ "@instructure/ui-utils": "8.11.2-snapshot.70+9653a896e",
43
+ "@instructure/ui-view": "8.11.2-snapshot.70+9653a896e",
44
+ "@instructure/uid": "8.11.2-snapshot.70+9653a896e",
45
45
  "keycode": "^2",
46
46
  "prop-types": "^15"
47
47
  },
@@ -53,5 +53,5 @@
53
53
  "access": "public"
54
54
  },
55
55
  "sideEffects": false,
56
- "gitHead": "2681e145ad469e1396536d3e9eed75a19995eb8a"
56
+ "gitHead": "9653a896e80ba4d73335225e80807746a232d96d"
57
57
  }
@@ -40,7 +40,7 @@ import { Transition } from '@instructure/ui-motion'
40
40
  import { logError as error } from '@instructure/console'
41
41
  import { uid } from '@instructure/uid'
42
42
  import { canvas } from '@instructure/ui-themes'
43
- import { withStyle, jsx, EmotionThemeProvider } from '@instructure/emotion'
43
+ import { withStyle, jsx, InstUISettingsProvider } from '@instructure/emotion'
44
44
 
45
45
  import generateStyle from './styles'
46
46
  import generateComponentTheme from './theme'
@@ -197,7 +197,7 @@ class Alert extends Component<AlertProps> {
197
197
  // since ScreenReaderContent gets rendered outside the app,
198
198
  // and uses the withStyle decorator, we need to provide a theme for it,
199
199
  // otherwise throws warning (any theme, doesn't use any theme variables)
200
- <EmotionThemeProvider theme={canvas}>{content}</EmotionThemeProvider>,
200
+ <InstUISettingsProvider theme={canvas}>{content}</InstUISettingsProvider>,
201
201
  div
202
202
  )
203
203
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Alert/index.tsx"],"names":[],"mappings":"AAuBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAK9B,OAAO,EAAa,GAAG,EAA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