@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
|
@@ -3,8 +3,8 @@ export const styles = css `
|
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
5
5
|
position: relative;
|
|
6
|
-
color:
|
|
7
|
-
font-family:
|
|
6
|
+
color: #161616;
|
|
7
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.dropdown {
|
|
@@ -18,20 +18,20 @@ export const styles = css `
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.dropdown__trigger:focus-within {
|
|
21
|
-
outline:
|
|
22
|
-
outline-offset:
|
|
21
|
+
outline: 2px solid #0f62fe;
|
|
22
|
+
outline-offset: 1px;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.dropdown__panel {
|
|
26
26
|
position: fixed;
|
|
27
|
-
z-index:
|
|
28
|
-
background:
|
|
29
|
-
border:
|
|
30
|
-
border-radius:
|
|
31
|
-
box-shadow:
|
|
32
|
-
min-width:
|
|
33
|
-
max-width:
|
|
34
|
-
max-height:
|
|
27
|
+
z-index: 9999;
|
|
28
|
+
background: #ffffff;
|
|
29
|
+
border: 1px solid #e0e0e0;
|
|
30
|
+
border-radius: 6px;
|
|
31
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
|
32
|
+
min-width: 10rem;
|
|
33
|
+
max-width: 20rem;
|
|
34
|
+
max-height: 200px;
|
|
35
35
|
overflow: auto;
|
|
36
36
|
/* Use display none to fully hide when closed */
|
|
37
37
|
display: none;
|
|
@@ -39,9 +39,9 @@ export const styles = css `
|
|
|
39
39
|
opacity: 0;
|
|
40
40
|
visibility: hidden;
|
|
41
41
|
transform: translateY(-8px);
|
|
42
|
-
transition: opacity
|
|
43
|
-
visibility
|
|
44
|
-
transform
|
|
42
|
+
transition: opacity 0.15s ease,
|
|
43
|
+
visibility 0.15s ease,
|
|
44
|
+
transform 0.15s ease;
|
|
45
45
|
/* Ensure proper containment */
|
|
46
46
|
box-sizing: border-box;
|
|
47
47
|
/* Create new stacking context to prevent layering issues */
|
|
@@ -91,15 +91,15 @@ export const styles = css `
|
|
|
91
91
|
|
|
92
92
|
/* Size variants */
|
|
93
93
|
.dropdown__panel--small {
|
|
94
|
-
font-size:
|
|
94
|
+
font-size: 0.75rem;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.dropdown__panel--medium {
|
|
98
|
-
font-size:
|
|
98
|
+
font-size: 0.875rem;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.dropdown__panel--large {
|
|
102
|
-
font-size:
|
|
102
|
+
font-size: 1rem;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/* Animation variants */
|
|
@@ -123,8 +123,8 @@ export const styles = css `
|
|
|
123
123
|
|
|
124
124
|
/* Fade animation - opacity only */
|
|
125
125
|
.dropdown__panel--fade {
|
|
126
|
-
transition: opacity
|
|
127
|
-
visibility
|
|
126
|
+
transition: opacity 0.15s ease,
|
|
127
|
+
visibility 0.15s ease;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.dropdown__panel--fade:not(.dropdown__panel--open) {
|
|
@@ -141,9 +141,9 @@ export const styles = css `
|
|
|
141
141
|
|
|
142
142
|
/* Slide animation - slide down/up with opacity */
|
|
143
143
|
.dropdown__panel--slide {
|
|
144
|
-
transition: opacity
|
|
145
|
-
visibility
|
|
146
|
-
transform
|
|
144
|
+
transition: opacity 0.15s ease,
|
|
145
|
+
visibility 0.15s ease,
|
|
146
|
+
transform 0.15s ease;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.dropdown__panel--slide:not(.dropdown__panel--open) {
|
|
@@ -167,9 +167,9 @@ export const styles = css `
|
|
|
167
167
|
|
|
168
168
|
/* Scale animation - scale and opacity */
|
|
169
169
|
.dropdown__panel--scale {
|
|
170
|
-
transition: opacity
|
|
171
|
-
visibility
|
|
172
|
-
transform
|
|
170
|
+
transition: opacity 0.15s ease,
|
|
171
|
+
visibility 0.15s ease,
|
|
172
|
+
transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.dropdown__panel--scale:not(.dropdown__panel--open) {
|
|
@@ -202,9 +202,9 @@ export const styles = css `
|
|
|
202
202
|
position: absolute;
|
|
203
203
|
width: 0;
|
|
204
204
|
height: 0;
|
|
205
|
-
border:
|
|
206
|
-
border-bottom-color:
|
|
207
|
-
top: calc(-1 *
|
|
205
|
+
border: 5px solid transparent;
|
|
206
|
+
border-bottom-color: #ffffff;
|
|
207
|
+
top: calc(-1 * 5px * 2);
|
|
208
208
|
left: 50%;
|
|
209
209
|
transform: translateX(-50%);
|
|
210
210
|
}
|
|
@@ -214,10 +214,10 @@ export const styles = css `
|
|
|
214
214
|
position: absolute;
|
|
215
215
|
width: 0;
|
|
216
216
|
height: 0;
|
|
217
|
-
border: calc(
|
|
218
|
-
border-bottom-color:
|
|
219
|
-
top: calc(-1 *
|
|
220
|
-
left: calc(-1 *
|
|
217
|
+
border: calc(5px + 1px) solid transparent;
|
|
218
|
+
border-bottom-color: #e0e0e0;
|
|
219
|
+
top: calc(-1 * 5px - 1px);
|
|
220
|
+
left: calc(-1 * 5px - 1px);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
/* Content areas */
|
|
@@ -237,55 +237,55 @@ export const styles = css `
|
|
|
237
237
|
.dropdown__item {
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: center;
|
|
240
|
-
gap:
|
|
241
|
-
padding:
|
|
242
|
-
background:
|
|
240
|
+
gap: 0.5rem;
|
|
241
|
+
padding: 0.5rem 1rem;
|
|
242
|
+
background: transparent;
|
|
243
243
|
border: none;
|
|
244
|
-
color:
|
|
244
|
+
color: #161616;
|
|
245
245
|
cursor: pointer;
|
|
246
246
|
text-align: left;
|
|
247
247
|
width: 100%;
|
|
248
|
-
min-height:
|
|
249
|
-
transition:
|
|
248
|
+
min-height: 2.5rem;
|
|
249
|
+
transition: background-color 0.15s ease;
|
|
250
250
|
font-size: inherit;
|
|
251
251
|
font-family: inherit;
|
|
252
|
-
line-height:
|
|
252
|
+
line-height: 1.5;
|
|
253
253
|
position: relative;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
.dropdown__item:hover:not(.dropdown__item--disabled) {
|
|
257
|
-
background:
|
|
258
|
-
color:
|
|
257
|
+
background: #f4f4f4;
|
|
258
|
+
color: #161616;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.dropdown__item:focus {
|
|
262
262
|
outline: none;
|
|
263
|
-
background:
|
|
264
|
-
color:
|
|
263
|
+
background: #f4f4f4;
|
|
264
|
+
color: #161616;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.dropdown__item:focus-visible {
|
|
268
|
-
outline: 2px solid
|
|
268
|
+
outline: 2px solid #0f62fe;
|
|
269
269
|
outline-offset: -2px;
|
|
270
|
-
background:
|
|
271
|
-
color:
|
|
270
|
+
background: #f4f4f4;
|
|
271
|
+
color: #161616;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
.dropdown__item:active:not(.dropdown__item--disabled) {
|
|
275
|
-
background:
|
|
276
|
-
color:
|
|
275
|
+
background: #f4f4f4;
|
|
276
|
+
color: #161616;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
.dropdown__item--disabled {
|
|
280
|
-
opacity:
|
|
280
|
+
opacity: 0.5;
|
|
281
281
|
cursor: not-allowed;
|
|
282
282
|
pointer-events: none;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.dropdown__item-icon {
|
|
286
286
|
flex-shrink: 0;
|
|
287
|
-
width:
|
|
288
|
-
height:
|
|
287
|
+
width: 1rem;
|
|
288
|
+
height: 1rem;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.dropdown__item-label {
|
|
@@ -297,8 +297,8 @@ export const styles = css `
|
|
|
297
297
|
|
|
298
298
|
.dropdown__divider {
|
|
299
299
|
height: 1px;
|
|
300
|
-
background:
|
|
301
|
-
margin:
|
|
300
|
+
background: #e0e0e0;
|
|
301
|
+
margin: 0.25rem 0;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
/* Cascading dropdown styles */
|
|
@@ -341,14 +341,14 @@ export const styles = css `
|
|
|
341
341
|
.dropdown__submenu {
|
|
342
342
|
position: absolute;
|
|
343
343
|
top: 0;
|
|
344
|
-
z-index: calc(
|
|
345
|
-
background:
|
|
346
|
-
border:
|
|
347
|
-
border-radius:
|
|
348
|
-
box-shadow:
|
|
349
|
-
min-width:
|
|
350
|
-
max-width:
|
|
351
|
-
max-height:
|
|
344
|
+
z-index: calc(9999 + 1);
|
|
345
|
+
background: #ffffff;
|
|
346
|
+
border: 1px solid #e0e0e0;
|
|
347
|
+
border-radius: 6px;
|
|
348
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
|
349
|
+
min-width: 10rem;
|
|
350
|
+
max-width: 20rem;
|
|
351
|
+
max-height: auto;
|
|
352
352
|
overflow: auto;
|
|
353
353
|
box-sizing: border-box;
|
|
354
354
|
animation: fadeInSubmenu 0.15s ease;
|
|
@@ -359,7 +359,7 @@ export const styles = css `
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
.dropdown__custom-content {
|
|
362
|
-
padding:
|
|
362
|
+
padding: 8px 12px;
|
|
363
363
|
max-width: 100%;
|
|
364
364
|
box-sizing: border-box;
|
|
365
365
|
}
|
|
@@ -370,13 +370,13 @@ export const styles = css `
|
|
|
370
370
|
margin: 0 0 8px 0;
|
|
371
371
|
font-size: 0.875rem;
|
|
372
372
|
font-weight: 600;
|
|
373
|
-
color:
|
|
373
|
+
color: #161616;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
.dropdown__custom-content p {
|
|
377
377
|
margin: 0 0 8px 0;
|
|
378
378
|
font-size: 0.75rem;
|
|
379
|
-
color:
|
|
379
|
+
color: #525252;
|
|
380
380
|
line-height: 1.4;
|
|
381
381
|
}
|
|
382
382
|
|
|
@@ -431,13 +431,13 @@ export const styles = css `
|
|
|
431
431
|
|
|
432
432
|
/* Focus styles for accessibility */
|
|
433
433
|
:host(:focus-within) .dropdown__trigger {
|
|
434
|
-
outline:
|
|
435
|
-
outline-offset:
|
|
434
|
+
outline: 2px solid #7c3aed;
|
|
435
|
+
outline-offset: 2px;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
/* Disabled state */
|
|
439
439
|
:host([disabled]) {
|
|
440
|
-
opacity:
|
|
440
|
+
opacity: 0.5;
|
|
441
441
|
pointer-events: none;
|
|
442
442
|
}
|
|
443
443
|
|