@indice/ng-components 0.2.139 → 0.2.141

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 (228) hide show
  1. package/README.md +4 -4
  2. package/{src/assets/styles/indice-ng-icons-inline.css → _styles.css} +3501 -2286
  3. package/esm2020/indice-ng-components.mjs +5 -0
  4. package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +48 -0
  5. package/esm2020/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -0
  6. package/esm2020/lib/controls/date-picker/date-picker.component.mjs +260 -0
  7. package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +68 -0
  8. package/esm2020/lib/controls/kpi-tile/kpi-tile.component.mjs +36 -0
  9. package/esm2020/lib/controls/list-view/list-column.component.mjs +25 -0
  10. package/esm2020/lib/controls/list-view/list-details-section.component.mjs +17 -0
  11. package/esm2020/lib/controls/list-view/list-tile.component.mjs +17 -0
  12. package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
  13. package/esm2020/lib/controls/list-view/list-view.component.mjs +183 -0
  14. package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +37 -0
  15. package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +77 -0
  16. package/esm2020/lib/controls/pager/pager.component.mjs +130 -0
  17. package/esm2020/lib/controls/side-pane/side-pane.component.mjs +72 -0
  18. package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +25 -0
  19. package/esm2020/lib/controls/toaster/toaster-container.component.mjs +28 -0
  20. package/esm2020/lib/controls/toaster/toaster.component.mjs +31 -0
  21. package/esm2020/lib/controls/toggle/toggle.component.mjs +64 -0
  22. package/esm2020/lib/directives/click-outside.directive.mjs +189 -0
  23. package/esm2020/lib/directives/dynamic-component-host.directive.mjs +17 -0
  24. package/esm2020/lib/helpers/base-list.component.mjs +181 -0
  25. package/esm2020/lib/icons.mjs +32 -0
  26. package/esm2020/lib/layouts/shell/shell-footer/shell-footer.component.mjs +19 -0
  27. package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +135 -0
  28. package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +101 -0
  29. package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +80 -0
  30. package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +49 -0
  31. package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +98 -0
  32. package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
  33. package/esm2020/lib/ng-components.module.mjs +221 -0
  34. package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
  35. package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +31 -0
  36. package/esm2020/lib/pages/auth/logged-out/logged-out.component.mjs +28 -0
  37. package/esm2020/lib/pages/http-status/error/error.component.mjs +17 -0
  38. package/esm2020/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -0
  39. package/esm2020/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -0
  40. package/esm2020/lib/pipes/address.pipe.mjs +21 -0
  41. package/esm2020/lib/pipes/duration-format.pipe.mjs +64 -0
  42. package/esm2020/lib/services/component-loader/component-loader-options.class.mjs +8 -0
  43. package/esm2020/lib/services/component-loader/component-loader.class.mjs +188 -0
  44. package/esm2020/lib/services/component-loader/component-loader.factory.mjs +32 -0
  45. package/esm2020/lib/services/component-loader/content-ref.class.mjs +13 -0
  46. package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +44 -0
  47. package/esm2020/lib/services/modal-service/modal-container-component.mjs +126 -0
  48. package/esm2020/lib/services/modal-service/modal-options.class.mjs +35 -0
  49. package/esm2020/lib/services/modal-service/modal-service.mjs +219 -0
  50. package/esm2020/lib/services/modal-service/modal-styles.class.mjs +11 -0
  51. package/esm2020/lib/services/modal-service/modal.class.mjs +27 -0
  52. package/esm2020/lib/services/toaster.service.mjs +24 -0
  53. package/esm2020/lib/tokens.mjs +5 -0
  54. package/esm2020/lib/types.mjs +117 -0
  55. package/esm2020/public-api.mjs +53 -0
  56. package/fesm2015/indice-ng-components.mjs +3268 -0
  57. package/fesm2015/indice-ng-components.mjs.map +1 -0
  58. package/fesm2020/indice-ng-components.mjs +3225 -0
  59. package/fesm2020/indice-ng-components.mjs.map +1 -0
  60. package/indice-ng-components.d.ts +5 -0
  61. package/lib/controls/avatar-initials/avatar-initials.component.d.ts +14 -0
  62. package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +10 -0
  63. package/lib/controls/date-picker/date-picker.component.d.ts +48 -0
  64. package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +25 -0
  65. package/lib/controls/kpi-tile/kpi-tile.component.d.ts +13 -0
  66. package/lib/controls/list-view/list-column.component.d.ts +9 -0
  67. package/lib/controls/list-view/list-details-section.component.d.ts +7 -0
  68. package/lib/controls/list-view/list-tile.component.d.ts +7 -0
  69. package/lib/controls/list-view/list-view-empty-state.component.d.ts +11 -0
  70. package/lib/controls/list-view/list-view.component.d.ts +55 -0
  71. package/lib/controls/nav-links-list/nav-links-list.component.d.ts +15 -0
  72. package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +23 -0
  73. package/lib/controls/pager/pager.component.d.ts +36 -0
  74. package/lib/controls/side-pane/side-pane.component.d.ts +18 -0
  75. package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +11 -0
  76. package/lib/controls/toaster/toaster-container.component.d.ts +13 -0
  77. package/lib/controls/toaster/toaster.component.d.ts +15 -0
  78. package/lib/controls/toggle/toggle.component.d.ts +19 -0
  79. package/lib/directives/click-outside.directive.d.ts +40 -0
  80. package/lib/directives/dynamic-component-host.directive.d.ts +9 -0
  81. package/lib/helpers/base-list.component.d.ts +42 -0
  82. package/lib/icons.d.ts +30 -0
  83. package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +8 -0
  84. package/lib/layouts/shell/shell-header/shell-header.component.d.ts +41 -0
  85. package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +28 -0
  86. package/lib/layouts/views/form-layout/form-layout.component.d.ts +24 -0
  87. package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +25 -0
  88. package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +28 -0
  89. package/lib/layouts/views/view-layout/view-layout.component.d.ts +31 -0
  90. package/lib/ng-components.module.d.ts +49 -0
  91. package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +13 -0
  92. package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +12 -0
  93. package/lib/pages/auth/logged-out/logged-out.component.d.ts +12 -0
  94. package/lib/pages/http-status/error/error.component.d.ts +8 -0
  95. package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +8 -0
  96. package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -0
  97. package/lib/pipes/address.pipe.d.ts +8 -0
  98. package/lib/pipes/duration-format.pipe.d.ts +8 -0
  99. package/lib/services/component-loader/component-loader-options.class.d.ts +30 -0
  100. package/lib/services/component-loader/component-loader.class.d.ts +92 -0
  101. package/lib/services/component-loader/component-loader.factory.d.ts +24 -0
  102. package/lib/services/component-loader/content-ref.class.d.ts +12 -0
  103. package/lib/services/modal-service/modal-backdrop-component.d.ts +20 -0
  104. package/lib/services/modal-service/modal-container-component.d.ts +33 -0
  105. package/lib/services/modal-service/modal-options.class.d.ts +81 -0
  106. package/lib/services/modal-service/modal-service.d.ts +58 -0
  107. package/lib/services/modal-service/modal-styles.class.d.ts +10 -0
  108. package/lib/services/modal-service/modal.class.d.ts +43 -0
  109. package/lib/services/toaster.service.d.ts +11 -0
  110. package/lib/tokens.d.ts +5 -0
  111. package/lib/types.d.ts +153 -0
  112. package/{src/assets/styles/modal.css → modal.css} +157 -157
  113. package/package.json +24 -20
  114. package/{src/public-api.ts → public-api.d.ts} +43 -60
  115. package/CHANGELOG.md +0 -1
  116. package/karma.conf.js +0 -44
  117. package/ng-package.json +0 -10
  118. package/scripts/css-bundle.ts +0 -33
  119. package/src/_styles.css +0 -36
  120. package/src/_tests/utilities.service.spec.ts +0 -16
  121. package/src/assets/styles/avatar-initials.css +0 -37
  122. package/src/assets/styles/base.css +0 -46
  123. package/src/assets/styles/cards.css +0 -71
  124. package/src/assets/styles/collapsible-panel.css +0 -25
  125. package/src/assets/styles/components.css +0 -34
  126. package/src/assets/styles/date-picker.component.css +0 -0
  127. package/src/assets/styles/drop-down-menu.css +0 -50
  128. package/src/assets/styles/form-layout.css +0 -49
  129. package/src/assets/styles/list-view-empty-state.css +0 -0
  130. package/src/assets/styles/list-view.css +0 -64
  131. package/src/assets/styles/model-view-layout.css +0 -45
  132. package/src/assets/styles/nav-links.css +0 -35
  133. package/src/assets/styles/notifications-indicator.component.css +0 -43
  134. package/src/assets/styles/pager.css +0 -29
  135. package/src/assets/styles/shell-layout.css +0 -232
  136. package/src/assets/styles/side-pane.css +0 -46
  137. package/src/assets/styles/side-view-layout.css +0 -58
  138. package/src/assets/styles/toast.css +0 -72
  139. package/src/assets/styles/toggle.css +0 -26
  140. package/src/assets/styles/view-layout.css +0 -58
  141. package/src/lib/controls/avatar-initials/avatar-initials.component.html +0 -3
  142. package/src/lib/controls/avatar-initials/avatar-initials.component.ts +0 -47
  143. package/src/lib/controls/collapsible-panel/collapsible-panel.component.html +0 -15
  144. package/src/lib/controls/collapsible-panel/collapsible-panel.component.ts +0 -16
  145. package/src/lib/controls/date-picker/date-picker.component.html +0 -133
  146. package/src/lib/controls/date-picker/date-picker.component.ts +0 -258
  147. package/src/lib/controls/drop-down-menu/drop-down-menu.component.html +0 -61
  148. package/src/lib/controls/drop-down-menu/drop-down-menu.component.ts +0 -59
  149. package/src/lib/controls/kpi-tile/kpi-tile.component.html +0 -18
  150. package/src/lib/controls/kpi-tile/kpi-tile.component.ts +0 -26
  151. package/src/lib/controls/list-view/list-column.component.ts +0 -10
  152. package/src/lib/controls/list-view/list-details-section.component.ts +0 -8
  153. package/src/lib/controls/list-view/list-tile.component.ts +0 -8
  154. package/src/lib/controls/list-view/list-view-empty-state.component.html +0 -20
  155. package/src/lib/controls/list-view/list-view-empty-state.component.ts +0 -19
  156. package/src/lib/controls/list-view/list-view.component.html +0 -151
  157. package/src/lib/controls/list-view/list-view.component.ts +0 -146
  158. package/src/lib/controls/nav-links-list/nav-links-list.component.html +0 -27
  159. package/src/lib/controls/nav-links-list/nav-links-list.component.ts +0 -25
  160. package/src/lib/controls/notifications-indicator/notifications-indicator.component.html +0 -78
  161. package/src/lib/controls/notifications-indicator/notifications-indicator.component.ts +0 -75
  162. package/src/lib/controls/pager/pager.component.html +0 -33
  163. package/src/lib/controls/pager/pager.component.ts +0 -106
  164. package/src/lib/controls/side-pane/side-pane.component.html +0 -10
  165. package/src/lib/controls/side-pane/side-pane.component.ts +0 -59
  166. package/src/lib/controls/skeleton-loader/skeleton-loader.component.html +0 -112
  167. package/src/lib/controls/skeleton-loader/skeleton-loader.component.ts +0 -20
  168. package/src/lib/controls/toaster/toaster-container.component.html +0 -1
  169. package/src/lib/controls/toaster/toaster-container.component.ts +0 -27
  170. package/src/lib/controls/toaster/toaster.component.html +0 -103
  171. package/src/lib/controls/toaster/toaster.component.ts +0 -26
  172. package/src/lib/controls/toggle/toggle.component.html +0 -15
  173. package/src/lib/controls/toggle/toggle.component.ts +0 -58
  174. package/src/lib/directives/click-outside.directive.ts +0 -196
  175. package/src/lib/directives/dynamic-component-host.directive.ts +0 -7
  176. package/src/lib/directives/screen-size.directive.ts +0 -67
  177. package/src/lib/helpers/base-list.component.ts +0 -204
  178. package/src/lib/icons.ts +0 -39
  179. package/src/lib/layouts/shell/shell-footer/shell-footer.component.html +0 -71
  180. package/src/lib/layouts/shell/shell-footer/shell-footer.component.ts +0 -14
  181. package/src/lib/layouts/shell/shell-header/shell-header.component.html +0 -199
  182. package/src/lib/layouts/shell/shell-header/shell-header.component.ts +0 -111
  183. package/src/lib/layouts/shell/shell-layout/shell-layout.component.html +0 -36
  184. package/src/lib/layouts/shell/shell-layout/shell-layout.component.ts +0 -91
  185. package/src/lib/layouts/views/form-layout/form-layout.component.html +0 -67
  186. package/src/lib/layouts/views/form-layout/form-layout.component.ts +0 -66
  187. package/src/lib/layouts/views/model-view-layout/model-view-layout.component.html +0 -43
  188. package/src/lib/layouts/views/model-view-layout/model-view-layout.component.ts +0 -37
  189. package/src/lib/layouts/views/side-view-layout/side-view-layout.component.html +0 -36
  190. package/src/lib/layouts/views/side-view-layout/side-view-layout.component.ts +0 -67
  191. package/src/lib/layouts/views/view-layout/view-layout.component.html +0 -68
  192. package/src/lib/layouts/views/view-layout/view-layout.component.ts +0 -82
  193. package/src/lib/ng-components.module.ts +0 -135
  194. package/src/lib/pages/auth/auth-callback/auth-callback.component.html +0 -1
  195. package/src/lib/pages/auth/auth-callback/auth-callback.component.ts +0 -22
  196. package/src/lib/pages/auth/auth-renew/auth-renew.component.ts +0 -20
  197. package/src/lib/pages/auth/logged-out/logged-out.component.html +0 -1
  198. package/src/lib/pages/auth/logged-out/logged-out.component.ts +0 -22
  199. package/src/lib/pages/http-status/error/error.component.html +0 -13
  200. package/src/lib/pages/http-status/error/error.component.ts +0 -13
  201. package/src/lib/pages/http-status/page-not-found/page-not-found.component.html +0 -14
  202. package/src/lib/pages/http-status/page-not-found/page-not-found.component.ts +0 -14
  203. package/src/lib/pages/http-status/unauthorized/unauthorized.component.html +0 -15
  204. package/src/lib/pages/http-status/unauthorized/unauthorized.component.ts +0 -11
  205. package/src/lib/pipes/address.pipe.ts +0 -17
  206. package/src/lib/pipes/duration-format.pipe.ts +0 -67
  207. package/src/lib/services/component-loader/component-loader-options.class.ts +0 -31
  208. package/src/lib/services/component-loader/component-loader.class.ts +0 -226
  209. package/src/lib/services/component-loader/component-loader.factory.ts +0 -27
  210. package/src/lib/services/component-loader/content-ref.class.ts +0 -10
  211. package/src/lib/services/interceptors/bad-request.interceptor.ts +0 -34
  212. package/src/lib/services/modal-service/modal-backdrop-component.ts +0 -40
  213. package/src/lib/services/modal-service/modal-container-component.ts +0 -125
  214. package/src/lib/services/modal-service/modal-options.class.ts +0 -92
  215. package/src/lib/services/modal-service/modal-service.ts +0 -237
  216. package/src/lib/services/modal-service/modal-styles.class.ts +0 -11
  217. package/src/lib/services/modal-service/modal.class.ts +0 -45
  218. package/src/lib/services/shell-state-service.service.ts +0 -10
  219. package/src/lib/services/toaster.service.ts +0 -23
  220. package/src/lib/services/utilities.service.ts +0 -40
  221. package/src/lib/tokens.ts +0 -6
  222. package/src/lib/types.ts +0 -210
  223. package/src/test.ts +0 -28
  224. package/tsconfig.lib.json +0 -26
  225. package/tsconfig.lib.prod.json +0 -10
  226. package/tsconfig.spec.json +0 -17
  227. package/tslint.json +0 -17
  228. package/webpack.config.js +0 -36
