@fluentui/web-components 2.0.1 → 2.1.2
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 +61 -1
- package/CHANGELOG.md +38 -2
- package/dist/dts/anchor/anchor.stories.d.ts +1 -1
- package/dist/dts/badge/badge.stories.d.ts +1 -1
- package/dist/dts/button/button.stories.d.ts +1 -1
- package/dist/dts/calendar/calendar.stories.d.ts +86 -0
- package/dist/dts/calendar/calendar.styles.d.ts +7 -0
- package/dist/dts/calendar/index.d.ts +18 -0
- package/dist/dts/custom-elements.d.ts +13 -11
- package/dist/dts/menu/menu.stories.d.ts +1 -1
- package/dist/dts/text-area/text-area.stories.d.ts +1 -1
- package/dist/dts/text-field/text-field.stories.d.ts +1 -1
- package/dist/dts/tooltip/tooltip.stories.d.ts +1 -1
- package/dist/esm/accordion/accordion-item/accordion-item.styles.js +6 -5
- package/dist/esm/calendar/calendar.stories.js +115 -0
- package/dist/esm/calendar/calendar.styles.js +133 -0
- package/dist/esm/calendar/index.js +31 -0
- package/dist/esm/checkbox/checkbox.styles.js +0 -1
- package/dist/esm/custom-elements.js +3 -1
- package/dist/esm/divider/divider.styles.js +1 -2
- package/dist/esm/flipper/flipper.styles.js +0 -1
- package/dist/esm/listbox/listbox.styles.js +5 -1
- package/dist/esm/listbox-option/listbox-option.styles.js +0 -1
- package/dist/esm/menu/menu.styles.js +9 -2
- package/dist/esm/menu-item/menu-item.styles.js +1 -2
- package/dist/esm/progress/progress/progress.styles.js +0 -1
- package/dist/esm/progress/progress-ring/progress-ring.styles.js +0 -1
- package/dist/esm/radio/radio.styles.js +0 -1
- package/dist/esm/radio-group/radio-group.styles.js +0 -2
- package/dist/esm/slider/slider.styles.js +0 -1
- package/dist/esm/switch/switch.styles.js +3 -3
- package/dist/esm/tabs/tabs.stories.js +56 -2
- package/dist/esm/tabs/tabs.styles.js +1 -0
- package/dist/fluent-web-components.api.json +141 -12
- package/dist/web-components.d.ts +12 -0
- package/dist/web-components.js +700 -20
- package/dist/web-components.min.js +147 -143
- package/docs/api-report.md +12 -7
- package/package.json +1 -1
|
@@ -1345,7 +1345,7 @@
|
|
|
1345
1345
|
},
|
|
1346
1346
|
{
|
|
1347
1347
|
"kind": "Content",
|
|
1348
|
-
"text": ", typeof import(\"./anchor\")."
|
|
1348
|
+
"text": ", typeof import(\"./anchor/index\")."
|
|
1349
1349
|
},
|
|
1350
1350
|
{
|
|
1351
1351
|
"kind": "Reference",
|
|
@@ -1435,7 +1435,7 @@
|
|
|
1435
1435
|
},
|
|
1436
1436
|
{
|
|
1437
1437
|
"kind": "Content",
|
|
1438
|
-
"text": ", typeof import(\"./badge\")."
|
|
1438
|
+
"text": ", typeof import(\"./badge/index\")."
|
|
1439
1439
|
},
|
|
1440
1440
|
{
|
|
1441
1441
|
"kind": "Reference",
|
|
@@ -1579,7 +1579,7 @@
|
|
|
1579
1579
|
},
|
|
1580
1580
|
{
|
|
1581
1581
|
"kind": "Content",
|
|
1582
|
-
"text": ", typeof import(\"./button\")."
|
|
1582
|
+
"text": ", typeof import(\"./button/index\")."
|
|
1583
1583
|
},
|
|
1584
1584
|
{
|
|
1585
1585
|
"kind": "Reference",
|
|
@@ -1588,7 +1588,61 @@
|
|
|
1588
1588
|
},
|
|
1589
1589
|
{
|
|
1590
1590
|
"kind": "Content",
|
|
1591
|
-
"text": ">;\n
|
|
1591
|
+
"text": ">;\n fluentCalendar: (overrideDefinition?: import(\"@microsoft/fast-foundation\")."
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"kind": "Reference",
|
|
1595
|
+
"text": "OverrideFoundationElementDefinition",
|
|
1596
|
+
"canonicalReference": "@microsoft/fast-foundation!OverrideFoundationElementDefinition:type"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"kind": "Content",
|
|
1600
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"kind": "Reference",
|
|
1604
|
+
"text": "CalendarOptions",
|
|
1605
|
+
"canonicalReference": "@microsoft/fast-foundation!CalendarOptions:type"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"kind": "Content",
|
|
1609
|
+
"text": "> | undefined) => import(\"@microsoft/fast-foundation\")."
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"kind": "Reference",
|
|
1613
|
+
"text": "FoundationElementRegistry",
|
|
1614
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"kind": "Content",
|
|
1618
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"kind": "Reference",
|
|
1622
|
+
"text": "CalendarOptions",
|
|
1623
|
+
"canonicalReference": "@microsoft/fast-foundation!CalendarOptions:type"
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"kind": "Content",
|
|
1627
|
+
"text": ", import(\"@microsoft/fast-element\")."
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "Reference",
|
|
1631
|
+
"text": "Constructable",
|
|
1632
|
+
"canonicalReference": "@microsoft/fast-element!Constructable:type"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"kind": "Content",
|
|
1636
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"kind": "Reference",
|
|
1640
|
+
"text": "FoundationElement",
|
|
1641
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"kind": "Content",
|
|
1645
|
+
"text": ">>;\n fluentCard: (overrideDefinition?: import(\"@microsoft/fast-foundation\")."
|
|
1592
1646
|
},
|
|
1593
1647
|
{
|
|
1594
1648
|
"kind": "Reference",
|
|
@@ -1624,7 +1678,7 @@
|
|
|
1624
1678
|
},
|
|
1625
1679
|
{
|
|
1626
1680
|
"kind": "Content",
|
|
1627
|
-
"text": ", typeof import(\"./card\")."
|
|
1681
|
+
"text": ", typeof import(\"./card/index\")."
|
|
1628
1682
|
},
|
|
1629
1683
|
{
|
|
1630
1684
|
"kind": "Reference",
|
|
@@ -1930,7 +1984,7 @@
|
|
|
1930
1984
|
},
|
|
1931
1985
|
{
|
|
1932
1986
|
"kind": "Content",
|
|
1933
|
-
"text": ";\n }, typeof import(\"./design-system-provider\")."
|
|
1987
|
+
"text": ";\n }, typeof import(\"./design-system-provider/index\")."
|
|
1934
1988
|
},
|
|
1935
1989
|
{
|
|
1936
1990
|
"kind": "Reference",
|
|
@@ -2263,7 +2317,7 @@
|
|
|
2263
2317
|
},
|
|
2264
2318
|
{
|
|
2265
2319
|
"kind": "Content",
|
|
2266
|
-
"text": ", typeof import(\"./menu\")."
|
|
2320
|
+
"text": ", typeof import(\"./menu/index\")."
|
|
2267
2321
|
},
|
|
2268
2322
|
{
|
|
2269
2323
|
"kind": "Reference",
|
|
@@ -3010,7 +3064,7 @@
|
|
|
3010
3064
|
},
|
|
3011
3065
|
{
|
|
3012
3066
|
"kind": "Content",
|
|
3013
|
-
"text": ", typeof import(\"./text-area\")."
|
|
3067
|
+
"text": ", typeof import(\"./text-area/index\")."
|
|
3014
3068
|
},
|
|
3015
3069
|
{
|
|
3016
3070
|
"kind": "Reference",
|
|
@@ -3055,7 +3109,7 @@
|
|
|
3055
3109
|
},
|
|
3056
3110
|
{
|
|
3057
3111
|
"kind": "Content",
|
|
3058
|
-
"text": ", typeof import(\"./text-field\")."
|
|
3112
|
+
"text": ", typeof import(\"./text-field/index\")."
|
|
3059
3113
|
},
|
|
3060
3114
|
{
|
|
3061
3115
|
"kind": "Reference",
|
|
@@ -3100,7 +3154,7 @@
|
|
|
3100
3154
|
},
|
|
3101
3155
|
{
|
|
3102
3156
|
"kind": "Content",
|
|
3103
|
-
"text": ", typeof import(\"./toolbar\")."
|
|
3157
|
+
"text": ", typeof import(\"./toolbar/index\")."
|
|
3104
3158
|
},
|
|
3105
3159
|
{
|
|
3106
3160
|
"kind": "Reference",
|
|
@@ -3145,7 +3199,7 @@
|
|
|
3145
3199
|
},
|
|
3146
3200
|
{
|
|
3147
3201
|
"kind": "Content",
|
|
3148
|
-
"text": ", typeof import(\"./tooltip\")."
|
|
3202
|
+
"text": ", typeof import(\"./tooltip/index\")."
|
|
3149
3203
|
},
|
|
3150
3204
|
{
|
|
3151
3205
|
"kind": "Reference",
|
|
@@ -3269,7 +3323,7 @@
|
|
|
3269
3323
|
"name": "allComponents",
|
|
3270
3324
|
"variableTypeTokenRange": {
|
|
3271
3325
|
"startIndex": 1,
|
|
3272
|
-
"endIndex":
|
|
3326
|
+
"endIndex": 470
|
|
3273
3327
|
}
|
|
3274
3328
|
},
|
|
3275
3329
|
{
|
|
@@ -7554,6 +7608,81 @@
|
|
|
7554
7608
|
"endIndex": 12
|
|
7555
7609
|
}
|
|
7556
7610
|
},
|
|
7611
|
+
{
|
|
7612
|
+
"kind": "Variable",
|
|
7613
|
+
"canonicalReference": "@fluentui/web-components!fluentCalendar:var",
|
|
7614
|
+
"docComment": "/**\n * The Fluent Calendar Element. Implements {@link @microsoft/fast-foundation#Calendar}, {@link @microsoft/fast-foundation#calendarTemplate}\n *\n * @remarks\n *\n * HTML Element \\<fluent-calendar\\>\n *\n * @public\n */\n",
|
|
7615
|
+
"excerptTokens": [
|
|
7616
|
+
{
|
|
7617
|
+
"kind": "Content",
|
|
7618
|
+
"text": "fluentCalendar: "
|
|
7619
|
+
},
|
|
7620
|
+
{
|
|
7621
|
+
"kind": "Content",
|
|
7622
|
+
"text": "(overrideDefinition?: import(\"@microsoft/fast-foundation\")."
|
|
7623
|
+
},
|
|
7624
|
+
{
|
|
7625
|
+
"kind": "Reference",
|
|
7626
|
+
"text": "OverrideFoundationElementDefinition",
|
|
7627
|
+
"canonicalReference": "@microsoft/fast-foundation!OverrideFoundationElementDefinition:type"
|
|
7628
|
+
},
|
|
7629
|
+
{
|
|
7630
|
+
"kind": "Content",
|
|
7631
|
+
"text": "<"
|
|
7632
|
+
},
|
|
7633
|
+
{
|
|
7634
|
+
"kind": "Reference",
|
|
7635
|
+
"text": "CalendarOptions",
|
|
7636
|
+
"canonicalReference": "@microsoft/fast-foundation!CalendarOptions:type"
|
|
7637
|
+
},
|
|
7638
|
+
{
|
|
7639
|
+
"kind": "Content",
|
|
7640
|
+
"text": "> | undefined) => import(\"@microsoft/fast-foundation\")."
|
|
7641
|
+
},
|
|
7642
|
+
{
|
|
7643
|
+
"kind": "Reference",
|
|
7644
|
+
"text": "FoundationElementRegistry",
|
|
7645
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
|
|
7646
|
+
},
|
|
7647
|
+
{
|
|
7648
|
+
"kind": "Content",
|
|
7649
|
+
"text": "<"
|
|
7650
|
+
},
|
|
7651
|
+
{
|
|
7652
|
+
"kind": "Reference",
|
|
7653
|
+
"text": "CalendarOptions",
|
|
7654
|
+
"canonicalReference": "@microsoft/fast-foundation!CalendarOptions:type"
|
|
7655
|
+
},
|
|
7656
|
+
{
|
|
7657
|
+
"kind": "Content",
|
|
7658
|
+
"text": ", import(\"@microsoft/fast-element\")."
|
|
7659
|
+
},
|
|
7660
|
+
{
|
|
7661
|
+
"kind": "Reference",
|
|
7662
|
+
"text": "Constructable",
|
|
7663
|
+
"canonicalReference": "@microsoft/fast-element!Constructable:type"
|
|
7664
|
+
},
|
|
7665
|
+
{
|
|
7666
|
+
"kind": "Content",
|
|
7667
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
7668
|
+
},
|
|
7669
|
+
{
|
|
7670
|
+
"kind": "Reference",
|
|
7671
|
+
"text": "FoundationElement",
|
|
7672
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
|
|
7673
|
+
},
|
|
7674
|
+
{
|
|
7675
|
+
"kind": "Content",
|
|
7676
|
+
"text": ">>"
|
|
7677
|
+
}
|
|
7678
|
+
],
|
|
7679
|
+
"releaseTag": "Public",
|
|
7680
|
+
"name": "fluentCalendar",
|
|
7681
|
+
"variableTypeTokenRange": {
|
|
7682
|
+
"startIndex": 1,
|
|
7683
|
+
"endIndex": 14
|
|
7684
|
+
}
|
|
7685
|
+
},
|
|
7557
7686
|
{
|
|
7558
7687
|
"kind": "Variable",
|
|
7559
7688
|
"canonicalReference": "@fluentui/web-components!fluentCard:var",
|
package/dist/web-components.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { Breadcrumb } from '@microsoft/fast-foundation';
|
|
|
10
10
|
import { BreadcrumbItem } from '@microsoft/fast-foundation';
|
|
11
11
|
import { BreadcrumbItemOptions } from '@microsoft/fast-foundation';
|
|
12
12
|
import { Button as Button_2 } from '@microsoft/fast-foundation';
|
|
13
|
+
import { CalendarOptions } from '@microsoft/fast-foundation';
|
|
13
14
|
import { Card as Card_2 } from '@microsoft/fast-foundation';
|
|
14
15
|
import { CheckboxOptions } from '@microsoft/fast-foundation';
|
|
15
16
|
import { Combobox as Combobox_2 } from '@microsoft/fast-foundation';
|
|
@@ -184,6 +185,7 @@ export declare const allComponents: {
|
|
|
184
185
|
fluentBreadcrumb: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Breadcrumb>;
|
|
185
186
|
fluentBreadcrumbItem: (overrideDefinition?: OverrideFoundationElementDefinition<BreadcrumbItemOptions> | undefined) => FoundationElementRegistry<BreadcrumbItemOptions, Constructable<FoundationElement>>;
|
|
186
187
|
fluentButton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Button>;
|
|
188
|
+
fluentCalendar: (overrideDefinition?: OverrideFoundationElementDefinition<CalendarOptions> | undefined) => FoundationElementRegistry<CalendarOptions, Constructable<FoundationElement>>;
|
|
187
189
|
fluentCard: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Card>;
|
|
188
190
|
fluentCheckbox: (overrideDefinition?: OverrideFoundationElementDefinition<CheckboxOptions> | undefined) => FoundationElementRegistry<CheckboxOptions, Constructable<FoundationElement>>;
|
|
189
191
|
fluentCombobox: (overrideDefinition?: OverrideFoundationElementDefinition<ComboboxOptions> | undefined) => FoundationElementRegistry<ComboboxOptions, Constructable<FoundationElement>>;
|
|
@@ -1307,6 +1309,16 @@ export declare const fluentBreadcrumbItem: (overrideDefinition?: OverrideFoundat
|
|
|
1307
1309
|
*/
|
|
1308
1310
|
export declare const fluentButton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Button>;
|
|
1309
1311
|
|
|
1312
|
+
/**
|
|
1313
|
+
* The Fluent Calendar Element. Implements {@link @microsoft/fast-foundation#Calendar},
|
|
1314
|
+
* {@link @microsoft/fast-foundation#calendarTemplate}
|
|
1315
|
+
*
|
|
1316
|
+
* @public
|
|
1317
|
+
* @remarks
|
|
1318
|
+
* HTML Element \<fluent-calendar\>
|
|
1319
|
+
*/
|
|
1320
|
+
export declare const fluentCalendar: (overrideDefinition?: OverrideFoundationElementDefinition<CalendarOptions> | undefined) => FoundationElementRegistry<CalendarOptions, Constructable<FoundationElement>>;
|
|
1321
|
+
|
|
1310
1322
|
/**
|
|
1311
1323
|
* The Fluent Card Element. Implements {@link @microsoft/fast-foundation#Card},
|
|
1312
1324
|
* {@link @microsoft/fast-foundation#CardTemplate}
|