Skip to content

Commit 70baf0b

Browse files
committed
Update core documentation with npm package
1 parent 8241fbd commit 70baf0b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+65
-65
lines changed

docs/liberty/core/components/charts/bar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `BarChart` component is a customizable bar chart using Chart.js. It supports
2020

2121
## Example Usage
2222
```tsx
23-
import { BarChart } from "liberty-core";
23+
import { BarChart } from "@nomana-it/liberty-core"
2424

2525
const dataset = [
2626
{ month: "Jan", revenue: 10000, profit: 3000 },

docs/liberty/core/components/charts/line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `LineChart` component provides a customizable line chart using Chart.js. It
2020

2121
## Example Usage
2222
```tsx
23-
import { LineChart } from "liberty-core";
23+
import { LineChart } from "@nomana-it/liberty-core"
2424

2525
const dataset = [
2626
{ month: "Jan", sales: 100, revenue: 200 },

docs/liberty/core/components/charts/pie.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The `PieChart` component provides a customizable **Doughnut/Pie Chart** using Ch
1515

1616
## Example Usage
1717
```tsx
18-
import { PieChart } from "liberty-core";
18+
import { PieChart } from "@nomana-it/liberty-core"
1919

2020
const chartData = [
2121
{ value: 40, label: "Product A" },

docs/liberty/core/components/dialogs-overlays/confirmation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The `ConfirmationDialog` component provides a standard confirmation popup with c
1515

1616
## Example Usage
1717
```tsx
18-
import { ConfirmationDialog, Button } from "liberty-core";
18+
import { ConfirmationDialog, Button } from "@nomana-it/liberty-core"
1919
import { useState } from "react";
2020

2121
export const ConfirmationDialogExample = () => {

docs/liberty/core/components/dialogs-overlays/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `Dialog` component is a modal dialog that appears over the main content. It
2222

2323
## Example Usage
2424
```tsx
25-
import { Dialog, Button, Dialog_Title, Dialog_Content, Dialog_Actions } from "liberty-core";
25+
import { Dialog, Button, Dialog_Title, Dialog_Content, Dialog_Actions } from "@nomana-it/liberty-core"
2626
import { useState } from "react";
2727
import { t } from "i18next";
2828
import { LYCancelIcon } from "@ly_styles/icons";

docs/liberty/core/components/dialogs-overlays/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `DialogExport` component provides a modal dialog to select export options be
2727

2828
## Example Usage
2929
```tsx
30-
import { DialogExport, Button } from "liberty-core";
30+
import { DialogExport, Button } from "@nomana-it/liberty-core"
3131
import { useState } from "react";
3232
import { EExportType, IExportOptions } from "@ly_utils/commonUtils";
3333

docs/liberty/core/components/dialogs-overlays/popper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The `Popper` component provides a floating UI container that appears next to an
1717
## Example Usage
1818
```tsx
1919
import { useState } from "react";
20-
import { Popper, Button } from "liberty-core";
20+
import { Popper, Button } from "@nomana-it/liberty-core"
2121

2222
export const PopperExample = () => {
2323
const [anchorEl, setAnchorEl] = useState<HTMLElement | null>(null);

docs/liberty/core/components/dialogs-overlays/tabs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `Tabs` and `Tab` components allow navigation between different views or sett
2222

2323
## Example Usage
2424
```tsx
25-
import { Tab, Tabs } from "liberty-core";
25+
import { Tab, Tabs } from "@nomana-it/liberty-core"
2626
import { useState } from "react";
2727

2828
export const TabsExample = () => {

docs/liberty/core/components/forms-components/dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A dashboard consists of **header metadata** and **content components** that can
2626

2727
## Example Usage
2828
```tsx
29-
import { getDashboard } from "liberty-core";
29+
import { getDashboard } from "@nomana-it/liberty-core"
3030

3131
export const DashboardExample = async () => {
3232
const dashboard = await getDashboard(1);

docs/liberty/core/components/inputs-forms/checkbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `InputCheckbox` component is a reusable checkbox input with built-in state m
1818

1919
## Example Usage
2020
```tsx
21-
import { InputCheckbox } from "liberty-core";
21+
import { InputCheckbox } from "@nomana-it/liberty-core"
2222
import { useState } from "react";
2323

2424
export const InputCheckboxExample = () => {

docs/liberty/core/components/inputs-forms/color-picker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `InputColor` component allows users to select colors using an interactive co
1818

1919
## Example Usage
2020
```tsx
21-
import { InputColor } from "liberty-core";
21+
import { InputColor } from "@nomana-it/liberty-core"
2222
import { useState } from "react";
2323

2424
export const InputColorExample = () => {

docs/liberty/core/components/inputs-forms/date-picker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It supports:
2121

2222
## Example Usage
2323
```tsx
24-
import { DatePicker } from "liberty-core";
24+
import { DatePicker } from "@nomana-it/liberty-core"
2525
import dayjs, { Dayjs } from "dayjs";
2626
import { useState } from "react";
2727

docs/liberty/core/components/inputs-forms/enum.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The `InputEnum` component is an advanced dropdown that retrieves values dynamica
2929

3030
## Example Usage
3131
```tsx
32-
import { InputEnum } from "liberty-core";
32+
import { InputEnum } from "@nomana-it/liberty-core"
3333
import { useState } from "react";
3434

3535
export const InputEnumExample = () => {
@@ -58,7 +58,7 @@ export const InputEnumExample = () => {
5858
## Overriding the Default API
5959
You can override the default API and set custom content:
6060
```tsx
61-
import { setCustomGetEnums } from "liberty-core";
61+
import { setCustomGetEnums } from "@nomana-it/liberty-core"
6262

6363
const customEnumData = [{
6464
columns: [

docs/liberty/core/components/inputs-forms/file-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The `InputFile` component allows users to upload files via a button-based interf
1717

1818
## Example Usage
1919
```tsx
20-
import { InputFile } from "liberty-core";
20+
import { InputFile } from "@nomana-it/liberty-core"
2121
import { useRef } from "react";
2222

2323
export const InputFileExample = () => {

docs/liberty/core/components/inputs-forms/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The `Input` component is a reusable text input field supporting:
2828

2929
## Example Usage
3030
```tsx
31-
import { Input } from "liberty-core";
31+
import { Input } from "@nomana-it/liberty-core"
3232

3333
export const InputExample = () => {
3434
const [text, setText] = useState("");

docs/liberty/core/components/inputs-forms/select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The `Select` component provides a dropdown for selecting options, with support f
2929
## Example Usage
3030
```tsx
3131
import { useState } from "react";
32-
import { Select, MenuItem } from "liberty-core";
32+
import { Select, MenuItem } from "@nomana-it/liberty-core"
3333

3434
export const SelectExample = () => {
3535
const [value, setValue] = useState(null);

docs/liberty/core/components/main-components/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The `AppsContent` component is the **core layout container** for Liberty Core ap
1919

2020
## Example Usage
2121
```tsx
22-
import { AppProvider, AppsContent } from "liberty-core";
22+
import { AppProvider, AppsContent } from "@nomana-it/liberty-core"
2323

2424
export const MyApp = () => {
2525
return (

docs/liberty/core/components/main-components/header.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The `AppsHeader` component provides a standard header with multiple actions such
1919

2020
## Example Usage
2121
```tsx
22-
import { AppsHeader } from "liberty-core";
22+
import { AppsHeader } from "@nomana-it/liberty-core"
2323

2424
export const AppHeaderExample = () => {
2525
const onToggleMenusDrawer = () => {

docs/liberty/core/components/main-components/login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `AppsLogin` component provides the authentication interface for Liberty Core
1616

1717
## Example Usage
1818
```tsx
19-
import { AppProvider, AppsLogin } from "liberty-core";
19+
import { AppProvider, AppsLogin } from "@nomana-it/liberty-core"
2020

2121
export const MyApp = () => {
2222
return (

docs/liberty/core/components/main-components/menus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ By overriding `getMenus`, you can **customize navigation dynamically** based on:
9090

9191
## Example Usage
9292
```tsx
93-
import { AppsMenus } from "liberty-core";
93+
import { AppsMenus } from "@nomana-it/liberty-core"
9494

9595
<AppsMenus
9696
isOpen={true}

docs/liberty/core/components/main-components/users.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It supports:
2121
## Example Usage
2222
```tsx
2323
import React, { useState } from "react";
24-
import { AppsUser } from "liberty-core";
24+
import { AppsUser } from "@nomana-it/liberty-core"
2525
import { Button } from "@ly_common/Button";
2626

2727
export const UserSettingsDialogExample = () => {
@@ -52,7 +52,7 @@ By default, **AppsUser** retrieves user settings internally. However, you can ov
5252

5353
### **Example User Data**
5454
```tsx
55-
import { EUsers, IUsersProps, UIDisplayMode } from "liberty-core";
55+
import { EUsers, IUsersProps, UIDisplayMode } from "@nomana-it/liberty-core"
5656

5757
export const user = [
5858
{

docs/liberty/core/components/tables-lists/context-menus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The `Menu` component is a floating menu that appears next to an anchor element.
3232
## Example Usage
3333
```tsx
3434
import { useState } from "react";
35-
import { Menu, MenuItem, SubMenu, Popper, Divider, Button } from "liberty-core";
35+
import { Menu, MenuItem, SubMenu, Popper, Divider, Button } from "@nomana-it/liberty-core"
3636

3737
export const MenuExample = () => {
3838
const [anchorEl, setAnchorEl] = useState<HTMLElement | null>(null);

docs/liberty/core/components/tables-lists/grid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The `GridContainer` and `GridItem` components provide a **flexible grid layout**
2424

2525
## Example Usage
2626
```tsx
27-
import { GridContainer, GridItem } from "liberty-core";
27+
import { GridContainer, GridItem } from "@nomana-it/liberty-core"
2828

2929
export const GridExample = () => {
3030
return (

docs/liberty/core/components/tables-lists/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ListItemButton,
4747
ListItemIcon,
4848
ListItemText,
4949
Collapse
50-
} from "liberty-core";
50+
} from "@nomana-it/liberty-core"
5151
import { LYReactIcon } from "@ly_styles/icons";
5252
import { LYHomeIcon, LYSettingsIcon, LYMenusExpandMoreIcon, LYMenusExpandLessIcon } from "@ly_styles/icons";
5353
import { useState, Fragment } from "react";

docs/liberty/core/components/tables-lists/table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The `Table` component provides a structured way to display data in rows and colu
3737

3838
## Example Usage
3939
```tsx
40-
import { Table, TableHead, TableBody, TableRow, TableCell, TableSortLabel } from "liberty-core";
40+
import { Table, TableHead, TableBody, TableRow, TableCell, TableSortLabel } from "@nomana-it/liberty-core"
4141
import { useState } from "react";
4242

4343
export const TableExample = () => {

docs/liberty/core/components/tables-lists/tree.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `Tree` component is used to display hierarchical data in an expandable and c
1414

1515
## Example Usage
1616
```tsx
17-
import { Tree } from "liberty-core";
17+
import { Tree } from "@nomana-it/liberty-core"
1818

1919
const treeData = [
2020
{ id: "1", label: "Root", children: [

docs/liberty/core/components/ui-elements/alert-message.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The `AlertMessage` component is a wrapper around the `Alert` component that prov
1717

1818
## Example Usage
1919
```tsx
20-
import { AlertMessage } from "liberty-core";
20+
import { AlertMessage } from "@nomana-it/liberty-core"
2121
import { useState } from "react";
2222

2323
export const AlertMessageExample = () => {

docs/liberty/core/components/ui-elements/alert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The `Alert` component provides a styled alert message with various severity leve
1212

1313
## Example Usage
1414
```tsx
15-
import { Alert } from "liberty-core";
15+
import { Alert } from "@nomana-it/liberty-core"
1616

1717
export const AlertExample = () => {
1818
return (

docs/liberty/core/components/ui-elements/button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It supports different styles, icons, full-width mode, and disabled states.
2121

2222
## Example Usage
2323
```tsx
24-
import { Button } from "liberty-core";
24+
import { Button } from "@nomana-it/liberty-core"
2525
import { FaCheck } from "react-icons/fa";
2626

2727
export const ButtonExample = () => {

docs/liberty/core/components/ui-elements/card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The `Card` component is a versatile container that can display structured conten
3535

3636
## Example Usage
3737
```tsx
38-
import { Card, CardHeader, CardContent, CardActionArea, CardActions, Button } from "liberty-core";
38+
import { Card, CardHeader, CardContent, CardActionArea, CardActions, Button } from "@nomana-it/liberty-core"
3939

4040
export const CardExample = () => {
4141
return (

docs/liberty/core/components/ui-elements/checkbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `Checkbox` component is a custom-styled checkbox that supports indeterminate
1414

1515
## Example Usage
1616
```tsx
17-
import { Checkbox } from "liberty-core";
17+
import { Checkbox } from "@nomana-it/liberty-core"
1818

1919
export const CheckboxExample = () => {
2020
return (

docs/liberty/core/components/ui-elements/circular-progress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `CircularProgress` component displays a rotating loader, commonly used to in
1414

1515
## Example Usage
1616
```tsx
17-
import { CircularProgress } from "liberty-core";
17+
import { CircularProgress } from "@nomana-it/liberty-core"
1818

1919
export const CircularProgressExample = () => {
2020
return (

docs/liberty/core/components/ui-elements/collapse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The `Collapse` component allows content to expand and collapse smoothly with an
1212

1313
## Example Usage
1414
```tsx
15-
import { Collapse, Button } from "liberty-core";
15+
import { Collapse, Button } from "@nomana-it/liberty-core"
1616
import { useState } from "react";
1717

1818
export const CollapseExample = () => {

docs/liberty/core/components/ui-elements/divider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The `Divider` component is used to separate content with a thin line. It can be
1313

1414
## Example Usage
1515
```tsx
16-
import { Divider } from "liberty-core";
16+
import { Divider } from "@nomana-it/liberty-core"
1717

1818
export const DividerExample = () => {
1919
return (

docs/liberty/core/components/ui-elements/flex-advanced.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# AdvancedFlexPanels Component
22

33
## Description
4-
The \`AdvancedFlexPanels\` component is a **bi-dimensional, resizable** layout system that allows for:
4+
The `AdvancedFlexPanels` component is a **bi-dimensional, resizable** layout system that allows for:
55
- **Dynamic resizing of both rows and columns**
66
- **Drag-and-drop reordering of child elements**
77
- **Smooth animations for user interactions**
88

99
## Props
1010
| Prop | Type | Default | Description |
1111
|-------------|-------------------------|---------|-------------|
12-
| \`rows\` | \`number\` | \`2\` | Number of rows in the layout. |
13-
| \`columns\` | \`number\` | \`2\` | Number of columns in each row. |
14-
| \`children\` | \`ReactNode[][]\` | \`-\` | Bi-dimensional array of child components. |
12+
| `rows` | `number` | `2` | Number of rows in the layout. |
13+
| `columns` | `number` | `2` | Number of columns in each row. |
14+
| `children` | `ReactNode[][]` | `-` | Bi-dimensional array of child components. |
1515

1616
## Example Usage
17-
\`\`\`tsx
18-
import { AdvancedFlexPanels } from "liberty-core";
17+
```tsx
18+
import { AdvancedFlexPanels } from "@nomana-it/liberty-core"
1919

2020
export const AdvancedFlexPanelsExample = () => {
2121
return (
@@ -33,7 +33,7 @@ export const AdvancedFlexPanelsExample = () => {
3333
</AdvancedFlexPanels>
3434
);
3535
};
36-
\`\`\`
36+
```
3737

3838
## Useful Links
3939
🔗 **GitHub Repository (Core):** [Liberty Core](https://github.com/fblettner/liberty-core/)

docs/liberty/core/components/ui-elements/flex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The `FlexPanels` component is a flexible, resizable layout container that allows
1313

1414
## Example Usage
1515
```tsx
16-
import { FlexPanels } from "liberty-core";
16+
import { FlexPanels } from "@nomana-it/liberty-core"
1717

1818
export const FlexPanelsExample = () => {
1919
return (

docs/liberty/core/components/ui-elements/icon-button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `IconButton` component is a button wrapper specifically for **icons**, offer
1818

1919
## Example Usage
2020
```tsx
21-
import { IconButton } from "liberty-core";
21+
import { IconButton } from "@nomana-it/liberty-core"
2222
import { LYThumbUpIcon, LYThumbDownOffIcon } from "@ly_styles/icons";
2323

2424
export const IconButtonExample = () => {

docs/liberty/core/components/ui-elements/loading-indicator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The `LoadingIndicator` component provides a visual loading state indicator with
1212

1313
## Example Usage
1414
```tsx
15-
import { LoadingIndicator } from "liberty-core";
15+
import { LoadingIndicator } from "@nomana-it/liberty-core"
1616

1717
export const LoadingIndicatorExample = () => {
1818
return (

docs/liberty/core/components/ui-elements/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `MarkDown` component renders markdown content and supports syntax highlighti
1111

1212
## Example Usage
1313
```tsx
14-
import { MarkDown } from "liberty-core";
14+
import { MarkDown } from "@nomana-it/liberty-core"
1515

1616
const markdownText = `
1717
# Sample Markdown

0 commit comments

Comments
 (0)