@salutejs/plasma-new-hope 0.186.0-canary.1542.11716355955.0 → 0.186.0-canary.1542.11725164051.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/cjs/components/Combobox/ComboboxNew/utils/getForm.js +80 -0
  2. package/cjs/components/Combobox/ComboboxNew/utils/getForm.js.map +1 -0
  3. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +55 -0
  4. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +1 -0
  5. package/cjs/index.js +2 -0
  6. package/cjs/index.js.map +1 -1
  7. package/emotion/cjs/components/Combobox/ComboboxNew/index.js +8 -1
  8. package/emotion/cjs/components/Combobox/ComboboxNew/utils/getForm.js +1 -2
  9. package/emotion/cjs/components/Combobox/ComboboxNew/utils/index.js +8 -1
  10. package/emotion/cjs/components/Combobox/index.js +6 -0
  11. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +1 -2
  12. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -5
  13. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.js +6 -2
  14. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  15. package/emotion/es/components/Combobox/ComboboxNew/index.js +2 -1
  16. package/emotion/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -3
  17. package/emotion/es/components/Combobox/ComboboxNew/utils/index.js +2 -1
  18. package/emotion/es/components/Combobox/index.js +1 -1
  19. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.js +1 -2
  20. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -5
  21. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.js +6 -2
  22. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  23. package/es/components/Combobox/ComboboxNew/utils/getForm.js +76 -0
  24. package/es/components/Combobox/ComboboxNew/utils/getForm.js.map +1 -0
  25. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +50 -0
  26. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +1 -0
  27. package/es/index.js +1 -0
  28. package/es/index.js.map +1 -1
  29. package/package.json +2 -2
  30. package/styled-components/cjs/components/Combobox/ComboboxNew/index.js +8 -1
  31. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getForm.js +1 -2
  32. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/index.js +8 -1
  33. package/styled-components/cjs/components/Combobox/index.js +6 -0
  34. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +1 -2
  35. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -5
  36. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.js +6 -2
  37. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  38. package/styled-components/es/components/Combobox/ComboboxNew/index.js +2 -1
  39. package/styled-components/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -3
  40. package/styled-components/es/components/Combobox/ComboboxNew/utils/index.js +2 -1
  41. package/styled-components/es/components/Combobox/index.js +1 -1
  42. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.js +1 -2
  43. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -5
  44. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.js +6 -2
  45. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +5 -5
  46. package/types/components/Combobox/ComboboxNew/index.d.ts +1 -0
  47. package/types/components/Combobox/ComboboxNew/index.d.ts.map +1 -1
  48. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts +2 -2
  49. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts.map +1 -1
  50. package/types/components/Combobox/ComboboxNew/utils/index.d.ts +1 -0
  51. package/types/components/Combobox/ComboboxNew/utils/index.d.ts.map +1 -1
  52. package/types/components/Combobox/index.d.ts +1 -1
  53. package/types/components/Combobox/index.d.ts.map +1 -1
  54. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +459 -2
  55. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  56. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +459 -1
  57. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
package/es/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.186.0-canary.1542.11716355955.0",
3
+ "version": "0.186.0-canary.1542.11725164051.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -128,5 +128,5 @@
128
128
  "sideEffects": [
129
129
  "*.css"
130
130
  ],
131
- "gitHead": "26b528aaa0040df1c7a450a3b023bb7847a03078"
131
+ "gitHead": "a55398233d55dab7e7b88e27f2fcef2bf69982e2"
132
132
  }
@@ -27,6 +27,13 @@ Object.defineProperty(exports, "comboboxTokens", {
27
27
  return _Combobox2.tokens;
28
28
  }
29
29
  });
30
+ Object.defineProperty(exports, "getFormComponentGenerator", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _utils.getFormComponentGenerator;
34
+ }
35
+ });
30
36
  var _Combobox = /*#__PURE__*/require("./Combobox");
31
37
  var _Combobox2 = /*#__PURE__*/require("./Combobox.tokens");
32
- var _Combobox3 = /*#__PURE__*/require("./Combobox.boundler");
38
+ var _Combobox3 = /*#__PURE__*/require("./Combobox.boundler");
39
+ var _utils = /*#__PURE__*/require("./utils");
@@ -8,8 +8,7 @@ exports.getFormComponentGenerator = void 0;
8
8
  var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
