@helpdice/ui 1.6.8 → 1.6.9

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 (54) hide show
  1. package/dist/Placeholder/index.js +10 -10
  2. package/dist/auto-complete/auto-complete.d.ts +35 -3
  3. package/dist/auto-complete/index.js +8 -7
  4. package/dist/breadcrumbs/index.js +1 -1
  5. package/dist/button/index.js +2 -2
  6. package/dist/button-dropdown/index.js +1 -1
  7. package/dist/card/index.js +1 -1
  8. package/dist/checkbox/index.js +1 -1
  9. package/dist/code-block/index.d.ts +10 -0
  10. package/dist/image/index.js +1 -1
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.js +59 -30
  13. package/dist/input/index.js +2 -2
  14. package/dist/link/index.js +1 -1
  15. package/dist/modal/index.js +3 -3
  16. package/dist/rating/index.js +1 -1
  17. package/dist/select/index.js +3 -3
  18. package/dist/snippet/index.js +1 -1
  19. package/dist/table/index.js +17 -17
  20. package/dist/tabs/index.js +2 -2
  21. package/dist/text/child.d.ts +1 -1
  22. package/dist/text/index.js +10 -10
  23. package/dist/text/text.d.ts +1 -1
  24. package/dist/ui-provider/index.js +2 -2
  25. package/dist/user/index.js +1 -1
  26. package/dist/utils/collections.d.ts +1 -1
  27. package/esm/auto-complete/auto-complete.d.ts +35 -3
  28. package/esm/auto-complete/auto-complete.js +3 -4
  29. package/esm/button/button-loading.js +1 -1
  30. package/esm/button/styles.js +1 -1
  31. package/esm/button-dropdown/icon.js +1 -1
  32. package/esm/checkbox/checkbox.icon.js +1 -1
  33. package/esm/code-block/index.d.ts +10 -0
  34. package/esm/code-block/index.js +27 -28
  35. package/esm/index.d.ts +1 -0
  36. package/esm/index.js +1 -1
  37. package/esm/input/input-block-label.js +1 -1
  38. package/esm/input/input-icon.js +1 -1
  39. package/esm/link/icon.js +1 -1
  40. package/esm/modal/modal-actions.js +1 -1
  41. package/esm/rating/rating-icon.js +1 -1
  42. package/esm/select/select-icon.js +1 -1
  43. package/esm/select/select-input.js +1 -1
  44. package/esm/select/select-multiple-value.js +1 -1
  45. package/esm/snippet/snippet-icon.js +1 -1
  46. package/esm/tabs/tabs.js +2 -2
  47. package/esm/text/child.d.ts +1 -1
  48. package/esm/text/child.js +10 -10
  49. package/esm/text/text.d.ts +1 -1
  50. package/esm/tooltip/__test__/index.test.js +2 -2
  51. package/esm/utils/collections.d.ts +1 -1
  52. package/esm/utils/collections.js +1 -1
  53. package/package.json +6 -3
  54. /package/esm/utils/use-context-state/{create-geist-context.js → create-ui-context.js} +0 -0
@@ -1402,7 +1402,7 @@ var withScale = function withScale(Render) {
1402
1402
  return ScaleFC;
1403
1403
  };
1404
1404
 
