@gobolt/genesis 0.3.25 → 0.3.27
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/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 +30 -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/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 +1 -1
- 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 +2 -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 +4 -4
- 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/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 +84476 -0
- package/dist/index.d.ts +6 -10
- package/dist/index.js +84459 -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 -1
- package/dist/styles/theme/index.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +17 -18
- 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.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
|
@@ -1,1512 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
// sizes
|
|
13
|
-
import { Size1, Size1_5, Size2, Size2_5, Size3, Size4, Size5, Size6, Size7, Size8, Size10, Size12, Size13, Size14, Size16, Size18, Size20, Size24, Size27, Size28, Size30, Size32, Size34, Size35, Size39, Size43, Size50, Size64, Size05, Size15, Size025, Size25, } from "../design-tokens/variables";
|
|
14
|
-
// typography
|
|
15
|
-
// FIXME: missing sub headings, digits, message, overline, label, link!!!
|
|
16
|
-
import { TypographyPrimaryFontFamily, TypographyWideFontSizeDisplay1, TypographyWideFontSizeDisplay2, TypographyWideFontSizeDisplay3, TypographyWideFontSizeHeading1, TypographyWideFontSizeHeading2, TypographyWideFontSizeHeading3, TypographyWideFontSizeSubHeading1, TypographyWideFontSizeSubHeading2, TypographyWideFontSizeSubHeading3, TypographyWideFontSizeBody1, TypographyWideFontSizeBody2, TypographyWideFontSizeBody3, TypographyWideFontSizeBody4, TypographyWideFontSizeBody5, TypographyWideFontSizeMessage, TypographyWideFontSizeOverline1, TypographyWideFontSizeOverline2, TypographyWideFontSizeOverline3, TypographyWideFontSizeLabel1, TypographyWideFontSizeLabel2, TypographyWideFontSizeLabel3, TypographyWideFontSizeLink1, TypographyWideFontSizeLink2, TypographyWideFontSizeLink3, TypographyWideFontSizeDigits1, TypographyWideFontSizeDigits2, TypographyWideFontSizeDigits3, TypographyMediumFontSizeDisplay1, TypographyMediumFontSizeDisplay2, TypographyMediumFontSizeDisplay3, TypographyMediumFontSizeHeading1, TypographyMediumFontSizeHeading2, TypographyMediumFontSizeHeading3, TypographyMediumFontSizeSubHeading1, TypographyMediumFontSizeSubHeading2, TypographyMediumFontSizeSubHeading3, TypographyMediumFontSizeBody1, TypographyMediumFontSizeBody2, TypographyMediumFontSizeBody3, TypographyMediumFontSizeBody4, TypographyMediumFontSizeBody5, TypographyMediumFontSizeMessage, TypographyMediumFontSizeOverline1, TypographyMediumFontSizeOverline2, TypographyMediumFontSizeOverline3, TypographyMediumFontSizeLabel1, TypographyMediumFontSizeLabel2, TypographyMediumFontSizeLabel3, TypographyMediumFontSizeLink1, TypographyMediumFontSizeLink2, TypographyMediumFontSizeLink3, TypographyMediumFontSizeDigits1, TypographyMediumFontSizeDigits2, TypographyMediumFontSizeDigits3, TypographyNarrowFontSizeDisplay1, TypographyNarrowFontSizeDisplay2, TypographyNarrowFontSizeDisplay3, TypographyNarrowFontSizeHeading1, TypographyNarrowFontSizeHeading2, TypographyNarrowFontSizeHeading3, TypographyNarrowFontSizeSubHeading1, TypographyNarrowFontSizeSubHeading2, TypographyNarrowFontSizeSubHeading3, TypographyNarrowFontSizeBody1, TypographyNarrowFontSizeBody2, TypographyNarrowFontSizeBody3, TypographyNarrowFontSizeBody4, TypographyNarrowFontSizeBody5, TypographyNarrowFontSizeMessage, TypographyNarrowFontSizeOverline1, TypographyNarrowFontSizeOverline2, TypographyNarrowFontSizeOverline3, TypographyNarrowFontSizeLabel1, TypographyNarrowFontSizeLabel2, TypographyNarrowFontSizeLabel3, TypographyNarrowFontSizeLink1, TypographyNarrowFontSizeLink2, TypographyNarrowFontSizeLink3, TypographyNarrowFontSizeDigits1, TypographyNarrowFontSizeDigits2, TypographyNarrowFontSizeDigits3, } from "../design-tokens/variables";
|
|
17
|
-
// colors
|
|
18
|
-
import { ColorRed100, ColorRed200, ColorRed300, ColorRed400, ColorRed500, ColorRed600, ColorRed700, ColorRed800, ColorRed900, ColorOrange100, ColorOrange200, ColorOrange300, ColorOrange400, ColorOrange500, ColorOrange600, ColorOrange700, ColorOrange800, ColorOrange900, ColorYellow100, ColorYellow200, ColorYellow300, ColorYellow400, ColorYellow500, ColorYellow600, ColorYellow700, ColorYellow800, ColorYellow900, ColorGreen100, ColorGreen200, ColorGreen300, ColorGreen400, ColorGreen500, ColorGreen600, ColorGreen700, ColorGreen800, ColorGreen900, ColorSky100, ColorSky200, ColorSky300, ColorSky400, ColorSky500, ColorSky600, ColorSky700, ColorSky800, ColorSky900, ColorBlue100, ColorBlue200, ColorBlue300, ColorBlue400, ColorBlue500, ColorBlue600, ColorBlue700, ColorBlue800, ColorBlue900, ColorPurple100, ColorPurple200, ColorPurple300, ColorPurple400, ColorPurple500, ColorPurple600, ColorPurple700, ColorPurple800, ColorPurple900, ColorGray100, ColorGray200, ColorGray300, ColorGray400, ColorGray500, ColorGray600, ColorGray700, ColorGray800, ColorGray900, ColorGrayBlack, ColorGrayWhite, } from "../design-tokens/variables";
|
|
19
|
-
// border radius
|
|
20
|
-
import { BorderRadiusNone, BorderRadiusXs, BorderRadiusSm, BorderRadiusMd, BorderRadiusLg, BorderRadiusXl, BorderRadiusXxl, BorderRadiusXxxl, BorderRadiusRounded, } from "../design-tokens/variables";
|
|
21
|
-
// breakpoints
|
|
22
|
-
// note: the Figma JSON didn't export a breakpoints object, so we need to create one based on what Figma describes as having breakpoints: Wide, Medium, Narrow
|
|
23
|
-
// Figma only mentions 3 breakpoints: Wide, Medium, Narrow so that's all we can officially support
|
|
24
|
-
export var breakpoints = {
|
|
25
|
-
wide: 1280,
|
|
26
|
-
medium: 1024,
|
|
27
|
-
narrow: 480,
|
|
28
|
-
};
|
|
29
|
-
var borderRadius = {
|
|
30
|
-
BorderRadiusNone: BorderRadiusNone,
|
|
31
|
-
BorderRadiusXs: BorderRadiusXs,
|
|
32
|
-
BorderRadiusSm: BorderRadiusSm,
|
|
33
|
-
BorderRadiusMd: BorderRadiusMd,
|
|
34
|
-
BorderRadiusLg: BorderRadiusLg,
|
|
35
|
-
BorderRadiusXl: BorderRadiusXl,
|
|
36
|
-
BorderRadiusXxl: BorderRadiusXxl,
|
|
37
|
-
BorderRadiusXxxl: BorderRadiusXxxl,
|
|
38
|
-
BorderRadiusRounded: BorderRadiusRounded,
|
|
39
|
-
};
|
|
40
|
-
export var sizing = {
|
|
41
|
-
Size1: Size1, // 4px
|
|
42
|
-
Size1_5: Size1_5, // 6px
|
|
43
|
-
Size2: Size2, // 8px
|
|
44
|
-
Size2_5: Size2_5, // 10px
|
|
45
|
-
Size3: Size3, // 12px
|
|
46
|
-
Size4: Size4, // 16px
|
|
47
|
-
Size5: Size5, // 20px
|
|
48
|
-
Size6: Size6, // 24px
|
|
49
|
-
Size7: Size7, // 28px
|
|
50
|
-
Size8: Size8, // 32px
|
|
51
|
-
Size10: Size10, // 40px
|
|
52
|
-
Size12: Size12, // 48px
|
|
53
|
-
Size13: Size13, // 52px
|
|
54
|
-
Size14: Size14, // 56px
|
|
55
|
-
Size16: Size16, // 64px
|
|
56
|
-
Size18: Size18, // 72px
|
|
57
|
-
Size20: Size20, // 80px
|
|
58
|
-
Size24: Size24, // 96px
|
|
59
|
-
Size27: Size27, // 108px
|
|
60
|
-
Size28: Size28, // 112px
|
|
61
|
-
Size30: Size30, // 120px
|
|
62
|
-
Size32: Size32, // 128px
|
|
63
|
-
Size34: Size34, // 136px
|
|
64
|
-
Size35: Size35, // 140px
|
|
65
|
-
Size39: Size39, // 156px
|
|
66
|
-
Size43: Size43, // 172px
|
|
67
|
-
Size50: Size50, // 200px
|
|
68
|
-
Size64: Size64, // 256px
|
|
69
|
-
Size05: Size05, // 2px
|
|
70
|
-
Size15: Size15, // 6px
|
|
71
|
-
Size025: Size025, // 1px
|
|
72
|
-
Size25: Size25, // 10px
|
|
73
|
-
xs: Size1, // 4px
|
|
74
|
-
sm: Size2, // 8px
|
|
75
|
-
md: Size3, // 12px
|
|
76
|
-
lg: Size4, // 16px
|
|
77
|
-
typography1: 12,
|
|
78
|
-
typography2: 14,
|
|
79
|
-
typography3: 16,
|
|
80
|
-
};
|
|
81
|
-
// typography
|
|
82
|
-
export var TypographySizeKey = {
|
|
83
|
-
display1: "display1",
|
|
84
|
-
display2: "display2",
|
|
85
|
-
display3: "display3",
|
|
86
|
-
heading1: "heading1",
|
|
87
|
-
heading2: "heading2",
|
|
88
|
-
heading3: "heading3",
|
|
89
|
-
subHeading1: "subHeading1",
|
|
90
|
-
subHeading2: "subHeading2",
|
|
91
|
-
subHeading3: "subHeading3",
|
|
92
|
-
body1: "body1",
|
|
93
|
-
body2: "body2",
|
|
94
|
-
body3: "body3",
|
|
95
|
-
body4: "body4",
|
|
96
|
-
body5: "body5",
|
|
97
|
-
message: "message",
|
|
98
|
-
overline1: "overline1",
|
|
99
|
-
overline2: "overline2",
|
|
100
|
-
overline3: "overline3",
|
|
101
|
-
label1: "label1",
|
|
102
|
-
label2: "label2",
|
|
103
|
-
label3: "label3",
|
|
104
|
-
link1: "link1",
|
|
105
|
-
link2: "link2",
|
|
106
|
-
link3: "link3",
|
|
107
|
-
digits1: "digits1",
|
|
108
|
-
digits2: "digits2",
|
|
109
|
-
digits3: "digits3",
|
|
110
|
-
};
|
|
111
|
-
var typographyTemplate = {
|
|
112
|
-
display1: {
|
|
113
|
-
fontSize: "",
|
|
114
|
-
lineHeight: "",
|
|
115
|
-
fontWeight: 700,
|
|
116
|
-
letterSpacing: "0",
|
|
117
|
-
},
|
|
118
|
-
display2: {
|
|
119
|
-
fontSize: "",
|
|
120
|
-
lineHeight: "",
|
|
121
|
-
fontWeight: 700,
|
|
122
|
-
letterSpacing: "0",
|
|
123
|
-
},
|
|
124
|
-
display3: {
|
|
125
|
-
fontSize: "",
|
|
126
|
-
lineHeight: "",
|
|
127
|
-
fontWeight: 700,
|
|
128
|
-
letterSpacing: "0",
|
|
129
|
-
},
|
|
130
|
-
heading1: {
|
|
131
|
-
fontSize: "",
|
|
132
|
-
lineHeight: "",
|
|
133
|
-
fontWeight: 700,
|
|
134
|
-
letterSpacing: "0",
|
|
135
|
-
},
|
|
136
|
-
heading2: {
|
|
137
|
-
fontSize: "",
|
|
138
|
-
lineHeight: "",
|
|
139
|
-
fontWeight: 700,
|
|
140
|
-
letterSpacing: "0",
|
|
141
|
-
},
|
|
142
|
-
heading3: {
|
|
143
|
-
fontSize: "",
|
|
144
|
-
lineHeight: "",
|
|
145
|
-
fontWeight: 700,
|
|
146
|
-
letterSpacing: "0",
|
|
147
|
-
},
|
|
148
|
-
subHeading1: {
|
|
149
|
-
fontSize: "",
|
|
150
|
-
lineHeight: "",
|
|
151
|
-
fontWeight: 600,
|
|
152
|
-
letterSpacing: "0",
|
|
153
|
-
},
|
|
154
|
-
subHeading2: {
|
|
155
|
-
fontSize: "",
|
|
156
|
-
lineHeight: "",
|
|
157
|
-
fontWeight: 600,
|
|
158
|
-
letterSpacing: "0",
|
|
159
|
-
},
|
|
160
|
-
subHeading3: {
|
|
161
|
-
fontSize: "",
|
|
162
|
-
lineHeight: "",
|
|
163
|
-
fontWeight: 600,
|
|
164
|
-
letterSpacing: "0",
|
|
165
|
-
},
|
|
166
|
-
body1: { fontSize: "", lineHeight: "", fontWeight: 400, letterSpacing: "0" },
|
|
167
|
-
body2: { fontSize: "", lineHeight: "", fontWeight: 400, letterSpacing: "0" },
|
|
168
|
-
body3: { fontSize: "", lineHeight: "", fontWeight: 400, letterSpacing: "0" },
|
|
169
|
-
body4: { fontSize: "", lineHeight: "", fontWeight: 400, letterSpacing: "0" },
|
|
170
|
-
body5: { fontSize: "", lineHeight: "", fontWeight: 400, letterSpacing: "0" },
|
|
171
|
-
message: {
|
|
172
|
-
fontSize: "",
|
|
173
|
-
lineHeight: "",
|
|
174
|
-
fontWeight: 400,
|
|
175
|
-
letterSpacing: "0",
|
|
176
|
-
},
|
|
177
|
-
overline1: {
|
|
178
|
-
fontSize: "",
|
|
179
|
-
lineHeight: "",
|
|
180
|
-
fontWeight: 500,
|
|
181
|
-
letterSpacing: "0",
|
|
182
|
-
},
|
|
183
|
-
overline2: {
|
|
184
|
-
fontSize: "",
|
|
185
|
-
lineHeight: "",
|
|
186
|
-
fontWeight: 500,
|
|
187
|
-
letterSpacing: "0",
|
|
188
|
-
},
|
|
189
|
-
overline3: {
|
|
190
|
-
fontSize: "",
|
|
191
|
-
lineHeight: "",
|
|
192
|
-
fontWeight: 500,
|
|
193
|
-
letterSpacing: "0",
|
|
194
|
-
},
|
|
195
|
-
label1: { fontSize: "", lineHeight: "", fontWeight: 500, letterSpacing: "0" },
|
|
196
|
-
label2: { fontSize: "", lineHeight: "", fontWeight: 500, letterSpacing: "0" },
|
|
197
|
-
label3: { fontSize: "", lineHeight: "", fontWeight: 500, letterSpacing: "0" },
|
|
198
|
-
link1: { fontSize: "", lineHeight: "", fontWeight: 500, letterSpacing: "0" },
|
|
199
|
-
link2: { fontSize: "", lineHeight: "", fontWeight: 500, letterSpacing: "0" },
|
|
200
|
-
link3: { fontSize: "", lineHeight: "", fontWeight: 500, letterSpacing: "0" },
|
|
201
|
-
digits1: {
|
|
202
|
-
fontSize: "",
|
|
203
|
-
lineHeight: "",
|
|
204
|
-
fontWeight: 700,
|
|
205
|
-
letterSpacing: "0",
|
|
206
|
-
},
|
|
207
|
-
digits2: {
|
|
208
|
-
fontSize: "",
|
|
209
|
-
lineHeight: "",
|
|
210
|
-
fontWeight: 700,
|
|
211
|
-
letterSpacing: "0",
|
|
212
|
-
},
|
|
213
|
-
digits3: {
|
|
214
|
-
fontSize: "",
|
|
215
|
-
lineHeight: "",
|
|
216
|
-
fontWeight: 700,
|
|
217
|
-
letterSpacing: "0",
|
|
218
|
-
},
|
|
219
|
-
};
|
|
220
|
-
var wideTypography = {
|
|
221
|
-
display1: {
|
|
222
|
-
fontSize: TypographyWideFontSizeDisplay1,
|
|
223
|
-
lineHeight: "3.5rem",
|
|
224
|
-
fontWeight: 700,
|
|
225
|
-
letterSpacing: "0",
|
|
226
|
-
},
|
|
227
|
-
display2: {
|
|
228
|
-
fontSize: TypographyWideFontSizeDisplay2,
|
|
229
|
-
lineHeight: "3rem",
|
|
230
|
-
fontWeight: 700,
|
|
231
|
-
letterSpacing: "0",
|
|
232
|
-
},
|
|
233
|
-
display3: {
|
|
234
|
-
fontSize: TypographyWideFontSizeDisplay3,
|
|
235
|
-
lineHeight: "2.5rem",
|
|
236
|
-
fontWeight: 700,
|
|
237
|
-
letterSpacing: "0",
|
|
238
|
-
},
|
|
239
|
-
heading1: {
|
|
240
|
-
fontSize: TypographyWideFontSizeHeading1,
|
|
241
|
-
lineHeight: "2rem",
|
|
242
|
-
fontWeight: 700,
|
|
243
|
-
letterSpacing: "0",
|
|
244
|
-
},
|
|
245
|
-
heading2: {
|
|
246
|
-
fontSize: TypographyWideFontSizeHeading2,
|
|
247
|
-
lineHeight: "1.75rem",
|
|
248
|
-
fontWeight: 700,
|
|
249
|
-
letterSpacing: "0",
|
|
250
|
-
},
|
|
251
|
-
heading3: {
|
|
252
|
-
fontSize: TypographyWideFontSizeHeading3,
|
|
253
|
-
lineHeight: "1.5rem",
|
|
254
|
-
fontWeight: 700,
|
|
255
|
-
letterSpacing: "0",
|
|
256
|
-
},
|
|
257
|
-
subHeading1: {
|
|
258
|
-
fontSize: TypographyWideFontSizeSubHeading1,
|
|
259
|
-
lineHeight: "1.25rem",
|
|
260
|
-
fontWeight: 600,
|
|
261
|
-
letterSpacing: "0",
|
|
262
|
-
},
|
|
263
|
-
subHeading2: {
|
|
264
|
-
fontSize: TypographyWideFontSizeSubHeading2,
|
|
265
|
-
lineHeight: "1.25rem",
|
|
266
|
-
fontWeight: 600,
|
|
267
|
-
letterSpacing: "0",
|
|
268
|
-
},
|
|
269
|
-
subHeading3: {
|
|
270
|
-
fontSize: TypographyWideFontSizeSubHeading3,
|
|
271
|
-
lineHeight: "1rem",
|
|
272
|
-
fontWeight: 600,
|
|
273
|
-
letterSpacing: "0",
|
|
274
|
-
},
|
|
275
|
-
body1: {
|
|
276
|
-
fontSize: TypographyWideFontSizeBody1,
|
|
277
|
-
lineHeight: "1.5rem",
|
|
278
|
-
fontWeight: 400,
|
|
279
|
-
letterSpacing: "0",
|
|
280
|
-
},
|
|
281
|
-
body2: {
|
|
282
|
-
fontSize: TypographyWideFontSizeBody2,
|
|
283
|
-
lineHeight: "1.25rem",
|
|
284
|
-
fontWeight: 400,
|
|
285
|
-
letterSpacing: "0",
|
|
286
|
-
},
|
|
287
|
-
body3: {
|
|
288
|
-
fontSize: TypographyWideFontSizeBody3,
|
|
289
|
-
lineHeight: "1rem",
|
|
290
|
-
fontWeight: 400,
|
|
291
|
-
letterSpacing: "0",
|
|
292
|
-
},
|
|
293
|
-
body4: {
|
|
294
|
-
fontSize: TypographyWideFontSizeBody4,
|
|
295
|
-
lineHeight: "0.875rem",
|
|
296
|
-
fontWeight: 400,
|
|
297
|
-
letterSpacing: "0",
|
|
298
|
-
},
|
|
299
|
-
body5: {
|
|
300
|
-
fontSize: TypographyWideFontSizeBody5,
|
|
301
|
-
lineHeight: "0.75rem",
|
|
302
|
-
fontWeight: 400,
|
|
303
|
-
letterSpacing: "0",
|
|
304
|
-
},
|
|
305
|
-
message: {
|
|
306
|
-
fontSize: TypographyWideFontSizeMessage,
|
|
307
|
-
lineHeight: "23px",
|
|
308
|
-
fontWeight: 400,
|
|
309
|
-
letterSpacing: "0",
|
|
310
|
-
},
|
|
311
|
-
overline1: {
|
|
312
|
-
fontSize: TypographyWideFontSizeOverline1,
|
|
313
|
-
lineHeight: "0.75rem",
|
|
314
|
-
fontWeight: 500,
|
|
315
|
-
letterSpacing: "0",
|
|
316
|
-
},
|
|
317
|
-
overline2: {
|
|
318
|
-
fontSize: TypographyWideFontSizeOverline2,
|
|
319
|
-
lineHeight: "0.75rem",
|
|
320
|
-
fontWeight: 500,
|
|
321
|
-
letterSpacing: "0",
|
|
322
|
-
},
|
|
323
|
-
overline3: {
|
|
324
|
-
fontSize: TypographyWideFontSizeOverline3,
|
|
325
|
-
lineHeight: "0.75rem",
|
|
326
|
-
fontWeight: 500,
|
|
327
|
-
letterSpacing: "0",
|
|
328
|
-
},
|
|
329
|
-
label1: {
|
|
330
|
-
fontSize: TypographyWideFontSizeLabel1,
|
|
331
|
-
lineHeight: "1rem",
|
|
332
|
-
fontWeight: 500,
|
|
333
|
-
letterSpacing: "0",
|
|
334
|
-
},
|
|
335
|
-
label2: {
|
|
336
|
-
fontSize: TypographyWideFontSizeLabel2,
|
|
337
|
-
lineHeight: "1rem",
|
|
338
|
-
fontWeight: 500,
|
|
339
|
-
letterSpacing: "0",
|
|
340
|
-
},
|
|
341
|
-
label3: {
|
|
342
|
-
fontSize: TypographyWideFontSizeLabel3,
|
|
343
|
-
lineHeight: "1rem",
|
|
344
|
-
fontWeight: 500,
|
|
345
|
-
letterSpacing: "0",
|
|
346
|
-
},
|
|
347
|
-
link1: {
|
|
348
|
-
fontSize: TypographyWideFontSizeLink1,
|
|
349
|
-
lineHeight: "1.5rem",
|
|
350
|
-
fontWeight: 500,
|
|
351
|
-
letterSpacing: "0",
|
|
352
|
-
},
|
|
353
|
-
link2: {
|
|
354
|
-
fontSize: TypographyWideFontSizeLink2,
|
|
355
|
-
lineHeight: "1.25rem",
|
|
356
|
-
fontWeight: 500,
|
|
357
|
-
letterSpacing: "0",
|
|
358
|
-
},
|
|
359
|
-
link3: {
|
|
360
|
-
fontSize: TypographyWideFontSizeLink3,
|
|
361
|
-
lineHeight: "1rem",
|
|
362
|
-
fontWeight: 500,
|
|
363
|
-
letterSpacing: "0",
|
|
364
|
-
},
|
|
365
|
-
digits1: {
|
|
366
|
-
fontSize: TypographyWideFontSizeDigits1,
|
|
367
|
-
lineHeight: "3.5rem",
|
|
368
|
-
fontWeight: 700,
|
|
369
|
-
letterSpacing: "0",
|
|
370
|
-
},
|
|
371
|
-
digits2: {
|
|
372
|
-
fontSize: TypographyWideFontSizeDigits2,
|
|
373
|
-
lineHeight: "3rem",
|
|
374
|
-
fontWeight: 700,
|
|
375
|
-
letterSpacing: "0",
|
|
376
|
-
},
|
|
377
|
-
digits3: {
|
|
378
|
-
fontSize: TypographyWideFontSizeDigits3,
|
|
379
|
-
lineHeight: "2.5rem",
|
|
380
|
-
fontWeight: 700,
|
|
381
|
-
letterSpacing: "0",
|
|
382
|
-
},
|
|
383
|
-
};
|
|
384
|
-
var mediumTypography = {
|
|
385
|
-
display1: {
|
|
386
|
-
fontSize: TypographyMediumFontSizeDisplay1,
|
|
387
|
-
lineHeight: "3.5rem",
|
|
388
|
-
fontWeight: 700,
|
|
389
|
-
letterSpacing: "0",
|
|
390
|
-
},
|
|
391
|
-
display2: {
|
|
392
|
-
fontSize: TypographyMediumFontSizeDisplay2,
|
|
393
|
-
lineHeight: "3rem",
|
|
394
|
-
fontWeight: 700,
|
|
395
|
-
letterSpacing: "0",
|
|
396
|
-
},
|
|
397
|
-
display3: {
|
|
398
|
-
fontSize: TypographyMediumFontSizeDisplay3,
|
|
399
|
-
lineHeight: "2.5rem",
|
|
400
|
-
fontWeight: 700,
|
|
401
|
-
letterSpacing: "0",
|
|
402
|
-
},
|
|
403
|
-
heading1: {
|
|
404
|
-
fontSize: TypographyMediumFontSizeHeading1,
|
|
405
|
-
lineHeight: "2rem",
|
|
406
|
-
fontWeight: 700,
|
|
407
|
-
letterSpacing: "0",
|
|
408
|
-
},
|
|
409
|
-
heading2: {
|
|
410
|
-
fontSize: TypographyMediumFontSizeHeading2,
|
|
411
|
-
lineHeight: "1.75rem",
|
|
412
|
-
fontWeight: 700,
|
|
413
|
-
letterSpacing: "0",
|
|
414
|
-
},
|
|
415
|
-
heading3: {
|
|
416
|
-
fontSize: TypographyMediumFontSizeHeading3,
|
|
417
|
-
lineHeight: "1.5rem",
|
|
418
|
-
fontWeight: 700,
|
|
419
|
-
letterSpacing: "0",
|
|
420
|
-
},
|
|
421
|
-
subHeading1: {
|
|
422
|
-
fontSize: TypographyMediumFontSizeSubHeading1,
|
|
423
|
-
lineHeight: "1.25rem",
|
|
424
|
-
fontWeight: 600,
|
|
425
|
-
letterSpacing: "0",
|
|
426
|
-
},
|
|
427
|
-
subHeading2: {
|
|
428
|
-
fontSize: TypographyMediumFontSizeSubHeading2,
|
|
429
|
-
lineHeight: "1.25rem",
|
|
430
|
-
fontWeight: 600,
|
|
431
|
-
letterSpacing: "0",
|
|
432
|
-
},
|
|
433
|
-
subHeading3: {
|
|
434
|
-
fontSize: TypographyMediumFontSizeSubHeading3,
|
|
435
|
-
lineHeight: "1rem",
|
|
436
|
-
fontWeight: 600,
|
|
437
|
-
letterSpacing: "0",
|
|
438
|
-
},
|
|
439
|
-
body1: {
|
|
440
|
-
fontSize: TypographyMediumFontSizeBody1,
|
|
441
|
-
lineHeight: "1.5rem",
|
|
442
|
-
fontWeight: 400,
|
|
443
|
-
letterSpacing: "0",
|
|
444
|
-
},
|
|
445
|
-
body2: {
|
|
446
|
-
fontSize: TypographyMediumFontSizeBody2,
|
|
447
|
-
lineHeight: "1.25rem",
|
|
448
|
-
fontWeight: 400,
|
|
449
|
-
letterSpacing: "0",
|
|
450
|
-
},
|
|
451
|
-
body3: {
|
|
452
|
-
fontSize: TypographyMediumFontSizeBody3,
|
|
453
|
-
lineHeight: "1rem",
|
|
454
|
-
fontWeight: 400,
|
|
455
|
-
letterSpacing: "0",
|
|
456
|
-
},
|
|
457
|
-
body4: {
|
|
458
|
-
fontSize: TypographyMediumFontSizeBody4,
|
|
459
|
-
lineHeight: "0.875rem",
|
|
460
|
-
fontWeight: 400,
|
|
461
|
-
letterSpacing: "0",
|
|
462
|
-
},
|
|
463
|
-
body5: {
|
|
464
|
-
fontSize: TypographyMediumFontSizeBody5,
|
|
465
|
-
lineHeight: "0.75rem",
|
|
466
|
-
fontWeight: 400,
|
|
467
|
-
letterSpacing: "0",
|
|
468
|
-
},
|
|
469
|
-
message: {
|
|
470
|
-
fontSize: TypographyMediumFontSizeMessage,
|
|
471
|
-
lineHeight: "23px",
|
|
472
|
-
fontWeight: 400,
|
|
473
|
-
letterSpacing: "0",
|
|
474
|
-
},
|
|
475
|
-
overline1: {
|
|
476
|
-
fontSize: TypographyMediumFontSizeOverline1,
|
|
477
|
-
lineHeight: "0.75rem",
|
|
478
|
-
fontWeight: 500,
|
|
479
|
-
letterSpacing: "0",
|
|
480
|
-
},
|
|
481
|
-
overline2: {
|
|
482
|
-
fontSize: TypographyMediumFontSizeOverline2,
|
|
483
|
-
lineHeight: "0.75rem",
|
|
484
|
-
fontWeight: 500,
|
|
485
|
-
letterSpacing: "0",
|
|
486
|
-
},
|
|
487
|
-
overline3: {
|
|
488
|
-
fontSize: TypographyMediumFontSizeOverline3,
|
|
489
|
-
lineHeight: "0.75rem",
|
|
490
|
-
fontWeight: 500,
|
|
491
|
-
letterSpacing: "0",
|
|
492
|
-
},
|
|
493
|
-
label1: {
|
|
494
|
-
fontSize: TypographyMediumFontSizeLabel1,
|
|
495
|
-
lineHeight: "1rem",
|
|
496
|
-
fontWeight: 500,
|
|
497
|
-
letterSpacing: "0",
|
|
498
|
-
},
|
|
499
|
-
label2: {
|
|
500
|
-
fontSize: TypographyMediumFontSizeLabel2,
|
|
501
|
-
lineHeight: "1rem",
|
|
502
|
-
fontWeight: 500,
|
|
503
|
-
letterSpacing: "0",
|
|
504
|
-
},
|
|
505
|
-
label3: {
|
|
506
|
-
fontSize: TypographyMediumFontSizeLabel3,
|
|
507
|
-
lineHeight: "1rem",
|
|
508
|
-
fontWeight: 500,
|
|
509
|
-
letterSpacing: "0",
|
|
510
|
-
},
|
|
511
|
-
link1: {
|
|
512
|
-
fontSize: TypographyMediumFontSizeLink1,
|
|
513
|
-
lineHeight: "1.5rem",
|
|
514
|
-
fontWeight: 500,
|
|
515
|
-
letterSpacing: "0",
|
|
516
|
-
},
|
|
517
|
-
link2: {
|
|
518
|
-
fontSize: TypographyMediumFontSizeLink2,
|
|
519
|
-
lineHeight: "1.25rem",
|
|
520
|
-
fontWeight: 500,
|
|
521
|
-
letterSpacing: "0",
|
|
522
|
-
},
|
|
523
|
-
link3: {
|
|
524
|
-
fontSize: TypographyMediumFontSizeLink3,
|
|
525
|
-
lineHeight: "1rem",
|
|
526
|
-
fontWeight: 500,
|
|
527
|
-
letterSpacing: "0",
|
|
528
|
-
},
|
|
529
|
-
digits1: {
|
|
530
|
-
fontSize: TypographyMediumFontSizeDigits1,
|
|
531
|
-
lineHeight: "3.5rem",
|
|
532
|
-
fontWeight: 700,
|
|
533
|
-
letterSpacing: "0",
|
|
534
|
-
},
|
|
535
|
-
digits2: {
|
|
536
|
-
fontSize: TypographyMediumFontSizeDigits2,
|
|
537
|
-
lineHeight: "3rem",
|
|
538
|
-
fontWeight: 700,
|
|
539
|
-
letterSpacing: "0",
|
|
540
|
-
},
|
|
541
|
-
digits3: {
|
|
542
|
-
fontSize: TypographyMediumFontSizeDigits3,
|
|
543
|
-
lineHeight: "2.5rem",
|
|
544
|
-
fontWeight: 700,
|
|
545
|
-
letterSpacing: "0",
|
|
546
|
-
},
|
|
547
|
-
};
|
|
548
|
-
var narrowTypography = {
|
|
549
|
-
display1: {
|
|
550
|
-
fontSize: TypographyNarrowFontSizeDisplay1,
|
|
551
|
-
lineHeight: "3.5rem",
|
|
552
|
-
fontWeight: 700,
|
|
553
|
-
letterSpacing: "0",
|
|
554
|
-
},
|
|
555
|
-
display2: {
|
|
556
|
-
fontSize: TypographyNarrowFontSizeDisplay2,
|
|
557
|
-
lineHeight: "3rem",
|
|
558
|
-
fontWeight: 700,
|
|
559
|
-
letterSpacing: "0",
|
|
560
|
-
},
|
|
561
|
-
display3: {
|
|
562
|
-
fontSize: TypographyNarrowFontSizeDisplay3,
|
|
563
|
-
lineHeight: "2.5rem",
|
|
564
|
-
fontWeight: 700,
|
|
565
|
-
letterSpacing: "0",
|
|
566
|
-
},
|
|
567
|
-
heading1: {
|
|
568
|
-
fontSize: TypographyNarrowFontSizeHeading1,
|
|
569
|
-
lineHeight: "2rem",
|
|
570
|
-
fontWeight: 700,
|
|
571
|
-
letterSpacing: "0",
|
|
572
|
-
},
|
|
573
|
-
heading2: {
|
|
574
|
-
fontSize: TypographyNarrowFontSizeHeading2,
|
|
575
|
-
lineHeight: "1.75rem",
|
|
576
|
-
fontWeight: 700,
|
|
577
|
-
letterSpacing: "0",
|
|
578
|
-
},
|
|
579
|
-
heading3: {
|
|
580
|
-
fontSize: TypographyNarrowFontSizeHeading3,
|
|
581
|
-
lineHeight: "1.5rem",
|
|
582
|
-
fontWeight: 700,
|
|
583
|
-
letterSpacing: "0",
|
|
584
|
-
},
|
|
585
|
-
subHeading1: {
|
|
586
|
-
fontSize: TypographyNarrowFontSizeSubHeading1,
|
|
587
|
-
lineHeight: "1.25rem",
|
|
588
|
-
fontWeight: 600,
|
|
589
|
-
letterSpacing: "0",
|
|
590
|
-
},
|
|
591
|
-
subHeading2: {
|
|
592
|
-
fontSize: TypographyNarrowFontSizeSubHeading2,
|
|
593
|
-
lineHeight: "1.25rem",
|
|
594
|
-
fontWeight: 600,
|
|
595
|
-
letterSpacing: "0",
|
|
596
|
-
},
|
|
597
|
-
subHeading3: {
|
|
598
|
-
fontSize: TypographyNarrowFontSizeSubHeading3,
|
|
599
|
-
lineHeight: "1rem",
|
|
600
|
-
fontWeight: 600,
|
|
601
|
-
letterSpacing: "0",
|
|
602
|
-
},
|
|
603
|
-
body1: {
|
|
604
|
-
fontSize: TypographyNarrowFontSizeBody1,
|
|
605
|
-
lineHeight: "1.5rem",
|
|
606
|
-
fontWeight: 400,
|
|
607
|
-
letterSpacing: "0",
|
|
608
|
-
},
|
|
609
|
-
body2: {
|
|
610
|
-
fontSize: TypographyNarrowFontSizeBody2,
|
|
611
|
-
lineHeight: "1.25rem",
|
|
612
|
-
fontWeight: 400,
|
|
613
|
-
letterSpacing: "0",
|
|
614
|
-
},
|
|
615
|
-
body3: {
|
|
616
|
-
fontSize: TypographyNarrowFontSizeBody3,
|
|
617
|
-
lineHeight: "1rem",
|
|
618
|
-
fontWeight: 400,
|
|
619
|
-
letterSpacing: "0",
|
|
620
|
-
},
|
|
621
|
-
body4: {
|
|
622
|
-
fontSize: TypographyNarrowFontSizeBody4,
|
|
623
|
-
lineHeight: "0.875rem",
|
|
624
|
-
fontWeight: 400,
|
|
625
|
-
letterSpacing: "0",
|
|
626
|
-
},
|
|
627
|
-
body5: {
|
|
628
|
-
fontSize: TypographyNarrowFontSizeBody5,
|
|
629
|
-
lineHeight: "0.75rem",
|
|
630
|
-
fontWeight: 400,
|
|
631
|
-
letterSpacing: "0",
|
|
632
|
-
},
|
|
633
|
-
message: {
|
|
634
|
-
fontSize: TypographyNarrowFontSizeMessage,
|
|
635
|
-
lineHeight: "23px",
|
|
636
|
-
fontWeight: 400,
|
|
637
|
-
letterSpacing: "0",
|
|
638
|
-
},
|
|
639
|
-
overline1: {
|
|
640
|
-
fontSize: TypographyNarrowFontSizeOverline1,
|
|
641
|
-
lineHeight: "0.75rem",
|
|
642
|
-
fontWeight: 500,
|
|
643
|
-
letterSpacing: "0",
|
|
644
|
-
},
|
|
645
|
-
overline2: {
|
|
646
|
-
fontSize: TypographyNarrowFontSizeOverline2,
|
|
647
|
-
lineHeight: "0.75rem",
|
|
648
|
-
fontWeight: 500,
|
|
649
|
-
letterSpacing: "0",
|
|
650
|
-
},
|
|
651
|
-
overline3: {
|
|
652
|
-
fontSize: TypographyNarrowFontSizeOverline3,
|
|
653
|
-
lineHeight: "0.75rem",
|
|
654
|
-
fontWeight: 500,
|
|
655
|
-
letterSpacing: "0",
|
|
656
|
-
},
|
|
657
|
-
label1: {
|
|
658
|
-
fontSize: TypographyNarrowFontSizeLabel1,
|
|
659
|
-
lineHeight: "1rem",
|
|
660
|
-
fontWeight: 500,
|
|
661
|
-
letterSpacing: "0",
|
|
662
|
-
},
|
|
663
|
-
label2: {
|
|
664
|
-
fontSize: TypographyNarrowFontSizeLabel2,
|
|
665
|
-
lineHeight: "1rem",
|
|
666
|
-
fontWeight: 500,
|
|
667
|
-
letterSpacing: "0",
|
|
668
|
-
},
|
|
669
|
-
label3: {
|
|
670
|
-
fontSize: TypographyNarrowFontSizeLabel3,
|
|
671
|
-
lineHeight: "1rem",
|
|
672
|
-
fontWeight: 500,
|
|
673
|
-
letterSpacing: "0",
|
|
674
|
-
},
|
|
675
|
-
link1: {
|
|
676
|
-
fontSize: TypographyNarrowFontSizeLink1,
|
|
677
|
-
lineHeight: "1.5rem",
|
|
678
|
-
fontWeight: 500,
|
|
679
|
-
letterSpacing: "0",
|
|
680
|
-
},
|
|
681
|
-
link2: {
|
|
682
|
-
fontSize: TypographyNarrowFontSizeLink2,
|
|
683
|
-
lineHeight: "1.25rem",
|
|
684
|
-
fontWeight: 500,
|
|
685
|
-
letterSpacing: "0",
|
|
686
|
-
},
|
|
687
|
-
link3: {
|
|
688
|
-
fontSize: TypographyNarrowFontSizeLink3,
|
|
689
|
-
lineHeight: "1rem",
|
|
690
|
-
fontWeight: 500,
|
|
691
|
-
letterSpacing: "0",
|
|
692
|
-
},
|
|
693
|
-
digits1: {
|
|
694
|
-
fontSize: TypographyNarrowFontSizeDigits1,
|
|
695
|
-
lineHeight: "3.5rem",
|
|
696
|
-
fontWeight: 700,
|
|
697
|
-
letterSpacing: "0",
|
|
698
|
-
},
|
|
699
|
-
digits2: {
|
|
700
|
-
fontSize: TypographyNarrowFontSizeDigits2,
|
|
701
|
-
lineHeight: "3rem",
|
|
702
|
-
fontWeight: 700,
|
|
703
|
-
letterSpacing: "0",
|
|
704
|
-
},
|
|
705
|
-
digits3: {
|
|
706
|
-
fontSize: TypographyNarrowFontSizeDigits3,
|
|
707
|
-
lineHeight: "2.5rem",
|
|
708
|
-
fontWeight: 700,
|
|
709
|
-
letterSpacing: "0",
|
|
710
|
-
},
|
|
711
|
-
};
|
|
712
|
-
var typography = {
|
|
713
|
-
fontFamily: TypographyPrimaryFontFamily,
|
|
714
|
-
wide: wideTypography,
|
|
715
|
-
medium: mediumTypography,
|
|
716
|
-
narrow: narrowTypography,
|
|
717
|
-
};
|
|
718
|
-
// colors
|
|
719
|
-
var colors = {
|
|
720
|
-
red: {
|
|
721
|
-
100: ColorRed100,
|
|
722
|
-
200: ColorRed200,
|
|
723
|
-
300: ColorRed300,
|
|
724
|
-
400: ColorRed400,
|
|
725
|
-
500: ColorRed500,
|
|
726
|
-
600: ColorRed600,
|
|
727
|
-
700: ColorRed700,
|
|
728
|
-
800: ColorRed800,
|
|
729
|
-
900: ColorRed900,
|
|
730
|
-
},
|
|
731
|
-
orange: {
|
|
732
|
-
100: ColorOrange100,
|
|
733
|
-
200: ColorOrange200,
|
|
734
|
-
300: ColorOrange300,
|
|
735
|
-
400: ColorOrange400,
|
|
736
|
-
500: ColorOrange500,
|
|
737
|
-
600: ColorOrange600,
|
|
738
|
-
700: ColorOrange700,
|
|
739
|
-
800: ColorOrange800,
|
|
740
|
-
900: ColorOrange900,
|
|
741
|
-
},
|
|
742
|
-
yellow: {
|
|
743
|
-
100: ColorYellow100,
|
|
744
|
-
200: ColorYellow200,
|
|
745
|
-
300: ColorYellow300,
|
|
746
|
-
400: ColorYellow400,
|
|
747
|
-
500: ColorYellow500,
|
|
748
|
-
600: ColorYellow600,
|
|
749
|
-
700: ColorYellow700,
|
|
750
|
-
800: ColorYellow800,
|
|
751
|
-
900: ColorYellow900,
|
|
752
|
-
},
|
|
753
|
-
green: {
|
|
754
|
-
100: ColorGreen100,
|
|
755
|
-
200: ColorGreen200,
|
|
756
|
-
300: ColorGreen300,
|
|
757
|
-
400: ColorGreen400,
|
|
758
|
-
500: ColorGreen500,
|
|
759
|
-
600: ColorGreen600,
|
|
760
|
-
700: ColorGreen700,
|
|
761
|
-
800: ColorGreen800,
|
|
762
|
-
900: ColorGreen900,
|
|
763
|
-
},
|
|
764
|
-
sky: {
|
|
765
|
-
100: ColorSky100,
|
|
766
|
-
200: ColorSky200,
|
|
767
|
-
300: ColorSky300,
|
|
768
|
-
400: ColorSky400,
|
|
769
|
-
500: ColorSky500,
|
|
770
|
-
600: ColorSky600,
|
|
771
|
-
700: ColorSky700,
|
|
772
|
-
800: ColorSky800,
|
|
773
|
-
900: ColorSky900,
|
|
774
|
-
},
|
|
775
|
-
blue: {
|
|
776
|
-
100: ColorBlue100,
|
|
777
|
-
200: ColorBlue200,
|
|
778
|
-
300: ColorBlue300,
|
|
779
|
-
400: ColorBlue400,
|
|
780
|
-
500: ColorBlue500,
|
|
781
|
-
600: ColorBlue600,
|
|
782
|
-
700: ColorBlue700,
|
|
783
|
-
800: ColorBlue800,
|
|
784
|
-
900: ColorBlue900,
|
|
785
|
-
},
|
|
786
|
-
purple: {
|
|
787
|
-
100: ColorPurple100,
|
|
788
|
-
200: ColorPurple200,
|
|
789
|
-
300: ColorPurple300,
|
|
790
|
-
400: ColorPurple400,
|
|
791
|
-
500: ColorPurple500,
|
|
792
|
-
600: ColorPurple600,
|
|
793
|
-
700: ColorPurple700,
|
|
794
|
-
800: ColorPurple800,
|
|
795
|
-
900: ColorPurple900,
|
|
796
|
-
},
|
|
797
|
-
gray: {
|
|
798
|
-
100: ColorGray100,
|
|
799
|
-
200: ColorGray200,
|
|
800
|
-
300: ColorGray300,
|
|
801
|
-
400: ColorGray400,
|
|
802
|
-
500: ColorGray500,
|
|
803
|
-
600: ColorGray600,
|
|
804
|
-
700: ColorGray700,
|
|
805
|
-
800: ColorGray800,
|
|
806
|
-
900: ColorGray900,
|
|
807
|
-
black: ColorGrayBlack,
|
|
808
|
-
white: ColorGrayWhite,
|
|
809
|
-
},
|
|
810
|
-
};
|
|
811
|
-
var button = {
|
|
812
|
-
padding: {
|
|
813
|
-
verPadding: sizing.Size25, // 25px
|
|
814
|
-
horPadding: sizing.Size6, // 10px
|
|
815
|
-
},
|
|
816
|
-
gap: sizing.Size2, // 8px
|
|
817
|
-
radius: borderRadius.BorderRadiusMd, // 6px
|
|
818
|
-
};
|
|
819
|
-
var utilityButton = {
|
|
820
|
-
padding: {
|
|
821
|
-
verPadding: 10,
|
|
822
|
-
horPadding: 12,
|
|
823
|
-
},
|
|
824
|
-
gap: sizing.Size2, // 8px
|
|
825
|
-
radius: borderRadius.BorderRadiusSm, // 6px
|
|
826
|
-
};
|
|
827
|
-
var iconButton = {
|
|
828
|
-
padding: {
|
|
829
|
-
verPadding: 10,
|
|
830
|
-
horPadding: 12,
|
|
831
|
-
},
|
|
832
|
-
gap: sizing.Size2, // 8px
|
|
833
|
-
radius: borderRadius.BorderRadiusSm, // 6px
|
|
834
|
-
};
|
|
835
|
-
var input = {
|
|
836
|
-
suffixPrefixVerPadding: 11, // special case - see sizing in FIGMA
|
|
837
|
-
suffixPrefixHorPadding: sizing.Size2,
|
|
838
|
-
};
|
|
839
|
-
var white = "#FFFFFF";
|
|
840
|
-
var disabled = {
|
|
841
|
-
color: "#6C6C6C",
|
|
842
|
-
backgroundColor: "#EEEEEE",
|
|
843
|
-
borderColor: "#CBCBCB",
|
|
844
|
-
};
|
|
845
|
-
var error = {
|
|
846
|
-
color: "#CF3237",
|
|
847
|
-
backgroundColor: "#FFEBEE",
|
|
848
|
-
borderColor: "#FFEBEE",
|
|
849
|
-
};
|
|
850
|
-
var lightInteractive = {
|
|
851
|
-
interactive: {
|
|
852
|
-
primary: {
|
|
853
|
-
active: "#30606B",
|
|
854
|
-
hover: "#00282B",
|
|
855
|
-
pressed: "#214148",
|
|
856
|
-
onsurface: "#FFFFFF",
|
|
857
|
-
},
|
|
858
|
-
secondary: {
|
|
859
|
-
active: "#9A9A9A",
|
|
860
|
-
hover: "#222222",
|
|
861
|
-
pressed: "#101010",
|
|
862
|
-
onsurface: "#3E3E3E",
|
|
863
|
-
},
|
|
864
|
-
tertiary: {
|
|
865
|
-
active: "#FFCA7D",
|
|
866
|
-
hover: "#E7A13C",
|
|
867
|
-
pressed: "#B27330",
|
|
868
|
-
onsurface: "#222222",
|
|
869
|
-
},
|
|
870
|
-
destructive: {
|
|
871
|
-
active: "#CF3237",
|
|
872
|
-
hover: "#AA292D",
|
|
873
|
-
pressed: "#842023",
|
|
874
|
-
onsurface: "#FFFFFF",
|
|
875
|
-
},
|
|
876
|
-
link: {
|
|
877
|
-
active: "#30606B",
|
|
878
|
-
},
|
|
879
|
-
utility: {
|
|
880
|
-
active: "#FFF",
|
|
881
|
-
onsurface: "#222222",
|
|
882
|
-
border: "#CBCBCB",
|
|
883
|
-
hover: "#DEEFF3",
|
|
884
|
-
pressed: "#CBCBCB",
|
|
885
|
-
},
|
|
886
|
-
},
|
|
887
|
-
inputs: {
|
|
888
|
-
onsurface: {
|
|
889
|
-
active: "#384DF6",
|
|
890
|
-
focus: "#384DF6",
|
|
891
|
-
},
|
|
892
|
-
},
|
|
893
|
-
onsurface: {
|
|
894
|
-
"copy-disabled": "#6C6C6C",
|
|
895
|
-
copy: "#3E3E3E",
|
|
896
|
-
"copy-dark": "#222222",
|
|
897
|
-
},
|
|
898
|
-
surface: {
|
|
899
|
-
border: "#CBCBCB",
|
|
900
|
-
},
|
|
901
|
-
transparent: "transparent",
|
|
902
|
-
};
|
|
903
|
-
var darkInteractive = {
|
|
904
|
-
interactive: {
|
|
905
|
-
primary: {
|
|
906
|
-
active: "#30606B",
|
|
907
|
-
hover: "#00282B",
|
|
908
|
-
pressed: "#214148",
|
|
909
|
-
onsurface: "#FFFFFF",
|
|
910
|
-
},
|
|
911
|
-
secondary: {
|
|
912
|
-
active: "#9A9A9A",
|
|
913
|
-
hover: "#222222",
|
|
914
|
-
pressed: "#101010",
|
|
915
|
-
onsurface: "#3E3E3E",
|
|
916
|
-
},
|
|
917
|
-
tertiary: {
|
|
918
|
-
active: "#FFCA7D",
|
|
919
|
-
hover: "#E7A13C",
|
|
920
|
-
pressed: "#B27330",
|
|
921
|
-
onsurface: "#222222",
|
|
922
|
-
},
|
|
923
|
-
destructive: {
|
|
924
|
-
active: "#CF3237",
|
|
925
|
-
hover: "#AA292D",
|
|
926
|
-
pressed: "#842023",
|
|
927
|
-
onsurface: "#FFFFFF",
|
|
928
|
-
},
|
|
929
|
-
link: {
|
|
930
|
-
active: "#30606B",
|
|
931
|
-
},
|
|
932
|
-
utility: {
|
|
933
|
-
active: "#FFF",
|
|
934
|
-
onsurface: "#222222",
|
|
935
|
-
border: "#CBCBCB",
|
|
936
|
-
hover: "#DEEFF3",
|
|
937
|
-
pressed: "#CBCBCB",
|
|
938
|
-
},
|
|
939
|
-
},
|
|
940
|
-
inputs: {
|
|
941
|
-
onsurface: {
|
|
942
|
-
active: "#384DF6",
|
|
943
|
-
focus: "#384DF6",
|
|
944
|
-
},
|
|
945
|
-
},
|
|
946
|
-
onsurface: {
|
|
947
|
-
"copy-disabled": "#6C6C6C",
|
|
948
|
-
copy: "#3E3E3E",
|
|
949
|
-
"copy-dark": "#222222",
|
|
950
|
-
},
|
|
951
|
-
surface: {
|
|
952
|
-
border: "#CBCBCB",
|
|
953
|
-
},
|
|
954
|
-
transparent: "transparent",
|
|
955
|
-
};
|
|
956
|
-
var lightModeColors = {
|
|
957
|
-
primary: {
|
|
958
|
-
active: {
|
|
959
|
-
color: lightInteractive.interactive.primary.onsurface,
|
|
960
|
-
backgroundColor: lightInteractive.interactive.primary.active,
|
|
961
|
-
borderColor: lightInteractive.interactive.primary.active,
|
|
962
|
-
},
|
|
963
|
-
hover: {
|
|
964
|
-
color: lightInteractive.interactive.primary.onsurface,
|
|
965
|
-
backgroundColor: lightInteractive.interactive.primary.hover,
|
|
966
|
-
borderColor: lightInteractive.interactive.primary.hover,
|
|
967
|
-
},
|
|
968
|
-
pressed: {
|
|
969
|
-
color: lightInteractive.interactive.primary.onsurface,
|
|
970
|
-
backgroundColor: lightInteractive.interactive.primary.pressed,
|
|
971
|
-
borderColor: lightInteractive.interactive.primary.pressed,
|
|
972
|
-
},
|
|
973
|
-
focussed: {
|
|
974
|
-
color: lightInteractive.interactive.primary.onsurface,
|
|
975
|
-
backgroundColor: lightInteractive.interactive.primary.active,
|
|
976
|
-
borderColor: lightInteractive.interactive.primary.active,
|
|
977
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
978
|
-
},
|
|
979
|
-
error: __assign(__assign({}, error), { ringColor: lightInteractive.inputs.onsurface.focus }),
|
|
980
|
-
default: {
|
|
981
|
-
color: lightInteractive.interactive.primary.onsurface,
|
|
982
|
-
backgroundColor: lightInteractive.interactive.primary.active,
|
|
983
|
-
borderColor: lightInteractive.interactive.primary.active,
|
|
984
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
985
|
-
},
|
|
986
|
-
disabled: disabled,
|
|
987
|
-
},
|
|
988
|
-
secondary: {
|
|
989
|
-
active: {
|
|
990
|
-
color: lightInteractive.interactive.secondary.onsurface,
|
|
991
|
-
backgroundColor: lightInteractive.transparent,
|
|
992
|
-
borderColor: lightInteractive.interactive.secondary.active,
|
|
993
|
-
},
|
|
994
|
-
hover: {
|
|
995
|
-
color: lightInteractive.interactive.primary.onsurface,
|
|
996
|
-
backgroundColor: lightInteractive.interactive.secondary.hover,
|
|
997
|
-
borderColor: lightInteractive.interactive.secondary.hover,
|
|
998
|
-
},
|
|
999
|
-
pressed: {
|
|
1000
|
-
color: lightInteractive.interactive.primary.onsurface,
|
|
1001
|
-
backgroundColor: lightInteractive.interactive.secondary.pressed,
|
|
1002
|
-
borderColor: lightInteractive.interactive.secondary.active,
|
|
1003
|
-
},
|
|
1004
|
-
focussed: {
|
|
1005
|
-
color: lightInteractive.interactive.secondary.onsurface,
|
|
1006
|
-
backgroundColor: lightInteractive.transparent,
|
|
1007
|
-
borderColor: lightInteractive.interactive.secondary.active,
|
|
1008
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1009
|
-
},
|
|
1010
|
-
error: __assign(__assign({}, error), { ringColor: lightInteractive.inputs.onsurface.focus }),
|
|
1011
|
-
default: {
|
|
1012
|
-
color: lightInteractive.interactive.secondary.onsurface,
|
|
1013
|
-
backgroundColor: lightInteractive.transparent,
|
|
1014
|
-
borderColor: lightInteractive.interactive.secondary.active,
|
|
1015
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1016
|
-
},
|
|
1017
|
-
disabled: disabled,
|
|
1018
|
-
},
|
|
1019
|
-
tertiary: {
|
|
1020
|
-
active: {
|
|
1021
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1022
|
-
backgroundColor: lightInteractive.interactive.tertiary.active,
|
|
1023
|
-
borderColor: lightInteractive.interactive.tertiary.active,
|
|
1024
|
-
},
|
|
1025
|
-
hover: {
|
|
1026
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1027
|
-
backgroundColor: lightInteractive.interactive.tertiary.hover,
|
|
1028
|
-
borderColor: lightInteractive.interactive.tertiary.hover,
|
|
1029
|
-
},
|
|
1030
|
-
pressed: {
|
|
1031
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1032
|
-
backgroundColor: lightInteractive.interactive.tertiary.pressed,
|
|
1033
|
-
borderColor: lightInteractive.interactive.tertiary.pressed,
|
|
1034
|
-
},
|
|
1035
|
-
focussed: {
|
|
1036
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1037
|
-
backgroundColor: lightInteractive.interactive.tertiary.active,
|
|
1038
|
-
borderColor: lightInteractive.interactive.tertiary.active,
|
|
1039
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1040
|
-
},
|
|
1041
|
-
error: __assign(__assign({}, error), { ringColor: lightInteractive.inputs.onsurface.focus }),
|
|
1042
|
-
default: {
|
|
1043
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1044
|
-
backgroundColor: lightInteractive.interactive.tertiary.active,
|
|
1045
|
-
borderColor: lightInteractive.interactive.tertiary.active,
|
|
1046
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1047
|
-
},
|
|
1048
|
-
disabled: disabled,
|
|
1049
|
-
},
|
|
1050
|
-
destructive: {
|
|
1051
|
-
active: {
|
|
1052
|
-
color: lightInteractive.interactive.destructive.onsurface,
|
|
1053
|
-
backgroundColor: lightInteractive.interactive.destructive.active,
|
|
1054
|
-
borderColor: lightInteractive.interactive.destructive.active,
|
|
1055
|
-
},
|
|
1056
|
-
hover: {
|
|
1057
|
-
color: lightInteractive.interactive.destructive.onsurface,
|
|
1058
|
-
backgroundColor: lightInteractive.interactive.destructive.hover,
|
|
1059
|
-
borderColor: lightInteractive.interactive.destructive.hover,
|
|
1060
|
-
},
|
|
1061
|
-
pressed: {
|
|
1062
|
-
color: lightInteractive.interactive.destructive.onsurface,
|
|
1063
|
-
backgroundColor: lightInteractive.interactive.destructive.pressed,
|
|
1064
|
-
borderColor: lightInteractive.interactive.destructive.pressed,
|
|
1065
|
-
},
|
|
1066
|
-
focussed: {
|
|
1067
|
-
color: lightInteractive.interactive.destructive.onsurface,
|
|
1068
|
-
backgroundColor: lightInteractive.interactive.destructive.active,
|
|
1069
|
-
borderColor: lightInteractive.interactive.destructive.active,
|
|
1070
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1071
|
-
},
|
|
1072
|
-
error: __assign(__assign({}, error), { ringColor: lightInteractive.inputs.onsurface.focus }),
|
|
1073
|
-
default: {
|
|
1074
|
-
color: lightInteractive.interactive.destructive.onsurface,
|
|
1075
|
-
backgroundColor: lightInteractive.interactive.destructive.active,
|
|
1076
|
-
borderColor: lightInteractive.interactive.destructive.active,
|
|
1077
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1078
|
-
},
|
|
1079
|
-
disabled: disabled,
|
|
1080
|
-
},
|
|
1081
|
-
utility: {
|
|
1082
|
-
active: {
|
|
1083
|
-
color: lightInteractive.interactive.secondary.onsurface,
|
|
1084
|
-
backgroundColor: "#FFF",
|
|
1085
|
-
borderColor: lightInteractive.interactive.secondary.active,
|
|
1086
|
-
},
|
|
1087
|
-
hover: {
|
|
1088
|
-
color: lightInteractive.interactive.utility.onsurface,
|
|
1089
|
-
backgroundColor: lightInteractive.interactive.utility.hover,
|
|
1090
|
-
borderColor: lightInteractive.interactive.utility.border,
|
|
1091
|
-
},
|
|
1092
|
-
pressed: {
|
|
1093
|
-
color: lightInteractive.interactive.secondary.onsurface,
|
|
1094
|
-
backgroundColor: lightInteractive.interactive.utility.pressed,
|
|
1095
|
-
borderColor: lightInteractive.interactive.utility.pressed,
|
|
1096
|
-
},
|
|
1097
|
-
focussed: {
|
|
1098
|
-
color: lightInteractive.interactive.secondary.onsurface,
|
|
1099
|
-
backgroundColor: "#FFF",
|
|
1100
|
-
borderColor: lightInteractive.interactive.secondary.active,
|
|
1101
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1102
|
-
},
|
|
1103
|
-
error: __assign(__assign({}, error), { ringColor: lightInteractive.inputs.onsurface.focus }),
|
|
1104
|
-
default: {
|
|
1105
|
-
color: lightInteractive.interactive.secondary.onsurface,
|
|
1106
|
-
backgroundColor: lightInteractive.transparent,
|
|
1107
|
-
borderColor: lightInteractive.interactive.secondary.active,
|
|
1108
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1109
|
-
},
|
|
1110
|
-
disabled: disabled,
|
|
1111
|
-
},
|
|
1112
|
-
icon: {
|
|
1113
|
-
active: {
|
|
1114
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1115
|
-
backgroundColor: "transparent",
|
|
1116
|
-
borderColor: "transparent",
|
|
1117
|
-
},
|
|
1118
|
-
hover: {
|
|
1119
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1120
|
-
backgroundColor: "#DEEFF3",
|
|
1121
|
-
borderColor: "transparent",
|
|
1122
|
-
},
|
|
1123
|
-
pressed: {
|
|
1124
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1125
|
-
backgroundColor: "#DEEFF3",
|
|
1126
|
-
borderColor: "transparent",
|
|
1127
|
-
},
|
|
1128
|
-
selected: {
|
|
1129
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1130
|
-
backgroundColor: "#DEEFF3",
|
|
1131
|
-
borderColor: "transparent",
|
|
1132
|
-
},
|
|
1133
|
-
focussed: {
|
|
1134
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1135
|
-
backgroundColor: "transparent",
|
|
1136
|
-
borderColor: "transparent",
|
|
1137
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1138
|
-
},
|
|
1139
|
-
error: __assign(__assign({}, error), { ringColor: lightInteractive.inputs.onsurface.focus }),
|
|
1140
|
-
default: {
|
|
1141
|
-
color: lightInteractive.interactive.tertiary.onsurface,
|
|
1142
|
-
backgroundColor: lightInteractive.interactive.tertiary.active,
|
|
1143
|
-
borderColor: lightInteractive.interactive.tertiary.active,
|
|
1144
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1145
|
-
},
|
|
1146
|
-
disabled: disabled,
|
|
1147
|
-
},
|
|
1148
|
-
status: {
|
|
1149
|
-
error: {
|
|
1150
|
-
default: "#CF3237",
|
|
1151
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1152
|
-
onsurface: "#AA292D",
|
|
1153
|
-
surface: "#F9D4D5",
|
|
1154
|
-
"surface-hover": "#F3A9AB",
|
|
1155
|
-
},
|
|
1156
|
-
success: {
|
|
1157
|
-
default: "#32863E",
|
|
1158
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1159
|
-
onsurface: "#296E33",
|
|
1160
|
-
surface: "#D3EFD7",
|
|
1161
|
-
"surface-hover": "#A7DFAF",
|
|
1162
|
-
},
|
|
1163
|
-
warning: {
|
|
1164
|
-
default: ColorYellow500,
|
|
1165
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1166
|
-
onsurface: "#704819",
|
|
1167
|
-
surface: "#FFF2DF",
|
|
1168
|
-
"surface-hover": "#FFE5BE",
|
|
1169
|
-
},
|
|
1170
|
-
info: {
|
|
1171
|
-
default: "#384DF6",
|
|
1172
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1173
|
-
onsurface: "#2E3FCA",
|
|
1174
|
-
surface: "#D7DBFD",
|
|
1175
|
-
},
|
|
1176
|
-
generic: {
|
|
1177
|
-
default: "#9A9A9A",
|
|
1178
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1179
|
-
onsurface: "#3E3E3E",
|
|
1180
|
-
surface: "#F4F4F4",
|
|
1181
|
-
"surface-hover": "#F4F4F4",
|
|
1182
|
-
},
|
|
1183
|
-
hollow: {
|
|
1184
|
-
default: "#9A9A9A",
|
|
1185
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1186
|
-
onsurface: "#3E3E3E",
|
|
1187
|
-
surface: "#F4F4F4",
|
|
1188
|
-
"surface-hover": "#FFFFFF",
|
|
1189
|
-
},
|
|
1190
|
-
disabled: {
|
|
1191
|
-
default: "#6C6C6C",
|
|
1192
|
-
ringColor: lightInteractive.inputs.onsurface.focus,
|
|
1193
|
-
onsurface: "#EEEEEE",
|
|
1194
|
-
surface: "#EEEEEE",
|
|
1195
|
-
},
|
|
1196
|
-
},
|
|
1197
|
-
timebox: {
|
|
1198
|
-
evening: {
|
|
1199
|
-
default: "#9F539F",
|
|
1200
|
-
},
|
|
1201
|
-
},
|
|
1202
|
-
interactive: __assign({ primary: {
|
|
1203
|
-
active: "#30606B",
|
|
1204
|
-
hover: "#00282B",
|
|
1205
|
-
pressed: "#214148",
|
|
1206
|
-
onsurface: "#FFFFFF",
|
|
1207
|
-
}, secondary: {
|
|
1208
|
-
active: "#9A9A9A",
|
|
1209
|
-
hover: "#222222",
|
|
1210
|
-
pressed: "#101010",
|
|
1211
|
-
onsurface: "#3E3E3E",
|
|
1212
|
-
}, tertiary: {
|
|
1213
|
-
active: "#FFCA7D",
|
|
1214
|
-
hover: "#E7A13C",
|
|
1215
|
-
pressed: "#B27330",
|
|
1216
|
-
onsurface: "#222222",
|
|
1217
|
-
}, link: {
|
|
1218
|
-
active: ColorSky700,
|
|
1219
|
-
hover: ColorSky900,
|
|
1220
|
-
disabled: ColorGray100,
|
|
1221
|
-
current: "#384DF6",
|
|
1222
|
-
} }, lightInteractive.interactive),
|
|
1223
|
-
inputs: {
|
|
1224
|
-
surface: {
|
|
1225
|
-
active: ColorGrayWhite,
|
|
1226
|
-
border: ColorGray500,
|
|
1227
|
-
disabled: ColorGray100,
|
|
1228
|
-
checked: "#384DF6",
|
|
1229
|
-
"checked-hover": "#24319D",
|
|
1230
|
-
},
|
|
1231
|
-
onsurface: {
|
|
1232
|
-
active: "#222222",
|
|
1233
|
-
focus: "#384DF6",
|
|
1234
|
-
placeholder: "#6C6C6C",
|
|
1235
|
-
"icon-disabled": "#6C6C6C",
|
|
1236
|
-
},
|
|
1237
|
-
progress: {
|
|
1238
|
-
empty: ColorGray300,
|
|
1239
|
-
success: ColorGreen400,
|
|
1240
|
-
error: ColorRed500,
|
|
1241
|
-
info: ColorBlue400,
|
|
1242
|
-
},
|
|
1243
|
-
},
|
|
1244
|
-
surface: {
|
|
1245
|
-
border: "#CBCBCB",
|
|
1246
|
-
secondary: "#F4F4F4",
|
|
1247
|
-
tertiary: "#EEEEEE",
|
|
1248
|
-
"border-light": "#DFDFDF",
|
|
1249
|
-
},
|
|
1250
|
-
transparent: "transparent",
|
|
1251
|
-
onsurface: {
|
|
1252
|
-
copy: "#3E3E3E",
|
|
1253
|
-
"copy-light": ColorGray700,
|
|
1254
|
-
"copy-dark": "#222222",
|
|
1255
|
-
"copy-disabled": "#6C6C6C",
|
|
1256
|
-
},
|
|
1257
|
-
};
|
|
1258
|
-
// TODO: Add dark mode colors so the both light and dark mode colors are in sync and maintainable
|
|
1259
|
-
// There is no immediate need for dark mode colors, but we should add them in the future
|
|
1260
|
-
// since they are part of the design system and we have the dark colors in Figma
|
|
1261
|
-
// but no components nor layouts are actually expressed in dark mode colors
|
|
1262
|
-
var darkModeColors = lightModeColors;
|
|
1263
|
-
var darkModeColorsTODO = {
|
|
1264
|
-
primary: {
|
|
1265
|
-
active: {
|
|
1266
|
-
color: colors.gray.white,
|
|
1267
|
-
backgroundColor: "#1A3D44",
|
|
1268
|
-
borderColor: "#1A3D44",
|
|
1269
|
-
},
|
|
1270
|
-
hover: {
|
|
1271
|
-
color: colors.gray.white,
|
|
1272
|
-
backgroundColor: "#0D1F22",
|
|
1273
|
-
borderColor: "#0D1F22",
|
|
1274
|
-
},
|
|
1275
|
-
pressed: {
|
|
1276
|
-
color: colors.gray.white,
|
|
1277
|
-
backgroundColor: "#0D1F22",
|
|
1278
|
-
borderColor: "#0D1F22",
|
|
1279
|
-
},
|
|
1280
|
-
focussed: {
|
|
1281
|
-
color: colors.gray.white,
|
|
1282
|
-
backgroundColor: "#0D1F22",
|
|
1283
|
-
borderColor: "#0D1F22",
|
|
1284
|
-
ringColor: "#384DF6",
|
|
1285
|
-
},
|
|
1286
|
-
disabled: {
|
|
1287
|
-
color: colors.gray[600],
|
|
1288
|
-
backgroundColor: "#2C2C2C",
|
|
1289
|
-
borderColor: "#2C2C2C",
|
|
1290
|
-
},
|
|
1291
|
-
},
|
|
1292
|
-
secondary: {
|
|
1293
|
-
active: {
|
|
1294
|
-
color: colors.gray.white,
|
|
1295
|
-
backgroundColor: "#4D4D4D",
|
|
1296
|
-
borderColor: "#4D4D4D",
|
|
1297
|
-
},
|
|
1298
|
-
hover: {
|
|
1299
|
-
color: colors.gray.white,
|
|
1300
|
-
backgroundColor: "#666666",
|
|
1301
|
-
borderColor: "#666666",
|
|
1302
|
-
},
|
|
1303
|
-
pressed: {
|
|
1304
|
-
color: colors.gray.white,
|
|
1305
|
-
backgroundColor: ColorSky800,
|
|
1306
|
-
borderColor: ColorSky800,
|
|
1307
|
-
},
|
|
1308
|
-
focussed: {
|
|
1309
|
-
color: colors.gray.white,
|
|
1310
|
-
backgroundColor: ColorSky800,
|
|
1311
|
-
borderColor: ColorSky800,
|
|
1312
|
-
ringColor: "#384DF6",
|
|
1313
|
-
},
|
|
1314
|
-
disabled: {
|
|
1315
|
-
color: colors.gray[600],
|
|
1316
|
-
backgroundColor: ColorGray800,
|
|
1317
|
-
borderColor: ColorGray800,
|
|
1318
|
-
},
|
|
1319
|
-
},
|
|
1320
|
-
tertiary: {
|
|
1321
|
-
active: {
|
|
1322
|
-
color: colors.gray.white,
|
|
1323
|
-
backgroundColor: "#8B6B3C",
|
|
1324
|
-
borderColor: "#8B6B3C",
|
|
1325
|
-
},
|
|
1326
|
-
hover: {
|
|
1327
|
-
color: colors.gray.white,
|
|
1328
|
-
backgroundColor: "#735929",
|
|
1329
|
-
borderColor: "#735929",
|
|
1330
|
-
},
|
|
1331
|
-
pressed: {
|
|
1332
|
-
color: colors.gray.white,
|
|
1333
|
-
backgroundColor: ColorYellow800,
|
|
1334
|
-
borderColor: ColorYellow800,
|
|
1335
|
-
},
|
|
1336
|
-
focussed: {
|
|
1337
|
-
color: colors.gray.white,
|
|
1338
|
-
backgroundColor: ColorYellow800,
|
|
1339
|
-
borderColor: ColorYellow800,
|
|
1340
|
-
ringColor: "#384DF6",
|
|
1341
|
-
},
|
|
1342
|
-
disabled: {
|
|
1343
|
-
color: colors.gray[600],
|
|
1344
|
-
backgroundColor: ColorYellow900,
|
|
1345
|
-
borderColor: ColorYellow900,
|
|
1346
|
-
},
|
|
1347
|
-
},
|
|
1348
|
-
utility: {
|
|
1349
|
-
active: {
|
|
1350
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1351
|
-
backgroundColor: darkInteractive.interactive.tertiary.active,
|
|
1352
|
-
borderColor: darkInteractive.interactive.tertiary.active,
|
|
1353
|
-
},
|
|
1354
|
-
hover: {
|
|
1355
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1356
|
-
backgroundColor: darkInteractive.interactive.tertiary.hover,
|
|
1357
|
-
borderColor: darkInteractive.interactive.tertiary.hover,
|
|
1358
|
-
},
|
|
1359
|
-
pressed: {
|
|
1360
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1361
|
-
backgroundColor: darkInteractive.interactive.tertiary.pressed,
|
|
1362
|
-
borderColor: darkInteractive.interactive.tertiary.pressed,
|
|
1363
|
-
},
|
|
1364
|
-
focussed: {
|
|
1365
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1366
|
-
backgroundColor: darkInteractive.interactive.tertiary.active,
|
|
1367
|
-
borderColor: darkInteractive.interactive.tertiary.active,
|
|
1368
|
-
ringColor: darkInteractive.inputs.onsurface.focus,
|
|
1369
|
-
},
|
|
1370
|
-
error: __assign(__assign({}, error), { ringColor: darkInteractive.inputs.onsurface.focus }),
|
|
1371
|
-
default: {
|
|
1372
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1373
|
-
backgroundColor: darkInteractive.interactive.tertiary.active,
|
|
1374
|
-
borderColor: darkInteractive.interactive.tertiary.active,
|
|
1375
|
-
ringColor: darkInteractive.inputs.onsurface.focus,
|
|
1376
|
-
},
|
|
1377
|
-
disabled: disabled,
|
|
1378
|
-
},
|
|
1379
|
-
icon: {
|
|
1380
|
-
active: {
|
|
1381
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1382
|
-
backgroundColor: "transparent",
|
|
1383
|
-
borderColor: "transparent",
|
|
1384
|
-
},
|
|
1385
|
-
hover: {
|
|
1386
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1387
|
-
backgroundColor: "transparent",
|
|
1388
|
-
borderColor: "transparent",
|
|
1389
|
-
},
|
|
1390
|
-
pressed: {
|
|
1391
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1392
|
-
backgroundColor: darkInteractive.interactive.tertiary.pressed,
|
|
1393
|
-
borderColor: darkInteractive.interactive.tertiary.pressed,
|
|
1394
|
-
},
|
|
1395
|
-
focussed: {
|
|
1396
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1397
|
-
backgroundColor: darkInteractive.interactive.tertiary.active,
|
|
1398
|
-
borderColor: darkInteractive.interactive.tertiary.active,
|
|
1399
|
-
ringColor: darkInteractive.inputs.onsurface.focus,
|
|
1400
|
-
},
|
|
1401
|
-
error: __assign(__assign({}, error), { ringColor: darkInteractive.inputs.onsurface.focus }),
|
|
1402
|
-
default: {
|
|
1403
|
-
color: darkInteractive.interactive.tertiary.onsurface,
|
|
1404
|
-
backgroundColor: darkInteractive.interactive.tertiary.active,
|
|
1405
|
-
borderColor: darkInteractive.interactive.tertiary.active,
|
|
1406
|
-
ringColor: darkInteractive.inputs.onsurface.focus,
|
|
1407
|
-
},
|
|
1408
|
-
disabled: disabled,
|
|
1409
|
-
},
|
|
1410
|
-
interactive: __assign({ primary: {
|
|
1411
|
-
active: "#30606B",
|
|
1412
|
-
hover: "#00282B",
|
|
1413
|
-
pressed: "#214148",
|
|
1414
|
-
onsurface: "#FFFFFF",
|
|
1415
|
-
}, secondary: {
|
|
1416
|
-
active: "#9A9A9A",
|
|
1417
|
-
hover: "#222222",
|
|
1418
|
-
pressed: "#101010",
|
|
1419
|
-
onsurface: "#3E3E3E",
|
|
1420
|
-
}, tertiary: {
|
|
1421
|
-
active: "#FFCA7D",
|
|
1422
|
-
hover: "#E7A13C",
|
|
1423
|
-
pressed: "#B27330",
|
|
1424
|
-
onsurface: "#222222",
|
|
1425
|
-
}, link: {
|
|
1426
|
-
active: ColorSky300,
|
|
1427
|
-
hover: ColorSky400,
|
|
1428
|
-
disabled: ColorGray100,
|
|
1429
|
-
current: "#384DF6",
|
|
1430
|
-
} }, darkInteractive.interactive),
|
|
1431
|
-
};
|
|
1432
|
-
var colorModes = {
|
|
1433
|
-
light: lightModeColors,
|
|
1434
|
-
dark: darkModeColors,
|
|
1435
|
-
};
|
|
1436
|
-
var shadows = {
|
|
1437
|
-
general: {
|
|
1438
|
-
"1": "0px 4px 16px 0px #00000026",
|
|
1439
|
-
"2": "0px 8px 24px -4px #00000026",
|
|
1440
|
-
"3": "0px 2px 3px -1px #00000026",
|
|
1441
|
-
"4": "4px 0px 7px -3px #0000001F",
|
|
1442
|
-
},
|
|
1443
|
-
actions: {
|
|
1444
|
-
"1": "0px 2px 2px -1px #00000033",
|
|
1445
|
-
"2": "0px 1px 2px 0px #00000026",
|
|
1446
|
-
},
|
|
1447
|
-
inputs: {
|
|
1448
|
-
"1": "0px 1px 2px 0px #0000001F",
|
|
1449
|
-
},
|
|
1450
|
-
};
|
|
1451
|
-
var motion = {
|
|
1452
|
-
instant: 0,
|
|
1453
|
-
veryfast: 0.15,
|
|
1454
|
-
fast: 0.33,
|
|
1455
|
-
medium: 0.5,
|
|
1456
|
-
slow: 1,
|
|
1457
|
-
veryslow: 2,
|
|
1458
|
-
};
|
|
1459
|
-
var badge = {
|
|
1460
|
-
"ver-padding": 4,
|
|
1461
|
-
"right-padding": 8,
|
|
1462
|
-
"left-padding": 8,
|
|
1463
|
-
radius: 50,
|
|
1464
|
-
};
|
|
1465
|
-
var popover = {
|
|
1466
|
-
"ver-padding": sizing.Size1,
|
|
1467
|
-
"hor-padding": sizing.Size2,
|
|
1468
|
-
radius: borderRadius.BorderRadiusMd,
|
|
1469
|
-
gap: sizing.Size1,
|
|
1470
|
-
};
|
|
1471
|
-
var row = {
|
|
1472
|
-
"ver-padding": sizing.Size5,
|
|
1473
|
-
"hor-padding": sizing.Size6,
|
|
1474
|
-
gap: sizing.Size2,
|
|
1475
|
-
};
|
|
1476
|
-
var tableCell = {
|
|
1477
|
-
surface: ColorGrayWhite,
|
|
1478
|
-
hover: ColorGray100,
|
|
1479
|
-
pressed: ColorGray200,
|
|
1480
|
-
focussed: ColorGray300,
|
|
1481
|
-
disabled: ColorGray400,
|
|
1482
|
-
selected: ColorSky800,
|
|
1483
|
-
border: "#E0E0E0",
|
|
1484
|
-
ring: "#E0E0E0",
|
|
1485
|
-
};
|
|
1486
|
-
var components = {
|
|
1487
|
-
button: button,
|
|
1488
|
-
utilityButton: utilityButton,
|
|
1489
|
-
iconButton: iconButton,
|
|
1490
|
-
input: input,
|
|
1491
|
-
row: row,
|
|
1492
|
-
badge: badge,
|
|
1493
|
-
popover: popover,
|
|
1494
|
-
tableCell: tableCell,
|
|
1495
|
-
};
|
|
1496
|
-
// we can define convenience functions here to reduce the complexity of the theme object
|
|
1497
|
-
var getStatusColor = function (colors, status) {
|
|
1498
|
-
return colors.status[status].default;
|
|
1499
|
-
};
|
|
1500
|
-
export var baseTokens = {
|
|
1501
|
-
breakpoints: breakpoints,
|
|
1502
|
-
sizing: sizing,
|
|
1503
|
-
borderRadius: borderRadius,
|
|
1504
|
-
typography: typography,
|
|
1505
|
-
allColors: colors,
|
|
1506
|
-
components: components,
|
|
1507
|
-
motion: motion,
|
|
1508
|
-
shadows: shadows,
|
|
1509
|
-
getStatusColor: getStatusColor,
|
|
1510
|
-
};
|
|
1511
|
-
export var lightTheme = __assign(__assign({}, baseTokens), { colors: lightModeColors, mode: "light" });
|
|
1512
|
-
export var darkTheme = __assign(__assign({}, baseTokens), { colors: darkModeColors, mode: "dark" });
|