@youngonesworks/ui 0.1.1 → 0.1.5
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/README.md +4 -4
- package/dist/components/AutoCompleteInput/index.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/Button/index.d.ts +13 -0
- package/dist/components/Table/tableCell/TableCell.stories.d.ts +6 -0
- package/dist/components/Table/tableCell/index.d.ts +7 -0
- package/dist/components/Table/tableHeader/TableHeader.stories.d.ts +6 -0
- package/dist/components/Table/tableHeader/index.d.ts +5 -0
- package/dist/components/Table/tableHeaderItem/TableHeaderItem.stories.d.ts +6 -0
- package/dist/components/Table/tableHeaderItem/index.d.ts +7 -0
- package/dist/components/Table/tableHeaderRow/TableHeaderRow.stories.d.ts +6 -0
- package/dist/components/Table/tableHeaderRow/index.d.ts +6 -0
- package/dist/components/Table/tableRow/TableRow.stories.d.ts +6 -0
- package/dist/components/Table/tableRow/index.d.ts +8 -0
- package/dist/components/accordion/Accordion.stories.d.ts +6 -0
- package/dist/components/accordion/AccordionItem.d.ts +14 -0
- package/dist/components/accordion/AccordionItem.stories.d.ts +11 -0
- package/dist/components/accordion/AccordionItem.test.d.ts +1 -0
- package/dist/components/accordion/AccordionWrapper.d.ts +7 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/favouriteButton/FavouriteButton.stories.d.ts +6 -0
- package/dist/components/favouriteButton/FavouriteButton.test.d.ts +1 -0
- package/dist/components/favouriteButton/index.d.ts +24 -0
- package/dist/components/filters/FilterButton.d.ts +9 -0
- package/dist/components/filters/FilterButton.stories.d.ts +7 -0
- package/dist/components/filters/FilterButton.test.d.ts +1 -0
- package/dist/components/filters/FilterItem.d.ts +7 -0
- package/dist/components/filters/FilterItem.stories.d.ts +7 -0
- package/dist/components/filters/FilterItem.test.d.ts +1 -0
- package/dist/components/filters/Filters.stories.d.ts +7 -0
- package/dist/components/filters/index.d.ts +11 -0
- package/dist/components/navButtons/NavButtons.stories.d.ts +10 -0
- package/dist/components/navButtons/NavButtons.test.d.ts +1 -0
- package/dist/components/navButtons/index.d.ts +6 -0
- package/dist/components/stepper/NumberedStepper.d.ts +13 -0
- package/dist/components/stepper/NumberedStepper.stories.d.ts +8 -0
- package/dist/components/stepper/NumberedStepper.test.d.ts +1 -0
- package/dist/components/stepper/Stepper.d.ts +16 -0
- package/dist/components/stepper/Stepper.stories.d.ts +9 -0
- package/dist/components/stepper/Stepper.test.d.ts +1 -0
- package/dist/components/stepper/index.d.ts +2 -0
- package/dist/components/tabs/Tab.d.ts +11 -0
- package/dist/components/tabs/Tab.stories.d.ts +15 -0
- package/dist/components/tabs/Tab.test.d.ts +1 -0
- package/dist/components/tabs/TabsBadge.d.ts +8 -0
- package/dist/components/tabs/TabsBadge.stories.d.ts +19 -0
- package/dist/components/tabs/TabsBadge.test.d.ts +1 -0
- package/dist/components/tabs/TabsWrapper.d.ts +17 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/index.cjs +244 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +55 -52
- package/dist/index.js +230 -63
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4704,7 +4704,7 @@ function formatIcon(icon, defaultFormatAttributes) {
|
|
|
4704
4704
|
}
|
|
4705
4705
|
|
|
4706
4706
|
//#endregion
|
|
4707
|
-
//#region src/components/
|
|
4707
|
+
//#region src/components/actionIcon/index.tsx
|
|
4708
4708
|
const ActionIcon = forwardRef(({ title, disabled = false, styleVariant = "default", icon, type = "button", "data-testid": testId, iconSize = 20, strokeWidth = 1, onClick, className,...props }, ref) => {
|
|
4709
4709
|
const variantClassNames = clsx_default({
|
|
4710
4710
|
"active:translate-y-[1px] content-center flex items-center justify-center rounded-[4px] border border-gray-200 hover:border-black text-black child:p-10 w-[36px] h-[36px] disabled:text-gray-500": styleVariant === ACTION_ICON_STYLE_VARIANT.DEFAULT,
|
|
@@ -4735,7 +4735,7 @@ const ActionIcon = forwardRef(({ title, disabled = false, styleVariant = "defaul
|
|
|
4735
4735
|
});
|
|
4736
4736
|
|
|
4737
4737
|
//#endregion
|
|
4738
|
-
//#region src/components/
|
|
4738
|
+
//#region src/components/appleAppButtonIcon/index.tsx
|
|
4739
4739
|
const AppleAppButtonIcon = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
4740
4740
|
viewBox: "0 0 198 66",
|
|
4741
4741
|
fill: "none",
|
|
@@ -103022,7 +103022,7 @@ var IconZzz = createReactComponent("zzz", "IconZzz", [["path", {
|
|
|
103022
103022
|
}]]);
|
|
103023
103023
|
|
|
103024
103024
|
//#endregion
|
|
103025
|
-
//#region src/components/
|
|
103025
|
+
//#region src/components/textInput/index.tsx
|
|
103026
103026
|
const TextInput = forwardRef(({ rightSection, leftSection, className, error: error$1, autoFocus, label, maxLength, enablePasswordManagerAutofill = false, onBlur, disabled, onKeyDown, min: min$2 = "0", max: max$2, autoComplete, showRightSection = true, step, wrapperClassName, password = false,...props }, ref) => {
|
|
103027
103027
|
const [showPassword, setShowPassword] = React.useState(false);
|
|
103028
103028
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -103084,7 +103084,7 @@ const TextInput = forwardRef(({ rightSection, leftSection, className, error: err
|
|
|
103084
103084
|
});
|
|
103085
103085
|
|
|
103086
103086
|
//#endregion
|
|
103087
|
-
//#region src/components/
|
|
103087
|
+
//#region src/components/autoCompleteInput/index.tsx
|
|
103088
103088
|
const AutoCompleteInput = ({ label, onChange, onFocus, inputValue, showSuggestions, handleOnKeyDown, children, error: error$1, rightSection, inputRef }) => /* @__PURE__ */ jsxs("div", {
|
|
103089
103089
|
className: "relative mb-8",
|
|
103090
103090
|
children: [/* @__PURE__ */ jsx(TextInput, {
|
|
@@ -103105,7 +103105,7 @@ const AutoCompleteInput = ({ label, onChange, onFocus, inputValue, showSuggestio
|
|
|
103105
103105
|
});
|
|
103106
103106
|
|
|
103107
103107
|
//#endregion
|
|
103108
|
-
//#region src/components/
|
|
103108
|
+
//#region src/components/alert/index.tsx
|
|
103109
103109
|
const Alert = ({ show, message, type, plain = false, className }) => {
|
|
103110
103110
|
const [showAlert, setShowAlert] = useState();
|
|
103111
103111
|
const icon = () => {
|
|
@@ -103155,7 +103155,68 @@ const Alert = ({ show, message, type, plain = false, className }) => {
|
|
|
103155
103155
|
Alert.displayName = "Alert";
|
|
103156
103156
|
|
|
103157
103157
|
//#endregion
|
|
103158
|
-
//#region src/components/
|
|
103158
|
+
//#region src/components/unstyledButton/index.tsx
|
|
103159
|
+
const UnstyledButton = forwardRef(({ className,...props }, ref) => /* @__PURE__ */ jsx("button", {
|
|
103160
|
+
type: "button",
|
|
103161
|
+
"data-component": "unstyledButton",
|
|
103162
|
+
className: cn("appearance-none", className),
|
|
103163
|
+
ref,
|
|
103164
|
+
...props
|
|
103165
|
+
}));
|
|
103166
|
+
UnstyledButton.displayName = "UnstyledButton";
|
|
103167
|
+
|
|
103168
|
+
//#endregion
|
|
103169
|
+
//#region src/components/accordion/AccordionItem.tsx
|
|
103170
|
+
const AccordionItem = ({ controlContent, panelContent, style: style$1 = "light", border = false, chevronPosition = "left", disabled = false, active = false, endContent, className }) => {
|
|
103171
|
+
const [isActive$1, setIsActive] = useState(false);
|
|
103172
|
+
useEffect(() => {
|
|
103173
|
+
setIsActive(active);
|
|
103174
|
+
}, [active]);
|
|
103175
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsxs("div", {
|
|
103176
|
+
"data-testid": "accordion-item",
|
|
103177
|
+
className: cn("rounded-md hover:bg-gray-50", {
|
|
103178
|
+
"bg-light-blue hover:bg-light-blue/50": style$1 === "dark",
|
|
103179
|
+
"rounded-none border-b border-gray-200": border,
|
|
103180
|
+
"bg-ultra-light-blue border border-gray-200 hover:bg-transparent": style$1 === "onboarding",
|
|
103181
|
+
"bg-white": style$1 === "onboarding" && isActive$1,
|
|
103182
|
+
"hover:bg-ultra-light-blue cursor-not-allowed opacity-50": disabled
|
|
103183
|
+
}, className),
|
|
103184
|
+
children: [/* @__PURE__ */ jsxs(UnstyledButton, {
|
|
103185
|
+
className: cn("relative flex w-full flex-row items-center justify-between gap-2 px-4 py-3", { "flex-row-reverse": chevronPosition === "right" }),
|
|
103186
|
+
onClick: () => setIsActive(!isActive$1),
|
|
103187
|
+
disabled,
|
|
103188
|
+
children: [
|
|
103189
|
+
/* @__PURE__ */ jsx("span", {
|
|
103190
|
+
onClick: () => setIsActive(!isActive$1),
|
|
103191
|
+
className: `duration-300${isActive$1 ? "rotate-180" : ""}`,
|
|
103192
|
+
children: /* @__PURE__ */ jsx(IconChevronDown, { size: 18 })
|
|
103193
|
+
}),
|
|
103194
|
+
/* @__PURE__ */ jsx("div", {
|
|
103195
|
+
onClick: () => setIsActive(!isActive$1),
|
|
103196
|
+
className: `flex w-full flex-row justify-between ${style$1 === "dark" && "font-medium"} leading-8`,
|
|
103197
|
+
children: controlContent
|
|
103198
|
+
}),
|
|
103199
|
+
endContent
|
|
103200
|
+
]
|
|
103201
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
103202
|
+
className: `transition-max-height overflow-hidden duration-500 ease-in-out ${isActive$1 ? "max-h-1000" : "max-h-0"} leading-6 font-normal`,
|
|
103203
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
103204
|
+
className: "px-4 py-3",
|
|
103205
|
+
children: panelContent
|
|
103206
|
+
})
|
|
103207
|
+
})]
|
|
103208
|
+
}) });
|
|
103209
|
+
};
|
|
103210
|
+
|
|
103211
|
+
//#endregion
|
|
103212
|
+
//#region src/components/accordion/AccordionWrapper.tsx
|
|
103213
|
+
const AccordionWrapper = ({ children, className }) => /* @__PURE__ */ jsx("div", {
|
|
103214
|
+
className: cn(className, "flex flex-col gap-2"),
|
|
103215
|
+
children
|
|
103216
|
+
});
|
|
103217
|
+
|
|
103218
|
+
//#endregion
|
|
103219
|
+
//#region src/components/avatar/index.tsx
|
|
103159
103220
|
const radiusFormatter = {
|
|
103160
103221
|
0: "rounded-none",
|
|
103161
103222
|
2: "rounded-sm",
|
|
@@ -103180,7 +103241,7 @@ const Avatar = ({ src, alt = "", size: size$3 = 50, radius = 100 }) => /* @__PUR
|
|
|
103180
103241
|
Avatar.displayName = "Avatar";
|
|
103181
103242
|
|
|
103182
103243
|
//#endregion
|
|
103183
|
-
//#region src/components/
|
|
103244
|
+
//#region src/components/avatarIndicator/index.tsx
|
|
103184
103245
|
const AvatarIndicator = ({ indicatorCount, className }) => /* @__PURE__ */ jsx("div", {
|
|
103185
103246
|
className: cn("inline-flex h-5 min-w-5 flex-col items-center justify-center gap-2.5 rounded border-2 border-solid border-white bg-blue-950 px-1.5", className),
|
|
103186
103247
|
"data-component": "AvatarIndicator",
|
|
@@ -103191,7 +103252,7 @@ const AvatarIndicator = ({ indicatorCount, className }) => /* @__PURE__ */ jsx("
|
|
|
103191
103252
|
});
|
|
103192
103253
|
|
|
103193
103254
|
//#endregion
|
|
103194
|
-
//#region src/components/
|
|
103255
|
+
//#region src/components/badge/index.tsx
|
|
103195
103256
|
const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, mobile = false, badgeBorder = false,...props }) => /* @__PURE__ */ jsx("span", {
|
|
103196
103257
|
"data-component": "Badge",
|
|
103197
103258
|
className: clsx_default("inline-flex h-[1.375rem] max-w-full place-content-center items-center p-[10px] align-middle text-xs leading-[20px] font-medium tracking-wide text-wrap whitespace-normal normal-case", mobile ? "rounded-s" : "rounded-[2rem]", badgeBorder && {
|
|
@@ -103225,7 +103286,7 @@ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, mobile =
|
|
|
103225
103286
|
Badge.displayName = "Badge";
|
|
103226
103287
|
|
|
103227
103288
|
//#endregion
|
|
103228
|
-
//#region src/components/
|
|
103289
|
+
//#region src/components/bigBadge/index.tsx
|
|
103229
103290
|
const BigBadge = ({ styleVariant = COLOR.GREEN, className, children,...props }) => /* @__PURE__ */ jsx("div", {
|
|
103230
103291
|
"data-component": "BigBadge",
|
|
103231
103292
|
className: cn("grid h-9 max-w-full min-w-[140px] place-content-center rounded-full border border-solid px-6 py-1 text-sm font-medium whitespace-nowrap lowercase", {
|
|
@@ -103244,7 +103305,7 @@ const BigBadge = ({ styleVariant = COLOR.GREEN, className, children,...props })
|
|
|
103244
103305
|
});
|
|
103245
103306
|
|
|
103246
103307
|
//#endregion
|
|
103247
|
-
//#region src/components/
|
|
103308
|
+
//#region src/components/linkText/index.tsx
|
|
103248
103309
|
/** @deprecated dont use this anymore, instead use the next link */
|
|
103249
103310
|
const LinkText = ({ children, classNames: classNames$1 }) => /* @__PURE__ */ jsx("span", {
|
|
103250
103311
|
className: classNames$1,
|
|
@@ -103253,7 +103314,7 @@ const LinkText = ({ children, classNames: classNames$1 }) => /* @__PURE__ */ jsx
|
|
|
103253
103314
|
LinkText.displayName = "LinkText";
|
|
103254
103315
|
|
|
103255
103316
|
//#endregion
|
|
103256
|
-
//#region src/components/
|
|
103317
|
+
//#region src/components/breadCrumb/index.tsx
|
|
103257
103318
|
const BreadCrumb = ({ text }) => /* @__PURE__ */ jsx(LinkText, {
|
|
103258
103319
|
"data-component": "BreadCrumb",
|
|
103259
103320
|
classNames: "flex items-center",
|
|
@@ -103262,7 +103323,7 @@ const BreadCrumb = ({ text }) => /* @__PURE__ */ jsx(LinkText, {
|
|
|
103262
103323
|
BreadCrumb.displayName = "BreadCrumb";
|
|
103263
103324
|
|
|
103264
103325
|
//#endregion
|
|
103265
|
-
//#region src/components/
|
|
103326
|
+
//#region src/components/checkbox/index.tsx
|
|
103266
103327
|
const Checkbox = forwardRef(({ size: size$3 = "md", className, error: error$1, mediumBoldText, label, indeterminate = false, disabled = false,...props }, ref) => /* @__PURE__ */ jsxs("div", {
|
|
103267
103328
|
className: cn("relative grid gap-2", className),
|
|
103268
103329
|
children: [/* @__PURE__ */ jsxs("label", {
|
|
@@ -103318,7 +103379,7 @@ const Checkbox = forwardRef(({ size: size$3 = "md", className, error: error$1, m
|
|
|
103318
103379
|
Checkbox.displayName = "Checkbox";
|
|
103319
103380
|
|
|
103320
103381
|
//#endregion
|
|
103321
|
-
//#region src/components/
|
|
103382
|
+
//#region src/components/divider/index.tsx
|
|
103322
103383
|
const Divider = ({ className,...props }) => /* @__PURE__ */ jsx("div", {
|
|
103323
103384
|
"data-component": "divider",
|
|
103324
103385
|
className: clsx_default("block h-px w-full bg-[#CCCCCC]", className),
|
|
@@ -103326,7 +103387,7 @@ const Divider = ({ className,...props }) => /* @__PURE__ */ jsx("div", {
|
|
|
103326
103387
|
});
|
|
103327
103388
|
|
|
103328
103389
|
//#endregion
|
|
103329
|
-
//#region src/components/
|
|
103390
|
+
//#region src/components/googleAppButtonIcon/index.tsx
|
|
103330
103391
|
const GoogleAppButtonIcon = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
103331
103392
|
viewBox: "0 0 224 66",
|
|
103332
103393
|
fill: "none",
|
|
@@ -103511,18 +103572,7 @@ const GoogleAppButtonIcon = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
103511
103572
|
});
|
|
103512
103573
|
|
|
103513
103574
|
//#endregion
|
|
103514
|
-
//#region src/components/
|
|
103515
|
-
const UnstyledButton = forwardRef(({ className,...props }, ref) => /* @__PURE__ */ jsx("button", {
|
|
103516
|
-
type: "button",
|
|
103517
|
-
"data-component": "unstyledButton",
|
|
103518
|
-
className: cn("appearance-none", className),
|
|
103519
|
-
ref,
|
|
103520
|
-
...props
|
|
103521
|
-
}));
|
|
103522
|
-
UnstyledButton.displayName = "UnstyledButton";
|
|
103523
|
-
|
|
103524
|
-
//#endregion
|
|
103525
|
-
//#region src/components/HamburgerMenuButton/index.tsx
|
|
103575
|
+
//#region src/components/hamburgerMenuButton/index.tsx
|
|
103526
103576
|
const HamburgerMenuButton = forwardRef(({ menuState, setMenuState }, ref) => {
|
|
103527
103577
|
const defaultClasses = cn("absolute h-[2px] bg-white duration-150");
|
|
103528
103578
|
return /* @__PURE__ */ jsxs(UnstyledButton, {
|
|
@@ -103542,7 +103592,7 @@ const HamburgerMenuButton = forwardRef(({ menuState, setMenuState }, ref) => {
|
|
|
103542
103592
|
HamburgerMenuButton.displayName = "HamburgerMenuButton";
|
|
103543
103593
|
|
|
103544
103594
|
//#endregion
|
|
103545
|
-
//#region src/components/
|
|
103595
|
+
//#region src/components/hr/index.tsx
|
|
103546
103596
|
const HR = ({ className }) => /* @__PURE__ */ jsx("hr", {
|
|
103547
103597
|
"data-component": "hr",
|
|
103548
103598
|
className: `h-px w-full border-none bg-gray-200 ${className}`
|
|
@@ -103550,7 +103600,7 @@ const HR = ({ className }) => /* @__PURE__ */ jsx("hr", {
|
|
|
103550
103600
|
HR.displayName = "HR";
|
|
103551
103601
|
|
|
103552
103602
|
//#endregion
|
|
103553
|
-
//#region src/components/
|
|
103603
|
+
//#region src/components/island/index.tsx
|
|
103554
103604
|
const Island = ({ children, className, noShadow = false, noPadding = false,...props }) => /* @__PURE__ */ jsx("div", {
|
|
103555
103605
|
"data-component": "island",
|
|
103556
103606
|
className: cn("relative bg-white px-5 py-5 shadow-[0_-0.5rem_2rem_rgba(38,41,92,0.04)] md:px-10 md:py-9", {
|
|
@@ -103563,7 +103613,7 @@ const Island = ({ children, className, noShadow = false, noPadding = false,...pr
|
|
|
103563
103613
|
Island.displayName = "Island";
|
|
103564
103614
|
|
|
103565
103615
|
//#endregion
|
|
103566
|
-
//#region src/components/
|
|
103616
|
+
//#region src/components/label/index.tsx
|
|
103567
103617
|
const Label = ({ children, className,...props }) => /* @__PURE__ */ jsx("label", {
|
|
103568
103618
|
"data-component": "label",
|
|
103569
103619
|
className: cn("flex items-center gap-1 text-xs font-medium text-black", className),
|
|
@@ -103572,7 +103622,7 @@ const Label = ({ children, className,...props }) => /* @__PURE__ */ jsx("label",
|
|
|
103572
103622
|
});
|
|
103573
103623
|
|
|
103574
103624
|
//#endregion
|
|
103575
|
-
//#region src/components/
|
|
103625
|
+
//#region src/components/loader/index.tsx
|
|
103576
103626
|
const Loader = () => /* @__PURE__ */ jsx("div", {
|
|
103577
103627
|
className: "inline-flex h-full w-auto items-center justify-center",
|
|
103578
103628
|
children: /* @__PURE__ */ jsx("div", { className: "loader" })
|
|
@@ -103580,7 +103630,7 @@ const Loader = () => /* @__PURE__ */ jsx("div", {
|
|
|
103580
103630
|
Loader.displayName = "Loader";
|
|
103581
103631
|
|
|
103582
103632
|
//#endregion
|
|
103583
|
-
//#region src/components/
|
|
103633
|
+
//#region src/components/logo/index.tsx
|
|
103584
103634
|
const LogoBlack = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
103585
103635
|
viewBox: "0 0 110 68",
|
|
103586
103636
|
fill: "none",
|
|
@@ -103646,7 +103696,7 @@ const LogoBlack = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
103646
103696
|
});
|
|
103647
103697
|
|
|
103648
103698
|
//#endregion
|
|
103649
|
-
//#region src/components/
|
|
103699
|
+
//#region src/components/modal/index.tsx
|
|
103650
103700
|
const Modal = ({ title, children, withCloseButton = true, opened, additionalClassNames, closeModalWithConfirmation = false, gradient = true, uncloseAble = false, dataTestId, onClose, size: size$3 }) => {
|
|
103651
103701
|
const ref = useRef(null);
|
|
103652
103702
|
const refContainer = useRef(null);
|
|
@@ -103743,7 +103793,34 @@ const Modal = ({ title, children, withCloseButton = true, opened, additionalClas
|
|
|
103743
103793
|
Modal.displayName = "Modal";
|
|
103744
103794
|
|
|
103745
103795
|
//#endregion
|
|
103746
|
-
//#region src/components/
|
|
103796
|
+
//#region src/components/navButtons/index.tsx
|
|
103797
|
+
const NavButtons = ({ onNext, onPrev }) => /* @__PURE__ */ jsxs("div", {
|
|
103798
|
+
className: "flex items-center overflow-hidden rounded border border-gray-200",
|
|
103799
|
+
children: [
|
|
103800
|
+
/* @__PURE__ */ jsx("div", {
|
|
103801
|
+
"data-testid": "chevron-left",
|
|
103802
|
+
className: `flex ${onPrev ? "cursor-pointer hover:bg-gray-50" : "cursor-not-allowed"} h-full items-center px-2`,
|
|
103803
|
+
onClick: onPrev,
|
|
103804
|
+
children: /* @__PURE__ */ jsx(IconChevronLeft, {
|
|
103805
|
+
size: 20,
|
|
103806
|
+
className: onPrev ? "text-gray-500" : "text-gray-200"
|
|
103807
|
+
})
|
|
103808
|
+
}),
|
|
103809
|
+
/* @__PURE__ */ jsx("div", { className: "h-6 w-[0.8px] bg-gray-200" }),
|
|
103810
|
+
/* @__PURE__ */ jsx("div", {
|
|
103811
|
+
"data-testid": "chevron-right",
|
|
103812
|
+
className: `flex ${onNext ? "cursor-pointer hover:bg-gray-50" : "cursor-not-allowed"} h-full items-center px-2 hover:bg-gray-50`,
|
|
103813
|
+
onClick: onNext,
|
|
103814
|
+
children: /* @__PURE__ */ jsx(IconChevronRight, {
|
|
103815
|
+
size: 20,
|
|
103816
|
+
className: onNext ? "text-gray-500" : "text-gray-200"
|
|
103817
|
+
})
|
|
103818
|
+
})
|
|
103819
|
+
]
|
|
103820
|
+
});
|
|
103821
|
+
|
|
103822
|
+
//#endregion
|
|
103823
|
+
//#region src/components/numberField/index.tsx
|
|
103747
103824
|
const NumberField = ({ name, value = 0, max: max$2, min: min$2 = 0, isDisabled, id, className = "", label, error: error$1, onChange }) => {
|
|
103748
103825
|
const handleChange = (e$1) => {
|
|
103749
103826
|
const newValue = parseInt(e$1.target.value, 10);
|
|
@@ -103800,7 +103877,7 @@ const NumberField = ({ name, value = 0, max: max$2, min: min$2 = 0, isDisabled,
|
|
|
103800
103877
|
};
|
|
103801
103878
|
|
|
103802
103879
|
//#endregion
|
|
103803
|
-
//#region src/components/
|
|
103880
|
+
//#region src/components/pageUnavailable/index.tsx
|
|
103804
103881
|
const PageUnavailable = ({ notAvailableButton, notAvailableDescription, notAvailableHeaderText }) => /* @__PURE__ */ jsx(Island, { children: /* @__PURE__ */ jsxs("div", {
|
|
103805
103882
|
className: "mx-auto grid max-w-[900px] justify-items-center gap-8 text-center",
|
|
103806
103883
|
children: [
|
|
@@ -103814,7 +103891,7 @@ const PageUnavailable = ({ notAvailableButton, notAvailableDescription, notAvail
|
|
|
103814
103891
|
}) });
|
|
103815
103892
|
|
|
103816
103893
|
//#endregion
|
|
103817
|
-
//#region src/components/
|
|
103894
|
+
//#region src/components/passwordInput/index.tsx
|
|
103818
103895
|
const PasswordInput = ({ ...props }) => /* @__PURE__ */ jsx(TextInput, {
|
|
103819
103896
|
password: true,
|
|
103820
103897
|
enablePasswordManagerAutofill: true,
|
|
@@ -109307,7 +109384,7 @@ function safePolygon(options$1) {
|
|
|
109307
109384
|
}
|
|
109308
109385
|
|
|
109309
109386
|
//#endregion
|
|
109310
|
-
//#region src/components/
|
|
109387
|
+
//#region src/components/popover/index.tsx
|
|
109311
109388
|
const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpen = false, placement = "right", style: style$1 = "card", className }, ref) => {
|
|
109312
109389
|
const [isOpen, setIsOpen] = useState(passedOpen);
|
|
109313
109390
|
const isMobile = true;
|
|
@@ -109383,7 +109460,7 @@ const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpe
|
|
|
109383
109460
|
});
|
|
109384
109461
|
|
|
109385
109462
|
//#endregion
|
|
109386
|
-
//#region src/components/
|
|
109463
|
+
//#region src/components/progressBar/index.tsx
|
|
109387
109464
|
const ProgressBar = ({ value, maxValue = 100, className }) => {
|
|
109388
109465
|
const [width, setWidth] = useState(0);
|
|
109389
109466
|
useEffect(() => {
|
|
@@ -109399,7 +109476,7 @@ const ProgressBar = ({ value, maxValue = 100, className }) => {
|
|
|
109399
109476
|
};
|
|
109400
109477
|
|
|
109401
109478
|
//#endregion
|
|
109402
|
-
//#region src/components/
|
|
109479
|
+
//#region src/components/radioButton/index.tsx
|
|
109403
109480
|
const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, className, containerClassName, labelClassName,...props }) => /* @__PURE__ */ jsxs("div", {
|
|
109404
109481
|
className: `${containerClassName || "radio-button-container"} relative flex items-start`,
|
|
109405
109482
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -109571,7 +109648,7 @@ const IconStarHalfFilled = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
109571
109648
|
});
|
|
109572
109649
|
|
|
109573
109650
|
//#endregion
|
|
109574
|
-
//#region src/components/
|
|
109651
|
+
//#region src/components/rating/index.tsx
|
|
109575
109652
|
const Rating = ({ rating, size: size$3 = "normal", setReview, className, setReviewError, error: error$1 }) => {
|
|
109576
109653
|
const [hoveredStars, setHoveredStars] = useState(0);
|
|
109577
109654
|
const [hoveredSmallStars, setHoveredSmallStars] = useState(0);
|
|
@@ -109677,7 +109754,7 @@ const Rating = ({ rating, size: size$3 = "normal", setReview, className, setRevi
|
|
|
109677
109754
|
};
|
|
109678
109755
|
|
|
109679
109756
|
//#endregion
|
|
109680
|
-
//#region src/components/
|
|
109757
|
+
//#region src/components/regionSelector/index.tsx
|
|
109681
109758
|
const RegionSelector = ({ title, regions,...props }) => {
|
|
109682
109759
|
if (regions?.length === 0) return null;
|
|
109683
109760
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -109697,7 +109774,7 @@ const RegionSelector = ({ title, regions,...props }) => {
|
|
|
109697
109774
|
RegionSelector.displayName = "RegionSelector";
|
|
109698
109775
|
|
|
109699
109776
|
//#endregion
|
|
109700
|
-
//#region src/components/
|
|
109777
|
+
//#region src/components/reviews/index.tsx
|
|
109701
109778
|
const ReviewsLine = ({ maxValue, amount, countStarsText }) => /* @__PURE__ */ jsxs("div", {
|
|
109702
109779
|
className: "flex w-full flex-row place-content-center gap-5 align-middle",
|
|
109703
109780
|
children: [
|
|
@@ -109758,7 +109835,7 @@ const Reviews = ({ totalRatings, averageRating, aggregatedRating, countStarsText
|
|
|
109758
109835
|
});
|
|
109759
109836
|
|
|
109760
109837
|
//#endregion
|
|
109761
|
-
//#region src/components/
|
|
109838
|
+
//#region src/components/scrollToTop/index.tsx
|
|
109762
109839
|
const ScrollToTop = ({ scrollToTopTitle }) => {
|
|
109763
109840
|
const [isVisible, setIsVisible] = useState(false);
|
|
109764
109841
|
const showScrollToTopButtonPosition = 20;
|
|
@@ -109789,7 +109866,7 @@ const ScrollToTop = ({ scrollToTopTitle }) => {
|
|
|
109789
109866
|
};
|
|
109790
109867
|
|
|
109791
109868
|
//#endregion
|
|
109792
|
-
//#region src/components/
|
|
109869
|
+
//#region src/components/searchInput/index.tsx
|
|
109793
109870
|
const SearchInput = () => /* @__PURE__ */ jsx(TextInput, {
|
|
109794
109871
|
className: "w-full lg:w-auto lg:min-w-[23.75rem]",
|
|
109795
109872
|
rightSection: /* @__PURE__ */ jsx(IconSearch, {
|
|
@@ -115354,7 +115431,7 @@ var NonceProvider = function(_ref$1) {
|
|
|
115354
115431
|
};
|
|
115355
115432
|
|
|
115356
115433
|
//#endregion
|
|
115357
|
-
//#region src/components/
|
|
115434
|
+
//#region src/components/select/index.tsx
|
|
115358
115435
|
const LANGUAGE_FLAGS = [
|
|
115359
115436
|
{
|
|
115360
115437
|
value: "nl-NL",
|
|
@@ -115530,7 +115607,7 @@ const Select = forwardRef(({ options: options$1, placeholder, defaultValue, labe
|
|
|
115530
115607
|
Select.displayName = "Select";
|
|
115531
115608
|
|
|
115532
115609
|
//#endregion
|
|
115533
|
-
//#region src/components/
|
|
115610
|
+
//#region src/components/settingsCard/index.tsx
|
|
115534
115611
|
const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @__PURE__ */ jsxs("div", {
|
|
115535
115612
|
"data-component": "SettingsCard",
|
|
115536
115613
|
className: "flex items-center justify-between gap-2 bg-white px-8 py-4 shadow-[0_-0.5rem_2rem_rgba(38,41,92,0.04)] md:px-4 lg:px-8",
|
|
@@ -115548,14 +115625,14 @@ const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @_
|
|
|
115548
115625
|
});
|
|
115549
115626
|
|
|
115550
115627
|
//#endregion
|
|
115551
|
-
//#region src/components/
|
|
115628
|
+
//#region src/components/skeleton/index.tsx
|
|
115552
115629
|
const Skeleton = ({ className }) => /* @__PURE__ */ jsx("span", {
|
|
115553
115630
|
"data-component": "genericSkeleton",
|
|
115554
115631
|
className: cn("inline-block rounded-md", "animate-pulse bg-gray-100/50", className)
|
|
115555
115632
|
});
|
|
115556
115633
|
|
|
115557
115634
|
//#endregion
|
|
115558
|
-
//#region src/components/
|
|
115635
|
+
//#region src/components/skillPill/index.tsx
|
|
115559
115636
|
const SkillPill = ({ name, number }) => /* @__PURE__ */ jsxs("div", {
|
|
115560
115637
|
className: "flex items-center rounded-full border border-gray-200 p-[3px]",
|
|
115561
115638
|
children: [/* @__PURE__ */ jsx("span", {
|
|
@@ -115568,7 +115645,97 @@ const SkillPill = ({ name, number }) => /* @__PURE__ */ jsxs("div", {
|
|
|
115568
115645
|
});
|
|
115569
115646
|
|
|
115570
115647
|
//#endregion
|
|
115571
|
-
//#region src/components/
|
|
115648
|
+
//#region src/components/stepper/NumberedStepper.tsx
|
|
115649
|
+
const NumberedStepper = ({ steps, active, className, stepsCompleted, completedLabel, onStepClick }) => /* @__PURE__ */ jsx("div", {
|
|
115650
|
+
"data-testid": "numbered-stepper-container",
|
|
115651
|
+
className: clsx_default("flex w-full flex-col items-start gap-2 md:flex-row md:items-center md:gap-7", className),
|
|
115652
|
+
children: steps.map((step, index$4) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
|
|
115653
|
+
"data-testid": `stepper-step-${index$4}`,
|
|
115654
|
+
onClick: () => index$4 < active ? onStepClick(index$4) : null,
|
|
115655
|
+
className: `${index$4 < active && "cursor-pointer"} flex w-auto`,
|
|
115656
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
115657
|
+
className: "flex flex-auto flex-row gap-3",
|
|
115658
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
115659
|
+
className: "flex size-12 flex-auto items-center justify-center whitespace-nowrap",
|
|
115660
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
115661
|
+
"data-testid": `stepper-number-${index$4}`,
|
|
115662
|
+
className: `grid size-12 place-content-center rounded-full leading-[36px]! md:leading-[40px]! ${index$4 === 0 && active === 1 ? "bg-light-blue text-white" : "bg-transparent!"} ${index$4 <= active ? "border-light-blue text-light-blue border" : "border border-gray-500 text-gray-500"} align-middle font-["Gotham"] font-bold md:text-2xl`,
|
|
115663
|
+
children: index$4 + 1
|
|
115664
|
+
})
|
|
115665
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
115666
|
+
className: "flex flex-auto flex-col justify-center",
|
|
115667
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
115668
|
+
"data-testid": `stepper-label-${index$4}`,
|
|
115669
|
+
className: `content-center text-sm font-medium! whitespace-nowrap md:text-lg md:font-bold ${index$4 <= active ? "text-gray-900" : "text-gray-500"}`,
|
|
115670
|
+
children: step.label
|
|
115671
|
+
}), /* @__PURE__ */ jsxs("span", { children: [completedLabel && active === 1 && index$4 === 0 && stepsCompleted.length > 0 ? /* @__PURE__ */ jsxs("span", {
|
|
115672
|
+
className: "text-green flex items-center text-xs font-medium",
|
|
115673
|
+
children: [
|
|
115674
|
+
completedLabel,
|
|
115675
|
+
" ",
|
|
115676
|
+
/* @__PURE__ */ jsx(IconCheck, {
|
|
115677
|
+
className: "align-middle",
|
|
115678
|
+
size: 12
|
|
115679
|
+
})
|
|
115680
|
+
]
|
|
115681
|
+
}) : /* @__PURE__ */ jsx(Fragment$1, {}), " "] })]
|
|
115682
|
+
})]
|
|
115683
|
+
})
|
|
115684
|
+
}), index$4 < steps.length - 1 && /* @__PURE__ */ jsx("div", { className: `my-2 ml-6 flex h-[24px] w-px align-middle md:ml-0 md:h-px md:w-auto md:flex-1 ${active === 1 ? "bg-light-blue" : "bg-[#CCCCCC]"}` })] }, index$4))
|
|
115685
|
+
});
|
|
115686
|
+
|
|
115687
|
+
//#endregion
|
|
115688
|
+
//#region src/components/stepper/Stepper.tsx
|
|
115689
|
+
const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableSteps, completedSteps, activeStep, isMobile, className }) => {
|
|
115690
|
+
return /* @__PURE__ */ jsx("div", {
|
|
115691
|
+
"data-testid": "stepper-container",
|
|
115692
|
+
className: clsx_default("flex w-full justify-start", className),
|
|
115693
|
+
children: steps?.map((step, index$4) => {
|
|
115694
|
+
const isClickable = index$4 <= activeStep && clickableSteps?.includes(index$4);
|
|
115695
|
+
const isCompleted = completedSteps?.includes(index$4);
|
|
115696
|
+
return /* @__PURE__ */ jsx("div", {
|
|
115697
|
+
"data-testid": `stepper-step-${index$4}`,
|
|
115698
|
+
className: "flex w-full",
|
|
115699
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
115700
|
+
className: "relative flex w-full justify-center",
|
|
115701
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
115702
|
+
"data-testid": `stepper-step-container-${index$4}`,
|
|
115703
|
+
className: `mr-2 flex w-36 flex-col items-center ${variant === "small" || isMobile ? "gap-0.5" : "gap-3"}`,
|
|
115704
|
+
children: [
|
|
115705
|
+
/* @__PURE__ */ jsxs("div", {
|
|
115706
|
+
"data-testid": `stepper-step-circle-${index$4}`,
|
|
115707
|
+
onClick: () => isClickable && setStep(index$4),
|
|
115708
|
+
className: cn("relative z-10 flex size-8 items-center justify-center rounded-full border border-gray-500 bg-white text-gray-500", {
|
|
115709
|
+
"size-5": variant === "small" || isMobile,
|
|
115710
|
+
"cursor-pointer": isClickable,
|
|
115711
|
+
"cursor-not-allowed": clickableSteps && !clickableSteps.includes(index$4),
|
|
115712
|
+
"border-light-blue text-light-blue": index$4 === activeStep,
|
|
115713
|
+
"border-light-blueDisabled bg-light-blueDisabled border text-white": isCompleted,
|
|
115714
|
+
"border-light-blue bg-light-blue": index$4 < activeStep
|
|
115715
|
+
}),
|
|
115716
|
+
children: [(index$4 < activeStep || isCompleted) && /* @__PURE__ */ jsx("div", {
|
|
115717
|
+
className: "flex items-center justify-center text-white",
|
|
115718
|
+
children: /* @__PURE__ */ jsx(IconCheck, { size: variant === "small" || isMobile ? 7 : 12 })
|
|
115719
|
+
}), index$4 === activeStep && /* @__PURE__ */ jsx("div", { className: `${variant === "small" || isMobile ? "size-1" : "size-2"} bg-light-blue rounded-full` })]
|
|
115720
|
+
}),
|
|
115721
|
+
/* @__PURE__ */ jsx("div", {
|
|
115722
|
+
className: "flex flex-wrap items-center justify-center",
|
|
115723
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
115724
|
+
className: `text-center ${variant === "small" || isMobile ? "text-xs-fields" : "text-sm font-normal"} ${index$4 <= activeStep ? "text-gray-900" : "text-gray-500"}`,
|
|
115725
|
+
children: step.label
|
|
115726
|
+
})
|
|
115727
|
+
}),
|
|
115728
|
+
index$4 < steps.length && index$4 !== 0 && /* @__PURE__ */ jsx("div", { className: `${variant === "small" || isMobile ? "top-2.5" : "top-4"} absolute z-0 h-px w-full -translate-x-1/2 ${index$4 < activeStep + 1 ? "bg-light-blue" : "bg-gray-200"}` })
|
|
115729
|
+
]
|
|
115730
|
+
})
|
|
115731
|
+
})
|
|
115732
|
+
}, index$4);
|
|
115733
|
+
})
|
|
115734
|
+
});
|
|
115735
|
+
};
|
|
115736
|
+
|
|
115737
|
+
//#endregion
|
|
115738
|
+
//#region src/components/stickyMobileButton/index.tsx
|
|
115572
115739
|
const StickyMobileButtonWrapper = ({ children }) => /* @__PURE__ */ jsx("div", {
|
|
115573
115740
|
className: "fixed inset-x-0 bottom-0 z-40 w-full bg-white p-8 md:hidden",
|
|
115574
115741
|
children: /* @__PURE__ */ jsx("div", {
|
|
@@ -115578,7 +115745,7 @@ const StickyMobileButtonWrapper = ({ children }) => /* @__PURE__ */ jsx("div", {
|
|
|
115578
115745
|
});
|
|
115579
115746
|
|
|
115580
115747
|
//#endregion
|
|
115581
|
-
//#region src/components/
|
|
115748
|
+
//#region src/components/table/index.tsx
|
|
115582
115749
|
const Table = ({ children, className }) => /* @__PURE__ */ jsx("div", {
|
|
115583
115750
|
"data-component": "table",
|
|
115584
115751
|
className: cn("table w-full table-fixed border-collapse overflow-auto", className),
|
|
@@ -115586,7 +115753,7 @@ const Table = ({ children, className }) => /* @__PURE__ */ jsx("div", {
|
|
|
115586
115753
|
});
|
|
115587
115754
|
|
|
115588
115755
|
//#endregion
|
|
115589
|
-
//#region src/components/
|
|
115756
|
+
//#region src/components/table/tableCell/index.tsx
|
|
115590
115757
|
const TableCell = ({ children, smallPadding, className }) => /* @__PURE__ */ jsx("div", {
|
|
115591
115758
|
"data-component": "tableCell",
|
|
115592
115759
|
className: `${cn("table-cell py-2 align-middle text-sm font-normal first:pl-2 last:pr-2 md:py-0 md:xl:first:pl-10 md:xl:last:pr-10", { "md:xl:first:pl-5 md:xl:last:pr-5": smallPadding }, className)}`,
|
|
@@ -115594,7 +115761,7 @@ const TableCell = ({ children, smallPadding, className }) => /* @__PURE__ */ jsx
|
|
|
115594
115761
|
});
|
|
115595
115762
|
|
|
115596
115763
|
//#endregion
|
|
115597
|
-
//#region src/components/
|
|
115764
|
+
//#region src/components/table/tableHeader/index.tsx
|
|
115598
115765
|
const TableHeader = ({ children }) => /* @__PURE__ */ jsx("div", {
|
|
115599
115766
|
"data-component": "tableHeader",
|
|
115600
115767
|
className: "table-header-group border-b border-gray-200",
|
|
@@ -115602,14 +115769,14 @@ const TableHeader = ({ children }) => /* @__PURE__ */ jsx("div", {
|
|
|
115602
115769
|
});
|
|
115603
115770
|
|
|
115604
115771
|
//#endregion
|
|
115605
|
-
//#region src/components/
|
|
115772
|
+
//#region src/components/table/tableHeaderItem/index.tsx
|
|
115606
115773
|
const TableHeaderItem = ({ children, smallPadding, className }) => /* @__PURE__ */ jsx("div", {
|
|
115607
115774
|
className: cn("hidden h-10 align-middle text-xs font-medium first:pl-10 last:pr-10 xl:table-cell", { "xl:first:pl-5 xl:last:pr-5": smallPadding }, className),
|
|
115608
115775
|
children
|
|
115609
115776
|
});
|
|
115610
115777
|
|
|
115611
115778
|
//#endregion
|
|
115612
|
-
//#region src/components/
|
|
115779
|
+
//#region src/components/table/tableHeaderRow/index.tsx
|
|
115613
115780
|
const TableHeaderRow = ({ children,...props }) => /* @__PURE__ */ jsx("div", {
|
|
115614
115781
|
"data-component": "tableHeaderRow",
|
|
115615
115782
|
className: "table-row xl:border-0 xl:border-b xl:border-solid xl:border-gray-300",
|
|
@@ -115618,7 +115785,7 @@ const TableHeaderRow = ({ children,...props }) => /* @__PURE__ */ jsx("div", {
|
|
|
115618
115785
|
});
|
|
115619
115786
|
|
|
115620
115787
|
//#endregion
|
|
115621
|
-
//#region src/components/
|
|
115788
|
+
//#region src/components/table/tableRow/index.tsx
|
|
115622
115789
|
const TableRow = forwardRef(({ children, className,...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
115623
115790
|
ref,
|
|
115624
115791
|
"data-component": "tableRow",
|
|
@@ -115628,7 +115795,7 @@ const TableRow = forwardRef(({ children, className,...props }, ref) => /* @__PUR
|
|
|
115628
115795
|
}));
|
|
115629
115796
|
|
|
115630
115797
|
//#endregion
|
|
115631
|
-
//#region src/components/
|
|
115798
|
+
//#region src/components/textArea/index.tsx
|
|
115632
115799
|
const Textarea = forwardRef(({ className, label, error: error$1, rows = 8,...props }, ref) => /* @__PURE__ */ jsxs("div", {
|
|
115633
115800
|
className: "relative grid gap-2",
|
|
115634
115801
|
children: [
|
|
@@ -115651,7 +115818,7 @@ const Textarea = forwardRef(({ className, label, error: error$1, rows = 8,...pro
|
|
|
115651
115818
|
}));
|
|
115652
115819
|
|
|
115653
115820
|
//#endregion
|
|
115654
|
-
//#region src/components/
|
|
115821
|
+
//#region src/components/themeIcon/index.tsx
|
|
115655
115822
|
const ThemeIcon = forwardRef(({ styleVariant = "black", className, icon, adjustedSize, title,...props }, ref) => {
|
|
115656
115823
|
const classNames$1 = cn("bg-transparent h-9 w-9 rounded-[5px] grid place-content-center", {
|
|
115657
115824
|
"text-black": styleVariant === COLOR.BLACK,
|
|
@@ -115679,7 +115846,7 @@ const ThemeIcon = forwardRef(({ styleVariant = "black", className, icon, adjuste
|
|
|
115679
115846
|
});
|
|
115680
115847
|
|
|
115681
115848
|
//#endregion
|
|
115682
|
-
//#region src/components/
|
|
115849
|
+
//#region src/components/toggle/index.tsx
|
|
115683
115850
|
const Toggle = ({ onClick, value, disabled = false }) => {
|
|
115684
115851
|
const handleToggle = (e$1) => {
|
|
115685
115852
|
e$1.stopPropagation();
|
|
@@ -115696,7 +115863,7 @@ const Toggle = ({ onClick, value, disabled = false }) => {
|
|
|
115696
115863
|
};
|
|
115697
115864
|
|
|
115698
115865
|
//#endregion
|
|
115699
|
-
//#region src/components/
|
|
115866
|
+
//#region src/components/tooltip/index.tsx
|
|
115700
115867
|
const sizeClasses = {
|
|
115701
115868
|
xs: "max-w-xs",
|
|
115702
115869
|
sm: "max-w-sm",
|
|
@@ -115779,7 +115946,7 @@ const Tooltip = ({ content, children, passedOpen = false, size: size$3 = "md", v
|
|
|
115779
115946
|
Tooltip.displayName = "Tooltip";
|
|
115780
115947
|
|
|
115781
115948
|
//#endregion
|
|
115782
|
-
//#region src/components/
|
|
115949
|
+
//#region src/components/truncatedText/index.tsx
|
|
115783
115950
|
const TruncatedText = ({ text, limit = 20 }) => {
|
|
115784
115951
|
const [truncatedText, setTruncatedText] = useState(text);
|
|
115785
115952
|
useEffect(() => {
|
|
@@ -115802,7 +115969,7 @@ const TruncatedText = ({ text, limit = 20 }) => {
|
|
|
115802
115969
|
};
|
|
115803
115970
|
|
|
115804
115971
|
//#endregion
|
|
115805
|
-
//#region src/components/
|
|
115972
|
+
//#region src/components/unorderedList/index.tsx
|
|
115806
115973
|
const UnorderedList = ({ children, className, actionItem,...props }) => /* @__PURE__ */ jsxs("ul", {
|
|
115807
115974
|
className: cn("m-0 last:border-none", className),
|
|
115808
115975
|
"data-component": "unorderedList",
|
|
@@ -115814,7 +115981,7 @@ const UnorderedList = ({ children, className, actionItem,...props }) => /* @__PU
|
|
|
115814
115981
|
});
|
|
115815
115982
|
|
|
115816
115983
|
//#endregion
|
|
115817
|
-
//#region src/components/
|
|
115984
|
+
//#region src/components/unorderedListItem/index.tsx
|
|
115818
115985
|
const UnorderedListItem = ({ children, actionItem, className, header = false,...props }) => /* @__PURE__ */ jsxs("li", {
|
|
115819
115986
|
...props,
|
|
115820
115987
|
"data-component": "unorderedListItem",
|
|
@@ -139896,7 +140063,7 @@ const StarterKit = Extension.create({
|
|
|
139896
140063
|
});
|
|
139897
140064
|
|
|
139898
140065
|
//#endregion
|
|
139899
|
-
//#region src/components/
|
|
140066
|
+
//#region src/components/wysiwygEditor/index.tsx
|
|
139900
140067
|
const BoldIcon = () => /* @__PURE__ */ jsx(IconBold, {
|
|
139901
140068
|
size: 18,
|
|
139902
140069
|
stroke: 1.5
|
|
@@ -140008,5 +140175,5 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
|
|
|
140008
140175
|
});
|
|
140009
140176
|
|
|
140010
140177
|
//#endregion
|
|
140011
|
-
export { ActionIcon, Alert, AppleAppButtonIcon, AutoCompleteInput, Avatar, AvatarIndicator, Badge, BigBadge, BreadCrumb, Checkbox, Divider, GoogleAppButtonIcon, HR, HamburgerMenuButton, Island, Label, LinkText, Loader, LogoBlack, Modal, NumberField, PageUnavailable, PasswordInput, Popover, ProgressBar, RadioButton, Rating, RegionSelector, Reviews, ScrollToTop, SearchInput, Select, SettingsCard, Skeleton, SkillPill, StickyMobileButtonWrapper, Table, TableCell, TableHeader, TableHeaderItem, TableHeaderRow, TableRow, TextInput, Textarea, ThemeIcon, Toggle, Tooltip, TruncatedText, UnorderedList, UnorderedListItem, UnstyledButton, WysiwygEditor };
|
|
140178
|
+
export { AccordionItem, AccordionWrapper, ActionIcon, Alert, AppleAppButtonIcon, AutoCompleteInput, Avatar, AvatarIndicator, Badge, BigBadge, BreadCrumb, Checkbox, Divider, GoogleAppButtonIcon, HR, HamburgerMenuButton, Island, Label, LinkText, Loader, LogoBlack, Modal, NavButtons, NumberField, NumberedStepper, PageUnavailable, PasswordInput, Popover, ProgressBar, RadioButton, Rating, RegionSelector, Reviews, ScrollToTop, SearchInput, Select, SettingsCard, Skeleton, SkillPill, Stepper, StickyMobileButtonWrapper, Table, TableCell, TableHeader, TableHeaderItem, TableHeaderRow, TableRow, TextInput, Textarea, ThemeIcon, Toggle, Tooltip, TruncatedText, UnorderedList, UnorderedListItem, UnstyledButton, WysiwygEditor };
|
|
140012
140179
|
//# sourceMappingURL=index.js.map
|