Commit c7d4e7f
committed
improvement(emcn): extract design system into shared @sim/emcn package
Moves apps/sim/components/emcn into a shared @sim/emcn package consumed directly by apps/sim and apps/docs. cn/keyboard/use-copy-to-clipboard move into the package; all imports become direct @sim/emcn (icons via @sim/emcn/icons, CSS via file path). ChipModal email validation is now prop-driven (quickValidateEmail stays in apps/sim, injected via validate). Docs drops its local chip/chip-dropdown/dropdown-menu mirrors and consumes @sim/emcn.1 parent c596316 commit c7d4e7f
692 files changed
Lines changed: 1349 additions & 1771 deletions
File tree
- .claude/rules
- .cursor/rules
- apps
- docs
- app
- [lang]
- components
- ui
- sim
- app
- (auth)
- components
- login
- reset-password
- signup
- sso
- verify
- (landing)
- blog
- [slug]
- authors/[id]
- components
- tags
- components
- auth-modal
- collaboration
- contact
- demo-request
- features
- components
- hero
- landing-preview/components
- landing-preview-files
- landing-preview-home
- landing-preview-knowledge
- landing-preview-logs
- landing-preview-panel
- landing-preview-resource
- landing-preview-scheduled-tasks
- landing-preview-sidebar
- landing-preview-tables
- landing-preview-workflow
- pricing
- templates
- integrations
- (shell)
- [slug]
- components
- [slug]
- components
- models
- (shell)
- [provider]
- [model]
- [provider]
- [model]
- components
- privacy
- terms
- _shell/providers
- academy
- (catalog)/[courseSlug]/components
- [courseSlug]/[lessonSlug]/components
- components
- changelog
- components
- chat
- [identifier]
- components
- auth
- email
- password
- input
- loading-state
- message
- components
- voice-interface
- credential-account/[token]
- f/[token]
- invite
- [id]
- components
- playground
- resume/[workflowId]/[executionId]
- unsubscribe
- workspace/[workspaceId]
- components
- connect-oauth-modal
- conversation-list-item
- credential-detail
- components
- hooks
- error
- impersonation-banner
- message-actions
- resource
- components
- resource-header
- resource-options
- workspace-chrome
- files
- components
- action-bar
- delete-confirm-modal
- file-viewer
- rich-markdown-editor
- mention
- home
- components
- chat-context-kind-registry
- chat-message-attachments
- credits-chip
- message-content
- components
- agent-group
- chat-content
- special-tags
- mothership-chat
- components/mothership-chat-skeleton
- mothership-view
- components
- add-resource-dropdown
- resource-content
- components/generic-resource-content
- resource-registry
- resource-tabs
- queued-messages
- suggested-actions
- user-input
- components
- attached-files-list
- mic-button
- prompt-editor
- send-button
- user-message-content
- integrations
- [block]
- components
- connect-service-account-modal
- integration-tabs-header
- showcase-with-explore
- connected/[credentialId]
- knowledge
- [id]
- [documentId]
- components
- chunk-editor
- delete-chunk-modal
- document-tags-modal
- components
- action-bar
- add-connector-modal
- add-documents-modal
- base-tags-modal
- connector-config-fields
- connector-selector-field
- connectors-section
- edit-connector-modal
- rename-document-modal
- components
- base-card
- create-base-modal
- delete-knowledge-base-modal
- edit-knowledge-base-modal
- lib
- logs
- components
- dashboard
- components
- line-chart
- status-bar
- workflows-list
- log-details
- components
- execution-snapshot
- file-download
- trace-view
- providers
- scheduled-tasks
- components
- schedule-calendar/components
- calendar-event-chip
- calendar-toolbar
- month-grid
- time-grid
- task-delete-dialog
- task-details-modal
- task-modal
- settings
- components
- admin
- api-keys
- components/create-api-key-modal
- billing
- components/usage-limit-field
- byok
- copilot
- credential-sets
- custom-tools
- general
- inbox
- components
- inbox-enable-toggle
- inbox-settings-tab
- inbox-task-list
- mcp
- components/mcp-server-form-modal
- mothership
- recently-deleted
- save-discard-actions
- secrets
- components
- secret-value-field
- secrets-manager
- hooks
- settings-empty-state
- settings-panel
- team-management
- components
- manage-credits-modal
- no-organization-view
- organization-invite-modal
- organization-member-lists
- remove-member-dialog
- team-seats-overview
- transfer-ownership-dialog
- teammates
- workflow-mcp-servers
- components/create-workflow-mcp-server-modal
- secrets/[credentialId]
- skills
- components
- skill-import
- skill-modal
- tables
- [tableId]
- components
- column-config-sidebar
- enrichment-details
- enrichments-sidebar
- new-column-dropdown
- row-modal
- run-status-control
- sidebar-fields
- table-action-bar
- table-filter
- table-grid
- cells
- headers
- workflow-sidebar
- hooks
- components
- import-csv-dialog
- upgrade
- components
- billing-period-toggle
- comparison-table
- plan-card
- hooks
- w
- [workflowId]
- components
- action-bar
- chat
- components/output-select
- command-list
- error
- note-block
- panel
- components
- copilot/components/user-input/hooks
- deploy
- components/deploy-modal
- components
- api
- chat
- deploy-upgrade-gate
- general
- components
- mcp
- hooks
- editor
- components
- connection-blocks
- components/field-item
- sub-block
- components
- checkbox-list
- code
- combobox
- condition-input
- credential-selector
- document-tag-entry
- dropdown
- env-var-dropdown
- eval-input
- file-upload
- filter-builder
- components
- grouped-checkbox-list
- input-mapping
- knowledge-base-selector
- knowledge-tag-filters
- long-input
- mcp-dynamic-args
- mcp-server-modal
- messages-input
- schedule-info
- selector-combobox
- selector-input
- short-input
- skill-input
- slack-setup-wizard
- slider-input
- sort-builder
- components
- starter
- switch
- table-selector
- table
- tag-dropdown
- components
- time-input
- tool-input
- components
- code-editor
- custom-tool-modal
- tools
- variables-input
- subflow-editor
- hooks
- toolbar
- search-replace
- components/replacement-controls
- subflows
- terminal
- components
- filter-popover
- output-panel
- components
- status-display
- toggle-button
- variables
- wand-prompt-bar
- workflow-block
- workflow-controls
- hooks
- utils
- components
- preview
- components
- preview-editor
- preview-workflow
- components/subflow
- sidebar
- components
- file-list
- help-modal
- search-modal
- components
- command-items
- search-groups
- settings-sidebar
- workflow-list/components
- delete-modal
- folder-item
- workflow-item
- avatars
- workspace-header
- components
- create-workspace-modal
- fork-activity-panel
- fork-workspace-modal
- invite-modal
- promote-workspace-modal
- components
- blocks/blocks
- components
- emcn
- permissions
- ui
- ee
- access-control/components
- audit-logs
- components
- components
- data-drains
- components
- destinations
- data-retention/components
- sso/components
- whitelabeling/components
- enrichments
- email-verification
- work-email
- hooks
- mcp
- queries
- kb
- lib
- billing/client
- blog
- copilot/tools/client
- core
- stores/terminal/console
- packages/emcn
- src
- components
- avatar
- badge
- banner
- button-group
- button
- calendar
- checkbox
- chip-combobox
- chip-copy-input
- chip-date-picker
- chip-dropdown
- chip-input
- chip-modal
- chip-select
- chip-switch
- chip-tag
- chip-textarea
- chip-time-picker
- chip
- code
- collapsible-card
- combobox
- expandable
- field-divider
- info-card
- info
- input-otp
- input
- label
- modal
- popover
- progress-item
- secret-input
- secret-reveal
- skeleton
- slider
- switch
- table
- tag-input
- textarea
- time-picker
- toast
- tooltip
- wizard
- hooks
- icons
- animate
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | | - | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
| 111 | + | |
105 | 112 | | |
106 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
107 | 119 | | |
108 | 120 | | |
109 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments