@jobber/components 6.36.1 → 6.38.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.
- package/Cluster.d.ts +1 -0
- package/Cluster.js +17 -0
- package/Container.d.ts +1 -0
- package/Container.js +17 -0
- package/ContentBlock.d.ts +1 -0
- package/ContentBlock.js +17 -0
- package/Cover.d.ts +1 -0
- package/Cover.js +17 -0
- package/Frame.d.ts +1 -0
- package/Frame.js +17 -0
- package/ResponsiveSwitcher.d.ts +1 -0
- package/ResponsiveSwitcher.js +17 -0
- package/SideKick.d.ts +1 -0
- package/SideKick.js +17 -0
- package/Stack.d.ts +1 -0
- package/Stack.js +17 -0
- package/Tiles.d.ts +1 -0
- package/Tiles.js +17 -0
- package/dist/Banner-cjs.js +1 -1
- package/dist/Banner-es.js +2 -2
- package/dist/Button/Button.d.ts +742 -6
- package/dist/Button/index.cjs +1 -1
- package/dist/Button-cjs.js +30 -13
- package/dist/Button-es.js +31 -14
- package/dist/ButtonDismiss-cjs.js +1 -1
- package/dist/ButtonDismiss-es.js +2 -2
- package/dist/Card-cjs.js +2 -2
- package/dist/Card-es.js +3 -3
- package/dist/Chip/Chip.d.ts +3 -2
- package/dist/Chip/Chip.types.d.ts +64 -0
- package/dist/Chip/index.cjs +1 -1
- package/dist/Chip-cjs.js +48 -23
- package/dist/Chip-es.js +49 -24
- package/dist/ChipDismissible-cjs.js +4 -4
- package/dist/ChipDismissible-es.js +5 -5
- package/dist/Cluster/Cluster.d.ts +2 -0
- package/dist/Cluster/index.cjs +10 -0
- package/dist/Cluster/index.d.ts +1 -0
- package/dist/Cluster/index.mjs +4 -0
- package/dist/Cluster/types.d.ts +47 -0
- package/dist/Cluster-cjs.js +14 -0
- package/dist/Cluster-es.js +12 -0
- package/dist/ComboboxActivator-cjs.js +1 -1
- package/dist/ComboboxActivator-es.js +3 -3
- package/dist/ComboboxContentHeader-cjs.js +1 -1
- package/dist/ComboboxContentHeader-es.js +2 -2
- package/dist/ComboboxTrigger-cjs.js +1 -1
- package/dist/ComboboxTrigger-es.js +2 -2
- package/dist/Container/Container.d.ts +5 -0
- package/dist/Container/index.cjs +9 -0
- package/dist/Container/index.d.ts +1 -0
- package/dist/Container/index.mjs +3 -0
- package/dist/Container/types.d.ts +22 -0
- package/dist/Container-cjs.js +18 -0
- package/dist/Container-es.js +16 -0
- package/dist/ContentBlock/ContentBlock.d.ts +2 -0
- package/dist/ContentBlock/index.cjs +16 -0
- package/dist/ContentBlock/index.d.ts +1 -0
- package/dist/ContentBlock/index.mjs +10 -0
- package/dist/ContentBlock/types.d.ts +37 -0
- package/dist/ContentBlock-cjs.js +31 -0
- package/dist/ContentBlock-es.js +29 -0
- package/dist/Cover/Cover.d.ts +5 -0
- package/dist/Cover/index.cjs +10 -0
- package/dist/Cover/index.d.ts +1 -0
- package/dist/Cover/index.mjs +4 -0
- package/dist/Cover/types.d.ts +34 -0
- package/dist/Cover-cjs.js +16 -0
- package/dist/Cover-es.js +14 -0
- package/dist/DataListActions-cjs.js +2 -2
- package/dist/DataListActions-es.js +3 -3
- package/dist/DataListEmptyState-cjs.js +1 -1
- package/dist/DataListEmptyState-es.js +2 -2
- package/dist/DataListHeader-cjs.js +1 -1
- package/dist/DataListHeader-es.js +2 -2
- package/dist/DataListItemActionsOverflow-cjs.js +1 -1
- package/dist/DataListItemActionsOverflow-es.js +2 -2
- package/dist/DataListLoadMore-cjs.js +1 -1
- package/dist/DataListLoadMore-es.js +2 -2
- package/dist/DataListSearch-cjs.js +1 -1
- package/dist/DataListSearch-es.js +2 -2
- package/dist/DataListSort-cjs.js +1 -1
- package/dist/DataListSort-es.js +2 -2
- package/dist/DataTable-cjs.js +2 -2
- package/dist/DataTable-es.js +3 -3
- package/dist/DatePicker-cjs.js +3 -3
- package/dist/DatePicker-es.js +4 -4
- package/dist/FeatureSwitch-cjs.js +1 -1
- package/dist/FeatureSwitch-es.js +2 -2
- package/dist/FormField-cjs.js +1 -1
- package/dist/FormField-es.js +2 -2
- package/dist/FormatFile-cjs.js +1 -1
- package/dist/FormatFile-es.js +2 -2
- package/dist/Frame/Frame.d.ts +2 -0
- package/dist/Frame/index.cjs +9 -0
- package/dist/Frame/index.d.ts +2 -0
- package/dist/Frame/index.mjs +3 -0
- package/dist/Frame/types.d.ts +24 -0
- package/dist/Frame-cjs.js +12 -0
- package/dist/Frame-es.js +10 -0
- package/dist/Gallery-cjs.js +1 -1
- package/dist/Gallery-es.js +2 -2
- package/dist/InputAvatar-cjs.js +1 -1
- package/dist/InputAvatar-es.js +2 -2
- package/dist/InputFile-cjs.js +1 -1
- package/dist/InputFile-es.js +2 -2
- package/dist/InternalChipDismissible-cjs.js +4 -4
- package/dist/InternalChipDismissible-es.js +6 -6
- package/dist/LightBox-cjs.js +2 -2
- package/dist/LightBox-es.js +3 -3
- package/dist/Menu-cjs.js +1 -1
- package/dist/Menu-es.js +2 -2
- package/dist/Modal-cjs.js +3 -3
- package/dist/Modal-es.js +4 -4
- package/dist/Page-cjs.js +2 -2
- package/dist/Page-es.js +3 -3
- package/dist/ResponsiveSwitcher/ResponsiveSwitcher.d.ts +2 -0
- package/dist/ResponsiveSwitcher/index.cjs +10 -0
- package/dist/ResponsiveSwitcher/index.d.ts +1 -0
- package/dist/ResponsiveSwitcher/index.mjs +4 -0
- package/dist/ResponsiveSwitcher/types.d.ts +26 -0
- package/dist/ResponsiveSwitcher-cjs.js +13 -0
- package/dist/ResponsiveSwitcher-es.js +11 -0
- package/dist/SideDrawer-cjs.js +2 -2
- package/dist/SideDrawer-es.js +3 -3
- package/dist/SideKick/SideKick.d.ts +2 -0
- package/dist/SideKick/index.cjs +10 -0
- package/dist/SideKick/index.d.ts +1 -0
- package/dist/SideKick/index.mjs +4 -0
- package/dist/SideKick/types.d.ts +35 -0
- package/dist/SideKick-cjs.js +17 -0
- package/dist/SideKick-es.js +15 -0
- package/dist/Stack/Stack.d.ts +2 -0
- package/dist/Stack/index.cjs +10 -0
- package/dist/Stack/index.d.ts +1 -0
- package/dist/Stack/index.mjs +4 -0
- package/dist/Stack/types.d.ts +32 -0
- package/dist/Stack-cjs.js +15 -0
- package/dist/Stack-es.js +13 -0
- package/dist/Tiles/Tiles.d.ts +2 -0
- package/dist/Tiles/index.cjs +10 -0
- package/dist/Tiles/index.d.ts +1 -0
- package/dist/Tiles/index.mjs +4 -0
- package/dist/Tiles/types.d.ts +26 -0
- package/dist/Tiles-cjs.js +13 -0
- package/dist/Tiles-es.js +11 -0
- package/dist/getMappedAtlantisSpaceToken-cjs.js +20 -0
- package/dist/getMappedAtlantisSpaceToken-es.js +17 -0
- package/dist/index.cjs +21 -2
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.mjs +10 -0
- package/dist/sharedHelpers/getMappedAtlantisSpaceToken.d.ts +3 -0
- package/dist/sharedHelpers/getMappedBreakpointWidth.d.ts +8 -0
- package/dist/sharedHelpers/types.d.ts +15 -0
- package/dist/showToast-cjs.js +2 -2
- package/dist/showToast-es.js +3 -3
- package/dist/styles.css +619 -0
- package/dist/utils/meta/meta.json +11 -0
- package/package.json +47 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type CommonAllowedElements, type CommonAtlantisProps, type GapSpacing } from "../sharedHelpers/types";
|
|
2
|
+
export interface ResponsiveSwitcherProps extends CommonAtlantisProps {
|
|
3
|
+
readonly children: React.ReactNode;
|
|
4
|
+
/** The minimum width of the top-level children. If this can't be met, the children will break to row. */
|
|
5
|
+
readonly threshold: string;
|
|
6
|
+
/** The amount of space between the children. Semantic tokens are available. */
|
|
7
|
+
readonly gap?: GapSpacing;
|
|
8
|
+
/** The HTML tag to render the container as. Defaults to `div`. */
|
|
9
|
+
as?: CommonAllowedElements;
|
|
10
|
+
/** Useful for dynamic content. If the number of children is greater than this, the children will break to row. */
|
|
11
|
+
readonly limit?: number;
|
|
12
|
+
/** **Use at your own risk:** Custom class names for specific elements. This should only be used as a
|
|
13
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
14
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
15
|
+
*/
|
|
16
|
+
readonly UNSAFE_className?: {
|
|
17
|
+
container?: string;
|
|
18
|
+
};
|
|
19
|
+
/** **Use at your own risk:** Custom style for specific elements. This should only be used as a
|
|
20
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
21
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
22
|
+
*/
|
|
23
|
+
readonly UNSAFE_style?: {
|
|
24
|
+
container?: React.CSSProperties;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var classnames = require('classnames');
|
|
5
|
+
var getMappedAtlantisSpaceToken = require('./getMappedAtlantisSpaceToken-cjs.js');
|
|
6
|
+
|
|
7
|
+
var styles = {"responsiveSwitcher":"BQqkfvwFjbQ-","limit-1":"zpPbVPrtiLc-","limit-2":"FC2KY5S6p6E-","limit-3":"XJQ0uo0TZ2w-","limit-4":"QmUWX7VCL0A-","limit-5":"_0gKXd8nPCKU-","limit-6":"DvGgLdlE8Ac-","limit-7":"_4PxEtfehh4s-","limit-8":"DZPW3Q-N5ik-","limit-9":"_2BL9H-tmzMk-","spinning":"_71sUKXu-3yM-"};
|
|
8
|
+
|
|
9
|
+
function ResponsiveSwitcher({ children, threshold, gap = getMappedAtlantisSpaceToken.spaceTokens.base, limit = 2, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
10
|
+
return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { className: classnames(styles.responsiveSwitcher, styles[`limit-${limit}`], UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container), style: Object.assign({ "--public-responsive-switcher-threshold": threshold, "--public-responsive-switcher-space": getMappedAtlantisSpaceToken.getMappedAtlantisSpaceToken(gap), "--public-responsive-switcher-limit": limit }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container) }), children));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
exports.ResponsiveSwitcher = ResponsiveSwitcher;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { g as getMappedAtlantisSpaceToken, s as spaceTokens } from './getMappedAtlantisSpaceToken-es.js';
|
|
4
|
+
|
|
5
|
+
var styles = {"responsiveSwitcher":"BQqkfvwFjbQ-","limit-1":"zpPbVPrtiLc-","limit-2":"FC2KY5S6p6E-","limit-3":"XJQ0uo0TZ2w-","limit-4":"QmUWX7VCL0A-","limit-5":"_0gKXd8nPCKU-","limit-6":"DvGgLdlE8Ac-","limit-7":"_4PxEtfehh4s-","limit-8":"DZPW3Q-N5ik-","limit-9":"_2BL9H-tmzMk-","spinning":"_71sUKXu-3yM-"};
|
|
6
|
+
|
|
7
|
+
function ResponsiveSwitcher({ children, threshold, gap = spaceTokens.base, limit = 2, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
8
|
+
return (React__default.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { className: classnames(styles.responsiveSwitcher, styles[`limit-${limit}`], UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container), style: Object.assign({ "--public-responsive-switcher-threshold": threshold, "--public-responsive-switcher-space": getMappedAtlantisSpaceToken(gap), "--public-responsive-switcher-limit": limit }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container) }), children));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { ResponsiveSwitcher as R };
|
package/dist/SideDrawer-cjs.js
CHANGED
|
@@ -61,7 +61,7 @@ function SideDrawerBackButton({ onClick, }) {
|
|
|
61
61
|
}, []);
|
|
62
62
|
if (!backPortal)
|
|
63
63
|
return null;
|
|
64
|
-
return ReactDOM.createPortal(React.createElement(Button.
|
|
64
|
+
return ReactDOM.createPortal(React.createElement(Button.ButtonNamespace, { ariaLabel: "Back", icon: "longArrowLeft", variation: "subtle", type: "tertiary", onClick: onClick }), backPortal);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
function SideDrawerFooter({ children }) {
|
|
@@ -143,7 +143,7 @@ function SideDrawer({ children, onRequestClose, open, variation = "base", scroll
|
|
|
143
143
|
React.createElement("div", Object.assign({ className: classnames(styles.heading) }, slots.title.attr))),
|
|
144
144
|
React.createElement("div", { className: styles.headerActions },
|
|
145
145
|
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, slots.actions.attr)),
|
|
146
|
-
React.createElement(Button.
|
|
146
|
+
React.createElement(Button.ButtonNamespace, { ariaLabel: "Close", icon: "cross", onClick: onRequestClose, type: "tertiary", variation: "subtle" }))),
|
|
147
147
|
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, slots.toolbar.attr))),
|
|
148
148
|
React.createElement("div", { className: styles.content },
|
|
149
149
|
React.createElement("div", { className: styles.headerShadowListener, ref: headerShadowRef }),
|
package/dist/SideDrawer-es.js
CHANGED
|
@@ -8,7 +8,7 @@ import { u as useInView_2 } from './useInView-es.js';
|
|
|
8
8
|
import { u as useIsMounted_2 } from './useIsMounted-es.js';
|
|
9
9
|
import { tokens } from '@jobber/design';
|
|
10
10
|
import { H as Heading } from './Heading-es.js';
|
|
11
|
-
import { B as
|
|
11
|
+
import { B as ButtonNamespace } from './Button-es.js';
|
|
12
12
|
import { F as Flex } from './Flex-es.js';
|
|
13
13
|
|
|
14
14
|
const SideDrawerContext = createContext({
|
|
@@ -59,7 +59,7 @@ function SideDrawerBackButton({ onClick, }) {
|
|
|
59
59
|
}, []);
|
|
60
60
|
if (!backPortal)
|
|
61
61
|
return null;
|
|
62
|
-
return createPortal(React__default.createElement(
|
|
62
|
+
return createPortal(React__default.createElement(ButtonNamespace, { ariaLabel: "Back", icon: "longArrowLeft", variation: "subtle", type: "tertiary", onClick: onClick }), backPortal);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
function SideDrawerFooter({ children }) {
|
|
@@ -141,7 +141,7 @@ function SideDrawer({ children, onRequestClose, open, variation = "base", scroll
|
|
|
141
141
|
React__default.createElement("div", Object.assign({ className: classnames(styles.heading) }, slots.title.attr))),
|
|
142
142
|
React__default.createElement("div", { className: styles.headerActions },
|
|
143
143
|
React__default.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, slots.actions.attr)),
|
|
144
|
-
React__default.createElement(
|
|
144
|
+
React__default.createElement(ButtonNamespace, { ariaLabel: "Close", icon: "cross", onClick: onRequestClose, type: "tertiary", variation: "subtle" }))),
|
|
145
145
|
React__default.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, slots.toolbar.attr))),
|
|
146
146
|
React__default.createElement("div", { className: styles.content },
|
|
147
147
|
React__default.createElement("div", { className: styles.headerShadowListener, ref: headerShadowRef }),
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { SideKickProps } from "./types";
|
|
2
|
+
export declare function SideKick({ children, sideWidth, contentMinWidth, gap, onRight, collapseBelow, collapsed, autoWidth, as: Tag, dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }: SideKickProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SideKick";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AtlantisBreakpoints } from "../sharedHelpers/getMappedBreakpointWidth";
|
|
2
|
+
import { type CommonAllowedElements, type CommonAtlantisProps, type GapSpacing } from "../sharedHelpers/types";
|
|
3
|
+
export interface SideKickProps extends CommonAtlantisProps {
|
|
4
|
+
readonly children: React.ReactNode;
|
|
5
|
+
/** The width of the sidekick. */
|
|
6
|
+
readonly sideWidth?: string;
|
|
7
|
+
/** The minimum width of the content. */
|
|
8
|
+
readonly contentMinWidth?: string;
|
|
9
|
+
/** The amount of space between the sidekick and the content. Semantic tokens are available. */
|
|
10
|
+
readonly gap?: GapSpacing;
|
|
11
|
+
/** Whether to place the sidekick on the right. */
|
|
12
|
+
readonly onRight?: boolean;
|
|
13
|
+
/** The breakpoint to collapse the sidekick at. */
|
|
14
|
+
readonly collapseBelow?: keyof typeof AtlantisBreakpoints;
|
|
15
|
+
/** Force the sidekick to collapse. Use this when our breakpoints are not enough control. */
|
|
16
|
+
readonly collapsed?: boolean;
|
|
17
|
+
/** Whether to allow the sidekick to take the width of the content. Defaults to 100% */
|
|
18
|
+
readonly autoWidth?: boolean;
|
|
19
|
+
/** The HTML tag to render the container as. Defaults to `div`. */
|
|
20
|
+
as?: CommonAllowedElements;
|
|
21
|
+
/** **Use at your own risk:** Custom class names for specific elements. This should only be used as a
|
|
22
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
23
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
24
|
+
*/
|
|
25
|
+
readonly UNSAFE_className?: {
|
|
26
|
+
container?: string;
|
|
27
|
+
};
|
|
28
|
+
/** **Use at your own risk:** Custom style for specific elements. This should only be used as a
|
|
29
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
30
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
31
|
+
*/
|
|
32
|
+
readonly UNSAFE_style?: {
|
|
33
|
+
container?: React.CSSProperties;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var classnames = require('classnames');
|
|
5
|
+
var getMappedAtlantisSpaceToken = require('./getMappedAtlantisSpaceToken-cjs.js');
|
|
6
|
+
|
|
7
|
+
var styles = {"sidekick":"Hx--3IsyLgs-","left":"bevb052oaa4-","withWidthLeft":"v17EfPAcJZI-","withWidthRight":"_3hUKFPIws6o-","right":"_22dEgb17I90-","sm":"_3yK4CuMFyqw-","md":"lY-7fyPMF6Y-","lg":"Ti0avsNfvTw-","xl":"_9dXm70WomU8-","collapsed":"dN25lKXiqB0-","spinning":"_3hsWavpv0DY-"};
|
|
8
|
+
|
|
9
|
+
function SideKick({ children, sideWidth, contentMinWidth = "50%", gap = "var(--space-base)", onRight, collapseBelow, collapsed, autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
10
|
+
return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-sidekick-side-width": sideWidth, "--public-sidekick-min-width": contentMinWidth, "--public-sidekick-space": getMappedAtlantisSpaceToken.getMappedAtlantisSpaceToken(gap), "--public-sidekick-width": autoWidth ? "auto" : "100%" }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.sidekick, onRight ? styles.right : styles.left, sideWidth
|
|
11
|
+
? onRight
|
|
12
|
+
? styles.withWidthRight
|
|
13
|
+
: styles.withWidthLeft
|
|
14
|
+
: null, collapseBelow && styles[collapseBelow], collapsed ? styles.collapsed : undefined, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.SideKick = SideKick;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { g as getMappedAtlantisSpaceToken } from './getMappedAtlantisSpaceToken-es.js';
|
|
4
|
+
|
|
5
|
+
var styles = {"sidekick":"Hx--3IsyLgs-","left":"bevb052oaa4-","withWidthLeft":"v17EfPAcJZI-","withWidthRight":"_3hUKFPIws6o-","right":"_22dEgb17I90-","sm":"_3yK4CuMFyqw-","md":"lY-7fyPMF6Y-","lg":"Ti0avsNfvTw-","xl":"_9dXm70WomU8-","collapsed":"dN25lKXiqB0-","spinning":"_3hsWavpv0DY-"};
|
|
6
|
+
|
|
7
|
+
function SideKick({ children, sideWidth, contentMinWidth = "50%", gap = "var(--space-base)", onRight, collapseBelow, collapsed, autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
8
|
+
return (React__default.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-sidekick-side-width": sideWidth, "--public-sidekick-min-width": contentMinWidth, "--public-sidekick-space": getMappedAtlantisSpaceToken(gap), "--public-sidekick-width": autoWidth ? "auto" : "100%" }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.sidekick, onRight ? styles.right : styles.left, sideWidth
|
|
9
|
+
? onRight
|
|
10
|
+
? styles.withWidthRight
|
|
11
|
+
: styles.withWidthLeft
|
|
12
|
+
: null, collapseBelow && styles[collapseBelow], collapsed ? styles.collapsed : undefined, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { SideKick as S };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Stack";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type CommonAllowedElements, type CommonAtlantisProps, type GapSpacing } from "../sharedHelpers/types";
|
|
2
|
+
export interface StackProps extends CommonAtlantisProps {
|
|
3
|
+
readonly children: React.ReactNode;
|
|
4
|
+
/** The amount of space between the children. Semantic tokens are available. */
|
|
5
|
+
readonly gap?: GapSpacing;
|
|
6
|
+
/** Setting this will push the stack down to the bottom of the parent container,
|
|
7
|
+
* after the number of children provided (1-15).
|
|
8
|
+
* Requires parent to have height greater than the sum of the children. */
|
|
9
|
+
readonly splitAfter?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
|
|
10
|
+
/** Whether to recursively apply the stack spacing to all the children, not just the top-level. */
|
|
11
|
+
readonly recursive?: boolean;
|
|
12
|
+
/** The alignment of the stack. */
|
|
13
|
+
readonly align?: "start" | "center" | "end";
|
|
14
|
+
/** Whether to allow the stack to take the width of the content. Defaults to 100% */
|
|
15
|
+
readonly autoWidth?: boolean;
|
|
16
|
+
/** The HTML tag to render the container as. Defaults to `div`. */
|
|
17
|
+
as?: CommonAllowedElements;
|
|
18
|
+
/** **Use at your own risk:** Custom class names for specific elements. This should only be used as a
|
|
19
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
20
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
21
|
+
*/
|
|
22
|
+
readonly UNSAFE_className?: {
|
|
23
|
+
container?: string;
|
|
24
|
+
};
|
|
25
|
+
/** **Use at your own risk:** Custom style for specific elements. This should only be used as a
|
|
26
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
27
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
28
|
+
*/
|
|
29
|
+
readonly UNSAFE_style?: {
|
|
30
|
+
container?: React.CSSProperties;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var classnames = require('classnames');
|
|
5
|
+
var getMappedAtlantisSpaceToken = require('./getMappedAtlantisSpaceToken-cjs.js');
|
|
6
|
+
|
|
7
|
+
var styles = {"stack":"_7bHFxCX3jv4-","start":"MoTsKGfy3zs-","center":"oXb2OHKGH4k-","end":"Clyb5sed46w-","topOnly":"_8ttf1JCju08-","recursive":"nzG883u-wZc-","splitAfter-1":"Y-Mt8C2tNsI-","splitAfter-2":"atxW7JGTiYI-","splitAfter-3":"QuY15WlcoVo-","splitAfter-4":"Vb-dwL9R1oQ-","splitAfter-5":"IjFGwSc9hoQ-","splitAfter-6":"xUe57aXJOOk-","splitAfter-7":"pSWCwyHJBsk-","splitAfter-8":"GAlopfCh8a8-","splitAfter-9":"WMC8WPjJ8TA-","splitAfter-10":"PxqAnvgqC24-","splitAfter-11":"fEFj-rRg7pw-","splitAfter-12":"eN-ykUdJrAU-","splitAfter-13":"Jic7p-x-iKg-","splitAfter-14":"PaC-tFnXMh8-","splitAfter-15":"isuG1fzSWMs-","spinning":"f07n6aE586M-"};
|
|
8
|
+
|
|
9
|
+
function Stack({ gap = getMappedAtlantisSpaceToken.spaceTokens.base, recursive, splitAfter, children, align, autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
10
|
+
return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-stack-split": splitAfter, "--public-stack-space": getMappedAtlantisSpaceToken.getMappedAtlantisSpaceToken(gap), "--public-stack-width": autoWidth ? "auto" : "100%" }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.stack, recursive ? styles.recursive : styles.topOnly, splitAfter
|
|
11
|
+
? styles[`splitAfter-${splitAfter}`]
|
|
12
|
+
: undefined, align === "center" ? styles.center : undefined, align === "start" ? styles.start : undefined, align === "end" ? styles.end : undefined, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
exports.Stack = Stack;
|
package/dist/Stack-es.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { g as getMappedAtlantisSpaceToken, s as spaceTokens } from './getMappedAtlantisSpaceToken-es.js';
|
|
4
|
+
|
|
5
|
+
var styles = {"stack":"_7bHFxCX3jv4-","start":"MoTsKGfy3zs-","center":"oXb2OHKGH4k-","end":"Clyb5sed46w-","topOnly":"_8ttf1JCju08-","recursive":"nzG883u-wZc-","splitAfter-1":"Y-Mt8C2tNsI-","splitAfter-2":"atxW7JGTiYI-","splitAfter-3":"QuY15WlcoVo-","splitAfter-4":"Vb-dwL9R1oQ-","splitAfter-5":"IjFGwSc9hoQ-","splitAfter-6":"xUe57aXJOOk-","splitAfter-7":"pSWCwyHJBsk-","splitAfter-8":"GAlopfCh8a8-","splitAfter-9":"WMC8WPjJ8TA-","splitAfter-10":"PxqAnvgqC24-","splitAfter-11":"fEFj-rRg7pw-","splitAfter-12":"eN-ykUdJrAU-","splitAfter-13":"Jic7p-x-iKg-","splitAfter-14":"PaC-tFnXMh8-","splitAfter-15":"isuG1fzSWMs-","spinning":"f07n6aE586M-"};
|
|
6
|
+
|
|
7
|
+
function Stack({ gap = spaceTokens.base, recursive, splitAfter, children, align, autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
8
|
+
return (React__default.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-stack-split": splitAfter, "--public-stack-space": getMappedAtlantisSpaceToken(gap), "--public-stack-width": autoWidth ? "auto" : "100%" }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.stack, recursive ? styles.recursive : styles.topOnly, splitAfter
|
|
9
|
+
? styles[`splitAfter-${splitAfter}`]
|
|
10
|
+
: undefined, align === "center" ? styles.center : undefined, align === "start" ? styles.start : undefined, align === "end" ? styles.end : undefined, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { Stack as S };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Tiles";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type CommonAllowedElements, type CommonAtlantisProps, type GapSpacing } from "../sharedHelpers/types";
|
|
2
|
+
export interface TilesProps extends CommonAtlantisProps {
|
|
3
|
+
readonly children: React.ReactNode;
|
|
4
|
+
/** The minimum size of the tiles. */
|
|
5
|
+
readonly minSize: string;
|
|
6
|
+
/** The amount of space between the tiles. Semantic tokens are available. */
|
|
7
|
+
readonly gap?: GapSpacing;
|
|
8
|
+
/** Whether to allow the tiles to take the width of the content. Defaults to 100% */
|
|
9
|
+
readonly autoWidth?: boolean;
|
|
10
|
+
/** The HTML tag to render the container as. Defaults to `div`. */
|
|
11
|
+
as?: CommonAllowedElements;
|
|
12
|
+
/** **Use at your own risk:** Custom class names for specific elements. This should only be used as a
|
|
13
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
14
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
15
|
+
*/
|
|
16
|
+
readonly UNSAFE_className?: {
|
|
17
|
+
container?: string;
|
|
18
|
+
};
|
|
19
|
+
/** **Use at your own risk:** Custom style for specific elements. This should only be used as a
|
|
20
|
+
* **last resort**. Using this may result in unexpected side effects.
|
|
21
|
+
* More information in the [Customizing components Guide](https://atlantis.getjobber.com/guides/customizing-components).
|
|
22
|
+
*/
|
|
23
|
+
readonly UNSAFE_style?: {
|
|
24
|
+
container?: React.CSSProperties;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var classnames = require('classnames');
|
|
5
|
+
var getMappedAtlantisSpaceToken = require('./getMappedAtlantisSpaceToken-cjs.js');
|
|
6
|
+
|
|
7
|
+
var styles = {"tiles":"jC1GzRIJp74-","spinning":"Ou05ff3MXU8-"};
|
|
8
|
+
|
|
9
|
+
function Tiles({ children, minSize = "30ch", gap = "base", autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
10
|
+
return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-tile-min-size": minSize, "--public-tile-space": getMappedAtlantisSpaceToken.getMappedAtlantisSpaceToken(gap), "--public-tiles-width": autoWidth ? "auto" : "100%" }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.tiles, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
exports.Tiles = Tiles;
|
package/dist/Tiles-es.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { g as getMappedAtlantisSpaceToken } from './getMappedAtlantisSpaceToken-es.js';
|
|
4
|
+
|
|
5
|
+
var styles = {"tiles":"jC1GzRIJp74-","spinning":"Ou05ff3MXU8-"};
|
|
6
|
+
|
|
7
|
+
function Tiles({ children, minSize = "30ch", gap = "base", autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, }) {
|
|
8
|
+
return (React__default.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-tile-min-size": minSize, "--public-tile-space": getMappedAtlantisSpaceToken(gap), "--public-tiles-width": autoWidth ? "auto" : "100%" }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.tiles, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { Tiles as T };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const spaceTokens = {
|
|
4
|
+
minuscule: "var(--space-minuscule)",
|
|
5
|
+
slim: "var(--space-slim)",
|
|
6
|
+
smallest: "var(--space-smallest)",
|
|
7
|
+
smaller: "var(--space-smaller)",
|
|
8
|
+
small: "var(--space-small)",
|
|
9
|
+
base: "var(--space-base)",
|
|
10
|
+
large: "var(--space-large)",
|
|
11
|
+
larger: "var(--space-larger)",
|
|
12
|
+
largest: "var(--space-largest)",
|
|
13
|
+
extravagant: "var(--space-extravagant)",
|
|
14
|
+
};
|
|
15
|
+
const getMappedAtlantisSpaceToken = (space) => {
|
|
16
|
+
return spaceTokens[space] ? spaceTokens[space] : space;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.getMappedAtlantisSpaceToken = getMappedAtlantisSpaceToken;
|
|
20
|
+
exports.spaceTokens = spaceTokens;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const spaceTokens = {
|
|
2
|
+
minuscule: "var(--space-minuscule)",
|
|
3
|
+
slim: "var(--space-slim)",
|
|
4
|
+
smallest: "var(--space-smallest)",
|
|
5
|
+
smaller: "var(--space-smaller)",
|
|
6
|
+
small: "var(--space-small)",
|
|
7
|
+
base: "var(--space-base)",
|
|
8
|
+
large: "var(--space-large)",
|
|
9
|
+
larger: "var(--space-larger)",
|
|
10
|
+
largest: "var(--space-largest)",
|
|
11
|
+
extravagant: "var(--space-extravagant)",
|
|
12
|
+
};
|
|
13
|
+
const getMappedAtlantisSpaceToken = (space) => {
|
|
14
|
+
return spaceTokens[space] ? spaceTokens[space] : space;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { getMappedAtlantisSpaceToken as g, spaceTokens as s };
|
package/dist/index.cjs
CHANGED
|
@@ -21,6 +21,9 @@ var Box = require('./Box-cjs.js');
|
|
|
21
21
|
var Button = require('./Button-cjs.js');
|
|
22
22
|
var ButtonDismiss = require('./ButtonDismiss-cjs.js');
|
|
23
23
|
var Card = require('./Card-cjs.js');
|
|
24
|
+
var Cluster = require('./Cluster-cjs.js');
|
|
25
|
+
var Container = require('./Container-cjs.js');
|
|
26
|
+
var Cover = require('./Cover-cjs.js');
|
|
24
27
|
var Checkbox_index = require('./Checkbox/index.cjs');
|
|
25
28
|
var Chip = require('./Chip-cjs.js');
|
|
26
29
|
var ChipDismissible = require('./ChipDismissible-cjs.js');
|
|
@@ -30,6 +33,7 @@ var Combobox = require('./Combobox-cjs.js');
|
|
|
30
33
|
var ComboboxProvider = require('./ComboboxProvider-cjs.js');
|
|
31
34
|
var ConfirmationModal = require('./ConfirmationModal-cjs.js');
|
|
32
35
|
var Content = require('./Content-cjs.js');
|
|
36
|
+
var ContentBlock = require('./ContentBlock-cjs.js');
|
|
33
37
|
var Countdown = require('./Countdown-cjs.js');
|
|
34
38
|
var DataDump = require('./DataDump-cjs.js');
|
|
35
39
|
var DataList = require('./DataList-cjs.js');
|
|
@@ -51,6 +55,7 @@ var FormatEmail = require('./FormatEmail-cjs.js');
|
|
|
51
55
|
var FormatFile = require('./FormatFile-cjs.js');
|
|
52
56
|
var FormatRelativeDateTime = require('./FormatRelativeDateTime-cjs.js');
|
|
53
57
|
var FormatTime = require('./FormatTime-cjs.js');
|
|
58
|
+
var Frame = require('./Frame-cjs.js');
|
|
54
59
|
var Gallery = require('./Gallery-cjs.js');
|
|
55
60
|
var Glimmer = require('./Glimmer-cjs.js');
|
|
56
61
|
var Grid = require('./Grid-cjs.js');
|
|
@@ -79,15 +84,19 @@ var ProgressBar = require('./ProgressBar-cjs.js');
|
|
|
79
84
|
var RadioGroup = require('./RadioGroup-cjs.js');
|
|
80
85
|
var RecurringSelect = require('./RecurringSelect-cjs.js');
|
|
81
86
|
var DayOfMonthSelect = require('./DayOfMonthSelect-cjs.js');
|
|
87
|
+
var ResponsiveSwitcher = require('./ResponsiveSwitcher-cjs.js');
|
|
82
88
|
var Option = require('./Option-cjs.js');
|
|
83
89
|
var SegmentedControl = require('./SegmentedControl-cjs.js');
|
|
84
90
|
var SideDrawer = require('./SideDrawer-cjs.js');
|
|
91
|
+
var SideKick = require('./SideKick-cjs.js');
|
|
85
92
|
var Spinner = require('./Spinner-cjs.js');
|
|
86
93
|
var StatusIndicator = require('./StatusIndicator-cjs.js');
|
|
87
94
|
var StatusLabel = require('./StatusLabel-cjs.js');
|
|
95
|
+
var Stack = require('./Stack-cjs.js');
|
|
88
96
|
var Switch = require('./Switch-cjs.js');
|
|
89
97
|
var Body = require('./Body-cjs.js');
|
|
90
98
|
var Tabs = require('./Tabs-cjs.js');
|
|
99
|
+
var Tiles = require('./Tiles-cjs.js');
|
|
91
100
|
var showToast = require('./showToast-cjs.js');
|
|
92
101
|
var Tooltip = require('./Tooltip-cjs.js');
|
|
93
102
|
var Typography = require('./Typography-cjs.js');
|
|
@@ -110,6 +119,7 @@ require('./isSymbol-cjs.js');
|
|
|
110
119
|
require('color');
|
|
111
120
|
require('./BannerIcon-cjs.js');
|
|
112
121
|
require('react-router-dom');
|
|
122
|
+
require('./getMappedAtlantisSpaceToken-cjs.js');
|
|
113
123
|
require('react-hook-form');
|
|
114
124
|
require('./useInView-cjs.js');
|
|
115
125
|
require('./useChildComponent-cjs.js');
|
|
@@ -197,13 +207,16 @@ exports.Icon = Icon.Icon;
|
|
|
197
207
|
exports.Avatar = Avatar.Avatar;
|
|
198
208
|
exports.Banner = Banner.Banner;
|
|
199
209
|
exports.Box = Box.Box;
|
|
200
|
-
exports.Button = Button.
|
|
210
|
+
exports.Button = Button.ButtonNamespace;
|
|
201
211
|
exports.useButtonContext = Button.useButtonContext;
|
|
202
212
|
exports.useButtonStyles = Button.useButtonStyles;
|
|
203
213
|
exports.ButtonDismiss = ButtonDismiss.ButtonDismiss;
|
|
204
214
|
exports.Card = Card.Card;
|
|
215
|
+
exports.Cluster = Cluster.Cluster;
|
|
216
|
+
exports.Container = Container.Container;
|
|
217
|
+
exports.Cover = Cover.Cover;
|
|
205
218
|
exports.Checkbox = Checkbox_index.Checkbox;
|
|
206
|
-
exports.Chip = Chip.
|
|
219
|
+
exports.Chip = Chip.ChipNamespace;
|
|
207
220
|
exports.ChipDismissible = ChipDismissible.ChipDismissible;
|
|
208
221
|
exports.ChipSelectable = ChipDismissible.ChipSelectable;
|
|
209
222
|
exports.Chips = Chips.Chips;
|
|
@@ -211,6 +224,7 @@ exports.Combobox = Combobox.Combobox;
|
|
|
211
224
|
exports.ComboboxContextProvider = ComboboxProvider.ComboboxContextProvider;
|
|
212
225
|
exports.ConfirmationModal = ConfirmationModal.ConfirmationModal;
|
|
213
226
|
exports.Content = Content.Content;
|
|
227
|
+
exports.ContentBlock = ContentBlock.ContentBlock;
|
|
214
228
|
exports.Countdown = Countdown.Countdown;
|
|
215
229
|
exports.DataDump = DataDump.DataDump;
|
|
216
230
|
exports.DataList = DataList.DataList;
|
|
@@ -249,6 +263,7 @@ exports.FormatEmail = FormatEmail.FormatEmail;
|
|
|
249
263
|
exports.FormatFile = FormatFile.FormatFile;
|
|
250
264
|
exports.FormatRelativeDateTime = FormatRelativeDateTime.FormatRelativeDateTime;
|
|
251
265
|
exports.FormatTime = FormatTime.FormatTime;
|
|
266
|
+
exports.Frame = Frame.Frame;
|
|
252
267
|
exports.Gallery = Gallery.Gallery;
|
|
253
268
|
exports.GLIMMER_TEST_ID = Glimmer.GLIMMER_TEST_ID;
|
|
254
269
|
exports.Glimmer = Glimmer.Glimmer;
|
|
@@ -294,6 +309,7 @@ Object.defineProperty(exports, "WeekDay", {
|
|
|
294
309
|
enumerable: true,
|
|
295
310
|
get: function () { return DayOfMonthSelect.WeekDay; }
|
|
296
311
|
});
|
|
312
|
+
exports.ResponsiveSwitcher = ResponsiveSwitcher.ResponsiveSwitcher;
|
|
297
313
|
exports.Option = Option.SelectOption;
|
|
298
314
|
exports.Select = Option.Select;
|
|
299
315
|
exports.SegmentedControl = SegmentedControl.SegmentedControl;
|
|
@@ -301,9 +317,11 @@ exports.SegmentedControlContext = SegmentedControl.SegmentedControlContext;
|
|
|
301
317
|
exports.SegmentedControlProvider = SegmentedControl.SegmentedControlProvider;
|
|
302
318
|
exports.useSegmentedControl = SegmentedControl.useSegmentedControl;
|
|
303
319
|
exports.SideDrawer = SideDrawer.SideDrawer;
|
|
320
|
+
exports.SideKick = SideKick.SideKick;
|
|
304
321
|
exports.Spinner = Spinner.Spinner;
|
|
305
322
|
exports.StatusIndicator = StatusIndicator.StatusIndicator;
|
|
306
323
|
exports.StatusLabel = StatusLabel.StatusLabel;
|
|
324
|
+
exports.Stack = Stack.Stack;
|
|
307
325
|
exports.Switch = Switch.Switch;
|
|
308
326
|
exports.Body = Body.Body;
|
|
309
327
|
exports.Cell = Body.Cell;
|
|
@@ -315,6 +333,7 @@ exports.Row = Body.Row;
|
|
|
315
333
|
exports.Table = Body.Table;
|
|
316
334
|
exports.Tab = Tabs.Tab;
|
|
317
335
|
exports.Tabs = Tabs.Tabs;
|
|
336
|
+
exports.Tiles = Tiles.Tiles;
|
|
318
337
|
exports.Toast = showToast.Toast;
|
|
319
338
|
exports.showToast = showToast.showToast;
|
|
320
339
|
exports.Tooltip = Tooltip.Tooltip;
|
package/dist/index.d.mts
CHANGED
|
@@ -9,12 +9,16 @@ export * from "./Box";
|
|
|
9
9
|
export * from "./Button";
|
|
10
10
|
export * from "./ButtonDismiss";
|
|
11
11
|
export * from "./Card";
|
|
12
|
+
export * from "./Cluster";
|
|
13
|
+
export * from "./Container";
|
|
14
|
+
export * from "./Cover";
|
|
12
15
|
export * from "./Checkbox";
|
|
13
16
|
export * from "./Chip";
|
|
14
17
|
export { Chips } from "./Chips";
|
|
15
18
|
export * from "./Combobox";
|
|
16
19
|
export * from "./ConfirmationModal";
|
|
17
20
|
export * from "./Content";
|
|
21
|
+
export * from "./ContentBlock";
|
|
18
22
|
export * from "./Countdown";
|
|
19
23
|
export * from "./DataDump";
|
|
20
24
|
export * from "./DataList";
|
|
@@ -34,6 +38,7 @@ export * from "./FormatEmail";
|
|
|
34
38
|
export * from "./FormatFile";
|
|
35
39
|
export * from "./FormatRelativeDateTime";
|
|
36
40
|
export * from "./FormatTime";
|
|
41
|
+
export * from "./Frame";
|
|
37
42
|
export * from "./Gallery";
|
|
38
43
|
export * from "./Glimmer";
|
|
39
44
|
export * from "./Grid";
|
|
@@ -63,16 +68,20 @@ export * from "./Popover";
|
|
|
63
68
|
export * from "./ProgressBar";
|
|
64
69
|
export * from "./RadioGroup";
|
|
65
70
|
export * from "./RecurringSelect";
|
|
71
|
+
export * from "./ResponsiveSwitcher";
|
|
66
72
|
export * from "./Select";
|
|
67
73
|
export * from "./SegmentedControl";
|
|
68
74
|
export * from "./SideDrawer";
|
|
75
|
+
export * from "./SideKick";
|
|
69
76
|
export * from "./Spinner";
|
|
70
77
|
export * from "./StatusIndicator";
|
|
71
78
|
export * from "./StatusLabel";
|
|
79
|
+
export * from "./Stack";
|
|
72
80
|
export * from "./Switch";
|
|
73
81
|
export * from "./Table";
|
|
74
82
|
export * from "./Tabs";
|
|
75
83
|
export * from "./Text";
|
|
84
|
+
export * from "./Tiles";
|
|
76
85
|
export * from "./Toast";
|
|
77
86
|
export * from "./Tooltip";
|
|
78
87
|
export * from "./Typography";
|
package/dist/index.d.ts
CHANGED
|
@@ -9,12 +9,16 @@ export * from "./Box";
|
|
|
9
9
|
export * from "./Button";
|
|
10
10
|
export * from "./ButtonDismiss";
|
|
11
11
|
export * from "./Card";
|
|
12
|
+
export * from "./Cluster";
|
|
13
|
+
export * from "./Container";
|
|
14
|
+
export * from "./Cover";
|
|
12
15
|
export * from "./Checkbox";
|
|
13
16
|
export * from "./Chip";
|
|
14
17
|
export { Chips } from "./Chips";
|
|
15
18
|
export * from "./Combobox";
|
|
16
19
|
export * from "./ConfirmationModal";
|
|
17
20
|
export * from "./Content";
|
|
21
|
+
export * from "./ContentBlock";
|
|
18
22
|
export * from "./Countdown";
|
|
19
23
|
export * from "./DataDump";
|
|
20
24
|
export * from "./DataList";
|
|
@@ -34,6 +38,7 @@ export * from "./FormatEmail";
|
|
|
34
38
|
export * from "./FormatFile";
|
|
35
39
|
export * from "./FormatRelativeDateTime";
|
|
36
40
|
export * from "./FormatTime";
|
|
41
|
+
export * from "./Frame";
|
|
37
42
|
export * from "./Gallery";
|
|
38
43
|
export * from "./Glimmer";
|
|
39
44
|
export * from "./Grid";
|
|
@@ -63,16 +68,20 @@ export * from "./Popover";
|
|
|
63
68
|
export * from "./ProgressBar";
|
|
64
69
|
export * from "./RadioGroup";
|
|
65
70
|
export * from "./RecurringSelect";
|
|
71
|
+
export * from "./ResponsiveSwitcher";
|
|
66
72
|
export * from "./Select";
|
|
67
73
|
export * from "./SegmentedControl";
|
|
68
74
|
export * from "./SideDrawer";
|
|
75
|
+
export * from "./SideKick";
|
|
69
76
|
export * from "./Spinner";
|
|
70
77
|
export * from "./StatusIndicator";
|
|
71
78
|
export * from "./StatusLabel";
|
|
79
|
+
export * from "./Stack";
|
|
72
80
|
export * from "./Switch";
|
|
73
81
|
export * from "./Table";
|
|
74
82
|
export * from "./Tabs";
|
|
75
83
|
export * from "./Text";
|
|
84
|
+
export * from "./Tiles";
|
|
76
85
|
export * from "./Toast";
|
|
77
86
|
export * from "./Tooltip";
|
|
78
87
|
export * from "./Typography";
|