@equisoft/design-elements-react 9.9.2-snapshot.20250910030156 → 9.9.2

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.
Files changed (92) hide show
  1. package/dist/bundle.js +3174 -3189
  2. package/dist/bundle.js.LICENSE.txt +9 -15
  3. package/dist/components/buttons/abstract/styled.d.ts +1 -1
  4. package/dist/components/buttons/abstract/types.d.ts +0 -1
  5. package/dist/components/buttons/styled.d.ts +1 -1
  6. package/dist/components/buttons/types.d.ts +0 -1
  7. package/dist/components/date-picker/date-picker.d.ts +1 -1
  8. package/dist/components/date-picker/utils/datepicker-utils.d.ts +5 -1
  9. package/dist/components/icon/icon.d.ts +0 -1
  10. package/dist/components/radio-card-group/styled-components.d.ts +1 -1
  11. package/dist/components/table/table.d.ts +4 -7
  12. package/dist/components/tabs/tab-button.d.ts +15 -1
  13. package/dist/components/tabs/tab-panel.d.ts +9 -2
  14. package/dist/components/tabs/tabs.d.ts +1 -2
  15. package/dist/components/text-input/styles/inputs.d.ts +1 -1
  16. package/dist/hooks/use-theme.d.ts +1 -1
  17. package/dist/theme.js +1 -1
  18. package/dist/themes/index.d.ts +0 -1
  19. package/dist/themes/theme.d.ts +8 -13
  20. package/dist/themes/tokens/alias-tokens.d.ts +47 -195
  21. package/dist/themes/tokens/component/accordion-tokens.d.ts +8 -3
  22. package/dist/themes/tokens/component/avatar-tokens.d.ts +8 -3
  23. package/dist/themes/tokens/component/badge-tokens.d.ts +8 -3
  24. package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +8 -3
  25. package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +8 -3
  26. package/dist/themes/tokens/component/button-tokens.d.ts +8 -3
  27. package/dist/themes/tokens/component/card-tokens.d.ts +8 -3
  28. package/dist/themes/tokens/component/carousel-tokens.d.ts +8 -3
  29. package/dist/themes/tokens/component/checkbox-tokens.d.ts +8 -3
  30. package/dist/themes/tokens/component/chooser-tokens.d.ts +8 -3
  31. package/dist/themes/tokens/component/combobox-tokens.d.ts +8 -3
  32. package/dist/themes/tokens/component/datepicker-tokens.d.ts +8 -3
  33. package/dist/themes/tokens/component/disclosure-tokens.d.ts +8 -3
  34. package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +8 -3
  35. package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +8 -3
  36. package/dist/themes/tokens/component/field-tokens.d.ts +8 -3
  37. package/dist/themes/tokens/component/focus-tokens.d.ts +8 -3
  38. package/dist/themes/tokens/component/global-banner-tokens.d.ts +8 -3
  39. package/dist/themes/tokens/component/global-header-tokens.d.ts +8 -3
  40. package/dist/themes/tokens/component/global-navigation-tokens.d.ts +8 -3
  41. package/dist/themes/tokens/component/heading-tokens.d.ts +8 -3
  42. package/dist/themes/tokens/component/label-tokens.d.ts +8 -3
  43. package/dist/themes/tokens/component/legend-tokens.d.ts +8 -3
  44. package/dist/themes/tokens/component/link-tokens.d.ts +8 -3
  45. package/dist/themes/tokens/component/listbox-tokens.d.ts +8 -3
  46. package/dist/themes/tokens/component/lozenge-tokens.d.ts +8 -3
  47. package/dist/themes/tokens/component/menu-tokens.d.ts +8 -3
  48. package/dist/themes/tokens/component/modal-tokens.d.ts +8 -3
  49. package/dist/themes/tokens/component/nav-list-tokens.d.ts +8 -3
  50. package/dist/themes/tokens/component/numeric-input-tokens.d.ts +8 -3
  51. package/dist/themes/tokens/component/pagination-tokens.d.ts +8 -3
  52. package/dist/themes/tokens/component/password-input-tokens.d.ts +8 -3
  53. package/dist/themes/tokens/component/phone-input-tokens.d.ts +8 -3
  54. package/dist/themes/tokens/component/progress-circular-tokens.d.ts +8 -3
  55. package/dist/themes/tokens/component/progress-tokens.d.ts +8 -3
  56. package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +8 -3
  57. package/dist/themes/tokens/component/radio-card-tokens.d.ts +8 -3
  58. package/dist/themes/tokens/component/search-input-tokens.d.ts +8 -3
  59. package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +8 -3
  60. package/dist/themes/tokens/component/segmented-control-tokens.d.ts +8 -3
  61. package/dist/themes/tokens/component/side-drawer-tokens.d.ts +8 -3
  62. package/dist/themes/tokens/component/slider-tokens.d.ts +8 -3
  63. package/dist/themes/tokens/component/spinner-tokens.d.ts +8 -3
  64. package/dist/themes/tokens/component/status-tokens.d.ts +8 -3
  65. package/dist/themes/tokens/component/stepper-tokens.d.ts +8 -3
  66. package/dist/themes/tokens/component/tab-tokens.d.ts +8 -3
  67. package/dist/themes/tokens/component/table-tokens.d.ts +8 -3
  68. package/dist/themes/tokens/component/tag-tokens.d.ts +8 -3
  69. package/dist/themes/tokens/component/text-area-tokens.d.ts +8 -3
  70. package/dist/themes/tokens/component/text-input-tokens.d.ts +8 -3
  71. package/dist/themes/tokens/component/toast-tokens.d.ts +8 -3
  72. package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +8 -3
  73. package/dist/themes/tokens/component/toggletip-tokens.d.ts +8 -3
  74. package/dist/themes/tokens/component/tooltip-tokens.d.ts +8 -3
  75. package/dist/themes/tokens/component-tokens.d.ts +66 -704
  76. package/dist/themes/tokens/index.d.ts +0 -1
  77. package/dist/themes/tokens/ref/color-utility-tokens.d.ts +6 -0
  78. package/dist/themes/tokens/ref/palette-tokens.d.ts +6 -3
  79. package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +6 -0
  80. package/dist/themes/tokens/ref-tokens.d.ts +9 -209
  81. package/dist/utility-types.d.ts +1 -0
  82. package/dist/utils/css-state.d.ts +1 -1
  83. package/package.json +67 -63
  84. package/dist/components/table/table-caption.d.ts +0 -14
  85. package/dist/components/tabs/tabs-classes.d.ts +0 -5
  86. package/dist/components/tabs/types.d.ts +0 -30
  87. package/dist/themes/tokens/alias/color-tokens.d.ts +0 -3
  88. package/dist/themes/tokens/alias/text-tokens.d.ts +0 -3
  89. package/dist/themes/tokens/component/caption-tokens.d.ts +0 -3
  90. package/dist/themes/tokens/ref/text-tokens.d.ts +0 -3
  91. package/dist/themes/tokens/ref/utility-tokens.d.ts +0 -3
  92. package/dist/themes/tokens/tokens.d.ts +0 -11
