teachable-design-system 0.1.3 → 0.1.4

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.esm.js CHANGED
@@ -3352,6 +3352,11 @@ function Dropdown({ size, options, onSelect, label, placeholder }) {
3352
3352
  return (jsxs("div", { style: { position: 'relative' }, children: [jsx$1(StyledLabel, { children: label }), jsx$1(StyledDropDown, { onClick: () => setOpen((prev) => !prev), size: size, isOpen: open, children: jsxs(StyledBox, { children: [jsx$1(StyledText, { size: size, isOpen: open, children: selected ?? placeholder }), jsx$1(StyledIcon, { size: size, children: jsx$1("img", { src: arrowDownIcon, alt: "dropdown icon", style: { width: '100%', height: '100%' } }) })] }) }), open && (jsx$1(StyledOptions, { ref: ref, size: size, children: options?.map((option) => (jsx$1(StyledOption, { onClick: () => handleSelect(option), size: size, isSelected: option === selected, children: option }, option))) }))] }));
3353
3353
  }
3354
3354
 
3355
+ ({
3356
+ ...typography.label.small,
3357
+ color: '#333',
3358
+ });
3359
+
3355
3360
  styled.img `
3356
3361
  width: 20px;
3357
3362
  height: 20px;
@@ -3490,5 +3495,5 @@ styled.div `
3490
3495
  }
3491
3496
  `;
3492
3497
 
3493
- export { Dropdown };
3498
+ export { Dropdown, colors, typography };
3494
3499
  //# sourceMappingURL=index.esm.js.map