@sk-web-gui/core 0.1.47 → 0.1.48
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/LICENSE +21 -21
- package/README.md +5 -5
- package/package.json +2 -2
- package/src/colors.js +145 -145
- package/src/components/accordion.js +93 -93
- package/src/components/alert-banner.js +25 -25
- package/src/components/alert.js +98 -98
- package/src/components/avatar.js +85 -85
- package/src/components/badge.js +60 -60
- package/src/components/breadcrumb.js +13 -13
- package/src/components/button-group.js +46 -46
- package/src/components/button.js +304 -304
- package/src/components/calendar.js +82 -82
- package/src/components/card.js +54 -54
- package/src/components/checkbox.js +127 -127
- package/src/components/code.js +9 -9
- package/src/components/cookie-consent.js +30 -30
- package/src/components/divider.js +12 -12
- package/src/components/dot.js +84 -84
- package/src/components/dropdown-filter.js +72 -72
- package/src/components/footer.js +42 -42
- package/src/components/forms.js +256 -256
- package/src/components/header.js +35 -35
- package/src/components/icon-button.js +5 -5
- package/src/components/icon.js +9 -9
- package/src/components/kbd.js +9 -9
- package/src/components/link.js +20 -20
- package/src/components/message.js +62 -62
- package/src/components/modal.js +30 -30
- package/src/components/notification.js +56 -56
- package/src/components/pagination.js +69 -69
- package/src/components/radio.js +104 -104
- package/src/components/search-bar.js +45 -45
- package/src/components/side-menu.js +166 -167
- package/src/components/switch.js +119 -119
- package/src/components/tab-menu.js +44 -44
- package/src/components/table.js +13 -13
- package/src/components/tag.js +97 -97
- package/src/components/user-menu.js +23 -23
- package/src/components/zebratable.js +77 -77
- package/src/index.js +284 -284
- package/src/with-opacity.js +6 -6
- package/dist/cjs/colors.js +0 -140
- package/dist/cjs/colors.js.map +0 -1
- package/dist/cjs/components/accordion.js +0 -86
- package/dist/cjs/components/accordion.js.map +0 -1
- package/dist/cjs/components/alert.js +0 -71
- package/dist/cjs/components/alert.js.map +0 -1
- package/dist/cjs/components/avatar.js +0 -78
- package/dist/cjs/components/avatar.js.map +0 -1
- package/dist/cjs/components/badge.js +0 -53
- package/dist/cjs/components/badge.js.map +0 -1
- package/dist/cjs/components/breadcrumb.js +0 -23
- package/dist/cjs/components/breadcrumb.js.map +0 -1
- package/dist/cjs/components/button-group.js +0 -50
- package/dist/cjs/components/button-group.js.map +0 -1
- package/dist/cjs/components/button.js +0 -154
- package/dist/cjs/components/button.js.map +0 -1
- package/dist/cjs/components/calendar.js +0 -76
- package/dist/cjs/components/calendar.js.map +0 -1
- package/dist/cjs/components/card.js +0 -59
- package/dist/cjs/components/card.js.map +0 -1
- package/dist/cjs/components/checkbox.js +0 -92
- package/dist/cjs/components/checkbox.js.map +0 -1
- package/dist/cjs/components/code.js +0 -21
- package/dist/cjs/components/code.js.map +0 -1
- package/dist/cjs/components/cookie-consent.js +0 -35
- package/dist/cjs/components/cookie-consent.js.map +0 -1
- package/dist/cjs/components/divider.js +0 -24
- package/dist/cjs/components/divider.js.map +0 -1
- package/dist/cjs/components/dot.js +0 -70
- package/dist/cjs/components/dot.js.map +0 -1
- package/dist/cjs/components/footer.js +0 -39
- package/dist/cjs/components/footer.js.map +0 -1
- package/dist/cjs/components/forms.js +0 -225
- package/dist/cjs/components/forms.js.map +0 -1
- package/dist/cjs/components/header.js +0 -34
- package/dist/cjs/components/header.js.map +0 -1
- package/dist/cjs/components/icon-button.js +0 -17
- package/dist/cjs/components/icon-button.js.map +0 -1
- package/dist/cjs/components/icon.js +0 -20
- package/dist/cjs/components/icon.js.map +0 -1
- package/dist/cjs/components/kbd.js +0 -21
- package/dist/cjs/components/kbd.js.map +0 -1
- package/dist/cjs/components/link.js +0 -29
- package/dist/cjs/components/link.js.map +0 -1
- package/dist/cjs/components/message.js +0 -63
- package/dist/cjs/components/message.js.map +0 -1
- package/dist/cjs/components/modal.js +0 -35
- package/dist/cjs/components/modal.js.map +0 -1
- package/dist/cjs/components/notification.js +0 -58
- package/dist/cjs/components/notification.js.map +0 -1
- package/dist/cjs/components/pagination.js +0 -66
- package/dist/cjs/components/pagination.js.map +0 -1
- package/dist/cjs/components/radio.js +0 -95
- package/dist/cjs/components/radio.js.map +0 -1
- package/dist/cjs/components/switch.js +0 -107
- package/dist/cjs/components/switch.js.map +0 -1
- package/dist/cjs/components/table.js +0 -23
- package/dist/cjs/components/table.js.map +0 -1
- package/dist/cjs/components/tag.js +0 -88
- package/dist/cjs/components/tag.js.map +0 -1
- package/dist/cjs/components/types.js +0 -10
- package/dist/cjs/components/types.js.map +0 -1
- package/dist/cjs/components/user-menu.js +0 -33
- package/dist/cjs/components/user-menu.js.map +0 -1
- package/dist/cjs/components/zebratable.js +0 -70
- package/dist/cjs/components/zebratable.js.map +0 -1
- package/dist/cjs/index.js +0 -282
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/with-opacity.js +0 -15
- package/dist/cjs/with-opacity.js.map +0 -1
- package/dist/esm/colors.js +0 -137
- package/dist/esm/colors.js.map +0 -1
- package/dist/esm/components/accordion.js +0 -76
- package/dist/esm/components/accordion.js.map +0 -1
- package/dist/esm/components/alert.js +0 -67
- package/dist/esm/components/alert.js.map +0 -1
- package/dist/esm/components/avatar.js +0 -68
- package/dist/esm/components/avatar.js.map +0 -1
- package/dist/esm/components/badge.js +0 -48
- package/dist/esm/components/badge.js.map +0 -1
- package/dist/esm/components/breadcrumb.js +0 -13
- package/dist/esm/components/breadcrumb.js.map +0 -1
- package/dist/esm/components/button-group.js +0 -40
- package/dist/esm/components/button-group.js.map +0 -1
- package/dist/esm/components/button.js +0 -197
- package/dist/esm/components/button.js.map +0 -1
- package/dist/esm/components/calendar.js +0 -66
- package/dist/esm/components/calendar.js.map +0 -1
- package/dist/esm/components/card.js +0 -49
- package/dist/esm/components/card.js.map +0 -1
- package/dist/esm/components/checkbox.js +0 -110
- package/dist/esm/components/checkbox.js.map +0 -1
- package/dist/esm/components/code.js +0 -11
- package/dist/esm/components/code.js.map +0 -1
- package/dist/esm/components/cookie-consent.js +0 -25
- package/dist/esm/components/cookie-consent.js.map +0 -1
- package/dist/esm/components/divider.js +0 -14
- package/dist/esm/components/divider.js.map +0 -1
- package/dist/esm/components/dot.js +0 -61
- package/dist/esm/components/dot.js.map +0 -1
- package/dist/esm/components/footer.js +0 -29
- package/dist/esm/components/footer.js.map +0 -1
- package/dist/esm/components/forms.js +0 -217
- package/dist/esm/components/forms.js.map +0 -1
- package/dist/esm/components/header.js +0 -29
- package/dist/esm/components/header.js.map +0 -1
- package/dist/esm/components/icon-button.js +0 -7
- package/dist/esm/components/icon-button.js.map +0 -1
- package/dist/esm/components/icon.js +0 -10
- package/dist/esm/components/icon.js.map +0 -1
- package/dist/esm/components/kbd.js +0 -11
- package/dist/esm/components/kbd.js.map +0 -1
- package/dist/esm/components/link.js +0 -19
- package/dist/esm/components/link.js.map +0 -1
- package/dist/esm/components/message.js +0 -53
- package/dist/esm/components/message.js.map +0 -1
- package/dist/esm/components/modal.js +0 -25
- package/dist/esm/components/modal.js.map +0 -1
- package/dist/esm/components/notification.js +0 -48
- package/dist/esm/components/notification.js.map +0 -1
- package/dist/esm/components/pagination.js +0 -56
- package/dist/esm/components/pagination.js.map +0 -1
- package/dist/esm/components/radio.js +0 -88
- package/dist/esm/components/radio.js.map +0 -1
- package/dist/esm/components/switch.js +0 -98
- package/dist/esm/components/switch.js.map +0 -1
- package/dist/esm/components/table.js +0 -13
- package/dist/esm/components/table.js.map +0 -1
- package/dist/esm/components/tag.js +0 -84
- package/dist/esm/components/tag.js.map +0 -1
- package/dist/esm/components/types.js +0 -3
- package/dist/esm/components/types.js.map +0 -1
- package/dist/esm/components/user-menu.js +0 -23
- package/dist/esm/components/user-menu.js.map +0 -1
- package/dist/esm/components/zebratable.js +0 -60
- package/dist/esm/components/zebratable.js.map +0 -1
- package/dist/esm/index.js +0 -327
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/with-opacity.js +0 -10
- package/dist/esm/with-opacity.js.map +0 -1
- package/dist/types/accordion/index.d.ts +0 -1
- package/dist/types/accordion/src/accordion.d.ts +0 -17
- package/dist/types/accordion/src/index.d.ts +0 -1
- package/dist/types/accordion/src/styles.d.ts +0 -1
- package/dist/types/accordion/stories/accordion.stories.d.ts +0 -40
- package/dist/types/alert/index.d.ts +0 -1
- package/dist/types/alert/src/alert.d.ts +0 -15
- package/dist/types/alert/src/index.d.ts +0 -8
- package/dist/types/alert/src/styles.d.ts +0 -2
- package/dist/types/breadcrumb/index.d.ts +0 -1
- package/dist/types/breadcrumb/src/breadcrumb.d.ts +0 -34
- package/dist/types/breadcrumb/src/index.d.ts +0 -10
- package/dist/types/breadcrumb/stories/breadcrumb.stories.d.ts +0 -28
- package/dist/types/button/index.d.ts +0 -1
- package/dist/types/button/src/button-group.d.ts +0 -20
- package/dist/types/button/src/button.d.ts +0 -21
- package/dist/types/button/src/icon-button.d.ts +0 -17
- package/dist/types/button/src/index.d.ts +0 -10
- package/dist/types/button/src/styles.d.ts +0 -1
- package/dist/types/button/stories/announcement.d.ts +0 -6
- package/dist/types/button/stories/button-group.stories.d.ts +0 -14
- package/dist/types/button/stories/button.stories.d.ts +0 -127
- package/dist/types/button/stories/icon-button.stories.d.ts +0 -16
- package/dist/types/card/index.d.ts +0 -1
- package/dist/types/card/src/card.d.ts +0 -38
- package/dist/types/card/src/index.d.ts +0 -1
- package/dist/types/card/src/styles.d.ts +0 -1
- package/dist/types/card/stories/card.stories.d.ts +0 -56
- package/dist/types/checkbox/index.d.ts +0 -1
- package/dist/types/checkbox/src/checkbox-group.d.ts +0 -36
- package/dist/types/checkbox/src/checkbox.d.ts +0 -46
- package/dist/types/checkbox/src/index.d.ts +0 -9
- package/dist/types/checkbox/src/styles.d.ts +0 -2
- package/dist/types/checkbox/stories/checkbox.stories.d.ts +0 -103
- package/dist/types/cookie-consent/index.d.ts +0 -1
- package/dist/types/cookie-consent/src/cookie-consent.d.ts +0 -37
- package/dist/types/cookie-consent/src/index.d.ts +0 -1
- package/dist/types/cookie-consent/src/styles.d.ts +0 -1
- package/dist/types/core/src/colors.d.ts +0 -1
- package/dist/types/core/src/components/accordion.d.ts +0 -3
- package/dist/types/core/src/components/alert.d.ts +0 -3
- package/dist/types/core/src/components/avatar.d.ts +0 -3
- package/dist/types/core/src/components/badge.d.ts +0 -3
- package/dist/types/core/src/components/breadcrumb.d.ts +0 -3
- package/dist/types/core/src/components/button-group.d.ts +0 -3
- package/dist/types/core/src/components/button.d.ts +0 -3
- package/dist/types/core/src/components/calendar.d.ts +0 -3
- package/dist/types/core/src/components/card.d.ts +0 -3
- package/dist/types/core/src/components/checkbox.d.ts +0 -3
- package/dist/types/core/src/components/code.d.ts +0 -3
- package/dist/types/core/src/components/cookie-consent.d.ts +0 -3
- package/dist/types/core/src/components/divider.d.ts +0 -3
- package/dist/types/core/src/components/dot.d.ts +0 -3
- package/dist/types/core/src/components/footer.d.ts +0 -3
- package/dist/types/core/src/components/forms.d.ts +0 -3
- package/dist/types/core/src/components/header.d.ts +0 -3
- package/dist/types/core/src/components/icon-button.d.ts +0 -3
- package/dist/types/core/src/components/icon.d.ts +0 -3
- package/dist/types/core/src/components/kbd.d.ts +0 -3
- package/dist/types/core/src/components/link.d.ts +0 -3
- package/dist/types/core/src/components/message.d.ts +0 -3
- package/dist/types/core/src/components/modal.d.ts +0 -3
- package/dist/types/core/src/components/notification.d.ts +0 -3
- package/dist/types/core/src/components/pagination.d.ts +0 -3
- package/dist/types/core/src/components/radio.d.ts +0 -3
- package/dist/types/core/src/components/switch.d.ts +0 -3
- package/dist/types/core/src/components/table.d.ts +0 -3
- package/dist/types/core/src/components/tag.d.ts +0 -3
- package/dist/types/core/src/components/types.d.ts +0 -5
- package/dist/types/core/src/components/user-menu.d.ts +0 -3
- package/dist/types/core/src/components/zebratable.d.ts +0 -3
- package/dist/types/core/src/index.d.ts +0 -1
- package/dist/types/core/src/with-opacity.d.ts +0 -3
- package/dist/types/divider/index.d.ts +0 -1
- package/dist/types/divider/src/divider.d.ts +0 -9
- package/dist/types/divider/src/index.d.ts +0 -1
- package/dist/types/divider/stories/divider.stories.d.ts +0 -33
- package/dist/types/dot/index.d.ts +0 -1
- package/dist/types/dot/src/dot.d.ts +0 -12
- package/dist/types/dot/src/index.d.ts +0 -1
- package/dist/types/dot/src/styles.d.ts +0 -1
- package/dist/types/dot/stories/dot.stories.d.ts +0 -15
- package/dist/types/footer/index.d.ts +0 -1
- package/dist/types/footer/src/footer.d.ts +0 -11
- package/dist/types/footer/src/index.d.ts +0 -1
- package/dist/types/footer/stories/footer.stories.d.ts +0 -95
- package/dist/types/forms/index.d.ts +0 -1
- package/dist/types/forms/src/calendar/index.d.ts +0 -12
- package/dist/types/forms/src/calendar/styles.d.ts +0 -1
- package/dist/types/forms/src/form-control/index.d.ts +0 -27
- package/dist/types/forms/src/form-error-message/index.d.ts +0 -9
- package/dist/types/forms/src/form-helper-text/index.d.ts +0 -9
- package/dist/types/forms/src/form-label/index.d.ts +0 -13
- package/dist/types/forms/src/index.d.ts +0 -8
- package/dist/types/forms/src/input/index.d.ts +0 -15
- package/dist/types/forms/src/input/input.d.ts +0 -30
- package/dist/types/forms/src/input/styles.d.ts +0 -1
- package/dist/types/forms/src/input-addon/index.d.ts +0 -13
- package/dist/types/forms/src/input-element/index.d.ts +0 -15
- package/dist/types/forms/src/input-group/index.d.ts +0 -11
- package/dist/types/forms/src/select/index.d.ts +0 -6
- package/dist/types/forms/src/select/styles.d.ts +0 -1
- package/dist/types/forms/src/textarea/index.d.ts +0 -13
- package/dist/types/forms/stories/calendar.stories.d.ts +0 -58
- package/dist/types/forms/stories/check.d.ts +0 -6
- package/dist/types/forms/stories/form-control.stories.d.ts +0 -16
- package/dist/types/forms/stories/input.stories.d.ts +0 -32
- package/dist/types/forms/stories/select.stories.d.ts +0 -118
- package/dist/types/forms/stories/textarea.stories.d.ts +0 -23
- package/dist/types/header/index.d.ts +0 -1
- package/dist/types/header/src/header.d.ts +0 -13
- package/dist/types/header/src/index.d.ts +0 -1
- package/dist/types/header/stories/header.stories.d.ts +0 -118
- package/dist/types/icon/index.d.ts +0 -1
- package/dist/types/icon/src/core.d.ts +0 -10
- package/dist/types/icon/src/icon.d.ts +0 -14
- package/dist/types/icon/src/index.d.ts +0 -2
- package/dist/types/icon/stories/icon.stories.d.ts +0 -12
- package/dist/types/image/index.d.ts +0 -1
- package/dist/types/image/src/image.d.ts +0 -28
- package/dist/types/image/src/index.d.ts +0 -2
- package/dist/types/image/src/use-image.d.ts +0 -52
- package/dist/types/image/stories/image.stories.d.ts +0 -12
- package/dist/types/link/index.d.ts +0 -1
- package/dist/types/link/src/index.d.ts +0 -1
- package/dist/types/link/src/link.d.ts +0 -12
- package/dist/types/link/stories/link.stories.d.ts +0 -46
- package/dist/types/message/index.d.ts +0 -1
- package/dist/types/message/src/index.d.ts +0 -1
- package/dist/types/message/src/message.d.ts +0 -2
- package/dist/types/message/stories/message.stories.d.ts +0 -11
- package/dist/types/notification/index.d.ts +0 -1
- package/dist/types/notification/src/index.d.ts +0 -1
- package/dist/types/notification/src/notification.d.ts +0 -5
- package/dist/types/notification/stories/notification.stories.d.ts +0 -11
- package/dist/types/pagination/index.d.ts +0 -1
- package/dist/types/pagination/src/index.d.ts +0 -1
- package/dist/types/pagination/src/pagination.d.ts +0 -11
- package/dist/types/pagination/src/styles.d.ts +0 -1
- package/dist/types/pagination/stories/pagination.stories.d.ts +0 -75
- package/dist/types/radio/index.d.ts +0 -1
- package/dist/types/radio/src/index.d.ts +0 -9
- package/dist/types/radio/src/radio-group.d.ts +0 -41
- package/dist/types/radio/src/radio.d.ts +0 -45
- package/dist/types/radio/src/styles.d.ts +0 -2
- package/dist/types/radio/stories/radio-group.stories.d.ts +0 -75
- package/dist/types/radio/stories/radio.stories.d.ts +0 -104
- package/dist/types/react/index.d.ts +0 -1
- package/dist/types/react/src/index.d.ts +0 -26
- package/dist/types/spinner/index.d.ts +0 -1
- package/dist/types/spinner/src/index.d.ts +0 -1
- package/dist/types/spinner/src/spinner.d.ts +0 -8
- package/dist/types/spinner/src/styles.d.ts +0 -2
- package/dist/types/spinner/stories/spinner.stories.d.ts +0 -13
- package/dist/types/switch/index.d.ts +0 -1
- package/dist/types/switch/src/index.d.ts +0 -1
- package/dist/types/switch/src/styles.d.ts +0 -2
- package/dist/types/switch/src/switch.d.ts +0 -42
- package/dist/types/switch/stories/switch.stories.d.ts +0 -76
- package/dist/types/table/index.d.ts +0 -1
- package/dist/types/table/src/index.d.ts +0 -1
- package/dist/types/table/src/styles.d.ts +0 -1
- package/dist/types/table/src/zebratable.d.ts +0 -33
- package/dist/types/table/stories/zebratable.stories.d.ts +0 -69
- package/dist/types/tag/index.d.ts +0 -1
- package/dist/types/tag/src/index.d.ts +0 -1
- package/dist/types/tag/src/styles.d.ts +0 -1
- package/dist/types/tag/src/tag.d.ts +0 -13
- package/dist/types/tag/stories/tag.stories.d.ts +0 -86
- package/dist/types/theme/index.d.ts +0 -1
- package/dist/types/theme/src/colors.d.ts +0 -272
- package/dist/types/theme/src/create-memo-class.d.ts +0 -1
- package/dist/types/theme/src/create-theme-vars/calc.d.ts +0 -19
- package/dist/types/theme/src/create-theme-vars/create-theme-vars.d.ts +0 -9
- package/dist/types/theme/src/create-theme-vars/css-var.d.ts +0 -7
- package/dist/types/theme/src/create-theme-vars/index.d.ts +0 -4
- package/dist/types/theme/src/create-theme-vars/theme-tokens.d.ts +0 -10
- package/dist/types/theme/src/create-theme-vars/to-css-var.d.ts +0 -2
- package/dist/types/theme/src/default-theme.d.ts +0 -4
- package/dist/types/theme/src/gui-provider.d.ts +0 -16
- package/dist/types/theme/src/index.d.ts +0 -6
- package/dist/types/theme/src/types.d.ts +0 -56
- package/dist/types/theme/src/use-safe-effect.d.ts +0 -2
- package/dist/types/theme/src/utils.d.ts +0 -1
- package/dist/types/toast/index.d.ts +0 -1
- package/dist/types/toast/src/index.d.ts +0 -1
- package/dist/types/toast/src/toast.d.ts +0 -62
- package/dist/types/toasted-notes/index.d.ts +0 -1
- package/dist/types/toasted-notes/src/Alert.d.ts +0 -8
- package/dist/types/toasted-notes/src/Message.d.ts +0 -26
- package/dist/types/toasted-notes/src/Positions.d.ts +0 -9
- package/dist/types/toasted-notes/src/Toast.d.ts +0 -13
- package/dist/types/toasted-notes/src/ToastManager.d.ts +0 -45
- package/dist/types/toasted-notes/src/index.d.ts +0 -4
- package/dist/types/toasted-notes/src/useTimeout.d.ts +0 -3
- package/dist/types/user-menu/index.d.ts +0 -1
- package/dist/types/user-menu/src/index.d.ts +0 -6
- package/dist/types/user-menu/src/styles.d.ts +0 -1
- package/dist/types/user-menu/src/user-menu.d.ts +0 -21
- package/dist/types/user-menu/stories/announcement.d.ts +0 -6
- package/dist/types/user-menu/stories/user-menu.stories.d.ts +0 -5
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/src/assertion.d.ts +0 -4
- package/dist/types/utils/src/children.d.ts +0 -8
- package/dist/types/utils/src/color.d.ts +0 -9
- package/dist/types/utils/src/index.d.ts +0 -10
- package/dist/types/utils/src/object.d.ts +0 -6
- package/dist/types/utils/src/refs.d.ts +0 -5
- package/dist/types/utils/src/slug.d.ts +0 -1
- package/dist/types/utils/src/types.d.ts +0 -13
- package/dist/types/utils/src/walk-object.d.ts +0 -5
- package/dist/types/visually-hidden/index.d.ts +0 -1
- package/dist/types/visually-hidden/src/index.d.ts +0 -32
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CalendarProps } from '../src';
|
|
3
|
-
import dayjsLocale from 'dayjs/locale/se';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: import("react").ForwardRefExoticComponent<Pick<CalendarProps, "disabled" | "color" | "variant" | "as" | "children" | "form" | "slot" | "style" | "title" | "pattern" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "height" | "type" | "max" | "min" | "name" | "width" | "crossOrigin" | "key" | "alt" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "invalid" | "localeInstance" | "inputFormat" | "minDate"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
parameters: {
|
|
8
|
-
controls: {
|
|
9
|
-
hideNoControlsWarning: boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
14
|
-
export declare const Template: {
|
|
15
|
-
(args: CalendarProps): JSX.Element;
|
|
16
|
-
argTypes: {
|
|
17
|
-
value: {
|
|
18
|
-
type: {
|
|
19
|
-
name: string;
|
|
20
|
-
required: boolean;
|
|
21
|
-
};
|
|
22
|
-
description: string;
|
|
23
|
-
defaultValue: string;
|
|
24
|
-
};
|
|
25
|
-
onChange: {
|
|
26
|
-
type: {
|
|
27
|
-
name: string;
|
|
28
|
-
required: boolean;
|
|
29
|
-
};
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
localeInstance: {
|
|
33
|
-
type: {
|
|
34
|
-
name: string;
|
|
35
|
-
required: boolean;
|
|
36
|
-
};
|
|
37
|
-
description: string;
|
|
38
|
-
defaultValue: dayjsLocale.Locale;
|
|
39
|
-
};
|
|
40
|
-
inputFormat: {
|
|
41
|
-
type: {
|
|
42
|
-
name: string;
|
|
43
|
-
required: boolean;
|
|
44
|
-
};
|
|
45
|
-
description: string;
|
|
46
|
-
defaultValue: string;
|
|
47
|
-
};
|
|
48
|
-
minDate: {
|
|
49
|
-
type: {
|
|
50
|
-
name: string;
|
|
51
|
-
required: boolean;
|
|
52
|
-
};
|
|
53
|
-
description: string;
|
|
54
|
-
defaultValue: undefined;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
storyName: string;
|
|
58
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<import("../src").FormControlProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
parameters: {
|
|
6
|
-
controls: {
|
|
7
|
-
hideNoControlsWarning: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Outline: () => JSX.Element;
|
|
13
|
-
export declare const Solid: () => JSX.Element;
|
|
14
|
-
export declare const Storlekar: () => JSX.Element;
|
|
15
|
-
export declare const Invalid: () => JSX.Element;
|
|
16
|
-
export declare const Required: () => JSX.Element;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Input } from '../src';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: Input;
|
|
6
|
-
parameters: {
|
|
7
|
-
controls: {
|
|
8
|
-
hideNoControlsWarning: boolean;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Basic: {
|
|
14
|
-
(): JSX.Element;
|
|
15
|
-
storyName: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const Colored: {
|
|
18
|
-
(): JSX.Element;
|
|
19
|
-
storyName: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const Disabled: {
|
|
22
|
-
(): JSX.Element;
|
|
23
|
-
storyName: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const Invalid: {
|
|
26
|
-
(): JSX.Element;
|
|
27
|
-
storyName: string;
|
|
28
|
-
};
|
|
29
|
-
export declare const Variant: () => JSX.Element;
|
|
30
|
-
export declare const Size: () => JSX.Element;
|
|
31
|
-
export declare const Element: () => JSX.Element;
|
|
32
|
-
export declare const Addon: () => JSX.Element;
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SelectProps } from '../src';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import("react").ForwardRefExoticComponent<Pick<SelectProps, "children" | "form" | "slot" | "style" | "title" | "pattern" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "height" | "max" | "min" | "name" | "width" | "crossOrigin" | "key" | "alt" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "step" | keyof import("../src/input/input").IInputProps<HTMLInputElement>> & import("react").RefAttributes<HTMLElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
controls: {
|
|
8
|
-
hideNoControlsWarning: boolean;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Template: {
|
|
14
|
-
(args: SelectProps): JSX.Element;
|
|
15
|
-
argTypes: {
|
|
16
|
-
value: {
|
|
17
|
-
type: {
|
|
18
|
-
name: string;
|
|
19
|
-
required: boolean;
|
|
20
|
-
};
|
|
21
|
-
description: string;
|
|
22
|
-
table: {
|
|
23
|
-
value: {
|
|
24
|
-
summary: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
defaultValue: string;
|
|
28
|
-
};
|
|
29
|
-
placeholder: {
|
|
30
|
-
type: {
|
|
31
|
-
name: string;
|
|
32
|
-
required: boolean;
|
|
33
|
-
};
|
|
34
|
-
description: string;
|
|
35
|
-
table: {
|
|
36
|
-
defaultValue: {
|
|
37
|
-
summary: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
defaultValue: string;
|
|
41
|
-
};
|
|
42
|
-
'aria-label': {
|
|
43
|
-
type: {
|
|
44
|
-
name: string;
|
|
45
|
-
required: boolean;
|
|
46
|
-
};
|
|
47
|
-
description: string;
|
|
48
|
-
table: {
|
|
49
|
-
defaultValue: {
|
|
50
|
-
summary: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
defaultValue: string;
|
|
54
|
-
};
|
|
55
|
-
required: {
|
|
56
|
-
type: {
|
|
57
|
-
name: string;
|
|
58
|
-
required: boolean;
|
|
59
|
-
};
|
|
60
|
-
description: string;
|
|
61
|
-
table: {
|
|
62
|
-
defaultValue: {
|
|
63
|
-
summary: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
control: string;
|
|
67
|
-
defaultValue: boolean;
|
|
68
|
-
};
|
|
69
|
-
invalid: {
|
|
70
|
-
type: {
|
|
71
|
-
name: string;
|
|
72
|
-
required: boolean;
|
|
73
|
-
};
|
|
74
|
-
description: string;
|
|
75
|
-
table: {
|
|
76
|
-
defaultValue: {
|
|
77
|
-
summary: undefined;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
control: string;
|
|
81
|
-
defaultValue: undefined;
|
|
82
|
-
};
|
|
83
|
-
disabled: {
|
|
84
|
-
type: {
|
|
85
|
-
name: string;
|
|
86
|
-
required: boolean;
|
|
87
|
-
};
|
|
88
|
-
description: string;
|
|
89
|
-
table: {
|
|
90
|
-
defaultValue: {
|
|
91
|
-
summary: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
control: string;
|
|
95
|
-
defaultValue: boolean;
|
|
96
|
-
};
|
|
97
|
-
size: {
|
|
98
|
-
type: {
|
|
99
|
-
name: string;
|
|
100
|
-
required: boolean;
|
|
101
|
-
};
|
|
102
|
-
description: string;
|
|
103
|
-
table: {
|
|
104
|
-
defaultValue: {
|
|
105
|
-
summary: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
options: string[];
|
|
109
|
-
control: string;
|
|
110
|
-
defaultValue: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
storyName: string;
|
|
114
|
-
};
|
|
115
|
-
export declare const Disabled: () => JSX.Element;
|
|
116
|
-
export declare const Invalid: () => JSX.Element;
|
|
117
|
-
export declare const Colored: () => JSX.Element;
|
|
118
|
-
export declare const Size: () => JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<import("../src").TextareaProps<HTMLTextAreaElement>, "children" | "form" | "slot" | "style" | "title" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "name" | "key" | "autoFocus" | "autoComplete" | "minLength" | "rows" | "cols" | "dirName" | "wrap" | keyof import("../src/input/input").IInputProps<HTMLTextAreaElement> | keyof {
|
|
5
|
-
showCount?: boolean | undefined;
|
|
6
|
-
maxLength?: number | undefined;
|
|
7
|
-
value?: string | undefined;
|
|
8
|
-
onChange?: ((e: import("react").BaseSyntheticEvent<object, any, any>) => void) | undefined;
|
|
9
|
-
maxLengthWarningText?: string | undefined;
|
|
10
|
-
}> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
11
|
-
parameters: {
|
|
12
|
-
controls: {
|
|
13
|
-
hideNoControlsWarning: boolean;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
18
|
-
export declare const Basic: () => JSX.Element;
|
|
19
|
-
export declare const Disabled: () => JSX.Element;
|
|
20
|
-
export declare const Invalid: () => JSX.Element;
|
|
21
|
-
export declare const Variant: () => JSX.Element;
|
|
22
|
-
export declare const Colored: () => JSX.Element;
|
|
23
|
-
export declare const Counter: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/theme';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export interface HeaderProps extends DefaultProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
LogoLinkWrapperComponent?: React.ReactElement;
|
|
7
|
-
notificationsAlert?: React.ReactNode;
|
|
8
|
-
userMenu?: React.ReactNode;
|
|
9
|
-
borderColor?: string;
|
|
10
|
-
wrapperClasses?: string;
|
|
11
|
-
userMenuClasses?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './header';
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Meta } from '@storybook/react';
|
|
3
|
-
import { HeaderProps } from '../src';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Template: {
|
|
7
|
-
({ ...args }: HeaderProps): JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
title: {
|
|
10
|
-
type: {
|
|
11
|
-
name: string;
|
|
12
|
-
required: boolean;
|
|
13
|
-
};
|
|
14
|
-
description: string;
|
|
15
|
-
control: string;
|
|
16
|
-
table: {
|
|
17
|
-
defaultValue: {
|
|
18
|
-
summary: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
defaultValue: string;
|
|
22
|
-
};
|
|
23
|
-
borderColor: {
|
|
24
|
-
type: {
|
|
25
|
-
name: string;
|
|
26
|
-
required: boolean;
|
|
27
|
-
};
|
|
28
|
-
description: string;
|
|
29
|
-
table: {
|
|
30
|
-
defaultValue: {
|
|
31
|
-
summary: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
options: string[];
|
|
35
|
-
control: string;
|
|
36
|
-
defaultValue: string;
|
|
37
|
-
};
|
|
38
|
-
className: {
|
|
39
|
-
type: {
|
|
40
|
-
name: string;
|
|
41
|
-
required: boolean;
|
|
42
|
-
};
|
|
43
|
-
description: string;
|
|
44
|
-
table: {
|
|
45
|
-
defaultValue: {
|
|
46
|
-
summary: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
control: string;
|
|
50
|
-
defaultValue: string;
|
|
51
|
-
};
|
|
52
|
-
wrapperClasses: {
|
|
53
|
-
type: {
|
|
54
|
-
name: string;
|
|
55
|
-
required: boolean;
|
|
56
|
-
};
|
|
57
|
-
description: string;
|
|
58
|
-
table: {
|
|
59
|
-
defaultValue: {
|
|
60
|
-
summary: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
control: string;
|
|
64
|
-
defaultValue: string;
|
|
65
|
-
};
|
|
66
|
-
userMenuClasses: {
|
|
67
|
-
type: {
|
|
68
|
-
name: string;
|
|
69
|
-
required: boolean;
|
|
70
|
-
};
|
|
71
|
-
description: string;
|
|
72
|
-
table: {
|
|
73
|
-
defaultValue: {
|
|
74
|
-
summary: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
control: string;
|
|
78
|
-
defaultValue: string;
|
|
79
|
-
};
|
|
80
|
-
userMenu: {
|
|
81
|
-
type: {
|
|
82
|
-
required: boolean;
|
|
83
|
-
};
|
|
84
|
-
description: string;
|
|
85
|
-
table: {
|
|
86
|
-
defaultValue: {
|
|
87
|
-
summary: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
defaultValue: undefined;
|
|
91
|
-
};
|
|
92
|
-
notificationsAlert: {
|
|
93
|
-
type: {
|
|
94
|
-
required: boolean;
|
|
95
|
-
};
|
|
96
|
-
description: string;
|
|
97
|
-
table: {
|
|
98
|
-
defaultValue: {
|
|
99
|
-
summary: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
defaultValue: undefined;
|
|
103
|
-
};
|
|
104
|
-
LogoLinkWrapperComponent: {
|
|
105
|
-
type: {
|
|
106
|
-
required: boolean;
|
|
107
|
-
};
|
|
108
|
-
description: string;
|
|
109
|
-
table: {
|
|
110
|
-
defaultValue: {
|
|
111
|
-
summary: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
defaultValue: undefined;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
storyName: string;
|
|
118
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IconProps } from './icon';
|
|
3
|
-
export declare const QuestionCircleIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
4
|
-
export declare const InfoIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
5
|
-
export declare const CheckCircleIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
6
|
-
export declare const XCricleIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
-
export declare const XIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
8
|
-
export declare const ExclamationIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
-
export declare const SelectorIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
10
|
-
export declare const ChevronUpIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/theme';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export interface IconProps extends DefaultProps {
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
inline?: boolean;
|
|
6
|
-
role?: string;
|
|
7
|
-
color?: string;
|
|
8
|
-
/**
|
|
9
|
-
* The accessible label for the icon. This label will be visually hidden but announced to screen
|
|
10
|
-
* reader users, similar to `alt` text for `img` tags.
|
|
11
|
-
*/
|
|
12
|
-
label: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<import("../src").IconProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
parameters: {
|
|
6
|
-
controls: {
|
|
7
|
-
hideNoControlsWarning: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Ikoner: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/theme';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { UseImageProps } from './use-image';
|
|
4
|
-
interface INativeImageProps extends DefaultProps {
|
|
5
|
-
/**
|
|
6
|
-
* The native HTML `width` attribute to the passed to the `img`
|
|
7
|
-
*/
|
|
8
|
-
htmlWidth?: string | number;
|
|
9
|
-
/**
|
|
10
|
-
* The native HTML `height` attribute to the passed to the `img`
|
|
11
|
-
*/
|
|
12
|
-
htmlHeight?: string | number;
|
|
13
|
-
}
|
|
14
|
-
interface NativeImageProps extends React.ImgHTMLAttributes<HTMLImageElement>, INativeImageProps {
|
|
15
|
-
}
|
|
16
|
-
export type { NativeImageProps };
|
|
17
|
-
export declare const NativeImage: React.ForwardRefExoticComponent<NativeImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
18
|
-
interface IImageProps extends Omit<NativeImageProps, 'onError'> {
|
|
19
|
-
fallbackSrc?: string;
|
|
20
|
-
fallback?: React.ReactElement;
|
|
21
|
-
loading?: 'eager' | 'lazy';
|
|
22
|
-
ignoreFallback?: boolean;
|
|
23
|
-
as?: React.ElementType;
|
|
24
|
-
}
|
|
25
|
-
interface ImageProps extends UseImageProps, IImageProps {
|
|
26
|
-
}
|
|
27
|
-
export declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<unknown>>;
|
|
28
|
-
export type { ImageProps };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React, { ImgHTMLAttributes } from 'react';
|
|
2
|
-
export interface UseImageProps {
|
|
3
|
-
/**
|
|
4
|
-
* The image `src` attribute
|
|
5
|
-
*/
|
|
6
|
-
src?: string;
|
|
7
|
-
/**
|
|
8
|
-
* The image `srcset` attribute
|
|
9
|
-
*/
|
|
10
|
-
srcSet?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The image `sizes` attribute
|
|
13
|
-
*/
|
|
14
|
-
sizes?: string;
|
|
15
|
-
/**
|
|
16
|
-
* A callback for when the image `src` has been loaded
|
|
17
|
-
*/
|
|
18
|
-
onLoad?(event: React.SyntheticEvent<HTMLImageElement, Event>): void;
|
|
19
|
-
/**
|
|
20
|
-
* A callback for when there was an error loading the image `src`
|
|
21
|
-
*/
|
|
22
|
-
onError?(error: string | React.SyntheticEvent<HTMLImageElement, Event>): void;
|
|
23
|
-
/**
|
|
24
|
-
* If `true`, opt out of the `fallbackSrc` logic and use as `img`
|
|
25
|
-
*/
|
|
26
|
-
ignoreFallback?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* The key used to set the crossOrigin on the HTMLImageElement into which the image will be loaded.
|
|
29
|
-
* This tells the browser to request cross-origin access when trying to download the image data.
|
|
30
|
-
*/
|
|
31
|
-
crossOrigin?: ImgHTMLAttributes<HTMLImageElement>['crossOrigin'];
|
|
32
|
-
}
|
|
33
|
-
declare type Status = 'loading' | 'failed' | 'pending' | 'loaded';
|
|
34
|
-
/**
|
|
35
|
-
* React hook that loads an image in the browser,
|
|
36
|
-
* and let's us know the `status` so we can show image
|
|
37
|
-
* fallback if it is still `pending`
|
|
38
|
-
*
|
|
39
|
-
* @returns the status of the image loading progress
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
*
|
|
43
|
-
* ```jsx
|
|
44
|
-
* function App(){
|
|
45
|
-
* const status = useImage({ src: "image.png" })
|
|
46
|
-
* return status === "loaded" ? <img src="image.png" /> : <Placeholder />
|
|
47
|
-
* }
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function useImage(props: UseImageProps): Status;
|
|
51
|
-
export declare type UseImageReturn = ReturnType<typeof useImage>;
|
|
52
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<import("../src/image").ImageProps & import("react").RefAttributes<unknown>>;
|
|
5
|
-
parameters: {
|
|
6
|
-
controls: {
|
|
7
|
-
hideNoControlsWarning: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Bild: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './link';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/theme';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
interface LinkProps extends DefaultProps {
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
external?: boolean;
|
|
6
|
-
as?: React.ElementType;
|
|
7
|
-
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
href?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<unknown>>;
|
|
12
|
-
export type { LinkProps };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LinkProps } from '../src';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<unknown>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
controls: {
|
|
8
|
-
hideNoControlsWarning: boolean;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Template: {
|
|
14
|
-
(args: LinkProps): JSX.Element;
|
|
15
|
-
storyName: string;
|
|
16
|
-
argTypes: {
|
|
17
|
-
disabled: {
|
|
18
|
-
type: {
|
|
19
|
-
name: string;
|
|
20
|
-
required: boolean;
|
|
21
|
-
};
|
|
22
|
-
description: string;
|
|
23
|
-
table: {
|
|
24
|
-
defaultValue: {
|
|
25
|
-
summary: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
control: string;
|
|
29
|
-
defaultValue: boolean;
|
|
30
|
-
};
|
|
31
|
-
external: {
|
|
32
|
-
type: {
|
|
33
|
-
name: string;
|
|
34
|
-
required: boolean;
|
|
35
|
-
};
|
|
36
|
-
description: string;
|
|
37
|
-
table: {
|
|
38
|
-
defaultValue: {
|
|
39
|
-
summary: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
control: string;
|
|
43
|
-
defaultValue: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|