@tylertech/forge 3.4.1 → 3.5.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.
- package/custom-elements.json +1163 -134
- package/dist/avatar/forge-avatar.css +0 -1
- package/dist/dialog/forge-dialog.css +0 -1
- package/dist/divider/forge-divider.css +0 -1
- package/dist/label-value/forge-label-value.css +2 -0
- package/dist/lib.js +174 -1
- package/dist/lib.js.map +4 -4
- package/dist/vscode.css-custom-data.json +164 -3
- package/dist/vscode.html-custom-data.json +144 -2
- package/esm/app-bar/search/app-bar-search.js +1 -1
- package/esm/autocomplete/autocomplete-core.js +4 -2
- package/esm/autocomplete/autocomplete.js +1 -5
- package/esm/avatar/avatar.js +1 -1
- package/esm/backdrop/backdrop.js +1 -1
- package/esm/button-toggle/button-toggle/button-toggle-core.js +0 -1
- package/esm/chips/chip/chip.js +1 -1
- package/esm/core/utils/a11y-utils.d.ts +20 -1
- package/esm/core/utils/a11y-utils.js +26 -1
- package/esm/divider/divider.js +1 -1
- package/esm/drawer/drawer/drawer.js +1 -1
- package/esm/drawer/mini-drawer/mini-drawer.d.ts +1 -0
- package/esm/drawer/mini-drawer/mini-drawer.js +2 -1
- package/esm/file-picker/file-picker-adapter.d.ts +2 -0
- package/esm/file-picker/file-picker-adapter.js +6 -0
- package/esm/file-picker/file-picker-core.js +1 -0
- package/esm/icon-button/icon-button.js +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.js +8 -0
- package/esm/key/index.d.ts +7 -0
- package/esm/key/index.js +7 -0
- package/esm/key/key/index.d.ts +7 -0
- package/esm/key/key/index.js +11 -0
- package/esm/key/key/key.d.ts +30 -0
- package/esm/key/key/key.js +43 -0
- package/esm/key/key-item/index.d.ts +7 -0
- package/esm/key/key-item/index.js +11 -0
- package/esm/key/key-item/key-item.d.ts +47 -0
- package/esm/key/key-item/key-item.js +86 -0
- package/esm/label-value/label-value.js +1 -1
- package/esm/linear-progress/linear-progress.js +1 -1
- package/esm/list-dropdown/list-dropdown-aware.d.ts +1 -0
- package/esm/list-dropdown/list-dropdown-aware.js +11 -0
- package/esm/meter/index.d.ts +7 -0
- package/esm/meter/index.js +7 -0
- package/esm/meter/meter/index.d.ts +7 -0
- package/esm/meter/meter/index.js +11 -0
- package/esm/meter/meter/meter.d.ts +187 -0
- package/esm/meter/meter/meter.js +359 -0
- package/esm/meter/meter-group/index.d.ts +7 -0
- package/esm/meter/meter-group/index.js +11 -0
- package/esm/meter/meter-group/meter-group.d.ts +108 -0
- package/esm/meter/meter-group/meter-group.js +198 -0
- package/esm/select/select/select.d.ts +3 -1
- package/esm/split-view/split-view/split-view.js +1 -1
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/toolbar/toolbar.d.ts +2 -2
- package/esm/toolbar/toolbar.js +3 -3
- package/package.json +2 -1
- package/sass/avatar/_core.scss +0 -2
- package/sass/backdrop/_core.scss +0 -1
- package/sass/core/styles/tokens/app-bar/search/_tokens.scss +1 -1
- package/sass/core/styles/tokens/drawer/mini/_tokens.scss +1 -0
- package/sass/core/styles/tokens/key/key/_tokens.scss +17 -0
- package/sass/core/styles/tokens/key/key-item/_tokens.scss +22 -0
- package/sass/core/styles/tokens/meter/meter/_tokens.scss +30 -0
- package/sass/core/styles/tokens/meter/meter-group/_tokens.scss +26 -0
- package/sass/core/styles/typography/index.scss +1 -1
- package/sass/divider/_core.scss +0 -1
- package/sass/drawer/base/_core.scss +1 -2
- package/sass/drawer/drawer/drawer.scss +3 -9
- package/sass/drawer/mini-drawer/_core.scss +1 -0
- package/sass/icon-button/icon-button.scss +20 -1
- package/sass/key/key/_core.scss +20 -0
- package/sass/key/key/_token-utils.scss +30 -0
- package/sass/key/key/index.scss +6 -0
- package/sass/key/key/key.scss +26 -0
- package/sass/key/key-item/_core.scss +69 -0
- package/sass/key/key-item/_token-utils.scss +30 -0
- package/sass/key/key-item/index.scss +6 -0
- package/sass/key/key-item/key-item.scss +60 -0
- package/sass/label-value/_core.scss +2 -0
- package/sass/linear-progress/_core.scss +4 -1
- package/sass/meter/meter/_core.scss +206 -0
- package/sass/meter/meter/_token-utils.scss +30 -0
- package/sass/meter/meter/index.scss +6 -0
- package/sass/meter/meter/meter.scss +218 -0
- package/sass/meter/meter-group/_core.scss +83 -0
- package/sass/meter/meter-group/_token-utils.scss +30 -0
- package/sass/meter/meter-group/index.scss +6 -0
- package/sass/meter/meter-group/meter-group.scss +111 -0
- package/sass/split-view/split-view/_mixins.scss +0 -1
- package/sass/split-view/split-view-panel/_mixins.scss +2 -2
- package/sass/toolbar/_core.scss +0 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use '../../core/styles/spacing';
|
|
7
|
+
@use '../../core/styles/theme';
|
|
8
|
+
@use '../meter/core' as meter;
|
|
9
|
+
@use './token-utils' as *;
|
|
10
|
+
|
|
11
|
+
@forward './token-utils';
|
|
12
|
+
|
|
13
|
+
@mixin host {
|
|
14
|
+
display: inline;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin vertical-host {
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin base {
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin vertical-base {
|
|
26
|
+
@include meter.vertical-base;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin heading {
|
|
30
|
+
@include meter.heading;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin vertical-heading {
|
|
34
|
+
@include meter.vertical-heading;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin heading-with-content {
|
|
38
|
+
@include meter.heading-with-content;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin vertical-heading-with-content {
|
|
42
|
+
@include meter.vertical-heading-with-content;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@mixin label {
|
|
46
|
+
@include meter.label;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin value {
|
|
50
|
+
@include meter.value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin track {
|
|
54
|
+
position: relative;
|
|
55
|
+
height: #{token(height)};
|
|
56
|
+
border-radius: #{token(shape)};
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
background: #{token(background)};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin vertical-track {
|
|
62
|
+
width: #{token(height)};
|
|
63
|
+
height: 100%;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@mixin tickmarks {
|
|
67
|
+
content: '';
|
|
68
|
+
position: relative;
|
|
69
|
+
display: block;
|
|
70
|
+
z-index: 9999;
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: 100%;
|
|
73
|
+
margin-left: -1px;
|
|
74
|
+
background: meter.tickmarks-background(#{token(tickmarks)}, #{token(tickmark-color)});
|
|
75
|
+
opacity: #{token(tickmark-opacity)};
|
|
76
|
+
pointer-events: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@mixin vertical-tickmarks {
|
|
80
|
+
margin-top: 1px;
|
|
81
|
+
margin-left: 0;
|
|
82
|
+
background: meter.tickmarks-background(#{token(tickmarks)}, #{token(tickmark-color), null, true});
|
|
83
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use '../../core/styles/tokens/meter/meter-group/tokens';
|
|
7
|
+
@use '../../core/styles/tokens/token-utils';
|
|
8
|
+
|
|
9
|
+
$_module: meter-group;
|
|
10
|
+
$_tokens: tokens.$tokens;
|
|
11
|
+
|
|
12
|
+
@mixin provide-theme($theme) {
|
|
13
|
+
@include token-utils.provide-theme($_module, $_tokens, $theme);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@function token($name, $type: token) {
|
|
17
|
+
@return token-utils.token($_module, $_tokens, $name, $type);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@function declare($token) {
|
|
21
|
+
@return token-utils.declare($_module, $token);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin override($token, $token-or-value, $type: token) {
|
|
25
|
+
@include token-utils.override($_module, $_tokens, $token, $token-or-value, $type);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@mixin tokens($includes: null, $excludes: null) {
|
|
29
|
+
@include token-utils.tokens($_module, $_tokens, $includes, $excludes);
|
|
30
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use '../../core/styles/shape';
|
|
7
|
+
@use '../../core/styles/spacing';
|
|
8
|
+
@use '../meter';
|
|
9
|
+
@use './core';
|
|
10
|
+
|
|
11
|
+
//
|
|
12
|
+
// Host
|
|
13
|
+
//
|
|
14
|
+
|
|
15
|
+
:host {
|
|
16
|
+
@include core.host;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//
|
|
20
|
+
// Base
|
|
21
|
+
//
|
|
22
|
+
|
|
23
|
+
.forge-meter-group {
|
|
24
|
+
@include core.tokens;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.forge-meter-group {
|
|
28
|
+
@include core.base;
|
|
29
|
+
|
|
30
|
+
.heading {
|
|
31
|
+
@include core.heading;
|
|
32
|
+
|
|
33
|
+
&.not-empty {
|
|
34
|
+
@include core.heading-with-content;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.label {
|
|
39
|
+
@include core.label;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.value {
|
|
43
|
+
@include core.value;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.track {
|
|
47
|
+
@include core.track;
|
|
48
|
+
|
|
49
|
+
&.tickmarks::after {
|
|
50
|
+
@include core.tickmarks;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.inner-shape--inherit {
|
|
54
|
+
@include meter.provide-theme(
|
|
55
|
+
(
|
|
56
|
+
inner-shape: #{core.token(shape)}
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@each $key, $value in ('default': shape.variable(medium), 'rounded': shape.variable(full), 'squared': 0) {
|
|
62
|
+
&.shape--#{$key} {
|
|
63
|
+
@include core.override(shape, $value, value);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@each $key, $value in ('small': 'xsmall', 'medium': 'medium', 'large': 'large') {
|
|
68
|
+
&.density--#{$key} {
|
|
69
|
+
@include core.override(height, spacing.variable($value), value);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
//
|
|
76
|
+
// Vertical
|
|
77
|
+
//
|
|
78
|
+
|
|
79
|
+
:host(:is(:state(vertical), :--vertical)) {
|
|
80
|
+
@include core.vertical-host;
|
|
81
|
+
|
|
82
|
+
.forge-meter-group {
|
|
83
|
+
@include core.vertical-base;
|
|
84
|
+
|
|
85
|
+
.heading {
|
|
86
|
+
@include core.vertical-heading;
|
|
87
|
+
|
|
88
|
+
&.not-empty {
|
|
89
|
+
@include core.vertical-heading-with-content;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.track {
|
|
94
|
+
@include core.vertical-track;
|
|
95
|
+
|
|
96
|
+
&.tickmarks::after {
|
|
97
|
+
@include core.vertical-tickmarks;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
//
|
|
104
|
+
// Media
|
|
105
|
+
//
|
|
106
|
+
|
|
107
|
+
@media (forced-colors: active) {
|
|
108
|
+
.track {
|
|
109
|
+
border: 1px solid CanvasText;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
@use 'sass:string';
|
|
6
7
|
@use '../../core/styles/animation';
|
|
7
8
|
@use '../../core/styles/theme';
|
|
8
9
|
@use './variables';
|
|
@@ -132,7 +133,6 @@
|
|
|
132
133
|
width: 100%;
|
|
133
134
|
height: 100%;
|
|
134
135
|
overflow: hidden;
|
|
135
|
-
contain: paint size;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@mixin base-horizontal() {
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
@mixin closing-animation($direction: right) {
|
|
214
214
|
@include animating-position($direction);
|
|
215
215
|
|
|
216
|
-
$animation-name: unique-id;
|
|
216
|
+
$animation-name: string.unique-id();
|
|
217
217
|
|
|
218
218
|
animation-name: $animation-name;
|
|
219
219
|
animation-duration: #{animation.variable(duration-medium2)};
|