@lukso/web-components 1.161.1 → 1.162.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/components/index.cjs +7 -5
- package/dist/components/index.js +5 -5
- package/dist/components/lukso-button/index.cjs +21 -21
- package/dist/components/lukso-button/index.d.ts.map +1 -1
- package/dist/components/lukso-button/index.js +4 -4
- package/dist/components/lukso-card/index.cjs +20 -20
- package/dist/components/lukso-card/index.d.ts.map +1 -1
- package/dist/components/lukso-card/index.js +7 -7
- package/dist/components/lukso-checkbox/index.cjs +14 -14
- package/dist/components/lukso-checkbox/index.d.ts.map +1 -1
- package/dist/components/lukso-checkbox/index.js +4 -4
- package/dist/components/lukso-collapse/index.cjs +10 -10
- package/dist/components/lukso-collapse/index.d.ts.map +1 -1
- package/dist/components/lukso-collapse/index.js +4 -4
- package/dist/components/lukso-color-picker/index.cjs +20 -20
- package/dist/components/lukso-color-picker/index.d.ts.map +1 -1
- package/dist/components/lukso-color-picker/index.js +6 -6
- package/dist/components/lukso-dropdown/index.cjs +15 -15
- package/dist/components/lukso-dropdown/index.d.ts.map +1 -1
- package/dist/components/lukso-dropdown/index.js +5 -5
- package/dist/components/lukso-dropdown-option/index.cjs +9 -9
- package/dist/components/lukso-dropdown-option/index.d.ts.map +1 -1
- package/dist/components/lukso-dropdown-option/index.js +3 -3
- package/dist/components/lukso-footer/index.cjs +5 -4
- package/dist/components/lukso-footer/index.d.ts.map +1 -1
- package/dist/components/lukso-footer/index.js +4 -3
- package/dist/components/lukso-icon/index.cjs +12 -12
- package/dist/components/lukso-icon/index.d.ts.map +1 -1
- package/dist/components/lukso-icon/index.js +5 -5
- package/dist/components/lukso-image/index.cjs +7 -7
- package/dist/components/lukso-image/index.d.ts.map +1 -1
- package/dist/components/lukso-image/index.js +5 -5
- package/dist/components/lukso-input/index.cjs +29 -29
- package/dist/components/lukso-input/index.d.ts.map +1 -1
- package/dist/components/lukso-input/index.js +5 -5
- package/dist/components/lukso-markdown/index.cjs +18 -10
- 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 +14 -6
- 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 +312 -270
- 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 +296 -254
- 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 +6 -6
- package/dist/components/lukso-modal/index.d.ts.map +1 -1
- package/dist/components/lukso-modal/index.js +3 -3
- package/dist/components/lukso-navbar/index.cjs +14 -14
- package/dist/components/lukso-navbar/index.d.ts.map +1 -1
- package/dist/components/lukso-navbar/index.js +4 -4
- package/dist/components/lukso-pagination/index.cjs +9 -9
- package/dist/components/lukso-pagination/index.d.ts.map +1 -1
- package/dist/components/lukso-pagination/index.js +4 -4
- package/dist/components/lukso-profile/index.cjs +3 -3
- package/dist/components/lukso-profile/index.d.ts.map +1 -1
- package/dist/components/lukso-profile/index.js +3 -3
- package/dist/components/lukso-progress/index.cjs +9 -9
- package/dist/components/lukso-progress/index.d.ts.map +1 -1
- package/dist/components/lukso-progress/index.js +4 -4
- package/dist/components/lukso-radio/index.cjs +13 -13
- package/dist/components/lukso-radio/index.d.ts.map +1 -1
- package/dist/components/lukso-radio/index.js +4 -4
- package/dist/components/lukso-radio-group/index.cjs +7 -7
- package/dist/components/lukso-radio-group/index.d.ts.map +1 -1
- package/dist/components/lukso-radio-group/index.js +4 -4
- 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.d.ts.map +1 -1
- package/dist/components/lukso-search/index.js +6 -6
- package/dist/components/lukso-select/index.cjs +26 -26
- package/dist/components/lukso-select/index.d.ts.map +1 -1
- package/dist/components/lukso-select/index.js +7 -7
- package/dist/components/lukso-share/index.cjs +5 -5
- package/dist/components/lukso-share/index.d.ts.map +1 -1
- package/dist/components/lukso-share/index.js +3 -3
- package/dist/components/lukso-switch/index.cjs +13 -13
- package/dist/components/lukso-switch/index.d.ts.map +1 -1
- package/dist/components/lukso-switch/index.js +5 -5
- package/dist/components/lukso-tag/index.cjs +9 -9
- package/dist/components/lukso-tag/index.d.ts.map +1 -1
- package/dist/components/lukso-tag/index.js +4 -4
- package/dist/components/lukso-terms/index.cjs +6 -6
- package/dist/components/lukso-terms/index.d.ts.map +1 -1
- package/dist/components/lukso-terms/index.js +5 -5
- package/dist/components/lukso-textarea/index.cjs +23 -23
- package/dist/components/lukso-textarea/index.d.ts.map +1 -1
- package/dist/components/lukso-textarea/index.js +5 -5
- package/dist/components/lukso-tooltip/index.cjs +20 -20
- package/dist/components/lukso-tooltip/index.d.ts.map +1 -1
- package/dist/components/lukso-tooltip/index.js +5 -5
- package/dist/components/lukso-username/index.cjs +4 -4
- package/dist/components/lukso-username/index.d.ts.map +1 -1
- package/dist/components/lukso-username/index.js +4 -4
- package/dist/components/lukso-wizard/index.cjs +6 -6
- package/dist/components/lukso-wizard/index.d.ts.map +1 -1
- package/dist/components/lukso-wizard/index.js +3 -3
- package/dist/index-0s--O024.cjs +1408 -0
- package/dist/index-BFqOU6o6.cjs +50 -0
- package/dist/{index-CKlH1beR.js → index-BOWftFAY.js} +1 -1
- package/dist/{index-DNhzT2hA.cjs → index-BYDwEmQd.cjs} +9 -9
- package/dist/{index-BSwFyDEC.js → index-CIvb8Rdb.js} +4 -4
- package/dist/index-CQq_Eyeu.js +41 -0
- package/dist/{index-C1JF-hTl.cjs → index-CeucSkmf.cjs} +36 -36
- package/dist/index-DZXmXufN.js +1404 -0
- package/dist/{index-NKnet_Ow.js → index-DvdeX3K2.js} +3 -3
- package/dist/{index-CKjNXRek.cjs → index-GXU76s80.cjs} +15 -15
- package/dist/{index-C9Ins46B.cjs → index-Zriuvita.cjs} +1 -1
- package/dist/{index-CDUQ0-Uh.js → index-bObYWb9Y.js} +6 -6
- package/dist/index.cjs +7 -5
- package/dist/index.js +5 -5
- package/dist/{property-Da9lvmME.js → safe-custom-element-BODySN1j.js} +11 -9
- package/dist/{property-dUn0JQiG.cjs → safe-custom-element-DTADBI4I.cjs} +11 -9
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/safe-custom-element.d.ts +32 -0
- package/dist/shared/safe-custom-element.d.ts.map +1 -0
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/state-ClR8ink7.cjs +11 -0
- package/dist/{state-CtpsBPdH.js → state-n75qAK0V.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
- package/dist/state-CD8hXUlY.cjs +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from './index-
|
|
2
|
-
import { n,
|
|
1
|
+
import { a as TailwindElement, x } from './index-CQq_Eyeu.js';
|
|
2
|
+
import { n, s as safeCustomElement } from './safe-custom-element-BODySN1j.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
4
4
|
import { c as ce } from './index-B9iart53.js';
|
|
5
5
|
import './components/lukso-image/index.js';
|
|
@@ -602,7 +602,7 @@ __decorateClass([
|
|
|
602
602
|
n({ type: String })
|
|
603
603
|
], LuksoProfile.prototype, "placeholder", 2);
|
|
604
604
|
LuksoProfile = __decorateClass([
|
|
605
|
-
|
|
605
|
+
safeCustomElement("lukso-profile")
|
|
606
606
|
], LuksoProfile);
|
|
607
607
|
|
|
608
608
|
export { LuksoProfile as L, makeBlockie as m };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const shared_tailwindElement_index = require('./index-
|
|
4
|
-
const
|
|
3
|
+
const shared_tailwindElement_index = require('./index-BFqOU6o6.cjs');
|
|
4
|
+
const safeCustomElement = require('./safe-custom-element-DTADBI4I.cjs');
|
|
5
5
|
const index = require('./index-CaJky2qL.cjs');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-Zriuvita.cjs');
|
|
7
7
|
require('./tailwind-config.cjs');
|
|
8
8
|
const axe = require('./axe-C-H1UVi1.cjs');
|
|
9
9
|
const isAddress$1 = require('./isAddress-DYM3mZP7.cjs');
|
|
@@ -1307,40 +1307,40 @@ exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index
|
|
|
1307
1307
|
}
|
|
1308
1308
|
};
|
|
1309
1309
|
__decorateClass([
|
|
1310
|
-
|
|
1310
|
+
safeCustomElement.n({ type: String })
|
|
1311
1311
|
], exports.LuksoUsername.prototype, "name", 2);
|
|
1312
1312
|
__decorateClass([
|
|
1313
|
-
|
|
1313
|
+
safeCustomElement.n({ type: String })
|
|
1314
1314
|
], exports.LuksoUsername.prototype, "address", 2);
|
|
1315
1315
|
__decorateClass([
|
|
1316
|
-
|
|
1316
|
+
safeCustomElement.n({ type: Number, attribute: "max-width" })
|
|
1317
1317
|
], exports.LuksoUsername.prototype, "maxWidth", 2);
|
|
1318
1318
|
__decorateClass([
|
|
1319
|
-
|
|
1319
|
+
safeCustomElement.n({ type: "string" })
|
|
1320
1320
|
], exports.LuksoUsername.prototype, "size", 2);
|
|
1321
1321
|
__decorateClass([
|
|
1322
|
-
|
|
1322
|
+
safeCustomElement.n({ type: Number, attribute: "slice-by" })
|
|
1323
1323
|
], exports.LuksoUsername.prototype, "sliceBy", 2);
|
|
1324
1324
|
__decorateClass([
|
|
1325
|
-
|
|
1325
|
+
safeCustomElement.n({ type: String, attribute: "address-color" })
|
|
1326
1326
|
], exports.LuksoUsername.prototype, "addressColor", 2);
|
|
1327
1327
|
__decorateClass([
|
|
1328
|
-
|
|
1328
|
+
safeCustomElement.n({ type: String, attribute: "name-color" })
|
|
1329
1329
|
], exports.LuksoUsername.prototype, "nameColor", 2);
|
|
1330
1330
|
__decorateClass([
|
|
1331
|
-
|
|
1331
|
+
safeCustomElement.n({ type: String, attribute: "custom-class" })
|
|
1332
1332
|
], exports.LuksoUsername.prototype, "customClass", 2);
|
|
1333
1333
|
__decorateClass([
|
|
1334
|
-
|
|
1334
|
+
safeCustomElement.n({ type: Boolean, attribute: "hide-prefix" })
|
|
1335
1335
|
], exports.LuksoUsername.prototype, "hidePrefix", 2);
|
|
1336
1336
|
__decorateClass([
|
|
1337
|
-
|
|
1337
|
+
safeCustomElement.n({ type: String })
|
|
1338
1338
|
], exports.LuksoUsername.prototype, "prefix", 2);
|
|
1339
1339
|
__decorateClass([
|
|
1340
|
-
|
|
1340
|
+
safeCustomElement.n({ type: Boolean, attribute: "no-transform" })
|
|
1341
1341
|
], exports.LuksoUsername.prototype, "noTransform", 2);
|
|
1342
1342
|
exports.LuksoUsername = __decorateClass([
|
|
1343
|
-
|
|
1343
|
+
safeCustomElement.safeCustomElement("lukso-username")
|
|
1344
1344
|
], exports.LuksoUsername);
|
|
1345
1345
|
|
|
1346
1346
|
exports.sliceAddress = sliceAddress;
|
|
@@ -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,14 +1,14 @@
|
|
|
1
|
-
import { m as makeBlockie } from './index-
|
|
2
|
-
import { T as TailwindStyledElement, x, E } from './index-
|
|
3
|
-
import { n,
|
|
4
|
-
import { r } from './state-
|
|
1
|
+
import { m as makeBlockie } from './index-DvdeX3K2.js';
|
|
2
|
+
import { T as TailwindStyledElement, x, E } from './index-CQq_Eyeu.js';
|
|
3
|
+
import { n, s as safeCustomElement } from './safe-custom-element-BODySN1j.js';
|
|
4
|
+
import { r } from './state-n75qAK0V.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-CIvb8Rdb.js';
|
|
12
12
|
import './components/lukso-tooltip/index.js';
|
|
13
13
|
import './tailwind-config.js';
|
|
14
14
|
import './axe-BK9JSROP.js';
|
|
@@ -806,7 +806,7 @@ __decorateClass([
|
|
|
806
806
|
r()
|
|
807
807
|
], LuksoSearch.prototype, "resultsParsed", 2);
|
|
808
808
|
LuksoSearch = __decorateClass([
|
|
809
|
-
|
|
809
|
+
safeCustomElement("lukso-search")
|
|
810
810
|
], LuksoSearch);
|
|
811
811
|
|
|
812
812
|
export { LuksoSearch as L, STANDARDS as S, SEARCH_RESULT_TYPES as a };
|
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-BYDwEmQd.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-0s--O024.cjs');
|
|
26
|
+
const components_luksoSearch_index = require('./index-CeucSkmf.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-GXU76s80.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-DvdeX3K2.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-DZXmXufN.js';
|
|
22
|
+
export { L as LuksoSearch, a as SEARCH_RESULT_TYPES, S as STANDARDS } from './index-bObYWb9Y.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-CIvb8Rdb.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,11 +1,4 @@
|
|
|
1
|
-
import { f, u } from './index-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright 2017 Google LLC
|
|
6
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
7
|
-
*/
|
|
8
|
-
const t=t=>(e,o)=>{ void 0!==o?o.addInitializer((()=>{customElements.define(t,e);})):customElements.define(t,e);};
|
|
1
|
+
import { f, u } from './index-CQq_Eyeu.js';
|
|
9
2
|
|
|
10
3
|
/**
|
|
11
4
|
* @license
|
|
@@ -13,4 +6,13 @@ const t=t=>(e,o)=>{ void 0!==o?o.addInitializer((()=>{customElements.define(t,e)
|
|
|
13
6
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
14
7
|
*/const o={attribute:true,type:String,converter:u,reflect:false,hasChanged:f},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),"setter"===n&&((t=Object.create(t)).wrapped=true),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n(t){return (e,o)=>"object"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
|
|
15
8
|
|
|
16
|
-
|
|
9
|
+
function safeCustomElement(tagName) {
|
|
10
|
+
return (classOrDescriptor) => {
|
|
11
|
+
if (typeof customElements !== "undefined" && !customElements.get(tagName)) {
|
|
12
|
+
customElements.define(tagName, classOrDescriptor);
|
|
13
|
+
}
|
|
14
|
+
return classOrDescriptor;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { n, safeCustomElement as s };
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const shared_tailwindElement_index = require('./index-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright 2017 Google LLC
|
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/
|
|
10
|
-
const t=t=>(e,o)=>{ void 0!==o?o.addInitializer((()=>{customElements.define(t,e);})):customElements.define(t,e);};
|
|
3
|
+
const shared_tailwindElement_index = require('./index-BFqOU6o6.cjs');
|
|
11
4
|
|
|
12
5
|
/**
|
|
13
6
|
* @license
|
|
@@ -15,5 +8,14 @@ const t=t=>(e,o)=>{ void 0!==o?o.addInitializer((()=>{customElements.define(t,e)
|
|
|
15
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
16
9
|
*/const o={attribute:true,type:String,converter:shared_tailwindElement_index.u,reflect:false,hasChanged:shared_tailwindElement_index.f},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),"setter"===n&&((t=Object.create(t)).wrapped=true),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n(t){return (e,o)=>"object"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
|
|
17
10
|
|
|
11
|
+
function safeCustomElement(tagName) {
|
|
12
|
+
return (classOrDescriptor) => {
|
|
13
|
+
if (typeof customElements !== "undefined" && !customElements.get(tagName)) {
|
|
14
|
+
customElements.define(tagName, classOrDescriptor);
|
|
15
|
+
}
|
|
16
|
+
return classOrDescriptor;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
18
20
|
exports.n = n;
|
|
19
|
-
exports.
|
|
21
|
+
exports.safeCustomElement = safeCustomElement;
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/index.ts"],"names":[],"mappings":";AAAA,wBAEmC;AACnC,cAAc,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/index.ts"],"names":[],"mappings":";AAAA,wBAEmC;AACnC,cAAc,UAAU,CAAA;AACxB,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SSR-safe custom element decorator that prevents duplicate registration errors.
|
|
3
|
+
*
|
|
4
|
+
* ## Why this exists
|
|
5
|
+
*
|
|
6
|
+
* The standard `@customElement()` decorator from Lit will throw an error if
|
|
7
|
+
* a component is registered twice. This can happen in SSR environments where:
|
|
8
|
+
* - Components are dynamically imported via multiple paths
|
|
9
|
+
* - HMR causes modules to be re-executed during development
|
|
10
|
+
* - Server and client bundles both try to register components
|
|
11
|
+
*
|
|
12
|
+
* This is especially common when a library (e.g., @lukso/transaction-view-core)
|
|
13
|
+
* imports @lukso/web-components, AND the consuming app ALSO imports
|
|
14
|
+
* @lukso/web-components directly via dynamic imports.
|
|
15
|
+
*
|
|
16
|
+
* ## Usage
|
|
17
|
+
*
|
|
18
|
+
* Use this instead of `@customElement()`:
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { safeCustomElement } from '@/shared/safe-custom-element'
|
|
21
|
+
*
|
|
22
|
+
* @safeCustomElement('lukso-button')
|
|
23
|
+
* export class LuksoButton extends LitElement {
|
|
24
|
+
* // ...
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @param tagName - The custom element tag name (must contain a hyphen)
|
|
29
|
+
* @returns A class decorator that safely registers the element
|
|
30
|
+
*/
|
|
31
|
+
export declare function safeCustomElement(tagName: string): <T extends CustomElementConstructor>(classOrDescriptor: T) => T;
|
|
32
|
+
//# sourceMappingURL=safe-custom-element.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safe-custom-element.d.ts","sourceRoot":"","sources":["../../../../src/shared/safe-custom-element.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,IACvC,CAAC,SAAS,wBAAwB,EAAE,mBAAmB,CAAC,KAAG,CAAC,CAOrE"}
|
|
@@ -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';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const safeCustomElement = require('./safe-custom-element-DTADBI4I.cjs');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2017 Google LLC
|
|
8
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
+
*/function r(r){return safeCustomElement.n({...r,state:true,attribute:false})}
|
|
10
|
+
|
|
11
|
+
exports.r = r;
|
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 };
|