complete UI CSS ownership remediation
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import Input from "@wrnexus/ui/components/input.wrn"
|
||||
import Modal from "@wrnexus/ui/components/Modal.wrn"
|
||||
import Toaster from "@wrnexus/ui/components/Toaster.wrn"
|
||||
|
||||
// Modal demo page. Route: /modal
|
||||
//
|
||||
// Five real-world use cases for the shared @wrnexus/ui Modal component — each
|
||||
@@ -9,13 +13,6 @@
|
||||
// this page. Any client expression can raise one with the runtime global —
|
||||
// toast("..."), toast.success(...), toast.error(...) — so pages never
|
||||
// hand-roll a status banner and never reach for a blocking alert().
|
||||
//
|
||||
// No import here on purpose: component tags resolve by directory scan, and
|
||||
// @wrnexus/ui's index.ts intentionally has no runtime exports (registry.ts
|
||||
// holds the server-only filesystem helpers instead) — an explicit
|
||||
// `import { Modal } from "@wrnexus/ui"` fails to bundle since there's no
|
||||
// matching export. The WRN-IMPORT-IMPLICIT warning this triggers is safe to
|
||||
// ignore for component tags.
|
||||
page ModalPage {
|
||||
|
||||
state noteText = "Remember to ship the release notes"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
import AdvancedSelect from "@wrnexus/ui/components/AdvancedSelect.wrn"
|
||||
import ComboBox from "@wrnexus/ui/components/Combobox.wrn"
|
||||
|
||||
// Component event test page. Route: /test
|
||||
//
|
||||
// Events bubble from the exact ComboBox or AdvancedSelect that emitted them.
|
||||
|
||||
Reference in New Issue
Block a user