@kraft.stitch/angular 0.0.4-beta.1 → 0.0.4-beta.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 (56) hide show
  1. package/fesm2022/kraft.stitch-angular.mjs +3043 -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 +2395 -0
  5. package/.github/workflows/npm-publish.yml +0 -41
  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/Buttons/split-button/split-button.ts +0 -111
  12. package/src/lib/Calendars/datepicker/datepicker.ts +0 -105
  13. package/src/lib/Calendars/daterange/daterange.ts +0 -112
  14. package/src/lib/Calendars/timepicker/timepicker.ts +0 -117
  15. package/src/lib/Dropdowns/dropdown/dropdown.ts +0 -121
  16. package/src/lib/Dropdowns/listbox/listbox.ts +0 -116
  17. package/src/lib/Inputs/checkbox/checkbox.ts +0 -126
  18. package/src/lib/Inputs/colour-picker/colour-picker.ts +0 -101
  19. package/src/lib/Inputs/input/input.ts +0 -139
  20. package/src/lib/Inputs/otp-input/otp-input.ts +0 -113
  21. package/src/lib/Inputs/radio/radio.ts +0 -115
  22. package/src/lib/Inputs/rating/rating.ts +0 -104
  23. package/src/lib/Inputs/rolling-number/rolling-number.ts +0 -136
  24. package/src/lib/Inputs/slider/slider.ts +0 -121
  25. package/src/lib/Inputs/switch/switch.ts +0 -100
  26. package/src/lib/Inputs/textarea/textarea.ts +0 -129
  27. package/src/lib/Inputs/theme-switch/theme-switch.ts +0 -61
  28. package/src/lib/Inputs/uploader/uploader.ts +0 -97
  29. package/src/lib/Layout/avatar/avatar.ts +0 -66
  30. package/src/lib/Layout/card/card.ts +0 -88
  31. package/src/lib/Layout/code-view/code-view.ts +0 -77
  32. package/src/lib/Layout/dialog/dialog.ts +0 -80
  33. package/src/lib/Layout/not-found/not-found.ts +0 -73
  34. package/src/lib/Layout/sidebar/sidebar.ts +0 -97
  35. package/src/lib/Layout/table/table.ts +0 -81
  36. package/src/lib/Layout/tooltip/tooltip.ts +0 -48
  37. package/src/lib/Navigation/accordion/accordion.ts +0 -80
  38. package/src/lib/Navigation/breadcrumb/breadcrumb.ts +0 -58
  39. package/src/lib/Navigation/carousel/carousel.ts +0 -70
  40. package/src/lib/Navigation/context-menu/context-menu.ts +0 -79
  41. package/src/lib/Navigation/nav-bar/nav-bar.ts +0 -72
  42. package/src/lib/Navigation/pagination/pagination.ts +0 -82
  43. package/src/lib/Navigation/stepper/stepper.ts +0 -77
  44. package/src/lib/Navigation/tab/tab.ts +0 -71
  45. package/src/lib/Navigation/toolbar/toolbar.ts +0 -60
  46. package/src/lib/Navigation/top-nav-bar/top-nav-bar.ts +0 -71
  47. package/src/lib/Navigation/tree-view/tree-view.ts +0 -75
  48. package/src/lib/Notification/badge/badge.ts +0 -55
  49. package/src/lib/Notification/loader/loader.ts +0 -41
  50. package/src/lib/Notification/message/message.ts +0 -60
  51. package/src/lib/Notification/progress/progress.ts +0 -65
  52. package/src/lib/Notification/spinner/spinner.ts +0 -50
  53. package/src/lib/Notification/toast/toast.ts +0 -56
  54. package/src/public-api.ts +0 -68
  55. package/src/utils/theme-service.ts +0 -11
  56. package/tsconfig.json +0 -23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kraft.stitch/angular",
3
- "version": "0.0.4-beta.1",
3
+ "version": "0.0.4-beta.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
  "keywords": [
@@ -15,25 +15,26 @@
15
15
  "angular",
16
16
  "react"
17
17
  ],
18
- "scripts": {
19
- "build": "ng-packagr -p ng-package.json",
20
- "pack": "npm run build && cd dist && npm pack"
21
- },
22
- "peerDependencies": {
18
+ "peerDependencies": {
23
19
  "@angular/core": "^21.2.0 || ^22.0.0",
24
20
  "@angular/common": "^21.2.0 || ^22.0.0",
25
21
  "@angular/forms": "^21.2.0 || ^22.0.0"
26
22
  },
27
23
  "dependencies": {
28
- "@kraft.stitch/core": "^0.0.3"
24
+ "@kraft.stitch/core": "^0.0.3",
25
+ "tslib": "^2.3.0"
29
26
  },
30
- "devDependencies": {
31
- "@angular/common": "^21.2.0",
32
- "@angular/compiler-cli": "^21.2.0",
33
- "@angular/core": "^21.2.0",
34
- "@angular/forms": "^21.2.0",
35
- "ng-packagr": "^21.2.0",
36
- "typescript": "~5.9.2"
27
+ "sideEffects": false,
28
+ "module": "fesm2022/kraft.stitch-angular.mjs",
29
+ "typings": "types/kraft.stitch-angular.d.ts",
30
+ "exports": {
31
+ "./package.json": {
32
+ "default": "./package.json"
33
+ },
34
+ ".": {
35
+ "types": "./types/kraft.stitch-angular.d.ts",
36
+ "default": "./fesm2022/kraft.stitch-angular.mjs"
37
+ }
37
38
  },
38
- "sideEffects": false
39
- }
39
+ "type": "module"
40
+ }