@daffodil/design 0.71.0 → 0.73.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 (179) hide show
  1. package/README.md +36 -40
  2. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +1 -3
  3. package/accordion/accordion.module.d.ts +4 -5
  4. package/accordion/public_api.d.ts +0 -1
  5. package/article/README.md +0 -5
  6. package/article/article.module.d.ts +3 -5
  7. package/article/examples/article-examples.module.d.ts +8 -9
  8. package/article/examples/public_api.d.ts +0 -1
  9. package/article/public_api.d.ts +0 -2
  10. package/atoms/form/quantity-field/quantity-field.component.d.ts +2 -1
  11. package/callout/callout/callout.component.d.ts +1 -31
  12. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +2 -5
  13. package/esm2022/accordion/accordion.module.mjs +3 -8
  14. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +1 -1
  15. package/esm2022/accordion/public_api.mjs +1 -2
  16. package/esm2022/article/article/article.component.mjs +2 -2
  17. package/esm2022/article/article.module.mjs +1 -11
  18. package/esm2022/article/examples/article-examples.module.mjs +7 -8
  19. package/esm2022/article/examples/examples.mjs +1 -3
  20. package/esm2022/article/examples/public_api.mjs +1 -2
  21. package/esm2022/article/public_api.mjs +1 -3
  22. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +7 -4
  23. package/esm2022/callout/callout/callout.component.mjs +5 -35
  24. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +1 -1
  25. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +1 -1
  26. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +1 -1
  27. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +1 -1
  28. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +1 -1
  29. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +1 -1
  30. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +1 -1
  31. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +1 -1
  32. package/esm2022/hero/hero/hero.component.mjs +5 -36
  33. package/esm2022/list/examples/basic-list/basic-list.component.mjs +1 -1
  34. package/esm2022/list/examples/icon-list/icon-list.component.mjs +1 -1
  35. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +1 -1
  36. package/esm2022/list/examples/nav-list/nav-list.component.mjs +1 -1
  37. package/esm2022/list/list/list.component.mjs +5 -43
  38. package/esm2022/list/list.module.mjs +1 -6
  39. package/esm2022/list/public_api.mjs +1 -2
  40. package/esm2022/menu/menu-activator/menu-activator.component.mjs +1 -1
  41. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +1 -1
  42. package/esm2022/notification/examples/{dismissable-notification/dismissable-notification.component.mjs → dismissible-notification/dismissible-notification.component.mjs} +6 -6
  43. package/esm2022/notification/examples/{dismissable-notification/dismissable-notification.module.mjs → dismissible-notification/dismissible-notification.module.mjs} +10 -10
  44. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +1 -1
  45. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +1 -1
  46. package/esm2022/notification/examples/public_api.mjs +4 -4
  47. package/esm2022/notification/notification/notification.component.mjs +6 -6
  48. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +1 -1
  49. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +1 -1
  50. package/esm2022/paginator/paginator/paginator.component.mjs +8 -24
  51. package/esm2022/public_api.mjs +1 -8
  52. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +1 -1
  53. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +1 -1
  54. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +1 -1
  55. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +1 -1
  56. package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +1 -5
  57. package/esm2022/tree/tree-item/tree-item.directive.mjs +4 -2
  58. package/fesm2022/daffodil-design-accordion-examples.mjs +1 -1
  59. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  60. package/fesm2022/daffodil-design-accordion.mjs +4 -34
  61. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  62. package/fesm2022/daffodil-design-article-examples.mjs +2 -12
  63. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  64. package/fesm2022/daffodil-design-article.mjs +3 -51
  65. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  66. package/fesm2022/daffodil-design-callout-examples.mjs +4 -4
  67. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  68. package/fesm2022/daffodil-design-callout.mjs +5 -35
  69. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  70. package/fesm2022/daffodil-design-hero-examples.mjs +4 -4
  71. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  72. package/fesm2022/daffodil-design-hero.mjs +5 -36
  73. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  74. package/fesm2022/daffodil-design-list-examples.mjs +4 -4
  75. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  76. package/fesm2022/daffodil-design-list.mjs +5 -70
  77. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  78. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  79. package/fesm2022/daffodil-design-notification-examples.mjs +17 -17
  80. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  81. package/fesm2022/daffodil-design-notification.mjs +5 -5
  82. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  83. package/fesm2022/daffodil-design-paginator-examples.mjs +2 -2
  84. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  85. package/fesm2022/daffodil-design-paginator.mjs +6 -22
  86. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  87. package/fesm2022/daffodil-design-quantity-field-examples.mjs +4 -4
  88. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  89. package/fesm2022/daffodil-design-sidebar.mjs +0 -4
  90. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  91. package/fesm2022/daffodil-design-tree.mjs +3 -1
  92. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  93. package/fesm2022/daffodil-design.mjs +64 -602
  94. package/fesm2022/daffodil-design.mjs.map +1 -1
  95. package/hero/README.md +0 -6
  96. package/hero/hero/hero.component.d.ts +1 -32
  97. package/list/README.md +0 -7
  98. package/list/list/list.component.d.ts +1 -30
  99. package/list/list.module.d.ts +4 -5
  100. package/list/public_api.d.ts +0 -1
  101. package/list/src/list-theme.scss +0 -34
  102. package/menu/README.md +15 -3
  103. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +6 -0
  104. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +11 -0
  105. package/notification/notification/notification.component.d.ts +2 -2
  106. package/package.json +1 -1
  107. package/paginator/paginator/paginator.component.d.ts +4 -24
  108. package/paginator/src/paginator-theme.scss +0 -55
  109. package/public_api.d.ts +0 -6
  110. package/scss/theme.scss +0 -2
  111. package/scss/typography/_classes.scss +0 -5
  112. package/scss/typography/_index.scss +0 -1
  113. package/scss/typography/mixins/_text-truncate.scss +1 -6
  114. package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +0 -4
  115. package/accordion/accordion/accordion-item-content/accordion-item-content.directive.d.ts +0 -12
  116. package/article/article-lead/article-lead.directive.d.ts +0 -9
  117. package/article/article-title/article-title.directive.d.ts +0 -9
  118. package/article/examples/article-lead/article-lead.component.d.ts +0 -5
  119. package/atoms/progress-indicator/animation/progress-indicator-animation.d.ts +0 -4
  120. package/atoms/progress-indicator/progress-indicator.component.d.ts +0 -57
  121. package/atoms/progress-indicator/progress-indicator.module.d.ts +0 -8
  122. package/atoms/progress-indicator/public_api.d.ts +0 -2
  123. package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +0 -25
  124. package/esm2022/article/article-lead/article-lead.directive.mjs +0 -22
  125. package/esm2022/article/article-title/article-title.directive.mjs +0 -22
  126. package/esm2022/article/examples/article-lead/article-lead.component.mjs +0 -12
  127. package/esm2022/atoms/progress-indicator/animation/progress-indicator-animation.mjs +0 -8
  128. package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +0 -82
  129. package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +0 -20
  130. package/esm2022/atoms/progress-indicator/public_api.mjs +0 -3
  131. package/esm2022/list/list-subheader/list-subheader.directive.mjs +0 -25
  132. package/esm2022/molecules/button-set/button-set.component.mjs +0 -23
  133. package/esm2022/molecules/button-set/button-set.module.mjs +0 -20
  134. package/esm2022/molecules/button-set/public_api.mjs +0 -3
  135. package/esm2022/molecules/feature/feature/feature.component.mjs +0 -49
  136. package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +0 -22
  137. package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +0 -22
  138. package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +0 -22
  139. package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +0 -22
  140. package/esm2022/molecules/feature/feature.module.mjs +0 -44
  141. package/esm2022/molecules/feature/public_api.mjs +0 -7
  142. package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +0 -25
  143. package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +0 -15
  144. package/esm2022/molecules/image-gallery/image-gallery.module.mjs +0 -33
  145. package/esm2022/molecules/image-gallery/public_api.mjs +0 -4
  146. package/esm2022/molecules/image-list/image-list.component.mjs +0 -20
  147. package/esm2022/molecules/image-list/image-list.module.mjs +0 -24
  148. package/esm2022/molecules/image-list/public_api.mjs +0 -3
  149. package/esm2022/molecules/qty-dropdown/public_api.mjs +0 -3
  150. package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +0 -113
  151. package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +0 -40
  152. package/list/list-subheader/list-subheader.directive.d.ts +0 -12
  153. package/molecules/button-set/button-set.component.d.ts +0 -12
  154. package/molecules/button-set/button-set.module.d.ts +0 -7
  155. package/molecules/button-set/public_api.d.ts +0 -2
  156. package/molecules/feature/feature/feature.component.d.ts +0 -26
  157. package/molecules/feature/feature-icon/feature-icon.directive.d.ts +0 -9
  158. package/molecules/feature/feature-subheader/feature-subheader.directive.d.ts +0 -9
  159. package/molecules/feature/feature-subtitle/feature-subtitle.directive.d.ts +0 -9
  160. package/molecules/feature/feature-title/feature-title.directive.d.ts +0 -9
  161. package/molecules/feature/feature.module.d.ts +0 -12
  162. package/molecules/feature/public_api.d.ts +0 -6
  163. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +0 -10
  164. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +0 -8
  165. package/molecules/image-gallery/image-gallery.module.d.ts +0 -10
  166. package/molecules/image-gallery/public_api.d.ts +0 -3
  167. package/molecules/image-list/image-list.component.d.ts +0 -9
  168. package/molecules/image-list/image-list.module.d.ts +0 -8
  169. package/molecules/image-list/public_api.d.ts +0 -2
  170. package/molecules/qty-dropdown/public_api.d.ts +0 -2
  171. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +0 -61
  172. package/molecules/qty-dropdown/qty-dropdown.module.d.ts +0 -12
  173. package/notification/examples/dismissable-notification/dismissable-notification.component.d.ts +0 -6
  174. package/notification/examples/dismissable-notification/dismissable-notification.module.d.ts +0 -11
  175. package/scss/daff-global.scss +0 -5
  176. package/scss/daff-typography.scss +0 -55
  177. package/scss/daff-util.scss +0 -5
  178. package/scss/typography/mixins/_text-transform.scss +0 -4
  179. package/src/atoms/progress-indicator/progress-indicator-theme.scss +0 -60
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DismissableNotificationComponent {
3
- faInfoCircle: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DismissableNotificationComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<DismissableNotificationComponent, "dismissable-notification", never, {}, {}, never, never, false, never>;
6
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./dismissable-notification.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@daffodil/design/notification";
5
- import * as i4 from "@fortawesome/angular-fontawesome";
6
- import * as i5 from "@daffodil/design/button";
7
- export declare class DismissableNotificationModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DismissableNotificationModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<DismissableNotificationModule, [typeof i1.DismissableNotificationComponent], [typeof i2.CommonModule, typeof i3.DaffNotificationModule, typeof i4.FontAwesomeModule, typeof i5.DaffButtonModule], [typeof i1.DismissableNotificationComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<DismissableNotificationModule>;
11
- }
@@ -1,5 +0,0 @@
1
- // @deprecated
2
- //
3
- // `daff-global` will be deprecated in v1.0.0
4
-
5
- @forward 'global';
@@ -1,55 +0,0 @@
1
- //
2
- // @docs
3
- //
4
- // @deprecated in v1.0.0
5
- // `daff-typography` will be deprecated in v1.0.0 in favor
6
- // of the typography module. Check out the [typography
7
- // documentation](libs/design/scss/typography/README.md)
8
- // for more information.
9
- //
10
- // `daff-typography` is a generic typography library that
11
- // sets common typography settings for the daffodil design
12
- // package. It IS NOT necessary, but can be used.
13
- //
14
- // @note You SHOULD NOT import this as often as you like,
15
- // as it only contains CSS
16
- // and will effect your final compiled stylesheet size.
17
- //
18
- // @usage
19
- // ```scss
20
- // @use '@daffodil/design/scss/daff-typography';
21
- // ```
22
-
23
- @use '~modern-normalize/modern-normalize';
24
-
25
- @use 'typography' as t;
26
- @forward 'typography';
27
- @forward 'typography/classes';
28
-
29
- body,
30
- html {
31
- font-family: t.$body-font-family;
32
- font-size: 16px;
33
- font-weight: 400;
34
- line-height: 1.5;
35
- -webkit-font-smoothing: antialiased;
36
- -moz-osx-font-smoothing: grayscale;
37
- }
38
-
39
- a {
40
- color: currentColor;
41
-
42
- &:hover {
43
- text-decoration: none;
44
- }
45
- }
46
-
47
- h1,
48
- h2,
49
- h3,
50
- h4,
51
- h5,
52
- h6 {
53
- margin: 0;
54
- padding: 0;
55
- }
@@ -1,5 +0,0 @@
1
- // @deprecated
2
- //
3
- // `daff-util` will be deprecated in v1.0.0
4
-
5
- @forward 'utilities';
@@ -1,4 +0,0 @@
1
- // @deprecated in v1.0.0
2
- @mixin uppercase() {
3
- text-transform: uppercase;
4
- }
@@ -1,60 +0,0 @@
1
- @use 'sass:map';
2
- @use '../../../scss/core';
3
- @use '../../../scss/theming';
4
-
5
- @mixin daff-progress-indicator-theme($theme) {
6
- $primary: map.get($theme, primary);
7
- $secondary: map.get($theme, secondary);
8
- $tertiary: map.get($theme, tertiary);
9
- $base: core.daff-map-deep-get($theme, 'core.base');
10
- $base-contrast: core.daff-map-deep-get($theme, 'core.base-contrast');
11
- $white: core.daff-map-deep-get($theme, 'core.white');
12
- $black: core.daff-map-deep-get($theme, 'core.black');
13
-
14
- .daff-progress-indicator {
15
- $root: &;
16
- background: rgba($base-contrast, 0.1);
17
-
18
- &.daff-primary {
19
- #{$root}__fill {
20
- background: theming.daff-color($primary);
21
- }
22
- }
23
-
24
- &.daff-secondary {
25
- #{$root}__fill {
26
- background: theming.daff-color($secondary);
27
- }
28
- }
29
-
30
- &.daff-tertiary {
31
- #{$root}__fill {
32
- background: theming.daff-color($tertiary);
33
- }
34
- }
35
-
36
- &.daff-theme {
37
- #{$root}__fill {
38
- background: $base;
39
- }
40
- }
41
-
42
- &.daff-theme-contrast {
43
- #{$root}__fill {
44
- background: $base-contrast;
45
- }
46
- }
47
-
48
- &.daff-black {
49
- #{$root}__fill {
50
- background: $black;
51
- }
52
- }
53
-
54
- &.daff-white {
55
- #{$root}__fill {
56
- background: $white;
57
- }
58
- }
59
- }
60
- }