@voiceflow/style 1.7.0 → 1.9.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/build/cjs/ThemeContext.d.ts +0 -1
- package/build/cjs/ThemeContext.d.ts.map +1 -1
- package/build/cjs/ThemeContext.js +1 -0
- package/build/cjs/ThemeContext.js.map +1 -0
- package/build/cjs/__fixtures__/Button/Button.component.d.ts +0 -1
- package/build/cjs/__fixtures__/Button/Button.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/Button/Button.component.js +1 -0
- package/build/cjs/__fixtures__/Button/Button.component.js.map +1 -0
- package/build/cjs/__fixtures__/Button/Button.css.js +1 -0
- package/build/cjs/__fixtures__/Button/Button.css.js.map +1 -0
- package/build/cjs/__fixtures__/Button/Button.styled.d.ts +1 -2
- package/build/cjs/__fixtures__/Button/Button.styled.d.ts.map +1 -1
- package/build/cjs/__fixtures__/Button/Button.styled.js +1 -0
- package/build/cjs/__fixtures__/Button/Button.styled.js.map +1 -0
- package/build/cjs/__fixtures__/Button/index.d.ts +0 -1
- package/build/cjs/__fixtures__/Button/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/Button/index.js +1 -0
- package/build/cjs/__fixtures__/Button/index.js.map +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts +0 -1
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.js +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.css.js +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.css.js.map +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts +1 -1
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +1 -1
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/index.d.ts +0 -1
- package/build/cjs/__fixtures__/InlineThemedButton/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/InlineThemedButton/index.js +1 -0
- package/build/cjs/__fixtures__/InlineThemedButton/index.js.map +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts +0 -1
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.js +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.component.js.map +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.css.js +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.css.js.map +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts +1 -1
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +1 -1
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.js +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/index.d.ts +0 -1
- package/build/cjs/__fixtures__/InlineVarButton/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/InlineVarButton/index.js +1 -0
- package/build/cjs/__fixtures__/InlineVarButton/index.js.map +1 -0
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.d.ts +0 -1
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.js +1 -0
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.component.js.map +1 -0
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.css.js +1 -0
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.css.js.map +1 -0
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.js +1 -0
- package/build/cjs/__fixtures__/RecipeButton/RecipeButton.styled.js.map +1 -0
- package/build/cjs/__fixtures__/RecipeButton/index.d.ts +0 -1
- package/build/cjs/__fixtures__/RecipeButton/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/RecipeButton/index.js +1 -0
- package/build/cjs/__fixtures__/RecipeButton/index.js.map +1 -0
- package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts +0 -1
- package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.js +1 -0
- package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +1 -0
- package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.css.js +1 -0
- package/build/cjs/__fixtures__/ReuseCSS/ReuseCSS.css.js.map +1 -0
- package/build/cjs/__fixtures__/ReuseCSS/index.d.ts +0 -1
- package/build/cjs/__fixtures__/ReuseCSS/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ReuseCSS/index.js +1 -0
- package/build/cjs/__fixtures__/ReuseCSS/index.js.map +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts +0 -1
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.js +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.component.js.map +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.css.js +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.css.js.map +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts +1 -2
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.js +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/index.d.ts +0 -1
- package/build/cjs/__fixtures__/ReuseStyled/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ReuseStyled/index.js +1 -0
- package/build/cjs/__fixtures__/ReuseStyled/index.js.map +1 -0
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.d.ts +0 -1
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.js +1 -0
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.component.js.map +1 -0
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.css.js +1 -0
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.css.js.map +1 -0
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.d.ts +1 -2
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.js +1 -0
- package/build/cjs/__fixtures__/ThemedButton/ThemedButton.styled.js.map +1 -0
- package/build/cjs/__fixtures__/ThemedButton/index.d.ts +0 -1
- package/build/cjs/__fixtures__/ThemedButton/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/ThemedButton/index.js +1 -0
- package/build/cjs/__fixtures__/ThemedButton/index.js.map +1 -0
- package/build/cjs/__fixtures__/VariantButton/VariantButton.component.d.ts +0 -1
- package/build/cjs/__fixtures__/VariantButton/VariantButton.component.d.ts.map +1 -1
- package/build/cjs/__fixtures__/VariantButton/VariantButton.component.js +1 -0
- package/build/cjs/__fixtures__/VariantButton/VariantButton.component.js.map +1 -0
- package/build/cjs/__fixtures__/VariantButton/VariantButton.css.js +1 -0
- package/build/cjs/__fixtures__/VariantButton/VariantButton.css.js.map +1 -0
- package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.js +1 -0
- package/build/cjs/__fixtures__/VariantButton/VariantButton.styled.js.map +1 -0
- package/build/cjs/__fixtures__/VariantButton/index.d.ts +0 -1
- package/build/cjs/__fixtures__/VariantButton/index.d.ts.map +1 -1
- package/build/cjs/__fixtures__/VariantButton/index.js +1 -0
- package/build/cjs/__fixtures__/VariantButton/index.js.map +1 -0
- package/build/cjs/__fixtures__/index.js +1 -0
- package/build/cjs/__fixtures__/index.js.map +1 -0
- package/build/cjs/__fixtures__/theme.css.js +1 -0
- package/build/cjs/__fixtures__/theme.css.js.map +1 -0
- package/build/cjs/main.js +1 -0
- package/build/cjs/main.js.map +1 -0
- package/build/cjs/styled/constants.js +1 -0
- package/build/cjs/styled/constants.js.map +1 -0
- package/build/cjs/styled/factory.d.ts +2 -1
- package/build/cjs/styled/factory.d.ts.map +1 -1
- package/build/cjs/styled/factory.js +1 -0
- package/build/cjs/styled/factory.js.map +1 -0
- package/build/cjs/styled/index.js +1 -0
- package/build/cjs/styled/index.js.map +1 -0
- package/build/cjs/styled/types.d.ts +5 -6
- package/build/cjs/styled/types.d.ts.map +1 -1
- package/build/cjs/styled/types.js +1 -0
- package/build/cjs/styled/types.js.map +1 -0
- package/build/cjs/styled/utils.d.ts +1 -1
- package/build/cjs/styled/utils.d.ts.map +1 -1
- package/build/cjs/styled/utils.js +1 -1
- package/build/cjs/styled/utils.js.map +1 -0
- package/build/cjs/testing.js +1 -0
- package/build/cjs/testing.js.map +1 -0
- package/build/cjs/types.js +1 -0
- package/build/cjs/types.js.map +1 -0
- package/build/esm/ThemeContext.d.ts +0 -1
- package/build/esm/ThemeContext.d.ts.map +1 -1
- package/build/esm/ThemeContext.js +1 -0
- package/build/esm/ThemeContext.js.map +1 -0
- package/build/esm/__fixtures__/Button/Button.component.d.ts +0 -1
- package/build/esm/__fixtures__/Button/Button.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/Button/Button.component.js +1 -0
- package/build/esm/__fixtures__/Button/Button.component.js.map +1 -0
- package/build/esm/__fixtures__/Button/Button.css.js +1 -0
- package/build/esm/__fixtures__/Button/Button.css.js.map +1 -0
- package/build/esm/__fixtures__/Button/Button.styled.d.ts +1 -2
- package/build/esm/__fixtures__/Button/Button.styled.d.ts.map +1 -1
- package/build/esm/__fixtures__/Button/Button.styled.js +1 -0
- package/build/esm/__fixtures__/Button/Button.styled.js.map +1 -0
- package/build/esm/__fixtures__/Button/index.d.ts +0 -1
- package/build/esm/__fixtures__/Button/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/Button/index.js +1 -0
- package/build/esm/__fixtures__/Button/index.js.map +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts +0 -1
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.js +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.css.js +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.css.js.map +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts +1 -1
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +1 -1
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/index.d.ts +0 -1
- package/build/esm/__fixtures__/InlineThemedButton/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/InlineThemedButton/index.js +1 -0
- package/build/esm/__fixtures__/InlineThemedButton/index.js.map +1 -0
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts +0 -1
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.js +1 -0
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.component.js.map +1 -0
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.css.js +1 -0
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.css.js.map +1 -0
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts +1 -1
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +1 -1
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.js +1 -0
- package/build/esm/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +1 -0
- package/build/esm/__fixtures__/InlineVarButton/index.d.ts +0 -1
- package/build/esm/__fixtures__/InlineVarButton/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/InlineVarButton/index.js +1 -0
- package/build/esm/__fixtures__/InlineVarButton/index.js.map +1 -0
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.d.ts +0 -1
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.js +1 -0
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.component.js.map +1 -0
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.css.js +1 -0
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.css.js.map +1 -0
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.styled.js +1 -0
- package/build/esm/__fixtures__/RecipeButton/RecipeButton.styled.js.map +1 -0
- package/build/esm/__fixtures__/RecipeButton/index.d.ts +0 -1
- package/build/esm/__fixtures__/RecipeButton/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/RecipeButton/index.js +1 -0
- package/build/esm/__fixtures__/RecipeButton/index.js.map +1 -0
- package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts +0 -1
- package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.js +1 -0
- package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +1 -0
- package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.css.js +1 -0
- package/build/esm/__fixtures__/ReuseCSS/ReuseCSS.css.js.map +1 -0
- package/build/esm/__fixtures__/ReuseCSS/index.d.ts +0 -1
- package/build/esm/__fixtures__/ReuseCSS/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/ReuseCSS/index.js +1 -0
- package/build/esm/__fixtures__/ReuseCSS/index.js.map +1 -0
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts +0 -1
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.js +1 -0
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.component.js.map +1 -0
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.css.js +1 -0
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.css.js.map +1 -0
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts +1 -2
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +1 -1
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.js +1 -0
- package/build/esm/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +1 -0
- package/build/esm/__fixtures__/ReuseStyled/index.d.ts +0 -1
- package/build/esm/__fixtures__/ReuseStyled/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/ReuseStyled/index.js +1 -0
- package/build/esm/__fixtures__/ReuseStyled/index.js.map +1 -0
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.d.ts +0 -1
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.js +1 -0
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.component.js.map +1 -0
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.css.js +1 -0
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.css.js.map +1 -0
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.d.ts +1 -2
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +1 -1
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.js +1 -0
- package/build/esm/__fixtures__/ThemedButton/ThemedButton.styled.js.map +1 -0
- package/build/esm/__fixtures__/ThemedButton/index.d.ts +0 -1
- package/build/esm/__fixtures__/ThemedButton/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/ThemedButton/index.js +1 -0
- package/build/esm/__fixtures__/ThemedButton/index.js.map +1 -0
- package/build/esm/__fixtures__/VariantButton/VariantButton.component.d.ts +0 -1
- package/build/esm/__fixtures__/VariantButton/VariantButton.component.d.ts.map +1 -1
- package/build/esm/__fixtures__/VariantButton/VariantButton.component.js +1 -0
- package/build/esm/__fixtures__/VariantButton/VariantButton.component.js.map +1 -0
- package/build/esm/__fixtures__/VariantButton/VariantButton.css.js +1 -0
- package/build/esm/__fixtures__/VariantButton/VariantButton.css.js.map +1 -0
- package/build/esm/__fixtures__/VariantButton/VariantButton.styled.js +1 -0
- package/build/esm/__fixtures__/VariantButton/VariantButton.styled.js.map +1 -0
- package/build/esm/__fixtures__/VariantButton/index.d.ts +0 -1
- package/build/esm/__fixtures__/VariantButton/index.d.ts.map +1 -1
- package/build/esm/__fixtures__/VariantButton/index.js +1 -0
- package/build/esm/__fixtures__/VariantButton/index.js.map +1 -0
- package/build/esm/__fixtures__/index.js +1 -0
- package/build/esm/__fixtures__/index.js.map +1 -0
- package/build/esm/__fixtures__/theme.css.js +1 -0
- package/build/esm/__fixtures__/theme.css.js.map +1 -0
- package/build/esm/main.js +1 -0
- package/build/esm/main.js.map +1 -0
- package/build/esm/styled/constants.js +1 -0
- package/build/esm/styled/constants.js.map +1 -0
- package/build/esm/styled/factory.d.ts +2 -1
- package/build/esm/styled/factory.d.ts.map +1 -1
- package/build/esm/styled/factory.js +1 -0
- package/build/esm/styled/factory.js.map +1 -0
- package/build/esm/styled/index.js +1 -0
- package/build/esm/styled/index.js.map +1 -0
- package/build/esm/styled/types.d.ts +5 -6
- package/build/esm/styled/types.d.ts.map +1 -1
- package/build/esm/styled/types.js +1 -0
- package/build/esm/styled/types.js.map +1 -0
- package/build/esm/styled/utils.d.ts +1 -1
- package/build/esm/styled/utils.d.ts.map +1 -1
- package/build/esm/styled/utils.js +1 -1
- package/build/esm/styled/utils.js.map +1 -0
- package/build/esm/testing.js +1 -0
- package/build/esm/testing.js.map +1 -0
- package/build/esm/types.js +1 -0
- package/build/esm/types.js.map +1 -0
- package/package.json +24 -31
- package/CHANGELOG.md +0 -105
- package/build/cjs/styled/factory.test.d.ts +0 -2
- package/build/cjs/styled/factory.test.d.ts.map +0 -1
- package/build/cjs/styled/factory.test.js +0 -140
- package/build/esm/styled/factory.test.d.ts +0 -2
- package/build/esm/styled/factory.test.d.ts.map +0 -1
- package/build/esm/styled/factory.test.js +0 -138
- package/config/test/setup.js +0 -9
- package/sonar-project.properties +0 -10
- package/src/ThemeContext.tsx +0 -14
- package/src/__fixtures__/Button/Button.component.tsx +0 -7
- package/src/__fixtures__/Button/Button.css.ts +0 -7
- package/src/__fixtures__/Button/Button.styled.ts +0 -5
- package/src/__fixtures__/Button/index.ts +0 -7
- package/src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx +0 -13
- package/src/__fixtures__/InlineThemedButton/InlineThemedButton.css.ts +0 -8
- package/src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts +0 -7
- package/src/__fixtures__/InlineThemedButton/index.ts +0 -4
- package/src/__fixtures__/InlineVarButton/InlineVarButton.component.tsx +0 -12
- package/src/__fixtures__/InlineVarButton/InlineVarButton.css.ts +0 -12
- package/src/__fixtures__/InlineVarButton/InlineVarButton.styled.ts +0 -10
- package/src/__fixtures__/InlineVarButton/index.ts +0 -4
- package/src/__fixtures__/RecipeButton/RecipeButton.component.tsx +0 -13
- package/src/__fixtures__/RecipeButton/RecipeButton.css.ts +0 -22
- package/src/__fixtures__/RecipeButton/RecipeButton.styled.ts +0 -6
- package/src/__fixtures__/RecipeButton/index.ts +0 -4
- package/src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx +0 -8
- package/src/__fixtures__/ReuseCSS/ReuseCSS.css.ts +0 -11
- package/src/__fixtures__/ReuseCSS/index.ts +0 -4
- package/src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx +0 -6
- package/src/__fixtures__/ReuseStyled/ReuseStyled.css.ts +0 -6
- package/src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts +0 -6
- package/src/__fixtures__/ReuseStyled/index.ts +0 -4
- package/src/__fixtures__/ThemedButton/ThemedButton.component.tsx +0 -6
- package/src/__fixtures__/ThemedButton/ThemedButton.css.ts +0 -8
- package/src/__fixtures__/ThemedButton/ThemedButton.styled.ts +0 -6
- package/src/__fixtures__/ThemedButton/index.ts +0 -4
- package/src/__fixtures__/VariantButton/VariantButton.component.tsx +0 -13
- package/src/__fixtures__/VariantButton/VariantButton.css.ts +0 -6
- package/src/__fixtures__/VariantButton/VariantButton.styled.ts +0 -6
- package/src/__fixtures__/VariantButton/index.ts +0 -4
- package/src/__fixtures__/index.ts +0 -9
- package/src/__fixtures__/theme.css.ts +0 -21
- package/src/main.ts +0 -9
- package/src/styled/constants.ts +0 -1
- package/src/styled/factory.test.tsx +0 -181
- package/src/styled/factory.tsx +0 -39
- package/src/styled/index.ts +0 -4
- package/src/styled/types.ts +0 -87
- package/src/styled/utils.ts +0 -56
- package/src/testing.ts +0 -15
- package/src/types.ts +0 -10
- package/tsconfig.build.cjs.json +0 -8
- package/tsconfig.build.esm.json +0 -11
- package/tsconfig.build.json +0 -5
- package/tsconfig.json +0 -9
- package/vitest.config.ts +0 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReuseCSS.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReuseCSS.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAI1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReuseCSS.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACxE,iBAAQ,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,YACtC,QAAQ,GACF,CACV,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReuseCSS.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/ReuseCSS.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAC;IACxB,MAAM,CAAC,GAAG,CAAC,IAAI;IACf;QACE,eAAe,EAAE,KAAK;QACtB,YAAY,EAAE,CAAC;KAChB;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AAEtC,eAAO,MAAM,QAAQ;;CAA4C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReuseStyled.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReuseStyled.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAE7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReuseStyled.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,CAAC,MAAM,sBAAsB,CAAC;AAE1C,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC3E,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,YAAG,QAAQ,GAAU,CAC9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReuseStyled.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,CAAC;CACV,CAAC,CAAC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Base: import("../../main.js").StyledComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>;
|
|
1
|
+
export declare const Base: import("../../main.js").StyledComponent<import("../../main.js").StyledComponentProps<"button", null, null, object>>;
|
|
3
2
|
//# sourceMappingURL=ReuseStyled.styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReuseStyled.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReuseStyled.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,uGAAyC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReuseStyled.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AAEzC,eAAO,MAAM,WAAW;;CAA+C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AAEzC,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemedButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAE9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemedButton.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAE3C,MAAM,CAAC,MAAM,YAAY,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC5E,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,YAAG,QAAQ,GAAU,CAC9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemedButton.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,MAAM,CAAC,MAAM,MAAM,GAAG,KAAK,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;IAC7B,YAAY,EAAE,CAAC;CAChB,CAAC,CAAC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Base: import("../../main.js").StyledComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>;
|
|
1
|
+
export declare const Base: import("../../main.js").StyledComponent<import("../../main.js").StyledComponentProps<"button", null, null, object>>;
|
|
3
2
|
//# sourceMappingURL=ThemedButton.styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,uGAAuC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemedButton.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,YAAY;;CAAgD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VariantButton.component.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGpD,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,EAAE,MAAM,OAAO,QAAQ,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAItD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as S from './VariantButton.styled.js';
|
|
3
3
|
export const VariantButton = ({ variant, onClick, children }) => (_jsx(S.Base, { variant: variant, onClick: onClick, children: children }));
|
|
4
|
+
//# sourceMappingURL=VariantButton.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VariantButton.component.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,CAAC,MAAM,wBAAwB,CAAC;AAM5C,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC7F,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,YACvC,QAAQ,GACF,CACV,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VariantButton.css.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC;IACpC,OAAO,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE;IAChD,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE;CACnD,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VariantButton.styled.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/VariantButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,eAAO,MAAM,aAAa;;CAAiD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.css.js","sourceRoot":"","sources":["../../../src/__fixtures__/theme.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,WAAW,CAAC;IACvC,KAAK,EAAE;QACL,KAAK,EAAE,KAAK;KACb;IACD,OAAO;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,EAAE;IACpC,KAAK,EAAE;QACL,KAAK,EAAE,MAAM;KACd;IACD,OAAO;CACR,CAAC,CAAC"}
|
package/build/esm/main.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/styled/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -88,6 +88,7 @@ export declare const styled: {
|
|
|
88
88
|
ruby: StyledFactory<"ruby">;
|
|
89
89
|
s: StyledFactory<"s">;
|
|
90
90
|
samp: StyledFactory<"samp">;
|
|
91
|
+
search: StyledFactory<"search">;
|
|
91
92
|
slot: StyledFactory<"slot">;
|
|
92
93
|
script: StyledFactory<"script">;
|
|
93
94
|
section: StyledFactory<"section">;
|
|
@@ -168,6 +169,7 @@ export declare const styled: {
|
|
|
168
169
|
polyline: StyledFactory<"polyline">;
|
|
169
170
|
radialGradient: StyledFactory<"radialGradient">;
|
|
170
171
|
rect: StyledFactory<"rect">;
|
|
172
|
+
set: StyledFactory<"set">;
|
|
171
173
|
stop: StyledFactory<"stop">;
|
|
172
174
|
switch: StyledFactory<"switch">;
|
|
173
175
|
symbol: StyledFactory<"symbol">;
|
|
@@ -176,6 +178,5 @@ export declare const styled: {
|
|
|
176
178
|
tspan: StyledFactory<"tspan">;
|
|
177
179
|
use: StyledFactory<"use">;
|
|
178
180
|
view: StyledFactory<"view">;
|
|
179
|
-
search: StyledFactory<"search">;
|
|
180
181
|
};
|
|
181
182
|
//# sourceMappingURL=factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/styled/factory.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAMV,aAAa,EACd,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/styled/factory.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAMV,aAAa,EACd,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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,EAAE,WAAW,EAAE,CAAyB,CAAC;IACjG,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styled/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { assignInlineVars } from '@vanilla-extract/dynamic';
|
|
3
2
|
import type { RecipeVariants, RuntimeFn } from '@vanilla-extract/recipes';
|
|
4
3
|
import type { STYLED_CLASS } from './constants.js';
|
|
@@ -18,7 +17,7 @@ export type DynamicThemeProps<Theme> = Theme extends ThemeContract ? {
|
|
|
18
17
|
* inline override for the theme used to style this component
|
|
19
18
|
*/
|
|
20
19
|
theme?: Parameters<typeof assignInlineVars<Theme>>[1];
|
|
21
|
-
} :
|
|
20
|
+
} : object;
|
|
22
21
|
export type DynamicVariablesProps<Variables> = Variables extends Record<string, string> ? {
|
|
23
22
|
/**
|
|
24
23
|
* inline override for variables used to styled this component
|
|
@@ -26,9 +25,9 @@ export type DynamicVariablesProps<Variables> = Variables extends Record<string,
|
|
|
26
25
|
vars?: Partial<{
|
|
27
26
|
[K in keyof Variables]: string;
|
|
28
27
|
}>;
|
|
29
|
-
} :
|
|
30
|
-
export type StyledComponentProps<Tag extends keyof JSX.IntrinsicElements, Theme, Variables, Extras extends object =
|
|
31
|
-
export interface StyledComponent<Props =
|
|
28
|
+
} : object;
|
|
29
|
+
export type StyledComponentProps<Tag extends keyof JSX.IntrinsicElements, Theme, Variables, Extras extends object = object> = React.ComponentPropsWithoutRef<Tag> & DynamicThemeProps<Theme> & DynamicVariablesProps<Variables> & Extras;
|
|
30
|
+
export interface StyledComponent<Props = object> extends React.FunctionComponent<Props> {
|
|
32
31
|
(props: Props, context?: any): React.ReactElement<any, any> | null;
|
|
33
32
|
[STYLED_CLASS]: string | null;
|
|
34
33
|
}
|
|
@@ -42,6 +41,6 @@ export interface StyledFactory<Tag extends keyof JSX.IntrinsicElements> {
|
|
|
42
41
|
}>>;
|
|
43
42
|
<Theme extends ThemeContract | null = null, Variables extends Record<string, string> | null = null>(sources: StyleSource[], dynamic?: DynamicOptions<Theme, Variables>): StyledComponent<StyledComponentProps<Tag, Theme, Variables>>;
|
|
44
43
|
}
|
|
45
|
-
export type FirstStyledArgument<Variants extends
|
|
44
|
+
export type FirstStyledArgument<Variants extends Record<string, any> = any> = RuntimeFn<Variants> | Record<string, string> | StyleSource[];
|
|
46
45
|
export type SecondStyledArgument = StyleSource[] | DynamicOptions;
|
|
47
46
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/styled/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/styled/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnE,MAAM,WAAW,cAAc,CAC7B,KAAK,SAAS,aAAa,GAAG,IAAI,GAAG,aAAa,EAClD,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAExE;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,MAAM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,GACtB,WAAW,EAAE,CAAC;AAElB,MAAM,MAAM,oBAAoB,GAAG,WAAW,EAAE,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/styled/types.ts"],"names":[],"mappings":""}
|
|
@@ -4,6 +4,6 @@ export declare const getDynamicOptions: (secondArg?: SecondStyledArgument, third
|
|
|
4
4
|
export declare const useDynamicClass: (firstArg: FirstStyledArgument<any>, props: {
|
|
5
5
|
variant?: string;
|
|
6
6
|
variants?: Record<string, any>;
|
|
7
|
-
}) => string | null;
|
|
7
|
+
}) => string | null | undefined;
|
|
8
8
|
export declare const useInlineStyle: (props: StyledComponentProps<keyof JSX.IntrinsicElements, ThemeContract, Record<string, string>>, dynamicOptions: DynamicOptions | null) => {};
|
|
9
9
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/styled/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,cAAc,aAAc,mBAAmB,cAAc,oBAAoB,KAAG,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/styled/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,cAAc,aAAc,mBAAmB,cAAc,oBAAoB,KAAG,MAAM,GAAG,IAMzG,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAAgB,oBAAoB,aAAa,cAAc,KAAG,cAAc,GAAG,IACtD,CAAC;AAE5D,eAAO,MAAM,eAAe,aAChB,mBAAmB,CAAC,GAAG,CAAC,SAC3B;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,8BAOd,CAAC;AAEhD,eAAO,MAAM,cAAc,UAClB,oBAAoB,CAAC,MAAM,GAAG,CAAC,iBAAiB,EAAE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,kBAC/E,cAAc,GAAG,IAAI,OAiBtC,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { clsx } from 'clsx';
|
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { STYLED_CLASS } from './constants.js';
|
|
5
5
|
export const getStaticClass = (firstArg, secondArg) => {
|
|
6
|
-
// eslint-disable-next-line no-nested-ternary
|
|
7
6
|
const classNames = (Array.isArray(firstArg) ? firstArg : Array.isArray(secondArg) ? secondArg : []).map((source) => typeof source === 'string' ? source : source[STYLED_CLASS]);
|
|
8
7
|
return classNames.length ? clsx(classNames) : null;
|
|
9
8
|
};
|
|
@@ -28,3 +27,4 @@ export const useInlineStyle = (props, dynamicOptions) => {
|
|
|
28
27
|
return style;
|
|
29
28
|
}, [props.theme, props.vars]);
|
|
30
29
|
};
|
|
30
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/styled/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAS3C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,QAA6B,EAAE,SAAgC,EAAiB,EAAE;IAC/G,MAAM,UAAU,GAAG,CAAC,KAAK,CAAC,O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CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE;QAClB,MAAM,KAAK,GAAG,EAAE,CAAC;QAEjB,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YACzB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,IAAI,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;YACvB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,IAA8B,CAAC,CAAC,CAAC;QAC/E,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAChC,CAAC,CAAC"}
|
package/build/esm/testing.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,KAAyB,EAAE,QAAgD,EAAE,QAAiB,EAAE,EAAE;IACpH,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAE7B,MAAM,WAAW,GAAG,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;IACzE,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAExD,IAAI,CAAC,QAAQ;QAAE,OAAO,YAAY,CAAC;IAEnC,OAAO,GAAG,YAAY,KAAK,QAAQ,EAAE,CAAC;AACxC,CAAC,CAAC"}
|
package/build/esm/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/style",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./build/cjs/main.d.ts",
|
|
@@ -10,46 +10,39 @@
|
|
|
10
10
|
},
|
|
11
11
|
"main": "build/cjs/main.js",
|
|
12
12
|
"types": "build/cjs/main.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"build"
|
|
15
|
+
],
|
|
13
16
|
"scripts": {
|
|
14
|
-
"build": "yarn g:run
|
|
15
|
-
"
|
|
16
|
-
"build:
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"lint": "yarn g:run-p lint:eslint \"lint:prettier --
|
|
22
|
-
"lint:
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"test": "yarn g:
|
|
27
|
-
"test:
|
|
28
|
-
"test:dependencies": "yarn g:depcheck",
|
|
29
|
-
"test:unit": "yarn g:vitest run"
|
|
30
|
-
},
|
|
31
|
-
"prettier": "@voiceflow-meta/prettier-config",
|
|
32
|
-
"eslintConfig": {
|
|
33
|
-
"extends": "@voiceflow-meta/eslint-config"
|
|
17
|
+
"build": "yarn g:turbo run build:cmd --filter=@voiceflow/style...",
|
|
18
|
+
"build:cjs": "yarn g:build:pkg cjs",
|
|
19
|
+
"build:cmd": "yarn g:run-p build:cjs build:esm",
|
|
20
|
+
"build:esm": "yarn g:build:pkg esm",
|
|
21
|
+
"clean": "yarn g:rimraf build",
|
|
22
|
+
"lint": "yarn g:run-p -c lint:eslint lint:prettier",
|
|
23
|
+
"lint:eslint": "yarn g:eslint",
|
|
24
|
+
"lint:fix": "yarn g:run-p -c \"lint:eslint --fix\" \"lint:prettier --write\"",
|
|
25
|
+
"lint:prettier": "yarn g:prettier --check",
|
|
26
|
+
"tdd": "yarn g:vitest",
|
|
27
|
+
"test": "yarn g:run-p -c test:dependencies test:types test:unit",
|
|
28
|
+
"test:dependencies": "yarn g:depcruise",
|
|
29
|
+
"test:types": "yarn g:tsc --noEmit",
|
|
30
|
+
"test:unit": "yarn g:vitest run --coverage"
|
|
34
31
|
},
|
|
35
32
|
"dependencies": {
|
|
36
33
|
"@vanilla-extract/css": "1.13.0",
|
|
37
34
|
"@vanilla-extract/dynamic": "2.0.3",
|
|
38
35
|
"@vanilla-extract/recipes": "0.4.0",
|
|
39
36
|
"clsx": "1.2.1",
|
|
40
|
-
"type-fest": "
|
|
37
|
+
"type-fest": "4.15.0"
|
|
41
38
|
},
|
|
42
39
|
"devDependencies": {
|
|
43
|
-
"@testing-library/jest-dom": "
|
|
44
|
-
"@testing-library/react": "
|
|
45
|
-
"@types/react": "18.
|
|
40
|
+
"@testing-library/jest-dom": "6.4.2",
|
|
41
|
+
"@testing-library/react": "15.0.2",
|
|
42
|
+
"@types/react": "18.2.77",
|
|
46
43
|
"@vanilla-extract/vite-plugin": "3.9.0",
|
|
47
|
-
"@voiceflow-meta/eslint-config": "1.3.2",
|
|
48
|
-
"@voiceflow-meta/prettier-config": "1.1.2",
|
|
49
|
-
"@voiceflow-meta/typescript-config": "1.0.2",
|
|
50
44
|
"jsdom": "21.1.1",
|
|
51
|
-
"react": "18.2.0"
|
|
52
|
-
"vite-tsconfig-paths": "4.2.0"
|
|
45
|
+
"react": "18.2.0"
|
|
53
46
|
},
|
|
54
47
|
"peerDependencies": {
|
|
55
48
|
"react": "^18"
|
|
@@ -57,5 +50,5 @@
|
|
|
57
50
|
"volta": {
|
|
58
51
|
"extends": "../../package.json"
|
|
59
52
|
},
|
|
60
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "90bd960ef1e445f806cf6fbb8902eec5bc667da6"
|
|
61
54
|
}
|