@innovaccer/design-system 2.34.0 → 2.36.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 +115 -0
- package/README.md +2 -2
- package/css/dist/index.css +361 -2
- package/css/dist/index.css.map +1 -1
- package/css/gulpfile.js +1 -0
- package/css/src/ai-components/button.css +74 -0
- package/css/src/ai-components/chat.css +28 -0
- package/css/src/ai-components/chip.css +63 -0
- package/css/src/ai-components/iconButton.css +67 -0
- package/css/src/components/calendar.css +9 -1
- package/css/src/components/chip.css +8 -0
- package/css/src/components/chipInput.css +1 -1
- package/css/src/components/emptyState.css +50 -0
- package/css/src/components/input.css +6 -0
- package/css/src/components/metricInput.css +6 -0
- package/css/src/components/textarea.css +6 -0
- package/css/src/core/animation.css +20 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +797 -350
- package/dist/core/ai-components/AIButton/index.d.ts +22 -0
- package/dist/core/ai-components/AIChip/index.d.ts +10 -0
- package/dist/core/ai-components/AIIconButton/SaraIcon.d.ts +14 -0
- package/dist/core/ai-components/AIIconButton/icons/SaraDisabledBottom.d.ts +5 -0
- package/dist/core/ai-components/AIIconButton/icons/SaraDisabledTop.d.ts +5 -0
- package/dist/core/ai-components/AIIconButton/icons/SaraIconBottom.d.ts +5 -0
- package/dist/core/ai-components/AIIconButton/icons/SaraIconTop.d.ts +5 -0
- package/dist/core/ai-components/AIIconButton/index.d.ts +26 -0
- package/dist/core/ai-components/AIResponse/ChatActionBar.d.ts +9 -0
- package/dist/core/ai-components/AIResponse/ChatBody.d.ts +9 -0
- package/dist/core/ai-components/AIResponse/ChatBox.d.ts +9 -0
- package/dist/core/ai-components/AIResponse/ChatButton.d.ts +4 -0
- package/dist/core/ai-components/AIResponse/index.d.ts +14 -0
- package/dist/core/ai-components/Sara/index.d.ts +18 -0
- package/dist/core/ai-components/SaraSparkle/index.d.ts +18 -0
- package/dist/core/ai-components/common.type.d.ts +12 -0
- package/dist/core/common.type.d.ts +1 -0
- package/dist/core/components/atoms/_chip/index.d.ts +4 -0
- package/dist/core/components/atoms/chip/Chip.d.ts +2 -0
- package/dist/core/components/atoms/textarea/Textarea.d.ts +1 -0
- package/dist/core/components/molecules/chipInput/ChipInput.d.ts +1 -0
- package/dist/core/components/molecules/emptyState/EmptyState.d.ts +27 -7
- package/dist/core/components/molecules/emptyState/EmptyStateActions.d.ts +7 -0
- package/dist/core/components/molecules/emptyState/EmptyStateContext.d.ts +8 -0
- package/dist/core/components/molecules/emptyState/EmptyStateDescription.d.ts +7 -0
- package/dist/core/components/molecules/emptyState/EmptyStateImage.d.ts +19 -0
- package/dist/core/components/molecules/emptyState/EmptyStateTitle.d.ts +7 -0
- package/dist/core/components/organisms/combobox/Combobox.d.ts +2 -0
- package/dist/core/components/organisms/combobox/trigger/ComboboxTrigger.d.ts +2 -0
- package/dist/core/components/organisms/combobox/trigger/MultiselectTrigger.d.ts +2 -1
- package/dist/core/components/organisms/menu/trigger/MenuTrigger.d.ts +1 -0
- package/dist/core/index.d.ts +6 -0
- package/dist/core/index.type.d.ts +6 -0
- package/dist/index.esm.js +4903 -245
- package/dist/index.js +5016 -365
- 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 +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,118 @@
|
|
|
1
|
+
## 2.36.0 (2024-06-11)
|
|
2
|
+
|
|
3
|
+
### Highlights
|
|
4
|
+
|
|
5
|
+
- feat(AIButton): add new AI Button component (ce14715c)
|
|
6
|
+
- feat(saraSparkle): add sara sparkle component (e7f54cb3)
|
|
7
|
+
- feat(sara): add new sara component (848ee75c)
|
|
8
|
+
- feat(AIButton): update stories for AI Button component (fbe8b2fd)
|
|
9
|
+
- feat(AIIconButton): add new AI Icon Button Component (120079bd)
|
|
10
|
+
- feat(AIChip): add new AI Chip component (66bd9303)
|
|
11
|
+
- feat(AIResponse): add new AI Response component (09c7f087)
|
|
12
|
+
- feat(progressIndicator): add new progress indicator pattern (f3eaf718)
|
|
13
|
+
- feat(calendar): update calendar states (9d515e38)
|
|
14
|
+
- feat(Input): update readonly state for all input components (8aa4b949)
|
|
15
|
+
- feat(chip): add overflow behavior in chip and chipInput (b5fac8d0)
|
|
16
|
+
|
|
17
|
+
### Breaking changes
|
|
18
|
+
|
|
19
|
+
NA
|
|
20
|
+
|
|
21
|
+
### Migration guide
|
|
22
|
+
|
|
23
|
+
NA
|
|
24
|
+
|
|
25
|
+
### Deprecations
|
|
26
|
+
|
|
27
|
+
NA
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
- feat(AIButton): add new AI Button component (ce14715c)
|
|
32
|
+
- feat(saraSparkle): add sara sparkle component (e7f54cb3)
|
|
33
|
+
- feat(sara): add new sara component (848ee75c)
|
|
34
|
+
- feat(AIButton): update stories for AI Button component (fbe8b2fd)
|
|
35
|
+
- feat(AIIconButton): add new AI Icon Button Component (120079bd)
|
|
36
|
+
- feat(AIChip): add new AI Chip component (66bd9303)
|
|
37
|
+
- feat(AIResponse): add new AI Response component (09c7f087)
|
|
38
|
+
- feat(calendar): update calendar states (9d515e38)
|
|
39
|
+
- feat(Input): update readonly state for all input components (8aa4b949)
|
|
40
|
+
- feat(chip): add overflow behavior in chip and chipInput (b5fac8d0)
|
|
41
|
+
- feat(progressIndicator): add new progress indicator pattern (f3eaf718)
|
|
42
|
+
|
|
43
|
+
### Fixes
|
|
44
|
+
|
|
45
|
+
- fix: update storybook link (0f79e9de)
|
|
46
|
+
- fix(actions): update node js version for chromatic build job (20c18981)
|
|
47
|
+
- fix(metricInput): update value of metric input when showActionButton prop is false (5e8b396b)
|
|
48
|
+
- fix(select): update overflow of options in popover with respect to trigger size (4dad3cd3)
|
|
49
|
+
- fix(select): update state of placeholder (c8f9f154)
|
|
50
|
+
- fix(saraSparkle): update size of sara sparkle in story (8ab3d928)
|
|
51
|
+
- fix(AIButton): update focus state of AI Button component (426872c4)
|
|
52
|
+
|
|
53
|
+
### Improvements
|
|
54
|
+
|
|
55
|
+
- fix(docs): update title for components, content, patterns and visualization page (4f3dedde)
|
|
56
|
+
|
|
57
|
+
### Documentation
|
|
58
|
+
|
|
59
|
+
- docs(calendar): update images of calendar states (d8b72589)
|
|
60
|
+
- docs(chip): add overflow behavior in chip (992403da)
|
|
61
|
+
- docs(chipInput): add overflow behavior in chipInput (c4313572)
|
|
62
|
+
- docs(emptyState): add empty state documentation (a572b460)
|
|
63
|
+
- docs(input): update the documentation of state of input (f31e9aaf)
|
|
64
|
+
- docs(AIChip): add documentation of AI Chip component (04c8a303)
|
|
65
|
+
- docs(AITrigger): add AI trigger components documentation (77909038)
|
|
66
|
+
- docs(sara): add sara and sara sparkle documentation (439f03a2)
|
|
67
|
+
- docs(AIResponse): add AI Response documentation (ebe60d42)
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 2.35.0 (2024-05-28)
|
|
72
|
+
|
|
73
|
+
### Highlights
|
|
74
|
+
|
|
75
|
+
- feat(emptyState): add emptyState component (0a8c8f89)
|
|
76
|
+
- feat(combobox): add keyboard event handler support (748f7deb)
|
|
77
|
+
|
|
78
|
+
### Breaking changes
|
|
79
|
+
|
|
80
|
+
NA
|
|
81
|
+
|
|
82
|
+
### Migration guide
|
|
83
|
+
|
|
84
|
+
NA
|
|
85
|
+
|
|
86
|
+
### Deprecations
|
|
87
|
+
|
|
88
|
+
NA
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
- feat(emptyState): add emptyState component (0a8c8f89)
|
|
93
|
+
- feat(combobox): add keyboard event handler support (748f7deb)
|
|
94
|
+
|
|
95
|
+
### Fixes
|
|
96
|
+
|
|
97
|
+
- fix(docs): update components overview page layouts (c646237f)
|
|
98
|
+
- fix(docs): update components overview page layout and cards layout (a633151b)
|
|
99
|
+
- docs: update layout of components overview page and card opacity (8524e733)
|
|
100
|
+
- fix(table): update table stories card border radius (39d7f348)
|
|
101
|
+
- fix(inputMask): update set selectionRange method for unsupported types (a0d90ed0)
|
|
102
|
+
- fix(emptyState): fix alignment issue when className is passed (0209f18c)
|
|
103
|
+
|
|
104
|
+
### Improvements
|
|
105
|
+
|
|
106
|
+
- refactor: structure package json and add engines restriction (2e531a3f)
|
|
107
|
+
- refactor(docs): update default storybook url in docs exporter script (97c9c80b)
|
|
108
|
+
- chore(actions): add docs site test step for docs pull request (a97913a8)
|
|
109
|
+
|
|
110
|
+
### Documentation
|
|
111
|
+
|
|
112
|
+
- docs(uistate): update empty state in uistate documentation (0217a54b)
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
1
116
|
## 2.34.0 (2024-05-16)
|
|
2
117
|
|
|
3
118
|
### Highlights
|
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ const App = () => {
|
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
For more information about each component, check out our
|
|
64
|
-
[Storybook](https://innovaccer.
|
|
64
|
+
[Storybook](https://mds.innovaccer.com/).
|
|
65
65
|
Check out our [Tutorial](/docs/AppTutorial.md) to guide you in creating an awesome app.
|
|
66
66
|
|
|
67
67
|
## CDN
|
|
@@ -135,7 +135,7 @@ Here are the supporting repositories.
|
|
|
135
135
|
|
|
136
136
|
- [🌶 Masala Design System](http://design.innovaccer.com)
|
|
137
137
|
|
|
138
|
-
- [📗 Components Storybook](https://innovaccer.
|
|
138
|
+
- [📗 Components Storybook](https://mds.innovaccer.com)
|
|
139
139
|
|
|
140
140
|
## ❗ Code of Conduct
|
|
141
141
|
|
package/css/dist/index.css
CHANGED
|
@@ -531,6 +531,37 @@
|
|
|
531
531
|
transition: var(--duration--moderate-02) var(--standard-productive-curve);
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
+
.shimmer-text {
|
|
535
|
+
text-align: center;
|
|
536
|
+
background: var(--inverse-light);
|
|
537
|
+
color: rgba(47, 47, 47, 0.1) !important;
|
|
538
|
+
background: linear-gradient(to right, var(--inverse-light) 0%, var(--secondary-dark) 50%, var(--inverse-light) 100%);
|
|
539
|
+
background-size: 200% 100%;
|
|
540
|
+
-webkit-background-clip: text;
|
|
541
|
+
background-clip: text;
|
|
542
|
+
-webkit-animation: shimmerText 2s infinite linear forwards;
|
|
543
|
+
animation: shimmerText 2s infinite linear forwards;
|
|
544
|
+
background-clip: text;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
@-webkit-keyframes shimmerText {
|
|
548
|
+
0% {
|
|
549
|
+
background-position: 100% 0;
|
|
550
|
+
}
|
|
551
|
+
100% {
|
|
552
|
+
background-position: -100% 0;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
@keyframes shimmerText {
|
|
557
|
+
0% {
|
|
558
|
+
background-position: 100% 0;
|
|
559
|
+
}
|
|
560
|
+
100% {
|
|
561
|
+
background-position: -100% 0;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
534
565
|
.ss {
|
|
535
566
|
background: red;
|
|
536
567
|
}
|
|
@@ -1880,7 +1911,15 @@ body {
|
|
|
1880
1911
|
}
|
|
1881
1912
|
|
|
1882
1913
|
.Calendar-valueWrapper--dummy {
|
|
1883
|
-
opacity: var(--
|
|
1914
|
+
opacity: var(--opacity-20);
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
.Calendar-valueWrapper--disabled {
|
|
1918
|
+
opacity: var(--opacity-10);
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
.Calendar-valueWrapper--active-dummy {
|
|
1922
|
+
opacity: var(--opacity-16);
|
|
1884
1923
|
}
|
|
1885
1924
|
|
|
1886
1925
|
.Calendar-value--disabled {
|
|
@@ -2356,6 +2395,14 @@ body {
|
|
|
2356
2395
|
color: var(--primary-darker);
|
|
2357
2396
|
}
|
|
2358
2397
|
|
|
2398
|
+
.Chip-text--truncate {
|
|
2399
|
+
overflow: hidden;
|
|
2400
|
+
text-overflow: ellipsis;
|
|
2401
|
+
white-space: nowrap;
|
|
2402
|
+
display: inline;
|
|
2403
|
+
max-width: 100%;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2359
2406
|
.Chip-selection--selectedDisabled {
|
|
2360
2407
|
background: var(--primary-lightest);
|
|
2361
2408
|
border-color: var(--primary-lighter);
|
|
@@ -2507,7 +2554,7 @@ body {
|
|
|
2507
2554
|
outline: none;
|
|
2508
2555
|
display: flex;
|
|
2509
2556
|
width: 100%;
|
|
2510
|
-
min-width:
|
|
2557
|
+
min-width: 15%;
|
|
2511
2558
|
flex: 0px;
|
|
2512
2559
|
box-sizing: border-box;
|
|
2513
2560
|
height: var(--spacing-xl);
|
|
@@ -3293,6 +3340,24 @@ body {
|
|
|
3293
3340
|
background: transparent;
|
|
3294
3341
|
}
|
|
3295
3342
|
|
|
3343
|
+
.EmptyState-Wrapper {
|
|
3344
|
+
display: flex;
|
|
3345
|
+
flex-direction: column;
|
|
3346
|
+
align-items: center;
|
|
3347
|
+
justify-content: center;
|
|
3348
|
+
background: transparent;
|
|
3349
|
+
width: 100%;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3352
|
+
.EmptyState-image {
|
|
3353
|
+
display: flex;
|
|
3354
|
+
justify-content: center;
|
|
3355
|
+
width: 100%;
|
|
3356
|
+
height: 100%;
|
|
3357
|
+
-o-object-fit: contain;
|
|
3358
|
+
object-fit: contain;
|
|
3359
|
+
}
|
|
3360
|
+
|
|
3296
3361
|
.EmptyState-title {
|
|
3297
3362
|
text-align: center;
|
|
3298
3363
|
max-width: 480px;
|
|
@@ -3320,6 +3385,39 @@ body {
|
|
|
3320
3385
|
margin-bottom: var(--spacing-2);
|
|
3321
3386
|
}
|
|
3322
3387
|
|
|
3388
|
+
.EmptyState-text {
|
|
3389
|
+
display: flex;
|
|
3390
|
+
text-align: center;
|
|
3391
|
+
justify-content: center;
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
.EmptyState-actions {
|
|
3395
|
+
display: flex;
|
|
3396
|
+
justify-content: center;
|
|
3397
|
+
}
|
|
3398
|
+
|
|
3399
|
+
.EmptyState-title--compressed {
|
|
3400
|
+
margin-top: var(--spacing-2);
|
|
3401
|
+
}
|
|
3402
|
+
.EmptyState-title--standard {
|
|
3403
|
+
margin-top: var(--spacing-xl);
|
|
3404
|
+
}
|
|
3405
|
+
.EmptyState-title--tight {
|
|
3406
|
+
margin-top: var(--spacing-l);
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
.EmptyState-actions--compressed {
|
|
3410
|
+
margin-top: var(--spacing-2);
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3413
|
+
.EmptyState-actions--standard {
|
|
3414
|
+
margin-top: var(--spacing-xl);
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
.EmptyState-actions--tight {
|
|
3418
|
+
margin-top: var(--spacing-l);
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3323
3421
|
.FileIcon {
|
|
3324
3422
|
padding: var(--spacing);
|
|
3325
3423
|
border-radius: 50%;
|
|
@@ -4467,6 +4565,12 @@ body {
|
|
|
4467
4565
|
pointer-events: none;
|
|
4468
4566
|
}
|
|
4469
4567
|
|
|
4568
|
+
.Input--readOnly {
|
|
4569
|
+
background: var(--secondary-lightest);
|
|
4570
|
+
border-color: var(--secondary);
|
|
4571
|
+
pointer-events: none;
|
|
4572
|
+
}
|
|
4573
|
+
|
|
4470
4574
|
.Input--disabled .Input-icon--left {
|
|
4471
4575
|
color: var(--inverse-lightest);
|
|
4472
4576
|
}
|
|
@@ -5096,6 +5200,12 @@ body {
|
|
|
5096
5200
|
pointer-events: none;
|
|
5097
5201
|
}
|
|
5098
5202
|
|
|
5203
|
+
.MetricInput--readOnly {
|
|
5204
|
+
background: var(--secondary-lightest);
|
|
5205
|
+
border-color: var(--secondary);
|
|
5206
|
+
pointer-events: none;
|
|
5207
|
+
}
|
|
5208
|
+
|
|
5099
5209
|
.MetricInput--disabled .MetricInput-icon {
|
|
5100
5210
|
color: var(--inverse-lightest);
|
|
5101
5211
|
}
|
|
@@ -7154,6 +7264,12 @@ body {
|
|
|
7154
7264
|
border-color: var(--secondary-light);
|
|
7155
7265
|
}
|
|
7156
7266
|
|
|
7267
|
+
.Textarea--readOnly {
|
|
7268
|
+
pointer-events: none;
|
|
7269
|
+
background: var(--secondary-lightest);
|
|
7270
|
+
border-color: var(--secondary);
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7157
7273
|
.Textarea--error {
|
|
7158
7274
|
border: var(--spacing-xs) solid var(--alert);
|
|
7159
7275
|
}
|
|
@@ -7770,6 +7886,249 @@ body {
|
|
|
7770
7886
|
color: var(--text);
|
|
7771
7887
|
}
|
|
7772
7888
|
|
|
7889
|
+
.AIButton {
|
|
7890
|
+
padding: var(--spacing) var(--spacing-l);
|
|
7891
|
+
border-radius: var(--spacing-m);
|
|
7892
|
+
cursor: pointer;
|
|
7893
|
+
border: 0;
|
|
7894
|
+
font-family: var(--font-family);
|
|
7895
|
+
font-weight: var(--font-weight-normal);
|
|
7896
|
+
font-size: var(--font-size);
|
|
7897
|
+
line-height: var(--font-height-s);
|
|
7898
|
+
display: flex;
|
|
7899
|
+
align-items: center;
|
|
7900
|
+
}
|
|
7901
|
+
|
|
7902
|
+
.AIButton:disabled {
|
|
7903
|
+
cursor: not-allowed;
|
|
7904
|
+
pointer-events: none;
|
|
7905
|
+
}
|
|
7906
|
+
|
|
7907
|
+
.AIButton:focus {
|
|
7908
|
+
outline: 0;
|
|
7909
|
+
}
|
|
7910
|
+
|
|
7911
|
+
/* Primary Button */
|
|
7912
|
+
|
|
7913
|
+
.AIButton--primary {
|
|
7914
|
+
background: var(--primary);
|
|
7915
|
+
color: var(--white);
|
|
7916
|
+
}
|
|
7917
|
+
|
|
7918
|
+
.AIButton--primary:hover {
|
|
7919
|
+
background: var(--primary-dark);
|
|
7920
|
+
}
|
|
7921
|
+
|
|
7922
|
+
.AIButton--primary:active {
|
|
7923
|
+
background: var(--primary-darker);
|
|
7924
|
+
}
|
|
7925
|
+
|
|
7926
|
+
.AIButton--primary:disabled {
|
|
7927
|
+
background: var(--primary-lighter);
|
|
7928
|
+
}
|
|
7929
|
+
|
|
7930
|
+
.AIButton--primary:focus {
|
|
7931
|
+
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
7932
|
+
}
|
|
7933
|
+
|
|
7934
|
+
/* Basic Button */
|
|
7935
|
+
|
|
7936
|
+
.AIButton--basic {
|
|
7937
|
+
background: var(--secondary-light);
|
|
7938
|
+
color: var(--inverse);
|
|
7939
|
+
}
|
|
7940
|
+
|
|
7941
|
+
.AIButton--basic:hover {
|
|
7942
|
+
background: var(--secondary);
|
|
7943
|
+
}
|
|
7944
|
+
|
|
7945
|
+
.AIButton--basic:active {
|
|
7946
|
+
background: var(--secondary-dark);
|
|
7947
|
+
}
|
|
7948
|
+
|
|
7949
|
+
.AIButton--basic:disabled {
|
|
7950
|
+
background: var(--secondary-lighter);
|
|
7951
|
+
color: var(--inverse-lightest);
|
|
7952
|
+
}
|
|
7953
|
+
|
|
7954
|
+
.AIButton--basic:focus {
|
|
7955
|
+
box-shadow: var(--shadow-spread) var(--secondary-shadow);
|
|
7956
|
+
}
|
|
7957
|
+
|
|
7958
|
+
/* Button Icon */
|
|
7959
|
+
|
|
7960
|
+
.AIButton-Icon {
|
|
7961
|
+
margin-right: var(--spacing);
|
|
7962
|
+
}
|
|
7963
|
+
|
|
7964
|
+
.AIResponse-box {
|
|
7965
|
+
background: linear-gradient(white, white) padding-box,
|
|
7966
|
+
linear-gradient(to right, rgba(255, 194, 8, 0.64), rgba(227, 28, 121, 0.64)) border-box;
|
|
7967
|
+
border-radius: var(--spacing-l);
|
|
7968
|
+
border: var(--spacing-s) solid transparent;
|
|
7969
|
+
border-top-left-radius: 0;
|
|
7970
|
+
padding: var(--spacing) var(--spacing-l);
|
|
7971
|
+
}
|
|
7972
|
+
|
|
7973
|
+
.AIResponse-actionBar {
|
|
7974
|
+
margin-top: var(--spacing-m);
|
|
7975
|
+
display: flex;
|
|
7976
|
+
align-items: center;
|
|
7977
|
+
justify-content: space-between;
|
|
7978
|
+
flex-wrap: wrap;
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7981
|
+
.AIResponse-button {
|
|
7982
|
+
opacity: var(--opacity-12);
|
|
7983
|
+
}
|
|
7984
|
+
|
|
7985
|
+
.AIResponse-box:hover .AIResponse-button {
|
|
7986
|
+
opacity: 1;
|
|
7987
|
+
}
|
|
7988
|
+
|
|
7989
|
+
.AIResponse-button--selected {
|
|
7990
|
+
opacity: 1;
|
|
7991
|
+
}
|
|
7992
|
+
|
|
7993
|
+
.AIChip {
|
|
7994
|
+
display: flex;
|
|
7995
|
+
justify-content: center;
|
|
7996
|
+
align-items: center;
|
|
7997
|
+
border-radius: var(--spacing-l);
|
|
7998
|
+
padding: var(--spacing-s) var(--spacing);
|
|
7999
|
+
background: var(--secondary-light);
|
|
8000
|
+
cursor: pointer;
|
|
8001
|
+
width: -webkit-fit-content;
|
|
8002
|
+
width: -moz-fit-content;
|
|
8003
|
+
width: fit-content;
|
|
8004
|
+
border: 0;
|
|
8005
|
+
}
|
|
8006
|
+
|
|
8007
|
+
.AIChip:hover {
|
|
8008
|
+
background: var(--secondary);
|
|
8009
|
+
}
|
|
8010
|
+
|
|
8011
|
+
.AIChip:active {
|
|
8012
|
+
background: var(--secondary-dark);
|
|
8013
|
+
}
|
|
8014
|
+
|
|
8015
|
+
.AIChip:focus,
|
|
8016
|
+
.AIChip:focus-visible {
|
|
8017
|
+
box-shadow: var(--shadow-spread) var(--secondary-shadow);
|
|
8018
|
+
outline: none;
|
|
8019
|
+
}
|
|
8020
|
+
|
|
8021
|
+
.AIChip-icon {
|
|
8022
|
+
width: var(--spacing-2);
|
|
8023
|
+
height: var(--spacing-2);
|
|
8024
|
+
font-size: var(--spacing-2) !important;
|
|
8025
|
+
margin-right: var(--spacing-m);
|
|
8026
|
+
background: linear-gradient(to bottom, #ffc208 0%, #e31c79 100%);
|
|
8027
|
+
-webkit-background-clip: text;
|
|
8028
|
+
background-clip: text;
|
|
8029
|
+
color: transparent;
|
|
8030
|
+
}
|
|
8031
|
+
|
|
8032
|
+
.AIChip-text {
|
|
8033
|
+
color: var(--inverse);
|
|
8034
|
+
font-size: var(--font-size);
|
|
8035
|
+
line-height: var(--font-height);
|
|
8036
|
+
font-family: var(--font-family);
|
|
8037
|
+
}
|
|
8038
|
+
|
|
8039
|
+
/* Disabled Chip */
|
|
8040
|
+
|
|
8041
|
+
.AIChip--disabled {
|
|
8042
|
+
background: var(--secondary-lighter);
|
|
8043
|
+
}
|
|
8044
|
+
|
|
8045
|
+
.AIChip-icon--disabled {
|
|
8046
|
+
background: linear-gradient(to bottom, #ffe79e 0%, #f4a4c9 100%);
|
|
8047
|
+
-webkit-background-clip: text;
|
|
8048
|
+
background-clip: text;
|
|
8049
|
+
color: transparent;
|
|
8050
|
+
}
|
|
8051
|
+
|
|
8052
|
+
.AIChip-text--disabled {
|
|
8053
|
+
color: var(--inverse-lightest);
|
|
8054
|
+
}
|
|
8055
|
+
|
|
8056
|
+
.AIChip:disabled {
|
|
8057
|
+
cursor: not-allowed;
|
|
8058
|
+
pointer-events: none;
|
|
8059
|
+
}
|
|
8060
|
+
|
|
8061
|
+
.AIIconButton {
|
|
8062
|
+
background: transparent;
|
|
8063
|
+
padding: var(--spacing);
|
|
8064
|
+
border-radius: var(--spacing-m);
|
|
8065
|
+
cursor: pointer;
|
|
8066
|
+
border: 0;
|
|
8067
|
+
font-family: var(--font-family);
|
|
8068
|
+
font-weight: var(--font-weight-normal);
|
|
8069
|
+
font-size: var(--font-size);
|
|
8070
|
+
line-height: var(--font-height-s);
|
|
8071
|
+
position: relative;
|
|
8072
|
+
}
|
|
8073
|
+
|
|
8074
|
+
.AIIconButton:hover {
|
|
8075
|
+
background: var(--secondary);
|
|
8076
|
+
color: var(--secondary) !important;
|
|
8077
|
+
}
|
|
8078
|
+
|
|
8079
|
+
.AIIconButton:active {
|
|
8080
|
+
background: var(--secondary-dark);
|
|
8081
|
+
color: var(--secondary-dark) !important;
|
|
8082
|
+
}
|
|
8083
|
+
|
|
8084
|
+
.AIIconButton:focus {
|
|
8085
|
+
box-shadow: var(--shadow-spread) var(--secondary-shadow);
|
|
8086
|
+
}
|
|
8087
|
+
|
|
8088
|
+
.AIIconButton:disabled {
|
|
8089
|
+
cursor: not-allowed;
|
|
8090
|
+
pointer-events: none;
|
|
8091
|
+
background: transparent;
|
|
8092
|
+
color: var(--inverse-lightest);
|
|
8093
|
+
}
|
|
8094
|
+
|
|
8095
|
+
.AIIconButton-icon {
|
|
8096
|
+
overflow: hidden;
|
|
8097
|
+
flex-shrink: 0;
|
|
8098
|
+
-webkit-user-select: none;
|
|
8099
|
+
-moz-user-select: none;
|
|
8100
|
+
-ms-user-select: none;
|
|
8101
|
+
user-select: none;
|
|
8102
|
+
line-height: inherit;
|
|
8103
|
+
display: flex;
|
|
8104
|
+
align-items: center;
|
|
8105
|
+
position: relative;
|
|
8106
|
+
}
|
|
8107
|
+
|
|
8108
|
+
.AIIconButton-AIIcon {
|
|
8109
|
+
position: absolute;
|
|
8110
|
+
}
|
|
8111
|
+
|
|
8112
|
+
.AIIconButton-AIIcon--regularTop {
|
|
8113
|
+
bottom: calc(var(--spacing-l) + var(--spacing-s)); /* 14px */
|
|
8114
|
+
left: calc(var(--spacing-l) + var(--spacing-xs)); /* 13px */
|
|
8115
|
+
}
|
|
8116
|
+
|
|
8117
|
+
.AIIconButton-AIIcon--largeTop {
|
|
8118
|
+
bottom: calc(var(--spacing-2) + var(--spacing-s)); /* 18px */
|
|
8119
|
+
left: calc(var(--spacing-2) + var(--spacing-xs)); /* 17px */
|
|
8120
|
+
}
|
|
8121
|
+
|
|
8122
|
+
.AIIconButton-AIIcon--regularBottom {
|
|
8123
|
+
top: calc(var(--spacing-l) + var(--spacing-xs)); /* 13px */
|
|
8124
|
+
left: calc(var(--spacing-l) + var(--spacing-s)); /* 14px */
|
|
8125
|
+
}
|
|
8126
|
+
|
|
8127
|
+
.AIIconButton-AIIcon--largeBottom {
|
|
8128
|
+
top: calc(var(--spacing-2) + var(--spacing-xs)); /* 17px */
|
|
8129
|
+
left: calc(var(--spacing-2) + var(--spacing-s)); /* 18px */
|
|
8130
|
+
}
|
|
8131
|
+
|
|
7773
8132
|
.align-baseline {
|
|
7774
8133
|
vertical-align: baseline !important;
|
|
7775
8134
|
}
|