pixel-react 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.d.ts +5 -0
  3. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
  4. package/lib/components/Charts/DashboardDonutChart/index.d.ts +1 -0
  5. package/lib/components/Charts/DashboardDonutChart/types.d.ts +21 -0
  6. package/lib/components/Charts/PieChart/PieChart.d.ts +5 -0
  7. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
  8. package/lib/components/Charts/PieChart/index.d.ts +1 -0
  9. package/lib/components/Charts/PieChart/types.d.ts +27 -0
  10. package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
  11. package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -1
  12. package/lib/components/NLPInput/NlpInput.d.ts +4 -0
  13. package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
  14. package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +19 -0
  15. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +4 -0
  16. package/lib/components/NLPInput/index.d.ts +1 -0
  17. package/lib/components/NLPInput/type.d.ts +70 -0
  18. package/lib/components/Table/Table.d.ts +1 -1
  19. package/lib/index.d.ts +73 -18
  20. package/lib/index.esm.js +1412 -774
  21. package/lib/index.esm.js.map +1 -1
  22. package/lib/index.js +1414 -773
  23. package/lib/index.js.map +1 -1
  24. package/lib/tsconfig.tsbuildinfo +1 -1
  25. package/lib/utils/getEncryptedData/getEncryptedData.d.ts +2 -0
  26. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
  27. package/package.json +2 -1
  28. package/src/StyleGuide/ColorPalette/ColorPalette.tsx +2 -4
  29. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +95 -20
  30. package/src/assets/Themes/BaseTheme.scss +2 -3
  31. package/src/assets/Themes/DarkTheme.scss +9 -8
  32. package/src/assets/icons/wswb_delete_icon.svg +4 -0
  33. package/src/assets/icons/wswb_plus_icon.svg +5 -0
  34. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +145 -0
  35. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +52 -0
  36. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +335 -0
  37. package/src/components/Charts/DashboardDonutChart/index.ts +1 -0
  38. package/src/components/Charts/DashboardDonutChart/types.ts +33 -0
  39. package/src/components/Charts/PieChart/PieChart.scss +39 -0
  40. package/src/components/Charts/PieChart/PieChart.stories.tsx +46 -0
  41. package/src/components/Charts/PieChart/PieChart.tsx +193 -0
  42. package/src/components/Charts/PieChart/index.ts +1 -0
  43. package/src/components/Charts/PieChart/types.ts +28 -0
  44. package/src/components/Icon/iconList.ts +6 -0
  45. package/src/components/Modal/modal.scss +1 -1
  46. package/src/components/MultiSelect/MultiSelect.stories.tsx +2 -3
  47. package/src/components/MultiSelect/MultiSelect.tsx +35 -23
  48. package/src/components/MultiSelect/MultiSelectTypes.ts +1 -1
  49. package/src/components/NLPInput/NLPInput.scss +246 -0
  50. package/src/components/NLPInput/NlpInput.stories.tsx +136 -0
  51. package/src/components/NLPInput/NlpInput.tsx +374 -0
  52. package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +60 -0
  53. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +83 -0
  54. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +180 -0
  55. package/src/components/NLPInput/index.ts +1 -0
  56. package/src/components/NLPInput/type.tsx +124 -0
  57. package/src/components/Table/Table.scss +5 -0
  58. package/src/components/Table/Table.stories.tsx +12 -0
  59. package/src/components/Table/Table.tsx +25 -14
  60. package/src/components/TextArea/Textarea.scss +1 -1
  61. package/src/index.ts +6 -1
  62. package/src/utils/getEncryptedData/getEncryptedData.stories.tsx +55 -0
  63. package/src/utils/getEncryptedData/getEncryptedData.ts +10 -0
  64. package/lib/components/AddButton/AddButton.d.ts +0 -5
  65. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  66. package/lib/components/AddButton/index.d.ts +0 -1
  67. package/lib/components/AddButton/types.d.ts +0 -4
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/styleguide/colorpalette/colorpalette.stories.tsx","../src/styleguide/colorpalette/colorpalette.tsx","../src/styleguide/colorpalette/colorpalettelist.ts","../src/styleguide/colorpalette/index.ts","../src/styleguide/colorpalette/types.ts","../src/styleguide/typography/typography.stories.tsx","../src/styleguide/typography/typography.tsx","../src/styleguide/typography/typographylist.ts","../src/styleguide/typography/types.ts","../src/assets/utils/functionutils.ts","../src/components/accordion/accordion.stories.tsx","../src/components/accordion/accordion.tsx","../src/components/accordion/index.ts","../src/components/accordion/types.ts","../src/components/addresourcebutton/addbutton.stories.tsx","../src/components/addresourcebutton/addbutton.tsx","../src/components/addresourcebutton/index.ts","../src/components/addresourcebutton/type.ts","../src/components/addresourcebutton/arrowsbutton/arrowsbutton.tsx","../src/components/allprojectsdropdown/allprojectsdropdown.stories.tsx","../src/components/allprojectsdropdown/allprojectsdropdown.tsx","../src/components/allprojectsdropdown/index.ts","../src/components/appheader/appheader.stories.tsx","../src/components/appheader/appheader.tsx","../src/components/appheader/index.ts","../src/components/appheader/types.ts","../src/components/button/button.stories.tsx","../src/components/button/button.tsx","../src/components/button/index.ts","../src/components/button/types.ts","../src/components/charts/donutchart/donutchart.stories.tsx","../src/components/charts/donutchart/donutchart.tsx","../src/components/charts/donutchart/index.ts","../src/components/charts/donutchart/type.ts","../src/components/charts/radialchart/radialchart.stories.tsx","../src/components/charts/radialchart/radialchart.tsx","../src/components/charts/radialchart/index.ts","../src/components/charts/radialchart/types.ts","../src/components/checkbox/checkbox.stories.tsx","../src/components/checkbox/checkbox.tsx","../src/components/checkbox/index.ts","../src/components/checkbox/types.ts","../src/components/chip/chip.stories.tsx","../src/components/chip/chip.tsx","../src/components/chip/index.ts","../src/components/chip/types.ts","../src/components/datepicker/datepicker.stories.tsx","../src/components/datepicker/datepicker.tsx","../src/components/datepicker/timepicker.tsx","../src/components/datepicker/index.ts","../src/components/datepicker/types.ts","../src/components/draganddrop/draganddrop.stories.tsx","../src/components/draganddrop/draganddrop.ts","../src/components/draganddrop/draganddroplist.tsx","../src/components/draganddrop/index.ts","../src/components/drawer/drawer.stories.tsx","../src/components/drawer/drawer.tsx","../src/components/drawer/types.ts","../src/components/drawer/index.ts","../src/components/expandablemenu/expandablemenu.stories.tsx","../src/components/expandablemenu/expandablemenu.tsx","../src/components/expandablemenu/index.ts","../src/components/expandablemenu/types.ts","../src/components/ff_captcha/recaptcha.tsx","../src/components/ff_captcha/captcha.stories.tsx","../src/components/ff_captcha/index.ts","../src/components/ff_captcha/types.ts","../src/components/filedropzone/dropzone.tsx","../src/components/filedropzone/filedropzone.stories.tsx","../src/components/filedropzone/filedropzone.tsx","../src/components/filedropzone/filepreview.tsx","../src/components/filedropzone/index.ts","../src/components/filedropzone/types.ts","../src/components/form/form.stories.tsx","../src/components/form/form.tsx","../src/components/form/index.ts","../src/components/form/types.ts","../src/components/gridlayout/gridlayout.stories.tsx","../src/components/gridlayout/gridlayout.tsx","../src/components/gridlayout/index.ts","../src/components/gridlayout/types.ts","../src/components/highlighttext/highlighttext.stories.tsx","../src/components/highlighttext/highlighttext.tsx","../src/components/highlighttext/index.ts","../src/components/highlighttext/types.ts","../src/components/icon/icon.stories.tsx","../src/components/icon/icon.tsx","../src/components/icon/iconlist.ts","../src/components/icon/index.ts","../src/components/icon/types.ts","../src/components/iconbutton/iconbutton.stories.tsx","../src/components/iconbutton/iconbutton.tsx","../src/components/iconbutton/index.ts","../src/components/iconbutton/types.ts","../src/components/input/input.stories.tsx","../src/components/input/input.tsx","../src/components/input/index.ts","../src/components/input/types.ts","../src/components/inputwithdropdown/inputwithdropdown.stories.tsx","../src/components/inputwithdropdown/inputwithdropdown.tsx","../src/components/inputwithdropdown/index.ts","../src/components/inputwithdropdown/types.ts","../src/components/lazyload/lazyload.stories.tsx","../src/components/lazyload/lazyload.ts","../src/components/lazyload/lazyloading.tsx","../src/components/lazyload/index.ts","../src/components/menuoption/menuoption.stories.tsx","../src/components/menuoption/menuoption.tsx","../src/components/menuoption/index.ts","../src/components/menuoption/types.ts","../src/components/minimodal/minimodal.stories.tsx","../src/components/minimodal/minimodal.tsx","../src/components/minimodal/index.ts","../src/components/minimodal/types.ts","../src/components/modal/modal.stories.tsx","../src/components/modal/modal.tsx","../src/components/modal/index.tsx","../src/components/modal/types.ts","../src/components/multiselect/dropdown.tsx","../src/components/multiselect/multiselect.stories.tsx","../src/components/multiselect/multiselect.tsx","../src/components/multiselect/multiselecttypes.ts","../src/components/multiselect/dropdowntypes.ts","../src/components/multiselect/index.ts","../src/components/radiobutton/radiobutton.stories.tsx","../src/components/radiobutton/radiobutton.tsx","../src/components/radiobutton/index.ts","../src/components/radiobutton/radiobuttontypes.tsx","../src/components/radiogroup/radiogroup.stories.tsx","../src/components/radiogroup/radiogroup.tsx","../src/components/radiogroup/index.ts","../src/components/radiogroup/radiogrouptypes.tsx","../src/components/search/search.stories.tsx","../src/components/search/search.tsx","../src/components/search/index.ts","../src/components/search/types.ts","../src/components/select/select.stories.tsx","../src/components/select/select.tsx","../src/components/select/index.ts","../src/components/select/types.ts","../src/components/select/components/dropdown/dropdown.tsx","../src/components/select/components/dropdown/dropdowntypes.ts","../src/components/statedropdown/statedropdown.stories.tsx","../src/components/statedropdown/statedropdown.tsx","../src/components/statedropdown/statedropdowntypes.tsx","../src/components/statedropdown/index.ts","../src/components/statusbutton/statusbutton.stories.tsx","../src/components/statusbutton/statusbutton.tsx","../src/components/statusbutton/index.ts","../src/components/statusbutton/types.ts","../src/components/table/table.stories.tsx","../src/components/table/table.tsx","../src/components/table/types.ts","../src/components/table/index.ts","../src/components/tabletree/tabletree.stories.tsx","../src/components/tabletree/tabletree.tsx","../src/components/tabletree/data.ts","../src/components/tabletree/index.ts","../src/components/tabs/tabs.stories.tsx","../src/components/tabs/tabs.tsx","../src/components/tabs/index.ts","../src/components/tabs/types.ts","../src/components/textarea/textarea.stories.tsx","../src/components/textarea/textarea.tsx","../src/components/textarea/types.ts","../src/components/textarea/index.tsx","../src/components/themeprovider/themeprovider.tsx","../src/components/themeprovider/index.ts","../src/components/themeprovider/types.ts","../src/components/toast/toast.stories.tsx","../src/components/toast/toast.tsx","../src/components/toast/index.ts","../src/components/toast/types.ts","../src/components/toggle/toggle.stories.tsx","../src/components/toggle/toggle.tsx","../src/components/toggle/index.ts","../src/components/toggle/types.ts","../src/components/tooltip/tooltip.stories.tsx","../src/components/tooltip/tooltip.tsx","../src/components/tooltip/index.ts","../src/components/tooltip/types.ts","../src/components/typography/typography.stories.tsx","../src/components/typography/typography.tsx","../src/components/typography/index.ts","../src/components/typography/types.ts","../src/hooks/useclickoutside.tsx","../src/hooks/usefiledropzone.tsx","../src/hooks/useportalposition.tsx","../src/hooks/usetheme.tsx","../src/hooks/keyboardevents/useesckeyevent.tsx","../src/utils/tablecell/tablecell.ts","../src/utils/checkempty/checkempty.stories.tsx","../src/utils/checkempty/checkempty.ts","../src/utils/comparearrays/comparearrays.stories.tsx","../src/utils/comparearrays/comparearrays.ts","../src/utils/compareobjects/compareobjects.stories.tsx","../src/utils/compareobjects/compareobjects.ts","../src/utils/debounce/debounce.stories.tsx","../src/utils/debounce/debounce.ts","../src/utils/ffid/ffid.stories.tsx","../src/utils/ffid/ffid.ts","../src/utils/find/findandinsert.stories.tsx","../src/utils/find/findandinsert.ts","../src/utils/getextension/getextension.stories.tsx","../src/utils/getextension/getextension.ts","../src/utils/throttle/throttle.stories.tsx","../src/utils/throttle/throttle.ts","../src/utils/truncatetext/truncatetext.stories.tsx","../src/utils/truncatetext/truncatetext.ts"],"version":"5.6.3"}
1
+ {"root":["../src/index.ts","../src/styleguide/colorpalette/colorpalette.stories.tsx","../src/styleguide/colorpalette/colorpalette.tsx","../src/styleguide/colorpalette/colorpalettelist.ts","../src/styleguide/colorpalette/index.ts","../src/styleguide/colorpalette/types.ts","../src/styleguide/typography/typography.stories.tsx","../src/styleguide/typography/typography.tsx","../src/styleguide/typography/typographylist.ts","../src/styleguide/typography/types.ts","../src/assets/utils/functionutils.ts","../src/components/accordion/accordion.stories.tsx","../src/components/accordion/accordion.tsx","../src/components/accordion/index.ts","../src/components/accordion/types.ts","../src/components/addresourcebutton/addbutton.stories.tsx","../src/components/addresourcebutton/addbutton.tsx","../src/components/addresourcebutton/index.ts","../src/components/addresourcebutton/type.ts","../src/components/addresourcebutton/arrowsbutton/arrowsbutton.tsx","../src/components/allprojectsdropdown/allprojectsdropdown.stories.tsx","../src/components/allprojectsdropdown/allprojectsdropdown.tsx","../src/components/allprojectsdropdown/index.ts","../src/components/appheader/appheader.stories.tsx","../src/components/appheader/appheader.tsx","../src/components/appheader/index.ts","../src/components/appheader/types.ts","../src/components/button/button.stories.tsx","../src/components/button/button.tsx","../src/components/button/index.ts","../src/components/button/types.ts","../src/components/charts/dashboarddonutchart/dashboarddonutchart.stories.tsx","../src/components/charts/dashboarddonutchart/dashboarddonutchart.tsx","../src/components/charts/dashboarddonutchart/index.ts","../src/components/charts/dashboarddonutchart/types.ts","../src/components/charts/donutchart/donutchart.stories.tsx","../src/components/charts/donutchart/donutchart.tsx","../src/components/charts/donutchart/index.ts","../src/components/charts/donutchart/type.ts","../src/components/charts/piechart/piechart.stories.tsx","../src/components/charts/piechart/piechart.tsx","../src/components/charts/piechart/index.ts","../src/components/charts/piechart/types.ts","../src/components/charts/radialchart/radialchart.stories.tsx","../src/components/charts/radialchart/radialchart.tsx","../src/components/charts/radialchart/index.ts","../src/components/charts/radialchart/types.ts","../src/components/checkbox/checkbox.stories.tsx","../src/components/checkbox/checkbox.tsx","../src/components/checkbox/index.ts","../src/components/checkbox/types.ts","../src/components/chip/chip.stories.tsx","../src/components/chip/chip.tsx","../src/components/chip/index.ts","../src/components/chip/types.ts","../src/components/datepicker/datepicker.stories.tsx","../src/components/datepicker/datepicker.tsx","../src/components/datepicker/timepicker.tsx","../src/components/datepicker/index.ts","../src/components/datepicker/types.ts","../src/components/draganddrop/draganddrop.stories.tsx","../src/components/draganddrop/draganddrop.ts","../src/components/draganddrop/draganddroplist.tsx","../src/components/draganddrop/index.ts","../src/components/drawer/drawer.stories.tsx","../src/components/drawer/drawer.tsx","../src/components/drawer/types.ts","../src/components/drawer/index.ts","../src/components/expandablemenu/expandablemenu.stories.tsx","../src/components/expandablemenu/expandablemenu.tsx","../src/components/expandablemenu/index.ts","../src/components/expandablemenu/types.ts","../src/components/ff_captcha/recaptcha.tsx","../src/components/ff_captcha/captcha.stories.tsx","../src/components/ff_captcha/index.ts","../src/components/ff_captcha/types.ts","../src/components/filedropzone/dropzone.tsx","../src/components/filedropzone/filedropzone.stories.tsx","../src/components/filedropzone/filedropzone.tsx","../src/components/filedropzone/filepreview.tsx","../src/components/filedropzone/index.ts","../src/components/filedropzone/types.ts","../src/components/form/form.stories.tsx","../src/components/form/form.tsx","../src/components/form/index.ts","../src/components/form/types.ts","../src/components/gridlayout/gridlayout.stories.tsx","../src/components/gridlayout/gridlayout.tsx","../src/components/gridlayout/index.ts","../src/components/gridlayout/types.ts","../src/components/highlighttext/highlighttext.stories.tsx","../src/components/highlighttext/highlighttext.tsx","../src/components/highlighttext/index.ts","../src/components/highlighttext/types.ts","../src/components/icon/icon.stories.tsx","../src/components/icon/icon.tsx","../src/components/icon/iconlist.ts","../src/components/icon/index.ts","../src/components/icon/types.ts","../src/components/iconbutton/iconbutton.stories.tsx","../src/components/iconbutton/iconbutton.tsx","../src/components/iconbutton/index.ts","../src/components/iconbutton/types.ts","../src/components/input/input.stories.tsx","../src/components/input/input.tsx","../src/components/input/index.ts","../src/components/input/types.ts","../src/components/inputwithdropdown/inputwithdropdown.stories.tsx","../src/components/inputwithdropdown/inputwithdropdown.tsx","../src/components/inputwithdropdown/index.ts","../src/components/inputwithdropdown/types.ts","../src/components/lazyload/lazyload.stories.tsx","../src/components/lazyload/lazyload.ts","../src/components/lazyload/lazyloading.tsx","../src/components/lazyload/index.ts","../src/components/menuoption/menuoption.stories.tsx","../src/components/menuoption/menuoption.tsx","../src/components/menuoption/index.ts","../src/components/menuoption/types.ts","../src/components/minimodal/minimodal.stories.tsx","../src/components/minimodal/minimodal.tsx","../src/components/minimodal/index.ts","../src/components/minimodal/types.ts","../src/components/modal/modal.stories.tsx","../src/components/modal/modal.tsx","../src/components/modal/index.tsx","../src/components/modal/types.ts","../src/components/multiselect/dropdown.tsx","../src/components/multiselect/multiselect.stories.tsx","../src/components/multiselect/multiselect.tsx","../src/components/multiselect/multiselecttypes.ts","../src/components/multiselect/dropdowntypes.ts","../src/components/multiselect/index.ts","../src/components/nlpinput/nlpinput.stories.tsx","../src/components/nlpinput/nlpinput.tsx","../src/components/nlpinput/index.ts","../src/components/nlpinput/type.tsx","../src/components/nlpinput/components/nlpdropdown/nlpdropdowntype.ts","../src/components/nlpinput/components/nlpdropdown/nlpdropdown.tsx","../src/components/radiobutton/radiobutton.stories.tsx","../src/components/radiobutton/radiobutton.tsx","../src/components/radiobutton/index.ts","../src/components/radiobutton/radiobuttontypes.tsx","../src/components/radiogroup/radiogroup.stories.tsx","../src/components/radiogroup/radiogroup.tsx","../src/components/radiogroup/index.ts","../src/components/radiogroup/radiogrouptypes.tsx","../src/components/search/search.stories.tsx","../src/components/search/search.tsx","../src/components/search/index.ts","../src/components/search/types.ts","../src/components/select/select.stories.tsx","../src/components/select/select.tsx","../src/components/select/index.ts","../src/components/select/types.ts","../src/components/select/components/dropdown/dropdown.tsx","../src/components/select/components/dropdown/dropdowntypes.ts","../src/components/statedropdown/statedropdown.stories.tsx","../src/components/statedropdown/statedropdown.tsx","../src/components/statedropdown/statedropdowntypes.tsx","../src/components/statedropdown/index.ts","../src/components/statusbutton/statusbutton.stories.tsx","../src/components/statusbutton/statusbutton.tsx","../src/components/statusbutton/index.ts","../src/components/statusbutton/types.ts","../src/components/table/table.stories.tsx","../src/components/table/table.tsx","../src/components/table/types.ts","../src/components/table/index.ts","../src/components/tabletree/tabletree.stories.tsx","../src/components/tabletree/tabletree.tsx","../src/components/tabletree/data.ts","../src/components/tabletree/index.ts","../src/components/tabs/tabs.stories.tsx","../src/components/tabs/tabs.tsx","../src/components/tabs/index.ts","../src/components/tabs/types.ts","../src/components/textarea/textarea.stories.tsx","../src/components/textarea/textarea.tsx","../src/components/textarea/types.ts","../src/components/textarea/index.tsx","../src/components/themeprovider/themeprovider.tsx","../src/components/themeprovider/index.ts","../src/components/themeprovider/types.ts","../src/components/toast/toast.stories.tsx","../src/components/toast/toast.tsx","../src/components/toast/index.ts","../src/components/toast/types.ts","../src/components/toggle/toggle.stories.tsx","../src/components/toggle/toggle.tsx","../src/components/toggle/index.ts","../src/components/toggle/types.ts","../src/components/tooltip/tooltip.stories.tsx","../src/components/tooltip/tooltip.tsx","../src/components/tooltip/index.ts","../src/components/tooltip/types.ts","../src/components/typography/typography.stories.tsx","../src/components/typography/typography.tsx","../src/components/typography/index.ts","../src/components/typography/types.ts","../src/hooks/useclickoutside.tsx","../src/hooks/usefiledropzone.tsx","../src/hooks/useportalposition.tsx","../src/hooks/usetheme.tsx","../src/hooks/keyboardevents/useesckeyevent.tsx","../src/utils/tablecell/tablecell.ts","../src/utils/checkempty/checkempty.stories.tsx","../src/utils/checkempty/checkempty.ts","../src/utils/comparearrays/comparearrays.stories.tsx","../src/utils/comparearrays/comparearrays.ts","../src/utils/compareobjects/compareobjects.stories.tsx","../src/utils/compareobjects/compareobjects.ts","../src/utils/debounce/debounce.stories.tsx","../src/utils/debounce/debounce.ts","../src/utils/ffid/ffid.stories.tsx","../src/utils/ffid/ffid.ts","../src/utils/find/findandinsert.stories.tsx","../src/utils/find/findandinsert.ts","../src/utils/getencrypteddata/getencrypteddata.stories.tsx","../src/utils/getencrypteddata/getencrypteddata.ts","../src/utils/getextension/getextension.stories.tsx","../src/utils/getextension/getextension.ts","../src/utils/throttle/throttle.stories.tsx","../src/utils/throttle/throttle.ts","../src/utils/truncatetext/truncatetext.stories.tsx","../src/utils/truncatetext/truncatetext.ts"],"version":"5.6.3"}
@@ -0,0 +1,2 @@
1
+ declare const getEncryptedData: (data: string, publicKey: string) => string | false;
2
+ export default getEncryptedData;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: (data: string, publicKey: string) => string | false;
4
+ };
5
+ export default _default;
6
+ export declare const InteractivePlayground: () => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pixel-react",
3
3
  "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "types": "lib/index.d.ts",
