@luscii-healthtech/web-ui 20.1.0 → 20.1.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/Text/Text.d.ts +4 -4
- package/dist/index.development.js +21 -21
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/web-ui-tailwind.css +5 -0
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,13 +9,13 @@ import "./Text.css";
|
|
|
9
9
|
*/
|
|
10
10
|
declare const allowedTextStyles: {
|
|
11
11
|
readonly sm: "ui-text-xs ui-font-medium";
|
|
12
|
-
readonly "sm-strong": "ui-text-xs ui-font-semibold";
|
|
12
|
+
readonly "sm-strong": "ui-text-xs ui-font-semibold ui-antialiased";
|
|
13
13
|
readonly base: "ui-text-sm";
|
|
14
|
-
readonly strong: "ui-text-sm ui-font-semibold";
|
|
14
|
+
readonly strong: "ui-text-sm ui-font-semibold ui-antialiased";
|
|
15
15
|
readonly lg: "";
|
|
16
|
-
readonly "lg-strong": "ui-font-semibold";
|
|
16
|
+
readonly "lg-strong": "ui-font-semibold ui-antialiased";
|
|
17
17
|
readonly xl: "ui-text-lg";
|
|
18
|
-
readonly "xl-strong": "ui-font-semibold ui-text-lg";
|
|
18
|
+
readonly "xl-strong": "ui-font-semibold ui-text-lg ui-antialiased";
|
|
19
19
|
};
|
|
20
20
|
export declare const allowedColors: {
|
|
21
21
|
readonly base: "ui-text-slate-800";
|
|
@@ -179,13 +179,13 @@ styleInject(css_248z$m);
|
|
|
179
179
|
|
|
180
180
|
const allowedTextStyles = {
|
|
181
181
|
sm: "ui-text-xs ui-font-medium",
|
|
182
|
-
"sm-strong": "ui-text-xs ui-font-semibold",
|
|
182
|
+
"sm-strong": "ui-text-xs ui-font-semibold ui-antialiased",
|
|
183
183
|
base: "ui-text-sm",
|
|
184
|
-
strong: "ui-text-sm ui-font-semibold",
|
|
184
|
+
strong: "ui-text-sm ui-font-semibold ui-antialiased",
|
|
185
185
|
lg: "",
|
|
186
|
-
"lg-strong": "ui-font-semibold",
|
|
186
|
+
"lg-strong": "ui-font-semibold ui-antialiased",
|
|
187
187
|
xl: "ui-text-lg",
|
|
188
|
-
"xl-strong": "ui-font-semibold ui-text-lg"
|
|
188
|
+
"xl-strong": "ui-font-semibold ui-text-lg ui-antialiased"
|
|
189
189
|
};
|
|
190
190
|
const allowedColors = {
|
|
191
191
|
base: "ui-text-slate-800",
|
|
@@ -244,37 +244,37 @@ const IconWrapper = (SVGComponent) => (props) => React__namespace.default.create
|
|
|
244
244
|
|
|
245
245
|
const SvgChartLineColoredIcon = (props) => React__namespace.default.createElement(
|
|
246
246
|
"svg",
|
|
247
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0
|
|
248
|
-
React__namespace.default.createElement("path", {
|
|
249
|
-
React__namespace.default.createElement("circle", { cx:
|
|
250
|
-
React__namespace.default.createElement("circle", { cx:
|
|
251
|
-
React__namespace.default.createElement("circle", { cx:
|
|
252
|
-
React__namespace.default.createElement("circle", { cx:
|
|
247
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
248
|
+
React__namespace.default.createElement("path", { stroke: "#F09", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M2.612 16.078 10 9l5 5.5 5.612-6.422" }),
|
|
249
|
+
React__namespace.default.createElement("circle", { cx: 10, cy: 9, r: 2, fill: "#FF82AB" }),
|
|
250
|
+
React__namespace.default.createElement("circle", { cx: 3, cy: 16, r: 2, fill: "#FF82AB" }),
|
|
251
|
+
React__namespace.default.createElement("circle", { cx: 15, cy: 14, r: 2, fill: "#FF82AB" }),
|
|
252
|
+
React__namespace.default.createElement("circle", { cx: 21, cy: 8, r: 2, fill: "#FF82AB" })
|
|
253
253
|
);
|
|
254
254
|
var ChartLineColoredIcon = IconWrapper(SvgChartLineColoredIcon);
|
|
255
255
|
|
|
256
256
|
const SvgGearColoredIcon = (props) => React__namespace.default.createElement(
|
|
257
257
|
"svg",
|
|
258
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0
|
|
259
|
-
React__namespace.default.createElement("path", { fill: "#6670A5", d: "
|
|
260
|
-
React__namespace.default.createElement("circle", { cx:
|
|
258
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
259
|
+
React__namespace.default.createElement("path", { fill: "#6670A5", d: "M11.285 2.364a.885.885 0 0 1 1.43 0l1.77 2.43a.885.885 0 0 0 .853.353l2.97-.466a.885.885 0 0 1 1.012 1.011l-.467 2.97a.885.885 0 0 0 .353.853l2.43 1.77a.885.885 0 0 1 0 1.43l-2.43 1.77a.885.885 0 0 0-.353.853l.466 2.97a.885.885 0 0 1-1.011 1.012l-2.97-.467a.885.885 0 0 0-.853.353l-1.77 2.43a.885.885 0 0 1-1.43 0l-1.77-2.43a.885.885 0 0 0-.853-.353l-2.97.466a.885.885 0 0 1-1.011-1.011l.466-2.97a.885.885 0 0 0-.353-.853l-2.43-1.77a.885.885 0 0 1 0-1.43l2.43-1.77a.885.885 0 0 0 .353-.853l-.466-2.97a.885.885 0 0 1 1.011-1.011l2.97.466a.885.885 0 0 0 .853-.353l1.77-2.43Z" }),
|
|
260
|
+
React__namespace.default.createElement("circle", { cx: 12, cy: 12, r: 3, fill: "#383B6D" })
|
|
261
261
|
);
|
|
262
262
|
var GearColoredIcon = IconWrapper(SvgGearColoredIcon);
|
|
263
263
|
|
|
264
264
|
const SvgGroupColoredIcon = (props) => React__namespace.default.createElement(
|
|
265
265
|
"svg",
|
|
266
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0
|
|
267
|
-
React__namespace.default.createElement("path", { fill: "#6ABFA5", d: "
|
|
268
|
-
React__namespace.default.createElement("path", { fill: "#559783", d: "
|
|
266
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
267
|
+
React__namespace.default.createElement("path", { fill: "#6ABFA5", d: "M2.938 20a.905.905 0 0 1-.668-.27.905.905 0 0 1-.27-.668v-1.687c0-.531.137-1.02.41-1.465a2.732 2.732 0 0 1 1.09-1.02 13.941 13.941 0 0 1 2.953-1.09c1-.242 2.016-.363 3.047-.363 1.031 0 2.047.121 3.047.363 1 .243 1.984.606 2.953 1.09.453.235.816.575 1.09 1.02.273.445.41.934.41 1.465v1.688c0 .265-.09.488-.27.667a.905.905 0 0 1-.668.27H2.938ZM9.5 12.5c-1.031 0-1.914-.367-2.648-1.102-.735-.734-1.102-1.617-1.102-2.648 0-1.031.367-1.914 1.102-2.648C7.586 5.367 8.469 5 9.5 5c1.031 0 1.914.367 2.648 1.102.735.734 1.102 1.617 1.102 2.648 0 1.031-.367 1.914-1.102 2.648-.734.735-1.617 1.102-2.648 1.102Z" }),
|
|
268
|
+
React__namespace.default.createElement("path", { fill: "#559783", d: "M17.715 20c.144-.11.256-.246.335-.41.08-.164.12-.348.12-.55v-1.852c0-.688-.195-1.348-.586-1.981-.391-.633-.946-1.176-1.664-1.629a12.15 12.15 0 0 1 4.309 1.313c.574.312 1.013.66 1.316 1.042.303.383.455.801.455 1.255v1.875a.895.895 0 0 1-.276.667.934.934 0 0 1-.681.27h-3.328Zm.455-11.25c0 1.031-.375 1.914-1.125 2.648A3.727 3.727 0 0 1 14.34 12.5a5.04 5.04 0 0 1-.67-.058 6.026 6.026 0 0 1-.67-.13c.43-.5.762-1.054.993-1.664a5.288 5.288 0 0 0 .347-1.898c0-.656-.115-1.29-.347-1.898A5.541 5.541 0 0 0 13 5.187a2.98 2.98 0 0 1 .67-.152c.224-.023.447-.035.67-.035 1.054 0 1.955.367 2.705 1.102.75.734 1.125 1.617 1.125 2.648Z" })
|
|
269
269
|
);
|
|
270
270
|
var GroupColoredIcon = IconWrapper(SvgGroupColoredIcon);
|
|
271
271
|
|
|
272
272
|
const SvgStatusColoredIcon = (props) => React__namespace.default.createElement(
|
|
273
273
|
"svg",
|
|
274
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0
|
|
275
|
-
React__namespace.default.createElement("rect", { width:
|
|
276
|
-
React__namespace.default.createElement("circle", { cx:
|
|
277
|
-
React__namespace.default.createElement("circle", { cx:
|
|
274
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
275
|
+
React__namespace.default.createElement("rect", { width: 14, height: 20, x: 5, y: 2, fill: "#374151", rx: 2 }),
|
|
276
|
+
React__namespace.default.createElement("circle", { cx: 12, cy: 8, r: 3, fill: "#fff" }),
|
|
277
|
+
React__namespace.default.createElement("circle", { cx: 12, cy: 16, r: 3, fill: "#E86967" })
|
|
278
278
|
);
|
|
279
279
|
var StatusColoredIcon = IconWrapper(SvgStatusColoredIcon);
|
|
280
280
|
|
|
@@ -954,7 +954,7 @@ styleInject(css_248z$k);
|
|
|
954
954
|
const Title = (props) => {
|
|
955
955
|
var _a, _b;
|
|
956
956
|
const isSmallTitle = props.type === "xs" || props.type === "sm";
|
|
957
|
-
const containerClassName = classNames__default.default("ui-font-bold ui-leading-inherit", allowedColors[(_a = props.color) !== null && _a !== void 0 ? _a : "base"], {
|
|
957
|
+
const containerClassName = classNames__default.default("ui-font-bold ui-leading-inherit ui-antialiased", allowedColors[(_a = props.color) !== null && _a !== void 0 ? _a : "base"], {
|
|
958
958
|
"title-inter": isSmallTitle,
|
|
959
959
|
"title-avenir": !isSmallTitle
|
|
960
960
|
//this is used to load the correct font from the css
|