@geotab/zenith 3.9.0 → 3.9.1-nightly.20260508.59e6da4
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/README.md +4 -0
- package/dist/bookmark/bookmark.d.ts +2 -1
- package/dist/bookmark/bookmark.js +4 -2
- package/dist/dataFeed/hooks/useVisibleColumns.js +1 -1
- package/dist/dataGrid/extensions/toBasicColumn.js +2 -1
- package/dist/dataGrid/listColumn.d.ts +1 -0
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +2 -2
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +5 -5
- package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.js +15 -6
- package/dist/icons/iconAlignLeft.js +3 -1
- package/dist/icons/iconAlignmentLeft.js +3 -1
- package/dist/icons/iconAlignmentRight.js +3 -1
- package/dist/icons/iconArrowBottomLeft.js +3 -1
- package/dist/icons/iconArrowBottomRight.js +3 -1
- package/dist/icons/iconArrowLeftPath.js +3 -1
- package/dist/icons/iconArrowRight.js +3 -1
- package/dist/icons/iconArrowRightCircle.js +3 -1
- package/dist/icons/iconArrowRightPath.js +3 -1
- package/dist/icons/iconArrowTopLeft.js +3 -1
- package/dist/icons/iconArrowTopRight.js +3 -1
- package/dist/icons/iconChevronDoubleRight.js +3 -1
- package/dist/icons/iconChevronRight.js +3 -1
- package/dist/icons/iconChevronRightSmall.js +3 -1
- package/dist/icons/iconCornerDownLeft.js +3 -1
- package/dist/icons/iconCornerDownRight.js +3 -1
- package/dist/icons/iconCornerLeftDown.js +3 -1
- package/dist/icons/iconCornerLeftUp.js +3 -1
- package/dist/icons/iconCornerRightDown.js +3 -1
- package/dist/icons/iconCornerRightUp.js +3 -1
- package/dist/icons/iconCornerUpLeft.js +3 -1
- package/dist/icons/iconCornerUpRight.js +3 -1
- package/dist/icons/iconLayoutSidebar.js +3 -1
- package/dist/icons/iconPinFilled.d.ts +3 -0
- package/dist/icons/iconPinFilled.js +12 -0
- package/dist/icons/iconSidebar.js +3 -1
- package/dist/icons/iconUndock.js +3 -1
- package/dist/index.css +208 -180
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -6
- package/dist/list/listItem/listItem.d.ts +3 -1
- package/dist/list/listItem/listItem.js +4 -2
- package/dist/nav/nav.d.ts +7 -1
- package/dist/nav/nav.js +11 -6
- package/dist/nav/navEmpty/navEmpty.d.ts +10 -0
- package/dist/nav/navEmpty/navEmpty.js +7 -0
- package/dist/table/flexible/columnsList.d.ts +1 -2
- package/dist/table/flexible/columnsList.js +6 -5
- package/dist/table/flexible/columnsPopup.js +0 -3
- package/dist/table/flexible/useFlexibleColumns.d.ts +1 -0
- package/dist/table/flexible/useFlexibleColumns.js +4 -3
- package/dist/table/loading/useLoading.d.ts +1 -0
- package/dist/table/loading/useLoading.js +1 -1
- package/dist/table/nested/useNestedRows.d.ts +1 -0
- package/dist/table/table.d.ts +1 -0
- package/dist/table/table.js +7 -2
- package/dist/tabs/tabItem/tabItem.d.ts +2 -1
- package/dist/tabs/tabItem/tabItem.js +4 -2
- package/dist/tabs/tabs.d.ts +1 -0
- package/dist/tabs/tabs.js +2 -1
- package/dist/utils/localization/flipAlignment.d.ts +2 -0
- package/dist/utils/localization/flipAlignment.js +19 -0
- package/dist/utils/localization/makeLanguageWrapper.d.ts +8 -0
- package/dist/utils/localization/makeLanguageWrapper.js +11 -0
- package/dist/utils/localization/useIsRTL.d.ts +1 -0
- package/dist/utils/localization/useIsRTL.js +6 -0
- package/dist/utils/localization/useRTLAlignment.d.ts +2 -0
- package/dist/utils/localization/useRTLAlignment.js +10 -0
- package/esm/bookmark/bookmark.d.ts +2 -1
- package/esm/bookmark/bookmark.js +4 -2
- package/esm/dataFeed/hooks/useVisibleColumns.js +1 -1
- package/esm/dataGrid/extensions/toBasicColumn.js +2 -1
- package/esm/dataGrid/listColumn.d.ts +1 -0
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +2 -2
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +5 -5
- package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.js +15 -6
- package/esm/icons/iconAlignLeft.js +3 -1
- package/esm/icons/iconAlignmentLeft.js +3 -1
- package/esm/icons/iconAlignmentRight.js +3 -1
- package/esm/icons/iconArrowBottomLeft.js +3 -1
- package/esm/icons/iconArrowBottomRight.js +3 -1
- package/esm/icons/iconArrowLeftPath.js +3 -1
- package/esm/icons/iconArrowRight.js +3 -1
- package/esm/icons/iconArrowRightCircle.js +3 -1
- package/esm/icons/iconArrowRightPath.js +3 -1
- package/esm/icons/iconArrowTopLeft.js +3 -1
- package/esm/icons/iconArrowTopRight.js +3 -1
- package/esm/icons/iconChevronDoubleRight.js +3 -1
- package/esm/icons/iconChevronRight.js +3 -1
- package/esm/icons/iconChevronRightSmall.js +3 -1
- package/esm/icons/iconCornerDownLeft.js +3 -1
- package/esm/icons/iconCornerDownRight.js +3 -1
- package/esm/icons/iconCornerLeftDown.js +3 -1
- package/esm/icons/iconCornerLeftUp.js +3 -1
- package/esm/icons/iconCornerRightDown.js +3 -1
- package/esm/icons/iconCornerRightUp.js +3 -1
- package/esm/icons/iconCornerUpLeft.js +3 -1
- package/esm/icons/iconCornerUpRight.js +3 -1
- package/esm/icons/iconLayoutSidebar.js +3 -1
- package/esm/icons/iconPinFilled.d.ts +3 -0
- package/esm/icons/iconPinFilled.js +8 -0
- package/esm/icons/iconSidebar.js +3 -1
- package/esm/icons/iconUndock.js +3 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/list/listItem/listItem.d.ts +3 -1
- package/esm/list/listItem/listItem.js +4 -2
- package/esm/nav/nav.d.ts +7 -1
- package/esm/nav/nav.js +11 -6
- package/esm/nav/navEmpty/navEmpty.d.ts +10 -0
- package/esm/nav/navEmpty/navEmpty.js +3 -0
- package/esm/table/flexible/columnsList.d.ts +1 -2
- package/esm/table/flexible/columnsList.js +6 -5
- package/esm/table/flexible/columnsPopup.js +0 -3
- package/esm/table/flexible/useFlexibleColumns.d.ts +1 -0
- package/esm/table/flexible/useFlexibleColumns.js +4 -3
- package/esm/table/loading/useLoading.d.ts +1 -0
- package/esm/table/loading/useLoading.js +1 -1
- package/esm/table/nested/useNestedRows.d.ts +1 -0
- package/esm/table/table.d.ts +1 -0
- package/esm/table/table.js +7 -2
- package/esm/tabs/tabItem/tabItem.d.ts +2 -1
- package/esm/tabs/tabItem/tabItem.js +4 -2
- package/esm/tabs/tabs.d.ts +1 -0
- package/esm/tabs/tabs.js +2 -1
- package/esm/utils/localization/flipAlignment.d.ts +2 -0
- package/esm/utils/localization/flipAlignment.js +15 -0
- package/esm/utils/localization/makeLanguageWrapper.d.ts +8 -0
- package/esm/utils/localization/makeLanguageWrapper.js +7 -0
- package/esm/utils/localization/useIsRTL.d.ts +1 -0
- package/esm/utils/localization/useIsRTL.js +2 -0
- package/esm/utils/localization/useRTLAlignment.d.ts +2 -0
- package/esm/utils/localization/useRTLAlignment.js +6 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@ import { IZenComponentProps } from "../commonHelpers/zenComponent";
|
|
|
3
3
|
export interface IBookmark extends IZenComponentProps {
|
|
4
4
|
bookmarked: boolean;
|
|
5
5
|
onChange: (bookmarkState: boolean) => void;
|
|
6
|
+
dataAnalyticsId?: string;
|
|
6
7
|
}
|
|
7
|
-
export declare const Bookmark: ({ className, bookmarked, onChange }: IBookmark) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const Bookmark: ({ className, bookmarked, onChange, dataAnalyticsId }: IBookmark) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export declare const TRANSLATIONS: string[];
|
|
@@ -75,7 +75,8 @@ const iconBookmarkSelectedHover_1 = require("../icons/iconBookmarkSelectedHover"
|
|
|
75
75
|
const Bookmark = ({
|
|
76
76
|
className,
|
|
77
77
|
bookmarked,
|
|
78
|
-
onChange
|
|
78
|
+
onChange,
|
|
79
|
+
dataAnalyticsId
|
|
79
80
|
}) => {
|
|
80
81
|
const [isHovered, setIsHovered] = (0, react_1.useState)(false);
|
|
81
82
|
const {
|
|
@@ -108,7 +109,8 @@ const Bookmark = ({
|
|
|
108
109
|
iconSize: isDrive ? (0, svgIconSize_1.driveIconSize)("large") : "large",
|
|
109
110
|
iconClasses: `zen-page-bookmark__icon zen-page-bookmark__icon${bookmarked ? "--active" : "--inactive"}`,
|
|
110
111
|
"aria-label": title,
|
|
111
|
-
title: title
|
|
112
|
+
title: title,
|
|
113
|
+
dataAnalyticsId: dataAnalyticsId
|
|
112
114
|
})
|
|
113
115
|
});
|
|
114
116
|
};
|
|
@@ -10,7 +10,7 @@ const useVisibleColumns = (columnsList, expanded, options) => {
|
|
|
10
10
|
secondaryColumns = expanded ? columnsList.slice(visibleColumns) : [];
|
|
11
11
|
return { mainColumns, secondaryColumns };
|
|
12
12
|
}
|
|
13
|
-
mainColumns = columnsList.slice(0, columnsList.length - collapsedColumnsQty);
|
|
13
|
+
mainColumns = columnsList.slice(0, Math.max(1, columnsList.length - collapsedColumnsQty));
|
|
14
14
|
secondaryColumns = expanded ? columnsList.slice(mainColumns.length) : [];
|
|
15
15
|
return { mainColumns, secondaryColumns };
|
|
16
16
|
};
|
|
@@ -9,8 +9,9 @@ const DEFAULT_META = {
|
|
|
9
9
|
visibleOnHover: false
|
|
10
10
|
};
|
|
11
11
|
const toBasicColumn = (column) => {
|
|
12
|
+
var _a;
|
|
12
13
|
const defaultColumn = (0, defaultColumnComponent_1.defaultColumnComponent)(column.id);
|
|
13
14
|
const columnComponent = column.columnComponent || defaultColumn;
|
|
14
|
-
return Object.assign(Object.assign({}, column), { name: column.name || column.id || "", meta: Object.assign(Object.assign({}, DEFAULT_META), (column.meta || {})), columnComponent: columnComponent, wrappers: column.wrappers || [], colspan: column.colspan || 1 });
|
|
15
|
+
return Object.assign(Object.assign({}, column), { name: column.name || column.id || "", meta: Object.assign(Object.assign({}, DEFAULT_META), (column.meta || {})), columnComponent: columnComponent, wrappers: column.wrappers || [], alwaysVisible: (_a = column.alwaysVisible) !== null && _a !== void 0 ? _a : false, colspan: column.colspan || 1 });
|
|
15
16
|
};
|
|
16
17
|
exports.toBasicColumn = toBasicColumn;
|
|
@@ -17,6 +17,7 @@ export interface IListColumn<T, N = T> {
|
|
|
17
17
|
meta?: IListColumnMeta<T, N>;
|
|
18
18
|
columnComponent?: IColumnComponent<T, N>;
|
|
19
19
|
wrappers?: IListColumnWrapper<T, N>[];
|
|
20
|
+
alwaysVisible?: boolean;
|
|
20
21
|
colspan?: undefined | number | ((entity: T | N) => number | undefined);
|
|
21
22
|
}
|
|
22
23
|
export type TRenderResult = ReactNode | PromiseLike<ReactNode | undefined> | undefined;
|
|
@@ -6,10 +6,10 @@ import { IRowEntity } from "../../row/row";
|
|
|
6
6
|
interface IColumnSettingsList<T extends IRowEntity<T>> extends IZenComponentProps {
|
|
7
7
|
columns: IListFlexibleColumnStrict<T, T>[];
|
|
8
8
|
settings: Map<string, boolean>;
|
|
9
|
-
|
|
9
|
+
disabledColumns?: string[];
|
|
10
10
|
onChange?: (newState: Map<string, boolean>) => void;
|
|
11
11
|
sortGroups?: (a: string, b: string) => number;
|
|
12
12
|
sortColumns?: (a: string, b: string) => number;
|
|
13
13
|
}
|
|
14
|
-
export declare function ColumnSettingsList<T extends IRowEntity<T> & IColumnsGroup>({ columns, settings,
|
|
14
|
+
export declare function ColumnSettingsList<T extends IRowEntity<T> & IColumnsGroup>({ columns, settings, disabledColumns, onChange, sortGroups, sortColumns }: IColumnSettingsList<T>): import("react/jsx-runtime").JSX.Element[];
|
|
15
15
|
export {};
|
|
@@ -6,7 +6,7 @@ const react_1 = require("react");
|
|
|
6
6
|
const groupColumns_1 = require("../../extensions/groupColumns");
|
|
7
7
|
const selectList_1 = require("../../../selectList/selectList");
|
|
8
8
|
const checkboxState_1 = require("../../../checkbox/checkboxState");
|
|
9
|
-
const SubColumnsList = ({ title, columns, settings,
|
|
9
|
+
const SubColumnsList = ({ title, columns, settings, disabledColumns, onChange, sortColumns }) => {
|
|
10
10
|
const id = (0, react_1.useId)();
|
|
11
11
|
const sortColumnsInt = (0, react_1.useCallback)((a, b) => {
|
|
12
12
|
if (sortColumns) {
|
|
@@ -17,10 +17,10 @@ const SubColumnsList = ({ title, columns, settings, firstColumn, onChange, sortC
|
|
|
17
17
|
const items = (0, react_1.useMemo)(() => columns.sort(sortColumnsInt).map(c => ({
|
|
18
18
|
id: c.id,
|
|
19
19
|
title: c.title,
|
|
20
|
-
disabled: c.name
|
|
20
|
+
disabled: (disabledColumns === null || disabledColumns === void 0 ? void 0 : disabledColumns.includes(c.name)) || false,
|
|
21
21
|
showCheckbox: true,
|
|
22
22
|
children: c.title
|
|
23
|
-
})), [columns,
|
|
23
|
+
})), [columns, disabledColumns, sortColumnsInt]);
|
|
24
24
|
const state = columns.reduce((res, c) => {
|
|
25
25
|
res.set(c.id, settings.get(c.name) !== false ? checkboxState_1.CheckboxState.On : checkboxState_1.CheckboxState.Off);
|
|
26
26
|
return res;
|
|
@@ -39,7 +39,7 @@ const SubColumnsList = ({ title, columns, settings, firstColumn, onChange, sortC
|
|
|
39
39
|
}
|
|
40
40
|
return ((0, jsx_runtime_1.jsxs)("div", { className: "zen-columns-list__sub-section", children: [(0, jsx_runtime_1.jsx)("div", { className: "zen-columns-list__title zen-ellipsis", children: title }), list] }));
|
|
41
41
|
};
|
|
42
|
-
function ColumnSettingsList({ columns, settings,
|
|
42
|
+
function ColumnSettingsList({ columns, settings, disabledColumns, onChange, sortGroups, sortColumns }) {
|
|
43
43
|
const groupped = (0, groupColumns_1.groupColumns)(columns);
|
|
44
44
|
const sortGroupsInt = (0, react_1.useCallback)((a, b) => {
|
|
45
45
|
if (sortGroups) {
|
|
@@ -49,6 +49,6 @@ function ColumnSettingsList({ columns, settings, firstColumn, onChange, sortGrou
|
|
|
49
49
|
}, [sortGroups]);
|
|
50
50
|
return Array.from(groupped.entries())
|
|
51
51
|
.sort(sortGroupsInt)
|
|
52
|
-
.map(([title, cs]) => ((0, jsx_runtime_1.jsx)(SubColumnsList, { title: title, columns: cs, settings: settings,
|
|
52
|
+
.map(([title, cs]) => ((0, jsx_runtime_1.jsx)(SubColumnsList, { title: title, columns: cs, settings: settings, disabledColumns: disabledColumns, onChange: onChange, sortColumns: sortColumns }, cs.map(c => c.id).join("-"))));
|
|
53
53
|
}
|
|
54
54
|
exports.ColumnSettingsList = ColumnSettingsList;
|
|
@@ -13,6 +13,7 @@ const flexibleColumnWrapper_1 = require("./columns/flexibleColumnWrapper");
|
|
|
13
13
|
const columnSettings_1 = require("./components/columnSettings");
|
|
14
14
|
const columnSettingsList_1 = require("./components/columnSettingsList");
|
|
15
15
|
const columnSettingsSidePanel_1 = require("./components/columnSettingsSidePanel");
|
|
16
|
+
const emptySearchList_1 = require("../emptySearchList/emptySearchList");
|
|
16
17
|
const zen_1 = require("../../utils/zen");
|
|
17
18
|
// T - type of entity
|
|
18
19
|
// P - props of wrapped component
|
|
@@ -25,6 +26,7 @@ const withFlexibleColumns = (DataGridComponent) => {
|
|
|
25
26
|
const [isPanelOpen, setIsPanelOpen] = (0, react_1.useState)(false);
|
|
26
27
|
const allColumns = (0, react_1.useMemo)(() => columns.map(column => (Object.assign(Object.assign({}, (0, toBasicColumn_1.toBasicColumn)(Object.assign({}, column))), { visible: column.visible !== false, group: column.group || "" }))), [columns]);
|
|
27
28
|
const columnsSettings = (0, react_1.useMemo)(() => (0, flexibleColumnsStorage_1.mergeColumnsSettings)(allColumns, options.columnsSettings || settingsStore.getItem()), [allColumns, options.columnsSettings, settingsStore]);
|
|
29
|
+
const hasConfigurableColumns = (0, react_1.useMemo)(() => allColumns.filter(c => c.title).some(c => !c.alwaysVisible), [allColumns]);
|
|
28
30
|
const visibleColumns = (0, react_1.useMemo)(() => {
|
|
29
31
|
const visibleColumnsMap = new Map(allColumns.map(c => [c.name, c]));
|
|
30
32
|
return columnsSettings
|
|
@@ -66,10 +68,12 @@ const withFlexibleColumns = (DataGridComponent) => {
|
|
|
66
68
|
}, 0);
|
|
67
69
|
}), [settingsStore]);
|
|
68
70
|
const listOfColumns = (0, react_1.useMemo)(() => {
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
+
const configurableColumnNames = new Set(allColumns.filter(c => c.title).map(c => c.name));
|
|
72
|
+
const visibleConfigurableSettings = columnsSettings.filter(s => s.visible && configurableColumnNames.has(s.name));
|
|
73
|
+
const lastVisibleColumn = visibleConfigurableSettings.length === 1 ? [visibleConfigurableSettings[0].name] : [];
|
|
74
|
+
const disabledColumns = [...allColumns.filter(c => c.alwaysVisible).map(c => c.name), ...lastVisibleColumn];
|
|
71
75
|
const columnSettingsMap = new Map(columnsSettings.map(s => [s.name, s.visible]));
|
|
72
|
-
return ((0, jsx_runtime_1.jsx)(columnSettingsList_1.ColumnSettingsList, { columns: allColumns.filter(c => c.title), settings: columnSettingsMap,
|
|
76
|
+
return ((0, jsx_runtime_1.jsx)(columnSettingsList_1.ColumnSettingsList, { columns: allColumns.filter(c => c.title), settings: columnSettingsMap, disabledColumns: disabledColumns, onChange: async (newSettings) => {
|
|
73
77
|
const settings = columnsSettings.map(s => {
|
|
74
78
|
const visible = newSettings.get(s.name) !== false;
|
|
75
79
|
return Object.assign(Object.assign({}, s), { visible });
|
|
@@ -77,7 +81,7 @@ const withFlexibleColumns = (DataGridComponent) => {
|
|
|
77
81
|
await saveSettingsToTheStore(settings);
|
|
78
82
|
onChangeSettings(settings);
|
|
79
83
|
}, sortGroups: sortGroups, sortColumns: sortColumns }));
|
|
80
|
-
}, [columnsSettings, allColumns, saveSettingsToTheStore, onChangeSettings,
|
|
84
|
+
}, [columnsSettings, allColumns, saveSettingsToTheStore, onChangeSettings, sortGroups, sortColumns]);
|
|
81
85
|
const onReorderListener = (0, react_1.useCallback)(async ([from, to]) => {
|
|
82
86
|
if (from === to) {
|
|
83
87
|
return;
|
|
@@ -137,10 +141,15 @@ const withFlexibleColumns = (DataGridComponent) => {
|
|
|
137
141
|
onResetSettings();
|
|
138
142
|
setIsPanelOpen(false);
|
|
139
143
|
}, [onResetSettings, saveSettingsToTheStore]);
|
|
140
|
-
|
|
144
|
+
(0, react_1.useEffect)(() => {
|
|
145
|
+
if (popupTriggerRef === null || popupTriggerRef === void 0 ? void 0 : popupTriggerRef.current) {
|
|
146
|
+
popupTriggerRef.current.style.display = hasConfigurableColumns ? "" : "none";
|
|
147
|
+
}
|
|
148
|
+
}, [popupTriggerRef, hasConfigurableColumns]);
|
|
149
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [popupTriggerRef && hasConfigurableColumns ? (options.isFeed ? ((0, jsx_runtime_1.jsx)(columnSettingsSidePanel_1.ColumnSettingsSidePanel, { triggerRef: popupTriggerRef, isOpen: isPanelOpen, onOpen: () => setIsPanelOpen(true), onClose: () => setIsPanelOpen(false), onReset: onResetListener, children: (0, jsx_runtime_1.jsx)(columnSettings_1.ColumnSettings, { onReset: onResetListener, showFooter: false, children: listOfColumns }) })) : ((0, jsx_runtime_1.jsx)(popup_1.Popup, { triggerRef: popupTriggerRef, alignment: "bottom-right", children: (0, jsx_runtime_1.jsx)(columnSettings_1.ColumnSettings, { onReset: onResetListener, children: listOfColumns }) }, "flexible-popup"))) : null, visibleColumns.length === 0 && hasConfigurableColumns ? ((0, jsx_runtime_1.jsx)("div", { className: "zen-data-grid__empty", children: (0, jsx_runtime_1.jsx)(emptySearchList_1.EmptySearchList, {}) })) : ((0, jsx_runtime_1.jsx)(DataGridComponent, Object.assign({}, props, { columns: [...visibleColumns], ref: gridRef }), "grid"))] }));
|
|
141
150
|
};
|
|
142
151
|
FlexibleColumnsComponent.displayName = `withFlexibleColumns(${DataGridComponent.displayName || DataGridComponent.name || "Component"})`;
|
|
143
152
|
return FlexibleColumnsComponent;
|
|
144
153
|
};
|
|
145
154
|
exports.withFlexibleColumns = withFlexibleColumns;
|
|
146
|
-
exports.withFlexibleColumns.translations = [...columnSettings_1.ColumnSettings.translations, ...columnSettingsSidePanel_1.ColumnSettingsSidePanel.translations];
|
|
155
|
+
exports.withFlexibleColumns.translations = [...columnSettings_1.ColumnSettings.translations, ...columnSettingsSidePanel_1.ColumnSettingsSidePanel.translations, ...emptySearchList_1.EmptySearchList.translations];
|
|
@@ -4,9 +4,11 @@ exports.IconAlignLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconAlignLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconAlignLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 4.87a1 1 0 011-1h16a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1v-16zm2 1v14h14v-14H5zm3 2a1 1 0 011 1v8a1 1 0 11-2 0v-8a1 1 0 011-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconAlignLeft = IconAlignLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconAlignmentLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconAlignmentLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconAlignmentLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 5.87a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1zm0 7a1 1 0 011-1h8a1 1 0 110 2H4a1 1 0 01-1-1zm0 7a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconAlignmentLeft = IconAlignmentLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconAlignmentRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconAlignmentRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconAlignmentRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 5.87a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1zm8 7a1 1 0 011-1h8a1 1 0 110 2h-8a1 1 0 01-1-1zm-8 7a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconAlignmentRight = IconAlignmentRight;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowBottomLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowBottomLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowBottomLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16 18.87a1 1 0 01-1 1H6a1 1 0 01-1-1v-9a1 1 0 112 0v6.585l9.793-9.792a1 1 0 111.414 1.414L8.414 17.87H15a1 1 0 011 1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowBottomLeft = IconArrowBottomLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowBottomRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowBottomRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowBottomRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 8.87a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 110-2h6.586L5.793 8.077a1 1 0 011.414-1.414L17 16.455V9.87a1 1 0 011-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowBottomRight = IconArrowBottomRight;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowLeftPath = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowLeftPath = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowLeftPath", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.413 4.959a1 1 0 01.587.91v3h10a1 1 0 011 1v6a1 1 0 01-1 1H11v3a1 1 0 01-1.659.753l-8-7a1 1 0 010-1.505l8-7a1 1 0 011.072-.158zm-6.894 7.91L9 17.667V15.87a1 1 0 011-1h10v-4H10a1 1 0 01-1-1V8.073L3.519 12.87z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowLeftPath = IconArrowLeftPath;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21 12.87a1 1 0 01-.293.707l-6 6a1 1 0 11-1.414-1.415l4.293-4.292H4a1 1 0 110-2h13.586l-4.293-4.293a1 1 0 011.414-1.414l6 6a1 1 0 01.293.707z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowRight = IconArrowRight;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowRightCircle = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowRightCircle = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowRightCircle", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20 12.87a8 8 0 10-16 0 8 8 0 0016 0zm-8-10c5.523 0 10 4.477 10 10 0 5.522-4.477 10-10 10s-10-4.478-10-10c0-5.523 4.477-10 10-10zm1.707 6.293l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.415l1.293-1.292H8a1 1 0 110-2h5.586l-1.293-1.293a1 1 0 011.414-1.414z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowRightCircle = IconArrowRightCircle;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowRightPath = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowRightPath = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowRightPath", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.587 4.959a1 1 0 011.072.158l8 7a1 1 0 010 1.505l-8 7A1 1 0 0113 19.87v-3H3a1 1 0 01-1-1v-6a1 1 0 011-1h10v-3a1 1 0 01.587-.911zM15 8.073V9.87a1 1 0 01-1 1H4v4h10a1 1 0 011 1v1.796l5.481-4.796L15 8.073z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowRightPath = IconArrowRightPath;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowTopLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowTopLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowTopLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 16.87a1 1 0 01-1-1v-9a1 1 0 011-1h9a1 1 0 110 2H8.414l9.793 9.793a1 1 0 01-1.414 1.414L7 9.284v6.586a1 1 0 01-1 1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowTopLeft = IconArrowTopLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconArrowTopRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconArrowTopRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconArrowTopRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.87a1 1 0 011-1h9a1 1 0 011 1v9a1 1 0 11-2 0V9.284l-9.793 9.793a1 1 0 11-1.414-1.415l9.793-9.792H9a1 1 0 01-1-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconArrowTopRight = IconArrowTopRight;
|
|
@@ -4,9 +4,11 @@ exports.IconChevronDoubleRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconChevronDoubleRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconChevronDoubleRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.293 8.163a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 11-1.414-1.415l3.293-3.292-3.293-3.293a1 1 0 010-1.414zm7 0a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 11-1.414-1.415l3.293-3.292-3.293-3.293a1 1 0 010-1.414z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconChevronDoubleRight = IconChevronDoubleRight;
|
|
@@ -4,9 +4,11 @@ exports.IconChevronRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconChevronRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconChevronRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.293 4.163a1 1 0 011.414 0l8 8a1 1 0 010 1.414l-8 8a1 1 0 11-1.414-1.415l7.293-7.292-7.293-7.293a1 1 0 010-1.414z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconChevronRight = IconChevronRight;
|
|
@@ -4,9 +4,11 @@ exports.IconChevronRightSmall = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconChevronRightSmall = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconChevronRightSmall", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.293 8.163a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 11-1.414-1.415l3.293-3.292-3.293-3.293a1 1 0 010-1.414z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconChevronRightSmall = IconChevronRightSmall;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerDownLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerDownLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerDownLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20 4.87a1 1 0 00-1 1v9H6.414l2.293-2.293a1 1 0 10-1.414-1.415l-4 4a1 1 0 000 1.415l4 4a1 1 0 101.414-1.415L6.414 16.87H20a1 1 0 001-1v-10a1 1 0 00-1-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerDownLeft = IconCornerDownLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerDownRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerDownRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerDownRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 4.87a1 1 0 011 1v9h12.586l-2.293-2.293a1 1 0 011.414-1.415l4 4a1 1 0 010 1.415l-4 4a1 1 0 11-1.414-1.415l2.293-2.292H4a1 1 0 01-1-1v-10a1 1 0 011-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerDownRight = IconCornerDownRight;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerLeftDown = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerLeftDown = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerLeftDown", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21 4.87a1 1 0 01-1 1H9v12.585l2.293-2.292a1 1 0 011.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.415L7 18.456V4.87a1 1 0 011-1h12a1 1 0 011 1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerLeftDown = IconCornerLeftDown;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerLeftUp = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerLeftUp = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerLeftUp", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.293 4.163a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L9 7.284V19.87h11a1 1 0 110 2H8a1 1 0 01-1-1V7.284L4.707 9.577a1 1 0 01-1.414-1.414l4-4z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerLeftUp = IconCornerLeftUp;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerRightDown = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerRightDown = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerRightDown", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 4.87a1 1 0 001 1h11v12.585l-2.293-2.292a1 1 0 00-1.414 1.414l4 4a1 1 0 001.414 0l4-4a1 1 0 00-1.414-1.415L17 18.456V4.87a1 1 0 00-1-1H4a1 1 0 00-1 1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerRightDown = IconCornerRightDown;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerRightUp = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerRightUp = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerRightUp", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.293 4.163a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L17 7.284V20.87a1 1 0 01-1 1H4a1 1 0 110-2h11V7.284l-2.293 2.293a1 1 0 11-1.414-1.414l4-4z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerRightUp = IconCornerRightUp;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerUpLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerUpLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerUpLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M20 20a1 1 0 0 1-1-1v-9H6.414l2.293 2.293a1 1 0 1 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 1.414L6.414 8H20a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1", clipRule: "evenodd" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerUpLeft = IconCornerUpLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconCornerUpRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconCornerUpRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconCornerUpRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 20.87a1 1 0 001-1v-9h12.586l-2.293 2.293a1 1 0 001.414 1.414l4-4a1 1 0 000-1.414l-4-4a1 1 0 10-1.414 1.414l2.293 2.293H4a1 1 0 00-1 1v10a1 1 0 001 1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconCornerUpRight = IconCornerUpRight;
|
|
@@ -4,9 +4,11 @@ exports.IconLayoutSidebar = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconLayoutSidebar = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconLayoutSidebar", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 4.87a1 1 0 011-1h16a1 1 0 011 1v16a1 1 0 01-1 1H10 4a1 1 0 01-1-1v-16zm8 15h8v-6h-8v6zm0-8h8v-6h-8v6zm-2-6v14H5v-14h4z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconLayoutSidebar = IconLayoutSidebar;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IconPinFilled = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const IconPinFilled = ({ className, size, title, description, focusable = false }) => {
|
|
8
|
+
const uniqueId = (0, react_1.useId)();
|
|
9
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", className !== null && className !== void 0 ? className : ""]), [size, className]);
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconPinFilled", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 3C6.5 2.44772 6.94772 2 7.5 2H16.5C17.0523 2 17.5 2.44772 17.5 3V6.99695C17.5 8.65455 18.1585 10.2443 19.3306 11.4164L19.7071 11.7929C19.8946 11.9804 20 12.2348 20 12.5V15C20 15.5523 19.5523 16 19 16H13V21C13 21.5523 12.5523 22 12 22C11.4477 22 11 21.5523 11 21V16H5C4.44772 16 4 15.5523 4 15V12.5C4 12.2348 4.10536 11.9804 4.29289 11.7929L4.66942 11.4164C5.84152 10.2443 6.5 8.65455 6.5 6.99695V3Z" })] }));
|
|
11
|
+
};
|
|
12
|
+
exports.IconPinFilled = IconPinFilled;
|