@lukso/web-components 1.161.1 → 1.161.2
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/components/index.cjs +7 -5
- package/dist/components/index.js +5 -5
- package/dist/components/lukso-button/index.cjs +3 -3
- package/dist/components/lukso-button/index.js +3 -3
- package/dist/components/lukso-card/index.cjs +6 -6
- package/dist/components/lukso-card/index.js +6 -6
- package/dist/components/lukso-checkbox/index.cjs +3 -3
- package/dist/components/lukso-checkbox/index.js +3 -3
- package/dist/components/lukso-collapse/index.cjs +3 -3
- package/dist/components/lukso-collapse/index.js +3 -3
- package/dist/components/lukso-color-picker/index.cjs +5 -5
- package/dist/components/lukso-color-picker/index.js +5 -5
- package/dist/components/lukso-dropdown/index.cjs +4 -4
- package/dist/components/lukso-dropdown/index.js +4 -4
- package/dist/components/lukso-dropdown-option/index.cjs +2 -2
- package/dist/components/lukso-dropdown-option/index.js +2 -2
- package/dist/components/lukso-footer/index.cjs +3 -2
- package/dist/components/lukso-footer/index.d.ts.map +1 -1
- package/dist/components/lukso-footer/index.js +3 -2
- package/dist/components/lukso-icon/index.cjs +4 -4
- package/dist/components/lukso-icon/index.js +4 -4
- package/dist/components/lukso-image/index.cjs +4 -4
- package/dist/components/lukso-image/index.js +4 -4
- package/dist/components/lukso-input/index.cjs +4 -4
- package/dist/components/lukso-input/index.js +4 -4
- package/dist/components/lukso-markdown/index.cjs +13 -5
- package/dist/components/lukso-markdown/index.d.ts +1 -0
- package/dist/components/lukso-markdown/index.d.ts.map +1 -1
- package/dist/components/lukso-markdown/index.js +13 -5
- package/dist/components/lukso-markdown/lukso-markdown.stories.d.ts +2 -0
- package/dist/components/lukso-markdown/lukso-markdown.stories.d.ts.map +1 -1
- package/dist/components/lukso-markdown-editor/index.cjs +294 -252
- package/dist/components/lukso-markdown-editor/index.d.ts +4 -1
- package/dist/components/lukso-markdown-editor/index.d.ts.map +1 -1
- package/dist/components/lukso-markdown-editor/index.js +294 -252
- package/dist/components/lukso-markdown-editor/lukso-markdown-editor.stories.d.ts +6 -0
- package/dist/components/lukso-markdown-editor/lukso-markdown-editor.stories.d.ts.map +1 -1
- package/dist/components/lukso-modal/index.cjs +2 -2
- package/dist/components/lukso-modal/index.js +2 -2
- package/dist/components/lukso-navbar/index.cjs +3 -3
- package/dist/components/lukso-navbar/index.js +3 -3
- package/dist/components/lukso-pagination/index.cjs +3 -3
- package/dist/components/lukso-pagination/index.js +3 -3
- package/dist/components/lukso-profile/index.cjs +3 -3
- package/dist/components/lukso-profile/index.js +3 -3
- package/dist/components/lukso-progress/index.cjs +3 -3
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-radio/index.cjs +3 -3
- package/dist/components/lukso-radio/index.js +3 -3
- package/dist/components/lukso-radio-group/index.cjs +3 -3
- package/dist/components/lukso-radio-group/index.js +3 -3
- package/dist/components/lukso-sanitize/index.cjs +9 -1390
- package/dist/components/lukso-sanitize/index.d.ts +17 -1
- package/dist/components/lukso-sanitize/index.d.ts.map +1 -1
- package/dist/components/lukso-sanitize/index.js +4 -1396
- package/dist/components/lukso-sanitize/lukso-sanitize.stories.d.ts +17 -1
- package/dist/components/lukso-sanitize/lukso-sanitize.stories.d.ts.map +1 -1
- package/dist/components/lukso-search/index.cjs +6 -6
- package/dist/components/lukso-search/index.js +6 -6
- package/dist/components/lukso-select/index.cjs +6 -6
- package/dist/components/lukso-select/index.js +6 -6
- package/dist/components/lukso-share/index.cjs +2 -2
- package/dist/components/lukso-share/index.js +2 -2
- package/dist/components/lukso-switch/index.cjs +4 -4
- package/dist/components/lukso-switch/index.js +4 -4
- package/dist/components/lukso-tag/index.cjs +3 -3
- package/dist/components/lukso-tag/index.js +3 -3
- package/dist/components/lukso-terms/index.cjs +4 -4
- package/dist/components/lukso-terms/index.js +4 -4
- package/dist/components/lukso-textarea/index.cjs +4 -4
- package/dist/components/lukso-textarea/index.js +4 -4
- package/dist/components/lukso-tooltip/index.cjs +4 -4
- package/dist/components/lukso-tooltip/index.js +4 -4
- package/dist/components/lukso-username/index.cjs +4 -4
- package/dist/components/lukso-username/index.js +4 -4
- package/dist/components/lukso-wizard/index.cjs +2 -2
- package/dist/components/lukso-wizard/index.js +2 -2
- package/dist/{index-DNhzT2hA.cjs → index-BDC9pVk6.cjs} +2 -2
- package/dist/index-BFqOU6o6.cjs +50 -0
- package/dist/{index-NKnet_Ow.js → index-BJwLob67.js} +2 -2
- package/dist/{index-CKlH1beR.js → index-BOWftFAY.js} +1 -1
- package/dist/{index-CKjNXRek.cjs → index-C2uvRzO4.cjs} +3 -3
- package/dist/{index-C1JF-hTl.cjs → index-CEnG_x_7.cjs} +5 -5
- package/dist/index-CQq_Eyeu.js +41 -0
- package/dist/index-Chl2HHJ6.cjs +1408 -0
- package/dist/index-JvkSiEeQ.js +1404 -0
- package/dist/{index-C9Ins46B.cjs → index-Zriuvita.cjs} +1 -1
- package/dist/{index-BSwFyDEC.js → index-f-xajtU2.js} +3 -3
- package/dist/{index-CDUQ0-Uh.js → index-oQecUOlb.js} +5 -5
- package/dist/index.cjs +7 -5
- package/dist/index.js +5 -5
- package/dist/{property-Da9lvmME.js → property-CPkYmAYi.js} +1 -1
- package/dist/{property-dUn0JQiG.cjs → property-Cs8qVdri.cjs} +1 -1
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{state-CD8hXUlY.cjs → state-Bh6EXopE.cjs} +1 -1
- package/dist/{state-CtpsBPdH.js → state-CtrTo6cC.js} +1 -1
- package/dist/{style-map-CDCcO0mt.js → style-map-BBz25umN.js} +1 -1
- package/dist/{style-map-nBexjTCa.cjs → style-map-DhbNG03r.cjs} +1 -1
- package/dist/tailwind-config.cjs +65 -0
- package/dist/tailwind-config.d.ts +85 -0
- package/dist/tailwind-config.d.ts.map +1 -1
- package/dist/tailwind-config.js +64 -1
- package/dist/{unsafe-html-DHNeIs-4.cjs → unsafe-html-Cb1yjpJn.cjs} +1 -1
- package/dist/{unsafe-html-Ci4jmi7b.js → unsafe-html-DTE5r2A7.js} +1 -1
- package/package.json +1 -1
- package/tailwind.config.cjs +208 -178
- package/tools/cn.cjs +1 -1
- package/tools/cn.js +1 -1
- package/tools/copy-assets.cjs +16 -16
- package/tools/copy-assets.js +2 -2
- package/tools/index.cjs +1 -1
- package/tools/index.js +1 -1
- package/tools/{tailwind-config-Ch2-b3Be.js → tailwind-config-DVTyRd7x.js} +64 -1
- package/tools/{tailwind-config-BIErjaAT.cjs → tailwind-config-DoMZEvsr.cjs} +65 -0
- package/tools/tailwind-config.cjs +3 -1
- package/tools/tailwind-config.d.ts +85 -0
- package/tools/tailwind-config.d.ts.map +1 -1
- package/tools/tailwind-config.js +1 -1
- package/dist/index-B5CXCi6j.js +0 -41
- package/dist/index-D4DEFira.cjs +0 -50
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const shared_tailwindElement_index = require('./index-
|
|
3
|
+
const shared_tailwindElement_index = require('./index-BFqOU6o6.cjs');
|
|
4
4
|
const directive = require('./directive-DT5Y-Nw0.cjs');
|
|
5
5
|
|
|
6
6
|
class CustomStyleMapDirective extends directive.i {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, E } from './index-
|
|
2
|
-
import { n, t } from './property-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from './index-CQq_Eyeu.js';
|
|
2
|
+
import { n, t } from './property-CPkYmAYi.js';
|
|
3
3
|
import { c as ce } from './index-B9iart53.js';
|
|
4
|
-
import { c as customStyleMap } from './index-
|
|
4
|
+
import { c as customStyleMap } from './index-BOWftFAY.js';
|
|
5
5
|
import './tailwind-config.js';
|
|
6
6
|
import { c as cn } from './axe-BK9JSROP.js';
|
|
7
7
|
import { i as isAddress$1 } from './isAddress-ZNhN82OL.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { m as makeBlockie } from './index-
|
|
2
|
-
import { T as TailwindStyledElement, x, E } from './index-
|
|
3
|
-
import { n, t } from './property-
|
|
4
|
-
import { r } from './state-
|
|
1
|
+
import { m as makeBlockie } from './index-BJwLob67.js';
|
|
2
|
+
import { T as TailwindStyledElement, x, E } from './index-CQq_Eyeu.js';
|
|
3
|
+
import { n, t } from './property-CPkYmAYi.js';
|
|
4
|
+
import { r } from './state-CtrTo6cC.js';
|
|
5
5
|
import { c as ce } from './index-B9iart53.js';
|
|
6
6
|
import './components/lukso-dropdown/index.js';
|
|
7
7
|
import './components/lukso-dropdown-option/index.js';
|
|
8
8
|
import './components/lukso-icon/index.js';
|
|
9
9
|
import './components/lukso-input/index.js';
|
|
10
10
|
import './components/lukso-tag/index.js';
|
|
11
|
-
import { s as sliceAddress } from './index-
|
|
11
|
+
import { s as sliceAddress } from './index-f-xajtU2.js';
|
|
12
12
|
import './components/lukso-tooltip/index.js';
|
|
13
13
|
import './tailwind-config.js';
|
|
14
14
|
import './axe-BK9JSROP.js';
|
package/dist/index.cjs
CHANGED
|
@@ -18,12 +18,12 @@ const components_luksoMarkdownEditor_index = require('./components/lukso-markdow
|
|
|
18
18
|
const components_luksoModal_index = require('./components/lukso-modal/index.cjs');
|
|
19
19
|
const components_luksoNavbar_index = require('./components/lukso-navbar/index.cjs');
|
|
20
20
|
const components_luksoPagination_index = require('./components/lukso-pagination/index.cjs');
|
|
21
|
-
const components_luksoProfile_index = require('./index-
|
|
21
|
+
const components_luksoProfile_index = require('./index-BDC9pVk6.cjs');
|
|
22
22
|
const components_luksoProgress_index = require('./components/lukso-progress/index.cjs');
|
|
23
23
|
const components_luksoRadio_index = require('./components/lukso-radio/index.cjs');
|
|
24
24
|
const components_luksoRadioGroup_index = require('./components/lukso-radio-group/index.cjs');
|
|
25
|
-
const components_luksoSanitize_index = require('./
|
|
26
|
-
const components_luksoSearch_index = require('./index-
|
|
25
|
+
const components_luksoSanitize_index = require('./index-Chl2HHJ6.cjs');
|
|
26
|
+
const components_luksoSearch_index = require('./index-CEnG_x_7.cjs');
|
|
27
27
|
const components_luksoSelect_index = require('./components/lukso-select/index.cjs');
|
|
28
28
|
const components_luksoShare_index = require('./components/lukso-share/index.cjs');
|
|
29
29
|
const components_luksoSwitch_index = require('./components/lukso-switch/index.cjs');
|
|
@@ -31,9 +31,9 @@ const components_luksoTag_index = require('./components/lukso-tag/index.cjs');
|
|
|
31
31
|
const components_luksoTerms_index = require('./components/lukso-terms/index.cjs');
|
|
32
32
|
const components_luksoTextarea_index = require('./components/lukso-textarea/index.cjs');
|
|
33
33
|
const components_luksoTooltip_index = require('./components/lukso-tooltip/index.cjs');
|
|
34
|
-
const components_luksoUsername_index = require('./index-
|
|
34
|
+
const components_luksoUsername_index = require('./index-C2uvRzO4.cjs');
|
|
35
35
|
const components_luksoWizard_index = require('./components/lukso-wizard/index.cjs');
|
|
36
|
-
const shared_tailwindElement_index = require('./index-
|
|
36
|
+
const shared_tailwindElement_index = require('./index-BFqOU6o6.cjs');
|
|
37
37
|
const axe = require('./axe-C-H1UVi1.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
@@ -118,10 +118,12 @@ Object.defineProperty(exports, "LuksoRadioGroup", {
|
|
|
118
118
|
enumerable: true,
|
|
119
119
|
get: () => components_luksoRadioGroup_index.LuksoRadioGroup
|
|
120
120
|
});
|
|
121
|
+
exports.DEFAULT_OPTIONS = components_luksoSanitize_index.DEFAULT_OPTIONS;
|
|
121
122
|
Object.defineProperty(exports, "LuksoSanitize", {
|
|
122
123
|
enumerable: true,
|
|
123
124
|
get: () => components_luksoSanitize_index.LuksoSanitize
|
|
124
125
|
});
|
|
126
|
+
exports.NO_HTML_TAGS_OPTIONS = components_luksoSanitize_index.NO_HTML_TAGS_OPTIONS;
|
|
125
127
|
Object.defineProperty(exports, "LuksoSearch", {
|
|
126
128
|
enumerable: true,
|
|
127
129
|
get: () => components_luksoSearch_index.LuksoSearch
|
package/dist/index.js
CHANGED
|
@@ -14,12 +14,12 @@ export { LuksoMarkdownEditor } from './components/lukso-markdown-editor/index.js
|
|
|
14
14
|
export { LuksoModal } from './components/lukso-modal/index.js';
|
|
15
15
|
export { LuksoNavbar } from './components/lukso-navbar/index.js';
|
|
16
16
|
export { LuksoPagination } from './components/lukso-pagination/index.js';
|
|
17
|
-
export { L as LuksoProfile } from './index-
|
|
17
|
+
export { L as LuksoProfile } from './index-BJwLob67.js';
|
|
18
18
|
export { LuksoProgress } from './components/lukso-progress/index.js';
|
|
19
19
|
export { LuksoRadio } from './components/lukso-radio/index.js';
|
|
20
20
|
export { LuksoRadioGroup } from './components/lukso-radio-group/index.js';
|
|
21
|
-
export { LuksoSanitize } from './
|
|
22
|
-
export { L as LuksoSearch, a as SEARCH_RESULT_TYPES, S as STANDARDS } from './index-
|
|
21
|
+
export { D as DEFAULT_OPTIONS, L as LuksoSanitize, N as NO_HTML_TAGS_OPTIONS } from './index-JvkSiEeQ.js';
|
|
22
|
+
export { L as LuksoSearch, a as SEARCH_RESULT_TYPES, S as STANDARDS } from './index-oQecUOlb.js';
|
|
23
23
|
export { LuksoSelect } from './components/lukso-select/index.js';
|
|
24
24
|
export { LuksoShare } from './components/lukso-share/index.js';
|
|
25
25
|
export { LuksoSwitch } from './components/lukso-switch/index.js';
|
|
@@ -27,7 +27,7 @@ export { LuksoTag } from './components/lukso-tag/index.js';
|
|
|
27
27
|
export { LuksoTerms } from './components/lukso-terms/index.js';
|
|
28
28
|
export { LuksoTextarea } from './components/lukso-textarea/index.js';
|
|
29
29
|
export { LuksoTooltip } from './components/lukso-tooltip/index.js';
|
|
30
|
-
export { L as LuksoUsername } from './index-
|
|
30
|
+
export { L as LuksoUsername } from './index-f-xajtU2.js';
|
|
31
31
|
export { LuksoWizard } from './components/lukso-wizard/index.js';
|
|
32
|
-
export { a as TailwindElement, T as TailwindStyledElement } from './index-
|
|
32
|
+
export { a as TailwindElement, T as TailwindStyledElement } from './index-CQq_Eyeu.js';
|
|
33
33
|
export { c as cn } from './axe-BK9JSROP.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as TailwindElement, T as TailwindStyledElement } from '../../index-
|
|
1
|
+
export { a as TailwindElement, T as TailwindStyledElement } from '../../index-CQq_Eyeu.js';
|
package/dist/tailwind-config.cjs
CHANGED
|
@@ -1381,6 +1381,69 @@ const grey2 = splitColor(
|
|
|
1381
1381
|
8,
|
|
1382
1382
|
Object.keys(colorPalette.grey).length
|
|
1383
1383
|
);
|
|
1384
|
+
const proseSpacing = {
|
|
1385
|
+
// Paragraphs
|
|
1386
|
+
p: {
|
|
1387
|
+
marginTop: "0.5em",
|
|
1388
|
+
marginBottom: "0.5em",
|
|
1389
|
+
lineHeight: "1.5"
|
|
1390
|
+
// slightly tighter
|
|
1391
|
+
},
|
|
1392
|
+
// Horizontal rule
|
|
1393
|
+
hr: { marginTop: "2em", marginBottom: "2em" },
|
|
1394
|
+
// Headings
|
|
1395
|
+
h1: { marginTop: "0.75em", marginBottom: "0.5em", lineHeight: "1.2" },
|
|
1396
|
+
h2: { marginTop: "0.65em", marginBottom: "0.45em", lineHeight: "1.25" },
|
|
1397
|
+
h3: { marginTop: "0.6em", marginBottom: "0.4em", lineHeight: "1.3" },
|
|
1398
|
+
h4: { marginTop: "0.5em", marginBottom: "0.35em", lineHeight: "1.35" },
|
|
1399
|
+
h5: { marginTop: "0.45em", marginBottom: "0.3em", lineHeight: "1.4" },
|
|
1400
|
+
h6: { marginTop: "0.4em", marginBottom: "0.25em", lineHeight: "1.45" },
|
|
1401
|
+
// Lists
|
|
1402
|
+
ul: {
|
|
1403
|
+
marginTop: "0.5em",
|
|
1404
|
+
marginBottom: "0.5em",
|
|
1405
|
+
paddingLeft: "1.25em"
|
|
1406
|
+
},
|
|
1407
|
+
ol: {
|
|
1408
|
+
marginTop: "0.5em",
|
|
1409
|
+
marginBottom: "0.5em",
|
|
1410
|
+
paddingLeft: "1.25em"
|
|
1411
|
+
},
|
|
1412
|
+
"ul ul, ul ol, ol ul, ol ol": {
|
|
1413
|
+
marginTop: "0.25em",
|
|
1414
|
+
marginBottom: "0.25em"
|
|
1415
|
+
},
|
|
1416
|
+
li: {
|
|
1417
|
+
marginTop: "0.25em",
|
|
1418
|
+
marginBottom: "0.25em"
|
|
1419
|
+
},
|
|
1420
|
+
// Blockquotes
|
|
1421
|
+
blockquote: {
|
|
1422
|
+
marginTop: "0.5em",
|
|
1423
|
+
marginBottom: "0.5em",
|
|
1424
|
+
paddingLeft: "1em",
|
|
1425
|
+
borderLeftWidth: "0.25rem",
|
|
1426
|
+
fontStyle: "italic",
|
|
1427
|
+
color: "inherit"
|
|
1428
|
+
},
|
|
1429
|
+
// Links (restore default link look)
|
|
1430
|
+
a: {
|
|
1431
|
+
color: "var(--tw-prose-links)",
|
|
1432
|
+
textDecoration: "underline",
|
|
1433
|
+
fontWeight: "500",
|
|
1434
|
+
"&:hover": {
|
|
1435
|
+
color: "var(--tw-prose-links-hover, var(--tw-prose-links))",
|
|
1436
|
+
textDecoration: "none"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
// Code blocks
|
|
1440
|
+
pre: {
|
|
1441
|
+
marginTop: "0.5em",
|
|
1442
|
+
marginBottom: "0.5em",
|
|
1443
|
+
lineHeight: "1.45"
|
|
1444
|
+
}
|
|
1445
|
+
};
|
|
1446
|
+
const proseVariants = ["sm", "base", "lg", "xl"];
|
|
1384
1447
|
|
|
1385
1448
|
exports.borderRadius = borderRadius;
|
|
1386
1449
|
exports.boxShadows = boxShadows;
|
|
@@ -1394,5 +1457,7 @@ exports.lineHeights = lineHeights;
|
|
|
1394
1457
|
exports.neutral1 = neutral1;
|
|
1395
1458
|
exports.neutral2 = neutral2;
|
|
1396
1459
|
exports.neutral3 = neutral3;
|
|
1460
|
+
exports.proseSpacing = proseSpacing;
|
|
1461
|
+
exports.proseVariants = proseVariants;
|
|
1397
1462
|
exports.scales = scales;
|
|
1398
1463
|
exports.spacing = spacing;
|
|
@@ -151,4 +151,89 @@ export declare const neutral2: ColorMap;
|
|
|
151
151
|
export declare const neutral3: ColorMap;
|
|
152
152
|
export declare const grey1: ColorMap;
|
|
153
153
|
export declare const grey2: ColorMap;
|
|
154
|
+
/**
|
|
155
|
+
* Prose styles for Tailwind Typography plugin
|
|
156
|
+
*/
|
|
157
|
+
export declare const proseSpacing: {
|
|
158
|
+
p: {
|
|
159
|
+
marginTop: string;
|
|
160
|
+
marginBottom: string;
|
|
161
|
+
lineHeight: string;
|
|
162
|
+
};
|
|
163
|
+
hr: {
|
|
164
|
+
marginTop: string;
|
|
165
|
+
marginBottom: string;
|
|
166
|
+
};
|
|
167
|
+
h1: {
|
|
168
|
+
marginTop: string;
|
|
169
|
+
marginBottom: string;
|
|
170
|
+
lineHeight: string;
|
|
171
|
+
};
|
|
172
|
+
h2: {
|
|
173
|
+
marginTop: string;
|
|
174
|
+
marginBottom: string;
|
|
175
|
+
lineHeight: string;
|
|
176
|
+
};
|
|
177
|
+
h3: {
|
|
178
|
+
marginTop: string;
|
|
179
|
+
marginBottom: string;
|
|
180
|
+
lineHeight: string;
|
|
181
|
+
};
|
|
182
|
+
h4: {
|
|
183
|
+
marginTop: string;
|
|
184
|
+
marginBottom: string;
|
|
185
|
+
lineHeight: string;
|
|
186
|
+
};
|
|
187
|
+
h5: {
|
|
188
|
+
marginTop: string;
|
|
189
|
+
marginBottom: string;
|
|
190
|
+
lineHeight: string;
|
|
191
|
+
};
|
|
192
|
+
h6: {
|
|
193
|
+
marginTop: string;
|
|
194
|
+
marginBottom: string;
|
|
195
|
+
lineHeight: string;
|
|
196
|
+
};
|
|
197
|
+
ul: {
|
|
198
|
+
marginTop: string;
|
|
199
|
+
marginBottom: string;
|
|
200
|
+
paddingLeft: string;
|
|
201
|
+
};
|
|
202
|
+
ol: {
|
|
203
|
+
marginTop: string;
|
|
204
|
+
marginBottom: string;
|
|
205
|
+
paddingLeft: string;
|
|
206
|
+
};
|
|
207
|
+
'ul ul, ul ol, ol ul, ol ol': {
|
|
208
|
+
marginTop: string;
|
|
209
|
+
marginBottom: string;
|
|
210
|
+
};
|
|
211
|
+
li: {
|
|
212
|
+
marginTop: string;
|
|
213
|
+
marginBottom: string;
|
|
214
|
+
};
|
|
215
|
+
blockquote: {
|
|
216
|
+
marginTop: string;
|
|
217
|
+
marginBottom: string;
|
|
218
|
+
paddingLeft: string;
|
|
219
|
+
borderLeftWidth: string;
|
|
220
|
+
fontStyle: string;
|
|
221
|
+
color: string;
|
|
222
|
+
};
|
|
223
|
+
a: {
|
|
224
|
+
color: string;
|
|
225
|
+
textDecoration: string;
|
|
226
|
+
fontWeight: string;
|
|
227
|
+
'&:hover': {
|
|
228
|
+
color: string;
|
|
229
|
+
textDecoration: string;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
pre: {
|
|
233
|
+
marginTop: string;
|
|
234
|
+
marginBottom: string;
|
|
235
|
+
lineHeight: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
export declare const proseVariants: string[];
|
|
154
239
|
//# sourceMappingURL=tailwind-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwind-config.d.ts","sourceRoot":"","sources":["../../../../src/shared/tools/tailwind-config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEtB,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAiBrB,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;CAUvB,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;CAkBvB,CAAA;AAED,eAAO,MAAM,MAAM;;CAElB,CAAA;AAED,eAAO,MAAM,OAAO;;CAEnB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;CAQxB,CAAA;AAED,eAAO,MAAM,OAAO;;;;CAInB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCxB,CAAA;AAoBD;;GAEG;AACH,eAAO,MAAM,QAAQ,UAAyC,CAAA;AAC9D,eAAO,MAAM,QAAQ,UAA0C,CAAA;AAC/D,eAAO,MAAM,QAAQ,UAIpB,CAAA;AAED,eAAO,MAAM,KAAK,UAAsC,CAAA;AACxD,eAAO,MAAM,KAAK,UAIjB,CAAA"}
|
|
1
|
+
{"version":3,"file":"tailwind-config.d.ts","sourceRoot":"","sources":["../../../../src/shared/tools/tailwind-config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEtB,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAiBrB,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;CAUvB,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;CAkBvB,CAAA;AAED,eAAO,MAAM,MAAM;;CAElB,CAAA;AAED,eAAO,MAAM,OAAO;;CAEnB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;CAQxB,CAAA;AAED,eAAO,MAAM,OAAO;;;;CAInB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCxB,CAAA;AAoBD;;GAEG;AACH,eAAO,MAAM,QAAQ,UAAyC,CAAA;AAC9D,eAAO,MAAM,QAAQ,UAA0C,CAAA;AAC/D,eAAO,MAAM,QAAQ,UAIpB,CAAA;AAED,eAAO,MAAM,KAAK,UAAsC,CAAA;AACxD,eAAO,MAAM,KAAK,UAIjB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkExB,CAAA;AAED,eAAO,MAAM,aAAa,UAA6B,CAAA"}
|
package/dist/tailwind-config.js
CHANGED
|
@@ -1377,5 +1377,68 @@ const grey2 = splitColor(
|
|
|
1377
1377
|
8,
|
|
1378
1378
|
Object.keys(colorPalette.grey).length
|
|
1379
1379
|
);
|
|
1380
|
+
const proseSpacing = {
|
|
1381
|
+
// Paragraphs
|
|
1382
|
+
p: {
|
|
1383
|
+
marginTop: "0.5em",
|
|
1384
|
+
marginBottom: "0.5em",
|
|
1385
|
+
lineHeight: "1.5"
|
|
1386
|
+
// slightly tighter
|
|
1387
|
+
},
|
|
1388
|
+
// Horizontal rule
|
|
1389
|
+
hr: { marginTop: "2em", marginBottom: "2em" },
|
|
1390
|
+
// Headings
|
|
1391
|
+
h1: { marginTop: "0.75em", marginBottom: "0.5em", lineHeight: "1.2" },
|
|
1392
|
+
h2: { marginTop: "0.65em", marginBottom: "0.45em", lineHeight: "1.25" },
|
|
1393
|
+
h3: { marginTop: "0.6em", marginBottom: "0.4em", lineHeight: "1.3" },
|
|
1394
|
+
h4: { marginTop: "0.5em", marginBottom: "0.35em", lineHeight: "1.35" },
|
|
1395
|
+
h5: { marginTop: "0.45em", marginBottom: "0.3em", lineHeight: "1.4" },
|
|
1396
|
+
h6: { marginTop: "0.4em", marginBottom: "0.25em", lineHeight: "1.45" },
|
|
1397
|
+
// Lists
|
|
1398
|
+
ul: {
|
|
1399
|
+
marginTop: "0.5em",
|
|
1400
|
+
marginBottom: "0.5em",
|
|
1401
|
+
paddingLeft: "1.25em"
|
|
1402
|
+
},
|
|
1403
|
+
ol: {
|
|
1404
|
+
marginTop: "0.5em",
|
|
1405
|
+
marginBottom: "0.5em",
|
|
1406
|
+
paddingLeft: "1.25em"
|
|
1407
|
+
},
|
|
1408
|
+
"ul ul, ul ol, ol ul, ol ol": {
|
|
1409
|
+
marginTop: "0.25em",
|
|
1410
|
+
marginBottom: "0.25em"
|
|
1411
|
+
},
|
|
1412
|
+
li: {
|
|
1413
|
+
marginTop: "0.25em",
|
|
1414
|
+
marginBottom: "0.25em"
|
|
1415
|
+
},
|
|
1416
|
+
// Blockquotes
|
|
1417
|
+
blockquote: {
|
|
1418
|
+
marginTop: "0.5em",
|
|
1419
|
+
marginBottom: "0.5em",
|
|
1420
|
+
paddingLeft: "1em",
|
|
1421
|
+
borderLeftWidth: "0.25rem",
|
|
1422
|
+
fontStyle: "italic",
|
|
1423
|
+
color: "inherit"
|
|
1424
|
+
},
|
|
1425
|
+
// Links (restore default link look)
|
|
1426
|
+
a: {
|
|
1427
|
+
color: "var(--tw-prose-links)",
|
|
1428
|
+
textDecoration: "underline",
|
|
1429
|
+
fontWeight: "500",
|
|
1430
|
+
"&:hover": {
|
|
1431
|
+
color: "var(--tw-prose-links-hover, var(--tw-prose-links))",
|
|
1432
|
+
textDecoration: "none"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
// Code blocks
|
|
1436
|
+
pre: {
|
|
1437
|
+
marginTop: "0.5em",
|
|
1438
|
+
marginBottom: "0.5em",
|
|
1439
|
+
lineHeight: "1.45"
|
|
1440
|
+
}
|
|
1441
|
+
};
|
|
1442
|
+
const proseVariants = ["sm", "base", "lg", "xl"];
|
|
1380
1443
|
|
|
1381
|
-
export { borderRadius, boxShadows, colorPalette, fontSizes, fontWeights, grey1, grey2, heights, lineHeights, neutral1, neutral2, neutral3, scales, spacing };
|
|
1444
|
+
export { borderRadius, boxShadows, colorPalette, fontSizes, fontWeights, grey1, grey2, heights, lineHeights, neutral1, neutral2, neutral3, proseSpacing, proseVariants, scales, spacing };
|