@edifice.io/react 2.2.11-develop-enabling.20250707100621 → 2.2.11-develop-pedago.20250707105307

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.
Files changed (42) hide show
  1. package/dist/components/Button/Button.d.ts +1 -1
  2. package/dist/components/Dropdown/Dropdown.d.ts +10 -4
  3. package/dist/components/Dropdown/Dropdown.js +24 -8
  4. package/dist/components/Layout/Layout.d.ts +3 -1
  5. package/dist/components/Layout/Layout.js +3 -1
  6. package/dist/components/SearchBar/SearchBar.d.ts +9 -33
  7. package/dist/components/SearchBar/SearchBar.js +4 -30
  8. package/dist/components/Tabs/components/Tabs.d.ts +11 -3
  9. package/dist/components/Tabs/components/Tabs.js +4 -2
  10. package/dist/components/Tabs/components/TabsList.d.ts +7 -1
  11. package/dist/components/Tabs/components/TabsList.js +5 -2
  12. package/dist/components/Tabs/components/TabsPanel.d.ts +5 -1
  13. package/dist/components/Tabs/components/TabsPanel.js +7 -3
  14. package/dist/hooks/useDropdown/useDropdown.d.ts +2 -0
  15. package/dist/hooks/useDropdown/useDropdown.js +2 -0
  16. package/dist/hooks/useLibraryUrl/useLibraryUrl.d.ts +1 -1
  17. package/dist/hooks/useLibraryUrl/useLibraryUrl.js +2 -2
  18. package/dist/icons.js +190 -198
  19. package/dist/index.js +12 -10
  20. package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js +1 -1
  21. package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js +1 -1
  22. package/dist/modules/icons/components/apps/IconNabook.js +4 -3
  23. package/dist/modules/icons/components/index.d.ts +0 -4
  24. package/dist/modules/modals/OnboardingModal/OnboardingModal.d.ts +4 -7
  25. package/dist/modules/modals/OnboardingModal/OnboardingModal.js +12 -25
  26. package/dist/modules/modals/OnboardingModal/index.d.ts +0 -1
  27. package/dist/modules/modals/OnboardingModal/useOnboardingModal.d.ts +1 -1
  28. package/dist/modules/modals/OnboardingModal/useOnboardingModal.js +2 -2
  29. package/dist/modules/multimedia/FileCard/FileCard.d.ts +1 -1
  30. package/dist/modules/multimedia/FileCard/FileCard.js +5 -2
  31. package/dist/modules/multimedia/index.d.ts +1 -0
  32. package/dist/multimedia.js +12 -10
  33. package/package.json +6 -6
  34. package/dist/modules/icons/components/IconLibrary.d.ts +0 -7
  35. package/dist/modules/icons/components/IconLibrary.js +0 -12
  36. package/dist/modules/icons/components/IconNotification.d.ts +0 -7
  37. package/dist/modules/icons/components/IconNotification.js +0 -12
  38. package/dist/modules/icons/components/IconStar.d.ts +0 -7
  39. package/dist/modules/icons/components/IconStar.js +0 -13
  40. package/dist/modules/icons/components/IconStarFavorite.d.ts +0 -7
  41. package/dist/modules/icons/components/IconStarFull.d.ts +0 -7
  42. package/dist/modules/icons/components/IconStarFull.js +0 -13
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { forwardRef, useState, useImperativeHandle, useEffect } from "react";
2
+ import { useState, useEffect } from "react";
3
3
  import { createPortal } from "react-dom";
4
4
  import { useTranslation } from "react-i18next";
5
5
  import { Pagination } from "swiper/modules";
@@ -8,26 +8,19 @@ import { useOnboardingModal } from "./useOnboardingModal.js";
8
8
  import Modal from "../../../components/Modal/Modal.js";
9
9
  import Image from "../../../components/Image/Image.js";
10
10
  import Button from "../../../components/Button/Button.js";
