diff --git a/package-lock.json b/package-lock.json index 68f9bda..faeceae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12386,6 +12386,126 @@ "dependencies": { "@types/react": "*" } + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.4.tgz", + "integrity": "sha512-ubmUkbmW65nIAOmoxT1IROZdmmJMmdYvXIe8211send9ZYJu+SqxSnJM4TrPj9wmL6g9Atvj0S/2cFmMSS99jg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz", + "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz", + "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz", + "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz", + "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz", + "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz", + "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-ia32-msvc": { + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz", + "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } } } } diff --git a/packages/filigran-icon/assets/delete.svg b/packages/filigran-icon/assets/delete.svg new file mode 100644 index 0000000..e763b51 --- /dev/null +++ b/packages/filigran-icon/assets/delete.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/packages/filigran-icon/src/Delete.tsx b/packages/filigran-icon/src/Delete.tsx new file mode 100644 index 0000000..5eee1e9 --- /dev/null +++ b/packages/filigran-icon/src/Delete.tsx @@ -0,0 +1,42 @@ +import * as React from "react"; +import type { SVGProps } from "react"; +interface SVGRProps { + title?: string; + titleId?: string; +} +const SvgDelete = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + + + + + + +); +export default SvgDelete; diff --git a/packages/filigran-icon/src/index.ts b/packages/filigran-icon/src/index.ts index 7f3ee00..43e259d 100644 --- a/packages/filigran-icon/src/index.ts +++ b/packages/filigran-icon/src/index.ts @@ -20,6 +20,7 @@ export const CourseOfActionIcon = lazy(() => import("./CourseOfAction")); export const DashboardIcon = lazy(() => import("./Dashboard")); export const DataSourceIcon = lazy(() => import("./DataSource")); export const DatabaseOutline1Icon = lazy(() => import("./DatabaseOutline1")); +export const DeleteIcon = lazy(() => import("./Delete")); export const EventIcon = lazy(() => import("./Event")); export const ExternalReferenceIcon = lazy(() => import("./ExternalReference")); export const GlobeLine1Icon = lazy(() => import("./GlobeLine1")); diff --git a/packages/filigran-ui/src/plugin.ts b/packages/filigran-ui/src/plugin.ts index a36ba50..89ae8ee 100644 --- a/packages/filigran-ui/src/plugin.ts +++ b/packages/filigran-ui/src/plugin.ts @@ -4,7 +4,6 @@ const FiligranUIPlugin = () => { return plugin( ({ addUtilities, addComponents }) => { }, - // extend the colors config { darkMode: ['class'], theme: { @@ -70,6 +69,15 @@ const FiligranUIPlugin = () => { 'accordion-down': 'accordion-down 0.2s ease-out', 'accordion-up': 'accordion-up 0.2s ease-out', }, + spacing: { + 'xxs': '0.125rem', + 'xs': '0.25rem', + 's': '0.5rem', + 'm': '0.75rem', + 'l': '1rem', + 'xl': '1.5rem', + 'xxl': '2rem' + } }, }, }, diff --git a/projects/filigran-website/content/docs/fondations/index.mdx b/projects/filigran-website/content/docs/fondations/index.mdx new file mode 100644 index 0000000..1ae1107 --- /dev/null +++ b/projects/filigran-website/content/docs/fondations/index.mdx @@ -0,0 +1,3 @@ +--- +title: Fondations +--- diff --git a/projects/filigran-website/content/docs/fondations/spacing.mdx b/projects/filigran-website/content/docs/fondations/spacing.mdx new file mode 100644 index 0000000..f187bd4 --- /dev/null +++ b/projects/filigran-website/content/docs/fondations/spacing.mdx @@ -0,0 +1,36 @@ +--- +title: Spacing +--- + +# Spacing + +
+
+ Spacing-xxs +
+
+
+ Spacing-xs +
+
+
+ Spacing-s +
+
+
+ Spacing-m +
+
+
+ Spacing-l +
+
+
+ Spacing-xl +
+
+
+ Spacing-xxl +
+
+