braid-design-system 32.1.0 → 32.2.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 (148) hide show
  1. package/CHANGELOG.md +133 -0
  2. package/codemod/dist/wrapper.js +181 -183
  3. package/color-mode/query-param/index.d.ts +1 -0
  4. package/color-mode/query-param/package.json +1 -1
  5. package/css/index.d.ts +1 -0
  6. package/css/package.json +1 -1
  7. package/dist/ToastContext.chunk.cjs +21 -21
  8. package/dist/ToastContext.chunk.mjs +120 -120
  9. package/dist/Toggle.chunk.cjs +22 -32
  10. package/dist/Toggle.chunk.mjs +199 -209
  11. package/dist/color-mode/query-param.mjs +1 -1
  12. package/dist/css.d.ts +1 -667
  13. package/dist/css.mjs +7 -7
  14. package/dist/index.d.ts +1 -3952
  15. package/dist/index.mjs +164 -164
  16. package/dist/playroom/FrameComponent.d.ts +1 -323
  17. package/dist/playroom/FrameComponent.mjs +4 -4
  18. package/dist/playroom/components.d.ts +1 -4027
  19. package/dist/playroom/components.mjs +124 -124
  20. package/dist/playroom/scope.d.ts +1 -385
  21. package/dist/playroom/scope.mjs +4 -4
  22. package/dist/playroom/snippets.d.ts +1 -7
  23. package/dist/playroomState.chunk.cjs +1 -1
  24. package/dist/playroomState.chunk.mjs +3 -3
  25. package/dist/reset.d.ts +5075 -1
  26. package/dist/side-effects/lib/components/BraidProvider/BraidProvider.mjs +12 -12
  27. package/dist/side-effects/lib/css/reset/index.mjs +1 -1
  28. package/dist/side-effects/lib/css/reset/resetTracker.mjs +2 -2
  29. package/dist/side-effects/lib/themes/baseTokens/apac.cjs +8 -9
  30. package/dist/side-effects/lib/themes/baseTokens/apac.mjs +8 -10
  31. package/dist/side-effects/lib/themes/index.mjs +5 -5
  32. package/dist/side-effects/lib/themes/makeRuntimeTokens.cjs +4 -10
  33. package/dist/side-effects/lib/themes/makeRuntimeTokens.mjs +5 -10
  34. package/dist/side-effects/lib/themes/tokenType.cjs +15 -0
  35. package/dist/side-effects/lib/themes/tokenType.mjs +16 -0
  36. package/dist/styles/lib/components/Accordion/AccordionItem.css.mjs +3 -3
  37. package/dist/styles/lib/components/Alert/Alert.css.mjs +3 -3
  38. package/dist/styles/lib/components/Autosuggest/Autosuggest.css.mjs +6 -6
  39. package/dist/styles/lib/components/Button/Button.css.cjs +24 -23
  40. package/dist/styles/lib/components/Button/Button.css.mjs +39 -38
  41. package/dist/styles/lib/components/ButtonIcon/ButtonIcon.css.mjs +1 -1
  42. package/dist/styles/lib/components/Column/Column.css.mjs +3 -3
  43. package/dist/styles/lib/components/ContentBlock/ContentBlock.css.mjs +1 -1
  44. package/dist/styles/lib/components/Divider/Divider.css.mjs +7 -7
  45. package/dist/styles/lib/components/Dropdown/Dropdown.css.mjs +2 -2
  46. package/dist/styles/lib/components/Hidden/Hidden.css.mjs +1 -1
  47. package/dist/styles/lib/components/HiddenVisually/HiddenVisually.css.mjs +1 -1
  48. package/dist/styles/lib/components/List/List.css.mjs +4 -4
  49. package/dist/styles/lib/components/Loader/Loader.css.mjs +7 -7
  50. package/dist/styles/lib/components/MenuItem/useMenuItem.css.mjs +1 -1
  51. package/dist/styles/lib/components/MenuRenderer/MenuRenderer.css.mjs +5 -5
  52. package/dist/styles/lib/components/MonthPicker/MonthPicker.css.mjs +1 -1
  53. package/dist/styles/lib/components/OverflowMenu/OverflowMenu.css.mjs +1 -1
  54. package/dist/styles/lib/components/Pagination/Pagination.css.mjs +6 -6
  55. package/dist/styles/lib/components/Rating/Rating.css.mjs +6 -6
  56. package/dist/styles/lib/components/Stepper/Stepper.css.mjs +21 -21
  57. package/dist/styles/lib/components/Tabs/Tabs.css.mjs +17 -17
  58. package/dist/styles/lib/components/Tag/Tag.css.mjs +1 -1
  59. package/dist/styles/lib/components/TextDropdown/TextDropdown.css.mjs +4 -4
  60. package/dist/styles/lib/components/TextLink/TextLink.css.mjs +8 -8
  61. package/dist/styles/lib/components/Textarea/Highlight/Highlight.css.mjs +1 -1
  62. package/dist/styles/lib/components/Textarea/Textarea.css.mjs +3 -3
  63. package/dist/styles/lib/components/Tiles/Tiles.css.mjs +5 -5
  64. package/dist/styles/lib/components/Toggle/Toggle.css.mjs +20 -20
  65. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.cjs +1 -5
  66. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.mjs +7 -11
  67. package/dist/styles/lib/components/icons/IconArrow/IconArrow.css.mjs +4 -4
  68. package/dist/styles/lib/components/icons/IconChevron/IconChevron.css.mjs +4 -4
  69. package/dist/styles/lib/components/icons/IconThumb/IconThumb.css.mjs +2 -2
  70. package/dist/styles/lib/components/private/AvoidWidowIcon/AvoidWidowIcon.css.mjs +1 -1
  71. package/dist/styles/lib/components/private/Field/Field.css.mjs +8 -8
  72. package/dist/styles/lib/components/private/InlineField/InlineField.css.mjs +17 -17
  73. package/dist/styles/lib/components/private/Keyline/Keyline.css.cjs +4 -0
  74. package/dist/styles/lib/components/private/Keyline/Keyline.css.mjs +11 -7
  75. package/dist/styles/lib/components/private/Modal/Modal.css.mjs +16 -16
  76. package/dist/styles/lib/components/private/Modal/ModalExternalGutter.mjs +1 -1
  77. package/dist/styles/lib/components/private/Placeholder/Placeholder.css.mjs +6 -6
  78. package/dist/styles/lib/components/private/Truncate/Truncate.css.mjs +1 -1
  79. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRings.css.mjs +2 -2
  80. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.mjs +1 -1
  81. package/dist/styles/lib/components/private/touchable/debugTouchable.mjs +1 -1
  82. package/dist/styles/lib/components/private/touchable/hitArea.mjs +1 -1
  83. package/dist/styles/lib/components/private/touchable/virtualTouchable.css.mjs +4 -4
  84. package/dist/styles/lib/components/private/touchable/virtualTouchableRules.mjs +2 -2
  85. package/dist/styles/lib/components/useToast/Toast.css.mjs +1 -1
  86. package/dist/styles/lib/css/atoms/atomicProperties.mjs +6 -6
  87. package/dist/styles/lib/css/atoms/atoms.mjs +3 -3
  88. package/dist/styles/lib/css/atoms/sprinkles.css.mjs +8 -8
  89. package/dist/styles/lib/css/breakpoints.mjs +2 -2
  90. package/dist/styles/lib/css/colorModeStyle.mjs +2 -2
  91. package/dist/styles/lib/css/lineHeightContainer.css.mjs +3 -3
  92. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.cjs +4 -9
  93. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.mjs +3 -8
  94. package/dist/styles/lib/css/reset/reset.css.mjs +3 -3
  95. package/dist/styles/lib/css/responsiveStyle.cjs +2 -2
  96. package/dist/styles/lib/css/responsiveStyle.mjs +3 -3
  97. package/dist/styles/lib/css/textAlignedToIcon.css.mjs +3 -3
  98. package/dist/styles/lib/css/typography.css.cjs +1 -16
  99. package/dist/styles/lib/css/typography.css.mjs +5 -20
  100. package/dist/styles/lib/hooks/useIcon/icon.css.mjs +8 -8
  101. package/dist/styles/lib/themes/apac/apacTheme.css.mjs +3 -3
  102. package/dist/styles/lib/themes/apac/tokens.mjs +2 -2
  103. package/dist/styles/lib/themes/docs/docsTheme.css.mjs +3 -3
  104. package/dist/styles/lib/themes/docs/tokens.cjs +8 -8
  105. package/dist/styles/lib/themes/docs/tokens.mjs +8 -10
  106. package/dist/styles/lib/themes/makeBraidTheme.mjs +4 -4
  107. package/dist/styles/lib/themes/makeVanillaTheme.cjs +23 -10
  108. package/dist/styles/lib/themes/makeVanillaTheme.mjs +23 -10
  109. package/dist/styles/lib/themes/seekBusiness/seekBusinessTheme.css.mjs +3 -3
  110. package/dist/styles/lib/themes/seekBusiness/tokens.mjs +2 -2
  111. package/dist/styles/lib/themes/vars.css.mjs +3 -3
  112. package/dist/styles/lib/themes/wireframe/tokens.cjs +25 -29
  113. package/dist/styles/lib/themes/wireframe/tokens.mjs +25 -31
  114. package/dist/styles/lib/themes/wireframe/wireframeTheme.css.mjs +3 -3
  115. package/dist/styles/lib/utils/index.mjs +6 -6
  116. package/dist/test.d.ts +1 -890
  117. package/dist/test.mjs +2 -2
  118. package/dist/themes/apac.d.ts +1 -137
  119. package/dist/themes/apac.mjs +2 -2
  120. package/dist/themes/docs.d.ts +1 -137
  121. package/dist/themes/docs.mjs +2 -2
  122. package/dist/themes/seekBusiness.d.ts +1 -137
  123. package/dist/themes/seekBusiness.mjs +2 -2
  124. package/dist/themes/wireframe.d.ts +1 -137
  125. package/dist/themes/wireframe.mjs +2 -2
  126. package/package.json +4 -3
  127. package/playroom/FrameComponent/index.d.ts +2 -0
  128. package/playroom/FrameComponent/package.json +1 -1
  129. package/playroom/components/index.d.ts +1 -0
  130. package/playroom/components/package.json +1 -1
  131. package/playroom/scope/index.d.ts +2 -0
  132. package/playroom/scope/package.json +1 -1
  133. package/playroom/snippets/index.d.ts +2 -0
  134. package/playroom/snippets/package.json +1 -1
  135. package/reset/index.d.ts +1 -0
  136. package/reset/package.json +1 -1
  137. package/test/index.d.ts +1 -0
  138. package/test/package.json +1 -1
  139. package/themes/apac/index.d.ts +2 -0
  140. package/themes/apac/package.json +1 -1
  141. package/themes/docs/index.d.ts +2 -0
  142. package/themes/docs/package.json +1 -1
  143. package/themes/seekBusiness/index.d.ts +2 -0
  144. package/themes/seekBusiness/package.json +1 -1
  145. package/themes/wireframe/index.d.ts +2 -0
  146. package/themes/wireframe/package.json +1 -1
  147. package/dist/styles/lib/components/Badge/Badge.css.cjs +0 -27
  148. package/dist/styles/lib/components/Badge/Badge.css.mjs +0 -28
