@useblu/ocean-react 1.62.0 → 1.63.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/CHANGELOG.md +10 -0
- package/Typography/Typography.d.ts +1 -1
- package/Typography/Typography.d.ts.map +1 -1
- package/index.es.js +4 -2
- package/index.es.js.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -156,7 +156,9 @@ var defaultTypesMapping = {
|
|
|
156
156
|
paragraph: 'p',
|
|
157
157
|
lead: 'p',
|
|
158
158
|
description: 'p',
|
|
159
|
-
caption: 'p'
|
|
159
|
+
caption: 'p',
|
|
160
|
+
captionbold: 'p',
|
|
161
|
+
eyebrow: 'p'
|
|
160
162
|
};
|
|
161
163
|
var Typography = e__default["default"].forwardRef(function (_a, ref) {
|
|
162
164
|
var children = _a.children, variant = _a.variant, className = _a.className, _b = _a.inverse, inverse = _b === void 0 ? false : _b, rest = __rest$2(_a, ["children", "variant", "className", "inverse"]);
|
|
@@ -325,7 +327,7 @@ UnorderedListItem.displayName = 'UnorderedListItem';
|
|
|
325
327
|
|
|
326
328
|
var Accordion = function (_a) {
|
|
327
329
|
var title = _a.title, description = _a.description, className = _a.className;
|
|
328
|
-
var _b = e.useState(
|
|
330
|
+
var _b = e.useState(true), isCollapsed = _b[0], setIsCollapsed = _b[1];
|
|
329
331
|
var onHandleAccordion = function () {
|
|
330
332
|
setIsCollapsed(function (prevState) { return !prevState; });
|
|
331
333
|
};
|