@jenesei-software/jenesei-kit-react 1.0.0
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/LICENSE +21 -0
- package/README.md +102 -0
- package/build/area-9NUxwBGc.cjs +2 -0
- package/build/area-9NUxwBGc.cjs.map +1 -0
- package/build/area-BnAddPtl.js +114 -0
- package/build/area-BnAddPtl.js.map +1 -0
- package/build/area-C2sWYH-e.js +47 -0
- package/build/area-C2sWYH-e.js.map +1 -0
- package/build/area-CD10k19W.cjs +27 -0
- package/build/area-CD10k19W.cjs.map +1 -0
- package/build/area-ClrrGVJG.cjs +40 -0
- package/build/area-ClrrGVJG.cjs.map +1 -0
- package/build/area-D7906bXA.cjs +2 -0
- package/build/area-D7906bXA.cjs.map +1 -0
- package/build/area-DRqAofd0.js +35 -0
- package/build/area-DRqAofd0.js.map +1 -0
- package/build/area-DfCAwCiZ.js +69 -0
- package/build/area-DfCAwCiZ.js.map +1 -0
- package/build/area-outside.cjs.js +2 -0
- package/build/area-outside.cjs.js.map +1 -0
- package/build/area-outside.d.ts +28 -0
- package/build/area-outside.es.js +5 -0
- package/build/area-outside.es.js.map +1 -0
- package/build/area-preview.cjs.js +2 -0
- package/build/area-preview.cjs.js.map +1 -0
- package/build/area-preview.d.ts +48 -0
- package/build/area-preview.es.js +7 -0
- package/build/area-preview.es.js.map +1 -0
- package/build/area-scroll.cjs.js +2 -0
- package/build/area-scroll.cjs.js.map +1 -0
- package/build/area-scroll.d.ts +58 -0
- package/build/area-scroll.es.js +6 -0
- package/build/area-scroll.es.js.map +1 -0
- package/build/area-skeleton.cjs.js +2 -0
- package/build/area-skeleton.cjs.js.map +1 -0
- package/build/area-skeleton.d.ts +64 -0
- package/build/area-skeleton.es.js +6 -0
- package/build/area-skeleton.es.js.map +1 -0
- package/build/area-smooth.cjs.js +2 -0
- package/build/area-smooth.cjs.js.map +1 -0
- package/build/area-smooth.d.ts +37 -0
- package/build/area-smooth.es.js +5 -0
- package/build/area-smooth.es.js.map +1 -0
- package/build/area.hooks-Bk04M7mk.js +26 -0
- package/build/area.hooks-Bk04M7mk.js.map +1 -0
- package/build/area.hooks-C_UKZzcb.cjs +2 -0
- package/build/area.hooks-C_UKZzcb.cjs.map +1 -0
- package/build/build-info.txt +3 -0
- package/build/component--Oo5_3xq.cjs +2 -0
- package/build/component--Oo5_3xq.cjs.map +1 -0
- package/build/component-BV_7tGiu.cjs +28 -0
- package/build/component-BV_7tGiu.cjs.map +1 -0
- package/build/component-BcHiCCC9.js +23 -0
- package/build/component-BcHiCCC9.js.map +1 -0
- package/build/component-BnI7BIp-.cjs +2 -0
- package/build/component-BnI7BIp-.cjs.map +1 -0
- package/build/component-ByY_9Ryc.js +65 -0
- package/build/component-ByY_9Ryc.js.map +1 -0
- package/build/component-C2JFFh-k.js +2372 -0
- package/build/component-C2JFFh-k.js.map +1 -0
- package/build/component-C52VCES6.cjs +247 -0
- package/build/component-C52VCES6.cjs.map +1 -0
- package/build/component-CBshLNEf.js +50 -0
- package/build/component-CBshLNEf.js.map +1 -0
- package/build/component-CFMlaYj1.js +66 -0
- package/build/component-CFMlaYj1.js.map +1 -0
- package/build/component-CuiUpH8H.js +207 -0
- package/build/component-CuiUpH8H.js.map +1 -0
- package/build/component-D1NPhRuV.cjs +90 -0
- package/build/component-D1NPhRuV.cjs.map +1 -0
- package/build/component-DZxbW_Jz.js +237 -0
- package/build/component-DZxbW_Jz.js.map +1 -0
- package/build/component-UW1VzyvB.cjs +52 -0
- package/build/component-UW1VzyvB.cjs.map +1 -0
- package/build/component-accordion.cjs.js +2 -0
- package/build/component-accordion.cjs.js.map +1 -0
- package/build/component-accordion.d.ts +94 -0
- package/build/component-accordion.es.js +10 -0
- package/build/component-accordion.es.js.map +1 -0
- package/build/component-button-group.cjs.js +2 -0
- package/build/component-button-group.cjs.js.map +1 -0
- package/build/component-button-group.d.ts +320 -0
- package/build/component-button-group.es.js +6 -0
- package/build/component-button-group.es.js.map +1 -0
- package/build/component-button.cjs.js +2 -0
- package/build/component-button.cjs.js.map +1 -0
- package/build/component-button.d.ts +347 -0
- package/build/component-button.es.js +9 -0
- package/build/component-button.es.js.map +1 -0
- package/build/component-checkbox-group.cjs.js +2 -0
- package/build/component-checkbox-group.cjs.js.map +1 -0
- package/build/component-checkbox-group.d.ts +337 -0
- package/build/component-checkbox-group.es.js +11 -0
- package/build/component-checkbox-group.es.js.map +1 -0
- package/build/component-checkbox.cjs.js +2 -0
- package/build/component-checkbox.cjs.js.map +1 -0
- package/build/component-checkbox.d.ts +342 -0
- package/build/component-checkbox.es.js +10 -0
- package/build/component-checkbox.es.js.map +1 -0
- package/build/component-date-picker.cjs.js +2 -0
- package/build/component-date-picker.cjs.js.map +1 -0
- package/build/component-date-picker.d.ts +415 -0
- package/build/component-date-picker.es.js +17 -0
- package/build/component-date-picker.es.js.map +1 -0
- package/build/component-icon.cjs.js +2 -0
- package/build/component-icon.cjs.js.map +1 -0
- package/build/component-icon.d.ts +198 -0
- package/build/component-icon.es.js +12 -0
- package/build/component-icon.es.js.map +1 -0
- package/build/component-image-button.cjs.js +2 -0
- package/build/component-image-button.cjs.js.map +1 -0
- package/build/component-image-button.d.ts +340 -0
- package/build/component-image-button.es.js +5 -0
- package/build/component-image-button.es.js.map +1 -0
- package/build/component-image-select.cjs.js +2 -0
- package/build/component-image-select.cjs.js.map +1 -0
- package/build/component-image-select.d.ts +436 -0
- package/build/component-image-select.es.js +11 -0
- package/build/component-image-select.es.js.map +1 -0
- package/build/component-image-slider.cjs.js +2 -0
- package/build/component-image-slider.cjs.js.map +1 -0
- package/build/component-image-slider.d.ts +108 -0
- package/build/component-image-slider.es.js +8 -0
- package/build/component-image-slider.es.js.map +1 -0
- package/build/component-image.cjs.js +2 -0
- package/build/component-image.cjs.js.map +1 -0
- package/build/component-image.d.ts +51 -0
- package/build/component-image.es.js +6 -0
- package/build/component-image.es.js.map +1 -0
- package/build/component-input-otp.cjs.js +2 -0
- package/build/component-input-otp.cjs.js.map +1 -0
- package/build/component-input-otp.d.ts +150 -0
- package/build/component-input-otp.es.js +8 -0
- package/build/component-input-otp.es.js.map +1 -0
- package/build/component-input.cjs.js +2 -0
- package/build/component-input.cjs.js.map +1 -0
- package/build/component-input.d.ts +226 -0
- package/build/component-input.es.js +20 -0
- package/build/component-input.es.js.map +1 -0
- package/build/component-jPZYT5iL.js +76 -0
- package/build/component-jPZYT5iL.js.map +1 -0
- package/build/component-map.cjs.js +2 -0
- package/build/component-map.cjs.js.map +1 -0
- package/build/component-map.d.ts +97 -0
- package/build/component-map.es.js +18 -0
- package/build/component-map.es.js.map +1 -0
- package/build/component-nFn_uOy_.cjs +2 -0
- package/build/component-nFn_uOy_.cjs.map +1 -0
- package/build/component-pagination.cjs.js +2 -0
- package/build/component-pagination.cjs.js.map +1 -0
- package/build/component-pagination.d.ts +321 -0
- package/build/component-pagination.es.js +6 -0
- package/build/component-pagination.es.js.map +1 -0
- package/build/component-range.cjs.js +2 -0
- package/build/component-range.cjs.js.map +1 -0
- package/build/component-range.d.ts +153 -0
- package/build/component-range.es.js +8 -0
- package/build/component-range.es.js.map +1 -0
- package/build/component-ripple.cjs.js +2 -0
- package/build/component-ripple.cjs.js.map +1 -0
- package/build/component-ripple.d.ts +45 -0
- package/build/component-ripple.es.js +12 -0
- package/build/component-ripple.es.js.map +1 -0
- package/build/component-select.cjs.js +2 -0
- package/build/component-select.cjs.js.map +1 -0
- package/build/component-select.d.ts +406 -0
- package/build/component-select.es.js +25 -0
- package/build/component-select.es.js.map +1 -0
- package/build/component-separator.cjs.js +2 -0
- package/build/component-separator.cjs.js.map +1 -0
- package/build/component-separator.d.ts +46 -0
- package/build/component-separator.es.js +6 -0
- package/build/component-separator.es.js.map +1 -0
- package/build/component-stack.cjs.js +2 -0
- package/build/component-stack.cjs.js.map +1 -0
- package/build/component-stack.d.ts +72 -0
- package/build/component-stack.es.js +8 -0
- package/build/component-stack.es.js.map +1 -0
- package/build/component-textarea.cjs.js +2 -0
- package/build/component-textarea.cjs.js.map +1 -0
- package/build/component-textarea.d.ts +131 -0
- package/build/component-textarea.es.js +12 -0
- package/build/component-textarea.es.js.map +1 -0
- package/build/component-toggle.cjs.js +2 -0
- package/build/component-toggle.cjs.js.map +1 -0
- package/build/component-toggle.d.ts +101 -0
- package/build/component-toggle.es.js +7 -0
- package/build/component-toggle.es.js.map +1 -0
- package/build/component-tooltip.cjs.js +2 -0
- package/build/component-tooltip.cjs.js.map +1 -0
- package/build/component-tooltip.d.ts +170 -0
- package/build/component-tooltip.es.js +12 -0
- package/build/component-tooltip.es.js.map +1 -0
- package/build/component-typography.cjs.js +2 -0
- package/build/component-typography.cjs.js.map +1 -0
- package/build/component-typography.d.ts +183 -0
- package/build/component-typography.es.js +10 -0
- package/build/component-typography.es.js.map +1 -0
- package/build/component-xnEaYd4a.cjs +2 -0
- package/build/component-xnEaYd4a.cjs.map +1 -0
- package/build/component.components-BAAT5GTH.js +363 -0
- package/build/component.components-BAAT5GTH.js.map +1 -0
- package/build/component.components-CaR5gfQW.cjs +16 -0
- package/build/component.components-CaR5gfQW.cjs.map +1 -0
- package/build/component.constants-BeWW8Ijx.cjs +2 -0
- package/build/component.constants-BeWW8Ijx.cjs.map +1 -0
- package/build/component.constants-D9wVZ3zy.cjs +22 -0
- package/build/component.constants-D9wVZ3zy.cjs.map +1 -0
- package/build/component.constants-DRvp5Bez.js +142 -0
- package/build/component.constants-DRvp5Bez.js.map +1 -0
- package/build/component.constants-DbNhxh0k.js +759 -0
- package/build/component.constants-DbNhxh0k.js.map +1 -0
- package/build/component.styles-B0L4jbOO.js +59 -0
- package/build/component.styles-B0L4jbOO.js.map +1 -0
- package/build/component.styles-B1DIataj.cjs +10 -0
- package/build/component.styles-B1DIataj.cjs.map +1 -0
- package/build/component.styles-BFwkFWkd.cjs +39 -0
- package/build/component.styles-BFwkFWkd.cjs.map +1 -0
- package/build/component.styles-BSEA2Dqn.cjs +8 -0
- package/build/component.styles-BSEA2Dqn.cjs.map +1 -0
- package/build/component.styles-BapdQNhL.js +2166 -0
- package/build/component.styles-BapdQNhL.js.map +1 -0
- package/build/component.styles-BfvB83xM.cjs +22 -0
- package/build/component.styles-BfvB83xM.cjs.map +1 -0
- package/build/component.styles-Bn6ylF83.js +859 -0
- package/build/component.styles-Bn6ylF83.js.map +1 -0
- package/build/component.styles-BsZIuwWJ.cjs +140 -0
- package/build/component.styles-BsZIuwWJ.cjs.map +1 -0
- package/build/component.styles-C6LohBfF.js +81 -0
- package/build/component.styles-C6LohBfF.js.map +1 -0
- package/build/component.styles-CEBh8X5q.js +20 -0
- package/build/component.styles-CEBh8X5q.js.map +1 -0
- package/build/component.styles-CPsxMKVK.cjs +73 -0
- package/build/component.styles-CPsxMKVK.cjs.map +1 -0
- package/build/component.styles-CTo5NC52.js +71 -0
- package/build/component.styles-CTo5NC52.js.map +1 -0
- package/build/component.styles-CV7jTFCg.js +758 -0
- package/build/component.styles-CV7jTFCg.js.map +1 -0
- package/build/component.styles-CVBpx4fw.js +474 -0
- package/build/component.styles-CVBpx4fw.js.map +1 -0
- package/build/component.styles-CZu2m0O4.cjs +21 -0
- package/build/component.styles-CZu2m0O4.cjs.map +1 -0
- package/build/component.styles-CmBcHREH.cjs +13 -0
- package/build/component.styles-CmBcHREH.cjs.map +1 -0
- package/build/component.styles-CmEFZfA5.js +120 -0
- package/build/component.styles-CmEFZfA5.js.map +1 -0
- package/build/component.styles-DHIw8p8e.cjs +158 -0
- package/build/component.styles-DHIw8p8e.cjs.map +1 -0
- package/build/component.styles-DOPCUXcr.js +158 -0
- package/build/component.styles-DOPCUXcr.js.map +1 -0
- package/build/component.styles-Dj3h7jd9.cjs +165 -0
- package/build/component.styles-Dj3h7jd9.cjs.map +1 -0
- package/build/component.styles-Do1NYZEO.js +86 -0
- package/build/component.styles-Do1NYZEO.js.map +1 -0
- package/build/component.styles-Dok17vPl.js +126 -0
- package/build/component.styles-Dok17vPl.js.map +1 -0
- package/build/component.styles-Dpg-__rn.cjs +43 -0
- package/build/component.styles-Dpg-__rn.cjs.map +1 -0
- package/build/component.styles-DpkFoWEh.cjs +81 -0
- package/build/component.styles-DpkFoWEh.cjs.map +1 -0
- package/build/component.styles-DqsBDAEo.js +202 -0
- package/build/component.styles-DqsBDAEo.js.map +1 -0
- package/build/component.styles-Du2y0R4W.js +177 -0
- package/build/component.styles-Du2y0R4W.js.map +1 -0
- package/build/component.styles-DxeG9Opm.cjs +47 -0
- package/build/component.styles-DxeG9Opm.cjs.map +1 -0
- package/build/component.styles-DyGfo9t0.cjs +32 -0
- package/build/component.styles-DyGfo9t0.cjs.map +1 -0
- package/build/component.styles-RkQwTlwG.js +170 -0
- package/build/component.styles-RkQwTlwG.js.map +1 -0
- package/build/component.styles-ZtwHuL4x.cjs +75 -0
- package/build/component.styles-ZtwHuL4x.cjs.map +1 -0
- package/build/component.types-D05KdxnZ.js +132 -0
- package/build/component.types-D05KdxnZ.js.map +1 -0
- package/build/component.types-gy5Q9qHX.cjs +2 -0
- package/build/component.types-gy5Q9qHX.cjs.map +1 -0
- package/build/consts.cjs.js +2 -0
- package/build/consts.cjs.js.map +1 -0
- package/build/consts.d.ts +86 -0
- package/build/consts.es.js +177 -0
- package/build/consts.es.js.map +1 -0
- package/build/context-app.cjs.js +2 -0
- package/build/context-app.cjs.js.map +1 -0
- package/build/context-app.d.ts +223 -0
- package/build/context-app.es.js +20 -0
- package/build/context-app.es.js.map +1 -0
- package/build/context-cookie.cjs.js +2 -0
- package/build/context-cookie.cjs.js.map +1 -0
- package/build/context-cookie.d.ts +67 -0
- package/build/context-cookie.es.js +9 -0
- package/build/context-cookie.es.js.map +1 -0
- package/build/context-dialog.cjs.js +2 -0
- package/build/context-dialog.cjs.js.map +1 -0
- package/build/context-dialog.d.ts +92 -0
- package/build/context-dialog.es.js +18 -0
- package/build/context-dialog.es.js.map +1 -0
- package/build/context-geolocation.cjs.js +2 -0
- package/build/context-geolocation.cjs.js.map +1 -0
- package/build/context-geolocation.d.ts +22 -0
- package/build/context-geolocation.es.js +7 -0
- package/build/context-geolocation.es.js.map +1 -0
- package/build/context-local-storage.cjs.js +2 -0
- package/build/context-local-storage.cjs.js.map +1 -0
- package/build/context-local-storage.d.ts +54 -0
- package/build/context-local-storage.es.js +9 -0
- package/build/context-local-storage.es.js.map +1 -0
- package/build/context-permission.cjs.js +2 -0
- package/build/context-permission.cjs.js.map +1 -0
- package/build/context-permission.d.ts +28 -0
- package/build/context-permission.es.js +9 -0
- package/build/context-permission.es.js.map +1 -0
- package/build/context-screen-width.cjs.js +2 -0
- package/build/context-screen-width.cjs.js.map +1 -0
- package/build/context-screen-width.d.ts +34 -0
- package/build/context-screen-width.es.js +7 -0
- package/build/context-screen-width.es.js.map +1 -0
- package/build/context-sonner.cjs.js +2 -0
- package/build/context-sonner.cjs.js.map +1 -0
- package/build/context-sonner.d.ts +449 -0
- package/build/context-sonner.es.js +21 -0
- package/build/context-sonner.es.js.map +1 -0
- package/build/context.constants-B29-_8v3.cjs +32 -0
- package/build/context.constants-B29-_8v3.cjs.map +1 -0
- package/build/context.constants-BaD7xj_m.cjs +100 -0
- package/build/context.constants-BaD7xj_m.cjs.map +1 -0
- package/build/context.constants-CsZRZ7gH.js +228 -0
- package/build/context.constants-CsZRZ7gH.js.map +1 -0
- package/build/context.constants-DqYjo5m4.js +375 -0
- package/build/context.constants-DqYjo5m4.js.map +1 -0
- package/build/context.functions-80N-5MqM.cjs +2 -0
- package/build/context.functions-80N-5MqM.cjs.map +1 -0
- package/build/context.functions-B8FDl7nJ.js +14 -0
- package/build/context.functions-B8FDl7nJ.js.map +1 -0
- package/build/context.functions-BD15C8_y.js +128 -0
- package/build/context.functions-BD15C8_y.js.map +1 -0
- package/build/context.functions-CQ9GerPb.js +147 -0
- package/build/context.functions-CQ9GerPb.js.map +1 -0
- package/build/context.functions-ar41xFVo.cjs +2 -0
- package/build/context.functions-ar41xFVo.cjs.map +1 -0
- package/build/context.functions-ohI9H54j.cjs +2 -0
- package/build/context.functions-ohI9H54j.cjs.map +1 -0
- package/build/context.hooks-7ydA7mGj.js +117 -0
- package/build/context.hooks-7ydA7mGj.js.map +1 -0
- package/build/context.hooks-BIsapq-0.cjs +2 -0
- package/build/context.hooks-BIsapq-0.cjs.map +1 -0
- package/build/context.hooks-BmwyZ1p3.js +68 -0
- package/build/context.hooks-BmwyZ1p3.js.map +1 -0
- package/build/context.hooks-BzMTkJNv.js +52 -0
- package/build/context.hooks-BzMTkJNv.js.map +1 -0
- package/build/context.hooks-CTi-CVKx.cjs +72 -0
- package/build/context.hooks-CTi-CVKx.cjs.map +1 -0
- package/build/context.hooks-D13tbrva.cjs +2 -0
- package/build/context.hooks-D13tbrva.cjs.map +1 -0
- package/build/context.hooks-gyzZSaVi.js +527 -0
- package/build/context.hooks-gyzZSaVi.js.map +1 -0
- package/build/context.hooks-u408Pxw8.cjs +2 -0
- package/build/context.hooks-u408Pxw8.cjs.map +1 -0
- package/build/functions.cjs.js +2 -0
- package/build/functions.cjs.js.map +1 -0
- package/build/functions.d.ts +22 -0
- package/build/functions.es.js +47 -0
- package/build/functions.es.js.map +1 -0
- package/build/hooks-use-debounced-callback.cjs.js +2 -0
- package/build/hooks-use-debounced-callback.cjs.js.map +1 -0
- package/build/hooks-use-debounced-callback.d.ts +3 -0
- package/build/hooks-use-debounced-callback.es.js +5 -0
- package/build/hooks-use-debounced-callback.es.js.map +1 -0
- package/build/hooks-use-deep-compare-memoize.cjs.js +2 -0
- package/build/hooks-use-deep-compare-memoize.cjs.js.map +1 -0
- package/build/hooks-use-deep-compare-memoize.d.ts +3 -0
- package/build/hooks-use-deep-compare-memoize.es.js +5 -0
- package/build/hooks-use-deep-compare-memoize.es.js.map +1 -0
- package/build/index.cjs.js +2 -0
- package/build/index.cjs.js.map +1 -0
- package/build/index.d.ts +2540 -0
- package/build/index.es.js +329 -0
- package/build/index.es.js.map +1 -0
- package/build/jsx-runtime-BcGej2Kr.cjs +11 -0
- package/build/jsx-runtime-BcGej2Kr.cjs.map +1 -0
- package/build/jsx-runtime-BrDlu8eK.js +320 -0
- package/build/jsx-runtime-BrDlu8eK.js.map +1 -0
- package/build/motion-CIQfrLky.js +85 -0
- package/build/motion-CIQfrLky.js.map +1 -0
- package/build/motion-DgB7M2Hn.cjs +2 -0
- package/build/motion-DgB7M2Hn.cjs.map +1 -0
- package/build/style-CEGJOjRW.js +107 -0
- package/build/style-CEGJOjRW.js.map +1 -0
- package/build/style-CtGd1JVB.cjs +32 -0
- package/build/style-CtGd1JVB.cjs.map +1 -0
- package/build/style-DeAgDHyI.js +52 -0
- package/build/style-DeAgDHyI.js.map +1 -0
- package/build/style-Dm74EPGE.cjs +87 -0
- package/build/style-Dm74EPGE.cjs.map +1 -0
- package/build/style-add.cjs.js +2 -0
- package/build/style-add.cjs.js.map +1 -0
- package/build/style-add.d.ts +21 -0
- package/build/style-add.es.js +13 -0
- package/build/style-add.es.js.map +1 -0
- package/build/style-error.cjs.js +2 -0
- package/build/style-error.cjs.js.map +1 -0
- package/build/style-error.d.ts +56 -0
- package/build/style-error.es.js +7 -0
- package/build/style-error.es.js.map +1 -0
- package/build/style-fRZ6xrVp.cjs +10 -0
- package/build/style-fRZ6xrVp.cjs.map +1 -0
- package/build/style-motion.cjs.js +2 -0
- package/build/style-motion.cjs.js.map +1 -0
- package/build/style-motion.d.ts +20 -0
- package/build/style-motion.es.js +8 -0
- package/build/style-motion.es.js.map +1 -0
- package/build/style-plT9Ah7t.js +33 -0
- package/build/style-plT9Ah7t.js.map +1 -0
- package/build/style-sx.cjs.js +2 -0
- package/build/style-sx.cjs.js.map +1 -0
- package/build/style-sx.d.ts +31 -0
- package/build/style-sx.es.js +5 -0
- package/build/style-sx.es.js.map +1 -0
- package/build/style-theme.cjs.js +2 -0
- package/build/style-theme.cjs.js.map +1 -0
- package/build/style-theme.d.ts +263 -0
- package/build/style-theme.es.js +10 -0
- package/build/style-theme.es.js.map +1 -0
- package/build/style.css +1 -0
- package/build/theme.global-D6XU05Et.cjs +169 -0
- package/build/theme.global-D6XU05Et.cjs.map +1 -0
- package/build/theme.global-bN9HlSWE.js +1080 -0
- package/build/theme.global-bN9HlSWE.js.map +1 -0
- package/build/types.cjs.js +2 -0
- package/build/types.cjs.js.map +1 -0
- package/build/types.d.ts +27 -0
- package/build/types.es.js +2 -0
- package/build/types.es.js.map +1 -0
- package/build/use-BVj4dgbW.js +1547 -0
- package/build/use-BVj4dgbW.js.map +1 -0
- package/build/use-BhofoOgk.cjs +16 -0
- package/build/use-BhofoOgk.cjs.map +1 -0
- package/build/use-Bp8UVw4Y.js +16 -0
- package/build/use-Bp8UVw4Y.js.map +1 -0
- package/build/use-C1l0O0Qo.cjs +2 -0
- package/build/use-C1l0O0Qo.cjs.map +1 -0
- package/build/use-DT0XgvJT.js +25 -0
- package/build/use-DT0XgvJT.js.map +1 -0
- package/build/use-IhzeVumv.cjs +2 -0
- package/build/use-IhzeVumv.cjs.map +1 -0
- package/package.json +360 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { AddDollarSign as AddDollarSign_2 } from '../..';
|
|
2
|
+
import { AppContextProps as AppContextProps_2 } from './context.types';
|
|
3
|
+
import { Context } from 'react';
|
|
4
|
+
import { CSSObject } from 'styled-components';
|
|
5
|
+
import { DefaultTheme } from 'styled-components';
|
|
6
|
+
import { DetailedHTMLProps } from 'react';
|
|
7
|
+
import { FC } from 'react';
|
|
8
|
+
import { HTMLAttributes } from 'react';
|
|
9
|
+
import { IStyledComponentBase } from 'styled-components/dist/types';
|
|
10
|
+
import { PropsWithChildren } from 'react';
|
|
11
|
+
import { ProviderAppProps as ProviderAppProps_2 } from './context.types';
|
|
12
|
+
import { ReactElement } from 'react';
|
|
13
|
+
import { ReactNode } from 'react';
|
|
14
|
+
import { Substitute } from 'styled-components/dist/types';
|
|
15
|
+
|
|
16
|
+
declare type AddDollarSign<T> = {
|
|
17
|
+
[K in keyof T as `$${string & K}`]: T[K];
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare interface addSXProps {
|
|
21
|
+
sx?: SXProps;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare const AppContext: Context<AppContextProps | null>;
|
|
25
|
+
|
|
26
|
+
export declare interface AppContextProps {
|
|
27
|
+
changePreview: (newPreviewProps: PreviewAdditionalProps) => void;
|
|
28
|
+
changeStatusBarColor: (color: IThemePaletteKeys) => void;
|
|
29
|
+
changeBgColor: (color: IThemePaletteKeys) => void;
|
|
30
|
+
changeBgImage: (image: string) => void;
|
|
31
|
+
changeTitle: (title: string) => void;
|
|
32
|
+
changeDescription: (description: string) => void;
|
|
33
|
+
setDefaultStatusBarColor: () => void;
|
|
34
|
+
setDefaultBgColor: () => void;
|
|
35
|
+
setDefaultBgImage: () => void;
|
|
36
|
+
setDefaultTitle: () => void;
|
|
37
|
+
setDefaultDescription: () => void;
|
|
38
|
+
historyStatusBarColor: (step: number) => void;
|
|
39
|
+
historyBgColor: (step: number) => void;
|
|
40
|
+
setHistoryTitle: (step: number) => void;
|
|
41
|
+
historyBgImage: (step: number) => void;
|
|
42
|
+
historyDescription: (step: number) => void;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
|
|
46
|
+
|
|
47
|
+
declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'blackHelena' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'amnezia' | 'inherit' | 'currentColor';
|
|
48
|
+
|
|
49
|
+
declare type PreviewAdditionalProps = PreviewIsShowProps | PreviewTimeProps;
|
|
50
|
+
|
|
51
|
+
declare type PreviewDefaultProps = {
|
|
52
|
+
defaultVisible?: boolean;
|
|
53
|
+
content?: ReactNode;
|
|
54
|
+
} & {
|
|
55
|
+
sxLoader?: addSXProps['sx'];
|
|
56
|
+
sxChildren?: addSXProps['sx'];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
declare interface PreviewIsShowProps extends PreviewDefaultProps {
|
|
60
|
+
visible: boolean;
|
|
61
|
+
minTime?: number;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare interface PreviewTimeProps extends PreviewDefaultProps {
|
|
65
|
+
time: number;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* ProviderApp component is a context context that manages various application-level states
|
|
70
|
+
* such as background color, status bar color, background image, title, and description.
|
|
71
|
+
* It uses several custom hooks to handle these states and provides them via the AppContext.
|
|
72
|
+
*
|
|
73
|
+
* @component
|
|
74
|
+
*
|
|
75
|
+
* @param {ProviderAppProps} props - The properties passed to the ProviderApp component.
|
|
76
|
+
* @param {string} props.defaultBgColor - The default background color.
|
|
77
|
+
* @param {string} props.defaultStatusBarColor - The default status bar color.
|
|
78
|
+
* @param {string} [props.defaultBgImage] - The default background image.
|
|
79
|
+
* @param {string} [props.defaultTitle] - The default title.
|
|
80
|
+
* @param {string} [props.defaultDescription] - The default description.
|
|
81
|
+
* @param {boolean} [props.isScrollOutlet] - Determines if the outlet should be scrollable.
|
|
82
|
+
* @param {object} [props.footer] - The footer component and its properties.
|
|
83
|
+
* @param {object} [props.notification] - The notification component and its properties.
|
|
84
|
+
* @param {object} [props.header] - The header component and its properties.
|
|
85
|
+
* @param {object} [props.nav] - The navigation component and its properties.
|
|
86
|
+
* @param {object} [props.leftAside] - The left aside component and its properties.
|
|
87
|
+
* @param {object} [props.rightAside] - The right aside component and its properties.
|
|
88
|
+
* @param {React.ReactNode} props.children - The children components to be rendered inside the ProviderApp.
|
|
89
|
+
*
|
|
90
|
+
* @returns {JSX.Element} The rendered ProviderApp component.
|
|
91
|
+
*/
|
|
92
|
+
export declare const ProviderApp: FC<ProviderAppProps>;
|
|
93
|
+
|
|
94
|
+
export declare type ProviderAppElementProps = Partial<AddDollarSign<Pick<ProviderAppProps, 'notification' | 'header' | 'nav' | 'footer' | 'leftAside' | 'rightAside'>>>;
|
|
95
|
+
|
|
96
|
+
export declare const ProviderAppOutlet: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Partial<AddDollarSign_2<Pick<ProviderAppProps_2, "footer" | "header" | "nav" | "isScrollOutlet" | "notification" | "leftAside" | "rightAside">>>>> & string;
|
|
97
|
+
|
|
98
|
+
export declare const ProviderAppOutletChildren: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, AddDollarSign_2<Pick<ProviderAppProps_2, "main">>>> & string;
|
|
99
|
+
|
|
100
|
+
export declare type ProviderAppOutletChildrenProps = AddDollarSign<Pick<ProviderAppProps, 'main'>>;
|
|
101
|
+
|
|
102
|
+
export declare const ProviderAppOutletFooter: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, Partial<AddDollarSign_2<Pick<ProviderAppProps_2, "footer" | "header" | "nav" | "isScrollOutlet" | "notification" | "leftAside" | "rightAside">>>>> & string;
|
|
103
|
+
|
|
104
|
+
export declare const ProviderAppOutletHeader: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, Partial<AddDollarSign_2<Pick<ProviderAppProps_2, "footer" | "header" | "nav" | "isScrollOutlet" | "notification" | "leftAside" | "rightAside">>>>> & string;
|
|
105
|
+
|
|
106
|
+
export declare const ProviderAppOutletLeftAside: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, Partial<AddDollarSign_2<Pick<ProviderAppProps_2, "footer" | "header" | "nav" | "isScrollOutlet" | "notification" | "leftAside" | "rightAside">>>>> & string;
|
|
107
|
+
|
|
108
|
+
export declare const ProviderAppOutletNav: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, Partial<AddDollarSign_2<Pick<ProviderAppProps_2, "footer" | "header" | "nav" | "isScrollOutlet" | "notification" | "leftAside" | "rightAside">>>>> & string;
|
|
109
|
+
|
|
110
|
+
export declare const ProviderAppOutletNotification: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, Partial<AddDollarSign_2<Pick<ProviderAppProps_2, "footer" | "header" | "nav" | "isScrollOutlet" | "notification" | "leftAside" | "rightAside">>>>> & string;
|
|
111
|
+
|
|
112
|
+
export declare type ProviderAppOutletProps = Partial<AddDollarSign<Pick<ProviderAppProps, 'isScrollOutlet' | 'notification' | 'header' | 'nav' | 'footer' | 'leftAside' | 'rightAside'>>>;
|
|
113
|
+
|
|
114
|
+
export declare const ProviderAppOutletRightAside: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, Partial<AddDollarSign_2<Pick<ProviderAppProps_2, "footer" | "header" | "nav" | "isScrollOutlet" | "notification" | "leftAside" | "rightAside">>>>> & string;
|
|
115
|
+
|
|
116
|
+
export declare interface ProviderAppProps extends PropsWithChildren {
|
|
117
|
+
defaultPreview?: PreviewAdditionalProps;
|
|
118
|
+
defaultBgColor: IThemePaletteKeys;
|
|
119
|
+
defaultStatusBarColor: IThemePaletteKeys;
|
|
120
|
+
defaultBgImage?: string;
|
|
121
|
+
defaultTitle: string;
|
|
122
|
+
defaultDescription: string;
|
|
123
|
+
isScrollOutlet?: boolean;
|
|
124
|
+
notification?: {
|
|
125
|
+
component: ReactElement;
|
|
126
|
+
length?: ScreenWidthProps<string | null>;
|
|
127
|
+
zIndex?: number;
|
|
128
|
+
};
|
|
129
|
+
header?: {
|
|
130
|
+
component: ReactElement;
|
|
131
|
+
length?: ScreenWidthProps<string | null>;
|
|
132
|
+
zIndex?: number;
|
|
133
|
+
};
|
|
134
|
+
nav?: {
|
|
135
|
+
component: ReactElement;
|
|
136
|
+
length?: ScreenWidthProps<string | null>;
|
|
137
|
+
zIndex?: number;
|
|
138
|
+
};
|
|
139
|
+
footer?: {
|
|
140
|
+
component: ReactElement;
|
|
141
|
+
length?: ScreenWidthProps<string | null>;
|
|
142
|
+
zIndex?: number;
|
|
143
|
+
};
|
|
144
|
+
leftAside?: {
|
|
145
|
+
component: ReactElement;
|
|
146
|
+
length?: ScreenWidthProps<string | null>;
|
|
147
|
+
isTopHeader?: boolean;
|
|
148
|
+
isTopFooter?: boolean;
|
|
149
|
+
isTopNav?: boolean;
|
|
150
|
+
zIndex?: number;
|
|
151
|
+
};
|
|
152
|
+
rightAside?: {
|
|
153
|
+
component: ReactElement;
|
|
154
|
+
length?: ScreenWidthProps<string | null>;
|
|
155
|
+
isTopHeader?: boolean;
|
|
156
|
+
isTopFooter?: boolean;
|
|
157
|
+
isTopNav?: boolean;
|
|
158
|
+
zIndex?: number;
|
|
159
|
+
};
|
|
160
|
+
main?: {
|
|
161
|
+
zIndex?: number;
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export declare const ProviderAppWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ProviderAppWrapperProps>> & string;
|
|
166
|
+
|
|
167
|
+
export declare interface ProviderAppWrapperProps {
|
|
168
|
+
$bgColor: ProviderAppProps['defaultBgColor'];
|
|
169
|
+
$bgImage: ProviderAppProps['defaultBgImage'] | null;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare type ScreenWidthProps<T> = {
|
|
173
|
+
[K in IThemeDevice]?: T;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
declare type SXProps = ({
|
|
177
|
+
default: CSSObject;
|
|
178
|
+
} & {
|
|
179
|
+
[K in IThemeDevice]?: CSSObject;
|
|
180
|
+
}) | ((theme: DefaultTheme) => {
|
|
181
|
+
default: CSSObject;
|
|
182
|
+
} & {
|
|
183
|
+
[K in IThemeDevice]?: CSSObject;
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Custom hook to access the AppContext.
|
|
188
|
+
*/
|
|
189
|
+
export declare const useApp: () => AppContextProps_2;
|
|
190
|
+
|
|
191
|
+
export declare const useBgColor: (defaultColor: IThemePaletteKeys) => {
|
|
192
|
+
bgColor: IThemePaletteKeys;
|
|
193
|
+
changeBgColor: (color: IThemePaletteKeys) => void;
|
|
194
|
+
historyBgColor: (steps: number) => void;
|
|
195
|
+
setDefaultBgColor: () => void;
|
|
196
|
+
bgColorIndex: number;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export declare const useBgImage: (defaultImage: string | null) => {
|
|
200
|
+
bgImage: string | null;
|
|
201
|
+
changeBgImage: (image: string | null) => void;
|
|
202
|
+
historyBgImage: (steps: number) => void;
|
|
203
|
+
setDefaultBgImage: () => void;
|
|
204
|
+
bgImageIndex: number;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export declare const useDescription: (defaultDescription: string) => {
|
|
208
|
+
description: string;
|
|
209
|
+
changeDescription: (newDescription: string) => void;
|
|
210
|
+
historyDescription: (steps: number) => void;
|
|
211
|
+
setDefaultDescription: () => void;
|
|
212
|
+
descriptionIndex: number;
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
export declare const useStatusBarColor: (defaultColor: IThemePaletteKeys) => {
|
|
216
|
+
statusBarColor: IThemePaletteKeys;
|
|
217
|
+
changeStatusBarColor: (color: IThemePaletteKeys) => void;
|
|
218
|
+
historyStatusBarColor: (steps: number) => void;
|
|
219
|
+
setDefaultStatusBarColor: () => void;
|
|
220
|
+
statusBarColorIndex: number;
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
export { }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { A, P, e, f, i, h, k, j, g, l, d, m, u, b, c, a } from "./context.hooks-gyzZSaVi.js";
|
|
2
|
+
export {
|
|
3
|
+
A as AppContext,
|
|
4
|
+
P as ProviderApp,
|
|
5
|
+
e as ProviderAppOutlet,
|
|
6
|
+
f as ProviderAppOutletChildren,
|
|
7
|
+
i as ProviderAppOutletFooter,
|
|
8
|
+
h as ProviderAppOutletHeader,
|
|
9
|
+
k as ProviderAppOutletLeftAside,
|
|
10
|
+
j as ProviderAppOutletNav,
|
|
11
|
+
g as ProviderAppOutletNotification,
|
|
12
|
+
l as ProviderAppOutletRightAside,
|
|
13
|
+
d as ProviderAppWrapper,
|
|
14
|
+
m as useApp,
|
|
15
|
+
u as useBgColor,
|
|
16
|
+
b as useBgImage,
|
|
17
|
+
c as useDescription,
|
|
18
|
+
a as useStatusBarColor
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=context-app.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-app.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./context.functions-80N-5MqM.cjs");exports.CookieContext=o.CookieContext,exports.ProviderCookie=o.ProviderCookie,exports.getFromCookie=o.getFromCookie,exports.setToCookie=o.setToCookie,exports.useCookie=o.useCookie;
|
|
2
|
+
//# sourceMappingURL=context-cookie.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-cookie.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { default as default_2 } from 'node_modules/@types/js-cookie';
|
|
3
|
+
import { FC } from 'react';
|
|
4
|
+
import { PropsWithChildren } from 'react';
|
|
5
|
+
|
|
6
|
+
export declare type CookieAttributes = default_2.CookieAttributes;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Context for managing cookies.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CookieContext: Context<CookieContextProps | null>;
|
|
12
|
+
|
|
13
|
+
export declare interface CookieContextProps {
|
|
14
|
+
getCookie: <K extends keyof ValidCookieObject>(name: K) => ValidCookieObject[K] | undefined;
|
|
15
|
+
setCookie: <K extends keyof ValidCookieObject>(name: K, value: ValidCookieObject[K], options?: CookieAttributes) => void;
|
|
16
|
+
removeCookieValue: <K extends keyof ValidCookieObject>(name: K, options?: CookieAttributes) => void;
|
|
17
|
+
removeCookieValues: () => void;
|
|
18
|
+
checkCookie: () => void;
|
|
19
|
+
cookieValues: ValidCookieObject | undefined;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export declare function getFromCookie<T>(key: string): T | null;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Provider component for managing cookies.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* You should understand which cookies you are changing and whether you have access to them.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* The local storage is typed using the `jenesei-kit-react.d.ts` file:
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import '@jenesei-software/jenesei-kit-react'
|
|
35
|
+
*
|
|
36
|
+
* declare module '@jenesei-software/jenesei-kit-react' {
|
|
37
|
+
* export interface ValidCookieObject {
|
|
38
|
+
* access_token: string
|
|
39
|
+
* refresh_token: string
|
|
40
|
+
* }
|
|
41
|
+
* }
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare const ProviderCookie: FC<ProviderCookieProps>;
|
|
45
|
+
|
|
46
|
+
export declare interface ProviderCookieProps extends PropsWithChildren {
|
|
47
|
+
validate?: {
|
|
48
|
+
validateKeys: (keyof ValidCookieObject)[];
|
|
49
|
+
getValidateCookieValue: <K extends keyof ValidCookieObject>(key: K, value: ValidCookieObject[K]) => value is ValidCookieObject[K];
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export declare function setToCookie<T>(key: string, value: T, options?: CookieAttributes): void;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Custom hook to access the CookieContext.
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* You should understand which cookies you are changing and whether you have access to them.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare const useCookie: () => CookieContextProps;
|
|
63
|
+
|
|
64
|
+
export declare interface ValidCookieObject {
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-cookie.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("./context.constants-B29-_8v3.cjs");exports.DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT=D.DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT,exports.DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT=D.DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND=D.DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS=D.DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT=D.DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH=D.DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH,exports.DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING=D.DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING,exports.DialogContent=D.DialogContent,exports.DialogContext=D.DialogContext,exports.DialogElementWrapper=D.DialogElementWrapper,exports.DialogLayout=D.DialogLayout,exports.ProviderDialog=D.ProviderDialog,exports.useDialog=D.useDialog,exports.useDialogs=D.useDialogs;
|
|
2
|
+
//# sourceMappingURL=context-dialog.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-dialog.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { AddDollarSign as AddDollarSign_2 } from '../..';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { Context } from 'react';
|
|
4
|
+
import { FastOmit } from 'styled-components';
|
|
5
|
+
import { FC } from 'react';
|
|
6
|
+
import { ForwardRefComponent } from 'framer-motion';
|
|
7
|
+
import { HTMLMotionProps } from 'framer-motion';
|
|
8
|
+
import { IStyledComponentBase } from 'styled-components/dist/types';
|
|
9
|
+
import { PropsWithChildren } from 'react';
|
|
10
|
+
import { ProviderDialogProps as ProviderDialogProps_2 } from './context.types';
|
|
11
|
+
import { ReactNode } from 'react';
|
|
12
|
+
import { RefAttributes } from 'react';
|
|
13
|
+
import { Substitute } from 'styled-components/dist/types';
|
|
14
|
+
import { useDialogProps as useDialogProps_2 } from './context.types';
|
|
15
|
+
|
|
16
|
+
declare type AddDollarSign<T> = {
|
|
17
|
+
[K in keyof T as `$${string & K}`]: T[K];
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export declare const DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT = 0.3;
|
|
21
|
+
|
|
22
|
+
export declare const DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT = 0.4;
|
|
23
|
+
|
|
24
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND: IThemePaletteKeys;
|
|
25
|
+
|
|
26
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS: string;
|
|
27
|
+
|
|
28
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT: string;
|
|
29
|
+
|
|
30
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH: string;
|
|
31
|
+
|
|
32
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING: string;
|
|
33
|
+
|
|
34
|
+
export declare const DialogContent: IStyledComponentBase<"web", FastOmit<Omit<HTMLMotionProps<"div">, "ref"> & RefAttributes<HTMLDivElement>, never>> & string & Omit<ForwardRefComponent<HTMLDivElement, HTMLMotionProps<"div">>, keyof Component<any, {}, any>>;
|
|
35
|
+
|
|
36
|
+
export declare type DialogContentObjectProps = {
|
|
37
|
+
propsDialog?: {
|
|
38
|
+
maxWidth?: string;
|
|
39
|
+
maxHeight?: string;
|
|
40
|
+
padding?: string;
|
|
41
|
+
borderRadius?: string;
|
|
42
|
+
background?: IThemePaletteKeys;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export declare type DialogContentProps<T extends object> = {
|
|
47
|
+
content?: (props?: useDialogProps<T>, remove?: () => void, isAnimating?: boolean) => ReactNode;
|
|
48
|
+
props?: useDialogProps<T>;
|
|
49
|
+
id?: string;
|
|
50
|
+
index?: number;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export declare const DialogContext: Context<DialogContextProps<object> | null>;
|
|
54
|
+
|
|
55
|
+
export declare type DialogContextItemProps<T extends object> = {
|
|
56
|
+
add: (dialog: DialogContentProps<useDialogProps<T>>) => void;
|
|
57
|
+
remove: () => void;
|
|
58
|
+
id: string | null;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export declare type DialogContextProps<T extends object> = {
|
|
62
|
+
add: (dialog: DialogContentProps<useDialogProps<T>>) => void;
|
|
63
|
+
remove: (id: DialogContentProps<useDialogProps<T>>['id']) => void;
|
|
64
|
+
update: (dialog: DialogContentProps<useDialogProps<T>>) => void;
|
|
65
|
+
dialogHistory: DialogContentProps<useDialogProps<T>>[];
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export declare type DialogElementProps = Pick<DialogContentProps<object>, 'id' | 'index' | 'content' | 'props'> & Pick<DialogContextItemProps<object>, 'remove'>;
|
|
69
|
+
|
|
70
|
+
export declare const DialogElementWrapper: IStyledComponentBase<"web", Substitute<Omit<HTMLMotionProps<"dialog">, "ref"> & RefAttributes<HTMLDialogElement>, AddDollarSign_2<useDialogProps_2<object>>>> & string & Omit<ForwardRefComponent<HTMLDialogElement, HTMLMotionProps<"dialog">>, keyof Component<any, {}, any>>;
|
|
71
|
+
|
|
72
|
+
export declare type DialogElementWrapperProps = AddDollarSign<useDialogProps<object>>;
|
|
73
|
+
|
|
74
|
+
export declare const DialogLayout: IStyledComponentBase<"web", Substitute<Omit<HTMLMotionProps<"div">, "ref"> & RefAttributes<HTMLDivElement>, AddDollarSign_2<Pick<ProviderDialogProps_2, "zIndex">>>> & string & Omit<ForwardRefComponent<HTMLDivElement, HTMLMotionProps<"div">>, keyof Component<any, {}, any>>;
|
|
75
|
+
|
|
76
|
+
export declare type DialogLayoutProps = AddDollarSign<Pick<ProviderDialogProps, 'zIndex'>>;
|
|
77
|
+
|
|
78
|
+
declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'blackHelena' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'amnezia' | 'inherit' | 'currentColor';
|
|
79
|
+
|
|
80
|
+
export declare const ProviderDialog: FC<ProviderDialogProps>;
|
|
81
|
+
|
|
82
|
+
export declare type ProviderDialogProps = PropsWithChildren & {
|
|
83
|
+
zIndex: number;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export declare const useDialog: <T extends object>(props?: useDialogProps<T>) => DialogContextItemProps<T>;
|
|
87
|
+
|
|
88
|
+
export declare type useDialogProps<T extends object> = DialogContentObjectProps & T;
|
|
89
|
+
|
|
90
|
+
export declare const useDialogs: () => DialogContextProps<object>;
|
|
91
|
+
|
|
92
|
+
export { }
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { e, f, k, i, g, h, j, d, D, c, b, P, a, u } from "./context.constants-CsZRZ7gH.js";
|
|
2
|
+
export {
|
|
3
|
+
e as DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT,
|
|
4
|
+
f as DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT,
|
|
5
|
+
k as DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND,
|
|
6
|
+
i as DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS,
|
|
7
|
+
g as DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT,
|
|
8
|
+
h as DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH,
|
|
9
|
+
j as DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING,
|
|
10
|
+
d as DialogContent,
|
|
11
|
+
D as DialogContext,
|
|
12
|
+
c as DialogElementWrapper,
|
|
13
|
+
b as DialogLayout,
|
|
14
|
+
P as ProviderDialog,
|
|
15
|
+
a as useDialog,
|
|
16
|
+
u as useDialogs
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=context-dialog.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-dialog.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./context.hooks-u408Pxw8.cjs");exports.GeolocationContext=o.GeolocationContext,exports.ProviderGeolocation=o.ProviderGeolocation,exports.useGeolocation=o.useGeolocation;
|
|
2
|
+
//# sourceMappingURL=context-geolocation.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-geolocation.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const GeolocationContext: Context<GeolocationContextProps | null>;
|
|
6
|
+
|
|
7
|
+
export declare interface GeolocationContextProps {
|
|
8
|
+
geolocationPermission: PermissionState | null;
|
|
9
|
+
requestGeolocationPermission: () => void;
|
|
10
|
+
location: GeolocationPosition | null;
|
|
11
|
+
error: GeolocationPositionError | null;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export declare const ProviderGeolocation: FC<ProviderGeolocationProps>;
|
|
15
|
+
|
|
16
|
+
export declare type ProviderGeolocationProps = PropsWithChildren & {
|
|
17
|
+
isAskEntrance?: boolean;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export declare const useGeolocation: () => GeolocationContextProps;
|
|
21
|
+
|
|
22
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-geolocation.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./context.functions-ohI9H54j.cjs");exports.LocalStorageContext=o.LocalStorageContext,exports.ProviderLocalStorage=o.ProviderLocalStorage,exports.getFromLocalStorage=o.getFromLocalStorage,exports.setToLocalStorage=o.setToLocalStorage,exports.useLocalStorage=o.useLocalStorage;
|
|
2
|
+
//# sourceMappingURL=context-local-storage.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-local-storage.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare function getFromLocalStorage<T>(key: string): T | null;
|
|
6
|
+
|
|
7
|
+
export declare const LocalStorageContext: Context<LocalStorageContextProps | null>;
|
|
8
|
+
|
|
9
|
+
export declare interface LocalStorageContextProps {
|
|
10
|
+
getLocalStorage: <K extends keyof ValidLocalStorageObject>(name: K) => ValidLocalStorageObject[K] | undefined;
|
|
11
|
+
setLocalStorage: <K extends keyof ValidLocalStorageObject>(name: K, value: ValidLocalStorageObject[K]) => void;
|
|
12
|
+
removeLocalStorageValue: <K extends keyof ValidLocalStorageObject>(name: K) => void;
|
|
13
|
+
removeLocalStorageValues: () => void;
|
|
14
|
+
checkLocalStorage: () => void;
|
|
15
|
+
localStorageValues: ValidLocalStorageObject | undefined;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Provider component for managing local storage.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* The local storage is typed using the `jenesei-kit-react.d.ts` file:
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import '@jenesei-software/jenesei-kit-react'
|
|
26
|
+
*
|
|
27
|
+
* declare module '@jenesei-software/jenesei-kit-react' {
|
|
28
|
+
* export interface ValidLocalStorageObject {
|
|
29
|
+
* access_token: string
|
|
30
|
+
* refresh_token: string
|
|
31
|
+
* }
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare const ProviderLocalStorage: FC<ProviderLocalStorageProps>;
|
|
36
|
+
|
|
37
|
+
export declare interface ProviderLocalStorageProps extends PropsWithChildren {
|
|
38
|
+
validate?: {
|
|
39
|
+
validateKeys: (keyof ValidLocalStorageObject)[];
|
|
40
|
+
getValidateLocalStorageValue: <K extends keyof ValidLocalStorageObject>(key: K, value: ValidLocalStorageObject[K]) => value is ValidLocalStorageObject[K];
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export declare function setToLocalStorage<T>(key: string, value: T): void;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Custom hook to access the LocalStorageContext.
|
|
48
|
+
*/
|
|
49
|
+
export declare const useLocalStorage: () => LocalStorageContextProps;
|
|
50
|
+
|
|
51
|
+
export declare interface ValidLocalStorageObject {
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { L, P, g, s, u } from "./context.functions-CQ9GerPb.js";
|
|
2
|
+
export {
|
|
3
|
+
L as LocalStorageContext,
|
|
4
|
+
P as ProviderLocalStorage,
|
|
5
|
+
g as getFromLocalStorage,
|
|
6
|
+
s as setToLocalStorage,
|
|
7
|
+
u as useLocalStorage
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=context-local-storage.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-local-storage.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./context.functions-ar41xFVo.cjs"),r=require("./context.hooks-D13tbrva.cjs");exports.urlBase64ToUint8Array=e.urlBase64ToUint8Array,exports.PermissionContext=r.PermissionContext,exports.ProviderPermission=r.ProviderPermission,exports.usePermission=r.usePermission;
|
|
2
|
+
//# sourceMappingURL=context-permission.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-permission.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const PermissionContext: Context<PermissionContextProps | null>;
|
|
6
|
+
|
|
7
|
+
export declare interface PermissionContextProps {
|
|
8
|
+
pushNotificationSupported: boolean;
|
|
9
|
+
isBiometricSupported: boolean;
|
|
10
|
+
notificationPermission: NotificationPermission | null;
|
|
11
|
+
isNotificationPermissionLoading: boolean;
|
|
12
|
+
requestNotificationPermission: () => Promise<NotificationPermission | undefined>;
|
|
13
|
+
geolocationPermission: PermissionState | null;
|
|
14
|
+
requestGeolocationPermission: () => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export declare const ProviderPermission: (props: ProviderPermissionProps) => JSX.Element;
|
|
18
|
+
|
|
19
|
+
export declare type ProviderPermissionProps = PropsWithChildren;
|
|
20
|
+
|
|
21
|
+
export declare const urlBase64ToUint8Array: (base64String: string) => Uint8Array<ArrayBuffer>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Custom hook to access the PermissionContext.
|
|
25
|
+
*/
|
|
26
|
+
export declare const usePermission: () => PermissionContextProps;
|
|
27
|
+
|
|
28
|
+
export { }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { u } from "./context.functions-B8FDl7nJ.js";
|
|
2
|
+
import { P, a, u as u2 } from "./context.hooks-7ydA7mGj.js";
|
|
3
|
+
export {
|
|
4
|
+
P as PermissionContext,
|
|
5
|
+
a as ProviderPermission,
|
|
6
|
+
u as urlBase64ToUint8Array,
|
|
7
|
+
u2 as usePermission
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=context-permission.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-permission.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./context.hooks-BIsapq-0.cjs");exports.ProviderScreenWidth=e.ProviderScreenWidth,exports.ScreenWidthContext=e.ScreenWidthContext,exports.useScreenWidth=e.useScreenWidth;
|
|
2
|
+
//# sourceMappingURL=context-screen-width.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-screen-width.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|