@gobolt/genesis 0.3.26 → 0.3.28
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/README.md +1 -1
- package/dist/bundle.css +1205 -0
- package/dist/components/Avatar/Avatar.d.ts +16 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/{TableWithControls/components/Tooltip → Avatar}/styles.d.ts +1 -1
- package/dist/components/Badge/index.d.ts +2 -2
- package/dist/components/Badge/styles.d.ts +3 -12
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/components/Breadcrumb/index.d.ts +4 -0
- package/dist/components/Breadcrumb/styles.d.ts +5 -0
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/IconButton.d.ts +1 -1
- package/dist/components/Button/icon-button-styles.d.ts +1 -12
- package/dist/components/Button/index.d.ts +4 -4
- package/dist/components/Button/styles.d.ts +1 -16
- package/dist/components/Card/Card.d.ts +9 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/styles.d.ts +6 -0
- package/dist/components/Chat/Chat.d.ts +18 -0
- package/dist/components/Chat/Message.d.ts +8 -0
- package/dist/components/Chat/index.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/styles.d.ts +10 -0
- package/dist/components/DatePicker/DatePicker.d.ts +4 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +4 -0
- package/dist/components/DateRangePicker/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
- package/dist/components/ErrorBoundary/index.d.ts +2 -0
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +8 -0
- package/dist/components/ErrorBoundaryFallback/index.d.ts +2 -0
- package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -0
- package/dist/components/Form/Form.d.ts +25 -0
- package/dist/components/Form/index.d.ts +2 -0
- package/dist/components/Form/styles.d.ts +2 -0
- package/dist/components/Glyph/custom/UnitNumber.d.ts +5 -0
- package/dist/components/Input/Input.d.ts +4 -4
- package/dist/components/Input/index.d.ts +2 -2
- package/dist/components/Input/styles.d.ts +1 -18
- package/dist/components/Insights/BarChart/BarChart.d.ts +31 -0
- package/dist/components/Insights/BarChart/index.d.ts +2 -0
- package/dist/components/Insights/BarChart/styles.d.ts +2 -0
- package/dist/components/Insights/DonutChart/DonutChart.d.ts +19 -0
- package/dist/components/Insights/DonutChart/index.d.ts +2 -0
- package/dist/components/Insights/DonutChart/styles.d.ts +2 -0
- package/dist/components/Insights/LineChart/LineChart.d.ts +23 -0
- package/dist/components/Insights/LineChart/index.d.ts +2 -0
- package/dist/components/Insights/LineChart/styles.d.ts +2 -0
- package/dist/components/Insights/common-settings.d.ts +75 -0
- package/dist/components/Insights/index.d.ts +6 -0
- package/dist/components/Layout/Content/Content.d.ts +10 -0
- package/dist/components/Layout/Content/index.d.ts +2 -0
- package/dist/components/Layout/Content/styles.d.ts +4 -0
- package/dist/components/Layout/Layout.d.ts +8 -0
- package/dist/components/Layout/index.d.ts +2 -0
- package/dist/components/Message/Message.d.ts +14 -0
- package/dist/components/Message/index.d.ts +2 -0
- package/dist/components/Message/styles.d.ts +3 -0
- package/dist/components/Notification/Notification.d.ts +17 -0
- package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
- package/dist/components/Notification/NotificationBadge/icons/ASN.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/Appointment.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/Inventory.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/Parcel.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/Product.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/Route.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/Shipment.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/icons/System.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
- package/dist/components/Notification/NotificationRightChevron.d.ts +2 -0
- package/dist/components/Notification/index.d.ts +2 -0
- package/dist/components/Notification/styles.d.ts +5 -0
- package/dist/components/Popover/Popover.d.ts +10 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/styles.d.ts +2 -0
- package/dist/components/Progress/Progress.d.ts +18 -0
- package/dist/components/Progress/Progress.util.d.ts +3 -0
- package/dist/components/Progress/ProgressText.d.ts +10 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/Progress/styles.d.ts +4 -0
- package/dist/components/Radio/Radio.d.ts +10 -0
- package/dist/components/Radio/RadioGroup.d.ts +12 -0
- package/dist/components/Radio/index.d.ts +4 -0
- package/dist/components/Radio/states/RadioChecked.d.ts +2 -0
- package/dist/components/Radio/states/RadioCheckedDisabled.d.ts +2 -0
- package/dist/components/Radio/states/RadioCheckedFocussed.d.ts +2 -0
- package/dist/components/Radio/states/RadioCheckedHover.d.ts +2 -0
- package/dist/components/Radio/states/RadioUnchecked.d.ts +2 -0
- package/dist/components/Radio/states/RadioUncheckedDisabled.d.ts +2 -0
- package/dist/components/Radio/states/RadioUncheckedFocussed.d.ts +2 -0
- package/dist/components/Radio/states/RadioUncheckedHover.d.ts +2 -0
- package/dist/components/Row/Row.d.ts +13 -0
- package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
- package/dist/components/Row/RowActions/styles.d.ts +1 -0
- package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +10 -0
- package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
- package/dist/components/Row/RowLabelValue/styles.d.ts +5 -0
- package/dist/components/Row/index.d.ts +2 -0
- package/dist/components/Row/styles.d.ts +6 -0
- package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
- package/dist/components/SegmentedControls/index.d.ts +2 -0
- package/dist/components/SegmentedControls/styles.d.ts +3 -0
- package/dist/components/Select/Select.d.ts +4 -4
- package/dist/components/Select/SelectTrigger.d.ts +3 -3
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Shapes/Shapes.d.ts +6 -0
- package/dist/components/Shapes/index.d.ts +2 -0
- package/dist/components/Shapes/variants/Circle.d.ts +5 -0
- package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
- package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/styles.d.ts +2 -0
- package/dist/components/Table/Table.d.ts +3 -4
- package/dist/components/Table/TableControls/CustomPagination.d.ts +2 -2
- package/dist/components/Table/TableControls/PaginationNumber.d.ts +1 -1
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.d.ts +4 -2
- package/dist/components/Table/TableControls/SecondaryTableControlsRow.d.ts +1 -1
- package/dist/components/Table/TableControls/TableControls.d.ts +3 -3
- package/dist/components/Table/TableControls/index.d.ts +2 -2
- package/dist/components/Table/TablePagination.d.ts +2 -2
- package/dist/components/Table/__mocks__/table-mocks.d.ts +1 -1
- package/dist/components/Table/index.d.ts +6 -6
- package/dist/components/Table/styles.d.ts +3 -17
- package/dist/components/Table/useTable.d.ts +6 -2
- package/dist/components/TableWithControls/TableWithControls.d.ts +2 -2
- package/dist/components/TableWithControls/index.d.ts +3 -3
- package/dist/components/TableWithControls/useTableWithControls.d.ts +7 -5
- package/dist/components/Tabs/Tabs.d.ts +50 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/styles.d.ts +3 -0
- package/dist/components/Tile/Tile.d.ts +10 -0
- package/dist/components/Tile/index.d.ts +2 -0
- package/dist/components/Tile/styles.d.ts +4 -0
- package/dist/components/Toast/Toast.d.ts +13 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toast/styles.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.d.ts +6 -1
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/Tooltip/styles.d.ts +1 -14
- package/dist/components/Typography/Typography.d.ts +2 -2
- package/dist/components/Typography/index.d.ts +2 -2
- package/dist/components/Typography/styles.d.ts +3 -21
- package/dist/components/UtilityButton/UtilityButton.d.ts +1 -1
- package/dist/components/UtilityButton/index.d.ts +2 -2
- package/dist/components/index.d.ts +74 -7
- package/dist/index.cjs +84795 -0
- package/dist/index.d.ts +6 -10
- package/dist/index.js +84778 -9
- package/dist/providers/BreakpointProvider.d.ts +7 -0
- package/dist/providers/GenesisProvider.d.ts +7 -0
- package/dist/providers/ToastProvider.d.ts +12 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/useGenesis.d.ts +7 -0
- package/dist/styles/global-styles.d.ts +1 -0
- package/dist/styles/theme/genesis-theme.d.ts +1 -79
- package/dist/styles/theme/index.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/utils/user-util.d.ts +2 -0
- package/package.json +25 -31
- package/dist/components/Badge/Badge.js +0 -51
- package/dist/components/Badge/index.js +0 -1
- package/dist/components/Badge/styles.js +0 -21
- package/dist/components/Button/Button.js +0 -36
- package/dist/components/Button/IconButton.js +0 -32
- package/dist/components/Button/__stories__/Button.stories.d.ts +0 -12
- package/dist/components/Button/__stories__/Button.stories.js +0 -154
- package/dist/components/Button/__stories__/IconButton.stories.d.ts +0 -8
- package/dist/components/Button/__stories__/IconButton.stories.js +0 -133
- package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +0 -8
- package/dist/components/Button/__stories__/UtilityButton.stories.js +0 -71
- package/dist/components/Button/__tests__/Button.test.js +0 -19
- package/dist/components/Button/components/Button/Button.d.ts +0 -16
- package/dist/components/Button/components/Button/Button.js +0 -13
- package/dist/components/Button/components/Button/styles.d.ts +0 -1
- package/dist/components/Button/components/Button/styles.js +0 -118
- package/dist/components/Button/constants/index.d.ts +0 -163
- package/dist/components/Button/constants/index.js +0 -89
- package/dist/components/Button/icon-button-styles.js +0 -23
- package/dist/components/Button/index.js +0 -2
- package/dist/components/Button/styles.js +0 -60
- package/dist/components/Button/styles.ts +0 -176
- package/dist/components/Input/Input.js +0 -57
- package/dist/components/Input/index.js +0 -1
- package/dist/components/Input/styles.js +0 -76
- package/dist/components/Select/Select.js +0 -199
- package/dist/components/Select/SelectTrigger.js +0 -89
- package/dist/components/Select/index.js +0 -1
- package/dist/components/Table/Table/Table.d.ts +0 -51
- package/dist/components/Table/Table/Table.js +0 -14
- package/dist/components/Table/Table/TableControls/CustomPagination.d.ts +0 -13
- package/dist/components/Table/Table/TableControls/CustomPagination.js +0 -158
- package/dist/components/Table/Table/TableControls/PaginationNumber.d.ts +0 -7
- package/dist/components/Table/Table/TableControls/PaginationNumber.js +0 -30
- package/dist/components/Table/Table/styles.d.ts +0 -14
- package/dist/components/Table/Table/styles.js +0 -64
- package/dist/components/Table/Table/useTable.d.ts +0 -26
- package/dist/components/Table/Table/useTable.js +0 -141
- package/dist/components/Table/Table.js +0 -33
- package/dist/components/Table/TableControls/CustomPagination.js +0 -174
- package/dist/components/Table/TableControls/PaginationNumber.js +0 -46
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.js +0 -78
- package/dist/components/Table/TableControls/SecondaryTableControlsRow.js +0 -65
- package/dist/components/Table/TableControls/TableControls.js +0 -14
- package/dist/components/Table/TableControls/TableControls.tsx +0 -51
- package/dist/components/Table/TableControls/__stories__/CustomPaginationStandalone.stories.d.ts +0 -9
- package/dist/components/Table/TableControls/__stories__/CustomPaginationStandalone.stories.js +0 -58
- package/dist/components/Table/TableControls/__stories__/PaginationNumber.stories.d.ts +0 -7
- package/dist/components/Table/TableControls/__stories__/PaginationNumber.stories.js +0 -37
- package/dist/components/Table/TableControls/__stories__/TableControls.stories.d.ts +0 -6
- package/dist/components/Table/TableControls/__stories__/TableControls.stories.js +0 -106
- package/dist/components/Table/TableControls/__tests__/CustomPagination.test.d.ts +0 -1
- package/dist/components/Table/TableControls/__tests__/CustomPagination.test.js +0 -82
- package/dist/components/Table/TableControls/__tests__/TableControls.test.d.ts +0 -1
- package/dist/components/Table/TableControls/__tests__/TableControls.test.js +0 -74
- package/dist/components/Table/TableControls/index.js +0 -1
- package/dist/components/Table/TableControls/styles.d.ts +0 -13
- package/dist/components/Table/TableControls/styles.js +0 -16
- package/dist/components/Table/TablePagination.js +0 -28
- package/dist/components/Table/Typography/Typography.d.ts +0 -17
- package/dist/components/Table/Typography/Typography.js +0 -16
- package/dist/components/Table/Typography/index.d.ts +0 -2
- package/dist/components/Table/Typography/index.js +0 -1
- package/dist/components/Table/Typography/styles.d.ts +0 -3
- package/dist/components/Table/Typography/styles.js +0 -54
- package/dist/components/Table/__mocks__/table-mocks.js +0 -310
- package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +0 -5
- package/dist/components/Table/__stories__/GenesisTable.stories.js +0 -23
- package/dist/components/Table/__stories__/Table.stories.d.ts +0 -8
- package/dist/components/Table/__stories__/Table.stories.js +0 -188
- package/dist/components/Table/__tests__/table.test.d.ts +0 -1
- package/dist/components/Table/__tests__/table.test.js +0 -47
- package/dist/components/Table/index.js +0 -3
- package/dist/components/Table/styles.js +0 -20
- package/dist/components/Table/useTable.js +0 -238
- package/dist/components/TableWithControls/TableWithControls.js +0 -21
- package/dist/components/TableWithControls/__stories__/TableWithControls.stories.d.ts +0 -6
- package/dist/components/TableWithControls/__stories__/TableWithControls.stories.js +0 -178
- package/dist/components/TableWithControls/__stories__/TableWithControlsStory.d.ts +0 -1
- package/dist/components/TableWithControls/__stories__/TableWithControlsStory.js +0 -55
- package/dist/components/TableWithControls/__tests__/TableWithControls.test.d.ts +0 -1
- package/dist/components/TableWithControls/__tests__/TableWithControls.test.js +0 -41
- package/dist/components/TableWithControls/components/Badge/Badge.d.ts +0 -16
- package/dist/components/TableWithControls/components/Badge/Badge.js +0 -28
- package/dist/components/TableWithControls/components/Badge/index.d.ts +0 -2
- package/dist/components/TableWithControls/components/Badge/index.js +0 -1
- package/dist/components/TableWithControls/components/Badge/styles.d.ts +0 -4
- package/dist/components/TableWithControls/components/Badge/styles.js +0 -46
- package/dist/components/TableWithControls/components/Button/Button.d.ts +0 -16
- package/dist/components/TableWithControls/components/Button/Button.js +0 -13
- package/dist/components/TableWithControls/components/Button/IconButton.d.ts +0 -8
- package/dist/components/TableWithControls/components/Button/IconButton.js +0 -9
- package/dist/components/TableWithControls/components/Button/icon-button-styles.d.ts +0 -1
- package/dist/components/TableWithControls/components/Button/icon-button-styles.js +0 -76
- package/dist/components/TableWithControls/components/Button/index.d.ts +0 -4
- package/dist/components/TableWithControls/components/Button/index.js +0 -2
- package/dist/components/TableWithControls/components/Button/styles.d.ts +0 -1
- package/dist/components/TableWithControls/components/Button/styles.js +0 -118
- package/dist/components/TableWithControls/components/Input/Input.d.ts +0 -13
- package/dist/components/TableWithControls/components/Input/Input.js +0 -34
- package/dist/components/TableWithControls/components/Input/index.d.ts +0 -2
- package/dist/components/TableWithControls/components/Input/index.js +0 -1
- package/dist/components/TableWithControls/components/Input/styles.d.ts +0 -1
- package/dist/components/TableWithControls/components/Input/styles.js +0 -180
- package/dist/components/TableWithControls/components/Select/Select.d.ts +0 -26
- package/dist/components/TableWithControls/components/Select/Select.js +0 -175
- package/dist/components/TableWithControls/components/Select/SelectTrigger.d.ts +0 -23
- package/dist/components/TableWithControls/components/Select/SelectTrigger.js +0 -103
- package/dist/components/TableWithControls/components/Select/index.d.ts +0 -2
- package/dist/components/TableWithControls/components/Select/index.js +0 -1
- package/dist/components/TableWithControls/components/Table/Table.d.ts +0 -51
- package/dist/components/TableWithControls/components/Table/Table.js +0 -14
- package/dist/components/TableWithControls/components/Table/TableControls/CustomPagination.d.ts +0 -13
- package/dist/components/TableWithControls/components/Table/TableControls/CustomPagination.js +0 -158
- package/dist/components/TableWithControls/components/Table/TableControls/PaginationNumber.d.ts +0 -7
- package/dist/components/TableWithControls/components/Table/TableControls/PaginationNumber.js +0 -30
- package/dist/components/TableWithControls/components/Table/TableControls/PrimaryTableControlsRow.d.ts +0 -18
- package/dist/components/TableWithControls/components/Table/TableControls/PrimaryTableControlsRow.js +0 -77
- package/dist/components/TableWithControls/components/Table/TableControls/SecondaryTableControlsRow.d.ts +0 -11
- package/dist/components/TableWithControls/components/Table/TableControls/SecondaryTableControlsRow.js +0 -43
- package/dist/components/TableWithControls/components/Table/TableControls/TableControls.d.ts +0 -14
- package/dist/components/TableWithControls/components/Table/TableControls/TableControls.js +0 -13
- package/dist/components/TableWithControls/components/Table/TableControls/index.d.ts +0 -2
- package/dist/components/TableWithControls/components/Table/TableControls/index.js +0 -1
- package/dist/components/TableWithControls/components/Table/TablePagination.d.ts +0 -13
- package/dist/components/TableWithControls/components/Table/TablePagination.js +0 -11
- package/dist/components/TableWithControls/components/Table/__mocks__/table-mocks.d.ts +0 -20
- package/dist/components/TableWithControls/components/Table/__mocks__/table-mocks.js +0 -301
- package/dist/components/TableWithControls/components/Table/index.d.ts +0 -6
- package/dist/components/TableWithControls/components/Table/index.js +0 -3
- package/dist/components/TableWithControls/components/Table/styles.d.ts +0 -14
- package/dist/components/TableWithControls/components/Table/styles.js +0 -64
- package/dist/components/TableWithControls/components/Table/useTable.d.ts +0 -26
- package/dist/components/TableWithControls/components/Table/useTable.js +0 -141
- package/dist/components/TableWithControls/components/TableWithControls/TableWithControls.d.ts +0 -12
- package/dist/components/TableWithControls/components/TableWithControls/TableWithControls.js +0 -20
- package/dist/components/TableWithControls/components/TableWithControls/useTableWithControls.d.ts +0 -29
- package/dist/components/TableWithControls/components/TableWithControls/useTableWithControls.js +0 -136
- package/dist/components/TableWithControls/components/Tooltip/Tooltip.d.ts +0 -7
- package/dist/components/TableWithControls/components/Tooltip/Tooltip.js +0 -8
- package/dist/components/TableWithControls/components/Tooltip/index.d.ts +0 -2
- package/dist/components/TableWithControls/components/Tooltip/index.js +0 -1
- package/dist/components/TableWithControls/components/Tooltip/styles.js +0 -26
- package/dist/components/TableWithControls/components/Typography/Typography.d.ts +0 -17
- package/dist/components/TableWithControls/components/Typography/Typography.js +0 -16
- package/dist/components/TableWithControls/components/Typography/index.d.ts +0 -2
- package/dist/components/TableWithControls/components/Typography/index.js +0 -1
- package/dist/components/TableWithControls/components/Typography/styles.d.ts +0 -3
- package/dist/components/TableWithControls/components/Typography/styles.js +0 -54
- package/dist/components/TableWithControls/components/UtilityButton/UtilityButton.d.ts +0 -5
- package/dist/components/TableWithControls/components/UtilityButton/UtilityButton.js +0 -9
- package/dist/components/TableWithControls/components/UtilityButton/index.d.ts +0 -2
- package/dist/components/TableWithControls/components/UtilityButton/index.js +0 -1
- package/dist/components/TableWithControls/components/shared/DropdownChevron.d.ts +0 -2
- package/dist/components/TableWithControls/components/shared/DropdownChevron.js +0 -7
- package/dist/components/TableWithControls/constants/index.d.ts +0 -163
- package/dist/components/TableWithControls/constants/index.js +0 -89
- package/dist/components/TableWithControls/index.js +0 -2
- package/dist/components/TableWithControls/types/events.d.ts +0 -22
- package/dist/components/TableWithControls/types/events.js +0 -1
- package/dist/components/TableWithControls/useTableWithControls.js +0 -117
- package/dist/components/TableWithControls/utils/icon-util.d.ts +0 -3
- package/dist/components/TableWithControls/utils/icon-util.js +0 -116
- package/dist/components/Tooltip/Tooltip.js +0 -9
- package/dist/components/Tooltip/index.js +0 -1
- package/dist/components/Tooltip/styles.js +0 -17
- package/dist/components/Typography/Typography.js +0 -39
- package/dist/components/Typography/index.js +0 -1
- package/dist/components/Typography/styles.js +0 -37
- package/dist/components/UtilityButton/UtilityButton.js +0 -32
- package/dist/components/UtilityButton/components/Button/Button.d.ts +0 -16
- package/dist/components/UtilityButton/components/Button/Button.js +0 -13
- package/dist/components/UtilityButton/components/Button/IconButton.d.ts +0 -8
- package/dist/components/UtilityButton/components/Button/IconButton.js +0 -9
- package/dist/components/UtilityButton/components/Button/icon-button-styles.d.ts +0 -1
- package/dist/components/UtilityButton/components/Button/icon-button-styles.js +0 -76
- package/dist/components/UtilityButton/components/Button/index.d.ts +0 -4
- package/dist/components/UtilityButton/components/Button/index.js +0 -2
- package/dist/components/UtilityButton/components/Button/styles.d.ts +0 -1
- package/dist/components/UtilityButton/components/Button/styles.js +0 -118
- package/dist/components/UtilityButton/components/UtilityButton/UtilityButton.d.ts +0 -5
- package/dist/components/UtilityButton/components/UtilityButton/UtilityButton.js +0 -9
- package/dist/components/UtilityButton/constants/index.d.ts +0 -163
- package/dist/components/UtilityButton/constants/index.js +0 -89
- package/dist/components/UtilityButton/index.js +0 -1
- package/dist/components/index.js +0 -7
- package/dist/components/shared/DropdownChevron.js +0 -18
- package/dist/constants/index.js +0 -89
- package/dist/interface/address.d.ts +0 -10
- package/dist/interface/address.js +0 -1
- package/dist/interface/appointment.d.ts +0 -56
- package/dist/interface/appointment.js +0 -23
- package/dist/styles/design-tokens/variables.d.ts +0 -706
- package/dist/styles/design-tokens/variables.js +0 -707
- package/dist/styles/theme/genesis-theme.js +0 -1512
- package/dist/styles/theme/genesis-theme.types.d.ts +0 -263
- package/dist/styles/theme/genesis-theme.types.js +0 -6
- package/dist/styles/theme/index.js +0 -1
- package/dist/test/setup.d.ts +0 -6
- package/dist/test/setup.js +0 -53
- package/dist/test/setup.types.d.ts +0 -7
- package/dist/test/setup.types.js +0 -1
- package/dist/types/events.d.ts +0 -22
- package/dist/types/events.js +0 -1
- package/dist/utils/icon-util.js +0 -119
- package/dist/utils/styled.d.ts +0 -1
- package/dist/utils/styled.js +0 -44
- /package/dist/{components/Button/__tests__/Button.test.d.ts → styles/theme/genesis-theme.test.d.ts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export type GoBoltUser = {
|
|
3
|
+
first_name: string;
|
|
4
|
+
last_name: string;
|
|
5
|
+
image_url?: string;
|
|
6
|
+
};
|
|
7
|
+
export interface AvatarProps {
|
|
8
|
+
size?: number;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
shape?: "circle" | "square";
|
|
11
|
+
children?: string;
|
|
12
|
+
backgroundColor?: string;
|
|
13
|
+
user?: GoBoltUser;
|
|
14
|
+
}
|
|
15
|
+
declare const Avatar: ({ size, shape, children, backgroundColor, user, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default Avatar;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export type { BadgeProps } from
|
|
1
|
+
export { default } from './Badge';
|
|
2
|
+
export type { BadgeProps } from './Badge';
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
interface StyledBadgeProperties {
|
|
4
|
-
theme?: GenesisTheme;
|
|
5
|
-
state?: State;
|
|
6
|
-
label?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
$backgroundColor?: string;
|
|
9
|
-
$hasHover?: boolean;
|
|
10
|
-
}
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
import { State } from './Badge';
|
|
11
3
|
export declare const getGenesisClass: (theme: GenesisTheme, state: State, label?: string, disabled?: boolean, $backgroundColor?: string, $hasHover?: boolean) => string;
|
|
12
|
-
export declare const Badge:
|
|
13
|
-
export {};
|
|
4
|
+
export declare const Badge: any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BreadcrumbItem } from './Breadcrumb.types';
|
|
2
|
+
export interface BreadcrumbProps {
|
|
3
|
+
items: BreadcrumbItem[];
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const Breadcrumb: ({ items, isDisabled }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
export declare const getGenesisClass: ({ colors, typography }: GenesisTheme, breakpoint?: string) => string;
|
|
3
|
+
export declare const BreadcrumbWrapper: any;
|
|
4
|
+
export declare const Breadcrumb: any;
|
|
5
|
+
export default Breadcrumb;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import
|
|
3
|
-
import { STATE } from
|
|
1
|
+
import { default as React, MouseEvent } from 'react';
|
|
2
|
+
import { ButtonProps as AntButtonProperties } from 'antd/es/button';
|
|
3
|
+
import { STATE } from '../../constants';
|
|
4
4
|
type ButtonThemeType = "primary" | "secondary" | "tertiary" | "destructive" | "utility" | "icon";
|
|
5
5
|
export interface ButtonProps extends Omit<AntButtonProperties, "type" | "size"> {
|
|
6
6
|
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface StyledIconButtonProperties {
|
|
3
|
-
theme?: GenesisTheme;
|
|
4
|
-
$themeType?: "primary" | "secondary" | "tertiary" | "destructive" | "utility" | "icon";
|
|
5
|
-
$state?: "active" | "hover" | "pressed" | "focus" | "disabled" | "selected";
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
$isIconButton?: boolean;
|
|
8
|
-
$isSelected?: boolean;
|
|
9
|
-
size?: "small" | "normal" | "large";
|
|
10
|
-
}
|
|
11
|
-
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledIconButtonProperties>> & string;
|
|
12
|
-
export {};
|
|
1
|
+
export declare const Button: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export type { ButtonProps } from
|
|
3
|
-
export { default as IconButton } from
|
|
4
|
-
export type { IconButtonProps } from
|
|
1
|
+
export { default } from './Button';
|
|
2
|
+
export type { ButtonProps } from './Button';
|
|
3
|
+
export { default as IconButton } from './IconButton';
|
|
4
|
+
export type { IconButtonProps } from './IconButton';
|
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { type GenesisTheme } from "@gobolt/genesis/styles/theme/genesis-theme.types";
|
|
3
|
-
interface StyledButtonProperties extends Omit<AntButtonProperties, "type" | "size"> {
|
|
4
|
-
theme?: GenesisTheme;
|
|
5
|
-
$themeType?: "primary" | "secondary" | "tertiary" | "destructive" | "utility" | "icon";
|
|
6
|
-
$state?: "active" | "hover" | "pressed" | "focus" | "disabled" | "selected";
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
$isIconButton?: boolean;
|
|
9
|
-
size?: "small" | "normal" | "large";
|
|
10
|
-
}
|
|
11
|
-
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<AntButtonProperties & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>, "ref"> & {
|
|
12
|
-
ref?: ((instance: HTMLButtonElement | HTMLAnchorElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement | HTMLAnchorElement> | null | undefined;
|
|
13
|
-
}, StyledButtonProperties>> & string & Omit<import("react").ForwardRefExoticComponent<AntButtonProperties & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & {
|
|
14
|
-
Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
|
|
15
|
-
}, keyof import("react").Component<any, {}, any>>;
|
|
16
|
-
export {};
|
|
1
|
+
export declare const Button: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface CardProps {
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
cover?: React.ReactNode;
|
|
5
|
+
actions?: React.ReactNode[];
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const Card: ({ style, cover, actions, children, ...rest }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Card;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { default as Message } from './Message';
|
|
3
|
+
type Message = {
|
|
4
|
+
id: string;
|
|
5
|
+
content: string;
|
|
6
|
+
sender: string;
|
|
7
|
+
isThinking?: boolean;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
};
|
|
10
|
+
export interface ChatProps {
|
|
11
|
+
socketUrl: string;
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
messageHistory: Array<Message>;
|
|
14
|
+
title?: string;
|
|
15
|
+
isSimulated?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const Chat: FC<ChatProps>;
|
|
18
|
+
export default Chat;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CheckboxProps as AntCheckboxProps } from 'antd';
|
|
2
|
+
import { TYPE, STATE } from '../../constants';
|
|
3
|
+
export type GenesisCheckboxType = keyof typeof TYPE;
|
|
4
|
+
export interface CheckboxProps extends AntCheckboxProps {
|
|
5
|
+
state?: keyof typeof STATE;
|
|
6
|
+
label?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Checkbox: ({ state, label, ...rest }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Checkbox;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
declare module "styled-components" {
|
|
3
|
+
interface DefaultTheme extends GenesisTheme {
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export declare const getGenesisClass: ({ colors, borderRadius }: {
|
|
7
|
+
colors: any;
|
|
8
|
+
borderRadius: any;
|
|
9
|
+
}, type?: string, state?: string) => string;
|
|
10
|
+
export declare const StyledCheckbox: any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface ErrorBoundaryProps {
|
|
3
|
+
hasError?: boolean;
|
|
4
|
+
logError?: (error: Error, componentStack: string, ownerStack: string) => void;
|
|
5
|
+
errorComponent?: React.ReactNode | React.ReactElement;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
resetError?: () => void;
|
|
8
|
+
error?: Error;
|
|
9
|
+
componentStack?: string;
|
|
10
|
+
}
|
|
11
|
+
declare class ErrorBoundary extends React.Component<any, ErrorBoundaryProps> {
|
|
12
|
+
constructor(properties: any);
|
|
13
|
+
static getDerivedStateFromError(error: any): {
|
|
14
|
+
hasError: boolean;
|
|
15
|
+
};
|
|
16
|
+
componentDidCatch(error: any, info: any): any;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
19
|
+
export default ErrorBoundary;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ErrorBoundaryFallbackProps {
|
|
2
|
+
error?: Error | null;
|
|
3
|
+
componentStack?: string | null;
|
|
4
|
+
eventId?: string | null;
|
|
5
|
+
resetError?: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const ErrorBoundaryFallback: (properties: ErrorBoundaryFallbackProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ErrorBoundaryFallback;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledErrorBoundaryFallback: any;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FormProps as AntFormProperties, FormInstance } from 'antd';
|
|
3
|
+
import { TYPE, STATE } from '../../constants';
|
|
4
|
+
import * as S from "./styles";
|
|
5
|
+
export interface FormProps extends AntFormProperties {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
type?: keyof typeof TYPE;
|
|
8
|
+
state?: keyof typeof STATE;
|
|
9
|
+
}
|
|
10
|
+
export declare const FormItem: (<Values = any>(props: import('antd').FormItemProps<Values>) => React.ReactElement) & {
|
|
11
|
+
useStatus: () => {
|
|
12
|
+
status?: import('antd/es/form/FormItem').ValidateStatus;
|
|
13
|
+
errors: React.ReactNode[];
|
|
14
|
+
warnings: React.ReactNode[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
interface GenesisFormProps extends FormProps {
|
|
18
|
+
form?: FormInstance;
|
|
19
|
+
}
|
|
20
|
+
interface FormType extends React.FC<GenesisFormProps> {
|
|
21
|
+
Item: typeof S.Form.Item;
|
|
22
|
+
useForm: typeof S.Form.useForm;
|
|
23
|
+
}
|
|
24
|
+
declare const Form: FormType;
|
|
25
|
+
export default Form;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { STATE } from
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { STATE } from '../../constants';
|
|
3
|
+
import { InputProps as AntInputProperties, InputRef } from 'antd';
|
|
4
|
+
import { InputEvent } from '../../types/events';
|
|
5
5
|
type BaseInputProps = Omit<AntInputProperties, "size" | "onChange" | "value">;
|
|
6
6
|
export interface InputProps extends BaseInputProps {
|
|
7
7
|
state?: keyof typeof STATE;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export type { InputProps } from
|
|
1
|
+
export { default } from './Input';
|
|
2
|
+
export type { InputProps } from './Input';
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { STATE } from "@gobolt/genesis/constants";
|
|
3
|
-
import type { InputRef } from "antd";
|
|
4
|
-
interface InputStyledProperties extends Omit<AntInputProperties, "size"> {
|
|
5
|
-
state?: keyof typeof STATE;
|
|
6
|
-
size?: "normal" | "small" | "large";
|
|
7
|
-
value?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const Input: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<AntInputProperties & import("react").RefAttributes<InputRef>, "ref"> & {
|
|
10
|
-
ref?: ((instance: InputRef | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<InputRef> | null | undefined;
|
|
11
|
-
}, InputStyledProperties>> & string & Omit<import("react").ForwardRefExoticComponent<AntInputProperties & import("react").RefAttributes<InputRef>> & {
|
|
12
|
-
Group: import("react").FC<import("antd/es/input").GroupProps>;
|
|
13
|
-
Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<InputRef>>;
|
|
14
|
-
TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
|
|
15
|
-
Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<InputRef>>;
|
|
16
|
-
OTP: import("react").ForwardRefExoticComponent<import("antd/es/input/OTP").OTPProps & import("react").RefAttributes<import("antd/es/input/OTP").OTPRef>>;
|
|
17
|
-
}, keyof import("react").Component<any, {}, any>>;
|
|
18
|
-
export {};
|
|
1
|
+
export declare const Input: any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface BarChartIcon {
|
|
3
|
+
symbol: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface BarChartDataPoint {
|
|
8
|
+
name: string;
|
|
9
|
+
value: number;
|
|
10
|
+
icon?: BarChartIcon;
|
|
11
|
+
[key: string]: string | number | BarChartIcon | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface BarChartProps {
|
|
14
|
+
data: BarChartDataPoint[];
|
|
15
|
+
height?: number;
|
|
16
|
+
width?: number;
|
|
17
|
+
showGrid?: boolean;
|
|
18
|
+
showTooltip?: boolean;
|
|
19
|
+
barColor?: string;
|
|
20
|
+
barColors?: string[];
|
|
21
|
+
barWidth?: number;
|
|
22
|
+
className?: string;
|
|
23
|
+
permanentTooltipIndex?: number;
|
|
24
|
+
isAnimated?: boolean;
|
|
25
|
+
showIcons?: boolean;
|
|
26
|
+
iconSize?: number;
|
|
27
|
+
iconSpacing?: number;
|
|
28
|
+
showAdditionalGridLines?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare const BarChart: React.FC<BarChartProps>;
|
|
31
|
+
export default BarChart;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface DonutChartDataPoint {
|
|
3
|
+
name: string;
|
|
4
|
+
value: number;
|
|
5
|
+
color?: string;
|
|
6
|
+
[key: string]: string | number;
|
|
7
|
+
}
|
|
8
|
+
export interface DonutChartProps {
|
|
9
|
+
data: DonutChartDataPoint[];
|
|
10
|
+
height?: number;
|
|
11
|
+
width?: number;
|
|
12
|
+
innerRadius?: number;
|
|
13
|
+
outerRadius?: number;
|
|
14
|
+
showTooltip?: boolean;
|
|
15
|
+
showLegend?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const DonutChart: React.FC<DonutChartProps>;
|
|
19
|
+
export default DonutChart;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface LineChartDataPoint {
|
|
3
|
+
name: string;
|
|
4
|
+
value: number;
|
|
5
|
+
[key: string]: string | number;
|
|
6
|
+
}
|
|
7
|
+
export interface LineChartProps {
|
|
8
|
+
data: LineChartDataPoint[];
|
|
9
|
+
height?: number;
|
|
10
|
+
width?: number;
|
|
11
|
+
showGrid?: boolean;
|
|
12
|
+
showTooltip?: boolean;
|
|
13
|
+
strokeColor?: string;
|
|
14
|
+
strokeWidth?: number;
|
|
15
|
+
dotColor?: string;
|
|
16
|
+
dotSize?: number;
|
|
17
|
+
className?: string;
|
|
18
|
+
permanentTooltipIndex?: number;
|
|
19
|
+
skipDays?: number;
|
|
20
|
+
isAnimated?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const LineChart: React.FC<LineChartProps>;
|
|
23
|
+
export default LineChart;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const CHART_HEIGHTS: {
|
|
2
|
+
readonly MIN_HEIGHT: 160;
|
|
3
|
+
readonly DESIGN_EXAMPLE_HEIGHT: 160;
|
|
4
|
+
readonly DEFAULT_HEIGHT: 160;
|
|
5
|
+
readonly DONUT_DEFAULT_HEIGHT: 300;
|
|
6
|
+
};
|
|
7
|
+
export declare const CHART_WIDTHS: {
|
|
8
|
+
readonly DEFAULT_WIDTH: 260;
|
|
9
|
+
readonly LINE_CHART_DEFAULT_WIDTH: 280;
|
|
10
|
+
};
|
|
11
|
+
export declare const CHART_MARGINS: {
|
|
12
|
+
readonly LINE_CHART: {
|
|
13
|
+
readonly top: 15;
|
|
14
|
+
readonly right: 30;
|
|
15
|
+
readonly bottom: 30;
|
|
16
|
+
readonly left: 8;
|
|
17
|
+
};
|
|
18
|
+
readonly BAR_CHART: {
|
|
19
|
+
readonly top: 15;
|
|
20
|
+
readonly right: 30;
|
|
21
|
+
readonly bottom: 30;
|
|
22
|
+
readonly left: 8;
|
|
23
|
+
};
|
|
24
|
+
readonly DONUT_CHART: {
|
|
25
|
+
readonly top: 20;
|
|
26
|
+
readonly right: 20;
|
|
27
|
+
readonly bottom: 20;
|
|
28
|
+
readonly left: 20;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const CHART_HEIGHT_CALCULATIONS: {
|
|
32
|
+
readonly LINE_CHART: 5;
|
|
33
|
+
readonly BAR_CHART: 5;
|
|
34
|
+
readonly DONUT_CHART: 0;
|
|
35
|
+
};
|
|
36
|
+
export declare const CHART_GRID_LINES: {
|
|
37
|
+
readonly LINE_CHART: readonly [0, 33, 65, 100];
|
|
38
|
+
readonly BAR_CHART: readonly [0, 15, 35, 50];
|
|
39
|
+
};
|
|
40
|
+
export declare const CHART_Y_AXIS_LABELS: {
|
|
41
|
+
readonly LINE_CHART: readonly [100, 65, 33, 0];
|
|
42
|
+
readonly BAR_CHART: readonly [50, 35, 15, 0];
|
|
43
|
+
};
|
|
44
|
+
export declare const CHART_CONTAINER_PADDING: {
|
|
45
|
+
readonly CONTAINER: "Size2";
|
|
46
|
+
readonly CHART_CONTAINER: "Size2";
|
|
47
|
+
};
|
|
48
|
+
export declare const CHART_TRANSITION_DURATION = 0.15;
|
|
49
|
+
export declare const CHART_TOOLTIP_LINE_LENGTH_REDUCTION = 0;
|
|
50
|
+
export declare const x_axis_style: {
|
|
51
|
+
label: {
|
|
52
|
+
font_family: string;
|
|
53
|
+
font_size: string;
|
|
54
|
+
font_style: string;
|
|
55
|
+
font_weight: string;
|
|
56
|
+
line_height: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare const y_axis_style: {
|
|
60
|
+
label: {
|
|
61
|
+
font_family: string;
|
|
62
|
+
font_size: string;
|
|
63
|
+
font_style: string;
|
|
64
|
+
font_weight: string;
|
|
65
|
+
line_height: string;
|
|
66
|
+
letter_spacing: string;
|
|
67
|
+
text_transform: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const VEHICLE_INSIGHTS_CONFIG: {
|
|
71
|
+
readonly BAR_COLOR: "#9a9a9a";
|
|
72
|
+
readonly BAR_WIDTH: 4;
|
|
73
|
+
readonly BAR_SPACING: 40;
|
|
74
|
+
readonly GRID_LINE_POSITIONS: readonly [5, 10, 73, 108];
|
|
75
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { BarChart } from './BarChart';
|
|
2
|
+
export { LineChart } from './LineChart';
|
|
3
|
+
export { DonutChart } from './DonutChart';
|
|
4
|
+
export type { BarChartProps, BarChartDataPoint, BarChartIcon, } from './BarChart';
|
|
5
|
+
export type { LineChartProps, LineChartDataPoint } from './LineChart';
|
|
6
|
+
export type { DonutChartProps, DonutChartDataPoint } from './DonutChart';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
export interface ContentProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
isColumn?: boolean;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
export declare const Content: ({ children, className, backgroundColor, isColumn, style, }: ContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Content;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface LayoutProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
isColumn?: boolean;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
}
|
|
7
|
+
declare const Layout: ({ children, isColumn, style }: LayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Layout;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { STATE, SIZE } from '../../constants';
|
|
3
|
+
export type MessageAction = {
|
|
4
|
+
label?: string;
|
|
5
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
};
|
|
7
|
+
export interface MessageProps {
|
|
8
|
+
state: keyof typeof STATE;
|
|
9
|
+
message: string;
|
|
10
|
+
action?: MessageAction;
|
|
11
|
+
size?: Extract<keyof typeof SIZE, "small" | "standard">;
|
|
12
|
+
}
|
|
13
|
+
declare const Message: ({ state, message, action, size, }: MessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default Message;
|