@pie-lib/text-select 4.0.1-next.20261002222413 → 4.0.1-next.20261003064518

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/index.d.ts CHANGED
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/index.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import Tokenizer from './tokenizer/index.js';
10
2
  import TokenSelect, { TokenTypes } from './token-select/index.js';
11
3
  import TextSelect from './text-select.js';
package/dist/legend.d.ts CHANGED
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/legend.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import React from 'react';
10
2
  export declare const Legend: ({ language, showOnlyCorrect }: {
11
3
  language: any;
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/text-select.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import React from 'react';
10
2
  import PropTypes from 'prop-types';
11
3
  /**
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/token-select/index.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import React from 'react';
10
2
  import PropTypes from 'prop-types';
11
3
  import { TokenTypes } from './token.js';
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/token-select/token.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import React from 'react';
10
2
  import PropTypes from 'prop-types';
11
3
  export declare const TokenTypes: {
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/tokenizer/builder.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  export declare const paragraphs: (text: any) => any;
10
2
  export declare const handleSentence: (child: any, acc: any) => any;
11
3
  export declare const sentences: (text: any) => any;
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/tokenizer/controls.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import React from 'react';
10
2
  import PropTypes from 'prop-types';
11
3
  export declare class Controls extends React.Component {
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/tokenizer/index.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import React from 'react';
10
2
  import PropTypes from 'prop-types';
11
3
  export declare class Tokenizer extends React.Component {
@@ -1,10 +1,2 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/tokenizer/selection-utils.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  export declare const clearSelection: () => void;
10
2
  export declare const getCaretCharacterOffsetWithin: (element: any) => number;
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/tokenizer/token-text.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  import React from 'react';
10
2
  import PropTypes from 'prop-types';
11
3
  export declare const Text: ({ text, predefined, onClick, correct }: {
package/dist/utils.d.ts CHANGED
@@ -1,11 +1,3 @@
1
- /**
2
- * @synced-from pie-lib/packages/text-select/src/utils.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
1
  export declare const parseBrs: (dom: any) => void;
10
2
  export declare const parseParagraph: (paragraph: any, end: any) => any;
11
3
  export declare const parseParagraphs: (dom: any) => string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/text-select",
3
- "version": "4.0.1-next.20261002222413",
3
+ "version": "4.0.1-next.20261003064518",
4
4
  "description": "Some react components for text selection",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,8 +13,8 @@
13
13
  "@mui/icons-material": "^7.3.4",
14
14
  "@mui/material": "^7.3.4",
15
15
  "@pie-framework/parse-english": "^1.0.0",
16
- "@pie-lib/render-ui": "8.0.1-next.20261002222413",
17
- "@pie-lib/style-utils": "3.0.1-next.20261002215153",
16
+ "@pie-lib/render-ui": "8.0.1-next.20261003064518",
17
+ "@pie-lib/style-utils": "3.0.1-next.20261002233132",
18
18
  "@pie-lib/translator": "5.0.1-next.20261002215153",
19
19
  "debug": "^4.1.1",
20
20
  "prop-types": "^15.6.2",