@geotab/zenith 3.9.2 → 3.10.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -3
- package/dist/absolute/absolute.d.ts +7 -1
- package/dist/absolute/absolute.js +8 -4
- package/dist/alertRaw/alertRaw.js +4 -4
- package/dist/alertRaw/components/alertAnimation.js +2 -2
- package/dist/banner/bannerMultipLine.js +4 -4
- package/dist/banner/bannerSingleLine.js +4 -4
- package/dist/betaPill/betaPill.d.ts +4 -9
- package/dist/betaPill/betaPill.js +7 -8
- package/dist/bookmark/bookmark.d.ts +2 -1
- package/dist/bookmark/bookmark.js +4 -2
- package/dist/card/components/cardButton/cardButton.d.ts +2 -1
- package/dist/card/components/cardButton/cardButton.js +3 -3
- package/dist/checkbox/checkbox.js +2 -2
- package/dist/commonStyles/rangeFieldMixin.less +9 -9
- package/dist/controlledPopup/controlledPopup.d.ts +2 -1
- package/dist/controlledPopup/controlledPopup.js +2 -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/dialog/dialogContent.js +4 -4
- package/dist/dropdownRaw/dropdownHelper.d.ts +4 -1
- package/dist/dropdownRaw/dropdownHelper.js +2 -1
- package/dist/dropdownRaw/dropdownRaw.js +2 -2
- package/dist/dropdownRaw/dropdownTrigger.d.ts +1 -1
- package/dist/dropdownRaw/dropdownTrigger.js +1 -1
- package/dist/fileUpload/components/uploadedFilesSection.js +3 -3
- package/dist/filters/components/filtersSavedChipComponent.js +3 -3
- package/dist/filters/components/filtersSearchItemData.js +3 -3
- package/dist/filters/components/filtersSidePanel.js +4 -4
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +4 -4
- package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +13 -13
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +1 -1
- package/dist/headerTitle/headerTitle.d.ts +3 -9
- package/dist/headerTitle/headerTitle.js +2 -3
- 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 +556 -504
- 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/menu/controlledMenu.d.ts +1 -0
- package/dist/menu/controlledMenu.js +2 -2
- package/dist/mobileSheet/mobileSheet.js +4 -4
- package/dist/modal/modal.js +4 -4
- 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/notification/notification.js +4 -4
- package/dist/notification/pushNotification/pushNotification.js +1 -1
- package/dist/pill/components/pillNonActionable/pillNonActionable.js +4 -4
- package/dist/pillExpandable/pillExpandable.js +4 -4
- package/dist/table/detailPanel/detailPanelHeader.js +4 -4
- 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/selectable/useSelectableRows.js +23 -5
- 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/toastRaw/components/toastAnimation.js +2 -2
- package/dist/toastRaw/toastRaw.js +4 -4
- package/dist/toggleButtonRaw/toggleButtonRaw.js +13 -13
- package/dist/tooltip/tooltip.js +4 -4
- 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/translations/cs.json +2 -2
- package/dist/utils/localization/translations/da-DK.json +2 -2
- package/dist/utils/localization/translations/es.json +2 -2
- package/dist/utils/localization/translations/fi-FI.json +1 -1
- package/dist/utils/localization/translations/hu-HU.json +2 -2
- package/dist/utils/localization/translations/ko-KR.json +2 -2
- package/dist/utils/localization/translations/ms.json +1 -1
- package/dist/utils/localization/translations/nb-NO.json +1 -1
- package/dist/utils/localization/translations/pt-BR.json +2 -2
- package/dist/utils/localization/translations/pt-PT.json +3 -3
- package/dist/utils/localization/translations/ro-RO.json +5 -5
- package/dist/utils/localization/translations/sk-SK.json +1 -1
- package/dist/utils/localization/translations/zh-Hans.json +1 -1
- 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/absolute/absolute.d.ts +7 -1
- package/esm/absolute/absolute.js +8 -4
- package/esm/alertRaw/alertRaw.js +4 -4
- package/esm/alertRaw/components/alertAnimation.js +2 -2
- package/esm/banner/bannerMultipLine.js +4 -4
- package/esm/banner/bannerSingleLine.js +4 -4
- package/esm/betaPill/betaPill.d.ts +4 -9
- package/esm/betaPill/betaPill.js +7 -8
- package/esm/bookmark/bookmark.d.ts +2 -1
- package/esm/bookmark/bookmark.js +4 -2
- package/esm/card/components/cardButton/cardButton.d.ts +2 -1
- package/esm/card/components/cardButton/cardButton.js +3 -3
- package/esm/checkbox/checkbox.js +2 -2
- package/esm/controlledPopup/controlledPopup.d.ts +2 -1
- package/esm/controlledPopup/controlledPopup.js +2 -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/dialog/dialogContent.js +4 -4
- package/esm/dropdownRaw/dropdownHelper.d.ts +4 -1
- package/esm/dropdownRaw/dropdownHelper.js +2 -1
- package/esm/dropdownRaw/dropdownRaw.js +2 -2
- package/esm/dropdownRaw/dropdownTrigger.d.ts +1 -1
- package/esm/dropdownRaw/dropdownTrigger.js +1 -1
- package/esm/fileUpload/components/uploadedFilesSection.js +3 -3
- package/esm/filters/components/filtersSavedChipComponent.js +3 -3
- package/esm/filters/components/filtersSearchItemData.js +3 -3
- package/esm/filters/components/filtersSidePanel.js +4 -4
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +4 -4
- package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +13 -13
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +1 -1
- package/esm/headerTitle/headerTitle.d.ts +3 -9
- package/esm/headerTitle/headerTitle.js +2 -3
- 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/menu/controlledMenu.d.ts +1 -0
- package/esm/menu/controlledMenu.js +2 -2
- package/esm/mobileSheet/mobileSheet.js +4 -4
- package/esm/modal/modal.js +4 -4
- 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/notification/notification.js +4 -4
- package/esm/notification/pushNotification/pushNotification.js +1 -1
- package/esm/pill/components/pillNonActionable/pillNonActionable.js +4 -4
- package/esm/pillExpandable/pillExpandable.js +4 -4
- package/esm/table/detailPanel/detailPanelHeader.js +4 -4
- 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/selectable/useSelectableRows.js +23 -5
- 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/toastRaw/components/toastAnimation.js +2 -2
- package/esm/toastRaw/toastRaw.js +4 -4
- package/esm/toggleButtonRaw/toggleButtonRaw.js +13 -13
- package/esm/tooltip/tooltip.js +4 -4
- 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/translations/cs.json +2 -2
- package/esm/utils/localization/translations/da-DK.json +2 -2
- package/esm/utils/localization/translations/es.json +2 -2
- package/esm/utils/localization/translations/fi-FI.json +1 -1
- package/esm/utils/localization/translations/hu-HU.json +2 -2
- package/esm/utils/localization/translations/ko-KR.json +2 -2
- package/esm/utils/localization/translations/ms.json +1 -1
- package/esm/utils/localization/translations/nb-NO.json +1 -1
- package/esm/utils/localization/translations/pt-BR.json +2 -2
- package/esm/utils/localization/translations/pt-PT.json +3 -3
- package/esm/utils/localization/translations/ro-RO.json +5 -5
- package/esm/utils/localization/translations/sk-SK.json +1 -1
- package/esm/utils/localization/translations/zh-Hans.json +1 -1
- 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 +1 -1
|
@@ -24,7 +24,7 @@ export interface IDropdownTrigger extends IZenComponentProps {
|
|
|
24
24
|
onBlur?: () => void;
|
|
25
25
|
popupId?: string;
|
|
26
26
|
handleFocusOnPopup?: () => void;
|
|
27
|
-
allyPattern?: "selectOnlyCombobox" | "comboboxWithDialog" | "buttonWithDialog";
|
|
27
|
+
allyPattern?: "selectOnlyCombobox" | "comboboxWithDialog" | "buttonWithDialog" | "buttonWithMenu";
|
|
28
28
|
}
|
|
29
29
|
export declare const DropdownTrigger: ({ name, onBlur, isActive, id, triggerRef, searchField, placeholder, disabled, fullWidth, currentSelection, handleClick, inputValue, className, onSearchChange, width, title, triggerAriaLabel, count, inputRef, buttonType, isError, popupId, handleFocusOnPopup, allyPattern, ...otherProps }: IDropdownTrigger) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export declare const TRANSLATIONS: string[];
|
|
@@ -25,7 +25,7 @@ const DropdownTrigger = (_a) => {
|
|
|
25
25
|
handleClick(!isActive);
|
|
26
26
|
};
|
|
27
27
|
const allyTriggerProps = (0, react_1.useMemo)(() => (0, dropdownHelper_1.getAllyTriggerProps)(allyPattern), [allyPattern]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: searchField ? ((0, jsx_runtime_1.jsx)(dropdownSearchableTrigger_1.DropdownSearchableTrigger, Object.assign({ value: inputValue || "", name: name, onChange: onSearchChange, isOpenPopup: isActive, inputRef: inputRef || elInpRef, handleClick: handleClick, handleFocusOnPopup: handleFocusOnPopup, ref: triggerRef, width: width, placeholder: placeholder, disabled: disabled, id: id, title: title, count: count, currentSelection: currentSelection, className: className, isError: isError, fullWidth: fullWidth, popupId: popupId }, otherProps))) : ((0, jsx_runtime_1.jsx)(filterButton_1.FilterButton, Object.assign({ ref: triggerRef, id: id, name: name, onBlur: onBlur, className: (0, classNames_1.classNames)(["zen-dropdown__trigger-button", isError ? "zen-dropdown__trigger-button--error" : "", className || ""]), onClick: handleButtonClick, disabled: disabled, isActive: isActive, fullWidth: width ? true : fullWidth, maxWidth: width, minWidth: width, quantity: count || undefined, type: buttonType, title: title, ariaLabel: triggerAriaLabel || placeholder, "aria-expanded": isActive, "aria-controls": popupId }, allyTriggerProps, otherProps, { children: currentSelection ? ((0, jsx_runtime_1.jsx)("span", { className: (0, classNames_1.classNames)([
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: searchField ? ((0, jsx_runtime_1.jsx)(dropdownSearchableTrigger_1.DropdownSearchableTrigger, Object.assign({ value: inputValue || "", name: name, onChange: onSearchChange, isOpenPopup: isActive, inputRef: inputRef || elInpRef, handleClick: handleClick, handleFocusOnPopup: handleFocusOnPopup, ref: triggerRef, width: width, placeholder: placeholder, disabled: disabled, id: id, title: title, count: count, currentSelection: currentSelection, className: className, isError: isError, fullWidth: fullWidth, popupId: popupId }, otherProps))) : ((0, jsx_runtime_1.jsx)(filterButton_1.FilterButton, Object.assign({ ref: triggerRef, id: id, name: name, onBlur: onBlur, className: (0, classNames_1.classNames)(["zen-dropdown__trigger-button", isError ? "zen-dropdown__trigger-button--error" : "", className || ""]), onClick: handleButtonClick, disabled: disabled, isActive: isActive, fullWidth: width ? true : fullWidth, maxWidth: width, minWidth: width, quantity: count || undefined, type: buttonType, title: title, ariaLabel: triggerAriaLabel || currentSelection || placeholder, "aria-expanded": isActive, "aria-controls": popupId }, allyTriggerProps, otherProps, { children: currentSelection ? ((0, jsx_runtime_1.jsx)("span", { className: (0, classNames_1.classNames)([
|
|
29
29
|
"zen-dropdown__trigger-button-text",
|
|
30
30
|
buttonType ? `zen-dropdown__trigger-button-text--${buttonType.toString()}` : ""
|
|
31
31
|
]), children: currentSelection })) : (placeholder) }))) }));
|
|
@@ -46,7 +46,7 @@ injectString("zh-TW", "Uploaded", "Uploaded");
|
|
|
46
46
|
injectString("ro-RO", "Uploaded", "Uploaded");
|
|
47
47
|
injectString("ar-SA", "Uploaded", "\u062A\u0645 \u0627\u0644\u0631\u0641\u0639");
|
|
48
48
|
injectString("cs", "Remove", "Odebrat");
|
|
49
|
-
injectString("da-DK", "Remove", "
|
|
49
|
+
injectString("da-DK", "Remove", "Fjern");
|
|
50
50
|
injectString("de", "Remove", "Entfernen");
|
|
51
51
|
injectString("en", "Remove", "Remove");
|
|
52
52
|
injectString("es", "Remove", "Eliminar");
|
|
@@ -68,9 +68,9 @@ injectString("sk-SK", "Remove", "Odstr\xE1ni\u0165");
|
|
|
68
68
|
injectString("sv", "Remove", "Ta bort");
|
|
69
69
|
injectString("th", "Remove", "\u0E25\u0E1A");
|
|
70
70
|
injectString("tr", "Remove", "Kald\u0131r");
|
|
71
|
-
injectString("zh-Hans", "Remove", "\
|
|
71
|
+
injectString("zh-Hans", "Remove", "\u79FB\u9664");
|
|
72
72
|
injectString("zh-TW", "Remove", "\u79FB\u9664");
|
|
73
|
-
injectString("ro-RO", "Remove", "
|
|
73
|
+
injectString("ro-RO", "Remove", "Elimin\u0103");
|
|
74
74
|
injectString("ar-SA", "Remove", "\u0625\u0632\u0627\u0644\u0629");
|
|
75
75
|
const getFileIcon = file => {
|
|
76
76
|
var _a;
|
|
@@ -154,7 +154,7 @@ injectString("zh-TW", "This filter is currently applied.", "This filter is curre
|
|
|
154
154
|
injectString("ro-RO", "This filter is currently applied.", "This filter is currently applied.");
|
|
155
155
|
injectString("ar-SA", "This filter is currently applied.", "\u0647\u0630\u0647 \u0627\u0644\u062A\u0635\u0641\u064A\u0629 \u0645\u0637\u0628\u0642\u0629 \u062D\u0627\u0644\u064A\u0627\u064B.");
|
|
156
156
|
injectString("cs", "Remove", "Odebrat");
|
|
157
|
-
injectString("da-DK", "Remove", "
|
|
157
|
+
injectString("da-DK", "Remove", "Fjern");
|
|
158
158
|
injectString("de", "Remove", "Entfernen");
|
|
159
159
|
injectString("en", "Remove", "Remove");
|
|
160
160
|
injectString("es", "Remove", "Eliminar");
|
|
@@ -176,9 +176,9 @@ injectString("sk-SK", "Remove", "Odstr\xE1ni\u0165");
|
|
|
176
176
|
injectString("sv", "Remove", "Ta bort");
|
|
177
177
|
injectString("th", "Remove", "\u0E25\u0E1A");
|
|
178
178
|
injectString("tr", "Remove", "Kald\u0131r");
|
|
179
|
-
injectString("zh-Hans", "Remove", "\
|
|
179
|
+
injectString("zh-Hans", "Remove", "\u79FB\u9664");
|
|
180
180
|
injectString("zh-TW", "Remove", "\u79FB\u9664");
|
|
181
|
-
injectString("ro-RO", "Remove", "
|
|
181
|
+
injectString("ro-RO", "Remove", "Elimin\u0103");
|
|
182
182
|
injectString("ar-SA", "Remove", "\u0625\u0632\u0627\u0644\u0629");
|
|
183
183
|
injectString("cs", "Remove filter", "Odebrat filtr");
|
|
184
184
|
injectString("da-DK", "Remove filter", "Fjern filter");
|
|
@@ -14,7 +14,7 @@ const button_1 = require("../../button/button");
|
|
|
14
14
|
const classNames_1 = require("../../commonHelpers/classNames/classNames");
|
|
15
15
|
const iconClose_1 = require("../../icons/iconClose");
|
|
16
16
|
injectString("cs", "Remove", "Odebrat");
|
|
17
|
-
injectString("da-DK", "Remove", "
|
|
17
|
+
injectString("da-DK", "Remove", "Fjern");
|
|
18
18
|
injectString("de", "Remove", "Entfernen");
|
|
19
19
|
injectString("en", "Remove", "Remove");
|
|
20
20
|
injectString("es", "Remove", "Eliminar");
|
|
@@ -36,9 +36,9 @@ injectString("sk-SK", "Remove", "Odstr\xE1ni\u0165");
|
|
|
36
36
|
injectString("sv", "Remove", "Ta bort");
|
|
37
37
|
injectString("th", "Remove", "\u0E25\u0E1A");
|
|
38
38
|
injectString("tr", "Remove", "Kald\u0131r");
|
|
39
|
-
injectString("zh-Hans", "Remove", "\
|
|
39
|
+
injectString("zh-Hans", "Remove", "\u79FB\u9664");
|
|
40
40
|
injectString("zh-TW", "Remove", "\u79FB\u9664");
|
|
41
|
-
injectString("ro-RO", "Remove", "
|
|
41
|
+
injectString("ro-RO", "Remove", "Elimin\u0103");
|
|
42
42
|
injectString("ar-SA", "Remove", "\u0625\u0632\u0627\u0644\u0629");
|
|
43
43
|
const SearchItemContent = ({
|
|
44
44
|
icon,
|
|
@@ -229,10 +229,10 @@ injectString("da-DK", "Close", "Luk");
|
|
|
229
229
|
injectString("de", "Close", "Schlie\xDFen");
|
|
230
230
|
injectString("en", "Close", "Close");
|
|
231
231
|
injectString("es", "Close", "Cerrar");
|
|
232
|
-
injectString("fi-FI", "Close", "
|
|
232
|
+
injectString("fi-FI", "Close", "Sulkea");
|
|
233
233
|
injectString("fr", "Close", "Fermer");
|
|
234
234
|
injectString("fr-FR", "Close", "Fermer");
|
|
235
|
-
injectString("hu-HU", "Close", "
|
|
235
|
+
injectString("hu-HU", "Close", "Bez\xE1r\xE1s");
|
|
236
236
|
injectString("id", "Close", "Tutup");
|
|
237
237
|
injectString("it", "Close", "Chiudere");
|
|
238
238
|
injectString("ja", "Close", "\u9589\u3058\u308B");
|
|
@@ -243,13 +243,13 @@ injectString("nl", "Close", "Sluiten");
|
|
|
243
243
|
injectString("pl", "Close", "Zamknij");
|
|
244
244
|
injectString("pt-BR", "Close", "Fechar");
|
|
245
245
|
injectString("pt-PT", "Close", "Fechar");
|
|
246
|
-
injectString("sk-SK", "Close", "
|
|
246
|
+
injectString("sk-SK", "Close", "Zatvori\u0165");
|
|
247
247
|
injectString("sv", "Close", "St\xE4ng");
|
|
248
248
|
injectString("th", "Close", "\u0E1B\u0E34\u0E14");
|
|
249
249
|
injectString("tr", "Close", "Kapat");
|
|
250
250
|
injectString("zh-Hans", "Close", "\u5173\u95ED");
|
|
251
251
|
injectString("zh-TW", "Close", "\u95DC\u9589");
|
|
252
|
-
injectString("ro-RO", "Close", "\xCEnchide
|
|
252
|
+
injectString("ro-RO", "Close", "\xCEnchide");
|
|
253
253
|
injectString("ar-SA", "Close", "\u0625\u063A\u0644\u0627\u0642");
|
|
254
254
|
const zen_1 = require("../../utils/zen");
|
|
255
255
|
const SELECTED_TAB_ID = "Selected";
|
|
@@ -137,10 +137,10 @@ injectString("da-DK", "Close", "Luk");
|
|
|
137
137
|
injectString("de", "Close", "Schlie\xDFen");
|
|
138
138
|
injectString("en", "Close", "Close");
|
|
139
139
|
injectString("es", "Close", "Cerrar");
|
|
140
|
-
injectString("fi-FI", "Close", "
|
|
140
|
+
injectString("fi-FI", "Close", "Sulkea");
|
|
141
141
|
injectString("fr", "Close", "Fermer");
|
|
142
142
|
injectString("fr-FR", "Close", "Fermer");
|
|
143
|
-
injectString("hu-HU", "Close", "
|
|
143
|
+
injectString("hu-HU", "Close", "Bez\xE1r\xE1s");
|
|
144
144
|
injectString("id", "Close", "Tutup");
|
|
145
145
|
injectString("it", "Close", "Chiudere");
|
|
146
146
|
injectString("ja", "Close", "\u9589\u3058\u308B");
|
|
@@ -151,13 +151,13 @@ injectString("nl", "Close", "Sluiten");
|
|
|
151
151
|
injectString("pl", "Close", "Zamknij");
|
|
152
152
|
injectString("pt-BR", "Close", "Fechar");
|
|
153
153
|
injectString("pt-PT", "Close", "Fechar");
|
|
154
|
-
injectString("sk-SK", "Close", "
|
|
154
|
+
injectString("sk-SK", "Close", "Zatvori\u0165");
|
|
155
155
|
injectString("sv", "Close", "St\xE4ng");
|
|
156
156
|
injectString("th", "Close", "\u0E1B\u0E34\u0E14");
|
|
157
157
|
injectString("tr", "Close", "Kapat");
|
|
158
158
|
injectString("zh-Hans", "Close", "\u5173\u95ED");
|
|
159
159
|
injectString("zh-TW", "Close", "\u95DC\u9589");
|
|
160
|
-
injectString("ro-RO", "Close", "\xCEnchide
|
|
160
|
+
injectString("ro-RO", "Close", "\xCEnchide");
|
|
161
161
|
injectString("ar-SA", "Close", "\u0625\u063A\u0644\u0627\u0642");
|
|
162
162
|
const useUniqueId_1 = require("../../commonHelpers/useUniqueId");
|
|
163
163
|
const useBodyScroll_1 = require("../../utils/useBodyScroll");
|
|
@@ -13,11 +13,11 @@ const iconCheckRadio_1 = require("../../../icons/iconCheckRadio");
|
|
|
13
13
|
const iconCloseCircle_1 = require("../../../icons/iconCloseCircle");
|
|
14
14
|
const pill_1 = require("../../../pill/pill");
|
|
15
15
|
const useLanguage_1 = require("../../../utils/localization/useLanguage");
|
|
16
|
-
injectString("cs", "On", "
|
|
17
|
-
injectString("da-DK", "On", "
|
|
16
|
+
injectString("cs", "On", "Zapnuto");
|
|
17
|
+
injectString("da-DK", "On", "T\xE6ndt");
|
|
18
18
|
injectString("de", "On", "Ein");
|
|
19
19
|
injectString("en", "On", "On");
|
|
20
|
-
injectString("es", "On", "
|
|
20
|
+
injectString("es", "On", "Activado");
|
|
21
21
|
injectString("fi-FI", "On", "P\xE4\xE4lle");
|
|
22
22
|
injectString("fr", "On", "Activ\xE9");
|
|
23
23
|
injectString("fr-FR", "On", "On");
|
|
@@ -25,26 +25,26 @@ injectString("hu-HU", "On", "Bekapcsolva");
|
|
|
25
25
|
injectString("id", "On", "Aktif");
|
|
26
26
|
injectString("it", "On", "On");
|
|
27
27
|
injectString("ja", "On", "\u30AA\u30F3");
|
|
28
|
-
injectString("ko-KR", "On", "
|
|
28
|
+
injectString("ko-KR", "On", "\uCF1C\uC9D0");
|
|
29
29
|
injectString("ms", "On", "Hidup");
|
|
30
30
|
injectString("nb-NO", "On", "P\xE5");
|
|
31
31
|
injectString("nl", "On", "Aan");
|
|
32
32
|
injectString("pl", "On", "W\u0142.");
|
|
33
|
-
injectString("pt-BR", "On", "
|
|
34
|
-
injectString("pt-PT", "On", "
|
|
33
|
+
injectString("pt-BR", "On", "Ativar");
|
|
34
|
+
injectString("pt-PT", "On", "Ligado");
|
|
35
35
|
injectString("sk-SK", "On", "Zapnut\xE9");
|
|
36
36
|
injectString("sv", "On", "P\xE5");
|
|
37
37
|
injectString("th", "On", "\u0E40\u0E1B\u0E34\u0E14");
|
|
38
38
|
injectString("tr", "On", "A\xE7\u0131k");
|
|
39
39
|
injectString("zh-Hans", "On", "\u5F00\u542F");
|
|
40
40
|
injectString("zh-TW", "On", "\u958B\u555F");
|
|
41
|
-
injectString("ro-RO", "On", "
|
|
41
|
+
injectString("ro-RO", "On", "Pe");
|
|
42
42
|
injectString("ar-SA", "On", "\u062A\u0634\u063A\u064A\u0644");
|
|
43
|
-
injectString("cs", "Off", "
|
|
43
|
+
injectString("cs", "Off", "Vypnuto");
|
|
44
44
|
injectString("da-DK", "Off", "Slukket");
|
|
45
45
|
injectString("de", "Off", "Aus");
|
|
46
46
|
injectString("en", "Off", "Off");
|
|
47
|
-
injectString("es", "Off", "
|
|
47
|
+
injectString("es", "Off", "Deshabilitado");
|
|
48
48
|
injectString("fi-FI", "Off", "Pois");
|
|
49
49
|
injectString("fr", "Off", "D\xE9sactiv\xE9");
|
|
50
50
|
injectString("fr-FR", "Off", "Off");
|
|
@@ -52,20 +52,20 @@ injectString("hu-HU", "Off", "Kikapcsolva");
|
|
|
52
52
|
injectString("id", "Off", "Nonaktif");
|
|
53
53
|
injectString("it", "Off", "Off");
|
|
54
54
|
injectString("ja", "Off", "\u30AA\u30D5");
|
|
55
|
-
injectString("ko-KR", "Off", "\
|
|
55
|
+
injectString("ko-KR", "Off", "\uAEBC\uC9D0");
|
|
56
56
|
injectString("ms", "Off", "Mati");
|
|
57
57
|
injectString("nb-NO", "Off", "Av");
|
|
58
58
|
injectString("nl", "Off", "Uit");
|
|
59
59
|
injectString("pl", "Off", "Wy\u0142.");
|
|
60
|
-
injectString("pt-BR", "Off", "
|
|
61
|
-
injectString("pt-PT", "Off", "
|
|
60
|
+
injectString("pt-BR", "Off", "Desativar");
|
|
61
|
+
injectString("pt-PT", "Off", "Desligado");
|
|
62
62
|
injectString("sk-SK", "Off", "Vypnut\xE9");
|
|
63
63
|
injectString("sv", "Off", "Av");
|
|
64
64
|
injectString("th", "Off", "\u0E1B\u0E34\u0E14");
|
|
65
65
|
injectString("tr", "Off", "Kapal\u0131");
|
|
66
66
|
injectString("zh-Hans", "Off", "\u5173\u95ED");
|
|
67
67
|
injectString("zh-TW", "Off", "\u95DC\u9589");
|
|
68
|
-
injectString("ro-RO", "Off", "
|
|
68
|
+
injectString("ro-RO", "Off", "Off");
|
|
69
69
|
injectString("ar-SA", "Off", "\u0625\u064A\u0642\u0627\u0641");
|
|
70
70
|
const ReviewListToggle = ({
|
|
71
71
|
value,
|
|
@@ -212,7 +212,7 @@ injectString("id", "Results", "Hasil");
|
|
|
212
212
|
injectString("it", "Results", "Risultati");
|
|
213
213
|
injectString("ja", "Results", "\u7D50\u679C");
|
|
214
214
|
injectString("ko-KR", "Results", "\uACB0\uACFC");
|
|
215
|
-
injectString("ms", "Results", "
|
|
215
|
+
injectString("ms", "Results", "Hasil");
|
|
216
216
|
injectString("nb-NO", "Results", "Resultater");
|
|
217
217
|
injectString("nl", "Results", "Resultaten");
|
|
218
218
|
injectString("pl", "Results", "Wyniki");
|
|
@@ -3,14 +3,6 @@ import "./headerTitle.less";
|
|
|
3
3
|
import { IZenComponentProps } from "../commonHelpers/zenComponent";
|
|
4
4
|
import { IBetaPillActions } from "../betaPill/betaPill";
|
|
5
5
|
export declare const HeaderTitleDisplayName = "PageHeader";
|
|
6
|
-
/**
|
|
7
|
-
* @internal - temporary escape hatch
|
|
8
|
-
* @deprecated DO NOT USE in external consumers
|
|
9
|
-
*/
|
|
10
|
-
export interface IHeaderTitleInternal {
|
|
11
|
-
betaPillName?: string;
|
|
12
|
-
betaPillDescription?: string;
|
|
13
|
-
}
|
|
14
6
|
export interface IHeaderTitle extends IZenComponentProps {
|
|
15
7
|
id?: string;
|
|
16
8
|
pageName: string;
|
|
@@ -24,9 +16,11 @@ export interface IHeaderTitle extends IZenComponentProps {
|
|
|
24
16
|
allowBookmarkWithBack?: boolean;
|
|
25
17
|
feedBackAction?: IBetaPillActions;
|
|
26
18
|
betaOptionAction?: IBetaPillActions;
|
|
19
|
+
betaPillName?: string;
|
|
20
|
+
betaPillDescription?: string;
|
|
27
21
|
}
|
|
28
22
|
export declare const HeaderTitle: {
|
|
29
|
-
(
|
|
23
|
+
({ id, children, className, pageName, subline, isBeta, isMobile: isMobileProp, allowBookmarkWithBack, feedBackAction, betaOptionAction, betaPillName, betaPillDescription }: IHeaderTitle): import("react/jsx-runtime").JSX.Element;
|
|
30
24
|
displayName: string;
|
|
31
25
|
};
|
|
32
26
|
export declare const TRANSLATIONS: string[];
|
|
@@ -10,8 +10,7 @@ const useDriveClassName_1 = require("../utils/theme/useDriveClassName");
|
|
|
10
10
|
const headerBack_1 = require("../header/headerBack");
|
|
11
11
|
const bookmark_1 = require("../bookmark/bookmark");
|
|
12
12
|
exports.HeaderTitleDisplayName = "PageHeader";
|
|
13
|
-
const HeaderTitle = (
|
|
14
|
-
const { id, children, className, pageName, subline, isBeta, isMobile: isMobileProp, allowBookmarkWithBack, feedBackAction, betaOptionAction, betaPillName, betaPillDescription } = props;
|
|
13
|
+
const HeaderTitle = ({ id, children, className, pageName, subline, isBeta, isMobile: isMobileProp, allowBookmarkWithBack, feedBackAction, betaOptionAction, betaPillName, betaPillDescription }) => {
|
|
15
14
|
const isMobile = (0, useMobile_1.useMobile)();
|
|
16
15
|
const driveMainLineClassName = (0, useDriveClassName_1.useDriveClassName)("zen-page-header__main-line");
|
|
17
16
|
const drivePageNameClassName = (0, useDriveClassName_1.useDriveClassName)("zen-page-header__page-name");
|
|
@@ -34,7 +33,7 @@ const HeaderTitle = (props) => {
|
|
|
34
33
|
});
|
|
35
34
|
return [b, b.length && !allowBookmarkWithBack ? o.filter(el => el.type !== bookmark_1.Bookmark) : o];
|
|
36
35
|
}, [children, allowBookmarkWithBack]);
|
|
37
|
-
return ((0, jsx_runtime_1.jsxs)("header", { id: id, className: clsNames, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-page-header__main-line", driveMainLineClassName || ""]), children: [back.length ? back : null, pageName ? (0, jsx_runtime_1.jsx)("h1", { className: (0, classNames_1.classNames)(["zen-page-header__page-name", drivePageNameClassName || ""]), children: pageName }) : null, isBeta ? ((0, jsx_runtime_1.jsx)(betaPill_1.BetaPill,
|
|
36
|
+
return ((0, jsx_runtime_1.jsxs)("header", { id: id, className: clsNames, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-page-header__main-line", driveMainLineClassName || ""]), children: [back.length ? back : null, pageName ? (0, jsx_runtime_1.jsx)("h1", { className: (0, classNames_1.classNames)(["zen-page-header__page-name", drivePageNameClassName || ""]), children: pageName }) : null, isBeta ? ((0, jsx_runtime_1.jsx)(betaPill_1.BetaPill, { feedbackAction: feedBackAction, betaOptionAction: betaOptionAction, name: betaPillName, description: betaPillDescription, className: "zen-page-header__beta" })) : null, other.length ? other : null] }), subline || ""] }));
|
|
38
37
|
};
|
|
39
38
|
exports.HeaderTitle = HeaderTitle;
|
|
40
39
|
exports.HeaderTitle.displayName = exports.HeaderTitleDisplayName;
|
|
@@ -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;
|