@fils/sanity-components 0.0.4 → 0.0.5

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/lib/main.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './components/core/SEOImage';
1
2
  export * from './components/core/SEO';
2
3
  export * from './config/utils';
3
4
  export * from './validators/utils';
package/lib/main.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './components/core/SEOImage';
1
2
  export * from './components/core/SEO';
2
3
  export * from './config/utils';
3
4
  export * from './validators/utils';
@@ -1,2 +1,6 @@
1
1
  import { Rule } from "sanity";
2
+ /**
3
+ * Deprecated use Sanity's Rule.uri instead!!
4
+ * @returns regexp url validator
5
+ */
2
6
  export declare function urlValidation(): (rule: Rule) => Rule;
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Deprecated use Sanity's Rule.uri instead!!
3
+ * @returns regexp url validator
4
+ */
1
5
  export function urlValidation() {
2
6
  return (rule) => rule.custom((url) => {
3
7
  if (typeof url === 'undefined' || url === null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fils/sanity-components",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Fil's Components for Sanity Back-Ends",
5
5
  "main": "lib/main.js",
6
6
  "repository": "git@github.com:fil-studio/fils.git",