@jobber/components 6.122.0 → 6.123.1
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/Autocomplete/index.cjs +1 -0
- package/dist/Autocomplete/index.mjs +2 -1
- package/dist/BottomSheet-cjs.js +96 -0
- package/dist/BottomSheet-es.js +94 -0
- package/dist/Card/index.cjs +3 -2
- package/dist/Card/index.mjs +3 -2
- package/dist/Chip/index.cjs +3 -2
- package/dist/Chip/index.mjs +3 -2
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +3 -2
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +3 -2
- package/dist/Chips/InternalChipDismissible/index.cjs +3 -2
- package/dist/Chips/InternalChipDismissible/index.mjs +3 -2
- package/dist/Chips/index.cjs +3 -2
- package/dist/Chips/index.mjs +3 -2
- package/dist/Combobox/components/ComboboxActivator/index.cjs +3 -2
- package/dist/Combobox/components/ComboboxActivator/index.mjs +3 -2
- package/dist/Combobox/components/ComboboxContent/index.cjs +3 -2
- package/dist/Combobox/components/ComboboxContent/index.mjs +3 -2
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +3 -2
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +3 -2
- package/dist/Combobox/index.cjs +3 -2
- package/dist/Combobox/index.mjs +3 -2
- package/dist/ComboboxContent-es.js +1 -1
- package/dist/ConfirmationModal/index.cjs +2 -1
- package/dist/ConfirmationModal/index.mjs +2 -1
- package/dist/DataDump/index.cjs +3 -2
- package/dist/DataDump/index.mjs +3 -2
- package/dist/DataList/components/DataListActions/index.cjs +3 -2
- package/dist/DataList/components/DataListActions/index.mjs +3 -2
- package/dist/DataList/components/DataListBulkActions/index.cjs +3 -2
- package/dist/DataList/components/DataListBulkActions/index.mjs +3 -2
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +3 -2
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +3 -2
- package/dist/DataList/components/DataListFilters/index.cjs +3 -2
- package/dist/DataList/components/DataListFilters/index.mjs +3 -2
- package/dist/DataList/components/DataListHeader/index.cjs +3 -2
- package/dist/DataList/components/DataListHeader/index.mjs +3 -2
- package/dist/DataList/components/DataListItem/index.cjs +3 -2
- package/dist/DataList/components/DataListItem/index.mjs +3 -2
- package/dist/DataList/components/DataListItemActions/index.cjs +3 -2
- package/dist/DataList/components/DataListItemActions/index.mjs +3 -2
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +3 -2
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +3 -2
- package/dist/DataList/components/DataListItems/index.cjs +3 -2
- package/dist/DataList/components/DataListItems/index.mjs +3 -2
- package/dist/DataList/components/DataListLayout/index.cjs +3 -2
- package/dist/DataList/components/DataListLayout/index.mjs +3 -2
- package/dist/DataList/components/DataListLayoutActions/index.cjs +3 -2
- package/dist/DataList/components/DataListLayoutActions/index.mjs +3 -2
- package/dist/DataList/index.cjs +3 -2
- package/dist/DataList/index.mjs +3 -2
- package/dist/DatePicker/index.cjs +3 -2
- package/dist/DatePicker/index.mjs +3 -2
- package/dist/DatePicker-es.js +1 -1
- package/dist/DrawerRoot-cjs.js +6181 -0
- package/dist/DrawerRoot-es.js +6056 -0
- package/dist/FormatFile/index.cjs +2 -1
- package/dist/FormatFile/index.mjs +2 -1
- package/dist/Gallery/index.cjs +2 -1
- package/dist/Gallery/index.mjs +2 -1
- package/dist/InputDate/index.cjs +3 -2
- package/dist/InputDate/index.mjs +3 -2
- package/dist/LightBox/index.cjs +2 -1
- package/dist/LightBox/index.mjs +2 -1
- package/dist/Menu/index.cjs +3 -2
- package/dist/Menu/index.mjs +3 -2
- package/dist/Menu-es.js +1 -1
- package/dist/Modal/index.cjs +2 -1
- package/dist/Modal/index.mjs +2 -1
- package/dist/OverlaySeparator-cjs.js +15 -0
- package/dist/OverlaySeparator-es.js +13 -0
- package/dist/Page/index.cjs +2 -1
- package/dist/Page/index.mjs +2 -1
- package/dist/Popover/index.cjs +3 -2
- package/dist/Popover/index.mjs +3 -2
- package/dist/Popover-es.js +1 -1
- package/dist/Separator-cjs.js +53 -0
- package/dist/Separator-es.js +32 -0
- package/dist/Tooltip/index.cjs +3 -2
- package/dist/Tooltip/index.mjs +3 -2
- package/dist/Tooltip-es.js +1 -1
- package/dist/floating-ui.react-cjs.js +45 -44
- package/dist/floating-ui.react-dom-cjs.js +155 -1053
- package/dist/floating-ui.react-dom-es.js +2 -876
- package/dist/floating-ui.react-es.js +2 -1
- package/dist/index.cjs +3 -2
- package/dist/index.esm-cjs.js +921 -0
- package/dist/index.esm-es.js +876 -0
- package/dist/index.mjs +3 -2
- package/dist/primitives/BottomSheet/BottomSheet.d.ts +20 -0
- package/dist/primitives/BottomSheet/index.cjs +16 -0
- package/dist/primitives/BottomSheet/index.d.ts +1 -0
- package/dist/primitives/BottomSheet/index.mjs +10 -0
- package/dist/primitives/OverlaySeparator/OverlaySeparator.d.ts +6 -0
- package/dist/primitives/OverlaySeparator/index.cjs +12 -0
- package/dist/primitives/OverlaySeparator/index.d.ts +1 -0
- package/dist/primitives/OverlaySeparator/index.mjs +6 -0
- package/dist/primitives/index.cjs +17 -0
- package/dist/primitives/index.d.ts +2 -0
- package/dist/primitives/index.mjs +12 -1
- package/dist/unstyledPrimitives/index.cjs +7676 -9833
- package/dist/unstyledPrimitives/index.d.ts +6 -9
- package/dist/unstyledPrimitives/index.mjs +7551 -9711
- package/dist/useRenderElement-cjs.js +598 -0
- package/dist/useRenderElement-es.js +569 -0
- package/dist/useScrollToActive-es.js +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -106,9 +106,10 @@ import './keysIn-es.js';
|
|
|
106
106
|
import './_isIterateeCall-es.js';
|
|
107
107
|
import './_setToString-es.js';
|
|
108
108
|
import './floating-ui.react-es.js';
|
|
109
|
-
import './
|
|
110
|
-
import 'react-dom';
|
|
109
|
+
import './index.esm-es.js';
|
|
111
110
|
import 'react/jsx-runtime';
|
|
111
|
+
import 'react-dom';
|
|
112
|
+
import './floating-ui.react-dom-es.js';
|
|
112
113
|
import 'classnames';
|
|
113
114
|
import './maxHeight-es.js';
|
|
114
115
|
import './tslib.es6-es.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Drawer as BaseDrawer } from "../../unstyledPrimitives";
|
|
3
|
+
export type BottomSheetRootProps = React.ComponentProps<typeof BaseDrawer.Root>;
|
|
4
|
+
type BottomSheetPopupBaseProps = Omit<React.ComponentPropsWithoutRef<typeof BaseDrawer.Popup>, "className">;
|
|
5
|
+
export interface BottomSheetPopupProps extends BottomSheetPopupBaseProps {
|
|
6
|
+
readonly className?: string;
|
|
7
|
+
}
|
|
8
|
+
type BottomSheetContentBaseProps = Omit<React.ComponentPropsWithoutRef<typeof BaseDrawer.Content>, "className">;
|
|
9
|
+
export interface BottomSheetContentProps extends BottomSheetContentBaseProps {
|
|
10
|
+
readonly className?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface BottomSheetProps extends Pick<BottomSheetRootProps, "open" | "defaultOpen" | "onOpenChange">, BottomSheetContentProps, Pick<BottomSheetPopupProps, "initialFocus" | "finalFocus"> {
|
|
13
|
+
}
|
|
14
|
+
declare function BottomSheetRoot({ children, defaultOpen, onOpenChange, open, ...rootProps }: BottomSheetRootProps): React.JSX.Element;
|
|
15
|
+
export declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>> & {
|
|
16
|
+
Root: typeof BottomSheetRoot;
|
|
17
|
+
Popup: React.ForwardRefExoticComponent<BottomSheetPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
Content: React.ForwardRefExoticComponent<BottomSheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var BottomSheet = require('../../BottomSheet-cjs.js');
|
|
4
|
+
require('../../tslib.es6-cjs.js');
|
|
5
|
+
require('react');
|
|
6
|
+
require('classnames');
|
|
7
|
+
require('../../DrawerRoot-cjs.js');
|
|
8
|
+
require('../../useRenderElement-cjs.js');
|
|
9
|
+
require('react/jsx-runtime');
|
|
10
|
+
require('../../index.esm-cjs.js');
|
|
11
|
+
require('react-dom');
|
|
12
|
+
require('../../index-cjs.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.BottomSheet = BottomSheet.BottomSheet;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BottomSheet";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { B as BottomSheet } from '../../BottomSheet-es.js';
|
|
2
|
+
import '../../tslib.es6-es.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'classnames';
|
|
5
|
+
import '../../DrawerRoot-es.js';
|
|
6
|
+
import '../../useRenderElement-es.js';
|
|
7
|
+
import 'react/jsx-runtime';
|
|
8
|
+
import '../../index.esm-es.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import '../../index-es.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Separator as BaseSeparator } from "../../unstyledPrimitives";
|
|
3
|
+
export interface OverlaySeparatorProps extends Omit<React.ComponentPropsWithoutRef<typeof BaseSeparator>, "className"> {
|
|
4
|
+
readonly className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const OverlaySeparator: React.ForwardRefExoticComponent<OverlaySeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var OverlaySeparator = require('../../OverlaySeparator-cjs.js');
|
|
4
|
+
require('../../tslib.es6-cjs.js');
|
|
5
|
+
require('react');
|
|
6
|
+
require('classnames');
|
|
7
|
+
require('../../Separator-cjs.js');
|
|
8
|
+
require('../../useRenderElement-cjs.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.OverlaySeparator = OverlaySeparator.OverlaySeparator;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./OverlaySeparator";
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var OverlaySeparator = require('../OverlaySeparator-cjs.js');
|
|
4
|
+
var BottomSheet = require('../BottomSheet-cjs.js');
|
|
5
|
+
require('../tslib.es6-cjs.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('../Separator-cjs.js');
|
|
9
|
+
require('../useRenderElement-cjs.js');
|
|
10
|
+
require('../DrawerRoot-cjs.js');
|
|
11
|
+
require('react/jsx-runtime');
|
|
12
|
+
require('../index.esm-cjs.js');
|
|
13
|
+
require('react-dom');
|
|
14
|
+
require('../index-cjs.js');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.OverlaySeparator = OverlaySeparator.OverlaySeparator;
|
|
19
|
+
exports.BottomSheet = BottomSheet.BottomSheet;
|
|
@@ -1 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
export { O as OverlaySeparator } from '../OverlaySeparator-es.js';
|
|
2
|
+
export { B as BottomSheet } from '../BottomSheet-es.js';
|
|
3
|
+
import '../tslib.es6-es.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
import 'classnames';
|
|
6
|
+
import '../Separator-es.js';
|
|
7
|
+
import '../useRenderElement-es.js';
|
|
8
|
+
import '../DrawerRoot-es.js';
|
|
9
|
+
import 'react/jsx-runtime';
|
|
10
|
+
import '../index.esm-es.js';
|
|
11
|
+
import 'react-dom';
|
|
12
|
+
import '../index-es.js';
|