@vokril/ui-solid 0.7.0 → 0.8.2
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 +29 -0
- package/README.md +19 -0
- package/dist/AttributeGrid-Bnn1w5XX.cjs +1 -0
- package/dist/AttributeGrid-DJdW32LQ.js +320 -0
- package/dist/CommandPalette-BBDBVARB.cjs +2 -0
- package/dist/{CommandPalette-Ds3xf2z7.js → CommandPalette-e6FePgys.js} +1126 -1097
- package/dist/{DateRangePicker-BSb6F_gs.js → DateRangePicker-BcqoUao4.js} +1 -1
- package/dist/{DateRangePicker-DUrJJjO7.cjs → DateRangePicker-DHI3SNna.cjs} +1 -1
- package/dist/{GuidedTour-C0Q_EEvI.js → GuidedTour-B-BXe3ul.js} +2236 -2220
- package/dist/{GuidedTour-CkGOxh2p.cjs → GuidedTour-c7XiyOmE.cjs} +7 -7
- package/dist/{StatusBarNotificationBell-C8nQZh4i.cjs → StatusBarNotificationBell-2bIRvg2s.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-BMmjdBvj.js → StatusBarNotificationBell-B5knnCWK.js} +2 -2
- package/dist/_internal/app/platform/electronBridge.d.cts +9 -3
- package/dist/_internal/app/platform/electronBridge.d.ts +9 -3
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +1 -1
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.d.cts +1 -0
- package/dist/grid/index.d.ts +1 -0
- package/dist/grid/index.js +7 -6
- package/dist/grid/resultTabToolbarClasses.d.cts +47 -0
- package/dist/grid/resultTabToolbarClasses.d.ts +47 -0
- package/dist/iconScale.module-C3O0bxfp.js +13 -0
- package/dist/iconScale.module-CzmKG1rf.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1096 -1008
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +2 -2
- package/dist/notifications/notificationOverlayChannel.d.cts +3 -3
- package/dist/notifications/notificationOverlayChannel.d.ts +3 -3
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.d.cts +1 -0
- package/dist/overlay/index.d.ts +1 -0
- package/dist/overlay/index.js +93 -92
- package/dist/overlay/panelClasses.d.cts +50 -0
- package/dist/overlay/panelClasses.d.ts +50 -0
- package/dist/server/AttributeGrid-BCYNwNjw.js +281 -0
- package/dist/server/AttributeGrid-BVAQshm3.cjs +1 -0
- package/dist/server/{CommandPalette-Bfm1R0KC.js → CommandPalette-4RCiBlmz.js} +1050 -1021
- package/dist/server/CommandPalette-Dd8AW-WZ.cjs +1 -0
- package/dist/server/{DateRangePicker-BOsd_ZH2.js → DateRangePicker-TW0Dy4u6.js} +1 -1
- package/dist/server/{DateRangePicker-CIKghxMx.cjs → DateRangePicker-sX2m4194.cjs} +1 -1
- package/dist/server/{GuidedTour-BVaym9s9.js → GuidedTour-Bc7SqDXY.js} +754 -738
- package/dist/server/{GuidedTour-B4IK-M3E.cjs → GuidedTour-DvMqeZIU.cjs} +8 -8
- package/dist/server/{StatusBarNotificationBell-DLrvONW3.js → StatusBarNotificationBell-Bk9ETGFK.js} +2 -2
- package/dist/server/{StatusBarNotificationBell-DufUCZwN.cjs → StatusBarNotificationBell-t7B7rSrd.cjs} +1 -1
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +1 -1
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +7 -6
- package/dist/server/iconScale.module-C3O0bxfp.js +13 -0
- package/dist/server/iconScale.module-CzmKG1rf.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1445 -1357
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +2 -2
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +94 -93
- package/dist/solid/grid/index.js +1 -0
- package/dist/solid/grid/resultTabToolbarClasses.js +33 -0
- package/dist/solid/index.js +1 -0
- package/dist/solid/notifications/notificationOverlayChannel.js +1 -1
- package/dist/solid/overlay/index.js +1 -0
- package/dist/solid/overlay/panelClasses.js +29 -0
- package/dist/solid/styles/detachedLayout.module.css.js +8 -0
- package/dist/solid/styles/detachedLayoutClasses.js +8 -0
- package/dist/solid/styles/hljsTheme.module.css.js +4 -0
- package/dist/solid/styles/hljsThemeClasses.js +4 -0
- package/dist/solid/styles/iconScaleClasses.js +11 -0
- package/dist/solid/styles/index.js +5 -0
- package/dist/solid/styles/recordTable.module.css.js +6 -0
- package/dist/solid/styles/recordTableClasses.js +6 -0
- package/dist/solid/styles/widgetChrome.module.css.js +13 -0
- package/dist/solid/styles/widgetChromeClasses.js +13 -0
- package/dist/solid/widgets/index.js +1 -0
- package/dist/solid/widgets/settingsFieldClasses.js +26 -0
- package/dist/style.css +1 -1
- package/dist/styles/detachedLayoutClasses.d.cts +17 -0
- package/dist/styles/detachedLayoutClasses.d.ts +17 -0
- package/dist/styles/hljsThemeClasses.d.cts +11 -0
- package/dist/styles/hljsThemeClasses.d.ts +11 -0
- package/dist/styles/iconScaleClasses.d.cts +19 -0
- package/dist/styles/iconScaleClasses.d.ts +19 -0
- package/dist/styles/index.d.cts +5 -0
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/recordTableClasses.d.cts +17 -0
- package/dist/styles/recordTableClasses.d.ts +17 -0
- package/dist/styles/widgetChromeClasses.d.cts +31 -0
- package/dist/styles/widgetChromeClasses.d.ts +31 -0
- package/dist/ui.css +1 -1
- package/dist/widgets/index.d.cts +1 -0
- package/dist/widgets/index.d.ts +1 -0
- package/dist/widgets/settingsFieldClasses.d.cts +41 -0
- package/dist/widgets/settingsFieldClasses.d.ts +41 -0
- package/package.json +2 -2
- package/dist/AttributeGrid-CX_GJHgz.js +0 -260
- package/dist/AttributeGrid-X7fHuuIb.cjs +0 -1
- package/dist/CommandPalette-C8JJMY79.cjs +0 -2
- package/dist/iconScale.module-BA7n9qSH.cjs +0 -1
- package/dist/iconScale.module-Cw_Yn8O6.js +0 -10
- package/dist/server/AttributeGrid-BkWsx39p.js +0 -221
- package/dist/server/AttributeGrid-PHZKkiBG.cjs +0 -1
- package/dist/server/CommandPalette-DIgBGmAh.cjs +0 -1
- package/dist/server/iconScale.module-BA7n9qSH.cjs +0 -1
- package/dist/server/iconScale.module-Cw_Yn8O6.js +0 -10
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the layout shared by views that open in a window of their own (a detached
|
|
3
|
+
* editor, a theme editor): the full-height column, its content area and the loading and error
|
|
4
|
+
* lines. The rules are unlayered and load with the package's stylesheet, before the host's own CSS,
|
|
5
|
+
* so an unlayered host rule of the same specificity on the same element wins.
|
|
6
|
+
*/
|
|
7
|
+
export interface DetachedLayoutClasses {
|
|
8
|
+
/** The window's full-height column. */
|
|
9
|
+
readonly container: string;
|
|
10
|
+
/** The column that fills the rest of the window. */
|
|
11
|
+
readonly content: string;
|
|
12
|
+
/** `content` with the window's inset, for a view inside a window shell that has no padding. */
|
|
13
|
+
readonly contentInShell: string;
|
|
14
|
+
readonly loading: string;
|
|
15
|
+
readonly error: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const detachedLayoutClasses: DetachedLayoutClasses;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the layout shared by views that open in a window of their own (a detached
|
|
3
|
+
* editor, a theme editor): the full-height column, its content area and the loading and error
|
|
4
|
+
* lines. The rules are unlayered and load with the package's stylesheet, before the host's own CSS,
|
|
5
|
+
* so an unlayered host rule of the same specificity on the same element wins.
|
|
6
|
+
*/
|
|
7
|
+
export interface DetachedLayoutClasses {
|
|
8
|
+
/** The window's full-height column. */
|
|
9
|
+
readonly container: string;
|
|
10
|
+
/** The column that fills the rest of the window. */
|
|
11
|
+
readonly content: string;
|
|
12
|
+
/** `content` with the window's inset, for a view inside a window shell that has no padding. */
|
|
13
|
+
readonly contentInShell: string;
|
|
14
|
+
readonly loading: string;
|
|
15
|
+
readonly error: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const detachedLayoutClasses: DetachedLayoutClasses;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class name of the highlight.js token theme in the Vokril syntax palette. A host puts it on
|
|
3
|
+
* the container that holds the highlighted `<pre>` blocks, next to its own class (``
|
|
4
|
+
* class={`${hljsThemeClasses.hljsTheme} ${styles.content}`} ``); the theme's rules are descendant
|
|
5
|
+
* rules under it. They sit in the `vk.base` cascade layer, so the host's own unlayered rules for
|
|
6
|
+
* `pre` and `code` win.
|
|
7
|
+
*/
|
|
8
|
+
export interface HljsThemeClasses {
|
|
9
|
+
readonly hljsTheme: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const hljsThemeClasses: HljsThemeClasses;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class name of the highlight.js token theme in the Vokril syntax palette. A host puts it on
|
|
3
|
+
* the container that holds the highlighted `<pre>` blocks, next to its own class (``
|
|
4
|
+
* class={`${hljsThemeClasses.hljsTheme} ${styles.content}`} ``); the theme's rules are descendant
|
|
5
|
+
* rules under it. They sit in the `vk.base` cascade layer, so the host's own unlayered rules for
|
|
6
|
+
* `pre` and `code` win.
|
|
7
|
+
*/
|
|
8
|
+
export interface HljsThemeClasses {
|
|
9
|
+
readonly hljsTheme: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const hljsThemeClasses: HljsThemeClasses;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the icon size scale: width and height from the same `--font-size-*` token as
|
|
3
|
+
* the text beside the icon, so the icon follows the root font size instead of a pixel `size`. A
|
|
4
|
+
* host puts one on the icon element (`<VpClose class={iconScaleClasses.iconSm} />`).
|
|
5
|
+
*
|
|
6
|
+
* The rules are unlayered and load with the package's stylesheet, before the host's own CSS, so an
|
|
7
|
+
* unlayered host rule of the same specificity on the same element wins.
|
|
8
|
+
*/
|
|
9
|
+
export interface IconScaleClasses {
|
|
10
|
+
readonly icon3xs: string;
|
|
11
|
+
readonly icon2xs: string;
|
|
12
|
+
readonly iconXs: string;
|
|
13
|
+
readonly iconSm: string;
|
|
14
|
+
readonly iconBase: string;
|
|
15
|
+
readonly iconMd: string;
|
|
16
|
+
readonly iconLg: string;
|
|
17
|
+
readonly iconXl: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const iconScaleClasses: IconScaleClasses;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the icon size scale: width and height from the same `--font-size-*` token as
|
|
3
|
+
* the text beside the icon, so the icon follows the root font size instead of a pixel `size`. A
|
|
4
|
+
* host puts one on the icon element (`<VpClose class={iconScaleClasses.iconSm} />`).
|
|
5
|
+
*
|
|
6
|
+
* The rules are unlayered and load with the package's stylesheet, before the host's own CSS, so an
|
|
7
|
+
* unlayered host rule of the same specificity on the same element wins.
|
|
8
|
+
*/
|
|
9
|
+
export interface IconScaleClasses {
|
|
10
|
+
readonly icon3xs: string;
|
|
11
|
+
readonly icon2xs: string;
|
|
12
|
+
readonly iconXs: string;
|
|
13
|
+
readonly iconSm: string;
|
|
14
|
+
readonly iconBase: string;
|
|
15
|
+
readonly iconMd: string;
|
|
16
|
+
readonly iconLg: string;
|
|
17
|
+
readonly iconXl: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const iconScaleClasses: IconScaleClasses;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the record table skeleton, the shared base of a "label → value" table: full
|
|
3
|
+
* width, collapsed borders, monospace, the cell's bottom rule and the label column's weight. A host
|
|
4
|
+
* stylesheet cannot `composes` from the package, so the host puts these classes on its own elements
|
|
5
|
+
* next to its own class (`` class={`${recordTableClasses.cell} ${styles.cell}`} ``) and writes only
|
|
6
|
+
* its difference there. The skeleton sits in the `vk.base` cascade layer, so a host class outside
|
|
7
|
+
* any cascade layer wins where both set a property.
|
|
8
|
+
*/
|
|
9
|
+
export interface RecordTableClasses {
|
|
10
|
+
/** The `<table>`. */
|
|
11
|
+
readonly table: string;
|
|
12
|
+
/** A `<th>` or `<td>`. */
|
|
13
|
+
readonly cell: string;
|
|
14
|
+
/** The label column's cell, added to {@link RecordTableClasses.cell}. */
|
|
15
|
+
readonly labelCell: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const recordTableClasses: RecordTableClasses;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the record table skeleton, the shared base of a "label → value" table: full
|
|
3
|
+
* width, collapsed borders, monospace, the cell's bottom rule and the label column's weight. A host
|
|
4
|
+
* stylesheet cannot `composes` from the package, so the host puts these classes on its own elements
|
|
5
|
+
* next to its own class (`` class={`${recordTableClasses.cell} ${styles.cell}`} ``) and writes only
|
|
6
|
+
* its difference there. The skeleton sits in the `vk.base` cascade layer, so a host class outside
|
|
7
|
+
* any cascade layer wins where both set a property.
|
|
8
|
+
*/
|
|
9
|
+
export interface RecordTableClasses {
|
|
10
|
+
/** The `<table>`. */
|
|
11
|
+
readonly table: string;
|
|
12
|
+
/** A `<th>` or `<td>`. */
|
|
13
|
+
readonly cell: string;
|
|
14
|
+
/** The label column's cell, added to {@link RecordTableClasses.cell}. */
|
|
15
|
+
readonly labelCell: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const recordTableClasses: RecordTableClasses;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the dashboard widget chrome: the body shell and the header row above it, for a
|
|
3
|
+
* host widget that draws its own body instead of {@link WidgetSection}. A host stylesheet cannot
|
|
4
|
+
* `composes` from the package, so the host puts these classes on its own elements, next to its own
|
|
5
|
+
* class when it adds to them (`` class={`${widgetChromeClasses.widgetBody} ${styles.body}`} ``).
|
|
6
|
+
* The chrome sits in the `vk.composed` cascade layer, so a host class outside any cascade layer
|
|
7
|
+
* wins where both set a property.
|
|
8
|
+
*/
|
|
9
|
+
export interface WidgetChromeClasses {
|
|
10
|
+
/** The header's stacking: on top of the body content, edge to edge over the body padding. */
|
|
11
|
+
readonly stickyHeader: string;
|
|
12
|
+
/** The widget body: a full-height column. */
|
|
13
|
+
readonly widgetBody: string;
|
|
14
|
+
/** A title row that holds more than the title (host name, count). */
|
|
15
|
+
readonly widgetHeader: string;
|
|
16
|
+
/** The title when it is the body's direct child. */
|
|
17
|
+
readonly widgetTitle: string;
|
|
18
|
+
/** A header row aligned on the centre line instead of the text baseline. */
|
|
19
|
+
readonly widgetHeaderCentered: string;
|
|
20
|
+
/** The muted host name beside the title. */
|
|
21
|
+
readonly widgetHost: string;
|
|
22
|
+
/** The count pill beside the title. */
|
|
23
|
+
readonly widgetCount: string;
|
|
24
|
+
/** A column that fills the rest of the body under the header. */
|
|
25
|
+
readonly widgetContent: string;
|
|
26
|
+
/** A title with the sticky stacking of its own, with no header row around it. */
|
|
27
|
+
readonly widgetTitleSticky: string;
|
|
28
|
+
/** The body of a single-value widget, centred. */
|
|
29
|
+
readonly widgetStatBody: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const widgetChromeClasses: WidgetChromeClasses;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the dashboard widget chrome: the body shell and the header row above it, for a
|
|
3
|
+
* host widget that draws its own body instead of {@link WidgetSection}. A host stylesheet cannot
|
|
4
|
+
* `composes` from the package, so the host puts these classes on its own elements, next to its own
|
|
5
|
+
* class when it adds to them (`` class={`${widgetChromeClasses.widgetBody} ${styles.body}`} ``).
|
|
6
|
+
* The chrome sits in the `vk.composed` cascade layer, so a host class outside any cascade layer
|
|
7
|
+
* wins where both set a property.
|
|
8
|
+
*/
|
|
9
|
+
export interface WidgetChromeClasses {
|
|
10
|
+
/** The header's stacking: on top of the body content, edge to edge over the body padding. */
|
|
11
|
+
readonly stickyHeader: string;
|
|
12
|
+
/** The widget body: a full-height column. */
|
|
13
|
+
readonly widgetBody: string;
|
|
14
|
+
/** A title row that holds more than the title (host name, count). */
|
|
15
|
+
readonly widgetHeader: string;
|
|
16
|
+
/** The title when it is the body's direct child. */
|
|
17
|
+
readonly widgetTitle: string;
|
|
18
|
+
/** A header row aligned on the centre line instead of the text baseline. */
|
|
19
|
+
readonly widgetHeaderCentered: string;
|
|
20
|
+
/** The muted host name beside the title. */
|
|
21
|
+
readonly widgetHost: string;
|
|
22
|
+
/** The count pill beside the title. */
|
|
23
|
+
readonly widgetCount: string;
|
|
24
|
+
/** A column that fills the rest of the body under the header. */
|
|
25
|
+
readonly widgetContent: string;
|
|
26
|
+
/** A title with the sticky stacking of its own, with no header row around it. */
|
|
27
|
+
readonly widgetTitleSticky: string;
|
|
28
|
+
/** The body of a single-value widget, centred. */
|
|
29
|
+
readonly widgetStatBody: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const widgetChromeClasses: WidgetChromeClasses;
|