11
- const OnboardingModal = /* @__PURE__ */ forwardRef(({
11
+ const OnboardingModal = ({
12
12
  id,
13
13
  items,
14
- modalOptions = {},
15
- defaultOpen = !0,
16
- isOnboardingChange
17
- }, ref) => {
14
+ modalOptions = {}
15
+ }) => {
18
16
  var _a;
19
17
  const [swiperInstance, setSwiperInstance] = useState(), [swiperProgress, setSwiperprogress] = useState(0), {
20
18
  isOpen,
21
19
  isOnboarding,
22
20
  setIsOpen,
23
21
  handleSavePreference
24
- } = useOnboardingModal(id, defaultOpen);
25
- useImperativeHandle(ref, () => ({
26
- setIsOpen,
27
- handleSavePreference
28
- })), useEffect(() => {
29
- isOnboardingChange && isOnboardingChange(isOnboarding);
30
- }, [isOnboarding, isOnboardingChange]), useEffect(() => {
22
+ } = useOnboardingModal(id);
23
+ useEffect(() => {
31
24
  const link = document.createElement("link");
32
25
  return link.href = "https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css", link.rel = "stylesheet", link.type = "text/css", document.head.appendChild(link), () => {
33
26
  document.head.removeChild(link);
@@ -40,13 +33,9 @@ const OnboardingModal = /* @__PURE__ */ forwardRef(({
40
33
  prevText,
41
34
  closeText,
42
35
  nextText
43
- } = modalOptions, currentTitle = (swiperInstance == null ? void 0 : swiperInstance.activeIndex) != null && ((_a = items[swiperInstance == null ? void 0 : swiperInstance.activeIndex]) != null && _a.title) ? items[swiperInstance.activeIndex].title : title, handleCloseWithPreference = () => {
44
- handleSavePreference(), setSwiperprogress(0);
45
- }, handleCloseWithoutPreference = () => {
46
- setIsOpen(!1), setSwiperprogress(0);
47
- };
48
- return isOnboarding || !defaultOpen ? /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id: "onboarding-modal", size: "md", isOpen, focusId: "nextButtonId", onModalClose: handleCloseWithoutPreference, children: [
49
- /* @__PURE__ */ jsx(Modal.Header, { onModalClose: handleCloseWithoutPreference, children: t(currentTitle || "explorer.modal.onboarding.trash.title") }),
36
+ } = modalOptions, currentTitle = (swiperInstance == null ? void 0 : swiperInstance.activeIndex) != null && ((_a = items[swiperInstance == null ? void 0 : swiperInstance.activeIndex]) != null && _a.title) ? items[swiperInstance.activeIndex].title : title;
37
+ return isOnboarding ? /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id: "onboarding-modal", size: "md", isOpen, focusId: "nextButtonId", onModalClose: () => setIsOpen(!1), children: [
38
+ /* @__PURE__ */ jsx(Modal.Header, { onModalClose: () => setIsOpen(!1), children: t(currentTitle || "explorer.modal.onboarding.trash.title") }),
50
39
  /* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx(Swiper, { modules: [Pagination], onSwiper: (swiper) => {
51
40
  setSwiperInstance(swiper);
52
41
  }, onSlideChange: (swiper) => {
@@ -58,15 +47,13 @@ const OnboardingModal = /* @__PURE__ */ forwardRef(({
58
47
  /* @__PURE__ */ jsx("p", { className: "text-center", children: t(item.text) })
59
48
  ] }, index)) }) }),
60
49
  /* @__PURE__ */ jsxs(Modal.Footer, { children: [
61
- /* @__PURE__ */ jsx(Button, { type: "button", color: "tertiary", variant: "ghost", onClick: handleCloseWithoutPreference, children: t("explorer.modal.onboarding.trash.later") }),
50
+ /* @__PURE__ */ jsx(Button, { type: "button", color: "tertiary", variant: "ghost", onClick: () => setIsOpen(!1), children: t("explorer.modal.onboarding.trash.later") }),
62
51
  swiperProgress > 0 && /* @__PURE__ */ jsx(Button, { type: "button", color: "primary", variant: "outline", onClick: () => swiperInstance.slidePrev(), children: t(prevText || "explorer.modal.onboarding.trash.prev") }),
63
52
  swiperProgress < 1 && /* @__PURE__ */ jsx(Button, { id: "nextButtonId", type: "button", color: "primary", variant: "filled", onClick: () => swiperInstance.slideNext(), children: t(nextText || "explorer.modal.onboarding.trash.next") }),
64
- swiperProgress === 1 && /* @__PURE__ */ jsx(Button, { type: "button", color: "primary", variant: "filled", onClick: () => {
65
- isOnboarding ? handleCloseWithPreference() : handleCloseWithoutPreference();
66
- }, children: t(closeText || "explorer.modal.onboarding.trash.close") })
53
+ swiperProgress === 1 && /* @__PURE__ */ jsx(Button, { type: "button", color: "primary", variant: "filled", onClick: handleSavePreference, children: t(closeText || "explorer.modal.onboarding.trash.close") })
67
54
  ] })
68
55
  ] }), document.getElementById("portal")) : null;
69
- });
56
+ };
70
57
  export {
71
58
  OnboardingModal as default
72
59
  };