@@ -61,6 +61,7 @@
61
61
  "@vitejs/plugin-react": "^4.3.3",
62
62
  "classnames": "^2.5.1",
63
63
  "date-fns-tz": "^3.2.0",
64
+ "jsencrypt": "^3.3.2",
64
65
  "react-day-picker": "^9.2.1",
65
66
  "react-google-recaptcha": "^3.1.0",
66
67
  "react-hook-form": "^7.53.0",
@@ -26,15 +26,13 @@ const ColorBox = ({
26
26
  <div className="color-card">
27
27
  <span className="color-name">{name}</span>
28
28
  <div className="color-box" style={boxStyle}>
29
- <p style={{ '--colorCode': colorCode } as React.CSSProperties}>
30
- {' '}
31
- {variable}
32
- </p>
29
+ <p style={{ '--colorCode': colorCode } as React.CSSProperties}> </p>
33
30
  </div>
34
31
  <span className="color-code">
35
32
  {colorCode} {opacityPercentage && `opacity ${opacityPercentage}`} <br />
36
33
  {border && `Border -${border}`}
37
34
  </span>
35
+ <span className="color-code">{variable}</span>
38
36
  </div>
39
37
  );
40
38
  };
@@ -3,95 +3,170 @@ import { ColorPaletteType } from './types';
3
3
  const ColorPalette: ColorPaletteType = [
4
4
  { name: 'Brand Color', colorCode: '#71347b', variable: '--brand-color' },
5
5
  { name: 'Text Color', colorCode: '#1e161f', variable: '--text-color' },
6
- { name: 'Description Text', colorCode: '#7a7a7a' },
7
- { name: 'Clickable Text Color', colorCode: '#71347b' },
8
- { name: 'Icons Default Color', colorCode: '#71347b' },
9
- { name: 'Border Color', colorCode: '#f0e7f4' },
10
- { name: 'Disable Color', colorCode: '#71347b', opacity: 0.5 },
11
- { name: 'Hover Color', colorCode: '#f7ebff' },
12
- { name: 'Pop-up Background Blur', colorCode: '#14041c', opacity: 0.1 },
13
- { name: 'Drawer Footer Background', colorCode: '#ffffff', border: '#f0e7f4' },
14
- { name: 'Slider Table Color', colorCode: '#efe1f9', opacity: 1 },
15
- { name: 'Text bg Highlight', colorCode: '#f5fb00' },
6
+ {
7
+ name: 'Description Text',
8
+ colorCode: '#7a7a7a',
9
+ variable: '--description-text',
10
+ },
11
+ {
12
+ name: 'Clickable Text Color',
13
+ colorCode: '#71347b',
14
+ variable: '--click-able-text-color',
15
+ },
16
+ {
17
+ name: 'Icons Default Color',
18
+ colorCode: '#71347b',
19
+ variable: '--icons-default-color',
20
+ },
21
+ { name: 'Border Color', colorCode: '#f0e7f4', variable: '--border-color' },
22
+ {
23
+ name: 'Disable Color',
24
+ colorCode: '#71347b',
25
+ opacity: 0.5,
26
+ variable: '--disable-color',
27
+ },
28
+ { name: 'Hover Color', colorCode: '#f7ebff', variable: '--hover-color' },
29
+ {
30
+ name: 'Pop-up Background Blur',
31
+ colorCode: '#14041c',
32
+ opacity: 0.1,
33
+ variable: '--pop-up-background-blur',
34
+ },
35
+ {
36
+ name: 'Drawer Footer Background',
37
+ colorCode: '#ffffff',
38
+ border: '#f0e7f4',
39
+ variable: '--drawer-footer-bg',
40
+ },
41
+ {
42
+ name: 'Slider Table Color',
43
+ colorCode: '#efe1f9',
44
+ opacity: 1,
45
+ variable: '--slider-table-color',
46
+ },
47
+ {
48
+ name: 'Text bg Highlight',
49
+ colorCode: '#f5fb00',
50
+ variable: '--text-bg-highlight',
51
+ },
16
52
 
17
- { name: 'Tooltip Bg Color', colorCode: '#1e161f' },
18
- { name: 'Tooltip Text Color(default)', colorCode: '#ffffff' },
53
+ {
54
+ name: 'Tooltip Bg Color',
55
+ colorCode: '#1e161f',
56
+ variable: '--tooltip-bg-color',
57
+ },
58
+ {
59
+ name: 'Tooltip Text Color(default)',
60
+ colorCode: '#ffffff',
61
+ variable: '--tooltip-text-color',
62
+ },
19
63
  {
20
64
  name: 'Toggle Strip Color(default)',
21
65
  colorCode: '#cfd1e2',
22
66
  dropShadow: 'drop-shadow(0 0 2px #00000025)',
67
+ variable: '--toggle-strip-color',
68
+ },
69
+ {
70
+ name: 'Tooltip Text Color(Active)',
71
+ colorCode: '#ffffff',
72
+ variable: '--tooltip-text-color',
23
73
  },
24
- { name: 'Tooltip Text Color(Active)', colorCode: '#ffffff' },
25
74
  {
26
75
  name: 'Toggle Strip Color(Active)',
27
76
  colorCode: '#71347b',
28
77
  dropShadow: 'drop-shadow(0 0 2px #00000025)',
78
+ variable: '--toggle-strip-active',
29
79
  }, // todo drop shadow
30
80
  {
31
81
  name: 'Primary Button Color',
32
82
  colorCode:
33
83
  'linear-gradient(90deg, rgba(113, 52, 123, 1) 100%, rgba(70, 22, 77, 1) 100%)',
84
+ variable: '--primary-button-color',
34
85
  },
35
86
  {
36
87
  name: 'Primary Button Hover',
37
88
  colorCode:
38
89
  'linear-gradient(90deg, rgba(141, 59, 154, 1) 100%, rgba(120, 31, 134, 1) 100%)',
90
+ variable: '--primary-button-hover',
39
91
  },
40
92
  {
41
93
  name: 'Primary Button Disable',
42
94
  colorCode:
43
95
  'linear-gradient(90deg, rgba(113, 52, 123, 1) 100%, rgba(113, 52, 123, 1) 100%)',
44
96
  opacity: 0.5,
97
+ variable: '--primary-button-disable',
45
98
  },
46
- { name: 'Primary Button Text Color', colorCode: '#ffffff' },
47
99
  {
48
- name: 'Secondary Button (default)',
100
+ name: 'Primary Button Text Color',
101
+ colorCode: '#ffffff',
102
+ variable: '--primary-button-text-color',
103
+ },
104
+ {
105
+ name: 'Secondary Button Icon Color (default)',
49
106
  colorCode: 'rgba(113, 52, 123, 1)',
107
+ variable: '--secondary-icon-color',
50
108
  },
51
109
  {
52
110
  name: 'Secondary Button (Hover)',
53
111
  colorCode:
54
112
  'linear-gradient(90deg, rgba(113, 52, 123, 0.05) 100%, rgba(70, 22, 77, 0.05) 100%)',
113
+ variable: '--secondary-button-hover',
55
114
  },
56
115
  {
57
116
  name: 'Secondary Button (Disabled)',
58
117
  colorCode: 'rgba(113, 52, 123, 1)',
59
118
  opacity: 0.5,
119
+ variable: '--disable-color',
60
120
  },
61
121
  {
62
122
  name: 'Tertiary Button (default)',
63
123
  colorCode:
64
124
  'linear-gradient(90deg, rgba(70, 22, 77, 0.05) 100%, rgba(113, 52, 123, 0.05) 100%)',
125
+ variable: '--tertiary-button-color',
65
126
  },
66
127
  {
67
128
  name: 'Tertiary Button (Hover)',
68
129
  colorCode:
69
130
  'linear-gradient(90deg, rgba(70, 22, 77, 0.1) 100%, rgba(113, 52, 123, 0.1) 100%)',
131
+ variable: '--tertiary-button-hover',
70
132
  },
71
133
  {
72
134
  name: 'Tertiary Button (Disabled)',
73
135
  colorCode:
74
136
  'linear-gradient(90deg, rgba(70, 22, 77, 0.05) 100%, rgba(113, 52, 123, 0.05) 100%)',
75
137
  opacity: 0.5,
138
+ variable: '--tertiary-button-color',
76
139
  },
77
140
  {
78
- name: 'Primary Button Color',
141
+ name: 'Delete Button Color',
79
142
  colorCode:
80
143
  'linear-gradient(90deg, rgba(228, 37, 37, 1) 100%, rgba(201, 0, 0, 1) 100%)',
144
+ variable: '--delete-button-color',
81
145
  },
82
146
  {
83
- name: 'Primary Button Hover',
147
+ name: 'Delete Button Hover',
84
148
  colorCode:
85
149
  'linear-gradient(90deg, rgba(233, 81, 81, 1) 100%, rgba(212, 52, 52, 1) 100%)',
150
+ variable: '--delete-button-hover',
86
151
  },
87
152
  {
88
- name: 'Primary Button Disabled',
153
+ name: 'Delete Button Disabled',
89
154
  colorCode:
90
155
  'linear-gradient(90deg, rgba(233, 81, 81, 1) 100%, rgba(212, 52, 52, 1) 100%)',
91
156
  opacity: 0.5,
157
+ variable: '--delete-button-disable',
158
+ },
159
+ {
160
+ name: 'Primary Button Text Color',
161
+ colorCode: '#ffffff',
162
+ variable: '--primary-button-text-color',
163
+ },
164
+ {
165
+ name: 'Overlay Background',
166
+ colorCode: '#1e161f',
167
+ opacity: 0.1,
168
+ variable: '--overlay-bg',
92
169
  },
93
- { name: 'Primary Button Text Color', colorCode: '#ffffff' },
94
- { name: 'Overlay Background', colorCode: '#1e161f', opacity: 0.1 },
95
170
  ];
