@anoki/fse-ui 1.10.1-RC2 → 1.10.1-RC2.1
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/dist/components/ui/EditorialWidget/EditorialWidget.css +1 -1
- package/dist/components/ui/Section/Description/description.css +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs299.js +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs439.js +27 -1
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs440.js +1 -2
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -27
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +2 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +2 -0
- package/dist/index.cjs476.js.map +1 -0
- package/dist/{index.cjs479.js → index.cjs483.js} +2 -2
- package/dist/{index.cjs479.js.map → index.cjs483.js.map} +1 -1
- package/dist/{index.cjs480.js → index.cjs484.js} +2 -2
- package/dist/{index.cjs480.js.map → index.cjs484.js.map} +1 -1
- package/dist/{index.cjs481.js → index.cjs485.js} +2 -2
- package/dist/{index.cjs481.js.map → index.cjs485.js.map} +1 -1
- package/dist/{index.cjs482.js → index.cjs486.js} +2 -2
- package/dist/{index.cjs482.js.map → index.cjs486.js.map} +1 -1
- package/dist/{index.cjs488.js → index.cjs493.js} +1 -1
- package/dist/{index.cjs488.js.map → index.cjs493.js.map} +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs502.js.map +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/{index.cjs498.js → index.cjs505.js} +2 -2
- package/dist/{index.cjs498.js.map → index.cjs505.js.map} +1 -1
- package/dist/{index.cjs499.js → index.cjs506.js} +2 -2
- package/dist/{index.cjs499.js.map → index.cjs506.js.map} +1 -1
- package/dist/index.cjs507.js +2 -0
- package/dist/index.cjs507.js.map +1 -0
- package/dist/index.cjs508.js +2 -0
- package/dist/index.cjs508.js.map +1 -0
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs514.js +2 -0
- package/dist/index.cjs514.js.map +1 -0
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/{index.cjs568.js → index.cjs564.js} +2 -2
- package/dist/{index.cjs568.js.map → index.cjs564.js.map} +1 -1
- package/dist/{index.cjs569.js → index.cjs565.js} +1 -1
- package/dist/index.cjs565.js.map +1 -0
- package/dist/index.cjs655.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es149.js +38 -38
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es179.js +6 -6
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es207.js +6 -6
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es229.js +1 -1
- package/dist/index.es236.js +2 -2
- package/dist/index.es275.js +6 -6
- package/dist/index.es288.js +7 -7
- package/dist/index.es29.js +12 -11
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es299.js +1 -1
- package/dist/index.es306.js +12 -12
- package/dist/index.es313.js +1 -1
- package/dist/index.es314.js +1 -1
- package/dist/index.es318.js +1 -1
- package/dist/index.es327.js +1 -1
- package/dist/index.es329.js +1 -1
- package/dist/index.es337.js +6 -6
- package/dist/index.es378.js +3 -3
- package/dist/index.es384.js +1 -1
- package/dist/index.es419.js +1 -1
- package/dist/index.es437.js +1 -1
- package/dist/index.es438.js +1 -1
- package/dist/index.es439.js +3674 -5
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es440.js +5 -528
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +2 -3675
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +2 -6
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +2 -2
- package/dist/index.es444.js +6 -2
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +529 -2
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es453.js +25 -5
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +64 -23
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +5 -66
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es457.js +5 -33
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +24 -621
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +68 -10
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +33 -5
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +621 -24
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +10 -68
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es464.js +1 -1
- package/dist/index.es465.js +13 -44
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +45 -13
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +13 -124
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +122 -12
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +14 -134
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +127 -211
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +218 -13
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +14 -181
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +180 -10
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +11 -50
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +50 -9
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +12 -0
- package/dist/index.es476.js.map +1 -0
- package/dist/{index.es479.js → index.es483.js} +2 -2
- package/dist/{index.es479.js.map → index.es483.js.map} +1 -1
- package/dist/{index.es480.js → index.es484.js} +3 -3
- package/dist/{index.es480.js.map → index.es484.js.map} +1 -1
- package/dist/{index.es481.js → index.es485.js} +2 -2
- package/dist/{index.es481.js.map → index.es485.js.map} +1 -1
- package/dist/{index.es482.js → index.es486.js} +4 -4
- package/dist/{index.es482.js.map → index.es486.js.map} +1 -1
- package/dist/{index.es488.js → index.es493.js} +1 -1
- package/dist/{index.es488.js.map → index.es493.js.map} +1 -1
- package/dist/index.es494.js +29 -15
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +5 -5
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es502.js +5 -525
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +3 -128
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +22 -132
- package/dist/index.es504.js.map +1 -1
- package/dist/{index.es498.js → index.es505.js} +2 -2
- package/dist/{index.es498.js.map → index.es505.js.map} +1 -1
- package/dist/{index.es499.js → index.es506.js} +2 -2
- package/dist/{index.es499.js.map → index.es506.js.map} +1 -1
- package/dist/index.es507.js +528 -0
- package/dist/index.es507.js.map +1 -0
- package/dist/index.es508.js +131 -0
- package/dist/index.es508.js.map +1 -0
- package/dist/index.es509.js +130 -61
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +1 -1
- package/dist/index.es514.js +68 -0
- package/dist/index.es514.js.map +1 -0
- package/dist/index.es521.js +1 -1
- package/dist/index.es522.js +2 -2
- package/dist/index.es525.js +3 -3
- package/dist/index.es530.js +2 -2
- package/dist/index.es531.js +1 -1
- package/dist/index.es532.js +13 -13
- package/dist/index.es539.js +8 -8
- package/dist/index.es544.js +7 -7
- package/dist/index.es546.js +1 -1
- package/dist/index.es550.js +6 -2
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +16 -2
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +2 -2
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +2 -6
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +2 -16
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es560.js +4 -3
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +3 -2
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +2 -4
- package/dist/index.es562.js.map +1 -1
- package/dist/{index.es568.js → index.es564.js} +3 -3
- package/dist/{index.es568.js.map → index.es564.js.map} +1 -1
- package/dist/{index.es569.js → index.es565.js} +1 -1
- package/dist/index.es565.js.map +1 -0
- package/dist/index.es655.js +1 -1
- package/dist/sections/Slider/Slider.css +1 -1
- package/package.json +1 -1
- package/dist/index.cjs489.js +0 -2
- package/dist/index.cjs489.js.map +0 -1
- package/dist/index.cjs490.js +0 -2
- package/dist/index.cjs490.js.map +0 -1
- package/dist/index.cjs496.js +0 -2
- package/dist/index.cjs496.js.map +0 -1
- package/dist/index.cjs497.js +0 -2
- package/dist/index.cjs497.js.map +0 -1
- package/dist/index.cjs569.js.map +0 -1
- package/dist/index.es489.js +0 -32
- package/dist/index.es489.js.map +0 -1
- package/dist/index.es490.js +0 -8
- package/dist/index.es490.js.map +0 -1
- package/dist/index.es496.js +0 -6
- package/dist/index.es496.js.map +0 -1
- package/dist/index.es497.js +0 -27
- package/dist/index.es497.js.map +0 -1
- package/dist/index.es569.js.map +0 -1
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.cjs149.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs149.js","sources":["../src/sections/Slider/index.tsx"],"sourcesContent":["import {\n CSSProperties,\n ElementType,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport { Swiper, SwiperSlide } from \"swiper/react\";\nimport { Navigation, Pagination, A11y } from \"swiper/modules\";\nimport \"swiper/css\";\nimport \"swiper/css/navigation\";\nimport \"swiper/css/pagination\";\nimport \"./Slider.scss\";\nimport { ArrowLeft, File, PlayVideo } from \"@/icons\";\nimport clsx from \"clsx\";\nimport { Pause } from \"@/icons/Pause\";\nimport { Col, Row } from \"@/components\";\n\nexport type Slide = {\n category?: {\n type: string;\n published_at: string;\n };\n src: string;\n alt: string;\n title: string;\n href?: string;\n};\nexport type SliderType = \"full-image\";\nexport type SliderProps = {\n slides: Slide[];\n asImage: ElementType;\n asLink?: ElementType;\n timeout?: number;\n openInNewTab?: boolean;\n paginationLabel?: string;\n withShadow?: boolean;\n gradientColor?: string;\n type?: SliderType;\n swiperHeight?: number;\n};\n\nexport const Slider: React.FC<SliderProps> = ({\n slides = [],\n asLink = \"a\",\n asImage = \"img\",\n timeout = 3000,\n openInNewTab = false,\n paginationLabel = \"di\",\n withShadow = true,\n gradientColor = \"#3d6289\",\n swiperHeight = 574,\n /* type = \"full-image\" */\n}) => {\n const LinkTag = asLink || \"a\";\n const ImageComponent = asImage;\n const swiperRef = useRef<any>(null);\n const [currentIndex, setCurrentIndex] = useState(0);\n\n const [autoplay, setAutoplay] = useState(true);\n const toggleAutoPlay = () => {\n setAutoplay(!autoplay);\n };\n\n const goNext = useCallback(() => {\n if (!swiperRef.current) return;\n const swiper = swiperRef.current;\n if (swiper.isEnd && !swiper.params.loop) {\n swiper.slideTo(0);\n } else {\n swiper.slideNext();\n }\n }, []);\n\n const goPrev = useCallback(() => {\n if (!swiperRef.current) return;\n const swiper = swiperRef.current;\n if (swiper.isBeginning && !swiper.params.loop) {\n swiper.slideTo(swiper.slides.length - 1);\n } else {\n swiper.slidePrev();\n }\n }, []);\n\n useEffect(() => {\n const intervalId = autoplay\n ? setInterval(() => {\n goNext();\n }, timeout)\n : null;\n\n return () => {\n if (intervalId) clearInterval(intervalId);\n };\n }, [autoplay, goNext, timeout]);\n\n const gradientColorStyle = {\n \"--gradient\": gradientColor,\n } as CSSProperties;\n\n const swiperStyle = {\n \"--swiper-height\": `${swiperHeight}px`,\n } as CSSProperties;\n\n return (\n <Col className=\"ui-slider-section-wrapper-container\" style={swiperStyle}>\n <div className=\"ui-slider\">\n <Swiper\n modules={[Navigation, Pagination, A11y]}\n slidesPerView={1}\n autoplay={autoplay}\n observer={true}\n observeParents={true}\n loop={true}\n onSwiper={(swiper) => (swiperRef.current = swiper)}\n onSlideChange={(swiper) => setCurrentIndex(swiper.realIndex)}\n style={swiperStyle}\n >\n {slides.map((slide, index) => (\n <SwiperSlide key={index}>\n <ImageComponent\n src={slide.src}\n alt={slide.alt}\n className=\"slider-image\"\n onLoad={() => swiperRef.current?.update?.()}\n />\n <div\n className={clsx(\"slider-content\", {\n \"with-shadow\": withShadow,\n })}\n style={gradientColorStyle}\n >\n <div className=\"container\">\n <div className=\"slider-content-grid\">\n <div className=\"category\">\n {slide.category && (\n <File fillColor=\"#fff\" width={30} height={30} />\n )}\n {slide.category?.type ?? \" \"}\n <p className=\"date\">\n {slide.category?.published_at ?? \" \"}\n </p>\n </div>\n <LinkTag\n href={slides[currentIndex]?.href || \"\"}\n target={openInNewTab ? \"_blank\" : \"_self\"}\n >\n <h1 className=\"title\">{slide.title}</h1>\n </LinkTag>\n </div>\n </div>\n </div>\n </SwiperSlide>\n ))}\n <Row className=\"pagination\" gap=\"x20\">\n {slides.length > 1 && (\n <Row alignItems=\"center\">\n <ArrowLeft\n width={40}\n height={40}\n onClick={goPrev}\n color=\"white\"\n className=\"cursor-pointer\"\n />\n {autoplay ? (\n <Pause\n width={20}\n height={20}\n onClick={toggleAutoPlay}\n className=\"cursor-pointer\"\n />\n ) : (\n <PlayVideo\n width={20}\n height={20}\n onClick={toggleAutoPlay}\n color=\"white\"\n className=\"cursor-pointer\"\n />\n )}\n </Row>\n )}\n\n <span>{`${currentIndex + 1} ${paginationLabel} ${slides.length}`}</span>\n {slides.length > 1 && (\n <ArrowLeft\n width={40}\n height={40}\n className=\"next cursor-pointer\"\n onClick={goNext}\n color=\"white\"\n />\n )}\n </Row>\n </Swiper>\n </div>\n </Col>\n );\n};\n"],"names":["Slider","slides","asLink","asImage","timeout","openInNewTab","paginationLabel","withShadow","gradientColor","swiperHeight","LinkTag","ImageComponent","swiperRef","useRef","currentIndex","setCurrentIndex","useState","autoplay","setAutoplay","toggleAutoPlay","goNext","useCallback","swiper","goPrev","useEffect","intervalId","gradientColorStyle","swiperStyle","jsx","Col","jsxs","Swiper","Navigation","Pagination","A11y","slide","index","SwiperSlide","_b","_a","clsx","File","_c","Row","ArrowLeft","Pause","PlayVideo"],"mappings":"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
|
1
|
+
{"version":3,"file":"index.cjs149.js","sources":["../src/sections/Slider/index.tsx"],"sourcesContent":["import {\n CSSProperties,\n ElementType,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport { Swiper, SwiperSlide } from \"swiper/react\";\nimport { Navigation, Pagination, A11y } from \"swiper/modules\";\nimport \"swiper/css\";\nimport \"swiper/css/navigation\";\nimport \"swiper/css/pagination\";\nimport \"./Slider.scss\";\nimport { ArrowLeft, File, PlayVideo } from \"@/icons\";\nimport clsx from \"clsx\";\nimport { Pause } from \"@/icons/Pause\";\nimport { Col, Row } from \"@/components\";\n\nexport type Slide = {\n category?: {\n type: string;\n published_at: string;\n };\n src: string;\n alt: string;\n title: string;\n href?: string;\n};\nexport type SliderType = \"full-image\";\nexport type SliderProps = {\n slides: Slide[];\n asImage: ElementType;\n asLink?: ElementType;\n timeout?: number;\n openInNewTab?: boolean;\n paginationLabel?: string;\n withShadow?: boolean;\n gradientColor?: string;\n type?: SliderType;\n swiperHeight?: number;\n};\n\nexport const Slider: React.FC<SliderProps> = ({\n slides = [],\n asLink = \"a\",\n asImage = \"img\",\n timeout = 3000,\n openInNewTab = false,\n paginationLabel = \"di\",\n withShadow = true,\n gradientColor = \"#3d6289\",\n swiperHeight = 574,\n /* type = \"full-image\" */\n}) => {\n const LinkTag = asLink || \"a\";\n const ImageComponent = asImage;\n const swiperRef = useRef<any>(null);\n const [currentIndex, setCurrentIndex] = useState(0);\n\n const [autoplay, setAutoplay] = useState(true);\n const toggleAutoPlay = () => {\n setAutoplay(!autoplay);\n };\n\n const goNext = useCallback(() => {\n if (!swiperRef.current) return;\n const swiper = swiperRef.current;\n if (swiper.isEnd && !swiper.params.loop) {\n swiper.slideTo(0);\n } else {\n swiper.slideNext();\n }\n }, []);\n\n const goPrev = useCallback(() => {\n if (!swiperRef.current) return;\n const swiper = swiperRef.current;\n if (swiper.isBeginning && !swiper.params.loop) {\n swiper.slideTo(swiper.slides.length - 1);\n } else {\n swiper.slidePrev();\n }\n }, []);\n\n useEffect(() => {\n const intervalId = autoplay\n ? setInterval(() => {\n goNext();\n }, timeout)\n : null;\n\n return () => {\n if (intervalId) clearInterval(intervalId);\n };\n }, [autoplay, goNext, timeout]);\n\n const gradientColorStyle = {\n \"--gradient\": gradientColor,\n } as CSSProperties;\n\n const swiperStyle = {\n \"--swiper-height\": `${swiperHeight}px`,\n } as CSSProperties;\n\n return (\n <Col className=\"ui-slider-section-wrapper-container\" style={swiperStyle}>\n <div className=\"ui-slider\">\n <Swiper\n modules={[Navigation, Pagination, A11y]}\n slidesPerView={1}\n autoplay={autoplay}\n observer={true}\n observeParents={true}\n loop={true}\n onSwiper={(swiper) => (swiperRef.current = swiper)}\n onSlideChange={(swiper) => setCurrentIndex(swiper.realIndex)}\n style={swiperStyle}\n >\n {slides.map((slide, index) => (\n <SwiperSlide key={index}>\n <ImageComponent\n src={slide.src}\n alt={slide.alt}\n className=\"slider-image\"\n onLoad={() => swiperRef.current?.update?.()}\n />\n <div\n className={clsx(\"slider-content\", {\n \"with-shadow\": withShadow,\n })}\n style={gradientColorStyle}\n >\n <div className=\"container\">\n <div className=\"slider-content-grid\">\n <div className=\"category\">\n {slide.category && (\n <File fillColor=\"#fff\" width={30} height={30} />\n )}\n {slide.category?.type ?? \" \"}\n <p className=\"date\">\n {slide.category?.published_at ?? \" \"}\n </p>\n </div>\n <LinkTag\n href={slides[currentIndex]?.href || \"\"}\n target={openInNewTab ? \"_blank\" : \"_self\"}\n >\n <h1 className=\"title\">{slide.title}</h1>\n </LinkTag>\n </div>\n </div>\n </div>\n </SwiperSlide>\n ))}\n <Row className=\"pagination\" gap=\"x20\" style={gradientColorStyle}>\n {slides.length > 1 && (\n <Row alignItems=\"center\">\n <ArrowLeft\n width={40}\n height={40}\n onClick={goPrev}\n color=\"white\"\n className=\"cursor-pointer\"\n />\n {autoplay ? (\n <Pause\n width={20}\n height={20}\n onClick={toggleAutoPlay}\n className=\"cursor-pointer\"\n />\n ) : (\n <PlayVideo\n width={20}\n height={20}\n onClick={toggleAutoPlay}\n color=\"white\"\n className=\"cursor-pointer\"\n />\n )}\n </Row>\n )}\n\n <span>{`${currentIndex + 1} ${paginationLabel} ${slides.length}`}</span>\n {slides.length > 1 && (\n <ArrowLeft\n width={40}\n height={40}\n className=\"next cursor-pointer\"\n onClick={goNext}\n color=\"white\"\n />\n )}\n </Row>\n </Swiper>\n </div>\n </Col>\n );\n};\n"],"names":["Slider","slides","asLink","asImage","timeout","openInNewTab","paginationLabel","withShadow","gradientColor","swiperHeight","LinkTag","ImageComponent","swiperRef","useRef","currentIndex","setCurrentIndex","useState","autoplay","setAutoplay","toggleAutoPlay","goNext","useCallback","swiper","goPrev","useEffect","intervalId","gradientColorStyle","swiperStyle","jsx","Col","jsxs","Swiper","Navigation","Pagination","A11y","slide","index","SwiperSlide","_b","_a","clsx","File","_c","Row","ArrowLeft","Pause","PlayVideo"],"mappings":"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"}
|
package/dist/index.cjs179.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs225.js"),i=require("./index.cjs227.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs225.js"),i=require("./index.cjs227.js"),a=({width:r=40,height:s=40,className:t,decorative:e=!1,ariaLabel:o="Support"})=>l.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:s,fill:"currentColor",viewBox:"0 0 40 40",className:i.clsx(t),"aria-hidden":e,"aria-label":e?void 0:o,children:l.jsxRuntimeExports.jsx("path",{fill:"#06C",fillRule:"evenodd",d:"M3.334 20c0-9.205 7.462-16.666 16.667-16.666A16.667 16.667 0 0 1 36.667 20c0 9.205-7.462 16.667-16.666 16.667S3.334 29.205 3.334 20m1.667 0c0 8.284 6.715 15 15 15s15-6.716 15-15S28.285 5 20 5C11.716 5 5 11.716 5 20m13 7.5h2v3h-2zm7-10.333a7 7 0 0 0 .5-3 4.5 4.5 0 0 0-1.334-3.667 8.17 8.17 0 0 0-4.5-1 17 17 0 0 0-5 .834v1.333h.834l3.833-.5a5.83 5.83 0 0 1 3.333.667 2.83 2.83 0 0 1 1 2.333 4.33 4.33 0 0 1-.5 2.333 10.7 10.7 0 0 1-2 2.167A15 15 0 0 0 18.834 21a3.5 3.5 0 0 0-.833 2c.015.57.128 1.134.333 1.667h1.5v-1a4.7 4.7 0 0 1 .667-2l2.333-2.167a9 9 0 0 0 2.167-2.333",clipRule:"evenodd"})});exports.Support=a;
|
2
2
|
//# sourceMappingURL=index.cjs179.js.map
|
package/dist/index.cjs179.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs179.js","sources":["../src/icons/Support/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\nimport clsx from \"clsx\";\n\nexport const Support = ({\n width = 40,\n height = 40,\n className,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs179.js","sources":["../src/icons/Support/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\nimport clsx from \"clsx\";\n\nexport const Support = ({\n width = 40,\n height = 40,\n className,\n decorative = false,\n ariaLabel = \"Support\",\n}: IconProps) => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n viewBox=\"0 0 40 40\"\n className={clsx(className)}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n fill=\"#06C\"\n fillRule=\"evenodd\"\n d=\"M3.334 20c0-9.205 7.462-16.666 16.667-16.666A16.667 16.667 0 0 1 36.667 20c0 9.205-7.462 16.667-16.666 16.667S3.334 29.205 3.334 20m1.667 0c0 8.284 6.715 15 15 15s15-6.716 15-15S28.285 5 20 5C11.716 5 5 11.716 5 20m13 7.5h2v3h-2zm7-10.333a7 7 0 0 0 .5-3 4.5 4.5 0 0 0-1.334-3.667 8.17 8.17 0 0 0-4.5-1 17 17 0 0 0-5 .834v1.333h.834l3.833-.5a5.83 5.83 0 0 1 3.333.667 2.83 2.83 0 0 1 1 2.333 4.33 4.33 0 0 1-.5 2.333 10.7 10.7 0 0 1-2 2.167A15 15 0 0 0 18.834 21a3.5 3.5 0 0 0-.833 2c.015.57.128 1.134.333 1.667h1.5v-1a4.7 4.7 0 0 1 .667-2l2.333-2.167a9 9 0 0 0 2.167-2.333\"\n clipRule=\"evenodd\"\n ></path>\n </svg>\n );\n};\n"],"names":["Support","width","height","className","decorative","ariaLabel","jsx","clsx"],"mappings":"oJAGaA,EAAU,CAAC,CACtB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,WAAAC,EAAa,GACb,UAAAC,EAAY,SACd,IAEIC,EAAAA,kBAAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAL,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWK,EAAAA,KAAKJ,CAAS,EACzB,cAAaC,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAC,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAK,OACL,SAAS,UACT,EAAE,+jBACF,SAAS,SAAA,CAAA,CACV,CAAA"}
|
package/dist/index.cjs207.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs225.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs225.js"),c=require("./index.cjs227.js"),i=require("./index.cjs259.js"),m=({width:r=36,height:l=36,className:t,color:o="primary",decorative:e=!1,ariaLabel:n="Center map"})=>{const a=i.createColorClasses({color:o});return s.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:l,fill:"currentColor",viewBox:"0 0 36 36",className:c.clsx(t,a),"aria-hidden":e,"aria-label":e?void 0:n,children:s.jsxRuntimeExports.jsx("path",{fill:"#06C",fillRule:"evenodd",d:"M16.409 0h2.182v5.455h-2.182zM7.634 17.45c0-5.413 4.404-9.818 9.818-9.818s9.818 4.405 9.818 9.818c0 5.414-4.405 9.819-9.818 9.819-5.414 0-9.818-4.405-9.818-9.819m1.784 0c0 4.43 3.604 8.034 8.034 8.034s8.033-3.604 8.033-8.034-3.604-8.033-8.033-8.033c-4.43 0-8.034 3.604-8.034 8.033m3.175.052a4.915 4.915 0 0 1 4.909-4.909 4.914 4.914 0 0 1 4.909 4.91 4.915 4.915 0 0 1-4.91 4.908 4.915 4.915 0 0 1-4.909-4.909m1.748 0a3.164 3.164 0 0 0 3.16 3.16 3.164 3.164 0 0 0 3.161-3.16 3.164 3.164 0 0 0-3.16-3.16 3.164 3.164 0 0 0-3.161 3.16m4.25 13.044h-2.182V36h2.182zm16.517-14.137v1.929h-5.657v-1.929zM5.657 18.338v-1.929H0v1.929z",clipRule:"evenodd"})})};exports.CenterMap=m;
|
2
2
|
//# sourceMappingURL=index.cjs207.js.map
|
package/dist/index.cjs207.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs207.js","sources":["../src/icons/CenterMap/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const CenterMap = ({\n width = 36,\n height = 36,\n className,\n color = \"primary\",\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs207.js","sources":["../src/icons/CenterMap/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const CenterMap = ({\n width = 36,\n height = 36,\n className,\n color = \"primary\",\n decorative = false,\n ariaLabel = \"Center map\",\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n viewBox=\"0 0 36 36\"\n className={clsx(className, classes)}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n fill=\"#06C\"\n fillRule=\"evenodd\"\n d=\"M16.409 0h2.182v5.455h-2.182zM7.634 17.45c0-5.413 4.404-9.818 9.818-9.818s9.818 4.405 9.818 9.818c0 5.414-4.405 9.819-9.818 9.819-5.414 0-9.818-4.405-9.818-9.819m1.784 0c0 4.43 3.604 8.034 8.034 8.034s8.033-3.604 8.033-8.034-3.604-8.033-8.033-8.033c-4.43 0-8.034 3.604-8.034 8.033m3.175.052a4.915 4.915 0 0 1 4.909-4.909 4.914 4.914 0 0 1 4.909 4.91 4.915 4.915 0 0 1-4.91 4.908 4.915 4.915 0 0 1-4.909-4.909m1.748 0a3.164 3.164 0 0 0 3.16 3.16 3.164 3.164 0 0 0 3.161-3.16 3.164 3.164 0 0 0-3.16-3.16 3.164 3.164 0 0 0-3.161 3.16m4.25 13.044h-2.182V36h2.182zm16.517-14.137v1.929h-5.657v-1.929zM5.657 18.338v-1.929H0v1.929z\"\n clipRule=\"evenodd\"\n ></path>\n </svg>\n );\n};\n"],"names":["CenterMap","width","height","className","color","decorative","ariaLabel","classes","createColorClasses","jsx","clsx"],"mappings":"mLAIaA,EAAY,CAAC,CACxB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EAAQ,UACR,WAAAC,EAAa,GACb,UAAAC,EAAY,YACd,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAJ,EAAO,EAE5C,OACEK,EAAAA,kBAAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAR,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWQ,EAAAA,KAAKP,EAAWI,CAAO,EAClC,cAAaF,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAG,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAK,OACL,SAAS,UACT,EAAE,knBACF,SAAS,SAAA,CAAA,CACV,CAAA,CAGP"}
|
package/dist/index.cjs229.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs439.js");var r=e.__require();exports.lodashExports=r;
|
2
2
|
//# sourceMappingURL=index.cjs229.js.map
|
package/dist/index.cjs236.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";const r=require("./index.
|
1
|
+
"use strict";const r=require("./index.cjs440.js"),e=require("./index.cjs444.js");var s=e.__require();const o=r.getDefaultExportFromCjs(s);module.exports=o;
|
2
2
|
//# sourceMappingURL=index.cjs236.js.map
|
package/dist/index.cjs275.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),x=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),x=require("./index.cjs455.js"),L=require("./index.cjs453.js"),$=require("./index.cjs454.js"),H=require("./index.cjs456.js"),K=require("./index.cjs460.js"),p=require("./index.cjs461.js"),b=require("./index.cjs462.js"),a=require("./index.cjs225.js");function U(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const d=U(q);var M="DropdownMenu",[B,ie]=$.createContextScope(M,[p.createMenuScope]),s=p.createMenuScope(),[F,h]=B(M),D=e=>{const{__scopeDropdownMenu:n,children:o,dir:r,open:t,defaultOpen:i,onOpenChange:l,modal:u=!0}=e,c=s(n),f=d.useRef(null),[w,m]=H.useControllableState({prop:t,defaultProp:i??!1,onChange:l,caller:M});return a.jsxRuntimeExports.jsx(F,{scope:n,triggerId:b.useId(),triggerRef:f,contentId:b.useId(),open:w,onOpenChange:m,onOpenToggle:d.useCallback(()=>m(k=>!k),[m]),modal:u,children:a.jsxRuntimeExports.jsx(p.Root,{...c,open:w,onOpenChange:m,dir:r,modal:u,children:o})})};D.displayName=M;var I="DropdownMenuTrigger",g=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,disabled:r=!1,...t}=e,i=h(I,o),l=s(o);return a.jsxRuntimeExports.jsx(p.Anchor,{asChild:!0,...l,children:a.jsxRuntimeExports.jsx(K.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...t,ref:L.composeRefs(n,i.triggerRef),onPointerDown:x.composeEventHandlers(e.onPointerDown,u=>{!r&&u.button===0&&u.ctrlKey===!1&&(i.onOpenToggle(),i.open||u.preventDefault())}),onKeyDown:x.composeEventHandlers(e.onKeyDown,u=>{r||(["Enter"," "].includes(u.key)&&i.onOpenToggle(),u.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})})});g.displayName=I;var W="DropdownMenuPortal",v=e=>{const{__scopeDropdownMenu:n,...o}=e,r=s(n);return a.jsxRuntimeExports.jsx(p.Portal,{...r,...o})};v.displayName=W;var j="DropdownMenuContent",R=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=h(j,o),i=s(o),l=d.useRef(!1);return a.jsxRuntimeExports.jsx(p.Content,{id:t.contentId,"aria-labelledby":t.triggerId,...i,...r,ref:n,onCloseAutoFocus:x.composeEventHandlers(e.onCloseAutoFocus,u=>{var c;l.current||(c=t.triggerRef.current)==null||c.focus(),l.current=!1,u.preventDefault()}),onInteractOutside:x.composeEventHandlers(e.onInteractOutside,u=>{const c=u.detail.originalEvent,f=c.button===0&&c.ctrlKey===!0,w=c.button===2||f;(!t.modal||w)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});R.displayName=j;var z="DropdownMenuGroup",_=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Group,{...t,...r,ref:n})});_.displayName=z;var X="DropdownMenuLabel",S=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Label,{...t,...r,ref:n})});S.displayName=X;var J="DropdownMenuItem",E=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Item,{...t,...r,ref:n})});E.displayName=J;var Q="DropdownMenuCheckboxItem",N=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.CheckboxItem,{...t,...r,ref:n})});N.displayName=Q;var V="DropdownMenuRadioGroup",C=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.RadioGroup,{...t,...r,ref:n})});C.displayName=V;var Y="DropdownMenuRadioItem",P=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.RadioItem,{...t,...r,ref:n})});P.displayName=Y;var Z="DropdownMenuItemIndicator",y=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.ItemIndicator,{...t,...r,ref:n})});y.displayName=Z;var ee="DropdownMenuSeparator",A=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Separator,{...t,...r,ref:n})});A.displayName=ee;var oe="DropdownMenuArrow",O=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Arrow,{...t,...r,ref:n})});O.displayName=oe;var re="DropdownMenuSubTrigger",T=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.SubTrigger,{...t,...r,ref:n})});T.displayName=re;var ne="DropdownMenuSubContent",G=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.SubContent,{...t,...r,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});G.displayName=ne;var te=D,ae=g,pe=v,de=R,ue=_,se=E;exports.Content=de;exports.DropdownMenu=D;exports.DropdownMenuArrow=O;exports.DropdownMenuCheckboxItem=N;exports.DropdownMenuContent=R;exports.DropdownMenuGroup=_;exports.DropdownMenuItem=E;exports.DropdownMenuItemIndicator=y;exports.DropdownMenuLabel=S;exports.DropdownMenuPortal=v;exports.DropdownMenuRadioGroup=C;exports.DropdownMenuRadioItem=P;exports.DropdownMenuSeparator=A;exports.DropdownMenuSubContent=G;exports.DropdownMenuSubTrigger=T;exports.DropdownMenuTrigger=g;exports.Group=ue;exports.Item=se;exports.Portal=pe;exports.Root=te;exports.Trigger=ae;
|
2
2
|
//# sourceMappingURL=index.cjs275.js.map
|
package/dist/index.cjs288.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),O=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),O=require("./index.cjs453.js"),L=require("./index.cjs454.js"),B=require("./index.cjs455.js"),z=require("./index.cjs456.js"),G=require("./index.cjs457.js"),K=require("./index.cjs458.js"),U=require("./index.cjs459.js"),y=require("./index.cjs460.js"),l=require("./index.cjs225.js");function X(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=X(H);var E="Checkbox",[J,W]=L.createContextScope(E),[Q,I]=J(E);function S(e){const{__scopeCheckbox:n,checked:r,children:s,defaultChecked:c,disabled:t,form:b,name:f,onCheckedChange:u,required:h,value:m="on",internal_do_not_use_render:d}=e,[p,v]=z.useControllableState({prop:r,defaultProp:c??!1,onChange:u,caller:E}),[C,k]=a.useState(null),[R,o]=a.useState(null),i=a.useRef(!1),j=C?!!b||!!C.closest("form"):!0,P={checked:p,disabled:t,setChecked:v,control:C,setControl:k,name:f,form:b,value:m,hasConsumerStoppedPropagationRef:i,required:h,defaultChecked:x(c)?!1:c,isFormControl:j,bubbleInput:R,setBubbleInput:o};return l.jsxRuntimeExports.jsx(Q,{scope:n,...P,children:V(d)?d(P):s})}var T="CheckboxTrigger",_=a.forwardRef(({__scopeCheckbox:e,onKeyDown:n,onClick:r,...s},c)=>{const{control:t,value:b,disabled:f,checked:u,required:h,setControl:m,setChecked:d,hasConsumerStoppedPropagationRef:p,isFormControl:v,bubbleInput:C}=I(T,e),k=O.useComposedRefs(c,m),R=a.useRef(u);return a.useEffect(()=>{const o=t==null?void 0:t.form;if(o){const i=()=>d(R.current);return o.addEventListener("reset",i),()=>o.removeEventListener("reset",i)}},[t,d]),l.jsxRuntimeExports.jsx(y.Primitive.button,{type:"button",role:"checkbox","aria-checked":x(u)?"mixed":u,"aria-required":h,"data-state":D(u),"data-disabled":f?"":void 0,disabled:f,value:b,...s,ref:k,onKeyDown:B.composeEventHandlers(n,o=>{o.key==="Enter"&&o.preventDefault()}),onClick:B.composeEventHandlers(r,o=>{d(i=>x(i)?!0:!i),C&&v&&(p.current=o.isPropagationStopped(),p.current||o.stopPropagation())})})});_.displayName=T;var q=a.forwardRef((e,n)=>{const{__scopeCheckbox:r,name:s,checked:c,defaultChecked:t,required:b,disabled:f,value:u,onCheckedChange:h,form:m,...d}=e;return l.jsxRuntimeExports.jsx(S,{__scopeCheckbox:r,checked:c,defaultChecked:t,disabled:f,required:b,onCheckedChange:h,name:s,form:m,value:u,internal_do_not_use_render:({isFormControl:p})=>l.jsxRuntimeExports.jsxs(l.jsxRuntimeExports.Fragment,{children:[l.jsxRuntimeExports.jsx(_,{...d,ref:n,__scopeCheckbox:r}),p&&l.jsxRuntimeExports.jsx(g,{__scopeCheckbox:r})]})})});q.displayName=E;var M="CheckboxIndicator",N=a.forwardRef((e,n)=>{const{__scopeCheckbox:r,forceMount:s,...c}=e,t=I(M,r);return l.jsxRuntimeExports.jsx(U.Presence,{present:s||x(t.checked)||t.checked===!0,children:l.jsxRuntimeExports.jsx(y.Primitive.span,{"data-state":D(t.checked),"data-disabled":t.disabled?"":void 0,...c,ref:n,style:{pointerEvents:"none",...e.style}})})});N.displayName=M;var $="CheckboxBubbleInput",g=a.forwardRef(({__scopeCheckbox:e,...n},r)=>{const{control:s,hasConsumerStoppedPropagationRef:c,checked:t,defaultChecked:b,required:f,disabled:u,name:h,value:m,form:d,bubbleInput:p,setBubbleInput:v}=I($,e),C=O.useComposedRefs(r,v),k=G.usePrevious(t),R=K.useSize(s);a.useEffect(()=>{const i=p;if(!i)return;const j=window.HTMLInputElement.prototype,w=Object.getOwnPropertyDescriptor(j,"checked").set,A=!c.current;if(k!==t&&w){const F=new Event("click",{bubbles:A});i.indeterminate=x(t),w.call(i,x(t)?!1:t),i.dispatchEvent(F)}},[p,k,t,c]);const o=a.useRef(x(t)?!1:t);return l.jsxRuntimeExports.jsx(y.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:b??o.current,required:f,disabled:u,name:h,value:m,form:d,...n,tabIndex:-1,ref:C,style:{...n.style,...R,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});g.displayName=$;function V(e){return typeof e=="function"}function x(e){return e==="indeterminate"}function D(e){return x(e)?"indeterminate":e?"checked":"unchecked"}exports.Checkbox=q;exports.CheckboxIndicator=N;exports.Indicator=N;exports.Root=q;exports.unstable_BubbleInput=g;exports.unstable_CheckboxBubbleInput=g;exports.unstable_CheckboxProvider=S;exports.unstable_CheckboxTrigger=_;exports.unstable_Provider=S;exports.unstable_Trigger=_;
|
2
2
|
//# sourceMappingURL=index.cjs288.js.map
|
package/dist/index.cjs29.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapStructure/CardMap.css');const e=require("./index.cjs225.js");;/* empty css */const n=require("react"),o=require("./index.cjs8.js"),w=({id:
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapStructure/CardMap.css');const e=require("./index.cjs225.js");;/* empty css */const n=require("react"),o=require("./index.cjs8.js"),w=({id:l,title:u,titleTag:d="h2",href:x,description:m,isExternal:i=!1,asLink:f="a",className:p,plainAddress:a,setSelectedCard:j=()=>{},addressLabel:h="Indirizzo",addressLabelTitleTag:v="h3"})=>{const R=f,[s,c]=n.useState(!1),t=n.useRef(null);return n.useEffect(()=>{const r=g=>{t.current&&!t.current.contains(g.target)&&c(!1)};return s?document.addEventListener("mousedown",r):document.removeEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}},[s]),e.jsxRuntimeExports.jsxs(o.Col,{as:"div",justifyContent:"center",ref:t,br:"x4",p:"x24",bg:"white",className:`${p} ${s?"ui-is-active":"ui-card-search"} shadow cursor-pointer text-slate-28`,onClick:()=>{c(!0),j(l)},children:[e.jsxRuntimeExports.jsxs(o.Col,{pb:"x24",children:[e.jsxRuntimeExports.jsx(d,{className:"flex-1",children:e.jsxRuntimeExports.jsx(R,{className:"text-decoration-none fs-4 text-primary fw-semibold",href:x,target:i?"_blank":void 0,rel:i?"noreferrer noopener":void 0,children:u})}),e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular",children:m})]}),a&&e.jsxRuntimeExports.jsxs(o.Col,{as:"footer",gap:"x8",bg:"white",children:[e.jsxRuntimeExports.jsx(v,{className:"fw-semibold fs-6",children:h}),e.jsxRuntimeExports.jsx("p",{className:"fw-regular",children:a})]})]})};exports.CardMap=w;
|
2
2
|
//# sourceMappingURL=index.cjs29.js.map
|
package/dist/index.cjs29.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs29.js","sources":["../src/components/ui/CardMapStructure/index.tsx"],"sourcesContent":["import \"./CardMap.scss\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { Col } from \"@/components\";\nimport { HeadingLevel } from \"@/types/headings\";\n\ntype CardMapProps = {\n id: string;\n title: string;\n titleTag: HeadingLevel;\n href?: string;\n description?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n asLink?: \"a\";\n className?: string;\n plainAddress?: string;\n setSelectedCard?: (id: string) => void;\n addressLabel?: string;\n};\nexport const CardMap = ({\n id,\n title,\n titleTag: TitleTag = \"
|
1
|
+
{"version":3,"file":"index.cjs29.js","sources":["../src/components/ui/CardMapStructure/index.tsx"],"sourcesContent":["import \"./CardMap.scss\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { Col } from \"@/components\";\nimport { HeadingLevel } from \"@/types/headings\";\n\ntype CardMapProps = {\n id: string;\n title: string;\n titleTag: HeadingLevel;\n href?: string;\n description?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n asLink?: \"a\";\n className?: string;\n plainAddress?: string;\n setSelectedCard?: (id: string) => void;\n addressLabel?: string;\n addressLabelTitleTag?: HeadingLevel;\n};\nexport const CardMap = ({\n id,\n title,\n titleTag: TitleTag = \"h2\",\n href,\n description,\n isExternal = false,\n asLink = \"a\",\n className,\n plainAddress,\n setSelectedCard = () => {},\n addressLabel = \"Indirizzo\",\n addressLabelTitleTag: AddressLabelTitleTag = \"h3\",\n}: CardMapProps) => {\n const LinkComponent = asLink;\n const [isActive, setIsActive] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target as Node)\n ) {\n setIsActive(false);\n }\n };\n\n if (isActive) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [isActive]);\n return (\n <Col\n as={\"div\"}\n justifyContent={\"center\"}\n ref={dropdownRef}\n br={\"x4\"}\n p={\"x24\"}\n bg={\"white\"}\n className={`${className} ${isActive ? \"ui-is-active\" : \"ui-card-search\"} shadow cursor-pointer text-slate-28`}\n onClick={() => {\n setIsActive(true);\n setSelectedCard(id);\n }}\n >\n <Col pb={\"x24\"}>\n <TitleTag className=\"flex-1\">\n <LinkComponent\n className={\"text-decoration-none fs-4 text-primary fw-semibold\"}\n href={href}\n target={isExternal ? \"_blank\" : undefined}\n rel={isExternal ? \"noreferrer noopener\" : undefined}\n >\n {title}\n </LinkComponent>\n </TitleTag>\n <p className=\"fs-6 fw-regular\">{description}</p>\n </Col>\n\n {plainAddress && (\n <Col as={\"footer\"} gap={\"x8\"} bg={\"white\"}>\n <AddressLabelTitleTag className={\"fw-semibold fs-6\"}>\n {addressLabel}\n </AddressLabelTitleTag>\n <p className={\"fw-regular\"}>{plainAddress}</p>\n </Col>\n )}\n </Col>\n );\n};\n"],"names":["CardMap","id","title","TitleTag","href","description","isExternal","asLink","className","plainAddress","setSelectedCard","addressLabel","AddressLabelTitleTag","LinkComponent","isActive","setIsActive","useState","dropdownRef","useRef","useEffect","handleClickOutside","event","jsxs","Col","jsx"],"mappings":"wMAoBaA,EAAU,CAAC,CACtB,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,KAAAC,EACA,YAAAC,EACA,WAAAC,EAAa,GACb,OAAAC,EAAS,IACT,UAAAC,EACA,aAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,aAAAC,EAAe,YACf,qBAAsBC,EAAuB,IAC/C,IAAoB,CAClB,MAAMC,EAAgBN,EAChB,CAACO,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EACxCC,EAAcC,EAAAA,OAAuB,IAAI,EAE/CC,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAMC,EAAsBC,GAAsB,CAE9CJ,EAAY,SACZ,CAACA,EAAY,QAAQ,SAASI,EAAM,MAAc,GAElDN,EAAY,EAAK,CAErB,EAEA,OAAID,EACF,SAAS,iBAAiB,YAAaM,CAAkB,EAEzD,SAAS,oBAAoB,YAAaA,CAAkB,EAGvD,IAAM,CACX,SAAS,oBAAoB,YAAaA,CAAkB,CAC9D,CACF,EAAG,CAACN,CAAQ,CAAC,EAEXQ,EAAAA,kBAAAA,KAACC,EAAAA,IAAA,CACC,GAAI,MACJ,eAAgB,SAChB,IAAKN,EACL,GAAI,KACJ,EAAG,MACH,GAAI,QACJ,UAAW,GAAGT,CAAS,IAAIM,EAAW,eAAiB,gBAAgB,uCACvE,QAAS,IAAM,CACbC,EAAY,EAAI,EAChBL,EAAgBT,CAAE,CACpB,EAEA,SAAA,CAAAqB,EAAAA,kBAAAA,KAACC,EAAAA,IAAA,CAAI,GAAI,MACP,SAAA,CAAAC,EAAAA,kBAAAA,IAACrB,EAAA,CAAS,UAAU,SAClB,SAAAqB,EAAAA,kBAAAA,IAACX,EAAA,CACC,UAAW,qDACX,KAAAT,EACA,OAAQE,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OAEzC,SAAAJ,CAAA,CAAA,EAEL,EACAsB,EAAAA,kBAAAA,IAAC,IAAA,CAAE,UAAU,kBAAmB,SAAAnB,CAAA,CAAY,CAAA,EAC9C,EAECI,4BACEc,MAAA,CAAI,GAAI,SAAU,IAAK,KAAM,GAAI,QAChC,SAAA,CAAAC,EAAAA,kBAAAA,IAACZ,EAAA,CAAqB,UAAW,mBAC9B,SAAAD,EACH,EACAa,EAAAA,kBAAAA,IAAC,IAAA,CAAE,UAAW,aAAe,SAAAf,CAAA,CAAa,CAAA,CAAA,CAC5C,CAAA,CAAA,CAAA,CAIR"}
|
package/dist/index.cjs299.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs465.js"),s=require("react"),p=()=>{const[o,t]=c.useCopyToClipboard(),[r,e]=s.useState(!1);return{isCopied:r,copiedText:o,copyToClipboard:()=>{if(typeof window>"u")return;const i=window.location.href;t(i).then(()=>{e(()=>!0),setTimeout(()=>{e(!1)},1500)}).catch(n=>{console.debug("Failed to copy!",n)})}}};exports.useCopyToClipboardCurrentPage=p;
|
2
2
|
//# sourceMappingURL=index.cjs299.js.map
|
package/dist/index.cjs306.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs455.js"),E=require("./index.cjs453.js"),M=require("./index.cjs454.js"),v=require("./index.cjs462.js"),B=require("./index.cjs456.js"),V=require("./index.cjs468.js"),z=require("./index.cjs470.js"),K=require("./index.cjs472.js"),j=require("./index.cjs459.js"),x=require("./index.cjs460.js"),U=require("./index.cjs469.js"),Y=require("./index.cjs476.js"),Z=require("./index.cjs475.js"),J=require("./index.cjs464.js"),s=require("./index.cjs225.js");function Q(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=Q(H);var D="Dialog",[S,X]=M.createContextScope(D),[ee,u]=S(D),C=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:c=!0}=e,l=a.useRef(null),d=a.useRef(null),[f,R]=B.useControllableState({prop:r,defaultProp:i??!1,onChange:o,caller:D});return s.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:v.useId(),titleId:v.useId(),descriptionId:v.useId(),open:f,onOpenChange:R,onOpenToggle:a.useCallback(()=>R(L=>!L),[R]),modal:c,children:n})};C.displayName=D;var w="DialogTrigger",P=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(w,n),o=E.useComposedRefs(t,i.triggerRef);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":A(i.open),...r,ref:o,onClick:p.composeEventHandlers(e.onClick,i.onOpenToggle)})});P.displayName=w;var _="DialogPortal",[te,F]=S(_,{forceMount:void 0}),y=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=u(_,t);return s.jsxRuntimeExports.jsx(te,{scope:t,forceMount:n,children:a.Children.map(r,c=>s.jsxRuntimeExports.jsx(j.Presence,{present:n||o.open,children:s.jsxRuntimeExports.jsx(K.Portal,{asChild:!0,container:i,children:c})}))})};y.displayName=_;var m="DialogOverlay",O=a.forwardRef((e,t)=>{const n=F(m,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(m,e.__scopeDialog);return o.modal?s.jsxRuntimeExports.jsx(j.Presence,{present:r||o.open,children:s.jsxRuntimeExports.jsx(ne,{...i,ref:t})}):null});O.displayName=m;var oe=J.createSlot("DialogOverlay.RemoveScroll"),ne=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(m,n);return s.jsxRuntimeExports.jsx(Y,{as:oe,allowPinchZoom:!0,shards:[i.contentRef],children:s.jsxRuntimeExports.jsx(x.Primitive.div,{"data-state":A(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),g="DialogContent",h=a.forwardRef((e,t)=>{const n=F(g,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(g,e.__scopeDialog);return s.jsxRuntimeExports.jsx(j.Presence,{present:r||o.open,children:o.modal?s.jsxRuntimeExports.jsx(re,{...i,ref:t}):s.jsxRuntimeExports.jsx(ie,{...i,ref:t})})});h.displayName=g;var re=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(null),i=E.useComposedRefs(t,n.contentRef,r);return a.useEffect(()=>{const o=r.current;if(o)return Z.hideOthers(o)},[]),s.jsxRuntimeExports.jsx(q,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,o=>o.preventDefault())})}),ie=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(!1),i=a.useRef(!1);return s.jsxRuntimeExports.jsx(q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=e.onCloseAutoFocus)==null||c.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),q=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=e,l=u(g,n),d=a.useRef(null),f=E.useComposedRefs(t,d);return U.useFocusGuards(),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(z.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:s.jsxRuntimeExports.jsx(V.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":A(l.open),...c,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(ae,{titleId:l.titleId}),s.jsxRuntimeExports.jsx(le,{contentRef:d,descriptionId:l.descriptionId})]})]})}),N="DialogTitle",b=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(N,n);return s.jsxRuntimeExports.jsx(x.Primitive.h2,{id:i.titleId,...r,ref:t})});b.displayName=N;var $="DialogDescription",I=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u($,n);return s.jsxRuntimeExports.jsx(x.Primitive.p,{id:i.descriptionId,...r,ref:t})});I.displayName=$;var W="DialogClose",T=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(W,n);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>i.onOpenChange(!1))})});T.displayName=W;function A(e){return e?"open":"closed"}var k="DialogTitleWarning",[se,G]=M.createContext(k,{contentName:g,titleName:N,docsSlug:"dialog"}),ae=({titleId:e})=>{const t=G(k),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
2
2
|
|
3
3
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
4
4
|
|
package/dist/index.cjs313.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const o=require("./index.cjs225.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:e});exports.ConsentModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs313.js.map
|
package/dist/index.cjs314.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const n=require("./index.cjs225.js"),o=require("./index.cjs227.js");;/* empty css */const s=({overrideClassNames:e,children:t})=>n.jsxRuntimeExports.jsx("div",{className:o.clsx("ui-consent-modal-body",e),children:t});exports.ContentModalContent=s;
|
2
2
|
//# sourceMappingURL=index.cjs314.js.map
|
package/dist/index.cjs318.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const e=require("./index.cjs225.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs318.js.map
|
package/dist/index.cjs327.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const t=require("./index.cjs225.js"),r=require("./index.cjs227.js");;/* empty css */const n=({overrideClassNames:o,children:e})=>t.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",o),children:e});exports.DoctorConfirmModalContent=n;
|
2
2
|
//# sourceMappingURL=index.cjs327.js.map
|
package/dist/index.cjs329.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const e=require("./index.cjs225.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorConfirmModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs329.js.map
|
package/dist/index.cjs337.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),N=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),N=require("./index.cjs455.js"),P=require("./index.cjs453.js"),O=require("./index.cjs454.js"),B=require("./index.cjs456.js"),M=require("./index.cjs457.js"),I=require("./index.cjs458.js"),y=require("./index.cjs460.js"),d=require("./index.cjs225.js");function $(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const s=$(T);var m="Switch",[H,F]=O.createContextScope(m),[z,A]=H(m),R=s.forwardRef((t,o)=>{const{__scopeSwitch:e,name:r,checked:n,defaultChecked:b,required:a,disabled:c,value:u="on",onCheckedChange:x,form:i,...S}=t,[p,l]=s.useState(null),w=P.useComposedRefs(o,h=>l(h)),v=s.useRef(!1),j=p?i||!!p.closest("form"):!0,[f,_]=B.useControllableState({prop:n,defaultProp:b??!1,onChange:x,caller:m});return d.jsxRuntimeExports.jsxs(z,{scope:e,checked:f,disabled:c,children:[d.jsxRuntimeExports.jsx(y.Primitive.button,{type:"button",role:"switch","aria-checked":f,"aria-required":a,"data-state":E(f),"data-disabled":c?"":void 0,disabled:c,value:u,...S,ref:w,onClick:N.composeEventHandlers(t.onClick,h=>{_(q=>!q),j&&(v.current=h.isPropagationStopped(),v.current||h.stopPropagation())})}),j&&d.jsxRuntimeExports.jsx(k,{control:p,bubbles:!v.current,name:r,value:u,checked:f,required:a,disabled:c,form:i,style:{transform:"translateX(-100%)"}})]})});R.displayName=m;var g="SwitchThumb",C=s.forwardRef((t,o)=>{const{__scopeSwitch:e,...r}=t,n=A(g,e);return d.jsxRuntimeExports.jsx(y.Primitive.span,{"data-state":E(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});C.displayName=g;var D="SwitchBubbleInput",k=s.forwardRef(({__scopeSwitch:t,control:o,checked:e,bubbles:r=!0,...n},b)=>{const a=s.useRef(null),c=P.useComposedRefs(a,b),u=M.usePrevious(e),x=I.useSize(o);return s.useEffect(()=>{const i=a.current;if(!i)return;const S=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(S,"checked").set;if(u!==e&&l){const w=new Event("click",{bubbles:r});l.call(i,e),i.dispatchEvent(w)}},[u,e,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:e,...n,tabIndex:-1,ref:c,style:{...n.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});k.displayName=D;function E(t){return t?"checked":"unchecked"}var U=R,L=C;exports.Root=U;exports.Switch=R;exports.SwitchThumb=C;exports.Thumb=L;
|
2
2
|
//# sourceMappingURL=index.cjs337.js.map
|
package/dist/index.cjs378.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),T=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),T=require("./index.cjs454.js"),E=require("./index.cjs453.js"),n=require("./index.cjs306.js"),h=require("./index.cjs455.js"),w=require("./index.cjs464.js"),i=require("./index.cjs225.js");function M(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const l=M(b);var j="AlertDialog",[q,U]=T.createContextScope(j,[n.createDialogScope]),s=n.createDialogScope(),d=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Root,{...r,...t,modal:!0})};d.displayName=j;var I="AlertDialogTrigger",_=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Trigger,{...a,...r,ref:o})});_.displayName=I;var $="AlertDialogPortal",A=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Portal,{...r,...t})};A.displayName=$;var L="AlertDialogOverlay",D=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Overlay,{...a,...r,ref:o})});D.displayName=L;var c="AlertDialogContent",[F,G]=q(c),W=w.createSlottable("AlertDialogContent"),v=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,children:r,...a}=e,g=s(t),u=l.useRef(null),P=E.useComposedRefs(o,u),R=l.useRef(null);return i.jsxRuntimeExports.jsx(n.WarningProvider,{contentName:c,titleName:C,docsSlug:"alert-dialog",children:i.jsxRuntimeExports.jsx(F,{scope:t,cancelRef:R,children:i.jsxRuntimeExports.jsxs(n.Content,{role:"alertdialog",...g,...a,ref:P,onOpenAutoFocus:h.composeEventHandlers(a.onOpenAutoFocus,p=>{var y;p.preventDefault(),(y=R.current)==null||y.focus({preventScroll:!0})}),onPointerDownOutside:p=>p.preventDefault(),onInteractOutside:p=>p.preventDefault(),children:[i.jsxRuntimeExports.jsx(W,{children:r}),i.jsxRuntimeExports.jsx(k,{contentRef:u})]})})})});v.displayName=c;var C="AlertDialogTitle",f=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Title,{...a,...r,ref:o})});f.displayName=C;var N="AlertDialogDescription",x=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Description,{...a,...r,ref:o})});x.displayName=N;var Y="AlertDialogAction",S=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Close,{...a,...r,ref:o})});S.displayName=Y;var O="AlertDialogCancel",m=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,{cancelRef:a}=G(O,t),g=s(t),u=E.useComposedRefs(o,a);return i.jsxRuntimeExports.jsx(n.Close,{...g,...r,ref:u})});m.displayName=O;var k=({contentRef:e})=>{const o=`\`${c}\` requires a description for the component to be accessible for screen reader users.
|
2
2
|
|
3
3
|
You can add a description to the \`${c}\` by passing a \`${N}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
4
4
|
|
package/dist/index.cjs384.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs564.js");var r=e.__require();exports.FileSaver_minExports=r;
|
2
2
|
//# sourceMappingURL=index.cjs384.js.map
|
package/dist/index.cjs419.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const o=require("./index.cjs225.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:e});exports.CreateReservationModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs419.js.map
|
package/dist/index.cjs437.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs442.js");/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.production.js
|
4
4
|
*
|
package/dist/index.cjs438.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs443.js"),B=require("react");/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.development.js
|
4
4
|
*
|