1405
- var _excluded$1 = ["children", "tag", "className", "type"];
1405
+ var _excluded$1 = ["children", "tag", "className", "color"];
1406
1406
  var getTypeColor = function getTypeColor(type, palette) {
1407
1407
  var colors = {
1408
1408
  "default": 'inherit',
@@ -1418,8 +1418,8 @@ var TextChild = function TextChild(_ref) {
1418
1418
  tag = _ref.tag,
1419
1419
  _ref$className = _ref.className,
1420
1420
  className = _ref$className === void 0 ? '' : _ref$className,
1421
- _ref$type = _ref.type,
1422
- type = _ref$type === void 0 ? 'default' : _ref$type,
1421
+ _ref$color = _ref.color,
1422
+ color = _ref$color === void 0 ? 'default' : _ref$color,
1423
1423
  props = _objectWithoutProperties(_ref, _excluded$1);
1424
1424
  var Component = tag;
1425
1425
  var theme = useTheme();
@@ -1431,9 +1431,9 @@ var TextChild = function TextChild(_ref) {
1431
1431
  var my = getScaleProps(['margin', 'marginTop', 'marginBottom', 'my', 'mt', 'mb']);
1432
1432
  var px = getScaleProps(['padding', 'paddingLeft', 'paddingRight', 'pl', 'pr', 'px']);
1433
1433
  var py = getScaleProps(['padding', 'paddingTop', 'paddingBottom', 'pt', 'pb', 'py']);
1434
- var color = React.useMemo(function () {
1435
- return getTypeColor(type, theme.palette);
1436
- }, [type, theme.palette]);
1434
+ var _color = React.useMemo(function () {
1435
+ return getTypeColor(color, theme.palette);
1436
+ }, [color, theme.palette]);
1437
1437
  var classNames = React.useMemo(function () {
1438
1438
  var keys = [{
1439
1439
  value: mx,
@@ -1458,11 +1458,11 @@ var TextChild = function TextChild(_ref) {
1458
1458
  return "".concat(scaleClassNames, " ").concat(className).trim();
1459
1459
  }, [mx, my, px, py, font, className]);
1460
1460
  return /*#__PURE__*/React.createElement(Component, _extends({}, props, {
1461
- className: _JSXStyle.dynamic([["3155699851", [tag, color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]]]) + " " + (props && props.className != null && props.className || classNames || "")
1461
+ className: _JSXStyle.dynamic([["4133320328", [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]]]) + " " + (props && props.className != null && props.className || classNames || "")
1462
1462
  }), children, /*#__PURE__*/React.createElement(_JSXStyle, {
1463
- id: "3155699851",
1464
- dynamic: [tag, color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]
1465
- }, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(color, ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";}.font.__jsx-style-dynamic-selector{font-size:").concat(SCALES.font(1, 'inherit'), ";}.mx.__jsx-style-dynamic-selector{margin-left:").concat(SCALES.ml(0, 'revert'), ";margin-right:").concat(SCALES.mr(0, 'revert'), ";}.my.__jsx-style-dynamic-selector{margin-top:").concat(SCALES.mt(0, 'revert'), ";margin-bottom:").concat(SCALES.mb(0, 'revert'), ";}.px.__jsx-style-dynamic-selector{padding-left:").concat(SCALES.pl(0, 'revert'), ";padding-right:").concat(SCALES.pr(0, 'revert'), ";}.py.__jsx-style-dynamic-selector{padding-top:").concat(SCALES.pt(0, 'revert'), ";padding-bottom:").concat(SCALES.pb(0, 'revert'), ";}")));
1463
+ id: "4133320328",
1464
+ dynamic: [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]
1465
+ }, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(_color, ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";}.font.__jsx-style-dynamic-selector{font-size:").concat(SCALES.font(1, 'inherit'), ";}.mx.__jsx-style-dynamic-selector{margin-left:").concat(SCALES.ml(0, 'revert'), ";margin-right:").concat(SCALES.mr(0, 'revert'), ";}.my.__jsx-style-dynamic-selector{margin-top:").concat(SCALES.mt(0, 'revert'), ";margin-bottom:").concat(SCALES.mb(0, 'revert'), ";}.px.__jsx-style-dynamic-selector{padding-left:").concat(SCALES.pl(0, 'revert'), ";padding-right:").concat(SCALES.pr(0, 'revert'), ";}.py.__jsx-style-dynamic-selector{padding-top:").concat(SCALES.pt(0, 'revert'), ";padding-bottom:").concat(SCALES.pb(0, 'revert'), ";}")));
1466
1466
  };
1467
1467
  TextChild.displayName = 'TextChild';
1468
1468
 
@@ -27,7 +27,39 @@ interface Props {
27
27
  }
28
28
  type NativeAttrs = Omit<React.InputHTMLAttributes<any>, keyof Props>;
29
29
  export type AutoCompleteProps = Props & NativeAttrs & ReactElement;
30
- declare const AutoCompleteComponent: React.ForwardRefExoticComponent<Props & NativeAttrs & React.ReactElement<any, string | React.JSXElementConstructor<any>> & {
30
+ declare const AutoComplete: React.ForwardRefExoticComponent<Omit<Props & NativeAttrs & React.ReactElement<any, string | React.JSXElementConstructor<any>> & {
31
31
  children?: React.ReactNode | undefined;
32
- } & React.RefAttributes<HTMLInputElement>>;
33
- export default AutoCompleteComponent;
32
+ } & React.RefAttributes<HTMLInputElement> & {
33
+ width?: string | number;
34
+ height?: string | number;
35
+ padding?: string | number;
36
+ margin?: string | number;
37
+ w?: string | number;
38
+ h?: string | number;
39
+ paddingLeft?: string | number;
40
+ paddingRight?: string | number;
41
+ paddingTop?: string | number;
42
+ paddingBottom?: string | number;
43
+ pl?: string | number;
44
+ pr?: string | number;
45
+ pt?: string | number;
46
+ pb?: string | number;
47
+ marginLeft?: string | number;
48
+ marginRight?: string | number;
49
+ marginTop?: string | number;
50
+ marginBottom?: string | number;
51
+ ml?: string | number;
52
+ mr?: string | number;
53
+ mt?: string | number;
54
+ mb?: string | number;
55
+ px?: string | number;
56
+ py?: string | number;
57
+ mx?: string | number;
58
+ my?: string | number;
59
+ font?: string | number;
60
+ unit?: string;
61
+ scale?: number;
62
+ children?: any;
63
+ className?: string;
64
+ } & React.InputHTMLAttributes<any>, "ref"> & React.RefAttributes<unknown>>;
65
+ export default AutoComplete;
@@ -998,7 +998,7 @@ var InputBlockLabelComponent = function InputBlockLabelComponent(_ref) {
998
998
  dynamic: [theme.palette.accents_6]
999
999
  }, "label.__jsx-style-dynamic-selector{display:block;font-weight:normal;color:".concat(theme.palette.accents_6, ";padding:0 0 0 1px;margin-bottom:0.5em;font-size:1em;line-height:1.5;}label.__jsx-style-dynamic-selector>*:first-child{margin-top:0;}label.__jsx-style-dynamic-selector>*:last-child{margin-bottom:0;}")));
1000
1000
  };
1001
- InputBlockLabelComponent.displayName = 'GeistInputBlockLabel';
1001
+ InputBlockLabelComponent.displayName = 'InputBlockLabel';
1002
1002
  var InputBlockLabel = /*#__PURE__*/React.memo(InputBlockLabelComponent);
1003
1003
 
1004
1004
  var InputIconComponent = function InputIconComponent(_ref) {
@@ -1014,7 +1014,7 @@ var InputIconComponent = function InputIconComponent(_ref) {
1014
1014
  dynamic: [clickable ? 'pointer' : 'default', clickable ? 'auto' : 'none']
1015
1015
  }, ".input-icon.__jsx-style-dynamic-selector{box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(var(--input-height) - 2px);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;line-height:1;position:relative;cursor:".concat(clickable ? 'pointer' : 'default', ";pointer-events:").concat(clickable ? 'auto' : 'none', ";}.input-icon.__jsx-style-dynamic-selector svg{width:calc(var(--input-height) - 2px);height:calc(var(--input-height) - 2px);-webkit-transform:scale(0.44);-ms-transform:scale(0.44);transform:scale(0.44);}")));
