@equisoft/design-elements-react 9.4.0 → 9.4.1-snapshot.20250318153302
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 +3153 -3132
- package/dist/bundle.js.LICENSE.txt +15 -14
- package/dist/components/buttons/abstract/styled.d.ts +1 -1
- package/dist/components/buttons/styled.d.ts +1 -1
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/date-picker/utils/datepicker-utils.d.ts +1 -5
- package/dist/components/icon/icon.d.ts +1 -0
- package/dist/components/money-input/money-input.d.ts +1 -0
- package/dist/components/numeric-input/numeric-input.d.ts +1 -0
- package/dist/components/phone-input/phone-input.d.ts +1 -0
- package/dist/components/radio-card-group/styled-components.d.ts +1 -1
- package/dist/components/table/table.d.ts +2 -4
- package/dist/components/text-input/styles/inputs.d.ts +1 -1
- package/dist/components/text-input/text-input.d.ts +1 -0
- package/dist/hooks/use-theme.d.ts +1 -1
- package/dist/theme.js +1 -1
- package/dist/themes/index.d.ts +1 -0
- package/dist/themes/theme.d.ts +13 -8
- package/dist/themes/tokens/alias/color-tokens.d.ts +3 -0
- package/dist/themes/tokens/alias/text-tokens.d.ts +3 -0
- package/dist/themes/tokens/alias-tokens.d.ts +195 -47
- package/dist/themes/tokens/component/accordion-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/avatar-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/badge-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/button-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/card-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/carousel-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/checkbox-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/chooser-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/combobox-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/datepicker-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/disclosure-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/field-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/focus-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/global-banner-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/global-header-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/global-navigation-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/heading-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/label-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/legend-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/link-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/listbox-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/lozenge-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/menu-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/modal-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/nav-list-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/numeric-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/pagination-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/password-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/phone-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/progress-circular-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/progress-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/radio-card-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/search-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/segmented-control-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/side-drawer-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/slider-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/spinner-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/status-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/stepper-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/tab-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/table-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/tag-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/text-area-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/text-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/toast-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/toggletip-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/tooltip-tokens.d.ts +3 -8
- package/dist/themes/tokens/component-tokens.d.ts +706 -66
- package/dist/themes/tokens/index.d.ts +1 -0
- package/dist/themes/tokens/ref/palette-tokens.d.ts +3 -6
- package/dist/themes/tokens/ref/text-tokens.d.ts +3 -0
- package/dist/themes/tokens/ref/utility-tokens.d.ts +3 -0
- package/dist/themes/tokens/ref-tokens.d.ts +209 -9
- package/dist/themes/tokens/tokens.d.ts +11 -0
- package/dist/utils/css-state.d.ts +1 -1
- package/package.json +23 -21
- package/dist/themes/tokens/ref/color-utility-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +0 -6
- package/dist/utility-types.d.ts +0 -1
package/dist/themes/theme.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import { AliasTokenMap, ComponentTokenMap,
|
|
2
|
-
export interface
|
|
3
|
-
ref
|
|
4
|
-
alias
|
|
5
|
-
component
|
|
1
|
+
import type { AliasToken, AliasTokenMap, ComponentToken, ComponentTokenMap, RefToken, RefTokenMap, ResolvedTokenMap } from './tokens';
|
|
2
|
+
export interface ThemeDeclaration {
|
|
3
|
+
ref: RefTokenMap<RefToken>;
|
|
4
|
+
alias: AliasTokenMap<AliasToken>;
|
|
5
|
+
component: ComponentTokenMap<ComponentToken>;
|
|
6
6
|
}
|
|
7
|
+
export type ThemeCustomization = {
|
|
8
|
+
ref?: Partial<RefTokenMap<RefToken>>;
|
|
9
|
+
alias?: Partial<AliasTokenMap<AliasToken>>;
|
|
10
|
+
component?: Partial<ComponentTokenMap<ComponentToken>>;
|
|
11
|
+
};
|
|
7
12
|
export interface ResolvedTheme {
|
|
8
|
-
ref:
|
|
9
|
-
alias:
|
|
10
|
-
component:
|
|
13
|
+
ref: ResolvedTokenMap<RefToken>;
|
|
14
|
+
alias: ResolvedTokenMap<AliasToken>;
|
|
15
|
+
component: ResolvedTokenMap<ComponentToken>;
|
|
11
16
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { AliasTokenMap } from '../tokens';
|
|
2
|
+
export type ColorAliasToken = 'color-action' | 'color-action-hover' | 'color-action-disabled' | 'color-action-destructive' | 'color-action-destructive-hover' | 'color-action-destructive-disabled' | 'color-action-inverse' | 'color-action-inverse-hover' | 'color-action-inverse-disabled' | 'color-background-neutral-subtlest' | 'color-background-neutral-subtle' | 'color-background-neutral-bold' | 'color-background-neutral-bold-disabled' | 'color-feedback-background-success-subtle' | 'color-feedback-background-warning-subtle' | 'color-feedback-background-alert-subtle' | 'color-feedback-background-discovery-subtle' | 'color-feedback-background-informative-subtle' | 'color-feedback-background-success-subtlest' | 'color-feedback-background-warning-subtlest' | 'color-feedback-background-alert-subtlest' | 'color-feedback-background-discovery-subtlest' | 'color-feedback-background-informative-subtlest' | 'color-feedback-background-success-bold' | 'color-feedback-background-success-bold-disabled' | 'color-feedback-background-alert-bold' | 'color-feedback-background-warning-bold' | 'color-feedback-background-discovery-bold' | 'color-feedback-background-informative-bold' | 'color-feedback-border-success' | 'color-feedback-border-warning' | 'color-feedback-border-alert' | 'color-feedback-border-discovery' | 'color-feedback-border-informative' | 'color-feedback-content-success' | 'color-feedback-content-warning' | 'color-feedback-content-alert' | 'color-feedback-content-discovery' | 'color-feedback-content-informative' | 'color-control-background' | 'color-control-background-hover' | 'color-control-background-disabled' | 'color-control-background-readonly' | 'color-control-background-checked' | 'color-control-background-selected' | 'color-control-background-selected-hover' | 'color-control-border' | 'color-control-border-hover' | 'color-control-border-disabled' | 'color-control-border-readonly' | 'color-control-border-selected' | 'color-control-border-checked' | 'color-control-border-error' | 'color-control-value' | 'color-control-value-hover' | 'color-control-value-disabled' | 'color-control-value-readonly' | 'color-control-auxiliary' | 'color-control-auxiliary-hover' | 'color-control-auxiliary-disabled' | 'color-control-auxiliary-readonly' | 'color-control-auxiliary-error' | 'color-control-auxiliary-success' | 'color-control-auxiliary-checked' | 'color-control-auxiliary-selected' | 'color-menu-background' | 'color-menu-border' | 'color-menu-item-background' | 'color-menu-item-background-hover' | 'color-menu-item-content' | 'color-menu-item-subcontent' | 'color-menu-item-content-hover' | 'color-menu-item-content-disabled' | 'color-background-brand-subtle' | 'color-background-brand' | 'color-background-brand-bold' | 'color-background-indicator-disabled' | 'color-background-indicator-selected' | 'color-background-indicator-active' | 'color-border-brand' | 'color-border-brand-bold' | 'color-content-brand' | 'color-background' | 'color-background-overlay' | 'color-background-isolated' | 'color-background-disabled' | 'color-background-empty' | 'color-background-hover' | 'color-background-selected' | 'color-background-selected-hover' | 'color-backdrop-background' | 'color-backdrop-background-subtle' | 'color-border' | 'color-border-subtle' | 'color-border-bold' | 'color-border-overlay' | 'color-border-hover' | 'color-border-disabled' | 'color-border-empty' | 'color-border-selected' | 'color-border-inverse' | 'color-border-focus-outside' | 'color-border-focus-inside' | 'color-border-focus-outside-inverse' | 'color-border-focus-inside-inverse' | 'color-content' | 'color-content-subtle' | 'color-content-inverse' | 'color-content-disabled' | 'color-content-hover' | 'color-content-selected' | 'color-link-content' | 'color-link-content-visited' | 'color-link-content-disabled' | 'color-link-content-hover' | 'color-box-shadow';
|
|
3
|
+
export declare const defaultColorAliasTokens: AliasTokenMap<ColorAliasToken>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { AliasTokenMap } from '../tokens';
|
|
2
|
+
export type TextAliasToken = 'text-heading-font-family' | 'text-heading-font-weight' | 'text-heading-letter-spacing' | 'text-heading-transform' | 'text-heading-xsmall-font-size' | 'text-heading-xsmall-line-height' | 'text-heading-small-font-size' | 'text-heading-small-line-height' | 'text-heading-medium-font-size' | 'text-heading-medium-line-height' | 'text-heading-large-font-size' | 'text-heading-large-line-height' | 'text-heading-xlarge-font-size' | 'text-heading-xlarge-line-height' | 'text-body-font-family' | 'text-body-font-weight' | 'text-body-letter-spacing' | 'text-body-transform' | 'text-body-strong-font-weight' | 'text-body-small-font-size' | 'text-body-small-line-height' | 'text-body-medium-font-size' | 'text-body-medium-line-height' | 'text-body-large-font-size' | 'text-body-large-line-height' | 'text-emphasis-font-family' | 'text-emphasis-font-weight' | 'text-emphasis-letter-spacing' | 'text-emphasis-transform' | 'text-emphasis-small-font-size' | 'text-emphasis-small-line-height' | 'text-emphasis-medium-font-size' | 'text-emphasis-medium-line-height' | 'text-emphasis-large-font-size' | 'text-emphasis-large-line-height' | 'text-caps-font-family' | 'text-caps-font-weight' | 'text-caps-letter-spacing' | 'text-caps-transform' | 'text-caps-small-font-size' | 'text-caps-small-line-height' | 'text-caps-medium-font-size' | 'text-caps-medium-line-height' | 'text-label-font-family' | 'text-label-font-weight' | 'text-label-letter-spacing' | 'text-label-transform' | 'text-label-small-font-size' | 'text-label-small-line-height' | 'text-label-medium-font-size' | 'text-label-medium-line-height' | 'text-legend-font-family' | 'text-legend-font-weight' | 'text-legend-letter-spacing' | 'text-legend-transform' | 'text-legend-xxsmall-font-size' | 'text-legend-xxsmall-line-height' | 'text-legend-xsmall-font-size' | 'text-legend-xsmall-line-height' | 'text-legend-small-font-size' | 'text-legend-small-line-height' | 'text-legend-medium-font-size' | 'text-legend-medium-line-height' | 'text-legend-large-font-size' | 'text-legend-large-line-height' | 'text-caption-font-family' | 'text-caption-font-weight' | 'text-caption-letter-spacing' | 'text-caption-transform' | 'text-caption-small-font-size' | 'text-caption-small-line-height' | 'text-caption-medium-font-size' | 'text-caption-medium-line-height' | 'text-caption-large-font-size' | 'text-caption-large-line-height';
|
|
3
|
+
export declare const defaultTextAliasTokens: AliasTokenMap<TextAliasToken>;
|