@equisoft/design-elements-react 6.4.1-snapshot.20240613182657 → 6.4.1
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.js +1307 -1400
- package/dist/bundle.js.LICENSE.txt +6 -33
- package/dist/components/accordion/accordion.d.ts +0 -1
- package/dist/components/buttons/abstract-button.d.ts +4 -7
- package/dist/components/buttons/button.d.ts +5 -13
- package/dist/components/buttons/icon-button.d.ts +28 -3
- package/dist/components/checkbox/checkbox.d.ts +3 -2
- package/dist/components/device-context-provider/device-context-provider.d.ts +1 -1
- package/dist/components/dropdown-list/dropdown-list.d.ts +3 -5
- package/dist/components/dropdown-menu/list-items/nav-item.d.ts +0 -2
- package/dist/components/external-link/external-link.d.ts +2 -2
- package/dist/components/global-banner/global-banner.d.ts +3 -4
- package/dist/components/listbox/listbox.d.ts +3 -0
- package/dist/components/lozenge/lozenge.d.ts +2 -3
- package/dist/components/menu/menu.d.ts +0 -1
- package/dist/components/option-button/option-button.d.ts +10 -0
- package/dist/components/pagination/pagination.d.ts +3 -2
- package/dist/components/password-creation-input/password-creation-input.d.ts +4 -0
- package/dist/components/password-input/password-input.d.ts +0 -1
- package/dist/components/progress-tracker/progress-tracker.d.ts +5 -10
- package/dist/components/radio-card-group/styled-components.d.ts +3 -3
- package/dist/components/table/sort-button-icon.d.ts +0 -1
- package/dist/components/table/sortable-column-heading.d.ts +7 -0
- package/dist/components/table/table-row.d.ts +8 -10
- package/dist/components/table/table.d.ts +24 -10
- package/dist/components/table/utils/table-utils.d.ts +0 -3
- package/dist/components/tabs/tab-button.d.ts +1 -2
- package/dist/components/tabs/tab-panel.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +3 -4
- package/dist/components/tag/tag.d.ts +8 -6
- package/dist/components/text-input/styles/inputs.d.ts +3 -9
- package/dist/components/text-input/text-input.d.ts +0 -3
- package/dist/components/theme-wrapper/theme-wrapper.d.ts +2 -2
- package/dist/components/toast/toast-container.d.ts +1 -1
- package/dist/components/toast/toast-type.d.ts +2 -3
- package/dist/components/{segmented-control/segmented-control.d.ts → toggle-button-group/toggle-button-group.d.ts} +2 -3
- package/dist/hooks/use-click-outside.d.ts +1 -1
- package/dist/hooks/use-list-cursor.d.ts +1 -2
- package/dist/hooks/use-theme.d.ts +2 -2
- package/dist/i18n/translations.d.ts +2 -40
- package/dist/index.d.ts +9 -13
- package/dist/theme.d.ts +1 -2
- package/dist/theme.js +1 -1
- package/dist/themes/equisoft.d.ts +2 -1
- package/dist/themes/greys.d.ts +2 -0
- package/dist/themes/index.d.ts +1 -2
- package/dist/themes/main.d.ts +2 -0
- package/dist/themes/notifications.d.ts +2 -0
- package/dist/themes/test-theme.d.ts +2 -0
- package/dist/themes/theme.d.ts +45 -10
- package/dist/themes/tokens.d.ts +2 -0
- package/dist/utils/array.d.ts +2 -13
- package/dist/utils/css-state.d.ts +7 -12
- package/dist/utils/dom.d.ts +0 -1
- package/dist/utils/string.d.ts +0 -1
- package/package.json +31 -30
- package/dist/components/combobox/combobox.d.ts +0 -74
- package/dist/components/table/table-footer.d.ts +0 -8
- package/dist/components/table/table-header.d.ts +0 -8
- package/dist/components/table/types.d.ts +0 -17
- package/dist/components/tag/toggle-tag.d.ts +0 -20
- package/dist/hooks/use-scrollable.d.ts +0 -19
- package/dist/themes/build-theme.d.ts +0 -2
- package/dist/themes/build-theme.test.d.ts +0 -1
- package/dist/themes/tokens/alias-tokens.d.ts +0 -44
- package/dist/themes/tokens/component/accordion-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/avatar-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/badge-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/button-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/card-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/carousel-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/checkbox-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/chooser-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/combobox-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/datepicker-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/field-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/focus-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/global-banner-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/global-header-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/global-navigation-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/heading-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/label-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/legend-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/link-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/listbox-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/lozenge-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/menu-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/modal-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/nav-list-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/numeric-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/pagination-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/password-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/phone-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/progress-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/radio-card-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/search-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/segmented-control-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/side-drawer-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/spinner-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/status-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/stepper-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/tab-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/table-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/tag-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/text-area-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/text-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/toast-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/toggletip-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/tooltip-tokens.d.ts +0 -8
- package/dist/themes/tokens/component-tokens.d.ts +0 -64
- package/dist/themes/tokens/index.d.ts +0 -3
- package/dist/themes/tokens/ref/color-utility-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref/palette-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref-tokens.d.ts +0 -10
- package/dist/utility-types.d.ts +0 -1
- package/dist/utils/dev-console.d.ts +0 -3
- package/dist/utils/dom.test.d.ts +0 -1
- /package/dist/components/{progress-indicator → bar}/bar.d.ts +0 -0
- /package/dist/components/{progress-circle → circle}/circle.d.ts +0 -0
- /package/dist/{legacy-constants → tokens}/breakpoints.d.ts +0 -0
- /package/dist/{legacy-constants → tokens}/menuDimensions.d.ts +0 -0
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type NavListTokens = 'nav-list-background-color' | 'nav-list-border-color' | 'nav-list-item-text-color' | 'nav-list-item-icon-color' | 'nav-list-item-hover-background-color' | 'nav-list-item-text-hover-color' | 'nav-list-item-icon-hover-color' | 'nav-list-item-disabled-text-color' | 'nav-list-box-shadow-color';
|
|
4
|
-
export type NavListTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type NavListTokenMap = {
|
|
6
|
-
[Token in NavListTokens]: NavListTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultNavListTokens: NavListTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type NumericInputTokens = 'numeric-input-background-color' | 'numeric-input-border-color' | 'numeric-input-error-border-color' | 'numeric-input-disabled-background-color' | 'numeric-input-disabled-border-color' | 'numeric-input-disabled-adornment-text-color';
|
|
4
|
-
export type NumericInputTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type NumericInputTokenMap = {
|
|
6
|
-
[Token in NumericInputTokens]: NumericInputTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultNumericInputTokens: NumericInputTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type PaginationTokens = 'pagination-page-background-color' | 'pagination-page-text-color' | 'pagination-page-hover-background-color' | 'pagination-page-selected-hover-background-color' | 'pagination-page-selected-background-color' | 'pagination-page-selected-border-color' | 'pagination-page-selected-text-color';
|
|
4
|
-
export type PaginationTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type PaginationTokenMap = {
|
|
6
|
-
[Token in PaginationTokens]: PaginationTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultPaginationTokens: PaginationTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type PasswordInputTokens = 'password-rule-empty-text-color' | 'password-rule-success-text-color' | 'password-rule-error-text-color' | 'password-strength-label-text-color' | 'password-strength-meter-empty-color' | 'password-strength-meter-weak-color' | 'password-strength-meter-fair-color' | 'password-strength-meter-good-color' | 'password-strength-meter-strong-color';
|
|
4
|
-
export type PasswordInputTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type PasswordInputTokenMap = {
|
|
6
|
-
[Token in PasswordInputTokens]: PasswordInputTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultPasswordInputTokens: PasswordInputTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type PhoneInputTokens = 'phone-input-background-color' | 'phone-input-mask-text-color';
|
|
4
|
-
export type PhoneInputTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type PhoneInputTokenMap = {
|
|
6
|
-
[Token in PhoneInputTokens]: PhoneInputTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultPhoneInputTokens: PhoneInputTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ProgressTokens = 'progress-tracker-notification-badge-color' | 'progress-tracker-notification-badge-fill-color' | 'progress-tracker-bridge-empty-background-color' | 'progress-tracker-bridge-filled-background-color' | 'progress-tracker-step-todo-text-color' | 'progress-tracker-step-todo-background-color' | 'progress-tracker-step-uncompleted-border-color' | 'progress-tracker-step-uncompleted-text-color' | 'progress-tracker-step-uncompleted-label-text-color' | 'progress-tracker-step-current-border-color' | 'progress-tracker-step-current-text-color' | 'progress-tracker-step-current-label-text-color' | 'progress-tracker-step-completed-background-color' | 'progress-tracker-step-completed-border-color' | 'progress-tracker-step-completed-text-color' | 'progress-tracker-step-completed-label-text-color' | 'progress-circle-empty-track-color' | 'progress-circle-label-text-color' | 'progress-circle-result-text-color' | 'progress-indicator-empty-track-color' | 'progress-indicator-label-text-color';
|
|
4
|
-
export type ProgressTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ProgressTokenMap = {
|
|
6
|
-
[Token in ProgressTokens]: ProgressTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultProgressTokens: ProgressTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type RadioButtonGroupTokens = 'radio-button-group-legend-text-color' | 'radio-button-background-color' | 'radio-button-border-color' | 'radio-button-checked-border-color' | 'radio-button-checked-background-color' | 'radio-button-disabled-background-color' | 'radio-button-disabled-border-color' | 'radio-button-hover-border-color' | 'radio-button-disabled-hover-border-color';
|
|
4
|
-
export type RadioButtonGroupTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type RadioButtonGroupTokenMap = {
|
|
6
|
-
[Token in RadioButtonGroupTokens]: RadioButtonGroupTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultRadioButtonGroupTokens: RadioButtonGroupTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type RadioCardTokens = 'radio-card-background-color' | 'radio-card-border-color' | 'radio-card-text-color' | 'radio-card-selected-background-color' | 'radio-card-selected-border-color' | 'radio-card-hover-background-color' | 'radio-card-hover-border-color' | 'radio-card-hover-text-color' | 'radio-card-disabled-background-color' | 'radio-card-disabled-border-color' | 'radio-card-disabled-text-color';
|
|
4
|
-
export type RadioCardTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type RadioCardTokenMap = {
|
|
6
|
-
[Token in RadioCardTokens]: RadioCardTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultRadioCardTokens: RadioCardTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type SearchInputTokens = 'search-input-label-text-color' | 'search-input-icon-color' | 'search-input-disabled-icon-color' | 'search-input-reset-button-background-color' | 'search-input-reset-button-border-color';
|
|
4
|
-
export type SearchInputTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type SearchInputTokenMap = {
|
|
6
|
-
[Token in SearchInputTokens]: SearchInputTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultSearchInputTokens: SearchInputTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type SectionalBannerTokens = 'sectional-banner-neutral-background-color' | 'sectional-banner-neutral-border-color' | 'sectional-banner-neutral-icon-color' | 'sectional-banner-info-background-color' | 'sectional-banner-info-border-color' | 'sectional-banner-info-icon-color' | 'sectional-banner-discovery-background-color' | 'sectional-banner-discovery-border-color' | 'sectional-banner-discovery-icon-color' | 'sectional-banner-success-background-color' | 'sectional-banner-success-border-color' | 'sectional-banner-success-icon-color' | 'sectional-banner-warning-background-color' | 'sectional-banner-warning-border-color' | 'sectional-banner-warning-icon-color' | 'sectional-banner-alert-background-color' | 'sectional-banner-alert-border-color' | 'sectional-banner-alert-icon-color';
|
|
4
|
-
export type SectionalBannerTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type SectionalBannerTokenMap = {
|
|
6
|
-
[Token in SectionalBannerTokens]: SectionalBannerTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultSectionalBannerTokens: SectionalBannerTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type SegmentedControlTokens = 'segmented-control-background-color' | 'segmented-control-pressed-background-color' | 'segmented-control-hover-background-color' | 'segmented-control-disabled-background-color' | 'segmented-control-border-color' | 'segmented-control-pressed-border-color' | 'segmented-control-hover-border-color' | 'segmented-control-disabled-border-color' | 'segmented-control-text-color' | 'segmented-control-pressed-text-color' | 'segmented-control-hover-text-color' | 'segmented-control-disabled-text-color';
|
|
4
|
-
export type SegmentedControlTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type SegmentedControlTokenMap = {
|
|
6
|
-
[Token in SegmentedControlTokens]: SegmentedControlTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultSegmentedControlTokens: SegmentedControlTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type SideDrawerTokens = 'side-drawer-background-color' | 'side-drawer-box-shadow-color';
|
|
4
|
-
export type SideDrawerTokensValue = AliasTokens | RefTokens;
|
|
5
|
-
export type SideDrawerTokensMap = {
|
|
6
|
-
[Token in SideDrawerTokens]: SideDrawerTokensValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultSideDrawerTokens: SideDrawerTokensMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type SpinnerTokens = 'spinner-fill-color';
|
|
4
|
-
export type SpinnerTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type SpinnerTokenMap = {
|
|
6
|
-
[Token in SpinnerTokens]: SpinnerTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultSpinnerTokens: SpinnerTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type StatusTokens = 'status-circle-blocked-background-color' | 'status-circle-enabled-background-color' | 'status-circle-disabled-background-color' | 'status-circle-disabled-border-color' | 'status-disabled-text-color';
|
|
4
|
-
export type StatusTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type StatusTokenMap = {
|
|
6
|
-
[Token in StatusTokens]: StatusTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultStatusTokens: StatusTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type StepperTokens = 'stepper-button-background-color' | 'stepper-button-border-color' | 'stepper-button-text-color' | 'stepper-button-hover-background-color' | 'stepper-button-disabled-background-color' | 'stepper-button-disabled-border-color' | 'stepper-button-disabled-text-color';
|
|
4
|
-
export type StepperTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type StepperTokenMap = {
|
|
6
|
-
[Token in StepperTokens]: StepperTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultStepperTokens: StepperTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type TabTokens = 'tab-section-border-color' | 'tab-section-box-shadow-color' | 'tab-global-list-background-color' | 'tab-section-list-background-color' | 'tab-section-button-background-color' | 'tab-global-button-background-color' | 'tab-button-icon-color' | 'tab-button-text-color' | 'tab-button-indicator-hover-background-color' | 'tab-button-hover-text-color' | 'tab-button-indicator-active-background-color' | 'tab-button-active-text-color' | 'tab-button-indicator-selected-background-color' | 'tab-global-button-selected-background-color' | 'tab-section-button-selected-background-color' | 'tab-button-selected-text-color' | 'tab-section-background-color' | 'tab-scroll-button-hover-background-color' | 'tab-border-bottom-color';
|
|
4
|
-
export type TabTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type TabTokenMap = {
|
|
6
|
-
[Token in TabTokens]: TabTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultTabTokens: TabTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type TableTokens = 'table-text-color' | 'table-background-color' | 'table-header-background-color' | 'table-header-border-color' | 'table-body-background-color' | 'table-footer-background-color' | 'table-footer-border-color' | 'table-group-border-color' | 'table-cell-hover-background-color' | 'table-cell-number-text-color' | 'table-row-selected-background-color' | 'table-row-error-background-color' | 'table-row-border-color' | 'table-row-odd-background-color' | 'table-row-error-border-color' | 'table-sort-button-ascending-icon-color' | 'table-sort-button-descending-icon-color' | 'table-sort-button-default-icon-color';
|
|
4
|
-
export type TableRowTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type TableTokenMap = {
|
|
6
|
-
[Token in TableTokens]: TableRowTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultTableTokens: TableTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type TagTokens = 'tag-background-color' | 'tag-border-color' | 'tag-text-color' | 'tag-icon-color' | 'tag-hover-background-color' | 'tag-hover-border-color' | 'tag-hover-text-color' | 'tag-hover-icon-color' | 'tag-selected-background-color' | 'tag-selected-border-color' | 'tag-selected-text-color' | 'tag-selected-icon-color' | 'tag-decorative-01-background-color' | 'tag-decorative-01-border-color' | 'tag-decorative-01-text-color' | 'tag-decorative-01-icon-color' | 'tag-decorative-02-background-color' | 'tag-decorative-02-border-color' | 'tag-decorative-02-text-color' | 'tag-decorative-02-icon-color' | 'tag-decorative-03-background-color' | 'tag-decorative-03-border-color' | 'tag-decorative-03-text-color' | 'tag-decorative-03-icon-color' | 'tag-decorative-04-background-color' | 'tag-decorative-04-border-color' | 'tag-decorative-04-text-color' | 'tag-decorative-04-icon-color' | 'tag-decorative-05-background-color' | 'tag-decorative-05-border-color' | 'tag-decorative-05-text-color' | 'tag-decorative-05-icon-color' | 'tag-decorative-06-background-color' | 'tag-decorative-06-border-color' | 'tag-decorative-06-text-color' | 'tag-decorative-06-icon-color' | 'tag-decorative-07-background-color' | 'tag-decorative-07-border-color' | 'tag-decorative-07-text-color' | 'tag-decorative-07-icon-color' | 'tag-decorative-08-background-color' | 'tag-decorative-08-border-color' | 'tag-decorative-08-text-color' | 'tag-decorative-08-icon-color' | 'tag-decorative-09-background-color' | 'tag-decorative-09-border-color' | 'tag-decorative-09-text-color' | 'tag-decorative-09-icon-color' | 'tag-decorative-10-background-color' | 'tag-decorative-10-border-color' | 'tag-decorative-10-text-color' | 'tag-decorative-10-icon-color';
|
|
4
|
-
export type TagTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type TagTokenMap = {
|
|
6
|
-
[Token in TagTokens]: TagTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultTagTokens: TagTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type TextAreaTokens = 'text-area-counter-text-color' | 'text-area-counter-error-text-color';
|
|
4
|
-
export type TextAreaTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type TextAreaTokenMap = {
|
|
6
|
-
[Token in TextAreaTokens]: TextAreaTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultTextAreaTokens: TextAreaTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type TextInputTokens = 'text-input-background-color' | 'text-input-border-color' | 'text-input-error-border-color' | 'text-input-text-color' | 'text-input-placeholder-text-color' | 'text-input-disabled-background-color' | 'text-input-disabled-border-color' | 'text-input-disabled-text-color' | 'text-input-placeholder-disabled-text-color';
|
|
4
|
-
export type TextInputTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type TextInputTokenMap = {
|
|
6
|
-
[Token in TextInputTokens]: TextInputTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultTextInputTokens: TextInputTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ToastTokens = 'toast-neutral-background-color' | 'toast-neutral-text-color' | 'toast-neutral-icon-color' | 'toast-discovery-background-color' | 'toast-discovery-text-color' | 'toast-discovery-icon-color' | 'toast-success-background-color' | 'toast-success-text-color' | 'toast-success-icon-color' | 'toast-warning-background-color' | 'toast-warning-text-color' | 'toast-warning-icon-color' | 'toast-alert-background-color' | 'toast-alert-text-color' | 'toast-alert-icon-color';
|
|
4
|
-
export type ToastTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ToastTokenMap = {
|
|
6
|
-
[Token in ToastTokens]: ToastTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultToastTokens: ToastTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ToggleSwitchTokens = 'toggle-switch-label-text-color' | 'toggle-switch-knob-background-color' | 'toggle-switch-toggled-background-color' | 'toggle-switch-toggled-border-color' | 'toggle-switch-background-color' | 'toggle-switch-border-color' | 'toggle-switch-disabled-toggled-background-color' | 'toggle-switch-disabled-toggled-border-color' | 'toggle-switch-disabled-background-color' | 'toggle-switch-disabled-border-color';
|
|
4
|
-
export type ToggleSwitchTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ToggleSwitchTokenMap = {
|
|
6
|
-
[Token in ToggleSwitchTokens]: ToggleSwitchTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultToggleSwitchTokens: ToggleSwitchTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ToggleTipTokens = 'toggletip-popper-container-background-color' | 'toggletip-popper-container-border-color' | 'toggletip-popper-container-text-color';
|
|
4
|
-
export type ToggleTipTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ToggleTipTokenMap = {
|
|
6
|
-
[Token in ToggleTipTokens]: ToggleTipTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultToggleTipTokens: ToggleTipTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type TooltipTokens = 'tooltip-icon-color' | 'tooltip-inverted-icon-color' | 'tooltip-popper-container-border-color' | 'tooltip-popper-container-text-color' | 'tooltip-popper-container-success-background-color' | 'tooltip-popper-container-default-background-color';
|
|
4
|
-
export type TooltipTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type TooltipTokenMap = {
|
|
6
|
-
[Token in TooltipTokens]: TooltipTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultTooltipTokens: TooltipTokenMap;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from './alias-tokens';
|
|
2
|
-
import { AvatarTokens } from './component/avatar-tokens';
|
|
3
|
-
import { BentoMenuButtonTokens } from './component/bento-menu-button-tokens';
|
|
4
|
-
import { BreadcrumbTokens } from './component/breadcrumb-tokens';
|
|
5
|
-
import { ButtonTokens } from './component/button-tokens';
|
|
6
|
-
import { CheckboxTokens } from './component/checkbox-tokens';
|
|
7
|
-
import { ChooserTokens } from './component/chooser-tokens';
|
|
8
|
-
import { ComboboxTokens } from './component/combobox-tokens';
|
|
9
|
-
import { DatepickerTokens } from './component/datepicker-tokens';
|
|
10
|
-
import { DropdownListTokens } from './component/dropdown-list-tokens';
|
|
11
|
-
import { CardTokens } from './component/card-tokens';
|
|
12
|
-
import { DropdownMenuTokens } from './component/dropdown-menu-tokens';
|
|
13
|
-
import { FocusTokens } from './component/focus-tokens';
|
|
14
|
-
import { GlobalHeaderTokens } from './component/global-header-tokens';
|
|
15
|
-
import { GlobalNavigationTokens } from './component/global-navigation-tokens';
|
|
16
|
-
import { HeadingTokens } from './component/heading-tokens';
|
|
17
|
-
import { FieldTokens } from './component/field-tokens';
|
|
18
|
-
import { LinkTokens } from './component/link-tokens';
|
|
19
|
-
import { ProgressTokens } from './component/progress-tokens';
|
|
20
|
-
import { TextInputTokens } from './component/text-input-tokens';
|
|
21
|
-
import { LabelTokens } from './component/label-tokens';
|
|
22
|
-
import { ListboxTokens } from './component/listbox-tokens';
|
|
23
|
-
import { MenuTokens } from './component/menu-tokens';
|
|
24
|
-
import { NumericInputTokens } from './component/numeric-input-tokens';
|
|
25
|
-
import { PasswordInputTokens } from './component/password-input-tokens';
|
|
26
|
-
import { PhoneInputTokens } from './component/phone-input-tokens';
|
|
27
|
-
import { RadioButtonGroupTokens } from './component/radio-button-group-tokens';
|
|
28
|
-
import { RadioCardTokens } from './component/radio-card-tokens';
|
|
29
|
-
import { SearchInputTokens } from './component/search-input-tokens';
|
|
30
|
-
import { StepperTokens } from './component/stepper-tokens';
|
|
31
|
-
import { TextAreaTokens } from './component/text-area-tokens';
|
|
32
|
-
import { SegmentedControlTokens } from './component/segmented-control-tokens';
|
|
33
|
-
import { ToggleSwitchTokens } from './component/toggle-switch-tokens';
|
|
34
|
-
import { LegendTokens } from './component/legend-tokens';
|
|
35
|
-
import { LozengeTokens } from './component/lozenge-tokens';
|
|
36
|
-
import { NavListTokens } from './component/nav-list-tokens';
|
|
37
|
-
import { PaginationTokens } from './component/pagination-tokens';
|
|
38
|
-
import { SideDrawerTokens } from './component/side-drawer-tokens';
|
|
39
|
-
import { TableTokens } from './component/table-tokens';
|
|
40
|
-
import { RefTokens, RefTokenValue } from './ref-tokens';
|
|
41
|
-
import { BadgeTokens } from './component/badge-tokens';
|
|
42
|
-
import { GlobalBannerTokens } from './component/global-banner-tokens';
|
|
43
|
-
import { SectionalBannerTokens } from './component/sectional-banner-tokens';
|
|
44
|
-
import { SpinnerTokens } from './component/spinner-tokens';
|
|
45
|
-
import { StatusTokens } from './component/status-tokens';
|
|
46
|
-
import { TagTokens } from './component/tag-tokens';
|
|
47
|
-
import { ToastTokens } from './component/toast-tokens';
|
|
48
|
-
import { AccordionTokens } from './component/accordion-tokens';
|
|
49
|
-
import { CarouselTokens } from './component/carousel-tokens';
|
|
50
|
-
import { ModalTokens } from './component/modal-tokens';
|
|
51
|
-
import { TooltipTokens } from './component/tooltip-tokens';
|
|
52
|
-
import { ToggleTipTokens } from './component/toggletip-tokens';
|
|
53
|
-
import { TabTokens } from './component/tab-tokens';
|
|
54
|
-
export type ComponentTokens = AvatarTokens | BentoMenuButtonTokens | ButtonTokens | BreadcrumbTokens | FocusTokens | HeadingTokens | LabelTokens | CheckboxTokens | ChooserTokens | DatepickerTokens | DropdownListTokens | ListboxTokens | ComboboxTokens | MenuTokens | PasswordInputTokens | NumericInputTokens | PhoneInputTokens | SearchInputTokens | StepperTokens | TextAreaTokens | FieldTokens | RadioButtonGroupTokens | SegmentedControlTokens | ToggleSwitchTokens | TextInputTokens | RadioCardTokens | LegendTokens | NavListTokens | PaginationTokens | ProgressTokens | LinkTokens | BadgeTokens | GlobalBannerTokens | SectionalBannerTokens | SpinnerTokens | StatusTokens | TagTokens | ToastTokens | AccordionTokens | CarouselTokens | ModalTokens | TooltipTokens | ToggleTipTokens | SideDrawerTokens | GlobalHeaderTokens | CardTokens | TableTokens | DropdownMenuTokens | TabTokens | LozengeTokens | GlobalNavigationTokens;
|
|
55
|
-
export type ComponentTokenValue = AliasTokens | RefTokens;
|
|
56
|
-
export type ComponentTokenMap = {
|
|
57
|
-
[Token in ComponentTokens]: ComponentTokenValue;
|
|
58
|
-
};
|
|
59
|
-
export declare const defaultComponentTokens: ComponentTokenMap;
|
|
60
|
-
export type ResolvedComponentTokenValue = RefTokenValue;
|
|
61
|
-
export type ResolvedComponentTokens = {
|
|
62
|
-
[Token in ComponentTokens]: ResolvedComponentTokenValue;
|
|
63
|
-
};
|
|
64
|
-
export declare function isComponentToken(token: string): token is ComponentTokens;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type ColorUtilityTokens = 'transparent-dark-5' | 'transparent-light-5' | 'transparent-dark-10' | 'transparent-light-10' | 'transparent-dark-15' | 'transparent-light-15' | 'transparent-dark-20' | 'transparent-light-20' | 'transparent-dark-25' | 'transparent-light-25' | 'transparent-dark-30' | 'transparent-light-30' | 'transparent-dark-35' | 'transparent-light-35' | 'transparent-dark-40' | 'transparent-light-40' | 'transparent-dark-45' | 'transparent-light-45' | 'transparent-dark-50' | 'transparent-light-50' | 'transparent-dark-55' | 'transparent-light-55' | 'transparent-dark-60' | 'transparent-light-60' | 'transparent-dark-65' | 'transparent-light-65' | 'transparent-dark-70' | 'transparent-light-70' | 'transparent-dark-75' | 'transparent-light-75' | 'transparent-dark-80' | 'transparent-light-80' | 'transparent-dark-85' | 'transparent-light-85' | 'transparent-dark-90' | 'transparent-light-90' | 'transparent-dark-95' | 'transparent-light-95' | 'transparent-100';
|
|
2
|
-
export type ColorUtilityValue = string;
|
|
3
|
-
export type ColorUtilityTokenMap = {
|
|
4
|
-
[Token in ColorUtilityTokens]: ColorUtilityValue;
|
|
5
|
-
};
|
|
6
|
-
export declare const defaultColorUtilityTokens: ColorUtilityTokenMap;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type PaletteTokens = 'color-brand-05' | 'color-brand-10' | 'color-brand-20' | 'color-brand-30' | 'color-brand-40' | 'color-brand-50' | 'color-brand-60' | 'color-brand-70' | 'color-brand-80' | 'color-brand-90' | 'color-accent-05' | 'color-accent-10' | 'color-accent-20' | 'color-accent-30' | 'color-accent-40' | 'color-accent-50' | 'color-accent-60' | 'color-accent-70' | 'color-accent-80' | 'color-accent-90' | 'color-white' | 'color-black' | 'color-neutral-02' | 'color-neutral-05' | 'color-neutral-10' | 'color-neutral-15' | 'color-neutral-20' | 'color-neutral-30' | 'color-neutral-40' | 'color-neutral-50' | 'color-neutral-60' | 'color-neutral-65' | 'color-neutral-70' | 'color-neutral-80' | 'color-neutral-90' | 'color-success-02' | 'color-success-05' | 'color-success-10' | 'color-success-20' | 'color-success-30' | 'color-success-40' | 'color-success-50' | 'color-success-60' | 'color-success-70' | 'color-success-80' | 'color-success-90' | 'color-alert-02' | 'color-alert-05' | 'color-alert-10' | 'color-alert-20' | 'color-alert-30' | 'color-alert-40' | 'color-alert-50' | 'color-alert-60' | 'color-alert-70' | 'color-alert-80' | 'color-alert-90' | 'color-warning-02' | 'color-warning-05' | 'color-warning-10' | 'color-warning-20' | 'color-warning-30' | 'color-warning-40' | 'color-warning-50' | 'color-warning-60' | 'color-warning-70' | 'color-warning-80' | 'color-warning-90' | 'color-informative-02' | 'color-informative-05' | 'color-informative-10' | 'color-informative-20' | 'color-informative-30' | 'color-informative-40' | 'color-informative-50' | 'color-informative-60' | 'color-informative-70' | 'color-informative-80' | 'color-informative-90' | 'color-discovery-02' | 'color-discovery-05' | 'color-discovery-10' | 'color-discovery-20' | 'color-discovery-30' | 'color-discovery-40' | 'color-discovery-50' | 'color-discovery-60' | 'color-discovery-70' | 'color-discovery-80' | 'color-discovery-90' | 'color-decorative-01-05' | 'color-decorative-01-10' | 'color-decorative-01-50' | 'color-decorative-01-70' | 'color-decorative-02-05' | 'color-decorative-02-10' | 'color-decorative-02-50' | 'color-decorative-02-70' | 'color-decorative-03-05' | 'color-decorative-03-10' | 'color-decorative-03-50' | 'color-decorative-03-70' | 'color-decorative-04-05' | 'color-decorative-04-10' | 'color-decorative-04-50' | 'color-decorative-04-70' | 'color-decorative-05-05' | 'color-decorative-05-10' | 'color-decorative-05-50' | 'color-decorative-05-70' | 'color-decorative-06-05' | 'color-decorative-06-10' | 'color-decorative-06-50' | 'color-decorative-06-70' | 'color-decorative-07-05' | 'color-decorative-07-10' | 'color-decorative-07-50' | 'color-decorative-07-70' | 'color-decorative-08-05' | 'color-decorative-08-10' | 'color-decorative-08-50' | 'color-decorative-08-70' | 'color-decorative-09-05' | 'color-decorative-09-10' | 'color-decorative-09-50' | 'color-decorative-09-70' | 'color-decorative-10-05' | 'color-decorative-10-10' | 'color-decorative-10-50' | 'color-decorative-10-70';
|
|
2
|
-
export type PaletteValue = string;
|
|
3
|
-
export type PaletteTokenMap = {
|
|
4
|
-
[Token in PaletteTokens]: PaletteValue;
|
|
5
|
-
};
|
|
6
|
-
export declare const defaultPaletteTokens: PaletteTokenMap;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ColorUtilityTokens, ColorUtilityValue } from './ref/color-utility-tokens';
|
|
2
|
-
import { PaletteTokens, PaletteValue } from './ref/palette-tokens';
|
|
3
|
-
import { TextAttributeTokens, TextAttributeValue } from './ref/text-attributes-tokens';
|
|
4
|
-
export type RefTokenValue = PaletteValue | TextAttributeValue | ColorUtilityValue;
|
|
5
|
-
export type RefTokens = PaletteTokens | TextAttributeTokens | ColorUtilityTokens;
|
|
6
|
-
export type RefTokenMap = {
|
|
7
|
-
[Token in RefTokens]: RefTokenValue;
|
|
8
|
-
};
|
|
9
|
-
export declare const defaultRefTokens: RefTokenMap;
|
|
10
|
-
export declare function isRefToken(token: string): token is RefTokens;
|
package/dist/utility-types.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type NoSelfReference<T, U extends string> = T extends U ? never : T;
|
package/dist/utils/dom.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|