@jobber/components 3.5.4 → 3.5.6-pre.0

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.
Files changed (75) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/Autocomplete/Autocomplete.d.ts +0 -1
  3. package/dist/Autocomplete/Menu.d.ts +0 -1
  4. package/dist/Autocomplete/index.js +3 -3
  5. package/dist/Avatar/Avatar.d.ts +0 -1
  6. package/dist/Card/CardHeader.d.ts +0 -1
  7. package/dist/Chips/Chip.d.ts +0 -1
  8. package/dist/Chips/Chips.d.ts +0 -1
  9. package/dist/Chips/InternalChip.d.ts +0 -1
  10. package/dist/Chips/InternalChipDismissible/InternalChipDismissible.d.ts +0 -1
  11. package/dist/Chips/InternalChipDismissible/InternalChipDismissibleInput.d.ts +0 -1
  12. package/dist/Chips/InternalChipMultiSelect.d.ts +0 -1
  13. package/dist/Chips/InternalChipSingleSelect.d.ts +0 -1
  14. package/dist/Chips/index.js +1 -1
  15. package/dist/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  16. package/dist/Countdown/Countdown.d.ts +0 -1
  17. package/dist/DataDump/DataDump.d.ts +0 -1
  18. package/dist/DataTable/Footer.d.ts +0 -1
  19. package/dist/DataTable/Header.d.ts +0 -1
  20. package/dist/DataTable/Pagination.d.ts +0 -1
  21. package/dist/DataTable/SortIcon.d.ts +0 -1
  22. package/dist/DataTable/index.js +3 -3
  23. package/dist/DatePicker/DatePickerCustomHeader.d.ts +0 -1
  24. package/dist/Divider/Divider.d.ts +0 -1
  25. package/dist/FormField/FormField.d.ts +0 -1
  26. package/dist/FormField/FormFieldDescription.d.ts +0 -1
  27. package/dist/FormField/FormFieldPostFix.d.ts +0 -1
  28. package/dist/FormField/index.js +2 -2
  29. package/dist/{FormField-58711fc7.js → FormField-4280f5e9.js} +1 -1
  30. package/dist/FormatDate/FormatDate.d.ts +0 -1
  31. package/dist/FormatEmail/FormatEmail.d.ts +0 -1
  32. package/dist/FormatFile/FormatFileDeleteButton.d.ts +0 -1
  33. package/dist/FormatFile/InternalThumbnail.d.ts +0 -1
  34. package/dist/FormatRelativeDateTime/FormatRelativeDateTime.d.ts +0 -1
  35. package/dist/FormatTime/FormatTime.d.ts +0 -1
  36. package/dist/Gallery/Gallery.d.ts +0 -1
  37. package/dist/Icon/Icon.d.ts +0 -1
  38. package/dist/InputAvatar/InputAvatar.d.ts +0 -1
  39. package/dist/InputDate/InputDate.d.ts +0 -1
  40. package/dist/InputDate/index.js +2 -2
  41. package/dist/InputEmail/InputEmail.d.ts +0 -1
  42. package/dist/InputEmail/index.js +2 -2
  43. package/dist/InputFile/InputFile.d.ts +0 -1
  44. package/dist/InputNumber/index.js +2 -2
  45. package/dist/InputPassword/InputPassword.d.ts +0 -1
  46. package/dist/InputPassword/index.js +2 -2
  47. package/dist/InputText/index.js +3 -3
  48. package/dist/{InputText-e14d01db.js → InputText-f8000c6c.js} +1 -1
  49. package/dist/InputTime/InputTime.d.ts +0 -1
  50. package/dist/InputTime/InputTimeSafari.d.ts +0 -1
  51. package/dist/InputTime/index.js +2 -2
  52. package/dist/InputValidation/InputValidation.d.ts +0 -1
  53. package/dist/List/List.d.ts +0 -1
  54. package/dist/List/List.stories.d.ts +0 -1
  55. package/dist/Markdown/Markdown.d.ts +0 -1
  56. package/dist/Menu/Menu.stories.d.ts +0 -1
  57. package/dist/{Option-e7855759.js → Option-93ff948a.js} +1 -1
  58. package/dist/ProgressBar/ProgressBar.d.ts +0 -1
  59. package/dist/RecurringSelect/CurrentRecurrenceComponent.d.ts +0 -1
  60. package/dist/RecurringSelect/RecurringSelect.d.ts +0 -1
  61. package/dist/RecurringSelect/components/DayOfMonthSelect.d.ts +0 -1
  62. package/dist/RecurringSelect/components/MonthlyDayOfWeekSelect.d.ts +0 -1
  63. package/dist/RecurringSelect/components/MonthlySelect.d.ts +0 -1
  64. package/dist/RecurringSelect/components/WeeklySelect.d.ts +0 -1
  65. package/dist/Select/Select.d.ts +0 -1
  66. package/dist/Select/index.js +3 -3
  67. package/dist/Spinner/Spinner.d.ts +0 -1
  68. package/dist/Spinner/index.js +1 -1
  69. package/dist/{Spinner-18d3dee6.js → Spinner-e4e9c8eb.js} +1 -1
  70. package/dist/StatusLabel/StatusLabel.d.ts +0 -1
  71. package/dist/Switch/Switch.d.ts +0 -1
  72. package/dist/Table/Cells/CellCurrency.d.ts +0 -1
  73. package/dist/Table/Cells/CellNumeric.d.ts +0 -1
  74. package/dist/Toast/Toast.d.ts +0 -1
  75. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.5.5](https://github.com/GetJobber/atlantis/compare/@jobber/components@3.5.4...@jobber/components@3.5.5) (2023-03-15)
7
+
8
+ **Note:** Version bump only for package @jobber/components
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.5.4](https://github.com/GetJobber/atlantis/compare/@jobber/components@3.5.3...@jobber/components@3.5.4) (2023-03-15)
7
15
 
8
16
  **Note:** Version bump only for package @jobber/components
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { XOR } from "ts-xor";
3
2
  import { GroupOption, Option } from "./Option";
4
3
  import { FormFieldProps } from "../FormField";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Option } from "./Option";
