@glimstone/solid 4.7.0 → 4.8.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/dist/Accordion.js +1 -1
- package/dist/{Button-iio6zNXx.js → Button-DVvj3l_K.js} +2 -2
- package/dist/Carousel.js +2 -2
- package/dist/Collapsible.js +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/ConnectionRow.d.ts +4 -1
- package/dist/DatePicker.js +1 -1
- package/dist/FileUpload.js +1 -1
- package/dist/FloatingPanel.js +4 -4
- package/dist/Marquee.js +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/PasswordField.d.ts +7 -6
- package/dist/Rating.js +1 -1
- package/dist/Select.js +1 -1
- package/dist/SignaturePad.js +2 -2
- package/dist/Steps.js +2 -2
- package/dist/TagsInput.js +1 -1
- package/dist/Timer.js +2 -2
- package/dist/Tour.js +2 -2
- package/dist/{glyphs-Cwg-1aUK.js → glyphs-BhcnOwi4.js} +20 -15
- package/dist/glyphs.d.ts +1 -0
- package/dist/index.js +853 -807
- package/package.json +2 -2
package/dist/Accordion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as e } from "./glyphs-
|
|
1
|
+
import { s as e } from "./glyphs-BhcnOwi4.js";
|
|
2
2
|
import { Dynamic as t, createComponent as n, insert as r, mergeProps as i, spread as a, template as o } from "solid-js/web";
|
|
3
3
|
import { For as s, createMemo as c, createSignal as l, createUniqueId as u, mergeProps as d } from "solid-js";
|
|
4
4
|
import { pageDir as f } from "@glimstone/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, t } from "./useTipBubble-BJIYZw03.js";
|
|
2
2
|
import { t as n } from "./style-ByE-hij7.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as r, w as i } from "./glyphs-BhcnOwi4.js";
|
|
4
4
|
import { Dynamic as a, className as o, createComponent as s, effect as c, insert as l, memo as u, mergeProps as d, setAttribute as f, style as p, template as m } from "solid-js/web";
|
|
5
5
|
import { Show as h, createMemo as g, createRenderEffect as _, createSignal as v, mergeProps as y, onCleanup as b, splitProps as x } from "solid-js";
|
|
6
6
|
import { DEFAULT_DENSITY as S, DEFAULT_MOTION as C, DEFAULT_SHAPE as w, applyAccent as T, applyDensity as E, applyMotion as D, applyRainbow as O, applyShape as k, busyRingView as A, buttonView as j, getLabelMode as M, hueVars as N, mediaMatches as P, narrowerThan as F, rainbowState as I, subscribeLabelMode as L, subscribeMedia as R, subscribeRainbow as z, takePageHue as B } from "@glimstone/core";
|
|
@@ -109,7 +109,7 @@ function ee(f) {
|
|
|
109
109
|
let t = F(e);
|
|
110
110
|
T(P(t)), b(R(t, () => T(P(t))));
|
|
111
111
|
});
|
|
112
|
-
let E = g(() => m.glyph ?? (m.labelKey ?
|
|
112
|
+
let E = g(() => m.glyph ?? (m.labelKey ? i(m.labelKey) : void 0) ?? (m.variant === "chip" ? s(r, {}) : void 0)), D = g(() => j({
|
|
113
113
|
mode: C(),
|
|
114
114
|
label: m.label,
|
|
115
115
|
hasGlyph: !!E() || m.busy,
|
package/dist/Carousel.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
2
|
-
import { d as t, t as n } from "./glyphs-
|
|
1
|
+
import { t as e } from "./Button-DVvj3l_K.js";
|
|
2
|
+
import { d as t, t as n } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as r, insert as i, mergeProps as a, spread as o, template as s } from "solid-js/web";
|
|
4
4
|
import { Index as c, createMemo as l, createSignal as u, createUniqueId as d, mergeProps as f } from "solid-js";
|
|
5
5
|
import { CAROUSEL_TEXT as p, pageDir as m, stillMotion as h } from "@glimstone/core";
|
package/dist/Collapsible.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as e } from "./glyphs-
|
|
1
|
+
import { s as e } from "./glyphs-BhcnOwi4.js";
|
|
2
2
|
import { createComponent as t, insert as n, mergeProps as r, spread as i, template as a } from "solid-js/web";
|
|
3
3
|
import { createMemo as o, createSignal as s, createUniqueId as c, mergeProps as l } from "solid-js";
|
|
4
4
|
import { pageDir as u } from "@glimstone/core";
|
package/dist/Combobox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./fieldName-Bb6qW0oS.js";
|
|
2
|
-
import { i as t, s as n } from "./glyphs-
|
|
2
|
+
import { i as t, s as n } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { t as r } from "./Lift-CsM0IU9t.js";
|
|
4
4
|
import { createComponent as i, effect as a, insert as o, mergeProps as s, setAttribute as c, spread as l, template as u } from "solid-js/web";
|
|
5
5
|
import { For as d, Show as f, createMemo as p, createSignal as m, createUniqueId as h } from "solid-js";
|
package/dist/ConnectionRow.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type JSX } from "solid-js";
|
|
2
|
-
import { type ConnectionRowLabelKeys, type ConnectionRowText, type ConnectionTest, type TileMark } from "@glimstone/core";
|
|
2
|
+
import { type ConnectionAction as CoreConnectionAction, type ConnectionRowLabelKeys, type ConnectionRowText, type ConnectionTest, type TileMark } from "@glimstone/core";
|
|
3
3
|
export type { ConnectionRowLabelKeys, ConnectionRowText, ConnectionTest } from "@glimstone/core";
|
|
4
|
+
export type ConnectionAction = CoreConnectionAction<JSX.Element>;
|
|
4
5
|
export interface ConnectionRowProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, "children" | "class"> {
|
|
5
6
|
/** The service's name, also the row's accessible name. */
|
|
6
7
|
name: string;
|
|
@@ -14,6 +15,8 @@ export interface ConnectionRowProps extends Omit<JSX.HTMLAttributes<HTMLDivEleme
|
|
|
14
15
|
children?: JSX.Element;
|
|
15
16
|
/** Where the test stands: `busy` while it runs, then `tone` and a `title` with what it found. */
|
|
16
17
|
test?: ConnectionTest;
|
|
18
|
+
/** Buttons of the app's own, such as Mount, before Test, Edit and Remove, so those keep their places at the end. */
|
|
19
|
+
actions?: ConnectionAction[];
|
|
17
20
|
text: ConnectionRowText;
|
|
18
21
|
labelKeys?: Partial<ConnectionRowLabelKeys>;
|
|
19
22
|
onTest?: () => void;
|
package/dist/DatePicker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./fieldName-Bb6qW0oS.js";
|
|
2
|
-
import { d as t, n, t as r } from "./glyphs-
|
|
2
|
+
import { d as t, n, t as r } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { t as i } from "./Lift-CsM0IU9t.js";
|
|
4
4
|
import { t as a } from "./portalHue-CLVEiNTo.js";
|
|
5
5
|
import { t as o } from "./style-ByE-hij7.js";
|
package/dist/FileUpload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./IconButton-Lzbq5Cst.js";
|
|
2
|
-
import { a as t,
|
|
2
|
+
import { a as t, y as n } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as r, insert as i, mergeProps as a, spread as o, template as s } from "solid-js/web";
|
|
4
4
|
import { For as c, Show as l, createMemo as u, createUniqueId as d, mergeProps as f } from "solid-js";
|
|
5
5
|
import { FILE_UPLOAD_TEXT as p, formatFileSize as m, pageDir as h } from "@glimstone/core";
|
package/dist/FloatingPanel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./Badge-CC2mjBLM.js";
|
|
2
|
-
import { t } from "./Button-
|
|
3
|
-
import {
|
|
2
|
+
import { t } from "./Button-DVvj3l_K.js";
|
|
3
|
+
import { S as n, a as r, b as i, x as a } from "./glyphs-BhcnOwi4.js";
|
|
4
4
|
import { t as o } from "./Lift-CsM0IU9t.js";
|
|
5
5
|
import { createComponent as s, insert as c, mergeProps as l, spread as u, template as d } from "solid-js/web";
|
|
6
6
|
import { For as f, Show as p, createMemo as m, createUniqueId as h, mergeProps as g } from "solid-js";
|
|
@@ -52,13 +52,13 @@ function T(d) {
|
|
|
52
52
|
get children() {
|
|
53
53
|
return T.title;
|
|
54
54
|
}
|
|
55
|
-
})), u(v, l(() => k().getControlProps(), { class: "glim-fpanel-control" }), !1, !0), u(y, l(() => k().getStageTriggerProps({ stage: "minimized" }), { class: "glim-btn-bare glim-icon-btn" }), !1, !0), c(y, s(
|
|
55
|
+
})), u(v, l(() => k().getControlProps(), { class: "glim-fpanel-control" }), !1, !0), u(y, l(() => k().getStageTriggerProps({ stage: "minimized" }), { class: "glim-btn-bare glim-icon-btn" }), !1, !0), c(y, s(a, {})), u(b, l(() => k().getStageTriggerProps({ stage: "maximized" }), { class: "glim-btn-bare glim-icon-btn" }), !1, !0), c(b, s(i, {})), u(x, l(() => k().getStageTriggerProps({ stage: "default" }), { class: "glim-btn-bare glim-icon-btn" }), !1, !0), c(x, s(n, {})), u(D, l(() => k().getBodyProps(), { class: "glim-fpanel-body" }), !1, !0), c(D, () => T.children), c(O, s(t, {
|
|
56
56
|
get label() {
|
|
57
57
|
return E().close;
|
|
58
58
|
},
|
|
59
59
|
labelKey: null,
|
|
60
60
|
get glyph() {
|
|
61
|
-
return s(
|
|
61
|
+
return s(r, {});
|
|
62
62
|
},
|
|
63
63
|
onClick: () => k().setOpen(!1)
|
|
64
64
|
})), c(m, s(p, {
|
package/dist/Marquee.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./IconButton-Lzbq5Cst.js";
|
|
2
|
-
import { f as t, m as n } from "./glyphs-
|
|
2
|
+
import { f as t, m as n } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as r, insert as i, memo as a, mergeProps as o, spread as s, template as c } from "solid-js/web";
|
|
4
4
|
import { For as l, Index as u, createMemo as d, createSignal as f, createUniqueId as p, mergeProps as m } from "solid-js";
|
|
5
5
|
import { MARQUEE_TEXT as h, pageDir as g } from "@glimstone/core";
|
package/dist/Pagination.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
2
|
-
import { d as t, t as n } from "./glyphs-
|
|
1
|
+
import { t as e } from "./Button-DVvj3l_K.js";
|
|
2
|
+
import { d as t, t as n } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as r, insert as i, mergeProps as a, spread as o, template as s } from "solid-js/web";
|
|
4
4
|
import { For as c, createMemo as l, createSignal as u, createUniqueId as d, mergeProps as f } from "solid-js";
|
|
5
5
|
import { PAGINATION_TEXT as p, pageDir as m } from "@glimstone/core";
|
package/dist/PasswordField.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { type JSX } from "solid-js";
|
|
2
|
-
import { type FieldWidth } from "@glimstone/core";
|
|
2
|
+
import { type FieldWidth, type PasswordFieldText } from "@glimstone/core";
|
|
3
3
|
export interface PasswordFieldProps extends Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "type" | "width" | "class"> {
|
|
4
4
|
width?: FieldWidth;
|
|
5
5
|
/** Attributes for the eye, such as a data hook. */
|
|
6
6
|
eyeAttrs?: Record<string, string>;
|
|
7
|
-
/** The eye's
|
|
8
|
-
text?:
|
|
9
|
-
show: string;
|
|
10
|
-
hide: string;
|
|
11
|
-
};
|
|
7
|
+
/** The eye's words, and the second field's with `confirm`. English where left out. */
|
|
8
|
+
text?: Partial<PasswordFieldText>;
|
|
12
9
|
/** Why the value cannot stand, as a line under the field until it is fixed. */
|
|
13
10
|
error?: string;
|
|
11
|
+
/** Asks for the password again in a second field, which stands once the first holds something. */
|
|
12
|
+
confirm?: boolean;
|
|
13
|
+
/** Whether both fields hold the same password, each time that changes. Set password waits for true. */
|
|
14
|
+
onConfirmedChange?: (confirmed: boolean) => void;
|
|
14
15
|
/** Classes for the wrapper, which carries the field's width. */
|
|
15
16
|
class?: string;
|
|
16
17
|
}
|
package/dist/Rating.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./fieldName-Bb6qW0oS.js";
|
|
2
|
-
import { _ as t } from "./glyphs-
|
|
2
|
+
import { _ as t } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as n, insert as r, mergeProps as i, spread as a, template as o } from "solid-js/web";
|
|
4
4
|
import { For as s, createMemo as c, createUniqueId as l, mergeProps as u } from "solid-js";
|
|
5
5
|
import { RATING_TEXT as d, pageDir as f } from "@glimstone/core";
|
package/dist/Select.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./fieldName-Bb6qW0oS.js";
|
|
2
|
-
import { i as t, s as n } from "./glyphs-
|
|
2
|
+
import { i as t, s as n } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { t as r } from "./Lift-CsM0IU9t.js";
|
|
4
4
|
import { t as i } from "./portalHue-CLVEiNTo.js";
|
|
5
5
|
import { t as a } from "./style-ByE-hij7.js";
|
package/dist/SignaturePad.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
2
|
-
import { h as t } from "./glyphs-
|
|
1
|
+
import { t as e } from "./Button-DVvj3l_K.js";
|
|
2
|
+
import { h as t } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as n, insert as r, mergeProps as i, spread as a, template as o } from "solid-js/web";
|
|
4
4
|
import { Index as s, Show as c, createMemo as l, createUniqueId as u, mergeProps as d } from "solid-js";
|
|
5
5
|
import { SIGNATURE_PAD_TEXT as f, pageDir as p } from "@glimstone/core";
|
package/dist/Steps.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
2
|
-
import { d as t, i as n, t as r } from "./glyphs-
|
|
1
|
+
import { t as e } from "./Button-DVvj3l_K.js";
|
|
2
|
+
import { d as t, i as n, t as r } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as i, insert as a, mergeProps as o, spread as s, template as c } from "solid-js/web";
|
|
4
4
|
import { For as l, Show as u, createMemo as d, createSignal as f, createUniqueId as p, mergeProps as m } from "solid-js";
|
|
5
5
|
import { STEPS_TEXT as h, pageDir as g, stepsKeyTarget as _ } from "@glimstone/core";
|
package/dist/TagsInput.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./fieldName-Bb6qW0oS.js";
|
|
2
|
-
import { a as t } from "./glyphs-
|
|
2
|
+
import { a as t } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as n, insert as r, mergeProps as i, spread as a, template as o } from "solid-js/web";
|
|
4
4
|
import { Index as s, createMemo as c, createUniqueId as l, mergeProps as u } from "solid-js";
|
|
5
5
|
import { TAGS_INPUT_TEXT as d, pageDir as f } from "@glimstone/core";
|
package/dist/Timer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
2
|
-
import { f as t, h as n, m as r } from "./glyphs-
|
|
1
|
+
import { t as e } from "./Button-DVvj3l_K.js";
|
|
2
|
+
import { f as t, h as n, m as r } from "./glyphs-BhcnOwi4.js";
|
|
3
3
|
import { createComponent as i, insert as a, mergeProps as o, spread as s, template as c } from "solid-js/web";
|
|
4
4
|
import { Match as l, Switch as u, createMemo as d, createUniqueId as f, mergeProps as p } from "solid-js";
|
|
5
5
|
import { TIMER_TEXT as m } from "@glimstone/core";
|
package/dist/Tour.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./Badge-CC2mjBLM.js";
|
|
2
|
-
import { t } from "./Button-
|
|
3
|
-
import { d as n, i as r, t as i } from "./glyphs-
|
|
2
|
+
import { t } from "./Button-DVvj3l_K.js";
|
|
3
|
+
import { d as n, i as r, t as i } from "./glyphs-BhcnOwi4.js";
|
|
4
4
|
import { t as a } from "./Lift-CsM0IU9t.js";
|
|
5
5
|
import { createComponent as o, insert as s, memo as c, mergeProps as l, spread as u, template as d } from "solid-js/web";
|
|
6
6
|
import { Show as f, createEffect as p, createMemo as m, createUniqueId as h, on as g } from "solid-js";
|
|
@@ -55,78 +55,83 @@ var u = () => e(l, {
|
|
|
55
55
|
class: "glim-mark"
|
|
56
56
|
}), g = () => e(l, {
|
|
57
57
|
get mark() {
|
|
58
|
-
return i.
|
|
58
|
+
return i.trash;
|
|
59
59
|
},
|
|
60
60
|
class: "glim-mark"
|
|
61
61
|
}), _ = () => e(l, {
|
|
62
62
|
get mark() {
|
|
63
|
-
return i.
|
|
63
|
+
return i.windowMinimise;
|
|
64
64
|
},
|
|
65
65
|
class: "glim-mark"
|
|
66
66
|
}), v = () => e(l, {
|
|
67
67
|
get mark() {
|
|
68
|
-
return i.
|
|
68
|
+
return i.windowMaximise;
|
|
69
69
|
},
|
|
70
70
|
class: "glim-mark"
|
|
71
71
|
}), y = () => e(l, {
|
|
72
72
|
get mark() {
|
|
73
|
-
return i.
|
|
73
|
+
return i.windowRestore;
|
|
74
74
|
},
|
|
75
75
|
class: "glim-mark"
|
|
76
76
|
}), b = () => e(l, {
|
|
77
77
|
get mark() {
|
|
78
|
-
return i.
|
|
78
|
+
return i.eye;
|
|
79
79
|
},
|
|
80
80
|
class: "glim-mark"
|
|
81
81
|
}), x = () => e(l, {
|
|
82
82
|
get mark() {
|
|
83
|
-
return i.
|
|
83
|
+
return i.eyeOff;
|
|
84
84
|
},
|
|
85
85
|
class: "glim-mark"
|
|
86
86
|
}), S = () => e(l, {
|
|
87
87
|
get mark() {
|
|
88
|
-
return i.
|
|
88
|
+
return i.copy;
|
|
89
89
|
},
|
|
90
90
|
class: "glim-mark"
|
|
91
91
|
}), C = () => e(l, {
|
|
92
92
|
get mark() {
|
|
93
|
-
return i.
|
|
93
|
+
return i.back;
|
|
94
94
|
},
|
|
95
95
|
class: "glim-mark"
|
|
96
96
|
}), w = () => e(l, {
|
|
97
97
|
get mark() {
|
|
98
|
-
return i.
|
|
98
|
+
return i.search;
|
|
99
99
|
},
|
|
100
100
|
class: "glim-mark"
|
|
101
101
|
}), T = () => e(l, {
|
|
102
102
|
get mark() {
|
|
103
|
-
return i.
|
|
103
|
+
return i.forward;
|
|
104
104
|
},
|
|
105
105
|
class: "glim-mark"
|
|
106
106
|
}), E = () => e(l, {
|
|
107
107
|
get mark() {
|
|
108
|
-
return i.
|
|
108
|
+
return i.upload;
|
|
109
109
|
},
|
|
110
110
|
class: "glim-mark"
|
|
111
111
|
}), D = () => e(l, {
|
|
112
112
|
get mark() {
|
|
113
|
-
return i.
|
|
113
|
+
return i.calendar;
|
|
114
114
|
},
|
|
115
115
|
class: "glim-mark"
|
|
116
116
|
}), O = () => e(l, {
|
|
117
117
|
get mark() {
|
|
118
|
-
return i.
|
|
118
|
+
return i.star;
|
|
119
119
|
},
|
|
120
120
|
class: "glim-mark"
|
|
121
121
|
}), k = () => e(l, {
|
|
122
122
|
get mark() {
|
|
123
|
-
return i.
|
|
123
|
+
return i.play;
|
|
124
124
|
},
|
|
125
125
|
class: "glim-mark"
|
|
126
126
|
}), A = () => e(l, {
|
|
127
|
+
get mark() {
|
|
128
|
+
return i.pause;
|
|
129
|
+
},
|
|
130
|
+
class: "glim-mark"
|
|
131
|
+
}), j = () => e(l, {
|
|
127
132
|
get mark() {
|
|
128
133
|
return i.resetArrow;
|
|
129
134
|
},
|
|
130
135
|
class: "glim-mark"
|
|
131
136
|
});
|
|
132
|
-
export {
|
|
137
|
+
export { l as C, y as S, s as T, O as _, u as a, v as b, b as c, T as d, A as f, w as g, j as h, f as i, x as l, k as m, D as n, S as o, h as p, d as r, p as s, C as t, m as u, g as v, c as w, _ as x, E as y };
|
package/dist/glyphs.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare const IconCheck: () => JSX.Element;
|
|
|
20
20
|
export declare const IconExpand: () => JSX.Element;
|
|
21
21
|
export declare const IconFolderOpen: () => JSX.Element;
|
|
22
22
|
export declare const IconPencil: () => JSX.Element;
|
|
23
|
+
export declare const IconTrash: () => JSX.Element;
|
|
23
24
|
export declare const IconWindowMinimise: () => JSX.Element;
|
|
24
25
|
export declare const IconWindowMaximise: () => JSX.Element;
|
|
25
26
|
export declare const IconWindowRestore: () => JSX.Element;
|