@mozaic-ds/web-components 1.0.0-beta.6 → 1.0.0
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/README.md +36 -68
- package/dist/Cross20.js +1 -1
- package/dist/Cross20.js.map +1 -1
- package/dist/Cross24.js +1 -1
- package/dist/Cross24.js.map +1 -1
- package/dist/CrossCircleFilled24.js +1 -1
- package/dist/CrossCircleFilled24.js.map +1 -1
- package/dist/attributes.js +1 -1
- package/dist/attributes.js.map +1 -1
- package/dist/bundle.d.ts +24 -23
- package/dist/bundle.d.ts.map +1 -1
- package/dist/bundle.js +24 -23
- package/dist/components/avatar/Avatar.js +2 -5
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/avatar/Avatar.spec.js +17 -0
- package/dist/components/avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/components/avatar/Avatar.stories.js +3 -29
- package/dist/components/avatar/Avatar.svelte +9 -10
- package/dist/components/avatar/Avatar.svelte.d.ts +2 -0
- package/dist/components/avatar/Avatar.svelte.d.ts.map +1 -1
- package/dist/components/avatar/README.md +16 -0
- package/dist/components/breadcrumb/Breadcrumb.js +6 -9
- package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.spec.js +42 -0
- package/dist/components/breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.stories.js +6 -35
- package/dist/components/breadcrumb/Breadcrumb.svelte +26 -34
- package/dist/components/breadcrumb/Breadcrumb.svelte.d.ts.map +1 -1
- package/dist/components/breadcrumb/README.md +11 -0
- package/dist/components/button/Button.js +3 -6
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/button/Button.spec.js +74 -0
- package/dist/components/button/Button.stories.d.ts +9 -13
- package/dist/components/button/Button.stories.d.ts.map +1 -1
- package/dist/components/button/Button.stories.js +46 -146
- package/dist/components/button/Button.svelte +186 -168
- package/dist/components/button/Button.svelte.d.ts +36 -8
- package/dist/components/button/Button.svelte.d.ts.map +1 -1
- package/dist/components/button/README.md +26 -0
- package/dist/components/callout/Callout.js +2 -5
- package/dist/components/callout/Callout.js.map +1 -1
- package/dist/components/callout/Callout.spec.js +33 -0
- package/dist/components/callout/Callout.stories.d.ts.map +1 -1
- package/dist/components/callout/Callout.stories.js +2 -55
- package/dist/components/callout/Callout.svelte +15 -14
- package/dist/components/callout/Callout.svelte.d.ts +4 -0
- package/dist/components/callout/Callout.svelte.d.ts.map +1 -1
- package/dist/components/callout/README.md +20 -0
- package/dist/components/checkbox/Checkbox.js +3 -6
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox/Checkbox.spec.js +70 -0
- package/dist/components/checkbox/Checkbox.stories.d.ts +11 -16
- package/dist/components/checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.stories.js +67 -124
- package/dist/components/checkbox/Checkbox.svelte +75 -58
- package/dist/components/checkbox/Checkbox.svelte.d.ts +31 -6
- package/dist/components/checkbox/Checkbox.svelte.d.ts.map +1 -1
- package/dist/components/checkbox/README.md +17 -0
- package/dist/components/checkboxgroup/CheckboxGroup.js +4 -7
- package/dist/components/checkboxgroup/CheckboxGroup.js.map +1 -1
- package/dist/components/checkboxgroup/CheckboxGroup.spec.js +113 -0
- package/dist/components/checkboxgroup/CheckboxGroup.stories.d.ts +5 -13
- package/dist/components/checkboxgroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/dist/components/checkboxgroup/CheckboxGroup.stories.js +56 -140
- package/dist/components/checkboxgroup/CheckboxGroup.svelte +89 -81
- package/dist/components/checkboxgroup/CheckboxGroup.svelte.d.ts +30 -6
- package/dist/components/checkboxgroup/CheckboxGroup.svelte.d.ts.map +1 -1
- package/dist/components/checkboxgroup/README.md +14 -0
- package/dist/components/circularprogressbar/CircularProgressbar.js +4 -7
- package/dist/components/circularprogressbar/CircularProgressbar.js.map +1 -1
- package/dist/components/circularprogressbar/CircularProgressbar.spec.js +74 -0
- package/dist/components/circularprogressbar/CircularProgressbar.stories.d.ts +6 -6
- package/dist/components/circularprogressbar/CircularProgressbar.stories.d.ts.map +1 -1
- package/dist/components/circularprogressbar/CircularProgressbar.stories.js +29 -68
- package/dist/components/circularprogressbar/CircularProgressbar.svelte +46 -30
- package/dist/components/circularprogressbar/CircularProgressbar.svelte.d.ts +18 -0
- package/dist/components/circularprogressbar/CircularProgressbar.svelte.d.ts.map +1 -1
- package/dist/components/circularprogressbar/README.md +14 -0
- package/dist/components/datepicker/Datepicker.js +3 -6
- package/dist/components/datepicker/Datepicker.js.map +1 -1
- package/dist/components/datepicker/Datepicker.spec.js +95 -0
- package/dist/components/datepicker/Datepicker.stories.d.ts +7 -6
- package/dist/components/datepicker/Datepicker.stories.d.ts.map +1 -1
- package/dist/components/datepicker/Datepicker.stories.js +58 -75
- package/dist/components/datepicker/Datepicker.svelte +103 -79
- package/dist/components/datepicker/Datepicker.svelte.d.ts +30 -1
- package/dist/components/datepicker/Datepicker.svelte.d.ts.map +1 -1
- package/dist/components/datepicker/README.md +18 -0
- package/dist/components/drawer/Drawer.js +12 -15
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/drawer/Drawer.spec.js +101 -0
- package/dist/components/drawer/Drawer.stories.d.ts +29 -8
- package/dist/components/drawer/Drawer.stories.d.ts.map +1 -1
- package/dist/components/drawer/Drawer.stories.js +86 -87
- package/dist/components/drawer/Drawer.svelte +185 -161
- package/dist/components/drawer/Drawer.svelte.d.ts +26 -3
- package/dist/components/drawer/Drawer.svelte.d.ts.map +1 -1
- package/dist/components/drawer/README.md +29 -0
- package/dist/components/field/Field.js +3 -6
- package/dist/components/field/Field.js.map +1 -1
- package/dist/components/field/Field.spec.js +51 -0
- package/dist/components/field/Field.stories.d.ts +9 -15
- package/dist/components/field/Field.stories.d.ts.map +1 -1
- package/dist/components/field/Field.stories.js +86 -142
- package/dist/components/field/Field.svelte +63 -30
- package/dist/components/field/Field.svelte.d.ts +38 -7
- package/dist/components/field/Field.svelte.d.ts.map +1 -1
- package/dist/components/field/README.md +24 -0
- package/dist/components/flag/Flag.js +2 -5
- package/dist/components/flag/Flag.js.map +1 -1
- package/dist/components/flag/Flag.spec.js +30 -0
- package/dist/components/flag/Flag.stories.d.ts +8 -18
- package/dist/components/flag/Flag.stories.d.ts.map +1 -1
- package/dist/components/flag/Flag.stories.js +28 -106
- package/dist/components/flag/Flag.svelte +23 -24
- package/dist/components/flag/Flag.svelte.d.ts +10 -28
- package/dist/components/flag/Flag.svelte.d.ts.map +1 -1
- package/dist/components/flag/README.md +11 -0
- package/dist/components/iconbutton/IconButton.js +2 -5
- package/dist/components/iconbutton/IconButton.js.map +1 -1
- package/dist/components/iconbutton/IconButton.stories.d.ts +11 -11
- package/dist/components/iconbutton/IconButton.stories.d.ts.map +1 -1
- package/dist/components/iconbutton/IconButton.stories.js +51 -67
- package/dist/components/iconbutton/IconButton.svelte +157 -152
- package/dist/components/iconbutton/IconButton.svelte.d.ts +28 -7
- package/dist/components/iconbutton/IconButton.svelte.d.ts.map +1 -1
- package/dist/components/iconbutton/README.md +21 -0
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.js +2 -5
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.js.map +1 -1
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.spec.js +28 -0
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.stories.d.ts +5 -7
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.stories.d.ts.map +1 -1
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.stories.js +18 -49
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.svelte +19 -12
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.svelte.d.ts +10 -1
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.svelte.d.ts.map +1 -1
- package/dist/components/linearprogressbarbuffer/README.md +11 -0
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.js +2 -5
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.js.map +1 -1
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.spec.js +26 -0
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.stories.d.ts +4 -5
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.stories.d.ts.map +1 -1
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.stories.js +15 -33
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.svelte +19 -16
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.svelte.d.ts +6 -0
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.svelte.d.ts.map +1 -1
- package/dist/components/linearprogressbarpercentage/README.md +10 -0
- package/dist/components/link/Link.js +2 -5
- package/dist/components/link/Link.js.map +1 -1
- package/dist/components/link/Link.spec.js +51 -0
- package/dist/components/link/Link.stories.d.ts +12 -12
- package/dist/components/link/Link.stories.d.ts.map +1 -1
- package/dist/components/link/Link.stories.js +61 -74
- package/dist/components/link/Link.svelte +54 -52
- package/dist/components/link/Link.svelte.d.ts +29 -8
- package/dist/components/link/Link.svelte.d.ts.map +1 -1
- package/dist/components/link/README.md +23 -0
- package/dist/components/loader/Loader.js +7 -10
- package/dist/components/loader/Loader.js.map +1 -1
- package/dist/components/loader/Loader.spec.js +54 -0
- package/dist/components/loader/Loader.stories.d.ts +8 -10
- package/dist/components/loader/Loader.stories.d.ts.map +1 -1
- package/dist/components/loader/Loader.stories.js +27 -43
- package/dist/components/loader/Loader.svelte +42 -43
- package/dist/components/loader/Loader.svelte.d.ts +14 -3
- package/dist/components/loader/Loader.svelte.d.ts.map +1 -1
- package/dist/components/loader/README.md +12 -0
- package/dist/components/loadingoverlay/LoadingOverlay.js +4 -0
- package/dist/components/loadingoverlay/LoadingOverlay.js.map +1 -0
- package/dist/components/loadingoverlay/LoadingOverlay.spec.js +38 -0
- package/dist/components/loadingoverlay/LoadingOverlay.stories.d.ts +7 -0
- package/dist/components/loadingoverlay/LoadingOverlay.stories.d.ts.map +1 -0
- package/dist/components/loadingoverlay/LoadingOverlay.stories.js +39 -0
- package/dist/components/loadingoverlay/LoadingOverlay.svelte +50 -0
- package/dist/components/loadingoverlay/LoadingOverlay.svelte.d.ts +17 -0
- package/dist/components/loadingoverlay/LoadingOverlay.svelte.d.ts.map +1 -0
- package/dist/components/loadingoverlay/README.md +11 -0
- package/dist/components/modal/Modal.js +14 -17
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/modal/Modal.spec.js +50 -0
- package/dist/components/modal/Modal.stories.d.ts +36 -9
- package/dist/components/modal/Modal.stories.d.ts.map +1 -1
- package/dist/components/modal/Modal.stories.js +54 -83
- package/dist/components/modal/Modal.svelte +167 -166
- package/dist/components/modal/Modal.svelte.d.ts +22 -5
- package/dist/components/modal/Modal.svelte.d.ts.map +1 -1
- package/dist/components/modal/README.md +28 -0
- package/dist/components/numberbadge/NumberBadge.js +2 -5
- package/dist/components/numberbadge/NumberBadge.js.map +1 -1
- package/dist/components/numberbadge/NumberBadge.spec.js +28 -0
- package/dist/components/numberbadge/NumberBadge.stories.d.ts +9 -13
- package/dist/components/numberbadge/NumberBadge.stories.d.ts.map +1 -1
- package/dist/components/numberbadge/NumberBadge.stories.js +28 -56
- package/dist/components/numberbadge/NumberBadge.svelte +36 -35
- package/dist/components/numberbadge/NumberBadge.svelte.d.ts +15 -4
- package/dist/components/numberbadge/NumberBadge.svelte.d.ts.map +1 -1
- package/dist/components/numberbadge/README.md +12 -0
- package/dist/components/overlay/Overlay.js +2 -5
- package/dist/components/overlay/Overlay.js.map +1 -1
- package/dist/components/overlay/Overlay.spec.js +29 -0
- package/dist/components/overlay/Overlay.stories.d.ts +5 -7
- package/dist/components/overlay/Overlay.stories.d.ts.map +1 -1
- package/dist/components/overlay/Overlay.stories.js +32 -40
- package/dist/components/overlay/Overlay.svelte +21 -12
- package/dist/components/overlay/Overlay.svelte.d.ts +11 -0
- package/dist/components/overlay/Overlay.svelte.d.ts.map +1 -1
- package/dist/components/overlay/README.md +17 -0
- package/dist/components/pagination/Pagination.js +8 -11
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/Pagination.spec.js +65 -0
- package/dist/components/pagination/Pagination.stories.d.ts +8 -11
- package/dist/components/pagination/Pagination.stories.d.ts.map +1 -1
- package/dist/components/pagination/Pagination.stories.js +37 -91
- package/dist/components/pagination/Pagination.svelte +53 -35
- package/dist/components/pagination/Pagination.svelte.d.ts +27 -4
- package/dist/components/pagination/Pagination.svelte.d.ts.map +1 -1
- package/dist/components/pagination/README.md +16 -0
- package/dist/components/passwordinput/PasswordInput.js +4 -9
- package/dist/components/passwordinput/PasswordInput.js.map +1 -1
- package/dist/components/passwordinput/PasswordInput.spec.js +84 -0
- package/dist/components/passwordinput/PasswordInput.stories.d.ts +10 -13
- package/dist/components/passwordinput/PasswordInput.stories.d.ts.map +1 -1
- package/dist/components/passwordinput/PasswordInput.stories.js +67 -124
- package/dist/components/passwordinput/PasswordInput.svelte +424 -60
- package/dist/components/passwordinput/PasswordInput.svelte.d.ts +34 -2
- package/dist/components/passwordinput/PasswordInput.svelte.d.ts.map +1 -1
- package/dist/components/passwordinput/README.md +19 -0
- package/dist/components/pincode/Pincode.js +4 -7
- package/dist/components/pincode/Pincode.js.map +1 -1
- package/dist/components/pincode/Pincode.spec.js +99 -0
- package/dist/components/pincode/Pincode.stories.d.ts +9 -13
- package/dist/components/pincode/Pincode.stories.d.ts.map +1 -1
- package/dist/components/pincode/Pincode.stories.js +62 -127
- package/dist/components/pincode/Pincode.svelte +72 -60
- package/dist/components/pincode/Pincode.svelte.d.ts +30 -24
- package/dist/components/pincode/Pincode.svelte.d.ts.map +1 -1
- package/dist/components/pincode/README.md +22 -0
- package/dist/components/quantityselector/QuantitySelector.js +3 -7
- package/dist/components/quantityselector/QuantitySelector.js.map +1 -1
- package/dist/components/quantityselector/QuantitySelector.spec.js +104 -0
- package/dist/components/quantityselector/QuantitySelector.stories.d.ts +11 -15
- package/dist/components/quantityselector/QuantitySelector.stories.d.ts.map +1 -1
- package/dist/components/quantityselector/QuantitySelector.stories.js +77 -145
- package/dist/components/quantityselector/QuantitySelector.svelte +136 -112
- package/dist/components/quantityselector/QuantitySelector.svelte.d.ts +49 -17
- package/dist/components/quantityselector/QuantitySelector.svelte.d.ts.map +1 -1
- package/dist/components/quantityselector/README.md +21 -0
- package/dist/components/radio/README.md +15 -0
- package/dist/components/radio/Radio.js +2 -5
- package/dist/components/radio/Radio.js.map +1 -1
- package/dist/components/radio/Radio.spec.js +60 -0
- package/dist/components/radio/Radio.stories.d.ts +9 -13
- package/dist/components/radio/Radio.stories.d.ts.map +1 -1
- package/dist/components/radio/Radio.stories.js +54 -70
- package/dist/components/radio/Radio.svelte +58 -39
- package/dist/components/radio/Radio.svelte.d.ts +27 -5
- package/dist/components/radio/Radio.svelte.d.ts.map +1 -1
- package/dist/components/radiogroup/README.md +14 -0
- package/dist/components/radiogroup/RadioGroup.js +4 -7
- package/dist/components/radiogroup/RadioGroup.js.map +1 -1
- package/dist/components/radiogroup/RadioGroup.spec.js +65 -0
- package/dist/components/radiogroup/RadioGroup.stories.d.ts +5 -12
- package/dist/components/radiogroup/RadioGroup.stories.d.ts.map +1 -1
- package/dist/components/radiogroup/RadioGroup.stories.js +56 -151
- package/dist/components/radiogroup/RadioGroup.svelte +81 -77
- package/dist/components/radiogroup/RadioGroup.svelte.d.ts +28 -9
- package/dist/components/radiogroup/RadioGroup.svelte.d.ts.map +1 -1
- package/dist/components/select/README.md +18 -0
- package/dist/components/select/Select.js +3 -6
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select/Select.spec.js +76 -0
- package/dist/components/select/Select.stories.d.ts +10 -14
- package/dist/components/select/Select.stories.d.ts.map +1 -1
- package/dist/components/select/Select.stories.js +87 -92
- package/dist/components/select/Select.svelte +77 -67
- package/dist/components/select/Select.svelte.d.ts +41 -10
- package/dist/components/select/Select.svelte.d.ts.map +1 -1
- package/dist/components/statusbadge/README.md +11 -0
- package/dist/components/statusbadge/StatusBadge.js +2 -5
- package/dist/components/statusbadge/StatusBadge.js.map +1 -1
- package/dist/components/statusbadge/StatusBadge.spec.js +31 -0
- package/dist/components/statusbadge/StatusBadge.stories.d.ts +9 -12
- package/dist/components/statusbadge/StatusBadge.stories.d.ts.map +1 -1
- package/dist/components/statusbadge/StatusBadge.stories.js +21 -44
- package/dist/components/statusbadge/StatusBadge.svelte +34 -29
- package/dist/components/statusbadge/StatusBadge.svelte.d.ts +13 -28
- package/dist/components/statusbadge/StatusBadge.svelte.d.ts.map +1 -1
- package/dist/components/statusdot/README.md +11 -0
- package/dist/components/statusdot/StatusDot.js +2 -5
- package/dist/components/statusdot/StatusDot.js.map +1 -1
- package/dist/components/statusdot/StatusDot.spec.js +42 -0
- package/dist/components/statusdot/StatusDot.stories.d.ts.map +1 -1
- package/dist/components/statusdot/StatusDot.stories.js +9 -37
- package/dist/components/statusdot/StatusDot.svelte +15 -16
- package/dist/components/statusdot/StatusDot.svelte.d.ts +2 -2
- package/dist/components/statusdot/StatusDot.svelte.d.ts.map +1 -1
- package/dist/components/statusnotification/README.md +25 -0
- package/dist/components/statusnotification/StatusNotification.js +3 -6
- package/dist/components/statusnotification/StatusNotification.js.map +1 -1
- package/dist/components/statusnotification/StatusNotification.spec.js +54 -0
- package/dist/components/statusnotification/StatusNotification.stories.d.ts +16 -14
- package/dist/components/statusnotification/StatusNotification.stories.d.ts.map +1 -1
- package/dist/components/statusnotification/StatusNotification.stories.js +53 -86
- package/dist/components/statusnotification/StatusNotification.svelte +186 -187
- package/dist/components/statusnotification/StatusNotification.svelte.d.ts +21 -18
- package/dist/components/statusnotification/StatusNotification.svelte.d.ts.map +1 -1
- package/dist/components/tab/README.md +20 -0
- package/dist/components/tab/Tab.js +4 -0
- package/dist/components/tab/Tab.js.map +1 -0
- package/dist/components/tab/Tab.spec.js +58 -0
- package/dist/components/tab/Tab.svelte +154 -0
- package/dist/components/{tabs → tab}/Tab.svelte.d.ts +20 -3
- package/dist/components/tab/Tab.svelte.d.ts.map +1 -0
- package/dist/components/tabs/README.md +18 -0
- package/dist/components/tabs/Tabs.js +2 -5
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/tabs/Tabs.spec.js +51 -0
- package/dist/components/tabs/Tabs.stories.d.ts +9 -6
- package/dist/components/tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/components/tabs/Tabs.stories.js +59 -115
- package/dist/components/tabs/Tabs.svelte +46 -29
- package/dist/components/tabs/Tabs.svelte.d.ts +21 -7
- package/dist/components/tabs/Tabs.svelte.d.ts.map +1 -1
- package/dist/components/tags/README.md +9 -0
- package/dist/components/tags/Tag.js +2 -5
- package/dist/components/tags/Tag.js.map +1 -1
- package/dist/components/tags/Tag.svelte +35 -38
- package/dist/components/tags/TagContextualised.js +2 -5
- package/dist/components/tags/TagContextualised.js.map +1 -1
- package/dist/components/tags/TagContextualised.svelte +35 -38
- package/dist/components/tags/TagInteractive.js +2 -5
- package/dist/components/tags/TagInteractive.js.map +1 -1
- package/dist/components/tags/TagInteractive.svelte +35 -38
- package/dist/components/tags/TagRemovable.js +2 -5
- package/dist/components/tags/TagRemovable.js.map +1 -1
- package/dist/components/tags/TagRemovable.svelte +35 -38
- package/dist/components/tags/TagSelectable.js +2 -5
- package/dist/components/tags/TagSelectable.js.map +1 -1
- package/dist/components/tags/TagSelectable.svelte +35 -38
- package/dist/components/tags/Tags.stories.d.ts.map +1 -1
- package/dist/components/tags/Tags.stories.js +7 -1
- package/dist/components/tags/TagsContextualised.stories.d.ts.map +1 -1
- package/dist/components/tags/TagsContextualised.stories.js +7 -1
- package/dist/components/tags/TagsInteractive.stories.d.ts.map +1 -1
- package/dist/components/tags/TagsInteractive.stories.js +7 -1
- package/dist/components/tags/TagsRemovable.stories.d.ts.map +1 -1
- package/dist/components/tags/TagsRemovable.stories.js +7 -1
- package/dist/components/tags/TagsSelectable.stories.d.ts.map +1 -1
- package/dist/components/tags/TagsSelectable.stories.js +7 -1
- package/dist/components/textarea/README.md +19 -0
- package/dist/components/textarea/Textarea.js +2 -8
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/textarea/Textarea.spec.js +67 -0
- package/dist/components/textarea/Textarea.stories.d.ts +9 -13
- package/dist/components/textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/components/textarea/Textarea.stories.js +61 -92
- package/dist/components/textarea/Textarea.svelte +70 -117
- package/dist/components/textarea/Textarea.svelte.d.ts +43 -13
- package/dist/components/textarea/Textarea.svelte.d.ts.map +1 -1
- package/dist/components/textinput/README.md +26 -0
- package/dist/components/textinput/Textinput.js +5 -9
- package/dist/components/textinput/Textinput.js.map +1 -1
- package/dist/components/textinput/Textinput.spec.js +89 -0
- package/dist/components/textinput/Textinput.stories.d.ts +11 -12
- package/dist/components/textinput/Textinput.stories.d.ts.map +1 -1
- package/dist/components/textinput/Textinput.stories.js +78 -137
- package/dist/components/textinput/Textinput.svelte +107 -148
- package/dist/components/textinput/Textinput.svelte.d.ts +46 -22
- package/dist/components/textinput/Textinput.svelte.d.ts.map +1 -1
- package/dist/components/toaster/README.md +28 -0
- package/dist/components/toaster/Toaster.js +5 -8
- package/dist/components/toaster/Toaster.js.map +1 -1
- package/dist/components/toaster/Toaster.spec.js +100 -0
- package/dist/components/toaster/Toaster.stories.d.ts.map +1 -1
- package/dist/components/toaster/Toaster.stories.js +5 -73
- package/dist/components/toaster/Toaster.svelte +157 -146
- package/dist/components/toaster/Toaster.svelte.d.ts +3 -0
- package/dist/components/toaster/Toaster.svelte.d.ts.map +1 -1
- package/dist/components/toggle/README.md +15 -0
- package/dist/components/toggle/Toggle.js +2 -5
- package/dist/components/toggle/Toggle.js.map +1 -1
- package/dist/components/toggle/Toggle.spec.js +69 -0
- package/dist/components/toggle/Toggle.stories.d.ts +9 -14
- package/dist/components/toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/toggle/Toggle.stories.js +55 -64
- package/dist/components/toggle/Toggle.svelte +59 -48
- package/dist/components/toggle/Toggle.svelte.d.ts +26 -7
- package/dist/components/toggle/Toggle.svelte.d.ts.map +1 -1
- package/dist/components/togglegroup/README.md +13 -0
- package/dist/components/togglegroup/ToggleGroup.js +3 -6
- package/dist/components/togglegroup/ToggleGroup.js.map +1 -1
- package/dist/components/togglegroup/ToggleGroup.spec.js +50 -0
- package/dist/components/togglegroup/ToggleGroup.stories.d.ts +5 -13
- package/dist/components/togglegroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/togglegroup/ToggleGroup.stories.js +56 -104
- package/dist/components/togglegroup/ToggleGroup.svelte +91 -97
- package/dist/components/togglegroup/ToggleGroup.svelte.d.ts +25 -14
- package/dist/components/togglegroup/ToggleGroup.svelte.d.ts.map +1 -1
- package/dist/components/tooltip/README.md +19 -0
- package/dist/components/tooltip/Tooltip.js +4 -7
- package/dist/components/tooltip/Tooltip.js.map +1 -1
- package/dist/components/tooltip/Tooltip.spec.js +38 -0
- package/dist/components/tooltip/Tooltip.stories.d.ts +6 -7
- package/dist/components/tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/components/tooltip/Tooltip.stories.js +45 -59
- package/dist/components/tooltip/Tooltip.svelte +31 -25
- package/dist/components/tooltip/Tooltip.svelte.d.ts +17 -0
- package/dist/components/tooltip/Tooltip.svelte.d.ts.map +1 -1
- package/dist/custom-element-forward-events.js.map +1 -1
- package/dist/custom-element.js +3 -3
- package/dist/custom-element.js.map +1 -1
- package/dist/documentation/Contributing.mdx +1 -1
- package/dist/documentation/Introduction.mdx +45 -11
- package/dist/documentation/SupportAndOnboarding.mdx +2 -2
- package/dist/each.js +1 -1
- package/dist/each.js.map +1 -1
- package/dist/if.js +1 -1
- package/dist/if.js.map +1 -1
- package/dist/input.js +1 -1
- package/dist/input.js.map +1 -1
- package/dist/legacy.js +1 -1
- package/dist/legacy.js.map +1 -1
- package/dist/main.d.ts +24 -23
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +24 -23
- package/dist/slot.js +1 -1
- package/dist/slot.js.map +1 -1
- package/dist/this.js +2 -0
- package/dist/this.js.map +1 -0
- package/package.json +12 -4
- package/dist/components/button/button.types.d.ts +0 -13
- package/dist/components/button/button.types.d.ts.map +0 -1
- package/dist/components/button/button.types.js +0 -1
- package/dist/components/checkboxgroup/checkboxgroup.types.d.ts +0 -9
- package/dist/components/checkboxgroup/checkboxgroup.types.d.ts.map +0 -1
- package/dist/components/checkboxgroup/checkboxgroup.types.js +0 -1
- package/dist/components/link/link.types.d.ts +0 -4
- package/dist/components/link/link.types.d.ts.map +0 -1
- package/dist/components/link/link.types.js +0 -1
- package/dist/components/loader/loader.types.d.ts +0 -3
- package/dist/components/loader/loader.types.d.ts.map +0 -1
- package/dist/components/loader/loader.types.js +0 -1
- package/dist/components/numberbadge/NumberBadge.types.d.ts +0 -3
- package/dist/components/numberbadge/NumberBadge.types.d.ts.map +0 -1
- package/dist/components/numberbadge/NumberBadge.types.js +0 -1
- package/dist/components/overlayloader/OverlayLoader.js +0 -30
- package/dist/components/overlayloader/OverlayLoader.js.map +0 -1
- package/dist/components/overlayloader/OverlayLoader.stories.d.ts +0 -8
- package/dist/components/overlayloader/OverlayLoader.stories.d.ts.map +0 -1
- package/dist/components/overlayloader/OverlayLoader.stories.js +0 -50
- package/dist/components/overlayloader/OverlayLoader.svelte +0 -159
- package/dist/components/overlayloader/OverlayLoader.svelte.d.ts +0 -9
- package/dist/components/overlayloader/OverlayLoader.svelte.d.ts.map +0 -1
- package/dist/components/quantityselector/quantitySelector.types.d.ts +0 -2
- package/dist/components/quantityselector/quantitySelector.types.d.ts.map +0 -1
- package/dist/components/quantityselector/quantitySelector.types.js +0 -1
- package/dist/components/radiogroup/radioGroup.types.d.ts +0 -9
- package/dist/components/radiogroup/radioGroup.types.d.ts.map +0 -1
- package/dist/components/radiogroup/radioGroup.types.js +0 -1
- package/dist/components/select/select.types.d.ts +0 -9
- package/dist/components/select/select.types.d.ts.map +0 -1
- package/dist/components/select/select.types.js +0 -1
- package/dist/components/statusbadge/StatusBadge.types.d.ts +0 -2
- package/dist/components/statusbadge/StatusBadge.types.d.ts.map +0 -1
- package/dist/components/statusbadge/StatusBadge.types.js +0 -1
- package/dist/components/statusdot/StatusDot.types.d.ts +0 -3
- package/dist/components/statusdot/StatusDot.types.d.ts.map +0 -1
- package/dist/components/statusdot/StatusDot.types.js +0 -1
- package/dist/components/tabs/Tab.js +0 -7
- package/dist/components/tabs/Tab.js.map +0 -1
- package/dist/components/tabs/Tab.svelte +0 -137
- package/dist/components/tabs/Tab.svelte.d.ts.map +0 -1
- package/dist/components/textinput/textinput.types.d.ts +0 -3
- package/dist/components/textinput/textinput.types.d.ts.map +0 -1
- package/dist/components/textinput/textinput.types.js +0 -1
- package/dist/components/toggle/toggle.types.d.ts +0 -2
- package/dist/components/toggle/toggle.types.d.ts.map +0 -1
- package/dist/components/toggle/toggle.types.js +0 -1
- package/dist/index-client.js +0 -2
- package/dist/index-client.js.map +0 -1
- package/dist/snippet.js +0 -2
- package/dist/snippet.js.map +0 -1
|
@@ -1,58 +1,84 @@
|
|
|
1
1
|
<svelte:options
|
|
2
2
|
customElement={{
|
|
3
3
|
tag: 'm-password-input',
|
|
4
|
+
extend: customElementForwardEvents,
|
|
4
5
|
}}
|
|
5
6
|
/>
|
|
6
7
|
|
|
7
8
|
<script lang="ts">
|
|
8
|
-
import
|
|
9
|
+
import { customElementForwardEvents } from '../../utils';
|
|
10
|
+
/**
|
|
11
|
+
* A password input is a specialized input field used to securely enter and manage passwords. It typically masks the characters entered to protect sensitive information from being seen. It includes a toggle button to show or hide the password, improving usability while maintaining security. Password inputs are commonly used in login forms, account creation, and authentication flows.
|
|
12
|
+
*/
|
|
9
13
|
interface Props {
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier for the password input element, used to associate the label with the form element.
|
|
16
|
+
*/
|
|
10
17
|
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The name attribute for the password input element, typically used for form submission.
|
|
20
|
+
*/
|
|
11
21
|
name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The current value of the password input field.
|
|
24
|
+
*/
|
|
12
25
|
value?: string | number;
|
|
26
|
+
/**
|
|
27
|
+
* A placeholder text to show in the password input when it is empty.
|
|
28
|
+
*/
|
|
13
29
|
placeholder?: string;
|
|
30
|
+
/**
|
|
31
|
+
* If `true`, applies an invalid state to the password input.
|
|
32
|
+
*/
|
|
14
33
|
isinvalid?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* If `true`, disables the password input, making it non-interactive.
|
|
36
|
+
*/
|
|
15
37
|
disabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* If `true`, the password input is read-only (cannot be edited).
|
|
40
|
+
*/
|
|
16
41
|
readonly?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* If `true`, a clear button will appear when the password input has a value.
|
|
44
|
+
*/
|
|
17
45
|
isclearable?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The label text for the clear button.
|
|
48
|
+
*/
|
|
18
49
|
clearlabel?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Labels of the button displayed when showing or hiding the password.
|
|
52
|
+
*/
|
|
19
53
|
buttonlabel?: {
|
|
20
54
|
show: string;
|
|
21
55
|
hide: string;
|
|
22
56
|
};
|
|
23
|
-
[key: string]: any;
|
|
24
57
|
}
|
|
25
58
|
|
|
26
59
|
let {
|
|
27
60
|
id,
|
|
28
61
|
name,
|
|
29
|
-
value
|
|
30
|
-
placeholder
|
|
31
|
-
isinvalid
|
|
32
|
-
disabled
|
|
33
|
-
readonly
|
|
34
|
-
isclearable
|
|
62
|
+
value,
|
|
63
|
+
placeholder,
|
|
64
|
+
isinvalid,
|
|
65
|
+
disabled,
|
|
66
|
+
readonly,
|
|
67
|
+
isclearable,
|
|
35
68
|
clearlabel = 'Clear content',
|
|
36
69
|
buttonlabel = { show: 'Show', hide: 'Hide' },
|
|
37
|
-
onclear,
|
|
38
|
-
ontoggle,
|
|
39
|
-
...events
|
|
40
70
|
}: Props = $props();
|
|
41
71
|
|
|
42
72
|
let isVisible = $state(false);
|
|
43
73
|
|
|
44
74
|
function toggleVisibility() {
|
|
45
75
|
isVisible = !isVisible;
|
|
46
|
-
ontoggle(isVisible);
|
|
47
76
|
}
|
|
48
77
|
|
|
49
|
-
|
|
50
|
-
value = '';
|
|
51
|
-
onclear();
|
|
52
|
-
}
|
|
78
|
+
const resetValue = () => (value = '');
|
|
53
79
|
</script>
|
|
54
80
|
|
|
55
|
-
<div class=
|
|
81
|
+
<div class={['mc-password-input', 'mc-text-input', isinvalid && 'is-invalid']}>
|
|
56
82
|
<input
|
|
57
83
|
class="mc-password-input__control mc-text-input__control"
|
|
58
84
|
{id}
|
|
@@ -63,14 +89,13 @@
|
|
|
63
89
|
{disabled}
|
|
64
90
|
{readonly}
|
|
65
91
|
aria-invalid={isinvalid}
|
|
66
|
-
{...events}
|
|
67
92
|
/>
|
|
68
93
|
{#if isclearable && value}
|
|
69
94
|
<div class="mc-controls-options">
|
|
70
95
|
<button
|
|
71
96
|
class="mc-controls-options__button"
|
|
72
97
|
type="button"
|
|
73
|
-
onclick={
|
|
98
|
+
onclick={resetValue}
|
|
74
99
|
>
|
|
75
100
|
<svg class="mc-controls-options__icon" aria-hidden="true">
|
|
76
101
|
<path
|
|
@@ -83,26 +108,22 @@
|
|
|
83
108
|
</div>
|
|
84
109
|
{/if}
|
|
85
110
|
|
|
86
|
-
<
|
|
111
|
+
<button
|
|
112
|
+
class={['mc-button', 'mc-button--s', 'mc-button--ghost']}
|
|
87
113
|
type="button"
|
|
88
114
|
role="switch"
|
|
89
115
|
tabindex="0"
|
|
90
|
-
aria-checked={isVisible}
|
|
91
|
-
size="s"
|
|
92
|
-
ghost={true}
|
|
93
116
|
{disabled}
|
|
117
|
+
aria-checked={isVisible}
|
|
94
118
|
onclick={toggleVisibility}
|
|
95
119
|
>
|
|
96
120
|
<span>{isVisible ? buttonlabel.hide : buttonlabel.show}</span>
|
|
97
|
-
</
|
|
121
|
+
</button>
|
|
98
122
|
</div>
|
|
99
123
|
|
|
100
124
|
<style>/**
|
|
101
125
|
* Do not edit directly, this file was auto-generated.
|
|
102
126
|
*/
|
|
103
|
-
/**
|
|
104
|
-
* Do not edit directly, this file was auto-generated.
|
|
105
|
-
*/
|
|
106
127
|
.mc-password-input .mc-button {
|
|
107
128
|
min-width: 4rem;
|
|
108
129
|
margin: 0.5rem;
|
|
@@ -111,11 +132,11 @@
|
|
|
111
132
|
/* stylelint-disable string-no-newline */
|
|
112
133
|
.mc-text-input {
|
|
113
134
|
transition: box-shadow 200ms ease;
|
|
114
|
-
background-color: #ffffff;
|
|
115
|
-
border: 1px solid #666666;
|
|
116
|
-
border-radius: 0.25rem;
|
|
135
|
+
background-color: var(--forms-color-background-default, #ffffff);
|
|
136
|
+
border: var(--border-s, 1px) solid var(--forms-color-border-default, #666666);
|
|
137
|
+
border-radius: var(--forms-radius-border, 0.25rem);
|
|
117
138
|
transition: all ease 200ms;
|
|
118
|
-
color: #000000;
|
|
139
|
+
color: var(--forms-color-text-default, #000000);
|
|
119
140
|
display: block;
|
|
120
141
|
width: 100%;
|
|
121
142
|
height: 3rem;
|
|
@@ -129,52 +150,56 @@
|
|
|
129
150
|
border-width: 0;
|
|
130
151
|
font-family: inherit;
|
|
131
152
|
outline: none;
|
|
132
|
-
padding: 0.75rem 0.6875rem;
|
|
133
|
-
font-size: 1rem;
|
|
134
|
-
line-height: 1.3;
|
|
135
|
-
font-weight: 400;
|
|
136
|
-
flex-grow: 1;
|
|
137
153
|
}
|
|
138
154
|
.mc-text-input__control[type=number] {
|
|
139
155
|
/* For Blink & WebKit rendering engines */
|
|
140
|
-
/* For Gecko rendering engine */
|
|
141
|
-
appearance: textfield;
|
|
142
156
|
}
|
|
143
157
|
.mc-text-input__control[type=number]::-webkit-inner-spin-button, .mc-text-input__control[type=number]::-webkit-outer-spin-button {
|
|
144
158
|
appearance: none;
|
|
145
159
|
margin: 0;
|
|
146
160
|
}
|
|
161
|
+
.mc-text-input__control[type=number] {
|
|
162
|
+
/* For Gecko rendering engine */
|
|
163
|
+
appearance: textfield;
|
|
164
|
+
}
|
|
147
165
|
.mc-text-input__control[type=search]::-webkit-search-decoration, .mc-text-input__control[type=search]::-webkit-search-cancel-button {
|
|
148
166
|
appearance: none;
|
|
149
167
|
}
|
|
168
|
+
.mc-text-input__control {
|
|
169
|
+
padding: 0.75rem 0.6875rem;
|
|
170
|
+
font-size: var(--font-size-150, 1rem);
|
|
171
|
+
line-height: var(--line-height-s, 1.3);
|
|
172
|
+
font-weight: var(--font-weight-regular, 400);
|
|
173
|
+
flex-grow: 1;
|
|
174
|
+
}
|
|
150
175
|
.mc-text-input__control::placeholder {
|
|
151
|
-
color: #666666;
|
|
176
|
+
color: var(--forms-color-placeholder, #666666);
|
|
152
177
|
}
|
|
153
178
|
.mc-text-input__icon {
|
|
154
|
-
fill: #666666;
|
|
179
|
+
fill: var(--forms-color-icon-default, #666666);
|
|
155
180
|
height: 1.5rem;
|
|
156
181
|
width: 1.5rem;
|
|
157
182
|
flex-shrink: 0;
|
|
158
183
|
}
|
|
159
184
|
.mc-text-input:focus-within {
|
|
160
|
-
box-shadow: 0 0 0 0.125rem var(--focus-color-mid, #ffffff), 0 0 0 0.25rem var(--focus-color-outer, #000000);
|
|
185
|
+
box-shadow: 0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));
|
|
161
186
|
outline: 0.125rem solid transparent;
|
|
162
187
|
outline-offset: 0.125rem;
|
|
163
188
|
}
|
|
164
189
|
.mc-text-input:hover:not(:focus-within) {
|
|
165
|
-
border-color: #4d4d4d;
|
|
166
|
-
box-shadow: 0 0 0 1px #4d4d4d;
|
|
190
|
+
border-color: var(--forms-color-border-hover, #4d4d4d);
|
|
191
|
+
box-shadow: 0 0 0 var(--border-s, 1px) var(--forms-color-border-hover, #4d4d4d);
|
|
167
192
|
}
|
|
168
193
|
.mc-text-input:has(input:disabled) {
|
|
169
|
-
background-color: #d9d9d9;
|
|
194
|
+
background-color: var(--forms-color-background-disabled, #d9d9d9);
|
|
170
195
|
cursor: not-allowed;
|
|
171
196
|
border-color: transparent;
|
|
172
197
|
box-shadow: none;
|
|
173
|
-
color: #737373;
|
|
198
|
+
color: var(--forms-color-text-disabled, #737373);
|
|
174
199
|
pointer-events: none;
|
|
175
200
|
}
|
|
176
201
|
.mc-text-input:has(input[readonly]) {
|
|
177
|
-
border-color: #cccccc;
|
|
202
|
+
border-color: var(--forms-color-border-read-only, #cccccc);
|
|
178
203
|
pointer-events: none;
|
|
179
204
|
}
|
|
180
205
|
.mc-text-input:has(.mc-text-input__icon) {
|
|
@@ -194,8 +219,8 @@
|
|
|
194
219
|
}
|
|
195
220
|
.mc-text-input--s .mc-text-input__control {
|
|
196
221
|
padding: 0.375rem 0.6875rem;
|
|
197
|
-
font-size: 0.875rem;
|
|
198
|
-
line-height: 1.3;
|
|
222
|
+
font-size: var(--font-size-100, 0.875rem);
|
|
223
|
+
line-height: var(--line-height-s, 1.3);
|
|
199
224
|
}
|
|
200
225
|
.mc-text-input--s:has(.mc-text-input__icon) {
|
|
201
226
|
padding-inline-start: 0.4375rem;
|
|
@@ -204,18 +229,357 @@
|
|
|
204
229
|
padding-inline-end: 0.4375rem;
|
|
205
230
|
}
|
|
206
231
|
.mc-text-input.is-invalid {
|
|
207
|
-
border-color: #ea302d;
|
|
208
|
-
box-shadow: 0 0 0 1px #ea302d;
|
|
232
|
+
border-color: var(--forms-color-border-invalid, #ea302d);
|
|
233
|
+
box-shadow: 0 0 0 var(--border-s, 1px) var(--forms-color-border-invalid, #ea302d);
|
|
209
234
|
}
|
|
210
235
|
.mc-text-input.is-invalid:hover:not(:focus-within) {
|
|
211
|
-
border-color: #c61112;
|
|
212
|
-
box-shadow: 0 0 0 1px #c61112;
|
|
236
|
+
border-color: var(--forms-color-border-invalid-hover, #c61112);
|
|
237
|
+
box-shadow: 0 0 0 var(--border-s, 1px) var(--forms-color-border-invalid-hover, #c61112);
|
|
213
238
|
}
|
|
214
239
|
.mc-text-input * {
|
|
215
240
|
box-sizing: border-box;
|
|
216
241
|
}
|
|
217
242
|
|
|
218
243
|
/* stylelint-enable string-no-newline */
|
|
244
|
+
.mc-button {
|
|
245
|
+
color: var(--button-color-filled-standard-font, #ffffff);
|
|
246
|
+
background-color: var(--button-color-filled-standard-background, #464e63);
|
|
247
|
+
}
|
|
248
|
+
.mc-button:hover {
|
|
249
|
+
background-color: var(--button-color-filled-standard-hover-background, #343b4c);
|
|
250
|
+
}
|
|
251
|
+
.mc-button:active {
|
|
252
|
+
background-color: var(--button-color-filled-standard-active-background, #242938);
|
|
253
|
+
}
|
|
254
|
+
.mc-button:disabled {
|
|
255
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
256
|
+
border-color: transparent;
|
|
257
|
+
color: var(--button-state-disabled-color, #737373);
|
|
258
|
+
cursor: not-allowed;
|
|
259
|
+
}
|
|
260
|
+
.mc-button {
|
|
261
|
+
font-weight: var(--font-weight-semi-bold, 600);
|
|
262
|
+
padding: 0 calc(1rem - 0.125rem);
|
|
263
|
+
min-height: 3rem;
|
|
264
|
+
min-width: 3rem;
|
|
265
|
+
}
|
|
266
|
+
.mc-button .mc-button__label {
|
|
267
|
+
font-size: var(--font-size-150, 1rem);
|
|
268
|
+
}
|
|
269
|
+
.mc-button {
|
|
270
|
+
display: inline-flex;
|
|
271
|
+
justify-content: center;
|
|
272
|
+
vertical-align: middle;
|
|
273
|
+
text-align: center;
|
|
274
|
+
border: 2px solid transparent;
|
|
275
|
+
border-radius: var(--button-radius, 0.25rem);
|
|
276
|
+
transition: all ease 200ms;
|
|
277
|
+
transition: box-shadow 200ms ease;
|
|
278
|
+
align-items: center;
|
|
279
|
+
box-sizing: border-box;
|
|
280
|
+
font-family: inherit;
|
|
281
|
+
fill: currentcolor;
|
|
282
|
+
gap: 0.25rem;
|
|
283
|
+
cursor: pointer;
|
|
284
|
+
}
|
|
285
|
+
.mc-button__label {
|
|
286
|
+
font-size: var(--font-size-150, 1rem);
|
|
287
|
+
}
|
|
288
|
+
.mc-button__icon {
|
|
289
|
+
flex-shrink: 0;
|
|
290
|
+
width: 1.5rem;
|
|
291
|
+
height: 1.5rem;
|
|
292
|
+
}
|
|
293
|
+
.mc-button:disabled {
|
|
294
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
295
|
+
border-color: transparent;
|
|
296
|
+
color: var(--button-state-disabled-color, #737373);
|
|
297
|
+
cursor: not-allowed;
|
|
298
|
+
}
|
|
299
|
+
.mc-button:focus-visible {
|
|
300
|
+
box-shadow: 0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));
|
|
301
|
+
outline: 0.125rem solid transparent;
|
|
302
|
+
outline-offset: 0.125rem;
|
|
303
|
+
}
|
|
304
|
+
.mc-button--s {
|
|
305
|
+
padding: 0 calc(0.75rem - 0.125rem);
|
|
306
|
+
min-height: 2rem;
|
|
307
|
+
min-width: 2rem;
|
|
308
|
+
}
|
|
309
|
+
.mc-button--s .mc-button__label {
|
|
310
|
+
font-size: var(--font-size-100, 0.875rem);
|
|
311
|
+
}
|
|
312
|
+
.mc-button--s .mc-button__icon {
|
|
313
|
+
width: 1.25rem;
|
|
314
|
+
height: 1.25rem;
|
|
315
|
+
}
|
|
316
|
+
.mc-button--s .mc-button__icon:only-child {
|
|
317
|
+
width: 1.25rem;
|
|
318
|
+
height: 1.25rem;
|
|
319
|
+
}
|
|
320
|
+
.mc-button--m {
|
|
321
|
+
padding: 0 calc(1rem - 0.125rem);
|
|
322
|
+
min-height: 3rem;
|
|
323
|
+
min-width: 3rem;
|
|
324
|
+
}
|
|
325
|
+
.mc-button--m .mc-button__label {
|
|
326
|
+
font-size: var(--font-size-150, 1rem);
|
|
327
|
+
}
|
|
328
|
+
.mc-button--m .mc-button__icon {
|
|
329
|
+
width: 1.5rem;
|
|
330
|
+
height: 1.5rem;
|
|
331
|
+
}
|
|
332
|
+
.mc-button--m .mc-button__icon:only-child {
|
|
333
|
+
width: 1.5rem;
|
|
334
|
+
height: 1.5rem;
|
|
335
|
+
}
|
|
336
|
+
.mc-button--l {
|
|
337
|
+
padding: 0 calc(1.25rem - 0.125rem);
|
|
338
|
+
min-height: 4rem;
|
|
339
|
+
min-width: 4rem;
|
|
340
|
+
}
|
|
341
|
+
.mc-button--l .mc-button__label {
|
|
342
|
+
font-size: var(--font-size-200, 1.125rem);
|
|
343
|
+
}
|
|
344
|
+
.mc-button--l .mc-button__icon {
|
|
345
|
+
width: 2rem;
|
|
346
|
+
height: 2rem;
|
|
347
|
+
}
|
|
348
|
+
.mc-button--l .mc-button__icon:only-child {
|
|
349
|
+
width: 2rem;
|
|
350
|
+
height: 2rem;
|
|
351
|
+
}
|
|
352
|
+
.mc-button--icon-only {
|
|
353
|
+
padding: 0.25rem;
|
|
354
|
+
}
|
|
355
|
+
.mc-button--outlined {
|
|
356
|
+
color: var(--button-color-outlined-standard-font, #242938);
|
|
357
|
+
border-color: var(--button-color-outlined-standard-border, #8891aa);
|
|
358
|
+
background-color: var(--button-color-outlined-standard-background, #ffffff);
|
|
359
|
+
}
|
|
360
|
+
.mc-button--outlined:hover {
|
|
361
|
+
background-color: var(--button-color-outlined-standard-hover-background, #eff1f6);
|
|
362
|
+
}
|
|
363
|
+
.mc-button--outlined:active {
|
|
364
|
+
background-color: var(--button-color-outlined-standard-active-background, #c9d0de);
|
|
365
|
+
}
|
|
366
|
+
.mc-button--outlined:disabled {
|
|
367
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
368
|
+
border-color: transparent;
|
|
369
|
+
color: var(--button-state-disabled-color, #737373);
|
|
370
|
+
cursor: not-allowed;
|
|
371
|
+
}
|
|
372
|
+
.mc-button--ghost {
|
|
373
|
+
color: var(--button-color-ghost-standard-font, #242938);
|
|
374
|
+
background-color: var(--button-color-ghost-standard-background, rgba(255, 255, 255, 0.01));
|
|
375
|
+
}
|
|
376
|
+
.mc-button--ghost:hover {
|
|
377
|
+
background-color: var(--button-color-ghost-standard-hover-background, rgba(70, 78, 99, 0.1));
|
|
378
|
+
}
|
|
379
|
+
.mc-button--ghost:active {
|
|
380
|
+
background-color: var(--button-color-ghost-standard-active-background, rgba(70, 78, 99, 0.2));
|
|
381
|
+
}
|
|
382
|
+
.mc-button--ghost:disabled {
|
|
383
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
384
|
+
border-color: transparent;
|
|
385
|
+
color: var(--button-state-disabled-color, #737373);
|
|
386
|
+
cursor: not-allowed;
|
|
387
|
+
}
|
|
388
|
+
.mc-button--accent {
|
|
389
|
+
color: var(--button-color-filled-accent-font, #ffffff);
|
|
390
|
+
background-color: var(--button-color-filled-accent-background, #117f03);
|
|
391
|
+
}
|
|
392
|
+
.mc-button--accent:hover {
|
|
393
|
+
background-color: var(--button-color-filled-accent-hover-background, #006902);
|
|
394
|
+
}
|
|
395
|
+
.mc-button--accent:active {
|
|
396
|
+
background-color: var(--button-color-filled-accent-active-background, #035010);
|
|
397
|
+
}
|
|
398
|
+
.mc-button--accent:disabled {
|
|
399
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
400
|
+
border-color: transparent;
|
|
401
|
+
color: var(--button-state-disabled-color, #737373);
|
|
402
|
+
cursor: not-allowed;
|
|
403
|
+
}
|
|
404
|
+
.mc-button--danger {
|
|
405
|
+
color: var(--button-color-filled-danger-font, #ffffff);
|
|
406
|
+
background-color: var(--button-color-filled-danger-background, #c61112);
|
|
407
|
+
}
|
|
408
|
+
.mc-button--danger:hover {
|
|
409
|
+
background-color: var(--button-color-filled-danger-hover-background, #8c0003);
|
|
410
|
+
}
|
|
411
|
+
.mc-button--danger:active {
|
|
412
|
+
background-color: var(--button-color-filled-danger-active-background, #530000);
|
|
413
|
+
}
|
|
414
|
+
.mc-button--danger:disabled {
|
|
415
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
416
|
+
border-color: transparent;
|
|
417
|
+
color: var(--button-state-disabled-color, #737373);
|
|
418
|
+
cursor: not-allowed;
|
|
419
|
+
}
|
|
420
|
+
.mc-button--inverse {
|
|
421
|
+
--focus-color-mid: var(--focus-color-outline-outer, #000000);
|
|
422
|
+
--focus-color-outer: var(--focus-color-outline-mid, #ffffff);
|
|
423
|
+
color: var(--button-color-filled-inverse-font, #242938);
|
|
424
|
+
background-color: var(--button-color-filled-inverse-background, #ffffff);
|
|
425
|
+
}
|
|
426
|
+
.mc-button--inverse:hover {
|
|
427
|
+
background-color: var(--button-color-filled-inverse-hover-background, #e6e6e6);
|
|
428
|
+
}
|
|
429
|
+
.mc-button--inverse:active {
|
|
430
|
+
background-color: var(--button-color-filled-inverse-active-background, #cccccc);
|
|
431
|
+
}
|
|
432
|
+
.mc-button--inverse:disabled {
|
|
433
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
434
|
+
border-color: transparent;
|
|
435
|
+
color: var(--button-state-disabled-color, #737373);
|
|
436
|
+
cursor: not-allowed;
|
|
437
|
+
}
|
|
438
|
+
.mc-button--icon-button {
|
|
439
|
+
border-radius: var(--radius-full, 100%);
|
|
440
|
+
padding: 0;
|
|
441
|
+
}
|
|
442
|
+
.mc-button--loading .mc-button__loader {
|
|
443
|
+
position: absolute;
|
|
444
|
+
color: currentcolor;
|
|
445
|
+
}
|
|
446
|
+
.mc-button--loading .mc-button__label,
|
|
447
|
+
.mc-button--loading .mc-button__icon {
|
|
448
|
+
visibility: hidden;
|
|
449
|
+
}
|
|
450
|
+
.mc-button--outlined.mc-button--standard {
|
|
451
|
+
color: var(--button-color-outlined-standard-font, #242938);
|
|
452
|
+
border-color: var(--button-color-outlined-standard-border, #8891aa);
|
|
453
|
+
background-color: var(--button-color-outlined-standard-background, #ffffff);
|
|
454
|
+
}
|
|
455
|
+
.mc-button--outlined.mc-button--standard:hover {
|
|
456
|
+
background-color: var(--button-color-outlined-standard-hover-background, #eff1f6);
|
|
457
|
+
}
|
|
458
|
+
.mc-button--outlined.mc-button--standard:active {
|
|
459
|
+
background-color: var(--button-color-outlined-standard-active-background, #c9d0de);
|
|
460
|
+
}
|
|
461
|
+
.mc-button--outlined.mc-button--standard:disabled {
|
|
462
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
463
|
+
border-color: transparent;
|
|
464
|
+
color: var(--button-state-disabled-color, #737373);
|
|
465
|
+
cursor: not-allowed;
|
|
466
|
+
}
|
|
467
|
+
.mc-button--outlined.mc-button--accent {
|
|
468
|
+
color: var(--button-color-outlined-accent-font, #117f03);
|
|
469
|
+
border-color: var(--button-color-outlined-accent-border, #78be20);
|
|
470
|
+
background-color: var(--button-color-outlined-accent-background, #ffffff);
|
|
471
|
+
}
|
|
472
|
+
.mc-button--outlined.mc-button--accent:hover {
|
|
473
|
+
background-color: var(--button-color-outlined-accent-hover-background, #ebf5de);
|
|
474
|
+
}
|
|
475
|
+
.mc-button--outlined.mc-button--accent:active {
|
|
476
|
+
background-color: var(--button-color-outlined-accent-active-background, #c5e39e);
|
|
477
|
+
}
|
|
478
|
+
.mc-button--outlined.mc-button--accent:disabled {
|
|
479
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
480
|
+
border-color: transparent;
|
|
481
|
+
color: var(--button-state-disabled-color, #737373);
|
|
482
|
+
cursor: not-allowed;
|
|
483
|
+
}
|
|
484
|
+
.mc-button--outlined.mc-button--danger {
|
|
485
|
+
color: var(--button-color-outlined-danger-font, #c61112);
|
|
486
|
+
border-color: var(--button-color-outlined-danger-border, #ef5f5c);
|
|
487
|
+
background-color: var(--button-color-outlined-danger-background, #ffffff);
|
|
488
|
+
}
|
|
489
|
+
.mc-button--outlined.mc-button--danger:hover {
|
|
490
|
+
background-color: var(--button-color-outlined-danger-hover-background, #fdeaea);
|
|
491
|
+
}
|
|
492
|
+
.mc-button--outlined.mc-button--danger:active {
|
|
493
|
+
background-color: var(--button-color-outlined-danger-active-background, #f8bcbb);
|
|
494
|
+
}
|
|
495
|
+
.mc-button--outlined.mc-button--danger:disabled {
|
|
496
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
497
|
+
border-color: transparent;
|
|
498
|
+
color: var(--button-state-disabled-color, #737373);
|
|
499
|
+
cursor: not-allowed;
|
|
500
|
+
}
|
|
501
|
+
.mc-button--outlined.mc-button--inverse {
|
|
502
|
+
color: var(--button-color-outlined-inverse-font, #ffffff);
|
|
503
|
+
border-color: var(--button-color-outlined-inverse-border, #ffffff);
|
|
504
|
+
background-color: var(--button-color-outlined-inverse-background, rgba(255, 255, 255, 0.01));
|
|
505
|
+
}
|
|
506
|
+
.mc-button--outlined.mc-button--inverse:hover {
|
|
507
|
+
background-color: var(--button-color-outlined-inverse-hover-background, rgba(255, 255, 255, 0.1));
|
|
508
|
+
}
|
|
509
|
+
.mc-button--outlined.mc-button--inverse:active {
|
|
510
|
+
background-color: var(--button-color-outlined-inverse-active-background, rgba(255, 255, 255, 0.2));
|
|
511
|
+
}
|
|
512
|
+
.mc-button--outlined.mc-button--inverse:disabled {
|
|
513
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
514
|
+
border-color: transparent;
|
|
515
|
+
color: var(--button-state-disabled-color, #737373);
|
|
516
|
+
cursor: not-allowed;
|
|
517
|
+
}
|
|
518
|
+
.mc-button--ghost.mc-button--standard {
|
|
519
|
+
color: var(--button-color-ghost-standard-font, #242938);
|
|
520
|
+
background-color: var(--button-color-ghost-standard-background, rgba(255, 255, 255, 0.01));
|
|
521
|
+
}
|
|
522
|
+
.mc-button--ghost.mc-button--standard:hover {
|
|
523
|
+
background-color: var(--button-color-ghost-standard-hover-background, rgba(70, 78, 99, 0.1));
|
|
524
|
+
}
|
|
525
|
+
.mc-button--ghost.mc-button--standard:active {
|
|
526
|
+
background-color: var(--button-color-ghost-standard-active-background, rgba(70, 78, 99, 0.2));
|
|
527
|
+
}
|
|
528
|
+
.mc-button--ghost.mc-button--standard:disabled {
|
|
529
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
530
|
+
border-color: transparent;
|
|
531
|
+
color: var(--button-state-disabled-color, #737373);
|
|
532
|
+
cursor: not-allowed;
|
|
533
|
+
}
|
|
534
|
+
.mc-button--ghost.mc-button--accent {
|
|
535
|
+
color: var(--button-color-ghost-accent-font, #117f03);
|
|
536
|
+
background-color: var(--button-color-ghost-accent-background, rgba(255, 255, 255, 0.01));
|
|
537
|
+
}
|
|
538
|
+
.mc-button--ghost.mc-button--accent:hover {
|
|
539
|
+
background-color: var(--button-color-ghost-accent-hover-background, rgba(17, 127, 3, 0.1));
|
|
540
|
+
}
|
|
541
|
+
.mc-button--ghost.mc-button--accent:active {
|
|
542
|
+
background-color: var(--button-color-ghost-accent-active-background, rgba(17, 127, 3, 0.2));
|
|
543
|
+
}
|
|
544
|
+
.mc-button--ghost.mc-button--accent:disabled {
|
|
545
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
546
|
+
border-color: transparent;
|
|
547
|
+
color: var(--button-state-disabled-color, #737373);
|
|
548
|
+
cursor: not-allowed;
|
|
549
|
+
}
|
|
550
|
+
.mc-button--ghost.mc-button--danger {
|
|
551
|
+
color: var(--button-color-ghost-danger-font, #c61112);
|
|
552
|
+
background-color: var(--button-color-ghost-danger-background, rgba(255, 255, 255, 0.01));
|
|
553
|
+
}
|
|
554
|
+
.mc-button--ghost.mc-button--danger:hover {
|
|
555
|
+
background-color: var(--button-color-ghost-danger-hover-background, rgba(198, 17, 18, 0.1));
|
|
556
|
+
}
|
|
557
|
+
.mc-button--ghost.mc-button--danger:active {
|
|
558
|
+
background-color: var(--button-color-ghost-danger-active-background, rgba(198, 17, 18, 0.2));
|
|
559
|
+
}
|
|
560
|
+
.mc-button--ghost.mc-button--danger:disabled {
|
|
561
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
562
|
+
border-color: transparent;
|
|
563
|
+
color: var(--button-state-disabled-color, #737373);
|
|
564
|
+
cursor: not-allowed;
|
|
565
|
+
}
|
|
566
|
+
.mc-button--ghost.mc-button--inverse {
|
|
567
|
+
color: var(--button-color-ghost-inverse-font, #ffffff);
|
|
568
|
+
background-color: var(--button-color-ghost-inverse-background, rgba(255, 255, 255, 0.01));
|
|
569
|
+
}
|
|
570
|
+
.mc-button--ghost.mc-button--inverse:hover {
|
|
571
|
+
background-color: var(--button-color-ghost-inverse-hover-background, rgba(255, 255, 255, 0.1));
|
|
572
|
+
}
|
|
573
|
+
.mc-button--ghost.mc-button--inverse:active {
|
|
574
|
+
background-color: var(--button-color-ghost-inverse-active-background, rgba(255, 255, 255, 0.2));
|
|
575
|
+
}
|
|
576
|
+
.mc-button--ghost.mc-button--inverse:disabled {
|
|
577
|
+
background-color: var(--button-state-disabled-background, #d9d9d9);
|
|
578
|
+
border-color: transparent;
|
|
579
|
+
color: var(--button-state-disabled-color, #737373);
|
|
580
|
+
cursor: not-allowed;
|
|
581
|
+
}
|
|
582
|
+
|
|
219
583
|
.mc-controls-options {
|
|
220
584
|
align-items: center;
|
|
221
585
|
display: inline-flex;
|
|
@@ -231,18 +595,18 @@
|
|
|
231
595
|
appearance: none;
|
|
232
596
|
cursor: pointer;
|
|
233
597
|
padding: 0;
|
|
234
|
-
border-radius: 100
|
|
598
|
+
border-radius: var(--radius-full, 100%);
|
|
235
599
|
}
|
|
236
600
|
.mc-controls-options__button:hover .mc-controls-options__icon {
|
|
237
|
-
fill: #4d4d4d;
|
|
601
|
+
fill: var(--forms-color-icon-clear-hover, #4d4d4d);
|
|
238
602
|
}
|
|
239
603
|
.mc-controls-options__button:focus-visible {
|
|
240
|
-
box-shadow: 0 0 0 0.125rem var(--focus-color-mid, #ffffff), 0 0 0 0.25rem var(--focus-color-outer, #000000);
|
|
604
|
+
box-shadow: 0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));
|
|
241
605
|
outline: 0.125rem solid transparent;
|
|
242
606
|
outline-offset: 0.125rem;
|
|
243
607
|
}
|
|
244
608
|
.mc-controls-options__icon {
|
|
245
|
-
fill: #666666;
|
|
609
|
+
fill: var(--forms-color-icon-clear, #666666);
|
|
246
610
|
}
|
|
247
611
|
.mc-controls-options__button, .mc-controls-options__icon {
|
|
248
612
|
height: 1.5rem;
|
|
@@ -259,8 +623,8 @@
|
|
|
259
623
|
width: 1px;
|
|
260
624
|
}
|
|
261
625
|
.mc-controls-options__unit {
|
|
262
|
-
font-size: 1rem;
|
|
263
|
-
line-height: 1.3;
|
|
264
|
-
font-weight: 600;
|
|
265
|
-
color: #000000;
|
|
626
|
+
font-size: var(--font-size-150, 1rem);
|
|
627
|
+
line-height: var(--line-height-s, 1.3);
|
|
628
|
+
font-weight: var(--font-weight-semi-bold, 600);
|
|
629
|
+
color: var(--forms-color-text-default, #000000);
|
|
266
630
|
}</style>
|
|
@@ -1,20 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A password input is a specialized input field used to securely enter and manage passwords. It typically masks the characters entered to protect sensitive information from being seen. It includes a toggle button to show or hide the password, improving usability while maintaining security. Password inputs are commonly used in login forms, account creation, and authentication flows.
|
|
3
|
+
*/
|
|
1
4
|
interface Props {
|
|
5
|
+
/**
|
|
6
|
+
* A unique identifier for the password input element, used to associate the label with the form element.
|
|
7
|
+
*/
|
|
2
8
|
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The name attribute for the password input element, typically used for form submission.
|
|
11
|
+
*/
|
|
3
12
|
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The current value of the password input field.
|
|
15
|
+
*/
|
|
4
16
|
value?: string | number;
|
|
17
|
+
/**
|
|
18
|
+
* A placeholder text to show in the password input when it is empty.
|
|
19
|
+
*/
|
|
5
20
|
placeholder?: string;
|
|
21
|
+
/**
|
|
22
|
+
* If `true`, applies an invalid state to the password input.
|
|
23
|
+
*/
|
|
6
24
|
isinvalid?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If `true`, disables the password input, making it non-interactive.
|
|
27
|
+
*/
|
|
7
28
|
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, the password input is read-only (cannot be edited).
|
|
31
|
+
*/
|
|
8
32
|
readonly?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* If `true`, a clear button will appear when the password input has a value.
|
|
35
|
+
*/
|
|
9
36
|
isclearable?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The label text for the clear button.
|
|
39
|
+
*/
|
|
10
40
|
clearlabel?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Labels of the button displayed when showing or hiding the password.
|
|
43
|
+
*/
|
|
11
44
|
buttonlabel?: {
|
|
12
45
|
show: string;
|
|
13
46
|
hide: string;
|
|
14
47
|
};
|
|
15
|
-
[key: string]: any;
|
|
16
48
|
}
|
|
17
|
-
declare const PasswordInput: import("svelte").Component<Props, {}, "
|
|
49
|
+
declare const PasswordInput: import("svelte").Component<Props, {}, "">;
|
|
18
50
|
type PasswordInput = ReturnType<typeof PasswordInput>;
|
|
19
51
|
export default PasswordInput;
|
|
20
52
|
//# sourceMappingURL=PasswordInput.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInput.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/passwordinput/PasswordInput.svelte.ts"],"names":[],"mappings":"AAKE,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;
|
|
1
|
+
{"version":3,"file":"PasswordInput.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/passwordinput/PasswordInput.svelte.ts"],"names":[],"mappings":"AAKE;;GAEG;AACH,UAAU,KAAK;IACb;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAsDH,QAAA,MAAM,aAAa,2CAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
|