@tylertech/forge 3.2.0 → 3.3.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.
Files changed (49) hide show
  1. package/custom-elements.json +104 -27
  2. package/dist/chips/forge-chips.css +1 -0
  3. package/dist/field/forge-field.css +2 -0
  4. package/dist/inline-message/forge-inline-message.css +2 -0
  5. package/dist/lib.js +1 -1
  6. package/dist/lib.js.map +3 -3
  7. package/dist/vscode.css-custom-data.json +5 -0
  8. package/dist/vscode.html-custom-data.json +11 -1
  9. package/esm/app-bar/app-bar/app-bar.d.ts +2 -0
  10. package/esm/app-bar/app-bar/app-bar.js +2 -0
  11. package/esm/autocomplete/autocomplete-adapter.js +1 -7
  12. package/esm/button/base/base-button-adapter.js +1 -1
  13. package/esm/chip-field/chip-field.js +1 -1
  14. package/esm/chips/chip/chip.d.ts +1 -0
  15. package/esm/chips/chip/chip.js +2 -1
  16. package/esm/circular-progress/circular-progress.js +1 -1
  17. package/esm/field/field-adapter.d.ts +2 -0
  18. package/esm/field/field-adapter.js +4 -0
  19. package/esm/field/field-core.js +1 -0
  20. package/esm/field/field.js +1 -1
  21. package/esm/inline-message/inline-message.js +1 -1
  22. package/esm/paginator/paginator.js +1 -1
  23. package/esm/select/select/select.js +1 -1
  24. package/esm/skip-link/skip-link-constants.d.ts +2 -0
  25. package/esm/skip-link/skip-link-constants.js +2 -1
  26. package/esm/skip-link/skip-link.d.ts +36 -12
  27. package/esm/skip-link/skip-link.js +55 -12
  28. package/esm/tabs/tab/tab-constants.d.ts +1 -3
  29. package/esm/tabs/tab/tab-constants.js +1 -3
  30. package/esm/tabs/tab/tab.d.ts +1 -1
  31. package/esm/tabs/tab/tab.js +1 -1
  32. package/esm/tabs/tab-bar/tab-bar-core.js +2 -1
  33. package/esm/tabs/tab-bar/tab-bar.d.ts +1 -1
  34. package/esm/tabs/tab-bar/tab-bar.js +1 -1
  35. package/esm/text-field/text-field-adapter.d.ts +8 -4
  36. package/esm/text-field/text-field-adapter.js +9 -4
  37. package/esm/text-field/text-field-constants.d.ts +2 -0
  38. package/esm/text-field/text-field-constants.js +2 -0
  39. package/esm/text-field/text-field-core.d.ts +2 -0
  40. package/esm/text-field/text-field-core.js +10 -3
  41. package/package.json +1 -1
  42. package/sass/chip-field/chip-field.scss +2 -1
  43. package/sass/chips/chip/chip.scss +1 -1
  44. package/sass/circular-progress/_core.scss +2 -2
  45. package/sass/core/styles/tokens/chips/chip/_tokens.scss +1 -0
  46. package/sass/field/_core.scss +1 -0
  47. package/sass/field/field.scss +1 -1
  48. package/sass/field/forge-field.scss +3 -1
  49. package/sass/inline-message/_core.scss +2 -0
@@ -14768,6 +14768,15 @@
14768
14768
  "privacy": "private",
14769
14769
  "default": "false"
14770
14770
  },
14771
+ {
14772
+ "kind": "field",
14773
+ "name": "_skipUrlChange",
14774
+ "type": {
14775
+ "text": "boolean"
14776
+ },
14777
+ "privacy": "private",
14778
+ "default": "false"
14779
+ },
14771
14780
  {
14772
14781
  "kind": "field",
14773
14782
  "name": "_anchorElement",
@@ -14777,6 +14786,14 @@
14777
14786
  "privacy": "private",
14778
14787
  "default": "getShadowElement(this, SKIP_LINK_CONSTANTS.selectors.ANCHOR)"
14779
14788
  },
14789
+ {
14790
+ "kind": "field",
14791
+ "name": "_clickListener",
14792
+ "type": {
14793
+ "text": "EventListener"
14794
+ },
14795
+ "privacy": "private"
14796
+ },
14780
14797
  {
14781
14798
  "kind": "field",
14782
14799
  "name": "target",
@@ -14785,7 +14802,8 @@
14785
14802
  },