1016
1016
  };
1017
- InputIconComponent.displayName = 'GeistInputIcon';
1017
+ InputIconComponent.displayName = 'InputIcon';
1018
1018
  var InputIcon = /*#__PURE__*/React.memo(InputIconComponent);
1019
1019
 
1020
1020
  /* "use client" */
@@ -12226,11 +12226,12 @@ var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRe
12226
12226
  }, ".auto-complete.__jsx-style-dynamic-selector{width:".concat(SCALES.width(1, 'max-content'), ";height:").concat(SCALES.height(1, 'auto'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.auto-complete.__jsx-style-dynamic-selector .loading{width:-webkit-max-content;width:-moz-max-content;width:max-content;}"))));
12227
12227
  });
12228
12228
  AutoCompleteComponent.displayName = 'AutoComplete';
12229
+ var AutoComplete = withScale(AutoCompleteComponent);
12229
12230
 
12230
12231
  /* "use client" */
12231
- AutoCompleteComponent.Item = AutoCompleteItemComponent;
12232
- AutoCompleteComponent.Option = AutoCompleteItemComponent;
12233
- AutoCompleteComponent.Searching = AutoCompleteSearch;
12234
- AutoCompleteComponent.Empty = AutoCompleteEmpty;
12232
+ AutoComplete.Item = AutoCompleteItemComponent;
12233
+ AutoComplete.Option = AutoCompleteItemComponent;
12234
+ AutoComplete.Searching = AutoCompleteSearch;
12235
+ AutoComplete.Empty = AutoCompleteEmpty;
12235
12236
 
12236
- exports.default = AutoCompleteComponent;
12237
+ exports.default = AutoComplete;
@@ -1295,7 +1295,7 @@ var LinkIconComponent = function LinkIconComponent() {
1295
1295
  id: "3409194595"
1296
1296
  }, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
1297
1297
  };
1298
- LinkIconComponent.displayName = 'GeistLinkIcon';
1298
+ LinkIconComponent.displayName = 'LinkIcon';
1299
1299
  var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
1300
1300
 
1301
1301
  var _excluded$1 = ["href", "showColor", "underline", "children", "className", "block", "icon"];
@@ -1282,7 +1282,7 @@ var ButtonLoading = function ButtonLoading(_ref) {
1282
1282
  id: "212623367"
1283
1283
  }, ".btn-loading.jsx-212623367{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--helpdice-ui-button-bg);}"));
1284
1284
  };
1285
- ButtonLoading.displayName = 'GeistButtonLoading';
1285
+ ButtonLoading.displayName = 'ButtonLoading';
1286
1286
 
1287
1287
  var _excluded$1 = ["isRight", "isSingle", "children", "className"];
1288
1288
  var ButtonIcon = function ButtonIcon(_ref) {
@@ -1489,7 +1489,7 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _col
1489
1489
  color: 'white'
1490
1490
  }
1491
1491
  };
1492
- var withoutLightType = _color.replace('-light', '');
1492
+ var withoutLightType = _color === null || _color === void 0 ? void 0 : _color.replace('-light', '');
1493
1493
  return colors[withoutLightType] || null;
1494
1494
  };
1495
1495
  var getButtonHoverColors = function getButtonHoverColors(palette, props) {
@@ -1042,7 +1042,7 @@ var ButtonDropdownIcon = function ButtonDropdownIcon(_ref) {
1042
1042
  id: "3359574434"
1043
1043
  }, "svg.jsx-3359574434{-webkit-transform:scale(0.6);-ms-transform:scale(0.6);transform:scale(0.6);}"));
1044
1044
  };
1045
- ButtonDropdownIcon.displayName = 'GeistButtonDropdownIcon';
1045
+ ButtonDropdownIcon.displayName = 'ButtonDropdownIcon';
1046
1046
 
1047
1047
  /* "use client" */
1048
1048
 
@@ -1410,7 +1410,7 @@ var LinkIconComponent = function LinkIconComponent() {
1410
1410
  id: "3409194595"
1411
1411
  }, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
1412
1412
  };
1413
- LinkIconComponent.displayName = 'GeistLinkIcon';
1413
+ LinkIconComponent.displayName = 'LinkIcon';
1414
1414
  var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
1415
1415
 
1416
1416
  var hexToRgb = function hexToRgb(color) {
@@ -1016,7 +1016,7 @@ var CheckboxIconComponent = function CheckboxIconComponent(_ref) {
1016
1016
  dynamic: [disabled ? 0.4 : 1, disabled ? 'not-allowed' : 'pointer']
1017
1017
  }, "svg.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(0.86 * var(--checkbox-size));height:calc(0.86 * var(--checkbox-size));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:".concat(disabled ? 0.4 : 1, ";cursor:").concat(disabled ? 'not-allowed' : 'pointer', ";}")));
1018
1018
  };
1019
- CheckboxIconComponent.displayName = 'GeistCheckboxIcon';
1019
+ CheckboxIconComponent.displayName = 'CheckboxIcon';
1020
1020
  var CheckboxIcon = /*#__PURE__*/React.memo(CheckboxIconComponent);
1021
1021
 
1022
1022
  var warningStack = {};
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ type CodeProps = {
3
+ code: string;
4
+ language: string;
5
+ style?: any;
6
+ wrapLines?: boolean;
7
+ showLineNumbers?: boolean;
8
+ };
9
+ declare const CodeBlock: React.FC<CodeProps>;
10
+ export default CodeBlock;
@@ -1295,7 +1295,7 @@ var LinkIconComponent = function LinkIconComponent() {
1295
1295
  id: "3409194595"
1296
1296
  }, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
1297
1297
  };
1298
- LinkIconComponent.displayName = 'GeistLinkIcon';
1298
+ LinkIconComponent.displayName = 'LinkIcon';
1299
1299
  var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
