@qoretechnologies/reqore 0.78.10 → 0.78.11-pr.723.g4423093

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.
Files changed (174) hide show
  1. package/dist/components/Accordion/index.d.ts.map +1 -1
  2. package/dist/components/Accordion/index.js +60 -14
  3. package/dist/components/Accordion/index.js.map +1 -1
  4. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  5. package/dist/components/Breadcrumbs/index.js +58 -21
  6. package/dist/components/Breadcrumbs/index.js.map +1 -1
  7. package/dist/components/Bubble/index.d.ts.map +1 -1
  8. package/dist/components/Bubble/index.js +13 -4
  9. package/dist/components/Bubble/index.js.map +1 -1
  10. package/dist/components/Button/index.d.ts +67 -0
  11. package/dist/components/Button/index.d.ts.map +1 -1
  12. package/dist/components/Button/index.js +238 -98
  13. package/dist/components/Button/index.js.map +1 -1
  14. package/dist/components/Callout/index.d.ts.map +1 -1
  15. package/dist/components/Callout/index.js +49 -29
  16. package/dist/components/Callout/index.js.map +1 -1
  17. package/dist/components/Checkbox/index.d.ts.map +1 -1
  18. package/dist/components/Checkbox/index.js +112 -36
  19. package/dist/components/Checkbox/index.js.map +1 -1
  20. package/dist/components/CollapsibleContent/index.d.ts.map +1 -1
  21. package/dist/components/CollapsibleContent/index.js +6 -2
  22. package/dist/components/CollapsibleContent/index.js.map +1 -1
  23. package/dist/components/ControlGroup/index.d.ts.map +1 -1
  24. package/dist/components/ControlGroup/index.js +22 -1
  25. package/dist/components/ControlGroup/index.js.map +1 -1
  26. package/dist/components/DataView/index.d.ts.map +1 -1
  27. package/dist/components/DataView/index.js +13 -10
  28. package/dist/components/DataView/index.js.map +1 -1
  29. package/dist/components/DescriptionList/index.d.ts.map +1 -1
  30. package/dist/components/DescriptionList/index.js +30 -4
  31. package/dist/components/DescriptionList/index.js.map +1 -1
  32. package/dist/components/Drawer/index.d.ts.map +1 -1
  33. package/dist/components/Drawer/index.js +41 -25
  34. package/dist/components/Drawer/index.js.map +1 -1
  35. package/dist/components/Dropdown/list.d.ts.map +1 -1
  36. package/dist/components/Dropdown/list.js +19 -14
  37. package/dist/components/Dropdown/list.js.map +1 -1
  38. package/dist/components/Effect/index.d.ts +37 -0
  39. package/dist/components/Effect/index.d.ts.map +1 -1
  40. package/dist/components/Effect/index.js +224 -58
  41. package/dist/components/Effect/index.js.map +1 -1
  42. package/dist/components/EntityRow/index.d.ts.map +1 -1
  43. package/dist/components/EntityRow/index.js +98 -59
  44. package/dist/components/EntityRow/index.js.map +1 -1
  45. package/dist/components/FeatureCard/index.d.ts.map +1 -1
  46. package/dist/components/FeatureCard/index.js +54 -21
  47. package/dist/components/FeatureCard/index.js.map +1 -1
  48. package/dist/components/Header/index.d.ts.map +1 -1
  49. package/dist/components/Header/index.js +7 -4
  50. package/dist/components/Header/index.js.map +1 -1
  51. package/dist/components/Icon/index.d.ts.map +1 -1
  52. package/dist/components/Icon/index.js +13 -3
  53. package/dist/components/Icon/index.js.map +1 -1
  54. package/dist/components/Input/index.d.ts +44 -1
  55. package/dist/components/Input/index.d.ts.map +1 -1
  56. package/dist/components/Input/index.js +89 -23
  57. package/dist/components/Input/index.js.map +1 -1
  58. package/dist/components/InputClearButton/index.d.ts +7 -2
  59. package/dist/components/InputClearButton/index.d.ts.map +1 -1
  60. package/dist/components/InputClearButton/index.js +12 -5
  61. package/dist/components/InputClearButton/index.js.map +1 -1
  62. package/dist/components/InternalPopover/index.d.ts.map +1 -1
  63. package/dist/components/InternalPopover/index.js +19 -10
  64. package/dist/components/InternalPopover/index.js.map +1 -1
  65. package/dist/components/Link/index.d.ts.map +1 -1
  66. package/dist/components/Link/index.js +6 -1
  67. package/dist/components/Link/index.js.map +1 -1
  68. package/dist/components/Menu/divider.d.ts.map +1 -1
  69. package/dist/components/Menu/divider.js +8 -3
  70. package/dist/components/Menu/divider.js.map +1 -1
  71. package/dist/components/Menu/index.d.ts.map +1 -1
  72. package/dist/components/Menu/index.js +17 -4
  73. package/dist/components/Menu/index.js.map +1 -1
  74. package/dist/components/Message/index.d.ts.map +1 -1
  75. package/dist/components/Message/index.js +20 -4
  76. package/dist/components/Message/index.js.map +1 -1
  77. package/dist/components/NavRail/index.d.ts +2 -0
  78. package/dist/components/NavRail/index.d.ts.map +1 -1
  79. package/dist/components/NavRail/index.js +120 -40
  80. package/dist/components/NavRail/index.js.map +1 -1
  81. package/dist/components/Notifications/notification.d.ts +6 -2
  82. package/dist/components/Notifications/notification.d.ts.map +1 -1
  83. package/dist/components/Notifications/notification.js +78 -18
  84. package/dist/components/Notifications/notification.js.map +1 -1
  85. package/dist/components/Notifications/styles.d.ts +20 -0
  86. package/dist/components/Notifications/styles.d.ts.map +1 -1
  87. package/dist/components/Notifications/styles.js +37 -9
  88. package/dist/components/Notifications/styles.js.map +1 -1
  89. package/dist/components/Panel/index.d.ts +3 -0
  90. package/dist/components/Panel/index.d.ts.map +1 -1
  91. package/dist/components/Panel/index.js +214 -153
  92. package/dist/components/Panel/index.js.map +1 -1
  93. package/dist/components/Paragraph/index.d.ts.map +1 -1
  94. package/dist/components/Paragraph/index.js +8 -5
  95. package/dist/components/Paragraph/index.js.map +1 -1
  96. package/dist/components/Progress/index.d.ts.map +1 -1
  97. package/dist/components/Progress/index.js +1 -1
  98. package/dist/components/Progress/index.js.map +1 -1
  99. package/dist/components/Rating/index.d.ts.map +1 -1
  100. package/dist/components/Rating/index.js +20 -8
  101. package/dist/components/Rating/index.js.map +1 -1
  102. package/dist/components/RichTextEditor/index.d.ts.map +1 -1
  103. package/dist/components/RichTextEditor/index.js +89 -46
  104. package/dist/components/RichTextEditor/index.js.map +1 -1
  105. package/dist/components/SegmentedControl/index.d.ts.map +1 -1
  106. package/dist/components/SegmentedControl/index.js +87 -42
  107. package/dist/components/SegmentedControl/index.js.map +1 -1
  108. package/dist/components/SeverityRow/index.d.ts.map +1 -1
  109. package/dist/components/SeverityRow/index.js +1 -1
  110. package/dist/components/SeverityRow/index.js.map +1 -1
  111. package/dist/components/Span/index.d.ts.map +1 -1
  112. package/dist/components/Span/index.js +8 -5
  113. package/dist/components/Span/index.js.map +1 -1
  114. package/dist/components/StackedBar/index.d.ts.map +1 -1
  115. package/dist/components/StackedBar/index.js +42 -12
  116. package/dist/components/StackedBar/index.js.map +1 -1
  117. package/dist/components/Statistic/index.d.ts.map +1 -1
  118. package/dist/components/Statistic/index.js +34 -6
  119. package/dist/components/Statistic/index.js.map +1 -1
  120. package/dist/components/Table/cell.d.ts.map +1 -1
  121. package/dist/components/Table/cell.js +72 -41
  122. package/dist/components/Table/cell.js.map +1 -1
  123. package/dist/components/Table/headerCell.d.ts.map +1 -1
  124. package/dist/components/Table/headerCell.js +7 -5
  125. package/dist/components/Table/headerCell.js.map +1 -1
  126. package/dist/components/Tag/index.d.ts +70 -3
  127. package/dist/components/Tag/index.d.ts.map +1 -1
  128. package/dist/components/Tag/index.js +233 -67
  129. package/dist/components/Tag/index.js.map +1 -1
  130. package/dist/components/Testimonial/index.d.ts.map +1 -1
  131. package/dist/components/Testimonial/index.js +35 -20
  132. package/dist/components/Testimonial/index.js.map +1 -1
  133. package/dist/components/Textarea/index.d.ts +6 -0
  134. package/dist/components/Textarea/index.d.ts.map +1 -1
  135. package/dist/components/Textarea/index.js +20 -20
  136. package/dist/components/Textarea/index.js.map +1 -1
  137. package/dist/components/Timeline/index.d.ts +2 -0
  138. package/dist/components/Timeline/index.d.ts.map +1 -1
  139. package/dist/components/Timeline/index.js +56 -13
  140. package/dist/components/Timeline/index.js.map +1 -1
  141. package/dist/components/Tree/index.d.ts.map +1 -1
  142. package/dist/components/Tree/index.js +24 -20
  143. package/dist/components/Tree/index.js.map +1 -1
  144. package/dist/containers/UIProvider.d.ts +10 -0
  145. package/dist/containers/UIProvider.d.ts.map +1 -1
  146. package/dist/containers/UIProvider.js +33 -4
  147. package/dist/containers/UIProvider.js.map +1 -1
  148. package/dist/context/SurfaceContext.d.ts +18 -0
  149. package/dist/context/SurfaceContext.d.ts.map +1 -0
  150. package/dist/context/SurfaceContext.js +39 -0
  151. package/dist/context/SurfaceContext.js.map +1 -0
  152. package/dist/helpers/colors.d.ts +184 -2
  153. package/dist/helpers/colors.d.ts.map +1 -1
  154. package/dist/helpers/colors.js +739 -86
  155. package/dist/helpers/colors.js.map +1 -1
  156. package/dist/helpers/iconProps.d.ts +14 -0
  157. package/dist/helpers/iconProps.d.ts.map +1 -0
  158. package/dist/helpers/iconProps.js +33 -0
  159. package/dist/helpers/iconProps.js.map +1 -0
  160. package/dist/helpers/surface.d.ts +31 -0
  161. package/dist/helpers/surface.d.ts.map +1 -0
  162. package/dist/helpers/surface.js +87 -0
  163. package/dist/helpers/surface.js.map +1 -0
  164. package/dist/hooks/useDrawnSurface.d.ts +38 -0
  165. package/dist/hooks/useDrawnSurface.d.ts.map +1 -0
  166. package/dist/hooks/useDrawnSurface.js +48 -0
  167. package/dist/hooks/useDrawnSurface.js.map +1 -0
  168. package/dist/index.d.ts +2 -0
  169. package/dist/index.d.ts.map +1 -1
  170. package/dist/index.js +5 -2
  171. package/dist/index.js.map +1 -1
  172. package/package.json +2 -1
  173. package/vitest.config.ts +10 -0
  174. package/tests.json +0 -1
