@rxdrag/website-lib-core 0.0.90 → 0.0.92

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/website-lib-core",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -36,8 +36,8 @@
36
36
  "lodash-es": "^4.17.21",
37
37
  "react": "^19.1.0",
38
38
  "react-dom": "^19.1.0",
39
- "@rxdrag/entify-lib": "0.0.23",
40
- "@rxdrag/rxcms-models": "0.3.94"
39
+ "@rxdrag/rxcms-models": "0.3.94",
40
+ "@rxdrag/entify-lib": "0.0.23"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "astro": "^4.0.0 || ^5.0.0"
@@ -36,6 +36,7 @@ export const ReactVideoPlayer = forwardRef<HTMLDivElement, {
36
36
  classNames,
37
37
  callToAction,
38
38
  designMode,
39
+ ...rest
39
40
  } = props;
40
41
  const videoRef = useRef<HTMLVideoElement>(null);
41
42
  const hlsRef = useRef<Hls | null>(null);
@@ -143,6 +144,7 @@ export const ReactVideoPlayer = forwardRef<HTMLDivElement, {
143
144
  ref={ref}
144
145
  className={clsx("relative w-full aspect-video rounded-2xl", classNames?.container)}
145
146
  onClick={handleContainerClick}
147
+ {...rest}
146
148
  >
147
149
  <video
148
150
  ref={videoRef}
@@ -169,20 +171,20 @@ export const ReactVideoPlayer = forwardRef<HTMLDivElement, {
169
171
  >
170
172
  <div
171
173
  className={clsx(
172
- "flex items-center justify-center size-[90px] lg:size-[130px] bg-white/15 rounded-full backdrop-blur-sm hover:shadow-md transition-all duration-300 hover:scale-110 group",
174
+ "flex items-center justify-center size-[80px] lg:size-[130px] bg-white/15 rounded-full backdrop-blur-sm hover:shadow-md transition-all duration-300 hover:scale-110 group",
173
175
  classNames?.playButtonOuter
174
176
  )}
175
177
  >
176
178
  <div
177
179
  className={clsx(
178
- "size-[60px] lg:size-[90px] bg-white relative overflow-hidden rounded-full",
180
+ "size-[50px] lg:size-[90px] bg-white relative overflow-hidden rounded-full",
179
181
  classNames?.playButtonInner
180
182
  )}
181
183
  >
182
184
  <div className="absolute inset-0 cross-gradient box-shadow-1">
183
185
  <div className="w-full h-full flex items-center justify-center">
184
186
  <svg
185
- className={clsx("size-6 lg:size-8 text-gray-700", classNames?.playIcon)}
187
+ className={clsx("size-5 lg:size-8 text-gray-700", classNames?.playIcon)}
186
188
  viewBox="0 0 30 32"
187
189
  fill="currentColor"
188
190
  xmlns="http://www.w3.org/2000/svg"