@tylertech/forge 3.3.6 → 3.4.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 +48 -27
- package/dist/app-bar/forge-app-bar.css +2 -1
- package/dist/forge.css +12 -0
- package/dist/icon-button/forge-icon-button.css +1 -0
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +3 -3
- package/dist/toolbar/forge-toolbar.css +2 -1
- package/dist/typography/forge-typography.css +12 -0
- package/dist/vscode.css-custom-data.json +15 -15
- package/dist/vscode.html-custom-data.json +6 -6
- package/esm/app-bar/app-bar/app-bar.d.ts +1 -0
- package/esm/app-bar/app-bar/app-bar.js +2 -1
- package/esm/calendar/calendar-core.d.ts +1 -1
- package/esm/calendar/calendar-core.js +1 -1
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/deprecated/icon-button/deprecated-icon-button.js +1 -1
- package/esm/icon-button/icon-button.d.ts +1 -0
- package/esm/icon-button/icon-button.js +2 -1
- package/esm/popover/popover-adapter.js +3 -1
- package/esm/radio/radio/radio.js +1 -1
- package/esm/switch/switch.js +1 -1
- package/esm/tabs/tab/tab-adapter.d.ts +3 -0
- package/esm/tabs/tab/tab-adapter.js +5 -0
- package/esm/tabs/tab/tab-core.d.ts +3 -0
- package/esm/tabs/tab/tab-core.js +5 -0
- package/esm/tabs/tab/tab.d.ts +6 -4
- package/esm/tabs/tab/tab.js +6 -5
- package/esm/tabs/tab-bar/tab-bar-core.js +1 -1
- package/esm/tabs/tab-bar/tab-bar.d.ts +4 -2
- package/esm/tabs/tab-bar/tab-bar.js +3 -3
- package/esm/toolbar/toolbar.d.ts +1 -0
- package/esm/toolbar/toolbar.js +2 -1
- package/package.json +1 -1
- package/sass/app-bar/app-bar/_core.scss +1 -1
- package/sass/checkbox/_core.scss +1 -1
- package/sass/core/styles/tokens/app-bar/app-bar/_tokens.scss +1 -0
- package/sass/core/styles/tokens/icon-button/_tokens.scss +1 -0
- package/sass/core/styles/tokens/tabs/tab/_tokens.scss +6 -6
- package/sass/core/styles/tokens/toolbar/_tokens.scss +2 -1
- package/sass/core/styles/tokens/typography/_tokens.label.scss +10 -0
- package/sass/icon-button/_core.scss +1 -0
- package/sass/radio/radio/_core.scss +1 -1
- package/sass/switch/_core.scss +1 -1
- package/sass/tabs/tab/_core.scss +4 -19
- package/sass/tabs/tab/tab.scss +1 -25
- package/sass/tabs/tab-bar/_core.scss +1 -0
- package/sass/toolbar/_core.scss +1 -1
package/custom-elements.json
CHANGED
|
@@ -9957,6 +9957,10 @@
|
|
|
9957
9957
|
"description": "The size of the button when in the large density.",
|
|
9958
9958
|
"name": "--forge-icon-button-density-large-size"
|
|
9959
9959
|
},
|
|
9960
|
+
{
|
|
9961
|
+
"description": "The background color of the when in toggle mode and toggled on.",
|
|
9962
|
+
"name": "--forge-icon-button-toggle-on-background-color"
|
|
9963
|
+
},
|
|
9960
9964
|
{
|
|
9961
9965
|
"description": "The color of the icon when in toggle mode and toggled on.",
|
|
9962
9966
|
"name": "--forge-icon-button-toggle-on-icon-color"
|
|
@@ -19662,6 +19666,10 @@
|
|
|
19662
19666
|
{
|
|
19663
19667
|
"description": "Controls the left and right padding using the padding-block style.",
|
|
19664
19668
|
"name": "--forge-toolbar-padding-inline"
|
|
19669
|
+
},
|
|
19670
|
+
{
|
|
19671
|
+
"description": "The grid column track sizes.",
|
|
19672
|
+
"name": "--forge-toolbar-columns"
|
|
19665
19673
|
}
|
|
19666
19674
|
],
|
|
19667
19675
|
"cssParts": [
|
|
@@ -20396,6 +20404,10 @@
|
|
|
20396
20404
|
"description": "The padding around the title element.",
|
|
20397
20405
|
"name": "--forge-app-bar-title-padding"
|
|
20398
20406
|
},
|
|
20407
|
+
{
|
|
20408
|
+
"description": "The grid column track sizes.",
|
|
20409
|
+
"name": "--forge-app-bar-columns"
|
|
20410
|
+
},
|
|
20399
20411
|
{
|
|
20400
20412
|
"description": "The transition duration for animations.",
|
|
20401
20413
|
"name": "--forge-app-bar-transition-duration"
|
|
@@ -30561,14 +30573,6 @@
|
|
|
30561
30573
|
"description": "The shape of the active tab indicator when vertical.",
|
|
30562
30574
|
"name": "--forge-tab-vertical-indicator-shape"
|
|
30563
30575
|
},
|
|
30564
|
-
{
|
|
30565
|
-
"description": "The height of the secondary tab indicator.",
|
|
30566
|
-
"name": "--forge-tab-secondary-indicator-height"
|
|
30567
|
-
},
|
|
30568
|
-
{
|
|
30569
|
-
"description": "The shape of the secondary tab indicator.",
|
|
30570
|
-
"name": "--forge-tab-secondary-indicator-shape"
|
|
30571
|
-
},
|
|
30572
30576
|
{
|
|
30573
30577
|
"description": "The shape of the active tab indicator when inverted.",
|
|
30574
30578
|
"name": "--forge-tab-inverted-indicator-shape"
|
|
@@ -30609,10 +30613,6 @@
|
|
|
30609
30613
|
"description": "The inline padding of the tab content.",
|
|
30610
30614
|
"name": "--forge-tab-content-padding-inline"
|
|
30611
30615
|
},
|
|
30612
|
-
{
|
|
30613
|
-
"description": "The inline padding of the tab content when secondary.",
|
|
30614
|
-
"name": "--forge-tab-content-padding-inline-secondary"
|
|
30615
|
-
},
|
|
30616
30616
|
{
|
|
30617
30617
|
"description": "The color of the icon when the tab is active and focused.",
|
|
30618
30618
|
"name": "--forge-tab-active-focus-icon-color"
|
|
@@ -30762,6 +30762,7 @@
|
|
|
30762
30762
|
"text": "boolean"
|
|
30763
30763
|
},
|
|
30764
30764
|
"privacy": "public",
|
|
30765
|
+
"deprecated": "This will be removed in a future version",
|
|
30765
30766
|
"description": "Controls whether the tab is styled as secondary tab navigation.",
|
|
30766
30767
|
"default": "false"
|
|
30767
30768
|
},
|
|
@@ -30774,6 +30775,25 @@
|
|
|
30774
30775
|
"privacy": "public",
|
|
30775
30776
|
"description": "Controls whether the tab indicator is rendered on the opposite side of the tab.",
|
|
30776
30777
|
"default": "false"
|
|
30778
|
+
},
|
|
30779
|
+
{
|
|
30780
|
+
"kind": "method",
|
|
30781
|
+
"name": "focus",
|
|
30782
|
+
"privacy": "public",
|
|
30783
|
+
"return": {
|
|
30784
|
+
"type": {
|
|
30785
|
+
"text": "void"
|
|
30786
|
+
}
|
|
30787
|
+
},
|
|
30788
|
+
"parameters": [
|
|
30789
|
+
{
|
|
30790
|
+
"name": "options",
|
|
30791
|
+
"optional": true,
|
|
30792
|
+
"type": {
|
|
30793
|
+
"text": "ExperimentalFocusOptions"
|
|
30794
|
+
}
|
|
30795
|
+
}
|
|
30796
|
+
]
|
|
30777
30797
|
}
|
|
30778
30798
|
],
|
|
30779
30799
|
"events": [
|
|
@@ -30807,7 +30827,7 @@
|
|
|
30807
30827
|
"default": "false"
|
|
30808
30828
|
},
|
|
30809
30829
|
{
|
|
30810
|
-
"description": "Controls whether the tab is styled as secondary tab navigation.",
|
|
30830
|
+
"description": "Deprecated. Controls whether the tab is styled as secondary tab navigation.",
|
|
30811
30831
|
"name": "secondary",
|
|
30812
30832
|
"default": "false"
|
|
30813
30833
|
},
|
|
@@ -30940,7 +30960,8 @@
|
|
|
30940
30960
|
"text": "boolean"
|
|
30941
30961
|
},
|
|
30942
30962
|
"privacy": "public",
|
|
30943
|
-
"
|
|
30963
|
+
"deprecated": "This will be removed in a future version",
|
|
30964
|
+
"description": "Deprecated. Controls whether the tabs are styled as secondary tab navigation.",
|
|
30944
30965
|
"default": "false"
|
|
30945
30966
|
},
|
|
30946
30967
|
{
|
|
@@ -31028,7 +31049,7 @@
|
|
|
31028
31049
|
"type": {
|
|
31029
31050
|
"text": "boolean"
|
|
31030
31051
|
},
|
|
31031
|
-
"description": "Controls whether the tabs are styled as secondary tab navigation.",
|
|
31052
|
+
"description": "Deprecated. Controls whether the tabs are styled as secondary tab navigation.",
|
|
31032
31053
|
"name": "secondary",
|
|
31033
31054
|
"default": "false"
|
|
31034
31055
|
},
|
|
@@ -31250,7 +31271,7 @@
|
|
|
31250
31271
|
},
|
|
31251
31272
|
"HTMLElementEventMap": {
|
|
31252
31273
|
"path": "src/lib/tabs/tab-bar/tab-bar.ts",
|
|
31253
|
-
"lineNumber":
|
|
31274
|
+
"lineNumber": 32
|
|
31254
31275
|
},
|
|
31255
31276
|
"AutocompleteComponent": {
|
|
31256
31277
|
"path": "src/lib/autocomplete/autocomplete.ts",
|
|
@@ -32250,7 +32271,7 @@
|
|
|
32250
32271
|
},
|
|
32251
32272
|
"IconButtonComponent": {
|
|
32252
32273
|
"path": "src/lib/icon-button/icon-button.ts",
|
|
32253
|
-
"lineNumber":
|
|
32274
|
+
"lineNumber": 142
|
|
32254
32275
|
},
|
|
32255
32276
|
"LegacyInlineMessageThemes": {
|
|
32256
32277
|
"path": "src/lib/inline-message/inline-message-constants.ts",
|
|
@@ -32670,11 +32691,11 @@
|
|
|
32670
32691
|
},
|
|
32671
32692
|
"IPopoverAdapter": {
|
|
32672
32693
|
"path": "src/lib/popover/popover-adapter.ts",
|
|
32673
|
-
"lineNumber":
|
|
32694
|
+
"lineNumber": 10
|
|
32674
32695
|
},
|
|
32675
32696
|
"PopoverAdapter": {
|
|
32676
32697
|
"path": "src/lib/popover/popover-adapter.ts",
|
|
32677
|
-
"lineNumber":
|
|
32698
|
+
"lineNumber": 29
|
|
32678
32699
|
},
|
|
32679
32700
|
"PopoverAnimationType": {
|
|
32680
32701
|
"path": "src/lib/popover/popover-constants.ts",
|
|
@@ -33330,7 +33351,7 @@
|
|
|
33330
33351
|
},
|
|
33331
33352
|
"ToolbarComponent": {
|
|
33332
33353
|
"path": "src/lib/toolbar/toolbar.ts",
|
|
33333
|
-
"lineNumber":
|
|
33354
|
+
"lineNumber": 72
|
|
33334
33355
|
},
|
|
33335
33356
|
"ITooltipAdapter": {
|
|
33336
33357
|
"path": "src/lib/tooltip/tooltip-adapter.ts",
|
|
@@ -33438,7 +33459,7 @@
|
|
|
33438
33459
|
},
|
|
33439
33460
|
"AppBarComponent": {
|
|
33440
33461
|
"path": "src/lib/app-bar/app-bar/app-bar.ts",
|
|
33441
|
-
"lineNumber":
|
|
33462
|
+
"lineNumber": 78
|
|
33442
33463
|
},
|
|
33443
33464
|
"IAppBarHelpButtonAdapter": {
|
|
33444
33465
|
"path": "src/lib/app-bar/help-button/app-bar-help-button-adapter.ts",
|
|
@@ -34714,23 +34735,23 @@
|
|
|
34714
34735
|
},
|
|
34715
34736
|
"ITabAdapter": {
|
|
34716
34737
|
"path": "src/lib/tabs/tab/tab-adapter.ts",
|
|
34717
|
-
"lineNumber":
|
|
34738
|
+
"lineNumber": 9
|
|
34718
34739
|
},
|
|
34719
34740
|
"TabAdapter": {
|
|
34720
34741
|
"path": "src/lib/tabs/tab/tab-adapter.ts",
|
|
34721
|
-
"lineNumber":
|
|
34742
|
+
"lineNumber": 19
|
|
34722
34743
|
},
|
|
34723
34744
|
"ITabCore": {
|
|
34724
34745
|
"path": "src/lib/tabs/tab/tab-core.ts",
|
|
34725
|
-
"lineNumber":
|
|
34746
|
+
"lineNumber": 5
|
|
34726
34747
|
},
|
|
34727
34748
|
"TabCore": {
|
|
34728
34749
|
"path": "src/lib/tabs/tab/tab-core.ts",
|
|
34729
|
-
"lineNumber":
|
|
34750
|
+
"lineNumber": 15
|
|
34730
34751
|
},
|
|
34731
34752
|
"ITabComponent": {
|
|
34732
34753
|
"path": "src/lib/tabs/tab/tab.ts",
|
|
34733
|
-
"lineNumber":
|
|
34754
|
+
"lineNumber": 14
|
|
34734
34755
|
},
|
|
34735
34756
|
"TabComponent": {
|
|
34736
34757
|
"path": "src/lib/tabs/tab/tab.ts",
|
|
@@ -34770,7 +34791,7 @@
|
|
|
34770
34791
|
},
|
|
34771
34792
|
"TabBarComponent": {
|
|
34772
34793
|
"path": "src/lib/tabs/tab-bar/tab-bar.ts",
|
|
34773
|
-
"lineNumber":
|
|
34794
|
+
"lineNumber": 81
|
|
34774
34795
|
},
|
|
34775
34796
|
"IViewComponent": {
|
|
34776
34797
|
"path": "src/lib/view-switcher/view/view.ts",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
--_app-bar-logo-gap: var(--forge-app-bar-logo-gap, var(--forge-spacing-medium, 16px));
|
|
43
43
|
--_app-bar-logo-font-size: var(--forge-app-bar-logo-font-size, calc(var(--forge-typography-font-size, 1rem) * 2.5));
|
|
44
44
|
--_app-bar-title-padding: var(--forge-app-bar-title-padding, var(--forge-spacing-xsmall, 8px));
|
|
45
|
+
--_app-bar-columns: var(--forge-app-bar-columns, 1fr 1fr 1fr);
|
|
45
46
|
--_app-bar-transition-duration: var(--forge-app-bar-transition-duration, var(--forge-animation-duration-short4, 200ms));
|
|
46
47
|
--_app-bar-transition-timing: var(--forge-app-bar-transition-timing, var(--forge-animation-easing-standard, cubic-bezier(0.2, 0, 0, 1)));
|
|
47
48
|
--forge-theme-primary: var(--_app-bar-foreground);
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
width: 100%;
|
|
69
70
|
display: grid;
|
|
70
71
|
align-items: center;
|
|
71
|
-
grid-template-columns:
|
|
72
|
+
grid-template-columns: var(--_app-bar-columns);
|
|
72
73
|
height: var(--_app-bar-height);
|
|
73
74
|
padding-inline: var(--_app-bar-row-padding);
|
|
74
75
|
display: grid;
|
package/dist/forge.css
CHANGED
|
@@ -1446,6 +1446,18 @@ body {
|
|
|
1446
1446
|
text-decoration: var(--forge-typography-label2-text-decoration, inherit);
|
|
1447
1447
|
}
|
|
1448
1448
|
|
|
1449
|
+
.forge-typography--label3 {
|
|
1450
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1451
|
+
-webkit-font-smoothing: antialiased;
|
|
1452
|
+
font-family: var(--forge-typography-label3-font-family, var(--forge-typography-font-family, "Roboto", sans-serif));
|
|
1453
|
+
font-size: var(--forge-typography-label3-font-size, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-label-font-size-scale, 0.875)));
|
|
1454
|
+
font-weight: var(--forge-typography-label3-font-weight, 400);
|
|
1455
|
+
line-height: var(--forge-typography-label3-line-height, calc(var(--forge-typography-font-size, 1rem) * var(--forge-typography-label-line-height-scale, 1.25)));
|
|
1456
|
+
letter-spacing: var(--forge-typography-label3-letter-spacing, 0.0089285714em);
|
|
1457
|
+
text-transform: var(--forge-typography-label3-text-transform, inherit);
|
|
1458
|
+
text-decoration: var(--forge-typography-label3-text-decoration, inherit);
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1449
1461
|
.forge-typography--button {
|
|
1450
1462
|
-moz-osx-font-smoothing: grayscale;
|
|
1451
1463
|
-webkit-font-smoothing: antialiased;
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
--_icon-button-density-medium-size: var(--forge-icon-button-density-medium-size, 36px);
|
|
41
41
|
--_icon-button-density-medium-padding: var(--forge-icon-button-density-medium-padding, var(--forge-spacing-xxsmall, 4px));
|
|
42
42
|
--_icon-button-density-large-size: var(--forge-icon-button-density-large-size, var(--_icon-button-size));
|
|
43
|
+
--_icon-button-toggle-on-background-color: var(--forge-icon-button-toggle-on-background-color, var(--forge-theme-primary-container, #d1d5ed));
|
|
43
44
|
--_icon-button-toggle-on-icon-color: var(--forge-icon-button-toggle-on-icon-color, var(--forge-theme-primary, #3f51b5));
|
|
44
45
|
--_icon-button-outlined-toggle-on-background-color: var(--forge-icon-button-outlined-toggle-on-background-color, var(--forge-theme-primary-container, #d1d5ed));
|
|
45
46
|
--_icon-button-outlined-toggle-on-icon-color: var(--forge-icon-button-outlined-toggle-on-icon-color, var(--forge-theme-primary, #3f51b5));
|