pixel-react 1.8.6 → 1.8.7
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/.yarn/install-state.gz +0 -0
- package/lib/components/Button/Button.d.ts +2 -2
- package/lib/components/ChooseFile/ChooseFile.d.ts +3 -2
- package/lib/index.d.ts +4 -4
- package/lib/index.esm.js +27 -31
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +27 -31
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Button/Button.tsx +3 -4
- package/src/components/ChooseFile/ChooseFile.tsx +3 -4
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import './Button.scss';
|
2
2
|
import '../../assets/styles/_colors.scss';
|
3
3
|
import { ButtonProps } from './types';
|
4
|
-
declare const
|
5
|
-
export default
|
4
|
+
declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
5
|
+
export default Button;
|
package/lib/index.d.ts
CHANGED
@@ -146,7 +146,7 @@ interface ButtonProps {
|
|
146
146
|
handleCloseIcon?: () => void;
|
147
147
|
}
|
148
148
|
|
149
|
-
declare const
|
149
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
150
150
|
|
151
151
|
interface BtnPropsCommon {
|
152
152
|
/**
|
@@ -1732,7 +1732,7 @@ interface TreeTableProps {
|
|
1732
1732
|
loadMore?: (_direction?: string) => void;
|
1733
1733
|
}
|
1734
1734
|
|
1735
|
-
declare const _default
|
1735
|
+
declare const _default: React__default.NamedExoticComponent<TreeTableProps>;
|
1736
1736
|
|
1737
1737
|
interface TabsProps {
|
1738
1738
|
/**
|
@@ -2904,7 +2904,7 @@ interface ChooseFileProps {
|
|
2904
2904
|
handleCloseIcon?: () => void;
|
2905
2905
|
}
|
2906
2906
|
|
2907
|
-
declare const
|
2907
|
+
declare const ChooseFile: FC<ChooseFileProps>;
|
2908
2908
|
|
2909
2909
|
interface ScriptSwitchButtonProps {
|
2910
2910
|
handleClick: (selected: string) => void;
|
@@ -3323,4 +3323,4 @@ declare const ELEMENTS_TRAILING_SPACE_REGEX: RegExp;
|
|
3323
3323
|
declare const ELEMENTS_WHITE_SPACE_REGEX: RegExp;
|
3324
3324
|
declare const PARAMETER_ALPHANUMERIC_REGEX: RegExp;
|
3325
3325
|
|
3326
|
-
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart,
|
3326
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useKeyboardActions, useTheme };
|
package/lib/index.esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
2
2
|
import * as React from 'react';
|
3
|
-
import React__default, { forwardRef, useRef, useEffect,
|
3
|
+
import React__default, { forwardRef, useRef, useEffect, useState, createContext as createContext$1, useContext, useMemo, useCallback, createElement, PureComponent, useImperativeHandle, memo, useLayoutEffect, useReducer, cloneElement, Component } from 'react';
|
4
4
|
import { createPortal, unstable_batchedUpdates } from 'react-dom';
|
5
5
|
|
6
6
|
function styleInject(css, ref) {
|
@@ -999,7 +999,6 @@ const Typography = ({
|
|
999
999
|
});
|
1000
1000
|
};
|
1001
1001
|
|
1002
|
-
const areEqual$2 = (prevProps, nextProps) => prevProps.selectedFile?.name === nextProps.selectedFile?.name;
|
1003
1002
|
const Button$1 = /*#__PURE__*/forwardRef(({
|
1004
1003
|
variant = 'primary',
|
1005
1004
|
backgroundColor,
|
@@ -1059,7 +1058,6 @@ const Button$1 = /*#__PURE__*/forwardRef(({
|
|
1059
1058
|
}), iconPosition === 'right' && renderIcon()]
|
1060
1059
|
});
|
1061
1060
|
});
|
1062
|
-
var Button$2 = /*#__PURE__*/memo(Button$1, areEqual$2);
|
1063
1061
|
|
1064
1062
|
var css_248z$1f = ".fontXs {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm, .ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-title {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-20 {\n font-family: \"Poppins\";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-drawer-container .ff-overlay {\n position: fixed;\n inset: 0;\n background-color: var(--drawer-title-color);\n opacity: 0.5;\n z-index: 999;\n}\n.ff-drawer-container .child-drawer-overlay {\n z-index: 999;\n}\n.ff-drawer-container .ff-drawer {\n margin-bottom: 4px;\n position: fixed;\n right: 0;\n bottom: 0;\n top: 87px;\n background-color: var(--primary-button-text-color);\n z-index: 999;\n transform: translateX(100%);\n opacity: 0;\n}\n.ff-drawer-container .ff-drawer--open {\n transform: translateX(0);\n opacity: 1;\n}\n.ff-drawer-container .ff-drawer--small {\n width: 444px;\n}\n.ff-drawer-container .ff-drawer--medium {\n width: 666px;\n}\n.ff-drawer-container .ff-drawer--large {\n width: 888px;\n}\n.ff-drawer-container .ff-drawer--x-large {\n width: calc(100vw - 10px);\n}\n.ff-drawer-container .ff-drawer--open, .ff-drawer-container .ff-drawer--medium, .ff-drawer-container .ff-drawer--large, .ff-drawer-container .ff-drawer--x-large {\n transition: all 0.4s ease-in-out;\n border-radius: 5px;\n border: 1px solid var(--border-color);\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header {\n padding: 4px 8px 4px 8px;\n display: flex;\n gap: 10px;\n border-bottom: 1px solid var(--border-color);\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-title {\n font-weight: 600;\n color: var(--drawer-title-color);\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-close-icon {\n height: 16px;\n width: 16px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n height: 24px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section .ff-action-button {\n display: flex;\n align-items: center;\n gap: 5px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section .ff-action-button .ff-expand-collapse-button {\n cursor: pointer;\n background-color: var(--button-bg-color);\n outline: none;\n border: none;\n margin: 0;\n border: 1px solid transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 8px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section .ff-action-button .ff-custom-header {\n background-color: var(--drawer-footer-bg);\n width: 100%;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-body {\n background-color: var(--drawer-footer-bg);\n overflow-y: auto;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n padding: 4px 8px 4px 8px;\n display: flex;\n justify-content: space-between;\n border-top: 1px solid var(--drawer-footer-border);\n z-index: 1000;\n background-color: var(--base-bg-color);\n transform: translateY(3px);\n border-radius: 0 0 4px 4px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer .button-container {\n display: flex;\n justify-content: flex-end;\n gap: 8px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer .ff-custom-footer {\n background-color: var(--drawer-footer-bg);\n width: 100%;\n border-radius: 0 0 8px 8px;\n}";
|
1065
1063
|
styleInject(css_248z$1f);
|
@@ -1246,17 +1244,17 @@ const Drawer = ({
|
|
1246
1244
|
children: customFooter || footerContent || jsxs(Fragment, {
|
1247
1245
|
children: [jsxs("div", {
|
1248
1246
|
className: "button-container",
|
1249
|
-
children: [leftSecondaryButtonProps.label && jsx(Button$
|
1247
|
+
children: [leftSecondaryButtonProps.label && jsx(Button$1, {
|
1250
1248
|
...leftSecondaryButtonProps,
|
1251
1249
|
onClick: leftPrimaryButtonProps.onClick,
|
1252
1250
|
variant: "secondary",
|
1253
1251
|
transparentBackground: true
|
1254
|
-
}), leftPrimaryButtonProps.label && jsx(Button$
|
1252
|
+
}), leftPrimaryButtonProps.label && jsx(Button$1, {
|
1255
1253
|
...leftPrimaryButtonProps,
|
1256
1254
|
onClick: leftPrimaryButtonProps.onClick,
|
1257
1255
|
variant: "primary",
|
1258
1256
|
transparentBackground: true
|
1259
|
-
}), leftTertiaryButtonProps?.label && jsx(Button$
|
1257
|
+
}), leftTertiaryButtonProps?.label && jsx(Button$1, {
|
1260
1258
|
...leftTertiaryButtonProps,
|
1261
1259
|
onClick: leftTertiaryButtonProps.onClick,
|
1262
1260
|
variant: "tertiary",
|
@@ -1264,17 +1262,17 @@ const Drawer = ({
|
|
1264
1262
|
})]
|
1265
1263
|
}), jsxs("div", {
|
1266
1264
|
className: "button-container",
|
1267
|
-
children: [rightTertiaryButtonProps?.label && jsx(Button$
|
1265
|
+
children: [rightTertiaryButtonProps?.label && jsx(Button$1, {
|
1268
1266
|
...rightTertiaryButtonProps,
|
1269
1267
|
onClick: rightTertiaryButtonProps.onClick,
|
1270
1268
|
variant: "tertiary",
|
1271
1269
|
transparentBackground: true
|
1272
|
-
}), secondaryButtonProps.label && jsx(Button$
|
1270
|
+
}), secondaryButtonProps.label && jsx(Button$1, {
|
1273
1271
|
...secondaryButtonProps,
|
1274
1272
|
onClick: onCancel,
|
1275
1273
|
variant: "secondary",
|
1276
1274
|
transparentBackground: true
|
1277
|
-
}), primaryButtonProps.label && jsx(Button$
|
1275
|
+
}), primaryButtonProps.label && jsx(Button$1, {
|
1278
1276
|
...primaryButtonProps,
|
1279
1277
|
onClick: primaryButtonProps.onClick,
|
1280
1278
|
variant: "primary",
|
@@ -1738,7 +1736,7 @@ const Dropdown$2 = /*#__PURE__*/forwardRef(({
|
|
1738
1736
|
})
|
1739
1737
|
}), withSelectButton && filteredOptions.length > 0 && jsx("div", {
|
1740
1738
|
className: "select-button-container",
|
1741
|
-
children: jsx(Button$
|
1739
|
+
children: jsx(Button$1, {
|
1742
1740
|
label: "Select",
|
1743
1741
|
variant: "tertiary",
|
1744
1742
|
onClick: onSelectClick
|
@@ -2200,11 +2198,11 @@ const Toaster = ({
|
|
2200
2198
|
children: toastMessage
|
2201
2199
|
}), variant === 'confirm' && jsxs("div", {
|
2202
2200
|
className: "ff-toaster-content__prompt",
|
2203
|
-
children: [jsx(Button$
|
2201
|
+
children: [jsx(Button$1, {
|
2204
2202
|
onClick: handleClose,
|
2205
2203
|
variant: "secondary",
|
2206
2204
|
children: "Cancel"
|
2207
|
-
}), jsx(Button$
|
2205
|
+
}), jsx(Button$1, {
|
2208
2206
|
onClick: onConfirmation,
|
2209
2207
|
variant: "delete",
|
2210
2208
|
children: confirmationText
|
@@ -4323,7 +4321,7 @@ const Dropzone = ({
|
|
4323
4321
|
selectedValue: selectedRadioOption?.value,
|
4324
4322
|
onChange: handleOptionChange
|
4325
4323
|
})]
|
4326
|
-
}) : jsx(Button$
|
4324
|
+
}) : jsx(Button$1, {
|
4327
4325
|
variant: "primary",
|
4328
4326
|
label: buttonLabel,
|
4329
4327
|
className: 'choose-file-btn',
|
@@ -6405,7 +6403,7 @@ var _excluded$1 = ["style"],
|
|
6405
6403
|
// It knows to compare individual style props and ignore the wrapper object.
|
6406
6404
|
// See https://reactjs.org/docs/react-api.html#reactmemo
|
6407
6405
|
|
6408
|
-
function areEqual
|
6406
|
+
function areEqual(prevProps, nextProps) {
|
6409
6407
|
var prevStyle = prevProps.style,
|
6410
6408
|
prevRest = _objectWithoutPropertiesLoose$3(prevProps, _excluded$1);
|
6411
6409
|
var nextStyle = nextProps.style,
|
@@ -6417,7 +6415,7 @@ function areEqual$1(prevProps, nextProps) {
|
|
6417
6415
|
// See https://reactjs.org/docs/react-component.html#shouldcomponentupdate
|
6418
6416
|
|
6419
6417
|
function shouldComponentUpdate(nextProps, nextState) {
|
6420
|
-
return !areEqual
|
6418
|
+
return !areEqual(this.props, nextProps) || shallowDiffers(this.state, nextState);
|
6421
6419
|
}
|
6422
6420
|
|
6423
6421
|
var LazyLoad = /*#__PURE__*/Object.freeze({
|
@@ -6426,7 +6424,7 @@ var LazyLoad = /*#__PURE__*/Object.freeze({
|
|
6426
6424
|
FixedSizeList: FixedSizeList,
|
6427
6425
|
VariableSizeGrid: VariableSizeGrid,
|
6428
6426
|
VariableSizeList: VariableSizeList,
|
6429
|
-
areEqual: areEqual
|
6427
|
+
areEqual: areEqual,
|
6430
6428
|
shouldComponentUpdate: shouldComponentUpdate
|
6431
6429
|
});
|
6432
6430
|
|
@@ -9526,12 +9524,12 @@ const MiniModal = /*#__PURE__*/forwardRef(({
|
|
9526
9524
|
children: footerContent
|
9527
9525
|
}) : isIconModel ? jsx(Fragment, {}) : jsxs("footer", {
|
9528
9526
|
className: "modal-footer",
|
9529
|
-
children: [jsx(Button$
|
9527
|
+
children: [jsx(Button$1, {
|
9530
9528
|
variant: "primary",
|
9531
9529
|
className: "btn-cancel",
|
9532
9530
|
onClick: cancelButtonProps?.onClick,
|
9533
9531
|
label: cancelButtonProps?.text
|
9534
|
-
}), jsx(Button$
|
9532
|
+
}), jsx(Button$1, {
|
9535
9533
|
variant: "secondary",
|
9536
9534
|
className: "btn-proceed",
|
9537
9535
|
label: proceedButtonProps?.text,
|
@@ -21035,12 +21033,12 @@ const CustomDatePicker = ({
|
|
21035
21033
|
})]
|
21036
21034
|
}), !dateOnly && jsxs("div", {
|
21037
21035
|
className: "ff-date-picker-controls",
|
21038
|
-
children: [jsx(Button$
|
21036
|
+
children: [jsx(Button$1, {
|
21039
21037
|
className: "ff-date-picker-button",
|
21040
21038
|
variant: "secondary",
|
21041
21039
|
onClick: handleCancel,
|
21042
21040
|
label: "Cancel"
|
21043
|
-
}), jsx(Button$
|
21041
|
+
}), jsx(Button$1, {
|
21044
21042
|
className: "ff-date-picker-button",
|
21045
21043
|
variant: "primary",
|
21046
21044
|
onClick: handleSave,
|
@@ -29848,7 +29846,7 @@ const Branches = ({
|
|
29848
29846
|
})]
|
29849
29847
|
}) : jsx("div", {
|
29850
29848
|
className: "ff-connecting-branch-browser-button",
|
29851
|
-
children: jsx(Button$
|
29849
|
+
children: jsx(Button$1, {
|
29852
29850
|
id: `ff-sequential-branch-add-${machineInstanceId}`,
|
29853
29851
|
variant: "tertiary",
|
29854
29852
|
label: addInstanceLabel,
|
@@ -30012,7 +30010,7 @@ const SequentialConnectingBranch = ({
|
|
30012
30010
|
className: "ff-branch-arrow"
|
30013
30011
|
})
|
30014
30012
|
}), isMachineInstances && jsx(Fragment, {
|
30015
|
-
children: jsx(Button$
|
30013
|
+
children: jsx(Button$1, {
|
30016
30014
|
variant: "tertiary",
|
30017
30015
|
label: "Add Environment",
|
30018
30016
|
size: "small",
|
@@ -30138,7 +30136,7 @@ const AttachmentButton = ({
|
|
30138
30136
|
fontWeight: "semi-bold",
|
30139
30137
|
lineHeight: '18px',
|
30140
30138
|
children: label
|
30141
|
-
}), (!showSelectedFiles || selectedFiles.length === 0) && jsx(Button$
|
30139
|
+
}), (!showSelectedFiles || selectedFiles.length === 0) && jsx(Button$1, {
|
30142
30140
|
variant: buttonVariant,
|
30143
30141
|
label: buttonLabel,
|
30144
30142
|
size: "medium",
|
@@ -37518,11 +37516,11 @@ const CreateVariableSlider = ({
|
|
37518
37516
|
const FooterContent = () => {
|
37519
37517
|
return jsxs("div", {
|
37520
37518
|
className: "ff-create-slider-footer",
|
37521
|
-
children: [jsx(Button$
|
37519
|
+
children: [jsx(Button$1, {
|
37522
37520
|
onClick: onClose,
|
37523
37521
|
label: "Cancel",
|
37524
37522
|
variant: "tertiary"
|
37525
|
-
}), jsx(Button$
|
37523
|
+
}), jsx(Button$1, {
|
37526
37524
|
variant: "primary",
|
37527
37525
|
label: "create",
|
37528
37526
|
type: "submit",
|
@@ -37781,7 +37779,6 @@ const ProgressBar = ({
|
|
37781
37779
|
});
|
37782
37780
|
};
|
37783
37781
|
|
37784
|
-
const areEqual = (prevProps, nextProps) => prevProps.selectedFile?.name === nextProps.selectedFile?.name;
|
37785
37782
|
const ChooseFile = ({
|
37786
37783
|
variant = 'primary',
|
37787
37784
|
size = 'small',
|
@@ -37798,7 +37795,7 @@ const ChooseFile = ({
|
|
37798
37795
|
handleCloseIcon
|
37799
37796
|
}) => {
|
37800
37797
|
return jsx("div", {
|
37801
|
-
children: jsx(Button$
|
37798
|
+
children: jsx(Button$1, {
|
37802
37799
|
variant: variant,
|
37803
37800
|
label: label,
|
37804
37801
|
type: type,
|
@@ -37816,7 +37813,6 @@ const ChooseFile = ({
|
|
37816
37813
|
})
|
37817
37814
|
});
|
37818
37815
|
};
|
37819
|
-
var ChooseFile$1 = /*#__PURE__*/memo(ChooseFile, areEqual);
|
37820
37816
|
|
37821
37817
|
var css_248z$8 = "/* Container Styling */\n.ff-script-switch-container {\n display: flex;\n background-color: var(--base-bg-color);\n height: 24px;\n width: 48px;\n border-radius: 6px;\n border: 1px solid var(--border-color);\n align-items: center;\n justify-content: center;\n /* Button Styling */\n /* Active Button */\n}\n.ff-script-switch-container .ff-script-switch-button {\n padding: 0.1px;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n outline: none;\n transition: all 0.3s ease;\n /* Button Hover Effect */\n}\n.ff-script-switch-container .ff-script-switch-button:hover {\n background-color: var(--hover-color);\n color: var(--brand-color);\n}\n.ff-script-switch-container .ff-script-switch-button.active {\n background-color: var(--ff-line-number-bg);\n color: var(--base-bg-color);\n}";
|
37822
37818
|
styleInject(css_248z$8);
|
@@ -51211,11 +51207,11 @@ const PopUpModal = ({
|
|
51211
51207
|
})]
|
51212
51208
|
}), jsxs("div", {
|
51213
51209
|
className: 'warning_modal_footer_button',
|
51214
|
-
children: [jsx(Button$
|
51210
|
+
children: [jsx(Button$1, {
|
51215
51211
|
variant: "secondary",
|
51216
51212
|
label: firstButtonLabel,
|
51217
51213
|
onClick: onClose
|
51218
|
-
}), jsx(Button$
|
51214
|
+
}), jsx(Button$1, {
|
51219
51215
|
variant: buttonVariant || 'warning',
|
51220
51216
|
label: secondButtonLabel,
|
51221
51217
|
onClick: onContinue
|
@@ -53363,5 +53359,5 @@ const PhoneInputField = ({
|
|
53363
53359
|
});
|
53364
53360
|
};
|
53365
53361
|
|
53366
|
-
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button$
|
53362
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button$1 as Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LazyLoad, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row$1 as Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select$1 as Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table$1 as Table, TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useKeyboardActions, useTheme };
|
53367
53363
|
//# sourceMappingURL=index.esm.js.map
|