@apexcura/ui-components 0.0.12-Beta57 → 0.0.12-Beta58

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
@@ -335,9 +335,6 @@ video {
335
335
  .visible {
336
336
  visibility: visible;
337
337
  }
338
- .m-\[10px\] {
339
- margin: 10px;
340
- }
341
338
  .table {
342
339
  display: table;
343
340
  }
@@ -347,71 +344,26 @@ video {
347
344
  .w-\[126px\] {
348
345
  width: 126px;
349
346
  }
350
- .rounded-\[8px\] {
351
- border-radius: 8px;
352
- }
353
347
  .rounded-full {
354
348
  border-radius: 9999px;
355
349
  }
356
- .\!border {
357
- border-width: 1px !important;
350
+ .border {
351
+ border-width: 1px;
358
352
  }
359
353
  .border-none {
360
354
  border-style: none;
361
355
  }
362
- .\!border-\[\#919191\] {
363
- --tw-border-opacity: 1 !important;
364
- border-color: rgb(145 145 145 / var(--tw-border-opacity)) !important;
365
- }
366
- .\!border-\[\#B8A4DE\] {
367
- --tw-border-opacity: 1 !important;
368
- border-color: rgb(184 164 222 / var(--tw-border-opacity)) !important;
369
- }
370
- .\!bg-\[\#E2D6F8\] {
371
- --tw-bg-opacity: 1 !important;
372
- background-color: rgb(226 214 248 / var(--tw-bg-opacity)) !important;
373
- }
374
- .\!bg-\[\#F2F2F2\] {
375
- --tw-bg-opacity: 1 !important;
376
- background-color: rgb(242 242 242 / var(--tw-bg-opacity)) !important;
377
- }
378
356
  .bg-purple-800 {
379
357
  --tw-bg-opacity: 1;
380
358
  background-color: rgb(107 33 168 / var(--tw-bg-opacity));
381
359
  }
382
- .p-\[6px\] {
383
- padding: 6px;
384
- }
385
- .text-center {
386
- text-align: center;
387
- }
388
360
  .italic {
389
361
  font-style: italic;
390
362
  }
391
- .\!text-black {
392
- --tw-text-opacity: 1 !important;
393
- color: rgb(0 0 0 / var(--tw-text-opacity)) !important;
394
- }
395
363
  .text-white {
396
364
  --tw-text-opacity: 1;
397
365
  color: rgb(255 255 255 / var(--tw-text-opacity));
398
366
  }
399
- .shadow-\[0px_0px_1px_1px_\#919191\] {
400
- --tw-shadow: 0px 0px 1px 1px #919191;
401
- --tw-shadow-colored: 0px 0px 1px 1px var(--tw-shadow-color);
402
- box-shadow:
403
- var(--tw-ring-offset-shadow, 0 0 #0000),
404
- var(--tw-ring-shadow, 0 0 #0000),
405
- var(--tw-shadow);
406
- }
407
- .shadow-\[0px_0px_1px_1px_\#B8A4DE\] {
408
- --tw-shadow: 0px 0px 1px 1px #B8A4DE;
409
- --tw-shadow-colored: 0px 0px 1px 1px var(--tw-shadow-color);
410
- box-shadow:
411
- var(--tw-ring-offset-shadow, 0 0 #0000),
412
- var(--tw-ring-shadow, 0 0 #0000),
413
- var(--tw-shadow);
414
- }
415
367
  .shadow-lg {
416
368
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
417
369
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
@@ -431,7 +383,3 @@ video {
431
383
  :where(.css-dev-only-do-not-override-1r287do).ant-radio-button-wrapper {
432
384
  border: 1px solid #919191;
433
385
  }
434
- .hover\:bg-\[\#F2F2F2\]:hover {
435
- --tw-bg-opacity: 1;
436
- background-color: rgb(242 242 242 / var(--tw-bg-opacity));
437
- }
package/dist/index.js CHANGED
@@ -185,9 +185,26 @@ var SelectElement = (props) => {
185
185
  // src/Components/RadioElement.tsx
186
186
  var import_react6 = __toESM(require("react"));
187
187
  var import_antd6 = require("antd");
188
- var containerClassName = " ";
189
- var className = "!bg-[#F2F2F2] !border !border-[#919191] rounded-[8px] p-[6px] m-[10px] hover:bg-[#F2F2F2] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
190
- var selectedClassName = "!bg-[#E2D6F8] !border !border-[#B8A4DE] rounded-[8px] p-[6px] m-[10px] shadow-[0px_0px_1px_1px_#B8A4DE] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
188
+ var radioStyle = {
189
+ background: "#F2F2F2",
190
+ border: "1px solid #919191",
191
+ borderRadius: "8px",
192
+ padding: "6px",
193
+ margin: "10px",
194
+ textAlign: "center",
195
+ color: "black",
196
+ boxShadow: "0px 0px 1px 1px #919191"
197
+ };
198
+ var selectedRadioStyle = {
199
+ background: "#E2D6F8",
200
+ border: "1px solid #B8A4DE",
201
+ borderRadius: "8px",
202
+ padding: "6px",
203
+ margin: "10px",
204
+ textAlign: "center",
205
+ color: "black",
206
+ boxShadow: "0px 0px 1px 1px #B8A4DE"
207
+ };
191
208
  var RadioElement = (props) => {
192
209
  const [isDisabled, setIsDisabled] = (0, import_react6.useState)(props.disabled);
193
210
  const [selectedValue, setSelectedValue] = (0, import_react6.useState)(props.value);
@@ -202,9 +219,9 @@ var RadioElement = (props) => {
202
219
  }
203
220
  };
204
221
  const getButtonStyle = (option) => {
205
- return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName}` : `${className} ${option.className}`;
222
+ return selectedValue === option.value ? `${selectedRadioStyle} ${option.selectedClassName}` : `${radioStyle} ${option.className}`;
206
223
  };
207
- return /* @__PURE__ */ import_react6.default.createElement("div", { className: containerClassName }, /* @__PURE__ */ import_react6.default.createElement(
224
+ return /* @__PURE__ */ import_react6.default.createElement("div", null, /* @__PURE__ */ import_react6.default.createElement(
208
225
  import_antd6.Radio.Group,
209
226
  {
210
227
  onChange: handleChange,
package/dist/index.mjs CHANGED
@@ -138,9 +138,26 @@ var SelectElement = (props) => {
138
138
  // src/Components/RadioElement.tsx
139
139
  import React6, { useState as useState2 } from "react";
140
140
  import { Radio } from "antd";
141
- var containerClassName = " ";
142
- var className = "!bg-[#F2F2F2] !border !border-[#919191] rounded-[8px] p-[6px] m-[10px] hover:bg-[#F2F2F2] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
143
- var selectedClassName = "!bg-[#E2D6F8] !border !border-[#B8A4DE] rounded-[8px] p-[6px] m-[10px] shadow-[0px_0px_1px_1px_#B8A4DE] text-center !text-black shadow-[0px_0px_1px_1px_#919191]";
141
+ var radioStyle = {
142
+ background: "#F2F2F2",
143
+ border: "1px solid #919191",
144
+ borderRadius: "8px",
145
+ padding: "6px",
146
+ margin: "10px",
147
+ textAlign: "center",
148
+ color: "black",
149
+ boxShadow: "0px 0px 1px 1px #919191"
150
+ };
151
+ var selectedRadioStyle = {
152
+ background: "#E2D6F8",
153
+ border: "1px solid #B8A4DE",
154
+ borderRadius: "8px",
155
+ padding: "6px",
156
+ margin: "10px",
157
+ textAlign: "center",
158
+ color: "black",
159
+ boxShadow: "0px 0px 1px 1px #B8A4DE"
160
+ };
144
161
  var RadioElement = (props) => {
145
162
  const [isDisabled, setIsDisabled] = useState2(props.disabled);
146
163
  const [selectedValue, setSelectedValue] = useState2(props.value);
@@ -155,9 +172,9 @@ var RadioElement = (props) => {
155
172
  }
156
173
  };
157
174
  const getButtonStyle = (option) => {
158
- return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName}` : `${className} ${option.className}`;
175
+ return selectedValue === option.value ? `${selectedRadioStyle} ${option.selectedClassName}` : `${radioStyle} ${option.className}`;
159
176
  };
160
- return /* @__PURE__ */ React6.createElement("div", { className: containerClassName }, /* @__PURE__ */ React6.createElement(
177
+ return /* @__PURE__ */ React6.createElement("div", null, /* @__PURE__ */ React6.createElement(
161
178
  Radio.Group,
162
179
  {
163
180
  onChange: handleChange,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.12-Beta57",
3
+ "version": "0.0.12-Beta58",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",