@aurora-ds/components 0.16.0 → 0.16.2
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/cjs/components/actions/button/Button.props.d.ts +9 -0
- package/dist/cjs/components/actions/icon-button/IconButton.props.d.ts +9 -0
- package/dist/cjs/index.js +38 -18
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/actions/button/Button.props.d.ts +9 -0
- package/dist/esm/components/actions/icon-button/IconButton.props.d.ts +9 -0
- package/dist/esm/index.js +38 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -274,6 +274,12 @@ type ButtonProps = {
|
|
|
274
274
|
disabled?: boolean;
|
|
275
275
|
/** Custom text color (overrides variant color) */
|
|
276
276
|
textColor?: keyof Theme['colors'];
|
|
277
|
+
/** Custom backgroundColor (overrides variant backgroundColor) */
|
|
278
|
+
backgroundColor?: keyof Theme['colors'];
|
|
279
|
+
/** Custom hover backgroundColor (overrides variant hover backgroundColor) */
|
|
280
|
+
hoverBackgroundColor?: keyof Theme['colors'];
|
|
281
|
+
/** Custom active backgroundColor (overrides variant active backgroundColor) */
|
|
282
|
+
activeBackgroundColor?: keyof Theme['colors'];
|
|
277
283
|
/** Size of the button */
|
|
278
284
|
size?: IconButtonSizes;
|
|
279
285
|
/** Accessibility label for screen readers */
|
|
@@ -313,6 +319,12 @@ type IconButtonProps = {
|
|
|
313
319
|
disabled?: boolean;
|
|
314
320
|
/** Custom text/icon color (overrides variant color) */
|
|
315
321
|
textColor?: keyof Theme['colors'];
|
|
322
|
+
/** Custom backgroundColor (overrides variant backgroundColor) */
|
|
323
|
+
backgroundColor?: keyof Theme['colors'];
|
|
324
|
+
/** Custom hover backgroundColor (overrides variant hover backgroundColor) */
|
|
325
|
+
hoverBackgroundColor?: keyof Theme['colors'];
|
|
326
|
+
/** Custom active backgroundColor (overrides variant active backgroundColor) */
|
|
327
|
+
activeBackgroundColor?: keyof Theme['colors'];
|
|
316
328
|
/** Size of the icon button */
|
|
317
329
|
size?: IconButtonSizes;
|
|
318
330
|
/** Accessibility label for screen readers */
|