@common-origin/design-system 1.15.2 → 1.15.4

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import iconsData from '@/styles/icons.json';
2
+ import { type IconName } from '../Icon';
3
3
  export interface BaseButtonProps {
4
4
  variant?: 'primary' | 'secondary' | 'naked';
5
5
  size?: 'small' | 'medium' | 'large';
@@ -7,7 +7,7 @@ export interface BaseButtonProps {
7
7
  purpose?: 'button' | 'link';
8
8
  target?: string;
9
9
  children: React.ReactNode;
10
- iconName?: keyof typeof iconsData;
10
+ iconName?: IconName;
11
11
  id?: string;
12
12
  'data-testid'?: string;
13
13
  }
package/dist/index.esm.js CHANGED
@@ -396,13 +396,13 @@ var component = {
396
396
  },
397
397
  variants: {
398
398
  secondary: {
399
- backgroundColor: "#e9ecef",
399
+ backgroundColor: "#dee2e6",
400
400
  textColor: "#212529",
401
401
  hover: {
402
- backgroundColor: "#dee2e6"
402
+ backgroundColor: "#ced4da"
403
403
  },
404
404
  active: {
405
- backgroundColor: "#f8f9fa"
405
+ backgroundColor: "#adb5bd"
406
406
  },
407
407
  disabled: {
408
408
  backgroundColor: "#dee2e6",