14786
14803
  "privacy": "public",
14787
14804
  "description": "The IDREF of the element to which the skip link should navigate.",
14788
- "default": "''"
14805
+ "default": "''",
14806
+ "attribute": "target"
14789
14807
  },
14790
14808
  {
14791
14809
  "kind": "field",
@@ -14795,7 +14813,8 @@
14795
14813
  },
14796
14814
  "privacy": "public",
14797
14815
  "description": "The theme applied to the skip link.",
14798
- "default": "'default'"
14816
+ "default": "'default'",
14817
+ "attribute": "theme"
14799
14818
  },
14800
14819
  {
14801
14820
  "kind": "field",
@@ -14805,7 +14824,8 @@
14805
14824
  },
14806
14825
  "privacy": "public",
14807
14826
  "description": "Whether or not the skip link uses a muted color scheme.",
14808
- "default": "false"
14827
+ "default": "false",
14828
+ "attribute": "muted"
14809
14829
  },
14810
14830
  {
14811
14831
  "kind": "field",
@@ -14815,7 +14835,8 @@
14815
14835
  },
14816
14836
  "privacy": "public",
14817
14837
  "description": "Whether or not the skip link should remain visible when not focused.",
14818
- "default": "false"
14838
+ "default": "false",
14839
+ "attribute": "persistent"
14819
14840
  },
14820
14841
  {
14821
14842
  "kind": "field",
@@ -14825,49 +14846,93 @@
14825
14846
  },
14826
14847
  "privacy": "public",
14827
14848
  "description": "Whether or not the skip link renders within its container.",
14828
- "default": "false"
14849
+ "default": "false",
14850
+ "attribute": "inline"
14851
+ },
14852
+ {
14853
+ "kind": "field",
14854
+ "name": "skipUrlChange",
14855
+ "type": {
14856
+ "text": "boolean"
14857
+ },
14858
+ "privacy": "public",
14859
+ "description": "Sets the skip link to skip browser navigation and scroll to the target element.",
14860
+ "default": "false",
14861
+ "attribute": "skipUrlChange"
14862
+ },
14863
+ {
14864
+ "kind": "method",
14865
+ "name": "_handleClick",
14866
+ "privacy": "private",
14867
+ "return": {
14868
+ "type": {
14869
+ "text": "void"
14870
+ }
14871
+ },
14872
+ "parameters": [
14873
+ {
14874
+ "name": "evt",
14875
+ "type": {
14876
+ "text": "Event"
14877
+ }
14878
+ }
14879
+ ]
14829
14880
  }
14830
14881
  ],
14831
14882
  "attributes": [
14832
14883
  {
14884
+ "name": "target",
14833
14885
  "type": {
14834
14886
  "text": "string"
14835
14887
  },
14836
14888
  "description": "The IDREF of the element to which the skip link should navigate.",
14837
- "name": "target",
14838
- "default": "''"
14889
+ "default": "''",
14890
+ "fieldName": "target"
14839
14891
  },
14840
14892
  {
14893
+ "name": "theme",
14841
14894
  "type": {
14842
14895
  "text": "SkipLinkTheme"
14843
14896
  },
14844
14897
  "description": "The theme applied to the skip link.",
14845
- "name": "theme",
14846
- "default": "'default'"
14898
+ "default": "'default'",
14899
+ "fieldName": "theme"
14847
14900
  },
14848
14901
  {
14902
+ "name": "muted",
14849
14903
  "type": {
14850
14904
  "text": "boolean"
14851
14905
  },
14852
14906
  "description": "Whether or not the skip link uses a muted color scheme.",
14853
- "name": "muted",
14854
- "default": "false"
14907
+ "default": "false",
14908
+ "fieldName": "muted"
14855
14909
  },
14856
14910
  {
14911
+ "name": "persistent",
14857
14912
  "type": {
14858
14913
  "text": "boolean"
14859
14914
  },
14860
14915
  "description": "Whether or not the skip link should remain visible when not focused.",
14861
- "name": "persistent",
14862
- "default": "false"
14916
+ "default": "false",
14917
+ "fieldName": "persistent"
14863
14918
  },
14864
14919
  {
14920
+ "name": "inline",
14865
14921
  "type": {
14866
14922
  "text": "boolean"
14867
14923
  },
14868
14924
  "description": "Whether or not the skip link renders within its container.",
14869
- "name": "inline",
14870
- "default": "false"
14925
+ "default": "false",
14926
+ "fieldName": "inline"
14927
+ },
14928
+ {
14929
+ "name": "skipUrlChange",
14930
+ "type": {
14931
+ "text": "boolean"
14932
+ },
14933
+ "description": "Sets the skip link to skip browser navigation and scroll to the target element.",
14934
+ "default": "false",
14935
+ "fieldName": "skipUrlChange"
14871
14936
  }
14872
14937
  ],
