Skip to content

Commit

Permalink
Merge pull request #1083 from kufu/update-smarthr-ui-42.0.0
Browse files Browse the repository at this point in the history
SmartHR UIをv41.2.0に更新
  • Loading branch information
uknmr authored Feb 16, 2024
2 parents 083ee70 + e13e201 commit 5bd488b
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 76 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"react-instantsearch-dom": "^6.40.4",
"react-live": "^4.1.5",
"react-string-replace": "^1.1.1",
"smarthr-ui": "^41.1.2",
"smarthr-ui": "^41.2.0",
"styled-components": "^5.3.11"
},
"devDependencies": {
Expand Down
148 changes: 82 additions & 66 deletions static/smarthr-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,84 @@
margin-left: calc(-1px * calc(1 - var(--tw-space-x-reverse)))
}

.shr-space-y-0 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(0px * var(--tw-space-y-reverse))
}

.shr-space-y-0\.25 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(4px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(4px * var(--tw-space-y-reverse))
}

.shr-space-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(8px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(8px * var(--tw-space-y-reverse))
}

.shr-space-y-0\.75 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(12px * var(--tw-space-y-reverse))
}

.shr-space-y-1 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(16px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(16px * var(--tw-space-y-reverse))
}

.shr-space-y-1\.25 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(20px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(20px * var(--tw-space-y-reverse))
}

.shr-space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(24px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(24px * var(--tw-space-y-reverse))
}

.shr-space-y-2 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(32px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(32px * var(--tw-space-y-reverse))
}

.shr-space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(40px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(40px * var(--tw-space-y-reverse))
}

.shr-space-y-3 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(48px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(48px * var(--tw-space-y-reverse))
}

.shr-space-y-3\.5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(56px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(56px * var(--tw-space-y-reverse))
}

.shr-space-y-4 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(64px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(64px * var(--tw-space-y-reverse))
}

.shr-space-y-8 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(128px * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(128px * var(--tw-space-y-reverse))
}

.shr-self-stretch {
align-self: stretch
}
Expand Down Expand Up @@ -1449,11 +1527,6 @@
border-color: unset
}

.shr-border-brand {
--tw-border-opacity: 1;
border-color: rgb(0 196 204 / var(--tw-border-opacity))
}

.shr-border-current {
border-color: currentColor
}
Expand Down Expand Up @@ -3046,11 +3119,6 @@
border-color: rgb(35 34 30 / var(--tw-border-opacity))
}

.contrast-more\:shr-border-main {
--tw-border-opacity: 1;
border-color: rgb(0 119 199 / var(--tw-border-opacity))
}

.contrast-more\:before\:shr-absolute::before {
content: var(--tw-content);
position: absolute
Expand Down Expand Up @@ -3244,8 +3312,8 @@
visibility: visible
}

.\[\&\.entered\]\:shr-max-h-screen.entered {
max-height: 100vh
.\[\&\.entered\]\:shr-max-h-\[revert\].entered {
max-height: revert
}

.\[\&\.entered\]\:shr-opacity-100.entered {
Expand Down Expand Up @@ -3458,10 +3526,6 @@
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.\[\&_\>_\*\:nth-child\(2\)\]\:shr-mb-auto > *:nth-child(2) {
margin-bottom: auto
}

.\[\&_\>_\*\]\:shr-my-0 > * {
margin-top: 0;
margin-bottom: 0
Expand All @@ -3475,56 +3539,8 @@
flex-basis: auto
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-0 > * + * {
margin-top: 0
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-0\.25 > * + * {
margin-top: 4px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-0\.5 > * + * {
margin-top: 8px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-0\.75 > * + * {
margin-top: 12px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-1 > * + * {
margin-top: 16px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-1\.25 > * + * {
margin-top: 20px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-1\.5 > * + * {
margin-top: 24px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-2 > * + * {
margin-top: 32px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-2\.5 > * + * {
margin-top: 40px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-3 > * + * {
margin-top: 48px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-3\.5 > * + * {
margin-top: 56px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-4 > * + * {
margin-top: 64px
}

.\[\&_\>_\*_\+_\*\]\:shr-mt-8 > * + * {
margin-top: 128px
.\[\&_\>_\:not\(\[hidden\]\)\:nth-child\(2\)\]\:shr-mb-auto > :not([hidden]):nth-child(2) {
margin-bottom: auto
}

.\[\&_svg\]\:shr-block svg {
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12834,10 +12834,10 @@ pluralize@^2.0.0:
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-2.0.0.tgz#72b726aa6fac1edeee42256c7d8dc256b335677f"
integrity sha1-crcmqm+sHt7uQiVsfY3CVrM1Z38=

polished@^4.2.2:
version "4.2.2"
resolved "https://registry.yarnpkg.com/polished/-/polished-4.2.2.tgz#2529bb7c3198945373c52e34618c8fe7b1aa84d1"
integrity sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==
polished@^4.3.0:
version "4.3.1"
resolved "https://registry.yarnpkg.com/polished/-/polished-4.3.1.tgz#5a00ae32715609f83d89f6f31d0f0261c6170548"
integrity sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==
dependencies:
"@babel/runtime" "^7.17.8"

Expand Down Expand Up @@ -14696,16 +14696,16 @@ smarthr-normalize-css@^1.1.0:
dependencies:
styled-reset "^4.4.2"

smarthr-ui@^41.1.2:
version "41.1.2"
resolved "https://registry.yarnpkg.com/smarthr-ui/-/smarthr-ui-41.1.2.tgz#47f7e0f974d73debeac450726549c3e3d78aef11"
integrity sha512-nTrUc+Nmnz02tVz2gueVkvq/pa0tCjKAPg/+A3tvc0KEGn9Cr6blZfqNKXOFP4Ze9cqoyNbbByMhOiFaY5rV3w==
smarthr-ui@^41.2.0:
version "41.2.0"
resolved "https://registry.yarnpkg.com/smarthr-ui/-/smarthr-ui-41.2.0.tgz#af3ff96a4675ab03fe687e67b2575fc405ecbb7f"
integrity sha512-xjMSe5q7v9+MPVZ69T1BfLBVwBamofhG496cFs0zTcl7RTPipIdQD9ldovD9pmz1/9F3JOmRmwBhpQIkRHNrZg==
dependencies:
"@smarthr/wareki" "^1.2.0"
dayjs "^1.11.10"
lodash.merge "^4.6.2"
lodash.range "^3.2.0"
polished "^4.2.2"
polished "^4.3.0"
react-draggable "^4.4.6"
react-icons "^5.0.1"
react-innertext "^1.1.5"
Expand Down

0 comments on commit 5bd488b

Please sign in to comment.