@delightui/components 0.1.66 → 0.1.67
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/dist/cjs/components/molecules/Modal/Modal.types.d.ts +4 -0
- package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanel.d.ts +3 -0
- package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanel.types.d.ts +7 -0
- package/dist/cjs/components/organisms/SlideOutPanel/SlideOutPanelExample.d.ts +2 -0
- package/dist/cjs/components/organisms/SlideOutPanel/index.d.ts +3 -0
- package/dist/cjs/components/organisms/index.d.ts +2 -0
- package/dist/cjs/library.css +98 -0
- package/dist/cjs/library.js +3 -3
- package/dist/cjs/library.js.map +1 -1
- package/dist/esm/components/molecules/Modal/Modal.types.d.ts +4 -0
- package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanel.d.ts +3 -0
- package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanel.types.d.ts +7 -0
- package/dist/esm/components/organisms/SlideOutPanel/SlideOutPanelExample.d.ts +2 -0
- package/dist/esm/components/organisms/SlideOutPanel/index.d.ts +3 -0
- package/dist/esm/components/organisms/index.d.ts +2 -0
- package/dist/esm/library.css +98 -0
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/index.d.ts +14 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ModalProps } from '../../molecules';
|
|
2
|
+
export type SlideOutPanelSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
3
|
+
export type SlideOutPanelDirectionEnum = 'Top' | 'Left' | 'Bottom' | 'Right';
|
|
4
|
+
export type SlideOutPanelProps = Omit<ModalProps, 'size' | 'header' | 'footer' | 'component-variant'> & {
|
|
5
|
+
size?: SlideOutPanelSizeEnum;
|
|
6
|
+
direction?: SlideOutPanelDirectionEnum;
|
|
7
|
+
};
|
|
@@ -14,6 +14,7 @@ export { default as TableBody } from './Table/TableBody';
|
|
|
14
14
|
export { default as Tabs } from './Tabs';
|
|
15
15
|
export { default as TabItem } from './Tabs/TabItem';
|
|
16
16
|
export { default as TabContent } from './Tabs/TabContent';
|
|
17
|
+
export { default as SlideOutPanel } from './SlideOutPanel';
|
|
17
18
|
export * from './Dropzone';
|
|
18
19
|
export * from './DropzoneContent';
|
|
19
20
|
export * from './Form';
|
|
@@ -26,3 +27,4 @@ export * from './Table/TableBody';
|
|
|
26
27
|
export * from './Tabs';
|
|
27
28
|
export * from './Tabs/TabItem';
|
|
28
29
|
export * from './Tabs/TabContent';
|
|
30
|
+
export * from './SlideOutPanel';
|
package/dist/cjs/library.css
CHANGED
|
@@ -4267,6 +4267,104 @@ span.flatpickr-weekday {
|
|
|
4267
4267
|
.TabContent-module_tabContent__3-qqV {
|
|
4268
4268
|
display: flex;
|
|
4269
4269
|
}
|
|
4270
|
+
.SlideOutPanel-module_slideOutPanel__eBr9a {
|
|
4271
|
+
display: flex;
|
|
4272
|
+
position: fixed;
|
|
4273
|
+
transform: none;
|
|
4274
|
+
transform: initial;
|
|
4275
|
+
opacity: 0;
|
|
4276
|
+
transition: transform 0.3s ease, opacity 0.3s ease;
|
|
4277
|
+
padding-top: calc(var(--slide-out-panel-padding-top) - var(--slide-out-panel-border-top-width));
|
|
4278
|
+
padding-bottom: calc(var(--slide-out-panel-padding-bottom) - var(--slide-out-panel-border-bottom-width));
|
|
4279
|
+
padding-left: calc(var(--slide-out-panel-padding-left) - var(--slide-out-panel-border-left-width));
|
|
4280
|
+
padding-right: calc(var(--slide-out-panel-padding-right) - var(--slide-out-panel-border-right-width));
|
|
4281
|
+
row-gap: var(--slide-out-panel-row-gap);
|
|
4282
|
+
-moz-column-gap: var(--slide-out-panel-column-gap);
|
|
4283
|
+
column-gap: var(--slide-out-panel-column-gap);
|
|
4284
|
+
border-top-width: var(--slide-out-panel-border-top-width);
|
|
4285
|
+
border-bottom-width: var(--slide-out-panel-border-bottom-width);
|
|
4286
|
+
border-left-width: var(--slide-out-panel-border-left-width);
|
|
4287
|
+
border-right-width: var(--slide-out-panel-border-right-width);
|
|
4288
|
+
border-style: var(--slide-out-panel-border-style);
|
|
4289
|
+
border-color: var(--slide-out-panel-border-color);
|
|
4290
|
+
border-top-left-radius: var(--slide-out-panel-border-top-left-radius);
|
|
4291
|
+
border-top-right-radius: var(--slide-out-panel-border-top-right-radius);
|
|
4292
|
+
border-bottom-right-radius: var(--slide-out-panel-border-bottom-right-radius);
|
|
4293
|
+
border-bottom-left-radius: var(--slide-out-panel-border-bottom-left-radius);
|
|
4294
|
+
outline-width: var(--slide-out-panel-outline-width);
|
|
4295
|
+
outline-style: var(--slide-out-panel-outline-style);
|
|
4296
|
+
outline-color: var(--slide-out-panel-outline-color);
|
|
4297
|
+
background-color: var(--slide-out-panel-background-color);
|
|
4298
|
+
color: var(--slide-out-panel-color);
|
|
4299
|
+
}
|
|
4300
|
+
|
|
4301
|
+
.SlideOutPanel-module_slideOutPanel--right__I8eTm {
|
|
4302
|
+
top: 0;
|
|
4303
|
+
right: -100%;
|
|
4304
|
+
left: auto;
|
|
4305
|
+
left: initial;
|
|
4306
|
+
height: 100vh;
|
|
4307
|
+
}
|
|
4308
|
+
|
|
4309
|
+
.SlideOutPanel-module_slideOutPanel--right__I8eTm.SlideOutPanel-module_open__Q-ONw {
|
|
4310
|
+
right: 0;
|
|
4311
|
+
opacity: 1;
|
|
4312
|
+
}
|
|
4313
|
+
|
|
4314
|
+
.SlideOutPanel-module_slideOutPanel--right__I8eTm.SlideOutPanel-module_slideOutPanel--small__FNO8Q, .SlideOutPanel-module_slideOutPanel--right__I8eTm.SlideOutPanel-module_slideOutPanel--medium__9-tzL, .SlideOutPanel-module_slideOutPanel--right__I8eTm.SlideOutPanel-module_slideOutPanel--large__7RHyd {
|
|
4315
|
+
width: var(--slide-out-panel-width);
|
|
4316
|
+
}
|
|
4317
|
+
|
|
4318
|
+
.SlideOutPanel-module_slideOutPanel--left__oBPI2 {
|
|
4319
|
+
top: 0;
|
|
4320
|
+
right: auto;
|
|
4321
|
+
right: initial;
|
|
4322
|
+
left: -100%;
|
|
4323
|
+
height: 100vh;
|
|
4324
|
+
}
|
|
4325
|
+
|
|
4326
|
+
.SlideOutPanel-module_slideOutPanel--left__oBPI2.SlideOutPanel-module_open__Q-ONw {
|
|
4327
|
+
left: 0;
|
|
4328
|
+
opacity: 1;
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
.SlideOutPanel-module_slideOutPanel--left__oBPI2.SlideOutPanel-module_slideOutPanel--small__FNO8Q, .SlideOutPanel-module_slideOutPanel--left__oBPI2.SlideOutPanel-module_slideOutPanel--medium__9-tzL, .SlideOutPanel-module_slideOutPanel--left__oBPI2.SlideOutPanel-module_slideOutPanel--large__7RHyd {
|
|
4332
|
+
width: var(--slide-out-panel-width);
|
|
4333
|
+
}
|
|
4334
|
+
|
|
4335
|
+
.SlideOutPanel-module_slideOutPanel--top__4e54e {
|
|
4336
|
+
top: -100%;
|
|
4337
|
+
left: 0;
|
|
4338
|
+
bottom: auto;
|
|
4339
|
+
bottom: initial;
|
|
4340
|
+
width: 100vw;
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4343
|
+
.SlideOutPanel-module_slideOutPanel--top__4e54e.SlideOutPanel-module_open__Q-ONw {
|
|
4344
|
+
top: 0;
|
|
4345
|
+
opacity: 1;
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
.SlideOutPanel-module_slideOutPanel--top__4e54e.SlideOutPanel-module_slideOutPanel--small__FNO8Q, .SlideOutPanel-module_slideOutPanel--top__4e54e.SlideOutPanel-module_slideOutPanel--medium__9-tzL, .SlideOutPanel-module_slideOutPanel--top__4e54e.SlideOutPanel-module_slideOutPanel--large__7RHyd {
|
|
4349
|
+
height: var(--slide-out-panel-height);
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
.SlideOutPanel-module_slideOutPanel--bottom__E3bRO {
|
|
4353
|
+
top: auto;
|
|
4354
|
+
top: initial;
|
|
4355
|
+
left: 0;
|
|
4356
|
+
bottom: -100%;
|
|
4357
|
+
width: 100vw;
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
.SlideOutPanel-module_slideOutPanel--bottom__E3bRO.SlideOutPanel-module_open__Q-ONw {
|
|
4361
|
+
bottom: 0;
|
|
4362
|
+
opacity: 1;
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4365
|
+
.SlideOutPanel-module_slideOutPanel--bottom__E3bRO.SlideOutPanel-module_slideOutPanel--small__FNO8Q, .SlideOutPanel-module_slideOutPanel--bottom__E3bRO.SlideOutPanel-module_slideOutPanel--medium__9-tzL, .SlideOutPanel-module_slideOutPanel--bottom__E3bRO.SlideOutPanel-module_slideOutPanel--large__7RHyd {
|
|
4366
|
+
height: var(--slide-out-panel-height);
|
|
4367
|
+
}
|
|
4270
4368
|
|
|
4271
4369
|
[data-theme='dark'] [component-variant^="text-"], [data-theme='light'] [component-variant^="text-"] {
|
|
4272
4370
|
--text-opacity: 1;
|