14873
14938
  "superclass": {
@@ -20126,7 +20191,8 @@
20126
20191
  "type": {
20127
20192
  "text": "string"
20128
20193
  },
20129
- "privacy": "public"
20194
+ "privacy": "public",
20195
+ "description": "The `<a>` target of the logo + title area link when `href` is set."
20130
20196
  }
20131
20197
  ],
20132
20198
  "events": [
@@ -20167,6 +20233,13 @@
20167
20233
  },
20168
20234
  "description": "The href that will be used to make the logo and title area a clickable link",
20169
20235
  "name": "href"
20236
+ },
20237
+ {
20238
+ "type": {
20239
+ "text": "string"
20240
+ },
20241
+ "description": "The `<a>` target of the logo + title area link when `href` is set.",
20242
+ "name": "target"
20170
20243
  }
20171
20244
  ],
20172
20245
  "superclass": {
@@ -22182,6 +22255,10 @@
22182
22255
  "description": "The font size of the chip icon.",
22183
22256
  "name": "--forge-chip-icon-font-size"
22184
22257
  },
22258
+ {
22259
+ "description": "The color of the focus indicator.",
22260
+ "name": "--forge-chip-focus-indicator-color"
22261
+ },
22185
22262
  {
22186
22263
  "description": "The opacity of the disabled chip.",
22187
22264
  "name": "--forge-chip-disabled-opacity"
@@ -30355,7 +30432,7 @@
30355
30432
  "text": "boolean"
30356
30433
  },
30357
30434
  "privacy": "public",
30358
- "description": "The disabled state of the tab.",
30435
+ "description": "The disabled state of the tab. Should not be set if using the disabled property on `forge-tab-bar`.",
30359
30436
  "default": "false"
30360
30437
  },
30361
30438
  {
@@ -30523,7 +30600,7 @@
30523
30600
  "text": "boolean"
30524
30601
  },
30525
30602
  "privacy": "public",
30526
- "description": "The disabled state of the tab bar.",
30603
+ "description": "Sets the disabled state of all child tabs. If true, any new tabs added to the DOM will be disabled by default. This can be used instead of setting individual tab disabled properties, mixing the two methods of disabling is not supported.",
30527
30604
  "default": "false"
30528
30605
  },
30529
30606
  {
@@ -31627,7 +31704,7 @@
31627
31704
  },
31628
31705
  "FieldAdapter": {
31629
31706
  "path": "src/lib/field/field-adapter.ts",
31630
- "lineNumber": 18
31707
+ "lineNumber": 19
31631
31708
  },
31632
31709
  "IFieldCore": {
31633
31710
  "path": "src/lib/field/field-core.ts",
@@ -32415,7 +32492,7 @@
32415
32492
  },
32416
32493
  "SkipLinkTheme": {
32417
32494
  "path": "src/lib/skip-link/skip-link-constants.ts",
32418
- "lineNumber": 28
32495
+ "lineNumber": 29
32419
32496
  },
32420
32497
  "ISkipLinkComponent": {
32421
32498
  "path": "src/lib/skip-link/skip-link.ts",
@@ -32423,7 +32500,7 @@
32423
32500
  },
32424
32501
  "SkipLinkComponent": {
32425
32502
  "path": "src/lib/skip-link/skip-link.ts",
32426
- "lineNumber": 62
32503
+ "lineNumber": 51
32427
32504
  },
32428
32505
  "ISliderState": {
32429
32506
  "path": "src/lib/slider/slider-adapter.ts",
@@ -32799,7 +32876,7 @@
32799
32876
  },
32800
32877
  "TextFieldAdapter": {
32801
32878
  "path": "src/lib/text-field/text-field-adapter.ts",
32802
- "lineNumber": 24
32879
+ "lineNumber": 25
32803
32880
  },
