@envive-ai/react-toolkit 0.2.5 → 0.2.7

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 (100) hide show
  1. package/dist/Accordion/index.d.cts +2 -2
  2. package/dist/Accordion/index.d.ts +2 -2
  3. package/dist/AnimatedChevron/index.d.cts +2 -2
  4. package/dist/AppliedFiltersScrollbar/index.d.cts +2 -2
  5. package/dist/AppliedFiltersScrollbar/index.d.ts +2 -2
  6. package/dist/ButtonBase/index.d.cts +2 -2
  7. package/dist/DynamicFiltersScrollbar/index.d.cts +2 -2
  8. package/dist/DynamicFiltersScrollbar/index.d.ts +2 -2
  9. package/dist/FilterScrollbar/index.d.ts +3 -3
  10. package/dist/ImageWithFallback/index.d.cts +2 -2
  11. package/dist/ImageWithFallback/index.d.ts +2 -2
  12. package/dist/ModalSheet/index.d.cts +2 -2
  13. package/dist/ModalSheet/index.d.ts +2 -2
  14. package/dist/ProductCard/index.d.cts +1 -1
  15. package/dist/ProductCard/index.d.ts +1 -1
  16. package/dist/ProductGrid/index.d.cts +3 -3
  17. package/dist/ProductGrid/index.d.ts +3 -3
  18. package/dist/RadioButton/index.cjs +1 -2
  19. package/dist/RadioButton/index.d.cts +2 -2
  20. package/dist/RadioButton/index.d.ts +2 -2
  21. package/dist/RadioButton/index.js +1 -2
  22. package/dist/{RadioButton-DG0PgZbz.cjs → RadioButton-BzZTrq-i.cjs} +37 -45
  23. package/dist/RadioButton-DRdlp-HC.js +67 -0
  24. package/dist/RadioButtonGroup/index.cjs +2 -3
  25. package/dist/RadioButtonGroup/index.d.cts +2 -2
  26. package/dist/RadioButtonGroup/index.d.ts +2 -2
  27. package/dist/RadioButtonGroup/index.js +2 -3
  28. package/dist/{RadioButtonGroup-DMbVgPQH.js → RadioButtonGroup-BHfAwrH7.js} +1 -1
  29. package/dist/{RadioButtonGroup-3t2kqSFA.cjs → RadioButtonGroup-DU4_ZMJ2.cjs} +1 -1
  30. package/dist/SearchAutocomplete/index.cjs +1 -1
  31. package/dist/SearchAutocomplete/index.d.cts +2 -2
  32. package/dist/SearchAutocomplete/index.d.ts +2 -2
  33. package/dist/SearchAutocomplete/index.js +1 -1
  34. package/dist/SearchFilter/index.cjs +3 -3
  35. package/dist/SearchFilter/index.d.cts +5 -5
  36. package/dist/SearchFilter/index.d.ts +5 -5
  37. package/dist/SearchFilter/index.js +3 -3
  38. package/dist/{SearchFilter-aSgPzPq-.cjs → SearchFilter-Cph7S1yF.cjs} +1 -1
  39. package/dist/{SearchFilter-B0ICGnqG.js → SearchFilter-DWUm2sZH.js} +1 -1
  40. package/dist/SearchInput/index.cjs +3 -4
  41. package/dist/SearchInput/index.d.ts +2 -2
  42. package/dist/SearchInput/index.js +3 -4
  43. package/dist/{SearchInput-DkGDEb66.cjs → SearchInput-CAqNnjuE.cjs} +5 -23
  44. package/dist/{SearchInput-DY2g3Bra.js → SearchInput-Jj8nxPA0.js} +4 -23
  45. package/dist/SearchInputForm/index.cjs +4 -5
  46. package/dist/SearchInputForm/index.d.cts +2 -2
  47. package/dist/SearchInputForm/index.d.ts +3 -3
  48. package/dist/SearchInputForm/index.js +4 -5
  49. package/dist/SearchResultsContent/index.cjs +4 -4
  50. package/dist/SearchResultsContent/index.d.cts +4 -4
  51. package/dist/SearchResultsContent/index.d.ts +4 -4
  52. package/dist/SearchResultsContent/index.js +4 -4
  53. package/dist/SearchResultsFilterSidebar/index.cjs +73 -7
  54. package/dist/SearchResultsFilterSidebar/index.d.cts +1 -1
  55. package/dist/SearchResultsFilterSidebar/index.d.ts +1 -1
  56. package/dist/SearchResultsFilterSidebar/index.js +72 -6
  57. package/dist/SearchResultsStates/index.cjs +4 -4
  58. package/dist/SearchResultsStates/index.d.cts +6 -6
  59. package/dist/SearchResultsStates/index.d.ts +6 -6
  60. package/dist/SearchResultsStates/index.js +4 -4
  61. package/dist/{SearchResultsStates-e5W9Ok19.cjs → SearchResultsStates-CG8-Ga-G.cjs} +2 -2
  62. package/dist/{SearchResultsStates-DzNMYUKh.js → SearchResultsStates-CTgVvFe9.js} +2 -2
  63. package/dist/SparkleAnimation/index.cjs +1 -1
  64. package/dist/SparkleAnimation/index.d.cts +2 -2
  65. package/dist/SparkleAnimation/index.d.ts +2 -2
  66. package/dist/SparkleAnimation/index.js +1 -1
  67. package/dist/Spinner/index.d.cts +2 -2
  68. package/dist/Spinner/index.d.ts +2 -2
  69. package/dist/SuggestionButton/index.d.cts +2 -2
  70. package/dist/SuggestionButton/index.d.ts +2 -2
  71. package/dist/TextInput/index.cjs +1 -1
  72. package/dist/TextInput/index.d.ts +2 -2
  73. package/dist/TextInput/index.js +1 -1
  74. package/dist/ToggleButton/index.d.cts +2 -2
  75. package/dist/ToggleButton/index.d.ts +2 -2
  76. package/dist/Typography/index.d.ts +2 -2
  77. package/dist/{index-fXyRC79n.d.ts → index-Br1B7Jta.d.cts} +2 -2
  78. package/dist/{index-DWTTeC2a.d.cts → index-CoKLba8Y.d.ts} +5 -5
  79. package/dist/{index-BdNJ2gwC.d.ts → index-DZG-p0HX.d.cts} +5 -5
  80. package/dist/{index-BH-QK27q.d.ts → index-Qtr26aUO.d.ts} +1 -1
  81. package/dist/{index-BQVJifDf.d.cts → index-qY2eo4Dx.d.ts} +2 -2
  82. package/dist/{searchFilterSidebarVariants-CjDvgxxT.cjs → searchFilterSidebarVariants-Bv_5N0Qd.cjs} +1 -1
  83. package/dist/{searchFilterSidebarVariants-Clm9ddD5.js → searchFilterSidebarVariants-Dc0irQTl.js} +1 -1
  84. package/package.json +1 -1
  85. package/src/components/RadioButton/RadioButton.tsx +9 -12
  86. package/src/components/SearchInput/SearchInput.tsx +1 -1
  87. package/src/components/TextInput/TextInput.tsx +0 -4
  88. package/dist/RadioButton-C_soBi7w.js +0 -75
  89. package/dist/SettingsVariant-BzZSQvrw.cjs +0 -63
  90. package/dist/SettingsVariant-DMgNg4dw.js +0 -55
  91. /package/dist/{SearchAutocomplete-DEY_Cmf6.js → SearchAutocomplete-BzMueTjs.js} +0 -0
  92. /package/dist/{SearchAutocomplete-BBBIDGP_.cjs → SearchAutocomplete-Dv2FQmZD.cjs} +0 -0
  93. /package/dist/{SparkleAnimation-Bm3fk2FJ.cjs → SparkleAnimation-CvGlWUqv.cjs} +0 -0
  94. /package/dist/{SparkleAnimation-D1QjYho_.js → SparkleAnimation-paLhSu5E.js} +0 -0
  95. /package/dist/{TextInput-NKOORtYu.js → TextInput-C9wyXFlx.js} +0 -0
  96. /package/dist/{TextInput-BKNorxPl.cjs → TextInput-Cih-pWCJ.cjs} +0 -0
  97. /package/dist/{colorsConfig-CRxY3SQ_.cjs → colorsConfig-CJTKbJsm.cjs} +0 -0
  98. /package/dist/{colorsConfig-D_IPWAUL.js → colorsConfig-CYZ8f_gj.js} +0 -0
  99. /package/dist/{types-CGRog8XL.d.ts → types-DlqhqT_S.d.ts} +0 -0
  100. /package/dist/{typographyVariantClasses-COmQXqcN.d.ts → typographyVariantClasses-B6wiawat.d.ts} +0 -0
