@motionmetrics/mmpro-storybook-components-schema 2.0.26 → 2.0.28
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/lib/storybook/components/Icon/Icon.d.ts +4 -4
- package/lib/storybook/components/Icon/Icon.types.d.ts +1 -1
- package/lib/storybook/components/Icon/index.js +5 -1
- package/lib/storybook/components/Schema/index.js +5 -1
- package/lib/storybook/tokensV2/index.js +2 -1
- package/package.json +7 -27
- package/lib/storybook/schema-entry.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon } from "./renderers/Icon";
|
|
1
|
+
import { Icon } from "./renderers/Icon.d.ts";
|
|
2
2
|
export { Icon };
|
|
3
|
-
export declare const ProductIcon: ({ iconType, name, className, size, handleClick, style, }: import("./Icon.types").IconPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const ModuleIcon: ({ iconType, name, className, size, handleClick, style, }: import("./Icon.types").IconPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const ModuleOutlinedIcon: ({ iconType, name, className, size, handleClick, style, }: import("./Icon.types").IconPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const ProductIcon: ({ iconType, name, className, size, handleClick, style, }: import("./Icon.types.d.ts").IconPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const ModuleIcon: ({ iconType, name, className, size, handleClick, style, }: import("./Icon.types.d.ts").IconPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const ModuleOutlinedIcon: ({ iconType, name, className, size, handleClick, style, }: import("./Icon.types.d.ts").IconPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { iconSizeValues } from "../../Common.types";
|
|
1
|
+
import type { iconSizeValues } from "../../Common.types.d.ts";
|
|
2
2
|
import type { CSSProperties, MouseEventHandler } from "react";
|
|
3
3
|
export declare const iconArr: readonly ["Reverse", "DoubleArrowLeft", "DoubleArrowRight", "CollapseRight", "CollapseLeft", "EditOutlined", "Time", "Reload", "Equal", "MixedChart", "DashedLine", "Line", "Date", "FilledDot", "OutlinedDot", "FilledBox", "OutlinedBox", "NotificationOff", "Alert", "Trend", "EditBox", "Image", "Next", "Previous", "FullScreen", "Keyboard", "SiteDashboard", "Delete", "Clear", "StateOffline", "StateWarning", "StateOk", "StateAlarm", "AlertMessage", "Info", "Help", "Region", "Redo", "Edit", "Create", "TagFilled", "TagOutlined", "CloseFullScreen", "UndoAction", "FitToScreen", "Download", "Calendar", "FlagFilled", "FlagOutlined", "Location", "StarFilled", "StarOutlined", "ZoomOut", "ZoomIn", "Explosion", "Play", "Pause", "Cancel", "Remove", "CheckboxIndeterminate", "Checkbox", "CheckboxChecked", "Add", "NotificationFilled", "Back", "ArrowRight", "NavigateNext", "NavigateBefore", "HorizontalBarChart", "OpenInNew", "BrokenTooth", "Camera3D", "LikeFilled", "LikeOutlined", "TruckMetrics", "ChartView", "SelectAll", "Select", "Disabled", "MaterialHeight", "Belt", "Surveillance", "Exclamation", "CheckCircleOutlined", "FileExcel", "SortAlphaAsc", "Settings", "Question", "Clock", "Picture", "Table", "Envelope", "RegionIgnore", "Bell", "Filter", "SearchPlus", "ShareAlt", "Floppy", "Tooth", "DashboardCircle", "DownloadAlt", "CaretDown", "CaretUp", "Trash", "LogOut", "Ban", "Map", "BarChart", "Pencil", "FolderOpen", "Merge", "BuildingFilled", "CheckCircleFilled", "ToothWear", "CancelRounded", "ArrowCircleRight", "ToothReplace", "ArrowDoubleHead", "Hashtag", "User", "BuildingOutlined", "Clone", "FileText", "MovePoint", "MinusCircle", "AngleUp", "PlayCircle", "Dashboard", "Cube", "Comment", "CheckSquareRounded", "MousePointer", "Refresh", "Plus", "RoundedSquare", "Repeat", "PlusCircle", "ArrowCircleLeft", "SortAlphaDesc", "ExclamationTriangle", "AngleDown", "Phone", "Close", "SearchMinus", "ArrowCircleUp", "Search", "Lock", "Split", "HandPaper", "Unlock", "Undo", "ObjectGroup", "Segmentation", "AngleRight", "ToothWearCircle", "Times", "Crop", "RegionRock", "Check", "Administration", "API", "Home", "GalleryView", "CardView", "KeyboardHide", "GPS", "GPSOff", "Layers", "PanTool", "Menu", "AddImage", "ArrowLeft", "ArrowSelector", "CameraID", "ChevronLeft", "ChevronRight", "ChevronRightSmall", "Copy", "Email", "ImageCrashed", "InfoFilled", "Language", "Login", "MyLocationFilled", "Paste", "Save", "Translation", "AlarmPrevious", "AlarmNext", "ArrowDiagonalDown", "ArrowDiagonalUp", "ArrowDown", "CameraPrimary", "ArrowUp", "Audio", "AudioMute", "CameraFirst", "CameraSecond", "CameraVideo", "ChevronDownSmall", "ChevronLeftSmall", "ChevronUpSmall", "Collapse", "Expand", "FrameForward", "FrameBackward", "FullScreenExit", "LayersOff", "ListView", "MoreHorizontal", "MoreVertical", "MyLocationOutlined", "NotificationOutlined", "ReportCSV", "ReportPDF", "Link"];
|
|
4
4
|
export declare const productIconArr: readonly ["ShovelMetrics3D", "ShovelMetrics2D", "BeltMetrics3D", "BeltMetrics2D", "PortaMetrics3D", "PortaMetrics2D", "LoaderMetrics3D", "LoaderMetrics2D", "TruckMetrics3D", "TruckMetrics2D", "CrusherMetrics3D", "MetricsManagerPro3D", "MetricsManagerPro2D"];
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
// Type-definitions-only re-export for Icon component
|
|
2
|
+
export {};
|
|
3
|
+
if (typeof window !== 'undefined') {
|
|
4
|
+
console.warn('@motionmetrics/mmpro-storybook-components-schema is a type-definitions package. Icon components must be imported from the full package.');
|
|
5
|
+
}
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
// Type-definitions-only re-export for Schema component
|
|
2
|
+
export {};
|
|
3
|
+
if (typeof window !== 'undefined') {
|
|
4
|
+
console.warn('@motionmetrics/mmpro-storybook-components-schema is a type-definitions package. Schema components must be imported from the full package.');
|
|
5
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
// Type-definitions-only re-export for tokens
|
|
2
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,44 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motionmetrics/mmpro-storybook-components-schema",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://bitbucket.org/motionmetricsdev/motionmetrics-mmpro-frontend-common.git"
|
|
8
|
-
},
|
|
9
|
-
"author": "andy.nguyen@motionmetrics.com",
|
|
10
|
-
"license": "UNLICENSED",
|
|
11
|
-
"main": "./lib/storybook/schema-entry.js",
|
|
12
|
-
"module": "./lib/storybook/schema-entry.js",
|
|
3
|
+
"version": "2.0.28",
|
|
4
|
+
"description": "Schema component type definitions for @motionmetrics/mmpro-frontend-common. React 17-19 compatible.",
|
|
5
|
+
"type": "module",
|
|
13
6
|
"types": "./lib/storybook/schema-entry.d.ts",
|
|
14
7
|
"exports": {
|
|
15
8
|
".": {
|
|
16
|
-
"types": "./lib/storybook/schema-entry.d.ts"
|
|
17
|
-
"import": "./lib/storybook/schema-entry.js",
|
|
18
|
-
"require": "./lib/storybook/schema-entry.js",
|
|
19
|
-
"default": "./lib/storybook/schema-entry.js"
|
|
9
|
+
"types": "./lib/storybook/schema-entry.d.ts"
|
|
20
10
|
},
|
|
21
11
|
"./schema": {
|
|
22
|
-
"types": "./lib/storybook/components/Schema/index.d.ts"
|
|
23
|
-
"import": "./lib/storybook/components/Schema/index.js",
|
|
24
|
-
"require": "./lib/storybook/components/Schema/index.js",
|
|
25
|
-
"default": "./lib/storybook/components/Schema/index.js"
|
|
12
|
+
"types": "./lib/storybook/components/Schema/index.d.ts"
|
|
26
13
|
},
|
|
27
14
|
"./icon": {
|
|
28
|
-
"types": "./lib/storybook/components/Icon/index.d.ts"
|
|
29
|
-
"import": "./lib/storybook/components/Icon/index.js",
|
|
30
|
-
"require": "./lib/storybook/components/Icon/index.js",
|
|
31
|
-
"default": "./lib/storybook/components/Icon/index.js"
|
|
15
|
+
"types": "./lib/storybook/components/Icon/index.d.ts"
|
|
32
16
|
},
|
|
33
17
|
"./tokens": {
|
|
34
|
-
"types": "./lib/storybook/tokensV2/index.d.ts"
|
|
35
|
-
"import": "./lib/storybook/tokensV2/index.js",
|
|
36
|
-
"require": "./lib/storybook/tokensV2/index.js",
|
|
37
|
-
"default": "./lib/storybook/tokensV2/index.js"
|
|
18
|
+
"types": "./lib/storybook/tokensV2/index.d.ts"
|
|
38
19
|
}
|
|
39
20
|
},
|
|
40
21
|
"files": [
|
|
41
|
-
"lib/storybook/schema-entry.js",
|
|
42
22
|
"lib/storybook/schema-entry.d.ts",
|
|
43
23
|
"lib/storybook/components/Schema",
|
|
44
24
|
"lib/storybook/components/Icon",
|