alinea 0.9.10 → 0.9.11

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.
@@ -2,7 +2,7 @@
2
2
  var package_default = {
3
3
  bin: "./dist/cli.js",
4
4
  name: "alinea",
5
- version: "0.9.10",
5
+ version: "0.9.11",
6
6
  license: "MIT",
7
7
  type: "module",
8
8
  scripts: {
package/dist/cli/Serve.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  } from "../chunks/chunk-UJJSVROY.js";
4
4
  import {
5
5
  package_default
6
- } from "../chunks/chunk-LPIF5GQK.js";
6
+ } from "../chunks/chunk-YI73GC3M.js";
7
7
  import "../chunks/chunk-U5RRZUYZ.js";
8
8
 
9
9
  // src/cli/Serve.ts
package/dist/cli/bin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-LPIF5GQK.js";
3
+ } from "../chunks/chunk-YI73GC3M.js";
4
4
  import "../chunks/chunk-U5RRZUYZ.js";
5
5
 
6
6
  // node_modules/mri/lib/index.mjs
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../../chunks/chunk-LPIF5GQK.js";
3
+ } from "../../chunks/chunk-YI73GC3M.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __toESM
@@ -3,7 +3,7 @@ import {
3
3
  } from "../../chunks/chunk-IKINPSS5.js";
4
4
  import {
5
5
  package_default
6
- } from "../../chunks/chunk-LPIF5GQK.js";
6
+ } from "../../chunks/chunk-YI73GC3M.js";
7
7
  import "../../chunks/chunk-U5RRZUYZ.js";
8
8
 
9
9
  // src/cloud/server/CloudAuthServer.ts
@@ -3,7 +3,7 @@ import {
3
3
  } from "../../chunks/chunk-7YXWNKGS.js";
4
4
  import {
5
5
  package_default
6
- } from "../../chunks/chunk-LPIF5GQK.js";
6
+ } from "../../chunks/chunk-YI73GC3M.js";
7
7
  import {
8
8
  connect
9
9
  } from "../../chunks/chunk-FMLWF6TZ.js";
@@ -879,11 +879,10 @@ import { EntryPhase } from "alinea/core/EntryRow";
879
879
  import { Type } from "alinea/core/Type";
880
880
  import { Icon, fromModule, px } from "alinea/ui";
881
881
  import { IcOutlineDescription } from "alinea/ui/icons/IcOutlineDescription";
882
- import { IcRoundArchive } from "alinea/ui/icons/IcRoundArchive";
883
- import { IcRoundEdit } from "alinea/ui/icons/IcRoundEdit";
884
882
  import { IcRoundKeyboardArrowDown } from "alinea/ui/icons/IcRoundKeyboardArrowDown";
885
883
  import { IcRoundKeyboardArrowRight } from "alinea/ui/icons/IcRoundKeyboardArrowRight";
886
884
  import { IcRoundTranslate } from "alinea/ui/icons/IcRoundTranslate";
885
+ import { IcRoundVisibilityOff } from "alinea/ui/icons/IcRoundVisibilityOff";
887
886
  import { useEffect, useRef } from "react";
888
887
  import { changedEntriesAtom } from "../atoms/DbAtoms.js";