1300
1300
 
1301
1301
  var hexToRgb = function hexToRgb(color) {
package/dist/index.d.ts CHANGED
@@ -126,6 +126,7 @@ export { useRect } from './utils/layouts';
126
126
  export type { ReactiveDomReact } from './utils/layouts';
127
127
  export { default as Highlight } from './shared/highlight';
128
128
  export type { HighlightProps } from './shared/highlight';
129
+ export { default as CodeBlock } from './code-block';
129
130
  export { default as Skeleton } from './skeleton';
130
131
  export { CartProvider, useCart, createCartIdentifier } from './cart';
131
132
  export type { CartProviderState } from './cart';
package/dist/index.js CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  var React = require('react');
4
4
  var reactDom = require('react-dom');
5
+ var reactSyntaxHighlighter = require('react-syntax-highlighter');
6
+ var prism = require('react-syntax-highlighter/dist/cjs/styles/prism');
5
7
  var require$$0 = require('react-is');
6
8
  var isEqual = require('react-fast-compare');
7
9
 
@@ -1394,7 +1396,7 @@ var InputBlockLabelComponent = function InputBlockLabelComponent(_ref) {
1394
1396
  dynamic: [theme.palette.accents_6]
1395
1397
  }, "label.__jsx-style-dynamic-selector{display:block;font-weight:normal;color:".concat(theme.palette.accents_6, ";padding:0 0 0 1px;margin-bottom:0.5em;font-size:1em;line-height:1.5;}label.__jsx-style-dynamic-selector>*:first-child{margin-top:0;}label.__jsx-style-dynamic-selector>*:last-child{margin-bottom:0;}")));
1396
1398
  };
1397
- InputBlockLabelComponent.displayName = 'GeistInputBlockLabel';
1399
+ InputBlockLabelComponent.displayName = 'InputBlockLabel';
1398
1400
  var InputBlockLabel = /*#__PURE__*/React.memo(InputBlockLabelComponent);
1399
1401
 
1400
1402
  var InputIconComponent = function InputIconComponent(_ref) {
@@ -1410,7 +1412,7 @@ var InputIconComponent = function InputIconComponent(_ref) {
1410
1412
  dynamic: [clickable ? 'pointer' : 'default', clickable ? 'auto' : 'none']
1411
1413
  }, ".input-icon.__jsx-style-dynamic-selector{box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(var(--input-height) - 2px);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;line-height:1;position:relative;cursor:".concat(clickable ? 'pointer' : 'default', ";pointer-events:").concat(clickable ? 'auto' : 'none', ";}.input-icon.__jsx-style-dynamic-selector svg{width:calc(var(--input-height) - 2px);height:calc(var(--input-height) - 2px);-webkit-transform:scale(0.44);-ms-transform:scale(0.44);transform:scale(0.44);}")));
1412
1414
  };
1413
- InputIconComponent.displayName = 'GeistInputIcon';
1415
+ InputIconComponent.displayName = 'InputIcon';
1414
1416
  var InputIcon = /*#__PURE__*/React.memo(InputIconComponent);
1415
1417
 
1416
1418
  /* "use client" */
@@ -1658,7 +1660,7 @@ var isChildElement = function isChildElement(parent, child) {
1658
1660
  }
1659
1661
  return false;
1660
1662
  };
1661
- var isGeistElement = function isGeistElement(el) {
1663
+ var isUiElement = function isUiElement(el) {
1662
1664
  if (!el) return false;
1663
1665
  if (el !== null && el !== void 0 && el.dataset && el !== null && el !== void 0 && el.dataset['helpdice']) return true;
1664
1666
  el.attributes.getNamedItem('data-helpdice');
@@ -12751,12 +12753,13 @@ var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRe
12751
12753
  }, ".auto-complete.__jsx-style-dynamic-selector{width:".concat(SCALES.width(1, 'max-content'), ";height:").concat(SCALES.height(1, 'auto'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.auto-complete.__jsx-style-dynamic-selector .loading{width:-webkit-max-content;width:-moz-max-content;width:max-content;}"))));
12752
12754
  });
12753
12755
  AutoCompleteComponent.displayName = 'AutoComplete';
12756
+ var AutoComplete = withScale(AutoCompleteComponent);
12754
12757
 
12755
12758
  /* "use client" */
12756
- AutoCompleteComponent.Item = AutoCompleteItemComponent;
12757
- AutoCompleteComponent.Option = AutoCompleteItemComponent;
12758
- AutoCompleteComponent.Searching = AutoCompleteSearch;
12759
- AutoCompleteComponent.Empty = AutoCompleteEmpty;
12759
+ AutoComplete.Item = AutoCompleteItemComponent;
12760
+ AutoComplete.Option = AutoCompleteItemComponent;
12761
+ AutoComplete.Searching = AutoCompleteSearch;
12762
+ AutoComplete.Empty = AutoCompleteEmpty;
12760
12763
 
12761
12764
  var _excluded$1i = ["src", "stacked", "text", "isSquare", "className"];
12762
12765
 
@@ -13046,7 +13049,7 @@ var LinkIconComponent = function LinkIconComponent() {
13046
13049
  id: "3409194595"
13047
13050
  }, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
13048
13051
  };
13049
- LinkIconComponent.displayName = 'GeistLinkIcon';
13052
+ LinkIconComponent.displayName = 'LinkIcon';
13050
13053
  var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
13051
13054
 
13052
13055
  var _excluded$1g = ["href", "showColor", "underline", "children", "className", "block", "icon"];
@@ -13191,7 +13194,7 @@ var ButtonLoading = function ButtonLoading(_ref) {
13191
13194
  id: "212623367"
13192
13195
  }, ".btn-loading.jsx-212623367{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--helpdice-ui-button-bg);}"));
13193
13196
  };
