@jobber/components 4.85.4-CJS-to-ESM.25 → 4.85.4-CJS-to-ESM.27

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/README.md CHANGED
@@ -34,3 +34,7 @@ export default function MyComponent() {
34
34
 
35
35
  More information on Atlantis can be found at
36
36
  [https://atlantis.getjobber.com](https://atlantis.getjobber.com).
37
+
38
+ ## Additional Information
39
+
40
+ Additional Information
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Grid = require('../Grid-0801beb4.js');
5
+ var Grid = require('../Grid-3b80e935.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('../InternalGridCell-58643b70.js');
9
9
  require('../style-inject.es-9d2f5f4e.js');
10
- require('@jobber/hooks');
10
+ require('@jobber/hooks/useAssert');
11
11
 
12
12
 
13
13
 
@@ -1,6 +1,6 @@
1
- export { G as GRID_TEST_ID, a as Grid } from '../Grid-62d5435f.js';
1
+ export { G as GRID_TEST_ID, a as Grid } from '../Grid-257d509f.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../InternalGridCell-eca14dd0.js';
5
5
  import '../style-inject.es-a0e1a0ba.js';
6
- import '@jobber/hooks';
6
+ import '@jobber/hooks/useAssert';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import classnames from 'classnames';
3
3
  import { I as InternalGridCell } from './InternalGridCell-eca14dd0.js';
4
4
  import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
5
- import { useAssert } from '@jobber/hooks';
5
+ import { useAssert } from '@jobber/hooks/useAssert';
6
6
 
7
7
  var css_248z$1 = ".NqFGJV-UF3Q- {\n display: grid;\n grid-template-columns: repeat(12, minmax(0, 1fr));\n}\n\n.IZLiiSquUTM- {\n gap: calc(16px * 1);\n gap: var(--space-base);\n}\n\n@media (min-width: 768px) {\n .IZLiiSquUTM- {\n gap: calc(16px * 1.5);\n gap: var(--space-large);\n }\n}\n\n@media (--medium-screens-and-up) {\n .IZLiiSquUTM- {\n gap: calc(16px * 1.5);\n gap: var(--space-large);\n }\n}\n";
8
8
  var styles = {"grid":"NqFGJV-UF3Q-","gap":"IZLiiSquUTM-"};
@@ -4,7 +4,7 @@ var React = require('react');
4
4
  var classnames = require('classnames');
5
5
  var InternalGridCell = require('./InternalGridCell-58643b70.js');
6
6
  var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
7
- var hooks = require('@jobber/hooks');
7
+ var useAssert = require('@jobber/hooks/useAssert');
8
8
 
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
@@ -23,7 +23,7 @@ styleInject_es.styleInject(css_248z);
23
23
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
24
24
  function GridCell(props) {
25
25
  // Throw error when <Grid.Cell /> gets used outside of the <Grid />
26
- hooks.useAssert(true, "`<Grid.Cell>` can only be used inside of a `<Grid>` component!");
26
+ useAssert.useAssert(true, "`<Grid.Cell>` can only be used inside of a `<Grid>` component!");
27
27
  return React__default["default"].createElement(React__default["default"].Fragment, null);
28
28
  }
29
29
 
package/dist/index.cjs CHANGED
@@ -48,7 +48,7 @@ var FormatRelativeDateTime = require('./FormatRelativeDateTime-6336002d.js');
48
48
  var FormatTime = require('./FormatTime-20538519.js');
49
49
  var Gallery = require('./Gallery-5ba96c76.js');
50
50
  var Glimmer = require('./Glimmer-84dee1ed.js');
51
- var Grid = require('./Grid-0801beb4.js');
51
+ var Grid = require('./Grid-3b80e935.js');
52
52
  var Heading = require('./Heading-1e8e4bd3.js');
53
53
  var InlineLabel = require('./InlineLabel-a6557829.js');
54
54
  var InputAvatar = require('./InputAvatar-65e584a0.js');
@@ -153,6 +153,7 @@ require('react-datepicker');
153
153
  require('@jobber/hooks/useShowClear');
154
154
  require('filesize');
155
155
  require('./InternalGridCell-58643b70.js');
156
+ require('@jobber/hooks/useAssert');
156
157
  require('react-dropzone');
157
158
  require('axios');
158
159
  require('react-markdown');
package/dist/index.mjs CHANGED
@@ -44,7 +44,7 @@ export { F as FormatRelativeDateTime } from './FormatRelativeDateTime-529dc36b.j
44
44
  export { F as FormatTime } from './FormatTime-764fd3c8.js';
45
45
  export { G as Gallery } from './Gallery-b5df3b89.js';
46
46
  export { a as GLIMMER_TEST_ID, G as Glimmer } from './Glimmer-aea7f8ae.js';
47
- export { G as GRID_TEST_ID, a as Grid } from './Grid-62d5435f.js';
47
+ export { G as GRID_TEST_ID, a as Grid } from './Grid-257d509f.js';
48
48
  export { H as Heading } from './Heading-93e755cb.js';
49
49
  export { I as InlineLabel } from './InlineLabel-b7d9e402.js';
50
50
  export { I as InputAvatar } from './InputAvatar-e4eb2201.js';
@@ -149,6 +149,7 @@ import 'react-datepicker';
149
149
  import '@jobber/hooks/useShowClear';
150
150
  import 'filesize';
151
151
  import './InternalGridCell-eca14dd0.js';
152
+ import '@jobber/hooks/useAssert';
152
153
  import 'react-dropzone';
153
154
  import 'axios';
154
155
  import 'react-markdown';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
3
  "type": "module",
4
- "version": "4.85.4-CJS-to-ESM.25+49dd6c5a",
4
+ "version": "4.85.4-CJS-to-ESM.27+1a2c0338",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
@@ -442,6 +442,7 @@
442
442
  "typescript": "^4.9.5"
443
443
  },
444
444
  "peerDependencies": {
445
+ "@jobber/hooks": "2.9.1",
445
446
  "react": "^18",
446
447
  "react-dom": "^18"
447
448
  },
@@ -450,5 +451,5 @@
450
451
  "> 1%",
451
452
  "IE 10"
452
453
  ],
453
- "gitHead": "49dd6c5aeb9be3fb05b1fc5777b7222522d66399"
454
+ "gitHead": "1a2c0338cb71db9141f659bbaf719dd81e19f31c"
454
455
  }