3
2
  interface MenuProps {
4
3
  readonly visible: boolean;
@@ -11,17 +11,17 @@ var useEventListener = require('@use-it/event-listener');
11
11
  var Text = require('../Text-e012fb46.js');
12
12
  var Icon = require('../Icon-d5ad1a6d.js');
13
13
  var Heading = require('../Heading-a9a66964.js');
14
- var InputText = require('../InputText-e14d01db.js');
14
+ var InputText = require('../InputText-f8000c6c.js');
15
15
  require('../Typography-fbe0ed6e.js');
16
16
  require('@jobber/design');
17
- require('../FormField-58711fc7.js');
17
+ require('../FormField-4280f5e9.js');
18
18
  require('uuid');
19
19
  require('react-hook-form');
20
20
  require('../Button-cd30df0f.js');
21
21
  require('react-router-dom');
22
22
  require('../InputValidation-06a8a7ba.js');
23
23
  require('framer-motion');
24
- require('../Spinner-18d3dee6.js');
24
+ require('../Spinner-e4e9c8eb.js');
25
25
 
26
26
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
27
27
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { XOR } from "ts-xor";
3
2
  declare type AvatarSize = "base" | "large" | "small";
4
3
  interface AvatarFoundationProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from "./types";
3
2
  /**
4
3
  * Intended to be used in the Card component.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InternalChipProps } from "./ChipTypes";
3
2
  export interface ChipProps extends Pick<InternalChipProps, "label" | "prefix" | "disabled" | "invalid"> {
4
3
  /**
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ChipsProps } from "./ChipsTypes";
3
2
  export declare function Chips(props: ChipsProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { InternalChipProps } from "./ChipTypes";
3
2
  export declare function InternalChip({ label, active, disabled, invalid, prefix, suffix, tabIndex, ariaLabel, onClick, onKeyDown, }: InternalChipProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { InternalChipDismissibleProps } from "./InternalChipDismissibleTypes";
3
2
  export declare function InternalChipDismissible(props: InternalChipDismissibleProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ChipDismissibleInputProps } from "./InternalChipDismissibleTypes";
3
2
  export declare function InternalChipDismissibleInput(props: ChipDismissibleInputProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ChipMultiSelectProps } from "./ChipsTypes";
3
2
  declare type InternalChipChoiceMultipleProps = Pick<ChipMultiSelectProps, "selected" | "onChange" | "children" | "onClick">;
4
3
  export declare function InternalChipMultiSelect({ children, selected, onChange, onClick, }: InternalChipChoiceMultipleProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ChipSingleSelectProps } from "./ChipsTypes";
3
2
  declare type InternalChipChoiceProps = Pick<ChipSingleSelectProps, "selected" | "onChange" | "children" | "onClick" | "name">;
4
3
  export declare function InternalChipSingleSelect({ children, selected, name, onChange, onClick, }: InternalChipChoiceProps): JSX.Element;
@@ -16,7 +16,7 @@ var lodash = require('lodash');
16
16
  var reactPopper = require('react-popper');
17
17
  var Text = require('../Text-e012fb46.js');
18
18
  var Button = require('../Button-cd30df0f.js');
19
- var Spinner = require('../Spinner-18d3dee6.js');
19
+ var Spinner = require('../Spinner-e4e9c8eb.js');
20
20
  require('@jobber/design');
21
21
  require('color');
22
22
  require('react-dom');
@@ -74,5 +74,5 @@ interface StringMessage extends BaseConfirmationModalProps {
74
74
  message: string;
75
75
  children?: never;
76
76
  }
77
- export declare const ConfirmationModal: React.ForwardRefExoticComponent<(SimpleConfirmationModalProps & ChildrenMessage & React.RefAttributes<ConfirmationModalRef>) | (SimpleConfirmationModalProps & StringMessage & React.RefAttributes<ConfirmationModalRef>) | (Pick<ComplexConfirmationModalProps & ChildrenMessage, "children" | "size" | "title" | "variation" | "message" | "open" | "onRequestClose" | "onCancel" | "confirmLabel" | "cancelLabel" | "onConfirm"> & React.RefAttributes<ConfirmationModalRef>) | (Pick<ComplexConfirmationModalProps & StringMessage, "children" | "size" | "title" | "variation" | "message" | "open" | "onRequestClose" | "onCancel" | "confirmLabel" | "cancelLabel" | "onConfirm"> & React.RefAttributes<ConfirmationModalRef>)>;
77
+ export declare const ConfirmationModal: React.ForwardRefExoticComponent<(SimpleConfirmationModalProps & ChildrenMessage & React.RefAttributes<ConfirmationModalRef>) | (SimpleConfirmationModalProps & StringMessage & React.RefAttributes<ConfirmationModalRef>) | (ComplexConfirmationModalProps & ChildrenMessage & React.RefAttributes<ConfirmationModalRef>) | (ComplexConfirmationModalProps & StringMessage & React.RefAttributes<ConfirmationModalRef>)>;
78
78
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CivilDate } from "@std-proposal/temporal";
3
2
  /**
4
3
  * Options for deciding how much information is shown to the user
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DataDebuggerProps {
3
2
  /**
4
3
  * Label for the DataDump
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Table } from "@tanstack/react-table";
3
2
  export declare type ViewType = "desktop" | "handheld";
4
3
  export interface FooterProps<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Row, Table } from "@tanstack/react-table";
3
2
  import { SortingType } from "./types";
4
3
  interface HeaderProps<T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Table } from "@tanstack/react-table";
3
2
  interface PaginationProps<T> {
4
3
  table: Table<T>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare enum SortDirection {
3
2
  ascending = 0,
4
3
  descending = 1,
@@ -8,17 +8,17 @@ var classnames = require('classnames');
8
8
  var React = require('react');
9
9
  var jobberHooks = require('@jobber/hooks');
10
10
  var styleInject_es = require('../style-inject.es-dcee06b6.js');
11
- var Option = require('../Option-e7855759.js');
11
+ var Option = require('../Option-93ff948a.js');
12
12
  var Button = require('../Button-cd30df0f.js');
13
13
  var Text = require('../Text-e012fb46.js');
14
- require('../FormField-58711fc7.js');
14
+ require('../FormField-4280f5e9.js');
15
15
  require('uuid');
16
16
  require('react-hook-form');
17
17
  require('../Icon-d5ad1a6d.js');
18
18
  require('@jobber/design');
19
19
  require('../InputValidation-06a8a7ba.js');
20
20
  require('framer-motion');
21
- require('../Spinner-18d3dee6.js');
21
+ require('../Spinner-e4e9c8eb.js');
22
22
  require('react-router-dom');
23
23
  require('../Typography-fbe0ed6e.js');
24
24
 
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ReactDatePickerCustomHeaderProps } from "react-datepicker";
3
2
  export declare function DatePickerCustomHeader({ monthDate, decreaseMonth, increaseMonth, prevMonthButtonDisabled, nextMonthButtonDisabled, }: ReactDatePickerCustomHeaderProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DividerProps {
3
2
  /**
4
3
  * The weight of the divider.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FormFieldProps } from "./FormFieldTypes";
3
2
  export declare function FormField(props: FormFieldProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FormFieldDescriptionProps {
3
2
  readonly id: string;
4
3
  readonly description: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FormFieldPostFixProps {
3
2
  readonly variation: "select" | "spinner";
4
3
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var FormField = require('../FormField-58711fc7.js');
5
+ var FormField = require('../FormField-4280f5e9.js');
6
6
  require('../tslib.es6-5b50eb8e.js');
7
7
  require('react');
8
8
  require('uuid');
@@ -17,7 +17,7 @@ require('../Typography-fbe0ed6e.js');
17
17
  require('../Text-e012fb46.js');
18
18
  require('../InputValidation-06a8a7ba.js');
19
19
  require('framer-motion');
20
- require('../Spinner-18d3dee6.js');
20
+ require('../Spinner-e4e9c8eb.js');
21
21
 
22
22
 
23
23
 
@@ -10,7 +10,7 @@ var Button = require('./Button-cd30df0f.js');
10
10
  var Icon = require('./Icon-d5ad1a6d.js');
11
11
  var Text = require('./Text-e012fb46.js');
12
12
  var InputValidation = require('./InputValidation-06a8a7ba.js');
13
- var Spinner = require('./Spinner-18d3dee6.js');
13
+ var Spinner = require('./Spinner-e4e9c8eb.js');
14
14
 
15
15
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
16
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CivilDate } from "@std-proposal/temporal";
3
2
  interface FormatDateProps {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FormatEmailProps {
3
2
  /**
4
3
  * Email address to format
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DeleteButtonProps {
3
2
  size?: "base" | "large";
4
3
  onDelete?: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FileUpload } from "../InputFile";
3
2
  interface InternalThumbnailProps {
4
3
  readonly name?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CivilDateTime } from "@std-proposal/temporal";
3
2
  interface FormatRelativeDateTimeProps {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CivilTime } from "@std-proposal/temporal";
3
2
  interface FormatTimeProps {
4
3
  /**
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { GalleryProps } from "./GalleryTypes";
3
2
  export declare function Gallery({ files, size, max, onDelete }: GalleryProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IconColorNames, IconNames, IconSizes } from "@jobber/design";
3
2
  export { IconColorNames, IconNames } from "@jobber/design";
4
3
  export interface IconProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AvatarProps } from "../Avatar";
3
2
  import { FileUpload, UploadParams } from "../InputFile";
4
3
  interface InputAvatarProps extends Omit<AvatarProps, "size"> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CommonFormFieldProps, FormFieldProps } from "../FormField";
3
2
  interface InputDateProps extends CommonFormFieldProps, Pick<FormFieldProps, "readonly" | "disabled" | "onEnter" | "onFocus" | "inputRef" | "validations" | "placeholder" | "onChange" | "onBlur"> {
4
3
  /**
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib_es6 = require('../tslib.es6-5b50eb8e.js');
6
6
  var lodash = require('lodash');
7
7
  var React = require('react');
8
- var FormField = require('../FormField-58711fc7.js');
8
+ var FormField = require('../FormField-4280f5e9.js');
9
9
  var DatePicker = require('../DatePicker-7c67e8d2.js');
10
10
  require('uuid');
11
11
  require('react-hook-form');
@@ -19,7 +19,7 @@ require('../Typography-fbe0ed6e.js');
19
19
  require('../Text-e012fb46.js');
20
20
  require('../InputValidation-06a8a7ba.js');
21
21
  require('framer-motion');
22
- require('../Spinner-18d3dee6.js');
22
+ require('../Spinner-e4e9c8eb.js');
23
23
  require('react-datepicker');
24
24
  require('@jobber/hooks');
25
25
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CommonFormFieldProps, FormFieldProps } from "../FormField";
3
2
  declare type InputEmailProps = CommonFormFieldProps & Pick<FormFieldProps, "maxLength" | "readonly" | "validations" | "defaultValue">;
4
3
  export declare const validationMessage = "Please enter a valid email";
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib_es6 = require('../tslib.es6-5b50eb8e.js');
6
6
  var React = require('react');
7
- var FormField = require('../FormField-58711fc7.js');
7
+ var FormField = require('../FormField-4280f5e9.js');
8
8
  require('uuid');
9
9
  require('react-hook-form');
10
10
  require('../style-inject.es-dcee06b6.js');
@@ -17,7 +17,7 @@ require('../Typography-fbe0ed6e.js');
17
17
  require('../Text-e012fb46.js');
18
18
  require('../InputValidation-06a8a7ba.js');
19
19
  require('framer-motion');
20
- require('../Spinner-18d3dee6.js');
20
+ require('../Spinner-e4e9c8eb.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FileUpload {
3
2
  /**
4
3
  * File Identifier
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib_es6 = require('../tslib.es6-5b50eb8e.js');
6
6
  var React = require('react');
7
- var FormField = require('../FormField-58711fc7.js');
7
+ var FormField = require('../FormField-4280f5e9.js');
8
8
  require('uuid');
9
9
  require('react-hook-form');
10
10
  require('../style-inject.es-dcee06b6.js');
@@ -17,7 +17,7 @@ require('../Typography-fbe0ed6e.js');
17
17
  require('../Text-e012fb46.js');
18
18
  require('../InputValidation-06a8a7ba.js');
19
19
  require('framer-motion');
20
- require('../Spinner-18d3dee6.js');
20
+ require('../Spinner-e4e9c8eb.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CommonFormFieldProps, FormFieldProps } from "../FormField";
3
2
  interface InputPasswordProps extends CommonFormFieldProps, Pick<FormFieldProps, "autocomplete" | "onEnter" | "onFocus" | "onBlur" | "inputRef" | "validations" | "defaultValue"> {
4
3
  value?: string;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib_es6 = require('../tslib.es6-5b50eb8e.js');
6
6
  var React = require('react');
7
- var FormField = require('../FormField-58711fc7.js');
7
+ var FormField = require('../FormField-4280f5e9.js');
8
8
  require('uuid');
9
9
  require('react-hook-form');
10
10
  require('../style-inject.es-dcee06b6.js');
@@ -17,7 +17,7 @@ require('../Typography-fbe0ed6e.js');
17
17
  require('../Text-e012fb46.js');
18
18
  require('../InputValidation-06a8a7ba.js');
19
19
  require('framer-motion');
20
- require('../Spinner-18d3dee6.js');
20
+ require('../Spinner-e4e9c8eb.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var InputText = require('../InputText-e14d01db.js');
5
+ var InputText = require('../InputText-f8000c6c.js');
6
6
  require('../tslib.es6-5b50eb8e.js');
7
7
  require('react');
8
- require('../FormField-58711fc7.js');
8
+ require('../FormField-4280f5e9.js');
9
9
  require('uuid');
10
10
  require('react-hook-form');
11
11
  require('../style-inject.es-dcee06b6.js');
@@ -18,7 +18,7 @@ require('../Typography-fbe0ed6e.js');
18
18
  require('../Text-e012fb46.js');
19
19
  require('../InputValidation-06a8a7ba.js');
20
20
  require('framer-motion');
21
- require('../Spinner-18d3dee6.js');
21
+ require('../Spinner-e4e9c8eb.js');
22
22
 
23
23
 
24
24
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  var tslib_es6 = require('./tslib.es6-5b50eb8e.js');
4
4
  var React = require('react');
5
- var FormField = require('./FormField-58711fc7.js');
5
+ var FormField = require('./FormField-4280f5e9.js');
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { InputTimeProps } from "./InputTimeProps";
3
2
  export declare function InputTime({ defaultValue, value, onChange, ...params }: InputTimeProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { InputTimeProps } from "./InputTimeProps";
3
2
  export declare function InputTimeSafari({ defaultValue, value, onChange, ...params }: InputTimeProps): JSX.Element;
@@ -6,7 +6,7 @@ var tslib_es6 = require('../tslib.es6-5b50eb8e.js');
6
6
  var React = require('react');
7
7
  var debounce = require('lodash/debounce');
8
8
  var temporal = require('@std-proposal/temporal');
9
- var FormField = require('../FormField-58711fc7.js');
9
+ var FormField = require('../FormField-4280f5e9.js');
10
10
  require('uuid');
11
11
  require('react-hook-form');
12
12
  require('../style-inject.es-dcee06b6.js');
@@ -19,7 +19,7 @@ require('../Typography-fbe0ed6e.js');
19
19
  require('../Text-e012fb46.js');
20
20
  require('../InputValidation-06a8a7ba.js');
21
21
  require('framer-motion');
22
- require('../Spinner-18d3dee6.js');
22
+ require('../Spinner-e4e9c8eb.js');
23
23
 
24
24
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
25
25
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface InputValidationProps {
3
2
  /**
4
3
  * Validation message to be displayed
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ListItemProps } from "./ListItem";
3
2
  interface ListProps {
4
3
  /**
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ListItemProps } from "./ListItem";
3
2
  export declare const StorybookListPropsInterface: (_: ListItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface MarkdownProps {
3
2
  /**
4
3
  * Rich text content.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SectionProps } from ".";
3
2
  export declare const StorybookMenuSectionShape: (_: SectionProps) => JSX.Element;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var tslib_es6 = require('./tslib.es6-5b50eb8e.js');
4
4
  var React = require('react');
5
- var FormField = require('./FormField-58711fc7.js');
5
+ var FormField = require('./FormField-4280f5e9.js');
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import sizes from "./Sizes.css";
3
2
  interface ProgressBarProps {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RecurrenceRule } from "./types";
3
2
  interface RecurringSelectProps {
4
3
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RecurrenceRule } from "./types";
3
2
  interface RecurringSelectProps {
4
3
  readonly disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DayOfMonth } from "../types";
3
2
  interface DayOfMonthSelectProps {
4
3
  selectedDays: Set<DayOfMonth>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WeekDay } from "../types";
3
2
  interface MonthlyDayOfWeekSelectProps {
4
3
  disabled: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DurationPeriod } from "../types";
3
2
  interface MonthlySelectProps {
4
3
  disabled: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WeekDay } from "../types";
3
2
  interface WeeklySelectProps {
4
3
  disabled: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormFieldProps } from "../FormField";
3
2
  /**
4
3
  * The following is the same as:
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Option = require('../Option-e7855759.js');
5
+ var Option = require('../Option-93ff948a.js');
6
6
  require('../tslib.es6-5b50eb8e.js');
7
7
  require('react');
8
- require('../FormField-58711fc7.js');
8
+ require('../FormField-4280f5e9.js');
9
9
  require('uuid');
10
10
  require('react-hook-form');
11
11
  require('../style-inject.es-dcee06b6.js');
@@ -18,7 +18,7 @@ require('../Typography-fbe0ed6e.js');
18
18
  require('../Text-e012fb46.js');
19
19
  require('../InputValidation-06a8a7ba.js');
20
20
  require('framer-motion');
21
- require('../Spinner-18d3dee6.js');
21
+ require('../Spinner-e4e9c8eb.js');
22
22
 
23
23
 
24
24
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SpinnerProps {
3
2
  /**
4
3
  * Specifies the size of the spinner
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Spinner = require('../Spinner-18d3dee6.js');
5
+ var Spinner = require('../Spinner-e4e9c8eb.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('../style-inject.es-dcee06b6.js');
@@ -9,7 +9,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
9
9
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
10
  var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
11
11
 
12
- var css = "._2Vxgrs4a5osOKmp9b0i7ud {\n width: var(--space-larger);\n height: var(--space-larger);\n box-shadow: 0px 0px 4px 2px rgba(1, 41, 57, 0.4);\n border: solid var(--color-blue--light);\n border-top-color: var(--color-white);\n border-width: calc(var(--space-small) * 0.75);\n border-radius: var(--radius-circle);\n background-color: var(--color-blue--lightest);\n -webkit-animation-duration: 1s;\n animation-duration: 1s;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: _3bn_eCsItKh7HS1dEQIERv;\n animation-name: _3bn_eCsItKh7HS1dEQIERv;\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n will-change: transform;\n}\n\n@-webkit-keyframes _3bn_eCsItKh7HS1dEQIERv {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes _3bn_eCsItKh7HS1dEQIERv {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n._3uMtJrFH9VsqhWvHLkG1SQ {\n width: var(--space-base);\n height: var(--space-base);\n border-width: var(--space-smaller);\n}\n\n._20N4X28gVsanpe8jhUzYxj {\n display: inline-block;\n margin-top: calc(var(--space-smaller) * -1);\n vertical-align: middle;\n}\n";
12
+ var css = "._2Vxgrs4a5osOKmp9b0i7ud {\n width: var(--space-larger);\n height: var(--space-larger);\n box-shadow: 0px 0px 4px 2px rgba(1, 41, 57, 0.4);\n border: solid var(--color-blue--light);\n border-top-color: var(--color-white);\n border-width: calc(var(--space-small) * 0.75);\n border-radius: var(--radius-circle);\n background-color: var(--color-blue--lightest);\n -webkit-animation-duration: calc(var(--timing-slowest) * 2);\n animation-duration: calc(var(--timing-slowest) * 2);\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: _3bn_eCsItKh7HS1dEQIERv;\n animation-name: _3bn_eCsItKh7HS1dEQIERv;\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n will-change: transform;\n}\n\n@-webkit-keyframes _3bn_eCsItKh7HS1dEQIERv {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes _3bn_eCsItKh7HS1dEQIERv {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n._3uMtJrFH9VsqhWvHLkG1SQ {\n width: var(--space-base);\n height: var(--space-base);\n border-width: var(--space-smaller);\n}\n\n._20N4X28gVsanpe8jhUzYxj {\n display: inline-block;\n margin-top: calc(var(--space-smaller) * -1);\n vertical-align: middle;\n}\n";
13
13
  var styles = {"spinner":"_2Vxgrs4a5osOKmp9b0i7ud","animationSpin":"_3bn_eCsItKh7HS1dEQIERv","small":"_3uMtJrFH9VsqhWvHLkG1SQ","inline-left":"_20N4X28gVsanpe8jhUzYxj","inline-right":"_20N4X28gVsanpe8jhUzYxj","inline":"_20N4X28gVsanpe8jhUzYxj"};
14
14
  styleInject_es.styleInject(css);
15
15
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type StatusType = "success" | "warning" | "critical" | "inactive" | "informative";
3
2
  export interface StatusLabelType {
4
3
  readonly statusLabel: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SwitchProps {
3
2
  readonly value?: boolean;
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CurrencyType } from "@jobber/formatters";
3
2
  import { CellNumericProps } from "./CellNumeric";
4
3
  interface CellCurrencyProps extends CellNumericProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface CellNumericProps {
3
2
  value: number | string;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { XOR } from "ts-xor";
3
2
  interface BaseToastProps {
4
3
  readonly variation?: "info" | "success" | "error";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "3.5.4",
3
+ "version": "3.5.6-pre.0+03511639",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "dist/*"
18
18
  ],
19
19
  "dependencies": {
20
- "@jobber/design": "^0.29.3",
20
+ "@jobber/design": "^0.29.4-pre.49+03511639",
21
21
  "@jobber/formatters": "^0.2.1",
22
22
  "@jobber/hooks": "^1.13.2",
23
23
  "@popperjs/core": "^2.0.6",
@@ -83,5 +83,5 @@
83
83
  "> 1%",
84
84
  "IE 10"
85
85
  ],
86
- "gitHead": "78933b291a33d8cf5bee0061574298eba16278de"
86
+ "gitHead": "03511639f4c392a6a1cef792f26bce19bd95b4a6"
87
87
  }