@infonomic/uikit 5.27.0 → 5.28.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/dist/components/accordion/accordion.js +5 -5
- package/dist/components/accordion/accordion.module.css +11 -5
- package/dist/components/accordion/accordion_module.css +7 -7
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.js +5 -4
- package/dist/components/avatar/avatar.module.css +17 -11
- package/dist/components/avatar/avatar_module.css +6 -6
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/badge.module.css +8 -8
- package/dist/components/badge/badge_module.css +8 -8
- package/dist/components/button/button-group.module.css +5 -3
- package/dist/components/button/button-group_module.css +2 -2
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.module.css +50 -50
- package/dist/components/button/button_module.css +38 -38
- package/dist/components/button/control-buttons.js +1 -1
- package/dist/components/button/control-buttons.module.css +6 -2
- package/dist/components/button/control-buttons_module.css +1 -1
- package/dist/components/button/copy-button.d.ts.map +1 -1
- package/dist/components/button/copy-button.js +2 -2
- package/dist/components/button/copy-button.module.css +14 -13
- package/dist/components/button/copy-button_module.css +7 -7
- package/dist/components/card/card.js +6 -6
- package/dist/components/card/card.module.css +10 -10
- package/dist/components/card/card_module.css +10 -10
- package/dist/components/chips/chip.js +5 -5
- package/dist/components/chips/chip.module.css +49 -45
- package/dist/components/chips/chip_module.css +35 -35
- package/dist/components/container/container.d.ts.map +1 -1
- package/dist/components/container/container.js +1 -1
- package/dist/components/container/container.module.css +14 -10
- package/dist/components/container/container_module.css +4 -4
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/dropdown/dropdown.module.css +18 -11
- package/dist/components/dropdown/dropdown_module.css +8 -9
- package/dist/components/forms/checkbox.js +5 -5
- package/dist/components/forms/checkbox.module.css +62 -33
- package/dist/components/forms/checkbox_module.css +26 -26
- package/dist/components/forms/error-text.module.css +8 -7
- package/dist/components/forms/error-text_module.css +1 -1
- package/dist/components/forms/help-text.js +1 -1
- package/dist/components/forms/help-text.module.css +8 -7
- package/dist/components/forms/help-text_module.css +1 -1
- package/dist/components/forms/input-adornment.js +1 -1
- package/dist/components/forms/input-adornment.module.css +10 -9
- package/dist/components/forms/input-adornment_module.css +3 -3
- package/dist/components/forms/input.js +5 -5
- package/dist/components/forms/input.module.css +50 -49
- package/dist/components/forms/input_module.css +37 -37
- package/dist/components/forms/label.module.css +9 -8
- package/dist/components/forms/label_module.css +2 -2
- package/dist/components/forms/radio-group.js +1 -1
- package/dist/components/forms/radio-group.module.css +44 -24
- package/dist/components/forms/radio-group_module.css +42 -15
- package/dist/components/forms/select.js +3 -3
- package/dist/components/forms/select.module.css +23 -14
- package/dist/components/forms/select_module.css +17 -6
- package/dist/components/forms/text-area.js +1 -1
- package/dist/components/forms/text-area.module.css +12 -12
- package/dist/components/forms/text-area_module.css +2 -2
- package/dist/components/notifications/alert.js +10 -10
- package/dist/components/notifications/alert.module.css +39 -22
- package/dist/components/notifications/alert_module.css +19 -15
- package/dist/components/notifications/toast.js +5 -5
- package/dist/components/notifications/toast.module.css +53 -24
- package/dist/components/notifications/toast_module.css +66 -13
- package/dist/components/overlay/overlay.module.css +14 -6
- package/dist/components/overlay/overlay_module.css +4 -4
- package/dist/components/pager/pagination.js +2 -2
- package/dist/components/pager/pagination.module.css +12 -11
- package/dist/components/pager/pagination_module.css +18 -2
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area/scroll-area.js +7 -7
- package/dist/components/scroll-area/scroll-area.module.css +17 -11
- package/dist/components/scroll-area/scroll-area_module.css +9 -9
- package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
- package/dist/components/scroll-to-top/scroll-to-top.module.css +16 -14
- package/dist/components/scroll-to-top/scroll-to-top_module.css +9 -9
- package/dist/components/section/section.d.ts.map +1 -1
- package/dist/components/section/section.js +1 -1
- package/dist/components/section/section.module.css +8 -7
- package/dist/components/section/section_module.css +1 -1
- package/dist/components/shimmer/shimmer.module.css +14 -6
- package/dist/components/shimmer/shimmer_module.css +6 -6
- package/dist/components/table/table.js +8 -8
- package/dist/components/table/table.module.css +29 -14
- package/dist/components/table/table_module.css +25 -13
- package/dist/components/tabs/tabs.js +4 -4
- package/dist/components/tabs/tabs.module.css +15 -10
- package/dist/components/tabs/tabs_module.css +9 -9
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +3 -2
- package/dist/components/tooltip/tooltip.module.css +11 -10
- package/dist/components/tooltip/tooltip_module.css +2 -2
- package/dist/styles/components-vanilla.css +1 -1
- package/dist/widgets/datepicker/datepicker.module.css +2 -2
- package/dist/widgets/datepicker/datepicker.module.js +0 -1
- package/dist/widgets/datepicker/datepicker_module.css +1 -1
- package/dist/widgets/drawer/drawer-container.js +1 -1
- package/dist/widgets/drawer/drawer-content.js +1 -1
- package/dist/widgets/drawer/drawer-header.js +1 -1
- package/dist/widgets/drawer/drawer-top-actions.js +1 -1
- package/dist/widgets/drawer/drawer-wrapper.js +1 -1
- package/dist/widgets/drawer/drawer.module.css +37 -16
- package/dist/widgets/drawer/drawer_module.css +63 -5
- package/dist/widgets/modal/modal-actions.js +1 -1
- package/dist/widgets/modal/modal-container.js +1 -1
- package/dist/widgets/modal/modal-content.js +1 -1
- package/dist/widgets/modal/modal-header.js +1 -1
- package/dist/widgets/modal/modal-wrapper.d.ts.map +1 -1
- package/dist/widgets/modal/modal-wrapper.js +2 -1
- package/dist/widgets/modal/modal.module.css +18 -8
- package/dist/widgets/modal/modal_module.css +14 -6
- package/dist/widgets/timeline/timeline.module.css +28 -16
- package/dist/widgets/timeline/timeline_module.css +15 -9
- package/package.json +17 -17
- package/src/components/accordion/accordion.module.css +11 -5
- package/src/components/accordion/accordion.tsx +5 -5
- package/src/components/avatar/avatar.module.css +17 -11
- package/src/components/avatar/avatar.tsx +5 -4
- package/src/components/badge/badge.module.css +8 -8
- package/src/components/badge/badge.tsx +1 -1
- package/src/components/button/button-group.module.css +5 -3
- package/src/components/button/button.module.css +50 -50
- package/src/components/button/button.tsx +5 -5
- package/src/components/button/control-buttons.module.css +6 -2
- package/src/components/button/control-buttons.tsx +1 -1
- package/src/components/button/copy-button.module.css +14 -13
- package/src/components/button/copy-button.tsx +6 -2
- package/src/components/card/card.module.css +10 -10
- package/src/components/card/card.tsx +6 -6
- package/src/components/chips/chip.module.css +49 -45
- package/src/components/chips/chip.tsx +10 -10
- package/src/components/container/container.module.css +14 -10
- package/src/components/container/container.tsx +2 -2
- package/src/components/dropdown/dropdown.module.css +18 -11
- package/src/components/dropdown/dropdown.tsx +8 -8
- package/src/components/forms/checkbox.module.css +62 -33
- package/src/components/forms/checkbox.tsx +8 -8
- package/src/components/forms/error-text.module.css +8 -7
- package/src/components/forms/help-text.module.css +8 -7
- package/src/components/forms/help-text.tsx +1 -1
- package/src/components/forms/input-adornment.module.css +10 -9
- package/src/components/forms/input-adornment.tsx +2 -2
- package/src/components/forms/input.module.css +50 -49
- package/src/components/forms/input.tsx +8 -8
- package/src/components/forms/label.module.css +9 -8
- package/src/components/forms/radio-group.module.css +44 -24
- package/src/components/forms/radio-group.tsx +1 -1
- package/src/components/forms/select.module.css +23 -14
- package/src/components/forms/select.tsx +3 -3
- package/src/components/forms/text-area.module.css +12 -12
- package/src/components/forms/text-area.tsx +3 -3
- package/src/components/notifications/alert.module.css +39 -22
- package/src/components/notifications/alert.tsx +10 -10
- package/src/components/notifications/toast.module.css +53 -24
- package/src/components/notifications/toast.tsx +5 -5
- package/src/components/overlay/overlay.module.css +14 -6
- package/src/components/pager/pagination.module.css +12 -11
- package/src/components/pager/pagination.tsx +2 -2
- package/src/components/scroll-area/scroll-area.module.css +17 -11
- package/src/components/scroll-area/scroll-area.tsx +8 -8
- package/src/components/scroll-to-top/scroll-to-top.module.css +16 -14
- package/src/components/scroll-to-top/scroll-to-top.tsx +2 -2
- package/src/components/section/section.module.css +8 -7
- package/src/components/section/section.tsx +2 -2
- package/src/components/shimmer/shimmer.module.css +14 -6
- package/src/components/table/table.module.css +29 -14
- package/src/components/table/table.tsx +8 -8
- package/src/components/tabs/tabs.module.css +15 -10
- package/src/components/tabs/tabs.tsx +4 -4
- package/src/components/tooltip/tooltip.module.css +11 -10
- package/src/components/tooltip/tooltip.tsx +5 -2
- package/src/styles/components/loaders.css +1 -1
- package/src/widgets/datepicker/datepicker.module.css +2 -2
- package/src/widgets/drawer/drawer-container.tsx +1 -1
- package/src/widgets/drawer/drawer-content.tsx +1 -1
- package/src/widgets/drawer/drawer-header.tsx +1 -1
- package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
- package/src/widgets/drawer/drawer-wrapper.tsx +1 -1
- package/src/widgets/drawer/drawer.module.css +37 -16
- package/src/widgets/modal/modal-actions.tsx +1 -1
- package/src/widgets/modal/modal-container.tsx +1 -1
- package/src/widgets/modal/modal-content.tsx +1 -1
- package/src/widgets/modal/modal-header.tsx +1 -1
- package/src/widgets/modal/modal-wrapper.tsx +2 -1
- package/src/widgets/modal/modal.module.css +18 -8
- package/src/widgets/timeline/timeline.module.css +28 -16
|
@@ -8,7 +8,7 @@ infonomic-components;
|
|
|
8
8
|
@layer infonomic-components {
|
|
9
9
|
|
|
10
10
|
.button,
|
|
11
|
-
:global(.button) {
|
|
11
|
+
:global(.infonomic-infonomic-button) {
|
|
12
12
|
border: none;
|
|
13
13
|
cursor: pointer;
|
|
14
14
|
font-weight: normal;
|
|
@@ -29,15 +29,15 @@ infonomic-components;
|
|
|
29
29
|
|
|
30
30
|
.button:disabled,
|
|
31
31
|
.button[disabled],
|
|
32
|
-
:global(.button):disabled,
|
|
33
|
-
:global(.button)[disabled] {
|
|
32
|
+
:global(.infonomic-button):disabled,
|
|
33
|
+
:global(.infonomic-button)[disabled] {
|
|
34
34
|
pointer-events: none;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.button:focus,
|
|
38
38
|
.button:active,
|
|
39
|
-
:global(.button):focus,
|
|
40
|
-
:global(.button):active {
|
|
39
|
+
:global(.infonomic-button):focus,
|
|
40
|
+
:global(.infonomic-button):active {
|
|
41
41
|
--ring-offset-color: var(--background);
|
|
42
42
|
--ring-offset-shadow: var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color);
|
|
43
43
|
--ring-shadow: var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color);
|
|
@@ -45,14 +45,14 @@ infonomic-components;
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.button.square,
|
|
48
|
-
:global(.button-square) {
|
|
48
|
+
:global(.infonomic-button-square) {
|
|
49
49
|
aspect-ratio: 1 / 1;
|
|
50
50
|
padding: 0;
|
|
51
51
|
border-radius: var(--border-radius-sm);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.button.round,
|
|
55
|
-
:global(.button-round) {
|
|
55
|
+
:global(.infonomic-button-round) {
|
|
56
56
|
aspect-ratio: 1 / 1;
|
|
57
57
|
padding: 0;
|
|
58
58
|
border-radius: var(--border-radius-full);
|
|
@@ -60,35 +60,35 @@ infonomic-components;
|
|
|
60
60
|
|
|
61
61
|
/* Sizes */
|
|
62
62
|
.xs,
|
|
63
|
-
:global(.button-xs) {
|
|
63
|
+
:global(.infonomic-button-xs) {
|
|
64
64
|
min-height: 26px;
|
|
65
65
|
font-size: 0.7rem;
|
|
66
66
|
padding: 0.2rem 0.4rem;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.sm,
|
|
70
|
-
:global(.button-sm) {
|
|
70
|
+
:global(.infonomic-button-sm) {
|
|
71
71
|
min-height: 32px;
|
|
72
72
|
font-size: 0.775rem;
|
|
73
73
|
padding: 0.25rem 0.5rem;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.md,
|
|
77
|
-
:global(.button-md) {
|
|
77
|
+
:global(.infonomic-button-md) {
|
|
78
78
|
min-height: 38px;
|
|
79
79
|
font-size: 0.95rem;
|
|
80
80
|
padding: 0.625rem 1.25rem;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.lg,
|
|
84
|
-
:global(.button-lg) {
|
|
84
|
+
:global(.infonomic-button-lg) {
|
|
85
85
|
min-height: 46px;
|
|
86
86
|
font-size: 1.1rem;
|
|
87
87
|
padding: 0.75rem 1.5rem;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.xl,
|
|
91
|
-
:global(.button-xl) {
|
|
91
|
+
:global(.infonomic-button-xl) {
|
|
92
92
|
min-height: 54px;
|
|
93
93
|
font-size: 1.2rem;
|
|
94
94
|
padding: 0.75rem 1.5rem;
|
|
@@ -96,27 +96,27 @@ infonomic-components;
|
|
|
96
96
|
|
|
97
97
|
/* Variants - Consuming Variables */
|
|
98
98
|
.filled,
|
|
99
|
-
:global(.button-filled) {
|
|
99
|
+
:global(.infonomic-button-filled) {
|
|
100
100
|
color: var(--button-variant-filled-foreground);
|
|
101
101
|
background-color: var(--button-variant-filled);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.filled:hover,
|
|
105
|
-
:global(.button-filled):hover {
|
|
105
|
+
:global(.infonomic-button-filled):hover {
|
|
106
106
|
background-color: var(--button-variant-filled-hover);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.filled:focus,
|
|
110
110
|
.filled:active,
|
|
111
|
-
:global(.button-filled):focus,
|
|
112
|
-
:global(.button-filled):active {
|
|
111
|
+
:global(.infonomic-button-filled):focus,
|
|
112
|
+
:global(.infonomic-button-filled):active {
|
|
113
113
|
--ring-color: var(--button-ring-color);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.filled:disabled,
|
|
117
117
|
.filled[disabled],
|
|
118
|
-
:global(.button-filled):disabled,
|
|
119
|
-
:global(.button-filled)[disabled] {
|
|
118
|
+
:global(.infonomic-button-filled):disabled,
|
|
119
|
+
:global(.infonomic-button-filled)[disabled] {
|
|
120
120
|
background-color: var(--button-variant-filled-disabled,
|
|
121
121
|
oklch(from var(--button-variant-filled) calc(l * 1.1) calc(c * 0.85) h));
|
|
122
122
|
color: var(--button-variant-filled-foreground-disabled,
|
|
@@ -127,27 +127,27 @@ infonomic-components;
|
|
|
127
127
|
/* Weak variant for close button on selected button */
|
|
128
128
|
|
|
129
129
|
.filled-weak,
|
|
130
|
-
:global(.button-filled-weak) {
|
|
130
|
+
:global(.infonomic-button-filled-weak) {
|
|
131
131
|
color: var(--button-variant-filled-weak-foreground);
|
|
132
132
|
background-color: var(--button-variant-filled-weak);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.filled-weak:hover,
|
|
136
|
-
:global(.button-filled-weak):hover {
|
|
136
|
+
:global(.infonomic-button-filled-weak):hover {
|
|
137
137
|
background-color: var(--button-variant-filled-weak-hover);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.filled-weak:focus,
|
|
141
141
|
.filled-weak:active,
|
|
142
|
-
:global(.button-filled-weak):focus,
|
|
143
|
-
:global(.button-filled-weak):active {
|
|
142
|
+
:global(.infonomic-button-filled-weak):focus,
|
|
143
|
+
:global(.infonomic-button-filled-weak):active {
|
|
144
144
|
--ring-color: var(--button-ring-color);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.filled-weak:disabled,
|
|
148
148
|
.filled-weak[disabled],
|
|
149
|
-
:global(.button-filled-weak):disabled,
|
|
150
|
-
:global(.button-filled-weak)[disabled] {
|
|
149
|
+
:global(.infonomic-button-filled-weak):disabled,
|
|
150
|
+
:global(.infonomic-button-filled-weak)[disabled] {
|
|
151
151
|
background-color: var(--button-variant-filled-weak-disabled,
|
|
152
152
|
oklch(from var(--button-variant-filled-weak) calc(l * 1.1) calc(c * 0.85) h));
|
|
153
153
|
color: var(--button-variant-filled-weak-foreground-disabled,
|
|
@@ -155,7 +155,7 @@ infonomic-components;
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.outlined,
|
|
158
|
-
:global(.button-outlined) {
|
|
158
|
+
:global(.infonomic-button-outlined) {
|
|
159
159
|
border: 1px solid var(--button-variant-outlined-border);
|
|
160
160
|
color: var(--button-variant-outlined-foreground);
|
|
161
161
|
background-color: var(--button-variant-outlined);
|
|
@@ -163,8 +163,8 @@ infonomic-components;
|
|
|
163
163
|
|
|
164
164
|
.outlined:disabled,
|
|
165
165
|
.outlined[disabled],
|
|
166
|
-
:global(.button-outlined):disabled,
|
|
167
|
-
:global(.button-outlined)[disabled] {
|
|
166
|
+
:global(.infonomic-button-outlined):disabled,
|
|
167
|
+
:global(.infonomic-button-outlined)[disabled] {
|
|
168
168
|
border-color: var(--button-variant-outlined-border-disabled,
|
|
169
169
|
oklch(from var(--button-variant-outlined-border) calc(l * 1.5) calc(c * 0.8) h));
|
|
170
170
|
color: var(--button-variant-outlined-foreground-disabled,
|
|
@@ -172,19 +172,19 @@ infonomic-components;
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.outlined:hover,
|
|
175
|
-
:global(.button-outlined):hover {
|
|
175
|
+
:global(.infonomic-button-outlined):hover {
|
|
176
176
|
background-color: var(--button-variant-outlined-hover);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.outlined:focus,
|
|
180
180
|
.outlined:active,
|
|
181
|
-
:global(.button-outlined):focus,
|
|
182
|
-
:global(.button-outlined):active {
|
|
181
|
+
:global(.infonomic-button-outlined):focus,
|
|
182
|
+
:global(.infonomic-button-outlined):active {
|
|
183
183
|
--ring-color: var(--button-ring-color);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.gradient,
|
|
187
|
-
:global(.button-gradient) {
|
|
187
|
+
:global(.infonomic-button-gradient) {
|
|
188
188
|
color: var(--button-variant-gradient-foreground);
|
|
189
189
|
background: linear-gradient(45deg,
|
|
190
190
|
var(--button-variant-gradient-start),
|
|
@@ -193,8 +193,8 @@ infonomic-components;
|
|
|
193
193
|
|
|
194
194
|
.gradient:disabled,
|
|
195
195
|
.gradient[disabled],
|
|
196
|
-
:global(.button-gradient):disabled,
|
|
197
|
-
:global(.button-gradient)[disabled] {
|
|
196
|
+
:global(.infonomic-button-gradient):disabled,
|
|
197
|
+
:global(.infonomic-button-gradient)[disabled] {
|
|
198
198
|
background: unset;
|
|
199
199
|
background-color: var(--button-variant-gradient-disabled,
|
|
200
200
|
oklch(from var(--button-variant-gradient-end) calc(l * 1.2) calc(c * 0.85) h));
|
|
@@ -203,7 +203,7 @@ infonomic-components;
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.gradient:hover,
|
|
206
|
-
:global(.button-gradient):hover {
|
|
206
|
+
:global(.infonomic-button-gradient):hover {
|
|
207
207
|
color: var(--button-variant-gradient-foreground);
|
|
208
208
|
background: linear-gradient(45deg,
|
|
209
209
|
var(--button-variant-gradient-start),
|
|
@@ -212,39 +212,39 @@ infonomic-components;
|
|
|
212
212
|
|
|
213
213
|
.gradient:focus,
|
|
214
214
|
.gradient:active,
|
|
215
|
-
:global(.button-gradient):focus,
|
|
216
|
-
:global(.button-gradient):active {
|
|
215
|
+
:global(.infonomic-button-gradient):focus,
|
|
216
|
+
:global(.infonomic-button-gradient):active {
|
|
217
217
|
--ring-color: var(--button-ring-color);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.text,
|
|
221
|
-
:global(.button-text) {
|
|
221
|
+
:global(.infonomic-button-text) {
|
|
222
222
|
background-color: var(--button-variant-text);
|
|
223
223
|
color: var(--button-variant-text-foreground);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.text:disabled,
|
|
227
227
|
.text[disabled],
|
|
228
|
-
:global(.button-text):disabled,
|
|
229
|
-
:global(.button-text)[disabled] {
|
|
228
|
+
:global(.infonomic-button-text):disabled,
|
|
229
|
+
:global(.infonomic-button-text)[disabled] {
|
|
230
230
|
color: oklch(from var(--button-variant-text-foreground) calc(l * 1.5) calc(c * 0.5) h);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.text:hover,
|
|
234
|
-
:global(.button-text):hover {
|
|
234
|
+
:global(.infonomic-button-text):hover {
|
|
235
235
|
background-color: var(--button-variant-text-hover);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.text:focus,
|
|
239
239
|
.text:active,
|
|
240
|
-
:global(.button-text):focus,
|
|
241
|
-
:global(.button-text):active {
|
|
240
|
+
:global(.infonomic-button-text):focus,
|
|
241
|
+
:global(.infonomic-button-text):active {
|
|
242
242
|
--ring-color: var(--button-ring-color);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
/* Intents - Defining Variables */
|
|
246
246
|
.primary,
|
|
247
|
-
:global(.button-primary) {
|
|
247
|
+
:global(.infonomic-button-primary) {
|
|
248
248
|
--button-ring-color: var(--ring-primary);
|
|
249
249
|
|
|
250
250
|
/* Filled */
|
|
@@ -284,7 +284,7 @@ infonomic-components;
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
.secondary,
|
|
287
|
-
:global(.button-secondary) {
|
|
287
|
+
:global(.infonomic-button-secondary) {
|
|
288
288
|
--button-ring-color: var(--ring-secondary);
|
|
289
289
|
|
|
290
290
|
/* Filled */
|
|
@@ -323,7 +323,7 @@ infonomic-components;
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
.noeffect,
|
|
326
|
-
:global(.button-noeffect) {
|
|
326
|
+
:global(.infonomic-button-noeffect) {
|
|
327
327
|
--button-ring-color: var(--ring-noeffect);
|
|
328
328
|
|
|
329
329
|
/* Filled */
|
|
@@ -364,7 +364,7 @@ infonomic-components;
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
.success,
|
|
367
|
-
:global(.button-success) {
|
|
367
|
+
:global(.infonomic-button-success) {
|
|
368
368
|
--button-ring-color: var(--ring-success);
|
|
369
369
|
|
|
370
370
|
/* Filled */
|
|
@@ -403,7 +403,7 @@ infonomic-components;
|
|
|
403
403
|
}
|
|
404
404
|
|
|
405
405
|
.info,
|
|
406
|
-
:global(.button-info) {
|
|
406
|
+
:global(.infonomic-button-info) {
|
|
407
407
|
--button-ring-color: var(--ring-info);
|
|
408
408
|
|
|
409
409
|
/* Filled */
|
|
@@ -442,7 +442,7 @@ infonomic-components;
|
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.warning,
|
|
445
|
-
:global(.button-warning) {
|
|
445
|
+
:global(.infonomic-button-warning) {
|
|
446
446
|
--button-ring-color: var(--ring-warning);
|
|
447
447
|
|
|
448
448
|
/* Filled */
|
|
@@ -481,7 +481,7 @@ infonomic-components;
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
.danger,
|
|
484
|
-
:global(.button-danger) {
|
|
484
|
+
:global(.infonomic-button-danger) {
|
|
485
485
|
--button-ring-color: var(--ring-danger);
|
|
486
486
|
|
|
487
487
|
/* Filled */
|
|
@@ -521,7 +521,7 @@ infonomic-components;
|
|
|
521
521
|
|
|
522
522
|
/* Full width */
|
|
523
523
|
.fullWidth,
|
|
524
|
-
:global(.button-full-width) {
|
|
524
|
+
:global(.infonomic-button-full-width) {
|
|
525
525
|
width: 100%;
|
|
526
526
|
display: flex;
|
|
527
527
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
:is(.button-IjDhC0, .button) {
|
|
4
|
+
:is(.button-IjDhC0, .infonomic-infonomic-button) {
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
text-align: center;
|
|
7
7
|
gap: var(--gap-2);
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
display: inline-flex;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
:is(.button-IjDhC0:disabled, .button-IjDhC0[disabled], .button:disabled, .button[disabled]) {
|
|
21
|
+
:is(.button-IjDhC0:disabled, .button-IjDhC0[disabled], .infonomic-button:disabled, .infonomic-button[disabled]) {
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
:is(.button-IjDhC0:focus, .button-IjDhC0:active, .button:focus, .button:active) {
|
|
25
|
+
:is(.button-IjDhC0:focus, .button-IjDhC0:active, .infonomic-button:focus, .infonomic-button:active) {
|
|
26
26
|
--ring-offset-color: var(--background);
|
|
27
27
|
--ring-offset-shadow: var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color);
|
|
28
28
|
--ring-shadow: var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color);
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
padding: 0;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.button-square {
|
|
38
|
+
.infonomic-button-square {
|
|
39
39
|
aspect-ratio: 1;
|
|
40
40
|
border-radius: var(--border-radius-sm);
|
|
41
41
|
padding: 0;
|
|
@@ -47,135 +47,135 @@
|
|
|
47
47
|
padding: 0;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.button-round {
|
|
50
|
+
.infonomic-button-round {
|
|
51
51
|
aspect-ratio: 1;
|
|
52
52
|
border-radius: var(--border-radius-full);
|
|
53
53
|
padding: 0;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
:is(.xs-jxTd5R, .button-xs) {
|
|
56
|
+
:is(.xs-jxTd5R, .infonomic-button-xs) {
|
|
57
57
|
min-height: 26px;
|
|
58
58
|
padding: .2rem .4rem;
|
|
59
59
|
font-size: .7rem;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
:is(.sm-uD_Ugt, .button-sm) {
|
|
62
|
+
:is(.sm-uD_Ugt, .infonomic-button-sm) {
|
|
63
63
|
min-height: 32px;
|
|
64
64
|
padding: .25rem .5rem;
|
|
65
65
|
font-size: .775rem;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
:is(.md-Qp9ad6, .button-md) {
|
|
68
|
+
:is(.md-Qp9ad6, .infonomic-button-md) {
|
|
69
69
|
min-height: 38px;
|
|
70
70
|
padding: .625rem 1.25rem;
|
|
71
71
|
font-size: .95rem;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
:is(.lg-FAYTen, .button-lg) {
|
|
74
|
+
:is(.lg-FAYTen, .infonomic-button-lg) {
|
|
75
75
|
min-height: 46px;
|
|
76
76
|
padding: .75rem 1.5rem;
|
|
77
77
|
font-size: 1.1rem;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
:is(.xl-Gwvhl4, .button-xl) {
|
|
80
|
+
:is(.xl-Gwvhl4, .infonomic-button-xl) {
|
|
81
81
|
min-height: 54px;
|
|
82
82
|
padding: .75rem 1.5rem;
|
|
83
83
|
font-size: 1.2rem;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
:is(.filled-CwGsrO, .button-filled) {
|
|
86
|
+
:is(.filled-CwGsrO, .infonomic-button-filled) {
|
|
87
87
|
color: var(--button-variant-filled-foreground);
|
|
88
88
|
background-color: var(--button-variant-filled);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:is(.filled-CwGsrO:hover, .button-filled:hover) {
|
|
91
|
+
:is(.filled-CwGsrO:hover, .infonomic-button-filled:hover) {
|
|
92
92
|
background-color: var(--button-variant-filled-hover);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
:is(.filled-CwGsrO:focus, .filled-CwGsrO:active, .button-filled:focus, .button-filled:active) {
|
|
95
|
+
:is(.filled-CwGsrO:focus, .filled-CwGsrO:active, .infonomic-button-filled:focus, .infonomic-button-filled:active) {
|
|
96
96
|
--ring-color: var(--button-ring-color);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
:is(.filled-CwGsrO:disabled, .filled-CwGsrO[disabled], .button-filled:disabled, .button-filled[disabled]) {
|
|
99
|
+
:is(.filled-CwGsrO:disabled, .filled-CwGsrO[disabled], .infonomic-button-filled:disabled, .infonomic-button-filled[disabled]) {
|
|
100
100
|
background-color: var(--button-variant-filled-disabled, oklch(from var(--button-variant-filled) calc(l * 1.1) calc(c * .85) h));
|
|
101
101
|
color: var(--button-variant-filled-foreground-disabled, oklch(from var(--button-variant-filled-foreground) calc(l * .9) calc(c * .85) h));
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
:is(.filled-weak-QLU8bA, .button-filled-weak) {
|
|
104
|
+
:is(.filled-weak-QLU8bA, .infonomic-button-filled-weak) {
|
|
105
105
|
color: var(--button-variant-filled-weak-foreground);
|
|
106
106
|
background-color: var(--button-variant-filled-weak);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
:is(.filled-weak-QLU8bA:hover, .button-filled-weak:hover) {
|
|
109
|
+
:is(.filled-weak-QLU8bA:hover, .infonomic-button-filled-weak:hover) {
|
|
110
110
|
background-color: var(--button-variant-filled-weak-hover);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
:is(.filled-weak-QLU8bA:focus, .filled-weak-QLU8bA:active, .button-filled-weak:focus, .button-filled-weak:active) {
|
|
113
|
+
:is(.filled-weak-QLU8bA:focus, .filled-weak-QLU8bA:active, .infonomic-button-filled-weak:focus, .infonomic-button-filled-weak:active) {
|
|
114
114
|
--ring-color: var(--button-ring-color);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
:is(.filled-weak-QLU8bA:disabled, .filled-weak-QLU8bA[disabled], .button-filled-weak:disabled, .button-filled-weak[disabled]) {
|
|
117
|
+
:is(.filled-weak-QLU8bA:disabled, .filled-weak-QLU8bA[disabled], .infonomic-button-filled-weak:disabled, .infonomic-button-filled-weak[disabled]) {
|
|
118
118
|
background-color: var(--button-variant-filled-weak-disabled, oklch(from var(--button-variant-filled-weak) calc(l * 1.1) calc(c * .85) h));
|
|
119
119
|
color: var(--button-variant-filled-weak-foreground-disabled, oklch(from var(--button-variant-filled-weak-foreground) calc(l * .9) calc(c * .85) h));
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
:is(.outlined-nZGbxu, .button-outlined) {
|
|
122
|
+
:is(.outlined-nZGbxu, .infonomic-button-outlined) {
|
|
123
123
|
border: 1px solid var(--button-variant-outlined-border);
|
|
124
124
|
color: var(--button-variant-outlined-foreground);
|
|
125
125
|
background-color: var(--button-variant-outlined);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:is(.outlined-nZGbxu:disabled, .outlined-nZGbxu[disabled], .button-outlined:disabled, .button-outlined[disabled]) {
|
|
128
|
+
:is(.outlined-nZGbxu:disabled, .outlined-nZGbxu[disabled], .infonomic-button-outlined:disabled, .infonomic-button-outlined[disabled]) {
|
|
129
129
|
border-color: var(--button-variant-outlined-border-disabled, oklch(from var(--button-variant-outlined-border) calc(l * 1.5) calc(c * .8) h));
|
|
130
130
|
color: var(--button-variant-outlined-foreground-disabled, oklch(from var(--button-variant-outlined-foreground) calc(l * 1.1) calc(c * .7) h));
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
:is(.outlined-nZGbxu:hover, .button-outlined:hover) {
|
|
133
|
+
:is(.outlined-nZGbxu:hover, .infonomic-button-outlined:hover) {
|
|
134
134
|
background-color: var(--button-variant-outlined-hover);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
:is(.outlined-nZGbxu:focus, .outlined-nZGbxu:active, .button-outlined:focus, .button-outlined:active) {
|
|
137
|
+
:is(.outlined-nZGbxu:focus, .outlined-nZGbxu:active, .infonomic-button-outlined:focus, .infonomic-button-outlined:active) {
|
|
138
138
|
--ring-color: var(--button-ring-color);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
:is(.gradient-ySC3O3, .button-gradient) {
|
|
141
|
+
:is(.gradient-ySC3O3, .infonomic-button-gradient) {
|
|
142
142
|
color: var(--button-variant-gradient-foreground);
|
|
143
143
|
background: linear-gradient(45deg, var(--button-variant-gradient-start), var(--button-variant-gradient-end));
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
:is(.gradient-ySC3O3:disabled, .gradient-ySC3O3[disabled], .button-gradient:disabled, .button-gradient[disabled]) {
|
|
146
|
+
:is(.gradient-ySC3O3:disabled, .gradient-ySC3O3[disabled], .infonomic-button-gradient:disabled, .infonomic-button-gradient[disabled]) {
|
|
147
147
|
background: unset;
|
|
148
148
|
background-color: var(--button-variant-gradient-disabled, oklch(from var(--button-variant-gradient-end) calc(l * 1.2) calc(c * .85) h));
|
|
149
149
|
color: var(--button-variant-gradient-foreground-disabled, oklch(from var(--button-variant-gradient-foreground) calc(l * .9) calc(c * .85) h));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
:is(.gradient-ySC3O3:hover, .button-gradient:hover) {
|
|
152
|
+
:is(.gradient-ySC3O3:hover, .infonomic-button-gradient:hover) {
|
|
153
153
|
color: var(--button-variant-gradient-foreground);
|
|
154
154
|
background: linear-gradient(45deg, var(--button-variant-gradient-start), var(--button-variant-gradient-end));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
:is(.gradient-ySC3O3:focus, .gradient-ySC3O3:active, .button-gradient:focus, .button-gradient:active) {
|
|
157
|
+
:is(.gradient-ySC3O3:focus, .gradient-ySC3O3:active, .infonomic-button-gradient:focus, .infonomic-button-gradient:active) {
|
|
158
158
|
--ring-color: var(--button-ring-color);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
:is(.text-GaxlcE, .button-text) {
|
|
161
|
+
:is(.text-GaxlcE, .infonomic-button-text) {
|
|
162
162
|
background-color: var(--button-variant-text);
|
|
163
163
|
color: var(--button-variant-text-foreground);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
:is(.text-GaxlcE:disabled, .text-GaxlcE[disabled], .button-text:disabled, .button-text[disabled]) {
|
|
166
|
+
:is(.text-GaxlcE:disabled, .text-GaxlcE[disabled], .infonomic-button-text:disabled, .infonomic-button-text[disabled]) {
|
|
167
167
|
color: oklch(from var(--button-variant-text-foreground) calc(l * 1.5) calc(c * .5) h);
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
:is(.text-GaxlcE:hover, .button-text:hover) {
|
|
170
|
+
:is(.text-GaxlcE:hover, .infonomic-button-text:hover) {
|
|
171
171
|
background-color: var(--button-variant-text-hover);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
:is(.text-GaxlcE:focus, .text-GaxlcE:active, .button-text:focus, .button-text:active) {
|
|
174
|
+
:is(.text-GaxlcE:focus, .text-GaxlcE:active, .infonomic-button-text:focus, .infonomic-button-text:active) {
|
|
175
175
|
--ring-color: var(--button-ring-color);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
:is(.primary-tUmczz, .button-primary) {
|
|
178
|
+
:is(.primary-tUmczz, .infonomic-button-primary) {
|
|
179
179
|
--button-ring-color: var(--ring-primary);
|
|
180
180
|
--button-variant-filled: var(--fill-primary-strong);
|
|
181
181
|
--button-variant-filled-hover: var(--fill-primary-strong-hover);
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
--button-variant-gradient-foreground-disabled: var(--text-on-primary-disabled);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
:is(.secondary-UqT2AY, .button-secondary) {
|
|
206
|
+
:is(.secondary-UqT2AY, .infonomic-button-secondary) {
|
|
207
207
|
--button-ring-color: var(--ring-secondary);
|
|
208
208
|
--button-variant-filled: var(--fill-secondary-strong);
|
|
209
209
|
--button-variant-filled-hover: var(--fill-secondary-strong-hover);
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
--button-variant-gradient-foreground-disabled: var(--text-on-secondary-disabled);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
:is(.noeffect-fpxSgg, .button-noeffect) {
|
|
234
|
+
:is(.noeffect-fpxSgg, .infonomic-button-noeffect) {
|
|
235
235
|
--button-ring-color: var(--ring-noeffect);
|
|
236
236
|
--button-variant-filled: var(--fill-noeffect-strong);
|
|
237
237
|
--button-variant-filled-hover: var(--fill-noeffect-strong-hover);
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
--button-variant-gradient-foreground-disabled: var(--text-on-noeffect-disabled);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
:is(.success-fTNDEn, .button-success) {
|
|
263
|
+
:is(.success-fTNDEn, .infonomic-button-success) {
|
|
264
264
|
--button-ring-color: var(--ring-success);
|
|
265
265
|
--button-variant-filled: var(--fill-success-strong);
|
|
266
266
|
--button-variant-filled-hover: var(--fill-success-strong-hover);
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
--button-variant-gradient-foreground-disabled: var(--text-on-success-disabled);
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
:is(.info-qrdXQD, .button-info) {
|
|
291
|
+
:is(.info-qrdXQD, .infonomic-button-info) {
|
|
292
292
|
--button-ring-color: var(--ring-info);
|
|
293
293
|
--button-variant-filled: var(--fill-info-strong);
|
|
294
294
|
--button-variant-filled-hover: var(--fill-info-strong-hover);
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
--button-variant-gradient-foreground-disabled: var(--text-on-info-disabled);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
:is(.warning-a00T3A, .button-warning) {
|
|
319
|
+
:is(.warning-a00T3A, .infonomic-button-warning) {
|
|
320
320
|
--button-ring-color: var(--ring-warning);
|
|
321
321
|
--button-variant-filled: var(--fill-warning-strong);
|
|
322
322
|
--button-variant-filled-hover: var(--fill-warning-strong-hover);
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
--button-variant-gradient-foreground-disabled: var(--text-on-warning-disabled);
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
:is(.danger-rwIV_i, .button-danger) {
|
|
347
|
+
:is(.danger-rwIV_i, .infonomic-button-danger) {
|
|
348
348
|
--button-ring-color: var(--ring-danger);
|
|
349
349
|
--button-variant-filled: var(--fill-danger-strong);
|
|
350
350
|
--button-variant-filled-hover: var(--fill-danger-strong-hover);
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
--button-variant-gradient-foreground-disabled: var(--text-on-danger-disabled);
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
:is(.fullWidth-wXvP0v, .button-full-width) {
|
|
375
|
+
:is(.fullWidth-wXvP0v, .infonomic-button-full-width) {
|
|
376
376
|
width: 100%;
|
|
377
377
|
display: flex;
|
|
378
378
|
}
|
|
@@ -12,7 +12,7 @@ const DirectionalButton = ({ size = 'md', direction, className, onClick, ref, ..
|
|
|
12
12
|
onClick: handleClick,
|
|
13
13
|
type: "button",
|
|
14
14
|
"aria-label": direction,
|
|
15
|
-
className: classnames('control-button', direction, size, control_buttons_module["directional-button"], control_buttons_module[direction], control_buttons_module[size], className),
|
|
15
|
+
className: classnames('infonomic-control-button', direction, size, control_buttons_module["directional-button"], control_buttons_module[direction], control_buttons_module[size], className),
|
|
16
16
|
children: /*#__PURE__*/ jsx("span", {
|
|
17
17
|
children: /*#__PURE__*/ jsx("svg", {
|
|
18
18
|
className: "icon",
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
+
|
|
4
5
|
.stop-button,
|
|
5
6
|
.play-button,
|
|
6
|
-
.directional-button
|
|
7
|
+
.directional-button,
|
|
8
|
+
:global(.infonomic-stop-button),
|
|
9
|
+
:global(.infonomic-play-button),
|
|
10
|
+
:global(.infonomic-directional-button) {
|
|
7
11
|
display: flex;
|
|
8
12
|
align-items: center;
|
|
9
13
|
justify-content: center;
|
|
@@ -128,4 +132,4 @@
|
|
|
128
132
|
/* No dark theme overrides needed!
|
|
129
133
|
* Tokens automatically switch in .dark and respect .not-dark
|
|
130
134
|
*/
|
|
131
|
-
}
|
|
135
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
.stop-button-krMTsl, .play-button-GfHYHO, .directional-button-kGS8rA {
|
|
4
|
+
:is(.stop-button-krMTsl, .play-button-GfHYHO, .directional-button-kGS8rA, .infonomic-stop-button, .infonomic-play-button, .infonomic-directional-button) {
|
|
5
5
|
color: #fff;
|
|
6
6
|
background-color: var(--fill-primary-strong);
|
|
7
7
|
cursor: pointer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../src/components/button/copy-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,UAAU,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IAC7D,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,SAAkB,EAClB,UAAsB,EACtB,OAAO,EACP,IAAW,EACX,MAAM,EACN,SAAS,EACT,MAAM,EACN,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../src/components/button/copy-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,UAAU,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IAC7D,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,SAAkB,EAClB,UAAsB,EACtB,OAAO,EACP,IAAW,EACX,MAAM,EACN,SAAS,EACT,MAAM,EACN,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAkErC"}
|
|
@@ -28,7 +28,7 @@ function CopyButton({ text, hoverText = 'Copy', copiedText = 'Copied!', variant,
|
|
|
28
28
|
});
|
|
29
29
|
const tooltipText = null != copied && copied ? copiedText : hoverText;
|
|
30
30
|
return /*#__PURE__*/ jsx("div", {
|
|
31
|
-
className: classnames(copy_button_module["copy-button-container"], containerClassName),
|
|
31
|
+
className: classnames('infonomic-copy-button-container', copy_button_module["copy-button-container"], containerClassName),
|
|
32
32
|
children: /*#__PURE__*/ jsx(Tooltip, {
|
|
33
33
|
side: "top",
|
|
34
34
|
sideOffset: 2,
|
|
@@ -40,7 +40,7 @@ function CopyButton({ text, hoverText = 'Copy', copiedText = 'Copied!', variant,
|
|
|
40
40
|
intent: intent,
|
|
41
41
|
fullWidth: fullWidth,
|
|
42
42
|
ripple: ripple,
|
|
43
|
-
className: classnames('copy-button', variant
|
|
43
|
+
className: classnames('infonomic-copy-button', `infonomic-copy-button-${variant}`, `infonomic-copy-button-${size}`, `infonomic-copy-button-${intent}`, copy_button_module[size], className),
|
|
44
44
|
onClick: handleCopied,
|
|
45
45
|
...rest,
|
|
46
46
|
children: /*#__PURE__*/ jsx("svg", {
|