@sb1/ffe-chips-react 2.0.2 → 2.0.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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/types/Chip.d.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-chips-react",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "React implementation of ffe-chips component",
5
5
  "keywords": [
6
6
  "ffe"
@@ -29,12 +29,12 @@
29
29
  "test:watch": "ffe-buildtool jest --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@sb1/ffe-chips": "^2.0.1",
33
- "@sb1/ffe-core": "^29.5.1",
34
- "@sb1/ffe-icons-react": "^11.0.17"
32
+ "@sb1/ffe-chips": "^2.0.3",
33
+ "@sb1/ffe-core": "^30.0.0",
34
+ "@sb1/ffe-icons-react": "^11.0.19"
35
35
  },
36
36
  "devDependencies": {
37
- "@sb1/ffe-buildtool": "^0.9.1",
37
+ "@sb1/ffe-buildtool": "^0.10.0",
38
38
  "react": "^18.2.0",
39
39
  "react-dom": "^18.2.0"
40
40
  },
@@ -44,5 +44,5 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "0e78fdb97c0d49fe152a4da4b0b883629623644d"
47
+ "gitHead": "5a72f08b0873cc96b0d439dd029839db4d5d4ea9"
48
48
  }
package/types/Chip.d.ts CHANGED
@@ -14,6 +14,11 @@ type LeftOrRightIcon = LeftIcon | RightIcon;
14
14
  export type ChipProps<As extends ElementType = 'button'> = ComponentAsPropParams<As> & {
15
15
  /** Size of chip*/
16
16
  size: 'sm' | 'md' | 'lg';
17
+ /** @deprecated as part of update to Semantic Colors
18
+ *
19
+ * Use the `ffe-accent-color` class on the component or on the container of the component instead
20
+ * [Read more in the upgrade guide](https://sparebank1.github.io/designsystem/?path=/docs/introduksjon-changelog--docs#2025---februar---semantiske-farger) */
21
+ onColoredBg?: never;
17
22
  } & LeftOrRightIcon;
18
23
  export declare const Chip: <As extends ElementType>(props: ChipProps<As> & React.RefAttributes<any>) => React.JSX.Element;
19
24
  export {};