@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.cjs
CHANGED
|
@@ -31,7 +31,7 @@ const react_dom = __toESM(require("react-dom"));
|
|
|
31
31
|
//#region src/jsx-runtime-shim.ts
|
|
32
32
|
const jsx$2 = react.createElement;
|
|
33
33
|
const jsxs$1 = react.createElement;
|
|
34
|
-
const Fragment$
|
|
34
|
+
const Fragment$4 = react.Fragment;
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
@@ -4702,7 +4702,7 @@ function formatIcon(icon, defaultFormatAttributes) {
|
|
|
4702
4702
|
}
|
|
4703
4703
|
|
|
4704
4704
|
//#endregion
|
|
4705
|
-
//#region src/components/
|
|
4705
|
+
//#region src/components/actionIcon/index.tsx
|
|
4706
4706
|
const ActionIcon = (0, react.forwardRef)(({ title, disabled = false, styleVariant = "default", icon, type = "button", "data-testid": testId, iconSize = 20, strokeWidth = 1, onClick, className,...props }, ref) => {
|
|
4707
4707
|
const variantClassNames = clsx_default({
|
|
4708
4708
|
"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,
|
|
@@ -4733,7 +4733,7 @@ const ActionIcon = (0, react.forwardRef)(({ title, disabled = false, styleVarian
|
|
|
4733
4733
|
});
|
|
4734
4734
|
|
|
4735
4735
|
//#endregion
|
|
4736
|
-
//#region src/components/
|
|
4736
|
+
//#region src/components/appleAppButtonIcon/index.tsx
|
|
4737
4737
|
const AppleAppButtonIcon = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
4738
4738
|
viewBox: "0 0 198 66",
|
|
4739
4739
|
fill: "none",
|
|
@@ -5019,7 +5019,7 @@ var require_react_is_development = __commonJS({ "node_modules/react-is/cjs/react
|
|
|
5019
5019
|
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
5020
5020
|
var Element$1 = REACT_ELEMENT_TYPE;
|
|
5021
5021
|
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
5022
|
-
var Fragment$
|
|
5022
|
+
var Fragment$5 = REACT_FRAGMENT_TYPE;
|
|
5023
5023
|
var Lazy = REACT_LAZY_TYPE;
|
|
5024
5024
|
var Memo = REACT_MEMO_TYPE;
|
|
5025
5025
|
var Portal = REACT_PORTAL_TYPE;
|
|
@@ -5078,7 +5078,7 @@ var require_react_is_development = __commonJS({ "node_modules/react-is/cjs/react
|
|
|
5078
5078
|
exports.ContextProvider = ContextProvider;
|
|
5079
5079
|
exports.Element = Element$1;
|
|
5080
5080
|
exports.ForwardRef = ForwardRef;
|
|
5081
|
-
exports.Fragment = Fragment$
|
|
5081
|
+
exports.Fragment = Fragment$5;
|
|
5082
5082
|
exports.Lazy = Lazy;
|
|
5083
5083
|
exports.Memo = Memo;
|
|
5084
5084
|
exports.Portal = Portal;
|
|
@@ -103020,7 +103020,7 @@ var IconZzz = createReactComponent("zzz", "IconZzz", [["path", {
|
|
|
103020
103020
|
}]]);
|
|
103021
103021
|
|
|
103022
103022
|
//#endregion
|
|
103023
|
-
//#region src/components/
|
|
103023
|
+
//#region src/components/textInput/index.tsx
|
|
103024
103024
|
const TextInput = (0, react.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) => {
|
|
103025
103025
|
const [showPassword, setShowPassword] = react.default.useState(false);
|
|
103026
103026
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -103082,7 +103082,7 @@ const TextInput = (0, react.forwardRef)(({ rightSection, leftSection, className,
|
|
|
103082
103082
|
});
|
|
103083
103083
|
|
|
103084
103084
|
//#endregion
|
|
103085
|
-
//#region src/components/
|
|
103085
|
+
//#region src/components/autoCompleteInput/index.tsx
|
|
103086
103086
|
const AutoCompleteInput = ({ label, onChange, onFocus, inputValue, showSuggestions, handleOnKeyDown, children, error: error$1, rightSection, inputRef }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
103087
103087
|
className: "relative mb-8",
|
|
103088
103088
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(TextInput, {
|
|
@@ -103103,7 +103103,7 @@ const AutoCompleteInput = ({ label, onChange, onFocus, inputValue, showSuggestio
|
|
|
103103
103103
|
});
|
|
103104
103104
|
|
|
103105
103105
|
//#endregion
|
|
103106
|
-
//#region src/components/
|
|
103106
|
+
//#region src/components/alert/index.tsx
|
|
103107
103107
|
const Alert = ({ show, message, type, plain = false, className }) => {
|
|
103108
103108
|
const [showAlert, setShowAlert] = (0, react.useState)();
|
|
103109
103109
|
const icon = () => {
|
|
@@ -103153,7 +103153,68 @@ const Alert = ({ show, message, type, plain = false, className }) => {
|
|
|
103153
103153
|
Alert.displayName = "Alert";
|
|
103154
103154
|
|
|
103155
103155
|
//#endregion
|
|
103156
|
-
//#region src/components/
|
|
103156
|
+
//#region src/components/unstyledButton/index.tsx
|
|
103157
|
+
const UnstyledButton = (0, react.forwardRef)(({ className,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
103158
|
+
type: "button",
|
|
103159
|
+
"data-component": "unstyledButton",
|
|
103160
|
+
className: cn("appearance-none", className),
|
|
103161
|
+
ref,
|
|
103162
|
+
...props
|
|
103163
|
+
}));
|
|
103164
|
+
UnstyledButton.displayName = "UnstyledButton";
|
|
103165
|
+
|
|
103166
|
+
//#endregion
|
|
103167
|
+
//#region src/components/accordion/AccordionItem.tsx
|
|
103168
|
+
const AccordionItem = ({ controlContent, panelContent, style: style$1 = "light", border = false, chevronPosition = "left", disabled = false, active = false, endContent, className }) => {
|
|
103169
|
+
const [isActive$1, setIsActive] = (0, react.useState)(false);
|
|
103170
|
+
(0, react.useEffect)(() => {
|
|
103171
|
+
setIsActive(active);
|
|
103172
|
+
}, [active]);
|
|
103173
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
103174
|
+
"data-testid": "accordion-item",
|
|
103175
|
+
className: cn("rounded-md hover:bg-gray-50", {
|
|
103176
|
+
"bg-light-blue hover:bg-light-blue/50": style$1 === "dark",
|
|
103177
|
+
"rounded-none border-b border-gray-200": border,
|
|
103178
|
+
"bg-ultra-light-blue border border-gray-200 hover:bg-transparent": style$1 === "onboarding",
|
|
103179
|
+
"bg-white": style$1 === "onboarding" && isActive$1,
|
|
103180
|
+
"hover:bg-ultra-light-blue cursor-not-allowed opacity-50": disabled
|
|
103181
|
+
}, className),
|
|
103182
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(UnstyledButton, {
|
|
103183
|
+
className: cn("relative flex w-full flex-row items-center justify-between gap-2 px-4 py-3", { "flex-row-reverse": chevronPosition === "right" }),
|
|
103184
|
+
onClick: () => setIsActive(!isActive$1),
|
|
103185
|
+
disabled,
|
|
103186
|
+
children: [
|
|
103187
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
103188
|
+
onClick: () => setIsActive(!isActive$1),
|
|
103189
|
+
className: `duration-300${isActive$1 ? "rotate-180" : ""}`,
|
|
103190
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDown, { size: 18 })
|
|
103191
|
+
}),
|
|
103192
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103193
|
+
onClick: () => setIsActive(!isActive$1),
|
|
103194
|
+
className: `flex w-full flex-row justify-between ${style$1 === "dark" && "font-medium"} leading-8`,
|
|
103195
|
+
children: controlContent
|
|
103196
|
+
}),
|
|
103197
|
+
endContent
|
|
103198
|
+
]
|
|
103199
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103200
|
+
className: `transition-max-height overflow-hidden duration-500 ease-in-out ${isActive$1 ? "max-h-1000" : "max-h-0"} leading-6 font-normal`,
|
|
103201
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103202
|
+
className: "px-4 py-3",
|
|
103203
|
+
children: panelContent
|
|
103204
|
+
})
|
|
103205
|
+
})]
|
|
103206
|
+
}) });
|
|
103207
|
+
};
|
|
103208
|
+
|
|
103209
|
+
//#endregion
|
|
103210
|
+
//#region src/components/accordion/AccordionWrapper.tsx
|
|
103211
|
+
const AccordionWrapper = ({ children, className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103212
|
+
className: cn(className, "flex flex-col gap-2"),
|
|
103213
|
+
children
|
|
103214
|
+
});
|
|
103215
|
+
|
|
103216
|
+
//#endregion
|
|
103217
|
+
//#region src/components/avatar/index.tsx
|
|
103157
103218
|
const radiusFormatter = {
|
|
103158
103219
|
0: "rounded-none",
|
|
103159
103220
|
2: "rounded-sm",
|
|
@@ -103178,7 +103239,7 @@ const Avatar = ({ src, alt = "", size: size$3 = 50, radius = 100 }) => /* @__PUR
|
|
|
103178
103239
|
Avatar.displayName = "Avatar";
|
|
103179
103240
|
|
|
103180
103241
|
//#endregion
|
|
103181
|
-
//#region src/components/
|
|
103242
|
+
//#region src/components/avatarIndicator/index.tsx
|
|
103182
103243
|
const AvatarIndicator = ({ indicatorCount, className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103183
103244
|
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),
|
|
103184
103245
|
"data-component": "AvatarIndicator",
|
|
@@ -103189,7 +103250,7 @@ const AvatarIndicator = ({ indicatorCount, className }) => /* @__PURE__ */ (0, r
|
|
|
103189
103250
|
});
|
|
103190
103251
|
|
|
103191
103252
|
//#endregion
|
|
103192
|
-
//#region src/components/
|
|
103253
|
+
//#region src/components/badge/index.tsx
|
|
103193
103254
|
const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, mobile = false, badgeBorder = false,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
103194
103255
|
"data-component": "Badge",
|
|
103195
103256
|
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 && {
|
|
@@ -103223,7 +103284,7 @@ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, mobile =
|
|
|
103223
103284
|
Badge.displayName = "Badge";
|
|
103224
103285
|
|
|
103225
103286
|
//#endregion
|
|
103226
|
-
//#region src/components/
|
|
103287
|
+
//#region src/components/bigBadge/index.tsx
|
|
103227
103288
|
const BigBadge = ({ styleVariant = COLOR.GREEN, className, children,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103228
103289
|
"data-component": "BigBadge",
|
|
103229
103290
|
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", {
|
|
@@ -103242,7 +103303,7 @@ const BigBadge = ({ styleVariant = COLOR.GREEN, className, children,...props })
|
|
|
103242
103303
|
});
|
|
103243
103304
|
|
|
103244
103305
|
//#endregion
|
|
103245
|
-
//#region src/components/
|
|
103306
|
+
//#region src/components/linkText/index.tsx
|
|
103246
103307
|
/** @deprecated dont use this anymore, instead use the next link */
|
|
103247
103308
|
const LinkText = ({ children, classNames: classNames$1 }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
103248
103309
|
className: classNames$1,
|
|
@@ -103251,7 +103312,7 @@ const LinkText = ({ children, classNames: classNames$1 }) => /* @__PURE__ */ (0,
|
|
|
103251
103312
|
LinkText.displayName = "LinkText";
|
|
103252
103313
|
|
|
103253
103314
|
//#endregion
|
|
103254
|
-
//#region src/components/
|
|
103315
|
+
//#region src/components/breadCrumb/index.tsx
|
|
103255
103316
|
const BreadCrumb = ({ text }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LinkText, {
|
|
103256
103317
|
"data-component": "BreadCrumb",
|
|
103257
103318
|
classNames: "flex items-center",
|
|
@@ -103260,7 +103321,7 @@ const BreadCrumb = ({ text }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Link
|
|
|
103260
103321
|
BreadCrumb.displayName = "BreadCrumb";
|
|
103261
103322
|
|
|
103262
103323
|
//#endregion
|
|
103263
|
-
//#region src/components/
|
|
103324
|
+
//#region src/components/checkbox/index.tsx
|
|
103264
103325
|
const Checkbox = (0, react.forwardRef)(({ size: size$3 = "md", className, error: error$1, mediumBoldText, label, indeterminate = false, disabled = false,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
103265
103326
|
className: cn("relative grid gap-2", className),
|
|
103266
103327
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
@@ -103316,7 +103377,7 @@ const Checkbox = (0, react.forwardRef)(({ size: size$3 = "md", className, error:
|
|
|
103316
103377
|
Checkbox.displayName = "Checkbox";
|
|
103317
103378
|
|
|
103318
103379
|
//#endregion
|
|
103319
|
-
//#region src/components/
|
|
103380
|
+
//#region src/components/divider/index.tsx
|
|
103320
103381
|
const Divider = ({ className,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103321
103382
|
"data-component": "divider",
|
|
103322
103383
|
className: clsx_default("block h-px w-full bg-[#CCCCCC]", className),
|
|
@@ -103324,7 +103385,7 @@ const Divider = ({ className,...props }) => /* @__PURE__ */ (0, react_jsx_runtim
|
|
|
103324
103385
|
});
|
|
103325
103386
|
|
|
103326
103387
|
//#endregion
|
|
103327
|
-
//#region src/components/
|
|
103388
|
+
//#region src/components/googleAppButtonIcon/index.tsx
|
|
103328
103389
|
const GoogleAppButtonIcon = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
103329
103390
|
viewBox: "0 0 224 66",
|
|
103330
103391
|
fill: "none",
|
|
@@ -103509,18 +103570,7 @@ const GoogleAppButtonIcon = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx
|
|
|
103509
103570
|
});
|
|
103510
103571
|
|
|
103511
103572
|
//#endregion
|
|
103512
|
-
//#region src/components/
|
|
103513
|
-
const UnstyledButton = (0, react.forwardRef)(({ className,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
103514
|
-
type: "button",
|
|
103515
|
-
"data-component": "unstyledButton",
|
|
103516
|
-
className: cn("appearance-none", className),
|
|
103517
|
-
ref,
|
|
103518
|
-
...props
|
|
103519
|
-
}));
|
|
103520
|
-
UnstyledButton.displayName = "UnstyledButton";
|
|
103521
|
-
|
|
103522
|
-
//#endregion
|
|
103523
|
-
//#region src/components/HamburgerMenuButton/index.tsx
|
|
103573
|
+
//#region src/components/hamburgerMenuButton/index.tsx
|
|
103524
103574
|
const HamburgerMenuButton = (0, react.forwardRef)(({ menuState, setMenuState }, ref) => {
|
|
103525
103575
|
const defaultClasses = cn("absolute h-[2px] bg-white duration-150");
|
|
103526
103576
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(UnstyledButton, {
|
|
@@ -103540,7 +103590,7 @@ const HamburgerMenuButton = (0, react.forwardRef)(({ menuState, setMenuState },
|
|
|
103540
103590
|
HamburgerMenuButton.displayName = "HamburgerMenuButton";
|
|
103541
103591
|
|
|
103542
103592
|
//#endregion
|
|
103543
|
-
//#region src/components/
|
|
103593
|
+
//#region src/components/hr/index.tsx
|
|
103544
103594
|
const HR = ({ className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("hr", {
|
|
103545
103595
|
"data-component": "hr",
|
|
103546
103596
|
className: `h-px w-full border-none bg-gray-200 ${className}`
|
|
@@ -103548,7 +103598,7 @@ const HR = ({ className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("hr", {
|
|
|
103548
103598
|
HR.displayName = "HR";
|
|
103549
103599
|
|
|
103550
103600
|
//#endregion
|
|
103551
|
-
//#region src/components/
|
|
103601
|
+
//#region src/components/island/index.tsx
|
|
103552
103602
|
const Island = ({ children, className, noShadow = false, noPadding = false,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103553
103603
|
"data-component": "island",
|
|
103554
103604
|
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", {
|
|
@@ -103561,7 +103611,7 @@ const Island = ({ children, className, noShadow = false, noPadding = false,...pr
|
|
|
103561
103611
|
Island.displayName = "Island";
|
|
103562
103612
|
|
|
103563
103613
|
//#endregion
|
|
103564
|
-
//#region src/components/
|
|
103614
|
+
//#region src/components/label/index.tsx
|
|
103565
103615
|
const Label = ({ children, className,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
103566
103616
|
"data-component": "label",
|
|
103567
103617
|
className: cn("flex items-center gap-1 text-xs font-medium text-black", className),
|
|
@@ -103570,7 +103620,7 @@ const Label = ({ children, className,...props }) => /* @__PURE__ */ (0, react_js
|
|
|
103570
103620
|
});
|
|
103571
103621
|
|
|
103572
103622
|
//#endregion
|
|
103573
|
-
//#region src/components/
|
|
103623
|
+
//#region src/components/loader/index.tsx
|
|
103574
103624
|
const Loader = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103575
103625
|
className: "inline-flex h-full w-auto items-center justify-center",
|
|
103576
103626
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "loader" })
|
|
@@ -103578,7 +103628,7 @@ const Loader = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
|
103578
103628
|
Loader.displayName = "Loader";
|
|
103579
103629
|
|
|
103580
103630
|
//#endregion
|
|
103581
|
-
//#region src/components/
|
|
103631
|
+
//#region src/components/logo/index.tsx
|
|
103582
103632
|
const LogoBlack = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
103583
103633
|
viewBox: "0 0 110 68",
|
|
103584
103634
|
fill: "none",
|
|
@@ -103644,7 +103694,7 @@ const LogoBlack = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg",
|
|
|
103644
103694
|
});
|
|
103645
103695
|
|
|
103646
103696
|
//#endregion
|
|
103647
|
-
//#region src/components/
|
|
103697
|
+
//#region src/components/modal/index.tsx
|
|
103648
103698
|
const Modal = ({ title, children, withCloseButton = true, opened, additionalClassNames, closeModalWithConfirmation = false, gradient = true, uncloseAble = false, dataTestId, onClose, size: size$3 }) => {
|
|
103649
103699
|
const ref = (0, react.useRef)(null);
|
|
103650
103700
|
const refContainer = (0, react.useRef)(null);
|
|
@@ -103741,7 +103791,34 @@ const Modal = ({ title, children, withCloseButton = true, opened, additionalClas
|
|
|
103741
103791
|
Modal.displayName = "Modal";
|
|
103742
103792
|
|
|
103743
103793
|
//#endregion
|
|
103744
|
-
//#region src/components/
|
|
103794
|
+
//#region src/components/navButtons/index.tsx
|
|
103795
|
+
const NavButtons = ({ onNext, onPrev }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
103796
|
+
className: "flex items-center overflow-hidden rounded border border-gray-200",
|
|
103797
|
+
children: [
|
|
103798
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103799
|
+
"data-testid": "chevron-left",
|
|
103800
|
+
className: `flex ${onPrev ? "cursor-pointer hover:bg-gray-50" : "cursor-not-allowed"} h-full items-center px-2`,
|
|
103801
|
+
onClick: onPrev,
|
|
103802
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronLeft, {
|
|
103803
|
+
size: 20,
|
|
103804
|
+
className: onPrev ? "text-gray-500" : "text-gray-200"
|
|
103805
|
+
})
|
|
103806
|
+
}),
|
|
103807
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "h-6 w-[0.8px] bg-gray-200" }),
|
|
103808
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
103809
|
+
"data-testid": "chevron-right",
|
|
103810
|
+
className: `flex ${onNext ? "cursor-pointer hover:bg-gray-50" : "cursor-not-allowed"} h-full items-center px-2 hover:bg-gray-50`,
|
|
103811
|
+
onClick: onNext,
|
|
103812
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRight, {
|
|
103813
|
+
size: 20,
|
|
103814
|
+
className: onNext ? "text-gray-500" : "text-gray-200"
|
|
103815
|
+
})
|
|
103816
|
+
})
|
|
103817
|
+
]
|
|
103818
|
+
});
|
|
103819
|
+
|
|
103820
|
+
//#endregion
|
|
103821
|
+
//#region src/components/numberField/index.tsx
|
|
103745
103822
|
const NumberField = ({ name, value = 0, max: max$2, min: min$2 = 0, isDisabled, id, className = "", label, error: error$1, onChange }) => {
|
|
103746
103823
|
const handleChange = (e$2) => {
|
|
103747
103824
|
const newValue = parseInt(e$2.target.value, 10);
|
|
@@ -103798,7 +103875,7 @@ const NumberField = ({ name, value = 0, max: max$2, min: min$2 = 0, isDisabled,
|
|
|
103798
103875
|
};
|
|
103799
103876
|
|
|
103800
103877
|
//#endregion
|
|
103801
|
-
//#region src/components/
|
|
103878
|
+
//#region src/components/pageUnavailable/index.tsx
|
|
103802
103879
|
const PageUnavailable = ({ notAvailableButton, notAvailableDescription, notAvailableHeaderText }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Island, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
103803
103880
|
className: "mx-auto grid max-w-[900px] justify-items-center gap-8 text-center",
|
|
103804
103881
|
children: [
|
|
@@ -103812,7 +103889,7 @@ const PageUnavailable = ({ notAvailableButton, notAvailableDescription, notAvail
|
|
|
103812
103889
|
}) });
|
|
103813
103890
|
|
|
103814
103891
|
//#endregion
|
|
103815
|
-
//#region src/components/
|
|
103892
|
+
//#region src/components/passwordInput/index.tsx
|
|
103816
103893
|
const PasswordInput = ({ ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TextInput, {
|
|
103817
103894
|
password: true,
|
|
103818
103895
|
enablePasswordManagerAutofill: true,
|
|
@@ -109305,7 +109382,7 @@ function safePolygon(options$1) {
|
|
|
109305
109382
|
}
|
|
109306
109383
|
|
|
109307
109384
|
//#endregion
|
|
109308
|
-
//#region src/components/
|
|
109385
|
+
//#region src/components/popover/index.tsx
|
|
109309
109386
|
const Popover = (0, react.forwardRef)(({ content, children, hoverEnabled = false, passedOpen = false, placement = "right", style: style$1 = "card", className }, ref) => {
|
|
109310
109387
|
const [isOpen, setIsOpen] = (0, react.useState)(passedOpen);
|
|
109311
109388
|
const isMobile = true;
|
|
@@ -109381,7 +109458,7 @@ const Popover = (0, react.forwardRef)(({ content, children, hoverEnabled = false
|
|
|
109381
109458
|
});
|
|
109382
109459
|
|
|
109383
109460
|
//#endregion
|
|
109384
|
-
//#region src/components/
|
|
109461
|
+
//#region src/components/progressBar/index.tsx
|
|
109385
109462
|
const ProgressBar = ({ value, maxValue = 100, className }) => {
|
|
109386
109463
|
const [width, setWidth] = (0, react.useState)(0);
|
|
109387
109464
|
(0, react.useEffect)(() => {
|
|
@@ -109397,7 +109474,7 @@ const ProgressBar = ({ value, maxValue = 100, className }) => {
|
|
|
109397
109474
|
};
|
|
109398
109475
|
|
|
109399
109476
|
//#endregion
|
|
109400
|
-
//#region src/components/
|
|
109477
|
+
//#region src/components/radioButton/index.tsx
|
|
109401
109478
|
const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, className, containerClassName, labelClassName,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
109402
109479
|
className: `${containerClassName || "radio-button-container"} relative flex items-start`,
|
|
109403
109480
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -109569,7 +109646,7 @@ const IconStarHalfFilled = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs
|
|
|
109569
109646
|
});
|
|
109570
109647
|
|
|
109571
109648
|
//#endregion
|
|
109572
|
-
//#region src/components/
|
|
109649
|
+
//#region src/components/rating/index.tsx
|
|
109573
109650
|
const Rating = ({ rating, size: size$3 = "normal", setReview, className, setReviewError, error: error$1 }) => {
|
|
109574
109651
|
const [hoveredStars, setHoveredStars] = (0, react.useState)(0);
|
|
109575
109652
|
const [hoveredSmallStars, setHoveredSmallStars] = (0, react.useState)(0);
|
|
@@ -109675,7 +109752,7 @@ const Rating = ({ rating, size: size$3 = "normal", setReview, className, setRevi
|
|
|
109675
109752
|
};
|
|
109676
109753
|
|
|
109677
109754
|
//#endregion
|
|
109678
|
-
//#region src/components/
|
|
109755
|
+
//#region src/components/regionSelector/index.tsx
|
|
109679
109756
|
const RegionSelector = ({ title, regions,...props }) => {
|
|
109680
109757
|
if (regions?.length === 0) return null;
|
|
109681
109758
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -109695,7 +109772,7 @@ const RegionSelector = ({ title, regions,...props }) => {
|
|
|
109695
109772
|
RegionSelector.displayName = "RegionSelector";
|
|
109696
109773
|
|
|
109697
109774
|
//#endregion
|
|
109698
|
-
//#region src/components/
|
|
109775
|
+
//#region src/components/reviews/index.tsx
|
|
109699
109776
|
const ReviewsLine = ({ maxValue, amount, countStarsText }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
109700
109777
|
className: "flex w-full flex-row place-content-center gap-5 align-middle",
|
|
109701
109778
|
children: [
|
|
@@ -109756,7 +109833,7 @@ const Reviews = ({ totalRatings, averageRating, aggregatedRating, countStarsText
|
|
|
109756
109833
|
});
|
|
109757
109834
|
|
|
109758
109835
|
//#endregion
|
|
109759
|
-
//#region src/components/
|
|
109836
|
+
//#region src/components/scrollToTop/index.tsx
|
|
109760
109837
|
const ScrollToTop = ({ scrollToTopTitle }) => {
|
|
109761
109838
|
const [isVisible, setIsVisible] = (0, react.useState)(false);
|
|
109762
109839
|
const showScrollToTopButtonPosition = 20;
|
|
@@ -109787,7 +109864,7 @@ const ScrollToTop = ({ scrollToTopTitle }) => {
|
|
|
109787
109864
|
};
|
|
109788
109865
|
|
|
109789
109866
|
//#endregion
|
|
109790
|
-
//#region src/components/
|
|
109867
|
+
//#region src/components/searchInput/index.tsx
|
|
109791
109868
|
const SearchInput = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TextInput, {
|
|
109792
109869
|
className: "w-full lg:w-auto lg:min-w-[23.75rem]",
|
|
109793
109870
|
rightSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSearch, {
|
|
@@ -111731,9 +111808,9 @@ var jsx = function jsx$3(type, props) {
|
|
|
111731
111808
|
}
|
|
111732
111809
|
return react.createElement.apply(null, createElementArgArray);
|
|
111733
111810
|
};
|
|
111734
|
-
(function(_jsx$
|
|
111811
|
+
(function(_jsx$61) {
|
|
111735
111812
|
var JSX;
|
|
111736
|
-
(function(_JSX) {})(JSX || (JSX = _jsx$
|
|
111813
|
+
(function(_JSX) {})(JSX || (JSX = _jsx$61.JSX || (_jsx$61.JSX = {})));
|
|
111737
111814
|
})(jsx || (jsx = {}));
|
|
111738
111815
|
var Global = /* @__PURE__ */ withEmotionCache(function(props, cache) {
|
|
111739
111816
|
var styles = props.styles;
|
|
@@ -115352,7 +115429,7 @@ var NonceProvider = function(_ref$1) {
|
|
|
115352
115429
|
};
|
|
115353
115430
|
|
|
115354
115431
|
//#endregion
|
|
115355
|
-
//#region src/components/
|
|
115432
|
+
//#region src/components/select/index.tsx
|
|
115356
115433
|
const LANGUAGE_FLAGS = [
|
|
115357
115434
|
{
|
|
115358
115435
|
value: "nl-NL",
|
|
@@ -115528,7 +115605,7 @@ const Select = (0, react.forwardRef)(({ options: options$1, placeholder, default
|
|
|
115528
115605
|
Select.displayName = "Select";
|
|
115529
115606
|
|
|
115530
115607
|
//#endregion
|
|
115531
|
-
//#region src/components/
|
|
115608
|
+
//#region src/components/settingsCard/index.tsx
|
|
115532
115609
|
const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
115533
115610
|
"data-component": "SettingsCard",
|
|
115534
115611
|
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",
|
|
@@ -115546,14 +115623,14 @@ const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @_
|
|
|
115546
115623
|
});
|
|
115547
115624
|
|
|
115548
115625
|
//#endregion
|
|
115549
|
-
//#region src/components/
|
|
115626
|
+
//#region src/components/skeleton/index.tsx
|
|
115550
115627
|
const Skeleton = ({ className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
115551
115628
|
"data-component": "genericSkeleton",
|
|
115552
115629
|
className: cn("inline-block rounded-md", "animate-pulse bg-gray-100/50", className)
|
|
115553
115630
|
});
|
|
115554
115631
|
|
|
115555
115632
|
//#endregion
|
|
115556
|
-
//#region src/components/
|
|
115633
|
+
//#region src/components/skillPill/index.tsx
|
|
115557
115634
|
const SkillPill = ({ name, number }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
115558
115635
|
className: "flex items-center rounded-full border border-gray-200 p-[3px]",
|
|
115559
115636
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -115566,7 +115643,97 @@ const SkillPill = ({ name, number }) => /* @__PURE__ */ (0, react_jsx_runtime.js
|
|
|
115566
115643
|
});
|
|
115567
115644
|
|
|
115568
115645
|
//#endregion
|
|
115569
|
-
//#region src/components/
|
|
115646
|
+
//#region src/components/stepper/NumberedStepper.tsx
|
|
115647
|
+
const NumberedStepper = ({ steps, active, className, stepsCompleted, completedLabel, onStepClick }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115648
|
+
"data-testid": "numbered-stepper-container",
|
|
115649
|
+
className: clsx_default("flex w-full flex-col items-start gap-2 md:flex-row md:items-center md:gap-7", className),
|
|
115650
|
+
children: steps.map((step, index$4) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115651
|
+
"data-testid": `stepper-step-${index$4}`,
|
|
115652
|
+
onClick: () => index$4 < active ? onStepClick(index$4) : null,
|
|
115653
|
+
className: `${index$4 < active && "cursor-pointer"} flex w-auto`,
|
|
115654
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
115655
|
+
className: "flex flex-auto flex-row gap-3",
|
|
115656
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115657
|
+
className: "flex size-12 flex-auto items-center justify-center whitespace-nowrap",
|
|
115658
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115659
|
+
"data-testid": `stepper-number-${index$4}`,
|
|
115660
|
+
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`,
|
|
115661
|
+
children: index$4 + 1
|
|
115662
|
+
})
|
|
115663
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
115664
|
+
className: "flex flex-auto flex-col justify-center",
|
|
115665
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
115666
|
+
"data-testid": `stepper-label-${index$4}`,
|
|
115667
|
+
className: `content-center text-sm font-medium! whitespace-nowrap md:text-lg md:font-bold ${index$4 <= active ? "text-gray-900" : "text-gray-500"}`,
|
|
115668
|
+
children: step.label
|
|
115669
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [completedLabel && active === 1 && index$4 === 0 && stepsCompleted.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
115670
|
+
className: "text-green flex items-center text-xs font-medium",
|
|
115671
|
+
children: [
|
|
115672
|
+
completedLabel,
|
|
115673
|
+
" ",
|
|
115674
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheck, {
|
|
115675
|
+
className: "align-middle",
|
|
115676
|
+
size: 12
|
|
115677
|
+
})
|
|
115678
|
+
]
|
|
115679
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, {}), " "] })]
|
|
115680
|
+
})]
|
|
115681
|
+
})
|
|
115682
|
+
}), index$4 < steps.length - 1 && /* @__PURE__ */ (0, react_jsx_runtime.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))
|
|
115683
|
+
});
|
|
115684
|
+
|
|
115685
|
+
//#endregion
|
|
115686
|
+
//#region src/components/stepper/Stepper.tsx
|
|
115687
|
+
const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableSteps, completedSteps, activeStep, isMobile, className }) => {
|
|
115688
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115689
|
+
"data-testid": "stepper-container",
|
|
115690
|
+
className: clsx_default("flex w-full justify-start", className),
|
|
115691
|
+
children: steps?.map((step, index$4) => {
|
|
115692
|
+
const isClickable = index$4 <= activeStep && clickableSteps?.includes(index$4);
|
|
115693
|
+
const isCompleted = completedSteps?.includes(index$4);
|
|
115694
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115695
|
+
"data-testid": `stepper-step-${index$4}`,
|
|
115696
|
+
className: "flex w-full",
|
|
115697
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115698
|
+
className: "relative flex w-full justify-center",
|
|
115699
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
115700
|
+
"data-testid": `stepper-step-container-${index$4}`,
|
|
115701
|
+
className: `mr-2 flex w-36 flex-col items-center ${variant === "small" || isMobile ? "gap-0.5" : "gap-3"}`,
|
|
115702
|
+
children: [
|
|
115703
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
115704
|
+
"data-testid": `stepper-step-circle-${index$4}`,
|
|
115705
|
+
onClick: () => isClickable && setStep(index$4),
|
|
115706
|
+
className: cn("relative z-10 flex size-8 items-center justify-center rounded-full border border-gray-500 bg-white text-gray-500", {
|
|
115707
|
+
"size-5": variant === "small" || isMobile,
|
|
115708
|
+
"cursor-pointer": isClickable,
|
|
115709
|
+
"cursor-not-allowed": clickableSteps && !clickableSteps.includes(index$4),
|
|
115710
|
+
"border-light-blue text-light-blue": index$4 === activeStep,
|
|
115711
|
+
"border-light-blueDisabled bg-light-blueDisabled border text-white": isCompleted,
|
|
115712
|
+
"border-light-blue bg-light-blue": index$4 < activeStep
|
|
115713
|
+
}),
|
|
115714
|
+
children: [(index$4 < activeStep || isCompleted) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115715
|
+
className: "flex items-center justify-center text-white",
|
|
115716
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheck, { size: variant === "small" || isMobile ? 7 : 12 })
|
|
115717
|
+
}), index$4 === activeStep && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: `${variant === "small" || isMobile ? "size-1" : "size-2"} bg-light-blue rounded-full` })]
|
|
115718
|
+
}),
|
|
115719
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115720
|
+
className: "flex flex-wrap items-center justify-center",
|
|
115721
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
115722
|
+
className: `text-center ${variant === "small" || isMobile ? "text-xs-fields" : "text-sm font-normal"} ${index$4 <= activeStep ? "text-gray-900" : "text-gray-500"}`,
|
|
115723
|
+
children: step.label
|
|
115724
|
+
})
|
|
115725
|
+
}),
|
|
115726
|
+
index$4 < steps.length && index$4 !== 0 && /* @__PURE__ */ (0, react_jsx_runtime.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"}` })
|
|
115727
|
+
]
|
|
115728
|
+
})
|
|
115729
|
+
})
|
|
115730
|
+
}, index$4);
|
|
115731
|
+
})
|
|
115732
|
+
});
|
|
115733
|
+
};
|
|
115734
|
+
|
|
115735
|
+
//#endregion
|
|
115736
|
+
//#region src/components/stickyMobileButton/index.tsx
|
|
115570
115737
|
const StickyMobileButtonWrapper = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115571
115738
|
className: "fixed inset-x-0 bottom-0 z-40 w-full bg-white p-8 md:hidden",
|
|
115572
115739
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -115576,7 +115743,7 @@ const StickyMobileButtonWrapper = ({ children }) => /* @__PURE__ */ (0, react_js
|
|
|
115576
115743
|
});
|
|
115577
115744
|
|
|
115578
115745
|
//#endregion
|
|
115579
|
-
//#region src/components/
|
|
115746
|
+
//#region src/components/table/index.tsx
|
|
115580
115747
|
const Table = ({ children, className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115581
115748
|
"data-component": "table",
|
|
115582
115749
|
className: cn("table w-full table-fixed border-collapse overflow-auto", className),
|
|
@@ -115584,7 +115751,7 @@ const Table = ({ children, className }) => /* @__PURE__ */ (0, react_jsx_runtime
|
|
|
115584
115751
|
});
|
|
115585
115752
|
|
|
115586
115753
|
//#endregion
|
|
115587
|
-
//#region src/components/
|
|
115754
|
+
//#region src/components/table/tableCell/index.tsx
|
|
115588
115755
|
const TableCell = ({ children, smallPadding, className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115589
115756
|
"data-component": "tableCell",
|
|
115590
115757
|
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)}`,
|
|
@@ -115592,7 +115759,7 @@ const TableCell = ({ children, smallPadding, className }) => /* @__PURE__ */ (0,
|
|
|
115592
115759
|
});
|
|
115593
115760
|
|
|
115594
115761
|
//#endregion
|
|
115595
|
-
//#region src/components/
|
|
115762
|
+
//#region src/components/table/tableHeader/index.tsx
|
|
115596
115763
|
const TableHeader = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115597
115764
|
"data-component": "tableHeader",
|
|
115598
115765
|
className: "table-header-group border-b border-gray-200",
|
|
@@ -115600,14 +115767,14 @@ const TableHeader = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)
|
|
|
115600
115767
|
});
|
|
115601
115768
|
|
|
115602
115769
|
//#endregion
|
|
115603
|
-
//#region src/components/
|
|
115770
|
+
//#region src/components/table/tableHeaderItem/index.tsx
|
|
115604
115771
|
const TableHeaderItem = ({ children, smallPadding, className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115605
115772
|
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),
|
|
115606
115773
|
children
|
|
115607
115774
|
});
|
|
115608
115775
|
|
|
115609
115776
|
//#endregion
|
|
115610
|
-
//#region src/components/
|
|
115777
|
+
//#region src/components/table/tableHeaderRow/index.tsx
|
|
115611
115778
|
const TableHeaderRow = ({ children,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115612
115779
|
"data-component": "tableHeaderRow",
|
|
115613
115780
|
className: "table-row xl:border-0 xl:border-b xl:border-solid xl:border-gray-300",
|
|
@@ -115616,7 +115783,7 @@ const TableHeaderRow = ({ children,...props }) => /* @__PURE__ */ (0, react_jsx_
|
|
|
115616
115783
|
});
|
|
115617
115784
|
|
|
115618
115785
|
//#endregion
|
|
115619
|
-
//#region src/components/
|
|
115786
|
+
//#region src/components/table/tableRow/index.tsx
|
|
115620
115787
|
const TableRow = (0, react.forwardRef)(({ children, className,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115621
115788
|
ref,
|
|
115622
115789
|
"data-component": "tableRow",
|
|
@@ -115626,7 +115793,7 @@ const TableRow = (0, react.forwardRef)(({ children, className,...props }, ref) =
|
|
|
115626
115793
|
}));
|
|
115627
115794
|
|
|
115628
115795
|
//#endregion
|
|
115629
|
-
//#region src/components/
|
|
115796
|
+
//#region src/components/textArea/index.tsx
|
|
115630
115797
|
const Textarea = (0, react.forwardRef)(({ className, label, error: error$1, rows = 8,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
115631
115798
|
className: "relative grid gap-2",
|
|
115632
115799
|
children: [
|
|
@@ -115649,7 +115816,7 @@ const Textarea = (0, react.forwardRef)(({ className, label, error: error$1, rows
|
|
|
115649
115816
|
}));
|
|
115650
115817
|
|
|
115651
115818
|
//#endregion
|
|
115652
|
-
//#region src/components/
|
|
115819
|
+
//#region src/components/themeIcon/index.tsx
|
|
115653
115820
|
const ThemeIcon = (0, react.forwardRef)(({ styleVariant = "black", className, icon, adjustedSize, title,...props }, ref) => {
|
|
115654
115821
|
const classNames$1 = cn("bg-transparent h-9 w-9 rounded-[5px] grid place-content-center", {
|
|
115655
115822
|
"text-black": styleVariant === COLOR.BLACK,
|
|
@@ -115677,7 +115844,7 @@ const ThemeIcon = (0, react.forwardRef)(({ styleVariant = "black", className, ic
|
|
|
115677
115844
|
});
|
|
115678
115845
|
|
|
115679
115846
|
//#endregion
|
|
115680
|
-
//#region src/components/
|
|
115847
|
+
//#region src/components/toggle/index.tsx
|
|
115681
115848
|
const Toggle = ({ onClick, value, disabled = false }) => {
|
|
115682
115849
|
const handleToggle = (e$2) => {
|
|
115683
115850
|
e$2.stopPropagation();
|
|
@@ -115694,7 +115861,7 @@ const Toggle = ({ onClick, value, disabled = false }) => {
|
|
|
115694
115861
|
};
|
|
115695
115862
|
|
|
115696
115863
|
//#endregion
|
|
115697
|
-
//#region src/components/
|
|
115864
|
+
//#region src/components/tooltip/index.tsx
|
|
115698
115865
|
const sizeClasses = {
|
|
115699
115866
|
xs: "max-w-xs",
|
|
115700
115867
|
sm: "max-w-sm",
|
|
@@ -115777,7 +115944,7 @@ const Tooltip = ({ content, children, passedOpen = false, size: size$3 = "md", v
|
|
|
115777
115944
|
Tooltip.displayName = "Tooltip";
|
|
115778
115945
|
|
|
115779
115946
|
//#endregion
|
|
115780
|
-
//#region src/components/
|
|
115947
|
+
//#region src/components/truncatedText/index.tsx
|
|
115781
115948
|
const TruncatedText = ({ text, limit = 20 }) => {
|
|
115782
115949
|
const [truncatedText, setTruncatedText] = (0, react.useState)(text);
|
|
115783
115950
|
(0, react.useEffect)(() => {
|
|
@@ -115800,7 +115967,7 @@ const TruncatedText = ({ text, limit = 20 }) => {
|
|
|
115800
115967
|
};
|
|
115801
115968
|
|
|
115802
115969
|
//#endregion
|
|
115803
|
-
//#region src/components/
|
|
115970
|
+
//#region src/components/unorderedList/index.tsx
|
|
115804
115971
|
const UnorderedList = ({ children, className, actionItem,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("ul", {
|
|
115805
115972
|
className: cn("m-0 last:border-none", className),
|
|
115806
115973
|
"data-component": "unorderedList",
|
|
@@ -115812,7 +115979,7 @@ const UnorderedList = ({ children, className, actionItem,...props }) => /* @__PU
|
|
|
115812
115979
|
});
|
|
115813
115980
|
|
|
115814
115981
|
//#endregion
|
|
115815
|
-
//#region src/components/
|
|
115982
|
+
//#region src/components/unorderedListItem/index.tsx
|
|
115816
115983
|
const UnorderedListItem = ({ children, actionItem, className, header = false,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
115817
115984
|
...props,
|
|
115818
115985
|
"data-component": "unorderedListItem",
|
|
@@ -136567,7 +136734,7 @@ function requireUseSyncExternalStoreShim_development() {
|
|
|
136567
136734
|
return x$2 === y$2 && (x$2 !== 0 || 1 / x$2 === 1 / y$2) || x$2 !== x$2 && y$2 !== y$2;
|
|
136568
136735
|
}
|
|
136569
136736
|
var objectIs = typeof Object.is === "function" ? Object.is : is;
|
|
136570
|
-
var useState$
|
|
136737
|
+
var useState$12 = React$1$1.useState, useEffect$9 = React$1$1.useEffect, useLayoutEffect$4 = React$1$1.useLayoutEffect, useDebugValue$1 = React$1$1.useDebugValue;
|
|
136571
136738
|
var didWarnOld18Alpha = false;
|
|
136572
136739
|
var didWarnUncachedGetSnapshot = false;
|
|
136573
136740
|
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
@@ -136589,7 +136756,7 @@ function requireUseSyncExternalStoreShim_development() {
|
|
|
136589
136756
|
}
|
|
136590
136757
|
}
|
|
136591
136758
|
}
|
|
136592
|
-
var _useState = useState$
|
|
136759
|
+
var _useState = useState$12({ inst: {
|
|
136593
136760
|
value,
|
|
136594
136761
|
getSnapshot
|
|
136595
136762
|
} }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
@@ -136604,7 +136771,7 @@ function requireUseSyncExternalStoreShim_development() {
|
|
|
136604
136771
|
value,
|
|
136605
136772
|
getSnapshot
|
|
136606
136773
|
]);
|
|
136607
|
-
useEffect$
|
|
136774
|
+
useEffect$9(function() {
|
|
136608
136775
|
if (checkIfSnapshotChanged(inst)) {
|
|
136609
136776
|
forceUpdate({ inst });
|
|
136610
136777
|
}
|
|
@@ -136925,7 +137092,7 @@ function requireWithSelector_development() {
|
|
|
136925
137092
|
}
|
|
136926
137093
|
var objectIs = typeof Object.is === "function" ? Object.is : is;
|
|
136927
137094
|
var useSyncExternalStore = shim$1.useSyncExternalStore;
|
|
136928
|
-
var useRef$5 = React$1$1.useRef, useEffect$
|
|
137095
|
+
var useRef$5 = React$1$1.useRef, useEffect$9 = React$1$1.useEffect, useMemo$3 = React$1$1.useMemo, useDebugValue$1 = React$1$1.useDebugValue;
|
|
136929
137096
|
function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual$1) {
|
|
136930
137097
|
var instRef = useRef$5(null);
|
|
136931
137098
|
var inst;
|
|
@@ -136987,7 +137154,7 @@ function requireWithSelector_development() {
|
|
|
136987
137154
|
isEqual$1
|
|
136988
137155
|
]), getSelection$1 = _useMemo[0], getServerSelection = _useMemo[1];
|
|
136989
137156
|
var value = useSyncExternalStore(subscribe, getSelection$1, getServerSelection);
|
|
136990
|
-
useEffect$
|
|
137157
|
+
useEffect$9(function() {
|
|
136991
137158
|
inst.hasValue = true;
|
|
136992
137159
|
inst.value = value;
|
|
136993
137160
|
}, [value]);
|
|
@@ -139894,7 +140061,7 @@ const StarterKit = Extension.create({
|
|
|
139894
140061
|
});
|
|
139895
140062
|
|
|
139896
140063
|
//#endregion
|
|
139897
|
-
//#region src/components/
|
|
140064
|
+
//#region src/components/wysiwygEditor/index.tsx
|
|
139898
140065
|
const BoldIcon = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconBold, {
|
|
139899
140066
|
size: 18,
|
|
139900
140067
|
stroke: 1.5
|
|
@@ -140006,6 +140173,8 @@ const WysiwygEditor = (0, react.forwardRef)(({ id, content, className, placehold
|
|
|
140006
140173
|
});
|
|
140007
140174
|
|
|
140008
140175
|
//#endregion
|
|
140176
|
+
exports.AccordionItem = AccordionItem;
|
|
140177
|
+
exports.AccordionWrapper = AccordionWrapper;
|
|
140009
140178
|
exports.ActionIcon = ActionIcon;
|
|
140010
140179
|
exports.Alert = Alert;
|
|
140011
140180
|
exports.AppleAppButtonIcon = AppleAppButtonIcon;
|
|
@@ -140026,7 +140195,9 @@ exports.LinkText = LinkText;
|
|
|
140026
140195
|
exports.Loader = Loader;
|
|
140027
140196
|
exports.LogoBlack = LogoBlack;
|
|
140028
140197
|
exports.Modal = Modal;
|
|
140198
|
+
exports.NavButtons = NavButtons;
|
|
140029
140199
|
exports.NumberField = NumberField;
|
|
140200
|
+
exports.NumberedStepper = NumberedStepper;
|
|
140030
140201
|
exports.PageUnavailable = PageUnavailable;
|
|
140031
140202
|
exports.PasswordInput = PasswordInput;
|
|
140032
140203
|
exports.Popover = Popover;
|
|
@@ -140041,6 +140212,7 @@ exports.Select = Select;
|
|
|
140041
140212
|
exports.SettingsCard = SettingsCard;
|
|
140042
140213
|
exports.Skeleton = Skeleton;
|
|
140043
140214
|
exports.SkillPill = SkillPill;
|
|
140215
|
+
exports.Stepper = Stepper;
|
|
140044
140216
|
exports.StickyMobileButtonWrapper = StickyMobileButtonWrapper;
|
|
140045
140217
|
exports.Table = Table;
|
|
140046
140218
|
exports.TableCell = TableCell;
|