diff --git a/components/molecule/phoneInput/CHANGELOG.md b/components/molecule/phoneInput/CHANGELOG.md index 1a7f78c7f6..85acd46e54 100644 --- a/components/molecule/phoneInput/CHANGELOG.md +++ b/components/molecule/phoneInput/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG +# 1.23.0 (2024-01-25) + + +### Bug Fixes + +* **components/molecule/phoneInput:** fix wrong padding ([6df4cf8](https://github.com/SUI-Components/sui-components/commit/6df4cf8b91e8814030f1eb5892f8491f840f1b46)) + + + # 1.22.0 (2023-12-28) diff --git a/components/molecule/phoneInput/package.json b/components/molecule/phoneInput/package.json index dd9afb3e97..b077bfa601 100644 --- a/components/molecule/phoneInput/package.json +++ b/components/molecule/phoneInput/package.json @@ -1,6 +1,6 @@ { "name": "@s-ui/react-molecule-phone-input", - "version": "1.22.0", + "version": "1.23.0", "description": "", "main": "lib/index.js", "scripts": { diff --git a/components/molecule/phoneInput/src/styles/index.scss b/components/molecule/phoneInput/src/styles/index.scss index 14c878369e..f900cbb230 100644 --- a/components/molecule/phoneInput/src/styles/index.scss +++ b/components/molecule/phoneInput/src/styles/index.scss @@ -41,6 +41,7 @@ $base-class: '.sui-MoleculePhoneInput'; & .sui-AtomInput-input { position: relative; + padding-left: 0; &:focus { border: none; diff --git a/scripts/build-themes.js b/scripts/build-themes.js index b7e07a55f1..9da27b4f69 100755 --- a/scripts/build-themes.js +++ b/scripts/build-themes.js @@ -9,13 +9,7 @@ const fse = require('fs-extra') const fs = require('fs/promises') const globby = require('globby') -const INSTALL_FLAGS = [ - '--silent', - '--no-save', - '--no-audit', - '--no-fund', - '--no-package-lock' -] +const INSTALL_FLAGS = ['--silent', '--no-save', '--no-audit', '--no-fund', '--no-package-lock'] const THEMES_PACKAGES = [ '@adv-ui/adv-theme', @@ -26,7 +20,8 @@ const THEMES_PACKAGES = [ '@adv-ui/hb-theme-v2', '@adv-ui/ij-theme', '@adv-ui/ma-theme', - '@adv-ui/mt-theme' + '@adv-ui/mt-theme', + '@adv-ui/adit-boros-tcf-ui-consent' ] const cwd = process.cwd() @@ -48,9 +43,7 @@ const checkFileExists = path => fse.pathExists(path) const getThemesList = async () => { console.log('[sui-studio] Getting themes list...') const files = await fs.readdir(path.join(__dirname, '..', 'themes')) - return files - .filter(file => !file.startsWith('_')) - .map(file => file.split('.')[0]) + return files.filter(file => !file.startsWith('_')).map(file => file.split('.')[0]) } const installThemesPkgs = () => { @@ -66,10 +59,10 @@ const writeThemesInDemoFolders = async themes => { cwd }) - const paths = await globby( - [path.join(cwd, 'components', '**', '**', 'demo'), '!**/node_modules/**'], - {onlyDirectories: true, cwd} - ) + const paths = await globby([path.join(cwd, 'components', '**', '**', 'demo'), '!**/node_modules/**'], { + onlyDirectories: true, + cwd + }) paths .filter(p => p.match(/\/components\/\w+\/\w+\/demo$/)) @@ -96,9 +89,7 @@ ${hasDemoStyles ? `@import '../index.scss';` : ''} ;(async () => { if (CI && !NODE_AUTH_TOKEN) { - console.log( - '[sui-studio] Skipping themes installation as NODE_AUTH_TOKEN is not available' - ) + console.log('[sui-studio] Skipping themes installation as NODE_AUTH_TOKEN is not available') return }