@trilogy-ds/react 0.0.7-esm-cjs → 0.0.8-esm-cjs
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/lib/{chunk-MUBWJWBW.mjs → chunk-5T5AU7CQ.mjs} +1 -1
- package/lib/{chunk-DCHZLFAK.mjs → chunk-M7IY4EMJ.mjs} +1 -1
- package/lib/components/accordion/Accordion.native.d.ts +9 -0
- package/lib/components/accordion/index.native.d.ts +5 -0
- package/lib/components/accordion/item/AccordionItem.native.d.ts +13 -0
- package/lib/components/accordion/item/body/AccordionBody.native.d.ts +9 -0
- package/lib/components/accordion/item/body/index.native.d.ts +3 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.d.ts +9 -0
- package/lib/components/accordion/item/header/index.native.d.ts +3 -0
- package/lib/components/accordion/item/index.native.d.ts +2 -0
- package/lib/components/alert/Alert.mjs +1 -1
- package/lib/components/alert/Alert.native.d.ts +34 -0
- package/lib/components/alert/index.mjs +1 -1
- package/lib/components/alert/index.native.d.ts +5 -0
- package/lib/components/autocomplete/AutoComplete.mjs +1 -1
- package/lib/components/autocomplete/AutoComplete.native.d.ts +27 -0
- package/lib/components/autocomplete/index.mjs +1 -1
- package/lib/components/autocomplete/index.native.d.ts +5 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +3 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +1 -1
- package/lib/components/autocomplete/item/index.mjs +1 -1
- package/lib/components/autocomplete/item/index.native.d.ts +3 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +3 -0
- package/lib/components/autocomplete/menu/index.mjs +1 -1
- package/lib/components/autocomplete/menu/index.native.d.ts +3 -0
- package/lib/components/autolayout/AutoLayout.native.d.ts +12 -0
- package/lib/components/autolayout/index.native.d.ts +5 -0
- package/lib/components/badge/Badge.mjs +1 -1
- package/lib/components/badge/Badge.native.d.ts +18 -0
- package/lib/components/badge/index.mjs +1 -1
- package/lib/components/badge/index.native.d.ts +3 -0
- package/lib/components/box/Box.native.d.ts +22 -0
- package/lib/components/box/content/BoxContent.mjs +1 -1
- package/lib/components/box/content/BoxContent.native.d.ts +11 -0
- package/lib/components/box/content/index.mjs +1 -1
- package/lib/components/box/content/index.native.d.ts +2 -0
- package/lib/components/box/footer/BoxFooter.mjs +1 -1
- package/lib/components/box/footer/BoxFooter.native.d.ts +10 -0
- package/lib/components/box/footer/index.mjs +1 -1
- package/lib/components/box/footer/index.native.d.ts +2 -0
- package/lib/components/box/header/BoxHeader.mjs +1 -1
- package/lib/components/box/header/BoxHeader.native.d.ts +10 -0
- package/lib/components/box/header/index.mjs +1 -1
- package/lib/components/box/header/index.native.d.ts +2 -0
- package/lib/components/box/index.mjs +1 -1
- package/lib/components/box/index.native.d.ts +9 -0
- package/lib/components/box/item/BoxItem.native.d.ts +10 -0
- package/lib/components/box/item/index.native.d.ts +3 -0
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +9 -0
- package/lib/components/box/table-container/index.native.d.ts +2 -0
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +10 -0
- package/lib/components/breadcrumb/index.mjs +1 -1
- package/lib/components/breadcrumb/index.native.d.ts +3 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +13 -0
- package/lib/components/breadcrumb/item/index.mjs +1 -1
- package/lib/components/breadcrumb/item/index.native.d.ts +2 -0
- package/lib/components/button/Button.mjs +1 -1
- package/lib/components/button/Button.native.d.ts +17 -0
- package/lib/components/button/index.mjs +1 -1
- package/lib/components/button/index.native.d.ts +4 -0
- package/lib/components/button/list/ButtonList.mjs +1 -1
- package/lib/components/button/list/ButtonList.native.d.ts +9 -0
- package/lib/components/button/list/index.mjs +1 -1
- package/lib/components/button/list/index.native.d.ts +3 -0
- package/lib/components/card/Card.native.d.ts +25 -0
- package/lib/components/card/content/CardContent.native.d.ts +9 -0
- package/lib/components/card/content/index.native.d.ts +2 -0
- package/lib/components/card/image/CardImage.native.d.ts +14 -0
- package/lib/components/card/image/index.native.d.ts +2 -0
- package/lib/components/card/index.native.d.ts +5 -0
- package/lib/components/checkbox/Checkbox.native.d.ts +16 -0
- package/lib/components/checkbox/index.mjs +1 -1
- package/lib/components/checkbox/index.native.d.ts +6 -0
- package/lib/components/checkbox/list/CheckboxList.mjs +1 -1
- package/lib/components/checkbox/list/CheckboxList.native.d.ts +9 -0
- package/lib/components/checkbox/list/index.mjs +1 -1
- package/lib/components/checkbox/list/index.native.d.ts +2 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +5 -0
- package/lib/components/checkbox/tiles/index.native.d.ts +2 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +1 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +5 -0
- package/lib/components/checkbox/tiles/tile/index.mjs +1 -1
- package/lib/components/checkbox/tiles/tile/index.native.d.ts +2 -0
- package/lib/components/chips/Chips.native.d.ts +13 -0
- package/lib/components/chips/index.native.d.ts +4 -0
- package/lib/components/chips/list/ChipsList.native.d.ts +13 -0
- package/lib/components/chips/list/index.native.d.ts +2 -0
- package/lib/components/columns/Columns.native.d.ts +13 -0
- package/lib/components/columns/column/Column.native.d.ts +9 -0
- package/lib/components/columns/column/index.native.d.ts +2 -0
- package/lib/components/columns/index.native.d.ts +4 -0
- package/lib/components/container/Container.native.d.ts +9 -0
- package/lib/components/container/index.native.d.ts +3 -0
- package/lib/components/countdown/Countdown.native.d.ts +15 -0
- package/lib/components/countdown/index.native.d.ts +4 -0
- package/lib/components/divider/Divider.mjs +1 -1
- package/lib/components/divider/Divider.native.d.ts +14 -0
- package/lib/components/divider/index.mjs +1 -1
- package/lib/components/divider/index.native.d.ts +3 -0
- package/lib/components/fab/Fab.mjs +1 -1
- package/lib/components/fab/Fab.native.d.ts +18 -0
- package/lib/components/fab/index.mjs +1 -1
- package/lib/components/fab/index.native.d.ts +3 -0
- package/lib/components/flex-box/FlexBox.native.d.ts +5 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.d.ts +29 -0
- package/lib/components/flex-box/index.native.d.ts +3 -0
- package/lib/components/hero/Hero.native.d.ts +16 -0
- package/lib/components/hero/index.native.d.ts +4 -0
- package/lib/components/icon/Icon.mjs +1 -1
- package/lib/components/icon/Icon.native.d.ts +22 -0
- package/lib/components/icon/index.mjs +1 -1
- package/lib/components/icon/index.native.d.ts +5 -0
- package/lib/components/image/Image.mjs +1 -1
- package/lib/components/image/Image.native.d.ts +15 -0
- package/lib/components/image/index.mjs +1 -1
- package/lib/components/image/index.native.d.ts +4 -0
- package/lib/components/index.mjs +1 -1
- package/lib/components/index.native.d.ts +49 -0
- package/lib/components/input/Input.mjs +1 -1
- package/lib/components/input/Input.native.d.ts +37 -0
- package/lib/components/input/gauge/InputGauge.mjs +1 -1
- package/lib/components/input/gauge/InputGauge.native.d.ts +7 -0
- package/lib/components/input/gauge/hook/useGauge.mjs +1 -1
- package/lib/components/input/index.mjs +1 -1
- package/lib/components/input/index.native.d.ts +4 -0
- package/lib/components/link/Link.mjs +1 -1
- package/lib/components/link/Link.native.d.ts +16 -0
- package/lib/components/link/index.mjs +1 -1
- package/lib/components/link/index.native.d.ts +2 -0
- package/lib/components/list/List.native.d.ts +11 -0
- package/lib/components/list/index.mjs +1 -1
- package/lib/components/list/index.native.d.ts +4 -0
- package/lib/components/list/item/ListItem.mjs +1 -1
- package/lib/components/list/item/ListItem.native.d.ts +11 -0
- package/lib/components/list/item/description/ListItemDescription.mjs +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +8 -0
- package/lib/components/list/item/description/index.mjs +1 -1
- package/lib/components/list/item/description/index.native.d.ts +3 -0
- package/lib/components/list/item/index.mjs +1 -1
- package/lib/components/list/item/index.native.d.ts +4 -0
- package/lib/components/modal/Modal.mjs +1 -1
- package/lib/components/modal/Modal.native.d.ts +15 -0
- package/lib/components/modal/body/ModalBody.mjs +1 -1
- package/lib/components/modal/body/ModalBody.native.d.ts +10 -0
- package/lib/components/modal/body/index.native.d.ts +2 -0
- package/lib/components/modal/footer/ModalFooter.mjs +1 -1
- package/lib/components/modal/footer/ModalFooter.native.d.ts +9 -0
- package/lib/components/modal/footer/index.native.d.ts +2 -0
- package/lib/components/modal/index.mjs +1 -1
- package/lib/components/modal/index.native.d.ts +5 -0
- package/lib/components/otp/Otp.native.d.ts +17 -0
- package/lib/components/otp/index.native.d.ts +3 -0
- package/lib/components/pagination/Pagination.mjs +1 -1
- package/lib/components/pagination/Pagination.native.d.ts +12 -0
- package/lib/components/pagination/index.mjs +1 -1
- package/lib/components/pagination/index.native.d.ts +4 -0
- package/lib/components/popover/Popover.native.d.ts +12 -0
- package/lib/components/popover/index.native.d.ts +4 -0
- package/lib/components/price/Price.mjs +1 -1
- package/lib/components/price/Price.native.d.ts +21 -0
- package/lib/components/price/index.mjs +1 -1
- package/lib/components/price/index.native.d.ts +4 -0
- package/lib/components/product-tour/ProductTour.mjs +1 -1
- package/lib/components/product-tour/ProductTour.native.d.ts +9 -0
- package/lib/components/product-tour/index.mjs +1 -1
- package/lib/components/product-tour/index.native.d.ts +3 -0
- package/lib/components/progress/Progress.mjs +1 -1
- package/lib/components/progress/Progress.native.d.ts +13 -0
- package/lib/components/progress/index.mjs +1 -1
- package/lib/components/progress/index.native.d.ts +4 -0
- package/lib/components/progress/item/ProgressItem.mjs +1 -1
- package/lib/components/progress/item/ProgressItem.native.d.ts +12 -0
- package/lib/components/progress/item/index.mjs +1 -1
- package/lib/components/progress/radial/ProgressRadial.mjs +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +17 -0
- package/lib/components/progress/radial/index.mjs +1 -1
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +1 -1
- package/lib/components/progress/radial/item/index.mjs +1 -1
- package/lib/components/radio/Radio.native.d.ts +16 -0
- package/lib/components/radio/index.mjs +1 -1
- package/lib/components/radio/index.native.d.ts +6 -0
- package/lib/components/radio/list/RadioList.mjs +1 -1
- package/lib/components/radio/list/RadioList.native.d.ts +9 -0
- package/lib/components/radio/list/index.mjs +1 -1
- package/lib/components/radio/list/index.native.d.ts +2 -0
- package/lib/components/radio/tiles/RadioTiles.mjs +1 -1
- package/lib/components/radio/tiles/RadioTiles.native.d.ts +12 -0
- package/lib/components/radio/tiles/index.mjs +1 -1
- package/lib/components/radio/tiles/index.native.d.ts +2 -0
- package/lib/components/radio/tiles/tile/RadioTile.mjs +1 -1
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +20 -0
- package/lib/components/radio/tiles/tile/index.mjs +1 -1
- package/lib/components/radio/tiles/tile/index.native.d.ts +2 -0
- package/lib/components/range/Range.mjs +1 -1
- package/lib/components/range/Range.native.d.ts +16 -0
- package/lib/components/range/index.mjs +1 -1
- package/lib/components/range/index.native.d.ts +2 -0
- package/lib/components/rows/Rows.mjs +1 -1
- package/lib/components/rows/Rows.native.d.ts +10 -0
- package/lib/components/rows/index.mjs +1 -1
- package/lib/components/rows/index.native.d.ts +3 -0
- package/lib/components/rows/row/Row.mjs +1 -1
- package/lib/components/rows/row/Row.native.d.ts +10 -0
- package/lib/components/rows/row/index.mjs +1 -1
- package/lib/components/rows/row/index.native.d.ts +2 -0
- package/lib/components/scroll-view/ScrollView.mjs +1 -1
- package/lib/components/scroll-view/ScrollView.native.d.ts +5 -0
- package/lib/components/scroll-view/index.mjs +1 -1
- package/lib/components/scroll-view/index.native.d.ts +3 -0
- package/lib/components/section/Section.mjs +1 -1
- package/lib/components/section/Section.native.d.ts +12 -0
- package/lib/components/section/index.mjs +1 -1
- package/lib/components/section/index.native.d.ts +2 -0
- package/lib/components/segment-control/SegmentControl.mjs +1 -1
- package/lib/components/segment-control/SegmentControl.native.d.ts +11 -0
- package/lib/components/segment-control/index.mjs +1 -1
- package/lib/components/segment-control/index.native.d.ts +4 -0
- package/lib/components/segment-control/item/SegmentControlItem.mjs +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +13 -0
- package/lib/components/segment-control/item/index.mjs +1 -1
- package/lib/components/segment-control/item/index.native.d.ts +2 -0
- package/lib/components/select/Select.mjs +1 -1
- package/lib/components/select/Select.native.d.ts +17 -0
- package/lib/components/select/index.mjs +1 -1
- package/lib/components/select/index.native.d.ts +5 -0
- package/lib/components/select/option/SelectOption.mjs +1 -1
- package/lib/components/select/option/SelectOption.native.d.ts +11 -0
- package/lib/components/select/option/index.mjs +1 -1
- package/lib/components/select/option/index.native.d.ts +2 -0
- package/lib/components/select/web/SelectDynamic.mjs +1 -1
- package/lib/components/select/web/SelectNative.mjs +1 -1
- package/lib/components/select/web/index.mjs +1 -1
- package/lib/components/spacer/Spacer.native.d.ts +10 -0
- package/lib/components/spacer/index.native.d.ts +4 -0
- package/lib/components/stepper/Stepper.mjs +1 -1
- package/lib/components/stepper/Stepper.native.d.ts +10 -0
- package/lib/components/stepper/index.mjs +1 -1
- package/lib/components/stepper/index.native.d.ts +5 -0
- package/lib/components/stepper/step/Step.mjs +1 -1
- package/lib/components/stepper/step/Step.native.d.ts +12 -0
- package/lib/components/stepper/step/index.mjs +1 -1
- package/lib/components/stepper/step/index.native.d.ts +2 -0
- package/lib/components/sticker/Sticker.mjs +1 -1
- package/lib/components/sticker/Sticker.native.d.ts +15 -0
- package/lib/components/sticker/index.mjs +1 -1
- package/lib/components/sticker/index.native.d.ts +2 -0
- package/lib/components/styleComponent/default/styleComponent.native.d.ts +5 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +5 -0
- package/lib/components/switch/Switch.mjs +1 -1
- package/lib/components/switch/Switch.native.d.ts +15 -0
- package/lib/components/switch/index.mjs +1 -1
- package/lib/components/switch/index.native.d.ts +2 -0
- package/lib/components/table/Table.native.d.ts +10 -0
- package/lib/components/table/body/TableBody.native.d.ts +9 -0
- package/lib/components/table/body/index.native.d.ts +2 -0
- package/lib/components/table/head/TableHead.native.d.ts +9 -0
- package/lib/components/table/head/index.native.d.ts +2 -0
- package/lib/components/table/index.native.d.ts +8 -0
- package/lib/components/table/td/TableTd.native.d.ts +9 -0
- package/lib/components/table/td/index.native.d.ts +2 -0
- package/lib/components/table/th/TableTh.native.d.ts +8 -0
- package/lib/components/table/th/index.native.d.ts +2 -0
- package/lib/components/table/tr/TableTr.native.d.ts +10 -0
- package/lib/components/table/tr/index.native.d.ts +2 -0
- package/lib/components/tabs/Tabs.native.d.ts +11 -0
- package/lib/components/tabs/index.mjs +1 -1
- package/lib/components/tabs/index.native.d.ts +6 -0
- package/lib/components/tabs/tab-list/TabList.mjs +1 -1
- package/lib/components/tabs/tab-list/TabList.native.d.ts +14 -0
- package/lib/components/tabs/tab-list/index.mjs +1 -1
- package/lib/components/tabs/tab-list/index.native.d.ts +2 -0
- package/lib/components/tabs/tab-list/tab/Tab.mjs +1 -1
- package/lib/components/tabs/tab-list/tab/Tab.native.d.ts +16 -0
- package/lib/components/tabs/tab-list/tab/index.mjs +1 -1
- package/lib/components/tabs/tab-list/tab/index.native.d.ts +2 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.d.ts +13 -0
- package/lib/components/tabs/tab-panels/index.native.d.ts +2 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.ts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.native.d.ts +2 -0
- package/lib/components/tag/Tag.mjs +1 -1
- package/lib/components/tag/Tag.native.d.ts +14 -0
- package/lib/components/tag/index.mjs +1 -1
- package/lib/components/tag/index.native.d.ts +5 -0
- package/lib/components/tag/list/TagList.mjs +1 -1
- package/lib/components/tag/list/TagList.native.d.ts +10 -0
- package/lib/components/tag/list/index.mjs +1 -1
- package/lib/components/tag/list/index.native.d.ts +2 -0
- package/lib/components/text/Text.native.d.ts +17 -0
- package/lib/components/text/index.native.d.ts +4 -0
- package/lib/components/textarea/Textarea.mjs +1 -1
- package/lib/components/textarea/Textarea.native.d.ts +33 -0
- package/lib/components/textarea/index.mjs +1 -1
- package/lib/components/textarea/index.native.d.ts +2 -0
- package/lib/components/timeline/Timeline.mjs +1 -1
- package/lib/components/timeline/Timeline.native.d.ts +15 -0
- package/lib/components/timeline/content/TimelineContent.mjs +1 -1
- package/lib/components/timeline/content/TimelineContent.native.d.ts +13 -0
- package/lib/components/timeline/content/index.mjs +1 -1
- package/lib/components/timeline/content/index.native.d.ts +3 -0
- package/lib/components/timeline/index.mjs +1 -1
- package/lib/components/timeline/index.native.d.ts +5 -0
- package/lib/components/timeline/item/TimelineItem.mjs +1 -1
- package/lib/components/timeline/item/TimelineItem.native.d.ts +18 -0
- package/lib/components/timeline/item/index.mjs +1 -1
- package/lib/components/timeline/item/index.native.d.ts +3 -0
- package/lib/components/timeline/marker/TimelineMarker.mjs +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +11 -0
- package/lib/components/timeline/marker/index.mjs +1 -1
- package/lib/components/timeline/marker/index.native.d.ts +3 -0
- package/lib/components/title/Title.native.d.ts +19 -0
- package/lib/components/title/index.native.d.ts +4 -0
- package/lib/components/view/View.mjs +1 -1
- package/lib/components/view/View.native.d.ts +18 -0
- package/lib/components/view/index.mjs +1 -1
- package/lib/components/view/index.native.d.ts +4 -0
- package/lib/context/index.native.d.ts +2 -0
- package/lib/context/provider/index.mjs +2 -2
- package/lib/context/provider/index.native.d.ts +4 -0
- package/lib/context/providerStyled/index.native.d.ts +4 -0
- package/lib/context/providerTheme/index.native.d.ts +18 -0
- package/lib/context/test/provider.test.js +1 -1
- package/lib/context/test/provider.test.mjs +2 -2
- package/lib/helpers/device/index.native.d.ts +19 -0
- package/lib/helpers/index.mjs +3 -3
- package/lib/helpers/index.native.d.ts +4 -0
- package/lib/index.js +1 -1
- package/lib/index.mjs +5 -5
- package/lib/index.native.d.ts +6 -0
- package/lib/objects/Typography/TypographyBold/index.native.d.ts +24 -0
- package/lib/objects/Typography/TypographyColor/index.native.d.ts +24 -0
- package/lib/objects/Typography/index.native.d.ts +4 -0
- package/lib/objects/facets/Color/index.native.d.ts +50 -0
- package/lib/objects/facets/Status/index.mjs +1 -1
- package/lib/objects/facets/Status/index.native.d.ts +63 -0
- package/lib/objects/facets/Variant/index.native.d.ts +27 -0
- package/lib/objects/facets/index.mjs +1 -1
- package/lib/objects/facets/index.native.d.ts +30 -0
- package/lib/objects/index.mjs +1 -1
- package/lib/objects/index.native.d.ts +3 -0
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typo color
|
|
3
|
+
*/
|
|
4
|
+
export declare enum TypographyColor {
|
|
5
|
+
TEXT_MAIN = "has-text-main",
|
|
6
|
+
TEXT_ACCENT = "has-text-accent",
|
|
7
|
+
TEXT_INFO = "has-text-info",
|
|
8
|
+
TEXT_SUCCESS = "has-text-success",
|
|
9
|
+
TEXT_WARNING = "has-text-warning",
|
|
10
|
+
TEXT_ERROR = "has-text-error",
|
|
11
|
+
TEXT_NEUTRAL = "has-text-grey",
|
|
12
|
+
TEXT_WHITE = "has-text-white",
|
|
13
|
+
TEXT_DISABLED = "has-text-disabled"
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Typo color values
|
|
17
|
+
*/
|
|
18
|
+
export type TypographyColorValues = `${TypographyColor}`;
|
|
19
|
+
/**
|
|
20
|
+
* Typography Color Method (TYPO)
|
|
21
|
+
* @param typo {String} TypographyColor
|
|
22
|
+
* @param inverted {Boolean} Inverted color if isset default : false
|
|
23
|
+
*/
|
|
24
|
+
export declare const setTypographyColor: (typo?: Array<string> | string, inverted?: boolean, loading?: boolean) => string;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trilogy color
|
|
3
|
+
*/
|
|
4
|
+
export declare enum TrilogyColor {
|
|
5
|
+
BACKGROUND = "WHITE",
|
|
6
|
+
MAIN = "MAIN",
|
|
7
|
+
MAIN_FADE = "MAIN_FADE",
|
|
8
|
+
ACCENT = "ACCENT",
|
|
9
|
+
FONT = "FONT",
|
|
10
|
+
FONT_PLACEHOLDER = "FONT_PLACEHOLDER",
|
|
11
|
+
SUCCESS = "SUCCESS",
|
|
12
|
+
SUCCESS_FADE = "SUCCESS_FADE",
|
|
13
|
+
INFO = "INFO",
|
|
14
|
+
INFO_FADE = "INFO_FADE",
|
|
15
|
+
WARNING = "WARNING",
|
|
16
|
+
WARNING_FADE = "WARNING_FADE",
|
|
17
|
+
ERROR = "ERROR",
|
|
18
|
+
ERROR_FADE = "ERROR_FADE",
|
|
19
|
+
DISABLED = "DISABLED",
|
|
20
|
+
DISABLED_FADE = "DISABLED_FADE",
|
|
21
|
+
NEUTRAL = "NEUTRAL",
|
|
22
|
+
NEUTRAL_FADE = "NEUTRAL_FADE",
|
|
23
|
+
STROKE = "STROKE"
|
|
24
|
+
}
|
|
25
|
+
export type TrilogyColorValues = `${TrilogyColor}`;
|
|
26
|
+
/**
|
|
27
|
+
* Trilogy color values
|
|
28
|
+
*/
|
|
29
|
+
export declare const colors: Record<TrilogyColor, string[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Returns color's className depending on Trilogy Color
|
|
32
|
+
* @param trilogyColor {string} - Trilogy Color
|
|
33
|
+
* @returns {string} - Color className value
|
|
34
|
+
*/
|
|
35
|
+
export declare const getColorClassName: (trilogyColor: TrilogyColor | TrilogyColorValues) => string;
|
|
36
|
+
/**
|
|
37
|
+
* Returns color button's className depending on Trilogy Color
|
|
38
|
+
* @param trilogyColor {string} - Trilogy Color
|
|
39
|
+
* @returns {string} - Variant Button value
|
|
40
|
+
*/
|
|
41
|
+
export declare const getButtonVariantClassName: (trilogyColor?: string) => string;
|
|
42
|
+
export declare const getButtonColorStyle: (buttonVariant?: string) => TrilogyColor;
|
|
43
|
+
/**
|
|
44
|
+
* Returns color's style depending on Trilogy Color
|
|
45
|
+
* @param trilogyColor {string} - Trilogy Color
|
|
46
|
+
* @param index {number} - Index of color ( 1 for BG )
|
|
47
|
+
* @returns {string} - Color style value
|
|
48
|
+
*/
|
|
49
|
+
export declare const getColorStyle: (trilogyColor: TrilogyColor | TrilogyColorValues | "transparent") => string;
|
|
50
|
+
export declare function grayscale(hex: string): string;
|
|
@@ -13,9 +13,9 @@ import "../../../chunk-WC3ULY5W.mjs";
|
|
|
13
13
|
import "../../../chunk-JOSZ4COK.mjs";
|
|
14
14
|
import "../../../chunk-P372ZF3A.mjs";
|
|
15
15
|
import "../../../chunk-Y7CEUBIZ.mjs";
|
|
16
|
-
import "../../../chunk-ODKCJMCG.mjs";
|
|
17
16
|
import "../../../chunk-HU3FAWMX.mjs";
|
|
18
17
|
import "../../../chunk-OGATDHMZ.mjs";
|
|
18
|
+
import "../../../chunk-ODKCJMCG.mjs";
|
|
19
19
|
import "../../../chunk-SWVRRUW7.mjs";
|
|
20
20
|
import "../../../chunk-UFMRE754.mjs";
|
|
21
21
|
import "../../../chunk-4UHBBNZ7.mjs";
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { IconName, IconNameValues } from '../../../components/icon';
|
|
2
|
+
import { TrilogyColor } from '../Color/index.native';
|
|
3
|
+
/**
|
|
4
|
+
* Alert State
|
|
5
|
+
*/
|
|
6
|
+
export declare enum StatusState {
|
|
7
|
+
SUCCESS = "SUCCESS",
|
|
8
|
+
INFO = "INFO",
|
|
9
|
+
WARNING = "WARNING",
|
|
10
|
+
ERROR = "ERROR"
|
|
11
|
+
}
|
|
12
|
+
export type StatusStateValues = `${StatusState}`;
|
|
13
|
+
/**
|
|
14
|
+
* Alert props
|
|
15
|
+
*/
|
|
16
|
+
export interface StatusProps {
|
|
17
|
+
status?: StatusState | StatusStateValues;
|
|
18
|
+
id?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns alert's classname depending on alert type
|
|
22
|
+
* @param statusType {string} - Alert type
|
|
23
|
+
* @returns {string} - Alert value
|
|
24
|
+
*/
|
|
25
|
+
export declare const getStatusClassName: (statusType?: string) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Returns status style depending on alert type
|
|
28
|
+
* @param statusType {string} - Alert type
|
|
29
|
+
* @returns { color: string, backgroundColor: string} - color and background color value
|
|
30
|
+
*/
|
|
31
|
+
declare const STATUS_COLORS: {
|
|
32
|
+
SUCCESS: {
|
|
33
|
+
color: TrilogyColor;
|
|
34
|
+
backgroundColor: TrilogyColor;
|
|
35
|
+
};
|
|
36
|
+
INFO: {
|
|
37
|
+
color: TrilogyColor;
|
|
38
|
+
backgroundColor: TrilogyColor;
|
|
39
|
+
};
|
|
40
|
+
WARNING: {
|
|
41
|
+
color: TrilogyColor;
|
|
42
|
+
backgroundColor: TrilogyColor;
|
|
43
|
+
};
|
|
44
|
+
ERROR: {
|
|
45
|
+
color: TrilogyColor;
|
|
46
|
+
backgroundColor: TrilogyColor;
|
|
47
|
+
};
|
|
48
|
+
DEFAULT: {
|
|
49
|
+
color: TrilogyColor;
|
|
50
|
+
backgroundColor: TrilogyColor;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare const getStatusStyle: (statusType?: keyof typeof STATUS_COLORS) => {
|
|
54
|
+
color: string;
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Returns status icon name depending on alert type
|
|
59
|
+
* @param statusType {string} - Alert type
|
|
60
|
+
* @returns {string} - Alert value
|
|
61
|
+
*/
|
|
62
|
+
export declare const getStatusIconName: (statusType?: string) => IconName | IconNameValues;
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Variant State
|
|
3
|
+
*/
|
|
4
|
+
export declare enum VariantState {
|
|
5
|
+
MAIN = "MAIN",
|
|
6
|
+
ACCENT = "ACCENT",
|
|
7
|
+
INFO = "INFO"
|
|
8
|
+
}
|
|
9
|
+
export type VariantStateValues = `${VariantState}`;
|
|
10
|
+
/**
|
|
11
|
+
* Variant props
|
|
12
|
+
*/
|
|
13
|
+
export interface VariantProps {
|
|
14
|
+
variant?: VariantState | VariantStateValues;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Returns variant's classname depending on variant type
|
|
18
|
+
* @param variantType {string} - VariantType
|
|
19
|
+
* @returns {string} - Variant value
|
|
20
|
+
*/
|
|
21
|
+
export declare const getVariantClassName: (variantType?: string) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Returns variant's style depending on variant type
|
|
24
|
+
* @param variantType {string} - VariantType
|
|
25
|
+
* @returns {string} - Variant value
|
|
26
|
+
*/
|
|
27
|
+
export declare const getVariantStyle: (variantType?: string) => string;
|
|
@@ -74,9 +74,9 @@ import {
|
|
|
74
74
|
} from "../../chunk-JOSZ4COK.mjs";
|
|
75
75
|
import "../../chunk-P372ZF3A.mjs";
|
|
76
76
|
import "../../chunk-Y7CEUBIZ.mjs";
|
|
77
|
-
import "../../chunk-ODKCJMCG.mjs";
|
|
78
77
|
import "../../chunk-HU3FAWMX.mjs";
|
|
79
78
|
import "../../chunk-OGATDHMZ.mjs";
|
|
79
|
+
import "../../chunk-ODKCJMCG.mjs";
|
|
80
80
|
import "../../chunk-SWVRRUW7.mjs";
|
|
81
81
|
import "../../chunk-UFMRE754.mjs";
|
|
82
82
|
import "../../chunk-4UHBBNZ7.mjs";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export * from './Accessibility';
|
|
2
|
+
export * from './Alignable';
|
|
3
|
+
export * from './Alternate';
|
|
4
|
+
export * from './Centerable';
|
|
5
|
+
export * from './ChildrenWithNoText';
|
|
6
|
+
export * from './Clickable';
|
|
7
|
+
export * from './Clipped';
|
|
8
|
+
export * from './Color/index.native';
|
|
9
|
+
export * from './Dev';
|
|
10
|
+
export * from './Direction';
|
|
11
|
+
export * from './Fullheight';
|
|
12
|
+
export * from './Fullwidth';
|
|
13
|
+
export * from './Hat';
|
|
14
|
+
export * from './Hidden';
|
|
15
|
+
export * from './Invertable';
|
|
16
|
+
export * from './Justifiable';
|
|
17
|
+
export * from './Layout';
|
|
18
|
+
export * from './Loadable';
|
|
19
|
+
export * from './Marginless';
|
|
20
|
+
export * from './Narrow';
|
|
21
|
+
export * from './Paddingless';
|
|
22
|
+
export * from './Position';
|
|
23
|
+
export * from './Referenceable';
|
|
24
|
+
export * from './ScrollDirection';
|
|
25
|
+
export * from './Small';
|
|
26
|
+
export * from './Stacked';
|
|
27
|
+
export * from './Status';
|
|
28
|
+
export * from './Sticky';
|
|
29
|
+
export * from './Variant';
|
|
30
|
+
export * from './VerticalPaddingless';
|
package/lib/objects/index.mjs
CHANGED
|
@@ -98,9 +98,9 @@ import {
|
|
|
98
98
|
} from "../chunk-JOSZ4COK.mjs";
|
|
99
99
|
import "../chunk-P372ZF3A.mjs";
|
|
100
100
|
import "../chunk-Y7CEUBIZ.mjs";
|
|
101
|
-
import "../chunk-ODKCJMCG.mjs";
|
|
102
101
|
import "../chunk-HU3FAWMX.mjs";
|
|
103
102
|
import "../chunk-OGATDHMZ.mjs";
|
|
103
|
+
import "../chunk-ODKCJMCG.mjs";
|
|
104
104
|
import "../chunk-SWVRRUW7.mjs";
|
|
105
105
|
import "../chunk-UFMRE754.mjs";
|
|
106
106
|
import "../chunk-4UHBBNZ7.mjs";
|
package/lib/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.8-esm-cjs";
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.8-esm-cjs";
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "0.0.
|
|
1
|
+
export const version = "0.0.8-esm-cjs";
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHLGVBQWUsQ0FBQSJ9
|
package/lib/version.mjs
CHANGED