asksuite-citrus 3.16.23-beta.0 → 3.16.23-beta.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.
- package/esm2022/lib/classes/richtext-wrapper.mjs +6 -1
- package/esm2022/lib/components/accordion/extendable-panel/extendable-panel.component.mjs +2 -2
- package/esm2022/lib/components/arrow-tag/arrow-tag.component.mjs +2 -2
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
- package/esm2022/lib/components/box/box.component.mjs +2 -2
- package/esm2022/lib/components/button/button.component.mjs +2 -2
- package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/lib/components/chips/chips.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
- package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
- package/esm2022/lib/components/input/input.component.mjs +2 -2
- package/esm2022/lib/components/modal/confirmation-modal/confirmation-modal.component.mjs +2 -2
- package/esm2022/lib/components/modal/modal.component.mjs +2 -2
- package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
- package/esm2022/lib/components/phone-ddi/phone-ddi.component.mjs +2 -2
- package/esm2022/lib/components/richtext-toolbox/richtext-toolbox.component.mjs +2 -2
- package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +2 -2
- package/esm2022/lib/components/select/select.component.mjs +2 -2
- package/esm2022/lib/components/tab-group/tab/tab.component.mjs +2 -2
- package/esm2022/lib/components/tab-group/tab-group.component.mjs +2 -2
- package/esm2022/lib/components/table/table.component.mjs +2 -2
- package/esm2022/lib/components/toast/toast.component.mjs +2 -2
- package/esm2022/lib/constants/url-regex.constant.mjs +2 -2
- package/esm2022/lib/directives/richtext-toolbox/richtext-toolbox.directive.mjs +4 -1
- package/fesm2022/asksuite-citrus.mjs +57 -49
- package/fesm2022/asksuite-citrus.mjs.map +1 -1
- package/lib/classes/richtext-wrapper.d.ts +1 -0
- package/lib/directives/richtext-toolbox/richtext-toolbox.directive.d.ts +1 -0
- package/package.json +1 -1
- package/styles/colors-dark.scss +3 -1
- package/styles/colors-light.scss +3 -2
- package/styles/theme-colors.scss +2 -0
- package/styles/theme-primitives.scss +21 -1
@@ -52,6 +52,7 @@ export declare class RichtextWrapper implements RichTextFunctions {
|
|
52
52
|
setBreakOnEnter(breakOnEnter: boolean): void;
|
53
53
|
setAllowImages(allowImages: boolean): void;
|
54
54
|
getCurrentCursorPosition(): RangeStatic | null;
|
55
|
+
setCursorPosition(position: number): void;
|
55
56
|
destroy(): void;
|
56
57
|
private isToolDisabled;
|
57
58
|
private urlMatcher;
|
@@ -38,6 +38,7 @@ export declare class RichtextToolboxDirective implements OnChanges, ControlValue
|
|
38
38
|
registerOnTouched(fn: any): void;
|
39
39
|
setDisabledState(isDisabled: boolean): void;
|
40
40
|
getCurrentCursorPosition(): import("quill").RangeStatic | null | undefined;
|
41
|
+
setCursorPosition(position: number): void | undefined;
|
41
42
|
getTextWithoutHtmlTags(): string;
|
42
43
|
insertText(index: number, text: string, emitEvent?: boolean): void;
|
43
44
|
private prepareToolbar;
|
package/package.json
CHANGED
package/styles/colors-dark.scss
CHANGED
@@ -346,7 +346,9 @@
|
|
346
346
|
|
347
347
|
--color-elevation-surface-sunken-hovered: #{$color-nd-100};
|
348
348
|
--color-elevation-surface-selected: #{$color-a-100};
|
349
|
-
--color-elevation-shadow-raised: #{$color-
|
349
|
+
--color-elevation-shadow-raised: #{$color-sda-700};
|
350
|
+
--color-elevation-shadow-overlay: #{$color-sda-200};
|
351
|
+
--color-elevation-shadow-base: #{$color-nd-500};
|
350
352
|
|
351
353
|
--color-background-accent-grey-bold-default: #{$color-background-accent-grey-bold-default};
|
352
354
|
--color-border-inverse-subtle: #{$color-border-inverse-subtle};
|
package/styles/colors-light.scss
CHANGED
@@ -279,7 +279,7 @@ $color-elevation-surface-selected-flow: $color-f-100;
|
|
279
279
|
$color-elevation-surface-sunken-default: $color-nl-0;
|
280
280
|
$color-elevation-surface-sunken-hovered: $color-nl-100;
|
281
281
|
$color-elevation-surface-selected: $color-a-100;
|
282
|
-
$color-elevation-shadow-raised: #13293933;
|
282
|
+
// $color-elevation-shadow-raised: #13293933;
|
283
283
|
|
284
284
|
|
285
285
|
$color-border-default: $color-nla-300;
|
@@ -684,7 +684,8 @@ $color-border-contrast: $color-nla-1200;
|
|
684
684
|
--color-elevation-surface-sunken-default: #{$color-elevation-surface-sunken-default};
|
685
685
|
--color-elevation-surface-sunken-hovered: #{$color-elevation-surface-sunken-hovered};
|
686
686
|
--color-elevation-surface-selected: #{$color-elevation-surface-selected};
|
687
|
-
--color-elevation-shadow-raised: #{$color-
|
687
|
+
--color-elevation-shadow-raised: #{$color-nla-400};
|
688
|
+
--color-elevation-shadow-overlay: #{$color-nla-700};
|
688
689
|
--color-elevation-surface-overlay: #{$color-nl-0};
|
689
690
|
--color-border-default: #{$color-border-default};
|
690
691
|
--color-border-brand-asksuite-subtle: #{$color-border-brand-asksuite-subtle};
|
package/styles/theme-colors.scss
CHANGED
@@ -6,8 +6,10 @@
|
|
6
6
|
|
7
7
|
body.light{
|
8
8
|
@include colors-light.theme();
|
9
|
+
--elevation-shadow: 0px 0px 1px 0px var(--color-elevation-shadow-overlay), 0px 8px 12px 0px var(--color-elevation-shadow-raised);
|
9
10
|
}
|
10
11
|
|
11
12
|
body.dark{
|
12
13
|
@include colors-dark.theme();
|
14
|
+
--elevation-shadow: -1px 2px 0px var(--color-elevation-shadow-overlay), 0px 8px 12px 0px var(--color-elevation-shadow-raised), 0px 0px 0px 0px var(--color-elevation-shadow-base);
|
13
15
|
}
|
@@ -196,6 +196,26 @@ $color-nda-1600: rgba(217, 229, 242, 0.94);
|
|
196
196
|
$color-nda-1700: #d9e5f2;
|
197
197
|
$color-Y200: #FFE5B2;
|
198
198
|
|
199
|
+
//grey shadow dark
|
200
|
+
$color-sda-0: rgba(3, 4, 4, 0);
|
201
|
+
$color-sda-100: rgba(3, 4, 4, 0.03);
|
202
|
+
$color-sda-200: rgba(3, 4, 4, 0.06);
|
203
|
+
$color-sda-300: rgba(3, 4, 4, 0.13);
|
204
|
+
$color-sda-400: rgba(3, 4, 4, 0.19);
|
205
|
+
$color-sda-500: rgba(3, 4, 4, 0.25);
|
206
|
+
$color-sda-600: rgba(3, 4, 4, 0.31);
|
207
|
+
$color-sda-700: rgba(3, 4, 4, 0.38);
|
208
|
+
$color-sda-800: rgba(3, 4, 4, 0.44);
|
209
|
+
$color-sda-900: rgba(3, 4, 4, 0.5);
|
210
|
+
$color-sda-1000: rgba(3, 4, 4, 0.56);
|
211
|
+
$color-sda-1100: rgba(3, 4, 4, 0.63);
|
212
|
+
$color-sda-1200: rgba(3, 4, 4, 0.69);
|
213
|
+
$color-sda-1300: rgba(3, 4, 4, 0.75);
|
214
|
+
$color-sda-1400: rgba(3, 4, 4, 0.81);
|
215
|
+
$color-sda-1500: rgba(3, 4, 4, 0.88);
|
216
|
+
$color-sda-1600: rgba(3, 4, 4, 0.94);
|
217
|
+
$color-sda-1700: #030404;
|
218
|
+
|
199
219
|
|
200
220
|
//outros
|
201
221
|
$color-background-selected-ask-default: $color-a-900;
|
@@ -205,4 +225,4 @@ $color-elevation-surface-sunken-default: $color-nd-0;
|
|
205
225
|
$color-background-accent-grey-bold-default: $color-nl-1400;
|
206
226
|
$color-border-inverse-subtle: $color-nl-400;
|
207
227
|
$color-background-accent-grey-subtler-hovered: $color-nl-400;
|
208
|
-
//
|
228
|
+
//
|