@jobber/components 4.85.4-CJS-to-ESM.28 → 4.85.4-CJS-to-ESM.29

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,7 +34,3 @@ 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-3b80e935.js');
5
+ var Grid = require('../Grid-0801beb4.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/useAssert');
10
+ require('@jobber/hooks');
11
11
 
12
12
 
13
13
 
@@ -1,6 +1,6 @@
1
- export { G as GRID_TEST_ID, a as Grid } from '../Grid-257d509f.js';
1
+ export { G as GRID_TEST_ID, a as Grid } from '../Grid-62d5435f.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/useAssert';
6
+ import '@jobber/hooks';
@@ -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 useAssert = require('@jobber/hooks/useAssert');
7
+ var hooks = require('@jobber/hooks');
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
- useAssert.useAssert(true, "`<Grid.Cell>` can only be used inside of a `<Grid>` component!");
26
+ hooks.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
 
@@ -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/useAssert';
5
+ import { useAssert } from '@jobber/hooks';
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-"};
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-c5392b45.js');
50
50
  var Glimmer = require('./Glimmer-84dee1ed.js');
51
- var Grid = require('./Grid-3b80e935.js');
51
+ var Grid = require('./Grid-0801beb4.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');
@@ -151,7 +151,6 @@ require('react-datepicker');
151
151
  require('@jobber/hooks/useShowClear');
152
152
  require('filesize');
153
153
  require('./InternalGridCell-58643b70.js');
154
- require('@jobber/hooks/useAssert');
155
154
  require('react-dropzone');
156
155
  require('axios');
157
156
  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-75b21f84.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-257d509f.js';
47
+ export { G as GRID_TEST_ID, a as Grid } from './Grid-62d5435f.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';
@@ -147,7 +147,6 @@ import 'react-datepicker';
147
147
  import '@jobber/hooks/useShowClear';
148
148
  import 'filesize';
149
149
  import './InternalGridCell-eca14dd0.js';
150
- import '@jobber/hooks/useAssert';
151
150
  import 'react-dropzone';
152
151
  import 'axios';
153
152
  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.28+f363c289",
4
+ "version": "4.85.4-CJS-to-ESM.29+a721f2e9",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
@@ -451,5 +451,5 @@
451
451
  "> 1%",
452
452
  "IE 10"
453
453
  ],
454
- "gitHead": "f363c289c8ab098fb0cfd8e5fadd913fbe241d6d"
454
+ "gitHead": "a721f2e97ee8dad4c9ac89ec08db5f5c98535df5"
455
455
  }