@fluentui/web-components 3.0.0-alpha.11 → 3.0.0-alpha.12
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/CHANGELOG.json +16 -1
- package/CHANGELOG.md +11 -2
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/progress-bar/progress-bar.styles.d.ts +1 -1
- package/dist/dts/slider/define.d.ts +1 -0
- package/dist/dts/slider/index.d.ts +5 -0
- package/dist/dts/slider/slider.d.ts +24 -0
- package/dist/dts/slider/slider.definition.d.ts +10 -0
- package/dist/dts/slider/slider.options.d.ts +15 -0
- package/dist/dts/slider/slider.styles.d.ts +4 -0
- package/dist/dts/slider/slider.template.d.ts +3 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +1 -1
- package/dist/esm/slider/define.js +4 -0
- package/dist/esm/slider/define.js.map +1 -0
- package/dist/esm/slider/index.js +6 -0
- package/dist/esm/slider/index.js.map +1 -0
- package/dist/esm/slider/slider.definition.js +18 -0
- package/dist/esm/slider/slider.definition.js.map +1 -0
- package/dist/esm/slider/slider.js +59 -0
- package/dist/esm/slider/slider.js.map +1 -0
- package/dist/esm/slider/slider.options.js +10 -0
- package/dist/esm/slider/slider.options.js.map +1 -0
- package/dist/esm/slider/slider.styles.js +186 -0
- package/dist/esm/slider/slider.styles.js.map +1 -0
- package/dist/esm/slider/slider.template.js +5 -0
- package/dist/esm/slider/slider.template.js.map +1 -0
- package/dist/fluent-web-components.api.json +348 -1
- package/dist/web-components.d.ts +60 -1
- package/dist/web-components.js +598 -40
- package/dist/web-components.min.js +131 -127
- package/docs/api-report.md +33 -0
- package/package.json +8 -4
|
@@ -14251,7 +14251,7 @@
|
|
|
14251
14251
|
{
|
|
14252
14252
|
"kind": "Variable",
|
|
14253
14253
|
"canonicalReference": "@fluentui/web-components!ProgressBarStyles:var",
|
|
14254
|
-
"docComment": "/**\n *
|
|
14254
|
+
"docComment": "/**\n * ProgressBar styles\n *\n * @public\n */\n",
|
|
14255
14255
|
"excerptTokens": [
|
|
14256
14256
|
{
|
|
14257
14257
|
"kind": "Content",
|
|
@@ -14836,6 +14836,353 @@
|
|
|
14836
14836
|
"endIndex": 4
|
|
14837
14837
|
}
|
|
14838
14838
|
},
|
|
14839
|
+
{
|
|
14840
|
+
"kind": "Class",
|
|
14841
|
+
"canonicalReference": "@fluentui/web-components!Slider:class",
|
|
14842
|
+
"docComment": "/**\n * The base class used for constructing a fluent-slider custom element\n *\n * @public\n */\n",
|
|
14843
|
+
"excerptTokens": [
|
|
14844
|
+
{
|
|
14845
|
+
"kind": "Content",
|
|
14846
|
+
"text": "export declare class Slider extends "
|
|
14847
|
+
},
|
|
14848
|
+
{
|
|
14849
|
+
"kind": "Reference",
|
|
14850
|
+
"text": "FASTSlider",
|
|
14851
|
+
"canonicalReference": "@microsoft/fast-foundation!FASTSlider:class"
|
|
14852
|
+
},
|
|
14853
|
+
{
|
|
14854
|
+
"kind": "Content",
|
|
14855
|
+
"text": " "
|
|
14856
|
+
}
|
|
14857
|
+
],
|
|
14858
|
+
"releaseTag": "Public",
|
|
14859
|
+
"name": "Slider",
|
|
14860
|
+
"preserveMemberOrder": false,
|
|
14861
|
+
"members": [
|
|
14862
|
+
{
|
|
14863
|
+
"kind": "Method",
|
|
14864
|
+
"canonicalReference": "@fluentui/web-components!Slider#connectedCallback:member(1)",
|
|
14865
|
+
"docComment": "",
|
|
14866
|
+
"excerptTokens": [
|
|
14867
|
+
{
|
|
14868
|
+
"kind": "Content",
|
|
14869
|
+
"text": "connectedCallback(): "
|
|
14870
|
+
},
|
|
14871
|
+
{
|
|
14872
|
+
"kind": "Content",
|
|
14873
|
+
"text": "void"
|
|
14874
|
+
},
|
|
14875
|
+
{
|
|
14876
|
+
"kind": "Content",
|
|
14877
|
+
"text": ";"
|
|
14878
|
+
}
|
|
14879
|
+
],
|
|
14880
|
+
"isStatic": false,
|
|
14881
|
+
"returnTypeTokenRange": {
|
|
14882
|
+
"startIndex": 1,
|
|
14883
|
+
"endIndex": 2
|
|
14884
|
+
},
|
|
14885
|
+
"releaseTag": "Public",
|
|
14886
|
+
"isProtected": false,
|
|
14887
|
+
"overloadIndex": 1,
|
|
14888
|
+
"parameters": [],
|
|
14889
|
+
"isOptional": false,
|
|
14890
|
+
"name": "connectedCallback"
|
|
14891
|
+
},
|
|
14892
|
+
{
|
|
14893
|
+
"kind": "Method",
|
|
14894
|
+
"canonicalReference": "@fluentui/web-components!Slider#disconnectedCallback:member(1)",
|
|
14895
|
+
"docComment": "",
|
|
14896
|
+
"excerptTokens": [
|
|
14897
|
+
{
|
|
14898
|
+
"kind": "Content",
|
|
14899
|
+
"text": "disconnectedCallback(): "
|
|
14900
|
+
},
|
|
14901
|
+
{
|
|
14902
|
+
"kind": "Content",
|
|
14903
|
+
"text": "void"
|
|
14904
|
+
},
|
|
14905
|
+
{
|
|
14906
|
+
"kind": "Content",
|
|
14907
|
+
"text": ";"
|
|
14908
|
+
}
|
|
14909
|
+
],
|
|
14910
|
+
"isStatic": false,
|
|
14911
|
+
"returnTypeTokenRange": {
|
|
14912
|
+
"startIndex": 1,
|
|
14913
|
+
"endIndex": 2
|
|
14914
|
+
},
|
|
14915
|
+
"releaseTag": "Public",
|
|
14916
|
+
"isProtected": false,
|
|
14917
|
+
"overloadIndex": 1,
|
|
14918
|
+
"parameters": [],
|
|
14919
|
+
"isOptional": false,
|
|
14920
|
+
"name": "disconnectedCallback"
|
|
14921
|
+
},
|
|
14922
|
+
{
|
|
14923
|
+
"kind": "Method",
|
|
14924
|
+
"canonicalReference": "@fluentui/web-components!Slider#handleChange:member(1)",
|
|
14925
|
+
"docComment": "",
|
|
14926
|
+
"excerptTokens": [
|
|
14927
|
+
{
|
|
14928
|
+
"kind": "Content",
|
|
14929
|
+
"text": "handleChange(source: "
|
|
14930
|
+
},
|
|
14931
|
+
{
|
|
14932
|
+
"kind": "Content",
|
|
14933
|
+
"text": "any"
|
|
14934
|
+
},
|
|
14935
|
+
{
|
|
14936
|
+
"kind": "Content",
|
|
14937
|
+
"text": ", propertyName: "
|
|
14938
|
+
},
|
|
14939
|
+
{
|
|
14940
|
+
"kind": "Content",
|
|
14941
|
+
"text": "string"
|
|
14942
|
+
},
|
|
14943
|
+
{
|
|
14944
|
+
"kind": "Content",
|
|
14945
|
+
"text": "): "
|
|
14946
|
+
},
|
|
14947
|
+
{
|
|
14948
|
+
"kind": "Content",
|
|
14949
|
+
"text": "void"
|
|
14950
|
+
},
|
|
14951
|
+
{
|
|
14952
|
+
"kind": "Content",
|
|
14953
|
+
"text": ";"
|
|
14954
|
+
}
|
|
14955
|
+
],
|
|
14956
|
+
"isStatic": false,
|
|
14957
|
+
"returnTypeTokenRange": {
|
|
14958
|
+
"startIndex": 5,
|
|
14959
|
+
"endIndex": 6
|
|
14960
|
+
},
|
|
14961
|
+
"releaseTag": "Public",
|
|
14962
|
+
"isProtected": false,
|
|
14963
|
+
"overloadIndex": 1,
|
|
14964
|
+
"parameters": [
|
|
14965
|
+
{
|
|
14966
|
+
"parameterName": "source",
|
|
14967
|
+
"parameterTypeTokenRange": {
|
|
14968
|
+
"startIndex": 1,
|
|
14969
|
+
"endIndex": 2
|
|
14970
|
+
},
|
|
14971
|
+
"isOptional": false
|
|
14972
|
+
},
|
|
14973
|
+
{
|
|
14974
|
+
"parameterName": "propertyName",
|
|
14975
|
+
"parameterTypeTokenRange": {
|
|
14976
|
+
"startIndex": 3,
|
|
14977
|
+
"endIndex": 4
|
|
14978
|
+
},
|
|
14979
|
+
"isOptional": false
|
|
14980
|
+
}
|
|
14981
|
+
],
|
|
14982
|
+
"isOptional": false,
|
|
14983
|
+
"name": "handleChange"
|
|
14984
|
+
},
|
|
14985
|
+
{
|
|
14986
|
+
"kind": "Property",
|
|
14987
|
+
"canonicalReference": "@fluentui/web-components!Slider#size:member",
|
|
14988
|
+
"docComment": "/**\n * The size of the slider\n *\n * @remarks\n *\n * HTML Attribute: size\n *\n * @public\n */\n",
|
|
14989
|
+
"excerptTokens": [
|
|
14990
|
+
{
|
|
14991
|
+
"kind": "Content",
|
|
14992
|
+
"text": "size?: "
|
|
14993
|
+
},
|
|
14994
|
+
{
|
|
14995
|
+
"kind": "Reference",
|
|
14996
|
+
"text": "SliderSize",
|
|
14997
|
+
"canonicalReference": "@fluentui/web-components!SliderSize:type"
|
|
14998
|
+
},
|
|
14999
|
+
{
|
|
15000
|
+
"kind": "Content",
|
|
15001
|
+
"text": ";"
|
|
15002
|
+
}
|
|
15003
|
+
],
|
|
15004
|
+
"isReadonly": false,
|
|
15005
|
+
"isOptional": true,
|
|
15006
|
+
"releaseTag": "Public",
|
|
15007
|
+
"name": "size",
|
|
15008
|
+
"propertyTypeTokenRange": {
|
|
15009
|
+
"startIndex": 1,
|
|
15010
|
+
"endIndex": 2
|
|
15011
|
+
},
|
|
15012
|
+
"isStatic": false,
|
|
15013
|
+
"isProtected": false
|
|
15014
|
+
}
|
|
15015
|
+
],
|
|
15016
|
+
"extendsTokenRange": {
|
|
15017
|
+
"startIndex": 1,
|
|
15018
|
+
"endIndex": 2
|
|
15019
|
+
},
|
|
15020
|
+
"implementsTokenRanges": []
|
|
15021
|
+
},
|
|
15022
|
+
{
|
|
15023
|
+
"kind": "Variable",
|
|
15024
|
+
"canonicalReference": "@fluentui/web-components!SliderDefinition:var",
|
|
15025
|
+
"docComment": "/**\n * The Fluent Slider Element.\n *\n * @remarks\n *\n * HTML Element: \\<fluent-slider\\>\n *\n * @public\n */\n",
|
|
15026
|
+
"excerptTokens": [
|
|
15027
|
+
{
|
|
15028
|
+
"kind": "Content",
|
|
15029
|
+
"text": "definition: "
|
|
15030
|
+
},
|
|
15031
|
+
{
|
|
15032
|
+
"kind": "Content",
|
|
15033
|
+
"text": "import(\"@microsoft/fast-element\")."
|
|
15034
|
+
},
|
|
15035
|
+
{
|
|
15036
|
+
"kind": "Reference",
|
|
15037
|
+
"text": "FASTElementDefinition",
|
|
15038
|
+
"canonicalReference": "@microsoft/fast-element!FASTElementDefinition:class"
|
|
15039
|
+
},
|
|
15040
|
+
{
|
|
15041
|
+
"kind": "Content",
|
|
15042
|
+
"text": "<typeof "
|
|
15043
|
+
},
|
|
15044
|
+
{
|
|
15045
|
+
"kind": "Reference",
|
|
15046
|
+
"text": "Slider",
|
|
15047
|
+
"canonicalReference": "@fluentui/web-components!Slider:class"
|
|
15048
|
+
},
|
|
15049
|
+
{
|
|
15050
|
+
"kind": "Content",
|
|
15051
|
+
"text": ">"
|
|
15052
|
+
}
|
|
15053
|
+
],
|
|
15054
|
+
"isReadonly": true,
|
|
15055
|
+
"releaseTag": "Public",
|
|
15056
|
+
"name": "SliderDefinition",
|
|
15057
|
+
"variableTypeTokenRange": {
|
|
15058
|
+
"startIndex": 1,
|
|
15059
|
+
"endIndex": 6
|
|
15060
|
+
}
|
|
15061
|
+
},
|
|
15062
|
+
{
|
|
15063
|
+
"kind": "TypeAlias",
|
|
15064
|
+
"canonicalReference": "@fluentui/web-components!SliderSize:type",
|
|
15065
|
+
"docComment": "/**\n * Applies bar height to the slider rail and diameter to the slider thumbs\n *\n * @public\n */\n",
|
|
15066
|
+
"excerptTokens": [
|
|
15067
|
+
{
|
|
15068
|
+
"kind": "Content",
|
|
15069
|
+
"text": "export declare type SliderSize = "
|
|
15070
|
+
},
|
|
15071
|
+
{
|
|
15072
|
+
"kind": "Reference",
|
|
15073
|
+
"text": "ValuesOf",
|
|
15074
|
+
"canonicalReference": "@microsoft/fast-foundation!ValuesOf:type"
|
|
15075
|
+
},
|
|
15076
|
+
{
|
|
15077
|
+
"kind": "Content",
|
|
15078
|
+
"text": "<typeof "
|
|
15079
|
+
},
|
|
15080
|
+
{
|
|
15081
|
+
"kind": "Reference",
|
|
15082
|
+
"text": "SliderSize",
|
|
15083
|
+
"canonicalReference": "@fluentui/web-components!SliderSize:var"
|
|
15084
|
+
},
|
|
15085
|
+
{
|
|
15086
|
+
"kind": "Content",
|
|
15087
|
+
"text": ">"
|
|
15088
|
+
},
|
|
15089
|
+
{
|
|
15090
|
+
"kind": "Content",
|
|
15091
|
+
"text": ";"
|
|
15092
|
+
}
|
|
15093
|
+
],
|
|
15094
|
+
"releaseTag": "Public",
|
|
15095
|
+
"name": "SliderSize",
|
|
15096
|
+
"typeTokenRange": {
|
|
15097
|
+
"startIndex": 1,
|
|
15098
|
+
"endIndex": 5
|
|
15099
|
+
}
|
|
15100
|
+
},
|
|
15101
|
+
{
|
|
15102
|
+
"kind": "Variable",
|
|
15103
|
+
"canonicalReference": "@fluentui/web-components!SliderSize:var",
|
|
15104
|
+
"docComment": "/**\n * SliderSize Constants\n *\n * @public\n */\n",
|
|
15105
|
+
"excerptTokens": [
|
|
15106
|
+
{
|
|
15107
|
+
"kind": "Content",
|
|
15108
|
+
"text": "SliderSize: "
|
|
15109
|
+
},
|
|
15110
|
+
{
|
|
15111
|
+
"kind": "Content",
|
|
15112
|
+
"text": "{\n readonly small: \"small\";\n readonly medium: \"medium\";\n}"
|
|
15113
|
+
}
|
|
15114
|
+
],
|
|
15115
|
+
"isReadonly": true,
|
|
15116
|
+
"releaseTag": "Public",
|
|
15117
|
+
"name": "SliderSize",
|
|
15118
|
+
"variableTypeTokenRange": {
|
|
15119
|
+
"startIndex": 1,
|
|
15120
|
+
"endIndex": 2
|
|
15121
|
+
}
|
|
15122
|
+
},
|
|
15123
|
+
{
|
|
15124
|
+
"kind": "Variable",
|
|
15125
|
+
"canonicalReference": "@fluentui/web-components!SliderStyles:var",
|
|
15126
|
+
"docComment": "/**\n * Text styles\n *\n * @public\n */\n",
|
|
15127
|
+
"excerptTokens": [
|
|
15128
|
+
{
|
|
15129
|
+
"kind": "Content",
|
|
15130
|
+
"text": "styles: "
|
|
15131
|
+
},
|
|
15132
|
+
{
|
|
15133
|
+
"kind": "Content",
|
|
15134
|
+
"text": "import(\"@microsoft/fast-element\")."
|
|
15135
|
+
},
|
|
15136
|
+
{
|
|
15137
|
+
"kind": "Reference",
|
|
15138
|
+
"text": "ElementStyles",
|
|
15139
|
+
"canonicalReference": "@microsoft/fast-element!ElementStyles:class"
|
|
15140
|
+
}
|
|
15141
|
+
],
|
|
15142
|
+
"isReadonly": true,
|
|
15143
|
+
"releaseTag": "Public",
|
|
15144
|
+
"name": "SliderStyles",
|
|
15145
|
+
"variableTypeTokenRange": {
|
|
15146
|
+
"startIndex": 1,
|
|
15147
|
+
"endIndex": 3
|
|
15148
|
+
}
|
|
15149
|
+
},
|
|
15150
|
+
{
|
|
15151
|
+
"kind": "Variable",
|
|
15152
|
+
"canonicalReference": "@fluentui/web-components!SliderTemplate:var",
|
|
15153
|
+
"docComment": "",
|
|
15154
|
+
"excerptTokens": [
|
|
15155
|
+
{
|
|
15156
|
+
"kind": "Content",
|
|
15157
|
+
"text": "template: "
|
|
15158
|
+
},
|
|
15159
|
+
{
|
|
15160
|
+
"kind": "Reference",
|
|
15161
|
+
"text": "ElementViewTemplate",
|
|
15162
|
+
"canonicalReference": "@microsoft/fast-element!ElementViewTemplate:interface"
|
|
15163
|
+
},
|
|
15164
|
+
{
|
|
15165
|
+
"kind": "Content",
|
|
15166
|
+
"text": "<"
|
|
15167
|
+
},
|
|
15168
|
+
{
|
|
15169
|
+
"kind": "Reference",
|
|
15170
|
+
"text": "FASTSlider",
|
|
15171
|
+
"canonicalReference": "@microsoft/fast-foundation!FASTSlider:class"
|
|
15172
|
+
},
|
|
15173
|
+
{
|
|
15174
|
+
"kind": "Content",
|
|
15175
|
+
"text": ">"
|
|
15176
|
+
}
|
|
15177
|
+
],
|
|
15178
|
+
"isReadonly": true,
|
|
15179
|
+
"releaseTag": "Public",
|
|
15180
|
+
"name": "SliderTemplate",
|
|
15181
|
+
"variableTypeTokenRange": {
|
|
15182
|
+
"startIndex": 1,
|
|
15183
|
+
"endIndex": 5
|
|
15184
|
+
}
|
|
15185
|
+
},
|
|
14839
15186
|
{
|
|
14840
15187
|
"kind": "Variable",
|
|
14841
15188
|
"canonicalReference": "@fluentui/web-components!spacingHorizontalL:var",
|
package/dist/web-components.d.ts
CHANGED
|
@@ -10,7 +10,9 @@ import { FASTElement } from '@microsoft/fast-element';
|
|
|
10
10
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
11
11
|
import { FASTProgress } from '@microsoft/fast-foundation';
|
|
12
12
|
import { FASTProgressRing } from '@microsoft/fast-foundation';
|
|
13
|
+
import { FASTSlider } from '@microsoft/fast-foundation';
|
|
13
14
|
import { FASTSwitch } from '@microsoft/fast-foundation';
|
|
15
|
+
import { SliderOrientation } from '@microsoft/fast-foundation';
|
|
14
16
|
import { StartEnd } from '@microsoft/fast-foundation';
|
|
15
17
|
import { StartEndOptions } from '@microsoft/fast-foundation';
|
|
16
18
|
import { StaticallyComposableHTML } from '@microsoft/fast-foundation';
|
|
@@ -1660,7 +1662,7 @@ export declare const ProgressBarShape: {
|
|
|
1660
1662
|
*/
|
|
1661
1663
|
export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
|
|
1662
1664
|
|
|
1663
|
-
/**
|
|
1665
|
+
/** ProgressBar styles
|
|
1664
1666
|
* @public
|
|
1665
1667
|
*/
|
|
1666
1668
|
export declare const ProgressBarStyles: ElementStyles;
|
|
@@ -1728,6 +1730,63 @@ export declare const shadow8: CSSDesignToken<string>;
|
|
|
1728
1730
|
|
|
1729
1731
|
export declare const shadow8Brand: CSSDesignToken<string>;
|
|
1730
1732
|
|
|
1733
|
+
/**
|
|
1734
|
+
* The base class used for constructing a fluent-slider custom element
|
|
1735
|
+
* @public
|
|
1736
|
+
*/
|
|
1737
|
+
export declare class Slider extends FASTSlider {
|
|
1738
|
+
/**
|
|
1739
|
+
* The size of the slider
|
|
1740
|
+
* @public
|
|
1741
|
+
* @remarks
|
|
1742
|
+
* HTML Attribute: size
|
|
1743
|
+
*/
|
|
1744
|
+
size?: SliderSize;
|
|
1745
|
+
handleChange(source: any, propertyName: string): void;
|
|
1746
|
+
connectedCallback(): void;
|
|
1747
|
+
disconnectedCallback(): void;
|
|
1748
|
+
private stepStyles?;
|
|
1749
|
+
/**
|
|
1750
|
+
* Handles changes to step styling based on the step value
|
|
1751
|
+
* NOTE: This function is not a changed callback, stepStyles is not observable
|
|
1752
|
+
*/
|
|
1753
|
+
private handleStepStyles;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* The Fluent Slider Element.
|
|
1758
|
+
*
|
|
1759
|
+
*
|
|
1760
|
+
* @public
|
|
1761
|
+
* @remarks
|
|
1762
|
+
* HTML Element: \<fluent-slider\>
|
|
1763
|
+
*/
|
|
1764
|
+
export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
|
|
1765
|
+
|
|
1766
|
+
export { SliderOrientation }
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* SliderSize Constants
|
|
1770
|
+
* @public
|
|
1771
|
+
*/
|
|
1772
|
+
export declare const SliderSize: {
|
|
1773
|
+
readonly small: "small";
|
|
1774
|
+
readonly medium: "medium";
|
|
1775
|
+
};
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* Applies bar height to the slider rail and diameter to the slider thumbs
|
|
1779
|
+
* @public
|
|
1780
|
+
*/
|
|
1781
|
+
export declare type SliderSize = ValuesOf<typeof SliderSize>;
|
|
1782
|
+
|
|
1783
|
+
/** Text styles
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1786
|
+
export declare const SliderStyles: ElementStyles;
|
|
1787
|
+
|
|
1788
|
+
export declare const SliderTemplate: ElementViewTemplate<FASTSlider>;
|
|
1789
|
+
|
|
1731
1790
|
export declare const spacingHorizontalL: CSSDesignToken<string>;
|
|
1732
1791
|
|
|
1733
1792
|
export declare const spacingHorizontalM: CSSDesignToken<string>;
|