13194
- ButtonLoading.displayName = 'GeistButtonLoading';
13197
+ ButtonLoading.displayName = 'ButtonLoading';
13195
13198
 
13196
13199
  var _excluded$1e = ["isRight", "isSingle", "children", "className"];
13197
13200
  var ButtonIcon = function ButtonIcon(_ref) {
@@ -13363,7 +13366,7 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _col
13363
13366
  color: 'white'
13364
13367
  }
13365
13368
  };
13366
- var withoutLightType = _color.replace('-light', '');
13369
+ var withoutLightType = _color === null || _color === void 0 ? void 0 : _color.replace('-light', '');
13367
13370
  return colors[withoutLightType] || null;
13368
13371
  };
13369
13372
  var getButtonHoverColors = function getButtonHoverColors(palette, props) {
@@ -13733,7 +13736,7 @@ var ButtonDropdownIcon = function ButtonDropdownIcon(_ref) {
13733
13736
  id: "3359574434"
13734
13737
  }, "svg.jsx-3359574434{-webkit-transform:scale(0.6);-ms-transform:scale(0.6);transform:scale(0.6);}"));
13735
13738
  };
13736
- ButtonDropdownIcon.displayName = 'GeistButtonDropdownIcon';
13739
+ ButtonDropdownIcon.displayName = 'ButtonDropdownIcon';
13737
13740
 
13738
13741
  /* "use client" */
13739
13742
 
@@ -14413,7 +14416,7 @@ var CheckboxIconComponent = function CheckboxIconComponent(_ref) {
14413
14416
  dynamic: [disabled ? 0.4 : 1, disabled ? 'not-allowed' : 'pointer']
14414
14417
  }, "svg.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(0.86 * var(--checkbox-size));height:calc(0.86 * var(--checkbox-size));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:".concat(disabled ? 0.4 : 1, ";cursor:").concat(disabled ? 'not-allowed' : 'pointer', ";}")));
14415
14418
  };
14416
- CheckboxIconComponent.displayName = 'GeistCheckboxIcon';
14419
+ CheckboxIconComponent.displayName = 'CheckboxIcon';
14417
14420
  var CheckboxIcon = /*#__PURE__*/React.memo(CheckboxIconComponent);
14418
14421
 
14419
14422
  var getColors$7 = function getColors(palette, status) {
@@ -23766,7 +23769,7 @@ var ModalActionsComponent = function ModalActionsComponent(_ref) {
23766
23769
  dynamic: [theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, height]
23767
23770
  }, "footer.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;width:100%;height:auto;position:absolute;bottom:0;left:0;right:0;border-top:1px solid ".concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";}footer.__jsx-style-dynamic-selector>button.btn + button.btn{border-left:1px solid ").concat(theme.palette.border, ";}div.__jsx-style-dynamic-selector{height:").concat(height, ";-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}")));
23768
23771
  };
23769
- ModalActionsComponent.displayName = 'GeistModalActions';
23772
+ ModalActionsComponent.displayName = 'ModalActions';
23770
23773
  var ModalActions = /*#__PURE__*/React.memo(ModalActionsComponent);
23771
23774
 
23772
23775
  var ModalComponent = function ModalComponent(_ref) {
@@ -25156,7 +25159,7 @@ var RatingIcon = function RatingIcon() {
25156
25159
  d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"
25157
25160
  }));
25158
25161
  };
25159
- RatingIcon.displayName = 'GeistRatingIcon';
25162
+ RatingIcon.displayName = 'RatingIcon';
25160
25163
 
25161
25164
  var _excluded$i = ["type", "className", "icon", "count", "value", "initialValue", "onValueChange", "locked", "onLockedChange"];
25162
25165
  tupleNumber(2, 3, 4, 5, 6, 7, 8, 9, 10);
@@ -25262,7 +25265,7 @@ var SelectIconComponent = function SelectIconComponent() {
25262
25265
  id: "2742933678"
25263
25266
  }, "svg.jsx-2742933678{color:inherit;stroke:currentColor;-webkit-transition:all 200ms ease;transition:all 200ms ease;width:1.214em;height:1.214em;}"));
25264
25267
  };
25265
- SelectIconComponent.displayName = 'GeistSelectIcon';
25268
+ SelectIconComponent.displayName = 'SelectIcon';
25266
25269
  var SelectIcon = /*#__PURE__*/React.memo(SelectIconComponent);
25267
25270
 
25268
25271
  /* "use client" */
@@ -25357,7 +25360,7 @@ var SelectMultipleValue = function SelectMultipleValue(_ref) {
25357
25360
  dynamic: [theme.layout.radius, theme.palette.accents_2, disabled ? theme.palette.accents_4 : theme.palette.accents_6]
25358
25361
  }, ".item.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;justify-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0 0.5em;font-size:var(--select-font-size);height:calc(var(--select-font-size) * 2);border-radius:".concat(theme.layout.radius, ";background-color:").concat(theme.palette.accents_2, ";color:").concat(disabled ? theme.palette.accents_4 : theme.palette.accents_6, ";}.item.__jsx-style-dynamic-selector>div:not(.clear-icon),.item.__jsx-style-dynamic-selector>div:not(.clear-icon):hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}")));
25359
25362
  };
25360
- SelectMultipleValue.displayName = 'GeistSelectMultipleValue';
25363
+ SelectMultipleValue.displayName = 'SelectMultipleValue';
25361
25364
 
25362
25365
  var getColors$3 = function getColors(palette, status) {
25363
25366
  var colors = {
@@ -25425,7 +25428,7 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function (_ref, inputRef) {
25425
25428
  id: "2813108835"
25426
25429
  }, "input.jsx-2813108835{position:fixed;top:-10000px;left:-10000px;opacity:0;z-index:-1;width:0;height:0;padding:0;font-size:0;border:none;}"));
