@innovaccer/design-system 4.1.0 → 4.3.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/CHANGELOG.md +102 -1
- package/css/dist/index.css +316 -196
- package/css/dist/index.css.map +1 -1
- package/css/gulpfile.js +9 -0
- package/css/src/components/avatarSelection.module.css +3 -3
- package/css/src/components/chatBubble.module.css +53 -0
- package/css/src/components/chatSeparator.module.css +23 -0
- package/css/src/components/meter.module.css +39 -0
- package/dist/brotli/index.js +1 -1
- package/dist/brotli/index.js.br +0 -0
- package/dist/cjs/index.js +1 -1
- package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +2 -0
- package/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts +1 -0
- package/dist/core/components/atoms/avatarSelection/AvatarSelection.d.ts +2 -0
- package/dist/core/components/atoms/meter/Meter.d.ts +64 -0
- package/dist/core/components/atoms/meter/Step.d.ts +21 -0
- package/dist/core/components/atoms/meter/index.d.ts +2 -0
- package/dist/core/components/atoms/meter/useMeterValues.d.ts +9 -0
- package/dist/core/components/molecules/chat/Chat.d.ts +17 -0
- package/dist/core/components/molecules/chat/chatBubble/ChatBubble.d.ts +16 -0
- package/dist/core/components/molecules/chat/chatBubble/IncomingBubble.d.ts +26 -0
- package/dist/core/components/molecules/chat/chatBubble/OutgoingBubble.d.ts +17 -0
- package/dist/core/components/molecules/chat/chatBubble/index.d.ts +2 -0
- package/dist/core/components/molecules/chat/dateSeparator/DateSeparator.d.ts +7 -0
- package/dist/core/components/molecules/chat/dateSeparator/index.d.ts +2 -0
- package/dist/core/components/molecules/chat/index.d.ts +2 -0
- package/dist/core/components/molecules/chat/newMessage/NewMessage.d.ts +7 -0
- package/dist/core/components/molecules/chat/newMessage/index.d.ts +2 -0
- package/dist/core/components/molecules/chat/typingIndicator/TypingIndicator.d.ts +7 -0
- package/dist/core/components/molecules/chat/typingIndicator/index.d.ts +2 -0
- package/dist/core/components/molecules/chat/unreadMessage/UnreadMessage.d.ts +7 -0
- package/dist/core/components/molecules/chat/unreadMessage/index.d.ts +2 -0
- package/dist/core/components/organisms/grid/Grid.d.ts +1 -0
- package/dist/core/components/organisms/grid/rowUtility.d.ts +1 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.type.d.ts +7 -0
- package/dist/esm/index.js +1222 -745
- package/dist/figma/AvatarGroup.figma.d.ts +1 -0
- package/dist/figma/AvatarSelection.figma.d.ts +1 -0
- package/dist/figma/Calendar.figma.d.ts +1 -0
- package/dist/figma/ChatBubble.figma.d.ts +1 -0
- package/dist/figma/ChoiceList.figma.d.ts +1 -0
- package/dist/figma/Combobox.figma.d.ts +1 -0
- package/dist/figma/DatePicker.figma.d.ts +1 -0
- package/dist/figma/DateRangePicker.figma.d.ts +1 -0
- package/dist/figma/DateSeparator.figma.d.ts +1 -0
- package/dist/figma/HorizontalNav.figma.d.ts +1 -0
- package/dist/figma/InlineMessage.figma.d.ts +1 -0
- package/dist/figma/Listbox.figma.d.ts +1 -0
- package/dist/figma/Menu.figma.d.ts +1 -0
- package/dist/figma/Meter.figma.d.ts +1 -0
- package/dist/figma/NewMessage.figma.d.ts +1 -0
- package/dist/figma/PageHeader.figma.d.ts +1 -0
- package/dist/figma/Select.figma.d.ts +1 -0
- package/dist/figma/Table.figma.d.ts +1 -0
- package/dist/figma/TimePicker.figma.d.ts +1 -0
- package/dist/figma/TypingIndicator.figma.d.ts +1 -0
- package/dist/figma/UnreadMessage.figma.d.ts +1 -0
- package/dist/figma/VerticalNav.figma.d.ts +1 -0
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +1082 -620
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +123 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/tsconfig.type.tsbuildinfo +641 -26
- package/package.json +1 -1
package/css/gulpfile.js
CHANGED
|
@@ -9,11 +9,20 @@ const cleaner = require('gulp-clean');
|
|
|
9
9
|
const materialIcons = './material-design-icons/iconfont/material-icons.css';
|
|
10
10
|
const materialFont = './material-design-icons/iconfont/*.{ttf,otf,woff2}';
|
|
11
11
|
|
|
12
|
+
const typographyCssPath = [
|
|
13
|
+
'./src/components/text.module.css',
|
|
14
|
+
'./src/components/heading.module.css',
|
|
15
|
+
'./src/components/label.module.css',
|
|
16
|
+
'./src/components/caption.module.css',
|
|
17
|
+
'./src/components/subheading.module.css',
|
|
18
|
+
];
|
|
19
|
+
|
|
12
20
|
const sources = [
|
|
13
21
|
'./src/tokens/*.css',
|
|
14
22
|
'./src/variables/*.css',
|
|
15
23
|
materialIcons,
|
|
16
24
|
'./src/core/*.css',
|
|
25
|
+
...typographyCssPath,
|
|
17
26
|
'./src/components/*.css',
|
|
18
27
|
'./src/ai-components/*.css',
|
|
19
28
|
'./src/utils/*.css',
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
position: relative;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.SelectionAvatarGroup-item:focus,
|
|
19
|
-
.SelectionAvatarGroup-item:focus-visible {
|
|
18
|
+
.SelectionAvatarGroup-item--active:focus,
|
|
19
|
+
.SelectionAvatarGroup-item--active:focus-visible {
|
|
20
20
|
outline: 3px solid var(--primary-shadow);
|
|
21
21
|
outline-offset: 3px;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.SelectionAvatarGroup-item:active {
|
|
24
|
+
.SelectionAvatarGroup-item--active:active {
|
|
25
25
|
outline: var(--spacing-s) solid #00509f;
|
|
26
26
|
outline-offset: var(--spacing-xs);
|
|
27
27
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.ChatBubble-box--outgoing {
|
|
2
|
+
background-color: var(--primary-lightest);
|
|
3
|
+
border-radius: var(--spacing);
|
|
4
|
+
padding: var(--spacing) var(--spacing-l);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ChatBubble-separator {
|
|
8
|
+
width: var(--spacing-m);
|
|
9
|
+
height: var(--spacing-m);
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
margin: 0 var(--spacing);
|
|
12
|
+
background: var(--inverse-lightest);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ChatBubble-box--noSuccess {
|
|
16
|
+
margin-right: calc(var(--spacing-2) + var(--spacing-m));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ChatBubble-box {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ChatBubble-actionBar--outgoing {
|
|
24
|
+
width: max-content;
|
|
25
|
+
margin-right: var(--spacing-m);
|
|
26
|
+
margin-top: var(--spacing-0-75);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ChatBubble-actionBar--incoming {
|
|
30
|
+
width: max-content;
|
|
31
|
+
margin-left: var(--spacing-m);
|
|
32
|
+
margin-top: var(--spacing-0-75);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ChatBubble-box--incoming {
|
|
36
|
+
background-color: var(--secondary-lightest);
|
|
37
|
+
border-radius: var(--spacing);
|
|
38
|
+
padding: var(--spacing) var(--spacing-l);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ChatBubble-metaData--incoming {
|
|
42
|
+
margin-left: calc(var(--spacing-3) + var(--spacing));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ChatBubble-boxWrapper {
|
|
46
|
+
flex: 0 0 auto;
|
|
47
|
+
display: flex;
|
|
48
|
+
max-width: 70%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ChatBubble-actionBarWrapper {
|
|
52
|
+
flex: 0 0 auto;
|
|
53
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.Chat-UnreadMessage {
|
|
2
|
+
border-radius: var(--spacing-2);
|
|
3
|
+
padding: var(--spacing-s) var(--spacing-l) var(--spacing-s) var(--spacing);
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
background-color: var(--primary);
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.NewMessage-Divider--left {
|
|
12
|
+
flex: 1;
|
|
13
|
+
height: var(--spacing-xs);
|
|
14
|
+
background-color: var(--primary);
|
|
15
|
+
margin-right: var(--spacing-2);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.NewMessage-Divider--right {
|
|
19
|
+
flex: 1;
|
|
20
|
+
height: var(--spacing-xs);
|
|
21
|
+
background-color: var(--primary);
|
|
22
|
+
margin-left: var(--spacing-2);
|
|
23
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.Meter {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.Meter-Step {
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.Meter-Step--small {
|
|
11
|
+
width: var(--spacing-m);
|
|
12
|
+
height: var(--spacing);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.Meter-Step--regular {
|
|
16
|
+
width: var(--spacing);
|
|
17
|
+
height: var(--spacing);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.Meter-Step--large {
|
|
21
|
+
width: var(--spacing-l);
|
|
22
|
+
height: var(--spacing-l);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.Meter-Step--info {
|
|
26
|
+
background: var(--primary);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.Meter-Step--warning {
|
|
30
|
+
background: var(--warning);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.Meter-Step--alert {
|
|
34
|
+
background: var(--alert);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.Meter-Step--success {
|
|
38
|
+
background: var(--success);
|
|
39
|
+
}
|