9
  var _syntheticEvent = /*#__PURE__*/require("./syntheticEvent");
10
10
  var _excluded = ["onChange", "component"],
11
- _excluded2 = ["onChange", "component"]; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
12
- // @ts-nocheck
11
+ _excluded2 = ["onChange", "component"];
13
12
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
14
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -9,6 +9,12 @@ Object.defineProperty(exports, "filterItems", {
9
9
  return _filterItems.filterItems;
10
10
  }
11
11
  });
12
+ Object.defineProperty(exports, "getFormComponentGenerator", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _getForm.getFormComponentGenerator;
16
+ }
17
+ });
12
18
  Object.defineProperty(exports, "getInitialValue", {
13
19
  enumerable: true,
14
20
  get: function get() {
@@ -58,4 +64,5 @@ var _updateSingleAncestors = /*#__PURE__*/require("./updateSingleAncestors");
58
64
  var _sizeToIconSize = /*#__PURE__*/require("./sizeToIconSize");
59
65
  var _filterItems = /*#__PURE__*/require("./filterItems");
60
66
  var _getItemId = /*#__PURE__*/require("./getItemId");
61
- var _getInitialValue = /*#__PURE__*/require("./getInitialValue");
67
+ var _getInitialValue = /*#__PURE__*/require("./getInitialValue");
68
+ var _getForm = /*#__PURE__*/require("./getForm");
@@ -117,5 +117,11 @@ Object.defineProperty(exports, "comboboxOldTokens", {
117
117
  return _ComboboxOld.comboboxTokens;
118
118
  }
119
119
  });
120
+ Object.defineProperty(exports, "getFormComponentGenerator", {
121
+ enumerable: true,
122
+ get: function get() {
123
+ return _ComboboxNew.getFormComponentGenerator;
124
+ }
125
+ });
120
126
  var _ComboboxOld = /*#__PURE__*/require("./ComboboxOld");
121
127
  var _ComboboxNew = /*#__PURE__*/require("./ComboboxNew");
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.ComboboxWithForm = exports.Combobox = void 0;
7
7
  var _engines = /*#__PURE__*/require("../../../../engines");
8
8
  var _ = /*#__PURE__*/require("../../../..");
9
- var _getForm = /*#__PURE__*/require("../../../../components/Combobox/ComboboxNew/utils/getForm");
10
9
  var _Combobox = /*#__PURE__*/require("./Combobox.config");
11
10
  var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_.comboboxNewConfig, _Combobox.config);
12
11
  var ComboboxComponent = /*#__PURE__*/(0, _engines.component)(mergedConfig);
13
12
  var Combobox = exports.Combobox = ComboboxComponent;
14
13
  var ComboboxWithForm = exports.ComboboxWithForm = /*#__PURE__*/(0, _.boundCombobox)({
15
14
  base: ComboboxComponent,
16
- baseForm: /*#__PURE__*/(0, _getForm.getFormComponentGenerator)(ComboboxComponent)
15
+ baseForm: /*#__PURE__*/(0, _.getFormComponentGenerator)(ComboboxComponent)
17
16
  });
@@ -1,14 +1,13 @@
1
- import React, { useEffect, useRef, useState } from 'react';
1
+ import React, { useState } from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
 
5
5
  import { WithTheme } from '../../../_helpers';
6
6
  import { IconDone } from '../../../../components/_Icon';
7
- import { createEvent } from '../../../../components/Combobox/ComboboxNew/utils/syntheticEvent';
8
7
 
9
- import { Combobox, ComboboxWithForm } from './Combobox';
8
+ import { ComboboxWithForm } from './Combobox';
10
9
 
11
- type StorySelectProps = ComponentProps<typeof Combobox> & {
10
+ type StorySelectProps = ComponentProps<typeof ComboboxWithForm> & {
12
11
  enableContentLeft?: boolean;
13
12
  };
14
13
 
@@ -20,7 +19,7 @@ const variant = ['normal', 'tight'];
20
19
  const meta: Meta<StorySelectProps> = {
21
20
  title: 'plasma_b2c/Combobox',
22
21
  decorators: [WithTheme],
23
- component: Combobox,
22
+ component: ComboboxWithForm,
24
23
  argTypes: {
25
24
  size: {
26
25
  options: size,
@@ -3,10 +3,14 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Combobox = void 0;
6
+ exports.ComboboxWithForm = exports.Combobox = void 0;
7
7
  var _engines = /*#__PURE__*/require("../../../../engines");
8
8
  var _ = /*#__PURE__*/require("../../../..");
9
9
  var _Combobox = /*#__PURE__*/require("./Combobox.config");
10
10
  var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_.comboboxNewConfig, _Combobox.config);
11
11
  var ComboboxComponent = /*#__PURE__*/(0, _engines.component)(mergedConfig);
12
- var Combobox = exports.Combobox = ComboboxComponent;
12
+ var Combobox = exports.Combobox = ComboboxComponent;
13
+ var ComboboxWithForm = exports.ComboboxWithForm = /*#__PURE__*/(0, _.boundCombobox)({
14
+ base: ComboboxComponent,
15
+ baseForm: /*#__PURE__*/(0, _.getFormComponentGenerator)(ComboboxComponent)
16
+ });
@@ -5,9 +5,9 @@ import type { Meta, StoryObj } from '@storybook/react';
5
5
  import { WithTheme } from '../../../_helpers';
6
6
  import { IconDone } from '../../../../components/_Icon';
7
7
 
8
- import { Combobox } from './Combobox';
8
+ import { ComboboxWithForm } from './Combobox';
9
9
 
10
- type StorySelectProps = ComponentProps<typeof Combobox> & {
10
+ type StorySelectProps = ComponentProps<typeof ComboboxWithForm> & {
11
11
  enableContentLeft?: boolean;
12
12
  };
13
13
 
@@ -19,7 +19,7 @@ const variant = ['normal', 'tight'];
19
19
  const meta: Meta<StorySelectProps> = {
20
20
  title: 'plasma_web/Combobox',
21
21
  decorators: [WithTheme],
22
- component: Combobox,
22
+ component: ComboboxWithForm,
23
23
  argTypes: {
24
24
  size: {
25
25
  options: size,
@@ -356,7 +356,7 @@ const SingleStory = (args: StorySelectProps) => {
356
356
 
357
357
  return (
358
358
  <div style={{ width: '400px' }}>
359
- <Combobox
359
+ <ComboboxWithForm
360
360
  {...args}
361
361
  items={items}
362
362
  value={value}
@@ -384,7 +384,7 @@ const MultipleStory = (args: StorySelectProps) => {
384
384
 
385
385
  return (
386
386
  <div style={{ width: '400px' }}>
387
- <Combobox
387
+ <ComboboxWithForm
388
388
  {...args}
389
389
  multiple
390
390
  items={items}
@@ -1,3 +1,4 @@
1
1
  export { comboboxConfig, comboboxRoot } from './Combobox';
2
2
  export { tokens as comboboxTokens } from './Combobox.tokens';
3
- export { boundCombobox } from './Combobox.boundler';
3
+ export { boundCombobox } from './Combobox.boundler';
4
+ export { getFormComponentGenerator } from './utils';
@@ -9,9 +9,6 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
9
9
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
10
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
11
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
13
- // @ts-nocheck
14
-
15
12
  import React, { useEffect, useRef, useState } from 'react';
16
13
  import { createEvent } from './syntheticEvent';
17
14
  var SingleForm = function SingleForm(args) {
@@ -5,4 +5,5 @@ export { updateSingleAncestors } from './updateSingleAncestors';
5
5
  export { sizeToIconSize } from './sizeToIconSize';
6
6
  export { filterItems } from './filterItems';
7
7
  export { getItemId } from './getItemId';
8
- export { getInitialValue } from './getInitialValue';
8
+ export { getInitialValue } from './getInitialValue';
9
+ export { getFormComponentGenerator } from './getForm';
@@ -1,2 +1,2 @@
1
1
  export { comboboxRoot as comboboxOldRoot, comboboxConfig as comboboxOldConfig, comboboxDividerRoot, comboboxDividerConfig, comboboxFooterRoot, comboboxFooterConfig, comboboxGroupRoot, comboboxGroupConfig, comboboxHeaderRoot, comboboxHeaderConfig, comboboxItemRoot, comboboxItemConfig, ComboboxTarget, comboboxClasses as comboboxOldClasses, comboboxTokens as comboboxOldTokens } from './ComboboxOld';
2
- export { comboboxTokens as comboboxNewTokens, comboboxRoot as comboboxNewRoot, comboboxConfig as comboboxNewConfig, boundCombobox } from './ComboboxNew';
2
+ export { comboboxTokens as comboboxNewTokens, comboboxRoot as comboboxNewRoot, comboboxConfig as comboboxNewConfig, boundCombobox, getFormComponentGenerator } from './ComboboxNew';
@@ -1,6 +1,5 @@
1
1
  import { component, mergeConfig } from '../../../../engines';
2
- import { comboboxNewConfig, boundCombobox } from '../../../..';
3
- import { getFormComponentGenerator } from '../../../../components/Combobox/ComboboxNew/utils/getForm';
2
+ import { comboboxNewConfig, boundCombobox, getFormComponentGenerator } from '../../../..';
4
3
  import { config } from './Combobox.config';
5
4
  var mergedConfig = /*#__PURE__*/mergeConfig(comboboxNewConfig, config);
6
5
  var ComboboxComponent = /*#__PURE__*/component(mergedConfig);
@@ -1,14 +1,13 @@
1
- import React, { useEffect, useRef, useState } from 'react';
1
+ import React, { useState } from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
 
5
5
  import { WithTheme } from '../../../_helpers';
6
6
  import { IconDone } from '../../../../components/_Icon';
7
- import { createEvent } from '../../../../components/Combobox/ComboboxNew/utils/syntheticEvent';
8
7
 
9
- import { Combobox, ComboboxWithForm } from './Combobox';
8
+ import { ComboboxWithForm } from './Combobox';
10
9
 
11
- type StorySelectProps = ComponentProps<typeof Combobox> & {
10
+ type StorySelectProps = ComponentProps<typeof ComboboxWithForm> & {
12
11
  enableContentLeft?: boolean;
13
12
  };
14
13
 
@@ -20,7 +19,7 @@ const variant = ['normal', 'tight'];
20
19
  const meta: Meta<StorySelectProps> = {
21
20
  title: 'plasma_b2c/Combobox',
22
21
  decorators: [WithTheme],
23
- component: Combobox,
22
+ component: ComboboxWithForm,
24
23
  argTypes: {
25
24
  size: {
26
25
  options: size,
@@ -1,7 +1,11 @@
1
1
  import { component, mergeConfig } from '../../../../engines';
2
- import { comboboxNewConfig } from '../../../..';
2
+ import { comboboxNewConfig, boundCombobox, getFormComponentGenerator } from '../../../..';
3
3
  import { config } from './Combobox.config';
4
4
  var mergedConfig = /*#__PURE__*/mergeConfig(comboboxNewConfig, config);
5
5
  var ComboboxComponent = /*#__PURE__*/component(mergedConfig);
6
6
  var Combobox = ComboboxComponent;
7
- export { Combobox };
7
+ var ComboboxWithForm = /*#__PURE__*/boundCombobox({
8
+ base: ComboboxComponent,
9
+ baseForm: /*#__PURE__*/getFormComponentGenerator(ComboboxComponent)
10
+ });
11
+ export { Combobox, ComboboxWithForm };
@@ -5,9 +5,9 @@ import type { Meta, StoryObj } from '@storybook/react';
5
5
  import { WithTheme } from '../../../_helpers';
6
6
  import { IconDone } from '../../../../components/_Icon';
7
7
 
8
- import { Combobox } from './Combobox';
8
+ import { ComboboxWithForm } from './Combobox';
9
9
 
10
- type StorySelectProps = ComponentProps<typeof Combobox> & {
10
+ type StorySelectProps = ComponentProps<typeof ComboboxWithForm> & {
11
11
  enableContentLeft?: boolean;
12
12
  };
13
13
 
@@ -19,7 +19,7 @@ const variant = ['normal', 'tight'];
19
19
  const meta: Meta<StorySelectProps> = {
20
20
  title: 'plasma_web/Combobox',
21
21
  decorators: [WithTheme],
22
- component: Combobox,
22
+ component: ComboboxWithForm,
23
23
  argTypes: {
24
24
  size: {
25
25
  options: size,
@@ -356,7 +356,7 @@ const SingleStory = (args: StorySelectProps) => {
356
356
 
357
357
  return (
358
358
  <div style={{ width: '400px' }}>
359
- <Combobox
359
+ <ComboboxWithForm
360
360
  {...args}
361
361
  items={items}
362
362
  value={value}
@@ -384,7 +384,7 @@ const MultipleStory = (args: StorySelectProps) => {
384
384
 
385
385
  return (
386
386
  <div style={{ width: '400px' }}>
387
- <Combobox
387
+ <ComboboxWithForm
388
388
  {...args}
389
389
  multiple
390
390
  items={items}
@@ -3,4 +3,5 @@ export { tokens as comboboxTokens } from './Combobox.tokens';
3
3
  export type { ComboboxProps } from './Combobox.types';
4
4
  export type { ItemOption } from './ui/Inner/ui/Item/Item.types';
5
5
  export { boundCombobox } from './Combobox.boundler';
6
+ export { getFormComponentGenerator } from './utils';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7D,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7D,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { ComponentType } from 'react';
2
- import { ComboboxFormProps } from '../Combobox.types';
3
- export declare const getFormComponentGenerator: (Component: ComponentType<ModifiedComboboxProps>) => (args: ComboboxFormProps) => JSX.Element;
2
+ import { ComboboxProps, ComboboxFormProps } from '../Combobox.types';
3
+ export declare const getFormComponentGenerator: (Component: ComponentType<ComboboxProps>) => (args: ComboboxFormProps) => JSX.Element;
4
4
  //# sourceMappingURL=getForm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/getForm.tsx"],"names":[],"mappings":"AAGA,OAAc,EAAE,aAAa,EAA+B,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAiB,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AA4DrE,eAAO,MAAM,yBAAyB,cAAe,cAAc,qBAAqB,CAAC,YACvE,iBAAiB,gBAOlC,CAAC"}
1
+ {"version":3,"file":"getForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/getForm.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAA+B,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AA4DrE,eAAO,MAAM,yBAAyB,cAAe,cAAc,aAAa,CAAC,YAC/D,iBAAiB,gBAOlC,CAAC"}
@@ -6,4 +6,5 @@ export { sizeToIconSize } from './sizeToIconSize';
6
6
  export { filterItems } from './filterItems';
7
7
  export { getItemId } from './getItemId';
8
8
  export { getInitialValue } from './getInitialValue';
9
+ export { getFormComponentGenerator } from './getForm';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export { comboboxRoot as comboboxOldRoot, comboboxConfig as comboboxOldConfig, comboboxDividerRoot, comboboxDividerConfig, comboboxFooterRoot, comboboxFooterConfig, comboboxGroupRoot, comboboxGroupConfig, comboboxHeaderRoot, comboboxHeaderConfig, comboboxItemRoot, comboboxItemConfig, ComboboxTarget, comboboxClasses as comboboxOldClasses, comboboxTokens as comboboxOldTokens, } from './ComboboxOld';
2
2
  export type { ComboboxProps as ComboboxOldProps } from './ComboboxOld';
3
- export { comboboxTokens as comboboxNewTokens, comboboxRoot as comboboxNewRoot, comboboxConfig as comboboxNewConfig, boundCombobox, } from './ComboboxNew';
3
+ export { comboboxTokens as comboboxNewTokens, comboboxRoot as comboboxNewRoot, comboboxConfig as comboboxNewConfig, boundCombobox, getFormComponentGenerator, } from './ComboboxNew';
4
4
  export type { ItemOption, ComboboxProps } from './ComboboxNew';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,eAAe,IAAI,kBAAkB,EACrC,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,aAAa,GAChB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,eAAe,IAAI,kBAAkB,EACrC,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,aAAa,EACb,yBAAyB,GAC5B,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}