@jobber/components 8.0.0 → 8.0.2

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.
@@ -42,7 +42,6 @@
42
42
  [FeatureSwitch](./FeatureSwitch/FeatureSwitch.md)
43
43
  [Flex](./Flex/Flex.md)
44
44
  [Form](./Form/Form.md)
45
- [FormatEmail](./FormatEmail/FormatEmail.md)
46
45
  [FormatFile](./FormatFile/FormatFile.md)
47
46
  [FormatRelativeDateTime](./FormatRelativeDateTime/FormatRelativeDateTime.md)
48
47
  [FormatTime](./FormatTime/FormatTime.md)
package/dist/index.cjs CHANGED
@@ -45,7 +45,6 @@ var Form = require('./Form-cjs.js');
45
45
  var FormField = require('./FormField-cjs.js');
46
46
  var useAtlantisFormFieldName = require('./useAtlantisFormFieldName-cjs.js');
47
47
  var FormFieldWrapper = require('./FormFieldWrapper-cjs.js');
48
- var FormatEmail = require('./FormatEmail-cjs.js');
49
48
  var FormatFile = require('./FormatFile-cjs.js');
50
49
  var FormatRelativeDateTime = require('./FormatRelativeDateTime-cjs.js');
51
50
  var FormatTime = require('./FormatTime-cjs.js');
@@ -274,7 +273,6 @@ exports.FormFieldWrapper = FormFieldWrapper.FormFieldWrapper;
274
273
  exports.FormFieldWrapperMain = FormFieldWrapper.FormFieldWrapperMain;
275
274
  exports.FormFieldWrapperToolbar = FormFieldWrapper.FormFieldWrapperToolbar;
276
275
  exports.useFormFieldWrapperStyles = FormFieldWrapper.useFormFieldWrapperStyles;
277
- exports.FormatEmail = FormatEmail.FormatEmail;
278
276
  exports.FormatFile = FormatFile.FormatFile;
279
277
  exports.useFormatFile = FormatFile.useFormatFile;
280
278
  exports.useFormatFileStyles = FormatFile.useFormatFileStyles;
package/dist/index.d.mts CHANGED
@@ -33,7 +33,6 @@ export * from "./FeatureSwitch";
33
33
  export * from "./Flex";
34
34
  export * from "./Form";
35
35
  export * from "./FormField";
36
- export * from "./FormatEmail";
37
36
  export * from "./FormatFile";
38
37
  export * from "./FormatRelativeDateTime";
39
38
  export * from "./FormatTime";
package/dist/index.d.ts CHANGED
@@ -33,7 +33,6 @@ export * from "./FeatureSwitch";
33
33
  export * from "./Flex";
34
34
  export * from "./Form";
35
35
  export * from "./FormField";
36
- export * from "./FormatEmail";
37
36
  export * from "./FormatFile";
38
37
  export * from "./FormatRelativeDateTime";
39
38
  export * from "./FormatTime";
package/dist/index.mjs CHANGED
@@ -43,7 +43,6 @@ export { F as Form } from './Form-es.js';
43
43
  export { F as FormField, u as useAtlantisFormField, a as useAtlantisFormFieldActions, b as useAtlantisReactHookForm } from './FormField-es.js';
44
44
  export { u as useAtlantisFormFieldName } from './useAtlantisFormFieldName-es.js';
45
45
  export { A as AffixIcon, f as AffixLabel, F as FormFieldInputHorizontalWrapper, a as FormFieldInputWrapperStyles, b as FormFieldLabel, c as FormFieldWrapper, d as FormFieldWrapperMain, e as FormFieldWrapperToolbar, u as useFormFieldWrapperStyles } from './FormFieldWrapper-es.js';
46
- export { F as FormatEmail } from './FormatEmail-es.js';
47
46
  export { F as FormatFile, u as useFormatFile, a as useFormatFileStyles } from './FormatFile-es.js';
48
47
  export { F as FormatRelativeDateTime } from './FormatRelativeDateTime-es.js';
49
48
  export { F as FormatTime } from './FormatTime-es.js';
package/dist/styles.css CHANGED
@@ -9516,10 +9516,6 @@ h2.react-datepicker__current-month {
9516
9516
  );