25427
25430
  });
25428
- SelectInput.displayName = 'GeistSelectInput';
25431
+ SelectInput.displayName = 'SelectInput';
25429
25432
 
25430
25433
  var _excluded$h = ["children", "label", "type", "disabled", "initialValue", "value", "icon", "onChange", "pure", "multiple", "clearable", "placeholder", "className", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "getPopupContainer", "onDropdownVisibleChange"];
25431
25434
  var SelectComponent = /*#__PURE__*/React.forwardRef(function (_ref, selectRef) {
@@ -26042,7 +26045,7 @@ var SnippetIconComponent = function SnippetIconComponent() {
26042
26045
  id: "418323402"
26043
26046
  }, "svg.jsx-418323402{width:calc(var(--snippet-font-size) * 1.69);height:calc(var(--snippet-font-size) * 1.69);}"));
26044
26047
  };
26045
- SnippetIconComponent.displayName = 'GeistSnippetIcon';
26048
+ SnippetIconComponent.displayName = 'SnippetIcon';
26046
26049
  var SnippetIcon = /*#__PURE__*/React.memo(SnippetIconComponent);
26047
26050
 
26048
26051
  /* "use client" */
@@ -44033,7 +44036,7 @@ function Empty() {
44033
44036
  }));
44034
44037
  }
44035
44038
 