@@ -1,2 +1 @@
1
1
  export { default as OnboardingModal } from './OnboardingModal';
2
- export type { OnboardingModalRef } from './OnboardingModal';
@@ -1,4 +1,4 @@
1
- export declare const useOnboardingModal: (id: string, defaultOpen: boolean) => {
1
+ export declare const useOnboardingModal: (id: string) => {
2
2
  isOpen: boolean;
3
3
  setIsOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
4
4
  isOnboarding: boolean;
@@ -2,8 +2,8 @@ import { useState, useEffect } from "react";
2
2
  import { odeServices } from "@edifice.io/client";
3
3
  const getOnboardingTrash = async (key) => await odeServices.conf().getPreference(key), saveOnboardingTrash = async (key) => await odeServices.conf().savePreference(key, JSON.stringify({
4
4
  key: !1
5
- })), useOnboardingModal = (id, defaultOpen) => {
6
- const [isOpen, setIsOpen] = useState(defaultOpen), [isOnboarding, setIsOnboarding] = useState(!1);
5
+ })), useOnboardingModal = (id) => {
6
+ const [isOpen, setIsOpen] = useState(!0), [isOnboarding, setIsOnboarding] = useState(!1);
7
7
  return useEffect(() => {
8
8
  (async () => {
9
9
  const response = await getOnboardingTrash(id);
@@ -7,7 +7,7 @@ export interface FileCardProps extends CardProps {
7
7
  doc: WorkspaceElement;
8
8
  }
9
9
  declare const FileCard: {
10
- ({ doc, isClickable, isSelectable, isSelected, onClick, className, }: FileCardProps): import("react/jsx-runtime").JSX.Element;
10
+ ({ doc, isClickable, isSelectable, isSelected, onClick, className, onSelect, isFocused, app, }: FileCardProps): import("react/jsx-runtime").JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  export default FileCard;
@@ -15,7 +15,10 @@ const FileCard = ({
15
15
  isSelectable = !1,
16
16
  isSelected = !1,
17
17
  onClick,
18
- className
18
+ className,
19
+ onSelect,
20
+ isFocused,
21
+ app
19
22
  }) => {
20
23
  var _a;
21
24
  const ref = useRef(null), type = DocumentHelper.getRole(doc);
@@ -78,7 +81,7 @@ const FileCard = ({
78
81
  backgroundImage: `url(${mediaSrc})`,
79
82
  backgroundSize: "cover"
80
83
  };
81
- return /* @__PURE__ */ jsx(Card, { className: clsx("card-file", className), isClickable, isSelectable, isSelected, onClick, children: /* @__PURE__ */ jsxs(Card.Body, { space: "8", children: [
84
+ return /* @__PURE__ */ jsx(Card, { className: clsx("card-file", className), isClickable, isSelectable, isSelected, onClick, app, isFocused, onSelect, children: /* @__PURE__ */ jsxs(Card.Body, { space: "8", children: [
82
85
  /* @__PURE__ */ jsx("div", { ref, className: file, style: {
83
86
  aspectRatio: "16/10",
84
87
  ...imageStyles
@@ -2,6 +2,7 @@ export * from './AudioRecorder';
2
2
  export * from './Embed';
3
3
  export * from './ImageEditor';
4
4
  export * from './ImagePicker';
5
+ export * from './FileCard';
5
6
  export * from './Linker';
6
7
  export * from './MediaLibrary';
7
8
  export * from './VideoEmbed';
@@ -2,23 +2,25 @@ import { default as default2 } from "./modules/multimedia/AudioRecorder/AudioRec
2
2
  import { default as default3 } from "./modules/multimedia/Embed/Embed.js";
3
3
  import { default as default4 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
4
4
  import { default as default5 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
5
- import { default as default6 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
6
- import { default as default7 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
7
- import { default as default8 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
8
- import { default as default9 } from "./modules/multimedia/Workspace/Workspace.js";
9
- import { default as default10 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
5
+ import { default as default6 } from "./modules/multimedia/FileCard/FileCard.js";
6
+ import { default as default7 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
7
+ import { default as default8 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
8
+ import { default as default9 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
9
+ import { default as default10 } from "./modules/multimedia/Workspace/Workspace.js";
10
+ import { default as default11 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
10
11
  import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
11
12
  import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
12
13
  export {
13
14
  default2 as AudioRecorder,
14
15
  default3 as Embed,
15
16
  ExternalLinker,
17
+ default6 as FileCard,
16
18
  default4 as ImageEditor,
17
19
  default5 as ImagePicker,
18
20
  InternalLinker,
19
- default6 as MediaLibrary,
20
- default7 as VideoEmbed,
21
- default8 as VideoRecorder,
22
- default9 as Workspace,
23
- default10 as WorkspaceFolders
21
+ default7 as MediaLibrary,
22
+ default8 as VideoEmbed,
23
+ default9 as VideoRecorder,
24
+ default10 as Workspace,
25
+ default11 as WorkspaceFolders
24
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.2.11-develop-enabling.20250707100621",
3
+ "version": "2.2.11-develop-pedago.20250707105307",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -130,9 +130,9 @@
130
130
  "react-slugify": "^3.0.3",
131
131
  "swiper": "^10.1.0",
132
132
  "ua-parser-js": "^1.0.36",
133
- "@edifice.io/bootstrap": "2.2.11-develop-enabling.20250707100621",
134
- "@edifice.io/tiptap-extensions": "2.2.11-develop-enabling.20250707100621",
135
- "@edifice.io/utilities": "2.2.11-develop-enabling.20250707100621"
133
+ "@edifice.io/bootstrap": "2.2.11-develop-pedago.20250707105307",
134
+ "@edifice.io/tiptap-extensions": "2.2.11-develop-pedago.20250707105307",
135
+ "@edifice.io/utilities": "2.2.11-develop-pedago.20250707105307"
136
136
  },
137
137
  "devDependencies": {
138
138
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
@@ -163,8 +163,8 @@
163
163
  "vite": "^5.4.11",
164
164
  "vite-plugin-dts": "^4.1.0",
165
165
  "vite-tsconfig-paths": "^5.0.1",
166
- "@edifice.io/client": "2.2.11-develop-enabling.20250707100621",
167
- "@edifice.io/config": "2.2.11-develop-enabling.20250707100621"
166
+ "@edifice.io/client": "2.2.11-develop-pedago.20250707105307",
167
+ "@edifice.io/config": "2.2.11-develop-pedago.20250707105307"
168
168
  },
169
169
  "peerDependencies": {
170
170
  "@react-spring/web": "^9.7.5",
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconLibrary: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconLibrary;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconLibrary = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", "aria-hidden": "true", viewBox: "0 0 24 24", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M24.02 12.14c0 3.2-1.24 6.22-3.51 8.5s-5.3 3.51-8.5 3.51A12.03 12.03 0 0 1 12 .11c1.38 0 2.37.23 3.65.68.25.08.48.18.67.26l.08.03.06.04a.76.76 0 0 1 .29.26.73.73 0 0 1 .13.45.78.78 0 0 1-.76.79.7.7 0 0 1-.34-.1 26 26 0 0 0-.66-.25 8.6 8.6 0 0 0-3.13-.6 10.46 10.46 0 1 0 10.47 10.47c0-1.72-.37-3.1-1.18-4.62a14 14 0 0 1-.2-.36L21.03 7 21 6.96l-.03-.03-.01-.04-.04-.06-.14-.24-.04.14a.73.73 0 0 1-.89.53.73.73 0 0 1-.45-.34.76.76 0 0 1-.07-.55l.46-1.76a.78.78 0 0 1 .36-.49.87.87 0 0 1 .63-.06l1.75.56a.73.73 0 0 1 .47.9v.01a.73.73 0 0 1-.72.5c.17.3.32.59.4.77a10.9 10.9 0 0 1 1.35 5.33zm-4.18-8.96a1.38 1.38 0 1 1-2.76 0 1.38 1.38 0 0 1 2.76 0m-7.78 1.44c-2.62 0-5.15 2.02-5.15 4.9 0 3.5 2.48 4.4 2.76 6.68h4.77c.29-2.28 2.76-3.17 2.76-6.68 0-2.88-2.53-4.9-5.14-4.9m-.48 1.1c.28-.02.52.12.5.4a.45.45 0 0 1-.4.45 3.21 3.21 0 0 0-2.84 3.2c0 .32.05.64.14.94.09.22-.05.5-.27.57s-.5-.09-.55-.32a4 4 0 0 1-.18-1.2 4.08 4.08 0 0 1 3.6-4.04M9.7 17.05v.85h4.72v-.85zm0 1.71v.43c0 .5.4.86.85.86h3a.86.86 0 0 0 .87-.86v-.43zm1.5 1.72a.86.86 0 1 0 1.71 0z" })
9
- ] });
10
- export {
11
- SvgIconLibrary as default
12
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconNotification: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconNotification;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconNotification = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 64 64", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("path", { d: "M32 10c-2.338 0-3.693 1.605-4.361 3.086-3.608.724-9.901 3.87-10.68 11.656-.293 4.592-.84 13.142-3.896 14.559a2 2 0 0 0-.573.398C12.235 39.954 10 42.294 10 46a2 2 0 0 0 2 2h13.258c.394 3.373 3.265 6 6.742 6s6.348-2.627 6.742-6H52a2 2 0 0 0 2-2c0-3.706-2.235-6.046-2.49-6.3a2 2 0 0 0-.572-.401c-3.056-1.417-3.605-9.965-3.905-14.63-.775-7.723-7.067-10.862-10.674-11.585C35.692 11.604 34.338 10 32 10m0 4c.603 0 .767.62.887 1.256.177.935.997 1.658 1.97 1.658.074 0 7.455.736 8.192 8.084.509 7.934 1.34 15.253 5.789 17.719.187.24.496.684.748 1.283H14.414a5.8 5.8 0 0 1 .744-1.281c4.451-2.464 5.284-9.784 5.787-17.649.743-7.42 8.124-8.156 8.198-8.156.957 0 1.791-.758 1.966-1.639.123-.615.287-1.275.891-1.275m-2.664 34h5.328A2.79 2.79 0 0 1 32 50a2.79 2.79 0 0 1-2.664-2" })
9
- ] });
10
- export {
11
- SvgIconNotification as default
12
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconStar: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconStar;
@@ -1,13 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconStar = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("g", { clipPath: "url(#icon-star_svg__a)", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.272 1.977c.772-1.323 2.684-1.323 3.455 0l2.769 4.746 5.16 1.19a2 2 0 0 1 1.099 3.216l-3.653 4.464.778 5.446c.224 1.569-1.379 2.763-2.818 2.099L12 20.8l-5.062 2.337c-1.44.664-3.042-.53-2.818-2.1l.778-5.445-3.653-4.464a2 2 0 0 1 1.098-3.215l5.161-1.191zm4.496 5.754L12 2.985 9.232 7.73a2 2 0 0 1-1.278.94l-5.16 1.191 3.652 4.465a2 2 0 0 1 .432 1.55L6.1 21.321l5.062-2.337a2 2 0 0 1 1.676 0l5.062 2.337-.778-5.446a2 2 0 0 1 .432-1.55l3.653-4.464-5.16-1.19a2 2 0 0 1-1.279-.941", clipRule: "evenodd" }) }),
9
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-star_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
10
- ] });
11
- export {
12
- SvgIconStar as default
13
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconStarFavorite: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconStarFavorite;
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconStarFull: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconStarFull;
@@ -1,13 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconStarFull = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("g", { clipPath: "url(#icon-star-full_svg__a)", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.278 1.977c.77-1.323 2.675-1.323 3.444 0l2.759 4.746 5.143 1.19c1.44.334 2.03 2.068 1.094 3.216l-3.64 4.464.775 5.446c.224 1.569-1.374 2.763-2.808 2.099L12 20.8l-5.045 2.337c-1.434.664-3.032-.53-2.808-2.1l.775-5.445-3.64-4.464C.346 9.98.936 8.247 2.376 7.914L7.52 6.723z", clipRule: "evenodd" }) }),
9
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-star-full_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
10
- ] });
11
- export {
12
- SvgIconStarFull as default
13
- };