@nuraly/lumenui 0.1.0 → 0.2.1
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/nuralyui.bundle.js +23024 -17355
- package/dist/nuralyui.bundle.js.gz +0 -0
- package/dist/src/components/alert/alert.component.d.ts +8 -5
- package/dist/src/components/alert/alert.component.js +24 -20
- package/dist/src/components/alert/alert.style.d.ts +0 -7
- package/dist/src/components/alert/alert.style.js +48 -90
- package/dist/src/components/alert/bundle.js +82 -108
- package/dist/src/components/alert/bundle.js.gz +0 -0
- package/dist/src/components/badge/badge.component.d.ts +9 -8
- package/dist/src/components/badge/badge.component.js +17 -14
- package/dist/src/components/badge/badge.style.d.ts +0 -7
- package/dist/src/components/badge/badge.style.js +49 -107
- package/dist/src/components/badge/bundle.js +81 -119
- package/dist/src/components/badge/bundle.js.gz +0 -0
- package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +8 -10
- package/dist/src/components/breadcrumb/breadcrumb.component.js +16 -15
- package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +0 -7
- package/dist/src/components/breadcrumb/breadcrumb.style.js +42 -60
- package/dist/src/components/breadcrumb/bundle.js +96 -93
- package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
- package/dist/src/components/button/bundle.js +221 -470
- package/dist/src/components/button/bundle.js.gz +0 -0
- package/dist/src/components/button/button.component.d.ts +2 -1
- package/dist/src/components/button/button.component.js +6 -6
- package/dist/src/components/button/button.style.d.ts +0 -7
- package/dist/src/components/button/button.style.js +167 -433
- package/dist/src/components/canvas/base-canvas.component.d.ts +2 -1
- package/dist/src/components/canvas/base-canvas.component.js +1 -0
- package/dist/src/components/canvas/bundle.js +16919 -9595
- package/dist/src/components/canvas/bundle.js.gz +0 -0
- package/dist/src/components/canvas/canvas.constants.d.ts +1 -1
- package/dist/src/components/canvas/canvas.constants.js +1 -1
- package/dist/src/components/canvas/chatbot-panel.style.js +31 -31
- package/dist/src/components/canvas/index.d.ts +2 -0
- package/dist/src/components/canvas/index.js +3 -0
- package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +3 -1
- package/dist/src/components/canvas/whiteboard-canvas.component.js +19 -1
- package/dist/src/components/canvas/whiteboard-canvas.style.js +159 -138
- package/dist/src/components/canvas/whiteboard-node.component.d.ts +2 -1
- package/dist/src/components/canvas/whiteboard-node.component.js +2 -1
- package/dist/src/components/canvas/whiteboard-node.style.js +44 -44
- package/dist/src/components/canvas/workflow-canvas-only.d.ts +4 -0
- package/dist/src/components/canvas/workflow-canvas-only.js +5 -0
- package/dist/src/components/canvas/workflow-canvas.component.d.ts +3 -1
- package/dist/src/components/canvas/workflow-canvas.component.js +24 -2
- package/dist/src/components/canvas/workflow-canvas.style.js +776 -648
- package/dist/src/components/canvas/workflow-canvas.types.d.ts +113 -4
- package/dist/src/components/canvas/workflow-canvas.types.js +646 -3
- package/dist/src/components/canvas/workflow-node.component.d.ts +3 -2
- package/dist/src/components/canvas/workflow-node.component.js +5 -5
- package/dist/src/components/canvas/workflow-node.style.js +183 -181
- package/dist/src/components/card/bundle.js +43 -35
- package/dist/src/components/card/bundle.js.gz +0 -0
- package/dist/src/components/card/card.component.d.ts +6 -1
- package/dist/src/components/card/card.component.js +8 -2
- package/dist/src/components/card/card.style.js +26 -30
- package/dist/src/components/carousel/bundle.js +8 -8
- package/dist/src/components/carousel/bundle.js.gz +0 -0
- package/dist/src/components/carousel/carousel.component.d.ts +12 -0
- package/dist/src/components/carousel/carousel.component.js +16 -4
- package/dist/src/components/chatbot/bundle.js +422 -406
- package/dist/src/components/chatbot/bundle.js.gz +0 -0
- package/dist/src/components/chatbot/chatbot.component.d.ts +2 -1
- package/dist/src/components/chatbot/chatbot.component.js +1 -0
- package/dist/src/components/chatbot/chatbot.style.js +277 -277
- package/dist/src/components/checkbox/bundle.js +86 -245
- package/dist/src/components/checkbox/bundle.js.gz +0 -0
- package/dist/src/components/checkbox/checkbox.component.d.ts +5 -2
- package/dist/src/components/checkbox/checkbox.component.js +11 -13
- package/dist/src/components/checkbox/checkbox.style.js +56 -231
- package/dist/src/components/code-editor/bundle.js +151 -25
- package/dist/src/components/code-editor/bundle.js.gz +0 -0
- package/dist/src/components/code-editor/code-editor.component.d.ts +18 -56
- package/dist/src/components/code-editor/code-editor.component.js +141 -394
- package/dist/src/components/code-editor/code-editor.style.js +139 -15
- package/dist/src/components/collapse/bundle.js +97 -84
- package/dist/src/components/collapse/bundle.js.gz +0 -0
- package/dist/src/components/collapse/collapse.component.d.ts +7 -1
- package/dist/src/components/collapse/collapse.component.js +11 -2
- package/dist/src/components/collapse/collapse.style.js +60 -60
- package/dist/src/components/colorpicker/bundle.js +85 -48
- package/dist/src/components/colorpicker/bundle.js.gz +0 -0
- package/dist/src/components/colorpicker/color-holder.component.d.ts +2 -4
- package/dist/src/components/colorpicker/color-holder.component.js +5 -6
- package/dist/src/components/colorpicker/color-holder.style.js +11 -11
- package/dist/src/components/colorpicker/color-picker.component.d.ts +2 -1
- package/dist/src/components/colorpicker/color-picker.component.js +1 -0
- package/dist/src/components/colorpicker/color-picker.style.js +12 -12
- package/dist/src/components/colorpicker/default-color-sets.component.d.ts +2 -2
- package/dist/src/components/colorpicker/default-color-sets.component.js +4 -3
- package/dist/src/components/colorpicker/default-color-sets.style.js +5 -5
- package/dist/src/components/container/bundle.js +24 -14
- package/dist/src/components/container/bundle.js.gz +0 -0
- package/dist/src/components/container/container.component.d.ts +4 -1
- package/dist/src/components/container/container.component.js +7 -5
- package/dist/src/components/container/container.style.js +9 -9
- package/dist/src/components/datepicker/bundle.js +193 -177
- package/dist/src/components/datepicker/bundle.js.gz +0 -0
- package/dist/src/components/datepicker/datepicker.component.d.ts +2 -1
- package/dist/src/components/datepicker/datepicker.component.js +1 -0
- package/dist/src/components/datepicker/datepicker.style.js +65 -65
- package/dist/src/components/datepicker/datepicker.style.variables.js +91 -91
- package/dist/src/components/db-connection-select/bundle.js +7 -6
- package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +3 -0
- package/dist/src/components/db-connection-select/db-connection-select.component.js +4 -0
- package/dist/src/components/divider/bundle.js +61 -35
- package/dist/src/components/divider/bundle.js.gz +0 -0
- package/dist/src/components/divider/divider.component.d.ts +4 -6
- package/dist/src/components/divider/divider.component.js +10 -14
- package/dist/src/components/divider/divider.style.js +41 -31
- package/dist/src/components/document/bundle.js +50 -48
- package/dist/src/components/document/bundle.js.gz +0 -0
- package/dist/src/components/document/document.component.d.ts +12 -1
- package/dist/src/components/document/document.component.js +18 -6
- package/dist/src/components/document/document.style.js +21 -36
- package/dist/src/components/dropdown/bundle.js +117 -101
- package/dist/src/components/dropdown/bundle.js.gz +0 -0
- package/dist/src/components/dropdown/dropdown.component.d.ts +2 -1
- package/dist/src/components/dropdown/dropdown.component.js +1 -0
- package/dist/src/components/dropdown/dropdown.style.js +68 -68
- package/dist/src/components/file-upload/bundle.js +82 -76
- package/dist/src/components/file-upload/bundle.js.gz +0 -0
- package/dist/src/components/file-upload/file-upload.component.d.ts +2 -1
- package/dist/src/components/file-upload/file-upload.component.js +1 -0
- package/dist/src/components/file-upload/styles.js +59 -59
- package/dist/src/components/flex/bundle.js +18 -8
- package/dist/src/components/flex/bundle.js.gz +0 -0
- package/dist/src/components/flex/flex.component.d.ts +4 -1
- package/dist/src/components/flex/flex.component.js +7 -4
- package/dist/src/components/flex/flex.style.js +2 -2
- package/dist/src/components/form/bundle.js +22 -10
- package/dist/src/components/form/bundle.js.gz +0 -0
- package/dist/src/components/form/form.component.d.ts +4 -1
- package/dist/src/components/form/form.component.js +5 -1
- package/dist/src/components/form/form.style.js +2 -2
- package/dist/src/components/grid/bundle.js +26 -14
- package/dist/src/components/grid/bundle.js.gz +0 -0
- package/dist/src/components/grid/col.component.d.ts +4 -1
- package/dist/src/components/grid/col.component.js +4 -1
- package/dist/src/components/grid/col.style.js +2 -2
- package/dist/src/components/grid/row.component.d.ts +4 -1
- package/dist/src/components/grid/row.component.js +4 -1
- package/dist/src/components/grid/row.style.js +2 -2
- package/dist/src/components/icon/bundle.js +78 -252
- package/dist/src/components/icon/bundle.js.gz +0 -0
- package/dist/src/components/icon/icon-paths.d.ts +2 -0
- package/dist/src/components/icon/icon-paths.js +141 -0
- package/dist/src/components/icon/icon.component.d.ts +10 -12
- package/dist/src/components/icon/icon.component.js +42 -93
- package/dist/src/components/icon/icon.style.js +42 -130
- package/dist/src/components/icon/icon.variables.js +9 -9
- package/dist/src/components/iconpicker/bundle.js +859 -1511
- package/dist/src/components/iconpicker/bundle.js.gz +0 -0
- package/dist/src/components/iconpicker/icon-picker.component.d.ts +2 -1
- package/dist/src/components/iconpicker/icon-picker.component.js +1 -0
- package/dist/src/components/iconpicker/icon-picker.style.js +13 -13
- package/dist/src/components/image/bundle.js +43 -33
- package/dist/src/components/image/bundle.js.gz +0 -0
- package/dist/src/components/image/image.component.d.ts +10 -1
- package/dist/src/components/image/image.component.js +13 -3
- package/dist/src/components/image/image.style.js +19 -26
- package/dist/src/components/input/bundle.js +420 -644
- package/dist/src/components/input/bundle.js.gz +0 -0
- package/dist/src/components/input/input.component.d.ts +16 -3
- package/dist/src/components/input/input.component.js +43 -27
- package/dist/src/components/input/input.style.d.ts +1 -1
- package/dist/src/components/input/input.style.js +331 -634
- package/dist/src/components/kv-secret-select/bundle.js +2 -1
- package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +3 -0
- package/dist/src/components/kv-secret-select/kv-secret-select.component.js +4 -0
- package/dist/src/components/label/bundle.js +37 -60
- package/dist/src/components/label/bundle.js.gz +0 -0
- package/dist/src/components/label/label.component.d.ts +8 -4
- package/dist/src/components/label/label.component.js +9 -14
- package/dist/src/components/label/label.style.js +17 -25
- package/dist/src/components/label/label.style.variables.js +18 -18
- package/dist/src/components/layout/bundle.js +86 -70
- package/dist/src/components/layout/bundle.js.gz +0 -0
- package/dist/src/components/layout/content.component.d.ts +2 -1
- package/dist/src/components/layout/content.component.js +2 -1
- package/dist/src/components/layout/content.style.js +3 -3
- package/dist/src/components/layout/footer.component.d.ts +2 -1
- package/dist/src/components/layout/footer.component.js +3 -2
- package/dist/src/components/layout/footer.style.js +7 -7
- package/dist/src/components/layout/header.component.d.ts +2 -1
- package/dist/src/components/layout/header.component.js +3 -2
- package/dist/src/components/layout/header.style.js +7 -7
- package/dist/src/components/layout/layout.component.d.ts +4 -7
- package/dist/src/components/layout/layout.component.js +9 -22
- package/dist/src/components/layout/layout.style.js +1 -1
- package/dist/src/components/layout/sider.component.d.ts +3 -1
- package/dist/src/components/layout/sider.component.js +3 -1
- package/dist/src/components/layout/sider.style.js +29 -29
- package/dist/src/components/menu/bundle.js +135 -125
- package/dist/src/components/menu/bundle.js.gz +0 -0
- package/dist/src/components/menu/menu.component.d.ts +2 -1
- package/dist/src/components/menu/menu.component.js +1 -0
- package/dist/src/components/menu/menu.style.js +87 -87
- package/dist/src/components/modal/bundle.js +105 -96
- package/dist/src/components/modal/bundle.js.gz +0 -0
- package/dist/src/components/modal/modal.component.d.ts +2 -1
- package/dist/src/components/modal/modal.component.js +1 -0
- package/dist/src/components/modal/modal.style.js +69 -71
- package/dist/src/components/panel/bundle.js +190 -391
- package/dist/src/components/panel/bundle.js.gz +0 -0
- package/dist/src/components/panel/panel.component.d.ts +2 -1
- package/dist/src/components/panel/panel.component.js +1 -0
- package/dist/src/components/panel/panel.style.js +65 -65
- package/dist/src/components/popconfirm/bundle.js +107 -93
- package/dist/src/components/popconfirm/bundle.js.gz +0 -0
- package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +2 -1
- package/dist/src/components/popconfirm/popconfirm-manager.component.js +1 -0
- package/dist/src/components/popconfirm/popconfirm-manager.style.js +16 -16
- package/dist/src/components/popconfirm/popconfirm.component.d.ts +2 -1
- package/dist/src/components/popconfirm/popconfirm.component.js +9 -5
- package/dist/src/components/popconfirm/popconfirm.style.js +43 -43
- package/dist/src/components/radio/bundle.js +56 -86
- package/dist/src/components/radio/bundle.js.gz +0 -0
- package/dist/src/components/radio/radio.component.d.ts +8 -2
- package/dist/src/components/radio/radio.component.js +17 -9
- package/dist/src/components/radio/radio.style.js +30 -77
- package/dist/src/components/radio-group/bundle.js +125 -89
- package/dist/src/components/radio-group/bundle.js.gz +0 -0
- package/dist/src/components/radio-group/radio-group.component.d.ts +5 -1
- package/dist/src/components/radio-group/radio-group.component.js +18 -10
- package/dist/src/components/radio-group/radio-group.style.js +44 -44
- package/dist/src/components/select/bundle.js +260 -367
- package/dist/src/components/select/bundle.js.gz +0 -0
- package/dist/src/components/select/select.component.d.ts +12 -17
- package/dist/src/components/select/select.component.js +35 -35
- package/dist/src/components/select/select.style.js +184 -324
- package/dist/src/components/skeleton/bundle.js +82 -162
- package/dist/src/components/skeleton/bundle.js.gz +0 -0
- package/dist/src/components/skeleton/skeleton.component.d.ts +10 -5
- package/dist/src/components/skeleton/skeleton.component.js +20 -7
- package/dist/src/components/skeleton/skeleton.style.js +34 -133
- package/dist/src/components/slider-input/bundle.js +89 -88
- package/dist/src/components/slider-input/bundle.js.gz +0 -0
- package/dist/src/components/slider-input/slider-input.component.d.ts +11 -0
- package/dist/src/components/slider-input/slider-input.component.js +20 -8
- package/dist/src/components/slider-input/slider-input.style.js +47 -47
- package/dist/src/components/slider-input/slider-input.style.variables.js +32 -32
- package/dist/src/components/table/bundle.js +149 -128
- package/dist/src/components/table/bundle.js.gz +0 -0
- package/dist/src/components/table/table.component.d.ts +2 -1
- package/dist/src/components/table/table.component.js +1 -0
- package/dist/src/components/table/table.style.js +79 -79
- package/dist/src/components/tabs/bundle.js +462 -663
- package/dist/src/components/tabs/bundle.js.gz +0 -0
- package/dist/src/components/tabs/tabs.component.d.ts +6 -1
- package/dist/src/components/tabs/tabs.component.js +8 -1
- package/dist/src/components/tabs/tabs.style.js +200 -201
- package/dist/src/components/tag/bundle.js +44 -36
- package/dist/src/components/tag/bundle.js.gz +0 -0
- package/dist/src/components/tag/tag.component.d.ts +7 -6
- package/dist/src/components/tag/tag.component.js +10 -19
- package/dist/src/components/tag/tag.style.js +20 -24
- package/dist/src/components/textarea/bundle.js +131 -94
- package/dist/src/components/textarea/bundle.js.gz +0 -0
- package/dist/src/components/textarea/textarea.component.d.ts +7 -1
- package/dist/src/components/textarea/textarea.component.js +10 -3
- package/dist/src/components/textarea/textarea.style.d.ts +1 -13
- package/dist/src/components/textarea/textarea.style.js +79 -91
- package/dist/src/components/timeline/bundle.js +71 -134
- package/dist/src/components/timeline/bundle.js.gz +0 -0
- package/dist/src/components/timeline/timeline.component.d.ts +9 -6
- package/dist/src/components/timeline/timeline.component.js +16 -13
- package/dist/src/components/timeline/timeline.style.d.ts +0 -7
- package/dist/src/components/timeline/timeline.style.js +41 -122
- package/dist/src/components/timepicker/bundle.js +196 -166
- package/dist/src/components/timepicker/bundle.js.gz +0 -0
- package/dist/src/components/timepicker/timepicker.component.d.ts +2 -1
- package/dist/src/components/timepicker/timepicker.component.js +1 -0
- package/dist/src/components/timepicker/timepicker.style.js +42 -42
- package/dist/src/components/timepicker/timepicker.style.variables.js +91 -91
- package/dist/src/components/toast/bundle.js +97 -81
- package/dist/src/components/toast/bundle.js.gz +0 -0
- package/dist/src/components/toast/toast.component.d.ts +2 -1
- package/dist/src/components/toast/toast.component.js +1 -0
- package/dist/src/components/toast/toast.style.js +62 -62
- package/dist/src/components/tooltips/bundle.js +10 -10
- package/dist/src/components/tooltips/bundle.js.gz +0 -0
- package/dist/src/components/tooltips/tooltips.component.d.ts +8 -0
- package/dist/src/components/tooltips/tooltips.component.js +9 -1
- package/dist/src/components/tooltips/tooltips.style.js +6 -6
- package/dist/src/components/video/bundle.js +47 -36
- package/dist/src/components/video/bundle.js.gz +0 -0
- package/dist/src/components/video/video.component.d.ts +12 -1
- package/dist/src/components/video/video.component.js +18 -6
- package/dist/src/components/video/video.style.js +18 -24
- package/package.json +25 -12
- package/packages/common/dist/VERSIONS.md +2 -2
- package/packages/common/dist/shared/base-mixin.d.ts +21 -19
- package/packages/common/dist/shared/base-mixin.d.ts.map +1 -1
- package/packages/common/dist/shared/base-mixin.js +102 -18
- package/packages/common/dist/shared/base-mixin.js.map +1 -1
- package/packages/common/dist/shared/index.d.ts +1 -0
- package/packages/common/dist/shared/index.d.ts.map +1 -1
- package/packages/common/dist/shared/index.js +2 -0
- package/packages/common/dist/shared/index.js.map +1 -1
- package/packages/common/dist/shared/style-injector.d.ts +11 -0
- package/packages/common/dist/shared/style-injector.d.ts.map +1 -0
- package/packages/common/dist/shared/style-injector.js +53 -0
- package/packages/common/dist/shared/style-injector.js.map +1 -0
- package/packages/common/dist/shared/theme-mixin.d.ts +2 -24
- package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -1
- package/packages/common/dist/shared/theme-mixin.js +5 -38
- package/packages/common/dist/shared/theme-mixin.js.map +1 -1
- package/packages/themes/dist/default.css +0 -10
- package/packages/themes/dist/package.json +1 -1
|
@@ -9,18 +9,18 @@ import { css } from 'lit';
|
|
|
9
9
|
export const styles = css `
|
|
10
10
|
:host {
|
|
11
11
|
display: contents;
|
|
12
|
-
font-family:
|
|
12
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
13
13
|
|
|
14
14
|
/* Force CSS custom property inheritance to ensure theme switching works properly */
|
|
15
|
-
color:
|
|
16
|
-
background-color:
|
|
15
|
+
color: #161616;
|
|
16
|
+
background-color: #ffffff;
|
|
17
17
|
|
|
18
18
|
/* Ensure theme variables are properly inherited */
|
|
19
|
-
--modal-border-radius:
|
|
19
|
+
--modal-border-radius: 8px;
|
|
20
20
|
|
|
21
21
|
/* Ensure clean state transitions when theme changes */
|
|
22
22
|
* {
|
|
23
|
-
transition: all
|
|
23
|
+
transition: all 0.15s ease;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -37,13 +37,13 @@ export const styles = css `
|
|
|
37
37
|
left: 0;
|
|
38
38
|
right: 0;
|
|
39
39
|
bottom: 0;
|
|
40
|
-
background-color:
|
|
41
|
-
z-index:
|
|
40
|
+
background-color: rgba(0, 0, 0, 0.45);
|
|
41
|
+
z-index: 1000;
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
justify-content: center;
|
|
45
|
-
padding:
|
|
46
|
-
backdrop-filter:
|
|
45
|
+
padding: 1rem;
|
|
46
|
+
backdrop-filter: none;
|
|
47
47
|
|
|
48
48
|
&.modal-backdrop--hidden {
|
|
49
49
|
display: none;
|
|
@@ -51,25 +51,25 @@ export const styles = css `
|
|
|
51
51
|
|
|
52
52
|
&.modal-backdrop--position-top {
|
|
53
53
|
align-items: flex-start;
|
|
54
|
-
padding-top:
|
|
54
|
+
padding-top: 2rem;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&.modal-backdrop--position-bottom {
|
|
58
58
|
align-items: flex-end;
|
|
59
|
-
padding-bottom:
|
|
59
|
+
padding-bottom: 2rem;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* Nested modals support */
|
|
64
64
|
.modal-backdrop {
|
|
65
65
|
/* Ensure each modal backdrop has its own stacking context */
|
|
66
|
-
z-index:
|
|
66
|
+
z-index: 1000;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/* Nested modal backdrop styling */
|
|
70
70
|
.modal-backdrop + .modal-backdrop {
|
|
71
71
|
/* Subsequent modals get slightly darker backdrop */
|
|
72
|
-
background-color:
|
|
72
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/* Nested modal animation delay to avoid conflicts */
|
|
@@ -80,46 +80,44 @@ export const styles = css `
|
|
|
80
80
|
/* Modal container */
|
|
81
81
|
.modal {
|
|
82
82
|
position: relative;
|
|
83
|
-
background-color:
|
|
83
|
+
background-color: #ffffff;
|
|
84
84
|
border-radius: var(--modal-border-radius);
|
|
85
|
-
box-shadow:
|
|
86
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
85
|
+
box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
87
86
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
88
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
max-
|
|
92
|
-
max-width: calc(100vw - var(--nuraly-spacing-modal-margin, var(--nuraly-spacing-07, 2rem)) * 2);
|
|
87
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
88
|
+
border: 1px solid #e0e0e0;
|
|
89
|
+
max-height: calc(100vh - 2rem * 2);
|
|
90
|
+
max-width: calc(100vw - 2rem * 2);
|
|
93
91
|
display: flex;
|
|
94
92
|
flex-direction: column;
|
|
95
93
|
outline: none;
|
|
96
94
|
|
|
97
95
|
&:focus {
|
|
98
|
-
outline:
|
|
99
|
-
outline-offset:
|
|
96
|
+
outline: 2px solid #7c3aed;
|
|
97
|
+
outline-offset: 1px;
|
|
100
98
|
}
|
|
101
99
|
}
|
|
102
100
|
|
|
103
101
|
|
|
104
102
|
/* Modal sizes */
|
|
105
103
|
.modal--size-small {
|
|
106
|
-
width:
|
|
107
|
-
min-height:
|
|
104
|
+
width: 400px;
|
|
105
|
+
min-height: 200px;
|
|
108
106
|
}
|
|
109
107
|
|
|
110
108
|
.modal--size-medium {
|
|
111
|
-
width:
|
|
112
|
-
min-height:
|
|
109
|
+
width: 600px;
|
|
110
|
+
min-height: 300px;
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
.modal--size-large {
|
|
116
|
-
width:
|
|
117
|
-
min-height:
|
|
114
|
+
width: 800px;
|
|
115
|
+
min-height: 400px;
|
|
118
116
|
}
|
|
119
117
|
|
|
120
118
|
.modal--size-xl {
|
|
121
|
-
width:
|
|
122
|
-
min-height:
|
|
119
|
+
width: 1000px;
|
|
120
|
+
min-height: 500px;
|
|
123
121
|
}
|
|
124
122
|
|
|
125
123
|
.modal--fullscreen {
|
|
@@ -132,12 +130,12 @@ export const styles = css `
|
|
|
132
130
|
|
|
133
131
|
/* Modal header */
|
|
134
132
|
.modal-header {
|
|
135
|
-
padding:
|
|
136
|
-
border-bottom:
|
|
133
|
+
padding: 1rem 1.5rem;
|
|
134
|
+
border-bottom: 1px solid #e0e0e0;
|
|
137
135
|
display: flex;
|
|
138
136
|
align-items: center;
|
|
139
137
|
justify-content: space-between;
|
|
140
|
-
min-height:
|
|
138
|
+
min-height: 56px;
|
|
141
139
|
flex-shrink: 0;
|
|
142
140
|
|
|
143
141
|
&.modal-header--draggable {
|
|
@@ -149,24 +147,24 @@ export const styles = css `
|
|
|
149
147
|
.modal-header-content {
|
|
150
148
|
display: flex;
|
|
151
149
|
align-items: center;
|
|
152
|
-
gap:
|
|
150
|
+
gap: 0.5rem;
|
|
153
151
|
flex: 1;
|
|
154
152
|
min-width: 0;
|
|
155
153
|
}
|
|
156
154
|
|
|
157
155
|
.modal-header-icon {
|
|
158
156
|
flex-shrink: 0;
|
|
159
|
-
width:
|
|
160
|
-
height:
|
|
161
|
-
color:
|
|
157
|
+
width: 20px;
|
|
158
|
+
height: 20px;
|
|
159
|
+
color: #525252;
|
|
162
160
|
}
|
|
163
161
|
|
|
164
162
|
.modal-title {
|
|
165
|
-
font-size:
|
|
166
|
-
font-weight:
|
|
167
|
-
color:
|
|
163
|
+
font-size: 1.125rem;
|
|
164
|
+
font-weight: 500;
|
|
165
|
+
color: #161616;
|
|
168
166
|
margin: 0;
|
|
169
|
-
line-height:
|
|
167
|
+
line-height: 1.375;
|
|
170
168
|
overflow: hidden;
|
|
171
169
|
text-overflow: ellipsis;
|
|
172
170
|
white-space: nowrap;
|
|
@@ -174,36 +172,36 @@ export const styles = css `
|
|
|
174
172
|
|
|
175
173
|
.modal-close-button {
|
|
176
174
|
flex-shrink: 0;
|
|
177
|
-
width:
|
|
178
|
-
height:
|
|
175
|
+
width: 32px;
|
|
176
|
+
height: 32px;
|
|
179
177
|
border: none;
|
|
180
178
|
background: transparent;
|
|
181
|
-
border-radius:
|
|
179
|
+
border-radius: 4px;
|
|
182
180
|
cursor: pointer;
|
|
183
181
|
display: flex;
|
|
184
182
|
align-items: center;
|
|
185
183
|
justify-content: center;
|
|
186
|
-
color:
|
|
187
|
-
transition: all
|
|
184
|
+
color: #525252;
|
|
185
|
+
transition: all 0.15s ease;
|
|
188
186
|
|
|
189
187
|
&:hover {
|
|
190
|
-
background-color:
|
|
191
|
-
color:
|
|
188
|
+
background-color: #f4f4f4;
|
|
189
|
+
color: #161616;
|
|
192
190
|
}
|
|
193
191
|
|
|
194
192
|
&:focus {
|
|
195
|
-
outline:
|
|
196
|
-
outline-offset:
|
|
193
|
+
outline: 2px solid #7c3aed;
|
|
194
|
+
outline-offset: 1px;
|
|
197
195
|
}
|
|
198
196
|
|
|
199
197
|
&:active {
|
|
200
|
-
background-color:
|
|
198
|
+
background-color: #c6c6c6;
|
|
201
199
|
}
|
|
202
200
|
}
|
|
203
201
|
|
|
204
202
|
.modal-close-icon {
|
|
205
|
-
width:
|
|
206
|
-
height:
|
|
203
|
+
width: 16px;
|
|
204
|
+
height: 16px;
|
|
207
205
|
}
|
|
208
206
|
|
|
209
207
|
/* Carbon theme specific - sharp corners for close button */
|
|
@@ -216,21 +214,21 @@ export const styles = css `
|
|
|
216
214
|
/* Modal body */
|
|
217
215
|
.modal-body {
|
|
218
216
|
flex: 1;
|
|
219
|
-
padding:
|
|
217
|
+
padding: 1rem 1.5rem;
|
|
220
218
|
overflow-y: auto;
|
|
221
|
-
color:
|
|
222
|
-
line-height:
|
|
219
|
+
color: #161616;
|
|
220
|
+
line-height: 1.5;
|
|
223
221
|
}
|
|
224
222
|
|
|
225
223
|
/* Modal footer */
|
|
226
224
|
.modal-footer {
|
|
227
|
-
padding:
|
|
228
|
-
border-top:
|
|
225
|
+
padding: 0.5rem 1rem;
|
|
226
|
+
border-top: 1px solid #e0e0e0;
|
|
229
227
|
display: flex;
|
|
230
228
|
align-items: center;
|
|
231
229
|
justify-content: flex-end;
|
|
232
|
-
gap:
|
|
233
|
-
min-height:
|
|
230
|
+
gap: 0.5rem;
|
|
231
|
+
min-height: 48px;
|
|
234
232
|
flex-shrink: 0;
|
|
235
233
|
}
|
|
236
234
|
|
|
@@ -290,23 +288,23 @@ export const styles = css `
|
|
|
290
288
|
|
|
291
289
|
/* Animation classes */
|
|
292
290
|
.modal-backdrop--animation-fade {
|
|
293
|
-
animation: backdropFadeIn
|
|
291
|
+
animation: backdropFadeIn 0.3s ease;
|
|
294
292
|
}
|
|
295
293
|
|
|
296
294
|
.modal--animation-fade {
|
|
297
|
-
animation: modalFadeIn
|
|
295
|
+
animation: modalFadeIn 0.3s ease;
|
|
298
296
|
}
|
|
299
297
|
|
|
300
298
|
.modal--animation-zoom {
|
|
301
|
-
animation: modalZoomIn
|
|
299
|
+
animation: modalZoomIn 0.3s ease;
|
|
302
300
|
}
|
|
303
301
|
|
|
304
302
|
.modal--animation-slide-up {
|
|
305
|
-
animation: modalSlideUp
|
|
303
|
+
animation: modalSlideUp 0.3s ease;
|
|
306
304
|
}
|
|
307
305
|
|
|
308
306
|
.modal--animation-slide-down {
|
|
309
|
-
animation: modalSlideDown
|
|
307
|
+
animation: modalSlideDown 0.3s ease;
|
|
310
308
|
}
|
|
311
309
|
|
|
312
310
|
/* Dragging state */
|
|
@@ -331,8 +329,8 @@ export const styles = css `
|
|
|
331
329
|
background: linear-gradient(
|
|
332
330
|
-45deg,
|
|
333
331
|
transparent 40%,
|
|
334
|
-
|
|
335
|
-
|
|
332
|
+
#e0e0e0 40%,
|
|
333
|
+
#e0e0e0 60%,
|
|
336
334
|
transparent 60%
|
|
337
335
|
);
|
|
338
336
|
}
|
|
@@ -340,7 +338,7 @@ export const styles = css `
|
|
|
340
338
|
/* Responsive behavior */
|
|
341
339
|
@media (max-width: 768px) {
|
|
342
340
|
.modal-backdrop {
|
|
343
|
-
padding:
|
|
341
|
+
padding: 0.25rem;
|
|
344
342
|
}
|
|
345
343
|
|
|
346
344
|
.modal--size-small,
|
|
@@ -354,8 +352,8 @@ export const styles = css `
|
|
|
354
352
|
.modal-header,
|
|
355
353
|
.modal-body,
|
|
356
354
|
.modal-footer {
|
|
357
|
-
padding-left:
|
|
358
|
-
padding-right:
|
|
355
|
+
padding-left: 0.75rem;
|
|
356
|
+
padding-right: 0.75rem;
|
|
359
357
|
}
|
|
360
358
|
}
|
|
361
359
|
|