@@ -3,8 +3,8 @@ const require_Typography = require('./Typography-CFNWgbM5.cjs');
3
3
  const require_DynamicFiltersScrollbar = require('./DynamicFiltersScrollbar-50i_InZz.cjs');
4
4
  const require_ProductCard = require('./ProductCard-CByKIsUN.cjs');
5
5
  const require_ProductGrid = require('./ProductGrid-BeFeluHo.cjs');
6
- const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-CjDvgxxT.cjs');
7
- const require_SparkleAnimation = require('./SparkleAnimation-Bm3fk2FJ.cjs');
6
+ const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-Bv_5N0Qd.cjs');
7
+ const require_SparkleAnimation = require('./SparkleAnimation-CvGlWUqv.cjs');
8
8
  let framer_motion = require("framer-motion");
9
9
  framer_motion = require_chunk.__toESM(framer_motion);
10
10
  let classnames = require("classnames");
@@ -2,8 +2,8 @@ import { Typography } from "./Typography-D3vDkBMS.js";
2
2
  import { AppliedFiltersScrollbar, DynamicFiltersScrollbar } from "./DynamicFiltersScrollbar-AhyHehrB.js";
3
3
  import { ProductCardSkeleton } from "./ProductCard-BIlnM2nV.js";
4
4
  import { ProductGrid, productGridVariantClasses } from "./ProductGrid-Cgkb4vNf.js";
