@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.
- package/CHANGELOG.md +12 -0
- package/lib/date/src/datePicker/DatePicker.test.d.ts +1 -1
- package/lib/date/src/datePickerWrapper/DatePickerWrapper.stories.d.ts +1 -1
- package/lib/date/src/datePickerWrapper/DatePickerWrapper.test.d.ts +1 -1
- package/lib/date/src/singleMonth/SingleMonth.stories.d.ts +1 -1
- package/lib/date/src/singleMonth/SingleMonth.test.d.ts +1 -1
- package/lib/energy/src/Energy.stories.d.ts +1 -1
- package/lib/energy/src/Energy.test.d.ts +1 -1
- package/lib/energy/src/Energy.utils.test.d.ts +1 -1
- package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.stories.d.ts +1 -1
- package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.test.d.ts +1 -1
- package/lib/forms/src/userForm/UserForm.stories.d.ts +1 -1
- package/lib/forms/src/userForm/UserForm.test.d.ts +1 -1
- package/lib/hooks/useDebounce/useDebounce.test.d.ts +1 -1
- package/lib/hooks/useEmailSuggestion/useEmailSuggestion.test.d.ts +1 -1
- package/lib/hooks/useFirstRender/useFirstRender.d.ts +1 -0
- package/lib/hooks/useFirstRender/useFirstRender.js +13 -0
- package/lib/hooks/useFirstRender/useFirstRender.js.map +1 -0
- package/lib/index.js +285 -300
- package/lib/index.js.map +1 -1
- package/lib/phone/src/phoneAndFlag/PhoneAndFlag.stories.d.ts +1 -1
- package/lib/phone/src/phoneAndFlag/PhoneAndFlags.test.d.ts +1 -1
- package/lib/phone/src/phoneInput/Phone.stories.d.ts +1 -1
- package/lib/phone/src/phoneInput/Phone.test.d.ts +1 -1
- package/lib/phone/src/utils.test.d.ts +1 -1
- package/lib/ui/src/accordion/Accordion.stories.d.ts +1 -1
- package/lib/ui/src/accordion/Accordion.test.d.ts +1 -1
- package/lib/ui/src/agentBanner/AgentBanner.stories.d.ts +1 -1
- package/lib/ui/src/agentBanner/AgentBanner.test.d.ts +1 -1
- package/lib/ui/src/agentCard/AgentCard.stories.d.ts +1 -1
- package/lib/ui/src/agentCard/AgentCard.test.d.ts +1 -1
- package/lib/ui/src/autocomplete/Autocomplete.stories.d.ts +2 -2
- package/lib/ui/src/autocomplete/Autocomplete.test.d.ts +1 -1
- package/lib/ui/src/block/Block.stories.d.ts +1 -1
- package/lib/ui/src/block/Block.test.d.ts +1 -1
- package/lib/ui/src/blockCheckIcon/BlockCheckIcon.stories.d.ts +1 -1
- package/lib/ui/src/blockCheckIcon/BlockCheckIcon.test.d.ts +1 -1
- package/lib/ui/src/blockIcon/BlockIcon.stories.d.ts +1 -1
- package/lib/ui/src/blockIcon/BlockIcon.test.d.ts +1 -1
- package/lib/ui/src/burger/Burger.stories.d.ts +1 -1
- package/lib/ui/src/burger/Burger.test.d.ts +1 -1
- package/lib/ui/src/button/Button.d.ts +2 -2
- package/lib/ui/src/button/Button.js.map +1 -1
- package/lib/ui/src/button/Button.stories.d.ts +1 -1
- package/lib/ui/src/button/Button.test.d.ts +1 -1
- package/lib/ui/src/buttonRadioGroup/ButtonRadioGroup.stories.d.ts +1 -1
- package/lib/ui/src/buttonRadioGroup/ButtonRadioGroup.test.d.ts +1 -1
- package/lib/ui/src/card/Card.stories.d.ts +1 -1
- package/lib/ui/src/card/Card.test.d.ts +1 -1
- package/lib/ui/src/checkbox/Checkbox.stories.d.ts +1 -1
- package/lib/ui/src/checkbox/Checkbox.test.d.ts +1 -1
- package/lib/ui/src/dateInput/DateInput.stories.d.ts +1 -1
- package/lib/ui/src/dateInput/DateInput.test.d.ts +1 -1
- package/lib/ui/src/emailInput/EmailInput.stories.d.ts +1 -1
- package/lib/ui/src/emailInput/EmailInput.test.d.ts +1 -1
- package/lib/ui/src/fieldset/Fieldset.stories.d.ts +1 -1
- package/lib/ui/src/fieldset/Fieldset.test.d.ts +1 -1
- package/lib/ui/src/gmapsAutoComplete/GmapsAutocomplete.stories.d.ts +1 -1
- package/lib/ui/src/gmapsGeocode/GmapsGeocode.stories.d.ts +1 -1
- package/lib/ui/src/gmapsSuggestions/GmapsSuggestions.d.ts +1 -1
- package/lib/ui/src/gmapsSuggestions/GmapsSuggestions.test.d.ts +1 -1
- package/lib/ui/src/input/Input.stories.d.ts +1 -1
- package/lib/ui/src/input/Input.test.d.ts +1 -1
- package/lib/ui/src/inputBase/InputBase.test.d.ts +1 -1
- package/lib/ui/src/inputLoading/InputLoading.stories.d.ts +1 -1
- package/lib/ui/src/inputLoading/InputLoading.test.d.ts +1 -1
- package/lib/ui/src/loader/Loader.stories.d.ts +1 -1
- package/lib/ui/src/loader/Loader.test.d.ts +1 -1
- package/lib/ui/src/logo/Logo.stories.d.ts +1 -1
- package/lib/ui/src/mockForm/MockForm.test.d.ts +1 -1
- package/lib/ui/src/modal/Modal.d.ts +1 -1
- package/lib/ui/src/modal/Modal.js +28 -24
- package/lib/ui/src/modal/Modal.js.map +1 -1
- package/lib/ui/src/modal/Modal.reducer.d.ts +3 -4
- package/lib/ui/src/modal/Modal.reducer.js +5 -5
- package/lib/ui/src/modal/Modal.reducer.js.map +1 -1
- package/lib/ui/src/modal/Modal.stories.d.ts +1 -1
- package/lib/ui/src/modal/Modal.test.d.ts +1 -1
- package/lib/ui/src/modal/Modal.test.js +1 -1
- package/lib/ui/src/nativeSelect/NativeSelect.test.d.ts +1 -1
- package/lib/ui/src/numberInput/NumberInput.stories.d.ts +1 -1
- package/lib/ui/src/numberInput/NumberInput.test.d.ts +1 -1
- package/lib/ui/src/numberInput/NumberInput.utils.test.d.ts +1 -1
- package/lib/ui/src/option/Option.test.d.ts +1 -1
- package/lib/ui/src/radio/Radio.stories.d.ts +1 -1
- package/lib/ui/src/radio/Radio.test.d.ts +1 -1
- package/lib/ui/src/select/Select.test.d.ts +1 -1
- package/lib/ui/src/selectWrapper/SelectWrapper.stories.d.ts +1 -1
- package/lib/ui/src/selectWrapper/SelectWrapper.test.d.ts +1 -1
- package/lib/ui/src/subtitle/Subtitle.stories.d.ts +1 -1
- package/lib/ui/src/subtitle/Subtitle.test.d.ts +1 -1
- package/lib/ui/src/tag/Tag.stories.d.ts +1 -1
- package/lib/ui/src/tag/Tag.test.d.ts +1 -1
- package/lib/ui/src/textToggle/TextToggle.stories.d.ts +1 -1
- package/lib/ui/src/textToggle/TextToggle.test.d.ts +1 -1
- package/lib/ui/src/textToggle/TextToggle.utils.test.d.ts +1 -1
- package/lib/ui/src/textarea/Textarea.stories.d.ts +1 -1
- package/lib/ui/src/textarea/Textarea.test.d.ts +1 -1
- package/lib/ui/src/title/H1.test.d.ts +1 -1
- package/lib/ui/src/title/H2.test.d.ts +1 -1
- package/lib/ui/src/title/H3.test.d.ts +1 -1
- package/lib/ui/src/title/H4.test.d.ts +1 -1
- package/lib/ui/src/title/H5.test.d.ts +1 -1
- package/lib/ui/src/title/H6.test.d.ts +1 -1
- package/lib/ui/src/title/Title.stories.d.ts +1 -1
- package/lib/ui/src/toggle/Toggle.stories.d.ts +1 -1
- package/lib/ui/src/toggle/Toggle.test.d.ts +1 -1
- package/lib/ui/src/tooltip/Tooltip.stories.d.ts +1 -1
- package/lib/ui/src/tooltip/Tooltip.test.d.ts +1 -1
- package/lib/utils/src/colors.test.d.ts +1 -1
- package/lib/utils/src/gmaps.test.d.ts +1 -1
- package/lib/utils/src/spacing.test.d.ts +1 -1
- package/lib/utils/src/test-utils.d.ts +1 -1
- package/lib/utils/src/utils.stories.d.ts +1 -1
- 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"}
|