@ng-formworks/material 17.2.7 → 17.4.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 (96) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -3
  3. package/esm2022/lib/material-design-cssframework.mjs +19 -0
  4. package/esm2022/lib/material-design-framework.component.mjs +119 -0
  5. package/esm2022/lib/material-design-framework.module.mjs +117 -0
  6. package/esm2022/lib/material-design.framework.mjs +61 -0
  7. package/esm2022/lib/widgets/flex-layout-root.component.mjs +75 -0
  8. package/esm2022/lib/widgets/flex-layout-section.component.mjs +347 -0
  9. package/esm2022/lib/widgets/material-add-reference.component.mjs +66 -0
  10. package/esm2022/lib/widgets/material-button-group.component.mjs +90 -0
  11. package/esm2022/lib/widgets/material-button.component.mjs +80 -0
  12. package/esm2022/lib/widgets/material-checkbox.component.mjs +166 -0
  13. package/esm2022/lib/widgets/material-checkboxes.component.mjs +129 -0
  14. package/esm2022/lib/widgets/material-chip-list.component.mjs +35 -0
  15. package/esm2022/lib/widgets/material-datepicker.component.mjs +141 -0
  16. package/esm2022/lib/widgets/material-file.component.mjs +35 -0
  17. package/esm2022/lib/widgets/material-input.component.mjs +149 -0
  18. package/esm2022/lib/widgets/material-number.component.mjs +145 -0
  19. package/esm2022/lib/widgets/material-one-of.component.mjs +35 -0
  20. package/esm2022/lib/widgets/material-radios.component.mjs +122 -0
  21. package/esm2022/lib/widgets/material-select.component.mjs +186 -0
  22. package/esm2022/lib/widgets/material-slider.component.mjs +91 -0
  23. package/esm2022/lib/widgets/material-stepper.component.mjs +35 -0
  24. package/esm2022/lib/widgets/material-tabs.component.mjs +92 -0
  25. package/esm2022/lib/widgets/material-textarea.component.mjs +134 -0
  26. package/esm2022/lib/widgets/public_api.mjs +52 -0
  27. package/esm2022/ng-formworks-material.mjs +5 -0
  28. package/esm2022/public_api.mjs +8 -0
  29. package/fesm2022/ng-formworks-material.mjs +2353 -0
  30. package/fesm2022/ng-formworks-material.mjs.map +1 -0
  31. package/index.d.ts +5 -0
  32. package/lib/material-design-cssframework.d.ts +1 -0
  33. package/lib/material-design-framework.component.d.ts +35 -0
  34. package/lib/material-design-framework.module.d.ts +61 -0
  35. package/lib/material-design.framework.d.ts +46 -0
  36. package/lib/widgets/flex-layout-root.component.d.ts +15 -0
  37. package/lib/widgets/flex-layout-section.component.d.ts +25 -0
  38. package/lib/widgets/material-add-reference.component.d.ts +20 -0
  39. package/lib/widgets/material-button-group.component.d.ts +23 -0
  40. package/lib/widgets/material-button.component.d.ts +24 -0
  41. package/lib/widgets/material-checkbox.component.d.ts +25 -0
  42. package/lib/widgets/material-checkboxes.component.d.ts +27 -0
  43. package/lib/widgets/material-chip-list.component.d.ts +21 -0
  44. package/lib/widgets/material-datepicker.component.d.ts +22 -0
  45. package/lib/widgets/material-file.component.d.ts +21 -0
  46. package/lib/widgets/material-input.component.d.ts +23 -0
  47. package/lib/widgets/material-number.component.d.ts +26 -0
  48. package/lib/widgets/material-one-of.component.d.ts +21 -0
  49. package/lib/widgets/material-radios.component.d.ts +23 -0
  50. package/lib/widgets/material-select.component.d.ts +24 -0
  51. package/lib/widgets/material-slider.component.d.ts +25 -0
  52. package/lib/widgets/material-stepper.component.d.ts +21 -0
  53. package/lib/widgets/material-tabs.component.d.ts +20 -0
  54. package/lib/widgets/material-textarea.component.d.ts +22 -0
  55. package/{src/lib/widgets/public_api.ts → lib/widgets/public_api.d.ts} +41 -54
  56. package/package.json +62 -48
  57. package/{src/public_api.ts → public_api.d.ts} +4 -9
  58. package/karma.conf.js +0 -46
  59. package/ng-package.json +0 -13
  60. package/src/lib/flexlayout-replacement-styles.scss +0 -95
  61. package/src/lib/material-design-cssframework.ts +0 -20
  62. package/src/lib/material-design-framework.component.html +0 -13
  63. package/src/lib/material-design-framework.component.scss +0 -58
  64. package/src/lib/material-design-framework.component.spec.ts +0 -39
  65. package/src/lib/material-design-framework.component.ts +0 -143
  66. package/src/lib/material-design-framework.module.ts +0 -81
  67. package/src/lib/material-design-themes.scss +0 -71
  68. package/src/lib/material-design.framework.ts +0 -83
  69. package/src/lib/tailwind-output.scss +0 -622
  70. package/src/lib/widgets/flex-layout-root.component.html +0 -4
  71. package/src/lib/widgets/flex-layout-root.component.ts +0 -52
  72. package/src/lib/widgets/flex-layout-section.component.ts +0 -216
  73. package/src/lib/widgets/material-add-reference.component.ts +0 -56
  74. package/src/lib/widgets/material-button-group.component.ts +0 -68
  75. package/src/lib/widgets/material-button.component.ts +0 -66
  76. package/src/lib/widgets/material-checkbox.component.ts +0 -112
  77. package/src/lib/widgets/material-checkboxes.component.ts +0 -108
  78. package/src/lib/widgets/material-chip-list.component.ts +0 -35
  79. package/src/lib/widgets/material-datepicker.component.ts +0 -89
  80. package/src/lib/widgets/material-file.component.ts +0 -35
  81. package/src/lib/widgets/material-input.component.ts +0 -97
  82. package/src/lib/widgets/material-number.component.ts +0 -95
  83. package/src/lib/widgets/material-one-of.component.ts +0 -35
  84. package/src/lib/widgets/material-radios.component.ts +0 -91
  85. package/src/lib/widgets/material-select.component.ts +0 -118
  86. package/src/lib/widgets/material-slider.component.ts +0 -65
  87. package/src/lib/widgets/material-stepper.component.ts +0 -35
  88. package/src/lib/widgets/material-tabs.component.ts +0 -72
  89. package/src/lib/widgets/material-textarea.component.ts +0 -88
  90. package/src/test.ts +0 -17
  91. package/tailwind-input.css +0 -3
  92. package/tailwind.config.js +0 -12
  93. package/tsconfig.lib.json +0 -25
  94. package/tsconfig.lib.prod.json +0 -9
  95. package/tsconfig.spec.json +0 -17
  96. package/tslint.json +0 -11
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2014-2016 David Schnell-Davis 2018 Hamza Hamidi 2023 Zaheer M
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,15 +6,16 @@ This module is a dependency of the [ng-formworks project][npm_core_ver] and is m
6
6
 