@@ -1,4 +1,3 @@
1
1
  export * from './ref-tokens';
2
2
  export * from './alias-tokens';
3
3
  export * from './component-tokens';
4
- export * from './tokens';
@@ -0,0 +1,6 @@
1
+ export type ColorUtilityTokens = 'transparent-dark-3' | '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,3 +1,6 @@
1
- import type { RefTokenMap } from '../tokens';
2
- export type PaletteToken = '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';
3
- export declare const defaultPaletteTokens: RefTokenMap<PaletteToken>;
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;
@@ -0,0 +1,6 @@
1
+ export type TextAttributeTokens = 'font-weight-bold';
2
+ export type TextAttributeValue = string;
3
+ export type TextAttributeTokenMap = {
4
+ [Token in TextAttributeTokens]: TextAttributeValue;
5
+ };
6
+ export declare const defaultTextAttributeTokens: TextAttributeTokenMap;
@@ -1,210 +1,10 @@
1
- import { PaletteToken } from './ref/palette-tokens';
2
- import { TextToken } from './ref/text-tokens';
3
- import { UtilityToken } from './ref/utility-tokens';
4
- export type RefToken = PaletteToken | TextToken | UtilityToken;
5
- export declare const defaultRefTokens: {
6
- "transparent-dark-3": string;
7
- "transparent-dark-5": string;
8
- "transparent-light-5": string;
9
- "transparent-dark-10": string;
10
- "transparent-light-10": string;
11
- "transparent-dark-15": string;
12
- "transparent-light-15": string;
13
- "transparent-dark-20": string;
14
- "transparent-light-20": string;
15
- "transparent-dark-25": string;
16
- "transparent-light-25": string;
17
- "transparent-dark-30": string;
18
- "transparent-light-30": string;
19
- "transparent-dark-35": string;
20
- "transparent-light-35": string;
21
- "transparent-dark-40": string;
22
- "transparent-light-40": string;
23
- "transparent-dark-45": string;
24
- "transparent-light-45": string;
25
- "transparent-dark-50": string;
26
- "transparent-light-50": string;
27
- "transparent-dark-55": string;
28
- "transparent-light-55": string;
29
- "transparent-dark-60": string;
30
- "transparent-light-60": string;
31
- "transparent-dark-65": string;
32
- "transparent-light-65": string;
33
- "transparent-dark-70": string;
34
- "transparent-light-70": string;
35
- "transparent-dark-75": string;
36
- "transparent-light-75": string;
37
- "transparent-dark-80": string;
38
- "transparent-light-80": string;
39
- "transparent-dark-85": string;
40
- "transparent-light-85": string;
41
- "transparent-dark-90": string;
42
- "transparent-light-90": string;
43
- "transparent-dark-95": string;
44
- "transparent-light-95": string;
45
- "transparent-100": string;
46
- "font-family-sans": string;
47
- "font-family-brand": string;
48
- "font-size-100": string;
49
- "font-size-200": string;
50
- "font-size-275": string;
51
- "font-size-300": string;
52
- "font-size-350": string;
53
- "font-size-400": string;
54
- "font-size-500": string;
55
- "font-size-600": string;
56
- "font-size-700": string;
57
- "font-size-800": string;
58
- "font-size-900": string;
59
- "font-size-1000": string;
60
- "font-size-1100": string;
61
- "font-size-1200": string;
62
- "font-weight-regular": string;
63
- "font-weight-semibold": string;
64
- "font-weight-bold": string;
65
- "line-height-100": string;
66
- "line-height-200": string;
67
- "line-height-300": string;
68
- "line-height-400": string;
69
- "line-height-500": string;
70
- "line-height-600": string;
71
- "line-height-700": string;
72
- "line-height-800": string;
73
- "line-height-900": string;
74
- "line-height-1000": string;
75
- "line-height-1100": string;
76
- "line-height-1200": string;
77
- "letter-spacing-normal": string;
78
- "font-transform-none": string;
79
- "font-transform-uppercase": string;
80
- "color-brand-05": string;
81
- "color-brand-10": string;
82
- "color-brand-20": string;
83
- "color-brand-30": string;
84
- "color-brand-40": string;
85
- "color-brand-50": string;
86
- "color-brand-60": string;
87
- "color-brand-70": string;
88
- "color-brand-80": string;
89
- "color-brand-90": string;
90
- "color-accent-05": string;
91
- "color-accent-10": string;
92
- "color-accent-20": string;
93
- "color-accent-30": string;
94
- "color-accent-40": string;
95
- "color-accent-50": string;
96
- "color-accent-60": string;
97
- "color-accent-70": string;
98
- "color-accent-80": string;
99
- "color-accent-90": string;
100
- "color-white": string;
101
- "color-black": string;
102
- "color-neutral-02": string;
103
- "color-neutral-05": string;
104
- "color-neutral-10": string;
105
- "color-neutral-15": string;
106
- "color-neutral-20": string;
107
- "color-neutral-30": string;
108
- "color-neutral-40": string;
109
- "color-neutral-50": string;
110
- "color-neutral-60": string;
111
- "color-neutral-65": string;
112
- "color-neutral-70": string;
113
- "color-neutral-80": string;
114
- "color-neutral-90": string;
115
- "color-success-02": string;
116
- "color-success-05": string;
117
- "color-success-10": string;
118
- "color-success-20": string;
119
- "color-success-30": string;
120
- "color-success-40": string;
121
- "color-success-50": string;
122
- "color-success-60": string;
123
- "color-success-70": string;
124
- "color-success-80": string;
125
- "color-success-90": string;
126
- "color-alert-02": string;
127
- "color-alert-05": string;
128
- "color-alert-10": string;
129
- "color-alert-20": string;
130
- "color-alert-30": string;
131
- "color-alert-40": string;
132
- "color-alert-50": string;
133
- "color-alert-60": string;
134
- "color-alert-70": string;
135
- "color-alert-80": string;
136
- "color-alert-90": string;
137
- "color-warning-02": string;
138
- "color-warning-05": string;
139
- "color-warning-10": string;
140
- "color-warning-20": string;
141
- "color-warning-30": string;
142
- "color-warning-40": string;
143
- "color-warning-50": string;
144
- "color-warning-60": string;
145
- "color-warning-70": string;
146
- "color-warning-80": string;
147
- "color-warning-90": string;
148
- "color-informative-02": string;
149
- "color-informative-05": string;
150
- "color-informative-10": string;
151
- "color-informative-20": string;
152
- "color-informative-30": string;
153
- "color-informative-40": string;
154
- "color-informative-50": string;
155
- "color-informative-60": string;
156
- "color-informative-70": string;
157
- "color-informative-80": string;
158
- "color-informative-90": string;
159
- "color-discovery-02": string;
160
- "color-discovery-05": string;
161
- "color-discovery-10": string;
162
- "color-discovery-20": string;
163
- "color-discovery-30": string;
164
- "color-discovery-40": string;
165
- "color-discovery-50": string;
166
- "color-discovery-60": string;
167
- "color-discovery-70": string;
168
- "color-discovery-80": string;
169
- "color-discovery-90": string;
170
- "color-decorative-01-05": string;
171
- "color-decorative-01-10": string;
172
- "color-decorative-01-50": string;
173
- "color-decorative-01-70": string;
174
- "color-decorative-02-05": string;
175
- "color-decorative-02-10": string;
176
- "color-decorative-02-50": string;
177
- "color-decorative-02-70": string;
178
- "color-decorative-03-05": string;
179
- "color-decorative-03-10": string;
180
- "color-decorative-03-50": string;
181
- "color-decorative-03-70": string;
182
- "color-decorative-04-05": string;
183
- "color-decorative-04-10": string;
184
- "color-decorative-04-50": string;
185
- "color-decorative-04-70": string;
186
- "color-decorative-05-05": string;
187
- "color-decorative-05-10": string;
188
- "color-decorative-05-50": string;
189
- "color-decorative-05-70": string;
190
- "color-decorative-06-05": string;
191
- "color-decorative-06-10": string;
192
- "color-decorative-06-50": string;
193
- "color-decorative-06-70": string;
194
- "color-decorative-07-05": string;
195
- "color-decorative-07-10": string;
196
- "color-decorative-07-50": string;
197
- "color-decorative-07-70": string;
198
- "color-decorative-08-05": string;
199
- "color-decorative-08-10": string;
200
- "color-decorative-08-50": string;
201
- "color-decorative-08-70": string;
202
- "color-decorative-09-05": string;
203
- "color-decorative-09-10": string;
204
- "color-decorative-09-50": string;
205
- "color-decorative-09-70": string;
206
- "color-decorative-10-05": string;
207
- "color-decorative-10-10": string;
208
- "color-decorative-10-50": string;
209
- "color-decorative-10-70": string;
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;
210
8
  };