9517
9517
  }
9518
9518
 
9519
- .ViFkIUcS6PM- {
9520
- font-style: normal;
9521
- }
9522
-
9523
9519
  .y9T1gWK9SHY- {
9524
9520
  --file-card--background-color: var(--color-surface);
9525
9521
  --file-card--base-padding: var(--space-small);
@@ -93,7 +93,6 @@
93
93
  "FormFieldWrapper",
94
94
  "FormFieldWrapperMain",
95
95
  "FormFieldWrapperToolbar",
96
- "FormatEmail",
97
96
  "FormatFile",
98
97
  "FormatFile.Body",
99
98
  "FormatFile.DeleteButton",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -200,11 +200,6 @@
200
200
  "import": "./dist/FormField/index.mjs",
201
201
  "require": "./dist/FormField/index.cjs"
202
202
  },
203
- "./FormatEmail": {
204
- "types": "./dist/FormatEmail/index.d.ts",
205
- "import": "./dist/FormatEmail/index.mjs",
206
- "require": "./dist/FormatEmail/index.cjs"
207
- },
208
203
  "./FormatFile": {
209
204
  "types": "./dist/FormatFile/index.d.ts",
210
205
  "import": "./dist/FormatFile/index.mjs",
@@ -578,5 +573,5 @@
578
573
  "> 1%",
579
574
  "IE 10"
580
575
  ],
581
- "gitHead": "f086704d2aeaaf802fec6b5c1f1a594666b65e4b"
576
+ "gitHead": "d861abf72e283ac42c0f2af8d8be6becad4c957c"
582
577
  }
package/FormatEmail.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./dist/FormatEmail";
package/FormatEmail.js DELETED
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true,
5
- });
6
-
7
- var FormatEmail = require("./dist/FormatEmail");
8
-
9
- Object.keys(FormatEmail).forEach(function(key) {
10
- if (key === "default" || key === "__esModule") return;
11
- Object.defineProperty(exports, key, {
12
- enumerable: true,
13
- get: function get() {
14
- return FormatEmail[key];
15
- },
16
- });
17
- });
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- interface FormatEmailProps {
3
- /**
4
- * Email address to format
5
- */
6
- readonly email: string;
7
- }
8
- export declare function FormatEmail({ email }: FormatEmailProps): React.JSX.Element;
9
- export {};
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var FormatEmail = require('../FormatEmail-cjs.js');
4
- require('react');
5
- require('classnames');
6
-
7
-
8
-
9
- exports.FormatEmail = FormatEmail.FormatEmail;
@@ -1 +0,0 @@
1
- export { FormatEmail } from "./FormatEmail";
@@ -1,3 +0,0 @@
1
- export { F as FormatEmail } from '../FormatEmail-es.js';
2
- import 'react';
3
- import 'classnames';
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var classnames = require('classnames');
5
-
6
- var styles = {"email":"ViFkIUcS6PM-","spinning":"nCTmCxv5074-"};
7
-
8
- function FormatEmail({ email }) {
9
- const className = classnames(styles.email);
10
- return React.createElement("address", { className: className }, email);
11
- }
12
-
13
- exports.FormatEmail = FormatEmail;
@@ -1,11 +0,0 @@
1
- import React__default from 'react';
2
- import classnames from 'classnames';
3
-
4
- var styles = {"email":"ViFkIUcS6PM-","spinning":"nCTmCxv5074-"};
5
-
6
- function FormatEmail({ email }) {
7
- const className = classnames(styles.email);
8
- return React__default.createElement("address", { className: className }, email);
9
- }
10
-
11
- export { FormatEmail as F };
@@ -1,14 +0,0 @@
1
- # Format Email
2
-
3
- A component to ensure that an email address is displayed in the expected format.
4
- There is no styling applied, this simply just returns a semantically formatted
5
- email address.
6
-
7
-
8
- ## Props
9
-
10
- ### Web
11
-
12
- | Prop | Type | Required | Default | Description |
13
- |------|------|----------|---------|-------------|
14
- | `email` | `string` | Yes | — | Email address to format |