Standardize NodeDC UI components
This commit is contained in:
@@ -16,12 +16,13 @@
|
||||
},
|
||||
{
|
||||
"project": "nodedc_launcher",
|
||||
"file": "src/shared/ui/PortalDropdown.tsx"
|
||||
"file": "src/shared/nodedc-ui/Dropdown.tsx",
|
||||
"exports": ["NodeDcDropdown"]
|
||||
},
|
||||
{
|
||||
"project": "nodedc_launcher",
|
||||
"file": "src/styles/globals.css",
|
||||
"classes": ["portal-dropdown", "nodedc-dropdown-surface"]
|
||||
"classes": ["nodedc-ui-dropdown-surface", "nodedc-dropdown-surface", "nodedc-ui-option", "nodedc-ui-dropdown-search"]
|
||||
}
|
||||
],
|
||||
"visualContract": {
|
||||
@@ -35,7 +36,7 @@
|
||||
"behaviorContract": [
|
||||
"Render on fixed/portal layer when inside cards, sidebars, tables, sticky headers, or scroll containers.",
|
||||
"Close on outside pointer and Escape.",
|
||||
"Use Popper or equivalent fixed-position placement.",
|
||||
"Use Popper or equivalent fixed-position placement based on trigger bounds.",
|
||||
"Default selection placement is bottom-start.",
|
||||
"Default action placement for card quick actions is bottom-start or bottom-end depending on anchor edge."
|
||||
],
|
||||
@@ -45,4 +46,3 @@
|
||||
"outline": "none"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user