diff --git a/CHANGELOG.md b/CHANGELOG.md
index 38a2163..e1d65fe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,3 +6,7 @@
- Sdk constraint
- Doc on component properties
+
+## 1.0.0
+
+- refactoring so that the behavior is similar to CorelDraw and Photoshop and migration to angular 8 and dart 3.2, removal of dependencies on outdated packages and angular_components
diff --git a/build.yaml b/build.yaml.old
similarity index 100%
rename from build.yaml
rename to build.yaml.old
diff --git a/example/build.yaml b/example/build.yaml.old
similarity index 100%
rename from example/build.yaml
rename to example/build.yaml.old
diff --git a/example/lib/app_component.dart b/example/lib/app_component.dart
deleted file mode 100644
index 3a9a7f6..0000000
--- a/example/lib/app_component.dart
+++ /dev/null
@@ -1,59 +0,0 @@
-import 'package:angular/angular.dart';
-import 'package:angular_components/angular_components.dart';
-import 'package:ng_color_picker/ng_color_picker.dart';
-
-@Component(
- selector: 'ng-color-picker-example',
- template: r'''
-
Chosen color: {{css}}
-
-
-
- Simple color picker for AngularDart.
-
GitHub
-
Pub
-
- ''',
- directives: [
- coreDirectives,
- ColorPickerComponent,
- MaterialButtonComponent,
- MaterialPopupComponent,
- PopupSourceDirective,
- ],
- providers: [popupBindings],
- changeDetection: ChangeDetectionStrategy.OnPush,
- styleUrls: ['app_component.css'],
-)
-class AppComponent {
- String css = 'rgba(85, 73, 172, 1)';
- bool showPopup = false;
-
- final popupPos = [RelativePosition.AdjacentRight,
- RelativePosition.OffsetBottomRight];
-
- ColorPickerComponent? _popupPicker;
-
- @ViewChild('popupPicker')
- set popupPicker(ColorPickerComponent picker) => _popupPicker;
-
- ColorPickerComponent get popupPicker => _popupPicker!;
-}
diff --git a/example/lib/app_component.css b/example/lib/src/app_component.css
similarity index 100%
rename from example/lib/app_component.css
rename to example/lib/src/app_component.css
diff --git a/example/lib/src/app_component.dart b/example/lib/src/app_component.dart
new file mode 100644
index 0000000..5bb5858
--- /dev/null
+++ b/example/lib/src/app_component.dart
@@ -0,0 +1,15 @@
+import 'package:ngdart/angular.dart';
+import 'package:ng_color_picker/ng_color_picker.dart';
+
+@Component(
+ selector: 'my-app',
+ templateUrl: 'app_component.html',
+ directives: [
+ coreDirectives,
+ ColorPickerComponent,
+ ],
+ styleUrls: ['app_component.css'],
+)
+class AppComponent {
+ String css = 'rgba(85, 73, 172, 1)';
+}
diff --git a/example/lib/src/app_component.html b/example/lib/src/app_component.html
new file mode 100644
index 0000000..f774f1b
--- /dev/null
+++ b/example/lib/src/app_component.html
@@ -0,0 +1,11 @@
+Chosen color: {{css}}
+
+
+
+
+
+
+ Simple color picker for AngularDart.
+
GitHub
+
Pub
+
\ No newline at end of file
diff --git a/example/main.dart b/example/main.dart
deleted file mode 100644
index d774be2..0000000
--- a/example/main.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-import 'package:angular/angular.dart';
-import 'lib/app_component.template.dart' as ng_root;
-import 'main.template.dart' as ng_main;
-
-// Visit the github to see the app_component.dart and app_component.html
-void main() {
- runApp(ng_root.AppComponentNgFactory, createInjector: rootInjector);
-}
-
-@GenerateInjector([])
-final InjectorFactory rootInjector = ng_main.rootInjector$Injector;
diff --git a/example/pubspec.lock b/example/pubspec.lock
index a8f1dea..b755052 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -5,670 +5,808 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
- url: "https://pub.dartlang.org"
+ sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
+ url: "https://pub.dev"
source: hosted
- version: "30.0.0"
+ version: "67.0.0"
analyzer:
- dependency: transitive
+ dependency: "direct overridden"
description:
name: analyzer
- url: "https://pub.dartlang.org"
- source: hosted
- version: "2.7.0"
- angular:
- dependency: "direct main"
- description:
- name: angular
- url: "https://pub.dartlang.org"
- source: hosted
- version: "7.0.2"
- angular_ast:
- dependency: transitive
- description:
- name: angular_ast
- url: "https://pub.dartlang.org"
- source: hosted
- version: "2.0.1"
- angular_compiler:
- dependency: transitive
- description:
- name: angular_compiler
- url: "https://pub.dartlang.org"
+ sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.2"
- angular_components:
- dependency: "direct main"
- description:
- path: angular_components
- ref: "migrated/bug-fix-1"
- resolved-ref: "8a965dbc264ce89f8a4125c70eecc7cf3364bc57"
- url: "https://github.com/dukefirehawk/angular_components/"
- source: git
- version: "2.0.0"
- angular_forms:
- dependency: transitive
- description:
- name: angular_forms
- url: "https://pub.dartlang.org"
- source: hosted
- version: "4.0.1"
+ version: "6.4.1"
archive:
dependency: transitive
description:
name: archive
- url: "https://pub.dartlang.org"
+ sha256: "22600aa1e926be775fa5fe7e6894e7fb3df9efda8891c73f70fb3262399a432d"
+ url: "https://pub.dev"
source: hosted
- version: "3.1.6"
+ version: "3.4.10"
args:
dependency: transitive
description:
name: args
- url: "https://pub.dartlang.org"
+ sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596
+ url: "https://pub.dev"
source: hosted
- version: "2.3.0"
+ version: "2.4.2"
async:
dependency: transitive
description:
name: async
- url: "https://pub.dartlang.org"
+ sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
+ url: "https://pub.dev"
source: hosted
- version: "2.8.2"
+ version: "2.11.0"
bazel_worker:
dependency: transitive
description:
name: bazel_worker
- url: "https://pub.dartlang.org"
+ sha256: "6f306845d941808bed2fdbd7db3a39de273a8248a9303cfebf0cfa861372616e"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.1"
+ version: "1.1.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
- url: "https://pub.dartlang.org"
+ sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.1.1"
build:
dependency: transitive
description:
name: build
- url: "https://pub.dartlang.org"
+ sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.4.1"
build_config:
dependency: transitive
description:
name: build_config
- url: "https://pub.dartlang.org"
+ sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
+ url: "https://pub.dev"
source: hosted
- version: "1.0.0"
+ version: "1.1.1"
build_daemon:
dependency: transitive
description:
name: build_daemon
- url: "https://pub.dartlang.org"
+ sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1"
+ url: "https://pub.dev"
source: hosted
- version: "3.0.1"
+ version: "4.0.1"
build_modules:
- dependency: transitive
+ dependency: "direct overridden"
description:
name: build_modules
- url: "https://pub.dartlang.org"
+ sha256: "66f0f746a239ff6cceba9d235a679ec70a6d9037ddddb36a24a0791a639a8486"
+ url: "https://pub.dev"
source: hosted
- version: "4.0.3"
+ version: "5.0.7"
build_resolvers:
dependency: transitive
description:
name: build_resolvers
- url: "https://pub.dartlang.org"
+ sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.4"
+ version: "2.4.2"
build_runner:
dependency: "direct dev"
description:
name: build_runner
- url: "https://pub.dartlang.org"
+ sha256: "581bacf68f89ec8792f5e5a0b2c4decd1c948e97ce659dc783688c8a88fbec21"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.5"
+ version: "2.4.8"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
- url: "https://pub.dartlang.org"
+ sha256: "4ae8ffe5ac758da294ecf1802f2aff01558d8b1b00616aa7538ea9a8a5d50799"
+ url: "https://pub.dev"
source: hosted
- version: "7.2.2"
+ version: "7.3.0"
build_test:
- dependency: transitive
+ dependency: "direct dev"
description:
name: build_test
- url: "https://pub.dartlang.org"
+ sha256: "260dbba934f41b0a42935e9cae1f5731b94f0c3e489dc97bcf8e281265aaa5ae"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.4"
+ version: "2.2.2"
build_web_compilers:
dependency: "direct dev"
description:
name: build_web_compilers
- url: "https://pub.dartlang.org"
+ sha256: aad1d705faa53d060e7ccb7855ee74705a8e3d9ea1634e63e362cc2c1bd47afa
+ url: "https://pub.dev"
source: hosted
- version: "3.2.1"
+ version: "4.0.9"
built_collection:
dependency: transitive
description:
name: built_collection
- url: "https://pub.dartlang.org"
+ sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
+ url: "https://pub.dev"
source: hosted
version: "5.1.1"
built_value:
dependency: transitive
description:
name: built_value
- url: "https://pub.dartlang.org"
+ sha256: a3ec2e0f967bc47f69f95009bb93db936288d61d5343b9436e378b28a2f830c6
+ url: "https://pub.dev"
+ source: hosted
+ version: "8.9.0"
+ change_notifier:
+ dependency: "direct main"
+ description:
+ name: change_notifier
+ sha256: "9a50ab5290b93a2f164d20a12998ef10571d57947b47f144296dc53cc24f4f5b"
+ url: "https://pub.dev"
source: hosted
- version: "8.1.3"
+ version: "0.24.0"
charcode:
dependency: transitive
description:
name: charcode
- url: "https://pub.dartlang.org"
+ sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306
+ url: "https://pub.dev"
source: hosted
version: "1.3.1"
checked_yaml:
dependency: transitive
description:
name: checked_yaml
- url: "https://pub.dartlang.org"
+ sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
+ url: "https://pub.dev"
source: hosted
- version: "2.0.1"
+ version: "2.0.3"
+ cli_pkg:
+ dependency: transitive
+ description:
+ name: cli_pkg
+ sha256: "7b088621eb3d486c17a4122389d8b3f36658450d5a405fa229166b1a71a7ce4a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.7.2"
cli_repl:
dependency: transitive
description:
name: cli_repl
- url: "https://pub.dartlang.org"
+ sha256: a2ee06d98f211cb960c777519cb3d14e882acd90fe5e078668e3ab4baab0ddd4
+ url: "https://pub.dev"
source: hosted
- version: "0.2.2"
+ version: "0.2.3"
cli_util:
dependency: transitive
description:
name: cli_util
- url: "https://pub.dartlang.org"
+ sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19
+ url: "https://pub.dev"
source: hosted
- version: "0.3.5"
+ version: "0.4.1"
clock:
dependency: transitive
description:
name: clock
- url: "https://pub.dartlang.org"
+ sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ url: "https://pub.dev"
source: hosted
- version: "1.1.0"
+ version: "1.1.1"
code_builder:
dependency: transitive
description:
name: code_builder
- url: "https://pub.dartlang.org"
+ sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37
+ url: "https://pub.dev"
source: hosted
- version: "4.1.0"
+ version: "4.10.0"
collection:
dependency: transitive
description:
name: collection
- url: "https://pub.dartlang.org"
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
+ url: "https://pub.dev"
source: hosted
- version: "1.15.0"
+ version: "1.18.0"
convert:
dependency: transitive
description:
name: convert
- url: "https://pub.dartlang.org"
+ sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
+ url: "https://pub.dev"
source: hosted
- version: "3.0.1"
+ version: "3.1.1"
coverage:
dependency: transitive
description:
name: coverage
- url: "https://pub.dartlang.org"
+ sha256: "8acabb8306b57a409bf4c83522065672ee13179297a6bb0cb9ead73948df7c76"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.3"
+ version: "1.7.2"
crypto:
dependency: transitive
description:
name: crypto
- url: "https://pub.dartlang.org"
+ sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
+ url: "https://pub.dev"
source: hosted
- version: "3.0.1"
+ version: "3.0.3"
csslib:
dependency: transitive
description:
name: csslib
- url: "https://pub.dartlang.org"
+ sha256: "831883fb353c8bdc1d71979e5b342c7d88acfbc643113c14ae51e2442ea0f20f"
+ url: "https://pub.dev"
source: hosted
- version: "0.17.1"
+ version: "0.17.3"
dart_internal:
dependency: transitive
description:
name: dart_internal
- url: "https://pub.dartlang.org"
+ sha256: "689dccc3d5f62affd339534cca548dce12b3a6b32f0f10861569d3025efc0567"
+ url: "https://pub.dev"
source: hosted
- version: "0.2.2"
+ version: "0.2.9"
dart_style:
dependency: transitive
description:
name: dart_style
- url: "https://pub.dartlang.org"
+ sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368"
+ url: "https://pub.dev"
source: hosted
- version: "2.2.0"
- dispose:
+ version: "2.3.4"
+ ffi:
dependency: transitive
description:
- name: dispose
- url: "https://pub.dartlang.org"
+ name: ffi
+ sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
+ url: "https://pub.dev"
source: hosted
- version: "0.0.7"
+ version: "2.1.0"
file:
dependency: transitive
description:
name: file
- url: "https://pub.dartlang.org"
+ sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
+ url: "https://pub.dev"
source: hosted
- version: "6.1.2"
+ version: "7.0.0"
fixnum:
dependency: transitive
description:
name: fixnum
- url: "https://pub.dartlang.org"
+ sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.0"
+ version: "1.1.0"
frontend_server_client:
dependency: transitive
description:
name: frontend_server_client
- url: "https://pub.dartlang.org"
+ sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.2"
+ version: "3.2.0"
glob:
dependency: transitive
description:
name: glob
- url: "https://pub.dartlang.org"
+ sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.2"
+ version: "2.1.2"
graphs:
dependency: transitive
description:
name: graphs
- url: "https://pub.dartlang.org"
+ sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.3.1"
+ grinder:
+ dependency: transitive
+ description:
+ name: grinder
+ sha256: e1996e485d2b56bb164a8585679758d488fbf567273f51c432c8733fee1f6188
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.9.5"
html:
dependency: transitive
description:
name: html
- url: "https://pub.dartlang.org"
+ sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a"
+ url: "https://pub.dev"
source: hosted
- version: "0.15.0"
+ version: "0.15.4"
http:
dependency: transitive
description:
name: http
- url: "https://pub.dartlang.org"
+ sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba
+ url: "https://pub.dev"
source: hosted
- version: "0.13.4"
+ version: "1.2.0"
http_multi_server:
dependency: transitive
description:
name: http_multi_server
- url: "https://pub.dartlang.org"
+ sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
+ url: "https://pub.dev"
source: hosted
- version: "3.0.1"
+ version: "3.2.1"
http_parser:
dependency: transitive
description:
name: http_parser
- url: "https://pub.dartlang.org"
+ sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
+ url: "https://pub.dev"
source: hosted
- version: "4.0.0"
+ version: "4.0.2"
intl:
dependency: transitive
description:
name: intl
- url: "https://pub.dartlang.org"
+ sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
+ url: "https://pub.dev"
source: hosted
- version: "0.17.0"
+ version: "0.18.1"
io:
dependency: transitive
description:
name: io
- url: "https://pub.dartlang.org"
+ sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.3"
+ version: "1.0.4"
js:
dependency: transitive
description:
name: js
- url: "https://pub.dartlang.org"
+ sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
+ url: "https://pub.dev"
source: hosted
- version: "0.6.3"
+ version: "0.6.7"
json_annotation:
dependency: transitive
description:
name: json_annotation
- url: "https://pub.dartlang.org"
+ sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467
+ url: "https://pub.dev"
source: hosted
- version: "4.3.0"
- lib_colors:
- dependency: transitive
- description:
- path: "../../lib_colors"
- relative: true
- source: path
- version: "1.0.18"
+ version: "4.8.1"
lints:
dependency: "direct dev"
description:
name: lints
- url: "https://pub.dartlang.org"
+ sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.1"
+ version: "2.1.1"
logging:
dependency: transitive
description:
name: logging
- url: "https://pub.dartlang.org"
+ sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.2"
+ version: "1.2.0"
matcher:
dependency: transitive
description:
name: matcher
- url: "https://pub.dartlang.org"
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
+ url: "https://pub.dev"
source: hosted
- version: "0.12.11"
+ version: "0.12.16+1"
meta:
dependency: transitive
description:
name: meta
- url: "https://pub.dartlang.org"
+ sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
+ url: "https://pub.dev"
source: hosted
- version: "1.7.0"
+ version: "1.11.0"
mime:
dependency: transitive
description:
name: mime
- url: "https://pub.dartlang.org"
+ sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.1"
+ version: "1.0.5"
+ native_synchronization:
+ dependency: transitive
+ description:
+ name: native_synchronization
+ sha256: ff200fe0a64d733ff7d4dde2005271c297db81007604c8cd21037959858133ab
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.2.0"
ng_color_picker:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
- version: "0.0.2"
+ version: "1.0.0"
+ ngast:
+ dependency: transitive
+ description:
+ name: ngast
+ sha256: "681f2099cd8d20868e4309ebd9f2c20596c220c041966a22ce2f7d81b21ec951"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.0-dev.0"
+ ngcompiler:
+ dependency: transitive
+ description:
+ name: ngcompiler
+ sha256: "9cd0f122b872cb42c1b6ef5c8f2f6d64eacfdc5d8dbd97a38a4e3346b8d3d0d6"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.0-dev.1"
+ ngdart:
+ dependency: "direct main"
+ description:
+ name: ngdart
+ sha256: "0d92d05a9dadef120b0eaee34ffd417f8608066ba0ce1e69958290c08d440b84"
+ url: "https://pub.dev"
+ source: hosted
+ version: "8.0.0-dev.2"
+ ngforms:
+ dependency: "direct main"
+ description:
+ name: ngforms
+ sha256: "05c49fc995177d8eccae4fc617576da621ccde62e98f5210f9dbbeefa7448292"
+ url: "https://pub.dev"
+ source: hosted
+ version: "5.0.0-dev.1"
+ ngrouter:
+ dependency: "direct main"
+ description:
+ name: ngrouter
+ sha256: f5d8a746c7225a8a6c6c500ba69acb509a1caa195a6262de15563319262c2af0
+ url: "https://pub.dev"
+ source: hosted
+ version: "4.0.0-dev.1"
node_interop:
dependency: transitive
description:
name: node_interop
- url: "https://pub.dartlang.org"
+ sha256: "3af2420c728173806f4378cf89c53ba9f27f7f67792b898561bff9d390deb98e"
+ url: "https://pub.dev"
source: hosted
version: "2.1.0"
node_preamble:
dependency: transitive
description:
name: node_preamble
- url: "https://pub.dartlang.org"
+ sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.1"
- observable:
- dependency: transitive
- description:
- path: "."
- ref: HEAD
- resolved-ref: "8c49e71daa4c4d41e9103c4c562a8f3e9cecdd61"
- url: "https://github.com/google/observable"
- source: git
- version: "0.24.0-dev"
+ version: "2.0.2"
package_config:
dependency: transitive
description:
name: package_config
- url: "https://pub.dartlang.org"
+ sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.2"
+ version: "2.1.0"
path:
dependency: transitive
description:
name: path
- url: "https://pub.dartlang.org"
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
+ url: "https://pub.dev"
source: hosted
- version: "1.8.0"
- pedantic:
+ version: "1.9.0"
+ petitparser:
dependency: transitive
description:
- name: pedantic
- url: "https://pub.dartlang.org"
+ name: petitparser
+ sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
+ url: "https://pub.dev"
source: hosted
- version: "1.11.1"
+ version: "6.0.2"
+ pointycastle:
+ dependency: transitive
+ description:
+ name: pointycastle
+ sha256: "43ac87de6e10afabc85c445745a7b799e04de84cebaa4fd7bf55a5e1e9604d29"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.7.4"
pool:
dependency: transitive
description:
name: pool
- url: "https://pub.dartlang.org"
+ sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
+ url: "https://pub.dev"
source: hosted
- version: "1.5.0"
+ version: "1.5.1"
protobuf:
dependency: transitive
description:
name: protobuf
- url: "https://pub.dartlang.org"
+ sha256: "68645b24e0716782e58948f8467fd42a880f255096a821f9e7d0ec625b00c84d"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.0"
+ version: "3.1.0"
pub_semver:
dependency: transitive
description:
name: pub_semver
- url: "https://pub.dartlang.org"
+ sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.1.4"
pubspec_parse:
dependency: transitive
description:
name: pubspec_parse
- url: "https://pub.dartlang.org"
+ sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367
+ url: "https://pub.dev"
source: hosted
- version: "1.1.0"
+ version: "1.2.3"
quiver:
dependency: transitive
description:
name: quiver
- url: "https://pub.dartlang.org"
+ sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47
+ url: "https://pub.dev"
source: hosted
- version: "3.0.1+1"
+ version: "3.2.1"
+ retry:
+ dependency: transitive
+ description:
+ name: retry
+ sha256: "822e118d5b3aafed083109c72d5f484c6dc66707885e07c0fbcb8b986bba7efc"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.2"
sass:
dependency: transitive
description:
name: sass
- url: "https://pub.dartlang.org"
+ sha256: f5b39a1f2601d5a67d5a83a8f6d03de8418a88f545e108df7e59f100fe8db1dd
+ url: "https://pub.dev"
source: hosted
- version: "1.43.4"
+ version: "1.70.0"
sass_builder:
- dependency: transitive
+ dependency: "direct main"
description:
name: sass_builder
- url: "https://pub.dartlang.org"
+ sha256: "8f714e91a19272b7f0b68a5a100c8c000f3101731288376fdcbfb0e464274eb5"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.4"
+ version: "2.2.1"
scratch_space:
dependency: transitive
description:
name: scratch_space
- url: "https://pub.dartlang.org"
+ sha256: "8510fbff458d733a58fc427057d1ac86303b376d609d6e1bc43f240aad9aa445"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.1"
+ version: "1.0.2"
shelf:
dependency: transitive
description:
name: shelf
- url: "https://pub.dartlang.org"
+ sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4
+ url: "https://pub.dev"
source: hosted
- version: "1.2.0"
+ version: "1.4.1"
shelf_packages_handler:
dependency: transitive
description:
name: shelf_packages_handler
- url: "https://pub.dartlang.org"
+ sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e"
+ url: "https://pub.dev"
source: hosted
- version: "3.0.0"
+ version: "3.0.2"
shelf_static:
dependency: transitive
description:
name: shelf_static
- url: "https://pub.dartlang.org"
+ sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e
+ url: "https://pub.dev"
source: hosted
- version: "1.1.0"
+ version: "1.1.2"
shelf_web_socket:
dependency: transitive
description:
name: shelf_web_socket
- url: "https://pub.dartlang.org"
+ sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.1"
+ version: "1.0.4"
source_gen:
dependency: transitive
description:
name: source_gen
- url: "https://pub.dartlang.org"
+ sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832"
+ url: "https://pub.dev"
source: hosted
- version: "1.1.1"
+ version: "1.5.0"
source_map_stack_trace:
dependency: transitive
description:
name: source_map_stack_trace
- url: "https://pub.dartlang.org"
+ sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.1.1"
source_maps:
dependency: transitive
description:
name: source_maps
- url: "https://pub.dartlang.org"
+ sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703"
+ url: "https://pub.dev"
source: hosted
- version: "0.10.10"
+ version: "0.10.12"
source_span:
dependency: transitive
description:
name: source_span
- url: "https://pub.dartlang.org"
+ sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
+ url: "https://pub.dev"
source: hosted
- version: "1.8.1"
+ version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
- url: "https://pub.dartlang.org"
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
+ url: "https://pub.dev"
source: hosted
- version: "1.10.0"
+ version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
- url: "https://pub.dartlang.org"
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.1.2"
stream_transform:
dependency: transitive
description:
name: stream_transform
- url: "https://pub.dartlang.org"
+ sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.0"
+ version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
- url: "https://pub.dartlang.org"
+ sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ url: "https://pub.dev"
source: hosted
- version: "1.1.0"
+ version: "1.2.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
- url: "https://pub.dartlang.org"
+ sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ url: "https://pub.dev"
source: hosted
- version: "1.2.0"
+ version: "1.2.1"
test:
- dependency: transitive
+ dependency: "direct dev"
description:
name: test
- url: "https://pub.dartlang.org"
+ sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073"
+ url: "https://pub.dev"
source: hosted
- version: "1.19.3"
+ version: "1.25.2"
test_api:
dependency: transitive
description:
name: test_api
- url: "https://pub.dartlang.org"
+ sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
+ url: "https://pub.dev"
source: hosted
- version: "0.4.7"
+ version: "0.7.0"
test_core:
dependency: transitive
description:
name: test_core
- url: "https://pub.dartlang.org"
+ sha256: "2bc4b4ecddd75309300d8096f781c0e3280ca1ef85beda558d33fcbedc2eead4"
+ url: "https://pub.dev"
source: hosted
- version: "0.4.8"
- timing:
+ version: "0.6.0"
+ test_process:
dependency: transitive
description:
- name: timing
- url: "https://pub.dartlang.org"
+ name: test_process
+ sha256: "217f19b538926e4922bdb2a01410100ec4e3beb4cc48eae5ae6b20037b07bbd6"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.0"
- tuple:
+ version: "2.1.0"
+ timing:
dependency: transitive
description:
- name: tuple
- url: "https://pub.dartlang.org"
+ name: timing
+ sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.0"
+ version: "1.0.1"
typed_data:
dependency: transitive
description:
name: typed_data
- url: "https://pub.dartlang.org"
+ sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
+ url: "https://pub.dev"
source: hosted
- version: "1.3.0"
+ version: "1.3.2"
vm_service:
dependency: transitive
description:
name: vm_service
- url: "https://pub.dartlang.org"
+ sha256: a2662fb1f114f4296cf3f5a50786a2d888268d7776cf681aa17d660ffa23b246
+ url: "https://pub.dev"
source: hosted
- version: "7.4.0"
+ version: "14.0.0"
watcher:
dependency: transitive
description:
name: watcher
- url: "https://pub.dartlang.org"
+ sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.1"
+ version: "1.1.0"
+ web:
+ dependency: transitive
+ description:
+ name: web
+ sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.4.2"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
- url: "https://pub.dartlang.org"
+ sha256: "939ab60734a4f8fa95feacb55804fa278de28bdeef38e616dc08e44a84adea23"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.4.3"
webkit_inspection_protocol:
dependency: transitive
description:
name: webkit_inspection_protocol
- url: "https://pub.dartlang.org"
+ sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
+ url: "https://pub.dev"
source: hosted
- version: "1.0.0"
+ version: "1.2.1"
+ xml:
+ dependency: transitive
+ description:
+ name: xml
+ sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
+ url: "https://pub.dev"
+ source: hosted
+ version: "6.5.0"
yaml:
dependency: transitive
description:
name: yaml
- url: "https://pub.dartlang.org"
+ sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
+ url: "https://pub.dev"
source: hosted
- version: "3.1.0"
+ version: "3.1.2"
sdks:
- dart: ">=2.14.0 <2.16.0"
+ dart: ">=3.2.0 <3.3.0"
diff --git a/example/pubspec.yaml b/example/pubspec.yaml
index bf274ee..b5994c6 100644
--- a/example/pubspec.yaml
+++ b/example/pubspec.yaml
@@ -4,20 +4,29 @@ description: Color picker example
#homepage: https://www.example.com
environment:
- sdk: '>=2.12.0 <3.0.0'
+ sdk: ^3.2.0
dependencies:
- angular: ^7.0.2
- angular_components:
- git:
- url: https://github.com/dukefirehawk/angular_components/
- path: angular_components
- ref: migrated/bug-fix-1
+ ngdart: ^8.0.0-dev.2
+ ngrouter: ^4.0.0-dev.1
+ ngforms: ^5.0.0-dev.1
+ sass_builder: ^2.1.4
+ change_notifier: ^0.24.0
ng_color_picker:
path: ../
-dev_dependencies:
- build_runner: ^2.1.5
- build_web_compilers: ^3.2.1
- lints: ^1.0.1
+dev_dependencies:
+ build_runner: ^2.1.2
+ build_test: ^2.1.3
+ build_web_compilers: ^4.0.0
+ lints: ^2.1.0
+ test: ^1.24.0
+
+dependency_overrides:
+ build_modules: ^5.0.0
+ analyzer: ^6.4.1
+
+
+
+
diff --git a/example/index.html b/example/web/index.html
similarity index 90%
rename from example/index.html
rename to example/web/index.html
index 7f2a78a..389c409 100644
--- a/example/index.html
+++ b/example/web/index.html
@@ -14,7 +14,7 @@
-
+