@indico-data/design-system 2.22.0 → 2.23.0

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/lib/index.d.ts CHANGED
@@ -1067,10 +1067,10 @@ type MenuProps = {
1067
1067
  declare function Menu({ children }: MenuProps): react_jsx_runtime.JSX.Element;
1068
1068
 
1069
1069
  type Props = {
1070
- value: string;
1071
- status: 'success' | 'warning' | 'error' | 'info' | 'neutral' | 'primary' | 'secondary';
1072
- size: 'sm' | 'md' | 'lg';
1070
+ children: React.ReactNode | React.ReactNode[];
1071
+ status?: 'success' | 'warning' | 'error' | 'info' | 'neutral' | 'primary' | 'secondary';
1072
+ size?: 'sm' | 'md' | 'lg';
1073
1073
  };
1074
- declare const Pill: ({ value, status, size, ...rest }: Props) => react_jsx_runtime.JSX.Element;
1074
+ declare const Pill: ({ children, status, size, ...rest }: Props) => react_jsx_runtime.JSX.Element;
1075
1075
 
1076
1076
  export { animation as ANIMATION, Radio$1 as AbstractRadio, RadioGroup as AbstractRadioGroup, Accordion, breakpoints as BREAKPOINT, BarSpinner, BorderSelect, Button, allColors as COLORS, Card, Checkbox, CirclePulse, CircleSpinner, Col, ConfirmModal, Container, DatePicker, EditableInput, Form, GlobalStyles, Icon, IconButton, LabeledInput as Input, Button$1 as LegacyButton, ListTable, LoadingAwareContainer, LoadingList, margin as MARGINS, MATH, mediaQueries as MEDIA_QUERIES, Menu, ModalBase, MultiCombobox, NoInputDatePicker, NumberInput, padding as PADDINGS, Pagination, LabeledPasswordInput as PasswordInput, PercentageRing, Pill, Popper, Radio$2 as Radio, RadioGroup$1 as RadioGroup, Radio as RadioInput, RandomLoadingMessage, Row, spacings as SPACING, SearchInput, Section, SectionBlock, SectionBody, SectionHeader, SectionTable, Select$1 as Select, Select as SelectInput, Shrug, SingleCombobox, Skeleton, typography as TYPOGRAPHY, Table, TextInput, TextTruncate, LabeledTextarea as Textarea, Toggle$1 as Toggle, Toggle as ToggleInput, Tooltip, color as colorUtils, number as numberUtils, string as stringUtils };
package/lib/index.esm.js CHANGED
@@ -42639,12 +42639,12 @@ const Tooltip = (props) => {
42639
42639
  };
42640
42640
 
42641
42641
  const Pill = (_a) => {
42642
- var { value, status = 'info', size = 'sm' } = _a, rest = __rest$1(_a, ["value", "status", "size"]);
42642
+ var { children, status = 'info', size = 'sm' } = _a, rest = __rest$1(_a, ["children", "status", "size"]);
42643
42643
  const className = classNames('pill', {
42644
42644
  [`pill--${status}`]: status,
42645
42645
  [`pill--${size}`]: size,
42646
42646
  });
42647
- return (jsx("div", Object.assign({ className: className }, rest, { children: value })));
42647
+ return (jsx("div", Object.assign({ className: className }, rest, { children: children })));
42648
42648
  };
42649
42649
 
42650
42650
  export { animation as ANIMATION, Radio$1 as AbstractRadio, RadioGroup$1 as AbstractRadioGroup, Accordion, breakpoints as BREAKPOINT, BarSpinner, BorderSelect, Button$2 as Button, allColors as COLORS, Card, Checkbox, CirclePulse, CircleSpinner, Col, ConfirmModal, Container, DatePicker, EditableInput, Form, GlobalStyles, Icon, IconButton, LabeledInput as Input, Button$1 as LegacyButton, ListTable, LoadingAwareContainer, LoadingList, margin as MARGINS, MATH, mediaQueries as MEDIA_QUERIES, Menu, ModalBase, MultiCombobox, NoInputDatePicker, NumberInput, padding as PADDINGS, Pagination, LabeledPasswordInput as PasswordInput, PercentageRing, Pill, Popper, Radio, RadioGroup, Radio$2 as RadioInput, RandomLoadingMessage, Row$1 as Row, spacings as SPACING, SearchInput, Section, SectionBlock, SectionBody, SectionHeader, SectionTable, Select, Select$1 as SelectInput, Shrug, SingleCombobox, Skeleton, typography as TYPOGRAPHY, Table$1 as Table, TextInput, TextTruncate, LabeledTextarea as Textarea, Toggle, Toggle$1 as ToggleInput, Tooltip, color as colorUtils, number as numberUtils, string as stringUtils };