oolib 2.132.7 → 2.133.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/dist/assets/fonts/style.css +1 -1
- package/dist/components/MaterialColors/styled.d.ts +3 -0
- package/dist/components/MaterialColors/styled.js +16 -0
- package/dist/globalStyles/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/stories/{Accordion.stories.js → Oolib/components/Accordion.stories.js} +3 -3
- package/dist/stories/{ActionMenu.stories.js → Oolib/components/ActionMenu.stories.js} +3 -3
- package/dist/stories/{AudioInput.stories.js → Oolib/components/AudioInput.stories.js} +3 -3
- package/dist/stories/{Banner.stories.js → Oolib/components/Banner.stories.js} +2 -2
- package/dist/stories/{BarChart.stories.js → Oolib/components/BarChart.stories.js} +1 -3
- package/dist/stories/{BlockLabel.stories.js → Oolib/components/BlockLabel.stories.js} +2 -2
- package/dist/stories/{Breadcrumbs.stories.js → Oolib/components/Breadcrumbs.stories.js} +1 -1
- package/dist/stories/{Button.stories.js → Oolib/components/Button.stories.js} +3 -3
- package/dist/stories/{Checkbox.stories.js → Oolib/components/Checkbox.stories.js} +3 -3
- package/dist/stories/{Colors.stories.js → Oolib/components/Colors.stories.js} +2 -2
- package/dist/stories/{DatePicker.stories.js → Oolib/components/DatePicker.stories.js} +7 -7
- package/dist/stories/{Divider.stories.js → Oolib/components/Divider.stories.js} +2 -2
- package/dist/stories/{Dropdowns.stories.js → Oolib/components/Dropdowns.stories.js} +6 -6
- package/dist/stories/{EmptyStates.stories.js → Oolib/components/EmptyStates.stories.js} +1 -1
- package/dist/stories/{GroupQuestionsInputSingle.stories.js → Oolib/components/GroupQuestionsInputSingle.stories.js} +2 -2
- package/dist/stories/{HomeCover.stories.js → Oolib/components/HomeCover.stories.js} +3 -3
- package/dist/stories/{IFrameInput.stories.js → Oolib/components/IFrameInput.stories.js} +3 -3
- package/dist/stories/{ImageInput → Oolib/components/ImageInput}/ImageInput.stories.d.ts +3 -21
- package/dist/stories/{ImageInput → Oolib/components/ImageInput}/ImageInput.stories.js +7 -7
- package/dist/stories/{InlineAlert.stories.js → Oolib/components/InlineAlert.stories.js} +2 -2
- package/dist/stories/{Layout.stories.js → Oolib/components/Layout.stories.js} +8 -8
- package/dist/stories/{LegendRadioList.stories.js → Oolib/components/LegendRadioList.stories.js} +3 -3
- package/dist/stories/{Loaders.stories.js → Oolib/components/Loaders.stories.js} +3 -3
- package/dist/stories/{Modal.stories.js → Oolib/components/Modal.stories.js} +6 -6
- package/dist/stories/{ModalConfirmAction.stories.js → Oolib/components/ModalConfirmAction.stories.js} +4 -4
- package/dist/stories/{OKELink.stories.js → Oolib/components/OKELink.stories.js} +4 -4
- package/dist/stories/{PDFInput.stories.js → Oolib/components/PDFInput.stories.js} +3 -3
- package/dist/stories/{PageScrollIndicator.stories.js → Oolib/components/PageScrollIndicator.stories.js} +1 -1
- package/dist/stories/{PercentBarChart.stories.js → Oolib/components/PercentBarChart.stories.js} +1 -1
- package/dist/stories/{PercentCompletedPi.stories.js → Oolib/components/PercentCompletedPi.stories.js} +1 -1
- package/dist/stories/{Playground.stories.js → Oolib/components/Playground.stories.js} +1 -1
- package/dist/stories/{Progress.stories.js → Oolib/components/Progress.stories.js} +2 -2
- package/dist/stories/{RadioButton.stories.js → Oolib/components/RadioButton.stories.js} +3 -3
- package/dist/stories/{ResourceInput.stories.js → Oolib/components/ResourceInput.stories.js} +4 -4
- package/dist/stories/{SimpleTable.stories.js → Oolib/components/SimpleTable.stories.js} +4 -4
- package/dist/stories/{SkeletonLoader.stories.js → Oolib/components/SkeletonLoader.stories.js} +6 -6
- package/dist/stories/{Switches.stories.js → Oolib/components/Switches.stories.js} +2 -2
- package/dist/stories/{TabBar.stories.js → Oolib/components/TabBar.stories.js} +1 -1
- package/dist/stories/{TagClear.stories.js → Oolib/components/TagClear.stories.js} +1 -1
- package/dist/stories/{TagDisplay.stories.js → Oolib/components/TagDisplay.stories.js} +2 -2
- package/dist/stories/{TagLink.stories.js → Oolib/components/TagLink.stories.js} +1 -1
- package/dist/stories/{TagSelect.stories.js → Oolib/components/TagSelect.stories.js} +2 -2
- package/dist/stories/{TagsInput.stories.js → Oolib/components/TagsInput.stories.js} +5 -5
- package/dist/stories/{TextInputs.stories.js → Oolib/components/TextInputs.stories.js} +3 -3
- package/dist/stories/{Tooltip.stories.js → Oolib/components/Tooltip.stories.js} +2 -2
- package/dist/stories/{Typo.stories.js → Oolib/components/Typo.stories.js} +2 -2
- package/dist/stories/{UserRoleBadge.stories.js → Oolib/components/UserRoleBadge.stories.js} +1 -1
- package/dist/stories/{Utilities.stories.js → Oolib/components/Utilities.stories.js} +4 -4
- package/dist/stories/{VideoInput.stories.js → Oolib/components/VideoInput.stories.js} +3 -3
- package/dist/stories/{cards → Oolib/components/cards}/CardContent.stories.js +6 -6
- package/dist/stories/{cards → Oolib/components/cards}/CardEmbed.stories.js +5 -5
- package/dist/stories/{cards → Oolib/components/cards}/CardProfile.stories.js +7 -7
- package/dist/stories/{cards → Oolib/components/cards}/ListContent.stories.js +5 -5
- package/dist/stories/{cards → Oolib/components/cards}/ListProfile.stories.js +7 -7
- package/dist/stories/v2/themes/Typo.stories.d.ts +46 -0
- package/dist/stories/v2/themes/Typo.stories.js +107 -0
- package/dist/v2/components/Typo2/index.d.ts +56 -0
- package/dist/v2/components/Typo2/index.js +127 -0
- package/dist/v2/components/Typo2/index.styled.d.ts +31 -0
- package/dist/v2/components/Typo2/index.styled.js +40 -0
- package/dist/v2/themes/index.d.ts +1 -0
- package/dist/v2/themes/index.js +5 -0
- package/dist/v2/themes/typo.d.ts +28 -0
- package/dist/v2/themes/typo.js +79 -0
- package/package.json +1 -1
- /package/dist/stories/{Accordion.stories.d.ts → Oolib/components/Accordion.stories.d.ts} +0 -0
- /package/dist/stories/{ActionMenu.stories.d.ts → Oolib/components/ActionMenu.stories.d.ts} +0 -0
- /package/dist/stories/{AudioInput.stories.d.ts → Oolib/components/AudioInput.stories.d.ts} +0 -0
- /package/dist/stories/{Banner.stories.d.ts → Oolib/components/Banner.stories.d.ts} +0 -0
- /package/dist/stories/{BarChart.stories.d.ts → Oolib/components/BarChart.stories.d.ts} +0 -0
- /package/dist/stories/{BlockLabel.stories.d.ts → Oolib/components/BlockLabel.stories.d.ts} +0 -0
- /package/dist/stories/{Breadcrumbs.stories.d.ts → Oolib/components/Breadcrumbs.stories.d.ts} +0 -0
- /package/dist/stories/{Button.stories.d.ts → Oolib/components/Button.stories.d.ts} +0 -0
- /package/dist/stories/{Checkbox.stories.d.ts → Oolib/components/Checkbox.stories.d.ts} +0 -0
- /package/dist/stories/{Colors.stories.d.ts → Oolib/components/Colors.stories.d.ts} +0 -0
- /package/dist/stories/{DatePicker.stories.d.ts → Oolib/components/DatePicker.stories.d.ts} +0 -0
- /package/dist/stories/{Divider.stories.d.ts → Oolib/components/Divider.stories.d.ts} +0 -0
- /package/dist/stories/{Dropdowns.stories.d.ts → Oolib/components/Dropdowns.stories.d.ts} +0 -0
- /package/dist/stories/{EmptyStates.stories.d.ts → Oolib/components/EmptyStates.stories.d.ts} +0 -0
- /package/dist/stories/{GroupQuestionsInputSingle.stories.d.ts → Oolib/components/GroupQuestionsInputSingle.stories.d.ts} +0 -0
- /package/dist/stories/{HomeCover.stories.d.ts → Oolib/components/HomeCover.stories.d.ts} +0 -0
- /package/dist/stories/{IFrameInput.stories.d.ts → Oolib/components/IFrameInput.stories.d.ts} +0 -0
- /package/dist/stories/{ImageInput → Oolib/components/ImageInput}/imageInputArgTypes.d.ts +0 -0
- /package/dist/stories/{ImageInput → Oolib/components/ImageInput}/imageInputArgTypes.js +0 -0
- /package/dist/stories/{ImageInput → Oolib/components/ImageInput}/imageInputParseArgTypes.d.ts +0 -0
- /package/dist/stories/{ImageInput → Oolib/components/ImageInput}/imageInputParseArgTypes.js +0 -0
- /package/dist/stories/{InlineAlert.stories.d.ts → Oolib/components/InlineAlert.stories.d.ts} +0 -0
- /package/dist/stories/{Layout.stories.d.ts → Oolib/components/Layout.stories.d.ts} +0 -0
- /package/dist/stories/{LegendRadioList.stories.d.ts → Oolib/components/LegendRadioList.stories.d.ts} +0 -0
- /package/dist/stories/{Loaders.stories.d.ts → Oolib/components/Loaders.stories.d.ts} +0 -0
- /package/dist/stories/{Modal.stories.d.ts → Oolib/components/Modal.stories.d.ts} +0 -0
- /package/dist/stories/{ModalConfirmAction.stories.d.ts → Oolib/components/ModalConfirmAction.stories.d.ts} +0 -0
- /package/dist/stories/{OKELink.stories.d.ts → Oolib/components/OKELink.stories.d.ts} +0 -0
- /package/dist/stories/{PDFInput.stories.d.ts → Oolib/components/PDFInput.stories.d.ts} +0 -0
- /package/dist/stories/{PageScrollIndicator.stories.d.ts → Oolib/components/PageScrollIndicator.stories.d.ts} +0 -0
- /package/dist/stories/{PercentBarChart.stories.d.ts → Oolib/components/PercentBarChart.stories.d.ts} +0 -0
- /package/dist/stories/{PercentCompletedPi.stories.d.ts → Oolib/components/PercentCompletedPi.stories.d.ts} +0 -0
- /package/dist/stories/{Playground.stories.d.ts → Oolib/components/Playground.stories.d.ts} +0 -0
- /package/dist/stories/{Progress.stories.d.ts → Oolib/components/Progress.stories.d.ts} +0 -0
- /package/dist/stories/{RadioButton.stories.d.ts → Oolib/components/RadioButton.stories.d.ts} +0 -0
- /package/dist/stories/{ResourceInput.stories.d.ts → Oolib/components/ResourceInput.stories.d.ts} +0 -0
- /package/dist/stories/{SimpleTable.stories.d.ts → Oolib/components/SimpleTable.stories.d.ts} +0 -0
- /package/dist/stories/{SkeletonLoader.stories.d.ts → Oolib/components/SkeletonLoader.stories.d.ts} +0 -0
- /package/dist/stories/{Switches.stories.d.ts → Oolib/components/Switches.stories.d.ts} +0 -0
- /package/dist/stories/{TabBar.stories.d.ts → Oolib/components/TabBar.stories.d.ts} +0 -0
- /package/dist/stories/{TagClear.stories.d.ts → Oolib/components/TagClear.stories.d.ts} +0 -0
- /package/dist/stories/{TagDisplay.stories.d.ts → Oolib/components/TagDisplay.stories.d.ts} +0 -0
- /package/dist/stories/{TagLink.stories.d.ts → Oolib/components/TagLink.stories.d.ts} +0 -0
- /package/dist/stories/{TagSelect.stories.d.ts → Oolib/components/TagSelect.stories.d.ts} +0 -0
- /package/dist/stories/{TagsInput.stories.d.ts → Oolib/components/TagsInput.stories.d.ts} +0 -0
- /package/dist/stories/{TextInputs.stories.d.ts → Oolib/components/TextInputs.stories.d.ts} +0 -0
- /package/dist/stories/{Tooltip.stories.d.ts → Oolib/components/Tooltip.stories.d.ts} +0 -0
- /package/dist/stories/{Typo.stories.d.ts → Oolib/components/Typo.stories.d.ts} +0 -0
- /package/dist/stories/{UserRoleBadge.stories.d.ts → Oolib/components/UserRoleBadge.stories.d.ts} +0 -0
- /package/dist/stories/{Utilities.stories.d.ts → Oolib/components/Utilities.stories.d.ts} +0 -0
- /package/dist/stories/{VideoInput.stories.d.ts → Oolib/components/VideoInput.stories.d.ts} +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/CardContent.stories.d.ts +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/CardEmbed.stories.d.ts +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/CardProfile.stories.d.ts +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/ListContent.stories.d.ts +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/ListProfile.stories.d.ts +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/utils/cardArgTypes.d.ts +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/utils/cardArgTypes.js +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/utils/parseCardArgs.d.ts +0 -0
- /package/dist/stories/{cards → Oolib/components/cards}/utils/parseCardArgs.js +0 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.TypoV2ClassesProvider = exports.CONTENT_BODY_POSTIT = exports.CONTENT_TITLE_POSTIT = exports.CONTENT_QUOTE = exports.CONTENT_BODY_BOLD_ITALIC = exports.CONTENT_BODY_ITALIC = exports.CONTENT_BODY_BOLD = exports.CONTENT_BODY = exports.CONTENT_H3 = exports.CONTENT_H2 = exports.CONTENT_H1 = exports.UI_STAT_SM = exports.UI_STAT_LG = exports.UI_HELPTEXT = exports.UI_TAG = exports.UI_CAPTION = exports.UI_PARAGRAPH_BOLD = exports.UI_PARAGRAPH = exports.UI_BODY_BOLD = exports.UI_BODY = exports.UI_CARDTITLE_BOLD = exports.UI_CARDTITLE = exports.UI_TITLE_SM = exports.UI_TITLE = exports.UI_HEADLINE_SM = exports.UI_HEADLINE = exports.UI_DISPLAY = void 0;
|
|
29
|
+
var react_1 = __importDefault(require("react"));
|
|
30
|
+
var index_styled_1 = require("./index.styled");
|
|
31
|
+
var utilsOolib_1 = require("../../../utilsOolib");
|
|
32
|
+
var fontSetting = {
|
|
33
|
+
// these commented as new implementation has these styles as components (comp_bold, comp_medium, etc)
|
|
34
|
+
// originally it was prop controlled in v1 typo
|
|
35
|
+
// bold: { type: 'fontWeight', value: 'bold' },
|
|
36
|
+
// light: { type: 'fontWeight', value: '300' },
|
|
37
|
+
// medium: { type: 'fontWeight', value: '500' },
|
|
38
|
+
// semibold: { type: 'fontWeight', value: '600' },
|
|
39
|
+
// extrabold: { type: 'fontWeight', value: '800' },
|
|
40
|
+
// italic: { type: 'fontStyle', value: 'italic' },
|
|
41
|
+
overline: { type: 'textDecoration', value: 'overline' },
|
|
42
|
+
linethrough: { type: 'textDecoration', value: 'line-through' },
|
|
43
|
+
underline: { type: 'textDecoration', value: 'underline' },
|
|
44
|
+
capitalize: { type: 'textTransform', value: 'capitalize' },
|
|
45
|
+
uppercase: { type: 'textTransform', value: 'uppercase' },
|
|
46
|
+
lowercase: { type: 'textTransform', value: 'lowercase' },
|
|
47
|
+
};
|
|
48
|
+
var genFontStylingProps = function (props) {
|
|
49
|
+
var _a;
|
|
50
|
+
var newProps = {};
|
|
51
|
+
for (var i in props) {
|
|
52
|
+
var type = (_a = fontSetting[i]) === null || _a === void 0 ? void 0 : _a.type;
|
|
53
|
+
if (!type) {
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
56
|
+
var value = props[i] ? fontSetting[i].value : undefined;
|
|
57
|
+
newProps[type] = value;
|
|
58
|
+
}
|
|
59
|
+
return newProps;
|
|
60
|
+
};
|
|
61
|
+
var GenComp = function (_a) {
|
|
62
|
+
var props = _a.props, Comp = _a.Comp;
|
|
63
|
+
var localize = (0, utilsOolib_1.useLocale)();
|
|
64
|
+
console.log({ props: props });
|
|
65
|
+
var value = props.value, suffix = props.suffix, color = props.color, children = props.children, theme = props.theme, style = props.style, className = props.className, restProps = __rest(props, ["value", "suffix", "color", "children", "theme", "style", "className"]);
|
|
66
|
+
var displayText = children || value;
|
|
67
|
+
var localText = localize(displayText);
|
|
68
|
+
console.log({ kljnflkajnfasF: genFontStylingProps(restProps) });
|
|
69
|
+
return (react_1.default.createElement(Comp, __assign({}, genFontStylingProps(restProps), { color: color, className: className, style: style }),
|
|
70
|
+
localText,
|
|
71
|
+
" ",
|
|
72
|
+
suffix || ''));
|
|
73
|
+
};
|
|
74
|
+
var UI_DISPLAY = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_DISPLAY_STYLED }); };
|
|
75
|
+
exports.UI_DISPLAY = UI_DISPLAY;
|
|
76
|
+
var UI_HEADLINE = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_HEADLINE_STYLED }); };
|
|
77
|
+
exports.UI_HEADLINE = UI_HEADLINE;
|
|
78
|
+
var UI_HEADLINE_SM = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_HEADLINE_SM_STYLED }); };
|
|
79
|
+
exports.UI_HEADLINE_SM = UI_HEADLINE_SM;
|
|
80
|
+
var UI_TITLE = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_TITLE_STYLED }); };
|
|
81
|
+
exports.UI_TITLE = UI_TITLE;
|
|
82
|
+
var UI_TITLE_SM = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_TITLE_SM_STYLED }); };
|
|
83
|
+
exports.UI_TITLE_SM = UI_TITLE_SM;
|
|
84
|
+
var UI_CARDTITLE = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_CARDTITLE_STYLED }); };
|
|
85
|
+
exports.UI_CARDTITLE = UI_CARDTITLE;
|
|
86
|
+
var UI_CARDTITLE_BOLD = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_CARDTITLE_BOLD_STYLED }); };
|
|
87
|
+
exports.UI_CARDTITLE_BOLD = UI_CARDTITLE_BOLD;
|
|
88
|
+
var UI_BODY = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_BODY_STYLED }); };
|
|
89
|
+
exports.UI_BODY = UI_BODY;
|
|
90
|
+
var UI_BODY_BOLD = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_BODY_BOLD_STYLED }); };
|
|
91
|
+
exports.UI_BODY_BOLD = UI_BODY_BOLD;
|
|
92
|
+
var UI_PARAGRAPH = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_PARAGRAPH_STYLED }); };
|
|
93
|
+
exports.UI_PARAGRAPH = UI_PARAGRAPH;
|
|
94
|
+
var UI_PARAGRAPH_BOLD = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_PARAGRAPH_BOLD_STYLED }); };
|
|
95
|
+
exports.UI_PARAGRAPH_BOLD = UI_PARAGRAPH_BOLD;
|
|
96
|
+
var UI_CAPTION = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_CAPTION_STYLED }); };
|
|
97
|
+
exports.UI_CAPTION = UI_CAPTION;
|
|
98
|
+
var UI_TAG = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_TAG_STYLED }); };
|
|
99
|
+
exports.UI_TAG = UI_TAG;
|
|
100
|
+
var UI_HELPTEXT = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_HELPTEXT_STYLED }); };
|
|
101
|
+
exports.UI_HELPTEXT = UI_HELPTEXT;
|
|
102
|
+
var UI_STAT_LG = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_STAT_LG_STYLED }); };
|
|
103
|
+
exports.UI_STAT_LG = UI_STAT_LG;
|
|
104
|
+
var UI_STAT_SM = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.UI_STAT_SM_STYLED }); };
|
|
105
|
+
exports.UI_STAT_SM = UI_STAT_SM;
|
|
106
|
+
var CONTENT_H1 = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_H1_STYLED }); };
|
|
107
|
+
exports.CONTENT_H1 = CONTENT_H1;
|
|
108
|
+
var CONTENT_H2 = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_H2_STYLED }); };
|
|
109
|
+
exports.CONTENT_H2 = CONTENT_H2;
|
|
110
|
+
var CONTENT_H3 = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_H3_STYLED }); };
|
|
111
|
+
exports.CONTENT_H3 = CONTENT_H3;
|
|
112
|
+
var CONTENT_BODY = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_BODY_STYLED }); };
|
|
113
|
+
exports.CONTENT_BODY = CONTENT_BODY;
|
|
114
|
+
var CONTENT_BODY_BOLD = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_BODY_BOLD_STYLED }); };
|
|
115
|
+
exports.CONTENT_BODY_BOLD = CONTENT_BODY_BOLD;
|
|
116
|
+
var CONTENT_BODY_ITALIC = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_BODY_ITALIC_STYLED }); };
|
|
117
|
+
exports.CONTENT_BODY_ITALIC = CONTENT_BODY_ITALIC;
|
|
118
|
+
var CONTENT_BODY_BOLD_ITALIC = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_BODY_BOLD_ITALIC_STYLED }); };
|
|
119
|
+
exports.CONTENT_BODY_BOLD_ITALIC = CONTENT_BODY_BOLD_ITALIC;
|
|
120
|
+
var CONTENT_QUOTE = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_QUOTE_STYLED }); };
|
|
121
|
+
exports.CONTENT_QUOTE = CONTENT_QUOTE;
|
|
122
|
+
var CONTENT_TITLE_POSTIT = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_TITLE_POSTIT_STYLED }); };
|
|
123
|
+
exports.CONTENT_TITLE_POSTIT = CONTENT_TITLE_POSTIT;
|
|
124
|
+
var CONTENT_BODY_POSTIT = function (props) { return react_1.default.createElement(GenComp, { props: props, Comp: index_styled_1.CONTENT_BODY_POSTIT_STYLED }); };
|
|
125
|
+
exports.CONTENT_BODY_POSTIT = CONTENT_BODY_POSTIT;
|
|
126
|
+
var TypoV2ClassesProvider = function (props) { return (react_1.default.createElement(index_styled_1.TYPO_V2_CLASSES, __assign({}, props))); };
|
|
127
|
+
exports.TypoV2ClassesProvider = TypoV2ClassesProvider;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const UI_DISPLAY_STYLED: import("styled-components").StyledComponent<"h6", any, {}, never>;
|
|
2
|
+
export declare const UI_HEADLINE_STYLED: import("styled-components").StyledComponent<"h5", any, {}, never>;
|
|
3
|
+
export declare const UI_HEADLINE_SM_STYLED: import("styled-components").StyledComponent<"h4", any, {}, never>;
|
|
4
|
+
export declare const UI_TITLE_STYLED: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
5
|
+
export declare const UI_TITLE_SM_STYLED: import("styled-components").StyledComponent<"h1", any, {}, never>;
|
|
6
|
+
export declare const UI_CARDTITLE_STYLED: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
7
|
+
export declare const UI_CARDTITLE_BOLD_STYLED: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
8
|
+
export declare const UI_BODY_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
9
|
+
export declare const UI_BODY_BOLD_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
10
|
+
export declare const UI_PARAGRAPH_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
11
|
+
export declare const UI_PARAGRAPH_BOLD_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
12
|
+
export declare const UI_CAPTION_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
13
|
+
export declare const UI_TAG_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
14
|
+
export declare const UI_HELPTEXT_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
15
|
+
export declare const UI_STAT_LG_STYLED: import("styled-components").StyledComponent<"h2", any, {}, never>;
|
|
16
|
+
export declare const UI_STAT_SM_STYLED: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
17
|
+
export declare const CONTENT_H1_STYLED: import("styled-components").StyledComponent<"h4", any, {}, never>;
|
|
18
|
+
export declare const CONTENT_H2_STYLED: import("styled-components").StyledComponent<"h2", any, {}, never>;
|
|
19
|
+
export declare const CONTENT_H3_STYLED: import("styled-components").StyledComponent<"h1", any, {}, never>;
|
|
20
|
+
export declare const CONTENT_BODY_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
21
|
+
export declare const CONTENT_BODY_BOLD_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
22
|
+
export declare const CONTENT_BODY_ITALIC_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
23
|
+
export declare const CONTENT_BODY_BOLD_ITALIC_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
24
|
+
export declare const CONTENT_QUOTE_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
25
|
+
export declare const CONTENT_TITLE_POSTIT_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
26
|
+
export declare const CONTENT_BODY_POSTIT_STYLED: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
27
|
+
export interface TypoClassesProviderProps {
|
|
28
|
+
color?: string;
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}
|
|
31
|
+
export declare const TYPO_V2_CLASSES: import("styled-components").StyledComponent<"div", any, TypoClassesProviderProps, never>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.TYPO_V2_CLASSES = exports.CONTENT_BODY_POSTIT_STYLED = exports.CONTENT_TITLE_POSTIT_STYLED = exports.CONTENT_QUOTE_STYLED = exports.CONTENT_BODY_BOLD_ITALIC_STYLED = exports.CONTENT_BODY_ITALIC_STYLED = exports.CONTENT_BODY_BOLD_STYLED = exports.CONTENT_BODY_STYLED = exports.CONTENT_H3_STYLED = exports.CONTENT_H2_STYLED = exports.CONTENT_H1_STYLED = exports.UI_STAT_SM_STYLED = exports.UI_STAT_LG_STYLED = exports.UI_HELPTEXT_STYLED = exports.UI_TAG_STYLED = exports.UI_CAPTION_STYLED = exports.UI_PARAGRAPH_BOLD_STYLED = exports.UI_PARAGRAPH_STYLED = exports.UI_BODY_BOLD_STYLED = exports.UI_BODY_STYLED = exports.UI_CARDTITLE_BOLD_STYLED = exports.UI_CARDTITLE_STYLED = exports.UI_TITLE_SM_STYLED = exports.UI_TITLE_STYLED = exports.UI_HEADLINE_SM_STYLED = exports.UI_HEADLINE_STYLED = exports.UI_DISPLAY_STYLED = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var typo_1 = require("../../themes/typo");
|
|
13
|
+
exports.UI_DISPLAY_STYLED = styled_components_1.default.h6(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_DISPLAY);
|
|
14
|
+
exports.UI_HEADLINE_STYLED = styled_components_1.default.h5(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_HEADLINE);
|
|
15
|
+
exports.UI_HEADLINE_SM_STYLED = styled_components_1.default.h4(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_HEADLINE_SM);
|
|
16
|
+
exports.UI_TITLE_STYLED = styled_components_1.default.h3(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_TITLE);
|
|
17
|
+
exports.UI_TITLE_SM_STYLED = styled_components_1.default.h1(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_TITLE_SM);
|
|
18
|
+
exports.UI_CARDTITLE_STYLED = styled_components_1.default.h3(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_CARDTITLE);
|
|
19
|
+
exports.UI_CARDTITLE_BOLD_STYLED = styled_components_1.default.h3(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_CARDTITLE_BOLD);
|
|
20
|
+
exports.UI_BODY_STYLED = styled_components_1.default.p(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_BODY);
|
|
21
|
+
exports.UI_BODY_BOLD_STYLED = styled_components_1.default.p(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typo_1.typo.UI_BODY_BOLD);
|
|
22
|
+
exports.UI_PARAGRAPH_STYLED = styled_components_1.default.p(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_PARAGRAPH);
|
|
23
|
+
exports.UI_PARAGRAPH_BOLD_STYLED = styled_components_1.default.p(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_PARAGRAPH_BOLD);
|
|
24
|
+
exports.UI_CAPTION_STYLED = styled_components_1.default.p(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_CAPTION);
|
|
25
|
+
exports.UI_TAG_STYLED = styled_components_1.default.p(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_TAG);
|
|
26
|
+
exports.UI_HELPTEXT_STYLED = styled_components_1.default.p(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_HELPTEXT);
|
|
27
|
+
exports.UI_STAT_LG_STYLED = styled_components_1.default.h2(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_STAT_LG);
|
|
28
|
+
exports.UI_STAT_SM_STYLED = styled_components_1.default.h3(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.UI_STAT_SM);
|
|
29
|
+
exports.CONTENT_H1_STYLED = styled_components_1.default.h4(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n ", " \n "], ["\n ", " \n "])), typo_1.typo.CONTENT_H1);
|
|
30
|
+
exports.CONTENT_H2_STYLED = styled_components_1.default.h2(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", " \n"], ["\n ", " \n"])), typo_1.typo.CONTENT_H2);
|
|
31
|
+
exports.CONTENT_H3_STYLED = styled_components_1.default.h1(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n ", " \n"], ["\n ", " \n"])), typo_1.typo.CONTENT_H3);
|
|
32
|
+
exports.CONTENT_BODY_STYLED = styled_components_1.default.p(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY);
|
|
33
|
+
exports.CONTENT_BODY_BOLD_STYLED = styled_components_1.default.p(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_BOLD);
|
|
34
|
+
exports.CONTENT_BODY_ITALIC_STYLED = styled_components_1.default.p(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_ITALIC);
|
|
35
|
+
exports.CONTENT_BODY_BOLD_ITALIC_STYLED = styled_components_1.default.p(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_BOLD_ITALIC);
|
|
36
|
+
exports.CONTENT_QUOTE_STYLED = styled_components_1.default.p(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_QUOTE);
|
|
37
|
+
exports.CONTENT_TITLE_POSTIT_STYLED = styled_components_1.default.p(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_TITLE_POSTIT);
|
|
38
|
+
exports.CONTENT_BODY_POSTIT_STYLED = styled_components_1.default.p(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typo_1.typo.CONTENT_BODY_POSTIT);
|
|
39
|
+
exports.TYPO_V2_CLASSES = styled_components_1.default.div(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n .UI_DISPLAY {\n ", "\n }\n\n .UI_HEADLINE {\n ", "\n }\n\n .UI_HEADLINE_SM {\n ", "\n }\n\n .UI_TITLE {\n ", "\n }\n\n\n .UI_TITLE_SM {\n ", "\n }\n\n .UI_CARDTITLE {\n ", "\n }\n \n .UI_CARDTITLE_BOLD {\n ", "\n }\n\n .UI_BODY {\n ", "\n }\n\n\n .UI_BODY_BOLD {\n ", "\n }\n\n .UI_PARAGRAPH {\n ", "\n }\n\n .UI_PARAGRAPH_BOLD {\n ", "\n }\n\n .UI_CAPTION {\n ", "\n }\n\n \n .UI_TAG {\n ", "\n }\n \n .UI_HELPTEXT {\n ", "\n }\n\n .UI_STAT_LG {\n ", "\n }\n\n .UI_STAT_SM {\n ", "\n }\n\n\n .CONTENT_H1 {\n ", "\n }\n .CONTENT_H2 {\n ", "\n }\n .CONTENT_H3 {\n ", "\n }\n .CONTENT_BODY {\n ", "\n }\n\n .CONTENT_BODY_BOLD {\n ", "\n }\n .CONTENT_BODY_ITALIC {\n ", "\n }\n .CONTENT_BODY_BOLD_ITALIC {\n ", "\n }\n .CONTENT_QUOTE {\n ", "\n }\n\n .CONTENT_TITLE_POSTIT {\n ", "\n }\n .CONTENT_BODY_POSTIT {\n ", "\n }\n"], ["\n .UI_DISPLAY {\n ", "\n }\n\n .UI_HEADLINE {\n ", "\n }\n\n .UI_HEADLINE_SM {\n ", "\n }\n\n .UI_TITLE {\n ", "\n }\n\n\n .UI_TITLE_SM {\n ", "\n }\n\n .UI_CARDTITLE {\n ", "\n }\n \n .UI_CARDTITLE_BOLD {\n ", "\n }\n\n .UI_BODY {\n ", "\n }\n\n\n .UI_BODY_BOLD {\n ", "\n }\n\n .UI_PARAGRAPH {\n ", "\n }\n\n .UI_PARAGRAPH_BOLD {\n ", "\n }\n\n .UI_CAPTION {\n ", "\n }\n\n \n .UI_TAG {\n ", "\n }\n \n .UI_HELPTEXT {\n ", "\n }\n\n .UI_STAT_LG {\n ", "\n }\n\n .UI_STAT_SM {\n ", "\n }\n\n\n .CONTENT_H1 {\n ", "\n }\n .CONTENT_H2 {\n ", "\n }\n .CONTENT_H3 {\n ", "\n }\n .CONTENT_BODY {\n ", "\n }\n\n .CONTENT_BODY_BOLD {\n ", "\n }\n .CONTENT_BODY_ITALIC {\n ", "\n }\n .CONTENT_BODY_BOLD_ITALIC {\n ", "\n }\n .CONTENT_QUOTE {\n ", "\n }\n\n .CONTENT_TITLE_POSTIT {\n ", "\n }\n .CONTENT_BODY_POSTIT {\n ", "\n }\n"])), typo_1.typo.UI_DISPLAY, typo_1.typo.UI_HEADLINE, typo_1.typo.UI_HEADLINE_SM, typo_1.typo.UI_TITLE, typo_1.typo.UI_TITLE_SM, typo_1.typo.UI_CARDTITLE, typo_1.typo.UI_CARDTITLE_BOLD, typo_1.typo.UI_BODY, typo_1.typo.UI_BODY_BOLD, typo_1.typo.UI_PARAGRAPH, typo_1.typo.UI_PARAGRAPH_BOLD, typo_1.typo.UI_CAPTION, typo_1.typo.UI_TAG, typo_1.typo.UI_HELPTEXT, typo_1.typo.UI_STAT_LG, typo_1.typo.UI_STAT_SM, typo_1.typo.CONTENT_H1, typo_1.typo.CONTENT_H2, typo_1.typo.CONTENT_H3, typo_1.typo.CONTENT_BODY, typo_1.typo.CONTENT_BODY_BOLD, typo_1.typo.CONTENT_BODY_ITALIC, typo_1.typo.CONTENT_BODY_BOLD_ITALIC, typo_1.typo.CONTENT_QUOTE, typo_1.typo.CONTENT_TITLE_POSTIT, typo_1.typo.CONTENT_BODY_POSTIT);
|
|
40
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { typo } from './typo';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const typo: {
|
|
2
|
+
UI_DISPLAY: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
3
|
+
UI_HEADLINE: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
4
|
+
UI_HEADLINE_SM: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
5
|
+
UI_TITLE: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
6
|
+
UI_TITLE_SM: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
7
|
+
UI_CARDTITLE: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
8
|
+
UI_CARDTITLE_BOLD: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
9
|
+
UI_BODY: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
10
|
+
UI_BODY_BOLD: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
11
|
+
UI_PARAGRAPH: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
12
|
+
UI_PARAGRAPH_BOLD: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
13
|
+
UI_CAPTION: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
14
|
+
UI_TAG: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
15
|
+
UI_HELPTEXT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
16
|
+
UI_STAT_LG: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
17
|
+
UI_STAT_SM: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
18
|
+
CONTENT_H3: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
19
|
+
CONTENT_H2: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
20
|
+
CONTENT_H1: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
21
|
+
CONTENT_BODY: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
22
|
+
CONTENT_BODY_BOLD: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
23
|
+
CONTENT_BODY_ITALIC: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
24
|
+
CONTENT_BODY_BOLD_ITALIC: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
25
|
+
CONTENT_QUOTE: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
26
|
+
CONTENT_TITLE_POSTIT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
27
|
+
CONTENT_BODY_POSTIT: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
28
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.typo = void 0;
|
|
8
|
+
var styled_components_1 = require("styled-components");
|
|
9
|
+
var utilsOolib_1 = require("../../utilsOolib");
|
|
10
|
+
var fontCss = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n text-decoration: ", ";\n text-transform: ", ";\n color: ", ";\n"], ["\n text-decoration: ", ";\n text-transform: ", ";\n color: ", ";\n"])), function (_a) {
|
|
11
|
+
var textDecoration = _a.textDecoration;
|
|
12
|
+
return textDecoration || '';
|
|
13
|
+
}, function (_a) {
|
|
14
|
+
var textTransform = _a.textTransform;
|
|
15
|
+
return textTransform || '';
|
|
16
|
+
}, function (_a) {
|
|
17
|
+
var color = _a.color;
|
|
18
|
+
return (color);
|
|
19
|
+
});
|
|
20
|
+
var uiFont = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-family: 'DM Sans', 'Noto Sans Devanagari', '\n Noto Sans Gujarati', 'Noto Sans Oriya', 'Noto Sans Telugu', sans-serif ;\n"], ["\n font-family: 'DM Sans', 'Noto Sans Devanagari', '\n Noto Sans Gujarati', 'Noto Sans Oriya', 'Noto Sans Telugu', sans-serif ;\n"])));
|
|
21
|
+
var contentFont = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-family: 'Familjen Grotesk', 'Noto Sans Devanagari', '\n Noto Sans Gujarati', 'Noto Sans Oriya', 'Noto Sans Telugu', sans-serif ;\n"], ["\n font-family: 'Familjen Grotesk', 'Noto Sans Devanagari', '\n Noto Sans Gujarati', 'Noto Sans Oriya', 'Noto Sans Telugu', sans-serif ;\n"])));
|
|
22
|
+
var UI_DISPLAY = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", ";\n ", ";\n font-size: 40px;\n line-height: 40px;\n font-weight: 700;\n"], ["\n ", ";\n ", ";\n font-size: 40px;\n line-height: 40px;\n font-weight: 700;\n"])), uiFont, fontCss);
|
|
23
|
+
var UI_HEADLINE = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", ";\n ", ";;\n font-size: 32px;\n line-height: 32px;\n font-weight: 700;\n"], ["\n ", ";\n ", ";;\n font-size: 32px;\n line-height: 32px;\n font-weight: 700;\n"])), uiFont, fontCss);
|
|
24
|
+
var UI_HEADLINE_SM = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", ";\n ", ";;\n font-size: 28px;\n line-height: 28px;\n font-weight: 700;\n"], ["\n ", ";\n ", ";;\n font-size: 28px;\n line-height: 28px;\n font-weight: 700;\n"])), uiFont, fontCss);
|
|
25
|
+
var UI_TITLE = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-size: 20px;\n line-height: 20px;\n font-weight: 700;\n letter-spacing: 0.2px;\n ", ";\n ", ";\n"], ["\n font-size: 20px;\n line-height: 20px;\n font-weight: 700;\n letter-spacing: 0.2px;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
26
|
+
var UI_TITLE_SM = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-size: 16px;\n line-height: 16px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 16px;\n line-height: 16px;\n font-weight: 700;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
27
|
+
var UI_CARDTITLE = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 400;\n ", ";\n", ";\n"], ["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 400;\n ", ";\n", ";\n"])), uiFont, fontCss);
|
|
28
|
+
var UI_CARDTITLE_BOLD = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 500;\n ", ";\n ", ";\n"], ["\n font-size: 16px;\n line-height: 20.8px;\n font-weight: 500;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
29
|
+
var UI_BODY = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 400;\n ", ";\n", ";\n"], ["\n font-size: 14px;\n line-height: 14px;\n font-weight: 400;\n ", ";\n", ";\n"])), uiFont, fontCss);
|
|
30
|
+
var UI_BODY_BOLD = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
31
|
+
var UI_PARAGRAPH = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 20.44px;\n font-weight: 400;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 20.44px;\n font-weight: 400;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
32
|
+
var UI_PARAGRAPH_BOLD = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 21px;\n font-weight: 500;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 21px;\n font-weight: 500;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
33
|
+
var UI_CAPTION = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n font-size: 11px;\n line-height: 11px;\n font-weight: 400;\n ", ";\n ", ";\n"], ["\n font-size: 11px;\n line-height: 11px;\n font-weight: 400;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
34
|
+
var UI_TAG = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n font-size: 10px;\n line-height: 10px;\n font-weight: 700; \n text-transform: uppercase;\n letter-spacing: 1px;\n ", ";\n ", ";\n"], ["\n font-size: 10px;\n line-height: 10px;\n font-weight: 700; \n text-transform: uppercase;\n letter-spacing: 1px;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
35
|
+
var UI_HELPTEXT = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400; \n ", ";\n ", ";\n"], ["\n font-size: 12px;\n line-height: 12px;\n font-weight: 400; \n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
36
|
+
var UI_STAT_LG = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n font-size: 24px;\n line-height: 24px;\n font-weight: 500;\n ", ";\n ", ";\n"], ["\n font-size: 24px;\n line-height: 24px;\n font-weight: 500;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
37
|
+
var UI_STAT_SM = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 14px;\n line-height: 14px;\n font-weight: 700;\n ", ";\n ", ";\n"])), uiFont, fontCss);
|
|
38
|
+
var CONTENT_H1 = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n font-size: 36px;\n line-height: 50.4px;\n font-weight: 700;\n ", ";\n ", ";\n "], ["\n font-size: 36px;\n line-height: 50.4px;\n font-weight: 700;\n ", ";\n ", ";\n "])), contentFont, fontCss);
|
|
39
|
+
var CONTENT_H2 = (0, styled_components_1.css)(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n font-size: 25px;\n line-height: 35px;\n font-weight: 700;\n ", ";\n ", ";\n "], ["\n font-size: 25px;\n line-height: 35px;\n font-weight: 700;\n ", ";\n ", ";\n "])), contentFont, fontCss);
|
|
40
|
+
var CONTENT_H3 = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n font-size: 18px;\n line-height: 25.2px;\n font-weight: 700;\n ", ";\n ", ";\n"], ["\n font-size: 18px;\n line-height: 25.2px;\n font-weight: 700;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
41
|
+
var CONTENT_BODY = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
42
|
+
var CONTENT_BODY_BOLD = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
43
|
+
var CONTENT_BODY_ITALIC = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n font-style: italic;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 400;\n font-style: italic;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
44
|
+
var CONTENT_BODY_BOLD_ITALIC = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n font-style: italic;\n ", ";\n ", ";\n"], ["\n font-size: 17px;\n line-height: 23.8px;\n font-weight: 600;\n font-style: italic;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
45
|
+
var CONTENT_QUOTE = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n padding: 1rem 1.5rem;\n border-left: 4px solid\n ", "; // temp colors need to replace with material colors\n font-size: 24px;\n line-height: 35.04px;\n font-weight: 400;\n font-style: italic;\n ", ";\n ", ";\n"], ["\n padding: 1rem 1.5rem;\n border-left: 4px solid\n ", "; // temp colors need to replace with material colors\n font-size: 24px;\n line-height: 35.04px;\n font-weight: 400;\n font-style: italic;\n ", ";\n ", ";\n"])), function (_a) {
|
|
46
|
+
var invert = _a.invert, colors = _a.theme.colors;
|
|
47
|
+
return invert ? colors.greyColor40 : (0, utilsOolib_1.getPrimaryColor100)(colors);
|
|
48
|
+
}, contentFont, fontCss);
|
|
49
|
+
var CONTENT_TITLE_POSTIT = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n font-size: 15px;\n font-style: normal;\n font-weight: 700;\n line-height: 19.5px;\n ", ";\n ", ";\n"], ["\n font-size: 15px;\n font-style: normal;\n font-weight: 700;\n line-height: 19.5px;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
50
|
+
var CONTENT_BODY_POSTIT = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n font-size: 15px;\n font-style: normal;\n font-weight: 400;\n line-height: 19.5px;\n ", ";\n ", ";\n"], ["\n font-size: 15px;\n font-style: normal;\n font-weight: 400;\n line-height: 19.5px;\n ", ";\n ", ";\n"])), contentFont, fontCss);
|
|
51
|
+
exports.typo = {
|
|
52
|
+
UI_DISPLAY: UI_DISPLAY,
|
|
53
|
+
UI_HEADLINE: UI_HEADLINE,
|
|
54
|
+
UI_HEADLINE_SM: UI_HEADLINE_SM,
|
|
55
|
+
UI_TITLE: UI_TITLE,
|
|
56
|
+
UI_TITLE_SM: UI_TITLE_SM,
|
|
57
|
+
UI_CARDTITLE: UI_CARDTITLE,
|
|
58
|
+
UI_CARDTITLE_BOLD: UI_CARDTITLE_BOLD,
|
|
59
|
+
UI_BODY: UI_BODY,
|
|
60
|
+
UI_BODY_BOLD: UI_BODY_BOLD,
|
|
61
|
+
UI_PARAGRAPH: UI_PARAGRAPH,
|
|
62
|
+
UI_PARAGRAPH_BOLD: UI_PARAGRAPH_BOLD,
|
|
63
|
+
UI_CAPTION: UI_CAPTION,
|
|
64
|
+
UI_TAG: UI_TAG,
|
|
65
|
+
UI_HELPTEXT: UI_HELPTEXT,
|
|
66
|
+
UI_STAT_LG: UI_STAT_LG,
|
|
67
|
+
UI_STAT_SM: UI_STAT_SM,
|
|
68
|
+
CONTENT_H3: CONTENT_H3,
|
|
69
|
+
CONTENT_H2: CONTENT_H2,
|
|
70
|
+
CONTENT_H1: CONTENT_H1,
|
|
71
|
+
CONTENT_BODY: CONTENT_BODY,
|
|
72
|
+
CONTENT_BODY_BOLD: CONTENT_BODY_BOLD,
|
|
73
|
+
CONTENT_BODY_ITALIC: CONTENT_BODY_ITALIC,
|
|
74
|
+
CONTENT_BODY_BOLD_ITALIC: CONTENT_BODY_BOLD_ITALIC,
|
|
75
|
+
CONTENT_QUOTE: CONTENT_QUOTE,
|
|
76
|
+
CONTENT_TITLE_POSTIT: CONTENT_TITLE_POSTIT,
|
|
77
|
+
CONTENT_BODY_POSTIT: CONTENT_BODY_POSTIT
|
|
78
|
+
};
|
|
79
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/stories/{Breadcrumbs.stories.d.ts → Oolib/components/Breadcrumbs.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/stories/{EmptyStates.stories.d.ts → Oolib/components/EmptyStates.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/stories/{IFrameInput.stories.d.ts → Oolib/components/IFrameInput.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/stories/{ImageInput → Oolib/components/ImageInput}/imageInputParseArgTypes.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/stories/{InlineAlert.stories.d.ts → Oolib/components/InlineAlert.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/stories/{LegendRadioList.stories.d.ts → Oolib/components/LegendRadioList.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/stories/{PercentBarChart.stories.d.ts → Oolib/components/PercentBarChart.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/stories/{RadioButton.stories.d.ts → Oolib/components/RadioButton.stories.d.ts}
RENAMED
|
File without changes
|
/package/dist/stories/{ResourceInput.stories.d.ts → Oolib/components/ResourceInput.stories.d.ts}
RENAMED
|
File without changes
|
/package/dist/stories/{SimpleTable.stories.d.ts → Oolib/components/SimpleTable.stories.d.ts}
RENAMED
|
File without changes
|
/package/dist/stories/{SkeletonLoader.stories.d.ts → Oolib/components/SkeletonLoader.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/stories/{UserRoleBadge.stories.d.ts → Oolib/components/UserRoleBadge.stories.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|