package/dist/index.mjs CHANGED
@@ -1,166 +1,166 @@
1
- import { B, m } from "./side-effects/lib/components/BraidProvider/BraidProvider.mjs";
2
- import { c, P, B as B2, d, e, C, f, g, D, H, n, o, p, I, h, S, T, i, j, k, m as m2, b, a, u, l } from "./ToastContext.chunk.mjs";
3
- import { A, b as b2, c as c2, d as d2, e as e2, B as B3, g as g2, h as h2, C as C2, i as i2, j as j2, D as D2, k as k2, l as l2, m as m3, F, n as n2, H as H2, o as o2, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, L, p as p2, q, r, s, t, v, M, w, N, O, P as P2, x, R, y, z, E, S as S2, G, I as I2, J, K, W, V, U, Q, X, Z, _, Y, T as T2, $, a0, f as f2, a as a10, u as u2 } from "./Toggle.chunk.mjs";
1
+ import { BraidProvider, makeLinkComponent } from "./side-effects/lib/components/BraidProvider/BraidProvider.mjs";
2
+ import { Bleed, PublicBox, BraidPortal, Button, ButtonIcon, Column, Columns, ContentBlock, Divider, Hidden, IconClear, IconCritical, IconPositive, IconRenderer, Inline, Stack, Text, TextLink, TextLinkButton, ToastProvider, TooltipRenderer, useResponsiveValue, useSpace, useThemeName, useToast } from "./ToastContext.chunk.mjs";
3
+ import { Accordion, AccordionItem, Actions, Alert, Autosuggest, Badge, BoxRenderer, ButtonLink, Card, Checkbox, CheckboxStandalone, Dialog, Disclosure, Drawer, Dropdown, FieldLabel, FieldMessage, Heading, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconCompany, IconCompose, IconCopy, IconCreditCard, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Link, List, Loader, MenuItem, MenuItemCheckbox, MenuItemDivider, MenuItemLink, MenuRenderer, MonthPicker, Notice, OverflowMenu, Pagination, PasswordField, Radio, RadioGroup, RadioItem, Rating, Secondary, Step, Stepper, Strong, Tab, TabPanel, TabPanels, Tabs, TabsProvider, Tag, TextDropdown, TextField, Textarea, ThemeNameConsumer, Tiles, Toggle, filterSuggestions, useBreakpoint, useColor } from "./Toggle.chunk.mjs";
4
4
  export {
5
- A as Accordion,
6
- b2 as AccordionItem,
7
- c2 as Actions,
8
- d2 as Alert,
9
- e2 as Autosuggest,
10
- B3 as Badge,
11
- c as Bleed,
12
- P as Box,
13
- g2 as BoxRenderer,
14
- B2 as BraidPortal,
15
- B as BraidProvider,
16
- d as Button,
17
- e as ButtonIcon,
18
- h2 as ButtonLink,
19
- C2 as Card,
20
- i2 as Checkbox,
21
- j2 as CheckboxStandalone,
22
- C as Column,
23
- f as Columns,
24
- g as ContentBlock,
25
- D2 as Dialog,
26
- k2 as Disclosure,
27
- D as Divider,
28
- l2 as Drawer,
29
- m3 as Dropdown,
30
- F as FieldLabel,
31
- n2 as FieldMessage,
32
- H2 as Heading,
33
- H as Hidden,
34
- o2 as HiddenVisually,
35
- a1 as IconAdd,
36
- a2 as IconArrow,
37
- a3 as IconBookmark,
38
- a4 as IconCaution,
39
- a5 as IconChevron,
40
- n as IconClear,
41
- a6 as IconCompany,
42
- a7 as IconCompose,
43
- a8 as IconCopy,
44
- a9 as IconCreditCard,
45
- o as IconCritical,
46
- aa as IconDate,
47
- ab as IconDelete,
48
- ac as IconDesktop,
49
- ad as IconDocument,
50
- ae as IconDocumentBroken,
51
- af as IconDownload,
52
- ag as IconEdit,
53
- ah as IconEducation,
54
- ai as IconFilter,
55
- aj as IconFlag,
56
- ak as IconGrid,
57
- al as IconHeart,
58
- am as IconHelp,
59
- an as IconHistory,
60
- ao as IconHome,
61
- ap as IconImage,
62
- aq as IconInfo,
63
- ar as IconInvoice,
64
- as as IconLanguage,
65
- at as IconLink,
66
- au as IconLinkBroken,
67
- av as IconList,
68
- aw as IconLocation,
69
- ax as IconMail,
70
- ay as IconMinus,
71
- az as IconMobile,
72
- aA as IconMoney,
73
- aB as IconNewWindow,
74
- aC as IconNote,
75
- aD as IconNotification,
76
- aE as IconOverflow,
77
- aF as IconPeople,
78
- aG as IconPersonAdd,
79
- aH as IconPersonVerified,
80
- aI as IconPhone,
81
- aJ as IconPlatformAndroid,
82
- aK as IconPlatformApple,
83
- p as IconPositive,
84
- aL as IconPrint,
85
- aM as IconProfile,
86
- aN as IconPromote,
87
- aO as IconRecommended,
88
- aP as IconRefresh,
89
- I as IconRenderer,
90
- aQ as IconResume,
91
- aR as IconSearch,
92
- aS as IconSecurity,
93
- aT as IconSend,
94
- aU as IconSent,
95
- aV as IconSettings,
96
- aW as IconShare,
97
- aX as IconSocialFacebook,
98
- aY as IconSocialGitHub,
99
- aZ as IconSocialInstagram,
100
- a_ as IconSocialLinkedIn,
101
- a$ as IconSocialMedium,
102
- b0 as IconSocialTwitter,
103
- b1 as IconSocialYouTube,
104
- b22 as IconStar,
105
- b3 as IconStatistics,
106
- b4 as IconSubCategory,
107
- b5 as IconTag,
108
- b6 as IconThumb,
109
- b7 as IconTick,
110
- b8 as IconTime,
111
- b9 as IconTip,
112
- ba as IconUpload,
113
- bb as IconVideo,
114
- bc as IconVisibility,
115
- bd as IconWorkExperience,
116
- be as IconZoomIn,
117
- bf as IconZoomOut,
118
- h as Inline,
119
- L as Link,
120
- p2 as List,
121
- q as Loader,
122
- r as MenuItem,
123
- s as MenuItemCheckbox,
124
- t as MenuItemDivider,
125
- v as MenuItemLink,
126
- M as MenuRenderer,
127
- w as MonthPicker,
128
- N as Notice,
129
- O as OverflowMenu,
130
- P2 as Pagination,
131
- x as PasswordField,
132
- R as Radio,
133
- y as RadioGroup,
134
- z as RadioItem,
135
- E as Rating,
136
- S2 as Secondary,
137
- S as Stack,
138
- G as Step,
139
- I2 as Stepper,
140
- J as Strong,
141
- K as Tab,
142
- W as TabPanel,
143
- V as TabPanels,
144
- U as Tabs,
145
- Q as TabsProvider,
146
- X as Tag,
147
- T as Text,
148
- Z as TextDropdown,
149
- _ as TextField,
150
- i as TextLink,
151
- j as TextLinkButton,
152
- Y as Textarea,
153
- T2 as ThemeNameConsumer,
154
- $ as Tiles,
155
- k as ToastProvider,
156
- a0 as Toggle,
157
- m2 as TooltipRenderer,
158
- f2 as filterSuggestions,
159
- m as makeLinkComponent,
160
- a10 as useBreakpoint,
161
- u2 as useColor,
162
- b as useResponsiveValue,
163
- a as useSpace,
164
- u as useThemeName,
165
- l as useToast
5
+ Accordion,
6
+ AccordionItem,
7
+ Actions,
8
+ Alert,
9
+ Autosuggest,
10
+ Badge,
11
+ Bleed,
12
+ PublicBox as Box,
13
+ BoxRenderer,
14
+ BraidPortal,
15
+ BraidProvider,
16
+ Button,
17
+ ButtonIcon,
18
+ ButtonLink,
19
+ Card,
20
+ Checkbox,
21
+ CheckboxStandalone,
22
+ Column,
23
+ Columns,
24
+ ContentBlock,
25
+ Dialog,
26
+ Disclosure,
27
+ Divider,
28
+ Drawer,
29
+ Dropdown,
30
+ FieldLabel,
31
+ FieldMessage,
32
+ Heading,
33
+ Hidden,
34
+ HiddenVisually,
35
+ IconAdd,
36
+ IconArrow,
37
+ IconBookmark,
38
+ IconCaution,
39
+ IconChevron,
40
+ IconClear,
41
+ IconCompany,
42
+ IconCompose,
43
+ IconCopy,
44
+ IconCreditCard,
45
+ IconCritical,
46
+ IconDate,
47
+ IconDelete,
48
+ IconDesktop,
49
+ IconDocument,
50
+ IconDocumentBroken,
51
+ IconDownload,
52
+ IconEdit,
53
+ IconEducation,
54
+ IconFilter,
55
+ IconFlag,
56
+ IconGrid,
57
+ IconHeart,
58
+ IconHelp,
59
+ IconHistory,
60
+ IconHome,
61
+ IconImage,
62
+ IconInfo,
63
+ IconInvoice,
64
+ IconLanguage,
65
+ IconLink,
66
+ IconLinkBroken,
67
+ IconList,
68
+ IconLocation,
69
+ IconMail,
70
+ IconMinus,
71
+ IconMobile,
72
+ IconMoney,
73
+ IconNewWindow,
74
+ IconNote,
75
+ IconNotification,
76
+ IconOverflow,
77
+ IconPeople,
78
+ IconPersonAdd,
79
+ IconPersonVerified,
80
+ IconPhone,
81
+ IconPlatformAndroid,
82
+ IconPlatformApple,
83
+ IconPositive,
84
+ IconPrint,
85
+ IconProfile,
86
+ IconPromote,
87
+ IconRecommended,
88
+ IconRefresh,
89
+ IconRenderer,
90
+ IconResume,
91
+ IconSearch,
92
+ IconSecurity,
93
+ IconSend,
94
+ IconSent,
95
+ IconSettings,
96
+ IconShare,
97
+ IconSocialFacebook,
98
+ IconSocialGitHub,
99
+ IconSocialInstagram,
100
+ IconSocialLinkedIn,
101
+ IconSocialMedium,
102
+ IconSocialTwitter,
103
+ IconSocialYouTube,
104
+ IconStar,
105
+ IconStatistics,
106
+ IconSubCategory,
107
+ IconTag,
108
+ IconThumb,
109
+ IconTick,
110
+ IconTime,
111
+ IconTip,
112
+ IconUpload,
113
+ IconVideo,
114
+ IconVisibility,
115
+ IconWorkExperience,
116
+ IconZoomIn,
117
+ IconZoomOut,
118
+ Inline,
119
+ Link,
120
+ List,
121
+ Loader,
122
+ MenuItem,
123
+ MenuItemCheckbox,
124
+ MenuItemDivider,
125
+ MenuItemLink,
126
+ MenuRenderer,
127
+ MonthPicker,
128
+ Notice,
129
+ OverflowMenu,
130
+ Pagination,
131
+ PasswordField,
132
+ Radio,
133
+ RadioGroup,
134
+ RadioItem,
135
+ Rating,
136
+ Secondary,
137
+ Stack,
138
+ Step,
139
+ Stepper,
140
+ Strong,
141
+ Tab,
142
+ TabPanel,
143
+ TabPanels,
144
+ Tabs,
145
+ TabsProvider,
146
+ Tag,
147
+ Text,
148
+ TextDropdown,
149
+ TextField,
150
+ TextLink,
151
+ TextLinkButton,
152
+ Textarea,
153
+ ThemeNameConsumer,
154
+ Tiles,
155
+ ToastProvider,
156
+ Toggle,
157
+ TooltipRenderer,
158
+ filterSuggestions,
159
+ makeLinkComponent,
160
+ useBreakpoint,
161
+ useColor,
162
+ useResponsiveValue,
163
+ useSpace,
164
+ useThemeName,
165
+ useToast
166
166
  };
