@salutejs/plasma-new-hope 0.325.1-canary.2005.15521690413.0 → 0.325.1-canary.2013.15560496949.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/cjs/components/Carousel/CarouselNew/Carousel.css +41 -0
- package/cjs/components/Carousel/CarouselNew/Carousel.js +110 -0
- package/cjs/components/Carousel/CarouselNew/Carousel.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/Carousel.styles.js +43 -0
- package/cjs/components/Carousel/CarouselNew/Carousel.styles.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/Carousel.styles_151pk3s.css +5 -0
- package/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +24 -0
- package/cjs/components/Carousel/CarouselNew/Carousel.tokens.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/hooks/useCarousel.js +384 -0
- package/cjs/components/Carousel/CarouselNew/hooks/useCarousel.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.css +5 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js +227 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js +39 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.styles_ea836d.css +5 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/utils/index.js +47 -0
- package/cjs/components/Carousel/CarouselNew/ui/Dots/utils/index.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/variations/_size/base.js +9 -0
- package/cjs/components/Carousel/CarouselNew/variations/_size/base.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Carousel/CarouselNew/variations/_view/base.js +9 -0
- package/cjs/components/Carousel/CarouselNew/variations/_view/base.js.map +1 -0
- package/cjs/components/Carousel/CarouselNew/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Carousel/CarouselOld/Carousel.css +4 -0
- package/cjs/components/Carousel/{Carousel.js → CarouselOld/Carousel.js} +1 -1
- package/cjs/components/Carousel/CarouselOld/Carousel.js.map +1 -0
- package/cjs/components/Carousel/{Carousel.styles.js → CarouselOld/Carousel.styles.js} +9 -9
- package/cjs/components/Carousel/CarouselOld/Carousel.styles.js.map +1 -0
- package/cjs/components/Carousel/CarouselOld/Carousel.styles_12r304j.css +4 -0
- package/cjs/components/Carousel/{CarouselItem.js → CarouselOld/CarouselItem.js} +5 -5
- package/cjs/components/Carousel/CarouselOld/CarouselItem.js.map +1 -0
- package/cjs/components/Carousel/CarouselOld/CarouselItem_cghzk7.css +1 -0
- package/cjs/components/Carousel/CarouselOld/useCarousel.js.map +1 -0
- package/cjs/components/Carousel/{useDragScroll.js → CarouselOld/useDragScroll.js} +1 -1
- package/cjs/components/Carousel/CarouselOld/useDragScroll.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.js +12 -3
- package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
- package/cjs/components/Sheet/hooks/useOverflow.js +2 -1
- package/cjs/components/Sheet/hooks/useOverflow.js.map +1 -1
- package/cjs/hooks/useDidMountLayoutEffect.js +19 -0
- package/cjs/hooks/useDidMountLayoutEffect.js.map +1 -0
- package/cjs/index.css +17 -5
- package/cjs/index.js +10 -3
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.js +110 -0
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.styles.js +64 -0
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +22 -0
- package/emotion/cjs/components/Carousel/CarouselNew/hooks/useCarousel.js +376 -0
- package/emotion/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js +229 -0
- package/emotion/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js +38 -0
- package/emotion/cjs/components/Carousel/CarouselNew/ui/Dots/utils/index.js +44 -0
- package/emotion/cjs/components/Carousel/CarouselNew/ui/index.js +16 -0
- package/emotion/cjs/components/Carousel/CarouselNew/variations/_size/base.js +8 -0
- package/emotion/cjs/components/Carousel/CarouselNew/variations/_size/tokens.json +1 -0
- package/emotion/cjs/components/Carousel/CarouselNew/variations/_view/base.js +8 -0
- package/emotion/cjs/components/Carousel/CarouselNew/variations/_view/tokens.json +1 -0
- package/emotion/cjs/components/Carousel/CarouselOld/Carousel.styles.js +49 -0
- package/emotion/cjs/components/Carousel/CarouselOld/Carousel.types.js +5 -0
- package/emotion/cjs/components/Carousel/{CarouselItem.js → CarouselOld/CarouselItem.js} +2 -2
- package/emotion/cjs/components/Carousel/CarouselOld/index.js +32 -0
- package/emotion/cjs/components/Carousel/index.js +23 -3
- package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +12 -3
- package/emotion/cjs/components/Sheet/hooks/useOverflow.js +2 -1
- package/emotion/cjs/examples/plasma_b2c/components/Carousel/Carousel.config.js +14 -2
- package/emotion/cjs/examples/plasma_b2c/components/Carousel/Carousel.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +90 -32
- package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +12 -3
- package/emotion/cjs/examples/plasma_web/components/Carousel/Carousel.config.js +14 -2
- package/emotion/cjs/examples/plasma_web/components/Carousel/Carousel.js +1 -1
- package/emotion/cjs/examples/plasma_web/components/Carousel/Carousel.stories.tsx +91 -32
- package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +11 -3
- package/emotion/cjs/hooks/index.js +7 -0
- package/emotion/cjs/hooks/useDidMountLayoutEffect.js +17 -0
- package/emotion/es/components/Carousel/CarouselNew/Carousel.js +101 -0
- package/emotion/es/components/Carousel/CarouselNew/Carousel.styles.js +57 -0
- package/emotion/es/components/Carousel/CarouselNew/Carousel.tokens.js +16 -0
- package/emotion/es/components/Carousel/CarouselNew/hooks/useCarousel.js +366 -0
- package/emotion/es/components/Carousel/CarouselNew/ui/Dots/Dots.js +219 -0
- package/emotion/es/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js +31 -0
- package/emotion/es/components/Carousel/CarouselNew/ui/Dots/utils/index.js +38 -0
- package/emotion/es/components/Carousel/CarouselNew/ui/index.js +1 -0
- package/emotion/es/components/Carousel/CarouselNew/variations/_size/base.js +2 -0
- package/emotion/es/components/Carousel/CarouselNew/variations/_size/tokens.json +1 -0
- package/emotion/es/components/Carousel/CarouselNew/variations/_view/base.js +2 -0
- package/emotion/es/components/Carousel/CarouselNew/variations/_view/tokens.json +1 -0
- package/emotion/es/components/Carousel/CarouselOld/Carousel.styles.js +42 -0
- package/emotion/es/components/Carousel/CarouselOld/Carousel.types.js +1 -0
- package/emotion/es/components/Carousel/{CarouselItem.js → CarouselOld/CarouselItem.js} +2 -2
- package/emotion/es/components/Carousel/CarouselOld/index.js +3 -0
- package/emotion/es/components/Carousel/index.js +7 -3
- package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +12 -3
- package/emotion/es/components/Sheet/hooks/useOverflow.js +2 -1
- package/emotion/es/examples/plasma_b2c/components/Carousel/Carousel.config.js +14 -2
- package/emotion/es/examples/plasma_b2c/components/Carousel/Carousel.js +2 -2
- package/emotion/es/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +90 -32
- package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +12 -3
- package/emotion/es/examples/plasma_web/components/Carousel/Carousel.config.js +14 -2
- package/emotion/es/examples/plasma_web/components/Carousel/Carousel.js +2 -2
- package/emotion/es/examples/plasma_web/components/Carousel/Carousel.stories.tsx +91 -32
- package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +11 -3
- package/emotion/es/hooks/index.js +1 -0
- package/emotion/es/hooks/useDidMountLayoutEffect.js +11 -0
- package/es/components/Carousel/CarouselNew/Carousel.css +41 -0
- package/es/components/Carousel/CarouselNew/Carousel.js +101 -0
- package/es/components/Carousel/CarouselNew/Carousel.js.map +1 -0
- package/es/components/Carousel/CarouselNew/Carousel.styles.js +34 -0
- package/es/components/Carousel/CarouselNew/Carousel.styles.js.map +1 -0
- package/es/components/Carousel/CarouselNew/Carousel.styles_151pk3s.css +5 -0
- package/es/components/Carousel/CarouselNew/Carousel.tokens.js +19 -0
- package/es/components/Carousel/CarouselNew/Carousel.tokens.js.map +1 -0
- package/es/components/Carousel/CarouselNew/hooks/useCarousel.js +369 -0
- package/es/components/Carousel/CarouselNew/hooks/useCarousel.js.map +1 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.css +5 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.js +218 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.js.map +1 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js +31 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js.map +1 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.styles_ea836d.css +5 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/utils/index.js +41 -0
- package/es/components/Carousel/CarouselNew/ui/Dots/utils/index.js.map +1 -0
- package/es/components/Carousel/CarouselNew/variations/_size/base.js +5 -0
- package/es/components/Carousel/CarouselNew/variations/_size/base.js.map +1 -0
- package/es/components/Carousel/CarouselNew/variations/_size/base_x642ct.css +1 -0
- package/es/components/Carousel/CarouselNew/variations/_view/base.js +5 -0
- package/es/components/Carousel/CarouselNew/variations/_view/base.js.map +1 -0
- package/es/components/Carousel/CarouselNew/variations/_view/base_x642ct.css +1 -0
- package/es/components/Carousel/CarouselOld/Carousel.css +4 -0
- package/es/components/Carousel/{Carousel.js → CarouselOld/Carousel.js} +1 -1
- package/es/components/Carousel/CarouselOld/Carousel.js.map +1 -0
- package/es/components/Carousel/{Carousel.styles.js → CarouselOld/Carousel.styles.js} +9 -9
- package/es/components/Carousel/CarouselOld/Carousel.styles.js.map +1 -0
- package/es/components/Carousel/CarouselOld/Carousel.styles_12r304j.css +4 -0
- package/es/components/Carousel/{CarouselItem.js → CarouselOld/CarouselItem.js} +5 -5
- package/es/components/Carousel/CarouselOld/CarouselItem.js.map +1 -0
- package/es/components/Carousel/CarouselOld/CarouselItem_cghzk7.css +1 -0
- package/es/components/Carousel/CarouselOld/useCarousel.js.map +1 -0
- package/es/components/Carousel/{useDragScroll.js → CarouselOld/useDragScroll.js} +1 -1
- package/es/components/Carousel/CarouselOld/useDragScroll.js.map +1 -0
- package/es/components/DatePicker/SingleDate/SingleDate.js +12 -3
- package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
- package/es/components/Sheet/hooks/useOverflow.js +2 -1
- package/es/components/Sheet/hooks/useOverflow.js.map +1 -1
- package/es/hooks/useDidMountLayoutEffect.js +15 -0
- package/es/hooks/useDidMountLayoutEffect.js.map +1 -0
- package/es/index.css +17 -5
- package/es/index.js +6 -3
- package/es/index.js.map +1 -1
- package/package.json +5 -5
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.js +110 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.styles.js +28 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +22 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.types.js +5 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/hooks/useCarousel.js +376 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js +229 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js +24 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.types.js +5 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/ui/Dots/utils/index.js +44 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/ui/index.js +16 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/variations/_size/base.js +8 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/variations/_size/tokens.json +1 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/variations/_view/base.js +8 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/variations/_view/tokens.json +1 -0
- package/styled-components/cjs/components/Carousel/{Carousel.styles.js → CarouselOld/Carousel.styles.js} +3 -3
- package/styled-components/cjs/components/Carousel/CarouselOld/Carousel.types.js +5 -0
- package/styled-components/cjs/components/Carousel/{CarouselItem.js → CarouselOld/CarouselItem.js} +2 -2
- package/styled-components/cjs/components/Carousel/CarouselOld/index.js +32 -0
- package/styled-components/cjs/components/Carousel/index.js +23 -3
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +12 -3
- package/styled-components/cjs/components/Sheet/hooks/useOverflow.js +2 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Carousel/Carousel.config.js +14 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Carousel/Carousel.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +90 -32
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +12 -3
- package/styled-components/cjs/examples/plasma_web/components/Carousel/Carousel.config.js +14 -2
- package/styled-components/cjs/examples/plasma_web/components/Carousel/Carousel.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Carousel/Carousel.stories.tsx +91 -32
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +11 -3
- package/styled-components/cjs/hooks/index.js +7 -0
- package/styled-components/cjs/hooks/useDidMountLayoutEffect.js +17 -0
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.js +101 -0
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.styles.js +20 -0
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.tokens.js +16 -0
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.types.js +1 -0
- package/styled-components/es/components/Carousel/CarouselNew/hooks/useCarousel.js +366 -0
- package/styled-components/es/components/Carousel/CarouselNew/ui/Dots/Dots.js +219 -0
- package/styled-components/es/components/Carousel/CarouselNew/ui/Dots/Dots.styles.js +17 -0
- package/styled-components/es/components/Carousel/CarouselNew/ui/Dots/Dots.types.js +1 -0
- package/styled-components/es/components/Carousel/CarouselNew/ui/Dots/utils/index.js +38 -0
- package/styled-components/es/components/Carousel/CarouselNew/ui/index.js +1 -0
- package/styled-components/es/components/Carousel/CarouselNew/variations/_size/base.js +2 -0
- package/styled-components/es/components/Carousel/CarouselNew/variations/_size/tokens.json +1 -0
- package/styled-components/es/components/Carousel/CarouselNew/variations/_view/base.js +2 -0
- package/styled-components/es/components/Carousel/CarouselNew/variations/_view/tokens.json +1 -0
- package/styled-components/es/components/Carousel/{Carousel.styles.js → CarouselOld/Carousel.styles.js} +3 -3
- package/styled-components/es/components/Carousel/CarouselOld/Carousel.types.js +1 -0
- package/styled-components/es/components/Carousel/{CarouselItem.js → CarouselOld/CarouselItem.js} +2 -2
- package/styled-components/es/components/Carousel/CarouselOld/index.js +3 -0
- package/styled-components/es/components/Carousel/index.js +7 -3
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +12 -3
- package/styled-components/es/components/Sheet/hooks/useOverflow.js +2 -1
- package/styled-components/es/examples/plasma_b2c/components/Carousel/Carousel.config.js +14 -2
- package/styled-components/es/examples/plasma_b2c/components/Carousel/Carousel.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +90 -32
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +12 -3
- package/styled-components/es/examples/plasma_web/components/Carousel/Carousel.config.js +14 -2
- package/styled-components/es/examples/plasma_web/components/Carousel/Carousel.js +2 -2
- package/styled-components/es/examples/plasma_web/components/Carousel/Carousel.stories.tsx +91 -32
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +11 -3
- package/styled-components/es/hooks/index.js +1 -0
- package/styled-components/es/hooks/useDidMountLayoutEffect.js +11 -0
- package/types/components/Carousel/CarouselNew/Carousel.d.ts +26 -0
- package/types/components/Carousel/CarouselNew/Carousel.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/Carousel.styles.d.ts +91 -0
- package/types/components/Carousel/CarouselNew/Carousel.styles.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/Carousel.tokens.d.ts +17 -0
- package/types/components/Carousel/CarouselNew/Carousel.tokens.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/Carousel.types.d.ts +45 -0
- package/types/components/Carousel/CarouselNew/Carousel.types.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/hooks/useCarousel.d.ts +63 -0
- package/types/components/Carousel/CarouselNew/hooks/useCarousel.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/Dots.d.ts +4 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/Dots.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/Dots.styles.d.ts +6 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/Dots.styles.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/Dots.types.d.ts +29 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/Dots.types.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/utils/index.d.ts +4 -0
- package/types/components/Carousel/CarouselNew/ui/Dots/utils/index.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/ui/index.d.ts +2 -0
- package/types/components/Carousel/CarouselNew/ui/index.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/variations/_size/base.d.ts +2 -0
- package/types/components/Carousel/CarouselNew/variations/_size/base.d.ts.map +1 -0
- package/types/components/Carousel/CarouselNew/variations/_view/base.d.ts +2 -0
- package/types/components/Carousel/CarouselNew/variations/_view/base.d.ts.map +1 -0
- package/types/components/Carousel/{Carousel.d.ts → CarouselOld/Carousel.d.ts} +1 -1
- package/types/components/Carousel/CarouselOld/Carousel.d.ts.map +1 -0
- package/types/components/Carousel/CarouselOld/Carousel.styles.d.ts.map +1 -0
- package/types/components/Carousel/{Carousel.types.d.ts → CarouselOld/Carousel.types.d.ts} +1 -1
- package/types/components/Carousel/CarouselOld/Carousel.types.d.ts.map +1 -0
- package/types/components/Carousel/CarouselOld/CarouselItem.d.ts.map +1 -0
- package/types/components/Carousel/CarouselOld/index.d.ts +5 -0
- package/types/components/Carousel/CarouselOld/index.d.ts.map +1 -0
- package/types/components/Carousel/CarouselOld/useCarousel.d.ts.map +1 -0
- package/types/components/Carousel/CarouselOld/useDragScroll.d.ts.map +1 -0
- package/types/components/Carousel/index.d.ts +7 -4
- package/types/components/Carousel/index.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +0 -2
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +0 -4
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts +3 -3
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +4 -0
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
- package/types/components/Sheet/hooks/useOverflow.d.ts.map +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/index.d.ts.map +1 -1
- package/types/hooks/useDidMountLayoutEffect.d.ts +2 -0
- package/types/hooks/useDidMountLayoutEffect.d.ts.map +1 -0
- package/cjs/components/Carousel/Carousel.css +0 -4
- package/cjs/components/Carousel/Carousel.js.map +0 -1
- package/cjs/components/Carousel/Carousel.styles.js.map +0 -1
- package/cjs/components/Carousel/Carousel.styles_zmchjj.css +0 -4
- package/cjs/components/Carousel/CarouselItem.js.map +0 -1
- package/cjs/components/Carousel/CarouselItem_cqjszm.css +0 -1
- package/cjs/components/Carousel/useCarousel.js.map +0 -1
- package/cjs/components/Carousel/useDragScroll.js.map +0 -1
- package/emotion/cjs/components/Carousel/Carousel.styles.js +0 -49
- package/emotion/es/components/Carousel/Carousel.styles.js +0 -42
- package/es/components/Carousel/Carousel.css +0 -4
- package/es/components/Carousel/Carousel.js.map +0 -1
- package/es/components/Carousel/Carousel.styles.js.map +0 -1
- package/es/components/Carousel/Carousel.styles_zmchjj.css +0 -4
- package/es/components/Carousel/CarouselItem.js.map +0 -1
- package/es/components/Carousel/CarouselItem_cqjszm.css +0 -1
- package/es/components/Carousel/useCarousel.js.map +0 -1
- package/es/components/Carousel/useDragScroll.js.map +0 -1
- package/types/components/Carousel/Carousel.d.ts.map +0 -1
- package/types/components/Carousel/Carousel.styles.d.ts.map +0 -1
- package/types/components/Carousel/Carousel.types.d.ts.map +0 -1
- package/types/components/Carousel/CarouselItem.d.ts.map +0 -1
- package/types/components/Carousel/useCarousel.d.ts.map +0 -1
- package/types/components/Carousel/useDragScroll.d.ts.map +0 -1
- /package/cjs/components/Carousel/{useCarousel.js → CarouselOld/useCarousel.js} +0 -0
- /package/emotion/cjs/components/Carousel/{Carousel.types.js → CarouselNew/Carousel.types.js} +0 -0
- /package/{styled-components/cjs/components/Carousel/Carousel.types.js → emotion/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.types.js} +0 -0
- /package/emotion/cjs/components/Carousel/{Carousel.js → CarouselOld/Carousel.js} +0 -0
- /package/emotion/cjs/components/Carousel/{useCarousel.js → CarouselOld/useCarousel.js} +0 -0
- /package/emotion/cjs/components/Carousel/{useDragScroll.js → CarouselOld/useDragScroll.js} +0 -0
- /package/emotion/es/components/Carousel/{Carousel.types.js → CarouselNew/Carousel.types.js} +0 -0
- /package/{styled-components/es/components/Carousel/Carousel.types.js → emotion/es/components/Carousel/CarouselNew/ui/Dots/Dots.types.js} +0 -0
- /package/emotion/es/components/Carousel/{Carousel.js → CarouselOld/Carousel.js} +0 -0
- /package/emotion/es/components/Carousel/{useCarousel.js → CarouselOld/useCarousel.js} +0 -0
- /package/emotion/es/components/Carousel/{useDragScroll.js → CarouselOld/useDragScroll.js} +0 -0
- /package/es/components/Carousel/{useCarousel.js → CarouselOld/useCarousel.js} +0 -0
- /package/styled-components/cjs/components/Carousel/{Carousel.js → CarouselOld/Carousel.js} +0 -0
- /package/styled-components/cjs/components/Carousel/{useCarousel.js → CarouselOld/useCarousel.js} +0 -0
- /package/styled-components/cjs/components/Carousel/{useDragScroll.js → CarouselOld/useDragScroll.js} +0 -0
- /package/styled-components/es/components/Carousel/{Carousel.js → CarouselOld/Carousel.js} +0 -0
- /package/styled-components/es/components/Carousel/{useCarousel.js → CarouselOld/useCarousel.js} +0 -0
- /package/styled-components/es/components/Carousel/{useDragScroll.js → CarouselOld/useDragScroll.js} +0 -0
- /package/types/components/Carousel/{Carousel.styles.d.ts → CarouselOld/Carousel.styles.d.ts} +0 -0
- /package/types/components/Carousel/{CarouselItem.d.ts → CarouselOld/CarouselItem.d.ts} +0 -0
- /package/types/components/Carousel/{useCarousel.d.ts → CarouselOld/useCarousel.d.ts} +0 -0
- /package/types/components/Carousel/{useDragScroll.d.ts → CarouselOld/useDragScroll.d.ts} +0 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
import { RootProps } from '../../../../src/engines';
|
2
|
+
import React from 'react';
|
3
|
+
import { CarouselNewProps } from './Carousel.types';
|
4
|
+
/**
|
5
|
+
* Компонент для создания списков с прокруткой.
|
6
|
+
*/
|
7
|
+
export declare const carouselNewRoot: (Root: RootProps<HTMLDivElement, CarouselNewProps>) => React.ForwardRefExoticComponent<CarouselNewProps & React.RefAttributes<HTMLDivElement>>;
|
8
|
+
export declare const carouselNewConfig: {
|
9
|
+
name: string;
|
10
|
+
tag: string;
|
11
|
+
layout: (Root: RootProps<HTMLDivElement, CarouselNewProps>) => React.ForwardRefExoticComponent<CarouselNewProps & React.RefAttributes<HTMLDivElement>>;
|
12
|
+
base: import("@linaria/core").LinariaClassName;
|
13
|
+
variations: {
|
14
|
+
view: {
|
15
|
+
css: import("@linaria/core").LinariaClassName;
|
16
|
+
};
|
17
|
+
size: {
|
18
|
+
css: import("@linaria/core").LinariaClassName;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
defaults: {
|
22
|
+
view: string;
|
23
|
+
size: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
//# sourceMappingURL=Carousel.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAyC,MAAM,OAAO,CAAC;AAO9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAOpD;;GAEG;AACH,eAAO,MAAM,eAAe,SAAU,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC,4FAqE5E,CAAC;AAEN,eAAO,MAAM,iBAAiB;;;mBAvEQ,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC;;;;;;;;;;;;;;CAwFhF,CAAC"}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
export declare const IconButtonComponent: import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../..").AsProps & {
|
2
|
+
text?: string;
|
3
|
+
contentLeft?: import("react").ReactNode;
|
4
|
+
contentPlacing?: "default" | "relaxed";
|
5
|
+
isLoading?: boolean;
|
6
|
+
loader?: import("react").ReactNode;
|
7
|
+
stretch?: boolean;
|
8
|
+
stretching?: "fixed" | "auto" | "filled";
|
9
|
+
square?: boolean;
|
10
|
+
focused?: boolean;
|
11
|
+
disabled?: boolean;
|
12
|
+
pin?: import("../../../utils/roundness").Pin;
|
13
|
+
view?: string;
|
14
|
+
size?: string;
|
15
|
+
outlined?: boolean;
|
16
|
+
shiftLeft?: boolean;
|
17
|
+
shiftRight?: boolean;
|
18
|
+
blur?: import("../../..").Blur;
|
19
|
+
} & {
|
20
|
+
value?: string | number;
|
21
|
+
contentRight?: never;
|
22
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../..").AsProps & {
|
23
|
+
text?: string;
|
24
|
+
contentLeft?: import("react").ReactNode;
|
25
|
+
contentPlacing?: "default" | "relaxed";
|
26
|
+
isLoading?: boolean;
|
27
|
+
loader?: import("react").ReactNode;
|
28
|
+
stretch?: boolean;
|
29
|
+
stretching?: "fixed" | "auto" | "filled";
|
30
|
+
square?: boolean;
|
31
|
+
focused?: boolean;
|
32
|
+
disabled?: boolean;
|
33
|
+
pin?: import("../../../utils/roundness").Pin;
|
34
|
+
view?: string;
|
35
|
+
size?: string;
|
36
|
+
outlined?: boolean;
|
37
|
+
shiftLeft?: boolean;
|
38
|
+
shiftRight?: boolean;
|
39
|
+
blur?: import("../../..").Blur;
|
40
|
+
} & {
|
41
|
+
value?: never;
|
42
|
+
contentRight?: import("react").ReactNode;
|
43
|
+
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
44
|
+
export declare const base: import("@linaria/core").LinariaClassName;
|
45
|
+
export declare const CarouselWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
46
|
+
export declare const CarouselTrack: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
47
|
+
export declare const IconButton: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../..").AsProps & {
|
48
|
+
text?: string;
|
49
|
+
contentLeft?: import("react").ReactNode;
|
50
|
+
contentPlacing?: "default" | "relaxed";
|
51
|
+
isLoading?: boolean;
|
52
|
+
loader?: import("react").ReactNode;
|
53
|
+
stretch?: boolean;
|
54
|
+
stretching?: "fixed" | "auto" | "filled";
|
55
|
+
square?: boolean;
|
56
|
+
focused?: boolean;
|
57
|
+
disabled?: boolean;
|
58
|
+
pin?: import("../../../utils/roundness").Pin;
|
59
|
+
view?: string;
|
60
|
+
size?: string;
|
61
|
+
outlined?: boolean;
|
62
|
+
shiftLeft?: boolean;
|
63
|
+
shiftRight?: boolean;
|
64
|
+
blur?: import("../../..").Blur;
|
65
|
+
} & {
|
66
|
+
value?: string | number;
|
67
|
+
contentRight?: never;
|
68
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../..").AsProps & {
|
69
|
+
text?: string;
|
70
|
+
contentLeft?: import("react").ReactNode;
|
71
|
+
contentPlacing?: "default" | "relaxed";
|
72
|
+
isLoading?: boolean;
|
73
|
+
loader?: import("react").ReactNode;
|
74
|
+
stretch?: boolean;
|
75
|
+
stretching?: "fixed" | "auto" | "filled";
|
76
|
+
square?: boolean;
|
77
|
+
focused?: boolean;
|
78
|
+
disabled?: boolean;
|
79
|
+
pin?: import("../../../utils/roundness").Pin;
|
80
|
+
view?: string;
|
81
|
+
size?: string;
|
82
|
+
outlined?: boolean;
|
83
|
+
shiftLeft?: boolean;
|
84
|
+
shiftRight?: boolean;
|
85
|
+
blur?: import("../../..").Blur;
|
86
|
+
} & {
|
87
|
+
value?: never;
|
88
|
+
contentRight?: import("react").ReactNode;
|
89
|
+
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
90
|
+
export declare const ControlsWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
91
|
+
//# sourceMappingURL=Carousel.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Carousel.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAE3D,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAuB3B,CAAC;AAEF,eAAO,MAAM,aAAa,qKAGzB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAsBtB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAE3B,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const classes: {
|
2
|
+
dot: string;
|
3
|
+
active: string;
|
4
|
+
animating: string;
|
5
|
+
animateIn: string;
|
6
|
+
animateOut: string;
|
7
|
+
temporaryNatural: string;
|
8
|
+
shrinking: string;
|
9
|
+
availableDotsLeft: string;
|
10
|
+
availableDotsRight: string;
|
11
|
+
rightControlButton: string;
|
12
|
+
};
|
13
|
+
export declare const tokens: {
|
14
|
+
paginationDotBackground: string;
|
15
|
+
paginationDotActiveBackground: string;
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=Carousel.tokens.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Carousel.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;CAGlB,CAAC"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
2
|
+
export type ScrollAlign = 'start' | 'center' | 'end' | 'activeDirection';
|
3
|
+
export interface CarouselNewProps extends HTMLAttributes<HTMLDivElement> {
|
4
|
+
/**
|
5
|
+
* Центрирование активного элемента при скролле.
|
6
|
+
* @default center
|
7
|
+
*/
|
8
|
+
scrollAlign?: ScrollAlign;
|
9
|
+
/**
|
10
|
+
* Опции управления пагинацией.
|
11
|
+
*/
|
12
|
+
paginationOptions?: {
|
13
|
+
/**
|
14
|
+
* Включение/выключение пагинации.
|
15
|
+
* @default false
|
16
|
+
*/
|
17
|
+
disabled?: boolean;
|
18
|
+
/**
|
19
|
+
* Количество видимых точек пагинации.
|
20
|
+
* @default 10
|
21
|
+
*/
|
22
|
+
visibleDots?: number;
|
23
|
+
/**
|
24
|
+
* Центрирование активной точки.
|
25
|
+
* @default false
|
26
|
+
*/
|
27
|
+
centered?: boolean;
|
28
|
+
};
|
29
|
+
/**
|
30
|
+
* Включение/выключение стрелок управления слайдами.
|
31
|
+
* @default false
|
32
|
+
*/
|
33
|
+
controlArrowsDisabled?: boolean;
|
34
|
+
/**
|
35
|
+
* Размер контрола.
|
36
|
+
*/
|
37
|
+
size?: string;
|
38
|
+
/**
|
39
|
+
* Вид контрола.
|
40
|
+
* @default default
|
41
|
+
*/
|
42
|
+
view?: string;
|
43
|
+
}
|
44
|
+
export type CarouselItemProps = HTMLAttributes<HTMLDivElement>;
|
45
|
+
//# sourceMappingURL=Carousel.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Carousel.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,iBAAiB,CAAC;AAEzE,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,iBAAiB,CAAC,EAAE;QAChB;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { CarouselNewProps as CarouselProps, ScrollAlign } from '../Carousel.types';
|
3
|
+
/**
|
4
|
+
* Подсчет смещения из-за паддингов.
|
5
|
+
*/
|
6
|
+
export declare const getCalculatedOffset: (scrollEl: Element, trackEl: Element) => number;
|
7
|
+
/**
|
8
|
+
* Подсчет скролла до переданного индекса.
|
9
|
+
*/
|
10
|
+
export declare const getCalculatedPos: ({ scrollEl, items, index, offset, scrollAlign, }: {
|
11
|
+
scrollEl: HTMLElement;
|
12
|
+
items: HTMLCollectionOf<HTMLElement>;
|
13
|
+
index: number;
|
14
|
+
offset: number;
|
15
|
+
scrollAlign: ScrollAlign;
|
16
|
+
}) => number;
|
17
|
+
declare const tfs: {
|
18
|
+
linear: (t: number) => number;
|
19
|
+
easeIn: (t: number) => number;
|
20
|
+
easeOut: (t: number) => number;
|
21
|
+
easeInOut: (t: number) => number;
|
22
|
+
};
|
23
|
+
export type TimingFunction = keyof typeof tfs;
|
24
|
+
/**
|
25
|
+
* Плавная прокрутка по горизонтали
|
26
|
+
* @param {Element} elem
|
27
|
+
* @param {number} pos
|
28
|
+
* @param {number} duration
|
29
|
+
* @param {string} timingFunction
|
30
|
+
*/
|
31
|
+
export declare const animatedScrollToX: (elem: Element, pos: number, duration?: number, timingFunction?: TimingFunction) => void;
|
32
|
+
/**
|
33
|
+
* Прокрутка к указанной позиции с анимацией или без.
|
34
|
+
*/
|
35
|
+
export declare const scrollToPos: ({ scrollEl, pos, animated, duration, timingFunction, }: {
|
36
|
+
scrollEl: HTMLElement;
|
37
|
+
pos: number;
|
38
|
+
animated?: boolean;
|
39
|
+
duration?: number;
|
40
|
+
timingFunction?: TimingFunction;
|
41
|
+
}) => void;
|
42
|
+
/**
|
43
|
+
* Получить позицию (слот) айтема в каруселе.
|
44
|
+
* Каждый айтем имеет свой слот относительно вьюпорта карусели.
|
45
|
+
*/
|
46
|
+
export declare const getItemSlot: (itemIndex: number, itemEnd: number, itemSize: number, scrollStart: number, scrollSize: number, scrollAlign: ScrollAlign, prevIndex?: number, offset?: number) => number | null;
|
47
|
+
export declare function getCarouselItems(track: HTMLElement): HTMLCollectionOf<HTMLElement>;
|
48
|
+
export declare function useDebouncedFunction(func: (...args: any) => any, delay: number, cleanUp?: boolean): (...args: any[]) => void;
|
49
|
+
type UseCarouselOptions = Pick<CarouselProps, 'scrollAlign'> & {
|
50
|
+
index: number;
|
51
|
+
throttleMs?: number;
|
52
|
+
debounceMs?: number;
|
53
|
+
detectActive?: boolean;
|
54
|
+
detectThreshold?: number;
|
55
|
+
onIndexChange?: (e: any) => void;
|
56
|
+
};
|
57
|
+
type UseCarouselHookResult = {
|
58
|
+
scrollRef: React.RefObject<HTMLDivElement>;
|
59
|
+
trackRef: React.RefObject<HTMLDivElement>;
|
60
|
+
};
|
61
|
+
export declare const useCarousel: ({ index, onIndexChange, detectActive, detectThreshold, scrollAlign, throttleMs, debounceMs, }: UseCarouselOptions) => UseCarouselHookResult;
|
62
|
+
export {};
|
63
|
+
//# sourceMappingURL=useCarousel.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useCarousel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/CarouselNew/hooks/useCarousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,gBAAgB,IAAI,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AG,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,GAAG;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,KAAK,qBAAqB,GAAG;IACzB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC3C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC7C,CAAC;AAKF,eAAO,MAAM,WAAW,kGAQrB,kBAAkB,KAAG,qBAsKvB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Dots.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Carousel/CarouselNew/ui/Dots/Dots.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAM7D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsPpC,CAAC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
2
|
+
export declare const TransitionWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
3
|
+
export declare const DotWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
|
+
export declare const LeftAnimationWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
5
|
+
export declare const RightAnimationWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
6
|
+
//# sourceMappingURL=Dots.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Dots.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Carousel/CarouselNew/ui/Dots/Dots.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,qKAQnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAiD7B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAkBtB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKA0ChC,CAAC;AAEF,eAAO,MAAM,qBAAqB,qKA0CjC,CAAC"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export interface DotsProps {
|
2
|
+
/**
|
3
|
+
* Выбранная страница
|
4
|
+
*/
|
5
|
+
index: number;
|
6
|
+
/**
|
7
|
+
* Обработчик изменения индекса
|
8
|
+
*/
|
9
|
+
onChange: (index: number) => void;
|
10
|
+
/**
|
11
|
+
* Количество страниц
|
12
|
+
*/
|
13
|
+
count: number;
|
14
|
+
/**
|
15
|
+
* Максимальное количество видимых точек, для условий count > visibleCount
|
16
|
+
*/
|
17
|
+
visibleCount: number;
|
18
|
+
/**
|
19
|
+
* Отображение активного элемента
|
20
|
+
* @default 'dot'
|
21
|
+
*/
|
22
|
+
activeElementView?: 'dot' | 'line';
|
23
|
+
/**
|
24
|
+
* Центрирует элемент по горизонтали на всю ширину контейнера
|
25
|
+
* @default false
|
26
|
+
*/
|
27
|
+
centered?: boolean;
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=Dots.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Dots.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Carousel/CarouselNew/ui/Dots/Dots.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export declare const getInitialData: (index: number, count: number, visibleCount: number) => [number, number];
|
2
|
+
export declare const getActiveIndex: (index: number, isRightDirection: boolean, count: number, visibleCount: number) => number;
|
3
|
+
export declare const getTargetIndex: (index: number, prevIndex: number, prevActiveIndex: number, diffDotsRange: number) => number;
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Carousel/CarouselNew/ui/Dots/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,UAAW,MAAM,SAAS,MAAM,gBAAgB,MAAM,KAAG,CAAC,MAAM,EAAE,MAAM,CAiBlG,CAAC;AAEF,eAAO,MAAM,cAAc,UAChB,MAAM,oBACK,OAAO,SAClB,MAAM,gBACC,MAAM,KACrB,MAcF,CAAC;AAEF,eAAO,MAAM,cAAc,UAChB,MAAM,aACF,MAAM,mBACA,MAAM,iBACR,MAAM,KACtB,MAKF,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/CarouselNew/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Carousel/CarouselNew/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Carousel/CarouselNew/variations/_view/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjD;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,SAAS,CAAC,cAAc,EAAE,aAAa,CAAC;;;wCAuDtE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBAzDQ,SAAS,CAAC,cAAc,EAAE,aAAa,CAAC;;;;;;;CAgE1E,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Carousel.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/Carousel.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,0CAAQ,CAAC;AAE1B;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,qKAI/B,CAAC;AAEF,eAAO,MAAM,eAAe;qBAAiC,WAAW,GAAG,WAAW,GAAG,MAAM;EAyB9F,CAAC;AAEF,eAAO,MAAM,aAAa;mBAA+B,MAAM;iBAAe,MAAM;EASnF,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
2
|
-
import { AsProps } from '
|
2
|
+
import { AsProps } from '../../../../src/types';
|
3
3
|
export type SnapType = 'mandatory' | 'proximity' | 'none';
|
4
4
|
export type SnapAlign = 'start' | 'center' | 'end';
|
5
5
|
export type SnapStop = 'normal' | 'always';
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Carousel.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/Carousel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;AAC1D,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AACnD,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,CAAC;AACnC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,iBAAiB,CAAC;AAEzE,MAAM,WAAW,UAAW,SAAQ,OAAO,EAAE,cAAc,CAAC,cAAc,CAAC;IACvE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAA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"version":3,"file":"CarouselItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/CarouselItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAuB,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAQ1E,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiBpD,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { carouselConfig, carouselRoot } from './Carousel';
|
2
|
+
export { CarouselGridWrapper } from './Carousel.styles';
|
3
|
+
export type { CarouselProps, CarouselItemProps } from './Carousel.types';
|
4
|
+
export { CarouselItem } from './CarouselItem';
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useCarousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/useCarousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,mBAAmB,aAAc,OAAO,WAAW,OAAO,QAAQ,UAAU,WAGxF,CAAC;AAyCF;;GAEG;AACH,eAAO,MAAM,gBAAgB,2DAO1B;IACC,QAAQ,EAAE,WAAW,CAAC;IACtB,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E,GAAG,GAAG,GAAG,CAAC;IAChB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IACzB,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACxD,CAAC;AAKF,eAAO,MAAM,WAAW,sLAarB,kBAAkB,KAAG,qBAuPvB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useDragScroll.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/useDragScroll.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,WAAW,aACpC,KAAK,CAAC,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,yBACpB,OAAO,SAwDjC,CAAC"}
|
@@ -1,5 +1,8 @@
|
|
1
|
-
export { carouselConfig, carouselRoot } from './Carousel';
|
2
|
-
export { CarouselGridWrapper } from './Carousel.styles';
|
3
|
-
export type { CarouselProps, CarouselItemProps } from './Carousel.types';
|
4
|
-
export { CarouselItem } from './CarouselItem';
|
1
|
+
export { carouselConfig, carouselRoot } from './CarouselOld/Carousel';
|
2
|
+
export { CarouselGridWrapper } from './CarouselOld/Carousel.styles';
|
3
|
+
export type { CarouselProps, CarouselItemProps } from './CarouselOld/Carousel.types';
|
4
|
+
export { CarouselItem } from './CarouselOld/CarouselItem';
|
5
|
+
export { carouselNewConfig, carouselNewRoot } from './CarouselNew/Carousel';
|
6
|
+
export { tokens as carouselNewTokens } from './CarouselNew/Carousel.tokens';
|
7
|
+
export type { CarouselNewProps } from './CarouselNew/Carousel.types';
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,YAAY,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC"}
|
@@ -58,7 +58,6 @@ export declare const datePickerRangeRoot: (Root: RootProps<HTMLDivElement, Omit<
|
|
58
58
|
} & import("../DatePickerBase.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
59
59
|
placement?: import("./RangeDate.types").DatePickerRangePlacement | Array<import("./RangeDate.types").DatePickerRangePlacementBasic>;
|
60
60
|
isDoubleCalendar?: boolean;
|
61
|
-
closeAfterDateSelect?: boolean;
|
62
61
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
|
63
62
|
export declare const datePickerRangeConfig: {
|
64
63
|
name: string;
|
@@ -117,7 +116,6 @@ export declare const datePickerRangeConfig: {
|
|
117
116
|
} & import("../DatePickerBase.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
118
117
|
placement?: import("./RangeDate.types").DatePickerRangePlacement | Array<import("./RangeDate.types").DatePickerRangePlacementBasic>;
|
119
118
|
isDoubleCalendar?: boolean;
|
120
|
-
closeAfterDateSelect?: boolean;
|
121
119
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
|
122
120
|
base: import("@linaria/core").LinariaClassName;
|
123
121
|
variations: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2F,MAAM,OAAO,CAAC;AAEhH,OAAO,KAAK,EAAiB,UAAU,EAAuD,MAAM,OAAO,CAAC;AAC5G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAK9D,OAAO,KAAK,EAAY,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAS9D,eAAO,MAAM,mBAAmB,SACtB,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;iBAuC1E,CAAC;gBACnB,CAAP
|
1
|
+
{"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2F,MAAM,OAAO,CAAC;AAEhH,OAAO,KAAK,EAAiB,UAAU,EAAuD,MAAM,OAAO,CAAC;AAC5G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAK9D,OAAO,KAAK,EAAY,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAS9D,eAAO,MAAM,mBAAmB,SACtB,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;iBAuC1E,CAAC;gBACnB,CAAP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+EA0gBJ,CAAC;AAEN,eAAO,MAAM,qBAAqB;;;mBApjBxB,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;qBAuC1E,CAAC;oBACnB,CAAP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqiBR,CAAC"}
|
@@ -78,10 +78,6 @@ export type DatePickerDoublePopoverProps = Omit<DatePickerPopoverProps, 'placeme
|
|
78
78
|
* Отобразить двойной календарь
|
79
79
|
*/
|
80
80
|
isDoubleCalendar?: boolean;
|
81
|
-
/**
|
82
|
-
* Закрыть календарь после выбора дат
|
83
|
-
*/
|
84
|
-
closeAfterDateSelect?: boolean;
|
85
81
|
};
|
86
82
|
export type DatePickerRangeProps = DatePickerVariationProps & DatePickerRangeFieldProps & DatePickerCalendarProps & DatePickerDoublePopoverProps & HTMLAttributes<HTMLDivElement>;
|
87
83
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RangeDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,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CAAC;IAC7C;;OAEG;IACH,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;IAC3C;;OAEG;IACH,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;IAC5C;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;CAC7E,GAAG,cAAc,CAAC;AAEnB,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG;IACnF;;;;OAIG;IACH,SAAS,CAAC,EAAE,wBAAwB,GAAG,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAC5E;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GACvD,yBAAyB,GACzB,uBAAuB,GACvB,4BAA4B,GAC5B,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { SyntheticEvent } from 'react';
|
2
|
-
import type { DateType } from 'src/components/Calendar/Calendar.types';
|
2
|
+
import type { DateInfo, DateType } from 'src/components/Calendar/Calendar.types';
|
3
3
|
import type { RootProps } from '../../../../src/engines';
|
4
4
|
import type { DatePickerProps } from './SingleDate.types';
|
5
5
|
export declare const datePickerRoot: (Root: RootProps<HTMLDivElement, Omit<DatePickerProps, "opened" | "defaultValue" | "onChangeValue">>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerVariationProps & {
|
@@ -18,7 +18,7 @@ export declare const datePickerRoot: (Root: RootProps<HTMLDivElement, Omit<DateP
|
|
18
18
|
textBefore?: string;
|
19
19
|
textAfter?: string;
|
20
20
|
autoComplete?: string;
|
21
|
-
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean, dateInfo?:
|
21
|
+
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean, dateInfo?: DateInfo, originalDate?: Date, isoDate?: string) => void;
|
22
22
|
onChangeValue?: (event: SyntheticEvent<HTMLInputElement> | null, value?: string, originalDate?: DateType, isoDate?: string) => void;
|
23
23
|
onChange?: (event: {
|
24
24
|
target: {
|
@@ -48,7 +48,7 @@ export declare const datePickerConfig: {
|
|
48
48
|
textBefore?: string;
|
49
49
|
textAfter?: string;
|
50
50
|
autoComplete?: string;
|
51
|
-
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean, dateInfo?:
|
51
|
+
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean, dateInfo?: DateInfo, originalDate?: Date, isoDate?: string) => void;
|
52
52
|
onChangeValue?: (event: SyntheticEvent<HTMLInputElement> | null, value?: string, originalDate?: DateType, isoDate?: string) => void;
|
53
53
|
onChange?: (event: {
|
54
54
|
target: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SingleDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAgD,MAAM,OAAO,CAAC;AAGxG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;
|
1
|
+
{"version":3,"file":"SingleDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAgD,MAAM,OAAO,CAAC;AAGxG,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAU7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,eAAO,MAAM,cAAc,SACjB,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;kBAevF,MAAA,YAAK;mBAGL,MAAA,YAAO;;;;+CAeP,CAAC,kBAED,CAAd,mBAA2B,CAAC,wBACA,CAAC,eACf,CAAH;0EAKY,CAAC,sBACP,CAAC,mBACJ,CAAC;;;iBAMmB,CAAC;gBACrB,CAAR;wBAAsB,CAAC;mBACf,CAAA;;;gRA0QX,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBAhUnB,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;sBAevF,MAAA,YAAK;uBAGL,MAAA,YAAO;;;;mDAeP,CAAC,kBAED,CAAd,mBAA2B,CAAC,wBACA,CAAC,eACf,CAAH;8EAKY,CAAC,sBACP,CAAC,mBACJ,CAAC;;;qBAMmB,CAAC;oBACrB,CAAR;4BAAsB,CAAC;uBACf,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;CAqSf,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SingleDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,MAAM,MAAM,4BAA4B,GAClC,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,aAAa,GACb,WAAW,GACX,YAA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;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;IACrD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,wBAAwB,GAClD,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useOverflow.d.ts","sourceRoot":"","sources":["../../../../src/components/Sheet/hooks/useOverflow.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useOverflow.d.ts","sourceRoot":"","sources":["../../../../src/components/Sheet/hooks/useOverflow.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,eAAO,MAAM,WAAW,eAAgB,aAAa,SAapD,CAAC"}
|
package/types/hooks/index.d.ts
CHANGED
@@ -3,6 +3,7 @@ export { useFocusTrap } from './useFocusTrap';
|
|
3
3
|
export { usePreviousValue } from './usePreviousValue';
|
4
4
|
export { useForceUpdate } from './useForceUpdate';
|
5
5
|
export { useDidMountEffect } from './useDidMountEffect';
|
6
|
+
export { useDidMountLayoutEffect } from './useDidMountLayoutEffect';
|
6
7
|
export { useOutsideClick } from './useOutsideClick';
|
7
8
|
export { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useDidMountLayoutEffect.d.ts","sourceRoot":"","sources":["../../src/hooks/useDidMountLayoutEffect.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,OAAQ,MAAM,GAAG,UAAU,KAAK,CAAC,GAAG,CAAC,SAUxE,CAAC"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
|
2
|
-
.Carousel_styles_zmchjj_cmeqer1__ccd8212a{overflow:hidden;margin-left:calc(var(--plasma-grid-margin) * -1);margin-right:calc(var(--plasma-grid-margin) * -1);}
|
3
|
-
.Carousel_styles_zmchjj_c14h2fl__ccd8212a{position:relative;margin:0;padding:0;list-style:none;-ms-overflow-style:none;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overflow-x:auto;overflow-y:hidden;-webkit-scroll-behavior:smooth;-moz-scroll-behavior:smooth;-ms-scroll-behavior:smooth;scroll-behavior:smooth;-webkit-scroll-snap-type:var(--c14h2fl-0);-moz-scroll-snap-type:var(--c14h2fl-0);-ms-scroll-snap-type:var(--c14h2fl-0);scroll-snap-type:var(--c14h2fl-0);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);}.Carousel_styles_zmchjj_c14h2fl__ccd8212a::-webkit-scrollbar{display:none;}.Carousel_styles_zmchjj_cmeqer1__ccd8212a .Carousel_styles_zmchjj_c14h2fl__ccd8212a{-webkit-scroll-padding:0 var(--plasma-grid-margin);-moz-scroll-padding:0 var(--plasma-grid-margin);-ms-scroll-padding:0 var(--plasma-grid-margin);scroll-padding:0 var(--plasma-grid-margin);padding-left:var(--plasma-grid-margin);}
|
4
|
-
.Carousel_styles_zmchjj_c1c6iuz8__ccd8212a{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;padding-left:var(--c1c6iuz8-0);padding-right:var(--c1c6iuz8-1);}.Carousel_styles_zmchjj_cmeqer1__ccd8212a .Carousel_styles_zmchjj_c1c6iuz8__ccd8212a{padding-right:var(--c1c6iuz8-2);}
|