@ctlyst.id/internal-ui 2.1.14 → 2.1.15

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -867,7 +867,7 @@ var Counter = ({
867
867
  isReadOnly,
868
868
  width: 12,
869
869
  type: "number",
870
- borderColor: "neutral.200"
870
+ borderColor: isError ? "danger.500" : "neutral.200"
871
871
  }
872
872
  ),
873
873
  /* @__PURE__ */ jsx22(
@@ -4088,7 +4088,34 @@ var baseStyle = definePartsStyle({
4088
4088
  panel: baseStylePanel,
4089
4089
  icon: baseStyleIcon
4090
4090
  });
4091
- var accordionTheme = defineMultiStyleConfig({ baseStyle });
4091
+ var collapseStyleButton = defineStyle2({
4092
+ height: 13,
4093
+ borderRadius: "sm",
4094
+ borderWidth: "1px",
4095
+ borderStyle: "solid",
4096
+ borderColor: "neutral.300"
4097
+ });
4098
+ var collapseStylePanel = defineStyle2({
4099
+ py: 0,
4100
+ pr: 0,
4101
+ pl: 12,
4102
+ borderBottomRadius: "sm",
4103
+ overflow: "hidden",
4104
+ backgroundColor: "neutral.200"
4105
+ });
4106
+ var collapse = definePartsStyle({
4107
+ button: collapseStyleButton,
4108
+ panel: collapseStylePanel
4109
+ });
4110
+ var accordionTheme = defineMultiStyleConfig({
4111
+ baseStyle,
4112
+ variants: {
4113
+ collapse
4114
+ },
4115
+ defaultProps: {
4116
+ variant: void 0
4117
+ }
4118
+ });
4092
4119
  var accordion_default = accordionTheme;
4093
4120
 
4094
4121
  // src/config/theme/components/alert.ts