96
171
 
97
172
  export default ColorPalette;
@@ -61,11 +61,10 @@ $base-theme: (
61
61
  error_light: #e42525,
62
62
  ff-success: #079455,
63
63
  ff-warning: #f79009,
64
- ff-header-text-color : #fdfaff,
64
+ ff-header-text-color: #fdfaff,
65
65
  ff-header-submenu-text-color: #666468,
66
66
  ff-header-submenu-highlight-text-color: #170328,
67
67
 
68
-
69
68
  expandable-menu-default-bg: #fdfaff,
70
69
  expandable-menu-option-bg: #610b861a,
71
70
  file-dropzone-default-color: #71347b1a,
@@ -163,7 +162,7 @@ $base-theme: (
163
162
  license_header_text_color: #592f7c,
164
163
  license_active_status_color: #518e18,
165
164
  license_expired_status_color: #ab3425,
166
-
165
+ pie-chart-border-color: #b6b6b6,
167
166
  );
168
167
  :root {
169
168
  @each $key, $value in $base-theme {
@@ -163,14 +163,15 @@ $dark-theme: (
163
163
 
164
164
  primary-icon-color: #ffffff,
165
165
  secondary-icon-color: #71347b,
166
- disabled-primary-color: #F9F9F9,
167
- license_expireSoon_color:#BA7422,
168
- license_active_color:#268735,
169
- license_expired_color:#E34242,
170
- license_header_text_color:#592f7c,
171
- license_active_status_color:#518e18,
172
- license_expired_status_color:#ab3425,
173
- background-modal-color:#1111,
166
+ disabled-primary-color: #f9f9f9,
167
+ license_expireSoon_color: #ba7422,
168
+ license_active_color: #268735,
169
+ license_expired_color: #e34242,
170
+ license_header_text_color: #592f7c,
171
+ license_active_status_color: #518e18,
172
+ license_expired_status_color: #ab3425,
173
+ background-modal-color: #1111,
174
+ pie-chart-border-color: #b6b6b6,
174
175
  );
175
176
  :root {
176
177
  @each $key, $value in $dark-theme {
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.77783 17.4447C7.77783 17.8571 7.94168 18.2527 8.23333 18.5443C8.52498 18.836 8.92054 18.9998 9.333 18.9998H15.556C15.9685 18.9998 16.364 18.836 16.6557 18.5443C16.9473 18.2527 17.1112 17.8571 17.1112 17.4447V8.11133H7.77783V17.4447Z" fill="currentColor"/>
3
+ <path d="M15.1667 5.77817L14.3897 5H10.5L9.723 5.77817H7V7.33333H17.8885V5.77817H15.1667Z" fill="currentColor"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g opacity="0.4">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.25 5.25C12.6796 5.25 13.0278 5.59822 13.0278 6.02778V11.4722H18.4722C18.9018 11.4722 19.25 11.8204 19.25 12.25C19.25 12.6796 18.9018 13.0278 18.4722 13.0278H13.0278V18.4722C13.0278 18.9018 12.6796 19.25 12.25 19.25C11.8204 19.25 11.4722 18.9018 11.4722 18.4722V13.0278H6.02778C5.59822 13.0278 5.25 12.6796 5.25 12.25C5.25 11.8204 5.59822 11.4722 6.02778 11.4722H11.4722V6.02778C11.4722 5.59822 11.8204 5.25 12.25 5.25Z" fill="currentColor"/>
4
+ </g>
5
+ </svg>
@@ -0,0 +1,145 @@
1
+ @use '../../../assets/styles/fonts';
2
+
3
+ .ff-dashboard-donut-chart-section {
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+
8
+ &-table-legend {
9
+ flex-direction: row;
10
+ }
11
+
12
+ .ff-dashboard-donut-chart-svg-container {
13
+ text-align: center;
14
+ svg {
15
+ text:nth-of-type(1) {
16
+ @extend .font2Xl;
17
+ font-weight: 600;
18
+ }
19
+ text:nth-of-type(2) {
20
+ @extend .fontMd;
21
+ font-weight: 500;
22
+ }
23
+ }
24
+
25
+ .ff-donut-chart-tooltip {
26
+ position: fixed;
27
+ padding: 5px;
28
+ border-radius: 4px;
29
+ pointer-events: none;
30
+ background-color: var(--tooltip-bg-color);
31
+ color: var(--tooltip-text-color);
32
+ }
33
+ }
34
+
35
+ .ff-legend-container {
36
+ display: grid;
37
+ gap: 10px;
38
+
39
+ &.numberLegend {
40
+ grid-template-columns: repeat(3, 1fr);
41
+ .ff-legend-item {
42
+ display: flex;
43
+ flex-direction: column;
44
+ align-items: center;
45
+ }
46
+ }
47
+
48
+ &.pillLegend {
49
+ grid-template-columns: repeat(2, 1fr);
50
+ .ff-legend-item {
51
+ display: flex;
52
+ align-items: center;
53
+
54
+ .ff-legend-capsule {
55
+ background-color: var(--status-success-text-color);
56
+ color: var(--tooltip-text-color);
57
+ border-radius: 15px;
58
+ min-width: 25px;
59
+ height: 18px;
60
+ display: flex;
61
+ justify-content: center;
62
+ align-items: center;
63
+ }
64
+
65
+ .ff-legend-key {
66
+ margin-left: 8px;
67
+ }
68
+ }
69
+ }
70
+
71
+ &.memoryLegend {
72
+ grid-template-columns: repeat(2, 1fr);
73
+ .ff-legend-item {
74
+ display: flex;
75
+ flex-direction: column;
76
+ align-items: center;
77
+ width: 100%;
78
+ padding-right: 10px;
79
+ border-right: 1px solid var(--border-color);
80
+
81
+ // Remove the right border for the last item in each row
82
+ &:nth-child(2n) {
83
+ border-right: none;
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ .ff-legend-table-wrapper {
90
+ overflow: hidden;
91
+ border: 1px solid var(--border-color);
92
+ border-radius: 4px;
93
+ margin-left: 1rem;
94
+ }
95
+
96
+ .ff-legend-table {
97
+ width: 100%;
98
+ min-width: 300px;
99
+ border-collapse: collapse;
100
+ text-align: left;
101
+
102
+ .ff-table-header {
103
+ @extend .fontXs;
104
+ font-weight: bold;
105
+ background-color: var(--tabs-bg-color);
106
+ color: var(--input-hover-border-color);
107
+ padding: 0.5rem;
108
+
109
+ &:last-child {
110
+ text-align: right;
111
+ }
112
+ }
113
+
114
+ .ff-legend-capsule {
115
+ background-color: var(--status-success-text-color);
116
+ color: var(--tooltip-text-color);
117
+ border-radius: 1rem;
118
+ min-width: 22px;
119
+ height: 16px;
120
+ display: flex;
121
+ justify-content: center;
122
+ align-items: center;
123
+ }
124
+
125
+ .ff-legend-item {
126
+ .ff-legend-name,
127
+ .ff-legend-percentage,
128
+ .ff-legend-count {
129
+ padding: 0.5rem;
130
+ @extend .fontXs;
131
+ color: var(--input-hover-border-color);
132
+ }
133
+
134
+ .ff-legend-name {
135
+ display: flex;
136
+ align-items: baseline;
137
+ gap: 5px;
138
+ color: var(--input-hover-border-color);
139
+ }
140
+ .ff-legend-count {
141
+ text-align: right;
142
+ }
143
+ }
144
+ }
145
+ }
@@ -0,0 +1,52 @@
1
+ import { Meta, StoryObj } from '@storybook/react/*';
2
+ import DashboardDonutChart from './DashboardDonutChart';
3
+
4
+ const meta: Meta<typeof DashboardDonutChart> = {
5
+ title: 'Components/DashboardDonutChart',
6
+ component: DashboardDonutChart,
7
+ parameters: {
8
+ layout: 'centered',
9
+ },
10
+ tags: ['autodocs'],
11
+ };
12
+ export default meta;
13
+
14
+ type Story = StoryObj<typeof DashboardDonutChart>;
15
+
16
+ export const Default: Story = {
17
+ args: {
18
+ radius: 70,
19
+ lineWidth: 15,
20
+ legendDetailsType: 'Scripts',
21
+ isLegendDetails: true,
22
+ statusValues: [
23
+ { key: 'Passed', value: 60, color: 'var(--status-success-text-color)' },
24
+ { key: 'failed', value: 20, color: 'var(--status-rejected-text-color)' },
25
+ { key: 'Warning', value: 10, color: 'var(--status-warning-text-color)' },
26
+ { key: 'skipped', value: 10, color: 'var(--status-skipped-text-color)' },
27
+ ],
28
+ gapAngle: 0,
29
+ legendType: 'numberLegend',
30
+ showOnlyLabel: false,
31
+ },
32
+ };
33
+
34
+ export const MemoryLegend: Story = {
35
+ args: {
36
+ radius: 65,
37
+ lineWidth: 15,
38
+ legendDetailsType: 'Memory',
39
+ isLegendDetails: true,
40
+ statusValues: [
41
+ {
42
+ key: 'Available Memory',
43
+ value: 37.5,
44
+ color: 'var(--status-warning-text-color)',
45
+ },
46
+ { key: 'Used Memory', value: 72.5, color: 'var(--brand-color)' },
47
+ ],
48
+ gapAngle: 0,
49
+ legendType: 'memoryLegend',
50
+ showOnlyLabel: true,
51
+ },
52
+ };