@apexcura/ui-components 0.0.12-Beta53 → 0.0.12-Beta55
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 +12 -12
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
- package/tailwind.config.js +2 -3
package/dist/index.css
CHANGED
|
@@ -356,34 +356,31 @@ 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
|
-
|
|
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;
|
|
383
380
|
background-color: rgb(107 33 168 / var(--tw-bg-opacity));
|
|
384
381
|
}
|
|
385
|
-
.p-\[
|
|
386
|
-
padding: 6px
|
|
382
|
+
.p-\[6px\] {
|
|
383
|
+
padding: 6px;
|
|
387
384
|
}
|
|
388
385
|
.text-center {
|
|
389
386
|
text-align: center;
|
|
@@ -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,8 +186,8 @@ 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-[
|
|
190
|
-
var selectedClassName = "!bg-[#E2D6F8] !border !border-[#B8A4DE] rounded-[8px] p-[
|
|
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]";
|
|
191
191
|
var RadioElement = (props) => {
|
|
192
192
|
const [isDisabled, setIsDisabled] = (0, import_react6.useState)(props.disabled);
|
|
193
193
|
const [selectedValue, setSelectedValue] = (0, import_react6.useState)(props.value);
|
|
@@ -202,14 +202,14 @@ var RadioElement = (props) => {
|
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
const getButtonStyle = (option) => {
|
|
205
|
-
return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName
|
|
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,8 +139,8 @@ 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-[
|
|
143
|
-
var selectedClassName = "!bg-[#E2D6F8] !border !border-[#B8A4DE] rounded-[8px] p-[
|
|
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]";
|
|
144
144
|
var RadioElement = (props) => {
|
|
145
145
|
const [isDisabled, setIsDisabled] = useState2(props.disabled);
|
|
146
146
|
const [selectedValue, setSelectedValue] = useState2(props.value);
|
|
@@ -155,14 +155,14 @@ var RadioElement = (props) => {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
const getButtonStyle = (option) => {
|
|
158
|
-
return selectedValue === option.value ? `${selectedClassName} ${option.selectedClassName
|
|
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