@monospaced/set-core 0.4.0 → 0.5.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/icon/icons-tdesign.d.ts +1 -1
- package/dist/components/icon/icons-tdesign.d.ts.map +1 -1
- package/dist/components/icon/icons.generated.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +57 -42
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -150,6 +150,21 @@ const dt = {
|
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
],
|
|
153
|
+
check: [
|
|
154
|
+
{
|
|
155
|
+
tag: "g",
|
|
156
|
+
attrs: {},
|
|
157
|
+
children: [
|
|
158
|
+
{
|
|
159
|
+
tag: "path",
|
|
160
|
+
attrs: {
|
|
161
|
+
d: "M19.5708 7.37842L10.3785 16.5708L5.42871 11.6211",
|
|
162
|
+
"stroke-linecap": "square"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
],
|
|
153
168
|
"check-circle": [
|
|
154
169
|
{
|
|
155
170
|
tag: "g",
|
|
@@ -1709,7 +1724,7 @@ function Ct(t, n) {
|
|
|
1709
1724
|
tone: "neutral"
|
|
1710
1725
|
}), e;
|
|
1711
1726
|
}
|
|
1712
|
-
function
|
|
1727
|
+
function Lt({
|
|
1713
1728
|
actionHref: t,
|
|
1714
1729
|
actionLabel: n,
|
|
1715
1730
|
dismissible: e = !0,
|
|
@@ -1750,9 +1765,9 @@ function Mt({
|
|
|
1750
1765
|
};
|
|
1751
1766
|
}
|
|
1752
1767
|
function Pe(t) {
|
|
1753
|
-
return h(
|
|
1768
|
+
return h(Lt(t));
|
|
1754
1769
|
}
|
|
1755
|
-
function
|
|
1770
|
+
function Mt() {
|
|
1756
1771
|
if (customElements.get(B)) return;
|
|
1757
1772
|
class t extends HTMLElement {
|
|
1758
1773
|
#t = (e) => {
|
|
@@ -5266,7 +5281,7 @@ const xi = {
|
|
|
5266
5281
|
}
|
|
5267
5282
|
]
|
|
5268
5283
|
}
|
|
5269
|
-
},
|
|
5284
|
+
}, L = (t) => {
|
|
5270
5285
|
if (t !== void 0)
|
|
5271
5286
|
return String(t);
|
|
5272
5287
|
};
|
|
@@ -5323,18 +5338,18 @@ function he({
|
|
|
5323
5338
|
class: "set-grid-item",
|
|
5324
5339
|
"data-align": t,
|
|
5325
5340
|
"data-justify": s,
|
|
5326
|
-
"data-col-span-narrow":
|
|
5327
|
-
"data-col-start-narrow":
|
|
5328
|
-
"data-col-span":
|
|
5329
|
-
"data-col-start":
|
|
5330
|
-
"data-col-span-wide":
|
|
5331
|
-
"data-col-start-wide":
|
|
5332
|
-
"data-row-span-narrow":
|
|
5333
|
-
"data-row-start-narrow":
|
|
5334
|
-
"data-row-span":
|
|
5335
|
-
"data-row-start":
|
|
5336
|
-
"data-row-span-wide":
|
|
5337
|
-
"data-row-start-wide":
|
|
5341
|
+
"data-col-span-narrow": L(i),
|
|
5342
|
+
"data-col-start-narrow": L(o),
|
|
5343
|
+
"data-col-span": L(e),
|
|
5344
|
+
"data-col-start": L(a),
|
|
5345
|
+
"data-col-span-wide": L(r),
|
|
5346
|
+
"data-col-start-wide": L(d),
|
|
5347
|
+
"data-row-span-narrow": L(c),
|
|
5348
|
+
"data-row-start-narrow": L(v),
|
|
5349
|
+
"data-row-span": L(l),
|
|
5350
|
+
"data-row-start": L(g),
|
|
5351
|
+
"data-row-span-wide": L(u),
|
|
5352
|
+
"data-row-start-wide": L(m),
|
|
5338
5353
|
id: f
|
|
5339
5354
|
},
|
|
5340
5355
|
children: n ? [{ kind: "raw", html: n }] : []
|
|
@@ -5384,12 +5399,12 @@ const Ci = {
|
|
|
5384
5399
|
}
|
|
5385
5400
|
]
|
|
5386
5401
|
}
|
|
5387
|
-
},
|
|
5402
|
+
}, M = {
|
|
5388
5403
|
kind: "number",
|
|
5389
5404
|
min: 1,
|
|
5390
5405
|
max: 12,
|
|
5391
5406
|
integer: !0
|
|
5392
|
-
},
|
|
5407
|
+
}, Li = {
|
|
5393
5408
|
name: "grid-item",
|
|
5394
5409
|
description: "Use `grid-item` to place content within a `grid` layout.",
|
|
5395
5410
|
output: { element: "div", class: "set-grid-item" },
|
|
@@ -5409,11 +5424,11 @@ const Ci = {
|
|
|
5409
5424
|
},
|
|
5410
5425
|
colSpan: {
|
|
5411
5426
|
description: "Columns spanned at the default breakpoint.",
|
|
5412
|
-
type:
|
|
5427
|
+
type: M
|
|
5413
5428
|
},
|
|
5414
5429
|
colStart: {
|
|
5415
5430
|
description: "Starting column at the default breakpoint.",
|
|
5416
|
-
type:
|
|
5431
|
+
type: M
|
|
5417
5432
|
},
|
|
5418
5433
|
id: {
|
|
5419
5434
|
description: "DOM id.",
|
|
@@ -5421,43 +5436,43 @@ const Ci = {
|
|
|
5421
5436
|
},
|
|
5422
5437
|
rowSpan: {
|
|
5423
5438
|
description: "Rows spanned at the default breakpoint.",
|
|
5424
|
-
type:
|
|
5439
|
+
type: M
|
|
5425
5440
|
},
|
|
5426
5441
|
rowSpanNarrow: {
|
|
5427
5442
|
description: "Rows spanned at the narrow breakpoint.",
|
|
5428
|
-
type:
|
|
5443
|
+
type: M
|
|
5429
5444
|
},
|
|
5430
5445
|
rowSpanWide: {
|
|
5431
5446
|
description: "Rows spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5432
|
-
type:
|
|
5447
|
+
type: M
|
|
5433
5448
|
},
|
|
5434
5449
|
rowStart: {
|
|
5435
5450
|
description: "Starting row at the default breakpoint.",
|
|
5436
|
-
type:
|
|
5451
|
+
type: M
|
|
5437
5452
|
},
|
|
5438
5453
|
rowStartNarrow: {
|
|
5439
5454
|
description: "Starting row at the narrow breakpoint.",
|
|
5440
|
-
type:
|
|
5455
|
+
type: M
|
|
5441
5456
|
},
|
|
5442
5457
|
rowStartWide: {
|
|
5443
5458
|
description: "Starting row at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5444
|
-
type:
|
|
5459
|
+
type: M
|
|
5445
5460
|
},
|
|
5446
5461
|
colSpanNarrow: {
|
|
5447
5462
|
description: "Columns spanned at the narrow breakpoint.",
|
|
5448
|
-
type:
|
|
5463
|
+
type: M
|
|
5449
5464
|
},
|
|
5450
5465
|
colStartNarrow: {
|
|
5451
5466
|
description: "Starting column at the narrow breakpoint.",
|
|
5452
|
-
type:
|
|
5467
|
+
type: M
|
|
5453
5468
|
},
|
|
5454
5469
|
colSpanWide: {
|
|
5455
5470
|
description: "Columns spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5456
|
-
type:
|
|
5471
|
+
type: M
|
|
5457
5472
|
},
|
|
5458
5473
|
colStartWide: {
|
|
5459
5474
|
description: "Starting column at the wide breakpoint. Effect is only visible above the wide breakpoint.",
|
|
5460
|
-
type:
|
|
5475
|
+
type: M
|
|
5461
5476
|
}
|
|
5462
5477
|
},
|
|
5463
5478
|
events: {},
|
|
@@ -5578,7 +5593,7 @@ function me({
|
|
|
5578
5593
|
children: [{ kind: "text", value: a }]
|
|
5579
5594
|
};
|
|
5580
5595
|
}
|
|
5581
|
-
function
|
|
5596
|
+
function Mi(t) {
|
|
5582
5597
|
return h(me(t));
|
|
5583
5598
|
}
|
|
5584
5599
|
const qi = {
|
|
@@ -7310,7 +7325,7 @@ const Xi = {
|
|
|
7310
7325
|
]
|
|
7311
7326
|
}
|
|
7312
7327
|
};
|
|
7313
|
-
function
|
|
7328
|
+
function Le({
|
|
7314
7329
|
id: t,
|
|
7315
7330
|
label: n,
|
|
7316
7331
|
size: e = "md",
|
|
@@ -7368,7 +7383,7 @@ function Me({
|
|
|
7368
7383
|
};
|
|
7369
7384
|
}
|
|
7370
7385
|
function Yi(t = {}) {
|
|
7371
|
-
return h(
|
|
7386
|
+
return h(Le(t));
|
|
7372
7387
|
}
|
|
7373
7388
|
const Ji = {
|
|
7374
7389
|
name: "spinner",
|
|
@@ -7428,7 +7443,7 @@ const Ji = {
|
|
|
7428
7443
|
]
|
|
7429
7444
|
}
|
|
7430
7445
|
};
|
|
7431
|
-
function
|
|
7446
|
+
function Me({
|
|
7432
7447
|
align: t = "stretch",
|
|
7433
7448
|
as: n = "div",
|
|
7434
7449
|
children: e,
|
|
@@ -7451,7 +7466,7 @@ function Le({
|
|
|
7451
7466
|
};
|
|
7452
7467
|
}
|
|
7453
7468
|
function tn(t) {
|
|
7454
|
-
return h(
|
|
7469
|
+
return h(Me(t));
|
|
7455
7470
|
}
|
|
7456
7471
|
const en = {
|
|
7457
7472
|
name: "stack",
|
|
@@ -8027,7 +8042,7 @@ const sn = {
|
|
|
8027
8042
|
}
|
|
8028
8043
|
};
|
|
8029
8044
|
function ln() {
|
|
8030
|
-
Et(),
|
|
8045
|
+
Et(), Mt(), At(), Dt(), Ot(), Bt(), $t(), Ft();
|
|
8031
8046
|
}
|
|
8032
8047
|
export {
|
|
8033
8048
|
lt as SET_ALERT_EVENT_BEFORE_DISMISS,
|
|
@@ -8051,7 +8066,7 @@ export {
|
|
|
8051
8066
|
Ge as SET_EXPANDER_SPEC,
|
|
8052
8067
|
wi as SET_FIELDSET_SPEC,
|
|
8053
8068
|
xi as SET_FIGURE_SPEC,
|
|
8054
|
-
|
|
8069
|
+
Li as SET_GRID_ITEM_SPEC,
|
|
8055
8070
|
Ci as SET_GRID_SPEC,
|
|
8056
8071
|
qi as SET_HEADING_SPEC,
|
|
8057
8072
|
Ae as SET_ICON_NAMES,
|
|
@@ -8092,7 +8107,7 @@ export {
|
|
|
8092
8107
|
xt as buildSetAlert,
|
|
8093
8108
|
ie as buildSetAvatar,
|
|
8094
8109
|
ne as buildSetBadge,
|
|
8095
|
-
|
|
8110
|
+
Lt as buildSetBanner,
|
|
8096
8111
|
re as buildSetBlockquote,
|
|
8097
8112
|
ae as buildSetBox,
|
|
8098
8113
|
tt as buildSetButton,
|
|
@@ -8125,15 +8140,15 @@ export {
|
|
|
8125
8140
|
Pt as buildSetRange,
|
|
8126
8141
|
Ce as buildSetRoot,
|
|
8127
8142
|
Ut as buildSetSidebar,
|
|
8128
|
-
|
|
8129
|
-
|
|
8143
|
+
Le as buildSetSpinner,
|
|
8144
|
+
Me as buildSetStack,
|
|
8130
8145
|
qe as buildSetSurface,
|
|
8131
8146
|
Ie as buildSetSwitch,
|
|
8132
8147
|
j as buildSetText,
|
|
8133
8148
|
Te as buildSetTextarea,
|
|
8134
8149
|
Gt as buildSetVideo,
|
|
8135
8150
|
Et as defineSetAlert,
|
|
8136
|
-
|
|
8151
|
+
Mt as defineSetBanner,
|
|
8137
8152
|
ln as defineSetComponents,
|
|
8138
8153
|
At as defineSetLightswitch,
|
|
8139
8154
|
Dt as defineSetMenu,
|
|
@@ -8159,7 +8174,7 @@ export {
|
|
|
8159
8174
|
Si as renderSetFigure,
|
|
8160
8175
|
Ei as renderSetGrid,
|
|
8161
8176
|
zi as renderSetGridItem,
|
|
8162
|
-
|
|
8177
|
+
Mi as renderSetHeading,
|
|
8163
8178
|
ft as renderSetIcon,
|
|
8164
8179
|
ge as renderSetImage,
|
|
8165
8180
|
Ti as renderSetInline,
|