@inntechcorp/it-design 2.2.89 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert/Description.d.ts +7 -0
- package/dist/alert/Title.d.ts +7 -0
- package/dist/alert/alert.style.neutral.d.ts +4 -0
- package/dist/alert/index.d.ts +3 -1
- package/dist/alert/styled.d.ts +3 -7
- package/dist/alink/styled.d.ts +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/card/index.d.ts +1 -1
- package/dist/card/styles.d.ts +2 -1
- package/dist/checkbox/styled.d.ts +2 -2
- 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/alert.style.error.js +32 -0
- package/dist/cjs/alert/alert.style.info.js +32 -0
- package/dist/cjs/alert/alert.style.neutral.js +32 -0
- package/dist/cjs/alert/alert.style.success.js +32 -0
- package/dist/cjs/alert/alert.style.warning.js +32 -0
- package/dist/cjs/alert/index.js +1 -0
- package/dist/cjs/alert/styled.js +68 -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/button.style.circle.js +38 -0
- package/dist/cjs/button/button.style.default.js +44 -0
- package/dist/cjs/button/button.style.filled.js +49 -0
- package/dist/cjs/button/button.style.ghost.js +47 -0
- package/dist/cjs/button/button.style.icon.js +33 -0
- package/dist/cjs/button/button.style.link.js +45 -0
- package/dist/cjs/button/button.style.outline.js +49 -0
- package/dist/cjs/button/button.style.size.js +187 -0
- package/dist/cjs/button/button.style.solid.js +50 -0
- package/dist/cjs/button/button.style.strecth.js +8 -0
- package/dist/cjs/button/index.js +1 -0
- package/dist/cjs/button/styled.js +415 -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/index.js +1 -0
- package/dist/cjs/card/styles.js +66 -0
- package/dist/cjs/checkbox/group/index.js +1 -0
- package/dist/cjs/checkbox/group/styled.js +9 -0
- package/dist/cjs/checkbox/index.js +1 -0
- package/dist/cjs/checkbox/styled.js +340 -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/datepicker/styled.js +60 -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/form/context/FormContext.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/control/styled.js +8 -0
- package/dist/cjs/form/group/Group.js +1 -0
- package/dist/cjs/form/group/styled.js +7 -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/UpdateThemeStyle.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/tokens.js +1 -0
- package/dist/cjs/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/cjs/helpers/url/ValidURL.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/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/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/input/style.settings.js +1 -0
- package/dist/cjs/input/styled.js +430 -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 +27 -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/closeicon.svg.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/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.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/trash.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/uuid/dist/esm-browser/native.js +1 -0
- package/dist/cjs/node_modules/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/cjs/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/cjs/node_modules/uuid/dist/esm-browser/v4.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/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/dropdown/styled.js +239 -0
- package/dist/cjs/select/index.js +1 -0
- package/dist/cjs/select/option/Option.js +1 -0
- package/dist/cjs/select/option/styled.js +36 -0
- package/dist/cjs/select/style.settings.js +1 -0
- package/dist/cjs/select/styled.js +331 -0
- package/dist/cjs/select/toggle/Toggle.js +1 -0
- package/dist/cjs/select/toggle/label/Label.js +1 -0
- package/dist/cjs/select/toggle/label/styled.js +5 -0
- package/dist/cjs/select/toggle/styled.js +88 -0
- package/dist/cjs/spin/index.js +1 -0
- package/dist/cjs/spin/styled.js +74 -0
- package/dist/cjs/status/index.js +1 -0
- package/dist/cjs/status/styled.js +75 -0
- package/dist/cjs/switch/index.js +1 -0
- package/dist/cjs/switch/styled.js +209 -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/tabs/styles.js +96 -0
- package/dist/cjs/textarea/index.js +1 -0
- package/dist/cjs/textarea/styled.js +220 -0
- package/dist/cjs/tinyscrollbar/index.js +1 -0
- package/dist/cjs/tinyscrollbar/scroll.styled.js +21 -0
- package/dist/cjs/types/InputProps.js +1 -0
- package/dist/cjs/upload/index.js +1 -0
- package/dist/cjs/upload/styled.js +228 -0
- package/dist/cjs/utils/CommonStyledComponents.js +61 -0
- package/dist/cjs/utils/GetIconSizeBySize.js +1 -0
- package/dist/cjs/utils/GetSizeSlugBySize.js +1 -0
- package/dist/cjs/utils/InlineSVGCached.js +1 -0
- package/dist/datepicker/styled.d.ts +2 -2
- package/dist/enums/enum.d.ts +14 -1
- 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/alert.style.error.js +32 -0
- package/dist/es/alert/alert.style.info.js +32 -0
- package/dist/es/alert/alert.style.neutral.js +32 -0
- package/dist/es/alert/alert.style.success.js +32 -0
- package/dist/es/alert/alert.style.warning.js +32 -0
- package/dist/es/alert/index.js +1 -0
- package/dist/es/alert/styled.js +68 -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/button.style.circle.js +38 -0
- package/dist/es/button/button.style.default.js +44 -0
- package/dist/es/button/button.style.filled.js +49 -0
- package/dist/es/button/button.style.ghost.js +47 -0
- package/dist/es/button/button.style.icon.js +33 -0
- package/dist/es/button/button.style.link.js +45 -0
- package/dist/es/button/button.style.outline.js +49 -0
- package/dist/es/button/button.style.size.js +187 -0
- package/dist/es/button/button.style.solid.js +50 -0
- package/dist/es/button/button.style.strecth.js +8 -0
- package/dist/es/button/index.js +1 -0
- package/dist/es/button/styled.js +415 -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/index.js +1 -0
- package/dist/es/card/styles.js +66 -0
- package/dist/es/checkbox/group/index.js +1 -0
- package/dist/es/checkbox/group/styled.js +9 -0
- package/dist/es/checkbox/index.js +1 -0
- package/dist/es/checkbox/styled.js +340 -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/datepicker/styled.js +60 -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/form/context/FormContext.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/control/styled.js +8 -0
- package/dist/es/form/group/Group.js +1 -0
- package/dist/es/form/group/styled.js +7 -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/UpdateThemeStyle.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/tokens.js +1 -0
- package/dist/es/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/es/helpers/url/ValidURL.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/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/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/input/style.settings.js +1 -0
- package/dist/es/input/styled.js +430 -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 +27 -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/closeicon.svg.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/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.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/trash.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/uuid/dist/esm-browser/native.js +1 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/v4.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/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/dropdown/styled.js +239 -0
- package/dist/es/select/index.js +1 -0
- package/dist/es/select/option/Option.js +1 -0
- package/dist/es/select/option/styled.js +36 -0
- package/dist/es/select/style.settings.js +1 -0
- package/dist/es/select/styled.js +331 -0
- package/dist/es/select/toggle/Toggle.js +1 -0
- package/dist/es/select/toggle/label/Label.js +1 -0
- package/dist/es/select/toggle/label/styled.js +5 -0
- package/dist/es/select/toggle/styled.js +88 -0
- package/dist/es/spin/index.js +1 -0
- package/dist/es/spin/styled.js +74 -0
- package/dist/es/status/index.js +1 -0
- package/dist/es/status/styled.js +75 -0
- package/dist/es/switch/index.js +1 -0
- package/dist/es/switch/styled.js +209 -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/tabs/styles.js +96 -0
- package/dist/es/textarea/index.js +1 -0
- package/dist/es/textarea/styled.js +220 -0
- package/dist/es/tinyscrollbar/index.js +1 -0
- package/dist/es/tinyscrollbar/scroll.styled.js +21 -0
- package/dist/es/types/InputProps.js +1 -0
- package/dist/es/upload/index.js +1 -0
- package/dist/es/upload/styled.js +228 -0
- package/dist/es/utils/CommonStyledComponents.js +61 -0
- package/dist/es/utils/GetIconSizeBySize.js +1 -0
- package/dist/es/utils/GetSizeSlugBySize.js +1 -0
- package/dist/es/utils/InlineSVGCached.js +1 -0
- package/dist/form/context/FormContext.d.ts +3 -0
- package/dist/form/context/FormStore.d.ts +4 -1
- package/dist/form/item/Item.d.ts +0 -1
- package/dist/global.css +333 -113
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers/theme/Color.d.ts +19 -0
- package/dist/helpers/theme/GenerateColorScale.d.ts +16 -0
- package/dist/helpers/theme/cssVariables.d.ts +30 -0
- package/dist/helpers/theme/dark.d.ts +1 -1
- package/dist/helpers/theme/index.d.ts +4 -0
- package/dist/helpers/theme/light.d.ts +1 -1
- package/dist/helpers/theme/tokens.d.ts +392 -0
- package/dist/index.d.mts +31 -7
- package/dist/index.d.ts +660 -128
- package/dist/input/style.settings.d.ts +9 -0
- package/dist/input/styled.d.ts +15 -17
- package/dist/locales/en/itd.json +13 -0
- package/dist/locales/itd.json +13 -0
- package/dist/locales/tr/itd.json +13 -0
- package/dist/radio/button/RadioButton.d.ts +1 -1
- package/dist/result/index.d.ts +1 -1
- package/dist/select/dropdown/Dropdown.d.ts +19 -0
- package/dist/select/dropdown/styled.d.ts +14 -0
- package/dist/select/option/Option.d.ts +10 -3
- package/dist/select/style.settings.d.ts +83 -26
- package/dist/select/styled.d.ts +4 -2
- package/dist/select/toggle/Toggle.d.ts +1 -1
- package/dist/select/toggle/label/{single/SingleLabel.d.ts → Label.d.ts} +5 -5
- package/dist/select/toggle/styled.d.ts +4 -4
- package/dist/stats.html +4949 -0
- package/dist/stories/Accordion.d.ts +0 -1
- package/dist/stories/Alert.stories.d.ts +15 -1
- package/dist/stories/AlertComposition.d.ts +2 -0
- package/dist/stories/AlertComposition.stories.d.ts +17 -0
- package/dist/stories/Button.d.ts +0 -1
- package/dist/stories/Button.stories.d.ts +8 -1
- package/dist/stories/Card.stories.d.ts +1 -0
- 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/Form.stories.d.ts +10 -1
- package/dist/stories/Header.d.ts +0 -1
- package/dist/stories/Input.d.ts +0 -1
- package/dist/stories/Input.stories.d.ts +9 -1
- package/dist/stories/ModalManager.d.ts +0 -1
- package/dist/stories/Page.d.ts +0 -1
- package/dist/stories/Select.d.ts +0 -1
- package/dist/stories/Select.stories.d.ts +13 -3
- package/dist/stories/Switch.stories.d.ts +8 -1
- package/dist/stories/TextArea.d.ts +0 -1
- package/dist/stories/TextArea.stories.d.ts +8 -1
- package/dist/stories/root/index.d.ts +0 -1
- package/dist/switch/styled.d.ts +1 -1
- package/dist/textarea/styled.d.ts +2 -5
- package/dist/types/AlertProps.d.ts +5 -4
- package/dist/types/ButtonProps.d.ts +2 -2
- package/dist/types/CalendarProps.d.ts +0 -1
- package/dist/types/CardProps.d.ts +4 -0
- package/dist/types/CheckboxProps.d.ts +5 -1
- package/dist/types/DatePickerProps.d.ts +2 -3
- package/dist/types/FormProps.d.ts +3 -0
- package/dist/types/ITDProps.d.ts +4 -2
- package/dist/types/InputProps.d.ts +0 -1
- package/dist/types/RadioProps.d.ts +1 -0
- package/dist/types/ResultProps.d.ts +1 -0
- package/dist/types/SelectProps.d.ts +5 -13
- package/dist/types/SwitchProps.d.ts +4 -1
- package/dist/types/TableProps.d.ts +1 -0
- package/dist/types/Theme.d.ts +75 -16
- package/dist/types/UploadProps.d.ts +2 -0
- package/dist/upload/index.d.ts +1 -1
- package/dist/upload/styled.d.ts +5 -2
- package/dist/utils/CommonStyledComponents.d.ts +17 -0
- package/package.json +47 -35
- package/dist/button/button.style.SVG.d.ts +0 -4
- package/dist/index.cjs.js +0 -5472
- package/dist/index.esm.js +0 -5472
- package/dist/select/menu/Menu.d.ts +0 -14
- package/dist/select/menu/styled.d.ts +0 -8
- package/dist/select/toggle/label/floating/FloatingLabel.d.ts +0 -12
- package/dist/select/toggle/label/floating/styled.d.ts +0 -8
- package/dist/stories/ButtonIcon.d.ts +0 -2
- /package/dist/select/toggle/label/{single/styled.d.ts → styled.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { ReactNode, RefObject, Context, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, Ref, MutableRefObject, FocusEvent, KeyboardEvent,
|
|
3
|
+
import react__default, { ReactNode, RefObject, Context, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, MouseEvent, FC, Ref, MutableRefObject, FocusEvent, KeyboardEvent, 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, ComponentYPositions as ComponentYPositions$1, ComponentXPositions as ComponentXPositions$1, ComponentSizes as ComponentSizes$1, ComponentVariants, ComponentSizesSlug as ComponentSizesSlug$1, ModalState as ModalState$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';
|
|
9
10
|
import { ModalProps as ModalProps$1 } from 'types/ModalProps';
|
|
10
11
|
import { RadioButtonProps as RadioButtonProps$1, RadioGroupProps as RadioGroupProps$1 } from 'types/RadioProps';
|
|
11
12
|
import { ITDImperativeFuncProps as ITDImperativeFuncProps$1 } from 'types/ITDImperativeFuncProps';
|
|
@@ -32,46 +33,120 @@ type ITDProviderProps = {
|
|
|
32
33
|
declare const ITDContext: react.Context<ITDContextType>;
|
|
33
34
|
declare const ITDProvider: (props: ITDProviderProps) => react_jsx_runtime.JSX.Element;
|
|
34
35
|
|
|
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
|
+
|
|
35
52
|
type ITDTheme = {
|
|
36
|
-
|
|
37
|
-
|
|
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;
|
|
38
83
|
colorText: string;
|
|
39
84
|
colorTextMuted: string;
|
|
85
|
+
colorTextMutedForeground: string;
|
|
40
86
|
colorPlaceholder: string;
|
|
87
|
+
colorTextNeutral: string;
|
|
88
|
+
colorControlLabel: string;
|
|
89
|
+
colorModalShadow: string;
|
|
41
90
|
colorBorder: string;
|
|
42
91
|
colorBorderHover: string;
|
|
43
|
-
colorBorderSelected: string;
|
|
44
92
|
colorBorderTransparent: string;
|
|
45
|
-
colorFocusOutline: string;
|
|
46
|
-
colorFocusOutlineTransparent: string;
|
|
47
93
|
colorBackgroundAlt: string;
|
|
48
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;
|
|
49
105
|
colorDisabledBg: string;
|
|
50
106
|
colorDisabledBorder: string;
|
|
51
107
|
colorDisabledText: string;
|
|
108
|
+
colorIcon: string;
|
|
52
109
|
colorIconMuted: string;
|
|
53
|
-
colorTextNeutral: string;
|
|
54
|
-
colorCheckboxLabel: string;
|
|
55
|
-
colorCheckboxCheckmark: string;
|
|
56
|
-
colorCheckboxDefaultTick: string;
|
|
57
|
-
colorCheckboxFilledBg: string;
|
|
58
|
-
colorCheckboxFilledTick: string;
|
|
59
110
|
colorError: string;
|
|
60
111
|
colorErrorText: string;
|
|
61
112
|
colorErrorBorder: string;
|
|
62
113
|
scrollbarThumb: string;
|
|
63
114
|
scrollbarThumbHover: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
115
|
+
primaryGradientStart: string;
|
|
116
|
+
primaryGradientEnd: string;
|
|
117
|
+
primaryHoverStart: string;
|
|
118
|
+
primaryHoverEnd: string;
|
|
119
|
+
primaryContrastText: string;
|
|
69
120
|
buttonGenericBg: string;
|
|
70
121
|
buttonGenericHoverBg: string;
|
|
71
122
|
buttonSelectedBorder: string;
|
|
72
123
|
buttonSelectedBg: string;
|
|
73
124
|
buttonDisabledBg: string;
|
|
74
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;
|
|
75
150
|
};
|
|
76
151
|
|
|
77
152
|
type ITDThemeProviderProps = {
|
|
@@ -116,6 +191,450 @@ declare function AddDefaultThemeStyle(): void;
|
|
|
116
191
|
*/
|
|
117
192
|
declare function UpdateThemeStyle(theme: string): void;
|
|
118
193
|
|
|
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
|
+
|
|
119
638
|
declare function IsValidJSON(item: string | {}): boolean;
|
|
120
639
|
|
|
121
640
|
declare function AddZero(num: string): string;
|
|
@@ -460,25 +979,31 @@ type InlineSVGCachedProps = {
|
|
|
460
979
|
onLoaded?: () => void;
|
|
461
980
|
onError?: (error: unknown) => void;
|
|
462
981
|
};
|
|
463
|
-
declare const _default$
|
|
982
|
+
declare const _default$4: react.MemoExoticComponent<({ src, className, style, title, role, onLoaded, onError }: InlineSVGCachedProps) => react_jsx_runtime.JSX.Element>;
|
|
464
983
|
|
|
465
984
|
type OptionsTypeProps = {
|
|
466
985
|
customKey?: string;
|
|
986
|
+
label: ChildrenProps$1;
|
|
987
|
+
disabled: boolean;
|
|
988
|
+
value: SelectValue$1;
|
|
989
|
+
variant: ITDVariant$1;
|
|
990
|
+
size: ITDSizeSlug$1;
|
|
467
991
|
icon?: ChildrenProps$1;
|
|
468
992
|
image?: string;
|
|
469
|
-
label?: ChildrenProps$1;
|
|
470
|
-
value?: SelectValue$1;
|
|
471
993
|
multi?: boolean;
|
|
472
994
|
checked?: boolean;
|
|
995
|
+
isActive?: boolean;
|
|
996
|
+
index?: number;
|
|
997
|
+
onHover?: (index: number) => void;
|
|
473
998
|
onChange?: (value: SelectValue$1, checked: boolean, label: ChildrenProps$1) => null;
|
|
474
999
|
};
|
|
475
|
-
declare const _default$
|
|
476
|
-
({ multi, checked, icon, image, value, customKey, onChange, label }: OptionsTypeProps): react_jsx_runtime.JSX.Element;
|
|
1000
|
+
declare const _default$3: react.MemoExoticComponent<{
|
|
1001
|
+
({ multi, checked, variant, size, icon, image, value, customKey, disabled, isActive, index, onHover, onChange, label }: OptionsTypeProps): react_jsx_runtime.JSX.Element;
|
|
477
1002
|
displayName: string;
|
|
478
1003
|
}>;
|
|
479
1004
|
|
|
480
1005
|
type SelectSubComponentProps = {
|
|
481
|
-
Option: typeof _default$
|
|
1006
|
+
Option: typeof _default$3;
|
|
482
1007
|
};
|
|
483
1008
|
type SelectComponentProps = ForwardRefExoticComponent<PropsWithoutRef<SelectProps> & RefAttributes<ITDImperativeFuncProps>> & SelectSubComponentProps;
|
|
484
1009
|
declare const Select: SelectComponentProps;
|
|
@@ -511,7 +1036,6 @@ type ItemProps = {
|
|
|
511
1036
|
name: string;
|
|
512
1037
|
id?: string;
|
|
513
1038
|
label?: string;
|
|
514
|
-
placeholder?: string;
|
|
515
1039
|
error?: string;
|
|
516
1040
|
rules?: FormRuleProps[];
|
|
517
1041
|
mask?: string | null;
|
|
@@ -523,6 +1047,12 @@ type ItemProps = {
|
|
|
523
1047
|
};
|
|
524
1048
|
declare const Item$1: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<ITDImperativeFuncProps>>;
|
|
525
1049
|
|
|
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
|
+
|
|
526
1056
|
type FormContextType = {
|
|
527
1057
|
register: (item: FormItemProps) => void;
|
|
528
1058
|
unregister: (name: string) => void;
|
|
@@ -553,6 +1083,8 @@ type FormContextType = {
|
|
|
553
1083
|
removeFields: () => void;
|
|
554
1084
|
formId: string;
|
|
555
1085
|
updated: {};
|
|
1086
|
+
variant?: ITDVariant;
|
|
1087
|
+
disabled?: boolean;
|
|
556
1088
|
};
|
|
557
1089
|
|
|
558
1090
|
type FormStoreProps = {
|
|
@@ -561,6 +1093,8 @@ type FormStoreProps = {
|
|
|
561
1093
|
onFieldUpdate?: (update: FieldUpdateProps) => void;
|
|
562
1094
|
onReset?: () => void;
|
|
563
1095
|
useQueryString?: boolean;
|
|
1096
|
+
variant?: ITDVariant;
|
|
1097
|
+
disabled?: boolean;
|
|
564
1098
|
};
|
|
565
1099
|
|
|
566
1100
|
type FormSubComponentProps$1 = {
|
|
@@ -627,25 +1161,6 @@ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAtt
|
|
|
627
1161
|
*/
|
|
628
1162
|
declare const Upload: react.ForwardRefExoticComponent<UploadProps & react.RefAttributes<ITDImperativeFuncProps>>;
|
|
629
1163
|
|
|
630
|
-
declare function Panel({ id, link, icon, title, hasOpen, useLink, onChange, children }: {
|
|
631
|
-
id?: string | undefined;
|
|
632
|
-
link?: string | undefined;
|
|
633
|
-
icon?: string | undefined;
|
|
634
|
-
title?: string | undefined;
|
|
635
|
-
hasOpen?: boolean | undefined;
|
|
636
|
-
useLink?: boolean | undefined;
|
|
637
|
-
onChange?: null | undefined;
|
|
638
|
-
children?: null | undefined;
|
|
639
|
-
}): react_jsx_runtime.JSX.Element;
|
|
640
|
-
|
|
641
|
-
declare function Collapse({ useLink, children }: {
|
|
642
|
-
useLink?: boolean | undefined;
|
|
643
|
-
children: any;
|
|
644
|
-
}): react_jsx_runtime.JSX.Element;
|
|
645
|
-
declare namespace Collapse {
|
|
646
|
-
export { Panel };
|
|
647
|
-
}
|
|
648
|
-
|
|
649
1164
|
type ModalContextType = {
|
|
650
1165
|
/**
|
|
651
1166
|
* Opens a new modal with the provided information of the modal to be opened.
|
|
@@ -702,37 +1217,16 @@ declare const Notification: {
|
|
|
702
1217
|
useNotifications: () => NotificationContextType;
|
|
703
1218
|
};
|
|
704
1219
|
|
|
705
|
-
declare function RadioButton({ id, name, value, type, buttonProps, checked, hasError, children, icon, image, component, onChange }: RadioButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
1220
|
+
declare function RadioButton({ id, name, value, type, buttonProps, checked, hasError, className, children, icon, image, component, onChange }: RadioButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
706
1221
|
|
|
707
|
-
declare const _default$
|
|
1222
|
+
declare const _default$2: react__default.NamedExoticComponent<RadioGroupProps$1 & react__default.RefAttributes<ITDImperativeFuncProps$1>>;
|
|
708
1223
|
|
|
709
1224
|
interface RadioComponent extends React.FC {
|
|
710
|
-
Group: typeof _default$
|
|
1225
|
+
Group: typeof _default$2;
|
|
711
1226
|
Button: typeof RadioButton;
|
|
712
1227
|
}
|
|
713
1228
|
declare const Radio: RadioComponent;
|
|
714
1229
|
|
|
715
|
-
declare const _default$2: react__default.MemoExoticComponent<({ value, checked, single, onChange, children }: {
|
|
716
|
-
value?: string | undefined;
|
|
717
|
-
checked?: boolean | undefined;
|
|
718
|
-
single?: boolean | undefined;
|
|
719
|
-
onChange?: null | undefined;
|
|
720
|
-
children?: null | undefined;
|
|
721
|
-
}) => react_jsx_runtime.JSX.Element>;
|
|
722
|
-
|
|
723
|
-
declare function InlineSelect({ label, value, children, single, minWidth, className, onChange }: {
|
|
724
|
-
label?: string | undefined;
|
|
725
|
-
value?: never[] | undefined;
|
|
726
|
-
children?: null | undefined;
|
|
727
|
-
single?: boolean | undefined;
|
|
728
|
-
minWidth?: number | undefined;
|
|
729
|
-
className?: string | undefined;
|
|
730
|
-
onChange?: null | undefined;
|
|
731
|
-
}): react_jsx_runtime.JSX.Element;
|
|
732
|
-
declare namespace InlineSelect {
|
|
733
|
-
export { _default$2 as Option };
|
|
734
|
-
}
|
|
735
|
-
|
|
736
1230
|
interface ImageProps extends react__default.ImgHTMLAttributes<HTMLImageElement> {
|
|
737
1231
|
src: string;
|
|
738
1232
|
source?: string;
|
|
@@ -753,15 +1247,54 @@ declare function single(message: any, type?: string): void;
|
|
|
753
1247
|
declare function double(title: any, message: any, type?: string): void;
|
|
754
1248
|
declare function table(data: any): void;
|
|
755
1249
|
|
|
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
|
+
|
|
756
1277
|
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;
|
|
757
1278
|
|
|
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
|
+
|
|
758
1291
|
declare const Alert: {
|
|
759
|
-
({ type, size, title, className, children, icon, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
1292
|
+
({ type, size, variant, title, className, children, icon, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
760
1293
|
displayName: string;
|
|
761
1294
|
};
|
|
762
1295
|
|
|
763
1296
|
declare const Result: {
|
|
764
|
-
({ image, title, description, extra, footer, type, fill, autoCenter, background, animation }: ResultProps$1): react_jsx_runtime.JSX.Element;
|
|
1297
|
+
({ image, title, description, className, extra, footer, type, fill, autoCenter, background, animation }: ResultProps$1): react_jsx_runtime.JSX.Element;
|
|
765
1298
|
displayName: string;
|
|
766
1299
|
};
|
|
767
1300
|
|
|
@@ -791,7 +1324,7 @@ declare function TinyScrollbar({ className, children, style }: TinyScrollbarProp
|
|
|
791
1324
|
|
|
792
1325
|
declare const Tabs: ({ tabs, activeTabKey, className, variant, height, onTabChange }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
793
1326
|
|
|
794
|
-
declare const Card: ({ title,
|
|
1327
|
+
declare const Card: ({ title, description, extra, tabs, onTabChange, minWidth, minHeight, children, className, variant, titleSeparator, activeTabKey, updating, contentPadding, }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
795
1328
|
|
|
796
1329
|
declare const Table: <T extends TableRow>(props: TableProps<T> & {
|
|
797
1330
|
ref?: Ref<TableRefProps>;
|
|
@@ -801,9 +1334,6 @@ declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, clas
|
|
|
801
1334
|
|
|
802
1335
|
type QueryValueProps = string | number | boolean | string[] | number[];
|
|
803
1336
|
|
|
804
|
-
type Element = string | number | React.ReactNode | undefined;
|
|
805
|
-
type ChildrenProps = Element | Element[] | null;
|
|
806
|
-
|
|
807
1337
|
type AccordionProps = {
|
|
808
1338
|
useLink?: boolean;
|
|
809
1339
|
onlyOne?: boolean;
|
|
@@ -870,7 +1400,6 @@ type InputProps = {
|
|
|
870
1400
|
maxValue?: number;
|
|
871
1401
|
maxLength?: number;
|
|
872
1402
|
disabled?: boolean;
|
|
873
|
-
floating?: boolean;
|
|
874
1403
|
autoComplete?: boolean;
|
|
875
1404
|
keepFocus?: boolean;
|
|
876
1405
|
mask?: null | string;
|
|
@@ -889,10 +1418,6 @@ type InputProps = {
|
|
|
889
1418
|
children?: ChildrenProps;
|
|
890
1419
|
};
|
|
891
1420
|
|
|
892
|
-
type ITDSize = ComponentSizes$1 | "x-small" | "small" | "medium" | "default" | "large" | "x-large";
|
|
893
|
-
type ITDSizeSlug = ComponentSizesSlug$1 | "xs" | "sm" | "md" | "df" | "lg" | "xlg";
|
|
894
|
-
type ITDPosition = ComponentPositions$1 | "left" | "right";
|
|
895
|
-
|
|
896
1421
|
type CalendarProps = {
|
|
897
1422
|
id?: string;
|
|
898
1423
|
placeholder?: string;
|
|
@@ -902,7 +1427,6 @@ type CalendarProps = {
|
|
|
902
1427
|
size?: ITDSize;
|
|
903
1428
|
variant?: InputVariant;
|
|
904
1429
|
disabled?: boolean;
|
|
905
|
-
floating?: boolean;
|
|
906
1430
|
suffix?: ChildrenProps;
|
|
907
1431
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
908
1432
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
@@ -931,8 +1455,7 @@ type DatePickerProps = {
|
|
|
931
1455
|
size?: ITDSize;
|
|
932
1456
|
variant?: InputVariant;
|
|
933
1457
|
disabled?: boolean;
|
|
934
|
-
|
|
935
|
-
position?: ITDPosition;
|
|
1458
|
+
position?: ITDHorizontalPosition;
|
|
936
1459
|
suffix?: ChildrenProps;
|
|
937
1460
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
938
1461
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
@@ -965,30 +1488,6 @@ type TextAreaEvent = {
|
|
|
965
1488
|
};
|
|
966
1489
|
type TextAreaVariant = "default" | "filled" | "dashed";
|
|
967
1490
|
|
|
968
|
-
type ButtonProps = {
|
|
969
|
-
id?: string;
|
|
970
|
-
disabled?: boolean;
|
|
971
|
-
loading?: boolean;
|
|
972
|
-
selected?: boolean;
|
|
973
|
-
strecth?: boolean;
|
|
974
|
-
circle?: boolean;
|
|
975
|
-
justify?: string;
|
|
976
|
-
contentPosition?: ITDPosition;
|
|
977
|
-
type?: ButtonType;
|
|
978
|
-
variant?: ButtonVariant;
|
|
979
|
-
state?: ButtonState;
|
|
980
|
-
size?: ITDSize;
|
|
981
|
-
icon?: string | ChildrenProps | SVGElement;
|
|
982
|
-
href?: string;
|
|
983
|
-
target?: string;
|
|
984
|
-
className?: string;
|
|
985
|
-
children?: ChildrenProps;
|
|
986
|
-
onClick?: null | ((event: MouseEvent<any>) => void);
|
|
987
|
-
};
|
|
988
|
-
type ButtonType = "button" | "submit" | "reset";
|
|
989
|
-
type ButtonVariant = "default" | "solid" | "filled" | "outline" | "ghost" | "link" | "statable" | "custom";
|
|
990
|
-
type ButtonState = "primary" | "secondary" | "request" | "approve" | "reject" | "pending" | "requested" | string | null;
|
|
991
|
-
|
|
992
1491
|
type RadioType = "default" | "primary";
|
|
993
1492
|
type Direction = "column" | "row";
|
|
994
1493
|
type RadioGroupProps = {
|
|
@@ -1016,6 +1515,7 @@ type RadioButtonProps = {
|
|
|
1016
1515
|
type?: RadioType;
|
|
1017
1516
|
checked?: boolean;
|
|
1018
1517
|
hasError?: boolean;
|
|
1518
|
+
className?: string;
|
|
1019
1519
|
children?: React.ReactNode;
|
|
1020
1520
|
buttonProps?: ButtonProps;
|
|
1021
1521
|
icon?: string | null;
|
|
@@ -1029,21 +1529,19 @@ type SelectProps = {
|
|
|
1029
1529
|
defaultValue?: SelectValue;
|
|
1030
1530
|
value?: SelectValue;
|
|
1031
1531
|
label?: string | number;
|
|
1032
|
-
position?:
|
|
1033
|
-
direction?:
|
|
1532
|
+
position?: ITDVerticalPosition;
|
|
1533
|
+
direction?: ITDHorizontalPosition;
|
|
1034
1534
|
multi?: boolean;
|
|
1035
1535
|
size?: ITDSize;
|
|
1036
|
-
variant?:
|
|
1536
|
+
variant?: ITDVariant;
|
|
1037
1537
|
className?: string;
|
|
1038
1538
|
placeholder?: string;
|
|
1039
1539
|
prefix?: ChildrenProps;
|
|
1040
|
-
suffix?: ChildrenProps;
|
|
1041
1540
|
icon?: string;
|
|
1042
1541
|
image?: string;
|
|
1043
1542
|
disabled?: boolean;
|
|
1044
1543
|
showSearch?: boolean;
|
|
1045
1544
|
locked?: boolean;
|
|
1046
|
-
floating?: boolean;
|
|
1047
1545
|
style?: CSSProperties;
|
|
1048
1546
|
options?: SelectOptionProps[];
|
|
1049
1547
|
onChange?: ((value: SelectValue) => void) | null;
|
|
@@ -1052,23 +1550,19 @@ type SelectProps = {
|
|
|
1052
1550
|
type SelectToggleProps = {
|
|
1053
1551
|
id?: string;
|
|
1054
1552
|
label?: string | number | ChildrenProps;
|
|
1055
|
-
value?: SelectValue | null;
|
|
1056
1553
|
errorMessage: string;
|
|
1057
1554
|
multi: boolean;
|
|
1058
1555
|
isOpen: boolean;
|
|
1059
1556
|
showSearch: boolean;
|
|
1060
1557
|
locked: boolean;
|
|
1061
1558
|
disabled: boolean;
|
|
1062
|
-
labelType: string;
|
|
1063
1559
|
placeholder: string;
|
|
1064
1560
|
icon?: string;
|
|
1065
1561
|
prefix?: ChildrenProps;
|
|
1066
|
-
suffix?: ChildrenProps;
|
|
1067
1562
|
image?: string;
|
|
1068
1563
|
size: ITDSize;
|
|
1069
1564
|
onFocus: () => void;
|
|
1070
|
-
|
|
1071
|
-
onShow: (value: boolean) => void;
|
|
1565
|
+
onShow: (value: boolean, trigger?: 'pointer' | 'keyboard') => void;
|
|
1072
1566
|
onFilter: (value: string) => void;
|
|
1073
1567
|
onChange: (open: boolean) => void;
|
|
1074
1568
|
};
|
|
@@ -1082,17 +1576,16 @@ type SelectOptionProps = {
|
|
|
1082
1576
|
searchText?: string;
|
|
1083
1577
|
};
|
|
1084
1578
|
type SelectValue = string | number | (string | number)[];
|
|
1085
|
-
type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
|
|
1086
|
-
type SelectPosition = "top" | "bottom";
|
|
1087
|
-
type SelectDirection = "right" | "left";
|
|
1088
1579
|
|
|
1089
1580
|
type CheckboxProps = {
|
|
1090
1581
|
id?: string;
|
|
1091
1582
|
value?: string | number | boolean;
|
|
1092
1583
|
checked?: boolean;
|
|
1093
1584
|
disabled?: boolean;
|
|
1094
|
-
|
|
1585
|
+
readOnly?: boolean;
|
|
1586
|
+
variant?: ITDVariant;
|
|
1095
1587
|
indeterminate?: boolean;
|
|
1588
|
+
animated?: boolean;
|
|
1096
1589
|
className?: string;
|
|
1097
1590
|
children?: ChildrenProps;
|
|
1098
1591
|
onChange?: ((event: CheckboxEvent) => void);
|
|
@@ -1104,6 +1597,7 @@ type CheckboxGroupProps = {
|
|
|
1104
1597
|
defaultValue?: (string | number | boolean)[];
|
|
1105
1598
|
options?: GroupCheckboxOptionType[];
|
|
1106
1599
|
disabled?: boolean;
|
|
1600
|
+
variant?: ITDVariant;
|
|
1107
1601
|
className?: string;
|
|
1108
1602
|
children?: ChildrenProps | ReactElement<CheckboxProps> | Array<ReactElement<CheckboxProps>>;
|
|
1109
1603
|
selectAll?: (value: boolean) => void;
|
|
@@ -1124,7 +1618,6 @@ type CheckboxEvent = {
|
|
|
1124
1618
|
stopPropagation: () => void;
|
|
1125
1619
|
preventDefault: () => void;
|
|
1126
1620
|
};
|
|
1127
|
-
type CheckboxVariant = "default" | "filled";
|
|
1128
1621
|
|
|
1129
1622
|
type ITDImperativeFuncProps = {
|
|
1130
1623
|
reset: (update?: boolean, validation?: boolean) => void;
|
|
@@ -1155,6 +1648,8 @@ type FormProps = {
|
|
|
1155
1648
|
onValidated?: (validate: boolean) => void;
|
|
1156
1649
|
onFieldUpdate?: (update: FieldUpdateProps) => void;
|
|
1157
1650
|
useQueryString?: boolean;
|
|
1651
|
+
variant?: ITDVariant;
|
|
1652
|
+
disabled?: boolean;
|
|
1158
1653
|
className?: string;
|
|
1159
1654
|
ref?: RefObject<FormContextType>;
|
|
1160
1655
|
name: string;
|
|
@@ -1201,22 +1696,23 @@ type NotificationsProps = {
|
|
|
1201
1696
|
|
|
1202
1697
|
type AlertProps = {
|
|
1203
1698
|
type?: AlertType;
|
|
1204
|
-
size?:
|
|
1699
|
+
size?: ITDSize;
|
|
1205
1700
|
icon?: string | react__default.ReactNode;
|
|
1206
1701
|
title?: string;
|
|
1702
|
+
variant?: ITDVariant;
|
|
1207
1703
|
className?: string;
|
|
1208
1704
|
children?: ChildrenProps;
|
|
1209
1705
|
};
|
|
1210
|
-
type AlertType = "success" | "info" | "warning" | "error";
|
|
1211
|
-
type AlertSize = ComponentSizes$1.X_SMALL | ComponentSizes$1.SMALL | ComponentSizes$1.MEDIUM | ComponentSizes$1.DEFAULT | ComponentSizes$1.LARGE | ComponentSizes$1.X_LARGE;
|
|
1706
|
+
type AlertType = "neutral" | "success" | "info" | "warning" | "error";
|
|
1212
1707
|
|
|
1213
1708
|
type SwitchProps = {
|
|
1214
1709
|
id?: string;
|
|
1215
|
-
|
|
1710
|
+
children?: ChildrenProps;
|
|
1216
1711
|
checked?: boolean;
|
|
1217
1712
|
defaultChecked?: boolean;
|
|
1218
1713
|
loading?: boolean;
|
|
1219
1714
|
disabled?: boolean;
|
|
1715
|
+
variant?: ITDVariant;
|
|
1220
1716
|
onChange?: ((value: any) => void) | null;
|
|
1221
1717
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
1222
1718
|
};
|
|
@@ -1441,6 +1937,7 @@ type ModalRefProps = {
|
|
|
1441
1937
|
|
|
1442
1938
|
type UploadProps = {
|
|
1443
1939
|
id?: string;
|
|
1940
|
+
variant?: ITDVariant;
|
|
1444
1941
|
action?: string;
|
|
1445
1942
|
filePath?: string | null;
|
|
1446
1943
|
removeAction?: string;
|
|
@@ -1492,6 +1989,7 @@ type ResultProps = {
|
|
|
1492
1989
|
image: string | ChildrenProps;
|
|
1493
1990
|
title: string;
|
|
1494
1991
|
description: string;
|
|
1992
|
+
className?: string;
|
|
1495
1993
|
type?: string;
|
|
1496
1994
|
extra?: ChildrenProps | null;
|
|
1497
1995
|
footer?: ChildrenProps | null;
|
|
@@ -1530,6 +2028,7 @@ type TableProps<T extends TableRow> = {
|
|
|
1530
2028
|
columns: TableColumnType<T>[];
|
|
1531
2029
|
data: T[] | null;
|
|
1532
2030
|
cellHeight?: number | string;
|
|
2031
|
+
className?: string;
|
|
1533
2032
|
size?: ITDSize;
|
|
1534
2033
|
headless?: boolean;
|
|
1535
2034
|
bordered?: boolean;
|
|
@@ -1553,6 +2052,8 @@ type TableRefProps = {
|
|
|
1553
2052
|
|
|
1554
2053
|
type CardProps = {
|
|
1555
2054
|
title?: ChildrenProps;
|
|
2055
|
+
variant?: ITDVariant;
|
|
2056
|
+
description?: ChildrenProps;
|
|
1556
2057
|
titleSeparator?: boolean;
|
|
1557
2058
|
extra?: ChildrenProps;
|
|
1558
2059
|
tabs?: {
|
|
@@ -1566,6 +2067,7 @@ type CardProps = {
|
|
|
1566
2067
|
minHeight?: number;
|
|
1567
2068
|
contentPadding?: string;
|
|
1568
2069
|
children: ChildrenProps;
|
|
2070
|
+
className?: string;
|
|
1569
2071
|
};
|
|
1570
2072
|
|
|
1571
2073
|
type ProgressProps = {
|
|
@@ -1669,10 +2171,14 @@ declare enum ComponentSizesSlug {
|
|
|
1669
2171
|
LARGE = "lg",
|
|
1670
2172
|
X_LARGE = "xlg"
|
|
1671
2173
|
}
|
|
1672
|
-
declare enum
|
|
2174
|
+
declare enum ComponentXPositions {
|
|
1673
2175
|
LEFT = "left",
|
|
1674
2176
|
RIGHT = "right"
|
|
1675
2177
|
}
|
|
2178
|
+
declare enum ComponentYPositions {
|
|
2179
|
+
TOP = "top",
|
|
2180
|
+
BOTTOM = "bottom"
|
|
2181
|
+
}
|
|
1676
2182
|
|
|
1677
2183
|
declare const resources: {
|
|
1678
2184
|
tr: {
|
|
@@ -1695,6 +2201,19 @@ declare const resources: {
|
|
|
1695
2201
|
birthday: string;
|
|
1696
2202
|
multipleSelection: string;
|
|
1697
2203
|
};
|
|
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
|
+
};
|
|
1698
2217
|
options: {
|
|
1699
2218
|
all: string;
|
|
1700
2219
|
male: string;
|
|
@@ -2005,6 +2524,19 @@ declare const resources: {
|
|
|
2005
2524
|
birthday: string;
|
|
2006
2525
|
multipleSelection: string;
|
|
2007
2526
|
};
|
|
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
|
+
};
|
|
2008
2540
|
options: {
|
|
2009
2541
|
all: string;
|
|
2010
2542
|
male: string;
|
|
@@ -2296,5 +2828,5 @@ declare const resources: {
|
|
|
2296
2828
|
};
|
|
2297
2829
|
};
|
|
2298
2830
|
|
|
2299
|
-
export { _default as ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray,
|
|
2300
|
-
export type { AccordionItemProps, AccordionProps, AccordionSubMenuProps, AlertProps,
|
|
2831
|
+
export { ALERT_TOKENS, _default as ALink, Accordion, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, AlertDescription, AlertTitle, Arrow as ArrowIcon, BUTTON_SIZE_MAP, BackToTop, BackTop, Base64Decode, Base64Encode, Button, CARD_TOKENS, CSS_VARIABLES_MAP, Calendar, Card, CheckFileURL, Checkbox, Checkmark, ChunkArray, ComponentSizes, ComponentSizesSlug, ComponentXPositions, ComponentYPositions, ConnectionStatus, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, Form, FormValidationTypes, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, generateColorScaleFromBase as GenerateColorScale, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, H1, H2, H3, H4, ICON_TOKENS, INPUT_SIZE_MAP, ITDContext, ITDProvider, ITDThemeProvider, _default$1 as Image, _default$4 as InlineSVGCached, InlineSelectArrow, Input, IsValidJSON, Lock as LockIcon, MODAL_TOKENS, ModalManager, ModalState, NoData, Notification, Picture, Progress, Radio, RemoveUnits, Result, SELECT_SIZE_MAP, SPACING_TOKENS, SVGLoader, Select, Spin, Status, Switch, TYPOGRAPHY_TOKENS, Table, Tabs, TextArea, TinyScrollbar, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, Wait, ZoomIn, ZoomOut, darkTheme, generateColorScaleFromBase, getContrastText, hexToRgba, injectDesignTokens, injectThemeColors, lightTheme, resources, toKebabCase, useAddExternalCSS, useAvoidCollision, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery, withOpacity };
|
|
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, ITDHorizontalPosition, ITDImperativeFuncProps, ITDProviderProps, ITDSize, ITDSizeSlug, ITDTheme, ITDVariant, ITDVerticalPosition, InputProps, InputVariant, ModalContentProps, ModalProps, ModalRefProps, NotificationContextType, NotificationsProps, ProgressProps, ProgressStatus, QueryValueProps, RadioButtonProps, RadioGroupProps, RadioType, ResultProps, SelectOptionProps, SelectProps, SelectToggleProps, SelectValue, SingleQueryProps, StatusProps, StatusVariant, SwitchProps, TableColumnType, TableProps, TableRefProps, TableRow, TableTRProps, TabsItemProps, TabsProps, TextAreaEvent, TextAreaProps, TextAreaVariant, UploadProgressProps, UploadProps, UploadResultMessageProps };
|