Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Releases: gluestack/gluestack-style

@gluestack-style/[email protected]

05 Sep 10:12
8384571
Compare
Choose a tag to compare

Fixes

  • Dynamic variable resolution is sx props issue PR

@gluestack-style/[email protected]

04 Sep 07:17
4d7277f
Compare
Choose a tag to compare

Fixes

  • Remove variant props from user props PR

@gluestack-style/[email protected]

01 Sep 14:15
5272a1e
Compare
Choose a tag to compare

Fixes

  • Media query specificity PR

@gluestack-style/[email protected]

01 Sep 06:23
76f32c1
Compare
Choose a tag to compare

Fixes

  • Remove passing props typing from media queries #371
  • Improved passing props typings for descendants and platform props #369
  • Added typing support for the extended theme #360

@gluestack-style/[email protected]

01 Sep 12:56
eb17e9a
Compare
Choose a tag to compare

Breaking changes

  • Options changes
    • filename and libraryName are changed styled
    • uiLibraryPath and uiLibraryName are changed to components

Old Babel config

// babel.config.js
const path = require('path');
const gluestackStyleResolver = require('@gluestack-style/babel-plugin-styled-resolver');

module.exports = function (api) {
  api.cache(true);
  return {
    presets: ['babel-preset-expo'],
    plugins: [
      [
        gluestackStyleResolver,
        {
          filename: path.resolve(__dirname, './core/styled'), // Specify the file path of the styled function
          libraryName: '@gluestack-style/react', // Specify the library name from where the styled function is exported
          uiLibraryPath: path.resolve(__dirname, './core/components'), // Specify the file path of the styled function
          uiLibraryName: '@gluestack-ui/themed', // Specify the library name from where the styled function is exported
        },
      ],
    ],
  };
};

New Babel config

// babel.config.js
const path = require('path');
const gluestackStyleResolver = require('@gluestack-style/babel-plugin-styled-resolver');

module.exports = function (api) {
  api.cache(true);
  return {
    presets: ['babel-preset-expo'],
    plugins: [
      [
        gluestackStyleResolver,
        {
           styled: [
            '@gluestack-style/react',
            path.resolve(__dirname, './gluestack-ui-components/core/styled'),
          ],
          components: [
            '@gluesatck-ui/themed',
            path.resolve(__dirname, './gluestack-ui-components/core/component'),
          ],
        },
      ],
    ],
  };
};

@gluestack-style/[email protected]

28 Aug 12:15
601c1d8
Compare
Choose a tag to compare

Fixes

  • State style specificity PR
  • Inline base style specificity PR
  • Media query orders PR

@gluestack-style/[email protected]

28 Aug 12:52
13a269f
Compare
Choose a tag to compare

Features

  • Inline props resolution PR

Fixes

  • Migrated older theme resolution to GluestackStyleSheet architecture PR

@gluestack-style/[email protected]

25 Aug 09:39
d65baa4
Compare
Choose a tag to compare

Patch Changes

  • fix: customizing component specififcity issue

@gluestack-style/[email protected]

18 Aug 12:04
892d644
Compare
Choose a tag to compare

Patch Changes

  • Reduced DOM size for injected style tags PR

@gluestack-style/[email protected]

17 Aug 15:49
b2aa671
Compare
Choose a tag to compare

Patch Changes

  • Boot time performance improvments PR
  • Typing improvement
  • Styled precedence order
  • AsForwarder style injection order