@navikt/ds-react 0.8.3 → 0.9.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/cjs/speech-bubble/SpeechBubble.js +2 -2
- package/cjs/speech-bubble/index.js +1 -4
- package/esm/speech-bubble/SpeechBubble.d.ts +1 -1
- package/esm/speech-bubble/SpeechBubble.js +1 -1
- package/esm/speech-bubble/SpeechBubble.js.map +1 -1
- package/esm/speech-bubble/index.d.ts +0 -2
- package/esm/speech-bubble/index.js +0 -2
- package/esm/speech-bubble/index.js.map +1 -1
- package/package.json +2 -2
- package/src/speech-bubble/SpeechBubble.tsx +1 -1
- package/src/speech-bubble/index.ts +0 -2
|
@@ -35,7 +35,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
const react_1 = __importStar(require("react"));
|
|
37
37
|
const classnames_1 = __importDefault(require("classnames"));
|
|
38
|
-
const
|
|
38
|
+
const Bubble_1 = __importDefault(require("./Bubble"));
|
|
39
39
|
const SpeechBubble = (0, react_1.forwardRef)((_a, ref) => {
|
|
40
40
|
var { children, className, topText, illustration, position = "left", illustrationBgColor, backgroundColor } = _a, rest = __rest(_a, ["children", "className", "topText", "illustration", "position", "illustrationBgColor", "backgroundColor"]);
|
|
41
41
|
return (react_1.default.createElement("div", Object.assign({ ref: ref, className: (0, classnames_1.default)("navds-speechbubble", className, `navds-speechbubble--${position}`, "navds-body-long") }, rest),
|
|
@@ -46,5 +46,5 @@ const SpeechBubble = (0, react_1.forwardRef)((_a, ref) => {
|
|
|
46
46
|
}
|
|
47
47
|
}))));
|
|
48
48
|
});
|
|
49
|
-
SpeechBubble.Bubble =
|
|
49
|
+
SpeechBubble.Bubble = Bubble_1.default;
|
|
50
50
|
exports.default = SpeechBubble;
|
|
@@ -13,10 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
14
|
};
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.SpeechBubble = void 0;
|
|
17
17
|
var SpeechBubble_1 = require("./SpeechBubble");
|
|
18
18
|
Object.defineProperty(exports, "SpeechBubble", { enumerable: true, get: function () { return __importDefault(SpeechBubble_1).default; } });
|
|
19
19
|
__exportStar(require("./SpeechBubble"), exports);
|
|
20
|
-
var Bubble_1 = require("./Bubble");
|
|
21
|
-
Object.defineProperty(exports, "Bubble", { enumerable: true, get: function () { return __importDefault(Bubble_1).default; } });
|
|
22
|
-
__exportStar(require("./Bubble"), exports);
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import React, { forwardRef } from "react";
|
|
13
13
|
import cl from "classnames";
|
|
14
|
-
import
|
|
14
|
+
import Bubble from "./Bubble";
|
|
15
15
|
const SpeechBubble = forwardRef((_a, ref) => {
|
|
16
16
|
var { children, className, topText, illustration, position = "left", illustrationBgColor, backgroundColor } = _a, rest = __rest(_a, ["children", "className", "topText", "illustration", "position", "illustrationBgColor", "backgroundColor"]);
|
|
17
17
|
return (React.createElement("div", Object.assign({ ref: ref, className: cl("navds-speechbubble", className, `navds-speechbubble--${position}`, "navds-body-long") }, rest),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpeechBubble.js","sourceRoot":"","sources":["../../src/speech-bubble/SpeechBubble.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,
|
|
1
|
+
{"version":3,"file":"SpeechBubble.js","sourceRoot":"","sources":["../../src/speech-bubble/SpeechBubble.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAkB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,CAAC;AACzD,cAAc,gBAAgB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/speech-bubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "NAV designsystem react components",
|
|
6
6
|
"author": "NAV Designsystem team",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^16.8.0 || ^17.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "e7660412bcd11dcc44a851b2b0a8414fed8513ff"
|
|
59
59
|
}
|