9
+ export declare const defaultRefTokens: RefTokenMap;
10
+ export declare function isRefToken(token: string): token is RefTokens;
@@ -0,0 +1 @@
1
+ export type NoSelfReference<T, U extends string> = T extends U ? never : T;
@@ -1,5 +1,5 @@
1
1
  import { FlattenSimpleInterpolation } from 'styled-components';
2
- import { ResolvedTheme } from '../themes';
2
+ import { ResolvedTheme } from '../themes/theme';
3
3
  type FocusType = 'focus' | 'focus-visible' | 'focus-within';
4
4
  export interface FocusOptions {
5
5
  selector?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/design-elements-react",
3
- "version": "9.9.2-snapshot.20250910030156",
3
+ "version": "9.9.2",
4
4
  "description": "React implementation of the Equisoft design system.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/bundle.js",
@@ -9,10 +9,10 @@
9
9
  "build": "webpack --config ./webpack/webpack.config.prod.js",
10
10
  "prepublishOnly": "yarn build",
11
11
  "start": "webpack --config ./webpack/webpack.config.dev.js",
12
- "test": "echo Running Typescript type-checking; tsc -p ./tsconfig.test.json && NODE_ENV=test jest --config=jest.config.js",
12
+ "test": "jest --config=jest.config.js",
13
13
  "test:ci": "yarn test --max-workers=2 --ci",
14
14
  "lint": "yarn eslint && yarn stylelint",
15
- "eslint": "eq-eslint src/ test/",
15
+ "eslint": "eslint src/ test/",
16
16
  "eslint:ci": "yarn eslint",
17
17
  "stylelint": "yarn g:stylelint \"./packages/react/src/**/*.{ts,tsx}\"",
18
18
  "stylelint:ci": "yarn stylelint",
@@ -29,78 +29,82 @@
29
29
  "url": "https://github.com/kronostechnologies/design-elements/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@mui/base": "5.0.0-beta.70",
33
- "@tanstack/react-table": "8.21.3",
34
- "date-fns": "4.1.0",
35
- "feather-icons": "4.29.2",
36
- "prop-types": "15.8.1",
37
- "react-datepicker": "8.7.0",
38
- "react-is": "18.3.1",
39
- "react-modal": "3.16.3",
40
- "react-popper-tooltip": "4.4.2",
41
- "react-shadow": "20.6.0",
42
- "react-swipeable": "7.0.2",
43
- "stream-browserify": "3.0.0"
32
+ "@mui/base": "5.0.0-beta.60",
33
+ "@tanstack/react-table": "^8.10.7",
34
+ "date-fns": "^4.0.0",
35
+ "feather-icons": "^4.29.0",
36
+ "prop-types": "^15.8.1",
37
+ "react-datepicker": "^7.3.0",
38
+ "react-is": "~17.0.2",
39
+ "react-modal": "^3.16.1",
40
+ "react-popper-tooltip": "^4.4.2",
41
+ "react-shadow": "^20.0.0",
42
+ "react-swipeable": "~7.0.0",
43
+ "stream-browserify": "^3.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "i18next": ">= 19",
47
- "react": ">= 18",
48
- "react-dom": ">= 18",
47
+ "react": ">= 16",
48
+ "react-dom": ">= 16",
49
49
  "react-router-dom": "^6",
50
- "styled-components": "^5"
50
+ "styled-components": ">= 4"
51
51
  },
