@ayseaistudio/ui-components 3.11.7 → 3.11.8

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.
@@ -5,7 +5,7 @@ import { Label } from "../Label/Label";
5
5
  import "./style.css";
6
6
  import { IconCheck, IconX } from "@tabler/icons-react";
7
7
  export const CallCenterTasks = ({ status, className, strikethroughText = "Selamlaşma ve kendini tanıtma.", labelText, index = 1, }) => {
8
- return (_jsxs("div", { className: `call-center-tasks ${className}`, children: [_jsx("div", { className: "frame-5", "data-status": status, children: _jsx("div", { className: `frame-6 status-4-${status}` }) }), _jsx(Label, { bold: "on", className: "label-2", color: status === "warning" ? "galliano" : "black", size: "medium", spacing: "on", stroke: "off", text: labelText || index.toString(), version: "primary" }), _jsx("div", { className: `frame-7 status-5-${status}`, children: _jsx(Checkbox, { className: "strikethrough-checkbox", color: status === "warning" ? "galliano" : "black", size: "medium", status: status === "default" ? "default" : "selected", text: strikethroughText, icon: status === "warning" ? _jsx(IconX, { size: 16, color: "rgba(241, 241, 241, 1)" }) : _jsx(IconCheck, { size: 16, color: "rgba(241, 241, 241, 1)" }) }) })] }));
8
+ return (_jsxs("div", { className: `call-center-tasks ${className}`, children: [_jsx("div", { className: "frame-5", "data-status": status, children: _jsx("div", { className: `frame-6 status-4-${status}` }) }), _jsx(Label, { bold: "on", className: "label-2", color: status === "warning" ? "galliano" : "black", size: "medium", spacing: "on", stroke: "off", text: labelText || index.toString(), divClassName: "call-center-task-index", version: "primary" }), _jsx("div", { className: `frame-7 status-5-${status}`, children: _jsx(Checkbox, { className: "strikethrough-checkbox", color: status === "warning" ? "galliano" : "black", size: "medium", status: status === "default" ? "default" : "selected", text: strikethroughText, icon: status === "warning" ? _jsx(IconX, { size: 16, color: "rgba(241, 241, 241, 1)" }) : _jsx(IconCheck, { size: 16, color: "rgba(241, 241, 241, 1)" }) }) })] }));
9
9
  };
10
10
  CallCenterTasks.propTypes = {
11
11
  status: PropTypes.oneOf(["warning", "complete", "default"]),
@@ -46,7 +46,13 @@
46
46
 
47
47
  .call-center-tasks .label-2 {
48
48
  flex: 0 0 auto !important;
49
-
49
+ }
50
+
51
+ .call-center-tasks .call-center-task-index {
52
+ font-variant-numeric: tabular-nums;
53
+ -moz-font-feature-settings: "tnum";
54
+ -webkit-font-feature-settings: "tnum";
55
+ font-feature-settings: "tnum";
50
56
  }
51
57
 
52
58
  .call-center-tasks .divide-vertical-2 {
@@ -116,7 +122,7 @@
116
122
  width: 16px !important;
117
123
  }
118
124
 
119
- .call-center-tasks .status-4-warning .field {
125
+ .call-center-tasks .status-4-warning {
120
126
  background-color: #d7af1b;
121
127
  }
122
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayseaistudio/ui-components",
3
- "version": "3.11.7",
3
+ "version": "3.11.8",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",