Long Nguyen
0edd490a24
fix: proper module resolution in all cases (Node CJS, Node ESM, bundler)
...
* Add extensions to all imports
* Set module resolution to `bundler` to avoid Node specific behavior
* Use `ts2mjs` to rename files to `mjs`
* Add extensions to `@bbob/types` imports
* Fix `package.json` for proper ESM extension and type separation
* More module resolution stuff change (`node16` for everything, `node` for Vue 2 plugin)
* Use `ts-jest-resolver` for `js` -> `ts` resolving in Jest
* Add changeset
* Add import extensions to frontend libs
2025-08-18 19:13:22 +02:00
Sven Grübel
27c8c4b869
fix(react): removed warning for deprecated defaultProps ( #248 )
...
* fix(react): Warning for deprecated defaultProps
Fixes #180
* Create late-icons-sit.md
---------
Co-authored-by: Nikolay Kost <JiLiZART@Gmail.com >
2024-08-21 15:01:17 +02:00
Nikolay Kost
16ad5216db
feat: react, vue3 and vanilla examples ( #242 )
...
* feat: react, vue3 and vanilla examples
* fix: vue3 example
* Create rare-worms-tease.md
* fix: vue3 types
* fix: vue3 ts checks
* fix: vue3 render types
* fix: vue3 component types
2024-07-12 02:35:51 +02:00
Nikolay Kost
270f5645f8
fix( #206 ): TagNode.create now with null content argument by default ( #233 )
...
* fix: TagNode.create with null content by default
* Create five-meals-sing.md
* fix: tests
* fix(preset): types inference
* fix: preset types
* fix: preset types
* fix: lock file, parser and utils
* refactor: move types to separate package
* fix(preset): add @bbob/core to dev deps
* fix(preset): lock file
* test(preset-vue): create tags
* test(preset-vue): tests
* chore(nx): fix nx cover deps
* chore: changesets
2024-06-24 01:32:15 +03:00
Nikolay Kost
8797f7f363
feat: typescript support ( #185 )
...
* feat: initial typescript support
* feat: typescript support
* feat(plugin-helper): move files to typescript
* chore: update lock files
* feat: preset types
* fix: build
* fix: benchmark
* fix: remove pnpm cache
* fix: bench action
* fix: pnpm recursive install
* fix: nx cache
* fix: lock file
* fix: workflows
* fix: lerna support in pnpm
* fix: pnpm workspace
* fix: remove unused files
* fix: pnpm lock file
* fix: update lerna for support pnpm
* fix: lerna bootstrap
* fix: rollup build
* fix: update nx
* fix: build
* fix: add nx dep target
* fix: remove nx cache
* fix: workflow run on push only for master
* fix: test workflow run on push only for master
* fix: remove parallel for gen types
* fix: benchmark
* fix: benchmark imports
* fix: pnpm
* fix: types errors and pnpm
* fix: types
* fix: types
* refactor: parser
* fix(parser): tests
* fix: preset tests
* fix: react types
* fix: react type declarations
* fix: pnpm lock file
* fix: react preset types
* fix: lock file
* fix: vue2 types
* feat: dev container support
* fix: types
* fix: types
* refactor: rewrite pkg-task, add nx gen-types deps, fix react/render.ts
* refactor: types
* fix: types
* fix: rename gen-types to types
* fix: nx build order
* fix: nx reset
* fix: define nx deps explicit
* fix: build
* fix: nx
* fix: nx order build
* fix: nx deps
* fix: bbob cli tests
* fix: tests
* fix: cli tests and import
* fix: test cover
* fix: cli cover
2024-04-23 21:11:14 +02:00
Nikolay Kost
f1f9eb39da
fix(react): render words and spaces as single node in react ( #226 )
...
* fix(react): render words and spaces as single node in react
* chore: create metal-toys-heal.md
2024-03-27 03:29:16 +02:00
Wai Lam Yau
e875c7832d
fix(react): rendering of react for screenreaders ( #220 )
...
* Fix rendering of react for screenreaders
* Fix rendering of react for screenreaders (#1 )
Co-authored-by: WAI YAU <waister@ip-192-168-1-52.eu-west-1.compute.internal >
* Tweak
* Change code to be the source instead of the result
---------
Co-authored-by: WAI YAU <waister@ip-192-168-1-52.eu-west-1.compute.internal >
Co-authored-by: richardmtsr <richard.moss@thestudentroom.com >
2024-03-27 02:46:59 +02:00
Dan Polivy
93d802773c
fix(react): adjust PropTypes for React Component container ( #107 )
...
Augments the existing PropType for the `container` prop of Component to allow for React elements and element types to be passed. The latter allows React Native to better be supported.
2021-06-23 23:27:08 +02:00
Nikolay Kostyurin
5a7211db91
fix(react): rendering self-closed tags and tags without content ( #74 )
2020-11-16 22:59:08 +02:00
Nikolay Kostyurin
aac1ae0e81
chore(*): update dependencies ( #57 )
...
Updated Rollup
Updated Babel
Fixed security problems with some dependencies
2020-01-22 20:25:42 +02:00
Greg Venech
3d5c1f19d5
fix(bbob-react): remove unique "key" prop warning ( #30 )
...
When using `@bbob/react`s `<BBCode>` component, the following error is thrown
if this change is not included...
```
Warning: Each child in a list should have a unique "key" prop.
```
Mentioned in #28
2019-06-29 18:18:39 +02:00
Greg Venech
19d7ff20f1
fix(react): fix broken prop type definition ( #27 )
...
You need to pass a valid prop checking function to `PropTypes.arrayOf`. This caused
an error to be thrown in development for me:
```
Warning: Failed prop type: Unexpected token function
```
2019-06-28 10:00:35 +02:00
Nikita Gordeev
1dafb69dc9
fix(react): add prop componentProps ( #9 )
...
Added the ability to add component props componentProps
2019-03-28 18:40:21 +02:00
Nikolay Kostyurin
0fb4e1930b
style(react): eslint errors
2018-10-25 17:39:11 +02:00
Nikolay Kostyurin
0f8071315d
chore(react): tests for options.onlyAllowTags
2018-10-25 16:55:16 +02:00
Nikolay Kostyurin
77b30f3d44
feat(react): allow pass custom options to react component
2018-10-25 16:39:49 +02:00
Nikolay Kostyurin
575c1bb932
feat: new @bbob/html api ( #4 )
2018-10-12 00:43:20 +02:00
Nikolay Kostyurin
32a7fb51da
refactor(*): convert to babel and generation to lib, es, dist folders ( #2 )
...
* refactor(*): convert to babel and generation to lib, es, dist
* chore(*): remove generated files
* fix(*): lint run command
2018-09-09 23:55:28 +02:00