@indico-data/design-system 2.30.0 → 2.30.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/lib/index.css +11 -1
- package/lib/index.esm.css +11 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/floatUI/styles/FloatUI.scss +3 -3
- package/src/components/forms/form/styles/Form.scss +8 -0
- package/src/components/forms/textarea/Textarea.tsx +3 -0
- package/src/components/pill/Pill.stories.tsx +10 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
|
|
1
|
+
@import 'variables.scss';
|
|
3
2
|
.floatui-container {
|
|
4
3
|
z-index: 99;
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
.floatui-content {
|
|
8
7
|
border-radius: var(--pf-floatui-border-radius);
|
|
9
|
-
border:
|
|
8
|
+
border: solid 1px;
|
|
9
|
+
border-color: var(--pf-floatui-border-color);
|
|
10
10
|
background: var(--pf-floatui-background-color);
|
|
11
11
|
}
|
|
@@ -41,6 +41,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
|
|
|
41
41
|
form,
|
|
42
42
|
maxLength,
|
|
43
43
|
autofocus,
|
|
44
|
+
defaultValue,
|
|
44
45
|
...rest
|
|
45
46
|
},
|
|
46
47
|
ref,
|
|
@@ -70,6 +71,8 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
|
|
|
70
71
|
aria-invalid={hasErrors ? true : undefined}
|
|
71
72
|
aria-describedby={hasErrors || helpText ? `${name}-helper` : undefined}
|
|
72
73
|
aria-required={isRequired}
|
|
74
|
+
value={value}
|
|
75
|
+
defaultValue={defaultValue}
|
|
73
76
|
{...rest}
|
|
74
77
|
/>
|
|
75
78
|
</div>
|
|
@@ -6,6 +6,15 @@ const meta: Meta = {
|
|
|
6
6
|
title: 'Components/Pill',
|
|
7
7
|
component: Pill,
|
|
8
8
|
argTypes: {
|
|
9
|
+
className: {
|
|
10
|
+
control: false,
|
|
11
|
+
table: {
|
|
12
|
+
category: 'Props',
|
|
13
|
+
type: {
|
|
14
|
+
summary: 'css class name',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
9
18
|
children: {
|
|
10
19
|
control: 'text',
|
|
11
20
|
description: 'The content displayed inside the pill',
|
|
@@ -16,7 +25,7 @@ const meta: Meta = {
|
|
|
16
25
|
},
|
|
17
26
|
},
|
|
18
27
|
},
|
|
19
|
-
|
|
28
|
+
color: {
|
|
20
29
|
control: {
|
|
21
30
|
type: 'select',
|
|
22
31
|
options: ['success', 'warning', 'error', 'info', 'neutral', 'primary', 'secondary'],
|