Celeste Carloni

Results 18 issues of Celeste Carloni

An error is thrown when having nested template literals with conditional expressions where the CSS property is defined within the expression Given ``` ${(props) => props.isPrimary ? ` color: green;...

bug ๐Ÿ›
triage :stethoscope:

When commenting an independent condition expression, styles are still applied ``` const Component = styled.div` /*${({ isRed }) => isRed ? 'color: red' : 'color: green'};*/ `; // Outputs const...

bug ๐Ÿ›
triage :stethoscope:

Adding custom selectors to `css` and `styled` definitions will result in a bloated extracted stylesheet. For example, specifying the following creates three unique rules: ``` styled.div` color: blue; // .hash...

triage :stethoscope:

**Describe the bug** When creating a story that imports CSS mixins from an external file, story is not created unless we also import `css` **To Reproduce** Steps to reproduce the...

bug ๐Ÿ›

Looking at the source code of this ESLint rule [compiled/validate-definition.ts at master ยท atlassian-labs/compiled](https://github.com/atlassian-labs/compiled/blob/master/packages/eslint-plugin/src/utils/create-no-exported-rule/validate-definition.ts#L143) , it iterates through all of the references to css({}). Example: const foo = css` color:...

bug ๐Ÿ›
triage :stethoscope:

**Describe the bug** This is a follow up task from https://github.com/atlassian-labs/compiled/pull/928 When working locally, the stories error as follows ![Screen Shot 2022-11-29 at 14 33 29 (1)](https://user-images.githubusercontent.com/14813563/204441898-116aff45-1b91-49c0-9ccc-39138ecbf102.png) We should include...

bug ๐Ÿ›

TBH, I am not sure if this is a valuable change considering [these devlop issues ](https://github.com/atlassian-labs/compiled/issues/1531). Also, we know that classes starting with `_` are usually Compiled; hence, we can...

A very minor update, devs are not aware of this option