32804
32881
  "TextFieldComponentDelegateProps": {
32805
32882
  "path": "src/lib/text-field/text-field-component-delegate.ts",
@@ -32819,15 +32896,15 @@
32819
32896
  },
32820
32897
  "TextFieldObservedInputAttributes": {
32821
32898
  "path": "src/lib/text-field/text-field-constants.ts",
32822
- "lineNumber": 43
32899
+ "lineNumber": 45
32823
32900
  },
32824
32901
  "TextFieldInputAttributeObserver": {
32825
32902
  "path": "src/lib/text-field/text-field-constants.ts",
32826
- "lineNumber": 44
32903
+ "lineNumber": 46
32827
32904
  },
32828
32905
  "TextFieldValueChangeListener": {
32829
32906
  "path": "src/lib/text-field/text-field-constants.ts",
32830
- "lineNumber": 45
32907
+ "lineNumber": 47
32831
32908
  },
32832
32909
  "ITextFieldCore": {
32833
32910
  "path": "src/lib/text-field/text-field-core.ts",
@@ -33071,7 +33148,7 @@
33071
33148
  },
33072
33149
  "AppBarComponent": {
33073
33150
  "path": "src/lib/app-bar/app-bar/app-bar.ts",
33074
- "lineNumber": 75
33151
+ "lineNumber": 77
33075
33152
  },
33076
33153
  "IAppBarHelpButtonAdapter": {
33077
33154
  "path": "src/lib/app-bar/help-button/app-bar-help-button-adapter.ts",
@@ -33391,7 +33468,7 @@
33391
33468
  },
33392
33469
  "ChipComponent": {
33393
33470
  "path": "src/lib/chips/chip/chip.ts",
33394
- "lineNumber": 134
33471
+ "lineNumber": 135
33395
33472
  },
33396
33473
  "IChipSetComponent": {
33397
33474
  "path": "src/lib/chips/chip-set/chip-set.ts",
@@ -27,6 +27,7 @@
27
27
  --_chip-padding-block: var(--forge-chip-padding-block, 0);
28
28
  --_chip-cursor: var(--forge-chip-cursor, pointer);
29
29
  --_chip-icon-font-size: var(--forge-chip-icon-font-size, 1.5rem);
30
+ --_chip-focus-indicator-color: var(--forge-chip-focus-indicator-color, var(--_chip-color));
30
31
  --_chip-disabled-opacity: var(--forge-chip-disabled-opacity, 0.38);
31
32
  --_chip-disabled-cursor: var(--forge-chip-disabled-cursor, not-allowed);
32
33
  --_chip-dense-height: var(--forge-chip-dense-height, 24px);
@@ -73,6 +73,7 @@
73
73
  outline-style: var(--_field-outline-style);
74
74
  outline-width: var(--_field-outline-width);
75
75
  outline-color: var(--forge-theme-outline-low, #9e9e9e);
76
+ outline-offset: calc(var(--_field-outline-width) * -1);
76
77
  background: var(--_field-background);
77
78
  opacity: var(--_field-disableable-opacity);
78
79
  cursor: var(--_field-disableable-cursor);
@@ -356,6 +357,7 @@
356
357
  }
357
358
  .forge-field--invalid.forge-field:has(:where(input, textarea, select, .forge-field__input):focus), .forge-field:has(:where(input, textarea, select, .forge-field__input):invalid).forge-field:has(:where(input, textarea, select, .forge-field__input):focus) {
358
359
  --forge-focus-indicator-color: var(--forge-theme-error, #b00020);
360
+ --forge-focus-indicator-outward-offset: calc(var(--_field-outline-width) * -1);
359
361
  }
360
362
  .forge-field--invalid label, .forge-field:has(:where(input, textarea, select, .forge-field__input):invalid) label {
361
363
  color: var(--forge-theme-error, #b00020);
@@ -38,6 +38,7 @@
38
38
  border-style: var(--_inline-message-border-style);
39
39
  border-color: var(--_inline-message-border-color);
40
40
  display: flex;
41
+ align-items: center;
41
42
  gap: var(--_inline-message-icon-gap);
42
43
  box-sizing: border-box;
43
44
  padding-inline: var(--_inline-message-padding-inline);
@@ -62,5 +63,6 @@
62
63
  }
63
64
  .forge-inline-message__icon {
64
65
  color: var(--_inline-message-icon-color);
66
+ align-self: start;
65
67
  grid-row: 1/span 2;
66
68
  }