@koine/react 2.0.0-beta.16 → 2.0.0-beta.18
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/Alert/Alert.d.ts +0 -0
- package/Alert/Alert.js +0 -0
- package/Alert/index.d.ts +0 -0
- package/Alert/index.js +0 -0
- package/Animations/Reveal.d.ts +0 -0
- package/Animations/Reveal.js +0 -0
- package/Animations/Underline.d.ts +0 -0
- package/Animations/Underline.js +0 -0
- package/Animations/index.d.ts +0 -0
- package/Animations/index.js +0 -0
- package/Animations/useReveal.d.ts +0 -0
- package/Animations/useReveal.js +4 -3
- package/Autocomplete/AutocompleteDownshift.d.ts +0 -0
- package/Autocomplete/AutocompleteDownshift.js +0 -0
- package/Autocomplete/AutocompleteDownshiftMultiselect.d.ts +0 -0
- package/Autocomplete/AutocompleteDownshiftMultiselect.js +0 -0
- package/Autocomplete/AutocompleteMui.d.ts +0 -0
- package/Autocomplete/AutocompleteMui.js +3 -3
- package/Autocomplete/AutocompleteReach.d.ts +0 -0
- package/Autocomplete/AutocompleteReach.js +0 -0
- package/Autocomplete/components.d.ts +0 -0
- package/Autocomplete/components.js +0 -0
- package/Autocomplete/helpers.d.ts +0 -0
- package/Autocomplete/helpers.js +0 -0
- package/Autocomplete/index.d.ts +0 -0
- package/Autocomplete/index.js +0 -0
- package/Bg/BgColor.d.ts +0 -0
- package/Bg/BgColor.js +0 -0
- package/Bg/BgPhoto.d.ts +0 -0
- package/Bg/BgPhoto.js +0 -0
- package/Bg/BgSvg.d.ts +0 -0
- package/Bg/BgSvg.js +0 -0
- package/Bg/index.d.ts +0 -0
- package/Bg/index.js +0 -0
- package/Breadcrumbs/Breadcrumbs.d.ts +0 -0
- package/Breadcrumbs/Breadcrumbs.js +0 -0
- package/Breadcrumbs/index.d.ts +0 -0
- package/Breadcrumbs/index.js +0 -0
- package/Buttons/Button.d.ts +0 -0
- package/Buttons/Button.js +0 -0
- package/Buttons/ButtonComposite.d.ts +0 -0
- package/Buttons/ButtonComposite.js +0 -0
- package/Buttons/ButtonFab.d.ts +0 -0
- package/Buttons/ButtonFab.js +0 -0
- package/Buttons/ButtonLink.d.ts +0 -0
- package/Buttons/ButtonLink.js +0 -0
- package/Buttons/IconButton.d.ts +0 -0
- package/Buttons/IconButton.js +0 -0
- package/Buttons/index.d.ts +0 -0
- package/Buttons/index.js +0 -0
- package/Calendar/CalendarDaygridCell.d.ts +0 -0
- package/Calendar/CalendarDaygridCell.js +2 -2
- package/Calendar/CalendarDaygridNav.d.ts +0 -0
- package/Calendar/CalendarDaygridNav.js +2 -1
- package/Calendar/CalendarDaygridTable.d.ts +0 -0
- package/Calendar/CalendarDaygridTable.js +4 -4
- package/Calendar/CalendarLegend.d.ts +0 -0
- package/Calendar/CalendarLegend.js +2 -1
- package/Calendar/calendar-api-google.d.ts +0 -0
- package/Calendar/calendar-api-google.js +0 -0
- package/Calendar/index.d.ts +0 -0
- package/Calendar/index.js +0 -0
- package/Calendar/types.d.ts +0 -0
- package/Calendar/types.js +0 -0
- package/Calendar/useCalendar.d.ts +0 -0
- package/Calendar/useCalendar.js +15 -15
- package/Calendar/utils.d.ts +0 -0
- package/Calendar/utils.js +0 -0
- package/Carousel/Carousel.d.ts +0 -0
- package/Carousel/Carousel.js +0 -0
- package/Carousel/CarouselCss.d.ts +0 -0
- package/Carousel/CarouselCss.js +0 -0
- package/Carousel/index.d.ts +0 -0
- package/Carousel/index.js +0 -0
- package/Collapsable/Collapsable.d.ts +0 -0
- package/Collapsable/Collapsable.js +0 -0
- package/Collapsable/CollapsableReach.d.ts +0 -0
- package/Collapsable/CollapsableReach.js +0 -0
- package/Collapsable/index.d.ts +0 -0
- package/Collapsable/index.js +0 -0
- package/Debug/Debug.d.ts +0 -0
- package/Debug/Debug.js +0 -0
- package/Debug/index.d.ts +0 -0
- package/Debug/index.js +0 -0
- package/Details/Details.d.ts +0 -0
- package/Details/Details.js +4 -4
- package/Details/index.d.ts +0 -0
- package/Details/index.js +0 -0
- package/Dialog/DialogMui.d.ts +0 -0
- package/Dialog/DialogMui.js +0 -0
- package/Dialog/css/bare.d.ts +0 -0
- package/Dialog/css/bare.js +0 -0
- package/Dialog/index.d.ts +0 -0
- package/Dialog/index.js +0 -0
- package/Dialog/m/bare.d.ts +0 -0
- package/Dialog/m/bare.js +0 -0
- package/Dialog/m/basic.d.ts +0 -0
- package/Dialog/m/basic.js +0 -0
- package/Dialog/m/index.d.ts +0 -0
- package/Dialog/m/index.js +0 -0
- package/Dialog/sc/bare.d.ts +0 -0
- package/Dialog/sc/bare.js +0 -0
- package/Dialog/sc/framer.d.ts +0 -0
- package/Dialog/sc/framer.js +0 -0
- package/Dialog/sc/framerMaterial.d.ts +0 -0
- package/Dialog/sc/framerMaterial.js +0 -0
- package/Dialog/sc/material.d.ts +0 -0
- package/Dialog/sc/material.js +0 -0
- package/Dialog/tw/bare.d.ts +0 -0
- package/Dialog/tw/bare.js +0 -0
- package/Dialog/tw/elegant.d.ts +0 -0
- package/Dialog/tw/elegant.js +0 -0
- package/Dialog/tw/framer.d.ts +0 -0
- package/Dialog/tw/framer.js +0 -0
- package/Dialog/tw/framerMaterial.d.ts +0 -0
- package/Dialog/tw/framerMaterial.js +0 -0
- package/Dialog/tw/material.d.ts +0 -0
- package/Dialog/tw/material.js +0 -0
- package/Editor/Editor--tiptap.d.ts +0 -0
- package/Editor/Editor--tiptap.js +0 -0
- package/Editor/components.d.ts +0 -0
- package/Editor/components.js +0 -0
- package/Editor/index.d.ts +0 -0
- package/Editor/index.js +0 -0
- package/FaviconTags.d.ts +0 -0
- package/FaviconTags.js +0 -0
- package/Form/Form.d.ts +0 -0
- package/Form/Form.js +2 -2
- package/Form/index.d.ts +0 -0
- package/Form/index.js +0 -0
- package/Form/sc/bare.d.ts +0 -0
- package/Form/sc/bare.js +0 -0
- package/Forms/Checkbox/Checkbox.d.ts +0 -0
- package/Forms/Checkbox/Checkbox.js +0 -0
- package/Forms/Checkbox/index.d.ts +0 -0
- package/Forms/Checkbox/index.js +0 -0
- package/Forms/Feedback/Feedback.d.ts +0 -0
- package/Forms/Feedback/Feedback.js +0 -0
- package/Forms/Feedback/index.d.ts +0 -0
- package/Forms/Feedback/index.js +0 -0
- package/Forms/Field/Field.d.ts +0 -0
- package/Forms/Field/Field.js +0 -0
- package/Forms/Field/FieldControl.d.ts +0 -0
- package/Forms/Field/FieldControl.js +0 -0
- package/Forms/Field/FieldHint.d.ts +0 -0
- package/Forms/Field/FieldHint.js +0 -0
- package/Forms/Field/index.d.ts +0 -0
- package/Forms/Field/index.js +0 -0
- package/Forms/Input/Input.d.ts +0 -0
- package/Forms/Input/Input.js +0 -0
- package/Forms/Input/index.d.ts +0 -0
- package/Forms/Input/index.js +0 -0
- package/Forms/InputGroup/InputGroup.d.ts +0 -0
- package/Forms/InputGroup/InputGroup.js +0 -0
- package/Forms/InputGroup/index.d.ts +0 -0
- package/Forms/InputGroup/index.js +0 -0
- package/Forms/Label/Label.d.ts +0 -0
- package/Forms/Label/Label.js +0 -0
- package/Forms/Label/index.d.ts +0 -0
- package/Forms/Label/index.js +0 -0
- package/Forms/Password/Password.d.ts +0 -0
- package/Forms/Password/Password.js +2 -2
- package/Forms/Password/index.d.ts +0 -0
- package/Forms/Password/index.js +0 -0
- package/Forms/Radio/Radio.d.ts +0 -0
- package/Forms/Radio/Radio.js +0 -0
- package/Forms/Radio/index.d.ts +0 -0
- package/Forms/Radio/index.js +0 -0
- package/Forms/Switch/Switch.d.ts +0 -0
- package/Forms/Switch/Switch.js +0 -0
- package/Forms/Switch/index.d.ts +0 -0
- package/Forms/Switch/index.js +0 -0
- package/Forms/Textarea/Textarea.d.ts +0 -0
- package/Forms/Textarea/Textarea.js +0 -0
- package/Forms/Textarea/TextareaRich.d.ts +0 -0
- package/Forms/Textarea/TextareaRich.js +0 -0
- package/Forms/Textarea/index.d.ts +0 -0
- package/Forms/Textarea/index.js +0 -0
- package/Forms/Toggle/Toggle-tailwind.d.ts +0 -0
- package/Forms/Toggle/Toggle-tailwind.js +0 -0
- package/Forms/Toggle/Toggle.d.ts +0 -0
- package/Forms/Toggle/Toggle.js +0 -0
- package/Forms/Toggle/index.d.ts +0 -0
- package/Forms/Toggle/index.js +0 -0
- package/Forms/Toggle/useToggle-tailwind.d.ts +0 -0
- package/Forms/Toggle/useToggle-tailwind.js +0 -0
- package/Forms/Toggle/useToggle.d.ts +0 -0
- package/Forms/Toggle/useToggle.js +0 -0
- package/Forms/antispam.d.ts +0 -0
- package/Forms/antispam.js +0 -0
- package/Forms/helpers.d.ts +0 -0
- package/Forms/helpers.js +0 -0
- package/Forms/index.d.ts +0 -0
- package/Forms/index.js +0 -0
- package/Forms/styles.d.ts +0 -0
- package/Forms/styles.js +0 -0
- package/Gauge/Gauge.d.ts +0 -0
- package/Gauge/Gauge.js +0 -0
- package/Grid/Grid.d.ts +0 -0
- package/Grid/Grid.js +2 -2
- package/Grid/index.d.ts +0 -0
- package/Grid/index.js +0 -0
- package/Hamburger/Hamburger.d.ts +0 -0
- package/Hamburger/Hamburger.js +0 -0
- package/Hamburger/index.d.ts +0 -0
- package/Hamburger/index.js +0 -0
- package/Header/index.d.ts +0 -0
- package/Header/index.js +0 -0
- package/Header/useHeader.d.ts +0 -0
- package/Header/useHeader.js +5 -4
- package/Hidden/Hidden.d.ts +0 -0
- package/Hidden/Hidden.js +0 -0
- package/Hidden/index.d.ts +0 -0
- package/Hidden/index.js +0 -0
- package/Img/index.d.ts +0 -0
- package/Img/index.js +0 -0
- package/Img/sc/bare.d.ts +0 -0
- package/Img/sc/bare.js +0 -0
- package/Img/types.d.ts +0 -0
- package/Img/types.js +0 -0
- package/Link/Link.d.ts +0 -0
- package/Link/Link.js +0 -0
- package/Link/LinkBlank.d.ts +0 -0
- package/Link/LinkBlank.js +0 -0
- package/Link/index.d.ts +0 -0
- package/Link/index.js +0 -0
- package/Menu/Menu.d.ts +0 -0
- package/Menu/Menu.js +0 -0
- package/Menu/MenuMui.d.ts +0 -0
- package/Menu/MenuMui.js +0 -0
- package/Menu/index.d.ts +0 -0
- package/Menu/index.js +0 -0
- package/MenuItem/MenuItem.d.ts +0 -0
- package/MenuItem/MenuItem.js +0 -0
- package/MenuItem/MenuItemMui.d.ts +0 -0
- package/MenuItem/MenuItemMui.js +0 -0
- package/MenuItem/index.d.ts +0 -0
- package/MenuItem/index.js +0 -0
- package/MenuItem/useMenuItem.d.ts +0 -0
- package/MenuItem/useMenuItem.js +2 -2
- package/Meta.d.ts +0 -0
- package/Meta.js +0 -0
- package/NoJs.d.ts +0 -0
- package/NoJs.js +0 -0
- package/Pagination/PaginationNav.d.ts +0 -0
- package/Pagination/PaginationNav.js +0 -0
- package/Pagination/PaginationResults.d.ts +0 -0
- package/Pagination/PaginationResults.js +0 -0
- package/Pagination/index.d.ts +0 -0
- package/Pagination/index.js +0 -0
- package/Pill/Pill.d.ts +0 -0
- package/Pill/Pill.js +0 -0
- package/Pill/index.d.ts +0 -0
- package/Pill/index.js +0 -0
- package/Progress/ProgressCircular.d.ts +0 -0
- package/Progress/ProgressCircular.js +0 -0
- package/Progress/ProgressLinear.d.ts +0 -0
- package/Progress/ProgressLinear.js +0 -0
- package/Progress/ProgressOverlay.d.ts +0 -0
- package/Progress/ProgressOverlay.js +2 -2
- package/Progress/index.d.ts +0 -0
- package/Progress/index.js +0 -0
- package/Rating/Rating.d.ts +0 -0
- package/Rating/Rating.js +3 -3
- package/Rating/index.d.ts +0 -0
- package/Rating/index.js +0 -0
- package/Select/SelectDownshift.d.ts +0 -0
- package/Select/SelectDownshift.js +0 -0
- package/Select/components.d.ts +0 -0
- package/Select/components.js +0 -0
- package/Select/index.d.ts +0 -0
- package/Select/index.js +0 -0
- package/Sidebar/Sidebar.d.ts +0 -0
- package/Sidebar/Sidebar.js +3 -3
- package/Sidebar/index.d.ts +0 -0
- package/Sidebar/index.js +0 -0
- package/Spacing/Spacing.d.ts +0 -0
- package/Spacing/Spacing.js +3 -3
- package/Spacing/index.d.ts +0 -0
- package/Spacing/index.js +0 -0
- package/Sticky/Sticky.d.ts +0 -0
- package/Sticky/Sticky.js +0 -0
- package/Sticky/StickyCss.d.ts +0 -0
- package/Sticky/StickyCss.js +0 -0
- package/Sticky/index.d.ts +0 -0
- package/Sticky/index.js +0 -0
- package/Tabs/TabsMui.d.ts +0 -0
- package/Tabs/TabsMui.js +0 -0
- package/Tabs/index.d.ts +0 -0
- package/Tabs/index.js +0 -0
- package/Tabs/sc/bare.d.ts +0 -0
- package/Tabs/sc/bare.js +0 -0
- package/Tabs/tw/bare.d.ts +0 -0
- package/Tabs/tw/bare.js +0 -0
- package/Tabs/tw/material.d.ts +0 -0
- package/Tabs/tw/material.js +0 -0
- package/Tabs/useTabs.d.ts +0 -0
- package/Tabs/useTabs.js +3 -2
- package/Typography/CopyPasteVisible.d.ts +0 -0
- package/Typography/CopyPasteVisible.js +0 -0
- package/Typography/Native.d.ts +0 -0
- package/Typography/Native.js +0 -0
- package/Typography/ReadMore.d.ts +0 -0
- package/Typography/ReadMore.js +5 -5
- package/Typography/TextLoop.d.ts +0 -0
- package/Typography/TextLoop.js +4 -4
- package/Typography/TypeStairs.d.ts +0 -0
- package/Typography/TypeStairs.js +0 -0
- package/Typography/index.d.ts +0 -0
- package/Typography/index.js +0 -0
- package/classed.d.ts +0 -0
- package/classed.js +0 -0
- package/createUseMediaQueryWidth.d.ts +0 -0
- package/createUseMediaQueryWidth.js +4 -3
- package/css/index.d.ts +0 -0
- package/css/index.js +0 -0
- package/extendComponent.d.ts +0 -0
- package/extendComponent.js +0 -0
- package/index.d.ts +0 -0
- package/index.js +0 -0
- package/m/MotionProvider.d.ts +0 -0
- package/m/MotionProvider.js +0 -0
- package/m/index.d.ts +0 -0
- package/m/index.js +0 -0
- package/m/lite.d.ts +0 -0
- package/m/lite.js +0 -0
- package/m/max.d.ts +0 -0
- package/m/max.js +0 -0
- package/mergeRefs.d.ts +0 -0
- package/mergeRefs.js +0 -0
- package/package.json +3 -3
- package/sc/index.d.ts +0 -0
- package/sc/index.js +0 -0
- package/scm/index.d.ts +0 -0
- package/scm/index.js +0 -0
- package/shared/index.d.ts +0 -0
- package/shared/index.js +0 -0
- package/styles/Body.d.ts +0 -0
- package/styles/Body.js +0 -0
- package/styles/Global.d.ts +0 -0
- package/styles/Global.js +0 -0
- package/styles/index.d.ts +0 -0
- package/styles/index.js +0 -0
- package/styles/media.d.ts +0 -0
- package/styles/media.js +3 -2
- package/styles/spacing.d.ts +0 -0
- package/styles/spacing.js +0 -0
- package/styles/styled.d.ts +0 -0
- package/styles/styled.js +0 -0
- package/styles/theme--vanilla.d.ts +0 -0
- package/styles/theme--vanilla.js +2 -1
- package/styles/theme.d.ts +0 -0
- package/styles/theme.js +2 -2
- package/tw/index.d.ts +0 -0
- package/tw/index.js +0 -0
- package/twm/index.d.ts +0 -0
- package/twm/index.js +0 -0
- package/types.d.ts +0 -0
- package/types.js +0 -0
- package/useAsyncFn.d.ts +0 -0
- package/useAsyncFn.js +3 -3
- package/useDateLocale.d.ts +0 -0
- package/useDateLocale.js +3 -3
- package/useFirstMountState.d.ts +0 -0
- package/useFirstMountState.js +0 -0
- package/useFixedOffset.d.ts +0 -0
- package/useFixedOffset.js +0 -0
- package/useFocus.d.ts +0 -0
- package/useFocus.js +0 -0
- package/useInterval.d.ts +0 -0
- package/useInterval.js +2 -2
- package/useIsomorphicLayoutEffect.d.ts +0 -0
- package/useIsomorphicLayoutEffect.js +0 -0
- package/useKeyUp.d.ts +0 -0
- package/useKeyUp.js +2 -2
- package/useMeasure.d.ts +0 -0
- package/useMeasure.js +9 -9
- package/useMountedState.d.ts +0 -0
- package/useMountedState.js +0 -0
- package/useNavigateAway.d.ts +0 -0
- package/useNavigateAway.js +0 -0
- package/usePrevious.d.ts +0 -0
- package/usePrevious.js +2 -1
- package/usePreviousRef.d.ts +0 -0
- package/usePreviousRef.js +0 -0
- package/useScrollPosition.d.ts +0 -0
- package/useScrollPosition.js +0 -0
- package/useScrollThreshold.d.ts +0 -0
- package/useScrollThreshold.js +2 -1
- package/useScrollTo.d.ts +0 -0
- package/useScrollTo.js +2 -1
- package/useSmoothScroll.d.ts +0 -0
- package/useSmoothScroll.js +0 -0
- package/useSpinDelay.d.ts +0 -0
- package/useSpinDelay.js +2 -1
- package/useTraceUpdate.d.ts +0 -0
- package/useTraceUpdate.js +2 -1
- package/useUpdateEffect.d.ts +0 -0
- package/useUpdateEffect.js +0 -0
- package/useWindowSize.d.ts +0 -0
- package/useWindowSize.js +3 -2
|
File without changes
|
|
File without changes
|
package/Forms/Label/Label.d.ts
CHANGED
|
File without changes
|
package/Forms/Label/Label.js
CHANGED
|
File without changes
|
package/Forms/Label/index.d.ts
CHANGED
|
File without changes
|
package/Forms/Label/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign, __makeTemplateObject, __rest } from "tslib";
|
|
1
|
+
import { __assign, __makeTemplateObject, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef, useState } from "react";
|
|
4
4
|
import { ImEyeBlocked as IconInvisible, ImEye as IconVisible, } from "react-icons/im";
|
|
@@ -11,7 +11,7 @@ export var PasswordInputNative = styled(InputNative)(templateObject_2 || (templa
|
|
|
11
11
|
var PasswordIcon = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n width: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n width: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n"])), ICON_WIDTH);
|
|
12
12
|
export var Password = forwardRef(function Password(_a, ref) {
|
|
13
13
|
var register = _a.register, name = _a.name, label = _a.label, props = __rest(_a, ["register", "name", "label"]);
|
|
14
|
-
var _b = useState(false), visible = _b[0], setVisible = _b[1];
|
|
14
|
+
var _b = __read(useState(false), 2), visible = _b[0], setVisible = _b[1];
|
|
15
15
|
return (_jsxs(_Fragment, { children: [label && _jsx(Label, { children: label }), _jsxs(PasswordInputWrap, { children: [_jsx(PasswordInputNative, __assign({ type: visible ? "text" : "password", autoComplete: "new-password" }, (register ? register(name) : { name: name, ref: ref }), props)), _jsx(PasswordIcon, { onClick: function () { return setVisible(function (prev) { return !prev; }); }, children: visible ? _jsx(IconInvisible, {}) : _jsx(IconVisible, {}) })] })] }));
|
|
16
16
|
});
|
|
17
17
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
File without changes
|
package/Forms/Password/index.js
CHANGED
|
File without changes
|
package/Forms/Radio/Radio.d.ts
CHANGED
|
File without changes
|
package/Forms/Radio/Radio.js
CHANGED
|
File without changes
|
package/Forms/Radio/index.d.ts
CHANGED
|
File without changes
|
package/Forms/Radio/index.js
CHANGED
|
File without changes
|
package/Forms/Switch/Switch.d.ts
CHANGED
|
File without changes
|
package/Forms/Switch/Switch.js
CHANGED
|
File without changes
|
package/Forms/Switch/index.d.ts
CHANGED
|
File without changes
|
package/Forms/Switch/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Forms/Textarea/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Forms/Toggle/Toggle.d.ts
CHANGED
|
File without changes
|
package/Forms/Toggle/Toggle.js
CHANGED
|
File without changes
|
package/Forms/Toggle/index.d.ts
CHANGED
|
File without changes
|
package/Forms/Toggle/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Forms/antispam.d.ts
CHANGED
|
File without changes
|
package/Forms/antispam.js
CHANGED
|
File without changes
|
package/Forms/helpers.d.ts
CHANGED
|
File without changes
|
package/Forms/helpers.js
CHANGED
|
File without changes
|
package/Forms/index.d.ts
CHANGED
|
File without changes
|
package/Forms/index.js
CHANGED
|
File without changes
|
package/Forms/styles.d.ts
CHANGED
|
File without changes
|
package/Forms/styles.js
CHANGED
|
File without changes
|
package/Gauge/Gauge.d.ts
CHANGED
|
File without changes
|
package/Gauge/Gauge.js
CHANGED
|
File without changes
|
package/Grid/Grid.d.ts
CHANGED
|
File without changes
|
package/Grid/Grid.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __makeTemplateObject } from "tslib";
|
|
1
|
+
import { __makeTemplateObject, __read } from "tslib";
|
|
2
2
|
import styled from "styled-components";
|
|
3
3
|
export var GRID_COLUMNS = 12;
|
|
4
4
|
export var GRID_GUTTER_DEFAULT = "half";
|
|
@@ -26,7 +26,7 @@ function getColCss(props) {
|
|
|
26
26
|
var offsets = $offset.split(",");
|
|
27
27
|
for (var i = 0; i <= offsets.length; i++) {
|
|
28
28
|
if (offsets[i]) {
|
|
29
|
-
var _a = offsets[i].split(":"), offsetBreakpoint = _a[0], offsetSize = _a[1];
|
|
29
|
+
var _a = __read(offsets[i].split(":"), 2), offsetBreakpoint = _a[0], offsetSize = _a[1];
|
|
30
30
|
css += " \n @media(min-width: ".concat(breakpoints[offsetBreakpoint], "px){\n margin-left: ").concat((100 * offsetSize) / GRID_COLUMNS, "%;\n }\n ");
|
|
31
31
|
}
|
|
32
32
|
}
|
package/Grid/index.d.ts
CHANGED
|
File without changes
|
package/Grid/index.js
CHANGED
|
File without changes
|
package/Hamburger/Hamburger.d.ts
CHANGED
|
File without changes
|
package/Hamburger/Hamburger.js
CHANGED
|
File without changes
|
package/Hamburger/index.d.ts
CHANGED
|
File without changes
|
package/Hamburger/index.js
CHANGED
|
File without changes
|
package/Header/index.d.ts
CHANGED
|
File without changes
|
package/Header/index.js
CHANGED
|
File without changes
|
package/Header/useHeader.d.ts
CHANGED
|
File without changes
|
package/Header/useHeader.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import { __read } from "tslib";
|
|
1
2
|
import { useEffect, useState } from "react";
|
|
2
3
|
import { useMedia } from "../styles/media.js";
|
|
3
4
|
import { useTheme } from "../styles/theme.js";
|
|
4
5
|
import { useScrollPosition } from "../useScrollPosition.js";
|
|
5
6
|
export var useHeader = function () {
|
|
6
|
-
var _a = useState(false), isSticky = _a[0], setIsSticky = _a[1];
|
|
7
|
+
var _a = __read(useState(false), 2), isSticky = _a[0], setIsSticky = _a[1];
|
|
7
8
|
var themed = useTheme().header;
|
|
8
9
|
var isDesktopLayout = useMedia("min:".concat(themed.breakpoint));
|
|
9
10
|
var valueIdx = isDesktopLayout ? 1 : 0;
|
|
10
|
-
var _b = useState(themed.height[valueIdx]), headerHeight = _b[0], setHeaderHeight = _b[1];
|
|
11
|
-
var _c = useState(themed.height[valueIdx]), placeholderHeight = _c[0], setPlaceholderHeight = _c[1];
|
|
12
|
-
var _d = useState(themed.logoWidth[valueIdx]), logoWidth = _d[0], setLogoWidth = _d[1];
|
|
11
|
+
var _b = __read(useState(themed.height[valueIdx]), 2), headerHeight = _b[0], setHeaderHeight = _b[1];
|
|
12
|
+
var _c = __read(useState(themed.height[valueIdx]), 2), placeholderHeight = _c[0], setPlaceholderHeight = _c[1];
|
|
13
|
+
var _d = __read(useState(themed.logoWidth[valueIdx]), 2), logoWidth = _d[0], setLogoWidth = _d[1];
|
|
13
14
|
useScrollPosition(function (currentPosition) {
|
|
14
15
|
var isPastThreshold = currentPosition.y * -1 > 40;
|
|
15
16
|
if (isSticky !== isPastThreshold)
|
package/Hidden/Hidden.d.ts
CHANGED
|
File without changes
|
package/Hidden/Hidden.js
CHANGED
|
File without changes
|
package/Hidden/index.d.ts
CHANGED
|
File without changes
|
package/Hidden/index.js
CHANGED
|
File without changes
|
package/Img/index.d.ts
CHANGED
|
File without changes
|
package/Img/index.js
CHANGED
|
File without changes
|
package/Img/sc/bare.d.ts
CHANGED
|
File without changes
|
package/Img/sc/bare.js
CHANGED
|
File without changes
|
package/Img/types.d.ts
CHANGED
|
File without changes
|
package/Img/types.js
CHANGED
|
File without changes
|
package/Link/Link.d.ts
CHANGED
|
File without changes
|
package/Link/Link.js
CHANGED
|
File without changes
|
package/Link/LinkBlank.d.ts
CHANGED
|
File without changes
|
package/Link/LinkBlank.js
CHANGED
|
File without changes
|
package/Link/index.d.ts
CHANGED
|
File without changes
|
package/Link/index.js
CHANGED
|
File without changes
|
package/Menu/Menu.d.ts
CHANGED
|
File without changes
|
package/Menu/Menu.js
CHANGED
|
File without changes
|
package/Menu/MenuMui.d.ts
CHANGED
|
File without changes
|
package/Menu/MenuMui.js
CHANGED
|
File without changes
|
package/Menu/index.d.ts
CHANGED
|
File without changes
|
package/Menu/index.js
CHANGED
|
File without changes
|
package/MenuItem/MenuItem.d.ts
CHANGED
|
File without changes
|
package/MenuItem/MenuItem.js
CHANGED
|
File without changes
|
|
File without changes
|
package/MenuItem/MenuItemMui.js
CHANGED
|
File without changes
|
package/MenuItem/index.d.ts
CHANGED
|
File without changes
|
package/MenuItem/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/MenuItem/useMenuItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __read } from "tslib";
|
|
2
2
|
import useMenu from "@mui/base/useMenu";
|
|
3
3
|
import useForkRef from "@mui/utils/useForkRef";
|
|
4
4
|
import { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
@@ -16,7 +16,7 @@ export function useMenuItem(props) {
|
|
|
16
16
|
useEffect(function () {
|
|
17
17
|
registerItem(id, { disabled: disabled, id: id, ref: itemRef, label: label });
|
|
18
18
|
}, [id, registerItem, disabled, ref, label]);
|
|
19
|
-
var _d = useState(false), focusRequested = _d[0], requestFocus = _d[1];
|
|
19
|
+
var _d = __read(useState(false), 2), focusRequested = _d[0], requestFocus = _d[1];
|
|
20
20
|
var focusIfRequested = useCallback(function () {
|
|
21
21
|
if (focusRequested && itemRef.current != null) {
|
|
22
22
|
itemRef.current.focus();
|
package/Meta.d.ts
CHANGED
|
File without changes
|
package/Meta.js
CHANGED
|
File without changes
|
package/NoJs.d.ts
CHANGED
|
File without changes
|
package/NoJs.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Pagination/index.d.ts
CHANGED
|
File without changes
|
package/Pagination/index.js
CHANGED
|
File without changes
|
package/Pill/Pill.d.ts
CHANGED
|
File without changes
|
package/Pill/Pill.js
CHANGED
|
File without changes
|
package/Pill/index.d.ts
CHANGED
|
File without changes
|
package/Pill/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __makeTemplateObject } from "tslib";
|
|
1
|
+
import { __makeTemplateObject, __read } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { m } from "framer-motion";
|
|
4
4
|
import { useEffect } from "react";
|
|
@@ -10,7 +10,7 @@ var ProgressOverlayWrap = styled(m.div)(templateObject_1 || (templateObject_1 =
|
|
|
10
10
|
var ProgressOverlayCenterer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--progress-overlay-bg);\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--progress-overlay-bg);\n"])));
|
|
11
11
|
export var ProgressOverlay = function (_a) {
|
|
12
12
|
var running = _a.running;
|
|
13
|
-
var _b = useHeader(), headerHeight = _b[2];
|
|
13
|
+
var _b = __read(useHeader(), 3), headerHeight = _b[2];
|
|
14
14
|
useEffect(function () {
|
|
15
15
|
document.body.style.cursor = running ? "wait" : "";
|
|
16
16
|
}, [running]);
|
package/Progress/index.d.ts
CHANGED
|
File without changes
|
package/Progress/index.js
CHANGED
|
File without changes
|
package/Rating/Rating.d.ts
CHANGED
|
File without changes
|
package/Rating/Rating.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign, __makeTemplateObject, __rest } from "tslib";
|
|
1
|
+
import { __assign, __makeTemplateObject, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useCallback, useEffect, useId, useState } from "react";
|
|
4
4
|
import styled from "styled-components";
|
|
@@ -15,8 +15,8 @@ export var RatingRoot = styled.div(templateObject_5 || (templateObject_5 = __mak
|
|
|
15
15
|
export var Rating = function (_a) {
|
|
16
16
|
var _b = _a.value, value = _b === void 0 ? 0 : _b, count = _a.count, _c = _a.min, min = _c === void 0 ? 0 : _c, _d = _a.max, max = _d === void 0 ? 5 : _d, _e = _a.showDetails, showDetails = _e === void 0 ? true : _e, colorBg = _a.colorBg, colorStroke = _a.colorStroke, _f = _a.starSize, starSize = _f === void 0 ? 16 : _f;
|
|
17
17
|
var id = useId();
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _g = __read(useState(value), 1), currentValue = _g[0];
|
|
19
|
+
var _h = __read(useState([]), 2), stars = _h[0], setStars = _h[1];
|
|
20
20
|
var getStars = useCallback(function (activeCount) {
|
|
21
21
|
var stars = [];
|
|
22
22
|
for (var currentStar = min + 1; currentStar < max + 1; currentStar++) {
|
package/Rating/index.d.ts
CHANGED
|
File without changes
|
package/Rating/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Select/components.d.ts
CHANGED
|
File without changes
|
package/Select/components.js
CHANGED
|
File without changes
|
package/Select/index.d.ts
CHANGED
|
File without changes
|
package/Select/index.js
CHANGED
|
File without changes
|
package/Sidebar/Sidebar.d.ts
CHANGED
|
File without changes
|
package/Sidebar/Sidebar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __makeTemplateObject } from "tslib";
|
|
1
|
+
import { __makeTemplateObject, __read } from "tslib";
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useCallback, useState } from "react";
|
|
4
4
|
import { CgCloseR as IconClose } from "react-icons/cg";
|
|
@@ -13,8 +13,8 @@ var SidebarWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTe
|
|
|
13
13
|
var SidebarToggle = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n z-index: 21;\n position: fixed;\n right: var(--gutter-half);\n bottom: var(--gutter-half);\n ", " {\n display: none;\n }\n\n path {\n stroke: currentColor;\n }\n"], ["\n z-index: 21;\n position: fixed;\n right: var(--gutter-half);\n bottom: var(--gutter-half);\n ", " {\n display: none;\n }\n\n path {\n stroke: currentColor;\n }\n"])), min.md);
|
|
14
14
|
export var Sidebar = function (_a) {
|
|
15
15
|
var children = _a.children;
|
|
16
|
-
var _b = useState(false), open = _b[0], setOpen = _b[1];
|
|
17
|
-
var _c = useHeader(), headerHeight = _c[2];
|
|
16
|
+
var _b = __read(useState(false), 2), open = _b[0], setOpen = _b[1];
|
|
17
|
+
var _c = __read(useHeader(), 3), headerHeight = _c[2];
|
|
18
18
|
var handleClickToggle = useCallback(function () {
|
|
19
19
|
setOpen(function (prevOpen) { return !prevOpen; });
|
|
20
20
|
}, []);
|
package/Sidebar/index.d.ts
CHANGED
|
File without changes
|
package/Sidebar/index.js
CHANGED
|
File without changes
|
package/Spacing/Spacing.d.ts
CHANGED
|
File without changes
|
package/Spacing/Spacing.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { __assign, __makeTemplateObject, __rest, __spreadArray } from "tslib";
|
|
1
|
+
import { __assign, __makeTemplateObject, __read, __rest, __spreadArray } from "tslib";
|
|
2
2
|
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import styled from "styled-components";
|
|
4
4
|
import { isUndefined } from "@koine/utils";
|
|
5
5
|
import { spacingBottom, spacingTop, } from "../styles/spacing.js";
|
|
6
|
-
var Root = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (p) { return p.$top && spacingTop.call.apply(spacingTop, __spreadArray([p.theme], p.$top, false)); }, function (p) { return p.$bottom && spacingBottom.call.apply(spacingBottom, __spreadArray([p.theme], p.$bottom, false)); });
|
|
6
|
+
var Root = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (p) { return p.$top && spacingTop.call.apply(spacingTop, __spreadArray([p.theme], __read(p.$top), false)); }, function (p) { return p.$bottom && spacingBottom.call.apply(spacingBottom, __spreadArray([p.theme], __read(p.$bottom), false)); });
|
|
7
7
|
var extractDirectionArgs = function (raw) {
|
|
8
|
-
var _a = raw.split(":"), size = _a[0], factor = _a[1], property = _a[2], devices = _a[3];
|
|
8
|
+
var _a = __read(raw.split(":"), 4), size = _a[0], factor = _a[1], property = _a[2], devices = _a[3];
|
|
9
9
|
var factorArg = isUndefined(factor) ? undefined : parseFloat(factor);
|
|
10
10
|
var devicesArg = devices === null || devices === void 0 ? void 0 : devices.split(",");
|
|
11
11
|
return [size, factorArg, property, devicesArg];
|
package/Spacing/index.d.ts
CHANGED
|
File without changes
|
package/Spacing/index.js
CHANGED
|
File without changes
|
package/Sticky/Sticky.d.ts
CHANGED
|
File without changes
|
package/Sticky/Sticky.js
CHANGED
|
File without changes
|
package/Sticky/StickyCss.d.ts
CHANGED
|
File without changes
|
package/Sticky/StickyCss.js
CHANGED
|
File without changes
|
package/Sticky/index.d.ts
CHANGED
|
File without changes
|
package/Sticky/index.js
CHANGED
|
File without changes
|
package/Tabs/TabsMui.d.ts
CHANGED
|
File without changes
|
package/Tabs/TabsMui.js
CHANGED
|
File without changes
|
package/Tabs/index.d.ts
CHANGED
|
File without changes
|
package/Tabs/index.js
CHANGED
|
File without changes
|
package/Tabs/sc/bare.d.ts
CHANGED
|
File without changes
|
package/Tabs/sc/bare.js
CHANGED
|
File without changes
|
package/Tabs/tw/bare.d.ts
CHANGED
|
File without changes
|
package/Tabs/tw/bare.js
CHANGED
|
File without changes
|
package/Tabs/tw/material.d.ts
CHANGED
|
File without changes
|
package/Tabs/tw/material.js
CHANGED
|
File without changes
|
package/Tabs/useTabs.d.ts
CHANGED
|
File without changes
|
package/Tabs/useTabs.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { __read } from "tslib";
|
|
1
2
|
import useControlled from "@mui/utils/useControlled";
|
|
2
3
|
import { useCallback, useId, useMemo } from "react";
|
|
3
4
|
export var useTabs = function (props) {
|
|
4
5
|
var valueProp = props.value, defaultValue = props.defaultValue, onChange = props.onChange, orientation = props.orientation, direction = props.direction, selectionFollowsFocus = props.selectionFollowsFocus;
|
|
5
|
-
var _a = useControlled({
|
|
6
|
+
var _a = __read(useControlled({
|
|
6
7
|
controlled: valueProp,
|
|
7
8
|
default: defaultValue,
|
|
8
9
|
name: "Tabs",
|
|
9
10
|
state: "value",
|
|
10
|
-
}), value = _a[0], setValue = _a[1];
|
|
11
|
+
}), 2), value = _a[0], setValue = _a[1];
|
|
11
12
|
var idPrefix = useId();
|
|
12
13
|
var onSelected = useCallback(function (e, newValue) {
|
|
13
14
|
setValue(newValue);
|
|
File without changes
|
|
File without changes
|
package/Typography/Native.d.ts
CHANGED
|
File without changes
|
package/Typography/Native.js
CHANGED
|
File without changes
|
package/Typography/ReadMore.d.ts
CHANGED
|
File without changes
|
package/Typography/ReadMore.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign, __makeTemplateObject, __rest } from "tslib";
|
|
1
|
+
import { __assign, __makeTemplateObject, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { m, useSpring } from "framer-motion";
|
|
4
4
|
import { useMemo, useRef, useState } from "react";
|
|
@@ -13,10 +13,10 @@ var BtnIcon = styled.span(templateObject_6 || (templateObject_6 = __makeTemplate
|
|
|
13
13
|
export var ReadMore = function (_a) {
|
|
14
14
|
var _b = _a.lines, lines = _b === void 0 ? 3 : _b, _c = _a.lineHeight, lineHeight = _c === void 0 ? 1.6 : _c, _d = _a.fontSize, fontSize = _d === void 0 ? 14 : _d, _e = _a.bg, bg = _e === void 0 ? "var(--bodyBg)" : _e, _f = _a.expand, expand = _f === void 0 ? "Expand" : _f, _g = _a.collapse, collapse = _g === void 0 ? "Collapse" : _g, props = __rest(_a, ["lines", "lineHeight", "fontSize", "bg", "expand", "collapse"]);
|
|
15
15
|
var defaultMaxHeight = lines * (lineHeight * fontSize);
|
|
16
|
-
var _h = useState(false), expanded = _h[0], setExpanded = _h[1];
|
|
17
|
-
var _j = useState(defaultMaxHeight), maxHeight = _j[0], setMaxHeight = _j[1];
|
|
18
|
-
var _k = useState(0), fullHeight = _k[0], setFullHeight = _k[1];
|
|
19
|
-
var _l = useState(false), exceeds = _l[0], setExceeds = _l[1];
|
|
16
|
+
var _h = __read(useState(false), 2), expanded = _h[0], setExpanded = _h[1];
|
|
17
|
+
var _j = __read(useState(defaultMaxHeight), 2), maxHeight = _j[0], setMaxHeight = _j[1];
|
|
18
|
+
var _k = __read(useState(0), 2), fullHeight = _k[0], setFullHeight = _k[1];
|
|
19
|
+
var _l = __read(useState(false), 2), exceeds = _l[0], setExceeds = _l[1];
|
|
20
20
|
var content = useRef(null);
|
|
21
21
|
var height = useSpring(defaultMaxHeight);
|
|
22
22
|
var styles = useMemo(function () { return (exceeds ? { height: height, overflow: "hidden" } : {}); }, [exceeds, height]);
|
package/Typography/TextLoop.d.ts
CHANGED
|
File without changes
|
package/Typography/TextLoop.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { __assign, __rest } from "tslib";
|
|
1
|
+
import { __assign, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { AnimatePresence, m } from "framer-motion";
|
|
4
4
|
import { useEffect, useRef, useState } from "react";
|
|
5
5
|
export var TextLoopPiece = function (_a) {
|
|
6
6
|
var _b = _a.text, text = _b === void 0 ? "" : _b, _c = _a.style, style = _c === void 0 ? {} : _c, _d = _a.className, className = _d === void 0 ? "" : _d, _e = _a.direction, direction = _e === void 0 ? "up" : _e, _f = _a.inline, inline = _f === void 0 ? true : _f, _g = _a.noOverflow, noOverflow = _g === void 0 ? true : _g, _h = _a.delay, delay = _h === void 0 ? 400 : _h;
|
|
7
7
|
var placeholderRef = useRef(null);
|
|
8
|
-
var _j = useState({ data: "", key: "" }), content = _j[0], setContent = _j[1];
|
|
9
|
-
var _k = useState(inline ? 0 : "auto"), width = _k[0], setWidth = _k[1];
|
|
8
|
+
var _j = __read(useState({ data: "", key: "" }), 2), content = _j[0], setContent = _j[1];
|
|
9
|
+
var _k = __read(useState(inline ? 0 : "auto"), 2), width = _k[0], setWidth = _k[1];
|
|
10
10
|
useEffect(function () {
|
|
11
11
|
var timeoutId = setTimeout(function () {
|
|
12
12
|
if (!placeholderRef.current)
|
|
@@ -36,7 +36,7 @@ export var TextLoopPiece = function (_a) {
|
|
|
36
36
|
};
|
|
37
37
|
export var TextLoop = function (_a) {
|
|
38
38
|
var texts = _a.texts, _b = _a.interval, interval = _b === void 0 ? 3000 : _b, props = __rest(_a, ["texts", "interval"]);
|
|
39
|
-
var _c = useState(0), index = _c[0], setIndex = _c[1];
|
|
39
|
+
var _c = __read(useState(0), 2), index = _c[0], setIndex = _c[1];
|
|
40
40
|
useEffect(function () {
|
|
41
41
|
var intervalId = setInterval(function () { return setIndex(function (index) { return index + 1; }); }, interval);
|
|
42
42
|
return function () { return clearTimeout(intervalId); };
|
|
File without changes
|
package/Typography/TypeStairs.js
CHANGED
|
File without changes
|
package/Typography/index.d.ts
CHANGED
|
File without changes
|
package/Typography/index.js
CHANGED
|
File without changes
|
package/classed.d.ts
CHANGED
|
File without changes
|
package/classed.js
CHANGED
|
File without changes
|
|
File without changes
|