@ramme-io/ui 1.1.3 → 1.1.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/dist/index.d.ts +1 -62
- package/dist/index.es.js +148762 -146433
- package/dist/index.umd.js +1978 -1978
- package/dist/{components → src/components}/ui/Badge.d.ts +1 -1
- package/dist/{components → src/components}/ui/Button.d.ts +5 -4
- package/dist/src/index.d.ts +64 -0
- package/package.json +1 -1
- /package/dist/{blocks → src/blocks}/ai/Actions.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/ai/ChatFAB.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/ai/Conversation.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/ai/Loader.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/ai/Message.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/ai/PromptInput.d.ts +0 -0
- /package/dist/{blocks → src/blocks}/iot/DeviceCard.d.ts +0 -0
- /package/dist/{component-registry.d.ts → src/component-registry.d.ts} +0 -0
- /package/dist/{components → src/components}/data-display/ActivityFeed.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/BarChart.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/ChartWithTable.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/CodeBlock.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/DataTable.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/LineChart.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/PieChart.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/StatCard.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/StatusBadge.d.ts +0 -0
- /package/dist/{components → src/components}/data-display/Table.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/Alert.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/EmptyState.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/TippyTooltip.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/Toast.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/ToastProvider.d.ts +0 -0
- /package/dist/{components → src/components}/forms/ButtonGroup.d.ts +0 -0
- /package/dist/{components → src/components}/forms/Checkbox.d.ts +0 -0
- /package/dist/{components → src/components}/forms/ComboBox.d.ts +0 -0
- /package/dist/{components → src/components}/forms/DatePicker.d.ts +0 -0
- /package/dist/{components → src/components}/forms/FileUpload.d.ts +0 -0
- /package/dist/{components → src/components}/forms/FormTemplate.d.ts +0 -0
- /package/dist/{components → src/components}/forms/Input.d.ts +0 -0
- /package/dist/{components → src/components}/forms/MultiSelect.d.ts +0 -0
- /package/dist/{components → src/components}/forms/Radio.d.ts +0 -0
- /package/dist/{components → src/components}/forms/SearchInput.d.ts +0 -0
- /package/dist/{components → src/components}/forms/SegmentedControl.d.ts +0 -0
- /package/dist/{components → src/components}/forms/Select.d.ts +0 -0
- /package/dist/{components → src/components}/forms/Textarea.d.ts +0 -0
- /package/dist/{components → src/components}/forms/ToggleSwitch.d.ts +0 -0
- /package/dist/{components → src/components}/layout/Accordion.d.ts +0 -0
- /package/dist/{components → src/components}/layout/ActionBar.d.ts +0 -0
- /package/dist/{components → src/components}/layout/Card.d.ts +0 -0
- /package/dist/{components → src/components}/layout/Drawer.d.ts +0 -0
- /package/dist/{components → src/components}/layout/List.d.ts +0 -0
- /package/dist/{components → src/components}/layout/Modal.d.ts +0 -0
- /package/dist/{components → src/components}/layout/PageHeader.d.ts +0 -0
- /package/dist/{components → src/components}/layout/SectionHeader.d.ts +0 -0
- /package/dist/{components → src/components}/layout/Sidebar.d.ts +0 -0
- /package/dist/{components → src/components}/layout/StorySidebarContent.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/Breadcrumbs.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/Menu.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/Pagination.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/Stepper.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/Tabs.d.ts +0 -0
- /package/dist/{components → src/components}/ui/Avatar.d.ts +0 -0
- /package/dist/{components → src/components}/ui/Icon.d.ts +0 -0
- /package/dist/{components → src/components}/ui/icon-loader.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/ThemeContext.d.ts +0 -0
- /package/dist/{data → src/data}/mockData.d.ts +0 -0
- /package/dist/{lib → src/lib}/hooks/useChartTheme.d.ts +0 -0
- /package/dist/{lib → src/lib}/hooks/useDataFetch.d.ts +0 -0
- /package/dist/{utils → src/utils}/cn.d.ts +0 -0
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
|
|
4
4
|
declare const badgeVariants: (props?: ({
|
|
5
|
-
variant?: "primary" | "
|
|
5
|
+
variant?: "primary" | "secondary" | "danger" | "success" | "outline" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
8
8
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import { IconName } from './Icon';
|
|
4
3
|
|
|
5
4
|
/** @wizard
|
|
@@ -8,7 +7,7 @@ import { IconName } from './Icon';
|
|
|
8
7
|
* @category Input
|
|
9
8
|
* @props
|
|
10
9
|
* - name: variant
|
|
11
|
-
* type: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'link'
|
|
10
|
+
* type: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'link' | 'accent'
|
|
12
11
|
* description: The visual style of the button.
|
|
13
12
|
* default: 'primary'
|
|
14
13
|
* - name: size
|
|
@@ -32,10 +31,12 @@ import { IconName } from './Icon';
|
|
|
32
31
|
* @id button
|
|
33
32
|
*/
|
|
34
33
|
declare const buttonVariants: (props?: ({
|
|
35
|
-
variant?: "link" | "ghost" | "primary" | "
|
|
34
|
+
variant?: "link" | "ghost" | "primary" | "secondary" | "danger" | "outline" | "accent" | null | undefined;
|
|
36
35
|
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
37
36
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
38
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement
|
|
37
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
38
|
+
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'link' | 'accent' | null;
|
|
39
|
+
size?: 'sm' | 'md' | 'lg' | 'icon' | null;
|
|
39
40
|
asChild?: boolean;
|
|
40
41
|
loading?: boolean;
|
|
41
42
|
iconLeft?: IconName;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
|
|
2
|
+
export type * from './lib/types/wizard';
|
|
3
|
+
export type { ThemeName } from './contexts/ThemeContext';
|
|
4
|
+
export type { MultiSelectOption } from './components/forms/MultiSelect';
|
|
5
|
+
export { AUTO_REGISTRY } from './component-registry';
|
|
6
|
+
export { wizardManifest } from '../wizardManifest';
|
|
7
|
+
export type { ColDef, ColGroupDef, GridOptions, GridApi, ColumnApi, ValueFormatterParams, ValueGetterParams, ICellRendererParams, CellClickedEvent, RowSelectedEvent, IHeaderParams, } from 'ag-grid-community';
|
|
8
|
+
export * from './data/mockData';
|
|
9
|
+
export * from './blocks/ai/Loader';
|
|
10
|
+
export * from './blocks/ai/Actions';
|
|
11
|
+
export * from './blocks/ai/PromptInput';
|
|
12
|
+
export * from './blocks/ai/Message';
|
|
13
|
+
export * from './blocks/ai/Conversation';
|
|
14
|
+
export * from './blocks/ai/ChatFAB';
|
|
15
|
+
export * from './contexts/ThemeContext';
|
|
16
|
+
export * from './components/data-display/ActivityFeed';
|
|
17
|
+
export * from './components/data-display/DataTable';
|
|
18
|
+
export * from './components/data-display/Table';
|
|
19
|
+
export * from './components/data-display/BarChart';
|
|
20
|
+
export * from './components/data-display/ChartWithTable';
|
|
21
|
+
export * from './components/data-display/LineChart';
|
|
22
|
+
export * from './components/data-display/PieChart';
|
|
23
|
+
export * from './components/data-display/CodeBlock';
|
|
24
|
+
export * from './components/data-display/StatCard';
|
|
25
|
+
export * from './components/data-display/StatusBadge';
|
|
26
|
+
export * from './components/feedback/Alert';
|
|
27
|
+
export * from './components/feedback/EmptyState';
|
|
28
|
+
export * from './components/feedback/TippyTooltip';
|
|
29
|
+
export * from './components/feedback/Toast';
|
|
30
|
+
export * from './components/feedback/ToastProvider';
|
|
31
|
+
export * from './components/forms/ButtonGroup';
|
|
32
|
+
export * from './components/forms/Checkbox';
|
|
33
|
+
export * from './components/forms/ComboBox';
|
|
34
|
+
export * from './components/forms/DatePicker';
|
|
35
|
+
export * from './components/forms/FileUpload';
|
|
36
|
+
export * from './components/forms/FormTemplate';
|
|
37
|
+
export * from './components/forms/Input';
|
|
38
|
+
export * from './components/forms/MultiSelect';
|
|
39
|
+
export * from './components/forms/Radio';
|
|
40
|
+
export * from './components/forms/SearchInput';
|
|
41
|
+
export * from './components/forms/SegmentedControl';
|
|
42
|
+
export * from './components/forms/Select';
|
|
43
|
+
export * from './components/forms/Textarea';
|
|
44
|
+
export * from './components/forms/ToggleSwitch';
|
|
45
|
+
export * from './lib/hooks/useDataFetch';
|
|
46
|
+
export * from './blocks/iot/DeviceCard';
|
|
47
|
+
export * from './components/layout/Accordion';
|
|
48
|
+
export * from './components/layout/Card';
|
|
49
|
+
export * from './components/layout/Drawer';
|
|
50
|
+
export * from './components/layout/List';
|
|
51
|
+
export * from './components/layout/Modal';
|
|
52
|
+
export * from './components/layout/Sidebar';
|
|
53
|
+
export * from './components/layout/ActionBar';
|
|
54
|
+
export * from './components/layout/PageHeader';
|
|
55
|
+
export * from './components/layout/SectionHeader';
|
|
56
|
+
export * from './components/navigation/Breadcrumbs';
|
|
57
|
+
export * from './components/navigation/Menu';
|
|
58
|
+
export * from './components/navigation/Pagination';
|
|
59
|
+
export * from './components/navigation/Stepper';
|
|
60
|
+
export * from './components/navigation/Tabs';
|
|
61
|
+
export * from './components/ui/Avatar';
|
|
62
|
+
export * from './components/ui/Badge';
|
|
63
|
+
export * from './components/ui/Button';
|
|
64
|
+
export * from './components/ui/Icon';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|