@broxus/react-uikit 0.22.0 → 0.23.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/dist/assets/accordion.css +135 -0
- package/dist/assets/alert.css +120 -0
- package/dist/assets/align.css +105 -0
- package/dist/assets/animation.css +387 -0
- package/dist/assets/article.css +51 -0
- package/dist/assets/background.css +209 -0
- package/dist/assets/badge.css +46 -0
- package/dist/assets/base.css +571 -0
- package/dist/assets/breadcrumb.css +69 -0
- package/dist/assets/button.css +491 -0
- package/dist/assets/card.css +255 -0
- package/dist/assets/checkbox.css +240 -0
- package/dist/assets/close.css +24 -0
- package/dist/assets/column.css +145 -0
- package/dist/assets/comment.css +87 -0
- package/dist/assets/container.css +171 -0
- package/dist/assets/control.css +262 -0
- package/dist/assets/cover.css +55 -0
- package/dist/assets/datepicker.css +662 -0
- package/dist/assets/description-list.css +39 -0
- package/dist/assets/divider.css +98 -0
- package/dist/assets/dotnav.css +100 -0
- package/dist/assets/drawer.css +562 -0
- package/dist/assets/drop.css +47 -0
- package/dist/assets/dropdown.css +118 -0
- package/dist/assets/flex.css +392 -0
- package/dist/assets/form.css +486 -0
- package/dist/assets/grid.css +545 -0
- package/dist/assets/heading.css +175 -0
- package/dist/assets/height.css +63 -0
- package/dist/assets/icon.css +188 -0
- package/dist/assets/iconnav.css +83 -0
- package/dist/assets/input-number.css +89 -0
- package/dist/assets/input-password.css +24 -0
- package/dist/assets/inverse.css +746 -0
- package/dist/assets/label.css +70 -0
- package/dist/assets/leader.css +44 -0
- package/dist/assets/link.css +79 -0
- package/dist/assets/list.css +211 -0
- package/dist/assets/margin.css +362 -0
- package/dist/assets/marker.css +28 -0
- package/dist/assets/mixin.css +1 -0
- package/dist/assets/mixins.css +1 -0
- package/dist/assets/modal.css +227 -0
- package/dist/assets/motion.css +492 -0
- package/dist/assets/nav.css +406 -0
- package/dist/assets/navbar.css +468 -0
- package/dist/assets/overlay.css +38 -0
- package/dist/assets/padding.css +70 -0
- package/dist/assets/pagination.css +78 -0
- package/dist/assets/placeholder.css +27 -0
- package/dist/assets/position.css +216 -0
- package/dist/assets/print.css +43 -0
- package/dist/assets/progress.css +79 -0
- package/dist/assets/radio.css +196 -0
- package/dist/assets/search.css +258 -0
- package/dist/assets/section.css +138 -0
- package/dist/assets/segmented.css +193 -0
- package/dist/assets/select.css +515 -0
- package/dist/assets/slider.css +392 -0
- package/dist/assets/spinner.css +51 -0
- package/dist/assets/sticky.css +31 -0
- package/dist/assets/subnav.css +171 -0
- package/dist/assets/svg.css +23 -0
- package/dist/assets/switch.css +167 -0
- package/dist/assets/table.css +224 -0
- package/dist/assets/tabs.css +631 -0
- package/dist/assets/text.css +385 -0
- package/dist/assets/textarea.css +54 -0
- package/dist/assets/thumbnav.css +67 -0
- package/dist/assets/tile.css +138 -0
- package/dist/assets/tooltip.css +47 -0
- package/dist/assets/totop.css +32 -0
- package/dist/assets/transition.css +154 -0
- package/dist/assets/uikit.min.css +1 -0
- package/dist/assets/utility.css +494 -0
- package/dist/assets/variables.css +1 -0
- package/dist/assets/vars.css +89 -0
- package/dist/assets/visibility.css +140 -0
- package/dist/assets/width.css +538 -0
- package/dist/cjs/components/Accordion/Accordion.d.ts +3 -2
- package/dist/cjs/components/Accordion/Item.d.ts +1 -5
- package/dist/cjs/components/Accordion/Item.js +0 -4
- package/dist/cjs/components/Accordion/index.d.ts +1 -1
- package/dist/cjs/components/Alert/index.js +1 -3
- package/dist/cjs/components/Align/Align.d.ts +1 -1
- package/dist/cjs/components/Align/Center.d.ts +1 -1
- package/dist/cjs/components/Align/Left.d.ts +1 -1
- package/dist/cjs/components/Align/Right.d.ts +1 -1
- package/dist/cjs/components/Article/Article.d.ts +1 -1
- package/dist/cjs/components/Article/Meta.d.ts +1 -1
- package/dist/cjs/components/Article/Title.d.ts +1 -1
- package/dist/cjs/components/Badge/index.d.ts +1 -1
- package/dist/cjs/components/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/cjs/components/Breadcrumb/Item.d.ts +1 -1
- package/dist/cjs/components/Button/Group.d.ts +1 -1
- package/dist/cjs/components/Card/Badge.d.ts +1 -1
- package/dist/cjs/components/Card/Body.d.ts +1 -1
- package/dist/cjs/components/Card/Card.d.ts +1 -1
- package/dist/cjs/components/Card/Footer.d.ts +1 -1
- package/dist/cjs/components/Card/Header.d.ts +1 -1
- package/dist/cjs/components/Card/Media.d.ts +1 -1
- package/dist/cjs/components/Card/Title.d.ts +1 -1
- package/dist/cjs/components/Close/index.d.ts +1 -1
- package/dist/cjs/components/Component/index.d.ts +1 -1
- package/dist/cjs/components/ConfigProvider/index.d.ts +55 -40
- package/dist/cjs/components/Container/index.d.ts +1 -1
- package/dist/cjs/components/Control/Checkbox/Checkbox.d.ts +2 -2
- package/dist/cjs/components/Control/Checkbox/Group.d.ts +2 -2
- package/dist/cjs/components/Control/Checkbox/index.d.ts +1 -1
- package/dist/cjs/components/Control/Input/Input.js +2 -2
- package/dist/cjs/components/Control/Input/Number/index.js +4 -4
- package/dist/cjs/components/Control/Input/useInput.js +2 -1
- package/dist/cjs/components/Control/Radio/Group.js +2 -4
- package/dist/cjs/components/Control/Radio/index.d.ts +1 -1
- package/dist/cjs/components/Control/Select/Select.d.ts +18 -0
- package/dist/cjs/components/Control/Select/Select.js +248 -0
- package/dist/cjs/components/Control/Select/index.d.ts +4 -21
- package/dist/cjs/components/Control/Select/index.js +2 -246
- package/dist/cjs/components/Control/Select/placements.d.ts +1 -1
- package/dist/cjs/components/Control/TextArea/index.d.ts +3 -3
- package/dist/cjs/components/Control/TextArea/index.js +6 -5
- package/dist/cjs/components/Cover/index.d.ts +1 -1
- package/dist/cjs/components/DatePicker/PickerButton.d.ts +1 -1
- package/dist/cjs/components/DatePicker/generatePurePicker.js +1 -3
- package/dist/cjs/components/DescriptionList/Description.d.ts +1 -1
- package/dist/cjs/components/DescriptionList/DescriptionList.d.ts +1 -1
- package/dist/cjs/components/DescriptionList/Term.d.ts +1 -1
- package/dist/cjs/components/Divider/index.d.ts +1 -1
- package/dist/cjs/components/Dotnav/Dotnav.d.ts +1 -1
- package/dist/cjs/components/Dotnav/Item.d.ts +1 -1
- package/dist/cjs/components/Drawer/index.d.ts +1 -1
- package/dist/cjs/components/Drop/index.d.ts +1 -2
- package/dist/cjs/components/Drop/index.js +2 -1
- package/dist/cjs/components/Flex/Flex.d.ts +1 -1
- package/dist/cjs/components/Flex/Item.d.ts +1 -1
- package/dist/cjs/components/Flex/index.d.ts +1 -1
- package/dist/cjs/components/Form/Controls.d.ts +1 -1
- package/dist/cjs/components/Form/ControlsText.d.ts +1 -1
- package/dist/cjs/components/Form/Fieldset.d.ts +1 -1
- package/dist/cjs/components/Form/Form.d.ts +1 -1
- package/dist/cjs/components/Form/Label.d.ts +1 -1
- package/dist/cjs/components/Form/Legend.d.ts +1 -1
- package/dist/cjs/components/Grid/index.d.ts +1 -1
- package/dist/cjs/components/Heading/index.d.ts +1 -1
- package/dist/cjs/components/Icon/Button.d.ts +1 -1
- package/dist/cjs/components/Icon/Icon.d.ts +1 -1
- package/dist/cjs/components/Icon/Link.d.ts +1 -1
- package/dist/cjs/components/Icon/index.d.ts +1 -1
- package/dist/cjs/components/Iconnav/Iconnav.d.ts +1 -1
- package/dist/cjs/components/Iconnav/Item.d.ts +1 -1
- package/dist/cjs/components/Inverse/index.d.ts +2 -2
- package/dist/cjs/components/Label/index.d.ts +1 -1
- package/dist/cjs/components/List/Item.d.ts +1 -1
- package/dist/cjs/components/List/List.d.ts +1 -1
- package/dist/cjs/components/Modal/index.d.ts +1 -1
- package/dist/cjs/components/Nav/Divider.d.ts +1 -1
- package/dist/cjs/components/Nav/Divider.js +4 -8
- package/dist/cjs/components/Nav/Group/InternalNavGroup.d.ts +10 -0
- package/dist/cjs/components/Nav/Group/{InternalNavItemGroup.js → InternalNavGroup.js} +9 -9
- package/dist/cjs/components/Nav/Group/index.d.ts +4 -5
- package/dist/cjs/components/Nav/Group/index.js +12 -15
- package/dist/cjs/components/Nav/Header.d.ts +1 -3
- package/dist/cjs/components/Nav/Header.js +4 -4
- package/dist/cjs/components/Nav/Icon/index.d.ts +7 -0
- package/dist/cjs/components/Nav/{context/PrivateContext.js → Icon/index.js} +13 -5
- package/dist/cjs/components/Nav/Item/InternalNavItem.d.ts +1 -5
- package/dist/cjs/components/Nav/Item/InternalNavItem.js +26 -47
- package/dist/cjs/components/Nav/Item/LegacyNavItem.js +12 -6
- package/dist/cjs/components/Nav/Item/index.d.ts +1 -4
- package/dist/cjs/components/Nav/Item/index.js +9 -12
- package/dist/cjs/components/Nav/Nav.d.ts +8 -21
- package/dist/cjs/components/Nav/Nav.js +84 -89
- package/dist/cjs/components/Nav/Sub/InlineSubNavList.d.ts +1 -1
- package/dist/cjs/components/Nav/Sub/InlineSubNavList.js +6 -6
- package/dist/cjs/components/Nav/Sub/InternalSubNav.d.ts +15 -0
- package/dist/cjs/components/Nav/Sub/InternalSubNav.js +196 -0
- package/dist/cjs/components/Nav/Sub/PopupTrigger.d.ts +2 -1
- package/dist/cjs/components/Nav/Sub/PopupTrigger.js +10 -11
- package/dist/cjs/components/Nav/Sub/SubNavList.d.ts +1 -2
- package/dist/cjs/components/Nav/Sub/SubNavList.js +5 -5
- package/dist/cjs/components/Nav/Sub/index.d.ts +4 -15
- package/dist/cjs/components/Nav/Sub/index.js +11 -174
- package/dist/cjs/components/Nav/context/NavContext.d.ts +7 -3
- package/dist/cjs/components/Nav/context/NavContext.js +6 -6
- package/dist/cjs/components/Nav/context/index.d.ts +3 -0
- package/dist/cjs/components/Nav/context/index.js +19 -0
- package/dist/cjs/components/Nav/hooks/index.d.ts +5 -0
- package/dist/cjs/components/Nav/hooks/index.js +21 -0
- package/dist/cjs/components/Nav/hooks/useAccessibility.d.ts +11 -0
- package/dist/cjs/components/Nav/hooks/useAccessibility.js +97 -99
- package/dist/cjs/components/Nav/hooks/useActive.js +5 -13
- package/dist/cjs/components/Nav/hooks/useDirectionStyle.js +2 -2
- package/dist/cjs/components/Nav/hooks/useKeyRecords.d.ts +3 -3
- package/dist/cjs/components/Nav/hooks/useKeyRecords.js +5 -8
- package/dist/cjs/components/Nav/types.d.ts +14 -1
- package/dist/cjs/components/Nav/utils/alignUtil.d.ts +1 -1
- package/dist/cjs/components/Nav/utils/alignUtil.js +1 -4
- package/dist/cjs/components/Nav/utils/index.d.ts +5 -0
- package/dist/cjs/components/Nav/utils/index.js +21 -0
- package/dist/cjs/components/Nav/utils/nodeUtil.d.ts +2 -2
- package/dist/cjs/components/Nav/utils/nodeUtil.js +38 -34
- package/dist/cjs/components/Nav/utils/warnUtil.js +2 -5
- package/dist/cjs/components/Navbar/Center.d.ts +1 -1
- package/dist/cjs/components/Navbar/Container.d.ts +1 -1
- package/dist/cjs/components/Navbar/Item.d.ts +1 -1
- package/dist/cjs/components/Navbar/Left.d.ts +1 -1
- package/dist/cjs/components/Navbar/Navbar.d.ts +1 -1
- package/dist/cjs/components/Navbar/Right.d.ts +1 -1
- package/dist/cjs/components/Navbar/Toggle.d.ts +1 -1
- package/dist/cjs/components/Overlay/index.d.ts +1 -1
- package/dist/cjs/components/Progress/index.d.ts +1 -1
- package/dist/cjs/components/Section/index.d.ts +1 -1
- package/dist/cjs/components/Segmented/index.d.ts +1 -1
- package/dist/cjs/components/Slider/index.d.ts +1 -2
- package/dist/cjs/components/Spinner/index.d.ts +1 -1
- package/dist/cjs/components/Subnav/Item.d.ts +1 -1
- package/dist/cjs/components/Subnav/Subnav.d.ts +1 -1
- package/dist/cjs/components/Tabs/index.d.ts +6 -4
- package/dist/cjs/components/Tabs/index.js +8 -7
- package/dist/cjs/components/Text/index.d.ts +1 -1
- package/dist/cjs/components/Tile/index.d.ts +1 -1
- package/dist/cjs/components/Width/Width.d.ts +1 -1
- package/dist/cjs/constants.d.ts +12 -0
- package/dist/cjs/constants.js +16 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/utils/motion.d.ts +1 -1
- package/dist/esm/components/Accordion/Accordion.d.ts +3 -2
- package/dist/esm/components/Accordion/Item.d.ts +1 -5
- package/dist/esm/components/Accordion/Item.js +0 -4
- package/dist/esm/components/Accordion/index.d.ts +1 -1
- package/dist/esm/components/Alert/index.js +1 -3
- package/dist/esm/components/Align/Align.d.ts +1 -1
- package/dist/esm/components/Align/Center.d.ts +1 -1
- package/dist/esm/components/Align/Left.d.ts +1 -1
- package/dist/esm/components/Align/Right.d.ts +1 -1
- package/dist/esm/components/Article/Article.d.ts +1 -1
- package/dist/esm/components/Article/Meta.d.ts +1 -1
- package/dist/esm/components/Article/Title.d.ts +1 -1
- package/dist/esm/components/Badge/index.d.ts +1 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/esm/components/Breadcrumb/Item.d.ts +1 -1
- package/dist/esm/components/Button/Group.d.ts +1 -1
- package/dist/esm/components/Card/Badge.d.ts +1 -1
- package/dist/esm/components/Card/Body.d.ts +1 -1
- package/dist/esm/components/Card/Card.d.ts +1 -1
- package/dist/esm/components/Card/Footer.d.ts +1 -1
- package/dist/esm/components/Card/Header.d.ts +1 -1
- package/dist/esm/components/Card/Media.d.ts +1 -1
- package/dist/esm/components/Card/Title.d.ts +1 -1
- package/dist/esm/components/Close/index.d.ts +1 -1
- package/dist/esm/components/Component/index.d.ts +1 -1
- package/dist/esm/components/ConfigProvider/index.d.ts +55 -40
- package/dist/esm/components/Container/index.d.ts +1 -1
- package/dist/esm/components/Control/Checkbox/Checkbox.d.ts +2 -2
- package/dist/esm/components/Control/Checkbox/Group.d.ts +2 -2
- package/dist/esm/components/Control/Checkbox/index.d.ts +1 -1
- package/dist/esm/components/Control/Input/Input.js +1 -1
- package/dist/esm/components/Control/Input/Number/index.js +3 -3
- package/dist/esm/components/Control/Input/useInput.js +2 -1
- package/dist/esm/components/Control/Radio/Group.js +2 -4
- package/dist/esm/components/Control/Radio/index.d.ts +1 -1
- package/dist/esm/components/Control/Select/Select.d.ts +18 -0
- package/dist/esm/components/Control/Select/Select.js +209 -0
- package/dist/esm/components/Control/Select/index.d.ts +4 -21
- package/dist/esm/components/Control/Select/index.js +1 -210
- package/dist/esm/components/Control/Select/placements.d.ts +1 -1
- package/dist/esm/components/Control/TextArea/index.d.ts +3 -3
- package/dist/esm/components/Control/TextArea/index.js +5 -4
- package/dist/esm/components/Cover/index.d.ts +1 -1
- package/dist/esm/components/DatePicker/PickerButton.d.ts +1 -1
- package/dist/esm/components/DatePicker/generatePurePicker.js +1 -3
- package/dist/esm/components/DescriptionList/Description.d.ts +1 -1
- package/dist/esm/components/DescriptionList/DescriptionList.d.ts +1 -1
- package/dist/esm/components/DescriptionList/Term.d.ts +1 -1
- package/dist/esm/components/Divider/index.d.ts +1 -1
- package/dist/esm/components/Dotnav/Dotnav.d.ts +1 -1
- package/dist/esm/components/Dotnav/Item.d.ts +1 -1
- package/dist/esm/components/Drawer/index.d.ts +1 -1
- package/dist/esm/components/Drop/index.d.ts +1 -2
- package/dist/esm/components/Drop/index.js +2 -1
- package/dist/esm/components/Flex/Flex.d.ts +1 -1
- package/dist/esm/components/Flex/Item.d.ts +1 -1
- package/dist/esm/components/Flex/index.d.ts +1 -1
- package/dist/esm/components/Form/Controls.d.ts +1 -1
- package/dist/esm/components/Form/ControlsText.d.ts +1 -1
- package/dist/esm/components/Form/Fieldset.d.ts +1 -1
- package/dist/esm/components/Form/Form.d.ts +1 -1
- package/dist/esm/components/Form/Label.d.ts +1 -1
- package/dist/esm/components/Form/Legend.d.ts +1 -1
- package/dist/esm/components/Grid/index.d.ts +1 -1
- package/dist/esm/components/Heading/index.d.ts +1 -1
- package/dist/esm/components/Icon/Button.d.ts +1 -1
- package/dist/esm/components/Icon/Icon.d.ts +1 -1
- package/dist/esm/components/Icon/Link.d.ts +1 -1
- package/dist/esm/components/Icon/index.d.ts +1 -1
- package/dist/esm/components/Iconnav/Iconnav.d.ts +1 -1
- package/dist/esm/components/Iconnav/Item.d.ts +1 -1
- package/dist/esm/components/Inverse/index.d.ts +2 -2
- package/dist/esm/components/Label/index.d.ts +1 -1
- package/dist/esm/components/List/Item.d.ts +1 -1
- package/dist/esm/components/List/List.d.ts +1 -1
- package/dist/esm/components/Modal/index.d.ts +1 -1
- package/dist/esm/components/Nav/Divider.d.ts +1 -1
- package/dist/esm/components/Nav/Divider.js +2 -6
- package/dist/esm/components/Nav/Group/InternalNavGroup.d.ts +10 -0
- package/dist/esm/components/Nav/Group/InternalNavGroup.js +16 -0
- package/dist/esm/components/Nav/Group/index.d.ts +4 -5
- package/dist/esm/components/Nav/Group/index.js +7 -7
- package/dist/esm/components/Nav/Header.d.ts +1 -3
- package/dist/esm/components/Nav/Header.js +3 -3
- package/dist/esm/components/Nav/Icon/index.d.ts +7 -0
- package/dist/esm/components/Nav/Icon/index.js +14 -0
- package/dist/esm/components/Nav/Item/InternalNavItem.d.ts +1 -5
- package/dist/esm/components/Nav/Item/InternalNavItem.js +16 -37
- package/dist/esm/components/Nav/Item/LegacyNavItem.js +11 -5
- package/dist/esm/components/Nav/Item/index.d.ts +1 -4
- package/dist/esm/components/Nav/Item/index.js +5 -8
- package/dist/esm/components/Nav/Nav.d.ts +8 -21
- package/dist/esm/components/Nav/Nav.js +70 -75
- package/dist/esm/components/Nav/Sub/InlineSubNavList.d.ts +1 -1
- package/dist/esm/components/Nav/Sub/InlineSubNavList.js +3 -3
- package/dist/esm/components/Nav/Sub/InternalSubNav.d.ts +15 -0
- package/dist/esm/components/Nav/Sub/InternalSubNav.js +157 -0
- package/dist/esm/components/Nav/Sub/PopupTrigger.d.ts +2 -1
- package/dist/esm/components/Nav/Sub/PopupTrigger.js +9 -10
- package/dist/esm/components/Nav/Sub/SubNavList.d.ts +1 -2
- package/dist/esm/components/Nav/Sub/SubNavList.js +4 -4
- package/dist/esm/components/Nav/Sub/index.d.ts +4 -15
- package/dist/esm/components/Nav/Sub/index.js +7 -167
- package/dist/esm/components/Nav/context/NavContext.d.ts +7 -3
- package/dist/esm/components/Nav/context/NavContext.js +6 -6
- package/dist/esm/components/Nav/context/index.d.ts +3 -0
- package/dist/esm/components/Nav/context/index.js +3 -0
- package/dist/esm/components/Nav/hooks/index.d.ts +5 -0
- package/dist/esm/components/Nav/hooks/index.js +5 -0
- package/dist/esm/components/Nav/hooks/useAccessibility.d.ts +11 -0
- package/dist/esm/components/Nav/hooks/useAccessibility.js +96 -100
- package/dist/esm/components/Nav/hooks/useActive.js +5 -13
- package/dist/esm/components/Nav/hooks/useDirectionStyle.js +1 -1
- package/dist/esm/components/Nav/hooks/useKeyRecords.d.ts +3 -3
- package/dist/esm/components/Nav/hooks/useKeyRecords.js +3 -3
- package/dist/esm/components/Nav/types.d.ts +14 -1
- package/dist/esm/components/Nav/utils/alignUtil.d.ts +1 -1
- package/dist/esm/components/Nav/utils/alignUtil.js +1 -4
- package/dist/esm/components/Nav/utils/index.d.ts +5 -0
- package/dist/esm/components/Nav/utils/index.js +5 -0
- package/dist/esm/components/Nav/utils/nodeUtil.d.ts +2 -2
- package/dist/esm/components/Nav/utils/nodeUtil.js +38 -31
- package/dist/esm/components/Nav/utils/warnUtil.js +1 -1
- package/dist/esm/components/Navbar/Center.d.ts +1 -1
- package/dist/esm/components/Navbar/Container.d.ts +1 -1
- package/dist/esm/components/Navbar/Item.d.ts +1 -1
- package/dist/esm/components/Navbar/Left.d.ts +1 -1
- package/dist/esm/components/Navbar/Navbar.d.ts +1 -1
- package/dist/esm/components/Navbar/Right.d.ts +1 -1
- package/dist/esm/components/Navbar/Toggle.d.ts +1 -1
- package/dist/esm/components/Overlay/index.d.ts +1 -1
- package/dist/esm/components/Progress/index.d.ts +1 -1
- package/dist/esm/components/Section/index.d.ts +1 -1
- package/dist/esm/components/Segmented/index.d.ts +1 -1
- package/dist/esm/components/Slider/index.d.ts +1 -2
- package/dist/esm/components/Spinner/index.d.ts +1 -1
- package/dist/esm/components/Subnav/Item.d.ts +1 -1
- package/dist/esm/components/Subnav/Subnav.d.ts +1 -1
- package/dist/esm/components/Tabs/index.d.ts +6 -4
- package/dist/esm/components/Tabs/index.js +8 -7
- package/dist/esm/components/Text/index.d.ts +1 -1
- package/dist/esm/components/Tile/index.d.ts +1 -1
- package/dist/esm/components/Width/Width.d.ts +1 -1
- package/dist/esm/constants.d.ts +12 -0
- package/dist/esm/constants.js +13 -0
- package/dist/esm/utils/motion.d.ts +1 -1
- package/package.json +23 -20
- package/styles/accordion.scss +56 -30
- package/styles/alert.scss +6 -5
- package/styles/animation.scss +64 -213
- package/styles/background.scss +34 -131
- package/styles/base.scss +37 -65
- package/styles/breadcrumb.scss +6 -9
- package/styles/button.scss +22 -62
- package/styles/control.scss +1 -0
- package/styles/datepicker.scss +3 -2
- package/styles/input-number.scss +11 -21
- package/styles/leader.scss +2 -2
- package/styles/mixins.scss +10 -19
- package/styles/nav.scss +7 -28
- package/styles/navbar.scss +185 -160
- package/styles/search.scss +16 -46
- package/styles/select.scss +9 -4
- package/styles/subnav.scss +1 -1
- package/styles/switch.scss +12 -0
- package/styles/tabs.scss +65 -37
- package/styles/text.scss +65 -65
- package/styles/thumbnav.scss +4 -4
- package/styles/variables.scss +36 -19
- package/dist/cjs/components/Nav/Group/InternalNavItemGroup.d.ts +0 -14
- package/dist/cjs/components/Nav/context/PrivateContext.d.ts +0 -7
- package/dist/cjs/components/Nav/hooks/useUUID.d.ts +0 -1
- package/dist/cjs/components/Nav/hooks/useUUID.js +0 -56
- package/dist/esm/components/Nav/Group/InternalNavItemGroup.d.ts +0 -14
- package/dist/esm/components/Nav/Group/InternalNavItemGroup.js +0 -16
- package/dist/esm/components/Nav/context/PrivateContext.d.ts +0 -7
- package/dist/esm/components/Nav/context/PrivateContext.js +0 -6
- package/dist/esm/components/Nav/hooks/useUUID.d.ts +0 -1
- package/dist/esm/components/Nav/hooks/useUUID.js +0 -17
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
/* ========================================================================
|
|
2
|
+
Component: Width
|
|
3
|
+
========================================================================== */
|
|
4
|
+
/* Equal child widths
|
|
5
|
+
========================================================================== */
|
|
6
|
+
[class*=uk-child-width] > * {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.uk-child-width-1-2 > * {
|
|
12
|
+
width: 50%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.uk-child-width-1-3 > * {
|
|
16
|
+
width: calc(100% * 1 / 3.001);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.uk-child-width-1-4 > * {
|
|
20
|
+
width: 25%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.uk-child-width-1-5 > * {
|
|
24
|
+
width: 20%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.uk-child-width-1-6 > * {
|
|
28
|
+
width: calc(100% * 1 / 6.001);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.uk-child-width-auto > * {
|
|
32
|
+
width: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
* 1. Reset the `min-width`, which is set to auto by default, because
|
|
37
|
+
* flex items won't shrink below their minimum intrinsic content size.
|
|
38
|
+
* Using `1px` instead of `0`, so items still wrap into the next line,
|
|
39
|
+
* if they have zero width and padding and the predecessor is 100% wide.
|
|
40
|
+
*/
|
|
41
|
+
.uk-child-width-expand > :not([class*=uk-width]) {
|
|
42
|
+
flex: 1;
|
|
43
|
+
/* 1 */
|
|
44
|
+
min-width: 1px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Phone landscape and bigger */
|
|
48
|
+
@media (min-width: 640px) {
|
|
49
|
+
.uk-child-width-1-1\@s > * {
|
|
50
|
+
width: 100%;
|
|
51
|
+
}
|
|
52
|
+
.uk-child-width-1-2\@s > * {
|
|
53
|
+
width: 50%;
|
|
54
|
+
}
|
|
55
|
+
.uk-child-width-1-3\@s > * {
|
|
56
|
+
width: calc(100% * 1 / 3.001);
|
|
57
|
+
}
|
|
58
|
+
.uk-child-width-1-4\@s > * {
|
|
59
|
+
width: 25%;
|
|
60
|
+
}
|
|
61
|
+
.uk-child-width-1-5\@s > * {
|
|
62
|
+
width: 20%;
|
|
63
|
+
}
|
|
64
|
+
.uk-child-width-1-6\@s > * {
|
|
65
|
+
width: calc(100% * 1 / 6.001);
|
|
66
|
+
}
|
|
67
|
+
.uk-child-width-auto\@s > * {
|
|
68
|
+
width: auto;
|
|
69
|
+
}
|
|
70
|
+
.uk-child-width-expand\@s > :not([class*=uk-width]) {
|
|
71
|
+
flex: 1;
|
|
72
|
+
min-width: 1px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/* Tablet landscape and bigger */
|
|
76
|
+
@media (min-width: 960px) {
|
|
77
|
+
.uk-child-width-1-1\@m > * {
|
|
78
|
+
width: 100%;
|
|
79
|
+
}
|
|
80
|
+
.uk-child-width-1-2\@m > * {
|
|
81
|
+
width: 50%;
|
|
82
|
+
}
|
|
83
|
+
.uk-child-width-1-3\@m > * {
|
|
84
|
+
width: calc(100% * 1 / 3.001);
|
|
85
|
+
}
|
|
86
|
+
.uk-child-width-1-4\@m > * {
|
|
87
|
+
width: 25%;
|
|
88
|
+
}
|
|
89
|
+
.uk-child-width-1-5\@m > * {
|
|
90
|
+
width: 20%;
|
|
91
|
+
}
|
|
92
|
+
.uk-child-width-1-6\@m > * {
|
|
93
|
+
width: calc(100% * 1 / 6.001);
|
|
94
|
+
}
|
|
95
|
+
.uk-child-width-auto\@m > * {
|
|
96
|
+
width: auto;
|
|
97
|
+
}
|
|
98
|
+
.uk-child-width-expand\@m > :not([class*=uk-width]) {
|
|
99
|
+
flex: 1;
|
|
100
|
+
min-width: 1px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/* Desktop and bigger */
|
|
104
|
+
@media (min-width: 1200px) {
|
|
105
|
+
.uk-child-width-1-1\@l > * {
|
|
106
|
+
width: 100%;
|
|
107
|
+
}
|
|
108
|
+
.uk-child-width-1-2\@l > * {
|
|
109
|
+
width: 50%;
|
|
110
|
+
}
|
|
111
|
+
.uk-child-width-1-3\@l > * {
|
|
112
|
+
width: calc(100% * 1 / 3.001);
|
|
113
|
+
}
|
|
114
|
+
.uk-child-width-1-4\@l > * {
|
|
115
|
+
width: 25%;
|
|
116
|
+
}
|
|
117
|
+
.uk-child-width-1-5\@l > * {
|
|
118
|
+
width: 20%;
|
|
119
|
+
}
|
|
120
|
+
.uk-child-width-1-6\@l > * {
|
|
121
|
+
width: calc(100% * 1 / 6.001);
|
|
122
|
+
}
|
|
123
|
+
.uk-child-width-auto\@l > * {
|
|
124
|
+
width: auto;
|
|
125
|
+
}
|
|
126
|
+
.uk-child-width-expand\@l > :not([class*=uk-width]) {
|
|
127
|
+
flex: 1;
|
|
128
|
+
min-width: 1px;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
/* Large screen and bigger */
|
|
132
|
+
@media (min-width: 1600px) {
|
|
133
|
+
.uk-child-width-1-1\@xl > * {
|
|
134
|
+
width: 100%;
|
|
135
|
+
}
|
|
136
|
+
.uk-child-width-1-2\@xl > * {
|
|
137
|
+
width: 50%;
|
|
138
|
+
}
|
|
139
|
+
.uk-child-width-1-3\@xl > * {
|
|
140
|
+
width: calc(100% * 1 / 3.001);
|
|
141
|
+
}
|
|
142
|
+
.uk-child-width-1-4\@xl > * {
|
|
143
|
+
width: 25%;
|
|
144
|
+
}
|
|
145
|
+
.uk-child-width-1-5\@xl > * {
|
|
146
|
+
width: 20%;
|
|
147
|
+
}
|
|
148
|
+
.uk-child-width-1-6\@xl > * {
|
|
149
|
+
width: calc(100% * 1 / 6.001);
|
|
150
|
+
}
|
|
151
|
+
.uk-child-width-auto\@xl > * {
|
|
152
|
+
width: auto;
|
|
153
|
+
}
|
|
154
|
+
.uk-child-width-expand\@xl > :not([class*=uk-width]) {
|
|
155
|
+
flex: 1;
|
|
156
|
+
min-width: 1px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/* Single Widths
|
|
160
|
+
========================================================================== */
|
|
161
|
+
/*
|
|
162
|
+
* 1. `max-width` is needed for the pixel-based classes
|
|
163
|
+
*/
|
|
164
|
+
[class*=uk-width] {
|
|
165
|
+
box-sizing: border-box;
|
|
166
|
+
/* 1 */
|
|
167
|
+
max-width: 100%;
|
|
168
|
+
width: 100%;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Halves */
|
|
172
|
+
.uk-width-1-2 {
|
|
173
|
+
width: 50%;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Thirds */
|
|
177
|
+
.uk-width-1-3 {
|
|
178
|
+
width: calc(100% * 1 / 3.001);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.uk-width-2-3 {
|
|
182
|
+
width: calc(100% * 2 / 3.001);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* Quarters */
|
|
186
|
+
.uk-width-1-4 {
|
|
187
|
+
width: 25%;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.uk-width-3-4 {
|
|
191
|
+
width: 75%;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* Fifths */
|
|
195
|
+
.uk-width-1-5 {
|
|
196
|
+
width: 20%;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.uk-width-2-5 {
|
|
200
|
+
width: 40%;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.uk-width-3-5 {
|
|
204
|
+
width: 60%;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.uk-width-4-5 {
|
|
208
|
+
width: 80%;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* Sixths */
|
|
212
|
+
.uk-width-1-6 {
|
|
213
|
+
width: calc(100% * 1 / 6.001);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.uk-width-5-6 {
|
|
217
|
+
width: calc(100% * 5 / 6.001);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* Pixel */
|
|
221
|
+
.uk-width-small {
|
|
222
|
+
width: var(--width-small-width);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.uk-width-medium {
|
|
226
|
+
width: var(--width-medium-width);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.uk-width-large {
|
|
230
|
+
width: var(--width-large-width);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.uk-width-xlarge {
|
|
234
|
+
width: var(--width-xlarge-width);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.uk-width-2xlarge {
|
|
238
|
+
width: var(--width-2xlarge-width);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* Auto */
|
|
242
|
+
.uk-width-auto {
|
|
243
|
+
width: auto;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* Expand */
|
|
247
|
+
.uk-width-expand {
|
|
248
|
+
flex: 1;
|
|
249
|
+
min-width: 1px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Phone landscape and bigger */
|
|
253
|
+
@media (min-width: 640px) {
|
|
254
|
+
/* Whole */
|
|
255
|
+
.uk-width-1-1\@s {
|
|
256
|
+
width: 100%;
|
|
257
|
+
}
|
|
258
|
+
/* Halves */
|
|
259
|
+
.uk-width-1-2\@s {
|
|
260
|
+
width: 50%;
|
|
261
|
+
}
|
|
262
|
+
/* Thirds */
|
|
263
|
+
.uk-width-1-3\@s {
|
|
264
|
+
width: calc(100% * 1 / 3.001);
|
|
265
|
+
}
|
|
266
|
+
.uk-width-2-3\@s {
|
|
267
|
+
width: calc(100% * 2 / 3.001);
|
|
268
|
+
}
|
|
269
|
+
/* Quarters */
|
|
270
|
+
.uk-width-1-4\@s {
|
|
271
|
+
width: 25%;
|
|
272
|
+
}
|
|
273
|
+
.uk-width-3-4\@s {
|
|
274
|
+
width: 75%;
|
|
275
|
+
}
|
|
276
|
+
/* Fifths */
|
|
277
|
+
.uk-width-1-5\@s {
|
|
278
|
+
width: 20%;
|
|
279
|
+
}
|
|
280
|
+
.uk-width-2-5\@s {
|
|
281
|
+
width: 40%;
|
|
282
|
+
}
|
|
283
|
+
.uk-width-3-5\@s {
|
|
284
|
+
width: 60%;
|
|
285
|
+
}
|
|
286
|
+
.uk-width-4-5\@s {
|
|
287
|
+
width: 80%;
|
|
288
|
+
}
|
|
289
|
+
/* Sixths */
|
|
290
|
+
.uk-width-1-6\@s {
|
|
291
|
+
width: calc(100% * 1 / 6.001);
|
|
292
|
+
}
|
|
293
|
+
.uk-width-5-6\@s {
|
|
294
|
+
width: calc(100% * 5 / 6.001);
|
|
295
|
+
}
|
|
296
|
+
/* Pixel */
|
|
297
|
+
.uk-width-small\@s {
|
|
298
|
+
width: var(--width-small-width);
|
|
299
|
+
}
|
|
300
|
+
.uk-width-medium\@s {
|
|
301
|
+
width: var(--width-medium-width);
|
|
302
|
+
}
|
|
303
|
+
.uk-width-large\@s {
|
|
304
|
+
width: var(--width-large-width);
|
|
305
|
+
}
|
|
306
|
+
.uk-width-xlarge\@s {
|
|
307
|
+
width: var(--width-xlarge-width);
|
|
308
|
+
}
|
|
309
|
+
.uk-width-2xlarge\@s {
|
|
310
|
+
width: var(--width-2xlarge-width);
|
|
311
|
+
}
|
|
312
|
+
/* Auto */
|
|
313
|
+
.uk-width-auto\@s {
|
|
314
|
+
width: auto;
|
|
315
|
+
}
|
|
316
|
+
/* Expand */
|
|
317
|
+
.uk-width-expand\@s {
|
|
318
|
+
flex: 1;
|
|
319
|
+
min-width: 1px;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
/* Tablet landscape and bigger */
|
|
323
|
+
@media (min-width: 960px) {
|
|
324
|
+
/* Whole */
|
|
325
|
+
.uk-width-1-1\@m {
|
|
326
|
+
width: 100%;
|
|
327
|
+
}
|
|
328
|
+
/* Halves */
|
|
329
|
+
.uk-width-1-2\@m {
|
|
330
|
+
width: 50%;
|
|
331
|
+
}
|
|
332
|
+
/* Thirds */
|
|
333
|
+
.uk-width-1-3\@m {
|
|
334
|
+
width: calc(100% * 1 / 3.001);
|
|
335
|
+
}
|
|
336
|
+
.uk-width-2-3\@m {
|
|
337
|
+
width: calc(100% * 2 / 3.001);
|
|
338
|
+
}
|
|
339
|
+
/* Quarters */
|
|
340
|
+
.uk-width-1-4\@m {
|
|
341
|
+
width: 25%;
|
|
342
|
+
}
|
|
343
|
+
.uk-width-3-4\@m {
|
|
344
|
+
width: 75%;
|
|
345
|
+
}
|
|
346
|
+
/* Fifths */
|
|
347
|
+
.uk-width-1-5\@m {
|
|
348
|
+
width: 20%;
|
|
349
|
+
}
|
|
350
|
+
.uk-width-2-5\@m {
|
|
351
|
+
width: 40%;
|
|
352
|
+
}
|
|
353
|
+
.uk-width-3-5\@m {
|
|
354
|
+
width: 60%;
|
|
355
|
+
}
|
|
356
|
+
.uk-width-4-5\@m {
|
|
357
|
+
width: 80%;
|
|
358
|
+
}
|
|
359
|
+
/* Sixths */
|
|
360
|
+
.uk-width-1-6\@m {
|
|
361
|
+
width: calc(100% * 1 / 6.001);
|
|
362
|
+
}
|
|
363
|
+
.uk-width-5-6\@m {
|
|
364
|
+
width: calc(100% * 5 / 6.001);
|
|
365
|
+
}
|
|
366
|
+
/* Pixel */
|
|
367
|
+
.uk-width-small\@m {
|
|
368
|
+
width: var(--width-small-width);
|
|
369
|
+
}
|
|
370
|
+
.uk-width-medium\@m {
|
|
371
|
+
width: var(--width-medium-width);
|
|
372
|
+
}
|
|
373
|
+
.uk-width-large\@m {
|
|
374
|
+
width: var(--width-large-width);
|
|
375
|
+
}
|
|
376
|
+
.uk-width-xlarge\@m {
|
|
377
|
+
width: var(--width-xlarge-width);
|
|
378
|
+
}
|
|
379
|
+
.uk-width-2xlarge\@m {
|
|
380
|
+
width: var(--width-2xlarge-width);
|
|
381
|
+
}
|
|
382
|
+
/* Auto */
|
|
383
|
+
.uk-width-auto\@m {
|
|
384
|
+
width: auto;
|
|
385
|
+
}
|
|
386
|
+
/* Expand */
|
|
387
|
+
.uk-width-expand\@m {
|
|
388
|
+
flex: 1;
|
|
389
|
+
min-width: 1px;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
/* Desktop and bigger */
|
|
393
|
+
@media (min-width: 1200px) {
|
|
394
|
+
/* Whole */
|
|
395
|
+
.uk-width-1-1\@l {
|
|
396
|
+
width: 100%;
|
|
397
|
+
}
|
|
398
|
+
/* Halves */
|
|
399
|
+
.uk-width-1-2\@l {
|
|
400
|
+
width: 50%;
|
|
401
|
+
}
|
|
402
|
+
/* Thirds */
|
|
403
|
+
.uk-width-1-3\@l {
|
|
404
|
+
width: calc(100% * 1 / 3.001);
|
|
405
|
+
}
|
|
406
|
+
.uk-width-2-3\@l {
|
|
407
|
+
width: calc(100% * 2 / 3.001);
|
|
408
|
+
}
|
|
409
|
+
/* Quarters */
|
|
410
|
+
.uk-width-1-4\@l {
|
|
411
|
+
width: 25%;
|
|
412
|
+
}
|
|
413
|
+
.uk-width-3-4\@l {
|
|
414
|
+
width: 75%;
|
|
415
|
+
}
|
|
416
|
+
/* Fifths */
|
|
417
|
+
.uk-width-1-5\@l {
|
|
418
|
+
width: 20%;
|
|
419
|
+
}
|
|
420
|
+
.uk-width-2-5\@l {
|
|
421
|
+
width: 40%;
|
|
422
|
+
}
|
|
423
|
+
.uk-width-3-5\@l {
|
|
424
|
+
width: 60%;
|
|
425
|
+
}
|
|
426
|
+
.uk-width-4-5\@l {
|
|
427
|
+
width: 80%;
|
|
428
|
+
}
|
|
429
|
+
/* Sixths */
|
|
430
|
+
.uk-width-1-6\@l {
|
|
431
|
+
width: calc(100% * 1 / 6.001);
|
|
432
|
+
}
|
|
433
|
+
.uk-width-5-6\@l {
|
|
434
|
+
width: calc(100% * 5 / 6.001);
|
|
435
|
+
}
|
|
436
|
+
/* Pixel */
|
|
437
|
+
.uk-width-small\@l {
|
|
438
|
+
width: var(--width-small-width);
|
|
439
|
+
}
|
|
440
|
+
.uk-width-medium\@l {
|
|
441
|
+
width: var(--width-medium-width);
|
|
442
|
+
}
|
|
443
|
+
.uk-width-large\@l {
|
|
444
|
+
width: var(--width-large-width);
|
|
445
|
+
}
|
|
446
|
+
.uk-width-xlarge\@l {
|
|
447
|
+
width: var(--width-xlarge-width);
|
|
448
|
+
}
|
|
449
|
+
.uk-width-2xlarge\@l {
|
|
450
|
+
width: var(--width-2xlarge-width);
|
|
451
|
+
}
|
|
452
|
+
/* Auto */
|
|
453
|
+
.uk-width-auto\@l {
|
|
454
|
+
width: auto;
|
|
455
|
+
}
|
|
456
|
+
/* Expand */
|
|
457
|
+
.uk-width-expand\@l {
|
|
458
|
+
flex: 1;
|
|
459
|
+
min-width: 1px;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
/* Large screen and bigger */
|
|
463
|
+
@media (min-width: 1600px) {
|
|
464
|
+
/* Whole */
|
|
465
|
+
.uk-width-1-1\@xl {
|
|
466
|
+
width: 100%;
|
|
467
|
+
}
|
|
468
|
+
/* Halves */
|
|
469
|
+
.uk-width-1-2\@xl {
|
|
470
|
+
width: 50%;
|
|
471
|
+
}
|
|
472
|
+
/* Thirds */
|
|
473
|
+
.uk-width-1-3\@xl {
|
|
474
|
+
width: calc(100% * 1 / 3.001);
|
|
475
|
+
}
|
|
476
|
+
.uk-width-2-3\@xl {
|
|
477
|
+
width: calc(100% * 2 / 3.001);
|
|
478
|
+
}
|
|
479
|
+
/* Quarters */
|
|
480
|
+
.uk-width-1-4\@xl {
|
|
481
|
+
width: 25%;
|
|
482
|
+
}
|
|
483
|
+
.uk-width-3-4\@xl {
|
|
484
|
+
width: 75%;
|
|
485
|
+
}
|
|
486
|
+
/* Fifths */
|
|
487
|
+
.uk-width-1-5\@xl {
|
|
488
|
+
width: 20%;
|
|
489
|
+
}
|
|
490
|
+
.uk-width-2-5\@xl {
|
|
491
|
+
width: 40%;
|
|
492
|
+
}
|
|
493
|
+
.uk-width-3-5\@xl {
|
|
494
|
+
width: 60%;
|
|
495
|
+
}
|
|
496
|
+
.uk-width-4-5\@xl {
|
|
497
|
+
width: 80%;
|
|
498
|
+
}
|
|
499
|
+
/* Sixths */
|
|
500
|
+
.uk-width-1-6\@xl {
|
|
501
|
+
width: calc(100% * 1 / 6.001);
|
|
502
|
+
}
|
|
503
|
+
.uk-width-5-6\@xl {
|
|
504
|
+
width: calc(100% * 5 / 6.001);
|
|
505
|
+
}
|
|
506
|
+
/* Pixel */
|
|
507
|
+
.uk-width-small\@xl {
|
|
508
|
+
width: var(--width-small-width);
|
|
509
|
+
}
|
|
510
|
+
.uk-width-medium\@xl {
|
|
511
|
+
width: var(--width-medium-width);
|
|
512
|
+
}
|
|
513
|
+
.uk-width-large\@xl {
|
|
514
|
+
width: var(--width-large-width);
|
|
515
|
+
}
|
|
516
|
+
.uk-width-xlarge\@xl {
|
|
517
|
+
width: var(--width-xlarge-width);
|
|
518
|
+
}
|
|
519
|
+
.uk-width-2xlarge\@xl {
|
|
520
|
+
width: var(--width-2xlarge-width);
|
|
521
|
+
}
|
|
522
|
+
/* Auto */
|
|
523
|
+
.uk-width-auto\@xl {
|
|
524
|
+
width: auto;
|
|
525
|
+
}
|
|
526
|
+
/* Expand */
|
|
527
|
+
.uk-width-expand\@xl {
|
|
528
|
+
flex: 1;
|
|
529
|
+
min-width: 1px;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
:root {
|
|
533
|
+
--width-small-width: 150px;
|
|
534
|
+
--width-medium-width: 300px;
|
|
535
|
+
--width-large-width: 450px;
|
|
536
|
+
--width-xlarge-width: 600px;
|
|
537
|
+
--width-2xlarge-width: 750px;
|
|
538
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type CollapseProps } from '@rc-component/collapse';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { type Direction } from '../../types';
|
|
3
4
|
export interface AccordionProps extends CollapseProps {
|
|
4
|
-
direction?:
|
|
5
|
+
direction?: Direction;
|
|
5
6
|
}
|
|
6
|
-
export declare function Accordion({ className, direction, ...props }: AccordionProps): React.
|
|
7
|
+
export declare function Accordion({ className, direction, ...props }: AccordionProps): React.ReactElement;
|
|
7
8
|
export declare namespace Accordion {
|
|
8
9
|
var displayName: string;
|
|
9
10
|
}
|
|
@@ -3,11 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
export interface AccordionItemProps extends Omit<CollapsePanelProps, 'expandIcon' | 'prefixCls'> {
|
|
4
4
|
expandIcon?: (props: AccordionItemProps) => React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
* Use Accordion items props instead
|
|
8
|
-
* @deprecated
|
|
9
|
-
*/
|
|
10
|
-
export declare function Item({ expandIcon, ...props }: React.PropsWithChildren<AccordionItemProps>): React.JSX.Element;
|
|
6
|
+
export declare function Item({ expandIcon, ...props }: React.PropsWithChildren<AccordionItemProps>): React.ReactElement;
|
|
11
7
|
export declare namespace Item {
|
|
12
8
|
var displayName: string;
|
|
13
9
|
}
|
|
@@ -37,10 +37,6 @@ exports.Item = Item;
|
|
|
37
37
|
const collapse_1 = require("@rc-component/collapse");
|
|
38
38
|
const React = __importStar(require("react"));
|
|
39
39
|
const Icon_1 = require("../../components/Icon");
|
|
40
|
-
/**
|
|
41
|
-
* Use Accordion items props instead
|
|
42
|
-
* @deprecated
|
|
43
|
-
*/
|
|
44
40
|
function Item({ expandIcon, ...props }) {
|
|
45
41
|
const mergedExpandIcon = React.useMemo(() => expandIcon
|
|
46
42
|
|| (({ isActive }) => (React.createElement(Icon_1.Icon, { icon: isActive ? 'expand_more' : 'chevron_right' }))), [expandIcon]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import { type AccordionProps } from '../../components/Accordion/Accordion';
|
|
3
3
|
import { type AccordionItemProps, Item } from '../../components/Accordion/Item';
|
|
4
|
-
export type {
|
|
4
|
+
export type { AccordionItemProps, AccordionProps };
|
|
5
5
|
export interface Accordion extends React.FunctionComponent<AccordionProps> {
|
|
6
6
|
Item: typeof Item;
|
|
7
7
|
}
|
|
@@ -51,9 +51,7 @@ exports.Alert = React.forwardRef(({ children, className, closable = true, severi
|
|
|
51
51
|
setClosed(true);
|
|
52
52
|
}, [onClose]);
|
|
53
53
|
const rootCls = React.useMemo(() => config.getRootPrefixCls(prefixCls || config.prefixCls, 'alert'), [config, prefixCls]);
|
|
54
|
-
React.useImperativeHandle(ref, () => ({
|
|
55
|
-
close,
|
|
56
|
-
}), [close]);
|
|
54
|
+
React.useImperativeHandle(ref, () => ({ close }), [close]);
|
|
57
55
|
return (React.createElement(motion_1.default, { motionAppear: false, motionEnter: false, motionName: `${rootCls}-motion`, visible: !closed, onLeaveEnd: onClosed, onLeaveStart: node => ({
|
|
58
56
|
maxHeight: node.offsetHeight,
|
|
59
57
|
}) }, ({ className: motionClassName, style: motionStyle }) => (React.createElement("div", { className: (0, classnames_1.default)(rootCls, {
|
|
@@ -9,7 +9,7 @@ export interface AlignOwnProps extends Omit<AlignBreakpointsConfig, 'default'> {
|
|
|
9
9
|
}
|
|
10
10
|
export type AlignProps<E extends React.ElementType = React.ElementType> = AlignOwnProps & PolymorphicProps<E> & PolymorphicProps<E, AlignOwnProps>;
|
|
11
11
|
declare const defaultElement = "div";
|
|
12
|
-
export declare function Align<E extends React.ElementType = typeof defaultElement>({ align, className, component, l, m, s, xl, ...props }: React.PropsWithChildren<AlignProps<E>>): React.
|
|
12
|
+
export declare function Align<E extends React.ElementType = typeof defaultElement>({ align, className, component, l, m, s, xl, ...props }: React.PropsWithChildren<AlignProps<E>>): React.ReactElement;
|
|
13
13
|
export declare namespace Align {
|
|
14
14
|
var displayName: string;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type AlignProps } from '../../components/Align/Align';
|
|
3
|
-
export declare function Center(props: Omit<AlignProps, 'align'>): React.
|
|
3
|
+
export declare function Center(props: Omit<AlignProps, 'align'>): React.ReactElement;
|
|
4
4
|
export declare namespace Center {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type AlignProps } from '../../components/Align/Align';
|
|
3
|
-
export declare function Left(props: Omit<AlignProps, 'align'>): React.
|
|
3
|
+
export declare function Left(props: Omit<AlignProps, 'align'>): React.ReactElement;
|
|
4
4
|
export declare namespace Left {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type AlignProps } from '../../components/Align/Align';
|
|
3
|
-
export declare function Right(props: Omit<AlignProps, 'align'>): React.
|
|
3
|
+
export declare function Right(props: Omit<AlignProps, 'align'>): React.ReactElement;
|
|
4
4
|
export declare namespace Right {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
export interface ArticleProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
3
|
prefixCls?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function Article({ className, ...props }: ArticleProps): React.
|
|
5
|
+
export declare function Article({ className, ...props }: ArticleProps): React.ReactElement;
|
|
6
6
|
export declare namespace Article {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
@@ -5,7 +5,7 @@ export interface ArticleMetaOwnProps {
|
|
|
5
5
|
}
|
|
6
6
|
export type ArticleMetaProps<E extends React.ElementType = React.ElementType> = ArticleMetaOwnProps & PolymorphicProps<E> & PolymorphicProps<E, ArticleMetaOwnProps>;
|
|
7
7
|
declare const defaultElement = "p";
|
|
8
|
-
export declare function Meta<E extends React.ElementType = typeof defaultElement>({ className, component, ...props }: React.PropsWithChildren<ArticleMetaProps<E>>): React.
|
|
8
|
+
export declare function Meta<E extends React.ElementType = typeof defaultElement>({ className, component, ...props }: React.PropsWithChildren<ArticleMetaProps<E>>): React.ReactElement;
|
|
9
9
|
export declare namespace Meta {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ export interface ArticleTitleOwnProps {
|
|
|
5
5
|
}
|
|
6
6
|
export type ArticleTitleProps<E extends React.ElementType = React.ElementType> = ArticleTitleOwnProps & PolymorphicProps<E> & PolymorphicProps<E, ArticleTitleOwnProps>;
|
|
7
7
|
declare const defaultElement = "h1";
|
|
8
|
-
export declare function Title<E extends React.ElementType = typeof defaultElement>({ className, component, ...props }: React.PropsWithChildren<ArticleTitleProps<E>>): React.
|
|
8
|
+
export declare function Title<E extends React.ElementType = typeof defaultElement>({ className, component, ...props }: React.PropsWithChildren<ArticleTitleProps<E>>): React.ReactElement;
|
|
9
9
|
export declare namespace Title {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ export interface BadgeOwnProps {
|
|
|
5
5
|
}
|
|
6
6
|
export type BadgeProps<E extends React.ElementType = React.ElementType> = BadgeOwnProps & PolymorphicProps<E> & PolymorphicProps<E, BadgeOwnProps>;
|
|
7
7
|
declare const defaultElement = "span";
|
|
8
|
-
export declare function Badge<E extends React.ElementType = typeof defaultElement>({ className, ...props }: React.PropsWithChildren<BadgeProps<E>>): React.
|
|
8
|
+
export declare function Badge<E extends React.ElementType = typeof defaultElement>({ className, ...props }: React.PropsWithChildren<BadgeProps<E>>): React.ReactElement;
|
|
9
9
|
export declare namespace Badge {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
export interface BreadcrumbProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
3
3
|
prefixCls?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function Breadcrumb({ className, ...props }: BreadcrumbProps): React.
|
|
5
|
+
export declare function Breadcrumb({ className, ...props }: BreadcrumbProps): React.ReactElement;
|
|
6
6
|
export declare namespace Breadcrumb {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
interface BreadcrumbItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare function Item({ className, disabled, ...props }: BreadcrumbItemProps): React.
|
|
5
|
+
export declare function Item({ className, disabled, ...props }: BreadcrumbItemProps): React.ReactElement;
|
|
6
6
|
export declare namespace Item {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
export interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
prefixCls?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function Group({ className, ...props }: ButtonGroupProps): React.
|
|
5
|
+
export declare function Group({ className, ...props }: ButtonGroupProps): React.ReactElement;
|
|
6
6
|
export declare namespace Group {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|