Commit Graph

611 Commits

Author SHA1 Message Date
Lone Iversen
983db143be update-uui-to-1.2.1 2023-04-20 16:09:32 +02:00
Jacob Overgaard
12cd6b9a95 make sure all prereqs are present in build:libs 2023-04-20 15:02:00 +02:00
Jacob Overgaard
9f36ebedd7 move libs as last step 2023-04-20 14:41:33 +02:00
Jacob Overgaard
0480885de5 dump wca files directly in dist/libs 2023-04-20 14:24:22 +02:00
Jacob Overgaard
4506171566 build cms prereqs on each build 2023-04-20 13:51:55 +02:00
Jacob Overgaard
a390d97161 dump package json schema in dist folder to be included in libs on npm 2023-04-20 13:51:45 +02:00
Jacob Overgaard
3fa5453832 Merge branch 'main' into manual-json-schema 2023-04-20 13:44:59 +02:00
Nathan Woulfe
741335ea17 Merge branch 'main' into feature/rich-text-editor 2023-04-17 12:03:16 +10:00
Jacob Overgaard
72abe48dca update uui to 1.2.0-rc.3 2023-04-14 12:49:03 +02:00
Jacob Overgaard
1395dd84ee add json schema build 2023-04-12 14:35:19 +02:00
Jacob Overgaard
8c7a422b97 update command to base on tsconfig with --include param 2023-04-12 11:24:03 +02:00
Jacob Overgaard
e8fb2aa2c3 Merge remote-tracking branch 'origin/main' into manual-json-schema 2023-04-12 10:48:33 +02:00
Jacob Overgaard
630b727a02 upgrade router-slot to 2.0.0 2023-04-04 16:47:29 +02:00
Warren Buckley
972ebb3057 Upgrade to release of Storybook 7 2023-04-04 13:19:46 +02:00
dependabot[bot]
9ecc1ed015 Bump typescript from 4.9.5 to 5.0.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 07:14:40 +00:00
dependabot[bot]
447c833bf8 Bump lit from 2.6.1 to 2.7.0
Bumps [lit](https://github.com/lit/lit/tree/HEAD/packages/lit) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/lit/lit/releases)
- [Changelog](https://github.com/lit/lit/blob/main/packages/lit/CHANGELOG.md)
- [Commits](https://github.com/lit/lit/commits/lit@2.7.0/packages/lit)

---
updated-dependencies:
- dependency-name: lit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:12:57 +02:00
dependabot[bot]
cc050d137b Bump vite from 4.1.4 to 4.2.1
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.4 to 4.2.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.2.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:12:23 +02:00
Niels Lyngsø
a486b3a8f3 Merge branch 'main' into dependabot/npm_and_yarn/eslint-config-prettier-8.8.0 2023-04-03 09:11:28 +02:00
dependabot[bot]
df9dfc5d20 Bump @typescript-eslint/parser from 5.54.0 to 5.57.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.54.0 to 5.57.0.
- [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/v5.57.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:06:18 +02:00
dependabot[bot]
7096bad6f0 Bump eslint-config-prettier from 8.6.0 to 8.8.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.6.0 to 8.8.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.6.0...v8.8.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 19:00:43 +00:00
Nathan Woulfe
db45488726 Merge branch 'main' into feature/rich-text-editor 2023-03-30 09:46:55 +10:00
Nathan Woulfe
f620e9df96 Merge branch 'main' into feature/rich-text-editor 2023-03-29 15:49:37 +10:00
Nathan Woulfe
4a4674b7f2 use public rather than public-assets 2023-03-29 15:45:11 +10:00
Niels Lyngsø
feacedb686 make watch script do the same as build. Still missing watch feature for libs. 2023-03-28 13:04:32 +02:00
Jacob Overgaard
dab3a2b80f upgrade uui-css to 1.2.0-rc.2 2023-03-28 08:41:28 +02:00
Nathan Woulfe
7472421399 Merge branch 'main' into feature/rich-text-editor 2023-03-28 15:43:52 +10:00
Jesper Møller Jensen
e6683d3d73 use uui 1.2.0 rc 2 2023-03-28 14:04:27 +13:00
Jacob Overgaard
3be46dec83 Merge branch 'main' into feature/integrate-uui-modal 2023-03-27 16:21:10 +02:00
Jacob Overgaard
c29390d3f5 add plugin node-resolve to ensure build is not failing 2023-03-27 16:10:19 +02:00
Nathan Woulfe
d3bdba9e2b move media-helper to utils 2023-03-27 10:57:11 +10:00
Nathan Woulfe
ccce90150a Merge branch 'main' into feature/rich-text-editor 2023-03-27 10:22:30 +10:00
Jacob Overgaard
38e64ad91e always run wca for backoffice build 2023-03-24 12:48:19 +01:00
Warren Buckley
0660e4031d Use wca to generate the JSON format for VSCode for HTMLCustomData (#619)
* Use web-component-analyzer to generate the JSON format for VSCode for HTMLCustomData

https://github.com/microsoft/vscode-custom-data
https://github.com/runem/web-component-analyzer#vscode

* Adds in the suggested path 'src/**/*.element.ts'

* Runs npm run script for webcomponent analayzer tool

Note its before npm run build:libs as this run runs the script move-libs.js ready for packaging

* move-libs util script updated to copy over the two JSON files from wca cli tool

* Copied file from wrong location as they are being generated and put at the root of the main project

* Adds customElements prop to package.json from this spec

https://github.com/webcomponents/custom-elements-manifest#referencing-manifests-from-npm-packages
2023-03-24 12:43:52 +01:00
Jacob Overgaard
ed0187f888 upgrade uui to 1.2.0-rc.1 2023-03-23 15:17:08 +01:00
Nathan Woulfe
a89b9daa64 Merge branch 'main' into feature/rich-text-editor 2023-03-23 12:31:23 +10:00
Jacob Overgaard
4b6774b8bb Revert "bump engines.node so all actions run with the same version"
This reverts commit 2584917d47.
2023-03-22 15:56:37 +01:00
Jacob Overgaard
2584917d47 bump engines.node so all actions run with the same version 2023-03-22 15:53:27 +01:00
Julia Gru
ef243ef933 Feature/code editor (#607)
* create component

* import styles correctly

* import component

* show code editor element on the template workspace

* wire input event

* sync code property with editor value

* move workers to a separate file

* create class for code editor

* add very simple insert method

* focus after insert

* make scroll bar bit nicer

* add markdown example and fancier template

* make insert work with multiple cursors and selections

* now really make it works with selections and multiple cursors

* map options

* add hack to fix the jumpy cursor

* Observe themes

* add own model for range, return array of ranges from find

* add backoffice-fit dark mode

* add theme story

* add themes folder

* add new methods

insertAtPosition
getValueInRange
select

* add documentation to editor class

* add docs

* rename file

* rename donut files

* cleanup

* add some more imports

* test heap size fix

* heap error test 2

* fix imports

* node fail error test

* rename

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:56:28 +01:00
Łukasz
0c2ca89962 #579 Drop lit-html as direct dependency (#609)
* Drop lit-html as direct dependency

* remove lit-html imports after merge

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2023-03-22 10:34:19 +01:00
Nathan Woulfe
15bb0dcd9f Merge branch 'main' into feature/rich-text-editor 2023-03-22 09:22:12 +10:00
Jacob Overgaard
796533ff11 Refactor libs into @umbraco-cms/backoffice/* (#608)
* merge libs rollup configs to one rollup

* move css from libs to src/core

* run rollup on cms build

* move test-utils to /utils folder

* move css to src/core

* mark @umbraco-cms/backoffice as external when building for CMS

* rename all models to include @umbraco-cms/backoffice in their path to allow us to publish as a single module

* rename all imports to @umbraco-cms/backoffice/*

* rename events to umb-events to avoid rollup error of protected module name(?)

* test that libs can build

* move css to src/core

* move umb-lit-element and modal elements to src/core

* move some modal interfaces back to libs/modal

* move the icon store into src/core since it is very localized to the backoffice

* comment out build:libs for now since Github runs out of memory

* rename to match tsconfig alias

* add package.json to libs

* only make libs for lib folders

* turn off emit for typescript since we are handling types for libs separately

* build libs locally

* add script to move libs to final destination with some transform

* move libs after build

* move package.json to dist folder first (so we can publish from there)

* remove inline comments

* ensure the outputDir exists

* Remove re-export of extensions-registry library from models library

* move to individual files to avoid circular imports

* check if outputDir exists before trying to create it

* write transforms first in dist file and then copy the file to outputDir

* ensure all umbraco types are external

* copy information from main package.json file
2023-03-21 11:41:06 +01:00
Nathan Woulfe
c6c25041fa Merge branch 'main' into feature/rich-text-editor 2023-03-21 11:53:18 +10:00
Warren Buckley
3ecdf7838b Merge remote-tracking branch 'origin/main' into manual-json-schema
# Conflicts:
#	package-lock.json
2023-03-14 11:29:39 +00:00
Warren Buckley
61d290668e Update to Storybook 7.0.0-rc.3 2023-03-14 10:23:53 +00:00
Jacob Overgaard
86b6725aa4 Merge remote-tracking branch 'origin/main' into feature/slimmer-libs 2023-03-13 10:20:17 +01:00
Mads Rasmussen
abbfe21d34 add lint script to only show errors 2023-03-09 21:24:39 +01:00
Jacob Overgaard
60901982e3 add --required parameter 2023-03-09 16:01:42 +00:00
Jacob Overgaard
23fc67193a install plugin to build declarations for modules 2023-03-07 15:31:15 +01:00
Warren Buckley
c0894eae27 Rename run script
npm run generate:jsonschema
2023-03-06 15:45:41 +00:00
Jacob Overgaard
b9af436888 rename the file to match schema pattern 2023-03-06 15:52:14 +01:00