@splunk/react-ui 4.28.2 → 4.30.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.
- package/Accordion.js +1 -0
- package/CHANGELOG.md +42 -1
- package/Card.js +17 -17
- package/Chip.js +162 -153
- package/Clickable.js +107 -87
- package/Code.js +10 -22
- package/CollapsiblePanel.js +8 -8
- package/ComboBox.js +43 -38
- package/Date.js +6 -6
- package/DualListbox.js +1 -1
- package/Link.js +70 -68
- package/MIGRATION.mdx +141 -1
- package/Markdown.js +10 -9
- package/Menu.js +5 -5
- package/Message.js +160 -149
- package/Multiselect.js +52 -48
- package/Number.js +19 -18
- package/Paginator.js +390 -485
- package/RadioBar.js +43 -39
- package/ResultsMenu.js +14 -11
- package/Search.js +227 -220
- package/Select.js +77 -72
- package/StepBar.js +1 -1
- package/Table.js +2082 -1594
- package/Text.js +1 -0
- package/TextArea.d.ts +1 -1
- package/WaitSpinner.js +17 -16
- package/cypress/support/component.ts +2 -2
- package/package.json +22 -21
- package/test-runner-jest.config.js +1 -0
- package/types/src/Accordion/Accordion.d.ts +3 -7
- package/types/src/Accordion/Panel.d.ts +2 -2
- package/types/src/Anchor/Anchor.d.ts +1 -1
- package/types/src/AnimationToggle/AnimationToggle.d.ts +3 -3
- package/types/src/Box/Box.d.ts +1 -1
- package/types/src/Breadcrumbs/Breadcrumbs.d.ts +4 -4
- package/types/src/Breadcrumbs/Item.d.ts +1 -1
- package/types/src/Button/Button.d.ts +5 -5
- package/types/src/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/types/src/ButtonSimple/ButtonSimple.d.ts +10 -10
- package/types/src/Calendar/Calendar.d.ts +3 -3
- package/types/src/Calendar/DateTable.d.ts +2 -2
- package/types/src/Calendar/Day.d.ts +3 -3
- package/types/src/Calendar/MonthHeader.d.ts +6 -6
- package/types/src/Card/Body.d.ts +1 -1
- package/types/src/Card/Card.d.ts +6 -6
- package/types/src/Card/Footer.d.ts +1 -1
- package/types/src/Card/Header.d.ts +1 -1
- package/types/src/CardLayout/CardLayout.d.ts +4 -4
- package/types/src/Chip/Chip.d.ts +5 -5
- package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +2 -0
- package/types/src/Clickable/Clickable.d.ts +12 -4
- package/types/src/Clickable/NavigationProvider.d.ts +26 -5
- package/types/src/CloseButton/CloseButton.d.ts +1 -1
- package/types/src/Code/Code.d.ts +2 -2
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +9 -5
- package/types/src/CollapsiblePanel/SingleOpenPanelGroup.d.ts +2 -2
- package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +2 -0
- package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +1 -1
- package/types/src/Color/Color.d.ts +8 -8
- package/types/src/Color/Swatch.d.ts +2 -2
- package/types/src/ColumnLayout/Column.d.ts +1 -1
- package/types/src/ColumnLayout/ColumnLayout.d.ts +1 -1
- package/types/src/ColumnLayout/Row.d.ts +1 -1
- package/types/src/ComboBox/ComboBox.d.ts +7 -6
- package/types/src/ComboBox/Option.d.ts +3 -3
- package/types/src/Concertina/Concertina.d.ts +2 -2
- package/types/src/Concertina/Heading.d.ts +3 -3
- package/types/src/Concertina/Panel.d.ts +4 -4
- package/types/src/Concertina/types.d.ts +1 -1
- package/types/src/ControlGroup/ControlGroup.d.ts +5 -5
- package/types/src/Date/Date.d.ts +10 -10
- package/types/src/DefinitionList/DefinitionList.d.ts +2 -2
- package/types/src/DefinitionList/Description.d.ts +1 -1
- package/types/src/DefinitionList/Term.d.ts +1 -1
- package/types/src/Divider/Divider.d.ts +1 -1
- package/types/src/Dropdown/Dropdown.d.ts +10 -10
- package/types/src/DualListbox/DualListbox.d.ts +4 -4
- package/types/src/DualListbox/DualListboxContext.d.ts +7 -7
- package/types/src/DualListbox/Label.d.ts +2 -2
- package/types/src/DualListbox/Listbox.d.ts +4 -4
- package/types/src/DualListbox/ListboxContext.d.ts +3 -3
- package/types/src/DualListbox/Option.d.ts +2 -2
- package/types/src/DualListbox/ToolbarButton.d.ts +3 -3
- package/types/src/DualListbox/ToolbarContext.d.ts +3 -3
- package/types/src/EventListener/EventListener.d.ts +1 -1
- package/types/src/File/File.d.ts +8 -8
- package/types/src/File/Item.d.ts +2 -2
- package/types/src/FormRows/FormRows.d.ts +6 -6
- package/types/src/FormRows/Row.d.ts +2 -2
- package/types/src/FormRows/RowInternal.d.ts +1 -1
- package/types/src/FormRows/SortableList.d.ts +1 -1
- package/types/src/FormRows/SortableRow.d.ts +3 -3
- package/types/src/Heading/Heading.d.ts +2 -2
- package/types/src/Image/Image.d.ts +2 -2
- package/types/src/JSONTree/JSONTree.d.ts +6 -6
- package/types/src/JSONTree/JSONTreeItem.d.ts +3 -3
- package/types/src/JSONTree/renderTreeItems.d.ts +1 -1
- package/types/src/Layer/Layer.d.ts +3 -3
- package/types/src/Link/Link.d.ts +4 -4
- package/types/src/List/Item.d.ts +1 -1
- package/types/src/List/List.d.ts +3 -3
- package/types/src/Markdown/Markdown.d.ts +19 -13
- package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownBlockquote.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownCode.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownHeading.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownImage.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownItem.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownLink.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownList.d.ts +3 -3
- package/types/src/Markdown/renderers/MarkdownParagraph.d.ts +1 -1
- package/types/src/Menu/Divider.d.ts +1 -1
- package/types/src/Menu/Heading.d.ts +1 -1
- package/types/src/Menu/Item.d.ts +10 -10
- package/types/src/Menu/Menu.d.ts +9 -9
- package/types/src/Message/Link.d.ts +3 -3
- package/types/src/Message/Message.d.ts +1 -1
- package/types/src/MessageBar/MessageBar.d.ts +2 -2
- package/types/src/MessageBar/docs/examples/Basic.d.ts +2 -0
- package/types/src/Modal/Body.d.ts +1 -1
- package/types/src/Modal/Footer.d.ts +1 -1
- package/types/src/Modal/Header.d.ts +1 -1
- package/types/src/Modal/Modal.d.ts +4 -4
- package/types/src/ModalLayer/ModalLayer.d.ts +3 -3
- package/types/src/Monogram/Monogram.d.ts +5 -5
- package/types/src/Multiselect/Compact.d.ts +2 -2
- package/types/src/Multiselect/Multiselect.d.ts +7 -7
- package/types/src/Multiselect/Normal.d.ts +2 -2
- package/types/src/Multiselect/Option.d.ts +3 -3
- package/types/src/Multiselect/docs/examples/Fetching.d.ts +1 -1
- package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +1 -1
- package/types/src/Number/Number.d.ts +22 -22
- package/types/src/Paginator/Button.d.ts +15 -10
- package/types/src/Paginator/Compact.d.ts +4 -4
- package/types/src/Paginator/PageControl.d.ts +2 -2
- package/types/src/Paginator/PageSelect.d.ts +2 -2
- package/types/src/Paginator/Paginator.d.ts +2 -2
- package/types/src/Paragraph/Paragraph.d.ts +1 -1
- package/types/src/Popover/Popover.d.ts +11 -11
- package/types/src/Popover/PopoverHitArea.d.ts +1 -1
- package/types/src/Progress/Progress.d.ts +1 -1
- package/types/src/RadioBar/Option.d.ts +8 -4
- package/types/src/RadioBar/RadioBar.d.ts +8 -8
- package/types/src/RadioList/Option.d.ts +1 -1
- package/types/src/RadioList/RadioList.d.ts +3 -3
- package/types/src/Resize/Resize.d.ts +4 -4
- package/types/src/Resize/docs/examples/Basic.d.ts +2 -0
- package/types/src/ResultsMenu/ResultsMenu.d.ts +7 -5
- package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedItem.d.ts +1 -1
- package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +1 -1
- package/types/src/ResultsMenu/VirtualizedResultsMenu/injectVirtualizedItem.d.ts +2 -2
- package/types/src/ScreenReaderContent/ScreenReaderContent.d.ts +2 -2
- package/types/src/Scroll/Inner.d.ts +3 -3
- package/types/src/Scroll/Scroll.d.ts +2 -2
- package/types/src/Search/Option.d.ts +8 -8
- package/types/src/Search/Search.d.ts +4 -4
- package/types/src/Select/Option.d.ts +2 -2
- package/types/src/Select/OptionBase.d.ts +8 -8
- package/types/src/Select/Select.d.ts +5 -5
- package/types/src/Select/SelectAllOption.d.ts +1 -1
- package/types/src/Select/SelectBase.d.ts +9 -8
- package/types/src/SidePanel/SidePanel.d.ts +3 -3
- package/types/src/Slider/Slider.d.ts +8 -8
- package/types/src/SlidingPanels/Panel.d.ts +2 -2
- package/types/src/SlidingPanels/SlidingPanels.d.ts +2 -2
- package/types/src/SplitButton/Item.d.ts +2 -2
- package/types/src/SplitButton/SplitButton.d.ts +1 -1
- package/types/src/StaticContent/StaticContent.d.ts +1 -1
- package/types/src/StepBar/Step.d.ts +1 -1
- package/types/src/StepBar/StepBar.d.ts +1 -1
- package/types/src/Switch/Switch.d.ts +4 -8
- package/types/src/TabBar/Tab.d.ts +7 -8
- package/types/src/TabBar/TabBar.d.ts +5 -5
- package/types/src/TabLayout/Panel.d.ts +2 -2
- package/types/src/TabLayout/TabLayout.d.ts +3 -3
- package/types/src/Table/Body.d.ts +4 -8
- package/types/src/Table/Caption.d.ts +2 -2
- package/types/src/Table/Cell.d.ts +3 -3
- package/types/src/Table/DragHandle.d.ts +1 -1
- package/types/src/Table/Head.d.ts +6 -6
- package/types/src/Table/HeadCell.d.ts +9 -9
- package/types/src/Table/HeadDropdownCell.d.ts +11 -11
- package/types/src/Table/HeadInner.d.ts +5 -5
- package/types/src/Table/HeadTable.d.ts +2 -2
- package/types/src/Table/KeyboardSensor.d.ts +79 -0
- package/types/src/Table/Row.d.ts +12 -14
- package/types/src/Table/RowDragCell.d.ts +9 -40
- package/types/src/Table/Table.d.ts +12 -10
- package/types/src/Table/Toggle.d.ts +1 -1
- package/types/src/Table/docs/examples/FilterColumnValues.d.ts +1 -1
- package/types/src/Text/Text.d.ts +13 -11
- package/types/src/TextArea/TextArea.d.ts +10 -10
- package/types/src/Tooltip/Tooltip.d.ts +9 -9
- package/types/src/TransitionOpen/TransitionOpen.d.ts +2 -2
- package/types/src/Tree/Tree.d.ts +3 -3
- package/types/src/Tree/TreeItem.d.ts +4 -4
- package/types/src/Typography/Typography.d.ts +5 -5
- package/types/src/WaitSpinner/WaitSpinner.d.ts +2 -1
- package/types/src/fixtures/FetchOptions.d.ts +2 -2
- package/types/src/useKeyPress/index.d.ts +2 -2
- package/types/src/utils/types.d.ts +4 -4
- package/types/src/Resize/docs/examples/Typical.d.ts +0 -2
package/Accordion.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,47 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
4.30.0 - May 6, 2024
|
|
5
|
+
----------
|
|
6
|
+
New Features:
|
|
7
|
+
* `Clickable`'s `NavigationProvider` now accepts a `transformUrl` prop for modifying the URL (SUI-5291).
|
|
8
|
+
|
|
9
|
+
Bug Fixes:
|
|
10
|
+
* `Table.Row` keyboard reordering now works correctly and provides accessible info (SUI-2527).
|
|
11
|
+
* `Search`'s `aria-*` attributes have been corrected (SUI-6110):
|
|
12
|
+
* `aria-expanded` is no longer added when there are no `Option`s
|
|
13
|
+
* `aria-activedescendant` is no longer added when `Option`s are hidden or when no `Option` is active
|
|
14
|
+
* `aria-controls` now refers to the correct element
|
|
15
|
+
* `Combobox` no longer adds the `aria-activedescendant` attribute when no `Option` is active (SUI-6110).
|
|
16
|
+
* `Multiselect` with `compact` now applies `aria-multiselectable` and `aria-controls` to the correct element (SUI-6105).
|
|
17
|
+
* `Multiselect` with `compact` no longer adds `aria-activedescendant` when `Option`s are hidden (SUI-6105).
|
|
18
|
+
* `Paginator`'s font weights and text colors have been updated to improve the perceivability of the current page (SUI-5850).
|
|
19
|
+
* `Text`'s `appearance` prop has been deprecated and will be removed in the next major version (SUI-5978).
|
|
20
|
+
* `Message`'s `type` is now announced to screen readers (SUI-5949).
|
|
21
|
+
* `Card` now has a visible focus indicator when selectable or clickable (SUI-2829).
|
|
22
|
+
* `Date` can now be styled with `styled-components` (SUI-6168).
|
|
23
|
+
* `Code`'s syntax highlighting colors in the Enterprise dark theme now have improved contrast (WCAG SC 1.4.3) (SUI-3573).
|
|
24
|
+
* `StepBar`'s text color in the Enterprise light theme now has improved contrast (WCAG SC 1.4.3) (SUI-6198).
|
|
25
|
+
* `Menu.Item`'s selected icon now aligns with the top of the label (SUI-6115).
|
|
26
|
+
* Fixed a bug in `SingleOpenPanelGroup` where a `CollapsiblePanel` would fire the incorrect action callback (SUI-6239).
|
|
27
|
+
|
|
28
|
+
Deprecations:
|
|
29
|
+
* `NavigationProvider`'s `prefix` prop has been deprecated and will be removed in the next major version. Use the `transformUrl` prop instead. (SUI-6239)
|
|
30
|
+
|
|
31
|
+
4.29.0 - April 2, 2024
|
|
32
|
+
----------
|
|
33
|
+
Bug Fixes:
|
|
34
|
+
* Removable `Chip` screen reader announcement has been improved (SUI-5948).
|
|
35
|
+
* `ComboBox` no longer incorrectly sets the `aria-activedescendant` attribute when closed (SUI-6108).
|
|
36
|
+
* `Multiselect` no longer announces incorrect available actions to screen readers (SUI-6009).
|
|
37
|
+
* `Search` can now be styled with `styled-components`(SUI-5720).
|
|
38
|
+
|
|
39
|
+
Docs:
|
|
40
|
+
* `MessageBar` examples updated to demonstrate method for labelling the component to meet WAI-ARIA specification (SUI-5941).
|
|
41
|
+
|
|
42
|
+
Deprecations:
|
|
43
|
+
* `WaitSpinner`'s `children` prop has been deprecated and will be removed in the next major version (SUI-6081).
|
|
44
|
+
|
|
4
45
|
4.28.2 - March 22, 2024
|
|
5
46
|
----------
|
|
6
47
|
Bug Fixes:
|
|
@@ -79,6 +120,7 @@ Bug Fixes:
|
|
|
79
120
|
* `TextArea` has consistent height when rendering rows regardless if value is present.
|
|
80
121
|
* Fixed spurious deprecation warnings for `canClear` and `placeholder` props in `TextArea`.
|
|
81
122
|
* Fixed regression in `TextArea` where placeholder text could be cut off.
|
|
123
|
+
* Improved the row drag and drop experience and performance by adopting `@dnd-kit` in `Table` component (SUI-5134).
|
|
82
124
|
|
|
83
125
|
API Changes:
|
|
84
126
|
* Corrected the type of `Modal`'s `initialFocus` prop to include `React.Component & { focus: () => void }` instead of `React.Component & { focus: () => {} }`.
|
|
@@ -112,7 +154,6 @@ New Features:
|
|
|
112
154
|
Bug Fixes:
|
|
113
155
|
* The system color picker for `Color` no longer closes unexpectedly during color selection in Safari (SUI-5831).
|
|
114
156
|
* `ComboBox`'s options are no longer clickable while closing (SUI-5825).
|
|
115
|
-
* Improved the row drag and drop experience and performance by adopting `@dnd-kit` in `Table` component (SUI-5134).
|
|
116
157
|
|
|
117
158
|
Deprecations:
|
|
118
159
|
* `JSONTree`'s `expandChildren="withShiftModifier"` value has been deprecated and will be removed in a future major version. Use the `expandChildrenOnShiftKey` prop instead (SUI-5771).
|
package/Card.js
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
// EXPORTS
|
|
63
63
|
e.d(r, {
|
|
64
64
|
Body: () => /* reexport */ m,
|
|
65
|
-
Footer: () => /* reexport */
|
|
65
|
+
Footer: () => /* reexport */ k,
|
|
66
66
|
Header: () => /* reexport */ Q,
|
|
67
67
|
default: () => /* reexport */ Be
|
|
68
68
|
});
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
};
|
|
225
225
|
/**
|
|
226
226
|
* A styled container for `Card` footer content.
|
|
227
|
-
*/ function
|
|
227
|
+
*/ function S(e) {
|
|
228
228
|
var r = e.children, t = e.showBorder, o = t === void 0 ? true : t, i = w(e, [ "children", "showBorder" ]);
|
|
229
229
|
// @docs-props-type FooterPropsBase
|
|
230
230
|
|
|
@@ -233,8 +233,8 @@
|
|
|
233
233
|
$showTopBorder: o
|
|
234
234
|
}, i), r);
|
|
235
235
|
}
|
|
236
|
-
|
|
237
|
-
/* harmony default export */ const
|
|
236
|
+
S.propTypes = x;
|
|
237
|
+
/* harmony default export */ const k = S;
|
|
238
238
|
// CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
|
|
239
239
|
const j = require("@splunk/ui-utils/i18n");
|
|
240
240
|
// CONCATENATED MODULE: external "@splunk/react-icons/DotsThreeVertical"
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
prisma: (0, a.css)([ "box-shadow:", ";background-color:", ";" ], u.variables.embossShadow, u.mixins.overlayColors(u.variables.backgroundColorSection, u.variables.interactiveColorOverlayHover))
|
|
438
438
|
}), (0, u.pick)({
|
|
439
439
|
enterprise: (0, a.css)([ "box-shadow:", ";" ], u.variables.focusShadow),
|
|
440
|
-
prisma: (0, a.css)([ "box-shadow:", ";background-color:", ";" ], u.variables.embossShadow, u.mixins.overlayColors(u.variables.backgroundColorSection, u.variables.interactiveColorOverlayHover))
|
|
440
|
+
prisma: (0, a.css)([ "box-shadow:", ",", ";background-color:", ";" ], u.variables.embossShadow, u.variables.focusShadow, u.mixins.overlayColors(u.variables.backgroundColorSection, u.variables.interactiveColorOverlayHover))
|
|
441
441
|
}));
|
|
442
442
|
var re = ee.withComponent(Y());
|
|
443
443
|
/* A child element we add to <button>s to make flexbox work.
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
var t = arguments[r] != null ? arguments[r] : {};
|
|
626
626
|
if (r % 2) {
|
|
627
627
|
Oe(Object(t), true).forEach((function(r) {
|
|
628
|
-
|
|
628
|
+
Se(e, r, t[r]);
|
|
629
629
|
}));
|
|
630
630
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
631
631
|
Object.defineProperties(e, Object.getOwnPropertyDescriptors(t));
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
}
|
|
638
638
|
return e;
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Se(e, r, t) {
|
|
641
641
|
if (r in e) {
|
|
642
642
|
Object.defineProperty(e, r, {
|
|
643
643
|
value: t,
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
}
|
|
651
651
|
return e;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function ke(e, r) {
|
|
654
654
|
if (e == null) return {};
|
|
655
655
|
var t = je(e, r);
|
|
656
656
|
var n, o;
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
return !!e.onClick || !!e.to;
|
|
703
703
|
}
|
|
704
704
|
function Te(e) {
|
|
705
|
-
var r = e.margin, t = e.maxWidth, n = e.minWidth, o = e.selected, i = e.showBorder, a = e.style, l =
|
|
705
|
+
var r = e.margin, t = e.maxWidth, n = e.minWidth, o = e.selected, i = e.showBorder, a = e.style, l = ke(e, [ "margin", "maxWidth", "minWidth", "selected", "showBorder", "style" ]);
|
|
706
706
|
var c = xe({
|
|
707
707
|
minWidth: n,
|
|
708
708
|
maxWidth: t,
|
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
o[i] = arguments[i];
|
|
727
727
|
}
|
|
728
728
|
e = r.call.apply(r, [ this ].concat(o));
|
|
729
|
-
|
|
729
|
+
Se(he(e), "handleCardClick", (function(r) {
|
|
730
730
|
var t, n;
|
|
731
731
|
var o = e.props, i = o.selected, a = o.value;
|
|
732
732
|
(t = (n = e.props).onClick) === null || t === void 0 ? void 0 : t.call(n, r, {
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
if (_e(this.props)) {
|
|
743
743
|
var r = Te(this.props), t = ie(r, 2), o = t[0], i = t[1];
|
|
744
744
|
var a = o.selected, l = o.showBorder;
|
|
745
|
-
var c = i.children, s = i.elementRef, u = i.onClick, p = i.openInNewContext, d = i.to, f =
|
|
745
|
+
var c = i.children, s = i.elementRef, u = i.onClick, p = i.openInNewContext, d = i.to, f = ke(i, [ "children", "elementRef", "onClick", "openInNewContext", "to" ]);
|
|
746
746
|
|
|
747
747
|
return n().createElement(re, oe({
|
|
748
748
|
"data-clickable": true,
|
|
@@ -757,7 +757,7 @@
|
|
|
757
757
|
}
|
|
758
758
|
var b = Te(this.props), v = ie(b, 2), y = v[0], m = v[1];
|
|
759
759
|
var h = y.selected, g = y.showBorder;
|
|
760
|
-
var w = m.children, O = m.elementRef, x =
|
|
760
|
+
var w = m.children, O = m.elementRef, x = ke(m, [ "children", "elementRef" ]);
|
|
761
761
|
|
|
762
762
|
return n().createElement(ee, oe({
|
|
763
763
|
$selected: h,
|
|
@@ -768,11 +768,11 @@
|
|
|
768
768
|
} ]);
|
|
769
769
|
return t;
|
|
770
770
|
}(t.Component);
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
771
|
+
Se(Ee, "propTypes", Ce);
|
|
772
|
+
Se(Ee, "defaultProps", Pe);
|
|
773
|
+
Se(Ee, "Header", Q);
|
|
774
|
+
Se(Ee, "Body", m);
|
|
775
|
+
Se(Ee, "Footer", k);
|
|
776
776
|
/* harmony default export */ const Be = Ee;
|
|
777
777
|
// CONCATENATED MODULE: ./src/Card/index.ts
|
|
778
778
|
module.exports = r;
|