5
- import { searchFilterSidebarVariantClasses } from "./searchFilterSidebarVariants-Clm9ddD5.js";
6
- import { SparkleAnimation } from "./SparkleAnimation-D1QjYho_.js";
5
+ import { searchFilterSidebarVariantClasses } from "./searchFilterSidebarVariants-Dc0irQTl.js";
6
+ import { SparkleAnimation } from "./SparkleAnimation-paLhSu5E.js";
7
7
  import { motion } from "framer-motion";
8
8
  import classNames from "classnames";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- const require_SparkleAnimation = require('../SparkleAnimation-Bm3fk2FJ.cjs');
1
+ const require_SparkleAnimation = require('../SparkleAnimation-CvGlWUqv.cjs');
2
2
 
3
3
  exports.SparkleAnimation = require_SparkleAnimation.SparkleAnimation;
4
4
  exports.SparkleAnimationOverride = require_SparkleAnimation.SparkleAnimationOverride;
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime2 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/SparkleAnimation/SparkleAnimation.d.ts
4
4
  interface SparkleAnimationProps {
@@ -10,7 +10,7 @@ declare const SparkleAnimation: ({
10
10
  color,
11
11
  className,
12
12
  animate
13
- }: SparkleAnimationProps) => react_jsx_runtime2.JSX.Element;
13
+ }: SparkleAnimationProps) => react_jsx_runtime28.JSX.Element;
14
14
  //#endregion
15
15
  //#region src/components/SparkleAnimation/types.d.ts
16
16
  declare enum SparkleAnimationOverride {
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime11 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime13 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/SparkleAnimation/SparkleAnimation.d.ts
4
4
  interface SparkleAnimationProps {
@@ -10,7 +10,7 @@ declare const SparkleAnimation: ({
10
10
  color,
11
11
  className,
12
12
  animate
13
- }: SparkleAnimationProps) => react_jsx_runtime11.JSX.Element;
13
+ }: SparkleAnimationProps) => react_jsx_runtime13.JSX.Element;
14
14
  //#endregion
