@julseb-lib/react 0.1.41 → 0.1.42
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.cjs +53 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +53 -20
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.d.cts +3 -1
- package/dist/types/components-props.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5673,6 +5673,7 @@ var Input = (_a) => {
|
|
|
5673
5673
|
labelComment,
|
|
5674
5674
|
helper,
|
|
5675
5675
|
helperBottom,
|
|
5676
|
+
containerClassName,
|
|
5676
5677
|
validation: validation,
|
|
5677
5678
|
value,
|
|
5678
5679
|
counter: counter,
|
|
@@ -5685,6 +5686,7 @@ var Input = (_a) => {
|
|
|
5685
5686
|
"labelComment",
|
|
5686
5687
|
"helper",
|
|
5687
5688
|
"helperBottom",
|
|
5689
|
+
"containerClassName",
|
|
5688
5690
|
// @ts-ignore
|
|
5689
5691
|
"validation",
|
|
5690
5692
|
"value",
|
|
@@ -5705,6 +5707,7 @@ var Input = (_a) => {
|
|
|
5705
5707
|
counter,
|
|
5706
5708
|
maxLength,
|
|
5707
5709
|
id,
|
|
5710
|
+
className: containerClassName,
|
|
5708
5711
|
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5709
5712
|
InputFunction,
|
|
5710
5713
|
__spreadValues({
|
|
@@ -5776,7 +5779,8 @@ var InputImage = (_a) => {
|
|
|
5776
5779
|
icons,
|
|
5777
5780
|
borderRadius = "md",
|
|
5778
5781
|
disabled,
|
|
5779
|
-
id
|
|
5782
|
+
id,
|
|
5783
|
+
containerClassName
|
|
5780
5784
|
} = _b, rest = __objRest(_b, [
|
|
5781
5785
|
"className",
|
|
5782
5786
|
"ref",
|
|
@@ -5789,7 +5793,8 @@ var InputImage = (_a) => {
|
|
|
5789
5793
|
"icons",
|
|
5790
5794
|
"borderRadius",
|
|
5791
5795
|
"disabled",
|
|
5792
|
-
"id"
|
|
5796
|
+
"id",
|
|
5797
|
+
"containerClassName"
|
|
5793
5798
|
]);
|
|
5794
5799
|
const [isHovered, setIsHovered] = (0, import_react28.useState)(false);
|
|
5795
5800
|
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
@@ -5800,6 +5805,7 @@ var InputImage = (_a) => {
|
|
|
5800
5805
|
helper,
|
|
5801
5806
|
helperBottom,
|
|
5802
5807
|
validation,
|
|
5808
|
+
className: containerClassName,
|
|
5803
5809
|
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
5804
5810
|
"label",
|
|
5805
5811
|
{
|
|
@@ -7122,7 +7128,8 @@ var InputPhone = (_a) => {
|
|
|
7122
7128
|
helperBottom,
|
|
7123
7129
|
validation,
|
|
7124
7130
|
inputVariant,
|
|
7125
|
-
inputBackground
|
|
7131
|
+
inputBackground,
|
|
7132
|
+
containerClassName
|
|
7126
7133
|
} = _b, rest = __objRest(_b, [
|
|
7127
7134
|
"className",
|
|
7128
7135
|
"ref",
|
|
@@ -7141,7 +7148,8 @@ var InputPhone = (_a) => {
|
|
|
7141
7148
|
"helperBottom",
|
|
7142
7149
|
"validation",
|
|
7143
7150
|
"inputVariant",
|
|
7144
|
-
"inputBackground"
|
|
7151
|
+
"inputBackground",
|
|
7152
|
+
"containerClassName"
|
|
7145
7153
|
]);
|
|
7146
7154
|
var _a2, _b2;
|
|
7147
7155
|
const [isOpen, setIsOpen] = (0, import_react29.useState)(false);
|
|
@@ -7166,6 +7174,7 @@ var InputPhone = (_a) => {
|
|
|
7166
7174
|
helperBottom,
|
|
7167
7175
|
validation,
|
|
7168
7176
|
hasListOpen: isOpen,
|
|
7177
|
+
className: containerClassName,
|
|
7169
7178
|
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(InputWithListWrapper, { isOpen, children: [
|
|
7170
7179
|
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
7171
7180
|
InputWrapper,
|
|
@@ -7343,7 +7352,8 @@ var InputCounter = (_a) => {
|
|
|
7343
7352
|
id,
|
|
7344
7353
|
min = 1,
|
|
7345
7354
|
max = 100,
|
|
7346
|
-
step = 1
|
|
7355
|
+
step = 1,
|
|
7356
|
+
containerClassName
|
|
7347
7357
|
} = _b, rest = __objRest(_b, [
|
|
7348
7358
|
"className",
|
|
7349
7359
|
"ref",
|
|
@@ -7364,7 +7374,8 @@ var InputCounter = (_a) => {
|
|
|
7364
7374
|
"id",
|
|
7365
7375
|
"min",
|
|
7366
7376
|
"max",
|
|
7367
|
-
"step"
|
|
7377
|
+
"step",
|
|
7378
|
+
"containerClassName"
|
|
7368
7379
|
]);
|
|
7369
7380
|
var _a2, _b2;
|
|
7370
7381
|
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
@@ -7375,6 +7386,7 @@ var InputCounter = (_a) => {
|
|
|
7375
7386
|
helper,
|
|
7376
7387
|
helperBottom,
|
|
7377
7388
|
id,
|
|
7389
|
+
className: containerClassName,
|
|
7378
7390
|
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7379
7391
|
"div",
|
|
7380
7392
|
{
|
|
@@ -7456,7 +7468,8 @@ var InputSlider = (_a) => {
|
|
|
7456
7468
|
showValue = "never",
|
|
7457
7469
|
min = 0,
|
|
7458
7470
|
max = 100,
|
|
7459
|
-
value
|
|
7471
|
+
value,
|
|
7472
|
+
containerClassName
|
|
7460
7473
|
} = _b, rest = __objRest(_b, [
|
|
7461
7474
|
"className",
|
|
7462
7475
|
"ref",
|
|
@@ -7470,7 +7483,8 @@ var InputSlider = (_a) => {
|
|
|
7470
7483
|
"showValue",
|
|
7471
7484
|
"min",
|
|
7472
7485
|
"max",
|
|
7473
|
-
"value"
|
|
7486
|
+
"value",
|
|
7487
|
+
"containerClassName"
|
|
7474
7488
|
]);
|
|
7475
7489
|
const percentage = (Number(value) - min) / (max - min) * 100;
|
|
7476
7490
|
const [isTooltipVisible, setIsTooltipVisible] = (0, import_react30.useState)(
|
|
@@ -7507,6 +7521,7 @@ var InputSlider = (_a) => {
|
|
|
7507
7521
|
helperBottom,
|
|
7508
7522
|
id,
|
|
7509
7523
|
validation,
|
|
7524
|
+
className: containerClassName,
|
|
7510
7525
|
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
7511
7526
|
"div",
|
|
7512
7527
|
{
|
|
@@ -7580,7 +7595,8 @@ var Select = (_a) => {
|
|
|
7580
7595
|
helperBottom,
|
|
7581
7596
|
id,
|
|
7582
7597
|
validation,
|
|
7583
|
-
disabled
|
|
7598
|
+
disabled,
|
|
7599
|
+
containerClassName
|
|
7584
7600
|
} = _b, rest = __objRest(_b, [
|
|
7585
7601
|
"className",
|
|
7586
7602
|
"ref",
|
|
@@ -7597,7 +7613,8 @@ var Select = (_a) => {
|
|
|
7597
7613
|
"helperBottom",
|
|
7598
7614
|
"id",
|
|
7599
7615
|
"validation",
|
|
7600
|
-
"disabled"
|
|
7616
|
+
"disabled",
|
|
7617
|
+
"containerClassName"
|
|
7601
7618
|
]);
|
|
7602
7619
|
var _a2;
|
|
7603
7620
|
const el = (0, import_react31.useRef)(null);
|
|
@@ -7618,6 +7635,7 @@ var Select = (_a) => {
|
|
|
7618
7635
|
helperBottom,
|
|
7619
7636
|
hasListOpen: isOpen,
|
|
7620
7637
|
validation,
|
|
7638
|
+
className: containerClassName,
|
|
7621
7639
|
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(InputWithListWrapper, { ref: el, isOpen, children: [
|
|
7622
7640
|
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
7623
7641
|
InputWrapper,
|
|
@@ -7732,7 +7750,8 @@ var Autocomplete = (_a) => {
|
|
|
7732
7750
|
showKeys,
|
|
7733
7751
|
textNoResult = "No result.",
|
|
7734
7752
|
disabled,
|
|
7735
|
-
validation
|
|
7753
|
+
validation,
|
|
7754
|
+
containerClassName
|
|
7736
7755
|
} = _b, rest = __objRest(_b, [
|
|
7737
7756
|
"className",
|
|
7738
7757
|
"ref",
|
|
@@ -7753,7 +7772,8 @@ var Autocomplete = (_a) => {
|
|
|
7753
7772
|
"showKeys",
|
|
7754
7773
|
"textNoResult",
|
|
7755
7774
|
"disabled",
|
|
7756
|
-
"validation"
|
|
7775
|
+
"validation",
|
|
7776
|
+
"containerClassName"
|
|
7757
7777
|
]);
|
|
7758
7778
|
var _a2;
|
|
7759
7779
|
const isTouchScreen = useTouchScreen();
|
|
@@ -7784,6 +7804,7 @@ var Autocomplete = (_a) => {
|
|
|
7784
7804
|
id,
|
|
7785
7805
|
validation,
|
|
7786
7806
|
hasListOpen: isOpen,
|
|
7807
|
+
className: containerClassName,
|
|
7787
7808
|
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(InputWithListWrapper, { isOpen, children: [
|
|
7788
7809
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
7789
7810
|
InputWrapper,
|
|
@@ -7897,7 +7918,8 @@ var Rating = (_a) => {
|
|
|
7897
7918
|
helper,
|
|
7898
7919
|
helperBottom,
|
|
7899
7920
|
id,
|
|
7900
|
-
validation
|
|
7921
|
+
validation,
|
|
7922
|
+
containerClassName
|
|
7901
7923
|
} = _b, rest = __objRest(_b, [
|
|
7902
7924
|
"className",
|
|
7903
7925
|
"ref",
|
|
@@ -7910,7 +7932,8 @@ var Rating = (_a) => {
|
|
|
7910
7932
|
"helper",
|
|
7911
7933
|
"helperBottom",
|
|
7912
7934
|
"id",
|
|
7913
|
-
"validation"
|
|
7935
|
+
"validation",
|
|
7936
|
+
"containerClassName"
|
|
7914
7937
|
]);
|
|
7915
7938
|
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
7916
7939
|
InputContainer,
|
|
@@ -7920,6 +7943,7 @@ var Rating = (_a) => {
|
|
|
7920
7943
|
helper,
|
|
7921
7944
|
helperBottom,
|
|
7922
7945
|
id,
|
|
7946
|
+
className: containerClassName,
|
|
7923
7947
|
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
7924
7948
|
"div",
|
|
7925
7949
|
__spreadProps(__spreadValues({
|
|
@@ -7982,7 +8006,8 @@ var InputPin = (_a) => {
|
|
|
7982
8006
|
hideValues,
|
|
7983
8007
|
disabled,
|
|
7984
8008
|
inputBackground,
|
|
7985
|
-
autoFocus
|
|
8009
|
+
autoFocus,
|
|
8010
|
+
containerClassName
|
|
7986
8011
|
} = _b, rest = __objRest(_b, [
|
|
7987
8012
|
"className",
|
|
7988
8013
|
"ref",
|
|
@@ -7998,7 +8023,8 @@ var InputPin = (_a) => {
|
|
|
7998
8023
|
"hideValues",
|
|
7999
8024
|
"disabled",
|
|
8000
8025
|
"inputBackground",
|
|
8001
|
-
"autoFocus"
|
|
8026
|
+
"autoFocus",
|
|
8027
|
+
"containerClassName"
|
|
8002
8028
|
]);
|
|
8003
8029
|
const [inputsRefsArr] = (0, import_react33.useState)(
|
|
8004
8030
|
() => Array.from({ length: Object.keys(values).length }, () => (0, import_react33.createRef)())
|
|
@@ -8019,6 +8045,7 @@ var InputPin = (_a) => {
|
|
|
8019
8045
|
helperBottom,
|
|
8020
8046
|
id,
|
|
8021
8047
|
validation,
|
|
8048
|
+
className: containerClassName,
|
|
8022
8049
|
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
8023
8050
|
"div",
|
|
8024
8051
|
__spreadProps(__spreadValues({
|
|
@@ -8075,7 +8102,8 @@ var Fieldset = (_a) => {
|
|
|
8075
8102
|
id,
|
|
8076
8103
|
validation,
|
|
8077
8104
|
legend,
|
|
8078
|
-
borderRadius = "md"
|
|
8105
|
+
borderRadius = "md",
|
|
8106
|
+
containerClassName
|
|
8079
8107
|
} = _b, rest = __objRest(_b, [
|
|
8080
8108
|
"className",
|
|
8081
8109
|
"ref",
|
|
@@ -8087,7 +8115,8 @@ var Fieldset = (_a) => {
|
|
|
8087
8115
|
"id",
|
|
8088
8116
|
"validation",
|
|
8089
8117
|
"legend",
|
|
8090
|
-
"borderRadius"
|
|
8118
|
+
"borderRadius",
|
|
8119
|
+
"containerClassName"
|
|
8091
8120
|
]);
|
|
8092
8121
|
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
8093
8122
|
InputContainer,
|
|
@@ -8098,6 +8127,7 @@ var Fieldset = (_a) => {
|
|
|
8098
8127
|
helperBottom,
|
|
8099
8128
|
id,
|
|
8100
8129
|
validation,
|
|
8130
|
+
className: containerClassName,
|
|
8101
8131
|
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
8102
8132
|
"fieldset",
|
|
8103
8133
|
__spreadProps(__spreadValues({
|
|
@@ -10827,7 +10857,8 @@ var MarkdownEditor = (_a) => {
|
|
|
10827
10857
|
defaultView = "live",
|
|
10828
10858
|
options,
|
|
10829
10859
|
textButtonTitles = "Titles",
|
|
10830
|
-
icons
|
|
10860
|
+
icons,
|
|
10861
|
+
containerClassName
|
|
10831
10862
|
} = _b, rest = __objRest(_b, [
|
|
10832
10863
|
"className",
|
|
10833
10864
|
"ref",
|
|
@@ -10843,7 +10874,8 @@ var MarkdownEditor = (_a) => {
|
|
|
10843
10874
|
"defaultView",
|
|
10844
10875
|
"options",
|
|
10845
10876
|
"textButtonTitles",
|
|
10846
|
-
"icons"
|
|
10877
|
+
"icons",
|
|
10878
|
+
"containerClassName"
|
|
10847
10879
|
]);
|
|
10848
10880
|
const [view, setView] = (0, import_react50.useState)(defaultView);
|
|
10849
10881
|
const [isTitlesOpen, setIsTitlesOpen] = (0, import_react50.useState)(false);
|
|
@@ -10862,6 +10894,7 @@ var MarkdownEditor = (_a) => {
|
|
|
10862
10894
|
helperBottom,
|
|
10863
10895
|
validation,
|
|
10864
10896
|
hasListOpen: isTitlesOpen,
|
|
10897
|
+
className: containerClassName,
|
|
10865
10898
|
children: /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(
|
|
10866
10899
|
"div",
|
|
10867
10900
|
{
|