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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/cjs/components/Badge/Badge.css +4 -4
  2. package/cjs/components/Badge/Badge.js +16 -4
  3. package/cjs/components/Badge/Badge.js.map +1 -1
  4. package/cjs/components/Badge/Badge.tokens.js +10 -5
  5. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  6. package/cjs/components/Badge/variations/_clear/base.js +1 -1
  7. package/cjs/components/Badge/variations/_clear/base.js.map +1 -1
  8. package/cjs/components/Badge/variations/_clear/base_wiboj8.css +1 -0
  9. package/cjs/components/Badge/variations/_size/base.js +1 -1
  10. package/cjs/components/Badge/variations/_size/base.js.map +1 -1
  11. package/{es/components/Badge/variations/_size/base_to0y5x.css → cjs/components/Badge/variations/_size/base_rn38n6.css} +1 -1
  12. package/cjs/components/Badge/variations/_transparent/base.js +1 -1
  13. package/cjs/components/Badge/variations/_transparent/base.js.map +1 -1
  14. package/cjs/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
  15. package/cjs/components/Badge/variations/_view/base.js +1 -1
  16. package/cjs/components/Badge/variations/_view/base.js.map +1 -1
  17. package/cjs/components/Badge/variations/_view/base_j3xzf3.css +1 -0
  18. package/cjs/index.css +4 -4
  19. package/cjs/index.js +0 -2
  20. package/cjs/index.js.map +1 -1
  21. package/emotion/cjs/components/Badge/Badge.js +21 -4
  22. package/emotion/cjs/components/Badge/Badge.tokens.js +10 -6
  23. package/emotion/cjs/components/Badge/variations/_clear/base.js +1 -1
  24. package/emotion/cjs/components/Badge/variations/_size/base.js +2 -1
  25. package/emotion/cjs/components/Badge/variations/_transparent/base.js +1 -1
  26. package/emotion/cjs/components/Badge/variations/_view/base.js +1 -1
  27. package/emotion/cjs/components/Combobox/ComboboxNew/index.js +1 -8
  28. package/emotion/cjs/components/Combobox/index.js +0 -6
  29. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -14
  30. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  31. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  32. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  33. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  34. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  35. package/emotion/es/components/Badge/Badge.js +23 -5
  36. package/emotion/es/components/Badge/Badge.tokens.js +9 -5
  37. package/emotion/es/components/Badge/variations/_clear/base.js +2 -2
  38. package/emotion/es/components/Badge/variations/_size/base.js +3 -2
  39. package/emotion/es/components/Badge/variations/_transparent/base.js +2 -2
  40. package/emotion/es/components/Badge/variations/_view/base.js +2 -2
  41. package/emotion/es/components/Combobox/ComboboxNew/index.js +1 -2
  42. package/emotion/es/components/Combobox/index.js +1 -1
  43. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -14
  44. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  45. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  46. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  47. package/emotion/es/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  48. package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  49. package/es/components/Badge/Badge.css +4 -4
  50. package/es/components/Badge/Badge.js +19 -7
  51. package/es/components/Badge/Badge.js.map +1 -1
  52. package/es/components/Badge/Badge.tokens.js +10 -6
  53. package/es/components/Badge/Badge.tokens.js.map +1 -1
  54. package/es/components/Badge/variations/_clear/base.js +1 -1
  55. package/es/components/Badge/variations/_clear/base.js.map +1 -1
  56. package/es/components/Badge/variations/_clear/base_wiboj8.css +1 -0
  57. package/es/components/Badge/variations/_size/base.js +1 -1
  58. package/es/components/Badge/variations/_size/base.js.map +1 -1
  59. package/{cjs/components/Badge/variations/_size/base_to0y5x.css → es/components/Badge/variations/_size/base_rn38n6.css} +1 -1
  60. package/es/components/Badge/variations/_transparent/base.js +1 -1
  61. package/es/components/Badge/variations/_transparent/base.js.map +1 -1
  62. package/es/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
  63. package/es/components/Badge/variations/_view/base.js +1 -1
  64. package/es/components/Badge/variations/_view/base.js.map +1 -1
  65. package/es/components/Badge/variations/_view/base_j3xzf3.css +1 -0
  66. package/es/index.css +4 -4
  67. package/es/index.js +0 -1
  68. package/es/index.js.map +1 -1
  69. package/package.json +2 -2
  70. package/styled-components/cjs/components/Badge/Badge.js +21 -4
  71. package/styled-components/cjs/components/Badge/Badge.tokens.js +10 -6
  72. package/styled-components/cjs/components/Badge/variations/_clear/base.js +1 -1
  73. package/styled-components/cjs/components/Badge/variations/_size/base.js +2 -1
  74. package/styled-components/cjs/components/Badge/variations/_transparent/base.js +1 -1
  75. package/styled-components/cjs/components/Badge/variations/_view/base.js +1 -1
  76. package/styled-components/cjs/components/Combobox/ComboboxNew/index.js +1 -8
  77. package/styled-components/cjs/components/Combobox/index.js +0 -6
  78. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  79. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  80. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  81. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  82. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  83. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  84. package/styled-components/es/components/Badge/Badge.js +23 -5
  85. package/styled-components/es/components/Badge/Badge.tokens.js +9 -5
  86. package/styled-components/es/components/Badge/variations/_clear/base.js +2 -2
  87. package/styled-components/es/components/Badge/variations/_size/base.js +3 -2
  88. package/styled-components/es/components/Badge/variations/_transparent/base.js +2 -2
  89. package/styled-components/es/components/Badge/variations/_view/base.js +2 -2
  90. package/styled-components/es/components/Combobox/ComboboxNew/index.js +1 -2
  91. package/styled-components/es/components/Combobox/index.js +1 -1
  92. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  93. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  94. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  95. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  96. package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  97. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  98. package/types/components/Badge/Badge.d.ts.map +1 -1
  99. package/types/components/Badge/Badge.tokens.d.ts +8 -4
  100. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  101. package/types/components/Badge/Badge.types.d.ts +18 -5
  102. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  103. package/types/components/Badge/variations/_clear/base.d.ts.map +1 -1
  104. package/types/components/Badge/variations/_size/base.d.ts.map +1 -1
  105. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +0 -21
  106. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  107. package/types/components/Combobox/ComboboxNew/index.d.ts +0 -1
  108. package/types/components/Combobox/ComboboxNew/index.d.ts.map +1 -1
  109. package/types/components/Combobox/index.d.ts +1 -1
  110. package/types/components/Combobox/index.d.ts.map +1 -1
  111. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  112. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +58 -4
  113. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  114. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -3
  115. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  116. package/types/examples/plasma_web/components/Badge/Badge.config.d.ts.map +1 -1
  117. package/types/examples/plasma_web/components/Badge/Badge.d.ts +58 -4
  118. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  119. package/cjs/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  120. package/cjs/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  121. package/cjs/components/Badge/variations/_view/base_qlxank.css +0 -1
  122. package/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -22
  123. package/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js.map +0 -1
  124. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -21
  125. package/emotion/cjs/components/Combobox/ComboboxNew/utils/getForm.js +0 -90
  126. package/emotion/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  127. package/emotion/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -14
  128. package/emotion/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -83
  129. package/emotion/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  130. package/es/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  131. package/es/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  132. package/es/components/Badge/variations/_view/base_qlxank.css +0 -1
  133. package/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -18
  134. package/es/components/Combobox/ComboboxNew/Combobox.boundler.js.map +0 -1
  135. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -21
  136. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getForm.js +0 -90
  137. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  138. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -14
  139. package/styled-components/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -83
  140. package/styled-components/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  141. package/types/components/Combobox/ComboboxNew/Combobox.boundler.d.ts +0 -4
  142. package/types/components/Combobox/ComboboxNew/Combobox.boundler.d.ts.map +0 -1
  143. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts +0 -4
  144. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts.map +0 -1
  145. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts +0 -4
  146. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts.map +0 -1