52
52
  "devDependencies": {
53
- "@equisoft/eslint-config": "5.0.0",
54
- "@equisoft/eslint-config-typescript-react": "5.0.0",
53
+ "@equisoft/eslint-config": "3.0.7",
54
+ "@equisoft/eslint-config-typescript-react": "3.0.7",
55
55
  "@equisoft/typescript-config": "2.0.0",
56
56
  "@microsoft/eslint-formatter-sarif": "3.1.0",
57
- "@stylistic/eslint-plugin": "5.2.3",
58
- "@svgr/webpack": "8.1.0",
59
- "@swc/core": "1.13.5",
60
- "@swc/jest": "0.2.39",
61
- "@testing-library/dom": "10.4.1",
62
- "@testing-library/jest-dom": "6.8.0",
63
- "@testing-library/react": "16.3.0",
64
- "@types/feather-icons": "4.29.4",
65
- "@types/jest": "30.0.0",
66
- "@types/lodash": "4.17.20",
67
- "@types/react": "18.3.24",
68
- "@types/react-dom": "18.3.7",
69
- "@types/react-modal": "3.16.3",
70
- "@types/styled-components": "5.1.34",
57
+ "@svgr/webpack": "^8.1.0",
58
+ "@testing-library/dom": "10.4.0",
59
+ "@testing-library/jest-dom": "6.6.3",
60
+ "@testing-library/react": "12.1.5",
61
+ "@testing-library/react-hooks": "^8.0.1",
62
+ "@types/cheerio": "^0.22.31",
63
+ "@types/enzyme": "^3.10.13",
64
+ "@types/feather-icons": "^4.7.0",
65
+ "@types/jest": "^29.5.1",
66
+ "@types/lodash": "^4.14.186",
67
+ "@types/react": "~17.0.58",
68
+ "@types/react-dom": "~17.0.20",
69
+ "@types/react-modal": "^3.16.0",
70
+ "@types/styled-components": "^5.1.26",
71
71
  "@typescript-eslint/eslint-plugin": "7.18.0",
72
72
  "@typescript-eslint/parser": "7.18.0",
73
- "cross-env": "10.0.0",
74
- "css-loader": "7.1.2",
75
- "eslint": "8.57.1",
73
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
74
+ "cross-env": "^7.0.3",
75
+ "css-loader": "^7.0.0",
76
+ "enzyme": "^3.11.0",
77
+ "enzyme-to-json": "~3.6.2",
78
+ "eslint": "8.57.0",
76
79
  "eslint-import-resolver-node": "0.3.9",
77
- "eslint-import-resolver-typescript": "4.4.4",
78
- "eslint-plugin-import": "2.32.0",
79
- "eslint-plugin-jsx-a11y": "6.10.2",
80
- "eslint-plugin-react": "7.37.5",
81
- "eslint-plugin-react-hooks": "5.2.0",
82
- "expect": "30.1.2",
83
- "i18next": "25.5.2",
84
- "jest": "30.1.3",
85
- "jest-environment-jsdom": "30.1.2",
86
- "jest-junit": "16.0.0",
87
- "jest-styled-components": "7.2.0",
88
- "react": "18.3.1",
80
+ "eslint-import-resolver-typescript": "3.6.1",
81
+ "eslint-plugin-import": "2.29.1",
82
+ "eslint-plugin-jsx-a11y": "6.9.0",
83
+ "eslint-plugin-react": "7.35.0",
84
+ "eslint-plugin-react-hooks": "4.6.2",
85
+ "expect": "^29.5.0",
86
+ "i18next": "^24.0.0",
87
+ "jest": "^29.5.0",
88
+ "jest-environment-jsdom": "^29.5.0",
89
+ "jest-junit": "^16.0.0",
90
+ "jest-styled-components": "^7.1.1",
91
+ "jest-util": "30.0.2",
92
+ "react": "~17.0.2",
89
93
  "react-docgen-typescript-plugin": "1.0.8",
90
- "react-dom": "18.3.1",
91
- "react-router-dom": "6.30.1",
92
- "sass": "1.92.1",
93
- "sass-loader": "16.0.5",
94
- "style-loader": "4.0.0",
95
- "styled-components": "5.3.11",
96
- "stylelint": "16.24.0",
97
- "ts-jest": "29.4.1",
98
- "ts-loader": "9.5.4",
99
- "ts-mockito": "2.6.1",
100
- "typescript": "5.9.2",
101
- "webpack": "5.101.3",
102
- "webpack-cli": "6.0.1",
94
+ "react-dom": "~17.0.2",
95
+ "react-router-dom": "~6.28.0",
96
+ "sass": "~1.77.0",
97
+ "sass-loader": "~16.0.0",
98
+ "style-loader": "^4.0.0",
99
+ "styled-components": "^5.3.10",
100
+ "stylelint": "16.8.2",
101
+ "ts-jest": "^29.1.0",
102
+ "ts-loader": "^9.4.2",
103
+ "ts-mockito": "^2.6.1",
104
+ "typescript": "5.5.4",
105
+ "webpack": "5.94.0",
106
+ "webpack-cli": "5.1.4",
103
107
  "webpack-merge": "6.0.1",
104
- "yargs": "18.0.0"
108
+ "yargs": "17.7.2"
105
109
  }
