@dgui/react-web-shared
Advanced tools
@@ -39,3 +39,3 @@ "use strict"; | ||
| ]); | ||
| return ((0, jsx_runtime_1.jsx)(react_2.Swiper, Object.assign({ allowTouchMove: swipe, initialSlide: tabIndex, modules: modules, onSlideChange: handleSlideChange, onSwiper: handleSwiper, slidesPerView: SLIDES_PER_VIEW, spaceBetween: SPACE_BETWEEN, style: styles.slideContainer }, { children: children }))); | ||
| return ((0, jsx_runtime_1.jsx)(react_2.Swiper, { allowTouchMove: swipe, initialSlide: tabIndex, modules: modules, onSlideChange: handleSlideChange, onSwiper: handleSwiper, slidesPerView: SLIDES_PER_VIEW, spaceBetween: SPACE_BETWEEN, style: styles.slideContainer, children: children })); | ||
| }; | ||
@@ -42,0 +42,0 @@ WebBaseCarousel.displayName = 'WebBaseCarousel'; |
@@ -5,3 +5,3 @@ import { type FunctionComponent, type PropsWithChildren } from 'react'; | ||
| export type WebBaseHorseProps = PropsWithChildren<{ | ||
| swipe?: boolean; | ||
| readonly swipe?: boolean; | ||
| }>; |
@@ -13,7 +13,7 @@ "use strict"; | ||
| const WebBaseHorse = ({ children, swipe = true }) => { | ||
| return ((0, jsx_runtime_1.jsx)(react_1.SwiperSlide, Object.assign({ className: swipe ? | ||
| return ((0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { className: swipe ? | ||
| undefined : | ||
| 'swiper-no-swiping', style: styles.horse }, { children: children }))); | ||
| 'swiper-no-swiping', style: styles.horse, children: children })); | ||
| }; | ||
| WebBaseHorse.displayName = 'WebBaseHorse'; | ||
| exports.default = WebBaseHorse; |
@@ -44,5 +44,5 @@ "use strict"; | ||
| ]); | ||
| return ((0, jsx_runtime_1.jsx)(WebBaseGatewayContext_1.default.Provider, Object.assign({ value: value }, { children: children }))); | ||
| return ((0, jsx_runtime_1.jsx)(WebBaseGatewayContext_1.default.Provider, { value: value, children: children })); | ||
| }; | ||
| WebBaseGatewayProvider.displayName = 'WebBaseGatewayProvider'; | ||
| exports.default = WebBaseGatewayProvider; |
+16
-16
@@ -5,3 +5,3 @@ { | ||
| "license": "LGPL-3.0-or-later", | ||
| "version": "0.3.2-beta.1", | ||
| "version": "0.4.0-next.1", | ||
| "private": false, | ||
@@ -47,16 +47,16 @@ "description": "Shared Web Components for a boilerplate React GUI", | ||
| "devDependencies": { | ||
| "@digest/eslint-config-jest": "^4.2.2", | ||
| "@digest/eslint-config-react": "^4.2.2", | ||
| "@digest/eslint-config-typescript": "^4.2.2", | ||
| "@digest/jest-junit": "^4.2.2", | ||
| "@digest/jest-react": "^4.2.2", | ||
| "@digest/jest-typescript": "^4.2.2", | ||
| "@digest/typescript": "^4.2.2", | ||
| "@types/jest": "^29.5.1", | ||
| "@digest/eslint-config-jest": "^4.2.5", | ||
| "@digest/eslint-config-react": "^4.2.5", | ||
| "@digest/eslint-config-typescript": "^4.2.5", | ||
| "@digest/jest-junit": "^4.2.5", | ||
| "@digest/jest-react": "^4.2.5", | ||
| "@digest/jest-typescript": "^4.2.5", | ||
| "@digest/typescript": "^4.2.5", | ||
| "@types/jest": "^29.5.3", | ||
| "@types/lodash.debounce": "^4.0.7", | ||
| "@types/react": "^18.0.38", | ||
| "@types/react-dom": "^18.0.11", | ||
| "@types/react": "^18.2.18", | ||
| "@types/react-dom": "^18.2.7", | ||
| "@types/react-test-renderer": "^18.0.0", | ||
| "cross-env": "^7.0.3", | ||
| "jest-environment-jsdom": "^29.5.0", | ||
| "jest-environment-jsdom": "^29.6.2", | ||
| "jest-environment-jsdom-global": "^4.0.0", | ||
@@ -67,7 +67,7 @@ "npm-run-all": "^4.1.5", | ||
| "react-test-renderer": "^18.2.0", | ||
| "rimraf": "^5.0.0", | ||
| "swiper": "^9.2.4" | ||
| "rimraf": "^5.0.1", | ||
| "swiper": "^9.4.1" | ||
| }, | ||
| "dependencies": { | ||
| "@dgui/react-shared": "^0.3.2-beta.1", | ||
| "@dgui/react-shared": "^0.4.0-next.1", | ||
| "lodash.debounce": "^4.0.8" | ||
@@ -88,3 +88,3 @@ }, | ||
| ], | ||
| "gitHead": "d7041d722670220288a98743c02810b000cf8020" | ||
| "gitHead": "555aa704d5ae959fe877e70bf4515de0494fdede" | ||
| } |
57860
-0.08%+ Added
- Removed