@@ -31,6 +31,10 @@ const meta: Meta<typeof Badge> = {
31
31
  control: { type: 'boolean' },
32
32
  if: { arg: 'clear', truthy: false },
33
33
  },
34
+ text: {
35
+ control: { type: 'text' },
36
+ if: { arg: 'enableText', truthy: true },
37
+ },
34
38
  ...disableProps(['contentLeft', 'contentRight']),
35
39
  },
36
40
  };
@@ -40,6 +44,7 @@ export default meta;
40
44
  type StoryProps = ComponentProps<typeof Badge> & {
41
45
  enableContentLeft: boolean;
42
46
  enableContentRight: boolean;
47
+ enableText: boolean;
43
48
  };
44
49
  type Story = StoryObj<StoryProps>;
45
50
 
@@ -60,13 +65,14 @@ export const Default: Story = {
60
65
  },
61
66
  enableContentRight: {
62
67
  control: { type: 'boolean' },
63
- if: { arg: 'enableContentLeft', truthy: false },
68
+ if: { arg: 'enableText', truthy: true },
64
69
  },
65
70
  },
66
71
  args: {
67
- text: 'Hello',
68
72
  view: 'default',
69
73
  size: 'm',
74
+ enableText: true,
75
+ text: 'Hello',
70
76
  enableContentLeft: false,
71
77
  enableContentRight: false,
72
78
  clear: false,
@@ -1,5 +1,11 @@
1
- var _excluded = ["children", "className", "text", "contentLeft", "contentRight", "size", "view", "pilled", "transparent", "clear"];
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["children", "className", "style", "text", "contentLeft", "contentRight", "size", "view", "customColor", "customBackgroundColor", "pilled", "transparent", "clear"];
2
3
  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); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
