@kraft.stitch/angular 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/fesm2022/kraft.stitch-angular.mjs +2873 -0
  2. package/fesm2022/kraft.stitch-angular.mjs.map +1 -0
  3. package/package.json +17 -16
  4. package/types/kraft.stitch-angular.d.ts +2247 -0
  5. package/.github/workflows/npm-publish.yml +0 -33
  6. package/ng-package.json +0 -10
  7. package/src/lib/Buttons/button/button.ts +0 -152
  8. package/src/lib/Buttons/button-group/button-group.ts +0 -129
  9. package/src/lib/Buttons/chips/chips.ts +0 -131
  10. package/src/lib/Buttons/fab/fab.ts +0 -96
  11. package/src/lib/Calendars/datepicker/datepicker.ts +0 -105
  12. package/src/lib/Calendars/daterange/daterange.ts +0 -112
  13. package/src/lib/Calendars/timepicker/timepicker.ts +0 -117
  14. package/src/lib/Dropdowns/dropdown/dropdown.ts +0 -121
  15. package/src/lib/Dropdowns/listbox/listbox.ts +0 -116
  16. package/src/lib/Inputs/checkbox/checkbox.ts +0 -126
  17. package/src/lib/Inputs/colour-picker/colour-picker.ts +0 -101
  18. package/src/lib/Inputs/input/input.ts +0 -139
  19. package/src/lib/Inputs/otp-input/otp-input.ts +0 -113
  20. package/src/lib/Inputs/radio/radio.ts +0 -115
  21. package/src/lib/Inputs/rating/rating.ts +0 -104
  22. package/src/lib/Inputs/slider/slider.ts +0 -121
  23. package/src/lib/Inputs/switch/switch.ts +0 -100
  24. package/src/lib/Inputs/textarea/textarea.ts +0 -129
  25. package/src/lib/Inputs/theme-switch/theme-switch.ts +0 -61
  26. package/src/lib/Inputs/uploader/uploader.ts +0 -97
  27. package/src/lib/Layout/avatar/avatar.ts +0 -66
  28. package/src/lib/Layout/card/card.ts +0 -88
  29. package/src/lib/Layout/code-view/code-view.ts +0 -77
  30. package/src/lib/Layout/dialog/dialog.ts +0 -80
  31. package/src/lib/Layout/not-found/not-found.ts +0 -73
  32. package/src/lib/Layout/sidebar/sidebar.ts +0 -97
  33. package/src/lib/Layout/table/table.ts +0 -81
  34. package/src/lib/Layout/tooltip/tooltip.ts +0 -48
  35. package/src/lib/Navigation/accordion/accordion.ts +0 -80
  36. package/src/lib/Navigation/breadcrumb/breadcrumb.ts +0 -58
  37. package/src/lib/Navigation/carousel/carousel.ts +0 -70
  38. package/src/lib/Navigation/context-menu/context-menu.ts +0 -79
  39. package/src/lib/Navigation/nav-bar/nav-bar.ts +0 -72
  40. package/src/lib/Navigation/pagination/pagination.ts +0 -82
  41. package/src/lib/Navigation/stepper/stepper.ts +0 -77
  42. package/src/lib/Navigation/tab/tab.ts +0 -71
  43. package/src/lib/Navigation/toolbar/toolbar.ts +0 -60
  44. package/src/lib/Navigation/top-nav-bar/top-nav-bar.ts +0 -71
  45. package/src/lib/Navigation/tree-view/tree-view.ts +0 -75
  46. package/src/lib/Notification/badge/badge.ts +0 -55
  47. package/src/lib/Notification/loader/loader.ts +0 -41
  48. package/src/lib/Notification/message/message.ts +0 -60
  49. package/src/lib/Notification/progress/progress.ts +0 -65
  50. package/src/lib/Notification/spinner/spinner.ts +0 -50
  51. package/src/lib/Notification/toast/toast.ts +0 -56
  52. package/src/public-api.ts +0 -62
  53. package/tsconfig.json +0 -23
package/package.json CHANGED
@@ -1,29 +1,30 @@
1
1
  {
2
2
  "name": "@kraft.stitch/angular",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Hand-written Angular wrapper for the <ks-button> Stencil custom element from @kraft.stitch/core — proof-of-concept for the WebComponents wrapper pattern (core in Stencil, framework-idiomatic Input/Output/DI in the wrapper).",
5
5
  "license": "MIT",
6
6
  "main": "src/public-api.ts",
7
7
  "types": "src/public-api.ts",
8
- "scripts": {
9
- "build": "ng-packagr -p ng-package.json",
10
- "pack": "npm run build && cd dist && npm pack"
11
- },
12
- "peerDependencies": {
8
+ "peerDependencies": {
13
9
  "@angular/core": "^21.2.0 || ^22.0.0",
14
10
  "@angular/common": "^21.2.0 || ^22.0.0",
15
11
  "@angular/forms": "^21.2.0 || ^22.0.0"
16
12
  },
17
13
  "dependencies": {
18
- "@kraft.stitch/core": "^0.0.2"
14
+ "@kraft.stitch/core": "^0.0.2",
15
+ "tslib": "^2.3.0"
19
16
  },
20
- "devDependencies": {
21
- "@angular/common": "^21.2.0",
22
- "@angular/compiler-cli": "^21.2.0",
23
- "@angular/core": "^21.2.0",
24
- "@angular/forms": "^21.2.0",
25
- "ng-packagr": "^21.2.0",
26
- "typescript": "~5.9.2"
17
+ "sideEffects": false,
18
+ "module": "fesm2022/kraft.stitch-angular.mjs",
19
+ "typings": "types/kraft.stitch-angular.d.ts",
20
+ "exports": {
21
+ "./package.json": {
22
+ "default": "./package.json"
23
+ },
24
+ ".": {
25
+ "types": "./types/kraft.stitch-angular.d.ts",
26
+ "default": "./fesm2022/kraft.stitch-angular.mjs"
27
+ }
27
28
  },
28
- "sideEffects": false
29
- }
29
+ "type": "module"
30
+ }