@tylertech/forge 3.3.6 → 3.4.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/custom-elements.json +82 -43
- 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/radio/forge-radio.css +16 -21
- package/dist/toolbar/forge-toolbar.css +2 -1
- package/dist/typography/forge-typography.css +12 -0
- package/dist/vscode.css-custom-data.json +17 -32
- package/dist/vscode.html-custom-data.json +8 -8
- 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/button-area/button-area.js +1 -1
- package/esm/calendar/calendar-core.d.ts +1 -1
- package/esm/calendar/calendar-core.js +1 -1
- package/esm/calendar/calendar.js +1 -1
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/date-range-picker/date-range-picker.d.ts +5 -0
- package/esm/date-range-picker/date-range-picker.js +5 -0
- package/esm/deprecated/icon-button/deprecated-icon-button.js +1 -1
- package/esm/field/field.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.d.ts +1 -4
- package/esm/radio/radio/radio.js +2 -5
- 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/text-field/text-field-core.js +7 -2
- package/esm/text-field/text-field.d.ts +1 -0
- package/esm/text-field/text-field.js +3 -0
- package/esm/toolbar/toolbar.d.ts +1 -0
- package/esm/toolbar/toolbar.js +2 -1
- package/esm/tooltip/tooltip.js +1 -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/field/_tokens.scss +2 -2
- package/sass/core/styles/tokens/icon-button/_tokens.scss +1 -0
- package/sass/core/styles/tokens/radio/_tokens.scss +2 -5
- 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/forge-radio.scss +3 -3
- package/sass/radio/radio/_core.scss +15 -21
- 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/sass/utils/_mixins.scss +1 -1
package/custom-elements.json
CHANGED
|
@@ -6443,6 +6443,36 @@
|
|
|
6443
6443
|
}
|
|
6444
6444
|
}
|
|
6445
6445
|
],
|
|
6446
|
+
"events": [
|
|
6447
|
+
{
|
|
6448
|
+
"type": {
|
|
6449
|
+
"text": "CustomEvent<IDateRangePickerChangeEventData>"
|
|
6450
|
+
},
|
|
6451
|
+
"description": "Emits when the value of the date range picker changes.",
|
|
6452
|
+
"name": "forge-date-range-picker-change"
|
|
6453
|
+
},
|
|
6454
|
+
{
|
|
6455
|
+
"type": {
|
|
6456
|
+
"text": "CustomEvent<void>"
|
|
6457
|
+
},
|
|
6458
|
+
"description": "Emits when the date range picker calendar opens.",
|
|
6459
|
+
"name": "forge-date-range-picker-open"
|
|
6460
|
+
},
|
|
6461
|
+
{
|
|
6462
|
+
"type": {
|
|
6463
|
+
"text": "CustomEvent<void>"
|
|
6464
|
+
},
|
|
6465
|
+
"description": "Emits when the date range picker calendar closes.",
|
|
6466
|
+
"name": "forge-date-range-picker-close"
|
|
6467
|
+
},
|
|
6468
|
+
{
|
|
6469
|
+
"type": {
|
|
6470
|
+
"text": "CustomEvent<string>"
|
|
6471
|
+
},
|
|
6472
|
+
"description": "Emits when the user inputs a value into the date range picker.",
|
|
6473
|
+
"name": "forge-date-range-picker-input"
|
|
6474
|
+
}
|
|
6475
|
+
],
|
|
6446
6476
|
"superclass": {
|
|
6447
6477
|
"name": "BaseDatePickerComponent",
|
|
6448
6478
|
"module": "/src/lib/date-picker/base/base-date-picker"
|
|
@@ -9957,6 +9987,10 @@
|
|
|
9957
9987
|
"description": "The size of the button when in the large density.",
|
|
9958
9988
|
"name": "--forge-icon-button-density-large-size"
|
|
9959
9989
|
},
|
|
9990
|
+
{
|
|
9991
|
+
"description": "The background color of the when in toggle mode and toggled on.",
|
|
9992
|
+
"name": "--forge-icon-button-toggle-on-background-color"
|
|
9993
|
+
},
|
|
9960
9994
|
{
|
|
9961
9995
|
"description": "The color of the icon when in toggle mode and toggled on.",
|
|
9962
9996
|
"name": "--forge-icon-button-toggle-on-icon-color"
|
|
@@ -19662,6 +19696,10 @@
|
|
|
19662
19696
|
{
|
|
19663
19697
|
"description": "Controls the left and right padding using the padding-block style.",
|
|
19664
19698
|
"name": "--forge-toolbar-padding-inline"
|
|
19699
|
+
},
|
|
19700
|
+
{
|
|
19701
|
+
"description": "The grid column track sizes.",
|
|
19702
|
+
"name": "--forge-toolbar-columns"
|
|
19665
19703
|
}
|
|
19666
19704
|
],
|
|
19667
19705
|
"cssParts": [
|
|
@@ -20396,6 +20434,10 @@
|
|
|
20396
20434
|
"description": "The padding around the title element.",
|
|
20397
20435
|
"name": "--forge-app-bar-title-padding"
|
|
20398
20436
|
},
|
|
20437
|
+
{
|
|
20438
|
+
"description": "The grid column track sizes.",
|
|
20439
|
+
"name": "--forge-app-bar-columns"
|
|
20440
|
+
},
|
|
20399
20441
|
{
|
|
20400
20442
|
"description": "The transition duration for animations.",
|
|
20401
20443
|
"name": "--forge-app-bar-transition-duration"
|
|
@@ -27065,20 +27107,8 @@
|
|
|
27065
27107
|
"name": "--forge-radio-mark-height"
|
|
27066
27108
|
},
|
|
27067
27109
|
{
|
|
27068
|
-
"description": "The color of the radio button's mark
|
|
27069
|
-
"name": "--forge-radio-mark-
|
|
27070
|
-
},
|
|
27071
|
-
{
|
|
27072
|
-
"description": "The color of the radio button's mark when checked.",
|
|
27073
|
-
"name": "--forge-radio-mark-checked-color"
|
|
27074
|
-
},
|
|
27075
|
-
{
|
|
27076
|
-
"description": "The background of the radio button's mark when unchecked.",
|
|
27077
|
-
"name": "--forge-radio-mark-unchecked-background"
|
|
27078
|
-
},
|
|
27079
|
-
{
|
|
27080
|
-
"description": "The background of the radio button's mark when checked.",
|
|
27081
|
-
"name": "--forge-radio-mark-checked-background"
|
|
27110
|
+
"description": "The color of the radio button's mark.",
|
|
27111
|
+
"name": "--forge-radio-mark-color"
|
|
27082
27112
|
},
|
|
27083
27113
|
{
|
|
27084
27114
|
"description": "The gap between the radio button and its label.",
|
|
@@ -30561,14 +30591,6 @@
|
|
|
30561
30591
|
"description": "The shape of the active tab indicator when vertical.",
|
|
30562
30592
|
"name": "--forge-tab-vertical-indicator-shape"
|
|
30563
30593
|
},
|
|
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
30594
|
{
|
|
30573
30595
|
"description": "The shape of the active tab indicator when inverted.",
|
|
30574
30596
|
"name": "--forge-tab-inverted-indicator-shape"
|
|
@@ -30609,10 +30631,6 @@
|
|
|
30609
30631
|
"description": "The inline padding of the tab content.",
|
|
30610
30632
|
"name": "--forge-tab-content-padding-inline"
|
|
30611
30633
|
},
|
|
30612
|
-
{
|
|
30613
|
-
"description": "The inline padding of the tab content when secondary.",
|
|
30614
|
-
"name": "--forge-tab-content-padding-inline-secondary"
|
|
30615
|
-
},
|
|
30616
30634
|
{
|
|
30617
30635
|
"description": "The color of the icon when the tab is active and focused.",
|
|
30618
30636
|
"name": "--forge-tab-active-focus-icon-color"
|
|
@@ -30762,6 +30780,7 @@
|
|
|
30762
30780
|
"text": "boolean"
|
|
30763
30781
|
},
|
|
30764
30782
|
"privacy": "public",
|
|
30783
|
+
"deprecated": "This will be removed in a future version",
|
|
30765
30784
|
"description": "Controls whether the tab is styled as secondary tab navigation.",
|
|
30766
30785
|
"default": "false"
|
|
30767
30786
|
},
|
|
@@ -30774,6 +30793,25 @@
|
|
|
30774
30793
|
"privacy": "public",
|
|
30775
30794
|
"description": "Controls whether the tab indicator is rendered on the opposite side of the tab.",
|
|
30776
30795
|
"default": "false"
|
|
30796
|
+
},
|
|
30797
|
+
{
|
|
30798
|
+
"kind": "method",
|
|
30799
|
+
"name": "focus",
|
|
30800
|
+
"privacy": "public",
|
|
30801
|
+
"return": {
|
|
30802
|
+
"type": {
|
|
30803
|
+
"text": "void"
|
|
30804
|
+
}
|
|
30805
|
+
},
|
|
30806
|
+
"parameters": [
|
|
30807
|
+
{
|
|
30808
|
+
"name": "options",
|
|
30809
|
+
"optional": true,
|
|
30810
|
+
"type": {
|
|
30811
|
+
"text": "ExperimentalFocusOptions"
|
|
30812
|
+
}
|
|
30813
|
+
}
|
|
30814
|
+
]
|
|
30777
30815
|
}
|
|
30778
30816
|
],
|
|
30779
30817
|
"events": [
|
|
@@ -30807,7 +30845,7 @@
|
|
|
30807
30845
|
"default": "false"
|
|
30808
30846
|
},
|
|
30809
30847
|
{
|
|
30810
|
-
"description": "Controls whether the tab is styled as secondary tab navigation.",
|
|
30848
|
+
"description": "Deprecated. Controls whether the tab is styled as secondary tab navigation.",
|
|
30811
30849
|
"name": "secondary",
|
|
30812
30850
|
"default": "false"
|
|
30813
30851
|
},
|
|
@@ -30940,7 +30978,8 @@
|
|
|
30940
30978
|
"text": "boolean"
|
|
30941
30979
|
},
|
|
30942
30980
|
"privacy": "public",
|
|
30943
|
-
"
|
|
30981
|
+
"deprecated": "This will be removed in a future version",
|
|
30982
|
+
"description": "Deprecated. Controls whether the tabs are styled as secondary tab navigation.",
|
|
30944
30983
|
"default": "false"
|
|
30945
30984
|
},
|
|
30946
30985
|
{
|
|
@@ -31028,7 +31067,7 @@
|
|
|
31028
31067
|
"type": {
|
|
31029
31068
|
"text": "boolean"
|
|
31030
31069
|
},
|
|
31031
|
-
"description": "Controls whether the tabs are styled as secondary tab navigation.",
|
|
31070
|
+
"description": "Deprecated. Controls whether the tabs are styled as secondary tab navigation.",
|
|
31032
31071
|
"name": "secondary",
|
|
31033
31072
|
"default": "false"
|
|
31034
31073
|
},
|
|
@@ -31250,7 +31289,7 @@
|
|
|
31250
31289
|
},
|
|
31251
31290
|
"HTMLElementEventMap": {
|
|
31252
31291
|
"path": "src/lib/tabs/tab-bar/tab-bar.ts",
|
|
31253
|
-
"lineNumber":
|
|
31292
|
+
"lineNumber": 32
|
|
31254
31293
|
},
|
|
31255
31294
|
"AutocompleteComponent": {
|
|
31256
31295
|
"path": "src/lib/autocomplete/autocomplete.ts",
|
|
@@ -31878,7 +31917,7 @@
|
|
|
31878
31917
|
},
|
|
31879
31918
|
"DateRangePickerComponent": {
|
|
31880
31919
|
"path": "src/lib/date-range-picker/date-range-picker.ts",
|
|
31881
|
-
"lineNumber":
|
|
31920
|
+
"lineNumber": 67
|
|
31882
31921
|
},
|
|
31883
31922
|
"IDialogAdapter": {
|
|
31884
31923
|
"path": "src/lib/dialog/dialog-adapter.ts",
|
|
@@ -32250,7 +32289,7 @@
|
|
|
32250
32289
|
},
|
|
32251
32290
|
"IconButtonComponent": {
|
|
32252
32291
|
"path": "src/lib/icon-button/icon-button.ts",
|
|
32253
|
-
"lineNumber":
|
|
32292
|
+
"lineNumber": 142
|
|
32254
32293
|
},
|
|
32255
32294
|
"LegacyInlineMessageThemes": {
|
|
32256
32295
|
"path": "src/lib/inline-message/inline-message-constants.ts",
|
|
@@ -32670,11 +32709,11 @@
|
|
|
32670
32709
|
},
|
|
32671
32710
|
"IPopoverAdapter": {
|
|
32672
32711
|
"path": "src/lib/popover/popover-adapter.ts",
|
|
32673
|
-
"lineNumber":
|
|
32712
|
+
"lineNumber": 10
|
|
32674
32713
|
},
|
|
32675
32714
|
"PopoverAdapter": {
|
|
32676
32715
|
"path": "src/lib/popover/popover-adapter.ts",
|
|
32677
|
-
"lineNumber":
|
|
32716
|
+
"lineNumber": 29
|
|
32678
32717
|
},
|
|
32679
32718
|
"PopoverAnimationType": {
|
|
32680
32719
|
"path": "src/lib/popover/popover-constants.ts",
|
|
@@ -33330,7 +33369,7 @@
|
|
|
33330
33369
|
},
|
|
33331
33370
|
"ToolbarComponent": {
|
|
33332
33371
|
"path": "src/lib/toolbar/toolbar.ts",
|
|
33333
|
-
"lineNumber":
|
|
33372
|
+
"lineNumber": 72
|
|
33334
33373
|
},
|
|
33335
33374
|
"ITooltipAdapter": {
|
|
33336
33375
|
"path": "src/lib/tooltip/tooltip-adapter.ts",
|
|
@@ -33438,7 +33477,7 @@
|
|
|
33438
33477
|
},
|
|
33439
33478
|
"AppBarComponent": {
|
|
33440
33479
|
"path": "src/lib/app-bar/app-bar/app-bar.ts",
|
|
33441
|
-
"lineNumber":
|
|
33480
|
+
"lineNumber": 78
|
|
33442
33481
|
},
|
|
33443
33482
|
"IAppBarHelpButtonAdapter": {
|
|
33444
33483
|
"path": "src/lib/app-bar/help-button/app-bar-help-button-adapter.ts",
|
|
@@ -34390,7 +34429,7 @@
|
|
|
34390
34429
|
},
|
|
34391
34430
|
"RadioComponent": {
|
|
34392
34431
|
"path": "src/lib/radio/radio/radio.ts",
|
|
34393
|
-
"lineNumber":
|
|
34432
|
+
"lineNumber": 82
|
|
34394
34433
|
},
|
|
34395
34434
|
"IRadioGroupAdapter": {
|
|
34396
34435
|
"path": "src/lib/radio/radio-group/radio-group-adapter.ts",
|
|
@@ -34714,23 +34753,23 @@
|
|
|
34714
34753
|
},
|
|
34715
34754
|
"ITabAdapter": {
|
|
34716
34755
|
"path": "src/lib/tabs/tab/tab-adapter.ts",
|
|
34717
|
-
"lineNumber":
|
|
34756
|
+
"lineNumber": 9
|
|
34718
34757
|
},
|
|
34719
34758
|
"TabAdapter": {
|
|
34720
34759
|
"path": "src/lib/tabs/tab/tab-adapter.ts",
|
|
34721
|
-
"lineNumber":
|
|
34760
|
+
"lineNumber": 19
|
|
34722
34761
|
},
|
|
34723
34762
|
"ITabCore": {
|
|
34724
34763
|
"path": "src/lib/tabs/tab/tab-core.ts",
|
|
34725
|
-
"lineNumber":
|
|
34764
|
+
"lineNumber": 5
|
|
34726
34765
|
},
|
|
34727
34766
|
"TabCore": {
|
|
34728
34767
|
"path": "src/lib/tabs/tab/tab-core.ts",
|
|
34729
|
-
"lineNumber":
|
|
34768
|
+
"lineNumber": 15
|
|
34730
34769
|
},
|
|
34731
34770
|
"ITabComponent": {
|
|
34732
34771
|
"path": "src/lib/tabs/tab/tab.ts",
|
|
34733
|
-
"lineNumber":
|
|
34772
|
+
"lineNumber": 14
|
|
34734
34773
|
},
|
|
34735
34774
|
"TabComponent": {
|
|
34736
34775
|
"path": "src/lib/tabs/tab/tab.ts",
|
|
@@ -34770,7 +34809,7 @@
|
|
|
34770
34809
|
},
|
|
34771
34810
|
"TabBarComponent": {
|
|
34772
34811
|
"path": "src/lib/tabs/tab-bar/tab-bar.ts",
|
|
34773
|
-
"lineNumber":
|
|
34812
|
+
"lineNumber": 81
|
|
34774
34813
|
},
|
|
34775
34814
|
"IViewComponent": {
|
|
34776
34815
|
"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));
|