44036
- var _excluded$b = ["children", "tag", "className", "type"];
44039
+ var _excluded$b = ["children", "tag", "className", "color"];
44037
44040
  var getTypeColor = function getTypeColor(type, palette) {
44038
44041
  var colors = {
44039
44042
  "default": 'inherit',
@@ -44049,8 +44052,8 @@ var TextChild = function TextChild(_ref) {
44049
44052
  tag = _ref.tag,
44050
44053
  _ref$className = _ref.className,
44051
44054
  className = _ref$className === void 0 ? '' : _ref$className,
44052
- _ref$type = _ref.type,
44053
- type = _ref$type === void 0 ? 'default' : _ref$type,
44055
+ _ref$color = _ref.color,
44056
+ color = _ref$color === void 0 ? 'default' : _ref$color,
44054
44057
  props = _objectWithoutProperties(_ref, _excluded$b);
44055
44058
  var Component = tag;
44056
44059
  var theme = useTheme();
@@ -44062,9 +44065,9 @@ var TextChild = function TextChild(_ref) {
44062
44065
  var my = getScaleProps(['margin', 'marginTop', 'marginBottom', 'my', 'mt', 'mb']);
44063
44066
  var px = getScaleProps(['padding', 'paddingLeft', 'paddingRight', 'pl', 'pr', 'px']);
44064
44067
  var py = getScaleProps(['padding', 'paddingTop', 'paddingBottom', 'pt', 'pb', 'py']);
44065
- var color = React.useMemo(function () {
44066
- return getTypeColor(type, theme.palette);
44067
- }, [type, theme.palette]);
44068
+ var _color = React.useMemo(function () {
44069
+ return getTypeColor(color, theme.palette);
44070
+ }, [color, theme.palette]);
44068
44071
  var classNames = React.useMemo(function () {
44069
44072
  var keys = [{
44070
44073
  value: mx,
@@ -44089,11 +44092,11 @@ var TextChild = function TextChild(_ref) {
44089
44092
  return "".concat(scaleClassNames, " ").concat(className).trim();
44090
44093
  }, [mx, my, px, py, font, className]);
44091
44094
  return /*#__PURE__*/React.createElement(Component, _extends({}, props, {
44092
- className: _JSXStyle.dynamic([["3155699851", [tag, color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]]]) + " " + (props && props.className != null && props.className || classNames || "")
44095
+ className: _JSXStyle.dynamic([["4133320328", [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]]]) + " " + (props && props.className != null && props.className || classNames || "")
44093
44096
  }), children, /*#__PURE__*/React.createElement(_JSXStyle, {
44094
- id: "3155699851",
44095
- dynamic: [tag, color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]
44096
- }, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(color, ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";}.font.__jsx-style-dynamic-selector{font-size:").concat(SCALES.font(1, 'inherit'), ";}.mx.__jsx-style-dynamic-selector{margin-left:").concat(SCALES.ml(0, 'revert'), ";margin-right:").concat(SCALES.mr(0, 'revert'), ";}.my.__jsx-style-dynamic-selector{margin-top:").concat(SCALES.mt(0, 'revert'), ";margin-bottom:").concat(SCALES.mb(0, 'revert'), ";}.px.__jsx-style-dynamic-selector{padding-left:").concat(SCALES.pl(0, 'revert'), ";padding-right:").concat(SCALES.pr(0, 'revert'), ";}.py.__jsx-style-dynamic-selector{padding-top:").concat(SCALES.pt(0, 'revert'), ";padding-bottom:").concat(SCALES.pb(0, 'revert'), ";}")));
44097
+ id: "4133320328",
44098
+ dynamic: [tag, _color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]
44099
+ }, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(_color, ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";}.font.__jsx-style-dynamic-selector{font-size:").concat(SCALES.font(1, 'inherit'), ";}.mx.__jsx-style-dynamic-selector{margin-left:").concat(SCALES.ml(0, 'revert'), ";margin-right:").concat(SCALES.mr(0, 'revert'), ";}.my.__jsx-style-dynamic-selector{margin-top:").concat(SCALES.mt(0, 'revert'), ";margin-bottom:").concat(SCALES.mb(0, 'revert'), ";}.px.__jsx-style-dynamic-selector{padding-left:").concat(SCALES.pl(0, 'revert'), ";padding-right:").concat(SCALES.pr(0, 'revert'), ";}.py.__jsx-style-dynamic-selector{padding-top:").concat(SCALES.pt(0, 'revert'), ";padding-bottom:").concat(SCALES.pb(0, 'revert'), ";}")));
44097
44100
  };
44098
44101
  TextChild.displayName = 'TextChild';
44099
44102
 
@@ -45254,7 +45257,7 @@ var TabsComponent = function TabsComponent(_ref) {
45254
45257
  onChange && onChange(value);
45255
45258
  };
45256
45259
  var tabItemMouseOverHandler = function tabItemMouseOverHandler(event) {
45257
- if (!isGeistElement(event.target)) return;
45260
+ if (!isUiElement(event.target)) return;
45258
45261
  setRect(event, function () {
45259
45262
  return ref.current;
45260
45263
  });
@@ -46309,6 +46312,31 @@ var CssBaseline = function CssBaseline(_ref) {
46309
46312
  };
46310
46313
  var MemoCssBaseline = /*#__PURE__*/React.memo(CssBaseline);
46311
46314
 
46315
+ /* "use client" */
46316
+
46317
+ var CodeBlock = function CodeBlock(_ref) {
46318
+ var code = _ref.code,
46319
+ language = _ref.language,
46320
+ _ref$wrapLines = _ref.wrapLines,
46321
+ wrapLines = _ref$wrapLines === void 0 ? true : _ref$wrapLines,
46322
+ _ref$showLineNumbers = _ref.showLineNumbers,
46323
+ showLineNumbers = _ref$showLineNumbers === void 0 ? true : _ref$showLineNumbers;
46324
+ return /*#__PURE__*/React__namespace.createElement(reactSyntaxHighlighter.Prism, {
46325
+ lineProps: {
46326
+ style: {
46327
+ wordBreak: 'break-all',
46328
+ whiteSpace: 'pre-wrap'
46329
+ }
46330
+ },
46331
+ language: language,
46332
+ style: prism.dracula,
46333
+ wrapLines: wrapLines,
46334
+ wrapLongLines: wrapLines,
46335
+ showLineNumbers: showLineNumbers,
46336
+ showInlineLineNumbers: false
46337
+ }, code);
46338
+ };
46339
+
46312
46340
  var Skeleton = function Skeleton(_ref) {
46313
46341
  var width = _ref.width,
46314
46342
  height = _ref.height,
@@ -48119,7 +48147,7 @@ var LoginSocialGithub = function LoginSocialGithub(_ref) {
48119
48147
  };
48120
48148
  var index = /*#__PURE__*/React.memo(LoginSocialGithub);
48121
48149
 
48122
- exports.AutoComplete = AutoCompleteComponent;
48150
+ exports.AutoComplete = AutoComplete;
48123
48151
  exports.Avatar = Avatar;
48124
48152
  exports.Badge = Badge;
48125
48153
  exports.Breadcrumbs = Breadcrumbs;
@@ -48133,6 +48161,7 @@ exports.Checkbox = Checkbox;
48133
48161
  exports.CircularProgress = CircularProgressbarWithChildren;
48134
48162
  exports.CircularProgressBar = CircularProgressbar;
48135
48163
  exports.Code = Code;
48164
+ exports.CodeBlock = CodeBlock;
48136
48165
  exports.Collapse = Collapse;
48137
48166
  exports.Container = GridContainer;
48138
48167
  exports.CssBaseline = MemoCssBaseline;
@@ -975,7 +975,7 @@ var InputBlockLabelComponent = function InputBlockLabelComponent(_ref) {
975
975
  dynamic: [theme.palette.accents_6]
976
976
  }, "label.__jsx-style-dynamic-selector{display:block;font-weight:normal;color:".concat(theme.palette.accents_6, ";padding:0 0 0 1px;margin-bottom:0.5em;font-size:1em;line-height:1.5;}label.__jsx-style-dynamic-selector>*:first-child{margin-top:0;}label.__jsx-style-dynamic-selector>*:last-child{margin-bottom:0;}")));
977
977
  };
978
- InputBlockLabelComponent.displayName = 'GeistInputBlockLabel';
978
+ InputBlockLabelComponent.displayName = 'InputBlockLabel';
979
979
  var InputBlockLabel = /*#__PURE__*/React.memo(InputBlockLabelComponent);
980
980
 
981
981
  var InputIconComponent = function InputIconComponent(_ref) {
@@ -991,7 +991,7 @@ var InputIconComponent = function InputIconComponent(_ref) {
991
991
  dynamic: [clickable ? 'pointer' : 'default', clickable ? 'auto' : 'none']
992
992
  }, ".input-icon.__jsx-style-dynamic-selector{box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:calc(var(--input-height) - 2px);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;line-height:1;position:relative;cursor:".concat(clickable ? 'pointer' : 'default', ";pointer-events:").concat(clickable ? 'auto' : 'none', ";}.input-icon.__jsx-style-dynamic-selector svg{width:calc(var(--input-height) - 2px);height:calc(var(--input-height) - 2px);-webkit-transform:scale(0.44);-ms-transform:scale(0.44);transform:scale(0.44);}")));
993
993
  };
994
- InputIconComponent.displayName = 'GeistInputIcon';
994
+ InputIconComponent.displayName = 'InputIcon';
995
995
  var InputIcon = /*#__PURE__*/React.memo(InputIconComponent);
996
996
 
997
997
  /* "use client" */
@@ -977,7 +977,7 @@ var LinkIconComponent = function LinkIconComponent() {
977
977
  id: "3409194595"
978
978
  }, ".icon.jsx-3409194595{margin:0 0 -1px 0.1875em;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;color:currentColor;}"));
979
979
  };
980
- LinkIconComponent.displayName = 'GeistLinkIcon';
980
+ LinkIconComponent.displayName = 'LinkIcon';
981
981
  var LinkIcon = /*#__PURE__*/React.memo(LinkIconComponent);
982
982
 