@@ -1,323 +1 @@
1
- import { ReactNode } from 'react';
2
- import { FontMetrics } from '@capsizecss/core';
3
-
4
- declare const breakpoints: {
5
- readonly mobile: 0;
6
- readonly tablet: 740;
7
- readonly desktop: 992;
8
- readonly wide: 1200;
9
- };
10
- type Breakpoint = keyof typeof breakpoints;
11
-
12
- type TextBreakpoint = Exclude<Breakpoint, 'desktop' | 'wide'>;
13
- type FontSizeText = {
14
- fontSize: number;
15
- rows: number;
16
- };
17
- type TextDefinition = Record<TextBreakpoint, FontSizeText>;
18
- type FontWeight = 'regular' | 'medium' | 'strong';
19
- interface BraidTokens {
20
- name: string;
21
- displayName: string;
22
- typography: {
23
- fontFamily: string;
24
- webFont: string | null;
25
- fontMetrics: Pick<FontMetrics, 'capHeight' | 'ascent' | 'descent' | 'lineGap' | 'unitsPerEm'>;
26
- fontWeight: Record<FontWeight, 400 | 500 | 600 | 700 | 800>;
27
- heading: {
28
- weight: {
29
- weak: FontWeight;
30
- regular: FontWeight;
31
- };
32
- level: {
33
- '1': TextDefinition;
34
- '2': TextDefinition;
35
- '3': TextDefinition;
36
- '4': TextDefinition;
37
- };
38
- };
39
- text: {
40
- xsmall: TextDefinition;
41
- small: TextDefinition;
42
- standard: TextDefinition;
43
- large: TextDefinition;
44
- };
45
- };
46
- contentWidth: {
47
- xsmall: number;
48
- small: number;
49
- medium: number;
50
- large: number;
51
- };
52
- grid: number;
53
- touchableSize: number;
54
- space: {
55
- gutter: number;
56
- xxsmall: number;
57
- xsmall: number;
58
- small: number;
59
- medium: number;
60
- large: number;
61
- xlarge: number;
62
- xxlarge: number;
63
- };
64
- transforms: {
65
- touchable: string;
66
- };
67
- transitions: {
68
- fast: string;
69
- touchable: string;
70
- };
71
- border: {
72
- radius: {
73
- standard: string;
74
- large: string;
75
- xlarge: string;
76
- };
77
- width: {
78
- standard: number;
79
- large: number;
80
- };
81
- color: {
82
- brandAccent: string;
83
- brandAccentLight: string;
84
- caution: string;
85
- cautionLight: string;
86
- critical: string;
87
- criticalLight: string;
88
- field: string;
89
- focus: string;
90
- formAccent: string;
91
- formAccentLight: string;
92
- info: string;
93
- infoLight: string;
94
- neutral: string;
95
- neutralInverted: string;
96
- neutralLight: string;
97
- positive: string;
98
- positiveLight: string;
99
- promote: string;
100
- promoteLight: string;
101
- };
102
- };
103
- focusRingSize: number;
104
- shadows: {
105
- small: string;
106
- medium: string;
107
- large: string;
108
- };
109
- color: {
110
- foreground: {
111
- brandAccentLight: string;
112
- brandAccent: string;
113
- cautionLight: string;
114
- caution: string;
115
- criticalLight: string;
116
- critical: string;
117
- formAccentLight: string;
118
- formAccent: string;
119
- infoLight: string;
120
- info: string;
121
- linkLight: string;
122
- link: string;
123
- linkHover: string;
124
- linkVisited: string;
125
- linkLightVisited: string;
126
- neutral: string;
127
- neutralInverted: string;
128
- positiveLight: string;
129
- positive: string;
130
- promoteLight: string;
131
- promote: string;
132
- rating: string;
133
- secondary: string;
134
- secondaryInverted: string;
135
- };
136
- background: {
137
- body: string;
138
- bodyDark: string;
139
- brand: string;
140
- brandAccent: string;
141
- brandAccentActive: string;
142
- brandAccentHover: string;
143
- brandAccentSoft: string;
144
- brandAccentSoftActive: string;
145
- brandAccentSoftHover: string;
146
- caution: string;
147
- cautionLight: string;
148
- critical: string;
149
- criticalActive: string;
150
- criticalHover: string;
151
- criticalLight: string;
152
- criticalSoft: string;
153
- criticalSoftActive: string;
154
- criticalSoftHover: string;
155
- formAccent: string;
156
- formAccentActive: string;
157
- formAccentHover: string;
158
- formAccentSoft: string;
159
- formAccentSoftActive: string;
160
- formAccentSoftHover: string;
161
- info: string;
162
- infoLight: string;
163
- neutral: string;
164
- neutralActive: string;
165
- neutralHover: string;
166
- neutralLight: string;
167
- neutralSoft: string;
168
- neutralSoftActive: string;
169
- neutralSoftHover: string;
170
- positive: string;
171
- positiveLight: string;
172
- promote: string;
173
- promoteLight: string;
174
- surface: string;
175
- surfaceDark: string;
176
- };
177
- };
178
- }
179
-
180
- declare const makeBraidTheme: (tokens: BraidTokens) => {
181
- vanillaTheme: string;
182
- name: string;
183
- displayName: string;
184
- background: {
185
- lightMode: string;
186
- darkMode: string;
187
- };
188
- webFonts: {
189
- linkTag: string;
190
- }[];
191
- space: {
192
- grid: number;
193
- space: {
194
- gutter: number;
195
- xxsmall: number;
196
- xsmall: number;
197
- small: number;
198
- medium: number;
199
- large: number;
200
- xlarge: number;
201
- xxlarge: number;
202
- };
203
- };
204
- color: {
205
- foreground: {
206
- brandAccentLight: string;
207
- brandAccent: string;
208
- cautionLight: string;
209
- caution: string;
210
- criticalLight: string;
211
- critical: string;
212
- formAccentLight: string;
213
- formAccent: string;
214
- infoLight: string;
215
- info: string;
216
- linkLight: string;
217
- link: string;
218
- linkHover: string;
219
- linkVisited: string;
220
- linkLightVisited: string;
221
- neutral: string;
222
- neutralInverted: string;
223
- positiveLight: string;
224
- positive: string;
225
- promoteLight: string;
226
- promote: string;
227
- rating: string;
228
- secondary: string;
229
- secondaryInverted: string;
230
- };
231
- background: {
232
- body: string;
233
- bodyDark: string;
234
- brand: string;
235
- brandAccent: string;
236
- brandAccentActive: string;
237
- brandAccentHover: string;
238
- brandAccentSoft: string;
239
- brandAccentSoftActive: string;
240
- brandAccentSoftHover: string;
241
- caution: string;
242
- cautionLight: string;
243
- critical: string;
244
- criticalActive: string;
245
- criticalHover: string;
246
- criticalLight: string;
247
- criticalSoft: string;
248
- criticalSoftActive: string;
249
- criticalSoftHover: string;
250
- formAccent: string;
251
- formAccentActive: string;
252
- formAccentHover: string;
253
- formAccentSoft: string;
254
- formAccentSoftActive: string;
255
- formAccentSoftHover: string;
256
- info: string;
257
- infoLight: string;
258
- neutral: string;
259
- neutralActive: string;
260
- neutralHover: string;
261
- neutralLight: string;
262
- neutralSoft: string;
263
- neutralSoftActive: string;
264
- neutralSoftHover: string;
265
- positive: string;
266
- positiveLight: string;
267
- promote: string;
268
- promoteLight: string;
269
- surface: string;
270
- surfaceDark: string;
271
- };
272
- };
273
- backgroundLightness: {
274
- body: "light" | "dark";
275
- bodyDark: "light" | "dark";
276
- brand: "light" | "dark";
277
- brandAccent: "light" | "dark";
278
- brandAccentActive: "light" | "dark";
279
- brandAccentHover: "light" | "dark";
280
- brandAccentSoft: "light" | "dark";
281
- brandAccentSoftActive: "light" | "dark";
282
- brandAccentSoftHover: "light" | "dark";
283
- caution: "light" | "dark";
284
- cautionLight: "light" | "dark";
285
- critical: "light" | "dark";
286
- criticalActive: "light" | "dark";
287
- criticalHover: "light" | "dark";
288
- criticalLight: "light" | "dark";
289
- criticalSoft: "light" | "dark";
290
- criticalSoftActive: "light" | "dark";
291
- criticalSoftHover: "light" | "dark";
292
- formAccent: "light" | "dark";
293
- formAccentActive: "light" | "dark";
294
- formAccentHover: "light" | "dark";
295
- formAccentSoft: "light" | "dark";
296
- formAccentSoftActive: "light" | "dark";
297
- formAccentSoftHover: "light" | "dark";
298
- info: "light" | "dark";
299
- infoLight: "light" | "dark";
300
- neutral: "light" | "dark";
301
- neutralActive: "light" | "dark";
302
- neutralHover: "light" | "dark";
303
- neutralLight: "light" | "dark";
304
- neutralSoft: "light" | "dark";
305
- neutralSoftActive: "light" | "dark";
306
- neutralSoftHover: "light" | "dark";
307
- positive: "light" | "dark";
308
- positiveLight: "light" | "dark";
309
- promote: "light" | "dark";
310
- promoteLight: "light" | "dark";
311
- surface: "light" | "dark";
312
- surfaceDark: "light" | "dark";
313
- };
314
- };
315
- type BraidTheme = ReturnType<typeof makeBraidTheme>;
316
-
317
- interface Props {
318
- theme: BraidTheme;
319
- children: ReactNode;
320
- }
321
- declare const _default: ({ theme, children }: Props) => JSX.Element;
322
-
323
- export { _default as default };
1
+ export { _default as default } from '../reset.js';
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx, Fragment as Fragment$1 } from "react/jsx-runtime";
2
2
  import "../side-effects/lib/css/reset/index.mjs";
3
3
  import { useEffect, Fragment } from "react";
4
- import { P as PlayroomStateProvider } from "../playroomState.chunk.mjs";
5
- import { d as darkMode } from "../styles/lib/css/atoms/sprinkles.css.mjs";
6
- import { B as BraidProvider, m as makeLinkComponent } from "../side-effects/lib/components/BraidProvider/BraidProvider.mjs";
7
- import { k as ToastProvider, b as useResponsiveValue } from "../ToastContext.chunk.mjs";
4
+ import { PlayroomStateProvider } from "../playroomState.chunk.mjs";
5
+ import { darkMode } from "../styles/lib/css/atoms/sprinkles.css.mjs";
6
+ import { BraidProvider, makeLinkComponent } from "../side-effects/lib/components/BraidProvider/BraidProvider.mjs";
7
+ import { ToastProvider, useResponsiveValue } from "../ToastContext.chunk.mjs";
8
8
  const PlayroomLink = makeLinkComponent(
9
9
  ({ href, onClick, ...restProps }, ref) => /* @__PURE__ */ jsx(
10
10
  "a",