@webitel/styleguide 24.12.82 → 24.12.84
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/package.json +1 -1
- package/src/lib/primevue/components/index.ts +2 -0
- package/src/lib/primevue/components/textarea/colors/dark/index.ts +24 -0
- package/src/lib/primevue/components/textarea/colors/index.ts +9 -0
- package/src/lib/primevue/components/textarea/colors/light/index.ts +24 -0
- package/src/lib/primevue/components/textarea/index.ts +9 -0
- package/src/lib/primevue/components/textarea/sizes/index.ts +26 -0
- package/src/lib/primevue/semantic/color-scheme/dark-color.ts +3 -2
- package/src/lib/primevue/semantic/color-scheme/form-field/dark/index.ts +4 -4
- package/src/lib/primevue/semantic/color-scheme/form-field/light/index.ts +4 -4
- package/src/lib/primevue/semantic/color-scheme/light-color.ts +3 -2
- package/src/lib/primevue/semantic/sizes/form-field/index.ts +1 -1
- package/src/lib/primevue/semantic/sizes/player/index.ts +1 -0
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@ import ToolbarScheme from './toolbar';
|
|
|
7
7
|
import ChipScheme from "./chip";
|
|
8
8
|
import CheckboxScheme from "./checkbox";
|
|
9
9
|
import TableScheme from "./table";
|
|
10
|
+
import TextareaScheme from "./textarea";
|
|
10
11
|
import SwitcherScheme from "./switcher";
|
|
11
12
|
import DividerScheme from "./divider";
|
|
12
13
|
import SliderScheme from "./slider";
|
|
@@ -24,6 +25,7 @@ export {
|
|
|
24
25
|
ChipScheme,
|
|
25
26
|
CheckboxScheme,
|
|
26
27
|
TableScheme,
|
|
28
|
+
TextareaScheme,
|
|
27
29
|
SwitcherScheme,
|
|
28
30
|
DividerScheme,
|
|
29
31
|
SliderScheme,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
color: '{form.field.color}',
|
|
13
|
+
disabledColor: '{form.field.disabled.color}',
|
|
14
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
15
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
16
|
+
shadow: '{form.field.shadow}',
|
|
17
|
+
focusRing: {
|
|
18
|
+
color: '{form.field.focus.ring.color}',
|
|
19
|
+
shadow: '{form.field.focus.ring.shadow}'
|
|
20
|
+
},
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default darkColors
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
color: '{form.field.color}',
|
|
13
|
+
disabledColor: '{form.field.disabled.color}',
|
|
14
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
15
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
16
|
+
shadow: '{form.field.shadow}',
|
|
17
|
+
focusRing: {
|
|
18
|
+
color: '{form.field.focus.ring.color}',
|
|
19
|
+
shadow: '{form.field.focus.ring.shadow}'
|
|
20
|
+
},
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default lightColors
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
root: {
|
|
3
|
+
paddingX: '{form.field.padding.x}',
|
|
4
|
+
paddingY: '{form.field.padding.y}',
|
|
5
|
+
borderRadius: '{form.field.border.radius}',
|
|
6
|
+
minHeight: '6.25rem',
|
|
7
|
+
focusRing: {
|
|
8
|
+
width: '{form.field.focus.ring.width}',
|
|
9
|
+
style: '{form.field.focus.ring.style}',
|
|
10
|
+
offset: '{form.field.focus.ring.offset}',
|
|
11
|
+
},
|
|
12
|
+
transitionDuration: '{form.field.transition.duration}',
|
|
13
|
+
sm: {
|
|
14
|
+
fontSize: '{form.field.sm.font.size}',
|
|
15
|
+
paddingX: '{form.field.sm.padding.x}',
|
|
16
|
+
paddingY: '{form.field.sm.padding.y}'
|
|
17
|
+
},
|
|
18
|
+
lg: {
|
|
19
|
+
fontSize: '{form.field.lg.font.size}',
|
|
20
|
+
paddingX: '{form.field.lg.padding.x}',
|
|
21
|
+
paddingY: '{form.field.lg.padding.y}'
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default sizes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
formField: {
|
|
3
|
-
background: '{
|
|
4
|
-
disabledBackground: '{surface.
|
|
3
|
+
background: '{content.background}',
|
|
4
|
+
disabledBackground: '{surface.750}',
|
|
5
5
|
filledBackground: '{surface.800}',
|
|
6
6
|
filledHoverBackground: '{surface.800}',
|
|
7
7
|
filledFocusBackground: '{surface.800}',
|
|
@@ -12,12 +12,12 @@ export default {
|
|
|
12
12
|
color: '{surface.0}',
|
|
13
13
|
disabledColor: '{surface.400}',
|
|
14
14
|
placeholderColor: '{surface.400}',
|
|
15
|
-
invalidPlaceholderColor: '{
|
|
15
|
+
invalidPlaceholderColor: '{error.color}',
|
|
16
16
|
floatLabelColor: '{surface.400}',
|
|
17
17
|
floatLabelFocusColor: '{primary.color}',
|
|
18
18
|
floatLabelActiveColor: '{surface.400}',
|
|
19
19
|
floatLabelInvalidColor: '{form.field.invalid.placeholder.color}',
|
|
20
|
-
iconColor: '{
|
|
20
|
+
iconColor: '{text.color}',
|
|
21
21
|
shadow: '0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)'
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
formField: {
|
|
3
|
-
background: '{
|
|
4
|
-
disabledBackground: '{surface.
|
|
3
|
+
background: '{content.background}',
|
|
4
|
+
disabledBackground: '{surface.100}',
|
|
5
5
|
filledBackground: '{surface.50}',
|
|
6
6
|
filledHoverBackground: '{surface.50}',
|
|
7
7
|
filledFocusBackground: '{surface.50}',
|
|
@@ -12,12 +12,12 @@ export default {
|
|
|
12
12
|
color: '{surface.700}',
|
|
13
13
|
disabledColor: '{surface.500}',
|
|
14
14
|
placeholderColor: '{surface.500}',
|
|
15
|
-
invalidPlaceholderColor: '{
|
|
15
|
+
invalidPlaceholderColor: '{error.color}',
|
|
16
16
|
floatLabelColor: '{surface.500}',
|
|
17
17
|
floatLabelFocusColor: '{primary.600}',
|
|
18
18
|
floatLabelActiveColor: '{surface.500}',
|
|
19
19
|
floatLabelInvalidColor: '{form.field.invalid.placeholder.color}',
|
|
20
|
-
iconColor: '{
|
|
20
|
+
iconColor: '{text.color}',
|
|
21
21
|
shadow: '0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)'
|
|
22
22
|
}
|
|
23
23
|
}
|