@octans/ui 1.3.0 → 1.4.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/style.css +1 -1
- package/dist/ui.js +91 -24
- package/dist/ui.umd.js +2 -2
- package/dist/utils/tokenUsage.d.ts +11 -0
- package/dist/utils/tokens.d.ts +1 -1
- package/package.json +4 -2
package/dist/ui.js
CHANGED
|
@@ -9604,18 +9604,18 @@ var bm = ["aria-label", "data-ui-tooltip"], xm = /*#__PURE__*/ J(/* @__PURE__ */
|
|
|
9604
9604
|
};
|
|
9605
9605
|
}
|
|
9606
9606
|
}), [["__cssModules", { $style: {
|
|
9607
|
-
Badge: "
|
|
9608
|
-
pip: "
|
|
9609
|
-
statusInfo: "
|
|
9610
|
-
statusSuccess: "
|
|
9611
|
-
statusWarning: "
|
|
9612
|
-
statusAttention: "
|
|
9613
|
-
statusError: "
|
|
9614
|
-
statusNew: "
|
|
9615
|
-
progressIncomplete: "
|
|
9616
|
-
progressPartiallyComplete: "
|
|
9617
|
-
progressComplete: "
|
|
9618
|
-
sizeSmall: "
|
|
9607
|
+
Badge: "_Badge_1n011_2",
|
|
9608
|
+
pip: "_pip_1n011_13",
|
|
9609
|
+
statusInfo: "_statusInfo_1n011_35",
|
|
9610
|
+
statusSuccess: "_statusSuccess_1n011_43",
|
|
9611
|
+
statusWarning: "_statusWarning_1n011_51",
|
|
9612
|
+
statusAttention: "_statusAttention_1n011_52",
|
|
9613
|
+
statusError: "_statusError_1n011_61",
|
|
9614
|
+
statusNew: "_statusNew_1n011_69",
|
|
9615
|
+
progressIncomplete: "_progressIncomplete_1n011_79",
|
|
9616
|
+
progressPartiallyComplete: "_progressPartiallyComplete_1n011_83",
|
|
9617
|
+
progressComplete: "_progressComplete_1n011_87",
|
|
9618
|
+
sizeSmall: "_sizeSmall_1n011_91"
|
|
9619
9619
|
} }]]), wm = y({
|
|
9620
9620
|
components: {
|
|
9621
9621
|
Icon: Y,
|
|
@@ -9636,18 +9636,18 @@ var bm = ["aria-label", "data-ui-tooltip"], xm = /*#__PURE__*/ J(/* @__PURE__ */
|
|
|
9636
9636
|
this.$emit("close");
|
|
9637
9637
|
} }
|
|
9638
9638
|
}), Tm = {
|
|
9639
|
-
Banner: "
|
|
9640
|
-
Icon: "
|
|
9641
|
-
content: "
|
|
9642
|
-
title: "
|
|
9643
|
-
close: "
|
|
9644
|
-
"status-default": "_status-
|
|
9645
|
-
"status-info": "_status-
|
|
9646
|
-
"status-success": "_status-
|
|
9647
|
-
"status-warning": "_status-
|
|
9648
|
-
"status-attention": "_status-
|
|
9649
|
-
"status-error": "_status-
|
|
9650
|
-
"status-new": "_status-
|
|
9639
|
+
Banner: "_Banner_1615y_2",
|
|
9640
|
+
Icon: "_Icon_1615y_9",
|
|
9641
|
+
content: "_content_1615y_14",
|
|
9642
|
+
title: "_title_1615y_23",
|
|
9643
|
+
close: "_close_1615y_28",
|
|
9644
|
+
"status-default": "_status-default_1615y_48",
|
|
9645
|
+
"status-info": "_status-info_1615y_54",
|
|
9646
|
+
"status-success": "_status-success_1615y_60",
|
|
9647
|
+
"status-warning": "_status-warning_1615y_66",
|
|
9648
|
+
"status-attention": "_status-attention_1615y_67",
|
|
9649
|
+
"status-error": "_status-error_1615y_73",
|
|
9650
|
+
"status-new": "_status-new_1615y_79"
|
|
9651
9651
|
};
|
|
9652
9652
|
//#endregion
|
|
9653
9653
|
//#region src/components/Banner/Banner.vue
|
|
@@ -20178,6 +20178,73 @@ var Kx = [
|
|
|
20178
20178
|
}
|
|
20179
20179
|
]
|
|
20180
20180
|
},
|
|
20181
|
+
{
|
|
20182
|
+
title: "Badge & Banner",
|
|
20183
|
+
tier: "semantic",
|
|
20184
|
+
description: "How strongly a status Badge or Banner tints itself with its role colour. Two dials rather than one, because a badge is a small object that has to hold its own against the card it sits on and a banner is a large panel where the same strength stops being a background. The four surfaces under each are DERIVED from that component’s dial — move the dial and all four follow; set one directly only to make a single status sit apart.",
|
|
20185
|
+
tokens: [
|
|
20186
|
+
{
|
|
20187
|
+
name: "badge-surface-strength",
|
|
20188
|
+
kind: "percent",
|
|
20189
|
+
description: "How much role colour a status Badge mixes in"
|
|
20190
|
+
},
|
|
20191
|
+
{
|
|
20192
|
+
name: "banner-surface-strength",
|
|
20193
|
+
kind: "percent",
|
|
20194
|
+
description: "How much role colour a status Banner mixes in"
|
|
20195
|
+
},
|
|
20196
|
+
{
|
|
20197
|
+
name: "badge-ink",
|
|
20198
|
+
kind: "color",
|
|
20199
|
+
description: "Forces one label colour on every status Badge. Unset = each status keeps its own text colour"
|
|
20200
|
+
},
|
|
20201
|
+
{
|
|
20202
|
+
name: "banner-ink",
|
|
20203
|
+
kind: "color",
|
|
20204
|
+
description: "Forces one label colour on every status Banner. Unset = each status keeps its own text colour"
|
|
20205
|
+
},
|
|
20206
|
+
{
|
|
20207
|
+
name: "badge-info-surface",
|
|
20208
|
+
kind: "color",
|
|
20209
|
+
description: "Derived from the Badge dial"
|
|
20210
|
+
},
|
|
20211
|
+
{
|
|
20212
|
+
name: "badge-success-surface",
|
|
20213
|
+
kind: "color",
|
|
20214
|
+
description: "Derived from the Badge dial"
|
|
20215
|
+
},
|
|
20216
|
+
{
|
|
20217
|
+
name: "badge-warning-surface",
|
|
20218
|
+
kind: "color",
|
|
20219
|
+
description: "Derived from the Badge dial"
|
|
20220
|
+
},
|
|
20221
|
+
{
|
|
20222
|
+
name: "badge-error-surface",
|
|
20223
|
+
kind: "color",
|
|
20224
|
+
description: "Derived from the Badge dial"
|
|
20225
|
+
},
|
|
20226
|
+
{
|
|
20227
|
+
name: "banner-info-surface",
|
|
20228
|
+
kind: "color",
|
|
20229
|
+
description: "Derived from the Banner dial"
|
|
20230
|
+
},
|
|
20231
|
+
{
|
|
20232
|
+
name: "banner-success-surface",
|
|
20233
|
+
kind: "color",
|
|
20234
|
+
description: "Derived from the Banner dial"
|
|
20235
|
+
},
|
|
20236
|
+
{
|
|
20237
|
+
name: "banner-warning-surface",
|
|
20238
|
+
kind: "color",
|
|
20239
|
+
description: "Derived from the Banner dial"
|
|
20240
|
+
},
|
|
20241
|
+
{
|
|
20242
|
+
name: "banner-error-surface",
|
|
20243
|
+
kind: "color",
|
|
20244
|
+
description: "Derived from the Banner dial"
|
|
20245
|
+
}
|
|
20246
|
+
]
|
|
20247
|
+
},
|
|
20181
20248
|
{
|
|
20182
20249
|
title: "Tabs",
|
|
20183
20250
|
tier: "semantic",
|