3
9
  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; }
4
10
  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; }
5
11
  import React, { forwardRef } from 'react';
@@ -10,16 +16,20 @@ import { base as pilledCSS } from './variations/_pilled/base';
10
16
  import { base as transparentCSS } from './variations/_transparent/base';
11
17
  import { base as clearCSS } from './variations/_clear/base';
12
18
  import { StyledContentLeft, StyledContentMain, StyledContentRight, base } from './Badge.styles';
13
- import { classes } from './Badge.tokens';
19
+ import { classes, privateTokens } from './Badge.tokens';
14
20
  export var badgeRoot = function badgeRoot(Root) {
15
21
  return /*#__PURE__*/forwardRef(function (props, ref) {
22
+ var _StyledContentLeft, _StyledContentMain, _StyledContentMain2, _StyledContentRight;
16
23
  var children = props.children,
17
24
  className = props.className,
25
+ style = props.style,
18
26
  text = props.text,
19
27
  contentLeft = props.contentLeft,
20
28
  contentRight = props.contentRight,
21
29
  size = props.size,
22
30
  view = props.view,
31
+ customColor = props.customColor,
32
+ customBackgroundColor = props.customBackgroundColor,
23
33
  _props$pilled = props.pilled,
24
34
  pilled = _props$pilled === void 0 ? false : _props$pilled,
25
35
  _props$transparent = props.transparent,
@@ -31,15 +41,23 @@ export var badgeRoot = function badgeRoot(Root) {
31
41
  var transparentClass = transparent ? classes.badgeTransparent : undefined;
32
42
  var clearClass = clear ? classes.badgeClear : undefined;
33
43
  var txt = !text && typeof children === 'string' ? children : text;
44
+ var iconOnlyClass = !txt && contentLeft ? classes.iconOnly : undefined;
45
+ var BadgeContent = function BadgeContent() {
46
+ if (contentLeft) {
47
+ return /*#__PURE__*/React.createElement(React.Fragment, null, _StyledContentLeft || (_StyledContentLeft = /*#__PURE__*/React.createElement(StyledContentLeft, null, contentLeft)), txt ? _StyledContentMain || (_StyledContentMain = /*#__PURE__*/React.createElement(StyledContentMain, null, txt)) : children);
48
+ }
49
+ return /*#__PURE__*/React.createElement(React.Fragment, null, txt ? _StyledContentMain2 || (_StyledContentMain2 = /*#__PURE__*/React.createElement(StyledContentMain, null, txt)) : children, contentRight && (_StyledContentRight || (_StyledContentRight = /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight))));
50
+ };
34
51
  return /*#__PURE__*/React.createElement(Root, _extends({
35
52
  ref: ref,
36
- className: cx(pilledClass, transparentClass, clearClass, className),
53
+ className: cx(pilledClass, transparentClass, clearClass, iconOnlyClass, className),
37
54
  view: view,
38
55
  size: size,
39
56
  pilled: pilled,
40
57
  transparent: transparent,
41
- clear: clear
42
- }, rest), contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, null, contentLeft), txt ? /*#__PURE__*/React.createElement(StyledContentMain, null, txt) : children, contentRight && /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight));
58
+ clear: clear,
59
+ style: _objectSpread(_objectSpread({}, style), {}, _defineProperty(_defineProperty({}, privateTokens.customBackground, customBackgroundColor), privateTokens.customColor, customColor))
60
+ }, rest), /*#__PURE__*/React.createElement(BadgeContent, null));
43
61
  });
