forstok-ui-lib 5.3.3 → 5.3.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.3.3",
3
+ "version": "5.3.6",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -171,7 +171,7 @@ export const TabsContent = styled.div<{ $mode?: string }>`
171
171
  }
172
172
  ${getTabsContentModFunc}
173
173
  `
174
- export const FoContainer = styled.section`
174
+ export const FoContainer = styled.section<{ $mode?: string }>`
175
175
  position: relative;
176
176
  > section,
177
177
  > article {
@@ -185,6 +185,80 @@ export const FoContainer = styled.section`
185
185
  > article {
186
186
  height: calc(100vh - 50px);
187
187
  }
188
+ ${({ $mode }:{ $mode?: string }) => {
189
+ if ($mode === 'detail') {
190
+ return css`
191
+ margin-top: -4px;
192
+ @media only screen and (min-width: 768px) {
193
+ > section,
194
+ > article {
195
+ > aside {
196
+ padding-left: 16px;
197
+ padding-right: 16px;
198
+ }
199
+ }
200
+ }
201
+ @media only screen and (min-width: 1024px) {
202
+ > section,
203
+ > article {
204
+ > aside {
205
+ padding-left: 0;
206
+ padding-right: 0;
207
+ }
208
+ }
209
+ }
210
+ `
211
+ }
212
+ }}
213
+ `
214
+ export const BreadcrumbContainer = styled.aside`
215
+ position: relative;
216
+ padding: 18px 16px;
217
+ text-align: center;
218
+ > a {
219
+ &:first-child {
220
+ display: none;
221
+ }
222
+ &:nth-child(2) {
223
+ display: inline;
224
+ position: absolute;
225
+ top: 20px;
226
+ left: .625em;
227
+ }
228
+ > i {
229
+ float: left;
230
+ margin-right: 6px;
231
+ }
232
+ }
233
+ span {
234
+ display: none;
235
+ }
236
+ @media only screen and (min-width: 375px) {
237
+ > a {
238
+ &:nth-child(2) {
239
+ left: 16px;
240
+ }
241
+ }
242
+ }
243
+ @media only screen and (min-width: 768px) {
244
+ padding: 8px 30px 20px;
245
+ text-align: left;
246
+ b {
247
+ font-size: .875rem;
248
+ line-height: 1;
249
+ }
250
+ span {
251
+ display: inline;
252
+ }
253
+ a {
254
+ &:first-child {
255
+ display: inline;
256
+ }
257
+ &:nth-child(2) {
258
+ display: none;
259
+ }
260
+ }
261
+ }
188
262
  `
189
263
  export const InfoGroup = styled.div`
190
264
  display: inline-grid;
@@ -244,4 +318,10 @@ export const InputGroup = styled.article<{ $mode?: string, $required?: boolean }
244
318
  display: grid;
245
319
  }
246
320
  ${getInputGroupModFunc}
321
+ `
322
+ export const BoxContainer = styled.aside`
323
+ position: relative;
324
+ @media only screen and (min-width: 768px) {
325
+ padding-bottom: 16px;
326
+ }
247
327
  `
@@ -17,7 +17,7 @@ export { default as SelectComponent } from './select';
17
17
  export { default as MenuList } from './select/menulist';
18
18
  export { default as ErrorComponent } from './error';
19
19
  export { default as UploadComponent } from './upload';
20
- export { default as UploadDragDropComponent } from './upload/drag_drop';
20
+ export { default as UploadDragDropComponent } from './upload/drag.drop';
21
21
  export { default as TextAreaComponent } from './textarea';
22
22
  export { default as TextAreaRefComponent } from './textarea/ref';
23
23
  export { default as DateComponent } from './date';