@pecb-ui/components 1.1.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/README.md +556 -0
  2. package/esm2022/lib/components/button/button.component.mjs +171 -0
  3. package/esm2022/lib/components/card/card.component.mjs +182 -0
  4. package/esm2022/lib/components/checkbox/checkbox.component.mjs +126 -0
  5. package/esm2022/lib/components/datepicker/datepicker.component.mjs +349 -0
  6. package/esm2022/lib/components/dropdown/dropdown.component.mjs +329 -0
  7. package/esm2022/lib/components/input/input.component.mjs +321 -0
  8. package/esm2022/lib/components/pagination/pagination.component.mjs +197 -0
  9. package/esm2022/lib/components/radio/radio.component.mjs +147 -0
  10. package/esm2022/lib/components/right-modal/right-modal.component.mjs +234 -0
  11. package/esm2022/lib/components/sidebar/sidebar.component.mjs +155 -0
  12. package/esm2022/lib/components/status/status.component.mjs +50 -0
  13. package/esm2022/lib/components/tab/tab.component.mjs +151 -0
  14. package/esm2022/lib/components/table/table.component.mjs +503 -0
  15. package/esm2022/lib/components/toggle/toggle.component.mjs +126 -0
  16. package/esm2022/lib/pecb-components.module.mjs +118 -0
  17. package/esm2022/lib/services/loading.service.mjs +182 -0
  18. package/esm2022/lib/services/notification.service.mjs +144 -0
  19. package/esm2022/lib/services/theme.service.mjs +232 -0
  20. package/esm2022/lib/shared/interfaces/component.interfaces.mjs +2 -0
  21. package/esm2022/lib/shared/types/common.types.mjs +6 -0
  22. package/esm2022/lib/shared/utils/accessibility.utils.mjs +223 -0
  23. package/esm2022/lib/shared/utils/dom.utils.mjs +240 -0
  24. package/esm2022/lib/shared/utils/error.utils.mjs +277 -0
  25. package/esm2022/lib/shared/utils/string.utils.mjs +204 -0
  26. package/esm2022/pecb-ui-components.mjs +5 -0
  27. package/esm2022/public-api.mjs +53 -0
  28. package/fesm2022/pecb-ui-components.mjs +4587 -0
  29. package/fesm2022/pecb-ui-components.mjs.map +1 -0
  30. package/index.d.ts +5 -0
  31. package/lib/components/button/button.component.d.ts +130 -0
  32. package/lib/components/card/card.component.d.ts +140 -0
  33. package/lib/components/checkbox/checkbox.component.d.ts +74 -0
  34. package/lib/components/datepicker/datepicker.component.d.ts +155 -0
  35. package/lib/components/dropdown/dropdown.component.d.ts +144 -0
  36. package/lib/components/input/input.component.d.ts +215 -0
  37. package/lib/components/pagination/pagination.component.d.ts +53 -0
  38. package/lib/components/radio/radio.component.d.ts +93 -0
  39. package/lib/components/right-modal/right-modal.component.d.ts +137 -0
  40. package/lib/components/sidebar/sidebar.component.d.ts +97 -0
  41. package/lib/components/status/status.component.d.ts +19 -0
  42. package/lib/components/tab/tab.component.d.ts +102 -0
  43. package/lib/components/table/table.component.d.ts +403 -0
  44. package/lib/components/toggle/toggle.component.d.ts +74 -0
  45. package/lib/pecb-components.module.d.ts +37 -0
  46. package/lib/services/loading.service.d.ts +129 -0
  47. package/lib/services/notification.service.d.ts +136 -0
  48. package/lib/services/theme.service.d.ts +142 -0
  49. package/lib/shared/interfaces/component.interfaces.d.ts +283 -0
  50. package/lib/shared/types/common.types.d.ts +86 -0
  51. package/lib/shared/utils/accessibility.utils.d.ts +167 -0
  52. package/lib/shared/utils/dom.utils.d.ts +108 -0
  53. package/lib/shared/utils/error.utils.d.ts +191 -0
  54. package/lib/shared/utils/string.utils.d.ts +144 -0
  55. package/package.json +61 -0
  56. package/public-api.d.ts +24 -0
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@pecb-ui/components",
3
+ "version": "1.1.2",
4
+ "description": "Professional Angular UI Components Library with TypeScript and SCSS by PECB",
5
+ "author": "PECB",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "angular",
9
+ "angular17",
10
+ "components",
11
+ "ui-components",
12
+ "ui-library",
13
+ "typescript",
14
+ "scss",
15
+ "pecb",
16
+ "accessibility",
17
+ "wcag",
18
+ "a11y",
19
+ "storybook"
20
+ ],
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/pecb-ui/components.git"
24
+ },
25
+ "bugs": {
26
+ "url": "https://github.com/pecb-ui/components/issues"
27
+ },
28
+ "homepage": "https://github.com/pecb-ui/components#readme",
29
+ "peerDependencies": {
30
+ "@angular/common": "^17.3.0",
31
+ "@angular/core": "^17.3.0",
32
+ "@angular/animations": "^17.3.0",
33
+ "@angular/platform-browser": "^17.3.0",
34
+ "rxjs": "^7.8.0"
35
+ },
36
+ "peerDependenciesMeta": {
37
+ "@angular/animations": {
38
+ "optional": true
39
+ }
40
+ },
41
+ "dependencies": {
42
+ "tslib": "^2.3.0"
43
+ },
44
+ "sideEffects": false,
45
+ "publishConfig": {
46
+ "access": "restricted"
47
+ },
48
+ "module": "fesm2022/pecb-ui-components.mjs",
49
+ "typings": "index.d.ts",
50
+ "exports": {
51
+ "./package.json": {
52
+ "default": "./package.json"
53
+ },
54
+ ".": {
55
+ "types": "./index.d.ts",
56
+ "esm2022": "./esm2022/pecb-ui-components.mjs",
57
+ "esm": "./esm2022/pecb-ui-components.mjs",
58
+ "default": "./fesm2022/pecb-ui-components.mjs"
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,24 @@
1
+ export * from './lib/pecb-components.module';
2
+ export * from './lib/components/button/button.component';
3
+ export * from './lib/components/card/card.component';
4
+ export * from './lib/components/status/status.component';
5
+ export * from './lib/components/pagination/pagination.component';
6
+ export * from './lib/components/table/table.component';
7
+ export * from './lib/components/tab/tab.component';
8
+ export * from './lib/components/datepicker/datepicker.component';
9
+ export * from './lib/components/input/input.component';
10
+ export * from './lib/components/radio/radio.component';
11
+ export * from './lib/components/checkbox/checkbox.component';
12
+ export * from './lib/components/toggle/toggle.component';
13
+ export * from './lib/components/dropdown/dropdown.component';
14
+ export * from './lib/components/right-modal/right-modal.component';
15
+ export * from './lib/components/sidebar/sidebar.component';
16
+ export * from './lib/services/notification.service';
17
+ export * from './lib/services/theme.service';
18
+ export * from './lib/services/loading.service';
19
+ export * from './lib/shared/types/common.types';
20
+ export * from './lib/shared/interfaces/component.interfaces';
21
+ export { toKebabCase, toCamelCase, toPascalCase, toSnakeCase, capitalize, truncate, isBlank, isNotBlank, slugify, escapeHtml, stripHtml, getInitials, pluralize, formatCount } from './lib/shared/utils/string.utils';
22
+ export { isBrowser, generateUniqueId, matchesSelector, closestElement, isElementVisible, getFocusableElements, trapFocus, scrollIntoView, getScrollParent, disableBodyScroll, copyToClipboard, hasClass, addClass, removeClass, toggleClass, getComputedStyleValue } from './lib/shared/utils/dom.utils';
23
+ export { AriaLive, AriaRole, AriaAttributes, getButtonAriaAttributes, getDialogAriaAttributes, getInputAriaAttributes, getProgressAriaAttributes, getTabAriaAttributes, getOptionAriaAttributes, generateLinkedIds, getVisuallyHiddenStyles, prefersReducedMotion, prefersHighContrast, announceToScreenReader, getAriaCurrent } from './lib/shared/utils/accessibility.utils';
24
+ export { ErrorSeverity, ErrorCategory, PecbError, ValidationError, ErrorOptions, ErrorHandler, createError, createValidationError, wrapError, isPecbError, isRecoverableError, formatErrorMessage, formatErrorForLog, createNetworkError, createAuthError, createAuthorizationError, createConfigError, registerErrorHandler, handleError, tryAsync, trySync } from './lib/shared/utils/error.utils';