@intlayer/design-system 5.8.0-canary.0 → 5.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +45 -37
- package/dist/components/Breadcrumb/index.cjs +2 -3
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs +3 -4
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.cjs.map +1 -0
- package/dist/components/CopyButton/CopyButton.content.d.ts.map +1 -0
- package/dist/components/CopyButton/CopyButton.content.mjs.map +1 -0
- package/dist/components/CopyButton/index.cjs +1 -2
- package/dist/components/CopyButton/index.cjs.map +1 -1
- package/dist/components/CopyButton/index.d.ts.map +1 -1
- package/dist/components/CopyButton/index.mjs +2 -3
- package/dist/components/CopyButton/index.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs +3 -7
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +4 -8
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +1 -4
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +2 -5
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +1 -2
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +2 -3
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +1 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +2 -3
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +2 -24
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +1 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +2 -3
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +1 -5
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +2 -6
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +1 -2
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +2 -3
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +1 -2
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +2 -3
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +1 -2
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -3
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +2 -24
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs +2 -3
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs +3 -4
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +1 -4
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +2 -5
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.cjs +56 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.cjs.map +1 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +9 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.mjs +56 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs +41 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs.map +1 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts +40 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts.map +1 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs +42 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs.map +1 -0
- package/dist/components/ExpandCollapse/index.cjs +5 -0
- package/dist/components/ExpandCollapse/index.cjs.map +1 -0
- package/dist/components/ExpandCollapse/index.d.ts +2 -0
- package/dist/components/ExpandCollapse/index.d.ts.map +1 -0
- package/dist/components/ExpandCollapse/index.mjs +5 -0
- package/dist/components/ExpandCollapse/index.mjs.map +1 -0
- package/dist/components/IDE/Code.cjs +12 -1
- package/dist/components/IDE/Code.cjs.map +1 -1
- package/dist/components/IDE/Code.d.ts +1 -0
- package/dist/components/IDE/Code.d.ts.map +1 -1
- package/dist/components/IDE/Code.mjs +12 -1
- package/dist/components/IDE/Code.mjs.map +1 -1
- package/dist/components/IDE/CopyCode.cjs +1 -2
- package/dist/components/IDE/CopyCode.cjs.map +1 -1
- package/dist/components/IDE/CopyCode.d.ts.map +1 -1
- package/dist/components/IDE/CopyCode.mjs +2 -3
- package/dist/components/IDE/CopyCode.mjs.map +1 -1
- package/dist/components/Loader/index.content.d.ts +2 -24
- package/dist/components/Loader/index.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +1 -2
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +2 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +1 -2
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +2 -3
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/MarkDownRender/index.cjs +7 -0
- package/dist/components/MarkDownRender/index.cjs.map +1 -1
- package/dist/components/MarkDownRender/index.d.ts.map +1 -1
- package/dist/components/MarkDownRender/index.mjs +7 -0
- package/dist/components/MarkDownRender/index.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs +1 -1
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.mjs +1 -1
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/components/Navbar/index.cjs +1 -1
- package/dist/components/Navbar/index.cjs.map +1 -1
- package/dist/components/Navbar/index.mjs +1 -1
- package/dist/components/Navbar/index.mjs.map +1 -1
- package/dist/components/Popover/index.cjs.map +1 -1
- package/dist/components/Popover/index.d.ts +2 -2
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.mjs.map +1 -1
- package/dist/components/SocialNetworks/index.cjs +1 -1
- package/dist/components/SocialNetworks/index.cjs.map +1 -1
- package/dist/components/SocialNetworks/index.mjs +1 -1
- package/dist/components/SocialNetworks/index.mjs.map +1 -1
- package/dist/components/Table/Table.cjs +4 -50
- package/dist/components/Table/Table.cjs.map +1 -1
- package/dist/components/Table/Table.d.ts +3 -1
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/Table.mjs +5 -51
- package/dist/components/Table/Table.mjs.map +1 -1
- package/dist/components/Table/table.content.cjs +0 -30
- package/dist/components/Table/table.content.cjs.map +1 -1
- package/dist/components/Table/table.content.d.ts +0 -66
- package/dist/components/Table/table.content.d.ts.map +1 -1
- package/dist/components/Table/table.content.mjs +0 -30
- package/dist/components/Table/table.content.mjs.map +1 -1
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.mjs +2 -0
- package/dist/components/index.mjs.map +1 -1
- package/package.json +19 -18
- package/dist/components/IDE/CopyButton.content.cjs.map +0 -1
- package/dist/components/IDE/CopyButton.content.d.ts.map +0 -1
- package/dist/components/IDE/CopyButton.content.mjs.map +0 -1
- /package/dist/components/{IDE → CopyButton}/CopyButton.content.cjs +0 -0
- /package/dist/components/{IDE → CopyButton}/CopyButton.content.d.ts +0 -0
- /package/dist/components/{IDE → CopyButton}/CopyButton.content.mjs +0 -0
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { MoveDiagonal } from "lucide-react";
|
|
4
|
-
import { useState
|
|
5
|
-
import { useDictionary } from "react-intlayer";
|
|
4
|
+
import { useState } from "react";
|
|
6
5
|
import { cn } from "../../utils/cn.mjs";
|
|
7
6
|
import { Button } from "../Button/Button.mjs";
|
|
8
|
-
import {
|
|
7
|
+
import { ExpandCollapse } from "../ExpandCollapse/ExpandCollapse.mjs";
|
|
9
8
|
import { Modal, ModalSize } from "../Modal/Modal.mjs";
|
|
10
|
-
|
|
11
|
-
const MIN_HEIGHT = 700;
|
|
12
|
-
const Table = ({ className, ...props }) => {
|
|
13
|
-
const [isDeployed, setIsDeployed] = useState(false);
|
|
9
|
+
const Table = ({ className, isRollable, ...props }) => {
|
|
14
10
|
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
15
|
-
const { show, hide } = useDictionary(tableContent);
|
|
16
|
-
const [tableHeight, setTableHeight] = useState(0);
|
|
17
|
-
const tableRef = useRef(null);
|
|
18
|
-
const isTooBig = (tableHeight ?? 0) > MIN_HEIGHT;
|
|
19
|
-
useEffect(() => {
|
|
20
|
-
if (tableRef.current) {
|
|
21
|
-
setTableHeight(tableRef.current.clientHeight);
|
|
22
|
-
}
|
|
23
|
-
}, []);
|
|
24
11
|
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
25
12
|
/* @__PURE__ */ jsx("div", { className: "sticky top-48 z-10", children: /* @__PURE__ */ jsx("div", { className: "absolute top-4 right-2", children: /* @__PURE__ */ jsx(
|
|
26
13
|
Button,
|
|
@@ -34,48 +21,16 @@ const Table = ({ className, ...props }) => {
|
|
|
34
21
|
Icon: MoveDiagonal
|
|
35
22
|
}
|
|
36
23
|
) }) }),
|
|
37
|
-
|
|
38
|
-
MaxHeightSmoother,
|
|
39
|
-
{
|
|
40
|
-
isHidden: !isDeployed,
|
|
41
|
-
minHeight: MIN_HEIGHT,
|
|
42
|
-
className: "w-full overflow-x-scroll overflow-y-hidden",
|
|
43
|
-
children: [
|
|
44
|
-
/* @__PURE__ */ jsx(
|
|
45
|
-
"table",
|
|
46
|
-
{
|
|
47
|
-
className: cn(
|
|
48
|
-
"max-w-full table-auto text-left min-w-full",
|
|
49
|
-
className
|
|
50
|
-
),
|
|
51
|
-
ref: tableRef,
|
|
52
|
-
...props
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
/* @__PURE__ */ jsx(
|
|
56
|
-
"button",
|
|
57
|
-
{
|
|
58
|
-
className: cn(
|
|
59
|
-
"absolute bottom-0 right-0 flex justify-center cursor-pointer w-full px-2 py-0.5 hover:py-1 transition-all duration-300 text-md text-neutral-700 dark:text-neutral-400 items-center shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur rounded-t-2xl bg-gradient-to-t from-card/80 to-transparent",
|
|
60
|
-
isDeployed && "w-auto"
|
|
61
|
-
),
|
|
62
|
-
onClick: () => setIsDeployed((prev) => !prev),
|
|
63
|
-
children: isDeployed ? hide : show
|
|
64
|
-
}
|
|
65
|
-
)
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
) : /* @__PURE__ */ jsx(
|
|
24
|
+
/* @__PURE__ */ jsx(ExpandCollapse, { isRollable, children: /* @__PURE__ */ jsx(
|
|
69
25
|
"table",
|
|
70
26
|
{
|
|
71
27
|
className: cn(
|
|
72
28
|
"max-w-full table-auto text-left min-w-full",
|
|
73
29
|
className
|
|
74
30
|
),
|
|
75
|
-
ref: tableRef,
|
|
76
31
|
...props
|
|
77
32
|
}
|
|
78
|
-
),
|
|
33
|
+
) }),
|
|
79
34
|
/* @__PURE__ */ jsx(
|
|
80
35
|
Modal,
|
|
81
36
|
{
|
|
@@ -90,7 +45,6 @@ const Table = ({ className, ...props }) => {
|
|
|
90
45
|
"max-w-full table-auto text-left min-w-full",
|
|
91
46
|
className
|
|
92
47
|
),
|
|
93
|
-
ref: tableRef,
|
|
94
48
|
...props
|
|
95
49
|
}
|
|
96
50
|
) }) : /* @__PURE__ */ jsx(Fragment, {})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.mjs","sources":["../../../src/components/Table/Table.tsx"],"sourcesContent":["'use client';\n\nimport { MoveDiagonal } from 'lucide-react';\nimport { HTMLAttributes,
|
|
1
|
+
{"version":3,"file":"Table.mjs","sources":["../../../src/components/Table/Table.tsx"],"sourcesContent":["'use client';\n\nimport { MoveDiagonal } from 'lucide-react';\nimport { HTMLAttributes, useState, type FC } from 'react';\nimport { cn } from '../../utils/cn';\nimport { Button } from '../Button';\nimport { ExpandCollapse } from '../ExpandCollapse';\nimport { Modal, ModalSize } from '../Modal';\n\ntype TableProps = HTMLAttributes<HTMLTableElement> & {\n isRollable?: boolean;\n};\n\nexport const Table: FC<TableProps> = ({ className, isRollable, ...props }) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n\n return (\n <div className=\"relative\">\n <div className=\"sticky top-48 z-10\">\n <div className=\"absolute top-4 right-2\">\n <Button\n variant=\"hoverable\"\n size=\"icon-md\"\n onClick={() => {\n setIsModalOpen(true);\n }}\n label=\"Move\"\n Icon={MoveDiagonal}\n />\n </div>\n </div>\n <ExpandCollapse isRollable={isRollable}>\n <table\n className={cn(\n 'max-w-full table-auto text-left min-w-full',\n className\n )}\n {...props}\n />\n </ExpandCollapse>\n\n <Modal\n isOpen={isModalOpen}\n onClose={() => setIsModalOpen(false)}\n size={ModalSize.XL}\n hasCloseButton\n >\n {isModalOpen ? (\n <div className=\"grid\">\n <table\n className={cn(\n 'max-w-full table-auto text-left min-w-full',\n className\n )}\n {...props}\n />\n </div>\n ) : (\n <></>\n )}\n </Modal>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;;;AAaO,MAAM,QAAwB,CAAC,EAAE,WAAW,YAAY,GAAG,YAAY;AAC5E,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,KAAK;AAEpD,SACE,qBAAC,OAAA,EAAI,WAAU,YACb,UAAA;AAAA,IAAA,oBAAC,SAAI,WAAU,sBACb,UAAA,oBAAC,OAAA,EAAI,WAAU,0BACb,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAQ;AAAA,QACR,MAAK;AAAA,QACL,SAAS,MAAM;AACb,yBAAe,IAAI;AAAA,QACrB;AAAA,QACA,OAAM;AAAA,QACN,MAAM;AAAA,MAAA;AAAA,IAAA,GAEV,EAAA,CACF;AAAA,IACA,oBAAC,kBAAe,YACd,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW;AAAA,UACT;AAAA,UACA;AAAA,QAAA;AAAA,QAED,GAAG;AAAA,MAAA;AAAA,IAAA,GAER;AAAA,IAEA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,QAAQ;AAAA,QACR,SAAS,MAAM,eAAe,KAAK;AAAA,QACnC,MAAM,UAAU;AAAA,QAChB,gBAAc;AAAA,QAEb,UAAA,cACC,oBAAC,OAAA,EAAI,WAAU,QACb,UAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAW;AAAA,cACT;AAAA,cACA;AAAA,YAAA;AAAA,YAED,GAAG;AAAA,UAAA;AAAA,QAAA,GAER,IAEA,oBAAA,UAAA,CAAA,CAAE;AAAA,MAAA;AAAA,IAAA;AAAA,EAEN,GACF;AAEJ;"}
|
|
@@ -17,36 +17,6 @@ const tableContent = {
|
|
|
17
17
|
hi: "सभी तालिका सामग्री दिखाएं",
|
|
18
18
|
ar: "اظهار جميع محتويات الجدول",
|
|
19
19
|
ru: "Показать все данные таблицы"
|
|
20
|
-
}),
|
|
21
|
-
hide: intlayer.t({
|
|
22
|
-
en: "Hide table content",
|
|
23
|
-
fr: "Masquer le contenu du tableau",
|
|
24
|
-
es: "Ocultar el contenido de la tabla",
|
|
25
|
-
"en-GB": "Hide table content",
|
|
26
|
-
de: "Tabellendaten ausblenden",
|
|
27
|
-
ja: "テーブルの内容を非表示",
|
|
28
|
-
ko: "테이블 내용 숨기기",
|
|
29
|
-
zh: "隐藏表格内容",
|
|
30
|
-
it: "Nasconde tutto il contenuto della tabella",
|
|
31
|
-
pt: "Ocultar o conteúdo da tabela",
|
|
32
|
-
hi: "टेबल सामग्री छुपाएं",
|
|
33
|
-
ar: "اخفاء جميع محتويات الجدول",
|
|
34
|
-
ru: "Скрыть все данные таблицы"
|
|
35
|
-
}),
|
|
36
|
-
extend: intlayer.t({
|
|
37
|
-
en: "Extend table",
|
|
38
|
-
fr: "Étendre le tableau",
|
|
39
|
-
es: "Extender la tabla",
|
|
40
|
-
"en-GB": "Extend table",
|
|
41
|
-
de: "Tabellendaten erweitern",
|
|
42
|
-
ja: "テーブルを拡張",
|
|
43
|
-
ko: "테이블 확장",
|
|
44
|
-
zh: "扩展表格",
|
|
45
|
-
it: "Espandere la tabella",
|
|
46
|
-
pt: "Expandir a tabela",
|
|
47
|
-
hi: "टेबल विस्तारित करें",
|
|
48
|
-
ar: "توسيع الجدول",
|
|
49
|
-
ru: "Расширить таблицу"
|
|
50
20
|
})
|
|
51
21
|
}
|
|
52
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.content.cjs","sources":["../../../src/components/Table/table.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nconst tableContent = {\n key: 'table',\n content: {\n show: t({\n en: 'Show all table content',\n fr: 'Afficher tout le contenu du tableau',\n es: 'Mostrar todo el contenido de la tabla',\n 'en-GB': 'Show all table content',\n de: 'Alle Tabellendaten anzeigen',\n ja: 'テーブルのすべての内容を表示',\n ko: '테이블의 모든 내용 표시',\n zh: '显示表格的所有内容',\n it: 'Mostra tutto il contenuto della tabella',\n pt: 'Mostrar todo o conteúdo da tabela',\n hi: 'सभी तालिका सामग्री दिखाएं',\n ar: 'اظهار جميع محتويات الجدول',\n ru: 'Показать все данные таблицы',\n }),\n
|
|
1
|
+
{"version":3,"file":"table.content.cjs","sources":["../../../src/components/Table/table.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nconst tableContent = {\n key: 'table',\n content: {\n show: t({\n en: 'Show all table content',\n fr: 'Afficher tout le contenu du tableau',\n es: 'Mostrar todo el contenido de la tabla',\n 'en-GB': 'Show all table content',\n de: 'Alle Tabellendaten anzeigen',\n ja: 'テーブルのすべての内容を表示',\n ko: '테이블의 모든 내용 표시',\n zh: '显示表格的所有内容',\n it: 'Mostra tutto il contenuto della tabella',\n pt: 'Mostrar todo o conteúdo da tabela',\n hi: 'सभी तालिका सामग्री दिखाएं',\n ar: 'اظهار جميع محتويات الجدول',\n ru: 'Показать все данные таблицы',\n }),\n },\n} satisfies Dictionary;\n\nexport default tableContent;\n"],"names":["t"],"mappings":";;AAEA,MAAM,eAAe;AAAA,EACnB,KAAK;AAAA,EACL,SAAS;AAAA,IACP,MAAMA,SAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;;"}
|
|
@@ -34,72 +34,6 @@ declare const tableContent: {
|
|
|
34
34
|
ru: string;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
|
-
hide: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
38
|
-
en: string;
|
|
39
|
-
fr: string;
|
|
40
|
-
es: string;
|
|
41
|
-
'en-GB': string;
|
|
42
|
-
de: string;
|
|
43
|
-
ja: string;
|
|
44
|
-
ko: string;
|
|
45
|
-
zh: string;
|
|
46
|
-
it: string;
|
|
47
|
-
pt: string;
|
|
48
|
-
hi: string;
|
|
49
|
-
ar: string;
|
|
50
|
-
ru: string;
|
|
51
|
-
}, {
|
|
52
|
-
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
53
|
-
} & {
|
|
54
|
-
translation: {
|
|
55
|
-
en: string;
|
|
56
|
-
fr: string;
|
|
57
|
-
es: string;
|
|
58
|
-
'en-GB': string;
|
|
59
|
-
de: string;
|
|
60
|
-
ja: string;
|
|
61
|
-
ko: string;
|
|
62
|
-
zh: string;
|
|
63
|
-
it: string;
|
|
64
|
-
pt: string;
|
|
65
|
-
hi: string;
|
|
66
|
-
ar: string;
|
|
67
|
-
ru: string;
|
|
68
|
-
};
|
|
69
|
-
}>;
|
|
70
|
-
extend: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
71
|
-
en: string;
|
|
72
|
-
fr: string;
|
|
73
|
-
es: string;
|
|
74
|
-
'en-GB': string;
|
|
75
|
-
de: string;
|
|
76
|
-
ja: string;
|
|
77
|
-
ko: string;
|
|
78
|
-
zh: string;
|
|
79
|
-
it: string;
|
|
80
|
-
pt: string;
|
|
81
|
-
hi: string;
|
|
82
|
-
ar: string;
|
|
83
|
-
ru: string;
|
|
84
|
-
}, {
|
|
85
|
-
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
86
|
-
} & {
|
|
87
|
-
translation: {
|
|
88
|
-
en: string;
|
|
89
|
-
fr: string;
|
|
90
|
-
es: string;
|
|
91
|
-
'en-GB': string;
|
|
92
|
-
de: string;
|
|
93
|
-
ja: string;
|
|
94
|
-
ko: string;
|
|
95
|
-
zh: string;
|
|
96
|
-
it: string;
|
|
97
|
-
pt: string;
|
|
98
|
-
hi: string;
|
|
99
|
-
ar: string;
|
|
100
|
-
ru: string;
|
|
101
|
-
};
|
|
102
|
-
}>;
|
|
103
37
|
};
|
|
104
38
|
};
|
|
105
39
|
export default tableContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.content.d.ts","sourceRoot":"","sources":["../../../src/components/Table/table.content.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"table.content.d.ts","sourceRoot":"","sources":["../../../src/components/Table/table.content.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBI,CAAC;AAEvB,eAAe,YAAY,CAAC"}
|
|
@@ -16,36 +16,6 @@ const tableContent = {
|
|
|
16
16
|
hi: "सभी तालिका सामग्री दिखाएं",
|
|
17
17
|
ar: "اظهار جميع محتويات الجدول",
|
|
18
18
|
ru: "Показать все данные таблицы"
|
|
19
|
-
}),
|
|
20
|
-
hide: t({
|
|
21
|
-
en: "Hide table content",
|
|
22
|
-
fr: "Masquer le contenu du tableau",
|
|
23
|
-
es: "Ocultar el contenido de la tabla",
|
|
24
|
-
"en-GB": "Hide table content",
|
|
25
|
-
de: "Tabellendaten ausblenden",
|
|
26
|
-
ja: "テーブルの内容を非表示",
|
|
27
|
-
ko: "테이블 내용 숨기기",
|
|
28
|
-
zh: "隐藏表格内容",
|
|
29
|
-
it: "Nasconde tutto il contenuto della tabella",
|
|
30
|
-
pt: "Ocultar o conteúdo da tabela",
|
|
31
|
-
hi: "टेबल सामग्री छुपाएं",
|
|
32
|
-
ar: "اخفاء جميع محتويات الجدول",
|
|
33
|
-
ru: "Скрыть все данные таблицы"
|
|
34
|
-
}),
|
|
35
|
-
extend: t({
|
|
36
|
-
en: "Extend table",
|
|
37
|
-
fr: "Étendre le tableau",
|
|
38
|
-
es: "Extender la tabla",
|
|
39
|
-
"en-GB": "Extend table",
|
|
40
|
-
de: "Tabellendaten erweitern",
|
|
41
|
-
ja: "テーブルを拡張",
|
|
42
|
-
ko: "테이블 확장",
|
|
43
|
-
zh: "扩展表格",
|
|
44
|
-
it: "Espandere la tabella",
|
|
45
|
-
pt: "Expandir a tabela",
|
|
46
|
-
hi: "टेबल विस्तारित करें",
|
|
47
|
-
ar: "توسيع الجدول",
|
|
48
|
-
ru: "Расширить таблицу"
|
|
49
19
|
})
|
|
50
20
|
}
|
|
51
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.content.mjs","sources":["../../../src/components/Table/table.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nconst tableContent = {\n key: 'table',\n content: {\n show: t({\n en: 'Show all table content',\n fr: 'Afficher tout le contenu du tableau',\n es: 'Mostrar todo el contenido de la tabla',\n 'en-GB': 'Show all table content',\n de: 'Alle Tabellendaten anzeigen',\n ja: 'テーブルのすべての内容を表示',\n ko: '테이블의 모든 내용 표시',\n zh: '显示表格的所有内容',\n it: 'Mostra tutto il contenuto della tabella',\n pt: 'Mostrar todo o conteúdo da tabela',\n hi: 'सभी तालिका सामग्री दिखाएं',\n ar: 'اظهار جميع محتويات الجدول',\n ru: 'Показать все данные таблицы',\n }),\n
|
|
1
|
+
{"version":3,"file":"table.content.mjs","sources":["../../../src/components/Table/table.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nconst tableContent = {\n key: 'table',\n content: {\n show: t({\n en: 'Show all table content',\n fr: 'Afficher tout le contenu du tableau',\n es: 'Mostrar todo el contenido de la tabla',\n 'en-GB': 'Show all table content',\n de: 'Alle Tabellendaten anzeigen',\n ja: 'テーブルのすべての内容を表示',\n ko: '테이블의 모든 내용 표시',\n zh: '显示表格的所有内容',\n it: 'Mostra tutto il contenuto della tabella',\n pt: 'Mostrar todo o conteúdo da tabela',\n hi: 'सभी तालिका सामग्री दिखाएं',\n ar: 'اظهار جميع محتويات الجدول',\n ru: 'Показать все данные таблицы',\n }),\n },\n} satisfies Dictionary;\n\nexport default tableContent;\n"],"names":[],"mappings":";AAEA,MAAM,eAAe;AAAA,EACnB,KAAK;AAAA,EACL,SAAS;AAAA,IACP,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;"}
|
|
@@ -19,6 +19,7 @@ const components_DictionaryFieldEditor_VersionSwitcherDropDown_VersionSwitcherCo
|
|
|
19
19
|
const components_DropDown_index = require("./DropDown/index.cjs");
|
|
20
20
|
const components_EditableField_EditableFieldInput = require("./EditableField/EditableFieldInput.cjs");
|
|
21
21
|
const components_EditableField_EditableFieldTextArea = require("./EditableField/EditableFieldTextArea.cjs");
|
|
22
|
+
const components_ExpandCollapse_ExpandCollapse = require("./ExpandCollapse/ExpandCollapse.cjs");
|
|
22
23
|
const components_Flags_Flag = require("./Flags/Flag.cjs");
|
|
23
24
|
const components_Footer_index = require("./Footer/index.cjs");
|
|
24
25
|
const components_Form_FormBase = require("./Form/FormBase.cjs");
|
|
@@ -118,6 +119,7 @@ exports.DropDown = components_DropDown_index.DropDown;
|
|
|
118
119
|
exports.DropDownAlign = components_DropDown_index.DropDownAlign;
|
|
119
120
|
exports.EditableFieldInput = components_EditableField_EditableFieldInput.EditableFieldInput;
|
|
120
121
|
exports.EditableFieldTextArea = components_EditableField_EditableFieldTextArea.EditableFieldTextArea;
|
|
122
|
+
exports.ExpandCollapse = components_ExpandCollapse_ExpandCollapse.ExpandCollapse;
|
|
121
123
|
exports.Flag = components_Flags_Flag.Flag;
|
|
122
124
|
exports.Footer = components_Footer_index.Footer;
|
|
123
125
|
exports.useForm = components_Form_FormBase.useForm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -13,6 +13,7 @@ export * from './DictionaryEditor';
|
|
|
13
13
|
export * from './DictionaryFieldEditor';
|
|
14
14
|
export * from './DropDown';
|
|
15
15
|
export * from './EditableField';
|
|
16
|
+
export * from './ExpandCollapse';
|
|
16
17
|
export * from './Flags';
|
|
17
18
|
export * from './Footer';
|
|
18
19
|
export * from './Form';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
@@ -17,6 +17,7 @@ import { VersionSwitcherProvider, useVersionSwitcher } from "./DictionaryFieldEd
|
|
|
17
17
|
import { DropDown, DropDownAlign } from "./DropDown/index.mjs";
|
|
18
18
|
import { EditableFieldInput } from "./EditableField/EditableFieldInput.mjs";
|
|
19
19
|
import { EditableFieldTextArea } from "./EditableField/EditableFieldTextArea.mjs";
|
|
20
|
+
import { ExpandCollapse } from "./ExpandCollapse/ExpandCollapse.mjs";
|
|
20
21
|
import { Flag } from "./Flags/Flag.mjs";
|
|
21
22
|
import { Footer } from "./Footer/index.mjs";
|
|
22
23
|
import { useForm } from "./Form/FormBase.mjs";
|
|
@@ -121,6 +122,7 @@ export {
|
|
|
121
122
|
DropDownAlign,
|
|
122
123
|
EditableFieldInput,
|
|
123
124
|
EditableFieldTextArea,
|
|
125
|
+
ExpandCollapse,
|
|
124
126
|
FacebookLogo,
|
|
125
127
|
FileList,
|
|
126
128
|
Flag,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
|
|
6
6
|
"keywords": [
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"@radix-ui/react-select": "^2.1.4",
|
|
66
66
|
"@radix-ui/react-slot": "^1.1.1",
|
|
67
67
|
"@radix-ui/react-toast": "^1.2.4",
|
|
68
|
+
"@shikijs/transformers": "^3.2.1",
|
|
68
69
|
"better-auth": "^1.3.4",
|
|
69
70
|
"class-variance-authority": "^0.7.1",
|
|
70
71
|
"clsx": "^2.1.1",
|
|
@@ -79,16 +80,16 @@
|
|
|
79
80
|
"tailwind-merge": "^3.3.0",
|
|
80
81
|
"zod": "^3.25.56",
|
|
81
82
|
"zustand": "^4.5.6",
|
|
82
|
-
"@intlayer/
|
|
83
|
-
"@intlayer/
|
|
84
|
-
"@intlayer/
|
|
85
|
-
"@intlayer/
|
|
86
|
-
"
|
|
87
|
-
"
|
|
83
|
+
"@intlayer/config": "5.8.1",
|
|
84
|
+
"@intlayer/core": "5.8.1",
|
|
85
|
+
"@intlayer/dictionaries-entry": "5.8.1",
|
|
86
|
+
"@intlayer/editor-react": "5.8.1",
|
|
87
|
+
"intlayer": "5.8.1",
|
|
88
|
+
"react-intlayer": "5.8.1",
|
|
89
|
+
"@intlayer/api": "5.8.1"
|
|
88
90
|
},
|
|
89
91
|
"devDependencies": {
|
|
90
92
|
"@chromatic-com/storybook": "^3.2.7",
|
|
91
|
-
"@shikijs/transformers": "^3.2.1",
|
|
92
93
|
"@storybook/addon-essentials": "^8.6.14",
|
|
93
94
|
"@storybook/addon-interactions": "^8.6.14",
|
|
94
95
|
"@storybook/addon-links": "^8.6.14",
|
|
@@ -112,7 +113,7 @@
|
|
|
112
113
|
"concurrently": "^9.2.0",
|
|
113
114
|
"eslint": "^9.33.0",
|
|
114
115
|
"fast-glob": "^3.3.3",
|
|
115
|
-
"lucide-react": "^0.
|
|
116
|
+
"lucide-react": "^0.541.0",
|
|
116
117
|
"prettier": "^3.5.3",
|
|
117
118
|
"rimraf": "^6.0.1",
|
|
118
119
|
"storybook": "^8.6.14",
|
|
@@ -121,12 +122,12 @@
|
|
|
121
122
|
"vite": "^7.1.2",
|
|
122
123
|
"vite-plugin-dts": "^4.5.3",
|
|
123
124
|
"vitest": "^3.2.2",
|
|
124
|
-
"@intlayer/backend": "5.8.0-canary.0",
|
|
125
125
|
"@utils/eslint-config": "1.0.4",
|
|
126
126
|
"@utils/ts-config": "1.0.4",
|
|
127
127
|
"@utils/ts-config-types": "1.0.4",
|
|
128
128
|
"@utils/tsup-config": "1.0.4",
|
|
129
|
-
"
|
|
129
|
+
"@intlayer/backend": "5.8.1",
|
|
130
|
+
"vite-intlayer": "5.8.1"
|
|
130
131
|
},
|
|
131
132
|
"peerDependencies": {
|
|
132
133
|
"@monaco-editor/react": "^4.7.0",
|
|
@@ -137,13 +138,13 @@
|
|
|
137
138
|
"react-dom": ">=16.0.0",
|
|
138
139
|
"tailwind-merge": "^3.3.0",
|
|
139
140
|
"zustand": "^4.5.6",
|
|
140
|
-
"@intlayer/api": "5.8.
|
|
141
|
-
"@intlayer/
|
|
142
|
-
"@intlayer/
|
|
143
|
-
"@intlayer/dictionaries-entry": "5.8.
|
|
144
|
-
"@intlayer/editor-react": "5.8.
|
|
145
|
-
"
|
|
146
|
-
"intlayer": "5.8.
|
|
141
|
+
"@intlayer/api": "5.8.1",
|
|
142
|
+
"@intlayer/core": "5.8.1",
|
|
143
|
+
"@intlayer/config": "5.8.1",
|
|
144
|
+
"@intlayer/dictionaries-entry": "5.8.1",
|
|
145
|
+
"@intlayer/editor-react": "5.8.1",
|
|
146
|
+
"intlayer": "5.8.1",
|
|
147
|
+
"react-intlayer": "5.8.1"
|
|
147
148
|
},
|
|
148
149
|
"scripts": {
|
|
149
150
|
"build": "pnpm clean & pnpm build:ci",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.content.cjs","sources":["../../../src/components/IDE/CopyButton.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const copyContentContent = {\n key: 'copy-button',\n content: {\n label: t({\n en: 'Copy content',\n fr: 'Copier le contenu',\n es: 'Copiar contenido',\n 'en-GB': 'Copy content',\n de: 'Inhalt kopieren',\n ja: 'コンテンツをコピー',\n ko: '콘텐츠 복사',\n zh: '复制内容',\n it: 'Copia contenuto',\n pt: 'Copiar conteúdo',\n hi: 'सामग्री कॉपी करें',\n ar: 'نسخ المحتوى',\n ru: 'Копировать содержимое',\n }),\n },\n} satisfies Dictionary;\n\nexport default copyContentContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,qBAAqB;AAAA,EAChC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,OAAOA,SAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.content.d.ts","sourceRoot":"","sources":["../../../src/components/IDE/CopyButton.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBT,CAAC;AAEvB,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.content.mjs","sources":["../../../src/components/IDE/CopyButton.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const copyContentContent = {\n key: 'copy-button',\n content: {\n label: t({\n en: 'Copy content',\n fr: 'Copier le contenu',\n es: 'Copiar contenido',\n 'en-GB': 'Copy content',\n de: 'Inhalt kopieren',\n ja: 'コンテンツをコピー',\n ko: '콘텐츠 복사',\n zh: '复制内容',\n it: 'Copia contenuto',\n pt: 'Copiar conteúdo',\n hi: 'सामग्री कॉपी करें',\n ar: 'نسخ المحتوى',\n ru: 'Копировать содержимое',\n }),\n },\n} satisfies Dictionary;\n\nexport default copyContentContent;\n"],"names":[],"mappings":";AAEO,MAAM,qBAAqB;AAAA,EAChC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|