889
888
  import {
@@ -916,6 +915,12 @@ var EntryTree_module_default = {
916
915
  "treeItemLabel": "alinea-EntryTree-tree-item-label",
917
916
  "tree-item-label-itemName": "alinea-EntryTree-tree-item-label-itemName",
918
917
  "treeItemLabelItemName": "alinea-EntryTree-tree-item-label-itemName",
918
+ "is-archived": "alinea-EntryTree-is-archived",
919
+ "isArchived": "alinea-EntryTree-is-archived",
920
+ "tree-item-label-itemname": "alinea-EntryTree-tree-item-label-itemname",
921
+ "treeItemLabelItemname": "alinea-EntryTree-tree-item-label-itemname",
922
+ "is-unpublished": "alinea-EntryTree-is-unpublished",
923
+ "isUnpublished": "alinea-EntryTree-is-unpublished",
919
924
  "is-untranslated": "alinea-EntryTree-is-untranslated",
920
925
  "isUntranslated": "alinea-EntryTree-is-untranslated",
921
926
  "tree-item-arrow": "alinea-EntryTree-tree-item-arrow",
@@ -949,6 +954,7 @@ function EntryTreeItem({ item, data }) {
949
954
  const isDraft = selected.phase === EntryPhase.Draft;
950
955
  const isUntranslated = locale && selected.locale !== locale;
951
956
  const isArchived = selected.phase === EntryPhase.Archived;
957
+ const isUnpublished = selected.phase === EntryPhase.Archived;
952
958
  const isSelected = entryId && itemData.id === entryId;
953
959
  return /* @__PURE__ */ createElement(
954
960
  "div",
@@ -956,8 +962,9 @@ function EntryTreeItem({ item, data }) {
956
962
  ...item.getProps(),
957
963
  ref: item.registerElement,
958
964
  className: styles.tree.item({
959
- untranslated: isUntranslated,
960
965
  selected: isSelected,
966
+ unpublished: isUnpublished,
967
+ untranslated: isUntranslated,
961
968
  drop: item.isDropTarget() && item.isDraggingOver(),
962
969
  dropAbove: item.isDropTargetAbove() && item.isDraggingOver(),
963
970
  dropBelow: item.isDropTargetBelow() && item.isDraggingOver()
@@ -975,13 +982,11 @@ function EntryTreeItem({ item, data }) {
975
982
  /* @__PURE__ */ jsx("span", { className: styles.tree.item.icon(), children: /* @__PURE__ */ jsx(
976
983
  Icon,
977
984
  {
978
- icon: isUntranslated ? IcRoundTranslate : icon ?? IcOutlineDescription
985
+ icon: isUntranslated ? IcRoundTranslate : isUnpublished ? IcRoundVisibilityOff : icon ?? IcOutlineDescription
979
986
  }
980
987
  ) }),
981
988
  /* @__PURE__ */ jsx("span", { className: styles.tree.item.label.itemName(), children: selectedEntry(locale, itemData).title }),
982
- item.isFolder() && /* @__PURE__ */ jsx("span", { className: styles.tree.item.arrow(), children: item.isExpanded() ? /* @__PURE__ */ jsx(Icon, { icon: IcRoundKeyboardArrowDown, size: 18 }) : /* @__PURE__ */ jsx(Icon, { icon: IcRoundKeyboardArrowRight, size: 18 }) }),
983
- !isUntranslated && isDraft && /* @__PURE__ */ jsx("span", { className: styles.tree.status({ draft: true }), children: /* @__PURE__ */ jsx(Icon, { icon: IcRoundEdit }) }),
984
- !isUntranslated && isArchived && /* @__PURE__ */ jsx("span", { className: styles.tree.status({ archived: true }), children: /* @__PURE__ */ jsx(Icon, { icon: IcRoundArchive, size: 18 }) })
989
+ item.isFolder() && /* @__PURE__ */ jsx("span", { className: styles.tree.item.arrow(), children: item.isExpanded() ? /* @__PURE__ */ jsx(Icon, { icon: IcRoundKeyboardArrowDown, size: 18 }) : /* @__PURE__ */ jsx(Icon, { icon: IcRoundKeyboardArrowRight, size: 18 }) })
985
990
  ]
986
991
  }
987
992
  )
@@ -21,6 +21,15 @@ import { FieldToolbar } from "alinea/dashboard/view/entry/FieldToolbar";
21
21
  import { IconButton } from "alinea/dashboard/view/IconButton";
22
22
  import { IcRoundSubscript } from "alinea/ui/icons/IcRoundSubscript";
23
23
  import { IcRoundSuperscript } from "alinea/ui/icons/IcRoundSuperscript";
24
+ import { TableDelete } from "alinea/ui/icons/TableDelete";
25
+ import { TableDeleteColumn } from "alinea/ui/icons/TableDeleteColumn";
26
+ import { TableDeleteRow } from "alinea/ui/icons/TableDeleteRow";
27
+ import { TableHeaderRow } from "alinea/ui/icons/TableHeaderRow";
28
+ import { TableInsert } from "alinea/ui/icons/TableInsert";
29
+ import { TableInsertColumnAfter } from "alinea/ui/icons/TableInsertColumnAfter";
30
+ import { TableInsertColumnBefore } from "alinea/ui/icons/TableInsertColumnBefore";
31
+ import { TableInsertRowAfter } from "alinea/ui/icons/TableInsertRowAfter";
32
+ import { TableInsertRowBefore } from "alinea/ui/icons/TableInsertRowBefore";
24
33
  import { forwardRef } from "react";
25
34
  import { attributesToReference, referenceToAttributes } from "./ReferenceLink.js";
26
35
 
@@ -45,6 +54,16 @@ var Styles = /* @__PURE__ */ ((Styles2) => {
45
54
  Styles2["h5"] = "Heading 5";
46
55
  return Styles2;
47
56
  })(Styles || {});
57
+ var HrDivider = () => /* @__PURE__ */ jsx(
58
+ "hr",
59
+ {
60
+ style: {
61
+ border: "none",
62
+ marginBlock: "2px",
63
+ borderTop: "1px solid var(--alinea-outline)"
64
+ }
65
+ }
66
+ );
48
67
  var RichTextToolbar = forwardRef(function RichTextToolbar2({ pickLink, editor, focusToggle, enableTables }, ref) {
49
68
  function exec() {
50
69
  return editor.chain().focus(null, { scrollIntoView: false });
@@ -163,58 +182,87 @@ var RichTextToolbar = forwardRef(function RichTextToolbar2({ pickLink, editor, f
163
182
  /* @__PURE__ */ jsx(
164
183
  DropdownMenu.Item,
165
184
  {
166
- onClick: () => exec().addColumnBefore().run(),
167
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Insert column before" })
185
+ onClick: () => exec().addRowBefore().run(),
186
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
187
+ /* @__PURE__ */ jsx(Icon, { icon: TableInsertRowBefore, size: 20 }),
188
+ "Insert row before"
189
+ ] })
168
190
  }
169
191
  ),
170
192
  /* @__PURE__ */ jsx(
171
193
  DropdownMenu.Item,
172
194
  {
173
- onClick: () => exec().addColumnAfter().run(),
174
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Insert column after" })
195
+ onClick: () => exec().addRowAfter().run(),
196
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
197
+ /* @__PURE__ */ jsx(Icon, { icon: TableInsertRowAfter, size: 20 }),
198
+ "Insert row after"
199
+ ] })
175
200
  }
176
201
  ),
202
+ /* @__PURE__ */ jsx(DropdownMenu.Item, { onClick: () => exec().deleteRow().run(), children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
203
+ /* @__PURE__ */ jsx(Icon, { icon: TableDeleteRow, size: 20 }),
204
+ "Delete row"
205
+ ] }) }),
177
206
  /* @__PURE__ */ jsx(
178
207
  DropdownMenu.Item,
179
208
  {
180
- onClick: () => exec().deleteColumn().run(),
181
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Delete column" })
209
+ onClick: () => exec().toggleHeaderRow().run(),
210
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
211
+ /* @__PURE__ */ jsx(Icon, { icon: TableHeaderRow, size: 20 }),
212
+ "Toggle header row"
213
+ ] })
182
214
  }
