@windrun-huaiin/third-ui 11.0.2 → 11.0.3

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.
@@ -11,7 +11,7 @@ function FumaBannerSuit(_a) {
11
11
  const heightValue = showBanner ? 3 : 0.5;
12
12
  const height = `${heightValue}rem`;
13
13
  const bannerText = t('banner');
14
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: showBanner ? (jsxRuntime.jsx(banner.Banner, { variant: "rainbow", changeLayout: true, height: heightValue, floating: floating, children: jsxRuntime.jsx("p", { className: "text-xl", children: bannerText }) })) : (jsxRuntime.jsx("div", { className: "m-0 rounded-none bg-neutral-100 dark:bg-neutral-900", style: {
14
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: showBanner ? (jsxRuntime.jsx(banner.Banner, { variant: "rainbow", changeLayout: true, height: heightValue, floating: floating, children: jsxRuntime.jsx("p", { className: "text-sm sm:text-xl md:text-xl", children: bannerText }) })) : (jsxRuntime.jsx("div", { className: "m-0 rounded-none bg-neutral-100 dark:bg-neutral-900", style: {
15
15
  position: floating ? 'fixed' : 'relative',
16
16
  top: floating ? 0 : undefined,
17
17
  left: floating ? 0 : undefined,
@@ -9,7 +9,7 @@ function FumaBannerSuit(_a) {
9
9
  const heightValue = showBanner ? 3 : 0.5;
10
10
  const height = `${heightValue}rem`;
11
11
  const bannerText = t('banner');
12
- return (jsx(Fragment, { children: showBanner ? (jsx(Banner, { variant: "rainbow", changeLayout: true, height: heightValue, floating: floating, children: jsx("p", { className: "text-xl", children: bannerText }) })) : (jsx("div", { className: "m-0 rounded-none bg-neutral-100 dark:bg-neutral-900", style: {
12
+ return (jsx(Fragment, { children: showBanner ? (jsx(Banner, { variant: "rainbow", changeLayout: true, height: heightValue, floating: floating, children: jsx("p", { className: "text-sm sm:text-xl md:text-xl", children: bannerText }) })) : (jsx("div", { className: "m-0 rounded-none bg-neutral-100 dark:bg-neutral-900", style: {
13
13
  position: floating ? 'fixed' : 'relative',
14
14
  top: floating ? 0 : undefined,
15
15
  left: floating ? 0 : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/third-ui",
3
- "version": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "description": "Third-party integrated UI components for windrun-huaiin projects",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -81,8 +81,8 @@
81
81
  "react-medium-image-zoom": "^5.2.14",
82
82
  "swiper": "^12.0.3",
83
83
  "zod": "^4.1.12",
84
- "@windrun-huaiin/lib": "^11.0.1",
85
- "@windrun-huaiin/base-ui": "^11.0.1"
84
+ "@windrun-huaiin/base-ui": "^11.0.1",
85
+ "@windrun-huaiin/lib": "^11.0.1"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "clsx": "^2.1.1",
@@ -23,7 +23,7 @@ export async function FumaBannerSuit({
23
23
  height={heightValue}
24
24
  floating={floating}
25
25
  >
26
- <p className="text-xl">{bannerText}</p>
26
+ <p className="text-sm sm:text-xl md:text-xl">{bannerText}</p>
27
27
  </Banner>
28
28
  ) : (
29
29
  <div