Standardize modal buttons and delete confirmations
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
"tokensAndCss": [
|
||||
"src/styles/globals.css"
|
||||
],
|
||||
"colorUtilities": [
|
||||
"src/shared/lib/accentContrast.ts"
|
||||
],
|
||||
"topBar": [
|
||||
"src/widgets/top-bar/TopBar.tsx"
|
||||
],
|
||||
@@ -25,6 +28,7 @@
|
||||
"src/shared/ui/PortalDropdown.tsx",
|
||||
"src/shared/nodedc-ui/Dropdown.tsx",
|
||||
"src/shared/nodedc-ui/Select.tsx",
|
||||
"src/shared/nodedc-ui/DeleteModal.tsx",
|
||||
"src/shared/nodedc-ui/Calendar.tsx",
|
||||
"src/shared/nodedc-ui/ProfileMenu.tsx",
|
||||
"src/shared/nodedc-ui/index.ts"
|
||||
@@ -61,11 +65,20 @@
|
||||
"appHeader": [
|
||||
"plane-src/apps/web/core/components/core/app-header.tsx",
|
||||
"plane-src/apps/web/ce/components/common/extended-app-header.tsx"
|
||||
],
|
||||
"deleteModal": [
|
||||
"plane-src/packages/ui/src/modals/alert-modal.tsx",
|
||||
"plane-src/packages/ui/src/modals/modal-core.tsx"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"crossProjectMapping": [
|
||||
{
|
||||
"component": "button",
|
||||
"launcher": ["Button", "button--accent", "Button surface='modal'", "ServiceContentModal footer", "EntityModalFoot"],
|
||||
"taskManager": ["nodedc-modal-primary-button", "nodedc-modal-secondary-button", "nodedc-modal-danger-button"]
|
||||
},
|
||||
{
|
||||
"component": "dropdown-surface",
|
||||
"launcher": ["NodeDcDropdown", "nodedc-ui-dropdown-surface", "nodedc-dropdown-surface"],
|
||||
@@ -90,6 +103,16 @@
|
||||
"component": "admin-table",
|
||||
"launcher": ["ServicesSection", "ClientsSection", "UsersSection", "GroupsSection"],
|
||||
"taskManager": ["settings tables and external contour settings classes"]
|
||||
},
|
||||
{
|
||||
"component": "delete-modal",
|
||||
"launcher": ["NodeDcDeleteModal", "EntityModalFoot deleteConfig", "ServiceContentModal delete confirmation"],
|
||||
"taskManager": ["AlertModalCore", "ModalCore", "nodedc-glass-modal"]
|
||||
},
|
||||
{
|
||||
"component": "accent-contrast",
|
||||
"launcher": ["createNodedcAccentStyleVars", "getReadableNodedcTextRgb"],
|
||||
"taskManager": ["packages/utils/src/theme/nodedc-accent.ts", "--nodedc-on-accent-rgb"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user