@sitecore/sc-contenthub-blok 0.0.14 → 0.0.15
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/dist/BlokTheme.js +1 -0
- package/dist/BlokTheme.js.map +1 -1
- package/dist/Components/BlokAlert/BlokAlert.d.ts +1 -2
- package/dist/Components/BlokAlert/BlokAlert.js +10 -7
- package/dist/Components/BlokAlert/BlokAlert.js.map +1 -1
- package/dist/Components/BlokAlert/BlokAlert.spec.js +0 -8
- package/dist/Components/BlokAlert/BlokAlert.spec.js.map +1 -1
- package/dist/Components/BlokAlert/BlokAlert.stories.js +8 -6
- package/dist/Components/BlokAlert/BlokAlert.stories.js.map +1 -1
- package/dist/Components/BlokBadge/BlokBadge.stories.js +5 -3
- package/dist/Components/BlokBadge/BlokBadge.stories.js.map +1 -1
- package/dist/Components/BlokButton/BlokButton.stories.js +5 -3
- package/dist/Components/BlokButton/BlokButton.stories.js.map +1 -1
- package/dist/Components/BlokIcon/BlokIcon.stories.js +7 -4
- package/dist/Components/BlokIcon/BlokIcon.stories.js.map +1 -1
- package/dist/Components/BlokIconButton/BlokIconButton.stories.js +5 -3
- package/dist/Components/BlokIconButton/BlokIconButton.stories.js.map +1 -1
- package/dist/Components/BlokLabeledIcon/BlokLabeledIcon.js +1 -1
- package/dist/Components/BlokLabeledIcon/BlokLabeledIcon.js.map +1 -1
- package/dist/Components/BlokLabeledIcon/BlokLabeledIcon.stories.js +5 -3
- package/dist/Components/BlokLabeledIcon/BlokLabeledIcon.stories.js.map +1 -1
- package/dist/Components/BlokLink/BlokLink.stories.js +8 -3
- package/dist/Components/BlokLink/BlokLink.stories.js.map +1 -1
- package/dist/Components/BlokTag/BlokTag.stories.js +5 -3
- package/dist/Components/BlokTag/BlokTag.stories.js.map +1 -1
- package/dist/Components/BlokTooltip/BlokTooltip.d.ts +8 -0
- package/dist/Components/BlokTooltip/BlokTooltip.js +39 -0
- package/dist/Components/BlokTooltip/BlokTooltip.js.map +1 -0
- package/dist/Components/index.d.ts +1 -0
- package/dist/Components/index.js +1 -0
- package/dist/Components/index.js.map +1 -1
- package/dist/Foundations/borderRadius.d.ts +1 -0
- package/dist/Foundations/borderRadius.js +2 -1
- package/dist/Foundations/borderRadius.js.map +1 -1
- package/dist/Foundations/borderRadius.stories.d.ts +5 -0
- package/dist/Foundations/borderRadius.stories.js +39 -0
- package/dist/Foundations/borderRadius.stories.js.map +1 -0
- package/dist/Foundations/colors.js +2 -0
- package/dist/Foundations/colors.js.map +1 -1
- package/dist/Foundations/colors.stories.d.ts +5 -0
- package/dist/Foundations/colors.stories.js +70 -0
- package/dist/Foundations/colors.stories.js.map +1 -0
- package/dist/Foundations/semanticTokens.stories.d.ts +5 -0
- package/dist/Foundations/semanticTokens.stories.js +49 -0
- package/dist/Foundations/semanticTokens.stories.js.map +1 -0
- package/dist/Foundations/shadows.stories.d.ts +5 -0
- package/dist/Foundations/shadows.stories.js +40 -0
- package/dist/Foundations/shadows.stories.js.map +1 -0
- package/dist/Foundations/typography.d.ts +1 -0
- package/dist/Foundations/typography.js +2 -1
- package/dist/Foundations/typography.js.map +1 -1
- package/dist/Foundations/typography.stories.d.ts +5 -0
- package/dist/Foundations/typography.stories.js +39 -0
- package/dist/Foundations/typography.stories.js.map +1 -0
- package/dist/Foundations/utils.d.ts +2 -0
- package/dist/Foundations/utils.js +9 -1
- package/dist/Foundations/utils.js.map +1 -1
- package/esm/BlokTheme.js +1 -0
- package/esm/BlokTheme.js.map +1 -1
- package/esm/Components/BlokAlert/BlokAlert.js +10 -7
- package/esm/Components/BlokAlert/BlokAlert.js.map +1 -1
- package/esm/Components/BlokLabeledIcon/BlokLabeledIcon.js +1 -1
- package/esm/Components/BlokLabeledIcon/BlokLabeledIcon.js.map +1 -1
- package/esm/Components/BlokTooltip/BlokTooltip.js +35 -0
- package/esm/Components/BlokTooltip/BlokTooltip.js.map +1 -0
- package/esm/Components/index.js +1 -0
- package/esm/Components/index.js.map +1 -1
- package/esm/Foundations/borderRadius.js +1 -0
- package/esm/Foundations/borderRadius.js.map +1 -1
- package/esm/Foundations/colors.js +2 -0
- package/esm/Foundations/colors.js.map +1 -1
- package/esm/Foundations/typography.js +1 -0
- package/esm/Foundations/typography.js.map +1 -1
- package/esm/Foundations/utils.js +6 -0
- package/esm/Foundations/utils.js.map +1 -1
- package/package.json +5 -5
- package/dist/Foundations/Foundations.stories.d.ts +0 -6
- package/dist/Foundations/Foundations.stories.js +0 -35
- package/dist/Foundations/Foundations.stories.js.map +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SemanticTokens = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const css_1 = require("@emotion/css");
|
|
6
|
-
const CoreComponents_1 = require("../Components/CoreComponents");
|
|
7
|
-
const borderRadius_1 = require("./borderRadius");
|
|
8
|
-
const semanticTokens_1 = require("./semanticTokens");
|
|
9
|
-
const shadows_1 = require("./shadows");
|
|
10
|
-
const classes = {
|
|
11
|
-
example: (0, css_1.css)({
|
|
12
|
-
width: "8rem",
|
|
13
|
-
height: "2rem",
|
|
14
|
-
borderRadius: borderRadius_1.borderRadiusMd,
|
|
15
|
-
boxShadow: shadows_1.shadowInner,
|
|
16
|
-
display: "inline-flex",
|
|
17
|
-
}),
|
|
18
|
-
};
|
|
19
|
-
const meta = {
|
|
20
|
-
title: "Foundations/SemanticTokens",
|
|
21
|
-
parameters: {
|
|
22
|
-
layout: "centered",
|
|
23
|
-
},
|
|
24
|
-
tags: ["autodocs"],
|
|
25
|
-
argTypes: {},
|
|
26
|
-
args: {},
|
|
27
|
-
};
|
|
28
|
-
exports.default = meta;
|
|
29
|
-
exports.SemanticTokens = {
|
|
30
|
-
render: () => ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)(CoreComponents_1.Table, { children: [(0, jsx_runtime_1.jsx)(CoreComponents_1.TableHead, { children: (0, jsx_runtime_1.jsxs)(CoreComponents_1.TableRow, { children: [(0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: "Example" }), (0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: "Token" }), (0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: "Value (default)" }), (0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: "Value (dark)" })] }) }), (0, jsx_runtime_1.jsx)(CoreComponents_1.TableBody, { children: Object.keys(semanticTokens_1.semanticTokens).map((key) => ((0, jsx_runtime_1.jsxs)(CoreComponents_1.TableRow, { children: [(0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: (0, jsx_runtime_1.jsx)("span", { className: classes.example, style: {
|
|
31
|
-
backgroundColor: semanticTokens_1.semanticTokens[key]
|
|
32
|
-
.default,
|
|
33
|
-
} }) }), (0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: (0, jsx_runtime_1.jsx)("code", { children: key }) }), (0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: (0, jsx_runtime_1.jsx)("code", { children: semanticTokens_1.semanticTokens[key].default }) }), (0, jsx_runtime_1.jsx)(CoreComponents_1.TableCell, { children: (0, jsx_runtime_1.jsx)("code", { children: semanticTokens_1.semanticTokens[key].dark }) })] }, key))) })] }) })),
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=Foundations.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Foundations.stories.js","sourceRoot":"","sources":["../../src/Foundations/Foundations.stories.tsx"],"names":[],"mappings":";;;;AAAA,sCAAmC;AAKnC,iEAMsC;AACtC,iDAAgD;AAChD,qDAAkD;AAClD,uCAAwC;AAExC,MAAM,OAAO,GAAG;IACd,OAAO,EAAE,IAAA,SAAG,EAAC;QACX,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,YAAY,EAAE,6BAAc;QAC5B,SAA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