15
15
  //#region src/components/SparkleAnimation/types.d.ts
16
16
  declare enum SparkleAnimationOverride {
@@ -1,3 +1,3 @@
1
- import { SparkleAnimation, SparkleAnimationOverride } from "../SparkleAnimation-D1QjYho_.js";
1
+ import { SparkleAnimation, SparkleAnimationOverride } from "../SparkleAnimation-paLhSu5E.js";
2
2
 
3
3
  export { SparkleAnimation, SparkleAnimationOverride };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime1 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/Spinner/Spinner.d.ts
4
4
  type SpinnerProps = {
@@ -6,6 +6,6 @@ type SpinnerProps = {
6
6
  };
7
7
  declare const Spinner: ({
8
8
  className
9
- }: SpinnerProps) => react_jsx_runtime1.JSX.Element;
9
+ }: SpinnerProps) => react_jsx_runtime27.JSX.Element;
10
10
  //#endregion
11
11
  export { Spinner };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime14 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/Spinner/Spinner.d.ts
4
4
  type SpinnerProps = {
@@ -6,6 +6,6 @@ type SpinnerProps = {
6
6
  };
7
7
  declare const Spinner: ({
8
8
  className
9
- }: SpinnerProps) => react_jsx_runtime14.JSX.Element;
9
+ }: SpinnerProps) => react_jsx_runtime4.JSX.Element;
10
10
  //#endregion
11
11
  export { Spinner };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime22 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
2
  import { TestProps } from "@envive-ai/react-hooks/types";
3
3
 
4
4
  //#region src/components/SuggestionButton/types.d.ts
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
30
30
  dataAttributes,
31
31
  dataTestId,
32
32
  onClick
33
- }: SuggestionButtonProps) => react_jsx_runtime22.JSX.Element;
33
+ }: SuggestionButtonProps) => react_jsx_runtime4.JSX.Element;
34
34
  //#endregion
35
35
  export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime7 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime15 from "react/jsx-runtime";
2
2
  import { TestProps } from "@envive-ai/react-hooks/types";
3
3
 
4
4
  //#region src/components/SuggestionButton/types.d.ts
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
30
30
  dataAttributes,
31
31
  dataTestId,
32
32
  onClick
33
- }: SuggestionButtonProps) => react_jsx_runtime7.JSX.Element;
33
+ }: SuggestionButtonProps) => react_jsx_runtime15.JSX.Element;
34
34
  //#endregion
35
35
  export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
@@ -1,4 +1,4 @@
1
1
  require('../Typography-CFNWgbM5.cjs');
2
- const require_TextInput = require('../TextInput-BKNorxPl.cjs');
2
+ const require_TextInput = require('../TextInput-Cih-pWCJ.cjs');
3
3
 
4
4
  exports.TextInput = require_TextInput.TextInput;
@@ -1,5 +1,5 @@
1
- import { TypographyVariantMap } from "../typographyVariantClasses-COmQXqcN.js";
2
- import "../index-BH-QK27q.js";
1
+ import { TypographyVariantMap } from "../typographyVariantClasses-B6wiawat.js";
2
+ import "../index-Qtr26aUO.js";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/TextInput/TextInput.d.ts
@@ -1,4 +1,4 @@
1
1
  import "../Typography-D3vDkBMS.js";
2
- import { TextInput } from "../TextInput-NKOORtYu.js";
2
+ import { TextInput } from "../TextInput-C9wyXFlx.js";
3
3
 
4
4
  export { TextInput };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime28 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/ToggleButton/ToggleButton.d.ts
4
4
  type ToggleButtonProps = {
@@ -25,6 +25,6 @@ declare const ToggleButton: ({
25
25
  icon,
26
26
  iconClassName,
27
27
  variant
28
- }: ToggleButtonProps) => react_jsx_runtime28.JSX.Element;
28
+ }: ToggleButtonProps) => react_jsx_runtime0.JSX.Element;
29
29
  //#endregion
