@fibrae/semi-foundation 0.3.0 → 0.4.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/LICENSE +0 -62
- package/README.md +37 -35
- package/README.zh-CN.md +79 -0
- package/dist/base/auto-close-foundation.d.ts +21 -6
- package/dist/base/auto-close-foundation.js +28 -9
- package/dist/base/focus-handle.d.ts +42 -0
- package/dist/base/focus-handle.js +89 -0
- package/dist/base/focus-scope.js +75 -0
- package/dist/base/foundation.d.ts +57 -26
- package/dist/base/foundation.js +59 -26
- package/dist/base/list-store.js +15 -2
- package/dist/base/modal-resources.d.ts +35 -0
- package/dist/base/modal-resources.js +57 -0
- package/dist/base/popup-lifecycle.d.ts +13 -0
- package/dist/base/popup-lifecycle.js +30 -0
- package/dist/base/release-holder.js +18 -0
- package/dist/base/reset-timer.d.ts +9 -0
- package/dist/base/reset-timer.js +29 -0
- package/dist/base/static-list-wrapper.d.ts +15 -0
- package/dist/base/static-list-wrapper.js +47 -0
- package/dist/base/tokens.css +36 -36
- package/dist/components/anchor/constants.d.ts +11 -0
- package/dist/components/anchor/constants.js +18 -0
- package/dist/components/anchor/foundation.d.ts +49 -0
- package/dist/components/anchor/foundation.js +162 -0
- package/dist/components/anchor/utils.js +16 -0
- package/dist/components/anchor/variables.scss +34 -0
- package/dist/components/audio-player/audio-player.css +226 -0
- package/dist/components/audio-player/audio-player.scss +278 -0
- package/dist/components/audio-player/constants.js +27 -0
- package/dist/components/audio-player/foundation.d.ts +44 -0
- package/dist/components/audio-player/foundation.js +126 -0
- package/dist/components/audio-player/utils.js +6 -0
- package/dist/components/audio-player/variables.scss +53 -0
- package/dist/components/auto-complete/constants.js +7 -0
- package/dist/components/auto-complete/foundation.d.ts +67 -0
- package/dist/components/auto-complete/foundation.js +217 -0
- package/dist/components/auto-complete/option.css +62 -0
- package/dist/components/avatar/constants.js +13 -0
- package/dist/components/avatar/foundation.d.ts +31 -0
- package/dist/components/avatar/foundation.js +43 -0
- package/dist/components/avatar/variables.scss +112 -0
- package/dist/components/backtop/constants.js +35 -0
- package/dist/components/backtop/foundation.d.ts +26 -0
- package/dist/components/backtop/foundation.js +94 -0
- package/dist/components/badge/constants.js +4 -0
- package/dist/components/banner/constants.js +4 -0
- package/dist/components/banner/foundation.d.ts +12 -0
- package/dist/components/banner/foundation.js +12 -0
- package/dist/components/breadcrumb/breadcrumb.scss +116 -0
- package/dist/components/breadcrumb/constants.js +8 -0
- package/dist/components/breadcrumb/foundation.d.ts +47 -0
- package/dist/components/breadcrumb/foundation.js +64 -0
- package/dist/components/breadcrumb/item-foundation.d.ts +45 -0
- package/dist/components/breadcrumb/item-foundation.js +36 -0
- package/dist/components/button/constants.js +5 -0
- package/dist/components/button/split-button-group.css +19 -0
- package/dist/components/button/utils.d.ts +27 -0
- package/dist/components/button/utils.js +89 -0
- package/dist/components/button/variables.scss +169 -0
- package/dist/components/calendar/calendar.css +485 -0
- package/dist/components/calendar/calendar.scss +515 -0
- package/dist/components/calendar/constants.js +14 -0
- package/dist/components/calendar/event-util.js +193 -0
- package/dist/components/calendar/foundation.d.ts +75 -0
- package/dist/components/calendar/foundation.js +196 -0
- package/dist/components/calendar/month-foundation.d.ts +22 -0
- package/dist/components/calendar/month-foundation.js +32 -0
- package/dist/components/card/constants.js +4 -0
- package/dist/components/carousel/carousel.css +345 -0
- package/dist/components/carousel/carousel.scss +451 -0
- package/dist/components/carousel/constants.js +42 -0
- package/dist/components/carousel/foundation.d.ts +64 -0
- package/dist/components/carousel/foundation.js +217 -0
- package/dist/components/carousel/variables.scss +49 -0
- package/dist/components/cascader/cascader.scss +586 -0
- package/dist/components/cascader/constants.js +20 -0
- package/dist/components/cascader/foundation.d.ts +295 -0
- package/dist/components/cascader/foundation.js +884 -0
- package/dist/components/cascader/util.js +148 -0
- package/dist/components/checkbox/checkbox-foundation.d.ts +100 -0
- package/dist/components/checkbox/checkbox-foundation.js +74 -0
- package/dist/components/checkbox/checkbox-group-foundation.d.ts +25 -0
- package/dist/components/checkbox/checkbox-group-foundation.js +34 -0
- package/dist/components/checkbox/constants.js +15 -0
- package/dist/components/checkbox/variables.scss +72 -0
- package/dist/components/code-highlight/constants.js +4 -0
- package/dist/components/code-highlight/highlighter.js +56 -0
- package/dist/components/code-highlight/index.d.ts +26 -0
- package/dist/components/code-highlight/index.js +43 -0
- package/dist/components/code-highlight/registry.js +33 -0
- package/dist/components/collapse/collapse.scss +112 -0
- package/dist/components/collapse/constants.js +4 -0
- package/dist/components/collapse/foundation.d.ts +51 -0
- package/dist/components/collapse/foundation.js +56 -0
- package/dist/components/collapsible/constants.js +4 -0
- package/dist/components/collapsible/foundation.d.ts +69 -0
- package/dist/components/collapsible/foundation.js +132 -0
- package/dist/components/color-picker/color-choose-area-foundation.d.ts +33 -0
- package/dist/components/color-picker/color-choose-area-foundation.js +57 -0
- package/dist/components/color-picker/color-picker.scss +129 -0
- package/dist/components/color-picker/color-slider-foundation.d.ts +28 -0
- package/dist/components/color-picker/color-slider-foundation.js +45 -0
- package/dist/components/color-picker/constants.js +4 -0
- package/dist/components/color-picker/data-part-foundation.d.ts +35 -0
- package/dist/components/color-picker/data-part-foundation.js +86 -0
- package/dist/components/color-picker/foundation.d.ts +53 -0
- package/dist/components/color-picker/foundation.js +150 -0
- package/dist/components/color-picker/utils/convert.d.ts +14 -0
- package/dist/components/color-picker/utils/convert.js +148 -0
- package/dist/components/color-picker/utils/round.js +5 -0
- package/dist/components/color-picker/utils/split.js +26 -0
- package/dist/components/config-provider/breakpoint-observer.js +139 -0
- package/dist/components/config-provider/inherit-config.d.ts +24 -0
- package/dist/components/config-provider/inherit-config.js +24 -0
- package/dist/components/cropper/constants.js +37 -0
- package/dist/components/cropper/cropper.scss +129 -0
- package/dist/components/cropper/foundation.d.ts +94 -0
- package/dist/components/cropper/foundation.js +851 -0
- package/dist/components/cropper/utils.js +23 -0
- package/dist/components/date-picker/_utils/formatter.js +21 -0
- package/dist/components/date-picker/_utils/get-day-of-week.js +14 -0
- package/dist/components/date-picker/_utils/get-default-format-token.js +18 -0
- package/dist/components/date-picker/_utils/get-default-picker-date.js +35 -0
- package/dist/components/date-picker/_utils/get-full-date-offset.js +11 -0
- package/dist/components/date-picker/_utils/get-inset-input-format-token.js +33 -0
- package/dist/components/date-picker/_utils/get-inset-input-value-from-inset-input-str.js +57 -0
- package/dist/components/date-picker/_utils/get-month-table.js +33 -0
- package/dist/components/date-picker/_utils/get-year-and-month.js +18 -0
- package/dist/components/date-picker/_utils/get-year-month-from-value.js +18 -0
- package/dist/components/date-picker/_utils/get-years.js +9 -0
- package/dist/components/date-picker/_utils/index.d.ts +9 -0
- package/dist/components/date-picker/_utils/index.js +9 -0
- package/dist/components/date-picker/_utils/is-after.js +7 -0
- package/dist/components/date-picker/_utils/is-before.js +7 -0
- package/dist/components/date-picker/_utils/is-between.js +11 -0
- package/dist/components/date-picker/_utils/is-same-day.js +7 -0
- package/dist/components/date-picker/_utils/is-timestamp.js +6 -0
- package/dist/components/date-picker/_utils/is-valid-date.js +5 -0
- package/dist/components/date-picker/_utils/parser.js +17 -0
- package/dist/components/date-picker/_utils/picker-type.js +28 -0
- package/dist/components/date-picker/_utils/to-callback-args.js +46 -0
- package/dist/components/date-picker/_utils/to-date-arg.js +13 -0
- package/dist/components/date-picker/constants.js +78 -0
- package/dist/components/date-picker/date-picker.scss +1762 -0
- package/dist/components/date-picker/foundation.d.ts +299 -0
- package/dist/components/date-picker/foundation.js +707 -0
- package/dist/components/date-picker/input-foundation.d.ts +134 -0
- package/dist/components/date-picker/input-foundation.js +212 -0
- package/dist/components/date-picker/month-foundation.d.ts +163 -0
- package/dist/components/date-picker/month-foundation.js +196 -0
- package/dist/components/date-picker/months-grid-foundation.d.ts +163 -0
- package/dist/components/date-picker/months-grid-foundation.js +614 -0
- package/dist/components/date-picker/year-and-month-foundation.d.ts +75 -0
- package/dist/components/date-picker/year-and-month-foundation.js +115 -0
- package/dist/components/descriptions/constants.js +4 -0
- package/dist/components/descriptions/foundation.d.ts +9 -0
- package/dist/components/descriptions/foundation.js +33 -0
- package/dist/components/divider/constants.js +4 -0
- package/dist/components/drag-move/foundation.d.ts +31 -0
- package/dist/components/drag-move/foundation.js +203 -0
- package/dist/components/dropdown/constants.js +12 -0
- package/dist/components/dropdown/foundation.d.ts +37 -0
- package/dist/components/dropdown/foundation.js +124 -0
- package/dist/components/dropdown/menu-foundation.d.ts +35 -0
- package/dist/components/dropdown/menu-foundation.js +83 -0
- package/dist/components/empty/constants.js +5 -0
- package/dist/components/feedback/constants.js +19 -0
- package/dist/components/feedback/feedback.scss +153 -0
- package/dist/components/feedback/foundation.d.ts +42 -0
- package/dist/components/feedback/foundation.js +70 -0
- package/dist/components/float-button/constants.js +13 -0
- package/dist/components/float-button/float-button.scss +201 -0
- package/dist/components/form/array-field-rows.d.ts +23 -0
- package/dist/components/form/array-field-rows.js +60 -0
- package/dist/components/form/constants.d.ts +15 -0
- package/dist/components/form/constants.js +47 -0
- package/dist/components/form/errors.d.ts +15 -0
- package/dist/components/form/errors.js +50 -0
- package/dist/components/form/field-store.js +28 -0
- package/dist/components/form/form-api-proxy.d.ts +14 -0
- package/dist/components/form/form-api-proxy.js +48 -0
- package/dist/components/form/form.css +250 -0
- package/dist/components/form/form.scss +319 -0
- package/dist/components/form/foundation.d.ts +71 -0
- package/dist/components/form/foundation.js +1100 -0
- package/dist/components/form/interface.d.ts +247 -0
- package/dist/components/form/json-schema.d.ts +42 -0
- package/dist/components/form/json-schema.js +208 -0
- package/dist/components/form/rtl.scss +13 -0
- package/dist/components/form/rules.d.ts +37 -0
- package/dist/components/form/rules.js +97 -0
- package/dist/components/form/utils.d.ts +119 -0
- package/dist/components/form/utils.js +154 -0
- package/dist/components/form/variables.scss +52 -0
- package/dist/components/grid/constants.js +12 -0
- package/dist/components/grid/gutter.js +39 -0
- package/dist/components/grid/utils.js +39 -0
- package/dist/components/highlight/constants.js +4 -0
- package/dist/components/highlight/foundation.js +108 -0
- package/dist/components/hot-keys/constants.js +207 -0
- package/dist/components/hot-keys/foundation.d.ts +22 -0
- package/dist/components/hot-keys/foundation.js +96 -0
- package/dist/components/image/constants.js +5 -0
- package/dist/components/image/image-foundation.d.ts +39 -0
- package/dist/components/image/image-foundation.js +60 -0
- package/dist/components/image/image.scss +272 -0
- package/dist/components/image/preview-footer-foundation.d.ts +25 -0
- package/dist/components/image/preview-footer-foundation.js +30 -0
- package/dist/components/image/preview-foundation.d.ts +54 -0
- package/dist/components/image/preview-foundation.js +79 -0
- package/dist/components/image/preview-image-foundation.d.ts +63 -0
- package/dist/components/image/preview-image-foundation.js +238 -0
- package/dist/components/image/preview-inner-foundation.d.ts +92 -0
- package/dist/components/image/preview-inner-foundation.js +290 -0
- package/dist/components/image/utils.js +66 -0
- package/dist/components/input/constants.d.ts +8 -0
- package/dist/components/input/constants.js +13 -0
- package/dist/components/input/foundation.d.ts +51 -0
- package/dist/components/input/foundation.js +81 -0
- package/dist/components/input/input.css +619 -0
- package/dist/components/input/input.scss +746 -0
- package/dist/components/input/text-entry-foundation.d.ts +60 -0
- package/dist/components/input/text-entry-foundation.js +105 -0
- package/dist/components/input/textarea-foundation.d.ts +63 -0
- package/dist/components/input/textarea-foundation.js +138 -0
- package/dist/components/input/textarea.css +260 -0
- package/dist/components/input/textarea.scss +320 -0
- package/dist/components/input/util/line-number.js +42 -0
- package/dist/components/input/util/truncate-value.js +14 -0
- package/dist/components/input/variables.scss +107 -0
- package/dist/components/input-number/caret.js +20 -0
- package/dist/components/input-number/constants.d.ts +14 -0
- package/dist/components/input-number/constants.js +13 -0
- package/dist/components/input-number/foundation.d.ts +104 -0
- package/dist/components/input-number/foundation.js +555 -0
- package/dist/components/json-viewer/constants.js +4 -0
- package/dist/components/json-viewer/foundation.d.ts +53 -0
- package/dist/components/json-viewer/foundation.js +161 -0
- package/dist/components/json-viewer/json-viewer.scss +224 -0
- package/dist/components/layout/constants.js +4 -0
- package/dist/components/list/constants.js +4 -0
- package/dist/components/list/list.scss +162 -0
- package/dist/components/lottie/constants.js +4 -0
- package/dist/components/lottie/foundation.d.ts +31 -0
- package/dist/components/lottie/foundation.js +65 -0
- package/dist/components/markdown-render/constants.js +4 -0
- package/dist/components/markdown-render/foundation.d.ts +54 -0
- package/dist/components/markdown-render/foundation.js +118 -0
- package/dist/components/modal/confirm-registry.d.ts +10 -0
- package/dist/components/modal/confirm-registry.js +21 -0
- package/dist/components/modal/confirm.js +34 -0
- package/dist/components/modal/constants.js +4 -0
- package/dist/components/modal/modal-content-foundation.d.ts +38 -0
- package/dist/components/modal/modal-content-foundation.js +73 -0
- package/dist/components/modal/modal-foundation.d.ts +92 -0
- package/dist/components/modal/modal-foundation.js +115 -0
- package/dist/components/navigation/constants.js +20 -0
- package/dist/components/navigation/foundation.d.ts +81 -0
- package/dist/components/navigation/foundation.js +180 -0
- package/dist/components/navigation/item-foundation.d.ts +44 -0
- package/dist/components/navigation/item-foundation.js +42 -0
- package/dist/components/navigation/navigation.scss +764 -0
- package/dist/components/navigation/sub-nav-foundation.d.ts +30 -0
- package/dist/components/navigation/sub-nav-foundation.js +54 -0
- package/dist/components/navigation/variables.scss +120 -0
- package/dist/components/notification/constants.js +32 -0
- package/dist/components/notification/notification-api-foundation.d.ts +29 -0
- package/dist/components/notification/notification-api-foundation.js +58 -0
- package/dist/components/notification/notification-foundation.d.ts +40 -0
- package/dist/components/notification/notification-foundation.js +12 -0
- package/dist/components/notification/notification-list-foundation.d.ts +73 -0
- package/dist/components/notification/notification-list-foundation.js +94 -0
- package/dist/components/overflow-list/constants.d.ts +21 -0
- package/dist/components/overflow-list/constants.js +22 -0
- package/dist/components/overflow-list/foundation.d.ts +78 -0
- package/dist/components/overflow-list/foundation.js +195 -0
- package/dist/components/pagination/constants.js +14 -0
- package/dist/components/pagination/foundation.d.ts +54 -0
- package/dist/components/pagination/foundation.js +185 -0
- package/dist/components/pagination/pagination.scss +189 -0
- package/dist/components/pincode/constants.js +4 -0
- package/dist/components/pincode/foundation.d.ts +38 -0
- package/dist/components/pincode/foundation.js +92 -0
- package/dist/components/popconfirm/constants.d.ts +4 -0
- package/dist/components/popconfirm/constants.js +7 -0
- package/dist/components/popconfirm/popconfirm-foundation.d.ts +47 -0
- package/dist/components/popconfirm/popconfirm-foundation.js +85 -0
- package/dist/components/popover/constants.js +47 -0
- package/dist/components/progress/constants.js +8 -0
- package/dist/components/progress/generates.js +24 -0
- package/dist/components/progress/utils.js +45 -0
- package/dist/components/radio/constants.js +19 -0
- package/dist/components/radio/radio-foundation.d.ts +76 -0
- package/dist/components/radio/radio-foundation.js +92 -0
- package/dist/components/radio/radio-group-foundation.d.ts +19 -0
- package/dist/components/radio/radio-group-foundation.js +31 -0
- package/dist/components/radio/variables.scss +107 -0
- package/dist/components/rating/constants.js +5 -0
- package/dist/components/rating/foundation.d.ts +101 -0
- package/dist/components/rating/foundation.js +166 -0
- package/dist/components/rating/variables.scss +19 -0
- package/dist/components/resizable/constants.js +4 -0
- package/dist/components/resizable/foundation.d.ts +3 -0
- package/dist/components/resizable/group/index.d.ts +60 -0
- package/dist/components/resizable/group/index.js +351 -0
- package/dist/components/resizable/resizable.scss +146 -0
- package/dist/components/resizable/single/index.d.ts +86 -0
- package/dist/components/resizable/single/index.js +444 -0
- package/dist/components/resizable/types.js +18 -0
- package/dist/components/resizable/utils.js +53 -0
- package/dist/components/scroll-list/constants.js +11 -0
- package/dist/components/scroll-list/item-foundation.d.ts +57 -0
- package/dist/components/scroll-list/item-foundation.js +331 -0
- package/dist/components/scroll-list/scroll-list.scss +198 -0
- package/dist/components/scroll-list/scroll-to.js +15 -0
- package/dist/components/select/combobox-name.js +21 -0
- package/dist/components/select/constants.js +22 -0
- package/dist/components/select/foundation.d.ts +135 -0
- package/dist/components/select/foundation.js +752 -0
- package/dist/components/select/option-foundation.js +35 -0
- package/dist/components/select/option.css +67 -0
- package/dist/components/select/select.scss +554 -0
- package/dist/components/side-sheet/constants.js +5 -0
- package/dist/components/side-sheet/side-sheet-foundation.d.ts +80 -0
- package/dist/components/side-sheet/side-sheet-foundation.js +109 -0
- package/dist/components/skeleton/constants.js +4 -0
- package/dist/components/slider/constants.js +12 -0
- package/dist/components/slider/foundation.d.ts +163 -0
- package/dist/components/slider/foundation.js +444 -0
- package/dist/components/slider/variables.scss +63 -0
- package/dist/components/sortable/accessibility.d.ts +14 -0
- package/dist/components/sortable/accessibility.js +49 -0
- package/dist/components/space/constants.js +9 -0
- package/dist/components/spin/constants.js +3 -0
- package/dist/components/spin/foundation.d.ts +22 -0
- package/dist/components/spin/foundation.js +46 -0
- package/dist/components/spin/spin.scss +111 -0
- package/dist/components/steps/bacis-steps.css +234 -0
- package/dist/components/steps/constants.js +8 -0
- package/dist/components/steps/fill-steps.css +141 -0
- package/dist/components/steps/nav-steps.css +48 -0
- package/dist/components/steps/steps.scss +17 -0
- package/dist/components/steps/utils.js +15 -0
- package/dist/components/switch/constants.js +16 -0
- package/dist/components/switch/foundation.d.ts +23 -0
- package/dist/components/switch/foundation.js +20 -0
- package/dist/components/switch/variables.scss +71 -0
- package/dist/components/table/constants.d.ts +76 -0
- package/dist/components/table/constants.js +111 -0
- package/dist/components/table/foundation.d.ts +356 -0
- package/dist/components/table/foundation.js +1001 -0
- package/dist/components/table/operation-panel.css +29 -0
- package/dist/components/table/table.css +636 -0
- package/dist/components/table/table.scss +788 -0
- package/dist/components/table/utils.d.ts +216 -0
- package/dist/components/table/utils.js +516 -0
- package/dist/components/table/variables.scss +81 -0
- package/dist/components/tabs/constants.d.ts +32 -0
- package/dist/components/tabs/constants.js +39 -0
- package/dist/components/tabs/foundation.d.ts +87 -0
- package/dist/components/tabs/foundation.js +190 -0
- package/dist/components/tabs/tabs.scss +933 -0
- package/dist/components/tabs/variables.scss +155 -0
- package/dist/components/tag/constants.js +35 -0
- package/dist/components/tag/focus.js +22 -0
- package/dist/components/tag/mixin.scss +19 -0
- package/dist/components/tag/tag-key.js +18 -0
- package/dist/components/tag/tag.css +537 -0
- package/dist/components/tag/variables.scss +85 -0
- package/dist/components/tag-input/constants.js +9 -0
- package/dist/components/tag-input/foundation.d.ts +94 -0
- package/dist/components/tag-input/foundation.js +247 -0
- package/dist/components/tag-input/tag-input.scss +357 -0
- package/dist/components/tag-input/utils/get-splited-array.js +16 -0
- package/dist/components/tag-input/utils/tag-focus.js +14 -0
- package/dist/components/time-picker/combox-foundation.d.ts +64 -0
- package/dist/components/time-picker/combox-foundation.js +96 -0
- package/dist/components/time-picker/constants.js +23 -0
- package/dist/components/time-picker/foundation.d.ts +91 -0
- package/dist/components/time-picker/foundation.js +272 -0
- package/dist/components/time-picker/input-foundation.d.ts +18 -0
- package/dist/components/time-picker/input-foundation.js +35 -0
- package/dist/components/time-picker/utils/index.js +57 -0
- package/dist/components/timeline/constants.js +7 -0
- package/dist/components/timeline/timeline.scss +190 -0
- package/dist/components/timeline/utils.js +10 -0
- package/dist/components/toast/constants.js +34 -0
- package/dist/components/toast/toast-api-foundation.d.ts +26 -0
- package/dist/components/toast/toast-api-foundation.js +49 -0
- package/dist/components/toast/toast-foundation.d.ts +37 -0
- package/dist/components/toast/toast-foundation.js +5 -0
- package/dist/components/toast/toast-list-foundation.d.ts +31 -0
- package/dist/components/toast/toast-list-foundation.js +76 -0
- package/dist/components/tooltip/adjust-position.js +202 -0
- package/dist/components/tooltip/arrow.css +1 -0
- package/dist/components/tooltip/constants.d.ts +53 -0
- package/dist/components/tooltip/constants.js +99 -0
- package/dist/components/tooltip/foundation.d.ts +116 -0
- package/dist/components/tooltip/foundation.js +750 -0
- package/dist/components/tooltip/position.css +10 -0
- package/dist/components/tooltip/tooltip.scss +72 -0
- package/dist/components/transfer/constants.js +10 -0
- package/dist/components/transfer/foundation.d.ts +130 -0
- package/dist/components/transfer/foundation.js +241 -0
- package/dist/components/transfer/transfer-utils.js +45 -0
- package/dist/components/transfer/transfer.scss +260 -0
- package/dist/components/tree/constants.js +8 -0
- package/dist/components/tree/foundation.d.ts +283 -0
- package/dist/components/tree/foundation.js +341 -0
- package/dist/components/tree/shared.d.ts +208 -0
- package/dist/components/tree/shared.js +564 -0
- package/dist/components/tree/tree-util.d.ts +100 -0
- package/dist/components/tree/tree-util.js +447 -0
- package/dist/components/tree/tree.scss +439 -0
- package/dist/components/tree-select/constants.js +19 -0
- package/dist/components/tree-select/foundation.d.ts +161 -0
- package/dist/components/tree-select/foundation.js +427 -0
- package/dist/components/tree-select/tree-select.scss +467 -0
- package/dist/components/typography/constants.js +50 -0
- package/dist/components/typography/ellipsis.js +154 -0
- package/dist/components/typography/format-numeral.js +99 -0
- package/dist/components/typography/typography.scss +383 -0
- package/dist/components/upload/constants.d.ts +24 -0
- package/dist/components/upload/constants.js +39 -0
- package/dist/components/upload/foundation.d.ts +180 -0
- package/dist/components/upload/foundation.js +763 -0
- package/dist/components/upload/upload.scss +640 -0
- package/dist/components/upload/utils.d.ts +25 -0
- package/dist/components/upload/utils.js +102 -0
- package/dist/components/user-guide/constants.js +12 -0
- package/dist/components/user-guide/foundation.d.ts +72 -0
- package/dist/components/user-guide/foundation.js +121 -0
- package/dist/components/video-player/constants.js +48 -0
- package/dist/components/video-player/foundation.d.ts +89 -0
- package/dist/components/video-player/foundation.js +316 -0
- package/dist/components/video-player/progress-foundation.d.ts +48 -0
- package/dist/components/video-player/progress-foundation.js +91 -0
- package/dist/components/video-player/seek-foundation.d.ts +49 -0
- package/dist/components/video-player/seek-foundation.js +52 -0
- package/dist/components/video-player/utils.js +58 -0
- package/dist/components/video-player/video-player.scss +344 -0
- package/dist/locale/format.d.ts +5 -0
- package/dist/locale/format.js +9 -0
- package/dist/locale/interface.d.ts +18 -0
- package/dist/locale/source/ar.js +19 -1
- package/dist/locale/source/az.js +19 -1
- package/dist/locale/source/bg.js +19 -1
- package/dist/locale/source/bn_IN.js +19 -1
- package/dist/locale/source/ca.js +19 -1
- package/dist/locale/source/ceb_PH.js +19 -1
- package/dist/locale/source/cs_CZ.js +19 -1
- package/dist/locale/source/da.js +19 -1
- package/dist/locale/source/de.js +19 -1
- package/dist/locale/source/el_GR.js +19 -1
- package/dist/locale/source/en_GB.js +19 -1
- package/dist/locale/source/en_US.js +19 -1
- package/dist/locale/source/es.js +19 -1
- package/dist/locale/source/es_419.js +19 -1
- package/dist/locale/source/et.js +19 -1
- package/dist/locale/source/fa_IR.js +19 -1
- package/dist/locale/source/fi_FI.js +19 -1
- package/dist/locale/source/fil_PH.js +19 -1
- package/dist/locale/source/fr.js +19 -1
- package/dist/locale/source/fr_CA.js +19 -1
- package/dist/locale/source/ga.js +19 -1
- package/dist/locale/source/he_IL.js +19 -1
- package/dist/locale/source/hi_IN.js +19 -1
- package/dist/locale/source/hr.js +19 -1
- package/dist/locale/source/hu_HU.js +19 -1
- package/dist/locale/source/id_ID.js +19 -1
- package/dist/locale/source/is.js +19 -1
- package/dist/locale/source/it.js +19 -1
- package/dist/locale/source/ja_JP.js +19 -1
- package/dist/locale/source/jv_ID.js +19 -1
- package/dist/locale/source/kk.js +19 -1
- package/dist/locale/source/km_KH.js +19 -1
- package/dist/locale/source/ko_KR.js +19 -1
- package/dist/locale/source/lt.js +19 -1
- package/dist/locale/source/lv.js +19 -1
- package/dist/locale/source/ms_MY.js +19 -1
- package/dist/locale/source/my_MM.js +19 -1
- package/dist/locale/source/nb.js +19 -1
- package/dist/locale/source/nl_NL.js +19 -1
- package/dist/locale/source/pl_PL.js +19 -1
- package/dist/locale/source/pt.js +19 -1
- package/dist/locale/source/pt_BR.js +19 -1
- package/dist/locale/source/ro.js +19 -1
- package/dist/locale/source/ru_RU.js +19 -1
- package/dist/locale/source/sk.js +19 -1
- package/dist/locale/source/sl.js +19 -1
- package/dist/locale/source/sq.js +19 -1
- package/dist/locale/source/sv_SE.js +19 -1
- package/dist/locale/source/sw.js +19 -1
- package/dist/locale/source/th_TH.js +19 -1
- package/dist/locale/source/tr_TR.js +19 -1
- package/dist/locale/source/uk_UA.js +19 -1
- package/dist/locale/source/ur.js +19 -1
- package/dist/locale/source/uz.js +19 -1
- package/dist/locale/source/vi_VN.js +19 -1
- package/dist/locale/source/zh_CN.js +19 -1
- package/dist/locale/source/zh_TW.js +19 -1
- package/dist/theme/global.scss +36 -36
- package/dist/utils/a11y.d.ts +11 -3
- package/dist/utils/a11y.js +25 -5
- package/dist/utils/date-fns-extra.d.ts +3 -1
- package/dist/utils/date-fns-extra.js +8 -3
- package/dist/utils/dom.d.ts +0 -2
- package/dist/utils/dom.js +1 -4
- package/dist/utils/focus-handover.js +1 -1
- package/package.json +2 -3
- package/dist/anchor/constants.d.ts +0 -9
- package/dist/anchor/constants.js +0 -14
- package/dist/anchor/foundation.d.ts +0 -46
- package/dist/anchor/foundation.js +0 -142
- package/dist/anchor/utils.js +0 -16
- package/dist/anchor/variables.scss +0 -34
- package/dist/audio-player/audio-player.css +0 -226
- package/dist/audio-player/audio-player.scss +0 -278
- package/dist/audio-player/constants.js +0 -27
- package/dist/audio-player/foundation.d.ts +0 -43
- package/dist/audio-player/foundation.js +0 -115
- package/dist/audio-player/utils.js +0 -6
- package/dist/audio-player/variables.scss +0 -53
- package/dist/auto-complete/constants.js +0 -7
- package/dist/auto-complete/foundation.d.ts +0 -75
- package/dist/auto-complete/foundation.js +0 -218
- package/dist/avatar/constants.js +0 -13
- package/dist/avatar/foundation.d.ts +0 -28
- package/dist/avatar/foundation.js +0 -31
- package/dist/avatar/variables.scss +0 -112
- package/dist/backtop/constants.js +0 -35
- package/dist/backtop/foundation.d.ts +0 -23
- package/dist/backtop/foundation.js +0 -68
- package/dist/badge/constants.js +0 -4
- package/dist/banner/constants.js +0 -4
- package/dist/banner/foundation.d.ts +0 -9
- package/dist/banner/foundation.js +0 -9
- package/dist/breadcrumb/breadcrumb.scss +0 -116
- package/dist/breadcrumb/constants.js +0 -8
- package/dist/breadcrumb/foundation.d.ts +0 -37
- package/dist/breadcrumb/foundation.js +0 -60
- package/dist/breadcrumb/item-foundation.d.ts +0 -45
- package/dist/breadcrumb/item-foundation.js +0 -36
- package/dist/button/constants.js +0 -5
- package/dist/button/utils.d.ts +0 -27
- package/dist/button/utils.js +0 -89
- package/dist/button/variables.scss +0 -169
- package/dist/calendar/calendar.css +0 -486
- package/dist/calendar/calendar.scss +0 -518
- package/dist/calendar/constants.js +0 -14
- package/dist/calendar/event-util.js +0 -193
- package/dist/calendar/foundation.d.ts +0 -75
- package/dist/calendar/foundation.js +0 -194
- package/dist/calendar/month-foundation.d.ts +0 -10
- package/dist/calendar/month-foundation.js +0 -12
- package/dist/card/constants.js +0 -4
- package/dist/carousel/carousel.css +0 -345
- package/dist/carousel/carousel.scss +0 -451
- package/dist/carousel/constants.js +0 -42
- package/dist/carousel/foundation.d.ts +0 -59
- package/dist/carousel/foundation.js +0 -204
- package/dist/carousel/variables.scss +0 -49
- package/dist/cascader/cascader.scss +0 -586
- package/dist/cascader/constants.js +0 -20
- package/dist/cascader/foundation.d.ts +0 -304
- package/dist/cascader/foundation.js +0 -906
- package/dist/cascader/util.js +0 -148
- package/dist/checkbox/checkbox-foundation.d.ts +0 -93
- package/dist/checkbox/checkbox-foundation.js +0 -63
- package/dist/checkbox/checkbox-group-foundation.d.ts +0 -20
- package/dist/checkbox/checkbox-group-foundation.js +0 -28
- package/dist/checkbox/constants.js +0 -15
- package/dist/checkbox/variables.scss +0 -72
- package/dist/code-highlight/constants.js +0 -4
- package/dist/code-highlight/highlighter.js +0 -56
- package/dist/code-highlight/index.d.ts +0 -24
- package/dist/code-highlight/index.js +0 -19
- package/dist/code-highlight/registry.js +0 -33
- package/dist/collapse/collapse.scss +0 -112
- package/dist/collapse/constants.js +0 -4
- package/dist/collapse/foundation.d.ts +0 -47
- package/dist/collapse/foundation.js +0 -44
- package/dist/collapsible/constants.js +0 -4
- package/dist/collapsible/foundation.d.ts +0 -68
- package/dist/collapsible/foundation.js +0 -123
- package/dist/color-picker/alpha-slider-foundation.d.ts +0 -27
- package/dist/color-picker/alpha-slider-foundation.js +0 -41
- package/dist/color-picker/color-choose-area-foundation.d.ts +0 -33
- package/dist/color-picker/color-choose-area-foundation.js +0 -57
- package/dist/color-picker/color-picker.scss +0 -129
- package/dist/color-picker/color-slider-foundation.d.ts +0 -27
- package/dist/color-picker/color-slider-foundation.js +0 -41
- package/dist/color-picker/constants.js +0 -4
- package/dist/color-picker/data-part-foundation.d.ts +0 -28
- package/dist/color-picker/data-part-foundation.js +0 -76
- package/dist/color-picker/foundation.d.ts +0 -56
- package/dist/color-picker/foundation.js +0 -149
- package/dist/color-picker/utils/convert.d.ts +0 -16
- package/dist/color-picker/utils/convert.js +0 -150
- package/dist/color-picker/utils/round.js +0 -5
- package/dist/color-picker/utils/split.js +0 -26
- package/dist/config-provider/breakpoint-observer.js +0 -139
- package/dist/config-provider/inherit-config.d.ts +0 -24
- package/dist/config-provider/inherit-config.js +0 -24
- package/dist/cropper/constants.js +0 -37
- package/dist/cropper/cropper.scss +0 -129
- package/dist/cropper/foundation.d.ts +0 -90
- package/dist/cropper/foundation.js +0 -806
- package/dist/cropper/utils.js +0 -23
- package/dist/date-picker/_utils/formatter.js +0 -21
- package/dist/date-picker/_utils/get-day-of-week.js +0 -14
- package/dist/date-picker/_utils/get-default-format-token.js +0 -18
- package/dist/date-picker/_utils/get-default-picker-date.js +0 -35
- package/dist/date-picker/_utils/get-full-date-offset.js +0 -11
- package/dist/date-picker/_utils/get-inset-input-format-token.js +0 -33
- package/dist/date-picker/_utils/get-inset-input-value-from-inset-input-str.js +0 -57
- package/dist/date-picker/_utils/get-month-table.js +0 -33
- package/dist/date-picker/_utils/get-year-and-month.js +0 -18
- package/dist/date-picker/_utils/get-year-month-from-value.js +0 -18
- package/dist/date-picker/_utils/get-years.js +0 -9
- package/dist/date-picker/_utils/index.d.ts +0 -11
- package/dist/date-picker/_utils/index.js +0 -11
- package/dist/date-picker/_utils/is-after.js +0 -7
- package/dist/date-picker/_utils/is-before.js +0 -7
- package/dist/date-picker/_utils/is-between.js +0 -11
- package/dist/date-picker/_utils/is-same-day.js +0 -7
- package/dist/date-picker/_utils/is-timestamp.js +0 -6
- package/dist/date-picker/_utils/is-valid-date.js +0 -5
- package/dist/date-picker/_utils/parser.js +0 -17
- package/dist/date-picker/_utils/picker-type.js +0 -28
- package/dist/date-picker/_utils/to-callback-args.js +0 -46
- package/dist/date-picker/_utils/to-date-arg.js +0 -13
- package/dist/date-picker/constants.js +0 -78
- package/dist/date-picker/date-picker.scss +0 -1762
- package/dist/date-picker/foundation.d.ts +0 -317
- package/dist/date-picker/foundation.js +0 -709
- package/dist/date-picker/input-foundation.d.ts +0 -138
- package/dist/date-picker/input-foundation.js +0 -212
- package/dist/date-picker/month-foundation.d.ts +0 -154
- package/dist/date-picker/month-foundation.js +0 -186
- package/dist/date-picker/months-grid-foundation.d.ts +0 -171
- package/dist/date-picker/months-grid-foundation.js +0 -547
- package/dist/date-picker/year-and-month-foundation.d.ts +0 -75
- package/dist/date-picker/year-and-month-foundation.js +0 -115
- package/dist/descriptions/constants.js +0 -4
- package/dist/descriptions/foundation.d.ts +0 -12
- package/dist/descriptions/foundation.js +0 -36
- package/dist/divider/constants.js +0 -4
- package/dist/drag-move/foundation.d.ts +0 -30
- package/dist/drag-move/foundation.js +0 -180
- package/dist/dropdown/constants.js +0 -12
- package/dist/dropdown/foundation.d.ts +0 -38
- package/dist/dropdown/foundation.js +0 -124
- package/dist/dropdown/menu-foundation.d.ts +0 -35
- package/dist/dropdown/menu-foundation.js +0 -82
- package/dist/empty/constants.js +0 -5
- package/dist/feedback/constants.js +0 -19
- package/dist/feedback/feedback.scss +0 -153
- package/dist/feedback/foundation.d.ts +0 -42
- package/dist/feedback/foundation.js +0 -72
- package/dist/float-button/constants.js +0 -13
- package/dist/float-button/float-button.scss +0 -201
- package/dist/form/constants.d.ts +0 -7
- package/dist/form/constants.js +0 -8
- package/dist/form/field-store.js +0 -28
- package/dist/form/form-api-proxy.d.ts +0 -14
- package/dist/form/form-api-proxy.js +0 -48
- package/dist/form/form.css +0 -229
- package/dist/form/form.scss +0 -295
- package/dist/form/foundation.d.ts +0 -65
- package/dist/form/foundation.js +0 -820
- package/dist/form/interface.d.ts +0 -158
- package/dist/form/rtl.scss +0 -13
- package/dist/form/utils.d.ts +0 -81
- package/dist/form/utils.js +0 -108
- package/dist/form/variables.scss +0 -50
- package/dist/grid/constants.js +0 -12
- package/dist/grid/gutter.js +0 -39
- package/dist/grid/utils.js +0 -39
- package/dist/highlight/constants.js +0 -4
- package/dist/highlight/foundation.js +0 -108
- package/dist/hot-keys/constants.js +0 -207
- package/dist/hot-keys/foundation.d.ts +0 -18
- package/dist/hot-keys/foundation.js +0 -92
- package/dist/image/constants.js +0 -5
- package/dist/image/image-foundation.d.ts +0 -28
- package/dist/image/image-foundation.js +0 -40
- package/dist/image/image.scss +0 -272
- package/dist/image/preview-footer-foundation.d.ts +0 -25
- package/dist/image/preview-footer-foundation.js +0 -30
- package/dist/image/preview-foundation.d.ts +0 -48
- package/dist/image/preview-foundation.js +0 -71
- package/dist/image/preview-image-foundation.d.ts +0 -67
- package/dist/image/preview-image-foundation.js +0 -226
- package/dist/image/preview-inner-foundation.d.ts +0 -86
- package/dist/image/preview-inner-foundation.js +0 -238
- package/dist/image/utils.js +0 -66
- package/dist/input/constants.d.ts +0 -9
- package/dist/input/constants.js +0 -14
- package/dist/input/foundation.d.ts +0 -50
- package/dist/input/foundation.js +0 -77
- package/dist/input/input.css +0 -616
- package/dist/input/input.scss +0 -738
- package/dist/input/text-entry-foundation.d.ts +0 -53
- package/dist/input/text-entry-foundation.js +0 -92
- package/dist/input/textarea-foundation.d.ts +0 -60
- package/dist/input/textarea-foundation.js +0 -130
- package/dist/input/textarea.css +0 -257
- package/dist/input/textarea.scss +0 -313
- package/dist/input/util/line-number.js +0 -42
- package/dist/input/util/truncate-value.js +0 -14
- package/dist/input/variables.scss +0 -107
- package/dist/input-number/caret.js +0 -20
- package/dist/input-number/constants.d.ts +0 -15
- package/dist/input-number/constants.js +0 -13
- package/dist/input-number/foundation.d.ts +0 -107
- package/dist/input-number/foundation.js +0 -553
- package/dist/json-viewer/constants.js +0 -4
- package/dist/json-viewer/foundation.d.ts +0 -40
- package/dist/json-viewer/foundation.js +0 -123
- package/dist/json-viewer/json-viewer.scss +0 -224
- package/dist/layout/constants.js +0 -4
- package/dist/list/constants.js +0 -4
- package/dist/list/list.scss +0 -162
- package/dist/lottie/constants.js +0 -4
- package/dist/lottie/foundation.d.ts +0 -24
- package/dist/lottie/foundation.js +0 -62
- package/dist/markdown-render/constants.js +0 -4
- package/dist/markdown-render/foundation.d.ts +0 -45
- package/dist/markdown-render/foundation.js +0 -97
- package/dist/modal/confirm.js +0 -34
- package/dist/modal/constants.js +0 -4
- package/dist/modal/modal-content-foundation.d.ts +0 -40
- package/dist/modal/modal-content-foundation.js +0 -48
- package/dist/modal/modal-foundation.d.ts +0 -85
- package/dist/modal/modal-foundation.js +0 -74
- package/dist/navigation/constants.js +0 -20
- package/dist/navigation/foundation.d.ts +0 -68
- package/dist/navigation/foundation.js +0 -152
- package/dist/navigation/item-foundation.d.ts +0 -44
- package/dist/navigation/item-foundation.js +0 -42
- package/dist/navigation/navigation.scss +0 -764
- package/dist/navigation/sub-nav-foundation.d.ts +0 -30
- package/dist/navigation/sub-nav-foundation.js +0 -54
- package/dist/navigation/variables.scss +0 -120
- package/dist/notification/constants.js +0 -32
- package/dist/notification/notification-foundation.d.ts +0 -33
- package/dist/notification/notification-foundation.js +0 -5
- package/dist/notification/notification-list-foundation.d.ts +0 -55
- package/dist/notification/notification-list-foundation.js +0 -48
- package/dist/overflow-list/constants.d.ts +0 -17
- package/dist/overflow-list/constants.js +0 -16
- package/dist/overflow-list/foundation.d.ts +0 -76
- package/dist/overflow-list/foundation.js +0 -188
- package/dist/pagination/constants.js +0 -14
- package/dist/pagination/foundation.d.ts +0 -59
- package/dist/pagination/foundation.js +0 -175
- package/dist/pagination/pagination.scss +0 -189
- package/dist/pincode/constants.js +0 -4
- package/dist/pincode/foundation.d.ts +0 -36
- package/dist/pincode/foundation.js +0 -83
- package/dist/popconfirm/constants.d.ts +0 -7
- package/dist/popconfirm/constants.js +0 -8
- package/dist/popconfirm/popconfirm-foundation.d.ts +0 -36
- package/dist/popconfirm/popconfirm-foundation.js +0 -57
- package/dist/popover/constants.js +0 -47
- package/dist/progress/constants.js +0 -8
- package/dist/progress/generates.js +0 -24
- package/dist/progress/utils.js +0 -45
- package/dist/radio/constants.js +0 -19
- package/dist/radio/radio-foundation.d.ts +0 -74
- package/dist/radio/radio-foundation.js +0 -93
- package/dist/radio/radio-group-foundation.d.ts +0 -17
- package/dist/radio/radio-group-foundation.js +0 -27
- package/dist/radio/variables.scss +0 -107
- package/dist/rating/constants.js +0 -5
- package/dist/rating/foundation.d.ts +0 -104
- package/dist/rating/foundation.js +0 -164
- package/dist/rating/variables.scss +0 -19
- package/dist/resizable/constants.js +0 -4
- package/dist/resizable/foundation.d.ts +0 -3
- package/dist/resizable/group/index.d.ts +0 -51
- package/dist/resizable/group/index.js +0 -309
- package/dist/resizable/resizable.scss +0 -146
- package/dist/resizable/single/index.d.ts +0 -86
- package/dist/resizable/single/index.js +0 -426
- package/dist/resizable/types.js +0 -18
- package/dist/resizable/utils.js +0 -53
- package/dist/scroll-list/constants.js +0 -11
- package/dist/scroll-list/item-foundation.d.ts +0 -54
- package/dist/scroll-list/item-foundation.js +0 -335
- package/dist/scroll-list/scroll-list.scss +0 -198
- package/dist/scroll-list/scroll-to.js +0 -15
- package/dist/select/combobox-name.js +0 -21
- package/dist/select/constants.js +0 -22
- package/dist/select/foundation.d.ts +0 -125
- package/dist/select/foundation.js +0 -710
- package/dist/select/option-foundation.js +0 -35
- package/dist/select/select.scss +0 -554
- package/dist/side-sheet/constants.js +0 -5
- package/dist/side-sheet/side-sheet-foundation.d.ts +0 -64
- package/dist/side-sheet/side-sheet-foundation.js +0 -50
- package/dist/skeleton/constants.js +0 -4
- package/dist/slider/constants.js +0 -12
- package/dist/slider/foundation.d.ts +0 -156
- package/dist/slider/foundation.js +0 -429
- package/dist/slider/variables.scss +0 -63
- package/dist/sortable/accessibility.d.ts +0 -14
- package/dist/sortable/accessibility.js +0 -45
- package/dist/space/constants.js +0 -9
- package/dist/spin/constants.js +0 -3
- package/dist/spin/foundation.d.ts +0 -18
- package/dist/spin/foundation.js +0 -42
- package/dist/spin/spin.scss +0 -111
- package/dist/steps/constants.js +0 -8
- package/dist/steps/steps.scss +0 -17
- package/dist/steps/utils.js +0 -15
- package/dist/switch/constants.js +0 -16
- package/dist/switch/foundation.d.ts +0 -23
- package/dist/switch/foundation.js +0 -19
- package/dist/switch/variables.scss +0 -71
- package/dist/table/constants.d.ts +0 -62
- package/dist/table/constants.js +0 -97
- package/dist/table/foundation.d.ts +0 -345
- package/dist/table/foundation.js +0 -906
- package/dist/table/table.css +0 -636
- package/dist/table/table.scss +0 -788
- package/dist/table/utils.d.ts +0 -179
- package/dist/table/utils.js +0 -469
- package/dist/table/variables.scss +0 -81
- package/dist/tabs/constants.d.ts +0 -28
- package/dist/tabs/constants.js +0 -37
- package/dist/tabs/foundation.d.ts +0 -82
- package/dist/tabs/foundation.js +0 -185
- package/dist/tabs/tabs.scss +0 -933
- package/dist/tabs/variables.scss +0 -155
- package/dist/tag/constants.js +0 -35
- package/dist/tag/focus.js +0 -22
- package/dist/tag/mixin.scss +0 -18
- package/dist/tag/tag-key.js +0 -18
- package/dist/tag/tag.css +0 -537
- package/dist/tag/variables.scss +0 -85
- package/dist/tag-input/constants.js +0 -9
- package/dist/tag-input/foundation.d.ts +0 -89
- package/dist/tag-input/foundation.js +0 -221
- package/dist/tag-input/tag-input.scss +0 -357
- package/dist/tag-input/utils/get-splited-array.js +0 -16
- package/dist/tag-input/utils/tag-focus.js +0 -14
- package/dist/time-picker/combox-foundation.d.ts +0 -71
- package/dist/time-picker/combox-foundation.js +0 -96
- package/dist/time-picker/constants.js +0 -23
- package/dist/time-picker/foundation.d.ts +0 -98
- package/dist/time-picker/foundation.js +0 -245
- package/dist/time-picker/input-foundation.d.ts +0 -15
- package/dist/time-picker/input-foundation.js +0 -33
- package/dist/time-picker/utils/index.js +0 -57
- package/dist/timeline/constants.js +0 -7
- package/dist/timeline/timeline.scss +0 -190
- package/dist/timeline/utils.js +0 -10
- package/dist/toast/constants.js +0 -34
- package/dist/toast/toast-foundation.d.ts +0 -37
- package/dist/toast/toast-foundation.js +0 -5
- package/dist/toast/toast-list-foundation.d.ts +0 -25
- package/dist/toast/toast-list-foundation.js +0 -54
- package/dist/tooltip/adjust-position.js +0 -202
- package/dist/tooltip/constants.d.ts +0 -47
- package/dist/tooltip/constants.js +0 -93
- package/dist/tooltip/foundation.d.ts +0 -102
- package/dist/tooltip/foundation.js +0 -654
- package/dist/tooltip/tooltip.scss +0 -72
- package/dist/transfer/constants.js +0 -10
- package/dist/transfer/foundation.d.ts +0 -121
- package/dist/transfer/foundation.js +0 -193
- package/dist/transfer/transfer-utils.js +0 -45
- package/dist/transfer/transfer.scss +0 -260
- package/dist/tree/constants.js +0 -8
- package/dist/tree/foundation.d.ts +0 -294
- package/dist/tree/foundation.js +0 -538
- package/dist/tree/shared.d.ts +0 -126
- package/dist/tree/shared.js +0 -306
- package/dist/tree/tree-util.d.ts +0 -100
- package/dist/tree/tree-util.js +0 -450
- package/dist/tree/tree.scss +0 -439
- package/dist/tree-select/constants.js +0 -19
- package/dist/tree-select/foundation.d.ts +0 -180
- package/dist/tree-select/foundation.js +0 -615
- package/dist/tree-select/tree-select.scss +0 -467
- package/dist/typography/constants.js +0 -50
- package/dist/typography/ellipsis.js +0 -154
- package/dist/typography/format-numeral.js +0 -99
- package/dist/typography/typography.scss +0 -383
- package/dist/upload/constants.d.ts +0 -24
- package/dist/upload/constants.js +0 -39
- package/dist/upload/foundation.d.ts +0 -181
- package/dist/upload/foundation.js +0 -752
- package/dist/upload/upload.scss +0 -640
- package/dist/upload/utils.d.ts +0 -20
- package/dist/upload/utils.js +0 -93
- package/dist/user-guide/constants.js +0 -12
- package/dist/user-guide/foundation.d.ts +0 -45
- package/dist/user-guide/foundation.js +0 -73
- package/dist/utils/focus-handle.d.ts +0 -43
- package/dist/utils/focus-handle.js +0 -91
- package/dist/utils/focus-scope.js +0 -77
- package/dist/utils/release-holder.js +0 -18
- package/dist/video-player/constants.js +0 -48
- package/dist/video-player/foundation.d.ts +0 -94
- package/dist/video-player/foundation.js +0 -287
- package/dist/video-player/progress-foundation.d.ts +0 -79
- package/dist/video-player/progress-foundation.js +0 -116
- package/dist/video-player/utils.js +0 -50
- package/dist/video-player/video-player.scss +0 -344
- /package/dist/{utils → base}/focus-scope.d.ts +0 -0
- /package/dist/{utils → base}/release-holder.d.ts +0 -0
- /package/dist/{anchor → components/anchor}/anchor.css +0 -0
- /package/dist/{anchor → components/anchor}/anchor.scss +0 -0
- /package/dist/{anchor → components/anchor}/animation.scss +0 -0
- /package/dist/{anchor → components/anchor}/rtl.scss +0 -0
- /package/dist/{anchor → components/anchor}/utils.d.ts +0 -0
- /package/dist/{audio-player → components/audio-player}/constants.d.ts +0 -0
- /package/dist/{audio-player → components/audio-player}/utils.d.ts +0 -0
- /package/dist/{auto-complete → components/auto-complete}/animation.scss +0 -0
- /package/dist/{auto-complete → components/auto-complete}/auto-complete.css +0 -0
- /package/dist/{auto-complete → components/auto-complete}/auto-complete.scss +0 -0
- /package/dist/{auto-complete → components/auto-complete}/constants.d.ts +0 -0
- /package/dist/{auto-complete → components/auto-complete}/option.scss +0 -0
- /package/dist/{auto-complete → components/auto-complete}/rtl.scss +0 -0
- /package/dist/{auto-complete → components/auto-complete}/variables.scss +0 -0
- /package/dist/{avatar → components/avatar}/animation.scss +0 -0
- /package/dist/{avatar → components/avatar}/avatar.css +0 -0
- /package/dist/{avatar → components/avatar}/avatar.scss +0 -0
- /package/dist/{avatar → components/avatar}/constants.d.ts +0 -0
- /package/dist/{avatar → components/avatar}/mixin.scss +0 -0
- /package/dist/{avatar → components/avatar}/rtl.scss +0 -0
- /package/dist/{backtop → components/backtop}/backtop.css +0 -0
- /package/dist/{backtop → components/backtop}/backtop.scss +0 -0
- /package/dist/{backtop → components/backtop}/constants.d.ts +0 -0
- /package/dist/{backtop → components/backtop}/rtl.scss +0 -0
- /package/dist/{backtop → components/backtop}/variables.scss +0 -0
- /package/dist/{badge → components/badge}/badge.css +0 -0
- /package/dist/{badge → components/badge}/badge.scss +0 -0
- /package/dist/{badge → components/badge}/constants.d.ts +0 -0
- /package/dist/{badge → components/badge}/rtl.scss +0 -0
- /package/dist/{badge → components/badge}/variables.scss +0 -0
- /package/dist/{banner → components/banner}/banner.css +0 -0
- /package/dist/{banner → components/banner}/banner.scss +0 -0
- /package/dist/{banner → components/banner}/constants.d.ts +0 -0
- /package/dist/{banner → components/banner}/rtl.scss +0 -0
- /package/dist/{banner → components/banner}/variables.scss +0 -0
- /package/dist/{breadcrumb → components/breadcrumb}/animation.scss +0 -0
- /package/dist/{breadcrumb → components/breadcrumb}/breadcrumb.css +0 -0
- /package/dist/{breadcrumb → components/breadcrumb}/constants.d.ts +0 -0
- /package/dist/{breadcrumb → components/breadcrumb}/rtl.scss +0 -0
- /package/dist/{breadcrumb → components/breadcrumb}/variables.scss +0 -0
- /package/dist/{button → components/button}/animation.scss +0 -0
- /package/dist/{button → components/button}/button.css +0 -0
- /package/dist/{button → components/button}/button.scss +0 -0
- /package/dist/{button → components/button}/constants.d.ts +0 -0
- /package/dist/{button → components/button}/icon-button.css +0 -0
- /package/dist/{button → components/button}/icon-button.scss +0 -0
- /package/dist/{button → components/button}/rtl.scss +0 -0
- /package/dist/{button → components/button}/split-button-group.scss +0 -0
- /package/dist/{calendar → components/calendar}/constants.d.ts +0 -0
- /package/dist/{calendar → components/calendar}/event-util.d.ts +0 -0
- /package/dist/{calendar → components/calendar}/rtl.scss +0 -0
- /package/dist/{calendar → components/calendar}/variables.scss +0 -0
- /package/dist/{card → components/card}/card.css +0 -0
- /package/dist/{card → components/card}/card.scss +0 -0
- /package/dist/{card → components/card}/constants.d.ts +0 -0
- /package/dist/{card → components/card}/rtl.scss +0 -0
- /package/dist/{card → components/card}/variables.scss +0 -0
- /package/dist/{carousel → components/carousel}/animation.scss +0 -0
- /package/dist/{carousel → components/carousel}/constants.d.ts +0 -0
- /package/dist/{carousel → components/carousel}/rtl.scss +0 -0
- /package/dist/{cascader → components/cascader}/animation.scss +0 -0
- /package/dist/{cascader → components/cascader}/cascader.css +0 -0
- /package/dist/{cascader → components/cascader}/constants.d.ts +0 -0
- /package/dist/{cascader → components/cascader}/rtl.scss +0 -0
- /package/dist/{cascader → components/cascader}/util.d.ts +0 -0
- /package/dist/{cascader → components/cascader}/variables.scss +0 -0
- /package/dist/{checkbox → components/checkbox}/animation.scss +0 -0
- /package/dist/{checkbox → components/checkbox}/checkbox.css +0 -0
- /package/dist/{checkbox → components/checkbox}/checkbox.scss +0 -0
- /package/dist/{checkbox → components/checkbox}/constants.d.ts +0 -0
- /package/dist/{checkbox → components/checkbox}/mixin.scss +0 -0
- /package/dist/{checkbox → components/checkbox}/rtl.scss +0 -0
- /package/dist/{code-highlight → components/code-highlight}/code-highlight.css +0 -0
- /package/dist/{code-highlight → components/code-highlight}/code-highlight.scss +0 -0
- /package/dist/{code-highlight → components/code-highlight}/constants.d.ts +0 -0
- /package/dist/{code-highlight → components/code-highlight}/highlighter.d.ts +0 -0
- /package/dist/{code-highlight → components/code-highlight}/registry.d.ts +0 -0
- /package/dist/{code-highlight → components/code-highlight}/variables.scss +0 -0
- /package/dist/{collapse → components/collapse}/collapse.css +0 -0
- /package/dist/{collapse → components/collapse}/constants.d.ts +0 -0
- /package/dist/{collapse → components/collapse}/rtl.scss +0 -0
- /package/dist/{collapse → components/collapse}/variables.scss +0 -0
- /package/dist/{collapsible → components/collapsible}/animation.scss +0 -0
- /package/dist/{collapsible → components/collapsible}/collapsible.css +0 -0
- /package/dist/{collapsible → components/collapsible}/collapsible.scss +0 -0
- /package/dist/{collapsible → components/collapsible}/constants.d.ts +0 -0
- /package/dist/{collapsible → components/collapsible}/variables.scss +0 -0
- /package/dist/{color-picker → components/color-picker}/color-picker.css +0 -0
- /package/dist/{color-picker → components/color-picker}/constants.d.ts +0 -0
- /package/dist/{color-picker → components/color-picker}/interface.d.ts +0 -0
- /package/dist/{color-picker → components/color-picker}/interface.js +0 -0
- /package/dist/{color-picker → components/color-picker}/utils/round.d.ts +0 -0
- /package/dist/{color-picker → components/color-picker}/utils/split.d.ts +0 -0
- /package/dist/{color-picker → components/color-picker}/variables.scss +0 -0
- /package/dist/{config-provider → components/config-provider}/breakpoint-observer.d.ts +0 -0
- /package/dist/{config-provider → components/config-provider}/responsive-types.d.ts +0 -0
- /package/dist/{config-provider → components/config-provider}/responsive-types.js +0 -0
- /package/dist/{cropper → components/cropper}/constants.d.ts +0 -0
- /package/dist/{cropper → components/cropper}/cropper.css +0 -0
- /package/dist/{cropper → components/cropper}/utils.d.ts +0 -0
- /package/dist/{cropper → components/cropper}/variables.scss +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/formatter.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-day-of-week.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-default-format-token.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-default-picker-date.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-full-date-offset.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-inset-input-format-token.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-inset-input-value-from-inset-input-str.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-month-table.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-year-and-month.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-year-month-from-value.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/get-years.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/is-after.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/is-before.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/is-between.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/is-same-day.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/is-timestamp.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/is-valid-date.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/parser.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/picker-type.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/to-callback-args.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/_utils/to-date-arg.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/animation.scss +0 -0
- /package/dist/{date-picker → components/date-picker}/constants.d.ts +0 -0
- /package/dist/{date-picker → components/date-picker}/date-picker.css +0 -0
- /package/dist/{date-picker → components/date-picker}/rtl.scss +0 -0
- /package/dist/{date-picker → components/date-picker}/variables.scss +0 -0
- /package/dist/{descriptions → components/descriptions}/constants.d.ts +0 -0
- /package/dist/{descriptions → components/descriptions}/descriptions.css +0 -0
- /package/dist/{descriptions → components/descriptions}/descriptions.scss +0 -0
- /package/dist/{descriptions → components/descriptions}/rtl.scss +0 -0
- /package/dist/{descriptions → components/descriptions}/variables.scss +0 -0
- /package/dist/{divider → components/divider}/constants.d.ts +0 -0
- /package/dist/{divider → components/divider}/divider.css +0 -0
- /package/dist/{divider → components/divider}/divider.scss +0 -0
- /package/dist/{divider → components/divider}/variables.scss +0 -0
- /package/dist/{dropdown → components/dropdown}/animation.scss +0 -0
- /package/dist/{dropdown → components/dropdown}/constants.d.ts +0 -0
- /package/dist/{dropdown → components/dropdown}/dropdown.css +0 -0
- /package/dist/{dropdown → components/dropdown}/dropdown.scss +0 -0
- /package/dist/{dropdown → components/dropdown}/rtl.scss +0 -0
- /package/dist/{dropdown → components/dropdown}/variables.scss +0 -0
- /package/dist/{empty → components/empty}/constants.d.ts +0 -0
- /package/dist/{empty → components/empty}/empty.css +0 -0
- /package/dist/{empty → components/empty}/empty.scss +0 -0
- /package/dist/{empty → components/empty}/rtl.scss +0 -0
- /package/dist/{empty → components/empty}/variables.scss +0 -0
- /package/dist/{feedback → components/feedback}/constants.d.ts +0 -0
- /package/dist/{feedback → components/feedback}/feedback.css +0 -0
- /package/dist/{feedback → components/feedback}/variables.scss +0 -0
- /package/dist/{float-button → components/float-button}/constants.d.ts +0 -0
- /package/dist/{float-button → components/float-button}/float-button.css +0 -0
- /package/dist/{float-button → components/float-button}/rtl.scss +0 -0
- /package/dist/{float-button → components/float-button}/variables.scss +0 -0
- /package/dist/{form → components/form}/field-store.d.ts +0 -0
- /package/dist/{form → components/form}/interface.js +0 -0
- /package/dist/{grid → components/grid}/constants.d.ts +0 -0
- /package/dist/{grid → components/grid}/grid.css +0 -0
- /package/dist/{grid → components/grid}/grid.scss +0 -0
- /package/dist/{grid → components/grid}/gutter.d.ts +0 -0
- /package/dist/{grid → components/grid}/mixin.scss +0 -0
- /package/dist/{grid → components/grid}/rtl.scss +0 -0
- /package/dist/{grid → components/grid}/utils.d.ts +0 -0
- /package/dist/{grid → components/grid}/variables.scss +0 -0
- /package/dist/{highlight → components/highlight}/constants.d.ts +0 -0
- /package/dist/{highlight → components/highlight}/foundation.d.ts +0 -0
- /package/dist/{highlight → components/highlight}/highlight.css +0 -0
- /package/dist/{highlight → components/highlight}/highlight.scss +0 -0
- /package/dist/{highlight → components/highlight}/variables.scss +0 -0
- /package/dist/{hot-keys → components/hot-keys}/constants.d.ts +0 -0
- /package/dist/{hot-keys → components/hot-keys}/hot-keys.css +0 -0
- /package/dist/{hot-keys → components/hot-keys}/hot-keys.scss +0 -0
- /package/dist/{hot-keys → components/hot-keys}/variables.scss +0 -0
- /package/dist/{image → components/image}/animation.scss +0 -0
- /package/dist/{image → components/image}/constants.d.ts +0 -0
- /package/dist/{image → components/image}/image.css +0 -0
- /package/dist/{image → components/image}/rtl.scss +0 -0
- /package/dist/{image → components/image}/utils.d.ts +0 -0
- /package/dist/{image → components/image}/variables.scss +0 -0
- /package/dist/{input → components/input}/animation.scss +0 -0
- /package/dist/{input → components/input}/rtl.scss +0 -0
- /package/dist/{input → components/input}/util/line-number.d.ts +0 -0
- /package/dist/{input → components/input}/util/truncate-value.d.ts +0 -0
- /package/dist/{input-number → components/input-number}/animation.scss +0 -0
- /package/dist/{input-number → components/input-number}/caret.d.ts +0 -0
- /package/dist/{input-number → components/input-number}/input-number.css +0 -0
- /package/dist/{input-number → components/input-number}/input-number.scss +0 -0
- /package/dist/{input-number → components/input-number}/rtl.scss +0 -0
- /package/dist/{input-number → components/input-number}/variables.scss +0 -0
- /package/dist/{json-viewer → components/json-viewer}/constants.d.ts +0 -0
- /package/dist/{json-viewer → components/json-viewer}/json-viewer.css +0 -0
- /package/dist/{json-viewer → components/json-viewer}/variables.scss +0 -0
- /package/dist/{layout → components/layout}/constants.d.ts +0 -0
- /package/dist/{layout → components/layout}/layout.css +0 -0
- /package/dist/{layout → components/layout}/layout.scss +0 -0
- /package/dist/{layout → components/layout}/rtl.scss +0 -0
- /package/dist/{list → components/list}/constants.d.ts +0 -0
- /package/dist/{list → components/list}/list.css +0 -0
- /package/dist/{list → components/list}/rtl.scss +0 -0
- /package/dist/{list → components/list}/variables.scss +0 -0
- /package/dist/{lottie → components/lottie}/constants.d.ts +0 -0
- /package/dist/{markdown-render → components/markdown-render}/constants.d.ts +0 -0
- /package/dist/{markdown-render → components/markdown-render}/markdown-render.css +0 -0
- /package/dist/{markdown-render → components/markdown-render}/markdown-render.scss +0 -0
- /package/dist/{markdown-render → components/markdown-render}/variables.scss +0 -0
- /package/dist/{modal → components/modal}/animation.scss +0 -0
- /package/dist/{modal → components/modal}/confirm.d.ts +0 -0
- /package/dist/{modal → components/modal}/constants.d.ts +0 -0
- /package/dist/{modal → components/modal}/modal.css +0 -0
- /package/dist/{modal → components/modal}/modal.scss +0 -0
- /package/dist/{modal → components/modal}/rtl.scss +0 -0
- /package/dist/{modal → components/modal}/variables.scss +0 -0
- /package/dist/{navigation → components/navigation}/animation.scss +0 -0
- /package/dist/{navigation → components/navigation}/constants.d.ts +0 -0
- /package/dist/{navigation → components/navigation}/mixin.scss +0 -0
- /package/dist/{navigation → components/navigation}/navigation.css +0 -0
- /package/dist/{navigation → components/navigation}/rtl.scss +0 -0
- /package/dist/{notification → components/notification}/animation.scss +0 -0
- /package/dist/{notification → components/notification}/constants.d.ts +0 -0
- /package/dist/{notification → components/notification}/notification.css +0 -0
- /package/dist/{notification → components/notification}/notification.scss +0 -0
- /package/dist/{notification → components/notification}/rtl.scss +0 -0
- /package/dist/{notification → components/notification}/variables.scss +0 -0
- /package/dist/{overflow-list → components/overflow-list}/overflow-list.css +0 -0
- /package/dist/{overflow-list → components/overflow-list}/overflow-list.scss +0 -0
- /package/dist/{overflow-list → components/overflow-list}/rtl.scss +0 -0
- /package/dist/{pagination → components/pagination}/animation.scss +0 -0
- /package/dist/{pagination → components/pagination}/constants.d.ts +0 -0
- /package/dist/{pagination → components/pagination}/pagination.css +0 -0
- /package/dist/{pagination → components/pagination}/rtl.scss +0 -0
- /package/dist/{pagination → components/pagination}/variables.scss +0 -0
- /package/dist/{pincode → components/pincode}/constants.d.ts +0 -0
- /package/dist/{pincode → components/pincode}/pincode.css +0 -0
- /package/dist/{pincode → components/pincode}/pincode.scss +0 -0
- /package/dist/{pincode → components/pincode}/variables.scss +0 -0
- /package/dist/{popconfirm → components/popconfirm}/popconfirm.css +0 -0
- /package/dist/{popconfirm → components/popconfirm}/popconfirm.scss +0 -0
- /package/dist/{popconfirm → components/popconfirm}/rtl.scss +0 -0
- /package/dist/{popconfirm → components/popconfirm}/variables.scss +0 -0
- /package/dist/{popover → components/popover}/animation.scss +0 -0
- /package/dist/{popover → components/popover}/constants.d.ts +0 -0
- /package/dist/{popover → components/popover}/popover.css +0 -0
- /package/dist/{popover → components/popover}/popover.scss +0 -0
- /package/dist/{popover → components/popover}/rtl.scss +0 -0
- /package/dist/{popover → components/popover}/variables.scss +0 -0
- /package/dist/{_portal → components/portal}/portal.css +0 -0
- /package/dist/{_portal → components/portal}/portal.scss +0 -0
- /package/dist/{progress → components/progress}/constants.d.ts +0 -0
- /package/dist/{progress → components/progress}/generates.d.ts +0 -0
- /package/dist/{progress → components/progress}/progress.css +0 -0
- /package/dist/{progress → components/progress}/progress.scss +0 -0
- /package/dist/{progress → components/progress}/rtl.scss +0 -0
- /package/dist/{progress → components/progress}/utils.d.ts +0 -0
- /package/dist/{progress → components/progress}/variables.scss +0 -0
- /package/dist/{radio → components/radio}/animation.scss +0 -0
- /package/dist/{radio → components/radio}/constants.d.ts +0 -0
- /package/dist/{radio → components/radio}/mixin.scss +0 -0
- /package/dist/{radio → components/radio}/radio.css +0 -0
- /package/dist/{radio → components/radio}/radio.scss +0 -0
- /package/dist/{radio → components/radio}/rtl.scss +0 -0
- /package/dist/{rating → components/rating}/animation.scss +0 -0
- /package/dist/{rating → components/rating}/constants.d.ts +0 -0
- /package/dist/{rating → components/rating}/rating.css +0 -0
- /package/dist/{rating → components/rating}/rating.scss +0 -0
- /package/dist/{rating → components/rating}/rtl.scss +0 -0
- /package/dist/{resizable → components/resizable}/constants.d.ts +0 -0
- /package/dist/{resizable → components/resizable}/foundation.js +0 -0
- /package/dist/{resizable → components/resizable}/resizable.css +0 -0
- /package/dist/{resizable → components/resizable}/types.d.ts +0 -0
- /package/dist/{resizable → components/resizable}/utils.d.ts +0 -0
- /package/dist/{resizable → components/resizable}/variables.scss +0 -0
- /package/dist/{scroll-list → components/scroll-list}/animation.scss +0 -0
- /package/dist/{scroll-list → components/scroll-list}/constants.d.ts +0 -0
- /package/dist/{scroll-list → components/scroll-list}/rtl.scss +0 -0
- /package/dist/{scroll-list → components/scroll-list}/scroll-list.css +0 -0
- /package/dist/{scroll-list → components/scroll-list}/scroll-to.d.ts +0 -0
- /package/dist/{scroll-list → components/scroll-list}/variables.scss +0 -0
- /package/dist/{select → components/select}/animation.scss +0 -0
- /package/dist/{select → components/select}/combobox-name.d.ts +0 -0
- /package/dist/{select → components/select}/constants.d.ts +0 -0
- /package/dist/{select → components/select}/mixin.scss +0 -0
- /package/dist/{select → components/select}/option-foundation.d.ts +0 -0
- /package/dist/{select → components/select}/option.scss +0 -0
- /package/dist/{select → components/select}/rtl.scss +0 -0
- /package/dist/{select → components/select}/select.css +0 -0
- /package/dist/{select → components/select}/variables.scss +0 -0
- /package/dist/{side-sheet → components/side-sheet}/animation.scss +0 -0
- /package/dist/{side-sheet → components/side-sheet}/constants.d.ts +0 -0
- /package/dist/{side-sheet → components/side-sheet}/rtl.scss +0 -0
- /package/dist/{side-sheet → components/side-sheet}/side-sheet.css +0 -0
- /package/dist/{side-sheet → components/side-sheet}/side-sheet.scss +0 -0
- /package/dist/{side-sheet → components/side-sheet}/variables.scss +0 -0
- /package/dist/{skeleton → components/skeleton}/animation.scss +0 -0
- /package/dist/{skeleton → components/skeleton}/constants.d.ts +0 -0
- /package/dist/{skeleton → components/skeleton}/rtl.scss +0 -0
- /package/dist/{skeleton → components/skeleton}/skeleton.css +0 -0
- /package/dist/{skeleton → components/skeleton}/skeleton.scss +0 -0
- /package/dist/{skeleton → components/skeleton}/variables.scss +0 -0
- /package/dist/{slider → components/slider}/animation.scss +0 -0
- /package/dist/{slider → components/slider}/constants.d.ts +0 -0
- /package/dist/{slider → components/slider}/rtl.scss +0 -0
- /package/dist/{slider → components/slider}/slider.css +0 -0
- /package/dist/{slider → components/slider}/slider.scss +0 -0
- /package/dist/{space → components/space}/constants.d.ts +0 -0
- /package/dist/{space → components/space}/rtl.scss +0 -0
- /package/dist/{space → components/space}/space.css +0 -0
- /package/dist/{space → components/space}/space.scss +0 -0
- /package/dist/{space → components/space}/variables.scss +0 -0
- /package/dist/{spin → components/spin}/animation.scss +0 -0
- /package/dist/{spin → components/spin}/constants.d.ts +0 -0
- /package/dist/{spin → components/spin}/mixin.scss +0 -0
- /package/dist/{spin → components/spin}/rtl.scss +0 -0
- /package/dist/{spin → components/spin}/spin.css +0 -0
- /package/dist/{spin → components/spin}/variables.scss +0 -0
- /package/dist/{steps → components/steps}/animation.scss +0 -0
- /package/dist/{steps → components/steps}/bacis-steps.scss +0 -0
- /package/dist/{steps → components/steps}/constants.d.ts +0 -0
- /package/dist/{steps → components/steps}/fill-steps.scss +0 -0
- /package/dist/{steps → components/steps}/mixin.scss +0 -0
- /package/dist/{steps → components/steps}/nav-steps.scss +0 -0
- /package/dist/{steps → components/steps}/rtl.scss +0 -0
- /package/dist/{steps → components/steps}/steps.css +0 -0
- /package/dist/{steps → components/steps}/utils.d.ts +0 -0
- /package/dist/{steps → components/steps}/variables.scss +0 -0
- /package/dist/{switch → components/switch}/animation.scss +0 -0
- /package/dist/{switch → components/switch}/constants.d.ts +0 -0
- /package/dist/{switch → components/switch}/rtl.scss +0 -0
- /package/dist/{switch → components/switch}/switch.css +0 -0
- /package/dist/{switch → components/switch}/switch.scss +0 -0
- /package/dist/{table → components/table}/animation.scss +0 -0
- /package/dist/{table → components/table}/mixin.scss +0 -0
- /package/dist/{table → components/table}/operation-panel.scss +0 -0
- /package/dist/{table → components/table}/rtl.scss +0 -0
- /package/dist/{tabs → components/tabs}/animation.scss +0 -0
- /package/dist/{tabs → components/tabs}/rtl.scss +0 -0
- /package/dist/{tabs → components/tabs}/tabs.css +0 -0
- /package/dist/{tag → components/tag}/constants.d.ts +0 -0
- /package/dist/{tag → components/tag}/focus.d.ts +0 -0
- /package/dist/{tag → components/tag}/rtl.scss +0 -0
- /package/dist/{tag → components/tag}/tag-key.d.ts +0 -0
- /package/dist/{tag → components/tag}/tag.scss +0 -0
- /package/dist/{tag-input → components/tag-input}/animation.scss +0 -0
- /package/dist/{tag-input → components/tag-input}/constants.d.ts +0 -0
- /package/dist/{tag-input → components/tag-input}/rtl.scss +0 -0
- /package/dist/{tag-input → components/tag-input}/tag-input.css +0 -0
- /package/dist/{tag-input → components/tag-input}/utils/get-splited-array.d.ts +0 -0
- /package/dist/{tag-input → components/tag-input}/utils/tag-focus.d.ts +0 -0
- /package/dist/{tag-input → components/tag-input}/variables.scss +0 -0
- /package/dist/{time-picker → components/time-picker}/constants.d.ts +0 -0
- /package/dist/{time-picker → components/time-picker}/rtl.scss +0 -0
- /package/dist/{time-picker → components/time-picker}/time-picker.css +0 -0
- /package/dist/{time-picker → components/time-picker}/time-picker.scss +0 -0
- /package/dist/{time-picker → components/time-picker}/utils/index.d.ts +0 -0
- /package/dist/{time-picker → components/time-picker}/variables.scss +0 -0
- /package/dist/{timeline → components/timeline}/constants.d.ts +0 -0
- /package/dist/{timeline → components/timeline}/rtl.scss +0 -0
- /package/dist/{timeline → components/timeline}/timeline.css +0 -0
- /package/dist/{timeline → components/timeline}/utils.d.ts +0 -0
- /package/dist/{timeline → components/timeline}/variables.scss +0 -0
- /package/dist/{toast → components/toast}/animation.scss +0 -0
- /package/dist/{toast → components/toast}/constants.d.ts +0 -0
- /package/dist/{toast → components/toast}/rtl.scss +0 -0
- /package/dist/{toast → components/toast}/toast.css +0 -0
- /package/dist/{toast → components/toast}/toast.scss +0 -0
- /package/dist/{toast → components/toast}/variables.scss +0 -0
- /package/dist/{tooltip → components/tooltip}/adjust-position.d.ts +0 -0
- /package/dist/{tooltip → components/tooltip}/animation.scss +0 -0
- /package/dist/{tooltip → components/tooltip}/arrow.scss +0 -0
- /package/dist/{tooltip → components/tooltip}/position.scss +0 -0
- /package/dist/{tooltip → components/tooltip}/rtl.scss +0 -0
- /package/dist/{tooltip → components/tooltip}/tooltip.css +0 -0
- /package/dist/{tooltip → components/tooltip}/variables.scss +0 -0
- /package/dist/{transfer → components/transfer}/animation.scss +0 -0
- /package/dist/{transfer → components/transfer}/constants.d.ts +0 -0
- /package/dist/{transfer → components/transfer}/rtl.scss +0 -0
- /package/dist/{transfer → components/transfer}/transfer-utils.d.ts +0 -0
- /package/dist/{transfer → components/transfer}/transfer.css +0 -0
- /package/dist/{transfer → components/transfer}/variables.scss +0 -0
- /package/dist/{tree → components/tree}/animation.scss +0 -0
- /package/dist/{tree → components/tree}/constants.d.ts +0 -0
- /package/dist/{tree → components/tree}/rtl.scss +0 -0
- /package/dist/{tree → components/tree}/tree.css +0 -0
- /package/dist/{tree → components/tree}/variables.scss +0 -0
- /package/dist/{tree-select → components/tree-select}/constants.d.ts +0 -0
- /package/dist/{tree-select → components/tree-select}/rtl.scss +0 -0
- /package/dist/{tree-select → components/tree-select}/tree-select.css +0 -0
- /package/dist/{tree-select → components/tree-select}/variables.scss +0 -0
- /package/dist/{typography → components/typography}/constants.d.ts +0 -0
- /package/dist/{typography → components/typography}/ellipsis.d.ts +0 -0
- /package/dist/{typography → components/typography}/format-numeral.d.ts +0 -0
- /package/dist/{typography → components/typography}/rtl.scss +0 -0
- /package/dist/{typography → components/typography}/typography.css +0 -0
- /package/dist/{typography → components/typography}/variables.scss +0 -0
- /package/dist/{upload → components/upload}/rtl.scss +0 -0
- /package/dist/{upload → components/upload}/upload.css +0 -0
- /package/dist/{upload → components/upload}/variables.scss +0 -0
- /package/dist/{user-guide → components/user-guide}/animation.scss +0 -0
- /package/dist/{user-guide → components/user-guide}/constants.d.ts +0 -0
- /package/dist/{user-guide → components/user-guide}/user-guide.css +0 -0
- /package/dist/{user-guide → components/user-guide}/user-guide.scss +0 -0
- /package/dist/{user-guide → components/user-guide}/variables.scss +0 -0
- /package/dist/{video-player → components/video-player}/animation.scss +0 -0
- /package/dist/{video-player → components/video-player}/constants.d.ts +0 -0
- /package/dist/{video-player → components/video-player}/utils.d.ts +0 -0
- /package/dist/{video-player → components/video-player}/variables.scss +0 -0
- /package/dist/{video-player → components/video-player}/video-player.css +0 -0
|
@@ -0,0 +1,1762 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'semi:theme' as *;
|
|
3
|
+
@use 'variables' as *;
|
|
4
|
+
@use 'animation' as *;
|
|
5
|
+
@use '../../base/mixin' as *;
|
|
6
|
+
// The year/month panel lays out ScrollList items and has to match ScrollList's own wheel padding
|
|
7
|
+
@use '../scroll-list/variables' as scrollList;
|
|
8
|
+
|
|
9
|
+
$module: #{$prefix}-datepicker;
|
|
10
|
+
$module-list: #{$prefix}-scrolllist;
|
|
11
|
+
|
|
12
|
+
.#{$module} {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
|
|
16
|
+
&-container {
|
|
17
|
+
display: flex;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// the trigger wrapper takes keyboard focus only around a custom trigger without a focus target of its own
|
|
21
|
+
&-input:focus-visible {
|
|
22
|
+
@include focus-ring;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.#{$module-list}-body {
|
|
26
|
+
.#{$module-list}-item,
|
|
27
|
+
.#{$module-list}-list-outer {
|
|
28
|
+
@include hide-scrollbar;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-month-grid {
|
|
33
|
+
display: flex;
|
|
34
|
+
user-select: none;
|
|
35
|
+
|
|
36
|
+
&-left,
|
|
37
|
+
&-right {
|
|
38
|
+
position: relative;
|
|
39
|
+
display: inline-flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
justify-content: flex-start;
|
|
42
|
+
padding: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&[x-type='date'],
|
|
46
|
+
&[x-type='dateRange'] {
|
|
47
|
+
.#{$module}-yam {
|
|
48
|
+
height: 100%;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&[x-type='dateTime'],
|
|
53
|
+
&[x-type='dateTimeRange'] {
|
|
54
|
+
.#{$module}-yam {
|
|
55
|
+
height: $height-datepicker_timeType_yam;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.#{$module}-yam-showing {
|
|
60
|
+
min-width: $width-datepicker_yamShowing_min;
|
|
61
|
+
min-height: $height-datepicker_yamShowing_min;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&[x-type='date'] .#{$module}-yam-showing {
|
|
65
|
+
min-height: $height-datepicker_dateType_yamShowing_min;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&[x-insetinput='true'] {
|
|
69
|
+
.#{$module}-month-grid-left,
|
|
70
|
+
.#{$module}-month-grid-right {
|
|
71
|
+
&[x-open-type='year'] {
|
|
72
|
+
min-height: $height-datepicker_month_grid_yearType_insetInput;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&[x-open-type='time'] {
|
|
76
|
+
min-height: $height-datepicker_month_grid_timeType_insetInput;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.#{$module}-navigation {
|
|
81
|
+
padding-top: $spacing-datepicker_navigation_insetInput-paddingY;
|
|
82
|
+
padding-bottom: $spacing-datepicker_navigation_insetInput-paddingY;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.#{$module}-tpk {
|
|
86
|
+
min-height: $height-datepicker_timeType_insetInput_tpk;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&[x-type='dateTime'],
|
|
90
|
+
&[x-type='dateTimeRange'] {
|
|
91
|
+
.#{$module}-yam {
|
|
92
|
+
height: $height-datepicker_timeType_insetInput_yam;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&[x-preset-position='left'][x-insetinput='false'],
|
|
98
|
+
&[x-preset-position='right'][x-insetinput='false'] {
|
|
99
|
+
.#{$module}-month {
|
|
100
|
+
height: $height-datepicker_month_max;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.#{$module}-yearmonth-header {
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
padding: $spacing-datepicker_yam_header-paddingY $spacing-datepicker_yam_header-paddingX;
|
|
108
|
+
background: $color-datepicker_header-bg-default;
|
|
109
|
+
border-bottom: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
110
|
+
border-radius: 0;
|
|
111
|
+
border-start-start-radius: $width-datepicker_yam_header-borderRadius;
|
|
112
|
+
border-start-end-radius: $width-datepicker_yam_header-borderRadius;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.#{$prefix}-scrolllist {
|
|
116
|
+
position: relative;
|
|
117
|
+
flex: 1;
|
|
118
|
+
width: 100%;
|
|
119
|
+
height: 100%;
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
background: $color-datepicker_list-bg-default;
|
|
122
|
+
box-shadow: none;
|
|
123
|
+
|
|
124
|
+
&-header,
|
|
125
|
+
&-body {
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
width: 100%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&-header {
|
|
131
|
+
padding: $spacing-datepicker_scrolllist_header-padding;
|
|
132
|
+
border-bottom: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&-body {
|
|
136
|
+
flex: 1;
|
|
137
|
+
height: 100%;
|
|
138
|
+
padding: $spacing-datepicker_scrolllist_body-padding;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&-line {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&-header-title {
|
|
147
|
+
@include font-size-regular;
|
|
148
|
+
min-height: $height-datepicker_timepicker_header_min;
|
|
149
|
+
padding: 0;
|
|
150
|
+
line-height: $height-datepicker_timepicker_header_min;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Keeps the year/month ScrollList from scrolling when the number of weeks changes the height
|
|
155
|
+
&[x-panel-yearandmonth-open-type='left'],
|
|
156
|
+
&[x-panel-yearandmonth-open-type='right'] {
|
|
157
|
+
.#{$module}-weeks {
|
|
158
|
+
min-height: 6 * $width-datepicker_day;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&-panel-yam {
|
|
164
|
+
max-width: $width-datepicker_monthPanel_max + $width-datepicker_presetPanel_left_and_right;
|
|
165
|
+
|
|
166
|
+
&[x-type='monthRange'] {
|
|
167
|
+
max-width: $width-datepicker_monthRangePanel_max + $width-datepicker_presetPanel_left_and_right;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.#{$module}-yearmonth-body {
|
|
171
|
+
display: flex;
|
|
172
|
+
|
|
173
|
+
.#{$prefix}-scrolllist:nth-child(2) {
|
|
174
|
+
border-inline-start: 1px solid var(--semi-color-border);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.#{$prefix}-scrolllist {
|
|
179
|
+
height: $height-datepicker_panel_yam_scrolllist;
|
|
180
|
+
box-shadow: none;
|
|
181
|
+
|
|
182
|
+
&-list-outer {
|
|
183
|
+
& > ul > li {
|
|
184
|
+
min-width: $width-datepicker_panel_yam_scrolllist_li_min;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&-item {
|
|
189
|
+
& > ul > li {
|
|
190
|
+
// The wheel mode adds paddingRight; include it so both modes have the same width
|
|
191
|
+
min-width: $width-datepicker_panel_yam_scrolllist_li_min + scrollList.$spacing-scrollList_item_wheel_list_outer-paddingRight;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&-body {
|
|
196
|
+
padding: 0;
|
|
197
|
+
overflow: hidden;
|
|
198
|
+
|
|
199
|
+
.#{$prefix}-scrolllist-item-wheel:not(#neverExistElement) {
|
|
200
|
+
// :not() only raises the specificity of the scrolllist-item-wheel selector
|
|
201
|
+
border: none;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&-footer {
|
|
208
|
+
padding-inline-end: $spacing-datepicker_footer-paddingRight;
|
|
209
|
+
padding-top: $spacing-datepicker_footer-paddingTop;
|
|
210
|
+
padding-bottom: $spacing-datepicker_footer-paddingBottom;
|
|
211
|
+
text-align: end;
|
|
212
|
+
background-color: $color-datepicker_footer-bg-default;
|
|
213
|
+
|
|
214
|
+
.#{$prefix}-button {
|
|
215
|
+
&:first-of-type {
|
|
216
|
+
margin-inline-end: $spacing-datepicker_footer_cancel_button-marginRight;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&:nth-of-type(2) {
|
|
220
|
+
margin-inline-end: $spacing-datepicker_footer_confirm_button-marginRight;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&-yam {
|
|
226
|
+
position: absolute;
|
|
227
|
+
top: 0;
|
|
228
|
+
box-sizing: border-box;
|
|
229
|
+
display: flex;
|
|
230
|
+
flex-direction: column;
|
|
231
|
+
width: 100%;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&-tpk {
|
|
235
|
+
position: absolute;
|
|
236
|
+
top: 0;
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
width: 100%;
|
|
240
|
+
height: $height-datepicker_timeType_tpk;
|
|
241
|
+
|
|
242
|
+
.#{$module}-time {
|
|
243
|
+
height: 100%;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&-navigation {
|
|
248
|
+
box-sizing: content-box;
|
|
249
|
+
display: flex;
|
|
250
|
+
align-items: center;
|
|
251
|
+
height: $width-datepicker_nav;
|
|
252
|
+
padding: $spacing-datepicker_navigation-paddingY $spacing-datepicker_navigation-paddingX;
|
|
253
|
+
|
|
254
|
+
&-left,
|
|
255
|
+
&-right {
|
|
256
|
+
@include flex-center;
|
|
257
|
+
width: $width-datepicker_nav;
|
|
258
|
+
height: $width-datepicker_nav;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.#{$prefix}-button {
|
|
262
|
+
min-width: $width-datepicker_navigation_button_min;
|
|
263
|
+
color: $color-datepicker_navIcon-text-default;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&-month {
|
|
267
|
+
@include font-size-header-6;
|
|
268
|
+
flex-grow: 1;
|
|
269
|
+
font-weight: $font-weight-bold;
|
|
270
|
+
color: $color-datepicker_nav_monthIcon-text-default;
|
|
271
|
+
text-align: center;
|
|
272
|
+
|
|
273
|
+
.#{$prefix}-button {
|
|
274
|
+
color: $color-datepicker_nav_monthIcon-text-default;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&-month {
|
|
280
|
+
box-sizing: content-box;
|
|
281
|
+
width: $width-datepicker_month;
|
|
282
|
+
padding: $spacing-datepicker_month-padding;
|
|
283
|
+
padding-top: 0;
|
|
284
|
+
|
|
285
|
+
// The grid keeps focus and points at the active day (aria-activedescendant), so the ring goes on that day
|
|
286
|
+
&:focus-visible {
|
|
287
|
+
outline: none;
|
|
288
|
+
|
|
289
|
+
.#{$module}-day-active {
|
|
290
|
+
@include focus-ring(-2px);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&-weekday {
|
|
296
|
+
@include font-size-small;
|
|
297
|
+
font-weight: $font-weight-bold;
|
|
298
|
+
color: $color-datepicker_day-text-default;
|
|
299
|
+
border-bottom: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
300
|
+
|
|
301
|
+
&-item {
|
|
302
|
+
display: inline-block;
|
|
303
|
+
width: $width-datepicker_day;
|
|
304
|
+
height: $width-datepicker_day;
|
|
305
|
+
line-height: $width-datepicker_day;
|
|
306
|
+
text-align: center;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
&-weeks {
|
|
311
|
+
color: $color-datepicker_date-text-default;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
&-week {
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
&-day {
|
|
320
|
+
@include flex-center;
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
display: inline-block;
|
|
323
|
+
width: $width-datepicker_day;
|
|
324
|
+
height: $width-datepicker_day;
|
|
325
|
+
cursor: pointer;
|
|
326
|
+
|
|
327
|
+
&-main {
|
|
328
|
+
@include flex-center;
|
|
329
|
+
box-sizing: border-box;
|
|
330
|
+
width: $width-datepicker_day_main;
|
|
331
|
+
height: $width-datepicker_day_main;
|
|
332
|
+
margin: 0 auto;
|
|
333
|
+
border-radius: $width-datepicker_day_main-borderRadius;
|
|
334
|
+
|
|
335
|
+
&:hover {
|
|
336
|
+
background-color: $color-datepicker_date-bg-hover;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
&:active {
|
|
340
|
+
background-color: $color-datepicker_date-bg-active;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
&-today {
|
|
345
|
+
.#{$module}-day-main {
|
|
346
|
+
font-weight: $font-weight-bold;
|
|
347
|
+
color: $color-datepicker_date_today-text-default;
|
|
348
|
+
background-color: $color-datepicker_date-bg-default;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
&.#{$module}-day-disabled {
|
|
352
|
+
.#{$module}-day-main {
|
|
353
|
+
color: $color-datepicker_date_today_disabled-text-default;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
&-inrange,
|
|
359
|
+
&-inhover,
|
|
360
|
+
&-inoffsetrange,
|
|
361
|
+
&-hoverday,
|
|
362
|
+
&-selectedrange-hover,
|
|
363
|
+
&-hoverday-around-singleselected {
|
|
364
|
+
.#{$module}-day-main {
|
|
365
|
+
width: $width-datepicker_day;
|
|
366
|
+
margin-inline: 0;
|
|
367
|
+
border-radius: 0;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
&-selected {
|
|
372
|
+
.#{$module}-day-main {
|
|
373
|
+
border-radius: $width-datepicker_day_main-borderRadius;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
&-selected-start.#{$module}-day-selected-end,
|
|
378
|
+
&-offsetrange-start.#{$module}-day-offsetrange-end {
|
|
379
|
+
.#{$module}-day-main {
|
|
380
|
+
border-radius: $width-datepicker_day_main-borderRadius;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
&-offsetrange-start {
|
|
385
|
+
.#{$module}-day-main {
|
|
386
|
+
border-radius: 0;
|
|
387
|
+
border-start-start-radius: $width-datepicker_day_main-borderRadius;
|
|
388
|
+
border-end-start-radius: $width-datepicker_day_main-borderRadius;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
&-offsetrange-end {
|
|
393
|
+
.#{$module}-day-main {
|
|
394
|
+
border-radius: 0;
|
|
395
|
+
border-start-end-radius: $width-datepicker_day_main-borderRadius;
|
|
396
|
+
border-end-end-radius: $width-datepicker_day_main-borderRadius;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
&-hoverday-beforerange {
|
|
401
|
+
.#{$module}-day-main {
|
|
402
|
+
border-radius: 0;
|
|
403
|
+
border-start-start-radius: $width-datepicker_day_main-borderRadius;
|
|
404
|
+
border-end-start-radius: $width-datepicker_day_main-borderRadius;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
&-hoverday-afterrange {
|
|
409
|
+
.#{$module}-day-main {
|
|
410
|
+
border-radius: 0;
|
|
411
|
+
border-start-end-radius: $width-datepicker_day_main-borderRadius;
|
|
412
|
+
border-end-end-radius: $width-datepicker_day_main-borderRadius;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
&-selected-start,
|
|
417
|
+
&-offsetrange-start {
|
|
418
|
+
.#{$module}-day-main {
|
|
419
|
+
width: $width-datepicker_day - $spacing-datepicker_day-marginX;
|
|
420
|
+
margin-inline: $spacing-datepicker_day-marginX 0;
|
|
421
|
+
border-radius: 0;
|
|
422
|
+
border-start-start-radius: $width-datepicker_day_main-borderRadius;
|
|
423
|
+
border-end-start-radius: $width-datepicker_day_main-borderRadius;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
&-selected-end,
|
|
428
|
+
&-offsetrange-end {
|
|
429
|
+
.#{$module}-day-main {
|
|
430
|
+
width: $width-datepicker_day - $spacing-datepicker_day-marginX;
|
|
431
|
+
margin-inline: 0 $spacing-datepicker_day-marginX;
|
|
432
|
+
border-radius: 0;
|
|
433
|
+
border-start-end-radius: $width-datepicker_day_main-borderRadius;
|
|
434
|
+
border-end-end-radius: $width-datepicker_day_main-borderRadius;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
&-hoverday-inrange {
|
|
439
|
+
.#{$module}-day-main {
|
|
440
|
+
border-radius: 0;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
&-inoffsetrange,
|
|
445
|
+
&-offsetrange-start,
|
|
446
|
+
&-offsetrange-end {
|
|
447
|
+
.#{$module}-day-main {
|
|
448
|
+
background-color: $color-datepicker_date_inRangeHover-bg-default;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
&-hoverday,
|
|
453
|
+
&-hoverday-offset {
|
|
454
|
+
.#{$module}-day-main {
|
|
455
|
+
background-color: $color-datepicker_date_hoverDay-bg-default;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&-inrange,
|
|
460
|
+
&-inhover {
|
|
461
|
+
.#{$module}-day-main {
|
|
462
|
+
background-color: $color-datepicker_date_inHover-bg-default;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
&-hoverday-inrange,
|
|
467
|
+
&-hoverday-beforerange,
|
|
468
|
+
&-hoverday-afterrange {
|
|
469
|
+
.#{$module}-day-main {
|
|
470
|
+
background-color: $color-datepicker_date_hoverday_range-bg-default;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
&-hoverday-around-singleselected {
|
|
475
|
+
.#{$module}-day-main {
|
|
476
|
+
background-color: $color-datepicker_date_hoverday_around_single_selected-bg-default;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
&-selected,
|
|
481
|
+
&-selected-start,
|
|
482
|
+
&-selected-end {
|
|
483
|
+
.#{$module}-day-main {
|
|
484
|
+
color: $color-datepicker_date_selected-text-default;
|
|
485
|
+
background-color: $color-datepicker_date_selected-bg-default;
|
|
486
|
+
|
|
487
|
+
&:hover {
|
|
488
|
+
background-color: $color-datepicker_date_selected-bg-default;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
&-selectedrange-hover {
|
|
494
|
+
.#{$module}-day-main {
|
|
495
|
+
background-color: $color-datepicker_date_selectedRange-bg-hover;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
&-selected-start-afterhover,
|
|
500
|
+
&-selected-end-beforehover {
|
|
501
|
+
.#{$module}-day-main {
|
|
502
|
+
border: $width-datepicker_day_main-border solid $color-datepicker_day_main-border;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
&-disabled {
|
|
507
|
+
color: $color-datepicker_date_disabled-text-default;
|
|
508
|
+
cursor: not-allowed;
|
|
509
|
+
|
|
510
|
+
.#{$module}-day-main {
|
|
511
|
+
&:hover {
|
|
512
|
+
background-color: transparent;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
&:active {
|
|
516
|
+
background-color: transparent;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
&.#{$module}-day {
|
|
521
|
+
&-selected,
|
|
522
|
+
&-selected-start,
|
|
523
|
+
&-selected-end,
|
|
524
|
+
&-inhover,
|
|
525
|
+
&-inrange,
|
|
526
|
+
&-inoffsetrange,
|
|
527
|
+
&-hoverday,
|
|
528
|
+
&-hoverday-offset,
|
|
529
|
+
&-offsetrange-start,
|
|
530
|
+
&-offsetrange-end,
|
|
531
|
+
&-selectedrange-hover {
|
|
532
|
+
.#{$module}-day-main {
|
|
533
|
+
color: $color-datepicker_date_disabled-text-default;
|
|
534
|
+
background-color: $color-datepicker_date_disabled-bg-default;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
&-switch {
|
|
542
|
+
display: flex;
|
|
543
|
+
margin-top: auto;
|
|
544
|
+
text-align: center;
|
|
545
|
+
border-top: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
546
|
+
|
|
547
|
+
&-date,
|
|
548
|
+
&-time {
|
|
549
|
+
@include bare-button;
|
|
550
|
+
|
|
551
|
+
@include flex-center;
|
|
552
|
+
width: 50%;
|
|
553
|
+
padding-top: $spacing-datepicker_switch_datetime-paddingTop;
|
|
554
|
+
padding-bottom: $spacing-datepicker_switch_datetime-paddingBottom;
|
|
555
|
+
color: $color-datepicker_day-text-default;
|
|
556
|
+
cursor: pointer;
|
|
557
|
+
|
|
558
|
+
&:not(.#{$module}-switch-time-disabled):hover {
|
|
559
|
+
background-color: $color-datepicker_date-bg-hover;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
&-active {
|
|
563
|
+
font-weight: $font-weight-bold;
|
|
564
|
+
color: $color-datepicker_day-text-active;
|
|
565
|
+
cursor: auto;
|
|
566
|
+
|
|
567
|
+
&:hover {
|
|
568
|
+
background-color: inherit;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
&-disabled {
|
|
573
|
+
cursor: not-allowed;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
&-text {
|
|
578
|
+
padding-inline-start: $spacing-datepicker_switch_text-paddingLeft;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
&-time {
|
|
583
|
+
.#{$prefix}-jumperlist {
|
|
584
|
+
@include shadow-0;
|
|
585
|
+
border-radius: 0;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
&-quick-control {
|
|
590
|
+
box-sizing: border-box;
|
|
591
|
+
background-color: $color-datepicker_quick-bg-default;
|
|
592
|
+
|
|
593
|
+
&-header {
|
|
594
|
+
padding: $spacing-datepicker_quick_control_header-paddingTop $spacing-datepicker_quick_control_content-paddingX 0;
|
|
595
|
+
font-weight: $font-datepicker_preset_header-fontWeight;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
// The panel is a flex row in the picker's direction, so the left preset sits at the start in RTL
|
|
599
|
+
&-left {
|
|
600
|
+
border-inline-end: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
&-right {
|
|
604
|
+
border-inline-start: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
&-top {
|
|
608
|
+
border-bottom: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
&-bottom {
|
|
612
|
+
border-top: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
&-left-content-wrapper,
|
|
616
|
+
&-right-content-wrapper {
|
|
617
|
+
max-width: $width-datepicker_presetPanel_left_and_right;
|
|
618
|
+
margin-top: $spacing-datepicker_quick_control_content-marginTop;
|
|
619
|
+
overflow-y: auto;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
&-top-content-wrapper,
|
|
623
|
+
&-bottom-content-wrapper {
|
|
624
|
+
max-height: $height-datepicker_presetPanel_top_and_bottom_max;
|
|
625
|
+
overflow-y: auto;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
&-left-content,
|
|
629
|
+
&-right-content {
|
|
630
|
+
box-sizing: border-box;
|
|
631
|
+
display: grid;
|
|
632
|
+
grid-template-columns: repeat(2, minmax($width-datepicker_presetPanel_left_and_right_two_col_button - $width-datepicker_presetPanel_scroll_bar * 0.5, $width-datepicker_presetPanel_left_and_right_two_col_button));
|
|
633
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
634
|
+
align-content: flex-start;
|
|
635
|
+
padding: 0 $spacing-datepicker_quick_control_content-paddingX $spacing-datepicker_quick_control_content-paddingX;
|
|
636
|
+
|
|
637
|
+
&-item {
|
|
638
|
+
max-width: $width-datepicker_presetPanel_left_and_right_two_col_button;
|
|
639
|
+
|
|
640
|
+
&-ellipsis {
|
|
641
|
+
width: $width-datepicker_presetPanel_left_and_right_two_col_button - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
642
|
+
color: $color-datepicker_quick_button-text-default;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
&-top-content,
|
|
648
|
+
&-bottom-content {
|
|
649
|
+
display: grid;
|
|
650
|
+
// 5px = $width-datepicker_presetPanel_scroll_bar / 3
|
|
651
|
+
grid-template-columns: repeat(3, minmax($width-datepicker_presetPanel_top_and_bottom_three_col_button - 5px, $width-datepicker_presetPanel_top_and_bottom_three_col_button));
|
|
652
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
653
|
+
align-content: flex-start;
|
|
654
|
+
padding: $spacing-datepicker_quick_control_item-margin $spacing-datepicker_quick_control_top_and_bottom_content-paddingX;
|
|
655
|
+
|
|
656
|
+
&-item {
|
|
657
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_three_col_button;
|
|
658
|
+
|
|
659
|
+
&-ellipsis {
|
|
660
|
+
width: $width-datepicker_presetPanel_top_and_bottom_three_col_button - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
661
|
+
color: $color-datepicker_quick_button-text-default;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
&-top-range-content,
|
|
667
|
+
&-bottom-range-content {
|
|
668
|
+
box-sizing: border-box;
|
|
669
|
+
display: grid;
|
|
670
|
+
// 3px = $width-datepicker_presetPanel_scroll_bar / 5
|
|
671
|
+
grid-template-columns: repeat(5, minmax($width-datepicker_presetPanel_top_and_bottom_five_col_button - 3px, $width-datepicker_presetPanel_top_and_bottom_five_col_button));
|
|
672
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
673
|
+
align-content: flex-start;
|
|
674
|
+
padding: $spacing-datepicker_quick_control_item-margin $spacing-datepicker_quick_control_top_and_bottom_content-paddingX;
|
|
675
|
+
|
|
676
|
+
&-item {
|
|
677
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_five_col_button;
|
|
678
|
+
|
|
679
|
+
&-ellipsis {
|
|
680
|
+
width: $width-datepicker_presetPanel_top_and_bottom_five_col_button - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
681
|
+
color: $color-datepicker_quick_button-text-default;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
&-top-month-content,
|
|
687
|
+
&-bottom-month-content {
|
|
688
|
+
box-sizing: border-box;
|
|
689
|
+
display: grid;
|
|
690
|
+
grid-template-columns: repeat(2, minmax($width-datepicker_presetPanel_top_and_bottom_two_col_button - $width-datepicker_presetPanel_scroll_bar * 0.5, $width-datepicker_presetPanel_top_and_bottom_two_col_button));
|
|
691
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
692
|
+
align-content: flex-start;
|
|
693
|
+
padding: $spacing-datepicker_quick_control_item-margin $spacing-datepicker_quick_control_top_and_bottom_content-paddingX;
|
|
694
|
+
|
|
695
|
+
&-item {
|
|
696
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_two_col_button;
|
|
697
|
+
|
|
698
|
+
&-ellipsis {
|
|
699
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_two_col_button - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
700
|
+
color: $color-datepicker_quick_button-text-default;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
&-month,
|
|
706
|
+
&-year {
|
|
707
|
+
max-width: $width-datepicker_monthPanel_max;
|
|
708
|
+
|
|
709
|
+
&[x-insetinput='true'] {
|
|
710
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
711
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
712
|
+
max-height: $height-datepicker_panel_yam_scrolllist - $height-datepicker_presetPanel_left_and_right_except_content + $height-datepicker_inset_input;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
717
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
718
|
+
max-height: $height-datepicker_panel_yam_scrolllist - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
&-date {
|
|
723
|
+
max-width: $width-datepicker_monthPanel_max;
|
|
724
|
+
|
|
725
|
+
&[x-insetinput='true'] {
|
|
726
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
727
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
728
|
+
max-height: $height-datepicker_preset_panel_inset_input - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
733
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
734
|
+
max-height: $height-datepicker_date_panel - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
&-dateTime {
|
|
739
|
+
max-width: $width-datepicker_monthPanel_max;
|
|
740
|
+
|
|
741
|
+
&[x-insetinput='true'] {
|
|
742
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
743
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
744
|
+
max-height: $height-datepicker_preset_panel_inset_input - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
749
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
750
|
+
max-height: $height-datepicker_date_time_panel - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
&-dateRange {
|
|
755
|
+
max-width: $width-datepicker_monthPanel_max * 2;
|
|
756
|
+
|
|
757
|
+
&[x-insetinput='true'] {
|
|
758
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
759
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
760
|
+
max-height: $height-datepicker_preset_panel_inset_input - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
765
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
766
|
+
max-height: $height-datepicker_date_panel - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
&-dateTimeRange {
|
|
771
|
+
max-width: $width-datepicker_monthPanel_max * 2;
|
|
772
|
+
|
|
773
|
+
&[x-insetinput='true'] {
|
|
774
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
775
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
776
|
+
max-height: $height-datepicker_preset_panel_inset_input - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
781
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
782
|
+
max-height: $height-datepicker_date_time_panel - $height-datepicker_presetPanel_left_and_right_except_content;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
&-topSlot {
|
|
788
|
+
border-bottom: $width-datepicker_slot-border solid $color-datepicker_border-bg-default;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
// Like the presets, the side slots follow the flex row and so the picker's direction
|
|
792
|
+
&-leftSlot {
|
|
793
|
+
border-inline-end: $width-datepicker_slot-border solid $color-datepicker_border-bg-default;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
&-rightSlot {
|
|
797
|
+
border-inline-start: $width-datepicker_slot-border solid $color-datepicker_border-bg-default;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
&-bottomSlot {
|
|
801
|
+
border-top: $width-datepicker_slot-border solid $color-datepicker_border-bg-default;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.#{$prefix}-popover-trigger {
|
|
805
|
+
width: 100%;
|
|
806
|
+
|
|
807
|
+
.#{$prefix}-input-wrapper {
|
|
808
|
+
font-size: 13px;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.#{$prefix}-input-suffix {
|
|
812
|
+
color: $color-datepicker_input_primary-text-default;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.#{$prefix}-datepicker-input-readonly {
|
|
817
|
+
cursor: pointer;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
&-inset-input {
|
|
821
|
+
&-wrapper {
|
|
822
|
+
box-sizing: border-box;
|
|
823
|
+
display: flex;
|
|
824
|
+
flex-wrap: nowrap;
|
|
825
|
+
column-gap: $spacing-datepicker_insetInput_wrapper-margin;
|
|
826
|
+
justify-content: space-between;
|
|
827
|
+
|
|
828
|
+
width: $width-datepicker_insetInput_date_type_wrapper;
|
|
829
|
+
padding: $spacing-datepicker_insetInput_wrapper-paddingY $spacing-datepicker_insetInput_wrapper-paddingX;
|
|
830
|
+
padding-bottom: $spacing-datepicker_insetInput_wrapper-paddingBottom;
|
|
831
|
+
|
|
832
|
+
&[x-type='dateRange'],
|
|
833
|
+
&[x-type='dateTimeRange'] {
|
|
834
|
+
width: $width-datepicker_insetInput_date_range_type_wrapper;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
&[x-type='month'],
|
|
838
|
+
&[x-type='year'] {
|
|
839
|
+
width: $width-datepicker_insetInput_month_type_wrapper;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
&[x-type='monthRange'] {
|
|
843
|
+
width: $width-datepicker_insetInput_month_range_type_wrapper;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.#{$prefix}-input-wrapper {
|
|
847
|
+
flex: 1;
|
|
848
|
+
flex-shrink: 0;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
&-separator {
|
|
853
|
+
flex-grow: 0;
|
|
854
|
+
flex-shrink: 0;
|
|
855
|
+
height: $height-datepicker_insetInput_separator;
|
|
856
|
+
padding: $spacing-datepicker_insetInput_separator-paddingY $spacing-datepicker_insetInput_separator-paddingX;
|
|
857
|
+
line-height: $height-datepicker_insetInput_separator;
|
|
858
|
+
color: $color-datepicker_insetInput_separator;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
&-range {
|
|
863
|
+
&-input {
|
|
864
|
+
box-sizing: border-box;
|
|
865
|
+
display: flex;
|
|
866
|
+
align-items: center;
|
|
867
|
+
height: $height-datepicker_range_input-default;
|
|
868
|
+
color: $color-datepicker_range_input-text-default;
|
|
869
|
+
background-color: $color-datepicker_range_input-bg-default;
|
|
870
|
+
border: $width-datepicker_range_trigger-border solid $color-datepicker_range_trigger-border;
|
|
871
|
+
border-radius: $radius-datepicker_range_input;
|
|
872
|
+
|
|
873
|
+
&:hover {
|
|
874
|
+
border-color: $color-datepicker_range_trigger-border-hover;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
&:active {
|
|
878
|
+
border-color: $color-datepicker_range_trigger-border-active;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
&:focus-within {
|
|
882
|
+
border-color: $color-datepicker_range_trigger-border-focus;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.#{$module}-monthRange-input {
|
|
886
|
+
background-color: transparent;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
&-wrapper {
|
|
890
|
+
box-sizing: border-box;
|
|
891
|
+
display: flex;
|
|
892
|
+
align-items: center;
|
|
893
|
+
width: 100%;
|
|
894
|
+
height: 100%;
|
|
895
|
+
padding: 0 $spacing-datepicker_range_input-paddingX;
|
|
896
|
+
background-color: $color-datepicker_range_input_inputWrapper-bg-default;
|
|
897
|
+
border: $width-datepicker_range_input-border solid $color-datepicker_range_input-border-default;
|
|
898
|
+
border-radius: $radius-datepicker_range_input;
|
|
899
|
+
|
|
900
|
+
.#{$prefix}-input-wrapper {
|
|
901
|
+
height: fit-content;
|
|
902
|
+
background-color: transparent;
|
|
903
|
+
border: none;
|
|
904
|
+
|
|
905
|
+
&:active:not(#neverExistElement) {
|
|
906
|
+
background-color: transparent;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
&:hover:not(#neverExistElement) {
|
|
910
|
+
background-color: transparent;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
&-focus {
|
|
915
|
+
background-color: $color-datepicker_range_input_inputWrapper-bg-focus;
|
|
916
|
+
border-color: $color-datepicker_range_input_inputWrapper-border-default;
|
|
917
|
+
border-radius: $radius-datepicker_range_input_inputWrapper;
|
|
918
|
+
transition: $transition-datepicker_range_input;
|
|
919
|
+
|
|
920
|
+
& ~ .#{$module}-range-input-clearbtn {
|
|
921
|
+
display: flex;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
& ~ .#{$module}-range-input-clearbtn ~ .#{$module}-range-input-suffix {
|
|
925
|
+
display: none;
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.#{$prefix}-input {
|
|
930
|
+
padding: $spacing-datepicker_range_input_inputWrapper_input-paddingY $spacing-datepicker_range_input_inputWrapper_input-paddingX;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
&-icon {
|
|
934
|
+
flex-shrink: 0;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
&:hover {
|
|
938
|
+
background-color: $color-datepicker_range_input-bg-hover;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
&-start {
|
|
942
|
+
border-start-end-radius: 0;
|
|
943
|
+
border-end-end-radius: 0;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
&-start-with-prefix {
|
|
947
|
+
border-radius: 0;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
&-end {
|
|
951
|
+
border-radius: 0;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
&-active {
|
|
955
|
+
background-color: $color-datepicker_range_input-bg-hover;
|
|
956
|
+
border-color: $color-datepicker_range_input-border-active;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
&-separator {
|
|
961
|
+
display: flex;
|
|
962
|
+
align-items: center;
|
|
963
|
+
|
|
964
|
+
&-active {
|
|
965
|
+
color: $color-datepicker_range_input_separator-text-active;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
&-small {
|
|
970
|
+
height: $height-datepicker_range_input-small;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
&-large {
|
|
974
|
+
height: $height-datepicker_range_input-large;
|
|
975
|
+
|
|
976
|
+
.#{$prefix}-input-default {
|
|
977
|
+
font-size: $font-datepicker_range_input_large-fontSize;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
&:hover {
|
|
982
|
+
.#{$module}-range-input-clearbtn {
|
|
983
|
+
display: flex;
|
|
984
|
+
cursor: pointer;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
.#{$module}-range-input-clearbtn ~ .#{$module}-range-input-suffix {
|
|
988
|
+
display: none;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.#{$module}-range-input-clearbtn:hover {
|
|
992
|
+
color: $color-datepicker_range_input_clearbtn-icon-hover;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
// Shown while focus is inside too, as Input shows its clear button, so Tab can reach it
|
|
997
|
+
&:focus-within {
|
|
998
|
+
.#{$module}-range-input-clearbtn {
|
|
999
|
+
display: flex;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.#{$module}-range-input-clearbtn ~ .#{$module}-range-input-suffix {
|
|
1003
|
+
display: none;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
&-disabled {
|
|
1008
|
+
color: $color-datepicker_range_input_disabled-text-default;
|
|
1009
|
+
cursor: not-allowed;
|
|
1010
|
+
background-color: $color-datepicker_range_input_disabled-bg-default;
|
|
1011
|
+
|
|
1012
|
+
.#{$module}-range-input-wrapper {
|
|
1013
|
+
&:hover {
|
|
1014
|
+
background-color: $color-datepicker_range_input_inputWrapper-bg-default;
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
&:hover {
|
|
1019
|
+
background-color: $color-datepicker_range_input_disabled-bg-hover;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.#{$module}-range-input-prefix,
|
|
1023
|
+
.#{$module}-range-input-suffix,
|
|
1024
|
+
.#{$module}-range-input-clearbtn {
|
|
1025
|
+
color: $color-datepicker_range_input_disabled-text-default;
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
&-warning {
|
|
1030
|
+
background-color: $color-datepicker_range_input_warning-bg-default;
|
|
1031
|
+
|
|
1032
|
+
.#{$module}-range-input-wrapper {
|
|
1033
|
+
&:hover {
|
|
1034
|
+
background-color: $color-datepicker_range_input_warning-bg-hover;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
&-active {
|
|
1038
|
+
background-color: $color-datepicker_range_input_warning-bg-active;
|
|
1039
|
+
border-color: $color-datepicker_range_input_warning-border-active;
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
&-error {
|
|
1045
|
+
background-color: $color-datepicker_range_input_error-border-default;
|
|
1046
|
+
|
|
1047
|
+
.#{$module}-range-input-wrapper {
|
|
1048
|
+
&:hover {
|
|
1049
|
+
background-color: $color-datepicker_range_input_error-bg-hover;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
&-active {
|
|
1053
|
+
background-color: $color-datepicker_range_input_error-bg-active;
|
|
1054
|
+
border-color: $color-datepicker_range_input_error-border-active;
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.#{$module}-range-input-clearbtn {
|
|
1060
|
+
display: none;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
// a native button; the shared rule below restores the font and color the reset clears
|
|
1064
|
+
&-clearbtn {
|
|
1065
|
+
@include bare-button;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
&-prefix,
|
|
1069
|
+
&-suffix,
|
|
1070
|
+
&-clearbtn {
|
|
1071
|
+
@include flex-center;
|
|
1072
|
+
font-family: $font-family-regular;
|
|
1073
|
+
font-size: $font-datepicker_range_input_prefix_suffix_clearbtn-fontSize;
|
|
1074
|
+
font-weight: $font-datepicker_range_input_prefix_suffix_clearbtn-fontWeight;
|
|
1075
|
+
line-height: $font-datepicker_range_input_prefix_suffix_clearbtn-lineHeight;
|
|
1076
|
+
color: $color-datepicker_range_input-text-default;
|
|
1077
|
+
white-space: nowrap;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
&-prefix {
|
|
1081
|
+
padding-inline: $spacing-datepicker_range_input_prefix-paddingLeft $spacing-datepicker_range_input_prefix-paddingRight;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
&-suffix {
|
|
1085
|
+
padding-inline: $spacing-datepicker_range_input_suffix-paddingLeft $spacing-datepicker_range_input_suffix-paddingRight;
|
|
1086
|
+
|
|
1087
|
+
&-hidden {
|
|
1088
|
+
display: none;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
&-clearbtn {
|
|
1093
|
+
padding-inline: $spacing-datepicker_range_input_clearbtn-paddingLeft $spacing-datepicker_range_input_clearbtn-paddingRight;
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.#{$module}-compact {
|
|
1100
|
+
$compact-max-width: calc(100vw - 32px);
|
|
1101
|
+
@include font-size-small;
|
|
1102
|
+
|
|
1103
|
+
// Shrink-to-fit so the popover background grows with long locale texts instead of letting buttons overflow
|
|
1104
|
+
display: inline-block;
|
|
1105
|
+
max-width: $compact-max-width;
|
|
1106
|
+
line-height: $lineHeight-datepicker_compact;
|
|
1107
|
+
|
|
1108
|
+
&:not(&-insetInput) {
|
|
1109
|
+
width: max-content;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.#{$module}-container {
|
|
1113
|
+
width: max-content;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.#{$module}-month-grid {
|
|
1117
|
+
width: max-content;
|
|
1118
|
+
|
|
1119
|
+
.#{$module}-month-grid-left,
|
|
1120
|
+
.#{$module}-month-grid-right {
|
|
1121
|
+
min-width: $width-datepicker_month_compact;
|
|
1122
|
+
// The compact width is the baseline; the panel may grow for long locale texts, and the month title
|
|
1123
|
+
// ellipsizes at the viewport limit.
|
|
1124
|
+
max-width: $compact-max-width;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
// Keeps the calendar body centered when the panel grows, without breaking the range navigation layout
|
|
1128
|
+
.#{$module}-month {
|
|
1129
|
+
margin-inline: auto;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
&[x-type='dateTime'],
|
|
1133
|
+
&[x-type='dateTimeRange'] {
|
|
1134
|
+
.#{$module}-yam {
|
|
1135
|
+
height: calc(100% - #{$height-datepicker_switch_compact});
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.#{$module}-yam {
|
|
1140
|
+
// Relative so the parent can grow to the content width; the height cap stops the scrolllist from growing too much
|
|
1141
|
+
position: relative;
|
|
1142
|
+
width: 100%;
|
|
1143
|
+
max-width: 100%;
|
|
1144
|
+
max-height: $height-datepicker_yam_panel_compact;
|
|
1145
|
+
overflow-x: auto;
|
|
1146
|
+
overflow-y: hidden;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
&[x-type='dateRange'],
|
|
1150
|
+
&[x-type='dateTimeRange'] {
|
|
1151
|
+
.#{$module}-month-grid-left {
|
|
1152
|
+
border-inline-end: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
.#{$module}-yam-showing {
|
|
1157
|
+
min-width: $width-datepicker_panel_compact;
|
|
1158
|
+
min-height: $height-datepicker_tpk_compact + $height-datepicker_switch_compact;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
&[x-type='date'] .#{$module}-yam-showing {
|
|
1162
|
+
min-height: $height-datepicker_yam_panel_compact;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
&[x-preset-position='left'][x-insetinput='false'],
|
|
1166
|
+
&[x-preset-position='right'][x-insetinput='false'] {
|
|
1167
|
+
.#{$module}-month {
|
|
1168
|
+
height: $height-datepicker_month_max_compact;
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.#{$module}-yearmonth-header {
|
|
1173
|
+
box-sizing: border-box;
|
|
1174
|
+
width: 100%;
|
|
1175
|
+
max-width: 100%;
|
|
1176
|
+
height: $height-datepicker_yam_panel_header_compact;
|
|
1177
|
+
padding: $spacing-datepicker_yam_panel_header_compact-padding;
|
|
1178
|
+
|
|
1179
|
+
button,
|
|
1180
|
+
.#{$prefix}-button {
|
|
1181
|
+
width: 100%;
|
|
1182
|
+
max-width: 100%;
|
|
1183
|
+
overflow: hidden;
|
|
1184
|
+
text-overflow: ellipsis;
|
|
1185
|
+
white-space: nowrap;
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
.#{$module}-yearmonth-body {
|
|
1190
|
+
display: flex;
|
|
1191
|
+
|
|
1192
|
+
.#{$prefix}-scrolllist:nth-child(2) {
|
|
1193
|
+
border: 1px solid var(--semi-color-border);
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.#{$prefix}-scrolllist {
|
|
1198
|
+
@include font-size-small;
|
|
1199
|
+
line-height: $lineHeight-datepicker_compact;
|
|
1200
|
+
|
|
1201
|
+
&-header {
|
|
1202
|
+
// Compact has too little room for the scrolllist header
|
|
1203
|
+
display: none;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
&-list-outer {
|
|
1207
|
+
& > ul > li {
|
|
1208
|
+
height: $height-datepicker_yam_li_compact;
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
&-item-wheel:not(#neverExistElement) {
|
|
1213
|
+
border-inline-end: 0;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
&-item-wheel {
|
|
1217
|
+
.#{$prefix}-scrolllist-selector {
|
|
1218
|
+
height: $height-datepicker_yam_li_compact;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.#{$prefix}-scrolllist-shade-pre {
|
|
1222
|
+
margin-top: $spacing-datepicker_scrolllist_shade_pre_compact-marginTop;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.#{$prefix}-scrolllist-shade-post {
|
|
1226
|
+
margin-top: $spacing-datepicker_scrolllist_shade_post_compact-marginTop;
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
&[x-panel-yearandmonth-open-type='left'],
|
|
1232
|
+
&[x-panel-yearandmonth-open-type='right'] {
|
|
1233
|
+
.#{$module}-weeks {
|
|
1234
|
+
min-height: 6 * $width-datepicker_day_compact;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
&[x-insetinput='true'] {
|
|
1239
|
+
.#{$module}-month-grid-left,
|
|
1240
|
+
.#{$module}-month-grid-right {
|
|
1241
|
+
&[x-open-type='year'] {
|
|
1242
|
+
min-height: $height-datepicker_tpk_compact;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
&[x-open-type='time'] {
|
|
1246
|
+
min-height: $height-datepicker_tpk_compact;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.#{$module}-yam-showing {
|
|
1251
|
+
min-height: $height-datepicker_tpk_compact;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.#{$module}-tpk {
|
|
1255
|
+
min-height: $height-datepicker_insetInput_tpk_compact;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
&[x-type='dateTime'],
|
|
1259
|
+
&[x-type='dateTimeRange'] {
|
|
1260
|
+
.#{$module}-yam {
|
|
1261
|
+
height: $height-datepicker_timeType_insetInput_yam_compact;
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
&.#{$module}-panel-yam {
|
|
1268
|
+
.#{$prefix}-scrolllist {
|
|
1269
|
+
@include font-size-small;
|
|
1270
|
+
line-height: $lineHeight-datepicker_compact;
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.#{$module}-tpk {
|
|
1275
|
+
height: calc(100% - #{$height-datepicker_switch_compact});
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
.#{$module}-navigation {
|
|
1279
|
+
box-sizing: border-box;
|
|
1280
|
+
width: 100%;
|
|
1281
|
+
max-width: 100%;
|
|
1282
|
+
height: $width-datepicker_nav_compact;
|
|
1283
|
+
padding: $spacing-datepicker_nav_compact-padding;
|
|
1284
|
+
padding-bottom: 0;
|
|
1285
|
+
|
|
1286
|
+
&-left,
|
|
1287
|
+
&-right {
|
|
1288
|
+
width: $width-datepicker_nav_compact;
|
|
1289
|
+
height: $width-datepicker_nav_compact;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
.#{$prefix}-button {
|
|
1293
|
+
min-width: $width-datepicker_nav_compact;
|
|
1294
|
+
min-height: $width-datepicker_nav_compact;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
&-month {
|
|
1298
|
+
min-width: 0;
|
|
1299
|
+
overflow: hidden;
|
|
1300
|
+
|
|
1301
|
+
.#{$prefix}-button {
|
|
1302
|
+
@include font-size-small;
|
|
1303
|
+
max-width: 100%;
|
|
1304
|
+
line-height: $lineHeight-datepicker_compact;
|
|
1305
|
+
|
|
1306
|
+
> span {
|
|
1307
|
+
display: block;
|
|
1308
|
+
overflow: hidden;
|
|
1309
|
+
text-overflow: ellipsis;
|
|
1310
|
+
white-space: nowrap;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
.#{$module}-month {
|
|
1317
|
+
width: $width-datepicker_month_compact;
|
|
1318
|
+
padding: 0;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
.#{$module}-weeks {
|
|
1322
|
+
padding: $spacing-datepicker_weeks_compact-padding;
|
|
1323
|
+
padding-top: $spacing-datepicker_weeks_compact-paddingTop;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
.#{$module}-weekday {
|
|
1327
|
+
box-sizing: border-box;
|
|
1328
|
+
height: $spacing-tight + $width-datepicker_day_compact;
|
|
1329
|
+
padding-inline: $spacing-datepicker_weekday_compact-paddingLeft $spacing-datepicker_weekday_compact-paddingRight;
|
|
1330
|
+
padding-bottom: $spacing-datepicker_weekday_compact-paddingBottom;
|
|
1331
|
+
border-bottom: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
1332
|
+
|
|
1333
|
+
&-item {
|
|
1334
|
+
width: $width-datepicker_day_compact;
|
|
1335
|
+
height: $width-datepicker_day_compact;
|
|
1336
|
+
line-height: $lineHeight-datepicker_weekday_item_compact;
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
.#{$module}-day {
|
|
1341
|
+
width: $width-datepicker_day_compact;
|
|
1342
|
+
height: $width-datepicker_day_compact;
|
|
1343
|
+
|
|
1344
|
+
&-main {
|
|
1345
|
+
width: $width-datepicker_day_main_compact;
|
|
1346
|
+
height: $width-datepicker_day_main_compact;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
&-inrange,
|
|
1350
|
+
&-inhover,
|
|
1351
|
+
&-inoffsetrange,
|
|
1352
|
+
&-hoverday,
|
|
1353
|
+
&-selectedrange-hover {
|
|
1354
|
+
.#{$module}-day-main {
|
|
1355
|
+
width: $width-datepicker_day_compact;
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
&-selected-start.#{$module}-day-selected-end,
|
|
1360
|
+
&-offsetrange-start.#{$module}-day-offsetrange-end {
|
|
1361
|
+
.#{$module}-day-main {
|
|
1362
|
+
border-radius: $width-datepicker_day_compact-borderRadius;
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
&-offsetrange-start {
|
|
1367
|
+
.#{$module}-day-main {
|
|
1368
|
+
border-radius: 0;
|
|
1369
|
+
border-start-start-radius: $width-datepicker_day_compact-borderRadius;
|
|
1370
|
+
border-end-start-radius: $width-datepicker_day_compact-borderRadius;
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
&-offsetrange-end {
|
|
1375
|
+
.#{$module}-day-main {
|
|
1376
|
+
border-radius: 0;
|
|
1377
|
+
border-start-end-radius: $width-datepicker_day_compact-borderRadius;
|
|
1378
|
+
border-end-end-radius: $width-datepicker_day_compact-borderRadius;
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
&-hoverday-beforerange {
|
|
1383
|
+
.#{$module}-day-main {
|
|
1384
|
+
border-radius: 0;
|
|
1385
|
+
border-start-start-radius: $width-datepicker_day_compact-borderRadius;
|
|
1386
|
+
border-end-start-radius: $width-datepicker_day_compact-borderRadius;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
&-hoverday-afterrange {
|
|
1391
|
+
.#{$module}-day-main {
|
|
1392
|
+
border-radius: 0;
|
|
1393
|
+
border-start-end-radius: $width-datepicker_day_compact-borderRadius;
|
|
1394
|
+
border-end-end-radius: $width-datepicker_day_compact-borderRadius;
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
&-selected-start,
|
|
1399
|
+
&-offsetrange-start {
|
|
1400
|
+
.#{$module}-day-main {
|
|
1401
|
+
width: $width-datepicker_day - $spacing-datepicker_day_compact-margin;
|
|
1402
|
+
margin-inline: $spacing-datepicker_day_compact-margin 0;
|
|
1403
|
+
border-radius: 0;
|
|
1404
|
+
border-start-start-radius: $width-datepicker_day_compact-borderRadius;
|
|
1405
|
+
border-end-start-radius: $width-datepicker_day_compact-borderRadius;
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
&-selected-end,
|
|
1410
|
+
&-offsetrange-end {
|
|
1411
|
+
.#{$module}-day-main {
|
|
1412
|
+
width: $width-datepicker_day - $spacing-datepicker_day_compact-margin;
|
|
1413
|
+
margin-inline: 0 $spacing-datepicker_day_compact-margin;
|
|
1414
|
+
border-radius: 0;
|
|
1415
|
+
border-start-end-radius: $width-datepicker_day_compact-borderRadius;
|
|
1416
|
+
border-end-end-radius: $width-datepicker_day_compact-borderRadius;
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.#{$module}-switch {
|
|
1422
|
+
box-sizing: border-box;
|
|
1423
|
+
height: $height-datepicker_switch_compact;
|
|
1424
|
+
|
|
1425
|
+
&-date,
|
|
1426
|
+
&-time {
|
|
1427
|
+
padding-top: $spacing-datepicker_switch_compact-padding;
|
|
1428
|
+
padding-bottom: $spacing-datepicker_switch_compact-padding;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
&-date {
|
|
1432
|
+
border-inline-end: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
&-text {
|
|
1436
|
+
padding-inline-start: 0;
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
.#{$module}-quick-control {
|
|
1441
|
+
&-header {
|
|
1442
|
+
padding: $spacing-datepicker_quick_control_header_compact-paddingTop $spacing-datepicker_quick_control_left_and_right_content_compact-paddingX 0;
|
|
1443
|
+
font-weight: $font-datepicker_preset_header-fontWeight;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
&-left-content-wrapper,
|
|
1447
|
+
&-right-content-wrapper {
|
|
1448
|
+
margin-top: $spacing-datepicker_quick_control_content_compact-marginTop;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
&-left-content,
|
|
1452
|
+
&-right-content {
|
|
1453
|
+
box-sizing: border-box;
|
|
1454
|
+
display: grid;
|
|
1455
|
+
grid-template-columns: repeat(2, minmax($width-datepicker_presetPanel_left_and_right_two_col_button - $width-datepicker_presetPanel_scroll_bar * 0.5, $width-datepicker_presetPanel_left_and_right_two_col_button));
|
|
1456
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
1457
|
+
align-content: flex-start;
|
|
1458
|
+
padding: 0 $spacing-datepicker_quick_control_left_and_right_content_compact-paddingX $spacing-datepicker_quick_control_left_and_right_content_compact-paddingX;
|
|
1459
|
+
|
|
1460
|
+
&-item {
|
|
1461
|
+
max-width: $width-datepicker_presetPanel_left_and_right_two_col_button;
|
|
1462
|
+
|
|
1463
|
+
&-ellipsis {
|
|
1464
|
+
width: $width-datepicker_presetPanel_left_and_right_two_col_button - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
1465
|
+
font-size: $fontSize-datepicker_insetInput_compact-fontSize;
|
|
1466
|
+
color: $color-datepicker_quick_button-text-default;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
&-top-content,
|
|
1472
|
+
&-bottom-content {
|
|
1473
|
+
box-sizing: border-box;
|
|
1474
|
+
display: grid;
|
|
1475
|
+
grid-template-columns: repeat(3, minmax($width-datepicker_presetPanel_top_and_bottom_three_col_button_compact - 5px, $width-datepicker_presetPanel_top_and_bottom_three_col_button_compact));
|
|
1476
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
1477
|
+
align-content: flex-start;
|
|
1478
|
+
padding: $spacing-datepicker_quick_control_item-margin $spacing-datepicker_quick_control_top_and_bottom_content_compact-paddingX;
|
|
1479
|
+
|
|
1480
|
+
&-item {
|
|
1481
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_three_col_button_compact;
|
|
1482
|
+
|
|
1483
|
+
&-ellipsis {
|
|
1484
|
+
width: $width-datepicker_presetPanel_top_and_bottom_three_col_button_compact - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
1485
|
+
font-size: $fontSize-datepicker_insetInput_compact-fontSize;
|
|
1486
|
+
color: $color-datepicker_quick_button-text-default;
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
&-top-range-content,
|
|
1492
|
+
&-bottom-range-content {
|
|
1493
|
+
display: grid;
|
|
1494
|
+
grid-template-columns: repeat(5, minmax($width-datepicker_presetPanel_top_and_bottom_five_col_button_compact - 3px, $width-datepicker_presetPanel_top_and_bottom_five_col_button_compact));
|
|
1495
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
1496
|
+
align-content: flex-start;
|
|
1497
|
+
padding: $spacing-datepicker_quick_control_item-margin $spacing-datepicker_quick_control_top_and_bottom_content_compact-paddingX;
|
|
1498
|
+
|
|
1499
|
+
&-item {
|
|
1500
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_five_col_button_compact;
|
|
1501
|
+
|
|
1502
|
+
&-ellipsis {
|
|
1503
|
+
width: $width-datepicker_presetPanel_top_and_bottom_five_col_button_compact - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
1504
|
+
font-size: $fontSize-datepicker_insetInput_compact-fontSize;
|
|
1505
|
+
color: $color-datepicker_quick_button-text-default;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
&-top-month-content,
|
|
1511
|
+
&-bottom-month-content {
|
|
1512
|
+
display: grid;
|
|
1513
|
+
grid-template-columns: repeat(2, minmax($width-datepicker_presetPanel_top_and_bottom_two_col_button_compact - $width-datepicker_presetPanel_scroll_bar * 0.5, $width-datepicker_presetPanel_top_and_bottom_two_col_button_compact));
|
|
1514
|
+
grid-gap: $spacing-datepicker_quick_control_item-margin;
|
|
1515
|
+
align-content: flex-start;
|
|
1516
|
+
padding: $spacing-datepicker_quick_control_item-margin $spacing-datepicker_quick_control_top_and_bottom_content_compact-paddingX;
|
|
1517
|
+
|
|
1518
|
+
&-item {
|
|
1519
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_two_col_button_compact;
|
|
1520
|
+
|
|
1521
|
+
&-ellipsis {
|
|
1522
|
+
max-width: $width-datepicker_presetPanel_top_and_bottom_two_col_button_compact - ($spacing-datepicker_quick_control_item-margin * 2);
|
|
1523
|
+
font-size: $fontSize-datepicker_insetInput_compact-fontSize;
|
|
1524
|
+
color: $color-datepicker_quick_button-text-default;
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
&-month,
|
|
1530
|
+
&-year {
|
|
1531
|
+
width: max-content;
|
|
1532
|
+
min-width: $width-datepicker_panel_compact;
|
|
1533
|
+
max-width: $compact-max-width;
|
|
1534
|
+
|
|
1535
|
+
&[x-insetinput='true'] {
|
|
1536
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1537
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1538
|
+
max-height: $height-datepicker_panel_yam_scrolllist - $height-datepicker_presetPanel_left_and_right_except_content_compact + $height-datepicker_inset_input_compact;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1543
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1544
|
+
max-height: $height-datepicker_panel_yam_scrolllist - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
&-date {
|
|
1549
|
+
width: max-content;
|
|
1550
|
+
min-width: $width-datepicker_panel_compact;
|
|
1551
|
+
max-width: $compact-max-width;
|
|
1552
|
+
|
|
1553
|
+
&[x-insetinput='true'] {
|
|
1554
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1555
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1556
|
+
max-height: $height-datepicker_preset_panel_inset_input_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1561
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1562
|
+
max-height: $height-datepicker_date_panel_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
&-dateTime {
|
|
1567
|
+
width: max-content;
|
|
1568
|
+
min-width: $width-datepicker_panel_compact;
|
|
1569
|
+
max-width: $compact-max-width;
|
|
1570
|
+
|
|
1571
|
+
&[x-insetinput='true'] {
|
|
1572
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1573
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1574
|
+
max-height: $height-datepicker_preset_panel_inset_input_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1579
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1580
|
+
max-height: $height-datepicker_date_time_panel_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
&-dateRange {
|
|
1585
|
+
width: max-content;
|
|
1586
|
+
// Two-panel baseline, capped at the viewport limit so min-width never exceeds max-width (forced overflow)
|
|
1587
|
+
min-width: min(#{$width-datepicker_panel_compact * 2}, #{$compact-max-width});
|
|
1588
|
+
max-width: $compact-max-width;
|
|
1589
|
+
|
|
1590
|
+
&[x-insetinput='true'] {
|
|
1591
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1592
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1593
|
+
max-height: $height-datepicker_preset_panel_inset_input_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1598
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1599
|
+
max-height: $height-datepicker_date_panel_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
&-dateTimeRange {
|
|
1604
|
+
width: max-content;
|
|
1605
|
+
min-width: min(#{$width-datepicker_panel_compact * 2}, #{$compact-max-width});
|
|
1606
|
+
max-width: $compact-max-width;
|
|
1607
|
+
|
|
1608
|
+
&[x-insetinput='true'] {
|
|
1609
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1610
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1611
|
+
max-height: $height-datepicker_preset_panel_inset_input_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
.#{$module}-quick-control-right-content-wrapper,
|
|
1616
|
+
.#{$module}-quick-control-left-content-wrapper {
|
|
1617
|
+
max-height: $height-datepicker_date_time_panel_compact - $height-datepicker_presetPanel_left_and_right_except_content_compact;
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
.#{$module}-footer {
|
|
1623
|
+
padding-inline-end: $spacing-datepicker_footer_compact-paddintRight;
|
|
1624
|
+
padding-top: $spacing-datepicker_footer_compact-paddintTop;
|
|
1625
|
+
padding-bottom: $spacing-datepicker_footer_compact-paddintBottom;
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
.#{$module}-inset-input {
|
|
1629
|
+
&-wrapper {
|
|
1630
|
+
column-gap: $spacing-datepicker_insetInput_wrapper_compact-margin;
|
|
1631
|
+
|
|
1632
|
+
width: $width-datepicker_insetInput_date_type_wrapper_compact;
|
|
1633
|
+
padding: $spacing-datepicker_insetInput_wrapper_compact-paddingY $spacing-datepicker_insetInput_wrapper_compact-paddingX;
|
|
1634
|
+
padding-bottom: $spacing-datepicker_insetInput_wrapper_compact-paddingBottom;
|
|
1635
|
+
|
|
1636
|
+
&[x-type='dateRange'],
|
|
1637
|
+
&[x-type='dateTimeRange'] {
|
|
1638
|
+
width: $width-datepicker_insetInput_date_range_type_wrapper_compact;
|
|
1639
|
+
padding-top: $spacing-datepicker_insetInput_wrapper_rangeType_compact-paddingTop;
|
|
1640
|
+
|
|
1641
|
+
.#{$prefix}-input-wrapper {
|
|
1642
|
+
margin-top: $spacing-datepicker_insetInput_wrapper_compact-paddingY;
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
&[x-type='month'],
|
|
1647
|
+
&[x-type='year'] {
|
|
1648
|
+
width: $width-datepicker_insetInput_month_type_wrapper_compact;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
.#{$prefix}-input-wrapper {
|
|
1652
|
+
box-sizing: border-box;
|
|
1653
|
+
height: $height-datepicker_insetInput_wrapper_compact;
|
|
1654
|
+
|
|
1655
|
+
.#{$prefix}-input {
|
|
1656
|
+
height: $height-datepicker_insetInput_compact;
|
|
1657
|
+
font-size: $fontSize-datepicker_insetInput_compact-fontSize;
|
|
1658
|
+
line-height: $height-datepicker_insetInput_compact;
|
|
1659
|
+
vertical-align: top;
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
&-separator {
|
|
1665
|
+
height: auto;
|
|
1666
|
+
|
|
1667
|
+
/* stylelint-disable-next-line property-disallowed-list -- paired with a translateX that does not follow
|
|
1668
|
+
direction; rtl.scss flips both together */
|
|
1669
|
+
border-left: $width-datepicker-border solid $color-datepicker_border-bg-default;
|
|
1670
|
+
transform: translateX(50%);
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
.#{$prefix}-popover {
|
|
1676
|
+
&-wrapper {
|
|
1677
|
+
&[x-placement^='top'],
|
|
1678
|
+
&[x-placement='leftTop'],
|
|
1679
|
+
&[x-placement='rightTop'],
|
|
1680
|
+
&[x-placement*='BottomOver'] {
|
|
1681
|
+
// fixes the height to 6 weeks when the popover opens upward (#1042)
|
|
1682
|
+
.#{$module} .#{$module}-weeks {
|
|
1683
|
+
min-height: 6 * $width-datepicker_day;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
.#{$module}-compact .#{$module}-weeks {
|
|
1687
|
+
min-height: 6 * $width-datepicker_day_compact;
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
.#{$module}-borderless {
|
|
1694
|
+
&:not(:focus-within):not(:hover) {
|
|
1695
|
+
background-color: transparent;
|
|
1696
|
+
border-color: transparent;
|
|
1697
|
+
|
|
1698
|
+
.#{$prefix}-input-suffix,
|
|
1699
|
+
.#{$module}-range-input-suffix {
|
|
1700
|
+
opacity: 0;
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
&:focus-within:not(:active) {
|
|
1705
|
+
background-color: transparent;
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
&.#{$module}-range-input-error {
|
|
1709
|
+
.#{$module}-range-input-wrapper {
|
|
1710
|
+
&-active {
|
|
1711
|
+
border-color: transparent;
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
&:hover {
|
|
1716
|
+
background-color: $color-datepicker_range_input_error-border-default;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
&:focus-within {
|
|
1720
|
+
background-color: $color-datepicker_range_input_error-border-default;
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
&.#{$module}-range-input-error:not(:focus-within) {
|
|
1725
|
+
border-color: $color-datepicker_range_input_error-border-active;
|
|
1726
|
+
border-width: $width-datepicker_range_input-border;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
&.#{$module}-range-input-error:focus-within {
|
|
1730
|
+
border-color: $color-datepicker_range_input_error-border-active;
|
|
1731
|
+
border-width: $width-datepicker_range_input-border;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
// Kept apart from the normal rules so neither overrides the other
|
|
1735
|
+
&.#{$module}-range-input-warning {
|
|
1736
|
+
.#{$module}-range-input-wrapper {
|
|
1737
|
+
&-active {
|
|
1738
|
+
border-color: transparent;
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
&:hover {
|
|
1743
|
+
background-color: $color-datepicker_range_input_warning-border-default;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
&:focus-within {
|
|
1747
|
+
background-color: $color-datepicker_range_input_warning-border-default;
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
&.#{$module}-range-input-warning:not(:focus-within) {
|
|
1752
|
+
border-color: $color-datepicker_range_input_warning-border-active;
|
|
1753
|
+
border-width: $width-datepicker_range_input-border;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
&.#{$module}-range-input-warning:focus-within {
|
|
1757
|
+
border-color: $color-datepicker_range_input_warning-border-active;
|
|
1758
|
+
border-width: $width-datepicker_range_input-border;
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
@include meta.load-css('rtl');
|