node-karin 1.3.11 → 1.3.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.3.12](https://github.com/KarinJS/Karin/compare/core-v1.3.11...core-v1.3.12) (2025-02-15)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * 组件分隔线适配描述文本 ([cedff08](https://github.com/KarinJS/Karin/commit/cedff082a8b1b4a169640f3e812d13f646a2cfbb))
9
+
3
10
  ## [1.3.11](https://github.com/KarinJS/Karin/compare/core-v1.3.10...core-v1.3.11) (2025-02-15)
4
11
 
5
12
 
package/dist/index.d.ts CHANGED
@@ -7513,9 +7513,9 @@ declare const copyFilesSync: (files: string[], defaulPath: string, userPath: str
7513
7513
  declare const copyFiles: (files: string[], defaulPath: string, userPath: string) => Promise<void>;
7514
7514
  /**
7515
7515
  * 创建配置文件 同步
7516
- * @description 从模板配置文件复制到用户配置文件
7516
+ * @description 从模板配置文件复制到目标文件夹
7517
7517
  * @param defaulPath 模板配置文件路径
7518
- * @param userPath 用户配置文件路径
7518
+ * @param userPath 目标文件夹路径
7519
7519
  * @param suffixs 需要复制的文件后缀 可带点
7520
7520
  * @param isThrow 是否抛出异常 默认不抛出
7521
7521
  * @returns 是否复制成功
@@ -9477,7 +9477,7 @@ declare const setEnv: (data: Record<string, any>) => boolean;
9477
9477
  * @public 公开Api
9478
9478
  * @description 获取.env文件内容
9479
9479
  */
9480
- declare const getEnv: (filePath: string) => Record<string, {
9480
+ declare const getEnv: (filePath?: string) => Record<string, {
9481
9481
  /** 值 */
9482
9482
  value: string;
9483
9483
  /** 注释 */
@@ -10279,6 +10279,8 @@ interface DividerProps extends ComponentProps {
10279
10279
  transparent?: boolean;
10280
10280
  /** 方向 */
10281
10281
  orientation?: 'horizontal' | 'vertical';
10282
+ /** 描述文本位置 0-100的数字 */
10283
+ descPosition?: number;
10282
10284
  }
10283
10285
 
10284
10286
  /**
package/dist/index.js CHANGED
@@ -2261,7 +2261,7 @@ ${key}="${value.value}"`).join("\n");
2261
2261
  return false;
2262
2262
  }
2263
2263
  };
2264
- getEnv = (filePath) => {
2264
+ getEnv = (filePath = path7.join(process.cwd(), ".env")) => {
2265
2265
  const data = requireFileSync(filePath, { parser });
2266
2266
  return data;
2267
2267
  };
@@ -0,0 +1 @@
1
+ import{d as a}from"./index-DWR0WNwJ.js";var r=a;export{r as default};