@covalent/components 0.0.0-COVALENT
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/.babelrc +10 -0
- package/.eslintrc.json +18 -0
- package/.storybook/main.js +34 -0
- package/.storybook/manager-head.html +62 -0
- package/.storybook/manager.js +1 -0
- package/.storybook/preview-head.html +20 -0
- package/.storybook/preview.js +20 -0
- package/README.md +179 -0
- package/component-config.json +313 -0
- package/index.html +288 -0
- package/jest.config.js +18 -0
- package/package.json +315 -0
- package/project.json +104 -0
- package/public/index.scss +1 -0
- package/public/reset.css +128 -0
- package/src/action-ribbon/_action-ribbon.theme.scss +90 -0
- package/src/action-ribbon/action-ribbon-base.ts +164 -0
- package/src/action-ribbon/action-ribbon.scss +20 -0
- package/src/action-ribbon/action-ribbon.spec.ts +11 -0
- package/src/action-ribbon/action-ribbon.stories.js +78 -0
- package/src/action-ribbon/action-ribbon.ts +26 -0
- package/src/alert/_alert.theme.scss +116 -0
- package/src/alert/alert-base.ts +175 -0
- package/src/alert/alert.scss +55 -0
- package/src/alert/alert.spec.ts +26 -0
- package/src/alert/alert.stories.js +76 -0
- package/src/alert/alert.ts +26 -0
- package/src/app-shell/app-shell.scss +387 -0
- package/src/app-shell/app-shell.stories.js +323 -0
- package/src/app-shell/app-shell.ts +388 -0
- package/src/badge/badge.scss +60 -0
- package/src/badge/badge.spec.ts +40 -0
- package/src/badge/badge.stories.js +88 -0
- package/src/badge/badge.ts +122 -0
- package/src/button/Overview.mdx +160 -0
- package/src/button/button.scss +28 -0
- package/src/button/button.spec.ts +11 -0
- package/src/button/button.stories.js +102 -0
- package/src/button/button.ts +17 -0
- package/src/card/card-base.ts +69 -0
- package/src/card/card.scss +45 -0
- package/src/card/card.spec.ts +11 -0
- package/src/card/card.ts +21 -0
- package/src/card/cards.stories.js +40 -0
- package/src/checkbox/checkbox.scss +8 -0
- package/src/checkbox/checkbox.spec.ts +11 -0
- package/src/checkbox/checkbox.stories.js +61 -0
- package/src/checkbox/checkbox.ts +18 -0
- package/src/chips/chip-base.ts +276 -0
- package/src/chips/chip-set-base.ts +184 -0
- package/src/chips/chip-set.scss +15 -0
- package/src/chips/chip-set.spec.ts +11 -0
- package/src/chips/chip-set.ts +27 -0
- package/src/chips/chip.scss +40 -0
- package/src/chips/chip.spec.ts +11 -0
- package/src/chips/chip.ts +26 -0
- package/src/chips/chips.stories.js +81 -0
- package/src/circular-progress/circular-progress.spec.ts +11 -0
- package/src/circular-progress/circular-progress.stories.js +40 -0
- package/src/circular-progress/circular-progress.ts +16 -0
- package/src/code-editor/code-editor.scss +20 -0
- package/src/code-editor/code-editor.spec.ts +11 -0
- package/src/code-editor/code-editor.stories.js +44 -0
- package/src/code-editor/code-editor.theme.ts +199 -0
- package/src/code-editor/code-editor.ts +231 -0
- package/src/code-snippet/code-snippet.scss +126 -0
- package/src/code-snippet/code-snippet.spec.ts +11 -0
- package/src/code-snippet/code-snippet.stories.js +134 -0
- package/src/code-snippet/code-snippet.ts +93 -0
- package/src/data-table/_data-table.theme.scss +39 -0
- package/src/data-table/data-table.stories.js +24 -0
- package/src/data-table/data-table.stories.scss +11 -0
- package/src/dialog/Overview.mdx +39 -0
- package/src/dialog/dialog.scss +17 -0
- package/src/dialog/dialog.spec.ts +11 -0
- package/src/dialog/dialog.stories.js +89 -0
- package/src/dialog/dialog.ts +44 -0
- package/src/drawer/drawer.scss +4 -0
- package/src/drawer/drawer.spec.ts +11 -0
- package/src/drawer/drawer.ts +18 -0
- package/src/empty-state/_empty-state.theme.scss +0 -0
- package/src/empty-state/empty-state.scss +67 -0
- package/src/empty-state/empty-state.spec.ts +11 -0
- package/src/empty-state/empty-state.stories.js +117 -0
- package/src/empty-state/empty-state.ts +61 -0
- package/src/expansion-panel/Overview.mdx +108 -0
- package/src/expansion-panel/expansion-panel-incorrect-example.png +0 -0
- package/src/expansion-panel/expansion-panel-item.scss +243 -0
- package/src/expansion-panel/expansion-panel-item.ts +95 -0
- package/src/expansion-panel/expansion-panel.spec.ts +11 -0
- package/src/expansion-panel/expansion-panel.stories.js +76 -0
- package/src/expansion-panel/expansion-panel.ts +94 -0
- package/src/focused-page/focused-page.scss +113 -0
- package/src/focused-page/focused-page.spec.ts +11 -0
- package/src/focused-page/focused-page.stories.js +167 -0
- package/src/focused-page/focused-page.ts +201 -0
- package/src/formfield/formfield.scss +8 -0
- package/src/formfield/formfield.spec.ts +11 -0
- package/src/formfield/formfield.ts +24 -0
- package/src/full-screen-dialog/full-screen-dialog.scss +37 -0
- package/src/full-screen-dialog/full-screen-dialog.spec.ts +11 -0
- package/src/full-screen-dialog/full-screen-dialog.stories.js +172 -0
- package/src/full-screen-dialog/full-screen-dialog.ts +84 -0
- package/src/icon/_icon-list.ts +316 -0
- package/src/icon/icon-demo.scss +25 -0
- package/src/icon/icon-demo.ts +37 -0
- package/src/icon/icon.spec.ts +11 -0
- package/src/icon/icon.stories.js +55 -0
- package/src/icon/icon.ts +16 -0
- package/src/icon-button/_icon-button.theme.scss +9 -0
- package/src/icon-button/icon-button.scss +12 -0
- package/src/icon-button/icon-button.spec.ts +11 -0
- package/src/icon-button/icon-button.stories.js +24 -0
- package/src/icon-button/icon-button.ts +19 -0
- package/src/icon-button-toggle/icon-button-toggle.scss +19 -0
- package/src/icon-button-toggle/icon-button-toggle.spec.ts +11 -0
- package/src/icon-button-toggle/icon-button-toggle.stories.js +32 -0
- package/src/icon-button-toggle/icon-button-toggle.ts +50 -0
- package/src/icon-checkbox/icon-check-toggle.ts +64 -0
- package/src/icon-checkbox/icon-check.spec.ts +11 -0
- package/src/icon-checkbox/icon-checkbox.scss +95 -0
- package/src/icon-checkbox/icon-checkbox.stories.js +77 -0
- package/src/icon-lockup/icon-lockup.scss +47 -0
- package/src/icon-lockup/icon-lockup.spec.ts +11 -0
- package/src/icon-lockup/icon-lockup.stories.js +93 -0
- package/src/icon-lockup/icon-lockup.ts +125 -0
- package/src/icon-radio/icon-radio-toggle.ts +43 -0
- package/src/icon-radio/icon-radio.scss +63 -0
- package/src/icon-radio/icon-radio.spec.ts +11 -0
- package/src/icon-radio/icon-radio.stories.js +23 -0
- package/src/index.scss +1 -0
- package/src/index.ts +57 -0
- package/src/linear-progress/linear-progress.scss +4 -0
- package/src/linear-progress/linear-progress.spec.ts +11 -0
- package/src/linear-progress/linear-progress.stories.js +43 -0
- package/src/linear-progress/linear-progress.ts +18 -0
- package/src/list/Overview.mdx +91 -0
- package/src/list/_list.theme.scss +100 -0
- package/src/list/check-list-item.spec.ts +11 -0
- package/src/list/check-list-item.ts +25 -0
- package/src/list/list-item.scss +56 -0
- package/src/list/list-item.spec.ts +11 -0
- package/src/list/list-item.ts +31 -0
- package/src/list/list.scss +25 -0
- package/src/list/list.stories.js +120 -0
- package/src/list/list.ts +23 -0
- package/src/list/nav-list-item.scss +159 -0
- package/src/list/nav-list-item.ts +223 -0
- package/src/list/radio-list-item.ts +25 -0
- package/src/menu/menu.scss +3 -0
- package/src/menu/menu.spec.ts +11 -0
- package/src/menu/menu.stories.js +110 -0
- package/src/menu/menu.ts +23 -0
- package/src/notebook-cell/notebook-cell.scss +185 -0
- package/src/notebook-cell/notebook-cell.spec.ts +11 -0
- package/src/notebook-cell/notebook-cell.stories.js +87 -0
- package/src/notebook-cell/notebook-cell.ts +300 -0
- package/src/radio/radio.scss +3 -0
- package/src/radio/radio.spec.ts +11 -0
- package/src/radio/radio.stories.js +56 -0
- package/src/radio/radio.ts +18 -0
- package/src/select/select.scss +16 -0
- package/src/select/select.spec.ts +11 -0
- package/src/select/select.stories.js +57 -0
- package/src/select/select.ts +18 -0
- package/src/side-sheet/side-sheet.scss +49 -0
- package/src/side-sheet/side-sheet.spec.ts +11 -0
- package/src/side-sheet/side-sheet.stories.js +96 -0
- package/src/side-sheet/side-sheet.ts +37 -0
- package/src/skeleton/_skeleton.styles.scss +24 -0
- package/src/skeleton/skeleton.stories.js +77 -0
- package/src/slider/slider-range.ts +16 -0
- package/src/slider/slider.spec.ts +11 -0
- package/src/slider/slider.stories.js +54 -0
- package/src/slider/slider.ts +16 -0
- package/src/snackbar/snackbar.scss +8 -0
- package/src/snackbar/snackbar.spec.ts +11 -0
- package/src/snackbar/snackbar.stories.js +42 -0
- package/src/snackbar/snackbar.ts +18 -0
- package/src/status-dialog/status-dialog.scss +204 -0
- package/src/status-dialog/status-dialog.spec.ts +48 -0
- package/src/status-dialog/status-dialog.stories.js +136 -0
- package/src/status-dialog/status-dialog.ts +188 -0
- package/src/status-header/_status-header.theme.scss +79 -0
- package/src/status-header/status-header-base.ts +42 -0
- package/src/status-header/status-header-item.scss +17 -0
- package/src/status-header/status-header-item.spec.ts +11 -0
- package/src/status-header/status-header-item.ts +32 -0
- package/src/status-header/status-header.scss +57 -0
- package/src/status-header/status-header.spec.ts +11 -0
- package/src/status-header/status-header.stories.js +114 -0
- package/src/status-header/status-header.ts +26 -0
- package/src/switch/switch.scss +17 -0
- package/src/switch/switch.spec.ts +11 -0
- package/src/switch/switch.stories.js +41 -0
- package/src/switch/switch.ts +18 -0
- package/src/tab/Overview.mdx +38 -0
- package/src/tab/tab-bar.spec.ts +11 -0
- package/src/tab/tab-bar.ts +16 -0
- package/src/tab/tab.scss +10 -0
- package/src/tab/tab.spec.ts +11 -0
- package/src/tab/tab.stories.js +30 -0
- package/src/tab/tab.ts +18 -0
- package/src/text-lockup/text-lockup.scss +66 -0
- package/src/text-lockup/text-lockup.spec.ts +11 -0
- package/src/text-lockup/text-lockup.stories.js +67 -0
- package/src/text-lockup/text-lockup.ts +55 -0
- package/src/textarea/textarea.spec.ts +11 -0
- package/src/textarea/textarea.stories.js +39 -0
- package/src/textarea/textarea.ts +19 -0
- package/src/textfield/textfield.scss +34 -0
- package/src/textfield/textfield.spec.ts +11 -0
- package/src/textfield/textfield.stories.js +60 -0
- package/src/textfield/textfield.ts +25 -0
- package/src/theme/_index.scss +46 -0
- package/src/theme/prebuilt/dark-theme.scss +17 -0
- package/src/theme/prebuilt/light-theme.scss +17 -0
- package/src/toolbar/toolbar.scss +37 -0
- package/src/toolbar/toolbar.spec.ts +11 -0
- package/src/toolbar/toolbar.stories.js +66 -0
- package/src/toolbar/toolbar.ts +27 -0
- package/src/tooltip/tooltip.scss +16 -0
- package/src/tooltip/tooltip.spec.ts +11 -0
- package/src/tooltip/tooltip.stories.js +72 -0
- package/src/tooltip/tooltip.ts +185 -0
- package/src/top-app-bar/top-app-bar-fixed.ts +23 -0
- package/src/top-app-bar/top-app-bar.scss +14 -0
- package/src/top-app-bar/top-app-bar.spec.ts +11 -0
- package/src/top-app-bar/top-app-bar.stories.js +41 -0
- package/src/top-app-bar/top-app-bar.ts +23 -0
- package/src/tree-list/tree-list-item.scss +96 -0
- package/src/tree-list/tree-list-item.spec.ts +11 -0
- package/src/tree-list/tree-list-item.ts +87 -0
- package/src/tree-list/tree-list.scss +13 -0
- package/src/tree-list/tree-list.spec.ts +11 -0
- package/src/tree-list/tree-list.stories.js +151 -0
- package/src/tree-list/tree-list.ts +53 -0
- package/src/typography/typography.scss +45 -0
- package/src/typography/typography.spec.ts +11 -0
- package/src/typography/typography.stories.js +23 -0
- package/src/typography/typography.ts +27 -0
- package/stories/Introduction.mdx +47 -0
- package/stories/color-use.mdx +509 -0
- package/stories/demos/dialog.component.html +187 -0
- package/stories/demos/dialog.component.js +57 -0
- package/stories/demos/grid.content.html +99 -0
- package/stories/demos/lorem-ipsum.content.html +338 -0
- package/stories/demos/material-web.content.html +2125 -0
- package/stories/demos/table-column-sorting.content.html +92 -0
- package/stories/demos/table-pagination.content.html +139 -0
- package/stories/demos/table-progress-indicator.content.html +77 -0
- package/stories/demos/table-row-selection.content.html +219 -0
- package/stories/demos/table.content.html +64 -0
- package/stories/demos/top-app-bar.component.js +57 -0
- package/stories/guide-representing-state.mdx +282 -0
- package/stories/info-and-help.mdx +484 -0
- package/stories/item-detail-and-editing.mdx +529 -0
- package/stories/markdown-elements.mdx +194 -0
- package/stories/writing-and-naming.mdx +157 -0
- package/tsconfig.json +34 -0
- package/tsconfig.lib.json +17 -0
- package/tsconfig.spec.json +14 -0
- package/types.d.ts +15 -0
- package/vite.config.js +58 -0
@@ -0,0 +1,484 @@
|
|
1
|
+
import { Meta, DocsContainer } from '@storybook/blocks';
|
2
|
+
|
3
|
+
<Meta
|
4
|
+
title="Guides/Info and help"
|
5
|
+
parameters={{
|
6
|
+
layout: 'fullscreen',
|
7
|
+
previewTabs: {
|
8
|
+
canvas: { hidden: true },
|
9
|
+
},
|
10
|
+
}}
|
11
|
+
/>
|
12
|
+
|
13
|
+
<style>
|
14
|
+
{`
|
15
|
+
.item {
|
16
|
+
display: flex;
|
17
|
+
width: 100%;
|
18
|
+
}
|
19
|
+
.left {
|
20
|
+
width: 30%;
|
21
|
+
}
|
22
|
+
.right {
|
23
|
+
width: 70%;
|
24
|
+
}
|
25
|
+
.cv-alert-container {
|
26
|
+
margin-left: 64px;
|
27
|
+
}
|
28
|
+
.step-title {
|
29
|
+
width: 304px;
|
30
|
+
height: 208px;
|
31
|
+
background-color: #B0BEC5;
|
32
|
+
border-radius: 8px;
|
33
|
+
color: var(--mdc-theme-text-primary-on-background);
|
34
|
+
position: relative;
|
35
|
+
display: flex;
|
36
|
+
flex-direction: column;
|
37
|
+
padding: 16px;
|
38
|
+
margin-left: 180px;
|
39
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.14), 0px 6px 30px rgba(0, 0, 0, 0.12), 0px 8px 10px rgba(0, 0, 0, 0.2);
|
40
|
+
}
|
41
|
+
.triangle {
|
42
|
+
position: absolute;
|
43
|
+
width: 24px;
|
44
|
+
height: 24px;
|
45
|
+
transform: rotate(45deg);
|
46
|
+
left: -13px;
|
47
|
+
top: 104px;
|
48
|
+
background-color: #B0BEC5;
|
49
|
+
border-color: transparent transparent var(--mdc-theme-border) var(--mdc-theme-border);
|
50
|
+
}
|
51
|
+
.toolbar {
|
52
|
+
display: flex;
|
53
|
+
justify-content: space-between;
|
54
|
+
padding: 16px;
|
55
|
+
}
|
56
|
+
.toolbar > div:first-of-type {
|
57
|
+
font-family: var(--mdc-typography-subtitle2-font-family);
|
58
|
+
font-size: var(--mdc-typography-subtitle2-font-size);
|
59
|
+
font-weight: var(--mdc-typography-subtitle2-font-weight);
|
60
|
+
line-height: var(--mdc-typography-subtitle2-line-height);
|
61
|
+
color: var(--mdc-theme-text-primary-on-background);
|
62
|
+
}
|
63
|
+
.action-bar {
|
64
|
+
display: flex;
|
65
|
+
justify-content: space-between;
|
66
|
+
margin-top: 16px;
|
67
|
+
}
|
68
|
+
.action-bar > div:first-of-type {
|
69
|
+
font-family: var(--mdc-typography-body1-font-family);
|
70
|
+
font-size: var(--mdc-typography-body1-font-size);
|
71
|
+
font-weight: var(--mdc-typography-body1-font-weight);
|
72
|
+
line-height: var(--mdc-typography-body1-line-height);
|
73
|
+
color: var(--mdc-theme-text-secondary-on-background);
|
74
|
+
}
|
75
|
+
.chevron-space {
|
76
|
+
margin-right: 16px;
|
77
|
+
}
|
78
|
+
.see-also {
|
79
|
+
width: 272px;
|
80
|
+
height: 40px;
|
81
|
+
border-radius: 8px;
|
82
|
+
background-color: var(--mdc-theme-surface-primary-highlight);
|
83
|
+
padding: 16px;
|
84
|
+
display: flex;
|
85
|
+
flex-direction: column;
|
86
|
+
justify-content: center;
|
87
|
+
margin-top: 16px;
|
88
|
+
}
|
89
|
+
.see-also > div {
|
90
|
+
font-family: var(--mdc-typography-caption-font-family);
|
91
|
+
font-size: var(--mdc-typography-caption-font-size);
|
92
|
+
font-weight: var(--mdc-typography-caption-font-weight);
|
93
|
+
line-height: var(--mdc-typography-caption-line-height);
|
94
|
+
}
|
95
|
+
span {
|
96
|
+
display: flex;
|
97
|
+
align-items: center;
|
98
|
+
}
|
99
|
+
span > cv-icon {
|
100
|
+
font-size: 16px;
|
101
|
+
}
|
102
|
+
.help-window-bg {
|
103
|
+
margin-left: 24px;
|
104
|
+
width: 632px;
|
105
|
+
height: 560px;
|
106
|
+
border-radius: 8px;
|
107
|
+
border: solid 1px var(--mdc-theme-border);
|
108
|
+
position: relative;
|
109
|
+
}
|
110
|
+
.help-window {
|
111
|
+
width: 360px;
|
112
|
+
height: 544px;
|
113
|
+
border: solid 1px var(--mdc-theme-border);
|
114
|
+
border-bottom: none;
|
115
|
+
background-color: var(--mdc-theme-surface);
|
116
|
+
position: absolute;
|
117
|
+
right: 16px;
|
118
|
+
bottom: 0;
|
119
|
+
border-radius: 8px;
|
120
|
+
border-bottom-left-radius: 0;
|
121
|
+
border-bottom-right-radius: 0;
|
122
|
+
overflow: hidden;
|
123
|
+
}
|
124
|
+
.help-window-crumbs {
|
125
|
+
font-size: 12px;
|
126
|
+
}
|
127
|
+
.help-window-title {
|
128
|
+
font-family: var(--mdc-typography-headline5-font-family);
|
129
|
+
font-size: var(--mdc-typography-headline5-font-size);
|
130
|
+
font-weight: var(--mdc-typography-headline5-font-weight);
|
131
|
+
line-height: var(--mdc-typography-headline5-line-height);
|
132
|
+
color: var(--mdc-theme-text-primary-on-background);
|
133
|
+
margin-bottom: 8px;
|
134
|
+
}
|
135
|
+
.photo {
|
136
|
+
width: 328px;
|
137
|
+
height: 213px;
|
138
|
+
background-color: var(--mdc-theme-border);
|
139
|
+
border-radius: 8px;
|
140
|
+
margin: 16px auto;
|
141
|
+
}
|
142
|
+
.skeleton-text {
|
143
|
+
color: var(--mdc-theme-border) !important;
|
144
|
+
letter-spacing: 0 !important;
|
145
|
+
}
|
146
|
+
.icon-container {
|
147
|
+
display: flex;
|
148
|
+
gap: 16px;
|
149
|
+
}
|
150
|
+
#title {
|
151
|
+
font-family: var(--mdc-typography-headline6-font-family);
|
152
|
+
font-size: var(--mdc-typography-headline6-font-size);
|
153
|
+
font-weight: var(--mdc-typography-headline6-font-weight);
|
154
|
+
line-height: var(--mdc-typography-headline6-line-height);
|
155
|
+
color: var(--mdc-theme-text-primary-on-background);
|
156
|
+
}
|
157
|
+
.sbdocs hr {
|
158
|
+
margin-top: 0px;
|
159
|
+
padding-bottom: 0;
|
160
|
+
}
|
161
|
+
.card {
|
162
|
+
margin-left: 64px;
|
163
|
+
border-radius: 8px;
|
164
|
+
border-bottom-left-radius: 0;
|
165
|
+
border-bottom-right-radius: 0;
|
166
|
+
border: solid 1px var(--mdc-theme-border);
|
167
|
+
border-bottom: none;
|
168
|
+
background: linear-gradient(to bottom, var(--mdc-theme-surface), var(--mdc-theme-background));
|
169
|
+
}
|
170
|
+
.card-content {
|
171
|
+
padding: 16px;
|
172
|
+
}
|
173
|
+
cv-textfield {
|
174
|
+
margin-left: 60px;
|
175
|
+
width: 560px;
|
176
|
+
}
|
177
|
+
.relative {
|
178
|
+
position: relative;
|
179
|
+
}
|
180
|
+
.helper-text {
|
181
|
+
position: absolute;
|
182
|
+
bottom: -24px;
|
183
|
+
left: 76px;
|
184
|
+
font-family: var(--mdc-typography-caption-font-family);
|
185
|
+
font-size: var(--mdc-typography-caption-font-size);
|
186
|
+
font-weight: var(--mdc-typography-caption-font-weight);
|
187
|
+
line-height: var(--mdc-typography-caption-line-height);
|
188
|
+
}
|
189
|
+
.helper-text-error {
|
190
|
+
bottom: 16px;
|
191
|
+
color: var(--mdc-theme-error);
|
192
|
+
}
|
193
|
+
.textfield-neutral {
|
194
|
+
--mdc-text-field-outlined-hover-border-color: var(--mdc-theme-border);
|
195
|
+
--mdc-text-field-fill-color: var(--mdc-theme-border);
|
196
|
+
--mdc-text-field-idle-line-color: var(--mdc-theme-border);
|
197
|
+
--mdc-text-field-hover-line-color: var(--mdc-theme-border);
|
198
|
+
--mdc-text-field-outlined-idle-border-color: var(--mdc-theme-border);
|
199
|
+
--mdc-text-field-focused-label-color: var(--mdc-theme-border);
|
200
|
+
--mdc-theme-primary: var(--mdc-theme-text-secondary-on-background);
|
201
|
+
--mdc-notched-outline-stroke-width: 2px;
|
202
|
+
}
|
203
|
+
.textfield-error {
|
204
|
+
--mdc-text-field-outlined-hover-border-color: var(--mdc-theme-error);
|
205
|
+
--mdc-text-field-fill-color: var(--mdc-theme-error);
|
206
|
+
--mdc-text-field-idle-line-color: var(--mdc-theme-error);
|
207
|
+
--mdc-text-field-hover-line-color: var(--mdc-theme-error);
|
208
|
+
--mdc-text-field-outlined-idle-border-color: var(--mdc-theme-error);
|
209
|
+
--mdc-text-field-focused-label-color: var(--mdc-theme-error);
|
210
|
+
--mdc-theme-primary: var(--mdc-theme-error);
|
211
|
+
--mdc-text-field-label-ink-color: var(--mdc-theme-error);
|
212
|
+
--mdc-notched-outline-stroke-width: 2px;
|
213
|
+
}
|
214
|
+
.no-padding {
|
215
|
+
padding: 0 0 16px 0;
|
216
|
+
}
|
217
|
+
.top-margin {
|
218
|
+
margin-top: 8px;
|
219
|
+
}
|
220
|
+
`}
|
221
|
+
</style>
|
222
|
+
|
223
|
+
# Info & help
|
224
|
+
|
225
|
+
## General guidance (always visible)
|
226
|
+
|
227
|
+
### Applies to the whole page
|
228
|
+
|
229
|
+
###### Guided tour
|
230
|
+
|
231
|
+
<div class="item">
|
232
|
+
<div class="left">
|
233
|
+
<div>
|
234
|
+
Take the user on a brief tour of the UI to help acclimate them to the
|
235
|
+
interface.
|
236
|
+
</div>
|
237
|
+
|
238
|
+
<div class="see-also">
|
239
|
+
<div>See also</div>
|
240
|
+
|
241
|
+
<span>
|
242
|
+
Features <cv-icon>chevron\_right</cv-icon>
|
243
|
+
|
244
|
+
<a href="https://www.figma.com/file/tDTc1JQZByIK0Igi6p1uky/Guided-tours?node-id=0%3A1" target="_blank">
|
245
|
+
Guided tours
|
246
|
+
</a>
|
247
|
+
</span>
|
248
|
+
</div>
|
249
|
+
|
250
|
+
</div>
|
251
|
+
|
252
|
+
<div class="step-title right">
|
253
|
+
<div class="toolbar no-padding">
|
254
|
+
<div>Step title</div>
|
255
|
+
|
256
|
+
<div>
|
257
|
+
<cv-icon>close</cv-icon>
|
258
|
+
</div>
|
259
|
+
</div>
|
260
|
+
|
261
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mi imperdiet dignissim
|
262
|
+
quam lacus vitae tincidunt sagittis. Aliquet ullamcorper congue arcu a, tempus
|
263
|
+
fringilla tellus imperdiet.
|
264
|
+
|
265
|
+
<div class="action-bar">
|
266
|
+
<div>2/4</div>
|
267
|
+
|
268
|
+
<div>
|
269
|
+
<cv-icon class="chevron-space">chevron\_left</cv-icon>
|
270
|
+
<cv-icon>chevron\_right</cv-icon>
|
271
|
+
</div>
|
272
|
+
</div>
|
273
|
+
|
274
|
+
<div class="triangle" />
|
275
|
+
|
276
|
+
</div>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
###### Help window
|
280
|
+
|
281
|
+
<div class="item">
|
282
|
+
<div class="left">
|
283
|
+
<div>Allow the user to toggle extra help on and off as needed.</div>
|
284
|
+
|
285
|
+
<div class="see-also">
|
286
|
+
<div>See also</div>
|
287
|
+
|
288
|
+
<span>
|
289
|
+
Features <cv-icon>chevron\_right</cv-icon>{" "}
|
290
|
+
|
291
|
+
<a href="https://www.figma.com/file/z3w5qXeAISPmBr4IOLAJ38/In-product-help?node-id=0%3A1" target="_blank">
|
292
|
+
In-product help
|
293
|
+
</a>
|
294
|
+
</span>
|
295
|
+
</div>
|
296
|
+
|
297
|
+
</div>
|
298
|
+
|
299
|
+
<div class="right">
|
300
|
+
<div class="help-window-bg">
|
301
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
302
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
303
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
304
|
+
|
305
|
+
<br />
|
306
|
+
|
307
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
308
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
309
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
310
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
311
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
312
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
313
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
314
|
+
<div class="skeleton-text">Filler text filler text fil</div>
|
315
|
+
|
316
|
+
<br />
|
317
|
+
|
318
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
319
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
320
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
321
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
322
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
323
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
324
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
325
|
+
<div class="skeleton-text">Filler text fil</div>
|
326
|
+
|
327
|
+
<br />
|
328
|
+
|
329
|
+
<div class="skeleton-text">Filler text filler text filler text filler text filler text filler text fi</div>
|
330
|
+
|
331
|
+
<div class="help-window">
|
332
|
+
<div class="toolbar">
|
333
|
+
<div id="title">Help</div>
|
334
|
+
|
335
|
+
<div class="icon-container">
|
336
|
+
<cv-icon>expand\_more</cv-icon>
|
337
|
+
<cv-icon>open\_in\_new</cv-icon>
|
338
|
+
<cv-icon>square</cv-icon>
|
339
|
+
<cv-icon>close</cv-icon>
|
340
|
+
</div>
|
341
|
+
</div>
|
342
|
+
|
343
|
+
<hr />
|
344
|
+
|
345
|
+
<div class="card-content">
|
346
|
+
<span class="help-window-crumbs">
|
347
|
+
All topics <cv-icon>chevron\_right</cv-icon> Developer
|
348
|
+
<cv-icon>chevron\_right</cv-icon>
|
349
|
+
</span>
|
350
|
+
|
351
|
+
<div class="help-window-title">
|
352
|
+
Cras adipiscing tempus ornare purus vel.
|
353
|
+
</div>
|
354
|
+
</div>
|
355
|
+
|
356
|
+
<hr />
|
357
|
+
|
358
|
+
<div class="card-content">
|
359
|
+
<div id="title" class="top-margin">
|
360
|
+
Ultricies nunc massa, id ut felis sed varius accumsan platea.
|
361
|
+
</div>
|
362
|
+
|
363
|
+
<div class="photo" />
|
364
|
+
|
365
|
+
<div>Cras libero tempor pellentesque vitae eget.</div>
|
366
|
+
</div>
|
367
|
+
</div>
|
368
|
+
</div>
|
369
|
+
|
370
|
+
</div>
|
371
|
+
</div>
|
372
|
+
|
373
|
+
### Applies to part of the page
|
374
|
+
|
375
|
+
###### Text directly in the page
|
376
|
+
|
377
|
+
<div class="item">
|
378
|
+
<div class="left">Short explanations directly in the body of the page.</div>
|
379
|
+
|
380
|
+
<div class="right">
|
381
|
+
<div class="card">
|
382
|
+
<div class="toolbar skeleton-text">Filler text</div>
|
383
|
+
|
384
|
+
<hr />
|
385
|
+
|
386
|
+
<div class="card-content">
|
387
|
+
Configure which roles and groups have permission to create their own
|
388
|
+
workspace in this site.{' '}
|
389
|
+
|
390
|
+
<a href="https://www.teradata.com" target="_blank" class="anchor-resize">
|
391
|
+
Learn more
|
392
|
+
</a>
|
393
|
+
</div>
|
394
|
+
</div>
|
395
|
+
|
396
|
+
</div>
|
397
|
+
</div>
|
398
|
+
|
399
|
+
### An individual form field
|
400
|
+
|
401
|
+
###### Form field hint
|
402
|
+
|
403
|
+
<div class="item">
|
404
|
+
<div class="left">
|
405
|
+
Display your message directly adjacent to the field itself.
|
406
|
+
</div>
|
407
|
+
|
408
|
+
<div class="right relative">
|
409
|
+
<cv-textfield type="password" class="textfield-neutral" outlined value="aaaaaaaaaa" label="Password" />
|
410
|
+
|
411
|
+
<div class="helper-text">
|
412
|
+
8 – 12 characters long, containing at least one letter and one number
|
413
|
+
</div>
|
414
|
+
|
415
|
+
</div>
|
416
|
+
</div>
|
417
|
+
|
418
|
+
## Temporary guidance
|
419
|
+
|
420
|
+
### Applies to the whole page
|
421
|
+
|
422
|
+
###### Page-level alert
|
423
|
+
|
424
|
+
<div class="item">
|
425
|
+
<div class="left">
|
426
|
+
Use a page-level alert to give feedback that’s not specifically related to
|
427
|
+
any one item or region.
|
428
|
+
</div>
|
429
|
+
|
430
|
+
<div class="right cv-alert-container">
|
431
|
+
<cv-alert titleText="Alert title" descriptionText="Alert description" state="caution" icon="warning">
|
432
|
+
<cv-icon-button slot="action-items" icon="close" />
|
433
|
+
</cv-alert>
|
434
|
+
</div>
|
435
|
+
</div>
|
436
|
+
|
437
|
+
### Applies to part of a page, or a dialog
|
438
|
+
|
439
|
+
###### Inline alert
|
440
|
+
|
441
|
+
<div class="item">
|
442
|
+
<div class="left">
|
443
|
+
An inline alert allows more specific messaging about a smaller region of a
|
444
|
+
page, or a modal dialog or sheet.
|
445
|
+
</div>
|
446
|
+
|
447
|
+
<div class="right">
|
448
|
+
<div class="card">
|
449
|
+
<div id="title" class="toolbar">
|
450
|
+
Card title
|
451
|
+
</div>
|
452
|
+
|
453
|
+
<hr />
|
454
|
+
|
455
|
+
<div>
|
456
|
+
<cv-alert titleText="Alert title" descriptionText="Alert description" state="caution" icon="warning" inline>
|
457
|
+
<cv-icon-button slot="action-items" icon="close" />
|
458
|
+
</cv-alert>
|
459
|
+
</div>
|
460
|
+
</div>
|
461
|
+
|
462
|
+
</div>
|
463
|
+
</div>
|
464
|
+
|
465
|
+
### An individual form field
|
466
|
+
|
467
|
+
###### Form field hint
|
468
|
+
|
469
|
+
<div class="item">
|
470
|
+
<div class="left">
|
471
|
+
Display your message directly adjacent to the field itself. In the case of
|
472
|
+
errors and warnings, the form field also changes state to draw attention to
|
473
|
+
itself.
|
474
|
+
</div>
|
475
|
+
|
476
|
+
<div class="right relative">
|
477
|
+
<cv-textfield type="password" class="textfield-error" outlined value="aaaaaaaaaa" label="Password" />
|
478
|
+
|
479
|
+
<div class="helper-text helper-text-error">
|
480
|
+
8 – 12 characters long, containing at least one letter and one number
|
481
|
+
</div>
|
482
|
+
|
483
|
+
</div>
|
484
|
+
</div>
|