Skip to content

Commit

Permalink
refactor: split package into core and pro
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed May 2, 2024
1 parent 5dec24b commit b161257
Show file tree
Hide file tree
Showing 37 changed files with 1,146 additions and 8,037 deletions.
2 changes: 1 addition & 1 deletion dev/kitchen-sink/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState } from 'react';
import '../../packages/react-components/css/lumo/Typography.css';
import { AppLayout } from '../../packages/react-components/src/AppLayout.js';
import { Avatar } from '../../packages/react-components/src/Avatar.js';
import { Board } from '../../packages/react-components/src/Board.js';
import { Board } from '../../packages/react-components-pro/src/Board.js';
import { Button } from '../../packages/react-components/src/Button.js';
import { DrawerToggle } from '../../packages/react-components/src/DrawerToggle.js';
import { Notification } from '../../packages/react-components/src/Notification.js';
Expand Down
6 changes: 3 additions & 3 deletions dev/kitchen-sink/Row1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { Accordion } from '../../packages/react-components/src/Accordion.js';
import { AccordionHeading } from '../../packages/react-components/src/AccordionHeading.js';
import { AccordionPanel } from '../../packages/react-components/src/AccordionPanel.js';
import { AvatarGroup } from '../../packages/react-components/src/AvatarGroup.js';
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { Chart } from '../../packages/react-components/src/Chart.js';
import { ChartSeries } from '../../packages/react-components/src/ChartSeries.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { Chart } from '../../packages/react-components-pro/src/Chart.js';
import { ChartSeries } from '../../packages/react-components-pro/src/ChartSeries.js';

export default function Row1() {
return (
Expand Down
2 changes: 1 addition & 1 deletion dev/kitchen-sink/Row10.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { Tab } from '../../packages/react-components/src/Tab.js';
import { Tabs } from '../../packages/react-components/src/Tabs.js';
import { tab, TabSheet } from '../../packages/react-components/src/TabSheet.js';
Expand Down
2 changes: 1 addition & 1 deletion dev/kitchen-sink/Row2.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { Checkbox } from '../../packages/react-components/src/Checkbox.js';
import { CheckboxGroup } from '../../packages/react-components/src/CheckboxGroup.js';
import { ComboBox } from '../../packages/react-components/src/ComboBox.js';
Expand Down
6 changes: 3 additions & 3 deletions dev/kitchen-sink/Row3.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { Checkbox } from '../../packages/react-components/src/Checkbox.js';
import { ComboBox } from '../../packages/react-components/src/ComboBox.js';
import { ContextMenu } from '../../packages/react-components/src/ContextMenu.js';
import { CookieConsent } from '../../packages/react-components/src/CookieConsent.js';
import { Crud, crudPath } from '../../packages/react-components/src/Crud.js';
import { CookieConsent } from '../../packages/react-components-pro/src/CookieConsent.js';
import { Crud, crudPath } from '../../packages/react-components-pro/src/Crud.js';
import { FormLayout } from '../../packages/react-components/src/FormLayout.js';
import { Item } from '../../packages/react-components/src/Item.js';
import { ListBox } from '../../packages/react-components/src/ListBox.js';
Expand Down
2 changes: 1 addition & 1 deletion dev/kitchen-sink/Row4.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { CustomField } from '../../packages/react-components/src/CustomField.js';
import { DatePicker } from '../../packages/react-components/src/DatePicker.js';
import { DateTimePicker } from '../../packages/react-components/src/DateTimePicker.js';
Expand Down
6 changes: 3 additions & 3 deletions dev/kitchen-sink/Row5.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { CSSProperties } from 'react';
import { TextField } from '../../packages/react-components/src/TextField.js';
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { Grid, type GridDataProvider } from '../../packages/react-components/src/Grid.js';
import { GridColumn } from '../../packages/react-components/src/GridColumn.js';
import { GridColumnGroup } from '../../packages/react-components/src/GridColumnGroup.js';
import { GridFilterColumn } from '../../packages/react-components/src/GridFilterColumn.js';
import { GridPro } from '../../packages/react-components/src/GridPro.js';
import { GridProEditColumn } from '../../packages/react-components/src/GridProEditColumn.js';
import { GridPro } from '../../packages/react-components-pro/src/GridPro.js';
import { GridProEditColumn } from '../../packages/react-components-pro/src/GridProEditColumn.js';
import { GridSortColumn } from '../../packages/react-components/src/GridSortColumn.js';
import { GridTreeColumn } from '../../packages/react-components/src/GridTreeColumn.js';
import type { GridBodyReactRendererProps } from '../../packages/react-components/src/renderers/grid.js';
Expand Down
2 changes: 1 addition & 1 deletion dev/kitchen-sink/Row6.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { HorizontalLayout } from '../../packages/react-components/src/HorizontalLayout.js';
import { Icon } from '../../packages/react-components/src/Icon.js';
import { Iconset } from '../../packages/react-components/src/Iconset.js';
Expand Down
2 changes: 1 addition & 1 deletion dev/kitchen-sink/Row7.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { Message } from '../../packages/react-components/src/Message.js';
import { MessageInput } from '../../packages/react-components/src/MessageInput.js';
import { MessageList } from '../../packages/react-components/src/MessageList.js';
Expand Down
4 changes: 2 additions & 2 deletions dev/kitchen-sink/Row8.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { Item } from '../../packages/react-components/src/Item.js';
import { ListBox } from '../../packages/react-components/src/ListBox.js';
import { RadioButton } from '../../packages/react-components/src/RadioButton.js';
import { RadioGroup } from '../../packages/react-components/src/RadioGroup.js';
import { RichTextEditor } from '../../packages/react-components/src/RichTextEditor.js';
import { RichTextEditor } from '../../packages/react-components-pro/src/RichTextEditor.js';
import { Select } from '../../packages/react-components/src/Select.js';
import { Tooltip } from '../../packages/react-components/src/Tooltip.js';

Expand Down
2 changes: 1 addition & 1 deletion dev/kitchen-sink/Row9.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BoardRow } from '../../packages/react-components/src/BoardRow.js';
import { BoardRow } from '../../packages/react-components-pro/src/BoardRow.js';
import { SplitLayout } from '../../packages/react-components/src/SplitLayout.js';
import { TextArea } from '../../packages/react-components/src/TextArea.js';
import { Tooltip } from '../../packages/react-components/src/Tooltip.js';
Expand Down
4 changes: 2 additions & 2 deletions dev/pages/GridPro.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GridPro } from '../../packages/react-components/src/GridPro.js';
import { GridProEditColumn } from '../../packages/react-components/src/GridProEditColumn.js';
import { GridPro } from '../../packages/react-components-pro/src/GridPro.js';
import { GridProEditColumn } from '../../packages/react-components-pro/src/GridProEditColumn.js';
import { TextField } from '../../packages/react-components/src/TextField.js';

type Item = {
Expand Down
Loading

0 comments on commit b161257

Please sign in to comment.