183
215
  ),
216
+ /* @__PURE__ */ jsx(HrDivider, {}),
184
217
  /* @__PURE__ */ jsx(
185
218
  DropdownMenu.Item,
186
219
  {
187
- onClick: () => exec().addRowBefore().run(),
188
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Insert row before" })
220
+ onClick: () => exec().addColumnBefore().run(),
221
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
222
+ /* @__PURE__ */ jsx(Icon, { icon: TableInsertColumnBefore, size: 20 }),
223
+ "Insert column before"
224
+ ] })
189
225
  }
190
226
  ),
191
227
  /* @__PURE__ */ jsx(
192
228
  DropdownMenu.Item,
193
229
  {
194
- onClick: () => exec().addRowAfter().run(),
195
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Insert row after" })
230
+ onClick: () => exec().addColumnAfter().run(),
231
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
232
+ /* @__PURE__ */ jsx(Icon, { icon: TableInsertColumnAfter, size: 20 }),
233
+ "Insert column after"
234
+ ] })
196
235
  }
197
236
  ),
198
- /* @__PURE__ */ jsx(DropdownMenu.Item, { onClick: () => exec().deleteRow().run(), children: /* @__PURE__ */ jsx(Typo.P, { children: "Delete row" }) }),
199
237
  /* @__PURE__ */ jsx(
200
238
  DropdownMenu.Item,
201
239
  {
202
- onClick: () => exec().deleteTable().run(),
203
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Delete table" })
240
+ onClick: () => exec().deleteColumn().run(),
241
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
242
+ /* @__PURE__ */ jsx(Icon, { icon: TableDeleteColumn, size: 20 }),
243
+ "Delete column"
244
+ ] })
204
245
  }
