@omni-design/components 0.11.0 → 0.13.0

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 (64) hide show
  1. package/.claude/commands/ScanComponents.md +1 -1
  2. package/.claude/commands/ShareComponent.md +1 -1
  3. package/CLAUDE.md +5 -3
  4. package/dist/OmniDesignProvider.esm.js +1 -1
  5. package/dist/OmniDesignProvider.esm.js.map +1 -1
  6. package/dist/OmniDesignProvider.js +1 -1
  7. package/dist/OmniDesignProvider.js.map +1 -1
  8. package/dist/index.esm.js +8 -3
  9. package/dist/index.esm.js.map +1 -1
  10. package/dist/index.js +8 -3
  11. package/dist/index.js.map +1 -1
  12. package/dist/types/components/BackgroundPicker.d.ts +1 -1
  13. package/dist/types/components/BrandIcon/BrandIcon.d.ts +20 -0
  14. package/dist/types/components/BrandIcon/index.d.ts +1 -0
  15. package/dist/types/components/Button/Button.d.ts +3 -1
  16. package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +3 -2
  17. package/dist/types/components/Charts/tokens.d.ts +1 -1
  18. package/dist/types/components/Chip/Chip.d.ts +1 -1
  19. package/dist/types/components/Footer/Footer.d.ts +3 -1
  20. package/dist/types/components/Foundations/FoundationTopic.d.ts +4 -0
  21. package/dist/types/components/Foundations/HowToSlot.d.ts +16 -0
  22. package/dist/types/components/Foundations/TokenRoles.d.ts +19 -0
  23. package/dist/types/components/Foundations/TypographySummary.d.ts +2 -0
  24. package/dist/types/components/IconBadge/IconBadge.d.ts +1 -1
  25. package/dist/types/components/Loader/Loader.d.ts +66 -0
  26. package/dist/types/components/Loader/index.d.ts +1 -0
  27. package/dist/types/components/MiniSwatch/MiniSwatch.d.ts +7 -0
  28. package/dist/types/components/MiniSwatch/index.d.ts +1 -0
  29. package/dist/types/components/ShowcaseHeader.d.ts +5 -0
  30. package/dist/types/components/Swatch/Swatch.d.ts +14 -0
  31. package/dist/types/components/Swatch/index.d.ts +1 -0
  32. package/dist/types/components/Switch/Switch.d.ts +24 -8
  33. package/dist/types/components/Switch/index.d.ts +1 -1
  34. package/dist/types/components/TextField/TextField.d.ts +1 -1
  35. package/dist/types/components/Typography/Typography.d.ts +54 -1
  36. package/dist/types/components/Typography/index.d.ts +1 -1
  37. package/dist/types/components/_states.d.ts +1 -1
  38. package/dist/types/components/a11yPanel.d.ts +37 -0
  39. package/dist/types/components/index.d.ts +7 -1
  40. package/dist/types/docs/DocPanels.d.ts +25 -0
  41. package/dist/types/docs/components.d.ts +220 -0
  42. package/dist/types/docs/componentsData.d.ts +587 -0
  43. package/dist/types/docs/componentsForms.d.ts +597 -0
  44. package/dist/types/docs/componentsNav.d.ts +420 -0
  45. package/dist/types/docs/componentsOverlays.d.ts +379 -0
  46. package/dist/types/docs/componentsRest.d.ts +158 -0
  47. package/dist/types/docs/componentsSurfaces.d.ts +429 -0
  48. package/dist/types/docs/docsLink.d.ts +32 -0
  49. package/dist/types/docs/examples.d.ts +48 -0
  50. package/dist/types/docs/figmaHowTo.d.ts +28 -0
  51. package/dist/types/docs/figmaLinks.d.ts +58 -0
  52. package/dist/types/docs/foundations.d.ts +40 -0
  53. package/dist/types/docs/index.d.ts +5 -0
  54. package/docs/components.md +71 -55
  55. package/package.json +4 -2
  56. package/public/styles/Dark-Mode.css +12062 -13009
  57. package/public/styles/Light-Mode.css +11246 -12370
  58. package/public/styles/base.css +387 -182
  59. package/public/styles/core.css +569 -133
  60. package/public/styles/foundation.css +142 -53
  61. package/public/styles/styles.css +5 -5
  62. package/public/styles/theme.json +2 -2
  63. package/public/styles/typography-tokens.css +873 -96
  64. package/dist/types/theme/useThemeMode.d.ts +0 -4
