@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.js
CHANGED
|
@@ -5495,6 +5495,7 @@ var Input = (_a) => {
|
|
|
5495
5495
|
labelComment,
|
|
5496
5496
|
helper,
|
|
5497
5497
|
helperBottom,
|
|
5498
|
+
containerClassName,
|
|
5498
5499
|
validation: validation,
|
|
5499
5500
|
value,
|
|
5500
5501
|
counter: counter,
|
|
@@ -5507,6 +5508,7 @@ var Input = (_a) => {
|
|
|
5507
5508
|
"labelComment",
|
|
5508
5509
|
"helper",
|
|
5509
5510
|
"helperBottom",
|
|
5511
|
+
"containerClassName",
|
|
5510
5512
|
// @ts-ignore
|
|
5511
5513
|
"validation",
|
|
5512
5514
|
"value",
|
|
@@ -5527,6 +5529,7 @@ var Input = (_a) => {
|
|
|
5527
5529
|
counter,
|
|
5528
5530
|
maxLength,
|
|
5529
5531
|
id,
|
|
5532
|
+
className: containerClassName,
|
|
5530
5533
|
children: /* @__PURE__ */ jsx66(
|
|
5531
5534
|
InputFunction,
|
|
5532
5535
|
__spreadValues({
|
|
@@ -5598,7 +5601,8 @@ var InputImage = (_a) => {
|
|
|
5598
5601
|
icons,
|
|
5599
5602
|
borderRadius = "md",
|
|
5600
5603
|
disabled,
|
|
5601
|
-
id
|
|
5604
|
+
id,
|
|
5605
|
+
containerClassName
|
|
5602
5606
|
} = _b, rest = __objRest(_b, [
|
|
5603
5607
|
"className",
|
|
5604
5608
|
"ref",
|
|
@@ -5611,7 +5615,8 @@ var InputImage = (_a) => {
|
|
|
5611
5615
|
"icons",
|
|
5612
5616
|
"borderRadius",
|
|
5613
5617
|
"disabled",
|
|
5614
|
-
"id"
|
|
5618
|
+
"id",
|
|
5619
|
+
"containerClassName"
|
|
5615
5620
|
]);
|
|
5616
5621
|
const [isHovered, setIsHovered] = useState15(false);
|
|
5617
5622
|
return /* @__PURE__ */ jsx69(
|
|
@@ -5622,6 +5627,7 @@ var InputImage = (_a) => {
|
|
|
5622
5627
|
helper,
|
|
5623
5628
|
helperBottom,
|
|
5624
5629
|
validation,
|
|
5630
|
+
className: containerClassName,
|
|
5625
5631
|
children: /* @__PURE__ */ jsxs23(
|
|
5626
5632
|
"label",
|
|
5627
5633
|
{
|
|
@@ -6944,7 +6950,8 @@ var InputPhone = (_a) => {
|
|
|
6944
6950
|
helperBottom,
|
|
6945
6951
|
validation,
|
|
6946
6952
|
inputVariant,
|
|
6947
|
-
inputBackground
|
|
6953
|
+
inputBackground,
|
|
6954
|
+
containerClassName
|
|
6948
6955
|
} = _b, rest = __objRest(_b, [
|
|
6949
6956
|
"className",
|
|
6950
6957
|
"ref",
|
|
@@ -6963,7 +6970,8 @@ var InputPhone = (_a) => {
|
|
|
6963
6970
|
"helperBottom",
|
|
6964
6971
|
"validation",
|
|
6965
6972
|
"inputVariant",
|
|
6966
|
-
"inputBackground"
|
|
6973
|
+
"inputBackground",
|
|
6974
|
+
"containerClassName"
|
|
6967
6975
|
]);
|
|
6968
6976
|
var _a2, _b2;
|
|
6969
6977
|
const [isOpen, setIsOpen] = useState16(false);
|
|
@@ -6988,6 +6996,7 @@ var InputPhone = (_a) => {
|
|
|
6988
6996
|
helperBottom,
|
|
6989
6997
|
validation,
|
|
6990
6998
|
hasListOpen: isOpen,
|
|
6999
|
+
className: containerClassName,
|
|
6991
7000
|
children: /* @__PURE__ */ jsxs25(InputWithListWrapper, { isOpen, children: [
|
|
6992
7001
|
/* @__PURE__ */ jsxs25(
|
|
6993
7002
|
InputWrapper,
|
|
@@ -7165,7 +7174,8 @@ var InputCounter = (_a) => {
|
|
|
7165
7174
|
id,
|
|
7166
7175
|
min = 1,
|
|
7167
7176
|
max = 100,
|
|
7168
|
-
step = 1
|
|
7177
|
+
step = 1,
|
|
7178
|
+
containerClassName
|
|
7169
7179
|
} = _b, rest = __objRest(_b, [
|
|
7170
7180
|
"className",
|
|
7171
7181
|
"ref",
|
|
@@ -7186,7 +7196,8 @@ var InputCounter = (_a) => {
|
|
|
7186
7196
|
"id",
|
|
7187
7197
|
"min",
|
|
7188
7198
|
"max",
|
|
7189
|
-
"step"
|
|
7199
|
+
"step",
|
|
7200
|
+
"containerClassName"
|
|
7190
7201
|
]);
|
|
7191
7202
|
var _a2, _b2;
|
|
7192
7203
|
return /* @__PURE__ */ jsx72(
|
|
@@ -7197,6 +7208,7 @@ var InputCounter = (_a) => {
|
|
|
7197
7208
|
helper,
|
|
7198
7209
|
helperBottom,
|
|
7199
7210
|
id,
|
|
7211
|
+
className: containerClassName,
|
|
7200
7212
|
children: /* @__PURE__ */ jsxs26(
|
|
7201
7213
|
"div",
|
|
7202
7214
|
{
|
|
@@ -7278,7 +7290,8 @@ var InputSlider = (_a) => {
|
|
|
7278
7290
|
showValue = "never",
|
|
7279
7291
|
min = 0,
|
|
7280
7292
|
max = 100,
|
|
7281
|
-
value
|
|
7293
|
+
value,
|
|
7294
|
+
containerClassName
|
|
7282
7295
|
} = _b, rest = __objRest(_b, [
|
|
7283
7296
|
"className",
|
|
7284
7297
|
"ref",
|
|
@@ -7292,7 +7305,8 @@ var InputSlider = (_a) => {
|
|
|
7292
7305
|
"showValue",
|
|
7293
7306
|
"min",
|
|
7294
7307
|
"max",
|
|
7295
|
-
"value"
|
|
7308
|
+
"value",
|
|
7309
|
+
"containerClassName"
|
|
7296
7310
|
]);
|
|
7297
7311
|
const percentage = (Number(value) - min) / (max - min) * 100;
|
|
7298
7312
|
const [isTooltipVisible, setIsTooltipVisible] = useState17(
|
|
@@ -7329,6 +7343,7 @@ var InputSlider = (_a) => {
|
|
|
7329
7343
|
helperBottom,
|
|
7330
7344
|
id,
|
|
7331
7345
|
validation,
|
|
7346
|
+
className: containerClassName,
|
|
7332
7347
|
children: /* @__PURE__ */ jsxs27(
|
|
7333
7348
|
"div",
|
|
7334
7349
|
{
|
|
@@ -7402,7 +7417,8 @@ var Select = (_a) => {
|
|
|
7402
7417
|
helperBottom,
|
|
7403
7418
|
id,
|
|
7404
7419
|
validation,
|
|
7405
|
-
disabled
|
|
7420
|
+
disabled,
|
|
7421
|
+
containerClassName
|
|
7406
7422
|
} = _b, rest = __objRest(_b, [
|
|
7407
7423
|
"className",
|
|
7408
7424
|
"ref",
|
|
@@ -7419,7 +7435,8 @@ var Select = (_a) => {
|
|
|
7419
7435
|
"helperBottom",
|
|
7420
7436
|
"id",
|
|
7421
7437
|
"validation",
|
|
7422
|
-
"disabled"
|
|
7438
|
+
"disabled",
|
|
7439
|
+
"containerClassName"
|
|
7423
7440
|
]);
|
|
7424
7441
|
var _a2;
|
|
7425
7442
|
const el = useRef10(null);
|
|
@@ -7440,6 +7457,7 @@ var Select = (_a) => {
|
|
|
7440
7457
|
helperBottom,
|
|
7441
7458
|
hasListOpen: isOpen,
|
|
7442
7459
|
validation,
|
|
7460
|
+
className: containerClassName,
|
|
7443
7461
|
children: /* @__PURE__ */ jsxs28(InputWithListWrapper, { ref: el, isOpen, children: [
|
|
7444
7462
|
/* @__PURE__ */ jsx74(
|
|
7445
7463
|
InputWrapper,
|
|
@@ -7554,7 +7572,8 @@ var Autocomplete = (_a) => {
|
|
|
7554
7572
|
showKeys,
|
|
7555
7573
|
textNoResult = "No result.",
|
|
7556
7574
|
disabled,
|
|
7557
|
-
validation
|
|
7575
|
+
validation,
|
|
7576
|
+
containerClassName
|
|
7558
7577
|
} = _b, rest = __objRest(_b, [
|
|
7559
7578
|
"className",
|
|
7560
7579
|
"ref",
|
|
@@ -7575,7 +7594,8 @@ var Autocomplete = (_a) => {
|
|
|
7575
7594
|
"showKeys",
|
|
7576
7595
|
"textNoResult",
|
|
7577
7596
|
"disabled",
|
|
7578
|
-
"validation"
|
|
7597
|
+
"validation",
|
|
7598
|
+
"containerClassName"
|
|
7579
7599
|
]);
|
|
7580
7600
|
var _a2;
|
|
7581
7601
|
const isTouchScreen = useTouchScreen();
|
|
@@ -7606,6 +7626,7 @@ var Autocomplete = (_a) => {
|
|
|
7606
7626
|
id,
|
|
7607
7627
|
validation,
|
|
7608
7628
|
hasListOpen: isOpen,
|
|
7629
|
+
className: containerClassName,
|
|
7609
7630
|
children: /* @__PURE__ */ jsxs29(InputWithListWrapper, { isOpen, children: [
|
|
7610
7631
|
/* @__PURE__ */ jsxs29(
|
|
7611
7632
|
InputWrapper,
|
|
@@ -7719,7 +7740,8 @@ var Rating = (_a) => {
|
|
|
7719
7740
|
helper,
|
|
7720
7741
|
helperBottom,
|
|
7721
7742
|
id,
|
|
7722
|
-
validation
|
|
7743
|
+
validation,
|
|
7744
|
+
containerClassName
|
|
7723
7745
|
} = _b, rest = __objRest(_b, [
|
|
7724
7746
|
"className",
|
|
7725
7747
|
"ref",
|
|
@@ -7732,7 +7754,8 @@ var Rating = (_a) => {
|
|
|
7732
7754
|
"helper",
|
|
7733
7755
|
"helperBottom",
|
|
7734
7756
|
"id",
|
|
7735
|
-
"validation"
|
|
7757
|
+
"validation",
|
|
7758
|
+
"containerClassName"
|
|
7736
7759
|
]);
|
|
7737
7760
|
return /* @__PURE__ */ jsx76(
|
|
7738
7761
|
InputContainer,
|
|
@@ -7742,6 +7765,7 @@ var Rating = (_a) => {
|
|
|
7742
7765
|
helper,
|
|
7743
7766
|
helperBottom,
|
|
7744
7767
|
id,
|
|
7768
|
+
className: containerClassName,
|
|
7745
7769
|
children: /* @__PURE__ */ jsx76(
|
|
7746
7770
|
"div",
|
|
7747
7771
|
__spreadProps(__spreadValues({
|
|
@@ -7804,7 +7828,8 @@ var InputPin = (_a) => {
|
|
|
7804
7828
|
hideValues,
|
|
7805
7829
|
disabled,
|
|
7806
7830
|
inputBackground,
|
|
7807
|
-
autoFocus
|
|
7831
|
+
autoFocus,
|
|
7832
|
+
containerClassName
|
|
7808
7833
|
} = _b, rest = __objRest(_b, [
|
|
7809
7834
|
"className",
|
|
7810
7835
|
"ref",
|
|
@@ -7820,7 +7845,8 @@ var InputPin = (_a) => {
|
|
|
7820
7845
|
"hideValues",
|
|
7821
7846
|
"disabled",
|
|
7822
7847
|
"inputBackground",
|
|
7823
|
-
"autoFocus"
|
|
7848
|
+
"autoFocus",
|
|
7849
|
+
"containerClassName"
|
|
7824
7850
|
]);
|
|
7825
7851
|
const [inputsRefsArr] = useState18(
|
|
7826
7852
|
() => Array.from({ length: Object.keys(values).length }, () => createRef())
|
|
@@ -7841,6 +7867,7 @@ var InputPin = (_a) => {
|
|
|
7841
7867
|
helperBottom,
|
|
7842
7868
|
id,
|
|
7843
7869
|
validation,
|
|
7870
|
+
className: containerClassName,
|
|
7844
7871
|
children: /* @__PURE__ */ jsx77(
|
|
7845
7872
|
"div",
|
|
7846
7873
|
__spreadProps(__spreadValues({
|
|
@@ -7897,7 +7924,8 @@ var Fieldset = (_a) => {
|
|
|
7897
7924
|
id,
|
|
7898
7925
|
validation,
|
|
7899
7926
|
legend,
|
|
7900
|
-
borderRadius = "md"
|
|
7927
|
+
borderRadius = "md",
|
|
7928
|
+
containerClassName
|
|
7901
7929
|
} = _b, rest = __objRest(_b, [
|
|
7902
7930
|
"className",
|
|
7903
7931
|
"ref",
|
|
@@ -7909,7 +7937,8 @@ var Fieldset = (_a) => {
|
|
|
7909
7937
|
"id",
|
|
7910
7938
|
"validation",
|
|
7911
7939
|
"legend",
|
|
7912
|
-
"borderRadius"
|
|
7940
|
+
"borderRadius",
|
|
7941
|
+
"containerClassName"
|
|
7913
7942
|
]);
|
|
7914
7943
|
return /* @__PURE__ */ jsx78(
|
|
7915
7944
|
InputContainer,
|
|
@@ -7920,6 +7949,7 @@ var Fieldset = (_a) => {
|
|
|
7920
7949
|
helperBottom,
|
|
7921
7950
|
id,
|
|
7922
7951
|
validation,
|
|
7952
|
+
className: containerClassName,
|
|
7923
7953
|
children: /* @__PURE__ */ jsxs30(
|
|
7924
7954
|
"fieldset",
|
|
7925
7955
|
__spreadProps(__spreadValues({
|
|
@@ -10669,7 +10699,8 @@ var MarkdownEditor = (_a) => {
|
|
|
10669
10699
|
defaultView = "live",
|
|
10670
10700
|
options,
|
|
10671
10701
|
textButtonTitles = "Titles",
|
|
10672
|
-
icons
|
|
10702
|
+
icons,
|
|
10703
|
+
containerClassName
|
|
10673
10704
|
} = _b, rest = __objRest(_b, [
|
|
10674
10705
|
"className",
|
|
10675
10706
|
"ref",
|
|
@@ -10685,7 +10716,8 @@ var MarkdownEditor = (_a) => {
|
|
|
10685
10716
|
"defaultView",
|
|
10686
10717
|
"options",
|
|
10687
10718
|
"textButtonTitles",
|
|
10688
|
-
"icons"
|
|
10719
|
+
"icons",
|
|
10720
|
+
"containerClassName"
|
|
10689
10721
|
]);
|
|
10690
10722
|
const [view, setView] = useState25(defaultView);
|
|
10691
10723
|
const [isTitlesOpen, setIsTitlesOpen] = useState25(false);
|
|
@@ -10704,6 +10736,7 @@ var MarkdownEditor = (_a) => {
|
|
|
10704
10736
|
helperBottom,
|
|
10705
10737
|
validation,
|
|
10706
10738
|
hasListOpen: isTitlesOpen,
|
|
10739
|
+
className: containerClassName,
|
|
10707
10740
|
children: /* @__PURE__ */ jsxs49(
|
|
10708
10741
|
"div",
|
|
10709
10742
|
{
|