205
246
  ),
247
+ /* @__PURE__ */ jsx(HrDivider, {}),
206
248
  /* @__PURE__ */ jsx(
207
249
  DropdownMenu.Item,
208
250
  {
209
- onClick: () => exec().toggleHeaderRow().run(),
210
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Toggle header row" })
251
+ onClick: () => exec().deleteTable().run(),
252
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
253
+ /* @__PURE__ */ jsx(Icon, { icon: TableDelete, size: 20 }),
254
+ "Delete table"
255
+ ] })
211
256
  }
212
257
  )
213
258
  ] }) : /* @__PURE__ */ jsx(
214
259
  DropdownMenu.Item,
215
260
  {
216
261
  onClick: () => exec().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run(),
217
- children: /* @__PURE__ */ jsx(Typo.P, { children: "Insert table" })
262
+ children: /* @__PURE__ */ jsxs(HStack, { gap: 8, center: true, children: [
263
+ /* @__PURE__ */ jsx(Icon, { icon: TableInsert, size: 20 }),
264
+ "Insert table"
265
+ ] })
218
266
  }
219
267
  ) })
220
268
  ] }),
package/dist/index.css CHANGED
@@ -1012,8 +1012,10 @@ button {
1012
1012
  .alinea-EntryTree-tree-item.alinea-EntryTree-is-selected .alinea-EntryTree-tree-item-label-itemName {
1013
1013
  font-weight: 600;
1014
1014
  }
1015
+ .alinea-EntryTree-tree-item.alinea-EntryTree-is-archived .alinea-EntryTree-tree-item-label-itemname,
1016
+ .alinea-EntryTree-tree-item.alinea-EntryTree-is-unpublished .alinea-EntryTree-tree-item-label-itemName,
1015
1017
  .alinea-EntryTree-tree-item.alinea-EntryTree-is-untranslated .alinea-EntryTree-tree-item-label-itemName {
1016
- opacity: 0.7;
1018
+ opacity: 0.5;
1017
1019
  }
1018
1020
  .alinea-EntryTree-tree-item-arrow {
1019
1021
  display: flex;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function IcRoundVisibilityOff(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/IcRoundVisibilityOff.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function IcRoundVisibilityOff(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M12 6.5c2.76 0 5 2.24 5 5c0 .51-.1 1-.24 1.46l3.06 3.06c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l2.17 2.17c.47-.14.96-.24 1.47-.24M2.71 3.16a.996.996 0 0 0 0 1.41l1.97 1.97A11.892 11.892 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.97-.3 4.31-.82l2.72 2.72a.996.996 0 1 0 1.41-1.41L4.13 3.16c-.39-.39-1.03-.39-1.42 0M12 16.5c-2.76 0-5-2.24-5-5c0-.77.18-1.5.49-2.14l1.57 1.57c-.03.18-.06.37-.06.57c0 1.66 1.34 3 3 3c.2 0 .38-.03.57-.07L14.14 16c-.65.32-1.37.5-2.14.5m2.97-5.33a2.97 2.97 0 0 0-2.64-2.64z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ IcRoundVisibilityOff
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableDelete(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableDelete.tsx
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ function TableDelete(props) {
6
+ return /* @__PURE__ */ jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: [
7
+ /* @__PURE__ */ jsx(
8
+ "path",
9
+ {
10
+ fill: "currentColor",
11
+ d: "M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 6v12h14V6H5Z"
12
+ }
13
+ ),
14
+ /* @__PURE__ */ jsx(
15
+ "path",
16
+ {
17
+ fill: "currentColor",
18
+ d: "m14.4 8.6 1.1 1-2.4 2.4 2.4 2.4-1.1 1.1-2.4-2.4-2.4 2.4-1-1.1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"
19
+ }
20
+ )
21
+ ] });
22
+ }
23
+ export {
24
+ TableDelete
25
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableDeleteColumn(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableDeleteColumn.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableDeleteColumn(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2Zm.3.5 1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableDeleteColumn
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableDeleteRow(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableDeleteRow.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableDeleteRow(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6Zm-4.7 1.8 1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableDeleteRow
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableHeaderRow(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableHeaderRow.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableHeaderRow(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-9h-6v3h6V6ZM5 9h6V6H5v3Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableHeaderRow
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableInsert(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableInsert.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableInsert(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 14v4h6v-4H5Zm14 0h-6v4h6v-4Zm0-6h-6v4h6V8ZM5 12h6V8H5v4Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableInsert
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableInsertColumnAfter(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableInsertColumnAfter.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableInsertColumnAfter(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M20 4c.6 0 1 .4 1 1v2a1 1 0 0 1-2 0V6h-8v12h8v-1a1 1 0 0 1 2 0v2c0 .5-.4 1-.9 1H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h15ZM9 13H5v5h4v-5Zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H17v2a1 1 0 0 1-2 .1V13h-2a1 1 0 0 1-.1-2H15V9c0-.6.4-1 1-1ZM9 6H5v5h4V6Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableInsertColumnAfter
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableInsertColumnBefore(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableInsertColumnBefore.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableInsertColumnBefore(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a1 1 0 0 1-1-1v-2a1 1 0 0 1 2 0v1h8V6H5v1a1 1 0 1 1-2 0V5c0-.6.4-1 1-1h15Zm0 9h-4v5h4v-5ZM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H9v2a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H7V9c0-.6.4-1 1-1Zm11-2h-4v5h4V6Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableInsertColumnBefore
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableInsertRowAfter(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableInsertRowAfter.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableInsertRowAfter(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 0 1 .1 2H13v2a1 1 0 0 1-2 .1V18H9a1 1 0 0 1-.1-2H11v-2c0-.6.4-1 1-1Zm6 7a1 1 0 0 1 0-2h1v-6H5v6h1a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1V6c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v13c0 .5-.4 1-.9 1H18ZM11 6H5v4h6V6Zm8 0h-6v4h6V6Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableInsertRowAfter
16
+ };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare function TableInsertRowBefore(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import "../../chunks/chunk-U5RRZUYZ.js";
2
+
3
+ // src/ui/icons/TableInsertRowBefore.tsx
4
+ import { jsx } from "react/jsx-runtime";
5
+ function TableInsertRowBefore(props) {
6
+ return /* @__PURE__ */ jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ jsx(
7
+ "path",
8
+ {
9
+ fill: "currentColor",
10
+ d: "M6 4a1 1 0 1 1 0 2H5v6h14V6h-1a1 1 0 0 1 0-2h2c.6 0 1 .4 1 1v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-.6.4-1 1-1h2Zm5 10H5v4h6v-4Zm8 0h-6v4h6v-4ZM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 .1V8H9a1 1 0 0 1 0-2h2V4c0-.6.4-1 1-1Z"
11
+ }
12
+ ) });
13
+ }
14
+ export {
15
+ TableInsertRowBefore
16
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bin": "./dist/cli.js",
3
3
  "name": "alinea",
4
- "version": "0.9.10",
4
+ "version": "0.9.11",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "scripts": {