@lotics/ui 1.2.0 → 1.3.1

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/src/icon.tsx CHANGED
@@ -52,6 +52,7 @@ import CircleAlert from "lucide-react-native/dist/esm/icons/circle-alert";
52
52
  import CircleCheck from "lucide-react-native/dist/esm/icons/circle-check";
53
53
  import Clock from "lucide-react-native/dist/esm/icons/clock";
54
54
  import Code from "lucide-react-native/dist/esm/icons/code";
55
+ import CodeXml from "lucide-react-native/dist/esm/icons/code-xml";
55
56
  import Columns3 from "lucide-react-native/dist/esm/icons/columns-3";
56
57
  import Columns3Cog from "lucide-react-native/dist/esm/icons/columns-3-cog";
57
58
  import Construction from "lucide-react-native/dist/esm/icons/construction";
@@ -100,6 +101,7 @@ import LayoutGrid from "lucide-react-native/dist/esm/icons/layout-grid";
100
101
  import LibraryBig from "lucide-react-native/dist/esm/icons/library-big";
101
102
  import List from "lucide-react-native/dist/esm/icons/list";
102
103
  import ListChecks from "lucide-react-native/dist/esm/icons/list-checks";
104
+ import ListOrdered from "lucide-react-native/dist/esm/icons/list-ordered";
103
105
  import ListCollapse from "lucide-react-native/dist/esm/icons/list-collapse";
104
106
  import ListFilter from "lucide-react-native/dist/esm/icons/list-filter";
105
107
  import ListFilterPlus from "lucide-react-native/dist/esm/icons/list-filter-plus";
@@ -238,6 +240,7 @@ const iconComponents = {
238
240
  "circle-check": CircleCheck,
239
241
  clock: Clock,
240
242
  code: Code,
243
+ "code-xml": CodeXml,
241
244
  "columns-3": Columns3,
242
245
  "columns-3-cog": Columns3Cog,
243
246
  construction: Construction,
@@ -287,6 +290,7 @@ const iconComponents = {
287
290
  "layout-grid": LayoutGrid,
288
291
  list: List,
289
292
  "list-checks": ListChecks,
293
+ "list-ordered": ListOrdered,
290
294
  "list-collapse": ListCollapse,
291
295
  "list-filter": ListFilter,
292
296
  "list-filter-plus": ListFilterPlus,
package/src/index.css CHANGED
@@ -340,4 +340,7 @@ html {
340
340
  font loading because paths differ per platform:
341
341
  - Frontend: /fonts/Inter_*.woff2 (served from public/)
342
342
  - Extension: fonts/Inter_*.woff2 (relative, in dist/fonts/)
343
- See frontend/public/fonts/ and browser_extension/public/fonts.css */
343
+ See frontend/public/fonts/ and browser_extension/public/fonts.css.
344
+ Contexts without a stable font-file path (custom-code apps served under the
345
+ /v1/apps/{id}/asset/ proxy) can `import "@lotics/ui/fonts.css"` — a
346
+ path-independent base64 @font-face bundle. See src/fonts.css. */
package/src/portal.tsx CHANGED
@@ -11,6 +11,7 @@ import {
11
11
  ReactNode,
12
12
  } from "react";
13
13
  import { Platform, View, StyleSheet } from "react-native";
14
+ import { createPortal } from "./dom_portal";
14
15
 
15
16
  /**
16
17
  * Cross-platform portal system inspired by Base UI and @gorhom/portal.
@@ -137,8 +138,6 @@ export function Portal({ children }: { children: ReactNode }) {
137
138
  return null;
138
139
  }
139
140
 
140
- // eslint-disable-next-line @typescript-eslint/no-require-imports
141
- const { createPortal } = require("react-dom");
142
141
  return createPortal(children, target);
143
142
  }
144
143