@@ -0,0 +1,220 @@
1
+ export namespace BUTTON_DOC {
2
+ let name: string;
3
+ let summary: string;
4
+ let insteadUse: {
5
+ when: string;
6
+ use: string;
7
+ }[];
8
+ let props: ({
9
+ name: string;
10
+ label: string;
11
+ sample: string;
12
+ type: string;
13
+ default: string;
14
+ values: string[];
15
+ note: string;
16
+ } | {
17
+ name: string;
18
+ type: string;
19
+ values: string[];
20
+ default: string;
21
+ label?: undefined;
22
+ sample?: undefined;
23
+ note?: undefined;
24
+ } | {
25
+ name: string;
26
+ type: string;
27
+ default: string;
28
+ note: string;
29
+ label?: undefined;
30
+ sample?: undefined;
31
+ values?: undefined;
32
+ } | {
33
+ name: string;
34
+ type: string;
35
+ default: string;
36
+ label?: undefined;
37
+ sample?: undefined;
38
+ values?: undefined;
39
+ note?: undefined;
40
+ })[];
41
+ let states: ({
42
+ state: string;
43
+ setBy: string;
44
+ note?: undefined;
45
+ } | {
46
+ state: string;
47
+ setBy: string;
48
+ note: string;
49
+ })[];
50
+ let theming: {
51
+ collection: string;
52
+ inCode: string;
53
+ inFigma: string;
54
+ }[];
55
+ let themingNotes: string[];
56
+ let tokens: {
57
+ name: string;
58
+ sets: string;
59
+ variesWith: string;
60
+ figma: string;
61
+ }[];
62
+ let composition: string[];
63
+ let accessibility: string[];
64
+ let gotchas: string[];
65
+ let changes: ({
66
+ version: string;
67
+ change: string;
68
+ migrate: string;
69
+ silent: boolean;
70
+ } | {
71
+ version: string;
72
+ change: string;
73
+ silent: boolean;
74
+ migrate?: undefined;
75
+ })[];
76
+ }
77
+ export namespace TABS_DOC {
78
+ let name_1: string;
79
+ export { name_1 as name };
80
+ let summary_1: string;
81
+ export { summary_1 as summary };
82
+ let insteadUse_1: {
83
+ when: string;
84
+ use: string;
85
+ }[];
86
+ export { insteadUse_1 as insteadUse };
87
+ let props_1: ({
88
+ name: string;
89
+ type: string;
90
+ default: string;
91
+ note: string;
92
+ values?: undefined;
93
+ } | {
94
+ name: string;
95
+ type: string;
96
+ values: string[];
97
+ default: string;
98
+ note: string;
99
+ } | {
100
+ name: string;
101
+ type: string;
102
+ values: string[];
103
+ default: string;
104
+ note?: undefined;
105
+ } | {
106
+ name: string;
107
+ type: string;
108
+ default: string;
109
+ note?: undefined;
110
+ values?: undefined;
111
+ })[];
112
+ export { props_1 as props };
113
+ let states_1: ({
114
+ state: string;
115
+ setBy: string;
116
+ note: string;
117
+ } | {
118
+ state: string;
119
+ setBy: string;
120
+ note?: undefined;
121
+ })[];
122
+ export { states_1 as states };
123
+ let theming_1: {
124
+ collection: string;
125
+ inCode: string;
126
+ inFigma: string;
127
+ }[];
128
+ export { theming_1 as theming };
129
+ let tokens_1: {
130
+ name: string;
131
+ sets: string;
132
+ variesWith: string;
133
+ figma: string;
134
+ }[];
135
+ export { tokens_1 as tokens };
136
+ let composition_1: string[];
137
+ export { composition_1 as composition };
138
+ let accessibility_1: string[];
139
+ export { accessibility_1 as accessibility };
140
+ let gotchas_1: string[];
141
+ export { gotchas_1 as gotchas };
142
+ }
143
+ export namespace CARD_DOC {
144
+ let name_2: string;
145
+ export { name_2 as name };
146
+ let summary_2: string;
147
+ export { summary_2 as summary };
148
+ let insteadUse_2: {
149
+ when: string;
150
+ use: string;
151
+ }[];
152
+ export { insteadUse_2 as insteadUse };
153
+ let props_2: ({
154
+ name: string;
155
+ type: string;
156
+ values: string[];
157
+ default: string;
158
+ note?: undefined;
159
+ } | {
160
+ name: string;
161
+ type: string;
162
+ default: string;
163
+ values?: undefined;
164
+ note?: undefined;
165
+ } | {
166
+ name: string;
167
+ type: string;
168
+ default: string;
169
+ note: string;
170
+ values?: undefined;
171
+ })[];
172
+ export { props_2 as props };
173
+ let states_2: ({
174
+ state: string;
175
+ setBy: string;
176
+ note: string;
177
+ } | {
178
+ state: string;
179
+ setBy: string;
180
+ note?: undefined;
181
+ })[];
182
+ export { states_2 as states };
183
+ let theming_2: {
184
+ collection: string;
185
+ inCode: string;
186
+ inFigma: string;
187
+ }[];
188
+ export { theming_2 as theming };
189
+ let themingNotes_1: string[];
190
+ export { themingNotes_1 as themingNotes };
191
+ let tokens_2: {
192
+ name: string;
193
+ sets: string;
194
+ variesWith: string;
195
+ figma: string;
196
+ }[];
197
+ export { tokens_2 as tokens };
198
+ let composition_2: string[];
199
+ export { composition_2 as composition };
200
+ let accessibility_2: string[];
201
+ export { accessibility_2 as accessibility };
202
+ let gotchas_2: string[];
203
+ export { gotchas_2 as gotchas };
204
+ }
205
+ export const COMPONENT_DOCS: {
206
+ name: any;
207
+ summary: any;
208
+ insteadUse: any;
209
+ props: any;
210
+ states: any;
211
+ theming: {
212
+ collection: string;
213
+ inCode: string;
214
+ inFigma: string;
215
+ }[];
216
+ tokens: any;
217
+ composition: any;
218
+ accessibility: any;
219
+ gotchas: any;
220
+ }[];