@imfusion/web-ui 0.11.1-dev.5.g8a97f4f6 → 0.11.1-dev.7.gf073da2b
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/CHANGELOG.md +8 -0
- package/dist/{code-NTcddiYk.js → code-Cl9AzRyF.js} +5 -5
- package/dist/icons/catalog.gen.d.ts +28 -0
- package/dist/icons/icons.gen.d.ts +4 -0
- package/dist/{icons-BsK_o-Cb.js → icons-vc1WZCxX.js} +1027 -879
- package/dist/icons.js +1 -1
- package/dist/index.js +254 -254
- package/dist/integrations/code-highlight.js +1 -1
- package/dist/integrations/image-display-options.js +1 -1
- package/dist/{tabs-CU46aGud.js → tabs-DsDSCA--.js} +3 -3
- package/package.json +1 -1
- package/src/llms/icon-catalog.gen.json +32 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
- `minWidth` and the `BreakpointName` type are exported, so `useMediaQuery(minWidth("md"))` works as the `styling` topic
|
|
8
8
|
shows. — Nikolaus Brunner <brunner@imfusion.com>
|
|
9
|
+
- `@imfusion/web-ui/icons` adds four viewport layout icons in the Layout category: `LayoutAuto`, `LayoutRows`,
|
|
10
|
+
`LayoutFocusPlusStack`, and `LayoutFocusPlusRows`. [Iconography](src/icons/iconography.stories.tsx#Iconography)
|
|
11
|
+
— Stephan Wenninger <wenninger@imfusion.com>
|
|
9
12
|
|
|
10
13
|
### Changed
|
|
11
14
|
|
|
@@ -14,6 +17,11 @@
|
|
|
14
17
|
- The `project-structure` topic keeps a route's only view, such as a form, in the route file and moves views to the `-`
|
|
15
18
|
folder only when the page composes several. `imf-web-ui-audit` reports by views, not line counts.
|
|
16
19
|
- The `imf-web-ui-conventions` audit checklist names the assets box "Photographs: WebP", like its topic heading.
|
|
20
|
+
- `web-ui-dev-new-component`, `web-ui-dev-update-component`, and `web-ui-dev-design-component` draft on the shared
|
|
21
|
+
Web UI Component Drafts canvas: a block per component on its Storybook group's page, one row per fidelity rung.
|
|
22
|
+
- Documentation — Nikolaus Brunner <brunner@imfusion.com>
|
|
23
|
+
- `docs/design-system.md` describes the Web UI Component Drafts canvas, and `AGENTS.md` links it. A shipped component
|
|
24
|
+
keeps its block under an "Implemented" note that names its story.
|
|
17
25
|
|
|
18
26
|
### Fixed
|
|
19
27
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./resolve-state-props-DQf9WiGv.js";
|
|
2
|
-
import { Xo as t,
|
|
2
|
+
import { Xo as t, _M as n, ja as r } from "./icons-vc1WZCxX.js";
|
|
3
3
|
import { t as i } from "./meta-V_KyLeGn.js";
|
|
4
4
|
import { a, i as o, n as s, o as c, s as l } from "./scroll-area-z9Lf9uIk.js";
|
|
5
5
|
import { cx as u } from "class-variance-authority";
|
|
@@ -34,7 +34,7 @@ var x = {
|
|
|
34
34
|
InlineLink: () => w
|
|
35
35
|
});
|
|
36
36
|
function C({ copyable: e = !1, children: i, render: a, ...o }) {
|
|
37
|
-
let { copied: s, copy: c } = b(), l = g(null), u = s ?
|
|
37
|
+
let { copied: s, copy: c } = b(), l = g(null), u = s ? r : t;
|
|
38
38
|
return y({
|
|
39
39
|
defaultTagName: "code",
|
|
40
40
|
render: a,
|
|
@@ -53,7 +53,7 @@ function C({ copyable: e = !1, children: i, render: a, ...o }) {
|
|
|
53
53
|
"data-copied": s || void 0,
|
|
54
54
|
"aria-label": s ? "Copied" : "Copy",
|
|
55
55
|
onClick: () => c(l.current?.textContent ?? ""),
|
|
56
|
-
children: /* @__PURE__ */ f(
|
|
56
|
+
children: /* @__PURE__ */ f(n, {
|
|
57
57
|
glyph: u,
|
|
58
58
|
size: 12,
|
|
59
59
|
strokeWidth: 2,
|
|
@@ -87,7 +87,7 @@ function w({ kind: e = "external", ...t }) {
|
|
|
87
87
|
}
|
|
88
88
|
w.displayName = "Code.InlineLink";
|
|
89
89
|
function T({ className: e, language: i, hideCopy: d = !1, children: m, ...h }) {
|
|
90
|
-
let { copied: _, copy: v } = b(), y = g(null), S = _ ?
|
|
90
|
+
let { copied: _, copy: v } = b(), y = g(null), S = _ ? r : t;
|
|
91
91
|
return /* @__PURE__ */ p("div", {
|
|
92
92
|
"data-imf-ui-component": "Code.Block",
|
|
93
93
|
className: u(x.block, e),
|
|
@@ -102,7 +102,7 @@ function T({ className: e, language: i, hideCopy: d = !1, children: m, ...h }) {
|
|
|
102
102
|
"data-copied": _ || void 0,
|
|
103
103
|
"aria-label": _ ? "Copied" : "Copy",
|
|
104
104
|
onClick: () => v(y.current?.textContent ?? ""),
|
|
105
|
-
children: /* @__PURE__ */ f(
|
|
105
|
+
children: /* @__PURE__ */ f(n, {
|
|
106
106
|
glyph: S,
|
|
107
107
|
size: 12,
|
|
108
108
|
strokeWidth: 2,
|
|
@@ -6011,6 +6011,27 @@ export declare const ICON_CATALOG: readonly [{
|
|
|
6011
6011
|
readonly style: "regular";
|
|
6012
6012
|
readonly origin: "iconoir";
|
|
6013
6013
|
readonly file: "regular/laptop-warning.svg";
|
|
6014
|
+
}, {
|
|
6015
|
+
readonly name: "LayoutAuto";
|
|
6016
|
+
readonly category: "Layout";
|
|
6017
|
+
readonly tags: readonly ["layout", "auto", "masonry", "viewports", "tiles", "grid"];
|
|
6018
|
+
readonly style: "regular";
|
|
6019
|
+
readonly origin: "imfusion";
|
|
6020
|
+
readonly file: "regular/layout-auto.svg";
|
|
6021
|
+
}, {
|
|
6022
|
+
readonly name: "LayoutFocusPlusRows";
|
|
6023
|
+
readonly category: "Layout";
|
|
6024
|
+
readonly tags: readonly ["layout", "focus", "rows", "main viewport", "viewports", "split"];
|
|
6025
|
+
readonly style: "regular";
|
|
6026
|
+
readonly origin: "imfusion";
|
|
6027
|
+
readonly file: "regular/layout-focus-plus-rows.svg";
|
|
6028
|
+
}, {
|
|
6029
|
+
readonly name: "LayoutFocusPlusStack";
|
|
6030
|
+
readonly category: "Layout";
|
|
6031
|
+
readonly tags: readonly ["layout", "focus", "stack", "main viewport", "sidebar", "viewports"];
|
|
6032
|
+
readonly style: "regular";
|
|
6033
|
+
readonly origin: "imfusion";
|
|
6034
|
+
readonly file: "regular/layout-focus-plus-stack.svg";
|
|
6014
6035
|
}, {
|
|
6015
6036
|
readonly name: "LayoutLeft";
|
|
6016
6037
|
readonly category: "Layout";
|
|
@@ -6025,6 +6046,13 @@ export declare const ICON_CATALOG: readonly [{
|
|
|
6025
6046
|
readonly style: "regular";
|
|
6026
6047
|
readonly origin: "iconoir";
|
|
6027
6048
|
readonly file: "regular/layout-right.svg";
|
|
6049
|
+
}, {
|
|
6050
|
+
readonly name: "LayoutRows";
|
|
6051
|
+
readonly category: "Layout";
|
|
6052
|
+
readonly tags: readonly ["layout", "rows", "viewports", "grid", "2x2", "tiles"];
|
|
6053
|
+
readonly style: "regular";
|
|
6054
|
+
readonly origin: "imfusion";
|
|
6055
|
+
readonly file: "regular/layout-rows.svg";
|
|
6028
6056
|
}, {
|
|
6029
6057
|
readonly name: "Leaderboard";
|
|
6030
6058
|
readonly category: "Activities";
|
|
@@ -857,8 +857,12 @@ export declare const LaptopCharging: import('.').IconComponent;
|
|
|
857
857
|
export declare const LaptopDevMode: import('.').IconComponent;
|
|
858
858
|
export declare const LaptopFix: import('.').IconComponent;
|
|
859
859
|
export declare const LaptopWarning: import('.').IconComponent;
|
|
860
|
+
export declare const LayoutAuto: import('.').IconComponent;
|
|
861
|
+
export declare const LayoutFocusPlusRows: import('.').IconComponent;
|
|
862
|
+
export declare const LayoutFocusPlusStack: import('.').IconComponent;
|
|
860
863
|
export declare const LayoutLeft: import('.').IconComponent;
|
|
861
864
|
export declare const LayoutRight: import('.').IconComponent;
|
|
865
|
+
export declare const LayoutRows: import('.').IconComponent;
|
|
862
866
|
export declare const Leaderboard: import('.').IconComponent;
|
|
863
867
|
export declare const LeaderboardStar: import('.').IconComponent;
|
|
864
868
|
export declare const Leaf: import('.').IconComponent;
|