@descope/flow-components 2.0.49 → 2.0.51

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/index.cjs.js CHANGED
@@ -227,6 +227,10 @@ const TOTPLink = React__default.default.forwardRef(({ ...props }, ref) => {
227
227
  return React__default.default.createElement(Link, { ref: ref, ...readyProps });
228
228
  });
229
229
 
230
+ Object.defineProperty(exports, 'themeToStyle', {
231
+ enumerable: true,
232
+ get: function () { return webComponentsUi.themeToStyle; }
233
+ });
230
234
  exports.Boolean = Boolean;
231
235
  exports.Button = Button;
232
236
  exports.Checkbox = Checkbox;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  export * from '@descope/web-components-ui';
3
+ export { themeToStyle } from '@descope/web-components-ui';
3
4
 
4
5
  type KebabCase<S extends string> = S extends `${infer First}${infer Rest}` ? Rest extends Uncapitalize<Rest> ? `${Uncapitalize<First>}${KebabCase<Rest>}` : `${Uncapitalize<First>}-${KebabCase<Rest>}` : S;
5
6
  type ComponentSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
package/dist/index.esm.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import { twMerge } from 'tailwind-merge';
3
3
  export * from '@descope/web-components-ui';
4
+ export { themeToStyle } from '@descope/web-components-ui';
4
5
 
5
6
  const Checkbox = React.forwardRef((props, ref) => React.createElement("descope-checkbox", { ...props, ref: ref }));
6
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "2.0.49",
3
+ "version": "2.0.51",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -99,7 +99,7 @@
99
99
  "typescript": "^4.5.3"
100
100
  },
101
101
  "dependencies": {
102
- "@descope/web-components-ui": "1.0.102",
102
+ "@descope/web-components-ui": "1.0.103",
103
103
  "rollup-plugin-dts": "^5.3.0",
104
104
  "tailwind-merge": "1.13.2"
105
105
  },