7
7
  If you are unfamiliar with with the ng-formworks project, it is highly recommended to
8
8
  first have a look at the [@ng-formworks pages][npm_core_ver] for examples, demos, options and documentation.
9
+ Before installing also have a look at the Angular/ng-formworks [version compatibility table][npm_core_ver#versions]
9
10
 
10
11
  ```shell
11
- npm install @ng-formworks/core@latest @ng-formworks/cssframework@latest @ng-formworks/material@latest
12
+ npm install @ng-formworks/core @ng-formworks/cssframework @ng-formworks/material
12
13
  ```
13
14
 
14
15
  With YARN, run the following:
15
16
 
16
17
  ```shell
17
- yarn add @ng-formworks/core@latest @ng-formworks/cssframework@latest @ng-formworks/material@latest
18
+ yarn add @ng-formworks/core @ng-formworks/cssframework @ng-formworks/material
18
19
  ```
19
20
 
20
21
  include the themes scss in your applications sass file(typically "styles.scss" under "src" folder -see angular docs for more details)
@@ -130,4 +131,5 @@ Run `ng build @ng-formworks/material` to build the project. The build artifacts
130
131
 
131
132
  Run `ng test @ng-formworks/material` to execute the unit tests via [Karma](https://karma-runner.github.io).
132
133
 
133
- [npm_core_ver]:https://www.npmjs.com/package/@ng-formworks/core
134
+ [npm_core_ver]:https://www.npmjs.com/package/@ng-formworks/core
135
+ [npm_core_ver#versions]:https://www.npmjs.com/package/@ng-formworks/core#versions
@@ -0,0 +1,19 @@
1
+ export const cssFrameworkCfgMaterialDesign = {
2
+ "name": "material-design",
3
+ "text": "Material Design",
4
+ "scripts": [],
5
+ "stylesheets": [
6
+ '//fonts.googleapis.com/icon?family=Material+Icons',
7
+ '//fonts.googleapis.com/css?family=Roboto:300,400,500,700',
8
+ ],
9
+ "widgetstyles": {
10
+ "__themes__": [
11
+ { "name": "material_default", "text": "Default Theme" },
12
+ { "name": "indigo-pink", "text": "Indigo & Pink" },
13
+ { "name": "purple-green", "text": "Purple & Green" },
14
+ { "name": "deeppurple-amber", "text": "Deep Purple & Amber" },
15
+ { "name": "pink-bluegrey", "text": "Pink & Blue-Grey" }
16
+ ]
17
+ }
18
+ };
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0ZXJpYWwtZGVzaWduLWNzc2ZyYW1ld29yay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLWZvcm13b3Jrcy1tYXRlcmlhbC9zcmMvbGliL21hdGVyaWFsLWRlc2lnbi1jc3NmcmFtZXdvcmsudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxDQUFDLE1BQU0sNkJBQTZCLEdBQUs7SUFDM0MsTUFBTSxFQUFFLGlCQUFpQjtJQUN6QixNQUFNLEVBQUMsaUJBQWlCO0lBQ3hCLFNBQVMsRUFBRSxFQUFFO0lBQ2IsYUFBYSxFQUFFO1FBQ1gsbURBQW1EO1FBQ25ELDBEQUEwRDtLQUM3RDtJQUNELGNBQWMsRUFBRTtRQUNaLFlBQVksRUFBRTtZQUNWLEVBQUMsTUFBTSxFQUFDLGtCQUFrQixFQUFDLE1B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