@vectara/vectara-ui 19.6.0 → 20.1.0
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/components/accordion/_index.scss +1 -1
- package/lib/components/button/buttonSecondary.scss +5 -5
- package/lib/components/callout/_index.scss +10 -10
- package/lib/components/card/_index.scss +0 -1
- package/lib/components/chat/_index.scss +2 -2
- package/lib/components/chip/_index.scss +1 -1
- package/lib/components/complexConfigurationButton/_index.scss +1 -1
- package/lib/components/context/Theme.d.ts +20 -22
- package/lib/components/context/Theme.js +56 -57
- package/lib/components/flex/FlexContainer.d.ts +4 -26
- package/lib/components/flex/types.d.ts +6 -0
- package/lib/components/flex/types.js +10 -0
- package/lib/components/form/superCheckboxGroup/_index.scss +1 -1
- package/lib/components/form/superRadioGroup/_index.scss +1 -1
- package/lib/components/icon/_index.scss +10 -10
- package/lib/components/image/_index.scss +1 -1
- package/lib/components/list/_index.scss +1 -1
- package/lib/components/menu/_index.scss +3 -3
- package/lib/components/optionsList/_index.scss +6 -6
- package/lib/components/patch/VuiPatch.d.ts +1 -1
- package/lib/components/patch/VuiPatch.js +5 -0
- package/lib/components/patch/_index.scss +2 -1
- package/lib/components/popover/Popover.d.ts +4 -1
- package/lib/components/popover/Popover.js +4 -2
- package/lib/components/progressBar/_index.scss +5 -5
- package/lib/components/prompt/_index.scss +2 -2
- package/lib/components/searchInput/_index.scss +1 -1
- package/lib/components/skeleton/_index.scss +5 -5
- package/lib/components/status/Status.d.ts +4 -1
- package/lib/components/status/Status.js +2 -2
- package/lib/components/steps/_index.scss +3 -3
- package/lib/components/summary/_index.scss +1 -1
- package/lib/components/tabs/_open.scss +1 -1
- package/lib/styles/index.css +81 -57
- package/package.json +1 -1
- package/src/docs/pages/colorPalette/NeutralColors.tsx +1 -4
- package/src/docs/pages/colorPalette/SemanticColors.tsx +10 -10
- package/src/docs/pages/patch/Sizes.tsx +1 -1
- package/src/docs/pages/popover/Popover.tsx +1 -0
- package/src/docs/pages/status/Status.tsx +44 -2
|
@@ -9,40 +9,40 @@ const families = [
|
|
|
9
9
|
name: "Accent",
|
|
10
10
|
swatches: [
|
|
11
11
|
{ name: "Shade", cssVariable: "--vui-color-accent-shade", value: "#5f30c3" },
|
|
12
|
-
{ name: "
|
|
13
|
-
{ name: "
|
|
12
|
+
{ name: "Border", cssVariable: "--vui-color-accent-border", value: "50% opacity" },
|
|
13
|
+
{ name: "Background", cssVariable: "--vui-color-accent-background", value: "#eee7ff" }
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
name: "Primary",
|
|
18
18
|
swatches: [
|
|
19
19
|
{ name: "Shade", cssVariable: "--vui-color-primary-shade", value: "#045dda" },
|
|
20
|
-
{ name: "
|
|
21
|
-
{ name: "
|
|
20
|
+
{ name: "Border", cssVariable: "--vui-color-primary-border", value: "50% opacity" },
|
|
21
|
+
{ name: "Background", cssVariable: "--vui-color-primary-background", value: "#f1f7ff" }
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
name: "Success",
|
|
26
26
|
swatches: [
|
|
27
27
|
{ name: "Shade", cssVariable: "--vui-color-success-shade", value: "#249719" },
|
|
28
|
-
{ name: "
|
|
29
|
-
{ name: "
|
|
28
|
+
{ name: "Border", cssVariable: "--vui-color-success-border", value: "50% opacity" },
|
|
29
|
+
{ name: "Background", cssVariable: "--vui-color-success-background", value: "#e2f2e0" }
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
name: "Warning",
|
|
34
34
|
swatches: [
|
|
35
35
|
{ name: "Shade", cssVariable: "--vui-color-warning-shade", value: "#a86f1b" },
|
|
36
|
-
{ name: "
|
|
37
|
-
{ name: "
|
|
36
|
+
{ name: "Border", cssVariable: "--vui-color-warning-border", value: "50% opacity" },
|
|
37
|
+
{ name: "Background", cssVariable: "--vui-color-warning-background", value: "#ffeed4" }
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
name: "Danger",
|
|
42
42
|
swatches: [
|
|
43
43
|
{ name: "Shade", cssVariable: "--vui-color-danger-shade", value: "#d22d2d" },
|
|
44
|
-
{ name: "
|
|
45
|
-
{ name: "
|
|
44
|
+
{ name: "Border", cssVariable: "--vui-color-danger-border", value: "50% opacity" },
|
|
45
|
+
{ name: "Background", cssVariable: "--vui-color-danger-background", value: "#fff1f1" }
|
|
46
46
|
]
|
|
47
47
|
}
|
|
48
48
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VuiSpacer, VuiStatus } from "../../../lib";
|
|
1
|
+
import { VuiSpacer, VuiStatus, VuiTitle } from "../../../lib";
|
|
2
2
|
|
|
3
3
|
export const Status = () => {
|
|
4
4
|
return (
|
|
@@ -17,7 +17,49 @@ export const Status = () => {
|
|
|
17
17
|
|
|
18
18
|
<VuiStatus status="info" label="Info" />
|
|
19
19
|
|
|
20
|
-
<VuiSpacer size="
|
|
20
|
+
<VuiSpacer size="l" />
|
|
21
|
+
|
|
22
|
+
<div style={{ width: "300px" }}>
|
|
23
|
+
<VuiTitle size="s">
|
|
24
|
+
<h3>Multiline message</h3>
|
|
25
|
+
</VuiTitle>
|
|
26
|
+
|
|
27
|
+
<VuiSpacer size="m" />
|
|
28
|
+
|
|
29
|
+
<VuiStatus
|
|
30
|
+
status="error"
|
|
31
|
+
label="A multiline error message. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis placerat sem, ut mattis sapien."
|
|
32
|
+
gap="l"
|
|
33
|
+
align="start"
|
|
34
|
+
/>
|
|
35
|
+
|
|
36
|
+
<VuiSpacer size="m" />
|
|
37
|
+
|
|
38
|
+
<VuiStatus
|
|
39
|
+
status="warning"
|
|
40
|
+
label="A multiline warning message. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis placerat sem, ut mattis sapien."
|
|
41
|
+
gap="l"
|
|
42
|
+
align="start"
|
|
43
|
+
/>
|
|
44
|
+
|
|
45
|
+
<VuiSpacer size="m" />
|
|
46
|
+
|
|
47
|
+
<VuiStatus
|
|
48
|
+
status="success"
|
|
49
|
+
label="A multiline success message. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis placerat sem, ut mattis sapien."
|
|
50
|
+
gap="l"
|
|
51
|
+
align="start"
|
|
52
|
+
/>
|
|
53
|
+
|
|
54
|
+
<VuiSpacer size="m" />
|
|
55
|
+
|
|
56
|
+
<VuiStatus
|
|
57
|
+
status="info"
|
|
58
|
+
label="A multiline info message. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis placerat sem, ut mattis sapien."
|
|
59
|
+
gap="l"
|
|
60
|
+
align="start"
|
|
61
|
+
/>
|
|
62
|
+
</div>
|
|
21
63
|
</>
|
|
22
64
|
);
|
|
23
65
|
};
|