aril 0.0.3 → 0.0.4
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/README.md +10 -1
- package/esm2022/ui/badge/src/badge.component.mjs +8 -8
- package/esm2022/ui/button/src/button.component.mjs +3 -4
- package/esm2022/ui/button/src/split-button.component.mjs +9 -8
- package/esm2022/ui/calendar/src/calendar.component.mjs +55 -33
- package/esm2022/ui/checkbox/index.mjs +2 -1
- package/esm2022/ui/checkbox/src/check-box.component.mjs +7 -9
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
- package/esm2022/ui/confirmPopup/src/confirm-popup.component.mjs +8 -20
- package/esm2022/ui/dxField/src/dx-field.component.mjs +4 -1
- package/esm2022/ui/field/src/field.component.mjs +1 -1
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +9 -6
- package/esm2022/ui/form/index.mjs +2 -1
- package/esm2022/ui/form/src/form-submit-button.component.mjs +6 -3
- package/esm2022/ui/form/src/form.component.mjs +4 -1
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +5 -1
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -1
- package/esm2022/ui/lib/src/form/form-field-builder.mjs +2 -2
- package/esm2022/ui/lib/src/form/form-validation.mjs +1 -1
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +5 -1
- package/esm2022/ui/mask/src/mask.component.mjs +11 -20
- package/esm2022/ui/number/src/number.component.mjs +7 -8
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +10 -24
- package/esm2022/ui/panel/src/panel.component.mjs +7 -12
- package/esm2022/ui/password/src/password.component.mjs +8 -3
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +5 -3
- package/esm2022/ui/selectBox/src/select-box.component.mjs +5 -3
- package/esm2022/ui/switch/src/switch.component.mjs +10 -5
- package/esm2022/ui/table/aril-ui-table.mjs +5 -0
- package/esm2022/ui/table/index.mjs +4 -0
- package/esm2022/ui/table/src/i18n.mjs +93 -0
- package/esm2022/ui/table/src/table-column.component.mjs +35 -0
- package/esm2022/ui/table/src/table.component.mjs +78 -0
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +8 -3
- package/esm2022/ui/text/src/text.component.mjs +26 -9
- package/esm2022/ui/textArea/src/text-area.component.mjs +7 -4
- package/esm2022/ui/tree/src/tree.component.mjs +4 -13
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +18 -11
- package/esm2022/ui/value/aril-ui-value.mjs +5 -0
- package/esm2022/ui/value/index.mjs +2 -0
- package/esm2022/ui/value/src/value.component.mjs +51 -0
- package/esm2022/util/lib/src/types.mjs +2 -1
- package/esm2022/util/primitive-extensions/src/string.extensions.mjs +7 -1
- package/fesm2022/aril-ui-badge.mjs +7 -7
- package/fesm2022/aril-ui-badge.mjs.map +1 -1
- package/fesm2022/aril-ui-button.mjs +10 -10
- package/fesm2022/aril-ui-button.mjs.map +1 -1
- package/fesm2022/aril-ui-calendar.mjs +54 -31
- package/fesm2022/aril-ui-calendar.mjs.map +1 -1
- package/fesm2022/aril-ui-checkbox.mjs +23 -9
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
- package/fesm2022/aril-ui-confirmPopup.mjs +7 -19
- package/fesm2022/aril-ui-confirmPopup.mjs.map +1 -1
- package/fesm2022/aril-ui-dxField.mjs +3 -0
- package/fesm2022/aril-ui-dxField.mjs.map +1 -1
- package/fesm2022/aril-ui-field.mjs.map +1 -1
- package/fesm2022/aril-ui-fileUpload.mjs +8 -5
- package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
- package/fesm2022/aril-ui-form.mjs +10 -2
- package/fesm2022/aril-ui-form.mjs.map +1 -1
- package/fesm2022/aril-ui-lib.mjs +12 -1
- package/fesm2022/aril-ui-lib.mjs.map +1 -1
- package/fesm2022/aril-ui-mask.mjs +10 -19
- package/fesm2022/aril-ui-mask.mjs.map +1 -1
- package/fesm2022/aril-ui-number.mjs +6 -7
- package/fesm2022/aril-ui-number.mjs.map +1 -1
- package/fesm2022/aril-ui-overlayPanel.mjs +9 -23
- package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
- package/fesm2022/aril-ui-panel.mjs +6 -11
- package/fesm2022/aril-ui-panel.mjs.map +1 -1
- package/fesm2022/aril-ui-password.mjs +7 -2
- package/fesm2022/aril-ui-password.mjs.map +1 -1
- package/fesm2022/aril-ui-radioButton.mjs +4 -2
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
- package/fesm2022/aril-ui-selectBox.mjs +4 -2
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
- package/fesm2022/aril-ui-switch.mjs +9 -4
- package/fesm2022/aril-ui-switch.mjs.map +1 -1
- package/fesm2022/aril-ui-table.mjs +211 -0
- package/fesm2022/aril-ui-table.mjs.map +1 -0
- package/fesm2022/aril-ui-tagBox.mjs +7 -2
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
- package/fesm2022/aril-ui-text.mjs +25 -8
- package/fesm2022/aril-ui-text.mjs.map +1 -1
- package/fesm2022/aril-ui-textArea.mjs +6 -3
- package/fesm2022/aril-ui-textArea.mjs.map +1 -1
- package/fesm2022/aril-ui-tree.mjs +3 -12
- package/fesm2022/aril-ui-tree.mjs.map +1 -1
- package/fesm2022/aril-ui-treeTable.mjs +17 -10
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
- package/fesm2022/aril-ui-value.mjs +58 -0
- package/fesm2022/aril-ui-value.mjs.map +1 -0
- package/fesm2022/aril-util-lib.mjs +1 -0
- package/fesm2022/aril-util-lib.mjs.map +1 -1
- package/fesm2022/aril-util-primitive-extensions.mjs +6 -0
- package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
- package/package.json +22 -13
- package/theme/fonts/poppins-v20-latin-500.woff +0 -0
- package/theme/fonts/poppins-v20-latin-500.woff2 +0 -0
- package/theme/fonts/poppins-v20-latin-600.woff +0 -0
- package/theme/fonts/poppins-v20-latin-600.woff2 +0 -0
- package/theme/fonts/poppins-v20-latin-700.woff +0 -0
- package/theme/fonts/poppins-v20-latin-700.woff2 +0 -0
- package/theme/fonts/poppins-v20-latin-regular.woff +0 -0
- package/theme/fonts/poppins-v20-latin-regular.woff2 +0 -0
- package/theme/images/avatar.png +0 -0
- package/theme/styles/layout/_animation.scss +53 -0
- package/theme/styles/layout/_breadcrumb.scss +21 -0
- package/theme/styles/layout/_config.scss +42 -0
- package/theme/styles/layout/_content.scss +3 -0
- package/theme/styles/layout/_fonts.scss +36 -0
- package/theme/styles/layout/_layout_dark.scss +5 -0
- package/theme/styles/layout/_layout_dim.scss +5 -0
- package/theme/styles/layout/_layout_light.scss +5 -0
- package/theme/styles/layout/_main.scss +28 -0
- package/theme/styles/layout/_profile.scss +10 -0
- package/theme/styles/layout/_responsive.scss +113 -0
- package/theme/styles/layout/_sidebar_drawer.scss +236 -0
- package/theme/styles/layout/_sidebar_horizontal.scss +163 -0
- package/theme/styles/layout/_sidebar_reveal.scss +203 -0
- package/theme/styles/layout/_sidebar_slim.scss +145 -0
- package/theme/styles/layout/_sidebar_slim_plus.scss +163 -0
- package/theme/styles/layout/_sidebar_vertical.scss +153 -0
- package/theme/styles/layout/_topbar.scss +78 -0
- package/theme/styles/layout/_typography.scss +63 -0
- package/theme/styles/layout/_utils.scss +24 -0
- package/theme/styles/layout/layout.scss +24 -0
- package/theme/styles/layout/menutheme/_colorscheme.scss +11 -0
- package/theme/styles/layout/menutheme/_menutheme.scss +3 -0
- package/theme/styles/layout/menutheme/_primarycolor.scss +16 -0
- package/theme/styles/layout/menutheme/_transparent.scss +26 -0
- package/theme/styles/layout/preloading.scss +84 -0
- package/theme/styles/theme/base/_colors.scss +18 -0
- package/theme/styles/theme/base/_common.scss +75 -0
- package/theme/styles/theme/base/_components.scss +106 -0
- package/theme/styles/theme/base/_mixins.scss +337 -0
- package/theme/styles/theme/base/components/button/_button.scss +576 -0
- package/theme/styles/theme/base/components/button/_speeddial.scss +96 -0
- package/theme/styles/theme/base/components/button/_splitbutton.scss +354 -0
- package/theme/styles/theme/base/components/data/_carousel.scss +37 -0
- package/theme/styles/theme/base/components/data/_datatable.scss +338 -0
- package/theme/styles/theme/base/components/data/_dataview.scss +46 -0
- package/theme/styles/theme/base/components/data/_filter.scss +138 -0
- package/theme/styles/theme/base/components/data/_orderlist.scss +114 -0
- package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -0
- package/theme/styles/theme/base/components/data/_paginator.scss +92 -0
- package/theme/styles/theme/base/components/data/_picklist.scss +114 -0
- package/theme/styles/theme/base/components/data/_timeline.scss +38 -0
- package/theme/styles/theme/base/components/data/_tree.scss +150 -0
- package/theme/styles/theme/base/components/data/_treetable.scss +256 -0
- package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -0
- package/theme/styles/theme/base/components/file/_fileupload.scss +64 -0
- package/theme/styles/theme/base/components/input/_autocomplete.scss +136 -0
- package/theme/styles/theme/base/components/input/_calendar.scss +267 -0
- package/theme/styles/theme/base/components/input/_cascadeselect.scss +136 -0
- package/theme/styles/theme/base/components/input/_checkbox.scss +94 -0
- package/theme/styles/theme/base/components/input/_chips.scss +65 -0
- package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -0
- package/theme/styles/theme/base/components/input/_dropdown.scss +151 -0
- package/theme/styles/theme/base/components/input/_editor.scss +122 -0
- package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -0
- package/theme/styles/theme/base/components/input/_inputmask.scss +16 -0
- package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -0
- package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -0
- package/theme/styles/theme/base/components/input/_inputtext.scss +100 -0
- package/theme/styles/theme/base/components/input/_listbox.scss +97 -0
- package/theme/styles/theme/base/components/input/_multiselect.scss +179 -0
- package/theme/styles/theme/base/components/input/_password.scss +52 -0
- package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -0
- package/theme/styles/theme/base/components/input/_rating.scss +60 -0
- package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -0
- package/theme/styles/theme/base/components/input/_slider.scss +71 -0
- package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -0
- package/theme/styles/theme/base/components/input/_treeselect.scss +139 -0
- package/theme/styles/theme/base/components/menu/_breadcrumb.scss +42 -0
- package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -0
- package/theme/styles/theme/base/components/menu/_dock.scss +95 -0
- package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -0
- package/theme/styles/theme/base/components/menu/_menu.scss +37 -0
- package/theme/styles/theme/base/components/menu/_menubar.scss +141 -0
- package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -0
- package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -0
- package/theme/styles/theme/base/components/menu/_steps.scss +56 -0
- package/theme/styles/theme/base/components/menu/_tabmenu.scss +74 -0
- package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -0
- package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -0
- package/theme/styles/theme/base/components/messages/_message.scss +107 -0
- package/theme/styles/theme/base/components/messages/_toast.scss +100 -0
- package/theme/styles/theme/base/components/misc/_avatar.scss +30 -0
- package/theme/styles/theme/base/components/misc/_badge.scss +48 -0
- package/theme/styles/theme/base/components/misc/_blockui.scss +0 -0
- package/theme/styles/theme/base/components/misc/_chip.scss +42 -0
- package/theme/styles/theme/base/components/misc/_inplace.scss +17 -0
- package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -0
- package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -0
- package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -0
- package/theme/styles/theme/base/components/misc/_tag.scss +40 -0
- package/theme/styles/theme/base/components/misc/_terminal.scss +12 -0
- package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -0
- package/theme/styles/theme/base/components/multimedia/_image.scss +49 -0
- package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +72 -0
- package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -0
- package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +64 -0
- package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -0
- package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -0
- package/theme/styles/theme/base/components/panel/_accordion.scss +119 -0
- package/theme/styles/theme/base/components/panel/_card.scss +30 -0
- package/theme/styles/theme/base/components/panel/_divider.scss +31 -0
- package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -0
- package/theme/styles/theme/base/components/panel/_panel.scss +63 -0
- package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -0
- package/theme/styles/theme/base/components/panel/_splitter.scss +19 -0
- package/theme/styles/theme/base/components/panel/_tabview.scss +82 -0
- package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -0
- package/theme/styles/theme/dark/_extensions.scss +120 -0
- package/theme/styles/theme/dark/_variables.scss +896 -0
- package/theme/styles/theme/dark/blue/theme.scss +14 -0
- package/theme/styles/theme/dark/indigo/theme.scss +14 -0
- package/theme/styles/theme/light/_extensions.scss +102 -0
- package/theme/styles/theme/light/_variables.scss +898 -0
- package/theme/styles/theme/light/blue/theme.scss +13 -0
- package/theme/styles/theme/light/indigo/theme.scss +14 -0
- package/ui/badge/src/badge.component.d.ts +4 -4
- package/ui/button/src/button.component.d.ts +7 -5
- package/ui/button/src/split-button.component.d.ts +2 -2
- package/ui/calendar/src/calendar.component.d.ts +13 -9
- package/ui/checkbox/index.d.ts +1 -0
- package/ui/checkbox/src/check-box.component.d.ts +3 -2
- package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
- package/ui/confirmPopup/src/confirm-popup.component.d.ts +1 -7
- package/ui/field/src/field.component.d.ts +3 -2
- package/ui/fileUpload/src/file-upload.component.d.ts +3 -1
- package/ui/form/src/form-submit-button.component.d.ts +1 -1
- package/ui/lib/src/form/form-field-builder.d.ts +1 -0
- package/ui/mask/src/mask.component.d.ts +7 -7
- package/ui/number/src/number.component.d.ts +5 -4
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +3 -10
- package/ui/panel/src/panel.component.d.ts +3 -4
- package/ui/password/src/password.component.d.ts +2 -1
- package/ui/radioButton/src/radio-button.component.d.ts +2 -1
- package/ui/selectBox/src/select-box.component.d.ts +4 -2
- package/ui/switch/src/switch.component.d.ts +2 -1
- package/ui/table/index.d.ts +2 -0
- package/ui/table/src/i18n.d.ts +42 -0
- package/ui/table/src/table-column.component.d.ts +22 -0
- package/ui/table/src/table.component.d.ts +30 -0
- package/ui/tagBox/src/tag-box.component.d.ts +2 -1
- package/ui/text/src/text.component.d.ts +6 -4
- package/ui/textArea/src/text-area.component.d.ts +2 -2
- package/ui/tree/src/tree.component.d.ts +3 -7
- package/ui/treeTable/src/tree-table.component.d.ts +10 -8
- package/ui/value/index.d.ts +1 -0
- package/ui/value/src/value.component.d.ts +15 -0
- package/util/lib/src/types.d.ts +7 -0
- package/util/primitive-extensions/src/string.extensions.d.ts +1 -0
- package/esm2022/ui/dialog/aril-ui-dialog.mjs +0 -5
- package/esm2022/ui/dialog/index.mjs +0 -2
- package/esm2022/ui/dialog/src/dialog.component.mjs +0 -56
- package/fesm2022/aril-ui-dialog.mjs +0 -63
- package/fesm2022/aril-ui-dialog.mjs.map +0 -1
- package/ui/dialog/index.d.ts +0 -1
- package/ui/dialog/src/dialog.component.d.ts +0 -20
- /package/styles/ui/{ui.styles.css → ui.common.scss} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-chips {
|
|
4
|
+
&:not(.p-disabled):hover {
|
|
5
|
+
.p-chips-multiple-container {
|
|
6
|
+
border-color: $inputHoverBorderColor;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&:not(.p-disabled).p-focus {
|
|
11
|
+
.p-chips-multiple-container {
|
|
12
|
+
@include focused-input();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-chips-multiple-container {
|
|
17
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
18
|
+
gap: $inlineSpacing;
|
|
19
|
+
|
|
20
|
+
.p-chips-token {
|
|
21
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
22
|
+
margin-right: $inlineSpacing;
|
|
23
|
+
background: $chipBg;
|
|
24
|
+
color: $chipTextColor;
|
|
25
|
+
border-radius: $chipBorderRadius;
|
|
26
|
+
|
|
27
|
+
&.p-focus {
|
|
28
|
+
background: $chipFocusBg;
|
|
29
|
+
color: $chipFocusTextColor;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-chips-token-icon {
|
|
33
|
+
margin-left: $inlineSpacing;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-chips-input-token {
|
|
38
|
+
padding: math.div(nth($inputPadding, 1), 2) 0;
|
|
39
|
+
|
|
40
|
+
input {
|
|
41
|
+
font-family: var(--font-family);
|
|
42
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
|
43
|
+
font-size: $inputTextFontSize;
|
|
44
|
+
color: $textColor;
|
|
45
|
+
padding: 0;
|
|
46
|
+
margin: 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
p-chips.ng-dirty.ng-invalid > .p-chips > .p-inputtext {
|
|
53
|
+
@include invalid-input();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
p-chips.p-chips-clearable {
|
|
57
|
+
.p-inputtext {
|
|
58
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.p-chips-clear-icon {
|
|
62
|
+
color: $inputIconColor;
|
|
63
|
+
right: nth($inputPadding, 2);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.p-colorpicker-preview,
|
|
2
|
+
.p-fluid .p-colorpicker-preview.p-inputtext {
|
|
3
|
+
width: $colorPickerPreviewWidth;
|
|
4
|
+
height: $colorPickerPreviewHeight;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-colorpicker-panel {
|
|
8
|
+
background: $colorPickerBg;
|
|
9
|
+
border: $colorPickerBorder;
|
|
10
|
+
|
|
11
|
+
.p-colorpicker-color-handle,
|
|
12
|
+
.p-colorpicker-hue-handle {
|
|
13
|
+
border-color: $colorPickerHandleColor;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-colorpicker-overlay-panel {
|
|
18
|
+
box-shadow: $inputOverlayShadow;
|
|
19
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
.p-dropdown {
|
|
2
|
+
background: $inputBg;
|
|
3
|
+
border: $inputBorder;
|
|
4
|
+
transition: $formElementTransition;
|
|
5
|
+
border-radius: $borderRadius;
|
|
6
|
+
|
|
7
|
+
&:not(.p-disabled):hover {
|
|
8
|
+
border-color: $inputHoverBorderColor;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:not(.p-disabled).p-focus {
|
|
12
|
+
@include focused-input();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.p-dropdown-clearable {
|
|
16
|
+
.p-dropdown-label {
|
|
17
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-dropdown-label {
|
|
22
|
+
background: transparent;
|
|
23
|
+
border: 0 none;
|
|
24
|
+
|
|
25
|
+
&.p-placeholder {
|
|
26
|
+
color: $inputPlaceholderTextColor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:focus,
|
|
30
|
+
&:enabled:focus {
|
|
31
|
+
outline: 0 none;
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-dropdown-trigger {
|
|
37
|
+
background: transparent;
|
|
38
|
+
color: $inputIconColor;
|
|
39
|
+
width: $inputGroupAddOnMinWidth;
|
|
40
|
+
border-top-right-radius: $borderRadius;
|
|
41
|
+
border-bottom-right-radius: $borderRadius;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.p-dropdown-clear-icon {
|
|
45
|
+
color: $inputIconColor;
|
|
46
|
+
right: $inputGroupAddOnMinWidth;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.p-invalid.p-component {
|
|
50
|
+
@include invalid-input();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-dropdown-panel {
|
|
55
|
+
background: $inputOverlayBg;
|
|
56
|
+
color: $inputListTextColor;
|
|
57
|
+
border: $inputOverlayBorder;
|
|
58
|
+
border-radius: $borderRadius;
|
|
59
|
+
box-shadow: $inputOverlayShadow;
|
|
60
|
+
|
|
61
|
+
.p-dropdown-header {
|
|
62
|
+
padding: $inputListHeaderPadding;
|
|
63
|
+
border-bottom: $inputListHeaderBorder;
|
|
64
|
+
color: $inputListHeaderTextColor;
|
|
65
|
+
background: $inputOverlayHeaderBg;
|
|
66
|
+
margin: $inputListHeaderMargin;
|
|
67
|
+
border-top-right-radius: $borderRadius;
|
|
68
|
+
border-top-left-radius: $borderRadius;
|
|
69
|
+
|
|
70
|
+
.p-dropdown-filter {
|
|
71
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
72
|
+
margin-right: -1 * (nth($inputPadding, 2) + $primeIconFontSize);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.p-dropdown-filter-icon {
|
|
76
|
+
right: nth($inputPadding, 2);
|
|
77
|
+
color: $inputIconColor;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.p-dropdown-items {
|
|
82
|
+
padding: $inputListPadding;
|
|
83
|
+
|
|
84
|
+
.p-dropdown-item {
|
|
85
|
+
margin: $inputListItemMargin;
|
|
86
|
+
padding: $inputListItemPadding;
|
|
87
|
+
border: $inputListItemBorder;
|
|
88
|
+
color: $inputListItemTextColor;
|
|
89
|
+
background: $inputListItemBg;
|
|
90
|
+
transition: $listItemTransition;
|
|
91
|
+
border-radius: $inputListItemBorderRadius;
|
|
92
|
+
|
|
93
|
+
&.p-highlight {
|
|
94
|
+
color: $highlightTextColor;
|
|
95
|
+
background: $highlightBg;
|
|
96
|
+
|
|
97
|
+
&.p-focus {
|
|
98
|
+
background: $highlightFocusBg;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
103
|
+
&.p-focus {
|
|
104
|
+
color: $inputListItemTextFocusColor;
|
|
105
|
+
background: $inputListItemFocusBg;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:hover {
|
|
109
|
+
color: $inputListItemTextHoverColor;
|
|
110
|
+
background: $inputListItemHoverBg;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.p-dropdown-item-group {
|
|
116
|
+
margin: $submenuHeaderMargin;
|
|
117
|
+
padding: $submenuHeaderPadding;
|
|
118
|
+
color: $submenuHeaderTextColor;
|
|
119
|
+
background: $submenuHeaderBg;
|
|
120
|
+
font-weight: $submenuHeaderFontWeight;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.p-dropdown-empty-message {
|
|
124
|
+
padding: $inputListItemPadding;
|
|
125
|
+
color: $inputListItemTextColor;
|
|
126
|
+
background: $inputListItemBg;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.p-input-filled {
|
|
132
|
+
.p-dropdown {
|
|
133
|
+
background: $inputFilledBg;
|
|
134
|
+
|
|
135
|
+
&:not(.p-disabled):hover {
|
|
136
|
+
background-color: $inputFilledHoverBg;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:not(.p-disabled).p-focus {
|
|
140
|
+
background-color: $inputFilledFocusBg;
|
|
141
|
+
|
|
142
|
+
.p-inputtext {
|
|
143
|
+
background-color: transparent;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
|
|
150
|
+
@include invalid-input();
|
|
151
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.p-editor-container {
|
|
2
|
+
.p-editor-toolbar {
|
|
3
|
+
background: $editorToolbarBg;
|
|
4
|
+
border-top-right-radius: $borderRadius;
|
|
5
|
+
border-top-left-radius: $borderRadius;
|
|
6
|
+
|
|
7
|
+
&.ql-snow {
|
|
8
|
+
border: $editorToolbarBorder;
|
|
9
|
+
|
|
10
|
+
.ql-stroke {
|
|
11
|
+
stroke: $editorToolbarIconColor;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ql-fill {
|
|
15
|
+
fill: $editorToolbarIconColor;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ql-picker {
|
|
19
|
+
.ql-picker-label {
|
|
20
|
+
border: 0 none;
|
|
21
|
+
color: $editorToolbarIconColor;
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
color: $editorToolbarIconHoverColor;
|
|
25
|
+
|
|
26
|
+
.ql-stroke {
|
|
27
|
+
stroke: $editorToolbarIconHoverColor;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ql-fill {
|
|
31
|
+
fill: $editorToolbarIconHoverColor;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.ql-expanded {
|
|
37
|
+
.ql-picker-label {
|
|
38
|
+
color: $editorToolbarIconHoverColor;
|
|
39
|
+
|
|
40
|
+
.ql-stroke {
|
|
41
|
+
stroke: $editorToolbarIconHoverColor;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ql-fill {
|
|
45
|
+
fill: $editorToolbarIconHoverColor;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ql-picker-options {
|
|
50
|
+
background: $inputOverlayBg;
|
|
51
|
+
border:$inputOverlayBorder;
|
|
52
|
+
box-shadow:$inputOverlayShadow;
|
|
53
|
+
border-radius: $borderRadius;
|
|
54
|
+
padding: $inputListPadding;
|
|
55
|
+
|
|
56
|
+
.ql-picker-item {
|
|
57
|
+
color: $inputListItemTextColor;
|
|
58
|
+
|
|
59
|
+
&:hover {
|
|
60
|
+
color: $inputListItemTextHoverColor;
|
|
61
|
+
background: $inputListItemHoverBg;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:not(.ql-icon-picker) {
|
|
67
|
+
.ql-picker-item {
|
|
68
|
+
padding: $inputListItemPadding;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.p-editor-content {
|
|
77
|
+
border-bottom-right-radius: $borderRadius;
|
|
78
|
+
border-bottom-left-radius: $borderRadius;
|
|
79
|
+
|
|
80
|
+
&.ql-snow {
|
|
81
|
+
border: $editorContentBorder;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ql-editor {
|
|
85
|
+
background: $inputBg;
|
|
86
|
+
color: $inputTextColor;
|
|
87
|
+
border-bottom-right-radius: $borderRadius;
|
|
88
|
+
border-bottom-left-radius: $borderRadius;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ql-snow.ql-toolbar button:hover,
|
|
93
|
+
.ql-snow.ql-toolbar button:focus {
|
|
94
|
+
color: $editorToolbarIconHoverColor;
|
|
95
|
+
|
|
96
|
+
.ql-stroke {
|
|
97
|
+
stroke: $editorToolbarIconHoverColor;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ql-fill {
|
|
101
|
+
fill: $editorToolbarIconHoverColor;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ql-snow.ql-toolbar button.ql-active,
|
|
106
|
+
.ql-snow.ql-toolbar .ql-picker-label.ql-active,
|
|
107
|
+
.ql-snow.ql-toolbar .ql-picker-item.ql-selected {
|
|
108
|
+
color: $editorIconActiveColor;
|
|
109
|
+
|
|
110
|
+
.ql-stroke {
|
|
111
|
+
stroke: $editorIconActiveColor;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.ql-fill {
|
|
115
|
+
fill: $editorIconActiveColor;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ql-picker-label {
|
|
119
|
+
color: $editorIconActiveColor;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.p-inputgroup-addon {
|
|
2
|
+
background: $inputGroupBg;
|
|
3
|
+
color: $inputGroupTextColor;
|
|
4
|
+
border-top: $inputBorder;
|
|
5
|
+
border-left: $inputBorder;
|
|
6
|
+
border-bottom: $inputBorder;
|
|
7
|
+
padding: $inputPadding;
|
|
8
|
+
min-width: $inputGroupAddOnMinWidth;
|
|
9
|
+
|
|
10
|
+
&:last-child {
|
|
11
|
+
border-right: $inputBorder;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-inputgroup {
|
|
16
|
+
> .p-component,
|
|
17
|
+
> .p-element,
|
|
18
|
+
> .p-inputwrapper > .p-component > .p-inputtext,
|
|
19
|
+
> .p-float-label > .p-component {
|
|
20
|
+
border-radius: 0;
|
|
21
|
+
margin: 0;
|
|
22
|
+
|
|
23
|
+
+ .p-inputgroup-addon {
|
|
24
|
+
border-left: 0 none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:focus {
|
|
28
|
+
z-index: 1;
|
|
29
|
+
|
|
30
|
+
~ label {
|
|
31
|
+
z-index: 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-inputgroup-addon:first-child,
|
|
38
|
+
.p-inputgroup button:first-child,
|
|
39
|
+
.p-inputgroup input:first-child,
|
|
40
|
+
.p-inputgroup > .p-inputwrapper:first-child > .p-component,
|
|
41
|
+
.p-inputgroup > .p-inputwrapper:first-child > .p-component > .p-inputtext {
|
|
42
|
+
border-top-left-radius: $borderRadius;
|
|
43
|
+
border-bottom-left-radius: $borderRadius;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-inputgroup .p-float-label:first-child input {
|
|
47
|
+
border-top-left-radius: $borderRadius;
|
|
48
|
+
border-bottom-left-radius: $borderRadius;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.p-inputgroup-addon:last-child,
|
|
52
|
+
.p-inputgroup button:last-child,
|
|
53
|
+
.p-inputgroup input:last-child,
|
|
54
|
+
.p-inputgroup > .p-inputwrapper:last-child > .p-component,
|
|
55
|
+
.p-inputgroup > .p-inputwrapper:last-child > .p-component > .p-inputtext {
|
|
56
|
+
border-top-right-radius: $borderRadius;
|
|
57
|
+
border-bottom-right-radius: $borderRadius;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-inputgroup .p-float-label:last-child input {
|
|
61
|
+
border-top-right-radius: $borderRadius;
|
|
62
|
+
border-bottom-right-radius: $borderRadius;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-fluid {
|
|
66
|
+
.p-inputgroup {
|
|
67
|
+
.p-button {
|
|
68
|
+
width: auto;
|
|
69
|
+
|
|
70
|
+
&.p-button-icon-only {
|
|
71
|
+
width: $buttonIconOnlyWidth;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
p-inputmask.ng-dirty.ng-invalid > .p-inputtext {
|
|
4
|
+
@include invalid-input();
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
p-inputmask.p-inputmask-clearable {
|
|
8
|
+
.p-inputtext {
|
|
9
|
+
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-inputmask-clear-icon {
|
|
13
|
+
color: $inputIconColor;
|
|
14
|
+
right: nth($inputPadding, 2);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
p-inputnumber.ng-dirty.ng-invalid > .p-inputnumber > .p-inputtext {
|
|
2
|
+
@include invalid-input();
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
p-inputnumber.p-inputnumber-clearable {
|
|
6
|
+
.p-inputnumber-input {
|
|
7
|
+
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.p-inputnumber-clear-icon {
|
|
11
|
+
color: $inputIconColor;
|
|
12
|
+
right: nth($inputPadding, 2);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
p-inputnumber.p-inputnumber-clearable {
|
|
17
|
+
.p-inputnumber-buttons-stacked{
|
|
18
|
+
.p-inputnumber-clear-icon {
|
|
19
|
+
right: $buttonIconOnlyWidth + nth($inputPadding, 2);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-inputnumber-buttons-horizontal{
|
|
24
|
+
.p-inputnumber-clear-icon {
|
|
25
|
+
right: $buttonIconOnlyWidth + nth($inputPadding, 2);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-inputswitch {
|
|
4
|
+
width: $inputSwitchWidth;
|
|
5
|
+
height: $inputSwitchHeight;
|
|
6
|
+
|
|
7
|
+
.p-inputswitch-slider {
|
|
8
|
+
background: $inputSwitchSliderOffBg;
|
|
9
|
+
transition: $formElementTransition;
|
|
10
|
+
border-radius: $inputSwitchBorderRadius;
|
|
11
|
+
|
|
12
|
+
&:before {
|
|
13
|
+
background: $inputSwitchHandleOffBg;
|
|
14
|
+
width: $inputSwitchHandleWidth;
|
|
15
|
+
height: $inputSwitchHandleHeight;
|
|
16
|
+
left: $inputSwitchSliderPadding;
|
|
17
|
+
margin-top: math.div(-1 * $inputSwitchHandleHeight, 2);
|
|
18
|
+
border-radius: $inputSwitchHandleBorderRadius;
|
|
19
|
+
transition-duration: $transitionDuration;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.p-inputswitch-checked {
|
|
24
|
+
.p-inputswitch-slider:before {
|
|
25
|
+
transform: translateX($inputSwitchHandleWidth);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.p-focus {
|
|
30
|
+
.p-inputswitch-slider {
|
|
31
|
+
@include focused();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:not(.p-disabled):hover {
|
|
36
|
+
.p-inputswitch-slider {
|
|
37
|
+
background: $inputSwitchSliderOffHoverBg;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.p-inputswitch-checked {
|
|
42
|
+
.p-inputswitch-slider {
|
|
43
|
+
background: $inputSwitchSliderOnBg;
|
|
44
|
+
|
|
45
|
+
&:before {
|
|
46
|
+
background: $inputSwitchHandleOnBg;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:not(.p-disabled):hover {
|
|
51
|
+
.p-inputswitch-slider {
|
|
52
|
+
background: $inputSwitchSliderOnHoverBg;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
p-inputswitch.ng-dirty.ng-invalid > .p-inputswitch > .p-inputswitch-slider {
|
|
59
|
+
@include invalid-input();
|
|
60
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
.p-inputtext {
|
|
2
|
+
font-family: var(--font-family);
|
|
3
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
|
4
|
+
font-size: $inputTextFontSize;
|
|
5
|
+
color: $inputTextColor;
|
|
6
|
+
background: $inputBg;
|
|
7
|
+
padding: $inputPadding;
|
|
8
|
+
border: $inputBorder;
|
|
9
|
+
transition: $formElementTransition;
|
|
10
|
+
appearance: none;
|
|
11
|
+
border-radius: $borderRadius;
|
|
12
|
+
|
|
13
|
+
&:enabled:hover {
|
|
14
|
+
border-color: $inputHoverBorderColor;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:enabled:focus {
|
|
18
|
+
@include focused-input();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.ng-dirty.ng-invalid {
|
|
22
|
+
@include invalid-input();
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.p-inputtext-sm {
|
|
26
|
+
@include scaledFontSize($inputTextFontSize, $scaleSM);
|
|
27
|
+
@include scaledPadding($inputPadding, $scaleSM);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.p-inputtext-lg {
|
|
31
|
+
@include scaledFontSize($inputTextFontSize, $scaleLG);
|
|
32
|
+
@include scaledPadding($inputPadding, $scaleLG);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-float-label > label {
|
|
37
|
+
left: nth($inputPadding, 2);
|
|
38
|
+
color: $inputPlaceholderTextColor;
|
|
39
|
+
transition-duration: $transitionDuration;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-float-label > .ng-invalid.ng-dirty + label {
|
|
43
|
+
color: $inputErrorBorderColor;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-input-icon-left > .p-icon-wrapper.p-icon,
|
|
47
|
+
.p-input-icon-left > i:first-of-type {
|
|
48
|
+
left: nth($inputPadding, 2);
|
|
49
|
+
color: $inputIconColor;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-input-icon-left > .p-inputtext {
|
|
53
|
+
padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.p-input-icon-left.p-float-label > label {
|
|
57
|
+
left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-input-icon-right > .p-icon-wrapper,
|
|
61
|
+
.p-input-icon-right > i:last-of-type {
|
|
62
|
+
right: nth($inputPadding, 2);
|
|
63
|
+
color: $inputIconColor;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-input-icon-right > .p-inputtext {
|
|
67
|
+
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@include placeholder {
|
|
71
|
+
color: $inputPlaceholderTextColor
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
.p-input-filled {
|
|
75
|
+
.p-inputtext {
|
|
76
|
+
background-color: $inputFilledBg;
|
|
77
|
+
|
|
78
|
+
&:enabled:hover {
|
|
79
|
+
background-color: $inputFilledHoverBg;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:enabled:focus {
|
|
83
|
+
background-color: $inputFilledFocusBg;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-inputtext-sm {
|
|
89
|
+
.p-inputtext {
|
|
90
|
+
@include scaledFontSize($inputTextFontSize, $scaleSM);
|
|
91
|
+
@include scaledPadding($inputPadding, $scaleSM);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-inputtext-lg {
|
|
96
|
+
.p-inputtext {
|
|
97
|
+
@include scaledFontSize($inputTextFontSize, $scaleLG);
|
|
98
|
+
@include scaledPadding($inputPadding, $scaleLG);
|
|
99
|
+
}
|
|
100
|
+
}
|