30
30
  export { ToggleButton, ToggleButtonProps, ToggleButtonVariant };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime16 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/ToggleButton/ToggleButton.d.ts
4
4
  type ToggleButtonProps = {
@@ -25,6 +25,6 @@ declare const ToggleButton: ({
25
25
  icon,
26
26
  iconClassName,
27
27
  variant
28
- }: ToggleButtonProps) => react_jsx_runtime6.JSX.Element;
28
+ }: ToggleButtonProps) => react_jsx_runtime16.JSX.Element;
29
29
  //#endregion
30
30
  export { ToggleButton, ToggleButtonProps, ToggleButtonVariant };
@@ -1,3 +1,3 @@
1
- import { ElementTypes, TypographyDomVariantMap, TypographyVariantMap, getVariantPlaceholderClassNames } from "../typographyVariantClasses-COmQXqcN.js";
2
- import { Typography, TypographyProps } from "../index-BH-QK27q.js";
1
+ import { ElementTypes, TypographyDomVariantMap, TypographyVariantMap, getVariantPlaceholderClassNames } from "../typographyVariantClasses-B6wiawat.js";
2
+ import { Typography, TypographyProps } from "../index-Qtr26aUO.js";
3
3
  export { ElementTypes, Typography, TypographyDomVariantMap, TypographyProps, TypographyVariantMap, getVariantPlaceholderClassNames };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime4 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
3
3
 
4
4
  //#region src/components/SearchResultsFilterSidebar/types.d.ts
@@ -41,6 +41,6 @@ declare const SearchResultsFilter: ({
41
41
  onSelectFilterItem,
42
42
  onClearAllFilters,
43
43
  filterButtonText
44
- }: SearchResultsFilterProps) => react_jsx_runtime4.JSX.Element;
44
+ }: SearchResultsFilterProps) => react_jsx_runtime0.JSX.Element;
45
45
  //#endregion
46
46
  export { CloseIconVariant$1 as CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
- import { TestProps } from "@envive-ai/react-hooks/types";
3
1
  import { FC } from "react";
2
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
3
+ import { TestProps } from "@envive-ai/react-hooks/types";
4
4
  import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
5
5
 
6
6
  //#region src/util/trim.d.ts
@@ -261,7 +261,7 @@ declare const RatingSummary: ({
261
261
  stars,
262
262
  reviewCount,
263
263
  className
264
- }: RatingSummaryProps) => react_jsx_runtime15.JSX.Element;
264
+ }: RatingSummaryProps) => react_jsx_runtime26.JSX.Element;
265
265
  interface PriceSectionProps {
266
266
  originalPrice?: string;
267
267
  salePrice?: string;
@@ -271,7 +271,7 @@ declare const PriceSection: ({
271
271
  originalPrice,
272
272
  salePrice,
273
273
  pricePrefix
274
- }: PriceSectionProps) => react_jsx_runtime15.JSX.Element;
274
+ }: PriceSectionProps) => react_jsx_runtime26.JSX.Element;
275
275
  interface ProductCardProps extends TestProps {
276
276
  productCardConfig?: ProductCardConfig;
277
277
  merchantShortName: string;
@@ -308,7 +308,7 @@ declare const ProductCard: ({
308
308
  aspectRatio,
309
309
  growWithContainer,
310
310
  handleClick
311
- }: ProductCardProps) => react_jsx_runtime15.JSX.Element;
311
+ }: ProductCardProps) => react_jsx_runtime26.JSX.Element;
312
312
  //#endregion
313
313
  //#region src/components/ProductCard/ProductCardSkeleton.d.ts
314
314
  declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
@@ -1,6 +1,6 @@
1
- import { FC } from "react";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
3
2
  import { TestProps } from "@envive-ai/react-hooks/types";
3
+ import { FC } from "react";
4
4
  import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
5
5
 
6
6
  //#region src/util/trim.d.ts
