asksuite-citrus 2.1.0-beta.1 → 2.6.1

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 (61) hide show
  1. package/esm2022/lib/asksuite-citrus.module.mjs +17 -6
  2. package/esm2022/lib/classes/overlay.component.mjs +26 -11
  3. package/esm2022/lib/classes/richtext-wrapper.mjs +76 -3
  4. package/esm2022/lib/components/accordion/accordion.component.mjs +8 -5
  5. package/esm2022/lib/components/accordion/extendable-panel/extendable-panel.component.mjs +21 -4
  6. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +6 -4
  7. package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
  8. package/esm2022/lib/components/box/box.component.mjs +2 -2
  9. package/esm2022/lib/components/button/button.component.mjs +2 -2
  10. package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
  11. package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
  12. package/esm2022/lib/components/chips/chips.component.mjs +2 -2
  13. package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
  14. package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
  15. package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +4 -7
  16. package/esm2022/lib/components/input/input.component.mjs +2 -2
  17. package/esm2022/lib/components/modal/confirmation-modal/confirmation-modal.component.mjs +13 -9
  18. package/esm2022/lib/components/modal/modal.component.mjs +6 -3
  19. package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
  20. package/esm2022/lib/components/phone-ddi/phone-ddi.component.mjs +9 -5
  21. package/esm2022/lib/components/richtext-toolbox/richtext-toolbox.component.mjs +3 -3
  22. package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +3 -3
  23. package/esm2022/lib/components/select/select.component.mjs +2 -2
  24. package/esm2022/lib/components/table/table.component.mjs +7 -4
  25. package/esm2022/lib/components/toast/toast.component.mjs +2 -2
  26. package/esm2022/lib/directives/ask-dropdown.directive.mjs +14 -3
  27. package/esm2022/lib/directives/button/ask-base-button.directive.mjs +17 -4
  28. package/esm2022/lib/directives/index.mjs +3 -1
  29. package/esm2022/lib/directives/input/input.directive.mjs +19 -0
  30. package/esm2022/lib/directives/list-item/list-item.directive.mjs +19 -0
  31. package/esm2022/lib/directives/richtext-toolbox/richtext-toolbox.directive.mjs +23 -2
  32. package/esm2022/lib/helpers/html-panel-quill-blot.helper.mjs +21 -0
  33. package/esm2022/lib/services/modal/modal.config.mjs +2 -2
  34. package/esm2022/lib/services/modal/modal.service.mjs +20 -14
  35. package/fesm2022/asksuite-citrus.mjs +315 -82
  36. package/fesm2022/asksuite-citrus.mjs.map +1 -1
  37. package/lib/asksuite-citrus.module.d.ts +11 -9
  38. package/lib/classes/overlay.component.d.ts +2 -2
  39. package/lib/classes/richtext-wrapper.d.ts +12 -2
  40. package/lib/components/accordion/accordion.component.d.ts +2 -1
  41. package/lib/components/accordion/extendable-panel/extendable-panel.component.d.ts +7 -2
  42. package/lib/components/dropdown-container/dropdown-container.component.d.ts +2 -4
  43. package/lib/components/modal/confirmation-modal/confirmation-modal.component.d.ts +11 -1
  44. package/lib/components/modal/modal.component.d.ts +2 -1
  45. package/lib/components/table/table.component.d.ts +2 -1
  46. package/lib/directives/ask-dropdown.directive.d.ts +3 -1
  47. package/lib/directives/button/ask-base-button.directive.d.ts +9 -3
  48. package/lib/directives/index.d.ts +2 -0
  49. package/lib/directives/input/input.directive.d.ts +6 -0
  50. package/lib/directives/list-item/list-item.directive.d.ts +6 -0
  51. package/lib/directives/richtext-toolbox/richtext-toolbox.directive.d.ts +11 -1
  52. package/lib/helpers/html-panel-quill-blot.helper.d.ts +9 -0
  53. package/lib/services/modal/modal.config.d.ts +3 -1
  54. package/lib/services/modal/modal.service.d.ts +5 -5
  55. package/package.json +4 -1
  56. package/styles/badge.scss +64 -0
  57. package/styles/button.scss +65 -16
  58. package/styles/input.scss +5 -0
  59. package/styles/list-item.scss +8 -0
  60. package/styles/modal.scss +0 -1
  61. package/styles/styles.scss +3 -63
@@ -12,6 +12,9 @@
12
12
  @import './modal';
13
13
  @import './ask-mixins';
14
14
  @import './quill';
15
+ @import './input';
16
+ @import './badge';
17
+ @import './list-item';
15
18
 
16
19
  /*
17
20
  * Material Icons
@@ -48,69 +51,6 @@ input {
48
51
  font-size: $font-md;
49
52
  }
50
53
 
51
- /**
52
- Badge
53
- */
54
-
55
- .ask-badge {
56
- position: relative;
57
-
58
- > .badge {
59
- position: absolute;
60
- display: flex;
61
- justify-content: center;
62
- align-items: center;
63
- background-color: var(--bg-color);
64
- color: #fff;
65
- font-size: 12px;
66
- text-overflow: ellipsis;
67
- white-space: nowrap;
68
- overflow: hidden;
69
- border-radius: 50%;
70
- box-shadow: 0 2px 6px -1px rgb(0 0 0 / 50%);
71
- }
72
-
73
- > .badge.-primary {
74
- --bg-color: var(--asksuite-orange);
75
- }
76
-
77
- > .badge.-secondary {
78
- --bg-color: var(--grey-800);
79
- }
80
-
81
- > .badge.-top {
82
- top: -10px;
83
- }
84
- > .badge.-bottom {
85
- bottom: -10px;
86
- }
87
-
88
- > .badge.-left {
89
- left: -10px;
90
- }
91
-
92
- > .badge.-right {
93
- right: -10px;
94
- }
95
-
96
- > .badge.-small {
97
- width: 18px;
98
- height: 18px;
99
- font-size: 10px;
100
- }
101
- > .badge.-regular {
102
- width: 22px;
103
- height: 22px;
104
- font-size: 11px;
105
- }
106
-
107
- > .badge.-large {
108
- width: 28px;
109
- height: 28px;
110
- font-size: 12px;
111
- }
112
- }
113
-
114
54
 
115
55
  /*
116
56
  * Material Icons