@livetiles/reach-components-react 0.4.0-preview.215 → 0.4.0-preview.216
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/ClearAllFiltersButton.d.ts +5 -0
- package/ToolbarFilterPanel.d.ts +1 -3
- package/index.d.ts +7 -4
- package/index.esm.js +1 -1
- package/index.esm2.js +18 -15
- package/index.umd.js +18 -14
- package/package.json +1 -1
package/ToolbarFilterPanel.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -749,9 +749,7 @@ interface FilterProps {
|
|
|
749
749
|
onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
-
declare const ToolbarFilterPanel: FC<FilterProps
|
|
753
|
-
hideClearAllFiltersButton?: boolean;
|
|
754
|
-
}>;
|
|
752
|
+
declare const ToolbarFilterPanel: FC<FilterProps>;
|
|
755
753
|
|
|
756
754
|
interface ChannelFilterProps {
|
|
757
755
|
channels?: string[];
|
|
@@ -760,4 +758,9 @@ declare const ChannelFilter: FC<ChannelFilterProps>;
|
|
|
760
758
|
|
|
761
759
|
declare const PublishingDateFilter: FC;
|
|
762
760
|
|
|
763
|
-
|
|
761
|
+
interface ClearAllFiltersButtonProps {
|
|
762
|
+
onClick: () => void;
|
|
763
|
+
}
|
|
764
|
+
declare const ClearAllFiltersButton: FC<ClearAllFiltersButtonProps>;
|
|
765
|
+
|
|
766
|
+
export { Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ClearAllFiltersButton, ClearAllFiltersButtonProps, EventDetail, EventDetailProps, FilterProps, ItemLayoutMode, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PublishableItem, PublishingDateFilter, ReachContextProps, ReachContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarFilterPanel, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarProps, ToolbarSearchProps, UserDetails, UserDetailsProps, useCurrentUser };
|
package/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Avatar, C as ChannelFilter, E as EventDetail, I as ItemLayoutMode, M as ManageChannels, N as NewsDetail, x as NewsDetailPreview, l as NewsEditorDashboard, i as NewsGrid, k as NewsHero, t as NewsItemContextProvider, y as NewsItemPreviewContextProvider, h as NewsList, g as PageDetail, B as PublishingDateFilter, R as ReachContextProvider, n as Toolbar, p as ToolbarChannelSelector, s as ToolbarCloseButton, z as ToolbarFilterPanel, o as ToolbarIconButton, w as ToolbarManageNewsItemButton, q as ToolbarMarkAllEventsAsReadButton, r as ToolbarMarkAllNewsAsReadButton, v as ToolbarNewsLanguageSelector, U as UserDetails, j as useCurrentUser } from './index.esm2.js';
|
|
1
|
+
export { A as Avatar, C as ChannelFilter, D as ClearAllFiltersButton, E as EventDetail, I as ItemLayoutMode, M as ManageChannels, N as NewsDetail, x as NewsDetailPreview, l as NewsEditorDashboard, i as NewsGrid, k as NewsHero, t as NewsItemContextProvider, y as NewsItemPreviewContextProvider, h as NewsList, g as PageDetail, B as PublishingDateFilter, R as ReachContextProvider, n as Toolbar, p as ToolbarChannelSelector, s as ToolbarCloseButton, z as ToolbarFilterPanel, o as ToolbarIconButton, w as ToolbarManageNewsItemButton, q as ToolbarMarkAllEventsAsReadButton, r as ToolbarMarkAllNewsAsReadButton, v as ToolbarNewsLanguageSelector, U as UserDetails, j as useCurrentUser } from './index.esm2.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'events';
|
|
4
4
|
import 'react';
|
package/index.esm2.js
CHANGED
|
@@ -87472,9 +87472,9 @@ var AuthenticationContextProvider = function AuthenticationContextProvider(_a) {
|
|
|
87472
87472
|
}), void 0);
|
|
87473
87473
|
};
|
|
87474
87474
|
|
|
87475
|
-
var version$1 = "0.4.0-preview.
|
|
87476
|
-
var buildId = "
|
|
87477
|
-
var commitId = "
|
|
87475
|
+
var version$1 = "0.4.0-preview.216";
|
|
87476
|
+
var buildId = "98457";
|
|
87477
|
+
var commitId = "e1ba72d0e617b8c1186797abcf6bddf4131d9cb0";
|
|
87478
87478
|
var isCustomerBuild = false;
|
|
87479
87479
|
var buildInfo = {
|
|
87480
87480
|
version: version$1,
|
|
@@ -135007,21 +135007,13 @@ var FilterContextProvider = function FilterContextProvider(_a) {
|
|
|
135007
135007
|
var ToolbarFilterPanel = function ToolbarFilterPanel(_a) {
|
|
135008
135008
|
var filter = _a.filter,
|
|
135009
135009
|
onChange = _a.onChange,
|
|
135010
|
-
children = _a.children
|
|
135011
|
-
hideClearAllFiltersButton = _a.hideClearAllFiltersButton;
|
|
135010
|
+
children = _a.children;
|
|
135012
135011
|
return jsx$1(FilterContextProvider, __assign$g({
|
|
135013
135012
|
filter: filter,
|
|
135014
135013
|
onChange: onChange
|
|
135015
135014
|
}, {
|
|
135016
|
-
children:
|
|
135017
|
-
children:
|
|
135018
|
-
iconProps: {
|
|
135019
|
-
iconName: 'ChromeClose'
|
|
135020
|
-
},
|
|
135021
|
-
onClick: function () {
|
|
135022
|
-
return onChange(null);
|
|
135023
|
-
}
|
|
135024
|
-
}, void 0)]
|
|
135015
|
+
children: jsx$1(Host$2, {
|
|
135016
|
+
children: children
|
|
135025
135017
|
}, void 0)
|
|
135026
135018
|
}), void 0);
|
|
135027
135019
|
};
|
|
@@ -135791,4 +135783,15 @@ var DateShortcuts = _styled.div.withConfig({
|
|
|
135791
135783
|
|
|
135792
135784
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
135793
135785
|
|
|
135794
|
-
|
|
135786
|
+
var ClearAllFiltersButton = function ClearAllFiltersButton(_a) {
|
|
135787
|
+
var onClick = _a.onClick;
|
|
135788
|
+
return jsx$1(ToolbarIconButton, {
|
|
135789
|
+
iconName: "Cancel",
|
|
135790
|
+
onClick: onClick,
|
|
135791
|
+
tooltipResourceKey: "FilterPanel.clearFiltersTooltip",
|
|
135792
|
+
ariaLabelResourceKey: "FilterPanel.clearFiltersTooltip",
|
|
135793
|
+
"data-toolbar-clear-all-filters-button": true
|
|
135794
|
+
}, void 0);
|
|
135795
|
+
};
|
|
135796
|
+
|
|
135797
|
+
export { Avatar as A, PublishingDateFilter as B, ChannelFilter as C, ClearAllFiltersButton as D, EventDetail as E, ItemLayoutMode as I, ManageChannels as M, NewsDetail as N, PropTypes$2 as P, ReachContextProvider as R, ThemeContext$1 as T, UserDetails as U, _assertThisInitialized$b as _, commonjsGlobal$7 as a, _setPrototypeOf$6 as b, commonjsRequire as c, _defineProperty$p as d, _extends$9 as e, minScreenSize as f, PageDetail as g, NewsList as h, NewsGrid as i, useCurrentUser as j, NewsHero as k, NewsEditorDashboard as l, moment$1 as m, Toolbar$1 as n, ToolbarIconButton as o, ToolbarChannelSelector as p, ToolbarMarkAllEventsAsReadButton as q, ToolbarMarkAllNewsAsReadButton as r, ToolbarCloseButton as s, NewsItemContextProvider as t, useWindowSize$2 as u, ToolbarNewsLanguageSelector as v, ToolbarManageNewsItemButton as w, NewsDetailPreview as x, NewsItemPreviewContextProvider as y, ToolbarFilterPanel as z };
|
package/index.umd.js
CHANGED
|
@@ -87330,9 +87330,9 @@
|
|
|
87330
87330
|
}), void 0);
|
|
87331
87331
|
};
|
|
87332
87332
|
|
|
87333
|
-
var version$1 = "0.4.0-preview.
|
|
87334
|
-
var buildId = "
|
|
87335
|
-
var commitId = "
|
|
87333
|
+
var version$1 = "0.4.0-preview.216";
|
|
87334
|
+
var buildId = "98457";
|
|
87335
|
+
var commitId = "e1ba72d0e617b8c1186797abcf6bddf4131d9cb0";
|
|
87336
87336
|
var isCustomerBuild = false;
|
|
87337
87337
|
var buildInfo = {
|
|
87338
87338
|
version: version$1,
|
|
@@ -134881,21 +134881,13 @@
|
|
|
134881
134881
|
var ToolbarFilterPanel = function ToolbarFilterPanel(_a) {
|
|
134882
134882
|
var filter = _a.filter,
|
|
134883
134883
|
onChange = _a.onChange,
|
|
134884
|
-
children = _a.children
|
|
134885
|
-
hideClearAllFiltersButton = _a.hideClearAllFiltersButton;
|
|
134884
|
+
children = _a.children;
|
|
134886
134885
|
return jsxRuntime.jsx(FilterContextProvider, __assign$g({
|
|
134887
134886
|
filter: filter,
|
|
134888
134887
|
onChange: onChange
|
|
134889
134888
|
}, {
|
|
134890
|
-
children: jsxRuntime.
|
|
134891
|
-
children:
|
|
134892
|
-
iconProps: {
|
|
134893
|
-
iconName: 'ChromeClose'
|
|
134894
|
-
},
|
|
134895
|
-
onClick: function () {
|
|
134896
|
-
return onChange(null);
|
|
134897
|
-
}
|
|
134898
|
-
}, void 0)]
|
|
134889
|
+
children: jsxRuntime.jsx(Host$2, {
|
|
134890
|
+
children: children
|
|
134899
134891
|
}, void 0)
|
|
134900
134892
|
}), void 0);
|
|
134901
134893
|
};
|
|
@@ -135665,6 +135657,17 @@
|
|
|
135665
135657
|
|
|
135666
135658
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
135667
135659
|
|
|
135660
|
+
var ClearAllFiltersButton = function ClearAllFiltersButton(_a) {
|
|
135661
|
+
var onClick = _a.onClick;
|
|
135662
|
+
return jsxRuntime.jsx(ToolbarIconButton, {
|
|
135663
|
+
iconName: "Cancel",
|
|
135664
|
+
onClick: onClick,
|
|
135665
|
+
tooltipResourceKey: "FilterPanel.clearFiltersTooltip",
|
|
135666
|
+
ariaLabelResourceKey: "FilterPanel.clearFiltersTooltip",
|
|
135667
|
+
"data-toolbar-clear-all-filters-button": true
|
|
135668
|
+
}, void 0);
|
|
135669
|
+
};
|
|
135670
|
+
|
|
135668
135671
|
/* @generated */
|
|
135669
135672
|
// prettier-ignore
|
|
135670
135673
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
@@ -212930,6 +212933,7 @@
|
|
|
212930
212933
|
|
|
212931
212934
|
exports.Avatar = Avatar;
|
|
212932
212935
|
exports.ChannelFilter = ChannelFilter;
|
|
212936
|
+
exports.ClearAllFiltersButton = ClearAllFiltersButton;
|
|
212933
212937
|
exports.EventDetail = EventDetail;
|
|
212934
212938
|
exports.ManageChannels = ManageChannels;
|
|
212935
212939
|
exports.NewsDetail = NewsDetail;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livetiles/reach-components-react",
|
|
3
3
|
"description": "Provides React components to consume LiveTiles Reach data",
|
|
4
|
-
"version": "0.4.0-preview.
|
|
4
|
+
"version": "0.4.0-preview.216",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"react": "^16.14.0 || ^17",
|
|
7
7
|
"react-dom": "^16.14.0 || ^17",
|