@innovaccer/design-system 2.35.0 → 2.36.1
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 +106 -0
- package/README.md +2 -2
- package/css/dist/index.css +310 -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/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 +360 -28
- 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/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/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 +4674 -217
- package/dist/index.js +4800 -343
- 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,109 @@
|
|
|
1
|
+
## 2.36.1 (2024-06-12)
|
|
2
|
+
|
|
3
|
+
### Highlights
|
|
4
|
+
|
|
5
|
+
NA
|
|
6
|
+
|
|
7
|
+
### Breaking changes
|
|
8
|
+
|
|
9
|
+
NA
|
|
10
|
+
|
|
11
|
+
### Migration guide
|
|
12
|
+
|
|
13
|
+
NA
|
|
14
|
+
|
|
15
|
+
### Deprecations
|
|
16
|
+
|
|
17
|
+
NA
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
NA
|
|
22
|
+
|
|
23
|
+
### Fixes
|
|
24
|
+
|
|
25
|
+
- fix(select): enable support for arbitrary default values in single select (bea359b7)
|
|
26
|
+
|
|
27
|
+
### Improvements
|
|
28
|
+
|
|
29
|
+
NA
|
|
30
|
+
|
|
31
|
+
### Documentation
|
|
32
|
+
|
|
33
|
+
NA
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 2.36.0 (2024-06-11)
|
|
38
|
+
|
|
39
|
+
### Highlights
|
|
40
|
+
|
|
41
|
+
- feat(AIButton): add new AI Button component (ce14715c)
|
|
42
|
+
- feat(saraSparkle): add sara sparkle component (e7f54cb3)
|
|
43
|
+
- feat(sara): add new sara component (848ee75c)
|
|
44
|
+
- feat(AIButton): update stories for AI Button component (fbe8b2fd)
|
|
45
|
+
- feat(AIIconButton): add new AI Icon Button Component (120079bd)
|
|
46
|
+
- feat(AIChip): add new AI Chip component (66bd9303)
|
|
47
|
+
- feat(AIResponse): add new AI Response component (09c7f087)
|
|
48
|
+
- feat(progressIndicator): add new progress indicator pattern (f3eaf718)
|
|
49
|
+
- feat(calendar): update calendar states (9d515e38)
|
|
50
|
+
- feat(Input): update readonly state for all input components (8aa4b949)
|
|
51
|
+
- feat(chip): add overflow behavior in chip and chipInput (b5fac8d0)
|
|
52
|
+
|
|
53
|
+
### Breaking changes
|
|
54
|
+
|
|
55
|
+
NA
|
|
56
|
+
|
|
57
|
+
### Migration guide
|
|
58
|
+
|
|
59
|
+
NA
|
|
60
|
+
|
|
61
|
+
### Deprecations
|
|
62
|
+
|
|
63
|
+
NA
|
|
64
|
+
|
|
65
|
+
### Features
|
|
66
|
+
|
|
67
|
+
- feat(AIButton): add new AI Button component (ce14715c)
|
|
68
|
+
- feat(saraSparkle): add sara sparkle component (e7f54cb3)
|
|
69
|
+
- feat(sara): add new sara component (848ee75c)
|
|
70
|
+
- feat(AIButton): update stories for AI Button component (fbe8b2fd)
|
|
71
|
+
- feat(AIIconButton): add new AI Icon Button Component (120079bd)
|
|
72
|
+
- feat(AIChip): add new AI Chip component (66bd9303)
|
|
73
|
+
- feat(AIResponse): add new AI Response component (09c7f087)
|
|
74
|
+
- feat(calendar): update calendar states (9d515e38)
|
|
75
|
+
- feat(Input): update readonly state for all input components (8aa4b949)
|
|
76
|
+
- feat(chip): add overflow behavior in chip and chipInput (b5fac8d0)
|
|
77
|
+
- feat(progressIndicator): add new progress indicator pattern (f3eaf718)
|
|
78
|
+
|
|
79
|
+
### Fixes
|
|
80
|
+
|
|
81
|
+
- fix: update storybook link (0f79e9de)
|
|
82
|
+
- fix(actions): update node js version for chromatic build job (20c18981)
|
|
83
|
+
- fix(metricInput): update value of metric input when showActionButton prop is false (5e8b396b)
|
|
84
|
+
- fix(select): update overflow of options in popover with respect to trigger size (4dad3cd3)
|
|
85
|
+
- fix(select): update state of placeholder (c8f9f154)
|
|
86
|
+
- fix(saraSparkle): update size of sara sparkle in story (8ab3d928)
|
|
87
|
+
- fix(AIButton): update focus state of AI Button component (426872c4)
|
|
88
|
+
|
|
89
|
+
### Improvements
|
|
90
|
+
|
|
91
|
+
- fix(docs): update title for components, content, patterns and visualization page (4f3dedde)
|
|
92
|
+
|
|
93
|
+
### Documentation
|
|
94
|
+
|
|
95
|
+
- docs(calendar): update images of calendar states (d8b72589)
|
|
96
|
+
- docs(chip): add overflow behavior in chip (992403da)
|
|
97
|
+
- docs(chipInput): add overflow behavior in chipInput (c4313572)
|
|
98
|
+
- docs(emptyState): add empty state documentation (a572b460)
|
|
99
|
+
- docs(input): update the documentation of state of input (f31e9aaf)
|
|
100
|
+
- docs(AIChip): add documentation of AI Chip component (04c8a303)
|
|
101
|
+
- docs(AITrigger): add AI trigger components documentation (77909038)
|
|
102
|
+
- docs(sara): add sara and sara sparkle documentation (439f03a2)
|
|
103
|
+
- docs(AIResponse): add AI Response documentation (ebe60d42)
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
1
107
|
## 2.35.0 (2024-05-28)
|
|
2
108
|
|
|
3
109
|
### 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);
|
|
@@ -4518,6 +4565,12 @@ body {
|
|
|
4518
4565
|
pointer-events: none;
|
|
4519
4566
|
}
|
|
4520
4567
|
|
|
4568
|
+
.Input--readOnly {
|
|
4569
|
+
background: var(--secondary-lightest);
|
|
4570
|
+
border-color: var(--secondary);
|
|
4571
|
+
pointer-events: none;
|
|
4572
|
+
}
|
|
4573
|
+
|
|
4521
4574
|
.Input--disabled .Input-icon--left {
|
|
4522
4575
|
color: var(--inverse-lightest);
|
|
4523
4576
|
}
|
|
@@ -5147,6 +5200,12 @@ body {
|
|
|
5147
5200
|
pointer-events: none;
|
|
5148
5201
|
}
|
|
5149
5202
|
|
|
5203
|
+
.MetricInput--readOnly {
|
|
5204
|
+
background: var(--secondary-lightest);
|
|
5205
|
+
border-color: var(--secondary);
|
|
5206
|
+
pointer-events: none;
|
|
5207
|
+
}
|
|
5208
|
+
|
|
5150
5209
|
.MetricInput--disabled .MetricInput-icon {
|
|
5151
5210
|
color: var(--inverse-lightest);
|
|
5152
5211
|
}
|
|
@@ -7205,6 +7264,12 @@ body {
|
|
|
7205
7264
|
border-color: var(--secondary-light);
|
|
7206
7265
|
}
|
|
7207
7266
|
|
|
7267
|
+
.Textarea--readOnly {
|
|
7268
|
+
pointer-events: none;
|
|
7269
|
+
background: var(--secondary-lightest);
|
|
7270
|
+
border-color: var(--secondary);
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7208
7273
|
.Textarea--error {
|
|
7209
7274
|
border: var(--spacing-xs) solid var(--alert);
|
|
7210
7275
|
}
|
|
@@ -7821,6 +7886,249 @@ body {
|
|
|
7821
7886
|
color: var(--text);
|
|
7822
7887
|
}
|
|
7823
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
|
+
|
|
7824
8132
|
.align-baseline {
|
|
7825
8133
|
vertical-align: baseline !important;
|
|
7826
8134
|
}
|