@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.
- package/dist/docs/index.md +0 -1
- package/dist/index.cjs +0 -2
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +0 -1
- package/dist/styles.css +0 -4
- package/dist/utils/meta/meta.json +0 -1
- package/package.json +2 -7
- package/FormatEmail.d.ts +0 -1
- package/FormatEmail.js +0 -17
- package/dist/FormatEmail/FormatEmail.d.ts +0 -9
- package/dist/FormatEmail/index.cjs +0 -9
- package/dist/FormatEmail/index.d.ts +0 -1
- package/dist/FormatEmail/index.mjs +0 -3
- package/dist/FormatEmail-cjs.js +0 -13
- package/dist/FormatEmail-es.js +0 -11
- package/dist/docs/FormatEmail/FormatEmail.md +0 -14
package/dist/docs/index.md
CHANGED
|
@@ -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);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "8.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": "
|
|
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 +0,0 @@
|
|
|
1
|
-
export { FormatEmail } from "./FormatEmail";
|
package/dist/FormatEmail-cjs.js
DELETED
|
@@ -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;
|
package/dist/FormatEmail-es.js
DELETED
|
@@ -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 |
|