package/karma.conf.js DELETED
@@ -1,44 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage'),
13
- require('@angular-devkit/build-angular/plugins/karma')
14
- ],
15
- client: {
16
- jasmine: {
17
- // you can add configuration options for Jasmine here
18
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19
- // for example, you can disable the random execution with `random: false`
20
- // or set a specific seed with `seed: 4321`
21
- },
22
- clearContext: false // leave Jasmine Spec Runner output visible in browser
23
- },
24
- jasmineHtmlReporter: {
25
- suppressAll: true // removes the duplicated traces
26
- },
27
- coverageReporter: {
28
- dir: require('path').join(__dirname, '../../coverage/ng-components'),
29
- subdir: '.',
30
- reporters: [
31
- { type: 'html' },
32
- { type: 'text-summary' }
33
- ]
34
- },
35
- reporters: ['progress', 'kjhtml'],
36
- port: 9876,
37
- colors: true,
38
- logLevel: config.LOG_INFO,
39
- autoWatch: true,
40
- browsers: ['Chrome'],
41
- singleRun: false,
42
- restartOnFileChange: true
43
- });
44
- };
package/ng-package.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/ng-components",
4
- "lib": {
5
- "entryFile": "src/public-api.ts",
6
- "styleIncludePaths": [
7
- "./src/assets/styles/*.*"
8
- ]
9
- }
10
- }
@@ -1,33 +0,0 @@
1
- const pathLib = require('path');
2
- const scssBundler = require('scss-bundle');
3
- const fs = require('fs-extra');
4
-
5
- /** Bundles all SCSS files into a single file */
6
- async function bundleScss(): Promise<void> {
7
- console.log('running bundleScss');
8
- const isolatedStyles = ['modal.css'];
9
- const bundler = new scssBundler.Bundler();
10
- const sourcePath = './projects/ng-components/src/_styles.css';
11
- const { found, bundledContent, imports } = await bundler.bundle(sourcePath, ['./src/**/*.css', './src/**/*.scss']);
12
- if (imports) {
13
- console.log('running bundleScss - imports found');
14
- const cwd = process.cwd();
15
-
16
- const filesNotFound = imports.filter((x: any) => !x.found).map((x: any) => pathLib.relative(cwd, x.filePath));
17
-
18
- if (filesNotFound.length) {
19
- console.error(`SCSS imports failed \n\n${filesNotFound.join('\n - ')}\n`);
20
- throw new Error('One or more SCSS imports failed');
21
- }
22
- }
23
-
24
- if (found) {
25
- await fs.writeFile('./dist/ng-components/_styles.css', bundledContent);
26
- isolatedStyles.forEach((f) => {
27
- fs.copy(`./projects/ng-components/src/assets/styles/${f}`, `./dist/ng-components/${f}`);
28
- });
29
- console.log('running bundleScss - finidshed file');
30
- }
31
- }
32
-
33
- bundleScss();
package/src/_styles.css DELETED
@@ -1,36 +0,0 @@
1
- @import './assets/styles/base.css';
2
- @import './assets/styles/components.css';
3
- @import './assets/styles/nav-links.css';
4
-
5
- @import './assets/styles/shell-layout.css';
6
- @import './assets/styles/view-layout.css';
7
- @import './assets/styles/model-view-layout.css';
8
- @import './assets/styles/form-layout.css';
9
- @import './assets/styles/side-view-layout.css';
10
-
11
- @import './assets/styles/side-pane.css';
12
- @import './assets/styles/cards.css';
13
- @import './assets/styles/pager.css';
14
- @import './assets/styles/drop-down-menu.css';
15
- @import './assets/styles/collapsible-panel.css';
16
- @import './assets/styles/list-view.css';
17
- @import './assets/styles/date-picker.component.css';
18
- @import './assets/styles/toast.css';
19
- @import './assets/styles/avatar-initials.css';
20
- @import './assets/styles/toggle.css';
21
- @import './assets/styles/modal.css';
22
-
23
- @import './assets/styles/notifications-indicator.component.css';
24
- @import './assets/styles/indice-ng-icons-inline.css';
25
-
26
- .modal-active {
27
- overflow: hidden;
28
- }
29
-
30
- button:active {
31
- transform: translateY(2px);
32
- }
33
-
34
- a:active {
35
- transform: translateY(2px);
36
- }
@@ -1,16 +0,0 @@
1
- import { TestBed } from '@angular/core/testing';
2
-
3
- import { UtilitiesService } from '../lib/services/utilities.service';
4
-
5
- describe('UtilitiesService', () => {
6
- let service: UtilitiesService;
7
-
8
- beforeEach(() => {
9
- TestBed.configureTestingModule({});
10
- service = TestBed.inject(UtilitiesService);
11
- });
12
-
13
- it('should be created', () => {
14
- expect(service).toBeTruthy();
15
- });
16
- });
@@ -1,37 +0,0 @@
1
- @layer components {
2
-
3
- .avatar-container {
4
- @apply inline-flex items-center justify-center h-8 w-8 rounded-full bg-gray-800;
5
- }
6
-
7
- .avatar-container-large {
8
- @apply inline-flex items-center justify-center h-12 w-12 rounded-full bg-gray-500;
9
- }
10
-
11
- .avatar-text {
12
- @apply text-sm font-medium leading-none text-blue-300;
13
- }
14
-
15
- .avatar-text-large {
16
- @apply text-xl font-medium leading-none text-white;
17
- }
18
- }
19
-
20
- .circle {
21
- display: flex;
22
- justify-content: center;
23
- align-items: center;
24
- }
25
-
26
- .circle img {
27
- border-radius: 50%;
28
- width: 60px;
29
- height: 60px;
30
- }
31
-
32
- .circle .initials {
33
- color: #FFFFFF;
34
- font-size: 20px;
35
- line-height: 19px;
36
- letter-spacing: 0.2625px;
37
- }
@@ -1,46 +0,0 @@
1
- @import 'tailwindcss/base';
2
- @import 'tailwindcss/components';
3
- @import 'tailwindcss/utilities';
4
-
5
- @layer base {
6
- h1 {
7
- @apply text-2xl;
8
- }
9
-
10
- h2 {
11
- @apply text-xl;
12
- }
13
-
14
- h3 {
15
- @apply text-lg;
16
- }
17
-
18
- a {
19
- @apply text-gray-600;
20
- }
21
-
22
- select {
23
- @apply max-w-lg block focus:ring-gray-300 ring-opacity-25 focus:border-gray-300 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-200 rounded-sm;
24
- }
25
-
26
- input[type=text] {
27
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
28
- }
29
-
30
- input[type=password] {
31
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
32
- }
33
-
34
- input[type=email] {
35
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
36
- }
37
-
38
- input[type=number] {
39
- @apply focus:ring-gray-500 focus:border-gray-300 ring-opacity-25 flex-1 block w-full rounded-none sm:text-sm border-gray-200;
40
- }
41
-
42
- textarea {
43
- @apply shadow-sm focus:ring-gray-500 focus:border-gray-500 mt-1 block w-full sm:text-sm border-gray-300 rounded-sm;
44
- }
45
-
46
- }
@@ -1,71 +0,0 @@
1
- @layer components {
2
- .card-deck-busy{
3
- @apply animate-pulse;
4
- }
5
-
6
- .cards-deck-1 {
7
- @apply grid grid-cols-1 gap-0 sm:grid-cols-1 lg:grid-cols-1;
8
- }
9
-
10
- .cards-deck-2 {
11
- @apply grid grid-cols-1 gap-5 sm:grid-cols-1 lg:grid-cols-2;
12
- }
13
-
14
- .cards-deck-3 {
15
- @apply grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3;
16
- }
17
-
18
- .cards-deck-4 {
19
- @apply grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4;
20
- }
21
-
22
- .card {
23
- @apply relative h-full border border-gray-200 bg-white shadow-sm rounded-sm overflow-hidden;
24
- }
25
-
26
- .card-body {
27
- @apply pt-2 px-4 pb-12 sm:pt-6 sm:px-6;
28
- }
29
-
30
- .card-img-top {
31
- @apply object-cover w-full h-48;
32
- }
33
-
34
- .card-header {
35
- @apply inset-x-0 bg-gray-50 px-4 py-4 sm:px-6 border-b border-gray-200;
36
- }
37
-
38
- .card-footer {
39
- @apply absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6 border-t border-gray-200;
40
- }
41
-
42
- .kpi-tile-title-container {
43
- @apply uppercase mb-2 overflow-ellipsis overflow-hidden;
44
- }
45
-
46
- .kpi-tile-action {
47
- @apply hover:text-gray-500;
48
- }
49
-
50
- .kpi-tile-value {
51
- @apply text-6xl font-thin my-6;
52
- }
53
-
54
- .gallery-deck-1 {
55
- @apply grid grid-cols-1 p-4 gap-x-6 sm:grid-cols-2;
56
- }
57
-
58
- .gallery-deck-2 {
59
- @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2 sm:gap-x-6 p-4;
60
- }
61
-
62
-
63
- .gallery-deck-3 {
64
- @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-6 p-4;
65
- }
66
-
67
-
68
- .gallery-deck-4 {
69
- @apply grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-6 lg:grid-cols-4 xl:gap-x-8 p-4;
70
- }
71
- }
@@ -1,25 +0,0 @@
1
- @layer components {
2
- .collapsible-panel-container {
3
- @apply bg-white border border-gray-200 mb-2;
4
- }
5
-
6
- .collapsible-panel-container-shadow {
7
- @apply shadow-sm;
8
- }
9
-
10
- .collapsible-panel-container-inner {
11
- @apply relative border-b border-gray-200;
12
- }
13
-
14
- .collapsible-panel-button {
15
- @apply w-full px-8 py-6 text-left;
16
- }
17
-
18
- .collapsible-panel-button-content-container {
19
- @apply flex items-center justify-between;
20
- }
21
-
22
- .collapsible-panel-content-container {
23
- @apply relative overflow-hidden transition-all duration-700;
24
- }
25
- }
@@ -1,34 +0,0 @@
1
- @layer components {
2
-
3
- .md-visible {
4
- @apply hidden md:block;
5
- }
6
-
7
- .btn-outline {
8
- @apply focus:outline-none bg-transparent text-gray-700 text-sm hover:text-gray-800 px-2.5 py-1.5 border border-gray-500 hover:border-gray-600 rounded-sm;
9
- }
10
-
11
- .btn-outline:disabled {
12
- @apply focus:outline-none bg-transparent text-gray-400 text-sm px-2.5 py-1.5 border border-gray-300 rounded-sm cursor-not-allowed;
13
- }
14
-
15
-
16
- .btn-view-header {
17
- @apply text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-white transition-colors duration-150 rounded-md hover:shadow-sm hover:bg-gray-900;
18
- }
19
-
20
-
21
- .btn-form-view-header {
22
- @apply text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-gray-700 transition-colors duration-150 rounded-sm hover:shadow-sm hover:bg-gray-50;
23
- }
24
-
25
- .btn-form-view-header-search {
26
- @apply rounded-l-none text-base focus:outline-none inline-flex items-center justify-center w-10 h-10 text-gray-700 transition-colors duration-150 rounded-sm hover:shadow-sm hover:bg-gray-50;
27
- }
28
-
29
- .selected-view-indicator {
30
- @apply absolute top-0 right-0 block ml-2 h-1.5 w-1.5 rounded-full ring-1 ring-white bg-blue-300;
31
- }
32
-
33
- }
34
-
File without changes
@@ -1,50 +0,0 @@
1
- @layer components {
2
- .dropdown-container {
3
- @apply relative w-auto;
4
- }
5
-
6
- .dropdown-button {
7
- @apply bg-white relative w-full border border-gray-300 rounded-sm shadow-sm pl-3 pr-10 py-2 text-left cursor-default
8
- focus:outline-none focus:border-gray-500 sm:text-sm;
9
- }
10
-
11
- .dropdown-selected-text {
12
- @apply block truncate;
13
- }
14
-
15
- .dropdown-button-icon {
16
- @apply absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none;
17
- }
18
-
19
- .dropdown-arrow {
20
- @apply h-5 w-5 text-gray-400;
21
- }
22
-
23
- .dropdown-ul {
24
- @apply absolute z-50 mt-1 w-auto bg-white shadow-lg max-h-60 rounded-sm py-1 text-base ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm overflow-x-hidden;
25
- }
26
-
27
- .dropdown-li {
28
- @apply text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9 hover:bg-gray-100 min-w-max;
29
- }
30
-
31
- .dropdown-li-selected {
32
- @apply text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9 min-w-max;
33
- }
34
-
35
- .dropdown-li-text {
36
- @apply font-normal block truncate;
37
- }
38
-
39
- .dropdown-li-selected-text {
40
- @apply font-semibold block truncate;
41
- }
42
-
43
- .dropdown-li-selected-indicator-container {
44
- @apply text-gray-600 absolute inset-y-0 right-0 flex items-center pr-4;
45
- }
46
-
47
- .dropdown-li-selected-indicator {
48
- @apply h-5 w-5;
49
- }
50
- }
@@ -1,49 +0,0 @@
1
- @layer components {
2
- .form-layout-container {
3
- @apply bg-white shadow-sm border border-gray-200 rounded-sm;
4
- }
5
-
6
- .form-header {
7
- @apply px-4 py-5 sm:px-6 bg-gray-50 sm:flex sm:items-center sm:justify-between;
8
- }
9
-
10
- .form-header-inner {
11
- @apply flex-1 min-w-0;
12
- }
13
-
14
- .form-title {
15
- @apply text-lg leading-6 font-medium text-gray-900;
16
- }
17
-
18
- .form-subtitle {
19
- @apply mt-1 max-w-2xl text-sm text-gray-500;
20
- }
21
-
22
- .form-header-actions {
23
- @apply mt-4 flex md:mt-0 md:ml-4;
24
- }
25
-
26
- .form-content-container {
27
- @apply border-t border-gray-200 px-4 py-5 sm:p-0;
28
- }
29
-
30
- .form-content-container-inner {
31
- @apply flex flex-col pt-4;
32
- }
33
-
34
- .form-header-search-input {
35
- @apply block w-60 bg-gray-50 rounded-sm text-sm text-gray-900 placeholder-gray-500 outline-none;
36
- }
37
-
38
- .field-label {
39
- @apply block text-sm py-2 font-medium text-gray-500;
40
- }
41
-
42
- .field-info {
43
- @apply mt-2 text-xs text-gray-400 py-2;
44
- }
45
-
46
- .form-actions {
47
- @apply px-4 py-3 bg-gray-100 text-gray-700 text-right sm:px-6 flex justify-end;
48
- }
49
- }
File without changes
@@ -1,64 +0,0 @@
1
- @layer components {
2
- .list-view-container {
3
- @apply flex flex-col border border-gray-200;
4
- }
5
-
6
- .list-view-container-inner {
7
- @apply overflow-hidden;
8
- }
9
-
10
- .list-view-table {
11
- @apply min-w-full divide-y divide-gray-200;
12
- }
13
-
14
- .list-view-thead {
15
- @apply bg-gray-50;
16
- }
17
-
18
- .list-view-th-details {
19
- @apply px-2 py-3 w-6 text-left text-xs font-medium text-gray-500 uppercase;
20
- }
21
-
22
- .list-view-th {
23
- @apply px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider;
24
- }
25
-
26
- .list-view-th-full {
27
- @apply w-full px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider whitespace-normal break-words;
28
- }
29
-
30
- .list-view-th-half {
31
- @apply w-full sm:w-1/2 px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider whitespace-normal break-words;
32
- }
33
-
34
- .list-view-tbody {
35
- @apply bg-white divide-y divide-gray-200;
36
- }
37
-
38
- .list-view-tr {
39
- @apply hover:bg-gray-50;
40
- }
41
-
42
- .list-view-td-details {
43
- @apply px-2 py-2 whitespace-nowrap items-center;
44
- }
45
-
46
- .list-view-td {
47
- @apply px-4 py-4 whitespace-nowrap;
48
- }
49
-
50
- .list-view-td-full {
51
- @apply w-full px-4 py-4 break-all;
52
- }
53
-
54
- .list-view-td-half {
55
- @apply w-full sm:w-1/2 px-4 py-4 whitespace-normal break-words;
56
- }
57
-
58
- .details-button {
59
- @apply inline-flex items-center px-3 py-2 border border-transparent shadow-sm text-sm leading-4 font-medium rounded-md bg-gray-100 hover:bg-gray-200 focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-gray-100;
60
- }
61
-
62
- .expand-collapse-button {
63
- @apply inline-flex items-center px-3 py-2 border border-transparent shadow-sm text-sm leading-4 font-medium rounded-md bg-gray-100 hover:bg-gray-200 focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-gray-100; }
64
- }
@@ -1,45 +0,0 @@
1
- @layer components {
2
- .model-view-container {
3
- @apply mt-5 min-w-full min-h-screen;
4
- }
5
-
6
- .model-view-container-inner {
7
- @apply lg:grid lg:grid-cols-12 lg:gap-x-5;
8
- }
9
-
10
- .model-view-aside {
11
- @apply py-6 px-2 sm:px-6 lg:py-0 lg:px-0 lg:col-span-4 md:col-span-3;
12
- }
13
-
14
- .model-view-aside-header-section {
15
- @apply min-w-full;
16
- }
17
-
18
- .model-view-aside-header-container {
19
- @apply bg-white shadow rounded-sm;
20
- }
21
-
22
- .model-view-aside-header-container-inner {
23
- @apply flex flex-col justify-self-stretch bg-gray-50 border-b;
24
- }
25
-
26
- .model-view-menu-container {
27
- @apply mt-2 px-4 py-4 flow-root;
28
- }
29
-
30
- .model-view-menu-nav {
31
- @apply h-full flex flex-col;
32
- }
33
-
34
- .model-view-menu-item {
35
- @apply space-y-1;
36
- }
37
-
38
- .model-view-menu-item-far {
39
- @apply mt-auto pt-10 space-y-1;
40
- }
41
-
42
- .model-view-details-container {
43
- @apply sm:px-6 lg:px-2 lg:col-span-8 md:col-span-9;
44
- }
45
- }
@@ -1,35 +0,0 @@
1
- @layer components {
2
-
3
- .nav-link {
4
- @apply text-white hover:bg-gray-700 hover:text-white hover:shadow-sm px-3 py-2 rounded-sm text-xs whitespace-nowrap overflow-ellipsis overflow-hidden;
5
- }
6
-
7
- .nav-link-profile {
8
- @apply block px-4 py-2 text-xs text-gray-700 hover:bg-gray-100 whitespace-nowrap overflow-ellipsis overflow-hidden;
9
- }
10
-
11
- .nav-link-mobile {
12
- @apply text-gray-300 hover:bg-gray-700 hover:text-white block px-3 py-2 rounded-sm text-xs whitespace-nowrap overflow-ellipsis overflow-hidden;
13
- }
14
-
15
- .nav-link-active {
16
- @apply text-blue-300 bg-gray-900 hover:bg-gray-900 px-3 py-2 rounded-sm text-xs shadow-sm whitespace-nowrap overflow-ellipsis overflow-hidden;
17
- }
18
-
19
- .nav-link-profile-active {
20
- @apply block px-4 py-2 text-xs text-blue-300 shadow-sm whitespace-nowrap overflow-ellipsis overflow-hidden;
21
- }
22
-
23
- .nav-link-mobile-active {
24
- @apply bg-gray-900 text-blue-300 block px-3 py-2 rounded-sm text-xs whitespace-nowrap overflow-ellipsis overflow-hidden;
25
- }
26
-
27
- .view-nav-link {
28
- @apply text-gray-600 hover:bg-gray-50 hover:text-gray-900 rounded-none py-2 px-4 flex items-center text-sm whitespace-nowrap overflow-ellipsis overflow-hidden;
29
- }
30
-
31
- .view-nav-link-active {
32
- @apply bg-gray-50 border-gray-600 text-gray-900 border-l-4 py-2 px-3 flex items-center text-sm whitespace-nowrap overflow-ellipsis overflow-hidden;
33
- }
34
-
35
- }
@@ -1,43 +0,0 @@
1
- @layer components {
2
-
3
- .notifications-nav-link {
4
- @apply block py-3 pl-3 pr-2 text-xs text-gray-700 hover:bg-gray-50;
5
- }
6
-
7
- .header-notifications {
8
- @apply flex gap-3 items-center;
9
- }
10
-
11
- .header-notifications-dropdown-button {
12
- @apply max-w-xs focus:outline-none rounded-full flex items-center text-sm ring-1 ring-blue-300 focus:ring-offset-1
13
- focus:ring-offset-blue-800 focus:ring-blue-400 transition ease-in duration-100;
14
- }
15
-
16
- .header-notifications-dropdown {
17
- @apply z-50 origin-top-right absolute right-0 pt-3 pl-2 mt-2 w-80 rounded-sm shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
18
- }
19
-
20
- .header-notifications-dropdown-with-username {
21
- @apply z-50 origin-top-right absolute right-0 pt-3 pl-1.5 mt-1 w-80 rounded-sm shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none;
22
- }
23
-
24
- .header-notifications-dropdown-view-all-button{
25
- @apply items-center align-text-bottom font-medium w-full px-2.5 py-2.5 text-xs text-gray-600 focus:outline-none;
26
- }
27
-
28
- .notification-messages::-webkit-scrollbar {
29
- width: 7px;
30
- height: 7px;
31
- background: transparent;
32
- cursor: pointer;
33
- /* or add it to the track */
34
- }
35
-
36
- .notification-messages::-webkit-scrollbar-thumb {
37
- @apply bg-gray-600;
38
-
39
- &:hover {
40
- @apply bg-gray-700;
41
- }
42
- }
43
- }
@@ -1,29 +0,0 @@
1
- @layer components {
2
- .pager-container {
3
- @apply flex items-center justify-between mb-2;
4
- }
5
-
6
- .pager-container-inner {
7
- @apply sm:flex-1 sm:flex sm:items-center sm:justify-between;
8
- }
9
-
10
- .pager-icon-button {
11
- @apply inline-flex relative ml-2 inline-flex items-center px-2 py-2 rounded-l-sm border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50;
12
- }
13
-
14
- .pager-pages-container {
15
- @apply relative z-30 inline-flex rounded-sm;
16
- }
17
-
18
- .pager-button {
19
- @apply relative ml-2 inline-flex items-center px-2 py-2 rounded-l-sm border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50;
20
- }
21
-
22
- .pager-arrow-button-left {
23
- @apply hidden sm:inline-flex relative ml-2 items-center px-2 py-2 rounded-l-sm border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50;
24
- }
25
-
26
- .pager-arrow-button-right {
27
- @apply hidden sm:inline-flex relative mr-2 items-center px-2 py-2 rounded-l-sm border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50;
28
- }
29
- }