@redneckz/wildless-cms-uni-blocks 0.6.30 → 0.6.32
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/bin/migration-scripts/0.6.32.js +26 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +145 -108
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Carousel/CarouselContainer.d.ts +2 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +9 -2
- package/bundle/components/CarouselLinks/CarouselLinks.d.ts +5 -0
- package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
- package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +6 -0
- package/bundle/components/StepsBlock/renderStepContent.d.ts +1 -1
- package/bundle/hooks/useCarouselControls.d.ts +13 -0
- package/bundle/icons/IconName.d.ts +6 -4
- package/bundle/model/HeadlineType.d.ts +2 -2
- package/bundle/ui-kit/LinkButton/LinkButton.d.ts +5 -0
- package/bundle/utils/sliceArray.d.ts +1 -0
- package/cosmos-static/icons/ArrowRightIcon.svg +1 -0
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +3 -3
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContainer.d.ts +2 -1
- package/dist/components/Carousel/CarouselContainer.js +1 -1
- package/dist/components/Carousel/CarouselContainer.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +9 -2
- package/dist/components/Carousel/CarouselContent.js +3 -0
- package/dist/components/Carousel/CarouselContent.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.d.ts +5 -0
- package/dist/components/CarouselLinks/CarouselLinks.js +20 -0
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -0
- package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
- package/dist/components/CarouselLinks/CarouselLinksContent.js +2 -0
- package/dist/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
- package/dist/components/ComparisonTable/ComparisonTableBody.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +5 -9
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
- package/dist/components/Headline/constants.js +6 -0
- package/dist/components/Headline/constants.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +6 -0
- package/dist/components/ProductBlock/ProductBlockInner.js +5 -3
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/StepsBlock/renderStepContent.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +3 -3
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/hooks/useCarouselControls.d.ts +13 -0
- package/{mobile/dist/hooks/useCarousel.js → dist/hooks/useCarouselControls.js} +6 -6
- package/dist/hooks/useCarouselControls.js.map +1 -0
- package/dist/icons/IconName.d.ts +6 -4
- package/dist/icons/IconName.js +4 -2
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/HeadlineType.d.ts +2 -2
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButton.d.ts +5 -0
- package/dist/ui-kit/LinkButton/LinkButton.js +16 -0
- package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/dist/utils/sliceArray.d.ts +1 -0
- package/dist/utils/sliceArray.js +15 -0
- package/dist/utils/sliceArray.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +3 -3
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContainer.d.ts +2 -1
- package/lib/components/Carousel/CarouselContainer.js +1 -1
- package/lib/components/Carousel/CarouselContainer.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +9 -2
- package/lib/components/Carousel/CarouselContent.js +3 -0
- package/lib/components/Carousel/CarouselContent.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.d.ts +5 -0
- package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +5 -0
- package/lib/components/CarouselLinks/CarouselLinks.js +18 -0
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -0
- package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
- package/lib/components/CarouselLinks/CarouselLinksContent.js +2 -0
- package/lib/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
- package/lib/components/ComparisonTable/ComparisonTableBody.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +5 -9
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
- package/lib/components/Headline/constants.js +6 -0
- package/lib/components/Headline/constants.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +6 -0
- package/lib/components/ProductBlock/ProductBlockInner.js +5 -3
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/StepsBlock/renderStepContent.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +3 -3
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/hooks/useCarouselControls.d.ts +13 -0
- package/lib/hooks/{useCarousel.js → useCarouselControls.js} +4 -4
- package/lib/hooks/useCarouselControls.js.map +1 -0
- package/lib/icons/IconName.d.ts +6 -4
- package/lib/icons/IconName.js +4 -2
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/HeadlineType.d.ts +2 -2
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButton.d.ts +5 -0
- package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +5 -0
- package/lib/ui-kit/LinkButton/LinkButton.js +14 -0
- package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/lib/utils/sliceArray.d.ts +1 -0
- package/lib/utils/sliceArray.js +12 -0
- package/lib/utils/sliceArray.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +2 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +9 -2
- package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +5 -0
- package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
- package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +6 -0
- package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +1 -1
- package/mobile/bundle/hooks/useCarouselControls.d.ts +13 -0
- package/mobile/bundle/icons/IconName.d.ts +6 -4
- package/mobile/bundle/model/HeadlineType.d.ts +2 -2
- package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +5 -0
- package/mobile/bundle/utils/sliceArray.d.ts +1 -0
- package/mobile/dist/components/Carousel/Carousel.js +3 -3
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContainer.d.ts +2 -1
- package/mobile/dist/components/Carousel/CarouselContainer.js +1 -1
- package/mobile/dist/components/Carousel/CarouselContainer.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +9 -2
- package/mobile/dist/components/Carousel/CarouselContent.js +3 -0
- package/mobile/dist/components/Carousel/CarouselContent.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +5 -0
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +20 -0
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -0
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +2 -0
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +5 -9
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
- package/mobile/dist/components/Headline/constants.js +6 -0
- package/mobile/dist/components/Headline/constants.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +6 -0
- package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +1 -1
- package/mobile/dist/hooks/useCarouselControls.d.ts +13 -0
- package/{dist/hooks/useCarousel.js → mobile/dist/hooks/useCarouselControls.js} +6 -6
- package/mobile/dist/hooks/useCarouselControls.js.map +1 -0
- package/mobile/dist/icons/IconName.d.ts +6 -4
- package/mobile/dist/icons/IconName.js +4 -2
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/HeadlineType.d.ts +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +5 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +16 -0
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/dist/utils/sliceArray.d.ts +1 -0
- package/mobile/dist/utils/sliceArray.js +15 -0
- package/mobile/dist/utils/sliceArray.js.map +1 -0
- package/mobile/lib/components/Carousel/Carousel.js +3 -3
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContainer.d.ts +2 -1
- package/mobile/lib/components/Carousel/CarouselContainer.js +1 -1
- package/mobile/lib/components/Carousel/CarouselContainer.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +9 -2
- package/mobile/lib/components/Carousel/CarouselContent.js +3 -0
- package/mobile/lib/components/Carousel/CarouselContent.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +5 -0
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +18 -0
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -0
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +2 -0
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +5 -9
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
- package/mobile/lib/components/Headline/constants.js +6 -0
- package/mobile/lib/components/Headline/constants.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +6 -0
- package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +1 -1
- package/mobile/lib/hooks/useCarouselControls.d.ts +13 -0
- package/mobile/lib/hooks/{useCarousel.js → useCarouselControls.js} +4 -4
- package/mobile/lib/hooks/useCarouselControls.js.map +1 -0
- package/mobile/lib/icons/IconName.d.ts +6 -4
- package/mobile/lib/icons/IconName.js +4 -2
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/HeadlineType.d.ts +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +5 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +14 -0
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
- package/mobile/lib/utils/sliceArray.d.ts +1 -0
- package/mobile/lib/utils/sliceArray.js +12 -0
- package/mobile/lib/utils/sliceArray.js.map +1 -0
- package/mobile/src/components/Carousel/Carousel.tsx +3 -4
- package/mobile/src/components/Carousel/CarouselContainer.tsx +3 -2
- package/mobile/src/components/Carousel/CarouselContent.ts +10 -2
- package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +55 -0
- package/mobile/src/components/CarouselLinks/CarouselLinks.json +8 -0
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +61 -0
- package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +10 -0
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +2 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
- package/mobile/src/components/ContactsBlock/ContactsBlock.example.json +22 -18
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +25 -35
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +12 -22
- package/mobile/src/components/Headline/constants.ts +6 -0
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +6 -0
- package/mobile/src/components/StepsBlock/renderStepContent.tsx +1 -1
- package/mobile/src/hooks/{useCarousel.ts → useCarouselControls.ts} +5 -9
- package/mobile/src/icons/ArrowLeftIcon.svg +1 -1
- package/mobile/src/icons/ArrowRightIcon.svg +1 -0
- package/mobile/src/icons/ArrowUpIcon.svg +1 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/model/HeadlineType.ts +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +9 -2
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +42 -0
- package/mobile/src/utils/sliceArray.ts +15 -0
- package/package.json +2 -2
- package/src/components/Blocks.ts +2 -0
- package/src/components/Carousel/Carousel.fixture.tsx +3 -3
- package/src/components/Carousel/Carousel.tsx +3 -4
- package/src/components/Carousel/CarouselContainer.tsx +3 -2
- package/src/components/Carousel/CarouselContent.ts +10 -2
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -6
- package/src/components/CarouselLinks/CarouselLinks.example.json +55 -0
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +28 -0
- package/src/components/CarouselLinks/CarouselLinks.json +8 -0
- package/src/components/CarouselLinks/CarouselLinks.tsx +61 -0
- package/src/components/CarouselLinks/CarouselLinksContent.ts +10 -0
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
- package/src/components/ContactsBlock/ContactsBlock.example.json +22 -18
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +21 -15
- package/src/components/ContactsBlock/ContactsBlock.tsx +25 -35
- package/src/components/ContactsBlock/ContactsBlockContent.ts +12 -22
- package/src/components/Headline/constants.ts +6 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +1 -0
- package/src/components/ProductBlock/ProductBlockContent.ts +6 -0
- package/src/components/ProductBlock/ProductBlockInner.tsx +8 -3
- package/src/components/StepsBlock/renderStepContent.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.tsx +5 -7
- package/src/hooks/{useCarousel.ts → useCarouselControls.ts} +5 -9
- package/src/icons/ArrowLeftIcon.svg +1 -1
- package/src/icons/ArrowRightIcon.svg +1 -0
- package/src/icons/ArrowUpIcon.svg +1 -1
- package/src/icons/IconName.ts +6 -327
- package/src/model/.CarouselCardVersion.ts.icloud +0 -0
- package/src/model/HeadlineType.ts +2 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +9 -2
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +9 -0
- package/src/ui-kit/LinkButton/LinkButton.tsx +42 -0
- package/src/utils/sliceArray.ts +15 -0
- package/bundle/hooks/useCarousel.d.ts +0 -14
- package/dist/hooks/useCarousel.d.ts +0 -14
- package/dist/hooks/useCarousel.js.map +0 -1
- package/lib/hooks/useCarousel.d.ts +0 -14
- package/lib/hooks/useCarousel.js.map +0 -1
- package/mobile/bundle/hooks/useCarousel.d.ts +0 -14
- package/mobile/dist/hooks/useCarousel.d.ts +0 -14
- package/mobile/dist/hooks/useCarousel.js.map +0 -1
- package/mobile/lib/hooks/useCarousel.d.ts +0 -14
- package/mobile/lib/hooks/useCarousel.js.map +0 -1
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare type CarouselControlProps = [number, Controls];
|
|
2
|
-
export interface Controls {
|
|
3
|
-
inc: () => void;
|
|
4
|
-
dec: () => void;
|
|
5
|
-
canInc: boolean;
|
|
6
|
-
canDec: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface CarouselProps {
|
|
9
|
-
itemsCount: number;
|
|
10
|
-
visibleItemCount?: number;
|
|
11
|
-
isCyclic?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare type CarouselControlProps = [number, Controls];
|
|
2
|
-
export interface Controls {
|
|
3
|
-
inc: () => void;
|
|
4
|
-
dec: () => void;
|
|
5
|
-
canInc: boolean;
|
|
6
|
-
canDec: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface CarouselProps {
|
|
9
|
-
itemsCount: number;
|
|
10
|
-
visibleItemCount?: number;
|
|
11
|
-
isCyclic?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCarousel.js","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AAiB7D,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,EACV,gBAAgB,GAAG,UAAU,EAC7B,QAAQ,GACM,EAAkC,EAAE;IAClD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,iBAAiB,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxD,MAAM,0BAA0B,GAAG,QAAQ,IAAI,iBAAiB,CAAC;IAEjE,MAAM,MAAM,GACV,0BAA0B;QAC1B,CAAC,iBAAiB,IAAI,UAAU,GAAG,WAAW,GAAG,gBAAgB,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,0BAA0B,IAAI,OAAO,CAAC,iBAAiB,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;IAE3F,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,kBAAkB,sBAqC7B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare type CarouselControlProps = [number, Controls];
|
|
2
|
-
export interface Controls {
|
|
3
|
-
inc: () => void;
|
|
4
|
-
dec: () => void;
|
|
5
|
-
canInc: boolean;
|
|
6
|
-
canDec: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface CarouselProps {
|
|
9
|
-
itemsCount: number;
|
|
10
|
-
visibleItemCount?: number;
|
|
11
|
-
isCyclic?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCarousel.js","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAiBpE,MAAM,CAAC,MAAM,kBAAkB,GAA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
|
-
export interface Controls {
|
|
3
|
-
inc: () => void;
|
|
4
|
-
dec: () => void;
|
|
5
|
-
canInc: boolean;
|
|
6
|
-
canDec: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface CarouselProps {
|
|
9
|
-
itemsCount: number;
|
|
10
|
-
visibleItemCount?: number;
|
|
11
|
-
isCyclic?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare type CarouselControlProps = [number, Controls];
|
|
2
|
-
export interface Controls {
|
|
3
|
-
inc: () => void;
|
|
4
|
-
dec: () => void;
|
|
5
|
-
canInc: boolean;
|
|
6
|
-
canDec: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface CarouselProps {
|
|
9
|
-
itemsCount: number;
|
|
10
|
-
visibleItemCount?: number;
|
|
11
|
-
isCyclic?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCarousel.js","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AAiB7D,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,EACV,gBAAgB,GAAG,UAAU,EAC7B,QAAQ,GACM,EAAkC,EAAE;IAClD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,iBAAiB,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxD,MAAM,0BAA0B,GAAG,QAAQ,IAAI,iBAAiB,CAAC;IAEjE,MAAM,MAAM,GACV,0BAA0B;QAC1B,CAAC,iBAAiB,IAAI,UAAU,GAAG,WAAW,GAAG,gBAAgB,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,0BAA0B,IAAI,OAAO,CAAC,iBAAiB,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;IAE3F,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,kBAAkB,sBAqC7B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare type CarouselControlProps = [number, Controls];
|
|
2
|
-
export interface Controls {
|
|
3
|
-
inc: () => void;
|
|
4
|
-
dec: () => void;
|
|
5
|
-
canInc: boolean;
|
|
6
|
-
canDec: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface CarouselProps {
|
|
9
|
-
itemsCount: number;
|
|
10
|
-
visibleItemCount?: number;
|
|
11
|
-
isCyclic?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];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