@julseb-lib/react 0.1.46 → 0.1.48
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 +307 -225
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +86 -4
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.d.cts +1 -0
- package/dist/types/components-props.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1351,6 +1351,9 @@ var genVAlign = {
|
|
|
1351
1351
|
"align-super": "align-super"
|
|
1352
1352
|
};
|
|
1353
1353
|
|
|
1354
|
+
// src/lib/components/Text/Text.tsx
|
|
1355
|
+
import "react";
|
|
1356
|
+
|
|
1354
1357
|
// src/lib/components/Text/templates/H1.tsx
|
|
1355
1358
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
1356
1359
|
var H1 = (_a) => {
|
|
@@ -1946,6 +1949,7 @@ var Text = (_a) => {
|
|
|
1946
1949
|
};
|
|
1947
1950
|
|
|
1948
1951
|
// src/lib/components/Table/Table.tsx
|
|
1952
|
+
import "react";
|
|
1949
1953
|
import { uuid as uuid2 } from "@julseb-lib/utils";
|
|
1950
1954
|
import { jsx as jsx17, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
1951
1955
|
var Table = (_a) => {
|
|
@@ -2703,6 +2707,7 @@ var ThemeProviderWrapper = ({ children }) => {
|
|
|
2703
2707
|
var useLibTheme = () => useContext(ThemeContext);
|
|
2704
2708
|
|
|
2705
2709
|
// src/lib/components/Wrapper/Wrapper.tsx
|
|
2710
|
+
import "react";
|
|
2706
2711
|
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
2707
2712
|
var Wrapper = (_a) => {
|
|
2708
2713
|
var _b = _a, {
|
|
@@ -2758,6 +2763,7 @@ var genMinHeight = {
|
|
|
2758
2763
|
};
|
|
2759
2764
|
|
|
2760
2765
|
// src/lib/components/Main/Main.tsx
|
|
2766
|
+
import "react";
|
|
2761
2767
|
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
2762
2768
|
var Main = (_a) => {
|
|
2763
2769
|
var _b = _a, {
|
|
@@ -2802,6 +2808,7 @@ var maxWidth = {
|
|
|
2802
2808
|
};
|
|
2803
2809
|
|
|
2804
2810
|
// src/lib/components/Aside/Aside.tsx
|
|
2811
|
+
import "react";
|
|
2805
2812
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
2806
2813
|
var Aside = (_a) => {
|
|
2807
2814
|
var _b = _a, {
|
|
@@ -2842,6 +2849,7 @@ var asideSize = {
|
|
|
2842
2849
|
};
|
|
2843
2850
|
|
|
2844
2851
|
// src/lib/components/Section/Section.tsx
|
|
2852
|
+
import "react";
|
|
2845
2853
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
2846
2854
|
var Section = (_a) => {
|
|
2847
2855
|
var _b = _a, {
|
|
@@ -2875,6 +2883,7 @@ var Section = (_a) => {
|
|
|
2875
2883
|
};
|
|
2876
2884
|
|
|
2877
2885
|
// src/lib/components/Grid/Grid.tsx
|
|
2886
|
+
import "react";
|
|
2878
2887
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2879
2888
|
var Grid = (_a) => {
|
|
2880
2889
|
var _b = _a, {
|
|
@@ -2944,6 +2953,7 @@ var genGridColumns = {
|
|
|
2944
2953
|
};
|
|
2945
2954
|
|
|
2946
2955
|
// src/lib/components/Flexbox/Flexbox.tsx
|
|
2956
|
+
import "react";
|
|
2947
2957
|
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
2948
2958
|
var Flexbox = (_a) => {
|
|
2949
2959
|
var _b = _a, {
|
|
@@ -3079,6 +3089,9 @@ var genBorderBottom = {
|
|
|
3079
3089
|
large: "border-b-4"
|
|
3080
3090
|
};
|
|
3081
3091
|
|
|
3092
|
+
// src/lib/components/Highlight/Highlight.tsx
|
|
3093
|
+
import "react";
|
|
3094
|
+
|
|
3082
3095
|
// src/lib/lib-utils/get-highlighted-text.tsx
|
|
3083
3096
|
import { Fragment as Fragment3 } from "react";
|
|
3084
3097
|
import { uuid as uuid4, slugify } from "@julseb-lib/utils";
|
|
@@ -3234,6 +3247,7 @@ var Linkify = (_a) => {
|
|
|
3234
3247
|
};
|
|
3235
3248
|
|
|
3236
3249
|
// src/lib/components/Hr/Hr.tsx
|
|
3250
|
+
import "react";
|
|
3237
3251
|
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
3238
3252
|
var Hr = (_a) => {
|
|
3239
3253
|
var _b = _a, {
|
|
@@ -3269,6 +3283,7 @@ var Hr = (_a) => {
|
|
|
3269
3283
|
};
|
|
3270
3284
|
|
|
3271
3285
|
// src/lib/components/Skeleton/Skeleton.tsx
|
|
3286
|
+
import "react";
|
|
3272
3287
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
3273
3288
|
var Skeleton = (_a) => {
|
|
3274
3289
|
var _b = _a, {
|
|
@@ -3496,6 +3511,7 @@ var genPosition = {
|
|
|
3496
3511
|
};
|
|
3497
3512
|
|
|
3498
3513
|
// src/lib/components/Image/Image.tsx
|
|
3514
|
+
import "react";
|
|
3499
3515
|
import { jsx as jsx33, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
3500
3516
|
var Image = (_a) => {
|
|
3501
3517
|
var _b = _a, {
|
|
@@ -3643,6 +3659,7 @@ var Masonry = (_a) => {
|
|
|
3643
3659
|
};
|
|
3644
3660
|
|
|
3645
3661
|
// src/lib/components/Badge/Badge.tsx
|
|
3662
|
+
import "react";
|
|
3646
3663
|
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
3647
3664
|
var Badge = (_a) => {
|
|
3648
3665
|
var _b = _a, {
|
|
@@ -3681,7 +3698,11 @@ var Badge = (_a) => {
|
|
|
3681
3698
|
);
|
|
3682
3699
|
};
|
|
3683
3700
|
|
|
3701
|
+
// src/lib/components/Avatar/Avatar.tsx
|
|
3702
|
+
import "react";
|
|
3703
|
+
|
|
3684
3704
|
// src/lib/components/Avatar/AvatarFn.tsx
|
|
3705
|
+
import "react";
|
|
3685
3706
|
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
3686
3707
|
var AvatarFn = (_a) => {
|
|
3687
3708
|
var _b = _a, {
|
|
@@ -3794,6 +3815,12 @@ var Avatar = (_a) => {
|
|
|
3794
3815
|
return /* @__PURE__ */ jsx37(AvatarFn, __spreadValues({}, avatarProps));
|
|
3795
3816
|
};
|
|
3796
3817
|
|
|
3818
|
+
// src/lib/components/Loader/Loader.tsx
|
|
3819
|
+
import "react";
|
|
3820
|
+
|
|
3821
|
+
// src/lib/components/Loader/templates/LoaderOne.tsx
|
|
3822
|
+
import "react";
|
|
3823
|
+
|
|
3797
3824
|
// src/lib/components/Loader/utils/gen-border-bottom.ts
|
|
3798
3825
|
var genBorderBottomColorAll = {
|
|
3799
3826
|
black: "border-b-black",
|
|
@@ -3914,6 +3941,7 @@ var LoaderOne = (_a) => {
|
|
|
3914
3941
|
};
|
|
3915
3942
|
|
|
3916
3943
|
// src/lib/components/Loader/templates/LoaderTwo.tsx
|
|
3944
|
+
import "react";
|
|
3917
3945
|
import { jsx as jsx39, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
3918
3946
|
var SPAN_COMMON = "block absolute w-full h-full border-8 border-transparent rounded-full animate-[spin_1200ms_var(--animate-cubic-bezier)_infinite_var(--spinner-delay)]";
|
|
3919
3947
|
var LoaderTwo = (_a) => {
|
|
@@ -3989,6 +4017,7 @@ var LoaderTwo = (_a) => {
|
|
|
3989
4017
|
};
|
|
3990
4018
|
|
|
3991
4019
|
// src/lib/components/Loader/templates/LoaderThree.tsx
|
|
4020
|
+
import "react";
|
|
3992
4021
|
import { jsx as jsx40, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
3993
4022
|
var LoaderThree = (_a) => {
|
|
3994
4023
|
var _b = _a, {
|
|
@@ -4065,6 +4094,7 @@ var Loader = (_a) => {
|
|
|
4065
4094
|
};
|
|
4066
4095
|
|
|
4067
4096
|
// src/lib/components/Burger/Burger.tsx
|
|
4097
|
+
import "react";
|
|
4068
4098
|
import { jsx as jsx42, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
4069
4099
|
var SPAN_COMMON2 = "left-0 absolute w-full h-0.5 transition-all duration-200 ease-in-out";
|
|
4070
4100
|
var Burger = (_a) => {
|
|
@@ -4160,6 +4190,7 @@ var genHover = {
|
|
|
4160
4190
|
};
|
|
4161
4191
|
|
|
4162
4192
|
// src/lib/components/Button/Button.tsx
|
|
4193
|
+
import "react";
|
|
4163
4194
|
import { jsx as jsx43, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
4164
4195
|
var Button = (_a) => {
|
|
4165
4196
|
var _b = _a, {
|
|
@@ -4240,7 +4271,11 @@ var Button = (_a) => {
|
|
|
4240
4271
|
);
|
|
4241
4272
|
};
|
|
4242
4273
|
|
|
4274
|
+
// src/lib/components/ButtonIcon/ButtonIcon.tsx
|
|
4275
|
+
import "react";
|
|
4276
|
+
|
|
4243
4277
|
// src/lib/components/ButtonIcon/ButtonFn.tsx
|
|
4278
|
+
import "react";
|
|
4244
4279
|
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
4245
4280
|
var ButtonIconFn = (_a) => {
|
|
4246
4281
|
var _b = _a, {
|
|
@@ -4467,6 +4502,7 @@ var ButtonGroup = (_a) => {
|
|
|
4467
4502
|
};
|
|
4468
4503
|
|
|
4469
4504
|
// src/lib/components/Tag/Tag.tsx
|
|
4505
|
+
import "react";
|
|
4470
4506
|
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
4471
4507
|
var Tag = (_a) => {
|
|
4472
4508
|
var _b = _a, {
|
|
@@ -4515,6 +4551,7 @@ var Tag = (_a) => {
|
|
|
4515
4551
|
};
|
|
4516
4552
|
|
|
4517
4553
|
// src/lib/components/InputContainer/InputContainer.tsx
|
|
4554
|
+
import "react";
|
|
4518
4555
|
import { BiXCircle, BiCheckCircle } from "react-icons/bi";
|
|
4519
4556
|
import { jsx as jsx48, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
4520
4557
|
var InputContainer = (_a) => {
|
|
@@ -4630,6 +4667,12 @@ var InputContainer = (_a) => {
|
|
|
4630
4667
|
);
|
|
4631
4668
|
};
|
|
4632
4669
|
|
|
4670
|
+
// src/lib/components/Input/Input.tsx
|
|
4671
|
+
import "react";
|
|
4672
|
+
|
|
4673
|
+
// src/lib/components/Input/templates/ColorInput.tsx
|
|
4674
|
+
import "react";
|
|
4675
|
+
|
|
4633
4676
|
// src/lib/components/InputComponents/InputValidation.tsx
|
|
4634
4677
|
import { BiXCircle as BiXCircle2, BiCheckCircle as BiCheckCircle2 } from "react-icons/bi";
|
|
4635
4678
|
|
|
@@ -4764,6 +4807,7 @@ var InputIcon = ({ icon, inputVariant, disabled }) => {
|
|
|
4764
4807
|
};
|
|
4765
4808
|
|
|
4766
4809
|
// src/lib/components/InputComponents/InputWrapper.tsx
|
|
4810
|
+
import "react";
|
|
4767
4811
|
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
4768
4812
|
var InputWrapper = ({
|
|
4769
4813
|
children,
|
|
@@ -5003,6 +5047,7 @@ var DateInput = (_a) => {
|
|
|
5003
5047
|
};
|
|
5004
5048
|
|
|
5005
5049
|
// src/lib/components/Input/templates/FileInput.tsx
|
|
5050
|
+
import "react";
|
|
5006
5051
|
import { jsx as jsx59, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5007
5052
|
var FileInput = (_a) => {
|
|
5008
5053
|
var _b = _a, {
|
|
@@ -5286,6 +5331,7 @@ var SelectInput = (_a) => {
|
|
|
5286
5331
|
};
|
|
5287
5332
|
|
|
5288
5333
|
// src/lib/components/Input/templates/TextareaInput.tsx
|
|
5334
|
+
import "react";
|
|
5289
5335
|
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5290
5336
|
var TextareaInput = (_a) => {
|
|
5291
5337
|
var _b = _a, {
|
|
@@ -5315,6 +5361,7 @@ var TextareaInput = (_a) => {
|
|
|
5315
5361
|
};
|
|
5316
5362
|
|
|
5317
5363
|
// src/lib/components/Input/templates/TextInput.tsx
|
|
5364
|
+
import "react";
|
|
5318
5365
|
import { jsx as jsx64, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5319
5366
|
var TextInput = (_a) => {
|
|
5320
5367
|
var _b = _a, {
|
|
@@ -5670,6 +5717,7 @@ var InputImage = (_a) => {
|
|
|
5670
5717
|
};
|
|
5671
5718
|
|
|
5672
5719
|
// src/lib/components/InputCheck/InputCheck.tsx
|
|
5720
|
+
import "react";
|
|
5673
5721
|
import { BiCheck } from "react-icons/bi";
|
|
5674
5722
|
import { jsx as jsx70, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5675
5723
|
var InputCheck = (_a) => {
|
|
@@ -7151,6 +7199,7 @@ var InputPhone = (_a) => {
|
|
|
7151
7199
|
};
|
|
7152
7200
|
|
|
7153
7201
|
// src/lib/components/InputCounter/InputCounter.tsx
|
|
7202
|
+
import "react";
|
|
7154
7203
|
import { BiPlus, BiMinus } from "react-icons/bi";
|
|
7155
7204
|
import { jsx as jsx72, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
7156
7205
|
var InputCounter = (_a) => {
|
|
@@ -7724,6 +7773,7 @@ var Autocomplete = (_a) => {
|
|
|
7724
7773
|
};
|
|
7725
7774
|
|
|
7726
7775
|
// src/lib/components/Rating/Rating.tsx
|
|
7776
|
+
import "react";
|
|
7727
7777
|
import { BiStar, BiSolidStar } from "react-icons/bi";
|
|
7728
7778
|
import { generateNumbers } from "@julseb-lib/utils";
|
|
7729
7779
|
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
@@ -7911,6 +7961,7 @@ var InputPin = (_a) => {
|
|
|
7911
7961
|
};
|
|
7912
7962
|
|
|
7913
7963
|
// src/lib/components/Fieldset/Fieldset.tsx
|
|
7964
|
+
import "react";
|
|
7914
7965
|
import { jsx as jsx78, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
7915
7966
|
var Fieldset = (_a) => {
|
|
7916
7967
|
var _b = _a, {
|
|
@@ -7973,6 +8024,7 @@ var Fieldset = (_a) => {
|
|
|
7973
8024
|
};
|
|
7974
8025
|
|
|
7975
8026
|
// src/lib/components/Form/Form.tsx
|
|
8027
|
+
import "react";
|
|
7976
8028
|
import { jsx as jsx79, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
7977
8029
|
var Form = (_a) => {
|
|
7978
8030
|
var _b = _a, {
|
|
@@ -8097,6 +8149,7 @@ var ListGroupTitle = (_a) => {
|
|
|
8097
8149
|
};
|
|
8098
8150
|
|
|
8099
8151
|
// src/lib/components/ListGroup/ListGroupItem.tsx
|
|
8152
|
+
import "react";
|
|
8100
8153
|
import { Fragment as Fragment7, jsx as jsx81, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
8101
8154
|
var ListGroupItem = (_a) => {
|
|
8102
8155
|
var _b = _a, {
|
|
@@ -8257,12 +8310,14 @@ var Breadcrumbs = (_a) => {
|
|
|
8257
8310
|
};
|
|
8258
8311
|
|
|
8259
8312
|
// src/lib/components/Accordion/Accordion.tsx
|
|
8313
|
+
import "react";
|
|
8260
8314
|
import { uuid as uuid10 } from "@julseb-lib/utils";
|
|
8261
8315
|
|
|
8262
8316
|
// src/lib/components/Accordion/AccordionItem.tsx
|
|
8263
8317
|
import { useState as useState20 } from "react";
|
|
8264
8318
|
|
|
8265
8319
|
// src/lib/components/Accordion/AccordionTitle.tsx
|
|
8320
|
+
import "react";
|
|
8266
8321
|
import { BiPlus as BiPlus2, BiChevronDown as BiChevronDown2 } from "react-icons/bi";
|
|
8267
8322
|
import { jsx as jsx84, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
8268
8323
|
var AccordionTitle = (_a) => {
|
|
@@ -8325,6 +8380,7 @@ var AccordionTitle = (_a) => {
|
|
|
8325
8380
|
};
|
|
8326
8381
|
|
|
8327
8382
|
// src/lib/components/Accordion/AccordionContent.tsx
|
|
8383
|
+
import "react";
|
|
8328
8384
|
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
8329
8385
|
var AccordionContent = (_a) => {
|
|
8330
8386
|
var _b = _a, {
|
|
@@ -8458,6 +8514,7 @@ import { useRef as useRef13 } from "react";
|
|
|
8458
8514
|
import { uuid as uuid11 } from "@julseb-lib/utils";
|
|
8459
8515
|
|
|
8460
8516
|
// src/lib/components/Dropdown/DropdownItem.tsx
|
|
8517
|
+
import "react";
|
|
8461
8518
|
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
8462
8519
|
var DropdownItem = (_a) => {
|
|
8463
8520
|
var _b = _a, {
|
|
@@ -8550,6 +8607,7 @@ var Dropdown = (_a) => {
|
|
|
8550
8607
|
};
|
|
8551
8608
|
|
|
8552
8609
|
// src/lib/components/Toast/Toast.tsx
|
|
8610
|
+
import "react";
|
|
8553
8611
|
import { BiX as BiX3 } from "react-icons/bi";
|
|
8554
8612
|
|
|
8555
8613
|
// src/lib/components/Toast/utils.ts
|
|
@@ -8779,6 +8837,7 @@ var toast = {
|
|
|
8779
8837
|
};
|
|
8780
8838
|
|
|
8781
8839
|
// src/lib/components/Alert/Alert.tsx
|
|
8840
|
+
import "react";
|
|
8782
8841
|
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
8783
8842
|
var Alert = (_a) => {
|
|
8784
8843
|
var _b = _a, {
|
|
@@ -8900,6 +8959,7 @@ var Modal = (_a) => {
|
|
|
8900
8959
|
import { useRef as useRef15, useState as useState21, Fragment as Fragment10 } from "react";
|
|
8901
8960
|
|
|
8902
8961
|
// src/lib/components/DragList/DragListItem.tsx
|
|
8962
|
+
import "react";
|
|
8903
8963
|
import { BiDotsVerticalRounded } from "react-icons/bi";
|
|
8904
8964
|
import { Fragment as Fragment9, jsx as jsx95, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
8905
8965
|
var DragListItem = ({
|
|
@@ -9041,9 +9101,11 @@ var DragList = (_a) => {
|
|
|
9041
9101
|
};
|
|
9042
9102
|
|
|
9043
9103
|
// src/lib/components/Pagination/Pagination.tsx
|
|
9104
|
+
import "react";
|
|
9044
9105
|
import { BiLeftArrowAlt, BiRightArrowAlt } from "react-icons/bi";
|
|
9045
9106
|
|
|
9046
9107
|
// src/lib/components/Pagination/PaginationButton.tsx
|
|
9108
|
+
import "react";
|
|
9047
9109
|
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
9048
9110
|
var PaginationButton = (_a) => {
|
|
9049
9111
|
var _b = _a, {
|
|
@@ -9211,6 +9273,7 @@ var Pagination = (_a) => {
|
|
|
9211
9273
|
};
|
|
9212
9274
|
|
|
9213
9275
|
// src/lib/components/Paginator/Paginator.tsx
|
|
9276
|
+
import "react";
|
|
9214
9277
|
import { BiLeftArrowAlt as BiLeftArrowAlt2, BiRightArrowAlt as BiRightArrowAlt2 } from "react-icons/bi";
|
|
9215
9278
|
import { jsx as jsx99, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
9216
9279
|
var Paginator = (_a) => {
|
|
@@ -9325,6 +9388,7 @@ var Paginator = (_a) => {
|
|
|
9325
9388
|
};
|
|
9326
9389
|
|
|
9327
9390
|
// src/lib/components/ProgressBar/ProgressBar.tsx
|
|
9391
|
+
import "react";
|
|
9328
9392
|
import { getPercentage } from "@julseb-lib/utils";
|
|
9329
9393
|
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
9330
9394
|
var ProgressBar = (_a) => {
|
|
@@ -9514,6 +9578,7 @@ import { useState as useState23 } from "react";
|
|
|
9514
9578
|
import { uuid as uuid12 } from "@julseb-lib/utils";
|
|
9515
9579
|
|
|
9516
9580
|
// src/lib/components/Tabs/TabsContainer.tsx
|
|
9581
|
+
import "react";
|
|
9517
9582
|
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
9518
9583
|
var TabsContainer = (_a) => {
|
|
9519
9584
|
var _b = _a, {
|
|
@@ -9540,6 +9605,7 @@ var TabsContainer = (_a) => {
|
|
|
9540
9605
|
};
|
|
9541
9606
|
|
|
9542
9607
|
// src/lib/components/Tabs/TabsButtonsContainer.tsx
|
|
9608
|
+
import "react";
|
|
9543
9609
|
import { jsx as jsx103 } from "react/jsx-runtime";
|
|
9544
9610
|
var TabsButtonsContainer = (_a) => {
|
|
9545
9611
|
var _b = _a, {
|
|
@@ -9578,6 +9644,7 @@ var TabsButtonsContainer = (_a) => {
|
|
|
9578
9644
|
};
|
|
9579
9645
|
|
|
9580
9646
|
// src/lib/components/Tabs/TabsButton.tsx
|
|
9647
|
+
import "react";
|
|
9581
9648
|
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
9582
9649
|
var TabsButton = (_a) => {
|
|
9583
9650
|
var _b = _a, {
|
|
@@ -9629,6 +9696,7 @@ var TabsButton = (_a) => {
|
|
|
9629
9696
|
};
|
|
9630
9697
|
|
|
9631
9698
|
// src/lib/components/Tabs/TabsContent.tsx
|
|
9699
|
+
import "react";
|
|
9632
9700
|
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
9633
9701
|
var TabsContent = (_a) => {
|
|
9634
9702
|
var _b = _a, {
|
|
@@ -9727,6 +9795,7 @@ import {
|
|
|
9727
9795
|
import { uuid as uuid13 } from "@julseb-lib/utils";
|
|
9728
9796
|
|
|
9729
9797
|
// src/lib/components/Slideshow/SlideshowButton.tsx
|
|
9798
|
+
import "react";
|
|
9730
9799
|
import { BiChevronLeft, BiChevronRight } from "react-icons/bi";
|
|
9731
9800
|
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
9732
9801
|
var SlideshowButton = ({
|
|
@@ -9773,6 +9842,7 @@ var SlideshowButton = ({
|
|
|
9773
9842
|
};
|
|
9774
9843
|
|
|
9775
9844
|
// src/lib/components/Slideshow/SlideshowPagination.tsx
|
|
9845
|
+
import "react";
|
|
9776
9846
|
import { generateNumbers as generateNumbers2 } from "@julseb-lib/utils";
|
|
9777
9847
|
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
9778
9848
|
var SlideshowPagination = ({
|
|
@@ -10133,6 +10203,7 @@ var Slideshow = (_a) => {
|
|
|
10133
10203
|
};
|
|
10134
10204
|
|
|
10135
10205
|
// src/lib/components/Cover/Cover.tsx
|
|
10206
|
+
import "react";
|
|
10136
10207
|
import { jsx as jsx110, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
10137
10208
|
var Cover = (_a) => {
|
|
10138
10209
|
var _b = _a, {
|
|
@@ -10244,6 +10315,7 @@ var PageLoading = (_a) => {
|
|
|
10244
10315
|
};
|
|
10245
10316
|
|
|
10246
10317
|
// src/lib/components/Sticky/Sticky.tsx
|
|
10318
|
+
import "react";
|
|
10247
10319
|
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
10248
10320
|
var Sticky = (_a) => {
|
|
10249
10321
|
var _b = _a, {
|
|
@@ -10305,6 +10377,7 @@ import {
|
|
|
10305
10377
|
} from "react-icons/bi";
|
|
10306
10378
|
|
|
10307
10379
|
// src/lib/components/MarkdownEditor/buttons/icons.tsx
|
|
10380
|
+
import "react";
|
|
10308
10381
|
import { jsx as jsx113, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
10309
10382
|
var IconCode = ({ size }) => {
|
|
10310
10383
|
return /* @__PURE__ */ jsxs47(
|
|
@@ -10617,6 +10690,7 @@ var MarkdownEditorTitles = ({
|
|
|
10617
10690
|
};
|
|
10618
10691
|
|
|
10619
10692
|
// src/lib/components/MarkdownEditor/MarkdownButtons.tsx
|
|
10693
|
+
import "react";
|
|
10620
10694
|
import { toSentenceCase } from "@julseb-lib/utils";
|
|
10621
10695
|
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
10622
10696
|
var MarkdownButtons = ({
|
|
@@ -10647,6 +10721,7 @@ var MarkdownButtons = ({
|
|
|
10647
10721
|
};
|
|
10648
10722
|
|
|
10649
10723
|
// src/lib/components/MarkdownEditor/MarkdownViewButtons.tsx
|
|
10724
|
+
import "react";
|
|
10650
10725
|
import { toSentenceCase as toSentenceCase2 } from "@julseb-lib/utils";
|
|
10651
10726
|
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
10652
10727
|
var MarkdownViewButtons = ({
|
|
@@ -10851,6 +10926,7 @@ var MarkdownEditor = (_a) => {
|
|
|
10851
10926
|
};
|
|
10852
10927
|
|
|
10853
10928
|
// src/lib/components/MarkdownContainer/MarkdownContainer.tsx
|
|
10929
|
+
import "react";
|
|
10854
10930
|
import Markdown2 from "markdown-to-jsx";
|
|
10855
10931
|
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
10856
10932
|
var MarkdownContainer = (_a) => {
|
|
@@ -11107,6 +11183,7 @@ import { useState as useState28, useEffect as useEffect19, useRef as useRef21 }
|
|
|
11107
11183
|
import { enableScroll as enableScroll3, disableScroll as disableScroll3 } from "@julseb-lib/utils";
|
|
11108
11184
|
|
|
11109
11185
|
// src/lib/components/Header/HeaderSearch.tsx
|
|
11186
|
+
import "react";
|
|
11110
11187
|
import { stringifyPx as stringifyPx2 } from "@julseb-lib/utils";
|
|
11111
11188
|
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
11112
11189
|
var HeaderSearch = ({ search, handleClose }) => {
|
|
@@ -11385,6 +11462,7 @@ var Footer = (_a) => {
|
|
|
11385
11462
|
};
|
|
11386
11463
|
|
|
11387
11464
|
// src/lib/components/Meta/Meta.tsx
|
|
11465
|
+
import "react";
|
|
11388
11466
|
import { Fragment as Fragment15, jsx as jsx126, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
11389
11467
|
var Meta = ({
|
|
11390
11468
|
children,
|
|
@@ -11459,6 +11537,7 @@ var Meta = ({
|
|
|
11459
11537
|
};
|
|
11460
11538
|
|
|
11461
11539
|
// src/lib/components/PageLayout/PageLayout.tsx
|
|
11540
|
+
import "react";
|
|
11462
11541
|
import { Fragment as Fragment16, jsx as jsx127, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
11463
11542
|
var PageLayout = ({
|
|
11464
11543
|
children,
|
|
@@ -11479,6 +11558,7 @@ var PageLayout = ({
|
|
|
11479
11558
|
};
|
|
11480
11559
|
|
|
11481
11560
|
// src/lib/components/SrOnly/SrOnly.tsx
|
|
11561
|
+
import "react";
|
|
11482
11562
|
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
11483
11563
|
var SrOnly = ({ element = "div", ref, children }) => {
|
|
11484
11564
|
const Element = element;
|
|
@@ -11495,12 +11575,14 @@ var CodeContainer = (_a) => {
|
|
|
11495
11575
|
children,
|
|
11496
11576
|
code,
|
|
11497
11577
|
showNumbers,
|
|
11498
|
-
language = "tsx"
|
|
11578
|
+
language = "tsx",
|
|
11579
|
+
className
|
|
11499
11580
|
} = _b, rest = __objRest(_b, [
|
|
11500
11581
|
"children",
|
|
11501
11582
|
"code",
|
|
11502
11583
|
"showNumbers",
|
|
11503
|
-
"language"
|
|
11584
|
+
"language",
|
|
11585
|
+
"className"
|
|
11504
11586
|
]);
|
|
11505
11587
|
const [hasCopied, setHasCopied] = useState29(false);
|
|
11506
11588
|
const copyToClipboard = () => {
|
|
@@ -11514,7 +11596,7 @@ var CodeContainer = (_a) => {
|
|
|
11514
11596
|
}
|
|
11515
11597
|
setTimeout(() => setHasCopied(false), 1e3);
|
|
11516
11598
|
};
|
|
11517
|
-
return /* @__PURE__ */ jsxs55("div", { className: "relative bg-[#282c34] p-6", children: [
|
|
11599
|
+
return /* @__PURE__ */ jsxs55("div", { className: clsx("relative bg-[#282c34] p-6", className), children: [
|
|
11518
11600
|
/* @__PURE__ */ jsx129(
|
|
11519
11601
|
Highlight2,
|
|
11520
11602
|
__spreadProps(__spreadValues({
|
|
@@ -11526,7 +11608,7 @@ var CodeContainer = (_a) => {
|
|
|
11526
11608
|
"pre",
|
|
11527
11609
|
{
|
|
11528
11610
|
style,
|
|
11529
|
-
className: "relative max-w-full overflow-x-scroll",
|
|
11611
|
+
className: "relative max-w-full overflow-x-scroll hide-scrollbar",
|
|
11530
11612
|
children: tokens.map((line, i) => /* @__PURE__ */ jsxs55("div", __spreadProps(__spreadValues({}, getLineProps({ line })), { children: [
|
|
11531
11613
|
showNumbers && /* @__PURE__ */ jsx129("span", { className: "mr-6", children: i + 1 }),
|
|
11532
11614
|
line.map((token, key) => /* @__PURE__ */ jsx129(
|