@@ -71,7 +71,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
71
71
  return (mod && mod.__esModule) ? mod : { "default": mod };
72
72
  };
73
73
  Object.defineProperty(exports, "__esModule", { value: true });
74
- exports.StyledTag = exports.REQORE_TAG_STYLE_PROPS = exports.getTagAppearanceColors = exports.TAG_SOFT_BACKGROUND_OPACITY = void 0;
74
+ exports.StyledTag = exports.REQORE_TAG_STYLE_PROPS = exports.getTagAppearanceColors = exports.TAG_SOFT_BACKGROUND_OPACITY = exports.getTagPaint = exports.getTagSolidColors = void 0;
75
75
  var jsx_runtime_1 = require("react/jsx-runtime");
76
76
  var classnames_1 = __importDefault(require("classnames"));
77
77
  var size_1 = __importDefault(require("lodash/size"));
@@ -83,11 +83,117 @@ var colors_1 = require("../../constants/colors");
83
83
  var fonts_1 = require("../../constants/fonts");
84
84
  var sizes_1 = require("../../constants/sizes");
85
85
  var colors_2 = require("../../helpers/colors");
86
+ var SurfaceContext_1 = require("../../context/SurfaceContext");
86
87
  var styled_1 = __importStar(require("../../helpers/styled"));
88
+ var iconProps_1 = require("../../helpers/iconProps");
87
89
  var styles_1 = require("../../styles");
88
90
  var Effect_1 = require("../Effect");
89
91
  var Icon_1 = __importDefault(require("../Icon"));
90
92
  var TooltipComponent_1 = require("../TooltipComponent");
93
+ /**
94
+ * The fill a solid tag paints, at rest or hovered: its colour (the theme's a step lighter without one), or a wash
95
+ * of it when minimal. A colour the helpers cannot read (a CSS variable) is washed by the browser.
96
+ */
97
+ var getTagFill = function (theme, color, minimal, hover) {
98
+ return minimal
99
+ ? color
100
+ ? (0, colors_2.getColorAtAlpha)(color, hover ? 0.5 : 0.2)
101
+ : (0, colors_2.getColorAtAlpha)((0, colors_2.changeLightness)('#000000', 0.05), hover ? 0.4 : 0.3)
102
+ : color || (0, colors_2.changeLightness)(theme.main, hover ? 0.15 : 0.1);
103
+ };
104
+ /**
105
+ * What a solid tag is drawn on and in, at rest or hovered: its fill as drawn over the theme's surface (a minimal
106
+ * tag's wash, a translucent colour, each colour of a gradient), the key darkened over it, and a label and a key
107
+ * that read on them. A minimal tag with a colour keeps the colour in its label, in a shade that reads.
108
+ */
109
+ var getTagSolidColors = function (theme, color, minimal, labelKey, effect, hovered, surface) {
110
+ if (hovered === void 0) { hovered = false; }
111
+ // what the tag is drawn on: one color, or each color of a gradient (a button's, a panel's)
112
+ var unders = (0, colors_2.getThemeSurfaces)(theme, surface);
113
+ var named = color && color !== 'transparent' ? color : undefined;
114
+ var gradient = (0, Effect_1.getPrimaryGradient)(effect === null || effect === void 0 ? void 0 : effect.gradient);
115
+ var paint = function (hover) {
116
+ return unders.flatMap(function (under) {
117
+ /* A gradient is read as it is painted: a minimal one's translucent fill shows its ring and the tag's own
118
+ wash through it. */
119
+ return gradient
120
+ ? (0, Effect_1.getEffectGradientBackgrounds)(theme, gradient.colors, minimal, getTagFill(theme, named, minimal, false), under)
121
+ : [(0, colors_2.getDrawnColor)(getTagFill(theme, named, minimal, hover), under)];
122
+ });
123
+ };
124
+ var backgrounds = paint(hovered);
125
+ /* The key is drawn darker than the label, so it has a text colour of its own: black at 30% (10% minimal) over
126
+ the fill, or darker, as far as it takes for one text colour to read on all of it - over a light colour the key
127
+ lands in the mid-tones, where neither light nor dark text reads. The shade is the one the tag is painted with
128
+ at rest, hovered too. */
129
+ var shadeOver = function (fill, alpha) {
130
+ return fill.map(function (background) { return (0, colors_2.getDrawnColor)((0, polished_1.rgba)('#000000', alpha), background); });
131
+ };
132
+ var readsOn = function (fill) {
133
+ var text = (0, colors_2.getReadableColorOn)(fill);
134
+ return fill.every(function (background) { return (0, colors_2.getContrastRatio)(text, background) >= colors_2.READABLE_TEXT_CONTRAST; });
135
+ };
136
+ var resting = hovered ? paint(false) : backgrounds;
137
+ var keyAlpha = minimal ? 0.1 : 0.3;
138
+ while (labelKey && keyAlpha < 0.8 && !readsOn(shadeOver(resting, keyAlpha))) {
139
+ keyAlpha = Math.round((keyAlpha + 0.05) * 100) / 100;
140
+ }
141
+ var keyShade = (0, polished_1.rgba)('#000000', keyAlpha);
142
+ var keyBackgrounds = labelKey ? shadeOver(backgrounds, keyAlpha) : backgrounds;
143
+ if (minimal && named && !(0, colors_2.isAchromatic)(named) && !hovered && !gradient) {
144
+ // a colour the helpers cannot read is as it is given: its label is written in it, on the wash of it
145
+ var text = (0, colors_2.getReadableAccentColorOn)((0, colors_2.getSaturatedTint)(named, 0.8), backgrounds);
146
+ return {
147
+ backgrounds: backgrounds,
148
+ keyBackgrounds: keyBackgrounds,
149
+ keyShade: keyShade,
150
+ text: text,
151
+ keyText: (0, colors_2.getReadableAccentColorOn)(text, keyBackgrounds),
152
+ };
153
+ }
154
+ return {
155
+ backgrounds: backgrounds,
156
+ keyBackgrounds: keyBackgrounds,
157
+ keyShade: keyShade,
158
+ text: (0, colors_2.getReadableColorOn)(backgrounds),
159
+ keyText: (0, colors_2.getReadableColorOn)(keyBackgrounds),
160
+ };
161
+ };
162
+ exports.getTagSolidColors = getTagSolidColors;
163
+ /**
164
+ * Everything a tag is painted with (`IReqoreTagPaint`), and the solid colours it is worked out from: `resting`,
165
+ * and `hovered` when the tag answers the pointer. A soft or text tag (`solid` false) has its own colours
166
+ * (`getTagAppearanceColors`), so none of the solid ones are worked out for it.
167
+ */
168
+ var getTagPaint = function (theme, color, minimal, labelKey, effect, interactive, surface, solid) {
169
+ var own = color || theme.main;
170
+ var paint = {
171
+ edge: (0, colors_2.changeLightness)(own, 0.2),
172
+ outline: (0, colors_2.changeLightness)(own, 0.25),
173
+ };
174
+ if (!solid) {
175
+ return { paint: paint };
176
+ }
177
+ var resting = (0, exports.getTagSolidColors)(theme, color, minimal, labelKey, effect, false, surface);
178
+ var hovered = interactive
179
+ ? (0, exports.getTagSolidColors)(theme, color, minimal, labelKey, effect, true, surface)
180
+ : undefined;
181
+ paint.rest = {
182
+ background: getTagFill(theme, color, minimal, false),
183
+ text: resting.text,
184
+ keyShade: resting.keyShade,
185
+ keyText: resting.keyText,
186
+ };
187
+ if (hovered) {
188
+ paint.hover = {
189
+ background: getTagFill(theme, color, minimal, true),
190
+ text: hovered.text,
191
+ keyText: hovered.keyText,
192
+ };
193
+ }
194
+ return { paint: paint, resting: resting, hovered: hovered };
195
+ };
196
+ exports.getTagPaint = getTagPaint;
91
197
  /** Share of the colour laid over the surface behind a soft tag. */
