Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/vimeo/player-2.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 authored Jan 25, 2024
2 parents 9b5409d + 862535d commit 8c6ab84
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
9 changes: 9 additions & 0 deletions components/molecule/phoneInput/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion components/molecule/phoneInput/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
1 change: 1 addition & 0 deletions components/molecule/phoneInput/src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ $base-class: '.sui-MoleculePhoneInput';

& .sui-AtomInput-input {
position: relative;
padding-left: 0;

&:focus {
border: none;
Expand Down
27 changes: 9 additions & 18 deletions scripts/build-themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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()
Expand All @@ -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 = () => {
Expand All @@ -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$/))
Expand All @@ -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
}

Expand Down

0 comments on commit 8c6ab84

Please sign in to comment.