@vonage/vivid 3.0.0-next.134 → 3.0.0-next.136
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/combobox/index.js +3 -1
- package/custom-elements.json +455 -0
- package/index.js +12 -6
- package/lib/components.d.ts +4 -0
- package/lib/menu-item/menu-item.d.ts +1 -0
- package/lib/number-field/number-field.d.ts +2 -2
- package/lib/select/definition.d.ts +3 -0
- package/lib/select/index.d.ts +1 -0
- package/lib/select/select.d.ts +17 -0
- package/lib/select/select.template.d.ts +4 -0
- package/lib/tab/definition.d.ts +3 -0
- package/lib/tab/index.d.ts +1 -0
- package/lib/tab/tab.d.ts +9 -0
- package/lib/tab/tab.template.d.ts +3 -0
- package/lib/tab-panel/definition.d.ts +3 -0
- package/lib/tab-panel/index.d.ts +1 -0
- package/lib/tab-panel/tab-panel.d.ts +3 -0
- package/lib/tab-panel/tab-panel.template.d.ts +2 -0
- package/lib/tabs/definition.d.ts +3 -0
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/tabs.d.ts +10 -0
- package/lib/tabs/tabs.template.d.ts +2 -0
- package/lib/text-area/text-area.d.ts +2 -2
- package/lib/text-field/text-field.d.ts +2 -2
- package/listbox/index.js +2 -0
- package/note/index.js +1 -0
- package/number-field/index.js +3 -3
- package/option/index.js +1 -0
- package/package.json +1 -1
- package/select/index.js +34 -0
- package/shared/definition.js +1 -1
- package/shared/definition11.js +1 -1
- package/shared/definition12.js +1 -1
- package/shared/definition13.js +1 -1
- package/shared/definition14.js +1 -1
- package/shared/definition16.js +1 -1
- package/shared/definition17.js +4 -11
- package/shared/definition19.js +2 -2
- package/shared/definition2.js +1 -1
- package/shared/definition20.js +1 -1
- package/shared/definition21.js +1 -1
- package/shared/definition22.js +1 -1
- package/shared/definition23.js +1 -1
- package/shared/definition25.js +2 -2
- package/shared/definition27.js +20 -8
- package/shared/definition29.js +1 -1
- package/shared/definition30.js +1 -1
- package/shared/definition31.js +3 -2
- package/shared/definition32.js +1 -1
- package/shared/definition33.js +1 -1
- package/shared/definition34.js +1 -1
- package/shared/definition35.js +1 -1
- package/shared/definition36.js +618 -70
- package/shared/definition37.js +66 -572
- package/shared/definition38.js +526 -81
- package/shared/definition39.js +85 -218
- package/shared/definition4.js +1 -1
- package/shared/definition40.js +51 -103
- package/shared/definition41.js +23 -68
- package/shared/definition42.js +440 -0
- package/shared/definition43.js +281 -0
- package/shared/definition44.js +119 -0
- package/shared/definition45.js +77 -0
- package/shared/definition5.js +1 -1
- package/shared/definition6.js +1 -1
- package/shared/definition7.js +1 -1
- package/shared/definition8.js +1 -1
- package/shared/definition9.js +1 -1
- package/shared/form-elements.js +19 -13
- package/shared/listbox.js +2 -9
- package/shared/numbers.js +10 -1
- package/shared/patterns/focus.d.ts +1 -1
- package/shared/patterns/form-elements/form-elements.d.ts +20 -8
- package/shared/select.options.js +10 -0
- package/shared/strings.js +9 -0
- package/shared/text-field.js +1 -1
- package/side-drawer/index.js +1 -1
- package/slider/index.js +1 -1
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/switch/index.js +2 -1
- package/tab/index.js +16 -0
- package/tab-panel/index.js +4 -0
- package/tabs/index.js +24 -0
- package/text-area/index.js +1 -1
- package/text-field/index.js +1 -1
- package/tooltip/index.js +1 -1
- package/vivid.api.json +420 -0
package/combobox/index.js
CHANGED
|
@@ -24,10 +24,12 @@ import '../shared/definition15.js';
|
|
|
24
24
|
import '../shared/es.object.assign.js';
|
|
25
25
|
import '../shared/definition19.js';
|
|
26
26
|
import '../shared/dom.js';
|
|
27
|
-
import '../shared/text-field.js';
|
|
28
27
|
import '../shared/form-elements.js';
|
|
28
|
+
import '../shared/text-field.js';
|
|
29
29
|
import '../shared/listbox.js';
|
|
30
|
+
import '../shared/strings.js';
|
|
30
31
|
import '../shared/numbers.js';
|
|
32
|
+
import '../shared/select.options.js';
|
|
31
33
|
import '../shared/slotted.js';
|
|
32
34
|
|
|
33
35
|
registerCombobox();
|
package/custom-elements.json
CHANGED
|
@@ -3129,6 +3129,15 @@
|
|
|
3129
3129
|
},
|
|
3130
3130
|
"description": "Indicates the menu item's text.",
|
|
3131
3131
|
"privacy": "public"
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
"kind": "field",
|
|
3135
|
+
"name": "textSecondary",
|
|
3136
|
+
"type": {
|
|
3137
|
+
"text": "string | undefined"
|
|
3138
|
+
},
|
|
3139
|
+
"description": "Indicates the menu item's secondary text.",
|
|
3140
|
+
"privacy": "public"
|
|
3132
3141
|
}
|
|
3133
3142
|
],
|
|
3134
3143
|
"attributes": [
|
|
@@ -3139,6 +3148,14 @@
|
|
|
3139
3148
|
},
|
|
3140
3149
|
"description": "Indicates the menu item's text.",
|
|
3141
3150
|
"fieldName": "text"
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "text-secondary",
|
|
3154
|
+
"type": {
|
|
3155
|
+
"text": "string | undefined"
|
|
3156
|
+
},
|
|
3157
|
+
"description": "Indicates the menu item's secondary text.",
|
|
3158
|
+
"fieldName": "textSecondary"
|
|
3142
3159
|
}
|
|
3143
3160
|
],
|
|
3144
3161
|
"superclass": {
|
|
@@ -4479,6 +4496,117 @@
|
|
|
4479
4496
|
}
|
|
4480
4497
|
]
|
|
4481
4498
|
},
|
|
4499
|
+
{
|
|
4500
|
+
"kind": "javascript-module",
|
|
4501
|
+
"path": "libs/components/src/lib/select/definition.ts",
|
|
4502
|
+
"declarations": [
|
|
4503
|
+
{
|
|
4504
|
+
"kind": "variable",
|
|
4505
|
+
"name": "selectDefinition",
|
|
4506
|
+
"description": "The select element."
|
|
4507
|
+
},
|
|
4508
|
+
{
|
|
4509
|
+
"kind": "variable",
|
|
4510
|
+
"name": "registerSelect",
|
|
4511
|
+
"description": "Registers the select elements with the design system.",
|
|
4512
|
+
"parameters": [
|
|
4513
|
+
{
|
|
4514
|
+
"description": "the prefix to use for the component name",
|
|
4515
|
+
"name": "prefix"
|
|
4516
|
+
}
|
|
4517
|
+
]
|
|
4518
|
+
}
|
|
4519
|
+
],
|
|
4520
|
+
"exports": [
|
|
4521
|
+
{
|
|
4522
|
+
"kind": "js",
|
|
4523
|
+
"name": "selectDefinition",
|
|
4524
|
+
"declaration": {
|
|
4525
|
+
"name": "selectDefinition",
|
|
4526
|
+
"module": "libs/components/src/lib/select/definition.ts"
|
|
4527
|
+
}
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"kind": "js",
|
|
4531
|
+
"name": "registerSelect",
|
|
4532
|
+
"declaration": {
|
|
4533
|
+
"name": "registerSelect",
|
|
4534
|
+
"module": "libs/components/src/lib/select/definition.ts"
|
|
4535
|
+
}
|
|
4536
|
+
}
|
|
4537
|
+
]
|
|
4538
|
+
},
|
|
4539
|
+
{
|
|
4540
|
+
"kind": "javascript-module",
|
|
4541
|
+
"path": "libs/components/src/lib/select/select.ts",
|
|
4542
|
+
"declarations": [
|
|
4543
|
+
{
|
|
4544
|
+
"kind": "class",
|
|
4545
|
+
"description": "Base class for select",
|
|
4546
|
+
"name": "Select",
|
|
4547
|
+
"members": [
|
|
4548
|
+
{
|
|
4549
|
+
"kind": "field",
|
|
4550
|
+
"name": "appearance",
|
|
4551
|
+
"type": {
|
|
4552
|
+
"text": "SelectAppearance | undefined"
|
|
4553
|
+
}
|
|
4554
|
+
},
|
|
4555
|
+
{
|
|
4556
|
+
"kind": "field",
|
|
4557
|
+
"name": "shape",
|
|
4558
|
+
"type": {
|
|
4559
|
+
"text": "SelectShape | undefined"
|
|
4560
|
+
}
|
|
4561
|
+
},
|
|
4562
|
+
{
|
|
4563
|
+
"kind": "field",
|
|
4564
|
+
"name": "_popup",
|
|
4565
|
+
"type": {
|
|
4566
|
+
"text": "Popup"
|
|
4567
|
+
}
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"kind": "field",
|
|
4571
|
+
"name": "_anchor",
|
|
4572
|
+
"type": {
|
|
4573
|
+
"text": "HTMLElement"
|
|
4574
|
+
}
|
|
4575
|
+
}
|
|
4576
|
+
],
|
|
4577
|
+
"attributes": [
|
|
4578
|
+
{
|
|
4579
|
+
"name": "appearance",
|
|
4580
|
+
"type": {
|
|
4581
|
+
"text": "SelectAppearance | undefined"
|
|
4582
|
+
},
|
|
4583
|
+
"fieldName": "appearance"
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "shape",
|
|
4587
|
+
"type": {
|
|
4588
|
+
"text": "SelectShape | undefined"
|
|
4589
|
+
},
|
|
4590
|
+
"fieldName": "shape"
|
|
4591
|
+
}
|
|
4592
|
+
],
|
|
4593
|
+
"superclass": {
|
|
4594
|
+
"name": "FoundationSelect",
|
|
4595
|
+
"package": "@microsoft/fast-foundation"
|
|
4596
|
+
}
|
|
4597
|
+
}
|
|
4598
|
+
],
|
|
4599
|
+
"exports": [
|
|
4600
|
+
{
|
|
4601
|
+
"kind": "js",
|
|
4602
|
+
"name": "Select",
|
|
4603
|
+
"declaration": {
|
|
4604
|
+
"name": "Select",
|
|
4605
|
+
"module": "libs/components/src/lib/select/select.ts"
|
|
4606
|
+
}
|
|
4607
|
+
}
|
|
4608
|
+
]
|
|
4609
|
+
},
|
|
4482
4610
|
{
|
|
4483
4611
|
"kind": "javascript-module",
|
|
4484
4612
|
"path": "libs/components/src/lib/side-drawer/definition.ts",
|
|
@@ -4825,6 +4953,333 @@
|
|
|
4825
4953
|
}
|
|
4826
4954
|
]
|
|
4827
4955
|
},
|
|
4956
|
+
{
|
|
4957
|
+
"kind": "javascript-module",
|
|
4958
|
+
"path": "libs/components/src/lib/tab/definition.ts",
|
|
4959
|
+
"declarations": [
|
|
4960
|
+
{
|
|
4961
|
+
"kind": "variable",
|
|
4962
|
+
"name": "tabDefinition",
|
|
4963
|
+
"description": "The tab element."
|
|
4964
|
+
},
|
|
4965
|
+
{
|
|
4966
|
+
"kind": "variable",
|
|
4967
|
+
"name": "registerTab",
|
|
4968
|
+
"description": "Registers the tab elements with the design system.",
|
|
4969
|
+
"parameters": [
|
|
4970
|
+
{
|
|
4971
|
+
"description": "the prefix to use for the component name",
|
|
4972
|
+
"name": "prefix"
|
|
4973
|
+
}
|
|
4974
|
+
]
|
|
4975
|
+
}
|
|
4976
|
+
],
|
|
4977
|
+
"exports": [
|
|
4978
|
+
{
|
|
4979
|
+
"kind": "js",
|
|
4980
|
+
"name": "tabDefinition",
|
|
4981
|
+
"declaration": {
|
|
4982
|
+
"name": "tabDefinition",
|
|
4983
|
+
"module": "libs/components/src/lib/tab/definition.ts"
|
|
4984
|
+
}
|
|
4985
|
+
},
|
|
4986
|
+
{
|
|
4987
|
+
"kind": "js",
|
|
4988
|
+
"name": "registerTab",
|
|
4989
|
+
"declaration": {
|
|
4990
|
+
"name": "registerTab",
|
|
4991
|
+
"module": "libs/components/src/lib/tab/definition.ts"
|
|
4992
|
+
}
|
|
4993
|
+
}
|
|
4994
|
+
]
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
"kind": "javascript-module",
|
|
4998
|
+
"path": "libs/components/src/lib/tab/tab.ts",
|
|
4999
|
+
"declarations": [
|
|
5000
|
+
{
|
|
5001
|
+
"kind": "class",
|
|
5002
|
+
"description": "Base class for tab",
|
|
5003
|
+
"name": "Tab",
|
|
5004
|
+
"members": [
|
|
5005
|
+
{
|
|
5006
|
+
"kind": "field",
|
|
5007
|
+
"name": "label",
|
|
5008
|
+
"type": {
|
|
5009
|
+
"text": "string | undefined"
|
|
5010
|
+
},
|
|
5011
|
+
"description": "Indicates the tab's label.",
|
|
5012
|
+
"privacy": "public"
|
|
5013
|
+
},
|
|
5014
|
+
{
|
|
5015
|
+
"kind": "field",
|
|
5016
|
+
"name": "tabIndex",
|
|
5017
|
+
"type": {
|
|
5018
|
+
"text": "any"
|
|
5019
|
+
},
|
|
5020
|
+
"default": "'-1'"
|
|
5021
|
+
},
|
|
5022
|
+
{
|
|
5023
|
+
"kind": "field",
|
|
5024
|
+
"name": "ariaSelected",
|
|
5025
|
+
"type": {
|
|
5026
|
+
"text": "string | null"
|
|
5027
|
+
},
|
|
5028
|
+
"default": "null"
|
|
5029
|
+
}
|
|
5030
|
+
],
|
|
5031
|
+
"attributes": [
|
|
5032
|
+
{
|
|
5033
|
+
"name": "label",
|
|
5034
|
+
"type": {
|
|
5035
|
+
"text": "string | undefined"
|
|
5036
|
+
},
|
|
5037
|
+
"description": "Indicates the tab's label.",
|
|
5038
|
+
"fieldName": "label"
|
|
5039
|
+
},
|
|
5040
|
+
{
|
|
5041
|
+
"type": {
|
|
5042
|
+
"text": "any"
|
|
5043
|
+
},
|
|
5044
|
+
"default": "'-1'",
|
|
5045
|
+
"fieldName": "tabIndex"
|
|
5046
|
+
},
|
|
5047
|
+
{
|
|
5048
|
+
"name": "aria-selected",
|
|
5049
|
+
"type": {
|
|
5050
|
+
"text": "string | null"
|
|
5051
|
+
},
|
|
5052
|
+
"default": "null",
|
|
5053
|
+
"fieldName": "ariaSelected"
|
|
5054
|
+
}
|
|
5055
|
+
],
|
|
5056
|
+
"superclass": {
|
|
5057
|
+
"name": "FoundationTab",
|
|
5058
|
+
"package": "@microsoft/fast-foundation"
|
|
5059
|
+
}
|
|
5060
|
+
}
|
|
5061
|
+
],
|
|
5062
|
+
"exports": [
|
|
5063
|
+
{
|
|
5064
|
+
"kind": "js",
|
|
5065
|
+
"name": "Tab",
|
|
5066
|
+
"declaration": {
|
|
5067
|
+
"name": "Tab",
|
|
5068
|
+
"module": "libs/components/src/lib/tab/tab.ts"
|
|
5069
|
+
}
|
|
5070
|
+
}
|
|
5071
|
+
]
|
|
5072
|
+
},
|
|
5073
|
+
{
|
|
5074
|
+
"kind": "javascript-module",
|
|
5075
|
+
"path": "libs/components/src/lib/tab-panel/definition.ts",
|
|
5076
|
+
"declarations": [
|
|
5077
|
+
{
|
|
5078
|
+
"kind": "variable",
|
|
5079
|
+
"name": "tabPanelDefinition",
|
|
5080
|
+
"description": "The tab panel element."
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
"kind": "variable",
|
|
5084
|
+
"name": "registerTabPanel",
|
|
5085
|
+
"description": "Registers the tab-panel elements with the design system.",
|
|
5086
|
+
"parameters": [
|
|
5087
|
+
{
|
|
5088
|
+
"description": "the prefix to use for the component name",
|
|
5089
|
+
"name": "prefix"
|
|
5090
|
+
}
|
|
5091
|
+
]
|
|
5092
|
+
}
|
|
5093
|
+
],
|
|
5094
|
+
"exports": [
|
|
5095
|
+
{
|
|
5096
|
+
"kind": "js",
|
|
5097
|
+
"name": "tabPanelDefinition",
|
|
5098
|
+
"declaration": {
|
|
5099
|
+
"name": "tabPanelDefinition",
|
|
5100
|
+
"module": "libs/components/src/lib/tab-panel/definition.ts"
|
|
5101
|
+
}
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
"kind": "js",
|
|
5105
|
+
"name": "registerTabPanel",
|
|
5106
|
+
"declaration": {
|
|
5107
|
+
"name": "registerTabPanel",
|
|
5108
|
+
"module": "libs/components/src/lib/tab-panel/definition.ts"
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
]
|
|
5112
|
+
},
|
|
5113
|
+
{
|
|
5114
|
+
"kind": "javascript-module",
|
|
5115
|
+
"path": "libs/components/src/lib/tab-panel/tab-panel.ts",
|
|
5116
|
+
"declarations": [
|
|
5117
|
+
{
|
|
5118
|
+
"kind": "class",
|
|
5119
|
+
"description": "Base class for tab-panel",
|
|
5120
|
+
"name": "TabPanel",
|
|
5121
|
+
"superclass": {
|
|
5122
|
+
"name": "FoundationTabPanel",
|
|
5123
|
+
"package": "@microsoft/fast-foundation"
|
|
5124
|
+
}
|
|
5125
|
+
}
|
|
5126
|
+
],
|
|
5127
|
+
"exports": [
|
|
5128
|
+
{
|
|
5129
|
+
"kind": "js",
|
|
5130
|
+
"name": "TabPanel",
|
|
5131
|
+
"declaration": {
|
|
5132
|
+
"name": "TabPanel",
|
|
5133
|
+
"module": "libs/components/src/lib/tab-panel/tab-panel.ts"
|
|
5134
|
+
}
|
|
5135
|
+
}
|
|
5136
|
+
]
|
|
5137
|
+
},
|
|
5138
|
+
{
|
|
5139
|
+
"kind": "javascript-module",
|
|
5140
|
+
"path": "libs/components/src/lib/tabs/definition.ts",
|
|
5141
|
+
"declarations": [
|
|
5142
|
+
{
|
|
5143
|
+
"kind": "variable",
|
|
5144
|
+
"name": "tabsDefinition",
|
|
5145
|
+
"description": "The tabs element."
|
|
5146
|
+
},
|
|
5147
|
+
{
|
|
5148
|
+
"kind": "variable",
|
|
5149
|
+
"name": "registerTabs",
|
|
5150
|
+
"description": "Registers the tabs elements with the design system.",
|
|
5151
|
+
"parameters": [
|
|
5152
|
+
{
|
|
5153
|
+
"description": "the prefix to use for the component name",
|
|
5154
|
+
"name": "prefix"
|
|
5155
|
+
}
|
|
5156
|
+
]
|
|
5157
|
+
}
|
|
5158
|
+
],
|
|
5159
|
+
"exports": [
|
|
5160
|
+
{
|
|
5161
|
+
"kind": "js",
|
|
5162
|
+
"name": "tabsDefinition",
|
|
5163
|
+
"declaration": {
|
|
5164
|
+
"name": "tabsDefinition",
|
|
5165
|
+
"module": "libs/components/src/lib/tabs/definition.ts"
|
|
5166
|
+
}
|
|
5167
|
+
},
|
|
5168
|
+
{
|
|
5169
|
+
"kind": "js",
|
|
5170
|
+
"name": "registerTabs",
|
|
5171
|
+
"declaration": {
|
|
5172
|
+
"name": "registerTabs",
|
|
5173
|
+
"module": "libs/components/src/lib/tabs/definition.ts"
|
|
5174
|
+
}
|
|
5175
|
+
}
|
|
5176
|
+
]
|
|
5177
|
+
},
|
|
5178
|
+
{
|
|
5179
|
+
"kind": "javascript-module",
|
|
5180
|
+
"path": "libs/components/src/lib/tabs/tabs.ts",
|
|
5181
|
+
"declarations": [
|
|
5182
|
+
{
|
|
5183
|
+
"kind": "variable",
|
|
5184
|
+
"name": "ACTIVE_TAB_WIDTH",
|
|
5185
|
+
"type": {
|
|
5186
|
+
"text": "string"
|
|
5187
|
+
},
|
|
5188
|
+
"default": "'--_tabs-active-tab-inline-size'"
|
|
5189
|
+
},
|
|
5190
|
+
{
|
|
5191
|
+
"kind": "class",
|
|
5192
|
+
"description": "Base class for tabs",
|
|
5193
|
+
"name": "Tabs",
|
|
5194
|
+
"members": [
|
|
5195
|
+
{
|
|
5196
|
+
"kind": "field",
|
|
5197
|
+
"name": "tablist",
|
|
5198
|
+
"type": {
|
|
5199
|
+
"text": "HTMLElement | undefined"
|
|
5200
|
+
}
|
|
5201
|
+
},
|
|
5202
|
+
{
|
|
5203
|
+
"kind": "method",
|
|
5204
|
+
"name": "orientationChanged",
|
|
5205
|
+
"return": {
|
|
5206
|
+
"type": {
|
|
5207
|
+
"text": "void"
|
|
5208
|
+
}
|
|
5209
|
+
}
|
|
5210
|
+
},
|
|
5211
|
+
{
|
|
5212
|
+
"kind": "method",
|
|
5213
|
+
"name": "activeidChanged",
|
|
5214
|
+
"return": {
|
|
5215
|
+
"type": {
|
|
5216
|
+
"text": "void"
|
|
5217
|
+
}
|
|
5218
|
+
},
|
|
5219
|
+
"parameters": [
|
|
5220
|
+
{
|
|
5221
|
+
"name": "oldValue",
|
|
5222
|
+
"type": {
|
|
5223
|
+
"text": "string"
|
|
5224
|
+
}
|
|
5225
|
+
},
|
|
5226
|
+
{
|
|
5227
|
+
"name": "newValue",
|
|
5228
|
+
"type": {
|
|
5229
|
+
"text": "string"
|
|
5230
|
+
}
|
|
5231
|
+
}
|
|
5232
|
+
]
|
|
5233
|
+
},
|
|
5234
|
+
{
|
|
5235
|
+
"kind": "method",
|
|
5236
|
+
"name": "tabsChanged",
|
|
5237
|
+
"return": {
|
|
5238
|
+
"type": {
|
|
5239
|
+
"text": "void"
|
|
5240
|
+
}
|
|
5241
|
+
}
|
|
5242
|
+
},
|
|
5243
|
+
{
|
|
5244
|
+
"kind": "method",
|
|
5245
|
+
"name": "tabpanelsChanged",
|
|
5246
|
+
"return": {
|
|
5247
|
+
"type": {
|
|
5248
|
+
"text": "void"
|
|
5249
|
+
}
|
|
5250
|
+
}
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
"kind": "method",
|
|
5254
|
+
"name": "patchIndicatorStyleTransition",
|
|
5255
|
+
"privacy": "private"
|
|
5256
|
+
}
|
|
5257
|
+
],
|
|
5258
|
+
"superclass": {
|
|
5259
|
+
"name": "FoundationTabs",
|
|
5260
|
+
"package": "@microsoft/fast-foundation"
|
|
5261
|
+
}
|
|
5262
|
+
}
|
|
5263
|
+
],
|
|
5264
|
+
"exports": [
|
|
5265
|
+
{
|
|
5266
|
+
"kind": "js",
|
|
5267
|
+
"name": "ACTIVE_TAB_WIDTH",
|
|
5268
|
+
"declaration": {
|
|
5269
|
+
"name": "ACTIVE_TAB_WIDTH",
|
|
5270
|
+
"module": "libs/components/src/lib/tabs/tabs.ts"
|
|
5271
|
+
}
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
"kind": "js",
|
|
5275
|
+
"name": "Tabs",
|
|
5276
|
+
"declaration": {
|
|
5277
|
+
"name": "Tabs",
|
|
5278
|
+
"module": "libs/components/src/lib/tabs/tabs.ts"
|
|
5279
|
+
}
|
|
5280
|
+
}
|
|
5281
|
+
]
|
|
5282
|
+
},
|
|
4828
5283
|
{
|
|
4829
5284
|
"kind": "javascript-module",
|
|
4830
5285
|
"path": "libs/components/src/lib/text-anchor/definition.ts",
|
package/index.js
CHANGED
|
@@ -32,12 +32,16 @@ export { p as progressDefinition, a as progressRegistries, r as registerProgress
|
|
|
32
32
|
export { p as progressRingDefinition, a as progressRingRegistries, r as registerProgressRing } from './shared/definition33.js';
|
|
33
33
|
export { a as radioDefinition, b as radioRegistries, r as registerRadio } from './shared/definition34.js';
|
|
34
34
|
export { a as radioGroupDefinition, b as radioGroupRegistries, r as registerRadioGroup } from './shared/definition35.js';
|
|
35
|
-
export { r as
|
|
36
|
-
export { r as
|
|
37
|
-
export { r as
|
|
38
|
-
export { r as
|
|
39
|
-
export { r as
|
|
40
|
-
export { r as
|
|
35
|
+
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/definition36.js';
|
|
36
|
+
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/definition37.js';
|
|
37
|
+
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/definition38.js';
|
|
38
|
+
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/definition39.js';
|
|
39
|
+
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition44.js';
|
|
40
|
+
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition43.js';
|
|
41
|
+
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition45.js';
|
|
42
|
+
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/definition42.js';
|
|
43
|
+
export { r as registerTab, a as tabDefinition, t as tabRegistries } from './shared/definition40.js';
|
|
44
|
+
export { r as registerTabPanel, a as tabPanelDefinition, t as tabPanelRegistries } from './shared/definition41.js';
|
|
41
45
|
export { a7 as designSystem, r as registerFactory } from './shared/index.js';
|
|
42
46
|
import './shared/class-names.js';
|
|
43
47
|
import './shared/definition4.js';
|
|
@@ -66,7 +70,9 @@ import './shared/es.object.assign.js';
|
|
|
66
70
|
import './shared/text-field.js';
|
|
67
71
|
import './shared/form-elements.js';
|
|
68
72
|
import './shared/listbox.js';
|
|
73
|
+
import './shared/strings.js';
|
|
69
74
|
import './shared/numbers.js';
|
|
75
|
+
import './shared/select.options.js';
|
|
70
76
|
import './shared/aria.js';
|
|
71
77
|
import './shared/dom.js';
|
|
72
78
|
import './shared/direction.js';
|
package/lib/components.d.ts
CHANGED
|
@@ -32,9 +32,13 @@ export * from './progress/definition';
|
|
|
32
32
|
export * from './progress-ring/definition';
|
|
33
33
|
export * from './radio/definition';
|
|
34
34
|
export * from './radio-group/definition';
|
|
35
|
+
export * from './select/definition';
|
|
35
36
|
export * from './side-drawer/definition';
|
|
36
37
|
export * from './slider/definition';
|
|
37
38
|
export * from './switch/definition';
|
|
38
39
|
export * from './text-field/definition';
|
|
39
40
|
export * from './text-area/definition';
|
|
40
41
|
export * from './tooltip/definition';
|
|
42
|
+
export * from './tabs/definition';
|
|
43
|
+
export * from './tab/definition';
|
|
44
|
+
export * from './tab-panel/definition';
|
|
@@ -2,6 +2,7 @@ import { MenuItem as FastMenuItem } from '@microsoft/fast-foundation';
|
|
|
2
2
|
import { AffixIcon } from '../../shared/patterns/affix';
|
|
3
3
|
export declare class MenuItem extends FastMenuItem {
|
|
4
4
|
text?: string;
|
|
5
|
+
textSecondary?: string;
|
|
5
6
|
}
|
|
6
7
|
export interface MenuItem extends AffixIcon {
|
|
7
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NumberField as FastNumberField } from '@microsoft/fast-foundation';
|
|
2
2
|
import type { Appearance, Shape } from '../enums';
|
|
3
|
-
import { FormElement } from '../../shared/patterns';
|
|
3
|
+
import { FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText } from '../../shared/patterns';
|
|
4
4
|
import { AffixIcon } from '../../shared/patterns';
|
|
5
5
|
declare type NumberFieldAppearance = Extract<Appearance, Appearance.Outlined | Appearance.Ghost>;
|
|
6
6
|
declare type NumberFieldShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
@@ -9,6 +9,6 @@ export declare class NumberField extends FastNumberField {
|
|
|
9
9
|
shape?: NumberFieldShape;
|
|
10
10
|
autoComplete?: string;
|
|
11
11
|
}
|
|
12
|
-
export interface NumberField extends AffixIcon, FormElement {
|
|
12
|
+
export interface NumberField extends AffixIcon, FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText {
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { SelectOptions } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const selectDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<SelectOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<SelectOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
3
|
+
export declare const registerSelect: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Select as FoundationSelect } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Popup } from '../popup/popup';
|
|
3
|
+
import { FormElement } from '../../shared/patterns';
|
|
4
|
+
import { AffixIcon } from '../../shared/patterns';
|
|
5
|
+
import type { Appearance, Shape } from '../enums';
|
|
6
|
+
declare type SelectAppearance = Extract<Appearance, Appearance.Outlined | Appearance.Ghost>;
|
|
7
|
+
declare type SelectShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
8
|
+
export declare class Select extends FoundationSelect {
|
|
9
|
+
appearance?: SelectAppearance;
|
|
10
|
+
shape?: SelectShape;
|
|
11
|
+
_popup: Popup;
|
|
12
|
+
_anchor: HTMLElement;
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
}
|
|
15
|
+
export interface Select extends AffixIcon, FormElement {
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Select } from './select';
|
|
4
|
+
export declare const SelectTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Select>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const tabDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
3
|
+
export declare const registerTab: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/tab/tab.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Tab as FoundationTab } from '@microsoft/fast-foundation';
|
|
2
|
+
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
3
|
+
export declare class Tab extends FoundationTab {
|
|
4
|
+
label?: string;
|
|
5
|
+
tabIndex: any;
|
|
6
|
+
ariaSelected: string | null;
|
|
7
|
+
}
|
|
8
|
+
export interface Tab extends AffixIconWithTrailing {
|
|
9
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const tabPanelDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
3
|
+
export declare const registerTabPanel: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const tabsDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
3
|
+
export declare const registerTabs: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Tabs as FoundationTabs } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const ACTIVE_TAB_WIDTH = "--_tabs-active-tab-inline-size";
|
|
3
|
+
export declare class Tabs extends FoundationTabs {
|
|
4
|
+
tablist?: HTMLElement;
|
|
5
|
+
orientationChanged(): void;
|
|
6
|
+
activeidChanged(oldValue: string, newValue: string): void;
|
|
7
|
+
tabsChanged(): void;
|
|
8
|
+
tabpanelsChanged(): void;
|
|
9
|
+
private patchIndicatorStyleTransition;
|
|
10
|
+
}
|