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

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