pixel-react 1.4.1 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/MiniModal/types.d.ts +1 -1
  3. package/lib/components/Select/types.d.ts +1 -0
  4. package/lib/index.d.ts +5 -2
  5. package/lib/index.esm.js +123 -61
  6. package/lib/index.esm.js.map +1 -1
  7. package/lib/index.js +123 -60
  8. package/lib/index.js.map +1 -1
  9. package/lib/tsconfig.tsbuildinfo +1 -1
  10. package/lib/utils/downloadFile/saveFileFromBlob.d.ts +1 -0
  11. package/package.json +1 -1
  12. package/src/assets/icons/add_label_icon.svg +3 -0
  13. package/src/assets/icons/label_icon.svg +8 -0
  14. package/src/assets/icons/sample_template_first.svg +29 -0
  15. package/src/assets/icons/sample_template_second.svg +47 -0
  16. package/src/assets/styles/_fonts.scss +32 -2
  17. package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +2 -3
  18. package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +1 -0
  19. package/src/components/AppHeader/AppHeader.scss +0 -1
  20. package/src/components/Icon/Icon.tsx +1 -0
  21. package/src/components/Icon/iconList.ts +10 -2
  22. package/src/components/MiniModal/MiniModal.stories.tsx +7 -5
  23. package/src/components/MiniModal/MiniModal.tsx +29 -23
  24. package/src/components/MiniModal/types.ts +1 -1
  25. package/src/components/Modal/Modal.tsx +2 -2
  26. package/src/components/Select/Select.tsx +2 -0
  27. package/src/components/Select/types.ts +5 -0
  28. package/src/components/StateDropdown/StateDropdown.tsx +18 -6
  29. package/src/components/Typography/Typography.scss +32 -2
  30. package/src/index.ts +2 -0
  31. package/src/utils/downloadFile/saveFileFromBlob.stories.tsx +62 -0
  32. package/src/utils/downloadFile/saveFileFromBlob.ts +40 -0
  33. /package/src/assets/icons/{fireflink_standard_template.svg → standard_template.svg} +0 -0
Binary file
@@ -9,7 +9,7 @@ export interface MiniEditModalProps {
9
9
  /**
10
10
  * A reference to the button element that triggers the modal.
11
11
  */
12
- anchorRef: RefObject<HTMLButtonElement>;
12
+ anchorRef: RefObject<HTMLButtonElement> | string;
13
13
  /**
14
14
  * Optional properties for configuring the modal header.
15
15
  */
@@ -21,6 +21,7 @@ export interface SelectProps {
21
21
  height?: number;
22
22
  width?: number | string;
23
23
  onBlur?: () => void;
24
+ disableInput?: boolean;
24
25
  }
25
26
  export interface DrowdownPosition {
26
27
  positionX: number;
package/lib/index.d.ts CHANGED
@@ -665,6 +665,7 @@ interface SelectProps$1 {
665
665
  height?: number;
666
666
  width?: number | string;
667
667
  onBlur?: () => void;
668
+ disableInput?: boolean;
668
669
  }
669
670
  type OptionValue = any;
670
671
  interface Option$2 {
@@ -1282,7 +1283,7 @@ interface MiniEditModalProps {
1282
1283
  /**
1283
1284
  * A reference to the button element that triggers the modal.
1284
1285
  */
1285
- anchorRef: RefObject<HTMLButtonElement>;
1286
+ anchorRef: RefObject<HTMLButtonElement> | string;
1286
1287
  /**
1287
1288
  * Optional properties for configuring the modal header.
1288
1289
  */
@@ -2255,4 +2256,6 @@ declare const getSequentialPayload: (machineInstances?: MachineExecutionInstance
2255
2256
 
2256
2257
  declare const ConnectingBranch: React__default.FC;
2257
2258
 
2258
- export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, BarChart, Button, Checkbox, Chip, Col, ConnectingBranch, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, EditTextField, Editor, ExpandableMenu, FileDropzone, Forms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, throttle, toast, truncateText, useTheme };
2259
+ declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
2260
+
2261
+ export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, BarChart, Button, Checkbox, Chip, Col, ConnectingBranch, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, EditTextField, Editor, ExpandableMenu, FileDropzone, Forms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, saveFileFromBlob, throttle, toast, truncateText, useTheme };