{"id":25726915,"url":"https://github.com/fblettner/liberty-test","last_synced_at":"2025-07-22T18:35:53.028Z","repository":{"id":277396895,"uuid":"932298540","full_name":"fblettner/liberty-test","owner":"fblettner","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-24T15:25:14.000Z","size":12957,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T21:47:53.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fblettner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-13T17:30:37.000Z","updated_at":"2025-02-24T15:25:18.000Z","dependencies_parsed_at":"2025-02-13T18:48:18.264Z","dependency_job_id":null,"html_url":"https://github.com/fblettner/liberty-test","commit_stats":null,"previous_names":["fblettner/liberty-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fblettner/liberty-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fblettner%2Fliberty-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fblettner%2Fliberty-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fblettner%2Fliberty-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fblettner%2Fliberty-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fblettner","download_url":"https://codeload.github.com/fblettner/liberty-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fblettner%2Fliberty-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266552761,"owners_count":23947184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T23:27:53.600Z","updated_at":"2025-07-22T18:35:53.003Z","avatar_url":"https://github.com/fblettner.png","language":"TypeScript","funding_links":["https://github.com/sponsors/fblettner"],"categories":[],"sub_categories":[],"readme":"# **Liberty Core**\n\n## **Overview**\n**Liberty Core** is a reusable component library designed for React applications. It provides a collection of UI components, utilities, and styles to streamline development. This package includes pre-styled components, utility functions, and common types, making it an essential part of the Liberty Framework.\nThis repository contains an application for testing all components and how to use them\n\n## **Features**\n- 🎨 **Theme \u0026 Styling**: Centralized theme management.\n- 🏗️ **Prebuilt UI Components**: Includes buttons, dialogs, typography, tables, alerts, and more.\n- ⚙️ **Utility Functions**: Common helper functions for improved developer experience.\n- 🛠️ **Type Definitions**: Predefined TypeScript types for consistent data handling.\n- 🔌 **Easy Integration**: Works seamlessly with any React project.\n\n## Try It Online!\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/~/github.com/fblettner/liberty-test)\n\n## **Installation**\nTo install **Liberty Core**, run the following command:\n\n```sh\nnpm install liberty-core\n```\n\nor with Yarn:\n\n```sh\nyarn add liberty-core\n```\n\n## **Usage**\n\n### **1. Import Components**\nYou can import and use any component from **Liberty Core** directly in your React app:\n\n```tsx\nimport { Button, Dialog, Alert } from \"liberty-core\";\n\nconst App = () =\u003e {\n  return (\n    \u003cdiv\u003e\n      \u003cAlert variant=\"success\"\u003eThis is a success alert!\u003c/Alert\u003e\n      \u003cButton onClick={() =\u003e console.log(\"Clicked!\")}\u003eClick Me\u003c/Button\u003e\n      \u003cDialog title=\"Example Dialog\"\u003eThis is a sample dialog.\u003c/Dialog\u003e\n    \u003c/div\u003e\n  );\n};\n\nexport default App;\n```\n\n### **2. Theming**\nLiberty Core provides a customizable theme. Wrap your application in a `ThemeProvider` to apply the default or custom theme:\n\n```tsx\nimport { ThemeProvider, theme } from \"liberty-core\";\n\nconst App = () =\u003e {\n  return (\n    \u003cThemeProvider theme={theme}\u003e\n      \u003cYourAppComponents /\u003e\n    \u003c/ThemeProvider\u003e\n  );\n};\n```\n\n### **3. Utility Functions**\nLiberty Core includes common utility functions that can be used across your application:\n\n```tsx\nimport { formatDate } from \"liberty-core\";\n\nconst date = formatDate(new Date());\nconsole.log(date); // Output: Formatted date\n```\n\n## **Available Components**\nLiberty Core exports various components categorized as **styles**, **common components**, and **utilities**.\n\n### **🖌 Styles**\n```ts\nimport {\n  theme, icons, Button, Dialog, Div, IconButton, Main, Menus, Paper, Stack, Typography\n} from \"liberty-core\";\n```\n\n### **📦 Common Components**\n```ts\nimport {\n  Alert, AlertMessage, Button, Card, Checkbox, CircularProgress, Collapse,\n  ConfirmationDialog, Dialog, Divider, Flex, FlexAdvanced, Grid, IconButton,\n  Input, List, LoadingIndicator, MarkDown, Menus, Popper, Select, Skeleton,\n  SnackMessage, Tab, Table, Toggle, Tooltip, Tree, Typography, UseMediaQuery\n} from \"liberty-core\";\n```\n\n### **⚙️ Utility Functions \u0026 Types**\n```ts\nimport { commonUtils } from \"liberty-core\";\nimport { commonTypes } from \"liberty-core\";\n```\n\n## **License**\nliberty-core is **open-source software** licensed under the **AGPL License**.  \n```\nCopyright (c) 2025 NOMANA-IT and/or its affiliates.\nAll rights reserved. Use is subject to license terms.\n```\n\n## 📧 Contact \u0026 Support  \nIf you have questions or need support:  \n- **Email**: [franck.blettner@nomana-it.fr](mailto:franck.blettner@nomana-it.fr)  \n- **GitHub Issues**: [Report an issue](https://github.com/fblettner/liberty-core/issues)  \n- **Discussions**: Join the conversation in the **GitHub Discussions** section.  \n\n---\n\n### ⭐ If you find Liberty Core useful, consider giving it a star on GitHub!  \n```bash\ngit clone https://github.com/fblettner/liberty-core.git\ncd liberty-core\n```\n\n---\n\n## 💖 Sponsorship  \nIf you find **Liberty Core** useful and would like to support its development, consider sponsoring us. Your contributions help maintain the project, add new features, and improve the documentation. Every contribution, big or small, is greatly appreciated!  \n\nTo sponsor, visit: **[GitHub Sponsors](https://github.com/sponsors/fblettner)** or reach out to us directly.  \n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffblettner%2Fliberty-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffblettner%2Fliberty-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffblettner%2Fliberty-test/lists"}