@innovaccer/design-system 2.28.2 → 2.29.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 +77 -0
- package/css/dist/index.css +245 -0
- package/css/dist/index.css.map +1 -1
- package/css/src/components/avatarSelection.css +111 -0
- package/css/src/components/select.css +127 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +669 -22
- package/dist/core/common.type.d.ts +7 -0
- package/dist/core/components/atoms/avatar/Avatar.d.ts +1 -0
- package/dist/core/components/atoms/avatar/avatarIcon/AvatarIcon.d.ts +0 -4
- package/dist/core/components/atoms/avatarSelection/AvatarSelection.d.ts +59 -0
- package/dist/core/components/atoms/avatarSelection/AvatarSelectionContext.d.ts +19 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionEmptyState.d.ts +8 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionInput.d.ts +3 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionList.d.ts +20 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionOption.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionPopover.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/index.d.ts +5 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/utils.d.ts +3 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/AvatarSelectionCount.d.ts +13 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatar.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatarsWrapper.d.ts +15 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/index.d.ts +2 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/utils.d.ts +3 -0
- package/dist/core/components/atoms/avatarSelection/index.d.ts +2 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +19 -19
- package/dist/core/components/molecules/popover/Popover.d.ts +1 -1
- package/dist/core/components/molecules/tooltip/Tooltip.d.ts +2 -0
- package/dist/core/components/organisms/combobox/Combobox.d.ts +45 -0
- package/dist/core/components/organisms/combobox/ComboboxContext.d.ts +23 -0
- package/dist/core/components/organisms/combobox/ComboboxList.d.ts +20 -0
- package/dist/core/components/organisms/combobox/ComboboxOption.d.ts +18 -0
- package/dist/core/components/organisms/combobox/index.d.ts +2 -0
- package/dist/core/components/organisms/combobox/trigger/ChipInputBox.d.ts +3 -0
- package/dist/core/components/organisms/combobox/trigger/ComboboxTrigger.d.ts +20 -0
- package/dist/core/components/organisms/combobox/trigger/InputBox.d.ts +3 -0
- package/dist/core/components/organisms/combobox/trigger/MultiselectTrigger.d.ts +40 -0
- package/dist/core/components/organisms/combobox/trigger/index.d.ts +1 -0
- package/dist/core/components/organisms/combobox/trigger/utils.d.ts +3 -0
- package/dist/core/components/organisms/combobox/utils.d.ts +2 -0
- package/dist/core/components/organisms/listbox/Listbox.d.ts +2 -2
- package/dist/core/components/organisms/listbox/listboxItem/ListboxItem.d.ts +2 -1
- package/dist/core/components/organisms/select/SearchInput.d.ts +8 -0
- package/dist/core/components/organisms/select/Select.d.ts +35 -0
- package/dist/core/components/organisms/select/SelectContext.d.ts +24 -0
- package/dist/core/components/organisms/select/SelectEmptyTemplate.d.ts +9 -0
- package/dist/core/components/organisms/select/SelectFooter.d.ts +7 -0
- package/dist/core/components/organisms/select/SelectList.d.ts +20 -0
- package/dist/core/components/organisms/select/SelectOption.d.ts +19 -0
- package/dist/core/components/organisms/select/SelectTrigger.d.ts +24 -0
- package/dist/core/components/organisms/select/__test__/Select.test.d.ts +1 -0
- package/dist/core/components/organisms/select/__test__/utils.test.d.ts +1 -0
- package/dist/core/components/organisms/select/index.d.ts +2 -0
- package/dist/core/components/organisms/select/utils.d.ts +12 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.type.d.ts +5 -0
- package/dist/index.esm.js +2147 -108
- package/dist/index.js +2011 -17
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* Selection avatar group */
|
|
2
|
+
.SelectionAvatarGroup {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Selection Avatar List */
|
|
9
|
+
|
|
10
|
+
.SelectionAvatarGroup-item {
|
|
11
|
+
margin-right: calc(var(--spacing-m) * -1);
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
display: flex;
|
|
14
|
+
transition: transform var(--duration--fast-01) var(--standard-productive-curve);
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.SelectionAvatarGroup-item:focus,
|
|
19
|
+
.SelectionAvatarGroup-item:focus-visible {
|
|
20
|
+
outline: 3px solid var(--primary-shadow);
|
|
21
|
+
outline-offset: 3px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.SelectionAvatarGroup-item:active {
|
|
25
|
+
outline: var(--spacing-s) solid #00509f;
|
|
26
|
+
outline-offset: var(--spacing-xs);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.SelectionAvatarGroup-wrapper:hover .SelectionAvatarGroup-item {
|
|
30
|
+
transform: translateY(-8px);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Selected Avatar Group Item */
|
|
34
|
+
|
|
35
|
+
.SelectionAvatarGroup-item--selected {
|
|
36
|
+
outline-offset: var(--spacing-xs);
|
|
37
|
+
outline: var(--spacing-s) solid var(--primary-dark);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.SelectionAvatarGroup-item--selected:active {
|
|
41
|
+
outline-offset: var(--spacing-xs);
|
|
42
|
+
outline: var(--spacing-s) solid var(--primary-darker);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.SelectionAvatarGroup-item--selected:focus,
|
|
46
|
+
.SelectionAvatarGroup-item--selected:focus-visible {
|
|
47
|
+
box-shadow: 0 0 0 var(--spacing-xs) white, 0 0 0 3px var(--primary-dark), 0 0 0 3px var(--primary-shadow) !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Selection Avatar Popover */
|
|
51
|
+
|
|
52
|
+
.SelectionAvatarGroup-popper {
|
|
53
|
+
overflow-y: auto;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.SelectionAvatar-inputWrapper {
|
|
58
|
+
border-bottom: var(--spacing-xs) solid var(--secondary-dark);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.SelectionAvatar-inputWrapper:focus-within {
|
|
62
|
+
border-bottom: var(--spacing-xs) solid var(--primary);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.SelectionAvatar-input {
|
|
66
|
+
min-width: unset !important;
|
|
67
|
+
background: transparent;
|
|
68
|
+
border-bottom-left-radius: 0px;
|
|
69
|
+
border-bottom-right-radius: 0;
|
|
70
|
+
height: 36px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.SelectionAvatar-input,
|
|
74
|
+
.SelectionAvatar-input:focus-within {
|
|
75
|
+
border: unset !important;
|
|
76
|
+
box-shadow: none !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.SelectionAvatar-input:hover {
|
|
80
|
+
background-color: #f4f4f4;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Selection Avatar Count */
|
|
84
|
+
|
|
85
|
+
.SelectionAvatarCount-wrapper {
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.SelectionAvatarCount:hover {
|
|
90
|
+
background: var(--secondary);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.SelectionAvatarCount:active {
|
|
94
|
+
background: var(--secondary-dark);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.SelectionAvatarCount-wrapper:focus,
|
|
98
|
+
.SelectionAvatarCount-wrapper:focus-visible {
|
|
99
|
+
outline: 3px solid var(--primary-shadow);
|
|
100
|
+
outline-offset: 3px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.SelectionAvatarCount--selected {
|
|
104
|
+
outline-offset: var(--spacing-xs);
|
|
105
|
+
outline: var(--spacing-s) solid var(--primary-dark);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.SelectionAvatarCount--selected:focus,
|
|
109
|
+
.SelectionAvatarCount--selected:focus-visible {
|
|
110
|
+
box-shadow: 0 0 0 var(--spacing-xs) white, 0 0 0 3px var(--primary-dark), 0 0 0 3px var(--primary-shadow) !important;
|
|
111
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
.Select-input {
|
|
2
|
+
min-width: unset !important;
|
|
3
|
+
background: transparent;
|
|
4
|
+
border-bottom-left-radius: 0px;
|
|
5
|
+
border-bottom-right-radius: 0;
|
|
6
|
+
height: 36px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.Select-input,
|
|
10
|
+
.Select-input:focus-within {
|
|
11
|
+
border: unset !important;
|
|
12
|
+
box-shadow: none !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.Select-input:hover {
|
|
16
|
+
background-color: #f4f4f4;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.Select-trigger {
|
|
20
|
+
width: 100%;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
padding-top: unset;
|
|
23
|
+
padding-bottom: unset;
|
|
24
|
+
background: var(--secondary-light);
|
|
25
|
+
color: var(--text);
|
|
26
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.Select-trigger:disabled {
|
|
30
|
+
background: var(--secondary-lighter);
|
|
31
|
+
color: var(--text-disabled);
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.Select-trigger:active,
|
|
36
|
+
.Select-trigger--open {
|
|
37
|
+
background-color: var(--secondary-dark) !important;
|
|
38
|
+
color: var(--text) !important;
|
|
39
|
+
animation-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
|
|
40
|
+
animation-duration: 120ms;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.Select-trigger:hover {
|
|
44
|
+
background: var(--secondary);
|
|
45
|
+
color: var(--text);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.Select-trigger:focus {
|
|
49
|
+
background-color: var(--secondary-light);
|
|
50
|
+
box-shadow: var(--shadow-spread) var(--secondary-shadow);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.Select-inputWrapper {
|
|
54
|
+
border-bottom: var(--spacing-xs) solid var(--secondary-dark);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.Select-inputWrapper:focus-within {
|
|
58
|
+
border-bottom: var(--spacing-xs) solid var(--primary);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.Select-trigger-wrapper {
|
|
62
|
+
width: 100%;
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: row;
|
|
65
|
+
align-items: center;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.Select-trigger--small {
|
|
70
|
+
height: var(--spacing-xl);
|
|
71
|
+
padding-right: var(--spacing);
|
|
72
|
+
padding-left: var(--spacing);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.Select-trigger-text {
|
|
76
|
+
text-align: left;
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
text-overflow: ellipsis;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.Select-trigger--regular {
|
|
83
|
+
height: var(--spacing-3);
|
|
84
|
+
padding-right: var(--spacing);
|
|
85
|
+
padding-left: var(--spacing-l);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.Select-trigger--placeholder {
|
|
89
|
+
color: var(--text-subtle);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.Select-trigger--icon {
|
|
93
|
+
padding-left: var(--spacing);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.Select-buttonWrapper {
|
|
97
|
+
display: flex;
|
|
98
|
+
justify-content: flex-end;
|
|
99
|
+
padding-top: var(--spacing);
|
|
100
|
+
padding-right: var(--spacing);
|
|
101
|
+
padding-bottom: var(--spacing);
|
|
102
|
+
border-top: var(--spacing-xs) solid var(--secondary-light);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.Select-crossButton {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-shrink: 0;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
user-select: none;
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
color: var(--inverse);
|
|
112
|
+
border-radius: 50%;
|
|
113
|
+
padding: var(--spacing-s);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.Select-crossButton:focus-visible,
|
|
117
|
+
.Select-crossButton:focus {
|
|
118
|
+
outline: var(--spacing-s) solid var(--secondary-shadow);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.Select-crossButton:hover {
|
|
122
|
+
background-color: var(--secondary);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.Select-crossButton:active {
|
|
126
|
+
background-color: var(--secondary-dark);
|
|
127
|
+
}
|