ee6db1429a
Add shading and border settings to paragraph style options. ( #2955 )
...
* Add shading and border settings to paragraph style options.
* Fix prettier
---------
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2025-02-16 18:33:21 +00:00
b89b571c4e
Fix replacer error on patches with empty Runs ( #2875 )
...
* Add test to demonstrate empty strings not creating runs
* Fix Run not creating Text child for empty strings
* Simplify TextRun constructor
Since `Run` already has a option for instantiating a `Text` element, we don't need to push children here.
* Add replacer test for empty runs
* Add replacer test for empty runs
* replacer: handle patches with empty runs
* Fix incorrect test name
2024-12-03 11:25:22 +00:00
2381ba8a05
build(deps-dev): bump eslint from 8.57.1 to 9.13.0 ( #2792 )
...
* build(deps-dev): bump eslint from 8.57.1 to 9.13.0
Bumps [eslint](https://github.com/eslint/eslint ) from 8.57.1 to 9.13.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.13.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Upgrade EsLint
* Fix all new lint errors
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2024-10-21 03:57:15 +01:00
0cadec7f58
build(deps-dev): bump @typescript-eslint/parser from 6.17.0 to 8.8.1 ( #2742 )
...
* build(deps-dev): bump @typescript-eslint/parser from 6.17.0 to 8.8.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.17.0 to 8.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.8.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix type definitions
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2024-10-11 04:47:51 +01:00
e86dbd3398
Change ImageRun keys to be based on image data content ( #2681 )
...
Co-authored-by: Dolan <dolan_miu@hotmail.com >
2024-10-11 01:13:51 +01:00
f98f852a55
Allow disabling numbering inherited from a paragraph style ( #2531 )
2024-05-20 03:15:11 +01:00
e20bd66663
Limit the list of supported highlight colors ( #2522 )
...
* Limit the list of supported highlight colors
* Fix tests: use fixed highlight color values
---------
Co-authored-by: ilyasogonov <sogonov.ilya@customscard.ru >
2024-01-12 00:16:15 +00:00
75715fde37
Fix the incorrect limit location value of MathIntergral #2512 ( #2513 )
2024-01-04 02:42:05 +00:00
c4ed19e589
Add math limit component ( #2510 )
2024-01-03 00:13:13 +00:00
24c159de37
Add SVG image suport ( #2487 )
...
* Add SVG blip extentions
* SVG Image feature now works
* Add and simplify tests
* Fix falsey issue with file
Write tests
100% Coverage
2023-12-31 18:54:35 +00:00
010ef05ce3
Feat/embedded fonts ( #2174 )
...
* #239 Embedded fonts
* Add boilerplate for font table
* Fix linting
* Fix linting
* Fix odttf naming
* Correct writing of fonts to relationships and font table
new uuid function
* Add font to run
* Add demo
Fix tests
* Add character set support
* Add tests
* Write tests
2023-12-30 02:23:54 +00:00
fa401297da
Re-name variables ( #2486 )
2023-12-29 23:52:43 +00:00
b8f97553b3
#933 Discriminated union for frame alignment ( #2477 )
2023-12-29 15:07:42 +00:00
d23f453d28
Add image borders ( #2472 )
...
* Add image borders
* Fix prettier
* Fix spelling
* Fix spelling
* Finish feature
* Update demo
* Try and fix demo 14
2023-12-27 20:20:45 +00:00
6c28f8bab0
Page number in section ( #2485 )
...
* Page number in section
* Inline Lorem Ipsum
* Re-name current page in section to current section
2023-12-25 22:29:32 +00:00
1bf36009e8
#916 Add overflow punctuation ( #2478 )
...
* #916 Add overflow punctuation
* Fix tests
2023-12-25 04:09:54 +00:00
c3080ff9d9
Update vitest ( #2475 )
...
* Update vitest
* Update vite test config
* Fix coverage metrics and bump coverage
2023-12-25 02:47:43 +00:00
2bd4aacdd5
#2388 - Add default tab stop ( #2470 )
...
* #2388 - Check for undefined rather than falsey
* Add default tab stop
* Add back tab stop positions
* Add test for default tab stop
2023-12-24 03:37:36 +00:00
a756a7697c
Change all project enums to objects with as const ( #2445 )
...
* feat: change all enums to as const objects
* Add word to dictionary
---------
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2023-12-22 01:25:00 +00:00
d83e089cd3
add run options to ParagraphPropertiesOptions ( #2457 )
2023-12-22 01:21:12 +00:00
579593a467
Run prop snapToGrid should be false
2023-12-06 10:15:46 +08:00
35702c3f77
Upgrade @typescript-eslint/parser
2023-11-01 22:52:41 +00:00
79363c2c2c
Modify Pargraph's children to accept CheckBox
2023-06-22 14:43:10 -04:00
e4eeb3f87f
Fix spelling
2023-06-14 01:55:47 +01:00
a168dc1c15
Remove redundant code
2023-06-14 01:17:44 +01:00
99dee460ae
Fix prettier
2023-06-13 20:55:20 +01:00
36e9ac1179
Adding tests for noProof option
2023-06-13 20:27:28 +01:00
df619ffe49
Added style support for noProof option.
...
Useful for blocks of source code, and
possibly other things that cause the grammar
and spelling checkers to go nuts.
Example usage:
run: {
font:"Consolas",
color: "0000AA",
break:1,
noProof:true,
},
Also added section to .gitignore to exclude
Mac .DS_Store files. These are useless on
anything other than a Mac.
2023-06-13 20:26:45 +01:00
09ab91eeef
Fix tests and build
...
Remove unused code and dependencies
2023-06-08 13:30:31 +01:00
e69b063687
Porting tests over to vitest
2023-06-05 00:33:43 +01:00
e77a7dfdcd
tests: fixup tests and linting issues
2023-05-04 12:30:31 +03:00
a0437381e7
fix: do not use static numeric counters
2023-04-28 13:17:02 +03:00
704c678333
fix: unit tests fix
2023-04-19 16:51:03 +03:00
c59c5350fd
fix: added unique numeric id creator to avoid numbering render errors
2023-04-18 15:15:38 +03:00
ec379f2e4d
Update documentation
2023-03-26 04:05:41 +01:00
d5b495df5b
#1988 Allow for children in comments
2023-03-19 00:18:38 +00:00
970450074d
#1949 - Add auto space DN feature
2023-03-17 02:20:51 +00:00
21a6767c6f
Add strict types for file child
2023-01-23 14:14:05 +00:00
c21d45a79e
Merge pull request #1859 from dolanmiu/feat/more-run-props
...
Add more run properties and Universal measure
2023-01-05 22:28:18 +00:00
b1872bcb95
Merge pull request #1866 from dolanmiu/hot-fix/return-constructor-value
...
Fix more empty return values
2023-01-05 14:18:11 +00:00
7f88a38219
Fix more empty return values
2023-01-04 22:45:27 +00:00
e4e5b1e4f6
Merge pull request #1861 from dolanmiu/hot-fix/return-constructor-value
...
Hot fix/return constructor value
2022-12-30 16:40:35 +00:00
2435ebf16e
Correctly return value from constructor
2022-12-30 16:16:59 +00:00
4513bb529b
Add more run properties and Universal measure
2022-12-29 09:57:15 +00:00
fe8b0a6b2b
#1699 Allow images to work with Hyperlink
...
Add stack to IContext for prepForXml
2022-12-26 15:12:44 +00:00
11bebd42ac
#940 - Add positional tab feature
...
Also add extra run elements as per spec
2022-12-24 19:32:44 +00:00
3282f762df
Add language support
2022-12-20 21:42:26 +00:00
03d5152e7c
Add BuilderElement and lang
2022-12-18 00:52:29 +00:00
8509bccc4f
Fix comment tests to support testing in different time zones
2022-12-10 13:06:22 +02:00
984e762a53
Fix test
2022-12-06 23:42:22 +00:00