Commit Graph

4274 Commits

Author SHA1 Message Date
Jacob Overgaard
8fd2bf910c build declarations for libraries 2023-03-07 15:31:56 +01:00
Jacob Overgaard
23fc67193a install plugin to build declarations for modules 2023-03-07 15:31:15 +01:00
Jacob Overgaard
8d47bf2c6c move context provider and host elements into src/core folder to avoid exposing them to the public 2023-03-07 15:30:57 +01:00
Jacob Overgaard
a028bfd8f8 make context-provider test independent of external libs 2023-03-07 15:30:09 +01:00
Nathan Woulfe
062cb5f5a0 styling fixes:
- fixes padding-top on property layout for all but first item
- fixes whitespace below workspace layout element
- fixes cotent tab background color
- sets first content tab to active on load
2023-03-06 16:59:49 +10:00
Jacob Overgaard
5813c329ce fix ambient declarations 2023-03-03 11:28:33 +01:00
Mads Rasmussen
9367e05b19 remove deprecated tree-item-action 2023-03-03 10:56:45 +01:00
Jacob Overgaard
62f3c2d6fa Feature/server packages v2 (#574)
* new api models

* use new PackageResource

* do not error out on missing default exports (esmodules auto-execute)

* do not check for js extensions (they might have been registered on the client without a js file)

* prepend the api baseurl to any relataive server JS dependencies

* ignore tsbuildinfo

* create base file for tsconfig

* extend from base config and optimise include/exclude paths

* install rollup plugin to handle json files

* use plugin to bundle json files

* call script for cms builds that builds libs

* add rollup config to utils lib

* add a context token to the extension registry instance itself and provide it through BackofficeElement

* add rollup node resolve

* add node resolve

* only include element mixin in element library

* add error description to module load error

* add types to UmbExtensionRegistry token

* set UmbNotificationService as string in its token to avoid minification

* correct comment

* reverse order of checks

* add host to server extensions and support life-cycle check

* add imports

* use lit rather than lit-html

* correct comment

* add PackageManifestModel

* add import

* run libs build for cms

* revert reorder

* use string name for NotificationContext token

* make alias public readonly of UmbContextToken

* remove TODO

* use UmbContextToken::toString() for all stores

* use string alias for contexts

* move default data so we avoid importing a big lit library just to get default data interface

* add rollup to two extra libraries

* make sure we build uui and lit into our libraries for the few cases we import something

* add lockfile

* add separate options for .js files

* add function to install types of module

* add types output

* remove unused tsconfig-base file for now
2023-03-02 20:29:20 +01:00
Niels Lyngsø
0fe3f8886c Merge pull request #573 from umbraco/bugfix/document-router 2023-03-02 13:36:06 +01:00
Jacob Overgaard
b7491fbe0d update to 1.6.1 containing Niels's changes 2023-03-02 13:33:27 +01:00
Niels Lyngsø
a7c7fba060 Merge branch 'main' into bugfix/document-router 2023-03-02 12:10:02 +01:00
Niels Lyngsø
6d016519a7 fix import order 2023-03-02 12:03:39 +01:00
Niels Lyngsø
29f6bfba5c revert previous change 2023-03-02 12:00:19 +01:00
Dirk Seefeld
abfe0344b5 Replace uui-caret component with uui-symbol-expand (#553)
replace uui-caret with uui-symbol-expand

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-03-02 11:59:30 +01:00
Niels Lyngsø
17248aa94b Merge remote-tracking branch 'origin/main' into bugfix/document-router
# Conflicts:
#	src/backoffice/settings/languages/repository/language.repository.ts
#	src/backoffice/shared/components/input-language-picker/input-language-picker.element.ts
2023-03-02 11:54:40 +01:00
Niels Lyngsø
56883309dd clean up 2023-03-02 11:53:19 +01:00
Niels Lyngsø
500fed22a9 Merge pull request #562 from umbraco/feature/context-token-type 2023-03-02 11:50:11 +01:00
Niels Lyngsø
b4a49dc8e9 Add forked version of router 2023-03-02 11:49:24 +01:00
Warren Buckley
9083582d8c Add backgrounds for stories to be our greyish color and a white & remove black 2023-03-02 10:43:04 +00:00
Jacob Overgaard
f7843b5915 new generated mockServiceWorker.js 2023-03-02 11:31:57 +01:00
Lone Iversen
ce5f2d7182 Feature/installed and created packages (#545)
* multiple selection in modalhandler is ok?

* installed view updates

* created view updates

* workspace for package builder

* package builder

* all pickers in workspace

* use input-picker rather than property editor ui

* installed package view

* ui updates

* packageview

* update handlers

* update package views with migrations

* update backend api

* endpoints

* migration & language picker

* small update

* seperate migrations that doesnt belong to a packag

* rename NotificationContext

* filter out packages that have no name before they go in to the store

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-03-02 11:27:06 +01:00
Warren Buckley
b81d1e2e33 Update to StoryBook 7.0.0-beta59 - Fix build for Windows due to path stuff #570 (#572)
Update to Storybook 7.0.0-beta.59

https://github.com/storybookjs/storybook/pull/21305
2023-03-02 11:10:40 +01:00
Niels Lyngsø
f95e6023af add temp router slot 2023-03-02 10:41:11 +01:00
Lone Iversen
9b07bda60c Merge pull request #564 from umbraco/dependabot/npm_and_yarn/msw-1.1.0
Bump msw from 0.49.3 to 1.1.0
2023-03-02 10:37:00 +01:00
Niels Lyngsø
c7bcac3577 temp solution 2023-03-02 10:10:22 +01:00
dependabot[bot]
bb72eb41e4 Bump msw from 0.49.3 to 1.1.0
Bumps [msw](https://github.com/mswjs/msw) from 0.49.3 to 1.1.0.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v0.49.3...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 08:16:55 +00:00
dependabot[bot]
84589e8f83 Bump @typescript-eslint/parser from 5.53.0 to 5.54.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.53.0 to 5.54.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.54.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-03-02 09:15:52 +01:00
dependabot[bot]
f37d17580f Bump prettier from 2.8.3 to 2.8.4
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.3 to 2.8.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.3...2.8.4)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 09:15:39 +01:00
Mads Rasmussen
7946f8d13b Bugfix: Rename Modal Service (#571)
* rename file

* rename class

* rename token

* rename all usages of modal service

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2023-03-02 09:14:22 +01:00
Mads Rasmussen
71c60eaa59 rename notication service to notification context 2023-03-02 08:49:07 +01:00
Mads Rasmussen
1ab4230b6b rename class 2023-03-02 08:49:07 +01:00
Mads Rasmussen
3b6161c85b rename files 2023-03-02 08:49:07 +01:00
Niels Lyngsø
0685625fba Merge pull request #559 from umbraco/feature/section-sidebar-item-extension-point 2023-03-01 13:58:17 +01:00
Niels Lyngsø
7b6bd3fe34 lint fix 2023-03-01 13:55:04 +01:00
Mads Rasmussen
5d3af0a7a6 move sidebar apps and sidebar menu app to same file and extend meta 2023-03-01 13:35:15 +01:00
Mads Rasmussen
4593b2bdf6 rename file 2023-03-01 13:30:29 +01:00
Mads Rasmussen
68d84edba3 rename to menu section sidebar app 2023-03-01 13:29:38 +01:00
Mads Rasmussen
2cd26f72a5 rename section sidebar item to section sidebar app 2023-03-01 13:05:50 +01:00
Niels Lyngsø
804ff21eca fix imports 2023-03-01 12:00:30 +01:00
Niels Lyngsø
170d2d1458 asPromise 2023-03-01 11:41:18 +01:00
Niels Lyngsø
77cce953c2 formatting 2023-03-01 11:41:11 +01:00
Mads Rasmussen
a44f1469e2 Merge branch 'main' into feature/section-sidebar-item-extension-point 2023-03-01 11:37:11 +01:00
Jacob Overgaard
7e5e10be66 specify types directly on UserWorkspace and EntityWorkspace 2023-03-01 11:15:25 +01:00
Jacob Overgaard
7e3ab09ba3 add TYPE property to UmbContextToken to get the generic type 2023-03-01 11:02:01 +01:00
Warren Buckley
864b1e01c1 Move the WebComponent/LitElement that was inside the story file to own file
ESBuild errors was not happy it was inside a story file
2023-03-01 09:10:18 +01:00
Mads Rasmussen
f39037632c remove unused label from menu model 2023-02-28 20:15:21 +01:00
Mads Rasmussen
aea29378c6 remove sidebar from menu-item name 2023-02-28 20:02:20 +01:00
Mads Rasmussen
0af4e2dc1e register dictionary menu 2023-02-28 19:50:01 +01:00
Mads Rasmussen
76fc9f525e add templating menu 2023-02-28 19:42:25 +01:00
Mads Rasmussen
1a3b42a4a2 add settings menu 2023-02-28 19:42:08 +01:00