@proprioo/salatim 26.1.3 → 26.2.2

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.
Files changed (115) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/lib/date/src/datePicker/DatePicker.test.d.ts +1 -1
  3. package/lib/date/src/datePickerWrapper/DatePickerWrapper.stories.d.ts +1 -1
  4. package/lib/date/src/datePickerWrapper/DatePickerWrapper.test.d.ts +1 -1
  5. package/lib/date/src/singleMonth/SingleMonth.stories.d.ts +1 -1
  6. package/lib/date/src/singleMonth/SingleMonth.test.d.ts +1 -1
  7. package/lib/energy/src/Energy.stories.d.ts +1 -1
  8. package/lib/energy/src/Energy.test.d.ts +1 -1
  9. package/lib/energy/src/Energy.utils.test.d.ts +1 -1
  10. package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.stories.d.ts +1 -1
  11. package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.test.d.ts +1 -1
  12. package/lib/forms/src/userForm/UserForm.stories.d.ts +1 -1
  13. package/lib/forms/src/userForm/UserForm.test.d.ts +1 -1
  14. package/lib/hooks/useDebounce/useDebounce.test.d.ts +1 -1
  15. package/lib/hooks/useEmailSuggestion/useEmailSuggestion.test.d.ts +1 -1
  16. package/lib/hooks/useFirstRender/useFirstRender.d.ts +1 -0
  17. package/lib/hooks/useFirstRender/useFirstRender.js +13 -0
  18. package/lib/hooks/useFirstRender/useFirstRender.js.map +1 -0
  19. package/lib/index.js +285 -300
  20. package/lib/index.js.map +1 -1
  21. package/lib/phone/src/phoneAndFlag/PhoneAndFlag.stories.d.ts +1 -1
  22. package/lib/phone/src/phoneAndFlag/PhoneAndFlags.test.d.ts +1 -1
  23. package/lib/phone/src/phoneInput/Phone.stories.d.ts +1 -1
  24. package/lib/phone/src/phoneInput/Phone.test.d.ts +1 -1
  25. package/lib/phone/src/utils.test.d.ts +1 -1
  26. package/lib/ui/src/accordion/Accordion.stories.d.ts +1 -1
  27. package/lib/ui/src/accordion/Accordion.test.d.ts +1 -1
  28. package/lib/ui/src/agentBanner/AgentBanner.stories.d.ts +1 -1
  29. package/lib/ui/src/agentBanner/AgentBanner.test.d.ts +1 -1
  30. package/lib/ui/src/agentCard/AgentCard.stories.d.ts +1 -1
  31. package/lib/ui/src/agentCard/AgentCard.test.d.ts +1 -1
  32. package/lib/ui/src/autocomplete/Autocomplete.stories.d.ts +2 -2
  33. package/lib/ui/src/autocomplete/Autocomplete.test.d.ts +1 -1
  34. package/lib/ui/src/block/Block.stories.d.ts +1 -1
  35. package/lib/ui/src/block/Block.test.d.ts +1 -1
  36. package/lib/ui/src/blockCheckIcon/BlockCheckIcon.stories.d.ts +1 -1
  37. package/lib/ui/src/blockCheckIcon/BlockCheckIcon.test.d.ts +1 -1
  38. package/lib/ui/src/blockIcon/BlockIcon.stories.d.ts +1 -1
  39. package/lib/ui/src/blockIcon/BlockIcon.test.d.ts +1 -1
  40. package/lib/ui/src/burger/Burger.stories.d.ts +1 -1
  41. package/lib/ui/src/burger/Burger.test.d.ts +1 -1
  42. package/lib/ui/src/button/Button.d.ts +2 -2
  43. package/lib/ui/src/button/Button.js.map +1 -1
  44. package/lib/ui/src/button/Button.stories.d.ts +1 -1
  45. package/lib/ui/src/button/Button.test.d.ts +1 -1
  46. package/lib/ui/src/buttonRadioGroup/ButtonRadioGroup.stories.d.ts +1 -1
  47. package/lib/ui/src/buttonRadioGroup/ButtonRadioGroup.test.d.ts +1 -1
  48. package/lib/ui/src/card/Card.stories.d.ts +1 -1
  49. package/lib/ui/src/card/Card.test.d.ts +1 -1
  50. package/lib/ui/src/checkbox/Checkbox.stories.d.ts +1 -1
  51. package/lib/ui/src/checkbox/Checkbox.test.d.ts +1 -1
  52. package/lib/ui/src/dateInput/DateInput.stories.d.ts +1 -1
  53. package/lib/ui/src/dateInput/DateInput.test.d.ts +1 -1
  54. package/lib/ui/src/emailInput/EmailInput.stories.d.ts +1 -1
  55. package/lib/ui/src/emailInput/EmailInput.test.d.ts +1 -1
  56. package/lib/ui/src/fieldset/Fieldset.stories.d.ts +1 -1
  57. package/lib/ui/src/fieldset/Fieldset.test.d.ts +1 -1
  58. package/lib/ui/src/gmapsAutoComplete/GmapsAutocomplete.stories.d.ts +1 -1
  59. package/lib/ui/src/gmapsGeocode/GmapsGeocode.stories.d.ts +1 -1
  60. package/lib/ui/src/gmapsSuggestions/GmapsSuggestions.d.ts +1 -1
  61. package/lib/ui/src/gmapsSuggestions/GmapsSuggestions.test.d.ts +1 -1
  62. package/lib/ui/src/input/Input.stories.d.ts +1 -1
  63. package/lib/ui/src/input/Input.test.d.ts +1 -1
  64. package/lib/ui/src/inputBase/InputBase.test.d.ts +1 -1
  65. package/lib/ui/src/inputLoading/InputLoading.stories.d.ts +1 -1
  66. package/lib/ui/src/inputLoading/InputLoading.test.d.ts +1 -1
  67. package/lib/ui/src/loader/Loader.stories.d.ts +1 -1
  68. package/lib/ui/src/loader/Loader.test.d.ts +1 -1
  69. package/lib/ui/src/logo/Logo.stories.d.ts +1 -1
  70. package/lib/ui/src/mockForm/MockForm.test.d.ts +1 -1
  71. package/lib/ui/src/modal/Modal.d.ts +1 -1
  72. package/lib/ui/src/modal/Modal.js +28 -24
  73. package/lib/ui/src/modal/Modal.js.map +1 -1
  74. package/lib/ui/src/modal/Modal.reducer.d.ts +3 -4
  75. package/lib/ui/src/modal/Modal.reducer.js +5 -5
  76. package/lib/ui/src/modal/Modal.reducer.js.map +1 -1
  77. package/lib/ui/src/modal/Modal.stories.d.ts +1 -1
  78. package/lib/ui/src/modal/Modal.test.d.ts +1 -1
  79. package/lib/ui/src/modal/Modal.test.js +1 -1
  80. package/lib/ui/src/nativeSelect/NativeSelect.test.d.ts +1 -1
  81. package/lib/ui/src/numberInput/NumberInput.stories.d.ts +1 -1
  82. package/lib/ui/src/numberInput/NumberInput.test.d.ts +1 -1
  83. package/lib/ui/src/numberInput/NumberInput.utils.test.d.ts +1 -1
  84. package/lib/ui/src/option/Option.test.d.ts +1 -1
  85. package/lib/ui/src/radio/Radio.stories.d.ts +1 -1
  86. package/lib/ui/src/radio/Radio.test.d.ts +1 -1
  87. package/lib/ui/src/select/Select.test.d.ts +1 -1
  88. package/lib/ui/src/selectWrapper/SelectWrapper.stories.d.ts +1 -1
  89. package/lib/ui/src/selectWrapper/SelectWrapper.test.d.ts +1 -1
  90. package/lib/ui/src/subtitle/Subtitle.stories.d.ts +1 -1
  91. package/lib/ui/src/subtitle/Subtitle.test.d.ts +1 -1
  92. package/lib/ui/src/tag/Tag.stories.d.ts +1 -1
  93. package/lib/ui/src/tag/Tag.test.d.ts +1 -1
  94. package/lib/ui/src/textToggle/TextToggle.stories.d.ts +1 -1
  95. package/lib/ui/src/textToggle/TextToggle.test.d.ts +1 -1
  96. package/lib/ui/src/textToggle/TextToggle.utils.test.d.ts +1 -1
  97. package/lib/ui/src/textarea/Textarea.stories.d.ts +1 -1
  98. package/lib/ui/src/textarea/Textarea.test.d.ts +1 -1
  99. package/lib/ui/src/title/H1.test.d.ts +1 -1
  100. package/lib/ui/src/title/H2.test.d.ts +1 -1
  101. package/lib/ui/src/title/H3.test.d.ts +1 -1
  102. package/lib/ui/src/title/H4.test.d.ts +1 -1
  103. package/lib/ui/src/title/H5.test.d.ts +1 -1
  104. package/lib/ui/src/title/H6.test.d.ts +1 -1
  105. package/lib/ui/src/title/Title.stories.d.ts +1 -1
  106. package/lib/ui/src/toggle/Toggle.stories.d.ts +1 -1
  107. package/lib/ui/src/toggle/Toggle.test.d.ts +1 -1
  108. package/lib/ui/src/tooltip/Tooltip.stories.d.ts +1 -1
  109. package/lib/ui/src/tooltip/Tooltip.test.d.ts +1 -1
  110. package/lib/utils/src/colors.test.d.ts +1 -1
  111. package/lib/utils/src/gmaps.test.d.ts +1 -1
  112. package/lib/utils/src/spacing.test.d.ts +1 -1
  113. package/lib/utils/src/test-utils.d.ts +1 -1
  114. package/lib/utils/src/utils.stories.d.ts +1 -1
  115. package/package.json +25 -25
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  ## Changelog
2
2
 