106
110
  }
@@ -1,14 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- export type TableCaptionSize = 'large' | 'medium' | 'small';
3
- export interface TableCaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
4
- className?: string;
5
- id?: string;
6
- bold?: boolean;
7
- size?: TableCaptionSize;
8
- }
9
- export interface StyledTableCaptionProps {
10
- $bold?: boolean;
11
- }
12
- export declare const TableCaption: import("react").ForwardRefExoticComponent<TableCaptionProps & {
13
- children?: import("react").ReactNode | undefined;
14
- } & import("react").RefAttributes<HTMLTableCaptionElement>>;
@@ -1,5 +0,0 @@
1
- export interface TabsClasses {
2
- tablistContainer: string;
3
- }
4
- export type TabsClassKeys = keyof TabsClasses;
5
- export declare const tabsClasses: TabsClasses;
@@ -1,30 +0,0 @@
1
- import { ReactNode, KeyboardEvent } from 'react';
2
- import { IconName } from '../icon/icon';
3
- export type TabSize = 'medium' | 'small';
4
- export interface Tab {
5
- id: string;
6
- title: string;
7
- leftIcon?: IconName;
8
- rightIcon?: IconName;
9
- panelContent: ReactNode;
10
- onBeforeUnload?(): Promise<boolean>;
11
- }
12
- export interface TabButtonProps {
13
- size: TabSize;
14
- id: string;
15
- panelId: string;
16
- leftIcon?: IconName;
17
- rightIcon?: IconName;
18
- isSelected: boolean;
19
- onClick(): void;
20
- onRemove?(): void;
21
- onKeyDown?(event: KeyboardEvent<HTMLDivElement>): void;
22
- children: ReactNode;
23
- }
24
- export interface TabPanelProps {
25
- buttonId: string;
26
- children: ReactNode;
27
- hidden: boolean;
28
- id: string;
29
- size?: TabSize;
30
- }
@@ -1,3 +0,0 @@
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>;
@@ -1,3 +0,0 @@
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>;
@@ -1,3 +0,0 @@
1
- import type { ComponentTokenMap } from '../tokens';
2
- export type CaptionToken = 'caption-text-color';
3
- export declare const defaultCaptionTokens: ComponentTokenMap<CaptionToken>;
@@ -1,3 +0,0 @@
1
- import type { RefTokenMap } from '../tokens';
2
- export type TextToken = 'font-family-sans' | 'font-family-brand' | 'font-size-100' | 'font-size-200' | 'font-size-275' | 'font-size-300' | 'font-size-350' | 'font-size-400' | 'font-size-500' | 'font-size-600' | 'font-size-700' | 'font-size-800' | 'font-size-900' | 'font-size-1000' | 'font-size-1100' | 'font-size-1200' | 'font-weight-regular' | 'font-weight-semibold' | 'font-weight-bold' | 'line-height-100' | 'line-height-200' | 'line-height-300' | 'line-height-400' | 'line-height-500' | 'line-height-600' | 'line-height-700' | 'line-height-800' | 'line-height-900' | 'line-height-1000' | 'line-height-1100' | 'line-height-1200' | 'letter-spacing-normal' | 'font-transform-none' | 'font-transform-uppercase';
3
- export declare const defaultTextTokens: RefTokenMap<TextToken>;
@@ -1,3 +0,0 @@
1
- import type { RefTokenMap } from '../tokens';
2
- export type UtilityToken = 'transparent-dark-3' | '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';
3
- export declare const defaultUtilityTokens: RefTokenMap<UtilityToken>;
@@ -1,11 +0,0 @@
1
- import type { RefToken } from './ref-tokens';
2
- import type { AliasToken } from './alias-tokens';
3
- export type TokenName = string;
4
- export type TokenValue = string;
5
- export type TokenMap<T extends TokenName, V extends TokenValue> = {
6
- [Name in T]: Exclude<V, Name>;
7
- };
8
- export type ResolvedTokenMap<T extends TokenName> = TokenMap<T, TokenValue>;
9
- export type RefTokenMap<T extends TokenName> = ResolvedTokenMap<T>;
10
- export type AliasTokenMap<T extends TokenName> = TokenMap<T, RefToken | AliasToken>;
11
- export type ComponentTokenMap<T extends TokenName> = TokenMap<T, RefToken | AliasToken>;