@apexcura/ui-components 0.0.12-Beta53 → 0.0.12-Beta54

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/index.css CHANGED
@@ -356,27 +356,24 @@ video {
356
356
  .\!border {
357
357
  border-width: 1px !important;
358
358
  }
359
- .border {
360
- border-width: 1px;
361
- }
362
359
  .border-none {
363
360
  border-style: none;
364
361
  }
362
+ .\!border-\[\#919191\] {
363
+ --tw-border-opacity: 1 !important;
364
+ border-color: rgb(145 145 145 / var(--tw-border-opacity)) !important;
365
+ }
365
366
  .\!border-\[\#B8A4DE\] {
366
367
  --tw-border-opacity: 1 !important;
367
368
  border-color: rgb(184 164 222 / var(--tw-border-opacity)) !important;
368
369
  }
369
- .border-\[\#919191\] {
370
- --tw-border-opacity: 1;
371
- border-color: rgb(145 145 145 / var(--tw-border-opacity));
372
- }
373
370
  .\!bg-\[\#E2D6F8\] {
374
371
  --tw-bg-opacity: 1 !important;
375
372
  background-color: rgb(226 214 248 / var(--tw-bg-opacity)) !important;
376
373
  }
377
- .bg-\[\#F2F2F2\] {
378
- --tw-bg-opacity: 1;
379
- background-color: rgb(242 242 242 / var(--tw-bg-opacity));
374
+ .\!bg-\[\#F2F2F2\] {
375
+ --tw-bg-opacity: 1 !important;
376
+ background-color: rgb(242 242 242 / var(--tw-bg-opacity)) !important;
380
377
  }
381
378
  .bg-purple-800 {
382
379
  --tw-bg-opacity: 1;
@@ -431,6 +428,9 @@ video {
431
428
  background-color: white;
432
429
  border: solid 1px #472D7A;
433
430
  }
431
+ :where(.css-dev-only-do-not-override-1r287do).ant-radio-button-wrapper {
432
+ border: 1px solid #919191;
433
+ }
434
434
  .hover\:bg-\[\#F2F2F2\]:hover {
435
435
  --tw-bg-opacity: 1;
436
436
  background-color: rgb(242 242 242 / var(--tw-bg-opacity));
package/dist/index.js CHANGED
@@ -186,7 +186,7 @@ var SelectElement = (props) => {
186
186
  var import_react6 = __toESM(require("react"));
187
187
  var import_antd6 = require("antd");
188
188
  var containerClassName = " ";
189
- var className = "bg-[#F2F2F2] border border-[#919191] rounded-[8px] p-[6px_6px] m-[10px] hover:bg-[#F2F2F2] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
189
+ var className = "!bg-[#F2F2F2] !border !border-[#919191] rounded-[8px] p-[6px_6px] m-[10px] hover:bg-[#F2F2F2] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
190
190
  var selectedClassName = "!bg-[#E2D6F8] !border !border-[#B8A4DE] rounded-[8px] p-[6px_6px] m-[10px] shadow-[0px_0px_1px_1px_#B8A4DE] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
191
191
  var RadioElement = (props) => {
192
192
  const [isDisabled, setIsDisabled] = (0, import_react6.useState)(props.disabled);
@@ -202,14 +202,14 @@ var RadioElement = (props) => {
202
202
  }
203
203
  };
204
204
  const getButtonStyle = (option) => {
205
- return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName || ""}` : `${className} ${option.className || ""}`;
205
+ return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName}` : `${className} ${option.className}`;
206
206
  };
207
207
  return /* @__PURE__ */ import_react6.default.createElement("div", { className: containerClassName }, /* @__PURE__ */ import_react6.default.createElement(
208
208
  import_antd6.Radio.Group,
209
209
  {
210
210
  onChange: handleChange,
211
211
  optionType,
212
- className: props.className || "",
212
+ className: props.className,
213
213
  value: selectedValue
214
214
  },
215
215
  props.options && props.options.map((option) => /* @__PURE__ */ import_react6.default.createElement(
package/dist/index.mjs CHANGED
@@ -139,7 +139,7 @@ var SelectElement = (props) => {
139
139
  import React6, { useState as useState2 } from "react";
140
140
  import { Radio } from "antd";
141
141
  var containerClassName = " ";
142
- var className = "bg-[#F2F2F2] border border-[#919191] rounded-[8px] p-[6px_6px] m-[10px] hover:bg-[#F2F2F2] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
142
+ var className = "!bg-[#F2F2F2] !border !border-[#919191] rounded-[8px] p-[6px_6px] m-[10px] hover:bg-[#F2F2F2] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
143
143
  var selectedClassName = "!bg-[#E2D6F8] !border !border-[#B8A4DE] rounded-[8px] p-[6px_6px] m-[10px] shadow-[0px_0px_1px_1px_#B8A4DE] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
144
144
  var RadioElement = (props) => {
145
145
  const [isDisabled, setIsDisabled] = useState2(props.disabled);
@@ -155,14 +155,14 @@ var RadioElement = (props) => {
155
155
  }
156
156
  };
157
157
  const getButtonStyle = (option) => {
158
- return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName || ""}` : `${className} ${option.className || ""}`;
158
+ return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName}` : `${className} ${option.className}`;
159
159
  };
160
160
  return /* @__PURE__ */ React6.createElement("div", { className: containerClassName }, /* @__PURE__ */ React6.createElement(
161
161
  Radio.Group,
162
162
  {
163
163
  onChange: handleChange,
164
164
  optionType,
165
- className: props.className || "",
165
+ className: props.className,
166
166
  value: selectedValue
167
167
  },
168
168
  props.options && props.options.map((option) => /* @__PURE__ */ React6.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.12-Beta53",
3
+ "version": "0.0.12-Beta54",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",
@@ -1,10 +1,9 @@
1
- /** @type {import('tailwindcss').Config} */
2
1
  module.exports = {
3
2
  content: [
4
- "./src/**/*.{js,jsx,ts,tsx}",
3
+ "./src/**/*.{html,js,ts,jsx,tsx}",
5
4
  ],
6
5
  theme: {
7
6
  extend: {},
8
7
  },
9
8
  plugins: [],
10
- }
9
+ }