@ucme-ui/angular 0.1.0 → 0.3.0

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 (42) hide show
  1. package/README.md +47 -6
  2. package/fesm2022/ucme-ui-angular.mjs +5573 -2077
  3. package/fesm2022/ucme-ui-angular.mjs.map +1 -1
  4. package/package.json +12 -9
  5. package/styles/_controls.scss +2 -54
  6. package/types/ucme-ui-angular.d.ts +1567 -0
  7. package/index.d.ts +0 -5
  8. package/lib/alert/alert.component.d.ts +0 -18
  9. package/lib/avatar/avatar.component.d.ts +0 -15
  10. package/lib/badge/badge.component.d.ts +0 -12
  11. package/lib/breadcrumb/breadcrumb.component.d.ts +0 -12
  12. package/lib/button/button-group.component.d.ts +0 -17
  13. package/lib/button/button.component.d.ts +0 -39
  14. package/lib/calendar/calendar.component.d.ts +0 -105
  15. package/lib/calendar/date-picker.component.d.ts +0 -87
  16. package/lib/calendar/date-utils.d.ts +0 -27
  17. package/lib/card/card.component.d.ts +0 -30
  18. package/lib/checkbox/checkbox.component.d.ts +0 -36
  19. package/lib/core/media.d.ts +0 -6
  20. package/lib/core/theme.service.d.ts +0 -21
  21. package/lib/core/unique-id.d.ts +0 -2
  22. package/lib/dialog/dialog.component.d.ts +0 -39
  23. package/lib/form-field/form-field.component.d.ts +0 -38
  24. package/lib/form-field/form-field.tokens.d.ts +0 -31
  25. package/lib/form-field/input.directive.d.ts +0 -28
  26. package/lib/icon/icon.component.d.ts +0 -16
  27. package/lib/icon/icons.d.ts +0 -11
  28. package/lib/imports.d.ts +0 -15
  29. package/lib/layout/nav.types.d.ts +0 -15
  30. package/lib/layout/shell.component.d.ts +0 -51
  31. package/lib/layout/sidebar-nav.component.d.ts +0 -19
  32. package/lib/layout/theme-toggle.component.d.ts +0 -9
  33. package/lib/menu/menu.component.d.ts +0 -38
  34. package/lib/paginator/paginator.component.d.ts +0 -21
  35. package/lib/spinner/spinner.component.d.ts +0 -9
  36. package/lib/switch/switch.component.d.ts +0 -24
  37. package/lib/table/table.component.d.ts +0 -57
  38. package/lib/table/table.types.d.ts +0 -18
  39. package/lib/tabs/tabs.component.d.ts +0 -33
  40. package/lib/toast/toast.service.d.ts +0 -32
  41. package/lib/toast/toaster.component.d.ts +0 -11
  42. package/public-api.d.ts +0 -34
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@ucme-ui/angular",
3
- "version": "0.1.0",
4
- "description": "Angular 19 UI component kütüphanesi ve admin layout — signals, standalone, bağımlılıksız SCSS token'ları, açık/koyu tema.",
3
+ "version": "0.3.0",
4
+ "description": "Angular 20–22 UI component kütüphanesi ve admin layout — signals, standalone, bağımlılıksız SCSS token'ları, açık/koyu tema.",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "angular",
8
- "angular19",
8
+ "angular20",
9
+ "angular21",
10
+ "angular22",
9
11
  "ui",
10
12
  "components",
11
13
  "admin",
@@ -42,15 +44,15 @@
42
44
  "default": "./package.json"
43
45
  },
44
46
  ".": {
45
- "types": "./index.d.ts",
47
+ "types": "./types/ucme-ui-angular.d.ts",
46
48
  "default": "./fesm2022/ucme-ui-angular.mjs"
47
49
  }
48
50
  },
49
51
  "peerDependencies": {
50
- "@angular/common": "^19.2.0",
51
- "@angular/core": "^19.2.0",
52
- "@angular/forms": "^19.2.0",
53
- "@angular/router": "^19.2.0",
52
+ "@angular/common": "^20.0.0 || ^21.0.0 || ^22.0.0",
53
+ "@angular/core": "^20.0.0 || ^21.0.0 || ^22.0.0",
54
+ "@angular/forms": "^20.0.0 || ^21.0.0 || ^22.0.0",
55
+ "@angular/router": "^20.0.0 || ^21.0.0 || ^22.0.0",
54
56
  "rxjs": "^7.8.0"
55
57
  },
56
58
  "dependencies": {
@@ -61,5 +63,6 @@
61
63
  "*.scss"
62
64
  ],
63
65
  "module": "fesm2022/ucme-ui-angular.mjs",
64
- "typings": "index.d.ts"
66
+ "typings": "types/ucme-ui-angular.d.ts",
67
+ "type": "module"
65
68
  }
@@ -1,7 +1,7 @@
1
1
  // =============================================================================
2
2
  // HU UI — Directive tabanlı kontrollerin stilleri
3
- // Directive'lerin kendi stil dosyası olamadığından huInput ve huMenuItem
4
- // stilleri burada tanımlanır.
3
+ // Directive'lerin kendi stil dosyası olamadığından huInput stilleri burada
4
+ // tanımlanır.
5
5
  // =============================================================================
6
6
 
7
7
  // --- huInput (input / textarea / select) -------------------------------------
@@ -92,55 +92,3 @@ select.hu-input {
92
92
  background-position: right 0.375rem center;
93
93
  }
94
94
  }
95
-
96
- // --- huMenuItem --------------------------------------------------------------
97
- .hu-menu-item {
98
- display: flex;
99
- align-items: center;
100
- gap: var(--hu-space-2);
101
- width: 100%;
102
- padding: var(--hu-space-2) var(--hu-space-3);
103
- font: inherit;
104
- font-size: var(--hu-text-sm);
105
- color: var(--hu-text);
106
- text-align: left;
107
- text-decoration: none;
108
- background: none;
109
- border: 0;
110
- border-radius: var(--hu-radius-sm);
111
- cursor: pointer;
112
-
113
- .hu-icon {
114
- color: var(--hu-text-subtle);
115
- }
116
-
117
- &:hover,
118
- &:focus-visible {
119
- outline: none;
120
- background: var(--hu-surface-3);
121
- }
122
-
123
- &:disabled {
124
- opacity: 0.5;
125
- cursor: not-allowed;
126
- }
127
-
128
- &--danger,
129
- &--danger .hu-icon {
130
- color: var(--hu-danger);
131
- }
132
- }
133
-
134
- .hu-menu-divider {
135
- height: 1px;
136
- margin: var(--hu-space-1) calc(var(--hu-space-1) * -1);
137
- background: var(--hu-border);
138
- border: 0;
139
- }
140
-
141
- .hu-menu-label {
142
- padding: var(--hu-space-2) var(--hu-space-3) var(--hu-space-1);
143
- font-size: var(--hu-text-xs);
144
- font-weight: 600;
145
- color: var(--hu-text-subtle);
146
- }