@fuzdev/fuz_ui 0.201.0 → 0.202.0

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.
@@ -4,6 +4,9 @@
4
4
  import type {SvelteHTMLElements} from 'svelte/elements';
5
5
  import {scale, slide} from 'svelte/transition';
6
6
 
7
+ import {icon_checkmark, icon_copy} from './icons.js';
8
+ import Svg from './Svg.svelte';
9
+
7
10
  // TODO @many should this have the Button suffix?
8
11
 
9
12
  // TODO add docs entry, see also PasteFromClipboard.svelte
@@ -73,8 +76,8 @@
73
76
  {#if children}
74
77
  {@render children(copied, failed)}
75
78
  {:else if copied}
76
- <div in:scale={{duration: 200}}>✓</div>
79
+ <div in:scale={{duration: 200}}><Svg data={icon_checkmark} /></div>
77
80
  {:else}
78
- <div in:slide>⧉</div>
81
+ <div in:slide><Svg data={icon_copy} /></div>
79
82
  {/if}
80
83
  </button>
@@ -1 +1 @@
1
- {"version":3,"file":"CopyToClipboard.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/CopyToClipboard.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAGvD,KAAK,gBAAgB,GAAI,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAAG;IAC/E,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC;AA+DH,QAAA,MAAM,eAAe,sDAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"CopyToClipboard.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/CopyToClipboard.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAMvD,KAAK,gBAAgB,GAAI,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAAG;IAC/E,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACvD,CAAC;AAkEH,QAAA,MAAM,eAAe,sDAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
@@ -3,6 +3,8 @@
3
3
  import type {HTMLAttributes, SvelteHTMLElements} from 'svelte/elements';
4
4
 
5
5
  import {dialog_context, type DialogContext, type DialogCloseButtonAttrs} from './dialog.js';
6
+ import {icon_close} from './icons.js';
7
+ import Svg from './Svg.svelte';
6
8
 
7
9
  /**
8
10
  * The default content surface for `Dialog`: a fuz_css `.pane` card with a
@@ -133,7 +135,7 @@ content with its own overflow (e.g. `Code`) scrolls instead of forcing the card
133
135
  <!-- rendered after `children` so a content control (or an `autofocus` element)
134
136
  takes initial focus on open, not the close button -->
135
137
  {#if close_button === true}
136
- <button {...close_button_attrs}>✕</button>
138
+ <button {...close_button_attrs}><Svg data={icon_close} /></button>
137
139
  {:else if close_button}
138
140
  {@render close_button(close_button_attrs, dialog)}
139
141
  {/if}
@@ -1 +1 @@
1
- {"version":3,"file":"DialogContent.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DialogContent.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,cAAc,EAAqB,MAAM,iBAAiB,CAAC;AAExE,OAAO,EAAiB,KAAK,aAAa,EAAE,KAAK,sBAAsB,EAAC,MAAM,aAAa,CAAC;AAE3F,KAAK,gBAAgB,GAAI,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,GAAG;IAC3E;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;IACzF;;;;;;;;;;;;OAYG;IACH,QAAQ,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;CAC3C,CAAC;AAoEH,QAAA,MAAM,aAAa,sDAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"DialogContent.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DialogContent.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,cAAc,EAAqB,MAAM,iBAAiB,CAAC;AAExE,OAAO,EAAiB,KAAK,aAAa,EAAE,KAAK,sBAAsB,EAAC,MAAM,aAAa,CAAC;AAI3F,KAAK,gBAAgB,GAAI,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,GAAG;IAC3E;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;IACzF;;;;;;;;;;;;OAYG;IACH,QAAQ,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;CAC3C,CAAC;AAsEH,QAAA,MAAM,aAAa,sDAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
package/dist/Docs.svelte CHANGED
@@ -10,6 +10,7 @@
10
10
  import DocsSecondaryNav from './DocsSecondaryNav.svelte';
11
11
  import DocsTertiaryNav from './DocsTertiaryNav.svelte';
12
12
  import Dialog from './Dialog.svelte';
13
+ import DialogContent from './DialogContent.svelte';
13
14
  import DocsFooter from './DocsFooter.svelte';
14
15
  import {site_context} from './site.svelte.js';
15
16
  import {FUZ_DEV_URL} from './constants.js';
@@ -83,15 +84,17 @@
83
84
  <!-- TODO this is messy rendering `DocsSecondaryNav` twice to handle responsive states with SSR correctly -->
84
85
  {#if show_secondary_nav_dialog && innerWidth.current && innerWidth.current <= TERTIARY_NAV_BREAKPOINT}
85
86
  <Dialog onclose={() => (show_secondary_nav_dialog = false)}>
86
- <div class="pane" style:--docs_menu_width={docs_menu_width}>
87
- <div class="p_xl pb_0">
88
- <Breadcrumb />
89
- </div>
90
- <div class="px_lg pb_xl">
91
- <DocsSecondaryNav {tomes} sidebar={false} />
92
- <DocsTertiaryNav {tomes} {tomes_by_slug} sidebar={false} />
87
+ <DialogContent padding="">
88
+ <div style:--docs_menu_width={docs_menu_width}>
89
+ <div class="p_xl pb_0">
90
+ <Breadcrumb />
91
+ </div>
92
+ <div class="px_lg pb_xl">
93
+ <DocsSecondaryNav {tomes} sidebar={false} />
94
+ <DocsTertiaryNav {tomes} {tomes_by_slug} sidebar={false} />
95
+ </div>
93
96
  </div>
94
- </div>
97
+ </DialogContent>
95
98
  </Dialog>
96
99
  {/if}
97
100
 
@@ -1 +1 @@
1
- {"version":3,"file":"Docs.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/Docs.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAMpC,OAAO,EAAC,IAAI,EAAgB,MAAM,WAAW,CAAC;AAU7C,KAAK,gBAAgB,GAAI;IACxB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CAClB,CAAC;AAkGH,QAAA,MAAM,IAAI,sDAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Docs.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/Docs.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAMpC,OAAO,EAAC,IAAI,EAAgB,MAAM,WAAW,CAAC;AAW7C,KAAK,gBAAgB,GAAI;IACxB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CAClB,CAAC;AAqGH,QAAA,MAAM,IAAI,sDAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
@@ -1,6 +1,9 @@
1
1
  <script lang="ts">
2
2
  import type {SvelteHTMLElements} from 'svelte/elements';
3
3
 
4
+ import {icon_close} from './icons.js';
5
+ import Svg from './Svg.svelte';
6
+
4
7
  let {
5
8
  placeholder = 'search modules and declarations...',
6
9
  module_count,
@@ -71,7 +74,7 @@
71
74
  title="clear search"
72
75
  aria-label="clear search"
73
76
  >
74
- 🗙
77
+ <Svg data={icon_close} />
75
78
  </button>
76
79
  {/if}
77
80
  </label>
@@ -1 +1 @@
1
- {"version":3,"file":"DocsSearch.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DocsSearch.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAEvD,KAAK,gBAAgB,GAAI,kBAAkB,CAAC,OAAO,CAAC,GAAG;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AA+DH,QAAA,MAAM,UAAU,kEAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"DocsSearch.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DocsSearch.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAKvD,KAAK,gBAAgB,GAAI,kBAAkB,CAAC,OAAO,CAAC,GAAG;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAkEH,QAAA,MAAM,UAAU,kEAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
package/dist/Svg.svelte CHANGED
@@ -4,6 +4,29 @@
4
4
 
5
5
  import type {SvgData} from './svg.js';
6
6
 
7
+ /**
8
+ * Renders an `SvgData` icon definition to inline `svg` markup, never via `@html`.
9
+ *
10
+ * ## Security
11
+ *
12
+ * `SvgData` is rendered structurally into a fixed element set - `svg`, `defs`,
13
+ * `linearGradient`/`radialGradient`, `stop`, and `path`. None of these expose a
14
+ * navigation or script sink (no `src` or `foreignObject`, and a gradient `href`
15
+ * only references another gradient as a template, never a document location),
16
+ * and Svelte routes `on*` spread keys through `addEventListener` rather than
17
+ * writing inline handler attributes. So even an untrusted `SvgData` cannot
18
+ * introduce script execution or navigation - which is why the data is rendered
19
+ * through typed fields (`paths`, `gradients`) instead of a raw-markup escape
20
+ * hatch.
21
+ *
22
+ * The one residual: a `style` value (`data.style`, a path's `style`, or a
23
+ * gradient's `attrs.style`) can still issue network requests via `url(...)`, so
24
+ * sanitize styles if you render untrusted data and that matters. Per-instance
25
+ * `svg` attributes come from this component's own props, not from `data`.
26
+ *
27
+ * @module
28
+ */
29
+
7
30
  const {
8
31
  data,
9
32
  fill,
@@ -44,29 +67,43 @@
44
67
  const final_width = $derived(width ?? size); // TODO @many default value? `100%` or omitted or something else?
45
68
  const final_height = $derived(height ?? size); // TODO @many default value? `100%` or omitted or something else?
46
69
 
47
- // merge `style` so users don't accidentally clobber any style data - maybe support other attrs or somehow clean this up?
70
+ // merge `style` so the icon's own style and a per-instance `style` prop don't clobber each other
48
71
  const style = $derived(
49
- data.attrs?.style && rest.style
50
- ? ensure_end(data.attrs.style, ';') + ' ' + rest.style
51
- : (data.attrs?.style ?? rest.style),
72
+ data.style && rest.style
73
+ ? ensure_end(data.style, ';') + ' ' + rest.style
74
+ : (data.style ?? rest.style),
52
75
  );
53
-
54
- // TODO dont use @html
55
76
  </script>
56
77
 
57
78
  <svg
58
79
  viewBox={data.viewBox ?? '0 0 100 100'}
59
- {...data.attrs}
60
80
  {...rest}
61
81
  aria-label={label ?? data.label}
62
- class="{data.attrs?.class} {rest.class}"
63
82
  class:inline
64
83
  style:width={final_width}
65
84
  style:height={final_height}
66
85
  style:flex-shrink={shrink ? 1 : 0}
67
86
  {style}
68
87
  >
69
- {#if data.raw}{@html data.raw}{/if}<!-- eslint-disable-line svelte/no-at-html-tags -->
88
+ {#if data.gradients}
89
+ <defs>
90
+ {#each data.gradients as gradient (gradient.id)}
91
+ {#if gradient.type === 'radial'}
92
+ <radialGradient id={gradient.id} {...gradient.attrs}>
93
+ {#each gradient.stops as stop (stop)}
94
+ <stop offset={stop.offset} stop-color={stop.color} stop-opacity={stop.opacity} />
95
+ {/each}
96
+ </radialGradient>
97
+ {:else}
98
+ <linearGradient id={gradient.id} {...gradient.attrs}>
99
+ {#each gradient.stops as stop (stop)}
100
+ <stop offset={stop.offset} stop-color={stop.color} stop-opacity={stop.opacity} />
101
+ {/each}
102
+ </linearGradient>
103
+ {/if}
104
+ {/each}
105
+ </defs>
106
+ {/if}
70
107
  {#if data.paths}
71
108
  {#each data.paths as path (path)}
72
109
  <path fill={final_fill} {...path} />
@@ -1 +1 @@
1
- {"version":3,"file":"Svg.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/Svg.svelte"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAExD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAErC,KAAK,gBAAgB,GAAI,kBAAkB,CAAC,KAAK,CAAC,GAAG;IACpD,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AA8CH,QAAA,MAAM,GAAG,sDAAwC,CAAC;AAClD,KAAK,GAAG,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;AAClC,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"Svg.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/Svg.svelte"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAExD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAErC,KAAK,gBAAgB,GAAI,kBAAkB,CAAC,KAAK,CAAC,GAAG;IACpD,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAqFH,QAAA,MAAM,GAAG,sDAAwC,CAAC;AAClD,KAAK,GAAG,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;AAClC,eAAe,GAAG,CAAC"}
@@ -0,0 +1,457 @@
1
+ export declare const icon_unknown: {
2
+ label: string;
3
+ paths: {
4
+ d: string;
5
+ }[];
6
+ };
7
+ export declare const icon_important: {
8
+ label: string;
9
+ paths: {
10
+ d: string;
11
+ }[];
12
+ };
13
+ export declare const icon_info: {
14
+ label: string;
15
+ paths: {
16
+ d: string;
17
+ }[];
18
+ };
19
+ export declare const icon_add: {
20
+ label: string;
21
+ paths: {
22
+ d: string;
23
+ }[];
24
+ };
25
+ export declare const icon_remove: {
26
+ label: string;
27
+ paths: {
28
+ d: string;
29
+ }[];
30
+ };
31
+ export declare const icon_close: {
32
+ label: string;
33
+ paths: {
34
+ d: string;
35
+ }[];
36
+ };
37
+ export declare const icon_delete: {
38
+ label: string;
39
+ paths: {
40
+ d: string;
41
+ }[];
42
+ };
43
+ export declare const icon_clear: {
44
+ label: string;
45
+ paths: {
46
+ d: string;
47
+ }[];
48
+ };
49
+ export declare const icon_restore: {
50
+ label: string;
51
+ paths: {
52
+ d: string;
53
+ }[];
54
+ };
55
+ export declare const icon_cancel: {
56
+ label: string;
57
+ paths: {
58
+ d: string;
59
+ }[];
60
+ };
61
+ export declare const icon_drag: {
62
+ label: string;
63
+ paths: {
64
+ d: string;
65
+ }[];
66
+ };
67
+ export declare const icon_copy: {
68
+ label: string;
69
+ paths: {
70
+ d: string;
71
+ }[];
72
+ };
73
+ export declare const icon_paste: {
74
+ label: string;
75
+ paths: {
76
+ d: string;
77
+ }[];
78
+ };
79
+ export declare const icon_reset: {
80
+ label: string;
81
+ paths: {
82
+ d: string;
83
+ }[];
84
+ };
85
+ export declare const icon_refresh: {
86
+ label: string;
87
+ paths: {
88
+ d: string;
89
+ }[];
90
+ };
91
+ export declare const icon_connect: {
92
+ label: string;
93
+ paths: {
94
+ d: string;
95
+ }[];
96
+ };
97
+ export declare const icon_disconnect: {
98
+ label: string;
99
+ paths: {
100
+ d: string;
101
+ }[];
102
+ };
103
+ export declare const icon_retry: {
104
+ label: string;
105
+ paths: {
106
+ d: string;
107
+ }[];
108
+ };
109
+ export declare const icon_placeholder: {
110
+ label: string;
111
+ paths: {
112
+ d: string;
113
+ }[];
114
+ };
115
+ export declare const icon_send: {
116
+ label: string;
117
+ paths: {
118
+ d: string;
119
+ }[];
120
+ };
121
+ export declare const icon_play: {
122
+ label: string;
123
+ paths: {
124
+ d: string;
125
+ }[];
126
+ };
127
+ export declare const icon_pause: {
128
+ label: string;
129
+ paths: {
130
+ d: string;
131
+ }[];
132
+ };
133
+ export declare const icon_checkmark: {
134
+ label: string;
135
+ paths: {
136
+ d: string;
137
+ }[];
138
+ };
139
+ export declare const icon_checkmark_heavy: {
140
+ label: string;
141
+ paths: {
142
+ d: string;
143
+ }[];
144
+ };
145
+ export declare const icon_xmark: {
146
+ label: string;
147
+ paths: {
148
+ d: string;
149
+ }[];
150
+ };
151
+ export declare const icon_xmark_heavy: {
152
+ label: string;
153
+ paths: {
154
+ d: string;
155
+ }[];
156
+ };
157
+ export declare const icon_download: {
158
+ label: string;
159
+ paths: {
160
+ d: string;
161
+ }[];
162
+ };
163
+ export declare const icon_upload: {
164
+ label: string;
165
+ paths: {
166
+ d: string;
167
+ }[];
168
+ };
169
+ export declare const icon_error: {
170
+ label: string;
171
+ paths: {
172
+ d: string;
173
+ }[];
174
+ };
175
+ export declare const icon_chevron_up: {
176
+ label: string;
177
+ paths: {
178
+ d: string;
179
+ }[];
180
+ };
181
+ export declare const icon_chevron_right: {
182
+ label: string;
183
+ paths: {
184
+ d: string;
185
+ }[];
186
+ };
187
+ export declare const icon_chevron_down: {
188
+ label: string;
189
+ paths: {
190
+ d: string;
191
+ }[];
192
+ };
193
+ export declare const icon_chevron_left: {
194
+ label: string;
195
+ paths: {
196
+ d: string;
197
+ }[];
198
+ };
199
+ export declare const icon_double_chevron_left: {
200
+ label: string;
201
+ paths: {
202
+ d: string;
203
+ }[];
204
+ };
205
+ export declare const icon_double_chevron_right: {
206
+ label: string;
207
+ paths: {
208
+ d: string;
209
+ }[];
210
+ };
211
+ export declare const icon_edit: {
212
+ label: string;
213
+ paths: {
214
+ d: string;
215
+ }[];
216
+ };
217
+ export declare const icon_sort: {
218
+ label: string;
219
+ paths: {
220
+ d: string;
221
+ }[];
222
+ };
223
+ export declare const icon_chat: {
224
+ label: string;
225
+ paths: {
226
+ d: string;
227
+ }[];
228
+ };
229
+ export declare const icon_thread: {
230
+ label: string;
231
+ paths: {
232
+ d: string;
233
+ }[];
234
+ };
235
+ export declare const icon_turn: {
236
+ label: string;
237
+ paths: {
238
+ d: string;
239
+ }[];
240
+ };
241
+ export declare const icon_file: {
242
+ label: string;
243
+ paths: {
244
+ d: string;
245
+ }[];
246
+ };
247
+ export declare const icon_list: {
248
+ label: string;
249
+ paths: {
250
+ d: string;
251
+ }[];
252
+ };
253
+ export declare const icon_directory: {
254
+ label: string;
255
+ paths: {
256
+ d: string;
257
+ }[];
258
+ };
259
+ export declare const icon_create_file: {
260
+ label: string;
261
+ paths: {
262
+ d: string;
263
+ }[];
264
+ };
265
+ export declare const icon_create_directory: {
266
+ label: string;
267
+ paths: {
268
+ d: string;
269
+ }[];
270
+ };
271
+ export declare const icon_prompt: {
272
+ label: string;
273
+ paths: {
274
+ d: string;
275
+ }[];
276
+ };
277
+ export declare const icon_part: {
278
+ label: string;
279
+ paths: {
280
+ d: string;
281
+ }[];
282
+ };
283
+ export declare const icon_provider: {
284
+ label: string;
285
+ paths: {
286
+ d: string;
287
+ }[];
288
+ };
289
+ export declare const icon_model: {
290
+ label: string;
291
+ paths: {
292
+ d: string;
293
+ }[];
294
+ };
295
+ export declare const icon_action: {
296
+ label: string;
297
+ paths: {
298
+ d: string;
299
+ }[];
300
+ };
301
+ export declare const icon_view: {
302
+ label: string;
303
+ paths: {
304
+ d: string;
305
+ }[];
306
+ };
307
+ export declare const icon_preview: {
308
+ label: string;
309
+ paths: {
310
+ d: string;
311
+ }[];
312
+ };
313
+ export declare const icon_log: {
314
+ label: string;
315
+ paths: {
316
+ d: string;
317
+ }[];
318
+ };
319
+ export declare const icon_tab: {
320
+ label: string;
321
+ paths: {
322
+ d: string;
323
+ }[];
324
+ };
325
+ export declare const icon_project: {
326
+ label: string;
327
+ paths: {
328
+ d: string;
329
+ }[];
330
+ };
331
+ export declare const icon_capability: {
332
+ label: string;
333
+ paths: {
334
+ d: string;
335
+ }[];
336
+ };
337
+ export declare const icon_settings: {
338
+ label: string;
339
+ paths: {
340
+ d: string;
341
+ }[];
342
+ };
343
+ export declare const icon_domain: {
344
+ label: string;
345
+ paths: {
346
+ d: string;
347
+ }[];
348
+ };
349
+ export declare const icon_page: {
350
+ label: string;
351
+ paths: {
352
+ d: string;
353
+ }[];
354
+ };
355
+ export declare const icon_space: {
356
+ label: string;
357
+ paths: {
358
+ d: string;
359
+ }[];
360
+ };
361
+ export declare const icon_desk: {
362
+ label: string;
363
+ paths: {
364
+ d: string;
365
+ }[];
366
+ };
367
+ export declare const icon_pin: {
368
+ label: string;
369
+ paths: {
370
+ d: string;
371
+ }[];
372
+ };
373
+ export declare const icon_terminal: {
374
+ label: string;
375
+ paths: {
376
+ d: string;
377
+ }[];
378
+ };
379
+ export declare const icon_workspace: {
380
+ label: string;
381
+ paths: {
382
+ d: string;
383
+ }[];
384
+ };
385
+ export declare const icon_idea: {
386
+ label: string;
387
+ paths: {
388
+ d: string;
389
+ }[];
390
+ };
391
+ export declare const icon_ping: {
392
+ label: string;
393
+ paths: {
394
+ d: string;
395
+ }[];
396
+ };
397
+ export declare const icon_heartbeat: {
398
+ label: string;
399
+ paths: {
400
+ d: string;
401
+ }[];
402
+ };
403
+ export declare const icon_response: {
404
+ label: string;
405
+ paths: {
406
+ d: string;
407
+ }[];
408
+ };
409
+ export declare const icon_session: {
410
+ label: string;
411
+ paths: {
412
+ d: string;
413
+ }[];
414
+ };
415
+ export declare const icon_action_type_local_call: {
416
+ label: string;
417
+ paths: {
418
+ d: string;
419
+ }[];
420
+ };
421
+ export declare const icon_action_type_remote_notification: {
422
+ label: string;
423
+ paths: {
424
+ d: string;
425
+ }[];
426
+ };
427
+ export declare const icon_action_type_request_response: {
428
+ label: string;
429
+ paths: {
430
+ d: string;
431
+ }[];
432
+ };
433
+ export declare const icon_external_link: {
434
+ label: string;
435
+ paths: {
436
+ d: string;
437
+ }[];
438
+ };
439
+ export declare const icon_arrow_right: {
440
+ label: string;
441
+ paths: {
442
+ d: string;
443
+ }[];
444
+ };
445
+ export declare const icon_arrow_left: {
446
+ label: string;
447
+ paths: {
448
+ d: string;
449
+ }[];
450
+ };
451
+ export declare const icon_backend: {
452
+ label: string;
453
+ paths: {
454
+ d: string;
455
+ }[];
456
+ };
457
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/icons.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;;;CAON,CAAC;AAEpB,eAAO,MAAM,cAAc;;;;;CAOR,CAAC;AAEpB,eAAO,MAAM,SAAS;;;;;CAOH,CAAC;AAIpB,eAAO,MAAM,QAAQ;;;;;CAGF,CAAC;AAEpB,eAAO,MAAM,WAAW;;;;;CAOL,CAAC;AAEpB,eAAO,MAAM,UAAU;;;;;CAOJ,CAAC;AAEpB,eAAO,MAAM,WAAW;;;;;CAOL,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