@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
|
@@ -59,6 +59,9 @@ import { RadioButtonType } from './radio-group.types.js';
|
|
|
59
59
|
* @fires nr-change - Dispatched when the selected option changes
|
|
60
60
|
*
|
|
61
61
|
* @slot helper-text - Helper text displayed below the radio group
|
|
62
|
+
*
|
|
63
|
+
* @csspart radio-group - The default radio group container
|
|
64
|
+
* @csspart type-button - The button-style radio group container
|
|
62
65
|
*/
|
|
63
66
|
let NrRadioGroupElement = class NrRadioGroupElement extends NuralyUIBaseMixin(LitElement) {
|
|
64
67
|
constructor() {
|
|
@@ -200,10 +203,11 @@ let NrRadioGroupElement = class NrRadioGroupElement extends NuralyUIBaseMixin(Li
|
|
|
200
203
|
*/
|
|
201
204
|
renderOptionDefault() {
|
|
202
205
|
return html `
|
|
203
|
-
<div
|
|
204
|
-
role="radiogroup"
|
|
206
|
+
<div
|
|
207
|
+
role="radiogroup"
|
|
205
208
|
aria-labelledby="radio-group-label"
|
|
206
209
|
class="radio-group ${this.direction}"
|
|
210
|
+
part="radio-group"
|
|
207
211
|
>
|
|
208
212
|
${this.options.map((option, index) => html `
|
|
209
213
|
<div
|
|
@@ -250,10 +254,11 @@ let NrRadioGroupElement = class NrRadioGroupElement extends NuralyUIBaseMixin(Li
|
|
|
250
254
|
*/
|
|
251
255
|
renderOptionsWithButtons() {
|
|
252
256
|
return html `
|
|
253
|
-
<div
|
|
254
|
-
class="type-button"
|
|
255
|
-
role="radiogroup"
|
|
257
|
+
<div
|
|
258
|
+
class="type-button"
|
|
259
|
+
role="radiogroup"
|
|
256
260
|
aria-labelledby="radio-group-label"
|
|
261
|
+
part="type-button"
|
|
257
262
|
@keydown="${this.handleKeyDown}"
|
|
258
263
|
>
|
|
259
264
|
${this.options.map((option, index) => {
|
|
@@ -295,10 +300,11 @@ let NrRadioGroupElement = class NrRadioGroupElement extends NuralyUIBaseMixin(Li
|
|
|
295
300
|
*/
|
|
296
301
|
renderOptionsWithSlots() {
|
|
297
302
|
return html `
|
|
298
|
-
<div
|
|
299
|
-
role="radiogroup"
|
|
303
|
+
<div
|
|
304
|
+
role="radiogroup"
|
|
300
305
|
aria-labelledby="radio-group-label"
|
|
301
306
|
class="radio-group slot-group ${this.direction}"
|
|
307
|
+
part="radio-group"
|
|
302
308
|
>
|
|
303
309
|
${this.options.map((option, index) => html `
|
|
304
310
|
<div
|
|
@@ -351,10 +357,11 @@ let NrRadioGroupElement = class NrRadioGroupElement extends NuralyUIBaseMixin(Li
|
|
|
351
357
|
*/
|
|
352
358
|
renderButtonsWithSlots() {
|
|
353
359
|
return html `
|
|
354
|
-
<div
|
|
355
|
-
class="type-button"
|
|
356
|
-
role="radiogroup"
|
|
360
|
+
<div
|
|
361
|
+
class="type-button"
|
|
362
|
+
role="radiogroup"
|
|
357
363
|
aria-labelledby="radio-group-label"
|
|
364
|
+
part="type-button"
|
|
358
365
|
@keydown="${this.handleKeyDown}"
|
|
359
366
|
>
|
|
360
367
|
${this.options.map((option, index) => html `
|
|
@@ -394,6 +401,7 @@ let NrRadioGroupElement = class NrRadioGroupElement extends NuralyUIBaseMixin(Li
|
|
|
394
401
|
}
|
|
395
402
|
};
|
|
396
403
|
NrRadioGroupElement.styles = styles;
|
|
404
|
+
NrRadioGroupElement.useShadowDom = true;
|
|
397
405
|
__decorate([
|
|
398
406
|
property({ type: Array })
|
|
399
407
|
], NrRadioGroupElement.prototype, "options", void 0);
|
|
@@ -15,18 +15,18 @@ export const styles = css `
|
|
|
15
15
|
--nuraly-radio-group-horizontal-gap: 16px;
|
|
16
16
|
|
|
17
17
|
/* Colors - Error/Warning states */
|
|
18
|
-
--nuraly-radio-group-error-icon-color:
|
|
19
|
-
--nuraly-radio-group-error-text-color:
|
|
20
|
-
--nuraly-radio-group-warning-icon-color:
|
|
21
|
-
--nuraly-radio-group-warning-text-color:
|
|
18
|
+
--nuraly-radio-group-error-icon-color: #ef4444;
|
|
19
|
+
--nuraly-radio-group-error-text-color: #ef4444;
|
|
20
|
+
--nuraly-radio-group-warning-icon-color: #f59e0b;
|
|
21
|
+
--nuraly-radio-group-warning-text-color: #f59e0b;
|
|
22
22
|
|
|
23
23
|
/* Typography */
|
|
24
|
-
--nuraly-radio-group-font-family:
|
|
25
|
-
--nuraly-radio-group-message-font-size:
|
|
24
|
+
--nuraly-radio-group-font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
|
|
25
|
+
--nuraly-radio-group-message-font-size: 12px;
|
|
26
26
|
|
|
27
27
|
/* Button type styling */
|
|
28
28
|
--nuraly-radio-group-button-border-radius: 4px;
|
|
29
|
-
--nuraly-radio-group-button-hover-color:
|
|
29
|
+
--nuraly-radio-group-button-hover-color: #7c3aed;
|
|
30
30
|
|
|
31
31
|
/* Slot container styling */
|
|
32
32
|
--nuraly-radio-group-slot-hover-bg: rgba(124, 58, 237, 0.04);
|
|
@@ -39,7 +39,7 @@ export const styles = css `
|
|
|
39
39
|
|
|
40
40
|
width: fit-content;
|
|
41
41
|
display: block;
|
|
42
|
-
font-family:
|
|
42
|
+
font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* ========================================
|
|
@@ -49,13 +49,13 @@ export const styles = css `
|
|
|
49
49
|
.radio-group {
|
|
50
50
|
display: flex;
|
|
51
51
|
flex-direction: column;
|
|
52
|
-
gap:
|
|
52
|
+
gap: 12px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.radio-group.horizontal {
|
|
56
56
|
flex-direction: row;
|
|
57
57
|
flex-wrap: wrap;
|
|
58
|
-
gap:
|
|
58
|
+
gap: 16px;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.radio-wrapper {
|
|
@@ -72,7 +72,7 @@ export const styles = css `
|
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
gap: 6px;
|
|
75
|
-
font-size:
|
|
75
|
+
font-size: 12px;
|
|
76
76
|
padding-left: 28px; /* Align with radio label */
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -81,19 +81,19 @@ export const styles = css `
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.radio-wrapper.error nr-icon {
|
|
84
|
-
--nuraly-icon-color:
|
|
84
|
+
--nuraly-icon-color: #ef4444;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.radio-wrapper.warning nr-icon {
|
|
88
|
-
--nuraly-icon-color:
|
|
88
|
+
--nuraly-icon-color: #f59e0b;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.radio-wrapper.error .message-container {
|
|
92
|
-
color:
|
|
92
|
+
color: #ef4444;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.radio-wrapper.warning .message-container {
|
|
96
|
-
color:
|
|
96
|
+
color: #f59e0b;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/* ========================================
|
|
@@ -107,13 +107,13 @@ export const styles = css `
|
|
|
107
107
|
|
|
108
108
|
/* Button border radius for first and last child */
|
|
109
109
|
.type-button :first-child {
|
|
110
|
-
--nuraly-button-border-top-left-radius:
|
|
111
|
-
--nuraly-button-border-bottom-left-radius:
|
|
110
|
+
--nuraly-button-border-top-left-radius: 4px;
|
|
111
|
+
--nuraly-button-border-bottom-left-radius: 4px;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.type-button :last-child {
|
|
115
|
-
--nuraly-button-border-top-right-radius:
|
|
116
|
-
--nuraly-button-border-bottom-right-radius:
|
|
115
|
+
--nuraly-button-border-top-right-radius: 4px;
|
|
116
|
+
--nuraly-button-border-bottom-right-radius: 4px;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.type-button nr-button:not(:last-child) {
|
|
@@ -126,8 +126,8 @@ export const styles = css `
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.type-button nr-button[type="default"]:hover {
|
|
129
|
-
--nuraly-button-color:
|
|
130
|
-
--nuraly-button-border-color:
|
|
129
|
+
--nuraly-button-color: #7c3aed;
|
|
130
|
+
--nuraly-button-border-color: #7c3aed;
|
|
131
131
|
z-index: 2;
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -145,20 +145,20 @@ export const styles = css `
|
|
|
145
145
|
|
|
146
146
|
.type-button nr-button[disabled]:hover {
|
|
147
147
|
z-index: auto;
|
|
148
|
-
--nuraly-button-border-color:
|
|
149
|
-
--nuraly-button-background-color:
|
|
150
|
-
--nuraly-button-color:
|
|
148
|
+
--nuraly-button-border-color: #c6c6c6;
|
|
149
|
+
--nuraly-button-background-color: #f4f4f4;
|
|
150
|
+
--nuraly-button-color: #c6c6c6;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.type-button nr-button[type="primary"][disabled] {
|
|
154
|
-
--nuraly-button-background-color:
|
|
155
|
-
--nuraly-button-border-color:
|
|
156
|
-
--nuraly-button-color:
|
|
154
|
+
--nuraly-button-background-color: #c6c6c6;
|
|
155
|
+
--nuraly-button-border-color: #c6c6c6;
|
|
156
|
+
--nuraly-button-color: #ffffff;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.type-button nr-button[type="primary"][disabled] nr-icon {
|
|
160
|
-
--nuraly-icon-color:
|
|
161
|
-
--nuraly-icon-local-color:
|
|
160
|
+
--nuraly-icon-color: #ffffff;
|
|
161
|
+
--nuraly-icon-local-color: #ffffff;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/* ========================================
|
|
@@ -174,8 +174,8 @@ export const styles = css `
|
|
|
174
174
|
/* Ensure minimum padding for auto-width buttons to prevent them from becoming too small */
|
|
175
175
|
:host([auto-width]) .type-button nr-button button {
|
|
176
176
|
min-width: auto;
|
|
177
|
-
padding-left: max(
|
|
178
|
-
padding-right: max(
|
|
177
|
+
padding-left: max(0.5rem, 0.5rem);
|
|
178
|
+
padding-right: max(0.5rem, 0.5rem);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
/* Icon-only buttons with auto-width should have minimal but adequate padding */
|
|
@@ -186,30 +186,30 @@ export const styles = css `
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
:host([auto-width]) .type-button nr-button.icon-only button {
|
|
189
|
-
padding: max(0.375rem,
|
|
189
|
+
padding: max(0.375rem, 0.5rem); /* Ensure minimum 6px padding for icon-only */
|
|
190
190
|
min-width: auto;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/* For small size buttons, use proportionally smaller but still adequate padding */
|
|
194
194
|
:host([auto-width]) .type-button nr-button[size="small"] button {
|
|
195
|
-
padding-left: max(
|
|
196
|
-
padding-right: max(
|
|
195
|
+
padding-left: max(0.375rem, 0.375rem);
|
|
196
|
+
padding-right: max(0.375rem, 0.375rem);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
/* For small size icon-only buttons, use even less but still minimum padding */
|
|
200
200
|
:host([auto-width]) .type-button nr-button.icon-only[size="small"] button {
|
|
201
|
-
padding: max(0.25rem,
|
|
201
|
+
padding: max(0.25rem, 0.375rem);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
/* For large size buttons, maintain larger minimum padding */
|
|
205
205
|
:host([auto-width]) .type-button nr-button[size="large"] button {
|
|
206
|
-
padding-left: max(
|
|
207
|
-
padding-right: max(
|
|
206
|
+
padding-left: max(1rem, 0.75rem);
|
|
207
|
+
padding-right: max(1rem, 0.75rem);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
/* For large size icon-only buttons, use proportionally larger padding */
|
|
211
211
|
:host([auto-width]) .type-button nr-button.icon-only[size="large"] button {
|
|
212
|
-
padding: max(0.5rem,
|
|
212
|
+
padding: max(0.5rem, 0.75rem);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
/* ========================================
|
|
@@ -223,11 +223,11 @@ export const styles = css `
|
|
|
223
223
|
cursor: pointer;
|
|
224
224
|
transition: all 0.2s ease;
|
|
225
225
|
padding: 8px;
|
|
226
|
-
border-radius:
|
|
226
|
+
border-radius: 6px;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.slot-wrapper:hover {
|
|
230
|
-
background-color:
|
|
230
|
+
background-color: rgba(124, 58, 237, 0.04);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.slot-wrapper nr-radio {
|
|
@@ -241,7 +241,7 @@ export const styles = css `
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.slot-container.selected .slot-wrapper {
|
|
244
|
-
background-color:
|
|
244
|
+
background-color: rgba(124, 58, 237, 0.08);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
/* ========================================
|
|
@@ -249,9 +249,9 @@ export const styles = css `
|
|
|
249
249
|
* ======================================== */
|
|
250
250
|
|
|
251
251
|
::slotted([slot='helper-text']) {
|
|
252
|
-
color:
|
|
253
|
-
font-size:
|
|
254
|
-
padding-top:
|
|
252
|
+
color: #8c8c8c;
|
|
253
|
+
font-size: 12px;
|
|
254
|
+
padding-top: 4px;
|
|
255
255
|
|
|
256
256
|
/* Prevent text overflow and ensure proper wrapping without affecting parent width */
|
|
257
257
|
word-wrap: break-word;
|