983
983
  var hexToRgb = function hexToRgb(color) {
@@ -1487,7 +1487,7 @@ var ButtonLoading = function ButtonLoading(_ref) {
1487
1487
  id: "212623367"
1488
1488
  }, ".btn-loading.jsx-212623367{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--helpdice-ui-button-bg);}"));
1489
1489
  };
1490
- ButtonLoading.displayName = 'GeistButtonLoading';
1490
+ ButtonLoading.displayName = 'ButtonLoading';
1491
1491
 
1492
1492
  var _excluded$7 = ["isRight", "isSingle", "children", "className"];
1493
1493
  var ButtonIcon = function ButtonIcon(_ref) {
@@ -1694,7 +1694,7 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _col
1694
1694
  color: 'white'
1695
1695
  }
1696
1696
  };
1697
- var withoutLightType = _color.replace('-light', '');
1697
+ var withoutLightType = _color === null || _color === void 0 ? void 0 : _color.replace('-light', '');
1698
1698
  return colors[withoutLightType] || null;
1699
1699
  };
1700
1700
  var getButtonHoverColors = function getButtonHoverColors(palette, props) {
@@ -1979,7 +1979,7 @@ var ModalActionsComponent = function ModalActionsComponent(_ref) {
1979
1979
  dynamic: [theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, height]
1980
1980
  }, "footer.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;width:100%;height:auto;position:absolute;bottom:0;left:0;right:0;border-top:1px solid ".concat(theme.palette.border, ";border-bottom-left-radius:").concat(theme.layout.radius, ";border-bottom-right-radius:").concat(theme.layout.radius, ";}footer.__jsx-style-dynamic-selector>button.btn + button.btn{border-left:1px solid ").concat(theme.palette.border, ";}div.__jsx-style-dynamic-selector{height:").concat(height, ";-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}")));
1981
1981
  };
1982
- ModalActionsComponent.displayName = 'GeistModalActions';
1982
+ ModalActionsComponent.displayName = 'ModalActions';
1983
1983
  var ModalActions = /*#__PURE__*/React.memo(ModalActionsComponent);
1984
1984
 
1985
1985
  var useCurrentState = function useCurrentState(initialState) {
@@ -751,7 +751,7 @@ var RatingIcon = function RatingIcon() {
751
751
  d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"
752
752
  }));
753
753
  };
754
- RatingIcon.displayName = 'GeistRatingIcon';
754
+ RatingIcon.displayName = 'RatingIcon';
755
755
 
756
756
  var defaultFont = {
757
757
  sans: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
@@ -1037,7 +1037,7 @@ var SelectIconComponent = function SelectIconComponent() {
1037
1037
  id: "2742933678"
1038
1038
  }, "svg.jsx-2742933678{color:inherit;stroke:currentColor;-webkit-transition:all 200ms ease;transition:all 200ms ease;width:1.214em;height:1.214em;}"));
1039
1039
  };
1040
- SelectIconComponent.displayName = 'GeistSelectIcon';
1040
+ SelectIconComponent.displayName = 'SelectIcon';
1041
1041
  var SelectIcon = /*#__PURE__*/React.memo(SelectIconComponent);
1042
1042
 
1043
1043
  /* "use client" */
@@ -1777,7 +1777,7 @@ var SelectMultipleValue = function SelectMultipleValue(_ref) {
1777
1777
  dynamic: [theme.layout.radius, theme.palette.accents_2, disabled ? theme.palette.accents_4 : theme.palette.accents_6]
1778
1778
  }, ".item.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;justify-items:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:1;padding:0 0.5em;font-size:var(--select-font-size);height:calc(var(--select-font-size) * 2);border-radius:".concat(theme.layout.radius, ";background-color:").concat(theme.palette.accents_2, ";color:").concat(disabled ? theme.palette.accents_4 : theme.palette.accents_6, ";}.item.__jsx-style-dynamic-selector>div:not(.clear-icon),.item.__jsx-style-dynamic-selector>div:not(.clear-icon):hover{border-radius:0;background-color:transparent;padding:0;margin:0;color:inherit;}")));
1779
1779
  };
1780
- SelectMultipleValue.displayName = 'GeistSelectMultipleValue';
1780
+ SelectMultipleValue.displayName = 'SelectMultipleValue';
1781
1781
 
1782
1782
  var getColors = function getColors(palette, status) {
1783
1783
  var colors = {
@@ -1857,7 +1857,7 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function (_ref, inputRef) {
1857
1857
  id: "2813108835"
1858
1858
  }, "input.jsx-2813108835{position:fixed;top:-10000px;left:-10000px;opacity:0;z-index:-1;width:0;height:0;padding:0;font-size:0;border:none;}"));
1859
1859
  });
1860
- SelectInput.displayName = 'GeistSelectInput';
1860
+ SelectInput.displayName = 'SelectInput';
1861
1861
 
1862
1862
  var _excluded$1 = ["children", "label", "type", "disabled", "initialValue", "value", "icon", "onChange", "pure", "multiple", "clearable", "placeholder", "className", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "getPopupContainer", "onDropdownVisibleChange"];
1863
1863
  var SelectComponent = /*#__PURE__*/React.forwardRef(function (_ref, selectRef) {
@@ -1032,7 +1032,7 @@ var SnippetIconComponent = function SnippetIconComponent() {
1032
1032
  id: "418323402"
1033
1033
  }, "svg.jsx-418323402{width:calc(var(--snippet-font-size) * 1.69);height:calc(var(--snippet-font-size) * 1.69);}"));
1034
1034
  };
1035
- SnippetIconComponent.displayName = 'GeistSnippetIcon';
1035
+ SnippetIconComponent.displayName = 'SnippetIcon';
1036
1036
  var SnippetIcon = /*#__PURE__*/React.memo(SnippetIconComponent);
1037
1037
 
1038
1038
  /* "use client" */