@octaviaflow/core 3.1.0-beta.55 → 3.1.0-beta.57

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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The chain of paths from the root down to (and including) `path`.
3
+ * e.g. ancestorsOf("/a/b", "/", "/") → ["/", "/a", "/a/b"].
4
+ */
5
+ export declare function ancestorsOf(path: string, rootPath: string, sep: string): string[];
6
+ /** The parent folder of `path`, or `null` at the root. */
7
+ export declare function parentOf(path: string, rootPath: string, sep: string): string | null;
8
+ /** The final segment of `path` (its display name). */
9
+ export declare function baseName(path: string, sep: string): string;
10
+ //# sourceMappingURL=filePath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filePath.d.ts","sourceRoot":"","sources":["../../src/utils/filePath.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAWjF;AAED,0DAA0D;AAC1D,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAInF;AAED,sDAAsD;AACtD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAE1D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octaviaflow/core",
3
- "version": "3.1.0-beta.55",
3
+ "version": "3.1.0-beta.57",
4
4
  "description": "OctaviaFlow Design System React components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",