@rxdrag/website-lib-core 0.0.116 → 0.0.117

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.116",
3
+ "version": "0.0.117",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -24,9 +24,9 @@
24
24
  "@types/react-dom": "^19.1.0",
25
25
  "eslint": "^7.32.0",
26
26
  "typescript": "^5",
27
- "@rxdrag/tsconfig": "0.2.0",
27
+ "@rxdrag/slate-preview": "1.2.63",
28
28
  "@rxdrag/eslint-config-custom": "0.2.12",
29
- "@rxdrag/slate-preview": "1.2.63"
29
+ "@rxdrag/tsconfig": "0.2.0"
30
30
  },
31
31
  "dependencies": {
32
32
  "@iconify/utils": "^3.0.2",
@@ -34,8 +34,8 @@
34
34
  "gsap": "^3.12.7",
35
35
  "hls.js": "^1.6.13",
36
36
  "lodash-es": "^4.17.21",
37
- "@rxdrag/entify-lib": "0.0.23",
38
- "@rxdrag/rxcms-models": "0.3.96"
37
+ "@rxdrag/rxcms-models": "0.3.96",
38
+ "@rxdrag/entify-lib": "0.0.23"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "astro": "^4.0.0 || ^5.0.0",
@@ -22,6 +22,7 @@ export type MediasProps = {
22
22
  arrowButton?: string;
23
23
  arrowIcon?: string;
24
24
  playButton?: string;
25
+ navigationInner?: string;
25
26
  };
26
27
  };
27
28
 
@@ -46,6 +47,7 @@ export const Medias = forwardRef<HTMLDivElement, MediasProps>((props, ref) => {
46
47
  arrowButton,
47
48
  arrowIcon,
48
49
  playButton,
50
+ navigationInner,
49
51
  } = classNames || {};
50
52
  const [selectedId, setSelectedId] = useState<string | undefined | null>(
51
53
  value?.[0]?.id || ""
@@ -122,7 +124,10 @@ export const Medias = forwardRef<HTMLDivElement, MediasProps>((props, ref) => {
122
124
  selectedId={selectedId}
123
125
  aspect={aspect}
124
126
  enableZoom={enableZoom}
125
- className={clsx(isVerticalThumbs ? "w-full md:flex-1" : "w-full", mainArea)}
127
+ className={clsx(
128
+ isVerticalThumbs ? "w-full md:flex-1" : "w-full",
129
+ mainArea
130
+ )}
126
131
  arrowButtonClass={arrowButton}
127
132
  arrowIconClass={arrowIcon}
128
133
  playButtonClass={playButton}
@@ -137,7 +142,9 @@ export const Medias = forwardRef<HTMLDivElement, MediasProps>((props, ref) => {
137
142
  <div
138
143
  className={clsx(
139
144
  "relative group/thumbs",
140
- isVerticalThumbs ? "w-full mt-4 md:w-24 md:h-full md:px-1" : "w-full mt-4",
145
+ isVerticalThumbs
146
+ ? "w-full mt-4 md:w-24 md:h-full md:px-1"
147
+ : "w-full mt-4",
141
148
  navigation
142
149
  )}
143
150
  >
@@ -192,6 +199,7 @@ export const Medias = forwardRef<HTMLDivElement, MediasProps>((props, ref) => {
192
199
  <div
193
200
  className={clsx(
194
201
  "gap-1 md:gap-3",
202
+ navigationInner,
195
203
  isVerticalThumbs ? "grid md:flex md:flex-col" : "grid"
196
204
  )}
197
205
  style={{