@croquiscom/pds 0.42.5 → 0.43.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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare function convertSnakeCaseToCapitalizedWords(name: string): string;
3
+ export declare const AutoCodeColorState: React.FC<{}>;
@@ -0,0 +1,7 @@
1
+ export type HEX = string;
2
+ export type AutoColorCode = {
3
+ hover: string;
4
+ pressed: string;
5
+ disabled: string;
6
+ };
7
+ export declare function getAutoColorCode(color: HEX): AutoColorCode;
@@ -5,3 +5,4 @@ export * from './placement';
5
5
  export * from './zIndex';
6
6
  export * from './buildCSSWithLength';
7
7
  export * from './safeArea';
8
+ export * from './colors';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croquiscom/pds",
3
- "version": "0.42.5",
3
+ "version": "0.43.0",
4
4
  "description": "Design system for Zigzag's Partner Center",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.es.js",
@@ -77,6 +77,7 @@
77
77
  "@floating-ui/react-dom-interactions": "0.12.0",
78
78
  "@react-aria/focus": "^3.9.0",
79
79
  "@react-aria/utils": "^3.14.0",
80
+ "chroma-js": "^2.4.2",
80
81
  "classnames": "^2.3.1",
81
82
  "date-fns": "^2.29.3",
82
83
  "framer-motion": "^6.5.1",