@tylertech/forge 3.7.0 → 3.8.0-dev.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 +366 -322
- package/dist/button/forge-button.css +3 -2
- package/dist/dialog/forge-dialog.css +3 -0
- package/dist/lib.js +23 -15
- package/dist/lib.js.map +4 -4
- package/dist/switch/forge-switch.css +1 -1
- package/dist/vscode.css-custom-data.json +20 -20
- package/dist/vscode.html-custom-data.json +23 -44
- package/esm/app-bar/notification-button/app-bar-notification-button-adapter.js +4 -5
- package/esm/app-bar/notification-button/app-bar-notification-button.js +6 -3
- package/esm/app-bar/profile-button/app-bar-profile-button.js +1 -1
- package/esm/autocomplete/autocomplete-adapter.js +1 -1
- package/esm/avatar/avatar-constants.d.ts +1 -0
- package/esm/avatar/avatar-constants.js +1 -0
- package/esm/avatar/avatar.d.ts +1 -1
- package/esm/avatar/avatar.js +1 -1
- package/esm/badge/badge-component-delegate.js +1 -2
- package/esm/badge/badge-constants.d.ts +1 -0
- package/esm/badge/badge-constants.js +1 -0
- package/esm/badge/badge.d.ts +20 -23
- package/esm/badge/badge.js +57 -47
- package/esm/badge/index.js +3 -3
- package/esm/bottom-sheet/bottom-sheet-constants.d.ts +1 -1
- package/esm/bottom-sheet/bottom-sheet.d.ts +3 -1
- package/esm/button/button.js +1 -1
- package/esm/button-toggle/button-toggle-group/button-toggle-group-adapter.js +1 -2
- package/esm/button-toggle/button-toggle-group/button-toggle-group.d.ts +6 -6
- package/esm/button-toggle/button-toggle-group/button-toggle-group.js +6 -6
- package/esm/card/card-constants.d.ts +1 -0
- package/esm/card/card-constants.js +1 -0
- package/esm/card/card.d.ts +12 -13
- package/esm/card/card.js +25 -34
- package/esm/card/index.js +3 -3
- package/esm/checkbox/checkbox.d.ts +5 -1
- package/esm/chips/chip/chip-constants.d.ts +1 -1
- package/esm/core/delegates/base-component-delegate.d.ts +1 -1
- package/esm/core/mask/date-input-mask.d.ts +3 -3
- package/esm/core/mask/date-input-mask.js +7 -8
- package/esm/core/mask/intermediate-time-parser.d.ts +2 -2
- package/esm/core/mask/intermediate-time-parser.js +2 -3
- package/esm/core/mask/time-input-mask.d.ts +3 -3
- package/esm/core/mask/time-input-mask.js +4 -5
- package/esm/core/mixins/label/with-label-aware.d.ts +4 -1
- package/esm/core/utils/a11y-utils.d.ts +0 -8
- package/esm/core/utils/a11y-utils.js +5 -25
- package/esm/core/utils/dismissible-stack.d.ts +7 -0
- package/esm/core/utils/position-utils.d.ts +1 -2
- package/esm/core/utils/position-utils.js +7 -22
- package/esm/core/utils/utils.d.ts +8 -0
- package/esm/core/utils/utils.js +26 -1
- package/esm/date-picker/base/base-date-picker-constants.d.ts +2 -2
- package/esm/deprecated/button/deprecated-button.js +1 -1
- package/esm/dialog/dialog-core.js +2 -2
- package/esm/dialog/dialog.d.ts +2 -0
- package/esm/dialog/dialog.js +1 -1
- package/esm/expansion-panel/expansion-panel-adapter.d.ts +31 -0
- package/esm/expansion-panel/expansion-panel-adapter.js +60 -1
- package/esm/expansion-panel/expansion-panel-constants.d.ts +4 -0
- package/esm/expansion-panel/expansion-panel-constants.js +4 -1
- package/esm/expansion-panel/expansion-panel-core.d.ts +13 -1
- package/esm/expansion-panel/expansion-panel-core.js +63 -1
- package/esm/expansion-panel/expansion-panel.d.ts +9 -0
- package/esm/expansion-panel/expansion-panel.js +14 -0
- package/esm/floating-action-button/floating-action-button-constants.d.ts +1 -1
- package/esm/icon/icon-constants.d.ts +1 -1
- package/esm/icon/icon-registry.d.ts +6 -0
- package/esm/icon-button/icon-button-constants.d.ts +1 -1
- package/esm/label/label-adapter.js +1 -1
- package/esm/list/list-item/list-item.js +1 -1
- package/esm/meter/meter/meter.js +2 -1
- package/esm/meter/meter-group/meter-group.js +2 -1
- package/esm/overlay/base/base-overlay-core.d.ts +3 -3
- package/esm/overlay/base/base-overlay.d.ts +3 -3
- package/esm/overlay/base/base-overlay.js +11 -1
- package/esm/overlay/base/overlay-aware-core.d.ts +3 -3
- package/esm/overlay/base/overlay-aware-core.js +2 -1
- package/esm/overlay/overlay-adapter.d.ts +2 -2
- package/esm/overlay/overlay-adapter.js +6 -14
- package/esm/overlay/overlay-constants.d.ts +2 -5
- package/esm/overlay/overlay-constants.js +2 -23
- package/esm/overlay/overlay-core.d.ts +3 -3
- package/esm/overlay/overlay-core.js +13 -3
- package/esm/overlay/overlay.d.ts +2 -2
- package/esm/overlay/overlay.js +2 -2
- package/esm/popover/popover.js +1 -1
- package/esm/profile-card/profile-card-core.js +4 -4
- package/esm/radio/core/radio-group-manager.d.ts +2 -1
- package/esm/radio/radio/radio.d.ts +1 -0
- package/esm/split-button/split-button-constants.d.ts +2 -2
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/stepper/stepper/stepper-constants.d.ts +15 -1
- package/esm/switch/switch.d.ts +5 -1
- package/esm/switch/switch.js +1 -1
- package/esm/table/table-core.js +10 -2
- package/esm/table/table-utils.js +8 -4
- package/esm/time-picker/time-picker-constants.d.ts +2 -2
- package/esm/toast/toast-constants.d.ts +1 -1
- package/esm/tooltip/tooltip-constants.d.ts +1 -1
- package/package.json +4 -4
- package/sass/badge/badge.scss +10 -10
- package/sass/button/_core.scss +1 -0
- package/sass/calendar/_variables.scss +3 -2
- package/sass/card/card.scss +1 -1
- package/sass/core/styles/tokens/button/_tokens.scss +2 -2
- package/sass/core/styles/tokens/slider/_tokens.scss +10 -4
- package/sass/core/styles/tokens/switch/_tokens.scss +1 -1
- package/sass/dialog/dialog.scss +8 -0
- package/sass/dialog/forge-dialog.scss +4 -0
- package/sass/linear-progress/linear-progress.scss +7 -3
- package/sass/list/list-item/list-item.scss +1 -1
- package/sass/popover/popover.scss +0 -1
- package/sass/slider/_core.scss +2 -3
|
@@ -19,7 +19,7 @@ $tokens: (
|
|
|
19
19
|
text-color: utils.module-ref(button, text-color, primary-color),
|
|
20
20
|
disabled-color: utils.module-val(button, disabled-color, theme.variable(surface-container)),
|
|
21
21
|
padding: utils.module-val(button, padding, spacing.variable(medium)),
|
|
22
|
-
display: utils.module-val(button, display, inline-
|
|
22
|
+
display: utils.module-val(button, display, inline-grid),
|
|
23
23
|
justify: utils.module-val(button, justify, center),
|
|
24
24
|
shape: utils.module-val(button, shape, shape.variable(medium)),
|
|
25
25
|
// Base
|
|
@@ -33,7 +33,7 @@ $tokens: (
|
|
|
33
33
|
shape-start-end-radius: utils.module-ref(button, shape-start-end-radius, shape),
|
|
34
34
|
shape-end-start-radius: utils.module-ref(button, shape-end-start-radius, shape),
|
|
35
35
|
shape-end-end-radius: utils.module-ref(button, shape-end-end-radius, shape),
|
|
36
|
-
padding-block: utils.module-ref(button, padding-block,
|
|
36
|
+
padding-block: utils.module-ref(button, padding-block, 0),
|
|
37
37
|
padding-inline: utils.module-ref(button, padding-inline, padding),
|
|
38
38
|
background: utils.module-val(button, background, transparent),
|
|
39
39
|
hover-background: utils.module-ref(button, hover-background, background),
|
|
@@ -37,10 +37,16 @@ $tokens: (
|
|
|
37
37
|
with-overlap-handle-outline-width: utils.module-val(slider, with-overlap-handle-outline-width, 1px),
|
|
38
38
|
with-tick-marks-active-container-color: utils.module-val(slider, with-tick-marks-active-container-color, theme.variable(on-primary)),
|
|
39
39
|
with-tick-marks-container-size: utils.module-val(slider, with-tick-marks-container-size, 2px),
|
|
40
|
-
with-tick-marks-disabled-active-container-color:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
with-tick-marks-disabled-active-container-color: utils.module-val(
|
|
41
|
+
slider,
|
|
42
|
+
with-tick-marks-disabled-active-container-color,
|
|
43
|
+
theme.variable(on-surface-container-high)
|
|
44
|
+
),
|
|
45
|
+
with-tick-marks-disabled-inactive-container-color: utils.module-val(
|
|
46
|
+
slider,
|
|
47
|
+
with-tick-marks-disabled-inactive-container-color,
|
|
48
|
+
theme.variable(on-surface-container-high)
|
|
49
|
+
),
|
|
44
50
|
with-tick-marks-inactive-container-color: utils.module-val(slider, with-tick-marks-inactive-container-color, theme.variable(primary))
|
|
45
51
|
) !default;
|
|
46
52
|
|
|
@@ -63,7 +63,7 @@ $tokens: (
|
|
|
63
63
|
state-layer-dense-width: utils.module-ref(switch, state-layer-dense-width, state-layer-dense-size),
|
|
64
64
|
state-layer-dense-height: utils.module-ref(switch, state-layer-dense-height, state-layer-dense-size),
|
|
65
65
|
// Disabled
|
|
66
|
-
disabled-opacity: utils.module-val(switch, disabled-opacity, theme.emphasis(medium
|
|
66
|
+
disabled-opacity: utils.module-val(switch, disabled-opacity, theme.emphasis(medium)),
|
|
67
67
|
// Active
|
|
68
68
|
handle-active-on-color: utils.module-ref(switch, handle-active-on-color, handle-on-color),
|
|
69
69
|
handle-active-off-color: utils.module-ref(switch, handle-active-off-color, handle-off-color),
|
package/sass/dialog/dialog.scss
CHANGED
|
@@ -35,9 +35,13 @@ $_host-tokens: [track-height];
|
|
|
35
35
|
// State vars
|
|
36
36
|
#{declare(track-dot-size)}: calc(#{token(track-height)} / 2);
|
|
37
37
|
#{declare(track-background-width)}: calc(#{token(track-dot-size, custom)} * 5);
|
|
38
|
-
#{declare(track-background)}: 0 / #{token(track-background-width, custom)} 100%
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
#{declare(track-background)}: 0 / #{token(track-background-width, custom)} 100%
|
|
39
|
+
radial-gradient(
|
|
40
|
+
circle at calc(#{token(track-dot-size, custom)} * 2),
|
|
41
|
+
#{token(track-color)} 0,
|
|
42
|
+
#{token(track-color)} #{token(track-dot-size, custom)},
|
|
43
|
+
transparent #{token(track-dot-size, custom)}
|
|
44
|
+
);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
.forge-linear-progress {
|
package/sass/slider/_core.scss
CHANGED
|
@@ -45,9 +45,8 @@ $_active-track-end-clip: calc(#{$_active-track-end-offset} + #{$_active-track-ma
|
|
|
45
45
|
// Clip the inputs to the space left/right of the center point between the
|
|
46
46
|
// values so the right input gets pointer events.
|
|
47
47
|
$_clip-to-start: calc(
|
|
48
|
-
#{token(state-layer-size)} / 2 + (100% - #{token(state-layer-size)}) *
|
|
49
|
-
|
|
50
|
-
) / 2))
|
|
48
|
+
#{token(state-layer-size)} / 2 + (100% - #{token(state-layer-size)}) *
|
|
49
|
+
(#{token(start-fraction, custom)} + ((#{token(end-fraction, custom)} - #{token(start-fraction, custom)}) / 2))
|
|
51
50
|
);
|
|
52
51
|
|
|
53
52
|
$_clip-to-end: calc(100% - $_clip-to-start);
|