@vention/machine-ui 3.27.0
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/.babelrc +12 -0
- package/.storybook/blocks/work-in-progress.tsx +12 -0
- package/.storybook/helpers/go-to-icon-gallery.tsx +23 -0
- package/.storybook/main.ts +38 -0
- package/.storybook/manager.ts +7 -0
- package/.storybook/preview-head.html +4 -0
- package/.storybook/preview.tsx +55 -0
- package/.storybook/theme.ts +25 -0
- package/CHANGELOG.md +2287 -0
- package/Dockerfile +11 -0
- package/README.md +39 -0
- package/ecs-task-definition.json +28 -0
- package/eslint.config.js +37 -0
- package/jest.config.ts +33 -0
- package/package.json +20 -0
- package/project.json +164 -0
- package/src/documentation/code-conventions.mdx +98 -0
- package/src/documentation/design-system/colors.mdx +58 -0
- package/src/documentation/design-system/how-to-choose-color.mdx +63 -0
- package/src/documentation/design-system/palette.mdx +159 -0
- package/src/documentation/design-system/spacing.mdx +61 -0
- package/src/documentation/design-system/typography.mdx +63 -0
- package/src/documentation/getting-started.mdx +154 -0
- package/src/documentation/icons.mdx +52 -0
- package/src/documentation/installation-and-usage.mdx +148 -0
- package/src/documentation/introduction.mdx +96 -0
- package/src/global-styles.css +9 -0
- package/src/index.ts +54 -0
- package/src/lib/components/shared/styles/input-styles.ts +123 -0
- package/src/lib/components/shared/types/input-types.ts +9 -0
- package/src/lib/components/vention-alert/vention-alert-controls.tsx +57 -0
- package/src/lib/components/vention-alert/vention-alert-utils.ts +27 -0
- package/src/lib/components/vention-alert/vention-alert.stories.tsx +137 -0
- package/src/lib/components/vention-alert/vention-alert.test.tsx +185 -0
- package/src/lib/components/vention-alert/vention-alert.tsx +295 -0
- package/src/lib/components/vention-badge/vention-badge.stories.tsx +60 -0
- package/src/lib/components/vention-badge/vention-badge.test.tsx +59 -0
- package/src/lib/components/vention-badge/vention-badge.tsx +197 -0
- package/src/lib/components/vention-banner/vention-banner.stories.tsx +124 -0
- package/src/lib/components/vention-banner/vention-banner.test.tsx +72 -0
- package/src/lib/components/vention-banner/vention-banner.tsx +123 -0
- package/src/lib/components/vention-button/button-utils.ts +143 -0
- package/src/lib/components/vention-button/vention-button.stories.tsx +89 -0
- package/src/lib/components/vention-button/vention-button.test.tsx +182 -0
- package/src/lib/components/vention-button/vention-button.tsx +151 -0
- package/src/lib/components/vention-button/vention-dropdown-button/vention-dropdown-button.stories.tsx +55 -0
- package/src/lib/components/vention-button/vention-dropdown-button/vention-dropdown-button.test.tsx +96 -0
- package/src/lib/components/vention-button/vention-dropdown-button/vention-dropdown-button.tsx +94 -0
- package/src/lib/components/vention-button/vention-icon-button/vention-icon-button.stories.tsx +55 -0
- package/src/lib/components/vention-button/vention-icon-button/vention-icon-button.test.tsx +227 -0
- package/src/lib/components/vention-button/vention-icon-button/vention-icon-button.tsx +60 -0
- package/src/lib/components/vention-callout/vention-callout.stories.tsx +82 -0
- package/src/lib/components/vention-callout/vention-callout.test.tsx +142 -0
- package/src/lib/components/vention-callout/vention-callout.tsx +199 -0
- package/src/lib/components/vention-checkbox/vention-checkbox-icon.tsx +64 -0
- package/src/lib/components/vention-checkbox/vention-checkbox.stories.tsx +121 -0
- package/src/lib/components/vention-checkbox/vention-checkbox.test.tsx +468 -0
- package/src/lib/components/vention-checkbox/vention-checkbox.tsx +321 -0
- package/src/lib/components/vention-combobox/vention-combobox.stories.tsx +181 -0
- package/src/lib/components/vention-combobox/vention-combobox.test.tsx +157 -0
- package/src/lib/components/vention-combobox/vention-combobox.tsx +374 -0
- package/src/lib/components/vention-counter/vention-counter.stories.tsx +19 -0
- package/src/lib/components/vention-counter/vention-counter.test.tsx +116 -0
- package/src/lib/components/vention-counter/vention-counter.tsx +165 -0
- package/src/lib/components/vention-draggable/vention-draggable.stories.tsx +47 -0
- package/src/lib/components/vention-draggable/vention-draggable.test.tsx +54 -0
- package/src/lib/components/vention-draggable/vention-draggable.tsx +120 -0
- package/src/lib/components/vention-drawer/vention-drawer.stories.tsx +80 -0
- package/src/lib/components/vention-drawer/vention-drawer.test.tsx +74 -0
- package/src/lib/components/vention-drawer/vention-drawer.tsx +105 -0
- package/src/lib/components/vention-dropzone/vention-dropzone-utils.tsx +124 -0
- package/src/lib/components/vention-dropzone/vention-dropzone.stories.tsx +69 -0
- package/src/lib/components/vention-dropzone/vention-dropzone.test.tsx +136 -0
- package/src/lib/components/vention-dropzone/vention-dropzone.tsx +234 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-analytics.tsx +18 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-communication.tsx +35 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-conveyor.tsx +32 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-input-output.tsx +10 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-linear.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-pneumatic.tsx +12 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-programming.tsx +24 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-robot-arm.tsx +29 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-rotary.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/duotone-state-machine.tsx +35 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/position-rx.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/position-ry.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/position-rz.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/position-x.tsx +12 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/position-y.tsx +12 -0
- package/src/lib/components/vention-icon/_generated/duotone-icons/position-z.tsx +12 -0
- package/src/lib/components/vention-icon/_generated/icon-types.ts +460 -0
- package/src/lib/components/vention-icon/_generated/icons/ac-motor.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/access-point.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator1.tsx +21 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator10.tsx +24 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator2.tsx +23 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator3.tsx +27 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator4.tsx +37 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator5.tsx +37 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator6.tsx +17 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator7.tsx +12 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator8.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/actuator9.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/adjustments-alt-filled.tsx +23 -0
- package/src/lib/components/vention-icon/_generated/icons/adjustments-alt.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/adjustments-filled.tsx +26 -0
- package/src/lib/components/vention-icon/_generated/icons/adjustments-horizontal.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/alarm-bell-filled.tsx +23 -0
- package/src/lib/components/vention-icon/_generated/icons/alarm-bell-ringing.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/alarm-bell.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/alarm.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/alert-circle-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/alert-circle.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/alert-triangle-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/alert-triangle.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/analytics.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/angle.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/apps-2.tsx +31 -0
- package/src/lib/components/vention-icon/_generated/icons/apps.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-both.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-down.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-left.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-to-down.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-to-left.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-to-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-to-up.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-bar-up.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-big-down.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-big-left.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-big-right-lines.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-big-right.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-big-up.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-left-from-arc.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-left.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-narrow-down.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-narrow-left.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-narrow-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-narrow-up.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/arrow-up-right.tsx +9 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-diagonal-minimize-1.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-diagonal.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-diff.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-exchange-1.tsx +9 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-exchange.tsx +9 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-maximize.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-minimize.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-move.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/arrows-right-left.tsx +18 -0
- package/src/lib/components/vention-icon/_generated/icons/assembly.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/asset.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/axis.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/belt-actuator-2.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/belt-actuator-3.tsx +26 -0
- package/src/lib/components/vention-icon/_generated/icons/belt-actuator.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/binary-tree-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/binary-tree.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/binary.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/blend.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/bolt-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/bolt.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/bomb.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/book-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/book.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/bookmark.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/books.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/braces.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/brand-python.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/bug.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/building-broadcast-tower.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/building-community.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/building-factory-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/building-skyscraper.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/building.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/button-black.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/button-white.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/calendar-month.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/camera.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/capture.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-down-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-down.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-left-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-left.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-right-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-up-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/caret-up.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/category-filled.tsx +30 -0
- package/src/lib/components/vention-icon/_generated/icons/category.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/cell-signal-full.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cell-signal-low.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cell-signal-off.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/chart-dots-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/check.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/checkbox.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/checks.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevron-down.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevron-left.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevron-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevron-up.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevrons-down.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevrons-left.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevrons-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/chevrons-up.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-arrow-up.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-check-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-check.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-minus.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-plus.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-square.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-x-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/circle-x.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/clock.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/clockwise-1.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/clockwise-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/close.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud-computing.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud-data-connection.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud-download-1.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud-download-off.tsx +37 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud-download.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud-off.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud-upload.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cloud.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/code.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/command-do.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/command-elif.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/command-else.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/command-if.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/condition-tree.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/confetti.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/connection.tsx +12 -0
- package/src/lib/components/vention-icon/_generated/icons/conveyor.tsx +31 -0
- package/src/lib/components/vention-icon/_generated/icons/copy.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/corner-up-left.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/corner-up-right.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/counterclockwise-1.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/counterclockwise-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cpu-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cpu.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cube-plus.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cube-send.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/cube.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-gear-fill.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-help-bold-filled.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-help-bold.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-help-fill.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-help.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-info-1.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-info-bold-filled.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-info-bold.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-info.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-point-to-point.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-rocket-fat.tsx +35 -0
- package/src/lib/components/vention-icon/_generated/icons/custom-rocket.tsx +31 -0
- package/src/lib/components/vention-icon/_generated/icons/dashboard.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/decline.tsx +9 -0
- package/src/lib/components/vention-icon/_generated/icons/device-laptop.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/device-tv.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/devices-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/dimensions.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/dots-vertical.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/dots.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/download-off.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/download.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/edit.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/electric-actuator.tsx +14 -0
- package/src/lib/components/vention-icon/_generated/icons/exclamation-mark.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/external-link.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/eye-closed.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/eye.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/file-3-d.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/file-code.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/file-description.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/file-download.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/file-type-pdf.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/file-upload.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/file-wrong.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/file.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/filter.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/focus.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/folder-open.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/folder-plus-1.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/icons/folder.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/frame-3.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/function-icon.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/git-branch-deleted.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/git-branch.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/git-compare.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/git-fork.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/git-merge.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/gizmo.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/graph.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/grid-dots.tsx +61 -0
- package/src/lib/components/vention-icon/_generated/icons/grip-horizontal.tsx +43 -0
- package/src/lib/components/vention-icon/_generated/icons/grip-vertical.tsx +43 -0
- package/src/lib/components/vention-icon/_generated/icons/gripper-1.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/gripper-2.tsx +10 -0
- package/src/lib/components/vention-icon/_generated/icons/hand-stop.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/hash.tsx +22 -0
- package/src/lib/components/vention-icon/_generated/icons/hb-menu.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/headphones-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/headset-filled.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/headset.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/help-circle-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/help.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/history-toggle.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/history.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/hmi.tsx +26 -0
- package/src/lib/components/vention-icon/_generated/icons/home-2.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/home-solid.tsx +27 -0
- package/src/lib/components/vention-icon/_generated/icons/home.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/hourglass-empty.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/i-o.tsx +31 -0
- package/src/lib/components/vention-icon/_generated/icons/icon-box-padding.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/icon-components.tsx +18 -0
- package/src/lib/components/vention-icon/_generated/icons/icon-nut.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/icon-ruler-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/icon-square-rotated.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/incline.tsx +9 -0
- package/src/lib/components/vention-icon/_generated/icons/infinity.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/info-circle-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/info-circle.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/input-output.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/io-link.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/ipad-horizontal.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/json.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/lan.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/language.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/layout-sidebar-right.tsx +14 -0
- package/src/lib/components/vention-icon/_generated/icons/legacy-axis.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/legacy-robot.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/letter-case.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/line.tsx +27 -0
- package/src/lib/components/vention-icon/_generated/icons/linear.tsx +27 -0
- package/src/lib/components/vention-icon/_generated/icons/link.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/list-check.tsx +24 -0
- package/src/lib/components/vention-icon/_generated/icons/load-balancer.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/lock.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/logout.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/machine-apps-headset.tsx +18 -0
- package/src/lib/components/vention-icon/_generated/icons/machinelogic-2.tsx +17 -0
- package/src/lib/components/vention-icon/_generated/icons/magnet.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/mail-fast.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/mail.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/mailbox.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/math-equal-greater.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/math-equal-lower.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/maximize.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/menu-2.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/menu-waffle.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/menu.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/merge.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/message-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/message-chatbot.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/message-circle-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/message-circle.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/message-dots.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/message.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/messages.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/microphone.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/minus-vertical.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/minus.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/mirror-flip-horizontal.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/mirror-flip-vertical.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/module-1.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/module-2.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/module-3.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/module-4.tsx +14 -0
- package/src/lib/components/vention-icon/_generated/icons/motor-1.tsx +14 -0
- package/src/lib/components/vention-icon/_generated/icons/motor-2.tsx +24 -0
- package/src/lib/components/vention-icon/_generated/icons/motor-3.tsx +21 -0
- package/src/lib/components/vention-icon/_generated/icons/motor-4.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/motor-5.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/move-to-ground.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/movie.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/multiplier.tsx +17 -0
- package/src/lib/components/vention-icon/_generated/icons/music.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/network-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/network-off.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/network.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/number-1.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/number-2.tsx +21 -0
- package/src/lib/components/vention-icon/_generated/icons/number-3.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/number-4.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/operator.tsx +23 -0
- package/src/lib/components/vention-icon/_generated/icons/pdf.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/phone-call.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/phone-off.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/phone.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/photo.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/pinned.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/player-pause.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/player-play-filled.tsx +18 -0
- package/src/lib/components/vention-icon/_generated/icons/player-play.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/player-record.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/player-skip-back.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/player-skip-forward.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/player-stop-filled.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/player-stop.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/player-track-next.tsx +9 -0
- package/src/lib/components/vention-icon/_generated/icons/player-track-prev.tsx +9 -0
- package/src/lib/components/vention-icon/_generated/icons/plug-x.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/plug.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/plus.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/pneumatic.tsx +12 -0
- package/src/lib/components/vention-icon/_generated/icons/point-to-point-3.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/point-to-point-check.tsx +23 -0
- package/src/lib/components/vention-icon/_generated/icons/power.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/programming.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/pushbutton.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/receipt-dollar.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/receipt.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/reference-frame-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/reference-frame.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/refresh-alert.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/refresh-off.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/refresh.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/reload.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/repeat.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/rewind-backward-15.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/rewind-forward-15.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/robot-arm-2.tsx +23 -0
- package/src/lib/components/vention-icon/_generated/icons/robot-arm-duotone-2.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/robot-arm.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/robot-face.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/rotary.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/route-square.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/row-insert-bottom.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/row-insert-top.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/ruler-measure-2.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/ruler.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/save.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/search.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/selector.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/send.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/sensor.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/sensor1.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/sensor2.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/sequence.tsx +28 -0
- package/src/lib/components/vention-icon/_generated/icons/setting-automation.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/settings-2.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/settings-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/settings.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/shield-code.tsx +15 -0
- package/src/lib/components/vention-icon/_generated/icons/shield-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/shield-half.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/shield.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/shopping-bag.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/shopping-cart-filled.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/shopping-cart.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/show-3d.tsx +26 -0
- package/src/lib/components/vention-icon/_generated/icons/sitemap-1.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/sitemap.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/slash.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/speedtest.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/sphere.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/square-number-0.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/square-number-1.tsx +14 -0
- package/src/lib/components/vention-icon/_generated/icons/square-number-2.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/square-number-3.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/stack.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/star.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/state-machine.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/status-danger-hmi.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/status-small.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/status-warning-hmi.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/stopwatch.tsx +23 -0
- package/src/lib/components/vention-icon/_generated/icons/subtask.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/switch-horizontal.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/switch-vertical.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/tag.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/target.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/template.tsx +29 -0
- package/src/lib/components/vention-icon/_generated/icons/terminal-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/terminal.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/text-plus-1.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/timeline.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/tiny-caret-down.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/tiny-caret-right.tsx +8 -0
- package/src/lib/components/vention-icon/_generated/icons/tool-1.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/tool.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-bus.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-complex.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-full-hierarchy.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-full.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-ring-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-ring-3.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-ring.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/topology-star-3.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/trash.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/trending-up.tsx +16 -0
- package/src/lib/components/vention-icon/_generated/icons/truck-delivery.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/truck-loading.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/un-pinned.tsx +14 -0
- package/src/lib/components/vention-icon/_generated/icons/unlink.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/update.tsx +21 -0
- package/src/lib/components/vention-icon/_generated/icons/upload.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/user-circle.tsx +25 -0
- package/src/lib/components/vention-icon/_generated/icons/user-off.tsx +21 -0
- package/src/lib/components/vention-icon/_generated/icons/user-plus.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/user-shield.tsx +21 -0
- package/src/lib/components/vention-icon/_generated/icons/user.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/users-plus.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/users.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/variable.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/vention.tsx +11 -0
- package/src/lib/components/vention-icon/_generated/icons/versions.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/video.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/web-link.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/weight-2.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/weight.tsx +19 -0
- package/src/lib/components/vention-icon/_generated/icons/wifi-low.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/wifi-lowest.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/wifi-off.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/wifi.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/world-download.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/world.tsx +13 -0
- package/src/lib/components/vention-icon/_generated/icons/xyz-1.tsx +20 -0
- package/src/lib/components/vention-icon/_generated/icons/xyz-2.tsx +16 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-analytics.svg +5 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-communication.svg +13 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-conveyor.svg +6 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-input-output.svg +5 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-linear.svg +5 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-pneumatic.svg +7 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-programming.svg +6 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-robot-arm.svg +12 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-rotary.svg +5 -0
- package/src/lib/components/vention-icon/duotone-svg/duotone-state-machine.svg +10 -0
- package/src/lib/components/vention-icon/duotone-svg/position-rx.svg +5 -0
- package/src/lib/components/vention-icon/duotone-svg/position-ry.svg +5 -0
- package/src/lib/components/vention-icon/duotone-svg/position-rz.svg +5 -0
- package/src/lib/components/vention-icon/duotone-svg/position-x.svg +4 -0
- package/src/lib/components/vention-icon/duotone-svg/position-y.svg +4 -0
- package/src/lib/components/vention-icon/duotone-svg/position-z.svg +4 -0
- package/src/lib/components/vention-icon/svg/ac-motor.svg +6 -0
- package/src/lib/components/vention-icon/svg/access-point.svg +3 -0
- package/src/lib/components/vention-icon/svg/actuator.svg +11 -0
- package/src/lib/components/vention-icon/svg/actuator1.svg +6 -0
- package/src/lib/components/vention-icon/svg/actuator10.svg +9 -0
- package/src/lib/components/vention-icon/svg/actuator2.svg +8 -0
- package/src/lib/components/vention-icon/svg/actuator3.svg +7 -0
- package/src/lib/components/vention-icon/svg/actuator4.svg +7 -0
- package/src/lib/components/vention-icon/svg/actuator5.svg +7 -0
- package/src/lib/components/vention-icon/svg/actuator6.svg +7 -0
- package/src/lib/components/vention-icon/svg/actuator7.svg +7 -0
- package/src/lib/components/vention-icon/svg/actuator8.svg +8 -0
- package/src/lib/components/vention-icon/svg/actuator9.svg +10 -0
- package/src/lib/components/vention-icon/svg/adjustments-alt-filled.svg +12 -0
- package/src/lib/components/vention-icon/svg/adjustments-alt.svg +3 -0
- package/src/lib/components/vention-icon/svg/adjustments-filled.svg +12 -0
- package/src/lib/components/vention-icon/svg/adjustments-horizontal.svg +3 -0
- package/src/lib/components/vention-icon/svg/alarm-bell-filled.svg +6 -0
- package/src/lib/components/vention-icon/svg/alarm-bell-ringing.svg +3 -0
- package/src/lib/components/vention-icon/svg/alarm-bell.svg +3 -0
- package/src/lib/components/vention-icon/svg/alarm.svg +3 -0
- package/src/lib/components/vention-icon/svg/alert-circle-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/alert-circle.svg +3 -0
- package/src/lib/components/vention-icon/svg/alert-triangle-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/alert-triangle.svg +3 -0
- package/src/lib/components/vention-icon/svg/analytics.svg +3 -0
- package/src/lib/components/vention-icon/svg/angle.svg +3 -0
- package/src/lib/components/vention-icon/svg/apps-2.svg +6 -0
- package/src/lib/components/vention-icon/svg/apps.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-both.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-to-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-to-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-to-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-to-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-bar-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-big-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-big-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-big-right-lines.svg +12 -0
- package/src/lib/components/vention-icon/svg/arrow-big-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-big-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-left-from-arc.svg +12 -0
- package/src/lib/components/vention-icon/svg/arrow-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-narrow-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-narrow-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-narrow-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-narrow-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrow-up-right.svg +4 -0
- package/src/lib/components/vention-icon/svg/arrows-diagonal-minimize-1.svg +6 -0
- package/src/lib/components/vention-icon/svg/arrows-diagonal.svg +6 -0
- package/src/lib/components/vention-icon/svg/arrows-diff.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrows-exchange-1.svg +4 -0
- package/src/lib/components/vention-icon/svg/arrows-exchange.svg +4 -0
- package/src/lib/components/vention-icon/svg/arrows-maximize.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrows-minimize.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrows-move.svg +3 -0
- package/src/lib/components/vention-icon/svg/arrows-right-left.svg +13 -0
- package/src/lib/components/vention-icon/svg/assembly.svg +4 -0
- package/src/lib/components/vention-icon/svg/asset.svg +3 -0
- package/src/lib/components/vention-icon/svg/axis.svg +3 -0
- package/src/lib/components/vention-icon/svg/belt-actuator-2.svg +5 -0
- package/src/lib/components/vention-icon/svg/belt-actuator-3.svg +6 -0
- package/src/lib/components/vention-icon/svg/belt-actuator.svg +5 -0
- package/src/lib/components/vention-icon/svg/binary-tree-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/binary-tree.svg +3 -0
- package/src/lib/components/vention-icon/svg/binary.svg +3 -0
- package/src/lib/components/vention-icon/svg/blend.svg +3 -0
- package/src/lib/components/vention-icon/svg/bolt-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/bolt.svg +3 -0
- package/src/lib/components/vention-icon/svg/bomb.svg +3 -0
- package/src/lib/components/vention-icon/svg/book-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/book.svg +3 -0
- package/src/lib/components/vention-icon/svg/bookmark.svg +3 -0
- package/src/lib/components/vention-icon/svg/books.svg +3 -0
- package/src/lib/components/vention-icon/svg/braces.svg +3 -0
- package/src/lib/components/vention-icon/svg/brand-python.svg +3 -0
- package/src/lib/components/vention-icon/svg/bug.svg +3 -0
- package/src/lib/components/vention-icon/svg/building-broadcast-tower.svg +3 -0
- package/src/lib/components/vention-icon/svg/building-community.svg +3 -0
- package/src/lib/components/vention-icon/svg/building-factory-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/building-skyscraper.svg +3 -0
- package/src/lib/components/vention-icon/svg/building.svg +3 -0
- package/src/lib/components/vention-icon/svg/button-black.svg +3 -0
- package/src/lib/components/vention-icon/svg/button-white.svg +3 -0
- package/src/lib/components/vention-icon/svg/calendar-month.svg +3 -0
- package/src/lib/components/vention-icon/svg/camera.svg +4 -0
- package/src/lib/components/vention-icon/svg/capture.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-down-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-left-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-right-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-up-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/caret-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/category-filled.svg +13 -0
- package/src/lib/components/vention-icon/svg/category.svg +6 -0
- package/src/lib/components/vention-icon/svg/cell-signal-full.svg +3 -0
- package/src/lib/components/vention-icon/svg/cell-signal-low.svg +3 -0
- package/src/lib/components/vention-icon/svg/cell-signal-off.svg +3 -0
- package/src/lib/components/vention-icon/svg/chart-dots-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/check.svg +3 -0
- package/src/lib/components/vention-icon/svg/checkbox.svg +5 -0
- package/src/lib/components/vention-icon/svg/checks.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevron-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevron-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevron-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevron-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevrons-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevrons-left.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevrons-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/chevrons-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/circle-arrow-up.svg +3 -0
- package/src/lib/components/vention-icon/svg/circle-check-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/circle-check.svg +3 -0
- package/src/lib/components/vention-icon/svg/circle-minus.svg +3 -0
- package/src/lib/components/vention-icon/svg/circle-plus.svg +3 -0
- package/src/lib/components/vention-icon/svg/circle-square.svg +4 -0
- package/src/lib/components/vention-icon/svg/circle-x-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/circle-x.svg +3 -0
- package/src/lib/components/vention-icon/svg/clock.svg +3 -0
- package/src/lib/components/vention-icon/svg/clockwise-1.svg +3 -0
- package/src/lib/components/vention-icon/svg/clockwise-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/close.svg +3 -0
- package/src/lib/components/vention-icon/svg/cloud-computing.svg +3 -0
- package/src/lib/components/vention-icon/svg/cloud-data-connection.svg +3 -0
- package/src/lib/components/vention-icon/svg/cloud-download-1.svg +5 -0
- package/src/lib/components/vention-icon/svg/cloud-download-off.svg +8 -0
- package/src/lib/components/vention-icon/svg/cloud-download.svg +3 -0
- package/src/lib/components/vention-icon/svg/cloud-off.svg +3 -0
- package/src/lib/components/vention-icon/svg/cloud-upload.svg +3 -0
- package/src/lib/components/vention-icon/svg/cloud.svg +3 -0
- package/src/lib/components/vention-icon/svg/code.svg +3 -0
- package/src/lib/components/vention-icon/svg/command-do.svg +3 -0
- package/src/lib/components/vention-icon/svg/command-elif.svg +3 -0
- package/src/lib/components/vention-icon/svg/command-else.svg +3 -0
- package/src/lib/components/vention-icon/svg/command-if.svg +3 -0
- package/src/lib/components/vention-icon/svg/condition-tree.svg +3 -0
- package/src/lib/components/vention-icon/svg/confetti.svg +3 -0
- package/src/lib/components/vention-icon/svg/connection.svg +3 -0
- package/src/lib/components/vention-icon/svg/conveyor.svg +6 -0
- package/src/lib/components/vention-icon/svg/copy.svg +3 -0
- package/src/lib/components/vention-icon/svg/corner-up-left.svg +10 -0
- package/src/lib/components/vention-icon/svg/corner-up-right.svg +10 -0
- package/src/lib/components/vention-icon/svg/counterclockwise-1.svg +3 -0
- package/src/lib/components/vention-icon/svg/counterclockwise-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/cpu-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/cpu.svg +3 -0
- package/src/lib/components/vention-icon/svg/cube-plus.svg +3 -0
- package/src/lib/components/vention-icon/svg/cube-send.svg +3 -0
- package/src/lib/components/vention-icon/svg/cube.svg +3 -0
- package/src/lib/components/vention-icon/svg/custom-gear-fill.svg +3 -0
- package/src/lib/components/vention-icon/svg/custom-help-bold-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/custom-help-bold.svg +5 -0
- package/src/lib/components/vention-icon/svg/custom-help-fill.svg +3 -0
- package/src/lib/components/vention-icon/svg/custom-help.svg +5 -0
- package/src/lib/components/vention-icon/svg/custom-info-1.svg +3 -0
- package/src/lib/components/vention-icon/svg/custom-info-bold-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/custom-info-bold.svg +5 -0
- package/src/lib/components/vention-icon/svg/custom-info.svg +5 -0
- package/src/lib/components/vention-icon/svg/custom-point-to-point.svg +5 -0
- package/src/lib/components/vention-icon/svg/custom-rocket-fat.svg +6 -0
- package/src/lib/components/vention-icon/svg/custom-rocket.svg +6 -0
- package/src/lib/components/vention-icon/svg/dashboard.svg +6 -0
- package/src/lib/components/vention-icon/svg/decline.svg +4 -0
- package/src/lib/components/vention-icon/svg/device-laptop.svg +3 -0
- package/src/lib/components/vention-icon/svg/device-tv.svg +3 -0
- package/src/lib/components/vention-icon/svg/devices-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/dimensions.svg +10 -0
- package/src/lib/components/vention-icon/svg/dots-vertical.svg +5 -0
- package/src/lib/components/vention-icon/svg/dots.svg +5 -0
- package/src/lib/components/vention-icon/svg/download-off.svg +3 -0
- package/src/lib/components/vention-icon/svg/download.svg +3 -0
- package/src/lib/components/vention-icon/svg/edit.svg +3 -0
- package/src/lib/components/vention-icon/svg/electric-actuator.svg +5 -0
- package/src/lib/components/vention-icon/svg/exclamation-mark.svg +3 -0
- package/src/lib/components/vention-icon/svg/external-link.svg +3 -0
- package/src/lib/components/vention-icon/svg/eye-closed.svg +3 -0
- package/src/lib/components/vention-icon/svg/eye.svg +4 -0
- package/src/lib/components/vention-icon/svg/file-3-d.svg +3 -0
- package/src/lib/components/vention-icon/svg/file-code.svg +3 -0
- package/src/lib/components/vention-icon/svg/file-description.svg +3 -0
- package/src/lib/components/vention-icon/svg/file-download.svg +3 -0
- package/src/lib/components/vention-icon/svg/file-type-pdf.svg +3 -0
- package/src/lib/components/vention-icon/svg/file-upload.svg +3 -0
- package/src/lib/components/vention-icon/svg/file-wrong.svg +13 -0
- package/src/lib/components/vention-icon/svg/file.svg +3 -0
- package/src/lib/components/vention-icon/svg/filter.svg +3 -0
- package/src/lib/components/vention-icon/svg/focus.svg +3 -0
- package/src/lib/components/vention-icon/svg/folder-open.svg +10 -0
- package/src/lib/components/vention-icon/svg/folder-plus-1.svg +12 -0
- package/src/lib/components/vention-icon/svg/folder.svg +3 -0
- package/src/lib/components/vention-icon/svg/frame-3.svg +3 -0
- package/src/lib/components/vention-icon/svg/function-icon.svg +3 -0
- package/src/lib/components/vention-icon/svg/git-branch-deleted.svg +3 -0
- package/src/lib/components/vention-icon/svg/git-branch.svg +3 -0
- package/src/lib/components/vention-icon/svg/git-compare.svg +3 -0
- package/src/lib/components/vention-icon/svg/git-fork.svg +3 -0
- package/src/lib/components/vention-icon/svg/git-merge.svg +3 -0
- package/src/lib/components/vention-icon/svg/gizmo.svg +3 -0
- package/src/lib/components/vention-icon/svg/graph.svg +3 -0
- package/src/lib/components/vention-icon/svg/grid-dots.svg +11 -0
- package/src/lib/components/vention-icon/svg/grip-horizontal.svg +8 -0
- package/src/lib/components/vention-icon/svg/grip-vertical.svg +8 -0
- package/src/lib/components/vention-icon/svg/gripper-1.svg +5 -0
- package/src/lib/components/vention-icon/svg/gripper-2.svg +5 -0
- package/src/lib/components/vention-icon/svg/hand-stop.svg +3 -0
- package/src/lib/components/vention-icon/svg/hash.svg +7 -0
- package/src/lib/components/vention-icon/svg/hb-menu.svg +3 -0
- package/src/lib/components/vention-icon/svg/headphones-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/headset-filled.svg +5 -0
- package/src/lib/components/vention-icon/svg/headset.svg +3 -0
- package/src/lib/components/vention-icon/svg/help-circle-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/help.svg +3 -0
- package/src/lib/components/vention-icon/svg/history-toggle.svg +3 -0
- package/src/lib/components/vention-icon/svg/history.svg +3 -0
- package/src/lib/components/vention-icon/svg/hmi.svg +6 -0
- package/src/lib/components/vention-icon/svg/home-2.svg +5 -0
- package/src/lib/components/vention-icon/svg/home-solid.svg +7 -0
- package/src/lib/components/vention-icon/svg/home.svg +3 -0
- package/src/lib/components/vention-icon/svg/hourglass-empty.svg +3 -0
- package/src/lib/components/vention-icon/svg/i-o.svg +6 -0
- package/src/lib/components/vention-icon/svg/icon-box-padding.svg +3 -0
- package/src/lib/components/vention-icon/svg/icon-components.svg +13 -0
- package/src/lib/components/vention-icon/svg/icon-nut.svg +4 -0
- package/src/lib/components/vention-icon/svg/icon-ruler-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/icon-square-rotated.svg +3 -0
- package/src/lib/components/vention-icon/svg/incline.svg +4 -0
- package/src/lib/components/vention-icon/svg/infinity.svg +3 -0
- package/src/lib/components/vention-icon/svg/info-circle-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/info-circle.svg +3 -0
- package/src/lib/components/vention-icon/svg/input-output.svg +11 -0
- package/src/lib/components/vention-icon/svg/io-link.svg +3 -0
- package/src/lib/components/vention-icon/svg/ipad-horizontal.svg +3 -0
- package/src/lib/components/vention-icon/svg/json.svg +3 -0
- package/src/lib/components/vention-icon/svg/lan.svg +3 -0
- package/src/lib/components/vention-icon/svg/language.svg +3 -0
- package/src/lib/components/vention-icon/svg/layout-sidebar-right.svg +4 -0
- package/src/lib/components/vention-icon/svg/legacy-axis.svg +4 -0
- package/src/lib/components/vention-icon/svg/legacy-robot.svg +3 -0
- package/src/lib/components/vention-icon/svg/letter-case.svg +3 -0
- package/src/lib/components/vention-icon/svg/line.svg +12 -0
- package/src/lib/components/vention-icon/svg/linear.svg +12 -0
- package/src/lib/components/vention-icon/svg/link.svg +3 -0
- package/src/lib/components/vention-icon/svg/list-check.svg +9 -0
- package/src/lib/components/vention-icon/svg/load-balancer.svg +3 -0
- package/src/lib/components/vention-icon/svg/lock.svg +3 -0
- package/src/lib/components/vention-icon/svg/logout.svg +3 -0
- package/src/lib/components/vention-icon/svg/machine-apps-headset.svg +4 -0
- package/src/lib/components/vention-icon/svg/machinelogic-2.svg +7 -0
- package/src/lib/components/vention-icon/svg/magnet.svg +5 -0
- package/src/lib/components/vention-icon/svg/mail-fast.svg +3 -0
- package/src/lib/components/vention-icon/svg/mail.svg +3 -0
- package/src/lib/components/vention-icon/svg/mailbox.svg +3 -0
- package/src/lib/components/vention-icon/svg/math-equal-greater.svg +3 -0
- package/src/lib/components/vention-icon/svg/math-equal-lower.svg +3 -0
- package/src/lib/components/vention-icon/svg/maximize.svg +3 -0
- package/src/lib/components/vention-icon/svg/menu-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/menu-waffle.svg +11 -0
- package/src/lib/components/vention-icon/svg/menu.svg +3 -0
- package/src/lib/components/vention-icon/svg/merge.svg +3 -0
- package/src/lib/components/vention-icon/svg/message-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/message-chatbot.svg +3 -0
- package/src/lib/components/vention-icon/svg/message-circle-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/message-circle.svg +3 -0
- package/src/lib/components/vention-icon/svg/message-dots.svg +3 -0
- package/src/lib/components/vention-icon/svg/message.svg +3 -0
- package/src/lib/components/vention-icon/svg/messages.svg +3 -0
- package/src/lib/components/vention-icon/svg/microphone.svg +3 -0
- package/src/lib/components/vention-icon/svg/minus-vertical.svg +3 -0
- package/src/lib/components/vention-icon/svg/minus.svg +3 -0
- package/src/lib/components/vention-icon/svg/mirror-flip-horizontal.svg +3 -0
- package/src/lib/components/vention-icon/svg/mirror-flip-vertical.svg +3 -0
- package/src/lib/components/vention-icon/svg/module-1.svg +13 -0
- package/src/lib/components/vention-icon/svg/module-2.svg +9 -0
- package/src/lib/components/vention-icon/svg/module-3.svg +6 -0
- package/src/lib/components/vention-icon/svg/module-4.svg +4 -0
- package/src/lib/components/vention-icon/svg/motor-1.svg +9 -0
- package/src/lib/components/vention-icon/svg/motor-2.svg +9 -0
- package/src/lib/components/vention-icon/svg/motor-3.svg +16 -0
- package/src/lib/components/vention-icon/svg/motor-4.svg +3 -0
- package/src/lib/components/vention-icon/svg/motor-5.svg +5 -0
- package/src/lib/components/vention-icon/svg/move-to-ground.svg +3 -0
- package/src/lib/components/vention-icon/svg/movie.svg +3 -0
- package/src/lib/components/vention-icon/svg/multiplier.svg +12 -0
- package/src/lib/components/vention-icon/svg/music.svg +3 -0
- package/src/lib/components/vention-icon/svg/network-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/network-off.svg +3 -0
- package/src/lib/components/vention-icon/svg/network.svg +3 -0
- package/src/lib/components/vention-icon/svg/number-1.svg +10 -0
- package/src/lib/components/vention-icon/svg/number-2.svg +10 -0
- package/src/lib/components/vention-icon/svg/number-3.svg +11 -0
- package/src/lib/components/vention-icon/svg/number-4.svg +10 -0
- package/src/lib/components/vention-icon/svg/operator.svg +6 -0
- package/src/lib/components/vention-icon/svg/pdf.svg +3 -0
- package/src/lib/components/vention-icon/svg/phone-call.svg +3 -0
- package/src/lib/components/vention-icon/svg/phone-off.svg +3 -0
- package/src/lib/components/vention-icon/svg/phone.svg +3 -0
- package/src/lib/components/vention-icon/svg/photo.svg +3 -0
- package/src/lib/components/vention-icon/svg/pinned.svg +3 -0
- package/src/lib/components/vention-icon/svg/player-pause.svg +4 -0
- package/src/lib/components/vention-icon/svg/player-play-filled.svg +10 -0
- package/src/lib/components/vention-icon/svg/player-play.svg +3 -0
- package/src/lib/components/vention-icon/svg/player-record.svg +3 -0
- package/src/lib/components/vention-icon/svg/player-skip-back.svg +3 -0
- package/src/lib/components/vention-icon/svg/player-skip-forward.svg +3 -0
- package/src/lib/components/vention-icon/svg/player-stop-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/player-stop.svg +3 -0
- package/src/lib/components/vention-icon/svg/player-track-next.svg +4 -0
- package/src/lib/components/vention-icon/svg/player-track-prev.svg +4 -0
- package/src/lib/components/vention-icon/svg/plug-x.svg +3 -0
- package/src/lib/components/vention-icon/svg/plug.svg +3 -0
- package/src/lib/components/vention-icon/svg/plus.svg +3 -0
- package/src/lib/components/vention-icon/svg/pneumatic.svg +7 -0
- package/src/lib/components/vention-icon/svg/point-to-point-3.svg +4 -0
- package/src/lib/components/vention-icon/svg/point-to-point-check.svg +13 -0
- package/src/lib/components/vention-icon/svg/power.svg +3 -0
- package/src/lib/components/vention-icon/svg/programming.svg +5 -0
- package/src/lib/components/vention-icon/svg/pushbutton.svg +3 -0
- package/src/lib/components/vention-icon/svg/receipt-dollar.svg +3 -0
- package/src/lib/components/vention-icon/svg/receipt.svg +4 -0
- package/src/lib/components/vention-icon/svg/reference-frame-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/reference-frame.svg +8 -0
- package/src/lib/components/vention-icon/svg/refresh-alert.svg +3 -0
- package/src/lib/components/vention-icon/svg/refresh-off.svg +3 -0
- package/src/lib/components/vention-icon/svg/refresh.svg +3 -0
- package/src/lib/components/vention-icon/svg/reload.svg +3 -0
- package/src/lib/components/vention-icon/svg/repeat.svg +3 -0
- package/src/lib/components/vention-icon/svg/rewind-backward-15.svg +13 -0
- package/src/lib/components/vention-icon/svg/rewind-forward-15.svg +13 -0
- package/src/lib/components/vention-icon/svg/robot-arm-2.svg +8 -0
- package/src/lib/components/vention-icon/svg/robot-arm-duotone-2.svg +8 -0
- package/src/lib/components/vention-icon/svg/robot-arm.svg +10 -0
- package/src/lib/components/vention-icon/svg/robot-face.svg +3 -0
- package/src/lib/components/vention-icon/svg/rotary.svg +5 -0
- package/src/lib/components/vention-icon/svg/route-square.svg +3 -0
- package/src/lib/components/vention-icon/svg/row-insert-bottom.svg +3 -0
- package/src/lib/components/vention-icon/svg/row-insert-top.svg +3 -0
- package/src/lib/components/vention-icon/svg/ruler-measure-2.svg +18 -0
- package/src/lib/components/vention-icon/svg/ruler.svg +3 -0
- package/src/lib/components/vention-icon/svg/save.svg +3 -0
- package/src/lib/components/vention-icon/svg/search.svg +3 -0
- package/src/lib/components/vention-icon/svg/selector.svg +3 -0
- package/src/lib/components/vention-icon/svg/send.svg +3 -0
- package/src/lib/components/vention-icon/svg/sensor.svg +5 -0
- package/src/lib/components/vention-icon/svg/sensor1.svg +6 -0
- package/src/lib/components/vention-icon/svg/sensor2.svg +6 -0
- package/src/lib/components/vention-icon/svg/sequence.svg +13 -0
- package/src/lib/components/vention-icon/svg/setting-automation.svg +5 -0
- package/src/lib/components/vention-icon/svg/settings-2.svg +4 -0
- package/src/lib/components/vention-icon/svg/settings-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/settings.svg +4 -0
- package/src/lib/components/vention-icon/svg/shield-code.svg +5 -0
- package/src/lib/components/vention-icon/svg/shield-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/shield-half.svg +3 -0
- package/src/lib/components/vention-icon/svg/shield.svg +3 -0
- package/src/lib/components/vention-icon/svg/shopping-bag.svg +3 -0
- package/src/lib/components/vention-icon/svg/shopping-cart-filled.svg +3 -0
- package/src/lib/components/vention-icon/svg/shopping-cart.svg +3 -0
- package/src/lib/components/vention-icon/svg/show-3d.svg +11 -0
- package/src/lib/components/vention-icon/svg/sitemap-1.svg +3 -0
- package/src/lib/components/vention-icon/svg/sitemap.svg +3 -0
- package/src/lib/components/vention-icon/svg/slash.svg +3 -0
- package/src/lib/components/vention-icon/svg/speedtest.svg +3 -0
- package/src/lib/components/vention-icon/svg/sphere.svg +3 -0
- package/src/lib/components/vention-icon/svg/square-number-0.svg +4 -0
- package/src/lib/components/vention-icon/svg/square-number-1.svg +4 -0
- package/src/lib/components/vention-icon/svg/square-number-2.svg +4 -0
- package/src/lib/components/vention-icon/svg/square-number-3.svg +4 -0
- package/src/lib/components/vention-icon/svg/stack.svg +3 -0
- package/src/lib/components/vention-icon/svg/star.svg +3 -0
- package/src/lib/components/vention-icon/svg/state-machine.svg +4 -0
- package/src/lib/components/vention-icon/svg/status-danger-hmi.svg +3 -0
- package/src/lib/components/vention-icon/svg/status-small.svg +3 -0
- package/src/lib/components/vention-icon/svg/status-warning-hmi.svg +3 -0
- package/src/lib/components/vention-icon/svg/stopwatch.svg +13 -0
- package/src/lib/components/vention-icon/svg/subtask.svg +3 -0
- package/src/lib/components/vention-icon/svg/switch-horizontal.svg +6 -0
- package/src/lib/components/vention-icon/svg/switch-vertical.svg +3 -0
- package/src/lib/components/vention-icon/svg/tag.svg +4 -0
- package/src/lib/components/vention-icon/svg/target.svg +5 -0
- package/src/lib/components/vention-icon/svg/template.svg +14 -0
- package/src/lib/components/vention-icon/svg/terminal-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/terminal.svg +3 -0
- package/src/lib/components/vention-icon/svg/text-plus-1.svg +15 -0
- package/src/lib/components/vention-icon/svg/timeline.svg +3 -0
- package/src/lib/components/vention-icon/svg/tiny-caret-down.svg +3 -0
- package/src/lib/components/vention-icon/svg/tiny-caret-right.svg +3 -0
- package/src/lib/components/vention-icon/svg/tool-1.svg +3 -0
- package/src/lib/components/vention-icon/svg/tool.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-bus.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-complex.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-full-hierarchy.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-full.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-ring-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-ring-3.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-ring.svg +3 -0
- package/src/lib/components/vention-icon/svg/topology-star-3.svg +3 -0
- package/src/lib/components/vention-icon/svg/trash.svg +3 -0
- package/src/lib/components/vention-icon/svg/trending-up.svg +11 -0
- package/src/lib/components/vention-icon/svg/truck-delivery.svg +3 -0
- package/src/lib/components/vention-icon/svg/truck-loading.svg +3 -0
- package/src/lib/components/vention-icon/svg/un-pinned.svg +4 -0
- package/src/lib/components/vention-icon/svg/unlink.svg +3 -0
- package/src/lib/components/vention-icon/svg/update.svg +11 -0
- package/src/lib/components/vention-icon/svg/upload.svg +3 -0
- package/src/lib/components/vention-icon/svg/user-circle.svg +5 -0
- package/src/lib/components/vention-icon/svg/user-off.svg +6 -0
- package/src/lib/components/vention-icon/svg/user-plus.svg +3 -0
- package/src/lib/components/vention-icon/svg/user-shield.svg +6 -0
- package/src/lib/components/vention-icon/svg/user.svg +3 -0
- package/src/lib/components/vention-icon/svg/users-plus.svg +3 -0
- package/src/lib/components/vention-icon/svg/users.svg +3 -0
- package/src/lib/components/vention-icon/svg/variable.svg +3 -0
- package/src/lib/components/vention-icon/svg/vention.svg +3 -0
- package/src/lib/components/vention-icon/svg/versions.svg +3 -0
- package/src/lib/components/vention-icon/svg/video.svg +4 -0
- package/src/lib/components/vention-icon/svg/web-link.svg +3 -0
- package/src/lib/components/vention-icon/svg/weight-2.svg +3 -0
- package/src/lib/components/vention-icon/svg/weight.svg +4 -0
- package/src/lib/components/vention-icon/svg/wifi-low.svg +3 -0
- package/src/lib/components/vention-icon/svg/wifi-lowest.svg +3 -0
- package/src/lib/components/vention-icon/svg/wifi-off.svg +3 -0
- package/src/lib/components/vention-icon/svg/wifi.svg +3 -0
- package/src/lib/components/vention-icon/svg/world-download.svg +3 -0
- package/src/lib/components/vention-icon/svg/world.svg +3 -0
- package/src/lib/components/vention-icon/svg/xyz-1.svg +5 -0
- package/src/lib/components/vention-icon/svg/xyz-2.svg +5 -0
- package/src/lib/components/vention-icon/svgo.config.js +19 -0
- package/src/lib/components/vention-icon/svgr-duotone.config.js +13 -0
- package/src/lib/components/vention-icon/svgr.config.js +11 -0
- package/src/lib/components/vention-icon/vention-icon.stories.tsx +63 -0
- package/src/lib/components/vention-icon/vention-icon.test.tsx +62 -0
- package/src/lib/components/vention-icon/vention-icon.tsx +62 -0
- package/src/lib/components/vention-link/vention-link.stories.tsx +20 -0
- package/src/lib/components/vention-link/vention-link.test.tsx +44 -0
- package/src/lib/components/vention-link/vention-link.tsx +88 -0
- package/src/lib/components/vention-menu/vention-menu-context.ts +13 -0
- package/src/lib/components/vention-menu/vention-menu-item/vention-menu-child-item.tsx +104 -0
- package/src/lib/components/vention-menu/vention-menu-item/vention-menu-divider.tsx +33 -0
- package/src/lib/components/vention-menu/vention-menu-item/vention-menu-header.tsx +30 -0
- package/src/lib/components/vention-menu/vention-menu-item/vention-menu-item.tsx +25 -0
- package/src/lib/components/vention-menu/vention-menu-item/vention-menu-parent-item.tsx +84 -0
- package/src/lib/components/vention-menu/vention-menu-list.tsx +66 -0
- package/src/lib/components/vention-menu/vention-menu-styling-helpers.ts +151 -0
- package/src/lib/components/vention-menu/vention-menu.stories.tsx +119 -0
- package/src/lib/components/vention-menu/vention-menu.test.tsx +234 -0
- package/src/lib/components/vention-menu/vention-menu.tsx +44 -0
- package/src/lib/components/vention-modal/vention-modal.stories.tsx +204 -0
- package/src/lib/components/vention-modal/vention-modal.test.tsx +181 -0
- package/src/lib/components/vention-modal/vention-modal.tsx +232 -0
- package/src/lib/components/vention-modal-banner/vention-modal-banner.test.tsx +104 -0
- package/src/lib/components/vention-modal-banner/vention-modal-banner.tsx +120 -0
- package/src/lib/components/vention-modal-banner/vention-modal.banner.stories.tsx +138 -0
- package/src/lib/components/vention-modal-base/vention-modal-base.stories.tsx +95 -0
- package/src/lib/components/vention-modal-base/vention-modal-base.test.tsx +117 -0
- package/src/lib/components/vention-modal-base/vention-modal-base.tsx +149 -0
- package/src/lib/components/vention-popover/vention-popover.stories.tsx +30 -0
- package/src/lib/components/vention-popover/vention-popover.test.tsx +148 -0
- package/src/lib/components/vention-popover/vention-popover.tsx +211 -0
- package/src/lib/components/vention-progress-bar/vention-progress-bar.stories.tsx +84 -0
- package/src/lib/components/vention-progress-bar/vention-progress-bar.test.tsx +102 -0
- package/src/lib/components/vention-progress-bar/vention-progress-bar.tsx +119 -0
- package/src/lib/components/vention-radio/radio-model.ts +77 -0
- package/src/lib/components/vention-radio/vention-radio-tile/vention-radio-tile-control.tsx +38 -0
- package/src/lib/components/vention-radio/vention-radio-tile/vention-radio-tile-label.tsx +52 -0
- package/src/lib/components/vention-radio/vention-radio-tile/vention-radio-tile.stories.tsx +67 -0
- package/src/lib/components/vention-radio/vention-radio-tile/vention-radio-tile.test.tsx +88 -0
- package/src/lib/components/vention-radio/vention-radio-tile/vention-radio-tile.tsx +159 -0
- package/src/lib/components/vention-radio/vention-radio.stories.tsx +62 -0
- package/src/lib/components/vention-radio/vention-radio.test.tsx +90 -0
- package/src/lib/components/vention-radio/vention-radio.tsx +174 -0
- package/src/lib/components/vention-select/vention-select.stories.tsx +224 -0
- package/src/lib/components/vention-select/vention-select.test.tsx +348 -0
- package/src/lib/components/vention-select/vention-select.tsx +295 -0
- package/src/lib/components/vention-sidebar-item/vention-sidebar-item.stories.tsx +27 -0
- package/src/lib/components/vention-sidebar-item/vention-sidebar-item.test.tsx +45 -0
- package/src/lib/components/vention-sidebar-item/vention-sidebar-item.tsx +82 -0
- package/src/lib/components/vention-slider/vention-slider.stories.tsx +65 -0
- package/src/lib/components/vention-slider/vention-slider.test.tsx +35 -0
- package/src/lib/components/vention-slider/vention-slider.tsx +74 -0
- package/src/lib/components/vention-spinner/vention-spinner.test.tsx +176 -0
- package/src/lib/components/vention-spinner/vention-spinner.tsx +213 -0
- package/src/lib/components/vention-spinner/vention.spinner.stories.tsx +67 -0
- package/src/lib/components/vention-status-dot/vention-status-dot.stories.tsx +24 -0
- package/src/lib/components/vention-status-dot/vention-status-dot.test.tsx +44 -0
- package/src/lib/components/vention-status-dot/vention-status-dot.tsx +52 -0
- package/src/lib/components/vention-status-indicator/vention-status-indicator.stories.tsx +49 -0
- package/src/lib/components/vention-status-indicator/vention-status-indicator.test.tsx +50 -0
- package/src/lib/components/vention-status-indicator/vention-status-indicator.tsx +205 -0
- package/src/lib/components/vention-stepper/vention-stepper.stories.tsx +141 -0
- package/src/lib/components/vention-stepper/vention-stepper.test.tsx +55 -0
- package/src/lib/components/vention-stepper/vention-stepper.tsx +127 -0
- package/src/lib/components/vention-steps/vention-steps.stories.tsx +45 -0
- package/src/lib/components/vention-steps/vention-steps.test.tsx +144 -0
- package/src/lib/components/vention-steps/vention-steps.tsx +305 -0
- package/src/lib/components/vention-switch/vention-switch.stories.tsx +48 -0
- package/src/lib/components/vention-switch/vention-switch.test.tsx +118 -0
- package/src/lib/components/vention-switch/vention-switch.tsx +189 -0
- package/src/lib/components/vention-tabs/vention-tabs.stories.tsx +28 -0
- package/src/lib/components/vention-tabs/vention-tabs.test.tsx +40 -0
- package/src/lib/components/vention-tabs/vention-tabs.tsx +61 -0
- package/src/lib/components/vention-text-input/vention-text-input.stories.tsx +203 -0
- package/src/lib/components/vention-text-input/vention-text-input.test.tsx +635 -0
- package/src/lib/components/vention-text-input/vention-text-input.tsx +205 -0
- package/src/lib/components/vention-tooltip/vention-tooltip.stories.tsx +25 -0
- package/src/lib/components/vention-tooltip/vention-tooltip.test.tsx +19 -0
- package/src/lib/components/vention-tooltip/vention-tooltip.tsx +53 -0
- package/src/lib/components/vention-tree-item/vention-collapsible-caret-button.tsx +42 -0
- package/src/lib/components/vention-tree-item/vention-tree-item.stories.tsx +618 -0
- package/src/lib/components/vention-tree-item/vention-tree-item.test.tsx +561 -0
- package/src/lib/components/vention-tree-item/vention-tree-item.tsx +401 -0
- package/src/lib/components/vention-uploadfile/vention-uploadfile-utils.tsx +115 -0
- package/src/lib/components/vention-uploadfile/vention-uploadfile.stories.tsx +69 -0
- package/src/lib/components/vention-uploadfile/vention-uploadfile.test.tsx +88 -0
- package/src/lib/components/vention-uploadfile/vention-uploadfile.tsx +122 -0
- package/src/lib/testing/utils.tsx +26 -0
- package/src/lib/theme/colors.ts +80 -0
- package/src/lib/theme/machine-ui-theme.ts +718 -0
- package/src/lib/theme/typography.ts +188 -0
- package/src/lib/utilities.ts +15 -0
- package/src/scripts/generate-icon-types.test.ts +91 -0
- package/src/scripts/generate-icon-types.ts +97 -0
- package/tsconfig.icon-generator.json +10 -0
- package/tsconfig.json +24 -0
- package/tsconfig.lib.json +23 -0
- package/tsconfig.spec.json +20 -0
- package/tsconfig.storybook.json +33 -0
- package/tsconfig.types.json +9 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M18.0884 9.12332C17.6438 9.12332 17.2832 8.75925 17.2832 8.31052C17.2832 7.86179 17.6438 7.49807 18.0884 7.49807C18.5329 7.49807 18.8935 7.86179 18.8935 8.31052C18.8935 8.75925 18.5329 9.12332 18.0884 9.12332ZM11.9678 16.1285C11.5233 16.1285 11.1627 15.7647 11.1627 15.316C11.1627 14.8673 11.5233 14.5036 11.9678 14.5036C12.4124 14.5036 12.773 14.8673 12.773 15.316C12.773 15.7647 12.4124 16.1285 11.9678 16.1285ZM5.92181 9.12332C5.47726 9.12332 5.11668 8.75925 5.11668 8.31052C5.11668 7.86179 5.47726 7.49807 5.92181 7.49807C6.36636 7.49807 6.72695 7.86179 6.72695 8.31052C6.72695 8.75925 6.36671 9.12332 5.92181 9.12332ZM19.3269 6.86678L19.3004 6.84518C18.9681 6.56786 18.5479 6.41527 18.1173 6.41527C17.5609 6.41527 17.039 6.66297 16.6847 7.09498L12.0006 12.8114L7.31573 7.09498C6.96142 6.66262 6.43952 6.41492 5.88349 6.41492C5.45287 6.41492 5.03271 6.56751 4.7007 6.84449L4.67387 6.86678C4.29133 7.18591 4.05512 7.63638 4.00844 8.13493C3.96175 8.63348 4.10982 9.12019 4.42651 9.50655L10.4899 16.9054C10.8439 17.3374 11.3661 17.5851 11.9222 17.5851C11.9483 17.5851 11.9741 17.5826 11.9999 17.5816C12.0263 17.5826 12.0525 17.5851 12.0793 17.5851C12.635 17.5851 13.1572 17.337 13.5115 16.905L19.5746 9.50621C20.2275 8.70978 20.1164 7.52559 19.3269 6.86643V6.86678Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7 7V17M4 8V16M10 7C10 6.46957 10.2107 5.96086 10.5858 5.58579C10.9609 5.21071 11.4696 5 12 5H18C18.5304 5 19.0391 5.21071 19.4142 5.58579C19.7893 5.96086 20 6.46957 20 7V17C20 17.5304 19.7893 18.0391 19.4142 18.4142C19.0391 18.7893 18.5304 19 18 19H12C11.4696 19 10.9609 18.7893 10.5858 18.4142C10.2107 18.0391 10 17.5304 10 17V7Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15 10L19.553 7.724C19.7054 7.64783 19.8748 7.61188 20.045 7.61954C20.2152 7.62721 20.3806 7.67824 20.5256 7.7678C20.6706 7.85736 20.7902 7.98247 20.8733 8.13127C20.9563 8.28006 20.9999 8.44761 21 8.618V15.382C20.9999 15.5524 20.9563 15.7199 20.8733 15.8687C20.7902 16.0175 20.6706 16.1426 20.5256 16.2322C20.3806 16.3218 20.2152 16.3728 20.045 16.3805C19.8748 16.3881 19.7054 16.3522 19.553 16.276L15 14V10Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M3 8C3 7.46957 3.21071 6.96086 3.58579 6.58579C3.96086 6.21071 4.46957 6 5 6H13C13.5304 6 14.0391 6.21071 14.4142 6.58579C14.7893 6.96086 15 7.46957 15 8V16C15 16.5304 14.7893 17.0391 14.4142 17.4142C14.0391 17.7893 13.5304 18 13 18H5C4.46957 18 3.96086 17.7893 3.58579 17.4142C3.21071 17.0391 3 16.5304 3 16V8Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 6H6C5.46957 6 4.96086 6.21071 4.58579 6.58579C4.21071 6.96086 4 7.46957 4 8V18C4 18.5304 4.21071 19.0391 4.58579 19.4142C4.96086 19.7893 5.46957 20 6 20H16C16.5304 20 17.0391 19.7893 17.4142 19.4142C17.7893 19.0391 18 18.5304 18 18V12M11 13L20 4M20 4H15M20 4V9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2 12H3M6 8H4C3.73478 8 3.48043 8.10536 3.29289 8.29289C3.10536 8.48043 3 8.73478 3 9V15C3 15.2652 3.10536 15.5196 3.29289 15.7071C3.48043 15.8946 3.73478 16 4 16H6M9 12H15M18 8H20C20.2652 8 20.5196 8.10536 20.7071 8.29289C20.8946 8.48043 21 8.73478 21 9V15C21 15.2652 20.8946 15.5196 20.7071 15.7071C20.5196 15.8946 20.2652 16 20 16H18M22 12H21M6 7V17C6 17.2652 6.10536 17.5196 6.29289 17.7071C6.48043 17.8946 6.73478 18 7 18H8C8.26522 18 8.51957 17.8946 8.70711 17.7071C8.89464 17.5196 9 17.2652 9 17V7C9 6.73478 8.89464 6.48043 8.70711 6.29289C8.51957 6.10536 8.26522 6 8 6H7C6.73478 6 6.48043 6.10536 6.29289 6.29289C6.10536 6.48043 6 6.73478 6 7ZM15 7V17C15 17.2652 15.1054 17.5196 15.2929 17.7071C15.4804 17.8946 15.7348 18 16 18H17C17.2652 18 17.5196 17.8946 17.7071 17.7071C17.8946 17.5196 18 17.2652 18 17V7C18 6.73478 17.8946 6.48043 17.7071 6.29289C17.5196 6.10536 17.2652 6 17 6H16C15.7348 6 15.4804 6.10536 15.2929 6.29289C15.1054 6.48043 15 6.73478 15 7Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9 6C9 6.79565 9.31607 7.55871 9.87868 8.12132C10.4413 8.68393 11.2044 9 12 9C12.7956 9 13.5587 8.68393 14.1213 8.12132C14.6839 7.55871 15 6.79565 15 6C15 5.20435 14.6839 4.44129 14.1213 3.87868C13.5587 3.31607 12.7956 3 12 3C11.2044 3 10.4413 3.31607 9.87868 3.87868C9.31607 4.44129 9 5.20435 9 6Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M6.8349 9H17.1649C17.3991 8.99996 17.6259 9.08213 17.8057 9.23216C17.9855 9.3822 18.107 9.59059 18.1489 9.821L19.7859 18.821C19.8121 18.9651 19.8064 19.1133 19.769 19.2549C19.7317 19.3966 19.6637 19.5283 19.5698 19.6408C19.4759 19.7532 19.3585 19.8437 19.2258 19.9058C19.0931 19.9679 18.9484 20 18.8019 20H5.1979C5.05141 20 4.9067 19.9679 4.77401 19.9058C4.64131 19.8437 4.52388 19.7532 4.43001 19.6408C4.33615 19.5283 4.26813 19.3966 4.23079 19.2549C4.19345 19.1133 4.18768 18.9651 4.2139 18.821L5.8509 9.821C5.89283 9.59059 6.01429 9.3822 6.19411 9.23216C6.37393 9.08213 6.60071 8.99996 6.8349 9Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 18H12.01M9.17188 15.172C9.92199 14.4221 10.9392 14.0009 11.9999 14.0009C13.0605 14.0009 14.0778 14.4221 14.8279 15.172M6.34277 12.343C7.08565 11.6001 7.96758 11.0108 8.93821 10.6087C9.90884 10.2066 10.9492 9.99969 11.9998 9.99969C13.0504 9.99969 14.0907 10.2066 15.0613 10.6087C16.032 11.0108 16.9139 11.6001 17.6568 12.343" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 18H12.01M9.17188 15.172C9.92199 14.4221 10.9392 14.0009 11.9999 14.0009C13.0605 14.0009 14.0778 14.4221 14.8279 15.172" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 18H12.01M9.17188 15.172C9.92199 14.4221 10.9392 14.0009 11.9999 14.0009C13.0605 14.0009 14.0778 14.4221 14.8279 15.172M6.34277 12.343C7.4032 11.2796 8.74274 10.5377 10.2068 10.203M14.3698 10.358C15.6124 10.746 16.741 11.4327 17.6568 12.358M3.51514 9.515C4.53858 8.48943 5.73928 7.65767 7.05914 7.06M10.1601 6.14C12.0252 5.8508 13.9322 6.00562 15.7263 6.59187C17.5203 7.17811 19.1507 8.17927 20.4851 9.514M3 3L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 18H12.01M9.17188 15.172C9.92199 14.4221 10.9392 14.0009 11.9999 14.0009C13.0605 14.0009 14.0778 14.4221 14.8279 15.172M6.34277 12.343C7.08565 11.6001 7.96758 11.0108 8.93821 10.6087C9.90884 10.2066 10.9492 9.99969 11.9998 9.99969C13.0504 9.99969 14.0907 10.2066 15.0613 10.6087C16.032 11.0108 16.9139 11.6001 17.6568 12.343M3.51514 9.51501C8.20114 4.82801 15.7991 4.82801 20.5151 9.51501" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 12C21 10.22 20.4722 8.47991 19.4832 6.99987C18.4943 5.51983 17.0887 4.36628 15.4442 3.68509C13.7996 3.0039 11.99 2.82567 10.2442 3.17294C8.49836 3.5202 6.89472 4.37737 5.63604 5.63604C4.37737 6.89472 3.5202 8.49836 3.17294 10.2442C2.82567 11.99 3.0039 13.7996 3.68509 15.4442C4.36628 17.0887 5.51983 18.4943 6.99987 19.4832C8.47991 20.4722 10.22 21 12 21M3.6001 9H20.4001M3.6001 15H12.0001M11.5778 3C9.89314 5.69961 9 8.81787 9 12C9 15.1821 9.89314 18.3004 11.5778 21M12.5 3C14.219 5.755 15 8.876 15 12M18 14V21M18 21L15 18M18 21L21 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.6001 9H20.4001M3.6001 15H20.4001M11.5002 3C9.8155 5.69961 8.92236 8.81787 8.92236 12C8.92236 15.1821 9.8155 18.3004 11.5002 21M12.5 3C14.1847 5.69961 15.0778 8.81787 15.0778 12C15.0778 15.1821 14.1847 18.3004 12.5 21M3 12C3 13.1819 3.23279 14.3522 3.68508 15.4442C4.13738 16.5361 4.80031 17.5282 5.63604 18.364C6.47177 19.1997 7.46392 19.8626 8.55585 20.3149C9.64778 20.7672 10.8181 21 12 21C13.1819 21 14.3522 20.7672 15.4442 20.3149C16.5361 19.8626 17.5282 19.1997 18.364 18.364C19.1997 17.5282 19.8626 16.5361 20.3149 15.4442C20.7672 14.3522 21 13.1819 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4.6665 15.3333L7.33317 20.6666M4.6665 20.6666L7.33317 15.3333" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M16.6665 15.3333L17.9998 18.6666M17.9998 18.6666L19.3332 15.3333M17.9998 18.6666V20.6666" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M10.6665 3.33331H13.3332L10.6665 8.66665H13.3332" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.3558 14L18.1558 16.9045H18.2104L20.0104 14H21.0058L18.8104 17.4909L21.0058 20.9818H20.0104L18.2104 18.1318H18.1558L16.3558 20.9818H15.3604L17.6104 17.4909L15.3604 14H16.3558Z" fill="currentColor"/>
|
|
3
|
+
<path d="M3.04091 20.9818V20.3682L6.80455 14.75H3V14H7.81364V14.6136L4.05 20.2318H7.85455V20.9818H3.04091Z" fill="currentColor"/>
|
|
4
|
+
<path d="M9.04541 3H10.0136L11.95 6.25909H12.0318L13.9681 3H14.9363L12.4136 7.10455V9.98182H11.5681V7.10455L9.04541 3Z" fill="currentColor"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: [
|
|
3
|
+
{
|
|
4
|
+
name: "convertColors",
|
|
5
|
+
params: {
|
|
6
|
+
currentColor: true,
|
|
7
|
+
},
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
name: "addAttributesToSVGElement",
|
|
11
|
+
params: {
|
|
12
|
+
attributes: [{ fill: "currentColor" }],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: "removeDimensions",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
typescript: true,
|
|
3
|
+
filenameCase: "kebab",
|
|
4
|
+
index: false,
|
|
5
|
+
svgo: false, // Disable SVGO to prevent color stripping
|
|
6
|
+
// Disable automatic color replacement
|
|
7
|
+
replaceAttrValues: {},
|
|
8
|
+
// Use standard plugins
|
|
9
|
+
plugins: ["@svgr/plugin-jsx", "@svgr/plugin-prettier"],
|
|
10
|
+
svgProps: {
|
|
11
|
+
// Preserve original SVG attributes
|
|
12
|
+
},
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
typescript: true,
|
|
3
|
+
filenameCase: "kebab",
|
|
4
|
+
index: false,
|
|
5
|
+
svgo: false, // SVGO is run separately before SVGR
|
|
6
|
+
// Use standard plugins
|
|
7
|
+
plugins: ["@svgr/plugin-jsx", "@svgr/plugin-prettier"],
|
|
8
|
+
svgProps: {
|
|
9
|
+
// Preserve original SVG attributes
|
|
10
|
+
},
|
|
11
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
+
|
|
3
|
+
import { VentionIcon } from "./vention-icon"
|
|
4
|
+
import React, { ComponentProps, useState } from "react"
|
|
5
|
+
import { iconImports, duotoneIconImports, IconType, DuotoneIconType } from "./_generated/icon-types"
|
|
6
|
+
import { VentionTextInput } from "../vention-text-input/vention-text-input"
|
|
7
|
+
|
|
8
|
+
const meta: Meta<typeof VentionIcon> = {
|
|
9
|
+
component: VentionIcon,
|
|
10
|
+
title: "Components/VentionIcon",
|
|
11
|
+
}
|
|
12
|
+
export default meta
|
|
13
|
+
type Story = StoryObj<typeof VentionIcon>
|
|
14
|
+
|
|
15
|
+
export const Default: Story = {
|
|
16
|
+
args: {
|
|
17
|
+
size: 24,
|
|
18
|
+
type: "alert-circle",
|
|
19
|
+
},
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const GridView = ({ size = 24, color, hoverColor }: ComponentProps<typeof VentionIcon>) => {
|
|
23
|
+
const [search, setSearch] = useState("")
|
|
24
|
+
|
|
25
|
+
const regularIcons = Object.keys(iconImports) as IconType[]
|
|
26
|
+
const duotoneIcons = Object.keys(duotoneIconImports) as DuotoneIconType[]
|
|
27
|
+
const allIcons: (IconType | DuotoneIconType)[] = [...regularIcons, ...duotoneIcons]
|
|
28
|
+
|
|
29
|
+
const filteredIcons = allIcons.filter(icon => icon.toLowerCase().includes(search.toLowerCase()))
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<div style={{ padding: "16px", display: "flex", flexDirection: "column", gap: "8px" }}>
|
|
33
|
+
<VentionTextInput
|
|
34
|
+
label="Search Icons"
|
|
35
|
+
value={search}
|
|
36
|
+
onChange={event => setSearch(event.target.value)}
|
|
37
|
+
variant="outlined"
|
|
38
|
+
size="medium"
|
|
39
|
+
style={{ width: "300px" }}
|
|
40
|
+
/>
|
|
41
|
+
<div style={{ display: "flex", flexWrap: "wrap", gap: "12px" }}>
|
|
42
|
+
{filteredIcons.map(filteredIcon => (
|
|
43
|
+
<div
|
|
44
|
+
key={filteredIcon}
|
|
45
|
+
style={{
|
|
46
|
+
textAlign: "center",
|
|
47
|
+
display: "flex",
|
|
48
|
+
flexDirection: "column",
|
|
49
|
+
alignItems: "center",
|
|
50
|
+
gap: "8px",
|
|
51
|
+
border: "1px solid #ccc",
|
|
52
|
+
borderRadius: "8px",
|
|
53
|
+
padding: "12px",
|
|
54
|
+
}}
|
|
55
|
+
>
|
|
56
|
+
<VentionIcon size={size} type={filteredIcon} color={color} hoverColor={hoverColor} />
|
|
57
|
+
<div style={{ fontFamily: "monospace", fontSize: "10px" }}>{filteredIcon}</div>
|
|
58
|
+
</div>
|
|
59
|
+
))}
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
)
|
|
63
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import "@testing-library/jest-dom"
|
|
2
|
+
|
|
3
|
+
import { renderWithTheme } from "../../testing/utils"
|
|
4
|
+
import { IconType, DuotoneIconType, VentionIcon } from "./vention-icon"
|
|
5
|
+
import { iconImports, duotoneIconImports } from "./_generated/icon-types"
|
|
6
|
+
|
|
7
|
+
describe("<VentionIcon />", () => {
|
|
8
|
+
it("should render", async () => {
|
|
9
|
+
const { findByTestId } = renderWithTheme(<VentionIcon type="alert-circle" />)
|
|
10
|
+
|
|
11
|
+
expect(await findByTestId("icon-alert-circle-root")).toBeInTheDocument()
|
|
12
|
+
expect(await findByTestId("icon-alert-circle")).toBeInTheDocument()
|
|
13
|
+
})
|
|
14
|
+
it("should be able to set color", async () => {
|
|
15
|
+
const { findByTestId } = renderWithTheme(<VentionIcon type="alert-circle" color="blue" />)
|
|
16
|
+
|
|
17
|
+
expect(await findByTestId("icon-alert-circle")).toBeInTheDocument()
|
|
18
|
+
expect(await findByTestId("icon-alert-circle")).toHaveStyle("color: blue")
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
it("should be able to use a custom dataTestId", async () => {
|
|
22
|
+
const { findByTestId } = renderWithTheme(<VentionIcon type="alert-circle" dataTestId="custom-test-id" />)
|
|
23
|
+
|
|
24
|
+
expect(await findByTestId("custom-test-id")).toBeInTheDocument()
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
// Dynamically test all regular icon types
|
|
28
|
+
Object.keys(iconImports).forEach((key: IconType) => {
|
|
29
|
+
it(`should render regular icon type: ${key}`, async () => {
|
|
30
|
+
const { findByTestId } = renderWithTheme(<VentionIcon type={key} />)
|
|
31
|
+
|
|
32
|
+
expect(await findByTestId(`icon-${key.toLowerCase()}`)).toBeInTheDocument()
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
// Dynamically test all duotone icon types
|
|
37
|
+
Object.keys(duotoneIconImports).forEach((key: DuotoneIconType) => {
|
|
38
|
+
it(`should render duotone icon type: ${key}`, async () => {
|
|
39
|
+
const { findByTestId } = renderWithTheme(<VentionIcon type={key} />)
|
|
40
|
+
|
|
41
|
+
expect(await findByTestId(`icon-${key.toLowerCase()}`)).toBeInTheDocument()
|
|
42
|
+
})
|
|
43
|
+
})
|
|
44
|
+
|
|
45
|
+
it("should render duotone icon with sizing but without color styling", async () => {
|
|
46
|
+
const { findByTestId } = renderWithTheme(<VentionIcon type="duotone-conveyor" size={32} />)
|
|
47
|
+
|
|
48
|
+
const iconElement = await findByTestId("icon-duotone-conveyor")
|
|
49
|
+
expect(iconElement).toBeInTheDocument()
|
|
50
|
+
expect(iconElement).toHaveStyle("height: 32px")
|
|
51
|
+
expect(iconElement).toHaveStyle("width: 32px")
|
|
52
|
+
expect(iconElement).not.toHaveStyle("color: rgb(0, 0, 0)")
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
it("should render regular icon with color styling", async () => {
|
|
56
|
+
const { findByTestId } = renderWithTheme(<VentionIcon type="alert-circle" color="red" />)
|
|
57
|
+
|
|
58
|
+
const iconElement = await findByTestId("icon-alert-circle")
|
|
59
|
+
expect(iconElement).toBeInTheDocument()
|
|
60
|
+
expect(iconElement).toHaveStyle("color: red")
|
|
61
|
+
})
|
|
62
|
+
})
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { tss } from "tss-react/mui"
|
|
2
|
+
|
|
3
|
+
import { iconImports, duotoneIconImports, IconType, DuotoneIconType } from "./_generated/icon-types"
|
|
4
|
+
import { Suspense, memo } from "react"
|
|
5
|
+
|
|
6
|
+
export type { IconType, DuotoneIconType }
|
|
7
|
+
|
|
8
|
+
interface VentionIconProps {
|
|
9
|
+
type: IconType | DuotoneIconType
|
|
10
|
+
size?: number
|
|
11
|
+
color?: string
|
|
12
|
+
hoverColor?: string
|
|
13
|
+
dataTestId?: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const VentionIcon = memo((props: VentionIconProps) => {
|
|
17
|
+
const { classes } = useStyles({
|
|
18
|
+
size: props.size || 24,
|
|
19
|
+
color: props.color,
|
|
20
|
+
hoverColor: props.hoverColor,
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
const isDuotoneIcon = props.type in duotoneIconImports
|
|
24
|
+
const IconSvg = isDuotoneIcon ? duotoneIconImports[props.type as DuotoneIconType] : iconImports[props.type as IconType]
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<div className={classes.root} data-testid={props.dataTestId || `icon-${String(props.type)}-root`}>
|
|
28
|
+
<Suspense fallback={null}>
|
|
29
|
+
<IconSvg className={isDuotoneIcon ? classes.duotoneIcon : classes.icon} data-testid={`icon-${String(props.type)}`} />
|
|
30
|
+
</Suspense>
|
|
31
|
+
</div>
|
|
32
|
+
)
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
VentionIcon.displayName = "VentionIcon"
|
|
36
|
+
|
|
37
|
+
const useStyles = tss
|
|
38
|
+
.withParams<Pick<VentionIconProps, "size" | "color" | "hoverColor">>()
|
|
39
|
+
.create(({ theme, size, color, hoverColor }) => ({
|
|
40
|
+
root: {
|
|
41
|
+
width: size,
|
|
42
|
+
height: size,
|
|
43
|
+
display: "flex",
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
justifyContent: "center",
|
|
46
|
+
},
|
|
47
|
+
icon: {
|
|
48
|
+
color: color ?? theme.palette.icon.primary,
|
|
49
|
+
transition: "color 0.1s ease-in-out",
|
|
50
|
+
height: size,
|
|
51
|
+
width: size,
|
|
52
|
+
strokeWidth: theme.custom.iconStrokeWidth,
|
|
53
|
+
"&:hover": {
|
|
54
|
+
color: hoverColor,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
duotoneIcon: {
|
|
58
|
+
height: size,
|
|
59
|
+
width: size,
|
|
60
|
+
strokeWidth: theme.custom.iconStrokeWidth,
|
|
61
|
+
},
|
|
62
|
+
}))
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react"
|
|
2
|
+
|
|
3
|
+
import { VentionLink } from "./vention-link"
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof VentionLink> = {
|
|
6
|
+
component: VentionLink,
|
|
7
|
+
title: "Components/VentionLink",
|
|
8
|
+
argTypes: {
|
|
9
|
+
onClick: { action: "link onClick executed!" },
|
|
10
|
+
},
|
|
11
|
+
}
|
|
12
|
+
export default meta
|
|
13
|
+
type Story = StoryObj<typeof VentionLink>
|
|
14
|
+
|
|
15
|
+
export const Primary: Story = {
|
|
16
|
+
args: {
|
|
17
|
+
labelText: "Link",
|
|
18
|
+
size: "medium",
|
|
19
|
+
},
|
|
20
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import "@testing-library/jest-dom"
|
|
2
|
+
|
|
3
|
+
import { fireEvent } from "@testing-library/react"
|
|
4
|
+
|
|
5
|
+
import { renderWithTheme } from "../../testing/utils"
|
|
6
|
+
import { VentionLink } from "./vention-link"
|
|
7
|
+
|
|
8
|
+
const handleClickMock = jest.fn()
|
|
9
|
+
describe("VentionLink", () => {
|
|
10
|
+
it("should render the link with the correct text", () => {
|
|
11
|
+
const linkText = "Click me"
|
|
12
|
+
const { getByText } = renderWithTheme(<VentionLink labelText={linkText} size="medium" onClick={handleClickMock} />)
|
|
13
|
+
const linkElement = getByText(linkText)
|
|
14
|
+
expect(linkElement).toBeInTheDocument()
|
|
15
|
+
})
|
|
16
|
+
|
|
17
|
+
it("should call the onClick function when the link is clicked", () => {
|
|
18
|
+
const { getByText } = renderWithTheme(
|
|
19
|
+
<VentionLink labelText="Click me" size="large" underlined={false} external={false} onClick={handleClickMock} />
|
|
20
|
+
)
|
|
21
|
+
const linkElement = getByText("Click me")
|
|
22
|
+
fireEvent.click(linkElement)
|
|
23
|
+
expect(handleClickMock).toHaveBeenCalled()
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
it("should call the onClick function when the link is clicked with minimal props", () => {
|
|
27
|
+
const { getByText } = renderWithTheme(<VentionLink labelText="Click me" size="large" onClick={handleClickMock} />)
|
|
28
|
+
const linkElement = getByText("Click me")
|
|
29
|
+
fireEvent.click(linkElement)
|
|
30
|
+
expect(handleClickMock).toHaveBeenCalled()
|
|
31
|
+
})
|
|
32
|
+
|
|
33
|
+
it("should be retrievable with a default data-testid", () => {
|
|
34
|
+
const { getByTestId } = renderWithTheme(<VentionLink labelText="Click me" size="large" onClick={handleClickMock} />)
|
|
35
|
+
expect(getByTestId("ventionLink")).toBeInTheDocument()
|
|
36
|
+
})
|
|
37
|
+
|
|
38
|
+
it("should support a custom data-testid prop", () => {
|
|
39
|
+
const { getByTestId } = renderWithTheme(
|
|
40
|
+
<VentionLink labelText="Click me" size="large" onClick={handleClickMock} data-testid="testId" />
|
|
41
|
+
)
|
|
42
|
+
expect(getByTestId("testId")).toBeInTheDocument()
|
|
43
|
+
})
|
|
44
|
+
})
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Button } from "@mui/material"
|
|
2
|
+
import { IconExternalLink } from "@tabler/icons-react"
|
|
3
|
+
import { tss } from "tss-react/mui"
|
|
4
|
+
|
|
5
|
+
import { applyDefaultProps } from "../../utilities"
|
|
6
|
+
import { Sizes, StrictExtract } from "../../theme/machine-ui-theme"
|
|
7
|
+
|
|
8
|
+
interface VentionLinkProps {
|
|
9
|
+
onClick: () => void
|
|
10
|
+
size?: StrictExtract<Sizes, "medium" | "large">
|
|
11
|
+
labelText?: string
|
|
12
|
+
disabled?: boolean
|
|
13
|
+
underlined?: boolean
|
|
14
|
+
external?: boolean
|
|
15
|
+
"data-testid"?: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const defaultProps: Partial<VentionLinkProps> = {
|
|
19
|
+
size: "medium",
|
|
20
|
+
labelText: "Button",
|
|
21
|
+
disabled: false,
|
|
22
|
+
underlined: true,
|
|
23
|
+
external: true,
|
|
24
|
+
"data-testid": "ventionLink",
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const VentionLink = (inputProps: VentionLinkProps) => {
|
|
28
|
+
const linkProps = applyDefaultProps(inputProps, defaultProps)
|
|
29
|
+
|
|
30
|
+
const { classes } = useStyles({ underlined: linkProps.underlined, size: linkProps.size })
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<Button
|
|
34
|
+
className={classes.root}
|
|
35
|
+
disableRipple
|
|
36
|
+
disabled={linkProps.disabled}
|
|
37
|
+
onClick={linkProps.onClick}
|
|
38
|
+
data-testid={linkProps["data-testid"]}
|
|
39
|
+
>
|
|
40
|
+
{linkProps.labelText}
|
|
41
|
+
{linkProps.external ? (
|
|
42
|
+
<IconExternalLink stroke={1.25} size={linkProps.size === "medium" ? 14 : 16} className={classes.linkIcon} />
|
|
43
|
+
) : null}
|
|
44
|
+
</Button>
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const useStyles = tss.withParams<Pick<VentionLinkProps, "underlined" | "size">>().create(({ underlined, size, theme }) => {
|
|
49
|
+
const { buttonText } = theme.palette
|
|
50
|
+
const textColor = buttonText.brand
|
|
51
|
+
const textColorOnDisable = buttonText.tertiary
|
|
52
|
+
const borderBottomActive = underlined ? `1px solid ${textColor}` : "none"
|
|
53
|
+
const borderBottomHover = underlined ? `1px solid ${textColor}60` : "none"
|
|
54
|
+
const borderBottom = underlined ? `1px solid ${textColor}20` : "none"
|
|
55
|
+
const fontSize = size === "medium" ? "12px" : "14px"
|
|
56
|
+
const lineHeight = size === "medium" ? "16px" : "24px"
|
|
57
|
+
|
|
58
|
+
return {
|
|
59
|
+
root: {
|
|
60
|
+
width: "fit-content",
|
|
61
|
+
backgroundColor: "transparent",
|
|
62
|
+
color: textColor,
|
|
63
|
+
borderBottom: borderBottom,
|
|
64
|
+
borderRadius: 0,
|
|
65
|
+
padding: 0,
|
|
66
|
+
minWidth: 0,
|
|
67
|
+
fontSize: fontSize,
|
|
68
|
+
lineHeight: lineHeight,
|
|
69
|
+
fontWeight: 400,
|
|
70
|
+
"&:hover": {
|
|
71
|
+
borderBottom: borderBottomHover,
|
|
72
|
+
backgroundColor: "transparent",
|
|
73
|
+
},
|
|
74
|
+
"&:active": {
|
|
75
|
+
borderBottom: borderBottomActive,
|
|
76
|
+
},
|
|
77
|
+
"&:disabled": {
|
|
78
|
+
color: textColorOnDisable,
|
|
79
|
+
cursor: "not-allowed",
|
|
80
|
+
},
|
|
81
|
+
fontFamily: "Inter",
|
|
82
|
+
textTransform: "none",
|
|
83
|
+
},
|
|
84
|
+
linkIcon: {
|
|
85
|
+
paddingLeft: 2,
|
|
86
|
+
},
|
|
87
|
+
}
|
|
88
|
+
})
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createContext } from "react"
|
|
2
|
+
import { VentionMenuProps } from "./vention-menu"
|
|
3
|
+
|
|
4
|
+
export type VentionMenuContextProps = Required<Pick<VentionMenuProps, "closeMenuOnClick" | "size" | "menuWidth">> & {
|
|
5
|
+
closeMenu: () => void
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const VentionMenuContext = createContext<VentionMenuContextProps>({
|
|
9
|
+
closeMenuOnClick: false,
|
|
10
|
+
size: "small",
|
|
11
|
+
menuWidth: "280px",
|
|
12
|
+
closeMenu: () => undefined,
|
|
13
|
+
})
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { forwardRef, useContext, useImperativeHandle, useRef } from "react"
|
|
2
|
+
import { VentionMenuContext } from "../vention-menu-context"
|
|
3
|
+
import { getIconSizeGivenMenuSize, getStylingPropertiesGivenProps, getTextVariantGivenSize } from "../vention-menu-styling-helpers"
|
|
4
|
+
import { ListItemIcon, ListItemText, MenuItem, Typography } from "@mui/material"
|
|
5
|
+
import { VentionIcon } from "../../vention-icon/vention-icon"
|
|
6
|
+
import { VentionMenuItemProps } from "./vention-menu-item"
|
|
7
|
+
import { VentionMenuProps } from "../vention-menu"
|
|
8
|
+
import { tss } from "tss-react/mui"
|
|
9
|
+
|
|
10
|
+
interface VentionMenuChildItemProps extends Omit<VentionMenuItemProps, "subMenuItems"> {
|
|
11
|
+
hasSubMenu?: boolean
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const VentionMenuChildItem = forwardRef<HTMLLIElement | null, VentionMenuChildItemProps>((props, ref) => {
|
|
15
|
+
const {
|
|
16
|
+
labelText,
|
|
17
|
+
onClick,
|
|
18
|
+
disabled,
|
|
19
|
+
leftElement,
|
|
20
|
+
shortcutKey,
|
|
21
|
+
closeMenuOnClick,
|
|
22
|
+
customID,
|
|
23
|
+
focused = false,
|
|
24
|
+
hasSubMenu = false,
|
|
25
|
+
"data-testid": dataTestId = "menuOption",
|
|
26
|
+
children,
|
|
27
|
+
} = props
|
|
28
|
+
const { closeMenuOnClick: menuCloseMenuOnClick, closeMenu, size } = useContext(VentionMenuContext)
|
|
29
|
+
const { classes } = useStyles({ size, focused })
|
|
30
|
+
|
|
31
|
+
const shouldCloseMenuOnClick = closeMenuOnClick ?? menuCloseMenuOnClick
|
|
32
|
+
const variant = getTextVariantGivenSize(size)
|
|
33
|
+
|
|
34
|
+
const menuItemRef = useRef<HTMLLIElement | null>(null)
|
|
35
|
+
useImperativeHandle(ref, () => menuItemRef.current)
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<MenuItem
|
|
39
|
+
ref={menuItemRef}
|
|
40
|
+
data-testid={dataTestId}
|
|
41
|
+
className={classes.root}
|
|
42
|
+
disableRipple
|
|
43
|
+
disabled={disabled}
|
|
44
|
+
id={customID}
|
|
45
|
+
onClick={event => {
|
|
46
|
+
onClick?.(event)
|
|
47
|
+
if (shouldCloseMenuOnClick) {
|
|
48
|
+
closeMenu()
|
|
49
|
+
}
|
|
50
|
+
}}
|
|
51
|
+
>
|
|
52
|
+
{leftElement && <ListItemIcon className={classes.icon}>{leftElement}</ListItemIcon>}
|
|
53
|
+
<ListItemText>
|
|
54
|
+
<Typography className={classes.clampedText} variant={variant} noWrap justifyContent={"start"}>
|
|
55
|
+
{labelText ?? children}
|
|
56
|
+
</Typography>
|
|
57
|
+
</ListItemText>
|
|
58
|
+
<Typography variant={variant}>{shortcutKey && shortcutKey}</Typography>
|
|
59
|
+
{hasSubMenu && <VentionIcon type="chevron-right" size={getIconSizeGivenMenuSize(size)} />}
|
|
60
|
+
</MenuItem>
|
|
61
|
+
)
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
type StylingParams = Pick<VentionMenuProps, "size"> & Pick<VentionMenuItemProps, "focused">
|
|
65
|
+
const useStyles = tss.withParams<StylingParams>().create(({ size, focused, theme }) => {
|
|
66
|
+
const stylingProperties = getStylingPropertiesGivenProps(size, theme)
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
root: {
|
|
70
|
+
alignItems: "center",
|
|
71
|
+
backgroundColor: focused ? theme.palette.button.shaded : theme.palette.common.white,
|
|
72
|
+
color: theme.palette.buttonText.primary,
|
|
73
|
+
height: stylingProperties.itemHeight,
|
|
74
|
+
padding: stylingProperties.itemPadding,
|
|
75
|
+
margin: 0,
|
|
76
|
+
marginRight: stylingProperties.itemMargin,
|
|
77
|
+
marginLeft: stylingProperties.itemMargin,
|
|
78
|
+
textTransform: "none",
|
|
79
|
+
justifyContent: "start",
|
|
80
|
+
borderRadius: stylingProperties.borderRadius,
|
|
81
|
+
gap: stylingProperties.gap,
|
|
82
|
+
"&:disabled": {
|
|
83
|
+
color: theme.palette.buttonText.primaryDisabled,
|
|
84
|
+
cursor: "not-allowed",
|
|
85
|
+
},
|
|
86
|
+
"&:hover": {
|
|
87
|
+
backgroundColor: theme.palette.button.shaded,
|
|
88
|
+
},
|
|
89
|
+
"& .MuiListItemIcon-root": {
|
|
90
|
+
minWidth: "unset",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
icon: {
|
|
94
|
+
height: stylingProperties.iconHeight,
|
|
95
|
+
width: stylingProperties.iconHeight,
|
|
96
|
+
color: theme.palette.icon.primary,
|
|
97
|
+
alignItems: "center",
|
|
98
|
+
marginRight: theme.spacing(1),
|
|
99
|
+
},
|
|
100
|
+
clampedText: {
|
|
101
|
+
display: "block",
|
|
102
|
+
},
|
|
103
|
+
}
|
|
104
|
+
})
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { tss } from "tss-react/mui"
|
|
2
|
+
import { getPaddingForMenuDividerSize } from "../vention-menu-styling-helpers"
|
|
3
|
+
import { MenuItem } from "@mui/material"
|
|
4
|
+
|
|
5
|
+
export interface VentionMenuHeaderProps {
|
|
6
|
+
size: "small" | "medium" | "large"
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const VentionMenuDivider = ({ size }: VentionMenuHeaderProps) => {
|
|
10
|
+
const { classes } = useStyles({ size })
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div className={classes.root}>
|
|
14
|
+
<MenuItem divider className={classes.divider} role="separator" />
|
|
15
|
+
</div>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
type StylingParams = Pick<VentionMenuHeaderProps, "size">
|
|
20
|
+
const useStyles = tss.withParams<StylingParams>().create(({ size }) => {
|
|
21
|
+
const stylingProperties = getPaddingForMenuDividerSize(size)
|
|
22
|
+
|
|
23
|
+
return {
|
|
24
|
+
root: {
|
|
25
|
+
padding: stylingProperties,
|
|
26
|
+
},
|
|
27
|
+
divider: {
|
|
28
|
+
padding: "0",
|
|
29
|
+
pointerEvents: "none",
|
|
30
|
+
cursor: "default",
|
|
31
|
+
},
|
|
32
|
+
}
|
|
33
|
+
})
|