@ctlyst.id/internal-ui 2.1.14 → 2.1.15

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.js CHANGED
@@ -1162,7 +1162,7 @@ var Counter = ({
1162
1162
  isReadOnly,
1163
1163
  width: 12,
1164
1164
  type: "number",
1165
- borderColor: "neutral.200"
1165
+ borderColor: isError ? "danger.500" : "neutral.200"
1166
1166
  }
1167
1167
  ),
1168
1168
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
@@ -4150,7 +4150,34 @@ var baseStyle = definePartsStyle({
4150
4150
  panel: baseStylePanel,
4151
4151
  icon: baseStyleIcon
4152
4152
  });
4153
- var accordionTheme = defineMultiStyleConfig({ baseStyle });
4153
+ var collapseStyleButton = (0, import_styled_system.defineStyle)({
4154
+ height: 13,
4155
+ borderRadius: "sm",
4156
+ borderWidth: "1px",
4157
+ borderStyle: "solid",
4158
+ borderColor: "neutral.300"
4159
+ });
4160
+ var collapseStylePanel = (0, import_styled_system.defineStyle)({
4161
+ py: 0,
4162
+ pr: 0,
4163
+ pl: 12,
4164
+ borderBottomRadius: "sm",
4165
+ overflow: "hidden",
4166
+ backgroundColor: "neutral.200"
4167
+ });
4168
+ var collapse = definePartsStyle({
4169
+ button: collapseStyleButton,
4170
+ panel: collapseStylePanel
4171
+ });
4172
+ var accordionTheme = defineMultiStyleConfig({
4173
+ baseStyle,
4174
+ variants: {
4175
+ collapse
4176
+ },
4177
+ defaultProps: {
4178
+ variant: void 0
4179
+ }
4180
+ });
4154
4181
  var accordion_default = accordionTheme;
4155
4182
 
4156
4183
  // src/config/theme/components/alert.ts