@@ -261,7 +261,7 @@ declare const RatingSummary: ({
261
261
  stars,
262
262
  reviewCount,
263
263
  className
264
- }: RatingSummaryProps) => react_jsx_runtime15.JSX.Element;
264
+ }: RatingSummaryProps) => react_jsx_runtime19.JSX.Element;
265
265
  interface PriceSectionProps {
266
266
  originalPrice?: string;
267
267
  salePrice?: string;
@@ -271,7 +271,7 @@ declare const PriceSection: ({
271
271
  originalPrice,
272
272
  salePrice,
273
273
  pricePrefix
274
- }: PriceSectionProps) => react_jsx_runtime15.JSX.Element;
274
+ }: PriceSectionProps) => react_jsx_runtime19.JSX.Element;
275
275
  interface ProductCardProps extends TestProps {
276
276
  productCardConfig?: ProductCardConfig;
277
277
  merchantShortName: string;
@@ -308,7 +308,7 @@ declare const ProductCard: ({
308
308
  aspectRatio,
309
309
  growWithContainer,
310
310
  handleClick
311
- }: ProductCardProps) => react_jsx_runtime15.JSX.Element;
311
+ }: ProductCardProps) => react_jsx_runtime19.JSX.Element;
312
312
  //#endregion
313
313
  //#region src/components/ProductCard/ProductCardSkeleton.d.ts
314
314
  declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
@@ -1,4 +1,4 @@
1
- import { ElementTypes, TypographyVariantMap } from "./typographyVariantClasses-COmQXqcN.js";
1
+ import { ElementTypes, TypographyVariantMap } from "./typographyVariantClasses-B6wiawat.js";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/Typography/Typography.d.ts
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime27 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
2
2
  import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
3
3
 
4
4
  //#region src/components/SearchResultsFilterSidebar/types.d.ts
@@ -41,6 +41,6 @@ declare const SearchResultsFilter: ({
41
41
  onSelectFilterItem,
42
42
  onClearAllFilters,
43
43
  filterButtonText
44
- }: SearchResultsFilterProps) => react_jsx_runtime27.JSX.Element;
44
+ }: SearchResultsFilterProps) => react_jsx_runtime14.JSX.Element;
45
45
  //#endregion
