Commit 44fddff
Transition to TypeScript (#1273)
* Add ts-minimal sample project
* Setup claude and build commands
* ...
* ...
* files rename
* fix errors
* add cx global tsconfig
* fix vdom error
* register css helper
* move things to typescript
* fix bindings
* fix testWidget errors
* imports clenaup
* use map.get
* fixes
* color fixes
* move calendar, checkbox, color field and color picker to typescript
* fixes etc
* update tsconfig
* cleanup
* move cx to typescript
* fix lock files
* ts migration
* ts migration
* ts migration
* fix tests
* Minor tweaks
* ...
* Add build folder
* ...
* Migrate util directory to TS
* Move data dir to ts
* ...
* move adapters to typescript
* remove d.ts
* ts migration
* move selection and ui to typescript
* fixes
* Fix errors
* moving things to typescript
* fixes
* fixes
* fixes
* fixes
* ts migration
* cleanup
* ...
* fix hoversync and widget
* add generic type for computable
* use instance and widget types
* remove ts ignore from tests
* moving things to typescript
* types
* move svg folder to typescript
* ts migration
* ts migration
* ts migration
* ts migration, widgets init
* core fixes etc
* fixes
* fixes
* moving things to ts
* fixes etc
* fixes
* Type work
* Fix type errors
* Minor fixes
* ...
* ...
* fixes
* Fix type errors
* Cleaning up
* More work
* Fix errors in the ui folder
* More fixes
* More fixes
* More fixes
* ...
* ...
* ...
* ...
* ...
* ...
* More ts stuff
* More fixes
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* Tests passing
* cleanup
* ...
* Finishing charts
* Fix build paths
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* More work
* Gallery worksgit status!
* ...
* Add test workflow
* ...
* ...
* Add missing Config interfaces and constructors to widgets
- Add Config interfaces to: Content, LabelsLeftLayout, LabelsTopLayout,
LabelsTopLayoutCell, HoverSync, HoverSyncElement, ContextMenu, HelpText,
Label, NonOverlappingRect, NonOverlappingRectGroup
- Add constructors to: FlexBox, ClipRect, Axis, Chart, CxCredit,
DocumentTitle, HighlightedSearchText, ColumnBarGraphBase, Svg,
DragSource, DropZone, TextualBoundedObject, Resizer, ProgressBar,
ColorPicker
- Switch LabelsLeftLayout and LabelsTopLayout to use StyledContainerBase
- Add WidgetStyleConfig to ProgressBar and Resizer configs
* ...
* ...
* ...
* Fix component create
* Simplify creatable
* Rename
* ...
* Safe changes
* ...
* Add find controller methods
* ...
* Typed contexts
* Typed ContentResolver
* update swc imports plugin dependencies
* update swc plugin
* remove npm pack test
* new plugins version
* add license and readme files
* Pie Slice active bind issue
* Port master changes to TypeScript branch
- Instance.ts: move selector.init to dataSelector init (fixes pie slice active bind)
- Grid: add preserveGroupOrder option
- ArrayAdapter/GroupAdapter: add preserveOrder support
- Axis: add data attribute support for complex labels
- Add litmus test files for grouping and complex axis labels
- Update docs configs
* Type dropdownOptions as Partial<DropdownConfig>
* Type selection config with all selection types
* ...
* ...
* ...
* ...
* ...
* Build fixes
* ...
* add missing jsdocs
* Remove remaining type check comments
* publish cx@ts
* ...
* ...
* ...
* Minor tweaks
* ...
* ...
* ...
* Minor improvements
* ...
* update tests
* ...
* fixes etc
* add more tests
* add tracing
* add documentation
* cleanup
* use makefile instead of package.json
* update lock
* ...
* ...
* ...
* ...
* ...
* Type improvements
* ...
* ...
* ...
* update swc
* fix array adapter
* fix icons and themes
* ...
* ...
* ...
* ...
* ...
* ...
* ...
* Change package exports
* Split HTML and React elements
* ...
* ...
* ...
* ...
* New cx@ts release
* Fix tests
* Remove one strange line
* ...
* ...
* ...
* Remove old warning about styled not being set
* Properly apply key inside icons
* Make tests use act
* Build cx-react before cx
---------
Co-authored-by: vedranvucic77 <vedran.vucic@codaxy.com>
Co-authored-by: Ognjen Stefanovic <ognjen.stefanovic@codaxy.com>1 parent a5c5dbd commit 44fddff
File tree
1,406 files changed
+64979
-66607
lines changed- .claude
- .github/workflows
- .vscode
- benchmark
- docs
- app
- components
- content
- charts/configs
- concepts
- intro
- fiddle
- gallery
- components
- config
- examples/baseline
- routes
- charts
- column
- pie-chart
- scatter-graph
- general/grids
- themes
- litmus
- misc
- components
- layout
- packages
- babel-plugin-transform-cx-imports
- babel-plugin-transform-cx-jsx
- babel-preset-cx-env
- cx-build-tools
- cx-react
- src
- cx-scss-manifest-webpack-plugin
- src
- cx-theme-aquamarine
- src
- cx-theme-dark
- src
- cx-theme-frost
- src
- cx-theme-material-dark
- src
- cx-theme-material
- src
- cx-theme-packed-dark
- src
- cx-theme-space-blue
- src
- cx
- build
- locale
- src
- charts
- axis
- helpers
- data
- diff
- ops
- hooks
- locale
- svg
- util
- ui
- adapter
- app
- layout
- selection
- util
- color
- date
- scss
- test
- widgets
- drag-drop
- form
- grid
- icons
- overlay
- swc-plugin-transform-cx-imports
- .cargo
- pkg
- src
- swc-plugin-transform-cx-jsx
- .cargo
- pkg
- src
- tests
- 03_preserves_whitespace_if_ws_flag_is_set
- 07_transform_jsx_object_attrs_to_config_props
- 08_transform_jsx_function_attrs_to_config_props
- 19_transform_lowercase_tags_into_htmlelement_with_tag_prop
- 22_transform_jsx_elems_in_structured_attrs
- 26_register_functional_cx_components
- 27_register_only_one_createFunctionalComponent_import
- 28_auto_import_HtmlElements
- 30_expand_fat_arrows_in_string_exprs_if_flag_set
- 31_transform_obj_functional_component
- 32_export_default_is_processed
- 36_import_HtmlElement_from_cx_widgets
- 37_import_createFunctionalComponent_from_cx_ui
- 38_boolean_attributes
- 39_self_closing_with_spread_and_attrs
- 40_nested_cx_blocks
- 41_mixed_expressions_in_attributes
- 42_null_undefined_attribute_values
- 43_multiple_spreads
- svg_test
- test
- ts-minimal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,406 files changed
+64979
-66607
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
3 | 39 | | |
0 commit comments