@auth0/quantum-product 1.7.0 → 1.9.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/alert/alert.js +2 -2
- package/copy-button/copy-button.d.ts +4 -1
- package/copy-button/copy-button.js +3 -27
- package/data-table/data-table-row.js +1 -1
- package/description-block/description-block.js +1 -1
- package/dialog/dialog-title/dialog-title.js +1 -1
- package/esm/alert/alert.js +3 -3
- package/esm/copy-button/copy-button.js +3 -27
- package/esm/data-table/data-table-row.js +1 -1
- package/esm/description-block/description-block.js +1 -1
- package/esm/dialog/dialog-title/dialog-title.js +1 -1
- package/esm/field-set/field-set-classes.js +1 -0
- package/esm/field-set/field-set.js +12 -2
- package/esm/floating-panel/floating-panel.js +1 -1
- package/esm/foundations/token-tables.js +3 -3
- package/esm/icon/index.js +381 -34
- package/esm/icon-button/icon-button.js +8 -4
- package/esm/label/label.js +35 -1
- package/esm/page/page-header/page-header-classes.js +1 -0
- package/esm/page/page-header/page-header.js +11 -2
- package/esm/pagination/pager/pager.js +2 -2
- package/esm/panel/panel/panel.js +1 -1
- package/esm/panel/panel-header/panel-header.js +4 -1
- package/esm/select/select.js +1 -1
- package/esm/sidebar/sidebar-link/sidebar-link.js +16 -23
- package/esm/tabs/tab/tab.js +13 -2
- package/field-set/field-set-classes.d.ts +1 -1
- package/field-set/field-set-classes.js +1 -0
- package/field-set/field-set.d.ts +5 -4
- package/field-set/field-set.js +12 -2
- package/floating-panel/floating-panel.js +1 -1
- package/foundations/token-tables.js +2 -2
- package/icon/index.d.ts +366 -34
- package/icon/index.js +400 -68
- package/icon-button/icon-button.d.ts +5 -0
- package/icon-button/icon-button.js +9 -5
- package/label/label.d.ts +11 -2
- package/label/label.js +58 -1
- package/package.json +3 -3
- package/page/page-header/page-header-classes.d.ts +1 -1
- package/page/page-header/page-header-classes.js +1 -0
- package/page/page-header/page-header.d.ts +3 -1
- package/page/page-header/page-header.js +11 -2
- package/pagination/pager/pager.js +2 -2
- package/panel/panel/panel.js +1 -1
- package/panel/panel-header/panel-header.js +4 -1
- package/select/select.js +1 -1
- package/sidebar/sidebar-link/sidebar-link.d.ts +5 -2
- package/sidebar/sidebar-link/sidebar-link.js +16 -23
- package/tabs/tab/tab.d.ts +6 -2
- package/tabs/tab/tab.js +13 -2
- package/esm/icon/apis.js +0 -34
- package/esm/icon/application-plus.js +0 -30
- package/esm/icon/arrows-h.js +0 -31
- package/esm/icon/border-pill.js +0 -29
- package/esm/icon/border-rounded.js +0 -29
- package/esm/icon/border-sharp.js +0 -29
- package/esm/icon/bot.js +0 -33
- package/esm/icon/browsers.js +0 -32
- package/esm/icon/bug.js +0 -38
- package/esm/icon/building.js +0 -30
- package/esm/icon/cash.js +0 -29
- package/esm/icon/clipboard-check.js +0 -31
- package/esm/icon/enterprise.js +0 -29
- package/esm/icon/feather-icons.js +0 -294
- package/esm/icon/folder-cancel.js +0 -30
- package/esm/icon/font.js +0 -29
- package/esm/icon/help.js +0 -29
- package/esm/icon/hooks.js +0 -34
- package/esm/icon/hosted-pages.js +0 -33
- package/esm/icon/id-tag.js +0 -34
- package/esm/icon/integration.js +0 -33
- package/esm/icon/layout-bottom.js +0 -29
- package/esm/icon/layout-center.js +0 -29
- package/esm/icon/layout-left.js +0 -29
- package/esm/icon/layout-right.js +0 -29
- package/esm/icon/layout-top.js +0 -29
- package/esm/icon/megaphone.js +0 -30
- package/esm/icon/page-background.js +0 -30
- package/esm/icon/paint-brush.js +0 -29
- package/esm/icon/paint.js +0 -29
- package/esm/icon/recovery-code.js +0 -30
- package/esm/icon/web-authn.js +0 -29
- package/esm/icon/webauthn-platform.js +0 -29
- package/esm/icon/widget.js +0 -29
- package/icon/apis.d.ts +0 -2
- package/icon/apis.js +0 -61
- package/icon/application-plus.d.ts +0 -2
- package/icon/application-plus.js +0 -57
- package/icon/arrows-h.d.ts +0 -2
- package/icon/arrows-h.js +0 -58
- package/icon/border-pill.d.ts +0 -2
- package/icon/border-pill.js +0 -56
- package/icon/border-rounded.d.ts +0 -2
- package/icon/border-rounded.js +0 -56
- package/icon/border-sharp.d.ts +0 -2
- package/icon/border-sharp.js +0 -56
- package/icon/bot.d.ts +0 -2
- package/icon/bot.js +0 -60
- package/icon/browsers.d.ts +0 -2
- package/icon/browsers.js +0 -59
- package/icon/bug.d.ts +0 -2
- package/icon/bug.js +0 -65
- package/icon/building.d.ts +0 -2
- package/icon/building.js +0 -57
- package/icon/cash.d.ts +0 -2
- package/icon/cash.js +0 -56
- package/icon/clipboard-check.d.ts +0 -2
- package/icon/clipboard-check.js +0 -58
- package/icon/enterprise.d.ts +0 -2
- package/icon/enterprise.js +0 -56
- package/icon/feather-icons.d.ts +0 -284
- package/icon/feather-icons.js +0 -302
- package/icon/folder-cancel.d.ts +0 -2
- package/icon/folder-cancel.js +0 -57
- package/icon/font.d.ts +0 -2
- package/icon/font.js +0 -56
- package/icon/help.d.ts +0 -2
- package/icon/help.js +0 -56
- package/icon/hooks.d.ts +0 -2
- package/icon/hooks.js +0 -61
- package/icon/hosted-pages.d.ts +0 -2
- package/icon/hosted-pages.js +0 -60
- package/icon/id-tag.d.ts +0 -2
- package/icon/id-tag.js +0 -61
- package/icon/integration.d.ts +0 -2
- package/icon/integration.js +0 -60
- package/icon/layout-bottom.d.ts +0 -2
- package/icon/layout-bottom.js +0 -56
- package/icon/layout-center.d.ts +0 -2
- package/icon/layout-center.js +0 -56
- package/icon/layout-left.d.ts +0 -2
- package/icon/layout-left.js +0 -56
- package/icon/layout-right.d.ts +0 -2
- package/icon/layout-right.js +0 -56
- package/icon/layout-top.d.ts +0 -2
- package/icon/layout-top.js +0 -56
- package/icon/megaphone.d.ts +0 -2
- package/icon/megaphone.js +0 -57
- package/icon/page-background.d.ts +0 -2
- package/icon/page-background.js +0 -57
- package/icon/paint-brush.d.ts +0 -2
- package/icon/paint-brush.js +0 -56
- package/icon/paint.d.ts +0 -2
- package/icon/paint.js +0 -56
- package/icon/recovery-code.d.ts +0 -2
- package/icon/recovery-code.js +0 -57
- package/icon/web-authn.d.ts +0 -2
- package/icon/web-authn.js +0 -56
- package/icon/webauthn-platform.d.ts +0 -2
- package/icon/webauthn-platform.js +0 -56
- package/icon/widget.d.ts +0 -2
- package/icon/widget.js +0 -56
package/label/label.js
CHANGED
|
@@ -10,11 +10,64 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
};
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
13
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
37
|
exports.Label = exports.labelComponentName = void 0;
|
|
38
|
+
var React = __importStar(require("react"));
|
|
15
39
|
var styled_1 = require("../styled");
|
|
16
40
|
exports.labelComponentName = 'QuantumLabel';
|
|
17
|
-
|
|
41
|
+
var getReleaseStageLabelProps = function (productReleaseStage, productReleaseStageAbbr) {
|
|
42
|
+
var labelProps = {
|
|
43
|
+
color: 'default',
|
|
44
|
+
variant: 'default',
|
|
45
|
+
};
|
|
46
|
+
switch (productReleaseStage) {
|
|
47
|
+
case 'new':
|
|
48
|
+
case 'generalAvailability':
|
|
49
|
+
labelProps.variant = 'filled';
|
|
50
|
+
labelProps.children = 'New';
|
|
51
|
+
labelProps.color = 'primary';
|
|
52
|
+
break;
|
|
53
|
+
case 'beta':
|
|
54
|
+
labelProps.children = 'Beta';
|
|
55
|
+
labelProps.color = 'primary';
|
|
56
|
+
break;
|
|
57
|
+
case 'first':
|
|
58
|
+
case 'early':
|
|
59
|
+
case 'earlyAccess':
|
|
60
|
+
labelProps.color = 'primary';
|
|
61
|
+
productReleaseStageAbbr ? (labelProps.children = 'Early') : (labelProps.children = 'Early Access');
|
|
62
|
+
break;
|
|
63
|
+
case 'deprecated':
|
|
64
|
+
labelProps.color = 'warning';
|
|
65
|
+
labelProps.children = 'Deprecated';
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
return labelProps;
|
|
69
|
+
};
|
|
70
|
+
var StyledLabel = (0, styled_1.styled)('span', {
|
|
18
71
|
name: exports.labelComponentName,
|
|
19
72
|
slot: 'Root',
|
|
20
73
|
shouldForwardProp: function (prop) { return (0, styled_1.rootShouldForwardProp)(prop) && prop !== 'color' && prop !== 'variant'; },
|
|
@@ -70,3 +123,7 @@ exports.Label = (0, styled_1.styled)('span', {
|
|
|
70
123
|
color: theme.tokens.color_fg_on_state_danger,
|
|
71
124
|
})))));
|
|
72
125
|
});
|
|
126
|
+
exports.Label = React.forwardRef(function (props, ref) {
|
|
127
|
+
var productReleaseStage = props.productReleaseStage, _a = props.productReleaseStageAbbr, productReleaseStageAbbr = _a === void 0 ? true : _a;
|
|
128
|
+
return (React.createElement(StyledLabel, __assign({ ref: ref }, getReleaseStageLabelProps(productReleaseStage, productReleaseStageAbbr), props)));
|
|
129
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auth0/quantum-product",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"main": "./index.js",
|
|
12
12
|
"types": "./index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
|
+
"@auth0/quantum-icons": "^1.0.0",
|
|
14
15
|
"@auth0/quantum-tokens": "^1.1.5",
|
|
15
16
|
"@mui/material": "5.8.7",
|
|
16
17
|
"@mui/styles": "5.8.7",
|
|
17
18
|
"@mui/system": "5.8.7",
|
|
18
19
|
"@mui/utils": "5.8.6",
|
|
19
20
|
"clsx": "^1.2.1",
|
|
20
|
-
"md5": "^2.3.0"
|
|
21
|
-
"react-feather": "^2.0.10"
|
|
21
|
+
"md5": "^2.3.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "*",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const pageHeaderComponentName: "QuantumPageHeader";
|
|
2
2
|
export declare function getPageHeaderUtilityClass(slot: string): string;
|
|
3
|
-
export declare const pageHeaderClasses: Record<"title" | "metadata" | "content" | "root" | "avatar" | "actions" | "description" | "avatarBlock", string>;
|
|
3
|
+
export declare const pageHeaderClasses: Record<"title" | "metadata" | "content" | "root" | "avatar" | "availabilityLabel" | "actions" | "description" | "avatarBlock", string>;
|
|
4
4
|
export declare type PageHeaderClasses = typeof pageHeaderClasses;
|
|
5
5
|
export declare type PageHeaderClassKey = keyof PageHeaderClasses;
|
|
@@ -2,11 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import { IAvatarBlockProps } from '../../avatar-block';
|
|
3
3
|
import { IPageContextValue } from '../page-context';
|
|
4
4
|
import { IRowLayoutProps } from '../../row-layout';
|
|
5
|
+
import { ILabelProps } from '../../label';
|
|
5
6
|
import { ITextProps } from '../../text';
|
|
6
7
|
import { PageHeaderClasses } from './page-header-classes';
|
|
7
8
|
export declare type IPageHeaderOwnerState = Partial<IPageContextValue>;
|
|
8
9
|
export declare const Actions: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
9
|
-
export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<IAvatarBlockProps, 'titleTypographyProps' | 'descriptionTypographyProps'> {
|
|
10
|
+
export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<IAvatarBlockProps, 'titleTypographyProps' | 'descriptionTypographyProps'>, Pick<ILabelProps, 'productReleaseStage' | 'productReleaseStageAbbr'> {
|
|
10
11
|
title: React.ReactNode;
|
|
11
12
|
metadata?: React.ReactNode;
|
|
12
13
|
metadataTypographyProps?: Partial<ITextProps> & {
|
|
@@ -21,5 +22,6 @@ export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<I
|
|
|
21
22
|
fullWidth?: boolean;
|
|
22
23
|
compact?: boolean;
|
|
23
24
|
startActions?: React.ReactNode;
|
|
25
|
+
productReleaseStage?: 'beta' | 'generalAvailability' | 'earlyAccess' | 'deprecated';
|
|
24
26
|
}
|
|
25
27
|
export declare const PageHeader: React.ForwardRefExoticComponent<IPageHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -55,6 +55,7 @@ var avatar_block_1 = require("../../avatar-block");
|
|
|
55
55
|
var page_context_1 = require("../page-context");
|
|
56
56
|
var row_layout_1 = require("../../row-layout");
|
|
57
57
|
var styled_1 = require("../../styled");
|
|
58
|
+
var label_1 = require("../../label");
|
|
58
59
|
var classes_1 = require("../../styles/classes");
|
|
59
60
|
var text_1 = require("../../text");
|
|
60
61
|
var stack_layout_1 = require("../../stack-layout");
|
|
@@ -85,6 +86,12 @@ exports.Actions = (0, styled_1.styled)('div', {
|
|
|
85
86
|
gap: theme.spacing(2),
|
|
86
87
|
});
|
|
87
88
|
});
|
|
89
|
+
var AvailabilityLabel = (0, styled_1.styled)(label_1.Label, { name: page_header_classes_1.pageHeaderComponentName, slot: 'AvailabilityLabel' })(function (_a) {
|
|
90
|
+
var theme = _a.theme;
|
|
91
|
+
return ({
|
|
92
|
+
marginLeft: theme.spacing(1),
|
|
93
|
+
});
|
|
94
|
+
});
|
|
88
95
|
var StyledStackLayout = (0, styled_1.styled)(stack_layout_1.StackLayout, { name: page_header_classes_1.pageHeaderComponentName, slot: 'StackLayout' })(function (_a) {
|
|
89
96
|
var theme = _a.theme, ownerState = _a.ownerState;
|
|
90
97
|
return ({
|
|
@@ -94,7 +101,7 @@ var StyledStackLayout = (0, styled_1.styled)(stack_layout_1.StackLayout, { name:
|
|
|
94
101
|
});
|
|
95
102
|
exports.PageHeader = React.forwardRef(function (props, ref) {
|
|
96
103
|
var _a = (0, page_context_1.usePageContext)(), fullWidthContext = _a.fullWidth, compactContext = _a.compact;
|
|
97
|
-
var breadcrumbs = props.breadcrumbs, startActions = props.startActions, className = props.className, fullWidthProp = props.fullWidth, compactProp = props.compact, title = props.title, _b = props.titleTypographyProps, titleTypographyProps = _b === void 0 ? {} : _b, description = props.description, _c = props.descriptionTypographyProps, descriptionTypographyProps = _c === void 0 ? {} : _c, metadata = props.metadata, _d = props.metadataTypographyProps, metadataTypographyProps = _d === void 0 ? {} : _d, actions = props.actions, avatar = props.avatar, children = props.children, rootProps = __rest(props, ["breadcrumbs", "startActions", "className", "fullWidth", "compact", "title", "titleTypographyProps", "description", "descriptionTypographyProps", "metadata", "metadataTypographyProps", "actions", "avatar", "children"]);
|
|
104
|
+
var breadcrumbs = props.breadcrumbs, startActions = props.startActions, className = props.className, fullWidthProp = props.fullWidth, compactProp = props.compact, title = props.title, _b = props.titleTypographyProps, titleTypographyProps = _b === void 0 ? {} : _b, description = props.description, _c = props.descriptionTypographyProps, descriptionTypographyProps = _c === void 0 ? {} : _c, metadata = props.metadata, _d = props.metadataTypographyProps, metadataTypographyProps = _d === void 0 ? {} : _d, actions = props.actions, avatar = props.avatar, children = props.children, productReleaseStage = props.productReleaseStage, productReleaseStageAbbr = props.productReleaseStageAbbr, rootProps = __rest(props, ["breadcrumbs", "startActions", "className", "fullWidth", "compact", "title", "titleTypographyProps", "description", "descriptionTypographyProps", "metadata", "metadataTypographyProps", "actions", "avatar", "children", "productReleaseStage", "productReleaseStageAbbr"]);
|
|
98
105
|
var classes = (0, classes_1.useMergedClasses)(page_header_classes_1.pageHeaderClasses, page_header_classes_1.getPageHeaderUtilityClass, props.classes);
|
|
99
106
|
var fullWidth = fullWidthProp || fullWidthContext;
|
|
100
107
|
var compact = compactProp || compactContext;
|
|
@@ -106,6 +113,8 @@ exports.PageHeader = React.forwardRef(function (props, ref) {
|
|
|
106
113
|
React.createElement(avatar_block_1.AvatarBlock, { size: compact ? 'medium' : 'large', classes: {
|
|
107
114
|
root: classes.avatarBlock,
|
|
108
115
|
avatar: classes.avatar,
|
|
109
|
-
}, avatar: avatar && React.createElement(avatar_1.AvatarContext.Provider, { value: { size: 'large' } }, avatar), titleTypographyProps: __assign({ variant: compact ? 'h5' : 'h3', component: 'h1', className: classes.title }, titleTypographyProps), title:
|
|
116
|
+
}, avatar: avatar && React.createElement(avatar_1.AvatarContext.Provider, { value: { size: 'large' } }, avatar), titleTypographyProps: __assign({ variant: compact ? 'h5' : 'h3', component: 'h1', className: classes.title }, titleTypographyProps), title: React.createElement(React.Fragment, null,
|
|
117
|
+
title,
|
|
118
|
+
!!productReleaseStage && (React.createElement(AvailabilityLabel, { className: classes.availabilityLabel, productReleaseStageAbbr: false, productReleaseStage: productReleaseStage }))), description: metadata, descriptionTypographyProps: __assign({ component: 'div', className: classes.metadata }, metadataTypographyProps), TitleBlockProps: { gutter: 0.5 }, endAdornment: !!actions && (React.createElement(exports.Actions, { className: classes.actions, sx: { flex: 'none' } }, actions)) }))),
|
|
110
119
|
!!description && (React.createElement(text_1.Text, __assign({ variant: "body2", color: "textSecondary", component: "p", className: classes.description }, descriptionTypographyProps), description))));
|
|
111
120
|
});
|
|
@@ -59,8 +59,8 @@ exports.Pager = React.forwardRef(function (props, ref) {
|
|
|
59
59
|
var isPrevDisabled = disabled || previousDisabled || page <= 1;
|
|
60
60
|
var isNextDisabled = disabled || nextDisabled || (totalPages != null && page >= totalPages);
|
|
61
61
|
return (React.createElement(stack_layout_1.StackLayout, __assign({ ref: ref, gutter: 1, className: (0, utils_1.clsx)(classes.root, className), sx: __assign({ justifyContent: 'flex-end' }, sx) }, rootProps),
|
|
62
|
-
React.createElement(icon_button_1.IconButton, __assign({ variant: "outlined", size: size, className: classes.previousPageButton, onClick: function () { return onPageChange && onPageChange(page - 1); }, disabled: isPrevDisabled,
|
|
62
|
+
React.createElement(icon_button_1.IconButton, __assign({ variant: "outlined", size: size, className: classes.previousPageButton, onClick: function () { return onPageChange && onPageChange(page - 1); }, disabled: isPrevDisabled, label: "Previous page" }, nextIconButtonProps),
|
|
63
63
|
React.createElement(icon_1.ChevronLeftIcon, null)),
|
|
64
|
-
React.createElement(icon_button_1.IconButton, __assign({ variant: "outlined", size: size, className: classes.nextPageButton, onClick: function () { return onPageChange && onPageChange(page + 1); }, disabled: isNextDisabled,
|
|
64
|
+
React.createElement(icon_button_1.IconButton, __assign({ variant: "outlined", size: size, className: classes.nextPageButton, onClick: function () { return onPageChange && onPageChange(page + 1); }, disabled: isNextDisabled, label: "Next page" }, previousIconButtonProps),
|
|
65
65
|
React.createElement(icon_1.ChevronRightIcon, null))));
|
|
66
66
|
});
|
package/panel/panel/panel.js
CHANGED
|
@@ -125,7 +125,7 @@ exports.Panel = React.forwardRef(function (props, ref) {
|
|
|
125
125
|
return (React.createElement(Root, __assign({ ref: ref, ownerState: ownerState, className: (0, utils_1.clsx)(classes.root, classes["size".concat((0, utils_1.capitalize)(size))], classes["variant".concat((0, utils_1.capitalize)(variant))], classes["placement".concat((0, utils_1.capitalize)(placement))], isFixed && classes.fixed, isOpen && classes.open, className) }, rootProps),
|
|
126
126
|
React.createElement(panel_context_1.PanelContext.Provider, { value: __assign(__assign({}, ownerState), { isCloseButtonVisible: showCloseButton }) },
|
|
127
127
|
React.createElement(Content, { className: classes.content, ownerState: ownerState },
|
|
128
|
-
showCloseButton && (React.createElement(CloseButton, __assign({
|
|
128
|
+
showCloseButton && (React.createElement(CloseButton, __assign({ label: "close", className: classes.closeButton, onClick: function (e) { return onClose(e, 'closeButtonClick'); }, variant: "outlined", size: "small", shape: "circular" }, closeIconButtonProps),
|
|
129
129
|
React.createElement(icon_1.XIcon, null))),
|
|
130
130
|
!!title && React.createElement(panel_header_1.PanelHeader, __assign({ title: title }, PanelHeaderProps)),
|
|
131
131
|
children))));
|
|
@@ -58,13 +58,16 @@ var Root = (0, styled_1.styled)('div')(function (_a) {
|
|
|
58
58
|
var theme = _a.theme, ownerState = _a.ownerState;
|
|
59
59
|
return ({
|
|
60
60
|
display: 'flex',
|
|
61
|
+
alignItems: 'flex-start',
|
|
61
62
|
padding: theme.spacing(3, ownerState.isCloseButtonVisible ? 9 : 3, 2, 3),
|
|
62
63
|
gap: theme.spacing(2),
|
|
63
64
|
flexGrow: 0,
|
|
64
65
|
flexShrink: 0,
|
|
65
66
|
});
|
|
66
67
|
});
|
|
67
|
-
var Content = (0, styled_1.styled)('div')({
|
|
68
|
+
var Content = (0, styled_1.styled)('div')({
|
|
69
|
+
flex: 1,
|
|
70
|
+
});
|
|
68
71
|
var EndAdornment = (0, styled_1.styled)('div')(function (_a) {
|
|
69
72
|
var theme = _a.theme;
|
|
70
73
|
return ({
|
package/select/select.js
CHANGED
|
@@ -92,7 +92,7 @@ exports.Select = React.forwardRef(function (props, ref) {
|
|
|
92
92
|
return (React.createElement(Root, __assign({ ref: ref, ownerState: { adornedEnd: hasClearButton, selectionDisabled: disabledOptionSelected, size: size }, value: value, defaultValue: defaultValue, multiple: multiple, size: size, className: (0, clsx_1.default)(classes.root, className), classes: {
|
|
93
93
|
select: classes.select,
|
|
94
94
|
}, endAdornment: hasClearButton && (React.createElement(ClearInputAdornment, { position: "end", className: classes.clearInputAdornment },
|
|
95
|
-
React.createElement(icon_button_1.IconButton, { edge: "end", size: size, onClick: onClear, className: classes.clearButton },
|
|
95
|
+
React.createElement(icon_button_1.IconButton, { edge: "end", size: size, onClick: onClear, className: classes.clearButton, label: "close button" },
|
|
96
96
|
React.createElement(icon_1.XCircleIcon, null)))), startAdornment: !!prefix && (React.createElement(input_1.InputAdornment, { position: "start", className: classes.prefixInputAdornment },
|
|
97
97
|
React.createElement(text_1.Text, { component: "span", variant: "body2", className: classes.prefixText }, prefix))), MenuProps: useCustomMenu
|
|
98
98
|
? __assign({ anchorOrigin: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { OverridableComponent, OverrideProps } from '../../overridable-component';
|
|
3
|
+
import { ILabelProps } from '../../label';
|
|
3
4
|
import { IStyledCommonProps } from '../../styled';
|
|
4
5
|
import { SidebarLinkClasses } from './sidebar-link-classes';
|
|
5
6
|
export interface ISidebarLinkTypeMap<AdditionalProps = {}, DefaultComponent extends React.ElementType = 'a'> {
|
|
6
|
-
props: AdditionalProps & IStyledCommonProps & {
|
|
7
|
+
props: AdditionalProps & Pick<ILabelProps, 'productReleaseStage'> & IStyledCommonProps & {
|
|
7
8
|
/**
|
|
8
9
|
* Override or extend the styles applied to the component.
|
|
9
10
|
*/
|
|
@@ -24,10 +25,12 @@ export interface ISidebarLinkTypeMap<AdditionalProps = {}, DefaultComponent exte
|
|
|
24
25
|
* Icon displayed at the end of the link
|
|
25
26
|
*/
|
|
26
27
|
endIcon?: React.ReactNode;
|
|
28
|
+
/** @deprecated use productReleaseStage instead */
|
|
29
|
+
featureAvailability?: 'default' | 'beta' | 'first' | 'new' | 'early';
|
|
27
30
|
/**
|
|
28
31
|
* Availability of the feature. Displays as a label after the title.
|
|
29
32
|
*/
|
|
30
|
-
|
|
33
|
+
productReleaseStage?: Exclude<ILabelProps['productReleaseStage'], 'deprecated'>;
|
|
31
34
|
/**
|
|
32
35
|
* Link Variant
|
|
33
36
|
* @default "primary"
|
|
@@ -131,33 +131,26 @@ var Decoration = (0, styled_1.styled)('span', { name: sidebar_link_classes_1.sid
|
|
|
131
131
|
marginLeft: theme.spacing(1),
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
|
-
var getFeatureAvailabilityLabelProps = function (featureAvailability) {
|
|
135
|
-
var labelProps = {
|
|
136
|
-
color: 'primary',
|
|
137
|
-
variant: 'default',
|
|
138
|
-
};
|
|
139
|
-
switch (featureAvailability) {
|
|
140
|
-
case 'beta':
|
|
141
|
-
labelProps.children = 'Beta';
|
|
142
|
-
break;
|
|
143
|
-
// First Availability has been replaced by Early Access
|
|
144
|
-
case 'first':
|
|
145
|
-
case 'early':
|
|
146
|
-
labelProps.children = 'Early';
|
|
147
|
-
break;
|
|
148
|
-
case 'new':
|
|
149
|
-
labelProps.variant = 'filled';
|
|
150
|
-
labelProps.children = 'New';
|
|
151
|
-
break;
|
|
152
|
-
}
|
|
153
|
-
return labelProps;
|
|
154
|
-
};
|
|
155
134
|
exports.SidebarLink = React.forwardRef(function (props, ref) {
|
|
156
|
-
var title = props.title, startIcon = props.startIcon, endIcon = props.endIcon, featureAvailability = props.featureAvailability, className = props.className, decoration = props.decoration, titleId = props.titleId, _a = props.isActive, isActive = _a === void 0 ? false : _a, _b = props.variant, variant = _b === void 0 ? 'primary' : _b, _c = props.component, LinkComponent = _c === void 0 ? 'a' : _c, propClasses = props.classes, children = props.children, sx = props.sx, propOnClick = props.onClick, _d = props.shouldCollapseSidebarOnClick, shouldCollapseSidebarOnClick = _d === void 0 ? true : _d, linkProps = __rest(props, ["title", "startIcon", "endIcon", "featureAvailability", "className", "decoration", "titleId", "isActive", "variant", "component", "classes", "children", "sx", "onClick", "shouldCollapseSidebarOnClick"]);
|
|
135
|
+
var title = props.title, startIcon = props.startIcon, endIcon = props.endIcon, featureAvailability = props.featureAvailability, productReleaseStage = props.productReleaseStage, className = props.className, decoration = props.decoration, titleId = props.titleId, _a = props.isActive, isActive = _a === void 0 ? false : _a, _b = props.variant, variant = _b === void 0 ? 'primary' : _b, _c = props.component, LinkComponent = _c === void 0 ? 'a' : _c, propClasses = props.classes, children = props.children, sx = props.sx, propOnClick = props.onClick, _d = props.shouldCollapseSidebarOnClick, shouldCollapseSidebarOnClick = _d === void 0 ? true : _d, linkProps = __rest(props, ["title", "startIcon", "endIcon", "featureAvailability", "productReleaseStage", "className", "decoration", "titleId", "isActive", "variant", "component", "classes", "children", "sx", "onClick", "shouldCollapseSidebarOnClick"]);
|
|
157
136
|
var theme = (0, use_theme_1.useTheme)();
|
|
158
137
|
var isLargeScreen = (0, use_media_query_1.useMediaQuery)(theme.breakpoints.up('lg'));
|
|
159
138
|
var sidebarCtx = (0, sidebar_context_1.useSidebarContext)();
|
|
160
139
|
var classes = (0, classes_1.useMergedClasses)(sidebar_link_classes_1.sidebarLinkClasses, sidebar_link_classes_1.getSidebarLinkUtilityClass, propClasses);
|
|
140
|
+
var mapReleaseStageProps = function (prop) {
|
|
141
|
+
switch (prop) {
|
|
142
|
+
case 'early':
|
|
143
|
+
case 'first':
|
|
144
|
+
return 'earlyAccess';
|
|
145
|
+
case 'new':
|
|
146
|
+
return 'generalAvailability';
|
|
147
|
+
case 'default':
|
|
148
|
+
return '';
|
|
149
|
+
default:
|
|
150
|
+
return prop;
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
var releaseProp = featureAvailability ? mapReleaseStageProps(featureAvailability) : productReleaseStage;
|
|
161
154
|
var handleClick = function (event) {
|
|
162
155
|
if (propOnClick) {
|
|
163
156
|
propOnClick(event);
|
|
@@ -170,7 +163,7 @@ exports.SidebarLink = React.forwardRef(function (props, ref) {
|
|
|
170
163
|
React.createElement(Link, __assign({ ref: ref, as: LinkComponent, title: typeof title === 'string' ? title : undefined, ownerState: { isActive: isActive, variant: variant }, className: classes.link, "aria-current": isActive ? 'page' : undefined, onClick: handleClick }, linkProps),
|
|
171
164
|
React.createElement(StartIcon, { className: (0, clsx_1.default)(classes.icon, classes.startIcon) }, startIcon),
|
|
172
165
|
React.createElement(Title, { id: titleId, className: sidebar_link_classes_1.sidebarLinkClasses.title }, title),
|
|
173
|
-
!!
|
|
166
|
+
!!releaseProp && React.createElement(AvailabilityLabel, { className: classes.availabilityLabel, productReleaseStage: releaseProp }),
|
|
174
167
|
!!decoration && React.createElement(Decoration, { className: classes.decoration }, decoration),
|
|
175
168
|
!!endIcon && React.createElement(EndIcon, { className: (0, clsx_1.default)(classes.icon, classes.endIcon) }, endIcon)),
|
|
176
169
|
children));
|
package/tabs/tab/tab.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { OverridableComponent, OverrideProps } from '../../overridable-component';
|
|
3
3
|
import { TabTypeMap } from '@mui/material/Tab';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
declare type ITabTypeMap<ExtraPropsType = {}, DefaultElementType extends React.ElementType = TabTypeMap['defaultComponent']> = TabTypeMap<ExtraPropsType & {
|
|
5
|
+
productReleaseStage?: 'beta' | 'earlyAccess' | 'generalAvailability';
|
|
6
|
+
}, DefaultElementType>;
|
|
7
|
+
export declare type ITabProps<D extends React.ElementType = ITabTypeMap['defaultComponent'], P = {}> = OverrideProps<ITabTypeMap<P, D>, D>;
|
|
8
|
+
export declare const Tab: OverridableComponent<ITabTypeMap<{}, "div">>;
|
|
9
|
+
export {};
|
package/tabs/tab/tab.js
CHANGED
|
@@ -51,9 +51,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
51
|
exports.Tab = void 0;
|
|
52
52
|
var React = __importStar(require("react"));
|
|
53
53
|
var Tab_1 = __importDefault(require("@mui/material/Tab"));
|
|
54
|
+
var label_1 = require("../../label");
|
|
55
|
+
var stack_layout_1 = require("../../stack-layout");
|
|
56
|
+
var styled_1 = require("../../styled");
|
|
54
57
|
var tabs_context_1 = require("../tabs-context");
|
|
58
|
+
var AvailabilityLabel = (0, styled_1.styled)(label_1.Label)(function (_a) {
|
|
59
|
+
var theme = _a.theme;
|
|
60
|
+
return ({
|
|
61
|
+
marginLeft: theme.spacing(1),
|
|
62
|
+
});
|
|
63
|
+
});
|
|
55
64
|
exports.Tab = React.forwardRef(function (_a, ref) {
|
|
56
|
-
var value = _a.value, tabProps = __rest(_a, ["value"]);
|
|
65
|
+
var value = _a.value, productReleaseStage = _a.productReleaseStage, label = _a.label, tabProps = __rest(_a, ["value", "productReleaseStage", "label"]);
|
|
57
66
|
var _b = (0, tabs_context_1.useTabsContext)(), getTabProps = _b.getTabProps, fullWidth = _b.fullWidth;
|
|
58
|
-
return React.createElement(Tab_1.default, __assign({ ref: ref }, getTabProps(value), { value: value
|
|
67
|
+
return (React.createElement(Tab_1.default, __assign({ ref: ref }, getTabProps(value), { value: value, label: React.createElement(stack_layout_1.StackLayout, { gutter: 0 },
|
|
68
|
+
label,
|
|
69
|
+
productReleaseStage && React.createElement(AvailabilityLabel, { productReleaseStage: productReleaseStage })) }, tabProps, { fullWidth: fullWidth })));
|
|
59
70
|
});
|
package/esm/icon/apis.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var ApisIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 18 18", fill: "none" }, rootProps),
|
|
28
|
-
React.createElement("rect", { x: "2", y: "11.3333", width: "4.66667", height: "4.66667", stroke: color, strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
29
|
-
React.createElement("rect", { x: "2", y: "6.66672", width: "4.66667", height: "4.66667", stroke: color, strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
30
|
-
React.createElement("rect", { x: "2", y: "2", width: "4.66667", height: "4.66667", stroke: color, strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
31
|
-
React.createElement("rect", { x: "6.66669", y: "11.3333", width: "4.66667", height: "4.66667", stroke: color, strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
32
|
-
React.createElement("rect", { x: "6.66669", y: "6.66672", width: "4.66667", height: "4.66667", stroke: color, strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
33
|
-
React.createElement("rect", { x: "11.3333", y: "11.3333", width: "4.66667", height: "4.66667", stroke: color, strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
34
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var ApplicationPlusIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 20 20" }, rootProps),
|
|
28
|
-
React.createElement("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" },
|
|
29
|
-
React.createElement("path", { d: "M17.8483347,18.6541567 L2.30511499,18.6541567 C1.99869151,18.6541567 1.75,18.405728 1.75,18.0990089 L1.75,2.55514781 C1.75,2.24870622 1.99869151,2 2.30511499,2 L17.8483347,2 C18.1547581,2 18.4034496,2.24870622 18.4034496,2.55514781 L18.4034496,18.0990089 C18.4034496,18.4060056 18.1547581,18.6541567 17.8483347,18.6541567 L17.8483347,18.6541567 Z M17.2932197,3.665721 C17.2932197,3.35872426 17.0445282,3.10974047 16.7381047,3.10974047 L3.41534496,3.10974047 C3.10892149,3.10974047 2.86022998,3.35844669 2.86022998,3.665721 L2.86022998,6.44173761 L17.2932197,6.44173761 L17.2932197,3.665721 L17.2932197,3.665721 Z M17.2932197,7.55147808 L2.86022998,7.55147808 L2.86022998,16.9884357 C2.86022998,17.2954324 3.10892149,17.5446938 3.41534496,17.5446938 L16.7381047,17.5446938 C17.0445282,17.5446938 17.2932197,17.29571 17.2932197,16.9884357 L17.2932197,7.55147808 L17.2932197,7.55147808 Z M10.6315623,15.3229923 L9.52133228,15.3229923 L9.52133228,13.1029562 L7.30087232,13.1029562 L7.30087232,11.9926606 L9.52133228,11.9926606 L9.52133228,9.77206932 L10.6315623,9.77206932 L10.6315623,11.9926606 L12.8520222,11.9926606 L12.8520222,13.1029562 L10.6315623,13.1029562 L10.6315623,15.3229923 L10.6315623,15.3229923 Z M5.08041237,5.33088685 L3.97018239,5.33088685 L3.97018239,4.22059123 L5.08041237,4.22059123 L5.08041237,5.33088685 L5.08041237,5.33088685 Z M7.30087232,5.33088685 L6.19064235,5.33088685 L6.19064235,4.22059123 L7.30087232,4.22059123 L7.30087232,5.33088685 L7.30087232,5.33088685 Z M9.52160983,5.33088685 L8.41137986,5.33088685 L8.41137986,4.22059123 L9.52160983,4.22059123 L9.52160983,5.33088685 L9.52160983,5.33088685 Z", fill: color }))));
|
|
30
|
-
};
|
package/esm/icon/arrows-h.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var ArrowsHIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 20 20" }, rootProps),
|
|
28
|
-
React.createElement("path", { d: "M4.16666 7.5L1.66666 10L4.16666 12.5", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
29
|
-
React.createElement("path", { d: "M15.8333 7.5L18.3333 10L15.8333 12.5", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
30
|
-
React.createElement("path", { d: "M1.66666 10H18.3333", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
31
|
-
};
|
package/esm/icon/border-pill.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var BorderPillIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 14 14" }, rootProps),
|
|
28
|
-
React.createElement("path", { fillRule: "evenodd", d: "M7 0.25C3.27208 0.25 0.25 3.27208 0.25 7C0.25 10.7279 3.27208 13.75 7 13.75H13C13.4142 13.75 13.75 13.4142 13.75 13V11.5C13.75 11.0858 13.4142 10.75 13 10.75C12.5858 10.75 12.25 11.0858 12.25 11.5V12.25H7C4.10051 12.25 1.75 9.8995 1.75 7C1.75 4.10051 4.10051 1.75 7 1.75H12.25V2.5C12.25 2.91421 12.5858 3.25 13 3.25C13.4142 3.25 13.75 2.91421 13.75 2.5V1C13.75 0.585786 13.4142 0.25 13 0.25H7ZM13.75 5.5C13.75 5.08579 13.4142 4.75 13 4.75C12.5858 4.75 12.25 5.08579 12.25 5.5V8.5C12.25 8.91421 12.5858 9.25 13 9.25C13.4142 9.25 13.75 8.91421 13.75 8.5V5.5Z", fill: color })));
|
|
29
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var BorderRoundedIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 14 14" }, rootProps),
|
|
28
|
-
React.createElement("path", { fillRule: "evenodd", d: "M4 0.25C1.92893 0.25 0.25 1.92893 0.25 4V10C0.25 12.0711 1.92893 13.75 4 13.75H13C13.4142 13.75 13.75 13.4142 13.75 13V11.5C13.75 11.0858 13.4142 10.75 13 10.75C12.5858 10.75 12.25 11.0858 12.25 11.5V12.25H4C2.75736 12.25 1.75 11.2426 1.75 10V4C1.75 2.75736 2.75736 1.75 4 1.75H12.25V2.5C12.25 2.91421 12.5858 3.25 13 3.25C13.4142 3.25 13.75 2.91421 13.75 2.5V1C13.75 0.585786 13.4142 0.25 13 0.25H4ZM13.75 5.5C13.75 5.08579 13.4142 4.75 13 4.75C12.5858 4.75 12.25 5.08579 12.25 5.5V8.5C12.25 8.91421 12.5858 9.25 13 9.25C13.4142 9.25 13.75 8.91421 13.75 8.5V5.5Z", fill: color })));
|
|
29
|
-
};
|
package/esm/icon/border-sharp.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var BorderSharpIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 14 14" }, rootProps),
|
|
28
|
-
React.createElement("path", { fillRule: "evenodd", d: "M1 0.25C0.585786 0.25 0.25 0.585786 0.25 1V13C0.25 13.4142 0.585786 13.75 1 13.75H13C13.4142 13.75 13.75 13.4142 13.75 13V11.5C13.75 11.0858 13.4142 10.75 13 10.75C12.5858 10.75 12.25 11.0858 12.25 11.5V12.25H1.75V1.75H12.25V2.5C12.25 2.91421 12.5858 3.25 13 3.25C13.4142 3.25 13.75 2.91421 13.75 2.5V1C13.75 0.585786 13.4142 0.25 13 0.25H1ZM13.75 5.5C13.75 5.08579 13.4142 4.75 13 4.75C12.5858 4.75 12.25 5.08579 12.25 5.5V8.5C12.25 8.91421 12.5858 9.25 13 9.25C13.4142 9.25 13.75 8.91421 13.75 8.5V5.5Z", fill: color })));
|
|
29
|
-
};
|
package/esm/icon/bot.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var BotIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 18 18", fill: "none" }, rootProps),
|
|
28
|
-
React.createElement("rect", { x: "2.25", y: "8.25", width: "13.5", height: "7.5", rx: "1.5", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
29
|
-
React.createElement("circle", { cx: "9", cy: "3.75", r: "1.5", stroke: color, strokeWidth: "1.5" }),
|
|
30
|
-
React.createElement("path", { d: "M9 5.25V8.25", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
31
|
-
React.createElement("circle", { cx: "6.1875", cy: "12.1875", r: "0.9375", stroke: color }),
|
|
32
|
-
React.createElement("circle", { cx: "12.1875", cy: "12.1875", r: "0.9375", stroke: color })));
|
|
33
|
-
};
|
package/esm/icon/browsers.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import * as React from 'react';
|
|
24
|
-
import { SvgIcon } from '../svg-icon';
|
|
25
|
-
export var BrowsersIcon = function (_a) {
|
|
26
|
-
var _b = _a.color, color = _b === void 0 ? 'currentColor' : _b, rootProps = __rest(_a, ["color"]);
|
|
27
|
-
return (React.createElement(SvgIcon, __assign({ viewBox: "0 0 18 18", fill: "none" }, rootProps),
|
|
28
|
-
React.createElement("line", { x1: "3.75", y1: "7.25", x2: "8.25", y2: "7.25", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
29
|
-
React.createElement("line", { x1: "10.75", y1: "7.25", x2: "11.25", y2: "7.25", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
30
|
-
React.createElement("rect", { x: "1", y: "4", width: "13", height: "12", rx: "2", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
31
|
-
React.createElement("path", { d: "M5 1H13C15.2091 1 17 2.79086 17 5V12", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
32
|
-
};
|