46
46
  export { CloseIconVariant$1 as CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
@@ -1,4 +1,4 @@
1
- const require_colorsConfig = require('./colorsConfig-CRxY3SQ_.cjs');
1
+ const require_colorsConfig = require('./colorsConfig-CJTKbJsm.cjs');
2
2
 
3
3
  //#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts
4
4
  const searchFilterSidebarVariantClasses = {
@@ -1,4 +1,4 @@
1
- import { ColorNames, colorVar } from "./colorsConfig-D_IPWAUL.js";
1
+ import { ColorNames, colorVar } from "./colorsConfig-CYZ8f_gj.js";
2
2
 
3
3
  //#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts
4
4
  const searchFilterSidebarVariantClasses = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envive-ai/react-toolkit",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "React component library for Envive services.",
5
5
  "keywords": [
6
6
  "react",
@@ -1,5 +1,4 @@
1
1
  import classNames from 'classnames';
2
- import { Typography } from 'src/components/Typography';
3
2
  import { useState } from 'react';
4
3
  import { TestProps } from '@envive-ai/react-hooks/types';
5
4
 
@@ -57,16 +56,6 @@ export const RadioButton = ({
57
56
 
58
57
  return (
59
58
  <>
60
- <label
61
- className={containerClassName}
62
- onMouseEnter={() => !isDisabled && setIsHovered(true)}
63
- onMouseLeave={() => setIsHovered(false)}
64
- aria-label={label}
65
- htmlFor={id}
66
- >
67
- {label}
68
- </label>
69
-
70
59
  <div className="spiffy-tw-relative">
71
60
  <input
72
61
  type="radio"
@@ -91,7 +80,15 @@ export const RadioButton = ({
91
80
  {checked && <circle cx="12" cy="12" r="9" fill={getFillColor()} />}
92
81
  </svg>
93
82
  </div>
94
- <Typography variant="body3">{label}</Typography>
83
+ <label
84
+ className={containerClassName}
85
+ onMouseEnter={() => !isDisabled && setIsHovered(true)}
86
+ onMouseLeave={() => setIsHovered(false)}
87
+ aria-label={label}
88
+ htmlFor={id}
89
+ >
90
+ {label}
91
+ </label>
95
92
  </>
96
93
  );
97
94
  };
@@ -1,7 +1,7 @@
1
1
  import React, { useRef, useImperativeHandle } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import MagnifyingGlassStarVariant from '@envive-ai/react-icons/MagnifyingGlassStarVariant';
4
- import { IconClose } from '@envive-ai/react-icons/src/index.js';
4
+ import IconClose from '@envive-ai/react-icons/IconClose';
5
5
  import { SearchInputVariant } from '@envive-ai/react-hooks/contexts/types';
6
6
  import { TextInput } from '../TextInput';
7
7
  import { searchInputVariantClasses } from './searchInputVariants';
@@ -1,7 +1,3 @@
1
- /* eslint-disable react/jsx-props-no-spreading */
2
- // Disabling this prevents an otherwise simple wrapper around input
3
- // from becoming needlessly verbose while maintaining flexibility.
4
- // Keeping it enabled requires listing every possible prop.
5
1
  import React from 'react';
6
2
  import classNames from 'classnames';
7
3
 
@@ -1,75 +0,0 @@
1
- import { Typography } from "./Typography-D3vDkBMS.js";
2
- import { useState } from "react";
3
- import classNames from "classnames";
4
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
-
6
- //#region src/components/RadioButton/RadioButton.tsx
7
- const RadioButton = ({ isDisabled = false, label, name, value, textButtonGap = "medium", fillColor, hoverColor, uncheckedBorderColor, checked = false, onChange, id }) => {
8
- const [isHovered, setIsHovered] = useState(false);
9
- const containerClassName = classNames({
10
- "spiffy-tw-flex": true,
11
- "spiffy-tw-items-center": true,
12
- "spiffy-tw-group": true,
13
- "spiffy-tw-gap-1": textButtonGap === "small",
14
- "spiffy-tw-gap-2": textButtonGap === "medium",
15
- "spiffy-tw-gap-4": textButtonGap === "large",
16
- "spiffy-tw-cursor-pointer": !isDisabled,
17
- "spiffy-tw-opacity-40": isDisabled
18
- });
19
- const getFillColor = () => {
20
- if (isHovered && hoverColor) return hoverColor;
21
- if (checked) return fillColor;
22
- return uncheckedBorderColor;
23
- };
24
- const handleChange = () => {
25
- if (!isDisabled) onChange(value);
26
- };
27
- return /* @__PURE__ */ jsxs(Fragment, { children: [
28
- /* @__PURE__ */ jsx("label", {
29
- className: containerClassName,
30
- onMouseEnter: () => !isDisabled && setIsHovered(true),
31
- onMouseLeave: () => setIsHovered(false),
32
- "aria-label": label,
33
- htmlFor: id,
34
- children: label
35
- }),
36
- /* @__PURE__ */ jsxs("div", {
37
- className: "spiffy-tw-relative",
38
- children: [/* @__PURE__ */ jsx("input", {
39
- type: "radio",
40
- id,
41
- name,
42
- value,
43
- checked,
44
- disabled: isDisabled,
45
- onChange: handleChange,
46
- className: "spiffy-tw-sr-only"
47
- }), /* @__PURE__ */ jsxs("svg", {
48
- xmlns: "http://www.w3.org/2000/svg",
49
- width: "24",
50
- height: "24",
51
- viewBox: "0 0 24 24",
52
- fill: "none",
53
- children: [/* @__PURE__ */ jsx("circle", {
54
- cx: "12",
55
- cy: "12",
56
- r: "11.5",
57
- fill: "white",
58
- stroke: getFillColor()
59
- }), checked && /* @__PURE__ */ jsx("circle", {
60
- cx: "12",
61
- cy: "12",
62
- r: "9",
63
- fill: getFillColor()
64
- })]
65
- })]
66
- }),
67
- /* @__PURE__ */ jsx(Typography, {
68
- variant: "body3",
69
- children: label
70
- })
71
- ] });
72
- };
73
-
74
- //#endregion
75
- export { RadioButton };
@@ -1,63 +0,0 @@
1
- const require_chunk = require('./chunk-CUT6urMc.cjs');
2
- let react = require("react");
3
- react = require_chunk.__toESM(react);
4
- let react_jsx_runtime = require("react/jsx-runtime");
5
- react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
6
-
7
- //#region ../icons/src/SettingsVariant.tsx
8
- const SvgSettingsVariant = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
9
- xmlns: "http://www.w3.org/2000/svg",
10
- width: 28,
11
- height: 28,
12
- fill: "none",
13
- ...props,
14
- children: [
15
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
16
- cx: 3.5,
17
- cy: 3.5,
18
- r: 3.033,
19
- stroke: "#767676",
20
- strokeWidth: .933,
21
- transform: "matrix(-1 0 0 1 22.4 0)"
22
- }),
23
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
24
- stroke: "#767676",
25
- strokeWidth: .933,
26
- d: "M14 3.5H0M28 3.5h-4.5"
27
- }),
28
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
29
- cx: 9.1,
30
- cy: 13.5,
31
- r: 3.033,
32
- stroke: "#767676",
33
- strokeWidth: .933
34
- }),
35
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
36
- stroke: "#767676",
37
- strokeWidth: .933,
38
- d: "M14 13.5h14M0 13.5h4.5"
39
- }),
40
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
41
- cx: 3.5,
42
- cy: 3.5,
43
- r: 3.033,
44
- stroke: "#767676",
45
- strokeWidth: .933,
46
- transform: "matrix(-1 0 0 1 22.4 20)"
47
- }),
48
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
49
- stroke: "#767676",
50
- strokeWidth: .933,
51
- d: "M14 23.5H0M28 23.5h-4.5"
52
- })
53
- ]
54
- });
55
- var SettingsVariant_default = SvgSettingsVariant;
56
-
57
- //#endregion
58
- Object.defineProperty(exports, 'SettingsVariant_default', {
59
- enumerable: true,
60
- get: function () {
61
- return SettingsVariant_default;
62
- }
63
- });
@@ -1,55 +0,0 @@
1
- import "react";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
-
4
- //#region ../icons/src/SettingsVariant.tsx
5
- const SvgSettingsVariant = (props) => /* @__PURE__ */ jsxs("svg", {
6
- xmlns: "http://www.w3.org/2000/svg",
7
- width: 28,
8
- height: 28,
9
- fill: "none",
10
- ...props,
11
- children: [
12
- /* @__PURE__ */ jsx("circle", {
13
- cx: 3.5,
14
- cy: 3.5,
15
- r: 3.033,
16
- stroke: "#767676",
17
- strokeWidth: .933,
18
- transform: "matrix(-1 0 0 1 22.4 0)"
19
- }),
20
- /* @__PURE__ */ jsx("path", {
21
- stroke: "#767676",
22
- strokeWidth: .933,
23
- d: "M14 3.5H0M28 3.5h-4.5"
24
- }),
25
- /* @__PURE__ */ jsx("circle", {
26
- cx: 9.1,
27
- cy: 13.5,
28
- r: 3.033,
29
- stroke: "#767676",
30
- strokeWidth: .933
31
- }),
32
- /* @__PURE__ */ jsx("path", {
33
- stroke: "#767676",
34
- strokeWidth: .933,
35
- d: "M14 13.5h14M0 13.5h4.5"
36
- }),
37
- /* @__PURE__ */ jsx("circle", {
38
- cx: 3.5,
39
- cy: 3.5,
40
- r: 3.033,
41
- stroke: "#767676",
42
- strokeWidth: .933,
43
- transform: "matrix(-1 0 0 1 22.4 20)"
44
- }),
45
- /* @__PURE__ */ jsx("path", {
46
- stroke: "#767676",
47
- strokeWidth: .933,
48
- d: "M14 23.5H0M28 23.5h-4.5"
49
- })
50
- ]
51
- });
52
- var SettingsVariant_default = SvgSettingsVariant;
53
-
54
- //#endregion
55
- export { SettingsVariant_default };