@inntechcorp/it-design 3.1.3 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert/index.d.ts +1 -3
- package/dist/alert/styled.d.ts +7 -3
- package/dist/alink/styled.d.ts +1 -1
- package/dist/button/button.style.SVG.d.ts +4 -0
- package/dist/button/index.d.ts +1 -1
- package/dist/card/index.d.ts +1 -1
- package/dist/card/styles.d.ts +1 -2
- package/dist/checkbox/styled.d.ts +2 -3
- package/dist/cropper/index.d.ts +38 -0
- package/dist/datepicker/styled.d.ts +2 -2
- package/dist/enums/enum.d.ts +5 -16
- package/dist/form/context/FormContext.d.ts +0 -3
- package/dist/form/context/FormStore.d.ts +1 -4
- package/dist/form/item/Item.d.ts +1 -0
- package/dist/global.css +113 -333
- package/dist/helpers/index.d.ts +0 -4
- package/dist/index.cjs.js +5480 -0
- package/dist/index.d.mts +25 -65
- package/dist/index.d.ts +196 -731
- package/dist/index.esm.js +5480 -0
- package/dist/input/styled.d.ts +17 -15
- package/dist/locales/en/itd.json +14 -30
- package/dist/locales/itd.json +14 -30
- package/dist/locales/tr/itd.json +14 -30
- package/dist/radio/button/RadioButton.d.ts +1 -1
- package/dist/result/index.d.ts +1 -1
- package/dist/select/menu/Menu.d.ts +14 -0
- package/dist/select/menu/styled.d.ts +8 -0
- package/dist/select/option/Option.d.ts +3 -10
- package/dist/select/style.settings.d.ts +26 -83
- package/dist/select/styled.d.ts +2 -4
- package/dist/select/toggle/Toggle.d.ts +1 -1
- package/dist/select/toggle/label/floating/FloatingLabel.d.ts +12 -0
- package/dist/select/toggle/label/floating/styled.d.ts +8 -0
- package/dist/select/toggle/label/{Label.d.ts → single/SingleLabel.d.ts} +5 -5
- package/dist/select/toggle/styled.d.ts +4 -4
- package/dist/stories/Accordion.d.ts +1 -0
- package/dist/stories/Alert.stories.d.ts +1 -15
- package/dist/stories/Button.d.ts +1 -0
- package/dist/stories/Button.stories.d.ts +1 -8
- package/dist/stories/ButtonIcon.d.ts +2 -0
- package/dist/stories/Card.stories.d.ts +0 -1
- package/dist/stories/DatePicker.d.ts +1 -0
- package/dist/stories/Form.stories.d.ts +1 -11
- package/dist/stories/Header.d.ts +1 -0
- package/dist/stories/Input.d.ts +1 -0
- package/dist/stories/Input.stories.d.ts +2 -89
- package/dist/stories/ModalManager.d.ts +1 -0
- package/dist/stories/Page.d.ts +1 -0
- package/dist/stories/Select.d.ts +1 -0
- package/dist/stories/Select.stories.d.ts +3 -13
- package/dist/stories/Switch.stories.d.ts +1 -8
- package/dist/stories/TextArea.d.ts +1 -0
- package/dist/stories/TextArea.stories.d.ts +1 -8
- package/dist/stories/Upload.stories.d.ts +3 -0
- package/dist/stories/root/index.d.ts +1 -0
- package/dist/switch/styled.d.ts +1 -1
- package/dist/textarea/styled.d.ts +4 -2
- package/dist/types/AlertProps.d.ts +4 -5
- package/dist/types/ButtonProps.d.ts +2 -2
- package/dist/types/CalendarProps.d.ts +1 -0
- package/dist/types/CardProps.d.ts +0 -4
- package/dist/types/CheckboxProps.d.ts +1 -5
- package/dist/types/DatePickerProps.d.ts +3 -2
- package/dist/types/FormProps.d.ts +0 -3
- package/dist/types/ITDProps.d.ts +2 -4
- package/dist/types/InputProps.d.ts +2 -1
- package/dist/types/RadioProps.d.ts +0 -1
- package/dist/types/ResultProps.d.ts +0 -1
- package/dist/types/SelectProps.d.ts +13 -5
- package/dist/types/SwitchProps.d.ts +1 -4
- package/dist/types/TableProps.d.ts +0 -1
- package/dist/types/UploadProps.d.ts +16 -2
- package/dist/upload/index.d.ts +1 -1
- package/dist/upload/styled.d.ts +2 -5
- package/package.json +4 -14
- package/dist/alert/Description.d.ts +0 -7
- package/dist/alert/Title.d.ts +0 -7
- package/dist/alert/alert.style.neutral.d.ts +0 -4
- package/dist/cjs/_virtual/_commonjsHelpers.js +0 -1
- package/dist/cjs/_virtual/customParseFormat.js +0 -1
- package/dist/cjs/_virtual/customParseFormat2.js +0 -1
- package/dist/cjs/_virtual/dayjs.min.js +0 -1
- package/dist/cjs/_virtual/dayjs.min2.js +0 -1
- package/dist/cjs/_virtual/localizedFormat.js +0 -1
- package/dist/cjs/_virtual/localizedFormat2.js +0 -1
- package/dist/cjs/_virtual/react.js +0 -1
- package/dist/cjs/accordion/index.js +0 -1
- package/dist/cjs/accordion/item/Item.js +0 -1
- package/dist/cjs/accordion/item/styled.js +0 -20
- package/dist/cjs/accordion/styled.js +0 -15
- package/dist/cjs/accordion/submenu/SubMenu.js +0 -1
- package/dist/cjs/accordion/submenu/styled.js +0 -214
- package/dist/cjs/alert/Description.js +0 -1
- package/dist/cjs/alert/Title.js +0 -1
- package/dist/cjs/alert/alert.style.error.js +0 -32
- package/dist/cjs/alert/alert.style.info.js +0 -32
- package/dist/cjs/alert/alert.style.neutral.js +0 -32
- package/dist/cjs/alert/alert.style.success.js +0 -32
- package/dist/cjs/alert/alert.style.warning.js +0 -32
- package/dist/cjs/alert/index.js +0 -1
- package/dist/cjs/alert/styled.js +0 -68
- package/dist/cjs/alink/index.js +0 -1
- package/dist/cjs/alink/styled.js +0 -5
- package/dist/cjs/back-top/index.js +0 -1
- package/dist/cjs/back-top/styled.js +0 -25
- package/dist/cjs/button/button.style.circle.js +0 -38
- package/dist/cjs/button/button.style.default.js +0 -44
- package/dist/cjs/button/button.style.filled.js +0 -49
- package/dist/cjs/button/button.style.ghost.js +0 -47
- package/dist/cjs/button/button.style.icon.js +0 -33
- package/dist/cjs/button/button.style.link.js +0 -45
- package/dist/cjs/button/button.style.outline.js +0 -49
- package/dist/cjs/button/button.style.size.js +0 -187
- package/dist/cjs/button/button.style.solid.js +0 -50
- package/dist/cjs/button/button.style.strecth.js +0 -8
- package/dist/cjs/button/index.js +0 -1
- package/dist/cjs/button/styled.js +0 -415
- package/dist/cjs/calendar/dates.js +0 -1
- package/dist/cjs/calendar/day/Day.js +0 -1
- package/dist/cjs/calendar/day/styled.js +0 -91
- package/dist/cjs/calendar/header/Header.js +0 -1
- package/dist/cjs/calendar/header/styled.js +0 -196
- package/dist/cjs/calendar/index.js +0 -1
- package/dist/cjs/calendar/styled.js +0 -82
- package/dist/cjs/card/index.js +0 -1
- package/dist/cjs/card/styles.js +0 -66
- package/dist/cjs/checkbox/group/index.js +0 -1
- package/dist/cjs/checkbox/group/styled.js +0 -9
- package/dist/cjs/checkbox/index.js +0 -1
- package/dist/cjs/checkbox/styled.js +0 -340
- package/dist/cjs/context/ITDContext.js +0 -1
- package/dist/cjs/context/ITDThemeProvider.js +0 -1
- package/dist/cjs/context/styled.js +0 -15
- package/dist/cjs/datepicker/index.js +0 -1
- package/dist/cjs/datepicker/styled.js +0 -60
- package/dist/cjs/enums/enum.js +0 -1
- package/dist/cjs/flex/index.js +0 -1
- package/dist/cjs/flex/styled.js +0 -35
- package/dist/cjs/form/context/FormContext.js +0 -1
- package/dist/cjs/form/context/FormStore.js +0 -1
- package/dist/cjs/form/control/Control.js +0 -1
- package/dist/cjs/form/control/styled.js +0 -8
- package/dist/cjs/form/group/Group.js +0 -1
- package/dist/cjs/form/group/styled.js +0 -7
- package/dist/cjs/form/index.js +0 -1
- package/dist/cjs/form/item/Item.js +0 -1
- package/dist/cjs/form/validation/TCIdentity.js +0 -1
- package/dist/cjs/form/validation/Validator.js +0 -1
- package/dist/cjs/form/wrapper/FormWrapper.js +0 -1
- package/dist/cjs/helpers/array/ChunkArray.js +0 -1
- package/dist/cjs/helpers/aspectratio/DetermineNewHeight.js +0 -1
- package/dist/cjs/helpers/aspectratio/DetermineNewWidth.js +0 -1
- package/dist/cjs/helpers/base64/Base64Decode.js +0 -1
- package/dist/cjs/helpers/base64/Base64Encode.js +0 -1
- package/dist/cjs/helpers/binary/FormatBytes.js +0 -1
- package/dist/cjs/helpers/binary/GetTypeByFileType.js +0 -1
- package/dist/cjs/helpers/checker/CheckFileURL.js +0 -1
- package/dist/cjs/helpers/checker/FileChecker.js +0 -1
- package/dist/cjs/helpers/country/GetCountryCodeByCurrencyCode.js +0 -1
- package/dist/cjs/helpers/country/GetCountryCodeByLanguage.js +0 -1
- package/dist/cjs/helpers/css/FindSelector.js +0 -1
- package/dist/cjs/helpers/currency/ConvertCurrency.js +0 -1
- package/dist/cjs/helpers/currency/GetByCurrency.js +0 -1
- package/dist/cjs/helpers/currency/GetCurrencyFormat.js +0 -1
- package/dist/cjs/helpers/currency/GetCurrencySymbol.js +0 -1
- package/dist/cjs/helpers/currency/GetDecimalByCurrency.js +0 -1
- package/dist/cjs/helpers/datetime/FormatDate.js +0 -1
- package/dist/cjs/helpers/datetime/FormatDateTime.js +0 -1
- package/dist/cjs/helpers/datetime/FormatSimpleDate.js +0 -1
- package/dist/cjs/helpers/datetime/FormatSimpleDateTime.js +0 -1
- package/dist/cjs/helpers/datetime/FormatTime.js +0 -1
- package/dist/cjs/helpers/datetime/dayjsSetup.js +0 -1
- package/dist/cjs/helpers/format/ToKebabCase.js +0 -1
- package/dist/cjs/helpers/json/IsValidJSON.js +0 -1
- package/dist/cjs/helpers/math/AddZero.js +0 -1
- package/dist/cjs/helpers/promise/Wait.js +0 -1
- package/dist/cjs/helpers/remover/RemoveUnits.js +0 -1
- package/dist/cjs/helpers/string/UniUpperCase.js +0 -1
- package/dist/cjs/helpers/svg/SVGLoader.js +0 -1
- package/dist/cjs/helpers/svg/styles.js +0 -22
- package/dist/cjs/helpers/theme/AddDefaultThemeStyle.js +0 -1
- package/dist/cjs/helpers/theme/Color.js +0 -1
- package/dist/cjs/helpers/theme/GenerateColorScale.js +0 -1
- package/dist/cjs/helpers/theme/UpdateThemeStyle.js +0 -1
- package/dist/cjs/helpers/theme/cssVariables.js +0 -1
- package/dist/cjs/helpers/theme/dark.js +0 -1
- package/dist/cjs/helpers/theme/light.js +0 -1
- package/dist/cjs/helpers/theme/tokens.js +0 -1
- package/dist/cjs/helpers/unit/AddDefaultUnit.js +0 -1
- package/dist/cjs/helpers/url/ValidURL.js +0 -1
- package/dist/cjs/hooks/useAddExternalCSS.js +0 -1
- package/dist/cjs/hooks/useAvoidCollision.js +0 -1
- package/dist/cjs/hooks/useComponentSize.js +0 -1
- package/dist/cjs/hooks/useConnectionStatus.js +0 -1
- package/dist/cjs/hooks/useConstructor.js +0 -1
- package/dist/cjs/hooks/useContextBridge.js +0 -1
- package/dist/cjs/hooks/useCoreFetch.js +0 -1
- package/dist/cjs/hooks/useKeyboardShortcut.js +0 -1
- package/dist/cjs/hooks/useMultiQuery.js +0 -1
- package/dist/cjs/hooks/useOnClickOutside.js +0 -1
- package/dist/cjs/hooks/useOnESCKeyDown.js +0 -1
- package/dist/cjs/hooks/useOnResize.js +0 -1
- package/dist/cjs/hooks/useOrientation.js +0 -1
- package/dist/cjs/hooks/useReCaptcha.js +0 -1
- package/dist/cjs/hooks/useSingleQuery.js +0 -1
- package/dist/cjs/html/header/H1.js +0 -1
- package/dist/cjs/html/header/H2.js +0 -1
- package/dist/cjs/html/header/H3.js +0 -1
- package/dist/cjs/html/header/H4.js +0 -1
- package/dist/cjs/html/header/styled.js +0 -33
- package/dist/cjs/icons/Arrow.js +0 -1
- package/dist/cjs/icons/BackToTop.js +0 -1
- package/dist/cjs/icons/Checkmark.js +0 -1
- package/dist/cjs/icons/InlineSelectArrow.js +0 -1
- package/dist/cjs/icons/Lock.js +0 -1
- package/dist/cjs/icons/NoData.js +0 -1
- package/dist/cjs/icons/Picture.js +0 -1
- package/dist/cjs/icons/Trash.js +0 -1
- package/dist/cjs/icons/Upload.js +0 -1
- package/dist/cjs/icons/ZoomIn.js +0 -1
- package/dist/cjs/icons/ZoomOut.js +0 -1
- package/dist/cjs/image/index.js +0 -1
- package/dist/cjs/image/styled.js +0 -4
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/input/index.js +0 -1
- package/dist/cjs/input/style.settings.js +0 -1
- package/dist/cjs/input/styled.js +0 -430
- package/dist/cjs/locales/en/calendar.json.js +0 -1
- package/dist/cjs/locales/en/itd.json.js +0 -1
- package/dist/cjs/locales/tr/calendar.json.js +0 -1
- package/dist/cjs/locales/tr/itd.json.js +0 -1
- package/dist/cjs/logger/index.js +0 -1
- package/dist/cjs/modal/container/ModalContainer.js +0 -1
- package/dist/cjs/modal/container/styled.js +0 -27
- package/dist/cjs/modal/context/ModalContext.js +0 -1
- package/dist/cjs/modal/index.js +0 -1
- package/dist/cjs/modal/modal/Modal.js +0 -1
- package/dist/cjs/modal/modal/closeicon.svg.js +0 -1
- package/dist/cjs/modal/modal/styled.js +0 -128
- package/dist/cjs/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +0 -1
- package/dist/cjs/node_modules/@react-spring/core/dist/react-spring_core.modern.js +0 -1
- package/dist/cjs/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +0 -1
- package/dist/cjs/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +0 -1
- package/dist/cjs/node_modules/@react-spring/web/dist/react-spring_web.modern.js +0 -1
- package/dist/cjs/node_modules/dayjs/dayjs.min.js +0 -1
- package/dist/cjs/node_modules/dayjs/plugin/customParseFormat.js +0 -1
- package/dist/cjs/node_modules/dayjs/plugin/localizedFormat.js +0 -1
- package/dist/cjs/node_modules/fast-deep-equal/react.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_Symbol.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_arrayMap.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseGetTag.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseToString.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_freeGlobal.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_getRawTag.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_objectToString.js +0 -1
- package/dist/cjs/node_modules/lodash-es/_root.js +0 -1
- package/dist/cjs/node_modules/lodash-es/isArray.js +0 -1
- package/dist/cjs/node_modules/lodash-es/isObject.js +0 -1
- package/dist/cjs/node_modules/lodash-es/isObjectLike.js +0 -1
- package/dist/cjs/node_modules/lodash-es/isSymbol.js +0 -1
- package/dist/cjs/node_modules/lodash-es/toString.js +0 -1
- package/dist/cjs/node_modules/lodash-es/uniqueId.js +0 -1
- package/dist/cjs/node_modules/lucide-react/dist/esm/Icon.js +0 -8
- package/dist/cjs/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -1
- package/dist/cjs/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -1
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/calendar-1.js +0 -8
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -8
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/circle-x.js +0 -8
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye.js +0 -8
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/info.js +0 -8
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/trash.js +0 -8
- package/dist/cjs/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -7
- package/dist/cjs/node_modules/overlayscrollbars/overlayscrollbars.js +0 -10
- package/dist/cjs/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +0 -1
- package/dist/cjs/node_modules/react-number-format/dist/react-number-format.es.js +0 -1
- package/dist/cjs/node_modules/rollup-plugin-node-globals/src/global.js +0 -1
- package/dist/cjs/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +0 -1
- package/dist/cjs/node_modules/uuid/dist/esm-browser/native.js +0 -1
- package/dist/cjs/node_modules/uuid/dist/esm-browser/rng.js +0 -1
- package/dist/cjs/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
- package/dist/cjs/node_modules/uuid/dist/esm-browser/v4.js +0 -1
- package/dist/cjs/notification/container/Container.js +0 -1
- package/dist/cjs/notification/container/styled.js +0 -26
- package/dist/cjs/notification/context/NotificationsContext.js +0 -1
- package/dist/cjs/notification/index.js +0 -1
- package/dist/cjs/notification/item/Item.js +0 -1
- package/dist/cjs/notification/item/styled.js +0 -42
- package/dist/cjs/progress/index.js +0 -1
- package/dist/cjs/progress/styled.js +0 -59
- package/dist/cjs/radio/button/RadioButton.js +0 -1
- package/dist/cjs/radio/button/styled.js +0 -133
- package/dist/cjs/radio/group/Group.js +0 -1
- package/dist/cjs/radio/group/styled.js +0 -7
- package/dist/cjs/radio/index.js +0 -1
- package/dist/cjs/result/index.js +0 -1
- package/dist/cjs/result/styled.js +0 -109
- package/dist/cjs/select/dropdown/Dropdown.js +0 -1
- package/dist/cjs/select/dropdown/styled.js +0 -239
- package/dist/cjs/select/index.js +0 -1
- package/dist/cjs/select/option/Option.js +0 -1
- package/dist/cjs/select/option/styled.js +0 -36
- package/dist/cjs/select/style.settings.js +0 -1
- package/dist/cjs/select/styled.js +0 -331
- package/dist/cjs/select/toggle/Toggle.js +0 -1
- package/dist/cjs/select/toggle/label/Label.js +0 -1
- package/dist/cjs/select/toggle/label/styled.js +0 -5
- package/dist/cjs/select/toggle/styled.js +0 -88
- package/dist/cjs/spin/index.js +0 -1
- package/dist/cjs/spin/styled.js +0 -74
- package/dist/cjs/status/index.js +0 -1
- package/dist/cjs/status/styled.js +0 -75
- package/dist/cjs/switch/index.js +0 -1
- package/dist/cjs/switch/styled.js +0 -209
- package/dist/cjs/table/index.js +0 -1
- package/dist/cjs/table/styled.js +0 -458
- package/dist/cjs/tabs/index.js +0 -1
- package/dist/cjs/tabs/styles.js +0 -96
- package/dist/cjs/textarea/index.js +0 -1
- package/dist/cjs/textarea/styled.js +0 -220
- package/dist/cjs/tinyscrollbar/index.js +0 -1
- package/dist/cjs/tinyscrollbar/scroll.styled.js +0 -21
- package/dist/cjs/types/InputProps.js +0 -1
- package/dist/cjs/upload/index.js +0 -1
- package/dist/cjs/upload/styled.js +0 -228
- package/dist/cjs/utils/CommonStyledComponents.js +0 -61
- package/dist/cjs/utils/GetIconSizeBySize.js +0 -1
- package/dist/cjs/utils/GetSizeSlugBySize.js +0 -1
- package/dist/cjs/utils/InlineSVGCached.js +0 -1
- package/dist/context/ITDThemeProvider.d.ts +0 -8
- package/dist/es/_virtual/_commonjsHelpers.js +0 -1
- package/dist/es/_virtual/customParseFormat.js +0 -1
- package/dist/es/_virtual/customParseFormat2.js +0 -1
- package/dist/es/_virtual/dayjs.min.js +0 -1
- package/dist/es/_virtual/dayjs.min2.js +0 -1
- package/dist/es/_virtual/localizedFormat.js +0 -1
- package/dist/es/_virtual/localizedFormat2.js +0 -1
- package/dist/es/_virtual/react.js +0 -1
- package/dist/es/accordion/index.js +0 -1
- package/dist/es/accordion/item/Item.js +0 -1
- package/dist/es/accordion/item/styled.js +0 -20
- package/dist/es/accordion/styled.js +0 -15
- package/dist/es/accordion/submenu/SubMenu.js +0 -1
- package/dist/es/accordion/submenu/styled.js +0 -214
- package/dist/es/alert/Description.js +0 -1
- package/dist/es/alert/Title.js +0 -1
- package/dist/es/alert/alert.style.error.js +0 -32
- package/dist/es/alert/alert.style.info.js +0 -32
- package/dist/es/alert/alert.style.neutral.js +0 -32
- package/dist/es/alert/alert.style.success.js +0 -32
- package/dist/es/alert/alert.style.warning.js +0 -32
- package/dist/es/alert/index.js +0 -1
- package/dist/es/alert/styled.js +0 -68
- package/dist/es/alink/index.js +0 -1
- package/dist/es/alink/styled.js +0 -5
- package/dist/es/back-top/index.js +0 -1
- package/dist/es/back-top/styled.js +0 -25
- package/dist/es/button/button.style.circle.js +0 -38
- package/dist/es/button/button.style.default.js +0 -44
- package/dist/es/button/button.style.filled.js +0 -49
- package/dist/es/button/button.style.ghost.js +0 -47
- package/dist/es/button/button.style.icon.js +0 -33
- package/dist/es/button/button.style.link.js +0 -45
- package/dist/es/button/button.style.outline.js +0 -49
- package/dist/es/button/button.style.size.js +0 -187
- package/dist/es/button/button.style.solid.js +0 -50
- package/dist/es/button/button.style.strecth.js +0 -8
- package/dist/es/button/index.js +0 -1
- package/dist/es/button/styled.js +0 -415
- package/dist/es/calendar/dates.js +0 -1
- package/dist/es/calendar/day/Day.js +0 -1
- package/dist/es/calendar/day/styled.js +0 -91
- package/dist/es/calendar/header/Header.js +0 -1
- package/dist/es/calendar/header/styled.js +0 -196
- package/dist/es/calendar/index.js +0 -1
- package/dist/es/calendar/styled.js +0 -82
- package/dist/es/card/index.js +0 -1
- package/dist/es/card/styles.js +0 -66
- package/dist/es/checkbox/group/index.js +0 -1
- package/dist/es/checkbox/group/styled.js +0 -9
- package/dist/es/checkbox/index.js +0 -1
- package/dist/es/checkbox/styled.js +0 -340
- package/dist/es/context/ITDContext.js +0 -1
- package/dist/es/context/ITDThemeProvider.js +0 -1
- package/dist/es/context/styled.js +0 -15
- package/dist/es/datepicker/index.js +0 -1
- package/dist/es/datepicker/styled.js +0 -60
- package/dist/es/enums/enum.js +0 -1
- package/dist/es/flex/index.js +0 -1
- package/dist/es/flex/styled.js +0 -35
- package/dist/es/form/context/FormContext.js +0 -1
- package/dist/es/form/context/FormStore.js +0 -1
- package/dist/es/form/control/Control.js +0 -1
- package/dist/es/form/control/styled.js +0 -8
- package/dist/es/form/group/Group.js +0 -1
- package/dist/es/form/group/styled.js +0 -7
- package/dist/es/form/index.js +0 -1
- package/dist/es/form/item/Item.js +0 -1
- package/dist/es/form/validation/TCIdentity.js +0 -1
- package/dist/es/form/validation/Validator.js +0 -1
- package/dist/es/form/wrapper/FormWrapper.js +0 -1
- package/dist/es/helpers/array/ChunkArray.js +0 -1
- package/dist/es/helpers/aspectratio/DetermineNewHeight.js +0 -1
- package/dist/es/helpers/aspectratio/DetermineNewWidth.js +0 -1
- package/dist/es/helpers/base64/Base64Decode.js +0 -1
- package/dist/es/helpers/base64/Base64Encode.js +0 -1
- package/dist/es/helpers/binary/FormatBytes.js +0 -1
- package/dist/es/helpers/binary/GetTypeByFileType.js +0 -1
- package/dist/es/helpers/checker/CheckFileURL.js +0 -1
- package/dist/es/helpers/checker/FileChecker.js +0 -1
- package/dist/es/helpers/country/GetCountryCodeByCurrencyCode.js +0 -1
- package/dist/es/helpers/country/GetCountryCodeByLanguage.js +0 -1
- package/dist/es/helpers/css/FindSelector.js +0 -1
- package/dist/es/helpers/currency/ConvertCurrency.js +0 -1
- package/dist/es/helpers/currency/GetByCurrency.js +0 -1
- package/dist/es/helpers/currency/GetCurrencyFormat.js +0 -1
- package/dist/es/helpers/currency/GetCurrencySymbol.js +0 -1
- package/dist/es/helpers/currency/GetDecimalByCurrency.js +0 -1
- package/dist/es/helpers/datetime/FormatDate.js +0 -1
- package/dist/es/helpers/datetime/FormatDateTime.js +0 -1
- package/dist/es/helpers/datetime/FormatSimpleDate.js +0 -1
- package/dist/es/helpers/datetime/FormatSimpleDateTime.js +0 -1
- package/dist/es/helpers/datetime/FormatTime.js +0 -1
- package/dist/es/helpers/datetime/dayjsSetup.js +0 -1
- package/dist/es/helpers/format/ToKebabCase.js +0 -1
- package/dist/es/helpers/json/IsValidJSON.js +0 -1
- package/dist/es/helpers/math/AddZero.js +0 -1
- package/dist/es/helpers/promise/Wait.js +0 -1
- package/dist/es/helpers/remover/RemoveUnits.js +0 -1
- package/dist/es/helpers/string/UniUpperCase.js +0 -1
- package/dist/es/helpers/svg/SVGLoader.js +0 -1
- package/dist/es/helpers/svg/styles.js +0 -22
- package/dist/es/helpers/theme/AddDefaultThemeStyle.js +0 -1
- package/dist/es/helpers/theme/Color.js +0 -1
- package/dist/es/helpers/theme/GenerateColorScale.js +0 -1
- package/dist/es/helpers/theme/UpdateThemeStyle.js +0 -1
- package/dist/es/helpers/theme/cssVariables.js +0 -1
- package/dist/es/helpers/theme/dark.js +0 -1
- package/dist/es/helpers/theme/light.js +0 -1
- package/dist/es/helpers/theme/tokens.js +0 -1
- package/dist/es/helpers/unit/AddDefaultUnit.js +0 -1
- package/dist/es/helpers/url/ValidURL.js +0 -1
- package/dist/es/hooks/useAddExternalCSS.js +0 -1
- package/dist/es/hooks/useAvoidCollision.js +0 -1
- package/dist/es/hooks/useComponentSize.js +0 -1
- package/dist/es/hooks/useConnectionStatus.js +0 -1
- package/dist/es/hooks/useConstructor.js +0 -1
- package/dist/es/hooks/useContextBridge.js +0 -1
- package/dist/es/hooks/useCoreFetch.js +0 -1
- package/dist/es/hooks/useKeyboardShortcut.js +0 -1
- package/dist/es/hooks/useMultiQuery.js +0 -1
- package/dist/es/hooks/useOnClickOutside.js +0 -1
- package/dist/es/hooks/useOnESCKeyDown.js +0 -1
- package/dist/es/hooks/useOnResize.js +0 -1
- package/dist/es/hooks/useOrientation.js +0 -1
- package/dist/es/hooks/useReCaptcha.js +0 -1
- package/dist/es/hooks/useSingleQuery.js +0 -1
- package/dist/es/html/header/H1.js +0 -1
- package/dist/es/html/header/H2.js +0 -1
- package/dist/es/html/header/H3.js +0 -1
- package/dist/es/html/header/H4.js +0 -1
- package/dist/es/html/header/styled.js +0 -33
- package/dist/es/icons/Arrow.js +0 -1
- package/dist/es/icons/BackToTop.js +0 -1
- package/dist/es/icons/Checkmark.js +0 -1
- package/dist/es/icons/InlineSelectArrow.js +0 -1
- package/dist/es/icons/Lock.js +0 -1
- package/dist/es/icons/NoData.js +0 -1
- package/dist/es/icons/Picture.js +0 -1
- package/dist/es/icons/Trash.js +0 -1
- package/dist/es/icons/Upload.js +0 -1
- package/dist/es/icons/ZoomIn.js +0 -1
- package/dist/es/icons/ZoomOut.js +0 -1
- package/dist/es/image/index.js +0 -1
- package/dist/es/image/styled.js +0 -4
- package/dist/es/index.js +0 -1
- package/dist/es/input/index.js +0 -1
- package/dist/es/input/style.settings.js +0 -1
- package/dist/es/input/styled.js +0 -430
- package/dist/es/locales/en/calendar.json.js +0 -1
- package/dist/es/locales/en/itd.json.js +0 -1
- package/dist/es/locales/tr/calendar.json.js +0 -1
- package/dist/es/locales/tr/itd.json.js +0 -1
- package/dist/es/logger/index.js +0 -1
- package/dist/es/modal/container/ModalContainer.js +0 -1
- package/dist/es/modal/container/styled.js +0 -27
- package/dist/es/modal/context/ModalContext.js +0 -1
- package/dist/es/modal/index.js +0 -1
- package/dist/es/modal/modal/Modal.js +0 -1
- package/dist/es/modal/modal/closeicon.svg.js +0 -1
- package/dist/es/modal/modal/styled.js +0 -128
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +0 -1
- package/dist/es/node_modules/@react-spring/core/dist/react-spring_core.modern.js +0 -1
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +0 -1
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +0 -1
- package/dist/es/node_modules/@react-spring/web/dist/react-spring_web.modern.js +0 -1
- package/dist/es/node_modules/dayjs/dayjs.min.js +0 -1
- package/dist/es/node_modules/dayjs/plugin/customParseFormat.js +0 -1
- package/dist/es/node_modules/dayjs/plugin/localizedFormat.js +0 -1
- package/dist/es/node_modules/fast-deep-equal/react.js +0 -1
- package/dist/es/node_modules/lodash-es/_Symbol.js +0 -1
- package/dist/es/node_modules/lodash-es/_arrayMap.js +0 -1
- package/dist/es/node_modules/lodash-es/_baseGetTag.js +0 -1
- package/dist/es/node_modules/lodash-es/_baseToString.js +0 -1
- package/dist/es/node_modules/lodash-es/_freeGlobal.js +0 -1
- package/dist/es/node_modules/lodash-es/_getRawTag.js +0 -1
- package/dist/es/node_modules/lodash-es/_objectToString.js +0 -1
- package/dist/es/node_modules/lodash-es/_root.js +0 -1
- package/dist/es/node_modules/lodash-es/isArray.js +0 -1
- package/dist/es/node_modules/lodash-es/isObject.js +0 -1
- package/dist/es/node_modules/lodash-es/isObjectLike.js +0 -1
- package/dist/es/node_modules/lodash-es/isSymbol.js +0 -1
- package/dist/es/node_modules/lodash-es/toString.js +0 -1
- package/dist/es/node_modules/lodash-es/uniqueId.js +0 -1
- package/dist/es/node_modules/lucide-react/dist/esm/Icon.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/icons/calendar-1.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/icons/circle-x.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/icons/eye.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/icons/info.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/icons/trash.js +0 -7
- package/dist/es/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -7
- package/dist/es/node_modules/overlayscrollbars/overlayscrollbars.js +0 -10
- package/dist/es/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +0 -1
- package/dist/es/node_modules/react-number-format/dist/react-number-format.es.js +0 -1
- package/dist/es/node_modules/rollup-plugin-node-globals/src/global.js +0 -1
- package/dist/es/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +0 -1
- package/dist/es/node_modules/uuid/dist/esm-browser/native.js +0 -1
- package/dist/es/node_modules/uuid/dist/esm-browser/rng.js +0 -1
- package/dist/es/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
- package/dist/es/node_modules/uuid/dist/esm-browser/v4.js +0 -1
- package/dist/es/notification/container/Container.js +0 -1
- package/dist/es/notification/container/styled.js +0 -26
- package/dist/es/notification/context/NotificationsContext.js +0 -1
- package/dist/es/notification/index.js +0 -1
- package/dist/es/notification/item/Item.js +0 -1
- package/dist/es/notification/item/styled.js +0 -42
- package/dist/es/progress/index.js +0 -1
- package/dist/es/progress/styled.js +0 -59
- package/dist/es/radio/button/RadioButton.js +0 -1
- package/dist/es/radio/button/styled.js +0 -133
- package/dist/es/radio/group/Group.js +0 -1
- package/dist/es/radio/group/styled.js +0 -7
- package/dist/es/radio/index.js +0 -1
- package/dist/es/result/index.js +0 -1
- package/dist/es/result/styled.js +0 -109
- package/dist/es/select/dropdown/Dropdown.js +0 -1
- package/dist/es/select/dropdown/styled.js +0 -239
- package/dist/es/select/index.js +0 -1
- package/dist/es/select/option/Option.js +0 -1
- package/dist/es/select/option/styled.js +0 -36
- package/dist/es/select/style.settings.js +0 -1
- package/dist/es/select/styled.js +0 -331
- package/dist/es/select/toggle/Toggle.js +0 -1
- package/dist/es/select/toggle/label/Label.js +0 -1
- package/dist/es/select/toggle/label/styled.js +0 -5
- package/dist/es/select/toggle/styled.js +0 -88
- package/dist/es/spin/index.js +0 -1
- package/dist/es/spin/styled.js +0 -74
- package/dist/es/status/index.js +0 -1
- package/dist/es/status/styled.js +0 -75
- package/dist/es/switch/index.js +0 -1
- package/dist/es/switch/styled.js +0 -209
- package/dist/es/table/index.js +0 -1
- package/dist/es/table/styled.js +0 -458
- package/dist/es/tabs/index.js +0 -1
- package/dist/es/tabs/styles.js +0 -96
- package/dist/es/textarea/index.js +0 -1
- package/dist/es/textarea/styled.js +0 -220
- package/dist/es/tinyscrollbar/index.js +0 -1
- package/dist/es/tinyscrollbar/scroll.styled.js +0 -21
- package/dist/es/types/InputProps.js +0 -1
- package/dist/es/upload/index.js +0 -1
- package/dist/es/upload/styled.js +0 -228
- package/dist/es/utils/CommonStyledComponents.js +0 -61
- package/dist/es/utils/GetIconSizeBySize.js +0 -1
- package/dist/es/utils/GetSizeSlugBySize.js +0 -1
- package/dist/es/utils/InlineSVGCached.js +0 -1
- package/dist/helpers/theme/Color.d.ts +0 -19
- package/dist/helpers/theme/GenerateColorScale.d.ts +0 -16
- package/dist/helpers/theme/cssVariables.d.ts +0 -30
- package/dist/helpers/theme/dark.d.ts +0 -3
- package/dist/helpers/theme/index.d.ts +0 -9
- package/dist/helpers/theme/light.d.ts +0 -3
- package/dist/helpers/theme/themes.d.ts +0 -5
- package/dist/helpers/theme/tokens.d.ts +0 -392
- package/dist/input/style.settings.d.ts +0 -9
- package/dist/select/dropdown/Dropdown.d.ts +0 -19
- package/dist/select/dropdown/styled.d.ts +0 -14
- package/dist/stats.html +0 -4949
- package/dist/stories/AlertComposition.d.ts +0 -2
- package/dist/stories/AlertComposition.stories.d.ts +0 -17
- package/dist/stories/ColorScale.d.ts +0 -10
- package/dist/stories/ColorScale.stories.d.ts +0 -24
- package/dist/stories/ColorScaleCompare.d.ts +0 -8
- package/dist/stories/ColorScaleCompare.stories.d.ts +0 -47
- package/dist/types/Theme.d.ts +0 -100
- package/dist/utils/CommonStyledComponents.d.ts +0 -17
- /package/dist/select/toggle/label/{styled.d.ts → single/styled.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, {
|
|
3
|
+
import react__default, { RefObject, Context, ReactNode, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, Ref, MutableRefObject, FocusEvent, KeyboardEvent, MouseEvent, ReactElement, CSSProperties } from 'react';
|
|
4
4
|
import { ChildrenProps as ChildrenProps$1 } from 'types/ChildrenProps';
|
|
5
5
|
import dayjs from 'dayjs';
|
|
6
|
-
import { ConnectionStatus as ConnectionStatus$1,
|
|
6
|
+
import { ConnectionStatus as ConnectionStatus$1, ModalState as ModalState$1, ComponentSizes as ComponentSizes$1, ComponentPositions as ComponentPositions$1, ComponentSizesSlug as ComponentSizesSlug$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
|
|
7
7
|
import { Cancel, AxiosProgressEvent } from 'axios';
|
|
8
8
|
import { SelectValue as SelectValue$1 } from 'types/SelectProps';
|
|
9
|
-
import { ITDVariant as ITDVariant$1, ITDSizeSlug as ITDSizeSlug$1 } from 'types/ITDProps';
|
|
10
9
|
import { ModalProps as ModalProps$1 } from 'types/ModalProps';
|
|
11
10
|
import { RadioButtonProps as RadioButtonProps$1, RadioGroupProps as RadioGroupProps$1 } from 'types/RadioProps';
|
|
12
11
|
import { ITDImperativeFuncProps as ITDImperativeFuncProps$1 } from 'types/ITDImperativeFuncProps';
|
|
@@ -33,133 +32,6 @@ type ITDProviderProps = {
|
|
|
33
32
|
declare const ITDContext: react.Context<ITDContextType>;
|
|
34
33
|
declare const ITDProvider: (props: ITDProviderProps) => react_jsx_runtime.JSX.Element;
|
|
35
34
|
|
|
36
|
-
/**
|
|
37
|
-
* Generate a 50-950 color scale from a single base color (base is 600).
|
|
38
|
-
* Supports both HEX (#rrggbb) and OKLCH (oklch(L C H)) formats.
|
|
39
|
-
*
|
|
40
|
-
* The algorithm uses Tailwind CSS OKLCH color scales as reference,
|
|
41
|
-
* with specific lightness/chroma/hue curves per color band.
|
|
42
|
-
*/
|
|
43
|
-
type Shade = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
|
|
44
|
-
type ColorScale = Record<Shade, string>;
|
|
45
|
-
declare function generateColorScaleFromBase(baseColor: string, options?: {
|
|
46
|
-
clampLightness?: {
|
|
47
|
-
min?: number;
|
|
48
|
-
max?: number;
|
|
49
|
-
};
|
|
50
|
-
}): ColorScale;
|
|
51
|
-
|
|
52
|
-
type ITDTheme = {
|
|
53
|
-
appearance: 'light' | 'dark';
|
|
54
|
-
transitionDuration: string;
|
|
55
|
-
transitionTimingFunction: string;
|
|
56
|
-
fontSans?: string;
|
|
57
|
-
fontMono?: string;
|
|
58
|
-
boxShadow: string;
|
|
59
|
-
borderRadius: string;
|
|
60
|
-
ringOffset: string;
|
|
61
|
-
ringWidth: string;
|
|
62
|
-
background: string;
|
|
63
|
-
foreground: string;
|
|
64
|
-
input: string;
|
|
65
|
-
primary: string;
|
|
66
|
-
primaryHover: string;
|
|
67
|
-
primaryForeground: string;
|
|
68
|
-
primaryScale: ColorScale;
|
|
69
|
-
secondary: string;
|
|
70
|
-
secondaryHover: string;
|
|
71
|
-
secondaryForeground: string;
|
|
72
|
-
secondaryForegroundHover: string;
|
|
73
|
-
accent: string;
|
|
74
|
-
accentForeground: string;
|
|
75
|
-
muted: string;
|
|
76
|
-
mutedForeground: string;
|
|
77
|
-
selection: string;
|
|
78
|
-
selectionForeground: string;
|
|
79
|
-
popover: string;
|
|
80
|
-
popoverForeground: string;
|
|
81
|
-
card: string;
|
|
82
|
-
cardForeground: string;
|
|
83
|
-
colorText: string;
|
|
84
|
-
colorTextMuted: string;
|
|
85
|
-
colorTextMutedForeground: string;
|
|
86
|
-
colorPlaceholder: string;
|
|
87
|
-
colorTextNeutral: string;
|
|
88
|
-
colorControlLabel: string;
|
|
89
|
-
colorModalShadow: string;
|
|
90
|
-
colorBorder: string;
|
|
91
|
-
colorBorderHover: string;
|
|
92
|
-
colorBorderTransparent: string;
|
|
93
|
-
colorBackgroundAlt: string;
|
|
94
|
-
colorBackgroundAltHover: string;
|
|
95
|
-
colorBackgroundTransparent: string;
|
|
96
|
-
colorBackgroundModal: string;
|
|
97
|
-
colorForegroundItemSelected: string;
|
|
98
|
-
colorForegroundItemSelectedText: string;
|
|
99
|
-
colorBackgroundSelect: string;
|
|
100
|
-
colorBackgroundSelectFilled: string;
|
|
101
|
-
colorBackgroundSelectFilledItem: string;
|
|
102
|
-
colorBackgroundSelectItem: string;
|
|
103
|
-
colorBackgroundSelectItemHover: string;
|
|
104
|
-
colorBackgroundSelectItemSelected: string;
|
|
105
|
-
colorDisabledBg: string;
|
|
106
|
-
colorDisabledBorder: string;
|
|
107
|
-
colorDisabledText: string;
|
|
108
|
-
colorIcon: string;
|
|
109
|
-
colorIconMuted: string;
|
|
110
|
-
colorError: string;
|
|
111
|
-
colorErrorText: string;
|
|
112
|
-
colorErrorBorder: string;
|
|
113
|
-
scrollbarThumb: string;
|
|
114
|
-
scrollbarThumbHover: string;
|
|
115
|
-
primaryGradientStart: string;
|
|
116
|
-
primaryGradientEnd: string;
|
|
117
|
-
primaryHoverStart: string;
|
|
118
|
-
primaryHoverEnd: string;
|
|
119
|
-
primaryContrastText: string;
|
|
120
|
-
buttonGenericBg: string;
|
|
121
|
-
buttonGenericHoverBg: string;
|
|
122
|
-
buttonSelectedBorder: string;
|
|
123
|
-
buttonSelectedBg: string;
|
|
124
|
-
buttonDisabledBg: string;
|
|
125
|
-
buttonDisabledText: string;
|
|
126
|
-
colorUploadOverlay: string;
|
|
127
|
-
colorUploadText: string;
|
|
128
|
-
colorUploadOverlayError: string;
|
|
129
|
-
colorUploadErrorText: string;
|
|
130
|
-
colorUploadOverlayCompleted: string;
|
|
131
|
-
colorUploadCompletedText: string;
|
|
132
|
-
colorUploadOverlayUploading: string;
|
|
133
|
-
colorUploadingText: string;
|
|
134
|
-
colorAlertInfoBackground: string;
|
|
135
|
-
colorAlertInfoBorder: string;
|
|
136
|
-
colorAlertInfoTitle: string;
|
|
137
|
-
colorAlertInfoText: string;
|
|
138
|
-
colorAlertSuccessBackground: string;
|
|
139
|
-
colorAlertSuccessBorder: string;
|
|
140
|
-
colorAlertSuccessTitle: string;
|
|
141
|
-
colorAlertSuccessText: string;
|
|
142
|
-
colorAlertWarningBackground: string;
|
|
143
|
-
colorAlertWarningBorder: string;
|
|
144
|
-
colorAlertWarningTitle: string;
|
|
145
|
-
colorAlertWarningText: string;
|
|
146
|
-
colorAlertErrorBackground: string;
|
|
147
|
-
colorAlertErrorBorder: string;
|
|
148
|
-
colorAlertErrorTitle: string;
|
|
149
|
-
colorAlertErrorText: string;
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
type ITDThemeProviderProps = {
|
|
153
|
-
themeName?: 'light' | 'dark';
|
|
154
|
-
customTheme?: Partial<ITDTheme>;
|
|
155
|
-
children: ReactNode;
|
|
156
|
-
};
|
|
157
|
-
declare function ITDThemeProvider({ themeName, customTheme, children }: ITDThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
158
|
-
|
|
159
|
-
declare const lightTheme: ITDTheme;
|
|
160
|
-
|
|
161
|
-
declare const darkTheme: ITDTheme;
|
|
162
|
-
|
|
163
35
|
declare function DetermineNewHeight(originalHeight: number, originalWidth: number, newWidth: number): number;
|
|
164
36
|
|
|
165
37
|
declare function DetermineNewWidth(originalHeight: number, originalWidth: number, newHeight: number): number;
|
|
@@ -191,450 +63,6 @@ declare function AddDefaultThemeStyle(): void;
|
|
|
191
63
|
*/
|
|
192
64
|
declare function UpdateThemeStyle(theme: string): void;
|
|
193
65
|
|
|
194
|
-
/**
|
|
195
|
-
* HEX to RGBA converter
|
|
196
|
-
* @param hex - The hex color string
|
|
197
|
-
* @param alpha - The alpha value (0-1)
|
|
198
|
-
* @returns The RGBA color string
|
|
199
|
-
*/
|
|
200
|
-
declare function hexToRgba(hex: string, alpha?: number): string;
|
|
201
|
-
/**
|
|
202
|
-
* With opacity helper
|
|
203
|
-
* @param color - The color string
|
|
204
|
-
* @param alpha - The alpha value (0-1)
|
|
205
|
-
* @returns The color string with opacity
|
|
206
|
-
*/
|
|
207
|
-
declare function withOpacity(color: string, alpha?: number): string;
|
|
208
|
-
/**
|
|
209
|
-
* Returns the contrast text color for a given color (light/dark)
|
|
210
|
-
* Supports OKLCH and HEX formats
|
|
211
|
-
*/
|
|
212
|
-
declare function getContrastText(color: string): string;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Design Tokens - Merkezi tasarım değerleri
|
|
216
|
-
* Tüm componentler bu token'ları kullanmalı
|
|
217
|
-
*/
|
|
218
|
-
declare const TYPOGRAPHY_TOKENS: {
|
|
219
|
-
readonly fontSize: {
|
|
220
|
-
readonly xs: "0.725rem";
|
|
221
|
-
readonly sm: "0.75rem";
|
|
222
|
-
readonly md: "0.825rem";
|
|
223
|
-
readonly df: "0.875rem";
|
|
224
|
-
readonly lg: "0.875rem";
|
|
225
|
-
readonly xl: "0.875rem";
|
|
226
|
-
};
|
|
227
|
-
readonly lineHeight: {
|
|
228
|
-
readonly xs: "0.725rem";
|
|
229
|
-
readonly sm: "0.75rem";
|
|
230
|
-
readonly md: "0.825rem";
|
|
231
|
-
readonly df: "0.875rem";
|
|
232
|
-
readonly lg: "0.875rem";
|
|
233
|
-
readonly xl: "0.875rem";
|
|
234
|
-
};
|
|
235
|
-
readonly fontWeight: {
|
|
236
|
-
readonly normal: 400;
|
|
237
|
-
readonly medium: 500;
|
|
238
|
-
readonly semibold: 600;
|
|
239
|
-
readonly bold: 700;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
declare const SPACING_TOKENS: {
|
|
243
|
-
readonly paddingX: {
|
|
244
|
-
readonly xs: "0.625rem";
|
|
245
|
-
readonly sm: "0.625rem";
|
|
246
|
-
readonly md: "0.75rem";
|
|
247
|
-
readonly df: "0.75rem";
|
|
248
|
-
readonly lg: "0.9375rem";
|
|
249
|
-
readonly xl: "0.9375rem";
|
|
250
|
-
};
|
|
251
|
-
readonly height: {
|
|
252
|
-
readonly xs: "1.75rem";
|
|
253
|
-
readonly sm: "2rem";
|
|
254
|
-
readonly md: "2.125rem";
|
|
255
|
-
readonly df: "2.25rem";
|
|
256
|
-
readonly lg: "2.5rem";
|
|
257
|
-
readonly xl: "2.75rem";
|
|
258
|
-
};
|
|
259
|
-
readonly gap: {
|
|
260
|
-
readonly xs: "0.25rem";
|
|
261
|
-
readonly sm: "0.5rem";
|
|
262
|
-
readonly md: "0.75rem";
|
|
263
|
-
readonly df: "0.875rem";
|
|
264
|
-
readonly lg: "1rem";
|
|
265
|
-
readonly xl: "1.25rem";
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
/**
|
|
269
|
-
* Icon ve Image size tokenları
|
|
270
|
-
* Select, Button gibi componentlerde kullanılan icon boyutları
|
|
271
|
-
*/
|
|
272
|
-
declare const ICON_TOKENS: {
|
|
273
|
-
readonly image: {
|
|
274
|
-
readonly xs: {
|
|
275
|
-
readonly width: "0.875rem";
|
|
276
|
-
readonly height: "0.875rem";
|
|
277
|
-
};
|
|
278
|
-
readonly sm: {
|
|
279
|
-
readonly width: "1rem";
|
|
280
|
-
readonly height: "1rem";
|
|
281
|
-
};
|
|
282
|
-
readonly md: {
|
|
283
|
-
readonly width: "1.125rem";
|
|
284
|
-
readonly height: "1.125rem";
|
|
285
|
-
};
|
|
286
|
-
readonly df: {
|
|
287
|
-
readonly width: "1.25rem";
|
|
288
|
-
readonly height: "1.25rem";
|
|
289
|
-
};
|
|
290
|
-
readonly lg: {
|
|
291
|
-
readonly width: "1.25rem";
|
|
292
|
-
readonly height: "1.25rem";
|
|
293
|
-
};
|
|
294
|
-
readonly xl: {
|
|
295
|
-
readonly width: "1.375rem";
|
|
296
|
-
readonly height: "1.375rem";
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
readonly arrow: {
|
|
300
|
-
readonly xs: {
|
|
301
|
-
readonly width: "0.825rem";
|
|
302
|
-
readonly height: "0.825rem";
|
|
303
|
-
};
|
|
304
|
-
readonly sm: {
|
|
305
|
-
readonly width: "0.825rem";
|
|
306
|
-
readonly height: "0.825rem";
|
|
307
|
-
};
|
|
308
|
-
readonly md: {
|
|
309
|
-
readonly width: "1rem";
|
|
310
|
-
readonly height: "1rem";
|
|
311
|
-
};
|
|
312
|
-
readonly df: {
|
|
313
|
-
readonly width: "1rem";
|
|
314
|
-
readonly height: "1rem";
|
|
315
|
-
};
|
|
316
|
-
readonly lg: {
|
|
317
|
-
readonly width: "1.125rem";
|
|
318
|
-
readonly height: "1.125rem";
|
|
319
|
-
};
|
|
320
|
-
readonly xl: {
|
|
321
|
-
readonly width: "1.125rem";
|
|
322
|
-
readonly height: "1.125rem";
|
|
323
|
-
};
|
|
324
|
-
};
|
|
325
|
-
readonly button: {
|
|
326
|
-
readonly xs: {
|
|
327
|
-
readonly width: "0.75rem";
|
|
328
|
-
readonly height: "0.75rem";
|
|
329
|
-
};
|
|
330
|
-
readonly sm: {
|
|
331
|
-
readonly width: "0.875rem";
|
|
332
|
-
readonly height: "0.875rem";
|
|
333
|
-
};
|
|
334
|
-
readonly md: {
|
|
335
|
-
readonly width: "1rem";
|
|
336
|
-
readonly height: "1rem";
|
|
337
|
-
};
|
|
338
|
-
readonly df: {
|
|
339
|
-
readonly width: "1rem";
|
|
340
|
-
readonly height: "1rem";
|
|
341
|
-
};
|
|
342
|
-
readonly lg: {
|
|
343
|
-
readonly width: "1.125rem";
|
|
344
|
-
readonly height: "1.125rem";
|
|
345
|
-
};
|
|
346
|
-
readonly xl: {
|
|
347
|
-
readonly width: "1.25rem";
|
|
348
|
-
readonly height: "1.25rem";
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
readonly default: {
|
|
352
|
-
readonly xs: "0.75rem";
|
|
353
|
-
readonly sm: "0.875rem";
|
|
354
|
-
readonly md: "1rem";
|
|
355
|
-
readonly df: "1rem";
|
|
356
|
-
readonly lg: "1.25rem";
|
|
357
|
-
readonly xl: "1.5rem";
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
/**
|
|
361
|
-
* Input componentleri için ortak size mapping
|
|
362
|
-
* Input, Textarea gibi text input elementleri
|
|
363
|
-
*/
|
|
364
|
-
declare const INPUT_SIZE_MAP: {
|
|
365
|
-
readonly xs: {
|
|
366
|
-
readonly height: "1.75rem";
|
|
367
|
-
readonly paddingX: "0.625rem";
|
|
368
|
-
readonly fontSize: "0.725rem";
|
|
369
|
-
readonly lineHeight: "0.725rem";
|
|
370
|
-
readonly fontWeight: 400;
|
|
371
|
-
};
|
|
372
|
-
readonly sm: {
|
|
373
|
-
readonly height: "2rem";
|
|
374
|
-
readonly paddingX: "0.625rem";
|
|
375
|
-
readonly fontSize: "0.75rem";
|
|
376
|
-
readonly lineHeight: "0.75rem";
|
|
377
|
-
readonly fontWeight: 400;
|
|
378
|
-
};
|
|
379
|
-
readonly md: {
|
|
380
|
-
readonly height: "2.125rem";
|
|
381
|
-
readonly paddingX: "0.75rem";
|
|
382
|
-
readonly fontSize: "0.825rem";
|
|
383
|
-
readonly lineHeight: "0.825rem";
|
|
384
|
-
readonly fontWeight: 400;
|
|
385
|
-
};
|
|
386
|
-
readonly df: {
|
|
387
|
-
readonly height: "2.25rem";
|
|
388
|
-
readonly paddingX: "0.75rem";
|
|
389
|
-
readonly fontSize: "0.875rem";
|
|
390
|
-
readonly lineHeight: "0.875rem";
|
|
391
|
-
readonly fontWeight: 400;
|
|
392
|
-
};
|
|
393
|
-
readonly lg: {
|
|
394
|
-
readonly height: "2.5rem";
|
|
395
|
-
readonly paddingX: "0.9375rem";
|
|
396
|
-
readonly fontSize: "0.875rem";
|
|
397
|
-
readonly lineHeight: "0.875rem";
|
|
398
|
-
readonly fontWeight: 500;
|
|
399
|
-
};
|
|
400
|
-
readonly xlg: {
|
|
401
|
-
readonly height: "2.75rem";
|
|
402
|
-
readonly paddingX: "0.9375rem";
|
|
403
|
-
readonly fontSize: "0.875rem";
|
|
404
|
-
readonly lineHeight: "0.875rem";
|
|
405
|
-
readonly fontWeight: 500;
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
/**
|
|
409
|
-
* Select componentleri için ortak size mapping
|
|
410
|
-
* Select, Dropdown gibi seçim elementleri
|
|
411
|
-
* NOT: Input ile tamamen aynı değerleri kullanır
|
|
412
|
-
*/
|
|
413
|
-
declare const SELECT_SIZE_MAP: {
|
|
414
|
-
readonly xs: {
|
|
415
|
-
readonly height: "1.75rem";
|
|
416
|
-
readonly paddingX: "0.625rem";
|
|
417
|
-
readonly fontSize: "0.725rem";
|
|
418
|
-
readonly lineHeight: "0.725rem";
|
|
419
|
-
readonly fontWeight: 400;
|
|
420
|
-
};
|
|
421
|
-
readonly sm: {
|
|
422
|
-
readonly height: "2rem";
|
|
423
|
-
readonly paddingX: "0.625rem";
|
|
424
|
-
readonly fontSize: "0.75rem";
|
|
425
|
-
readonly lineHeight: "0.75rem";
|
|
426
|
-
readonly fontWeight: 400;
|
|
427
|
-
};
|
|
428
|
-
readonly md: {
|
|
429
|
-
readonly height: "2.125rem";
|
|
430
|
-
readonly paddingX: "0.75rem";
|
|
431
|
-
readonly fontSize: "0.825rem";
|
|
432
|
-
readonly lineHeight: "0.825rem";
|
|
433
|
-
readonly fontWeight: 400;
|
|
434
|
-
};
|
|
435
|
-
readonly df: {
|
|
436
|
-
readonly height: "2.25rem";
|
|
437
|
-
readonly paddingX: "0.75rem";
|
|
438
|
-
readonly fontSize: "0.875rem";
|
|
439
|
-
readonly lineHeight: "0.875rem";
|
|
440
|
-
readonly fontWeight: 400;
|
|
441
|
-
};
|
|
442
|
-
readonly lg: {
|
|
443
|
-
readonly height: "2.5rem";
|
|
444
|
-
readonly paddingX: "0.9375rem";
|
|
445
|
-
readonly fontSize: "0.875rem";
|
|
446
|
-
readonly lineHeight: "0.875rem";
|
|
447
|
-
readonly fontWeight: 500;
|
|
448
|
-
};
|
|
449
|
-
readonly xlg: {
|
|
450
|
-
readonly height: "2.75rem";
|
|
451
|
-
readonly paddingX: "0.9375rem";
|
|
452
|
-
readonly fontSize: "0.875rem";
|
|
453
|
-
readonly lineHeight: "0.875rem";
|
|
454
|
-
readonly fontWeight: 500;
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
/**
|
|
458
|
-
* Button componentleri için size mapping
|
|
459
|
-
* Regular button ve icon-only button boyutları
|
|
460
|
-
*/
|
|
461
|
-
declare const BUTTON_SIZE_MAP: {
|
|
462
|
-
readonly xs: {
|
|
463
|
-
readonly minWidth: "1.75rem";
|
|
464
|
-
readonly minHeight: "1.75rem";
|
|
465
|
-
readonly padding: "0 0.625rem";
|
|
466
|
-
readonly fontSize: "0.725rem";
|
|
467
|
-
readonly lineHeight: "0.725rem";
|
|
468
|
-
readonly fontWeight: 500;
|
|
469
|
-
readonly iconSize: {
|
|
470
|
-
readonly width: "0.75rem";
|
|
471
|
-
readonly height: "0.75rem";
|
|
472
|
-
};
|
|
473
|
-
readonly spinnerSize: "0.75rem";
|
|
474
|
-
readonly spinnerBorder: "1px";
|
|
475
|
-
};
|
|
476
|
-
readonly sm: {
|
|
477
|
-
readonly minWidth: "2rem";
|
|
478
|
-
readonly minHeight: "2rem";
|
|
479
|
-
readonly padding: "0 0.9375rem";
|
|
480
|
-
readonly fontSize: "0.75rem";
|
|
481
|
-
readonly lineHeight: "0.75rem";
|
|
482
|
-
readonly fontWeight: 500;
|
|
483
|
-
readonly iconSize: {
|
|
484
|
-
readonly width: "0.875rem";
|
|
485
|
-
readonly height: "0.875rem";
|
|
486
|
-
};
|
|
487
|
-
readonly spinnerSize: "1rem";
|
|
488
|
-
readonly spinnerBorder: "2px";
|
|
489
|
-
};
|
|
490
|
-
readonly md: {
|
|
491
|
-
readonly minWidth: "2.125rem";
|
|
492
|
-
readonly minHeight: "2.125rem";
|
|
493
|
-
readonly padding: "0 0.9375rem";
|
|
494
|
-
readonly fontSize: "0.825rem";
|
|
495
|
-
readonly lineHeight: "0.825rem";
|
|
496
|
-
readonly fontWeight: 500;
|
|
497
|
-
readonly iconSize: {
|
|
498
|
-
readonly width: "1rem";
|
|
499
|
-
readonly height: "1rem";
|
|
500
|
-
};
|
|
501
|
-
readonly spinnerSize: "1rem";
|
|
502
|
-
readonly spinnerBorder: "2px";
|
|
503
|
-
};
|
|
504
|
-
readonly df: {
|
|
505
|
-
readonly minWidth: "2.25rem";
|
|
506
|
-
readonly minHeight: "2.25rem";
|
|
507
|
-
readonly padding: "0 0.9375rem";
|
|
508
|
-
readonly fontSize: "0.875rem";
|
|
509
|
-
readonly lineHeight: "0.875rem";
|
|
510
|
-
readonly fontWeight: 500;
|
|
511
|
-
readonly iconSize: {
|
|
512
|
-
readonly width: "1rem";
|
|
513
|
-
readonly height: "1rem";
|
|
514
|
-
};
|
|
515
|
-
readonly spinnerSize: "1rem";
|
|
516
|
-
readonly spinnerBorder: "2px";
|
|
517
|
-
};
|
|
518
|
-
readonly lg: {
|
|
519
|
-
readonly minWidth: "2.5rem";
|
|
520
|
-
readonly minHeight: "2.5rem";
|
|
521
|
-
readonly padding: "0 1.25rem";
|
|
522
|
-
readonly fontSize: "0.875rem";
|
|
523
|
-
readonly lineHeight: "0.875rem";
|
|
524
|
-
readonly fontWeight: 500;
|
|
525
|
-
readonly iconSize: {
|
|
526
|
-
readonly width: "1.125rem";
|
|
527
|
-
readonly height: "1.125rem";
|
|
528
|
-
};
|
|
529
|
-
readonly spinnerSize: "1.125rem";
|
|
530
|
-
readonly spinnerBorder: "2px";
|
|
531
|
-
};
|
|
532
|
-
readonly xlg: {
|
|
533
|
-
readonly minWidth: "2.75rem";
|
|
534
|
-
readonly minHeight: "2.75rem";
|
|
535
|
-
readonly padding: "0 1.25rem";
|
|
536
|
-
readonly fontSize: "0.875rem";
|
|
537
|
-
readonly lineHeight: "0.875rem";
|
|
538
|
-
readonly fontWeight: 500;
|
|
539
|
-
readonly iconSize: {
|
|
540
|
-
readonly width: "1.25rem";
|
|
541
|
-
readonly height: "1.25rem";
|
|
542
|
-
};
|
|
543
|
-
readonly spinnerSize: "1.25rem";
|
|
544
|
-
readonly spinnerBorder: "3px";
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
/**
|
|
548
|
-
* Alert component için özel token'lar
|
|
549
|
-
*/
|
|
550
|
-
declare const ALERT_TOKENS: {
|
|
551
|
-
readonly title: {
|
|
552
|
-
readonly fontSize: "0.875rem";
|
|
553
|
-
readonly lineHeight: "1rem";
|
|
554
|
-
readonly fontWeight: 500;
|
|
555
|
-
};
|
|
556
|
-
readonly description: {
|
|
557
|
-
readonly fontSize: "0.8125rem";
|
|
558
|
-
readonly lineHeight: "1rem";
|
|
559
|
-
readonly fontWeight: 400;
|
|
560
|
-
};
|
|
561
|
-
readonly icon: {
|
|
562
|
-
readonly size: "1rem";
|
|
563
|
-
readonly marginTop: "0.125rem";
|
|
564
|
-
};
|
|
565
|
-
readonly spacing: {
|
|
566
|
-
readonly gap: "0.875rem";
|
|
567
|
-
readonly padding: "0.875rem";
|
|
568
|
-
};
|
|
569
|
-
};
|
|
570
|
-
/**
|
|
571
|
-
* Card component için özel token'lar
|
|
572
|
-
*/
|
|
573
|
-
declare const CARD_TOKENS: {
|
|
574
|
-
readonly padding: {
|
|
575
|
-
readonly xs: "0.5rem";
|
|
576
|
-
readonly sm: "0.75rem";
|
|
577
|
-
readonly md: "1rem";
|
|
578
|
-
readonly lg: "1.25rem";
|
|
579
|
-
};
|
|
580
|
-
readonly borderRadius: {
|
|
581
|
-
readonly sm: "0.375rem";
|
|
582
|
-
readonly md: "0.5rem";
|
|
583
|
-
readonly lg: "0.75rem";
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
/**
|
|
587
|
-
* Modal component için özel token'lar
|
|
588
|
-
*/
|
|
589
|
-
declare const MODAL_TOKENS: {
|
|
590
|
-
readonly title: {
|
|
591
|
-
readonly fontSize: "0.9375rem";
|
|
592
|
-
readonly lineHeight: "1.375rem";
|
|
593
|
-
readonly fontWeight: 600;
|
|
594
|
-
};
|
|
595
|
-
readonly description: {
|
|
596
|
-
readonly fontSize: "0.8125rem";
|
|
597
|
-
readonly lineHeight: "1.25rem";
|
|
598
|
-
readonly fontWeight: 400;
|
|
599
|
-
};
|
|
600
|
-
readonly padding: {
|
|
601
|
-
readonly sm: "1rem";
|
|
602
|
-
readonly md: "1.25rem";
|
|
603
|
-
readonly lg: "1.5rem";
|
|
604
|
-
};
|
|
605
|
-
};
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* CSS Variables Generator
|
|
609
|
-
* tokens.ts'deki değerleri CSS custom properties'e dönüştürür
|
|
610
|
-
*/
|
|
611
|
-
/**
|
|
612
|
-
* Design token'larını CSS variables olarak inject eder
|
|
613
|
-
* Bu fonksiyon ITDThemeProvider tarafından otomatik çağrılır
|
|
614
|
-
*/
|
|
615
|
-
declare function injectDesignTokens(): void;
|
|
616
|
-
/**
|
|
617
|
-
* CSS variables'ları export et (dokümantasyon için)
|
|
618
|
-
*/
|
|
619
|
-
declare const CSS_VARIABLES_MAP: {
|
|
620
|
-
readonly '--itd-text-xs': "0.725rem";
|
|
621
|
-
readonly '--itd-text-sm': "0.75rem";
|
|
622
|
-
readonly '--itd-text-md': "0.825rem";
|
|
623
|
-
readonly '--itd-text-df': "0.875rem";
|
|
624
|
-
readonly '--itd-text-lg': "0.875rem";
|
|
625
|
-
readonly '--itd-text-xl': "0.875rem";
|
|
626
|
-
readonly '--itd-font-weight-normal': 400;
|
|
627
|
-
readonly '--itd-font-weight-medium': 500;
|
|
628
|
-
readonly '--itd-font-weight-semibold': 600;
|
|
629
|
-
readonly '--itd-font-weight-bold': 700;
|
|
630
|
-
readonly '--itd-spacing': "0.25rem";
|
|
631
|
-
};
|
|
632
|
-
/**
|
|
633
|
-
* Verilen theme objesini CSS variables olarak inject eder
|
|
634
|
-
* @param theme - Styled-components theme objesi
|
|
635
|
-
*/
|
|
636
|
-
declare function injectThemeColors(theme: Record<string, string>): void;
|
|
637
|
-
|
|
638
66
|
declare function IsValidJSON(item: string | {}): boolean;
|
|
639
67
|
|
|
640
68
|
declare function AddZero(num: string): string;
|
|
@@ -668,7 +96,7 @@ declare function UniUpperCase(value?: string, lang?: string): string;
|
|
|
668
96
|
|
|
669
97
|
declare function FormatBytes(bytes: number, decimals?: number): string;
|
|
670
98
|
|
|
671
|
-
declare function GetTypeByFileType(type: FileTypes): "" | FileExtensions;
|
|
99
|
+
declare function GetTypeByFileType(type: FileTypes): "" | FileExtensions.SVG | FileExtensions.PNG | FileExtensions.JPG | FileExtensions.GIF | FileExtensions.PDF | FileExtensions.OTF;
|
|
672
100
|
|
|
673
101
|
declare function Wait(milliseconds: number): Promise<unknown>;
|
|
674
102
|
|
|
@@ -979,31 +407,25 @@ type InlineSVGCachedProps = {
|
|
|
979
407
|
onLoaded?: () => void;
|
|
980
408
|
onError?: (error: unknown) => void;
|
|
981
409
|
};
|
|
982
|
-
declare const _default$
|
|
410
|
+
declare const _default$5: react.MemoExoticComponent<({ src, className, style, title, role, onLoaded, onError }: InlineSVGCachedProps) => react_jsx_runtime.JSX.Element>;
|
|
983
411
|
|
|
984
412
|
type OptionsTypeProps = {
|
|
985
413
|
customKey?: string;
|
|
986
|
-
label: ChildrenProps$1;
|
|
987
|
-
disabled: boolean;
|
|
988
|
-
value: SelectValue$1;
|
|
989
|
-
variant: ITDVariant$1;
|
|
990
|
-
size: ITDSizeSlug$1;
|
|
991
414
|
icon?: ChildrenProps$1;
|
|
992
415
|
image?: string;
|
|
416
|
+
label?: ChildrenProps$1;
|
|
417
|
+
value?: SelectValue$1;
|
|
993
418
|
multi?: boolean;
|
|
994
419
|
checked?: boolean;
|
|
995
|
-
isActive?: boolean;
|
|
996
|
-
index?: number;
|
|
997
|
-
onHover?: (index: number) => void;
|
|
998
420
|
onChange?: (value: SelectValue$1, checked: boolean, label: ChildrenProps$1) => null;
|
|
999
421
|
};
|
|
1000
|
-
declare const _default$
|
|
1001
|
-
({ multi, checked,
|
|
422
|
+
declare const _default$4: react.MemoExoticComponent<{
|
|
423
|
+
({ multi, checked, icon, image, value, customKey, onChange, label }: OptionsTypeProps): react_jsx_runtime.JSX.Element;
|
|
1002
424
|
displayName: string;
|
|
1003
425
|
}>;
|
|
1004
426
|
|
|
1005
427
|
type SelectSubComponentProps = {
|
|
1006
|
-
Option: typeof _default$
|
|
428
|
+
Option: typeof _default$4;
|
|
1007
429
|
};
|
|
1008
430
|
type SelectComponentProps = ForwardRefExoticComponent<PropsWithoutRef<SelectProps> & RefAttributes<ITDImperativeFuncProps>> & SelectSubComponentProps;
|
|
1009
431
|
declare const Select: SelectComponentProps;
|
|
@@ -1036,6 +458,7 @@ type ItemProps = {
|
|
|
1036
458
|
name: string;
|
|
1037
459
|
id?: string;
|
|
1038
460
|
label?: string;
|
|
461
|
+
placeholder?: string;
|
|
1039
462
|
error?: string;
|
|
1040
463
|
rules?: FormRuleProps[];
|
|
1041
464
|
mask?: string | null;
|
|
@@ -1047,12 +470,6 @@ type ItemProps = {
|
|
|
1047
470
|
};
|
|
1048
471
|
declare const Item$1: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<ITDImperativeFuncProps>>;
|
|
1049
472
|
|
|
1050
|
-
type ITDSize = ComponentSizes$1 | "x-small" | "small" | "medium" | "default" | "large" | "x-large";
|
|
1051
|
-
type ITDSizeSlug = ComponentSizesSlug$1 | "xs" | "sm" | "md" | "df" | "lg" | "xlg";
|
|
1052
|
-
type ITDVariant = ComponentVariants | "default" | "filled" | "custom";
|
|
1053
|
-
type ITDHorizontalPosition = ComponentXPositions$1 | "left" | "right";
|
|
1054
|
-
type ITDVerticalPosition = ComponentYPositions$1 | "top" | "bottom";
|
|
1055
|
-
|
|
1056
473
|
type FormContextType = {
|
|
1057
474
|
register: (item: FormItemProps) => void;
|
|
1058
475
|
unregister: (name: string) => void;
|
|
@@ -1083,8 +500,6 @@ type FormContextType = {
|
|
|
1083
500
|
removeFields: () => void;
|
|
1084
501
|
formId: string;
|
|
1085
502
|
updated: {};
|
|
1086
|
-
variant?: ITDVariant;
|
|
1087
|
-
disabled?: boolean;
|
|
1088
503
|
};
|
|
1089
504
|
|
|
1090
505
|
type FormStoreProps = {
|
|
@@ -1093,8 +508,6 @@ type FormStoreProps = {
|
|
|
1093
508
|
onFieldUpdate?: (update: FieldUpdateProps) => void;
|
|
1094
509
|
onReset?: () => void;
|
|
1095
510
|
useQueryString?: boolean;
|
|
1096
|
-
variant?: ITDVariant;
|
|
1097
|
-
disabled?: boolean;
|
|
1098
511
|
};
|
|
1099
512
|
|
|
1100
513
|
type FormSubComponentProps$1 = {
|
|
@@ -1161,6 +574,63 @@ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAtt
|
|
|
1161
574
|
*/
|
|
1162
575
|
declare const Upload: react.ForwardRefExoticComponent<UploadProps & react.RefAttributes<ITDImperativeFuncProps>>;
|
|
1163
576
|
|
|
577
|
+
interface CropArea {
|
|
578
|
+
x: number;
|
|
579
|
+
y: number;
|
|
580
|
+
width: number;
|
|
581
|
+
height: number;
|
|
582
|
+
}
|
|
583
|
+
interface ImageCropperProps {
|
|
584
|
+
/** Image source (URL or base64) */
|
|
585
|
+
src: string;
|
|
586
|
+
/** Aspect ratio to maintain (e.g., 1 for square, 16/9 for widescreen). If undefined, free crop */
|
|
587
|
+
aspectRatio?: number;
|
|
588
|
+
/** Minimum crop width in pixels */
|
|
589
|
+
minWidth?: number;
|
|
590
|
+
/** Minimum crop height in pixels */
|
|
591
|
+
minHeight?: number;
|
|
592
|
+
/** Output image quality (0-1) */
|
|
593
|
+
quality?: number;
|
|
594
|
+
/** Output image format */
|
|
595
|
+
outputFormat?: "image/jpeg" | "image/png" | "image/webp";
|
|
596
|
+
/** Callback when crop area changes */
|
|
597
|
+
onCropChange?: (cropArea: CropArea) => void;
|
|
598
|
+
/** Container width */
|
|
599
|
+
width?: string | number;
|
|
600
|
+
/** Container height */
|
|
601
|
+
height?: string | number;
|
|
602
|
+
}
|
|
603
|
+
interface ImageCropperRef {
|
|
604
|
+
/** Get cropped image as Blob */
|
|
605
|
+
getCroppedImage: () => Promise<Blob | null>;
|
|
606
|
+
/** Get cropped image as File */
|
|
607
|
+
getCroppedFile: (fileName?: string) => Promise<File | null>;
|
|
608
|
+
/** Get crop area coordinates */
|
|
609
|
+
getCropArea: () => CropArea;
|
|
610
|
+
/** Reset crop area to center */
|
|
611
|
+
reset: () => void;
|
|
612
|
+
}
|
|
613
|
+
declare const ImageCropper: react.ForwardRefExoticComponent<ImageCropperProps & react.RefAttributes<ImageCropperRef>>;
|
|
614
|
+
|
|
615
|
+
declare function Panel({ id, link, icon, title, hasOpen, useLink, onChange, children }: {
|
|
616
|
+
id?: string | undefined;
|
|
617
|
+
link?: string | undefined;
|
|
618
|
+
icon?: string | undefined;
|
|
619
|
+
title?: string | undefined;
|
|
620
|
+
hasOpen?: boolean | undefined;
|
|
621
|
+
useLink?: boolean | undefined;
|
|
622
|
+
onChange?: null | undefined;
|
|
623
|
+
children?: null | undefined;
|
|
624
|
+
}): react_jsx_runtime.JSX.Element;
|
|
625
|
+
|
|
626
|
+
declare function Collapse({ useLink, children }: {
|
|
627
|
+
useLink?: boolean | undefined;
|
|
628
|
+
children: any;
|
|
629
|
+
}): react_jsx_runtime.JSX.Element;
|
|
630
|
+
declare namespace Collapse {
|
|
631
|
+
export { Panel };
|
|
632
|
+
}
|
|
633
|
+
|
|
1164
634
|
type ModalContextType = {
|
|
1165
635
|
/**
|
|
1166
636
|
* Opens a new modal with the provided information of the modal to be opened.
|
|
@@ -1217,16 +687,37 @@ declare const Notification: {
|
|
|
1217
687
|
useNotifications: () => NotificationContextType;
|
|
1218
688
|
};
|
|
1219
689
|
|
|
1220
|
-
declare function RadioButton({ id, name, value, type, buttonProps, checked, hasError,
|
|
690
|
+
declare function RadioButton({ id, name, value, type, buttonProps, checked, hasError, children, icon, image, component, onChange }: RadioButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
1221
691
|
|
|
1222
|
-
declare const _default$
|
|
692
|
+
declare const _default$3: react__default.NamedExoticComponent<RadioGroupProps$1 & react__default.RefAttributes<ITDImperativeFuncProps$1>>;
|
|
1223
693
|
|
|
1224
694
|
interface RadioComponent extends React.FC {
|
|
1225
|
-
Group: typeof _default$
|
|
695
|
+
Group: typeof _default$3;
|
|
1226
696
|
Button: typeof RadioButton;
|
|
1227
697
|
}
|
|
1228
698
|
declare const Radio: RadioComponent;
|
|
1229
699
|
|
|
700
|
+
declare const _default$2: react__default.MemoExoticComponent<({ value, checked, single, onChange, children }: {
|
|
701
|
+
value?: string | undefined;
|
|
702
|
+
checked?: boolean | undefined;
|
|
703
|
+
single?: boolean | undefined;
|
|
704
|
+
onChange?: null | undefined;
|
|
705
|
+
children?: null | undefined;
|
|
706
|
+
}) => react_jsx_runtime.JSX.Element>;
|
|
707
|
+
|
|
708
|
+
declare function InlineSelect({ label, value, children, single, minWidth, className, onChange }: {
|
|
709
|
+
label?: string | undefined;
|
|
710
|
+
value?: never[] | undefined;
|
|
711
|
+
children?: null | undefined;
|
|
712
|
+
single?: boolean | undefined;
|
|
713
|
+
minWidth?: number | undefined;
|
|
714
|
+
className?: string | undefined;
|
|
715
|
+
onChange?: null | undefined;
|
|
716
|
+
}): react_jsx_runtime.JSX.Element;
|
|
717
|
+
declare namespace InlineSelect {
|
|
718
|
+
export { _default$2 as Option };
|
|
719
|
+
}
|
|
720
|
+
|
|
1230
721
|
interface ImageProps extends react__default.ImgHTMLAttributes<HTMLImageElement> {
|
|
1231
722
|
src: string;
|
|
1232
723
|
source?: string;
|
|
@@ -1247,54 +738,15 @@ declare function single(message: any, type?: string): void;
|
|
|
1247
738
|
declare function double(title: any, message: any, type?: string): void;
|
|
1248
739
|
declare function table(data: any): void;
|
|
1249
740
|
|
|
1250
|
-
type Element = string | number | React.ReactNode | undefined;
|
|
1251
|
-
type ChildrenProps = Element | Element[] | null;
|
|
1252
|
-
|
|
1253
|
-
type ButtonProps = {
|
|
1254
|
-
id?: string;
|
|
1255
|
-
disabled?: boolean;
|
|
1256
|
-
loading?: boolean;
|
|
1257
|
-
selected?: boolean;
|
|
1258
|
-
strecth?: boolean;
|
|
1259
|
-
circle?: boolean;
|
|
1260
|
-
justify?: string;
|
|
1261
|
-
contentPosition?: ITDHorizontalPosition;
|
|
1262
|
-
type?: ButtonType;
|
|
1263
|
-
variant?: ButtonVariant;
|
|
1264
|
-
state?: ButtonState;
|
|
1265
|
-
size?: ITDSize;
|
|
1266
|
-
icon?: string | ChildrenProps | SVGElement;
|
|
1267
|
-
href?: string;
|
|
1268
|
-
target?: string;
|
|
1269
|
-
className?: string;
|
|
1270
|
-
children?: ChildrenProps;
|
|
1271
|
-
onClick?: null | ((event: MouseEvent<any>) => void);
|
|
1272
|
-
};
|
|
1273
|
-
type ButtonType = "button" | "submit" | "reset";
|
|
1274
|
-
type ButtonVariant = "default" | "solid" | "filled" | "outline" | "ghost" | "link" | "statable" | "custom";
|
|
1275
|
-
type ButtonState = "primary" | "secondary" | "request" | "approve" | "reject" | "pending" | "requested" | string | null;
|
|
1276
|
-
|
|
1277
741
|
declare const Button: ({ id, disabled, loading, selected, circle, strecth, justify, contentPosition, type, variant, size, state, icon, href, target, className, children, onClick }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1278
742
|
|
|
1279
|
-
type AlertTitleProps = {
|
|
1280
|
-
children?: ReactNode;
|
|
1281
|
-
className?: string;
|
|
1282
|
-
};
|
|
1283
|
-
declare const AlertTitle: FC<AlertTitleProps>;
|
|
1284
|
-
|
|
1285
|
-
type AlertDescriptionProps = {
|
|
1286
|
-
children?: ReactNode;
|
|
1287
|
-
className?: string;
|
|
1288
|
-
};
|
|
1289
|
-
declare const AlertDescription: FC<AlertDescriptionProps>;
|
|
1290
|
-
|
|
1291
743
|
declare const Alert: {
|
|
1292
|
-
({ type, size,
|
|
744
|
+
({ type, size, title, className, children, icon, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
1293
745
|
displayName: string;
|
|
1294
746
|
};
|
|
1295
747
|
|
|
1296
748
|
declare const Result: {
|
|
1297
|
-
({ image, title, description,
|
|
749
|
+
({ image, title, description, extra, footer, type, fill, autoCenter, background, animation }: ResultProps$1): react_jsx_runtime.JSX.Element;
|
|
1298
750
|
displayName: string;
|
|
1299
751
|
};
|
|
1300
752
|
|
|
@@ -1324,7 +776,7 @@ declare function TinyScrollbar({ className, children, style }: TinyScrollbarProp
|
|
|
1324
776
|
|
|
1325
777
|
declare const Tabs: ({ tabs, activeTabKey, className, variant, height, onTabChange }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
1326
778
|
|
|
1327
|
-
declare const Card: ({ title,
|
|
779
|
+
declare const Card: ({ title, titleSeparator, extra, tabs, onTabChange, minWidth, minHeight, children, activeTabKey, updating, contentPadding, }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
1328
780
|
|
|
1329
781
|
declare const Table: <T extends TableRow>(props: TableProps<T> & {
|
|
1330
782
|
ref?: Ref<TableRefProps>;
|
|
@@ -1334,6 +786,9 @@ declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, clas
|
|
|
1334
786
|
|
|
1335
787
|
type QueryValueProps = string | number | boolean | string[] | number[];
|
|
1336
788
|
|
|
789
|
+
type Element = string | number | React.ReactNode | undefined;
|
|
790
|
+
type ChildrenProps = Element | Element[] | null;
|
|
791
|
+
|
|
1337
792
|
type AccordionProps = {
|
|
1338
793
|
useLink?: boolean;
|
|
1339
794
|
onlyOne?: boolean;
|
|
@@ -1400,15 +855,16 @@ type InputProps = {
|
|
|
1400
855
|
maxValue?: number;
|
|
1401
856
|
maxLength?: number;
|
|
1402
857
|
disabled?: boolean;
|
|
858
|
+
floating?: boolean;
|
|
1403
859
|
autoComplete?: boolean;
|
|
1404
860
|
keepFocus?: boolean;
|
|
861
|
+
focusRef?: null | MutableRefObject<HTMLDivElement>;
|
|
1405
862
|
mask?: null | string;
|
|
1406
863
|
allowEmptyFormatting?: null | boolean;
|
|
1407
864
|
allowLeadingZeros?: boolean;
|
|
1408
865
|
decimalSeparator?: string;
|
|
1409
866
|
thousandSeparator?: string;
|
|
1410
867
|
decimalScale?: number;
|
|
1411
|
-
focusRef?: null | MutableRefObject<HTMLDivElement>;
|
|
1412
868
|
onChange?: ((value: any) => void) | null;
|
|
1413
869
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
1414
870
|
onFocus?: ((event: any) => void) | null;
|
|
@@ -1418,6 +874,10 @@ type InputProps = {
|
|
|
1418
874
|
children?: ChildrenProps;
|
|
1419
875
|
};
|
|
1420
876
|
|
|
877
|
+
type ITDSize = ComponentSizes$1 | "x-small" | "small" | "medium" | "default" | "large" | "x-large";
|
|
878
|
+
type ITDSizeSlug = ComponentSizesSlug$1 | "xs" | "sm" | "md" | "df" | "lg" | "xlg";
|
|
879
|
+
type ITDPosition = ComponentPositions$1 | "left" | "right";
|
|
880
|
+
|
|
1421
881
|
type CalendarProps = {
|
|
1422
882
|
id?: string;
|
|
1423
883
|
placeholder?: string;
|
|
@@ -1427,6 +887,7 @@ type CalendarProps = {
|
|
|
1427
887
|
size?: ITDSize;
|
|
1428
888
|
variant?: InputVariant;
|
|
1429
889
|
disabled?: boolean;
|
|
890
|
+
floating?: boolean;
|
|
1430
891
|
suffix?: ChildrenProps;
|
|
1431
892
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
1432
893
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
@@ -1455,7 +916,8 @@ type DatePickerProps = {
|
|
|
1455
916
|
size?: ITDSize;
|
|
1456
917
|
variant?: InputVariant;
|
|
1457
918
|
disabled?: boolean;
|
|
1458
|
-
|
|
919
|
+
floating?: boolean;
|
|
920
|
+
position?: ITDPosition;
|
|
1459
921
|
suffix?: ChildrenProps;
|
|
1460
922
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
1461
923
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
@@ -1488,6 +950,30 @@ type TextAreaEvent = {
|
|
|
1488
950
|
};
|
|
1489
951
|
type TextAreaVariant = "default" | "filled" | "dashed";
|
|
1490
952
|
|
|
953
|
+
type ButtonProps = {
|
|
954
|
+
id?: string;
|
|
955
|
+
disabled?: boolean;
|
|
956
|
+
loading?: boolean;
|
|
957
|
+
selected?: boolean;
|
|
958
|
+
strecth?: boolean;
|
|
959
|
+
circle?: boolean;
|
|
960
|
+
justify?: string;
|
|
961
|
+
contentPosition?: ITDPosition;
|
|
962
|
+
type?: ButtonType;
|
|
963
|
+
variant?: ButtonVariant;
|
|
964
|
+
state?: ButtonState;
|
|
965
|
+
size?: ITDSize;
|
|
966
|
+
icon?: string | ChildrenProps | SVGElement;
|
|
967
|
+
href?: string;
|
|
968
|
+
target?: string;
|
|
969
|
+
className?: string;
|
|
970
|
+
children?: ChildrenProps;
|
|
971
|
+
onClick?: null | ((event: MouseEvent<any>) => void);
|
|
972
|
+
};
|
|
973
|
+
type ButtonType = "button" | "submit" | "reset";
|
|
974
|
+
type ButtonVariant = "default" | "solid" | "filled" | "outline" | "ghost" | "link" | "statable" | "custom";
|
|
975
|
+
type ButtonState = "primary" | "secondary" | "request" | "approve" | "reject" | "pending" | "requested" | string | null;
|
|
976
|
+
|
|
1491
977
|
type RadioType = "default" | "primary";
|
|
1492
978
|
type Direction = "column" | "row";
|
|
1493
979
|
type RadioGroupProps = {
|
|
@@ -1515,7 +1001,6 @@ type RadioButtonProps = {
|
|
|
1515
1001
|
type?: RadioType;
|
|
1516
1002
|
checked?: boolean;
|
|
1517
1003
|
hasError?: boolean;
|
|
1518
|
-
className?: string;
|
|
1519
1004
|
children?: React.ReactNode;
|
|
1520
1005
|
buttonProps?: ButtonProps;
|
|
1521
1006
|
icon?: string | null;
|
|
@@ -1529,19 +1014,21 @@ type SelectProps = {
|
|
|
1529
1014
|
defaultValue?: SelectValue;
|
|
1530
1015
|
value?: SelectValue;
|
|
1531
1016
|
label?: string | number;
|
|
1532
|
-
position?:
|
|
1533
|
-
direction?:
|
|
1017
|
+
position?: SelectPosition;
|
|
1018
|
+
direction?: SelectDirection;
|
|
1534
1019
|
multi?: boolean;
|
|
1535
1020
|
size?: ITDSize;
|
|
1536
|
-
variant?:
|
|
1021
|
+
variant?: SelectVariant;
|
|
1537
1022
|
className?: string;
|
|
1538
1023
|
placeholder?: string;
|
|
1539
1024
|
prefix?: ChildrenProps;
|
|
1025
|
+
suffix?: ChildrenProps;
|
|
1540
1026
|
icon?: string;
|
|
1541
1027
|
image?: string;
|
|
1542
1028
|
disabled?: boolean;
|
|
1543
1029
|
showSearch?: boolean;
|
|
1544
1030
|
locked?: boolean;
|
|
1031
|
+
floating?: boolean;
|
|
1545
1032
|
style?: CSSProperties;
|
|
1546
1033
|
options?: SelectOptionProps[];
|
|
1547
1034
|
onChange?: ((value: SelectValue) => void) | null;
|
|
@@ -1550,19 +1037,23 @@ type SelectProps = {
|
|
|
1550
1037
|
type SelectToggleProps = {
|
|
1551
1038
|
id?: string;
|
|
1552
1039
|
label?: string | number | ChildrenProps;
|
|
1040
|
+
value?: SelectValue | null;
|
|
1553
1041
|
errorMessage: string;
|
|
1554
1042
|
multi: boolean;
|
|
1555
1043
|
isOpen: boolean;
|
|
1556
1044
|
showSearch: boolean;
|
|
1557
1045
|
locked: boolean;
|
|
1558
1046
|
disabled: boolean;
|
|
1047
|
+
labelType: string;
|
|
1559
1048
|
placeholder: string;
|
|
1560
1049
|
icon?: string;
|
|
1561
1050
|
prefix?: ChildrenProps;
|
|
1051
|
+
suffix?: ChildrenProps;
|
|
1562
1052
|
image?: string;
|
|
1563
1053
|
size: ITDSize;
|
|
1564
1054
|
onFocus: () => void;
|
|
1565
|
-
|
|
1055
|
+
onBlur: () => void;
|
|
1056
|
+
onShow: (value: boolean) => void;
|
|
1566
1057
|
onFilter: (value: string) => void;
|
|
1567
1058
|
onChange: (open: boolean) => void;
|
|
1568
1059
|
};
|
|
@@ -1576,16 +1067,17 @@ type SelectOptionProps = {
|
|
|
1576
1067
|
searchText?: string;
|
|
1577
1068
|
};
|
|
1578
1069
|
type SelectValue = string | number | (string | number)[];
|
|
1070
|
+
type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
|
|
1071
|
+
type SelectPosition = "top" | "bottom";
|
|
1072
|
+
type SelectDirection = "right" | "left";
|
|
1579
1073
|
|
|
1580
1074
|
type CheckboxProps = {
|
|
1581
1075
|
id?: string;
|
|
1582
1076
|
value?: string | number | boolean;
|
|
1583
1077
|
checked?: boolean;
|
|
1584
1078
|
disabled?: boolean;
|
|
1585
|
-
|
|
1586
|
-
variant?: ITDVariant;
|
|
1079
|
+
variant?: CheckboxVariant;
|
|
1587
1080
|
indeterminate?: boolean;
|
|
1588
|
-
animated?: boolean;
|
|
1589
1081
|
className?: string;
|
|
1590
1082
|
children?: ChildrenProps;
|
|
1591
1083
|
onChange?: ((event: CheckboxEvent) => void);
|
|
@@ -1597,7 +1089,6 @@ type CheckboxGroupProps = {
|
|
|
1597
1089
|
defaultValue?: (string | number | boolean)[];
|
|
1598
1090
|
options?: GroupCheckboxOptionType[];
|
|
1599
1091
|
disabled?: boolean;
|
|
1600
|
-
variant?: ITDVariant;
|
|
1601
1092
|
className?: string;
|
|
1602
1093
|
children?: ChildrenProps | ReactElement<CheckboxProps> | Array<ReactElement<CheckboxProps>>;
|
|
1603
1094
|
selectAll?: (value: boolean) => void;
|
|
@@ -1618,6 +1109,7 @@ type CheckboxEvent = {
|
|
|
1618
1109
|
stopPropagation: () => void;
|
|
1619
1110
|
preventDefault: () => void;
|
|
1620
1111
|
};
|
|
1112
|
+
type CheckboxVariant = "default" | "filled";
|
|
1621
1113
|
|
|
1622
1114
|
type ITDImperativeFuncProps = {
|
|
1623
1115
|
reset: (update?: boolean, validation?: boolean) => void;
|
|
@@ -1648,8 +1140,6 @@ type FormProps = {
|
|
|
1648
1140
|
onValidated?: (validate: boolean) => void;
|
|
1649
1141
|
onFieldUpdate?: (update: FieldUpdateProps) => void;
|
|
1650
1142
|
useQueryString?: boolean;
|
|
1651
|
-
variant?: ITDVariant;
|
|
1652
|
-
disabled?: boolean;
|
|
1653
1143
|
className?: string;
|
|
1654
1144
|
ref?: RefObject<FormContextType>;
|
|
1655
1145
|
name: string;
|
|
@@ -1696,23 +1186,22 @@ type NotificationsProps = {
|
|
|
1696
1186
|
|
|
1697
1187
|
type AlertProps = {
|
|
1698
1188
|
type?: AlertType;
|
|
1699
|
-
size?:
|
|
1189
|
+
size?: AlertSize;
|
|
1700
1190
|
icon?: string | react__default.ReactNode;
|
|
1701
1191
|
title?: string;
|
|
1702
|
-
variant?: ITDVariant;
|
|
1703
1192
|
className?: string;
|
|
1704
1193
|
children?: ChildrenProps;
|
|
1705
1194
|
};
|
|
1706
|
-
type AlertType = "
|
|
1195
|
+
type AlertType = "success" | "info" | "warning" | "error";
|
|
1196
|
+
type AlertSize = ComponentSizes$1.X_SMALL | ComponentSizes$1.SMALL | ComponentSizes$1.MEDIUM | ComponentSizes$1.DEFAULT | ComponentSizes$1.LARGE | ComponentSizes$1.X_LARGE;
|
|
1707
1197
|
|
|
1708
1198
|
type SwitchProps = {
|
|
1709
1199
|
id?: string;
|
|
1710
|
-
|
|
1200
|
+
label?: string;
|
|
1711
1201
|
checked?: boolean;
|
|
1712
1202
|
defaultChecked?: boolean;
|
|
1713
1203
|
loading?: boolean;
|
|
1714
1204
|
disabled?: boolean;
|
|
1715
|
-
variant?: ITDVariant;
|
|
1716
1205
|
onChange?: ((value: any) => void) | null;
|
|
1717
1206
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
1718
1207
|
};
|
|
@@ -1937,7 +1426,6 @@ type ModalRefProps = {
|
|
|
1937
1426
|
|
|
1938
1427
|
type UploadProps = {
|
|
1939
1428
|
id?: string;
|
|
1940
|
-
variant?: ITDVariant;
|
|
1941
1429
|
action?: string;
|
|
1942
1430
|
filePath?: string | null;
|
|
1943
1431
|
removeAction?: string;
|
|
@@ -1967,6 +1455,22 @@ type UploadProps = {
|
|
|
1967
1455
|
extraQueryString?: {};
|
|
1968
1456
|
extraHeader?: {};
|
|
1969
1457
|
disabled?: boolean;
|
|
1458
|
+
/** Minimum image width required for upload (in pixels). Smaller images will be rejected. */
|
|
1459
|
+
minImageWidth?: number;
|
|
1460
|
+
/** Minimum image height required for upload (in pixels). Smaller images will be rejected. */
|
|
1461
|
+
minImageHeight?: number;
|
|
1462
|
+
/** Enable image cropping before upload */
|
|
1463
|
+
enableCrop?: boolean;
|
|
1464
|
+
/** Aspect ratio for crop (e.g., 1 for square, 16/9 for widescreen). Undefined = free crop */
|
|
1465
|
+
cropAspectRatio?: number;
|
|
1466
|
+
/** Minimum crop width in pixels */
|
|
1467
|
+
cropMinWidth?: number;
|
|
1468
|
+
/** Minimum crop height in pixels */
|
|
1469
|
+
cropMinHeight?: number;
|
|
1470
|
+
/** Output image quality (0-1), default 0.9 */
|
|
1471
|
+
cropQuality?: number;
|
|
1472
|
+
/** Crop modal title */
|
|
1473
|
+
cropModalTitle?: string;
|
|
1970
1474
|
onChange?: ((value: any) => void) | null;
|
|
1971
1475
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
1972
1476
|
onUploadSuccess?: (path: string) => void;
|
|
@@ -1989,7 +1493,6 @@ type ResultProps = {
|
|
|
1989
1493
|
image: string | ChildrenProps;
|
|
1990
1494
|
title: string;
|
|
1991
1495
|
description: string;
|
|
1992
|
-
className?: string;
|
|
1993
1496
|
type?: string;
|
|
1994
1497
|
extra?: ChildrenProps | null;
|
|
1995
1498
|
footer?: ChildrenProps | null;
|
|
@@ -2028,7 +1531,6 @@ type TableProps<T extends TableRow> = {
|
|
|
2028
1531
|
columns: TableColumnType<T>[];
|
|
2029
1532
|
data: T[] | null;
|
|
2030
1533
|
cellHeight?: number | string;
|
|
2031
|
-
className?: string;
|
|
2032
1534
|
size?: ITDSize;
|
|
2033
1535
|
headless?: boolean;
|
|
2034
1536
|
bordered?: boolean;
|
|
@@ -2052,8 +1554,6 @@ type TableRefProps = {
|
|
|
2052
1554
|
|
|
2053
1555
|
type CardProps = {
|
|
2054
1556
|
title?: ChildrenProps;
|
|
2055
|
-
variant?: ITDVariant;
|
|
2056
|
-
description?: ChildrenProps;
|
|
2057
1557
|
titleSeparator?: boolean;
|
|
2058
1558
|
extra?: ChildrenProps;
|
|
2059
1559
|
tabs?: {
|
|
@@ -2067,7 +1567,6 @@ type CardProps = {
|
|
|
2067
1567
|
minHeight?: number;
|
|
2068
1568
|
contentPadding?: string;
|
|
2069
1569
|
children: ChildrenProps;
|
|
2070
|
-
className?: string;
|
|
2071
1570
|
};
|
|
2072
1571
|
|
|
2073
1572
|
type ProgressProps = {
|
|
@@ -2122,9 +1621,10 @@ declare enum ModalState {
|
|
|
2122
1621
|
declare enum FileTypes {
|
|
2123
1622
|
SVG = "image/svg+xml",
|
|
2124
1623
|
PNG = "image/png",
|
|
2125
|
-
JPG = "image/jpg
|
|
2126
|
-
JPEG = "image/jpeg",
|
|
1624
|
+
JPG = "image/jpeg",// Note: image/jpeg is the standard MIME type for both .jpg and .jpeg files
|
|
1625
|
+
JPEG = "image/jpeg",// Alias for JPG - same format, kept for backward compatibility
|
|
2127
1626
|
GIF = "image/gif",
|
|
1627
|
+
WEBP = "image/webp",
|
|
2128
1628
|
PDF = "application/pdf",
|
|
2129
1629
|
OTF = "font/otf"
|
|
2130
1630
|
}
|
|
@@ -2133,6 +1633,7 @@ declare enum FileExtensions {
|
|
|
2133
1633
|
PNG = ".png",
|
|
2134
1634
|
JPG = ".jpg",
|
|
2135
1635
|
GIF = ".gif",
|
|
1636
|
+
WEBP = ".webp",
|
|
2136
1637
|
PDF = ".pdf",
|
|
2137
1638
|
OTF = ".otf"
|
|
2138
1639
|
}
|
|
@@ -2171,14 +1672,10 @@ declare enum ComponentSizesSlug {
|
|
|
2171
1672
|
LARGE = "lg",
|
|
2172
1673
|
X_LARGE = "xlg"
|
|
2173
1674
|
}
|
|
2174
|
-
declare enum
|
|
1675
|
+
declare enum ComponentPositions {
|
|
2175
1676
|
LEFT = "left",
|
|
2176
1677
|
RIGHT = "right"
|
|
2177
1678
|
}
|
|
2178
|
-
declare enum ComponentYPositions {
|
|
2179
|
-
TOP = "top",
|
|
2180
|
-
BOTTOM = "bottom"
|
|
2181
|
-
}
|
|
2182
1679
|
|
|
2183
1680
|
declare const resources: {
|
|
2184
1681
|
tr: {
|
|
@@ -2201,19 +1698,6 @@ declare const resources: {
|
|
|
2201
1698
|
birthday: string;
|
|
2202
1699
|
multipleSelection: string;
|
|
2203
1700
|
};
|
|
2204
|
-
texts: {
|
|
2205
|
-
enabledNotifications: string;
|
|
2206
|
-
create: string;
|
|
2207
|
-
read: string;
|
|
2208
|
-
update: string;
|
|
2209
|
-
delete: string;
|
|
2210
|
-
selectAll: string;
|
|
2211
|
-
termsAndConditions: string;
|
|
2212
|
-
campaignTitle: string;
|
|
2213
|
-
campaignDescription: string;
|
|
2214
|
-
formTitle: string;
|
|
2215
|
-
formDescription: string;
|
|
2216
|
-
};
|
|
2217
1701
|
options: {
|
|
2218
1702
|
all: string;
|
|
2219
1703
|
male: string;
|
|
@@ -2222,6 +1706,11 @@ declare const resources: {
|
|
|
2222
1706
|
turkish: string;
|
|
2223
1707
|
english: string;
|
|
2224
1708
|
};
|
|
1709
|
+
currencies: {
|
|
1710
|
+
TRY: string;
|
|
1711
|
+
EUR: string;
|
|
1712
|
+
USD: string;
|
|
1713
|
+
};
|
|
2225
1714
|
};
|
|
2226
1715
|
buttons: {
|
|
2227
1716
|
submit: string;
|
|
@@ -2263,6 +1752,13 @@ declare const resources: {
|
|
|
2263
1752
|
areYouSureToDeleteThisFile: string;
|
|
2264
1753
|
yes: string;
|
|
2265
1754
|
no: string;
|
|
1755
|
+
cropImage: string;
|
|
1756
|
+
crop: string;
|
|
1757
|
+
cancel: string;
|
|
1758
|
+
width: string;
|
|
1759
|
+
height: string;
|
|
1760
|
+
imageTooSmall: string;
|
|
1761
|
+
imageTooSmallMessage: string;
|
|
2266
1762
|
};
|
|
2267
1763
|
results: {
|
|
2268
1764
|
authentication: {
|
|
@@ -2275,21 +1771,6 @@ declare const resources: {
|
|
|
2275
1771
|
TRY: string;
|
|
2276
1772
|
EUR: string;
|
|
2277
1773
|
USD: string;
|
|
2278
|
-
GBP: string;
|
|
2279
|
-
JPY: string;
|
|
2280
|
-
CHF: string;
|
|
2281
|
-
CAD: string;
|
|
2282
|
-
AUD: string;
|
|
2283
|
-
NZD: string;
|
|
2284
|
-
RUB: string;
|
|
2285
|
-
INR: string;
|
|
2286
|
-
BRL: string;
|
|
2287
|
-
MXN: string;
|
|
2288
|
-
ARS: string;
|
|
2289
|
-
CLP: string;
|
|
2290
|
-
COP: string;
|
|
2291
|
-
PEN: string;
|
|
2292
|
-
ZAR: string;
|
|
2293
1774
|
};
|
|
2294
1775
|
countries: {
|
|
2295
1776
|
af: string;
|
|
@@ -2524,19 +2005,6 @@ declare const resources: {
|
|
|
2524
2005
|
birthday: string;
|
|
2525
2006
|
multipleSelection: string;
|
|
2526
2007
|
};
|
|
2527
|
-
texts: {
|
|
2528
|
-
enabledNotifications: string;
|
|
2529
|
-
create: string;
|
|
2530
|
-
read: string;
|
|
2531
|
-
update: string;
|
|
2532
|
-
delete: string;
|
|
2533
|
-
selectAll: string;
|
|
2534
|
-
termsAndConditions: string;
|
|
2535
|
-
campaignTitle: string;
|
|
2536
|
-
campaignDescription: string;
|
|
2537
|
-
formTitle: string;
|
|
2538
|
-
formDescription: string;
|
|
2539
|
-
};
|
|
2540
2008
|
options: {
|
|
2541
2009
|
all: string;
|
|
2542
2010
|
male: string;
|
|
@@ -2545,6 +2013,11 @@ declare const resources: {
|
|
|
2545
2013
|
turkish: string;
|
|
2546
2014
|
english: string;
|
|
2547
2015
|
};
|
|
2016
|
+
currencies: {
|
|
2017
|
+
TRY: string;
|
|
2018
|
+
EUR: string;
|
|
2019
|
+
USD: string;
|
|
2020
|
+
};
|
|
2548
2021
|
};
|
|
2549
2022
|
buttons: {
|
|
2550
2023
|
submit: string;
|
|
@@ -2585,6 +2058,13 @@ declare const resources: {
|
|
|
2585
2058
|
areYouSureToDeleteThisFile: string;
|
|
2586
2059
|
yes: string;
|
|
2587
2060
|
no: string;
|
|
2061
|
+
cropImage: string;
|
|
2062
|
+
crop: string;
|
|
2063
|
+
cancel: string;
|
|
2064
|
+
width: string;
|
|
2065
|
+
height: string;
|
|
2066
|
+
imageTooSmall: string;
|
|
2067
|
+
imageTooSmallMessage: string;
|
|
2588
2068
|
};
|
|
2589
2069
|
results: {
|
|
2590
2070
|
authentication: {
|
|
@@ -2597,21 +2077,6 @@ declare const resources: {
|
|
|
2597
2077
|
TRY: string;
|
|
2598
2078
|
EUR: string;
|
|
2599
2079
|
USD: string;
|
|
2600
|
-
GBP: string;
|
|
2601
|
-
JPY: string;
|
|
2602
|
-
CHF: string;
|
|
2603
|
-
CAD: string;
|
|
2604
|
-
AUD: string;
|
|
2605
|
-
NZD: string;
|
|
2606
|
-
RUB: string;
|
|
2607
|
-
INR: string;
|
|
2608
|
-
BRL: string;
|
|
2609
|
-
MXN: string;
|
|
2610
|
-
ARS: string;
|
|
2611
|
-
CLP: string;
|
|
2612
|
-
COP: string;
|
|
2613
|
-
PEN: string;
|
|
2614
|
-
ZAR: string;
|
|
2615
2080
|
};
|
|
2616
2081
|
countries: {
|
|
2617
2082
|
af: string;
|
|
@@ -2828,5 +2293,5 @@ declare const resources: {
|
|
|
2828
2293
|
};
|
|
2829
2294
|
};
|
|
2830
2295
|
|
|
2831
|
-
export {
|
|
2832
|
-
export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps, AlertType, ButtonProps, ButtonState, ButtonType, ButtonVariant, CalendarDayProps, CalendarProps, CalendarValueProps, CardProps, CheckboxEvent, CheckboxGroupProps, CheckboxProps, DatePickerProps, Direction, FieldUpdateProps, FlexAlignProps, FlexGapProps, FlexJustifyProps, FlexProps, FormContextType, FormItemProps, FormProps, FormRuleProps, FormSubComponentProps, FormValueProps, GroupCheckboxOptionType, ITDContextType,
|
|
2296
|
+
export { _default as ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray, Collapse, ComponentPositions, ComponentSizes, ComponentSizesSlug, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, ITDContext, ITDProvider, _default$1 as Image, ImageCropper, _default$5 as InlineSVGCached, InlineSelect, InlineSelectArrow, Input, IsValidJSON, Lock as LockIcon, ModalManager, ModalState, NoData, Notification, Picture, Progress, Radio, RemoveUnits, Result, SVGLoader, Select, Spin, Status, Switch, Table, Tabs, TextArea, TinyScrollbar, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, resources, toKebabCase, useAddExternalCSS, useAvoidCollision, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };
|
|
2297
|
+
export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps, AlertSize, AlertType, ButtonProps, ButtonState, ButtonType, ButtonVariant, CalendarDayProps, CalendarProps, CalendarValueProps, CardProps, CheckboxEvent, CheckboxGroupProps, CheckboxProps, CropArea, DatePickerProps, Direction, FieldUpdateProps, FlexAlignProps, FlexGapProps, FlexJustifyProps, FlexProps, FormContextType, FormItemProps, FormProps, FormRuleProps, FormSubComponentProps, FormValueProps, GroupCheckboxOptionType, ITDContextType, ITDImperativeFuncProps, ITDProviderProps, ITDSize, ITDSizeSlug, ImageCropperProps, ImageCropperRef, InputProps, InputVariant, ModalContentProps, ModalProps, ModalRefProps, NotificationContextType, NotificationsProps, ProgressProps, ProgressStatus, QueryValueProps, RadioButtonProps, RadioGroupProps, RadioType, ResultProps, SelectDirection, SelectOptionProps, SelectPosition, SelectProps, SelectToggleProps, SelectValue, SelectVariant, SingleQueryProps, StatusProps, StatusVariant, SwitchProps, TableColumnType, TableProps, TableRefProps, TableRow, TableTRProps, TabsItemProps, TabsProps, TextAreaEvent, TextAreaProps, TextAreaVariant, UploadProgressProps, UploadProps, UploadResultMessageProps };
|