@inntechcorp/it-design 3.1.24 → 4.0.0-beta.2
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/ACCESSIBILITY.md +517 -0
- package/README.md +88 -11
- package/dist/alert/Description.d.ts +7 -0
- package/dist/alert/Title.d.ts +7 -0
- package/dist/alert/index.d.ts +3 -1
- package/dist/alink/index.d.ts +2 -10
- package/dist/alink/styled.d.ts +1 -1
- package/dist/button/index.d.ts +10 -2
- package/dist/calendar/index.d.ts +9 -1
- package/dist/card/Card.d.ts +9 -0
- package/dist/card/CardAction.d.ts +7 -0
- package/dist/card/CardContent.d.ts +7 -0
- package/dist/card/CardDescription.d.ts +7 -0
- package/dist/card/CardFooter.d.ts +7 -0
- package/dist/card/CardHeader.d.ts +8 -0
- package/dist/card/CardTabs.d.ts +7 -0
- package/dist/card/CardTitle.d.ts +7 -0
- package/dist/card/index.d.ts +8 -3
- package/dist/cjs/_virtual/_commonjsHelpers.js +1 -0
- package/dist/cjs/_virtual/customParseFormat.js +1 -0
- package/dist/cjs/_virtual/customParseFormat2.js +1 -0
- package/dist/cjs/_virtual/dayjs.min.js +1 -0
- package/dist/cjs/_virtual/dayjs.min2.js +1 -0
- package/dist/cjs/_virtual/localizedFormat.js +1 -0
- package/dist/cjs/_virtual/localizedFormat2.js +1 -0
- package/dist/cjs/_virtual/react.js +1 -0
- package/dist/cjs/accordion/index.js +1 -0
- package/dist/cjs/accordion/item/Item.js +1 -0
- package/dist/cjs/accordion/item/styled.js +20 -0
- package/dist/cjs/accordion/styled.js +15 -0
- package/dist/cjs/accordion/submenu/SubMenu.js +1 -0
- package/dist/cjs/accordion/submenu/styled.js +214 -0
- package/dist/cjs/alert/Description.js +1 -0
- package/dist/cjs/alert/Title.js +1 -0
- package/dist/cjs/alert/index.js +1 -0
- package/dist/cjs/alink/index.js +1 -0
- package/dist/cjs/alink/styled.js +5 -0
- package/dist/cjs/back-top/index.js +1 -0
- package/dist/cjs/back-top/styled.js +25 -0
- package/dist/cjs/button/index.js +1 -0
- package/dist/cjs/calendar/dates.js +1 -0
- package/dist/cjs/calendar/day/Day.js +1 -0
- package/dist/cjs/calendar/day/styled.js +91 -0
- package/dist/cjs/calendar/header/Header.js +1 -0
- package/dist/cjs/calendar/header/styled.js +196 -0
- package/dist/cjs/calendar/index.js +1 -0
- package/dist/cjs/calendar/styled.js +82 -0
- package/dist/cjs/card/Card.js +1 -0
- package/dist/cjs/card/CardAction.js +1 -0
- package/dist/cjs/card/CardContent.js +1 -0
- package/dist/cjs/card/CardDescription.js +1 -0
- package/dist/cjs/card/CardFooter.js +1 -0
- package/dist/cjs/card/CardHeader.js +1 -0
- package/dist/cjs/card/CardTabs.js +1 -0
- package/dist/cjs/card/CardTitle.js +1 -0
- package/dist/cjs/checkbox/group/index.js +1 -0
- package/dist/cjs/checkbox/index.js +1 -0
- package/dist/cjs/context/ITDContext.js +1 -0
- package/dist/cjs/context/ITDThemeProvider.js +1 -0
- package/dist/cjs/context/styled.js +15 -0
- package/dist/cjs/datepicker/index.js +1 -0
- package/dist/cjs/enums/enum.js +1 -0
- package/dist/cjs/flex/index.js +1 -0
- package/dist/cjs/flex/styled.js +35 -0
- package/dist/cjs/floating/Arrow.js +108 -0
- package/dist/cjs/floating/FloatingContent.js +38 -0
- package/dist/cjs/form/context/FormContext.js +1 -0
- package/dist/cjs/form/context/FormRegistry.js +1 -0
- package/dist/cjs/form/context/FormStore.js +1 -0
- package/dist/cjs/form/control/Control.js +1 -0
- package/dist/cjs/form/group/Group.js +1 -0
- package/dist/cjs/form/index.js +1 -0
- package/dist/cjs/form/item/Item.js +1 -0
- package/dist/cjs/form/validation/TCIdentity.js +1 -0
- package/dist/cjs/form/validation/Validator.js +1 -0
- package/dist/cjs/form/wrapper/FormWrapper.js +1 -0
- package/dist/cjs/helpers/array/ChunkArray.js +1 -0
- package/dist/cjs/helpers/aspectratio/DetermineNewHeight.js +1 -0
- package/dist/cjs/helpers/aspectratio/DetermineNewWidth.js +1 -0
- package/dist/cjs/helpers/base64/Base64Decode.js +1 -0
- package/dist/cjs/helpers/base64/Base64Encode.js +1 -0
- package/dist/cjs/helpers/binary/FormatBytes.js +1 -0
- package/dist/cjs/helpers/binary/GetTypeByFileType.js +1 -0
- package/dist/cjs/helpers/checker/CheckFileURL.js +1 -0
- package/dist/cjs/helpers/checker/FileChecker.js +1 -0
- package/dist/cjs/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
- package/dist/cjs/helpers/country/GetCountryCodeByLanguage.js +1 -0
- package/dist/cjs/helpers/css/FindSelector.js +1 -0
- package/dist/cjs/helpers/currency/ConvertCurrency.js +1 -0
- package/dist/cjs/helpers/currency/GetByCurrency.js +1 -0
- package/dist/cjs/helpers/currency/GetCurrencyFormat.js +1 -0
- package/dist/cjs/helpers/currency/GetCurrencySymbol.js +1 -0
- package/dist/cjs/helpers/currency/GetDecimalByCurrency.js +1 -0
- package/dist/cjs/helpers/datetime/FormatDate.js +1 -0
- package/dist/cjs/helpers/datetime/FormatDateTime.js +1 -0
- package/dist/cjs/helpers/datetime/FormatSimpleDate.js +1 -0
- package/dist/cjs/helpers/datetime/FormatSimpleDateTime.js +1 -0
- package/dist/cjs/helpers/datetime/FormatTime.js +1 -0
- package/dist/cjs/helpers/datetime/dayjsSetup.js +1 -0
- package/dist/cjs/helpers/format/ToKebabCase.js +1 -0
- package/dist/cjs/helpers/json/IsValidJSON.js +1 -0
- package/dist/cjs/helpers/math/AddZero.js +1 -0
- package/dist/cjs/helpers/promise/Wait.js +1 -0
- package/dist/cjs/helpers/remover/RemoveUnits.js +1 -0
- package/dist/cjs/helpers/string/UniUpperCase.js +1 -0
- package/dist/cjs/helpers/svg/SVGLoader.js +1 -0
- package/dist/cjs/helpers/svg/styles.js +22 -0
- package/dist/cjs/helpers/theme/AddDefaultThemeStyle.js +1 -0
- package/dist/cjs/helpers/theme/Color.js +1 -0
- package/dist/cjs/helpers/theme/GenerateColorScale.js +1 -0
- package/dist/cjs/helpers/theme/createTheme.js +1 -0
- package/dist/cjs/helpers/theme/cssVariables.js +1 -0
- package/dist/cjs/helpers/theme/dark.js +1 -0
- package/dist/cjs/helpers/theme/light.js +1 -0
- package/dist/cjs/helpers/theme/presets.js +1 -0
- package/dist/cjs/helpers/theme/tokens.js +1 -0
- package/dist/cjs/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/cjs/hooks/useAddExternalCSS.js +1 -0
- package/dist/cjs/hooks/useAvoidCollision.js +1 -0
- package/dist/cjs/hooks/useComponentSize.js +1 -0
- package/dist/cjs/hooks/useConnectionStatus.js +1 -0
- package/dist/cjs/hooks/useConstructor.js +1 -0
- package/dist/cjs/hooks/useContextBridge.js +1 -0
- package/dist/cjs/hooks/useCoreFetch.js +1 -0
- package/dist/cjs/hooks/useFloatingPosition.js +1 -0
- package/dist/cjs/hooks/useFloatingTrigger.js +1 -0
- package/dist/cjs/hooks/useFocusTrap.js +1 -0
- package/dist/cjs/hooks/useKeyboardShortcut.js +1 -0
- package/dist/cjs/hooks/useMultiQuery.js +1 -0
- package/dist/cjs/hooks/useOnClickOutside.js +1 -0
- package/dist/cjs/hooks/useOnESCKeyDown.js +1 -0
- package/dist/cjs/hooks/useOnResize.js +1 -0
- package/dist/cjs/hooks/useOrientation.js +1 -0
- package/dist/cjs/hooks/useReCaptcha.js +1 -0
- package/dist/cjs/hooks/useSingleQuery.js +1 -0
- package/dist/cjs/hovercard/HoverCard.js +1 -0
- package/dist/cjs/hovercard/HoverCardContent.js +1 -0
- package/dist/cjs/hovercard/HoverCardTrigger.js +1 -0
- package/dist/cjs/hovercard/hoverCardContext.js +1 -0
- package/dist/cjs/html/header/H1.js +1 -0
- package/dist/cjs/html/header/H2.js +1 -0
- package/dist/cjs/html/header/H3.js +1 -0
- package/dist/cjs/html/header/H4.js +1 -0
- package/dist/cjs/html/header/styled.js +33 -0
- package/dist/cjs/icons/Arrow.js +1 -0
- package/dist/cjs/icons/BackToTop.js +1 -0
- package/dist/cjs/icons/Checkmark.js +1 -0
- package/dist/cjs/icons/InlineSelectArrow.js +1 -0
- package/dist/cjs/icons/Lock.js +1 -0
- package/dist/cjs/icons/NoData.js +1 -0
- package/dist/cjs/icons/Picture.js +1 -0
- package/dist/cjs/icons/Trash.js +1 -0
- package/dist/cjs/icons/Upload.js +1 -0
- package/dist/cjs/icons/ZoomIn.js +1 -0
- package/dist/cjs/icons/ZoomOut.js +1 -0
- package/dist/cjs/image/index.js +1 -0
- package/dist/cjs/image/styled.js +4 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/input/index.js +1 -0
- package/dist/cjs/label/index.js +1 -0
- package/dist/cjs/locales/en/calendar.json.js +1 -0
- package/dist/cjs/locales/en/itd.json.js +1 -0
- package/dist/cjs/locales/tr/calendar.json.js +1 -0
- package/dist/cjs/locales/tr/itd.json.js +1 -0
- package/dist/cjs/logger/index.js +1 -0
- package/dist/cjs/modal/container/ModalContainer.js +1 -0
- package/dist/cjs/modal/container/styled.js +18 -0
- package/dist/cjs/modal/context/ModalContext.js +1 -0
- package/dist/cjs/modal/index.js +1 -0
- package/dist/cjs/modal/modal/Modal.js +1 -0
- package/dist/cjs/modal/modal/styled.js +128 -0
- package/dist/cjs/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
- package/dist/cjs/node_modules/clsx/dist/clsx.js +1 -0
- package/dist/cjs/node_modules/dayjs/dayjs.min.js +1 -0
- package/dist/cjs/node_modules/dayjs/plugin/customParseFormat.js +1 -0
- package/dist/cjs/node_modules/dayjs/plugin/localizedFormat.js +1 -0
- package/dist/cjs/node_modules/fast-deep-equal/react.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_Symbol.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_arrayMap.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_baseGetTag.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_baseToString.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_freeGlobal.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_getRawTag.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_objectToString.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_root.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isArray.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isObject.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isObjectLike.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isSymbol.js +1 -0
- package/dist/cjs/node_modules/lodash-es/toString.js +1 -0
- package/dist/cjs/node_modules/lodash-es/uniqueId.js +1 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/Icon.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/createLucideIcon.js +1 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/defaultAttributes.js +1 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/calendar-1.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/chevron-down.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/circle-x.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye-off.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/image-off.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/info.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/lock.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/minus.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/plus.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/trash.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/upload.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/x.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
- package/dist/cjs/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
- package/dist/cjs/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
- package/dist/cjs/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
- package/dist/cjs/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
- package/dist/cjs/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
- package/dist/cjs/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -0
- package/dist/cjs/notification/container/Container.js +1 -0
- package/dist/cjs/notification/container/styled.js +26 -0
- package/dist/cjs/notification/context/NotificationsContext.js +1 -0
- package/dist/cjs/notification/index.js +1 -0
- package/dist/cjs/notification/item/Item.js +1 -0
- package/dist/cjs/notification/item/styled.js +42 -0
- package/dist/cjs/popover/Popover.js +1 -0
- package/dist/cjs/popover/PopoverContent.js +1 -0
- package/dist/cjs/popover/PopoverTrigger.js +1 -0
- package/dist/cjs/primitives/Slot.js +1 -0
- package/dist/cjs/progress/index.js +1 -0
- package/dist/cjs/progress/styled.js +59 -0
- package/dist/cjs/radio/button/RadioButton.js +1 -0
- package/dist/cjs/radio/button/styled.js +133 -0
- package/dist/cjs/radio/group/Group.js +1 -0
- package/dist/cjs/radio/group/styled.js +7 -0
- package/dist/cjs/radio/index.js +1 -0
- package/dist/cjs/result/index.js +1 -0
- package/dist/cjs/result/styled.js +109 -0
- package/dist/cjs/select/dropdown/Dropdown.js +1 -0
- package/dist/cjs/select/index.js +1 -0
- package/dist/cjs/select/option/Option.js +1 -0
- package/dist/cjs/select/selector/Selector.js +1 -0
- package/dist/cjs/select/selector/selectorinput/SelectorInput.js +1 -0
- package/dist/cjs/spin/index.js +1 -0
- package/dist/cjs/status/index.js +1 -0
- package/dist/cjs/switch/index.js +1 -0
- package/dist/cjs/table/index.js +1 -0
- package/dist/cjs/table/styled.js +458 -0
- package/dist/cjs/tabs/index.js +1 -0
- package/dist/cjs/textarea/index.js +1 -0
- package/dist/cjs/tinyscrollbar/index.js +1 -0
- package/dist/cjs/tinyscrollbar/scroll.styled.js +21 -0
- package/dist/cjs/tooltip/Tooltip.js +1 -0
- package/dist/cjs/tooltip/TooltipContent.js +1 -0
- package/dist/cjs/tooltip/TooltipTrigger.js +1 -0
- package/dist/cjs/tooltip/tooltipContext.js +1 -0
- package/dist/cjs/types/InputProps.js +1 -0
- package/dist/cjs/upload/index.js +1 -0
- package/dist/cjs/utils/CommonStyledComponents.js +1 -0
- package/dist/cjs/utils/ErrorAnnouncement.js +1 -0
- package/dist/cjs/utils/GetButtonSizeSlug.js +1 -0
- package/dist/cjs/utils/GetSizeSlugBySize.js +1 -0
- package/dist/cjs/utils/InlineSVGCached.js +1 -0
- package/dist/cjs/utils/cn.js +1 -0
- package/dist/context/ITDContext.d.ts +3 -0
- package/dist/context/ITDThemeProvider.d.ts +11 -0
- package/dist/css/alert.css +122 -0
- package/dist/css/base.css +392 -0
- package/dist/css/button.css +380 -0
- package/dist/css/card.css +58 -0
- package/dist/css/checkbox.css +251 -0
- package/dist/css/common.css +116 -0
- package/dist/css/components.css +92 -0
- package/dist/css/datepicker.css +75 -0
- package/dist/css/form.css +28 -0
- package/dist/css/hovercard.css +11 -0
- package/dist/css/input.css +421 -0
- package/dist/css/popover.css +10 -0
- package/dist/css/properties.css +299 -0
- package/dist/css/reset.css +310 -0
- package/dist/css/select.css +624 -0
- package/dist/css/spin.css +31 -0
- package/dist/css/status.css +74 -0
- package/dist/css/switch.css +178 -0
- package/dist/css/tabs.css +167 -0
- package/dist/css/textarea.css +208 -0
- package/dist/css/tooltip.css +22 -0
- package/dist/css/upload.css +335 -0
- package/dist/css/utilities.css +565 -0
- package/dist/enums/enum.d.ts +138 -8
- package/dist/es/_virtual/_commonjsHelpers.js +1 -0
- package/dist/es/_virtual/customParseFormat.js +1 -0
- package/dist/es/_virtual/customParseFormat2.js +1 -0
- package/dist/es/_virtual/dayjs.min.js +1 -0
- package/dist/es/_virtual/dayjs.min2.js +1 -0
- package/dist/es/_virtual/localizedFormat.js +1 -0
- package/dist/es/_virtual/localizedFormat2.js +1 -0
- package/dist/es/_virtual/react.js +1 -0
- package/dist/es/accordion/index.js +1 -0
- package/dist/es/accordion/item/Item.js +1 -0
- package/dist/es/accordion/item/styled.js +20 -0
- package/dist/es/accordion/styled.js +15 -0
- package/dist/es/accordion/submenu/SubMenu.js +1 -0
- package/dist/es/accordion/submenu/styled.js +214 -0
- package/dist/es/alert/Description.js +1 -0
- package/dist/es/alert/Title.js +1 -0
- package/dist/es/alert/index.js +1 -0
- package/dist/es/alink/index.js +1 -0
- package/dist/es/alink/styled.js +5 -0
- package/dist/es/back-top/index.js +1 -0
- package/dist/es/back-top/styled.js +25 -0
- package/dist/es/button/index.js +1 -0
- package/dist/es/calendar/dates.js +1 -0
- package/dist/es/calendar/day/Day.js +1 -0
- package/dist/es/calendar/day/styled.js +91 -0
- package/dist/es/calendar/header/Header.js +1 -0
- package/dist/es/calendar/header/styled.js +196 -0
- package/dist/es/calendar/index.js +1 -0
- package/dist/es/calendar/styled.js +82 -0
- package/dist/es/card/Card.js +1 -0
- package/dist/es/card/CardAction.js +1 -0
- package/dist/es/card/CardContent.js +1 -0
- package/dist/es/card/CardDescription.js +1 -0
- package/dist/es/card/CardFooter.js +1 -0
- package/dist/es/card/CardHeader.js +1 -0
- package/dist/es/card/CardTabs.js +1 -0
- package/dist/es/card/CardTitle.js +1 -0
- package/dist/es/checkbox/group/index.js +1 -0
- package/dist/es/checkbox/index.js +1 -0
- package/dist/es/context/ITDContext.js +1 -0
- package/dist/es/context/ITDThemeProvider.js +1 -0
- package/dist/es/context/styled.js +15 -0
- package/dist/es/datepicker/index.js +1 -0
- package/dist/es/enums/enum.js +1 -0
- package/dist/es/flex/index.js +1 -0
- package/dist/es/flex/styled.js +35 -0
- package/dist/es/floating/Arrow.js +108 -0
- package/dist/es/floating/FloatingContent.js +38 -0
- package/dist/es/form/context/FormContext.js +1 -0
- package/dist/es/form/context/FormRegistry.js +1 -0
- package/dist/es/form/context/FormStore.js +1 -0
- package/dist/es/form/control/Control.js +1 -0
- package/dist/es/form/group/Group.js +1 -0
- package/dist/es/form/index.js +1 -0
- package/dist/es/form/item/Item.js +1 -0
- package/dist/es/form/validation/TCIdentity.js +1 -0
- package/dist/es/form/validation/Validator.js +1 -0
- package/dist/es/form/wrapper/FormWrapper.js +1 -0
- package/dist/es/helpers/array/ChunkArray.js +1 -0
- package/dist/es/helpers/aspectratio/DetermineNewHeight.js +1 -0
- package/dist/es/helpers/aspectratio/DetermineNewWidth.js +1 -0
- package/dist/es/helpers/base64/Base64Decode.js +1 -0
- package/dist/es/helpers/base64/Base64Encode.js +1 -0
- package/dist/es/helpers/binary/FormatBytes.js +1 -0
- package/dist/es/helpers/binary/GetTypeByFileType.js +1 -0
- package/dist/es/helpers/checker/CheckFileURL.js +1 -0
- package/dist/es/helpers/checker/FileChecker.js +1 -0
- package/dist/es/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
- package/dist/es/helpers/country/GetCountryCodeByLanguage.js +1 -0
- package/dist/es/helpers/css/FindSelector.js +1 -0
- package/dist/es/helpers/currency/ConvertCurrency.js +1 -0
- package/dist/es/helpers/currency/GetByCurrency.js +1 -0
- package/dist/es/helpers/currency/GetCurrencyFormat.js +1 -0
- package/dist/es/helpers/currency/GetCurrencySymbol.js +1 -0
- package/dist/es/helpers/currency/GetDecimalByCurrency.js +1 -0
- package/dist/es/helpers/datetime/FormatDate.js +1 -0
- package/dist/es/helpers/datetime/FormatDateTime.js +1 -0
- package/dist/es/helpers/datetime/FormatSimpleDate.js +1 -0
- package/dist/es/helpers/datetime/FormatSimpleDateTime.js +1 -0
- package/dist/es/helpers/datetime/FormatTime.js +1 -0
- package/dist/es/helpers/datetime/dayjsSetup.js +1 -0
- package/dist/es/helpers/format/ToKebabCase.js +1 -0
- package/dist/es/helpers/json/IsValidJSON.js +1 -0
- package/dist/es/helpers/math/AddZero.js +1 -0
- package/dist/es/helpers/promise/Wait.js +1 -0
- package/dist/es/helpers/remover/RemoveUnits.js +1 -0
- package/dist/es/helpers/string/UniUpperCase.js +1 -0
- package/dist/es/helpers/svg/SVGLoader.js +1 -0
- package/dist/es/helpers/svg/styles.js +22 -0
- package/dist/es/helpers/theme/AddDefaultThemeStyle.js +1 -0
- package/dist/es/helpers/theme/Color.js +1 -0
- package/dist/es/helpers/theme/GenerateColorScale.js +1 -0
- package/dist/es/helpers/theme/createTheme.js +1 -0
- package/dist/es/helpers/theme/cssVariables.js +1 -0
- package/dist/es/helpers/theme/dark.js +1 -0
- package/dist/es/helpers/theme/light.js +1 -0
- package/dist/es/helpers/theme/presets.js +1 -0
- package/dist/es/helpers/theme/tokens.js +1 -0
- package/dist/es/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/es/hooks/useAddExternalCSS.js +1 -0
- package/dist/es/hooks/useAvoidCollision.js +1 -0
- package/dist/es/hooks/useComponentSize.js +1 -0
- package/dist/es/hooks/useConnectionStatus.js +1 -0
- package/dist/es/hooks/useConstructor.js +1 -0
- package/dist/es/hooks/useContextBridge.js +1 -0
- package/dist/es/hooks/useCoreFetch.js +1 -0
- package/dist/es/hooks/useFloatingPosition.js +1 -0
- package/dist/es/hooks/useFloatingTrigger.js +1 -0
- package/dist/es/hooks/useFocusTrap.js +1 -0
- package/dist/es/hooks/useKeyboardShortcut.js +1 -0
- package/dist/es/hooks/useMultiQuery.js +1 -0
- package/dist/es/hooks/useOnClickOutside.js +1 -0
- package/dist/es/hooks/useOnESCKeyDown.js +1 -0
- package/dist/es/hooks/useOnResize.js +1 -0
- package/dist/es/hooks/useOrientation.js +1 -0
- package/dist/es/hooks/useReCaptcha.js +1 -0
- package/dist/es/hooks/useSingleQuery.js +1 -0
- package/dist/es/hovercard/HoverCard.js +1 -0
- package/dist/es/hovercard/HoverCardContent.js +1 -0
- package/dist/es/hovercard/HoverCardTrigger.js +1 -0
- package/dist/es/hovercard/hoverCardContext.js +1 -0
- package/dist/es/html/header/H1.js +1 -0
- package/dist/es/html/header/H2.js +1 -0
- package/dist/es/html/header/H3.js +1 -0
- package/dist/es/html/header/H4.js +1 -0
- package/dist/es/html/header/styled.js +33 -0
- package/dist/es/icons/Arrow.js +1 -0
- package/dist/es/icons/BackToTop.js +1 -0
- package/dist/es/icons/Checkmark.js +1 -0
- package/dist/es/icons/InlineSelectArrow.js +1 -0
- package/dist/es/icons/Lock.js +1 -0
- package/dist/es/icons/NoData.js +1 -0
- package/dist/es/icons/Picture.js +1 -0
- package/dist/es/icons/Trash.js +1 -0
- package/dist/es/icons/Upload.js +1 -0
- package/dist/es/icons/ZoomIn.js +1 -0
- package/dist/es/icons/ZoomOut.js +1 -0
- package/dist/es/image/index.js +1 -0
- package/dist/es/image/styled.js +4 -0
- package/dist/es/index.js +1 -0
- package/dist/es/input/index.js +1 -0
- package/dist/es/label/index.js +1 -0
- package/dist/es/locales/en/calendar.json.js +1 -0
- package/dist/es/locales/en/itd.json.js +1 -0
- package/dist/es/locales/tr/calendar.json.js +1 -0
- package/dist/es/locales/tr/itd.json.js +1 -0
- package/dist/es/logger/index.js +1 -0
- package/dist/es/modal/container/ModalContainer.js +1 -0
- package/dist/es/modal/container/styled.js +18 -0
- package/dist/es/modal/context/ModalContext.js +1 -0
- package/dist/es/modal/index.js +1 -0
- package/dist/es/modal/modal/Modal.js +1 -0
- package/dist/es/modal/modal/styled.js +128 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
- package/dist/es/node_modules/clsx/dist/clsx.js +1 -0
- package/dist/es/node_modules/dayjs/dayjs.min.js +1 -0
- package/dist/es/node_modules/dayjs/plugin/customParseFormat.js +1 -0
- package/dist/es/node_modules/dayjs/plugin/localizedFormat.js +1 -0
- package/dist/es/node_modules/fast-deep-equal/react.js +1 -0
- package/dist/es/node_modules/lodash-es/_Symbol.js +1 -0
- package/dist/es/node_modules/lodash-es/_arrayMap.js +1 -0
- package/dist/es/node_modules/lodash-es/_baseGetTag.js +1 -0
- package/dist/es/node_modules/lodash-es/_baseToString.js +1 -0
- package/dist/es/node_modules/lodash-es/_freeGlobal.js +1 -0
- package/dist/es/node_modules/lodash-es/_getRawTag.js +1 -0
- package/dist/es/node_modules/lodash-es/_objectToString.js +1 -0
- package/dist/es/node_modules/lodash-es/_root.js +1 -0
- package/dist/es/node_modules/lodash-es/isArray.js +1 -0
- package/dist/es/node_modules/lodash-es/isObject.js +1 -0
- package/dist/es/node_modules/lodash-es/isObjectLike.js +1 -0
- package/dist/es/node_modules/lodash-es/isSymbol.js +1 -0
- package/dist/es/node_modules/lodash-es/toString.js +1 -0
- package/dist/es/node_modules/lodash-es/uniqueId.js +1 -0
- package/dist/es/node_modules/lucide-react/dist/esm/Icon.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/createLucideIcon.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/defaultAttributes.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/calendar-1.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/chevron-down.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/circle-x.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/eye-off.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/eye.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/image-off.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/info.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/lock.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/minus.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/plus.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/trash.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/upload.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/x.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
- package/dist/es/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
- package/dist/es/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
- package/dist/es/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
- package/dist/es/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
- package/dist/es/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
- package/dist/es/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -0
- package/dist/es/notification/container/Container.js +1 -0
- package/dist/es/notification/container/styled.js +26 -0
- package/dist/es/notification/context/NotificationsContext.js +1 -0
- package/dist/es/notification/index.js +1 -0
- package/dist/es/notification/item/Item.js +1 -0
- package/dist/es/notification/item/styled.js +42 -0
- package/dist/es/popover/Popover.js +1 -0
- package/dist/es/popover/PopoverContent.js +1 -0
- package/dist/es/popover/PopoverTrigger.js +1 -0
- package/dist/es/primitives/Slot.js +1 -0
- package/dist/es/progress/index.js +1 -0
- package/dist/es/progress/styled.js +59 -0
- package/dist/es/radio/button/RadioButton.js +1 -0
- package/dist/es/radio/button/styled.js +133 -0
- package/dist/es/radio/group/Group.js +1 -0
- package/dist/es/radio/group/styled.js +7 -0
- package/dist/es/radio/index.js +1 -0
- package/dist/es/result/index.js +1 -0
- package/dist/es/result/styled.js +109 -0
- package/dist/es/select/dropdown/Dropdown.js +1 -0
- package/dist/es/select/index.js +1 -0
- package/dist/es/select/option/Option.js +1 -0
- package/dist/es/select/selector/Selector.js +1 -0
- package/dist/es/select/selector/selectorinput/SelectorInput.js +1 -0
- package/dist/es/spin/index.js +1 -0
- package/dist/es/status/index.js +1 -0
- package/dist/es/switch/index.js +1 -0
- package/dist/es/table/index.js +1 -0
- package/dist/es/table/styled.js +458 -0
- package/dist/es/tabs/index.js +1 -0
- package/dist/es/textarea/index.js +1 -0
- package/dist/es/tinyscrollbar/index.js +1 -0
- package/dist/es/tinyscrollbar/scroll.styled.js +21 -0
- package/dist/es/tooltip/Tooltip.js +1 -0
- package/dist/es/tooltip/TooltipContent.js +1 -0
- package/dist/es/tooltip/TooltipTrigger.js +1 -0
- package/dist/es/tooltip/tooltipContext.js +1 -0
- package/dist/es/types/InputProps.js +1 -0
- package/dist/es/upload/index.js +1 -0
- package/dist/es/utils/CommonStyledComponents.js +1 -0
- package/dist/es/utils/ErrorAnnouncement.js +1 -0
- package/dist/es/utils/GetButtonSizeSlug.js +1 -0
- package/dist/es/utils/GetSizeSlugBySize.js +1 -0
- package/dist/es/utils/InlineSVGCached.js +1 -0
- package/dist/es/utils/cn.js +1 -0
- package/dist/floating/Arrow.d.ts +17 -0
- package/dist/floating/FloatingContent.d.ts +60 -0
- package/dist/floating/mergeTriggerProps.d.ts +8 -0
- package/dist/form/context/FormContext.d.ts +4 -0
- package/dist/form/context/FormRegistry.d.ts +13 -0
- package/dist/form/context/FormStore.d.ts +5 -1
- package/dist/form/control/Control.d.ts +2 -1
- package/dist/form/item/Item.d.ts +0 -1
- package/dist/form/validation/Validator.d.ts +0 -1
- package/dist/global.css +44 -142
- package/dist/helpers/binary/GetTypeByFileType.d.ts +1 -1
- package/dist/helpers/country/GetCountryCodeByCurrencyCode.d.ts +1 -1
- package/dist/helpers/country/GetCountryCodeByLanguage.d.ts +1 -1
- package/dist/helpers/css/FindSelector.d.ts +10 -0
- package/dist/helpers/currency/ConvertCurrency.d.ts +1 -1
- package/dist/helpers/currency/GetCurrencyFormat.d.ts +9 -0
- package/dist/helpers/index.d.ts +4 -1
- package/dist/helpers/theme/Color.d.ts +19 -0
- package/dist/helpers/theme/GenerateColorScale.d.ts +16 -0
- package/dist/helpers/theme/createTheme.d.ts +8 -0
- package/dist/helpers/theme/cssVariables.d.ts +41 -0
- package/dist/helpers/theme/dark.d.ts +3 -0
- package/dist/helpers/theme/index.d.ts +12 -0
- package/dist/helpers/theme/light.d.ts +3 -0
- package/dist/helpers/theme/presets.d.ts +12 -0
- package/dist/helpers/theme/themes.d.ts +5 -0
- package/dist/helpers/theme/tokens.d.ts +392 -0
- package/dist/hooks/useAddExternalCSS.d.ts +4 -5
- package/dist/hooks/useAvoidCollision.d.ts +6 -1
- package/dist/hooks/useFloatingPosition.d.ts +63 -0
- package/dist/hooks/useFloatingTrigger.d.ts +64 -0
- package/dist/hooks/useFocusTrap.d.ts +36 -0
- package/dist/hovercard/HoverCard.d.ts +12 -0
- package/dist/hovercard/HoverCardContent.d.ts +22 -0
- package/dist/hovercard/HoverCardTrigger.d.ts +17 -0
- package/dist/hovercard/hoverCardContext.d.ts +7 -0
- package/dist/hovercard/index.d.ts +4 -0
- package/dist/icons/index.d.ts +0 -3
- package/dist/image/index.d.ts +0 -1
- package/dist/image/styled.d.ts +5 -4
- package/dist/index.d.mts +83 -40
- package/dist/index.d.ts +1439 -462
- package/dist/input/index.d.ts +30 -2
- package/dist/input/style.settings.d.ts +9 -0
- package/dist/label/index.d.ts +6 -0
- package/dist/label/style.settings.d.ts +9 -0
- package/dist/{select/toggle → label}/styled.d.ts +17 -14
- package/dist/locales/en/itd.json +31 -19
- package/dist/locales/itd.json +31 -19
- package/dist/locales/tr/itd.json +31 -19
- package/dist/modal/container/styled.d.ts +1 -3
- package/dist/modal/context/ModalContext.d.ts +20 -11
- package/dist/modal/index.d.ts +7 -22
- package/dist/popover/Popover.d.ts +42 -0
- package/dist/popover/PopoverContent.d.ts +34 -0
- package/dist/popover/PopoverTrigger.d.ts +26 -0
- package/dist/popover/index.d.ts +4 -0
- package/dist/primitives/Slot.d.ts +36 -0
- package/dist/radio/button/RadioButton.d.ts +1 -1
- package/dist/radio/button/styled.d.ts +0 -1
- package/dist/result/index.d.ts +1 -1
- package/dist/select/dropdown/Dropdown.d.ts +20 -0
- package/dist/select/option/Option.d.ts +11 -3
- package/dist/select/selector/Selector.d.ts +3 -0
- package/dist/select/selector/selectorinput/SelectorInput.d.ts +6 -0
- package/dist/select/style.settings.d.ts +83 -26
- package/dist/stats.html +4949 -0
- package/dist/stories/Accordion.d.ts +0 -1
- package/dist/stories/Accordion.stories.d.ts +1 -1
- package/dist/stories/Alert.stories.d.ts +16 -2
- package/dist/stories/AlertComposition.d.ts +3 -0
- package/dist/stories/AlertComposition.stories.d.ts +18 -0
- package/dist/stories/Button.d.ts +0 -1
- package/dist/stories/Button.stories.d.ts +20 -2
- package/dist/stories/Card.d.ts +9 -2
- package/dist/stories/Card.stories.d.ts +5 -2
- package/dist/stories/Checkbox.stories.d.ts +1 -1
- package/dist/stories/CheckboxGroup.stories.d.ts +1 -1
- package/dist/stories/CheckboxGroupControl.stories.d.ts +1 -1
- package/dist/stories/ColorScale.d.ts +10 -0
- package/dist/stories/ColorScale.stories.d.ts +24 -0
- package/dist/stories/ColorScaleCompare.d.ts +8 -0
- package/dist/stories/ColorScaleCompare.stories.d.ts +47 -0
- package/dist/stories/DatePicker.d.ts +0 -1
- package/dist/stories/DatePicker.stories.d.ts +1 -1
- package/dist/stories/Form.stories.d.ts +12 -1
- package/dist/stories/Header.d.ts +0 -1
- package/dist/stories/Header.stories.d.ts +3 -3
- package/dist/stories/HoverCard.d.ts +2 -0
- package/dist/stories/HoverCard.stories.d.ts +18 -0
- package/dist/stories/Input.d.ts +0 -1
- package/dist/stories/Input.stories.d.ts +84 -2
- package/dist/stories/ModalManager.d.ts +0 -1
- package/dist/stories/Page.d.ts +0 -1
- package/dist/stories/Popover.d.ts +2 -0
- package/dist/stories/Popover.stories.d.ts +40 -0
- package/dist/stories/Progress.stories.d.ts +1 -1
- package/dist/stories/RadioGroup.stories.d.ts +1 -1
- package/dist/stories/Result.stories.d.ts +1 -1
- package/dist/stories/Select.d.ts +0 -1
- package/dist/stories/Select.stories.d.ts +14 -4
- package/dist/stories/Status.stories.d.ts +1 -1
- package/dist/stories/Switch.stories.d.ts +10 -3
- package/dist/stories/Tabs.stories.d.ts +6 -12
- package/dist/stories/TextArea.d.ts +0 -1
- package/dist/stories/TextArea.stories.d.ts +9 -2
- package/dist/stories/Tooltip.d.ts +1 -0
- package/dist/stories/Tooltip.stories.d.ts +35 -0
- package/dist/stories/Upload.stories.d.ts +1 -6
- package/dist/stories/root/index.d.ts +0 -1
- package/dist/switch/index.d.ts +2 -1
- package/dist/tabs/index.d.ts +2 -2
- package/dist/tooltip/Tooltip.d.ts +12 -0
- package/dist/tooltip/TooltipContent.d.ts +12 -0
- package/dist/tooltip/TooltipTrigger.d.ts +19 -0
- package/dist/tooltip/index.d.ts +4 -0
- package/dist/tooltip/tooltipContext.d.ts +7 -0
- package/dist/types/AlertProps.d.ts +5 -4
- package/dist/types/ButtonProps.d.ts +9 -28
- package/dist/types/CalendarProps.d.ts +0 -1
- package/dist/types/CardProps.d.ts +6 -2
- package/dist/types/CheckboxProps.d.ts +5 -1
- package/dist/types/ChildrenProps.d.ts +2 -1
- package/dist/types/DatePickerProps.d.ts +5 -3
- package/dist/types/FormProps.d.ts +4 -1
- package/dist/types/ITDProps.d.ts +4 -2
- package/dist/types/InputProps.d.ts +12 -17
- package/dist/types/LabelProps.d.ts +7 -0
- package/dist/types/PopoverProps.d.ts +10 -0
- package/dist/types/RadioProps.d.ts +1 -2
- package/dist/types/ResultProps.d.ts +1 -0
- package/dist/types/SelectProps.d.ts +19 -13
- package/dist/types/SwitchProps.d.ts +4 -1
- package/dist/types/TableProps.d.ts +1 -0
- package/dist/types/TabsProps.d.ts +8 -2
- package/dist/types/TextAreaProps.d.ts +1 -0
- package/dist/types/Theme.d.ts +128 -0
- package/dist/types/UploadProps.d.ts +3 -39
- package/dist/upload/index.d.ts +1 -1
- package/dist/utils/CommonStyledComponents.d.ts +21 -0
- package/dist/utils/ErrorAnnouncement.d.ts +25 -0
- package/dist/utils/GetButtonSizeSlug.d.ts +6 -0
- package/dist/utils/GetSizeSlugBySize.d.ts +3 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +96 -64
- package/dist/alert/alert.style.error.d.ts +0 -4
- package/dist/alert/alert.style.info.d.ts +0 -4
- package/dist/alert/alert.style.success.d.ts +0 -4
- package/dist/alert/alert.style.warning.d.ts +0 -4
- package/dist/alert/styled.d.ts +0 -8
- package/dist/button/button.style.SVG.d.ts +0 -4
- package/dist/button/button.style.circle.d.ts +0 -4
- package/dist/button/button.style.default.d.ts +0 -4
- package/dist/button/button.style.filled.d.ts +0 -4
- package/dist/button/button.style.ghost.d.ts +0 -4
- package/dist/button/button.style.icon.d.ts +0 -5
- package/dist/button/button.style.link.d.ts +0 -4
- package/dist/button/button.style.outline.d.ts +0 -4
- package/dist/button/button.style.size.d.ts +0 -4
- package/dist/button/button.style.solid.d.ts +0 -4
- package/dist/button/button.style.strecth.d.ts +0 -4
- package/dist/button/styled.d.ts +0 -12
- package/dist/card/styles.d.ts +0 -15
- package/dist/checkbox/group/styled.d.ts +0 -2
- package/dist/checkbox/styled.d.ts +0 -9
- package/dist/cropper/index.d.ts +0 -44
- package/dist/datepicker/styled.d.ts +0 -9
- package/dist/form/control/styled.d.ts +0 -4
- package/dist/form/group/styled.d.ts +0 -5
- package/dist/helpers/theme/UpdateThemeStyle.d.ts +0 -5
- package/dist/icons/FileDocument.d.ts +0 -6
- package/dist/icons/FileExcel.d.ts +0 -5
- package/dist/icons/FilePdf.d.ts +0 -5
- package/dist/index.cjs.js +0 -5612
- package/dist/index.esm.js +0 -5612
- package/dist/input/styled.d.ts +0 -29
- package/dist/link/index.d.ts +0 -11
- package/dist/select/menu/Menu.d.ts +0 -14
- package/dist/select/menu/styled.d.ts +0 -8
- package/dist/select/option/styled.d.ts +0 -5
- package/dist/select/styled.d.ts +0 -7
- package/dist/select/toggle/Toggle.d.ts +0 -3
- package/dist/select/toggle/label/floating/FloatingLabel.d.ts +0 -12
- package/dist/select/toggle/label/floating/styled.d.ts +0 -8
- package/dist/select/toggle/label/single/SingleLabel.d.ts +0 -18
- package/dist/select/toggle/label/single/styled.d.ts +0 -2
- package/dist/spin/styled.d.ts +0 -10
- package/dist/status/styled.d.ts +0 -6
- package/dist/stories/ButtonIcon.d.ts +0 -2
- package/dist/switch/styled.d.ts +0 -5
- package/dist/tabs/styles.d.ts +0 -13
- package/dist/textarea/styled.d.ts +0 -8
- package/dist/upload/styled.d.ts +0 -46
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { ColorScale } from '../helpers/theme/GenerateColorScale';
|
|
2
|
+
export type ITDTheme = {
|
|
3
|
+
appearance: 'light' | 'dark';
|
|
4
|
+
transitionDuration: string;
|
|
5
|
+
transitionTimingFunction: string;
|
|
6
|
+
fontSans?: string;
|
|
7
|
+
fontMono?: string;
|
|
8
|
+
boxShadow: string;
|
|
9
|
+
cardShadow: string;
|
|
10
|
+
floatingShadow: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
ringOffset: string;
|
|
13
|
+
ringWidth: string;
|
|
14
|
+
background: string;
|
|
15
|
+
foreground: string;
|
|
16
|
+
input: string;
|
|
17
|
+
primary: string;
|
|
18
|
+
primaryHover: string;
|
|
19
|
+
primaryForeground: string;
|
|
20
|
+
primaryScale: ColorScale;
|
|
21
|
+
secondary: string;
|
|
22
|
+
secondaryHover: string;
|
|
23
|
+
secondaryForeground: string;
|
|
24
|
+
secondaryForegroundHover: string;
|
|
25
|
+
accent: string;
|
|
26
|
+
accentForeground: string;
|
|
27
|
+
muted: string;
|
|
28
|
+
mutedForeground: string;
|
|
29
|
+
selection: string;
|
|
30
|
+
selectionForeground: string;
|
|
31
|
+
popover: string;
|
|
32
|
+
popoverForeground: string;
|
|
33
|
+
card: string;
|
|
34
|
+
cardForeground: string;
|
|
35
|
+
colorBackgroundFooter: string;
|
|
36
|
+
colorText: string;
|
|
37
|
+
colorTextMuted: string;
|
|
38
|
+
colorTextMutedForeground: string;
|
|
39
|
+
colorPlaceholder: string;
|
|
40
|
+
colorTextNeutral: string;
|
|
41
|
+
colorControlLabel: string;
|
|
42
|
+
colorModalShadow: string;
|
|
43
|
+
colorBorder: string;
|
|
44
|
+
colorBorderHover: string;
|
|
45
|
+
colorBorderFocus: string;
|
|
46
|
+
colorBorderFocusRing: string;
|
|
47
|
+
colorBorderTransparent: string;
|
|
48
|
+
colorBackgroundAlt: string;
|
|
49
|
+
colorBackgroundAltHover: string;
|
|
50
|
+
colorBackgroundBordered: string;
|
|
51
|
+
colorBackgroundTransparent: string;
|
|
52
|
+
colorBackgroundModal: string;
|
|
53
|
+
colorForegroundItemSelected: string;
|
|
54
|
+
colorForegroundItemSelectedText: string;
|
|
55
|
+
colorBackgroundSelect: string;
|
|
56
|
+
colorBackgroundSelectFilled: string;
|
|
57
|
+
colorBackgroundSelectFilledItem: string;
|
|
58
|
+
colorBackgroundSelectItem: string;
|
|
59
|
+
colorBackgroundSelectItemHover: string;
|
|
60
|
+
colorBackgroundSelectItemSelected: string;
|
|
61
|
+
colorDisabledBg: string;
|
|
62
|
+
colorDisabledBorder: string;
|
|
63
|
+
colorDisabledText: string;
|
|
64
|
+
colorIcon: string;
|
|
65
|
+
colorIconMuted: string;
|
|
66
|
+
colorError: string;
|
|
67
|
+
colorErrorText: string;
|
|
68
|
+
colorErrorBorder: string;
|
|
69
|
+
colorErrorOutline: string;
|
|
70
|
+
colorFocusPrimary: string;
|
|
71
|
+
colorFocusPrimaryRing: string;
|
|
72
|
+
colorTextAlpha50: string;
|
|
73
|
+
colorSwitchThumb: string;
|
|
74
|
+
colorSwitchFilledThumb: string;
|
|
75
|
+
colorTextNeutralAlpha10: string;
|
|
76
|
+
colorTextNeutralAlpha15: string;
|
|
77
|
+
colorTextNeutralAlpha25: string;
|
|
78
|
+
colorTextNeutralAlpha50: string;
|
|
79
|
+
colorBackgroundAltAlpha75: string;
|
|
80
|
+
colorBackgroundAltAlpha85: string;
|
|
81
|
+
colorUploadTextAlpha50: string;
|
|
82
|
+
colorCardOverlay: string;
|
|
83
|
+
colorTabActiveBg: string;
|
|
84
|
+
colorTabHoverBg: string;
|
|
85
|
+
colorTabFilledActiveBg: string;
|
|
86
|
+
colorButtonOutlineBg: string;
|
|
87
|
+
colorButtonOutlineHoverBg: string;
|
|
88
|
+
colorButtonGhostHoverBg: string;
|
|
89
|
+
colorButtonFilledBg: string;
|
|
90
|
+
scrollbarThumb: string;
|
|
91
|
+
scrollbarThumbHover: string;
|
|
92
|
+
primaryGradientStart: string;
|
|
93
|
+
primaryGradientEnd: string;
|
|
94
|
+
primaryHoverStart: string;
|
|
95
|
+
primaryHoverEnd: string;
|
|
96
|
+
primaryContrastText: string;
|
|
97
|
+
buttonGenericBg: string;
|
|
98
|
+
buttonGenericHoverBg: string;
|
|
99
|
+
buttonSelectedBorder: string;
|
|
100
|
+
buttonSelectedBg: string;
|
|
101
|
+
buttonDisabledBg: string;
|
|
102
|
+
buttonDisabledText: string;
|
|
103
|
+
colorUploadOverlay: string;
|
|
104
|
+
colorUploadText: string;
|
|
105
|
+
colorUploadOverlayError: string;
|
|
106
|
+
colorUploadErrorText: string;
|
|
107
|
+
colorUploadOverlayCompleted: string;
|
|
108
|
+
colorUploadCompletedText: string;
|
|
109
|
+
colorUploadOverlayUploading: string;
|
|
110
|
+
colorUploadOverlayUploadingBar: string;
|
|
111
|
+
colorUploadingText: string;
|
|
112
|
+
colorAlertInfoBackground: string;
|
|
113
|
+
colorAlertInfoBorder: string;
|
|
114
|
+
colorAlertInfoTitle: string;
|
|
115
|
+
colorAlertInfoText: string;
|
|
116
|
+
colorAlertSuccessBackground: string;
|
|
117
|
+
colorAlertSuccessBorder: string;
|
|
118
|
+
colorAlertSuccessTitle: string;
|
|
119
|
+
colorAlertSuccessText: string;
|
|
120
|
+
colorAlertWarningBackground: string;
|
|
121
|
+
colorAlertWarningBorder: string;
|
|
122
|
+
colorAlertWarningTitle: string;
|
|
123
|
+
colorAlertWarningText: string;
|
|
124
|
+
colorAlertErrorBackground: string;
|
|
125
|
+
colorAlertErrorBorder: string;
|
|
126
|
+
colorAlertErrorTitle: string;
|
|
127
|
+
colorAlertErrorText: string;
|
|
128
|
+
};
|
|
@@ -1,27 +1,8 @@
|
|
|
1
1
|
import { FileTypes } from "../index";
|
|
2
|
-
|
|
3
|
-
* Crop settings for the Upload component
|
|
4
|
-
*/
|
|
5
|
-
export type CropSettings = {
|
|
6
|
-
/** Aspect ratio (e.g., 1 for square, 16/9 for widescreen). */
|
|
7
|
-
aspectRatio?: number;
|
|
8
|
-
/** Minimum crop area width in pixels. User cannot select smaller than this. */
|
|
9
|
-
minWidth?: number;
|
|
10
|
-
/** Minimum crop area height in pixels. User cannot select smaller than this. */
|
|
11
|
-
minHeight?: number;
|
|
12
|
-
/** Output width in pixels. Cropped image will be resized to this width. */
|
|
13
|
-
outputWidth?: number;
|
|
14
|
-
/** Output height in pixels. Cropped image will be resized to this height. */
|
|
15
|
-
outputHeight?: number;
|
|
16
|
-
/** Output image quality (0-1), default 0.9 */
|
|
17
|
-
quality?: number;
|
|
18
|
-
/** Crop modal title */
|
|
19
|
-
modalTitle?: string;
|
|
20
|
-
/** Show grid lines on crop area (default: true) */
|
|
21
|
-
showGrid?: boolean;
|
|
22
|
-
};
|
|
2
|
+
import { ITDVariant } from "./ITDProps";
|
|
23
3
|
export type UploadProps = {
|
|
24
4
|
id?: string;
|
|
5
|
+
variant?: ITDVariant;
|
|
25
6
|
action?: string;
|
|
26
7
|
filePath?: string | null;
|
|
27
8
|
removeAction?: string;
|
|
@@ -51,24 +32,7 @@ export type UploadProps = {
|
|
|
51
32
|
extraQueryString?: {};
|
|
52
33
|
extraHeader?: {};
|
|
53
34
|
disabled?: boolean;
|
|
54
|
-
|
|
55
|
-
minImageWidth?: number;
|
|
56
|
-
/** Minimum image height required for upload (in pixels). Smaller images will be rejected. Works with or without crop. */
|
|
57
|
-
minImageHeight?: number;
|
|
58
|
-
/**
|
|
59
|
-
* Crop settings. If provided, cropping is enabled.
|
|
60
|
-
* @example
|
|
61
|
-
* crop={{
|
|
62
|
-
* aspectRatio: 16/9,
|
|
63
|
-
* minWidth: 960, // Minimum crop area size
|
|
64
|
-
* minHeight: 540,
|
|
65
|
-
* outputWidth: 1920, // Final output size
|
|
66
|
-
* outputHeight: 1080,
|
|
67
|
-
* quality: 0.9,
|
|
68
|
-
* modalTitle: "Crop Image"
|
|
69
|
-
* }}
|
|
70
|
-
*/
|
|
71
|
-
crop?: CropSettings;
|
|
35
|
+
locked?: boolean;
|
|
72
36
|
onChange?: ((value: any) => void) | null;
|
|
73
37
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
74
38
|
onUploadSuccess?: (path: string) => void;
|
package/dist/upload/index.d.ts
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { TooltipPositions } from 'enums/enum';
|
|
3
|
+
export declare const ErrorSVGIcon: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export type ErrorTooltipProps = {
|
|
5
|
+
position?: TooltipPositions;
|
|
6
|
+
offsetX?: number;
|
|
7
|
+
offsetY?: number;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
} & HTMLAttributes<HTMLSpanElement>;
|
|
10
|
+
export declare const ErrorTooltip: FC<ErrorTooltipProps>;
|
|
11
|
+
export type ErrorBorderProps = {
|
|
12
|
+
fullSize?: boolean;
|
|
13
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
14
|
+
export declare const ErrorBorder: FC<ErrorBorderProps>;
|
|
15
|
+
export type ErrorIconProps = {
|
|
16
|
+
message: string;
|
|
17
|
+
icon?: ReactNode;
|
|
18
|
+
className?: string;
|
|
19
|
+
tooltipPosition?: TooltipPositions;
|
|
20
|
+
};
|
|
21
|
+
export declare const ErrorIcon: FC<ErrorIconProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface ErrorAnnouncementProps {
|
|
3
|
+
id: string;
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Screen reader için gizli error announcement
|
|
8
|
+
* WCAG 2.1 - 3.3.1 Error Identification (Level A)
|
|
9
|
+
*/
|
|
10
|
+
export declare const ErrorAnnouncement: FC<ErrorAnnouncementProps>;
|
|
11
|
+
/**
|
|
12
|
+
* Form elementi için ARIA attributes oluştur
|
|
13
|
+
*/
|
|
14
|
+
export declare const getErrorAriaProps: (elementId: string, hasError: boolean) => {
|
|
15
|
+
'aria-invalid'?: undefined;
|
|
16
|
+
'aria-describedby'?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
'aria-invalid': "true";
|
|
19
|
+
'aria-describedby': string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Error ID oluştur
|
|
23
|
+
*/
|
|
24
|
+
export declare const getErrorId: (elementId: string) => string;
|
|
25
|
+
export {};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as GetIconSizeBySize } from './GetIconSizeBySize';
|
|
2
2
|
export { default as GetSizeBySizeSlug } from './GetSizeBySizeSlug';
|
|
3
3
|
export { default as GetSizeSlugBySize } from './GetSizeSlugBySize';
|
|
4
|
+
export { default as GetButtonSizeSlug } from './GetButtonSizeSlug';
|
|
4
5
|
export { default as InlineSVGCached } from './InlineSVGCached';
|
|
6
|
+
export { ErrorAnnouncement, getErrorAriaProps, getErrorId } from './ErrorAnnouncement';
|
package/package.json
CHANGED
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inntechcorp/it-design",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-beta.2",
|
|
4
4
|
"description": "All in one Design library for web applications.",
|
|
5
5
|
"author": "Inn.Tech",
|
|
6
6
|
"license": "ISC",
|
|
7
|
-
"main": "dist/index.
|
|
8
|
-
"module": "dist/index.
|
|
7
|
+
"main": "dist/cjs/index.js",
|
|
8
|
+
"module": "dist/es/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"type": "module",
|
|
11
|
+
"sideEffects": [
|
|
12
|
+
"*.css",
|
|
13
|
+
"lib/global.css",
|
|
14
|
+
"lib/css/*.css",
|
|
15
|
+
"lib/index.ts",
|
|
16
|
+
"lib/context/**",
|
|
17
|
+
"lib/helpers/datetime/**"
|
|
18
|
+
],
|
|
11
19
|
"files": [
|
|
12
20
|
"dist",
|
|
13
|
-
"src/typings"
|
|
21
|
+
"src/typings",
|
|
22
|
+
"ACCESSIBILITY.md"
|
|
14
23
|
],
|
|
15
24
|
"scripts": {
|
|
16
25
|
"prepublish": "rollup -c --bundleConfigAsCjs",
|
|
17
26
|
"build-rollup": "[ -d ./dist ] || mkdir dist && rm -r ./dist && rollup -c --bundleConfigAsCjs",
|
|
27
|
+
"analyze": "ROLLUP_WATCH=false rollup -c --bundleConfigAsCjs && open dist/stats.html",
|
|
18
28
|
"start-rollup": "rollup -c -w --bundleConfigAsCjs",
|
|
19
29
|
"npm-publish": "yarn run build-rollup && npm publish --access public",
|
|
20
30
|
"start": "vite --host",
|
|
21
|
-
"build": "[ -d ./build ] || mkdir build && rm -r ./build && tsc --p ./tsconfig-build.json && vite build",
|
|
31
|
+
"build": "[ -d ./build ] || mkdir build && rm -r ./build && tsc --p ./tsconfig-build.json && vite build && cp lib/global.css dist/global.css && cp -r lib/css dist/css",
|
|
22
32
|
"serve": "vite preview",
|
|
23
33
|
"storybook": "storybook dev -p 6006",
|
|
24
34
|
"build-storybook": "storybook build"
|
|
@@ -29,119 +39,135 @@
|
|
|
29
39
|
},
|
|
30
40
|
"dependencies": {
|
|
31
41
|
"@mona-health/react-input-mask": "^3.0.3",
|
|
32
|
-
"autoprefixer": "10.4.
|
|
33
|
-
"axios": "1.
|
|
34
|
-
"
|
|
42
|
+
"autoprefixer": "10.4.23",
|
|
43
|
+
"axios": "1.13.2",
|
|
44
|
+
"clsx": "^2.1.1",
|
|
45
|
+
"core-js": "3.47.0",
|
|
46
|
+
"dayjs": "1.11.19",
|
|
35
47
|
"fast-deep-equal": "^3.1.3",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"i18next-resources-to-backend": "^1.2.1",
|
|
40
|
-
"lodash-es": "4.17.21",
|
|
41
|
-
"overlayscrollbars": "2.11.4",
|
|
48
|
+
"lodash-es": "4.17.22",
|
|
49
|
+
"lucide-react": "^0.562.0",
|
|
50
|
+
"overlayscrollbars": "2.13.0",
|
|
42
51
|
"postcss": "8.5.6",
|
|
43
52
|
"postcss-calc": "10.1.1",
|
|
44
53
|
"prop-types": "^15.8.1",
|
|
45
|
-
"query-string": "9.
|
|
46
|
-
"react": "19.1.1",
|
|
47
|
-
"react-dom": "19.1.1",
|
|
48
|
-
"react-i18next": "15.7.3",
|
|
54
|
+
"query-string": "9.3.1",
|
|
49
55
|
"react-nanny": "^2.15.0",
|
|
50
56
|
"react-number-format": "5.4.4",
|
|
51
|
-
"react-router": "7.
|
|
52
|
-
"react-router-dom": "7.
|
|
53
|
-
"react-spring": "10.0.
|
|
57
|
+
"react-router": "7.11.0",
|
|
58
|
+
"react-router-dom": "7.11.0",
|
|
59
|
+
"react-spring": "10.0.3",
|
|
54
60
|
"react-svg": "16.3.0",
|
|
55
61
|
"react-transition-group": "4.4.5",
|
|
56
|
-
"react-virtuoso": "
|
|
62
|
+
"react-virtuoso": "4.17.0",
|
|
57
63
|
"smoothscroll-polyfill": "^0.4.4",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
64
|
+
"sonner": "^2.0.7",
|
|
65
|
+
"tailwind-merge": "^3.5.0",
|
|
66
|
+
"uuid": "13.0.0",
|
|
60
67
|
"web-vitals": "5.1.0"
|
|
61
68
|
},
|
|
62
69
|
"devDependencies": {
|
|
63
|
-
"@babel/core": "7.28.
|
|
64
|
-
"@babel/plugin-transform-runtime": "7.28.
|
|
65
|
-
"@babel/preset-env": "7.28.
|
|
66
|
-
"@babel/preset-react": "7.
|
|
67
|
-
"@babel/preset-typescript": "7.
|
|
68
|
-
"@babel/runtime": "7.28.
|
|
69
|
-
"@
|
|
70
|
-
"@rollup/plugin-
|
|
70
|
+
"@babel/core": "7.28.5",
|
|
71
|
+
"@babel/plugin-transform-runtime": "7.28.5",
|
|
72
|
+
"@babel/preset-env": "7.28.5",
|
|
73
|
+
"@babel/preset-react": "7.28.5",
|
|
74
|
+
"@babel/preset-typescript": "7.28.5",
|
|
75
|
+
"@babel/runtime": "7.28.4",
|
|
76
|
+
"@chromatic-com/storybook": "^5.0.1",
|
|
77
|
+
"@rollup/plugin-babel": "6.1.0",
|
|
78
|
+
"@rollup/plugin-commonjs": "29.0.0",
|
|
71
79
|
"@rollup/plugin-image": "^3.0.3",
|
|
72
80
|
"@rollup/plugin-json": "6.1.0",
|
|
73
|
-
"@rollup/plugin-node-resolve": "16.0.
|
|
74
|
-
"@storybook/addon-
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/addon-
|
|
77
|
-
"@storybook/
|
|
78
|
-
"@storybook/
|
|
79
|
-
"@
|
|
80
|
-
"@
|
|
81
|
+
"@rollup/plugin-node-resolve": "16.0.3",
|
|
82
|
+
"@storybook/addon-a11y": "^10.2.19",
|
|
83
|
+
"@storybook/addon-docs": "^10.2.19",
|
|
84
|
+
"@storybook/addon-links": "^10.2.19",
|
|
85
|
+
"@storybook/addon-onboarding": "^10.2.19",
|
|
86
|
+
"@storybook/addon-vitest": "^10.2.19",
|
|
87
|
+
"@storybook/builder-vite": "^10.2.19",
|
|
88
|
+
"@storybook/react-vite": "^10.2.19",
|
|
89
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
90
|
+
"@testing-library/react": "16.3.1",
|
|
81
91
|
"@testing-library/user-event": "14.6.1",
|
|
82
92
|
"@types/lodash-es": "^4.17.12",
|
|
83
|
-
"@types/node": "
|
|
84
|
-
"@types/react": "19.
|
|
85
|
-
"@types/react-dom": "19.
|
|
93
|
+
"@types/node": "25.0.3",
|
|
94
|
+
"@types/react": "19.2.7",
|
|
95
|
+
"@types/react-dom": "19.2.3",
|
|
86
96
|
"@types/rollup-plugin-node-globals": "1.4.5",
|
|
87
|
-
"@vitejs/plugin-react": "5.
|
|
97
|
+
"@vitejs/plugin-react": "5.1.2",
|
|
98
|
+
"@vitest/browser-playwright": "^4.1.0",
|
|
99
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
100
|
+
"@vueless/storybook-dark-mode": "^10.0.7",
|
|
88
101
|
"babel-plugin-styled-components": "2.1.4",
|
|
89
102
|
"copy-webpack-plugin": "13.0.1",
|
|
90
103
|
"customize-cra": "^1.0.0",
|
|
91
|
-
"dayjs": "^1.11.19",
|
|
92
104
|
"dts-bundle-generator": "^9.5.1",
|
|
93
|
-
"
|
|
94
|
-
"eslint-plugin-storybook": "9.1.4",
|
|
105
|
+
"eslint-plugin-storybook": "10.1.10",
|
|
95
106
|
"esm": "^3.2.25",
|
|
107
|
+
"i18next": "25.7.3",
|
|
108
|
+
"i18next-browser-languagedetector": "8.2.0",
|
|
109
|
+
"i18next-http-backend": "3.0.2",
|
|
110
|
+
"i18next-resources-to-backend": "^1.2.1",
|
|
96
111
|
"less-loader": "12.3.0",
|
|
112
|
+
"playwright": "^1.58.2",
|
|
97
113
|
"postcss-custom-properties": "14.0.6",
|
|
98
114
|
"postcss-import": "16.1.1",
|
|
99
115
|
"postcss-nesting": "13.0.2",
|
|
100
116
|
"postcss-normalize": "13.0.1",
|
|
101
|
-
"postcss-preset-env": "10.
|
|
117
|
+
"postcss-preset-env": "10.5.0",
|
|
118
|
+
"react": "19.2.3",
|
|
102
119
|
"react-app-rewired": "^2.2.1",
|
|
103
|
-
"
|
|
120
|
+
"react-dom": "19.2.3",
|
|
121
|
+
"react-i18next": "16.5.0",
|
|
122
|
+
"rollup": "4.54.0",
|
|
104
123
|
"rollup-plugin-copy": "^3.5.0",
|
|
105
|
-
"rollup-plugin-dts": "6.
|
|
124
|
+
"rollup-plugin-dts": "6.3.0",
|
|
106
125
|
"rollup-plugin-local-resolve": "^1.0.7",
|
|
107
126
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
108
127
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
109
128
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
110
129
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
111
130
|
"rollup-plugin-postcss": "^4.0.2",
|
|
112
|
-
"rollup-plugin-scss": "4.0.1",
|
|
113
131
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
114
132
|
"rollup-plugin-styles": "4.0.0",
|
|
115
133
|
"rollup-plugin-terser": "^7.0.2",
|
|
116
134
|
"rollup-plugin-typescript2": "0.36.0",
|
|
117
|
-
"
|
|
118
|
-
"sass-embedded": "^1.97.1",
|
|
135
|
+
"rollup-plugin-visualizer": "6.0.5",
|
|
119
136
|
"source-map-loader": "5.0.0",
|
|
120
|
-
"storybook": "
|
|
137
|
+
"storybook": "^10.2.19",
|
|
138
|
+
"styled-components": "6.1.19",
|
|
121
139
|
"tslib": "2.8.1",
|
|
122
|
-
"typescript": "5.9.
|
|
123
|
-
"vite": "7.
|
|
140
|
+
"typescript": "5.9.3",
|
|
141
|
+
"vite": "7.3.0",
|
|
124
142
|
"vite-plugin-css-injected-by-js": "3.5.2",
|
|
125
143
|
"vite-plugin-dts": "4.5.4",
|
|
126
144
|
"vite-plugin-lib-inject-css": "2.2.2",
|
|
127
145
|
"vite-plugin-node-polyfills": "0.24.0",
|
|
128
146
|
"vite-plugin-svgr": "4.5.0",
|
|
129
|
-
"vite-tsconfig-paths": "
|
|
147
|
+
"vite-tsconfig-paths": "6.0.3",
|
|
148
|
+
"vitest": "^4.1.0"
|
|
130
149
|
},
|
|
131
150
|
"peerDependencies": {
|
|
132
|
-
"dayjs": "1.11.18",
|
|
133
151
|
"react": "^19.1.0",
|
|
134
152
|
"react-dom": "^19.1.0",
|
|
135
|
-
"sonner": "^2.0.0",
|
|
136
153
|
"styled-components": "^6.1.19"
|
|
137
154
|
},
|
|
138
155
|
"bugs": {
|
|
139
156
|
"url": "https://github.com/inntechcorp/it-design-library/issues"
|
|
140
157
|
},
|
|
141
158
|
"keywords": [
|
|
159
|
+
"design-system",
|
|
160
|
+
"component-library",
|
|
161
|
+
"react",
|
|
162
|
+
"typescript",
|
|
163
|
+
"styled-components",
|
|
164
|
+
"accessibility",
|
|
165
|
+
"wcag",
|
|
166
|
+
"a11y",
|
|
167
|
+
"ui",
|
|
142
168
|
"design",
|
|
143
|
-
"
|
|
144
|
-
"
|
|
169
|
+
"oklch",
|
|
170
|
+
"dark-mode"
|
|
145
171
|
],
|
|
146
172
|
"eslintConfig": {
|
|
147
173
|
"extends": [
|
|
@@ -167,15 +193,21 @@
|
|
|
167
193
|
"exports": {
|
|
168
194
|
".": {
|
|
169
195
|
"import": {
|
|
170
|
-
"types": "./dist/index.d.
|
|
171
|
-
"default": "./dist/index.
|
|
196
|
+
"types": "./dist/index.d.ts",
|
|
197
|
+
"default": "./dist/es/index.js"
|
|
172
198
|
},
|
|
173
199
|
"require": {
|
|
174
200
|
"types": "./dist/index.d.ts",
|
|
175
|
-
"default": "./dist/index.
|
|
201
|
+
"default": "./dist/cjs/index.js"
|
|
176
202
|
}
|
|
177
203
|
},
|
|
204
|
+
"./global.css": "./dist/global.css",
|
|
178
205
|
"./dist/global.css": "./dist/global.css",
|
|
206
|
+
"./css/properties.css": "./dist/css/properties.css",
|
|
207
|
+
"./css/reset.css": "./dist/css/reset.css",
|
|
208
|
+
"./css/base.css": "./dist/css/base.css",
|
|
209
|
+
"./css/components.css": "./dist/css/components.css",
|
|
210
|
+
"./css/utilities.css": "./dist/css/utilities.css",
|
|
179
211
|
"./locales/*": "./dist/locales/*"
|
|
180
212
|
},
|
|
181
213
|
"directories": {
|
package/dist/alert/styled.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
3
|
-
declare const Description: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
4
|
-
declare const Texts: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
5
|
-
$noTitle: boolean;
|
|
6
|
-
}>> & string;
|
|
7
|
-
declare const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
-
export { Wrapper, IconWrapper, Title, Description, Texts };
|
package/dist/button/styled.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IIcon, IImage, ISVG } from 'types/ButtonProps';
|
|
2
|
-
declare const Icon: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IIcon>> & string;
|
|
3
|
-
declare const Element: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof IIcon> & IIcon, never>> & string;
|
|
4
|
-
declare const SVG: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ISVG>> & string;
|
|
5
|
-
declare const ImageWrapper: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IImage>> & string;
|
|
6
|
-
declare const Hide: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
7
|
-
$loading: string;
|
|
8
|
-
}>> & string;
|
|
9
|
-
declare const ClickButton: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IIcon>> & string;
|
|
10
|
-
declare const Link: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, IIcon>> & string;
|
|
11
|
-
declare const A: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components/dist/types.js").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, IIcon>> & string;
|
|
12
|
-
export { SVG, Hide, Element, ImageWrapper, ClickButton, Link, A, Icon };
|