@nation-a/ui 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4116,17 +4116,17 @@ const spinnerRecipe = cva({
4116
4116
  }
4117
4117
  });
4118
4118
  const Spinner = React.forwardRef((props, ref) => {
4119
- const { color, ...rest } = props;
4120
4119
  const StyledSpinner = styled(ark.div, spinnerRecipe);
4121
4120
  return /* @__PURE__ */ jsxRuntime.jsx(
4122
4121
  StyledSpinner,
4123
4122
  {
4124
4123
  ref,
4125
- ...rest,
4124
+ ...props,
4126
4125
  css: {
4127
4126
  borderColor: "inherit",
4128
4127
  borderBottomColor: "transparent",
4129
- borderLeftColor: "transparent"
4128
+ borderLeftColor: "transparent",
4129
+ ...props.css
4130
4130
  }
4131
4131
  }
4132
4132
  );
@@ -4744,15 +4744,12 @@ const dialogRecipe = sva({
4744
4744
  slots: [...anatomy$1.keys(), "header", "footer", "body"],
4745
4745
  base: {
4746
4746
  backdrop: {
4747
- backdropFilter: "blur(4px)",
4748
- background: {
4749
- _light: "white.100A",
4750
- _dark: "black.100A"
4751
- },
4747
+ backdropFilter: "blur(3px)",
4748
+ background: "shadow.overlay",
4752
4749
  height: "100vh",
4753
- left: "0",
4754
4750
  position: "fixed",
4755
4751
  top: "0",
4752
+ left: "0",
4756
4753
  width: "100vw",
4757
4754
  zIndex: "overlay",
4758
4755
  _open: {
@@ -4832,7 +4829,7 @@ const Backdrop$1 = withContext$1(DialogBackdrop, "backdrop");
4832
4829
  const Trigger$1 = withContext$1(DialogTrigger, "trigger");
4833
4830
  const Content = withContext$1(DialogContent, "content");
4834
4831
  const Title = withContext$1(DialogTitle, "title");
4835
- const Description$1 = withContext$1(DialogDescription, "description");
4832
+ const Description = withContext$1(DialogDescription, "description");
4836
4833
  const Positioner = withContext$1(DialogPositioner, "positioner");
4837
4834
  const Header = withContext$1(ark.header, "header");
4838
4835
  const Footer = withContext$1(
@@ -4861,7 +4858,7 @@ const Dialog = {
4861
4858
  Trigger: Trigger$1,
4862
4859
  Content,
4863
4860
  Title,
4864
- Description: Description$1,
4861
+ Description,
4865
4862
  Positioner,
4866
4863
  Header,
4867
4864
  Footer,
@@ -8916,9 +8913,7 @@ const Tag = React.forwardRef(({ imageSrc, text, onDeleteClick, ...rest }, ref) =
8916
8913
  styled.img,
8917
8914
  {
8918
8915
  src: imageSrc,
8919
- width: 8,
8920
- height: 8,
8921
- className: css$1({ borderRadius: "full", overflow: "hidden" }),
8916
+ className: css$1({ borderRadius: "full", overflow: "hidden", width: 8, height: 8 }),
8922
8917
  alt: "avatar thumbnail"
8923
8918
  }
8924
8919
  ) : null,
@@ -8927,10 +8922,34 @@ const Tag = React.forwardRef(({ imageSrc, text, onDeleteClick, ...rest }, ref) =
8927
8922
  ] });
8928
8923
  });
8929
8924
  Tag.displayName = "Tag";
8930
- const inputSlotRecipe = sva({
8925
+ const inputRecipe = sva({
8931
8926
  className: "input",
8932
- slots: ["requiredStar", "description", "textLengthIndicator"],
8927
+ slots: ["inputContainer", "requiredStar", "description", "label", "textLengthIndicator"],
8933
8928
  base: {
8929
+ inputContainer: {
8930
+ display: "flex",
8931
+ flexDirection: "column",
8932
+ alignItems: "center",
8933
+ justifyContent: "center",
8934
+ width: "100%",
8935
+ textStyle: "body.md",
8936
+ cursor: "text",
8937
+ color: "content.neutral.bold",
8938
+ gap: 1,
8939
+ borderStyle: "solid",
8940
+ border: 1,
8941
+ outline: "none",
8942
+ p: 2,
8943
+ "& input, & textarea": {
8944
+ outline: "none",
8945
+ width: "100%",
8946
+ height: "100%"
8947
+ },
8948
+ _groupDisabled: {
8949
+ cursor: "not-allowed",
8950
+ color: "content.neutral.disabled"
8951
+ }
8952
+ },
8934
8953
  requiredStar: {
8935
8954
  color: "content.danger.default",
8936
8955
  paddingLeft: 1
@@ -8942,196 +8961,147 @@ const inputSlotRecipe = sva({
8942
8961
  width: "100%",
8943
8962
  textAlign: "start"
8944
8963
  },
8964
+ label: {
8965
+ textStyle: "label.sm",
8966
+ textAlign: "start",
8967
+ width: "100%",
8968
+ display: "inline-block"
8969
+ },
8945
8970
  textLengthIndicator: {
8946
8971
  display: "inline-block",
8947
8972
  width: "100%",
8948
8973
  textAlign: "end",
8949
8974
  paddingRight: 1,
8950
8975
  marginTop: -0.5,
8951
- textStyle: "label.sm"
8952
- }
8953
- }
8954
- });
8955
- const inputRecipe = cva({
8956
- base: {
8957
- display: "flex",
8958
- flexDirection: "column",
8959
- alignItems: "center",
8960
- justifyContent: "center",
8961
- width: "100%",
8962
- textStyle: "body.md",
8963
- cursor: "text",
8964
- color: "content.neutral.bold",
8965
- gap: 1,
8966
- borderStyle: "solid",
8967
- border: 1,
8968
- outline: "none",
8969
- p: 2,
8970
- "& textarea, & input": {
8971
- outline: "none",
8972
- width: "100%",
8973
- height: "100%"
8976
+ textStyle: "label.sm",
8977
+ color: "content.neutral.subtlest",
8978
+ _groupDisabled: { color: "content.neutral.disabled" }
8974
8979
  }
8975
8980
  },
8976
8981
  variants: {
8977
8982
  isTextArea: {
8978
8983
  true: {
8979
- minHeight: "56px",
8980
- "& textarea": {
8981
- background: "transparent",
8982
- height: "100%",
8983
- resize: "none",
8984
- overflowY: "auto"
8984
+ inputContainer: {
8985
+ minHeight: "56px",
8986
+ "& textarea": {
8987
+ background: "transparent",
8988
+ resize: "none",
8989
+ overflowY: "auto"
8990
+ }
8985
8991
  }
8986
8992
  },
8987
8993
  false: {
8988
- minHeight: "48px",
8989
- maxHeight: "60px"
8994
+ inputContainer: {
8995
+ minHeight: "48px",
8996
+ maxHeight: "60px"
8997
+ }
8990
8998
  }
8991
8999
  },
8992
9000
  variant: {
8993
9001
  solid: {
8994
- borderColor: "transparent"
9002
+ inputContainer: {
9003
+ borderColor: "transparent",
9004
+ _focusWithin: {
9005
+ borderColor: "border.neutral.default"
9006
+ }
9007
+ }
8995
9008
  },
8996
9009
  line: {
8997
- background: "transparent"
9010
+ inputContainer: {
9011
+ background: "transparent",
9012
+ border: 1,
9013
+ borderColor: "border.neutral.subtle",
9014
+ _focusWithin: {
9015
+ borderColor: "border.neutral.default"
9016
+ },
9017
+ _groupDisabled: {
9018
+ borderColor: "border.neutral.disabled"
9019
+ }
9020
+ }
8998
9021
  }
8999
9022
  },
9000
9023
  color: {
9001
9024
  alpha: {
9002
- "&::placeholder": {
9003
- color: "content.static.white.subtlest"
9025
+ inputContainer: {
9026
+ _placeholder: {
9027
+ color: "content.static.white.subtlest",
9028
+ _groupDisabled: {
9029
+ color: "content.static.white.disabled"
9030
+ }
9031
+ }
9032
+ },
9033
+ label: {
9034
+ color: "content.neutral.default",
9035
+ _groupDisabled: {
9036
+ color: "content.neutral.disabled"
9037
+ }
9004
9038
  }
9005
9039
  },
9006
9040
  neutral: {
9007
- "&::placeholder": {
9008
- color: "content.neutral.subtlest"
9041
+ inputContainer: {
9042
+ _placeholder: {
9043
+ color: "content.neutral.subtlest",
9044
+ _groupDisabled: {
9045
+ color: "content.neutral.disabled"
9046
+ }
9047
+ }
9048
+ },
9049
+ label: {
9050
+ color: "content.neutral.subtle",
9051
+ _groupDisabled: {
9052
+ color: "content.neutral.disabled"
9053
+ }
9009
9054
  }
9010
9055
  }
9011
9056
  },
9012
9057
  radius: {
9013
9058
  md: {
9014
- borderRadius: 8,
9015
- px: 2
9059
+ inputContainer: {
9060
+ borderRadius: 8,
9061
+ px: 2
9062
+ }
9016
9063
  },
9017
9064
  lg: {
9018
- borderRadius: 16,
9019
- px: 2
9065
+ inputContainer: {
9066
+ borderRadius: 16,
9067
+ px: 2
9068
+ }
9020
9069
  },
9021
9070
  full: {
9022
- borderRadius: 9999,
9023
- px: 4
9071
+ inputContainer: {
9072
+ borderRadius: 9999,
9073
+ px: 4
9074
+ }
9024
9075
  }
9025
9076
  },
9026
- state: {
9027
- // state: Input 컴포넌트 내부 로직, 외부 노출 X (외부에선 disabled만 제어)
9028
- default: {
9029
- color: "content.neutral.bold"
9030
- },
9031
- selected: {
9032
- color: "content.neutral.bold"
9033
- },
9034
- disabled: {
9035
- color: "content.neutral.disabled"
9077
+ disabled: {
9078
+ true: {
9079
+ inputContainer: {
9080
+ _groupDisabled: {}
9081
+ }
9036
9082
  }
9037
9083
  }
9038
9084
  },
9039
9085
  compoundVariants: [
9040
- {
9041
- color: "alpha",
9042
- state: "disabled",
9043
- css: {
9044
- "&::placeholder": {
9045
- color: "content.static.white.disabled"
9046
- }
9047
- }
9048
- },
9049
- {
9050
- color: "neutral",
9051
- state: "disabled",
9052
- css: {
9053
- "&::placeholder": {
9054
- color: "content.neutral.disabled"
9055
- }
9056
- }
9057
- },
9058
9086
  {
9059
9087
  variant: "solid",
9060
9088
  color: "alpha",
9061
- state: "default",
9062
9089
  css: {
9063
- background: "black.500A"
9064
- }
9065
- },
9066
- {
9067
- variant: "solid",
9068
- color: "alpha",
9069
- state: "selected",
9070
- css: {
9071
- background: "black.500A",
9072
- border: 1,
9073
- borderColor: "border.neutral.default"
9074
- }
9075
- },
9076
- {
9077
- variant: "solid",
9078
- color: "alpha",
9079
- state: "disabled",
9080
- css: {
9081
- background: "black.500A"
9082
- }
9083
- },
9084
- {
9085
- variant: "solid",
9086
- color: "neutral",
9087
- state: "default",
9088
- css: {
9089
- background: "background.neutral.default"
9090
- }
9091
- },
9092
- {
9093
- variant: "solid",
9094
- color: "neutral",
9095
- state: "selected",
9096
- css: {
9097
- background: "background.neutral.default",
9098
- border: 1,
9099
- borderColor: "border.neutral.default"
9090
+ inputContainer: {
9091
+ background: "black.500A"
9092
+ }
9100
9093
  }
9101
9094
  },
9102
9095
  {
9103
9096
  variant: "solid",
9104
9097
  color: "neutral",
9105
- state: "disabled",
9106
- css: {
9107
- background: "background.neutral.disabled"
9108
- }
9109
- },
9110
- {
9111
- variant: "line",
9112
- state: "default",
9113
9098
  css: {
9114
- background: "transparent",
9115
- border: 1,
9116
- borderColor: "border.neutral.subtle"
9117
- }
9118
- },
9119
- {
9120
- variant: "line",
9121
- state: "selected",
9122
- css: {
9123
- background: "transparent",
9124
- border: 1,
9125
- borderColor: "border.neutral.default"
9126
- }
9127
- },
9128
- {
9129
- variant: "line",
9130
- state: "disabled",
9131
- css: {
9132
- background: "transparent",
9133
- border: 1,
9134
- borderColor: "border.neutral.disabled"
9099
+ inputContainer: {
9100
+ background: "background.neutral.default",
9101
+ _groupDisabled: {
9102
+ background: "background.neutral.disabled"
9103
+ }
9104
+ }
9135
9105
  }
9136
9106
  }
9137
9107
  ],
@@ -9139,58 +9109,11 @@ const inputRecipe = cva({
9139
9109
  isTextArea: false,
9140
9110
  variant: "solid",
9141
9111
  color: "neutral",
9142
- state: "default",
9143
- radius: "md"
9144
- }
9145
- });
9146
- const labelRecipe = cva({
9147
- base: {
9148
- textStyle: "label.sm",
9149
- textAlign: "start",
9150
- width: "100%",
9151
- display: "inline-block"
9152
- },
9153
- variants: {
9154
- state: {
9155
- default: {},
9156
- selected: {},
9157
- disabled: {}
9158
- },
9159
- color: {
9160
- alpha: {
9161
- color: "content.static.white.bold"
9162
- },
9163
- neutral: {
9164
- color: "content.neutral.subtle"
9165
- }
9166
- },
9167
- radius: {
9168
- md: {},
9169
- lg: {},
9170
- full: {}
9171
- }
9172
- },
9173
- compoundVariants: [
9174
- {
9175
- state: "disabled",
9176
- css: {
9177
- color: "content.neutral.disabled"
9178
- }
9179
- }
9180
- ],
9181
- defaultVariants: {
9182
- color: "neutral",
9183
- state: "default",
9184
9112
  radius: "md"
9185
9113
  }
9186
9114
  });
9187
- const StyledInputWrapper = styled(ark.div, inputRecipe);
9188
- const StyledLabel$1 = styled(ark.label, labelRecipe);
9189
- const RequiredStar = () => /* @__PURE__ */ jsxRuntime.jsx(ark.span, { className: inputSlotRecipe().requiredStar, "aria-hidden": "true", children: "*" });
9190
- const Description = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx(ark.span, { className: inputSlotRecipe().description, children });
9191
9115
  const Input = React.forwardRef(
9192
9116
  ({
9193
- value,
9194
9117
  required,
9195
9118
  disabled,
9196
9119
  label,
@@ -9202,74 +9125,59 @@ const Input = React.forwardRef(
9202
9125
  radius,
9203
9126
  onChange,
9204
9127
  className,
9128
+ css: css2,
9205
9129
  ...rest
9206
9130
  }, ref) => {
9207
- const [state, setState] = React.useState(disabled ? "disabled" : "default");
9208
- React.useEffect(() => {
9209
- setState(disabled ? "disabled" : "default");
9210
- }, [disabled]);
9211
- const handleInputChange = (e) => {
9131
+ const recipe = inputRecipe({
9132
+ variant,
9133
+ color,
9134
+ radius
9135
+ });
9136
+ const innerRef = React.useRef(null);
9137
+ const inputRef = ref || innerRef;
9138
+ const handleInputChange = React.useCallback(
9139
+ (e) => {
9140
+ if (disabled) return;
9141
+ const { value } = e.target;
9142
+ e.target.value = value.slice(0, textLimit);
9143
+ onChange == null ? void 0 : onChange(e);
9144
+ },
9145
+ [disabled, onChange, textLimit]
9146
+ );
9147
+ const handleContainerClick = React.useCallback(() => {
9212
9148
  if (disabled) return;
9213
- const value2 = e.target.value;
9214
- if (textLimit && value2.length > textLimit) return;
9215
- setState(value2 ? "selected" : "default");
9216
- onChange == null ? void 0 : onChange(e);
9217
- };
9218
- const Label = ({ visible, children }) => {
9219
- console.log("color", color);
9220
- return visible ? /* @__PURE__ */ jsxRuntime.jsxs(StyledLabel$1, { state, color, radius, children: [
9221
- children,
9222
- required && /* @__PURE__ */ jsxRuntime.jsx(RequiredStar, {})
9223
- ] }) : null;
9224
- };
9225
- return /* @__PURE__ */ jsxRuntime.jsxs(VStack$1, { gap: 1, children: [
9149
+ if (inputRef.current) {
9150
+ inputRef.current.focus();
9151
+ }
9152
+ }, [disabled, inputRef]);
9153
+ const RequiredStar = React.useCallback(
9154
+ () => /* @__PURE__ */ jsxRuntime.jsx("span", { className: recipe.requiredStar, "aria-hidden": "true", children: "*" }),
9155
+ [recipe.requiredStar]
9156
+ );
9157
+ const Description2 = React.useCallback(
9158
+ ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: recipe.description, children }),
9159
+ [recipe.description]
9160
+ );
9161
+ const Label = React.useCallback(
9162
+ ({ visible, children }) => {
9163
+ return visible ? /* @__PURE__ */ jsxRuntime.jsxs("label", { className: recipe.label, children: [
9164
+ children,
9165
+ required && /* @__PURE__ */ jsxRuntime.jsx(RequiredStar, {})
9166
+ ] }) : null;
9167
+ },
9168
+ [recipe.label, required, RequiredStar]
9169
+ );
9170
+ return /* @__PURE__ */ jsxRuntime.jsxs(VStack2, { gap: 1, className: "group", "data-disabled": disabled || void 0, children: [
9226
9171
  /* @__PURE__ */ jsxRuntime.jsx(Label, { visible: !!(label && labelPosition === "outside"), children: label }),
9227
- /* @__PURE__ */ jsxRuntime.jsxs(
9228
- StyledInputWrapper,
9229
- {
9230
- state,
9231
- variant,
9232
- color,
9233
- radius,
9234
- className: cx(css$1({ display: "flex", flexDirection: "column", gap: 1 }), className),
9235
- children: [
9236
- /* @__PURE__ */ jsxRuntime.jsx(Label, { visible: !!(label && labelPosition === "inside"), children: label }),
9237
- /* @__PURE__ */ jsxRuntime.jsx(
9238
- "input",
9239
- {
9240
- value,
9241
- disabled,
9242
- onFocus: () => !disabled && setState("selected"),
9243
- onBlur: () => !disabled && setState("default"),
9244
- onChange: handleInputChange,
9245
- ref,
9246
- ...rest
9247
- }
9248
- )
9249
- ]
9250
- }
9251
- ),
9252
- description && /* @__PURE__ */ jsxRuntime.jsx(Description, { children: description })
9172
+ /* @__PURE__ */ jsxRuntime.jsxs(Stack2, { gap: 1, className: cx(recipe.inputContainer, className), onClick: handleContainerClick, css: css2, children: [
9173
+ /* @__PURE__ */ jsxRuntime.jsx(Label, { visible: !!(label && labelPosition === "inside"), children: label }),
9174
+ /* @__PURE__ */ jsxRuntime.jsx(styled.input, { ref: inputRef, disabled, onChange: handleInputChange, ...rest })
9175
+ ] }),
9176
+ description && /* @__PURE__ */ jsxRuntime.jsx(Description2, { children: description })
9253
9177
  ] });
9254
9178
  }
9255
9179
  );
9256
9180
  Input.displayName = "Input";
9257
- const StyledTextAreaWrapper = styled(ark.div, inputRecipe);
9258
- const StyledLabel = styled(ark.label, labelRecipe);
9259
- const TextLengthIndicator = ({ count, limit, disabled }) => {
9260
- return /* @__PURE__ */ jsxRuntime.jsx(
9261
- ark.span,
9262
- {
9263
- className: cx(
9264
- inputSlotRecipe().textLengthIndicator,
9265
- css$1({
9266
- color: disabled ? "content.neutral.disabled" : "content.neutral.subtlest"
9267
- })
9268
- ),
9269
- children: `${count}${limit ? ` / ${limit}` : ""}`
9270
- }
9271
- );
9272
- };
9273
9181
  const Textarea = React.forwardRef(
9274
9182
  ({
9275
9183
  value,
@@ -9280,62 +9188,70 @@ const Textarea = React.forwardRef(
9280
9188
  labelPosition = "outside",
9281
9189
  textLimit,
9282
9190
  showTextCount = false,
9283
- isTextArea,
9284
9191
  color,
9285
9192
  radius,
9286
9193
  variant,
9287
9194
  onChange,
9288
9195
  className,
9196
+ css: css2,
9289
9197
  ...rest
9290
9198
  }, ref) => {
9291
- const [state, setState] = React.useState(disabled ? "disabled" : "default");
9292
- React.useEffect(() => {
9293
- setState(disabled ? "disabled" : "default");
9294
- }, [disabled]);
9295
- const handleTextareaChange = (e) => {
9199
+ const [count, setCount] = React.useState((value == null ? void 0 : value.toString().length) || 0);
9200
+ const recipe = inputRecipe({
9201
+ variant,
9202
+ color,
9203
+ radius,
9204
+ isTextArea: true
9205
+ });
9206
+ const innerRef = React.useRef(null);
9207
+ const inputRef = ref || innerRef;
9208
+ const handleTextareaChange = React.useCallback(
9209
+ (e) => {
9210
+ if (disabled) return;
9211
+ const { value: value2 } = e.target;
9212
+ e.target.value = value2.slice(0, textLimit);
9213
+ onChange == null ? void 0 : onChange(e);
9214
+ if (showTextCount) setCount(value2.length);
9215
+ },
9216
+ [disabled, onChange, textLimit, showTextCount]
9217
+ );
9218
+ const handleContainerClick = React.useCallback(() => {
9296
9219
  if (disabled) return;
9297
- const value2 = e.target.value;
9298
- if (textLimit && value2.length > textLimit) return;
9299
- setState(value2 ? "selected" : "default");
9300
- onChange == null ? void 0 : onChange(e);
9301
- e.target.scrollTop = e.target.scrollHeight;
9302
- };
9303
- const Label = ({ visible, children }) => {
9304
- return visible ? /* @__PURE__ */ jsxRuntime.jsxs(StyledLabel, { state, color, radius, children: [
9305
- children,
9306
- required && /* @__PURE__ */ jsxRuntime.jsx(RequiredStar, {})
9307
- ] }) : null;
9308
- };
9309
- return /* @__PURE__ */ jsxRuntime.jsxs(VStack$1, { gap: 1, children: [
9220
+ if (inputRef.current) {
9221
+ inputRef.current.focus();
9222
+ }
9223
+ }, [disabled, inputRef]);
9224
+ const RequiredStar = React.useCallback(
9225
+ () => /* @__PURE__ */ jsxRuntime.jsx("span", { className: recipe.requiredStar, "aria-hidden": "true", children: "*" }),
9226
+ [recipe.requiredStar]
9227
+ );
9228
+ const Description2 = React.useCallback(
9229
+ ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: recipe.description, children }),
9230
+ [recipe.description]
9231
+ );
9232
+ const Label = React.useCallback(
9233
+ ({ visible, children }) => {
9234
+ return visible ? /* @__PURE__ */ jsxRuntime.jsxs("label", { className: recipe.label, children: [
9235
+ children,
9236
+ required && /* @__PURE__ */ jsxRuntime.jsx(RequiredStar, {})
9237
+ ] }) : null;
9238
+ },
9239
+ [recipe.label, required, RequiredStar]
9240
+ );
9241
+ const TextLengthIndicator = React.useCallback(
9242
+ ({ count: count2, limit }) => {
9243
+ return /* @__PURE__ */ jsxRuntime.jsx("span", { className: recipe.textLengthIndicator, children: `${count2}${limit ? ` / ${limit}` : ""}` });
9244
+ },
9245
+ [recipe.textLengthIndicator]
9246
+ );
9247
+ return /* @__PURE__ */ jsxRuntime.jsxs(VStack2, { gap: 1, className: "group", "data-disabled": disabled || void 0, children: [
9310
9248
  /* @__PURE__ */ jsxRuntime.jsx(Label, { visible: !!(label && labelPosition === "outside"), children: label }),
9311
- /* @__PURE__ */ jsxRuntime.jsxs(
9312
- StyledTextAreaWrapper,
9313
- {
9314
- isTextArea: true,
9315
- state,
9316
- color,
9317
- radius,
9318
- variant,
9319
- className: cx(css$1({ position: "relative", display: "flex", flexDirection: "column", gap: 1 }), className),
9320
- children: [
9321
- /* @__PURE__ */ jsxRuntime.jsx(Label, { visible: !!(label && labelPosition === "inside"), children: label }),
9322
- /* @__PURE__ */ jsxRuntime.jsx(
9323
- "textarea",
9324
- {
9325
- value,
9326
- disabled,
9327
- onChange: handleTextareaChange,
9328
- onFocus: () => !disabled && setState("selected"),
9329
- onBlur: () => !disabled && setState("default"),
9330
- ref,
9331
- ...rest
9332
- }
9333
- ),
9334
- showTextCount && /* @__PURE__ */ jsxRuntime.jsx(TextLengthIndicator, { count: value.length, limit: textLimit, disabled })
9335
- ]
9336
- }
9337
- ),
9338
- description && /* @__PURE__ */ jsxRuntime.jsx(Description, { children: description })
9249
+ /* @__PURE__ */ jsxRuntime.jsxs(Stack2, { gap: 1, className: cx(recipe.inputContainer, className), onClick: handleContainerClick, css: css2, children: [
9250
+ /* @__PURE__ */ jsxRuntime.jsx(Label, { visible: !!(label && labelPosition === "inside"), children: label }),
9251
+ /* @__PURE__ */ jsxRuntime.jsx("textarea", { ref: inputRef, value, disabled, onChange: handleTextareaChange, ...rest }),
9252
+ showTextCount && /* @__PURE__ */ jsxRuntime.jsx(TextLengthIndicator, { count, limit: textLimit })
9253
+ ] }),
9254
+ description && /* @__PURE__ */ jsxRuntime.jsx(Description2, { children: description })
9339
9255
  ] });
9340
9256
  }
9341
9257
  );
@@ -9424,7 +9340,7 @@ const keyframes = defineKeyframes({
9424
9340
  "100%": { transform: "rotate(360deg)" }
9425
9341
  }
9426
9342
  });
9427
- var m = { colors: { content: { neutral: { bold: { value: { base: "{colors.neutral.0}", _dark: "{colors.neutral.1100}" } }, default: { value: { base: "{colors.neutral.300}", _dark: "{colors.neutral.1000}" } }, subtle: { value: { base: "{colors.neutral.600}", _dark: "{colors.neutral.900}" } }, subtlest: { value: { base: "{colors.neutral.900}", _dark: "{colors.neutral.500}" } }, disabled: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.600}" } }, default_inverse: { value: { base: "{colors.neutral.1100}", _dark: "{colors.neutral.0}" } } }, neuroidPrimary: { default: { value: { base: "{colors.purple.500}", _dark: "{colors.purple.400}" } }, default_inverse: { value: { base: "{colors.purple.800}", _dark: "{colors.purple.800}" } } }, danger: { default: { value: { base: "{colors.red.600}", _dark: "{colors.red.400}" } } }, warning: { default: { value: { base: "{colors.orange.600}", _dark: "{colors.orange.400}" } } }, success: { default: { value: { base: "{colors.green.600}", _dark: "{colors.green.400}" } } }, informative: { default: { value: { base: "{colors.blue.600}", _dark: "{colors.blue.400}" } } }, zoltarinaPrimary: { default: { value: { base: "{colors.ohre.800}", _dark: "{colors.ohre.400}" } }, defult_inverse: { value: { base: "{colors.ohre.1000}", _dark: "{colors.ohre.1000}" } } }, heydPrimary: { default: { value: { base: "{colors.cyan.800}", _dark: "{colors.cyan.400}" } }, defult_inverse: { value: { base: "{colors.cyan.1000}", _dark: "{colors.cyan.1000}" } } }, static: { white: { bold: { value: { base: "{colors.neutral.1200}", _dark: "{colors.neutral.1200}" } }, default: { value: { base: "{colors.neutral.1050}", _dark: "{colors.neutral.1050}" } }, subtle: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.1000}" } }, subtlest: { value: { base: "{colors.neutral.900}", _dark: "{colors.neutral.900}" } }, disabled: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.800}" } } }, black: { bold: { value: { base: "{colors.neutral.0}", _dark: "{colors.neutral.0}" } }, default: { value: { base: "{colors.neutral.200}", _dark: "{colors.neutral.200}" } }, subtle: { value: { base: "{colors.neutral.400}", _dark: "{colors.neutral.400}" } }, subtlest: { value: { base: "{colors.neutral.600}", _dark: "{colors.neutral.600}" } }, disabled: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.800}" } } } }, heybeePrimary: { default: { value: { base: "{colors.yellow.800}", _dark: "{colors.yellow.500}" } }, default_inverse: { value: { base: "{colors.yellow.1000}", _dark: "{colors.yellow.1000}" } } } }, background: { neutral: { default: { value: { base: "{colors.neutral.1050}", _dark: "{colors.neutral.200}" } }, selected: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.300}" } }, disabled: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.400}" } } }, neuroidPrimary: { default: { value: { base: "{colors.purple.300}", _dark: "{colors.purple.600}" } }, selected: { value: { base: "{colors.purple.400}", _dark: "{colors.purple.700}" } } }, neuroidSecondary: { default: { value: { base: "{colors.purple.200}", _dark: "{colors.purple.300}" } }, selected: { value: { base: "{colors.purple.300}", _dark: "{colors.purple.400}" } } }, danger: { default: { value: { base: "{colors.red.300}", _dark: "{colors.red.700}" } }, selected: { value: { base: "{colors.red.400}", _dark: "{colors.red.800}" } } }, warning: { default: { value: { base: "{colors.orange.300}", _dark: "{colors.orange.700}" } }, selected: { value: { base: "{colors.orange.400}", _dark: "{colors.orange.800}" } } }, success: { default: { value: { base: "{colors.green.300}", _dark: "{colors.green.700}" } }, selected: { value: { base: "{colors.green.400}", _dark: "{colors.green.800}" } } }, informative: { default: { value: { base: "{colors.blue.300}", _dark: "{colors.blue.700}" } }, selected: { value: { base: "{colors.blue.400}", _dark: "{colors.blue.800}" } } }, zoltarinaPrimary: { default: { value: { base: "{colors.ohre.400}", _dark: "{colors.ohre.400}" } }, selected: { value: { base: "{colors.ohre.500}", _dark: "{colors.ohre.500}" } } }, zoltarinaSecondary: { default: { value: { base: "{colors.ohre.200}", _dark: "{colors.ohre.200}" } }, selected: { value: { base: "{colors.ohre.300}", _dark: "{colors.ohre.300}" } } }, heydPrimary: { default: { value: { base: "{colors.cyan.500}", _dark: "{colors.cyan.500}" } }, selected: { value: { base: "{colors.cyan.600}", _dark: "{colors.cyan.600}" } } }, heydSecondary: { default: { value: { base: "{colors.cyan.200}", _dark: "{colors.cyan.200}" } }, selected: { value: { base: "{colors.cyan.300}", _dark: "{colors.cyan.300}" } } }, static: { whiteAlpha: { bold: { value: { base: "{colors.white.700A}", _dark: "{colors.white.700A}" } }, default: { value: { base: "{colors.white.500A}", _dark: "{colors.white.500A}" } }, selected: { value: { base: "{colors.white.600A}", _dark: "{colors.white.600A}" } }, disabled: { value: { base: "{colors.white.500A}", _dark: "{colors.white.500A}" } } }, blackAlpha: { bold: { value: { base: "{colors.black.700A}", _dark: "{colors.black.700A}" } }, default: { value: { base: "{colors.black.500A}", _dark: "{colors.black.500A}" } }, selected: { value: { base: "{colors.black.600A}", _dark: "{colors.black.600A}" } }, disabled: { value: { base: "{colors.black.500A}", _dark: "{colors.black.500A}" } } } }, heybeePrimary: { default: { value: { base: "{colors.yellow.500}", _dark: "{colors.yellow.500}" } }, selected: { value: { base: "{colors.yellow.600}", _dark: "{colors.yellow.600}" } } } }, surface: { base: { value: { base: "{colors.neutral.1100}", _dark: "{colors.neutral.0}" } }, layer_1: { value: { base: "{colors.neutral.1100}", _dark: "{colors.neutral.100}" } }, layer_2: { value: { base: "{colors.neutral.1050}", _dark: "{colors.neutral.200}" } } }, shadow: { overlay: { value: { base: "{colors.black.100A}", _dark: "{colors.black.400A}" } }, raised: { value: { base: "{colors.black.400A}", _dark: "{colors.black.600A}" } } }, scrim: { default: { value: { base: "{colors.black.600A}", _dark: "{colors.black.600A}" } } }, skeleton: { default: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.100}" } }, subtle: { value: { base: "{colors.neutral.700}", _dark: "{colors.neutral.200}" } } }, border: { neutral: { default: { value: { base: "{colors.neutral.700}", _dark: "{colors.neutral.400}" } }, subtle: { value: { base: "{colors.neutral.900}", _dark: "{colors.neutral.300}" } }, disabled: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.200}" } } }, neuroidPrimary: { default: { value: { base: "{colors.purple.500}", _dark: "{colors.purple.400}" } } }, danger: { default: { value: { base: "{colors.red.500}", _dark: "{colors.red.400}" } } }, warning: { default: { value: { base: "{colors.orange.500}", _dark: "{colors.orange.400}" } } }, success: { default: { value: { base: "{colors.green.500}", _dark: "{colors.green.400}" } } }, informative: { default: { value: { base: "{colors.blue.500}", _dark: "{colors.blue.400}" } } }, zoltarinaPrimary: { default: { value: { base: "{colors.ohre.800}", _dark: "{colors.ohre.400}" } } }, heydPrimary: { default: { value: { base: "{colors.cyan.800}", _dark: "{colors.cyan.400}" } } }, heybeePrimary: { default: { value: { base: "{colors.yellow.800}", _dark: "{colors.yellow.500}" } } } } }, shadows: { raised: { value: "0px 1px 3px 0px {colors.shadow.raised}" }, overlay: { value: "0px 20px 25px -5px {colors.shadow.overlay}" } } }, v = { colors: { neutral: { 0: { value: "#080A0E" }, 100: { value: "#101216" }, 200: { value: "#181A1E" }, 300: { value: "#282A2E" }, 400: { value: "#383A3E" }, 500: { value: "#505256" }, 600: { value: "#64666A" }, 700: { value: "#787A7E" }, 800: { value: "#A0A2A6" }, 900: { value: "#B4B6BA" }, 1e3: { value: "#F2F4F8" }, 1050: { value: "#EDEEF1" }, 1100: { value: "#FAFCFF" }, 1200: { value: "#F8F9FF" } }, black: { "700A": { value: "rgba(0,0,0,0.8)" }, "600A": { value: "rgba(0,0,0,0.6)" }, "500A": { value: "rgba(0,0,0,0.4)" }, "400A": { value: "rgba(0,0,0,0.32)" }, "300A": { value: "rgba(0,0,0,0.2)" }, "200A": { value: "rgba(0,0,0,0.12)" }, "100A": { value: "rgba(0,0,0,0.08)" } }, white: { "700A": { value: "rgba(255,255,255,0.8)" }, "600A": { value: "rgba(255,255,255,0.6)" }, "500A": { value: "rgba(255,255,255,0.4)" }, "400A": { value: "rgba(255,255,255,0.32)" }, "300A": { value: "rgba(255,255,255,0.2)" }, "200A": { value: "rgba(255,255,255,0.12)" }, "100A": { value: "rgba(255,255,255,0.08)" } }, red: { 100: { value: "#ffeceb" }, 200: { value: "#ffd5d2" }, 300: { value: "#fd9891" }, 400: { value: "#f87168" }, 500: { value: "#f15b50" }, 600: { value: "#e2483d" }, 700: { value: "#c9372c" }, 800: { value: "#87241c" }, 900: { value: "#5d1f1a" }, 1e3: { value: "#42221f" } }, orange: { 100: { value: "#fff5eb" }, 200: { value: "#ffe9d2" }, 300: { value: "#fdc991" }, 400: { value: "#f8b268" }, 500: { value: "#f1a350" }, 600: { value: "#e2923d" }, 700: { value: "#c97d2c" }, 800: { value: "#87531c" }, 900: { value: "#5d3d1a" }, 1e3: { value: "#42311f" } }, blue: { 100: { value: "#ebf2ff" }, 200: { value: "#d2e1ff" }, 300: { value: "#91b5fd" }, 400: { value: "#6898f8" }, 500: { value: "#5086f1" }, 600: { value: "#3d74e2" }, 700: { value: "#2c60c9" }, 800: { value: "#1c4087" }, 900: { value: "#1a305d" }, 1e3: { value: "#1f2b42" } }, green: { 100: { value: "#ebfff5" }, 200: { value: "#9cfccc" }, 300: { value: "#47EB99" }, 400: { value: "#26d980" }, 500: { value: "#14b866" }, 600: { value: "#10934c" }, 700: { value: "#147042" }, 800: { value: "#125433" }, 900: { value: "#104129" }, 1e3: { value: "#0b2819" } }, purple: { 100: { value: "#f3ebff" }, 200: { value: "#e9ddfd" }, 300: { value: "#cbacfb" }, 400: { value: "#ac7cf8" }, 500: { value: "#8d4bf6" }, 600: { value: "#6d19f5" }, 700: { value: "#570ad1" }, 800: { value: "#4308a0" }, 900: { value: "#2f0670" }, 1e3: { value: "#1a033f" } }, ohre: { 100: { value: "#FFF8F1" }, 200: { value: "#FFE6C8" }, 300: { value: "#FFD3A0" }, 400: { value: "#FFC077" }, 500: { value: "#E2A763" }, 600: { value: "#C58F50" }, 700: { value: "#A8773F" }, 800: { value: "#8A6030" }, 900: { value: "#6D4B22" }, 1e3: { value: "#503617" } }, cyan: { 100: { value: "#ecffff" }, 200: { value: "#c1feff" }, 300: { value: "#96feff" }, 400: { value: "#6bfdff" }, 500: { value: "#3df1f3" }, 600: { value: "#2acfd1" }, 700: { value: "#1aadaf" }, 800: { value: "#0e8c8d" }, 900: { value: "#056a6b" }, 1e3: { value: "#004849" } }, yellow: { 100: { value: "#FFFBED" }, 200: { value: "#FFF3C5" }, 300: { value: "#FFEB9D" }, 400: { value: "#FFE375" }, 500: { value: "#FFDB4D" }, 600: { value: "#DDBC38" }, 700: { value: "#BB9D27" }, 800: { value: "#997F19" }, 900: { value: "#77620E" }, 1e3: { value: "#554506" } } }, borderWidths: { none: { value: "0px" }, sm: { value: "1px" }, md: { value: "2px" }, lg: { value: "4px" } }, spacing: { 0: { value: "0rem" }, 1: { value: "0.25rem" }, 2: { value: "0.5rem" }, 3: { value: "0.75rem" }, 4: { value: "1rem" }, 6: { value: "1.5rem" }, 8: { value: "2rem" }, 12: { value: "3rem" }, 20: { value: "5rem" }, 30: { value: "7.5rem" }, 56: { value: "14rem" }, 72: { value: "18rem" }, 98: { value: "24rem" }, 128: { value: "32rem" }, 160: { value: "40rem" } }, radii: { none: { value: "0px" }, xs: { value: "2px" }, sm: { value: "4px" }, md: { value: "8px" }, lg: { value: "16px" }, full: { value: "9999px" } }, fontSizes: { xs: { value: "0.75rem" }, sm: { value: "0.875rem" }, md: { value: "1rem" }, lg: { value: "1.25rem" }, xl: { value: "1.5rem" }, "2xl": { value: "2rem" }, "3xl": { value: "2.5rem" }, "4xl": { value: "3rem" } }, letterSpacings: { xs: { value: "-1.5px" }, sm: { value: "-1.2px" }, md: { value: "-1px" }, lg: { value: "-0.8px" }, xl: { value: "-0.6px" }, "2xl": { value: "-0.4px" }, "3xl": { value: "-0.2px" } }, lineHeights: { md: { value: "1rem" }, lg: { value: "1.25rem" }, xl: { value: "1.5rem" }, "2xl": { value: "1.75rem" }, "3xl": { value: "2.25rem" }, "4xl": { value: "2.75rem" }, "5xl": { value: "3rem" } }, fontWeights: { regular: { value: "400" }, medium: { value: "500" }, semibold: { value: "600" }, bold: { value: "700" }, regularItalic: { value: "Italic" }, mediumItalic: { value: "Medium Italic" } }, fonts: { inter: { value: "Inter" }, notoSans: { value: "Noto Sans" } } }, $ = { body: { md: { value: { fontFamily: "notoSans", fontWeight: "regular", fontSize: "sm", lineHeight: "lg", letterSpacing: "3xl" } }, lg: { value: { fontFamily: "notoSans", fontWeight: "regular", fontSize: "md", lineHeight: "xl", letterSpacing: "3xl" } }, sm: { value: { fontSize: "xs", fontWeight: "regular", fontFamily: "notoSans", lineHeight: "md", letterSpacing: "3xl" } } }, label: { sm: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "xs", lineHeight: "md", letterSpacing: "3xl" } }, md: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "sm", lineHeight: "lg", letterSpacing: "3xl" } } }, title: { sm: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "sm", lineHeight: "lg", letterSpacing: "2xl" } }, md: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "md", lineHeight: "xl", letterSpacing: "xl" } }, lg: { value: { fontFamily: "notoSans", fontWeight: "semibold", fontSize: "lg", lineHeight: "2xl", letterSpacing: "xl" } } }, headline: { sm: { value: { fontFamily: "inter", fontWeight: "semibold", fontSize: "xl", lineHeight: "2xl", letterSpacing: "lg" } }, md: { value: { fontFamily: "inter", fontWeight: "bold", fontSize: "2xl", lineHeight: "3xl", letterSpacing: "md" } } }, display: { md: { value: { fontFamily: "inter", fontWeight: "bold", fontSize: "3xl", lineHeight: "4xl", letterSpacing: "sm" } }, lg: { value: { fontFamily: "inter", fontWeight: "bold", fontSize: "4xl", lineHeight: "5xl", letterSpacing: "xs" } } } }, g = { semantic: m, primitive: v, textStyles: $ };
9343
+ var m = { colors: { content: { neutral: { bold: { value: { base: "{colors.neutral.0}", _dark: "{colors.neutral.1100}" } }, default: { value: { base: "{colors.neutral.300}", _dark: "{colors.neutral.1000}" } }, subtle: { value: { base: "{colors.neutral.600}", _dark: "{colors.neutral.900}" } }, subtlest: { value: { base: "{colors.neutral.900}", _dark: "{colors.neutral.500}" } }, disabled: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.600}" } }, default_inverse: { value: { base: "{colors.neutral.1100}", _dark: "{colors.neutral.0}" } } }, neuroidPrimary: { default: { value: { base: "{colors.purple.500}", _dark: "{colors.purple.400}" } }, default_inverse: { value: { base: "{colors.purple.800}", _dark: "{colors.purple.800}" } } }, danger: { default: { value: { base: "{colors.red.600}", _dark: "{colors.red.400}" } } }, warning: { default: { value: { base: "{colors.orange.600}", _dark: "{colors.orange.400}" } } }, success: { default: { value: { base: "{colors.green.600}", _dark: "{colors.green.400}" } } }, informative: { default: { value: { base: "{colors.blue.600}", _dark: "{colors.blue.400}" } } }, zoltarinaPrimary: { default: { value: { base: "{colors.ohre.800}", _dark: "{colors.ohre.400}" } }, default_inverse: { value: { base: "{colors.ohre.1000}", _dark: "{colors.ohre.1000}" } } }, heydPrimary: { default: { value: { base: "{colors.cyan.800}", _dark: "{colors.cyan.400}" } }, default_inverse: { value: { base: "{colors.cyan.1000}", _dark: "{colors.cyan.1000}" } } }, static: { white: { bold: { value: { base: "{colors.neutral.1200}", _dark: "{colors.neutral.1200}" } }, default: { value: { base: "{colors.neutral.1050}", _dark: "{colors.neutral.1050}" } }, subtle: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.1000}" } }, subtlest: { value: { base: "{colors.neutral.900}", _dark: "{colors.neutral.900}" } }, disabled: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.800}" } } }, black: { bold: { value: { base: "{colors.neutral.0}", _dark: "{colors.neutral.0}" } }, default: { value: { base: "{colors.neutral.200}", _dark: "{colors.neutral.200}" } }, subtle: { value: { base: "{colors.neutral.400}", _dark: "{colors.neutral.400}" } }, subtlest: { value: { base: "{colors.neutral.600}", _dark: "{colors.neutral.600}" } }, disabled: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.800}" } } } }, heybeePrimary: { default: { value: { base: "{colors.yellow.800}", _dark: "{colors.yellow.500}" } }, default_inverse: { value: { base: "{colors.yellow.1000}", _dark: "{colors.yellow.1000}" } } }, neutralInverse: { bold: { value: { base: "{colors.neutral.1100}", _dark: "{colors.neutral.0}" } }, default: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.300}" } }, subtle: { value: { base: "{colors.neutral.900}", _dark: "{colors.neutral.600}" } }, subtlest: { value: { base: "{colors.neutral.500}", _dark: "{colors.neutral.900}" } }, disabled: { value: { base: "{colors.neutral.600}", _dark: "{colors.neutral.800}" } }, default_inverse: { value: { base: "{colors.neutral.0}", _dark: "{colors.neutral.1100}" } } } }, background: { neutral: { default: { value: { base: "{colors.neutral.1050}", _dark: "{colors.neutral.200}" } }, selected: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.300}" } }, disabled: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.400}" } } }, neuroidPrimary: { default: { value: { base: "{colors.purple.300}", _dark: "{colors.purple.600}" } }, selected: { value: { base: "{colors.purple.400}", _dark: "{colors.purple.700}" } } }, neuroidSecondary: { default: { value: { base: "{colors.purple.200}", _dark: "{colors.purple.300}" } }, selected: { value: { base: "{colors.purple.300}", _dark: "{colors.purple.400}" } } }, danger: { default: { value: { base: "{colors.red.300}", _dark: "{colors.red.700}" } }, selected: { value: { base: "{colors.red.400}", _dark: "{colors.red.800}" } } }, warning: { default: { value: { base: "{colors.orange.300}", _dark: "{colors.orange.700}" } }, selected: { value: { base: "{colors.orange.400}", _dark: "{colors.orange.800}" } } }, success: { default: { value: { base: "{colors.green.300}", _dark: "{colors.green.700}" } }, selected: { value: { base: "{colors.green.400}", _dark: "{colors.green.800}" } } }, informative: { default: { value: { base: "{colors.blue.300}", _dark: "{colors.blue.700}" } }, selected: { value: { base: "{colors.blue.400}", _dark: "{colors.blue.800}" } } }, zoltarinaPrimary: { default: { value: { base: "{colors.ohre.400}", _dark: "{colors.ohre.400}" } }, selected: { value: { base: "{colors.ohre.500}", _dark: "{colors.ohre.500}" } } }, zoltarinaSecondary: { default: { value: { base: "{colors.ohre.200}", _dark: "{colors.ohre.200}" } }, selected: { value: { base: "{colors.ohre.300}", _dark: "{colors.ohre.300}" } } }, heydPrimary: { default: { value: { base: "{colors.cyan.500}", _dark: "{colors.cyan.500}" } }, selected: { value: { base: "{colors.cyan.600}", _dark: "{colors.cyan.600}" } } }, heydSecondary: { default: { value: { base: "{colors.cyan.200}", _dark: "{colors.cyan.200}" } }, selected: { value: { base: "{colors.cyan.300}", _dark: "{colors.cyan.300}" } } }, static: { whiteAlpha: { bold: { value: { base: "{colors.white.700A}", _dark: "{colors.white.700A}" } }, default: { value: { base: "{colors.white.500A}", _dark: "{colors.white.500A}" } }, selected: { value: { base: "{colors.white.600A}", _dark: "{colors.white.600A}" } }, disabled: { value: { base: "{colors.white.500A}", _dark: "{colors.white.500A}" } } }, blackAlpha: { bold: { value: { base: "{colors.black.700A}", _dark: "{colors.black.700A}" } }, default: { value: { base: "{colors.black.500A}", _dark: "{colors.black.500A}" } }, selected: { value: { base: "{colors.black.600A}", _dark: "{colors.black.600A}" } }, disabled: { value: { base: "{colors.black.500A}", _dark: "{colors.black.500A}" } } } }, heybeePrimary: { default: { value: { base: "{colors.yellow.500}", _dark: "{colors.yellow.500}" } }, selected: { value: { base: "{colors.yellow.600}", _dark: "{colors.yellow.600}" } } }, neutralInverse: { default: { value: { base: "{colors.neutral.200}", _dark: "{colors.neutral.1050}" } }, selected: { value: { base: "{colors.neutral.300}", _dark: "{colors.neutral.1000}" } }, disabled: { value: { base: "{colors.neutral.400}", _dark: "{colors.neutral.1000}" } } } }, surface: { base: { value: { base: "{colors.neutral.1100}", _dark: "{colors.neutral.0}" } }, layer_1: { value: { base: "{colors.neutral.1100}", _dark: "{colors.neutral.100}" } }, layer_2: { value: { base: "{colors.neutral.1050}", _dark: "{colors.neutral.200}" } } }, shadow: { overlay: { value: { base: "{colors.black.100A}", _dark: "{colors.black.400A}" } }, raised: { value: { base: "{colors.black.400A}", _dark: "{colors.black.600A}" } } }, scrim: { default: { value: { base: "{colors.black.600A}", _dark: "{colors.black.600A}" } } }, skeleton: { default: { value: { base: "{colors.neutral.800}", _dark: "{colors.neutral.100}" } }, subtle: { value: { base: "{colors.neutral.700}", _dark: "{colors.neutral.200}" } } }, border: { neutral: { default: { value: { base: "{colors.neutral.700}", _dark: "{colors.neutral.400}" } }, subtle: { value: { base: "{colors.neutral.900}", _dark: "{colors.neutral.300}" } }, disabled: { value: { base: "{colors.neutral.1000}", _dark: "{colors.neutral.200}" } } }, neuroidPrimary: { default: { value: { base: "{colors.purple.500}", _dark: "{colors.purple.400}" } } }, danger: { default: { value: { base: "{colors.red.500}", _dark: "{colors.red.400}" } } }, warning: { default: { value: { base: "{colors.orange.500}", _dark: "{colors.orange.400}" } } }, success: { default: { value: { base: "{colors.green.500}", _dark: "{colors.green.400}" } } }, informative: { default: { value: { base: "{colors.blue.500}", _dark: "{colors.blue.400}" } } }, zoltarinaPrimary: { default: { value: { base: "{colors.ohre.800}", _dark: "{colors.ohre.400}" } } }, heydPrimary: { default: { value: { base: "{colors.cyan.800}", _dark: "{colors.cyan.400}" } } }, heybeePrimary: { default: { value: { base: "{colors.yellow.800}", _dark: "{colors.yellow.500}" } } } } }, shadows: { raised: { value: "0px 1px 3px 0px {colors.shadow.raised}" }, overlay: { value: "0px 20px 25px -5px {colors.shadow.overlay}" } } }, v = { colors: { neutral: { 0: { value: "#080A0E" }, 100: { value: "#101216" }, 200: { value: "#181A1E" }, 300: { value: "#282A2E" }, 400: { value: "#383A3E" }, 500: { value: "#505256" }, 600: { value: "#64666A" }, 700: { value: "#787A7E" }, 800: { value: "#A0A2A6" }, 900: { value: "#B4B6BA" }, 1e3: { value: "#F2F4F8" }, 1050: { value: "#EDEEF1" }, 1100: { value: "#FAFCFF" }, 1200: { value: "#F8F9FF" } }, black: { "700A": { value: "rgba(0,0,0,0.8)" }, "600A": { value: "rgba(0,0,0,0.6)" }, "500A": { value: "rgba(0,0,0,0.4)" }, "400A": { value: "rgba(0,0,0,0.32)" }, "300A": { value: "rgba(0,0,0,0.2)" }, "200A": { value: "rgba(0,0,0,0.12)" }, "100A": { value: "rgba(0,0,0,0.08)" } }, white: { "700A": { value: "rgba(255,255,255,0.8)" }, "600A": { value: "rgba(255,255,255,0.6)" }, "500A": { value: "rgba(255,255,255,0.4)" }, "400A": { value: "rgba(255,255,255,0.32)" }, "300A": { value: "rgba(255,255,255,0.2)" }, "200A": { value: "rgba(255,255,255,0.12)" }, "100A": { value: "rgba(255,255,255,0.08)" } }, red: { 100: { value: "#ffeceb" }, 200: { value: "#ffd5d2" }, 300: { value: "#fd9891" }, 400: { value: "#f87168" }, 500: { value: "#f15b50" }, 600: { value: "#e2483d" }, 700: { value: "#c9372c" }, 800: { value: "#87241c" }, 900: { value: "#5d1f1a" }, 1e3: { value: "#42221f" } }, orange: { 100: { value: "#fff5eb" }, 200: { value: "#ffe9d2" }, 300: { value: "#fdc991" }, 400: { value: "#f8b268" }, 500: { value: "#f1a350" }, 600: { value: "#e2923d" }, 700: { value: "#c97d2c" }, 800: { value: "#87531c" }, 900: { value: "#5d3d1a" }, 1e3: { value: "#42311f" } }, blue: { 100: { value: "#ebf2ff" }, 200: { value: "#d2e1ff" }, 300: { value: "#91b5fd" }, 400: { value: "#6898f8" }, 500: { value: "#5086f1" }, 600: { value: "#3d74e2" }, 700: { value: "#2c60c9" }, 800: { value: "#1c4087" }, 900: { value: "#1a305d" }, 1e3: { value: "#1f2b42" } }, green: { 100: { value: "#ebfff5" }, 200: { value: "#9cfccc" }, 300: { value: "#47EB99" }, 400: { value: "#26d980" }, 500: { value: "#14b866" }, 600: { value: "#10934c" }, 700: { value: "#147042" }, 800: { value: "#125433" }, 900: { value: "#104129" }, 1e3: { value: "#0b2819" } }, purple: { 100: { value: "#f3ebff" }, 200: { value: "#e9ddfd" }, 300: { value: "#cbacfb" }, 400: { value: "#ac7cf8" }, 500: { value: "#8d4bf6" }, 600: { value: "#6d19f5" }, 700: { value: "#570ad1" }, 800: { value: "#4308a0" }, 900: { value: "#2f0670" }, 1e3: { value: "#1a033f" } }, ohre: { 100: { value: "#FFF8F1" }, 200: { value: "#FFE6C8" }, 300: { value: "#FFD3A0" }, 400: { value: "#FFC077" }, 500: { value: "#E2A763" }, 600: { value: "#C58F50" }, 700: { value: "#A8773F" }, 800: { value: "#8A6030" }, 900: { value: "#6D4B22" }, 1e3: { value: "#503617" } }, cyan: { 100: { value: "#ecffff" }, 200: { value: "#c1feff" }, 300: { value: "#96feff" }, 400: { value: "#6bfdff" }, 500: { value: "#3df1f3" }, 600: { value: "#2acfd1" }, 700: { value: "#1aadaf" }, 800: { value: "#0e8c8d" }, 900: { value: "#056a6b" }, 1e3: { value: "#004849" } }, yellow: { 100: { value: "#FFFBED" }, 200: { value: "#FFF3C5" }, 300: { value: "#FFEB9D" }, 400: { value: "#FFE375" }, 500: { value: "#FFDB4D" }, 600: { value: "#DDBC38" }, 700: { value: "#BB9D27" }, 800: { value: "#997F19" }, 900: { value: "#77620E" }, 1e3: { value: "#554506" } } }, borderWidths: { none: { value: "0px" }, sm: { value: "1px" }, md: { value: "2px" }, lg: { value: "4px" } }, spacing: { 0: { value: "0rem" }, 1: { value: "0.25rem" }, 2: { value: "0.5rem" }, 3: { value: "0.75rem" }, 4: { value: "1rem" }, 6: { value: "1.5rem" }, 8: { value: "2rem" }, 12: { value: "3rem" }, 20: { value: "5rem" }, 30: { value: "7.5rem" }, 56: { value: "14rem" }, 72: { value: "18rem" }, 98: { value: "24rem" }, 128: { value: "32rem" }, 160: { value: "40rem" } }, radii: { none: { value: "0px" }, xs: { value: "2px" }, sm: { value: "4px" }, md: { value: "8px" }, lg: { value: "16px" }, full: { value: "9999px" } }, fontSizes: { xs: { value: "0.75rem" }, sm: { value: "0.875rem" }, md: { value: "1rem" }, lg: { value: "1.25rem" }, xl: { value: "1.5rem" }, "2xl": { value: "2rem" }, "3xl": { value: "2.5rem" }, "4xl": { value: "3rem" } }, letterSpacings: { xs: { value: "-1.5px" }, sm: { value: "-1.2px" }, md: { value: "-1px" }, lg: { value: "-0.8px" }, xl: { value: "-0.6px" }, "2xl": { value: "-0.4px" }, "3xl": { value: "-0.2px" } }, lineHeights: { md: { value: "1rem" }, lg: { value: "1.25rem" }, xl: { value: "1.5rem" }, "2xl": { value: "1.75rem" }, "3xl": { value: "2.25rem" }, "4xl": { value: "2.75rem" }, "5xl": { value: "3rem" } }, fontWeights: { regular: { value: "400" }, medium: { value: "500" }, semibold: { value: "600" }, bold: { value: "700" }, regularItalic: { value: "Italic" }, mediumItalic: { value: "Medium Italic" } }, fonts: { inter: { value: "Inter" }, notoSans: { value: "Noto Sans" } } }, $ = { body: { md: { value: { fontFamily: "notoSans", fontWeight: "regular", fontSize: "sm", lineHeight: "lg", letterSpacing: "3xl" } }, lg: { value: { fontFamily: "notoSans", fontWeight: "regular", fontSize: "md", lineHeight: "xl", letterSpacing: "3xl" } }, sm: { value: { fontSize: "xs", fontWeight: "regular", fontFamily: "notoSans", lineHeight: "md", letterSpacing: "3xl" } } }, label: { sm: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "xs", lineHeight: "md", letterSpacing: "3xl" } }, md: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "sm", lineHeight: "lg", letterSpacing: "3xl" } } }, title: { sm: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "sm", lineHeight: "lg", letterSpacing: "2xl" } }, md: { value: { fontFamily: "notoSans", fontWeight: "medium", fontSize: "md", lineHeight: "xl", letterSpacing: "xl" } }, lg: { value: { fontFamily: "notoSans", fontWeight: "semibold", fontSize: "lg", lineHeight: "2xl", letterSpacing: "xl" } } }, headline: { sm: { value: { fontFamily: "inter", fontWeight: "semibold", fontSize: "xl", lineHeight: "2xl", letterSpacing: "lg" } }, md: { value: { fontFamily: "inter", fontWeight: "bold", fontSize: "2xl", lineHeight: "3xl", letterSpacing: "md" } } }, display: { md: { value: { fontFamily: "inter", fontWeight: "bold", fontSize: "3xl", lineHeight: "4xl", letterSpacing: "sm" } }, lg: { value: { fontFamily: "inter", fontWeight: "bold", fontSize: "4xl", lineHeight: "5xl", letterSpacing: "xs" } } } }, g = { semantic: m, primitive: v, textStyles: $ };
9428
9344
  const conditions = {
9429
9345
  extend: {
9430
9346
  collapsed: '&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',