44
62
  };
45
63
  export var badgeConfig = {
@@ -1,7 +1,12 @@
1
1
  export var classes = {
2
2
  badgePilled: 'badge-pilled',
3
3
  badgeTransparent: 'badge-transparent',
4
- badgeClear: 'badge-clear'
4
+ badgeClear: 'badge-clear',
5
+ iconOnly: 'badge-icon-only'
6
+ };
7
+ export var privateTokens = {
8
+ customBackground: '--plasma-badge-custom-background',
9
+ customColor: '--plasma-badge-custom-color'
5
10
  };
6
11
  export var tokens = {
7
12
  background: '--plasma-badge-background',
@@ -9,13 +14,12 @@ export var tokens = {
9
14
  backgroundTransparent: '--plasma-badge-background-transparent',
10
15
  colorTransparent: '--plasma-badge-color-transparent',
11
16
  colorClear: '--plasma-badge-color-clear',
17
+ backgroundClear: '--plasma-badge-background-clear',
12
18
  borderRadius: '--plasma-badge-border-radius',
13
19
  pilledBorderRadius: '--plasma-badge-pilled-border-radius',
14
20
  height: '--plasma-badge-height',
15
- paddingTop: '--plasma-badge-padding-top',
16
- paddingRight: '--plasma-badge-padding-right',
17
- paddingBottom: '--plasma-badge-padding-bottom',
18
- paddingLeft: '--plasma-badge-padding-left',
21
+ padding: '--plasma-badge-padding',
22
+ paddingIconOnly: '--plasma-badge-padding-icon-only',
19
23
  fontFamily: '--plasma-badge-font-family',
20
24
  fontSize: '--plasma-badge-font-size',
21
25
  fontStyle: '--plasma-badge-font-style',
@@ -1,3 +1,3 @@
1
1
  import { css } from '@emotion/react';
2
- import { classes, tokens } from '../../Badge.tokens';
3
- export var base = /*#__PURE__*/css("&.", classes.badgeClear, "{color:var(", tokens.colorClear, ");background-color:transparent;padding:0;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9CYWRnZS92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9CYWRnZS50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5iYWRnZUNsZWFyfSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY29sb3JDbGVhcn0pO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgICAgICAgcGFkZGluZzogMDtcbiAgICB9XG5gO1xuIl19 */"));
2
+ import { classes, privateTokens, tokens } from '../../Badge.tokens';
3
+ export var base = /*#__PURE__*/css("&.", classes.badgeClear, "{color:var(", privateTokens.customColor, ", var(", tokens.colorClear, "));background-color:var(", privateTokens.customBackground, ", var(", tokens.backgroundClear, "));};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9CYWRnZS92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCBwcml2YXRlVG9rZW5zLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9CYWRnZS50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5iYWRnZUNsZWFyfSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHtwcml2YXRlVG9rZW5zLmN1c3RvbUNvbG9yfSwgdmFyKCR7dG9rZW5zLmNvbG9yQ2xlYXJ9KSk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3ByaXZhdGVUb2tlbnMuY3VzdG9tQmFja2dyb3VuZH0sIHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kQ2xlYXJ9KSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -1,3 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
- import { tokens } from '../../Badge.tokens';
3
- export var base = /*#__PURE__*/css("font-family:var(", tokens.fontFamily, ");font-size:var(", tokens.fontSize, ");font-style:var(", tokens.fontStyle, ");font-weight:var(", tokens.fontWeight, ");letter-spacing:var(", tokens.letterSpacing, ");line-height:var(", tokens.lineHeight, ");border-radius:var(", tokens.borderRadius, ");height:var(", tokens.height, ");padding-top:var(", tokens.paddingTop, ");padding-right:var(", tokens.paddingRight, ");padding-bottom:var(", tokens.paddingBottom, ");padding-left:var(", tokens.paddingLeft, ");;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0JhZGdlL3ZhcmlhdGlvbnMvX3NpemUvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQmFkZ2UudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy5mb250RmFtaWx5fSk7XG4gICAgZm9udC1zaXplOiB2YXIoJHt0b2tlbnMuZm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMuZm9udFN0eWxlfSk7XG4gICAgZm9udC13ZWlnaHQ6IHZhcigke3Rva2Vucy5mb250V2VpZ2h0fSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy5sZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy5saW5lSGVpZ2h0fSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMuYm9yZGVyUmFkaXVzfSk7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5oZWlnaHR9KTtcblxuICAgIHBhZGRpbmctdG9wOiB2YXIoJHt0b2tlbnMucGFkZGluZ1RvcH0pO1xuICAgIHBhZGRpbmctcmlnaHQ6IHZhcigke3Rva2Vucy5wYWRkaW5nUmlnaHR9KTtcbiAgICBwYWRkaW5nLWJvdHRvbTogdmFyKCR7dG9rZW5zLnBhZGRpbmdCb3R0b219KTtcbiAgICBwYWRkaW5nLWxlZnQ6IHZhcigke3Rva2Vucy5wYWRkaW5nTGVmdH0pO1xuYDtcbiJdfQ== */"));
2
+ import { classes, tokens } from '../../Badge.tokens';
3
+ import { StyledContentLeft } from '../../Badge.styles';
4
+ export var base = /*#__PURE__*/css("font-family:var(", tokens.fontFamily, ");font-size:var(", tokens.fontSize, ");font-style:var(", tokens.fontStyle, ");font-weight:var(", tokens.fontWeight, ");letter-spacing:var(", tokens.letterSpacing, ");line-height:var(", tokens.lineHeight, ");border-radius:var(", tokens.borderRadius, ");height:var(", tokens.height, ");padding:var(", tokens.padding, ");&.", classes.iconOnly, "{padding:var(", tokens.paddingIconOnly, ");", StyledContentLeft, "{margin:0;}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0JhZGdlL3ZhcmlhdGlvbnMvX3NpemUvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQmFkZ2UudG9rZW5zJztcbmltcG9ydCB7IFN0eWxlZENvbnRlbnRMZWZ0IH0gZnJvbSAnLi4vLi4vQmFkZ2Uuc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy5mb250RmFtaWx5fSk7XG4gICAgZm9udC1zaXplOiB2YXIoJHt0b2tlbnMuZm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMuZm9udFN0eWxlfSk7XG4gICAgZm9udC13ZWlnaHQ6IHZhcigke3Rva2Vucy5mb250V2VpZ2h0fSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy5sZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy5saW5lSGVpZ2h0fSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMuYm9yZGVyUmFkaXVzfSk7XG5cbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5oZWlnaHR9KTtcblxuICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wYWRkaW5nfSk7XG5cbiAgICAmLiR7Y2xhc3Nlcy5pY29uT25seX0ge1xuICAgICAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMucGFkZGluZ0ljb25Pbmx5fSk7XG5cbiAgICAgICAgJHtTdHlsZWRDb250ZW50TGVmdH0ge1xuICAgICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -1,3 +1,3 @@
1
1
  import { css } from '@emotion/react';
2
- import { classes, tokens } from '../../Badge.tokens';
3
- export var base = /*#__PURE__*/css("&.", classes.badgeTransparent, "{color:var(", tokens.colorTransparent, ");background-color:var(", tokens.backgroundTransparent, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fdHJhbnNwYXJlbnQvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9CYWRnZS92YXJpYXRpb25zL190cmFuc3BhcmVudC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9CYWRnZS50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5iYWRnZVRyYW5zcGFyZW50fSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY29sb3JUcmFuc3BhcmVudH0pO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuYmFja2dyb3VuZFRyYW5zcGFyZW50fSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
2
+ import { classes, privateTokens, tokens } from '../../Badge.tokens';
3
+ export var base = /*#__PURE__*/css("&.", classes.badgeTransparent, "{color:var(", privateTokens.customColor, ", var(", tokens.colorTransparent, "));background-color:var(", privateTokens.customBackground, ", var(", tokens.backgroundTransparent, "));};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fdHJhbnNwYXJlbnQvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9CYWRnZS92YXJpYXRpb25zL190cmFuc3BhcmVudC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCBwcml2YXRlVG9rZW5zLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9CYWRnZS50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5iYWRnZVRyYW5zcGFyZW50fSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHtwcml2YXRlVG9rZW5zLmN1c3RvbUNvbG9yfSwgdmFyKCR7dG9rZW5zLmNvbG9yVHJhbnNwYXJlbnR9KSk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3ByaXZhdGVUb2tlbnMuY3VzdG9tQmFja2dyb3VuZH0sIHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kVHJhbnNwYXJlbnR9KSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -1,3 +1,3 @@
1
1
  import { css } from '@emotion/react';
2
- import { tokens } from '../../Badge.tokens';
3
- export var base = /*#__PURE__*/css("color:var(", tokens.color, ");background-color:var(", tokens.background, ");;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0JhZGdlL3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQmFkZ2UudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgY29sb3I6IHZhcigke3Rva2Vucy5jb2xvcn0pO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kfSk7XG5gO1xuIl19 */"));
2
+ import { privateTokens, tokens } from '../../Badge.tokens';
3
+ export var base = /*#__PURE__*/css("color:var(", privateTokens.customColor, ", var(", tokens.color, "));background-color:var(", privateTokens.customBackground, ", var(", tokens.background, "));;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQmFkZ2UvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0JhZGdlL3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgcHJpdmF0ZVRva2VucywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQmFkZ2UudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgY29sb3I6IHZhcigke3ByaXZhdGVUb2tlbnMuY3VzdG9tQ29sb3J9LCB2YXIoJHt0b2tlbnMuY29sb3J9KSk7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7cHJpdmF0ZVRva2Vucy5jdXN0b21CYWNrZ3JvdW5kfSwgdmFyKCR7dG9rZW5zLmJhY2tncm91bmR9KSk7XG5gO1xuIl19 */"));
@@ -1,3 +1,2 @@
1
1
  export { comboboxConfig, comboboxRoot } from './Combobox';
2
- export { tokens as comboboxTokens } from './Combobox.tokens';
3
- export { boundCombobox } from './Combobox.boundler';
2
+ export { tokens as comboboxTokens } from './Combobox.tokens';
@@ -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 } from './ComboboxNew';