3
+ **26.2.2**
4
+
5
+ * Fix: fix cleanup effect on Modal
6
+
7
+ **26.2.1**
8
+
9
+ * Fix: add cleanup effect on Modal
10
+
11
+ **26.2.0**
12
+
13
+ * Chore: bump packages
14
+
3
15
  **26.1.3**
4
16
 
5
17
  * Fix(Modal): use useReducer instead of useState to avoid render trouble
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -0,0 +1 @@
1
+ export declare const useFirstRender: () => boolean;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useFirstRender = void 0;
4
+ const react_1 = require("react");
5
+ const useFirstRender = () => {
6
+ const firstRender = (0, react_1.useRef)(true);
7
+ (0, react_1.useEffect)(() => {
8
+ firstRender.current = false;
9
+ }, []);
10
+ return firstRender.current;
11
+ };
12
+ exports.useFirstRender = useFirstRender;
13
+ //# sourceMappingURL=useFirstRender.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFirstRender.js","sourceRoot":"","sources":["../../../packages/hooks/useFirstRender/useFirstRender.ts"],"names":[],"mappings":";;;AAAA,iCAA0C;AAEnC,MAAM,cAAc,GAAG,GAAY,EAAE;IAC1C,MAAM,WAAW,GAAG,IAAA,cAAM,EAAU,IAAI,CAAC,CAAC;IAE1C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,WAAW,CAAC,OAAO,GAAG,KAAK,CAAC;IAC9B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,WAAW,CAAC,OAAO,CAAC;AAC7B,CAAC,CAAC;AARW,QAAA,cAAc,kBAQzB"}