92
198
  exports.TAG_SOFT_BACKGROUND_OPACITY = 0.2;
93
199
  /**
@@ -98,33 +204,64 @@ exports.TAG_SOFT_BACKGROUND_OPACITY = 0.2;
98
204
  * is the tag's own colour pushed lighter (dark theme) or darker (light theme) until it
99
205
  * reaches a 4.5:1 contrast there — a green label stays green, only a shade that reads.
100
206
  * With no colour at all the tag is neutral: the surface's readable text colour plays
101
- * the part of the colour.
207
+ * the part of the colour. The surface is `drawnOn` when the tag knows what it is drawn on
208
+ * (`useReqoreSurface`; every colour of a gradient), the theme's surface otherwise
209
+ * (`getThemeSurfaces`). A colour the helpers cannot read (a CSS variable) is drawn as it
210
+ * is given: the label in it, over a wash of it the browser mixes.
102
211
  */
103
- var getTagAppearanceColors = function (theme, appearance, color) {
104
- var surface = (0, colors_2.getOpaqueColor)(theme.main);
105
- var base = (0, colors_2.getOpaqueColor)(color && color !== 'transparent' ? color : (0, colors_2.getReadableColorFrom)(surface));
212
+ var getTagAppearanceColors = function (theme, appearance, color, drawnOn) {
213
+ var surfaces = (0, colors_2.getThemeSurfaces)(theme, drawnOn);
214
+ var neutral = (0, colors_2.getReadableColorOn)(surfaces);
215
+ var base = (0, colors_2.getOpaqueColor)(color && color !== 'transparent' ? color : neutral);
106
216
  if (appearance === 'soft') {
107
- var background = (0, polished_1.mix)(exports.TAG_SOFT_BACKGROUND_OPACITY, base, surface);
108
- var text_1 = (0, colors_2.getReadableAccentColor)(base, background);
217
+ // the wash as drawn over each color of the surface; over what it cannot be read on, the surface
218
+ var backgrounds = (0, colors_2.isReadableColor)(base)
219
+ ? surfaces.map(function (surface) { return (0, polished_1.mix)(exports.TAG_SOFT_BACKGROUND_OPACITY, base, surface); })
220
+ : surfaces;
221
+ var text_1 = (0, colors_2.getReadableAccentColorOn)(base, backgrounds);
222
+ var keyBackground_1 = (0, colors_2.getColorAtAlpha)(base, 0.15);
223
+ var drawnKeyBackgrounds_1 = backgrounds.map(function (background) {
224
+ return (0, colors_2.getDrawnColor)(keyBackground_1, background);
225
+ });
109
226
  return {
110
227
  text: text_1,
111
- background: (0, polished_1.rgba)(base, exports.TAG_SOFT_BACKGROUND_OPACITY),
112
- hoverBackground: (0, polished_1.rgba)(base, exports.TAG_SOFT_BACKGROUND_OPACITY + 0.1),
113
- border: (0, polished_1.rgba)(text_1, 0.6),
114
- keyBackground: (0, polished_1.rgba)(base, 0.15),
115
- buttonHoverBackground: (0, polished_1.rgba)(base, 0.25),
228
+ background: (0, colors_2.getColorAtAlpha)(base, exports.TAG_SOFT_BACKGROUND_OPACITY),
229
+ hoverBackground: (0, colors_2.getColorAtAlpha)(base, exports.TAG_SOFT_BACKGROUND_OPACITY + 0.1),
230
+ border: (0, colors_2.getColorAtAlpha)(text_1, 0.6),
231
+ keyBackground: keyBackground_1,
232
+ keyText: (0, colors_2.getReadableAccentColorOn)(text_1, drawnKeyBackgrounds_1),
233
+ drawnBackground: backgrounds[0],
234
+ drawnBackgrounds: backgrounds,
235
+ drawnKeyBackground: drawnKeyBackgrounds_1[0],
236
+ drawnKeyBackgrounds: drawnKeyBackgrounds_1,
237
+ buttonHoverBackground: (0, colors_2.getColorAtAlpha)(base, 0.25),
116
238
  };
117
239
  }
118
- var text = (0, colors_2.getReadableAccentColor)(base, surface);
240
+ var text = (0, colors_2.getReadableAccentColorOn)(base, surfaces);
241
+ var keyBackground = (0, colors_2.getColorAtAlpha)(neutral, 0.08);
242
+ var drawnKeyBackgrounds = surfaces.map(function (surface) { return (0, colors_2.getDrawnColor)(keyBackground, surface); });
119
243
  return {
120
244
  text: text,
121
245
  background: 'transparent',
122
- hoverBackground: (0, polished_1.rgba)(text, 0.1),
123
- keyBackground: (0, polished_1.rgba)((0, colors_2.getReadableColorFrom)(surface), 0.08),
124
- buttonHoverBackground: (0, polished_1.rgba)(text, 0.15),
246
+ hoverBackground: (0, colors_2.getColorAtAlpha)(text, 0.1),
247
+ keyBackground: keyBackground,
248
+ keyText: (0, colors_2.getReadableAccentColorOn)(text, drawnKeyBackgrounds),
249
+ drawnBackground: surfaces[0],
250
+ drawnBackgrounds: surfaces,
251
+ drawnKeyBackground: drawnKeyBackgrounds[0],
252
+ drawnKeyBackgrounds: drawnKeyBackgrounds,
253
+ buttonHoverBackground: (0, colors_2.getColorAtAlpha)(text, 0.15),
125
254
  };
126
255
  };
127
256
  exports.getTagAppearanceColors = getTagAppearanceColors;
257
+ /**
258
+ * What a styled tag is painted with: what the tag worked out for this render, or - a `StyledTag` rendered on its
259
+ * own - worked out from its props.
260
+ */
261
+ var getStyledTagPaint = function (props) {
262
+ var _a;
263
+ return (_a = props.$paint) !== null && _a !== void 0 ? _a : (0, exports.getTagPaint)(props.theme, props.color, props.minimal, !!props.labelKey, props.effect, !!props.interactive, props.$surface, !props.$appearanceColors).paint;
264
+ };
128
265
  /**
129
266
  * Every tag prop that only styles or configures the tag. None of them reaches the rendered
130
267
  * element — the `span`, or a component given as `as`. The compiler checks the record against
@@ -183,7 +320,7 @@ exports.REQORE_TAG_STYLE_PROPS = (0, styled_1.listReqoreStyleProps)({
183
320
  // (`fill` is an SVG attribute, so a `span` would keep it).
184
321
  exports.StyledTag = (0, styled_1.default)(Effect_1.StyledEffect).withConfig({
185
322
  shouldForwardProp: styled_1.omitStyleProps.apply(void 0, __spreadArray(__spreadArray([], exports.REQORE_TAG_STYLE_PROPS, false), styled_1.REQORE_CONTROL_GROUP_CHILD_PROPS, false)),
186
- })(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n flex-shrink: 0;\n align-items: stretch;\n /* Only when the caller has not asked for a family. StyledTag extends StyledEffect,\n so an unconditional declaration here always won the cascade over effect.fontFamily\n \u2014 which is why ReqoreDataView had to force monospace back on with a specificity-\n boosted descendant override instead of just setting the effect.\n NO BACKTICKS in this comment: it lives inside a template literal and they end it. */\n ", "\n overflow: hidden;\n vertical-align: ", ";\n font-size: ", "px;\n line-height: 1.1;\n\n min-width: ", "px;\n /* An explicit cap wins over the implicit one: a caller asking for 30ch means 30ch\n even inside a container wider than that, and 100% would let the tag grow past it. */\n max-width: ", ";\n flex: ", ";\n justify-self: ", ";\n border: ", ";\n /* Same flat !== false guard as EntityRow / FeatureCard / Callout: the inset\n highlight and the border are two ways of drawing the same edge, so a tag that\n already has a border does not also get the raised shading. */\n ", "\n border-radius: ", ";\n width: ", ";\n transition: all 0.2s ease-out;\n\n ", "\n\n ", ";\n\n ", "\n\n /* How a MINIMAL tag colours its label.\n\n Minimal paints the colour at 20% alpha, so what the label actually sits on\n is mostly the surface underneath \u2014 not the colour. For a CHROMATIC colour a\n light tint of it reads on either theme. For an ACHROMATIC one there is no\n tint to take: a 20% wash of grey over the surface IS the surface, so the\n label is read against the surface, exactly as the no-colour case does.\n\n It used to fall through to the readable colour for the colour at FULL\n strength. A near-white muted intent is light, so that returned BLACK, and\n the tag rendered black text on a 20% wash over a near-black page \u2014 reported\n as \"black text on a dark grey background; it's very hard to read\", and true\n of every minimal tag with a grey intent. */\n ", "\n\n ", "\n\n /* Soft and text tags: the colour draws the label (and, soft, the ring and a wash)\n instead of filling the tag. The ring is an inset shadow rather than a border so a\n soft tag keeps the exact box of a solid one \u2014 side by side in a group they line\n up \u2014 and it replaces any flat={false} border and the raised shading. */\n ", "\n\n ", "\n\n /* Read only is NOT disabled: the tag keeps its pointer events, so its tooltip and\n its actions still answer \u2014 it only stops advertising itself as something to\n press. Same meaning the prop has on ReqoreButton, ReqoreCheckbox and\n ReqoreRating. Last, so it wins over the interactive block's cursor: pointer. */\n ", "\n\n /* Only gate on hover where hover exists \u2014 see the same guard on ReqorePanel.\n On touch a `show: 'hover'` tag action would otherwise be display:none with\n no route to it at all. */\n @media (hover: hover) and (pointer: fine) {\n &:not(:hover) {\n .reqore-tag-action-hidden {\n display: none;\n }\n }\n }\n\n &:focus,\n &:active {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n"], ["\n display: inline-flex;\n justify-content: center;\n flex-shrink: 0;\n align-items: stretch;\n /* Only when the caller has not asked for a family. StyledTag extends StyledEffect,\n so an unconditional declaration here always won the cascade over effect.fontFamily\n \u2014 which is why ReqoreDataView had to force monospace back on with a specificity-\n boosted descendant override instead of just setting the effect.\n NO BACKTICKS in this comment: it lives inside a template literal and they end it. */\n ", "\n overflow: hidden;\n vertical-align: ", ";\n font-size: ", "px;\n line-height: 1.1;\n\n min-width: ", "px;\n /* An explicit cap wins over the implicit one: a caller asking for 30ch means 30ch\n even inside a container wider than that, and 100% would let the tag grow past it. */\n max-width: ", ";\n flex: ", ";\n justify-self: ", ";\n border: ", ";\n /* Same flat !== false guard as EntityRow / FeatureCard / Callout: the inset\n highlight and the border are two ways of drawing the same edge, so a tag that\n already has a border does not also get the raised shading. */\n ", "\n border-radius: ", ";\n width: ", ";\n transition: all 0.2s ease-out;\n\n ", "\n\n ", ";\n\n ", "\n\n /* How a MINIMAL tag colours its label.\n\n Minimal paints the colour at 20% alpha, so what the label actually sits on\n is mostly the surface underneath \u2014 not the colour. For a CHROMATIC colour a\n light tint of it reads on either theme. For an ACHROMATIC one there is no\n tint to take: a 20% wash of grey over the surface IS the surface, so the\n label is read against the surface, exactly as the no-colour case does.\n\n It used to fall through to the readable colour for the colour at FULL\n strength. A near-white muted intent is light, so that returned BLACK, and\n the tag rendered black text on a 20% wash over a near-black page \u2014 reported\n as \"black text on a dark grey background; it's very hard to read\", and true\n of every minimal tag with a grey intent. */\n ", "\n\n ", "\n\n /* Soft and text tags: the colour draws the label (and, soft, the ring and a wash)\n instead of filling the tag. The ring is an inset shadow rather than a border so a\n soft tag keeps the exact box of a solid one \u2014 side by side in a group they line\n up \u2014 and it replaces any flat={false} border and the raised shading. */\n ", "\n\n ", "\n\n /* Read only is NOT disabled: the tag keeps its pointer events, so its tooltip and\n its actions still answer \u2014 it only stops advertising itself as something to\n press. Same meaning the prop has on ReqoreButton, ReqoreCheckbox and\n ReqoreRating. Last, so it wins over the interactive block's cursor: pointer. */\n ", "\n\n /* Only gate on hover where hover exists \u2014 see the same guard on ReqorePanel.\n On touch a \\`show: 'hover'\\` tag action would otherwise be display:none with\n no route to it at all. */\n @media (hover: hover) and (pointer: fine) {\n &:not(:hover) {\n .reqore-tag-action-hidden {\n display: none;\n }\n }\n }\n\n &:focus,\n &:active {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n"])), function (_a) {
323
+ })(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n flex-shrink: 0;\n align-items: stretch;\n /* Only when the caller has not asked for a family. StyledTag extends StyledEffect,\n so an unconditional declaration here always won the cascade over effect.fontFamily\n \u2014 which is why ReqoreDataView had to force monospace back on with a specificity-\n boosted descendant override instead of just setting the effect.\n NO BACKTICKS in this comment: it lives inside a template literal and they end it. */\n ", "\n overflow: hidden;\n vertical-align: ", ";\n font-size: ", "px;\n line-height: 1.1;\n\n min-width: ", "px;\n /* An explicit cap wins over the implicit one: a caller asking for 30ch means 30ch\n even inside a container wider than that, and 100% would let the tag grow past it. */\n max-width: ", ";\n flex: ", ";\n justify-self: ", ";\n border: ", ";\n /* Same flat !== false guard as EntityRow / FeatureCard / Callout: the inset\n highlight and the border are two ways of drawing the same edge, so a tag that\n already has a border does not also get the raised shading. */\n ", "\n border-radius: ", ";\n width: ", ";\n transition: all 0.2s ease-out;\n\n ", "\n\n ", ";\n\n ", "\n\n /* How a solid tag colours its label: against what it is actually drawn on\n (getTagSolidColors), never against the colour it is made from.\n\n Minimal paints the colour at 20% alpha, so what the label actually sits on\n is mostly the surface underneath \u2014 not the colour. For a CHROMATIC colour a\n tint of it, in a shade that reads there, keeps the colour in the label. For\n an ACHROMATIC one there is no tint to take: a 20% wash of grey over the\n surface IS the surface, so the label is read against that.\n\n It used to fall through to the readable colour for the colour at FULL\n strength. A near-white muted intent is light, so that returned BLACK, and\n the tag rendered black text on a 20% wash over a near-black page \u2014 reported\n as \"black text on a dark grey background; it's very hard to read\", and true\n of every minimal tag with a grey intent. The key beside the label is drawn\n darker, so it has a text colour of its own. */\n ", "\n\n ", "\n\n /* Soft and text tags: the colour draws the label (and, soft, the ring and a wash)\n instead of filling the tag. The ring is an inset shadow rather than a border so a\n soft tag keeps the exact box of a solid one \u2014 side by side in a group they line\n up \u2014 and it replaces any flat={false} border and the raised shading. */\n ", "\n\n ", "\n\n /* Read only is NOT disabled: the tag keeps its pointer events, so its tooltip and\n its actions still answer \u2014 it only stops advertising itself as something to\n press. Same meaning the prop has on ReqoreButton, ReqoreCheckbox and\n ReqoreRating. Last, so it wins over the interactive block's cursor: pointer. */\n ", "\n\n /* Only gate on hover where hover exists \u2014 see the same guard on ReqorePanel.\n On touch a `show: 'hover'` tag action would otherwise be display:none with\n no route to it at all. */\n @media (hover: hover) and (pointer: fine) {\n &:not(:hover) {\n .reqore-tag-action-hidden {\n display: none;\n }\n }\n }\n\n &:focus,\n &:active {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n"], ["\n display: inline-flex;\n justify-content: center;\n flex-shrink: 0;\n align-items: stretch;\n /* Only when the caller has not asked for a family. StyledTag extends StyledEffect,\n so an unconditional declaration here always won the cascade over effect.fontFamily\n \u2014 which is why ReqoreDataView had to force monospace back on with a specificity-\n boosted descendant override instead of just setting the effect.\n NO BACKTICKS in this comment: it lives inside a template literal and they end it. */\n ", "\n overflow: hidden;\n vertical-align: ", ";\n font-size: ", "px;\n line-height: 1.1;\n\n min-width: ", "px;\n /* An explicit cap wins over the implicit one: a caller asking for 30ch means 30ch\n even inside a container wider than that, and 100% would let the tag grow past it. */\n max-width: ", ";\n flex: ", ";\n justify-self: ", ";\n border: ", ";\n /* Same flat !== false guard as EntityRow / FeatureCard / Callout: the inset\n highlight and the border are two ways of drawing the same edge, so a tag that\n already has a border does not also get the raised shading. */\n ", "\n border-radius: ", ";\n width: ", ";\n transition: all 0.2s ease-out;\n\n ", "\n\n ", ";\n\n ", "\n\n /* How a solid tag colours its label: against what it is actually drawn on\n (getTagSolidColors), never against the colour it is made from.\n\n Minimal paints the colour at 20% alpha, so what the label actually sits on\n is mostly the surface underneath \u2014 not the colour. For a CHROMATIC colour a\n tint of it, in a shade that reads there, keeps the colour in the label. For\n an ACHROMATIC one there is no tint to take: a 20% wash of grey over the\n surface IS the surface, so the label is read against that.\n\n It used to fall through to the readable colour for the colour at FULL\n strength. A near-white muted intent is light, so that returned BLACK, and\n the tag rendered black text on a 20% wash over a near-black page \u2014 reported\n as \"black text on a dark grey background; it's very hard to read\", and true\n of every minimal tag with a grey intent. The key beside the label is drawn\n darker, so it has a text colour of its own. */\n ", "\n\n ", "\n\n /* Soft and text tags: the colour draws the label (and, soft, the ring and a wash)\n instead of filling the tag. The ring is an inset shadow rather than a border so a\n soft tag keeps the exact box of a solid one \u2014 side by side in a group they line\n up \u2014 and it replaces any flat={false} border and the raised shading. */\n ", "\n\n ", "\n\n /* Read only is NOT disabled: the tag keeps its pointer events, so its tooltip and\n its actions still answer \u2014 it only stops advertising itself as something to\n press. Same meaning the prop has on ReqoreButton, ReqoreCheckbox and\n ReqoreRating. Last, so it wins over the interactive block's cursor: pointer. */\n ", "\n\n /* Only gate on hover where hover exists \u2014 see the same guard on ReqorePanel.\n On touch a \\`show: 'hover'\\` tag action would otherwise be display:none with\n no route to it at all. */\n @media (hover: hover) and (pointer: fine) {\n &:not(:hover) {\n .reqore-tag-action-hidden {\n display: none;\n }\n }\n }\n\n &:focus,\n &:active {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n"])), function (_a) {
187
324
  var effect = _a.effect;
188
325
  return !(effect === null || effect === void 0 ? void 0 : effect.fontFamily) && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n "], ["\n font-family: ", ";\n "])), fonts_1.SYSTEM_FONT);
189
326
  }, function (_a) {
@@ -204,10 +341,7 @@ exports.StyledTag = (0, styled_1.default)(Effect_1.StyledEffect).withConfig({
204
341
  }, function (_a) {
205
342
  var fixed = _a.fixed, fluid = _a.fluid;
206
343
  return fixed === true ? 'flex-start' : fluid ? 'stretch' : undefined;
207
- }, function (_a) {
208
- var theme = _a.theme, color = _a.color, _b = _a.flat, flat = _b === void 0 ? true : _b;
209
- return !flat ? "1px solid ".concat((0, colors_2.changeLightness)(color || theme.main, 0.2)) : 0;
210
- }, function (_a) {
344
+ }, function (props) { var _a; return !((_a = props.flat) !== null && _a !== void 0 ? _a : true) ? "1px solid ".concat(getStyledTagPaint(props).edge) : 0; }, function (_a) {
211
345
  var raised = _a.raised, _b = _a.flat, flat = _b === void 0 ? true : _b;
212
346
  return raised && flat !== false && styles_1.RaisedElement;
213
347
  }, function (_a) {
@@ -241,51 +375,32 @@ exports.StyledTag = (0, styled_1.default)(Effect_1.StyledEffect).withConfig({
241
375
  var size = _a.size, asBadge = _a.asBadge;
242
376
  return asBadge ? sizes_1.BADGE_SIZE_TO_PX[size] : sizes_1.TAG_SIZE_TO_PX[size];
243
377
  });
244
- }, function (_a) {
245
- var theme = _a.theme, color = _a.color, labelKey = _a.labelKey, minimal = _a.minimal, $appearanceColors = _a.$appearanceColors;
246
- if ($appearanceColors) {
378
+ }, function (props) {
379
+ var rest = getStyledTagPaint(props).rest;
380
+ if (props.$appearanceColors || !rest) {
247
381
  return undefined;
248
382
  }
249
- return (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n\n ", " {\n background-color: ", ";\n }\n "], ["\n background-color: ", ";\n color: ", ";\n\n ", " {\n background-color: ", ";\n }\n "])), minimal
250
- ? color
251
- ? (0, polished_1.rgba)(color, 0.2)
252
- : (0, polished_1.rgba)((0, colors_2.changeLightness)('#000000', 0.05), 0.3)
253
- : color || (0, colors_2.changeLightness)(theme.main, 0.1), minimal && color && color !== 'transparent'
254
- ? (0, colors_2.isAchromatic)(color)
255
- ? (0, colors_2.getReadableColorFrom)((0, colors_2.changeLightness)(theme.main, 0.1))
256
- : (0, polished_1.saturate)(1, (0, polished_1.tint)(0.8, color))
257
- : color && color !== 'transparent'
258
- ? (0, colors_2.getReadableColorFrom)(color)
259
- : (0, colors_2.getReadableColorFrom)((0, colors_2.changeLightness)(theme.main, 0.1)), StyledTagKeyWrapper, labelKey ? (0, polished_1.rgba)('#000000', minimal ? 0.1 : 0.3) : undefined);
260
- }, function (_a) {
261
- var theme = _a.theme, color = _a.color, interactive = _a.interactive, minimal = _a.minimal, effect = _a.effect, $appearanceColors = _a.$appearanceColors;
383
+ return (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n "], ["\n background-color: ", ";\n color: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n "])), rest.background, rest.text, StyledTagKeyWrapper, props.labelKey ? rest.keyShade : undefined, props.labelKey ? rest.keyText : undefined);
384
+ }, function (props) {
385
+ var interactive = props.interactive, effect = props.effect, labelKey = props.labelKey, $appearanceColors = props.$appearanceColors;
386
+ var hover = (interactive && !$appearanceColors ? getStyledTagPaint(props) : {}).hover;
262
387
  return interactive && !$appearanceColors
263
- ? (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "], ["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "])), styles_1.ActiveIconScale, !(effect === null || effect === void 0 ? void 0 : effect.gradient) && (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n "], ["\n background-color: ", ";\n color: ", ";\n "])), minimal
264
- ? color
265
- ? (0, polished_1.rgba)(color, 0.5)
266
- : (0, polished_1.rgba)((0, colors_2.changeLightness)('#000000', 0.05), 0.4)
267
- : color || (0, colors_2.changeLightness)(theme.main, 0.15), minimal
268
- ? (0, colors_2.getReadableColor)(theme, undefined, undefined, false, theme.originalMain)
269
- : color
270
- ? (0, colors_2.getReadableColorFrom)(color)
271
- : (0, colors_2.getReadableColor)(theme, undefined, undefined))) : undefined;
388
+ ? (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "], ["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "])), styles_1.ActiveIconScale, !(effect === null || effect === void 0 ? void 0 : effect.gradient) &&
389
+ hover && (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n\n ", " {\n color: ", ";\n }\n "], ["\n background-color: ", ";\n color: ", ";\n\n ", " {\n color: ", ";\n }\n "])), hover.background, hover.text, StyledTagKeyWrapper, labelKey ? hover.keyText : undefined)) : undefined;
272
390
  }, function (_a) {
273
391
  var $appearance = _a.$appearance, $appearanceColors = _a.$appearanceColors, labelKey = _a.labelKey, interactive = _a.interactive, effect = _a.effect;
274
- return $appearanceColors && (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n border: 0;\n box-shadow: ", ";\n\n ", " {\n background-color: ", ";\n }\n\n ", "\n\n &:focus,\n &:active {\n outline-color: ", ";\n }\n "], ["\n background-color: ", ";\n color: ", ";\n border: 0;\n box-shadow: ", ";\n\n ", " {\n background-color: ", ";\n }\n\n ", "\n\n &:focus,\n &:active {\n outline-color: ", ";\n }\n "])), $appearanceColors.background, $appearanceColors.text, $appearanceColors.border
392
+ return $appearanceColors && (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n border: 0;\n box-shadow: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n\n ", "\n\n &:focus,\n &:active {\n outline-color: ", ";\n }\n "], ["\n background-color: ", ";\n color: ", ";\n border: 0;\n box-shadow: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n\n ", "\n\n &:focus,\n &:active {\n outline-color: ", ";\n }\n "])), $appearanceColors.background, $appearanceColors.text, $appearanceColors.border
275
393
  ? "inset 0 0 0 1px ".concat($appearanceColors.border)
276
- : 'none', StyledTagKeyWrapper, labelKey ? $appearanceColors.keyBackground : undefined, interactive && (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "], ["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "])), styles_1.ActiveIconScale, !(effect === null || effect === void 0 ? void 0 : effect.gradient) && (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), $appearanceColors.hoverBackground)), $appearance === 'soft'
394
+ : 'none', StyledTagKeyWrapper, labelKey ? $appearanceColors.keyBackground : undefined, labelKey ? $appearanceColors.keyText : undefined, interactive && (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "], ["\n cursor: pointer;\n &:hover {\n .reqore-tag-content,\n .reqore-tag-key-content {\n ", "\n }\n\n ", "\n }\n "])), styles_1.ActiveIconScale, !(effect === null || effect === void 0 ? void 0 : effect.gradient) && (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), $appearanceColors.hoverBackground)), $appearance === 'soft'
277
395
  ? $appearanceColors.border
278
- : (0, polished_1.rgba)($appearanceColors.text, 0.5));
396
+ : (0, colors_2.getColorAtAlpha)($appearanceColors.text, 0.5));
279
397
  }, function (_a) {
280
398
  var disabled = _a.disabled;
281
399
  return disabled && (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n opacity: 0.5;\n pointer-events: none;\n cursor: not-allowed;\n "], ["\n opacity: 0.5;\n pointer-events: none;\n cursor: not-allowed;\n "])));
282
400
  }, function (_a) {
283
401
  var $readOnly = _a.$readOnly;
284
402
  return $readOnly && (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", ";\n "], ["\n ", ";\n "])), styles_1.ReadOnlyElement);
285
- }, function (_a) {
286
- var theme = _a.theme, color = _a.color;
287
- return (0, colors_2.changeLightness)(color || theme.main, 0.25);
288
- });
403
+ }, function (props) { return getStyledTagPaint(props).outline; });
289
404
  var StyledTagKeyWrapper = styled_1.default.span(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n /* A key normally GROWS to share the tag with the label, which is what gives an\n uncapped key/value tag its even split. Under a cap that split is wrong twice\n over: the key takes half the width to render four characters, and the label is\n left with too little room for a tail it is not allowed to shrink \u2014 so the tail\n runs out past the tag's edge with a hole where the key's unused half was. Capped,\n the key takes what it needs and the label gets the rest. */\n flex: ", ";\n flex-shrink: 0;\n min-height: 100%;\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n /* A key normally GROWS to share the tag with the label, which is what gives an\n uncapped key/value tag its even split. Under a cap that split is wrong twice\n over: the key takes half the width to render four characters, and the label is\n left with too little room for a tail it is not allowed to shrink \u2014 so the tail\n runs out past the tag's edge with a hole where the key's unused half was. Capped,\n the key takes what it needs and the label gets the rest. */\n flex: ", ";\n flex-shrink: 0;\n min-height: 100%;\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
290
405
  var hasKey = _a.hasKey, fixed = _a.fixed, $capped = _a.$capped;
291
406
  return hasKey ? (fixed === 'key' || $capped ? '0 0 auto' : 1) : undefined;
@@ -398,10 +513,11 @@ var StyledButtonWrapper = styled_1.default.span.withConfig({
398
513
  ? (0, colors_2.changeLightness)(color, 0.09)
399
514
  : (0, polished_1.rgba)('#000000', 0.2));
400
515
  });
401
- var ReqoreTag = (0, react_1.forwardRef)(function (_a, ref) {
402
- var _b, _c, _d;
403
- var tooltip = _a.tooltip, label = _a.label, labelKey = _a.labelKey, icon = _a.icon, rightIcon = _a.rightIcon, className = _a.className, onClick = _a.onClick, _e = _a.size, size = _e === void 0 ? 'normal' : _e, paddingSize = _a.paddingSize, onRemoveClick = _a.onRemoveClick, actions = _a.actions, asBadge = _a.asBadge, intent = _a.intent, color = _a.color, minimal = _a.minimal, customTheme = _a.customTheme, inheritCustomTheme = _a.inheritCustomTheme, _f = _a.wrap, wrap = _f === void 0 ? false : _f, width = _a.width, maxWidth = _a.maxWidth, _g = _a.truncate, truncate = _g === void 0 ? 'end' : _g, leftIconColor = _a.leftIconColor, rightIconColor = _a.rightIconColor, iconColor = _a.iconColor, _h = _a.labelKeyAlign, labelKeyAlign = _h === void 0 ? 'left' : _h, labelAlign = _a.labelAlign, labelEffect = _a.labelEffect, labelKeyEffect = _a.labelKeyEffect, leftIconProps = _a.leftIconProps, rightIconProps = _a.rightIconProps, loading = _a.loading, loadingIconType = _a.loadingIconType, compact = _a.compact, readOnly = _a.readOnly, _j = _a.removeTooltip, removeTooltip = _j === void 0 ? 'Remove' : _j, _k = _a.appearance, appearance = _k === void 0 ? 'solid' : _k, rest = __rest(_a, ["tooltip", "label", "labelKey", "icon", "rightIcon", "className", "onClick", "size", "paddingSize", "onRemoveClick", "actions", "asBadge", "intent", "color", "minimal", "customTheme", "inheritCustomTheme", "wrap", "width", "maxWidth", "truncate", "leftIconColor", "rightIconColor", "iconColor", "labelKeyAlign", "labelAlign", "labelEffect", "labelKeyEffect", "leftIconProps", "rightIconProps", "loading", "loadingIconType", "compact", "readOnly", "removeTooltip", "appearance"]);
516
+ var ReqoreTagComponent = (0, react_1.forwardRef)(function (_a, ref) {
517
+ var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
518
+ var tooltip = _a.tooltip, label = _a.label, labelKey = _a.labelKey, icon = _a.icon, rightIcon = _a.rightIcon, className = _a.className, onClick = _a.onClick, _m = _a.size, size = _m === void 0 ? 'normal' : _m, paddingSize = _a.paddingSize, onRemoveClick = _a.onRemoveClick, actions = _a.actions, asBadge = _a.asBadge, intent = _a.intent, color = _a.color, minimal = _a.minimal, customTheme = _a.customTheme, inheritCustomTheme = _a.inheritCustomTheme, _o = _a.wrap, wrap = _o === void 0 ? false : _o, width = _a.width, maxWidth = _a.maxWidth, _p = _a.truncate, truncate = _p === void 0 ? 'end' : _p, leftIconColor = _a.leftIconColor, rightIconColor = _a.rightIconColor, iconColor = _a.iconColor, _q = _a.labelKeyAlign, labelKeyAlign = _q === void 0 ? 'left' : _q, labelAlign = _a.labelAlign, labelEffect = _a.labelEffect, labelKeyEffect = _a.labelKeyEffect, leftIconProps = _a.leftIconProps, rightIconProps = _a.rightIconProps, loading = _a.loading, loadingIconType = _a.loadingIconType, compact = _a.compact, readOnly = _a.readOnly, _r = _a.removeTooltip, removeTooltip = _r === void 0 ? 'Remove' : _r, _s = _a.appearance, appearance = _s === void 0 ? 'solid' : _s, rest = __rest(_a, ["tooltip", "label", "labelKey", "icon", "rightIcon", "className", "onClick", "size", "paddingSize", "onRemoveClick", "actions", "asBadge", "intent", "color", "minimal", "customTheme", "inheritCustomTheme", "wrap", "width", "maxWidth", "truncate", "leftIconColor", "rightIconColor", "iconColor", "labelKeyAlign", "labelAlign", "labelEffect", "labelKeyEffect", "leftIconProps", "rightIconProps", "loading", "loadingIconType", "compact", "readOnly", "removeTooltip", "appearance"]);
404
519
  var theme = (0, __1.useReqoreTheme)('main', customTheme, undefined, undefined, inheritCustomTheme);
520
+ var surface = (0, SurfaceContext_1.useReqoreSurface)();
405
521
  // If color or intent was specified, set the color
406
522
  var getCustomColor = (0, react_1.useCallback)(function (itemIntent) {
407
523
  var customColor = itemIntent
@@ -440,9 +556,9 @@ var ReqoreTag = (0, react_1.forwardRef)(function (_a, ref) {
440
556
  (((_b = rest.effect) === null || _b === void 0 ? void 0 : _b.color) ? (0, colors_2.getColorFromMaybeString)(theme, rest.effect.color) : undefined);
441
557
  var appearanceColors = (0, react_1.useMemo)(function () {
442
558
  return appearance === 'soft' || appearance === 'text'
443
- ? (0, exports.getTagAppearanceColors)(theme, appearance, appearanceColor)
559
+ ? (0, exports.getTagAppearanceColors)(theme, appearance, appearanceColor, surface)
444
560
  : undefined;
445
- }, [appearance, theme, appearanceColor]);
561
+ }, [appearance, theme, appearanceColor, surface]);
446
562
  /* When effect.color IS the soft / text tag's colour, it has been turned into a
447
563
  readable shade already — left in the effect it would repaint the label in the
448
564
  raw colour, which is what the appearance exists to avoid. */
@@ -451,7 +567,61 @@ var ReqoreTag = (0, react_1.forwardRef)(function (_a, ref) {
451
567
  var _a;
452
568
  return (__assign(__assign(__assign({}, rest.effect), (effectColorIsTagColor ? { color: undefined } : {})), { gradient: intent ? undefined : (_a = rest.effect) === null || _a === void 0 ? void 0 : _a.gradient, interactive: interactive }));
453
569
  }, [intent, interactive, effectColorIsTagColor, JSON.stringify(rest.effect)]);
454
- return ((0, jsx_runtime_1.jsxs)(TooltipComponent_1.ReqoreTooltipComponent, __assign({}, rest, { Component: exports.StyledTag, tooltip: tooltip, theme: theme, effect: effect, width: width, "$maxWidth": maxWidth, labelKey: labelKey, color: tagColor, "$appearance": appearanceColors ? appearance : undefined, "$appearanceColors": appearanceColors, className: "".concat(className || '', " reqore-tag"), size: size, ref: ref, asBadge: asBadge, minimal: minimal, removable: !!onRemoveClick, interactive: interactive, "$readOnly": readOnly,
570
+ /* What the tag is painted with, worked out once per render rather than in each of its
571
+ style rules: a solid tag's colours at rest and, when it answers the pointer, hovered. */
572
+ var _t = (0, react_1.useMemo)(function () {
573
+ return (0, exports.getTagPaint)(theme, tagColor, minimal, !!labelKey, effect, interactive, surface, !appearanceColors);
574
+ }, [theme, tagColor, minimal, labelKey, effect, interactive, surface, appearanceColors]), paint = _t.paint, resting = _t.resting, hovered = _t.hovered;
575
+ /* The icons stand out from what they are drawn on, as the text does: the left one
576
+ sits in the key, the right one and the actions beside the label. */
577
+ var sides = (0, react_1.useMemo)(function () {
578
+ if (appearanceColors) {
579
+ var label_1 = {
580
+ backgrounds: appearanceColors.drawnBackgrounds,
581
+ text: appearanceColors.text,
582
+ };
583
+ return {
584
+ // the key's own wash is drawn only with a key: an icon alone sits on the tag
585
+ key: labelKey
586
+ ? { backgrounds: appearanceColors.drawnKeyBackgrounds, text: appearanceColors.keyText }
587
+ : label_1,
588
+ label: label_1,
589
+ };
590
+ }
591
+ var hover = hovered !== null && hovered !== void 0 ? hovered : resting;
592
+ return {
593
+ key: {
594
+ backgrounds: __spreadArray(__spreadArray([], resting.keyBackgrounds, true), hover.keyBackgrounds, true),
595
+ text: resting.keyText,
596
+ },
597
+ label: {
598
+ backgrounds: __spreadArray(__spreadArray([], resting.backgrounds, true), hover.backgrounds, true),
599
+ text: resting.text,
600
+ },
601
+ };
602
+ }, [appearanceColors, labelKey, resting, hovered]);
603
+ // an icon's own color: in its props (which win, as they are spread over the rest), else the tag's
604
+ var _u = (0, iconProps_1.splitIconColor)(leftIconProps), leftIconPropsColor = _u[0], leftIconRest = _u[1];
605
+ var _v = (0, iconProps_1.splitIconColor)(rightIconProps), rightIconPropsColor = _v[0], rightIconRest = _v[1];
606
+ var leftIconOwn = leftIconPropsColor || leftIconColor || iconColor;
607
+ var rightIconOwn = rightIconPropsColor || rightIconColor || iconColor;
608
+ var hasActions = !!(0, size_1.default)(actions);
609
+ // only for the icons the tag draws
610
+ var iconLooks = (0, react_1.useMemo)(function () {
611
+ var look = function (side, own) {
612
+ return (0, colors_2.getReadableIconLook)(theme, side.backgrounds, side.text, colors_1.CONTROL_ICON_OPACITY, own);
613
+ };
614
+ return {
615
+ left: hasLeftIcon ? look(sides.key, leftIconOwn) : undefined,
616
+ right: hasRightIcon ? look(sides.label, rightIconOwn) : undefined,
617
+ action: hasActions ? look(sides.label) : undefined,
618
+ };
619
+ }, [sides, theme, leftIconOwn, rightIconOwn, hasLeftIcon, hasRightIcon, hasActions]);
620
+ // one object per icon for as long as its opacity holds: an icon is a memo component
621
+ var leftIconEffect = (0, react_1.useMemo)(function () { var _a; return ({ opacity: (_a = iconLooks.left) === null || _a === void 0 ? void 0 : _a.opacity }); }, [(_d = iconLooks.left) === null || _d === void 0 ? void 0 : _d.opacity]);
622
+ var rightIconEffect = (0, react_1.useMemo)(function () { var _a; return ({ opacity: (_a = iconLooks.right) === null || _a === void 0 ? void 0 : _a.opacity }); }, [(_e = iconLooks.right) === null || _e === void 0 ? void 0 : _e.opacity]);
623
+ var actionIconEffect = (0, react_1.useMemo)(function () { var _a; return ({ opacity: (_a = iconLooks.action) === null || _a === void 0 ? void 0 : _a.opacity }); }, [(_f = iconLooks.action) === null || _f === void 0 ? void 0 : _f.opacity]);
624
+ return ((0, jsx_runtime_1.jsxs)(TooltipComponent_1.ReqoreTooltipComponent, __assign({}, rest, { Component: exports.StyledTag, tooltip: tooltip, theme: theme, "$surface": surface, "$backgrounds": sides.label.backgrounds, "$paint": paint, effect: effect, width: width, "$maxWidth": maxWidth, labelKey: labelKey, color: tagColor, "$appearance": appearanceColors ? appearance : undefined, "$appearanceColors": appearanceColors, className: "".concat(className || '', " reqore-tag"), size: size, ref: ref, asBadge: asBadge, minimal: minimal, removable: !!onRemoveClick, interactive: interactive, "$readOnly": readOnly,
455
625
  /* `interactive`, not `onClick`, decides the tab stop. A read-only tag
456
626
  keeps its handler — refusing the CHANGE is the picker's job, not the
457
627
  tag's — but it has stopped advertising itself as something to press,
@@ -461,11 +631,7 @@ var ReqoreTag = (0, react_1.forwardRef)(function (_a, ref) {
461
631
  keeps a `tabIndex` it is given, as a button does: a tag inside a
462
632
  control that is itself the tab stop (a chip in a text editor) is
463
633
  reached with that control's own keys, not with Tab. */
464
- tabIndex: interactive ? ((_d = rest.tabIndex) !== null && _d !== void 0 ? _d : 0) : undefined, "$wrap": wrap, "$hasWidth": !!width, children: [labelKey || hasLeftIcon ? ((0, jsx_runtime_1.jsxs)(StyledTagKeyWrapper, { size: size, className: 'reqore-tag-key-content', onClick: rest.disabled ? undefined : onClick, "$wrap": wrap, "$hasWidth": !!width, "$capped": capped, hasKey: !!labelKey, hasIcon: hasLeftIcon, padOnRight: !label && !labelKey && !hasRightIcon, fixed: rest.fixed, children: [leftIcon || (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.image) ? ((0, jsx_runtime_1.jsx)(Icon_1.default, __assign({ size: "".concat(sizes_1.TAG_ICON_FROM_SIZE[size], "px"), color: leftIconColor || iconColor, compact: compact, effect: {
465
- opacity: colors_1.CONTROL_ICON_OPACITY,
466
- } }, leftIconProps, { animation: loading ? 'spin' : leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.animation, icon: leftIcon }))) : null, labelKey && ((0, jsx_runtime_1.jsx)(StyledTagContentKey, { "$wrap": wrap, "$hasWidth": !!width, size: size, "$paddingSize": paddingSize, labelAlign: labelKeyAlign, compact: compact, effect: __assign({ weight: 'bold' }, labelKeyEffect), children: labelKey }))] })) : null, label || label === 0 || hasRightIcon ? ((0, jsx_runtime_1.jsxs)(StyledTagContentWrapper, { size: size, className: 'reqore-tag-content', onClick: rest.disabled ? undefined : onClick, "$wrap": wrap, "$hasWidth": !!width, "$capped": capped, hasKey: !!labelKey, fixed: rest.fixed, children: [label || label === 0 ? ((0, jsx_runtime_1.jsx)(StyledTagContent, { size: size, "$paddingSize": paddingSize, "$wrap": wrap, "$hasWidth": !!width, "$capped": capped, labelAlign: labelAlign || (labelKey ? 'left' : 'center'), compact: compact, effect: __assign({ weight: 'bold' }, labelEffect), children: !capped ? (label) : middleParts ? ((0, jsx_runtime_1.jsxs)(StyledMiddleTruncatedLabel, { className: 'reqore-tag-label', children: [(0, jsx_runtime_1.jsx)(StyledTruncatedLabelHead, { className: 'reqore-tag-label-head', children: middleParts[0] }), (0, jsx_runtime_1.jsx)(StyledTruncatedLabelTail, { className: 'reqore-tag-label-tail', children: middleParts[1] })] })) : ((0, jsx_runtime_1.jsx)(StyledTruncatedLabel, { className: 'reqore-tag-label', children: label })) })) : null, hasRightIcon ? ((0, jsx_runtime_1.jsx)(Icon_1.default, __assign({ icon: rightIcon, size: "".concat(sizes_1.TAG_ICON_FROM_SIZE[size], "px"), margin: label || (!icon && !labelKey) ? 'right' : 'both', color: rightIconColor || iconColor, compact: compact, effect: {
467
- opacity: colors_1.CONTROL_ICON_OPACITY,
468
- } }, rightIconProps))) : null] })) : null, (0, size_1.default)(actions)
634
+ tabIndex: interactive ? ((_g = rest.tabIndex) !== null && _g !== void 0 ? _g : 0) : undefined, "aria-disabled": rest.disabled ? true : undefined, "$wrap": wrap, "$hasWidth": !!width, children: [labelKey || hasLeftIcon ? ((0, jsx_runtime_1.jsxs)(StyledTagKeyWrapper, { size: size, className: 'reqore-tag-key-content', onClick: rest.disabled ? undefined : onClick, "$wrap": wrap, "$hasWidth": !!width, "$capped": capped, hasKey: !!labelKey, hasIcon: hasLeftIcon, padOnRight: !label && !labelKey && !hasRightIcon, fixed: rest.fixed, children: [leftIcon || (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.image) ? ((0, jsx_runtime_1.jsx)(Icon_1.default, __assign({ size: "".concat(sizes_1.TAG_ICON_FROM_SIZE[size], "px"), color: (_j = (_h = iconLooks.left) === null || _h === void 0 ? void 0 : _h.color) !== null && _j !== void 0 ? _j : leftIconOwn, compact: compact, effect: leftIconEffect }, leftIconRest, { animation: loading ? 'spin' : leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.animation, icon: leftIcon }))) : null, labelKey && ((0, jsx_runtime_1.jsx)(StyledTagContentKey, { "$wrap": wrap, "$hasWidth": !!width, size: size, "$paddingSize": paddingSize, labelAlign: labelKeyAlign, compact: compact, "$backgrounds": sides.key.backgrounds, effect: __assign({ weight: 'bold' }, labelKeyEffect), children: labelKey }))] })) : null, label || label === 0 || hasRightIcon ? ((0, jsx_runtime_1.jsxs)(StyledTagContentWrapper, { size: size, className: 'reqore-tag-content', onClick: rest.disabled ? undefined : onClick, "$wrap": wrap, "$hasWidth": !!width, "$capped": capped, hasKey: !!labelKey, fixed: rest.fixed, children: [label || label === 0 ? ((0, jsx_runtime_1.jsx)(StyledTagContent, { size: size, "$paddingSize": paddingSize, "$wrap": wrap, "$hasWidth": !!width, "$capped": capped, labelAlign: labelAlign || (labelKey ? 'left' : 'center'), compact: compact, "$backgrounds": sides.label.backgrounds, effect: __assign({ weight: 'bold' }, labelEffect), children: !capped ? (label) : middleParts ? ((0, jsx_runtime_1.jsxs)(StyledMiddleTruncatedLabel, { className: 'reqore-tag-label', children: [(0, jsx_runtime_1.jsx)(StyledTruncatedLabelHead, { className: 'reqore-tag-label-head', children: middleParts[0] }), (0, jsx_runtime_1.jsx)(StyledTruncatedLabelTail, { className: 'reqore-tag-label-tail', children: middleParts[1] })] })) : ((0, jsx_runtime_1.jsx)(StyledTruncatedLabel, { className: 'reqore-tag-label', children: label })) })) : null, hasRightIcon ? ((0, jsx_runtime_1.jsx)(Icon_1.default, __assign({ icon: rightIcon, size: "".concat(sizes_1.TAG_ICON_FROM_SIZE[size], "px"), margin: label || (!icon && !labelKey) ? 'right' : 'both', color: (_l = (_k = iconLooks.right) === null || _k === void 0 ? void 0 : _k.color) !== null && _l !== void 0 ? _l : rightIconOwn, compact: compact, effect: rightIconEffect }, rightIconRest))) : null] })) : null, (0, size_1.default)(actions)
469
635
  ? actions
470
636
  .filter(function (action) { return action.show !== false; })
471
637
  .map(function (_a, index) {
@@ -479,9 +645,7 @@ var ReqoreTag = (0, react_1.forwardRef)(function (_a, ref) {
479
645
  ? typeof tooltip === 'string'
480
646
  ? { tooltip: tooltip }
481
647
  : tooltip
482
- : {}), { isReqoreComponent: true, children: (0, jsx_runtime_1.jsx)(Icon_1.default, { icon: icon, size: "".concat(sizes_1.TAG_ICON_FROM_SIZE[size], "px"), effect: {
483
- opacity: colors_1.CONTROL_ICON_OPACITY,
484
- } }) })) }, index));
648
+ : {}), { isReqoreComponent: true, children: (0, jsx_runtime_1.jsx)(Icon_1.default, { icon: icon, size: "".concat(sizes_1.TAG_ICON_FROM_SIZE[size], "px"), effect: actionIconEffect }) })) }, index));
485
649
  })
486
650
  : null, onRemoveClick && !rest.disabled ? ((0, jsx_runtime_1.jsx)(__1.ReqorePopover, { component: StyledButtonWrapper, componentProps: {
487
651
  size: size,
@@ -492,6 +656,8 @@ var ReqoreTag = (0, react_1.forwardRef)(function (_a, ref) {
492
656
  $appearanceColors: appearanceColors,
493
657
  }, isReqoreComponent: true, content: removeTooltip, children: (0, jsx_runtime_1.jsx)(Icon_1.default, { icon: 'CloseLine', size: size }) })) : null] })));
494
658
  });
659
+ /** A memo component, as Reqore's components are: a tag re-renders when its props or what it reads change. */
660
+ var ReqoreTag = (0, react_1.memo)(ReqoreTagComponent);
495
661
  exports.default = ReqoreTag;
496
662
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
497
663
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAoC;AACpC,qDAAgC;AAChC,qCAAqD;AACrD,6CAAgF;AAChF,uDAAwC;AACxC,2BAAsD;AACtD,iDAA8D;AAC9D,+CAAoD;AACpD,+CAc+B;AAE/B,+CAQ8B;AAC9B,6DAK8B;AAC9B,uCAAkG;AAclG,oCAOmB;AACnB,iDAAuD;AACvD,wDAA6D;AA4B7D,mEAAmE;AACtD,QAAA,2BAA2B,GAAG,GAAG,CAAC;AAE/C;;;;;;;;;GASG;AACI,IAAM,sBAAsB,GAAG,UACpC,KAAmB,EACnB,UAAkD,EAClD,KAAoB;IAEpB,IAAM,OAAO,GAAG,IAAA,uBAAc,EAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3C,IAAM,IAAI,GAAG,IAAA,uBAAc,EACzB,KAAK,IAAI,KAAK,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAA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AAC,gBAAgB,CAAC,CAAC;IAC5C,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,KAAK,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACtC,iDAAiD;IACjD,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACrC,+EAA+E;IAC/E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;CACjE;AAuHD,QAAA,MAAM,iBAAiB,8JAuKtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Testimonial/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAIL,MAAM,EACP,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EAAkC,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAKpF,OAAO,EACL,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC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